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,4 +1,4 @@
1
- import { openBlock as f, createElementBlock as b, createElementVNode as c, useId as A, computed as g, defineComponent as k, useCssVars as V, ref as p, onMounted as O, onUnmounted as B, normalizeClass as $, normalizeStyle as w, renderSlot as h, withDirectives as E, vShow as z, mergeModels as x, useModel as I, mergeProps as L, createCommentVNode as N, useSlots as j, Fragment as D, renderList as F, createBlock as R, withCtx as M, unref as y, createVNode as S } from "vue";
1
+ import { openBlock as f, createElementBlock as b, createElementVNode as c, useId as A, computed as g, defineComponent as y, useCssVars as O, ref as p, onMounted as V, onUnmounted as B, normalizeClass as $, normalizeStyle as w, renderSlot as h, withDirectives as E, vShow as z, mergeModels as x, useModel as I, mergeProps as L, useSlots as j, Fragment as F, renderList as N, createBlock as R, withCtx as M, unref as k, createVNode as S } from "vue";
2
2
  import './assets/MazAccordion.css';const P = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  width: "1em",
@@ -31,7 +31,7 @@ function q({
31
31
  const a = A();
32
32
  return g(() => t ?? `${r}-${a}`);
33
33
  }
34
- const H = { class: "inner" }, W = /* @__PURE__ */ k({
34
+ const D = { class: "inner" }, H = /* @__PURE__ */ y({
35
35
  __name: "MazCardSpotlight",
36
36
  props: {
37
37
  color: { default: "primary" },
@@ -42,20 +42,20 @@ const H = { class: "inner" }, W = /* @__PURE__ */ k({
42
42
  innerOpacity: { default: 0.95 }
43
43
  },
44
44
  setup(r) {
45
- V((d) => ({
45
+ O((d) => ({
46
46
  "4f499add": d.innerOpacity,
47
47
  "2e65a0ad": n.value
48
48
  }));
49
49
  const t = r, a = p(), l = p(), i = p(!1);
50
- function m({ clientX: d, clientY: u }) {
50
+ function v({ clientX: d, clientY: u }) {
51
51
  var e, _, o;
52
52
  i.value = !0;
53
- const v = (e = l.value) == null ? void 0 : e.getBoundingClientRect();
54
- v && ((o = (_ = a.value) == null ? void 0 : _.animate) == null || o.call(
53
+ const m = (e = l.value) == null ? void 0 : e.getBoundingClientRect();
54
+ m && ((o = (_ = a.value) == null ? void 0 : _.animate) == null || o.call(
55
55
  _,
56
56
  [
57
57
  {
58
- transform: `translate(${d - v.left - v.width / 2}px,${u - v.top - v.height / 2}px)`
58
+ transform: `translate(${d - m.left - m.width / 2}px,${u - m.top - m.height / 2}px)`
59
59
  }
60
60
  ],
61
61
  {
@@ -65,10 +65,10 @@ const H = { class: "inner" }, W = /* @__PURE__ */ k({
65
65
  ));
66
66
  }
67
67
  const n = g(() => `var(--maz-color-${t.color}-alpha)`), s = g(() => `var(--maz-color-${t.color}-alpha-20)`);
68
- return O(() => {
69
- window.addEventListener("mousemove", m);
68
+ return V(() => {
69
+ window.addEventListener("mousemove", v);
70
70
  }), B(() => {
71
- window.removeEventListener("mousemove", m);
71
+ window.removeEventListener("mousemove", v);
72
72
  }), (d, u) => (f(), b(
73
73
  "div",
74
74
  {
@@ -76,7 +76,7 @@ const H = { class: "inner" }, W = /* @__PURE__ */ k({
76
76
  style: w({ backgroundColor: s.value })
77
77
  },
78
78
  [
79
- c("div", H, [
79
+ c("div", D, [
80
80
  c(
81
81
  "div",
82
82
  {
@@ -126,7 +126,7 @@ const H = { class: "inner" }, W = /* @__PURE__ */ k({
126
126
  for (const [l, i] of t)
127
127
  a[l] = i;
128
128
  return a;
129
- }, G = /* @__PURE__ */ C(W, [["__scopeId", "data-v-31abf9ff"]]), J = ["aria-hidden"], K = /* @__PURE__ */ k({
129
+ }, W = /* @__PURE__ */ C(H, [["__scopeId", "data-v-31abf9ff"]]), G = ["aria-hidden"], J = /* @__PURE__ */ y({
130
130
  inheritAttrs: !1,
131
131
  __name: "MazExpandAnimation",
132
132
  props: /* @__PURE__ */ x({
@@ -138,7 +138,7 @@ const H = { class: "inner" }, W = /* @__PURE__ */ k({
138
138
  }),
139
139
  emits: ["update:modelValue"],
140
140
  setup(r) {
141
- V((n) => ({
141
+ O((n) => ({
142
142
  "3628b947": n.duration,
143
143
  "239277b5": n.timingFunction
144
144
  }));
@@ -146,15 +146,15 @@ const H = { class: "inner" }, W = /* @__PURE__ */ k({
146
146
  function i() {
147
147
  t.value || (a.value = !0);
148
148
  }
149
- function m() {
149
+ function v() {
150
150
  t.value && (a.value = !1);
151
151
  }
152
- return O(() => {
152
+ return V(() => {
153
153
  var n, s;
154
- (n = l.value) == null || n.addEventListener("transitionstart", i, !1), (s = l.value) == null || s.addEventListener("transitionend", m, !1);
154
+ (n = l.value) == null || n.addEventListener("transitionstart", i, !1), (s = l.value) == null || s.addEventListener("transitionend", v, !1);
155
155
  }), B(() => {
156
156
  var n, s;
157
- (n = l.value) == null || n.removeEventListener("transitionstart", i, !1), (s = l.value) == null || s.removeEventListener("transitionend", m, !1);
157
+ (n = l.value) == null || n.removeEventListener("transitionstart", i, !1), (s = l.value) == null || s.removeEventListener("transitionend", v, !1);
158
158
  }), (n, s) => (f(), b("div", {
159
159
  ref_key: "expandAnimationRef",
160
160
  ref: l,
@@ -170,18 +170,17 @@ const H = { class: "inner" }, W = /* @__PURE__ */ k({
170
170
  }
171
171
  }),
172
172
  [
173
- N(" @slot Default Slot - Display content "),
174
173
  h(n.$slots, "default", {}, void 0, !0)
175
174
  ],
176
175
  16
177
176
  /* FULL_PROPS */
178
177
  )
179
- ], 10, J));
178
+ ], 10, G));
180
179
  }
181
- }), Q = /* @__PURE__ */ C(K, [["__scopeId", "data-v-b7ca6b97"]]), X = {
180
+ }), K = /* @__PURE__ */ C(J, [["__scopeId", "data-v-b7ca6b97"]]), Q = {
182
181
  class: "m-accordion",
183
182
  role: "presentation"
184
- }, Y = ["id", "aria-controls", "aria-expanded", "onClick"], Z = /* @__PURE__ */ k({
183
+ }, X = ["id", "aria-controls", "aria-expanded", "onClick"], Y = /* @__PURE__ */ y({
185
184
  __name: "MazAccordion",
186
185
  props: {
187
186
  id: { default: void 0 },
@@ -193,8 +192,8 @@ const H = { class: "inner" }, W = /* @__PURE__ */ k({
193
192
  const a = r, l = t, i = q({
194
193
  componentName: "MazAccordion",
195
194
  providedId: a.id
196
- }), m = j(), n = g(
197
- () => Object.keys(m).filter((e) => e.startsWith("title-")).length
195
+ }), v = j(), n = g(
196
+ () => Object.keys(v).filter((e) => e.startsWith("title-")).length
198
197
  ), s = p(a.modelValue), d = g({
199
198
  get: () => a.modelValue || s.value,
200
199
  set: (e) => {
@@ -204,15 +203,15 @@ const H = { class: "inner" }, W = /* @__PURE__ */ k({
204
203
  function u(e) {
205
204
  return d.value === e;
206
205
  }
207
- function v(e) {
206
+ function m(e) {
208
207
  d.value === e ? (s.value = 0, l("update:model-value", 0)) : (s.value = e, l("update:model-value", e));
209
208
  }
210
- return (e, _) => (f(), b("div", X, [
209
+ return (e, _) => (f(), b("div", Q, [
211
210
  (f(!0), b(
212
- D,
211
+ F,
213
212
  null,
214
- F(n.value, (o) => (f(), R(
215
- G,
213
+ N(n.value, (o) => (f(), R(
214
+ W,
216
215
  {
217
216
  key: o,
218
217
  class: "m-accordion__spotlight",
@@ -221,23 +220,23 @@ const H = { class: "inner" }, W = /* @__PURE__ */ k({
221
220
  {
222
221
  default: M(() => [
223
222
  c("button", {
224
- id: `step-${o}-${y(i)}`,
223
+ id: `step-${o}-${k(i)}`,
225
224
  class: "m-accordion__header",
226
- "aria-controls": `step-${o}-${y(i)}`,
225
+ "aria-controls": `step-${o}-${k(i)}`,
227
226
  "aria-expanded": u(o),
228
- onClick: (ee) => v(o)
227
+ onClick: (Z) => m(o)
229
228
  }, [
230
229
  h(e.$slots, `title-${o}`, {
231
230
  isOpen: u(o)
232
231
  }, void 0, !0),
233
- S(y(U), {
232
+ S(k(U), {
234
233
  class: $(["header-icon", { "--rotate": u(o) }])
235
234
  }, null, 8, ["class"])
236
- ], 8, Y),
237
- S(Q, {
235
+ ], 8, X),
236
+ S(K, {
238
237
  "animation-duration": "300ms",
239
238
  "model-value": u(o),
240
- "aria-labelledby": `step-${o}-${y(i)}`
239
+ "aria-labelledby": `step-${o}-${k(i)}`
241
240
  }, {
242
241
  default: M(() => [
243
242
  c(
@@ -272,7 +271,7 @@ const H = { class: "inner" }, W = /* @__PURE__ */ k({
272
271
  ))
273
272
  ]));
274
273
  }
275
- }), ne = /* @__PURE__ */ C(Z, [["__scopeId", "data-v-052b6500"]]);
274
+ }), te = /* @__PURE__ */ C(Y, [["__scopeId", "data-v-052b6500"]]);
276
275
  export {
277
- ne as default
276
+ te as default
278
277
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as v, useCssVars as _, useSlots as h, computed as l, ref as b, watch as C, openBlock as p, createElementBlock as m, normalizeClass as $, createElementVNode as A, renderSlot as f, createTextVNode as o, toDisplayString as a, createCommentVNode as d } from "vue";
2
- import './assets/MazAnimatedCounter.css';const S = { class: "maz-sr-only" }, g = {
1
+ import { defineComponent as v, useCssVars as x, useSlots as _, computed as l, ref as h, watch as C, openBlock as d, createElementBlock as p, normalizeClass as $, createElementVNode as b, renderSlot as f, createTextVNode as o, toDisplayString as a, createCommentVNode as k } from "vue";
2
+ import './assets/MazAnimatedCounter.css';const y = { class: "maz-sr-only" }, z = {
3
3
  key: 0,
4
4
  class: "m-animated-counter__fix"
5
- }, k = /* @__PURE__ */ v({
5
+ }, S = /* @__PURE__ */ v({
6
6
  __name: "MazAnimatedCounter",
7
7
  props: {
8
8
  count: {},
@@ -11,11 +11,11 @@ import './assets/MazAnimatedCounter.css';const S = { class: "maz-sr-only" }, g =
11
11
  suffix: { default: void 0 }
12
12
  },
13
13
  setup(n) {
14
- _((e) => ({
15
- "7cf84c3b": x.value,
14
+ x((e) => ({
15
+ "7cf84c3b": m.value,
16
16
  a2b7049a: e.count
17
17
  }));
18
- const t = n, s = h(), r = l(() => !!t.prefix || !!s.prefix), u = l(() => !!t.suffix || !!s.suffix), i = b(!0);
18
+ const t = n, s = _(), r = l(() => !!t.prefix || !!s.prefix), u = l(() => !!t.suffix || !!s.suffix), i = h(!0);
19
19
  C(
20
20
  () => t.count,
21
21
  (e, c) => {
@@ -24,8 +24,8 @@ import './assets/MazAnimatedCounter.css';const S = { class: "maz-sr-only" }, g =
24
24
  }, 100));
25
25
  }
26
26
  );
27
- const x = l(() => `${t.duration}ms`);
28
- return (e, c) => (p(), m(
27
+ const m = l(() => `${t.duration}ms`);
28
+ return (e, c) => (d(), p(
29
29
  "span",
30
30
  {
31
31
  class: $(["m-animated-counter", {
@@ -35,7 +35,7 @@ import './assets/MazAnimatedCounter.css';const S = { class: "maz-sr-only" }, g =
35
35
  }])
36
36
  },
37
37
  [
38
- A("span", S, [
38
+ b("span", y, [
39
39
  f(e.$slots, "prefix", {}, () => [
40
40
  o(
41
41
  a(e.prefix),
@@ -56,8 +56,7 @@ import './assets/MazAnimatedCounter.css';const S = { class: "maz-sr-only" }, g =
56
56
  )
57
57
  ], !0)
58
58
  ]),
59
- r.value || u.value ? (p(), m("span", g, [
60
- d(' @slot Prefix slot - Add a prefix next to the number (e.g: "$") '),
59
+ r.value || u.value ? (d(), p("span", z, [
61
60
  f(e.$slots, "prefix", {}, () => [
62
61
  o(
63
62
  a(e.prefix),
@@ -65,7 +64,6 @@ import './assets/MazAnimatedCounter.css';const S = { class: "maz-sr-only" }, g =
65
64
  /* TEXT */
66
65
  )
67
66
  ], !0),
68
- d(' @slot Suffix slot - Add a suffix next to the number (e.g: "%") '),
69
67
  f(e.$slots, "suffix", {}, () => [
70
68
  o(
71
69
  a(e.suffix),
@@ -73,18 +71,18 @@ import './assets/MazAnimatedCounter.css';const S = { class: "maz-sr-only" }, g =
73
71
  /* TEXT */
74
72
  )
75
73
  ], !0)
76
- ])) : d("v-if", !0)
74
+ ])) : k("v-if", !0)
77
75
  ],
78
76
  2
79
77
  /* CLASS */
80
78
  ));
81
79
  }
82
- }), y = (n, t) => {
80
+ }), V = (n, t) => {
83
81
  const s = n.__vccOpts || n;
84
82
  for (const [r, u] of t)
85
83
  s[r] = u;
86
84
  return s;
87
- }, V = /* @__PURE__ */ y(k, [["__scopeId", "data-v-95ad1bb8"]]);
85
+ }, M = /* @__PURE__ */ V(S, [["__scopeId", "data-v-95ad1bb8"]]);
88
86
  export {
89
- V as default
87
+ M as default
90
88
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazBottomSheet-DqK0EOsq.mjs";
1
+ import { M as f } from "./chunks/MazBottomSheet-CGRvZmGd.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazBtn-DzBXfedt.mjs";
1
+ import { M as f } from "./chunks/MazBtn-CWloP6MI.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazCard-FSXmHyhj.mjs";
1
+ import { M as f } from "./chunks/MazCard-BYB8y1_u.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazCarousel-BEl86YGW.mjs";
1
+ import { M as f } from "./chunks/MazCarousel-DccWVW8H.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent as d, defineAsyncComponent as m, openBlock as a, createElementBlock as y, Fragment as f, createCommentVNode as g, createBlock as b, resolveDynamicComponent as C, unref as h, normalizeProps as B, guardReactiveProps as S } from "vue";
2
- import { Chart as _, CategoryScale as A, LinearScale as E, Title as P, Tooltip as v, Legend as L, BarElement as k, ArcElement as x, PointElement as j, LineElement as q } from "chart.js";
3
- const D = /* @__PURE__ */ d({
1
+ import { defineComponent as l, defineAsyncComponent as d, openBlock as m, createBlock as y, resolveDynamicComponent as f, unref as g, normalizeProps as b, guardReactiveProps as h } from "vue";
2
+ import { Chart as C, CategoryScale as S, LinearScale as _, Title as A, Tooltip as B, Legend as P, BarElement as E, ArcElement as L, PointElement as v, LineElement as j } from "chart.js";
3
+ const w = /* @__PURE__ */ l({
4
4
  __name: "MazChart",
5
5
  props: {
6
6
  /**
@@ -50,58 +50,49 @@ const D = /* @__PURE__ */ d({
50
50
  default: void 0
51
51
  }
52
52
  },
53
- setup(n) {
54
- const e = n;
55
- _.register(
53
+ setup(a) {
54
+ const e = a;
55
+ C.register(
56
+ S,
57
+ _,
56
58
  A,
57
- E,
59
+ B,
58
60
  P,
59
- v,
61
+ E,
60
62
  L,
61
- k,
62
- x,
63
- j,
64
- q
63
+ v,
64
+ j
65
65
  );
66
- const o = m(async () => {
67
- const { Bar: t, Bubble: r, Doughnut: c, Line: u, Pie: l, PolarArea: p, Radar: i, Scatter: s } = await import("vue-chartjs");
66
+ const n = d(async () => {
67
+ const { Bar: t, Bubble: r, Doughnut: o, Line: c, Pie: u, PolarArea: p, Radar: i, Scatter: s } = await import("vue-chartjs");
68
68
  switch (e.type) {
69
69
  case "bar":
70
70
  return t;
71
71
  case "line":
72
- return u;
72
+ return c;
73
73
  case "scatter":
74
74
  return s;
75
75
  case "bubble":
76
76
  return r;
77
77
  case "pie":
78
- return l;
78
+ return u;
79
79
  case "doughnut":
80
- return c;
80
+ return o;
81
81
  case "polarArea":
82
82
  return p;
83
83
  case "radar":
84
84
  return i;
85
85
  }
86
86
  });
87
- return (t, r) => (a(), y(
88
- f,
87
+ return (t, r) => (m(), y(
88
+ f(g(n)),
89
+ b(h(e)),
89
90
  null,
90
- [
91
- g(" @vue-expect-error "),
92
- (a(), b(
93
- C(h(o)),
94
- B(S(e)),
95
- null,
96
- 16
97
- /* FULL_PROPS */
98
- ))
99
- ],
100
- 2112
101
- /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
91
+ 16
92
+ /* FULL_PROPS */
102
93
  ));
103
94
  }
104
95
  });
105
96
  export {
106
- D as default
97
+ w as default
107
98
  };
@@ -1,4 +1,4 @@
1
- import { a as f } from "./chunks/MazChecklist-CY1Cv70T.mjs";
1
+ import { a as f } from "./chunks/MazChecklist-C95Y4Hb-.mjs";
2
2
  export {
3
3
  f as default
4
4
  };