maz-ui 3.44.0 → 3.44.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 (124) hide show
  1. package/components/MazAccordion.mjs +25 -25
  2. package/components/MazAvatar.mjs +1 -1
  3. package/components/MazBottomSheet.mjs +1 -1
  4. package/components/MazBtn.mjs +1 -1
  5. package/components/MazCard.mjs +1 -1
  6. package/components/MazCardSpotlight.mjs +9 -9
  7. package/components/MazCarousel.mjs +1 -1
  8. package/components/MazDialog.mjs +1 -1
  9. package/components/MazDialogPromise.mjs +1 -1
  10. package/components/MazDrawer.mjs +1 -1
  11. package/components/MazDropdown.mjs +1 -1
  12. package/components/MazDropzone.mjs +1 -1
  13. package/components/MazGallery.mjs +1 -1
  14. package/components/MazInput.mjs +1 -1
  15. package/components/MazInputNumber.mjs +1 -1
  16. package/components/MazInputPrice.mjs +1 -1
  17. package/components/MazInputTags.mjs +1 -1
  18. package/components/MazLazyImg.mjs +1 -1
  19. package/components/MazLink.mjs +22 -22
  20. package/components/MazPagination.mjs +1 -1
  21. package/components/MazPhoneNumberInput.mjs +1 -1
  22. package/components/MazPicker.mjs +1 -1
  23. package/components/MazReadingProgressBar.mjs +1 -2
  24. package/components/MazSelect.mjs +1 -1
  25. package/components/MazTable.mjs +1 -1
  26. package/components/MazTextarea.mjs +1 -1
  27. package/components/assets/MazPhoneNumberInput.css +1 -1
  28. package/components/assets/MazSelect.css +1 -1
  29. package/components/assets/MazTable.css +1 -1
  30. package/components/assets/MazTabsBar.css +1 -1
  31. package/components/chunks/{MazAvatar-BU1nJFcV.mjs → MazAvatar-CoT6WIl0.mjs} +1 -1
  32. package/components/chunks/{MazBottomSheet-DUOIusEi.mjs → MazBottomSheet-DpI8wFgc.mjs} +1 -1
  33. package/components/chunks/MazBtn-BIVlttu0.mjs +150 -0
  34. package/components/chunks/MazBtn-BQ7aH6Qe.mjs +158 -0
  35. package/components/chunks/{MazBtn-5BSKOcqG.mjs → MazBtn-BXDpaXn1.mjs} +44 -44
  36. package/components/chunks/MazBtn-C7RDTnn-.mjs +150 -0
  37. package/components/chunks/{MazBtn-BY8WCtM7.mjs → MazBtn-CPkNymJj.mjs} +44 -44
  38. package/components/chunks/{MazBtn-C5G78zLg.mjs → MazBtn-CQSo596y.mjs} +44 -44
  39. package/components/chunks/MazBtn-D2tIsob2.mjs +150 -0
  40. package/components/chunks/MazBtn-DRTBFUgW.mjs +150 -0
  41. package/components/chunks/{MazBtn-f1mBXJeU.mjs → MazBtn-Dfz-5FeI.mjs} +23 -26
  42. package/components/chunks/{MazBtn-CeVwyYR5.mjs → MazBtn-Vas62hFD.mjs} +44 -44
  43. package/components/chunks/MazBtn-gE-drZkE.mjs +150 -0
  44. package/components/chunks/{MazCard-BWxV_Z-i.mjs → MazCard-BBwohtCJ.mjs} +1 -1
  45. package/components/chunks/{MazCarousel-D5EmW7Sa.mjs → MazCarousel-DJ_nQfy4.mjs} +1 -1
  46. package/components/chunks/{MazCheckbox-D3PXkt75.mjs → MazCheckbox-BK1MX0uq.mjs} +1 -1
  47. package/components/chunks/{MazCheckbox-BWiMbecz.mjs → MazCheckbox-D3Fm-BFu.mjs} +1 -1
  48. package/components/chunks/{MazDialog-CLWKCphI.mjs → MazDialog-DXaeCp-b.mjs} +1 -1
  49. package/components/chunks/{MazDialogPromise-DVOJwdVp.mjs → MazDialogPromise-Bgxjg9ss.mjs} +2 -2
  50. package/components/chunks/{MazDropzone-Dm2IirHm.mjs → MazDropzone-D0W0dlgY.mjs} +2 -3
  51. package/components/chunks/{MazGallery-Bn9p1gNb.mjs → MazGallery-CBE4wD7D.mjs} +3 -4
  52. package/components/chunks/{MazGallery-BlfPe8WG.mjs → MazGallery-Din0Z37d.mjs} +4 -5
  53. package/components/chunks/{MazIcon-D3umgnku.mjs → MazIcon-CTjWIkTp.mjs} +1 -1
  54. package/components/chunks/{MazIcon-B8A0hQAH.mjs → MazIcon-CUOwXGOK.mjs} +1 -1
  55. package/components/chunks/{MazInput-BpsE-mdg.mjs → MazInput-D177bUMh.mjs} +44 -44
  56. package/components/chunks/{MazInputNumber-DGBYbDSX.mjs → MazInputNumber-CstQGS8u.mjs} +121 -121
  57. package/components/chunks/{MazInputPrice-j2BNMeFp.mjs → MazInputPrice-Bp7ie9jm.mjs} +48 -48
  58. package/components/chunks/{MazInputTags-CJofVaj5.mjs → MazInputTags-C7nZucYu.mjs} +63 -63
  59. package/components/chunks/{MazLazyImg-Dboc6Xfz.mjs → MazLazyImg-DADMg49z.mjs} +3 -4
  60. package/components/chunks/{MazLazyImg-BFG6FIJZ.mjs → MazLazyImg-xLPMdfif.mjs} +4 -5
  61. package/components/chunks/{MazPagination-C6ZehQSZ.mjs → MazPagination-NbHR41CQ.mjs} +44 -44
  62. package/components/chunks/{MazPhoneNumberInput-DpWoNQfx.mjs → MazPhoneNumberInput-BGo-vcnD.mjs} +61 -61
  63. package/components/chunks/{MazPicker-ia2BEmm5.mjs → MazPicker-CJBezF2t.mjs} +173 -198
  64. package/components/chunks/{MazPickerMonthSwitcher-CKtfZ_m-.mjs → MazPickerMonthSwitcher-DZPHWTJt.mjs} +1 -1
  65. package/components/chunks/{MazPickerShortcuts-Cc9VoqBw.mjs → MazPickerShortcuts-CBEmYjPG.mjs} +1 -1
  66. package/components/chunks/{MazPickerYearSwitcher-0b5Wrem9.mjs → MazPickerYearSwitcher-Ynp2qf3F.mjs} +1 -1
  67. package/components/chunks/{MazSelect-COJoKXbV.mjs → MazSelect-D4TuCHwj.mjs} +29 -29
  68. package/components/chunks/{MazSpinner-BaAMq7LI.mjs → MazSpinner--h9DYpGx.mjs} +1 -1
  69. package/components/chunks/{MazSpinner-BZOjTZBN.mjs → MazSpinner-6pxbKImG.mjs} +1 -1
  70. package/components/chunks/{MazSpinner-RvDGcBng.mjs → MazSpinner-BVd7-OTu.mjs} +1 -1
  71. package/components/chunks/MazSpinner-C6T_enKo.mjs +37 -0
  72. package/components/chunks/{MazSpinner-DkXequnp.mjs → MazSpinner-C8x7LsHq.mjs} +1 -1
  73. package/components/chunks/{MazSpinner-V-bFi71W.mjs → MazSpinner-CLz4ccD0.mjs} +1 -1
  74. package/components/chunks/MazSpinner-CmJlBqgH.mjs +37 -0
  75. package/components/chunks/MazSpinner-D4gpZ7vL.mjs +37 -0
  76. package/components/chunks/{MazSpinner-CNIlbDfg.mjs → MazSpinner-D8k_MENa.mjs} +1 -1
  77. package/components/chunks/MazSpinner-DGxqly6h.mjs +37 -0
  78. package/components/chunks/{MazSpinner-9Jue6cel.mjs → MazSpinner-DVkxyBoy.mjs} +1 -1
  79. package/components/chunks/{MazSpinner-BGPOws6a.mjs → MazSpinner-DjR5FVqo.mjs} +1 -1
  80. package/components/chunks/MazSpinner-DnVHWljy.mjs +37 -0
  81. package/components/chunks/{MazSpinner-C41VyUup.mjs → MazSpinner-DneKNmrs.mjs} +1 -1
  82. package/components/chunks/MazSpinner-Q02SOFkL.mjs +37 -0
  83. package/components/chunks/{MazSpinner-EA5ejB8F.mjs → MazSpinner-T1t1bpbm.mjs} +1 -1
  84. package/components/chunks/{MazSpinner-BWYdqSMP.mjs → MazSpinner-dFnsq52G.mjs} +1 -1
  85. package/components/chunks/MazSpinner-iA4Rz7K5.mjs +37 -0
  86. package/components/chunks/{MazSpinner-DHQH6Bhz.mjs → MazSpinner-rAqBu92m.mjs} +1 -1
  87. package/components/chunks/MazSpinner-va5G9enA.mjs +37 -0
  88. package/components/chunks/{MazTable-DRUj_PZp.mjs → MazTable-BPMuTZbS.mjs} +305 -305
  89. package/components/chunks/{MazTransitionExpand-B08cSrmL.mjs → MazTransitionExpand-CYyEf_hd.mjs} +1 -1
  90. package/css/main.css +2 -1
  91. package/modules/assets/index.css +1 -1
  92. package/modules/chunks/MazBtn-1g7UvzQ_.mjs +150 -0
  93. package/modules/chunks/{MazBtn-BbCGGxkK.cjs → MazBtn-BKk3IsoH.cjs} +2 -2
  94. package/modules/chunks/{MazIcon-BDSXZYZ8.cjs → MazIcon-BEnQqDG6.cjs} +1 -1
  95. package/modules/chunks/{MazIcon-C2ch3jUS.mjs → MazIcon-BdDO3aVl.mjs} +1 -1
  96. package/modules/chunks/{MazSpinner-C9_xSbZZ.mjs → MazSpinner--BVvGFIO.mjs} +1 -1
  97. package/modules/chunks/{MazSpinner-BiyFRA4w.cjs → MazSpinner-PMlxvkWb.cjs} +1 -1
  98. package/modules/chunks/index-D5F2dSFa.cjs +124 -0
  99. package/modules/chunks/{index-Cwbjspv3.mjs → index-D7R1dvsf.mjs} +347 -347
  100. package/modules/index.cjs +1 -1
  101. package/modules/index.mjs +1 -1
  102. package/nuxt/index.json +3 -3
  103. package/nuxt/index.mjs +1 -1
  104. package/nuxt/types.d.mts +6 -12
  105. package/nuxt/types.d.ts +6 -12
  106. package/package.json +10 -10
  107. package/types/modules/composables/use-timer.d.ts +6 -1
  108. package/types/modules/plugins/toaster/MazToast.vue.d.ts +2 -2
  109. package/components/chunks/MazBtn-B1-sTc7F.mjs +0 -155
  110. package/components/chunks/MazBtn-ColLVUca.mjs +0 -150
  111. package/components/chunks/MazBtn-DJhQqzja.mjs +0 -150
  112. package/components/chunks/MazBtn-DuY28-0U.mjs +0 -150
  113. package/components/chunks/MazBtn-h3WmmaEO.mjs +0 -150
  114. package/components/chunks/MazBtn-zyRLUViT.mjs +0 -150
  115. package/components/chunks/MazSpinner-Bad2n-0k.mjs +0 -37
  116. package/components/chunks/MazSpinner-C6StE-Mb.mjs +0 -37
  117. package/components/chunks/MazSpinner-Cz2DHV6g.mjs +0 -37
  118. package/components/chunks/MazSpinner-D4CdHpP2.mjs +0 -37
  119. package/components/chunks/MazSpinner-DRj2VpGA.mjs +0 -37
  120. package/components/chunks/MazSpinner-aPFlrc5E.mjs +0 -37
  121. package/components/chunks/MazSpinner-nOD-7_sU.mjs +0 -37
  122. package/components/chunks/MazSpinner-yZGK-AQe.mjs +0 -37
  123. package/modules/chunks/MazBtn-UBHTKqaN.mjs +0 -150
  124. package/modules/chunks/index-tnjajVkX.cjs +0 -124
