maz-ui 3.46.1-beta.4 → 3.46.1-beta.6

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 (154) hide show
  1. package/components/MazAccordion.d.ts +1 -1
  2. package/components/MazBottomSheet.mjs +1 -1
  3. package/components/MazBtn.d.ts +5 -4
  4. package/components/MazBtn.mjs +1 -1
  5. package/components/MazCard.mjs +1 -1
  6. package/components/MazCardSpotlight.d.ts +1 -1
  7. package/components/MazCarousel.mjs +1 -1
  8. package/components/MazCheckbox.mjs +61 -61
  9. package/components/MazDialog.mjs +1 -1
  10. package/components/MazDialogPromise.mjs +1 -1
  11. package/components/MazDrawer.mjs +1 -1
  12. package/components/MazDropdown.d.ts +4 -0
  13. package/components/MazDropdown.mjs +98 -93
  14. package/components/MazIcon.mjs +55 -67
  15. package/components/MazInput.mjs +1 -1
  16. package/components/MazInputNumber.mjs +1 -1
  17. package/components/MazInputPrice.mjs +1 -1
  18. package/components/MazInputTags.mjs +1 -1
  19. package/components/MazLink.mjs +1 -1
  20. package/components/MazPagination.mjs +1 -1
  21. package/components/MazPhoneNumberInput.mjs +1 -1
  22. package/components/MazPicker.mjs +1 -1
  23. package/components/MazPullToRefresh.d.ts +2 -2
  24. package/components/MazSelect.mjs +1 -1
  25. package/components/MazStepper.mjs +1 -1
  26. package/components/MazSwitch.mjs +33 -33
  27. package/components/MazTable.d.ts +33 -4
  28. package/components/MazTable.mjs +1 -1
  29. package/components/assets/MazBtn.css +1 -1
  30. package/components/assets/MazCheckbox.css +1 -1
  31. package/components/assets/MazDropdown.css +1 -1
  32. package/components/assets/MazInputNumber.css +1 -1
  33. package/components/assets/MazInputTags.css +1 -1
  34. package/components/assets/MazPagination.css +1 -1
  35. package/components/assets/MazPicker.css +1 -1
  36. package/components/assets/MazSelect.css +1 -1
  37. package/components/assets/MazSwitch.css +1 -1
  38. package/components/assets/MazTable.css +1 -1
  39. package/components/chunks/{MazBottomSheet-DQTlEDlz.mjs → MazBottomSheet-DeAah_or.mjs} +1 -1
  40. package/components/chunks/MazBtn-BV212IYv.mjs +118 -0
  41. package/components/chunks/MazBtn-BXvObcWn.mjs +118 -0
  42. package/components/chunks/MazBtn-C2dJYsnq.mjs +118 -0
  43. package/components/chunks/MazBtn-C2htID_X.mjs +118 -0
  44. package/components/chunks/MazBtn-C4xZC-A2.mjs +118 -0
  45. package/components/chunks/MazBtn-C5IbN0rp.mjs +123 -0
  46. package/components/chunks/MazBtn-CEFfMm7k.mjs +118 -0
  47. package/components/chunks/MazBtn-CESOVC-a.mjs +118 -0
  48. package/components/chunks/MazBtn-CLFly8Ie.mjs +118 -0
  49. package/components/chunks/MazBtn-CRpqDW12.mjs +118 -0
  50. package/components/chunks/MazBtn-D2H26ExI.mjs +118 -0
  51. package/components/chunks/MazBtn-y4vRRWDg.mjs +118 -0
  52. package/components/chunks/MazBtn-zMzxqcCs.mjs +126 -0
  53. package/components/chunks/{MazCard-BapktHxt.mjs → MazCard-BF-2_gZV.mjs} +1 -1
  54. package/components/chunks/{MazCarousel-DYdWCLk7.mjs → MazCarousel-DVBUt8NL.mjs} +1 -1
  55. package/components/chunks/{MazCheckbox-m1322Y67.mjs → MazCheckbox-CEfJco3U.mjs} +32 -32
  56. package/components/chunks/MazCheckbox-CeVxgVY8.mjs +146 -0
  57. package/components/chunks/{MazCheckbox-DOYkVPMK.mjs → MazCheckbox-mgtQBs4K.mjs} +32 -32
  58. package/components/chunks/{MazDialog-DbEp5ZrT.mjs → MazDialog-fn7vXgBg.mjs} +1 -1
  59. package/components/chunks/{MazDialogPromise-B2WdAwbv.mjs → MazDialogPromise-C8dpQb5k.mjs} +2 -2
  60. package/components/chunks/{MazExpandAnimation-BFyvL-vh.mjs → MazExpandAnimation-Bkw_wFTi.mjs} +1 -1
  61. package/components/chunks/{MazGallery-HtChfMa_.mjs → MazGallery-CXJsK5ve.mjs} +2 -2
  62. package/components/chunks/MazIcon-BXX3RaoN.mjs +101 -0
  63. package/components/chunks/MazIcon-BbvBov5G.mjs +106 -0
  64. package/components/chunks/MazIcon-DjMuw8Bz.mjs +101 -0
  65. package/components/chunks/MazInput-AcA93-8Q.mjs +291 -0
  66. package/components/chunks/{MazInput-fbdOvhry.mjs → MazInput-Dnwxraz4.mjs} +1 -1
  67. package/components/chunks/MazInputNumber-OY_UqCMs.mjs +593 -0
  68. package/components/chunks/{MazInputPrice-Y6lalrWq.mjs → MazInputPrice-DvVAZa12.mjs} +1 -1
  69. package/components/chunks/{MazInputTags-DVYW4SbE.mjs → MazInputTags-DKlGT2IB.mjs} +205 -240
  70. package/components/chunks/{MazLink-HJI1YmdA.mjs → MazLink-Dl9ePCGm.mjs} +1 -1
  71. package/components/chunks/MazLoadingBar-By1umvdC.mjs +32 -0
  72. package/components/chunks/MazPagination-BL9LU84U.mjs +362 -0
  73. package/components/chunks/{MazPhoneNumberInput-BbeofPj5.mjs → MazPhoneNumberInput-C7gUk5lg.mjs} +3 -3
  74. package/components/chunks/{MazPicker-BPH4sy2Q.mjs → MazPicker-Dhm3u2MN.mjs} +620 -652
  75. package/components/chunks/{MazPickerMonthSwitcher-Ca4BqrF-.mjs → MazPickerMonthSwitcher-ck8cl1-N.mjs} +1 -1
  76. package/components/chunks/{MazPickerShortcuts-Bs2RMdC_.mjs → MazPickerShortcuts-hEpUqVC-.mjs} +1 -1
  77. package/components/chunks/{MazPickerYearSwitcher-Bg_0ecwk.mjs → MazPickerYearSwitcher-CmMxOc69.mjs} +1 -1
  78. package/components/chunks/MazSelect-CGsMRdr7.mjs +568 -0
  79. package/components/chunks/{MazSelect-CUo_OXDp.mjs → MazSelect-ed445MXs.mjs} +2 -2
  80. package/components/chunks/{MazSpinner-BAHWcgal.mjs → MazSpinner-Akyx5wgU.mjs} +1 -1
  81. package/components/chunks/MazSpinner-B2dsE23u.mjs +37 -0
  82. package/components/chunks/{MazSpinner-D9K-TsT7.mjs → MazSpinner-BCOeuzTB.mjs} +1 -1
  83. package/components/chunks/MazSpinner-BakExtKd.mjs +37 -0
  84. package/components/chunks/{MazSpinner-Cl4Yy1dv.mjs → MazSpinner-C9meLNrb.mjs} +1 -1
  85. package/components/chunks/{MazSpinner-CShEq13p.mjs → MazSpinner-CKOy0M1T.mjs} +1 -1
  86. package/components/chunks/MazSpinner-CL6orjX7.mjs +37 -0
  87. package/components/chunks/{MazSpinner-2KA4ECS_.mjs → MazSpinner-CQTq0J6f.mjs} +1 -1
  88. package/components/chunks/{MazSpinner-BLp7sE5i.mjs → MazSpinner-CeZk8jA9.mjs} +1 -1
  89. package/components/chunks/MazSpinner-CqS3onAE.mjs +37 -0
  90. package/components/chunks/{MazSpinner-AyzqowuD.mjs → MazSpinner-D1zj-581.mjs} +1 -1
  91. package/components/chunks/MazSpinner-DJ2t85tY.mjs +37 -0
  92. package/components/chunks/{MazSpinner-BhFMGOGc.mjs → MazSpinner-DbaTlD5B.mjs} +1 -1
  93. package/components/chunks/MazSpinner-DgJ9tVv_.mjs +37 -0
  94. package/components/chunks/{MazSpinner-CLfp6QHS.mjs → MazSpinner-DoKvoICM.mjs} +1 -1
  95. package/components/chunks/MazSpinner-Oy4E193R.mjs +37 -0
  96. package/components/chunks/{MazStepper-BmCk5RfP.mjs → MazStepper-DRWtYHZR.mjs} +1 -1
  97. package/components/chunks/MazTable-QwG-Kh88.mjs +692 -0
  98. package/components/chunks/MazTableCell-BSNyqTSX.mjs +23 -0
  99. package/components/chunks/MazTableRow-CgubMdrX.mjs +30 -0
  100. package/components/chunks/MazTableTitle-h4dattYD.mjs +23 -0
  101. package/components/chunks/{MazTransitionExpand-D9pcEmUk.mjs → MazTransitionExpand-BvqRDM9d.mjs} +1 -1
  102. package/components/chunks/arrow-up-DjSlktWl.mjs +30 -0
  103. package/components/chunks/inject-strict-BmiaNiwC.mjs +10 -0
  104. package/components/chunks/useInstanceUniqId-DW9jO1Sz.mjs +11 -0
  105. package/css/main.css +1 -1
  106. package/modules/assets/MazBtn.css +1 -1
  107. package/modules/chunks/MazBtn-DeAZcD0R.cjs +9 -0
  108. package/modules/chunks/MazBtn-DvffpPyV.mjs +118 -0
  109. package/modules/chunks/MazIcon-BiwOZEZl.cjs +1 -0
  110. package/modules/chunks/MazIcon-D2B0umvn.mjs +101 -0
  111. package/modules/chunks/{MazSpinner-zX9CPyJB.cjs → MazSpinner-CZIYnX05.cjs} +1 -1
  112. package/modules/chunks/{MazSpinner-g6fliUmS.mjs → MazSpinner-Csgl_Uho.mjs} +1 -1
  113. package/modules/chunks/index-B6Pf_QhC.cjs +149 -0
  114. package/modules/chunks/{index-Bpj_Jr6I.mjs → index-C34aEXzu.mjs} +319 -314
  115. package/modules/index.cjs +1 -1
  116. package/modules/index.mjs +1 -1
  117. package/nuxt/index.json +1 -1
  118. package/package.json +1 -1
  119. package/types/components/MazAccordion.vue.d.ts +1 -1
  120. package/types/components/MazBtn.vue.d.ts +5 -4
  121. package/types/components/MazCardSpotlight.vue.d.ts +1 -1
  122. package/types/components/MazDropdown.vue.d.ts +4 -0
  123. package/types/components/MazPullToRefresh.vue.d.ts +2 -2
  124. package/types/components/MazTable.vue.d.ts +33 -4
  125. package/components/chunks/MazBtn-B2A4nNWi.mjs +0 -150
  126. package/components/chunks/MazBtn-BTxqbijR.mjs +0 -158
  127. package/components/chunks/MazBtn-BYAmxCNV.mjs +0 -150
  128. package/components/chunks/MazBtn-BkBaNYfi.mjs +0 -150
  129. package/components/chunks/MazBtn-BkT-9nbu.mjs +0 -150
  130. package/components/chunks/MazBtn-C6b9OPzf.mjs +0 -150
  131. package/components/chunks/MazBtn-CAioWjHE.mjs +0 -150
  132. package/components/chunks/MazBtn-CTDhJ_fQ.mjs +0 -155
  133. package/components/chunks/MazBtn-CofOhh-q.mjs +0 -150
  134. package/components/chunks/MazBtn-CwkvhgML.mjs +0 -150
  135. package/components/chunks/MazBtn-DHFCbHI5.mjs +0 -150
  136. package/components/chunks/MazBtn-DgmsRNq_.mjs +0 -150
  137. package/components/chunks/MazIcon-BDGxCy9M.mjs +0 -118
  138. package/components/chunks/MazIcon-YNJa-F5Z.mjs +0 -113
  139. package/components/chunks/MazIcon-wDqK0Xre.mjs +0 -113
  140. package/components/chunks/MazInputNumber-mu9wEfTT.mjs +0 -625
  141. package/components/chunks/MazPagination-BOUDMaJO.mjs +0 -394
  142. package/components/chunks/MazSpinner-C91Lm_Xp.mjs +0 -37
  143. package/components/chunks/MazSpinner-CCIMQLA1.mjs +0 -37
  144. package/components/chunks/MazSpinner-Ch7Qhq1M.mjs +0 -37
  145. package/components/chunks/MazSpinner-D7CMPaDb.mjs +0 -37
  146. package/components/chunks/MazSpinner-D8uk4SQh.mjs +0 -37
  147. package/components/chunks/MazSpinner-JgB1pud8.mjs +0 -37
  148. package/components/chunks/MazSpinner-mCkWhiVE.mjs +0 -37
  149. package/components/chunks/MazTable-CPfwUOOM.mjs +0 -2003
  150. package/modules/chunks/MazBtn-B5URGSZl.cjs +0 -9
  151. package/modules/chunks/MazBtn-DRuL8cjg.mjs +0 -150
  152. package/modules/chunks/MazIcon-BskR2yy9.cjs +0 -1
  153. package/modules/chunks/MazIcon-CKc-vAA8.mjs +0 -113
  154. package/modules/chunks/index-BLdtEKD5.cjs +0 -149
