@mobileaction/action-kit 1.58.12-beta.20260410074915 → 1.58.12-beta.20260410105436
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/action-kit.mjs
CHANGED
|
@@ -6105,7 +6105,7 @@ var St = /* @__PURE__ */ y({
|
|
|
6105
6105
|
function a() {
|
|
6106
6106
|
i.value = !1;
|
|
6107
6107
|
}
|
|
6108
|
-
return (e, o) => (I(), d(U(
|
|
6108
|
+
return (e, o) => (I(), d(U(vm), D({
|
|
6109
6109
|
visible: i.value,
|
|
6110
6110
|
"onUpdate:visible": o[0] ||= (e) => i.value = e
|
|
6111
6111
|
}, n.value, {
|
|
@@ -14419,7 +14419,7 @@ var _c = [
|
|
|
14419
14419
|
return L("optionsRegistry", c), L("selectOption", G), L("selectedValues", M), L("multiple", r.multiple), t({ setSearchValue: Se }), K(u, async () => {
|
|
14420
14420
|
a("dropdownVisibleChange", u.value), u.value && o?.default && O(_e);
|
|
14421
14421
|
}), (t, n) => (I(), p("div", { class: k(ee.value) }, [
|
|
14422
|
-
_(U(
|
|
14422
|
+
_(U(vm), D({ visible: u.value }, se.value, {
|
|
14423
14423
|
disabled: ie.value,
|
|
14424
14424
|
"no-auto-focus": !0,
|
|
14425
14425
|
"dispose-timeout": -1,
|
|
@@ -14462,7 +14462,7 @@ var _c = [
|
|
|
14462
14462
|
active: i,
|
|
14463
14463
|
"data-index": n
|
|
14464
14464
|
}, {
|
|
14465
|
-
default: q(() => [(I(), d(U(
|
|
14465
|
+
default: q(() => [(I(), d(U(vh), {
|
|
14466
14466
|
key: n,
|
|
14467
14467
|
"checkbox-display": r.checkboxPosition,
|
|
14468
14468
|
"hide-check-icon": r.hideCheckIcon,
|
|
@@ -16644,10 +16644,31 @@ function zd(e) {
|
|
|
16644
16644
|
};
|
|
16645
16645
|
}
|
|
16646
16646
|
//#endregion
|
|
16647
|
+
//#region src/components/input-2/composables/useInputAttrs.ts
|
|
16648
|
+
function Bd() {
|
|
16649
|
+
let e = W();
|
|
16650
|
+
return {
|
|
16651
|
+
wrapperAttrs: l(() => {
|
|
16652
|
+
let t = {};
|
|
16653
|
+
for (let n in e) Vd(n) && (t[n] = e[n]);
|
|
16654
|
+
return t;
|
|
16655
|
+
}),
|
|
16656
|
+
inputAttrs: l(() => {
|
|
16657
|
+
let t = {};
|
|
16658
|
+
for (let n in e) Vd(n) || (t[n] = e[n]);
|
|
16659
|
+
return t;
|
|
16660
|
+
})
|
|
16661
|
+
};
|
|
16662
|
+
}
|
|
16663
|
+
function Vd(e) {
|
|
16664
|
+
return e === "class" || e === "style" ? !0 : e.length > 2 && e.startsWith("on") && e[2] >= "A" && e[2] <= "Z";
|
|
16665
|
+
}
|
|
16666
|
+
//#endregion
|
|
16647
16667
|
//#region src/components/input-2/composables/useInput.ts
|
|
16648
|
-
function
|
|
16668
|
+
function Hd(e, t) {
|
|
16649
16669
|
let n = R(!1), r = R(null), i = ce(), a = l(() => e.id || i), o = l(() => ({
|
|
16650
16670
|
id: a.value,
|
|
16671
|
+
autocomplete: e.autocomplete ?? "off",
|
|
16651
16672
|
disabled: e.disabled,
|
|
16652
16673
|
readonly: e.readonly,
|
|
16653
16674
|
"aria-invalid": e.error || void 0,
|
|
@@ -16670,19 +16691,19 @@ function Bd(e, t) {
|
|
|
16670
16691
|
}
|
|
16671
16692
|
//#endregion
|
|
16672
16693
|
//#region src/components/input-2/MaInputBase.vue?vue&type=script&setup=true&lang.ts
|
|
16673
|
-
var
|
|
16694
|
+
var Ud = { class: "ma-input__container" }, Wd = {
|
|
16674
16695
|
key: 0,
|
|
16675
16696
|
class: "ma-input__addon ma-input__addon--before"
|
|
16676
|
-
},
|
|
16697
|
+
}, Gd = { class: "ma-input__wrapper" }, Kd = {
|
|
16677
16698
|
key: 0,
|
|
16678
16699
|
class: "ma-input__prefix"
|
|
16679
|
-
},
|
|
16700
|
+
}, qd = {
|
|
16680
16701
|
key: 1,
|
|
16681
16702
|
class: "ma-input__suffix"
|
|
16682
|
-
},
|
|
16703
|
+
}, Jd = ["aria-label"], Yd = {
|
|
16683
16704
|
key: 1,
|
|
16684
16705
|
class: "ma-input__addon ma-input__addon--after"
|
|
16685
|
-
},
|
|
16706
|
+
}, Xd = /* @__PURE__ */ y({
|
|
16686
16707
|
name: "MaInputBase",
|
|
16687
16708
|
inheritAttrs: !1,
|
|
16688
16709
|
__name: "MaInputBase",
|
|
@@ -16733,16 +16754,16 @@ var Vd = { class: "ma-input__container" }, Hd = {
|
|
|
16733
16754
|
function s() {
|
|
16734
16755
|
n.disabled || n.readonly || r("clear");
|
|
16735
16756
|
}
|
|
16736
|
-
return (t, r) => (I(), p("div", D({ class: o.value }, n.wrapperProps), [m("div",
|
|
16737
|
-
U(i).addonBefore ? (I(), p("div",
|
|
16738
|
-
m("div",
|
|
16739
|
-
e.prefixIcon || U(i).prefix ? (I(), p("div",
|
|
16757
|
+
return (t, r) => (I(), p("div", D({ class: o.value }, n.wrapperProps), [m("div", Ud, [
|
|
16758
|
+
U(i).addonBefore ? (I(), p("div", Wd, [B(t.$slots, "addonBefore")])) : f("", !0),
|
|
16759
|
+
m("div", Gd, [
|
|
16760
|
+
e.prefixIcon || U(i).prefix ? (I(), p("div", Kd, [B(t.$slots, "prefix", {}, () => [e.prefixIcon ? (I(), d(X, {
|
|
16740
16761
|
key: 0,
|
|
16741
16762
|
name: e.prefixIcon,
|
|
16742
16763
|
size: "sm"
|
|
16743
16764
|
}, null, 8, ["name"])) : f("", !0)])])) : f("", !0),
|
|
16744
16765
|
B(t.$slots, "default"),
|
|
16745
|
-
e.suffixIcon || U(i).suffix || e.clearable && e.hasValue ? (I(), p("div",
|
|
16766
|
+
e.suffixIcon || U(i).suffix || e.clearable && e.hasValue ? (I(), p("div", qd, [e.clearable && e.hasValue && !e.disabled && !e.readonly ? (I(), p("button", {
|
|
16746
16767
|
key: 0,
|
|
16747
16768
|
type: "button",
|
|
16748
16769
|
class: "ma-input__clear-btn",
|
|
@@ -16751,21 +16772,22 @@ var Vd = { class: "ma-input__container" }, Hd = {
|
|
|
16751
16772
|
}, [_(X, {
|
|
16752
16773
|
name: "close",
|
|
16753
16774
|
size: "sm"
|
|
16754
|
-
})], 8,
|
|
16775
|
+
})], 8, Jd)) : f("", !0), B(t.$slots, "suffix", {}, () => [e.suffixIcon ? (I(), d(X, {
|
|
16755
16776
|
key: 0,
|
|
16756
16777
|
name: e.suffixIcon,
|
|
16757
16778
|
size: "sm"
|
|
16758
16779
|
}, null, 8, ["name"])) : f("", !0)])])) : f("", !0)
|
|
16759
16780
|
]),
|
|
16760
|
-
U(i).addonAfter ? (I(), p("div",
|
|
16781
|
+
U(i).addonAfter ? (I(), p("div", Yd, [B(t.$slots, "addonAfter")])) : f("", !0)
|
|
16761
16782
|
])], 16));
|
|
16762
16783
|
}
|
|
16763
|
-
}),
|
|
16784
|
+
}), Zd = { class: "ma-currency-input__prefix-wrapper" }, Qd = { class: "ma-currency-input__symbol" }, $d = ["value", "placeholder"], ef = /* @__PURE__ */ y({
|
|
16764
16785
|
name: "MaCurrencyInput",
|
|
16765
16786
|
inheritAttrs: !1,
|
|
16766
16787
|
__name: "MaCurrencyInput",
|
|
16767
16788
|
props: /* @__PURE__ */ E({
|
|
16768
16789
|
id: {},
|
|
16790
|
+
autocomplete: {},
|
|
16769
16791
|
currency: { default: "USD" },
|
|
16770
16792
|
placeholder: {},
|
|
16771
16793
|
size: { default: "sm" },
|
|
@@ -16795,84 +16817,87 @@ var Vd = { class: "ma-input__container" }, Hd = {
|
|
|
16795
16817
|
"clear"
|
|
16796
16818
|
], ["update:modelValue"]),
|
|
16797
16819
|
setup(e, { expose: t, emit: n }) {
|
|
16798
|
-
let r = e, i = n, a = le(e, "modelValue"), { format: o, parsePasted: s, currencySymbol: c, separators: u, resolvedFractionDigits: p } = zd({ currency: oe(() => r.currency) }), { isFocused: g, inputEl: _, inputBindings: v, onFocus: y, onBlur: b } =
|
|
16799
|
-
|
|
16820
|
+
let r = e, i = n, a = le(e, "modelValue"), { format: o, parsePasted: s, currencySymbol: c, separators: u, resolvedFractionDigits: p } = zd({ currency: oe(() => r.currency) }), { isFocused: g, inputEl: _, inputBindings: v, onFocus: y, onBlur: b } = Hd(r, i), { wrapperAttrs: x, inputAttrs: S } = Bd(), C = l(() => ({
|
|
16821
|
+
...x.value,
|
|
16822
|
+
...r.wrapperProps
|
|
16823
|
+
})), w = R(a.value == null ? "" : o(a.value)), T = l(() => a.value !== null);
|
|
16824
|
+
function E(e) {
|
|
16800
16825
|
let t = e.target, n = jd(t.value, u.value.decimal, u.value.group);
|
|
16801
16826
|
if (t.value !== n) {
|
|
16802
16827
|
let e = t.value.length - n.length, r = (t.selectionStart ?? n.length) - e;
|
|
16803
16828
|
t.value = n, t.setSelectionRange(r, r);
|
|
16804
16829
|
}
|
|
16805
|
-
|
|
16830
|
+
w.value = n;
|
|
16806
16831
|
}
|
|
16807
|
-
function
|
|
16832
|
+
function O(e) {
|
|
16808
16833
|
let t = e.clipboardData?.getData("text")?.trim();
|
|
16809
16834
|
if (!t) return;
|
|
16810
16835
|
e.preventDefault();
|
|
16811
16836
|
let n = s(t);
|
|
16812
16837
|
if (Number.isNaN(n)) return;
|
|
16813
16838
|
let r = Nd(n, p.value);
|
|
16814
|
-
a.value = r,
|
|
16839
|
+
a.value = r, w.value = o(r);
|
|
16815
16840
|
}
|
|
16816
|
-
function
|
|
16817
|
-
let e =
|
|
16841
|
+
function k() {
|
|
16842
|
+
let e = w.value.trim();
|
|
16818
16843
|
if (e) {
|
|
16819
16844
|
let t = Md(e, u.value.decimal, u.value.group);
|
|
16820
|
-
if (Number.isNaN(t)) a.value = null,
|
|
16845
|
+
if (Number.isNaN(t)) a.value = null, w.value = "";
|
|
16821
16846
|
else {
|
|
16822
16847
|
let e = Nd(t, p.value);
|
|
16823
|
-
a.value = e,
|
|
16848
|
+
a.value = e, w.value = o(e);
|
|
16824
16849
|
}
|
|
16825
|
-
} else a.value = null,
|
|
16850
|
+
} else a.value = null, w.value = "";
|
|
16826
16851
|
}
|
|
16827
|
-
function
|
|
16828
|
-
|
|
16852
|
+
function A() {
|
|
16853
|
+
k();
|
|
16829
16854
|
}
|
|
16830
|
-
function
|
|
16831
|
-
|
|
16855
|
+
function j(e) {
|
|
16856
|
+
k(), b(e);
|
|
16832
16857
|
}
|
|
16833
|
-
function
|
|
16834
|
-
a.value = null,
|
|
16858
|
+
function M() {
|
|
16859
|
+
a.value = null, w.value = "", i("clear"), _.value?.focus();
|
|
16835
16860
|
}
|
|
16836
16861
|
return K([a, () => r.currency], () => {
|
|
16837
|
-
g.value || (
|
|
16862
|
+
g.value || (w.value = a.value == null ? "" : o(a.value));
|
|
16838
16863
|
}), t({
|
|
16839
16864
|
focus: () => _.value?.focus(),
|
|
16840
16865
|
blur: () => _.value?.blur()
|
|
16841
|
-
}), (e, t) => (I(), d(
|
|
16866
|
+
}), (e, t) => (I(), d(Xd, {
|
|
16842
16867
|
size: r.size,
|
|
16843
16868
|
focused: U(g),
|
|
16844
16869
|
disabled: r.disabled,
|
|
16845
16870
|
readonly: r.readonly,
|
|
16846
16871
|
error: r.error,
|
|
16847
16872
|
clearable: r.clearable,
|
|
16848
|
-
"has-value":
|
|
16873
|
+
"has-value": T.value,
|
|
16849
16874
|
"suffix-icon": r.suffixIcon,
|
|
16850
|
-
"wrapper-props":
|
|
16851
|
-
onClear:
|
|
16875
|
+
"wrapper-props": C.value,
|
|
16876
|
+
onClear: M
|
|
16852
16877
|
}, h({
|
|
16853
|
-
prefix: q(() => [m("div",
|
|
16878
|
+
prefix: q(() => [m("div", Zd, [r.prefixIcon ? (I(), d(X, {
|
|
16854
16879
|
key: 0,
|
|
16855
16880
|
name: r.prefixIcon,
|
|
16856
16881
|
size: "sm",
|
|
16857
16882
|
class: "ma-currency-input__prefix-icon"
|
|
16858
|
-
}, null, 8, ["name"])) : f("", !0), m("span",
|
|
16883
|
+
}, null, 8, ["name"])) : f("", !0), m("span", Qd, H(U(c)), 1)])]),
|
|
16859
16884
|
default: q(() => [m("input", D({
|
|
16860
16885
|
ref_key: "inputEl",
|
|
16861
16886
|
ref: _
|
|
16862
16887
|
}, {
|
|
16863
|
-
...
|
|
16888
|
+
...U(S),
|
|
16864
16889
|
...U(v)
|
|
16865
16890
|
}, {
|
|
16866
|
-
value:
|
|
16891
|
+
value: w.value,
|
|
16867
16892
|
placeholder: r.placeholder,
|
|
16868
16893
|
type: "text",
|
|
16869
16894
|
inputmode: "decimal",
|
|
16870
|
-
onInput:
|
|
16871
|
-
onPaste:
|
|
16895
|
+
onInput: E,
|
|
16896
|
+
onPaste: O,
|
|
16872
16897
|
onFocus: t[0] ||= (...e) => U(y) && U(y)(...e),
|
|
16873
|
-
onBlur:
|
|
16874
|
-
onKeydown: ge(
|
|
16875
|
-
}), null, 16,
|
|
16898
|
+
onBlur: j,
|
|
16899
|
+
onKeydown: ge(A, ["enter"])
|
|
16900
|
+
}), null, 16, $d)]),
|
|
16876
16901
|
_: 2
|
|
16877
16902
|
}, [
|
|
16878
16903
|
e.$slots.suffix ? {
|
|
@@ -16902,9 +16927,9 @@ var Vd = { class: "ma-input__container" }, Hd = {
|
|
|
16902
16927
|
"wrapper-props"
|
|
16903
16928
|
]));
|
|
16904
16929
|
}
|
|
16905
|
-
}),
|
|
16906
|
-
function
|
|
16907
|
-
let t = l(() => se(e.locale) ??
|
|
16930
|
+
}), tf = "en-US";
|
|
16931
|
+
function nf(e) {
|
|
16932
|
+
let t = l(() => se(e.locale) ?? tf), n = l(() => se(e.precision)), r = l(() => se(e.formatter)), i = l(() => se(e.parser)), a = l(() => {
|
|
16908
16933
|
let e = n.value, r = {
|
|
16909
16934
|
style: "decimal",
|
|
16910
16935
|
...e !== void 0 && {
|
|
@@ -16915,7 +16940,7 @@ function ef(e) {
|
|
|
16915
16940
|
try {
|
|
16916
16941
|
return new Intl.NumberFormat(t.value, r);
|
|
16917
16942
|
} catch {
|
|
16918
|
-
return new Intl.NumberFormat(
|
|
16943
|
+
return new Intl.NumberFormat(tf, r);
|
|
16919
16944
|
}
|
|
16920
16945
|
}), o = l(() => Ad(a.value));
|
|
16921
16946
|
function s(e) {
|
|
@@ -16934,12 +16959,13 @@ function ef(e) {
|
|
|
16934
16959
|
}
|
|
16935
16960
|
//#endregion
|
|
16936
16961
|
//#region src/components/input-2/number-input/MaNumberInput.vue?vue&type=script&setup=true&lang.ts
|
|
16937
|
-
var
|
|
16962
|
+
var rf = ["value", "placeholder"], af = /* @__PURE__ */ y({
|
|
16938
16963
|
name: "MaNumberInput",
|
|
16939
16964
|
inheritAttrs: !1,
|
|
16940
16965
|
__name: "MaNumberInput",
|
|
16941
16966
|
props: /* @__PURE__ */ E({
|
|
16942
16967
|
id: {},
|
|
16968
|
+
autocomplete: {},
|
|
16943
16969
|
placeholder: {},
|
|
16944
16970
|
min: {},
|
|
16945
16971
|
max: {},
|
|
@@ -16975,96 +17001,99 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
16975
17001
|
"clear"
|
|
16976
17002
|
], ["update:modelValue"]),
|
|
16977
17003
|
setup(e, { expose: t, emit: n }) {
|
|
16978
|
-
let r = e, i = n, a = le(e, "modelValue"), { isFocused: o, inputEl: s, inputBindings: c, onFocus: u, onBlur: f } =
|
|
17004
|
+
let r = e, i = n, a = le(e, "modelValue"), { isFocused: o, inputEl: s, inputBindings: c, onFocus: u, onBlur: f } = Hd(r, i), { wrapperAttrs: p, inputAttrs: g } = Bd(), _ = l(() => ({
|
|
17005
|
+
...p.value,
|
|
17006
|
+
...r.wrapperProps
|
|
17007
|
+
})), { format: v, parse: y, separators: b } = nf({
|
|
16979
17008
|
locale: r.locale,
|
|
16980
17009
|
precision: r.precision,
|
|
16981
17010
|
formatter: r.formatter,
|
|
16982
17011
|
parser: r.parser
|
|
16983
17012
|
});
|
|
16984
|
-
function
|
|
17013
|
+
function x(e) {
|
|
16985
17014
|
let t = e;
|
|
16986
17015
|
return r.min !== void 0 && (t = Math.max(r.min, t)), r.max !== void 0 && (t = Math.min(r.max, t)), t;
|
|
16987
17016
|
}
|
|
16988
|
-
function
|
|
17017
|
+
function S(e) {
|
|
16989
17018
|
return r.precision === void 0 ? e : Nd(e, r.precision);
|
|
16990
17019
|
}
|
|
16991
|
-
function
|
|
16992
|
-
return
|
|
17020
|
+
function C(e) {
|
|
17021
|
+
return S(x(e));
|
|
16993
17022
|
}
|
|
16994
|
-
let
|
|
17023
|
+
let w = R(a.value === null ? "" : v(a.value)), T = l(() => a.value !== null);
|
|
16995
17024
|
K([
|
|
16996
17025
|
a,
|
|
16997
17026
|
() => r.locale,
|
|
16998
17027
|
() => r.precision
|
|
16999
17028
|
], ([e]) => {
|
|
17000
|
-
o.value || (
|
|
17029
|
+
o.value || (w.value = e === null ? "" : v(e));
|
|
17001
17030
|
});
|
|
17002
|
-
function
|
|
17003
|
-
let t = e.target, n = jd(t.value,
|
|
17031
|
+
function E(e) {
|
|
17032
|
+
let t = e.target, n = jd(t.value, b.value.decimal, b.value.group);
|
|
17004
17033
|
if (t.value !== n) {
|
|
17005
17034
|
let e = t.value.length - n.length, r = (t.selectionStart ?? n.length) - e;
|
|
17006
17035
|
t.value = n, t.setSelectionRange(r, r);
|
|
17007
17036
|
}
|
|
17008
|
-
|
|
17037
|
+
w.value = n;
|
|
17009
17038
|
}
|
|
17010
|
-
function
|
|
17039
|
+
function O(e) {
|
|
17011
17040
|
if (e.key !== "ArrowUp" && e.key !== "ArrowDown") return;
|
|
17012
17041
|
e.preventDefault();
|
|
17013
|
-
let t = e.key === "ArrowUp" ? r.step : -r.step, n =
|
|
17014
|
-
a.value = n,
|
|
17042
|
+
let t = e.key === "ArrowUp" ? r.step : -r.step, n = C((a.value ?? 0) + t);
|
|
17043
|
+
a.value = n, w.value = v(n);
|
|
17015
17044
|
}
|
|
17016
|
-
function
|
|
17017
|
-
let e =
|
|
17045
|
+
function k() {
|
|
17046
|
+
let e = w.value.trim();
|
|
17018
17047
|
if (!e) {
|
|
17019
|
-
a.value = null,
|
|
17048
|
+
a.value = null, w.value = "";
|
|
17020
17049
|
return;
|
|
17021
17050
|
}
|
|
17022
|
-
let t =
|
|
17051
|
+
let t = y(e);
|
|
17023
17052
|
if (t === null) {
|
|
17024
|
-
a.value = null,
|
|
17053
|
+
a.value = null, w.value = "";
|
|
17025
17054
|
return;
|
|
17026
17055
|
}
|
|
17027
|
-
let n =
|
|
17028
|
-
a.value = n,
|
|
17056
|
+
let n = C(t);
|
|
17057
|
+
a.value = n, w.value = v(n);
|
|
17029
17058
|
}
|
|
17030
|
-
function
|
|
17031
|
-
|
|
17059
|
+
function A(e) {
|
|
17060
|
+
k(), f(e);
|
|
17032
17061
|
}
|
|
17033
|
-
function
|
|
17034
|
-
a.value = null,
|
|
17062
|
+
function j() {
|
|
17063
|
+
a.value = null, w.value = "", i("clear"), s.value?.focus();
|
|
17035
17064
|
}
|
|
17036
17065
|
return t({
|
|
17037
17066
|
focus: () => s.value?.focus(),
|
|
17038
17067
|
blur: () => s.value?.blur()
|
|
17039
|
-
}), (e, t) => (I(), d(
|
|
17068
|
+
}), (e, t) => (I(), d(Xd, {
|
|
17040
17069
|
size: r.size,
|
|
17041
17070
|
focused: U(o),
|
|
17042
17071
|
disabled: r.disabled,
|
|
17043
17072
|
readonly: r.readonly,
|
|
17044
17073
|
error: r.error,
|
|
17045
17074
|
clearable: r.clearable,
|
|
17046
|
-
"has-value":
|
|
17075
|
+
"has-value": T.value,
|
|
17047
17076
|
"prefix-icon": r.prefixIcon,
|
|
17048
17077
|
"suffix-icon": r.suffixIcon,
|
|
17049
|
-
"wrapper-props":
|
|
17050
|
-
onClear:
|
|
17078
|
+
"wrapper-props": _.value,
|
|
17079
|
+
onClear: j
|
|
17051
17080
|
}, h({
|
|
17052
17081
|
default: q(() => [m("input", D({
|
|
17053
17082
|
ref_key: "inputEl",
|
|
17054
17083
|
ref: s
|
|
17055
17084
|
}, {
|
|
17056
|
-
...
|
|
17085
|
+
...U(g),
|
|
17057
17086
|
...U(c)
|
|
17058
17087
|
}, {
|
|
17059
|
-
value:
|
|
17088
|
+
value: w.value,
|
|
17060
17089
|
placeholder: r.placeholder,
|
|
17061
17090
|
type: "text",
|
|
17062
17091
|
inputmode: "decimal",
|
|
17063
|
-
onInput:
|
|
17064
|
-
onKeydown: [
|
|
17092
|
+
onInput: E,
|
|
17093
|
+
onKeydown: [O, ge(k, ["enter"])],
|
|
17065
17094
|
onFocus: t[0] ||= (...e) => U(u) && U(u)(...e),
|
|
17066
|
-
onBlur:
|
|
17067
|
-
}), null, 16,
|
|
17095
|
+
onBlur: A
|
|
17096
|
+
}), null, 16, rf)]),
|
|
17068
17097
|
_: 2
|
|
17069
17098
|
}, [
|
|
17070
17099
|
e.$slots.prefix ? {
|
|
@@ -17100,12 +17129,13 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17100
17129
|
"wrapper-props"
|
|
17101
17130
|
]));
|
|
17102
17131
|
}
|
|
17103
|
-
}),
|
|
17132
|
+
}), of = ["type", "placeholder"], sf = ["aria-label", "aria-pressed"], cf = /* @__PURE__ */ y({
|
|
17104
17133
|
name: "MaPasswordInput",
|
|
17105
17134
|
inheritAttrs: !1,
|
|
17106
17135
|
__name: "MaPasswordInput",
|
|
17107
17136
|
props: /* @__PURE__ */ E({
|
|
17108
17137
|
id: {},
|
|
17138
|
+
autocomplete: {},
|
|
17109
17139
|
placeholder: {},
|
|
17110
17140
|
size: { default: "sm" },
|
|
17111
17141
|
disabled: {
|
|
@@ -17134,17 +17164,20 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17134
17164
|
"clear"
|
|
17135
17165
|
], ["update:modelValue"]),
|
|
17136
17166
|
setup(e, { expose: t, emit: n }) {
|
|
17137
|
-
let r = e, i = n, a = le(e, "modelValue"), o = ft(), { isFocused: s, inputEl: c, inputBindings: u, onFocus: g, onBlur: v } =
|
|
17138
|
-
|
|
17139
|
-
|
|
17167
|
+
let r = e, i = n, a = le(e, "modelValue"), o = ft(), { isFocused: s, inputEl: c, inputBindings: u, onFocus: g, onBlur: v } = Hd(r, i), { wrapperAttrs: y, inputAttrs: b } = Bd(), x = l(() => ({
|
|
17168
|
+
...y.value,
|
|
17169
|
+
...r.wrapperProps
|
|
17170
|
+
})), S = R(!1), C = l(() => S.value ? "text" : "password");
|
|
17171
|
+
function w() {
|
|
17172
|
+
S.value = !S.value;
|
|
17140
17173
|
}
|
|
17141
|
-
function
|
|
17174
|
+
function T() {
|
|
17142
17175
|
a.value = "", i("clear"), c.value?.focus();
|
|
17143
17176
|
}
|
|
17144
17177
|
return t({
|
|
17145
17178
|
focus: () => c.value?.focus(),
|
|
17146
17179
|
blur: () => c.value?.blur()
|
|
17147
|
-
}), (e, t) => (I(), d(
|
|
17180
|
+
}), (e, t) => (I(), d(Xd, {
|
|
17148
17181
|
size: r.size,
|
|
17149
17182
|
focused: U(s),
|
|
17150
17183
|
disabled: r.disabled,
|
|
@@ -17153,20 +17186,20 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17153
17186
|
clearable: r.clearable,
|
|
17154
17187
|
"has-value": !!a.value,
|
|
17155
17188
|
"prefix-icon": r.prefixIcon,
|
|
17156
|
-
"wrapper-props":
|
|
17157
|
-
onClear:
|
|
17189
|
+
"wrapper-props": x.value,
|
|
17190
|
+
onClear: T
|
|
17158
17191
|
}, h({
|
|
17159
17192
|
suffix: q(() => [B(e.$slots, "suffix"), !r.disabled && !r.readonly ? (I(), p("button", {
|
|
17160
17193
|
key: 0,
|
|
17161
17194
|
type: "button",
|
|
17162
17195
|
class: "ma-password-input__toggle",
|
|
17163
|
-
"aria-label":
|
|
17164
|
-
"aria-pressed":
|
|
17165
|
-
onClick:
|
|
17196
|
+
"aria-label": S.value ? U(o).config.locale.aria.hidePassword : U(o).config.locale.aria.showPassword,
|
|
17197
|
+
"aria-pressed": S.value,
|
|
17198
|
+
onClick: w
|
|
17166
17199
|
}, [_(X, {
|
|
17167
|
-
name:
|
|
17200
|
+
name: S.value ? "eye" : "eye-slash",
|
|
17168
17201
|
size: "sm"
|
|
17169
|
-
}, null, 8, ["name"])], 8,
|
|
17202
|
+
}, null, 8, ["name"])], 8, sf)) : r.suffixIcon ? (I(), d(X, {
|
|
17170
17203
|
key: 1,
|
|
17171
17204
|
name: r.suffixIcon,
|
|
17172
17205
|
size: "sm"
|
|
@@ -17176,14 +17209,14 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17176
17209
|
ref: c,
|
|
17177
17210
|
"onUpdate:modelValue": t[0] ||= (e) => a.value = e
|
|
17178
17211
|
}, {
|
|
17179
|
-
...
|
|
17212
|
+
...U(b),
|
|
17180
17213
|
...U(u)
|
|
17181
17214
|
}, {
|
|
17182
|
-
type:
|
|
17215
|
+
type: C.value,
|
|
17183
17216
|
placeholder: r.placeholder,
|
|
17184
17217
|
onFocus: t[1] ||= (...e) => U(g) && U(g)(...e),
|
|
17185
17218
|
onBlur: t[2] ||= (...e) => U(v) && U(v)(...e)
|
|
17186
|
-
}), null, 16,
|
|
17219
|
+
}), null, 16, of), [[fe, a.value]])]),
|
|
17187
17220
|
_: 2
|
|
17188
17221
|
}, [
|
|
17189
17222
|
e.$slots.prefix ? {
|
|
@@ -17213,12 +17246,13 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17213
17246
|
"wrapper-props"
|
|
17214
17247
|
]));
|
|
17215
17248
|
}
|
|
17216
|
-
}),
|
|
17249
|
+
}), lf = ["placeholder"], uf = /* @__PURE__ */ y({
|
|
17217
17250
|
name: "MaTextInput",
|
|
17218
17251
|
inheritAttrs: !1,
|
|
17219
17252
|
__name: "MaTextInput",
|
|
17220
17253
|
props: /* @__PURE__ */ E({
|
|
17221
17254
|
id: {},
|
|
17255
|
+
autocomplete: {},
|
|
17222
17256
|
placeholder: {},
|
|
17223
17257
|
size: { default: "sm" },
|
|
17224
17258
|
disabled: {
|
|
@@ -17247,14 +17281,17 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17247
17281
|
"clear"
|
|
17248
17282
|
], ["update:modelValue"]),
|
|
17249
17283
|
setup(e, { expose: t, emit: n }) {
|
|
17250
|
-
let r = e, i = n, a = le(e, "modelValue"), { isFocused: o, inputEl: s, inputBindings: c, onFocus:
|
|
17251
|
-
|
|
17284
|
+
let r = e, i = n, a = le(e, "modelValue"), { isFocused: o, inputEl: s, inputBindings: c, onFocus: u, onBlur: f } = Hd(r, i), { wrapperAttrs: p, inputAttrs: g } = Bd(), _ = l(() => ({
|
|
17285
|
+
...p.value,
|
|
17286
|
+
...r.wrapperProps
|
|
17287
|
+
}));
|
|
17288
|
+
function v() {
|
|
17252
17289
|
a.value = "", i("clear"), s.value?.focus();
|
|
17253
17290
|
}
|
|
17254
17291
|
return t({
|
|
17255
17292
|
focus: () => s.value?.focus(),
|
|
17256
17293
|
blur: () => s.value?.blur()
|
|
17257
|
-
}), (e, t) => (I(), d(
|
|
17294
|
+
}), (e, t) => (I(), d(Xd, {
|
|
17258
17295
|
size: r.size,
|
|
17259
17296
|
focused: U(o),
|
|
17260
17297
|
disabled: r.disabled,
|
|
@@ -17264,22 +17301,22 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17264
17301
|
"has-value": !!a.value,
|
|
17265
17302
|
"prefix-icon": r.prefixIcon,
|
|
17266
17303
|
"suffix-icon": r.suffixIcon,
|
|
17267
|
-
"wrapper-props":
|
|
17268
|
-
onClear:
|
|
17304
|
+
"wrapper-props": _.value,
|
|
17305
|
+
onClear: v
|
|
17269
17306
|
}, h({
|
|
17270
17307
|
default: q(() => [J(m("input", D({
|
|
17271
17308
|
ref_key: "inputEl",
|
|
17272
17309
|
ref: s,
|
|
17273
17310
|
"onUpdate:modelValue": t[0] ||= (e) => a.value = e
|
|
17274
17311
|
}, {
|
|
17275
|
-
...
|
|
17312
|
+
...U(g),
|
|
17276
17313
|
...U(c)
|
|
17277
17314
|
}, {
|
|
17278
17315
|
placeholder: r.placeholder,
|
|
17279
17316
|
type: "text",
|
|
17280
|
-
onFocus: t[1] ||= (...e) => U(
|
|
17281
|
-
onBlur: t[2] ||= (...e) => U(
|
|
17282
|
-
}), null, 16,
|
|
17317
|
+
onFocus: t[1] ||= (...e) => U(u) && U(u)(...e),
|
|
17318
|
+
onBlur: t[2] ||= (...e) => U(f) && U(f)(...e)
|
|
17319
|
+
}), null, 16, lf), [[pe, a.value]])]),
|
|
17283
17320
|
_: 2
|
|
17284
17321
|
}, [
|
|
17285
17322
|
e.$slots.prefix ? {
|
|
@@ -17315,12 +17352,13 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17315
17352
|
"wrapper-props"
|
|
17316
17353
|
]));
|
|
17317
17354
|
}
|
|
17318
|
-
}),
|
|
17355
|
+
}), df = ["rows", "placeholder"], ff = /* @__PURE__ */ y({
|
|
17319
17356
|
name: "MaTextarea",
|
|
17320
17357
|
inheritAttrs: !1,
|
|
17321
17358
|
__name: "MaTextarea",
|
|
17322
17359
|
props: /* @__PURE__ */ E({
|
|
17323
17360
|
id: {},
|
|
17361
|
+
autocomplete: {},
|
|
17324
17362
|
placeholder: {},
|
|
17325
17363
|
rows: { default: 3 },
|
|
17326
17364
|
maxRows: {},
|
|
@@ -17355,35 +17393,35 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17355
17393
|
"clear"
|
|
17356
17394
|
], ["update:modelValue"]),
|
|
17357
17395
|
setup(e, { expose: t, emit: n }) {
|
|
17358
|
-
let r = e, i = n, a = le(e, "modelValue"), { isFocused: o, inputEl: s, inputBindings: c, onFocus: u, onBlur: p } =
|
|
17396
|
+
let r = e, i = n, a = le(e, "modelValue"), { isFocused: o, inputEl: s, inputBindings: c, onFocus: u, onBlur: p } = Hd(r, i), { wrapperAttrs: g, inputAttrs: _ } = Bd(), v = {
|
|
17359
17397
|
sm: 16,
|
|
17360
17398
|
md: 20,
|
|
17361
17399
|
lg: 20
|
|
17362
|
-
},
|
|
17400
|
+
}, y = l(() => {
|
|
17363
17401
|
if (!r.autoResize || !r.maxRows) return;
|
|
17364
|
-
let e =
|
|
17402
|
+
let e = v[r.size || "sm"] ?? 20;
|
|
17365
17403
|
return r.maxRows * e;
|
|
17366
17404
|
});
|
|
17367
|
-
function
|
|
17405
|
+
function b() {
|
|
17368
17406
|
let e = s.value;
|
|
17369
17407
|
if (!e || !r.autoResize) return;
|
|
17370
17408
|
e.style.height = "auto";
|
|
17371
17409
|
let t = e.scrollHeight;
|
|
17372
|
-
e.style.height =
|
|
17410
|
+
e.style.height = y.value ? `${Math.min(t, y.value)}px` : `${t}px`;
|
|
17373
17411
|
}
|
|
17374
17412
|
P(() => {
|
|
17375
|
-
r.autoResize &&
|
|
17413
|
+
r.autoResize && b();
|
|
17376
17414
|
}), K(a, () => {
|
|
17377
|
-
r.autoResize && O(
|
|
17415
|
+
r.autoResize && O(b);
|
|
17378
17416
|
});
|
|
17379
|
-
function
|
|
17417
|
+
function x() {
|
|
17380
17418
|
a.value = "", i("clear"), s.value?.focus();
|
|
17381
17419
|
}
|
|
17382
|
-
let
|
|
17420
|
+
let S = l(() => ["ma-textarea", { "ma-textarea--auto-resize": r.autoResize }]);
|
|
17383
17421
|
return t({
|
|
17384
17422
|
focus: () => s.value?.focus(),
|
|
17385
17423
|
blur: () => s.value?.blur()
|
|
17386
|
-
}), (e, t) => (I(), d(
|
|
17424
|
+
}), (e, t) => (I(), d(Xd, {
|
|
17387
17425
|
size: r.size,
|
|
17388
17426
|
focused: U(o),
|
|
17389
17427
|
disabled: r.disabled,
|
|
@@ -17394,17 +17432,22 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17394
17432
|
"prefix-icon": r.prefixIcon,
|
|
17395
17433
|
"suffix-icon": r.suffixIcon,
|
|
17396
17434
|
"wrapper-props": {
|
|
17435
|
+
...U(g),
|
|
17397
17436
|
...r.wrapperProps,
|
|
17398
|
-
class: [
|
|
17437
|
+
class: [
|
|
17438
|
+
S.value,
|
|
17439
|
+
U(g).class,
|
|
17440
|
+
r.wrapperProps?.class
|
|
17441
|
+
]
|
|
17399
17442
|
},
|
|
17400
|
-
onClear:
|
|
17443
|
+
onClear: x
|
|
17401
17444
|
}, h({
|
|
17402
17445
|
default: q(() => [J(m("textarea", D({
|
|
17403
17446
|
ref_key: "inputEl",
|
|
17404
17447
|
ref: s,
|
|
17405
17448
|
"onUpdate:modelValue": t[0] ||= (e) => a.value = e
|
|
17406
17449
|
}, {
|
|
17407
|
-
...
|
|
17450
|
+
...U(_),
|
|
17408
17451
|
...U(c)
|
|
17409
17452
|
}, {
|
|
17410
17453
|
rows: r.rows,
|
|
@@ -17412,8 +17455,8 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17412
17455
|
style: r.autoResize || r.disabled || r.readonly ? { resize: "none" } : void 0,
|
|
17413
17456
|
onFocus: t[1] ||= (...e) => U(u) && U(u)(...e),
|
|
17414
17457
|
onBlur: t[2] ||= (...e) => U(p) && U(p)(...e),
|
|
17415
|
-
onInput:
|
|
17416
|
-
}), null, 16,
|
|
17458
|
+
onInput: b
|
|
17459
|
+
}), null, 16, df), [[pe, a.value]]), !r.autoResize && !r.disabled && !r.readonly ? (I(), d(X, {
|
|
17417
17460
|
key: 0,
|
|
17418
17461
|
name: "resize",
|
|
17419
17462
|
size: "xs",
|
|
@@ -17454,21 +17497,21 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17454
17497
|
"wrapper-props"
|
|
17455
17498
|
]));
|
|
17456
17499
|
}
|
|
17457
|
-
}),
|
|
17500
|
+
}), pf = {
|
|
17458
17501
|
sm: "sm",
|
|
17459
17502
|
md: "md",
|
|
17460
17503
|
lg: "lg"
|
|
17461
|
-
},
|
|
17504
|
+
}, mf = {
|
|
17462
17505
|
key: 0,
|
|
17463
17506
|
class: "ma-keyword-input__header"
|
|
17464
|
-
},
|
|
17507
|
+
}, hf = { class: "ma-keyword-input__header-text" }, gf = ["data-required"], _f = [
|
|
17465
17508
|
"disabled",
|
|
17466
17509
|
"placeholder",
|
|
17467
17510
|
"maxlength",
|
|
17468
17511
|
"aria-required",
|
|
17469
17512
|
"aria-invalid",
|
|
17470
17513
|
"aria-describedby"
|
|
17471
|
-
],
|
|
17514
|
+
], vf = /* @__PURE__ */ y({
|
|
17472
17515
|
name: "MaKeywordInput",
|
|
17473
17516
|
__name: "index",
|
|
17474
17517
|
props: /* @__PURE__ */ E({
|
|
@@ -17579,17 +17622,17 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17579
17622
|
function ee() {
|
|
17580
17623
|
y.value = !1;
|
|
17581
17624
|
}
|
|
17582
|
-
return (e, t) => (I(), p("div", { class: k(C.value) }, [b.value || x.value ? (I(), p("div",
|
|
17625
|
+
return (e, t) => (I(), p("div", { class: k(C.value) }, [b.value || x.value ? (I(), p("div", mf, [n.icon ? (I(), d(X, {
|
|
17583
17626
|
key: 0,
|
|
17584
17627
|
name: n.icon,
|
|
17585
17628
|
size: "sm",
|
|
17586
17629
|
class: "ma-keyword-input__header-icon"
|
|
17587
|
-
}, null, 8, ["name"])) : f("", !0), m("div",
|
|
17630
|
+
}, null, 8, ["name"])) : f("", !0), m("div", hf, [b.value ? (I(), p("label", {
|
|
17588
17631
|
key: 0,
|
|
17589
17632
|
for: c,
|
|
17590
17633
|
class: "ma-keyword-input__title",
|
|
17591
17634
|
"data-required": n.required
|
|
17592
|
-
}, [B(e.$slots, "title", {}, () => [g(H(n.title), 1)])], 8,
|
|
17635
|
+
}, [B(e.$slots, "title", {}, () => [g(H(n.title), 1)])], 8, gf)) : f("", !0), x.value ? (I(), p("span", {
|
|
17593
17636
|
key: 1,
|
|
17594
17637
|
id: u,
|
|
17595
17638
|
class: "ma-keyword-input__subtitle"
|
|
@@ -17638,7 +17681,7 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17638
17681
|
onInput: P,
|
|
17639
17682
|
onFocus: L,
|
|
17640
17683
|
onBlur: ee
|
|
17641
|
-
}), null, 16,
|
|
17684
|
+
}), null, 16, _f), [[pe, h.value]]),
|
|
17642
17685
|
a.value.length > 0 ? (I(), d(X, {
|
|
17643
17686
|
key: 0,
|
|
17644
17687
|
name: "close",
|
|
@@ -17652,7 +17695,7 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17652
17695
|
}, null, 8, ["onKeydown"])) : f("", !0)
|
|
17653
17696
|
])], 2));
|
|
17654
17697
|
}
|
|
17655
|
-
}),
|
|
17698
|
+
}), yf = /* @__PURE__ */ y({
|
|
17656
17699
|
__name: "MenuItem",
|
|
17657
17700
|
props: {
|
|
17658
17701
|
selected: {
|
|
@@ -17679,7 +17722,7 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17679
17722
|
_: 3
|
|
17680
17723
|
}, 16, ["class"]));
|
|
17681
17724
|
}
|
|
17682
|
-
}),
|
|
17725
|
+
}), bf = /* @__PURE__ */ y({
|
|
17683
17726
|
name: "MaMenu",
|
|
17684
17727
|
__name: "index",
|
|
17685
17728
|
props: {
|
|
@@ -17725,7 +17768,7 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17725
17768
|
_: 3
|
|
17726
17769
|
}, 16, ["class"]));
|
|
17727
17770
|
}
|
|
17728
|
-
}),
|
|
17771
|
+
}), xf = {
|
|
17729
17772
|
total: "Total",
|
|
17730
17773
|
itemsPerPage: "{0} / page",
|
|
17731
17774
|
page: "Page {0} of {1}",
|
|
@@ -17788,26 +17831,26 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17788
17831
|
],
|
|
17789
17832
|
reasoningLabel: "Thinking"
|
|
17790
17833
|
}
|
|
17791
|
-
},
|
|
17792
|
-
function
|
|
17834
|
+
}, Sf = { locale: xf };
|
|
17835
|
+
function Cf(e, t) {
|
|
17793
17836
|
let n = { config: ee(t) };
|
|
17794
17837
|
e.provide(dt, n);
|
|
17795
17838
|
}
|
|
17796
|
-
var
|
|
17797
|
-
|
|
17798
|
-
} },
|
|
17839
|
+
var wf = { install: (e, t) => {
|
|
17840
|
+
Cf(e, (0, ro.default)({}, Sf, t));
|
|
17841
|
+
} }, Tf = ["data-mask"], Ef = ["data-id"], Df = {
|
|
17799
17842
|
key: 0,
|
|
17800
17843
|
class: "ma-modal-2-header-wrapper"
|
|
17801
|
-
},
|
|
17844
|
+
}, Of = {
|
|
17802
17845
|
key: 0,
|
|
17803
17846
|
class: "ma-modal-2-header-title"
|
|
17804
|
-
},
|
|
17847
|
+
}, kf = {
|
|
17805
17848
|
key: 1,
|
|
17806
17849
|
class: "ma-modal-2-tabs-menu-container"
|
|
17807
|
-
},
|
|
17850
|
+
}, Af = {
|
|
17808
17851
|
key: 1,
|
|
17809
17852
|
class: "ma-modal-2-footer"
|
|
17810
|
-
},
|
|
17853
|
+
}, jf = /* @__PURE__ */ y({
|
|
17811
17854
|
inheritAttrs: !1,
|
|
17812
17855
|
__name: "MaModal",
|
|
17813
17856
|
props: {
|
|
@@ -17942,8 +17985,8 @@ var Sf = { install: (e, t) => {
|
|
|
17942
17985
|
y.value || i.tabs ? (I(), p("div", {
|
|
17943
17986
|
key: 0,
|
|
17944
17987
|
class: k(["ma-modal-2-header", { "ma-modal-2-header--no-space": n.noSpace }])
|
|
17945
|
-
}, [y.value ? (I(), p("div",
|
|
17946
|
-
B(t.$slots, "title", {}, () => [n.title ? (I(), p("span",
|
|
17988
|
+
}, [y.value ? (I(), p("div", Df, [B(t.$slots, "header", {}, () => [
|
|
17989
|
+
B(t.$slots, "title", {}, () => [n.title ? (I(), p("span", Of, H(n.title), 1)) : f("", !0)]),
|
|
17947
17990
|
n.maximizable ? (I(), d(Z, {
|
|
17948
17991
|
key: 0,
|
|
17949
17992
|
variant: "lighter",
|
|
@@ -17964,20 +18007,20 @@ var Sf = { install: (e, t) => {
|
|
|
17964
18007
|
"aria-label": "Close modal",
|
|
17965
18008
|
onClick: C
|
|
17966
18009
|
})) : f("", !0)
|
|
17967
|
-
])])) : f("", !0), i.tabs ? (I(), p("div",
|
|
18010
|
+
])])) : f("", !0), i.tabs ? (I(), p("div", kf, [B(t.$slots, "tabs")])) : f("", !0)], 2)) : f("", !0),
|
|
17968
18011
|
m("div", { class: k(["ma-modal-2-content", { "ma-modal-2-content--no-space": n.noSpace }]) }, [B(t.$slots, "default")], 2),
|
|
17969
|
-
i.footer ? (I(), p("div",
|
|
17970
|
-
], 16,
|
|
18012
|
+
i.footer ? (I(), p("div", Af, [B(t.$slots, "footer")])) : f("", !0)
|
|
18013
|
+
], 16, Ef)), [[me, n.destroyOnClose ? !0 : n.open]]) : f("", !0)]),
|
|
17971
18014
|
_: 3
|
|
17972
|
-
})], 46,
|
|
18015
|
+
})], 46, Tf)), [[me, n.destroyOnClose ? !0 : u.value]]) : f("", !0)], 8, ["to"]));
|
|
17973
18016
|
}
|
|
17974
|
-
}),
|
|
18017
|
+
}), Mf = { class: "ma-confirm-modal-2-content" }, Nf = {
|
|
17975
18018
|
key: 1,
|
|
17976
18019
|
class: "ma-confirm-modal-2-title"
|
|
17977
|
-
},
|
|
18020
|
+
}, Pf = {
|
|
17978
18021
|
key: 1,
|
|
17979
18022
|
class: "ma-confirm-modal-2-description"
|
|
17980
|
-
},
|
|
18023
|
+
}, Ff = /* @__PURE__ */ y({
|
|
17981
18024
|
__name: "MaConfirmModal",
|
|
17982
18025
|
props: {
|
|
17983
18026
|
type: { default: "info" },
|
|
@@ -18057,7 +18100,7 @@ var Sf = { install: (e, t) => {
|
|
|
18057
18100
|
color: b?.[n.type] ?? "dark",
|
|
18058
18101
|
label: i.config.locale.ok
|
|
18059
18102
|
}, n.okButtonProps));
|
|
18060
|
-
return (t, r) => (I(), d(
|
|
18103
|
+
return (t, r) => (I(), d(jf, {
|
|
18061
18104
|
open: v.value,
|
|
18062
18105
|
"onUpdate:open": r[0] ||= (e) => v.value = e,
|
|
18063
18106
|
role: "alertdialog",
|
|
@@ -18074,14 +18117,14 @@ var Sf = { install: (e, t) => {
|
|
|
18074
18117
|
breakpoints: n.breakpoints,
|
|
18075
18118
|
"no-space": n.noSpace
|
|
18076
18119
|
}, h({
|
|
18077
|
-
default: q(() => [m("div",
|
|
18120
|
+
default: q(() => [m("div", Mf, [B(t.$slots, "default", {}, () => [
|
|
18078
18121
|
u.value ? (I(), d(X, {
|
|
18079
18122
|
key: 0,
|
|
18080
18123
|
name: u.value,
|
|
18081
18124
|
class: "ma-confirm-modal-2-icon"
|
|
18082
18125
|
}, null, 8, ["name"])) : f("", !0),
|
|
18083
|
-
n.title ? B(t.$slots, "title", { key: 1 }, () => [a.value ? (I(), d(V(n.title), { key: 0 })) : (I(), p("p",
|
|
18084
|
-
n.description || t.$slots.description ? B(t.$slots, "description", { key: 2 }, () => [o.value ? (I(), d(V(n.description), { key: 0 })) : (I(), p("p",
|
|
18126
|
+
n.title ? B(t.$slots, "title", { key: 1 }, () => [a.value ? (I(), d(V(n.title), { key: 0 })) : (I(), p("p", Nf, H(n.title), 1))]) : f("", !0),
|
|
18127
|
+
n.description || t.$slots.description ? B(t.$slots, "description", { key: 2 }, () => [o.value ? (I(), d(V(n.description), { key: 0 })) : (I(), p("p", Pf, H(n.description), 1))]) : f("", !0)
|
|
18085
18128
|
])])]),
|
|
18086
18129
|
_: 2
|
|
18087
18130
|
}, [_.value ? {
|
|
@@ -18108,7 +18151,7 @@ var Sf = { install: (e, t) => {
|
|
|
18108
18151
|
"no-space"
|
|
18109
18152
|
]));
|
|
18110
18153
|
}
|
|
18111
|
-
}),
|
|
18154
|
+
}), If = class {
|
|
18112
18155
|
modals = /* @__PURE__ */ new Map();
|
|
18113
18156
|
escapeHandler = null;
|
|
18114
18157
|
getOpenModals() {
|
|
@@ -18146,7 +18189,7 @@ var Sf = { install: (e, t) => {
|
|
|
18146
18189
|
a.value = !1, this.checkEscapeListener();
|
|
18147
18190
|
}
|
|
18148
18191
|
}, n) }));
|
|
18149
|
-
return s.use(
|
|
18192
|
+
return s.use(wf).mount(i), this.modals.set(r, {
|
|
18150
18193
|
app: s,
|
|
18151
18194
|
container: i,
|
|
18152
18195
|
openState: a,
|
|
@@ -18180,10 +18223,10 @@ var Sf = { install: (e, t) => {
|
|
|
18180
18223
|
};
|
|
18181
18224
|
}
|
|
18182
18225
|
modal(e, t) {
|
|
18183
|
-
return this.create(
|
|
18226
|
+
return this.create(jf, e, t);
|
|
18184
18227
|
}
|
|
18185
18228
|
createConfirmModal(e, t) {
|
|
18186
|
-
return this.create(
|
|
18229
|
+
return this.create(Ff, {
|
|
18187
18230
|
...t,
|
|
18188
18231
|
type: e
|
|
18189
18232
|
});
|
|
@@ -18210,17 +18253,17 @@ var Sf = { install: (e, t) => {
|
|
|
18210
18253
|
e.unmount(), document.body.removeChild(t);
|
|
18211
18254
|
}), this.modals.clear(), this.removeEscapeListener();
|
|
18212
18255
|
}
|
|
18213
|
-
},
|
|
18256
|
+
}, Lf = new If();
|
|
18214
18257
|
//#endregion
|
|
18215
18258
|
//#region src/components/modal-2/composables/usemodal.ts
|
|
18216
|
-
function
|
|
18259
|
+
function Rf() {
|
|
18217
18260
|
return N(() => {
|
|
18218
|
-
|
|
18219
|
-
}),
|
|
18261
|
+
Lf.destroyAll();
|
|
18262
|
+
}), Lf;
|
|
18220
18263
|
}
|
|
18221
18264
|
//#endregion
|
|
18222
18265
|
//#region src/components/modal-2/types.ts
|
|
18223
|
-
var
|
|
18266
|
+
var zf = [
|
|
18224
18267
|
"top",
|
|
18225
18268
|
"right",
|
|
18226
18269
|
"bottom",
|
|
@@ -18230,26 +18273,26 @@ var Lf = [
|
|
|
18230
18273
|
"topright",
|
|
18231
18274
|
"bottomleft",
|
|
18232
18275
|
"bottomright"
|
|
18233
|
-
],
|
|
18276
|
+
], Bf = [
|
|
18234
18277
|
"info",
|
|
18235
18278
|
"success",
|
|
18236
18279
|
"warning",
|
|
18237
18280
|
"error"
|
|
18238
|
-
],
|
|
18281
|
+
], Vf = [
|
|
18239
18282
|
"info",
|
|
18240
18283
|
"success",
|
|
18241
18284
|
"confirm",
|
|
18242
18285
|
"warning",
|
|
18243
18286
|
"error",
|
|
18244
18287
|
"blank"
|
|
18245
|
-
],
|
|
18288
|
+
], Hf = {
|
|
18246
18289
|
info: "info-circle-2-bold",
|
|
18247
18290
|
success: "tick-circle-bold",
|
|
18248
18291
|
confirm: "warning",
|
|
18249
18292
|
warning: "warning",
|
|
18250
18293
|
error: "close-circle-bold",
|
|
18251
18294
|
blank: null
|
|
18252
|
-
},
|
|
18295
|
+
}, Uf = y({
|
|
18253
18296
|
props: { content: {
|
|
18254
18297
|
type: Object,
|
|
18255
18298
|
required: !0
|
|
@@ -18257,22 +18300,22 @@ var Lf = [
|
|
|
18257
18300
|
setup(e) {
|
|
18258
18301
|
return () => e.content;
|
|
18259
18302
|
}
|
|
18260
|
-
}),
|
|
18303
|
+
}), Wf = {
|
|
18261
18304
|
key: 0,
|
|
18262
18305
|
class: "ak-modal__header ak-modal__header__top"
|
|
18263
|
-
},
|
|
18306
|
+
}, Gf = {
|
|
18264
18307
|
key: 0,
|
|
18265
18308
|
class: "ak-modal__header__title ma-body-3-medium"
|
|
18266
|
-
},
|
|
18309
|
+
}, Kf = { class: "ak-modal__header__actions" }, qf = { class: "ak-modal__body" }, Jf = {
|
|
18267
18310
|
key: 0,
|
|
18268
18311
|
class: "ak-modal__header__title ma-body-2-medium"
|
|
18269
|
-
},
|
|
18312
|
+
}, Yf = { class: "ak-modal__header__actions" }, Xf = { class: "ak-modal__content" }, Zf = {
|
|
18270
18313
|
key: 0,
|
|
18271
18314
|
class: "ak-modal__description ma-body-4-regular"
|
|
18272
|
-
},
|
|
18315
|
+
}, Qf = {
|
|
18273
18316
|
key: 1,
|
|
18274
18317
|
class: "ak-modal__footer"
|
|
18275
|
-
},
|
|
18318
|
+
}, $f = /* @__PURE__ */ y({
|
|
18276
18319
|
__name: "index",
|
|
18277
18320
|
props: {
|
|
18278
18321
|
visible: {
|
|
@@ -18361,7 +18404,7 @@ var Lf = [
|
|
|
18361
18404
|
set(e) {
|
|
18362
18405
|
a("update:visible", e), e || (a("closed"), r.fullscreen && a("update:fullscreen", !1));
|
|
18363
18406
|
}
|
|
18364
|
-
}), h = l(() => r?.icon || (r.type &&
|
|
18407
|
+
}), h = l(() => r?.icon || (r.type && Hf[r.type] ? Hf[r.type] : null)), v = l(() => ({
|
|
18365
18408
|
success: "green",
|
|
18366
18409
|
error: "red",
|
|
18367
18410
|
warning: "dark",
|
|
@@ -18418,7 +18461,7 @@ var Lf = [
|
|
|
18418
18461
|
"onUpdate:visible": n[0] ||= (e) => u.value = e
|
|
18419
18462
|
}), {
|
|
18420
18463
|
default: q(() => [
|
|
18421
|
-
T.value ? (I(), p("div",
|
|
18464
|
+
T.value ? (I(), p("div", Wf, [B(t.$slots, "title", {}, () => [e.title || t.$slots.title ? (I(), p("div", Gf, H(e.title), 1)) : f("", !0)]), m("div", Kf, [e.showExpandButton ? (I(), d(Z, {
|
|
18422
18465
|
key: 0,
|
|
18423
18466
|
class: "ak-modal__header__expand",
|
|
18424
18467
|
icon: c.value ? "compress" : "expand",
|
|
@@ -18433,7 +18476,7 @@ var Lf = [
|
|
|
18433
18476
|
variant: "lighter",
|
|
18434
18477
|
onClick: A
|
|
18435
18478
|
})) : f("", !0)])])) : f("", !0),
|
|
18436
|
-
m("div",
|
|
18479
|
+
m("div", qf, [
|
|
18437
18480
|
h.value ? (I(), p("div", {
|
|
18438
18481
|
key: 0,
|
|
18439
18482
|
class: k(x.value)
|
|
@@ -18441,7 +18484,7 @@ var Lf = [
|
|
|
18441
18484
|
E.value ? (I(), p("div", {
|
|
18442
18485
|
key: 1,
|
|
18443
18486
|
class: k(S.value)
|
|
18444
|
-
}, [e.bodyTitle || w.value ? (I(), p("div",
|
|
18487
|
+
}, [e.bodyTitle || w.value ? (I(), p("div", Jf, [B(t.$slots, "body-title"), g(" " + H(e.bodyTitle), 1)])) : f("", !0), m("div", Yf, [e.showExpandButton ? (I(), d(Z, {
|
|
18445
18488
|
key: 0,
|
|
18446
18489
|
class: "ak-modal__header__expand",
|
|
18447
18490
|
icon: c.value ? "compress" : "expand",
|
|
@@ -18456,8 +18499,8 @@ var Lf = [
|
|
|
18456
18499
|
variant: "lighter",
|
|
18457
18500
|
onClick: A
|
|
18458
18501
|
})) : f("", !0)])], 2)) : f("", !0),
|
|
18459
|
-
m("div",
|
|
18460
|
-
e.content ? (I(), p("div",
|
|
18502
|
+
m("div", Xf, [
|
|
18503
|
+
e.content ? (I(), p("div", Zf, [C.value ? (I(), d(Uf, {
|
|
18461
18504
|
key: 0,
|
|
18462
18505
|
content: e.content
|
|
18463
18506
|
}, null, 8, ["content"])) : (I(), p(i, { key: 1 }, [g(H(e.content), 1)], 64))])) : f("", !0),
|
|
@@ -18465,7 +18508,7 @@ var Lf = [
|
|
|
18465
18508
|
B(t.$slots, "default")
|
|
18466
18509
|
])
|
|
18467
18510
|
]),
|
|
18468
|
-
y.value ? (I(), p("div",
|
|
18511
|
+
y.value ? (I(), p("div", Qf, [
|
|
18469
18512
|
e.cancelText ? (I(), d(Z, D({
|
|
18470
18513
|
key: 0,
|
|
18471
18514
|
variant: "stroke"
|
|
@@ -18491,10 +18534,10 @@ var Lf = [
|
|
|
18491
18534
|
});
|
|
18492
18535
|
//#endregion
|
|
18493
18536
|
//#region src/components/modal/index.ts
|
|
18494
|
-
|
|
18495
|
-
|
|
18537
|
+
Vf.forEach((e) => {
|
|
18538
|
+
$f[e] = (t) => {
|
|
18496
18539
|
t.type = e;
|
|
18497
|
-
let n = document.createElement("div"), r = S(
|
|
18540
|
+
let n = document.createElement("div"), r = S($f, t), i = u({ render: () => r });
|
|
18498
18541
|
i.mount(n), document.body.appendChild(n);
|
|
18499
18542
|
let a = t?.onCancel, o = t?.onOk, s = () => {
|
|
18500
18543
|
i.unmount(), document.body.removeChild(n);
|
|
@@ -18512,22 +18555,22 @@ zf.forEach((e) => {
|
|
|
18512
18555
|
} };
|
|
18513
18556
|
};
|
|
18514
18557
|
});
|
|
18515
|
-
var
|
|
18558
|
+
var ep = $f, tp = /* @__PURE__ */ n(((e, t) => {
|
|
18516
18559
|
function n(e, t, n, r) {
|
|
18517
18560
|
var i = -1, a = e == null ? 0 : e.length;
|
|
18518
18561
|
for (r && a && (n = e[++i]); ++i < a;) n = t(n, e[i], i, e);
|
|
18519
18562
|
return n;
|
|
18520
18563
|
}
|
|
18521
18564
|
t.exports = n;
|
|
18522
|
-
})),
|
|
18565
|
+
})), np = /* @__PURE__ */ n(((e, t) => {
|
|
18523
18566
|
function n(e) {
|
|
18524
18567
|
return function(t) {
|
|
18525
18568
|
return e?.[t];
|
|
18526
18569
|
};
|
|
18527
18570
|
}
|
|
18528
18571
|
t.exports = n;
|
|
18529
|
-
})),
|
|
18530
|
-
t.exports =
|
|
18572
|
+
})), rp = /* @__PURE__ */ n(((e, t) => {
|
|
18573
|
+
t.exports = np()({
|
|
18531
18574
|
À: "A",
|
|
18532
18575
|
Á: "A",
|
|
18533
18576
|
Â: "A",
|
|
@@ -18719,25 +18762,25 @@ var Qf = Zf, $f = /* @__PURE__ */ n(((e, t) => {
|
|
|
18719
18762
|
ʼn: "'n",
|
|
18720
18763
|
ſ: "s"
|
|
18721
18764
|
});
|
|
18722
|
-
})),
|
|
18723
|
-
var n =
|
|
18765
|
+
})), ip = /* @__PURE__ */ n(((e, t) => {
|
|
18766
|
+
var n = rp(), r = Ts(), i = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, a = RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]", "g");
|
|
18724
18767
|
function o(e) {
|
|
18725
18768
|
return e = r(e), e && e.replace(i, n).replace(a, "");
|
|
18726
18769
|
}
|
|
18727
18770
|
t.exports = o;
|
|
18728
|
-
})),
|
|
18771
|
+
})), ap = /* @__PURE__ */ n(((e, t) => {
|
|
18729
18772
|
var n = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
18730
18773
|
function r(e) {
|
|
18731
18774
|
return e.match(n) || [];
|
|
18732
18775
|
}
|
|
18733
18776
|
t.exports = r;
|
|
18734
|
-
})),
|
|
18777
|
+
})), op = /* @__PURE__ */ n(((e, t) => {
|
|
18735
18778
|
var n = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
|
|
18736
18779
|
function r(e) {
|
|
18737
18780
|
return n.test(e);
|
|
18738
18781
|
}
|
|
18739
18782
|
t.exports = r;
|
|
18740
|
-
})),
|
|
18783
|
+
})), sp = /* @__PURE__ */ n(((e, t) => {
|
|
18741
18784
|
var n = "\\ud800-\\udfff", r = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff", i = "\\u2700-\\u27bf", a = "a-z\\xdf-\\xf6\\xf8-\\xff", o = "\\xac\\xb1\\xd7\\xf7", s = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", c = "\\u2000-\\u206f", l = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", u = "A-Z\\xc0-\\xd6\\xd8-\\xde", d = "\\ufe0e\\ufe0f", f = o + s + c + l, p = "['’]", m = "[" + f + "]", h = "[" + r + "]", g = "\\d+", _ = "[" + i + "]", v = "[" + a + "]", y = "[^" + n + f + g + i + a + u + "]", b = "(?:" + h + "|\\ud83c[\\udffb-\\udfff])", x = "[^" + n + "]", S = "(?:\\ud83c[\\udde6-\\uddff]){2}", C = "[\\ud800-\\udbff][\\udc00-\\udfff]", w = "[" + u + "]", T = "\\u200d", E = "(?:" + v + "|" + y + ")", D = "(?:" + w + "|" + y + ")", O = "(?:" + p + "(?:d|ll|m|re|s|t|ve))?", k = "(?:" + p + "(?:D|LL|M|RE|S|T|VE))?", A = b + "?", j = "[" + d + "]?", M = "(?:" + T + "(?:" + [
|
|
18742
18785
|
x,
|
|
18743
18786
|
S,
|
|
@@ -18768,50 +18811,50 @@ var Qf = Zf, $f = /* @__PURE__ */ n(((e, t) => {
|
|
|
18768
18811
|
return e.match(L) || [];
|
|
18769
18812
|
}
|
|
18770
18813
|
t.exports = ee;
|
|
18771
|
-
})),
|
|
18772
|
-
var n =
|
|
18814
|
+
})), cp = /* @__PURE__ */ n(((e, t) => {
|
|
18815
|
+
var n = ap(), r = op(), i = Ts(), a = sp();
|
|
18773
18816
|
function o(e, t, o) {
|
|
18774
18817
|
return e = i(e), t = o ? void 0 : t, t === void 0 ? r(e) ? a(e) : n(e) : e.match(t) || [];
|
|
18775
18818
|
}
|
|
18776
18819
|
t.exports = o;
|
|
18777
|
-
})),
|
|
18778
|
-
var n =
|
|
18820
|
+
})), lp = /* @__PURE__ */ n(((e, t) => {
|
|
18821
|
+
var n = tp(), r = ip(), i = cp(), a = RegExp("['’]", "g");
|
|
18779
18822
|
function o(e) {
|
|
18780
18823
|
return function(t) {
|
|
18781
18824
|
return n(i(r(t).replace(a, "")), e, "");
|
|
18782
18825
|
};
|
|
18783
18826
|
}
|
|
18784
18827
|
t.exports = o;
|
|
18785
|
-
})),
|
|
18786
|
-
t.exports =
|
|
18828
|
+
})), up = /* @__PURE__ */ t((/* @__PURE__ */ n(((e, t) => {
|
|
18829
|
+
t.exports = lp()(function(e, t, n) {
|
|
18787
18830
|
return e + (n ? "-" : "") + t.toLowerCase();
|
|
18788
18831
|
});
|
|
18789
|
-
})))(), 1),
|
|
18790
|
-
function
|
|
18832
|
+
})))(), 1), dp = 200;
|
|
18833
|
+
function fp() {
|
|
18791
18834
|
return { runNotificationLeaveAnimation: (e, t) => {
|
|
18792
18835
|
if (!e.value) return;
|
|
18793
18836
|
e.value.classList.add("leaving");
|
|
18794
18837
|
let n = e.value, r = null, i = n.offsetHeight, a = (e) => {
|
|
18795
18838
|
r ||= e;
|
|
18796
|
-
let o = e - r, s = Math.min(o /
|
|
18797
|
-
n.style.transform = `translateY(${c}px)`, n.style.opacity = `${l}`, n.style.marginBottom = `${u}px`, o <
|
|
18839
|
+
let o = e - r, s = Math.min(o / dp, 1), c = -i * s, l = 1 - s, u = -i * s;
|
|
18840
|
+
n.style.transform = `translateY(${c}px)`, n.style.opacity = `${l}`, n.style.marginBottom = `${u}px`, o < dp ? window.requestAnimationFrame(a) : setTimeout(() => {
|
|
18798
18841
|
t();
|
|
18799
|
-
},
|
|
18842
|
+
}, dp);
|
|
18800
18843
|
};
|
|
18801
18844
|
window.requestAnimationFrame(a);
|
|
18802
18845
|
} };
|
|
18803
18846
|
}
|
|
18804
18847
|
//#endregion
|
|
18805
18848
|
//#region src/components/notification/components/notification.vue?vue&type=script&setup=true&lang.ts
|
|
18806
|
-
var
|
|
18849
|
+
var pp = { class: "ma-notification__content" }, mp = { class: "ma-notification__content__texts" }, hp = ["title"], gp = ["title"], _p = {
|
|
18807
18850
|
key: 0,
|
|
18808
18851
|
class: "ma-notification-buttons"
|
|
18809
|
-
},
|
|
18852
|
+
}, vp = { class: "ma-notification__actions" }, yp = /* @__PURE__ */ y({
|
|
18810
18853
|
__name: "notification",
|
|
18811
18854
|
props: { notification: {} },
|
|
18812
18855
|
emits: ["remove"],
|
|
18813
18856
|
setup(e, { emit: t }) {
|
|
18814
|
-
let n = e, r = t, { runNotificationLeaveAnimation: a } =
|
|
18857
|
+
let n = e, r = t, { runNotificationLeaveAnimation: a } = fp(), o = R(null), s = R(), c = [
|
|
18815
18858
|
"ma-notification",
|
|
18816
18859
|
`ma-notification--${n.notification.type}`,
|
|
18817
18860
|
`ma-notification--${n.notification.variant}`,
|
|
@@ -18842,21 +18885,21 @@ var dp = { class: "ma-notification__content" }, fp = { class: "ma-notification__
|
|
|
18842
18885
|
name: n.notification.icon,
|
|
18843
18886
|
size: "sm"
|
|
18844
18887
|
}, null, 8, ["name"])) : f("", !0),
|
|
18845
|
-
m("div",
|
|
18888
|
+
m("div", pp, [m("div", mp, [T(n.notification.title) ? (I(), d(V(n.notification.title), {
|
|
18846
18889
|
key: 0,
|
|
18847
18890
|
class: "ma-notification-title"
|
|
18848
18891
|
})) : n.notification.title ? (I(), p("div", {
|
|
18849
18892
|
key: 1,
|
|
18850
18893
|
class: "ma-notification-title",
|
|
18851
18894
|
title: n.notification.title
|
|
18852
|
-
}, H(n.notification.title), 9,
|
|
18895
|
+
}, H(n.notification.title), 9, hp)) : f("", !0), T(n.notification.description) ? (I(), d(V(n.notification.description), {
|
|
18853
18896
|
key: 2,
|
|
18854
18897
|
class: "ma-notification-description"
|
|
18855
18898
|
})) : n.notification.description ? (I(), p("div", {
|
|
18856
18899
|
key: 3,
|
|
18857
18900
|
class: "ma-notification-description",
|
|
18858
18901
|
title: n.notification.description
|
|
18859
|
-
}, H(n.notification.description), 9,
|
|
18902
|
+
}, H(n.notification.description), 9, gp)) : f("", !0)]), n.notification.buttons && n.notification.buttons.length ? (I(), p("div", _p, [(I(!0), p(i, null, z(n.notification.buttons, (e, t) => (I(), d(U(tr), {
|
|
18860
18903
|
key: t,
|
|
18861
18904
|
size: "small",
|
|
18862
18905
|
onClick: (t) => e.onClick(n.notification.id)
|
|
@@ -18864,7 +18907,7 @@ var dp = { class: "ma-notification__content" }, fp = { class: "ma-notification__
|
|
|
18864
18907
|
default: q(() => [g(H(e.label), 1)]),
|
|
18865
18908
|
_: 2
|
|
18866
18909
|
}, 1032, ["onClick"]))), 128))])) : f("", !0)]),
|
|
18867
|
-
m("div",
|
|
18910
|
+
m("div", vp, [n.notification.closable ? (I(), d(U(X), {
|
|
18868
18911
|
key: 0,
|
|
18869
18912
|
name: "close",
|
|
18870
18913
|
class: "ma-notification-close",
|
|
@@ -18873,10 +18916,10 @@ var dp = { class: "ma-notification__content" }, fp = { class: "ma-notification__
|
|
|
18873
18916
|
})) : f("", !0)])
|
|
18874
18917
|
], 544));
|
|
18875
18918
|
}
|
|
18876
|
-
}),
|
|
18919
|
+
}), bp = {
|
|
18877
18920
|
key: 0,
|
|
18878
18921
|
class: "ma-notification-wrapper"
|
|
18879
|
-
},
|
|
18922
|
+
}, xp = /* @__PURE__ */ y({
|
|
18880
18923
|
__name: "notificationContainer",
|
|
18881
18924
|
setup(e, { expose: t }) {
|
|
18882
18925
|
let n = R([]);
|
|
@@ -18901,11 +18944,11 @@ var dp = { class: "ma-notification__content" }, fp = { class: "ma-notification__
|
|
|
18901
18944
|
addNotification: r,
|
|
18902
18945
|
removeNotification: o,
|
|
18903
18946
|
removeAll: s
|
|
18904
|
-
}), (e, t) => (I(), d(a, { to: "body" }, [n.value.length ? (I(), p("div",
|
|
18947
|
+
}), (e, t) => (I(), d(a, { to: "body" }, [n.value.length ? (I(), p("div", bp, [(I(!0), p(i, null, z(u.value, (e, t) => (I(), p("div", {
|
|
18905
18948
|
key: t,
|
|
18906
|
-
class: k(`ma-notification--${U(
|
|
18949
|
+
class: k(`ma-notification--${U(up.default)(t)}`)
|
|
18907
18950
|
}, [_(c, { name: "ma-notification" }, {
|
|
18908
|
-
default: q(() => [(I(!0), p(i, null, z(e, (e) => (I(), d(
|
|
18951
|
+
default: q(() => [(I(!0), p(i, null, z(e, (e) => (I(), d(yp, {
|
|
18909
18952
|
key: e.id,
|
|
18910
18953
|
notification: e,
|
|
18911
18954
|
onRemove: o
|
|
@@ -18913,18 +18956,18 @@ var dp = { class: "ma-notification__content" }, fp = { class: "ma-notification__
|
|
|
18913
18956
|
_: 2
|
|
18914
18957
|
}, 1024)], 2))), 128))])) : f("", !0)]));
|
|
18915
18958
|
}
|
|
18916
|
-
}),
|
|
18917
|
-
dark: () =>
|
|
18918
|
-
error: () =>
|
|
18919
|
-
info: () =>
|
|
18920
|
-
remove: () =>
|
|
18921
|
-
removeAll: () =>
|
|
18922
|
-
success: () =>
|
|
18923
|
-
warning: () =>
|
|
18924
|
-
}),
|
|
18925
|
-
document.body.appendChild(
|
|
18926
|
-
var
|
|
18927
|
-
function
|
|
18959
|
+
}), Sp = /* @__PURE__ */ e({
|
|
18960
|
+
dark: () => kp,
|
|
18961
|
+
error: () => jp,
|
|
18962
|
+
info: () => Mp,
|
|
18963
|
+
remove: () => Pp,
|
|
18964
|
+
removeAll: () => Fp,
|
|
18965
|
+
success: () => Ap,
|
|
18966
|
+
warning: () => Np
|
|
18967
|
+
}), Cp = document.createElement("div");
|
|
18968
|
+
document.body.appendChild(Cp);
|
|
18969
|
+
var wp = u(xp).mount(Cp);
|
|
18970
|
+
function Tp(e) {
|
|
18928
18971
|
switch (e) {
|
|
18929
18972
|
case "success": return "tick-circle-bold";
|
|
18930
18973
|
case "warning": return "warning-2-bold";
|
|
@@ -18932,7 +18975,7 @@ function Cp(e) {
|
|
|
18932
18975
|
case "info": return "info-circle-2-bold";
|
|
18933
18976
|
}
|
|
18934
18977
|
}
|
|
18935
|
-
function
|
|
18978
|
+
function Ep(e) {
|
|
18936
18979
|
return {
|
|
18937
18980
|
id: Date.now(),
|
|
18938
18981
|
duration: 3e3,
|
|
@@ -18940,21 +18983,21 @@ function wp(e) {
|
|
|
18940
18983
|
variant: "stroke",
|
|
18941
18984
|
placement: "topRight",
|
|
18942
18985
|
size: "small",
|
|
18943
|
-
icon:
|
|
18986
|
+
icon: Tp(e.type),
|
|
18944
18987
|
...e
|
|
18945
18988
|
};
|
|
18946
18989
|
}
|
|
18947
|
-
function
|
|
18948
|
-
return
|
|
18990
|
+
function Dp(e) {
|
|
18991
|
+
return wp.addNotification({ ...Ep(e) });
|
|
18949
18992
|
}
|
|
18950
|
-
var
|
|
18993
|
+
var Op = (e) => (t) => Dp({
|
|
18951
18994
|
...t,
|
|
18952
18995
|
type: e
|
|
18953
|
-
}),
|
|
18996
|
+
}), kp = Op("dark"), Ap = Op("success"), jp = Op("error"), Mp = Op("info"), Np = Op("warning"), Pp = (e) => wp.removeNotification(e), Fp = () => wp.removeAll(), Ip = [
|
|
18954
18997
|
"small",
|
|
18955
18998
|
"medium",
|
|
18956
18999
|
"large"
|
|
18957
|
-
],
|
|
19000
|
+
], Lp = ["value"], Rp = /* @__PURE__ */ y({
|
|
18958
19001
|
__name: "singleNumericInput",
|
|
18959
19002
|
props: {
|
|
18960
19003
|
value: { default: "" },
|
|
@@ -18983,9 +19026,9 @@ var Ep = (e) => (t) => Tp({
|
|
|
18983
19026
|
pattern: "[0-9]",
|
|
18984
19027
|
inputmode: "numeric",
|
|
18985
19028
|
onInput: a
|
|
18986
|
-
}), null, 16,
|
|
19029
|
+
}), null, 16, Lp));
|
|
18987
19030
|
}
|
|
18988
|
-
}),
|
|
19031
|
+
}), zp = /* @__PURE__ */ y({
|
|
18989
19032
|
name: "MaNumericInput",
|
|
18990
19033
|
__name: "index",
|
|
18991
19034
|
props: {
|
|
@@ -19042,7 +19085,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
19042
19085
|
r("update:value", e.join(""));
|
|
19043
19086
|
}, { deep: !0 }), K(() => n.value, (e) => {
|
|
19044
19087
|
e !== o.value.join("") && e && e.match(/^\d+$/) && (o.value = e.split("").slice(0, n.length));
|
|
19045
|
-
}), (e, t) => (I(), p("div", D({ class: s.value }, e.$attrs), [(I(!0), p(i, null, z(n.length, (e) => (I(), d(
|
|
19088
|
+
}), (e, t) => (I(), p("div", D({ class: s.value }, e.$attrs), [(I(!0), p(i, null, z(n.length, (e) => (I(), d(Rp, {
|
|
19046
19089
|
key: e,
|
|
19047
19090
|
focus: a.value === e - 1,
|
|
19048
19091
|
placeholder: c.value,
|
|
@@ -19062,57 +19105,57 @@ var Ep = (e) => (t) => Tp({
|
|
|
19062
19105
|
"onPaste"
|
|
19063
19106
|
]))), 128))], 16));
|
|
19064
19107
|
}
|
|
19065
|
-
}),
|
|
19108
|
+
}), Bp = [
|
|
19066
19109
|
"small",
|
|
19067
19110
|
"medium",
|
|
19068
19111
|
"large"
|
|
19069
|
-
],
|
|
19112
|
+
], Vp = ["simple", "advanced"], Hp = /* @__PURE__ */ n(((e, t) => {
|
|
19070
19113
|
var n = Math.ceil, r = Math.max;
|
|
19071
19114
|
function i(e, t, i, a) {
|
|
19072
19115
|
for (var o = -1, s = r(n((t - e) / (i || 1)), 0), c = Array(s); s--;) c[a ? s : ++o] = e, e += i;
|
|
19073
19116
|
return c;
|
|
19074
19117
|
}
|
|
19075
19118
|
t.exports = i;
|
|
19076
|
-
})),
|
|
19119
|
+
})), Up = /* @__PURE__ */ n(((e, t) => {
|
|
19077
19120
|
var n = ba(), r = Infinity, i = 17976931348623157e292;
|
|
19078
19121
|
function a(e) {
|
|
19079
19122
|
return e ? (e = n(e), e === r || e === -r ? (e < 0 ? -1 : 1) * i : e === e ? e : 0) : e === 0 ? e : 0;
|
|
19080
19123
|
}
|
|
19081
19124
|
t.exports = a;
|
|
19082
|
-
})),
|
|
19083
|
-
var n =
|
|
19125
|
+
})), Wp = /* @__PURE__ */ n(((e, t) => {
|
|
19126
|
+
var n = Hp(), r = $a(), i = Up();
|
|
19084
19127
|
function a(e) {
|
|
19085
19128
|
return function(t, a, o) {
|
|
19086
19129
|
return o && typeof o != "number" && r(t, a, o) && (a = o = void 0), t = i(t), a === void 0 ? (a = t, t = 0) : a = i(a), o = o === void 0 ? t < a ? 1 : -1 : i(o), n(t, a, o, e);
|
|
19087
19130
|
};
|
|
19088
19131
|
}
|
|
19089
19132
|
t.exports = a;
|
|
19090
|
-
})),
|
|
19091
|
-
t.exports =
|
|
19092
|
-
})))(), 1),
|
|
19133
|
+
})), Gp = /* @__PURE__ */ t((/* @__PURE__ */ n(((e, t) => {
|
|
19134
|
+
t.exports = Wp()();
|
|
19135
|
+
})))(), 1), Kp = {
|
|
19093
19136
|
"2xl": 1536,
|
|
19094
19137
|
xl: 1280,
|
|
19095
19138
|
lg: 1024,
|
|
19096
19139
|
md: 768,
|
|
19097
19140
|
sm: 640,
|
|
19098
19141
|
xs: 0
|
|
19099
|
-
},
|
|
19142
|
+
}, qp = {
|
|
19100
19143
|
windowWidth: () => window.innerWidth,
|
|
19101
19144
|
getBreakpointSize() {
|
|
19102
19145
|
let e = this.windowWidth();
|
|
19103
|
-
return Object.keys(
|
|
19146
|
+
return Object.keys(Kp).find((t) => e > Kp[t]);
|
|
19104
19147
|
}
|
|
19105
|
-
},
|
|
19148
|
+
}, Jp = {
|
|
19106
19149
|
key: 0,
|
|
19107
19150
|
class: "ma-pagination",
|
|
19108
19151
|
"aria-label": "Pagination"
|
|
19109
|
-
},
|
|
19152
|
+
}, Yp = {
|
|
19110
19153
|
key: 0,
|
|
19111
19154
|
class: "pagination-total-text"
|
|
19112
|
-
},
|
|
19155
|
+
}, Xp = ["aria-label"], Zp = ["aria-label"], Qp = {
|
|
19113
19156
|
key: 1,
|
|
19114
19157
|
class: "pagination-options"
|
|
19115
|
-
},
|
|
19158
|
+
}, $p = 4, em = 200, tm = /* @__PURE__ */ y({
|
|
19116
19159
|
__name: "index",
|
|
19117
19160
|
props: {
|
|
19118
19161
|
mode: {
|
|
@@ -19161,7 +19204,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
19161
19204
|
lg: 5,
|
|
19162
19205
|
default: 7
|
|
19163
19206
|
}),
|
|
19164
|
-
validator: (e) => Object.keys(
|
|
19207
|
+
validator: (e) => Object.keys(Kp).filter((t) => !e[t]).length === 0 ? !0 : !!e.default
|
|
19165
19208
|
},
|
|
19166
19209
|
pageSizeOptions: {
|
|
19167
19210
|
type: Array,
|
|
@@ -19191,7 +19234,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
19191
19234
|
"perPageChange"
|
|
19192
19235
|
],
|
|
19193
19236
|
setup(e, { emit: t }) {
|
|
19194
|
-
let n = e, r = t, { hasWindow: a } = gc(), o = ft(), s = (e, t) => (0,
|
|
19237
|
+
let n = e, r = t, { hasWindow: a } = gc(), o = ft(), s = (e, t) => (0, Gp.default)(e, t + 1, 1), c = R(qp.getBreakpointSize()), u = l({
|
|
19195
19238
|
get() {
|
|
19196
19239
|
return Number(n.perPage);
|
|
19197
19240
|
},
|
|
@@ -19205,8 +19248,8 @@ var Ep = (e) => (t) => Tp({
|
|
|
19205
19248
|
return n.limits[e] === void 0 ? n.limits.default : n.limits[e];
|
|
19206
19249
|
}), C = l(() => Math.max(Math.ceil((S.value - 1) / 2), 0)), w = l(() => {
|
|
19207
19250
|
let e = n.current - C.value;
|
|
19208
|
-
return e >= C.value && e > 3 && h.value >
|
|
19209
|
-
}), T = l(() => h.value - 2 - n.current > C.value && h.value >
|
|
19251
|
+
return e >= C.value && e > 3 && h.value > $p;
|
|
19252
|
+
}), T = l(() => h.value - 2 - n.current > C.value && h.value > $p), E = l(() => {
|
|
19210
19253
|
if (h.value === 1) return [L(1)];
|
|
19211
19254
|
let e = [], t = w.value ? n.current - C.value : 1;
|
|
19212
19255
|
t = Math.min(t, h.value - 1);
|
|
@@ -19261,14 +19304,14 @@ var Ep = (e) => (t) => Tp({
|
|
|
19261
19304
|
x.value || re(e, n.current + 1);
|
|
19262
19305
|
}
|
|
19263
19306
|
function oe() {
|
|
19264
|
-
c.value =
|
|
19307
|
+
c.value = qp.getBreakpointSize();
|
|
19265
19308
|
}
|
|
19266
19309
|
return M(() => {
|
|
19267
|
-
a.value && window.addEventListener("resize", (0, no.default)(oe,
|
|
19310
|
+
a.value && window.addEventListener("resize", (0, no.default)(oe, em));
|
|
19268
19311
|
}), F(() => {
|
|
19269
|
-
a.value && window.removeEventListener("resize", (0, no.default)(oe,
|
|
19270
|
-
}), (t, n) => v.value ? (I(), p("nav",
|
|
19271
|
-
y.value ? (I(), p("li",
|
|
19312
|
+
a.value && window.removeEventListener("resize", (0, no.default)(oe, em));
|
|
19313
|
+
}), (t, n) => v.value ? (I(), p("nav", Jp, [m("ul", { class: k(N.value) }, [
|
|
19314
|
+
y.value ? (I(), p("li", Yp, [B(t.$slots, "totalText", {}, () => [g(H(D.value), 1)])])) : f("", !0),
|
|
19272
19315
|
m("li", {
|
|
19273
19316
|
class: k(["page-item jump-prev", {
|
|
19274
19317
|
disabled: b.value,
|
|
@@ -19282,7 +19325,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
19282
19325
|
}, {
|
|
19283
19326
|
default: q(() => [_(U(X), { name: "chevron-left" })]),
|
|
19284
19327
|
_: 1
|
|
19285
|
-
}))], 10,
|
|
19328
|
+
}))], 10, Xp),
|
|
19286
19329
|
(I(!0), p(i, null, z(E.value, (t) => (I(), p("li", {
|
|
19287
19330
|
key: t.key,
|
|
19288
19331
|
class: k(["page-item", {
|
|
@@ -19317,8 +19360,8 @@ var Ep = (e) => (t) => Tp({
|
|
|
19317
19360
|
}, {
|
|
19318
19361
|
default: q(() => [_(U(X), { name: "chevron-right" })]),
|
|
19319
19362
|
_: 1
|
|
19320
|
-
}))], 10,
|
|
19321
|
-
y.value ? (I(), p("li",
|
|
19363
|
+
}))], 10, Zp),
|
|
19364
|
+
y.value ? (I(), p("li", Qp, [_(U(Kc), {
|
|
19322
19365
|
value: u.value,
|
|
19323
19366
|
"onUpdate:value": n[0] ||= (e) => u.value = e,
|
|
19324
19367
|
disabled: e.disabled,
|
|
@@ -19334,12 +19377,12 @@ var Ep = (e) => (t) => Tp({
|
|
|
19334
19377
|
])])) : f("", !0)
|
|
19335
19378
|
], 2)])) : f("", !0);
|
|
19336
19379
|
}
|
|
19337
|
-
}),
|
|
19380
|
+
}), nm = [
|
|
19338
19381
|
"success",
|
|
19339
19382
|
"danger",
|
|
19340
19383
|
"info",
|
|
19341
19384
|
"warning"
|
|
19342
|
-
],
|
|
19385
|
+
], rm = { class: "ma-popconfirm" }, im = { class: "ma-popconfirm-header" }, am = { class: "ma-popconfirm-content" }, om = { class: "ma-popconfirm-title" }, sm = { class: "ma-popconfirm-description" }, cm = { class: "ma-popconfirm-footer" }, lm = /* @__PURE__ */ y({
|
|
19343
19386
|
name: "MaPopconfirm2",
|
|
19344
19387
|
__name: "index",
|
|
19345
19388
|
props: {
|
|
@@ -19427,14 +19470,14 @@ var Ep = (e) => (t) => Tp({
|
|
|
19427
19470
|
o.value = e;
|
|
19428
19471
|
}), K(o, (e) => {
|
|
19429
19472
|
r("update:visible", e), r("visibleChange", e);
|
|
19430
|
-
}), (t, r) => (I(), d(U(
|
|
19473
|
+
}), (t, r) => (I(), d(U(vm), D({
|
|
19431
19474
|
visible: o.value,
|
|
19432
19475
|
"onUpdate:visible": r[0] ||= (e) => o.value = e
|
|
19433
19476
|
}, a.value, { "no-padding": "" }), {
|
|
19434
|
-
overlay: q(() => [m("div",
|
|
19477
|
+
overlay: q(() => [m("div", rm, [m("div", im, [e.showIcon ? (I(), p("div", {
|
|
19435
19478
|
key: 0,
|
|
19436
19479
|
class: k(["ma-popconfirm-icon", [`ma-popconfirm-icon--${n.variant}`]])
|
|
19437
|
-
}, [B(t.$slots, "icon", {}, () => [_(U(X), { name: s.value }, null, 8, ["name"])])], 2)) : f("", !0), m("div",
|
|
19480
|
+
}, [B(t.$slots, "icon", {}, () => [_(U(X), { name: s.value }, null, 8, ["name"])])], 2)) : f("", !0), m("div", am, [m("h2", om, H(n.title), 1), m("div", sm, [B(t.$slots, "description", {}, () => [m("p", null, H(n.description), 1)])])])]), m("div", cm, [B(t.$slots, "footer", {}, () => [n.showCancelButton ? (I(), d(U(Z), D({ key: 0 }, u.value, {
|
|
19438
19481
|
class: { "ma-full-width-button": n.fullWidthButton },
|
|
19439
19482
|
onClick: b
|
|
19440
19483
|
}), {
|
|
@@ -19451,7 +19494,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
19451
19494
|
_: 3
|
|
19452
19495
|
}, 16, ["visible"]));
|
|
19453
19496
|
}
|
|
19454
|
-
}),
|
|
19497
|
+
}), um = /* @__PURE__ */ y({
|
|
19455
19498
|
__name: "index",
|
|
19456
19499
|
props: {
|
|
19457
19500
|
placement: { default: "bottomLeft" },
|
|
@@ -19512,7 +19555,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
19512
19555
|
"auto-adjust-overflow"
|
|
19513
19556
|
]));
|
|
19514
19557
|
}
|
|
19515
|
-
}),
|
|
19558
|
+
}), dm = { class: "ak-popconfirm" }, fm = { class: "ak-popconfirm-header" }, pm = { class: "ak-popconfirm-header-content" }, mm = { class: "ak-popconfirm-header--title" }, hm = { class: "ak-popconfirm-header--description" }, gm = { class: "ak-popconfirm-buttons" }, _m = /* @__PURE__ */ y({
|
|
19516
19559
|
__name: "index",
|
|
19517
19560
|
props: {
|
|
19518
19561
|
placement: { default: "top" },
|
|
@@ -19582,19 +19625,19 @@ var Ep = (e) => (t) => Tp({
|
|
|
19582
19625
|
size: "small",
|
|
19583
19626
|
loading: n.cancelButtonLoading
|
|
19584
19627
|
}));
|
|
19585
|
-
return (t, r) => (I(), d(
|
|
19628
|
+
return (t, r) => (I(), d(um, D({
|
|
19586
19629
|
visible: a.value,
|
|
19587
19630
|
"onUpdate:visible": r[0] ||= (e) => a.value = e
|
|
19588
19631
|
}, c.value), {
|
|
19589
|
-
overlay: q(() => [m("div",
|
|
19632
|
+
overlay: q(() => [m("div", dm, [m("div", fm, [
|
|
19590
19633
|
B(t.$slots, "icon"),
|
|
19591
19634
|
!t.$slots.icon && e.showIcon ? (I(), d(X, {
|
|
19592
19635
|
key: 0,
|
|
19593
19636
|
class: "ak-popconfirm-header--icon",
|
|
19594
19637
|
name: n.icon
|
|
19595
19638
|
}, null, 8, ["name"])) : f("", !0),
|
|
19596
|
-
m("div",
|
|
19597
|
-
]), m("div",
|
|
19639
|
+
m("div", pm, [m("h1", mm, H(n.title), 1), m("p", hm, H(n.description), 1)])
|
|
19640
|
+
]), m("div", gm, [
|
|
19598
19641
|
!t.$slots.cancelButton && n.showCancel ? (I(), d(Z, D({ key: 0 }, p.value, { onClick: o }), {
|
|
19599
19642
|
default: q(() => [g(H(n.cancelText || U(i).config.locale.cancel), 1)]),
|
|
19600
19643
|
_: 1
|
|
@@ -19610,7 +19653,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
19610
19653
|
_: 3
|
|
19611
19654
|
}, 16, ["visible"]));
|
|
19612
19655
|
}
|
|
19613
|
-
}),
|
|
19656
|
+
}), vm = /* @__PURE__ */ y({
|
|
19614
19657
|
name: "MaPopover2",
|
|
19615
19658
|
__name: "index",
|
|
19616
19659
|
props: {
|
|
@@ -19713,7 +19756,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
19713
19756
|
"auto-boundary-max-size"
|
|
19714
19757
|
]));
|
|
19715
19758
|
}
|
|
19716
|
-
}),
|
|
19759
|
+
}), ym = ["click", "hover"], bm = [
|
|
19717
19760
|
"auto",
|
|
19718
19761
|
"auto-start",
|
|
19719
19762
|
"auto-end",
|
|
@@ -19729,25 +19772,25 @@ var Ep = (e) => (t) => Tp({
|
|
|
19729
19772
|
"left",
|
|
19730
19773
|
"left-start",
|
|
19731
19774
|
"left-end"
|
|
19732
|
-
],
|
|
19775
|
+
], xm = [
|
|
19733
19776
|
"line",
|
|
19734
19777
|
"line-step",
|
|
19735
19778
|
"circle",
|
|
19736
19779
|
"half-circle"
|
|
19737
|
-
],
|
|
19780
|
+
], Sm = [
|
|
19738
19781
|
"dark",
|
|
19739
19782
|
"blue",
|
|
19740
19783
|
"green",
|
|
19741
19784
|
"orange",
|
|
19742
19785
|
"yellow",
|
|
19743
19786
|
"red"
|
|
19744
|
-
],
|
|
19787
|
+
], Cm = [
|
|
19745
19788
|
"xs",
|
|
19746
19789
|
"sm",
|
|
19747
19790
|
"md",
|
|
19748
19791
|
"lg",
|
|
19749
19792
|
"xl"
|
|
19750
|
-
],
|
|
19793
|
+
], wm = ["left", "right"], Tm = { class: "ma-progress-line-step" }, Em = { class: "step-line-wrapper" }, Dm = { key: 1 }, Om = { key: 2 }, km = /* @__PURE__ */ y({
|
|
19751
19794
|
__name: "stepLine",
|
|
19752
19795
|
props: {
|
|
19753
19796
|
percent: {},
|
|
@@ -19764,8 +19807,8 @@ var Ep = (e) => (t) => Tp({
|
|
|
19764
19807
|
let n = (e - 1) * 10, r = e * 10, i = 0;
|
|
19765
19808
|
return t.percent >= r ? i = 100 : t.percent > n && t.percent < r && (i = 100 * (t.percent - n) / (r - n)), { width: `${i}%` };
|
|
19766
19809
|
}
|
|
19767
|
-
return (e, r) => (I(), p("div",
|
|
19768
|
-
m("div",
|
|
19810
|
+
return (e, r) => (I(), p("div", Tm, [
|
|
19811
|
+
m("div", Em, [(I(), p(i, null, z(10, (e) => m("div", {
|
|
19769
19812
|
key: e,
|
|
19770
19813
|
class: "single-line"
|
|
19771
19814
|
}, [m("div", {
|
|
@@ -19775,14 +19818,14 @@ var Ep = (e) => (t) => Tp({
|
|
|
19775
19818
|
t?.icon ? (I(), d(X, {
|
|
19776
19819
|
key: 0,
|
|
19777
19820
|
name: t.icon
|
|
19778
|
-
}, null, 8, ["name"])) : t?.showPercent ? (I(), p("label",
|
|
19779
|
-
e.$slots.customLabel ? (I(), p("label",
|
|
19821
|
+
}, null, 8, ["name"])) : t?.showPercent ? (I(), p("label", Dm, H(t.percent) + "%", 1)) : f("", !0),
|
|
19822
|
+
e.$slots.customLabel ? (I(), p("label", Om, [B(e.$slots, "customLabel")])) : f("", !0)
|
|
19780
19823
|
]));
|
|
19781
19824
|
}
|
|
19782
|
-
}),
|
|
19825
|
+
}), Am = { class: "line-wrapper" }, jm = { key: 1 }, Mm = { key: 2 }, Nm = {
|
|
19783
19826
|
key: 1,
|
|
19784
19827
|
class: "ma-progress-line"
|
|
19785
|
-
},
|
|
19828
|
+
}, Pm = { class: "line-wrapper" }, Fm = { key: 1 }, Im = { key: 2 }, Lm = /* @__PURE__ */ y({
|
|
19786
19829
|
__name: "line",
|
|
19787
19830
|
props: {
|
|
19788
19831
|
percent: {},
|
|
@@ -19806,38 +19849,38 @@ var Ep = (e) => (t) => Tp({
|
|
|
19806
19849
|
}));
|
|
19807
19850
|
return (i, a) => t.showTooltip ? (I(), d(Qt, D({ key: 0 }, r.value, { class: "ma-progress-line" }), {
|
|
19808
19851
|
default: q(() => [
|
|
19809
|
-
m("div",
|
|
19852
|
+
m("div", Am, [m("div", {
|
|
19810
19853
|
class: "line",
|
|
19811
19854
|
style: j(n.value)
|
|
19812
19855
|
}, null, 4)]),
|
|
19813
19856
|
t.icon ? (I(), d(X, {
|
|
19814
19857
|
key: 0,
|
|
19815
19858
|
name: t.icon
|
|
19816
|
-
}, null, 8, ["name"])) : e.showPercent ? (I(), p("label",
|
|
19817
|
-
i.$slots.customLabel ? (I(), p("label",
|
|
19859
|
+
}, null, 8, ["name"])) : e.showPercent ? (I(), p("label", jm, H(t.percent) + "%", 1)) : f("", !0),
|
|
19860
|
+
i.$slots.customLabel ? (I(), p("label", Mm, [B(i.$slots, "customLabel")])) : f("", !0)
|
|
19818
19861
|
]),
|
|
19819
19862
|
_: 3
|
|
19820
|
-
}, 16)) : (I(), p("div",
|
|
19821
|
-
m("div",
|
|
19863
|
+
}, 16)) : (I(), p("div", Nm, [
|
|
19864
|
+
m("div", Pm, [m("div", {
|
|
19822
19865
|
class: "line",
|
|
19823
19866
|
style: j(n.value)
|
|
19824
19867
|
}, null, 4)]),
|
|
19825
19868
|
t.icon ? (I(), d(X, {
|
|
19826
19869
|
key: 0,
|
|
19827
19870
|
name: t.icon
|
|
19828
|
-
}, null, 8, ["name"])) : e.showPercent ? (I(), p("label",
|
|
19829
|
-
i.$slots.customLabel ? (I(), p("label",
|
|
19871
|
+
}, null, 8, ["name"])) : e.showPercent ? (I(), p("label", Fm, H(t.percent) + "%", 1)) : f("", !0),
|
|
19872
|
+
i.$slots.customLabel ? (I(), p("label", Im, [B(i.$slots, "customLabel")])) : f("", !0)
|
|
19830
19873
|
]));
|
|
19831
19874
|
}
|
|
19832
|
-
}),
|
|
19875
|
+
}), Rm = { class: "ma-progress-circle ma-progress-half-circle" }, zm = ["viewBox"], Bm = ["d", "stroke-width"], Vm = [
|
|
19833
19876
|
"d",
|
|
19834
19877
|
"stroke-width",
|
|
19835
19878
|
"stroke-dasharray",
|
|
19836
19879
|
"stroke-dashoffset"
|
|
19837
|
-
],
|
|
19880
|
+
], Hm = { key: 1 }, Um = {
|
|
19838
19881
|
key: 0,
|
|
19839
19882
|
class: "label"
|
|
19840
|
-
},
|
|
19883
|
+
}, Wm = { class: "percent" }, Gm = /* @__PURE__ */ y({
|
|
19841
19884
|
__name: "halfCircle",
|
|
19842
19885
|
props: {
|
|
19843
19886
|
percent: {},
|
|
@@ -19881,7 +19924,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
19881
19924
|
strokeWidth: 6
|
|
19882
19925
|
}
|
|
19883
19926
|
}, r = l(() => n[t.size]), i = l(() => r.value.strokeDashArray * (100 - t.percent) / 100);
|
|
19884
|
-
return (e, n) => (I(), p("div",
|
|
19927
|
+
return (e, n) => (I(), p("div", Rm, [(I(), p("svg", {
|
|
19885
19928
|
class: "circle",
|
|
19886
19929
|
viewBox: r.value.viewBox,
|
|
19887
19930
|
fill: "none",
|
|
@@ -19892,7 +19935,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
19892
19935
|
"stroke-linecap": "round",
|
|
19893
19936
|
"stroke-linejoin": "round",
|
|
19894
19937
|
class: "wrapper"
|
|
19895
|
-
}, null, 8,
|
|
19938
|
+
}, null, 8, Bm), t.percent > 0 ? (I(), p("path", {
|
|
19896
19939
|
key: 0,
|
|
19897
19940
|
d: r.value.path,
|
|
19898
19941
|
"stroke-width": r.value.strokeWidth,
|
|
@@ -19901,20 +19944,20 @@ var Ep = (e) => (t) => Tp({
|
|
|
19901
19944
|
"stroke-dasharray": r.value.strokeDashArray,
|
|
19902
19945
|
"stroke-dashoffset": i.value,
|
|
19903
19946
|
class: "percent"
|
|
19904
|
-
}, null, 8,
|
|
19947
|
+
}, null, 8, Vm)) : f("", !0)], 8, zm)), t?.icon ? (I(), d(X, {
|
|
19905
19948
|
key: 0,
|
|
19906
19949
|
name: t.icon
|
|
19907
|
-
}, null, 8, ["name"])) : (I(), p("label",
|
|
19950
|
+
}, null, 8, ["name"])) : (I(), p("label", Hm, [t?.label || e.$slots.customLabel ? (I(), p("span", Um, [g(H(t?.label) + " ", 1), B(e.$slots, "customLabel")])) : f("", !0), m("span", Wm, H(t?.percent) + "% ", 1)]))]));
|
|
19908
19951
|
}
|
|
19909
|
-
}),
|
|
19952
|
+
}), Km = { class: "ma-progress-circle" }, qm = ["viewBox"], Jm = ["d", "stroke-width"], Ym = [
|
|
19910
19953
|
"d",
|
|
19911
19954
|
"stroke-dasharray",
|
|
19912
19955
|
"stroke-dashoffset",
|
|
19913
19956
|
"stroke-width"
|
|
19914
|
-
],
|
|
19957
|
+
], Xm = { key: 1 }, Zm = {
|
|
19915
19958
|
key: 0,
|
|
19916
19959
|
class: "label"
|
|
19917
|
-
},
|
|
19960
|
+
}, Qm = { class: "percent" }, $m = /* @__PURE__ */ y({
|
|
19918
19961
|
__name: "circle",
|
|
19919
19962
|
props: {
|
|
19920
19963
|
percent: {},
|
|
@@ -19958,7 +20001,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
19958
20001
|
strokeWidth: 6
|
|
19959
20002
|
}
|
|
19960
20003
|
}, r = l(() => n[t.size]), i = l(() => r.value.strokeDashArray * (100 - t.percent) / 100);
|
|
19961
|
-
return (e, n) => (I(), p("div",
|
|
20004
|
+
return (e, n) => (I(), p("div", Km, [(I(), p("svg", {
|
|
19962
20005
|
class: "circle",
|
|
19963
20006
|
viewBox: r.value.viewBox,
|
|
19964
20007
|
fill: "none",
|
|
@@ -19969,7 +20012,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
19969
20012
|
"stroke-linejoin": "round",
|
|
19970
20013
|
"stroke-width": r.value.strokeWidth,
|
|
19971
20014
|
class: "wrapper"
|
|
19972
|
-
}, null, 8,
|
|
20015
|
+
}, null, 8, Jm), t.percent > 0 ? (I(), p("path", {
|
|
19973
20016
|
key: 0,
|
|
19974
20017
|
d: r.value.path,
|
|
19975
20018
|
"stroke-linecap": "round",
|
|
@@ -19978,12 +20021,12 @@ var Ep = (e) => (t) => Tp({
|
|
|
19978
20021
|
"stroke-dashoffset": i.value,
|
|
19979
20022
|
"stroke-width": r.value.strokeWidth,
|
|
19980
20023
|
class: "percent"
|
|
19981
|
-
}, null, 8,
|
|
20024
|
+
}, null, 8, Ym)) : f("", !0)], 8, qm)), t?.icon ? (I(), d(X, {
|
|
19982
20025
|
key: 0,
|
|
19983
20026
|
name: t.icon
|
|
19984
|
-
}, null, 8, ["name"])) : (I(), p("label",
|
|
20027
|
+
}, null, 8, ["name"])) : (I(), p("label", Xm, [t?.label || e.$slots.customLabel ? (I(), p("span", Zm, [g(H(t.label) + " ", 1), B(e.$slots, "customLabel")])) : f("", !0), m("span", Qm, H(t?.percent) + "% ", 1)]))]));
|
|
19985
20028
|
}
|
|
19986
|
-
}),
|
|
20029
|
+
}), eh = /* @__PURE__ */ y({
|
|
19987
20030
|
__name: "index",
|
|
19988
20031
|
props: {
|
|
19989
20032
|
type: { default: "line" },
|
|
@@ -20011,10 +20054,10 @@ var Ep = (e) => (t) => Tp({
|
|
|
20011
20054
|
{ "xs-half-circle-label": t.type === "half-circle" && t?.label && t.circleSize === "xs" },
|
|
20012
20055
|
{ "percentage-left": t?.percentAlignment === "left" }
|
|
20013
20056
|
]), r = l(() => ({
|
|
20014
|
-
circle:
|
|
20015
|
-
line:
|
|
20016
|
-
"half-circle":
|
|
20017
|
-
"line-step":
|
|
20057
|
+
circle: $m,
|
|
20058
|
+
line: Lm,
|
|
20059
|
+
"half-circle": Gm,
|
|
20060
|
+
"line-step": km
|
|
20018
20061
|
})[t.type]), i = l(() => [`
|
|
20019
20062
|
color-${t.color}
|
|
20020
20063
|
size-${t.circleSize}
|
|
@@ -20042,7 +20085,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20042
20085
|
"tooltip-2-props"
|
|
20043
20086
|
]))], 2));
|
|
20044
20087
|
}
|
|
20045
|
-
}),
|
|
20088
|
+
}), th = ["button", "check"], nh = /* @__PURE__ */ y({
|
|
20046
20089
|
__name: "group",
|
|
20047
20090
|
props: {
|
|
20048
20091
|
prefixCls: {},
|
|
@@ -20067,7 +20110,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20067
20110
|
fn: q(() => [B(e.$slots, n)])
|
|
20068
20111
|
}))]), 1040));
|
|
20069
20112
|
}
|
|
20070
|
-
}),
|
|
20113
|
+
}), rh = { class: "ma-radio__suffix" }, ih = /* @__PURE__ */ y({
|
|
20071
20114
|
__name: "index",
|
|
20072
20115
|
props: {
|
|
20073
20116
|
text: {},
|
|
@@ -20112,19 +20155,19 @@ var Ep = (e) => (t) => Tp({
|
|
|
20112
20155
|
}, { "onUpdate:checked": i }), {
|
|
20113
20156
|
default: q(() => [B(e.$slots, "text", {}, () => [g(H(n.text), 1)])]),
|
|
20114
20157
|
hint: q(() => [B(e.$slots, "hint", {}, () => [g(H(n.hint), 1)])]),
|
|
20115
|
-
suffix: q(() => [m("div",
|
|
20158
|
+
suffix: q(() => [m("div", rh, [B(e.$slots, "suffix")])]),
|
|
20116
20159
|
_: 3
|
|
20117
20160
|
}, 16, ["hint"])], 6));
|
|
20118
20161
|
}
|
|
20119
|
-
}),
|
|
20162
|
+
}), ah = [
|
|
20120
20163
|
"small",
|
|
20121
20164
|
"medium",
|
|
20122
20165
|
"large"
|
|
20123
|
-
],
|
|
20166
|
+
], oh = [
|
|
20124
20167
|
"orange",
|
|
20125
20168
|
"green",
|
|
20126
20169
|
"red"
|
|
20127
|
-
],
|
|
20170
|
+
], sh = /* @__PURE__ */ y({
|
|
20128
20171
|
__name: "star",
|
|
20129
20172
|
props: {
|
|
20130
20173
|
value: {},
|
|
@@ -20146,7 +20189,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20146
20189
|
_: 1
|
|
20147
20190
|
}));
|
|
20148
20191
|
}
|
|
20149
|
-
}),
|
|
20192
|
+
}), ch = ["tabindex"], lh = ["onMousemove", "onMouseover"], uh = /* @__PURE__ */ y({
|
|
20150
20193
|
__name: "index",
|
|
20151
20194
|
props: {
|
|
20152
20195
|
value: {},
|
|
@@ -20203,7 +20246,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20203
20246
|
onMousemove: (t) => h(t, e),
|
|
20204
20247
|
onMouseover: (t) => d(e),
|
|
20205
20248
|
onClick: t[0] ||= (e) => u()
|
|
20206
|
-
}, [_(
|
|
20249
|
+
}, [_(sh, {
|
|
20207
20250
|
"star-rate": e,
|
|
20208
20251
|
value: a.value || (n.value ?? 0),
|
|
20209
20252
|
"icon-size": s.value
|
|
@@ -20211,15 +20254,15 @@ var Ep = (e) => (t) => Tp({
|
|
|
20211
20254
|
"star-rate",
|
|
20212
20255
|
"value",
|
|
20213
20256
|
"icon-size"
|
|
20214
|
-
])], 40,
|
|
20257
|
+
])], 40, lh)), 64))], 42, ch));
|
|
20215
20258
|
}
|
|
20216
|
-
}),
|
|
20259
|
+
}), dh = { class: "ak-result" }, fh = { class: "ak-result-wrapper" }, ph = {
|
|
20217
20260
|
key: 0,
|
|
20218
20261
|
class: "ak-result-title"
|
|
20219
|
-
},
|
|
20262
|
+
}, mh = {
|
|
20220
20263
|
key: 1,
|
|
20221
20264
|
class: "ak-result-subtitle"
|
|
20222
|
-
},
|
|
20265
|
+
}, hh = { class: "ak-result-extra" }, gh = /* @__PURE__ */ Kl(/* @__PURE__ */ y({
|
|
20223
20266
|
__name: "index",
|
|
20224
20267
|
props: {
|
|
20225
20268
|
status: { default: "success" },
|
|
@@ -20243,28 +20286,28 @@ var Ep = (e) => (t) => Tp({
|
|
|
20243
20286
|
function i() {
|
|
20244
20287
|
r.value = !1;
|
|
20245
20288
|
}
|
|
20246
|
-
return (e, r) => (I(), p("div",
|
|
20289
|
+
return (e, r) => (I(), p("div", dh, [m("div", fh, [
|
|
20247
20290
|
m("div", { class: k(`ak-result-${t.status}`) }, [m("div", null, [_(X, {
|
|
20248
20291
|
size: "lg",
|
|
20249
20292
|
name: n.value
|
|
20250
20293
|
}, null, 8, ["name"])])], 2),
|
|
20251
|
-
e.$slots.titleSlot ? f("", !0) : (I(), p("div",
|
|
20294
|
+
e.$slots.titleSlot ? f("", !0) : (I(), p("div", ph, H(t.title), 1)),
|
|
20252
20295
|
B(e.$slots, "titleSlot", { class: "ak-result-title" }, void 0, !0),
|
|
20253
|
-
e.$slots.subTitleSlot ? f("", !0) : (I(), p("div",
|
|
20296
|
+
e.$slots.subTitleSlot ? f("", !0) : (I(), p("div", mh, H(t.subTitle), 1)),
|
|
20254
20297
|
B(e.$slots, "subTiteSlot", { class: "ak-result-subtitle" }, void 0, !0),
|
|
20255
20298
|
t.closable ? (I(), p("button", {
|
|
20256
20299
|
key: 2,
|
|
20257
20300
|
class: "close-button",
|
|
20258
20301
|
onClick: i
|
|
20259
20302
|
}, [_(X, { name: "close" })])) : f("", !0),
|
|
20260
|
-
m("div",
|
|
20303
|
+
m("div", hh, [B(e.$slots, "default", {}, void 0, !0)])
|
|
20261
20304
|
])]));
|
|
20262
20305
|
}
|
|
20263
|
-
}), [["__scopeId", "data-v-2e49f22d"]]),
|
|
20306
|
+
}), [["__scopeId", "data-v-2e49f22d"]]), _h = [
|
|
20264
20307
|
"aria-disabled",
|
|
20265
20308
|
"title",
|
|
20266
20309
|
"data-option-value"
|
|
20267
|
-
],
|
|
20310
|
+
], vh = /* @__PURE__ */ y({
|
|
20268
20311
|
__name: "selectOption",
|
|
20269
20312
|
props: {
|
|
20270
20313
|
checkboxPosition: { default: "left" },
|
|
@@ -20278,60 +20321,62 @@ var Ep = (e) => (t) => Tp({
|
|
|
20278
20321
|
setup(e, { emit: t }) {
|
|
20279
20322
|
let n = e, r = t, a = C("selectOption", () => {
|
|
20280
20323
|
console.warn("selectOption function is not provided");
|
|
20281
|
-
}), o = C("selectedValues", l(() => (console.warn("selectedValues is not provided"), []))),
|
|
20324
|
+
}), o = C("selectedValues", l(() => (console.warn("selectedValues is not provided"), []))), s = C("optionsRegistry");
|
|
20325
|
+
s || console.warn("optionsRegistry is not provided. MaSelectOption must be used inside MaSelect.");
|
|
20326
|
+
let c = s?.registerOption ?? (() => {}), u = s?.unregisterOption ?? (() => {}), h = C("multiple", !1), _ = l(() => o.value.includes(n.value)), v = l(() => [
|
|
20282
20327
|
"ma-select-option",
|
|
20283
20328
|
`ma-select-option--cb-${n.checkboxPosition}`,
|
|
20284
20329
|
{ "ma-select-option--disabled": n?.disabled },
|
|
20285
|
-
{ "ma-select-option--active":
|
|
20286
|
-
]),
|
|
20287
|
-
function
|
|
20330
|
+
{ "ma-select-option--active": _.value }
|
|
20331
|
+
]), y = l(() => _.value && !n.hideCheckIcon && !h), b = R(null);
|
|
20332
|
+
function x() {
|
|
20288
20333
|
n?.disabled || (a(n.value), r("selected", n.value));
|
|
20289
20334
|
}
|
|
20290
|
-
function
|
|
20291
|
-
return (typeof n.label == "string" ? n.label.trim() : n.label) || (
|
|
20335
|
+
function S() {
|
|
20336
|
+
return (typeof n.label == "string" ? n.label.trim() : n.label) || (b.value?.textContent?.trim() ?? "");
|
|
20292
20337
|
}
|
|
20293
20338
|
return P(() => {
|
|
20294
|
-
|
|
20339
|
+
c(n.value, S());
|
|
20295
20340
|
}), N(() => {
|
|
20296
|
-
|
|
20341
|
+
u(n.value);
|
|
20297
20342
|
}), (e, t) => (I(), p("div", {
|
|
20298
|
-
class: k(
|
|
20343
|
+
class: k(v.value),
|
|
20299
20344
|
"aria-disabled": n?.disabled,
|
|
20300
20345
|
title: n.label,
|
|
20301
20346
|
"data-option-value": n.value,
|
|
20302
20347
|
onPointerdown: t[0] ||= _e(() => {}, ["prevent"]),
|
|
20303
|
-
onClick:
|
|
20348
|
+
onClick: x
|
|
20304
20349
|
}, [
|
|
20305
|
-
U(
|
|
20350
|
+
U(h) ? (I(), p(i, { key: 0 }, [n.multiSelectionInput == "toggle" ? (I(), d(U(Oc), {
|
|
20306
20351
|
key: 0,
|
|
20307
|
-
checked:
|
|
20352
|
+
checked: _.value,
|
|
20308
20353
|
disabled: n?.disabled,
|
|
20309
20354
|
size: "small"
|
|
20310
20355
|
}, null, 8, ["checked", "disabled"])) : (I(), d(U(Bo), {
|
|
20311
20356
|
key: 1,
|
|
20312
|
-
checked:
|
|
20357
|
+
checked: _.value,
|
|
20313
20358
|
disabled: n?.disabled
|
|
20314
20359
|
}, null, 8, ["checked", "disabled"]))], 64)) : f("", !0),
|
|
20315
20360
|
m("span", {
|
|
20316
20361
|
ref_key: "labelElement",
|
|
20317
|
-
ref:
|
|
20362
|
+
ref: b,
|
|
20318
20363
|
class: "ma-select-option-label"
|
|
20319
20364
|
}, [B(e.$slots, "default", {}, () => [g(H(n.label), 1)])], 512),
|
|
20320
|
-
|
|
20365
|
+
y.value ? (I(), d(U(X), {
|
|
20321
20366
|
key: 1,
|
|
20322
20367
|
name: "check-line",
|
|
20323
20368
|
class: "ma-selected-icon"
|
|
20324
20369
|
})) : f("", !0)
|
|
20325
|
-
], 42,
|
|
20370
|
+
], 42, _h));
|
|
20326
20371
|
}
|
|
20327
|
-
}),
|
|
20372
|
+
}), yh = { class: "ma-select-option-group" }, bh = { class: "ma-select-option-group__label" }, xh = { class: "ma-select-option-group__options" }, Sh = /* @__PURE__ */ y({
|
|
20328
20373
|
__name: "selectOptionGroup",
|
|
20329
20374
|
props: { label: {} },
|
|
20330
20375
|
setup(e) {
|
|
20331
20376
|
let t = e;
|
|
20332
|
-
return (e, n) => (I(), p("div",
|
|
20377
|
+
return (e, n) => (I(), p("div", yh, [m("span", bh, [B(e.$slots, "label", {}, () => [g(H(t?.label), 1)])]), m("div", xh, [B(e.$slots, "default")])]));
|
|
20333
20378
|
}
|
|
20334
|
-
}),
|
|
20379
|
+
}), Ch = /* @__PURE__ */ y({
|
|
20335
20380
|
__name: "option",
|
|
20336
20381
|
setup(e) {
|
|
20337
20382
|
return (e, t) => (I(), d(U(Ke), D(e.$attrs, {
|
|
@@ -20342,7 +20387,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20342
20387
|
fn: q(() => [B(e.$slots, n)])
|
|
20343
20388
|
}))]), 1040));
|
|
20344
20389
|
}
|
|
20345
|
-
}),
|
|
20390
|
+
}), wh = ["small", "medium"], Th = { key: 1 }, Eh = /* @__PURE__ */ y({
|
|
20346
20391
|
name: "MaSideMenuButton2",
|
|
20347
20392
|
__name: "index",
|
|
20348
20393
|
props: {
|
|
@@ -20378,7 +20423,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20378
20423
|
}, null, 8, ["size", "name"]), [[me, c.value]]), J(_(X, {
|
|
20379
20424
|
size: s.value,
|
|
20380
20425
|
name: t.icon
|
|
20381
|
-
}, null, 8, ["size", "name"]), [[me, !c.value]])], 64)) : f("", !0), t.text ? (I(), p("span",
|
|
20426
|
+
}, null, 8, ["size", "name"]), [[me, !c.value]])], 64)) : f("", !0), t.text ? (I(), p("span", Th, [g(H(t.text) + " ", 1), B(e.$slots, "default")])) : f("", !0)]),
|
|
20382
20427
|
_: 3
|
|
20383
20428
|
}, 16, [
|
|
20384
20429
|
"target",
|
|
@@ -20386,7 +20431,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20386
20431
|
"href"
|
|
20387
20432
|
]));
|
|
20388
20433
|
}
|
|
20389
|
-
}),
|
|
20434
|
+
}), Dh = /* @__PURE__ */ y({
|
|
20390
20435
|
name: "MaSideMenuItem2",
|
|
20391
20436
|
__name: "index",
|
|
20392
20437
|
props: {
|
|
@@ -20422,7 +20467,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20422
20467
|
"data-badge"
|
|
20423
20468
|
]));
|
|
20424
20469
|
}
|
|
20425
|
-
}),
|
|
20470
|
+
}), Oh = /* @__PURE__ */ y({
|
|
20426
20471
|
name: "MaSideMenuAddNewAppButton",
|
|
20427
20472
|
__name: "index",
|
|
20428
20473
|
props: {
|
|
@@ -20450,7 +20495,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20450
20495
|
"disabled"
|
|
20451
20496
|
]));
|
|
20452
20497
|
}
|
|
20453
|
-
}),
|
|
20498
|
+
}), kh = ["src", "alt"], Ah = /* @__PURE__ */ y({
|
|
20454
20499
|
name: "MaSideMenuAppButton",
|
|
20455
20500
|
inheritAttrs: !1,
|
|
20456
20501
|
__name: "index",
|
|
@@ -20477,11 +20522,11 @@ var Ep = (e) => (t) => Tp({
|
|
|
20477
20522
|
}, t.$attrs), [m("img", {
|
|
20478
20523
|
src: e.appImage,
|
|
20479
20524
|
alt: e.appName
|
|
20480
|
-
}, null, 8,
|
|
20525
|
+
}, null, 8, kh), B(t.$slots, "default")], 16)]),
|
|
20481
20526
|
_: 3
|
|
20482
20527
|
}, 8, ["title"]));
|
|
20483
20528
|
}
|
|
20484
|
-
}),
|
|
20529
|
+
}), jh = [
|
|
20485
20530
|
"dark",
|
|
20486
20531
|
"blue",
|
|
20487
20532
|
"jordy-blue",
|
|
@@ -20490,10 +20535,10 @@ var Ep = (e) => (t) => Tp({
|
|
|
20490
20535
|
"red",
|
|
20491
20536
|
"purple",
|
|
20492
20537
|
"purple-light"
|
|
20493
|
-
],
|
|
20538
|
+
], Mh = {
|
|
20494
20539
|
key: 0,
|
|
20495
20540
|
class: "ma-side-menu-item-icon"
|
|
20496
|
-
},
|
|
20541
|
+
}, Nh = /* @__PURE__ */ y({
|
|
20497
20542
|
name: "MaSideMenuItem",
|
|
20498
20543
|
__name: "index",
|
|
20499
20544
|
props: {
|
|
@@ -20527,7 +20572,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20527
20572
|
href: t?.href
|
|
20528
20573
|
}, a.$attrs), {
|
|
20529
20574
|
default: q(() => [m("span", null, [
|
|
20530
|
-
t?.icon ? (I(), p("div",
|
|
20575
|
+
t?.icon ? (I(), p("div", Mh, [J(_(X, {
|
|
20531
20576
|
size: "xs",
|
|
20532
20577
|
name: i.value
|
|
20533
20578
|
}, null, 8, ["name"]), [[me, t.active]]), J(_(X, {
|
|
@@ -20552,7 +20597,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20552
20597
|
"href"
|
|
20553
20598
|
]));
|
|
20554
20599
|
}
|
|
20555
|
-
}),
|
|
20600
|
+
}), Ph = /* @__PURE__ */ y({
|
|
20556
20601
|
name: "MaSideMenuButton",
|
|
20557
20602
|
__name: "index",
|
|
20558
20603
|
props: {
|
|
@@ -20591,7 +20636,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20591
20636
|
"href"
|
|
20592
20637
|
]));
|
|
20593
20638
|
}
|
|
20594
|
-
}),
|
|
20639
|
+
}), Fh = /* @__PURE__ */ y({
|
|
20595
20640
|
name: "MaSideMenuIconButton",
|
|
20596
20641
|
inheritAttrs: !1,
|
|
20597
20642
|
__name: "index",
|
|
@@ -20671,7 +20716,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20671
20716
|
"target"
|
|
20672
20717
|
]));
|
|
20673
20718
|
}
|
|
20674
|
-
}),
|
|
20719
|
+
}), Ih = /* @__PURE__ */ y({
|
|
20675
20720
|
name: "MaSideMenuRoundIconButton",
|
|
20676
20721
|
inheritAttrs: !1,
|
|
20677
20722
|
__name: "index",
|
|
@@ -20686,7 +20731,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20686
20731
|
name: t.icon
|
|
20687
20732
|
}, null, 8, ["name"]), B(e.$slots, "default")], 16));
|
|
20688
20733
|
}
|
|
20689
|
-
}),
|
|
20734
|
+
}), Lh = /* @__PURE__ */ y({
|
|
20690
20735
|
name: "MaSlider",
|
|
20691
20736
|
__name: "index",
|
|
20692
20737
|
props: {
|
|
@@ -20773,16 +20818,16 @@ var Ep = (e) => (t) => Tp({
|
|
|
20773
20818
|
"tooltip-placement"
|
|
20774
20819
|
]));
|
|
20775
20820
|
}
|
|
20776
|
-
}),
|
|
20821
|
+
}), Rh = ["data-size"], zh = {
|
|
20777
20822
|
key: 0,
|
|
20778
20823
|
class: "ma-spin__overlay"
|
|
20779
|
-
},
|
|
20824
|
+
}, Bh = {
|
|
20780
20825
|
key: 0,
|
|
20781
20826
|
class: "custom-indicator"
|
|
20782
|
-
},
|
|
20827
|
+
}, Vh = {
|
|
20783
20828
|
key: 2,
|
|
20784
20829
|
class: "tip"
|
|
20785
|
-
},
|
|
20830
|
+
}, Hh = /* @__PURE__ */ y({
|
|
20786
20831
|
name: "MaSpin",
|
|
20787
20832
|
__name: "index",
|
|
20788
20833
|
props: {
|
|
@@ -20800,46 +20845,46 @@ var Ep = (e) => (t) => Tp({
|
|
|
20800
20845
|
return (e, n) => (I(), p("div", D({
|
|
20801
20846
|
class: r.value,
|
|
20802
20847
|
"data-size": t.size
|
|
20803
|
-
}, e.$attrs), [t.spinning ? (I(), p("div",
|
|
20804
|
-
e.$slots.indicator ? (I(), p("div",
|
|
20848
|
+
}, e.$attrs), [t.spinning ? (I(), p("div", zh, [
|
|
20849
|
+
e.$slots.indicator ? (I(), p("div", Bh, [B(e.$slots, "indicator")])) : f("", !0),
|
|
20805
20850
|
t.spinning && !e.$slots.indicator ? (I(), d(X, {
|
|
20806
20851
|
key: 1,
|
|
20807
20852
|
class: k(i.value),
|
|
20808
20853
|
name: a.value
|
|
20809
20854
|
}, null, 8, ["class", "name"])) : f("", !0),
|
|
20810
|
-
e.$slots?.tip || t?.tip ? (I(), p("div",
|
|
20811
|
-
])) : f("", !0), B(e.$slots, "default")], 16,
|
|
20855
|
+
e.$slots?.tip || t?.tip ? (I(), p("div", Vh, [g(H(t?.tip) + " ", 1), B(e.$slots, "tip")])) : f("", !0)
|
|
20856
|
+
])) : f("", !0), B(e.$slots, "default")], 16, Rh));
|
|
20812
20857
|
}
|
|
20813
|
-
}),
|
|
20858
|
+
}), Uh = [
|
|
20814
20859
|
"round",
|
|
20815
20860
|
"dots",
|
|
20816
20861
|
"three-circles",
|
|
20817
20862
|
"three-dots"
|
|
20818
|
-
],
|
|
20863
|
+
], Wh = [
|
|
20819
20864
|
"dark",
|
|
20820
20865
|
"jordy",
|
|
20821
20866
|
"blue",
|
|
20822
20867
|
"orange",
|
|
20823
20868
|
"grey"
|
|
20824
|
-
],
|
|
20869
|
+
], Gh = [
|
|
20825
20870
|
"xs",
|
|
20826
20871
|
"sm",
|
|
20827
20872
|
"md",
|
|
20828
20873
|
"lg",
|
|
20829
20874
|
"xl"
|
|
20830
|
-
],
|
|
20875
|
+
], Kh = { class: "ak-step__dot" }, qh = {
|
|
20831
20876
|
key: 1,
|
|
20832
20877
|
class: "step-number"
|
|
20833
|
-
},
|
|
20878
|
+
}, Jh = {
|
|
20834
20879
|
key: 0,
|
|
20835
20880
|
class: "title-wrapper"
|
|
20836
|
-
},
|
|
20881
|
+
}, Yh = { class: "ak-step__title" }, Xh = { class: "ak-step__description" }, Zh = { class: "ak-step__description-list" }, Qh = {
|
|
20837
20882
|
key: 0,
|
|
20838
20883
|
class: "title-wrapper"
|
|
20839
|
-
},
|
|
20884
|
+
}, $h = { class: "ak-step__title" }, eg = {
|
|
20840
20885
|
key: 0,
|
|
20841
20886
|
class: "ak-step__description"
|
|
20842
|
-
},
|
|
20887
|
+
}, tg = /* @__PURE__ */ y({
|
|
20843
20888
|
__name: "index",
|
|
20844
20889
|
props: {
|
|
20845
20890
|
title: {},
|
|
@@ -20864,16 +20909,16 @@ var Ep = (e) => (t) => Tp({
|
|
|
20864
20909
|
ref: a,
|
|
20865
20910
|
class: k(h.value),
|
|
20866
20911
|
onClick: _
|
|
20867
|
-
}, [m("div",
|
|
20912
|
+
}, [m("div", Kh, [c.value ? (I(), d(U(X), {
|
|
20868
20913
|
key: 0,
|
|
20869
20914
|
name: "tick"
|
|
20870
|
-
})) : (I(), p("span",
|
|
20871
|
-
m("h3",
|
|
20915
|
+
})) : (I(), p("span", qh, H(o.value + 1), 1))]), u.value && (t?.title || e.$slots.title) ? (I(), p("div", Jh, [
|
|
20916
|
+
m("h3", Yh, [B(e.$slots, "title"), g(" " + H(t?.title), 1)]),
|
|
20872
20917
|
n[0] ||= m("div", { class: "ak-step__separator" }, null, -1),
|
|
20873
|
-
m("div",
|
|
20874
|
-
])) : (I(), p(i, { key: 1 }, [t?.title || e.$slots.title ? (I(), p("div",
|
|
20918
|
+
m("div", Xh, [B(e.$slots, "description"), m("ul", Zh, [(I(!0), p(i, null, z(t.description, (e, t) => (I(), p("li", { key: t }, H(e), 1))), 128))])])
|
|
20919
|
+
])) : (I(), p(i, { key: 1 }, [t?.title || e.$slots.title ? (I(), p("div", Qh, [m("h3", $h, [B(e.$slots, "title"), g(" " + H(t?.title), 1)]), t?.description || e.$slots.description ? (I(), p("div", eg, [B(e.$slots, "description"), g(" " + H(t?.description), 1)])) : f("", !0)])) : f("", !0), n[1] ||= m("div", { class: "ak-step__separator" }, null, -1)], 64))], 2));
|
|
20875
20920
|
}
|
|
20876
|
-
}),
|
|
20921
|
+
}), ng = ["data-readonly"], rg = /* @__PURE__ */ y({
|
|
20877
20922
|
name: "MaSteps",
|
|
20878
20923
|
__name: "index",
|
|
20879
20924
|
props: {
|
|
@@ -20913,21 +20958,21 @@ var Ep = (e) => (t) => Tp({
|
|
|
20913
20958
|
ref: a,
|
|
20914
20959
|
class: k(o.value),
|
|
20915
20960
|
"data-readonly": e.readonly
|
|
20916
|
-
}, [B(t.$slots, "default")], 10,
|
|
20961
|
+
}, [B(t.$slots, "default")], 10, ng));
|
|
20917
20962
|
}
|
|
20918
|
-
}),
|
|
20963
|
+
}), ig = { class: "ak-step-item__dot" }, ag = {
|
|
20919
20964
|
key: 0,
|
|
20920
20965
|
class: "step-number"
|
|
20921
|
-
},
|
|
20966
|
+
}, og = {
|
|
20922
20967
|
key: 1,
|
|
20923
20968
|
class: "step-number"
|
|
20924
|
-
},
|
|
20969
|
+
}, sg = { class: "title-wrapper" }, cg = {
|
|
20925
20970
|
key: 0,
|
|
20926
20971
|
class: "ak-step-item__title"
|
|
20927
|
-
},
|
|
20972
|
+
}, lg = {
|
|
20928
20973
|
key: 1,
|
|
20929
20974
|
class: "ak-step-item__description"
|
|
20930
|
-
},
|
|
20975
|
+
}, ug = /* @__PURE__ */ y({
|
|
20931
20976
|
__name: "index",
|
|
20932
20977
|
props: {
|
|
20933
20978
|
title: {},
|
|
@@ -20973,17 +21018,17 @@ var Ep = (e) => (t) => Tp({
|
|
|
20973
21018
|
ref: a,
|
|
20974
21019
|
class: k(_.value),
|
|
20975
21020
|
onClick: v
|
|
20976
|
-
}, [m("div",
|
|
21021
|
+
}, [m("div", ig, [h.value ? (I(), p("span", ag, H(u.value + 1), 1)) : (I(), p("span", og, H(u.value + 1), 1))]), m("div", sg, [t?.title || e.$slots.title ? (I(), p("h3", cg, [
|
|
20977
21022
|
B(e.$slots, "title"),
|
|
20978
21023
|
g(" " + H(t?.title) + " ", 1),
|
|
20979
21024
|
B(e.$slots, "titleSlot")
|
|
20980
|
-
])) : f("", !0), t?.description || e.$slots.description ? (I(), p("p",
|
|
21025
|
+
])) : f("", !0), t?.description || e.$slots.description ? (I(), p("p", lg, [
|
|
20981
21026
|
B(e.$slots, "description"),
|
|
20982
21027
|
g(" " + H(t?.description) + " ", 1),
|
|
20983
21028
|
B(e.$slots, "descriptionSlot")
|
|
20984
21029
|
])) : f("", !0)])], 2), B(e.$slots, "default")], 64));
|
|
20985
21030
|
}
|
|
20986
|
-
}),
|
|
21031
|
+
}), dg = /* @__PURE__ */ y({
|
|
20987
21032
|
name: "MaStepItems",
|
|
20988
21033
|
__name: "index",
|
|
20989
21034
|
props: { current: { default: 0 } },
|
|
@@ -20998,7 +21043,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20998
21043
|
}
|
|
20999
21044
|
}), c = R((e) => {
|
|
21000
21045
|
s.value = e;
|
|
21001
|
-
}), u = l(() => i.default().filter((e) => e.type ===
|
|
21046
|
+
}), u = l(() => i.default().filter((e) => e.type === ug).length);
|
|
21002
21047
|
function d() {
|
|
21003
21048
|
a.value.querySelectorAll(".ak-step-item").forEach((e, t) => {
|
|
21004
21049
|
e.setAttribute("data-index", t.toString());
|
|
@@ -21014,10 +21059,10 @@ var Ep = (e) => (t) => Tp({
|
|
|
21014
21059
|
class: k(o.value)
|
|
21015
21060
|
}, [B(e.$slots, "default")], 2));
|
|
21016
21061
|
}
|
|
21017
|
-
}),
|
|
21062
|
+
}), fg = ["primary", "secondary"], pg = ["disabled"], mg = ["onClick"], hg = {
|
|
21018
21063
|
key: 1,
|
|
21019
21064
|
class: "text"
|
|
21020
|
-
},
|
|
21065
|
+
}, gg = /* @__PURE__ */ y({
|
|
21021
21066
|
name: "MaSwitch",
|
|
21022
21067
|
__name: "index",
|
|
21023
21068
|
props: {
|
|
@@ -21084,11 +21129,11 @@ var Ep = (e) => (t) => Tp({
|
|
|
21084
21129
|
key: 0,
|
|
21085
21130
|
size: "xs",
|
|
21086
21131
|
name: e.icon
|
|
21087
|
-
}, null, 8, ["name"])) : f("", !0), e?.label ? (I(), p("span",
|
|
21132
|
+
}, null, 8, ["name"])) : f("", !0), e?.label ? (I(), p("span", hg, [t.$slots.optionLabel ? B(t.$slots, "optionLabel", {
|
|
21088
21133
|
key: 0,
|
|
21089
21134
|
label: e?.label,
|
|
21090
21135
|
value: e.value
|
|
21091
|
-
}) : (I(), p(i, { key: 1 }, [g(H(e.label), 1)], 64))])) : f("", !0)], 10,
|
|
21136
|
+
}) : (I(), p(i, { key: 1 }, [g(H(e.label), 1)], 64))])) : f("", !0)], 10, mg))), 128)),
|
|
21092
21137
|
m("div", {
|
|
21093
21138
|
ref_key: "mask",
|
|
21094
21139
|
ref: a,
|
|
@@ -21101,17 +21146,17 @@ var Ep = (e) => (t) => Tp({
|
|
|
21101
21146
|
size: "xs",
|
|
21102
21147
|
class: "ma-loading-icon"
|
|
21103
21148
|
})) : f("", !0)
|
|
21104
|
-
], 16,
|
|
21149
|
+
], 16, pg));
|
|
21105
21150
|
}
|
|
21106
|
-
}),
|
|
21151
|
+
}), _g = ["horizontal", "vertical"], vg = [
|
|
21107
21152
|
"xxsmall",
|
|
21108
21153
|
"xsmall",
|
|
21109
21154
|
"small"
|
|
21110
|
-
],
|
|
21155
|
+
], yg = [
|
|
21111
21156
|
"rounded",
|
|
21112
21157
|
"rounded-dark",
|
|
21113
21158
|
"line"
|
|
21114
|
-
],
|
|
21159
|
+
], bg = ["small", "medium"], xg = ["left", "right"], Sg = ["disabled", "data-tab-key"], Cg = /* @__PURE__ */ y({
|
|
21115
21160
|
name: "MaTabButton",
|
|
21116
21161
|
__name: "tabButton",
|
|
21117
21162
|
props: {
|
|
@@ -21172,9 +21217,9 @@ var Ep = (e) => (t) => Tp({
|
|
|
21172
21217
|
default: q(() => [g(H(n.badgeText), 1)]),
|
|
21173
21218
|
_: 1
|
|
21174
21219
|
}, 8, ["type"])) : f("", !0)
|
|
21175
|
-
], 10,
|
|
21220
|
+
], 10, Sg));
|
|
21176
21221
|
}
|
|
21177
|
-
}),
|
|
21222
|
+
}), wg = /* @__PURE__ */ y({
|
|
21178
21223
|
name: "MaTabPane",
|
|
21179
21224
|
__name: "tabPane",
|
|
21180
21225
|
props: {
|
|
@@ -21193,25 +21238,25 @@ var Ep = (e) => (t) => Tp({
|
|
|
21193
21238
|
let t = e, n = C("activeKey", R(null)), r = l(() => !t.disabled && t.tabKey == n.value);
|
|
21194
21239
|
return (e, t) => r.value ? B(e.$slots, "default", { key: 0 }) : f("", !0);
|
|
21195
21240
|
}
|
|
21196
|
-
}),
|
|
21241
|
+
}), Tg = /* @__PURE__ */ n(((e, t) => {
|
|
21197
21242
|
var n = As();
|
|
21198
21243
|
function r(e, t, r) {
|
|
21199
21244
|
var i = e.length;
|
|
21200
21245
|
return r = r === void 0 ? i : r, !t && r >= i ? e : n(e, t, r);
|
|
21201
21246
|
}
|
|
21202
21247
|
t.exports = r;
|
|
21203
|
-
})),
|
|
21248
|
+
})), Eg = /* @__PURE__ */ n(((e, t) => {
|
|
21204
21249
|
var n = RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");
|
|
21205
21250
|
function r(e) {
|
|
21206
21251
|
return n.test(e);
|
|
21207
21252
|
}
|
|
21208
21253
|
t.exports = r;
|
|
21209
|
-
})),
|
|
21254
|
+
})), Dg = /* @__PURE__ */ n(((e, t) => {
|
|
21210
21255
|
function n(e) {
|
|
21211
21256
|
return e.split("");
|
|
21212
21257
|
}
|
|
21213
21258
|
t.exports = n;
|
|
21214
|
-
})),
|
|
21259
|
+
})), Og = /* @__PURE__ */ n(((e, t) => {
|
|
21215
21260
|
var n = "\\ud800-\\udfff", r = "\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff", i = "\\ufe0e\\ufe0f", a = "[" + n + "]", o = "[" + r + "]", s = "\\ud83c[\\udffb-\\udfff]", c = "(?:" + o + "|" + s + ")", l = "[^" + n + "]", u = "(?:\\ud83c[\\udde6-\\uddff]){2}", d = "[\\ud800-\\udbff][\\udc00-\\udfff]", f = "\\u200d", p = c + "?", m = "[" + i + "]?", h = "(?:" + f + "(?:" + [
|
|
21216
21261
|
l,
|
|
21217
21262
|
u,
|
|
@@ -21227,14 +21272,14 @@ var Ep = (e) => (t) => Tp({
|
|
|
21227
21272
|
return e.match(v) || [];
|
|
21228
21273
|
}
|
|
21229
21274
|
t.exports = y;
|
|
21230
|
-
})),
|
|
21231
|
-
var n =
|
|
21275
|
+
})), kg = /* @__PURE__ */ n(((e, t) => {
|
|
21276
|
+
var n = Dg(), r = Eg(), i = Og();
|
|
21232
21277
|
function a(e) {
|
|
21233
21278
|
return r(e) ? i(e) : n(e);
|
|
21234
21279
|
}
|
|
21235
21280
|
t.exports = a;
|
|
21236
|
-
})),
|
|
21237
|
-
var n =
|
|
21281
|
+
})), Ag = /* @__PURE__ */ n(((e, t) => {
|
|
21282
|
+
var n = Tg(), r = Eg(), i = kg(), a = Ts();
|
|
21238
21283
|
function o(e) {
|
|
21239
21284
|
return function(t) {
|
|
21240
21285
|
t = a(t);
|
|
@@ -21243,23 +21288,23 @@ var Ep = (e) => (t) => Tp({
|
|
|
21243
21288
|
};
|
|
21244
21289
|
}
|
|
21245
21290
|
t.exports = o;
|
|
21246
|
-
})),
|
|
21247
|
-
t.exports =
|
|
21248
|
-
})),
|
|
21249
|
-
var n = Ts(), r =
|
|
21291
|
+
})), jg = /* @__PURE__ */ n(((e, t) => {
|
|
21292
|
+
t.exports = Ag()("toUpperCase");
|
|
21293
|
+
})), Mg = /* @__PURE__ */ n(((e, t) => {
|
|
21294
|
+
var n = Ts(), r = jg();
|
|
21250
21295
|
function i(e) {
|
|
21251
21296
|
return r(n(e).toLowerCase());
|
|
21252
21297
|
}
|
|
21253
21298
|
t.exports = i;
|
|
21254
|
-
})),
|
|
21255
|
-
var n =
|
|
21256
|
-
t.exports =
|
|
21299
|
+
})), Ng = /* @__PURE__ */ t((/* @__PURE__ */ n(((e, t) => {
|
|
21300
|
+
var n = Mg();
|
|
21301
|
+
t.exports = lp()(function(e, t, r) {
|
|
21257
21302
|
return t = t.toLowerCase(), e + (r ? n(t) : t);
|
|
21258
21303
|
});
|
|
21259
|
-
})))(), 1),
|
|
21304
|
+
})))(), 1), Pg = { class: "ma-tabs-nav" }, Fg = {
|
|
21260
21305
|
key: 0,
|
|
21261
21306
|
class: "ma-tabs-content"
|
|
21262
|
-
},
|
|
21307
|
+
}, Ig = /* @__PURE__ */ y({
|
|
21263
21308
|
__name: "index",
|
|
21264
21309
|
props: {
|
|
21265
21310
|
type: { default: "line" },
|
|
@@ -21280,12 +21325,12 @@ var Ep = (e) => (t) => Tp({
|
|
|
21280
21325
|
o.value = (a.default?.() || []).flatMap((e) => e.type === i && Array.isArray(e.children) ? e.children.filter(T) : T(e) ? e : []).filter((e) => T(e) && e.type?.name === "MaTabPane").map((e) => {
|
|
21281
21326
|
let t = e.props || {};
|
|
21282
21327
|
return {
|
|
21283
|
-
props: Object.keys(t).reduce((e, n) => (e[(0,
|
|
21328
|
+
props: Object.keys(t).reduce((e, n) => (e[(0, Ng.default)(n)] = t[n], e), {}),
|
|
21284
21329
|
slots: e.children
|
|
21285
21330
|
};
|
|
21286
21331
|
});
|
|
21287
21332
|
}), L("activeKey", c), (e, t) => (I(), p("div", { class: k(u.value) }, [_(U(Qo), { "always-show-buttons": n.alwaysShowScrollerButtons }, {
|
|
21288
|
-
default: q(() => [m("div",
|
|
21333
|
+
default: q(() => [m("div", Pg, [(I(!0), p(i, null, z(o.value, (e) => (I(), d(Cg, D({ ref_for: !0 }, e.props, {
|
|
21289
21334
|
key: e.props.tabKey,
|
|
21290
21335
|
"is-active": n.activeKey == e.props.tabKey,
|
|
21291
21336
|
type: n.type,
|
|
@@ -21301,14 +21346,14 @@ var Ep = (e) => (t) => Tp({
|
|
|
21301
21346
|
"size"
|
|
21302
21347
|
]))), 128))])]),
|
|
21303
21348
|
_: 1
|
|
21304
|
-
}, 8, ["always-show-buttons"]), s.value ? (I(), p("div",
|
|
21349
|
+
}, 8, ["always-show-buttons"]), s.value ? (I(), p("div", Fg, [B(e.$slots, "default")])) : f("", !0)], 2));
|
|
21305
21350
|
}
|
|
21306
|
-
}),
|
|
21351
|
+
}), Lg = [
|
|
21307
21352
|
"left",
|
|
21308
21353
|
"right",
|
|
21309
21354
|
"top",
|
|
21310
21355
|
"bottom"
|
|
21311
|
-
],
|
|
21356
|
+
], Rg = ["card", "line"], zg = ["left", "right"], Bg = /* @__PURE__ */ y({
|
|
21312
21357
|
__name: "tabPane",
|
|
21313
21358
|
setup(e) {
|
|
21314
21359
|
return (e, t) => (I(), d(U(Ye), D({ tab: "test" }, e.$attrs), h({ _: 2 }, [z(e.$slots, (t, n) => ({
|
|
@@ -21316,7 +21361,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
21316
21361
|
fn: q(() => [B(e.$slots, n)])
|
|
21317
21362
|
}))]), 1040));
|
|
21318
21363
|
}
|
|
21319
|
-
}),
|
|
21364
|
+
}), Vg = /* @__PURE__ */ y({
|
|
21320
21365
|
name: "MaTabs",
|
|
21321
21366
|
__name: "index",
|
|
21322
21367
|
props: {
|
|
@@ -21371,17 +21416,17 @@ var Ep = (e) => (t) => Tp({
|
|
|
21371
21416
|
"type"
|
|
21372
21417
|
]));
|
|
21373
21418
|
}
|
|
21374
|
-
}),
|
|
21419
|
+
}), Hg = {
|
|
21375
21420
|
key: 0,
|
|
21376
21421
|
class: "ma-tag-input-prefix"
|
|
21377
|
-
},
|
|
21422
|
+
}, Ug = { class: "ma-tag-wrapper" }, Wg = [
|
|
21378
21423
|
"disabled",
|
|
21379
21424
|
"placeholder",
|
|
21380
21425
|
"maxlength"
|
|
21381
|
-
],
|
|
21426
|
+
], Gg = {
|
|
21382
21427
|
key: 1,
|
|
21383
21428
|
class: "ma-tag-input-suffix"
|
|
21384
|
-
},
|
|
21429
|
+
}, Kg = /* @__PURE__ */ y({
|
|
21385
21430
|
name: "MaTagInput",
|
|
21386
21431
|
__name: "index",
|
|
21387
21432
|
props: {
|
|
@@ -21453,12 +21498,12 @@ var Ep = (e) => (t) => Tp({
|
|
|
21453
21498
|
class: k(g.value),
|
|
21454
21499
|
onClick: w
|
|
21455
21500
|
}, [
|
|
21456
|
-
u.value ? (I(), p("div",
|
|
21501
|
+
u.value ? (I(), p("div", Hg, [B(t.$slots, "prefix"), n.prefixIcon ? (I(), d(U(X), {
|
|
21457
21502
|
key: 0,
|
|
21458
21503
|
size: "xs",
|
|
21459
21504
|
name: n.prefixIcon
|
|
21460
21505
|
}, null, 8, ["name"])) : f("", !0)])) : f("", !0),
|
|
21461
|
-
m("div",
|
|
21506
|
+
m("div", Ug, [(I(!0), p(i, null, z(e.tags, (e) => (I(), p("span", {
|
|
21462
21507
|
key: e,
|
|
21463
21508
|
class: "single-tag"
|
|
21464
21509
|
}, [m("span", null, H(e), 1), _(U(X), {
|
|
@@ -21477,19 +21522,19 @@ var Ep = (e) => (t) => Tp({
|
|
|
21477
21522
|
maxlength: n?.tagCharLimit,
|
|
21478
21523
|
onKeydown: x,
|
|
21479
21524
|
onPaste: T
|
|
21480
|
-
}, null, 40,
|
|
21481
|
-
h.value ? (I(), p("div",
|
|
21525
|
+
}, null, 40, Wg), [[pe, o.value]])], 4)]),
|
|
21526
|
+
h.value ? (I(), p("div", Gg, [B(t.$slots, "suffix"), n.suffixIcon ? (I(), d(U(X), {
|
|
21482
21527
|
key: 0,
|
|
21483
21528
|
size: "xs",
|
|
21484
21529
|
name: n.suffixIcon
|
|
21485
21530
|
}, null, 8, ["name"])) : f("", !0)])) : f("", !0)
|
|
21486
21531
|
], 2));
|
|
21487
21532
|
}
|
|
21488
|
-
}),
|
|
21533
|
+
}), qg = [
|
|
21489
21534
|
"small",
|
|
21490
21535
|
"default",
|
|
21491
21536
|
"large"
|
|
21492
|
-
],
|
|
21537
|
+
], Jg = ["primary", "secondary"], Yg = [
|
|
21493
21538
|
"top",
|
|
21494
21539
|
"left",
|
|
21495
21540
|
"right",
|
|
@@ -21502,15 +21547,15 @@ var Ep = (e) => (t) => Tp({
|
|
|
21502
21547
|
"leftBottom",
|
|
21503
21548
|
"rightTop",
|
|
21504
21549
|
"rightBottom"
|
|
21505
|
-
],
|
|
21550
|
+
], Xg = ["primary", "secondary"], Zg = [
|
|
21506
21551
|
"hover",
|
|
21507
21552
|
"focus",
|
|
21508
21553
|
"click",
|
|
21509
21554
|
"contextmenu"
|
|
21510
|
-
],
|
|
21555
|
+
], Qg = { class: "ak-tooltip-overlay__content" }, $g = { class: "ak-tooltip-overlay__content__title" }, e_ = {
|
|
21511
21556
|
key: 0,
|
|
21512
21557
|
class: "ak-tooltip-overlay__content__description"
|
|
21513
|
-
},
|
|
21558
|
+
}, t_ = /* @__PURE__ */ y({
|
|
21514
21559
|
name: "MaTooltip",
|
|
21515
21560
|
__name: "index",
|
|
21516
21561
|
props: {
|
|
@@ -21562,7 +21607,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
21562
21607
|
name: t.icon
|
|
21563
21608
|
}, null, 8, ["name"])) : f("", !0),
|
|
21564
21609
|
B(o.$slots, "icon"),
|
|
21565
|
-
m("div",
|
|
21610
|
+
m("div", Qg, [m("span", $g, [g(H(t.title) + " ", 1), B(o.$slots, "title")]), t?.description || o.$slots.description ? (I(), p("span", e_, [g(H(t.description) + " ", 1), B(o.$slots, "description")])) : f("", !0)]),
|
|
21566
21611
|
t.closable ? (I(), d(X, {
|
|
21567
21612
|
key: 1,
|
|
21568
21613
|
class: "ak-tooltip-overlay__close",
|
|
@@ -21583,7 +21628,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
21583
21628
|
"trigger"
|
|
21584
21629
|
]));
|
|
21585
21630
|
}
|
|
21586
|
-
}),
|
|
21631
|
+
}), n_ = ["disabled"], r_ = { class: "icon-wrapper" }, i_ = /* @__PURE__ */ y({
|
|
21587
21632
|
__name: "index",
|
|
21588
21633
|
props: {
|
|
21589
21634
|
size: { default: "sm" },
|
|
@@ -21624,7 +21669,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
21624
21669
|
default: q(() => [g(H(t.badgeText), 1)]),
|
|
21625
21670
|
_: 1
|
|
21626
21671
|
}, 8, ["variant"])) : f("", !0),
|
|
21627
|
-
m("span",
|
|
21672
|
+
m("span", r_, [_(U(X), {
|
|
21628
21673
|
spin: t?.loading,
|
|
21629
21674
|
name: r.value,
|
|
21630
21675
|
size: i.value
|
|
@@ -21633,23 +21678,23 @@ var Ep = (e) => (t) => Tp({
|
|
|
21633
21678
|
"name",
|
|
21634
21679
|
"size"
|
|
21635
21680
|
])])
|
|
21636
|
-
], 16,
|
|
21681
|
+
], 16, n_));
|
|
21637
21682
|
}
|
|
21638
|
-
}),
|
|
21683
|
+
}), a_ = [
|
|
21639
21684
|
"xs",
|
|
21640
21685
|
"sm",
|
|
21641
21686
|
"md",
|
|
21642
21687
|
"lg"
|
|
21643
|
-
],
|
|
21688
|
+
], o_ = {
|
|
21644
21689
|
key: 0,
|
|
21645
21690
|
class: "mr-2"
|
|
21646
|
-
},
|
|
21691
|
+
}, s_ = {
|
|
21647
21692
|
key: 1,
|
|
21648
21693
|
class: "mr-2 -mt-1"
|
|
21649
|
-
},
|
|
21694
|
+
}, c_ = { class: "flex items-center justify-between w-full" }, l_ = {
|
|
21650
21695
|
key: 0,
|
|
21651
21696
|
class: "ma-tree-list"
|
|
21652
|
-
},
|
|
21697
|
+
}, u_ = /* @__PURE__ */ y({
|
|
21653
21698
|
name: "MaTreeNode",
|
|
21654
21699
|
__name: "treeNode",
|
|
21655
21700
|
props: {
|
|
@@ -21705,12 +21750,12 @@ var Ep = (e) => (t) => Tp({
|
|
|
21705
21750
|
class: k(["ma-tree-node-content", h.value]),
|
|
21706
21751
|
onClick: n[2] ||= (t) => b(e.node)
|
|
21707
21752
|
}, [
|
|
21708
|
-
a.value ? (I(), p("div",
|
|
21753
|
+
a.value ? (I(), p("div", o_, [_(U(X), {
|
|
21709
21754
|
name: "chevron-down",
|
|
21710
21755
|
size: "xs",
|
|
21711
21756
|
class: k({ "-rotate-90": !o.value })
|
|
21712
21757
|
}, null, 8, ["class"])])) : f("", !0),
|
|
21713
|
-
e.isMultiple ? (I(), p("div",
|
|
21758
|
+
e.isMultiple ? (I(), p("div", s_, [_(U(Bo), {
|
|
21714
21759
|
checked: c.value,
|
|
21715
21760
|
indeterminate: v.value,
|
|
21716
21761
|
disabled: s.value,
|
|
@@ -21722,12 +21767,12 @@ var Ep = (e) => (t) => Tp({
|
|
|
21722
21767
|
"disabled"
|
|
21723
21768
|
])])) : f("", !0),
|
|
21724
21769
|
e.showIcon ? B(t.$slots, "icon", A(D({ key: 2 }, e.node))) : f("", !0),
|
|
21725
|
-
m("div",
|
|
21770
|
+
m("div", c_, [B(t.$slots, "label", A(x(e.node))), e.hideTick ? f("", !0) : (I(), p(i, { key: 0 }, [u.value && !e.isMultiple ? (I(), d(U(X), {
|
|
21726
21771
|
key: 0,
|
|
21727
21772
|
name: "tick",
|
|
21728
21773
|
size: "sm"
|
|
21729
21774
|
})) : f("", !0)], 64))])
|
|
21730
|
-
], 2), o.value && a.value ? (I(), p("ul",
|
|
21775
|
+
], 2), o.value && a.value ? (I(), p("ul", l_, [(I(!0), p(i, null, z(e.node.options, (i, a) => (I(), d(l, {
|
|
21731
21776
|
key: `${a}-tree-node`,
|
|
21732
21777
|
"selected-value": e.selectedValue,
|
|
21733
21778
|
"expanded-keys": e.expandedKeys,
|
|
@@ -21774,10 +21819,10 @@ var Ep = (e) => (t) => Tp({
|
|
|
21774
21819
|
]))), 128)), B(t.$slots, "list-bottom-section", A(x(e.node)))])) : f("", !0)]);
|
|
21775
21820
|
};
|
|
21776
21821
|
}
|
|
21777
|
-
}),
|
|
21822
|
+
}), d_ = {
|
|
21778
21823
|
key: 1,
|
|
21779
21824
|
class: "ma-tree-list"
|
|
21780
|
-
},
|
|
21825
|
+
}, f_ = /* @__PURE__ */ y({
|
|
21781
21826
|
__name: "index",
|
|
21782
21827
|
props: {
|
|
21783
21828
|
value: {},
|
|
@@ -21872,7 +21917,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
21872
21917
|
checkNodeChange: b,
|
|
21873
21918
|
expandAll: S,
|
|
21874
21919
|
collapseAll: C
|
|
21875
|
-
}), (t, n) => (I(), p("div", { class: k(c.value) }, [h.value?.length ? (I(), p("ul",
|
|
21920
|
+
}), (t, n) => (I(), p("div", { class: k(c.value) }, [h.value?.length ? (I(), p("ul", d_, [(I(!0), p(i, null, z(h.value, (n, r) => (I(), d(u_, {
|
|
21876
21921
|
key: `node-${r}`,
|
|
21877
21922
|
node: n,
|
|
21878
21923
|
"selected-value": e.value,
|
|
@@ -21926,19 +21971,19 @@ var Ep = (e) => (t) => Tp({
|
|
|
21926
21971
|
"description"
|
|
21927
21972
|
]))], 2));
|
|
21928
21973
|
}
|
|
21929
|
-
}),
|
|
21974
|
+
}), p_ = ["single", "multiple"], m_ = [
|
|
21930
21975
|
"button",
|
|
21931
21976
|
"box",
|
|
21932
21977
|
"small-box"
|
|
21933
|
-
],
|
|
21978
|
+
], h_ = [
|
|
21934
21979
|
"xs",
|
|
21935
21980
|
"sm",
|
|
21936
21981
|
"md",
|
|
21937
21982
|
"lg",
|
|
21938
21983
|
"xl"
|
|
21939
|
-
],
|
|
21984
|
+
], g_ = /* @__PURE__ */ function(e) {
|
|
21940
21985
|
return e.error = "error", e.done = "done", e.uploading = "uploading", e;
|
|
21941
|
-
}({}),
|
|
21986
|
+
}({}), __ = [
|
|
21942
21987
|
"display-1",
|
|
21943
21988
|
"display-2",
|
|
21944
21989
|
"heading-1",
|
|
@@ -21953,7 +21998,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
21953
21998
|
"body-4",
|
|
21954
21999
|
"caption-1",
|
|
21955
22000
|
"caption-2"
|
|
21956
|
-
],
|
|
22001
|
+
], v_ = [
|
|
21957
22002
|
"div",
|
|
21958
22003
|
"p",
|
|
21959
22004
|
"h1",
|
|
@@ -21963,7 +22008,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
21963
22008
|
"h5",
|
|
21964
22009
|
"h6",
|
|
21965
22010
|
"span"
|
|
21966
|
-
],
|
|
22011
|
+
], y_ = [
|
|
21967
22012
|
"light",
|
|
21968
22013
|
"regular",
|
|
21969
22014
|
"medium",
|
|
@@ -21972,14 +22017,14 @@ var Ep = (e) => (t) => Tp({
|
|
|
21972
22017
|
];
|
|
21973
22018
|
//#endregion
|
|
21974
22019
|
//#region src/components/upload/composables/file.ts
|
|
21975
|
-
function
|
|
22020
|
+
function b_(e) {
|
|
21976
22021
|
try {
|
|
21977
22022
|
return JSON.parse(e);
|
|
21978
22023
|
} catch {
|
|
21979
22024
|
return e;
|
|
21980
22025
|
}
|
|
21981
22026
|
}
|
|
21982
|
-
function
|
|
22027
|
+
function x_(e, t = {}, n = {}, r) {
|
|
21983
22028
|
let i = R(0);
|
|
21984
22029
|
return {
|
|
21985
22030
|
progress: i,
|
|
@@ -21992,16 +22037,16 @@ function y_(e, t = {}, n = {}, r) {
|
|
|
21992
22037
|
c.open("POST", e), Object.entries(t).forEach(([e, t]) => {
|
|
21993
22038
|
c.setRequestHeader(e, t);
|
|
21994
22039
|
}), c.upload.onprogress = (e) => {
|
|
21995
|
-
e.lengthComputable && (i.value = e.loaded / e.total * 100, o(
|
|
22040
|
+
e.lengthComputable && (i.value = e.loaded / e.total * 100, o(g_.uploading, i.value));
|
|
21996
22041
|
}, c.onload = () => {
|
|
21997
|
-
c.status >= 200 && c.status < 300 ? o(
|
|
22042
|
+
c.status >= 200 && c.status < 300 ? o(g_.done, i.value, b_(c.responseText)) : o(g_.error, i.value, b_(c.responseText));
|
|
21998
22043
|
}, c.onerror = () => {
|
|
21999
|
-
o(
|
|
22044
|
+
o(g_.error, i.value, b_(c.responseText));
|
|
22000
22045
|
}, c.send(s), a.cancelRequest = () => c.abort();
|
|
22001
22046
|
}
|
|
22002
22047
|
};
|
|
22003
22048
|
}
|
|
22004
|
-
function
|
|
22049
|
+
function S_(e) {
|
|
22005
22050
|
return e.includes("*") ? {
|
|
22006
22051
|
kind: "wildcard",
|
|
22007
22052
|
mainType: e.split("/")[0]
|
|
@@ -22013,9 +22058,9 @@ function b_(e) {
|
|
|
22013
22058
|
mimeType: e
|
|
22014
22059
|
};
|
|
22015
22060
|
}
|
|
22016
|
-
function
|
|
22061
|
+
function C_(e, t) {
|
|
22017
22062
|
if (!t) return !0;
|
|
22018
|
-
let n = t.split(",").map((e) =>
|
|
22063
|
+
let n = t.split(",").map((e) => S_(e.trim())), r = e.name.split(".").pop()?.toLowerCase() || "";
|
|
22019
22064
|
return n.some((t) => {
|
|
22020
22065
|
switch (t.kind) {
|
|
22021
22066
|
case "wildcard": return e.type.startsWith(t.mainType);
|
|
@@ -22027,10 +22072,10 @@ function x_(e, t) {
|
|
|
22027
22072
|
}
|
|
22028
22073
|
//#endregion
|
|
22029
22074
|
//#region src/components/upload/singleFile.vue?vue&type=script&setup=true&lang.ts
|
|
22030
|
-
var
|
|
22075
|
+
var w_ = { class: "single-file" }, T_ = { class: "icon-wrapper" }, E_ = { class: "single-file__detail" }, D_ = { class: "file-name" }, O_ = {
|
|
22031
22076
|
key: 0,
|
|
22032
22077
|
class: "file-size"
|
|
22033
|
-
},
|
|
22078
|
+
}, k_ = { class: "file-progress" }, A_ = { class: "single-file__actions" }, j_ = /* @__PURE__ */ y({
|
|
22034
22079
|
__name: "singleFile",
|
|
22035
22080
|
props: {
|
|
22036
22081
|
file: {},
|
|
@@ -22040,17 +22085,17 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22040
22085
|
emits: ["remove", "cancel"],
|
|
22041
22086
|
setup(e, { emit: t }) {
|
|
22042
22087
|
let n = e, r = t, i = ft(), a = l(() => `${(n.file.file.size / (1024 * 1024)).toFixed(1)} MB`), o = l(() => typeof n.file.file.size == "number"), s = () => r("remove"), c = () => r("cancel");
|
|
22043
|
-
return (t, n) => (I(), p("div",
|
|
22044
|
-
m("div",
|
|
22045
|
-
m("div",
|
|
22046
|
-
m("span",
|
|
22047
|
-
o.value ? (I(), p("span",
|
|
22048
|
-
m("span",
|
|
22088
|
+
return (t, n) => (I(), p("div", w_, [
|
|
22089
|
+
m("div", T_, [_(X, { name: "document-bulk" })]),
|
|
22090
|
+
m("div", E_, [
|
|
22091
|
+
m("span", D_, H(e.file.file.name), 1),
|
|
22092
|
+
o.value ? (I(), p("span", O_, H(a.value), 1)) : f("", !0),
|
|
22093
|
+
m("span", k_, [m("span", {
|
|
22049
22094
|
class: "progress-item",
|
|
22050
22095
|
style: j({ width: `${e.file.progress}%` })
|
|
22051
22096
|
}, null, 4)])
|
|
22052
22097
|
]),
|
|
22053
|
-
m("div",
|
|
22098
|
+
m("div", A_, [e.file.status === U(g_).uploading ? (I(), d(Z, {
|
|
22054
22099
|
key: 0,
|
|
22055
22100
|
disabled: e.disabled,
|
|
22056
22101
|
variant: "ghost",
|
|
@@ -22068,23 +22113,23 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22068
22113
|
}, null, 8, ["disabled", "title"])), m("span", null, "%" + H(parseInt(e.file.progress.toString())), 1)])
|
|
22069
22114
|
]));
|
|
22070
22115
|
}
|
|
22071
|
-
}),
|
|
22116
|
+
}), M_ = [
|
|
22072
22117
|
"accept",
|
|
22073
22118
|
"multiple",
|
|
22074
22119
|
"disabled"
|
|
22075
|
-
],
|
|
22120
|
+
], N_ = { class: "text" }, P_ = { class: "upload-icon" }, F_ = {
|
|
22076
22121
|
key: 0,
|
|
22077
22122
|
class: "upload-title"
|
|
22078
|
-
},
|
|
22123
|
+
}, I_ = {
|
|
22079
22124
|
key: 1,
|
|
22080
22125
|
class: "upload-title"
|
|
22081
|
-
},
|
|
22126
|
+
}, L_ = {
|
|
22082
22127
|
key: 2,
|
|
22083
22128
|
class: "upload-description"
|
|
22084
|
-
},
|
|
22129
|
+
}, R_ = {
|
|
22085
22130
|
key: 3,
|
|
22086
22131
|
class: "upload-description"
|
|
22087
|
-
},
|
|
22132
|
+
}, z_ = /* @__PURE__ */ y({
|
|
22088
22133
|
__name: "index",
|
|
22089
22134
|
props: {
|
|
22090
22135
|
fileList: {},
|
|
@@ -22139,11 +22184,11 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22139
22184
|
},
|
|
22140
22185
|
set(e) {
|
|
22141
22186
|
r("update:fileList", e), r("change", e), n?.action && e.forEach(async (e, t) => {
|
|
22142
|
-
if ([
|
|
22143
|
-
let { upload: i } =
|
|
22187
|
+
if ([g_.done, g_.error].includes(e.status)) return;
|
|
22188
|
+
let { upload: i } = x_(n?.action || "", n.headers, n.data, n.name);
|
|
22144
22189
|
n?.beforeUpload && (e.file = await n.beforeUpload(e.file)), i(e, (n, i, a) => {
|
|
22145
22190
|
if (y.value[t]) {
|
|
22146
|
-
if (n ===
|
|
22191
|
+
if (n === g_.error) {
|
|
22147
22192
|
r("error", {
|
|
22148
22193
|
file: e.file,
|
|
22149
22194
|
message: a
|
|
@@ -22155,11 +22200,11 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22155
22200
|
});
|
|
22156
22201
|
});
|
|
22157
22202
|
}
|
|
22158
|
-
}), b = l(() => y.value.map((e) => e.file.name).join(", ")), x = l(() => n.type === "box" ? n.multiple ? !0 : !y.value.length : !0), S = l(() => n.wait || y.value.some((e) => e.status ===
|
|
22203
|
+
}), b = l(() => y.value.map((e) => e.file.name).join(", ")), x = l(() => n.type === "box" ? n.multiple ? !0 : !y.value.length : !0), S = l(() => n.wait || y.value.some((e) => e.status === g_.uploading)), C = l(() => n.ordered && S.value ? !1 : y.value.length ? n.showFileList : !1), w = l(() => n?.disabled || S.value), T = l(() => [
|
|
22159
22204
|
`ma-upload ma-upload--${n.type} ma-upload--${n.type}--${n.size}`,
|
|
22160
22205
|
{ "ma-upload--active": c.value },
|
|
22161
22206
|
{ "ma-upload--disabled": w.value }
|
|
22162
|
-
]), E = l(() => ["ma-file-list", { "only-file-list": !x.value }]), O = l(() => zn[n?.size ?
|
|
22207
|
+
]), E = l(() => ["ma-file-list", { "only-file-list": !x.value }]), O = l(() => zn[n?.size ? h_.indexOf(n.size) : 0]);
|
|
22163
22208
|
function A(e) {
|
|
22164
22209
|
return Array.from(e).find((e) => n?.maxFileSize && e.size > n.maxFileSize);
|
|
22165
22210
|
}
|
|
@@ -22180,7 +22225,7 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22180
22225
|
c.value = !1;
|
|
22181
22226
|
}
|
|
22182
22227
|
function te(e) {
|
|
22183
|
-
w.value || e.dataTransfer?.files && ne(Array.from(e.dataTransfer.files).filter((e) => n?.accept && !
|
|
22228
|
+
w.value || e.dataTransfer?.files && ne(Array.from(e.dataTransfer.files).filter((e) => n?.accept && !C_(e, n.accept) ? (r("error", {
|
|
22184
22229
|
file: e,
|
|
22185
22230
|
message: a.config.locale.allowedFileTypesMessage
|
|
22186
22231
|
}), !1) : !0));
|
|
@@ -22197,7 +22242,7 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22197
22242
|
let i = Array.from(e).filter((e, t) => n?.maxCount ? t + 1 <= n.maxCount : !0).map((e) => ({
|
|
22198
22243
|
file: e,
|
|
22199
22244
|
id: crypto.randomUUID(),
|
|
22200
|
-
status: n?.action ?
|
|
22245
|
+
status: n?.action ? g_.uploading : g_.done,
|
|
22201
22246
|
progress: n?.action ? 0 : 100,
|
|
22202
22247
|
response: null
|
|
22203
22248
|
}));
|
|
@@ -22243,7 +22288,7 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22243
22288
|
multiple: n.multiple,
|
|
22244
22289
|
disabled: w.value,
|
|
22245
22290
|
onChange: j
|
|
22246
|
-
}, null, 40,
|
|
22291
|
+
}, null, 40, M_)), n.type === "button" ? (I(), d(Z, {
|
|
22247
22292
|
key: 0,
|
|
22248
22293
|
variant: e.fileList.length ? "filled" : "stroke",
|
|
22249
22294
|
"left-icon": "export-2",
|
|
@@ -22263,19 +22308,19 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22263
22308
|
key: 1,
|
|
22264
22309
|
class: "ma-upload__small_box",
|
|
22265
22310
|
onClick: M
|
|
22266
|
-
}, [S.value ? (I(), d(
|
|
22311
|
+
}, [S.value ? (I(), d(Hh, {
|
|
22267
22312
|
key: 0,
|
|
22268
22313
|
type: "three-circles",
|
|
22269
22314
|
color: "blue"
|
|
22270
22315
|
})) : (I(), d(X, {
|
|
22271
22316
|
key: 1,
|
|
22272
22317
|
name: "export-2-bulk"
|
|
22273
|
-
})), m("span",
|
|
22318
|
+
})), m("span", N_, [S.value ? (I(), p(i, { key: 0 }, [g(H(U(a).config.locale.uploading), 1)], 64)) : (I(), p(i, { key: 1 }, [g(H(n?.title || U(a).config.locale.clickToUpload) + " ", 1), B(t.$slots, "small-box-title")], 64))])])) : (I(), p("div", {
|
|
22274
22319
|
key: 2,
|
|
22275
22320
|
class: "ma-upload__box",
|
|
22276
22321
|
onClick: M
|
|
22277
22322
|
}, [n.ordered && S.value ? (I(), p(i, { key: 0 }, [
|
|
22278
|
-
_(
|
|
22323
|
+
_(Hh, {
|
|
22279
22324
|
type: "three-circles",
|
|
22280
22325
|
color: "blue"
|
|
22281
22326
|
}),
|
|
@@ -22289,13 +22334,13 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22289
22334
|
_: 1
|
|
22290
22335
|
})
|
|
22291
22336
|
], 64)) : (I(), p(i, { key: 1 }, [
|
|
22292
|
-
m("div",
|
|
22293
|
-
n?.title ? (I(), p("span",
|
|
22294
|
-
n?.description ? (I(), p("span",
|
|
22337
|
+
m("div", P_, [_(X, { name: "upload-bulk" })]),
|
|
22338
|
+
n?.title ? (I(), p("span", F_, [g(H(n?.title) + " ", 1), B(t.$slots, "box-title")])) : (I(), p("span", I_, [g(H(U(a).config.locale.dragDrop) + " ", 1), B(t.$slots, "box-title")])),
|
|
22339
|
+
n?.description ? (I(), p("span", L_, [g(H(n?.description) + " ", 1), B(t.$slots, "box-description")])) : (I(), p("span", R_, [g(H(U(a).config.locale.or) + " " + H(U(a).config.locale.clickToUpload) + " ", 1), B(t.$slots, "box-description")]))
|
|
22295
22340
|
], 64))]))], 34), [[me, x.value]]), C.value ? (I(), p("div", {
|
|
22296
22341
|
key: 0,
|
|
22297
22342
|
class: k(E.value)
|
|
22298
|
-
}, [(I(!0), p(i, null, z(y.value, (e, t) => (I(), d(
|
|
22343
|
+
}, [(I(!0), p(i, null, z(y.value, (e, t) => (I(), d(j_, {
|
|
22299
22344
|
key: t,
|
|
22300
22345
|
file: e,
|
|
22301
22346
|
disabled: n.disabled,
|
|
@@ -22308,7 +22353,7 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22308
22353
|
"onCancel"
|
|
22309
22354
|
]))), 128))], 2)) : f("", !0)], 16));
|
|
22310
22355
|
}
|
|
22311
|
-
}),
|
|
22356
|
+
}), B_ = /* @__PURE__ */ y({
|
|
22312
22357
|
__name: "button",
|
|
22313
22358
|
props: {
|
|
22314
22359
|
type: { default: "default" },
|
|
@@ -22380,7 +22425,7 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22380
22425
|
"disabled"
|
|
22381
22426
|
]));
|
|
22382
22427
|
}
|
|
22383
|
-
}),
|
|
22428
|
+
}), V_ = /* @__PURE__ */ y({
|
|
22384
22429
|
__name: "index",
|
|
22385
22430
|
props: {
|
|
22386
22431
|
type: { default: "default" },
|
|
@@ -22417,7 +22462,7 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22417
22462
|
placement: "bottom-start"
|
|
22418
22463
|
}, a.value), {
|
|
22419
22464
|
title: q(() => [B(e.$slots, "tooltip")]),
|
|
22420
|
-
default: q(() => [_(
|
|
22465
|
+
default: q(() => [_(B_, {
|
|
22421
22466
|
active: t.active,
|
|
22422
22467
|
size: t.size,
|
|
22423
22468
|
type: t.type,
|
|
@@ -22442,7 +22487,7 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22442
22487
|
"loading"
|
|
22443
22488
|
])]),
|
|
22444
22489
|
_: 3
|
|
22445
|
-
}, 16, ["overlay-class-name"])) : (I(), d(
|
|
22490
|
+
}, 16, ["overlay-class-name"])) : (I(), d(B_, {
|
|
22446
22491
|
key: 1,
|
|
22447
22492
|
active: t.active,
|
|
22448
22493
|
size: t.size,
|
|
@@ -22471,10 +22516,10 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22471
22516
|
});
|
|
22472
22517
|
//#endregion
|
|
22473
22518
|
//#region src/components/chatbot/utils.ts
|
|
22474
|
-
function
|
|
22519
|
+
function H_() {
|
|
22475
22520
|
return crypto.randomUUID();
|
|
22476
22521
|
}
|
|
22477
|
-
function
|
|
22522
|
+
function U_(e) {
|
|
22478
22523
|
let t = e;
|
|
22479
22524
|
(t.match(/```/g) || []).length % 2 != 0 && (t += "\n```");
|
|
22480
22525
|
let n = t.split("\n"), r = n[n.length - 1];
|
|
@@ -22482,7 +22527,7 @@ function V_(e) {
|
|
|
22482
22527
|
}
|
|
22483
22528
|
//#endregion
|
|
22484
22529
|
//#region src/components/chatbot/composables/useMessages.ts
|
|
22485
|
-
function
|
|
22530
|
+
function W_({ maOrgId: e, mockStreamFn: t, api: n, onResponseStart: r, onResponseFinish: i }) {
|
|
22486
22531
|
let a = ft(), { isLoading: o, error: s, sendMessage: c, stopStream: u, logSession: d } = n, f = R([]), p = R(""), m = R(null), h = R(!0), g = R(!1), _ = null, v = 0, y = l(() => o.value || g.value), b = l(() => f.value.length > 0);
|
|
22487
22532
|
function x() {
|
|
22488
22533
|
h.value && (_ ||= requestAnimationFrame(() => {
|
|
@@ -22507,7 +22552,7 @@ function H_({ maOrgId: e, mockStreamFn: t, api: n, onResponseStart: r, onRespons
|
|
|
22507
22552
|
});
|
|
22508
22553
|
function C(e, t = !1) {
|
|
22509
22554
|
if (!e) return "";
|
|
22510
|
-
let n = t ?
|
|
22555
|
+
let n = t ? U_(e) : e;
|
|
22511
22556
|
return lt.sanitize(ct.parse(n, { async: !1 }));
|
|
22512
22557
|
}
|
|
22513
22558
|
function w(e) {
|
|
@@ -22518,7 +22563,7 @@ function H_({ maOrgId: e, mockStreamFn: t, api: n, onResponseStart: r, onRespons
|
|
|
22518
22563
|
}
|
|
22519
22564
|
function E(e, t = "") {
|
|
22520
22565
|
return {
|
|
22521
|
-
id:
|
|
22566
|
+
id: H_(),
|
|
22522
22567
|
role: e,
|
|
22523
22568
|
content: t,
|
|
22524
22569
|
timestamp: /* @__PURE__ */ new Date()
|
|
@@ -22597,11 +22642,11 @@ function H_({ maOrgId: e, mockStreamFn: t, api: n, onResponseStart: r, onRespons
|
|
|
22597
22642
|
}
|
|
22598
22643
|
//#endregion
|
|
22599
22644
|
//#region src/components/chatbot/plugin.ts
|
|
22600
|
-
var
|
|
22601
|
-
function
|
|
22602
|
-
let t = R(!1), n = R(null), r = R(null), i = null, a = !1, o = R(`session-${
|
|
22645
|
+
var G_ = Symbol.for("MaChatbot");
|
|
22646
|
+
function K_(e) {
|
|
22647
|
+
let t = R(!1), n = R(null), r = R(null), i = null, a = !1, o = R(`session-${H_()}`);
|
|
22603
22648
|
function s() {
|
|
22604
|
-
o.value = `session-${
|
|
22649
|
+
o.value = `session-${H_()}`;
|
|
22605
22650
|
}
|
|
22606
22651
|
function c() {
|
|
22607
22652
|
n.value = null, r.value = null;
|
|
@@ -22772,22 +22817,22 @@ function W_(e) {
|
|
|
22772
22817
|
resetSession: s
|
|
22773
22818
|
};
|
|
22774
22819
|
}
|
|
22775
|
-
function
|
|
22776
|
-
let t =
|
|
22820
|
+
function q_(e) {
|
|
22821
|
+
let t = K_(e);
|
|
22777
22822
|
return { install(e) {
|
|
22778
|
-
e.provide(
|
|
22823
|
+
e.provide(G_, t);
|
|
22779
22824
|
} };
|
|
22780
22825
|
}
|
|
22781
22826
|
//#endregion
|
|
22782
22827
|
//#region src/components/chatbot/composables/useMaChatbot.ts
|
|
22783
|
-
function
|
|
22784
|
-
let e = C(
|
|
22828
|
+
function J_() {
|
|
22829
|
+
let e = C(G_);
|
|
22785
22830
|
if (!e) throw Error("[MaChatbot] Plugin is not installed. Call app.use(createMaChatbot({ ... })) first.");
|
|
22786
22831
|
return e;
|
|
22787
22832
|
}
|
|
22788
22833
|
//#endregion
|
|
22789
22834
|
//#region src/components/chatbot/composables/useFeedback.ts
|
|
22790
|
-
function
|
|
22835
|
+
function Y_({ submitFeedbackApi: e }) {
|
|
22791
22836
|
let t = R(!1), n = R(null);
|
|
22792
22837
|
function r(r) {
|
|
22793
22838
|
if (!r.recordId) return;
|
|
@@ -22847,13 +22892,13 @@ function q_({ submitFeedbackApi: e }) {
|
|
|
22847
22892
|
}
|
|
22848
22893
|
//#endregion
|
|
22849
22894
|
//#region src/components/chatbot/components/MaChatbotPromptStarters.vue?vue&type=script&setup=true&lang.ts
|
|
22850
|
-
var
|
|
22895
|
+
var X_ = {
|
|
22851
22896
|
key: 0,
|
|
22852
22897
|
class: "ma-chatbot-prompt-starters"
|
|
22853
|
-
},
|
|
22898
|
+
}, Z_ = {
|
|
22854
22899
|
key: 1,
|
|
22855
22900
|
class: "ma-chatbot-prompt-starters__list"
|
|
22856
|
-
},
|
|
22901
|
+
}, Q_ = /* @__PURE__ */ y({
|
|
22857
22902
|
__name: "MaChatbotPromptStarters",
|
|
22858
22903
|
props: {
|
|
22859
22904
|
prompts: {},
|
|
@@ -22877,7 +22922,7 @@ var J_ = {
|
|
|
22877
22922
|
}
|
|
22878
22923
|
return K(() => n.initiallyOpen, (e) => {
|
|
22879
22924
|
o.value = e;
|
|
22880
|
-
}), (t, n) => e.prompts.length ? (I(), p("div",
|
|
22925
|
+
}), (t, n) => e.prompts.length ? (I(), p("div", X_, [o.value ? f("", !0) : (I(), d(Z, {
|
|
22881
22926
|
key: 0,
|
|
22882
22927
|
disabled: e.disabled,
|
|
22883
22928
|
class: "ma-chatbot-prompt-starters__btn",
|
|
@@ -22889,7 +22934,7 @@ var J_ = {
|
|
|
22889
22934
|
}, {
|
|
22890
22935
|
default: q(() => [g(H(U(a).config.locale.chatbot?.getPromptStarters), 1)]),
|
|
22891
22936
|
_: 1
|
|
22892
|
-
}, 8, ["disabled"])), o.value ? (I(), p("div",
|
|
22937
|
+
}, 8, ["disabled"])), o.value ? (I(), p("div", Z_, [(I(!0), p(i, null, z(e.prompts, (t) => (I(), d(Z, {
|
|
22893
22938
|
key: t,
|
|
22894
22939
|
disabled: e.disabled,
|
|
22895
22940
|
class: "ma-chatbot-prompt-starters__btn",
|
|
@@ -22910,27 +22955,27 @@ var J_ = {
|
|
|
22910
22955
|
_: 1
|
|
22911
22956
|
}, 8, ["disabled"])])) : f("", !0)])) : f("", !0);
|
|
22912
22957
|
}
|
|
22913
|
-
}),
|
|
22958
|
+
}), $_ = { class: "ma-chatbot__message-sender" }, ev = {
|
|
22914
22959
|
key: 0,
|
|
22915
22960
|
class: "ma-chatbot__message-time"
|
|
22916
|
-
},
|
|
22961
|
+
}, tv = {
|
|
22917
22962
|
key: 0,
|
|
22918
22963
|
class: "ma-chatbot__bubble ma-chatbot__bubble--user"
|
|
22919
|
-
},
|
|
22964
|
+
}, nv = {
|
|
22920
22965
|
key: 1,
|
|
22921
22966
|
class: "ma-chatbot__typing-wrapper",
|
|
22922
22967
|
"aria-label": "Assistant is typing"
|
|
22923
|
-
},
|
|
22968
|
+
}, rv = { class: "ma-chatbot__typing" }, iv = { class: "ma-chatbot__typing-dots" }, av = { class: "ma-chatbot__typing-info" }, ov = {
|
|
22924
22969
|
key: 2,
|
|
22925
22970
|
class: "ma-chatbot__reasoning",
|
|
22926
22971
|
"aria-label": "Assistant is thinking"
|
|
22927
|
-
},
|
|
22972
|
+
}, sv = { class: "ma-chatbot__reasoning-header" }, cv = { class: "ma-chatbot__reasoning-content" }, lv = {
|
|
22928
22973
|
key: 3,
|
|
22929
22974
|
class: "ma-chatbot__assistant-wrapper"
|
|
22930
|
-
},
|
|
22975
|
+
}, uv = { class: "ma-chatbot__error-text" }, dv = ["innerHTML"], fv = {
|
|
22931
22976
|
key: 2,
|
|
22932
22977
|
class: "ma-chatbot__feedback"
|
|
22933
|
-
},
|
|
22978
|
+
}, pv = { class: "ma-chatbot__feedback-text" }, mv = /* @__PURE__ */ y({
|
|
22934
22979
|
__name: "MaChatbotMessageBubble",
|
|
22935
22980
|
props: {
|
|
22936
22981
|
message: {},
|
|
@@ -22956,14 +23001,14 @@ var J_ = {
|
|
|
22956
23001
|
"ma-chatbot__error-bubble--error": e === "error"
|
|
22957
23002
|
};
|
|
22958
23003
|
});
|
|
22959
|
-
return (t, n) => (I(), p("div", { class: k(["ma-chatbot__message-row", `ma-chatbot__message-row--${e.message.role}`]) }, [m("div", { class: k(["ma-chatbot__message-header", `ma-chatbot__message-header--${e.message.role}`]) }, [m("span",
|
|
23004
|
+
return (t, n) => (I(), p("div", { class: k(["ma-chatbot__message-row", `ma-chatbot__message-row--${e.message.role}`]) }, [m("div", { class: k(["ma-chatbot__message-header", `ma-chatbot__message-header--${e.message.role}`]) }, [m("span", $_, H(s.value), 1), c.value ? (I(), p("span", ev, H(c.value), 1)) : f("", !0)], 2), e.message.role === "user" ? (I(), p("div", tv, H(e.message.content), 1)) : d.value ? (I(), p("output", nv, [m("div", rv, [m("div", iv, [(I(), p(i, null, z(3, (e) => m("span", {
|
|
22960
23005
|
key: e,
|
|
22961
23006
|
class: "ma-chatbot__typing-dot"
|
|
22962
|
-
})), 64))])]), m("p",
|
|
23007
|
+
})), 64))])]), m("p", av, H(U(a).config.locale.chatbot?.typingInfoText), 1)])) : h.value ? (I(), p("output", ov, [m("div", sv, [_(X, {
|
|
22963
23008
|
name: "ai-sparkle",
|
|
22964
23009
|
size: "xs",
|
|
22965
23010
|
class: "ma-chatbot__reasoning-icon"
|
|
22966
|
-
}), m("span", null, H(U(a).config.locale.chatbot?.reasoningLabel), 1)]), m("div",
|
|
23011
|
+
}), m("span", null, H(U(a).config.locale.chatbot?.reasoningLabel), 1)]), m("div", cv, H(e.message.reasoning), 1)])) : u.value || g.value ? (I(), p("div", lv, [u.value ? (I(), p("div", {
|
|
22967
23012
|
key: 0,
|
|
22968
23013
|
class: k(["ma-chatbot__error-bubble", b.value]),
|
|
22969
23014
|
role: "alert"
|
|
@@ -22971,12 +23016,12 @@ var J_ = {
|
|
|
22971
23016
|
name: e.message.status === "timeout" ? "timer" : "info-circle-bold",
|
|
22972
23017
|
class: k(`ma-chatbot__error-icon--${y.value}`),
|
|
22973
23018
|
size: "sm"
|
|
22974
|
-
}, null, 8, ["name", "class"]), m("span",
|
|
23019
|
+
}, null, 8, ["name", "class"]), m("span", uv, H(e.errorMessage), 1)], 2)) : g.value ? (I(), p("div", {
|
|
22975
23020
|
key: 1,
|
|
22976
23021
|
class: k(["ma-chatbot__content--assistant ma-chatbot__markdown", { "is-streaming": e.isStreaming }]),
|
|
22977
23022
|
innerHTML: e.renderedHtml
|
|
22978
|
-
}, null, 10,
|
|
22979
|
-
m("span",
|
|
23023
|
+
}, null, 10, dv)) : f("", !0), v.value ? (I(), p("div", fv, [
|
|
23024
|
+
m("span", pv, H(U(a).config.locale.chatbot?.generatedByText), 1),
|
|
22980
23025
|
_(Z, {
|
|
22981
23026
|
icon: "like",
|
|
22982
23027
|
variant: e.message.feedback === !0 ? "filled" : "stroke",
|
|
@@ -22989,10 +23034,10 @@ var J_ = {
|
|
|
22989
23034
|
}, null, 8, ["variant"])
|
|
22990
23035
|
])) : f("", !0)])) : f("", !0)], 2));
|
|
22991
23036
|
}
|
|
22992
|
-
}),
|
|
23037
|
+
}), hv = { class: "ma-chatbot__input-wrapper" }, gv = { class: "ma-chatbot__input-container" }, _v = { class: "ma-chatbot__input-actions" }, vv = {
|
|
22993
23038
|
key: 0,
|
|
22994
23039
|
class: "ma-chatbot__char-limit-hint"
|
|
22995
|
-
},
|
|
23040
|
+
}, yv = /* @__PURE__ */ y({
|
|
22996
23041
|
__name: "MaChatbotInputArea",
|
|
22997
23042
|
props: /* @__PURE__ */ E({
|
|
22998
23043
|
placeholder: { default: void 0 },
|
|
@@ -23021,7 +23066,7 @@ var J_ = {
|
|
|
23021
23066
|
function h() {
|
|
23022
23067
|
r("stop");
|
|
23023
23068
|
}
|
|
23024
|
-
return (t, n) => (I(), p("div",
|
|
23069
|
+
return (t, n) => (I(), p("div", hv, [m("div", gv, [_(Qc, {
|
|
23025
23070
|
value: i.value,
|
|
23026
23071
|
type: "textarea",
|
|
23027
23072
|
"input-class": o.value ? "ma-chatbot__input-error" : "",
|
|
@@ -23044,7 +23089,7 @@ var J_ = {
|
|
|
23044
23089
|
"maxlength",
|
|
23045
23090
|
"has-error",
|
|
23046
23091
|
"onKeydown"
|
|
23047
|
-
]), m("div",
|
|
23092
|
+
]), m("div", _v, [e.isBusy ? (I(), d(Z, {
|
|
23048
23093
|
key: 0,
|
|
23049
23094
|
icon: "stop",
|
|
23050
23095
|
class: "ma-chatbot__btn ma-chatbot__btn--stop",
|
|
@@ -23056,12 +23101,12 @@ var J_ = {
|
|
|
23056
23101
|
icon: "arrow-up",
|
|
23057
23102
|
color: "blue",
|
|
23058
23103
|
onClick: u
|
|
23059
|
-
}, null, 8, ["disabled"]))])]), o.value ? (I(), p("div",
|
|
23104
|
+
}, null, 8, ["disabled"]))])]), o.value ? (I(), p("div", vv, [_(X, {
|
|
23060
23105
|
name: "info-circle-2-bold",
|
|
23061
23106
|
size: "sm"
|
|
23062
23107
|
}), g(" " + H(U(hc)(U(a).config.locale.chatbot?.charLimitMessage, { 0: e.maxLength })), 1)])) : f("", !0)]));
|
|
23063
23108
|
}
|
|
23064
|
-
}),
|
|
23109
|
+
}), bv = { class: "ma-chatbot__feedback-panel" }, xv = { class: "ma-chatbot__feedback-panel-title" }, Sv = { class: "ma-chatbot__feedback-topics" }, Cv = ["onClick"], wv = { class: "ma-chatbot__feedback-actions" }, Tv = /* @__PURE__ */ y({
|
|
23065
23110
|
__name: "MaChatbotFeedbackPanel",
|
|
23066
23111
|
props: { topics: { default: void 0 } },
|
|
23067
23112
|
emits: ["submit", "cancel"],
|
|
@@ -23079,9 +23124,9 @@ var J_ = {
|
|
|
23079
23124
|
function v() {
|
|
23080
23125
|
r("cancel");
|
|
23081
23126
|
}
|
|
23082
|
-
return (e, t) => (I(), p("div",
|
|
23083
|
-
m("div",
|
|
23084
|
-
m("div",
|
|
23127
|
+
return (e, t) => (I(), p("div", bv, [
|
|
23128
|
+
m("div", xv, H(U(a).config.locale.chatbot?.shareFeedback), 1),
|
|
23129
|
+
m("div", Sv, [(I(!0), p(i, null, z(o.value, (e) => (I(), p("button", {
|
|
23085
23130
|
key: e,
|
|
23086
23131
|
class: k(["ma-chatbot__feedback-topic", { "ma-chatbot__feedback-topic--selected": s.value === e }]),
|
|
23087
23132
|
onClick: (t) => u(e)
|
|
@@ -23090,7 +23135,7 @@ var J_ = {
|
|
|
23090
23135
|
class: "ma-chatbot__feedback-topic-close",
|
|
23091
23136
|
name: "close-circle-bold",
|
|
23092
23137
|
size: "xs"
|
|
23093
|
-
})) : f("", !0)], 10,
|
|
23138
|
+
})) : f("", !0)], 10, Cv))), 128))]),
|
|
23094
23139
|
_(Qc, {
|
|
23095
23140
|
value: c.value,
|
|
23096
23141
|
"onUpdate:value": t[0] ||= (e) => c.value = e,
|
|
@@ -23099,7 +23144,7 @@ var J_ = {
|
|
|
23099
23144
|
placeholder: U(a).config.locale.chatbot?.shareDetails,
|
|
23100
23145
|
size: "large"
|
|
23101
23146
|
}, null, 8, ["value", "placeholder"]),
|
|
23102
|
-
m("div",
|
|
23147
|
+
m("div", wv, [_(Z, {
|
|
23103
23148
|
variant: "stroke",
|
|
23104
23149
|
onClick: v
|
|
23105
23150
|
}, {
|
|
@@ -23111,10 +23156,10 @@ var J_ = {
|
|
|
23111
23156
|
})])
|
|
23112
23157
|
]));
|
|
23113
23158
|
}
|
|
23114
|
-
}),
|
|
23159
|
+
}), Ev = { class: "ma-chatbot" }, Dv = {
|
|
23115
23160
|
key: 0,
|
|
23116
23161
|
class: "ma-chatbot__header-slot"
|
|
23117
|
-
},
|
|
23162
|
+
}, Ov = { class: "ma-chatbot__input-area" }, kv = /* @__PURE__ */ y({
|
|
23118
23163
|
__name: "index",
|
|
23119
23164
|
props: {
|
|
23120
23165
|
placeholder: {},
|
|
@@ -23137,15 +23182,15 @@ var J_ = {
|
|
|
23137
23182
|
"responseFinished"
|
|
23138
23183
|
],
|
|
23139
23184
|
setup(e, { expose: t, emit: n }) {
|
|
23140
|
-
let r = e, a = n, o =
|
|
23185
|
+
let r = e, a = n, o = J_(), s = ft();
|
|
23141
23186
|
F(() => o.stopStream());
|
|
23142
|
-
let { messages: c, userInput: u, messagesContainerRef: h, isBusy: g, hasMessages: v, error: y, renderMarkdown: b, isStreamingMessage: x, isErrorMessage: S, sendMessage: C, stopStream: w, resetChat: T, handlePromptSelect: E } =
|
|
23187
|
+
let { messages: c, userInput: u, messagesContainerRef: h, isBusy: g, hasMessages: v, error: y, renderMarkdown: b, isStreamingMessage: x, isErrorMessage: S, sendMessage: C, stopStream: w, resetChat: T, handlePromptSelect: E } = W_({
|
|
23143
23188
|
maOrgId: () => r.maOrgId,
|
|
23144
23189
|
mockStreamFn: () => r.mockStreamFn,
|
|
23145
23190
|
api: o,
|
|
23146
23191
|
onResponseStart: () => a("responseStarted"),
|
|
23147
23192
|
onResponseFinish: () => a("responseFinished")
|
|
23148
|
-
}), { showFeedbackPanel: D, handleThumbsUp: O, handleThumbsDown: k, submitNegativeFeedback: A, cancelFeedback: j } =
|
|
23193
|
+
}), { showFeedbackPanel: D, handleThumbsUp: O, handleThumbsDown: k, submitNegativeFeedback: A, cancelFeedback: j } = Y_({ submitFeedbackApi: o.submitFeedback }), M = l(() => r.disabled || g.value), N = l(() => ({
|
|
23149
23194
|
guardrail: r.guardRailViolationMessage ?? s.config.locale.chatbot?.guardRailViolationMessage,
|
|
23150
23195
|
timeout: r.timeoutErrorMessage ?? s.config.locale.chatbot?.timeoutErrorMessage,
|
|
23151
23196
|
error: r.genericErrorMessage ?? s.config.locale.chatbot?.genericErrorMessage
|
|
@@ -23186,11 +23231,11 @@ var J_ = {
|
|
|
23186
23231
|
isBusy: g,
|
|
23187
23232
|
error: y,
|
|
23188
23233
|
showFeedbackPanel: D
|
|
23189
|
-
}), (t, n) => (I(), p("div",
|
|
23234
|
+
}), (t, n) => (I(), p("div", Ev, [m("div", {
|
|
23190
23235
|
ref_key: "messagesContainerRef",
|
|
23191
23236
|
ref: h,
|
|
23192
23237
|
class: "ma-chatbot__messages"
|
|
23193
|
-
}, [U(v) ? f("", !0) : (I(), p("div",
|
|
23238
|
+
}, [U(v) ? f("", !0) : (I(), p("div", Dv, [B(t.$slots, "header")])), (I(!0), p(i, null, z(U(c), (e) => (I(), d(mv, {
|
|
23194
23239
|
key: e.id,
|
|
23195
23240
|
message: e,
|
|
23196
23241
|
"is-streaming": U(x)(e),
|
|
@@ -23204,12 +23249,12 @@ var J_ = {
|
|
|
23204
23249
|
"error-message",
|
|
23205
23250
|
"rendered-html",
|
|
23206
23251
|
"onThumbsDown"
|
|
23207
|
-
]))), 128))], 512), m("div",
|
|
23252
|
+
]))), 128))], 512), m("div", Ov, [U(D) ? (I(), d(Tv, {
|
|
23208
23253
|
key: 0,
|
|
23209
23254
|
onSubmit: ne,
|
|
23210
23255
|
onCancel: U(j)
|
|
23211
23256
|
}, null, 8, ["onCancel"])) : (I(), p(i, { key: 1 }, [
|
|
23212
|
-
e.suggestedPrompts.length ? (I(), d(
|
|
23257
|
+
e.suggestedPrompts.length ? (I(), d(Q_, {
|
|
23213
23258
|
key: 0,
|
|
23214
23259
|
prompts: e.suggestedPrompts,
|
|
23215
23260
|
disabled: e.disabled || U(g),
|
|
@@ -23222,7 +23267,7 @@ var J_ = {
|
|
|
23222
23267
|
"onSelect"
|
|
23223
23268
|
])) : f("", !0),
|
|
23224
23269
|
B(t.$slots, "input-prepend"),
|
|
23225
|
-
_(
|
|
23270
|
+
_(yv, {
|
|
23226
23271
|
"model-value": U(u),
|
|
23227
23272
|
placeholder: r.placeholder ?? U(s).config.locale.chatbot?.placeholder,
|
|
23228
23273
|
disabled: M.value,
|
|
@@ -23238,8 +23283,8 @@ var J_ = {
|
|
|
23238
23283
|
])
|
|
23239
23284
|
], 64))])]));
|
|
23240
23285
|
}
|
|
23241
|
-
}), Ov = /* @__PURE__ */ JSON.parse("[{\"name\":\"United States\",\"alpha2\":\"US\",\"alpha3\":\"USA\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-us\",\"countryCallingCodes\":[\"+1\"],\"currencies\":[\"USD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"United Kingdom\",\"alpha2\":\"GB\",\"alpha3\":\"GBR\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-gb\",\"countryCallingCodes\":[\"+44\"],\"currencies\":[\"GBP\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Australia\",\"alpha2\":\"AU\",\"alpha3\":\"AUS\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-au\",\"countryCallingCodes\":[\"+61\"],\"currencies\":[\"AUD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Brazil\",\"alpha2\":\"BR\",\"alpha3\":\"BRA\",\"officialLanguageCode\":\"pt\",\"flag\":\"flag-br\",\"countryCallingCodes\":[\"+55\"],\"currencies\":[\"BRL\"],\"languages\":[{\"code\":\"pt\",\"name\":\"Portuguese\",\"flag\":\"flag-pt\"}]},{\"name\":\"Canada\",\"alpha2\":\"CA\",\"alpha3\":\"CAN\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-ca\",\"countryCallingCodes\":[\"+1\"],\"currencies\":[\"CAD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"}]},{\"name\":\"Germany\",\"alpha2\":\"DE\",\"alpha3\":\"DEU\",\"officialLanguageCode\":\"de\",\"flag\":\"flag-de\",\"countryCallingCodes\":[\"+49\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Albania\",\"alpha2\":\"AL\",\"alpha3\":\"ALB\",\"officialLanguageCode\":\"sq\",\"flag\":\"flag-al\",\"countryCallingCodes\":[\"+355\"],\"currencies\":[\"ALL\"],\"languages\":[{\"code\":\"sq\",\"name\":\"Albanian\",\"flag\":\"flag-al\"}]},{\"name\":\"Algeria\",\"alpha2\":\"DZ\",\"alpha3\":\"DZA\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-dz\",\"countryCallingCodes\":[\"+213\"],\"currencies\":[\"DZD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"},{\"code\":\"ber\",\"name\":\"Berber\",\"flag\":\"flag-ma\"}]},{\"name\":\"Argentina\",\"alpha2\":\"AR\",\"alpha3\":\"ARG\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-ar\",\"countryCallingCodes\":[\"+54\"],\"currencies\":[\"ARS\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Austria\",\"alpha2\":\"AT\",\"alpha3\":\"AUT\",\"officialLanguageCode\":\"de\",\"flag\":\"flag-at\",\"countryCallingCodes\":[\"+43\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Azerbaijan\",\"alpha2\":\"AZ\",\"alpha3\":\"AZE\",\"officialLanguageCode\":\"az\",\"flag\":\"flag-az\",\"countryCallingCodes\":[\"+994\"],\"currencies\":[\"AZN\"],\"languages\":[{\"code\":\"az\",\"name\":\"Azerbaijani\",\"flag\":\"flag-az\"}]},{\"name\":\"Bahrain\",\"alpha2\":\"BH\",\"alpha3\":\"BHR\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-bh\",\"countryCallingCodes\":[\"+973\"],\"currencies\":[\"BHD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Bangladesh\",\"alpha2\":\"BD\",\"alpha3\":\"BGD\",\"officialLanguageCode\":\"bn\",\"flag\":\"flag-bd\",\"countryCallingCodes\":[\"+880\"],\"currencies\":[\"BDT\"],\"languages\":[{\"code\":\"bn\",\"name\":\"Bengali\",\"flag\":\"flag-bd\"}]},{\"name\":\"Belgium\",\"alpha2\":\"BE\",\"alpha3\":\"BEL\",\"officialLanguageCode\":\"nl\",\"flag\":\"flag-be\",\"countryCallingCodes\":[\"+32\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"nl\",\"name\":\"Dutch\",\"flag\":\"flag-nl\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"},{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Bolivia\",\"alpha2\":\"BO\",\"alpha3\":\"BOL\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-bo\",\"countryCallingCodes\":[\"+591\"],\"currencies\":[\"BOB\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"},{\"code\":\"ay\",\"name\":\"Aymara\",\"flag\":\"flag-bo\"},{\"code\":\"qu\",\"name\":\"Quechua\",\"flag\":\"flag-bo\"}]},{\"name\":\"Bulgaria\",\"alpha2\":\"BG\",\"alpha3\":\"BGR\",\"officialLanguageCode\":\"bg\",\"flag\":\"flag-bg\",\"countryCallingCodes\":[\"+359\"],\"currencies\":[\"BGN\"],\"languages\":[{\"code\":\"bg\",\"name\":\"Bulgarian\",\"flag\":\"flag-bg\"}]},{\"name\":\"Cambodia\",\"alpha2\":\"KH\",\"alpha3\":\"KHM\",\"officialLanguageCode\":\"km\",\"flag\":\"flag-kh\",\"countryCallingCodes\":[\"+855\"],\"currencies\":[\"KHR\"],\"languages\":[{\"code\":\"km\",\"name\":\"Khmer\",\"flag\":\"flag-kh\"}]},{\"name\":\"Chile\",\"alpha2\":\"CL\",\"alpha3\":\"CHL\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-cl\",\"countryCallingCodes\":[\"+56\"],\"currencies\":[\"CLP\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"China\",\"alpha2\":\"CN\",\"alpha3\":\"CHN\",\"officialLanguageCode\":\"zh\",\"flag\":\"flag-cn\",\"countryCallingCodes\":[\"+86\"],\"currencies\":[\"CNY\"],\"languages\":[{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"}]},{\"name\":\"Colombia\",\"alpha2\":\"CO\",\"alpha3\":\"COL\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-co\",\"countryCallingCodes\":[\"+57\"],\"currencies\":[\"COP\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Costa Rica\",\"alpha2\":\"CR\",\"alpha3\":\"CRI\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-cr\",\"countryCallingCodes\":[\"+506\"],\"currencies\":[\"CRC\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Croatia\",\"alpha2\":\"HR\",\"alpha3\":\"HRV\",\"officialLanguageCode\":\"hr\",\"flag\":\"flag-hr\",\"countryCallingCodes\":[\"+385\"],\"currencies\":[\"HRK\"],\"languages\":[{\"code\":\"hr\",\"name\":\"Croatian\",\"flag\":\"flag-hr\"}]},{\"name\":\"Czech Republic\",\"alpha2\":\"CZ\",\"alpha3\":\"CZE\",\"officialLanguageCode\":\"cs\",\"flag\":\"flag-cz\",\"countryCallingCodes\":[\"+420\"],\"currencies\":[\"CZK\"],\"languages\":[{\"code\":\"cs\",\"name\":\"Czech\",\"flag\":\"flag-cz\"}]},{\"name\":\"Denmark\",\"alpha2\":\"DK\",\"alpha3\":\"DNK\",\"officialLanguageCode\":\"da\",\"flag\":\"flag-dk\",\"countryCallingCodes\":[\"+45\"],\"currencies\":[\"DKK\"],\"languages\":[{\"code\":\"da\",\"name\":\"Danish\",\"flag\":\"flag-dk\"}]},{\"name\":\"Dominican Republic\",\"alpha2\":\"DO\",\"alpha3\":\"DOM\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-do\",\"countryCallingCodes\":[\"+1-809\"],\"currencies\":[\"DOP\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Ecuador\",\"alpha2\":\"EC\",\"alpha3\":\"ECU\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-ec\",\"countryCallingCodes\":[\"+593\"],\"currencies\":[\"USD\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Egypt\",\"alpha2\":\"EG\",\"alpha3\":\"EGY\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-eg\",\"countryCallingCodes\":[\"+20\"],\"currencies\":[\"EGP\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"El Salvador\",\"alpha2\":\"SV\",\"alpha3\":\"SLV\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-sv\",\"countryCallingCodes\":[\"+503\"],\"currencies\":[\"USD\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Estonia\",\"alpha2\":\"EE\",\"alpha3\":\"EST\",\"officialLanguageCode\":\"et\",\"flag\":\"flag-ee\",\"countryCallingCodes\":[\"+372\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"et\",\"name\":\"Estonian\",\"flag\":\"flag-ee\"}]},{\"name\":\"Finland\",\"alpha2\":\"FI\",\"alpha3\":\"FIN\",\"officialLanguageCode\":\"fi\",\"flag\":\"flag-fi\",\"countryCallingCodes\":[\"+358\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"fi\",\"name\":\"Finnish\",\"flag\":\"flag-fi\"},{\"code\":\"sv\",\"name\":\"Swedish\",\"flag\":\"flag-se\"}]},{\"name\":\"France\",\"alpha2\":\"FR\",\"alpha3\":\"FRA\",\"officialLanguageCode\":\"fr\",\"flag\":\"flag-fr\",\"countryCallingCodes\":[\"+33\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"}]},{\"name\":\"Greece\",\"alpha2\":\"GR\",\"alpha3\":\"GRC\",\"officialLanguageCode\":\"el\",\"flag\":\"flag-gr\",\"countryCallingCodes\":[\"+30\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"el\",\"name\":\"Greek\",\"flag\":\"flag-gr\"}]},{\"name\":\"Guatemala\",\"alpha2\":\"GT\",\"alpha3\":\"GTM\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-gt\",\"countryCallingCodes\":[\"+502\"],\"currencies\":[\"GTQ\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Hong Kong\",\"alpha2\":\"HK\",\"alpha3\":\"HKG\",\"officialLanguageCode\":\"zh\",\"flag\":\"flag-hk\",\"countryCallingCodes\":[\"+852\"],\"currencies\":[\"HKD\"],\"languages\":[{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Honduras\",\"alpha2\":\"HN\",\"alpha3\":\"HND\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-hn\",\"countryCallingCodes\":[\"+504\"],\"currencies\":[\"HNL\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Hungary\",\"alpha2\":\"HU\",\"alpha3\":\"HUN\",\"officialLanguageCode\":\"hu\",\"flag\":\"flag-hu\",\"countryCallingCodes\":[\"+36\"],\"currencies\":[\"HUF\"],\"languages\":[{\"code\":\"hu\",\"name\":\"Hungarian\",\"flag\":\"flag-hu\"}]},{\"name\":\"Iceland\",\"alpha2\":\"IS\",\"alpha3\":\"ISL\",\"officialLanguageCode\":\"is\",\"flag\":\"flag-is\",\"countryCallingCodes\":[\"+354\"],\"currencies\":[\"ISK\"],\"languages\":[{\"code\":\"is\",\"name\":\"Icelandic\",\"flag\":\"flag-is\"}]},{\"name\":\"India\",\"alpha2\":\"IN\",\"alpha3\":\"IND\",\"officialLanguageCode\":\"hi\",\"flag\":\"flag-in\",\"countryCallingCodes\":[\"+91\"],\"currencies\":[\"INR\"],\"languages\":[{\"code\":\"hi\",\"name\":\"Hindi\",\"flag\":\"flag-in\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Indonesia\",\"alpha2\":\"ID\",\"alpha3\":\"IDN\",\"officialLanguageCode\":\"id\",\"flag\":\"flag-id\",\"countryCallingCodes\":[\"+62\"],\"currencies\":[\"IDR\"],\"languages\":[{\"code\":\"id\",\"name\":\"Indonesian\",\"flag\":\"flag-id\"}]},{\"name\":\"Iran\",\"alpha2\":\"IR\",\"alpha3\":\"IRN\",\"officialLanguageCode\":\"fa\",\"flag\":\"flag-ir\",\"countryCallingCodes\":[\"+98\"],\"currencies\":[\"IRR\"],\"languages\":[{\"code\":\"fa\",\"name\":\"Persian\",\"flag\":\"flag-ir\"}]},{\"name\":\"Iraq\",\"alpha2\":\"IQ\",\"alpha3\":\"IRQ\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-iq\",\"countryCallingCodes\":[\"+964\"],\"currencies\":[\"IQD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"},{\"code\":\"ku\",\"name\":\"Kurdish\",\"flag\":\"flag-iq\"}]},{\"name\":\"Ireland\",\"alpha2\":\"IE\",\"alpha3\":\"IRL\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-ie\",\"countryCallingCodes\":[\"+353\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"ga\",\"name\":\"Irish\",\"flag\":\"flag-ie\"}]},{\"name\":\"Israel\",\"alpha2\":\"IL\",\"alpha3\":\"ISR\",\"officialLanguageCode\":\"he\",\"flag\":\"flag-il\",\"countryCallingCodes\":[\"+972\"],\"currencies\":[\"ILS\"],\"languages\":[{\"code\":\"he\",\"name\":\"Hebrew\",\"flag\":\"flag-il\"},{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Italy\",\"alpha2\":\"IT\",\"alpha3\":\"ITA\",\"officialLanguageCode\":\"it\",\"flag\":\"flag-it\",\"countryCallingCodes\":[\"+39\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"it\",\"name\":\"Italian\",\"flag\":\"flag-it\"}]},{\"name\":\"Jamaica\",\"alpha2\":\"JM\",\"alpha3\":\"JAM\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-jm\",\"countryCallingCodes\":[\"+1-876\"],\"currencies\":[\"JMD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Japan\",\"alpha2\":\"JP\",\"alpha3\":\"JPN\",\"officialLanguageCode\":\"ja\",\"flag\":\"flag-jp\",\"countryCallingCodes\":[\"+81\"],\"currencies\":[\"JPY\"],\"languages\":[{\"code\":\"ja\",\"name\":\"Japanese\",\"flag\":\"flag-jp\"}]},{\"name\":\"Jordan\",\"alpha2\":\"JO\",\"alpha3\":\"JOR\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-jo\",\"countryCallingCodes\":[\"+962\"],\"currencies\":[\"JOD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Kazakhstan\",\"alpha2\":\"KZ\",\"alpha3\":\"KAZ\",\"officialLanguageCode\":\"kk\",\"flag\":\"flag-kz\",\"countryCallingCodes\":[\"+7\"],\"currencies\":[\"KZT\"],\"languages\":[{\"code\":\"kk\",\"name\":\"Kazakh\",\"flag\":\"flag-kz\"},{\"code\":\"ru\",\"name\":\"Russian\",\"flag\":\"flag-ru\"}]},{\"name\":\"Kenya\",\"alpha2\":\"KE\",\"alpha3\":\"KEN\",\"officialLanguageCode\":\"sw\",\"flag\":\"flag-ke\",\"countryCallingCodes\":[\"+254\"],\"currencies\":[\"KES\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"sw\",\"name\":\"Swahili\",\"flag\":\"flag-ke\"}]},{\"name\":\"Kuwait\",\"alpha2\":\"KW\",\"alpha3\":\"KWT\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-kw\",\"countryCallingCodes\":[\"+965\"],\"currencies\":[\"KWD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Lebanon\",\"alpha2\":\"LB\",\"alpha3\":\"LBN\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-lb\",\"countryCallingCodes\":[\"+961\"],\"currencies\":[\"LBP\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"}]},{\"name\":\"Liechtenstein\",\"alpha2\":\"LI\",\"alpha3\":\"LIE\",\"officialLanguageCode\":\"de\",\"flag\":\"flag-li\",\"countryCallingCodes\":[\"+423\"],\"currencies\":[\"CHF\"],\"languages\":[{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Lithuania\",\"alpha2\":\"LT\",\"alpha3\":\"LTU\",\"officialLanguageCode\":\"lt\",\"flag\":\"flag-lt\",\"countryCallingCodes\":[\"+370\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"lt\",\"name\":\"Lithuanian\",\"flag\":\"flag-lt\"}]},{\"name\":\"Luxembourg\",\"alpha2\":\"LU\",\"alpha3\":\"LUX\",\"officialLanguageCode\":\"lb\",\"flag\":\"flag-lu\",\"countryCallingCodes\":[\"+352\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"lb\",\"name\":\"Luxembourgish\",\"flag\":\"flag-lu\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"},{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Macau\",\"alpha2\":\"MO\",\"alpha3\":\"MAC\",\"officialLanguageCode\":\"zh\",\"flag\":\"flag-mo\",\"countryCallingCodes\":[\"+853\"],\"currencies\":[\"MOP\"],\"languages\":[{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"},{\"code\":\"pt\",\"name\":\"Portuguese\",\"flag\":\"flag-pt\"}]},{\"name\":\"Malaysia\",\"alpha2\":\"MY\",\"alpha3\":\"MYS\",\"officialLanguageCode\":\"ms\",\"flag\":\"flag-my\",\"countryCallingCodes\":[\"+60\"],\"currencies\":[\"MYR\"],\"languages\":[{\"code\":\"ms\",\"name\":\"Malay\",\"flag\":\"flag-my\"}]},{\"name\":\"Malta\",\"alpha2\":\"MT\",\"alpha3\":\"MLT\",\"officialLanguageCode\":\"mt\",\"flag\":\"flag-mt\",\"countryCallingCodes\":[\"+356\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"mt\",\"name\":\"Maltese\",\"flag\":\"flag-mt\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Mexico\",\"alpha2\":\"MX\",\"alpha3\":\"MEX\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-mx\",\"countryCallingCodes\":[\"+52\"],\"currencies\":[\"MXN\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Moldova\",\"alpha2\":\"MD\",\"alpha3\":\"MDA\",\"officialLanguageCode\":\"ro\",\"flag\":\"flag-md\",\"countryCallingCodes\":[\"+373\"],\"currencies\":[\"MDL\"],\"languages\":[{\"code\":\"ro\",\"name\":\"Romanian\",\"flag\":\"flag-ro\"}]},{\"name\":\"Morocco\",\"alpha2\":\"MA\",\"alpha3\":\"MAR\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-ma\",\"countryCallingCodes\":[\"+212\"],\"currencies\":[\"MAD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"},{\"code\":\"ber\",\"name\":\"Berber\",\"flag\":\"flag-ma\"}]},{\"name\":\"Netherlands\",\"alpha2\":\"NL\",\"alpha3\":\"NLD\",\"officialLanguageCode\":\"nl\",\"flag\":\"flag-nl\",\"countryCallingCodes\":[\"+31\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"nl\",\"name\":\"Dutch\",\"flag\":\"flag-nl\"}]},{\"name\":\"New Zealand\",\"alpha2\":\"NZ\",\"alpha3\":\"NZL\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-nz\",\"countryCallingCodes\":[\"+64\"],\"currencies\":[\"NZD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"mi\",\"name\":\"Maori\",\"flag\":\"flag-nz\"}]},{\"name\":\"Nicaragua\",\"alpha2\":\"NI\",\"alpha3\":\"NIC\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-ni\",\"countryCallingCodes\":[\"+505\"],\"currencies\":[\"NIO\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Nigeria\",\"alpha2\":\"NG\",\"alpha3\":\"NGA\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-ng\",\"countryCallingCodes\":[\"+234\"],\"currencies\":[\"NGN\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"South Korea\",\"alpha2\":\"KR\",\"alpha3\":\"KOR\",\"officialLanguageCode\":\"ko\",\"flag\":\"flag-kr\",\"countryCallingCodes\":[\"+82\"],\"currencies\":[\"KRW\"],\"languages\":[{\"code\":\"ko\",\"name\":\"Korean\",\"flag\":\"flag-kr\"}]},{\"name\":\"North Korea\",\"alpha2\":\"KP\",\"alpha3\":\"PRK\",\"officialLanguageCode\":\"ko\",\"flag\":\"flag-kp\",\"countryCallingCodes\":[\"+850\"],\"currencies\":[\"KPW\"],\"languages\":[{\"code\":\"ko\",\"name\":\"Korean\",\"flag\":\"flag-kr\"}]},{\"name\":\"South Africa\",\"alpha2\":\"ZA\",\"alpha3\":\"ZAF\",\"officialLanguageCode\":\"af\",\"flag\":\"flag-za\",\"countryCallingCodes\":[\"+27\"],\"currencies\":[\"ZAR\"],\"languages\":[{\"code\":\"af\",\"name\":\"Afrikaans\",\"flag\":\"flag-za\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"nr\",\"name\":\"Southern Ndebele\",\"flag\":\"flag-za\"},{\"code\":\"st\",\"name\":\"Southern Sotho\",\"flag\":\"flag-za\"},{\"code\":\"ss\",\"name\":\"Swazi\",\"flag\":\"flag-za\"},{\"code\":\"tn\",\"name\":\"Tswana\",\"flag\":\"flag-za\"},{\"code\":\"ts\",\"name\":\"Tsonga\",\"flag\":\"flag-za\"},{\"code\":\"ve\",\"name\":\"Venda\",\"flag\":\"flag-za\"},{\"code\":\"xh\",\"name\":\"Xhosa\",\"flag\":\"flag-za\"},{\"code\":\"zu\",\"name\":\"Zulu\",\"flag\":\"flag-za\"}]},{\"name\":\"Norway\",\"alpha2\":\"NO\",\"alpha3\":\"NOR\",\"officialLanguageCode\":\"no\",\"flag\":\"flag-no\",\"countryCallingCodes\":[\"+47\"],\"currencies\":[\"NOK\"],\"languages\":[{\"code\":\"no\",\"name\":\"Norwegian\",\"flag\":\"flag-no\"},{\"code\":\"nb\",\"name\":\"Norwegian Bokmål\",\"flag\":\"flag-no\"},{\"code\":\"nn\",\"name\":\"Norwegian Nynorsk\",\"flag\":\"flag-no\"}]},{\"name\":\"Oman\",\"alpha2\":\"OM\",\"alpha3\":\"OMN\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-om\",\"countryCallingCodes\":[\"+968\"],\"currencies\":[\"OMR\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Pakistan\",\"alpha2\":\"PK\",\"alpha3\":\"PAK\",\"officialLanguageCode\":\"ur\",\"flag\":\"flag-pk\",\"countryCallingCodes\":[\"+92\"],\"currencies\":[\"PKR\"],\"languages\":[{\"code\":\"ur\",\"name\":\"Urdu\",\"flag\":\"flag-pk\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Panama\",\"alpha2\":\"PA\",\"alpha3\":\"PAN\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-pa\",\"countryCallingCodes\":[\"+507\"],\"currencies\":[\"PAB\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Paraguay\",\"alpha2\":\"PY\",\"alpha3\":\"PRY\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-py\",\"countryCallingCodes\":[\"+595\"],\"currencies\":[\"PYG\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"},{\"code\":\"gn\",\"name\":\"Guarani\",\"flag\":\"flag-py\"}]},{\"name\":\"Peru\",\"alpha2\":\"PE\",\"alpha3\":\"PER\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-pe\",\"countryCallingCodes\":[\"+51\"],\"currencies\":[\"PEN\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Philippines\",\"alpha2\":\"PH\",\"alpha3\":\"PHL\",\"officialLanguageCode\":\"fil\",\"flag\":\"flag-ph\",\"countryCallingCodes\":[\"+63\"],\"currencies\":[\"PHP\"],\"languages\":[{\"code\":\"fil\",\"name\":\"Filipino\",\"flag\":\"flag-ph\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Poland\",\"alpha2\":\"PL\",\"alpha3\":\"POL\",\"officialLanguageCode\":\"pl\",\"flag\":\"flag-pl\",\"countryCallingCodes\":[\"+48\"],\"currencies\":[\"PLN\"],\"languages\":[{\"code\":\"pl\",\"name\":\"Polish\",\"flag\":\"flag-pl\"}]},{\"name\":\"Portugal\",\"alpha2\":\"PT\",\"alpha3\":\"PRT\",\"officialLanguageCode\":\"pt\",\"flag\":\"flag-pt\",\"countryCallingCodes\":[\"+351\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"pt\",\"name\":\"Portuguese\",\"flag\":\"flag-pt\"}]},{\"name\":\"Qatar\",\"alpha2\":\"QA\",\"alpha3\":\"QAT\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-qa\",\"countryCallingCodes\":[\"+974\"],\"currencies\":[\"QAR\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Romania\",\"alpha2\":\"RO\",\"alpha3\":\"ROU\",\"officialLanguageCode\":\"ro\",\"flag\":\"flag-ro\",\"countryCallingCodes\":[\"+40\"],\"currencies\":[\"RON\"],\"languages\":[{\"code\":\"ro\",\"name\":\"Romanian\",\"flag\":\"flag-ro\"}]},{\"name\":\"Russia\",\"alpha2\":\"RU\",\"alpha3\":\"RUS\",\"officialLanguageCode\":\"ru\",\"flag\":\"flag-ru\",\"countryCallingCodes\":[\"+7\"],\"currencies\":[\"RUB\"],\"languages\":[{\"code\":\"ru\",\"name\":\"Russian\",\"flag\":\"flag-ru\"}]},{\"name\":\"Saudi Arabia\",\"alpha2\":\"SA\",\"alpha3\":\"SAU\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-sa\",\"countryCallingCodes\":[\"+966\"],\"currencies\":[\"SAR\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Singapore\",\"alpha2\":\"SG\",\"alpha3\":\"SGP\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-sg\",\"countryCallingCodes\":[\"+65\"],\"currencies\":[\"SGD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"},{\"code\":\"ms\",\"name\":\"Malay\",\"flag\":\"flag-my\"},{\"code\":\"ta\",\"name\":\"Tamil\",\"flag\":\"flag-lk\"}]},{\"name\":\"Slovakia\",\"alpha2\":\"SK\",\"alpha3\":\"SVK\",\"officialLanguageCode\":\"sk\",\"flag\":\"flag-sk\",\"countryCallingCodes\":[\"+421\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"sk\",\"name\":\"Slovak\",\"flag\":\"flag-sk\"}]},{\"name\":\"Slovenia\",\"alpha2\":\"SI\",\"alpha3\":\"SVN\",\"officialLanguageCode\":\"sl\",\"flag\":\"flag-si\",\"countryCallingCodes\":[\"+386\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"sl\",\"name\":\"Slovene\",\"flag\":\"flag-si\"}]},{\"name\":\"Spain\",\"alpha2\":\"ES\",\"alpha3\":\"ESP\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-es\",\"countryCallingCodes\":[\"+34\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Sri Lanka\",\"alpha2\":\"LK\",\"alpha3\":\"LKA\",\"officialLanguageCode\":\"si\",\"flag\":\"flag-lk\",\"countryCallingCodes\":[\"+94\"],\"currencies\":[\"LKR\"],\"languages\":[{\"code\":\"si\",\"name\":\"Sinhala\",\"flag\":\"flag-lk\"},{\"code\":\"ta\",\"name\":\"Tamil\",\"flag\":\"flag-lk\"}]},{\"name\":\"Sweden\",\"alpha2\":\"SE\",\"alpha3\":\"SWE\",\"officialLanguageCode\":\"sv\",\"flag\":\"flag-se\",\"countryCallingCodes\":[\"+46\"],\"currencies\":[\"SEK\"],\"languages\":[{\"code\":\"sv\",\"name\":\"Swedish\",\"flag\":\"flag-se\"}]},{\"name\":\"Switzerland\",\"alpha2\":\"CH\",\"alpha3\":\"CHE\",\"officialLanguageCode\":\"de\",\"flag\":\"flag-ch\",\"countryCallingCodes\":[\"+41\"],\"currencies\":[\"CHF\"],\"languages\":[{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"},{\"code\":\"it\",\"name\":\"Italian\",\"flag\":\"flag-it\"}]},{\"name\":\"Taiwan\",\"alpha2\":\"TW\",\"alpha3\":\"TWN\",\"officialLanguageCode\":\"zh\",\"flag\":\"flag-tw\",\"countryCallingCodes\":[\"+886\"],\"currencies\":[\"TWD\"],\"languages\":[{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"}]},{\"name\":\"Thailand\",\"alpha2\":\"TH\",\"alpha3\":\"THA\",\"officialLanguageCode\":\"th\",\"flag\":\"flag-th\",\"countryCallingCodes\":[\"+66\"],\"currencies\":[\"THB\"],\"languages\":[{\"code\":\"th\",\"name\":\"Thai\",\"flag\":\"flag-th\"}]},{\"name\":\"Tunisia\",\"alpha2\":\"TN\",\"alpha3\":\"TUN\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-tn\",\"countryCallingCodes\":[\"+216\"],\"currencies\":[\"TND\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Turkey\",\"alpha2\":\"TR\",\"alpha3\":\"TUR\",\"officialLanguageCode\":\"tr\",\"flag\":\"flag-tr\",\"countryCallingCodes\":[\"+90\"],\"currencies\":[\"TRY\"],\"languages\":[{\"code\":\"tr\",\"name\":\"Turkish\",\"flag\":\"flag-tr\"}]},{\"name\":\"Ukraine\",\"alpha2\":\"UA\",\"alpha3\":\"UKR\",\"officialLanguageCode\":\"uk\",\"flag\":\"flag-ua\",\"countryCallingCodes\":[\"+380\"],\"currencies\":[\"UAH\"],\"languages\":[{\"code\":\"uk\",\"name\":\"Ukrainian\",\"flag\":\"flag-ua\"}]},{\"name\":\"United Arab Emirates\",\"alpha2\":\"AE\",\"alpha3\":\"ARE\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-ae\",\"countryCallingCodes\":[\"+971\"],\"currencies\":[\"AED\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Uruguay\",\"alpha2\":\"UY\",\"alpha3\":\"URY\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-uy\",\"countryCallingCodes\":[\"+598\"],\"currencies\":[\"UYU\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Venezuela\",\"alpha2\":\"VE\",\"alpha3\":\"VEN\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-ve\",\"countryCallingCodes\":[\"+58\"],\"currencies\":[\"VES\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Vietnam\",\"alpha2\":\"VN\",\"alpha3\":\"VNM\",\"officialLanguageCode\":\"vi\",\"flag\":\"flag-vn\",\"countryCallingCodes\":[\"+84\"],\"currencies\":[\"VND\"],\"languages\":[{\"code\":\"vi\",\"name\":\"Vietnamese\",\"flag\":\"flag-vn\"}]},{\"name\":\"Latvia\",\"alpha2\":\"LV\",\"alpha3\":\"LVA\",\"officialLanguageCode\":\"lv\",\"flag\":\"flag-lv\",\"countryCallingCodes\":[\"+371\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"lv\",\"name\":\"Latvian\",\"flag\":\"flag-lv\"}]},{\"name\":\"Mongolia\",\"alpha2\":\"MN\",\"alpha3\":\"MNG\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-mn\",\"countryCallingCodes\":[\"+976\"],\"currencies\":[\"MNT\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Uzbekistan\",\"alpha2\":\"UZ\",\"alpha3\":\"UZB\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-uz\",\"countryCallingCodes\":[\"+998\"],\"currencies\":[\"UZS\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Ghana\",\"alpha2\":\"GH\",\"alpha3\":\"GHA\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-gh\",\"countryCallingCodes\":[\"+233\"],\"currencies\":[\"GHS\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Cyprus\",\"alpha2\":\"CY\",\"alpha3\":\"CYP\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-cy\",\"countryCallingCodes\":[\"+357\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"el\",\"name\":\"Greek\",\"flag\":\"flag-gr\"},{\"code\":\"tr\",\"name\":\"Turkish\",\"flag\":\"flag-tr\"}]},{\"name\":\"Armenia\",\"alpha2\":\"AM\",\"alpha3\":\"ARM\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-am\",\"countryCallingCodes\":[\"+374\"],\"currencies\":[\"AMD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Nepal\",\"alpha2\":\"NP\",\"alpha3\":\"NPL\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-np\",\"countryCallingCodes\":[\"+977\"],\"currencies\":[\"NPR\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Kyrgyzstan\",\"alpha2\":\"KG\",\"alpha3\":\"KGZ\",\"officialLanguageCode\":\"ru\",\"flag\":\"flag-kg\",\"countryCallingCodes\":[\"+996\"],\"currencies\":[\"KGS\"],\"languages\":[{\"code\":\"ru\",\"name\":\"Russian\",\"flag\":\"flag-ru\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"uk\",\"name\":\"Ukrainian\",\"flag\":\"flag-ua\"}]}]"), kv = "https://files.mobileaction.co/flags/svg", Av = new class e {
|
|
23242
|
-
static countriesData = Object.freeze(
|
|
23286
|
+
}), Av = /* @__PURE__ */ JSON.parse("[{\"name\":\"United States\",\"alpha2\":\"US\",\"alpha3\":\"USA\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-us\",\"countryCallingCodes\":[\"+1\"],\"currencies\":[\"USD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"United Kingdom\",\"alpha2\":\"GB\",\"alpha3\":\"GBR\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-gb\",\"countryCallingCodes\":[\"+44\"],\"currencies\":[\"GBP\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Australia\",\"alpha2\":\"AU\",\"alpha3\":\"AUS\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-au\",\"countryCallingCodes\":[\"+61\"],\"currencies\":[\"AUD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Brazil\",\"alpha2\":\"BR\",\"alpha3\":\"BRA\",\"officialLanguageCode\":\"pt\",\"flag\":\"flag-br\",\"countryCallingCodes\":[\"+55\"],\"currencies\":[\"BRL\"],\"languages\":[{\"code\":\"pt\",\"name\":\"Portuguese\",\"flag\":\"flag-pt\"}]},{\"name\":\"Canada\",\"alpha2\":\"CA\",\"alpha3\":\"CAN\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-ca\",\"countryCallingCodes\":[\"+1\"],\"currencies\":[\"CAD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"}]},{\"name\":\"Germany\",\"alpha2\":\"DE\",\"alpha3\":\"DEU\",\"officialLanguageCode\":\"de\",\"flag\":\"flag-de\",\"countryCallingCodes\":[\"+49\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Albania\",\"alpha2\":\"AL\",\"alpha3\":\"ALB\",\"officialLanguageCode\":\"sq\",\"flag\":\"flag-al\",\"countryCallingCodes\":[\"+355\"],\"currencies\":[\"ALL\"],\"languages\":[{\"code\":\"sq\",\"name\":\"Albanian\",\"flag\":\"flag-al\"}]},{\"name\":\"Algeria\",\"alpha2\":\"DZ\",\"alpha3\":\"DZA\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-dz\",\"countryCallingCodes\":[\"+213\"],\"currencies\":[\"DZD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"},{\"code\":\"ber\",\"name\":\"Berber\",\"flag\":\"flag-ma\"}]},{\"name\":\"Argentina\",\"alpha2\":\"AR\",\"alpha3\":\"ARG\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-ar\",\"countryCallingCodes\":[\"+54\"],\"currencies\":[\"ARS\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Austria\",\"alpha2\":\"AT\",\"alpha3\":\"AUT\",\"officialLanguageCode\":\"de\",\"flag\":\"flag-at\",\"countryCallingCodes\":[\"+43\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Azerbaijan\",\"alpha2\":\"AZ\",\"alpha3\":\"AZE\",\"officialLanguageCode\":\"az\",\"flag\":\"flag-az\",\"countryCallingCodes\":[\"+994\"],\"currencies\":[\"AZN\"],\"languages\":[{\"code\":\"az\",\"name\":\"Azerbaijani\",\"flag\":\"flag-az\"}]},{\"name\":\"Bahrain\",\"alpha2\":\"BH\",\"alpha3\":\"BHR\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-bh\",\"countryCallingCodes\":[\"+973\"],\"currencies\":[\"BHD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Bangladesh\",\"alpha2\":\"BD\",\"alpha3\":\"BGD\",\"officialLanguageCode\":\"bn\",\"flag\":\"flag-bd\",\"countryCallingCodes\":[\"+880\"],\"currencies\":[\"BDT\"],\"languages\":[{\"code\":\"bn\",\"name\":\"Bengali\",\"flag\":\"flag-bd\"}]},{\"name\":\"Belgium\",\"alpha2\":\"BE\",\"alpha3\":\"BEL\",\"officialLanguageCode\":\"nl\",\"flag\":\"flag-be\",\"countryCallingCodes\":[\"+32\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"nl\",\"name\":\"Dutch\",\"flag\":\"flag-nl\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"},{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Bolivia\",\"alpha2\":\"BO\",\"alpha3\":\"BOL\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-bo\",\"countryCallingCodes\":[\"+591\"],\"currencies\":[\"BOB\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"},{\"code\":\"ay\",\"name\":\"Aymara\",\"flag\":\"flag-bo\"},{\"code\":\"qu\",\"name\":\"Quechua\",\"flag\":\"flag-bo\"}]},{\"name\":\"Bulgaria\",\"alpha2\":\"BG\",\"alpha3\":\"BGR\",\"officialLanguageCode\":\"bg\",\"flag\":\"flag-bg\",\"countryCallingCodes\":[\"+359\"],\"currencies\":[\"BGN\"],\"languages\":[{\"code\":\"bg\",\"name\":\"Bulgarian\",\"flag\":\"flag-bg\"}]},{\"name\":\"Cambodia\",\"alpha2\":\"KH\",\"alpha3\":\"KHM\",\"officialLanguageCode\":\"km\",\"flag\":\"flag-kh\",\"countryCallingCodes\":[\"+855\"],\"currencies\":[\"KHR\"],\"languages\":[{\"code\":\"km\",\"name\":\"Khmer\",\"flag\":\"flag-kh\"}]},{\"name\":\"Chile\",\"alpha2\":\"CL\",\"alpha3\":\"CHL\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-cl\",\"countryCallingCodes\":[\"+56\"],\"currencies\":[\"CLP\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"China\",\"alpha2\":\"CN\",\"alpha3\":\"CHN\",\"officialLanguageCode\":\"zh\",\"flag\":\"flag-cn\",\"countryCallingCodes\":[\"+86\"],\"currencies\":[\"CNY\"],\"languages\":[{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"}]},{\"name\":\"Colombia\",\"alpha2\":\"CO\",\"alpha3\":\"COL\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-co\",\"countryCallingCodes\":[\"+57\"],\"currencies\":[\"COP\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Costa Rica\",\"alpha2\":\"CR\",\"alpha3\":\"CRI\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-cr\",\"countryCallingCodes\":[\"+506\"],\"currencies\":[\"CRC\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Croatia\",\"alpha2\":\"HR\",\"alpha3\":\"HRV\",\"officialLanguageCode\":\"hr\",\"flag\":\"flag-hr\",\"countryCallingCodes\":[\"+385\"],\"currencies\":[\"HRK\"],\"languages\":[{\"code\":\"hr\",\"name\":\"Croatian\",\"flag\":\"flag-hr\"}]},{\"name\":\"Czech Republic\",\"alpha2\":\"CZ\",\"alpha3\":\"CZE\",\"officialLanguageCode\":\"cs\",\"flag\":\"flag-cz\",\"countryCallingCodes\":[\"+420\"],\"currencies\":[\"CZK\"],\"languages\":[{\"code\":\"cs\",\"name\":\"Czech\",\"flag\":\"flag-cz\"}]},{\"name\":\"Denmark\",\"alpha2\":\"DK\",\"alpha3\":\"DNK\",\"officialLanguageCode\":\"da\",\"flag\":\"flag-dk\",\"countryCallingCodes\":[\"+45\"],\"currencies\":[\"DKK\"],\"languages\":[{\"code\":\"da\",\"name\":\"Danish\",\"flag\":\"flag-dk\"}]},{\"name\":\"Dominican Republic\",\"alpha2\":\"DO\",\"alpha3\":\"DOM\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-do\",\"countryCallingCodes\":[\"+1-809\"],\"currencies\":[\"DOP\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Ecuador\",\"alpha2\":\"EC\",\"alpha3\":\"ECU\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-ec\",\"countryCallingCodes\":[\"+593\"],\"currencies\":[\"USD\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Egypt\",\"alpha2\":\"EG\",\"alpha3\":\"EGY\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-eg\",\"countryCallingCodes\":[\"+20\"],\"currencies\":[\"EGP\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"El Salvador\",\"alpha2\":\"SV\",\"alpha3\":\"SLV\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-sv\",\"countryCallingCodes\":[\"+503\"],\"currencies\":[\"USD\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Estonia\",\"alpha2\":\"EE\",\"alpha3\":\"EST\",\"officialLanguageCode\":\"et\",\"flag\":\"flag-ee\",\"countryCallingCodes\":[\"+372\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"et\",\"name\":\"Estonian\",\"flag\":\"flag-ee\"}]},{\"name\":\"Finland\",\"alpha2\":\"FI\",\"alpha3\":\"FIN\",\"officialLanguageCode\":\"fi\",\"flag\":\"flag-fi\",\"countryCallingCodes\":[\"+358\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"fi\",\"name\":\"Finnish\",\"flag\":\"flag-fi\"},{\"code\":\"sv\",\"name\":\"Swedish\",\"flag\":\"flag-se\"}]},{\"name\":\"France\",\"alpha2\":\"FR\",\"alpha3\":\"FRA\",\"officialLanguageCode\":\"fr\",\"flag\":\"flag-fr\",\"countryCallingCodes\":[\"+33\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"}]},{\"name\":\"Greece\",\"alpha2\":\"GR\",\"alpha3\":\"GRC\",\"officialLanguageCode\":\"el\",\"flag\":\"flag-gr\",\"countryCallingCodes\":[\"+30\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"el\",\"name\":\"Greek\",\"flag\":\"flag-gr\"}]},{\"name\":\"Guatemala\",\"alpha2\":\"GT\",\"alpha3\":\"GTM\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-gt\",\"countryCallingCodes\":[\"+502\"],\"currencies\":[\"GTQ\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Hong Kong\",\"alpha2\":\"HK\",\"alpha3\":\"HKG\",\"officialLanguageCode\":\"zh\",\"flag\":\"flag-hk\",\"countryCallingCodes\":[\"+852\"],\"currencies\":[\"HKD\"],\"languages\":[{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Honduras\",\"alpha2\":\"HN\",\"alpha3\":\"HND\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-hn\",\"countryCallingCodes\":[\"+504\"],\"currencies\":[\"HNL\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Hungary\",\"alpha2\":\"HU\",\"alpha3\":\"HUN\",\"officialLanguageCode\":\"hu\",\"flag\":\"flag-hu\",\"countryCallingCodes\":[\"+36\"],\"currencies\":[\"HUF\"],\"languages\":[{\"code\":\"hu\",\"name\":\"Hungarian\",\"flag\":\"flag-hu\"}]},{\"name\":\"Iceland\",\"alpha2\":\"IS\",\"alpha3\":\"ISL\",\"officialLanguageCode\":\"is\",\"flag\":\"flag-is\",\"countryCallingCodes\":[\"+354\"],\"currencies\":[\"ISK\"],\"languages\":[{\"code\":\"is\",\"name\":\"Icelandic\",\"flag\":\"flag-is\"}]},{\"name\":\"India\",\"alpha2\":\"IN\",\"alpha3\":\"IND\",\"officialLanguageCode\":\"hi\",\"flag\":\"flag-in\",\"countryCallingCodes\":[\"+91\"],\"currencies\":[\"INR\"],\"languages\":[{\"code\":\"hi\",\"name\":\"Hindi\",\"flag\":\"flag-in\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Indonesia\",\"alpha2\":\"ID\",\"alpha3\":\"IDN\",\"officialLanguageCode\":\"id\",\"flag\":\"flag-id\",\"countryCallingCodes\":[\"+62\"],\"currencies\":[\"IDR\"],\"languages\":[{\"code\":\"id\",\"name\":\"Indonesian\",\"flag\":\"flag-id\"}]},{\"name\":\"Iran\",\"alpha2\":\"IR\",\"alpha3\":\"IRN\",\"officialLanguageCode\":\"fa\",\"flag\":\"flag-ir\",\"countryCallingCodes\":[\"+98\"],\"currencies\":[\"IRR\"],\"languages\":[{\"code\":\"fa\",\"name\":\"Persian\",\"flag\":\"flag-ir\"}]},{\"name\":\"Iraq\",\"alpha2\":\"IQ\",\"alpha3\":\"IRQ\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-iq\",\"countryCallingCodes\":[\"+964\"],\"currencies\":[\"IQD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"},{\"code\":\"ku\",\"name\":\"Kurdish\",\"flag\":\"flag-iq\"}]},{\"name\":\"Ireland\",\"alpha2\":\"IE\",\"alpha3\":\"IRL\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-ie\",\"countryCallingCodes\":[\"+353\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"ga\",\"name\":\"Irish\",\"flag\":\"flag-ie\"}]},{\"name\":\"Israel\",\"alpha2\":\"IL\",\"alpha3\":\"ISR\",\"officialLanguageCode\":\"he\",\"flag\":\"flag-il\",\"countryCallingCodes\":[\"+972\"],\"currencies\":[\"ILS\"],\"languages\":[{\"code\":\"he\",\"name\":\"Hebrew\",\"flag\":\"flag-il\"},{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Italy\",\"alpha2\":\"IT\",\"alpha3\":\"ITA\",\"officialLanguageCode\":\"it\",\"flag\":\"flag-it\",\"countryCallingCodes\":[\"+39\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"it\",\"name\":\"Italian\",\"flag\":\"flag-it\"}]},{\"name\":\"Jamaica\",\"alpha2\":\"JM\",\"alpha3\":\"JAM\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-jm\",\"countryCallingCodes\":[\"+1-876\"],\"currencies\":[\"JMD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Japan\",\"alpha2\":\"JP\",\"alpha3\":\"JPN\",\"officialLanguageCode\":\"ja\",\"flag\":\"flag-jp\",\"countryCallingCodes\":[\"+81\"],\"currencies\":[\"JPY\"],\"languages\":[{\"code\":\"ja\",\"name\":\"Japanese\",\"flag\":\"flag-jp\"}]},{\"name\":\"Jordan\",\"alpha2\":\"JO\",\"alpha3\":\"JOR\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-jo\",\"countryCallingCodes\":[\"+962\"],\"currencies\":[\"JOD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Kazakhstan\",\"alpha2\":\"KZ\",\"alpha3\":\"KAZ\",\"officialLanguageCode\":\"kk\",\"flag\":\"flag-kz\",\"countryCallingCodes\":[\"+7\"],\"currencies\":[\"KZT\"],\"languages\":[{\"code\":\"kk\",\"name\":\"Kazakh\",\"flag\":\"flag-kz\"},{\"code\":\"ru\",\"name\":\"Russian\",\"flag\":\"flag-ru\"}]},{\"name\":\"Kenya\",\"alpha2\":\"KE\",\"alpha3\":\"KEN\",\"officialLanguageCode\":\"sw\",\"flag\":\"flag-ke\",\"countryCallingCodes\":[\"+254\"],\"currencies\":[\"KES\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"sw\",\"name\":\"Swahili\",\"flag\":\"flag-ke\"}]},{\"name\":\"Kuwait\",\"alpha2\":\"KW\",\"alpha3\":\"KWT\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-kw\",\"countryCallingCodes\":[\"+965\"],\"currencies\":[\"KWD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Lebanon\",\"alpha2\":\"LB\",\"alpha3\":\"LBN\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-lb\",\"countryCallingCodes\":[\"+961\"],\"currencies\":[\"LBP\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"}]},{\"name\":\"Liechtenstein\",\"alpha2\":\"LI\",\"alpha3\":\"LIE\",\"officialLanguageCode\":\"de\",\"flag\":\"flag-li\",\"countryCallingCodes\":[\"+423\"],\"currencies\":[\"CHF\"],\"languages\":[{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Lithuania\",\"alpha2\":\"LT\",\"alpha3\":\"LTU\",\"officialLanguageCode\":\"lt\",\"flag\":\"flag-lt\",\"countryCallingCodes\":[\"+370\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"lt\",\"name\":\"Lithuanian\",\"flag\":\"flag-lt\"}]},{\"name\":\"Luxembourg\",\"alpha2\":\"LU\",\"alpha3\":\"LUX\",\"officialLanguageCode\":\"lb\",\"flag\":\"flag-lu\",\"countryCallingCodes\":[\"+352\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"lb\",\"name\":\"Luxembourgish\",\"flag\":\"flag-lu\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"},{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"}]},{\"name\":\"Macau\",\"alpha2\":\"MO\",\"alpha3\":\"MAC\",\"officialLanguageCode\":\"zh\",\"flag\":\"flag-mo\",\"countryCallingCodes\":[\"+853\"],\"currencies\":[\"MOP\"],\"languages\":[{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"},{\"code\":\"pt\",\"name\":\"Portuguese\",\"flag\":\"flag-pt\"}]},{\"name\":\"Malaysia\",\"alpha2\":\"MY\",\"alpha3\":\"MYS\",\"officialLanguageCode\":\"ms\",\"flag\":\"flag-my\",\"countryCallingCodes\":[\"+60\"],\"currencies\":[\"MYR\"],\"languages\":[{\"code\":\"ms\",\"name\":\"Malay\",\"flag\":\"flag-my\"}]},{\"name\":\"Malta\",\"alpha2\":\"MT\",\"alpha3\":\"MLT\",\"officialLanguageCode\":\"mt\",\"flag\":\"flag-mt\",\"countryCallingCodes\":[\"+356\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"mt\",\"name\":\"Maltese\",\"flag\":\"flag-mt\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Mexico\",\"alpha2\":\"MX\",\"alpha3\":\"MEX\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-mx\",\"countryCallingCodes\":[\"+52\"],\"currencies\":[\"MXN\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Moldova\",\"alpha2\":\"MD\",\"alpha3\":\"MDA\",\"officialLanguageCode\":\"ro\",\"flag\":\"flag-md\",\"countryCallingCodes\":[\"+373\"],\"currencies\":[\"MDL\"],\"languages\":[{\"code\":\"ro\",\"name\":\"Romanian\",\"flag\":\"flag-ro\"}]},{\"name\":\"Morocco\",\"alpha2\":\"MA\",\"alpha3\":\"MAR\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-ma\",\"countryCallingCodes\":[\"+212\"],\"currencies\":[\"MAD\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"},{\"code\":\"ber\",\"name\":\"Berber\",\"flag\":\"flag-ma\"}]},{\"name\":\"Netherlands\",\"alpha2\":\"NL\",\"alpha3\":\"NLD\",\"officialLanguageCode\":\"nl\",\"flag\":\"flag-nl\",\"countryCallingCodes\":[\"+31\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"nl\",\"name\":\"Dutch\",\"flag\":\"flag-nl\"}]},{\"name\":\"New Zealand\",\"alpha2\":\"NZ\",\"alpha3\":\"NZL\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-nz\",\"countryCallingCodes\":[\"+64\"],\"currencies\":[\"NZD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"mi\",\"name\":\"Maori\",\"flag\":\"flag-nz\"}]},{\"name\":\"Nicaragua\",\"alpha2\":\"NI\",\"alpha3\":\"NIC\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-ni\",\"countryCallingCodes\":[\"+505\"],\"currencies\":[\"NIO\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Nigeria\",\"alpha2\":\"NG\",\"alpha3\":\"NGA\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-ng\",\"countryCallingCodes\":[\"+234\"],\"currencies\":[\"NGN\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"South Korea\",\"alpha2\":\"KR\",\"alpha3\":\"KOR\",\"officialLanguageCode\":\"ko\",\"flag\":\"flag-kr\",\"countryCallingCodes\":[\"+82\"],\"currencies\":[\"KRW\"],\"languages\":[{\"code\":\"ko\",\"name\":\"Korean\",\"flag\":\"flag-kr\"}]},{\"name\":\"North Korea\",\"alpha2\":\"KP\",\"alpha3\":\"PRK\",\"officialLanguageCode\":\"ko\",\"flag\":\"flag-kp\",\"countryCallingCodes\":[\"+850\"],\"currencies\":[\"KPW\"],\"languages\":[{\"code\":\"ko\",\"name\":\"Korean\",\"flag\":\"flag-kr\"}]},{\"name\":\"South Africa\",\"alpha2\":\"ZA\",\"alpha3\":\"ZAF\",\"officialLanguageCode\":\"af\",\"flag\":\"flag-za\",\"countryCallingCodes\":[\"+27\"],\"currencies\":[\"ZAR\"],\"languages\":[{\"code\":\"af\",\"name\":\"Afrikaans\",\"flag\":\"flag-za\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"nr\",\"name\":\"Southern Ndebele\",\"flag\":\"flag-za\"},{\"code\":\"st\",\"name\":\"Southern Sotho\",\"flag\":\"flag-za\"},{\"code\":\"ss\",\"name\":\"Swazi\",\"flag\":\"flag-za\"},{\"code\":\"tn\",\"name\":\"Tswana\",\"flag\":\"flag-za\"},{\"code\":\"ts\",\"name\":\"Tsonga\",\"flag\":\"flag-za\"},{\"code\":\"ve\",\"name\":\"Venda\",\"flag\":\"flag-za\"},{\"code\":\"xh\",\"name\":\"Xhosa\",\"flag\":\"flag-za\"},{\"code\":\"zu\",\"name\":\"Zulu\",\"flag\":\"flag-za\"}]},{\"name\":\"Norway\",\"alpha2\":\"NO\",\"alpha3\":\"NOR\",\"officialLanguageCode\":\"no\",\"flag\":\"flag-no\",\"countryCallingCodes\":[\"+47\"],\"currencies\":[\"NOK\"],\"languages\":[{\"code\":\"no\",\"name\":\"Norwegian\",\"flag\":\"flag-no\"},{\"code\":\"nb\",\"name\":\"Norwegian Bokmål\",\"flag\":\"flag-no\"},{\"code\":\"nn\",\"name\":\"Norwegian Nynorsk\",\"flag\":\"flag-no\"}]},{\"name\":\"Oman\",\"alpha2\":\"OM\",\"alpha3\":\"OMN\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-om\",\"countryCallingCodes\":[\"+968\"],\"currencies\":[\"OMR\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Pakistan\",\"alpha2\":\"PK\",\"alpha3\":\"PAK\",\"officialLanguageCode\":\"ur\",\"flag\":\"flag-pk\",\"countryCallingCodes\":[\"+92\"],\"currencies\":[\"PKR\"],\"languages\":[{\"code\":\"ur\",\"name\":\"Urdu\",\"flag\":\"flag-pk\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Panama\",\"alpha2\":\"PA\",\"alpha3\":\"PAN\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-pa\",\"countryCallingCodes\":[\"+507\"],\"currencies\":[\"PAB\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Paraguay\",\"alpha2\":\"PY\",\"alpha3\":\"PRY\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-py\",\"countryCallingCodes\":[\"+595\"],\"currencies\":[\"PYG\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"},{\"code\":\"gn\",\"name\":\"Guarani\",\"flag\":\"flag-py\"}]},{\"name\":\"Peru\",\"alpha2\":\"PE\",\"alpha3\":\"PER\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-pe\",\"countryCallingCodes\":[\"+51\"],\"currencies\":[\"PEN\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Philippines\",\"alpha2\":\"PH\",\"alpha3\":\"PHL\",\"officialLanguageCode\":\"fil\",\"flag\":\"flag-ph\",\"countryCallingCodes\":[\"+63\"],\"currencies\":[\"PHP\"],\"languages\":[{\"code\":\"fil\",\"name\":\"Filipino\",\"flag\":\"flag-ph\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Poland\",\"alpha2\":\"PL\",\"alpha3\":\"POL\",\"officialLanguageCode\":\"pl\",\"flag\":\"flag-pl\",\"countryCallingCodes\":[\"+48\"],\"currencies\":[\"PLN\"],\"languages\":[{\"code\":\"pl\",\"name\":\"Polish\",\"flag\":\"flag-pl\"}]},{\"name\":\"Portugal\",\"alpha2\":\"PT\",\"alpha3\":\"PRT\",\"officialLanguageCode\":\"pt\",\"flag\":\"flag-pt\",\"countryCallingCodes\":[\"+351\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"pt\",\"name\":\"Portuguese\",\"flag\":\"flag-pt\"}]},{\"name\":\"Qatar\",\"alpha2\":\"QA\",\"alpha3\":\"QAT\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-qa\",\"countryCallingCodes\":[\"+974\"],\"currencies\":[\"QAR\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Romania\",\"alpha2\":\"RO\",\"alpha3\":\"ROU\",\"officialLanguageCode\":\"ro\",\"flag\":\"flag-ro\",\"countryCallingCodes\":[\"+40\"],\"currencies\":[\"RON\"],\"languages\":[{\"code\":\"ro\",\"name\":\"Romanian\",\"flag\":\"flag-ro\"}]},{\"name\":\"Russia\",\"alpha2\":\"RU\",\"alpha3\":\"RUS\",\"officialLanguageCode\":\"ru\",\"flag\":\"flag-ru\",\"countryCallingCodes\":[\"+7\"],\"currencies\":[\"RUB\"],\"languages\":[{\"code\":\"ru\",\"name\":\"Russian\",\"flag\":\"flag-ru\"}]},{\"name\":\"Saudi Arabia\",\"alpha2\":\"SA\",\"alpha3\":\"SAU\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-sa\",\"countryCallingCodes\":[\"+966\"],\"currencies\":[\"SAR\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Singapore\",\"alpha2\":\"SG\",\"alpha3\":\"SGP\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-sg\",\"countryCallingCodes\":[\"+65\"],\"currencies\":[\"SGD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"},{\"code\":\"ms\",\"name\":\"Malay\",\"flag\":\"flag-my\"},{\"code\":\"ta\",\"name\":\"Tamil\",\"flag\":\"flag-lk\"}]},{\"name\":\"Slovakia\",\"alpha2\":\"SK\",\"alpha3\":\"SVK\",\"officialLanguageCode\":\"sk\",\"flag\":\"flag-sk\",\"countryCallingCodes\":[\"+421\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"sk\",\"name\":\"Slovak\",\"flag\":\"flag-sk\"}]},{\"name\":\"Slovenia\",\"alpha2\":\"SI\",\"alpha3\":\"SVN\",\"officialLanguageCode\":\"sl\",\"flag\":\"flag-si\",\"countryCallingCodes\":[\"+386\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"sl\",\"name\":\"Slovene\",\"flag\":\"flag-si\"}]},{\"name\":\"Spain\",\"alpha2\":\"ES\",\"alpha3\":\"ESP\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-es\",\"countryCallingCodes\":[\"+34\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Sri Lanka\",\"alpha2\":\"LK\",\"alpha3\":\"LKA\",\"officialLanguageCode\":\"si\",\"flag\":\"flag-lk\",\"countryCallingCodes\":[\"+94\"],\"currencies\":[\"LKR\"],\"languages\":[{\"code\":\"si\",\"name\":\"Sinhala\",\"flag\":\"flag-lk\"},{\"code\":\"ta\",\"name\":\"Tamil\",\"flag\":\"flag-lk\"}]},{\"name\":\"Sweden\",\"alpha2\":\"SE\",\"alpha3\":\"SWE\",\"officialLanguageCode\":\"sv\",\"flag\":\"flag-se\",\"countryCallingCodes\":[\"+46\"],\"currencies\":[\"SEK\"],\"languages\":[{\"code\":\"sv\",\"name\":\"Swedish\",\"flag\":\"flag-se\"}]},{\"name\":\"Switzerland\",\"alpha2\":\"CH\",\"alpha3\":\"CHE\",\"officialLanguageCode\":\"de\",\"flag\":\"flag-ch\",\"countryCallingCodes\":[\"+41\"],\"currencies\":[\"CHF\"],\"languages\":[{\"code\":\"de\",\"name\":\"German\",\"flag\":\"flag-de\"},{\"code\":\"fr\",\"name\":\"French\",\"flag\":\"flag-fr\"},{\"code\":\"it\",\"name\":\"Italian\",\"flag\":\"flag-it\"}]},{\"name\":\"Taiwan\",\"alpha2\":\"TW\",\"alpha3\":\"TWN\",\"officialLanguageCode\":\"zh\",\"flag\":\"flag-tw\",\"countryCallingCodes\":[\"+886\"],\"currencies\":[\"TWD\"],\"languages\":[{\"code\":\"zh\",\"name\":\"Chinese\",\"flag\":\"flag-cn\"}]},{\"name\":\"Thailand\",\"alpha2\":\"TH\",\"alpha3\":\"THA\",\"officialLanguageCode\":\"th\",\"flag\":\"flag-th\",\"countryCallingCodes\":[\"+66\"],\"currencies\":[\"THB\"],\"languages\":[{\"code\":\"th\",\"name\":\"Thai\",\"flag\":\"flag-th\"}]},{\"name\":\"Tunisia\",\"alpha2\":\"TN\",\"alpha3\":\"TUN\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-tn\",\"countryCallingCodes\":[\"+216\"],\"currencies\":[\"TND\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Turkey\",\"alpha2\":\"TR\",\"alpha3\":\"TUR\",\"officialLanguageCode\":\"tr\",\"flag\":\"flag-tr\",\"countryCallingCodes\":[\"+90\"],\"currencies\":[\"TRY\"],\"languages\":[{\"code\":\"tr\",\"name\":\"Turkish\",\"flag\":\"flag-tr\"}]},{\"name\":\"Ukraine\",\"alpha2\":\"UA\",\"alpha3\":\"UKR\",\"officialLanguageCode\":\"uk\",\"flag\":\"flag-ua\",\"countryCallingCodes\":[\"+380\"],\"currencies\":[\"UAH\"],\"languages\":[{\"code\":\"uk\",\"name\":\"Ukrainian\",\"flag\":\"flag-ua\"}]},{\"name\":\"United Arab Emirates\",\"alpha2\":\"AE\",\"alpha3\":\"ARE\",\"officialLanguageCode\":\"ar\",\"flag\":\"flag-ae\",\"countryCallingCodes\":[\"+971\"],\"currencies\":[\"AED\"],\"languages\":[{\"code\":\"ar\",\"name\":\"Arabic\",\"flag\":\"flag-sa\"}]},{\"name\":\"Uruguay\",\"alpha2\":\"UY\",\"alpha3\":\"URY\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-uy\",\"countryCallingCodes\":[\"+598\"],\"currencies\":[\"UYU\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Venezuela\",\"alpha2\":\"VE\",\"alpha3\":\"VEN\",\"officialLanguageCode\":\"es\",\"flag\":\"flag-ve\",\"countryCallingCodes\":[\"+58\"],\"currencies\":[\"VES\"],\"languages\":[{\"code\":\"es\",\"name\":\"Spanish\",\"flag\":\"flag-es\"}]},{\"name\":\"Vietnam\",\"alpha2\":\"VN\",\"alpha3\":\"VNM\",\"officialLanguageCode\":\"vi\",\"flag\":\"flag-vn\",\"countryCallingCodes\":[\"+84\"],\"currencies\":[\"VND\"],\"languages\":[{\"code\":\"vi\",\"name\":\"Vietnamese\",\"flag\":\"flag-vn\"}]},{\"name\":\"Latvia\",\"alpha2\":\"LV\",\"alpha3\":\"LVA\",\"officialLanguageCode\":\"lv\",\"flag\":\"flag-lv\",\"countryCallingCodes\":[\"+371\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"lv\",\"name\":\"Latvian\",\"flag\":\"flag-lv\"}]},{\"name\":\"Mongolia\",\"alpha2\":\"MN\",\"alpha3\":\"MNG\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-mn\",\"countryCallingCodes\":[\"+976\"],\"currencies\":[\"MNT\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Uzbekistan\",\"alpha2\":\"UZ\",\"alpha3\":\"UZB\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-uz\",\"countryCallingCodes\":[\"+998\"],\"currencies\":[\"UZS\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Ghana\",\"alpha2\":\"GH\",\"alpha3\":\"GHA\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-gh\",\"countryCallingCodes\":[\"+233\"],\"currencies\":[\"GHS\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Cyprus\",\"alpha2\":\"CY\",\"alpha3\":\"CYP\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-cy\",\"countryCallingCodes\":[\"+357\"],\"currencies\":[\"EUR\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"el\",\"name\":\"Greek\",\"flag\":\"flag-gr\"},{\"code\":\"tr\",\"name\":\"Turkish\",\"flag\":\"flag-tr\"}]},{\"name\":\"Armenia\",\"alpha2\":\"AM\",\"alpha3\":\"ARM\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-am\",\"countryCallingCodes\":[\"+374\"],\"currencies\":[\"AMD\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Nepal\",\"alpha2\":\"NP\",\"alpha3\":\"NPL\",\"officialLanguageCode\":\"en\",\"flag\":\"flag-np\",\"countryCallingCodes\":[\"+977\"],\"currencies\":[\"NPR\"],\"languages\":[{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"}]},{\"name\":\"Kyrgyzstan\",\"alpha2\":\"KG\",\"alpha3\":\"KGZ\",\"officialLanguageCode\":\"ru\",\"flag\":\"flag-kg\",\"countryCallingCodes\":[\"+996\"],\"currencies\":[\"KGS\"],\"languages\":[{\"code\":\"ru\",\"name\":\"Russian\",\"flag\":\"flag-ru\"},{\"code\":\"en\",\"name\":\"English\",\"flag\":\"flag-gb\"},{\"code\":\"uk\",\"name\":\"Ukrainian\",\"flag\":\"flag-ua\"}]}]"), jv = "https://files.mobileaction.co/flags/svg", Mv = new class e {
|
|
23287
|
+
static countriesData = Object.freeze(Av);
|
|
23243
23288
|
findCountryByCountryCode(t) {
|
|
23244
23289
|
let n = e.countriesData.find((e) => mc(e.alpha2, t) || mc(e.alpha3, t));
|
|
23245
23290
|
return n ? (0, pc.cloneDeep)(n) : void 0;
|
|
@@ -23306,12 +23351,12 @@ var J_ = {
|
|
|
23306
23351
|
}));
|
|
23307
23352
|
}
|
|
23308
23353
|
getFlagIconUrl(e, t = "1x1") {
|
|
23309
|
-
return `${
|
|
23354
|
+
return `${jv}/${t}/${e.toLowerCase()}.svg`;
|
|
23310
23355
|
}
|
|
23311
23356
|
getGlobeIconUrl() {
|
|
23312
|
-
return `${
|
|
23357
|
+
return `${jv}/globe.svg`;
|
|
23313
23358
|
}
|
|
23314
|
-
}(),
|
|
23359
|
+
}(), Nv = {
|
|
23315
23360
|
total: "合計",
|
|
23316
23361
|
itemsPerPage: "ページあたり{0}件",
|
|
23317
23362
|
page: "{1}ページ中{0}ページ",
|
|
@@ -23374,7 +23419,7 @@ var J_ = {
|
|
|
23374
23419
|
],
|
|
23375
23420
|
reasoningLabel: "考え中"
|
|
23376
23421
|
}
|
|
23377
|
-
},
|
|
23422
|
+
}, Pv = {
|
|
23378
23423
|
total: "총계",
|
|
23379
23424
|
itemsPerPage: "페이지당 {0}개",
|
|
23380
23425
|
page: "{1}페이지 중 {0}페이지",
|
|
@@ -23437,7 +23482,7 @@ var J_ = {
|
|
|
23437
23482
|
],
|
|
23438
23483
|
reasoningLabel: "생각 중"
|
|
23439
23484
|
}
|
|
23440
|
-
},
|
|
23485
|
+
}, Fv = {
|
|
23441
23486
|
total: "总计",
|
|
23442
23487
|
itemsPerPage: "{0} / 页",
|
|
23443
23488
|
page: "第{0}页,共{1}页",
|
|
@@ -23502,4 +23547,4 @@ var J_ = {
|
|
|
23502
23547
|
}
|
|
23503
23548
|
};
|
|
23504
23549
|
//#endregion
|
|
23505
|
-
export {
|
|
23550
|
+
export { xf as ACTION_KIT_LOCALE_EN, Nv as ACTION_KIT_LOCALE_JA, Pv as ACTION_KIT_LOCALE_KO, Fv as ACTION_KIT_LOCALE_ZH, xu as ASSETS, wf as ActionKit, dt as ActionKitSymbol, Ut as Animations, qt as AppIconPlatforms, Kt as AppIconSizes, Rn as ButtonColors, Hn as ButtonHtmlTypes, Un as ButtonIconAlignMents, Bn as ButtonShapes, zn as ButtonSizes, Vn as ButtonTargets, Ln as ButtonVariants, Sr as CascaderSizes, bc as CheckboxPlacementRight, yc as CheckboxPlacements, Wo as CollapseItemState, Vo as CollapseModes, Bf as ConfirmModal2Types, yu as DEVICE_WIDTH, Sd as DeviceTypes, Td as DisplayModes, Cd as DisplayTypes, Wn as LinkButtonColors, Gn as LinkButtonSizes, kt as MaActionSheet, jt as MaActionSheetItem, Ht as MaAlert, Pt as MaAlertSizeList, Mt as MaAlertTypeList, Nt as MaAlertVariantList, Gt as MaAnimation, ln as MaAppIcon, bn as MaAppTrackButton, Cn as MaAvatar, kn as MaBadge, Dn as MaBadgePropIconAlignments, En as MaBadgePropSizes, Tn as MaBadgePropTypes, wn as MaBadgePropVariants, On as MaBadgeShape, In as MaBreadcrumb, Pn as MaBreadcrumbItem, An as MaBreadcrumbSeparators, Z as MaButton, xr as MaCard, ar as MaCardAlignments, sr as MaCardIconColors, or as MaCardSizes, ha as MaCascader, vo as MaChart, kv as MaChatbot, G_ as MaChatbotSymbol, Bo as MaCheckbox, Ro as MaCheckbox2, Do as MaCheckbox2Card, ko as MaCheckbox2Group, zo as MaCheckboxGroup, Yo as MaCollapse, Uo as MaCollapseIconAlignments, Jo as MaCollapseItem, Ho as MaCollapseSizes, Ff as MaConfirmModal2, Qo as MaContentScroller, ts as MaCountryRadio, Gs as MaCountrySelect, ef as MaCurrencyInput, wl as MaDatePicker, gl as MaDatePicker2, Uu as MaDevicePreviewAppDetailPreview, id as MaDevicePreviewAppTodayTabPreview, sd as MaDevicePreviewProductPages, ld as MaDevicePreviewSearchResults, hd as MaDevicePreviewSearchTab, xd as MaDevicePreviewTodayTab, Nl as MaDrawer, Fl as MaDropdown, Tl as MaDropdownPlacements, El as MaDropdownTriggers, tn as MaEllipsis, Hl as MaEmpty, Rl as MaEmptyIcons, Il as MaEmptySizes, Ll as MaEmptyVariants, mt as MaFlagIconRatios, Yl as MaForm, Xl as MaForm2, Ul as MaFormItem, ru as MaFormItem2, eu as MaFormItem2Label, Ql as MaFormItem2Message, Wl as MaFormLayouts, X as MaIcon, au as MaIconButton, ht as MaIconSizeClassNames, pt as MaIconSizes, vu as MaImage, mu as MaImage2, _u as MaImageGroup, gu as MaImageGroup2, uu as MaImagePreview, Qc as MaInput, Xd as MaInputBase, pf as MaInputBaseSizes, uc as MaInputCurrencies, kd as MaInputNumber, lc as MaInputSizes, cc as MaInputTypes, vf as MaKeywordInput, tr as MaLinkButton, bf as MaMenu, wh as MaMenuButtonPropSizes, yf as MaMenuItem, ep as MaModal, jf as MaModal2, Hf as MaModalTypeIcon, Vf as MaModalTypes, Sp as MaNotification, af as MaNumberInput, zp as MaNumericInput, tm as MaPagination, Vp as MaPaginationModes, Bp as MaPaginationSizes, cf as MaPasswordInput, _m as MaPopconfirm, lm as MaPopconfirm2, um as MaPopover, vm as MaPopover2, eh as MaProgress, Cm as MaProgressCircleSizes, Sm as MaProgressColors, wm as MaProgressPercentAlignments, xm as MaProgressTypes, pn as MaRadio, ih as MaRadioCard, nh as MaRadioGroup, th as MaRadioTypes, uh as MaRate, oh as MaRateColors, ah as MaRateSizes, gh as MaResult, Kc as MaSelect, sl as MaSelect2, vh as MaSelect2Option, Sh as MaSelect2OptionGroup, Ge as MaSelectOptGroup, Ch as MaSelectOption, Oh as MaSideMenuAddNewAppButton, Ah as MaSideMenuAppButton, Ph as MaSideMenuButton, Eh as MaSideMenuButton2, Fh as MaSideMenuIconButton, Nh as MaSideMenuItem, Dh as MaSideMenuItem2, jh as MaSideMenuItemColors, Ih as MaSideMenuRoundIconButton, Lh as MaSlider, ir as MaSocialButton, Hh as MaSpin, Wh as MaSpinColors, Gh as MaSpinSizes, Uh as MaSpinTypes, tg as MaStep, ug as MaStepItem, dg as MaStepItems, vg as MaStepSizes, rg as MaSteps, _g as MaStepsDirections, gg as MaSwitch, Cg as MaTabButton2, zg as MaTabIconAlignMents, Bg as MaTabPane, wg as MaTabPane2, xg as MaTabPanePlacements, Lg as MaTabPositions, Rg as MaTabTypes, Vg as MaTabs, Ig as MaTabs2, bg as MaTabsSizes, yg as MaTabsTypes, Kg as MaTagInput, uf as MaTextInput, ff as MaTextarea, Oc as MaToggle, t_ as MaTooltip, Qt as MaTooltip2, i_ as MaTrackButton, f_ as MaTree, Go as MaTypography, z_ as MaUpload, g_ as MaUploadFileStatus, h_ as MaUploadSizes, m_ as MaUploadTypes, V_ as MaWatchlistButton, If as ModalManager, zf as ModalPositions, Sc as MultiSelectOptionCheckbox, xc as MultiSelectOptions, Ip as NumericInputSizes, Ed as PageTypes, nm as Popconfirm2Variants, bm as Popover2Placements, ym as Popover2TriggerTypes, bu as SCALE_FACTORS, wd as SearchResultsDisplayTypes, vc as SelectModes, wc as SelectOptionTypeRadio, Cc as SelectOptionTypes, _c as SelectSizes, Kn as SocialButtonBrands, qn as SocialButtonVariants, fg as SwitchTypes, qg as ToggleSizes, Jg as Tooltip2Types, Yg as TooltipPlacements, Zg as TooltipTriggerTypes, Xg as TooltipTypes, a_ as TrackButtonSizes, p_ as TreeModes, v_ as TypographyTags, __ as TypographyTypes, y_ as TypographyWeights, q_ as createMaChatbot, fc as currencyOptions, dc as currencySymbols, yt as loadIcon, oo as maChartDefaultOptions, Mv as maCountry, Lf as modalManager, ft as useActionKit, J_ as useMaChatbot, Rf as useModal };
|