@@ -1,4 +1,4 @@
1
- import { getCurrentInstance as K, computed as s, defineComponent as M, defineAsyncComponent as h, ref as V, onMounted as Q, useSlots as W, openBlock as u, createElementBlock as z, normalizeClass as C, normalizeStyle as X, createElementVNode as g, createCommentVNode as i, renderSlot as N, createBlock as p, unref as f, resolveDynamicComponent as E, withDirectives as Z, mergeProps as x, toHandlers as _, vModelDynamic as ee, createTextVNode as te, toDisplayString as oe, withModifiers as re, withCtx as F, createVNode as P, nextTick as ne, onBeforeMount as ae } from "vue";
1
+ import { getCurrentInstance as K, computed as s, defineComponent as P, defineAsyncComponent as h, ref as V, onMounted as Q, useSlots as W, openBlock as u, createElementBlock as g, normalizeClass as $, normalizeStyle as X, createElementVNode as z, createCommentVNode as i, renderSlot as F, createBlock as p, unref as f, resolveDynamicComponent as S, withDirectives as Z, mergeProps as x, toHandlers as _, vModelDynamic as ee, createTextVNode as te, toDisplayString as oe, withModifiers as re, withCtx as C, createVNode as E, nextTick as ne, onBeforeMount as ae } from "vue";
2
2
  import '../assets/MazInputPrice.css';const le = {
3
3
  style: "currency",
4
4
  minimumFractionDigits: 2,
@@ -51,7 +51,7 @@ const me = {
51
51
  }, fe = { class: "m-input-wrapper-input" }, pe = ["id", "type", "name", "inputmode", "placeholder", "aria-label", "disabled", "readonly", "required"], ve = { key: 0 }, ye = {
52
52
  key: 1,
53
53
  class: "m-input-wrapper-right"
54
- }, be = /* @__PURE__ */ M({
54
+ }, be = /* @__PURE__ */ P({
55
55
  inheritAttrs: !1,
56
56
  __name: "MazInput",
57
57
  props: {
@@ -82,14 +82,14 @@ const me = {
82
82
  validButtonLoading: { type: Boolean, default: !1 },
83
83
  autoFocus: { type: Boolean, default: !1 },
84
84
  borderActive: { type: Boolean, default: !1 },
85
- leftIcon: { default: void 0 },
86
- rightIcon: { default: void 0 },
85
+ leftIcon: { type: [String, Function, Object], default: void 0 },
86
+ rightIcon: { type: [String, Function, Object], default: void 0 },
87
87
  roundedSize: { default: void 0 },
88
88
  block: { type: Boolean }
89
89
  },
90
90
  emits: ["update:model-value", "focus", "blur", "click", "change"],
91
91
  setup(a, { emit: l }) {
92
- const t = a, r = l, d = h(() => import("./MazBtn-BY8WCtM7.mjs")), w = h(() => import("./MazIcon-BDGxCy9M.mjs")), T = h(() => import("./eye-slash-tjfxO0LK.mjs")), k = h(() => import("./eye-DqO_Jx56.mjs")), v = h(() => import("./check-CL-vqe79.mjs")), y = V(!1), m = V(!1), n = V(), o = de({
92
+ const t = a, r = l, d = h(() => import("./MazBtn-DRTBFUgW.mjs")), w = h(() => import("./MazIcon-BDGxCy9M.mjs")), N = h(() => import("./eye-slash-tjfxO0LK.mjs")), k = h(() => import("./eye-DqO_Jx56.mjs")), v = h(() => import("./check-CL-vqe79.mjs")), y = V(!1), m = V(!1), n = V(), o = de({
93
93
  componentName: "MazInput",
94
94
  providedId: t.id
95
95
  });
@@ -97,7 +97,7 @@ const me = {
97
97
  var e;
98
98
  t.autoFocus && ((e = n.value) == null || e.focus());
99
99
  });
100
- const b = s(() => t.type === "password"), S = s(() => y.value ? "text" : t.type), q = s(() => {
100
+ const b = s(() => t.type === "password"), M = s(() => y.value ? "text" : t.type), q = s(() => {
101
101
  if (!t.noBorder) {
102
102
  if (t.error)
103
103
  return "maz-border-danger";
@@ -125,30 +125,30 @@ const me = {
125
125
  }
126
126
  return "--default-border";
127
127
  }
128
- }), $ = W(), A = s(() => {
128
+ }), T = W(), A = s(() => {
129
129
  const { required: e, placeholder: c } = t;
130
130
  if (c)
131
131
  return e ? `${c} *` : c;
132
- }), D = s(() => I.value !== void 0 && I.value !== ""), R = ce(
132
+ }), D = s(() => I.value !== void 0 && I.value !== ""), O = ce(
133
133
  (e) => {
134
134
  r("update:model-value", e);
135
135
  },
136
136
  typeof t.debounce == "number" ? t.debounce : t.debounceDelay ?? 500
137
137
  );
138
- function U(e) {
138
+ function R(e) {
139
139
  if (t.debounce)
140
- return R(e);
140
+ return O(e);
141
141
  r("update:model-value", e);
142
142
  }
143
143
  const I = s({
144
144
  get: () => t.modelValue,
145
- set: (e) => U(e)
146
- }), L = s(() => (!!t.label || !!t.hint) && (m.value || !!D.value || !!t.placeholder || ["date", "month", "week"].includes(t.type))), O = s(() => !!t.label || !!t.hint);
147
- function j() {
148
- return !!$["right-icon"] || b.value || !!$["valid-button"] || t.validButton || !!t.rightIcon;
145
+ set: (e) => R(e)
146
+ }), j = s(() => (!!t.label || !!t.hint) && (m.value || !!D.value || !!t.placeholder || ["date", "month", "week"].includes(t.type))), U = s(() => !!t.label || !!t.hint);
147
+ function L() {
148
+ return !!T["right-icon"] || b.value || !!T["valid-button"] || t.validButton || !!t.rightIcon;
149
149
  }
150
150
  function H() {
151
- return !!$["left-icon"] || !!t.leftIcon;
151
+ return !!T["left-icon"] || !!t.leftIcon;
152
152
  }
153
153
  function Y(e) {
154
154
  r("focus", e), m.value = !0;
@@ -159,14 +159,14 @@ const me = {
159
159
  function J(e) {
160
160
  return r("change", e);
161
161
  }
162
- return (e, c) => (u(), z(
162
+ return (e, c) => (u(), g(
163
163
  "div",
164
164
  {
165
- class: C(["m-input", [
165
+ class: $(["m-input", [
166
166
  {
167
167
  "--is-focused": m.value || e.borderActive,
168
- "--should-up": L.value,
169
- "--has-label": O.value,
168
+ "--should-up": j.value,
169
+ "--has-label": U.value,
170
170
  "--is-disabled": e.disabled,
171
171
  "--is-readonly": e.readonly,
172
172
  "--has-z-2": e.error || e.warning || e.success,
@@ -180,38 +180,38 @@ const me = {
180
180
  style: X(e.style)
181
181
  },
182
182
  [
183
- g(
183
+ z(
184
184
  "div",
185
185
  {
186
- class: C(["m-input-wrapper", [
186
+ class: $(["m-input-wrapper", [
187
187
  e.inputClasses,
188
188
  q.value,
189
189
  e.roundedSize ? `--rounded-${e.roundedSize}` : { "maz-rounded": !e.noRadius }
190
190
  ]])
191
191
  },
192
192
  [
193
- H() ? (u(), z("div", me, [
193
+ H() ? (u(), g("div", me, [
194
194
  i(`
195
195
  @slot left-icon - The icon to display on the left of the input
196
196
  `),
197
- e.$slots["left-icon"] || e.leftIcon ? N(e.$slots, "left-icon", { key: 0 }, () => [
197
+ e.$slots["left-icon"] || e.leftIcon ? F(e.$slots, "left-icon", { key: 0 }, () => [
198
198
  typeof e.leftIcon == "string" ? (u(), p(f(w), {
199
199
  key: 0,
200
200
  name: e.leftIcon,
201
201
  class: "maz-text-xl maz-text-muted"
202
- }, null, 8, ["name"])) : e.leftIcon ? (u(), p(E(e.leftIcon), {
202
+ }, null, 8, ["name"])) : e.leftIcon ? (u(), p(S(e.leftIcon), {
203
203
  key: 1,
204
204
  class: "maz-text-xl maz-text-muted"
205
205
  })) : i("v-if", !0)
206
206
  ], !0) : i("v-if", !0)
207
207
  ])) : i("v-if", !0),
208
- g("div", fe, [
209
- Z(g("input", x({
208
+ z("div", fe, [
209
+ Z(z("input", x({
210
210
  id: f(o),
211
211
  ref_key: "input",
212
212
  ref: n,
213
213
  "onUpdate:modelValue": c[0] || (c[0] = (B) => I.value = B),
214
- type: S.value,
214
+ type: M.value,
215
215
  name: e.name
216
216
  }, e.$attrs, {
217
217
  inputmode: e.inputmode,
@@ -230,11 +230,11 @@ const me = {
230
230
  }), null, 16, pe), [
231
231
  [ee, I.value]
232
232
  ]),
233
- e.label || e.hint ? (u(), z(
233
+ e.label || e.hint ? (u(), g(
234
234
  "span",
235
235
  {
236
236
  key: 0,
237
- class: C(["m-input-label", [
237
+ class: $(["m-input-label", [
238
238
  {
239
239
  "maz-text-danger-600": e.error,
240
240
  "maz-text-success-600": e.success,
@@ -248,22 +248,22 @@ const me = {
248
248
  1
249
249
  /* TEXT */
250
250
  ),
251
- e.required ? (u(), z("sup", ve, "*")) : i("v-if", !0)
251
+ e.required ? (u(), g("sup", ve, "*")) : i("v-if", !0)
252
252
  ],
253
253
  2
254
254
  /* CLASS */
255
255
  )) : i("v-if", !0)
256
256
  ]),
257
- j() ? (u(), z("div", ye, [
257
+ L() ? (u(), g("div", ye, [
258
258
  i(`
259
259
  @slot right-icon - The icon to display on the right of the input
260
260
  `),
261
- e.$slots["right-icon"] || e.rightIcon ? N(e.$slots, "right-icon", { key: 0 }, () => [
261
+ e.$slots["right-icon"] || e.rightIcon ? F(e.$slots, "right-icon", { key: 0 }, () => [
262
262
  typeof e.rightIcon == "string" ? (u(), p(f(w), {
263
263
  key: 0,
264
264
  name: e.rightIcon,
265
265
  class: "maz-text-xl maz-text-muted"
266
- }, null, 8, ["name"])) : e.rightIcon ? (u(), p(E(e.rightIcon), {
266
+ }, null, 8, ["name"])) : e.rightIcon ? (u(), p(S(e.rightIcon), {
267
267
  key: 1,
268
268
  class: "maz-text-xl maz-text-muted"
269
269
  })) : i("v-if", !0)
@@ -275,8 +275,8 @@ const me = {
275
275
  size: "mini",
276
276
  onClick: c[2] || (c[2] = re((B) => y.value = !y.value, ["stop"]))
277
277
  }, {
278
- default: F(() => [
279
- y.value ? (u(), p(f(T), {
278
+ default: C(() => [
279
+ y.value ? (u(), p(f(N), {
280
280
  key: 0,
281
281
  class: "maz-text-xl maz-text-muted"
282
282
  })) : (u(), p(f(k), {
@@ -290,8 +290,8 @@ const me = {
290
290
  i(`
291
291
  @slot valid-button - Replace the valid button by your own
292
292
  `),
293
- e.$slots["valid-button"] || e.validButton ? N(e.$slots, "valid-button", { key: 2 }, () => [
294
- P(f(d), {
293
+ e.$slots["valid-button"] || e.validButton ? F(e.$slots, "valid-button", { key: 2 }, () => [
294
+ E(f(d), {
295
295
  color: "transparent",
296
296
  disabled: e.disabled,
297
297
  tabindex: "-1",
@@ -300,8 +300,8 @@ const me = {
300
300
  size: "mini",
301
301
  type: "submit"
302
302
  }, {
303
- default: F(() => [
304
- P(f(v), { class: "maz-text-2xl maz-text-normal" })
303
+ default: C(() => [
304
+ E(f(v), { class: "maz-text-2xl maz-text-normal" })
305
305
  ]),
306
306
  _: 1
307
307
  /* STABLE */
@@ -322,7 +322,7 @@ const me = {
322
322
  for (const [r, d] of l)
323
323
  t[r] = d;
324
324
  return t;
325
- }, ze = /* @__PURE__ */ he(be, [["__scopeId", "data-v-e9affc48"]]), ge = /* @__PURE__ */ g(
325
+ }, ge = /* @__PURE__ */ he(be, [["__scopeId", "data-v-e9affc48"]]), ze = /* @__PURE__ */ z(
326
326
  "svg",
327
327
  {
328
328
  xmlns: "http://www.w3.org/2000/svg",
@@ -333,7 +333,7 @@ const me = {
333
333
  class: "maz-text-mute maz-ml-1 maz-h-6 maz-w-6"
334
334
  },
335
335
  [
336
- /* @__PURE__ */ g("path", {
336
+ /* @__PURE__ */ z("path", {
337
337
  "stroke-linecap": "round",
338
338
  "stroke-linejoin": "round",
339
339
  "stroke-width": "2",
@@ -342,7 +342,7 @@ const me = {
342
342
  ],
343
343
  -1
344
344
  /* HOISTED */
345
- ), ke = /* @__PURE__ */ M({
345
+ ), ke = /* @__PURE__ */ P({
346
346
  __name: "MazInputPrice",
347
347
  props: {
348
348
  modelValue: { default: void 0 },
@@ -355,11 +355,11 @@ const me = {
355
355
  },
356
356
  emits: ["update:model-value", "formatted"],
357
357
  setup(a, { emit: l }) {
358
- const t = a, r = l, d = V(!1), w = s(() => v(t.modelValue).toString()), T = s(() => {
358
+ const t = a, r = l, d = V(!1), w = s(() => v(t.modelValue).toString()), N = s(() => {
359
359
  const n = typeof t.modelValue == "string" ? Number(t.modelValue) : t.modelValue;
360
360
  return v(n);
361
361
  }), k = s(
362
- () => se(T.value, t.locale, { currency: t.currency })
362
+ () => se(N.value, t.locale, { currency: t.currency })
363
363
  );
364
364
  function v(n) {
365
365
  let o = typeof n == "string" ? Number.parseFloat(
@@ -389,7 +389,7 @@ const me = {
389
389
  }
390
390
  return ae(() => {
391
391
  m(v(t.modelValue));
392
- }), (n, o) => (u(), p(ze, {
392
+ }), (n, o) => (u(), p(ge, {
393
393
  modelValue: y.value,
394
394
  "onUpdate:modelValue": o[0] || (o[0] = (b) => y.value = b),
395
395
  class: "maz-input-price",
@@ -397,9 +397,9 @@ const me = {
397
397
  onFocus: o[1] || (o[1] = (b) => d.value = !0),
398
398
  onBlur: o[2] || (o[2] = (b) => d.value = !1)
399
399
  }, {
400
- "left-icon": F(() => [
401
- n.noIcon ? i("v-if", !0) : N(n.$slots, "left-icon", { key: 0 }, () => [
402
- ge
400
+ "left-icon": C(() => [
401
+ n.noIcon ? i("v-if", !0) : F(n.$slots, "left-icon", { key: 0 }, () => [
402
+ ze
403
403
  ])
404
404
  ]),
405
405
  _: 3