@mobileaction/action-kit 1.58.12-beta.20260410074915 → 1.58.12-beta.20260410075910
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,8 +16644,28 @@ 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[0] === "o" && e[1] === "n" && 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,
|
|
16651
16671
|
disabled: e.disabled,
|
|
@@ -16670,19 +16690,19 @@ function Bd(e, t) {
|
|
|
16670
16690
|
}
|
|
16671
16691
|
//#endregion
|
|
16672
16692
|
//#region src/components/input-2/MaInputBase.vue?vue&type=script&setup=true&lang.ts
|
|
16673
|
-
var
|
|
16693
|
+
var Ud = { class: "ma-input__container" }, Wd = {
|
|
16674
16694
|
key: 0,
|
|
16675
16695
|
class: "ma-input__addon ma-input__addon--before"
|
|
16676
|
-
},
|
|
16696
|
+
}, Gd = { class: "ma-input__wrapper" }, Kd = {
|
|
16677
16697
|
key: 0,
|
|
16678
16698
|
class: "ma-input__prefix"
|
|
16679
|
-
},
|
|
16699
|
+
}, qd = {
|
|
16680
16700
|
key: 1,
|
|
16681
16701
|
class: "ma-input__suffix"
|
|
16682
|
-
},
|
|
16702
|
+
}, Jd = ["aria-label"], Yd = {
|
|
16683
16703
|
key: 1,
|
|
16684
16704
|
class: "ma-input__addon ma-input__addon--after"
|
|
16685
|
-
},
|
|
16705
|
+
}, Xd = /* @__PURE__ */ y({
|
|
16686
16706
|
name: "MaInputBase",
|
|
16687
16707
|
inheritAttrs: !1,
|
|
16688
16708
|
__name: "MaInputBase",
|
|
@@ -16733,16 +16753,16 @@ var Vd = { class: "ma-input__container" }, Hd = {
|
|
|
16733
16753
|
function s() {
|
|
16734
16754
|
n.disabled || n.readonly || r("clear");
|
|
16735
16755
|
}
|
|
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",
|
|
16756
|
+
return (t, r) => (I(), p("div", D({ class: o.value }, n.wrapperProps), [m("div", Ud, [
|
|
16757
|
+
U(i).addonBefore ? (I(), p("div", Wd, [B(t.$slots, "addonBefore")])) : f("", !0),
|
|
16758
|
+
m("div", Gd, [
|
|
16759
|
+
e.prefixIcon || U(i).prefix ? (I(), p("div", Kd, [B(t.$slots, "prefix", {}, () => [e.prefixIcon ? (I(), d(X, {
|
|
16740
16760
|
key: 0,
|
|
16741
16761
|
name: e.prefixIcon,
|
|
16742
16762
|
size: "sm"
|
|
16743
16763
|
}, null, 8, ["name"])) : f("", !0)])])) : f("", !0),
|
|
16744
16764
|
B(t.$slots, "default"),
|
|
16745
|
-
e.suffixIcon || U(i).suffix || e.clearable && e.hasValue ? (I(), p("div",
|
|
16765
|
+
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
16766
|
key: 0,
|
|
16747
16767
|
type: "button",
|
|
16748
16768
|
class: "ma-input__clear-btn",
|
|
@@ -16751,16 +16771,16 @@ var Vd = { class: "ma-input__container" }, Hd = {
|
|
|
16751
16771
|
}, [_(X, {
|
|
16752
16772
|
name: "close",
|
|
16753
16773
|
size: "sm"
|
|
16754
|
-
})], 8,
|
|
16774
|
+
})], 8, Jd)) : f("", !0), B(t.$slots, "suffix", {}, () => [e.suffixIcon ? (I(), d(X, {
|
|
16755
16775
|
key: 0,
|
|
16756
16776
|
name: e.suffixIcon,
|
|
16757
16777
|
size: "sm"
|
|
16758
16778
|
}, null, 8, ["name"])) : f("", !0)])])) : f("", !0)
|
|
16759
16779
|
]),
|
|
16760
|
-
U(i).addonAfter ? (I(), p("div",
|
|
16780
|
+
U(i).addonAfter ? (I(), p("div", Yd, [B(t.$slots, "addonAfter")])) : f("", !0)
|
|
16761
16781
|
])], 16));
|
|
16762
16782
|
}
|
|
16763
|
-
}),
|
|
16783
|
+
}), Zd = { class: "ma-currency-input__prefix-wrapper" }, Qd = { class: "ma-currency-input__symbol" }, $d = ["value", "placeholder"], ef = /* @__PURE__ */ y({
|
|
16764
16784
|
name: "MaCurrencyInput",
|
|
16765
16785
|
inheritAttrs: !1,
|
|
16766
16786
|
__name: "MaCurrencyInput",
|
|
@@ -16795,84 +16815,87 @@ var Vd = { class: "ma-input__container" }, Hd = {
|
|
|
16795
16815
|
"clear"
|
|
16796
16816
|
], ["update:modelValue"]),
|
|
16797
16817
|
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
|
-
|
|
16818
|
+
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(() => ({
|
|
16819
|
+
...x.value,
|
|
16820
|
+
...r.wrapperProps
|
|
16821
|
+
})), w = R(a.value == null ? "" : o(a.value)), T = l(() => a.value !== null);
|
|
16822
|
+
function E(e) {
|
|
16800
16823
|
let t = e.target, n = jd(t.value, u.value.decimal, u.value.group);
|
|
16801
16824
|
if (t.value !== n) {
|
|
16802
16825
|
let e = t.value.length - n.length, r = (t.selectionStart ?? n.length) - e;
|
|
16803
16826
|
t.value = n, t.setSelectionRange(r, r);
|
|
16804
16827
|
}
|
|
16805
|
-
|
|
16828
|
+
w.value = n;
|
|
16806
16829
|
}
|
|
16807
|
-
function
|
|
16830
|
+
function O(e) {
|
|
16808
16831
|
let t = e.clipboardData?.getData("text")?.trim();
|
|
16809
16832
|
if (!t) return;
|
|
16810
16833
|
e.preventDefault();
|
|
16811
16834
|
let n = s(t);
|
|
16812
16835
|
if (Number.isNaN(n)) return;
|
|
16813
16836
|
let r = Nd(n, p.value);
|
|
16814
|
-
a.value = r,
|
|
16837
|
+
a.value = r, w.value = o(r);
|
|
16815
16838
|
}
|
|
16816
|
-
function
|
|
16817
|
-
let e =
|
|
16839
|
+
function k() {
|
|
16840
|
+
let e = w.value.trim();
|
|
16818
16841
|
if (e) {
|
|
16819
16842
|
let t = Md(e, u.value.decimal, u.value.group);
|
|
16820
|
-
if (Number.isNaN(t)) a.value = null,
|
|
16843
|
+
if (Number.isNaN(t)) a.value = null, w.value = "";
|
|
16821
16844
|
else {
|
|
16822
16845
|
let e = Nd(t, p.value);
|
|
16823
|
-
a.value = e,
|
|
16846
|
+
a.value = e, w.value = o(e);
|
|
16824
16847
|
}
|
|
16825
|
-
} else a.value = null,
|
|
16848
|
+
} else a.value = null, w.value = "";
|
|
16826
16849
|
}
|
|
16827
|
-
function
|
|
16828
|
-
|
|
16850
|
+
function A() {
|
|
16851
|
+
k();
|
|
16829
16852
|
}
|
|
16830
|
-
function
|
|
16831
|
-
|
|
16853
|
+
function j(e) {
|
|
16854
|
+
k(), b(e);
|
|
16832
16855
|
}
|
|
16833
|
-
function
|
|
16834
|
-
a.value = null,
|
|
16856
|
+
function M() {
|
|
16857
|
+
a.value = null, w.value = "", i("clear"), _.value?.focus();
|
|
16835
16858
|
}
|
|
16836
16859
|
return K([a, () => r.currency], () => {
|
|
16837
|
-
g.value || (
|
|
16860
|
+
g.value || (w.value = a.value == null ? "" : o(a.value));
|
|
16838
16861
|
}), t({
|
|
16839
16862
|
focus: () => _.value?.focus(),
|
|
16840
16863
|
blur: () => _.value?.blur()
|
|
16841
|
-
}), (e, t) => (I(), d(
|
|
16864
|
+
}), (e, t) => (I(), d(Xd, {
|
|
16842
16865
|
size: r.size,
|
|
16843
16866
|
focused: U(g),
|
|
16844
16867
|
disabled: r.disabled,
|
|
16845
16868
|
readonly: r.readonly,
|
|
16846
16869
|
error: r.error,
|
|
16847
16870
|
clearable: r.clearable,
|
|
16848
|
-
"has-value":
|
|
16871
|
+
"has-value": T.value,
|
|
16849
16872
|
"suffix-icon": r.suffixIcon,
|
|
16850
|
-
"wrapper-props":
|
|
16851
|
-
onClear:
|
|
16873
|
+
"wrapper-props": C.value,
|
|
16874
|
+
onClear: M
|
|
16852
16875
|
}, h({
|
|
16853
|
-
prefix: q(() => [m("div",
|
|
16876
|
+
prefix: q(() => [m("div", Zd, [r.prefixIcon ? (I(), d(X, {
|
|
16854
16877
|
key: 0,
|
|
16855
16878
|
name: r.prefixIcon,
|
|
16856
16879
|
size: "sm",
|
|
16857
16880
|
class: "ma-currency-input__prefix-icon"
|
|
16858
|
-
}, null, 8, ["name"])) : f("", !0), m("span",
|
|
16881
|
+
}, null, 8, ["name"])) : f("", !0), m("span", Qd, H(U(c)), 1)])]),
|
|
16859
16882
|
default: q(() => [m("input", D({
|
|
16860
16883
|
ref_key: "inputEl",
|
|
16861
16884
|
ref: _
|
|
16862
16885
|
}, {
|
|
16863
|
-
...
|
|
16886
|
+
...U(S),
|
|
16864
16887
|
...U(v)
|
|
16865
16888
|
}, {
|
|
16866
|
-
value:
|
|
16889
|
+
value: w.value,
|
|
16867
16890
|
placeholder: r.placeholder,
|
|
16868
16891
|
type: "text",
|
|
16869
16892
|
inputmode: "decimal",
|
|
16870
|
-
onInput:
|
|
16871
|
-
onPaste:
|
|
16893
|
+
onInput: E,
|
|
16894
|
+
onPaste: O,
|
|
16872
16895
|
onFocus: t[0] ||= (...e) => U(y) && U(y)(...e),
|
|
16873
|
-
onBlur:
|
|
16874
|
-
onKeydown: ge(
|
|
16875
|
-
}), null, 16,
|
|
16896
|
+
onBlur: j,
|
|
16897
|
+
onKeydown: ge(A, ["enter"])
|
|
16898
|
+
}), null, 16, $d)]),
|
|
16876
16899
|
_: 2
|
|
16877
16900
|
}, [
|
|
16878
16901
|
e.$slots.suffix ? {
|
|
@@ -16902,9 +16925,9 @@ var Vd = { class: "ma-input__container" }, Hd = {
|
|
|
16902
16925
|
"wrapper-props"
|
|
16903
16926
|
]));
|
|
16904
16927
|
}
|
|
16905
|
-
}),
|
|
16906
|
-
function
|
|
16907
|
-
let t = l(() => se(e.locale) ??
|
|
16928
|
+
}), tf = "en-US";
|
|
16929
|
+
function nf(e) {
|
|
16930
|
+
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
16931
|
let e = n.value, r = {
|
|
16909
16932
|
style: "decimal",
|
|
16910
16933
|
...e !== void 0 && {
|
|
@@ -16915,7 +16938,7 @@ function ef(e) {
|
|
|
16915
16938
|
try {
|
|
16916
16939
|
return new Intl.NumberFormat(t.value, r);
|
|
16917
16940
|
} catch {
|
|
16918
|
-
return new Intl.NumberFormat(
|
|
16941
|
+
return new Intl.NumberFormat(tf, r);
|
|
16919
16942
|
}
|
|
16920
16943
|
}), o = l(() => Ad(a.value));
|
|
16921
16944
|
function s(e) {
|
|
@@ -16934,7 +16957,7 @@ function ef(e) {
|
|
|
16934
16957
|
}
|
|
16935
16958
|
//#endregion
|
|
16936
16959
|
//#region src/components/input-2/number-input/MaNumberInput.vue?vue&type=script&setup=true&lang.ts
|
|
16937
|
-
var
|
|
16960
|
+
var rf = ["value", "placeholder"], af = /* @__PURE__ */ y({
|
|
16938
16961
|
name: "MaNumberInput",
|
|
16939
16962
|
inheritAttrs: !1,
|
|
16940
16963
|
__name: "MaNumberInput",
|
|
@@ -16975,96 +16998,99 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
16975
16998
|
"clear"
|
|
16976
16999
|
], ["update:modelValue"]),
|
|
16977
17000
|
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 } =
|
|
17001
|
+
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(() => ({
|
|
17002
|
+
...p.value,
|
|
17003
|
+
...r.wrapperProps
|
|
17004
|
+
})), { format: v, parse: y, separators: b } = nf({
|
|
16979
17005
|
locale: r.locale,
|
|
16980
17006
|
precision: r.precision,
|
|
16981
17007
|
formatter: r.formatter,
|
|
16982
17008
|
parser: r.parser
|
|
16983
17009
|
});
|
|
16984
|
-
function
|
|
17010
|
+
function x(e) {
|
|
16985
17011
|
let t = e;
|
|
16986
17012
|
return r.min !== void 0 && (t = Math.max(r.min, t)), r.max !== void 0 && (t = Math.min(r.max, t)), t;
|
|
16987
17013
|
}
|
|
16988
|
-
function
|
|
17014
|
+
function S(e) {
|
|
16989
17015
|
return r.precision === void 0 ? e : Nd(e, r.precision);
|
|
16990
17016
|
}
|
|
16991
|
-
function
|
|
16992
|
-
return
|
|
17017
|
+
function C(e) {
|
|
17018
|
+
return S(x(e));
|
|
16993
17019
|
}
|
|
16994
|
-
let
|
|
17020
|
+
let w = R(a.value === null ? "" : v(a.value)), T = l(() => a.value !== null);
|
|
16995
17021
|
K([
|
|
16996
17022
|
a,
|
|
16997
17023
|
() => r.locale,
|
|
16998
17024
|
() => r.precision
|
|
16999
17025
|
], ([e]) => {
|
|
17000
|
-
o.value || (
|
|
17026
|
+
o.value || (w.value = e === null ? "" : v(e));
|
|
17001
17027
|
});
|
|
17002
|
-
function
|
|
17003
|
-
let t = e.target, n = jd(t.value,
|
|
17028
|
+
function E(e) {
|
|
17029
|
+
let t = e.target, n = jd(t.value, b.value.decimal, b.value.group);
|
|
17004
17030
|
if (t.value !== n) {
|
|
17005
17031
|
let e = t.value.length - n.length, r = (t.selectionStart ?? n.length) - e;
|
|
17006
17032
|
t.value = n, t.setSelectionRange(r, r);
|
|
17007
17033
|
}
|
|
17008
|
-
|
|
17034
|
+
w.value = n;
|
|
17009
17035
|
}
|
|
17010
|
-
function
|
|
17036
|
+
function O(e) {
|
|
17011
17037
|
if (e.key !== "ArrowUp" && e.key !== "ArrowDown") return;
|
|
17012
17038
|
e.preventDefault();
|
|
17013
|
-
let t = e.key === "ArrowUp" ? r.step : -r.step, n =
|
|
17014
|
-
a.value = n,
|
|
17039
|
+
let t = e.key === "ArrowUp" ? r.step : -r.step, n = C((a.value ?? 0) + t);
|
|
17040
|
+
a.value = n, w.value = v(n);
|
|
17015
17041
|
}
|
|
17016
|
-
function
|
|
17017
|
-
let e =
|
|
17042
|
+
function k() {
|
|
17043
|
+
let e = w.value.trim();
|
|
17018
17044
|
if (!e) {
|
|
17019
|
-
a.value = null,
|
|
17045
|
+
a.value = null, w.value = "";
|
|
17020
17046
|
return;
|
|
17021
17047
|
}
|
|
17022
|
-
let t =
|
|
17048
|
+
let t = y(e);
|
|
17023
17049
|
if (t === null) {
|
|
17024
|
-
a.value = null,
|
|
17050
|
+
a.value = null, w.value = "";
|
|
17025
17051
|
return;
|
|
17026
17052
|
}
|
|
17027
|
-
let n =
|
|
17028
|
-
a.value = n,
|
|
17053
|
+
let n = C(t);
|
|
17054
|
+
a.value = n, w.value = v(n);
|
|
17029
17055
|
}
|
|
17030
|
-
function
|
|
17031
|
-
|
|
17056
|
+
function A(e) {
|
|
17057
|
+
k(), f(e);
|
|
17032
17058
|
}
|
|
17033
|
-
function
|
|
17034
|
-
a.value = null,
|
|
17059
|
+
function j() {
|
|
17060
|
+
a.value = null, w.value = "", i("clear"), s.value?.focus();
|
|
17035
17061
|
}
|
|
17036
17062
|
return t({
|
|
17037
17063
|
focus: () => s.value?.focus(),
|
|
17038
17064
|
blur: () => s.value?.blur()
|
|
17039
|
-
}), (e, t) => (I(), d(
|
|
17065
|
+
}), (e, t) => (I(), d(Xd, {
|
|
17040
17066
|
size: r.size,
|
|
17041
17067
|
focused: U(o),
|
|
17042
17068
|
disabled: r.disabled,
|
|
17043
17069
|
readonly: r.readonly,
|
|
17044
17070
|
error: r.error,
|
|
17045
17071
|
clearable: r.clearable,
|
|
17046
|
-
"has-value":
|
|
17072
|
+
"has-value": T.value,
|
|
17047
17073
|
"prefix-icon": r.prefixIcon,
|
|
17048
17074
|
"suffix-icon": r.suffixIcon,
|
|
17049
|
-
"wrapper-props":
|
|
17050
|
-
onClear:
|
|
17075
|
+
"wrapper-props": _.value,
|
|
17076
|
+
onClear: j
|
|
17051
17077
|
}, h({
|
|
17052
17078
|
default: q(() => [m("input", D({
|
|
17053
17079
|
ref_key: "inputEl",
|
|
17054
17080
|
ref: s
|
|
17055
17081
|
}, {
|
|
17056
|
-
...
|
|
17082
|
+
...U(g),
|
|
17057
17083
|
...U(c)
|
|
17058
17084
|
}, {
|
|
17059
|
-
value:
|
|
17085
|
+
value: w.value,
|
|
17060
17086
|
placeholder: r.placeholder,
|
|
17061
17087
|
type: "text",
|
|
17062
17088
|
inputmode: "decimal",
|
|
17063
|
-
onInput:
|
|
17064
|
-
onKeydown: [
|
|
17089
|
+
onInput: E,
|
|
17090
|
+
onKeydown: [O, ge(k, ["enter"])],
|
|
17065
17091
|
onFocus: t[0] ||= (...e) => U(u) && U(u)(...e),
|
|
17066
|
-
onBlur:
|
|
17067
|
-
}), null, 16,
|
|
17092
|
+
onBlur: A
|
|
17093
|
+
}), null, 16, rf)]),
|
|
17068
17094
|
_: 2
|
|
17069
17095
|
}, [
|
|
17070
17096
|
e.$slots.prefix ? {
|
|
@@ -17100,7 +17126,7 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17100
17126
|
"wrapper-props"
|
|
17101
17127
|
]));
|
|
17102
17128
|
}
|
|
17103
|
-
}),
|
|
17129
|
+
}), of = ["type", "placeholder"], sf = ["aria-label", "aria-pressed"], cf = /* @__PURE__ */ y({
|
|
17104
17130
|
name: "MaPasswordInput",
|
|
17105
17131
|
inheritAttrs: !1,
|
|
17106
17132
|
__name: "MaPasswordInput",
|
|
@@ -17134,17 +17160,20 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17134
17160
|
"clear"
|
|
17135
17161
|
], ["update:modelValue"]),
|
|
17136
17162
|
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
|
-
|
|
17163
|
+
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(() => ({
|
|
17164
|
+
...y.value,
|
|
17165
|
+
...r.wrapperProps
|
|
17166
|
+
})), S = R(!1), C = l(() => S.value ? "text" : "password");
|
|
17167
|
+
function w() {
|
|
17168
|
+
S.value = !S.value;
|
|
17140
17169
|
}
|
|
17141
|
-
function
|
|
17170
|
+
function T() {
|
|
17142
17171
|
a.value = "", i("clear"), c.value?.focus();
|
|
17143
17172
|
}
|
|
17144
17173
|
return t({
|
|
17145
17174
|
focus: () => c.value?.focus(),
|
|
17146
17175
|
blur: () => c.value?.blur()
|
|
17147
|
-
}), (e, t) => (I(), d(
|
|
17176
|
+
}), (e, t) => (I(), d(Xd, {
|
|
17148
17177
|
size: r.size,
|
|
17149
17178
|
focused: U(s),
|
|
17150
17179
|
disabled: r.disabled,
|
|
@@ -17153,20 +17182,20 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17153
17182
|
clearable: r.clearable,
|
|
17154
17183
|
"has-value": !!a.value,
|
|
17155
17184
|
"prefix-icon": r.prefixIcon,
|
|
17156
|
-
"wrapper-props":
|
|
17157
|
-
onClear:
|
|
17185
|
+
"wrapper-props": x.value,
|
|
17186
|
+
onClear: T
|
|
17158
17187
|
}, h({
|
|
17159
17188
|
suffix: q(() => [B(e.$slots, "suffix"), !r.disabled && !r.readonly ? (I(), p("button", {
|
|
17160
17189
|
key: 0,
|
|
17161
17190
|
type: "button",
|
|
17162
17191
|
class: "ma-password-input__toggle",
|
|
17163
|
-
"aria-label":
|
|
17164
|
-
"aria-pressed":
|
|
17165
|
-
onClick:
|
|
17192
|
+
"aria-label": S.value ? U(o).config.locale.aria.hidePassword : U(o).config.locale.aria.showPassword,
|
|
17193
|
+
"aria-pressed": S.value,
|
|
17194
|
+
onClick: w
|
|
17166
17195
|
}, [_(X, {
|
|
17167
|
-
name:
|
|
17196
|
+
name: S.value ? "eye" : "eye-slash",
|
|
17168
17197
|
size: "sm"
|
|
17169
|
-
}, null, 8, ["name"])], 8,
|
|
17198
|
+
}, null, 8, ["name"])], 8, sf)) : r.suffixIcon ? (I(), d(X, {
|
|
17170
17199
|
key: 1,
|
|
17171
17200
|
name: r.suffixIcon,
|
|
17172
17201
|
size: "sm"
|
|
@@ -17176,14 +17205,14 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17176
17205
|
ref: c,
|
|
17177
17206
|
"onUpdate:modelValue": t[0] ||= (e) => a.value = e
|
|
17178
17207
|
}, {
|
|
17179
|
-
...
|
|
17208
|
+
...U(b),
|
|
17180
17209
|
...U(u)
|
|
17181
17210
|
}, {
|
|
17182
|
-
type:
|
|
17211
|
+
type: C.value,
|
|
17183
17212
|
placeholder: r.placeholder,
|
|
17184
17213
|
onFocus: t[1] ||= (...e) => U(g) && U(g)(...e),
|
|
17185
17214
|
onBlur: t[2] ||= (...e) => U(v) && U(v)(...e)
|
|
17186
|
-
}), null, 16,
|
|
17215
|
+
}), null, 16, of), [[fe, a.value]])]),
|
|
17187
17216
|
_: 2
|
|
17188
17217
|
}, [
|
|
17189
17218
|
e.$slots.prefix ? {
|
|
@@ -17213,7 +17242,7 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17213
17242
|
"wrapper-props"
|
|
17214
17243
|
]));
|
|
17215
17244
|
}
|
|
17216
|
-
}),
|
|
17245
|
+
}), lf = ["placeholder"], uf = /* @__PURE__ */ y({
|
|
17217
17246
|
name: "MaTextInput",
|
|
17218
17247
|
inheritAttrs: !1,
|
|
17219
17248
|
__name: "MaTextInput",
|
|
@@ -17247,14 +17276,17 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17247
17276
|
"clear"
|
|
17248
17277
|
], ["update:modelValue"]),
|
|
17249
17278
|
setup(e, { expose: t, emit: n }) {
|
|
17250
|
-
let r = e, i = n, a = le(e, "modelValue"), { isFocused: o, inputEl: s, inputBindings: c, onFocus:
|
|
17251
|
-
|
|
17279
|
+
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(() => ({
|
|
17280
|
+
...p.value,
|
|
17281
|
+
...r.wrapperProps
|
|
17282
|
+
}));
|
|
17283
|
+
function v() {
|
|
17252
17284
|
a.value = "", i("clear"), s.value?.focus();
|
|
17253
17285
|
}
|
|
17254
17286
|
return t({
|
|
17255
17287
|
focus: () => s.value?.focus(),
|
|
17256
17288
|
blur: () => s.value?.blur()
|
|
17257
|
-
}), (e, t) => (I(), d(
|
|
17289
|
+
}), (e, t) => (I(), d(Xd, {
|
|
17258
17290
|
size: r.size,
|
|
17259
17291
|
focused: U(o),
|
|
17260
17292
|
disabled: r.disabled,
|
|
@@ -17264,22 +17296,22 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17264
17296
|
"has-value": !!a.value,
|
|
17265
17297
|
"prefix-icon": r.prefixIcon,
|
|
17266
17298
|
"suffix-icon": r.suffixIcon,
|
|
17267
|
-
"wrapper-props":
|
|
17268
|
-
onClear:
|
|
17299
|
+
"wrapper-props": _.value,
|
|
17300
|
+
onClear: v
|
|
17269
17301
|
}, h({
|
|
17270
17302
|
default: q(() => [J(m("input", D({
|
|
17271
17303
|
ref_key: "inputEl",
|
|
17272
17304
|
ref: s,
|
|
17273
17305
|
"onUpdate:modelValue": t[0] ||= (e) => a.value = e
|
|
17274
17306
|
}, {
|
|
17275
|
-
...
|
|
17307
|
+
...U(g),
|
|
17276
17308
|
...U(c)
|
|
17277
17309
|
}, {
|
|
17278
17310
|
placeholder: r.placeholder,
|
|
17279
17311
|
type: "text",
|
|
17280
|
-
onFocus: t[1] ||= (...e) => U(
|
|
17281
|
-
onBlur: t[2] ||= (...e) => U(
|
|
17282
|
-
}), null, 16,
|
|
17312
|
+
onFocus: t[1] ||= (...e) => U(u) && U(u)(...e),
|
|
17313
|
+
onBlur: t[2] ||= (...e) => U(f) && U(f)(...e)
|
|
17314
|
+
}), null, 16, lf), [[pe, a.value]])]),
|
|
17283
17315
|
_: 2
|
|
17284
17316
|
}, [
|
|
17285
17317
|
e.$slots.prefix ? {
|
|
@@ -17315,7 +17347,7 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17315
17347
|
"wrapper-props"
|
|
17316
17348
|
]));
|
|
17317
17349
|
}
|
|
17318
|
-
}),
|
|
17350
|
+
}), df = ["rows", "placeholder"], ff = /* @__PURE__ */ y({
|
|
17319
17351
|
name: "MaTextarea",
|
|
17320
17352
|
inheritAttrs: !1,
|
|
17321
17353
|
__name: "MaTextarea",
|
|
@@ -17355,35 +17387,35 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17355
17387
|
"clear"
|
|
17356
17388
|
], ["update:modelValue"]),
|
|
17357
17389
|
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 } =
|
|
17390
|
+
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
17391
|
sm: 16,
|
|
17360
17392
|
md: 20,
|
|
17361
17393
|
lg: 20
|
|
17362
|
-
},
|
|
17394
|
+
}, y = l(() => {
|
|
17363
17395
|
if (!r.autoResize || !r.maxRows) return;
|
|
17364
|
-
let e =
|
|
17396
|
+
let e = v[r.size || "sm"] ?? 20;
|
|
17365
17397
|
return r.maxRows * e;
|
|
17366
17398
|
});
|
|
17367
|
-
function
|
|
17399
|
+
function b() {
|
|
17368
17400
|
let e = s.value;
|
|
17369
17401
|
if (!e || !r.autoResize) return;
|
|
17370
17402
|
e.style.height = "auto";
|
|
17371
17403
|
let t = e.scrollHeight;
|
|
17372
|
-
e.style.height =
|
|
17404
|
+
e.style.height = y.value ? `${Math.min(t, y.value)}px` : `${t}px`;
|
|
17373
17405
|
}
|
|
17374
17406
|
P(() => {
|
|
17375
|
-
r.autoResize &&
|
|
17407
|
+
r.autoResize && b();
|
|
17376
17408
|
}), K(a, () => {
|
|
17377
|
-
r.autoResize && O(
|
|
17409
|
+
r.autoResize && O(b);
|
|
17378
17410
|
});
|
|
17379
|
-
function
|
|
17411
|
+
function x() {
|
|
17380
17412
|
a.value = "", i("clear"), s.value?.focus();
|
|
17381
17413
|
}
|
|
17382
|
-
let
|
|
17414
|
+
let S = l(() => ["ma-textarea", { "ma-textarea--auto-resize": r.autoResize }]);
|
|
17383
17415
|
return t({
|
|
17384
17416
|
focus: () => s.value?.focus(),
|
|
17385
17417
|
blur: () => s.value?.blur()
|
|
17386
|
-
}), (e, t) => (I(), d(
|
|
17418
|
+
}), (e, t) => (I(), d(Xd, {
|
|
17387
17419
|
size: r.size,
|
|
17388
17420
|
focused: U(o),
|
|
17389
17421
|
disabled: r.disabled,
|
|
@@ -17394,17 +17426,22 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17394
17426
|
"prefix-icon": r.prefixIcon,
|
|
17395
17427
|
"suffix-icon": r.suffixIcon,
|
|
17396
17428
|
"wrapper-props": {
|
|
17429
|
+
...U(g),
|
|
17397
17430
|
...r.wrapperProps,
|
|
17398
|
-
class: [
|
|
17431
|
+
class: [
|
|
17432
|
+
S.value,
|
|
17433
|
+
U(g).class,
|
|
17434
|
+
r.wrapperProps?.class
|
|
17435
|
+
]
|
|
17399
17436
|
},
|
|
17400
|
-
onClear:
|
|
17437
|
+
onClear: x
|
|
17401
17438
|
}, h({
|
|
17402
17439
|
default: q(() => [J(m("textarea", D({
|
|
17403
17440
|
ref_key: "inputEl",
|
|
17404
17441
|
ref: s,
|
|
17405
17442
|
"onUpdate:modelValue": t[0] ||= (e) => a.value = e
|
|
17406
17443
|
}, {
|
|
17407
|
-
...
|
|
17444
|
+
...U(_),
|
|
17408
17445
|
...U(c)
|
|
17409
17446
|
}, {
|
|
17410
17447
|
rows: r.rows,
|
|
@@ -17412,8 +17449,8 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17412
17449
|
style: r.autoResize || r.disabled || r.readonly ? { resize: "none" } : void 0,
|
|
17413
17450
|
onFocus: t[1] ||= (...e) => U(u) && U(u)(...e),
|
|
17414
17451
|
onBlur: t[2] ||= (...e) => U(p) && U(p)(...e),
|
|
17415
|
-
onInput:
|
|
17416
|
-
}), null, 16,
|
|
17452
|
+
onInput: b
|
|
17453
|
+
}), null, 16, df), [[pe, a.value]]), !r.autoResize && !r.disabled && !r.readonly ? (I(), d(X, {
|
|
17417
17454
|
key: 0,
|
|
17418
17455
|
name: "resize",
|
|
17419
17456
|
size: "xs",
|
|
@@ -17454,21 +17491,21 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17454
17491
|
"wrapper-props"
|
|
17455
17492
|
]));
|
|
17456
17493
|
}
|
|
17457
|
-
}),
|
|
17494
|
+
}), pf = {
|
|
17458
17495
|
sm: "sm",
|
|
17459
17496
|
md: "md",
|
|
17460
17497
|
lg: "lg"
|
|
17461
|
-
},
|
|
17498
|
+
}, mf = {
|
|
17462
17499
|
key: 0,
|
|
17463
17500
|
class: "ma-keyword-input__header"
|
|
17464
|
-
},
|
|
17501
|
+
}, hf = { class: "ma-keyword-input__header-text" }, gf = ["data-required"], _f = [
|
|
17465
17502
|
"disabled",
|
|
17466
17503
|
"placeholder",
|
|
17467
17504
|
"maxlength",
|
|
17468
17505
|
"aria-required",
|
|
17469
17506
|
"aria-invalid",
|
|
17470
17507
|
"aria-describedby"
|
|
17471
|
-
],
|
|
17508
|
+
], vf = /* @__PURE__ */ y({
|
|
17472
17509
|
name: "MaKeywordInput",
|
|
17473
17510
|
__name: "index",
|
|
17474
17511
|
props: /* @__PURE__ */ E({
|
|
@@ -17579,17 +17616,17 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17579
17616
|
function ee() {
|
|
17580
17617
|
y.value = !1;
|
|
17581
17618
|
}
|
|
17582
|
-
return (e, t) => (I(), p("div", { class: k(C.value) }, [b.value || x.value ? (I(), p("div",
|
|
17619
|
+
return (e, t) => (I(), p("div", { class: k(C.value) }, [b.value || x.value ? (I(), p("div", mf, [n.icon ? (I(), d(X, {
|
|
17583
17620
|
key: 0,
|
|
17584
17621
|
name: n.icon,
|
|
17585
17622
|
size: "sm",
|
|
17586
17623
|
class: "ma-keyword-input__header-icon"
|
|
17587
|
-
}, null, 8, ["name"])) : f("", !0), m("div",
|
|
17624
|
+
}, null, 8, ["name"])) : f("", !0), m("div", hf, [b.value ? (I(), p("label", {
|
|
17588
17625
|
key: 0,
|
|
17589
17626
|
for: c,
|
|
17590
17627
|
class: "ma-keyword-input__title",
|
|
17591
17628
|
"data-required": n.required
|
|
17592
|
-
}, [B(e.$slots, "title", {}, () => [g(H(n.title), 1)])], 8,
|
|
17629
|
+
}, [B(e.$slots, "title", {}, () => [g(H(n.title), 1)])], 8, gf)) : f("", !0), x.value ? (I(), p("span", {
|
|
17593
17630
|
key: 1,
|
|
17594
17631
|
id: u,
|
|
17595
17632
|
class: "ma-keyword-input__subtitle"
|
|
@@ -17638,7 +17675,7 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17638
17675
|
onInput: P,
|
|
17639
17676
|
onFocus: L,
|
|
17640
17677
|
onBlur: ee
|
|
17641
|
-
}), null, 16,
|
|
17678
|
+
}), null, 16, _f), [[pe, h.value]]),
|
|
17642
17679
|
a.value.length > 0 ? (I(), d(X, {
|
|
17643
17680
|
key: 0,
|
|
17644
17681
|
name: "close",
|
|
@@ -17652,7 +17689,7 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17652
17689
|
}, null, 8, ["onKeydown"])) : f("", !0)
|
|
17653
17690
|
])], 2));
|
|
17654
17691
|
}
|
|
17655
|
-
}),
|
|
17692
|
+
}), yf = /* @__PURE__ */ y({
|
|
17656
17693
|
__name: "MenuItem",
|
|
17657
17694
|
props: {
|
|
17658
17695
|
selected: {
|
|
@@ -17679,7 +17716,7 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17679
17716
|
_: 3
|
|
17680
17717
|
}, 16, ["class"]));
|
|
17681
17718
|
}
|
|
17682
|
-
}),
|
|
17719
|
+
}), bf = /* @__PURE__ */ y({
|
|
17683
17720
|
name: "MaMenu",
|
|
17684
17721
|
__name: "index",
|
|
17685
17722
|
props: {
|
|
@@ -17725,7 +17762,7 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17725
17762
|
_: 3
|
|
17726
17763
|
}, 16, ["class"]));
|
|
17727
17764
|
}
|
|
17728
|
-
}),
|
|
17765
|
+
}), xf = {
|
|
17729
17766
|
total: "Total",
|
|
17730
17767
|
itemsPerPage: "{0} / page",
|
|
17731
17768
|
page: "Page {0} of {1}",
|
|
@@ -17788,26 +17825,26 @@ var tf = ["value", "placeholder"], nf = /* @__PURE__ */ y({
|
|
|
17788
17825
|
],
|
|
17789
17826
|
reasoningLabel: "Thinking"
|
|
17790
17827
|
}
|
|
17791
|
-
},
|
|
17792
|
-
function
|
|
17828
|
+
}, Sf = { locale: xf };
|
|
17829
|
+
function Cf(e, t) {
|
|
17793
17830
|
let n = { config: ee(t) };
|
|
17794
17831
|
e.provide(dt, n);
|
|
17795
17832
|
}
|
|
17796
|
-
var
|
|
17797
|
-
|
|
17798
|
-
} },
|
|
17833
|
+
var wf = { install: (e, t) => {
|
|
17834
|
+
Cf(e, (0, ro.default)({}, Sf, t));
|
|
17835
|
+
} }, Tf = ["data-mask"], Ef = ["data-id"], Df = {
|
|
17799
17836
|
key: 0,
|
|
17800
17837
|
class: "ma-modal-2-header-wrapper"
|
|
17801
|
-
},
|
|
17838
|
+
}, Of = {
|
|
17802
17839
|
key: 0,
|
|
17803
17840
|
class: "ma-modal-2-header-title"
|
|
17804
|
-
},
|
|
17841
|
+
}, kf = {
|
|
17805
17842
|
key: 1,
|
|
17806
17843
|
class: "ma-modal-2-tabs-menu-container"
|
|
17807
|
-
},
|
|
17844
|
+
}, Af = {
|
|
17808
17845
|
key: 1,
|
|
17809
17846
|
class: "ma-modal-2-footer"
|
|
17810
|
-
},
|
|
17847
|
+
}, jf = /* @__PURE__ */ y({
|
|
17811
17848
|
inheritAttrs: !1,
|
|
17812
17849
|
__name: "MaModal",
|
|
17813
17850
|
props: {
|
|
@@ -17942,8 +17979,8 @@ var Sf = { install: (e, t) => {
|
|
|
17942
17979
|
y.value || i.tabs ? (I(), p("div", {
|
|
17943
17980
|
key: 0,
|
|
17944
17981
|
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",
|
|
17982
|
+
}, [y.value ? (I(), p("div", Df, [B(t.$slots, "header", {}, () => [
|
|
17983
|
+
B(t.$slots, "title", {}, () => [n.title ? (I(), p("span", Of, H(n.title), 1)) : f("", !0)]),
|
|
17947
17984
|
n.maximizable ? (I(), d(Z, {
|
|
17948
17985
|
key: 0,
|
|
17949
17986
|
variant: "lighter",
|
|
@@ -17964,20 +18001,20 @@ var Sf = { install: (e, t) => {
|
|
|
17964
18001
|
"aria-label": "Close modal",
|
|
17965
18002
|
onClick: C
|
|
17966
18003
|
})) : f("", !0)
|
|
17967
|
-
])])) : f("", !0), i.tabs ? (I(), p("div",
|
|
18004
|
+
])])) : f("", !0), i.tabs ? (I(), p("div", kf, [B(t.$slots, "tabs")])) : f("", !0)], 2)) : f("", !0),
|
|
17968
18005
|
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,
|
|
18006
|
+
i.footer ? (I(), p("div", Af, [B(t.$slots, "footer")])) : f("", !0)
|
|
18007
|
+
], 16, Ef)), [[me, n.destroyOnClose ? !0 : n.open]]) : f("", !0)]),
|
|
17971
18008
|
_: 3
|
|
17972
|
-
})], 46,
|
|
18009
|
+
})], 46, Tf)), [[me, n.destroyOnClose ? !0 : u.value]]) : f("", !0)], 8, ["to"]));
|
|
17973
18010
|
}
|
|
17974
|
-
}),
|
|
18011
|
+
}), Mf = { class: "ma-confirm-modal-2-content" }, Nf = {
|
|
17975
18012
|
key: 1,
|
|
17976
18013
|
class: "ma-confirm-modal-2-title"
|
|
17977
|
-
},
|
|
18014
|
+
}, Pf = {
|
|
17978
18015
|
key: 1,
|
|
17979
18016
|
class: "ma-confirm-modal-2-description"
|
|
17980
|
-
},
|
|
18017
|
+
}, Ff = /* @__PURE__ */ y({
|
|
17981
18018
|
__name: "MaConfirmModal",
|
|
17982
18019
|
props: {
|
|
17983
18020
|
type: { default: "info" },
|
|
@@ -18057,7 +18094,7 @@ var Sf = { install: (e, t) => {
|
|
|
18057
18094
|
color: b?.[n.type] ?? "dark",
|
|
18058
18095
|
label: i.config.locale.ok
|
|
18059
18096
|
}, n.okButtonProps));
|
|
18060
|
-
return (t, r) => (I(), d(
|
|
18097
|
+
return (t, r) => (I(), d(jf, {
|
|
18061
18098
|
open: v.value,
|
|
18062
18099
|
"onUpdate:open": r[0] ||= (e) => v.value = e,
|
|
18063
18100
|
role: "alertdialog",
|
|
@@ -18074,14 +18111,14 @@ var Sf = { install: (e, t) => {
|
|
|
18074
18111
|
breakpoints: n.breakpoints,
|
|
18075
18112
|
"no-space": n.noSpace
|
|
18076
18113
|
}, h({
|
|
18077
|
-
default: q(() => [m("div",
|
|
18114
|
+
default: q(() => [m("div", Mf, [B(t.$slots, "default", {}, () => [
|
|
18078
18115
|
u.value ? (I(), d(X, {
|
|
18079
18116
|
key: 0,
|
|
18080
18117
|
name: u.value,
|
|
18081
18118
|
class: "ma-confirm-modal-2-icon"
|
|
18082
18119
|
}, 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",
|
|
18120
|
+
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),
|
|
18121
|
+
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
18122
|
])])]),
|
|
18086
18123
|
_: 2
|
|
18087
18124
|
}, [_.value ? {
|
|
@@ -18108,7 +18145,7 @@ var Sf = { install: (e, t) => {
|
|
|
18108
18145
|
"no-space"
|
|
18109
18146
|
]));
|
|
18110
18147
|
}
|
|
18111
|
-
}),
|
|
18148
|
+
}), If = class {
|
|
18112
18149
|
modals = /* @__PURE__ */ new Map();
|
|
18113
18150
|
escapeHandler = null;
|
|
18114
18151
|
getOpenModals() {
|
|
@@ -18146,7 +18183,7 @@ var Sf = { install: (e, t) => {
|
|
|
18146
18183
|
a.value = !1, this.checkEscapeListener();
|
|
18147
18184
|
}
|
|
18148
18185
|
}, n) }));
|
|
18149
|
-
return s.use(
|
|
18186
|
+
return s.use(wf).mount(i), this.modals.set(r, {
|
|
18150
18187
|
app: s,
|
|
18151
18188
|
container: i,
|
|
18152
18189
|
openState: a,
|
|
@@ -18180,10 +18217,10 @@ var Sf = { install: (e, t) => {
|
|
|
18180
18217
|
};
|
|
18181
18218
|
}
|
|
18182
18219
|
modal(e, t) {
|
|
18183
|
-
return this.create(
|
|
18220
|
+
return this.create(jf, e, t);
|
|
18184
18221
|
}
|
|
18185
18222
|
createConfirmModal(e, t) {
|
|
18186
|
-
return this.create(
|
|
18223
|
+
return this.create(Ff, {
|
|
18187
18224
|
...t,
|
|
18188
18225
|
type: e
|
|
18189
18226
|
});
|
|
@@ -18210,17 +18247,17 @@ var Sf = { install: (e, t) => {
|
|
|
18210
18247
|
e.unmount(), document.body.removeChild(t);
|
|
18211
18248
|
}), this.modals.clear(), this.removeEscapeListener();
|
|
18212
18249
|
}
|
|
18213
|
-
},
|
|
18250
|
+
}, Lf = new If();
|
|
18214
18251
|
//#endregion
|
|
18215
18252
|
//#region src/components/modal-2/composables/usemodal.ts
|
|
18216
|
-
function
|
|
18253
|
+
function Rf() {
|
|
18217
18254
|
return N(() => {
|
|
18218
|
-
|
|
18219
|
-
}),
|
|
18255
|
+
Lf.destroyAll();
|
|
18256
|
+
}), Lf;
|
|
18220
18257
|
}
|
|
18221
18258
|
//#endregion
|
|
18222
18259
|
//#region src/components/modal-2/types.ts
|
|
18223
|
-
var
|
|
18260
|
+
var zf = [
|
|
18224
18261
|
"top",
|
|
18225
18262
|
"right",
|
|
18226
18263
|
"bottom",
|
|
@@ -18230,26 +18267,26 @@ var Lf = [
|
|
|
18230
18267
|
"topright",
|
|
18231
18268
|
"bottomleft",
|
|
18232
18269
|
"bottomright"
|
|
18233
|
-
],
|
|
18270
|
+
], Bf = [
|
|
18234
18271
|
"info",
|
|
18235
18272
|
"success",
|
|
18236
18273
|
"warning",
|
|
18237
18274
|
"error"
|
|
18238
|
-
],
|
|
18275
|
+
], Vf = [
|
|
18239
18276
|
"info",
|
|
18240
18277
|
"success",
|
|
18241
18278
|
"confirm",
|
|
18242
18279
|
"warning",
|
|
18243
18280
|
"error",
|
|
18244
18281
|
"blank"
|
|
18245
|
-
],
|
|
18282
|
+
], Hf = {
|
|
18246
18283
|
info: "info-circle-2-bold",
|
|
18247
18284
|
success: "tick-circle-bold",
|
|
18248
18285
|
confirm: "warning",
|
|
18249
18286
|
warning: "warning",
|
|
18250
18287
|
error: "close-circle-bold",
|
|
18251
18288
|
blank: null
|
|
18252
|
-
},
|
|
18289
|
+
}, Uf = y({
|
|
18253
18290
|
props: { content: {
|
|
18254
18291
|
type: Object,
|
|
18255
18292
|
required: !0
|
|
@@ -18257,22 +18294,22 @@ var Lf = [
|
|
|
18257
18294
|
setup(e) {
|
|
18258
18295
|
return () => e.content;
|
|
18259
18296
|
}
|
|
18260
|
-
}),
|
|
18297
|
+
}), Wf = {
|
|
18261
18298
|
key: 0,
|
|
18262
18299
|
class: "ak-modal__header ak-modal__header__top"
|
|
18263
|
-
},
|
|
18300
|
+
}, Gf = {
|
|
18264
18301
|
key: 0,
|
|
18265
18302
|
class: "ak-modal__header__title ma-body-3-medium"
|
|
18266
|
-
},
|
|
18303
|
+
}, Kf = { class: "ak-modal__header__actions" }, qf = { class: "ak-modal__body" }, Jf = {
|
|
18267
18304
|
key: 0,
|
|
18268
18305
|
class: "ak-modal__header__title ma-body-2-medium"
|
|
18269
|
-
},
|
|
18306
|
+
}, Yf = { class: "ak-modal__header__actions" }, Xf = { class: "ak-modal__content" }, Zf = {
|
|
18270
18307
|
key: 0,
|
|
18271
18308
|
class: "ak-modal__description ma-body-4-regular"
|
|
18272
|
-
},
|
|
18309
|
+
}, Qf = {
|
|
18273
18310
|
key: 1,
|
|
18274
18311
|
class: "ak-modal__footer"
|
|
18275
|
-
},
|
|
18312
|
+
}, $f = /* @__PURE__ */ y({
|
|
18276
18313
|
__name: "index",
|
|
18277
18314
|
props: {
|
|
18278
18315
|
visible: {
|
|
@@ -18361,7 +18398,7 @@ var Lf = [
|
|
|
18361
18398
|
set(e) {
|
|
18362
18399
|
a("update:visible", e), e || (a("closed"), r.fullscreen && a("update:fullscreen", !1));
|
|
18363
18400
|
}
|
|
18364
|
-
}), h = l(() => r?.icon || (r.type &&
|
|
18401
|
+
}), h = l(() => r?.icon || (r.type && Hf[r.type] ? Hf[r.type] : null)), v = l(() => ({
|
|
18365
18402
|
success: "green",
|
|
18366
18403
|
error: "red",
|
|
18367
18404
|
warning: "dark",
|
|
@@ -18418,7 +18455,7 @@ var Lf = [
|
|
|
18418
18455
|
"onUpdate:visible": n[0] ||= (e) => u.value = e
|
|
18419
18456
|
}), {
|
|
18420
18457
|
default: q(() => [
|
|
18421
|
-
T.value ? (I(), p("div",
|
|
18458
|
+
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
18459
|
key: 0,
|
|
18423
18460
|
class: "ak-modal__header__expand",
|
|
18424
18461
|
icon: c.value ? "compress" : "expand",
|
|
@@ -18433,7 +18470,7 @@ var Lf = [
|
|
|
18433
18470
|
variant: "lighter",
|
|
18434
18471
|
onClick: A
|
|
18435
18472
|
})) : f("", !0)])])) : f("", !0),
|
|
18436
|
-
m("div",
|
|
18473
|
+
m("div", qf, [
|
|
18437
18474
|
h.value ? (I(), p("div", {
|
|
18438
18475
|
key: 0,
|
|
18439
18476
|
class: k(x.value)
|
|
@@ -18441,7 +18478,7 @@ var Lf = [
|
|
|
18441
18478
|
E.value ? (I(), p("div", {
|
|
18442
18479
|
key: 1,
|
|
18443
18480
|
class: k(S.value)
|
|
18444
|
-
}, [e.bodyTitle || w.value ? (I(), p("div",
|
|
18481
|
+
}, [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
18482
|
key: 0,
|
|
18446
18483
|
class: "ak-modal__header__expand",
|
|
18447
18484
|
icon: c.value ? "compress" : "expand",
|
|
@@ -18456,8 +18493,8 @@ var Lf = [
|
|
|
18456
18493
|
variant: "lighter",
|
|
18457
18494
|
onClick: A
|
|
18458
18495
|
})) : f("", !0)])], 2)) : f("", !0),
|
|
18459
|
-
m("div",
|
|
18460
|
-
e.content ? (I(), p("div",
|
|
18496
|
+
m("div", Xf, [
|
|
18497
|
+
e.content ? (I(), p("div", Zf, [C.value ? (I(), d(Uf, {
|
|
18461
18498
|
key: 0,
|
|
18462
18499
|
content: e.content
|
|
18463
18500
|
}, null, 8, ["content"])) : (I(), p(i, { key: 1 }, [g(H(e.content), 1)], 64))])) : f("", !0),
|
|
@@ -18465,7 +18502,7 @@ var Lf = [
|
|
|
18465
18502
|
B(t.$slots, "default")
|
|
18466
18503
|
])
|
|
18467
18504
|
]),
|
|
18468
|
-
y.value ? (I(), p("div",
|
|
18505
|
+
y.value ? (I(), p("div", Qf, [
|
|
18469
18506
|
e.cancelText ? (I(), d(Z, D({
|
|
18470
18507
|
key: 0,
|
|
18471
18508
|
variant: "stroke"
|
|
@@ -18491,10 +18528,10 @@ var Lf = [
|
|
|
18491
18528
|
});
|
|
18492
18529
|
//#endregion
|
|
18493
18530
|
//#region src/components/modal/index.ts
|
|
18494
|
-
|
|
18495
|
-
|
|
18531
|
+
Vf.forEach((e) => {
|
|
18532
|
+
$f[e] = (t) => {
|
|
18496
18533
|
t.type = e;
|
|
18497
|
-
let n = document.createElement("div"), r = S(
|
|
18534
|
+
let n = document.createElement("div"), r = S($f, t), i = u({ render: () => r });
|
|
18498
18535
|
i.mount(n), document.body.appendChild(n);
|
|
18499
18536
|
let a = t?.onCancel, o = t?.onOk, s = () => {
|
|
18500
18537
|
i.unmount(), document.body.removeChild(n);
|
|
@@ -18512,22 +18549,22 @@ zf.forEach((e) => {
|
|
|
18512
18549
|
} };
|
|
18513
18550
|
};
|
|
18514
18551
|
});
|
|
18515
|
-
var
|
|
18552
|
+
var ep = $f, tp = /* @__PURE__ */ n(((e, t) => {
|
|
18516
18553
|
function n(e, t, n, r) {
|
|
18517
18554
|
var i = -1, a = e == null ? 0 : e.length;
|
|
18518
18555
|
for (r && a && (n = e[++i]); ++i < a;) n = t(n, e[i], i, e);
|
|
18519
18556
|
return n;
|
|
18520
18557
|
}
|
|
18521
18558
|
t.exports = n;
|
|
18522
|
-
})),
|
|
18559
|
+
})), np = /* @__PURE__ */ n(((e, t) => {
|
|
18523
18560
|
function n(e) {
|
|
18524
18561
|
return function(t) {
|
|
18525
18562
|
return e?.[t];
|
|
18526
18563
|
};
|
|
18527
18564
|
}
|
|
18528
18565
|
t.exports = n;
|
|
18529
|
-
})),
|
|
18530
|
-
t.exports =
|
|
18566
|
+
})), rp = /* @__PURE__ */ n(((e, t) => {
|
|
18567
|
+
t.exports = np()({
|
|
18531
18568
|
À: "A",
|
|
18532
18569
|
Á: "A",
|
|
18533
18570
|
Â: "A",
|
|
@@ -18719,25 +18756,25 @@ var Qf = Zf, $f = /* @__PURE__ */ n(((e, t) => {
|
|
|
18719
18756
|
ʼn: "'n",
|
|
18720
18757
|
ſ: "s"
|
|
18721
18758
|
});
|
|
18722
|
-
})),
|
|
18723
|
-
var n =
|
|
18759
|
+
})), ip = /* @__PURE__ */ n(((e, t) => {
|
|
18760
|
+
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
18761
|
function o(e) {
|
|
18725
18762
|
return e = r(e), e && e.replace(i, n).replace(a, "");
|
|
18726
18763
|
}
|
|
18727
18764
|
t.exports = o;
|
|
18728
|
-
})),
|
|
18765
|
+
})), ap = /* @__PURE__ */ n(((e, t) => {
|
|
18729
18766
|
var n = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
18730
18767
|
function r(e) {
|
|
18731
18768
|
return e.match(n) || [];
|
|
18732
18769
|
}
|
|
18733
18770
|
t.exports = r;
|
|
18734
|
-
})),
|
|
18771
|
+
})), op = /* @__PURE__ */ n(((e, t) => {
|
|
18735
18772
|
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
18773
|
function r(e) {
|
|
18737
18774
|
return n.test(e);
|
|
18738
18775
|
}
|
|
18739
18776
|
t.exports = r;
|
|
18740
|
-
})),
|
|
18777
|
+
})), sp = /* @__PURE__ */ n(((e, t) => {
|
|
18741
18778
|
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
18779
|
x,
|
|
18743
18780
|
S,
|
|
@@ -18768,50 +18805,50 @@ var Qf = Zf, $f = /* @__PURE__ */ n(((e, t) => {
|
|
|
18768
18805
|
return e.match(L) || [];
|
|
18769
18806
|
}
|
|
18770
18807
|
t.exports = ee;
|
|
18771
|
-
})),
|
|
18772
|
-
var n =
|
|
18808
|
+
})), cp = /* @__PURE__ */ n(((e, t) => {
|
|
18809
|
+
var n = ap(), r = op(), i = Ts(), a = sp();
|
|
18773
18810
|
function o(e, t, o) {
|
|
18774
18811
|
return e = i(e), t = o ? void 0 : t, t === void 0 ? r(e) ? a(e) : n(e) : e.match(t) || [];
|
|
18775
18812
|
}
|
|
18776
18813
|
t.exports = o;
|
|
18777
|
-
})),
|
|
18778
|
-
var n =
|
|
18814
|
+
})), lp = /* @__PURE__ */ n(((e, t) => {
|
|
18815
|
+
var n = tp(), r = ip(), i = cp(), a = RegExp("['’]", "g");
|
|
18779
18816
|
function o(e) {
|
|
18780
18817
|
return function(t) {
|
|
18781
18818
|
return n(i(r(t).replace(a, "")), e, "");
|
|
18782
18819
|
};
|
|
18783
18820
|
}
|
|
18784
18821
|
t.exports = o;
|
|
18785
|
-
})),
|
|
18786
|
-
t.exports =
|
|
18822
|
+
})), up = /* @__PURE__ */ t((/* @__PURE__ */ n(((e, t) => {
|
|
18823
|
+
t.exports = lp()(function(e, t, n) {
|
|
18787
18824
|
return e + (n ? "-" : "") + t.toLowerCase();
|
|
18788
18825
|
});
|
|
18789
|
-
})))(), 1),
|
|
18790
|
-
function
|
|
18826
|
+
})))(), 1), dp = 200;
|
|
18827
|
+
function fp() {
|
|
18791
18828
|
return { runNotificationLeaveAnimation: (e, t) => {
|
|
18792
18829
|
if (!e.value) return;
|
|
18793
18830
|
e.value.classList.add("leaving");
|
|
18794
18831
|
let n = e.value, r = null, i = n.offsetHeight, a = (e) => {
|
|
18795
18832
|
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 <
|
|
18833
|
+
let o = e - r, s = Math.min(o / dp, 1), c = -i * s, l = 1 - s, u = -i * s;
|
|
18834
|
+
n.style.transform = `translateY(${c}px)`, n.style.opacity = `${l}`, n.style.marginBottom = `${u}px`, o < dp ? window.requestAnimationFrame(a) : setTimeout(() => {
|
|
18798
18835
|
t();
|
|
18799
|
-
},
|
|
18836
|
+
}, dp);
|
|
18800
18837
|
};
|
|
18801
18838
|
window.requestAnimationFrame(a);
|
|
18802
18839
|
} };
|
|
18803
18840
|
}
|
|
18804
18841
|
//#endregion
|
|
18805
18842
|
//#region src/components/notification/components/notification.vue?vue&type=script&setup=true&lang.ts
|
|
18806
|
-
var
|
|
18843
|
+
var pp = { class: "ma-notification__content" }, mp = { class: "ma-notification__content__texts" }, hp = ["title"], gp = ["title"], _p = {
|
|
18807
18844
|
key: 0,
|
|
18808
18845
|
class: "ma-notification-buttons"
|
|
18809
|
-
},
|
|
18846
|
+
}, vp = { class: "ma-notification__actions" }, yp = /* @__PURE__ */ y({
|
|
18810
18847
|
__name: "notification",
|
|
18811
18848
|
props: { notification: {} },
|
|
18812
18849
|
emits: ["remove"],
|
|
18813
18850
|
setup(e, { emit: t }) {
|
|
18814
|
-
let n = e, r = t, { runNotificationLeaveAnimation: a } =
|
|
18851
|
+
let n = e, r = t, { runNotificationLeaveAnimation: a } = fp(), o = R(null), s = R(), c = [
|
|
18815
18852
|
"ma-notification",
|
|
18816
18853
|
`ma-notification--${n.notification.type}`,
|
|
18817
18854
|
`ma-notification--${n.notification.variant}`,
|
|
@@ -18842,21 +18879,21 @@ var dp = { class: "ma-notification__content" }, fp = { class: "ma-notification__
|
|
|
18842
18879
|
name: n.notification.icon,
|
|
18843
18880
|
size: "sm"
|
|
18844
18881
|
}, null, 8, ["name"])) : f("", !0),
|
|
18845
|
-
m("div",
|
|
18882
|
+
m("div", pp, [m("div", mp, [T(n.notification.title) ? (I(), d(V(n.notification.title), {
|
|
18846
18883
|
key: 0,
|
|
18847
18884
|
class: "ma-notification-title"
|
|
18848
18885
|
})) : n.notification.title ? (I(), p("div", {
|
|
18849
18886
|
key: 1,
|
|
18850
18887
|
class: "ma-notification-title",
|
|
18851
18888
|
title: n.notification.title
|
|
18852
|
-
}, H(n.notification.title), 9,
|
|
18889
|
+
}, H(n.notification.title), 9, hp)) : f("", !0), T(n.notification.description) ? (I(), d(V(n.notification.description), {
|
|
18853
18890
|
key: 2,
|
|
18854
18891
|
class: "ma-notification-description"
|
|
18855
18892
|
})) : n.notification.description ? (I(), p("div", {
|
|
18856
18893
|
key: 3,
|
|
18857
18894
|
class: "ma-notification-description",
|
|
18858
18895
|
title: n.notification.description
|
|
18859
|
-
}, H(n.notification.description), 9,
|
|
18896
|
+
}, 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
18897
|
key: t,
|
|
18861
18898
|
size: "small",
|
|
18862
18899
|
onClick: (t) => e.onClick(n.notification.id)
|
|
@@ -18864,7 +18901,7 @@ var dp = { class: "ma-notification__content" }, fp = { class: "ma-notification__
|
|
|
18864
18901
|
default: q(() => [g(H(e.label), 1)]),
|
|
18865
18902
|
_: 2
|
|
18866
18903
|
}, 1032, ["onClick"]))), 128))])) : f("", !0)]),
|
|
18867
|
-
m("div",
|
|
18904
|
+
m("div", vp, [n.notification.closable ? (I(), d(U(X), {
|
|
18868
18905
|
key: 0,
|
|
18869
18906
|
name: "close",
|
|
18870
18907
|
class: "ma-notification-close",
|
|
@@ -18873,10 +18910,10 @@ var dp = { class: "ma-notification__content" }, fp = { class: "ma-notification__
|
|
|
18873
18910
|
})) : f("", !0)])
|
|
18874
18911
|
], 544));
|
|
18875
18912
|
}
|
|
18876
|
-
}),
|
|
18913
|
+
}), bp = {
|
|
18877
18914
|
key: 0,
|
|
18878
18915
|
class: "ma-notification-wrapper"
|
|
18879
|
-
},
|
|
18916
|
+
}, xp = /* @__PURE__ */ y({
|
|
18880
18917
|
__name: "notificationContainer",
|
|
18881
18918
|
setup(e, { expose: t }) {
|
|
18882
18919
|
let n = R([]);
|
|
@@ -18901,11 +18938,11 @@ var dp = { class: "ma-notification__content" }, fp = { class: "ma-notification__
|
|
|
18901
18938
|
addNotification: r,
|
|
18902
18939
|
removeNotification: o,
|
|
18903
18940
|
removeAll: s
|
|
18904
|
-
}), (e, t) => (I(), d(a, { to: "body" }, [n.value.length ? (I(), p("div",
|
|
18941
|
+
}), (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
18942
|
key: t,
|
|
18906
|
-
class: k(`ma-notification--${U(
|
|
18943
|
+
class: k(`ma-notification--${U(up.default)(t)}`)
|
|
18907
18944
|
}, [_(c, { name: "ma-notification" }, {
|
|
18908
|
-
default: q(() => [(I(!0), p(i, null, z(e, (e) => (I(), d(
|
|
18945
|
+
default: q(() => [(I(!0), p(i, null, z(e, (e) => (I(), d(yp, {
|
|
18909
18946
|
key: e.id,
|
|
18910
18947
|
notification: e,
|
|
18911
18948
|
onRemove: o
|
|
@@ -18913,18 +18950,18 @@ var dp = { class: "ma-notification__content" }, fp = { class: "ma-notification__
|
|
|
18913
18950
|
_: 2
|
|
18914
18951
|
}, 1024)], 2))), 128))])) : f("", !0)]));
|
|
18915
18952
|
}
|
|
18916
|
-
}),
|
|
18917
|
-
dark: () =>
|
|
18918
|
-
error: () =>
|
|
18919
|
-
info: () =>
|
|
18920
|
-
remove: () =>
|
|
18921
|
-
removeAll: () =>
|
|
18922
|
-
success: () =>
|
|
18923
|
-
warning: () =>
|
|
18924
|
-
}),
|
|
18925
|
-
document.body.appendChild(
|
|
18926
|
-
var
|
|
18927
|
-
function
|
|
18953
|
+
}), Sp = /* @__PURE__ */ e({
|
|
18954
|
+
dark: () => kp,
|
|
18955
|
+
error: () => jp,
|
|
18956
|
+
info: () => Mp,
|
|
18957
|
+
remove: () => Pp,
|
|
18958
|
+
removeAll: () => Fp,
|
|
18959
|
+
success: () => Ap,
|
|
18960
|
+
warning: () => Np
|
|
18961
|
+
}), Cp = document.createElement("div");
|
|
18962
|
+
document.body.appendChild(Cp);
|
|
18963
|
+
var wp = u(xp).mount(Cp);
|
|
18964
|
+
function Tp(e) {
|
|
18928
18965
|
switch (e) {
|
|
18929
18966
|
case "success": return "tick-circle-bold";
|
|
18930
18967
|
case "warning": return "warning-2-bold";
|
|
@@ -18932,7 +18969,7 @@ function Cp(e) {
|
|
|
18932
18969
|
case "info": return "info-circle-2-bold";
|
|
18933
18970
|
}
|
|
18934
18971
|
}
|
|
18935
|
-
function
|
|
18972
|
+
function Ep(e) {
|
|
18936
18973
|
return {
|
|
18937
18974
|
id: Date.now(),
|
|
18938
18975
|
duration: 3e3,
|
|
@@ -18940,21 +18977,21 @@ function wp(e) {
|
|
|
18940
18977
|
variant: "stroke",
|
|
18941
18978
|
placement: "topRight",
|
|
18942
18979
|
size: "small",
|
|
18943
|
-
icon:
|
|
18980
|
+
icon: Tp(e.type),
|
|
18944
18981
|
...e
|
|
18945
18982
|
};
|
|
18946
18983
|
}
|
|
18947
|
-
function
|
|
18948
|
-
return
|
|
18984
|
+
function Dp(e) {
|
|
18985
|
+
return wp.addNotification({ ...Ep(e) });
|
|
18949
18986
|
}
|
|
18950
|
-
var
|
|
18987
|
+
var Op = (e) => (t) => Dp({
|
|
18951
18988
|
...t,
|
|
18952
18989
|
type: e
|
|
18953
|
-
}),
|
|
18990
|
+
}), 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
18991
|
"small",
|
|
18955
18992
|
"medium",
|
|
18956
18993
|
"large"
|
|
18957
|
-
],
|
|
18994
|
+
], Lp = ["value"], Rp = /* @__PURE__ */ y({
|
|
18958
18995
|
__name: "singleNumericInput",
|
|
18959
18996
|
props: {
|
|
18960
18997
|
value: { default: "" },
|
|
@@ -18983,9 +19020,9 @@ var Ep = (e) => (t) => Tp({
|
|
|
18983
19020
|
pattern: "[0-9]",
|
|
18984
19021
|
inputmode: "numeric",
|
|
18985
19022
|
onInput: a
|
|
18986
|
-
}), null, 16,
|
|
19023
|
+
}), null, 16, Lp));
|
|
18987
19024
|
}
|
|
18988
|
-
}),
|
|
19025
|
+
}), zp = /* @__PURE__ */ y({
|
|
18989
19026
|
name: "MaNumericInput",
|
|
18990
19027
|
__name: "index",
|
|
18991
19028
|
props: {
|
|
@@ -19042,7 +19079,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
19042
19079
|
r("update:value", e.join(""));
|
|
19043
19080
|
}, { deep: !0 }), K(() => n.value, (e) => {
|
|
19044
19081
|
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(
|
|
19082
|
+
}), (e, t) => (I(), p("div", D({ class: s.value }, e.$attrs), [(I(!0), p(i, null, z(n.length, (e) => (I(), d(Rp, {
|
|
19046
19083
|
key: e,
|
|
19047
19084
|
focus: a.value === e - 1,
|
|
19048
19085
|
placeholder: c.value,
|
|
@@ -19062,57 +19099,57 @@ var Ep = (e) => (t) => Tp({
|
|
|
19062
19099
|
"onPaste"
|
|
19063
19100
|
]))), 128))], 16));
|
|
19064
19101
|
}
|
|
19065
|
-
}),
|
|
19102
|
+
}), Bp = [
|
|
19066
19103
|
"small",
|
|
19067
19104
|
"medium",
|
|
19068
19105
|
"large"
|
|
19069
|
-
],
|
|
19106
|
+
], Vp = ["simple", "advanced"], Hp = /* @__PURE__ */ n(((e, t) => {
|
|
19070
19107
|
var n = Math.ceil, r = Math.max;
|
|
19071
19108
|
function i(e, t, i, a) {
|
|
19072
19109
|
for (var o = -1, s = r(n((t - e) / (i || 1)), 0), c = Array(s); s--;) c[a ? s : ++o] = e, e += i;
|
|
19073
19110
|
return c;
|
|
19074
19111
|
}
|
|
19075
19112
|
t.exports = i;
|
|
19076
|
-
})),
|
|
19113
|
+
})), Up = /* @__PURE__ */ n(((e, t) => {
|
|
19077
19114
|
var n = ba(), r = Infinity, i = 17976931348623157e292;
|
|
19078
19115
|
function a(e) {
|
|
19079
19116
|
return e ? (e = n(e), e === r || e === -r ? (e < 0 ? -1 : 1) * i : e === e ? e : 0) : e === 0 ? e : 0;
|
|
19080
19117
|
}
|
|
19081
19118
|
t.exports = a;
|
|
19082
|
-
})),
|
|
19083
|
-
var n =
|
|
19119
|
+
})), Wp = /* @__PURE__ */ n(((e, t) => {
|
|
19120
|
+
var n = Hp(), r = $a(), i = Up();
|
|
19084
19121
|
function a(e) {
|
|
19085
19122
|
return function(t, a, o) {
|
|
19086
19123
|
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
19124
|
};
|
|
19088
19125
|
}
|
|
19089
19126
|
t.exports = a;
|
|
19090
|
-
})),
|
|
19091
|
-
t.exports =
|
|
19092
|
-
})))(), 1),
|
|
19127
|
+
})), Gp = /* @__PURE__ */ t((/* @__PURE__ */ n(((e, t) => {
|
|
19128
|
+
t.exports = Wp()();
|
|
19129
|
+
})))(), 1), Kp = {
|
|
19093
19130
|
"2xl": 1536,
|
|
19094
19131
|
xl: 1280,
|
|
19095
19132
|
lg: 1024,
|
|
19096
19133
|
md: 768,
|
|
19097
19134
|
sm: 640,
|
|
19098
19135
|
xs: 0
|
|
19099
|
-
},
|
|
19136
|
+
}, qp = {
|
|
19100
19137
|
windowWidth: () => window.innerWidth,
|
|
19101
19138
|
getBreakpointSize() {
|
|
19102
19139
|
let e = this.windowWidth();
|
|
19103
|
-
return Object.keys(
|
|
19140
|
+
return Object.keys(Kp).find((t) => e > Kp[t]);
|
|
19104
19141
|
}
|
|
19105
|
-
},
|
|
19142
|
+
}, Jp = {
|
|
19106
19143
|
key: 0,
|
|
19107
19144
|
class: "ma-pagination",
|
|
19108
19145
|
"aria-label": "Pagination"
|
|
19109
|
-
},
|
|
19146
|
+
}, Yp = {
|
|
19110
19147
|
key: 0,
|
|
19111
19148
|
class: "pagination-total-text"
|
|
19112
|
-
},
|
|
19149
|
+
}, Xp = ["aria-label"], Zp = ["aria-label"], Qp = {
|
|
19113
19150
|
key: 1,
|
|
19114
19151
|
class: "pagination-options"
|
|
19115
|
-
},
|
|
19152
|
+
}, $p = 4, em = 200, tm = /* @__PURE__ */ y({
|
|
19116
19153
|
__name: "index",
|
|
19117
19154
|
props: {
|
|
19118
19155
|
mode: {
|
|
@@ -19161,7 +19198,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
19161
19198
|
lg: 5,
|
|
19162
19199
|
default: 7
|
|
19163
19200
|
}),
|
|
19164
|
-
validator: (e) => Object.keys(
|
|
19201
|
+
validator: (e) => Object.keys(Kp).filter((t) => !e[t]).length === 0 ? !0 : !!e.default
|
|
19165
19202
|
},
|
|
19166
19203
|
pageSizeOptions: {
|
|
19167
19204
|
type: Array,
|
|
@@ -19191,7 +19228,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
19191
19228
|
"perPageChange"
|
|
19192
19229
|
],
|
|
19193
19230
|
setup(e, { emit: t }) {
|
|
19194
|
-
let n = e, r = t, { hasWindow: a } = gc(), o = ft(), s = (e, t) => (0,
|
|
19231
|
+
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
19232
|
get() {
|
|
19196
19233
|
return Number(n.perPage);
|
|
19197
19234
|
},
|
|
@@ -19205,8 +19242,8 @@ var Ep = (e) => (t) => Tp({
|
|
|
19205
19242
|
return n.limits[e] === void 0 ? n.limits.default : n.limits[e];
|
|
19206
19243
|
}), C = l(() => Math.max(Math.ceil((S.value - 1) / 2), 0)), w = l(() => {
|
|
19207
19244
|
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 >
|
|
19245
|
+
return e >= C.value && e > 3 && h.value > $p;
|
|
19246
|
+
}), T = l(() => h.value - 2 - n.current > C.value && h.value > $p), E = l(() => {
|
|
19210
19247
|
if (h.value === 1) return [L(1)];
|
|
19211
19248
|
let e = [], t = w.value ? n.current - C.value : 1;
|
|
19212
19249
|
t = Math.min(t, h.value - 1);
|
|
@@ -19261,14 +19298,14 @@ var Ep = (e) => (t) => Tp({
|
|
|
19261
19298
|
x.value || re(e, n.current + 1);
|
|
19262
19299
|
}
|
|
19263
19300
|
function oe() {
|
|
19264
|
-
c.value =
|
|
19301
|
+
c.value = qp.getBreakpointSize();
|
|
19265
19302
|
}
|
|
19266
19303
|
return M(() => {
|
|
19267
|
-
a.value && window.addEventListener("resize", (0, no.default)(oe,
|
|
19304
|
+
a.value && window.addEventListener("resize", (0, no.default)(oe, em));
|
|
19268
19305
|
}), 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",
|
|
19306
|
+
a.value && window.removeEventListener("resize", (0, no.default)(oe, em));
|
|
19307
|
+
}), (t, n) => v.value ? (I(), p("nav", Jp, [m("ul", { class: k(N.value) }, [
|
|
19308
|
+
y.value ? (I(), p("li", Yp, [B(t.$slots, "totalText", {}, () => [g(H(D.value), 1)])])) : f("", !0),
|
|
19272
19309
|
m("li", {
|
|
19273
19310
|
class: k(["page-item jump-prev", {
|
|
19274
19311
|
disabled: b.value,
|
|
@@ -19282,7 +19319,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
19282
19319
|
}, {
|
|
19283
19320
|
default: q(() => [_(U(X), { name: "chevron-left" })]),
|
|
19284
19321
|
_: 1
|
|
19285
|
-
}))], 10,
|
|
19322
|
+
}))], 10, Xp),
|
|
19286
19323
|
(I(!0), p(i, null, z(E.value, (t) => (I(), p("li", {
|
|
19287
19324
|
key: t.key,
|
|
19288
19325
|
class: k(["page-item", {
|
|
@@ -19317,8 +19354,8 @@ var Ep = (e) => (t) => Tp({
|
|
|
19317
19354
|
}, {
|
|
19318
19355
|
default: q(() => [_(U(X), { name: "chevron-right" })]),
|
|
19319
19356
|
_: 1
|
|
19320
|
-
}))], 10,
|
|
19321
|
-
y.value ? (I(), p("li",
|
|
19357
|
+
}))], 10, Zp),
|
|
19358
|
+
y.value ? (I(), p("li", Qp, [_(U(Kc), {
|
|
19322
19359
|
value: u.value,
|
|
19323
19360
|
"onUpdate:value": n[0] ||= (e) => u.value = e,
|
|
19324
19361
|
disabled: e.disabled,
|
|
@@ -19334,12 +19371,12 @@ var Ep = (e) => (t) => Tp({
|
|
|
19334
19371
|
])])) : f("", !0)
|
|
19335
19372
|
], 2)])) : f("", !0);
|
|
19336
19373
|
}
|
|
19337
|
-
}),
|
|
19374
|
+
}), nm = [
|
|
19338
19375
|
"success",
|
|
19339
19376
|
"danger",
|
|
19340
19377
|
"info",
|
|
19341
19378
|
"warning"
|
|
19342
|
-
],
|
|
19379
|
+
], 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
19380
|
name: "MaPopconfirm2",
|
|
19344
19381
|
__name: "index",
|
|
19345
19382
|
props: {
|
|
@@ -19427,14 +19464,14 @@ var Ep = (e) => (t) => Tp({
|
|
|
19427
19464
|
o.value = e;
|
|
19428
19465
|
}), K(o, (e) => {
|
|
19429
19466
|
r("update:visible", e), r("visibleChange", e);
|
|
19430
|
-
}), (t, r) => (I(), d(U(
|
|
19467
|
+
}), (t, r) => (I(), d(U(vm), D({
|
|
19431
19468
|
visible: o.value,
|
|
19432
19469
|
"onUpdate:visible": r[0] ||= (e) => o.value = e
|
|
19433
19470
|
}, a.value, { "no-padding": "" }), {
|
|
19434
|
-
overlay: q(() => [m("div",
|
|
19471
|
+
overlay: q(() => [m("div", rm, [m("div", im, [e.showIcon ? (I(), p("div", {
|
|
19435
19472
|
key: 0,
|
|
19436
19473
|
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",
|
|
19474
|
+
}, [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
19475
|
class: { "ma-full-width-button": n.fullWidthButton },
|
|
19439
19476
|
onClick: b
|
|
19440
19477
|
}), {
|
|
@@ -19451,7 +19488,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
19451
19488
|
_: 3
|
|
19452
19489
|
}, 16, ["visible"]));
|
|
19453
19490
|
}
|
|
19454
|
-
}),
|
|
19491
|
+
}), um = /* @__PURE__ */ y({
|
|
19455
19492
|
__name: "index",
|
|
19456
19493
|
props: {
|
|
19457
19494
|
placement: { default: "bottomLeft" },
|
|
@@ -19512,7 +19549,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
19512
19549
|
"auto-adjust-overflow"
|
|
19513
19550
|
]));
|
|
19514
19551
|
}
|
|
19515
|
-
}),
|
|
19552
|
+
}), 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
19553
|
__name: "index",
|
|
19517
19554
|
props: {
|
|
19518
19555
|
placement: { default: "top" },
|
|
@@ -19582,19 +19619,19 @@ var Ep = (e) => (t) => Tp({
|
|
|
19582
19619
|
size: "small",
|
|
19583
19620
|
loading: n.cancelButtonLoading
|
|
19584
19621
|
}));
|
|
19585
|
-
return (t, r) => (I(), d(
|
|
19622
|
+
return (t, r) => (I(), d(um, D({
|
|
19586
19623
|
visible: a.value,
|
|
19587
19624
|
"onUpdate:visible": r[0] ||= (e) => a.value = e
|
|
19588
19625
|
}, c.value), {
|
|
19589
|
-
overlay: q(() => [m("div",
|
|
19626
|
+
overlay: q(() => [m("div", dm, [m("div", fm, [
|
|
19590
19627
|
B(t.$slots, "icon"),
|
|
19591
19628
|
!t.$slots.icon && e.showIcon ? (I(), d(X, {
|
|
19592
19629
|
key: 0,
|
|
19593
19630
|
class: "ak-popconfirm-header--icon",
|
|
19594
19631
|
name: n.icon
|
|
19595
19632
|
}, null, 8, ["name"])) : f("", !0),
|
|
19596
|
-
m("div",
|
|
19597
|
-
]), m("div",
|
|
19633
|
+
m("div", pm, [m("h1", mm, H(n.title), 1), m("p", hm, H(n.description), 1)])
|
|
19634
|
+
]), m("div", gm, [
|
|
19598
19635
|
!t.$slots.cancelButton && n.showCancel ? (I(), d(Z, D({ key: 0 }, p.value, { onClick: o }), {
|
|
19599
19636
|
default: q(() => [g(H(n.cancelText || U(i).config.locale.cancel), 1)]),
|
|
19600
19637
|
_: 1
|
|
@@ -19610,7 +19647,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
19610
19647
|
_: 3
|
|
19611
19648
|
}, 16, ["visible"]));
|
|
19612
19649
|
}
|
|
19613
|
-
}),
|
|
19650
|
+
}), vm = /* @__PURE__ */ y({
|
|
19614
19651
|
name: "MaPopover2",
|
|
19615
19652
|
__name: "index",
|
|
19616
19653
|
props: {
|
|
@@ -19713,7 +19750,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
19713
19750
|
"auto-boundary-max-size"
|
|
19714
19751
|
]));
|
|
19715
19752
|
}
|
|
19716
|
-
}),
|
|
19753
|
+
}), ym = ["click", "hover"], bm = [
|
|
19717
19754
|
"auto",
|
|
19718
19755
|
"auto-start",
|
|
19719
19756
|
"auto-end",
|
|
@@ -19729,25 +19766,25 @@ var Ep = (e) => (t) => Tp({
|
|
|
19729
19766
|
"left",
|
|
19730
19767
|
"left-start",
|
|
19731
19768
|
"left-end"
|
|
19732
|
-
],
|
|
19769
|
+
], xm = [
|
|
19733
19770
|
"line",
|
|
19734
19771
|
"line-step",
|
|
19735
19772
|
"circle",
|
|
19736
19773
|
"half-circle"
|
|
19737
|
-
],
|
|
19774
|
+
], Sm = [
|
|
19738
19775
|
"dark",
|
|
19739
19776
|
"blue",
|
|
19740
19777
|
"green",
|
|
19741
19778
|
"orange",
|
|
19742
19779
|
"yellow",
|
|
19743
19780
|
"red"
|
|
19744
|
-
],
|
|
19781
|
+
], Cm = [
|
|
19745
19782
|
"xs",
|
|
19746
19783
|
"sm",
|
|
19747
19784
|
"md",
|
|
19748
19785
|
"lg",
|
|
19749
19786
|
"xl"
|
|
19750
|
-
],
|
|
19787
|
+
], wm = ["left", "right"], Tm = { class: "ma-progress-line-step" }, Em = { class: "step-line-wrapper" }, Dm = { key: 1 }, Om = { key: 2 }, km = /* @__PURE__ */ y({
|
|
19751
19788
|
__name: "stepLine",
|
|
19752
19789
|
props: {
|
|
19753
19790
|
percent: {},
|
|
@@ -19764,8 +19801,8 @@ var Ep = (e) => (t) => Tp({
|
|
|
19764
19801
|
let n = (e - 1) * 10, r = e * 10, i = 0;
|
|
19765
19802
|
return t.percent >= r ? i = 100 : t.percent > n && t.percent < r && (i = 100 * (t.percent - n) / (r - n)), { width: `${i}%` };
|
|
19766
19803
|
}
|
|
19767
|
-
return (e, r) => (I(), p("div",
|
|
19768
|
-
m("div",
|
|
19804
|
+
return (e, r) => (I(), p("div", Tm, [
|
|
19805
|
+
m("div", Em, [(I(), p(i, null, z(10, (e) => m("div", {
|
|
19769
19806
|
key: e,
|
|
19770
19807
|
class: "single-line"
|
|
19771
19808
|
}, [m("div", {
|
|
@@ -19775,14 +19812,14 @@ var Ep = (e) => (t) => Tp({
|
|
|
19775
19812
|
t?.icon ? (I(), d(X, {
|
|
19776
19813
|
key: 0,
|
|
19777
19814
|
name: t.icon
|
|
19778
|
-
}, null, 8, ["name"])) : t?.showPercent ? (I(), p("label",
|
|
19779
|
-
e.$slots.customLabel ? (I(), p("label",
|
|
19815
|
+
}, null, 8, ["name"])) : t?.showPercent ? (I(), p("label", Dm, H(t.percent) + "%", 1)) : f("", !0),
|
|
19816
|
+
e.$slots.customLabel ? (I(), p("label", Om, [B(e.$slots, "customLabel")])) : f("", !0)
|
|
19780
19817
|
]));
|
|
19781
19818
|
}
|
|
19782
|
-
}),
|
|
19819
|
+
}), Am = { class: "line-wrapper" }, jm = { key: 1 }, Mm = { key: 2 }, Nm = {
|
|
19783
19820
|
key: 1,
|
|
19784
19821
|
class: "ma-progress-line"
|
|
19785
|
-
},
|
|
19822
|
+
}, Pm = { class: "line-wrapper" }, Fm = { key: 1 }, Im = { key: 2 }, Lm = /* @__PURE__ */ y({
|
|
19786
19823
|
__name: "line",
|
|
19787
19824
|
props: {
|
|
19788
19825
|
percent: {},
|
|
@@ -19806,38 +19843,38 @@ var Ep = (e) => (t) => Tp({
|
|
|
19806
19843
|
}));
|
|
19807
19844
|
return (i, a) => t.showTooltip ? (I(), d(Qt, D({ key: 0 }, r.value, { class: "ma-progress-line" }), {
|
|
19808
19845
|
default: q(() => [
|
|
19809
|
-
m("div",
|
|
19846
|
+
m("div", Am, [m("div", {
|
|
19810
19847
|
class: "line",
|
|
19811
19848
|
style: j(n.value)
|
|
19812
19849
|
}, null, 4)]),
|
|
19813
19850
|
t.icon ? (I(), d(X, {
|
|
19814
19851
|
key: 0,
|
|
19815
19852
|
name: t.icon
|
|
19816
|
-
}, null, 8, ["name"])) : e.showPercent ? (I(), p("label",
|
|
19817
|
-
i.$slots.customLabel ? (I(), p("label",
|
|
19853
|
+
}, null, 8, ["name"])) : e.showPercent ? (I(), p("label", jm, H(t.percent) + "%", 1)) : f("", !0),
|
|
19854
|
+
i.$slots.customLabel ? (I(), p("label", Mm, [B(i.$slots, "customLabel")])) : f("", !0)
|
|
19818
19855
|
]),
|
|
19819
19856
|
_: 3
|
|
19820
|
-
}, 16)) : (I(), p("div",
|
|
19821
|
-
m("div",
|
|
19857
|
+
}, 16)) : (I(), p("div", Nm, [
|
|
19858
|
+
m("div", Pm, [m("div", {
|
|
19822
19859
|
class: "line",
|
|
19823
19860
|
style: j(n.value)
|
|
19824
19861
|
}, null, 4)]),
|
|
19825
19862
|
t.icon ? (I(), d(X, {
|
|
19826
19863
|
key: 0,
|
|
19827
19864
|
name: t.icon
|
|
19828
|
-
}, null, 8, ["name"])) : e.showPercent ? (I(), p("label",
|
|
19829
|
-
i.$slots.customLabel ? (I(), p("label",
|
|
19865
|
+
}, null, 8, ["name"])) : e.showPercent ? (I(), p("label", Fm, H(t.percent) + "%", 1)) : f("", !0),
|
|
19866
|
+
i.$slots.customLabel ? (I(), p("label", Im, [B(i.$slots, "customLabel")])) : f("", !0)
|
|
19830
19867
|
]));
|
|
19831
19868
|
}
|
|
19832
|
-
}),
|
|
19869
|
+
}), Rm = { class: "ma-progress-circle ma-progress-half-circle" }, zm = ["viewBox"], Bm = ["d", "stroke-width"], Vm = [
|
|
19833
19870
|
"d",
|
|
19834
19871
|
"stroke-width",
|
|
19835
19872
|
"stroke-dasharray",
|
|
19836
19873
|
"stroke-dashoffset"
|
|
19837
|
-
],
|
|
19874
|
+
], Hm = { key: 1 }, Um = {
|
|
19838
19875
|
key: 0,
|
|
19839
19876
|
class: "label"
|
|
19840
|
-
},
|
|
19877
|
+
}, Wm = { class: "percent" }, Gm = /* @__PURE__ */ y({
|
|
19841
19878
|
__name: "halfCircle",
|
|
19842
19879
|
props: {
|
|
19843
19880
|
percent: {},
|
|
@@ -19881,7 +19918,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
19881
19918
|
strokeWidth: 6
|
|
19882
19919
|
}
|
|
19883
19920
|
}, r = l(() => n[t.size]), i = l(() => r.value.strokeDashArray * (100 - t.percent) / 100);
|
|
19884
|
-
return (e, n) => (I(), p("div",
|
|
19921
|
+
return (e, n) => (I(), p("div", Rm, [(I(), p("svg", {
|
|
19885
19922
|
class: "circle",
|
|
19886
19923
|
viewBox: r.value.viewBox,
|
|
19887
19924
|
fill: "none",
|
|
@@ -19892,7 +19929,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
19892
19929
|
"stroke-linecap": "round",
|
|
19893
19930
|
"stroke-linejoin": "round",
|
|
19894
19931
|
class: "wrapper"
|
|
19895
|
-
}, null, 8,
|
|
19932
|
+
}, null, 8, Bm), t.percent > 0 ? (I(), p("path", {
|
|
19896
19933
|
key: 0,
|
|
19897
19934
|
d: r.value.path,
|
|
19898
19935
|
"stroke-width": r.value.strokeWidth,
|
|
@@ -19901,20 +19938,20 @@ var Ep = (e) => (t) => Tp({
|
|
|
19901
19938
|
"stroke-dasharray": r.value.strokeDashArray,
|
|
19902
19939
|
"stroke-dashoffset": i.value,
|
|
19903
19940
|
class: "percent"
|
|
19904
|
-
}, null, 8,
|
|
19941
|
+
}, null, 8, Vm)) : f("", !0)], 8, zm)), t?.icon ? (I(), d(X, {
|
|
19905
19942
|
key: 0,
|
|
19906
19943
|
name: t.icon
|
|
19907
|
-
}, null, 8, ["name"])) : (I(), p("label",
|
|
19944
|
+
}, 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
19945
|
}
|
|
19909
|
-
}),
|
|
19946
|
+
}), Km = { class: "ma-progress-circle" }, qm = ["viewBox"], Jm = ["d", "stroke-width"], Ym = [
|
|
19910
19947
|
"d",
|
|
19911
19948
|
"stroke-dasharray",
|
|
19912
19949
|
"stroke-dashoffset",
|
|
19913
19950
|
"stroke-width"
|
|
19914
|
-
],
|
|
19951
|
+
], Xm = { key: 1 }, Zm = {
|
|
19915
19952
|
key: 0,
|
|
19916
19953
|
class: "label"
|
|
19917
|
-
},
|
|
19954
|
+
}, Qm = { class: "percent" }, $m = /* @__PURE__ */ y({
|
|
19918
19955
|
__name: "circle",
|
|
19919
19956
|
props: {
|
|
19920
19957
|
percent: {},
|
|
@@ -19958,7 +19995,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
19958
19995
|
strokeWidth: 6
|
|
19959
19996
|
}
|
|
19960
19997
|
}, r = l(() => n[t.size]), i = l(() => r.value.strokeDashArray * (100 - t.percent) / 100);
|
|
19961
|
-
return (e, n) => (I(), p("div",
|
|
19998
|
+
return (e, n) => (I(), p("div", Km, [(I(), p("svg", {
|
|
19962
19999
|
class: "circle",
|
|
19963
20000
|
viewBox: r.value.viewBox,
|
|
19964
20001
|
fill: "none",
|
|
@@ -19969,7 +20006,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
19969
20006
|
"stroke-linejoin": "round",
|
|
19970
20007
|
"stroke-width": r.value.strokeWidth,
|
|
19971
20008
|
class: "wrapper"
|
|
19972
|
-
}, null, 8,
|
|
20009
|
+
}, null, 8, Jm), t.percent > 0 ? (I(), p("path", {
|
|
19973
20010
|
key: 0,
|
|
19974
20011
|
d: r.value.path,
|
|
19975
20012
|
"stroke-linecap": "round",
|
|
@@ -19978,12 +20015,12 @@ var Ep = (e) => (t) => Tp({
|
|
|
19978
20015
|
"stroke-dashoffset": i.value,
|
|
19979
20016
|
"stroke-width": r.value.strokeWidth,
|
|
19980
20017
|
class: "percent"
|
|
19981
|
-
}, null, 8,
|
|
20018
|
+
}, null, 8, Ym)) : f("", !0)], 8, qm)), t?.icon ? (I(), d(X, {
|
|
19982
20019
|
key: 0,
|
|
19983
20020
|
name: t.icon
|
|
19984
|
-
}, null, 8, ["name"])) : (I(), p("label",
|
|
20021
|
+
}, 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
20022
|
}
|
|
19986
|
-
}),
|
|
20023
|
+
}), eh = /* @__PURE__ */ y({
|
|
19987
20024
|
__name: "index",
|
|
19988
20025
|
props: {
|
|
19989
20026
|
type: { default: "line" },
|
|
@@ -20011,10 +20048,10 @@ var Ep = (e) => (t) => Tp({
|
|
|
20011
20048
|
{ "xs-half-circle-label": t.type === "half-circle" && t?.label && t.circleSize === "xs" },
|
|
20012
20049
|
{ "percentage-left": t?.percentAlignment === "left" }
|
|
20013
20050
|
]), r = l(() => ({
|
|
20014
|
-
circle:
|
|
20015
|
-
line:
|
|
20016
|
-
"half-circle":
|
|
20017
|
-
"line-step":
|
|
20051
|
+
circle: $m,
|
|
20052
|
+
line: Lm,
|
|
20053
|
+
"half-circle": Gm,
|
|
20054
|
+
"line-step": km
|
|
20018
20055
|
})[t.type]), i = l(() => [`
|
|
20019
20056
|
color-${t.color}
|
|
20020
20057
|
size-${t.circleSize}
|
|
@@ -20042,7 +20079,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20042
20079
|
"tooltip-2-props"
|
|
20043
20080
|
]))], 2));
|
|
20044
20081
|
}
|
|
20045
|
-
}),
|
|
20082
|
+
}), th = ["button", "check"], nh = /* @__PURE__ */ y({
|
|
20046
20083
|
__name: "group",
|
|
20047
20084
|
props: {
|
|
20048
20085
|
prefixCls: {},
|
|
@@ -20067,7 +20104,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20067
20104
|
fn: q(() => [B(e.$slots, n)])
|
|
20068
20105
|
}))]), 1040));
|
|
20069
20106
|
}
|
|
20070
|
-
}),
|
|
20107
|
+
}), rh = { class: "ma-radio__suffix" }, ih = /* @__PURE__ */ y({
|
|
20071
20108
|
__name: "index",
|
|
20072
20109
|
props: {
|
|
20073
20110
|
text: {},
|
|
@@ -20112,19 +20149,19 @@ var Ep = (e) => (t) => Tp({
|
|
|
20112
20149
|
}, { "onUpdate:checked": i }), {
|
|
20113
20150
|
default: q(() => [B(e.$slots, "text", {}, () => [g(H(n.text), 1)])]),
|
|
20114
20151
|
hint: q(() => [B(e.$slots, "hint", {}, () => [g(H(n.hint), 1)])]),
|
|
20115
|
-
suffix: q(() => [m("div",
|
|
20152
|
+
suffix: q(() => [m("div", rh, [B(e.$slots, "suffix")])]),
|
|
20116
20153
|
_: 3
|
|
20117
20154
|
}, 16, ["hint"])], 6));
|
|
20118
20155
|
}
|
|
20119
|
-
}),
|
|
20156
|
+
}), ah = [
|
|
20120
20157
|
"small",
|
|
20121
20158
|
"medium",
|
|
20122
20159
|
"large"
|
|
20123
|
-
],
|
|
20160
|
+
], oh = [
|
|
20124
20161
|
"orange",
|
|
20125
20162
|
"green",
|
|
20126
20163
|
"red"
|
|
20127
|
-
],
|
|
20164
|
+
], sh = /* @__PURE__ */ y({
|
|
20128
20165
|
__name: "star",
|
|
20129
20166
|
props: {
|
|
20130
20167
|
value: {},
|
|
@@ -20146,7 +20183,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20146
20183
|
_: 1
|
|
20147
20184
|
}));
|
|
20148
20185
|
}
|
|
20149
|
-
}),
|
|
20186
|
+
}), ch = ["tabindex"], lh = ["onMousemove", "onMouseover"], uh = /* @__PURE__ */ y({
|
|
20150
20187
|
__name: "index",
|
|
20151
20188
|
props: {
|
|
20152
20189
|
value: {},
|
|
@@ -20203,7 +20240,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20203
20240
|
onMousemove: (t) => h(t, e),
|
|
20204
20241
|
onMouseover: (t) => d(e),
|
|
20205
20242
|
onClick: t[0] ||= (e) => u()
|
|
20206
|
-
}, [_(
|
|
20243
|
+
}, [_(sh, {
|
|
20207
20244
|
"star-rate": e,
|
|
20208
20245
|
value: a.value || (n.value ?? 0),
|
|
20209
20246
|
"icon-size": s.value
|
|
@@ -20211,15 +20248,15 @@ var Ep = (e) => (t) => Tp({
|
|
|
20211
20248
|
"star-rate",
|
|
20212
20249
|
"value",
|
|
20213
20250
|
"icon-size"
|
|
20214
|
-
])], 40,
|
|
20251
|
+
])], 40, lh)), 64))], 42, ch));
|
|
20215
20252
|
}
|
|
20216
|
-
}),
|
|
20253
|
+
}), dh = { class: "ak-result" }, fh = { class: "ak-result-wrapper" }, ph = {
|
|
20217
20254
|
key: 0,
|
|
20218
20255
|
class: "ak-result-title"
|
|
20219
|
-
},
|
|
20256
|
+
}, mh = {
|
|
20220
20257
|
key: 1,
|
|
20221
20258
|
class: "ak-result-subtitle"
|
|
20222
|
-
},
|
|
20259
|
+
}, hh = { class: "ak-result-extra" }, gh = /* @__PURE__ */ Kl(/* @__PURE__ */ y({
|
|
20223
20260
|
__name: "index",
|
|
20224
20261
|
props: {
|
|
20225
20262
|
status: { default: "success" },
|
|
@@ -20243,28 +20280,28 @@ var Ep = (e) => (t) => Tp({
|
|
|
20243
20280
|
function i() {
|
|
20244
20281
|
r.value = !1;
|
|
20245
20282
|
}
|
|
20246
|
-
return (e, r) => (I(), p("div",
|
|
20283
|
+
return (e, r) => (I(), p("div", dh, [m("div", fh, [
|
|
20247
20284
|
m("div", { class: k(`ak-result-${t.status}`) }, [m("div", null, [_(X, {
|
|
20248
20285
|
size: "lg",
|
|
20249
20286
|
name: n.value
|
|
20250
20287
|
}, null, 8, ["name"])])], 2),
|
|
20251
|
-
e.$slots.titleSlot ? f("", !0) : (I(), p("div",
|
|
20288
|
+
e.$slots.titleSlot ? f("", !0) : (I(), p("div", ph, H(t.title), 1)),
|
|
20252
20289
|
B(e.$slots, "titleSlot", { class: "ak-result-title" }, void 0, !0),
|
|
20253
|
-
e.$slots.subTitleSlot ? f("", !0) : (I(), p("div",
|
|
20290
|
+
e.$slots.subTitleSlot ? f("", !0) : (I(), p("div", mh, H(t.subTitle), 1)),
|
|
20254
20291
|
B(e.$slots, "subTiteSlot", { class: "ak-result-subtitle" }, void 0, !0),
|
|
20255
20292
|
t.closable ? (I(), p("button", {
|
|
20256
20293
|
key: 2,
|
|
20257
20294
|
class: "close-button",
|
|
20258
20295
|
onClick: i
|
|
20259
20296
|
}, [_(X, { name: "close" })])) : f("", !0),
|
|
20260
|
-
m("div",
|
|
20297
|
+
m("div", hh, [B(e.$slots, "default", {}, void 0, !0)])
|
|
20261
20298
|
])]));
|
|
20262
20299
|
}
|
|
20263
|
-
}), [["__scopeId", "data-v-2e49f22d"]]),
|
|
20300
|
+
}), [["__scopeId", "data-v-2e49f22d"]]), _h = [
|
|
20264
20301
|
"aria-disabled",
|
|
20265
20302
|
"title",
|
|
20266
20303
|
"data-option-value"
|
|
20267
|
-
],
|
|
20304
|
+
], vh = /* @__PURE__ */ y({
|
|
20268
20305
|
__name: "selectOption",
|
|
20269
20306
|
props: {
|
|
20270
20307
|
checkboxPosition: { default: "left" },
|
|
@@ -20322,16 +20359,16 @@ var Ep = (e) => (t) => Tp({
|
|
|
20322
20359
|
name: "check-line",
|
|
20323
20360
|
class: "ma-selected-icon"
|
|
20324
20361
|
})) : f("", !0)
|
|
20325
|
-
], 42,
|
|
20362
|
+
], 42, _h));
|
|
20326
20363
|
}
|
|
20327
|
-
}),
|
|
20364
|
+
}), yh = { class: "ma-select-option-group" }, bh = { class: "ma-select-option-group__label" }, xh = { class: "ma-select-option-group__options" }, Sh = /* @__PURE__ */ y({
|
|
20328
20365
|
__name: "selectOptionGroup",
|
|
20329
20366
|
props: { label: {} },
|
|
20330
20367
|
setup(e) {
|
|
20331
20368
|
let t = e;
|
|
20332
|
-
return (e, n) => (I(), p("div",
|
|
20369
|
+
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
20370
|
}
|
|
20334
|
-
}),
|
|
20371
|
+
}), Ch = /* @__PURE__ */ y({
|
|
20335
20372
|
__name: "option",
|
|
20336
20373
|
setup(e) {
|
|
20337
20374
|
return (e, t) => (I(), d(U(Ke), D(e.$attrs, {
|
|
@@ -20342,7 +20379,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20342
20379
|
fn: q(() => [B(e.$slots, n)])
|
|
20343
20380
|
}))]), 1040));
|
|
20344
20381
|
}
|
|
20345
|
-
}),
|
|
20382
|
+
}), wh = ["small", "medium"], Th = { key: 1 }, Eh = /* @__PURE__ */ y({
|
|
20346
20383
|
name: "MaSideMenuButton2",
|
|
20347
20384
|
__name: "index",
|
|
20348
20385
|
props: {
|
|
@@ -20378,7 +20415,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20378
20415
|
}, null, 8, ["size", "name"]), [[me, c.value]]), J(_(X, {
|
|
20379
20416
|
size: s.value,
|
|
20380
20417
|
name: t.icon
|
|
20381
|
-
}, null, 8, ["size", "name"]), [[me, !c.value]])], 64)) : f("", !0), t.text ? (I(), p("span",
|
|
20418
|
+
}, 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
20419
|
_: 3
|
|
20383
20420
|
}, 16, [
|
|
20384
20421
|
"target",
|
|
@@ -20386,7 +20423,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20386
20423
|
"href"
|
|
20387
20424
|
]));
|
|
20388
20425
|
}
|
|
20389
|
-
}),
|
|
20426
|
+
}), Dh = /* @__PURE__ */ y({
|
|
20390
20427
|
name: "MaSideMenuItem2",
|
|
20391
20428
|
__name: "index",
|
|
20392
20429
|
props: {
|
|
@@ -20422,7 +20459,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20422
20459
|
"data-badge"
|
|
20423
20460
|
]));
|
|
20424
20461
|
}
|
|
20425
|
-
}),
|
|
20462
|
+
}), Oh = /* @__PURE__ */ y({
|
|
20426
20463
|
name: "MaSideMenuAddNewAppButton",
|
|
20427
20464
|
__name: "index",
|
|
20428
20465
|
props: {
|
|
@@ -20450,7 +20487,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20450
20487
|
"disabled"
|
|
20451
20488
|
]));
|
|
20452
20489
|
}
|
|
20453
|
-
}),
|
|
20490
|
+
}), kh = ["src", "alt"], Ah = /* @__PURE__ */ y({
|
|
20454
20491
|
name: "MaSideMenuAppButton",
|
|
20455
20492
|
inheritAttrs: !1,
|
|
20456
20493
|
__name: "index",
|
|
@@ -20477,11 +20514,11 @@ var Ep = (e) => (t) => Tp({
|
|
|
20477
20514
|
}, t.$attrs), [m("img", {
|
|
20478
20515
|
src: e.appImage,
|
|
20479
20516
|
alt: e.appName
|
|
20480
|
-
}, null, 8,
|
|
20517
|
+
}, null, 8, kh), B(t.$slots, "default")], 16)]),
|
|
20481
20518
|
_: 3
|
|
20482
20519
|
}, 8, ["title"]));
|
|
20483
20520
|
}
|
|
20484
|
-
}),
|
|
20521
|
+
}), jh = [
|
|
20485
20522
|
"dark",
|
|
20486
20523
|
"blue",
|
|
20487
20524
|
"jordy-blue",
|
|
@@ -20490,10 +20527,10 @@ var Ep = (e) => (t) => Tp({
|
|
|
20490
20527
|
"red",
|
|
20491
20528
|
"purple",
|
|
20492
20529
|
"purple-light"
|
|
20493
|
-
],
|
|
20530
|
+
], Mh = {
|
|
20494
20531
|
key: 0,
|
|
20495
20532
|
class: "ma-side-menu-item-icon"
|
|
20496
|
-
},
|
|
20533
|
+
}, Nh = /* @__PURE__ */ y({
|
|
20497
20534
|
name: "MaSideMenuItem",
|
|
20498
20535
|
__name: "index",
|
|
20499
20536
|
props: {
|
|
@@ -20527,7 +20564,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20527
20564
|
href: t?.href
|
|
20528
20565
|
}, a.$attrs), {
|
|
20529
20566
|
default: q(() => [m("span", null, [
|
|
20530
|
-
t?.icon ? (I(), p("div",
|
|
20567
|
+
t?.icon ? (I(), p("div", Mh, [J(_(X, {
|
|
20531
20568
|
size: "xs",
|
|
20532
20569
|
name: i.value
|
|
20533
20570
|
}, null, 8, ["name"]), [[me, t.active]]), J(_(X, {
|
|
@@ -20552,7 +20589,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20552
20589
|
"href"
|
|
20553
20590
|
]));
|
|
20554
20591
|
}
|
|
20555
|
-
}),
|
|
20592
|
+
}), Ph = /* @__PURE__ */ y({
|
|
20556
20593
|
name: "MaSideMenuButton",
|
|
20557
20594
|
__name: "index",
|
|
20558
20595
|
props: {
|
|
@@ -20591,7 +20628,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20591
20628
|
"href"
|
|
20592
20629
|
]));
|
|
20593
20630
|
}
|
|
20594
|
-
}),
|
|
20631
|
+
}), Fh = /* @__PURE__ */ y({
|
|
20595
20632
|
name: "MaSideMenuIconButton",
|
|
20596
20633
|
inheritAttrs: !1,
|
|
20597
20634
|
__name: "index",
|
|
@@ -20671,7 +20708,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20671
20708
|
"target"
|
|
20672
20709
|
]));
|
|
20673
20710
|
}
|
|
20674
|
-
}),
|
|
20711
|
+
}), Ih = /* @__PURE__ */ y({
|
|
20675
20712
|
name: "MaSideMenuRoundIconButton",
|
|
20676
20713
|
inheritAttrs: !1,
|
|
20677
20714
|
__name: "index",
|
|
@@ -20686,7 +20723,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20686
20723
|
name: t.icon
|
|
20687
20724
|
}, null, 8, ["name"]), B(e.$slots, "default")], 16));
|
|
20688
20725
|
}
|
|
20689
|
-
}),
|
|
20726
|
+
}), Lh = /* @__PURE__ */ y({
|
|
20690
20727
|
name: "MaSlider",
|
|
20691
20728
|
__name: "index",
|
|
20692
20729
|
props: {
|
|
@@ -20773,16 +20810,16 @@ var Ep = (e) => (t) => Tp({
|
|
|
20773
20810
|
"tooltip-placement"
|
|
20774
20811
|
]));
|
|
20775
20812
|
}
|
|
20776
|
-
}),
|
|
20813
|
+
}), Rh = ["data-size"], zh = {
|
|
20777
20814
|
key: 0,
|
|
20778
20815
|
class: "ma-spin__overlay"
|
|
20779
|
-
},
|
|
20816
|
+
}, Bh = {
|
|
20780
20817
|
key: 0,
|
|
20781
20818
|
class: "custom-indicator"
|
|
20782
|
-
},
|
|
20819
|
+
}, Vh = {
|
|
20783
20820
|
key: 2,
|
|
20784
20821
|
class: "tip"
|
|
20785
|
-
},
|
|
20822
|
+
}, Hh = /* @__PURE__ */ y({
|
|
20786
20823
|
name: "MaSpin",
|
|
20787
20824
|
__name: "index",
|
|
20788
20825
|
props: {
|
|
@@ -20800,46 +20837,46 @@ var Ep = (e) => (t) => Tp({
|
|
|
20800
20837
|
return (e, n) => (I(), p("div", D({
|
|
20801
20838
|
class: r.value,
|
|
20802
20839
|
"data-size": t.size
|
|
20803
|
-
}, e.$attrs), [t.spinning ? (I(), p("div",
|
|
20804
|
-
e.$slots.indicator ? (I(), p("div",
|
|
20840
|
+
}, e.$attrs), [t.spinning ? (I(), p("div", zh, [
|
|
20841
|
+
e.$slots.indicator ? (I(), p("div", Bh, [B(e.$slots, "indicator")])) : f("", !0),
|
|
20805
20842
|
t.spinning && !e.$slots.indicator ? (I(), d(X, {
|
|
20806
20843
|
key: 1,
|
|
20807
20844
|
class: k(i.value),
|
|
20808
20845
|
name: a.value
|
|
20809
20846
|
}, null, 8, ["class", "name"])) : f("", !0),
|
|
20810
|
-
e.$slots?.tip || t?.tip ? (I(), p("div",
|
|
20811
|
-
])) : f("", !0), B(e.$slots, "default")], 16,
|
|
20847
|
+
e.$slots?.tip || t?.tip ? (I(), p("div", Vh, [g(H(t?.tip) + " ", 1), B(e.$slots, "tip")])) : f("", !0)
|
|
20848
|
+
])) : f("", !0), B(e.$slots, "default")], 16, Rh));
|
|
20812
20849
|
}
|
|
20813
|
-
}),
|
|
20850
|
+
}), Uh = [
|
|
20814
20851
|
"round",
|
|
20815
20852
|
"dots",
|
|
20816
20853
|
"three-circles",
|
|
20817
20854
|
"three-dots"
|
|
20818
|
-
],
|
|
20855
|
+
], Wh = [
|
|
20819
20856
|
"dark",
|
|
20820
20857
|
"jordy",
|
|
20821
20858
|
"blue",
|
|
20822
20859
|
"orange",
|
|
20823
20860
|
"grey"
|
|
20824
|
-
],
|
|
20861
|
+
], Gh = [
|
|
20825
20862
|
"xs",
|
|
20826
20863
|
"sm",
|
|
20827
20864
|
"md",
|
|
20828
20865
|
"lg",
|
|
20829
20866
|
"xl"
|
|
20830
|
-
],
|
|
20867
|
+
], Kh = { class: "ak-step__dot" }, qh = {
|
|
20831
20868
|
key: 1,
|
|
20832
20869
|
class: "step-number"
|
|
20833
|
-
},
|
|
20870
|
+
}, Jh = {
|
|
20834
20871
|
key: 0,
|
|
20835
20872
|
class: "title-wrapper"
|
|
20836
|
-
},
|
|
20873
|
+
}, Yh = { class: "ak-step__title" }, Xh = { class: "ak-step__description" }, Zh = { class: "ak-step__description-list" }, Qh = {
|
|
20837
20874
|
key: 0,
|
|
20838
20875
|
class: "title-wrapper"
|
|
20839
|
-
},
|
|
20876
|
+
}, $h = { class: "ak-step__title" }, eg = {
|
|
20840
20877
|
key: 0,
|
|
20841
20878
|
class: "ak-step__description"
|
|
20842
|
-
},
|
|
20879
|
+
}, tg = /* @__PURE__ */ y({
|
|
20843
20880
|
__name: "index",
|
|
20844
20881
|
props: {
|
|
20845
20882
|
title: {},
|
|
@@ -20864,16 +20901,16 @@ var Ep = (e) => (t) => Tp({
|
|
|
20864
20901
|
ref: a,
|
|
20865
20902
|
class: k(h.value),
|
|
20866
20903
|
onClick: _
|
|
20867
|
-
}, [m("div",
|
|
20904
|
+
}, [m("div", Kh, [c.value ? (I(), d(U(X), {
|
|
20868
20905
|
key: 0,
|
|
20869
20906
|
name: "tick"
|
|
20870
|
-
})) : (I(), p("span",
|
|
20871
|
-
m("h3",
|
|
20907
|
+
})) : (I(), p("span", qh, H(o.value + 1), 1))]), u.value && (t?.title || e.$slots.title) ? (I(), p("div", Jh, [
|
|
20908
|
+
m("h3", Yh, [B(e.$slots, "title"), g(" " + H(t?.title), 1)]),
|
|
20872
20909
|
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",
|
|
20910
|
+
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))])])
|
|
20911
|
+
])) : (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
20912
|
}
|
|
20876
|
-
}),
|
|
20913
|
+
}), ng = ["data-readonly"], rg = /* @__PURE__ */ y({
|
|
20877
20914
|
name: "MaSteps",
|
|
20878
20915
|
__name: "index",
|
|
20879
20916
|
props: {
|
|
@@ -20913,21 +20950,21 @@ var Ep = (e) => (t) => Tp({
|
|
|
20913
20950
|
ref: a,
|
|
20914
20951
|
class: k(o.value),
|
|
20915
20952
|
"data-readonly": e.readonly
|
|
20916
|
-
}, [B(t.$slots, "default")], 10,
|
|
20953
|
+
}, [B(t.$slots, "default")], 10, ng));
|
|
20917
20954
|
}
|
|
20918
|
-
}),
|
|
20955
|
+
}), ig = { class: "ak-step-item__dot" }, ag = {
|
|
20919
20956
|
key: 0,
|
|
20920
20957
|
class: "step-number"
|
|
20921
|
-
},
|
|
20958
|
+
}, og = {
|
|
20922
20959
|
key: 1,
|
|
20923
20960
|
class: "step-number"
|
|
20924
|
-
},
|
|
20961
|
+
}, sg = { class: "title-wrapper" }, cg = {
|
|
20925
20962
|
key: 0,
|
|
20926
20963
|
class: "ak-step-item__title"
|
|
20927
|
-
},
|
|
20964
|
+
}, lg = {
|
|
20928
20965
|
key: 1,
|
|
20929
20966
|
class: "ak-step-item__description"
|
|
20930
|
-
},
|
|
20967
|
+
}, ug = /* @__PURE__ */ y({
|
|
20931
20968
|
__name: "index",
|
|
20932
20969
|
props: {
|
|
20933
20970
|
title: {},
|
|
@@ -20973,17 +21010,17 @@ var Ep = (e) => (t) => Tp({
|
|
|
20973
21010
|
ref: a,
|
|
20974
21011
|
class: k(_.value),
|
|
20975
21012
|
onClick: v
|
|
20976
|
-
}, [m("div",
|
|
21013
|
+
}, [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
21014
|
B(e.$slots, "title"),
|
|
20978
21015
|
g(" " + H(t?.title) + " ", 1),
|
|
20979
21016
|
B(e.$slots, "titleSlot")
|
|
20980
|
-
])) : f("", !0), t?.description || e.$slots.description ? (I(), p("p",
|
|
21017
|
+
])) : f("", !0), t?.description || e.$slots.description ? (I(), p("p", lg, [
|
|
20981
21018
|
B(e.$slots, "description"),
|
|
20982
21019
|
g(" " + H(t?.description) + " ", 1),
|
|
20983
21020
|
B(e.$slots, "descriptionSlot")
|
|
20984
21021
|
])) : f("", !0)])], 2), B(e.$slots, "default")], 64));
|
|
20985
21022
|
}
|
|
20986
|
-
}),
|
|
21023
|
+
}), dg = /* @__PURE__ */ y({
|
|
20987
21024
|
name: "MaStepItems",
|
|
20988
21025
|
__name: "index",
|
|
20989
21026
|
props: { current: { default: 0 } },
|
|
@@ -20998,7 +21035,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
20998
21035
|
}
|
|
20999
21036
|
}), c = R((e) => {
|
|
21000
21037
|
s.value = e;
|
|
21001
|
-
}), u = l(() => i.default().filter((e) => e.type ===
|
|
21038
|
+
}), u = l(() => i.default().filter((e) => e.type === ug).length);
|
|
21002
21039
|
function d() {
|
|
21003
21040
|
a.value.querySelectorAll(".ak-step-item").forEach((e, t) => {
|
|
21004
21041
|
e.setAttribute("data-index", t.toString());
|
|
@@ -21014,10 +21051,10 @@ var Ep = (e) => (t) => Tp({
|
|
|
21014
21051
|
class: k(o.value)
|
|
21015
21052
|
}, [B(e.$slots, "default")], 2));
|
|
21016
21053
|
}
|
|
21017
|
-
}),
|
|
21054
|
+
}), fg = ["primary", "secondary"], pg = ["disabled"], mg = ["onClick"], hg = {
|
|
21018
21055
|
key: 1,
|
|
21019
21056
|
class: "text"
|
|
21020
|
-
},
|
|
21057
|
+
}, gg = /* @__PURE__ */ y({
|
|
21021
21058
|
name: "MaSwitch",
|
|
21022
21059
|
__name: "index",
|
|
21023
21060
|
props: {
|
|
@@ -21084,11 +21121,11 @@ var Ep = (e) => (t) => Tp({
|
|
|
21084
21121
|
key: 0,
|
|
21085
21122
|
size: "xs",
|
|
21086
21123
|
name: e.icon
|
|
21087
|
-
}, null, 8, ["name"])) : f("", !0), e?.label ? (I(), p("span",
|
|
21124
|
+
}, null, 8, ["name"])) : f("", !0), e?.label ? (I(), p("span", hg, [t.$slots.optionLabel ? B(t.$slots, "optionLabel", {
|
|
21088
21125
|
key: 0,
|
|
21089
21126
|
label: e?.label,
|
|
21090
21127
|
value: e.value
|
|
21091
|
-
}) : (I(), p(i, { key: 1 }, [g(H(e.label), 1)], 64))])) : f("", !0)], 10,
|
|
21128
|
+
}) : (I(), p(i, { key: 1 }, [g(H(e.label), 1)], 64))])) : f("", !0)], 10, mg))), 128)),
|
|
21092
21129
|
m("div", {
|
|
21093
21130
|
ref_key: "mask",
|
|
21094
21131
|
ref: a,
|
|
@@ -21101,17 +21138,17 @@ var Ep = (e) => (t) => Tp({
|
|
|
21101
21138
|
size: "xs",
|
|
21102
21139
|
class: "ma-loading-icon"
|
|
21103
21140
|
})) : f("", !0)
|
|
21104
|
-
], 16,
|
|
21141
|
+
], 16, pg));
|
|
21105
21142
|
}
|
|
21106
|
-
}),
|
|
21143
|
+
}), _g = ["horizontal", "vertical"], vg = [
|
|
21107
21144
|
"xxsmall",
|
|
21108
21145
|
"xsmall",
|
|
21109
21146
|
"small"
|
|
21110
|
-
],
|
|
21147
|
+
], yg = [
|
|
21111
21148
|
"rounded",
|
|
21112
21149
|
"rounded-dark",
|
|
21113
21150
|
"line"
|
|
21114
|
-
],
|
|
21151
|
+
], bg = ["small", "medium"], xg = ["left", "right"], Sg = ["disabled", "data-tab-key"], Cg = /* @__PURE__ */ y({
|
|
21115
21152
|
name: "MaTabButton",
|
|
21116
21153
|
__name: "tabButton",
|
|
21117
21154
|
props: {
|
|
@@ -21172,9 +21209,9 @@ var Ep = (e) => (t) => Tp({
|
|
|
21172
21209
|
default: q(() => [g(H(n.badgeText), 1)]),
|
|
21173
21210
|
_: 1
|
|
21174
21211
|
}, 8, ["type"])) : f("", !0)
|
|
21175
|
-
], 10,
|
|
21212
|
+
], 10, Sg));
|
|
21176
21213
|
}
|
|
21177
|
-
}),
|
|
21214
|
+
}), wg = /* @__PURE__ */ y({
|
|
21178
21215
|
name: "MaTabPane",
|
|
21179
21216
|
__name: "tabPane",
|
|
21180
21217
|
props: {
|
|
@@ -21193,25 +21230,25 @@ var Ep = (e) => (t) => Tp({
|
|
|
21193
21230
|
let t = e, n = C("activeKey", R(null)), r = l(() => !t.disabled && t.tabKey == n.value);
|
|
21194
21231
|
return (e, t) => r.value ? B(e.$slots, "default", { key: 0 }) : f("", !0);
|
|
21195
21232
|
}
|
|
21196
|
-
}),
|
|
21233
|
+
}), Tg = /* @__PURE__ */ n(((e, t) => {
|
|
21197
21234
|
var n = As();
|
|
21198
21235
|
function r(e, t, r) {
|
|
21199
21236
|
var i = e.length;
|
|
21200
21237
|
return r = r === void 0 ? i : r, !t && r >= i ? e : n(e, t, r);
|
|
21201
21238
|
}
|
|
21202
21239
|
t.exports = r;
|
|
21203
|
-
})),
|
|
21240
|
+
})), Eg = /* @__PURE__ */ n(((e, t) => {
|
|
21204
21241
|
var n = RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");
|
|
21205
21242
|
function r(e) {
|
|
21206
21243
|
return n.test(e);
|
|
21207
21244
|
}
|
|
21208
21245
|
t.exports = r;
|
|
21209
|
-
})),
|
|
21246
|
+
})), Dg = /* @__PURE__ */ n(((e, t) => {
|
|
21210
21247
|
function n(e) {
|
|
21211
21248
|
return e.split("");
|
|
21212
21249
|
}
|
|
21213
21250
|
t.exports = n;
|
|
21214
|
-
})),
|
|
21251
|
+
})), Og = /* @__PURE__ */ n(((e, t) => {
|
|
21215
21252
|
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
21253
|
l,
|
|
21217
21254
|
u,
|
|
@@ -21227,14 +21264,14 @@ var Ep = (e) => (t) => Tp({
|
|
|
21227
21264
|
return e.match(v) || [];
|
|
21228
21265
|
}
|
|
21229
21266
|
t.exports = y;
|
|
21230
|
-
})),
|
|
21231
|
-
var n =
|
|
21267
|
+
})), kg = /* @__PURE__ */ n(((e, t) => {
|
|
21268
|
+
var n = Dg(), r = Eg(), i = Og();
|
|
21232
21269
|
function a(e) {
|
|
21233
21270
|
return r(e) ? i(e) : n(e);
|
|
21234
21271
|
}
|
|
21235
21272
|
t.exports = a;
|
|
21236
|
-
})),
|
|
21237
|
-
var n =
|
|
21273
|
+
})), Ag = /* @__PURE__ */ n(((e, t) => {
|
|
21274
|
+
var n = Tg(), r = Eg(), i = kg(), a = Ts();
|
|
21238
21275
|
function o(e) {
|
|
21239
21276
|
return function(t) {
|
|
21240
21277
|
t = a(t);
|
|
@@ -21243,23 +21280,23 @@ var Ep = (e) => (t) => Tp({
|
|
|
21243
21280
|
};
|
|
21244
21281
|
}
|
|
21245
21282
|
t.exports = o;
|
|
21246
|
-
})),
|
|
21247
|
-
t.exports =
|
|
21248
|
-
})),
|
|
21249
|
-
var n = Ts(), r =
|
|
21283
|
+
})), jg = /* @__PURE__ */ n(((e, t) => {
|
|
21284
|
+
t.exports = Ag()("toUpperCase");
|
|
21285
|
+
})), Mg = /* @__PURE__ */ n(((e, t) => {
|
|
21286
|
+
var n = Ts(), r = jg();
|
|
21250
21287
|
function i(e) {
|
|
21251
21288
|
return r(n(e).toLowerCase());
|
|
21252
21289
|
}
|
|
21253
21290
|
t.exports = i;
|
|
21254
|
-
})),
|
|
21255
|
-
var n =
|
|
21256
|
-
t.exports =
|
|
21291
|
+
})), Ng = /* @__PURE__ */ t((/* @__PURE__ */ n(((e, t) => {
|
|
21292
|
+
var n = Mg();
|
|
21293
|
+
t.exports = lp()(function(e, t, r) {
|
|
21257
21294
|
return t = t.toLowerCase(), e + (r ? n(t) : t);
|
|
21258
21295
|
});
|
|
21259
|
-
})))(), 1),
|
|
21296
|
+
})))(), 1), Pg = { class: "ma-tabs-nav" }, Fg = {
|
|
21260
21297
|
key: 0,
|
|
21261
21298
|
class: "ma-tabs-content"
|
|
21262
|
-
},
|
|
21299
|
+
}, Ig = /* @__PURE__ */ y({
|
|
21263
21300
|
__name: "index",
|
|
21264
21301
|
props: {
|
|
21265
21302
|
type: { default: "line" },
|
|
@@ -21280,12 +21317,12 @@ var Ep = (e) => (t) => Tp({
|
|
|
21280
21317
|
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
21318
|
let t = e.props || {};
|
|
21282
21319
|
return {
|
|
21283
|
-
props: Object.keys(t).reduce((e, n) => (e[(0,
|
|
21320
|
+
props: Object.keys(t).reduce((e, n) => (e[(0, Ng.default)(n)] = t[n], e), {}),
|
|
21284
21321
|
slots: e.children
|
|
21285
21322
|
};
|
|
21286
21323
|
});
|
|
21287
21324
|
}), L("activeKey", c), (e, t) => (I(), p("div", { class: k(u.value) }, [_(U(Qo), { "always-show-buttons": n.alwaysShowScrollerButtons }, {
|
|
21288
|
-
default: q(() => [m("div",
|
|
21325
|
+
default: q(() => [m("div", Pg, [(I(!0), p(i, null, z(o.value, (e) => (I(), d(Cg, D({ ref_for: !0 }, e.props, {
|
|
21289
21326
|
key: e.props.tabKey,
|
|
21290
21327
|
"is-active": n.activeKey == e.props.tabKey,
|
|
21291
21328
|
type: n.type,
|
|
@@ -21301,14 +21338,14 @@ var Ep = (e) => (t) => Tp({
|
|
|
21301
21338
|
"size"
|
|
21302
21339
|
]))), 128))])]),
|
|
21303
21340
|
_: 1
|
|
21304
|
-
}, 8, ["always-show-buttons"]), s.value ? (I(), p("div",
|
|
21341
|
+
}, 8, ["always-show-buttons"]), s.value ? (I(), p("div", Fg, [B(e.$slots, "default")])) : f("", !0)], 2));
|
|
21305
21342
|
}
|
|
21306
|
-
}),
|
|
21343
|
+
}), Lg = [
|
|
21307
21344
|
"left",
|
|
21308
21345
|
"right",
|
|
21309
21346
|
"top",
|
|
21310
21347
|
"bottom"
|
|
21311
|
-
],
|
|
21348
|
+
], Rg = ["card", "line"], zg = ["left", "right"], Bg = /* @__PURE__ */ y({
|
|
21312
21349
|
__name: "tabPane",
|
|
21313
21350
|
setup(e) {
|
|
21314
21351
|
return (e, t) => (I(), d(U(Ye), D({ tab: "test" }, e.$attrs), h({ _: 2 }, [z(e.$slots, (t, n) => ({
|
|
@@ -21316,7 +21353,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
21316
21353
|
fn: q(() => [B(e.$slots, n)])
|
|
21317
21354
|
}))]), 1040));
|
|
21318
21355
|
}
|
|
21319
|
-
}),
|
|
21356
|
+
}), Vg = /* @__PURE__ */ y({
|
|
21320
21357
|
name: "MaTabs",
|
|
21321
21358
|
__name: "index",
|
|
21322
21359
|
props: {
|
|
@@ -21371,17 +21408,17 @@ var Ep = (e) => (t) => Tp({
|
|
|
21371
21408
|
"type"
|
|
21372
21409
|
]));
|
|
21373
21410
|
}
|
|
21374
|
-
}),
|
|
21411
|
+
}), Hg = {
|
|
21375
21412
|
key: 0,
|
|
21376
21413
|
class: "ma-tag-input-prefix"
|
|
21377
|
-
},
|
|
21414
|
+
}, Ug = { class: "ma-tag-wrapper" }, Wg = [
|
|
21378
21415
|
"disabled",
|
|
21379
21416
|
"placeholder",
|
|
21380
21417
|
"maxlength"
|
|
21381
|
-
],
|
|
21418
|
+
], Gg = {
|
|
21382
21419
|
key: 1,
|
|
21383
21420
|
class: "ma-tag-input-suffix"
|
|
21384
|
-
},
|
|
21421
|
+
}, Kg = /* @__PURE__ */ y({
|
|
21385
21422
|
name: "MaTagInput",
|
|
21386
21423
|
__name: "index",
|
|
21387
21424
|
props: {
|
|
@@ -21453,12 +21490,12 @@ var Ep = (e) => (t) => Tp({
|
|
|
21453
21490
|
class: k(g.value),
|
|
21454
21491
|
onClick: w
|
|
21455
21492
|
}, [
|
|
21456
|
-
u.value ? (I(), p("div",
|
|
21493
|
+
u.value ? (I(), p("div", Hg, [B(t.$slots, "prefix"), n.prefixIcon ? (I(), d(U(X), {
|
|
21457
21494
|
key: 0,
|
|
21458
21495
|
size: "xs",
|
|
21459
21496
|
name: n.prefixIcon
|
|
21460
21497
|
}, null, 8, ["name"])) : f("", !0)])) : f("", !0),
|
|
21461
|
-
m("div",
|
|
21498
|
+
m("div", Ug, [(I(!0), p(i, null, z(e.tags, (e) => (I(), p("span", {
|
|
21462
21499
|
key: e,
|
|
21463
21500
|
class: "single-tag"
|
|
21464
21501
|
}, [m("span", null, H(e), 1), _(U(X), {
|
|
@@ -21477,19 +21514,19 @@ var Ep = (e) => (t) => Tp({
|
|
|
21477
21514
|
maxlength: n?.tagCharLimit,
|
|
21478
21515
|
onKeydown: x,
|
|
21479
21516
|
onPaste: T
|
|
21480
|
-
}, null, 40,
|
|
21481
|
-
h.value ? (I(), p("div",
|
|
21517
|
+
}, null, 40, Wg), [[pe, o.value]])], 4)]),
|
|
21518
|
+
h.value ? (I(), p("div", Gg, [B(t.$slots, "suffix"), n.suffixIcon ? (I(), d(U(X), {
|
|
21482
21519
|
key: 0,
|
|
21483
21520
|
size: "xs",
|
|
21484
21521
|
name: n.suffixIcon
|
|
21485
21522
|
}, null, 8, ["name"])) : f("", !0)])) : f("", !0)
|
|
21486
21523
|
], 2));
|
|
21487
21524
|
}
|
|
21488
|
-
}),
|
|
21525
|
+
}), qg = [
|
|
21489
21526
|
"small",
|
|
21490
21527
|
"default",
|
|
21491
21528
|
"large"
|
|
21492
|
-
],
|
|
21529
|
+
], Jg = ["primary", "secondary"], Yg = [
|
|
21493
21530
|
"top",
|
|
21494
21531
|
"left",
|
|
21495
21532
|
"right",
|
|
@@ -21502,15 +21539,15 @@ var Ep = (e) => (t) => Tp({
|
|
|
21502
21539
|
"leftBottom",
|
|
21503
21540
|
"rightTop",
|
|
21504
21541
|
"rightBottom"
|
|
21505
|
-
],
|
|
21542
|
+
], Xg = ["primary", "secondary"], Zg = [
|
|
21506
21543
|
"hover",
|
|
21507
21544
|
"focus",
|
|
21508
21545
|
"click",
|
|
21509
21546
|
"contextmenu"
|
|
21510
|
-
],
|
|
21547
|
+
], Qg = { class: "ak-tooltip-overlay__content" }, $g = { class: "ak-tooltip-overlay__content__title" }, e_ = {
|
|
21511
21548
|
key: 0,
|
|
21512
21549
|
class: "ak-tooltip-overlay__content__description"
|
|
21513
|
-
},
|
|
21550
|
+
}, t_ = /* @__PURE__ */ y({
|
|
21514
21551
|
name: "MaTooltip",
|
|
21515
21552
|
__name: "index",
|
|
21516
21553
|
props: {
|
|
@@ -21562,7 +21599,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
21562
21599
|
name: t.icon
|
|
21563
21600
|
}, null, 8, ["name"])) : f("", !0),
|
|
21564
21601
|
B(o.$slots, "icon"),
|
|
21565
|
-
m("div",
|
|
21602
|
+
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
21603
|
t.closable ? (I(), d(X, {
|
|
21567
21604
|
key: 1,
|
|
21568
21605
|
class: "ak-tooltip-overlay__close",
|
|
@@ -21583,7 +21620,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
21583
21620
|
"trigger"
|
|
21584
21621
|
]));
|
|
21585
21622
|
}
|
|
21586
|
-
}),
|
|
21623
|
+
}), n_ = ["disabled"], r_ = { class: "icon-wrapper" }, i_ = /* @__PURE__ */ y({
|
|
21587
21624
|
__name: "index",
|
|
21588
21625
|
props: {
|
|
21589
21626
|
size: { default: "sm" },
|
|
@@ -21624,7 +21661,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
21624
21661
|
default: q(() => [g(H(t.badgeText), 1)]),
|
|
21625
21662
|
_: 1
|
|
21626
21663
|
}, 8, ["variant"])) : f("", !0),
|
|
21627
|
-
m("span",
|
|
21664
|
+
m("span", r_, [_(U(X), {
|
|
21628
21665
|
spin: t?.loading,
|
|
21629
21666
|
name: r.value,
|
|
21630
21667
|
size: i.value
|
|
@@ -21633,23 +21670,23 @@ var Ep = (e) => (t) => Tp({
|
|
|
21633
21670
|
"name",
|
|
21634
21671
|
"size"
|
|
21635
21672
|
])])
|
|
21636
|
-
], 16,
|
|
21673
|
+
], 16, n_));
|
|
21637
21674
|
}
|
|
21638
|
-
}),
|
|
21675
|
+
}), a_ = [
|
|
21639
21676
|
"xs",
|
|
21640
21677
|
"sm",
|
|
21641
21678
|
"md",
|
|
21642
21679
|
"lg"
|
|
21643
|
-
],
|
|
21680
|
+
], o_ = {
|
|
21644
21681
|
key: 0,
|
|
21645
21682
|
class: "mr-2"
|
|
21646
|
-
},
|
|
21683
|
+
}, s_ = {
|
|
21647
21684
|
key: 1,
|
|
21648
21685
|
class: "mr-2 -mt-1"
|
|
21649
|
-
},
|
|
21686
|
+
}, c_ = { class: "flex items-center justify-between w-full" }, l_ = {
|
|
21650
21687
|
key: 0,
|
|
21651
21688
|
class: "ma-tree-list"
|
|
21652
|
-
},
|
|
21689
|
+
}, u_ = /* @__PURE__ */ y({
|
|
21653
21690
|
name: "MaTreeNode",
|
|
21654
21691
|
__name: "treeNode",
|
|
21655
21692
|
props: {
|
|
@@ -21705,12 +21742,12 @@ var Ep = (e) => (t) => Tp({
|
|
|
21705
21742
|
class: k(["ma-tree-node-content", h.value]),
|
|
21706
21743
|
onClick: n[2] ||= (t) => b(e.node)
|
|
21707
21744
|
}, [
|
|
21708
|
-
a.value ? (I(), p("div",
|
|
21745
|
+
a.value ? (I(), p("div", o_, [_(U(X), {
|
|
21709
21746
|
name: "chevron-down",
|
|
21710
21747
|
size: "xs",
|
|
21711
21748
|
class: k({ "-rotate-90": !o.value })
|
|
21712
21749
|
}, null, 8, ["class"])])) : f("", !0),
|
|
21713
|
-
e.isMultiple ? (I(), p("div",
|
|
21750
|
+
e.isMultiple ? (I(), p("div", s_, [_(U(Bo), {
|
|
21714
21751
|
checked: c.value,
|
|
21715
21752
|
indeterminate: v.value,
|
|
21716
21753
|
disabled: s.value,
|
|
@@ -21722,12 +21759,12 @@ var Ep = (e) => (t) => Tp({
|
|
|
21722
21759
|
"disabled"
|
|
21723
21760
|
])])) : f("", !0),
|
|
21724
21761
|
e.showIcon ? B(t.$slots, "icon", A(D({ key: 2 }, e.node))) : f("", !0),
|
|
21725
|
-
m("div",
|
|
21762
|
+
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
21763
|
key: 0,
|
|
21727
21764
|
name: "tick",
|
|
21728
21765
|
size: "sm"
|
|
21729
21766
|
})) : f("", !0)], 64))])
|
|
21730
|
-
], 2), o.value && a.value ? (I(), p("ul",
|
|
21767
|
+
], 2), o.value && a.value ? (I(), p("ul", l_, [(I(!0), p(i, null, z(e.node.options, (i, a) => (I(), d(l, {
|
|
21731
21768
|
key: `${a}-tree-node`,
|
|
21732
21769
|
"selected-value": e.selectedValue,
|
|
21733
21770
|
"expanded-keys": e.expandedKeys,
|
|
@@ -21774,10 +21811,10 @@ var Ep = (e) => (t) => Tp({
|
|
|
21774
21811
|
]))), 128)), B(t.$slots, "list-bottom-section", A(x(e.node)))])) : f("", !0)]);
|
|
21775
21812
|
};
|
|
21776
21813
|
}
|
|
21777
|
-
}),
|
|
21814
|
+
}), d_ = {
|
|
21778
21815
|
key: 1,
|
|
21779
21816
|
class: "ma-tree-list"
|
|
21780
|
-
},
|
|
21817
|
+
}, f_ = /* @__PURE__ */ y({
|
|
21781
21818
|
__name: "index",
|
|
21782
21819
|
props: {
|
|
21783
21820
|
value: {},
|
|
@@ -21872,7 +21909,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
21872
21909
|
checkNodeChange: b,
|
|
21873
21910
|
expandAll: S,
|
|
21874
21911
|
collapseAll: C
|
|
21875
|
-
}), (t, n) => (I(), p("div", { class: k(c.value) }, [h.value?.length ? (I(), p("ul",
|
|
21912
|
+
}), (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
21913
|
key: `node-${r}`,
|
|
21877
21914
|
node: n,
|
|
21878
21915
|
"selected-value": e.value,
|
|
@@ -21926,19 +21963,19 @@ var Ep = (e) => (t) => Tp({
|
|
|
21926
21963
|
"description"
|
|
21927
21964
|
]))], 2));
|
|
21928
21965
|
}
|
|
21929
|
-
}),
|
|
21966
|
+
}), p_ = ["single", "multiple"], m_ = [
|
|
21930
21967
|
"button",
|
|
21931
21968
|
"box",
|
|
21932
21969
|
"small-box"
|
|
21933
|
-
],
|
|
21970
|
+
], h_ = [
|
|
21934
21971
|
"xs",
|
|
21935
21972
|
"sm",
|
|
21936
21973
|
"md",
|
|
21937
21974
|
"lg",
|
|
21938
21975
|
"xl"
|
|
21939
|
-
],
|
|
21976
|
+
], g_ = /* @__PURE__ */ function(e) {
|
|
21940
21977
|
return e.error = "error", e.done = "done", e.uploading = "uploading", e;
|
|
21941
|
-
}({}),
|
|
21978
|
+
}({}), __ = [
|
|
21942
21979
|
"display-1",
|
|
21943
21980
|
"display-2",
|
|
21944
21981
|
"heading-1",
|
|
@@ -21953,7 +21990,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
21953
21990
|
"body-4",
|
|
21954
21991
|
"caption-1",
|
|
21955
21992
|
"caption-2"
|
|
21956
|
-
],
|
|
21993
|
+
], v_ = [
|
|
21957
21994
|
"div",
|
|
21958
21995
|
"p",
|
|
21959
21996
|
"h1",
|
|
@@ -21963,7 +22000,7 @@ var Ep = (e) => (t) => Tp({
|
|
|
21963
22000
|
"h5",
|
|
21964
22001
|
"h6",
|
|
21965
22002
|
"span"
|
|
21966
|
-
],
|
|
22003
|
+
], y_ = [
|
|
21967
22004
|
"light",
|
|
21968
22005
|
"regular",
|
|
21969
22006
|
"medium",
|
|
@@ -21972,14 +22009,14 @@ var Ep = (e) => (t) => Tp({
|
|
|
21972
22009
|
];
|
|
21973
22010
|
//#endregion
|
|
21974
22011
|
//#region src/components/upload/composables/file.ts
|
|
21975
|
-
function
|
|
22012
|
+
function b_(e) {
|
|
21976
22013
|
try {
|
|
21977
22014
|
return JSON.parse(e);
|
|
21978
22015
|
} catch {
|
|
21979
22016
|
return e;
|
|
21980
22017
|
}
|
|
21981
22018
|
}
|
|
21982
|
-
function
|
|
22019
|
+
function x_(e, t = {}, n = {}, r) {
|
|
21983
22020
|
let i = R(0);
|
|
21984
22021
|
return {
|
|
21985
22022
|
progress: i,
|
|
@@ -21992,16 +22029,16 @@ function y_(e, t = {}, n = {}, r) {
|
|
|
21992
22029
|
c.open("POST", e), Object.entries(t).forEach(([e, t]) => {
|
|
21993
22030
|
c.setRequestHeader(e, t);
|
|
21994
22031
|
}), c.upload.onprogress = (e) => {
|
|
21995
|
-
e.lengthComputable && (i.value = e.loaded / e.total * 100, o(
|
|
22032
|
+
e.lengthComputable && (i.value = e.loaded / e.total * 100, o(g_.uploading, i.value));
|
|
21996
22033
|
}, c.onload = () => {
|
|
21997
|
-
c.status >= 200 && c.status < 300 ? o(
|
|
22034
|
+
c.status >= 200 && c.status < 300 ? o(g_.done, i.value, b_(c.responseText)) : o(g_.error, i.value, b_(c.responseText));
|
|
21998
22035
|
}, c.onerror = () => {
|
|
21999
|
-
o(
|
|
22036
|
+
o(g_.error, i.value, b_(c.responseText));
|
|
22000
22037
|
}, c.send(s), a.cancelRequest = () => c.abort();
|
|
22001
22038
|
}
|
|
22002
22039
|
};
|
|
22003
22040
|
}
|
|
22004
|
-
function
|
|
22041
|
+
function S_(e) {
|
|
22005
22042
|
return e.includes("*") ? {
|
|
22006
22043
|
kind: "wildcard",
|
|
22007
22044
|
mainType: e.split("/")[0]
|
|
@@ -22013,9 +22050,9 @@ function b_(e) {
|
|
|
22013
22050
|
mimeType: e
|
|
22014
22051
|
};
|
|
22015
22052
|
}
|
|
22016
|
-
function
|
|
22053
|
+
function C_(e, t) {
|
|
22017
22054
|
if (!t) return !0;
|
|
22018
|
-
let n = t.split(",").map((e) =>
|
|
22055
|
+
let n = t.split(",").map((e) => S_(e.trim())), r = e.name.split(".").pop()?.toLowerCase() || "";
|
|
22019
22056
|
return n.some((t) => {
|
|
22020
22057
|
switch (t.kind) {
|
|
22021
22058
|
case "wildcard": return e.type.startsWith(t.mainType);
|
|
@@ -22027,10 +22064,10 @@ function x_(e, t) {
|
|
|
22027
22064
|
}
|
|
22028
22065
|
//#endregion
|
|
22029
22066
|
//#region src/components/upload/singleFile.vue?vue&type=script&setup=true&lang.ts
|
|
22030
|
-
var
|
|
22067
|
+
var w_ = { class: "single-file" }, T_ = { class: "icon-wrapper" }, E_ = { class: "single-file__detail" }, D_ = { class: "file-name" }, O_ = {
|
|
22031
22068
|
key: 0,
|
|
22032
22069
|
class: "file-size"
|
|
22033
|
-
},
|
|
22070
|
+
}, k_ = { class: "file-progress" }, A_ = { class: "single-file__actions" }, j_ = /* @__PURE__ */ y({
|
|
22034
22071
|
__name: "singleFile",
|
|
22035
22072
|
props: {
|
|
22036
22073
|
file: {},
|
|
@@ -22040,17 +22077,17 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22040
22077
|
emits: ["remove", "cancel"],
|
|
22041
22078
|
setup(e, { emit: t }) {
|
|
22042
22079
|
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",
|
|
22080
|
+
return (t, n) => (I(), p("div", w_, [
|
|
22081
|
+
m("div", T_, [_(X, { name: "document-bulk" })]),
|
|
22082
|
+
m("div", E_, [
|
|
22083
|
+
m("span", D_, H(e.file.file.name), 1),
|
|
22084
|
+
o.value ? (I(), p("span", O_, H(a.value), 1)) : f("", !0),
|
|
22085
|
+
m("span", k_, [m("span", {
|
|
22049
22086
|
class: "progress-item",
|
|
22050
22087
|
style: j({ width: `${e.file.progress}%` })
|
|
22051
22088
|
}, null, 4)])
|
|
22052
22089
|
]),
|
|
22053
|
-
m("div",
|
|
22090
|
+
m("div", A_, [e.file.status === U(g_).uploading ? (I(), d(Z, {
|
|
22054
22091
|
key: 0,
|
|
22055
22092
|
disabled: e.disabled,
|
|
22056
22093
|
variant: "ghost",
|
|
@@ -22068,23 +22105,23 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22068
22105
|
}, null, 8, ["disabled", "title"])), m("span", null, "%" + H(parseInt(e.file.progress.toString())), 1)])
|
|
22069
22106
|
]));
|
|
22070
22107
|
}
|
|
22071
|
-
}),
|
|
22108
|
+
}), M_ = [
|
|
22072
22109
|
"accept",
|
|
22073
22110
|
"multiple",
|
|
22074
22111
|
"disabled"
|
|
22075
|
-
],
|
|
22112
|
+
], N_ = { class: "text" }, P_ = { class: "upload-icon" }, F_ = {
|
|
22076
22113
|
key: 0,
|
|
22077
22114
|
class: "upload-title"
|
|
22078
|
-
},
|
|
22115
|
+
}, I_ = {
|
|
22079
22116
|
key: 1,
|
|
22080
22117
|
class: "upload-title"
|
|
22081
|
-
},
|
|
22118
|
+
}, L_ = {
|
|
22082
22119
|
key: 2,
|
|
22083
22120
|
class: "upload-description"
|
|
22084
|
-
},
|
|
22121
|
+
}, R_ = {
|
|
22085
22122
|
key: 3,
|
|
22086
22123
|
class: "upload-description"
|
|
22087
|
-
},
|
|
22124
|
+
}, z_ = /* @__PURE__ */ y({
|
|
22088
22125
|
__name: "index",
|
|
22089
22126
|
props: {
|
|
22090
22127
|
fileList: {},
|
|
@@ -22139,11 +22176,11 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22139
22176
|
},
|
|
22140
22177
|
set(e) {
|
|
22141
22178
|
r("update:fileList", e), r("change", e), n?.action && e.forEach(async (e, t) => {
|
|
22142
|
-
if ([
|
|
22143
|
-
let { upload: i } =
|
|
22179
|
+
if ([g_.done, g_.error].includes(e.status)) return;
|
|
22180
|
+
let { upload: i } = x_(n?.action || "", n.headers, n.data, n.name);
|
|
22144
22181
|
n?.beforeUpload && (e.file = await n.beforeUpload(e.file)), i(e, (n, i, a) => {
|
|
22145
22182
|
if (y.value[t]) {
|
|
22146
|
-
if (n ===
|
|
22183
|
+
if (n === g_.error) {
|
|
22147
22184
|
r("error", {
|
|
22148
22185
|
file: e.file,
|
|
22149
22186
|
message: a
|
|
@@ -22155,11 +22192,11 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22155
22192
|
});
|
|
22156
22193
|
});
|
|
22157
22194
|
}
|
|
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 ===
|
|
22195
|
+
}), 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
22196
|
`ma-upload ma-upload--${n.type} ma-upload--${n.type}--${n.size}`,
|
|
22160
22197
|
{ "ma-upload--active": c.value },
|
|
22161
22198
|
{ "ma-upload--disabled": w.value }
|
|
22162
|
-
]), E = l(() => ["ma-file-list", { "only-file-list": !x.value }]), O = l(() => zn[n?.size ?
|
|
22199
|
+
]), E = l(() => ["ma-file-list", { "only-file-list": !x.value }]), O = l(() => zn[n?.size ? h_.indexOf(n.size) : 0]);
|
|
22163
22200
|
function A(e) {
|
|
22164
22201
|
return Array.from(e).find((e) => n?.maxFileSize && e.size > n.maxFileSize);
|
|
22165
22202
|
}
|
|
@@ -22180,7 +22217,7 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22180
22217
|
c.value = !1;
|
|
22181
22218
|
}
|
|
22182
22219
|
function te(e) {
|
|
22183
|
-
w.value || e.dataTransfer?.files && ne(Array.from(e.dataTransfer.files).filter((e) => n?.accept && !
|
|
22220
|
+
w.value || e.dataTransfer?.files && ne(Array.from(e.dataTransfer.files).filter((e) => n?.accept && !C_(e, n.accept) ? (r("error", {
|
|
22184
22221
|
file: e,
|
|
22185
22222
|
message: a.config.locale.allowedFileTypesMessage
|
|
22186
22223
|
}), !1) : !0));
|
|
@@ -22197,7 +22234,7 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22197
22234
|
let i = Array.from(e).filter((e, t) => n?.maxCount ? t + 1 <= n.maxCount : !0).map((e) => ({
|
|
22198
22235
|
file: e,
|
|
22199
22236
|
id: crypto.randomUUID(),
|
|
22200
|
-
status: n?.action ?
|
|
22237
|
+
status: n?.action ? g_.uploading : g_.done,
|
|
22201
22238
|
progress: n?.action ? 0 : 100,
|
|
22202
22239
|
response: null
|
|
22203
22240
|
}));
|
|
@@ -22243,7 +22280,7 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22243
22280
|
multiple: n.multiple,
|
|
22244
22281
|
disabled: w.value,
|
|
22245
22282
|
onChange: j
|
|
22246
|
-
}, null, 40,
|
|
22283
|
+
}, null, 40, M_)), n.type === "button" ? (I(), d(Z, {
|
|
22247
22284
|
key: 0,
|
|
22248
22285
|
variant: e.fileList.length ? "filled" : "stroke",
|
|
22249
22286
|
"left-icon": "export-2",
|
|
@@ -22263,19 +22300,19 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22263
22300
|
key: 1,
|
|
22264
22301
|
class: "ma-upload__small_box",
|
|
22265
22302
|
onClick: M
|
|
22266
|
-
}, [S.value ? (I(), d(
|
|
22303
|
+
}, [S.value ? (I(), d(Hh, {
|
|
22267
22304
|
key: 0,
|
|
22268
22305
|
type: "three-circles",
|
|
22269
22306
|
color: "blue"
|
|
22270
22307
|
})) : (I(), d(X, {
|
|
22271
22308
|
key: 1,
|
|
22272
22309
|
name: "export-2-bulk"
|
|
22273
|
-
})), m("span",
|
|
22310
|
+
})), 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
22311
|
key: 2,
|
|
22275
22312
|
class: "ma-upload__box",
|
|
22276
22313
|
onClick: M
|
|
22277
22314
|
}, [n.ordered && S.value ? (I(), p(i, { key: 0 }, [
|
|
22278
|
-
_(
|
|
22315
|
+
_(Hh, {
|
|
22279
22316
|
type: "three-circles",
|
|
22280
22317
|
color: "blue"
|
|
22281
22318
|
}),
|
|
@@ -22289,13 +22326,13 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22289
22326
|
_: 1
|
|
22290
22327
|
})
|
|
22291
22328
|
], 64)) : (I(), p(i, { key: 1 }, [
|
|
22292
|
-
m("div",
|
|
22293
|
-
n?.title ? (I(), p("span",
|
|
22294
|
-
n?.description ? (I(), p("span",
|
|
22329
|
+
m("div", P_, [_(X, { name: "upload-bulk" })]),
|
|
22330
|
+
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")])),
|
|
22331
|
+
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
22332
|
], 64))]))], 34), [[me, x.value]]), C.value ? (I(), p("div", {
|
|
22296
22333
|
key: 0,
|
|
22297
22334
|
class: k(E.value)
|
|
22298
|
-
}, [(I(!0), p(i, null, z(y.value, (e, t) => (I(), d(
|
|
22335
|
+
}, [(I(!0), p(i, null, z(y.value, (e, t) => (I(), d(j_, {
|
|
22299
22336
|
key: t,
|
|
22300
22337
|
file: e,
|
|
22301
22338
|
disabled: n.disabled,
|
|
@@ -22308,7 +22345,7 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22308
22345
|
"onCancel"
|
|
22309
22346
|
]))), 128))], 2)) : f("", !0)], 16));
|
|
22310
22347
|
}
|
|
22311
|
-
}),
|
|
22348
|
+
}), B_ = /* @__PURE__ */ y({
|
|
22312
22349
|
__name: "button",
|
|
22313
22350
|
props: {
|
|
22314
22351
|
type: { default: "default" },
|
|
@@ -22380,7 +22417,7 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22380
22417
|
"disabled"
|
|
22381
22418
|
]));
|
|
22382
22419
|
}
|
|
22383
|
-
}),
|
|
22420
|
+
}), V_ = /* @__PURE__ */ y({
|
|
22384
22421
|
__name: "index",
|
|
22385
22422
|
props: {
|
|
22386
22423
|
type: { default: "default" },
|
|
@@ -22417,7 +22454,7 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22417
22454
|
placement: "bottom-start"
|
|
22418
22455
|
}, a.value), {
|
|
22419
22456
|
title: q(() => [B(e.$slots, "tooltip")]),
|
|
22420
|
-
default: q(() => [_(
|
|
22457
|
+
default: q(() => [_(B_, {
|
|
22421
22458
|
active: t.active,
|
|
22422
22459
|
size: t.size,
|
|
22423
22460
|
type: t.type,
|
|
@@ -22442,7 +22479,7 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22442
22479
|
"loading"
|
|
22443
22480
|
])]),
|
|
22444
22481
|
_: 3
|
|
22445
|
-
}, 16, ["overlay-class-name"])) : (I(), d(
|
|
22482
|
+
}, 16, ["overlay-class-name"])) : (I(), d(B_, {
|
|
22446
22483
|
key: 1,
|
|
22447
22484
|
active: t.active,
|
|
22448
22485
|
size: t.size,
|
|
@@ -22471,10 +22508,10 @@ var S_ = { class: "single-file" }, C_ = { class: "icon-wrapper" }, w_ = { class:
|
|
|
22471
22508
|
});
|
|
22472
22509
|
//#endregion
|
|
22473
22510
|
//#region src/components/chatbot/utils.ts
|
|
22474
|
-
function
|
|
22511
|
+
function H_() {
|
|
22475
22512
|
return crypto.randomUUID();
|
|
22476
22513
|
}
|
|
22477
|
-
function
|
|
22514
|
+
function U_(e) {
|
|
22478
22515
|
let t = e;
|
|
22479
22516
|
(t.match(/```/g) || []).length % 2 != 0 && (t += "\n```");
|
|
22480
22517
|
let n = t.split("\n"), r = n[n.length - 1];
|
|
@@ -22482,7 +22519,7 @@ function V_(e) {
|
|
|
22482
22519
|
}
|
|
22483
22520
|
//#endregion
|
|
22484
22521
|
//#region src/components/chatbot/composables/useMessages.ts
|
|
22485
|
-
function
|
|
22522
|
+
function W_({ maOrgId: e, mockStreamFn: t, api: n, onResponseStart: r, onResponseFinish: i }) {
|
|
22486
22523
|
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
22524
|
function x() {
|
|
22488
22525
|
h.value && (_ ||= requestAnimationFrame(() => {
|
|
@@ -22507,7 +22544,7 @@ function H_({ maOrgId: e, mockStreamFn: t, api: n, onResponseStart: r, onRespons
|
|
|
22507
22544
|
});
|
|
22508
22545
|
function C(e, t = !1) {
|
|
22509
22546
|
if (!e) return "";
|
|
22510
|
-
let n = t ?
|
|
22547
|
+
let n = t ? U_(e) : e;
|
|
22511
22548
|
return lt.sanitize(ct.parse(n, { async: !1 }));
|
|
22512
22549
|
}
|
|
22513
22550
|
function w(e) {
|
|
@@ -22518,7 +22555,7 @@ function H_({ maOrgId: e, mockStreamFn: t, api: n, onResponseStart: r, onRespons
|
|
|
22518
22555
|
}
|
|
22519
22556
|
function E(e, t = "") {
|
|
22520
22557
|
return {
|
|
22521
|
-
id:
|
|
22558
|
+
id: H_(),
|
|
22522
22559
|
role: e,
|
|
22523
22560
|
content: t,
|
|
22524
22561
|
timestamp: /* @__PURE__ */ new Date()
|
|
@@ -22597,11 +22634,11 @@ function H_({ maOrgId: e, mockStreamFn: t, api: n, onResponseStart: r, onRespons
|
|
|
22597
22634
|
}
|
|
22598
22635
|
//#endregion
|
|
22599
22636
|
//#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-${
|
|
22637
|
+
var G_ = Symbol.for("MaChatbot");
|
|
22638
|
+
function K_(e) {
|
|
22639
|
+
let t = R(!1), n = R(null), r = R(null), i = null, a = !1, o = R(`session-${H_()}`);
|
|
22603
22640
|
function s() {
|
|
22604
|
-
o.value = `session-${
|
|
22641
|
+
o.value = `session-${H_()}`;
|
|
22605
22642
|
}
|
|
22606
22643
|
function c() {
|
|
22607
22644
|
n.value = null, r.value = null;
|
|
@@ -22772,22 +22809,22 @@ function W_(e) {
|
|
|
22772
22809
|
resetSession: s
|
|
22773
22810
|
};
|
|
22774
22811
|
}
|
|
22775
|
-
function
|
|
22776
|
-
let t =
|
|
22812
|
+
function q_(e) {
|
|
22813
|
+
let t = K_(e);
|
|
22777
22814
|
return { install(e) {
|
|
22778
|
-
e.provide(
|
|
22815
|
+
e.provide(G_, t);
|
|
22779
22816
|
} };
|
|
22780
22817
|
}
|
|
22781
22818
|
//#endregion
|
|
22782
22819
|
//#region src/components/chatbot/composables/useMaChatbot.ts
|
|
22783
|
-
function
|
|
22784
|
-
let e = C(
|
|
22820
|
+
function J_() {
|
|
22821
|
+
let e = C(G_);
|
|
22785
22822
|
if (!e) throw Error("[MaChatbot] Plugin is not installed. Call app.use(createMaChatbot({ ... })) first.");
|
|
22786
22823
|
return e;
|
|
22787
22824
|
}
|
|
22788
22825
|
//#endregion
|
|
22789
22826
|
//#region src/components/chatbot/composables/useFeedback.ts
|
|
22790
|
-
function
|
|
22827
|
+
function Y_({ submitFeedbackApi: e }) {
|
|
22791
22828
|
let t = R(!1), n = R(null);
|
|
22792
22829
|
function r(r) {
|
|
22793
22830
|
if (!r.recordId) return;
|
|
@@ -22847,13 +22884,13 @@ function q_({ submitFeedbackApi: e }) {
|
|
|
22847
22884
|
}
|
|
22848
22885
|
//#endregion
|
|
22849
22886
|
//#region src/components/chatbot/components/MaChatbotPromptStarters.vue?vue&type=script&setup=true&lang.ts
|
|
22850
|
-
var
|
|
22887
|
+
var X_ = {
|
|
22851
22888
|
key: 0,
|
|
22852
22889
|
class: "ma-chatbot-prompt-starters"
|
|
22853
|
-
},
|
|
22890
|
+
}, Z_ = {
|
|
22854
22891
|
key: 1,
|
|
22855
22892
|
class: "ma-chatbot-prompt-starters__list"
|
|
22856
|
-
},
|
|
22893
|
+
}, Q_ = /* @__PURE__ */ y({
|
|
22857
22894
|
__name: "MaChatbotPromptStarters",
|
|
22858
22895
|
props: {
|
|
22859
22896
|
prompts: {},
|
|
@@ -22877,7 +22914,7 @@ var J_ = {
|
|
|
22877
22914
|
}
|
|
22878
22915
|
return K(() => n.initiallyOpen, (e) => {
|
|
22879
22916
|
o.value = e;
|
|
22880
|
-
}), (t, n) => e.prompts.length ? (I(), p("div",
|
|
22917
|
+
}), (t, n) => e.prompts.length ? (I(), p("div", X_, [o.value ? f("", !0) : (I(), d(Z, {
|
|
22881
22918
|
key: 0,
|
|
22882
22919
|
disabled: e.disabled,
|
|
22883
22920
|
class: "ma-chatbot-prompt-starters__btn",
|
|
@@ -22889,7 +22926,7 @@ var J_ = {
|
|
|
22889
22926
|
}, {
|
|
22890
22927
|
default: q(() => [g(H(U(a).config.locale.chatbot?.getPromptStarters), 1)]),
|
|
22891
22928
|
_: 1
|
|
22892
|
-
}, 8, ["disabled"])), o.value ? (I(), p("div",
|
|
22929
|
+
}, 8, ["disabled"])), o.value ? (I(), p("div", Z_, [(I(!0), p(i, null, z(e.prompts, (t) => (I(), d(Z, {
|
|
22893
22930
|
key: t,
|
|
22894
22931
|
disabled: e.disabled,
|
|
22895
22932
|
class: "ma-chatbot-prompt-starters__btn",
|
|
@@ -22910,27 +22947,27 @@ var J_ = {
|
|
|
22910
22947
|
_: 1
|
|
22911
22948
|
}, 8, ["disabled"])])) : f("", !0)])) : f("", !0);
|
|
22912
22949
|
}
|
|
22913
|
-
}),
|
|
22950
|
+
}), $_ = { class: "ma-chatbot__message-sender" }, ev = {
|
|
22914
22951
|
key: 0,
|
|
22915
22952
|
class: "ma-chatbot__message-time"
|
|
22916
|
-
},
|
|
22953
|
+
}, tv = {
|
|
22917
22954
|
key: 0,
|
|
22918
22955
|
class: "ma-chatbot__bubble ma-chatbot__bubble--user"
|
|
22919
|
-
},
|
|
22956
|
+
}, nv = {
|
|
22920
22957
|
key: 1,
|
|
22921
22958
|
class: "ma-chatbot__typing-wrapper",
|
|
22922
22959
|
"aria-label": "Assistant is typing"
|
|
22923
|
-
},
|
|
22960
|
+
}, rv = { class: "ma-chatbot__typing" }, iv = { class: "ma-chatbot__typing-dots" }, av = { class: "ma-chatbot__typing-info" }, ov = {
|
|
22924
22961
|
key: 2,
|
|
22925
22962
|
class: "ma-chatbot__reasoning",
|
|
22926
22963
|
"aria-label": "Assistant is thinking"
|
|
22927
|
-
},
|
|
22964
|
+
}, sv = { class: "ma-chatbot__reasoning-header" }, cv = { class: "ma-chatbot__reasoning-content" }, lv = {
|
|
22928
22965
|
key: 3,
|
|
22929
22966
|
class: "ma-chatbot__assistant-wrapper"
|
|
22930
|
-
},
|
|
22967
|
+
}, uv = { class: "ma-chatbot__error-text" }, dv = ["innerHTML"], fv = {
|
|
22931
22968
|
key: 2,
|
|
22932
22969
|
class: "ma-chatbot__feedback"
|
|
22933
|
-
},
|
|
22970
|
+
}, pv = { class: "ma-chatbot__feedback-text" }, mv = /* @__PURE__ */ y({
|
|
22934
22971
|
__name: "MaChatbotMessageBubble",
|
|
22935
22972
|
props: {
|
|
22936
22973
|
message: {},
|
|
@@ -22956,14 +22993,14 @@ var J_ = {
|
|
|
22956
22993
|
"ma-chatbot__error-bubble--error": e === "error"
|
|
22957
22994
|
};
|
|
22958
22995
|
});
|
|
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",
|
|
22996
|
+
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
22997
|
key: e,
|
|
22961
22998
|
class: "ma-chatbot__typing-dot"
|
|
22962
|
-
})), 64))])]), m("p",
|
|
22999
|
+
})), 64))])]), m("p", av, H(U(a).config.locale.chatbot?.typingInfoText), 1)])) : h.value ? (I(), p("output", ov, [m("div", sv, [_(X, {
|
|
22963
23000
|
name: "ai-sparkle",
|
|
22964
23001
|
size: "xs",
|
|
22965
23002
|
class: "ma-chatbot__reasoning-icon"
|
|
22966
|
-
}), m("span", null, H(U(a).config.locale.chatbot?.reasoningLabel), 1)]), m("div",
|
|
23003
|
+
}), 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
23004
|
key: 0,
|
|
22968
23005
|
class: k(["ma-chatbot__error-bubble", b.value]),
|
|
22969
23006
|
role: "alert"
|
|
@@ -22971,12 +23008,12 @@ var J_ = {
|
|
|
22971
23008
|
name: e.message.status === "timeout" ? "timer" : "info-circle-bold",
|
|
22972
23009
|
class: k(`ma-chatbot__error-icon--${y.value}`),
|
|
22973
23010
|
size: "sm"
|
|
22974
|
-
}, null, 8, ["name", "class"]), m("span",
|
|
23011
|
+
}, null, 8, ["name", "class"]), m("span", uv, H(e.errorMessage), 1)], 2)) : g.value ? (I(), p("div", {
|
|
22975
23012
|
key: 1,
|
|
22976
23013
|
class: k(["ma-chatbot__content--assistant ma-chatbot__markdown", { "is-streaming": e.isStreaming }]),
|
|
22977
23014
|
innerHTML: e.renderedHtml
|
|
22978
|
-
}, null, 10,
|
|
22979
|
-
m("span",
|
|
23015
|
+
}, null, 10, dv)) : f("", !0), v.value ? (I(), p("div", fv, [
|
|
23016
|
+
m("span", pv, H(U(a).config.locale.chatbot?.generatedByText), 1),
|
|
22980
23017
|
_(Z, {
|
|
22981
23018
|
icon: "like",
|
|
22982
23019
|
variant: e.message.feedback === !0 ? "filled" : "stroke",
|
|
@@ -22989,10 +23026,10 @@ var J_ = {
|
|
|
22989
23026
|
}, null, 8, ["variant"])
|
|
22990
23027
|
])) : f("", !0)])) : f("", !0)], 2));
|
|
22991
23028
|
}
|
|
22992
|
-
}),
|
|
23029
|
+
}), hv = { class: "ma-chatbot__input-wrapper" }, gv = { class: "ma-chatbot__input-container" }, _v = { class: "ma-chatbot__input-actions" }, vv = {
|
|
22993
23030
|
key: 0,
|
|
22994
23031
|
class: "ma-chatbot__char-limit-hint"
|
|
22995
|
-
},
|
|
23032
|
+
}, yv = /* @__PURE__ */ y({
|
|
22996
23033
|
__name: "MaChatbotInputArea",
|
|
22997
23034
|
props: /* @__PURE__ */ E({
|
|
22998
23035
|
placeholder: { default: void 0 },
|
|
@@ -23021,7 +23058,7 @@ var J_ = {
|
|
|
23021
23058
|
function h() {
|
|
23022
23059
|
r("stop");
|
|
23023
23060
|
}
|
|
23024
|
-
return (t, n) => (I(), p("div",
|
|
23061
|
+
return (t, n) => (I(), p("div", hv, [m("div", gv, [_(Qc, {
|
|
23025
23062
|
value: i.value,
|
|
23026
23063
|
type: "textarea",
|
|
23027
23064
|
"input-class": o.value ? "ma-chatbot__input-error" : "",
|
|
@@ -23044,7 +23081,7 @@ var J_ = {
|
|
|
23044
23081
|
"maxlength",
|
|
23045
23082
|
"has-error",
|
|
23046
23083
|
"onKeydown"
|
|
23047
|
-
]), m("div",
|
|
23084
|
+
]), m("div", _v, [e.isBusy ? (I(), d(Z, {
|
|
23048
23085
|
key: 0,
|
|
23049
23086
|
icon: "stop",
|
|
23050
23087
|
class: "ma-chatbot__btn ma-chatbot__btn--stop",
|
|
@@ -23056,12 +23093,12 @@ var J_ = {
|
|
|
23056
23093
|
icon: "arrow-up",
|
|
23057
23094
|
color: "blue",
|
|
23058
23095
|
onClick: u
|
|
23059
|
-
}, null, 8, ["disabled"]))])]), o.value ? (I(), p("div",
|
|
23096
|
+
}, null, 8, ["disabled"]))])]), o.value ? (I(), p("div", vv, [_(X, {
|
|
23060
23097
|
name: "info-circle-2-bold",
|
|
23061
23098
|
size: "sm"
|
|
23062
23099
|
}), g(" " + H(U(hc)(U(a).config.locale.chatbot?.charLimitMessage, { 0: e.maxLength })), 1)])) : f("", !0)]));
|
|
23063
23100
|
}
|
|
23064
|
-
}),
|
|
23101
|
+
}), 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
23102
|
__name: "MaChatbotFeedbackPanel",
|
|
23066
23103
|
props: { topics: { default: void 0 } },
|
|
23067
23104
|
emits: ["submit", "cancel"],
|
|
@@ -23079,9 +23116,9 @@ var J_ = {
|
|
|
23079
23116
|
function v() {
|
|
23080
23117
|
r("cancel");
|
|
23081
23118
|
}
|
|
23082
|
-
return (e, t) => (I(), p("div",
|
|
23083
|
-
m("div",
|
|
23084
|
-
m("div",
|
|
23119
|
+
return (e, t) => (I(), p("div", bv, [
|
|
23120
|
+
m("div", xv, H(U(a).config.locale.chatbot?.shareFeedback), 1),
|
|
23121
|
+
m("div", Sv, [(I(!0), p(i, null, z(o.value, (e) => (I(), p("button", {
|
|
23085
23122
|
key: e,
|
|
23086
23123
|
class: k(["ma-chatbot__feedback-topic", { "ma-chatbot__feedback-topic--selected": s.value === e }]),
|
|
23087
23124
|
onClick: (t) => u(e)
|
|
@@ -23090,7 +23127,7 @@ var J_ = {
|
|
|
23090
23127
|
class: "ma-chatbot__feedback-topic-close",
|
|
23091
23128
|
name: "close-circle-bold",
|
|
23092
23129
|
size: "xs"
|
|
23093
|
-
})) : f("", !0)], 10,
|
|
23130
|
+
})) : f("", !0)], 10, Cv))), 128))]),
|
|
23094
23131
|
_(Qc, {
|
|
23095
23132
|
value: c.value,
|
|
23096
23133
|
"onUpdate:value": t[0] ||= (e) => c.value = e,
|
|
@@ -23099,7 +23136,7 @@ var J_ = {
|
|
|
23099
23136
|
placeholder: U(a).config.locale.chatbot?.shareDetails,
|
|
23100
23137
|
size: "large"
|
|
23101
23138
|
}, null, 8, ["value", "placeholder"]),
|
|
23102
|
-
m("div",
|
|
23139
|
+
m("div", wv, [_(Z, {
|
|
23103
23140
|
variant: "stroke",
|
|
23104
23141
|
onClick: v
|
|
23105
23142
|
}, {
|
|
@@ -23111,10 +23148,10 @@ var J_ = {
|
|
|
23111
23148
|
})])
|
|
23112
23149
|
]));
|
|
23113
23150
|
}
|
|
23114
|
-
}),
|
|
23151
|
+
}), Ev = { class: "ma-chatbot" }, Dv = {
|
|
23115
23152
|
key: 0,
|
|
23116
23153
|
class: "ma-chatbot__header-slot"
|
|
23117
|
-
},
|
|
23154
|
+
}, Ov = { class: "ma-chatbot__input-area" }, kv = /* @__PURE__ */ y({
|
|
23118
23155
|
__name: "index",
|
|
23119
23156
|
props: {
|
|
23120
23157
|
placeholder: {},
|
|
@@ -23137,15 +23174,15 @@ var J_ = {
|
|
|
23137
23174
|
"responseFinished"
|
|
23138
23175
|
],
|
|
23139
23176
|
setup(e, { expose: t, emit: n }) {
|
|
23140
|
-
let r = e, a = n, o =
|
|
23177
|
+
let r = e, a = n, o = J_(), s = ft();
|
|
23141
23178
|
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 } =
|
|
23179
|
+
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
23180
|
maOrgId: () => r.maOrgId,
|
|
23144
23181
|
mockStreamFn: () => r.mockStreamFn,
|
|
23145
23182
|
api: o,
|
|
23146
23183
|
onResponseStart: () => a("responseStarted"),
|
|
23147
23184
|
onResponseFinish: () => a("responseFinished")
|
|
23148
|
-
}), { showFeedbackPanel: D, handleThumbsUp: O, handleThumbsDown: k, submitNegativeFeedback: A, cancelFeedback: j } =
|
|
23185
|
+
}), { showFeedbackPanel: D, handleThumbsUp: O, handleThumbsDown: k, submitNegativeFeedback: A, cancelFeedback: j } = Y_({ submitFeedbackApi: o.submitFeedback }), M = l(() => r.disabled || g.value), N = l(() => ({
|
|
23149
23186
|
guardrail: r.guardRailViolationMessage ?? s.config.locale.chatbot?.guardRailViolationMessage,
|
|
23150
23187
|
timeout: r.timeoutErrorMessage ?? s.config.locale.chatbot?.timeoutErrorMessage,
|
|
23151
23188
|
error: r.genericErrorMessage ?? s.config.locale.chatbot?.genericErrorMessage
|
|
@@ -23186,11 +23223,11 @@ var J_ = {
|
|
|
23186
23223
|
isBusy: g,
|
|
23187
23224
|
error: y,
|
|
23188
23225
|
showFeedbackPanel: D
|
|
23189
|
-
}), (t, n) => (I(), p("div",
|
|
23226
|
+
}), (t, n) => (I(), p("div", Ev, [m("div", {
|
|
23190
23227
|
ref_key: "messagesContainerRef",
|
|
23191
23228
|
ref: h,
|
|
23192
23229
|
class: "ma-chatbot__messages"
|
|
23193
|
-
}, [U(v) ? f("", !0) : (I(), p("div",
|
|
23230
|
+
}, [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
23231
|
key: e.id,
|
|
23195
23232
|
message: e,
|
|
23196
23233
|
"is-streaming": U(x)(e),
|
|
@@ -23204,12 +23241,12 @@ var J_ = {
|
|
|
23204
23241
|
"error-message",
|
|
23205
23242
|
"rendered-html",
|
|
23206
23243
|
"onThumbsDown"
|
|
23207
|
-
]))), 128))], 512), m("div",
|
|
23244
|
+
]))), 128))], 512), m("div", Ov, [U(D) ? (I(), d(Tv, {
|
|
23208
23245
|
key: 0,
|
|
23209
23246
|
onSubmit: ne,
|
|
23210
23247
|
onCancel: U(j)
|
|
23211
23248
|
}, null, 8, ["onCancel"])) : (I(), p(i, { key: 1 }, [
|
|
23212
|
-
e.suggestedPrompts.length ? (I(), d(
|
|
23249
|
+
e.suggestedPrompts.length ? (I(), d(Q_, {
|
|
23213
23250
|
key: 0,
|
|
23214
23251
|
prompts: e.suggestedPrompts,
|
|
23215
23252
|
disabled: e.disabled || U(g),
|
|
@@ -23222,7 +23259,7 @@ var J_ = {
|
|
|
23222
23259
|
"onSelect"
|
|
23223
23260
|
])) : f("", !0),
|
|
23224
23261
|
B(t.$slots, "input-prepend"),
|
|
23225
|
-
_(
|
|
23262
|
+
_(yv, {
|
|
23226
23263
|
"model-value": U(u),
|
|
23227
23264
|
placeholder: r.placeholder ?? U(s).config.locale.chatbot?.placeholder,
|
|
23228
23265
|
disabled: M.value,
|
|
@@ -23238,8 +23275,8 @@ var J_ = {
|
|
|
23238
23275
|
])
|
|
23239
23276
|
], 64))])]));
|
|
23240
23277
|
}
|
|
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(
|
|
23278
|
+
}), 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 {
|
|
23279
|
+
static countriesData = Object.freeze(Av);
|
|
23243
23280
|
findCountryByCountryCode(t) {
|
|
23244
23281
|
let n = e.countriesData.find((e) => mc(e.alpha2, t) || mc(e.alpha3, t));
|
|
23245
23282
|
return n ? (0, pc.cloneDeep)(n) : void 0;
|
|
@@ -23306,12 +23343,12 @@ var J_ = {
|
|
|
23306
23343
|
}));
|
|
23307
23344
|
}
|
|
23308
23345
|
getFlagIconUrl(e, t = "1x1") {
|
|
23309
|
-
return `${
|
|
23346
|
+
return `${jv}/${t}/${e.toLowerCase()}.svg`;
|
|
23310
23347
|
}
|
|
23311
23348
|
getGlobeIconUrl() {
|
|
23312
|
-
return `${
|
|
23349
|
+
return `${jv}/globe.svg`;
|
|
23313
23350
|
}
|
|
23314
|
-
}(),
|
|
23351
|
+
}(), Nv = {
|
|
23315
23352
|
total: "合計",
|
|
23316
23353
|
itemsPerPage: "ページあたり{0}件",
|
|
23317
23354
|
page: "{1}ページ中{0}ページ",
|
|
@@ -23374,7 +23411,7 @@ var J_ = {
|
|
|
23374
23411
|
],
|
|
23375
23412
|
reasoningLabel: "考え中"
|
|
23376
23413
|
}
|
|
23377
|
-
},
|
|
23414
|
+
}, Pv = {
|
|
23378
23415
|
total: "총계",
|
|
23379
23416
|
itemsPerPage: "페이지당 {0}개",
|
|
23380
23417
|
page: "{1}페이지 중 {0}페이지",
|
|
@@ -23437,7 +23474,7 @@ var J_ = {
|
|
|
23437
23474
|
],
|
|
23438
23475
|
reasoningLabel: "생각 중"
|
|
23439
23476
|
}
|
|
23440
|
-
},
|
|
23477
|
+
}, Fv = {
|
|
23441
23478
|
total: "总计",
|
|
23442
23479
|
itemsPerPage: "{0} / 页",
|
|
23443
23480
|
page: "第{0}页,共{1}页",
|
|
@@ -23502,4 +23539,4 @@ var J_ = {
|
|
|
23502
23539
|
}
|
|
23503
23540
|
};
|
|
23504
23541
|
//#endregion
|
|
23505
|
-
export {
|
|
23542
|
+
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 };
|