@farris/ui-vue 1.7.0-beta.3 → 1.7.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/avatar/index.esm.js +10 -1
- package/components/avatar/index.umd.cjs +1 -1
- package/components/calendar/index.esm.js +178 -176
- package/components/calendar/index.umd.cjs +2 -2
- package/components/collection-property-editor/index.esm.js +48 -46
- package/components/collection-property-editor/index.umd.cjs +2 -2
- package/components/combo-list/index.esm.js +319 -300
- package/components/combo-list/index.umd.cjs +1 -1
- package/components/comment/index.esm.js +2287 -1161
- package/components/comment/index.umd.cjs +7 -7
- package/components/component/index.esm.js +3 -1
- package/components/component/index.umd.cjs +2 -2
- package/components/condition/index.esm.js +926 -901
- package/components/condition/index.umd.cjs +2 -2
- package/components/data-view/index.esm.js +898 -899
- package/components/data-view/index.umd.cjs +1 -1
- package/components/drawer/index.esm.js +3 -1
- package/components/drawer/index.umd.cjs +2 -2
- package/components/dynamic-form/index.esm.js +239 -221
- package/components/dynamic-form/index.umd.cjs +1 -1
- package/components/dynamic-resolver/index.esm.js +11 -9
- package/components/dynamic-resolver/index.umd.cjs +2 -2
- package/components/expression-editor/index.esm.js +1299 -1279
- package/components/expression-editor/index.umd.cjs +4 -4
- package/components/filter-bar/index.esm.js +731 -678
- package/components/filter-bar/index.umd.cjs +2 -2
- package/components/filter-condition-editor/index.esm.js +1792 -1772
- package/components/filter-condition-editor/index.umd.cjs +4 -4
- package/components/image/index.esm.js +246 -240
- package/components/image/index.umd.cjs +2 -2
- package/components/language-textbox/index.esm.js +9 -7
- package/components/language-textbox/index.umd.cjs +2 -2
- package/components/list-view/index.esm.js +1 -1
- package/components/list-view/index.umd.cjs +1 -1
- package/components/locale/index.esm.js +2009 -886
- package/components/locale/index.umd.cjs +6 -6
- package/components/number-range/index.esm.js +190 -181
- package/components/number-range/index.umd.cjs +1 -1
- package/components/order/index.esm.js +734 -714
- package/components/order/index.umd.cjs +5 -5
- package/components/property-panel/index.esm.js +60 -49
- package/components/property-panel/index.umd.cjs +3 -3
- package/components/query-solution/index.esm.js +2461 -2500
- package/components/query-solution/index.umd.cjs +6 -6
- package/components/radio-group/index.esm.js +30 -30
- package/components/radio-group/index.umd.cjs +1 -1
- package/components/schema-selector/index.esm.js +238 -238
- package/components/schema-selector/index.umd.cjs +4 -4
- package/components/section/index.esm.js +217 -302
- package/components/section/index.umd.cjs +2 -2
- package/components/sort-condition-editor/index.esm.js +1793 -1773
- package/components/sort-condition-editor/index.umd.cjs +4 -4
- package/components/transfer/index.esm.js +155 -155
- package/components/transfer/index.umd.cjs +3 -3
- package/designer/data-grid/index.esm.js +895 -867
- package/designer/data-grid/index.umd.cjs +5 -5
- package/designer/data-view/index.esm.js +145 -144
- package/designer/data-view/index.umd.cjs +2 -2
- package/designer/drawer/index.esm.js +73 -71
- package/designer/drawer/index.umd.cjs +2 -2
- package/designer/dynamic-form/index.esm.js +87 -65
- package/designer/dynamic-form/index.umd.cjs +2 -2
- package/designer/farris-designer.all.esm.js +14 -3
- package/designer/farris-designer.all.umd.cjs +3 -3
- package/designer/input-group/index.esm.js +34 -14
- package/designer/input-group/index.umd.cjs +1 -1
- package/designer/list-view/index.esm.js +1 -1
- package/designer/list-view/index.umd.cjs +1 -1
- package/designer/radio-group/index.esm.js +15 -2
- package/designer/radio-group/index.umd.cjs +1 -1
- package/designer/section/index.esm.js +129 -119
- package/designer/section/index.umd.cjs +1 -1
- package/designer/time-picker/index.esm.js +140 -131
- package/designer/time-picker/index.umd.cjs +1 -1
- package/farris.all.esm.js +13578 -12394
- package/farris.all.umd.cjs +26 -26
- package/index.css +1 -1
- package/locales/data-grid/ui/en.json +2 -1
- package/locales/data-grid/ui/zh-CHS.json +2 -1
- package/locales/data-grid/ui/zh-CHT.json +2 -1
- package/locales/designer/en.json +12 -10
- package/locales/designer/zh-CHS.json +19 -17
- package/locales/designer/zh-CHT.json +19 -17
- package/locales/ui/en.json +4 -2
- package/locales/ui/zh-CHS.json +11 -9
- package/locales/ui/zh-CHT.json +11 -9
- package/package.json +1 -1
- package/package.zip +0 -0
- package/types/combo-list/src/composition/types.d.ts +1 -0
- package/types/condition/src/composition/condition-value/number-spinner-value.d.ts +1 -1
- package/types/condition/src/composition/use-field-config.d.ts +1 -1
- package/types/condition/src/condition.props.d.ts +1 -1
- package/types/data-view/designer/property-config/use-command-option.d.ts +12 -0
- package/types/image/src/property-config/image.property-config.d.ts +5 -5
- package/types/locale/src/lib/locale.service.d.ts +2 -2
- package/types/property-panel/src/composition/entity/input-base-property.d.ts +7 -0
- package/types/query-solution/src/designer/query-solution-config/composition/use-util.d.ts +0 -20
- package/types/section/src/designer/section.design.props.d.ts +17 -0
- package/types/section/src/section.props.d.ts +0 -25
|
@@ -1,119 +1,119 @@
|
|
|
1
|
-
var
|
|
2
|
-
var wt = (e, t, n) => t in e ?
|
|
3
|
-
var
|
|
1
|
+
var xt = Object.defineProperty;
|
|
2
|
+
var wt = (e, t, n) => t in e ? xt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
+
var fe = (e, t, n) => wt(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import { createI18n as Et } from "vue-i18n";
|
|
5
|
-
const
|
|
6
|
-
locale:
|
|
7
|
-
fallbackLocale:
|
|
5
|
+
const Tt = Symbol("LOCALE_SERVICE"), De = "zh-CHS", St = {
|
|
6
|
+
locale: De,
|
|
7
|
+
fallbackLocale: De,
|
|
8
8
|
uri: ""
|
|
9
9
|
};
|
|
10
|
-
function
|
|
10
|
+
function Ye(e, t) {
|
|
11
11
|
return function() {
|
|
12
12
|
return e.apply(t, arguments);
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
const { toString:
|
|
16
|
-
const n =
|
|
15
|
+
const { toString: Ct } = Object.prototype, { getPrototypeOf: Ee } = Object, { iterator: se, toStringTag: Ke } = Symbol, ae = /* @__PURE__ */ ((e) => (t) => {
|
|
16
|
+
const n = Ct.call(t);
|
|
17
17
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
18
|
-
})(/* @__PURE__ */ Object.create(null)),
|
|
19
|
-
function
|
|
20
|
-
return e !== null && !
|
|
18
|
+
})(/* @__PURE__ */ Object.create(null)), D = (e) => (e = e.toLowerCase(), (t) => ae(t) === e), ie = (e) => (t) => typeof t === e, { isArray: _ } = Array, j = ie("undefined");
|
|
19
|
+
function z(e) {
|
|
20
|
+
return e !== null && !j(e) && e.constructor !== null && !j(e.constructor) && O(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
21
21
|
}
|
|
22
|
-
const
|
|
22
|
+
const Ge = D("ArrayBuffer");
|
|
23
23
|
function Ot(e) {
|
|
24
24
|
let t;
|
|
25
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer &&
|
|
25
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Ge(e.buffer), t;
|
|
26
26
|
}
|
|
27
|
-
const
|
|
28
|
-
if (
|
|
27
|
+
const kt = ie("string"), O = ie("function"), Qe = ie("number"), J = (e) => e !== null && typeof e == "object", Rt = (e) => e === !0 || e === !1, ee = (e) => {
|
|
28
|
+
if (ae(e) !== "object")
|
|
29
29
|
return !1;
|
|
30
|
-
const t =
|
|
31
|
-
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Ke in e) && !(
|
|
32
|
-
},
|
|
33
|
-
if (!J(e) ||
|
|
30
|
+
const t = Ee(e);
|
|
31
|
+
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Ke in e) && !(se in e);
|
|
32
|
+
}, At = (e) => {
|
|
33
|
+
if (!J(e) || z(e))
|
|
34
34
|
return !1;
|
|
35
35
|
try {
|
|
36
36
|
return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
|
|
37
37
|
} catch {
|
|
38
38
|
return !1;
|
|
39
39
|
}
|
|
40
|
-
}, Lt =
|
|
40
|
+
}, Lt = D("Date"), Dt = D("File"), Ft = D("Blob"), Mt = D("FileList"), vt = (e) => J(e) && O(e.pipe), Nt = (e) => {
|
|
41
41
|
let t;
|
|
42
|
-
return e && (typeof FormData == "function" && e instanceof FormData ||
|
|
43
|
-
t === "object" &&
|
|
44
|
-
},
|
|
45
|
-
function
|
|
42
|
+
return e && (typeof FormData == "function" && e instanceof FormData || O(e.append) && ((t = ae(e)) === "formdata" || // detect form-data instance
|
|
43
|
+
t === "object" && O(e.toString) && e.toString() === "[object FormData]"));
|
|
44
|
+
}, Pt = D("URLSearchParams"), [Bt, qt, Ut, $t] = ["ReadableStream", "Request", "Response", "Headers"].map(D), It = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
45
|
+
function Y(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
46
46
|
if (e === null || typeof e > "u")
|
|
47
47
|
return;
|
|
48
|
-
let r,
|
|
49
|
-
if (typeof e != "object" && (e = [e]),
|
|
50
|
-
for (r = 0,
|
|
48
|
+
let r, o;
|
|
49
|
+
if (typeof e != "object" && (e = [e]), _(e))
|
|
50
|
+
for (r = 0, o = e.length; r < o; r++)
|
|
51
51
|
t.call(null, e[r], r, e);
|
|
52
52
|
else {
|
|
53
|
-
if (
|
|
53
|
+
if (z(e))
|
|
54
54
|
return;
|
|
55
|
-
const
|
|
55
|
+
const a = n ? Object.getOwnPropertyNames(e) : Object.keys(e), s = a.length;
|
|
56
56
|
let l;
|
|
57
|
-
for (r = 0; r <
|
|
58
|
-
l =
|
|
57
|
+
for (r = 0; r < s; r++)
|
|
58
|
+
l = a[r], t.call(null, e[l], l, e);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
function
|
|
62
|
-
if (
|
|
61
|
+
function Xe(e, t) {
|
|
62
|
+
if (z(e))
|
|
63
63
|
return null;
|
|
64
64
|
t = t.toLowerCase();
|
|
65
65
|
const n = Object.keys(e);
|
|
66
|
-
let r = n.length,
|
|
66
|
+
let r = n.length, o;
|
|
67
67
|
for (; r-- > 0; )
|
|
68
|
-
if (
|
|
69
|
-
return
|
|
68
|
+
if (o = n[r], t === o.toLowerCase())
|
|
69
|
+
return o;
|
|
70
70
|
return null;
|
|
71
71
|
}
|
|
72
|
-
const
|
|
72
|
+
const q = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, Ze = (e) => !j(e) && e !== q;
|
|
73
73
|
function ye() {
|
|
74
|
-
const { caseless: e, skipUndefined: t } =
|
|
75
|
-
const
|
|
76
|
-
ee(n[
|
|
74
|
+
const { caseless: e, skipUndefined: t } = Ze(this) && this || {}, n = {}, r = (o, a) => {
|
|
75
|
+
const s = e && Xe(n, a) || a;
|
|
76
|
+
ee(n[s]) && ee(o) ? n[s] = ye(n[s], o) : ee(o) ? n[s] = ye({}, o) : _(o) ? n[s] = o.slice() : (!t || !j(o)) && (n[s] = o);
|
|
77
77
|
};
|
|
78
|
-
for (let
|
|
79
|
-
arguments[
|
|
78
|
+
for (let o = 0, a = arguments.length; o < a; o++)
|
|
79
|
+
arguments[o] && Y(arguments[o], r);
|
|
80
80
|
return n;
|
|
81
81
|
}
|
|
82
|
-
const
|
|
83
|
-
n &&
|
|
84
|
-
}, { allOwnKeys: r }), e),
|
|
82
|
+
const jt = (e, t, n, { allOwnKeys: r } = {}) => (Y(t, (o, a) => {
|
|
83
|
+
n && O(o) ? e[a] = Ye(o, n) : e[a] = o;
|
|
84
|
+
}, { allOwnKeys: r }), e), _t = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Wt = (e, t, n, r) => {
|
|
85
85
|
e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
86
86
|
value: t.prototype
|
|
87
87
|
}), n && Object.assign(e.prototype, n);
|
|
88
|
-
},
|
|
89
|
-
let
|
|
88
|
+
}, Ht = (e, t, n, r) => {
|
|
89
|
+
let o, a, s;
|
|
90
90
|
const l = {};
|
|
91
91
|
if (t = t || {}, e == null) return t;
|
|
92
92
|
do {
|
|
93
|
-
for (
|
|
94
|
-
|
|
95
|
-
e = n !== !1 &&
|
|
93
|
+
for (o = Object.getOwnPropertyNames(e), a = o.length; a-- > 0; )
|
|
94
|
+
s = o[a], (!r || r(s, e, t)) && !l[s] && (t[s] = e[s], l[s] = !0);
|
|
95
|
+
e = n !== !1 && Ee(e);
|
|
96
96
|
} while (e && (!n || n(e, t)) && e !== Object.prototype);
|
|
97
97
|
return t;
|
|
98
|
-
},
|
|
98
|
+
}, Vt = (e, t, n) => {
|
|
99
99
|
e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
|
|
100
100
|
const r = e.indexOf(t, n);
|
|
101
101
|
return r !== -1 && r === n;
|
|
102
|
-
},
|
|
102
|
+
}, zt = (e) => {
|
|
103
103
|
if (!e) return null;
|
|
104
|
-
if (
|
|
104
|
+
if (_(e)) return e;
|
|
105
105
|
let t = e.length;
|
|
106
|
-
if (!
|
|
106
|
+
if (!Qe(t)) return null;
|
|
107
107
|
const n = new Array(t);
|
|
108
108
|
for (; t-- > 0; )
|
|
109
109
|
n[t] = e[t];
|
|
110
110
|
return n;
|
|
111
|
-
},
|
|
112
|
-
const r = (e && e[
|
|
113
|
-
let
|
|
114
|
-
for (; (
|
|
115
|
-
const
|
|
116
|
-
t.call(e,
|
|
111
|
+
}, Jt = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && Ee(Uint8Array)), Yt = (e, t) => {
|
|
112
|
+
const r = (e && e[se]).call(e);
|
|
113
|
+
let o;
|
|
114
|
+
for (; (o = r.next()) && !o.done; ) {
|
|
115
|
+
const a = o.value;
|
|
116
|
+
t.call(e, a[0], a[1]);
|
|
117
117
|
}
|
|
118
118
|
}, Kt = (e, t) => {
|
|
119
119
|
let n;
|
|
@@ -121,23 +121,23 @@ const It = (e, t, n, { allOwnKeys: r } = {}) => (K(t, (s, i) => {
|
|
|
121
121
|
for (; (n = e.exec(t)) !== null; )
|
|
122
122
|
r.push(n);
|
|
123
123
|
return r;
|
|
124
|
-
},
|
|
124
|
+
}, Gt = D("HTMLFormElement"), Qt = (e) => e.toLowerCase().replace(
|
|
125
125
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
126
|
-
function(n, r,
|
|
127
|
-
return r.toUpperCase() +
|
|
126
|
+
function(n, r, o) {
|
|
127
|
+
return r.toUpperCase() + o;
|
|
128
128
|
}
|
|
129
|
-
),
|
|
129
|
+
), Fe = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Xt = D("RegExp"), et = (e, t) => {
|
|
130
130
|
const n = Object.getOwnPropertyDescriptors(e), r = {};
|
|
131
|
-
|
|
132
|
-
let
|
|
133
|
-
(
|
|
131
|
+
Y(n, (o, a) => {
|
|
132
|
+
let s;
|
|
133
|
+
(s = t(o, a, e)) !== !1 && (r[a] = s || o);
|
|
134
134
|
}), Object.defineProperties(e, r);
|
|
135
|
-
},
|
|
136
|
-
|
|
137
|
-
if (
|
|
135
|
+
}, Zt = (e) => {
|
|
136
|
+
et(e, (t, n) => {
|
|
137
|
+
if (O(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
138
138
|
return !1;
|
|
139
139
|
const r = e[n];
|
|
140
|
-
if (
|
|
140
|
+
if (O(r)) {
|
|
141
141
|
if (t.enumerable = !1, "writable" in t) {
|
|
142
142
|
t.writable = !1;
|
|
143
143
|
return;
|
|
@@ -147,108 +147,108 @@ const It = (e, t, n, { allOwnKeys: r } = {}) => (K(t, (s, i) => {
|
|
|
147
147
|
});
|
|
148
148
|
}
|
|
149
149
|
});
|
|
150
|
-
},
|
|
151
|
-
const n = {}, r = (
|
|
152
|
-
|
|
153
|
-
n[
|
|
150
|
+
}, en = (e, t) => {
|
|
151
|
+
const n = {}, r = (o) => {
|
|
152
|
+
o.forEach((a) => {
|
|
153
|
+
n[a] = !0;
|
|
154
154
|
});
|
|
155
155
|
};
|
|
156
|
-
return
|
|
157
|
-
},
|
|
158
|
-
},
|
|
159
|
-
function
|
|
160
|
-
return !!(e &&
|
|
156
|
+
return _(e) ? r(e) : r(String(e).split(t)), n;
|
|
157
|
+
}, tn = () => {
|
|
158
|
+
}, nn = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
159
|
+
function rn(e) {
|
|
160
|
+
return !!(e && O(e.append) && e[Ke] === "FormData" && e[se]);
|
|
161
161
|
}
|
|
162
|
-
const
|
|
163
|
-
const t = new Array(10), n = (r,
|
|
162
|
+
const on = (e) => {
|
|
163
|
+
const t = new Array(10), n = (r, o) => {
|
|
164
164
|
if (J(r)) {
|
|
165
165
|
if (t.indexOf(r) >= 0)
|
|
166
166
|
return;
|
|
167
|
-
if (
|
|
167
|
+
if (z(r))
|
|
168
168
|
return r;
|
|
169
169
|
if (!("toJSON" in r)) {
|
|
170
|
-
t[
|
|
171
|
-
const
|
|
172
|
-
return
|
|
173
|
-
const
|
|
174
|
-
!
|
|
175
|
-
}), t[
|
|
170
|
+
t[o] = r;
|
|
171
|
+
const a = _(r) ? [] : {};
|
|
172
|
+
return Y(r, (s, l) => {
|
|
173
|
+
const f = n(s, o + 1);
|
|
174
|
+
!j(f) && (a[l] = f);
|
|
175
|
+
}), t[o] = void 0, a;
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
178
|
return r;
|
|
179
179
|
};
|
|
180
180
|
return n(e, 0);
|
|
181
|
-
}, sn =
|
|
182
|
-
|
|
183
|
-
}, !1), (
|
|
184
|
-
r.push(
|
|
181
|
+
}, sn = D("AsyncFunction"), an = (e) => e && (J(e) || O(e)) && O(e.then) && O(e.catch), tt = ((e, t) => e ? setImmediate : t ? ((n, r) => (q.addEventListener("message", ({ source: o, data: a }) => {
|
|
182
|
+
o === q && a === n && r.length && r.shift()();
|
|
183
|
+
}, !1), (o) => {
|
|
184
|
+
r.push(o), q.postMessage(n, "*");
|
|
185
185
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
186
186
|
typeof setImmediate == "function",
|
|
187
|
-
|
|
188
|
-
),
|
|
189
|
-
isArray:
|
|
190
|
-
isArrayBuffer:
|
|
191
|
-
isBuffer:
|
|
192
|
-
isFormData:
|
|
187
|
+
O(q.postMessage)
|
|
188
|
+
), ln = typeof queueMicrotask < "u" ? queueMicrotask.bind(q) : typeof process < "u" && process.nextTick || tt, cn = (e) => e != null && O(e[se]), i = {
|
|
189
|
+
isArray: _,
|
|
190
|
+
isArrayBuffer: Ge,
|
|
191
|
+
isBuffer: z,
|
|
192
|
+
isFormData: Nt,
|
|
193
193
|
isArrayBufferView: Ot,
|
|
194
|
-
isString:
|
|
195
|
-
isNumber:
|
|
196
|
-
isBoolean:
|
|
194
|
+
isString: kt,
|
|
195
|
+
isNumber: Qe,
|
|
196
|
+
isBoolean: Rt,
|
|
197
197
|
isObject: J,
|
|
198
198
|
isPlainObject: ee,
|
|
199
|
-
isEmptyObject:
|
|
200
|
-
isReadableStream:
|
|
201
|
-
isRequest:
|
|
202
|
-
isResponse:
|
|
203
|
-
isHeaders:
|
|
204
|
-
isUndefined:
|
|
199
|
+
isEmptyObject: At,
|
|
200
|
+
isReadableStream: Bt,
|
|
201
|
+
isRequest: qt,
|
|
202
|
+
isResponse: Ut,
|
|
203
|
+
isHeaders: $t,
|
|
204
|
+
isUndefined: j,
|
|
205
205
|
isDate: Lt,
|
|
206
|
-
isFile:
|
|
206
|
+
isFile: Dt,
|
|
207
207
|
isBlob: Ft,
|
|
208
|
-
isRegExp:
|
|
209
|
-
isFunction:
|
|
210
|
-
isStream:
|
|
211
|
-
isURLSearchParams:
|
|
212
|
-
isTypedArray:
|
|
213
|
-
isFileList:
|
|
214
|
-
forEach:
|
|
208
|
+
isRegExp: Xt,
|
|
209
|
+
isFunction: O,
|
|
210
|
+
isStream: vt,
|
|
211
|
+
isURLSearchParams: Pt,
|
|
212
|
+
isTypedArray: Jt,
|
|
213
|
+
isFileList: Mt,
|
|
214
|
+
forEach: Y,
|
|
215
215
|
merge: ye,
|
|
216
|
-
extend:
|
|
217
|
-
trim:
|
|
218
|
-
stripBOM:
|
|
219
|
-
inherits:
|
|
220
|
-
toFlatObject:
|
|
221
|
-
kindOf:
|
|
222
|
-
kindOfTest:
|
|
223
|
-
endsWith:
|
|
224
|
-
toArray:
|
|
225
|
-
forEachEntry:
|
|
216
|
+
extend: jt,
|
|
217
|
+
trim: It,
|
|
218
|
+
stripBOM: _t,
|
|
219
|
+
inherits: Wt,
|
|
220
|
+
toFlatObject: Ht,
|
|
221
|
+
kindOf: ae,
|
|
222
|
+
kindOfTest: D,
|
|
223
|
+
endsWith: Vt,
|
|
224
|
+
toArray: zt,
|
|
225
|
+
forEachEntry: Yt,
|
|
226
226
|
matchAll: Kt,
|
|
227
|
-
isHTMLForm:
|
|
228
|
-
hasOwnProperty:
|
|
229
|
-
hasOwnProp:
|
|
227
|
+
isHTMLForm: Gt,
|
|
228
|
+
hasOwnProperty: Fe,
|
|
229
|
+
hasOwnProp: Fe,
|
|
230
230
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
231
|
-
reduceDescriptors:
|
|
232
|
-
freezeMethods:
|
|
233
|
-
toObjectSet:
|
|
234
|
-
toCamelCase:
|
|
235
|
-
noop:
|
|
236
|
-
toFiniteNumber:
|
|
237
|
-
findKey:
|
|
238
|
-
global:
|
|
239
|
-
isContextDefined:
|
|
240
|
-
isSpecCompliantForm:
|
|
241
|
-
toJSONObject:
|
|
231
|
+
reduceDescriptors: et,
|
|
232
|
+
freezeMethods: Zt,
|
|
233
|
+
toObjectSet: en,
|
|
234
|
+
toCamelCase: Qt,
|
|
235
|
+
noop: tn,
|
|
236
|
+
toFiniteNumber: nn,
|
|
237
|
+
findKey: Xe,
|
|
238
|
+
global: q,
|
|
239
|
+
isContextDefined: Ze,
|
|
240
|
+
isSpecCompliantForm: rn,
|
|
241
|
+
toJSONObject: on,
|
|
242
242
|
isAsyncFn: sn,
|
|
243
|
-
isThenable:
|
|
244
|
-
setImmediate:
|
|
245
|
-
asap:
|
|
246
|
-
isIterable:
|
|
243
|
+
isThenable: an,
|
|
244
|
+
setImmediate: tt,
|
|
245
|
+
asap: ln,
|
|
246
|
+
isIterable: cn
|
|
247
247
|
};
|
|
248
|
-
function y(e, t, n, r,
|
|
249
|
-
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r),
|
|
248
|
+
function y(e, t, n, r, o) {
|
|
249
|
+
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), o && (this.response = o, this.status = o.status ? o.status : null);
|
|
250
250
|
}
|
|
251
|
-
|
|
251
|
+
i.inherits(y, Error, {
|
|
252
252
|
toJSON: function() {
|
|
253
253
|
return {
|
|
254
254
|
// Standard
|
|
@@ -263,13 +263,13 @@ a.inherits(y, Error, {
|
|
|
263
263
|
columnNumber: this.columnNumber,
|
|
264
264
|
stack: this.stack,
|
|
265
265
|
// Axios
|
|
266
|
-
config:
|
|
266
|
+
config: i.toJSONObject(this.config),
|
|
267
267
|
code: this.code,
|
|
268
268
|
status: this.status
|
|
269
269
|
};
|
|
270
270
|
}
|
|
271
271
|
});
|
|
272
|
-
const
|
|
272
|
+
const nt = y.prototype, rt = {};
|
|
273
273
|
[
|
|
274
274
|
"ERR_BAD_OPTION_VALUE",
|
|
275
275
|
"ERR_BAD_OPTION",
|
|
@@ -285,100 +285,100 @@ const tt = y.prototype, nt = {};
|
|
|
285
285
|
"ERR_INVALID_URL"
|
|
286
286
|
// eslint-disable-next-line func-names
|
|
287
287
|
].forEach((e) => {
|
|
288
|
-
|
|
288
|
+
rt[e] = { value: e };
|
|
289
289
|
});
|
|
290
|
-
Object.defineProperties(y,
|
|
291
|
-
Object.defineProperty(
|
|
292
|
-
y.from = (e, t, n, r,
|
|
293
|
-
const
|
|
294
|
-
|
|
290
|
+
Object.defineProperties(y, rt);
|
|
291
|
+
Object.defineProperty(nt, "isAxiosError", { value: !0 });
|
|
292
|
+
y.from = (e, t, n, r, o, a) => {
|
|
293
|
+
const s = Object.create(nt);
|
|
294
|
+
i.toFlatObject(e, s, function(c) {
|
|
295
295
|
return c !== Error.prototype;
|
|
296
|
-
}, (
|
|
297
|
-
const l = e && e.message ? e.message : "Error",
|
|
298
|
-
return y.call(
|
|
296
|
+
}, (d) => d !== "isAxiosError");
|
|
297
|
+
const l = e && e.message ? e.message : "Error", f = t == null && e ? e.code : t;
|
|
298
|
+
return y.call(s, l, f, n, r, o), e && s.cause == null && Object.defineProperty(s, "cause", { value: e, configurable: !0 }), s.name = e && e.name || "Error", a && Object.assign(s, a), s;
|
|
299
299
|
};
|
|
300
|
-
const
|
|
300
|
+
const un = null;
|
|
301
301
|
function ge(e) {
|
|
302
|
-
return
|
|
302
|
+
return i.isPlainObject(e) || i.isArray(e);
|
|
303
303
|
}
|
|
304
|
-
function
|
|
305
|
-
return
|
|
304
|
+
function ot(e) {
|
|
305
|
+
return i.endsWith(e, "[]") ? e.slice(0, -2) : e;
|
|
306
306
|
}
|
|
307
|
-
function
|
|
308
|
-
return e ? e.concat(t).map(function(
|
|
309
|
-
return
|
|
307
|
+
function Me(e, t, n) {
|
|
308
|
+
return e ? e.concat(t).map(function(o, a) {
|
|
309
|
+
return o = ot(o), !n && a ? "[" + o + "]" : o;
|
|
310
310
|
}).join(n ? "." : "") : t;
|
|
311
311
|
}
|
|
312
|
-
function
|
|
313
|
-
return
|
|
312
|
+
function dn(e) {
|
|
313
|
+
return i.isArray(e) && !e.some(ge);
|
|
314
314
|
}
|
|
315
|
-
const fn =
|
|
315
|
+
const fn = i.toFlatObject(i, {}, null, function(t) {
|
|
316
316
|
return /^is[A-Z]/.test(t);
|
|
317
317
|
});
|
|
318
318
|
function le(e, t, n) {
|
|
319
|
-
if (!
|
|
319
|
+
if (!i.isObject(e))
|
|
320
320
|
throw new TypeError("target must be an object");
|
|
321
|
-
t = t || new FormData(), n =
|
|
321
|
+
t = t || new FormData(), n = i.toFlatObject(n, {
|
|
322
322
|
metaTokens: !0,
|
|
323
323
|
dots: !1,
|
|
324
324
|
indexes: !1
|
|
325
|
-
}, !1, function(
|
|
326
|
-
return !
|
|
325
|
+
}, !1, function(h, p) {
|
|
326
|
+
return !i.isUndefined(p[h]);
|
|
327
327
|
});
|
|
328
|
-
const r = n.metaTokens,
|
|
329
|
-
if (!
|
|
328
|
+
const r = n.metaTokens, o = n.visitor || c, a = n.dots, s = n.indexes, f = (n.Blob || typeof Blob < "u" && Blob) && i.isSpecCompliantForm(t);
|
|
329
|
+
if (!i.isFunction(o))
|
|
330
330
|
throw new TypeError("visitor must be a function");
|
|
331
|
-
function
|
|
331
|
+
function d(u) {
|
|
332
332
|
if (u === null) return "";
|
|
333
|
-
if (
|
|
333
|
+
if (i.isDate(u))
|
|
334
334
|
return u.toISOString();
|
|
335
|
-
if (
|
|
335
|
+
if (i.isBoolean(u))
|
|
336
336
|
return u.toString();
|
|
337
|
-
if (!
|
|
337
|
+
if (!f && i.isBlob(u))
|
|
338
338
|
throw new y("Blob is not supported. Use a Buffer instead.");
|
|
339
|
-
return
|
|
339
|
+
return i.isArrayBuffer(u) || i.isTypedArray(u) ? f && typeof Blob == "function" ? new Blob([u]) : Buffer.from(u) : u;
|
|
340
340
|
}
|
|
341
|
-
function c(u,
|
|
342
|
-
let
|
|
341
|
+
function c(u, h, p) {
|
|
342
|
+
let w = u;
|
|
343
343
|
if (u && !p && typeof u == "object") {
|
|
344
|
-
if (
|
|
345
|
-
|
|
346
|
-
else if (
|
|
347
|
-
return
|
|
348
|
-
!(
|
|
344
|
+
if (i.endsWith(h, "{}"))
|
|
345
|
+
h = r ? h : h.slice(0, -2), u = JSON.stringify(u);
|
|
346
|
+
else if (i.isArray(u) && dn(u) || (i.isFileList(u) || i.endsWith(h, "[]")) && (w = i.toArray(u)))
|
|
347
|
+
return h = ot(h), w.forEach(function(E, C) {
|
|
348
|
+
!(i.isUndefined(E) || E === null) && t.append(
|
|
349
349
|
// eslint-disable-next-line no-nested-ternary
|
|
350
|
-
|
|
351
|
-
|
|
350
|
+
s === !0 ? Me([h], C, a) : s === null ? h : h + "[]",
|
|
351
|
+
d(E)
|
|
352
352
|
);
|
|
353
353
|
}), !1;
|
|
354
354
|
}
|
|
355
|
-
return ge(u) ? !0 : (t.append(
|
|
355
|
+
return ge(u) ? !0 : (t.append(Me(p, h, a), d(u)), !1);
|
|
356
356
|
}
|
|
357
|
-
const
|
|
357
|
+
const m = [], b = Object.assign(fn, {
|
|
358
358
|
defaultVisitor: c,
|
|
359
|
-
convertValue:
|
|
359
|
+
convertValue: d,
|
|
360
360
|
isVisitable: ge
|
|
361
361
|
});
|
|
362
|
-
function
|
|
363
|
-
if (!
|
|
364
|
-
if (
|
|
365
|
-
throw Error("Circular reference detected in " +
|
|
366
|
-
|
|
367
|
-
(!(
|
|
362
|
+
function T(u, h) {
|
|
363
|
+
if (!i.isUndefined(u)) {
|
|
364
|
+
if (m.indexOf(u) !== -1)
|
|
365
|
+
throw Error("Circular reference detected in " + h.join("."));
|
|
366
|
+
m.push(u), i.forEach(u, function(w, R) {
|
|
367
|
+
(!(i.isUndefined(w) || w === null) && o.call(
|
|
368
368
|
t,
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
)) === !0 &&
|
|
374
|
-
}),
|
|
369
|
+
w,
|
|
370
|
+
i.isString(R) ? R.trim() : R,
|
|
371
|
+
h,
|
|
372
|
+
b
|
|
373
|
+
)) === !0 && T(w, h ? h.concat(R) : [R]);
|
|
374
|
+
}), m.pop();
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
|
-
if (!
|
|
377
|
+
if (!i.isObject(e))
|
|
378
378
|
throw new TypeError("data must be an object");
|
|
379
|
-
return
|
|
379
|
+
return T(e), t;
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function ve(e) {
|
|
382
382
|
const t = {
|
|
383
383
|
"!": "%21",
|
|
384
384
|
"'": "%27",
|
|
@@ -392,40 +392,40 @@ function De(e) {
|
|
|
392
392
|
return t[r];
|
|
393
393
|
});
|
|
394
394
|
}
|
|
395
|
-
function
|
|
395
|
+
function Te(e, t) {
|
|
396
396
|
this._pairs = [], e && le(e, this, t);
|
|
397
397
|
}
|
|
398
|
-
const st =
|
|
398
|
+
const st = Te.prototype;
|
|
399
399
|
st.append = function(t, n) {
|
|
400
400
|
this._pairs.push([t, n]);
|
|
401
401
|
};
|
|
402
402
|
st.toString = function(t) {
|
|
403
403
|
const n = t ? function(r) {
|
|
404
|
-
return t.call(this, r,
|
|
405
|
-
} :
|
|
406
|
-
return this._pairs.map(function(
|
|
407
|
-
return n(
|
|
404
|
+
return t.call(this, r, ve);
|
|
405
|
+
} : ve;
|
|
406
|
+
return this._pairs.map(function(o) {
|
|
407
|
+
return n(o[0]) + "=" + n(o[1]);
|
|
408
408
|
}, "").join("&");
|
|
409
409
|
};
|
|
410
|
-
function
|
|
410
|
+
function pn(e) {
|
|
411
411
|
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
412
412
|
}
|
|
413
|
-
function
|
|
413
|
+
function at(e, t, n) {
|
|
414
414
|
if (!t)
|
|
415
415
|
return e;
|
|
416
|
-
const r = n && n.encode ||
|
|
417
|
-
|
|
416
|
+
const r = n && n.encode || pn;
|
|
417
|
+
i.isFunction(n) && (n = {
|
|
418
418
|
serialize: n
|
|
419
419
|
});
|
|
420
|
-
const
|
|
421
|
-
let
|
|
422
|
-
if (
|
|
423
|
-
const
|
|
424
|
-
|
|
420
|
+
const o = n && n.serialize;
|
|
421
|
+
let a;
|
|
422
|
+
if (o ? a = o(t, n) : a = i.isURLSearchParams(t) ? t.toString() : new Te(t, n).toString(r), a) {
|
|
423
|
+
const s = e.indexOf("#");
|
|
424
|
+
s !== -1 && (e = e.slice(0, s)), e += (e.indexOf("?") === -1 ? "?" : "&") + a;
|
|
425
425
|
}
|
|
426
426
|
return e;
|
|
427
427
|
}
|
|
428
|
-
class
|
|
428
|
+
class Ne {
|
|
429
429
|
constructor() {
|
|
430
430
|
this.handlers = [];
|
|
431
431
|
}
|
|
@@ -474,7 +474,7 @@ class Be {
|
|
|
474
474
|
* @returns {void}
|
|
475
475
|
*/
|
|
476
476
|
forEach(t) {
|
|
477
|
-
|
|
477
|
+
i.forEach(this.handlers, function(r) {
|
|
478
478
|
r !== null && t(r);
|
|
479
479
|
});
|
|
480
480
|
}
|
|
@@ -483,109 +483,109 @@ const it = {
|
|
|
483
483
|
silentJSONParsing: !0,
|
|
484
484
|
forcedJSONParsing: !0,
|
|
485
485
|
clarifyTimeoutError: !1
|
|
486
|
-
},
|
|
486
|
+
}, mn = typeof URLSearchParams < "u" ? URLSearchParams : Te, hn = typeof FormData < "u" ? FormData : null, yn = typeof Blob < "u" ? Blob : null, gn = {
|
|
487
487
|
isBrowser: !0,
|
|
488
488
|
classes: {
|
|
489
|
-
URLSearchParams:
|
|
489
|
+
URLSearchParams: mn,
|
|
490
490
|
FormData: hn,
|
|
491
|
-
Blob:
|
|
491
|
+
Blob: yn
|
|
492
492
|
},
|
|
493
493
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
494
|
-
},
|
|
495
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", wn =
|
|
494
|
+
}, Se = typeof window < "u" && typeof document < "u", be = typeof navigator == "object" && navigator || void 0, bn = Se && (!be || ["ReactNative", "NativeScript", "NS"].indexOf(be.product) < 0), xn = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
495
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", wn = Se && window.location.href || "http://localhost", En = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
496
496
|
__proto__: null,
|
|
497
|
-
hasBrowserEnv:
|
|
498
|
-
hasStandardBrowserEnv:
|
|
499
|
-
hasStandardBrowserWebWorkerEnv:
|
|
497
|
+
hasBrowserEnv: Se,
|
|
498
|
+
hasStandardBrowserEnv: bn,
|
|
499
|
+
hasStandardBrowserWebWorkerEnv: xn,
|
|
500
500
|
navigator: be,
|
|
501
501
|
origin: wn
|
|
502
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
502
|
+
}, Symbol.toStringTag, { value: "Module" })), S = {
|
|
503
503
|
...En,
|
|
504
|
-
...
|
|
504
|
+
...gn
|
|
505
505
|
};
|
|
506
|
-
function
|
|
507
|
-
return le(e, new
|
|
508
|
-
visitor: function(n, r,
|
|
509
|
-
return
|
|
506
|
+
function Tn(e, t) {
|
|
507
|
+
return le(e, new S.classes.URLSearchParams(), {
|
|
508
|
+
visitor: function(n, r, o, a) {
|
|
509
|
+
return S.isNode && i.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : a.defaultVisitor.apply(this, arguments);
|
|
510
510
|
},
|
|
511
511
|
...t
|
|
512
512
|
});
|
|
513
513
|
}
|
|
514
|
-
function
|
|
515
|
-
return
|
|
514
|
+
function Sn(e) {
|
|
515
|
+
return i.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function Cn(e) {
|
|
518
518
|
const t = {}, n = Object.keys(e);
|
|
519
519
|
let r;
|
|
520
|
-
const
|
|
521
|
-
let
|
|
522
|
-
for (r = 0; r <
|
|
523
|
-
|
|
520
|
+
const o = n.length;
|
|
521
|
+
let a;
|
|
522
|
+
for (r = 0; r < o; r++)
|
|
523
|
+
a = n[r], t[a] = e[a];
|
|
524
524
|
return t;
|
|
525
525
|
}
|
|
526
|
-
function
|
|
527
|
-
function t(n, r,
|
|
528
|
-
let
|
|
529
|
-
if (
|
|
530
|
-
const l = Number.isFinite(+
|
|
531
|
-
return
|
|
532
|
-
}
|
|
533
|
-
if (
|
|
526
|
+
function lt(e) {
|
|
527
|
+
function t(n, r, o, a) {
|
|
528
|
+
let s = n[a++];
|
|
529
|
+
if (s === "__proto__") return !0;
|
|
530
|
+
const l = Number.isFinite(+s), f = a >= n.length;
|
|
531
|
+
return s = !s && i.isArray(o) ? o.length : s, f ? (i.hasOwnProp(o, s) ? o[s] = [o[s], r] : o[s] = r, !l) : ((!o[s] || !i.isObject(o[s])) && (o[s] = []), t(n, r, o[s], a) && i.isArray(o[s]) && (o[s] = Cn(o[s])), !l);
|
|
532
|
+
}
|
|
533
|
+
if (i.isFormData(e) && i.isFunction(e.entries)) {
|
|
534
534
|
const n = {};
|
|
535
|
-
return
|
|
536
|
-
t(
|
|
535
|
+
return i.forEachEntry(e, (r, o) => {
|
|
536
|
+
t(Sn(r), o, n, 0);
|
|
537
537
|
}), n;
|
|
538
538
|
}
|
|
539
539
|
return null;
|
|
540
540
|
}
|
|
541
541
|
function On(e, t, n) {
|
|
542
|
-
if (
|
|
542
|
+
if (i.isString(e))
|
|
543
543
|
try {
|
|
544
|
-
return (t || JSON.parse)(e),
|
|
544
|
+
return (t || JSON.parse)(e), i.trim(e);
|
|
545
545
|
} catch (r) {
|
|
546
546
|
if (r.name !== "SyntaxError")
|
|
547
547
|
throw r;
|
|
548
548
|
}
|
|
549
549
|
return (n || JSON.stringify)(e);
|
|
550
550
|
}
|
|
551
|
-
const
|
|
551
|
+
const K = {
|
|
552
552
|
transitional: it,
|
|
553
553
|
adapter: ["xhr", "http", "fetch"],
|
|
554
554
|
transformRequest: [function(t, n) {
|
|
555
|
-
const r = n.getContentType() || "",
|
|
556
|
-
if (
|
|
557
|
-
return
|
|
558
|
-
if (
|
|
555
|
+
const r = n.getContentType() || "", o = r.indexOf("application/json") > -1, a = i.isObject(t);
|
|
556
|
+
if (a && i.isHTMLForm(t) && (t = new FormData(t)), i.isFormData(t))
|
|
557
|
+
return o ? JSON.stringify(lt(t)) : t;
|
|
558
|
+
if (i.isArrayBuffer(t) || i.isBuffer(t) || i.isStream(t) || i.isFile(t) || i.isBlob(t) || i.isReadableStream(t))
|
|
559
559
|
return t;
|
|
560
|
-
if (
|
|
560
|
+
if (i.isArrayBufferView(t))
|
|
561
561
|
return t.buffer;
|
|
562
|
-
if (
|
|
562
|
+
if (i.isURLSearchParams(t))
|
|
563
563
|
return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
|
|
564
564
|
let l;
|
|
565
|
-
if (
|
|
565
|
+
if (a) {
|
|
566
566
|
if (r.indexOf("application/x-www-form-urlencoded") > -1)
|
|
567
|
-
return
|
|
568
|
-
if ((l =
|
|
569
|
-
const
|
|
567
|
+
return Tn(t, this.formSerializer).toString();
|
|
568
|
+
if ((l = i.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
|
|
569
|
+
const f = this.env && this.env.FormData;
|
|
570
570
|
return le(
|
|
571
571
|
l ? { "files[]": t } : t,
|
|
572
|
-
|
|
572
|
+
f && new f(),
|
|
573
573
|
this.formSerializer
|
|
574
574
|
);
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
|
-
return
|
|
577
|
+
return a || o ? (n.setContentType("application/json", !1), On(t)) : t;
|
|
578
578
|
}],
|
|
579
579
|
transformResponse: [function(t) {
|
|
580
|
-
const n = this.transitional ||
|
|
581
|
-
if (
|
|
580
|
+
const n = this.transitional || K.transitional, r = n && n.forcedJSONParsing, o = this.responseType === "json";
|
|
581
|
+
if (i.isResponse(t) || i.isReadableStream(t))
|
|
582
582
|
return t;
|
|
583
|
-
if (t &&
|
|
584
|
-
const
|
|
583
|
+
if (t && i.isString(t) && (r && !this.responseType || o)) {
|
|
584
|
+
const s = !(n && n.silentJSONParsing) && o;
|
|
585
585
|
try {
|
|
586
586
|
return JSON.parse(t, this.parseReviver);
|
|
587
587
|
} catch (l) {
|
|
588
|
-
if (
|
|
588
|
+
if (s)
|
|
589
589
|
throw l.name === "SyntaxError" ? y.from(l, y.ERR_BAD_RESPONSE, this, null, this.response) : l;
|
|
590
590
|
}
|
|
591
591
|
}
|
|
@@ -601,8 +601,8 @@ const X = {
|
|
|
601
601
|
maxContentLength: -1,
|
|
602
602
|
maxBodyLength: -1,
|
|
603
603
|
env: {
|
|
604
|
-
FormData:
|
|
605
|
-
Blob:
|
|
604
|
+
FormData: S.classes.FormData,
|
|
605
|
+
Blob: S.classes.Blob
|
|
606
606
|
},
|
|
607
607
|
validateStatus: function(t) {
|
|
608
608
|
return t >= 200 && t < 300;
|
|
@@ -614,10 +614,10 @@ const X = {
|
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
616
|
};
|
|
617
|
-
|
|
618
|
-
|
|
617
|
+
i.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
|
618
|
+
K.headers[e] = {};
|
|
619
619
|
});
|
|
620
|
-
const
|
|
620
|
+
const kn = i.toObjectSet([
|
|
621
621
|
"age",
|
|
622
622
|
"authorization",
|
|
623
623
|
"content-length",
|
|
@@ -635,21 +635,21 @@ const xn = a.toObjectSet([
|
|
|
635
635
|
"referer",
|
|
636
636
|
"retry-after",
|
|
637
637
|
"user-agent"
|
|
638
|
-
]),
|
|
638
|
+
]), Rn = (e) => {
|
|
639
639
|
const t = {};
|
|
640
|
-
let n, r,
|
|
640
|
+
let n, r, o;
|
|
641
641
|
return e && e.split(`
|
|
642
|
-
`).forEach(function(
|
|
643
|
-
|
|
642
|
+
`).forEach(function(s) {
|
|
643
|
+
o = s.indexOf(":"), n = s.substring(0, o).trim().toLowerCase(), r = s.substring(o + 1).trim(), !(!n || t[n] && kn[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
|
|
644
644
|
}), t;
|
|
645
|
-
},
|
|
645
|
+
}, Pe = Symbol("internals");
|
|
646
646
|
function V(e) {
|
|
647
647
|
return e && String(e).trim().toLowerCase();
|
|
648
648
|
}
|
|
649
649
|
function te(e) {
|
|
650
|
-
return e === !1 || e == null ? e :
|
|
650
|
+
return e === !1 || e == null ? e : i.isArray(e) ? e.map(te) : String(e);
|
|
651
651
|
}
|
|
652
|
-
function
|
|
652
|
+
function An(e) {
|
|
653
653
|
const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
654
654
|
let r;
|
|
655
655
|
for (; r = n.exec(e); )
|
|
@@ -657,114 +657,114 @@ function Cn(e) {
|
|
|
657
657
|
return t;
|
|
658
658
|
}
|
|
659
659
|
const Ln = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
|
|
660
|
-
function pe(e, t, n, r,
|
|
661
|
-
if (
|
|
660
|
+
function pe(e, t, n, r, o) {
|
|
661
|
+
if (i.isFunction(r))
|
|
662
662
|
return r.call(this, t, n);
|
|
663
|
-
if (
|
|
664
|
-
if (
|
|
663
|
+
if (o && (t = n), !!i.isString(t)) {
|
|
664
|
+
if (i.isString(r))
|
|
665
665
|
return t.indexOf(r) !== -1;
|
|
666
|
-
if (
|
|
666
|
+
if (i.isRegExp(r))
|
|
667
667
|
return r.test(t);
|
|
668
668
|
}
|
|
669
669
|
}
|
|
670
|
-
function
|
|
670
|
+
function Dn(e) {
|
|
671
671
|
return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, r) => n.toUpperCase() + r);
|
|
672
672
|
}
|
|
673
673
|
function Fn(e, t) {
|
|
674
|
-
const n =
|
|
674
|
+
const n = i.toCamelCase(" " + t);
|
|
675
675
|
["get", "set", "has"].forEach((r) => {
|
|
676
676
|
Object.defineProperty(e, r + n, {
|
|
677
|
-
value: function(
|
|
678
|
-
return this[r].call(this, t,
|
|
677
|
+
value: function(o, a, s) {
|
|
678
|
+
return this[r].call(this, t, o, a, s);
|
|
679
679
|
},
|
|
680
680
|
configurable: !0
|
|
681
681
|
});
|
|
682
682
|
});
|
|
683
683
|
}
|
|
684
|
-
let
|
|
684
|
+
let k = class {
|
|
685
685
|
constructor(t) {
|
|
686
686
|
t && this.set(t);
|
|
687
687
|
}
|
|
688
688
|
set(t, n, r) {
|
|
689
|
-
const
|
|
690
|
-
function
|
|
691
|
-
const c = V(
|
|
689
|
+
const o = this;
|
|
690
|
+
function a(l, f, d) {
|
|
691
|
+
const c = V(f);
|
|
692
692
|
if (!c)
|
|
693
693
|
throw new Error("header name must be a non-empty string");
|
|
694
|
-
const
|
|
695
|
-
(!
|
|
694
|
+
const m = i.findKey(o, c);
|
|
695
|
+
(!m || o[m] === void 0 || d === !0 || d === void 0 && o[m] !== !1) && (o[m || f] = te(l));
|
|
696
696
|
}
|
|
697
|
-
const
|
|
698
|
-
if (
|
|
699
|
-
|
|
700
|
-
else if (
|
|
701
|
-
|
|
702
|
-
else if (
|
|
703
|
-
let l = {},
|
|
697
|
+
const s = (l, f) => i.forEach(l, (d, c) => a(d, c, f));
|
|
698
|
+
if (i.isPlainObject(t) || t instanceof this.constructor)
|
|
699
|
+
s(t, n);
|
|
700
|
+
else if (i.isString(t) && (t = t.trim()) && !Ln(t))
|
|
701
|
+
s(Rn(t), n);
|
|
702
|
+
else if (i.isObject(t) && i.isIterable(t)) {
|
|
703
|
+
let l = {}, f, d;
|
|
704
704
|
for (const c of t) {
|
|
705
|
-
if (!
|
|
705
|
+
if (!i.isArray(c))
|
|
706
706
|
throw TypeError("Object iterator must return a key-value pair");
|
|
707
|
-
l[
|
|
707
|
+
l[d = c[0]] = (f = l[d]) ? i.isArray(f) ? [...f, c[1]] : [f, c[1]] : c[1];
|
|
708
708
|
}
|
|
709
|
-
|
|
709
|
+
s(l, n);
|
|
710
710
|
} else
|
|
711
|
-
t != null &&
|
|
711
|
+
t != null && a(n, t, r);
|
|
712
712
|
return this;
|
|
713
713
|
}
|
|
714
714
|
get(t, n) {
|
|
715
715
|
if (t = V(t), t) {
|
|
716
|
-
const r =
|
|
716
|
+
const r = i.findKey(this, t);
|
|
717
717
|
if (r) {
|
|
718
|
-
const
|
|
718
|
+
const o = this[r];
|
|
719
719
|
if (!n)
|
|
720
|
-
return
|
|
720
|
+
return o;
|
|
721
721
|
if (n === !0)
|
|
722
|
-
return
|
|
723
|
-
if (
|
|
724
|
-
return n.call(this,
|
|
725
|
-
if (
|
|
726
|
-
return n.exec(
|
|
722
|
+
return An(o);
|
|
723
|
+
if (i.isFunction(n))
|
|
724
|
+
return n.call(this, o, r);
|
|
725
|
+
if (i.isRegExp(n))
|
|
726
|
+
return n.exec(o);
|
|
727
727
|
throw new TypeError("parser must be boolean|regexp|function");
|
|
728
728
|
}
|
|
729
729
|
}
|
|
730
730
|
}
|
|
731
731
|
has(t, n) {
|
|
732
732
|
if (t = V(t), t) {
|
|
733
|
-
const r =
|
|
733
|
+
const r = i.findKey(this, t);
|
|
734
734
|
return !!(r && this[r] !== void 0 && (!n || pe(this, this[r], r, n)));
|
|
735
735
|
}
|
|
736
736
|
return !1;
|
|
737
737
|
}
|
|
738
738
|
delete(t, n) {
|
|
739
739
|
const r = this;
|
|
740
|
-
let
|
|
741
|
-
function
|
|
742
|
-
if (
|
|
743
|
-
const l =
|
|
744
|
-
l && (!n || pe(r, r[l], l, n)) && (delete r[l],
|
|
740
|
+
let o = !1;
|
|
741
|
+
function a(s) {
|
|
742
|
+
if (s = V(s), s) {
|
|
743
|
+
const l = i.findKey(r, s);
|
|
744
|
+
l && (!n || pe(r, r[l], l, n)) && (delete r[l], o = !0);
|
|
745
745
|
}
|
|
746
746
|
}
|
|
747
|
-
return
|
|
747
|
+
return i.isArray(t) ? t.forEach(a) : a(t), o;
|
|
748
748
|
}
|
|
749
749
|
clear(t) {
|
|
750
750
|
const n = Object.keys(this);
|
|
751
|
-
let r = n.length,
|
|
751
|
+
let r = n.length, o = !1;
|
|
752
752
|
for (; r--; ) {
|
|
753
|
-
const
|
|
754
|
-
(!t || pe(this, this[
|
|
753
|
+
const a = n[r];
|
|
754
|
+
(!t || pe(this, this[a], a, t, !0)) && (delete this[a], o = !0);
|
|
755
755
|
}
|
|
756
|
-
return
|
|
756
|
+
return o;
|
|
757
757
|
}
|
|
758
758
|
normalize(t) {
|
|
759
759
|
const n = this, r = {};
|
|
760
|
-
return
|
|
761
|
-
const
|
|
762
|
-
if (
|
|
763
|
-
n[
|
|
760
|
+
return i.forEach(this, (o, a) => {
|
|
761
|
+
const s = i.findKey(r, a);
|
|
762
|
+
if (s) {
|
|
763
|
+
n[s] = te(o), delete n[a];
|
|
764
764
|
return;
|
|
765
765
|
}
|
|
766
|
-
const l = t ?
|
|
767
|
-
l !==
|
|
766
|
+
const l = t ? Dn(a) : String(a).trim();
|
|
767
|
+
l !== a && delete n[a], n[l] = te(o), r[l] = !0;
|
|
768
768
|
}), this;
|
|
769
769
|
}
|
|
770
770
|
concat(...t) {
|
|
@@ -772,8 +772,8 @@ let A = class {
|
|
|
772
772
|
}
|
|
773
773
|
toJSON(t) {
|
|
774
774
|
const n = /* @__PURE__ */ Object.create(null);
|
|
775
|
-
return
|
|
776
|
-
r != null && r !== !1 && (n[
|
|
775
|
+
return i.forEach(this, (r, o) => {
|
|
776
|
+
r != null && r !== !1 && (n[o] = t && i.isArray(r) ? r.join(", ") : r);
|
|
777
777
|
}), n;
|
|
778
778
|
}
|
|
779
779
|
[Symbol.iterator]() {
|
|
@@ -794,21 +794,21 @@ let A = class {
|
|
|
794
794
|
}
|
|
795
795
|
static concat(t, ...n) {
|
|
796
796
|
const r = new this(t);
|
|
797
|
-
return n.forEach((
|
|
797
|
+
return n.forEach((o) => r.set(o)), r;
|
|
798
798
|
}
|
|
799
799
|
static accessor(t) {
|
|
800
|
-
const r = (this[
|
|
800
|
+
const r = (this[Pe] = this[Pe] = {
|
|
801
801
|
accessors: {}
|
|
802
|
-
}).accessors,
|
|
803
|
-
function
|
|
804
|
-
const l = V(
|
|
805
|
-
r[l] || (Fn(
|
|
802
|
+
}).accessors, o = this.prototype;
|
|
803
|
+
function a(s) {
|
|
804
|
+
const l = V(s);
|
|
805
|
+
r[l] || (Fn(o, s), r[l] = !0);
|
|
806
806
|
}
|
|
807
|
-
return
|
|
807
|
+
return i.isArray(t) ? t.forEach(a) : a(t), this;
|
|
808
808
|
}
|
|
809
809
|
};
|
|
810
|
-
|
|
811
|
-
|
|
810
|
+
k.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
|
811
|
+
i.reduceDescriptors(k.prototype, ({ value: e }, t) => {
|
|
812
812
|
let n = t[0].toUpperCase() + t.slice(1);
|
|
813
813
|
return {
|
|
814
814
|
get: () => e,
|
|
@@ -817,24 +817,24 @@ a.reduceDescriptors(A.prototype, ({ value: e }, t) => {
|
|
|
817
817
|
}
|
|
818
818
|
};
|
|
819
819
|
});
|
|
820
|
-
|
|
821
|
-
function
|
|
822
|
-
const n = this ||
|
|
823
|
-
let
|
|
824
|
-
return
|
|
825
|
-
|
|
826
|
-
}),
|
|
820
|
+
i.freezeMethods(k);
|
|
821
|
+
function me(e, t) {
|
|
822
|
+
const n = this || K, r = t || n, o = k.from(r.headers);
|
|
823
|
+
let a = r.data;
|
|
824
|
+
return i.forEach(e, function(l) {
|
|
825
|
+
a = l.call(n, a, o.normalize(), t ? t.status : void 0);
|
|
826
|
+
}), o.normalize(), a;
|
|
827
827
|
}
|
|
828
|
-
function
|
|
828
|
+
function ct(e) {
|
|
829
829
|
return !!(e && e.__CANCEL__);
|
|
830
830
|
}
|
|
831
|
-
function
|
|
831
|
+
function W(e, t, n) {
|
|
832
832
|
y.call(this, e ?? "canceled", y.ERR_CANCELED, t, n), this.name = "CanceledError";
|
|
833
833
|
}
|
|
834
|
-
|
|
834
|
+
i.inherits(W, y, {
|
|
835
835
|
__CANCEL__: !0
|
|
836
836
|
});
|
|
837
|
-
function
|
|
837
|
+
function ut(e, t, n) {
|
|
838
838
|
const r = n.config.validateStatus;
|
|
839
839
|
!n.status || !r || r(n.status) ? e(n) : t(new y(
|
|
840
840
|
"Request failed with status code " + n.status,
|
|
@@ -844,73 +844,73 @@ function ct(e, t, n) {
|
|
|
844
844
|
n
|
|
845
845
|
));
|
|
846
846
|
}
|
|
847
|
-
function
|
|
847
|
+
function Mn(e) {
|
|
848
848
|
const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
|
|
849
849
|
return t && t[1] || "";
|
|
850
850
|
}
|
|
851
|
-
function
|
|
851
|
+
function vn(e, t) {
|
|
852
852
|
e = e || 10;
|
|
853
853
|
const n = new Array(e), r = new Array(e);
|
|
854
|
-
let
|
|
855
|
-
return t = t !== void 0 ? t : 1e3, function(
|
|
856
|
-
const
|
|
857
|
-
|
|
858
|
-
let
|
|
859
|
-
for (;
|
|
860
|
-
|
|
861
|
-
if (
|
|
854
|
+
let o = 0, a = 0, s;
|
|
855
|
+
return t = t !== void 0 ? t : 1e3, function(f) {
|
|
856
|
+
const d = Date.now(), c = r[a];
|
|
857
|
+
s || (s = d), n[o] = f, r[o] = d;
|
|
858
|
+
let m = a, b = 0;
|
|
859
|
+
for (; m !== o; )
|
|
860
|
+
b += n[m++], m = m % e;
|
|
861
|
+
if (o = (o + 1) % e, o === a && (a = (a + 1) % e), d - s < t)
|
|
862
862
|
return;
|
|
863
|
-
const
|
|
864
|
-
return
|
|
863
|
+
const T = c && d - c;
|
|
864
|
+
return T ? Math.round(b * 1e3 / T) : void 0;
|
|
865
865
|
};
|
|
866
866
|
}
|
|
867
|
-
function
|
|
868
|
-
let n = 0, r = 1e3 / t,
|
|
869
|
-
const
|
|
870
|
-
n = c,
|
|
867
|
+
function Nn(e, t) {
|
|
868
|
+
let n = 0, r = 1e3 / t, o, a;
|
|
869
|
+
const s = (d, c = Date.now()) => {
|
|
870
|
+
n = c, o = null, a && (clearTimeout(a), a = null), e(...d);
|
|
871
871
|
};
|
|
872
|
-
return [(...
|
|
873
|
-
const c = Date.now(),
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
}, r -
|
|
877
|
-
}, () =>
|
|
872
|
+
return [(...d) => {
|
|
873
|
+
const c = Date.now(), m = c - n;
|
|
874
|
+
m >= r ? s(d, c) : (o = d, a || (a = setTimeout(() => {
|
|
875
|
+
a = null, s(o);
|
|
876
|
+
}, r - m)));
|
|
877
|
+
}, () => o && s(o)];
|
|
878
878
|
}
|
|
879
879
|
const re = (e, t, n = 3) => {
|
|
880
880
|
let r = 0;
|
|
881
|
-
const
|
|
882
|
-
return
|
|
883
|
-
const
|
|
884
|
-
r =
|
|
885
|
-
const
|
|
886
|
-
loaded:
|
|
881
|
+
const o = vn(50, 250);
|
|
882
|
+
return Nn((a) => {
|
|
883
|
+
const s = a.loaded, l = a.lengthComputable ? a.total : void 0, f = s - r, d = o(f), c = s <= l;
|
|
884
|
+
r = s;
|
|
885
|
+
const m = {
|
|
886
|
+
loaded: s,
|
|
887
887
|
total: l,
|
|
888
|
-
progress: l ?
|
|
889
|
-
bytes:
|
|
890
|
-
rate:
|
|
891
|
-
estimated:
|
|
892
|
-
event:
|
|
888
|
+
progress: l ? s / l : void 0,
|
|
889
|
+
bytes: f,
|
|
890
|
+
rate: d || void 0,
|
|
891
|
+
estimated: d && l && c ? (l - s) / d : void 0,
|
|
892
|
+
event: a,
|
|
893
893
|
lengthComputable: l != null,
|
|
894
894
|
[t ? "download" : "upload"]: !0
|
|
895
895
|
};
|
|
896
|
-
e(
|
|
896
|
+
e(m);
|
|
897
897
|
}, n);
|
|
898
|
-
},
|
|
898
|
+
}, Be = (e, t) => {
|
|
899
899
|
const n = e != null;
|
|
900
900
|
return [(r) => t[0]({
|
|
901
901
|
lengthComputable: n,
|
|
902
902
|
total: e,
|
|
903
903
|
loaded: r
|
|
904
904
|
}), t[1]];
|
|
905
|
-
},
|
|
906
|
-
new URL(
|
|
907
|
-
|
|
908
|
-
) : () => !0,
|
|
905
|
+
}, qe = (e) => (...t) => i.asap(() => e(...t)), Pn = S.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, S.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
|
|
906
|
+
new URL(S.origin),
|
|
907
|
+
S.navigator && /(msie|trident)/i.test(S.navigator.userAgent)
|
|
908
|
+
) : () => !0, Bn = S.hasStandardBrowserEnv ? (
|
|
909
909
|
// Standard browser envs support document.cookie
|
|
910
910
|
{
|
|
911
|
-
write(e, t, n, r,
|
|
912
|
-
const
|
|
913
|
-
|
|
911
|
+
write(e, t, n, r, o, a) {
|
|
912
|
+
const s = [e + "=" + encodeURIComponent(t)];
|
|
913
|
+
i.isNumber(n) && s.push("expires=" + new Date(n).toGMTString()), i.isString(r) && s.push("path=" + r), i.isString(o) && s.push("domain=" + o), a === !0 && s.push("secure"), document.cookie = s.join("; ");
|
|
914
914
|
},
|
|
915
915
|
read(e) {
|
|
916
916
|
const t = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)"));
|
|
@@ -932,196 +932,196 @@ const re = (e, t, n = 3) => {
|
|
|
932
932
|
}
|
|
933
933
|
}
|
|
934
934
|
);
|
|
935
|
-
function
|
|
935
|
+
function qn(e) {
|
|
936
936
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
|
|
937
937
|
}
|
|
938
|
-
function
|
|
938
|
+
function Un(e, t) {
|
|
939
939
|
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
940
940
|
}
|
|
941
|
-
function
|
|
942
|
-
let r = !
|
|
943
|
-
return e && (r || n == !1) ?
|
|
941
|
+
function dt(e, t, n) {
|
|
942
|
+
let r = !qn(t);
|
|
943
|
+
return e && (r || n == !1) ? Un(e, t) : t;
|
|
944
944
|
}
|
|
945
|
-
const
|
|
946
|
-
function
|
|
945
|
+
const Ue = (e) => e instanceof k ? { ...e } : e;
|
|
946
|
+
function $(e, t) {
|
|
947
947
|
t = t || {};
|
|
948
948
|
const n = {};
|
|
949
|
-
function r(
|
|
950
|
-
return
|
|
949
|
+
function r(d, c, m, b) {
|
|
950
|
+
return i.isPlainObject(d) && i.isPlainObject(c) ? i.merge.call({ caseless: b }, d, c) : i.isPlainObject(c) ? i.merge({}, c) : i.isArray(c) ? c.slice() : c;
|
|
951
951
|
}
|
|
952
|
-
function
|
|
953
|
-
if (
|
|
954
|
-
if (!
|
|
955
|
-
return r(void 0,
|
|
956
|
-
} else return r(
|
|
952
|
+
function o(d, c, m, b) {
|
|
953
|
+
if (i.isUndefined(c)) {
|
|
954
|
+
if (!i.isUndefined(d))
|
|
955
|
+
return r(void 0, d, m, b);
|
|
956
|
+
} else return r(d, c, m, b);
|
|
957
957
|
}
|
|
958
|
-
function
|
|
959
|
-
if (!
|
|
958
|
+
function a(d, c) {
|
|
959
|
+
if (!i.isUndefined(c))
|
|
960
960
|
return r(void 0, c);
|
|
961
961
|
}
|
|
962
|
-
function
|
|
963
|
-
if (
|
|
964
|
-
if (!
|
|
965
|
-
return r(void 0,
|
|
962
|
+
function s(d, c) {
|
|
963
|
+
if (i.isUndefined(c)) {
|
|
964
|
+
if (!i.isUndefined(d))
|
|
965
|
+
return r(void 0, d);
|
|
966
966
|
} else return r(void 0, c);
|
|
967
967
|
}
|
|
968
|
-
function l(
|
|
969
|
-
if (
|
|
970
|
-
return r(
|
|
971
|
-
if (
|
|
972
|
-
return r(void 0,
|
|
973
|
-
}
|
|
974
|
-
const
|
|
975
|
-
url:
|
|
976
|
-
method:
|
|
977
|
-
data:
|
|
978
|
-
baseURL:
|
|
979
|
-
transformRequest:
|
|
980
|
-
transformResponse:
|
|
981
|
-
paramsSerializer:
|
|
982
|
-
timeout:
|
|
983
|
-
timeoutMessage:
|
|
984
|
-
withCredentials:
|
|
985
|
-
withXSRFToken:
|
|
986
|
-
adapter:
|
|
987
|
-
responseType:
|
|
988
|
-
xsrfCookieName:
|
|
989
|
-
xsrfHeaderName:
|
|
990
|
-
onUploadProgress:
|
|
991
|
-
onDownloadProgress:
|
|
992
|
-
decompress:
|
|
993
|
-
maxContentLength:
|
|
994
|
-
maxBodyLength:
|
|
995
|
-
beforeRedirect:
|
|
996
|
-
transport:
|
|
997
|
-
httpAgent:
|
|
998
|
-
httpsAgent:
|
|
999
|
-
cancelToken:
|
|
1000
|
-
socketPath:
|
|
1001
|
-
responseEncoding:
|
|
968
|
+
function l(d, c, m) {
|
|
969
|
+
if (m in t)
|
|
970
|
+
return r(d, c);
|
|
971
|
+
if (m in e)
|
|
972
|
+
return r(void 0, d);
|
|
973
|
+
}
|
|
974
|
+
const f = {
|
|
975
|
+
url: a,
|
|
976
|
+
method: a,
|
|
977
|
+
data: a,
|
|
978
|
+
baseURL: s,
|
|
979
|
+
transformRequest: s,
|
|
980
|
+
transformResponse: s,
|
|
981
|
+
paramsSerializer: s,
|
|
982
|
+
timeout: s,
|
|
983
|
+
timeoutMessage: s,
|
|
984
|
+
withCredentials: s,
|
|
985
|
+
withXSRFToken: s,
|
|
986
|
+
adapter: s,
|
|
987
|
+
responseType: s,
|
|
988
|
+
xsrfCookieName: s,
|
|
989
|
+
xsrfHeaderName: s,
|
|
990
|
+
onUploadProgress: s,
|
|
991
|
+
onDownloadProgress: s,
|
|
992
|
+
decompress: s,
|
|
993
|
+
maxContentLength: s,
|
|
994
|
+
maxBodyLength: s,
|
|
995
|
+
beforeRedirect: s,
|
|
996
|
+
transport: s,
|
|
997
|
+
httpAgent: s,
|
|
998
|
+
httpsAgent: s,
|
|
999
|
+
cancelToken: s,
|
|
1000
|
+
socketPath: s,
|
|
1001
|
+
responseEncoding: s,
|
|
1002
1002
|
validateStatus: l,
|
|
1003
|
-
headers: (
|
|
1003
|
+
headers: (d, c, m) => o(Ue(d), Ue(c), m, !0)
|
|
1004
1004
|
};
|
|
1005
|
-
return
|
|
1006
|
-
const
|
|
1007
|
-
|
|
1005
|
+
return i.forEach(Object.keys({ ...e, ...t }), function(c) {
|
|
1006
|
+
const m = f[c] || o, b = m(e[c], t[c], c);
|
|
1007
|
+
i.isUndefined(b) && m !== l || (n[c] = b);
|
|
1008
1008
|
}), n;
|
|
1009
1009
|
}
|
|
1010
1010
|
const ft = (e) => {
|
|
1011
|
-
const t =
|
|
1012
|
-
let { data: n, withXSRFToken: r, xsrfHeaderName:
|
|
1013
|
-
if (t.headers =
|
|
1011
|
+
const t = $({}, e);
|
|
1012
|
+
let { data: n, withXSRFToken: r, xsrfHeaderName: o, xsrfCookieName: a, headers: s, auth: l } = t;
|
|
1013
|
+
if (t.headers = s = k.from(s), t.url = at(dt(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), l && s.set(
|
|
1014
1014
|
"Authorization",
|
|
1015
1015
|
"Basic " + btoa((l.username || "") + ":" + (l.password ? unescape(encodeURIComponent(l.password)) : ""))
|
|
1016
|
-
),
|
|
1017
|
-
if (
|
|
1018
|
-
|
|
1019
|
-
else if (
|
|
1020
|
-
const
|
|
1021
|
-
Object.entries(
|
|
1022
|
-
|
|
1016
|
+
), i.isFormData(n)) {
|
|
1017
|
+
if (S.hasStandardBrowserEnv || S.hasStandardBrowserWebWorkerEnv)
|
|
1018
|
+
s.setContentType(void 0);
|
|
1019
|
+
else if (i.isFunction(n.getHeaders)) {
|
|
1020
|
+
const f = n.getHeaders(), d = ["content-type", "content-length"];
|
|
1021
|
+
Object.entries(f).forEach(([c, m]) => {
|
|
1022
|
+
d.includes(c.toLowerCase()) && s.set(c, m);
|
|
1023
1023
|
});
|
|
1024
1024
|
}
|
|
1025
1025
|
}
|
|
1026
|
-
if (
|
|
1027
|
-
const
|
|
1028
|
-
|
|
1026
|
+
if (S.hasStandardBrowserEnv && (r && i.isFunction(r) && (r = r(t)), r || r !== !1 && Pn(t.url))) {
|
|
1027
|
+
const f = o && a && Bn.read(a);
|
|
1028
|
+
f && s.set(o, f);
|
|
1029
1029
|
}
|
|
1030
1030
|
return t;
|
|
1031
|
-
},
|
|
1031
|
+
}, $n = typeof XMLHttpRequest < "u", In = $n && function(e) {
|
|
1032
1032
|
return new Promise(function(n, r) {
|
|
1033
|
-
const
|
|
1034
|
-
let
|
|
1035
|
-
const
|
|
1036
|
-
let { responseType: l, onUploadProgress:
|
|
1037
|
-
function
|
|
1038
|
-
|
|
1033
|
+
const o = ft(e);
|
|
1034
|
+
let a = o.data;
|
|
1035
|
+
const s = k.from(o.headers).normalize();
|
|
1036
|
+
let { responseType: l, onUploadProgress: f, onDownloadProgress: d } = o, c, m, b, T, u;
|
|
1037
|
+
function h() {
|
|
1038
|
+
T && T(), u && u(), o.cancelToken && o.cancelToken.unsubscribe(c), o.signal && o.signal.removeEventListener("abort", c);
|
|
1039
1039
|
}
|
|
1040
1040
|
let p = new XMLHttpRequest();
|
|
1041
|
-
p.open(
|
|
1042
|
-
function
|
|
1041
|
+
p.open(o.method.toUpperCase(), o.url, !0), p.timeout = o.timeout;
|
|
1042
|
+
function w() {
|
|
1043
1043
|
if (!p)
|
|
1044
1044
|
return;
|
|
1045
|
-
const
|
|
1045
|
+
const E = k.from(
|
|
1046
1046
|
"getAllResponseHeaders" in p && p.getAllResponseHeaders()
|
|
1047
|
-
),
|
|
1047
|
+
), L = {
|
|
1048
1048
|
data: !l || l === "text" || l === "json" ? p.responseText : p.response,
|
|
1049
1049
|
status: p.status,
|
|
1050
1050
|
statusText: p.statusText,
|
|
1051
|
-
headers:
|
|
1051
|
+
headers: E,
|
|
1052
1052
|
config: e,
|
|
1053
1053
|
request: p
|
|
1054
1054
|
};
|
|
1055
|
-
|
|
1056
|
-
n(
|
|
1057
|
-
}, function(
|
|
1058
|
-
r(
|
|
1059
|
-
},
|
|
1055
|
+
ut(function(A) {
|
|
1056
|
+
n(A), h();
|
|
1057
|
+
}, function(A) {
|
|
1058
|
+
r(A), h();
|
|
1059
|
+
}, L), p = null;
|
|
1060
1060
|
}
|
|
1061
|
-
"onloadend" in p ? p.onloadend =
|
|
1062
|
-
!p || p.readyState !== 4 || p.status === 0 && !(p.responseURL && p.responseURL.indexOf("file:") === 0) || setTimeout(
|
|
1061
|
+
"onloadend" in p ? p.onloadend = w : p.onreadystatechange = function() {
|
|
1062
|
+
!p || p.readyState !== 4 || p.status === 0 && !(p.responseURL && p.responseURL.indexOf("file:") === 0) || setTimeout(w);
|
|
1063
1063
|
}, p.onabort = function() {
|
|
1064
1064
|
p && (r(new y("Request aborted", y.ECONNABORTED, e, p)), p = null);
|
|
1065
|
-
}, p.onerror = function(
|
|
1066
|
-
const
|
|
1067
|
-
|
|
1065
|
+
}, p.onerror = function(C) {
|
|
1066
|
+
const L = C && C.message ? C.message : "Network Error", P = new y(L, y.ERR_NETWORK, e, p);
|
|
1067
|
+
P.event = C || null, r(P), p = null;
|
|
1068
1068
|
}, p.ontimeout = function() {
|
|
1069
|
-
let
|
|
1070
|
-
const
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1069
|
+
let C = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
|
|
1070
|
+
const L = o.transitional || it;
|
|
1071
|
+
o.timeoutErrorMessage && (C = o.timeoutErrorMessage), r(new y(
|
|
1072
|
+
C,
|
|
1073
|
+
L.clarifyTimeoutError ? y.ETIMEDOUT : y.ECONNABORTED,
|
|
1074
1074
|
e,
|
|
1075
1075
|
p
|
|
1076
1076
|
)), p = null;
|
|
1077
|
-
},
|
|
1078
|
-
p.setRequestHeader(
|
|
1079
|
-
}),
|
|
1080
|
-
p && (r(!
|
|
1081
|
-
},
|
|
1082
|
-
const
|
|
1083
|
-
if (
|
|
1084
|
-
r(new y("Unsupported protocol " +
|
|
1077
|
+
}, a === void 0 && s.setContentType(null), "setRequestHeader" in p && i.forEach(s.toJSON(), function(C, L) {
|
|
1078
|
+
p.setRequestHeader(L, C);
|
|
1079
|
+
}), i.isUndefined(o.withCredentials) || (p.withCredentials = !!o.withCredentials), l && l !== "json" && (p.responseType = o.responseType), d && ([b, u] = re(d, !0), p.addEventListener("progress", b)), f && p.upload && ([m, T] = re(f), p.upload.addEventListener("progress", m), p.upload.addEventListener("loadend", T)), (o.cancelToken || o.signal) && (c = (E) => {
|
|
1080
|
+
p && (r(!E || E.type ? new W(null, e, p) : E), p.abort(), p = null);
|
|
1081
|
+
}, o.cancelToken && o.cancelToken.subscribe(c), o.signal && (o.signal.aborted ? c() : o.signal.addEventListener("abort", c)));
|
|
1082
|
+
const R = Mn(o.url);
|
|
1083
|
+
if (R && S.protocols.indexOf(R) === -1) {
|
|
1084
|
+
r(new y("Unsupported protocol " + R + ":", y.ERR_BAD_REQUEST, e));
|
|
1085
1085
|
return;
|
|
1086
1086
|
}
|
|
1087
|
-
p.send(
|
|
1087
|
+
p.send(a || null);
|
|
1088
1088
|
});
|
|
1089
|
-
},
|
|
1089
|
+
}, jn = (e, t) => {
|
|
1090
1090
|
const { length: n } = e = e ? e.filter(Boolean) : [];
|
|
1091
1091
|
if (t || n) {
|
|
1092
|
-
let r = new AbortController(),
|
|
1093
|
-
const
|
|
1094
|
-
if (!
|
|
1095
|
-
|
|
1096
|
-
const c =
|
|
1097
|
-
r.abort(c instanceof y ? c : new
|
|
1092
|
+
let r = new AbortController(), o;
|
|
1093
|
+
const a = function(d) {
|
|
1094
|
+
if (!o) {
|
|
1095
|
+
o = !0, l();
|
|
1096
|
+
const c = d instanceof Error ? d : this.reason;
|
|
1097
|
+
r.abort(c instanceof y ? c : new W(c instanceof Error ? c.message : c));
|
|
1098
1098
|
}
|
|
1099
1099
|
};
|
|
1100
|
-
let
|
|
1101
|
-
|
|
1100
|
+
let s = t && setTimeout(() => {
|
|
1101
|
+
s = null, a(new y(`timeout ${t} of ms exceeded`, y.ETIMEDOUT));
|
|
1102
1102
|
}, t);
|
|
1103
1103
|
const l = () => {
|
|
1104
|
-
e && (
|
|
1105
|
-
|
|
1104
|
+
e && (s && clearTimeout(s), s = null, e.forEach((d) => {
|
|
1105
|
+
d.unsubscribe ? d.unsubscribe(a) : d.removeEventListener("abort", a);
|
|
1106
1106
|
}), e = null);
|
|
1107
1107
|
};
|
|
1108
|
-
e.forEach((
|
|
1109
|
-
const { signal:
|
|
1110
|
-
return
|
|
1108
|
+
e.forEach((d) => d.addEventListener("abort", a));
|
|
1109
|
+
const { signal: f } = r;
|
|
1110
|
+
return f.unsubscribe = () => i.asap(l), f;
|
|
1111
1111
|
}
|
|
1112
|
-
},
|
|
1112
|
+
}, _n = function* (e, t) {
|
|
1113
1113
|
let n = e.byteLength;
|
|
1114
1114
|
if (n < t) {
|
|
1115
1115
|
yield e;
|
|
1116
1116
|
return;
|
|
1117
1117
|
}
|
|
1118
|
-
let r = 0,
|
|
1118
|
+
let r = 0, o;
|
|
1119
1119
|
for (; r < n; )
|
|
1120
|
-
|
|
1121
|
-
},
|
|
1122
|
-
for await (const n of
|
|
1123
|
-
yield*
|
|
1124
|
-
},
|
|
1120
|
+
o = r + t, yield e.slice(r, o), r = o;
|
|
1121
|
+
}, Wn = async function* (e, t) {
|
|
1122
|
+
for await (const n of Hn(e))
|
|
1123
|
+
yield* _n(n, t);
|
|
1124
|
+
}, Hn = async function* (e) {
|
|
1125
1125
|
if (e[Symbol.asyncIterator]) {
|
|
1126
1126
|
yield* e;
|
|
1127
1127
|
return;
|
|
@@ -1137,200 +1137,200 @@ const ft = (e) => {
|
|
|
1137
1137
|
} finally {
|
|
1138
1138
|
await t.cancel();
|
|
1139
1139
|
}
|
|
1140
|
-
},
|
|
1141
|
-
const
|
|
1142
|
-
let
|
|
1143
|
-
|
|
1140
|
+
}, $e = (e, t, n, r) => {
|
|
1141
|
+
const o = Wn(e, t);
|
|
1142
|
+
let a = 0, s, l = (f) => {
|
|
1143
|
+
s || (s = !0, r && r(f));
|
|
1144
1144
|
};
|
|
1145
1145
|
return new ReadableStream({
|
|
1146
|
-
async pull(
|
|
1146
|
+
async pull(f) {
|
|
1147
1147
|
try {
|
|
1148
|
-
const { done:
|
|
1149
|
-
if (
|
|
1150
|
-
l(),
|
|
1148
|
+
const { done: d, value: c } = await o.next();
|
|
1149
|
+
if (d) {
|
|
1150
|
+
l(), f.close();
|
|
1151
1151
|
return;
|
|
1152
1152
|
}
|
|
1153
|
-
let
|
|
1153
|
+
let m = c.byteLength;
|
|
1154
1154
|
if (n) {
|
|
1155
|
-
let
|
|
1156
|
-
n(
|
|
1155
|
+
let b = a += m;
|
|
1156
|
+
n(b);
|
|
1157
1157
|
}
|
|
1158
|
-
|
|
1159
|
-
} catch (
|
|
1160
|
-
throw l(
|
|
1158
|
+
f.enqueue(new Uint8Array(c));
|
|
1159
|
+
} catch (d) {
|
|
1160
|
+
throw l(d), d;
|
|
1161
1161
|
}
|
|
1162
1162
|
},
|
|
1163
|
-
cancel(
|
|
1164
|
-
return l(
|
|
1163
|
+
cancel(f) {
|
|
1164
|
+
return l(f), o.return();
|
|
1165
1165
|
}
|
|
1166
1166
|
}, {
|
|
1167
1167
|
highWaterMark: 2
|
|
1168
1168
|
});
|
|
1169
|
-
}, Ie = 64 * 1024, { isFunction: Z } =
|
|
1169
|
+
}, Ie = 64 * 1024, { isFunction: Z } = i, Vn = (({ Request: e, Response: t }) => ({
|
|
1170
1170
|
Request: e,
|
|
1171
1171
|
Response: t
|
|
1172
|
-
}))(
|
|
1173
|
-
ReadableStream:
|
|
1174
|
-
TextEncoder:
|
|
1175
|
-
} =
|
|
1172
|
+
}))(i.global), {
|
|
1173
|
+
ReadableStream: je,
|
|
1174
|
+
TextEncoder: _e
|
|
1175
|
+
} = i.global, We = (e, ...t) => {
|
|
1176
1176
|
try {
|
|
1177
1177
|
return !!e(...t);
|
|
1178
1178
|
} catch {
|
|
1179
1179
|
return !1;
|
|
1180
1180
|
}
|
|
1181
|
-
},
|
|
1182
|
-
e =
|
|
1181
|
+
}, zn = (e) => {
|
|
1182
|
+
e = i.merge.call({
|
|
1183
1183
|
skipUndefined: !0
|
|
1184
|
-
},
|
|
1185
|
-
const { fetch: t, Request: n, Response: r } = e,
|
|
1186
|
-
if (!
|
|
1184
|
+
}, Vn, e);
|
|
1185
|
+
const { fetch: t, Request: n, Response: r } = e, o = t ? Z(t) : typeof fetch == "function", a = Z(n), s = Z(r);
|
|
1186
|
+
if (!o)
|
|
1187
1187
|
return !1;
|
|
1188
|
-
const l =
|
|
1188
|
+
const l = o && Z(je), f = o && (typeof _e == "function" ? /* @__PURE__ */ ((u) => (h) => u.encode(h))(new _e()) : async (u) => new Uint8Array(await new n(u).arrayBuffer())), d = a && l && We(() => {
|
|
1189
1189
|
let u = !1;
|
|
1190
|
-
const
|
|
1191
|
-
body: new
|
|
1190
|
+
const h = new n(S.origin, {
|
|
1191
|
+
body: new je(),
|
|
1192
1192
|
method: "POST",
|
|
1193
1193
|
get duplex() {
|
|
1194
1194
|
return u = !0, "half";
|
|
1195
1195
|
}
|
|
1196
1196
|
}).headers.has("Content-Type");
|
|
1197
|
-
return u && !
|
|
1198
|
-
}), c =
|
|
1197
|
+
return u && !h;
|
|
1198
|
+
}), c = s && l && We(() => i.isReadableStream(new r("").body)), m = {
|
|
1199
1199
|
stream: c && ((u) => u.body)
|
|
1200
1200
|
};
|
|
1201
|
-
|
|
1202
|
-
!
|
|
1203
|
-
let
|
|
1204
|
-
if (
|
|
1205
|
-
return
|
|
1201
|
+
o && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((u) => {
|
|
1202
|
+
!m[u] && (m[u] = (h, p) => {
|
|
1203
|
+
let w = h && h[u];
|
|
1204
|
+
if (w)
|
|
1205
|
+
return w.call(h);
|
|
1206
1206
|
throw new y(`Response type '${u}' is not supported`, y.ERR_NOT_SUPPORT, p);
|
|
1207
1207
|
});
|
|
1208
1208
|
});
|
|
1209
|
-
const
|
|
1209
|
+
const b = async (u) => {
|
|
1210
1210
|
if (u == null)
|
|
1211
1211
|
return 0;
|
|
1212
|
-
if (
|
|
1212
|
+
if (i.isBlob(u))
|
|
1213
1213
|
return u.size;
|
|
1214
|
-
if (
|
|
1215
|
-
return (await new n(
|
|
1214
|
+
if (i.isSpecCompliantForm(u))
|
|
1215
|
+
return (await new n(S.origin, {
|
|
1216
1216
|
method: "POST",
|
|
1217
1217
|
body: u
|
|
1218
1218
|
}).arrayBuffer()).byteLength;
|
|
1219
|
-
if (
|
|
1219
|
+
if (i.isArrayBufferView(u) || i.isArrayBuffer(u))
|
|
1220
1220
|
return u.byteLength;
|
|
1221
|
-
if (
|
|
1222
|
-
return (await
|
|
1223
|
-
},
|
|
1224
|
-
const p =
|
|
1225
|
-
return p ??
|
|
1221
|
+
if (i.isURLSearchParams(u) && (u = u + ""), i.isString(u))
|
|
1222
|
+
return (await f(u)).byteLength;
|
|
1223
|
+
}, T = async (u, h) => {
|
|
1224
|
+
const p = i.toFiniteNumber(u.getContentLength());
|
|
1225
|
+
return p ?? b(h);
|
|
1226
1226
|
};
|
|
1227
1227
|
return async (u) => {
|
|
1228
1228
|
let {
|
|
1229
|
-
url:
|
|
1229
|
+
url: h,
|
|
1230
1230
|
method: p,
|
|
1231
|
-
data:
|
|
1232
|
-
signal:
|
|
1233
|
-
cancelToken:
|
|
1234
|
-
timeout:
|
|
1235
|
-
onDownloadProgress:
|
|
1236
|
-
onUploadProgress:
|
|
1237
|
-
responseType:
|
|
1231
|
+
data: w,
|
|
1232
|
+
signal: R,
|
|
1233
|
+
cancelToken: E,
|
|
1234
|
+
timeout: C,
|
|
1235
|
+
onDownloadProgress: L,
|
|
1236
|
+
onUploadProgress: P,
|
|
1237
|
+
responseType: A,
|
|
1238
1238
|
headers: ue,
|
|
1239
1239
|
withCredentials: G = "same-origin",
|
|
1240
|
-
fetchOptions:
|
|
1241
|
-
} = ft(u),
|
|
1242
|
-
|
|
1243
|
-
let
|
|
1244
|
-
const
|
|
1245
|
-
|
|
1240
|
+
fetchOptions: Ce
|
|
1241
|
+
} = ft(u), Oe = t || fetch;
|
|
1242
|
+
A = A ? (A + "").toLowerCase() : "text";
|
|
1243
|
+
let Q = jn([R, E && E.toAbortSignal()], C), H = null;
|
|
1244
|
+
const B = Q && Q.unsubscribe && (() => {
|
|
1245
|
+
Q.unsubscribe();
|
|
1246
1246
|
});
|
|
1247
|
-
let
|
|
1247
|
+
let ke;
|
|
1248
1248
|
try {
|
|
1249
|
-
if (
|
|
1250
|
-
let
|
|
1249
|
+
if (P && d && p !== "get" && p !== "head" && (ke = await T(ue, w)) !== 0) {
|
|
1250
|
+
let N = new n(h, {
|
|
1251
1251
|
method: "POST",
|
|
1252
|
-
body:
|
|
1252
|
+
body: w,
|
|
1253
1253
|
duplex: "half"
|
|
1254
1254
|
}), I;
|
|
1255
|
-
if (
|
|
1256
|
-
const [
|
|
1257
|
-
|
|
1258
|
-
re(
|
|
1255
|
+
if (i.isFormData(w) && (I = N.headers.get("content-type")) && ue.setContentType(I), N.body) {
|
|
1256
|
+
const [de, X] = Be(
|
|
1257
|
+
ke,
|
|
1258
|
+
re(qe(P))
|
|
1259
1259
|
);
|
|
1260
|
-
|
|
1260
|
+
w = $e(N.body, Ie, de, X);
|
|
1261
1261
|
}
|
|
1262
1262
|
}
|
|
1263
|
-
|
|
1264
|
-
const
|
|
1265
|
-
...
|
|
1266
|
-
signal:
|
|
1263
|
+
i.isString(G) || (G = G ? "include" : "omit");
|
|
1264
|
+
const F = a && "credentials" in n.prototype, Re = {
|
|
1265
|
+
...Ce,
|
|
1266
|
+
signal: Q,
|
|
1267
1267
|
method: p.toUpperCase(),
|
|
1268
1268
|
headers: ue.normalize().toJSON(),
|
|
1269
|
-
body:
|
|
1269
|
+
body: w,
|
|
1270
1270
|
duplex: "half",
|
|
1271
|
-
credentials:
|
|
1271
|
+
credentials: F ? G : void 0
|
|
1272
1272
|
};
|
|
1273
|
-
|
|
1274
|
-
let
|
|
1275
|
-
const
|
|
1276
|
-
if (c && (
|
|
1277
|
-
const
|
|
1278
|
-
["status", "statusText", "headers"].forEach((
|
|
1279
|
-
|
|
1273
|
+
H = a && new n(h, Re);
|
|
1274
|
+
let v = await (a ? Oe(H, Ce) : Oe(h, Re));
|
|
1275
|
+
const Ae = c && (A === "stream" || A === "response");
|
|
1276
|
+
if (c && (L || Ae && B)) {
|
|
1277
|
+
const N = {};
|
|
1278
|
+
["status", "statusText", "headers"].forEach((Le) => {
|
|
1279
|
+
N[Le] = v[Le];
|
|
1280
1280
|
});
|
|
1281
|
-
const I =
|
|
1281
|
+
const I = i.toFiniteNumber(v.headers.get("content-length")), [de, X] = L && Be(
|
|
1282
1282
|
I,
|
|
1283
|
-
re(
|
|
1283
|
+
re(qe(L), !0)
|
|
1284
1284
|
) || [];
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1285
|
+
v = new r(
|
|
1286
|
+
$e(v.body, Ie, de, () => {
|
|
1287
|
+
X && X(), B && B();
|
|
1288
1288
|
}),
|
|
1289
|
-
|
|
1289
|
+
N
|
|
1290
1290
|
);
|
|
1291
1291
|
}
|
|
1292
|
-
|
|
1293
|
-
let
|
|
1294
|
-
return !
|
|
1295
|
-
|
|
1296
|
-
data:
|
|
1297
|
-
headers:
|
|
1298
|
-
status:
|
|
1299
|
-
statusText:
|
|
1292
|
+
A = A || "text";
|
|
1293
|
+
let bt = await m[i.findKey(m, A) || "text"](v, u);
|
|
1294
|
+
return !Ae && B && B(), await new Promise((N, I) => {
|
|
1295
|
+
ut(N, I, {
|
|
1296
|
+
data: bt,
|
|
1297
|
+
headers: k.from(v.headers),
|
|
1298
|
+
status: v.status,
|
|
1299
|
+
statusText: v.statusText,
|
|
1300
1300
|
config: u,
|
|
1301
|
-
request:
|
|
1301
|
+
request: H
|
|
1302
1302
|
});
|
|
1303
1303
|
});
|
|
1304
|
-
} catch (
|
|
1305
|
-
throw
|
|
1306
|
-
new y("Network Error", y.ERR_NETWORK, u,
|
|
1304
|
+
} catch (F) {
|
|
1305
|
+
throw B && B(), F && F.name === "TypeError" && /Load failed|fetch/i.test(F.message) ? Object.assign(
|
|
1306
|
+
new y("Network Error", y.ERR_NETWORK, u, H),
|
|
1307
1307
|
{
|
|
1308
|
-
cause:
|
|
1308
|
+
cause: F.cause || F
|
|
1309
1309
|
}
|
|
1310
|
-
) : y.from(
|
|
1310
|
+
) : y.from(F, F && F.code, u, H);
|
|
1311
1311
|
}
|
|
1312
1312
|
};
|
|
1313
|
-
},
|
|
1313
|
+
}, Jn = /* @__PURE__ */ new Map(), pt = (e) => {
|
|
1314
1314
|
let t = e ? e.env : {};
|
|
1315
|
-
const { fetch: n, Request: r, Response:
|
|
1315
|
+
const { fetch: n, Request: r, Response: o } = t, a = [
|
|
1316
1316
|
r,
|
|
1317
|
-
|
|
1317
|
+
o,
|
|
1318
1318
|
n
|
|
1319
1319
|
];
|
|
1320
|
-
let
|
|
1320
|
+
let s = a.length, l = s, f, d, c = Jn;
|
|
1321
1321
|
for (; l--; )
|
|
1322
|
-
|
|
1323
|
-
return
|
|
1322
|
+
f = a[l], d = c.get(f), d === void 0 && c.set(f, d = l ? /* @__PURE__ */ new Map() : zn(t)), c = d;
|
|
1323
|
+
return d;
|
|
1324
1324
|
};
|
|
1325
|
-
|
|
1326
|
-
const
|
|
1327
|
-
http:
|
|
1328
|
-
xhr:
|
|
1325
|
+
pt();
|
|
1326
|
+
const xe = {
|
|
1327
|
+
http: un,
|
|
1328
|
+
xhr: In,
|
|
1329
1329
|
fetch: {
|
|
1330
|
-
get:
|
|
1330
|
+
get: pt
|
|
1331
1331
|
}
|
|
1332
1332
|
};
|
|
1333
|
-
|
|
1333
|
+
i.forEach(xe, (e, t) => {
|
|
1334
1334
|
if (e) {
|
|
1335
1335
|
try {
|
|
1336
1336
|
Object.defineProperty(e, "name", { value: t });
|
|
@@ -1339,57 +1339,57 @@ a.forEach(we, (e, t) => {
|
|
|
1339
1339
|
Object.defineProperty(e, "adapterName", { value: t });
|
|
1340
1340
|
}
|
|
1341
1341
|
});
|
|
1342
|
-
const
|
|
1342
|
+
const He = (e) => `- ${e}`, Yn = (e) => i.isFunction(e) || e === null || e === !1, mt = {
|
|
1343
1343
|
getAdapter: (e, t) => {
|
|
1344
|
-
e =
|
|
1344
|
+
e = i.isArray(e) ? e : [e];
|
|
1345
1345
|
const { length: n } = e;
|
|
1346
|
-
let r,
|
|
1347
|
-
const
|
|
1348
|
-
for (let
|
|
1349
|
-
r = e[
|
|
1346
|
+
let r, o;
|
|
1347
|
+
const a = {};
|
|
1348
|
+
for (let s = 0; s < n; s++) {
|
|
1349
|
+
r = e[s];
|
|
1350
1350
|
let l;
|
|
1351
|
-
if (
|
|
1351
|
+
if (o = r, !Yn(r) && (o = xe[(l = String(r)).toLowerCase()], o === void 0))
|
|
1352
1352
|
throw new y(`Unknown adapter '${l}'`);
|
|
1353
|
-
if (
|
|
1353
|
+
if (o && (i.isFunction(o) || (o = o.get(t))))
|
|
1354
1354
|
break;
|
|
1355
|
-
|
|
1355
|
+
a[l || "#" + s] = o;
|
|
1356
1356
|
}
|
|
1357
|
-
if (!
|
|
1358
|
-
const
|
|
1359
|
-
([
|
|
1357
|
+
if (!o) {
|
|
1358
|
+
const s = Object.entries(a).map(
|
|
1359
|
+
([f, d]) => `adapter ${f} ` + (d === !1 ? "is not supported by the environment" : "is not available in the build")
|
|
1360
1360
|
);
|
|
1361
|
-
let l = n ?
|
|
1362
|
-
` +
|
|
1363
|
-
`) : " " +
|
|
1361
|
+
let l = n ? s.length > 1 ? `since :
|
|
1362
|
+
` + s.map(He).join(`
|
|
1363
|
+
`) : " " + He(s[0]) : "as no adapter specified";
|
|
1364
1364
|
throw new y(
|
|
1365
1365
|
"There is no suitable adapter to dispatch the request " + l,
|
|
1366
1366
|
"ERR_NOT_SUPPORT"
|
|
1367
1367
|
);
|
|
1368
1368
|
}
|
|
1369
|
-
return
|
|
1369
|
+
return o;
|
|
1370
1370
|
},
|
|
1371
|
-
adapters:
|
|
1371
|
+
adapters: xe
|
|
1372
1372
|
};
|
|
1373
|
-
function
|
|
1373
|
+
function he(e) {
|
|
1374
1374
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
1375
|
-
throw new
|
|
1375
|
+
throw new W(null, e);
|
|
1376
1376
|
}
|
|
1377
1377
|
function Ve(e) {
|
|
1378
|
-
return
|
|
1378
|
+
return he(e), e.headers = k.from(e.headers), e.data = me.call(
|
|
1379
1379
|
e,
|
|
1380
1380
|
e.transformRequest
|
|
1381
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1),
|
|
1382
|
-
return
|
|
1381
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), mt.getAdapter(e.adapter || K.adapter, e)(e).then(function(r) {
|
|
1382
|
+
return he(e), r.data = me.call(
|
|
1383
1383
|
e,
|
|
1384
1384
|
e.transformResponse,
|
|
1385
1385
|
r
|
|
1386
|
-
), r.headers =
|
|
1386
|
+
), r.headers = k.from(r.headers), r;
|
|
1387
1387
|
}, function(r) {
|
|
1388
|
-
return
|
|
1388
|
+
return ct(r) || (he(e), r && r.response && (r.response.data = me.call(
|
|
1389
1389
|
e,
|
|
1390
1390
|
e.transformResponse,
|
|
1391
1391
|
r.response
|
|
1392
|
-
), r.response.headers =
|
|
1392
|
+
), r.response.headers = k.from(r.response.headers))), Promise.reject(r);
|
|
1393
1393
|
});
|
|
1394
1394
|
}
|
|
1395
1395
|
const ht = "1.12.2", ce = {};
|
|
@@ -1398,23 +1398,23 @@ const ht = "1.12.2", ce = {};
|
|
|
1398
1398
|
return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
1399
1399
|
};
|
|
1400
1400
|
});
|
|
1401
|
-
const
|
|
1401
|
+
const ze = {};
|
|
1402
1402
|
ce.transitional = function(t, n, r) {
|
|
1403
|
-
function
|
|
1404
|
-
return "[Axios v" + ht + "] Transitional option '" +
|
|
1403
|
+
function o(a, s) {
|
|
1404
|
+
return "[Axios v" + ht + "] Transitional option '" + a + "'" + s + (r ? ". " + r : "");
|
|
1405
1405
|
}
|
|
1406
|
-
return (
|
|
1406
|
+
return (a, s, l) => {
|
|
1407
1407
|
if (t === !1)
|
|
1408
1408
|
throw new y(
|
|
1409
|
-
s
|
|
1409
|
+
o(s, " has been removed" + (n ? " in " + n : "")),
|
|
1410
1410
|
y.ERR_DEPRECATED
|
|
1411
1411
|
);
|
|
1412
|
-
return n && !
|
|
1413
|
-
|
|
1414
|
-
|
|
1412
|
+
return n && !ze[s] && (ze[s] = !0, console.warn(
|
|
1413
|
+
o(
|
|
1414
|
+
s,
|
|
1415
1415
|
" has been deprecated since v" + n + " and will be removed in the near future"
|
|
1416
1416
|
)
|
|
1417
|
-
)), t ? t(
|
|
1417
|
+
)), t ? t(a, s, l) : !0;
|
|
1418
1418
|
};
|
|
1419
1419
|
};
|
|
1420
1420
|
ce.spelling = function(t) {
|
|
@@ -1424,28 +1424,28 @@ function Kn(e, t, n) {
|
|
|
1424
1424
|
if (typeof e != "object")
|
|
1425
1425
|
throw new y("options must be an object", y.ERR_BAD_OPTION_VALUE);
|
|
1426
1426
|
const r = Object.keys(e);
|
|
1427
|
-
let
|
|
1428
|
-
for (;
|
|
1429
|
-
const
|
|
1430
|
-
if (
|
|
1431
|
-
const l = e[
|
|
1432
|
-
if (
|
|
1433
|
-
throw new y("option " +
|
|
1427
|
+
let o = r.length;
|
|
1428
|
+
for (; o-- > 0; ) {
|
|
1429
|
+
const a = r[o], s = t[a];
|
|
1430
|
+
if (s) {
|
|
1431
|
+
const l = e[a], f = l === void 0 || s(l, a, e);
|
|
1432
|
+
if (f !== !0)
|
|
1433
|
+
throw new y("option " + a + " must be " + f, y.ERR_BAD_OPTION_VALUE);
|
|
1434
1434
|
continue;
|
|
1435
1435
|
}
|
|
1436
1436
|
if (n !== !0)
|
|
1437
|
-
throw new y("Unknown option " +
|
|
1437
|
+
throw new y("Unknown option " + a, y.ERR_BAD_OPTION);
|
|
1438
1438
|
}
|
|
1439
1439
|
}
|
|
1440
1440
|
const ne = {
|
|
1441
1441
|
assertOptions: Kn,
|
|
1442
1442
|
validators: ce
|
|
1443
|
-
},
|
|
1444
|
-
let
|
|
1443
|
+
}, M = ne.validators;
|
|
1444
|
+
let U = class {
|
|
1445
1445
|
constructor(t) {
|
|
1446
1446
|
this.defaults = t || {}, this.interceptors = {
|
|
1447
|
-
request: new
|
|
1448
|
-
response: new
|
|
1447
|
+
request: new Ne(),
|
|
1448
|
+
response: new Ne()
|
|
1449
1449
|
};
|
|
1450
1450
|
}
|
|
1451
1451
|
/**
|
|
@@ -1461,12 +1461,12 @@ let q = class {
|
|
|
1461
1461
|
return await this._request(t, n);
|
|
1462
1462
|
} catch (r) {
|
|
1463
1463
|
if (r instanceof Error) {
|
|
1464
|
-
let
|
|
1465
|
-
Error.captureStackTrace ? Error.captureStackTrace(
|
|
1466
|
-
const
|
|
1464
|
+
let o = {};
|
|
1465
|
+
Error.captureStackTrace ? Error.captureStackTrace(o) : o = new Error();
|
|
1466
|
+
const a = o.stack ? o.stack.replace(/^.+\n/, "") : "";
|
|
1467
1467
|
try {
|
|
1468
|
-
r.stack ?
|
|
1469
|
-
` +
|
|
1468
|
+
r.stack ? a && !String(r.stack).endsWith(a.replace(/^.+\n.+\n/, "")) && (r.stack += `
|
|
1469
|
+
` + a) : r.stack = a;
|
|
1470
1470
|
} catch {
|
|
1471
1471
|
}
|
|
1472
1472
|
}
|
|
@@ -1474,122 +1474,122 @@ let q = class {
|
|
|
1474
1474
|
}
|
|
1475
1475
|
}
|
|
1476
1476
|
_request(t, n) {
|
|
1477
|
-
typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n =
|
|
1478
|
-
const { transitional: r, paramsSerializer:
|
|
1477
|
+
typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = $(this.defaults, n);
|
|
1478
|
+
const { transitional: r, paramsSerializer: o, headers: a } = n;
|
|
1479
1479
|
r !== void 0 && ne.assertOptions(r, {
|
|
1480
|
-
silentJSONParsing:
|
|
1481
|
-
forcedJSONParsing:
|
|
1482
|
-
clarifyTimeoutError:
|
|
1483
|
-
}, !1),
|
|
1484
|
-
serialize:
|
|
1485
|
-
} : ne.assertOptions(
|
|
1486
|
-
encode:
|
|
1487
|
-
serialize:
|
|
1480
|
+
silentJSONParsing: M.transitional(M.boolean),
|
|
1481
|
+
forcedJSONParsing: M.transitional(M.boolean),
|
|
1482
|
+
clarifyTimeoutError: M.transitional(M.boolean)
|
|
1483
|
+
}, !1), o != null && (i.isFunction(o) ? n.paramsSerializer = {
|
|
1484
|
+
serialize: o
|
|
1485
|
+
} : ne.assertOptions(o, {
|
|
1486
|
+
encode: M.function,
|
|
1487
|
+
serialize: M.function
|
|
1488
1488
|
}, !0)), n.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? n.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : n.allowAbsoluteUrls = !0), ne.assertOptions(n, {
|
|
1489
|
-
baseUrl:
|
|
1490
|
-
withXsrfToken:
|
|
1489
|
+
baseUrl: M.spelling("baseURL"),
|
|
1490
|
+
withXsrfToken: M.spelling("withXSRFToken")
|
|
1491
1491
|
}, !0), n.method = (n.method || this.defaults.method || "get").toLowerCase();
|
|
1492
|
-
let
|
|
1493
|
-
|
|
1494
|
-
|
|
1492
|
+
let s = a && i.merge(
|
|
1493
|
+
a.common,
|
|
1494
|
+
a[n.method]
|
|
1495
1495
|
);
|
|
1496
|
-
|
|
1496
|
+
a && i.forEach(
|
|
1497
1497
|
["delete", "get", "head", "post", "put", "patch", "common"],
|
|
1498
1498
|
(u) => {
|
|
1499
|
-
delete
|
|
1499
|
+
delete a[u];
|
|
1500
1500
|
}
|
|
1501
|
-
), n.headers =
|
|
1501
|
+
), n.headers = k.concat(s, a);
|
|
1502
1502
|
const l = [];
|
|
1503
|
-
let
|
|
1504
|
-
this.interceptors.request.forEach(function(
|
|
1505
|
-
typeof
|
|
1503
|
+
let f = !0;
|
|
1504
|
+
this.interceptors.request.forEach(function(h) {
|
|
1505
|
+
typeof h.runWhen == "function" && h.runWhen(n) === !1 || (f = f && h.synchronous, l.unshift(h.fulfilled, h.rejected));
|
|
1506
1506
|
});
|
|
1507
|
-
const
|
|
1508
|
-
this.interceptors.response.forEach(function(
|
|
1509
|
-
|
|
1507
|
+
const d = [];
|
|
1508
|
+
this.interceptors.response.forEach(function(h) {
|
|
1509
|
+
d.push(h.fulfilled, h.rejected);
|
|
1510
1510
|
});
|
|
1511
|
-
let c,
|
|
1512
|
-
if (!
|
|
1511
|
+
let c, m = 0, b;
|
|
1512
|
+
if (!f) {
|
|
1513
1513
|
const u = [Ve.bind(this), void 0];
|
|
1514
|
-
for (u.unshift(...l), u.push(...
|
|
1515
|
-
c = c.then(u[
|
|
1514
|
+
for (u.unshift(...l), u.push(...d), b = u.length, c = Promise.resolve(n); m < b; )
|
|
1515
|
+
c = c.then(u[m++], u[m++]);
|
|
1516
1516
|
return c;
|
|
1517
1517
|
}
|
|
1518
|
-
|
|
1519
|
-
let
|
|
1520
|
-
for (;
|
|
1521
|
-
const u = l[
|
|
1518
|
+
b = l.length;
|
|
1519
|
+
let T = n;
|
|
1520
|
+
for (; m < b; ) {
|
|
1521
|
+
const u = l[m++], h = l[m++];
|
|
1522
1522
|
try {
|
|
1523
|
-
|
|
1523
|
+
T = u(T);
|
|
1524
1524
|
} catch (p) {
|
|
1525
|
-
|
|
1525
|
+
h.call(this, p);
|
|
1526
1526
|
break;
|
|
1527
1527
|
}
|
|
1528
1528
|
}
|
|
1529
1529
|
try {
|
|
1530
|
-
c = Ve.call(this,
|
|
1530
|
+
c = Ve.call(this, T);
|
|
1531
1531
|
} catch (u) {
|
|
1532
1532
|
return Promise.reject(u);
|
|
1533
1533
|
}
|
|
1534
|
-
for (
|
|
1535
|
-
c = c.then(
|
|
1534
|
+
for (m = 0, b = d.length; m < b; )
|
|
1535
|
+
c = c.then(d[m++], d[m++]);
|
|
1536
1536
|
return c;
|
|
1537
1537
|
}
|
|
1538
1538
|
getUri(t) {
|
|
1539
|
-
t =
|
|
1540
|
-
const n =
|
|
1541
|
-
return
|
|
1539
|
+
t = $(this.defaults, t);
|
|
1540
|
+
const n = dt(t.baseURL, t.url, t.allowAbsoluteUrls);
|
|
1541
|
+
return at(n, t.params, t.paramsSerializer);
|
|
1542
1542
|
}
|
|
1543
1543
|
};
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
return this.request(
|
|
1544
|
+
i.forEach(["delete", "get", "head", "options"], function(t) {
|
|
1545
|
+
U.prototype[t] = function(n, r) {
|
|
1546
|
+
return this.request($(r || {}, {
|
|
1547
1547
|
method: t,
|
|
1548
1548
|
url: n,
|
|
1549
1549
|
data: (r || {}).data
|
|
1550
1550
|
}));
|
|
1551
1551
|
};
|
|
1552
1552
|
});
|
|
1553
|
-
|
|
1553
|
+
i.forEach(["post", "put", "patch"], function(t) {
|
|
1554
1554
|
function n(r) {
|
|
1555
|
-
return function(
|
|
1556
|
-
return this.request(
|
|
1555
|
+
return function(a, s, l) {
|
|
1556
|
+
return this.request($(l || {}, {
|
|
1557
1557
|
method: t,
|
|
1558
1558
|
headers: r ? {
|
|
1559
1559
|
"Content-Type": "multipart/form-data"
|
|
1560
1560
|
} : {},
|
|
1561
|
-
url:
|
|
1562
|
-
data:
|
|
1561
|
+
url: a,
|
|
1562
|
+
data: s
|
|
1563
1563
|
}));
|
|
1564
1564
|
};
|
|
1565
1565
|
}
|
|
1566
|
-
|
|
1566
|
+
U.prototype[t] = n(), U.prototype[t + "Form"] = n(!0);
|
|
1567
1567
|
});
|
|
1568
|
-
let
|
|
1568
|
+
let Gn = class yt {
|
|
1569
1569
|
constructor(t) {
|
|
1570
1570
|
if (typeof t != "function")
|
|
1571
1571
|
throw new TypeError("executor must be a function.");
|
|
1572
1572
|
let n;
|
|
1573
|
-
this.promise = new Promise(function(
|
|
1574
|
-
n =
|
|
1573
|
+
this.promise = new Promise(function(a) {
|
|
1574
|
+
n = a;
|
|
1575
1575
|
});
|
|
1576
1576
|
const r = this;
|
|
1577
|
-
this.promise.then((
|
|
1577
|
+
this.promise.then((o) => {
|
|
1578
1578
|
if (!r._listeners) return;
|
|
1579
|
-
let
|
|
1580
|
-
for (;
|
|
1581
|
-
r._listeners[
|
|
1579
|
+
let a = r._listeners.length;
|
|
1580
|
+
for (; a-- > 0; )
|
|
1581
|
+
r._listeners[a](o);
|
|
1582
1582
|
r._listeners = null;
|
|
1583
|
-
}), this.promise.then = (
|
|
1584
|
-
let
|
|
1585
|
-
const
|
|
1586
|
-
r.subscribe(l),
|
|
1587
|
-
}).then(
|
|
1588
|
-
return
|
|
1589
|
-
r.unsubscribe(
|
|
1590
|
-
},
|
|
1591
|
-
}, t(function(
|
|
1592
|
-
r.reason || (r.reason = new
|
|
1583
|
+
}), this.promise.then = (o) => {
|
|
1584
|
+
let a;
|
|
1585
|
+
const s = new Promise((l) => {
|
|
1586
|
+
r.subscribe(l), a = l;
|
|
1587
|
+
}).then(o);
|
|
1588
|
+
return s.cancel = function() {
|
|
1589
|
+
r.unsubscribe(a);
|
|
1590
|
+
}, s;
|
|
1591
|
+
}, t(function(a, s, l) {
|
|
1592
|
+
r.reason || (r.reason = new W(a, s, l), n(r.reason));
|
|
1593
1593
|
});
|
|
1594
1594
|
}
|
|
1595
1595
|
/**
|
|
@@ -1631,22 +1631,22 @@ let Xn = class mt {
|
|
|
1631
1631
|
static source() {
|
|
1632
1632
|
let t;
|
|
1633
1633
|
return {
|
|
1634
|
-
token: new
|
|
1635
|
-
t =
|
|
1634
|
+
token: new yt(function(o) {
|
|
1635
|
+
t = o;
|
|
1636
1636
|
}),
|
|
1637
1637
|
cancel: t
|
|
1638
1638
|
};
|
|
1639
1639
|
}
|
|
1640
1640
|
};
|
|
1641
|
-
function
|
|
1641
|
+
function Qn(e) {
|
|
1642
1642
|
return function(n) {
|
|
1643
1643
|
return e.apply(null, n);
|
|
1644
1644
|
};
|
|
1645
1645
|
}
|
|
1646
|
-
function
|
|
1647
|
-
return
|
|
1646
|
+
function Xn(e) {
|
|
1647
|
+
return i.isObject(e) && e.isAxiosError === !0;
|
|
1648
1648
|
}
|
|
1649
|
-
const
|
|
1649
|
+
const we = {
|
|
1650
1650
|
Continue: 100,
|
|
1651
1651
|
SwitchingProtocols: 101,
|
|
1652
1652
|
Processing: 102,
|
|
@@ -1711,85 +1711,85 @@ const Ee = {
|
|
|
1711
1711
|
NotExtended: 510,
|
|
1712
1712
|
NetworkAuthenticationRequired: 511
|
|
1713
1713
|
};
|
|
1714
|
-
Object.entries(
|
|
1715
|
-
|
|
1714
|
+
Object.entries(we).forEach(([e, t]) => {
|
|
1715
|
+
we[t] = e;
|
|
1716
1716
|
});
|
|
1717
|
-
function
|
|
1718
|
-
const t = new
|
|
1719
|
-
return
|
|
1720
|
-
return
|
|
1717
|
+
function gt(e) {
|
|
1718
|
+
const t = new U(e), n = Ye(U.prototype.request, t);
|
|
1719
|
+
return i.extend(n, U.prototype, t, { allOwnKeys: !0 }), i.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) {
|
|
1720
|
+
return gt($(e, o));
|
|
1721
1721
|
}, n;
|
|
1722
1722
|
}
|
|
1723
|
-
const
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1723
|
+
const x = gt(K);
|
|
1724
|
+
x.Axios = U;
|
|
1725
|
+
x.CanceledError = W;
|
|
1726
|
+
x.CancelToken = Gn;
|
|
1727
|
+
x.isCancel = ct;
|
|
1728
|
+
x.VERSION = ht;
|
|
1729
|
+
x.toFormData = le;
|
|
1730
|
+
x.AxiosError = y;
|
|
1731
|
+
x.Cancel = x.CanceledError;
|
|
1732
|
+
x.all = function(t) {
|
|
1733
1733
|
return Promise.all(t);
|
|
1734
1734
|
};
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1735
|
+
x.spread = Qn;
|
|
1736
|
+
x.isAxiosError = Xn;
|
|
1737
|
+
x.mergeConfig = $;
|
|
1738
|
+
x.AxiosHeaders = k;
|
|
1739
|
+
x.formToJSON = (e) => lt(i.isHTMLForm(e) ? new FormData(e) : e);
|
|
1740
|
+
x.getAdapter = mt.getAdapter;
|
|
1741
|
+
x.HttpStatusCode = we;
|
|
1742
|
+
x.default = x;
|
|
1743
1743
|
const {
|
|
1744
|
-
Axios:
|
|
1745
|
-
AxiosError:
|
|
1746
|
-
CanceledError:
|
|
1747
|
-
isCancel:
|
|
1748
|
-
CancelToken:
|
|
1749
|
-
VERSION:
|
|
1750
|
-
all:
|
|
1751
|
-
Cancel:
|
|
1752
|
-
isAxiosError:
|
|
1753
|
-
spread:
|
|
1754
|
-
toFormData:
|
|
1755
|
-
AxiosHeaders:
|
|
1756
|
-
HttpStatusCode:
|
|
1757
|
-
formToJSON:
|
|
1758
|
-
getAdapter:
|
|
1759
|
-
mergeConfig:
|
|
1760
|
-
} =
|
|
1761
|
-
function
|
|
1744
|
+
Axios: ko,
|
|
1745
|
+
AxiosError: Ro,
|
|
1746
|
+
CanceledError: Ao,
|
|
1747
|
+
isCancel: Lo,
|
|
1748
|
+
CancelToken: Do,
|
|
1749
|
+
VERSION: Fo,
|
|
1750
|
+
all: Mo,
|
|
1751
|
+
Cancel: vo,
|
|
1752
|
+
isAxiosError: No,
|
|
1753
|
+
spread: Po,
|
|
1754
|
+
toFormData: Bo,
|
|
1755
|
+
AxiosHeaders: qo,
|
|
1756
|
+
HttpStatusCode: Uo,
|
|
1757
|
+
formToJSON: $o,
|
|
1758
|
+
getAdapter: Io,
|
|
1759
|
+
mergeConfig: jo
|
|
1760
|
+
} = x;
|
|
1761
|
+
function Zn() {
|
|
1762
1762
|
function e(t, n = {}) {
|
|
1763
1763
|
return n = { ...{
|
|
1764
1764
|
timeout: 5e3,
|
|
1765
1765
|
headers: {
|
|
1766
1766
|
"Cache-Control": "no-cache"
|
|
1767
1767
|
}
|
|
1768
|
-
}, ...n },
|
|
1768
|
+
}, ...n }, x.get(t, n).then((a) => a.data);
|
|
1769
1769
|
}
|
|
1770
1770
|
return {
|
|
1771
1771
|
loadResource: e
|
|
1772
1772
|
};
|
|
1773
1773
|
}
|
|
1774
|
-
const
|
|
1774
|
+
const er = {
|
|
1775
1775
|
selectedStart: "已选:",
|
|
1776
1776
|
selectedEnd: "项数据"
|
|
1777
|
-
},
|
|
1777
|
+
}, tr = {
|
|
1778
1778
|
placeholder: "请选择时间",
|
|
1779
1779
|
time: {
|
|
1780
1780
|
hour: "时",
|
|
1781
1781
|
minute: "分",
|
|
1782
1782
|
seconds: "秒"
|
|
1783
1783
|
}
|
|
1784
|
-
},
|
|
1784
|
+
}, nr = {
|
|
1785
1785
|
more: "更多",
|
|
1786
1786
|
leftButton: "向左",
|
|
1787
1787
|
rightButton: "向左",
|
|
1788
1788
|
noData: "没有相关数据"
|
|
1789
|
-
},
|
|
1789
|
+
}, rr = {
|
|
1790
1790
|
expandLabel: "展开",
|
|
1791
1791
|
collapseLabel: "收起"
|
|
1792
|
-
},
|
|
1792
|
+
}, or = {
|
|
1793
1793
|
more: "更多"
|
|
1794
1794
|
}, sr = {
|
|
1795
1795
|
saveAsDialog: {
|
|
@@ -1829,7 +1829,7 @@ const Zn = {
|
|
|
1829
1829
|
clear: "清空",
|
|
1830
1830
|
require: "请填写{fields}再进行筛选"
|
|
1831
1831
|
}
|
|
1832
|
-
},
|
|
1832
|
+
}, ar = {
|
|
1833
1833
|
message: "共 <b>{1}</b> 条",
|
|
1834
1834
|
totalInfo: {
|
|
1835
1835
|
firstText: "共",
|
|
@@ -1852,7 +1852,7 @@ const Zn = {
|
|
|
1852
1852
|
begin: "开始数字",
|
|
1853
1853
|
end: "结束数字"
|
|
1854
1854
|
}
|
|
1855
|
-
},
|
|
1855
|
+
}, lr = {
|
|
1856
1856
|
yes: "是",
|
|
1857
1857
|
no: "否",
|
|
1858
1858
|
ok: "确定",
|
|
@@ -1884,7 +1884,7 @@ const Zn = {
|
|
|
1884
1884
|
copyFailed: "复制失败",
|
|
1885
1885
|
roger: "知道了"
|
|
1886
1886
|
}
|
|
1887
|
-
},
|
|
1887
|
+
}, cr = {
|
|
1888
1888
|
exact: "精确",
|
|
1889
1889
|
placeholder: "请选择",
|
|
1890
1890
|
favorites: "收藏夹",
|
|
@@ -1939,9 +1939,9 @@ const Zn = {
|
|
|
1939
1939
|
},
|
|
1940
1940
|
clearAllConditions: "清除所有查询条件",
|
|
1941
1941
|
anyFields: "全部"
|
|
1942
|
-
}, cr = {
|
|
1943
|
-
message: "正在加载,请稍候..."
|
|
1944
1942
|
}, ur = {
|
|
1943
|
+
message: "正在加载,请稍候..."
|
|
1944
|
+
}, dr = {
|
|
1945
1945
|
emptyMessage: "暂无数据"
|
|
1946
1946
|
}, fr = {
|
|
1947
1947
|
cancelButton: "取消",
|
|
@@ -1978,7 +1978,7 @@ const Zn = {
|
|
|
1978
1978
|
relation: "条件关系不完整,请检查",
|
|
1979
1979
|
field: "条件字段未设置,请检查"
|
|
1980
1980
|
}
|
|
1981
|
-
},
|
|
1981
|
+
}, pr = {
|
|
1982
1982
|
confirm: "确定",
|
|
1983
1983
|
cancel: "取消",
|
|
1984
1984
|
advancedFilter: "更多筛选",
|
|
@@ -1986,7 +1986,7 @@ const Zn = {
|
|
|
1986
1986
|
reset: "清空筛选",
|
|
1987
1987
|
expand: "展开",
|
|
1988
1988
|
fold: "收起"
|
|
1989
|
-
},
|
|
1989
|
+
}, mr = {
|
|
1990
1990
|
title: "参数编辑器",
|
|
1991
1991
|
ok: "确定",
|
|
1992
1992
|
cancel: "取消",
|
|
@@ -2012,7 +2012,7 @@ const Zn = {
|
|
|
2012
2012
|
}, hr = {
|
|
2013
2013
|
cancel: "取消",
|
|
2014
2014
|
confirm: "确定"
|
|
2015
|
-
},
|
|
2015
|
+
}, yr = {
|
|
2016
2016
|
dayLabels: {
|
|
2017
2017
|
Sun: "日",
|
|
2018
2018
|
Mon: "一",
|
|
@@ -2095,7 +2095,7 @@ const Zn = {
|
|
|
2095
2095
|
recent6Months: "最近6个月",
|
|
2096
2096
|
nextYear: "明年"
|
|
2097
2097
|
}
|
|
2098
|
-
},
|
|
2098
|
+
}, gr = {
|
|
2099
2099
|
lineNumberTitle: "序号",
|
|
2100
2100
|
emptyMessage: "暂无数据",
|
|
2101
2101
|
pagination: {
|
|
@@ -2141,7 +2141,8 @@ const Zn = {
|
|
|
2141
2141
|
sevenDays: "七天",
|
|
2142
2142
|
oneMonth: "一个月",
|
|
2143
2143
|
threeMonths: "三个月",
|
|
2144
|
-
sixMonths: "半年"
|
|
2144
|
+
sixMonths: "半年",
|
|
2145
|
+
searchBoxPlaceholder: "请输入关键词"
|
|
2145
2146
|
},
|
|
2146
2147
|
settings: {
|
|
2147
2148
|
visible: "显示列",
|
|
@@ -2214,13 +2215,13 @@ const Zn = {
|
|
|
2214
2215
|
cancel: "取消",
|
|
2215
2216
|
accept: "确定"
|
|
2216
2217
|
}
|
|
2217
|
-
},
|
|
2218
|
+
}, br = {
|
|
2218
2219
|
add: "添加条件",
|
|
2219
2220
|
create: "生成条件组",
|
|
2220
2221
|
reset: "重置",
|
|
2221
2222
|
and: "与",
|
|
2222
2223
|
or: "或"
|
|
2223
|
-
},
|
|
2224
|
+
}, xr = {
|
|
2224
2225
|
equal: "等于",
|
|
2225
2226
|
notEqual: "不等于",
|
|
2226
2227
|
greater: "大于",
|
|
@@ -2252,15 +2253,15 @@ const Zn = {
|
|
|
2252
2253
|
}, Er = {
|
|
2253
2254
|
remoteError: "请求方法类型不正确",
|
|
2254
2255
|
placeholder: "请选择"
|
|
2255
|
-
},
|
|
2256
|
+
}, Tr = {
|
|
2256
2257
|
dayLabels: {
|
|
2257
|
-
Sun: "
|
|
2258
|
-
Mon: "
|
|
2259
|
-
Tue: "
|
|
2260
|
-
Wed: "
|
|
2261
|
-
Thu: "
|
|
2262
|
-
Fri: "
|
|
2263
|
-
Sat: "
|
|
2258
|
+
Sun: "星期日",
|
|
2259
|
+
Mon: "星期一",
|
|
2260
|
+
Tue: "星期二",
|
|
2261
|
+
Wed: "星期三",
|
|
2262
|
+
Thu: "星期四",
|
|
2263
|
+
Fri: "星期五",
|
|
2264
|
+
Sat: "星期六"
|
|
2264
2265
|
},
|
|
2265
2266
|
monthLabels: {
|
|
2266
2267
|
1: "1月",
|
|
@@ -2291,73 +2292,1195 @@ const Zn = {
|
|
|
2291
2292
|
prevDay: "上一天",
|
|
2292
2293
|
nextDay: "下一天",
|
|
2293
2294
|
prevYear: "上一年",
|
|
2294
|
-
nextYear: "下一年"
|
|
2295
|
-
|
|
2295
|
+
nextYear: "下一年",
|
|
2296
|
+
more: "还有 #count# 项..."
|
|
2297
|
+
}, Sr = {
|
|
2296
2298
|
imgtitle: "点击修改",
|
|
2297
2299
|
typeError: "上传图片类型不正确",
|
|
2298
2300
|
sizeError: "上传图片不能大于",
|
|
2299
2301
|
uploadError: "图片上传失败,请重试!",
|
|
2300
2302
|
loadError: "加载错误",
|
|
2301
2303
|
loading: "加载中"
|
|
2302
|
-
},
|
|
2303
|
-
transfer:
|
|
2304
|
-
timePicker:
|
|
2305
|
-
tabs:
|
|
2306
|
-
section:
|
|
2307
|
-
responseToolbar:
|
|
2304
|
+
}, Cr = {
|
|
2305
|
+
transfer: er,
|
|
2306
|
+
timePicker: tr,
|
|
2307
|
+
tabs: nr,
|
|
2308
|
+
section: rr,
|
|
2309
|
+
responseToolbar: or,
|
|
2308
2310
|
querySolution: sr,
|
|
2309
|
-
pagination:
|
|
2311
|
+
pagination: ar,
|
|
2310
2312
|
numberSpinner: ir,
|
|
2311
|
-
messageBox:
|
|
2312
|
-
lookup:
|
|
2313
|
-
loading:
|
|
2314
|
-
listView:
|
|
2313
|
+
messageBox: lr,
|
|
2314
|
+
lookup: cr,
|
|
2315
|
+
loading: ur,
|
|
2316
|
+
listView: dr,
|
|
2315
2317
|
"input-group": {
|
|
2316
2318
|
placeholder: "请输入"
|
|
2317
2319
|
},
|
|
2318
2320
|
filterConditionEditor: fr,
|
|
2319
|
-
filterBar:
|
|
2320
|
-
eventParameter:
|
|
2321
|
+
filterBar: pr,
|
|
2322
|
+
eventParameter: mr,
|
|
2321
2323
|
drawer: hr,
|
|
2322
|
-
datepicker:
|
|
2323
|
-
datagrid:
|
|
2324
|
-
condition:
|
|
2325
|
-
operators:
|
|
2324
|
+
datepicker: yr,
|
|
2325
|
+
datagrid: gr,
|
|
2326
|
+
condition: br,
|
|
2327
|
+
operators: xr,
|
|
2326
2328
|
comment: wr,
|
|
2327
2329
|
comboList: Er,
|
|
2328
|
-
calendar:
|
|
2329
|
-
avatar:
|
|
2330
|
-
},
|
|
2330
|
+
calendar: Tr,
|
|
2331
|
+
avatar: Sr
|
|
2332
|
+
}, Or = {
|
|
2333
|
+
selectedStart: "Selected: ",
|
|
2334
|
+
selectedEnd: " Items"
|
|
2335
|
+
}, kr = {
|
|
2336
|
+
placeholder: "Please select a time",
|
|
2337
|
+
time: {
|
|
2338
|
+
hour: "Hour",
|
|
2339
|
+
minute: "Minute",
|
|
2340
|
+
seconds: "Second"
|
|
2341
|
+
}
|
|
2342
|
+
}, Rr = {
|
|
2343
|
+
more: "More",
|
|
2344
|
+
leftButton: "Left",
|
|
2345
|
+
rightButton: "Right",
|
|
2346
|
+
noData: "No data available"
|
|
2347
|
+
}, Ar = {
|
|
2348
|
+
expandLabel: "Expand",
|
|
2349
|
+
collapseLabel: "Collapse"
|
|
2350
|
+
}, Lr = {
|
|
2351
|
+
more: "More"
|
|
2352
|
+
}, Dr = {
|
|
2353
|
+
saveAsDialog: {
|
|
2354
|
+
queryPlanName: "Solution Name",
|
|
2355
|
+
setAsDefault: "Set as default",
|
|
2356
|
+
confirm: "OK",
|
|
2357
|
+
cancel: "Cancel",
|
|
2358
|
+
caption: "New Solution",
|
|
2359
|
+
personal: "Personal solution",
|
|
2360
|
+
system: "System public solution",
|
|
2361
|
+
nameNotify: "Please enter solution name",
|
|
2362
|
+
authNotify: "You do not have permission to modify public solutions.",
|
|
2363
|
+
success: "Filter solution saved successfully.",
|
|
2364
|
+
maxLength: "Solution name cannot exceed 100 characters, please modify"
|
|
2365
|
+
},
|
|
2366
|
+
manageDialog: {
|
|
2367
|
+
caption: "Solution Management",
|
|
2368
|
+
default: "Default",
|
|
2369
|
+
system: "System Public",
|
|
2370
|
+
saveAs: "Save As",
|
|
2371
|
+
save: "Save",
|
|
2372
|
+
manage: "Manage",
|
|
2373
|
+
isDefault: "Default Solution",
|
|
2374
|
+
code: "Name",
|
|
2375
|
+
type: "Type",
|
|
2376
|
+
private: "Personal",
|
|
2377
|
+
public: "System Public",
|
|
2378
|
+
org: "Organization Public",
|
|
2379
|
+
remove: "Delete"
|
|
2380
|
+
},
|
|
2381
|
+
configDialog: {
|
|
2382
|
+
caption: "Filter Configuration"
|
|
2383
|
+
},
|
|
2384
|
+
container: {
|
|
2385
|
+
filter: "Filter",
|
|
2386
|
+
default: "Default Filter Solution",
|
|
2387
|
+
clear: "Clear",
|
|
2388
|
+
require: "Please fill in {fields} before filtering"
|
|
2389
|
+
}
|
|
2390
|
+
}, Fr = {
|
|
2391
|
+
message: "Total <b>{1}</b> Items ",
|
|
2392
|
+
totalInfo: {
|
|
2393
|
+
firstText: "Total",
|
|
2394
|
+
lastText: "Items"
|
|
2395
|
+
},
|
|
2396
|
+
pageList: {
|
|
2397
|
+
firstText: "Display",
|
|
2398
|
+
lastText: "Items"
|
|
2399
|
+
},
|
|
2400
|
+
previous: "Previous",
|
|
2401
|
+
next: "Next",
|
|
2402
|
+
goto: {
|
|
2403
|
+
prefix: "Go to",
|
|
2404
|
+
suffix: ""
|
|
2405
|
+
},
|
|
2406
|
+
show: "Display"
|
|
2407
|
+
}, Mr = {
|
|
2408
|
+
placeholder: "Please enter the number",
|
|
2409
|
+
range: {
|
|
2410
|
+
begin: "Begin number",
|
|
2411
|
+
end: "End number"
|
|
2412
|
+
}
|
|
2413
|
+
}, vr = {
|
|
2414
|
+
yes: "Yes",
|
|
2415
|
+
no: "No",
|
|
2416
|
+
ok: "OK",
|
|
2417
|
+
close: "Close",
|
|
2418
|
+
cancel: "Cancel",
|
|
2419
|
+
title: "System Information",
|
|
2420
|
+
errorTitle: "Error Information",
|
|
2421
|
+
prompt: {
|
|
2422
|
+
fontSize: {
|
|
2423
|
+
name: "Font Size",
|
|
2424
|
+
small: "Small",
|
|
2425
|
+
middle: "Middle",
|
|
2426
|
+
big: "Large",
|
|
2427
|
+
large: "Extra Large",
|
|
2428
|
+
huge: "Huge"
|
|
2429
|
+
},
|
|
2430
|
+
tips: {
|
|
2431
|
+
surplus: "You can also input {0} characters",
|
|
2432
|
+
length: "{0} characters have been entered"
|
|
2433
|
+
}
|
|
2434
|
+
},
|
|
2435
|
+
exception: {
|
|
2436
|
+
expand: "Expand",
|
|
2437
|
+
collapse: "Collapse",
|
|
2438
|
+
happend: "Happened Time",
|
|
2439
|
+
detail: "Detail",
|
|
2440
|
+
copy: "Copy Details",
|
|
2441
|
+
copySuccess: "Copy Success.",
|
|
2442
|
+
copyFailed: "Copy Failed.",
|
|
2443
|
+
roger: "OK"
|
|
2444
|
+
}
|
|
2445
|
+
}, Nr = {
|
|
2446
|
+
exact: "Exact",
|
|
2447
|
+
placeholder: "Please select",
|
|
2448
|
+
favorites: "Favorites",
|
|
2449
|
+
selected: "Selected Items",
|
|
2450
|
+
okText: "OK",
|
|
2451
|
+
cancelText: "Cancel",
|
|
2452
|
+
allColumns: "All Columns",
|
|
2453
|
+
datalist: "Data Items",
|
|
2454
|
+
mustWriteSomething: "Please enter a keyword to search.",
|
|
2455
|
+
mustChoosAdatarow: "Please select a record.",
|
|
2456
|
+
tipText: "Are these what you are looking for?",
|
|
2457
|
+
cascade: {
|
|
2458
|
+
enable: "Bidirectional Cascading",
|
|
2459
|
+
disable: "Disable Cascading",
|
|
2460
|
+
up: "Upward Cascading",
|
|
2461
|
+
down: "Downward Cascading"
|
|
2462
|
+
},
|
|
2463
|
+
includechildren: "Include Children",
|
|
2464
|
+
favoriteInfo: {
|
|
2465
|
+
addFav: "Collection Success.",
|
|
2466
|
+
cancelFav: "Unfavorite Successfully. ",
|
|
2467
|
+
addFavTitle: "Add to Favorite",
|
|
2468
|
+
cancelFavTitle: "Cancel Favorite"
|
|
2469
|
+
},
|
|
2470
|
+
getAllChilds: "Get All Children",
|
|
2471
|
+
contextMenu: {
|
|
2472
|
+
checkChildNodes: "Check Subordinate Nodes",
|
|
2473
|
+
uncheckChildNodes: "Uncheck Subordinate Nodes",
|
|
2474
|
+
expandall: "Expand All",
|
|
2475
|
+
collapseall: "Collapse All",
|
|
2476
|
+
expandByLayer: "Expand by Level",
|
|
2477
|
+
expand1: "Expand to Level 1",
|
|
2478
|
+
expand2: "Expand to Level 2",
|
|
2479
|
+
expand3: "Expand to Level 3",
|
|
2480
|
+
expand4: "Expand to Level 4",
|
|
2481
|
+
expand5: "Expand to Level 5",
|
|
2482
|
+
expand6: "Expand to Level 6",
|
|
2483
|
+
expand7: "Expand to Level 7",
|
|
2484
|
+
expand8: "Expand to Level 8",
|
|
2485
|
+
expand9: "Expand to Level 9"
|
|
2486
|
+
},
|
|
2487
|
+
quick: {
|
|
2488
|
+
notfind: "Search Content Not Found.",
|
|
2489
|
+
more: "Show More"
|
|
2490
|
+
},
|
|
2491
|
+
configError: "The help display column is not configured. Please check whether the help data source is configured correctly.",
|
|
2492
|
+
selectedInfo: {
|
|
2493
|
+
total: 'Selected Items <span style="font-size: 18px;padding: 0 3px;">{0}</span>',
|
|
2494
|
+
clear: "Cancel Selected",
|
|
2495
|
+
remove: "Delete ({0})",
|
|
2496
|
+
confirm: "Are you sure you want to cancel all selected records?"
|
|
2497
|
+
},
|
|
2498
|
+
clearAllConditions: "Clear All Conditions",
|
|
2499
|
+
anyFields: "All"
|
|
2500
|
+
}, Pr = {
|
|
2501
|
+
message: "Loading ..."
|
|
2502
|
+
}, Br = {
|
|
2503
|
+
emptyMessage: "Empty Data"
|
|
2504
|
+
}, qr = {
|
|
2505
|
+
cancelButton: "Cancel",
|
|
2506
|
+
okButton: "OK",
|
|
2507
|
+
addWhere: "Add",
|
|
2508
|
+
clear: "Clear",
|
|
2509
|
+
moveTop: "Top",
|
|
2510
|
+
moveUp: "Up",
|
|
2511
|
+
moveDown: "Down",
|
|
2512
|
+
moveBottom: "Bottom",
|
|
2513
|
+
leftBrackets: "Left Brackets",
|
|
2514
|
+
field: "Field Name",
|
|
2515
|
+
operator: "Operator",
|
|
2516
|
+
value: "Value",
|
|
2517
|
+
valueType: "Value type",
|
|
2518
|
+
expressType: {
|
|
2519
|
+
value: "Value",
|
|
2520
|
+
express: "Express",
|
|
2521
|
+
frontExpress: "Front Express"
|
|
2522
|
+
},
|
|
2523
|
+
rightBrackets: "Right Brackets",
|
|
2524
|
+
relation: "Relation",
|
|
2525
|
+
relationValue: {
|
|
2526
|
+
and: "And",
|
|
2527
|
+
or: "Or"
|
|
2528
|
+
},
|
|
2529
|
+
designTab: "Design",
|
|
2530
|
+
jsonTab: "JSON",
|
|
2531
|
+
sqlTab: "Sql",
|
|
2532
|
+
title: "Filter Designer",
|
|
2533
|
+
message: "Are you sure you want to clear all current data?",
|
|
2534
|
+
validate: {
|
|
2535
|
+
bracket: "The brackets do not match, please check",
|
|
2536
|
+
relation: "The condition relationship is incomplete, please check",
|
|
2537
|
+
field: "Condition field is not set, please check"
|
|
2538
|
+
}
|
|
2539
|
+
}, Ur = {
|
|
2540
|
+
confirm: "OK",
|
|
2541
|
+
cancel: "Cancel",
|
|
2542
|
+
advancedFilter: "More Conditions",
|
|
2543
|
+
clearAll: "Clear",
|
|
2544
|
+
reset: "Clear",
|
|
2545
|
+
expand: "Expand",
|
|
2546
|
+
fold: "Fold"
|
|
2547
|
+
}, $r = {
|
|
2548
|
+
title: "Parameter Editor",
|
|
2549
|
+
ok: "confirm",
|
|
2550
|
+
cancel: "cancel",
|
|
2551
|
+
workFlowClass: {
|
|
2552
|
+
title: "Please select a process category"
|
|
2553
|
+
},
|
|
2554
|
+
generalEditor: {
|
|
2555
|
+
field: "field",
|
|
2556
|
+
tabVar: "variable",
|
|
2557
|
+
form: "form components"
|
|
2558
|
+
},
|
|
2559
|
+
jsonEditor: {
|
|
2560
|
+
dialogTitle: "Configurable parameter editor",
|
|
2561
|
+
keyColumnTitle: "parameter",
|
|
2562
|
+
valueColumnTitle: "parameter value",
|
|
2563
|
+
addButtonText: "Add configuration parameters",
|
|
2564
|
+
keyColumnPlaceholder: "Please enter the parameters",
|
|
2565
|
+
error: "Expected array of parameter schema for JsonEditor, but received invalid JSON"
|
|
2566
|
+
},
|
|
2567
|
+
comboTree: {
|
|
2568
|
+
placeholder: "Please select"
|
|
2569
|
+
}
|
|
2570
|
+
}, Ir = {
|
|
2571
|
+
cancel: "Cancel",
|
|
2572
|
+
confirm: "Confirm"
|
|
2573
|
+
}, jr = {
|
|
2574
|
+
dayLabels: {
|
|
2575
|
+
Sun: "Sun",
|
|
2576
|
+
Mon: "Mon",
|
|
2577
|
+
Tue: "Tue",
|
|
2578
|
+
Wed: "Wed",
|
|
2579
|
+
Thu: "Thu",
|
|
2580
|
+
Fri: "Fri",
|
|
2581
|
+
Sat: "Sat"
|
|
2582
|
+
},
|
|
2583
|
+
monthLabels: {
|
|
2584
|
+
1: "Jan",
|
|
2585
|
+
2: "Feb",
|
|
2586
|
+
3: "Mar",
|
|
2587
|
+
4: "Apr",
|
|
2588
|
+
5: "May",
|
|
2589
|
+
6: "Jun",
|
|
2590
|
+
7: "Jul",
|
|
2591
|
+
8: "Aug",
|
|
2592
|
+
9: "Sep",
|
|
2593
|
+
10: "Oct",
|
|
2594
|
+
11: "Nov",
|
|
2595
|
+
12: "Dec"
|
|
2596
|
+
},
|
|
2597
|
+
dateFormat: "MM/dd/yyyy",
|
|
2598
|
+
returnFormat: "MM/dd/yyyy",
|
|
2599
|
+
firstDayOfWeek: "mo",
|
|
2600
|
+
sunHighlight: !1,
|
|
2601
|
+
yearTxt: "",
|
|
2602
|
+
timeBtnText: "Select Time",
|
|
2603
|
+
dateBtnText: "Select Date",
|
|
2604
|
+
commitBtnText: "OK",
|
|
2605
|
+
weekText: "Week",
|
|
2606
|
+
placeholder: "Please select a date",
|
|
2607
|
+
range: {
|
|
2608
|
+
begin: "Begin date",
|
|
2609
|
+
end: "End date"
|
|
2610
|
+
},
|
|
2611
|
+
message: {
|
|
2612
|
+
101: "The end time must not be earlier than the start time.",
|
|
2613
|
+
102: "Only ${0} dates are allowed to be selected."
|
|
2614
|
+
},
|
|
2615
|
+
current: {
|
|
2616
|
+
today: "Today",
|
|
2617
|
+
week: "This Week",
|
|
2618
|
+
month: "This Month",
|
|
2619
|
+
year: "This Year"
|
|
2620
|
+
},
|
|
2621
|
+
multiDatesLocale: {
|
|
2622
|
+
backtotoday: "Back to Today",
|
|
2623
|
+
clearSelections: "Clear All",
|
|
2624
|
+
delete: "Delete",
|
|
2625
|
+
selected: "Selected,Days"
|
|
2626
|
+
},
|
|
2627
|
+
quickSelectors: {
|
|
2628
|
+
today: "Today",
|
|
2629
|
+
yesterday: "Yesterday",
|
|
2630
|
+
tomorrow: "Tomorrow",
|
|
2631
|
+
thisMonday: "This Monday",
|
|
2632
|
+
nextMonday: "Next Monday",
|
|
2633
|
+
firstDayOfMonth: "First Day of Month",
|
|
2634
|
+
lastDayOfMonth: "Last Day of Month",
|
|
2635
|
+
firstDayOfLastMonth: "First Day of Last Month",
|
|
2636
|
+
lastDayOfLastMonth: "Last Day of Last Month",
|
|
2637
|
+
firstDayOfYear: "First Day of Year",
|
|
2638
|
+
lastDayOfYear: "Last Day of Year",
|
|
2639
|
+
firstDayOfQuarter: "First Day of Quarter",
|
|
2640
|
+
lastDayOfQuarter: "Last Day of Quarter",
|
|
2641
|
+
thisWeek: "This Week",
|
|
2642
|
+
lastWeek: "Last Week",
|
|
2643
|
+
nextWeek: "Next Week",
|
|
2644
|
+
past7Days: "Past 7 Days",
|
|
2645
|
+
past30Days: "Past 30 Days",
|
|
2646
|
+
thisMonth: "This Month",
|
|
2647
|
+
lastMonth: "Last Month",
|
|
2648
|
+
thisQuarter: "This Quarter",
|
|
2649
|
+
lastQuarter: "Last Quarter",
|
|
2650
|
+
thisYear: "This Year",
|
|
2651
|
+
lastYear: "Last Year",
|
|
2652
|
+
recent3Months: "Recent 3 Months",
|
|
2653
|
+
recent6Months: "Recent 6 Months",
|
|
2654
|
+
nextYear: "Next Year"
|
|
2655
|
+
}
|
|
2656
|
+
}, _r = {
|
|
2657
|
+
lineNumberTitle: "NO.",
|
|
2658
|
+
emptyMessage: "Empty Data",
|
|
2659
|
+
pagination: {
|
|
2660
|
+
previousLabel: "Prev Page",
|
|
2661
|
+
nextLabel: "Next Page",
|
|
2662
|
+
message: "Total <b>{1}</b> Items",
|
|
2663
|
+
pagelist: {
|
|
2664
|
+
firstText: "Display",
|
|
2665
|
+
lastText: "items"
|
|
2666
|
+
}
|
|
2667
|
+
},
|
|
2668
|
+
filter: {
|
|
2669
|
+
title: "Conditions",
|
|
2670
|
+
reset: "Reset",
|
|
2671
|
+
clear: "Clear",
|
|
2672
|
+
clearAll: "Clear All Conditions",
|
|
2673
|
+
setting: "Settings",
|
|
2674
|
+
nofilter: "[ Empty ]",
|
|
2675
|
+
checkAll: "Check All",
|
|
2676
|
+
and: "And",
|
|
2677
|
+
or: "Or",
|
|
2678
|
+
operators: {
|
|
2679
|
+
equal: "equal",
|
|
2680
|
+
notEqual: "not equal",
|
|
2681
|
+
greater: "greater than",
|
|
2682
|
+
greaterOrEqual: "greater than or equal",
|
|
2683
|
+
less: "less than",
|
|
2684
|
+
lessOrEqual: "less than or equal",
|
|
2685
|
+
contains: "contains",
|
|
2686
|
+
notContains: "not contains",
|
|
2687
|
+
like: "contains",
|
|
2688
|
+
notLike: "not contains",
|
|
2689
|
+
in: "in",
|
|
2690
|
+
notIn: "not in",
|
|
2691
|
+
empty: "empty",
|
|
2692
|
+
notEmpty: "not empty",
|
|
2693
|
+
null: "null",
|
|
2694
|
+
notNull: "not null"
|
|
2695
|
+
},
|
|
2696
|
+
more: "More",
|
|
2697
|
+
ok: "ok",
|
|
2698
|
+
cancel: "cancel",
|
|
2699
|
+
sevenDays: "Seven Days",
|
|
2700
|
+
oneMonth: "One Month",
|
|
2701
|
+
threeMonths: "Three Months",
|
|
2702
|
+
sixMonths: "Six Months",
|
|
2703
|
+
searchBoxPlaceholder: "Please enter a keyword"
|
|
2704
|
+
},
|
|
2705
|
+
settings: {
|
|
2706
|
+
visible: "Display Columns",
|
|
2707
|
+
sortting: "Sortting",
|
|
2708
|
+
title: "Column Settings",
|
|
2709
|
+
canchoose: "Can choose",
|
|
2710
|
+
choosed: "Choosed",
|
|
2711
|
+
asc: "ASC",
|
|
2712
|
+
desc: "DESC",
|
|
2713
|
+
cancelSort: "Cancel sortting",
|
|
2714
|
+
ok: "OK",
|
|
2715
|
+
cancel: "Cancel",
|
|
2716
|
+
reset: "Reset",
|
|
2717
|
+
conciseMode: "Concise",
|
|
2718
|
+
advancedMode: "Advanced",
|
|
2719
|
+
formatSetting: "Column format",
|
|
2720
|
+
properties: "Column properties",
|
|
2721
|
+
groupping: "Groupping",
|
|
2722
|
+
allColumns: "All",
|
|
2723
|
+
visibleColumns: "Visible",
|
|
2724
|
+
hiddenColumns: "Hidden",
|
|
2725
|
+
searchPlaceholder: "Please enter a column name",
|
|
2726
|
+
checkall: "Show or hide all",
|
|
2727
|
+
headeralign: "Header alignment",
|
|
2728
|
+
dataalign: "Data alignment",
|
|
2729
|
+
alignLeft: "Left",
|
|
2730
|
+
alignCenter: "Center",
|
|
2731
|
+
alignRight: "Right",
|
|
2732
|
+
summarytype: "Summary type",
|
|
2733
|
+
summarytext: "Summary text",
|
|
2734
|
+
summaryNone: "None",
|
|
2735
|
+
summarySum: "Sum",
|
|
2736
|
+
summaryMax: "Max",
|
|
2737
|
+
summaryMin: "Min",
|
|
2738
|
+
summarCount: "Count",
|
|
2739
|
+
summaryAverage: "Average",
|
|
2740
|
+
grouppingField: "Groupping field",
|
|
2741
|
+
moreGrouppingFieldWarningMessage: "Up to 3 fields are set for grouping",
|
|
2742
|
+
grouppingSummary: "Group total",
|
|
2743
|
+
addGrouppingFieldTip: "Add groupping field",
|
|
2744
|
+
removeGrouppingFieldTip: "Remove groupping field",
|
|
2745
|
+
grouppingSummaryType: "Group total type",
|
|
2746
|
+
grouppingSummaryText: "Group total text",
|
|
2747
|
+
restoreDefaultSettingsText: "Are you sure you want to restore the default settings",
|
|
2748
|
+
simple: {
|
|
2749
|
+
title: "Show Columns",
|
|
2750
|
+
tip: "The selected fields can be displayed in the list. Drag to adjust the display order in the list.",
|
|
2751
|
+
count: "show <span class='visible-cols-count'>{0}</span> columns"
|
|
2752
|
+
}
|
|
2753
|
+
},
|
|
2754
|
+
selectionData: {
|
|
2755
|
+
clearAll: "Clear all",
|
|
2756
|
+
tooltip: "Click here show list.",
|
|
2757
|
+
currentLenth: "<b>{0}</b> items selected."
|
|
2758
|
+
},
|
|
2759
|
+
groupRow: {
|
|
2760
|
+
tips: "Drag columns here to group data.",
|
|
2761
|
+
removeColumn: "Remove the group column.",
|
|
2762
|
+
clearTip: "Clear all grouped fields.",
|
|
2763
|
+
clear: "Empty"
|
|
2764
|
+
},
|
|
2765
|
+
summary: {
|
|
2766
|
+
title: "Current Page Total"
|
|
2767
|
+
},
|
|
2768
|
+
loadingMessage: "Loading",
|
|
2769
|
+
commandColumn: {
|
|
2770
|
+
title: "Operations",
|
|
2771
|
+
edit: "Edit",
|
|
2772
|
+
remove: "Remove",
|
|
2773
|
+
cancel: "Cancel",
|
|
2774
|
+
accept: "Accept"
|
|
2775
|
+
}
|
|
2776
|
+
}, Wr = {
|
|
2777
|
+
add: "Add condition",
|
|
2778
|
+
create: "Create condition group",
|
|
2779
|
+
reset: "Reset",
|
|
2780
|
+
and: "And",
|
|
2781
|
+
or: "Or"
|
|
2782
|
+
}, Hr = {
|
|
2783
|
+
equal: "Equal",
|
|
2784
|
+
notEqual: "Not equal",
|
|
2785
|
+
greater: "Greater than",
|
|
2786
|
+
greaterOrEqual: "Greater than or equal",
|
|
2787
|
+
less: "Less than",
|
|
2788
|
+
lessOrEqual: "Less than or equal",
|
|
2789
|
+
contains: "Contains",
|
|
2790
|
+
notContains: "Does not contain",
|
|
2791
|
+
like: "Contains",
|
|
2792
|
+
notLike: "Does not contain",
|
|
2793
|
+
in: "In",
|
|
2794
|
+
notIn: "Not in",
|
|
2795
|
+
empty: "Is empty",
|
|
2796
|
+
notEmpty: "Is not empty",
|
|
2797
|
+
null: "Null",
|
|
2798
|
+
notNull: "Not null",
|
|
2799
|
+
startWith: "Starts with",
|
|
2800
|
+
endWith: "Ends with",
|
|
2801
|
+
and: "And",
|
|
2802
|
+
or: "Or"
|
|
2803
|
+
}, Vr = {
|
|
2804
|
+
reply: "Reply",
|
|
2805
|
+
cancel: "Cancel",
|
|
2806
|
+
submit: "Submit",
|
|
2807
|
+
confirm: "Confirm",
|
|
2808
|
+
colleague: "Colleague",
|
|
2809
|
+
searchPlaceholder: "Enter name to search",
|
|
2810
|
+
submitEmpty: "Submission content cannot be empty"
|
|
2811
|
+
}, zr = {
|
|
2812
|
+
remoteError: "The request method type is incorrect",
|
|
2813
|
+
placeholder: "Please select"
|
|
2814
|
+
}, Jr = {
|
|
2815
|
+
dayLabels: {
|
|
2816
|
+
Sun: "Sun",
|
|
2817
|
+
Mon: "Mon",
|
|
2818
|
+
Tue: "Tue",
|
|
2819
|
+
Wed: "Wed",
|
|
2820
|
+
Thu: "Thu",
|
|
2821
|
+
Fri: "Fri",
|
|
2822
|
+
Sat: "Sat"
|
|
2823
|
+
},
|
|
2824
|
+
monthLabels: {
|
|
2825
|
+
1: "Jan",
|
|
2826
|
+
2: "Feb",
|
|
2827
|
+
3: "Mar",
|
|
2828
|
+
4: "Apr",
|
|
2829
|
+
5: "May",
|
|
2830
|
+
6: "Jun",
|
|
2831
|
+
7: "Jul",
|
|
2832
|
+
8: "Aug",
|
|
2833
|
+
9: "Sep",
|
|
2834
|
+
10: "Oct",
|
|
2835
|
+
11: "Nov",
|
|
2836
|
+
12: "Dec"
|
|
2837
|
+
},
|
|
2838
|
+
titleFormat: "MM yyyy",
|
|
2839
|
+
yearViewTitleFormat: "yyyy",
|
|
2840
|
+
today: "Today",
|
|
2841
|
+
thisYear: "This Year",
|
|
2842
|
+
monthView: "Month",
|
|
2843
|
+
weekView: "Week",
|
|
2844
|
+
dayView: "Day",
|
|
2845
|
+
yearView: "Year",
|
|
2846
|
+
prevMonth: "Prev Month",
|
|
2847
|
+
nextMonth: "Next Month",
|
|
2848
|
+
prevWeek: "Prev Week",
|
|
2849
|
+
nextWeek: "Next Week",
|
|
2850
|
+
prevDay: "Prev Day",
|
|
2851
|
+
nextDay: "Next Day",
|
|
2852
|
+
prevYear: "Prev Year",
|
|
2853
|
+
nextYear: "Next Year",
|
|
2854
|
+
more: "Still #count# more items..."
|
|
2855
|
+
}, Yr = {
|
|
2856
|
+
imgtitle: "Amend",
|
|
2857
|
+
typeError: "Type error",
|
|
2858
|
+
sizeError: "Can not be larger than",
|
|
2859
|
+
uploadError: "Upload Fail!",
|
|
2860
|
+
loadError: "Load error.",
|
|
2861
|
+
loading: "Loading"
|
|
2862
|
+
}, Kr = {
|
|
2863
|
+
transfer: Or,
|
|
2864
|
+
timePicker: kr,
|
|
2865
|
+
tabs: Rr,
|
|
2866
|
+
section: Ar,
|
|
2867
|
+
responseToolbar: Lr,
|
|
2868
|
+
querySolution: Dr,
|
|
2869
|
+
pagination: Fr,
|
|
2870
|
+
numberSpinner: Mr,
|
|
2871
|
+
messageBox: vr,
|
|
2872
|
+
lookup: Nr,
|
|
2873
|
+
loading: Pr,
|
|
2874
|
+
listView: Br,
|
|
2875
|
+
"input-group": {
|
|
2876
|
+
placeholder: "Enter"
|
|
2877
|
+
},
|
|
2878
|
+
filterConditionEditor: qr,
|
|
2879
|
+
filterBar: Ur,
|
|
2880
|
+
eventParameter: $r,
|
|
2881
|
+
drawer: Ir,
|
|
2882
|
+
datepicker: jr,
|
|
2883
|
+
datagrid: _r,
|
|
2884
|
+
condition: Wr,
|
|
2885
|
+
operators: Hr,
|
|
2886
|
+
comment: Vr,
|
|
2887
|
+
comboList: zr,
|
|
2888
|
+
calendar: Jr,
|
|
2889
|
+
avatar: Yr
|
|
2890
|
+
}, Gr = {
|
|
2891
|
+
selectedStart: "已選:",
|
|
2892
|
+
selectedEnd: "項數據"
|
|
2893
|
+
}, Qr = {
|
|
2894
|
+
placeholder: "請選擇時間",
|
|
2895
|
+
time: {
|
|
2896
|
+
hour: "時",
|
|
2897
|
+
minute: "分",
|
|
2898
|
+
seconds: "秒"
|
|
2899
|
+
}
|
|
2900
|
+
}, Xr = {
|
|
2901
|
+
more: "更多",
|
|
2902
|
+
leftButton: "向左",
|
|
2903
|
+
rightButton: "向左",
|
|
2904
|
+
noData: "沒有相關數據"
|
|
2905
|
+
}, Zr = {
|
|
2906
|
+
expandLabel: "展開",
|
|
2907
|
+
collapseLabel: "收起"
|
|
2908
|
+
}, eo = {
|
|
2909
|
+
more: "更多"
|
|
2910
|
+
}, to = {
|
|
2911
|
+
saveAsDialog: {
|
|
2912
|
+
queryPlanName: "方案名稱",
|
|
2913
|
+
setAsDefault: "設為預設",
|
|
2914
|
+
confirm: "確定",
|
|
2915
|
+
cancel: "取消",
|
|
2916
|
+
caption: "新增方案",
|
|
2917
|
+
personal: "使用者個人方案",
|
|
2918
|
+
system: "系統公共方案",
|
|
2919
|
+
nameNotify: "請填寫方案名稱",
|
|
2920
|
+
authNotify: "您暫無權限修改公共類型方案。",
|
|
2921
|
+
success: "査詢方案保存成功",
|
|
2922
|
+
maxLength: "方案名稱最多100個字元,超出請修改"
|
|
2923
|
+
},
|
|
2924
|
+
manageDialog: {
|
|
2925
|
+
caption: "方案管理",
|
|
2926
|
+
default: "預設",
|
|
2927
|
+
system: "系統公共",
|
|
2928
|
+
saveAs: "另存為",
|
|
2929
|
+
save: "保存",
|
|
2930
|
+
manage: "管理",
|
|
2931
|
+
isDefault: "預設方案",
|
|
2932
|
+
code: "名稱",
|
|
2933
|
+
type: "屬性",
|
|
2934
|
+
private: "用戶個人方案",
|
|
2935
|
+
public: "系統公共方案",
|
|
2936
|
+
org: "組織公共方案",
|
|
2937
|
+
remove: "刪除"
|
|
2938
|
+
},
|
|
2939
|
+
configDialog: {
|
|
2940
|
+
caption: "篩選條件配置"
|
|
2941
|
+
},
|
|
2942
|
+
container: {
|
|
2943
|
+
filter: "篩選",
|
|
2944
|
+
default: "默認篩選方案",
|
|
2945
|
+
clear: "清空",
|
|
2946
|
+
require: "請填寫{fields}再進行篩選"
|
|
2947
|
+
}
|
|
2948
|
+
}, no = {
|
|
2949
|
+
message: "共 <b>{1}</b> 條 ",
|
|
2950
|
+
totalInfo: {
|
|
2951
|
+
firstText: "共",
|
|
2952
|
+
lastText: "條"
|
|
2953
|
+
},
|
|
2954
|
+
pageList: {
|
|
2955
|
+
firstText: "每頁",
|
|
2956
|
+
lastText: "條"
|
|
2957
|
+
},
|
|
2958
|
+
previous: "上一頁",
|
|
2959
|
+
next: "下一頁",
|
|
2960
|
+
goto: {
|
|
2961
|
+
prefix: "跳轉至",
|
|
2962
|
+
suffix: "頁"
|
|
2963
|
+
},
|
|
2964
|
+
show: "顯示"
|
|
2965
|
+
}, ro = {
|
|
2966
|
+
placeholder: "請輸入數字",
|
|
2967
|
+
range: {
|
|
2968
|
+
begin: "開始數字",
|
|
2969
|
+
end: "結束數字"
|
|
2970
|
+
}
|
|
2971
|
+
}, oo = {
|
|
2972
|
+
yes: "是",
|
|
2973
|
+
no: "否",
|
|
2974
|
+
ok: "確定",
|
|
2975
|
+
close: "關閉",
|
|
2976
|
+
cancel: "取消",
|
|
2977
|
+
title: "係統提示",
|
|
2978
|
+
errorTitle: "錯誤提示",
|
|
2979
|
+
prompt: {
|
|
2980
|
+
fontSize: {
|
|
2981
|
+
name: "字體大小",
|
|
2982
|
+
small: "小",
|
|
2983
|
+
middle: "中",
|
|
2984
|
+
big: "大",
|
|
2985
|
+
large: "特大",
|
|
2986
|
+
huge: "超大"
|
|
2987
|
+
}
|
|
2988
|
+
},
|
|
2989
|
+
exception: {
|
|
2990
|
+
expand: "展開",
|
|
2991
|
+
collapse: "收起",
|
|
2992
|
+
happend: "發生時間",
|
|
2993
|
+
detail: "詳細信息",
|
|
2994
|
+
copy: "複制詳細信息",
|
|
2995
|
+
copySuccess: "複制成功",
|
|
2996
|
+
copyFailed: "複制失敗",
|
|
2997
|
+
roger: "知道了"
|
|
2998
|
+
}
|
|
2999
|
+
}, so = {
|
|
3000
|
+
exact: "精確",
|
|
3001
|
+
placeholder: "請選擇",
|
|
3002
|
+
favorites: "收藏夾",
|
|
3003
|
+
selected: "已選數據",
|
|
3004
|
+
okText: "確定",
|
|
3005
|
+
cancelText: "取消",
|
|
3006
|
+
allColumns: "所有列",
|
|
3007
|
+
datalist: "數據列錶",
|
|
3008
|
+
mustWriteSomething: "請輸入關鍵字後查詢。",
|
|
3009
|
+
mustChoosAdatarow: "請選擇一條記錄!",
|
|
3010
|
+
tipText: "您要找的是不是這些?",
|
|
3011
|
+
cascade: {
|
|
3012
|
+
enable: "同步選擇",
|
|
3013
|
+
disable: "僅選擇自身",
|
|
3014
|
+
up: "包含上級",
|
|
3015
|
+
down: "包含下級"
|
|
3016
|
+
},
|
|
3017
|
+
includechildren: "包含下級",
|
|
3018
|
+
favoriteInfo: {
|
|
3019
|
+
addFav: "已添加到收藏夾。",
|
|
3020
|
+
cancelFav: "已從收藏夾中移除。",
|
|
3021
|
+
addFavTitle: "收藏",
|
|
3022
|
+
cancelFavTitle: "取消收藏"
|
|
3023
|
+
},
|
|
3024
|
+
getAllChilds: "獲取所有子級數據",
|
|
3025
|
+
contextMenu: {
|
|
3026
|
+
checkChildNodes: "勾選下級數據",
|
|
3027
|
+
uncheckChildNodes: "取消勾選下級數據",
|
|
3028
|
+
expandall: "全部展開",
|
|
3029
|
+
collapseall: "全部收起",
|
|
3030
|
+
expandByLayer: "按層級展開",
|
|
3031
|
+
expand1: "展開 1 級",
|
|
3032
|
+
expand2: "展開 2 級",
|
|
3033
|
+
expand3: "展開 3 級",
|
|
3034
|
+
expand4: "展開 4 級",
|
|
3035
|
+
expand5: "展開 5 級",
|
|
3036
|
+
expand6: "展開 6 級",
|
|
3037
|
+
expand7: "展開 7 級",
|
|
3038
|
+
expand8: "展開 8 級",
|
|
3039
|
+
expand9: "展開 9 級"
|
|
3040
|
+
},
|
|
3041
|
+
quick: {
|
|
3042
|
+
notfind: "未找到搜索內容",
|
|
3043
|
+
more: "顯示更多"
|
|
3044
|
+
},
|
|
3045
|
+
configError: "幫助顯示列未配置,請檢查是否已正確配置幫助數據源!",
|
|
3046
|
+
selectedInfo: {
|
|
3047
|
+
total: '已選 <span style="font-size: 18px;padding: 0 3px;">{0}</span> 條',
|
|
3048
|
+
clear: "取消已選",
|
|
3049
|
+
remove: "移除 ({0})",
|
|
3050
|
+
confirm: "您確認要取消所有選中記錄嗎?"
|
|
3051
|
+
},
|
|
3052
|
+
clearAllConditions: "清除所有查詢條件",
|
|
3053
|
+
anyFields: "全部"
|
|
3054
|
+
}, ao = {
|
|
3055
|
+
message: "正在加載,請稍候..."
|
|
3056
|
+
}, io = {
|
|
3057
|
+
emptyMessage: "暫無數據"
|
|
3058
|
+
}, lo = {
|
|
3059
|
+
cancelButton: "取消",
|
|
3060
|
+
okButton: "確定",
|
|
3061
|
+
addWhere: "添加子句",
|
|
3062
|
+
clear: "清空",
|
|
3063
|
+
moveTop: "置頂",
|
|
3064
|
+
moveUp: "上移",
|
|
3065
|
+
moveDown: "下移",
|
|
3066
|
+
moveBottom: "置底",
|
|
3067
|
+
leftBrackets: "左括號",
|
|
3068
|
+
field: "字段",
|
|
3069
|
+
operator: "操作符",
|
|
3070
|
+
value: "值",
|
|
3071
|
+
valueType: "值類型",
|
|
3072
|
+
expressType: {
|
|
3073
|
+
value: "值",
|
|
3074
|
+
express: "錶達式",
|
|
3075
|
+
frontExpress: "表單表達式"
|
|
3076
|
+
},
|
|
3077
|
+
rightBrackets: "右括號",
|
|
3078
|
+
relation: "關係",
|
|
3079
|
+
relationValue: {
|
|
3080
|
+
and: "並且",
|
|
3081
|
+
or: "或者"
|
|
3082
|
+
},
|
|
3083
|
+
designTab: "設計器",
|
|
3084
|
+
jsonTab: "源代碼",
|
|
3085
|
+
sqlTab: "Sql預覽",
|
|
3086
|
+
title: "條件編輯器",
|
|
3087
|
+
message: "確認要清空當前所有數據嗎?",
|
|
3088
|
+
validate: {
|
|
3089
|
+
bracket: "左右括號不匹配,請檢查",
|
|
3090
|
+
relation: "條件關系不完整,請檢查",
|
|
3091
|
+
field: "條件字段未設置,請檢查"
|
|
3092
|
+
}
|
|
3093
|
+
}, co = {
|
|
3094
|
+
confirm: "確定",
|
|
3095
|
+
cancel: "取消",
|
|
3096
|
+
advancedFilter: "更多篩選",
|
|
3097
|
+
clearAll: "清空篩選",
|
|
3098
|
+
reset: "清空篩選",
|
|
3099
|
+
expand: "展開",
|
|
3100
|
+
fold: "收起"
|
|
3101
|
+
}, uo = {
|
|
3102
|
+
title: "參數編輯器",
|
|
3103
|
+
ok: "確定",
|
|
3104
|
+
cancel: "取消",
|
|
3105
|
+
workFlowClass: {
|
|
3106
|
+
title: "請選擇流程分類"
|
|
3107
|
+
},
|
|
3108
|
+
generalEditor: {
|
|
3109
|
+
field: "欄位",
|
|
3110
|
+
tabVar: "變數",
|
|
3111
|
+
form: "表單元件"
|
|
3112
|
+
},
|
|
3113
|
+
jsonEditor: {
|
|
3114
|
+
dialogTitle: "可配置參數編輯器",
|
|
3115
|
+
keyColumnTitle: "參數",
|
|
3116
|
+
valueColumnTitle: "參數值",
|
|
3117
|
+
addButtonText: "添加配置參數",
|
|
3118
|
+
keyColumnPlaceholder: "請輸入參數",
|
|
3119
|
+
error: "JsonEditor的參數預期是數位,但收到無效的JSON"
|
|
3120
|
+
},
|
|
3121
|
+
comboTree: {
|
|
3122
|
+
placeholder: "請選擇"
|
|
3123
|
+
}
|
|
3124
|
+
}, fo = {
|
|
3125
|
+
cancel: "取消",
|
|
3126
|
+
confirm: "確定"
|
|
3127
|
+
}, po = {
|
|
3128
|
+
dayLabels: {
|
|
3129
|
+
Sun: "日",
|
|
3130
|
+
Mon: "一",
|
|
3131
|
+
Tue: "二",
|
|
3132
|
+
Wed: "三",
|
|
3133
|
+
Thu: "四",
|
|
3134
|
+
Fri: "五",
|
|
3135
|
+
Sat: "六"
|
|
3136
|
+
},
|
|
3137
|
+
monthLabels: {
|
|
3138
|
+
1: "一月",
|
|
3139
|
+
2: "二月",
|
|
3140
|
+
3: "三月",
|
|
3141
|
+
4: "四月",
|
|
3142
|
+
5: "五月",
|
|
3143
|
+
6: "六月",
|
|
3144
|
+
7: "七月",
|
|
3145
|
+
8: "八月",
|
|
3146
|
+
9: "九月",
|
|
3147
|
+
10: "十月",
|
|
3148
|
+
11: "十一月",
|
|
3149
|
+
12: "十二月"
|
|
3150
|
+
},
|
|
3151
|
+
dateFormat: "yyyy-MM-dd",
|
|
3152
|
+
returnFormat: "yyyy-MM-dd",
|
|
3153
|
+
firstDayOfWeek: "mo",
|
|
3154
|
+
sunHighlight: !1,
|
|
3155
|
+
yearTxt: "年",
|
|
3156
|
+
timeBtnText: "選擇時間",
|
|
3157
|
+
dateBtnText: "選擇日期",
|
|
3158
|
+
commitBtnText: "確定",
|
|
3159
|
+
weekText: "周",
|
|
3160
|
+
placeholder: "請選擇日期",
|
|
3161
|
+
range: {
|
|
3162
|
+
begin: "開始日期",
|
|
3163
|
+
end: "結束日期"
|
|
3164
|
+
},
|
|
3165
|
+
message: {
|
|
3166
|
+
101: "結束時間不得早于開始時間!",
|
|
3167
|
+
102: "僅允許選擇 ${0} 個日期"
|
|
3168
|
+
},
|
|
3169
|
+
current: {
|
|
3170
|
+
today: "今天",
|
|
3171
|
+
month: "本月",
|
|
3172
|
+
week: "本周",
|
|
3173
|
+
year: "今年"
|
|
3174
|
+
},
|
|
3175
|
+
multiDatesLocale: {
|
|
3176
|
+
backtotoday: "回到今天",
|
|
3177
|
+
clearSelections: "清空",
|
|
3178
|
+
delete: "刪除",
|
|
3179
|
+
selected: "已選,天"
|
|
3180
|
+
},
|
|
3181
|
+
quickSelectors: {
|
|
3182
|
+
today: "今天",
|
|
3183
|
+
yesterday: "昨天",
|
|
3184
|
+
tomorrow: "明天",
|
|
3185
|
+
thisMonday: "本周一",
|
|
3186
|
+
nextMonday: "下周一",
|
|
3187
|
+
firstDayOfMonth: "本月初",
|
|
3188
|
+
lastDayOfMonth: "本月末",
|
|
3189
|
+
firstDayOfLastMonth: "上月初",
|
|
3190
|
+
lastDayOfLastMonth: "上月末",
|
|
3191
|
+
firstDayOfYear: "今年初",
|
|
3192
|
+
lastDayOfYear: "今年末",
|
|
3193
|
+
firstDayOfQuarter: "本季度初",
|
|
3194
|
+
lastDayOfQuarter: "本季度末",
|
|
3195
|
+
thisWeek: "本周",
|
|
3196
|
+
lastWeek: "上周",
|
|
3197
|
+
nextWeek: "下周",
|
|
3198
|
+
past7Days: "過去7天",
|
|
3199
|
+
past30Days: "過去30天",
|
|
3200
|
+
thisMonth: "本月",
|
|
3201
|
+
lastMonth: "上月",
|
|
3202
|
+
thisQuarter: "本季度",
|
|
3203
|
+
lastQuarter: "上季度",
|
|
3204
|
+
thisYear: "今年",
|
|
3205
|
+
lastYear: "去年",
|
|
3206
|
+
recent3Months: "最近3個月",
|
|
3207
|
+
recent6Months: "最近6個月",
|
|
3208
|
+
nextYear: "明年"
|
|
3209
|
+
}
|
|
3210
|
+
}, mo = {
|
|
3211
|
+
lineNumberTitle: "序號",
|
|
3212
|
+
emptyMessage: "暫無數據",
|
|
3213
|
+
pagination: {
|
|
3214
|
+
previousLabel: "上一頁",
|
|
3215
|
+
nextLabel: "下一頁",
|
|
3216
|
+
message: "共 <b>{1}</b> 條",
|
|
3217
|
+
pagelist: {
|
|
3218
|
+
firstText: "顯示",
|
|
3219
|
+
lastText: "條"
|
|
3220
|
+
}
|
|
3221
|
+
},
|
|
3222
|
+
filter: {
|
|
3223
|
+
title: "過濾條件",
|
|
3224
|
+
reset: "重置",
|
|
3225
|
+
clear: "清空條件",
|
|
3226
|
+
clearAll: "清空所有條件",
|
|
3227
|
+
setting: "高級設置",
|
|
3228
|
+
nofilter: "[ 無 ]",
|
|
3229
|
+
checkAll: "全選",
|
|
3230
|
+
and: "並且",
|
|
3231
|
+
or: "或者",
|
|
3232
|
+
operators: {
|
|
3233
|
+
equal: "等於",
|
|
3234
|
+
notEqual: "不等於",
|
|
3235
|
+
greater: "大於",
|
|
3236
|
+
greaterOrEqual: "大於等於",
|
|
3237
|
+
less: "小於",
|
|
3238
|
+
lessOrEqual: "小於等於",
|
|
3239
|
+
contains: "包含",
|
|
3240
|
+
notContains: "不包含",
|
|
3241
|
+
like: "包含",
|
|
3242
|
+
notLike: "不包含",
|
|
3243
|
+
in: "屬於",
|
|
3244
|
+
notIn: "不屬於",
|
|
3245
|
+
empty: "為空",
|
|
3246
|
+
notEmpty: "不為空",
|
|
3247
|
+
null: "null",
|
|
3248
|
+
notNull: "不為null"
|
|
3249
|
+
},
|
|
3250
|
+
more: "查看更多",
|
|
3251
|
+
ok: "確定",
|
|
3252
|
+
cancel: "取消",
|
|
3253
|
+
sevenDays: "七天",
|
|
3254
|
+
oneMonth: "一個月",
|
|
3255
|
+
threeMonths: "三個月",
|
|
3256
|
+
sixMonths: "半年",
|
|
3257
|
+
searchBoxPlaceholder: "請輸入關鍵詞"
|
|
3258
|
+
},
|
|
3259
|
+
settings: {
|
|
3260
|
+
visible: "顯示列",
|
|
3261
|
+
sortting: "列排序",
|
|
3262
|
+
title: "列配置",
|
|
3263
|
+
canchoose: "可選列",
|
|
3264
|
+
choosed: "已選列",
|
|
3265
|
+
asc: "升序",
|
|
3266
|
+
desc: "降序",
|
|
3267
|
+
cancelSort: "取消排序",
|
|
3268
|
+
ok: "確定",
|
|
3269
|
+
cancel: "取消",
|
|
3270
|
+
reset: "恢複默認",
|
|
3271
|
+
conciseMode: "簡潔模式",
|
|
3272
|
+
advancedMode: "高級模式",
|
|
3273
|
+
formatSetting: "列格式",
|
|
3274
|
+
properties: "列屬性",
|
|
3275
|
+
groupping: "分組",
|
|
3276
|
+
allColumns: "所有列",
|
|
3277
|
+
visibleColumns: "可見列",
|
|
3278
|
+
hiddenColumns: "隱藏列",
|
|
3279
|
+
searchPlaceholder: "請輸入列名稱",
|
|
3280
|
+
checkall: "全部顯示/隱藏",
|
|
3281
|
+
headeralign: "表頭對齊",
|
|
3282
|
+
dataalign: "數據對齊",
|
|
3283
|
+
alignLeft: "左對齊",
|
|
3284
|
+
alignCenter: "居中對齊",
|
|
3285
|
+
alignRight: "右對齊",
|
|
3286
|
+
summarytype: "匯總合計類型",
|
|
3287
|
+
summarytext: "匯總合計文本",
|
|
3288
|
+
summaryNone: "無",
|
|
3289
|
+
summarySum: "求和",
|
|
3290
|
+
summaryMax: "最大值",
|
|
3291
|
+
summaryMin: "最小值",
|
|
3292
|
+
summarCount: "計數",
|
|
3293
|
+
summaryAverage: "平均值",
|
|
3294
|
+
grouppingField: "分組字段",
|
|
3295
|
+
moreGrouppingFieldWarningMessage: "最多設置3個字段進行分組",
|
|
3296
|
+
grouppingSummary: "分組合計",
|
|
3297
|
+
addGrouppingFieldTip: "添加分組字段",
|
|
3298
|
+
removeGrouppingFieldTip: "移除分組字段",
|
|
3299
|
+
grouppingSummaryType: "分組合計類型e",
|
|
3300
|
+
grouppingSummaryText: "分組合計文本",
|
|
3301
|
+
restoreDefaultSettingsText: "確認要恢複默認設置嗎",
|
|
3302
|
+
simple: {
|
|
3303
|
+
title: "顯示列",
|
|
3304
|
+
tip: "選中的字段可展示到列表中,拖拽可調整在列表中的展示順序。",
|
|
3305
|
+
count: "已顯示 <span class='visible-cols-count'>{0}</span> 列"
|
|
3306
|
+
}
|
|
3307
|
+
},
|
|
3308
|
+
selectionData: {
|
|
3309
|
+
clearAll: "清空",
|
|
3310
|
+
tooltip: "點擊顯示已選記錄列錶",
|
|
3311
|
+
currentLenth: "已選擇:<b>{0}</b> 條"
|
|
3312
|
+
},
|
|
3313
|
+
groupRow: {
|
|
3314
|
+
tips: "拖動列到這兒可進行數據分組",
|
|
3315
|
+
removeColumn: "移除分組列",
|
|
3316
|
+
clearTip: "清除所有分組字段",
|
|
3317
|
+
clear: "清空"
|
|
3318
|
+
},
|
|
3319
|
+
summary: {
|
|
3320
|
+
title: "當頁合計"
|
|
3321
|
+
},
|
|
3322
|
+
loadingMessage: "正在載入",
|
|
3323
|
+
commandColumn: {
|
|
3324
|
+
title: "操作",
|
|
3325
|
+
edit: "編輯",
|
|
3326
|
+
remove: "刪除",
|
|
3327
|
+
cancel: "取消",
|
|
3328
|
+
accept: "確定"
|
|
3329
|
+
}
|
|
3330
|
+
}, ho = {
|
|
3331
|
+
add: "新增條件",
|
|
3332
|
+
create: "建立條件群組",
|
|
3333
|
+
reset: "重設",
|
|
3334
|
+
and: "且",
|
|
3335
|
+
or: "或"
|
|
3336
|
+
}, yo = {
|
|
3337
|
+
equal: "等於",
|
|
3338
|
+
notEqual: "不等於",
|
|
3339
|
+
greater: "大於",
|
|
3340
|
+
greaterOrEqual: "大於等於",
|
|
3341
|
+
less: "小於",
|
|
3342
|
+
lessOrEqual: "小於等於",
|
|
3343
|
+
contains: "包含",
|
|
3344
|
+
notContains: "不包含",
|
|
3345
|
+
like: "包含",
|
|
3346
|
+
notLike: "不包含",
|
|
3347
|
+
in: "屬於",
|
|
3348
|
+
notIn: "不屬於",
|
|
3349
|
+
empty: "為空",
|
|
3350
|
+
notEmpty: "不為空",
|
|
3351
|
+
null: "null",
|
|
3352
|
+
notNull: "不為null",
|
|
3353
|
+
startWith: "開始於",
|
|
3354
|
+
endWith: "結束於",
|
|
3355
|
+
and: "且",
|
|
3356
|
+
or: "或"
|
|
3357
|
+
}, go = {
|
|
3358
|
+
reply: "回覆",
|
|
3359
|
+
cancel: "取消",
|
|
3360
|
+
submit: "提交",
|
|
3361
|
+
confirm: "確定",
|
|
3362
|
+
colleague: "同事",
|
|
3363
|
+
searchPlaceholder: "請輸入姓名搜尋",
|
|
3364
|
+
submitEmpty: "提交內容不能為空"
|
|
3365
|
+
}, bo = {
|
|
3366
|
+
remoteError: "請求方法類型不正確",
|
|
3367
|
+
placeholder: "請選擇"
|
|
3368
|
+
}, xo = {
|
|
3369
|
+
dayLabels: {
|
|
3370
|
+
Sun: "星期日",
|
|
3371
|
+
Mon: "星期一",
|
|
3372
|
+
Tue: "星期二",
|
|
3373
|
+
Wed: "星期三",
|
|
3374
|
+
Thu: "星期四",
|
|
3375
|
+
Fri: "星期五",
|
|
3376
|
+
Sat: "星期六"
|
|
3377
|
+
},
|
|
3378
|
+
monthLabels: {
|
|
3379
|
+
1: "1月",
|
|
3380
|
+
2: "2月",
|
|
3381
|
+
3: "3月",
|
|
3382
|
+
4: "4月",
|
|
3383
|
+
5: "5月",
|
|
3384
|
+
6: "6月",
|
|
3385
|
+
7: "7月",
|
|
3386
|
+
8: "8月",
|
|
3387
|
+
9: "9月",
|
|
3388
|
+
10: "10月",
|
|
3389
|
+
11: "11月",
|
|
3390
|
+
12: "12月"
|
|
3391
|
+
},
|
|
3392
|
+
titleFormat: "yyyy年 MM月",
|
|
3393
|
+
yearViewTitleFormat: "yyyy年",
|
|
3394
|
+
today: "今天",
|
|
3395
|
+
thisYear: "今年",
|
|
3396
|
+
yearView: "年",
|
|
3397
|
+
monthView: "月",
|
|
3398
|
+
weekView: "周",
|
|
3399
|
+
dayView: "日",
|
|
3400
|
+
prevMonth: "上一月",
|
|
3401
|
+
nextMonth: "下一月",
|
|
3402
|
+
prevWeek: "上一周",
|
|
3403
|
+
nextWeek: "下一周",
|
|
3404
|
+
prevDay: "上一天",
|
|
3405
|
+
nextDay: "下一天",
|
|
3406
|
+
prevYear: "上一年",
|
|
3407
|
+
nextYear: "下一年",
|
|
3408
|
+
more: "還有 #count# 項..."
|
|
3409
|
+
}, wo = {
|
|
3410
|
+
imgtitle: "點擊修改",
|
|
3411
|
+
typeError: "上傳圖片類型不正確",
|
|
3412
|
+
sizeError: "上傳圖片不能大於",
|
|
3413
|
+
uploadError: "圖片上傳失敗,請重試!",
|
|
3414
|
+
loadError: "加載錯誤",
|
|
3415
|
+
loading: "加載中"
|
|
3416
|
+
}, Eo = {
|
|
3417
|
+
transfer: Gr,
|
|
3418
|
+
timePicker: Qr,
|
|
3419
|
+
tabs: Xr,
|
|
3420
|
+
section: Zr,
|
|
3421
|
+
responseToolbar: eo,
|
|
3422
|
+
querySolution: to,
|
|
3423
|
+
pagination: no,
|
|
3424
|
+
numberSpinner: ro,
|
|
3425
|
+
messageBox: oo,
|
|
3426
|
+
lookup: so,
|
|
3427
|
+
loading: ao,
|
|
3428
|
+
listView: io,
|
|
3429
|
+
"input-group": {
|
|
3430
|
+
placeholder: "請輸入"
|
|
3431
|
+
},
|
|
3432
|
+
filterConditionEditor: lo,
|
|
3433
|
+
filterBar: co,
|
|
3434
|
+
eventParameter: uo,
|
|
3435
|
+
drawer: fo,
|
|
3436
|
+
datepicker: po,
|
|
3437
|
+
datagrid: mo,
|
|
3438
|
+
condition: ho,
|
|
3439
|
+
operators: yo,
|
|
3440
|
+
comment: go,
|
|
3441
|
+
comboList: bo,
|
|
3442
|
+
calendar: xo,
|
|
3443
|
+
avatar: wo
|
|
3444
|
+
}, Je = {
|
|
3445
|
+
"zh-CHS": Cr,
|
|
3446
|
+
en: Kr,
|
|
3447
|
+
"zh-CHT": Eo
|
|
3448
|
+
}, g = class g {
|
|
2331
3449
|
static async setup(t, n = {}) {
|
|
2332
|
-
|
|
2333
|
-
const r =
|
|
2334
|
-
|
|
3450
|
+
g.config = { ...St, ...n };
|
|
3451
|
+
const r = g.config.locale;
|
|
3452
|
+
g.i18n = Et({
|
|
2335
3453
|
locale: r,
|
|
2336
|
-
fallbackLocale:
|
|
3454
|
+
fallbackLocale: g.config.fallbackLocale,
|
|
2337
3455
|
messages: {},
|
|
2338
3456
|
legacy: !1,
|
|
2339
3457
|
globalInjection: !0,
|
|
2340
3458
|
silentTranslationWarn: !0,
|
|
2341
|
-
silentFallbackWarn: !0
|
|
2342
|
-
|
|
3459
|
+
silentFallbackWarn: !0,
|
|
3460
|
+
missing: (o, a) => g.getDefaultLocaleValue(r, a)
|
|
3461
|
+
}), t.use(g.i18n), await this.loadResources();
|
|
2343
3462
|
}
|
|
2344
3463
|
/**
|
|
2345
3464
|
* 获取当前语言
|
|
2346
3465
|
* @returns
|
|
2347
3466
|
*/
|
|
2348
3467
|
static getLocale() {
|
|
2349
|
-
return
|
|
3468
|
+
return g.i18n && g.i18n.global.locale.value || "zh-CHS";
|
|
2350
3469
|
}
|
|
2351
3470
|
/**
|
|
2352
3471
|
* 默认加载的多语言值,返回中文值
|
|
2353
3472
|
* @param key
|
|
2354
3473
|
* @returns
|
|
2355
3474
|
*/
|
|
2356
|
-
static getDefaultLocaleValue(t) {
|
|
2357
|
-
|
|
3475
|
+
static getDefaultLocaleValue(t, n) {
|
|
3476
|
+
const r = Je[t] || Je["zh-CHS"];
|
|
3477
|
+
return n.split(".").reduce((s, l) => s[l], r);
|
|
2358
3478
|
}
|
|
2359
3479
|
static getLocaleValue(t, n) {
|
|
2360
|
-
|
|
3480
|
+
if (g.i18n)
|
|
3481
|
+
return g.i18n.global.t(t, n);
|
|
3482
|
+
const r = g.getLocale();
|
|
3483
|
+
return g.getDefaultLocaleValue(r, t);
|
|
2361
3484
|
}
|
|
2362
3485
|
/**
|
|
2363
3486
|
* 属性空值或者有值但等于默认值,返回默认值多语言属性;有值但不相等返回当前属性自有值
|
|
@@ -2367,37 +3490,37 @@ const Zn = {
|
|
|
2367
3490
|
* @returns
|
|
2368
3491
|
*/
|
|
2369
3492
|
static getRealPropertyValue(t, n, r) {
|
|
2370
|
-
return !t || t === n ?
|
|
3493
|
+
return !t || t === n ? g.getLocaleValue(r) : t;
|
|
2371
3494
|
}
|
|
2372
3495
|
static async loadResources(t = {}) {
|
|
2373
|
-
const n = {}, r =
|
|
2374
|
-
return n[r] = await
|
|
3496
|
+
const n = {}, r = g.config.locale, o = g.config.fallbackLocale;
|
|
3497
|
+
return n[r] = await g.loadLocaleResources(r), o && r !== o && (n[o] = await g.loadLocaleResources(o), g.i18n.global.setLocaleMessage(o, n[o])), g.i18n.global.setLocaleMessage(r, n[r]), n;
|
|
2375
3498
|
}
|
|
2376
3499
|
static async loadLocaleResources(t) {
|
|
2377
3500
|
var n, r;
|
|
2378
3501
|
try {
|
|
2379
|
-
let
|
|
2380
|
-
const { loadResource:
|
|
2381
|
-
if (
|
|
2382
|
-
const
|
|
2383
|
-
|
|
3502
|
+
let o = {};
|
|
3503
|
+
const { loadResource: a } = Zn();
|
|
3504
|
+
if (g.config.uri) {
|
|
3505
|
+
const s = `${g.config.uri}/${t}.json?version=${(/* @__PURE__ */ new Date()).valueOf()}`;
|
|
3506
|
+
o = await a(s);
|
|
2384
3507
|
}
|
|
2385
|
-
return (n =
|
|
2386
|
-
} catch (
|
|
2387
|
-
return console.warn(`Failed to load locale ${t}:`,
|
|
3508
|
+
return (n = g.config.localResources) != null && n[t] && (o = { ...o, ...g.config.localResources[t] }), o;
|
|
3509
|
+
} catch (o) {
|
|
3510
|
+
return console.warn(`Failed to load locale ${t}:`, o), ((r = g.config.localResources) == null ? void 0 : r[t]) || {};
|
|
2388
3511
|
}
|
|
2389
3512
|
}
|
|
2390
3513
|
};
|
|
2391
|
-
|
|
2392
|
-
let
|
|
2393
|
-
const
|
|
3514
|
+
fe(g, "i18n"), fe(g, "config");
|
|
3515
|
+
let oe = g;
|
|
3516
|
+
const _o = {
|
|
2394
3517
|
async install(e, t) {
|
|
2395
|
-
await
|
|
3518
|
+
await oe.setup(e, t), e.provide(Tt, oe);
|
|
2396
3519
|
}
|
|
2397
3520
|
};
|
|
2398
3521
|
export {
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
3522
|
+
Tt as LOCALE_SERVICE_INJECTION_TOKEN,
|
|
3523
|
+
oe as LocaleService,
|
|
3524
|
+
_o as default,
|
|
3525
|
+
Zn as useResourceLoader
|
|
2403
3526
|
};
|