maz-ui 3.47.2-beta.0 → 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 (146) 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.mjs +23 -32
  8. package/components/MazChecklist.mjs +1 -1
  9. package/components/MazCircularProgressBar.mjs +66 -71
  10. package/components/MazDialog.mjs +1 -1
  11. package/components/MazDialogPromise.mjs +1 -1
  12. package/components/MazDrawer.mjs +1 -1
  13. package/components/MazDropdown.mjs +162 -185
  14. package/components/MazExpandAnimation.mjs +20 -21
  15. package/components/MazGallery.mjs +1 -1
  16. package/components/MazInput.mjs +1 -1
  17. package/components/MazInputCode.mjs +30 -31
  18. package/components/MazInputNumber.mjs +1 -1
  19. package/components/MazInputPrice.mjs +1 -1
  20. package/components/MazInputTags.mjs +1 -1
  21. package/components/MazLink.mjs +18 -30
  22. package/components/MazPagination.mjs +1 -1
  23. package/components/MazPhoneNumberInput.mjs +1 -1
  24. package/components/MazPicker.mjs +1 -1
  25. package/components/MazRadio.mjs +37 -42
  26. package/components/MazRadioButtons.mjs +61 -66
  27. package/components/MazSelect.mjs +1 -1
  28. package/components/MazSlider.mjs +107 -116
  29. package/components/MazStepper.mjs +1 -1
  30. package/components/MazSwitch.mjs +24 -28
  31. package/components/MazTable.d.ts +6 -6
  32. package/components/MazTable.mjs +1 -1
  33. package/components/MazTabsBar.mjs +1 -1
  34. package/components/MazTextarea.mjs +32 -34
  35. package/components/assets/MazLink.css +1 -1
  36. package/components/assets/MazTable.css +1 -1
  37. package/components/chunks/{MazBadge-CvIiiTdM.mjs → MazBadge-CqppWg2j.mjs} +1 -1
  38. package/components/chunks/{MazBottomSheet-DqK0EOsq.mjs → MazBottomSheet-CGRvZmGd.mjs} +28 -29
  39. package/{modules/chunks/MazBtn-BSnVxud6.mjs → components/chunks/MazBtn-2VKM1wZu.mjs} +37 -49
  40. package/components/chunks/{MazBtn-DVkwISlp.mjs → MazBtn-40lm8-AL.mjs} +37 -49
  41. package/components/chunks/{MazBtn-DzBXfedt.mjs → MazBtn-BB1FyYWv.mjs} +35 -44
  42. package/components/chunks/{MazBtn-BO3G90L3.mjs → MazBtn-BMYXMZuX.mjs} +37 -49
  43. package/components/chunks/{MazBtn-DJOUeES7.mjs → MazBtn-BijEMn4r.mjs} +37 -49
  44. package/components/chunks/MazBtn-BmrcK2af.mjs +106 -0
  45. package/components/chunks/MazBtn-C72_1uvu.mjs +106 -0
  46. package/components/chunks/MazBtn-CWloP6MI.mjs +111 -0
  47. package/components/chunks/MazBtn-CcyV4DCc.mjs +106 -0
  48. package/components/chunks/MazBtn-DENEMy-c.mjs +106 -0
  49. package/components/chunks/MazBtn-DfqRZvbB.mjs +106 -0
  50. package/components/chunks/MazBtn-UnZQuu6P.mjs +106 -0
  51. package/components/chunks/MazBtn-cDJlUVVY.mjs +106 -0
  52. package/components/chunks/MazBtn-hUslV7wO.mjs +106 -0
  53. package/components/chunks/{MazCard-FSXmHyhj.mjs → MazCard-BYB8y1_u.mjs} +18 -19
  54. package/components/chunks/{MazCarousel-BEl86YGW.mjs → MazCarousel-DccWVW8H.mjs} +20 -21
  55. package/components/chunks/{MazCheckbox-2G4VkxDz.mjs → MazCheckbox-B22OcHt8.mjs} +1 -1
  56. package/components/chunks/{MazCheckbox-Cq9gpTEw.mjs → MazCheckbox-DMogZVHl.mjs} +1 -1
  57. package/components/chunks/{MazCheckbox-BmnqBHaY.mjs → MazCheckbox-Db6sPUbV.mjs} +1 -1
  58. package/components/chunks/{MazChecklist-CY1Cv70T.mjs → MazChecklist-C95Y4Hb-.mjs} +112 -118
  59. package/components/chunks/{MazDialog-CPgFpAlq.mjs → MazDialog-khofH-7I.mjs} +66 -81
  60. package/components/chunks/MazDialogPromise-ZRA2ZrO4.mjs +488 -0
  61. package/components/chunks/{MazExpandAnimation-Bkw_wFTi.mjs → MazExpandAnimation-MDimlZGj.mjs} +7 -8
  62. package/components/chunks/{MazGallery-BknvUeo1.mjs → MazGallery-CXQiXWFr.mjs} +32 -33
  63. package/components/chunks/{MazGallery-CZOokGAt.mjs → MazGallery-VTZUhBKC.mjs} +33 -34
  64. package/components/chunks/{MazIcon-z-jTiuyI.mjs → MazIcon-BF5TFzse.mjs} +1 -1
  65. package/components/chunks/{MazInput-oOA7gdLO.mjs → MazInput-DC3S-CVu.mjs} +44 -53
  66. package/components/chunks/{MazInput-BQoQSRyL.mjs → MazInput-DzWkS-g8.mjs} +40 -49
  67. package/components/chunks/{MazInput-CJQB68c-.mjs → MazInput-NE6H-10w.mjs} +42 -51
  68. package/components/chunks/{MazInputNumber-B4mQJcVB.mjs → MazInputNumber-DRXQXHRv.mjs} +168 -189
  69. package/components/chunks/{MazInputPrice-BrxE5WVf.mjs → MazInputPrice-DoTnDDIN.mjs} +49 -58
  70. package/components/chunks/{MazInputTags-BVCej_gW.mjs → MazInputTags-Dj3sW-e5.mjs} +181 -202
  71. package/components/chunks/{MazLink-Dl9ePCGm.mjs → MazLink-C_3Wya94.mjs} +19 -31
  72. package/components/chunks/{MazLoadingBar-Dwf55oHy.mjs → MazLoadingBar-DdjHRC7g.mjs} +1 -1
  73. package/components/chunks/MazPagination-BkT4_LLW.mjs +330 -0
  74. package/components/chunks/{MazPhoneNumberInput-Cd25AzXc.mjs → MazPhoneNumberInput-BbssOUzo.mjs} +500 -544
  75. package/components/chunks/{MazPicker-C78yxilJ.mjs → MazPicker-DwWiIYAR.mjs} +243 -264
  76. package/components/chunks/{MazPickerMonthSwitcher-CyHYx8TT.mjs → MazPickerMonthSwitcher-CmFFQoPA.mjs} +1 -1
  77. package/components/chunks/{MazPickerShortcuts-Bsi8cnox.mjs → MazPickerShortcuts-DaELz7aq.mjs} +1 -1
  78. package/components/chunks/{MazPickerYearSwitcher-DLUSMAtz.mjs → MazPickerYearSwitcher-m1_KXnpA.mjs} +1 -1
  79. package/components/chunks/{MazSelect-CQDoUpgp.mjs → MazSelect-BJ07NVXQ.mjs} +149 -170
  80. package/components/chunks/{MazSelect-uCJPMXF-.mjs → MazSelect-CDV9Fx6m.mjs} +124 -136
  81. package/components/chunks/{MazSpinner-Bvb-lKER.mjs → MazSpinner-Bb3f2t6w.mjs} +1 -1
  82. package/components/chunks/{MazSpinner-Cqp-BMvL.mjs → MazSpinner-BcB0szZB.mjs} +1 -1
  83. package/components/chunks/{MazSpinner-BT_717pD.mjs → MazSpinner-BpkPcfCt.mjs} +1 -1
  84. package/components/chunks/{MazSpinner-CAbYLlEZ.mjs → MazSpinner-BsYJDmi9.mjs} +1 -1
  85. package/components/chunks/{MazSpinner-B9OwpEP_.mjs → MazSpinner-BymqEMBk.mjs} +1 -1
  86. package/components/chunks/MazSpinner-C-64WJje.mjs +34 -0
  87. package/components/chunks/MazSpinner-CEFbkZkM.mjs +34 -0
  88. package/components/chunks/{MazSpinner-EFo8dM46.mjs → MazSpinner-CfiIXW8y.mjs} +1 -1
  89. package/components/chunks/MazSpinner-CykRbNHD.mjs +34 -0
  90. package/components/chunks/{MazSpinner-C-z3-68w.mjs → MazSpinner-D3-pqOh3.mjs} +1 -1
  91. package/components/chunks/MazSpinner-DS58mtzm.mjs +34 -0
  92. package/components/chunks/{MazSpinner-2D0ZmAQz.mjs → MazSpinner-DmiLBQgR.mjs} +1 -1
  93. package/components/chunks/{MazSpinner-C1Ip-Dwh.mjs → MazSpinner-Dmkr_r9u.mjs} +1 -1
  94. package/components/chunks/MazSpinner-DoRGA1RI.mjs +34 -0
  95. package/components/chunks/MazSpinner-eC03bFP5.mjs +34 -0
  96. package/components/chunks/{MazSpinner-Cb3_S0zT.mjs → MazSpinner-edxn0ncQ.mjs} +1 -1
  97. package/components/chunks/MazSpinner-f2Mc2eRO.mjs +34 -0
  98. package/components/chunks/MazSpinner-n4Dp5ZsH.mjs +34 -0
  99. package/components/chunks/MazStepper-BREfkpUb.mjs +213 -0
  100. package/components/chunks/{MazTable-Cuz5QI08.mjs → MazTable-BJDPdIJB.mjs} +183 -227
  101. package/components/chunks/{MazTableCell-D_OTOJiy.mjs → MazTableCell-DILuUCTe.mjs} +1 -1
  102. package/components/chunks/{MazTableRow-BTcVAyOy.mjs → MazTableRow-D6H6-c8J.mjs} +1 -1
  103. package/components/chunks/{MazTableTitle-BDA9G6Zw.mjs → MazTableTitle-Ch-nyY1E.mjs} +1 -1
  104. package/components/chunks/MazTabsBar-CM-w7V97.mjs +193 -0
  105. package/components/chunks/{MazTransitionExpand-C-FHhOGB.mjs → MazTransitionExpand-PmUDa51_.mjs} +1 -1
  106. package/modules/chunks/MazBtn-B_Xlvgbg.cjs +1 -0
  107. package/modules/chunks/MazBtn-Dsr06Zgg.mjs +106 -0
  108. package/modules/chunks/{MazIcon-dhyR9Q8a.cjs → MazIcon-CkuzyufF.cjs} +1 -1
  109. package/modules/chunks/{MazIcon-DllGg8tw.mjs → MazIcon-DEgoQbMj.mjs} +1 -1
  110. package/modules/chunks/{MazSpinner-bdGjxsu6.mjs → MazSpinner-BurN-1pb.mjs} +1 -1
  111. package/modules/chunks/{MazSpinner-CiIyZ8gs.cjs → MazSpinner-jP4QsCNE.cjs} +1 -1
  112. package/modules/chunks/index-CUNN0eIB.cjs +124 -0
  113. package/modules/chunks/{index-x2F1l5sr.mjs → index-CxFUggmu.mjs} +257 -292
  114. package/modules/index.cjs +1 -1
  115. package/modules/index.mjs +1 -1
  116. package/nuxt/index.json +1 -1
  117. package/package.json +1 -1
  118. package/types/components/MazTable.vue.d.ts +6 -6
  119. package/types/modules/composables/useFormValidator/types.d.ts +5 -1
  120. package/types/modules/composables/useFormValidator/useFormField.d.ts +3 -3
  121. package/types/modules/composables/useFormValidator/useFormValidator.d.ts +2 -2
  122. package/types/modules/composables/useFormValidator/utils.d.ts +12 -12
  123. package/components/chunks/MazBtn-BRUaoP8j.mjs +0 -126
  124. package/components/chunks/MazBtn-BhnOApJu.mjs +0 -118
  125. package/components/chunks/MazBtn-C28vKP_v.mjs +0 -118
  126. package/components/chunks/MazBtn-C87UEsVs.mjs +0 -118
  127. package/components/chunks/MazBtn-C_l3xuAh.mjs +0 -118
  128. package/components/chunks/MazBtn-CweCwE_4.mjs +0 -118
  129. package/components/chunks/MazBtn-D7IKoL2c.mjs +0 -118
  130. package/components/chunks/MazBtn-DadFupkY.mjs +0 -118
  131. package/components/chunks/MazBtn-GGcGrIH4.mjs +0 -118
  132. package/components/chunks/MazBtn-Mu18egu5.mjs +0 -118
  133. package/components/chunks/MazDialogPromise-BCCdkrea.mjs +0 -522
  134. package/components/chunks/MazPagination-CHTMRRqE.mjs +0 -362
  135. package/components/chunks/MazSpinner-C23CZ_Za.mjs +0 -34
  136. package/components/chunks/MazSpinner-CViChjTw.mjs +0 -34
  137. package/components/chunks/MazSpinner-CZMBhCOJ.mjs +0 -34
  138. package/components/chunks/MazSpinner-D4C84xZe.mjs +0 -34
  139. package/components/chunks/MazSpinner-Dyf9yb51.mjs +0 -34
  140. package/components/chunks/MazSpinner-QHjOczon.mjs +0 -34
  141. package/components/chunks/MazSpinner-u8WQTgUR.mjs +0 -34
  142. package/components/chunks/MazSpinner-w-S5uCxg.mjs +0 -34
  143. package/components/chunks/MazStepper-DRWtYHZR.mjs +0 -232
  144. package/components/chunks/MazTabsBar-JkRzMDM6.mjs +0 -203
  145. package/modules/chunks/MazBtn-Bf9Cq5M7.cjs +0 -9
  146. package/modules/chunks/index-BPqjUr5e.cjs +0 -149