@@ -0,0 +1,291 @@
1
+ import { defineComponent as Q, defineAsyncComponent as d, ref as h, onMounted as W, computed as r, useSlots as X, openBlock as n, createElementBlock as f, normalizeClass as z, normalizeStyle as Y, createElementVNode as g, createCommentVNode as o, renderSlot as k, createBlock as u, unref as i, resolveDynamicComponent as C, withDirectives as Z, mergeProps as x, toHandlers as _, vModelDynamic as ee, createTextVNode as te, toDisplayString as oe, withModifiers as ne, withCtx as V, createVNode as S } from "vue";
2
+ import { u as ae } from "./useInstanceUniqId-DW9jO1Sz.mjs";
3
+ import { _ as le } from "./MazTable-QwG-Kh88.mjs";
4
+ import '../assets/MazInput.css';function re(v, y) {
5
+ let t;
6
+ return function(...l) {
7
+ clearTimeout(t), t = setTimeout(() => {
8
+ v.apply(this, l);
9
+ }, y);
10
+ };
11
+ }
12
+ const ie = {
13
+ key: 0,
14
+ class: "m-input-wrapper-left"
15
+ }, ue = { class: "m-input-wrapper-input" }, se = ["id", "type", "name", "inputmode", "placeholder", "aria-label", "disabled", "readonly", "required"], de = { key: 0 }, fe = {
16
+ key: 1,
17
+ class: "m-input-wrapper-right"
18
+ }, ce = /* @__PURE__ */ Q({
19
+ inheritAttrs: !1,
20
+ __name: "MazInput",
21
+ props: {
22
+ style: { default: void 0 },
23
+ class: { default: void 0 },
24
+ modelValue: { default: void 0 },
25
+ placeholder: { default: void 0 },
26
+ label: { default: void 0 },
27
+ name: { default: void 0 },
28
+ color: { default: "primary" },
29
+ type: { default: "text" },
30
+ required: { type: Boolean, default: !1 },
31
+ disabled: { type: Boolean, default: !1 },
32
+ readonly: { type: Boolean, default: !1 },
33
+ id: { default: void 0 },
34
+ error: { type: Boolean, default: !1 },
35
+ success: { type: Boolean, default: !1 },
36
+ warning: { type: Boolean, default: !1 },
37
+ hint: { default: void 0 },
38
+ inputClasses: { default: void 0 },
39
+ noBorder: { type: Boolean, default: !1 },
40
+ noRadius: { type: Boolean, default: !1 },
41
+ inputmode: { default: "text" },
42
+ size: { default: "md" },
43
+ debounce: { type: [Boolean, Number], default: !1 },
44
+ debounceDelay: { default: 500 },
45
+ validButton: { type: Boolean, default: !1 },
46
+ validButtonLoading: { type: Boolean, default: !1 },
47
+ autoFocus: { type: Boolean, default: !1 },
48
+ borderActive: { type: Boolean, default: !1 },
49
+ leftIcon: { type: [String, Function, Object], default: void 0 },
50
+ rightIcon: { type: [String, Function, Object], default: void 0 },
51
+ roundedSize: { default: void 0 },
52
+ block: { type: Boolean }
53
+ },
54
+ emits: ["update:model-value", "focus", "blur", "click", "change", "input"],
55
+ setup(v, { emit: y }) {
56
+ const t = v, l = y, I = d(() => import("./MazBtn-BXvObcWn.mjs")), B = d(() => import("./MazIcon-DjMuw8Bz.mjs")), M = d(() => import("./eye-slash-BoO00xzs.mjs")), q = d(() => import("./eye-f8zAUc30.mjs")), T = d(() => import("./check-C9Q_W85g.mjs")), c = h(!1), s = h(!1), w = h(), D = ae({
57
+ componentName: "MazInput",
58
+ providedId: t.id
59
+ });
60
+ W(() => {
61
+ var e;
62
+ t.autoFocus && ((e = w.value) == null || e.focus());
63
+ });
64
+ const $ = r(() => t.type === "password"), E = r(() => c.value ? "text" : t.type), N = r(() => {
65
+ if (!t.noBorder) {
66
+ if (t.error)
67
+ return "maz-border-danger";
68
+ if (t.success)
69
+ return "maz-border-success";
70
+ if (t.warning)
71
+ return "maz-border-warning";
72
+ if (s.value || t.borderActive) {
73
+ if (t.color === "black")
74
+ return "maz-border-black";
75
+ if (t.color === "danger")
76
+ return "maz-border-danger";
77
+ if (t.color === "info")
78
+ return "maz-border-info";
79
+ if (t.color === "primary")
80
+ return "maz-border-primary";
81
+ if (t.color === "secondary")
82
+ return "maz-border-secondary";
83
+ if (t.color === "success")
84
+ return "maz-border-success";
85
+ if (t.color === "warning")
86
+ return "maz-border-warning";
87
+ if (t.color === "white")
88
+ return "maz-border-white";
89
+ }
90
+ return "--default-border";
91
+ }
92
+ }), b = X(), P = r(() => {
93
+ const { required: e, placeholder: a } = t;
94
+ if (a)
95
+ return e ? `${a} *` : a;
96
+ }), A = r(() => p.value !== void 0 && p.value !== ""), F = re(
97
+ (e) => {
98
+ l("update:model-value", e);
99
+ },
100
+ typeof t.debounce == "number" ? t.debounce : t.debounceDelay ?? 500
101
+ );
102
+ function L(e) {
103
+ if (t.debounce)
104
+ return F(e);
105
+ l("update:model-value", e);
106
+ }
107
+ const p = r({
108
+ get: () => t.modelValue,
109
+ set: (e) => L(e)
110
+ }), R = r(() => (!!t.label || !!t.hint) && (s.value || !!A.value || !!t.placeholder || ["date", "month", "week"].includes(t.type))), O = r(() => !!t.label || !!t.hint);
111
+ function U() {
112
+ return !!b["right-icon"] || $.value || !!b["valid-button"] || t.validButton || !!t.rightIcon;
113
+ }
114
+ function j() {
115
+ return !!b["left-icon"] || !!t.leftIcon;
116
+ }
117
+ function H(e) {
118
+ l("focus", e), s.value = !0;
119
+ }
120
+ function G(e) {
121
+ l("blur", e), s.value = !1;
122
+ }
123
+ function J(e) {
124
+ return l("change", e);
125
+ }
126
+ function K(e) {
127
+ return l("input", e);
128
+ }
129
+ return (e, a) => (n(), f(
130
+ "div",
131
+ {
132
+ class: z(["m-input", [
133
+ {
134
+ "--is-focused": s.value || e.borderActive,
135
+ "--should-up": R.value,
136
+ "--has-label": O.value,
137
+ "--is-disabled": e.disabled,
138
+ "--is-readonly": e.readonly,
139
+ "--has-z-2": e.error || e.warning || e.success,
140
+ "--has-state": e.error || e.warning || e.success,
141
+ "--block": e.block
142
+ },
143
+ t.class,
144
+ `--${e.color}`,
145
+ `--${e.size}`
146
+ ]]),
147
+ style: Y(e.style)
148
+ },
149
+ [
150
+ g(
151
+ "div",
152
+ {
153
+ class: z(["m-input-wrapper", [
154
+ e.inputClasses,
155
+ N.value,
156
+ e.roundedSize ? `--rounded-${e.roundedSize}` : { "maz-rounded": !e.noRadius }
157
+ ]])
158
+ },
159
+ [
160
+ j() ? (n(), f("div", ie, [
161
+ o(`
162
+ @slot left-icon - The icon to display on the left of the input
163
+ `),
164
+ e.$slots["left-icon"] || e.leftIcon ? k(e.$slots, "left-icon", { key: 0 }, () => [
165
+ typeof e.leftIcon == "string" ? (n(), u(i(B), {
166
+ key: 0,
167
+ name: e.leftIcon,
168
+ class: "maz-text-xl maz-text-muted"
169
+ }, null, 8, ["name"])) : e.leftIcon ? (n(), u(C(e.leftIcon), {
170
+ key: 1,
171
+ class: "maz-text-xl maz-text-muted"
172
+ })) : o("v-if", !0)
173
+ ], !0) : o("v-if", !0)
174
+ ])) : o("v-if", !0),
175
+ g("div", ue, [
176
+ Z(g("input", x({
177
+ id: i(D),
178
+ ref_key: "input",
179
+ ref: w,
180
+ "onUpdate:modelValue": a[0] || (a[0] = (m) => p.value = m),
181
+ type: E.value,
182
+ name: e.name
183
+ }, e.$attrs, {
184
+ inputmode: e.inputmode,
185
+ placeholder: P.value,
186
+ "aria-label": e.label || e.placeholder,
187
+ disabled: e.disabled,
188
+ readonly: e.readonly,
189
+ required: e.required,
190
+ class: "m-input-input"
191
+ }, _({
192
+ blur: G,
193
+ focus: H,
194
+ change: J,
195
+ input: K
196
+ }, !0), {
197
+ onClick: a[1] || (a[1] = (m) => e.$emit("click", m))
198
+ }), null, 16, se), [
199
+ [ee, p.value]
200
+ ]),
201
+ e.label || e.hint ? (n(), f(
202
+ "span",
203
+ {
204
+ key: 0,
205
+ class: z(["m-input-label", [
206
+ {
207
+ "maz-text-danger-600": e.error,
208
+ "maz-text-success-600": e.success,
209
+ "maz-text-warning-600": e.warning
210
+ }
211
+ ]])
212
+ },
213
+ [
214
+ te(
215
+ oe(e.hint || e.label) + " ",
216
+ 1
217
+ /* TEXT */
218
+ ),
219
+ e.required ? (n(), f("sup", de, "*")) : o("v-if", !0)
220
+ ],
221
+ 2
222
+ /* CLASS */
223
+ )) : o("v-if", !0)
224
+ ]),
225
+ U() ? (n(), f("div", fe, [
226
+ o(`
227
+ @slot right-icon - The icon to display on the right of the input
228
+ `),
229
+ e.$slots["right-icon"] || e.rightIcon ? k(e.$slots, "right-icon", { key: 0 }, () => [
230
+ typeof e.rightIcon == "string" ? (n(), u(i(B), {
231
+ key: 0,
232
+ name: e.rightIcon,
233
+ class: "maz-text-xl maz-text-muted"
234
+ }, null, 8, ["name"])) : e.rightIcon ? (n(), u(C(e.rightIcon), {
235
+ key: 1,
236
+ class: "maz-text-xl maz-text-muted"
237
+ })) : o("v-if", !0)
238
+ ], !0) : o("v-if", !0),
239
+ $.value ? (n(), u(i(I), {
240
+ key: 1,
241
+ color: "transparent",
242
+ tabindex: "-1",
243
+ size: "mini",
244
+ onClick: a[2] || (a[2] = ne((m) => c.value = !c.value, ["stop"]))
245
+ }, {
246
+ default: V(() => [
247
+ c.value ? (n(), u(i(M), {
248
+ key: 0,
249
+ class: "maz-text-xl maz-text-muted"
250
+ })) : (n(), u(i(q), {
251
+ key: 1,
252
+ class: "maz-text-xl maz-text-muted"
253
+ }))
254
+ ]),
255
+ _: 1
256
+ /* STABLE */
257
+ })) : o("v-if", !0),
258
+ o(`
259
+ @slot valid-button - Replace the valid button by your own
260
+ `),
261
+ e.$slots["valid-button"] || e.validButton ? k(e.$slots, "valid-button", { key: 2 }, () => [
262
+ S(i(I), {
263
+ color: "transparent",
264
+ disabled: e.disabled,
265
+ tabindex: "-1",
266
+ loading: e.validButtonLoading,
267
+ class: "m-input-valid-button",
268
+ size: "mini",
269
+ type: "submit"
270
+ }, {
271
+ default: V(() => [
272
+ S(i(T), { class: "maz-text-2xl maz-text-normal" })
273
+ ]),
274
+ _: 1
275
+ /* STABLE */
276
+ }, 8, ["disabled", "loading"])
277
+ ], !0) : o("v-if", !0)
278
+ ])) : o("v-if", !0)
279
+ ],
280
+ 2
281
+ /* CLASS */
282
+ )
283
+ ],
284
+ 6
285
+ /* CLASS, STYLE */
286
+ ));
287
+ }
288
+ }), ye = /* @__PURE__ */ le(ce, [["__scopeId", "data-v-b3e1e126"]]);
289
+ export {
290
+ ye as default
291
+ };
@@ -58,7 +58,7 @@ const ie = {
58
58
  },
59
59
  emits: ["update:model-value", "focus", "blur", "click", "change", "input"],
60
60
  setup(i, { emit: u }) {
61
- const t = i, a = u, m = f(() => import("./MazBtn-BkT-9nbu.mjs")), B = f(() => import("./MazIcon-BDGxCy9M.mjs")), M = f(() => import("./eye-slash-BoO00xzs.mjs")), q = f(() => import("./eye-f8zAUc30.mjs")), T = f(() => import("./check-BmubdHc_.mjs")), v = z(!1), c = z(!1), w = z(), D = le({
61
+ const t = i, a = u, m = f(() => import("./MazBtn-C4xZC-A2.mjs")), B = f(() => import("./MazIcon-BbvBov5G.mjs")), M = f(() => import("./eye-slash-BoO00xzs.mjs")), q = f(() => import("./eye-f8zAUc30.mjs")), T = f(() => import("./check-BmubdHc_.mjs")), v = z(!1), c = z(!1), w = z(), D = le({
62
62
  componentName: "MazInput",
63
63
  providedId: t.id
64
64
  });