admins-components 9.0.8 → 9.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admins-components.js +31 -29
- package/dist/admins-components100.js +250 -25
- package/dist/admins-components101.js +26 -27
- package/dist/admins-components102.js +25 -169
- package/dist/admins-components103.js +165 -61
- package/dist/admins-components104.js +61 -60
- package/dist/admins-components105.js +65 -28
- package/dist/admins-components106.js +28 -14
- package/dist/admins-components107.js +15 -26
- package/dist/admins-components108.js +26 -8
- package/dist/admins-components109.js +9 -4
- package/dist/admins-components110.js +4 -3
- package/dist/admins-components111.js +2 -2
- package/dist/admins-components112.js +3 -21
- package/dist/admins-components113.js +21 -14
- package/dist/admins-components114.js +14 -8
- package/dist/admins-components115.js +8 -13
- package/dist/admins-components116.js +11 -24
- package/dist/admins-components117.js +24 -81
- package/dist/admins-components118.js +82 -10
- package/dist/admins-components119.js +10 -4
- package/dist/admins-components120.js +5 -8
- package/dist/admins-components121.js +7 -6
- package/dist/admins-components122.js +6 -5
- package/dist/admins-components123.js +4 -13
- package/dist/admins-components124.js +11 -9
- package/dist/admins-components125.js +13 -30
- package/dist/admins-components126.js +30 -4
- package/dist/admins-components127.js +4 -29
- package/dist/admins-components128.js +29 -5
- package/dist/admins-components129.js +3 -3
- package/dist/admins-components13.js +1 -1
- package/dist/admins-components130.js +4 -7
- package/dist/admins-components131.js +7 -73
- package/dist/admins-components132.js +71 -26
- package/dist/admins-components133.js +27 -57
- package/dist/admins-components134.js +57 -22
- package/dist/admins-components135.js +21 -47
- package/dist/admins-components136.js +48 -29
- package/dist/admins-components137.js +31 -3
- package/dist/admins-components138.js +3 -179
- package/dist/admins-components139.js +176 -43
- package/dist/admins-components140.js +44 -35
- package/dist/admins-components141.js +34 -43
- package/dist/admins-components142.js +42 -137
- package/dist/admins-components143.js +134 -51
- package/dist/admins-components144.js +58 -7
- package/dist/admins-components145.js +6 -5
- package/dist/admins-components146.js +6 -76
- package/dist/admins-components147.js +76 -29
- package/dist/admins-components148.js +29 -1931
- package/dist/admins-components149.js +1748 -24628
- package/dist/admins-components15.js +9 -10
- package/dist/admins-components150.js +24810 -8
- package/dist/admins-components151.js +9 -7
- package/dist/admins-components152.js +7 -142
- package/dist/admins-components153.js +141 -8
- package/dist/admins-components154.js +3 -3
- package/dist/admins-components155.js +10 -0
- package/dist/admins-components157.js +161 -44
- package/dist/admins-components158.js +50 -8
- package/dist/admins-components159.js +8 -49
- package/dist/admins-components160.js +50 -6
- package/dist/admins-components161.js +6 -80
- package/dist/admins-components162.js +70 -48
- package/dist/admins-components163.js +30 -31
- package/dist/admins-components164.js +58 -8
- package/dist/admins-components165.js +8 -51
- package/dist/admins-components166.js +51 -8
- package/dist/admins-components167.js +10 -0
- package/dist/{admins-components168.js → admins-components169.js} +3 -3
- package/dist/admins-components18.js +90 -91
- package/dist/admins-components20.js +40 -40
- package/dist/admins-components77.js +4 -2
- package/dist/admins-components78.js +2 -2
- package/dist/admins-components87.js +1 -1
- package/dist/admins-components95.js +3 -3
- package/dist/admins-components98.js +19 -6
- package/dist/admins-components99.js +5 -250
- package/dist/src/index.d.ts +2 -0
- package/package.json +1 -1
- package/dist/admins-components156.js +0 -169
|
@@ -1,180 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import n from "./admins-components102.js";
|
|
4
|
-
import r from "./admins-components103.js";
|
|
5
|
-
import i from "./admins-components114.js";
|
|
6
|
-
import a from "./admins-components121.js";
|
|
7
|
-
import { asyncDecorator as o, progressEventDecorator as s, progressEventReducer as c } from "./admins-components125.js";
|
|
8
|
-
import l from "./admins-components132.js";
|
|
9
|
-
import u from "./admins-components134.js";
|
|
10
|
-
import { trackStream as d } from "./admins-components135.js";
|
|
11
|
-
import f from "./admins-components136.js";
|
|
12
|
-
import { VERSION as p } from "./admins-components137.js";
|
|
13
|
-
//#region node_modules/axios/lib/adapters/fetch.js
|
|
14
|
-
var m = 64 * 1024, { isFunction: h } = e, g = (e) => encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi, (e, t) => String.fromCharCode(parseInt(t, 16))), _ = (t) => {
|
|
15
|
-
if (!e.isString(t)) return t;
|
|
16
|
-
try {
|
|
17
|
-
return decodeURIComponent(t);
|
|
18
|
-
} catch {
|
|
19
|
-
return t;
|
|
20
|
-
}
|
|
21
|
-
}, v = (e, ...t) => {
|
|
22
|
-
try {
|
|
23
|
-
return !!e(...t);
|
|
24
|
-
} catch {
|
|
25
|
-
return !1;
|
|
26
|
-
}
|
|
27
|
-
}, y = (e) => {
|
|
28
|
-
let t = e.indexOf("://"), n = e;
|
|
29
|
-
return t !== -1 && (n = n.slice(t + 3)), n.includes("@") || n.includes(":");
|
|
30
|
-
}, b = (b) => {
|
|
31
|
-
let x = e.global !== void 0 && e.global !== null ? e.global : globalThis, { ReadableStream: S, TextEncoder: C } = x;
|
|
32
|
-
b = e.merge.call({ skipUndefined: !0 }, {
|
|
33
|
-
Request: x.Request,
|
|
34
|
-
Response: x.Response
|
|
35
|
-
}, b);
|
|
36
|
-
let { fetch: w, Request: T, Response: E } = b, D = w ? h(w) : typeof fetch == "function", O = h(T), k = h(E);
|
|
37
|
-
if (!D) return !1;
|
|
38
|
-
let A = D && h(S), j = D && (typeof C == "function" ? ((e) => (t) => e.encode(t))(new C()) : async (e) => new Uint8Array(await new T(e).arrayBuffer())), M = O && A && v(() => {
|
|
39
|
-
let e = !1, t = new T(i.origin, {
|
|
40
|
-
body: new S(),
|
|
41
|
-
method: "POST",
|
|
42
|
-
get duplex() {
|
|
43
|
-
return e = !0, "half";
|
|
44
|
-
}
|
|
45
|
-
}), n = t.headers.has("Content-Type");
|
|
46
|
-
return t.body != null && t.body.cancel(), e && !n;
|
|
47
|
-
}), N = k && A && v(() => e.isReadableStream(new E("").body)), P = { stream: N && ((e) => e.body) };
|
|
48
|
-
D && [
|
|
49
|
-
"text",
|
|
50
|
-
"arrayBuffer",
|
|
51
|
-
"blob",
|
|
52
|
-
"formData",
|
|
53
|
-
"stream"
|
|
54
|
-
].forEach((e) => {
|
|
55
|
-
!P[e] && (P[e] = (t, n) => {
|
|
56
|
-
let i = t && t[e];
|
|
57
|
-
if (i) return i.call(t);
|
|
58
|
-
throw new r(`Response type '${e}' is not supported`, r.ERR_NOT_SUPPORT, n);
|
|
59
|
-
});
|
|
60
|
-
});
|
|
61
|
-
let F = async (t) => {
|
|
62
|
-
if (t == null) return 0;
|
|
63
|
-
if (e.isBlob(t)) return t.size;
|
|
64
|
-
if (e.isSpecCompliantForm(t)) return (await new T(i.origin, {
|
|
65
|
-
method: "POST",
|
|
66
|
-
body: t
|
|
67
|
-
}).arrayBuffer()).byteLength;
|
|
68
|
-
if (e.isArrayBufferView(t) || e.isArrayBuffer(t)) return t.byteLength;
|
|
69
|
-
if (e.isURLSearchParams(t) && (t += ""), e.isString(t)) return (await j(t)).byteLength;
|
|
70
|
-
}, I = async (t, n) => e.toFiniteNumber(t.getContentLength()) ?? F(n);
|
|
71
|
-
return async (h) => {
|
|
72
|
-
let { url: v, method: b, data: x, signal: S, cancelToken: D, timeout: k, onDownloadProgress: A, onUploadProgress: j, responseType: F, headers: L, withCredentials: R = "same-origin", fetchOptions: z, maxContentLength: B, maxBodyLength: V } = l(h), H = e.isNumber(B) && B > -1, U = e.isNumber(V) && V > -1, W = (t) => e.hasOwnProp(h, t) ? h[t] : void 0, G = w || fetch;
|
|
73
|
-
F = F ? (F + "").toLowerCase() : "text";
|
|
74
|
-
let K = u([S, D && D.toAbortSignal()], k), q = null, J = K && K.unsubscribe && (() => {
|
|
75
|
-
K.unsubscribe();
|
|
76
|
-
}), Y;
|
|
77
|
-
try {
|
|
78
|
-
let l, u = W("auth");
|
|
79
|
-
if (u && (l = {
|
|
80
|
-
username: u.username || "",
|
|
81
|
-
password: u.password || ""
|
|
82
|
-
}), y(v)) {
|
|
83
|
-
let e = new URL(v, i.origin);
|
|
84
|
-
!l && (e.username || e.password) && (l = {
|
|
85
|
-
username: _(e.username),
|
|
86
|
-
password: _(e.password)
|
|
87
|
-
}), (e.username || e.password) && (e.username = "", e.password = "", v = e.href);
|
|
88
|
-
}
|
|
89
|
-
if (l && (L.delete("authorization"), L.set("Authorization", "Basic " + btoa(g((l.username || "") + ":" + (l.password || ""))))), H && typeof v == "string" && v.startsWith("data:") && f(v) > B) throw new r("maxContentLength size of " + B + " exceeded", r.ERR_BAD_RESPONSE, h, q);
|
|
90
|
-
if (U && b !== "get" && b !== "head") {
|
|
91
|
-
let e = await I(L, x);
|
|
92
|
-
if (typeof e == "number" && isFinite(e) && e > V) throw new r("Request body larger than maxBodyLength limit", r.ERR_BAD_REQUEST, h, q);
|
|
93
|
-
}
|
|
94
|
-
if (j && M && b !== "get" && b !== "head" && (Y = await I(L, x)) !== 0) {
|
|
95
|
-
let t = new T(v, {
|
|
96
|
-
method: "POST",
|
|
97
|
-
body: x,
|
|
98
|
-
duplex: "half"
|
|
99
|
-
}), n;
|
|
100
|
-
if (e.isFormData(x) && (n = t.headers.get("content-type")) && L.setContentType(n), t.body) {
|
|
101
|
-
let [e, n] = s(Y, c(o(j)));
|
|
102
|
-
x = d(t.body, m, e, n);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
e.isString(R) || (R = R ? "include" : "omit");
|
|
106
|
-
let S = O && "credentials" in T.prototype;
|
|
107
|
-
if (e.isFormData(x)) {
|
|
108
|
-
let e = L.getContentType();
|
|
109
|
-
e && /^multipart\/form-data/i.test(e) && !/boundary=/i.test(e) && L.delete("content-type");
|
|
110
|
-
}
|
|
111
|
-
L.set("User-Agent", "axios/" + p, !1);
|
|
112
|
-
let w = {
|
|
113
|
-
...z,
|
|
114
|
-
signal: K,
|
|
115
|
-
method: b.toUpperCase(),
|
|
116
|
-
headers: t(L.normalize()),
|
|
117
|
-
body: x,
|
|
118
|
-
duplex: "half",
|
|
119
|
-
credentials: S ? R : void 0
|
|
120
|
-
};
|
|
121
|
-
q = O && new T(v, w);
|
|
122
|
-
let D = await (O ? G(q, z) : G(v, w));
|
|
123
|
-
if (H) {
|
|
124
|
-
let t = e.toFiniteNumber(D.headers.get("content-length"));
|
|
125
|
-
if (t != null && t > B) throw new r("maxContentLength size of " + B + " exceeded", r.ERR_BAD_RESPONSE, h, q);
|
|
126
|
-
}
|
|
127
|
-
let k = N && (F === "stream" || F === "response");
|
|
128
|
-
if (N && D.body && (A || H || k && J)) {
|
|
129
|
-
let t = {};
|
|
130
|
-
[
|
|
131
|
-
"status",
|
|
132
|
-
"statusText",
|
|
133
|
-
"headers"
|
|
134
|
-
].forEach((e) => {
|
|
135
|
-
t[e] = D[e];
|
|
136
|
-
});
|
|
137
|
-
let n = e.toFiniteNumber(D.headers.get("content-length")), [i, a] = A && s(n, c(o(A), !0)) || [], l = 0;
|
|
138
|
-
D = new E(d(D.body, m, (e) => {
|
|
139
|
-
if (H && (l = e, l > B)) throw new r("maxContentLength size of " + B + " exceeded", r.ERR_BAD_RESPONSE, h, q);
|
|
140
|
-
i && i(e);
|
|
141
|
-
}, () => {
|
|
142
|
-
a && a(), J && J();
|
|
143
|
-
}), t);
|
|
144
|
-
}
|
|
145
|
-
F ||= "text";
|
|
146
|
-
let X = await P[e.findKey(P, F) || "text"](D, h);
|
|
147
|
-
if (H && !N && !k) {
|
|
148
|
-
let e;
|
|
149
|
-
if (X != null && (typeof X.byteLength == "number" ? e = X.byteLength : typeof X.size == "number" ? e = X.size : typeof X == "string" && (e = typeof C == "function" ? new C().encode(X).byteLength : X.length)), typeof e == "number" && e > B) throw new r("maxContentLength size of " + B + " exceeded", r.ERR_BAD_RESPONSE, h, q);
|
|
150
|
-
}
|
|
151
|
-
return !k && J && J(), await new Promise((e, t) => {
|
|
152
|
-
a(e, t, {
|
|
153
|
-
data: X,
|
|
154
|
-
headers: n.from(D.headers),
|
|
155
|
-
status: D.status,
|
|
156
|
-
statusText: D.statusText,
|
|
157
|
-
config: h,
|
|
158
|
-
request: q
|
|
159
|
-
});
|
|
160
|
-
});
|
|
161
|
-
} catch (e) {
|
|
162
|
-
if (J && J(), K && K.aborted && K.reason instanceof r) {
|
|
163
|
-
let t = K.reason;
|
|
164
|
-
throw t.config = h, q && (t.request = q), e !== t && (t.cause = e), t;
|
|
165
|
-
}
|
|
166
|
-
throw e && e.name === "TypeError" && /Load failed|fetch/i.test(e.message) ? Object.assign(new r("Network Error", r.ERR_NETWORK, h, q, e && e.response), { cause: e.cause || e }) : r.from(e, e && e.code, h, q, e && e.response);
|
|
167
|
-
}
|
|
168
|
-
};
|
|
169
|
-
}, x = /* @__PURE__ */ new Map(), S = (e) => {
|
|
170
|
-
let t = e && e.env || {}, { fetch: n, Request: r, Response: i } = t, a = [
|
|
171
|
-
r,
|
|
172
|
-
i,
|
|
173
|
-
n
|
|
174
|
-
], o = a.length, s, c, l = x;
|
|
175
|
-
for (; o--;) s = a[o], c = l.get(s), c === void 0 && l.set(s, c = o ? /* @__PURE__ */ new Map() : b(t)), l = c;
|
|
176
|
-
return c;
|
|
177
|
-
};
|
|
178
|
-
S();
|
|
1
|
+
//#region node_modules/axios/lib/env/data.js
|
|
2
|
+
var e = "1.17.0";
|
|
179
3
|
//#endregion
|
|
180
|
-
export {
|
|
4
|
+
export { e as VERSION };
|
|
@@ -1,47 +1,180 @@
|
|
|
1
|
-
import e from "./admins-
|
|
2
|
-
import t from "./admins-
|
|
3
|
-
import n from "./admins-
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
__proto__: null,
|
|
21
|
-
value: t
|
|
22
|
-
});
|
|
1
|
+
import e from "./admins-components100.js";
|
|
2
|
+
import { toByteStringHeaderObject as t } from "./admins-components102.js";
|
|
3
|
+
import n from "./admins-components103.js";
|
|
4
|
+
import r from "./admins-components104.js";
|
|
5
|
+
import i from "./admins-components115.js";
|
|
6
|
+
import a from "./admins-components122.js";
|
|
7
|
+
import { asyncDecorator as o, progressEventDecorator as s, progressEventReducer as c } from "./admins-components126.js";
|
|
8
|
+
import l from "./admins-components133.js";
|
|
9
|
+
import u from "./admins-components135.js";
|
|
10
|
+
import { trackStream as d } from "./admins-components136.js";
|
|
11
|
+
import f from "./admins-components137.js";
|
|
12
|
+
import { VERSION as p } from "./admins-components138.js";
|
|
13
|
+
//#region node_modules/axios/lib/adapters/fetch.js
|
|
14
|
+
var m = 64 * 1024, { isFunction: h } = e, g = (e) => encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi, (e, t) => String.fromCharCode(parseInt(t, 16))), _ = (t) => {
|
|
15
|
+
if (!e.isString(t)) return t;
|
|
16
|
+
try {
|
|
17
|
+
return decodeURIComponent(t);
|
|
18
|
+
} catch {
|
|
19
|
+
return t;
|
|
23
20
|
}
|
|
24
|
-
})
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
for (let a = 0; a < s; a++) {
|
|
30
|
-
c = n[a];
|
|
31
|
-
let s;
|
|
32
|
-
if (l = c, !o(c) && (l = i[(s = String(c)).toLowerCase()], l === void 0)) throw new t(`Unknown adapter '${s}'`);
|
|
33
|
-
if (l && (e.isFunction(l) || (l = l.get(r)))) break;
|
|
34
|
-
u[s || "#" + a] = l;
|
|
21
|
+
}, v = (e, ...t) => {
|
|
22
|
+
try {
|
|
23
|
+
return !!e(...t);
|
|
24
|
+
} catch {
|
|
25
|
+
return !1;
|
|
35
26
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
27
|
+
}, y = (e) => {
|
|
28
|
+
let t = e.indexOf("://"), n = e;
|
|
29
|
+
return t !== -1 && (n = n.slice(t + 3)), n.includes("@") || n.includes(":");
|
|
30
|
+
}, b = (b) => {
|
|
31
|
+
let x = e.global !== void 0 && e.global !== null ? e.global : globalThis, { ReadableStream: S, TextEncoder: C } = x;
|
|
32
|
+
b = e.merge.call({ skipUndefined: !0 }, {
|
|
33
|
+
Request: x.Request,
|
|
34
|
+
Response: x.Response
|
|
35
|
+
}, b);
|
|
36
|
+
let { fetch: w, Request: T, Response: E } = b, D = w ? h(w) : typeof fetch == "function", O = h(T), k = h(E);
|
|
37
|
+
if (!D) return !1;
|
|
38
|
+
let A = D && h(S), j = D && (typeof C == "function" ? ((e) => (t) => e.encode(t))(new C()) : async (e) => new Uint8Array(await new T(e).arrayBuffer())), M = O && A && v(() => {
|
|
39
|
+
let e = !1, t = new T(i.origin, {
|
|
40
|
+
body: new S(),
|
|
41
|
+
method: "POST",
|
|
42
|
+
get duplex() {
|
|
43
|
+
return e = !0, "half";
|
|
44
|
+
}
|
|
45
|
+
}), n = t.headers.has("Content-Type");
|
|
46
|
+
return t.body != null && t.body.cancel(), e && !n;
|
|
47
|
+
}), N = k && A && v(() => e.isReadableStream(new E("").body)), P = { stream: N && ((e) => e.body) };
|
|
48
|
+
D && [
|
|
49
|
+
"text",
|
|
50
|
+
"arrayBuffer",
|
|
51
|
+
"blob",
|
|
52
|
+
"formData",
|
|
53
|
+
"stream"
|
|
54
|
+
].forEach((e) => {
|
|
55
|
+
!P[e] && (P[e] = (t, n) => {
|
|
56
|
+
let i = t && t[e];
|
|
57
|
+
if (i) return i.call(t);
|
|
58
|
+
throw new r(`Response type '${e}' is not supported`, r.ERR_NOT_SUPPORT, n);
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
let F = async (t) => {
|
|
62
|
+
if (t == null) return 0;
|
|
63
|
+
if (e.isBlob(t)) return t.size;
|
|
64
|
+
if (e.isSpecCompliantForm(t)) return (await new T(i.origin, {
|
|
65
|
+
method: "POST",
|
|
66
|
+
body: t
|
|
67
|
+
}).arrayBuffer()).byteLength;
|
|
68
|
+
if (e.isArrayBufferView(t) || e.isArrayBuffer(t)) return t.byteLength;
|
|
69
|
+
if (e.isURLSearchParams(t) && (t += ""), e.isString(t)) return (await j(t)).byteLength;
|
|
70
|
+
}, I = async (t, n) => e.toFiniteNumber(t.getContentLength()) ?? F(n);
|
|
71
|
+
return async (h) => {
|
|
72
|
+
let { url: v, method: b, data: x, signal: S, cancelToken: D, timeout: k, onDownloadProgress: A, onUploadProgress: j, responseType: F, headers: L, withCredentials: R = "same-origin", fetchOptions: z, maxContentLength: B, maxBodyLength: V } = l(h), H = e.isNumber(B) && B > -1, U = e.isNumber(V) && V > -1, W = (t) => e.hasOwnProp(h, t) ? h[t] : void 0, G = w || fetch;
|
|
73
|
+
F = F ? (F + "").toLowerCase() : "text";
|
|
74
|
+
let K = u([S, D && D.toAbortSignal()], k), q = null, J = K && K.unsubscribe && (() => {
|
|
75
|
+
K.unsubscribe();
|
|
76
|
+
}), Y;
|
|
77
|
+
try {
|
|
78
|
+
let l, u = W("auth");
|
|
79
|
+
if (u && (l = {
|
|
80
|
+
username: u.username || "",
|
|
81
|
+
password: u.password || ""
|
|
82
|
+
}), y(v)) {
|
|
83
|
+
let e = new URL(v, i.origin);
|
|
84
|
+
!l && (e.username || e.password) && (l = {
|
|
85
|
+
username: _(e.username),
|
|
86
|
+
password: _(e.password)
|
|
87
|
+
}), (e.username || e.password) && (e.username = "", e.password = "", v = e.href);
|
|
88
|
+
}
|
|
89
|
+
if (l && (L.delete("authorization"), L.set("Authorization", "Basic " + btoa(g((l.username || "") + ":" + (l.password || ""))))), H && typeof v == "string" && v.startsWith("data:") && f(v) > B) throw new r("maxContentLength size of " + B + " exceeded", r.ERR_BAD_RESPONSE, h, q);
|
|
90
|
+
if (U && b !== "get" && b !== "head") {
|
|
91
|
+
let e = await I(L, x);
|
|
92
|
+
if (typeof e == "number" && isFinite(e) && e > V) throw new r("Request body larger than maxBodyLength limit", r.ERR_BAD_REQUEST, h, q);
|
|
93
|
+
}
|
|
94
|
+
if (j && M && b !== "get" && b !== "head" && (Y = await I(L, x)) !== 0) {
|
|
95
|
+
let t = new T(v, {
|
|
96
|
+
method: "POST",
|
|
97
|
+
body: x,
|
|
98
|
+
duplex: "half"
|
|
99
|
+
}), n;
|
|
100
|
+
if (e.isFormData(x) && (n = t.headers.get("content-type")) && L.setContentType(n), t.body) {
|
|
101
|
+
let [e, n] = s(Y, c(o(j)));
|
|
102
|
+
x = d(t.body, m, e, n);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
e.isString(R) || (R = R ? "include" : "omit");
|
|
106
|
+
let S = O && "credentials" in T.prototype;
|
|
107
|
+
if (e.isFormData(x)) {
|
|
108
|
+
let e = L.getContentType();
|
|
109
|
+
e && /^multipart\/form-data/i.test(e) && !/boundary=/i.test(e) && L.delete("content-type");
|
|
110
|
+
}
|
|
111
|
+
L.set("User-Agent", "axios/" + p, !1);
|
|
112
|
+
let w = {
|
|
113
|
+
...z,
|
|
114
|
+
signal: K,
|
|
115
|
+
method: b.toUpperCase(),
|
|
116
|
+
headers: t(L.normalize()),
|
|
117
|
+
body: x,
|
|
118
|
+
duplex: "half",
|
|
119
|
+
credentials: S ? R : void 0
|
|
120
|
+
};
|
|
121
|
+
q = O && new T(v, w);
|
|
122
|
+
let D = await (O ? G(q, z) : G(v, w));
|
|
123
|
+
if (H) {
|
|
124
|
+
let t = e.toFiniteNumber(D.headers.get("content-length"));
|
|
125
|
+
if (t != null && t > B) throw new r("maxContentLength size of " + B + " exceeded", r.ERR_BAD_RESPONSE, h, q);
|
|
126
|
+
}
|
|
127
|
+
let k = N && (F === "stream" || F === "response");
|
|
128
|
+
if (N && D.body && (A || H || k && J)) {
|
|
129
|
+
let t = {};
|
|
130
|
+
[
|
|
131
|
+
"status",
|
|
132
|
+
"statusText",
|
|
133
|
+
"headers"
|
|
134
|
+
].forEach((e) => {
|
|
135
|
+
t[e] = D[e];
|
|
136
|
+
});
|
|
137
|
+
let n = e.toFiniteNumber(D.headers.get("content-length")), [i, a] = A && s(n, c(o(A), !0)) || [], l = 0;
|
|
138
|
+
D = new E(d(D.body, m, (e) => {
|
|
139
|
+
if (H && (l = e, l > B)) throw new r("maxContentLength size of " + B + " exceeded", r.ERR_BAD_RESPONSE, h, q);
|
|
140
|
+
i && i(e);
|
|
141
|
+
}, () => {
|
|
142
|
+
a && a(), J && J();
|
|
143
|
+
}), t);
|
|
144
|
+
}
|
|
145
|
+
F ||= "text";
|
|
146
|
+
let X = await P[e.findKey(P, F) || "text"](D, h);
|
|
147
|
+
if (H && !N && !k) {
|
|
148
|
+
let e;
|
|
149
|
+
if (X != null && (typeof X.byteLength == "number" ? e = X.byteLength : typeof X.size == "number" ? e = X.size : typeof X == "string" && (e = typeof C == "function" ? new C().encode(X).byteLength : X.length)), typeof e == "number" && e > B) throw new r("maxContentLength size of " + B + " exceeded", r.ERR_BAD_RESPONSE, h, q);
|
|
150
|
+
}
|
|
151
|
+
return !k && J && J(), await new Promise((e, t) => {
|
|
152
|
+
a(e, t, {
|
|
153
|
+
data: X,
|
|
154
|
+
headers: n.from(D.headers),
|
|
155
|
+
status: D.status,
|
|
156
|
+
statusText: D.statusText,
|
|
157
|
+
config: h,
|
|
158
|
+
request: q
|
|
159
|
+
});
|
|
160
|
+
});
|
|
161
|
+
} catch (e) {
|
|
162
|
+
if (J && J(), K && K.aborted && K.reason instanceof r) {
|
|
163
|
+
let t = K.reason;
|
|
164
|
+
throw t.config = h, q && (t.request = q), e !== t && (t.cause = e), t;
|
|
165
|
+
}
|
|
166
|
+
throw e && e.name === "TypeError" && /Load failed|fetch/i.test(e.message) ? Object.assign(new r("Network Error", r.ERR_NETWORK, h, q, e && e.response), { cause: e.cause || e }) : r.from(e, e && e.code, h, q, e && e.response);
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
}, x = /* @__PURE__ */ new Map(), S = (e) => {
|
|
170
|
+
let t = e && e.env || {}, { fetch: n, Request: r, Response: i } = t, a = [
|
|
171
|
+
r,
|
|
172
|
+
i,
|
|
173
|
+
n
|
|
174
|
+
], o = a.length, s, c, l = x;
|
|
175
|
+
for (; o--;) s = a[o], c = l.get(s), c === void 0 && l.set(s, c = o ? /* @__PURE__ */ new Map() : b(t)), l = c;
|
|
176
|
+
return c;
|
|
45
177
|
};
|
|
178
|
+
S();
|
|
46
179
|
//#endregion
|
|
47
|
-
export {
|
|
180
|
+
export { S as getFetch };
|
|
@@ -1,38 +1,47 @@
|
|
|
1
|
-
import e from "./admins-
|
|
2
|
-
import t from "./admins-
|
|
3
|
-
import n from "./admins-
|
|
4
|
-
import r from "./admins-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"post",
|
|
14
|
-
"put",
|
|
15
|
-
"patch"
|
|
16
|
-
].indexOf(i.method) !== -1 && i.headers.setContentType("application/x-www-form-urlencoded", !1), a.getAdapter(i.adapter || t.adapter, i)(i).then(function(t) {
|
|
17
|
-
o(i), i.response = t;
|
|
1
|
+
import e from "./admins-components100.js";
|
|
2
|
+
import t from "./admins-components104.js";
|
|
3
|
+
import n from "./admins-components134.js";
|
|
4
|
+
import { getFetch as r } from "./admins-components139.js";
|
|
5
|
+
//#region node_modules/axios/lib/adapters/adapters.js
|
|
6
|
+
var i = {
|
|
7
|
+
http: null,
|
|
8
|
+
xhr: n,
|
|
9
|
+
fetch: { get: r }
|
|
10
|
+
};
|
|
11
|
+
e.forEach(i, (e, t) => {
|
|
12
|
+
if (e) {
|
|
18
13
|
try {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
14
|
+
Object.defineProperty(e, "name", {
|
|
15
|
+
__proto__: null,
|
|
16
|
+
value: t
|
|
17
|
+
});
|
|
18
|
+
} catch {}
|
|
19
|
+
Object.defineProperty(e, "adapterName", {
|
|
20
|
+
__proto__: null,
|
|
21
|
+
value: t
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
var a = (e) => `- ${e}`, o = (t) => e.isFunction(t) || t === null || t === !1;
|
|
26
|
+
function s(n, r) {
|
|
27
|
+
n = e.isArray(n) ? n : [n];
|
|
28
|
+
let { length: s } = n, c, l, u = {};
|
|
29
|
+
for (let a = 0; a < s; a++) {
|
|
30
|
+
c = n[a];
|
|
31
|
+
let s;
|
|
32
|
+
if (l = c, !o(c) && (l = i[(s = String(c)).toLowerCase()], l === void 0)) throw new t(`Unknown adapter '${s}'`);
|
|
33
|
+
if (l && (e.isFunction(l) || (l = l.get(r)))) break;
|
|
34
|
+
u[s || "#" + a] = l;
|
|
35
|
+
}
|
|
36
|
+
if (!l) {
|
|
37
|
+
let e = Object.entries(u).map(([e, t]) => `adapter ${e} ` + (t === !1 ? "is not supported by the environment" : "is not available in the build"));
|
|
38
|
+
throw new t("There is no suitable adapter to dispatch the request " + (s ? e.length > 1 ? "since :\n" + e.map(a).join("\n") : " " + a(e[0]) : "as no adapter specified"), "ERR_NOT_SUPPORT");
|
|
39
|
+
}
|
|
40
|
+
return l;
|
|
36
41
|
}
|
|
42
|
+
var c = {
|
|
43
|
+
getAdapter: s,
|
|
44
|
+
adapters: i
|
|
45
|
+
};
|
|
37
46
|
//#endregion
|
|
38
|
-
export {
|
|
47
|
+
export { c as default };
|
|
@@ -1,47 +1,38 @@
|
|
|
1
1
|
import e from "./admins-components103.js";
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
let o = i[a], s = Object.prototype.hasOwnProperty.call(n, o) ? n[o] : void 0;
|
|
34
|
-
if (s) {
|
|
35
|
-
let n = t[o], r = n === void 0 || s(n, o, t);
|
|
36
|
-
if (r !== !0) throw new e("option " + o + " must be " + r, e.ERR_BAD_OPTION_VALUE);
|
|
37
|
-
continue;
|
|
2
|
+
import t from "./admins-components118.js";
|
|
3
|
+
import n from "./admins-components119.js";
|
|
4
|
+
import r from "./admins-components120.js";
|
|
5
|
+
import i from "./admins-components121.js";
|
|
6
|
+
import a from "./admins-components140.js";
|
|
7
|
+
//#region node_modules/axios/lib/core/dispatchRequest.js
|
|
8
|
+
function o(e) {
|
|
9
|
+
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted) throw new i(null, e);
|
|
10
|
+
}
|
|
11
|
+
function s(i) {
|
|
12
|
+
return o(i), i.headers = e.from(i.headers), i.data = n.call(i, i.transformRequest), [
|
|
13
|
+
"post",
|
|
14
|
+
"put",
|
|
15
|
+
"patch"
|
|
16
|
+
].indexOf(i.method) !== -1 && i.headers.setContentType("application/x-www-form-urlencoded", !1), a.getAdapter(i.adapter || t.adapter, i)(i).then(function(t) {
|
|
17
|
+
o(i), i.response = t;
|
|
18
|
+
try {
|
|
19
|
+
t.data = n.call(i, i.transformResponse, t);
|
|
20
|
+
} finally {
|
|
21
|
+
delete i.response;
|
|
22
|
+
}
|
|
23
|
+
return t.headers = e.from(t.headers), t;
|
|
24
|
+
}, function(t) {
|
|
25
|
+
if (!r(t) && (o(i), t && t.response)) {
|
|
26
|
+
i.response = t.response;
|
|
27
|
+
try {
|
|
28
|
+
t.response.data = n.call(i, i.transformResponse, t.response);
|
|
29
|
+
} finally {
|
|
30
|
+
delete i.response;
|
|
31
|
+
}
|
|
32
|
+
t.response.headers = e.from(t.response.headers);
|
|
38
33
|
}
|
|
39
|
-
|
|
40
|
-
}
|
|
34
|
+
return Promise.reject(t);
|
|
35
|
+
});
|
|
41
36
|
}
|
|
42
|
-
var a = {
|
|
43
|
-
assertOptions: i,
|
|
44
|
-
validators: n
|
|
45
|
-
};
|
|
46
37
|
//#endregion
|
|
47
|
-
export {
|
|
38
|
+
export { s as default };
|