@@ -1,7 +1,7 @@
1
- import { computed as f, defineComponent as Ie, useCssVars as Ce, defineAsyncComponent as $, ref as b, onBeforeMount as we, nextTick as j, withDirectives as Le, openBlock as g, createElementBlock as I, normalizeClass as q, normalizeStyle as Q, createVNode as N, mergeProps as Me, unref as C, withModifiers as E, withCtx as ae, createElementVNode as O, Transition as Ee, createBlock as se, createCommentVNode as w, renderSlot as G, Fragment as ie, renderList as Te, toDisplayString as ue } from "vue";
1
+ import { computed as f, defineComponent as Ie, useCssVars as Ce, defineAsyncComponent as T, ref as b, onBeforeMount as Le, nextTick as W, withDirectives as we, openBlock as g, createElementBlock as I, normalizeClass as q, normalizeStyle as j, createVNode as $, mergeProps as Me, unref as C, withModifiers as M, withCtx as ne, createElementVNode as N, Transition as Ee, createBlock as se, createCommentVNode as Q, renderSlot as G, Fragment as ie, renderList as Te, toDisplayString as ue } from "vue";
2
2
  import { u as $e } from "./useInstanceUniqId-DW9jO1Sz.mjs";
3
- import re from "./MazInput-oOA7gdLO.mjs";
4
- import { _ as Ne } from "./MazTable-Cuz5QI08.mjs";
3
+ import re from "./MazInput-DC3S-CVu.mjs";
4
+ import { _ as Ne } from "./MazTable-BJDPdIJB.mjs";
5
5
  import '../assets/MazSelect.css';const Oe = {
6
6
  removeAccents: !0,
7
7
  caseSensitive: !1,
@@ -12,7 +12,7 @@ import '../assets/MazSelect.css';const Oe = {
12
12
  removeNumbers: !1,
13
13
  customNormalizationForms: ["NFC", "NFKD"]
14
14
  };
15
- function B(r, c) {
15
+ function O(r, c) {
16
16
  const s = { ...Oe, ...c }, t = {
17
17
  À: "A",
18
18
  Á: "A",
@@ -62,45 +62,45 @@ function B(r, c) {
62
62
  ñ: "n",
63
63
  ó: "o"
64
64
  };
65
- let a = r.toString();
66
- if (s.trim && (a = a.trim()), s.normalizeSpaces && (a = a.replaceAll(/\s+/g, " ")), s.replaceSpaces && (a = a.replaceAll(" ", "-")), s.removeNumbers && (a = a.replaceAll(/\d/g, "")), s.removeAccents && (a = a.replaceAll(/[ÀÁÂÃÄÅÇÈÉÊËÎÏÑÔÕÖØÙÚÛÜàáâãäåçèéêëíîïñóôõöøùúûüÿ]/g, (i) => t[i] || i), a = a.replaceAll(/[\u0300-\u036F]/g, "")), s.caseSensitive === !1 && (a = a.toLowerCase()), s.removeSpecialCharacters && (a = a.replaceAll(/[^\dA-Z-]/gi, "")), s.trim && (a = a.trim()), s.customNormalizationForms)
65
+ let n = r.toString();
66
+ if (s.trim && (n = n.trim()), s.normalizeSpaces && (n = n.replaceAll(/\s+/g, " ")), s.replaceSpaces && (n = n.replaceAll(" ", "-")), s.removeNumbers && (n = n.replaceAll(/\d/g, "")), s.removeAccents && (n = n.replaceAll(/[ÀÁÂÃÄÅÇÈÉÊËÎÏÑÔÕÖØÙÚÛÜàáâãäåçèéêëíîïñóôõöøùúûüÿ]/g, (i) => t[i] || i), n = n.replaceAll(/[\u0300-\u036F]/g, "")), s.caseSensitive === !1 && (n = n.toLowerCase()), s.removeSpecialCharacters && (n = n.replaceAll(/[^\dA-Z-]/gi, "")), s.trim && (n = n.trim()), s.customNormalizationForms)
67
67
  for (const i of s.customNormalizationForms)
68
- a = a.normalize(i);
69
- return a;
68
+ n = n.normalize(i);
69
+ return n;
70
70
  }
71
- function Be(r, c) {
72
- const s = r.length, t = c.length, a = [];
71
+ function xe(r, c) {
72
+ const s = r.length, t = c.length, n = [];
73
73
  for (let i = 0; i <= s; i++)
74
- a[i] = [i];
74
+ n[i] = [i];
75
75
  for (let i = 0; i <= t; i++)
76
- a[0][i] = i;
76
+ n[0][i] = i;
77
77
  for (let i = 1; i <= s; i++)
78
78
  for (let m = 1; m <= t; m++) {
79
79
  const V = r[i - 1] === c[m - 1] ? 0 : 1;
80
- a[i][m] = Math.min(
81
- a[i - 1][m] + 1,
82
- a[i][m - 1] + 1,
83
- a[i - 1][m - 1] + V
80
+ n[i][m] = Math.min(
81
+ n[i - 1][m] + 1,
82
+ n[i][m - 1] + 1,
83
+ n[i - 1][m - 1] + V
84
84
  );
85
85
  }
86
- return a[s][t];
86
+ return n[s][t];
87
87
  }
88
88
  function ce(r, c) {
89
- const s = Be(r, c), t = Math.max(r.length, c.length);
89
+ const s = xe(r, c), t = Math.max(r.length, c.length);
90
90
  return 1 - s / t;
91
91
  }
92
- function De(r, c, s = 0.75) {
92
+ function Be(r, c, s = 0.75) {
93
93
  return ce(r, c) >= s;
94
94
  }
95
95
  function Z(r, c, s = 0.75) {
96
96
  const t = f(
97
- () => B(typeof r == "string" ? r : r.value)
98
- ), a = f(
99
- () => B(typeof c == "string" ? c : c.value)
100
- ), i = f(() => typeof s == "number" ? s : s.value), m = f(() => ce(t.value, a.value));
97
+ () => O(typeof r == "string" ? r : r.value)
98
+ ), n = f(
99
+ () => O(typeof c == "string" ? c : c.value)
100
+ ), i = f(() => typeof s == "number" ? s : s.value), m = f(() => ce(t.value, n.value));
101
101
  return {
102
102
  isMatching: f(
103
- () => De(t.value, a.value, i.value)
103
+ () => Be(t.value, n.value, i.value)
104
104
  ),
105
105
  score: m
106
106
  };
@@ -108,13 +108,13 @@ function Z(r, c, s = 0.75) {
108
108
  function de(r, c, s) {
109
109
  var m;
110
110
  r.stopPropagation();
111
- const t = typeof s.value == "function" ? s.value : s.value.handler, a = typeof s.value == "object" ? s.value.exclude : void 0;
111
+ const t = typeof s.value == "function" ? s.value : s.value.handler, n = typeof s.value == "object" ? s.value.exclude : void 0;
112
112
  let i = !1;
113
- if (a && a.length > 0) {
114
- for (const V of a)
113
+ if (n && n.length > 0) {
114
+ for (const V of n)
115
115
  if (!i && r.target instanceof HTMLElement) {
116
- const D = (m = document.querySelector(V)) == null ? void 0 : m.getAttribute("id");
117
- i = r.target.getAttribute("id") === D;
116
+ const x = (m = document.querySelector(V)) == null ? void 0 : m.getAttribute("id");
117
+ i = r.target.getAttribute("id") === x;
118
118
  }
119
119
  }
120
120
  !c.contains(r.target) && !i && (t == null || t());
@@ -122,7 +122,7 @@ function de(r, c, s) {
122
122
  function pe() {
123
123
  return document.ontouchstart === null ? "touchstart" : "click";
124
124
  }
125
- function xe(r, c) {
125
+ function De(r, c) {
126
126
  const s = pe();
127
127
  document.removeEventListener(s, (t) => de(t, r, c));
128
128
  }
@@ -136,17 +136,17 @@ function He(r, c) {
136
136
  }
137
137
  const Pe = {
138
138
  mounted: He,
139
- unmounted: xe
139
+ unmounted: De
140
140
  };
141
141
  let R = null;
142
142
  function Fe(r, c) {
143
143
  R && clearTimeout(R), R = setTimeout(r, c);
144
144
  }
145
- const Ue = ["aria-label"], We = { class: "m-select-list__no-results" }, je = {
145
+ const Ue = ["aria-label"], We = { class: "m-select-list__no-results" }, qe = {
146
146
  key: 2,
147
147
  class: "m-select-list__scroll-wrapper",
148
148
  tabindex: "-1"
149
- }, qe = { class: "m-select-list-optgroup" }, Qe = ["onClick"], Ge = /* @__PURE__ */ Ie({
149
+ }, je = { class: "m-select-list-optgroup" }, Qe = ["onClick"], Ge = /* @__PURE__ */ Ie({
150
150
  inheritAttrs: !1,
151
151
  __name: "MazSelect",
152
152
  props: {
@@ -184,21 +184,21 @@ const Ue = ["aria-label"], We = { class: "m-select-list__no-results" }, je = {
184
184
  "215ff493": fe.value,
185
185
  "64d6cfbb": me.value
186
186
  }));
187
- const t = r, a = s, i = $(() => import("./MazCheckbox-BmnqBHaY.mjs")), m = $(() => import("./magnifying-glass--nBiyXot.mjs")), V = $(() => import("./chevron-down-BkvtON3b.mjs")), D = $(() => import("./no-symbol-CIgKzsrB.mjs"));
187
+ const t = r, n = s, i = T(() => import("./MazCheckbox-Db6sPUbV.mjs")), m = T(() => import("./magnifying-glass--nBiyXot.mjs")), V = T(() => import("./chevron-down-BkvtON3b.mjs")), x = T(() => import("./no-symbol-CIgKzsrB.mjs"));
188
188
  c({
189
189
  /** Method to open the option list */
190
190
  openList: A,
191
191
  /** Method to close the option list */
192
192
  closeList: k
193
193
  });
194
- const z = b(!1), p = b(), x = f(
194
+ const z = b(!1), p = b(), B = f(
195
195
  () => ["black", "transparent", "white"].includes(t.color)
196
196
  ), fe = f(
197
- () => x.value ? "var(--maz-color-black)" : `var(--maz-color-${t.color}-800)`
197
+ () => B.value ? "var(--maz-color-black)" : `var(--maz-color-${t.color}-800)`
198
198
  ), me = f(
199
- () => x.value ? "var(--maz-color-muted)" : `var(--maz-color-${t.color}-100)`
199
+ () => B.value ? "var(--maz-color-muted)" : `var(--maz-color-${t.color}-100)`
200
200
  ), ve = f(
201
- () => x.value ? "var(--maz-color-muted)" : `var(--maz-color-${t.color}-200)`
201
+ () => B.value ? "var(--maz-color-muted)" : `var(--maz-color-${t.color}-200)`
202
202
  ), h = f(() => z.value || t.open), ye = $e({
203
203
  componentName: "MazSelect",
204
204
  providedId: t.id
@@ -223,31 +223,31 @@ const Ue = ["aria-label"], We = { class: "m-select-list__no-results" }, je = {
223
223
  const e = [];
224
224
  if (!((o = t.options) != null && o.length))
225
225
  return [];
226
- for (const n of t.options)
227
- typeof n == "string" || typeof n == "number" || typeof n == "boolean" ? e.push(J(n)) : typeof n == "object" && "options" in n && Array.isArray(n.options) ? e.push(
228
- { label: n.label, isOptGroup: !0 },
229
- ...n.options.map(
226
+ for (const a of t.options)
227
+ typeof a == "string" || typeof a == "number" || typeof a == "boolean" ? e.push(J(a)) : typeof a == "object" && "options" in a && Array.isArray(a.options) ? e.push(
228
+ { label: a.label, isOptGroup: !0 },
229
+ ...a.options.map(
230
230
  (l) => typeof l == "string" || typeof l == "number" || typeof l == "boolean" ? J(l) : X(l)
231
231
  )
232
- ) : e.push(X(n));
232
+ ) : e.push(X(a));
233
233
  return e;
234
- }), T = f(
234
+ }), E = f(
235
235
  () => {
236
236
  var e;
237
237
  return ((e = L.value) == null ? void 0 : e.filter((o) => t.multiple ? Array.isArray(t.modelValue) ? t.modelValue.includes(o[t.optionValueKey]) && !K(o[t.optionValueKey]) : !1 : t.modelValue === o[t.optionValueKey] && !K(o[t.optionValueKey]))) ?? [];
238
238
  }
239
239
  );
240
- we(() => {
240
+ Le(() => {
241
241
  var e;
242
- (e = t.options) != null && e.length || console.warn("[maz-ui](MazSelect) you must provide options"), W();
242
+ (e = t.options) != null && e.length || console.warn("[maz-ui](MazSelect) you must provide options"), U();
243
243
  });
244
- const Y = b(), H = b(), _ = b(), ee = b();
244
+ const Y = b(), D = b(), _ = b(), ee = b();
245
245
  function K(e) {
246
246
  return e == null;
247
247
  }
248
- function P(e) {
249
- var n;
250
- return (((n = T.value) == null ? void 0 : n.some(
248
+ function H(e) {
249
+ var a;
250
+ return (((a = E.value) == null ? void 0 : a.some(
251
251
  (l) => l[t.optionValueKey] === e[t.optionValueKey]
252
252
  )) ?? !1) && !K(e[t.optionValueKey]);
253
253
  }
@@ -255,65 +255,65 @@ const Ue = ["aria-label"], We = { class: "m-select-list__no-results" }, je = {
255
255
  var o;
256
256
  if (t.multiple && t.modelValue && Array.isArray(t.modelValue))
257
257
  return t.modelValue.map(
258
- (n) => {
258
+ (a) => {
259
259
  var l, u;
260
- return (u = (l = L.value) == null ? void 0 : l.find((d) => d[t.optionValueKey] === n)) == null ? void 0 : u[t.optionInputValueKey];
260
+ return (u = (l = L.value) == null ? void 0 : l.find((d) => d[t.optionValueKey] === a)) == null ? void 0 : u[t.optionInputValueKey];
261
261
  }
262
262
  ).join(", ");
263
263
  const e = (o = L.value) == null ? void 0 : o.find(
264
- (n) => n[t.optionValueKey] === t.modelValue
264
+ (a) => a[t.optionValueKey] === t.modelValue
265
265
  );
266
266
  return K(t.modelValue) || e == null ? void 0 : e[t.optionInputValueKey];
267
267
  }), be = f(
268
268
  () => t.listPosition.includes("bottom") ? "maz-slide" : "maz-slideinvert"
269
- ), M = b(""), S = b("");
270
- function F(e, o) {
271
- return o && e && B(e).includes(B(o));
269
+ ), w = b(""), S = b("");
270
+ function P(e, o) {
271
+ return o && e && O(e).includes(O(o));
272
272
  }
273
273
  function te(e) {
274
274
  var o;
275
- return e ? (o = L.value) == null ? void 0 : o.filter((n) => {
276
- const l = n[t.optionLabelKey], u = n[t.optionValueKey], d = n[t.optionInputValueKey], v = t.searchThreshold;
277
- return F(l, e) || F(d, e) || F(u, e) || typeof l == "string" && Z(l, e, v).isMatching.value || typeof d == "string" && Z(d, e, v).isMatching.value || typeof u == "string" && Z(u, e, v).isMatching.value;
275
+ return e ? (o = L.value) == null ? void 0 : o.filter((a) => {
276
+ const l = a[t.optionLabelKey], u = a[t.optionValueKey], d = a[t.optionInputValueKey], v = t.searchThreshold;
277
+ return P(l, e) || P(d, e) || P(u, e) || typeof l == "string" && Z(l, e, v).isMatching.value || typeof d == "string" && Z(d, e, v).isMatching.value || typeof u == "string" && Z(u, e, v).isMatching.value;
278
278
  }) : L.value;
279
279
  }
280
- const y = f(() => te(M.value));
280
+ const y = f(() => te(w.value));
281
281
  async function k(e) {
282
- var n, l;
282
+ var a, l;
283
283
  if (!h.value)
284
284
  return;
285
- if (e && ("relatedTarget" in e && ((n = Y.value) != null && n.contains(e.relatedTarget)) || e.type === "keydown"))
285
+ if (e && ("relatedTarget" in e && ((a = Y.value) != null && a.contains(e.relatedTarget)) || e.type === "keydown"))
286
286
  return e.preventDefault();
287
287
  const o = e && "relatedTarget" in e && e.relatedTarget instanceof HTMLElement && e.relatedTarget.getAttribute("id");
288
288
  if ((l = t.excludeSelectors) != null && l.includes(`#${o}`))
289
289
  return e == null ? void 0 : e.preventDefault();
290
- await j(), z.value = !1, p.value = 0, a("close", e);
290
+ await W(), z.value = !1, p.value = 0, n("close", e);
291
291
  }
292
292
  async function A(e) {
293
- t.disabled || h.value || (e == null || e.preventDefault(), z.value = !0, await U(), a("focus", e), a("open", z.value));
293
+ t.disabled || h.value || (e == null || e.preventDefault(), z.value = !0, await F(), n("focus", e), n("open", z.value));
294
294
  }
295
295
  function oe() {
296
296
  var e, o;
297
- (o = ((e = H.value) == null ? void 0 : e.$el).querySelector("input")) == null || o.focus();
297
+ (o = ((e = D.value) == null ? void 0 : e.$el).querySelector("input")) == null || o.focus();
298
298
  }
299
299
  function ge() {
300
300
  var e, o;
301
- (o = ((e = H.value) == null ? void 0 : e.$el).querySelector("input")) == null || o.dispatchEvent(new Event("input"));
301
+ (o = ((e = D.value) == null ? void 0 : e.$el).querySelector("input")) == null || o.dispatchEvent(new Event("input"));
302
302
  }
303
303
  function Ve(e) {
304
304
  z.value ? k(e) : oe();
305
305
  }
306
306
  function ze(e) {
307
- var o, n;
308
- M.value = e, (n = ((o = _.value) == null ? void 0 : o.$el).querySelector("input")) == null || n.focus();
307
+ var o, a;
308
+ w.value = e, (a = ((o = _.value) == null ? void 0 : o.$el).querySelector("input")) == null || a.focus();
309
309
  }
310
310
  function Ke(e) {
311
- var n;
311
+ var a;
312
312
  e === "Backspace" && S.value.length > 0 ? S.value = S.value.slice(0, -1) : S.value += e;
313
313
  const o = te(S.value);
314
- o != null && o.length && (p.value = (n = y.value) == null ? void 0 : n.findIndex(
314
+ o != null && o.length && (p.value = (a = y.value) == null ? void 0 : a.findIndex(
315
315
  (l) => l[t.optionValueKey] === o[0][t.optionValueKey]
316
- ), typeof p.value == "number" && p.value >= 0 && U(p.value)), Fe(() => {
316
+ ), typeof p.value == "number" && p.value >= 0 && F(p.value)), Fe(() => {
317
317
  S.value = "";
318
318
  }, 1e3);
319
319
  }
@@ -322,30 +322,30 @@ const Ue = ["aria-label"], We = { class: "m-select-list__no-results" }, je = {
322
322
  /^[\dA-Za-z\u0400-\u04FF]$/.test(o) ? (e.preventDefault(), A(e), t.search ? ze(o) : Ke(o)) : le(e);
323
323
  }
324
324
  function le(e, o = !0) {
325
- const n = e.code, l = ["ArrowUp", "ArrowDown"].includes(n), u = (o ? ["Enter", "Space"] : ["Enter"]).includes(n), d = n === "Escape" && h.value;
325
+ const a = e.code, l = ["ArrowUp", "ArrowDown"].includes(a), u = (o ? ["Enter", "Space"] : ["Enter"]).includes(a), d = a === "Escape" && h.value;
326
326
  l ? ke(e, p.value) : u ? Ae(e, p.value) : d && k(e);
327
327
  }
328
328
  function ke(e, o) {
329
329
  var u;
330
330
  e.preventDefault();
331
- const n = e.code;
331
+ const a = e.code;
332
332
  h.value || A(e);
333
333
  const l = (u = y.value) == null ? void 0 : u.length;
334
- l && (typeof o == "number" ? o === l - 1 && n === "ArrowDown" ? p.value = 0 : o === 0 && n === "ArrowUp" ? p.value = l - 1 : p.value = n === "ArrowDown" ? o + 1 : o - 1 : p.value = n === "ArrowDown" ? 0 : l - 1, U(p.value));
334
+ l && (typeof o == "number" ? o === l - 1 && a === "ArrowDown" ? p.value = 0 : o === 0 && a === "ArrowUp" ? p.value = l - 1 : p.value = a === "ArrowDown" ? o + 1 : o - 1 : p.value = a === "ArrowDown" ? 0 : l - 1, F(p.value));
335
335
  }
336
336
  function Ae(e, o) {
337
337
  var l, u, d;
338
338
  if (e.preventDefault(), !h.value)
339
339
  return A(e);
340
- const n = o ? ((l = y.value) == null ? void 0 : l[o]) ?? ((u = y.value) == null ? void 0 : u[0]) : (d = y.value) == null ? void 0 : d[0];
341
- K(n) || ne(n);
340
+ const a = o ? ((l = y.value) == null ? void 0 : l[o]) ?? ((u = y.value) == null ? void 0 : u[0]) : (d = y.value) == null ? void 0 : d[0];
341
+ K(a) || ae(a);
342
342
  }
343
- async function U(e) {
344
- var n, l;
345
- await j(), typeof e != "number" && W();
343
+ async function F(e) {
344
+ var a, l;
345
+ await W(), typeof e != "number" && U();
346
346
  const o = e ?? p.value;
347
347
  if (typeof o == "number" && o >= 0) {
348
- const u = (n = ee.value) == null ? void 0 : n.querySelectorAll(".m-select-list-item");
348
+ const u = (a = ee.value) == null ? void 0 : a.querySelectorAll(".m-select-list-item");
349
349
  (l = u == null ? void 0 : u[o]) == null || l.scrollIntoView({
350
350
  behavior: "auto",
351
351
  block: "nearest",
@@ -353,30 +353,30 @@ const Ue = ["aria-label"], We = { class: "m-select-list__no-results" }, je = {
353
353
  });
354
354
  }
355
355
  }
356
- function W(e) {
357
- var n;
358
- const o = (n = y.value) == null ? void 0 : n.findIndex((l) => {
356
+ function U(e) {
357
+ var a;
358
+ const o = (a = y.value) == null ? void 0 : a.findIndex((l) => {
359
359
  var u, d;
360
- return t.multiple && Array.isArray(t.modelValue) ? e ? e[t.optionValueKey] === l[t.optionValueKey] : [...t.modelValue].reverse()[0] === l[t.optionValueKey] : ((d = (u = T.value) == null ? void 0 : u[0]) == null ? void 0 : d[t.optionValueKey]) === l[t.optionValueKey];
360
+ return t.multiple && Array.isArray(t.modelValue) ? e ? e[t.optionValueKey] === l[t.optionValueKey] : [...t.modelValue].reverse()[0] === l[t.optionValueKey] : ((d = (u = E.value) == null ? void 0 : u[0]) == null ? void 0 : d[t.optionValueKey]) === l[t.optionValueKey];
361
361
  });
362
362
  p.value = o && o >= 0 ? o : 0;
363
363
  }
364
- function ne(e, o = !0) {
364
+ function ae(e, o = !0) {
365
365
  var d;
366
- o && !t.multiple && j(() => k()), M.value = "";
367
- const n = (d = T.value) == null ? void 0 : d.some(
366
+ o && !t.multiple && W(() => k()), w.value = "";
367
+ const a = (d = E.value) == null ? void 0 : d.some(
368
368
  (v) => v[t.optionValueKey] === e[t.optionValueKey]
369
369
  );
370
- let l = T.value;
371
- n && t.multiple ? l = l == null ? void 0 : l.filter(
370
+ let l = E.value;
371
+ a && t.multiple ? l = l == null ? void 0 : l.filter(
372
372
  (v) => v[t.optionValueKey] !== e[t.optionValueKey]
373
373
  ) : t.multiple ? l.push(e) : l = [e];
374
374
  const u = l.map((v) => v[t.optionValueKey]);
375
- a("update:model-value", t.multiple ? u : u[0]), a("selected-option", e), ge(), W(e), oe();
375
+ n("update:model-value", t.multiple ? u : u[0]), n("selected-option", e), ge(), U(e), oe();
376
376
  }
377
377
  return (e, o) => {
378
- var n;
379
- return Le((g(), I(
378
+ var a;
379
+ return we((g(), I(
380
380
  "div",
381
381
  {
382
382
  ref_key: "mazSelectElement",
@@ -386,13 +386,13 @@ const Ue = ["aria-label"], We = { class: "m-select-list__no-results" }, je = {
386
386
  t.class,
387
387
  `--${e.size}`
388
388
  ]]),
389
- style: Q(e.style)
389
+ style: j(e.style)
390
390
  },
391
391
  [
392
- N(re, Me({
392
+ $(re, Me({
393
393
  id: C(ye),
394
394
  ref_key: "mazInputComponent",
395
- ref: H,
395
+ ref: D,
396
396
  class: "m-select-input"
397
397
  }, e.$attrs, {
398
398
  required: e.required,
@@ -403,29 +403,29 @@ const Ue = ["aria-label"], We = { class: "m-select-list__no-results" }, je = {
403
403
  block: "",
404
404
  autocomplete: e.autocomplete,
405
405
  disabled: e.disabled,
406
- onFocus: E(A, ["prevent", "stop"]),
407
- onBlur: E(k, ["prevent", "stop"]),
408
- onClick: E(A, ["prevent", "stop"]),
409
- onChange: o[0] || (o[0] = (l) => a("change", l)),
410
- onInput: o[1] || (o[1] = (l) => a("input", l)),
406
+ onFocus: M(A, ["prevent", "stop"]),
407
+ onBlur: M(k, ["prevent", "stop"]),
408
+ onClick: M(A, ["prevent", "stop"]),
409
+ onChange: o[0] || (o[0] = (l) => n("change", l)),
410
+ onInput: o[1] || (o[1] = (l) => n("input", l)),
411
411
  onKeydown: Se
412
412
  }), {
413
- "right-icon": ae(() => [
414
- O("button", {
413
+ "right-icon": ne(() => [
414
+ N("button", {
415
415
  tabindex: "-1",
416
416
  type: "button",
417
417
  class: "m-select-input__toggle-button maz-custom",
418
418
  "aria-label": `${h.value ? "collapse" : "expand"} list of options`,
419
- onClick: E(Ve, ["stop"])
419
+ onClick: M(Ve, ["stop"])
420
420
  }, [
421
- N(C(V), { class: "m-select-chevron maz-text-xl" })
421
+ $(C(V), { class: "m-select-chevron maz-text-xl" })
422
422
  ], 8, Ue)
423
423
  ]),
424
424
  _: 1
425
425
  /* STABLE */
426
426
  }, 16, ["id", "required", "border-active", "color", "model-value", "size", "autocomplete", "disabled"]),
427
- N(Ee, { name: be.value }, {
428
- default: ae(() => [
427
+ $(Ee, { name: be.value }, {
428
+ default: ne(() => [
429
429
  h.value ? (g(), I(
430
430
  "div",
431
431
  {
@@ -438,7 +438,7 @@ const Ue = ["aria-label"], We = { class: "m-select-list__no-results" }, je = {
438
438
  "--right": e.listPosition.includes("right"),
439
439
  "--bottom": e.listPosition.includes("bottom")
440
440
  }]),
441
- style: Q({
441
+ style: j({
442
442
  maxHeight: `${e.maxListHeight}px`,
443
443
  maxWidth: `${e.maxListWidth}px`,
444
444
  minHeight: `${e.minListHeight}px`,
@@ -450,9 +450,9 @@ const Ue = ["aria-label"], We = { class: "m-select-list__no-results" }, je = {
450
450
  key: 0,
451
451
  ref_key: "searchInputComponent",
452
452
  ref: _,
453
- modelValue: M.value,
453
+ modelValue: w.value,
454
454
  "onUpdate:modelValue": [
455
- o[2] || (o[2] = (l) => M.value = l),
455
+ o[2] || (o[2] = (l) => w.value = l),
456
456
  o[4] || (o[4] = (l) => p.value = 0)
457
457
  ],
458
458
  size: "sm",
@@ -465,15 +465,12 @@ const Ue = ["aria-label"], We = { class: "m-select-list__no-results" }, je = {
465
465
  class: "m-select-list__search-input maz-flex-none",
466
466
  "left-icon": C(m),
467
467
  onKeydown: o[3] || (o[3] = (l) => le(l, !1))
468
- }, null, 8, ["modelValue", "color", "placeholder", "left-icon"])) : w("v-if", !0),
469
- w(`
470
- @slot No results slot - Displayed when no results corresponding with search query
471
- `),
468
+ }, null, 8, ["modelValue", "color", "placeholder", "left-icon"])) : Q("v-if", !0),
472
469
  !y.value || y.value.length <= 0 ? G(e.$slots, "no-results", { key: 1 }, () => [
473
- O("span", We, [
474
- N(C(D), { class: "maz-h-6 maz-w-6 maz-text-normal" })
470
+ N("span", We, [
471
+ $(C(x), { class: "maz-h-6 maz-w-6 maz-text-normal" })
475
472
  ])
476
- ], !0) : (g(), I("div", je, [
473
+ ], !0) : (g(), I("div", qe, [
477
474
  (g(!0), I(
478
475
  ie,
479
476
  null,
@@ -481,17 +478,13 @@ const Ue = ["aria-label"], We = { class: "m-select-list__no-results" }, je = {
481
478
  ie,
482
479
  { key: u },
483
480
  [
484
- w(`
485
- @slot Custom optgroup label
486
- @binding {String} label - the label of the optgroup
487
- `),
488
481
  l.label && l.isOptGroup ? G(e.$slots, "optgroup", {
489
482
  key: 0,
490
483
  label: l.label
491
484
  }, () => [
492
- O(
485
+ N(
493
486
  "span",
494
- qe,
487
+ je,
495
488
  ue(l.label),
496
489
  1
497
490
  /* TEXT */
@@ -503,30 +496,25 @@ const Ue = ["aria-label"], We = { class: "m-select-list__no-results" }, je = {
503
496
  class: q(["m-select-list-item maz-custom maz-flex-none", [
504
497
  {
505
498
  "--is-keyboard-selected": p.value === u,
506
- "--is-selected": P(l),
499
+ "--is-selected": H(l),
507
500
  "--is-none-value": K(l[e.optionValueKey])
508
501
  }
509
502
  ]]),
510
- style: Q(e.itemHeight ? { height: `${e.itemHeight}px` } : void 0),
511
- onClick: E((d) => ne(l), ["prevent", "stop"])
503
+ style: j(e.itemHeight ? { height: `${e.itemHeight}px` } : void 0),
504
+ onClick: M((d) => ae(l), ["prevent", "stop"])
512
505
  }, [
513
506
  e.multiple ? (g(), se(C(i), {
514
507
  key: 0,
515
508
  tabindex: "-1",
516
- "model-value": P(l),
509
+ "model-value": H(l),
517
510
  size: "sm",
518
511
  color: e.color
519
- }, null, 8, ["model-value", "color"])) : w("v-if", !0),
520
- w(`
521
- @slot Custom option
522
- @binding {Object} option - the option object
523
- @binding {Boolean} is-selected - if the option is selected
524
- `),
512
+ }, null, 8, ["model-value", "color"])) : Q("v-if", !0),
525
513
  G(e.$slots, "default", {
526
514
  option: l,
527
- isSelected: P(l)
515
+ isSelected: H(l)
528
516
  }, () => [
529
- O(
517
+ N(
530
518
  "span",
531
519
  null,
532
520
  ue(l[e.optionLabelKey]),
@@ -546,7 +534,7 @@ const Ue = ["aria-label"], We = { class: "m-select-list__no-results" }, je = {
546
534
  ],
547
535
  6
548
536
  /* CLASS, STYLE */
549
- )) : w("v-if", !0)
537
+ )) : Q("v-if", !0)
550
538
  ]),
551
539
  _: 3
552
540
  /* FORWARDED */
@@ -556,7 +544,7 @@ const Ue = ["aria-label"], We = { class: "m-select-list__no-results" }, je = {
556
544
  /* CLASS, STYLE */
557
545
  )), [
558
546
  [C(Pe), {
559
- exclude: (n = e.excludeSelectors) != null && n.length ? e.excludeSelectors : [],
547
+ exclude: (a = e.excludeSelectors) != null && a.length ? e.excludeSelectors : [],
560
548
  handler: k
561
549
  }]
562
550
  ]);
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
2
- import { _ as a } from "./MazPagination-CHTMRRqE.mjs";
2
+ import { _ as a } from "./MazInputPrice-DoTnDDIN.mjs";
3
3
  import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
4
4
  __name: "MazSpinner",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
2
- import { _ as a } from "./MazBtn-DzBXfedt.mjs";
2
+ import { _ as a } from "./MazBtn-BB1FyYWv.mjs";
3
3
  import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
4
4
  __name: "MazSpinner",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
2
- import { _ as a } from "./MazSelect-CQDoUpgp.mjs";
2
+ import { _ as a } from "./MazDialog-khofH-7I.mjs";
3
3
  import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
4
4
  __name: "MazSpinner",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
2
- import { _ as a } from "./MazDialog-CPgFpAlq.mjs";
2
+ import { _ as a } from "./MazPicker-DwWiIYAR.mjs";
3
3
  import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
4
4
  __name: "MazSpinner",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
2
- import { _ as a } from "./MazInputNumber-B4mQJcVB.mjs";
2
+ import { _ as a } from "./MazBottomSheet-CGRvZmGd.mjs";
3
3
  import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
4
4
  __name: "MazSpinner",
5
5
  props: {
@@ -0,0 +1,34 @@
1
+ import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
2
+ import { _ as a } from "./MazGallery-CXQiXWFr.mjs";
3
+ import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
4
+ __name: "MazSpinner",
5
+ props: {
6
+ size: { default: "2em" },
7
+ color: { default: "theme" }
8
+ },
9
+ setup(m) {
10
+ return (e, n) => (s(), t("svg", {
11
+ width: e.size,
12
+ height: e.size,
13
+ version: "1.1",
14
+ xmlns: "http://www.w3.org/2000/svg",
15
+ x: "0px",
16
+ y: "0px",
17
+ viewBox: "0 0 50 50",
18
+ "xml:space": "preserve",
19
+ class: r(["m-spinner", `m-spinner--${e.color}`]),
20
+ style: { "enable-background": "new 0 0 50 50" }
21
+ }, n[0] || (n[0] = [
22
+ p(
23
+ "path",
24
+ { d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
25
+ null,
26
+ -1
27
+ /* HOISTED */
28
+ )
29
+ ]), 10, i));
30
+ }
31
+ }), h = /* @__PURE__ */ a(l, [["__scopeId", "data-v-2868435d"]]);
32
+ export {
33
+ h as default
34
+ };