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
|
@@ -519,7 +519,7 @@ function _e(t, r) {
|
|
|
519
519
|
const wt = ["for"], $t = {
|
|
520
520
|
key: 0,
|
|
521
521
|
class: "m-input-wrapper-left"
|
|
522
|
-
}, Mt = ["id", "
|
|
522
|
+
}, Mt = ["id", "name", "placeholder", "aria-label", "type", "inputmode", "disabled", "readonly", "autocomplete", "required"], St = { key: 0 }, zt = {
|
|
523
523
|
key: 1,
|
|
524
524
|
class: "m-input-wrapper-right"
|
|
525
525
|
}, Vt = /* @__PURE__ */ ie({
|
|
@@ -558,7 +558,8 @@ const wt = ["for"], $t = {
|
|
|
558
558
|
leftIcon: { type: [String, Function, Object], default: void 0 },
|
|
559
559
|
rightIcon: { type: [String, Function, Object], default: void 0 },
|
|
560
560
|
roundedSize: { default: void 0 },
|
|
561
|
-
block: { type: Boolean }
|
|
561
|
+
block: { type: Boolean },
|
|
562
|
+
autocomplete: {}
|
|
562
563
|
},
|
|
563
564
|
emits: ["update:model-value", "focus", "blur", "click", "change", "input"],
|
|
564
565
|
setup(t, { emit: r }) {
|
|
@@ -689,19 +690,18 @@ const wt = ["for"], $t = {
|
|
|
689
690
|
class: Z(["m-input-wrapper-input", [`--${a.size}`, { "--top-label": !!a.topLabel }]])
|
|
690
691
|
},
|
|
691
692
|
[
|
|
692
|
-
Le(te("input", Fe({
|
|
693
|
-
id: J(P),
|
|
693
|
+
Le(te("input", Fe({ id: J(P) }, a.$attrs, {
|
|
694
694
|
ref_key: "input",
|
|
695
695
|
ref: T,
|
|
696
696
|
"onUpdate:modelValue": o[0] || (o[0] = (i) => v.value = i),
|
|
697
|
-
|
|
698
|
-
name: a.name
|
|
699
|
-
}, a.$attrs, {
|
|
700
|
-
inputmode: a.inputmode,
|
|
697
|
+
name: a.name,
|
|
701
698
|
placeholder: M.value,
|
|
702
699
|
"aria-label": a.label || a.placeholder,
|
|
700
|
+
type: b.value,
|
|
701
|
+
inputmode: a.inputmode,
|
|
703
702
|
disabled: a.disabled,
|
|
704
703
|
readonly: a.readonly,
|
|
704
|
+
autocomplete: a.autocomplete,
|
|
705
705
|
required: a.required,
|
|
706
706
|
class: "m-input-input"
|
|
707
707
|
}, nt({
|
|
@@ -820,7 +820,7 @@ const wt = ["for"], $t = {
|
|
|
820
820
|
for (const [s, c] of r)
|
|
821
821
|
e[s] = c;
|
|
822
822
|
return e;
|
|
823
|
-
}, Yt = /* @__PURE__ */ le(Vt, [["__scopeId", "data-v-
|
|
823
|
+
}, Yt = /* @__PURE__ */ le(Vt, [["__scopeId", "data-v-1443c13f"]]);
|
|
824
824
|
var et = { exports: {} };
|
|
825
825
|
(function(t, r) {
|
|
826
826
|
(function(e, s) {
|
|
@@ -1001,7 +1001,7 @@ const Wt = { class: "maz-picker-calendar-days" }, Et = /* @__PURE__ */ ie({
|
|
|
1001
1001
|
justify: { default: "center" }
|
|
1002
1002
|
},
|
|
1003
1003
|
setup(t) {
|
|
1004
|
-
const r = t, e = ue(() => import("./MazSpinner-
|
|
1004
|
+
const r = t, e = ue(() => import("./MazSpinner-CwdlrYSt.mjs")), s = ue(() => import("./MazIcon-_hN-Kivn.mjs")), { href: c, to: Y } = it(), k = p(() => c ? "a" : Y ? "router-link" : "button"), D = p(() => r.pastel ? `--${r.color}-pastel` : r.outline ? `--${r.color}-outline` : `--${r.color}`), S = p(
|
|
1005
1005
|
() => (r.loading || r.disabled) && k.value === "button"
|
|
1006
1006
|
), $ = p(() => S.value ? "--cursor-default" : "--cursor-pointer"), h = p(() => `--is-${r.variant}`), T = p(() => r.loading && r.variant === "button"), P = p(() => k.value === "button" ? r.type : void 0), B = p(() => r.size === "xl" ? "maz-text-3xl" : r.size === "lg" ? "maz-text-2xl" : r.size === "md" ? "maz-text-xl" : r.size === "sm" ? "maz-text-lg" : r.size === "xs" ? "maz-text-base" : r.size === "mini" ? "maz-text-sm" : "maz-text-xl");
|
|
1007
1007
|
return (b, F) => (g(), U(ke(k.value), {
|
|
@@ -1488,7 +1488,7 @@ const xe = { render: Kt }, _t = { class: "m-picker-calendar-switcher" }, ea = /*
|
|
|
1488
1488
|
},
|
|
1489
1489
|
emits: ["update:model-value", "update:calendar-date"],
|
|
1490
1490
|
setup(t, { emit: r }) {
|
|
1491
|
-
const e = t, s = r, c = ue(() => import("./MazPickerMonthSwitcher-
|
|
1491
|
+
const e = t, s = r, c = ue(() => import("./MazPickerMonthSwitcher-CEVb4BXw.mjs")), Y = ue(() => import("./MazPickerYearSwitcher-DC1lFIbp.mjs")), k = ue(() => import("./MazPickerShortcuts-DayGMC9m.mjs")), D = X(), S = p(() => e.modelValue && typeof e.modelValue == "object"), $ = p(
|
|
1492
1492
|
() => !e.noShortcuts && e.shortcuts.length > 0 && S.value
|
|
1493
1493
|
), h = X(!1), T = X(!1), P = p({
|
|
1494
1494
|
get: () => e.modelValue,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as g, computed as M, openBlock as l, createElementBlock as d, createElementVNode as m, createVNode as u, withModifiers as h, withCtx as p, unref as n, normalizeClass as f, Fragment as v, renderList as w, createBlock as x, createTextVNode as D, toDisplayString as S } from "vue";
|
|
2
|
-
import { d as C, c as s, a as c, M as k, i as z, _ as B } from "./MazPicker-
|
|
2
|
+
import { d as C, c as s, a as c, M as k, i as z, _ as B } from "./MazPicker-BljfUneI.mjs";
|
|
3
3
|
import { X as q } from "./x-mark-wyoa-ywi.mjs";
|
|
4
4
|
import '../assets/MazPickerMonthSwitcher.css';const $ = { class: "maz-picker-month-switcher" }, N = { class: "maz-picker-month-switcher__header" }, V = /* @__PURE__ */ g({
|
|
5
5
|
__name: "MazPickerMonthSwitcher",
|
package/components/chunks/{MazPickerShortcuts-DbrOoszH.mjs → MazPickerShortcuts-DayGMC9m.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as h, ref as f, watch as n, openBlock as l, createElementBlock as d, 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";
|
|
2
|
-
import { M as g, _ as x } from "./MazPicker-
|
|
2
|
+
import { M as g, _ as x } from "./MazPicker-BljfUneI.mjs";
|
|
3
3
|
import '../assets/MazPickerShortcuts.css';const C = { class: "maz-picker-shortcuts" }, M = /* @__PURE__ */ h({
|
|
4
4
|
__name: "MazPickerShortcuts",
|
|
5
5
|
props: {
|
package/components/chunks/{MazPickerYearSwitcher-D9lqntyR.mjs → MazPickerYearSwitcher-DC1lFIbp.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as C, ref as b, computed as w, openBlock as u, createElementBlock as _, createElementVNode as m, createVNode as s, withModifiers as l, withCtx as i, unref as o, Fragment as D, renderList as S, createBlock as Y, normalizeClass as M, createTextVNode as B, toDisplayString as q } from "vue";
|
|
2
|
-
import { d as c, a as I, M as d, C as y, i as z, _ as N } from "./MazPicker-
|
|
2
|
+
import { d as c, a as I, M as d, C as y, i as z, _ as N } from "./MazPicker-BljfUneI.mjs";
|
|
3
3
|
import { X as V } from "./x-mark-wyoa-ywi.mjs";
|
|
4
4
|
import '../assets/MazPickerYearSwitcher.css';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({
|
|
5
5
|
__name: "MazPickerYearSwitcher",
|
|
@@ -66,24 +66,24 @@ function oe(u, r) {
|
|
|
66
66
|
ó: "o"
|
|
67
67
|
};
|
|
68
68
|
let s = u.toString();
|
|
69
|
-
if (l.trim && (s = s.trim()), l.normalizeSpaces && (s = s.replaceAll(/\s+/g, " ")), l.replaceSpaces && (s = s.replaceAll(" ", "-")), l.removeNumbers && (s = s.replaceAll(/\d/g, "")), l.removeAccents && (s = s.replaceAll(/[ÀÁÂÃÄÅÇÈÉÊËÎÏÑÔÕÖØÙÚÛÜàáâãäåçèéêëíîïñóôõöøùúûüÿ]/g, (
|
|
70
|
-
for (const
|
|
71
|
-
s = s.normalize(
|
|
69
|
+
if (l.trim && (s = s.trim()), l.normalizeSpaces && (s = s.replaceAll(/\s+/g, " ")), l.replaceSpaces && (s = s.replaceAll(" ", "-")), l.removeNumbers && (s = s.replaceAll(/\d/g, "")), l.removeAccents && (s = s.replaceAll(/[ÀÁÂÃÄÅÇÈÉÊËÎÏÑÔÕÖØÙÚÛÜàáâãäåçèéêëíîïñóôõöøùúûüÿ]/g, (c) => t[c] || c), s = s.replaceAll(/[\u0300-\u036F]/g, "")), l.caseSensitive === !1 && (s = s.toLowerCase()), l.removeSpecialCharacters && (s = s.replaceAll(/[^\dA-Z-]/gi, "")), l.trim && (s = s.trim()), l.customNormalizationForms)
|
|
70
|
+
for (const c of l.customNormalizationForms)
|
|
71
|
+
s = s.normalize(c);
|
|
72
72
|
return s;
|
|
73
73
|
}
|
|
74
74
|
function Ue(u, r) {
|
|
75
75
|
const l = u.length, t = r.length, s = [];
|
|
76
|
-
for (let
|
|
77
|
-
s[
|
|
78
|
-
for (let
|
|
79
|
-
s[0][
|
|
80
|
-
for (let
|
|
76
|
+
for (let c = 0; c <= l; c++)
|
|
77
|
+
s[c] = [c];
|
|
78
|
+
for (let c = 0; c <= t; c++)
|
|
79
|
+
s[0][c] = c;
|
|
80
|
+
for (let c = 1; c <= l; c++)
|
|
81
81
|
for (let v = 1; v <= t; v++) {
|
|
82
|
-
const S = u[
|
|
83
|
-
s[
|
|
84
|
-
s[
|
|
85
|
-
s[
|
|
86
|
-
s[
|
|
82
|
+
const S = u[c - 1] === r[v - 1] ? 0 : 1;
|
|
83
|
+
s[c][v] = Math.min(
|
|
84
|
+
s[c - 1][v] + 1,
|
|
85
|
+
s[c][v - 1] + 1,
|
|
86
|
+
s[c - 1][v - 1] + S
|
|
87
87
|
);
|
|
88
88
|
}
|
|
89
89
|
return s[l][t];
|
|
@@ -100,10 +100,10 @@ function re(u, r, l = 0.75) {
|
|
|
100
100
|
() => oe(typeof u == "string" ? u : u.value)
|
|
101
101
|
), s = p(
|
|
102
102
|
() => oe(typeof r == "string" ? r : r.value)
|
|
103
|
-
),
|
|
103
|
+
), c = p(() => typeof l == "number" ? l : l.value), v = p(() => ke(t.value, s.value));
|
|
104
104
|
return {
|
|
105
105
|
isMatching: p(
|
|
106
|
-
() => We(t.value, s.value,
|
|
106
|
+
() => We(t.value, s.value, c.value)
|
|
107
107
|
),
|
|
108
108
|
score: v
|
|
109
109
|
};
|
|
@@ -112,15 +112,15 @@ function Ve(u, r, l) {
|
|
|
112
112
|
var v, S;
|
|
113
113
|
u.stopPropagation();
|
|
114
114
|
const t = typeof l.value == "function" ? l.value : l.value.handler, s = typeof l.value == "object" ? l.value.exclude : void 0;
|
|
115
|
-
let
|
|
115
|
+
let c = !1;
|
|
116
116
|
if (s && s.length > 0) {
|
|
117
117
|
for (const D of s)
|
|
118
|
-
if (!
|
|
118
|
+
if (!c && u.target instanceof HTMLElement) {
|
|
119
119
|
const z = (v = document.querySelector(D)) == null ? void 0 : v.getAttribute("id");
|
|
120
|
-
|
|
120
|
+
c = (u.target.getAttribute("id") === z || ((S = document.querySelector(D)) == null ? void 0 : S.contains(u.target))) ?? !1;
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
|
-
!r.contains(u.target) && !
|
|
123
|
+
!r.contains(u.target) && !c && (t == null || t(u));
|
|
124
124
|
}
|
|
125
125
|
function Ie() {
|
|
126
126
|
return document.ontouchstart === null ? "touchstart" : "click";
|
|
@@ -141,9 +141,9 @@ const Re = {
|
|
|
141
141
|
mounted: Qe,
|
|
142
142
|
unmounted: je
|
|
143
143
|
};
|
|
144
|
-
let
|
|
144
|
+
let ce = null;
|
|
145
145
|
function Ge(u, r) {
|
|
146
|
-
|
|
146
|
+
ce && clearTimeout(ce), ce = setTimeout(u, r);
|
|
147
147
|
}
|
|
148
148
|
function Ze(u, r) {
|
|
149
149
|
let l;
|
|
@@ -156,7 +156,7 @@ function Ze(u, r) {
|
|
|
156
156
|
const Je = ["for"], Xe = {
|
|
157
157
|
key: 0,
|
|
158
158
|
class: "m-input-wrapper-left"
|
|
159
|
-
}, Ye = ["id", "
|
|
159
|
+
}, Ye = ["id", "name", "placeholder", "aria-label", "type", "inputmode", "disabled", "readonly", "autocomplete", "required"], xe = { key: 0 }, _e = {
|
|
160
160
|
key: 1,
|
|
161
161
|
class: "m-input-wrapper-right"
|
|
162
162
|
}, et = /* @__PURE__ */ be({
|
|
@@ -195,11 +195,12 @@ const Je = ["for"], Xe = {
|
|
|
195
195
|
leftIcon: { type: [String, Function, Object], default: void 0 },
|
|
196
196
|
rightIcon: { type: [String, Function, Object], default: void 0 },
|
|
197
197
|
roundedSize: { default: void 0 },
|
|
198
|
-
block: { type: Boolean }
|
|
198
|
+
block: { type: Boolean },
|
|
199
|
+
autocomplete: {}
|
|
199
200
|
},
|
|
200
201
|
emits: ["update:model-value", "focus", "blur", "click", "change", "input"],
|
|
201
202
|
setup(u, { emit: r }) {
|
|
202
|
-
const l = u, t = r, s = $(() => import("./MazBtn-
|
|
203
|
+
const l = u, t = r, s = $(() => import("./MazBtn-C6zsmGnw.mjs")), c = $(() => import("./MazIcon-_hN-Kivn.mjs")), v = $(() => import("./eye-slash-BoO00xzs.mjs")), S = $(() => import("./eye-f8zAUc30.mjs")), D = $(() => import("./check-C9Q_W85g.mjs")), z = V(!1), f = V(!1), N = V(), Z = ze({
|
|
203
204
|
componentName: "MazInput",
|
|
204
205
|
providedId: l.id
|
|
205
206
|
});
|
|
@@ -310,7 +311,7 @@ const Je = ["for"], Xe = {
|
|
|
310
311
|
[
|
|
311
312
|
L() ? (m(), k("div", Xe, [
|
|
312
313
|
o.$slots["left-icon"] || o.leftIcon ? U(o.$slots, "left-icon", { key: 0 }, () => [
|
|
313
|
-
typeof o.leftIcon == "string" ? (m(), A(h(
|
|
314
|
+
typeof o.leftIcon == "string" ? (m(), A(h(c), {
|
|
314
315
|
key: 0,
|
|
315
316
|
name: o.leftIcon,
|
|
316
317
|
class: "maz-text-xl maz-text-muted"
|
|
@@ -326,19 +327,18 @@ const Je = ["for"], Xe = {
|
|
|
326
327
|
class: B(["m-input-wrapper-input", [`--${o.size}`, { "--top-label": !!o.topLabel }]])
|
|
327
328
|
},
|
|
328
329
|
[
|
|
329
|
-
he(O("input", ge({
|
|
330
|
-
id: h(Z),
|
|
330
|
+
he(O("input", ge({ id: h(Z) }, o.$attrs, {
|
|
331
331
|
ref_key: "input",
|
|
332
332
|
ref: N,
|
|
333
333
|
"onUpdate:modelValue": g[0] || (g[0] = (E) => M.value = E),
|
|
334
|
-
|
|
335
|
-
name: o.name
|
|
336
|
-
}, o.$attrs, {
|
|
337
|
-
inputmode: o.inputmode,
|
|
334
|
+
name: o.name,
|
|
338
335
|
placeholder: X.value,
|
|
339
336
|
"aria-label": o.label || o.placeholder,
|
|
337
|
+
type: le.value,
|
|
338
|
+
inputmode: o.inputmode,
|
|
340
339
|
disabled: o.disabled,
|
|
341
340
|
readonly: o.readonly,
|
|
341
|
+
autocomplete: o.autocomplete,
|
|
342
342
|
required: o.required,
|
|
343
343
|
class: "m-input-input"
|
|
344
344
|
}, Oe({
|
|
@@ -380,7 +380,7 @@ const Je = ["for"], Xe = {
|
|
|
380
380
|
),
|
|
381
381
|
_() ? (m(), k("div", _e, [
|
|
382
382
|
o.$slots["right-icon"] || o.rightIcon ? U(o.$slots, "right-icon", { key: 0 }, () => [
|
|
383
|
-
typeof o.rightIcon == "string" ? (m(), A(h(
|
|
383
|
+
typeof o.rightIcon == "string" ? (m(), A(h(c), {
|
|
384
384
|
key: 0,
|
|
385
385
|
name: o.rightIcon,
|
|
386
386
|
class: "maz-text-xl maz-text-muted"
|
|
@@ -457,7 +457,7 @@ const Je = ["for"], Xe = {
|
|
|
457
457
|
for (const [t, s] of r)
|
|
458
458
|
l[t] = s;
|
|
459
459
|
return l;
|
|
460
|
-
}, ye = /* @__PURE__ */ we(et, [["__scopeId", "data-v-
|
|
460
|
+
}, ye = /* @__PURE__ */ we(et, [["__scopeId", "data-v-1443c13f"]]), tt = ["aria-label"], ot = { class: "m-select-list__no-results" }, lt = {
|
|
461
461
|
key: 2,
|
|
462
462
|
class: "m-select-list__scroll-wrapper",
|
|
463
463
|
tabindex: "-1"
|
|
@@ -494,7 +494,7 @@ const Je = ["for"], Xe = {
|
|
|
494
494
|
},
|
|
495
495
|
emits: ["close", "open", "blur", "focus", "change", "input", "update:model-value", "selected-option"],
|
|
496
496
|
setup(u, { expose: r, emit: l }) {
|
|
497
|
-
const t = u, s = l,
|
|
497
|
+
const t = u, s = l, c = $(() => import("./MazCheckbox-CCma_qyQ.mjs")), v = $(() => import("./magnifying-glass--nBiyXot.mjs")), S = $(() => import("./chevron-down-BkvtON3b.mjs")), D = $(() => import("./no-symbol-CIgKzsrB.mjs"));
|
|
498
498
|
r({
|
|
499
499
|
/** Method to open the option list */
|
|
500
500
|
openList: R,
|
|
@@ -566,8 +566,8 @@ const Je = ["for"], Xe = {
|
|
|
566
566
|
if (t.multiple && t.modelValue && Array.isArray(t.modelValue))
|
|
567
567
|
return t.modelValue.map(
|
|
568
568
|
(a) => {
|
|
569
|
-
var i,
|
|
570
|
-
return (
|
|
569
|
+
var i, d;
|
|
570
|
+
return (d = (i = C.value) == null ? void 0 : i.find((y) => y[t.optionValueKey] === a)) == null ? void 0 : d[t.optionInputValueKey];
|
|
571
571
|
}
|
|
572
572
|
).join(", ");
|
|
573
573
|
const e = (n = C.value) == null ? void 0 : n.find(
|
|
@@ -583,8 +583,8 @@ const Je = ["for"], Xe = {
|
|
|
583
583
|
function E(e) {
|
|
584
584
|
var n;
|
|
585
585
|
return e ? (n = C.value) == null ? void 0 : n.filter((a) => {
|
|
586
|
-
const i = a[t.optionLabelKey],
|
|
587
|
-
return g(i, e) || g(y, e) || g(
|
|
586
|
+
const i = a[t.optionLabelKey], d = a[t.optionValueKey], y = a[t.optionInputValueKey], w = t.searchThreshold;
|
|
587
|
+
return g(i, e) || g(y, e) || g(d, e) || typeof i == "string" && re(i, e, w).isMatching.value || typeof y == "string" && re(y, e, w).isMatching.value || typeof d == "string" && re(d, e, w).isMatching.value;
|
|
588
588
|
}) : C.value;
|
|
589
589
|
}
|
|
590
590
|
const K = p(() => E(T.value));
|
|
@@ -602,7 +602,7 @@ const Je = ["for"], Xe = {
|
|
|
602
602
|
async function R(e) {
|
|
603
603
|
t.disabled || I.value || (e == null || e.preventDefault(), z.value = !0, await se(), s("focus", e), s("open", z.value));
|
|
604
604
|
}
|
|
605
|
-
function
|
|
605
|
+
function de() {
|
|
606
606
|
var e, n;
|
|
607
607
|
(n = ((e = j.value) == null ? void 0 : e.$el).querySelector("input")) == null || n.focus();
|
|
608
608
|
}
|
|
@@ -611,7 +611,7 @@ const Je = ["for"], Xe = {
|
|
|
611
611
|
(n = ((e = j.value) == null ? void 0 : e.$el).querySelector("input")) == null || n.dispatchEvent(new Event("input"));
|
|
612
612
|
}
|
|
613
613
|
function Ke(e) {
|
|
614
|
-
z.value ? F(e) :
|
|
614
|
+
z.value ? F(e) : de();
|
|
615
615
|
}
|
|
616
616
|
function Ae(e) {
|
|
617
617
|
var n, a;
|
|
@@ -632,23 +632,23 @@ const Je = ["for"], Xe = {
|
|
|
632
632
|
/^[\dA-Za-z\u0400-\u04FF]$/.test(n) ? (e.preventDefault(), R(e), t.search ? Ae(n) : $e(n)) : pe(e);
|
|
633
633
|
}
|
|
634
634
|
function pe(e, n = !0) {
|
|
635
|
-
const a = e.code, i = ["ArrowUp", "ArrowDown"].includes(a),
|
|
636
|
-
i ? Be(e, f.value) :
|
|
635
|
+
const a = e.code, i = ["ArrowUp", "ArrowDown"].includes(a), d = (n ? ["Enter", "Space"] : ["Enter"]).includes(a), y = a === "Escape" && I.value;
|
|
636
|
+
i ? Be(e, f.value) : d ? Ce(e, f.value) : y && F(e);
|
|
637
637
|
}
|
|
638
638
|
function Be(e, n) {
|
|
639
|
-
var
|
|
639
|
+
var d;
|
|
640
640
|
e.preventDefault();
|
|
641
641
|
const a = e.code;
|
|
642
642
|
I.value || R(e);
|
|
643
|
-
const i = (
|
|
643
|
+
const i = (d = K.value) == null ? void 0 : d.length;
|
|
644
644
|
i && (typeof n == "number" ? n === i - 1 && a === "ArrowDown" ? f.value = 0 : n === 0 && a === "ArrowUp" ? f.value = i - 1 : f.value = a === "ArrowDown" ? n + 1 : n - 1 : f.value = a === "ArrowDown" ? 0 : i - 1, se(f.value));
|
|
645
645
|
}
|
|
646
646
|
function Ce(e, n) {
|
|
647
|
-
var i,
|
|
647
|
+
var i, d, y;
|
|
648
648
|
if (!I.value)
|
|
649
649
|
return;
|
|
650
650
|
e.preventDefault();
|
|
651
|
-
const a = n ? ((i = K.value) == null ? void 0 : i[n]) ?? ((
|
|
651
|
+
const a = n ? ((i = K.value) == null ? void 0 : i[n]) ?? ((d = K.value) == null ? void 0 : d[0]) : (y = K.value) == null ? void 0 : y[0];
|
|
652
652
|
L(a) || fe(a);
|
|
653
653
|
}
|
|
654
654
|
async function se(e) {
|
|
@@ -656,8 +656,8 @@ const Je = ["for"], Xe = {
|
|
|
656
656
|
await ue(), typeof e != "number" && ie();
|
|
657
657
|
const n = e ?? f.value;
|
|
658
658
|
if (typeof n == "number" && n >= 0) {
|
|
659
|
-
const
|
|
660
|
-
(i =
|
|
659
|
+
const d = (a = _.value) == null ? void 0 : a.querySelectorAll(".m-select-list-item");
|
|
660
|
+
(i = d == null ? void 0 : d[n]) == null || i.scrollIntoView({
|
|
661
661
|
behavior: "auto",
|
|
662
662
|
block: "nearest",
|
|
663
663
|
inline: "start"
|
|
@@ -667,8 +667,8 @@ const Je = ["for"], Xe = {
|
|
|
667
667
|
function ie(e) {
|
|
668
668
|
var a;
|
|
669
669
|
const n = (a = K.value) == null ? void 0 : a.findIndex((i) => {
|
|
670
|
-
var
|
|
671
|
-
return t.multiple && Array.isArray(t.modelValue) ? e ? e[t.optionValueKey] === i[t.optionValueKey] : [...t.modelValue].reverse()[0] === i[t.optionValueKey] : ((y = (
|
|
670
|
+
var d, y;
|
|
671
|
+
return t.multiple && Array.isArray(t.modelValue) ? e ? e[t.optionValueKey] === i[t.optionValueKey] : [...t.modelValue].reverse()[0] === i[t.optionValueKey] : ((y = (d = P.value) == null ? void 0 : d[0]) == null ? void 0 : y[t.optionValueKey]) === i[t.optionValueKey];
|
|
672
672
|
});
|
|
673
673
|
f.value = n && n >= 0 ? n : 0;
|
|
674
674
|
}
|
|
@@ -682,8 +682,8 @@ const Je = ["for"], Xe = {
|
|
|
682
682
|
a && t.multiple ? i = i == null ? void 0 : i.filter(
|
|
683
683
|
(w) => w[t.optionValueKey] !== e[t.optionValueKey]
|
|
684
684
|
) : t.multiple ? i.push(e) : i = [e];
|
|
685
|
-
const
|
|
686
|
-
s("update:model-value", t.multiple ?
|
|
685
|
+
const d = i.map((w) => w[t.optionValueKey]);
|
|
686
|
+
s("update:model-value", t.multiple ? d : d[0]), s("selected-option", e), Se(), ie(e), de();
|
|
687
687
|
}
|
|
688
688
|
return (e, n) => he((m(), k(
|
|
689
689
|
"div",
|
|
@@ -811,9 +811,9 @@ const Je = ["for"], Xe = {
|
|
|
811
811
|
}
|
|
812
812
|
]]),
|
|
813
813
|
style: ee(e.itemHeight ? { height: `${e.itemHeight}px` } : void 0),
|
|
814
|
-
onClick: H((
|
|
814
|
+
onClick: H((d) => fe(a), ["prevent", "stop"])
|
|
815
815
|
}, [
|
|
816
|
-
e.multiple ? (m(), A(h(
|
|
816
|
+
e.multiple ? (m(), A(h(c), {
|
|
817
817
|
key: 0,
|
|
818
818
|
tabindex: "-1",
|
|
819
819
|
"model-value": Q(a),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed as f, defineComponent as Ie, defineAsyncComponent as $, ref as g, onBeforeMount as Le, nextTick as W, withDirectives as we, openBlock as V, createElementBlock as A, normalizeClass as q, normalizeStyle as j, createVNode as N, mergeProps as Ce, unref as I, withModifiers as M, withCtx as ne, createElementVNode as O, Transition as Me, createBlock as ie, createCommentVNode as Q, renderSlot as G, Fragment as se, renderList as Ee, toDisplayString as ue } from "vue";
|
|
2
2
|
import { u as Te } from "./useInstanceUniqId-BkOfxhk8.mjs";
|
|
3
|
-
import re from "./MazInput-
|
|
4
|
-
import { _ as $e } from "./MazTable-
|
|
3
|
+
import re from "./MazInput-BcutbP8N.mjs";
|
|
4
|
+
import { _ as $e } from "./MazTable-BU3Hluiu.mjs";
|
|
5
5
|
import '../assets/MazSelect.css';const Ne = {
|
|
6
6
|
removeAccents: !0,
|
|
7
7
|
caseSensitive: !1,
|
|
@@ -179,7 +179,7 @@ const Fe = ["aria-label"], Ue = { class: "m-select-list__no-results" }, We = {
|
|
|
179
179
|
},
|
|
180
180
|
emits: ["close", "open", "blur", "focus", "change", "input", "update:model-value", "selected-option"],
|
|
181
181
|
setup(u, { expose: r, emit: i }) {
|
|
182
|
-
const t = u, n = i, s = $(() => import("./MazCheckbox-
|
|
182
|
+
const t = u, n = i, s = $(() => import("./MazCheckbox-eOEEACaM.mjs")), m = $(() => import("./magnifying-glass--nBiyXot.mjs")), z = $(() => import("./chevron-down-BkvtON3b.mjs")), E = $(() => import("./no-symbol-CIgKzsrB.mjs"));
|
|
183
183
|
r({
|
|
184
184
|
/** Method to open the option list */
|
|
185
185
|
openList: C,
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
|
|
2
|
+
import { _ as a } from "./MazInputNumber-DgjOMiOt.mjs";
|
|
3
|
+
import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
|
|
4
|
+
__name: "MazSpinner",
|
|
5
|
+
props: {
|
|
6
|
+
size: { default: "2em" },
|
|
7
|
+
color: { default: "theme" }
|
|
8
|
+
},
|
|
9
|
+
setup(m) {
|
|
10
|
+
return (e, n) => (s(), t("svg", {
|
|
11
|
+
width: e.size,
|
|
12
|
+
height: e.size,
|
|
13
|
+
version: "1.1",
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
x: "0px",
|
|
16
|
+
y: "0px",
|
|
17
|
+
viewBox: "0 0 50 50",
|
|
18
|
+
"xml:space": "preserve",
|
|
19
|
+
class: r(["m-spinner", `m-spinner--${e.color}`]),
|
|
20
|
+
style: { "enable-background": "new 0 0 50 50" }
|
|
21
|
+
}, n[0] || (n[0] = [
|
|
22
|
+
p(
|
|
23
|
+
"path",
|
|
24
|
+
{ d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
|
|
25
|
+
null,
|
|
26
|
+
-1
|
|
27
|
+
/* HOISTED */
|
|
28
|
+
)
|
|
29
|
+
]), 10, i));
|
|
30
|
+
}
|
|
31
|
+
}), h = /* @__PURE__ */ a(l, [["__scopeId", "data-v-2868435d"]]);
|
|
32
|
+
export {
|
|
33
|
+
h as default
|
|
34
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
|
|
2
|
-
import { _ as a } from "./MazTable-
|
|
2
|
+
import { _ as a } from "./MazTable-BU3Hluiu.mjs";
|
|
3
3
|
import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
|
|
4
4
|
__name: "MazSpinner",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
|
|
2
|
-
import { _ as a } from "./MazSelect-
|
|
2
|
+
import { _ as a } from "./MazSelect-CH3JdigO.mjs";
|
|
3
3
|
import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
|
|
4
4
|
__name: "MazSpinner",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
|
|
2
|
-
import { _ as a } from "./
|
|
2
|
+
import { _ as a } from "./MazInputTags-DthGSyHQ.mjs";
|
|
3
3
|
import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
|
|
4
4
|
__name: "MazSpinner",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
|
|
2
|
-
import { _ as a } from "./
|
|
2
|
+
import { _ as a } from "./MazChecklist-Bb_70sf5.mjs";
|
|
3
3
|
import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
|
|
4
4
|
__name: "MazSpinner",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
|
|
2
|
-
import { _ as a } from "./MazInputPrice-
|
|
2
|
+
import { _ as a } from "./MazInputPrice-D6fJN9yv.mjs";
|
|
3
3
|
import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
|
|
4
4
|
__name: "MazSpinner",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
|
|
2
|
-
import { _ as a } from "./MazInput-
|
|
2
|
+
import { _ as a } from "./MazInput-C9Qh4Gt3.mjs";
|
|
3
3
|
import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
|
|
4
4
|
__name: "MazSpinner",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
|
|
2
|
-
import { _ as a } from "./MazPicker-
|
|
2
|
+
import { _ as a } from "./MazPicker-BljfUneI.mjs";
|
|
3
3
|
import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
|
|
4
4
|
__name: "MazSpinner",
|
|
5
5
|
props: {
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { defineComponent as o, openBlock as s, createElementBlock as t, normalizeClass as r, createElementVNode as p } from "vue";
|
|
2
|
+
import { _ as a } from "./MazPhoneNumberInput-BQjByOtQ.mjs";
|
|
3
|
+
import '../assets/MazSpinner.css';const i = ["width", "height"], l = /* @__PURE__ */ o({
|
|
4
|
+
__name: "MazSpinner",
|
|
5
|
+
props: {
|
|
6
|
+
size: { default: "2em" },
|
|
7
|
+
color: { default: "theme" }
|
|
8
|
+
},
|
|
9
|
+
setup(m) {
|
|
10
|
+
return (e, n) => (s(), t("svg", {
|
|
11
|
+
width: e.size,
|
|
12
|
+
height: e.size,
|
|
13
|
+
version: "1.1",
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
x: "0px",
|
|
16
|
+
y: "0px",
|
|
17
|
+
viewBox: "0 0 50 50",
|
|
18
|
+
"xml:space": "preserve",
|
|
19
|
+
class: r(["m-spinner", `m-spinner--${e.color}`]),
|
|
20
|
+
style: { "enable-background": "new 0 0 50 50" }
|
|
21
|
+
}, n[0] || (n[0] = [
|
|
22
|
+
p(
|
|
23
|
+
"path",
|
|
24
|
+
{ d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
|
|
25
|
+
null,
|
|
26
|
+
-1
|
|
27
|
+
/* HOISTED */
|
|
28
|
+
)
|
|
29
|
+
]), 10, i));
|
|
30
|
+
}
|
|
31
|
+
}), h = /* @__PURE__ */ a(l, [["__scopeId", "data-v-2868435d"]]);
|
|
32
|
+
export {
|
|
33
|
+
h as default
|
|
34
|
+
};
|
|
@@ -69,7 +69,7 @@ import '../assets/MazTable.css';const Ee = {
|
|
|
69
69
|
"5312637a": e.tableLayout,
|
|
70
70
|
"4abb4982": e.captionSide
|
|
71
71
|
}));
|
|
72
|
-
const a = N, $ = K, D = f(() => import("./arrow-up-DjSlktWl.mjs")), W = f(() => import("./chevron-double-left-D4-NpyrF.mjs")), X = f(() => import("./chevron-left-BqVOLRdC.mjs")), se = f(() => import("./magnifying-glass--nBiyXot.mjs")), w = f(() => import("./MazBtn-
|
|
72
|
+
const a = N, $ = K, D = f(() => import("./arrow-up-DjSlktWl.mjs")), W = f(() => import("./chevron-double-left-D4-NpyrF.mjs")), X = f(() => import("./chevron-left-BqVOLRdC.mjs")), se = f(() => import("./magnifying-glass--nBiyXot.mjs")), w = f(() => import("./MazBtn-DOWVQgpN.mjs")), Z = f(() => import("./MazCheckbox-eOEEACaM.mjs")), ne = f(() => import("./MazInput-BcutbP8N.mjs")), re = f(() => import("./MazLoadingBar-C2qPjfEQ.mjs")), _ = f(() => import("./MazSelect-D3KXcHJS.mjs")), L = f(() => import("./MazTableCell-DKMZAanm.mjs")), F = f(() => import("./MazTableRow-CDHpmXfw.mjs")), H = f(() => import("./MazTableTitle-BSFZ84Ob.mjs")), ue = {
|
|
73
73
|
noResults: "No results",
|
|
74
74
|
actionHeader: "Actions",
|
|
75
75
|
searchByAllLabel: "All",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as a, openBlock as o, createElementBlock as l, normalizeClass as r, unref as s, renderSlot as c } from "vue";
|
|
2
2
|
import { i as n } from "./inject-strict-DEDSuzCz.mjs";
|
|
3
|
-
import { m, _ } from "./MazTable-
|
|
3
|
+
import { m, _ } from "./MazTable-BU3Hluiu.mjs";
|
|
4
4
|
import '../assets/MazTableCell.css';const i = /* @__PURE__ */ a({
|
|
5
5
|
__name: "MazTableCell",
|
|
6
6
|
setup(p) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as t, openBlock as l, createElementBlock as s, normalizeClass as c, unref as e, renderSlot as d } from "vue";
|
|
2
2
|
import { i as m } from "./inject-strict-DEDSuzCz.mjs";
|
|
3
|
-
import { m as p, _ as b } from "./MazTable-
|
|
3
|
+
import { m as p, _ as b } from "./MazTable-BU3Hluiu.mjs";
|
|
4
4
|
import '../assets/MazTableRow.css';const u = /* @__PURE__ */ t({
|
|
5
5
|
__name: "MazTableRow",
|
|
6
6
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as a, openBlock as o, createElementBlock as r, normalizeClass as s, unref as l, renderSlot as n } from "vue";
|
|
2
2
|
import { i as c } from "./inject-strict-DEDSuzCz.mjs";
|
|
3
|
-
import { _ as i } from "./MazTable-
|
|
3
|
+
import { _ as i } from "./MazTable-BU3Hluiu.mjs";
|
|
4
4
|
import '../assets/MazTableTitle.css';const m = /* @__PURE__ */ a({
|
|
5
5
|
__name: "MazTableTitle",
|
|
6
6
|
setup(_) {
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const M = { AC: "40123", AD: "312345", AE: "501234567", AF: "701234567", AG: "2684641234", AI: "2642351234", AL: "672123456", AM: "77123456", AO: "923123456", AR: "91123456789", AS: "6847331234", AT: "664123456", AU: "412345678", AW: "5601234", AX: "412345678", AZ: "401234567", BA: "61123456", BB: "2462501234", BD: "1812345678", BE: "470123456", BF: "70123456", BG: "43012345", BH: "36001234", BI: "79561234", BJ: "0195123456", BL: "690001234", BM: "4413701234", BN: "7123456", BO: "71234567", BQ: "3181234", BR: "11961234567", BS: "2423591234", BT: "17123456", BW: "71123456", BY: "294911911", BZ: "6221234", CA: "5062345678", CC: "412345678", CD: "991234567", CF: "70012345", CG: "061234567", CH: "781234567", CI: "0123456789", CK: "71234", CL: "221234567", CM: "671234567", CN: "13123456789", CO: "3211234567", CR: "83123456", CU: "51234567", CV: "9911234", CW: "95181234", CX: "412345678", CY: "96123456", CZ: "601123456", DE: "15123456789", DJ: "77831001", DK: "34412345", DM: "7672251234", DO: "8092345678", DZ: "551234567", EC: "991234567", EE: "51234567", EG: "1001234567", EH: "650123456", ER: "7123456", ES: "612345678", ET: "911234567", FI: "412345678", FJ: "7012345", FK: "51234", FM: "3501234", FO: "211234", FR: "612345678", GA: "06031234", GB: "7400123456", GD: "4734031234", GE: "555123456", GF: "694201234", GG: "7781123456", GH: "231234567", GI: "57123456", GL: "221234", GM: "3012345", GN: "601123456", GP: "690001234", GQ: "222123456", GR: "6912345678", GT: "51234567", GU: "6713001234", GW: "955012345", GY: "6091234", HK: "51234567", HN: "91234567", HR: "921234567", HT: "34101234", HU: "201234567", ID: "812345678", IE: "850123456", IL: "502345678", IM: "7924123456", IN: "8123456789", IO: "3801234", IQ: "7912345678", IR: "9123456789", IS: "6111234", IT: "3123456789", JE: "7797712345", JM: "8762101234", JO: "790123456", JP: "9012345678", KE: "712123456", KG: "700123456", KH: "91234567", KI: "72001234", KM: "3212345", KN: "8697652917", KP: "1921234567", KR: "1020000000", KW: "50012345", KY: "3453231234", KZ: "7710009998", LA: "2023123456", LB: "71123456", LC: "7582845678", LI: "660234567", LK: "712345678", LR: "770123456", LS: "50123456", LT: "61234567", LU: "628123456", LV: "21234567", LY: "912345678", MA: "650123456", MC: "612345678", MD: "62112345", ME: "67622901", MF: "690001234", MG: "321234567", MH: "2351234", MK: "72345678", ML: "65012345", MM: "92123456", MN: "88123456", MO: "66123456", MP: "6702345678", MQ: "696201234", MR: "22123456", MS: "6644923456", MT: "96961234", MU: "52512345", MV: "7712345", MW: "991234567", MX: "2221234567", MY: "123456789", MZ: "821234567", NA: "811234567", NC: "751234", NE: "93123456", NF: "381234", NG: "8021234567", NI: "81234567", NL: "612345678", NO: "40612345", NP: "9841234567", NR: "5551234", NU: "8884012", NZ: "211234567", OM: "92123456", PA: "61234567", PE: "912345678", PF: "87123456", PG: "70123456", PH: "9051234567", PK: "3012345678", PL: "512345678", PM: "551234", PR: "7872345678", PS: "599123456", PT: "912345678", PW: "6201234", PY: "961456789", QA: "33123456", RE: "692123456", RO: "712034567", RS: "601234567", RU: "9123456789", RW: "720123456", SA: "512345678", SB: "7421234", SC: "2510123", SD: "911231234", SE: "701234567", SG: "81234567", SH: "51234", SI: "31234567", SJ: "41234567", SK: "912123456", SL: "25123456", SM: "66661212", SN: "701234567", SO: "71123456", SR: "7412345", SS: "977123456", ST: "9812345", SV: "70123456", SX: "7215205678", SY: "944567890", SZ: "76123456", TA: "8999", TC: "6492311234", TD: "63012345", TG: "90112345", TH: "812345678", TJ: "917123456", TK: "7290", TL: "77212345", TM: "66123456", TN: "20123456", TO: "7715123", TR: "5012345678", TT: "8682911234", TV: "901234", TW: "912345678", TZ: "621234567", UA: "501234567", UG: "712345678", US: "2015550123", UY: "94231234", UZ: "912345678", VA: "3123456789", VC: "7844301234", VE: "4121234567", VG: "2843001234", VI: "3406421234", VN: "912345678", VU: "5912345", WF: "821234", WS: "7212345", XK: "43201234", YE: "712345678", YT: "639012345", ZA: "711234567", ZM: "955123456", ZW: "712345678" };
|
|
2
|
+
export {
|
|
3
|
+
M as default
|
|
4
|
+
};
|
package/nuxt/index.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "maz-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.47.2-beta.
|
|
4
|
+
"version": "3.47.2-beta.21",
|
|
5
5
|
"description": "A standalone components library for Vue.Js 3 & Nuxt.Js 3",
|
|
6
6
|
"author": "Louis Mazel <me@loicmazuel.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
"fs": "0.0.2",
|
|
154
154
|
"jsdom": "^25.0.1",
|
|
155
155
|
"json-templater": "^1.2.0",
|
|
156
|
-
"libphonenumber-js": "^1.11.
|
|
156
|
+
"libphonenumber-js": "^1.11.15",
|
|
157
157
|
"minimist": "^1.2.8",
|
|
158
158
|
"nuxt": "^3.14.159",
|
|
159
159
|
"onchange": "^7.1.0",
|
|
@@ -91,6 +91,8 @@ export interface Props<T = ModelValueSimple> {
|
|
|
91
91
|
roundedSize?: 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
92
92
|
/** The input will be displayed in full width */
|
|
93
93
|
block?: boolean;
|
|
94
|
+
/** The attribut autocomplete of the input */
|
|
95
|
+
autocomplete?: string;
|
|
94
96
|
}
|
|
95
97
|
export type { Color, ModelValueSimple, Size } from './types';
|
|
96
98
|
declare const _default: <T extends ModelValueSimple>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|