amelia-booking-ui 0.0.427 → 0.0.429
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/dist/amelia-booking-ui.css +1 -1
- package/dist/amelia-booking-ui.es.js +63763 -64
- package/dist/types/components/phone/AmPhoneInput.vue.d.ts +8 -6
- package/package.json +5 -6
- package/dist/chunks/MazBtn.1qp5aQ4N-BGc5tUu3.mjs +0 -103
- package/dist/chunks/MazCheckbox.UAnkvAoS-BI5Y2xzU.mjs +0 -149
- package/dist/chunks/MazIcon.B5hPzeLk-BTp1PkYa.mjs +0 -103
- package/dist/chunks/MazSpinner.DZT5jj-c-DcVmOnGV.mjs +0 -34
- package/dist/chunks/check.C9Q_W85g-DmgtOx7Q.mjs +0 -30
- package/dist/chunks/chevron-down.BkvtON3b-RNrTKYcy.mjs +0 -0
- package/dist/chunks/examples.mobile.json.tW3aL0qI-tW3aL0qI.mjs +0 -4
- package/dist/chunks/eye-slash.BoO00xzs-CULY_lvM.mjs +0 -0
- package/dist/chunks/eye.f8zAUc30-Yr89kafZ.mjs +0 -0
- package/dist/chunks/index-Erdp4QgI.mjs +0 -64851
- package/dist/chunks/magnifying-glass.-nBiyXot-CuA_mltt.mjs +0 -0
- package/dist/chunks/no-photography.BJX8HSus-BJX8HSus.mjs +0 -4
- package/dist/chunks/no-symbol.CIgKzsrB-3PuxVsDY.mjs +0 -0
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
interface Props {
|
|
2
2
|
modelValue?: string | undefined;
|
|
3
|
-
fetchCountry?: boolean;
|
|
4
3
|
popperBackground?: 'level-2-foreground' | 'level-1-foreground';
|
|
5
4
|
}
|
|
6
|
-
declare const _default: import('vue').DefineComponent<Props, {
|
|
7
|
-
|
|
5
|
+
declare const _default: import('vue').DefineComponent<Props, {
|
|
6
|
+
focus: () => void;
|
|
7
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
8
|
"update:modelValue": (...args: any[]) => void;
|
|
9
|
+
update: (...args: any[]) => void;
|
|
9
10
|
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
10
|
-
onBlur?: (...args: any[]) => any;
|
|
11
11
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
12
|
+
onUpdate?: (...args: any[]) => any;
|
|
12
13
|
}>, {
|
|
13
14
|
popperBackground: "level-2-foreground" | "level-1-foreground";
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
16
|
+
vueTelRef: any;
|
|
17
|
+
}, HTMLDivElement>;
|
|
16
18
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "amelia-booking-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.429",
|
|
4
4
|
"description": "A Vue 3 component library for Amelia Booking Plugin.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -47,22 +47,21 @@
|
|
|
47
47
|
"@tiptap/extension-strike": "^3.0.7",
|
|
48
48
|
"@tiptap/extension-subscript": "^3.0.7",
|
|
49
49
|
"@tiptap/extension-superscript": "^3.0.7",
|
|
50
|
+
"@tiptap/extension-table": "^3.0.7",
|
|
50
51
|
"@tiptap/extension-table-cell": "^3.0.7",
|
|
51
52
|
"@tiptap/extension-table-header": "^3.0.7",
|
|
52
53
|
"@tiptap/extension-table-row": "^3.0.7",
|
|
53
|
-
"@tiptap/extension-
|
|
54
|
+
"@tiptap/extension-text": "^3.0.7",
|
|
54
55
|
"@tiptap/extension-text-align": "^3.0.7",
|
|
55
56
|
"@tiptap/extension-text-style": "^3.0.7",
|
|
56
|
-
"@tiptap/extension-text": "^3.0.7",
|
|
57
57
|
"@tiptap/extension-underline": "^3.0.7",
|
|
58
58
|
"@tiptap/vue-3": "^3.0.7",
|
|
59
59
|
"@vueuse/core": "^13.0.0",
|
|
60
60
|
"element-plus": "^2.8.0",
|
|
61
|
-
"libphonenumber-js": "^1.11.5",
|
|
62
|
-
"maz-ui": "^3.45.1",
|
|
63
61
|
"v-money3": "^3.24.1",
|
|
64
62
|
"vue": "^3.4.27",
|
|
65
|
-
"vue-component-type-helpers": "^3.0.1"
|
|
63
|
+
"vue-component-type-helpers": "^3.0.1",
|
|
64
|
+
"vue-tel-input": "^9.5.0"
|
|
66
65
|
},
|
|
67
66
|
"peerDependencies": {
|
|
68
67
|
"vue": "^3.4.27"
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { defineComponent as $, defineAsyncComponent as m, useAttrs as h, computed as t, createBlock as l, openBlock as n, resolveDynamicComponent as s, normalizeStyle as S, normalizeClass as a, withCtx as j, renderSlot as u, createElementBlock as C, createCommentVNode as d, unref as r, createVNode as _ } from "vue";
|
|
2
|
-
import { s as O } from "./index-Erdp4QgI.mjs";
|
|
3
|
-
const A = {
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "m-btn-loader-container"
|
|
6
|
-
}, E = /* @__PURE__ */ $({
|
|
7
|
-
__name: "MazBtn",
|
|
8
|
-
props: {
|
|
9
|
-
variant: { default: "button" },
|
|
10
|
-
size: { default: "md" },
|
|
11
|
-
color: { default: "primary" },
|
|
12
|
-
type: { default: "button" },
|
|
13
|
-
rounded: { type: Boolean },
|
|
14
|
-
roundedSize: { default: "lg" },
|
|
15
|
-
noRounded: { type: Boolean },
|
|
16
|
-
outline: { type: Boolean },
|
|
17
|
-
pastel: { type: Boolean },
|
|
18
|
-
block: { type: Boolean },
|
|
19
|
-
noUnderline: { type: Boolean },
|
|
20
|
-
loading: { type: Boolean },
|
|
21
|
-
disabled: { type: Boolean },
|
|
22
|
-
fab: { type: Boolean },
|
|
23
|
-
icon: { type: [String, Function, Object], default: void 0 },
|
|
24
|
-
leftIcon: { type: [String, Function, Object], default: void 0 },
|
|
25
|
-
rightIcon: { type: [String, Function, Object], default: void 0 },
|
|
26
|
-
noPadding: { type: Boolean },
|
|
27
|
-
noElevation: { type: Boolean },
|
|
28
|
-
justify: { default: "center" }
|
|
29
|
-
},
|
|
30
|
-
setup(v) {
|
|
31
|
-
const o = v, y = m(() => import("./MazSpinner.DZT5jj-c-DcVmOnGV.mjs")), c = m(() => import("./MazIcon.B5hPzeLk-BTp1PkYa.mjs")), { href: b, to: g } = h(), p = t(() => b ? "a" : g ? "router-link" : "button"), z = t(() => o.pastel ? `--${o.color}-pastel` : o.outline ? `--${o.color}-outline` : `--${o.color}`), f = t(
|
|
32
|
-
() => (o.loading || o.disabled) && p.value === "button"
|
|
33
|
-
), B = t(() => f.value ? "--cursor-default" : "--cursor-pointer"), k = t(() => `--is-${o.variant}`), x = t(() => o.loading && o.variant === "button"), I = t(() => p.value === "button" ? o.type : void 0), i = t(() => o.size === "xl" ? "maz-text-3xl" : o.size === "lg" ? "maz-text-2xl" : o.size === "md" ? "maz-text-xl" : o.size === "sm" ? "maz-text-lg" : o.size === "xs" ? "maz-text-base" : o.size === "mini" ? "maz-text-sm" : "maz-text-xl");
|
|
34
|
-
return (e, F) => (n(), l(s(p.value), {
|
|
35
|
-
disabled: f.value || void 0,
|
|
36
|
-
class: a(["m-btn m-reset-css", [
|
|
37
|
-
`--${e.size}`,
|
|
38
|
-
!e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
|
|
39
|
-
z.value,
|
|
40
|
-
B.value,
|
|
41
|
-
k.value,
|
|
42
|
-
{
|
|
43
|
-
"--block": e.block,
|
|
44
|
-
"--no-underline": e.noUnderline,
|
|
45
|
-
"--fab": e.fab,
|
|
46
|
-
"--loading": e.loading,
|
|
47
|
-
"--disabled": f.value,
|
|
48
|
-
"--rounded": e.rounded,
|
|
49
|
-
"--no-rounded": e.noRounded,
|
|
50
|
-
"--no-padding": e.noPadding,
|
|
51
|
-
"--no-elevation": e.noElevation
|
|
52
|
-
}
|
|
53
|
-
]]),
|
|
54
|
-
style: S([`--justify: ${e.justify}`]),
|
|
55
|
-
type: I.value
|
|
56
|
-
}, {
|
|
57
|
-
default: j(() => [
|
|
58
|
-
u(e.$slots, "left-icon", {}, () => [
|
|
59
|
-
typeof e.leftIcon == "string" ? (n(), l(r(c), {
|
|
60
|
-
key: 0,
|
|
61
|
-
name: e.leftIcon,
|
|
62
|
-
class: a([i.value])
|
|
63
|
-
}, null, 8, ["name", "class"])) : e.leftIcon ? (n(), l(s(e.leftIcon), {
|
|
64
|
-
key: 1,
|
|
65
|
-
class: a([i.value])
|
|
66
|
-
}, null, 8, ["class"])) : d("v-if", !0)
|
|
67
|
-
], !0),
|
|
68
|
-
u(e.$slots, "icon", {}, () => [
|
|
69
|
-
typeof e.icon == "string" ? (n(), l(r(c), {
|
|
70
|
-
key: 0,
|
|
71
|
-
name: e.icon,
|
|
72
|
-
class: a([i.value])
|
|
73
|
-
}, null, 8, ["name", "class"])) : e.icon ? (n(), l(s(e.icon), {
|
|
74
|
-
key: 1,
|
|
75
|
-
class: a([i.value])
|
|
76
|
-
}, null, 8, ["class"])) : d("v-if", !0)
|
|
77
|
-
], !0),
|
|
78
|
-
u(e.$slots, "default", {}, void 0, !0),
|
|
79
|
-
u(e.$slots, "right-icon", {}, () => [
|
|
80
|
-
typeof e.rightIcon == "string" ? (n(), l(r(c), {
|
|
81
|
-
key: 0,
|
|
82
|
-
name: e.rightIcon,
|
|
83
|
-
class: a([i.value])
|
|
84
|
-
}, null, 8, ["name", "class"])) : e.rightIcon ? (n(), l(s(e.rightIcon), {
|
|
85
|
-
key: 1,
|
|
86
|
-
class: a([i.value])
|
|
87
|
-
}, null, 8, ["class"])) : d("v-if", !0)
|
|
88
|
-
], !0),
|
|
89
|
-
x.value ? (n(), C("div", A, [
|
|
90
|
-
_(r(y), {
|
|
91
|
-
size: "2em",
|
|
92
|
-
color: e.color
|
|
93
|
-
}, null, 8, ["color"])
|
|
94
|
-
])) : d("v-if", !0)
|
|
95
|
-
]),
|
|
96
|
-
_: 3
|
|
97
|
-
/* FORWARDED */
|
|
98
|
-
}, 8, ["disabled", "class", "style", "type"]));
|
|
99
|
-
}
|
|
100
|
-
}), N = /* @__PURE__ */ O(E, [["__scopeId", "data-v-6b881156"]]);
|
|
101
|
-
export {
|
|
102
|
-
N as default
|
|
103
|
-
};
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
import { defineComponent as E, computed as o, ref as N, createElementBlock as b, openBlock as x, normalizeStyle as t, normalizeClass as n, unref as s, createElementVNode as u, mergeProps as $, createVNode as A, renderSlot as I, createCommentVNode as D, createTextVNode as K, toDisplayString as y } from "vue";
|
|
2
|
-
import { s as M, w as P } from "./index-Erdp4QgI.mjs";
|
|
3
|
-
import T from "./check.C9Q_W85g-DmgtOx7Q.mjs";
|
|
4
|
-
const F = ["for", "aria-checked"], H = ["id", "checked", "disabled", "name"], J = { class: "m-checkbox__text" }, R = /* @__PURE__ */ E({
|
|
5
|
-
inheritAttrs: !1,
|
|
6
|
-
__name: "MazCheckbox",
|
|
7
|
-
props: {
|
|
8
|
-
style: { default: void 0 },
|
|
9
|
-
class: { default: void 0 },
|
|
10
|
-
modelValue: { default: void 0 },
|
|
11
|
-
id: { default: void 0 },
|
|
12
|
-
color: { default: "primary" },
|
|
13
|
-
value: { type: [String, Number, Boolean], default: void 0 },
|
|
14
|
-
name: { default: "m-checkbox" },
|
|
15
|
-
size: { default: "md" },
|
|
16
|
-
label: { default: void 0 },
|
|
17
|
-
disabled: { type: Boolean, default: !1 },
|
|
18
|
-
error: { type: Boolean },
|
|
19
|
-
success: { type: Boolean },
|
|
20
|
-
warning: { type: Boolean },
|
|
21
|
-
hint: {}
|
|
22
|
-
},
|
|
23
|
-
emits: ["update:model-value", "change", "blur", "focus"],
|
|
24
|
-
setup(z, { emit: g }) {
|
|
25
|
-
const a = z, r = g, d = P({
|
|
26
|
-
componentName: "MazCheckbox",
|
|
27
|
-
providedId: a.id
|
|
28
|
-
}), m = o(
|
|
29
|
-
() => typeof a.value != "boolean" && Array.isArray(a.modelValue) ? a.modelValue.includes(a.value) : typeof a.modelValue == "boolean" ? a.modelValue : !1
|
|
30
|
-
), i = o(() => {
|
|
31
|
-
switch (a.size) {
|
|
32
|
-
case "xl":
|
|
33
|
-
return "2rem";
|
|
34
|
-
case "lg":
|
|
35
|
-
return "1.75rem";
|
|
36
|
-
case "sm":
|
|
37
|
-
return "1.25rem";
|
|
38
|
-
case "xs":
|
|
39
|
-
return "1rem";
|
|
40
|
-
case "mini":
|
|
41
|
-
return "0.75rem";
|
|
42
|
-
default:
|
|
43
|
-
return "1.5rem";
|
|
44
|
-
}
|
|
45
|
-
}), k = o(() => {
|
|
46
|
-
switch (a.size) {
|
|
47
|
-
case "xl":
|
|
48
|
-
return "maz-text-2xl";
|
|
49
|
-
case "lg":
|
|
50
|
-
return "maz-text-xl";
|
|
51
|
-
case "sm":
|
|
52
|
-
return "maz-text-base";
|
|
53
|
-
case "xs":
|
|
54
|
-
return "maz-text-sm";
|
|
55
|
-
case "mini":
|
|
56
|
-
return "maz-text-xs";
|
|
57
|
-
default:
|
|
58
|
-
return "maz-text-lg";
|
|
59
|
-
}
|
|
60
|
-
}), V = o(() => a.color === "theme" ? "var(--maz-color-bg)" : `var(--maz-color-${a.color}-contrast)`), w = o(() => a.color === "theme" ? "var(--maz-color-bg-theme)" : `var(--maz-color-${a.color})`), v = o(() => a.error ? "var(--maz-color-danger)" : a.warning ? "var(--maz-color-warning)" : a.success ? "var(--maz-color-success)" : ["black", "transparent", "theme"].includes(a.color) ? "var(--maz-color-muted)" : `var(--maz-color-${a.color}-alpha)`);
|
|
61
|
-
function B(e) {
|
|
62
|
-
["Space"].includes(e.code) && (e.preventDefault(), f(a.value ?? !a.modelValue));
|
|
63
|
-
}
|
|
64
|
-
function _(e) {
|
|
65
|
-
return typeof e == "boolean" && (typeof a.modelValue == "boolean" || a.modelValue === void 0 || a.modelValue === null) ? !a.modelValue : Array.isArray(a.modelValue) && typeof e != "boolean" ? a.modelValue.includes(e) ? a.modelValue.filter((l) => l !== e) : [...a.modelValue, e] : [e];
|
|
66
|
-
}
|
|
67
|
-
function f(e) {
|
|
68
|
-
const l = _(e);
|
|
69
|
-
r("update:model-value", l), r("change", l);
|
|
70
|
-
}
|
|
71
|
-
const c = N();
|
|
72
|
-
function C(e) {
|
|
73
|
-
var l;
|
|
74
|
-
(l = c.value) == null || l.dispatchEvent(new Event("blur")), r("blur", e);
|
|
75
|
-
}
|
|
76
|
-
function S(e) {
|
|
77
|
-
var l;
|
|
78
|
-
(l = c.value) == null || l.dispatchEvent(new Event("focus")), r("focus", e);
|
|
79
|
-
}
|
|
80
|
-
return (e, l) => (x(), b("label", {
|
|
81
|
-
for: s(d),
|
|
82
|
-
class: n(["m-checkbox m-reset-css", [{ "--disabled": e.disabled, "--error": e.error, "--warning": e.warning, "--success": e.success }, a.class]]),
|
|
83
|
-
tabindex: "0",
|
|
84
|
-
style: t([e.style, { "--checkbox-selected-color": w.value, "--checkbox-box-shadow-color": v.value }]),
|
|
85
|
-
role: "checkbox",
|
|
86
|
-
"aria-checked": m.value,
|
|
87
|
-
onKeydown: B,
|
|
88
|
-
onBlur: C,
|
|
89
|
-
onFocus: S
|
|
90
|
-
}, [
|
|
91
|
-
u("input", $({
|
|
92
|
-
id: s(d),
|
|
93
|
-
ref_key: "inputRef",
|
|
94
|
-
ref: c,
|
|
95
|
-
checked: m.value
|
|
96
|
-
}, e.$attrs, {
|
|
97
|
-
tabindex: "-1",
|
|
98
|
-
disabled: e.disabled,
|
|
99
|
-
name: e.name,
|
|
100
|
-
type: "checkbox",
|
|
101
|
-
onChange: l[0] || (l[0] = (p) => {
|
|
102
|
-
var h;
|
|
103
|
-
return f(e.value ?? ((h = p?.target) == null ? void 0 : h.checked));
|
|
104
|
-
})
|
|
105
|
-
}), null, 16, H),
|
|
106
|
-
u(
|
|
107
|
-
"span",
|
|
108
|
-
{
|
|
109
|
-
style: t({ width: i.value, height: i.value })
|
|
110
|
-
},
|
|
111
|
-
[
|
|
112
|
-
A(s(T), {
|
|
113
|
-
class: n(["check-icon", k.value]),
|
|
114
|
-
style: t({ color: V.value })
|
|
115
|
-
}, null, 8, ["class", "style"])
|
|
116
|
-
],
|
|
117
|
-
4
|
|
118
|
-
/* STYLE */
|
|
119
|
-
),
|
|
120
|
-
u("div", J, [
|
|
121
|
-
I(e.$slots, "default", { value: e.value }, () => [
|
|
122
|
-
K(
|
|
123
|
-
y(e.label),
|
|
124
|
-
1
|
|
125
|
-
/* TEXT */
|
|
126
|
-
)
|
|
127
|
-
], !0),
|
|
128
|
-
e.hint ? (x(), b(
|
|
129
|
-
"span",
|
|
130
|
-
{
|
|
131
|
-
key: 0,
|
|
132
|
-
class: n(["m-checkbox__hint", {
|
|
133
|
-
"--error": e.error,
|
|
134
|
-
"--success": e.success,
|
|
135
|
-
"--warning": e.warning
|
|
136
|
-
}]),
|
|
137
|
-
style: t({ boxShadow: `0 0 0 0.125rem ${v.value}` })
|
|
138
|
-
},
|
|
139
|
-
y(e.hint),
|
|
140
|
-
7
|
|
141
|
-
/* TEXT, CLASS, STYLE */
|
|
142
|
-
)) : D("v-if", !0)
|
|
143
|
-
])
|
|
144
|
-
], 46, F));
|
|
145
|
-
}
|
|
146
|
-
}), L = /* @__PURE__ */ M(R, [["__scopeId", "data-v-66c21eaf"]]);
|
|
147
|
-
export {
|
|
148
|
-
L as default
|
|
149
|
-
};
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { defineComponent as z, ref as f, computed as m, onMounted as x, createElementBlock as L, createCommentVNode as k, watchEffect as T, openBlock as H, mergeProps as N, nextTick as $ } from "vue";
|
|
2
|
-
import { N as C } from "./index-Erdp4QgI.mjs";
|
|
3
|
-
const P = ["innerHTML"], G = /* @__PURE__ */ z({
|
|
4
|
-
__name: "MazIcon",
|
|
5
|
-
props: {
|
|
6
|
-
/** The source path of the SVG file - e.g: `/icons/home.svg` */
|
|
7
|
-
src: { type: String, default: void 0 },
|
|
8
|
-
/** The path of the folder where the SVG files are stored - e.g: `/icons` */
|
|
9
|
-
path: { type: String, default: void 0 },
|
|
10
|
-
/** The name of the SVG file - e.g: `home` */
|
|
11
|
-
name: { type: String, default: void 0 },
|
|
12
|
-
/** The size of the SVG file - e.g: `1em` */
|
|
13
|
-
size: { type: String, default: void 0 },
|
|
14
|
-
/** The title of the SVG file - e.g: `Home` */
|
|
15
|
-
title: { type: String, default: void 0 },
|
|
16
|
-
/** The function to transform the source of the SVG file - e.g: `(svg) => svg` */
|
|
17
|
-
transformSource: {
|
|
18
|
-
type: Function,
|
|
19
|
-
default: (l) => l
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
emits: ["loaded", "unloaded", "error"],
|
|
23
|
-
setup(l, { emit: v }) {
|
|
24
|
-
const o = l, i = v, u = {}, s = f(), c = f();
|
|
25
|
-
function p() {
|
|
26
|
-
try {
|
|
27
|
-
return C("mazIconPath");
|
|
28
|
-
} catch {
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
const d = m(() => o.path ?? p()), g = m(() => o.src ? o.src : d.value ? `${d.value}/${o.name}.svg` : `/${o.name}.svg`);
|
|
33
|
-
x(() => {
|
|
34
|
-
!o.name && !o.src && console.error('[maz-ui](MazIcon) you should provide "name" or "src" as prop');
|
|
35
|
-
});
|
|
36
|
-
function y(e, r) {
|
|
37
|
-
const t = e.querySelectorAll("title");
|
|
38
|
-
if (t.length > 0)
|
|
39
|
-
t[0].textContent = r;
|
|
40
|
-
else {
|
|
41
|
-
const n = document.createElementNS("http://www.w3.org/2000/svg", "title");
|
|
42
|
-
n.textContent = r, e.append(n);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
function h(e) {
|
|
46
|
-
return Object.keys(e).reduce((r, t) => (e[t] !== !1 && e[t] !== null && e[t] !== void 0 && (r[t] = e[t]), r), {});
|
|
47
|
-
}
|
|
48
|
-
function S(e) {
|
|
49
|
-
const r = {}, t = e.attributes;
|
|
50
|
-
if (!t)
|
|
51
|
-
return r;
|
|
52
|
-
for (let n = t.length - 1; n >= 0; n--)
|
|
53
|
-
r[t[n].name] = t[n].value;
|
|
54
|
-
return r;
|
|
55
|
-
}
|
|
56
|
-
function w(e) {
|
|
57
|
-
e.cloneNode(!0);
|
|
58
|
-
const r = o.transformSource(e);
|
|
59
|
-
return o.title && y(r, o.title), e.innerHTML;
|
|
60
|
-
}
|
|
61
|
-
async function E(e) {
|
|
62
|
-
u[e] || (u[e] = M(e));
|
|
63
|
-
try {
|
|
64
|
-
s.value = await u[e], await $(), i("loaded", c.value);
|
|
65
|
-
} catch (r) {
|
|
66
|
-
s.value && (s.value = void 0, i("unloaded")), delete u[e], i("error", r);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
function M(e) {
|
|
70
|
-
return new Promise((r, t) => {
|
|
71
|
-
const n = new XMLHttpRequest();
|
|
72
|
-
n.open("GET", e, !0), n.addEventListener("load", () => {
|
|
73
|
-
if (n.status >= 200 && n.status < 400)
|
|
74
|
-
try {
|
|
75
|
-
let a = new DOMParser().parseFromString(n.responseText, "text/xml").querySelectorAll("svg")[0];
|
|
76
|
-
a ? (a = o.transformSource(a), r(a)) : t(new Error('Loaded file is not valid SVG"'));
|
|
77
|
-
} catch (a) {
|
|
78
|
-
t(a);
|
|
79
|
-
}
|
|
80
|
-
else
|
|
81
|
-
t(new Error("Error loading SVG"));
|
|
82
|
-
}), n.addEventListener("error", (a) => t(a)), n.send();
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
return T(() => E(g.value)), (e, r) => s.value ? (H(), L("svg", N({
|
|
86
|
-
key: 0,
|
|
87
|
-
ref_key: "svgElem",
|
|
88
|
-
ref: c,
|
|
89
|
-
class: "m-icon m-reset-css",
|
|
90
|
-
width: "1em",
|
|
91
|
-
height: "1em"
|
|
92
|
-
}, {
|
|
93
|
-
...S(s.value),
|
|
94
|
-
...h(e.$attrs)
|
|
95
|
-
}, {
|
|
96
|
-
style: `font-size: ${l.size}`,
|
|
97
|
-
innerHTML: w(s.value)
|
|
98
|
-
}), null, 16, P)) : k("v-if", !0);
|
|
99
|
-
}
|
|
100
|
-
});
|
|
101
|
-
export {
|
|
102
|
-
G as default
|
|
103
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { defineComponent as t, createElementBlock as o, openBlock as n, normalizeClass as r, createElementVNode as l } from "vue";
|
|
2
|
-
import { s as a } from "./index-Erdp4QgI.mjs";
|
|
3
|
-
const p = ["width", "height"], i = /* @__PURE__ */ t({
|
|
4
|
-
__name: "MazSpinner",
|
|
5
|
-
props: {
|
|
6
|
-
size: { default: "2em" },
|
|
7
|
-
color: { default: "theme" }
|
|
8
|
-
},
|
|
9
|
-
setup(m) {
|
|
10
|
-
return (e, s) => (n(), o("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-reset-css", `m-spinner--${e.color}`]),
|
|
20
|
-
style: { "enable-background": "new 0 0 50 50" }
|
|
21
|
-
}, s[0] || (s[0] = [
|
|
22
|
-
l(
|
|
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, p));
|
|
30
|
-
}
|
|
31
|
-
}), h = /* @__PURE__ */ a(i, [["__scopeId", "data-v-52831d3b"]]);
|
|
32
|
-
export {
|
|
33
|
-
h as default
|
|
34
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { createElementBlock as o, openBlock as r, createElementVNode as t } from "vue";
|
|
2
|
-
const n = {
|
|
3
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
-
width: "1em",
|
|
5
|
-
height: "1em",
|
|
6
|
-
fill: "none",
|
|
7
|
-
viewBox: "0 0 24 24"
|
|
8
|
-
};
|
|
9
|
-
function l(i, e) {
|
|
10
|
-
return r(), o("svg", n, e[0] || (e[0] = [
|
|
11
|
-
t(
|
|
12
|
-
"path",
|
|
13
|
-
{
|
|
14
|
-
stroke: "currentColor",
|
|
15
|
-
"stroke-linecap": "round",
|
|
16
|
-
"stroke-linejoin": "round",
|
|
17
|
-
"stroke-width": "1.5",
|
|
18
|
-
d: "m4.5 12.75 6 6 9-13.5"
|
|
19
|
-
},
|
|
20
|
-
null,
|
|
21
|
-
-1
|
|
22
|
-
/* HOISTED */
|
|
23
|
-
)
|
|
24
|
-
]));
|
|
25
|
-
}
|
|
26
|
-
const c = { render: l };
|
|
27
|
-
export {
|
|
28
|
-
c as default,
|
|
29
|
-
l as render
|
|
30
|
-
};
|
|
File without changes
|
|
@@ -1,4 +0,0 @@
|
|
|
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
|
-
};
|
|
File without changes
|
|
File without changes
|