maz-ui 3.29.8 → 3.29.9
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/MazDropdown.mjs +8 -8
- package/components/MazInputTags.mjs +1 -1
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker.mjs +1 -1
- package/components/MazSelect.mjs +1 -1
- package/components/chunks/{MazBtn-AVguv2N0.mjs → MazBtn-53LRXHqG.mjs} +2 -2
- package/components/chunks/{MazBtn-v6ANLVfx.mjs → MazBtn-6Qy4fS76.mjs} +2 -2
- package/components/chunks/{MazBtn-oZrkoCig.mjs → MazBtn-a2H3L4X-.mjs} +2 -2
- package/components/chunks/{MazCheckbox-pXHcef3K.mjs → MazCheckbox-PlQ2eCrH.mjs} +1 -1
- package/components/chunks/{MazCheckbox-LIa1Kkf_.mjs → MazCheckbox-evyyIVTf.mjs} +1 -1
- package/components/chunks/{MazInput-BJnR_H4m.mjs → MazInput-e5D3_gAz.mjs} +2 -2
- package/components/chunks/{MazInputTags-NVpcRBJU.mjs → MazInputTags-1trLbJ_b.mjs} +2 -2
- package/components/chunks/{MazPhoneNumberInput-q0hGoLSn.mjs → MazPhoneNumberInput-hni7vR6r.mjs} +18 -18
- package/components/chunks/{MazPicker-DBOTnZbk.mjs → MazPicker-IMDA4nK7.mjs} +2 -2
- package/components/chunks/{MazPickerCalendar-flhTDFlr.mjs → MazPickerCalendar-3C1ldbAQ.mjs} +3 -3
- package/components/chunks/{MazPickerHeader-s-Vi7Luu.mjs → MazPickerHeader-QBudJAej.mjs} +1 -1
- package/components/chunks/{MazPickerMonthSwitcher-3XcYjNB4.mjs → MazPickerMonthSwitcher-2mlwm_sy.mjs} +2 -2
- package/components/chunks/{MazPickerShortcuts-7wPe2QOq.mjs → MazPickerShortcuts-hnQaMnCh.mjs} +2 -2
- package/components/chunks/{MazPickerTime-BnE9Z2o_.mjs → MazPickerTime-zIrih3iA.mjs} +2 -2
- package/components/chunks/{MazPickerYearSwitcher-QcFW_c-2.mjs → MazPickerYearSwitcher-34tg1AiO.mjs} +20 -20
- package/components/chunks/{MazSelect-QrKXhl1v.mjs → MazSelect-uPnYPaw3.mjs} +67 -67
- package/components/chunks/{MazSpinner-4_WO_1Z6.mjs → MazSpinner-F_8NKQg8.mjs} +1 -1
- package/components/chunks/{MazSpinner-h3lv3B1K.mjs → MazSpinner-QJyvqwn0.mjs} +1 -1
- package/components/chunks/{MazSpinner-LxBYTKQI.mjs → MazSpinner-evvsbLeh.mjs} +1 -1
- package/components/chunks/{MazSpinner-U4RTXx9S.mjs → MazSpinner-eyrwMhzr.mjs} +1 -1
- package/modules/chunks/{MazBtn-Z68Qcz6H.cjs → MazBtn-TtLoDMyx.cjs} +1 -1
- package/modules/chunks/{MazBtn-eRGPCIkP.mjs → MazBtn-iaACuR2x.mjs} +2 -2
- package/modules/chunks/{MazIcon-n2dbTC_m.mjs → MazIcon-8_Ro2bgD.mjs} +1 -1
- package/modules/chunks/{MazIcon-EGO90M9q.cjs → MazIcon-oKvNopej.cjs} +1 -1
- package/modules/chunks/{MazSpinner-LHVLe0o9.cjs → MazSpinner-34BW11Li.cjs} +1 -1
- package/modules/chunks/{MazSpinner-fLKVj1GO.mjs → MazSpinner-pWdFKhN9.mjs} +1 -1
- package/modules/chunks/index-3CdkOv4V.cjs +124 -0
- package/modules/chunks/{index-Pm6B35Ts.mjs → index-ncP2_Adf.mjs} +3 -3
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +1 -1
- package/nuxt/index.json +1 -1
- package/nuxt/index.mjs +2 -10
- package/package.json +15 -14
- package/modules/chunks/index-xH0NYpR0.cjs +0 -124
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./assets/MazDropdown.css";
|
|
2
|
-
import { computed as K, defineComponent as P, defineAsyncComponent as M, getCurrentInstance as G, ref as B, watch as E, openBlock as p, createElementBlock as
|
|
2
|
+
import { computed as K, defineComponent as P, defineAsyncComponent as M, getCurrentInstance as G, ref as B, watch as E, openBlock as p, createElementBlock as h, unref as u, normalizeClass as v, normalizeStyle as J, createElementVNode as b, withModifiers as A, createCommentVNode as c, toDisplayString as $, renderSlot as w, createVNode as O, mergeProps as Q, withCtx as k, createBlock as I, Transition as W, withDirectives as X, Fragment as S, renderList as Y, resolveDynamicComponent as Z, createTextVNode as x, vShow as _ } from "vue";
|
|
3
3
|
const ee = ({
|
|
4
4
|
componentName: f,
|
|
5
5
|
instance: i,
|
|
@@ -13,7 +13,7 @@ function oe(f, i) {
|
|
|
13
13
|
}, i);
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
|
-
const ne = ["id"], te = ["aria-expanded"
|
|
16
|
+
const ne = ["id"], te = ["aria-expanded"], le = { class: "maz-sr-only" }, re = { class: "maz-flex maz-items-center maz-gap-2" }, ae = /* @__PURE__ */ P({
|
|
17
17
|
inheritAttrs: !1,
|
|
18
18
|
__name: "MazDropdown",
|
|
19
19
|
props: {
|
|
@@ -100,7 +100,7 @@ const ne = ["id"], te = ["aria-expanded", "onClick"], le = { class: "maz-sr-only
|
|
|
100
100
|
), E(
|
|
101
101
|
() => l.open,
|
|
102
102
|
(e) => s(e)
|
|
103
|
-
), (e, n) => (p(),
|
|
103
|
+
), (e, n) => (p(), h("div", {
|
|
104
104
|
id: u(D),
|
|
105
105
|
class: v(["m-dropdown", [l.class]]),
|
|
106
106
|
style: J(e.style)
|
|
@@ -135,7 +135,7 @@ const ne = ["id"], te = ["aria-expanded", "onClick"], le = { class: "maz-sr-only
|
|
|
135
135
|
color: e.color,
|
|
136
136
|
disabled: e.disabled
|
|
137
137
|
}, e.$attrs, { tabindex: "-1" }), {
|
|
138
|
-
default:
|
|
138
|
+
default: k(() => [
|
|
139
139
|
b("span", re, [
|
|
140
140
|
c(" @slot Button text "),
|
|
141
141
|
w(e.$slots, "default"),
|
|
@@ -155,7 +155,7 @@ const ne = ["id"], te = ["aria-expanded", "onClick"], le = { class: "maz-sr-only
|
|
|
155
155
|
name: "maz-scale-fade",
|
|
156
156
|
persisted: ""
|
|
157
157
|
}, {
|
|
158
|
-
default:
|
|
158
|
+
default: k(() => [
|
|
159
159
|
X(b(
|
|
160
160
|
"div",
|
|
161
161
|
{
|
|
@@ -174,10 +174,10 @@ const ne = ["id"], te = ["aria-expanded", "onClick"], le = { class: "maz-sr-only
|
|
|
174
174
|
onMouseleave: n[3] || (n[3] = (o) => ["hover", "both"].includes(e.trigger) ? u(a)(!1) : void 0)
|
|
175
175
|
},
|
|
176
176
|
[
|
|
177
|
-
(p(!0),
|
|
177
|
+
(p(!0), h(
|
|
178
178
|
S,
|
|
179
179
|
null,
|
|
180
|
-
Y(e.items, (o, m) => (p(),
|
|
180
|
+
Y(e.items, (o, m) => (p(), h(
|
|
181
181
|
S,
|
|
182
182
|
null,
|
|
183
183
|
[
|
|
@@ -201,7 +201,7 @@ const ne = ["id"], te = ["aria-expanded", "onClick"], le = { class: "maz-sr-only
|
|
|
201
201
|
to: o.to,
|
|
202
202
|
onClick: A((R) => o.action ? j(o, R) : g(), ["stop"])
|
|
203
203
|
}, {
|
|
204
|
-
default:
|
|
204
|
+
default: k(() => [
|
|
205
205
|
c(`
|
|
206
206
|
@slot Custom menu item label
|
|
207
207
|
@binding {Object} item - menu item
|
package/components/MazPicker.mjs
CHANGED
package/components/MazSelect.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../assets/MazBtn.css";
|
|
2
2
|
import { defineComponent as M, defineAsyncComponent as z, useAttrs as E, useSlots as L, onBeforeMount as R, computed as t, openBlock as o, createBlock as i, resolveDynamicComponent as w, normalizeClass as u, withCtx as A, createElementBlock as v, renderSlot as r, unref as d, createCommentVNode as a, createElementVNode as D } from "vue";
|
|
3
|
-
import { _ as N } from "./
|
|
3
|
+
import { _ as N } from "./MazPicker-IMDA4nK7.mjs";
|
|
4
4
|
const P = /* @__PURE__ */ M({
|
|
5
5
|
__name: "MazBtn",
|
|
6
6
|
props: {
|
|
@@ -40,7 +40,7 @@ const P = /* @__PURE__ */ M({
|
|
|
40
40
|
noElevation: { type: Boolean, default: !1 }
|
|
41
41
|
},
|
|
42
42
|
setup(e) {
|
|
43
|
-
const p = z(() => import("./MazSpinner-
|
|
43
|
+
const p = z(() => import("./MazSpinner-QJyvqwn0.mjs")), c = z(() => import("./MazIcon-RrJDzX3V.mjs")), { href: B, to: h } = E(), b = L(), n = e;
|
|
44
44
|
R(() => {
|
|
45
45
|
n.icon && !n.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
|
|
46
46
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../assets/MazBtn.css";
|
|
2
2
|
import { defineComponent as M, defineAsyncComponent as z, useAttrs as E, useSlots as L, onBeforeMount as R, computed as t, openBlock as o, createBlock as i, resolveDynamicComponent as w, normalizeClass as u, withCtx as A, createElementBlock as v, renderSlot as r, unref as d, createCommentVNode as a, createElementVNode as D } from "vue";
|
|
3
|
-
import { _ as N } from "./
|
|
3
|
+
import { _ as N } from "./MazSelect-uPnYPaw3.mjs";
|
|
4
4
|
const P = /* @__PURE__ */ M({
|
|
5
5
|
__name: "MazBtn",
|
|
6
6
|
props: {
|
|
@@ -40,7 +40,7 @@ const P = /* @__PURE__ */ M({
|
|
|
40
40
|
noElevation: { type: Boolean, default: !1 }
|
|
41
41
|
},
|
|
42
42
|
setup(e) {
|
|
43
|
-
const p = z(() => import("./MazSpinner-
|
|
43
|
+
const p = z(() => import("./MazSpinner-eyrwMhzr.mjs")), c = z(() => import("./MazIcon-RrJDzX3V.mjs")), { href: B, to: h } = E(), b = L(), n = e;
|
|
44
44
|
R(() => {
|
|
45
45
|
n.icon && !n.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
|
|
46
46
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../assets/MazBtn.css";
|
|
2
2
|
import { defineComponent as M, defineAsyncComponent as z, useAttrs as E, useSlots as L, onBeforeMount as R, computed as t, openBlock as o, createBlock as i, resolveDynamicComponent as w, normalizeClass as u, withCtx as A, createElementBlock as v, renderSlot as r, unref as d, createCommentVNode as a, createElementVNode as D } from "vue";
|
|
3
|
-
import { _ as N } from "./MazPhoneNumberInput-
|
|
3
|
+
import { _ as N } from "./MazPhoneNumberInput-hni7vR6r.mjs";
|
|
4
4
|
const P = /* @__PURE__ */ M({
|
|
5
5
|
__name: "MazBtn",
|
|
6
6
|
props: {
|
|
@@ -40,7 +40,7 @@ const P = /* @__PURE__ */ M({
|
|
|
40
40
|
noElevation: { type: Boolean, default: !1 }
|
|
41
41
|
},
|
|
42
42
|
setup(e) {
|
|
43
|
-
const p = z(() => import("./MazSpinner-
|
|
43
|
+
const p = z(() => import("./MazSpinner-evvsbLeh.mjs")), c = z(() => import("./MazIcon-RrJDzX3V.mjs")), { href: B, to: h } = E(), b = L(), n = e;
|
|
44
44
|
R(() => {
|
|
45
45
|
n.icon && !n.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
|
|
46
46
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../assets/MazCheckbox.css";
|
|
2
2
|
import { defineComponent as g, useCssVars as S, getCurrentInstance as C, computed as l, openBlock as I, createElementBlock as A, unref as c, normalizeClass as m, normalizeStyle as w, createElementVNode as f, mergeProps as B, createVNode as N, renderSlot as M } from "vue";
|
|
3
|
-
import { u as j, _ as E } from "./MazSelect-
|
|
3
|
+
import { u as j, _ as E } from "./MazSelect-uPnYPaw3.mjs";
|
|
4
4
|
import O from "./check-_5Up9njX.mjs";
|
|
5
5
|
const _ = ["for", "aria-checked"], q = ["id", "checked", "disabled", "name"], D = /* @__PURE__ */ g({
|
|
6
6
|
inheritAttrs: !1,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../assets/MazCheckbox.css";
|
|
2
2
|
import { defineComponent as g, useCssVars as S, getCurrentInstance as C, computed as l, openBlock as I, createElementBlock as A, unref as c, normalizeClass as m, normalizeStyle as w, createElementVNode as f, mergeProps as B, createVNode as N, renderSlot as M } from "vue";
|
|
3
|
-
import { u as j, _ as E } from "./MazPhoneNumberInput-
|
|
3
|
+
import { u as j, _ as E } from "./MazPhoneNumberInput-hni7vR6r.mjs";
|
|
4
4
|
import O from "./check-_5Up9njX.mjs";
|
|
5
5
|
const _ = ["for", "aria-checked"], q = ["id", "checked", "disabled", "name"], D = /* @__PURE__ */ g({
|
|
6
6
|
inheritAttrs: !1,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../assets/MazInput.css";
|
|
2
2
|
import { computed as n, defineComponent as J, defineAsyncComponent as c, ref as p, getCurrentInstance as K, onMounted as Q, useSlots as W, openBlock as o, createElementBlock as m, normalizeClass as h, normalizeStyle as X, createElementVNode as z, renderSlot as B, createVNode as b, unref as r, createCommentVNode as i, withDirectives as Y, mergeProps as Z, toHandlers as _, vModelDynamic as ee, createTextVNode as te, toDisplayString as ae, createBlock as w, withModifiers as le, withCtx as V } from "vue";
|
|
3
3
|
import { d as ne } from "./debounce-fEgGlH7P.mjs";
|
|
4
|
-
import { _ as oe } from "./MazPicker-
|
|
4
|
+
import { _ as oe } from "./MazPicker-IMDA4nK7.mjs";
|
|
5
5
|
const re = ({
|
|
6
6
|
componentName: e,
|
|
7
7
|
instance: d,
|
|
@@ -79,7 +79,7 @@ const re = ({
|
|
|
79
79
|
},
|
|
80
80
|
emits: ["focus", "blur", "update:model-value", "click", "change", "update"],
|
|
81
81
|
setup(e, { emit: d }) {
|
|
82
|
-
const f = c(() => import("./MazBtn-
|
|
82
|
+
const f = c(() => import("./MazBtn-53LRXHqG.mjs")), k = c(() => import("./MazIcon-RrJDzX3V.mjs")), $ = c(() => import("./eye-slash-UoWe3WK1.mjs")), C = c(() => import("./eye-3jm1b22X.mjs")), M = c(() => import("./check-JxWJRZYz.mjs")), t = e, u = d, y = p(!1), s = p(!1), x = p(), q = K(), A = re({
|
|
83
83
|
componentName: "MazInput",
|
|
84
84
|
instance: q,
|
|
85
85
|
providedId: t.id
|
|
@@ -320,7 +320,7 @@ const ve = ({
|
|
|
320
320
|
noElevation: { type: Boolean, default: !1 }
|
|
321
321
|
},
|
|
322
322
|
setup(e) {
|
|
323
|
-
const c = S(() => import("./MazSpinner-
|
|
323
|
+
const c = S(() => import("./MazSpinner-F_8NKQg8.mjs")), a = S(() => import("./MazIcon-RrJDzX3V.mjs")), { href: v, to: f } = ie(), h = E(), n = e;
|
|
324
324
|
ue(() => {
|
|
325
325
|
n.icon && !n.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
|
|
326
326
|
});
|
|
@@ -598,7 +598,7 @@ const Ve = { render: $e }, Ce = /* @__PURE__ */ L({
|
|
|
598
598
|
q(n, ["enter"]),
|
|
599
599
|
q(p, ["delete"])
|
|
600
600
|
]
|
|
601
|
-
}), null, 16, ["modelValue", "placeholder", "label", "aria-label", "error", "disabled", "color", "size"
|
|
601
|
+
}), null, 16, ["modelValue", "placeholder", "label", "aria-label", "error", "disabled", "color", "size"])
|
|
602
602
|
],
|
|
603
603
|
38
|
|
604
604
|
/* CLASS, STYLE, NEED_HYDRATION */
|
package/components/chunks/{MazPhoneNumberInput-q0hGoLSn.mjs → MazPhoneNumberInput-hni7vR6r.mjs}
RENAMED
|
@@ -225,7 +225,7 @@ const st = {
|
|
|
225
225
|
},
|
|
226
226
|
emits: ["focus", "blur", "update:model-value", "click", "change", "update"],
|
|
227
227
|
setup(e, { emit: u }) {
|
|
228
|
-
const n = U(() => import("./MazBtn-
|
|
228
|
+
const n = U(() => import("./MazBtn-a2H3L4X-.mjs")), A = U(() => import("./MazIcon-RrJDzX3V.mjs")), x = U(() => import("./eye-slash-UoWe3WK1.mjs")), R = U(() => import("./eye-3jm1b22X.mjs")), E = U(() => import("./check-_5Up9njX.mjs")), o = e, C = u, I = y(!1), m = y(!1), c = y(), oe = Ie(), le = Ae({
|
|
229
229
|
componentName: "MazInput",
|
|
230
230
|
instance: oe,
|
|
231
231
|
providedId: o.id
|
|
@@ -430,15 +430,15 @@ let ze = null;
|
|
|
430
430
|
function vt(e, u) {
|
|
431
431
|
ze && clearTimeout(ze), ze = setTimeout(e, u);
|
|
432
432
|
}
|
|
433
|
-
const pt =
|
|
433
|
+
const pt = {
|
|
434
434
|
key: 0,
|
|
435
435
|
tabindex: "-1",
|
|
436
436
|
class: "m-select-list__search-wrapper"
|
|
437
|
-
},
|
|
437
|
+
}, ht = { class: "m-select-list__no-results" }, bt = {
|
|
438
438
|
key: 2,
|
|
439
439
|
class: "m-select-list__scroll-wrapper",
|
|
440
440
|
tabindex: "-1"
|
|
441
|
-
},
|
|
441
|
+
}, gt = ["onClick"], zt = /* @__PURE__ */ xe({
|
|
442
442
|
inheritAttrs: !1,
|
|
443
443
|
__name: "MazSelect",
|
|
444
444
|
props: {
|
|
@@ -508,7 +508,7 @@ const pt = ["onClick"], ht = {
|
|
|
508
508
|
"6c56f7b7": oe.value,
|
|
509
509
|
99876842: le.value
|
|
510
510
|
}));
|
|
511
|
-
const n = U(() => import("./MazCheckbox-
|
|
511
|
+
const n = U(() => import("./MazCheckbox-evyyIVTf.mjs")), A = U(() => import("./magnifying-glass-ebhrla2J.mjs")), x = U(() => import("./chevron-down-bC0s_0yH.mjs")), R = U(() => import("./no-symbol-JnXtUaU-.mjs")), E = Ie(), o = e, C = u, I = y(!1), m = y(), c = f(
|
|
512
512
|
() => ["black", "transparent", "white"].includes(o.color)
|
|
513
513
|
), oe = f(
|
|
514
514
|
() => c.value ? "var(--maz-color-black)" : `var(--maz-color-${o.color}-800)`
|
|
@@ -677,11 +677,11 @@ const pt = ["onClick"], ht = {
|
|
|
677
677
|
onClick: re(pe, ["stop"])
|
|
678
678
|
}, [
|
|
679
679
|
L(g(x), { class: "m-select-chevron maz-text-xl" })
|
|
680
|
-
]
|
|
680
|
+
])
|
|
681
681
|
]),
|
|
682
682
|
_: 1
|
|
683
683
|
/* STABLE */
|
|
684
|
-
}, 16, ["id", "required", "border-active", "color", "model-value", "size", "disabled"
|
|
684
|
+
}, 16, ["id", "required", "border-active", "color", "model-value", "size", "disabled"]),
|
|
685
685
|
L(Oe, { name: T.value }, {
|
|
686
686
|
default: te(() => [
|
|
687
687
|
B.value ? (p(), z(
|
|
@@ -702,7 +702,7 @@ const pt = ["onClick"], ht = {
|
|
|
702
702
|
})
|
|
703
703
|
},
|
|
704
704
|
[
|
|
705
|
-
e.search ? (p(), z("div",
|
|
705
|
+
e.search ? (p(), z("div", pt, [
|
|
706
706
|
L(we, {
|
|
707
707
|
ref_key: "searchInputComponent",
|
|
708
708
|
ref: K,
|
|
@@ -731,10 +731,10 @@ const pt = ["onClick"], ht = {
|
|
|
731
731
|
@slot No results slot - Displayed when no results corresponding with seeach query
|
|
732
732
|
`),
|
|
733
733
|
!s.value || s.value.length <= 0 ? X(a.$slots, "no-results", { key: 1 }, () => [
|
|
734
|
-
q("span",
|
|
734
|
+
q("span", ht, [
|
|
735
735
|
L(g(R), { class: "maz-h-6 maz-w-6 maz-text-normal" })
|
|
736
736
|
])
|
|
737
|
-
], !0) : (p(), z("div",
|
|
737
|
+
], !0) : (p(), z("div", bt, [
|
|
738
738
|
(p(!0), z(
|
|
739
739
|
Ue,
|
|
740
740
|
null,
|
|
@@ -776,7 +776,7 @@ const pt = ["onClick"], ht = {
|
|
|
776
776
|
/* TEXT */
|
|
777
777
|
)
|
|
778
778
|
], !0)
|
|
779
|
-
], 14,
|
|
779
|
+
], 14, gt))),
|
|
780
780
|
128
|
|
781
781
|
/* KEYED_FRAGMENT */
|
|
782
782
|
))
|
|
@@ -794,10 +794,10 @@ const pt = ["onClick"], ht = {
|
|
|
794
794
|
/* CLASS, STYLE, NEED_HYDRATION */
|
|
795
795
|
));
|
|
796
796
|
}
|
|
797
|
-
}),
|
|
797
|
+
}), Ct = /* @__PURE__ */ Pe(zt, [["__scopeId", "data-v-8f4d312d"]]), St = ["id"], Vt = {
|
|
798
798
|
key: 0,
|
|
799
799
|
class: "maz-text-lg"
|
|
800
|
-
},
|
|
800
|
+
}, wt = /* @__PURE__ */ xe({
|
|
801
801
|
inheritAttrs: !1,
|
|
802
802
|
__name: "MazPhoneNumberInput",
|
|
803
803
|
props: {
|
|
@@ -1117,7 +1117,7 @@ const pt = ["onClick"], ht = {
|
|
|
1117
1117
|
)
|
|
1118
1118
|
], !0)
|
|
1119
1119
|
])) : h("v-if", !0),
|
|
1120
|
-
e.noCountrySelector ? h("v-if", !0) : (p(), ue(
|
|
1120
|
+
e.noCountrySelector ? h("v-if", !0) : (p(), ue(Ct, {
|
|
1121
1121
|
key: 1,
|
|
1122
1122
|
ref_key: "CountrySelector",
|
|
1123
1123
|
ref: B,
|
|
@@ -1153,7 +1153,7 @@ const pt = ["onClick"], ht = {
|
|
|
1153
1153
|
}])
|
|
1154
1154
|
},
|
|
1155
1155
|
[
|
|
1156
|
-
!e.noFlags && typeof k.iso2 == "string" ? (p(), z("span",
|
|
1156
|
+
!e.noFlags && typeof k.iso2 == "string" ? (p(), z("span", Vt, [
|
|
1157
1157
|
h(`
|
|
1158
1158
|
@slot Country list flag
|
|
1159
1159
|
@binding {String} country-code - country code of option - Ex: \`"FR"\`
|
|
@@ -1223,12 +1223,12 @@ const pt = ["onClick"], ht = {
|
|
|
1223
1223
|
onBlur: l[3] || (l[3] = (k) => N.value = !1),
|
|
1224
1224
|
"onUpdate:modelValue": l[4] || (l[4] = (k) => ce(k))
|
|
1225
1225
|
}), null, 16, ["id", "model-value", "label", "disabled", "color", "error", "size", "success", "class"])
|
|
1226
|
-
], 14,
|
|
1226
|
+
], 14, St);
|
|
1227
1227
|
};
|
|
1228
1228
|
}
|
|
1229
|
-
}),
|
|
1229
|
+
}), At = /* @__PURE__ */ Pe(wt, [["__scopeId", "data-v-38502e76"]]);
|
|
1230
1230
|
export {
|
|
1231
|
-
|
|
1231
|
+
At as M,
|
|
1232
1232
|
Pe as _,
|
|
1233
1233
|
Ae as u
|
|
1234
1234
|
};
|
|
@@ -640,7 +640,7 @@ const at = { class: "m-picker-container__wrapper" }, nt = /* @__PURE__ */ Me({
|
|
|
640
640
|
},
|
|
641
641
|
emits: ["update:model-value", "update:calendar-date", "close"],
|
|
642
642
|
setup(e, { emit: u }) {
|
|
643
|
-
const h = te(() => import("./MazPickerTime-
|
|
643
|
+
const h = te(() => import("./MazPickerTime-zIrih3iA.mjs")), y = te(() => import("./MazPickerHeader-QBudJAej.mjs")), $ = te(() => import("./MazPickerCalendar-3C1ldbAQ.mjs").then((b) => b.M)), t = e, k = u, M = R({
|
|
644
644
|
get: () => t.modelValue,
|
|
645
645
|
set: (b) => {
|
|
646
646
|
k("update:model-value", b);
|
|
@@ -872,7 +872,7 @@ const at = { class: "m-picker-container__wrapper" }, nt = /* @__PURE__ */ Me({
|
|
|
872
872
|
},
|
|
873
873
|
emits: ["update:model-value", "close"],
|
|
874
874
|
setup(e, { emit: u }) {
|
|
875
|
-
const h = te(() => import("./chevron-down-bC0s_0yH.mjs")), y = te(() => import("./MazInput-
|
|
875
|
+
const h = te(() => import("./chevron-down-bC0s_0yH.mjs")), y = te(() => import("./MazInput-e5D3_gAz.mjs"));
|
|
876
876
|
p.extend(We), p.extend(Fe);
|
|
877
877
|
const $ = {
|
|
878
878
|
dateStyle: "full"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../assets/MazPickerCalendar.css";
|
|
2
2
|
import { openBlock as d, createElementBlock as y, createElementVNode as N, defineComponent as P, computed as o, createVNode as k, withCtx as z, unref as $, createTextVNode as X, toDisplayString as H, useCssVars as ue, ref as O, watch as ce, TransitionGroup as me, Fragment as W, renderList as j, normalizeClass as U, createBlock as q, defineAsyncComponent as R, createCommentVNode as E, Transition as Z } from "vue";
|
|
3
|
-
import { d as D, c as Y, a as I, _ as A, g as ve, b as fe, i as w, e as ye, h as pe, j as he } from "./MazPicker-
|
|
4
|
-
import B from "./MazBtn-
|
|
3
|
+
import { d as D, c as Y, a as I, _ as A, g as ve, b as fe, i as w, e as ye, h as pe, j as he } from "./MazPicker-IMDA4nK7.mjs";
|
|
4
|
+
import B from "./MazBtn-53LRXHqG.mjs";
|
|
5
5
|
import { d as be } from "./debounce-fEgGlH7P.mjs";
|
|
6
6
|
const De = {
|
|
7
7
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -425,7 +425,7 @@ const _ = { render: Ve }, we = { class: "m-picker-calendar-switcher" }, ze = /*
|
|
|
425
425
|
},
|
|
426
426
|
emits: ["update:model-value", "update:calendar-date"],
|
|
427
427
|
setup(r, { emit: g }) {
|
|
428
|
-
const e = R(() => import("./MazPickerMonthSwitcher-
|
|
428
|
+
const e = R(() => import("./MazPickerMonthSwitcher-2mlwm_sy.mjs")), p = R(() => import("./MazPickerYearSwitcher-34tg1AiO.mjs")), n = R(() => import("./MazPickerShortcuts-hnQaMnCh.mjs")), s = r, V = g, c = O(), S = o(() => s.modelValue && typeof s.modelValue == "object"), m = o(
|
|
429
429
|
() => !s.noShortcuts && s.shortcuts.length > 0 && S.value
|
|
430
430
|
), v = O(!1), i = O(!1), C = o({
|
|
431
431
|
get: () => s.modelValue,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../assets/MazPickerHeader.css";
|
|
2
2
|
import { defineComponent as q, computed as l, ref as D, watch as j, openBlock as r, createElementBlock as o, normalizeClass as k, createVNode as d, TransitionGroup as c, withCtx as p, Fragment as y, renderList as f, toDisplayString as v, createCommentVNode as g } from "vue";
|
|
3
|
-
import { a as i, c as h, d as Z, _ as z } from "./MazPicker-
|
|
3
|
+
import { a as i, c as h, d as Z, _ as z } from "./MazPicker-IMDA4nK7.mjs";
|
|
4
4
|
const B = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "m-picker-header__date"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../assets/MazPickerMonthSwitcher.css";
|
|
2
2
|
import { defineComponent as g, computed as v, openBlock as l, createElementBlock as d, createElementVNode as m, createVNode as u, withModifiers as p, withCtx as h, unref as s, normalizeClass as f, Fragment as w, renderList as x, createBlock as D, createTextVNode as M, toDisplayString as S } from "vue";
|
|
3
|
-
import { d as C, c as n, a as c, i as k, _ as B } from "./MazPicker-
|
|
4
|
-
import z from "./MazBtn-
|
|
3
|
+
import { d as C, c as n, a as c, i as k, _ as B } from "./MazPicker-IMDA4nK7.mjs";
|
|
4
|
+
import z from "./MazBtn-53LRXHqG.mjs";
|
|
5
5
|
import { X as q } from "./x-mark-d7yqulTI.mjs";
|
|
6
6
|
const $ = { class: "maz-picker-month-switcher" }, N = { class: "maz-picker-month-switcher__header" }, V = /* @__PURE__ */ g({
|
|
7
7
|
__name: "MazPickerMonthSwitcher",
|
package/components/chunks/{MazPickerShortcuts-7wPe2QOq.mjs → MazPickerShortcuts-hnQaMnCh.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../assets/MazPickerShortcuts.css";
|
|
2
2
|
import { defineComponent as h, ref as f, watch as i, openBlock as l, createElementBlock as n, Fragment as v, renderList as y, createBlock as _, normalizeClass as k, withModifiers as S, withCtx as b, createTextVNode as z, toDisplayString as B } from "vue";
|
|
3
|
-
import g from "./MazBtn-
|
|
4
|
-
import { _ as x } from "./MazPicker-
|
|
3
|
+
import g from "./MazBtn-53LRXHqG.mjs";
|
|
4
|
+
import { _ as x } from "./MazPicker-IMDA4nK7.mjs";
|
|
5
5
|
const C = { class: "maz-picker-shortcuts" }, q = /* @__PURE__ */ h({
|
|
6
6
|
__name: "MazPickerShortcuts",
|
|
7
7
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../assets/MazPickerTime.css";
|
|
2
2
|
import { defineComponent as W, ref as x, computed as n, watch as B, nextTick as h, openBlock as d, createElementBlock as _, normalizeClass as g, Fragment as w, renderList as M, createElementVNode as b, normalizeStyle as S, createBlock as E, withModifiers as G, withCtx as J, createTextVNode as K, toDisplayString as Q } from "vue";
|
|
3
|
-
import { d as i, f as $, s as R, _ as U } from "./MazPicker-
|
|
4
|
-
import X from "./MazBtn-
|
|
3
|
+
import { d as i, f as $, s as R, _ as U } from "./MazPicker-IMDA4nK7.mjs";
|
|
4
|
+
import X from "./MazBtn-53LRXHqG.mjs";
|
|
5
5
|
const Y = { class: "m-picker-time__column__items" }, Z = /* @__PURE__ */ W({
|
|
6
6
|
__name: "MazPickerTime",
|
|
7
7
|
props: {
|
package/components/chunks/{MazPickerYearSwitcher-QcFW_c-2.mjs → MazPickerYearSwitcher-34tg1AiO.mjs}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../assets/MazPickerYearSwitcher.css";
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import { d as c, a as I, i as y, _ as N } from "./MazPicker-
|
|
4
|
-
import d from "./MazBtn-
|
|
2
|
+
import { defineComponent as C, ref as b, computed as w, openBlock as m, createElementBlock as _, createElementVNode as u, createVNode as s, withModifiers as l, withCtx as i, unref as o, Fragment as D, renderList as S, createBlock as Y, normalizeClass as B, createTextVNode as M, toDisplayString as q } from "vue";
|
|
3
|
+
import { d as c, a as I, i as y, _ as N } from "./MazPicker-IMDA4nK7.mjs";
|
|
4
|
+
import d from "./MazBtn-53LRXHqG.mjs";
|
|
5
5
|
import { X as V } from "./x-mark-d7yqulTI.mjs";
|
|
6
|
-
import { C as z } from "./MazPickerCalendar-
|
|
7
|
-
const E = { class: "maz-picker-year-switcher" }, L = { class: "maz-picker-year-switcher__header" }, P = { class: "maz-flex maz-space-x-2" }, T = { class: "maz-picker-year-switcher__main" }, X = /* @__PURE__ */
|
|
6
|
+
import { C as z } from "./MazPickerCalendar-3C1ldbAQ.mjs";
|
|
7
|
+
const E = { class: "maz-picker-year-switcher" }, L = { class: "maz-picker-year-switcher__header" }, P = { class: "maz-flex maz-space-x-2" }, T = { class: "maz-picker-year-switcher__main" }, X = /* @__PURE__ */ C({
|
|
8
8
|
__name: "MazPickerYearSwitcher",
|
|
9
9
|
props: {
|
|
10
10
|
color: { type: String, required: !0 },
|
|
@@ -12,8 +12,8 @@ const E = { class: "maz-picker-year-switcher" }, L = { class: "maz-picker-year-s
|
|
|
12
12
|
calendarDate: { type: String, required: !0 }
|
|
13
13
|
},
|
|
14
14
|
emits: ["update:calendar-date", "close"],
|
|
15
|
-
setup(n, { emit:
|
|
16
|
-
const p = n, f =
|
|
15
|
+
setup(n, { emit: v }) {
|
|
16
|
+
const p = n, f = v, t = b(p.calendarDate), k = w(() => Array.from({ length: 15 }, (a, r) => r - 7).map((a) => {
|
|
17
17
|
const r = c(t.value).get("year"), e = c(t.value).set("year", r + a);
|
|
18
18
|
return {
|
|
19
19
|
label: I(e.format(), p.locale, {
|
|
@@ -25,45 +25,45 @@ const E = { class: "maz-picker-year-switcher" }, L = { class: "maz-picker-year-s
|
|
|
25
25
|
f("update:calendar-date", c(a).format()), f("close");
|
|
26
26
|
}, x = () => {
|
|
27
27
|
t.value = c(t.value).subtract(7, "year").format();
|
|
28
|
-
},
|
|
28
|
+
}, g = () => {
|
|
29
29
|
t.value = c(t.value).add(7, "year").format();
|
|
30
30
|
};
|
|
31
31
|
return (a, r) => (m(), _("div", E, [
|
|
32
32
|
u("div", L, [
|
|
33
33
|
u("div", P, [
|
|
34
|
-
|
|
34
|
+
s(d, {
|
|
35
35
|
size: "xs",
|
|
36
36
|
color: "transparent",
|
|
37
37
|
type: "button",
|
|
38
38
|
onClick: l(x, ["stop"])
|
|
39
39
|
}, {
|
|
40
40
|
default: i(() => [
|
|
41
|
-
o(
|
|
41
|
+
s(o(z), { class: "maz-text-lg" })
|
|
42
42
|
]),
|
|
43
43
|
_: 1
|
|
44
44
|
/* STABLE */
|
|
45
|
-
}
|
|
46
|
-
|
|
45
|
+
}),
|
|
46
|
+
s(d, {
|
|
47
47
|
size: "xs",
|
|
48
48
|
color: "transparent",
|
|
49
49
|
type: "button",
|
|
50
|
-
onClick: l(
|
|
50
|
+
onClick: l(g, ["stop"])
|
|
51
51
|
}, {
|
|
52
52
|
default: i(() => [
|
|
53
|
-
o(
|
|
53
|
+
s(o(z), { class: "maz-rotate-180 maz-text-lg" })
|
|
54
54
|
]),
|
|
55
55
|
_: 1
|
|
56
56
|
/* STABLE */
|
|
57
|
-
}
|
|
57
|
+
})
|
|
58
58
|
]),
|
|
59
|
-
|
|
59
|
+
s(d, {
|
|
60
60
|
size: "xs",
|
|
61
61
|
color: "transparent",
|
|
62
62
|
type: "button",
|
|
63
63
|
onClick: r[0] || (r[0] = l((e) => a.$emit("close", e), ["stop"]))
|
|
64
64
|
}, {
|
|
65
65
|
default: i(() => [
|
|
66
|
-
o(
|
|
66
|
+
s(o(V), { class: "maz-text-lg" })
|
|
67
67
|
]),
|
|
68
68
|
_: 1
|
|
69
69
|
/* STABLE */
|
|
@@ -73,14 +73,14 @@ const E = { class: "maz-picker-year-switcher" }, L = { class: "maz-picker-year-s
|
|
|
73
73
|
(m(!0), _(
|
|
74
74
|
D,
|
|
75
75
|
null,
|
|
76
|
-
S(
|
|
76
|
+
S(k.value, (e) => (m(), Y(d, {
|
|
77
77
|
key: e.label,
|
|
78
78
|
size: "sm",
|
|
79
79
|
type: "button",
|
|
80
80
|
class: B({
|
|
81
|
-
"--is-selected":
|
|
81
|
+
"--is-selected": o(y)(e.date, n.calendarDate, "year")
|
|
82
82
|
}),
|
|
83
|
-
color:
|
|
83
|
+
color: o(y)(e.date, n.calendarDate, "year") ? n.color : "transparent",
|
|
84
84
|
onClick: l(($) => h(e.date), ["stop"])
|
|
85
85
|
}, {
|
|
86
86
|
default: i(() => [
|