maz-ui 3.47.2-beta.20 → 3.47.2-beta.21
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.
- package/components/MazChecklist.mjs +1 -1
- package/components/MazInput.d.ts +2 -0
- package/components/MazInput.mjs +1 -1
- package/components/MazInputNumber.mjs +1 -1
- package/components/MazInputPrice.mjs +1 -1
- package/components/MazInputTags.mjs +1 -1
- package/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +9 -20
- package/components/MazPhoneNumberInput/types.d.ts +2 -1
- package/components/MazPhoneNumberInput/useLibphonenumber.d.ts +8 -3
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker.mjs +1 -1
- package/components/MazSelect.mjs +1 -1
- package/components/MazTable.mjs +1 -1
- package/components/assets/MazInput.css +1 -1
- package/components/assets/MazInputNumber.css +1 -1
- package/components/assets/MazInputPrice.css +1 -1
- package/components/assets/MazInputTags.css +1 -1
- package/components/assets/MazPhoneNumberInput.css +1 -1
- package/components/assets/MazPicker.css +1 -1
- package/components/chunks/{MazBtn-Db6ai-Mv.mjs → MazBtn-4-B-zs6Y.mjs} +2 -2
- package/components/chunks/{MazBtn-B5ioqwkK.mjs → MazBtn-C6zsmGnw.mjs} +2 -2
- package/components/chunks/MazBtn-C7yEnuOD.mjs +103 -0
- package/components/chunks/{MazBtn-CElHmZjv.mjs → MazBtn-DAXwt847.mjs} +2 -2
- package/components/chunks/{MazBtn-BrfhtojY.mjs → MazBtn-DOWVQgpN.mjs} +2 -2
- package/components/chunks/{MazBtn-C4nwxs9T.mjs → MazBtn-DZaVjTvW.mjs} +2 -2
- package/components/chunks/{MazCheckbox-B5ZcWc3y.mjs → MazCheckbox-BNvSeNBP.mjs} +1 -1
- package/components/chunks/{MazCheckbox-BDPgDiU3.mjs → MazCheckbox-CCma_qyQ.mjs} +1 -1
- package/components/chunks/{MazCheckbox-BeLByOEa.mjs → MazCheckbox-eOEEACaM.mjs} +1 -1
- package/components/chunks/{MazChecklist-BurPprmw.mjs → MazChecklist-Bb_70sf5.mjs} +1 -1
- package/components/chunks/{MazIcon-CaXpmvN2.mjs → MazIcon-kLACGOa2.mjs} +1 -1
- package/components/chunks/{MazInput-BT-mbJfZ.mjs → MazInput-BM4n-byz.mjs} +18 -18
- package/components/chunks/{MazInput-BTIdtLkD.mjs → MazInput-BcutbP8N.mjs} +11 -11
- package/components/chunks/{MazInput-BfWJoPre.mjs → MazInput-C9Qh4Gt3.mjs} +10 -10
- package/components/chunks/{MazInputNumber-R0RzDeyD.mjs → MazInputNumber-DgjOMiOt.mjs} +40 -40
- package/components/chunks/{MazInputPrice-CKSdqO4X.mjs → MazInputPrice-D6fJN9yv.mjs} +41 -41
- package/components/chunks/{MazInputTags-D6jQ2-Ia.mjs → MazInputTags-DthGSyHQ.mjs} +51 -51
- package/components/chunks/{MazLoadingBar-D3pDBJSb.mjs → MazLoadingBar-C2qPjfEQ.mjs} +1 -1
- package/components/chunks/MazPhoneNumberInput-BQjByOtQ.mjs +1813 -0
- package/components/chunks/{MazPicker-CwiuW5Pv.mjs → MazPicker-BljfUneI.mjs} +11 -11
- package/components/chunks/{MazPickerMonthSwitcher-C65el7R0.mjs → MazPickerMonthSwitcher-CEVb4BXw.mjs} +1 -1
- package/components/chunks/{MazPickerShortcuts-DbrOoszH.mjs → MazPickerShortcuts-DayGMC9m.mjs} +1 -1
- package/components/chunks/{MazPickerYearSwitcher-D9lqntyR.mjs → MazPickerYearSwitcher-DC1lFIbp.mjs} +1 -1
- package/components/chunks/{MazSelect-CyWAOXo4.mjs → MazSelect-CH3JdigO.mjs} +54 -54
- package/components/chunks/{MazSelect-CbT4tFqV.mjs → MazSelect-D3KXcHJS.mjs} +3 -3
- package/components/chunks/MazSpinner-B5JChIrj.mjs +34 -0
- package/components/chunks/{MazSpinner-N-1gjTUE.mjs → MazSpinner-BBZoDxwq.mjs} +1 -1
- package/components/chunks/{MazSpinner-DYE8e9xl.mjs → MazSpinner-BIPm54-3.mjs} +1 -1
- package/components/chunks/{MazSpinner-CS1_l-tv.mjs → MazSpinner-C-ln9ldX.mjs} +1 -1
- package/components/chunks/{MazSpinner-BDda3YzZ.mjs → MazSpinner-C11EOZZd.mjs} +1 -1
- package/components/chunks/{MazSpinner-CwmaAuL1.mjs → MazSpinner-CCc9ajpj.mjs} +1 -1
- package/components/chunks/{MazSpinner-C2-JMhVh.mjs → MazSpinner-CgKOIkQQ.mjs} +1 -1
- package/components/chunks/{MazSpinner-mtv0dluJ.mjs → MazSpinner-CwdlrYSt.mjs} +1 -1
- package/components/chunks/MazSpinner-DoPIk0St.mjs +34 -0
- package/components/chunks/{MazTable-hA0HicaL.mjs → MazTable-BU3Hluiu.mjs} +1 -1
- package/components/chunks/{MazTableCell-DkCidYWY.mjs → MazTableCell-DKMZAanm.mjs} +1 -1
- package/components/chunks/{MazTableRow-BAl6Fzm8.mjs → MazTableRow-CDHpmXfw.mjs} +1 -1
- package/components/chunks/{MazTableTitle-CY_LNDOk.mjs → MazTableTitle-BSFZ84Ob.mjs} +1 -1
- package/components/chunks/examples.mobile.json-tW3aL0qI.mjs +4 -0
- package/nuxt/index.json +1 -1
- package/package.json +2 -2
- package/types/components/MazInput.vue.d.ts +2 -0
- package/types/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +9 -20
- package/types/components/MazPhoneNumberInput/types.d.ts +2 -1
- package/types/components/MazPhoneNumberInput/useLibphonenumber.d.ts +8 -3
- package/components/MazPhoneNumberInput.d.ts +0 -283
- package/components/chunks/MazBtn-D4NOcykx.mjs +0 -103
- package/components/chunks/MazPhoneNumberInput-DibUhBpk.mjs +0 -1809
- package/components/chunks/MazSpinner-DudoF-cG.mjs +0 -34
- package/components/chunks/MazSpinner-EAz0nFxC.mjs +0 -34
- package/components/chunks/examples.mobile.json-JpNGylGv.mjs +0 -4
- package/types/components/MazPhoneNumberInput.vue.d.ts +0 -283
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as
|
|
1
|
+
import { openBlock as n, createElementBlock as h, createElementVNode as E, defineComponent as q, defineAsyncComponent as T, useAttrs as ae, computed as s, createBlock as p, resolveDynamicComponent as D, normalizeClass as b, normalizeStyle as N, withCtx as P, renderSlot as V, unref as m, createCommentVNode as f, createVNode as O, useId as le, ref as S, onMounted as ne, useSlots as re, toDisplayString as U, withDirectives as se, mergeProps as G, toHandlers as ie, vModelDynamic as ue, createTextVNode as J, withModifiers as Q, TransitionGroup as de, Fragment as fe, renderList as ce, withKeys as H } from "vue";
|
|
2
2
|
import '../assets/MazInputTags.css';function K(c) {
|
|
3
3
|
return !!c;
|
|
4
4
|
}
|
|
@@ -9,8 +9,8 @@ const me = {
|
|
|
9
9
|
fill: "none",
|
|
10
10
|
viewBox: "0 0 24 24"
|
|
11
11
|
};
|
|
12
|
-
function pe(c,
|
|
13
|
-
return
|
|
12
|
+
function pe(c, l) {
|
|
13
|
+
return n(), h("svg", me, l[0] || (l[0] = [
|
|
14
14
|
E(
|
|
15
15
|
"path",
|
|
16
16
|
{
|
|
@@ -54,10 +54,10 @@ const ve = { render: pe }, be = {
|
|
|
54
54
|
justify: { default: "center" }
|
|
55
55
|
},
|
|
56
56
|
setup(c) {
|
|
57
|
-
const
|
|
58
|
-
() => (
|
|
59
|
-
), v = s(() => $.value ? "--cursor-default" : "--cursor-pointer"), I = s(() => `--is-${
|
|
60
|
-
return (t, a) => (
|
|
57
|
+
const l = c, o = T(() => import("./MazSpinner-C-ln9ldX.mjs")), d = T(() => import("./MazIcon-_hN-Kivn.mjs")), { href: B, to: k } = ae(), y = s(() => B ? "a" : k ? "router-link" : "button"), g = s(() => l.pastel ? `--${l.color}-pastel` : l.outline ? `--${l.color}-outline` : `--${l.color}`), $ = s(
|
|
58
|
+
() => (l.loading || l.disabled) && y.value === "button"
|
|
59
|
+
), v = s(() => $.value ? "--cursor-default" : "--cursor-pointer"), I = s(() => `--is-${l.variant}`), M = s(() => l.loading && l.variant === "button"), F = s(() => y.value === "button" ? l.type : void 0), z = s(() => l.size === "xl" ? "maz-text-3xl" : l.size === "lg" ? "maz-text-2xl" : l.size === "md" ? "maz-text-xl" : l.size === "sm" ? "maz-text-lg" : l.size === "xs" ? "maz-text-base" : l.size === "mini" ? "maz-text-sm" : "maz-text-xl");
|
|
60
|
+
return (t, a) => (n(), p(D(y.value), {
|
|
61
61
|
disabled: $.value || void 0,
|
|
62
62
|
class: b(["m-btn", [
|
|
63
63
|
`--${t.size}`,
|
|
@@ -82,37 +82,37 @@ const ve = { render: pe }, be = {
|
|
|
82
82
|
}, {
|
|
83
83
|
default: P(() => [
|
|
84
84
|
V(t.$slots, "left-icon", {}, () => [
|
|
85
|
-
typeof t.leftIcon == "string" ? (
|
|
85
|
+
typeof t.leftIcon == "string" ? (n(), p(m(d), {
|
|
86
86
|
key: 0,
|
|
87
87
|
name: t.leftIcon,
|
|
88
88
|
class: b([z.value])
|
|
89
|
-
}, null, 8, ["name", "class"])) : t.leftIcon ? (
|
|
89
|
+
}, null, 8, ["name", "class"])) : t.leftIcon ? (n(), p(D(t.leftIcon), {
|
|
90
90
|
key: 1,
|
|
91
91
|
class: b([z.value])
|
|
92
92
|
}, null, 8, ["class"])) : f("v-if", !0)
|
|
93
93
|
], !0),
|
|
94
94
|
V(t.$slots, "icon", {}, () => [
|
|
95
|
-
typeof t.icon == "string" ? (
|
|
95
|
+
typeof t.icon == "string" ? (n(), p(m(d), {
|
|
96
96
|
key: 0,
|
|
97
97
|
name: t.icon,
|
|
98
98
|
class: b([z.value])
|
|
99
|
-
}, null, 8, ["name", "class"])) : t.icon ? (
|
|
99
|
+
}, null, 8, ["name", "class"])) : t.icon ? (n(), p(D(t.icon), {
|
|
100
100
|
key: 1,
|
|
101
101
|
class: b([z.value])
|
|
102
102
|
}, null, 8, ["class"])) : f("v-if", !0)
|
|
103
103
|
], !0),
|
|
104
104
|
V(t.$slots, "default", {}, void 0, !0),
|
|
105
105
|
V(t.$slots, "right-icon", {}, () => [
|
|
106
|
-
typeof t.rightIcon == "string" ? (
|
|
106
|
+
typeof t.rightIcon == "string" ? (n(), p(m(d), {
|
|
107
107
|
key: 0,
|
|
108
108
|
name: t.rightIcon,
|
|
109
109
|
class: b([z.value])
|
|
110
|
-
}, null, 8, ["name", "class"])) : t.rightIcon ? (
|
|
110
|
+
}, null, 8, ["name", "class"])) : t.rightIcon ? (n(), p(D(t.rightIcon), {
|
|
111
111
|
key: 1,
|
|
112
112
|
class: b([z.value])
|
|
113
113
|
}, null, 8, ["class"])) : f("v-if", !0)
|
|
114
114
|
], !0),
|
|
115
|
-
M.value ? (
|
|
115
|
+
M.value ? (n(), h("div", be, [
|
|
116
116
|
O(m(o), {
|
|
117
117
|
size: "2em",
|
|
118
118
|
color: t.color
|
|
@@ -123,9 +123,9 @@ const ve = { render: pe }, be = {
|
|
|
123
123
|
/* FORWARDED */
|
|
124
124
|
}, 8, ["disabled", "class", "style", "type"]));
|
|
125
125
|
}
|
|
126
|
-
}), R = (c,
|
|
126
|
+
}), R = (c, l) => {
|
|
127
127
|
const o = c.__vccOpts || c;
|
|
128
|
-
for (const [d, B] of
|
|
128
|
+
for (const [d, B] of l)
|
|
129
129
|
o[d] = B;
|
|
130
130
|
return o;
|
|
131
131
|
}, W = /* @__PURE__ */ R(ye, [["__scopeId", "data-v-bee684ff"]]), ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -134,22 +134,22 @@ const ve = { render: pe }, be = {
|
|
|
134
134
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
135
135
|
function ze({
|
|
136
136
|
componentName: c,
|
|
137
|
-
providedId:
|
|
137
|
+
providedId: l
|
|
138
138
|
}) {
|
|
139
|
-
return s(() =>
|
|
139
|
+
return s(() => l ?? `${c}-${le().replace(/:/g, "")}`);
|
|
140
140
|
}
|
|
141
|
-
function he(c,
|
|
141
|
+
function he(c, l) {
|
|
142
142
|
let o;
|
|
143
143
|
return function(...d) {
|
|
144
144
|
clearTimeout(o), o = setTimeout(() => {
|
|
145
145
|
c.apply(this, d);
|
|
146
|
-
},
|
|
146
|
+
}, l);
|
|
147
147
|
};
|
|
148
148
|
}
|
|
149
149
|
const ke = ["for"], Be = {
|
|
150
150
|
key: 0,
|
|
151
151
|
class: "m-input-wrapper-left"
|
|
152
|
-
}, Ie = ["id", "
|
|
152
|
+
}, Ie = ["id", "name", "placeholder", "aria-label", "type", "inputmode", "disabled", "readonly", "autocomplete", "required"], we = { key: 0 }, $e = {
|
|
153
153
|
key: 1,
|
|
154
154
|
class: "m-input-wrapper-right"
|
|
155
155
|
}, Ce = /* @__PURE__ */ q({
|
|
@@ -188,15 +188,16 @@ const ke = ["for"], Be = {
|
|
|
188
188
|
leftIcon: { type: [String, Function, Object], default: void 0 },
|
|
189
189
|
rightIcon: { type: [String, Function, Object], default: void 0 },
|
|
190
190
|
roundedSize: { default: void 0 },
|
|
191
|
-
block: { type: Boolean }
|
|
191
|
+
block: { type: Boolean },
|
|
192
|
+
autocomplete: {}
|
|
192
193
|
},
|
|
193
194
|
emits: ["update:model-value", "focus", "blur", "click", "change", "input"],
|
|
194
|
-
setup(c, { emit:
|
|
195
|
-
const o = c, d =
|
|
195
|
+
setup(c, { emit: l }) {
|
|
196
|
+
const o = c, d = l, B = T(() => Promise.resolve().then(() => ge)), k = T(() => import("./MazIcon-_hN-Kivn.mjs")), y = T(() => import("./eye-slash-BoO00xzs.mjs")), g = T(() => import("./eye-f8zAUc30.mjs")), $ = T(() => import("./check-BmubdHc_.mjs")), v = S(!1), I = S(!1), M = S(), F = ze({
|
|
196
197
|
componentName: "MazInput",
|
|
197
198
|
providedId: o.id
|
|
198
199
|
});
|
|
199
|
-
|
|
200
|
+
ne(() => {
|
|
200
201
|
var e;
|
|
201
202
|
o.autoFocus && ((e = M.value) == null || e.focus());
|
|
202
203
|
});
|
|
@@ -265,7 +266,7 @@ const ke = ["for"], Be = {
|
|
|
265
266
|
function te(e) {
|
|
266
267
|
return d("input", e);
|
|
267
268
|
}
|
|
268
|
-
return (e, w) => (
|
|
269
|
+
return (e, w) => (n(), h(
|
|
269
270
|
"div",
|
|
270
271
|
{
|
|
271
272
|
class: b(["m-input", [
|
|
@@ -285,7 +286,7 @@ const ke = ["for"], Be = {
|
|
|
285
286
|
style: N(e.style)
|
|
286
287
|
},
|
|
287
288
|
[
|
|
288
|
-
e.topLabel ? (
|
|
289
|
+
e.topLabel ? (n(), h("label", {
|
|
289
290
|
key: 0,
|
|
290
291
|
for: m(F),
|
|
291
292
|
class: "m-input-top-label"
|
|
@@ -301,13 +302,13 @@ const ke = ["for"], Be = {
|
|
|
301
302
|
]])
|
|
302
303
|
},
|
|
303
304
|
[
|
|
304
|
-
x() ? (
|
|
305
|
+
x() ? (n(), h("div", Be, [
|
|
305
306
|
e.$slots["left-icon"] || e.leftIcon ? V(e.$slots, "left-icon", { key: 0 }, () => [
|
|
306
|
-
typeof e.leftIcon == "string" ? (
|
|
307
|
+
typeof e.leftIcon == "string" ? (n(), p(m(k), {
|
|
307
308
|
key: 0,
|
|
308
309
|
name: e.leftIcon,
|
|
309
310
|
class: "maz-text-xl maz-text-muted"
|
|
310
|
-
}, null, 8, ["name"])) : e.leftIcon ? (
|
|
311
|
+
}, null, 8, ["name"])) : e.leftIcon ? (n(), p(D(e.leftIcon), {
|
|
311
312
|
key: 1,
|
|
312
313
|
class: "maz-text-xl maz-text-muted"
|
|
313
314
|
})) : f("v-if", !0)
|
|
@@ -319,19 +320,18 @@ const ke = ["for"], Be = {
|
|
|
319
320
|
class: b(["m-input-wrapper-input", [`--${e.size}`, { "--top-label": !!e.topLabel }]])
|
|
320
321
|
},
|
|
321
322
|
[
|
|
322
|
-
se(E("input", G({
|
|
323
|
-
id: m(F),
|
|
323
|
+
se(E("input", G({ id: m(F) }, e.$attrs, {
|
|
324
324
|
ref_key: "input",
|
|
325
325
|
ref: M,
|
|
326
326
|
"onUpdate:modelValue": w[0] || (w[0] = (A) => j.value = A),
|
|
327
|
-
|
|
328
|
-
name: e.name
|
|
329
|
-
}, e.$attrs, {
|
|
330
|
-
inputmode: e.inputmode,
|
|
327
|
+
name: e.name,
|
|
331
328
|
placeholder: i.value,
|
|
332
329
|
"aria-label": e.label || e.placeholder,
|
|
330
|
+
type: t.value,
|
|
331
|
+
inputmode: e.inputmode,
|
|
333
332
|
disabled: e.disabled,
|
|
334
333
|
readonly: e.readonly,
|
|
334
|
+
autocomplete: e.autocomplete,
|
|
335
335
|
required: e.required,
|
|
336
336
|
class: "m-input-input"
|
|
337
337
|
}, ie({
|
|
@@ -344,7 +344,7 @@ const ke = ["for"], Be = {
|
|
|
344
344
|
}), null, 16, Ie), [
|
|
345
345
|
[ue, j.value]
|
|
346
346
|
]),
|
|
347
|
-
e.label || e.hint ? (
|
|
347
|
+
e.label || e.hint ? (n(), h(
|
|
348
348
|
"span",
|
|
349
349
|
{
|
|
350
350
|
key: 0,
|
|
@@ -362,7 +362,7 @@ const ke = ["for"], Be = {
|
|
|
362
362
|
1
|
|
363
363
|
/* TEXT */
|
|
364
364
|
),
|
|
365
|
-
e.required ? (
|
|
365
|
+
e.required ? (n(), h("sup", we, "*")) : f("v-if", !0)
|
|
366
366
|
],
|
|
367
367
|
2
|
|
368
368
|
/* CLASS */
|
|
@@ -371,18 +371,18 @@ const ke = ["for"], Be = {
|
|
|
371
371
|
2
|
|
372
372
|
/* CLASS */
|
|
373
373
|
),
|
|
374
|
-
Z() ? (
|
|
374
|
+
Z() ? (n(), h("div", $e, [
|
|
375
375
|
e.$slots["right-icon"] || e.rightIcon ? V(e.$slots, "right-icon", { key: 0 }, () => [
|
|
376
|
-
typeof e.rightIcon == "string" ? (
|
|
376
|
+
typeof e.rightIcon == "string" ? (n(), p(m(k), {
|
|
377
377
|
key: 0,
|
|
378
378
|
name: e.rightIcon,
|
|
379
379
|
class: "maz-text-xl maz-text-muted"
|
|
380
|
-
}, null, 8, ["name"])) : e.rightIcon ? (
|
|
380
|
+
}, null, 8, ["name"])) : e.rightIcon ? (n(), p(D(e.rightIcon), {
|
|
381
381
|
key: 1,
|
|
382
382
|
class: "maz-text-xl maz-text-muted"
|
|
383
383
|
})) : f("v-if", !0)
|
|
384
384
|
], !0) : f("v-if", !0),
|
|
385
|
-
z.value ? (
|
|
385
|
+
z.value ? (n(), p(m(B), {
|
|
386
386
|
key: 1,
|
|
387
387
|
color: "transparent",
|
|
388
388
|
tabindex: "-1",
|
|
@@ -390,10 +390,10 @@ const ke = ["for"], Be = {
|
|
|
390
390
|
onClick: w[2] || (w[2] = Q((A) => v.value = !v.value, ["stop"]))
|
|
391
391
|
}, {
|
|
392
392
|
default: P(() => [
|
|
393
|
-
v.value ? (
|
|
393
|
+
v.value ? (n(), p(m(y), {
|
|
394
394
|
key: 0,
|
|
395
395
|
class: "maz-text-xl maz-text-muted"
|
|
396
|
-
})) : (
|
|
396
|
+
})) : (n(), p(m(g), {
|
|
397
397
|
key: 1,
|
|
398
398
|
class: "maz-text-xl maz-text-muted"
|
|
399
399
|
}))
|
|
@@ -423,7 +423,7 @@ const ke = ["for"], Be = {
|
|
|
423
423
|
2
|
|
424
424
|
/* CLASS */
|
|
425
425
|
),
|
|
426
|
-
e.assistiveText ? (
|
|
426
|
+
e.assistiveText ? (n(), h(
|
|
427
427
|
"div",
|
|
428
428
|
{
|
|
429
429
|
key: 1,
|
|
@@ -445,7 +445,7 @@ const ke = ["for"], Be = {
|
|
|
445
445
|
/* CLASS, STYLE */
|
|
446
446
|
));
|
|
447
447
|
}
|
|
448
|
-
}), Se = /* @__PURE__ */ R(Ce, [["__scopeId", "data-v-
|
|
448
|
+
}), Se = /* @__PURE__ */ R(Ce, [["__scopeId", "data-v-1443c13f"]]), Te = /* @__PURE__ */ q({
|
|
449
449
|
inheritAttrs: !1,
|
|
450
450
|
__name: "MazInputTags",
|
|
451
451
|
props: {
|
|
@@ -465,8 +465,8 @@ const ke = ["for"], Be = {
|
|
|
465
465
|
hint: {}
|
|
466
466
|
},
|
|
467
467
|
emits: ["update:model-value"],
|
|
468
|
-
setup(c, { emit:
|
|
469
|
-
const o = c, d =
|
|
468
|
+
setup(c, { emit: l }) {
|
|
469
|
+
const o = c, d = l, B = S(!1), k = S(), y = S(), g = S(), $ = S(), v = s(
|
|
470
470
|
() => {
|
|
471
471
|
var a;
|
|
472
472
|
return (a = o.modelValue) == null ? void 0 : a.map((r) => ({
|
|
@@ -529,7 +529,7 @@ const ke = ["for"], Be = {
|
|
|
529
529
|
d("update:model-value", r);
|
|
530
530
|
}
|
|
531
531
|
const t = s(() => o.size === "mini" || o.size === "xs" ? "mini" : o.size === "sm" ? "xs" : o.size === "md" ? "sm" : o.size === "lg" ? "md" : o.size === "xl" ? "lg" : o.size);
|
|
532
|
-
return (a, r) => (
|
|
532
|
+
return (a, r) => (n(), h(
|
|
533
533
|
"div",
|
|
534
534
|
{
|
|
535
535
|
class: b(["m-input-tags", [M.value, `--${a.color}`, `--${a.size}`, o.class, { "--block": a.block }]]),
|
|
@@ -540,10 +540,10 @@ const ke = ["for"], Be = {
|
|
|
540
540
|
[
|
|
541
541
|
O(de, { name: "maz-tags" }, {
|
|
542
542
|
default: P(() => [
|
|
543
|
-
(
|
|
543
|
+
(n(!0), h(
|
|
544
544
|
fe,
|
|
545
545
|
null,
|
|
546
|
-
ce(v.value, ({ tag: i, id: u }, L) => (
|
|
546
|
+
ce(v.value, ({ tag: i, id: u }, L) => (n(), h("div", {
|
|
547
547
|
key: `tag-${L}`,
|
|
548
548
|
class: "m-input-tags__wrapper"
|
|
549
549
|
}, [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as n, computed as t, openBlock as i, createElementBlock as c, normalizeStyle as m, createElementVNode as d } from "vue";
|
|
2
|
-
import { _ as p } from "./MazTable-
|
|
2
|
+
import { _ as p } from "./MazTable-BU3Hluiu.mjs";
|
|
3
3
|
import '../assets/MazLoadingBar.css';const s = /* @__PURE__ */ n({
|
|
4
4
|
__name: "MazLoadingBar",
|
|
5
5
|
props: {
|