@quoreadmin/ui 1.10.5 → 1.10.6
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/index.css +1 -1
- package/dist/index131.js +59 -54
- package/dist/index182.js +14 -14
- package/dist/index183.js +3 -3
- package/dist/index186.js +4 -4
- package/dist/index193.js +10 -10
- package/dist/index195.js +10 -10
- package/dist/index198.js +17 -17
- package/dist/index201.js +28 -28
- package/dist/index202.js +2 -2
- package/dist/index203.js +2 -2
- package/dist/index204.js +1 -1
- package/dist/index206.js +2 -2
- package/dist/index208.js +14 -14
- package/dist/index209.js +1 -1
- package/dist/index210.js +1 -1
- package/dist/index211.js +3 -3
- package/dist/index212.js +6 -6
- package/dist/index213.js +84 -29
- package/dist/index214.js +400 -109
- package/dist/index215.js +22 -36
- package/dist/index216.js +33 -26
- package/dist/index217.js +111 -31
- package/dist/index218.js +35 -50
- package/dist/index219.js +26 -43
- package/dist/index220.js +35 -3
- package/dist/index221.js +51 -9
- package/dist/index222.js +42 -18
- package/dist/index223.js +4 -10
- package/dist/index224.js +9 -10
- package/dist/index225.js +18 -38
- package/dist/index226.js +10 -21
- package/dist/index227.js +10 -88
- package/dist/index228.js +35 -403
- package/dist/index229.js +21 -22
- package/dist/index230.js +21 -160
- package/dist/index231.js +22 -228
- package/dist/index232.js +19 -36
- package/dist/index233.js +835 -9
- package/dist/index234.js +679 -104
- package/dist/index235.js +174 -36
- package/dist/index236.js +20 -80
- package/dist/index237.js +12 -12
- package/dist/index238.js +14 -12
- package/dist/index239.js +10 -10
- package/dist/index240.js +11 -11
- package/dist/index241.js +9 -9
- package/dist/index242.js +3 -3636
- package/dist/index243.js +181 -49
- package/dist/index244.js +128 -72
- package/dist/index245.js +154 -45
- package/dist/index246.js +1209 -201
- package/dist/index247.js +126 -9
- package/dist/index248.js +20 -57
- package/dist/index249.js +22 -61
- package/dist/index250.js +20 -54
- package/dist/index251.js +22 -75
- package/dist/index252.js +29 -717
- package/dist/index253.js +29 -42
- package/dist/index254.js +20 -64
- package/dist/index255.js +20 -11
- package/dist/index256.js +2 -705
- package/dist/index257.js +2 -820
- package/dist/index258.js +3624 -149
- package/dist/index259.js +55 -20
- package/dist/index260.js +77 -22
- package/dist/index261.js +43 -190
- package/dist/index262.js +211 -66
- package/dist/index263.js +9 -33
- package/dist/index264.js +53 -36
- package/dist/index265.js +61 -22
- package/dist/index266.js +54 -22
- package/dist/index267.js +75 -20
- package/dist/index268.js +681 -791
- package/dist/index269.js +33 -693
- package/dist/index270.js +56 -168
- package/dist/index271.js +11 -22
- package/dist/index272.js +705 -20
- package/dist/index273.js +820 -20
- package/dist/index274.js +80 -3
- package/dist/index275.js +19 -186
- package/dist/index276.js +19 -132
- package/dist/index277.js +149 -1211
- package/dist/index278.js +228 -20
- package/dist/index279.js +36 -21
- package/dist/index280.js +10 -22
- package/dist/index281.js +13 -20
- package/dist/index282.js +198 -19
- package/dist/index283.js +68 -18
- package/dist/index284.js +34 -2
- package/dist/index285.js +40 -2
- package/dist/index290.js +1534 -3
- package/dist/index291.js +382 -23
- package/dist/index292.js +2731 -2
- package/dist/index293.js +78 -71
- package/dist/index294.js +3552 -1294
- package/dist/index295.js +53 -379
- package/dist/index296.js +14 -2730
- package/dist/index297.js +80 -82
- package/dist/index298.js +155 -3745
- package/dist/index299.js +240 -54
- package/dist/index300.js +78 -14
- package/dist/index301.js +76 -81
- package/dist/index302.js +22 -202
- package/dist/index303.js +915 -226
- package/dist/index304.js +21 -53
- package/dist/index305.js +12 -18
- package/dist/index306.js +11 -13
- package/dist/index307.js +68 -21
- package/dist/index308.js +17 -14
- package/dist/index309.js +16 -14
- package/dist/index310.js +52 -21
- package/dist/index311.js +21 -78
- package/dist/index312.js +11 -11
- package/dist/index313.js +58 -930
- package/dist/index314.js +2 -22
- package/dist/index315.js +3 -20
- package/dist/index316.js +26 -19
- package/dist/index317.js +260 -67
- package/dist/index318.js +6 -19
- package/dist/index319.js +139 -18
- package/dist/index320.js +72 -21
- package/dist/index321.js +85 -20
- package/dist/index322.js +29 -63
- package/dist/index323.js +14 -260
- package/dist/index324.js +74 -5
- package/dist/index325.js +3 -139
- package/dist/index326.js +2 -73
- package/dist/index327.js +79 -83
- package/dist/index328.js +50 -26
- package/dist/index329.js +5 -15
- package/dist/index330.js +4 -74
- package/dist/index331.js +178 -3
- package/dist/index332.js +63 -2
- package/dist/index333.js +74 -82
- package/dist/index334.js +25 -52
- package/dist/index335.js +21 -5
- package/dist/index336.js +21 -4
- package/dist/index337.js +15 -178
- package/dist/index338.js +16 -62
- package/dist/index339.js +22 -74
- package/dist/index340.js +36 -8
- package/dist/index341.js +19 -12
- package/dist/index342.js +19 -54
- package/dist/index343.js +63 -11
- package/dist/index344.js +37 -14
- package/dist/index345.js +8 -57
- package/dist/index346.js +12 -51
- package/dist/index347.js +49 -25
- package/dist/index348.js +12 -2
- package/dist/index349.js +14 -5
- package/dist/index350.js +58 -2
- package/dist/index351.js +52 -23
- package/dist/index352.js +28 -38
- package/dist/index353.js +2 -2
- package/dist/index354.js +4 -10
- package/dist/index355.js +2 -20
- package/dist/index356.js +22 -9
- package/dist/index357.js +40 -9
- package/dist/index358.js +2 -17
- package/dist/index359.js +11 -2
- package/dist/index360.js +20 -9
- package/dist/index361.js +10 -10
- package/dist/index362.js +9 -13
- package/dist/index363.js +16 -36
- package/dist/index364.js +2 -20
- package/dist/index365.js +9 -20
- package/dist/index366.js +9 -63
- package/dist/index367.js +14 -37
- package/dist/index368.js +1 -1
- package/dist/index369.js +1 -1
- package/dist/index370.js +5 -5
- package/dist/index372.js +2 -2
- package/dist/index374.js +2 -2
- package/dist/index376.js +1 -1
- package/dist/index378.js +4 -4
- package/dist/index379.js +3 -3
- package/dist/index38.js +1 -1
- package/dist/index380.js +98 -95
- package/dist/index381.js +90 -100
- package/dist/index382.js +98 -91
- package/dist/index384.js +1 -1
- package/dist/index385.js +3 -3
- package/dist/index390.js +1 -1
- package/dist/index392.js +1 -1
- package/dist/index393.js +3 -3
- package/dist/index394.js +3 -3
- package/dist/index402.js +1 -1
- package/package.json +1 -1
package/dist/index320.js
CHANGED
|
@@ -1,24 +1,75 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
1
|
+
import r from "./index317.js";
|
|
2
|
+
import h from "./index331.js";
|
|
3
|
+
const g = (s) => s instanceof h ? { ...s } : s;
|
|
4
|
+
function C(s, f) {
|
|
5
|
+
f = f || {};
|
|
6
|
+
const u = {};
|
|
7
|
+
function o(t, e, i, d) {
|
|
8
|
+
return r.isPlainObject(t) && r.isPlainObject(e) ? r.merge.call({ caseless: d }, t, e) : r.isPlainObject(e) ? r.merge({}, e) : r.isArray(e) ? e.slice() : e;
|
|
9
|
+
}
|
|
10
|
+
function l(t, e, i, d) {
|
|
11
|
+
if (r.isUndefined(e)) {
|
|
12
|
+
if (!r.isUndefined(t))
|
|
13
|
+
return o(void 0, t, i, d);
|
|
14
|
+
} else return o(t, e, i, d);
|
|
15
|
+
}
|
|
16
|
+
function a(t, e) {
|
|
17
|
+
if (!r.isUndefined(e))
|
|
18
|
+
return o(void 0, e);
|
|
19
|
+
}
|
|
20
|
+
function n(t, e) {
|
|
21
|
+
if (r.isUndefined(e)) {
|
|
22
|
+
if (!r.isUndefined(t))
|
|
23
|
+
return o(void 0, t);
|
|
24
|
+
} else return o(void 0, e);
|
|
25
|
+
}
|
|
26
|
+
function m(t, e, i) {
|
|
27
|
+
if (i in f)
|
|
28
|
+
return o(t, e);
|
|
29
|
+
if (i in s)
|
|
30
|
+
return o(void 0, t);
|
|
31
|
+
}
|
|
32
|
+
const c = {
|
|
33
|
+
url: a,
|
|
34
|
+
method: a,
|
|
35
|
+
data: a,
|
|
36
|
+
baseURL: n,
|
|
37
|
+
transformRequest: n,
|
|
38
|
+
transformResponse: n,
|
|
39
|
+
paramsSerializer: n,
|
|
40
|
+
timeout: n,
|
|
41
|
+
timeoutMessage: n,
|
|
42
|
+
withCredentials: n,
|
|
43
|
+
withXSRFToken: n,
|
|
44
|
+
adapter: n,
|
|
45
|
+
responseType: n,
|
|
46
|
+
xsrfCookieName: n,
|
|
47
|
+
xsrfHeaderName: n,
|
|
48
|
+
onUploadProgress: n,
|
|
49
|
+
onDownloadProgress: n,
|
|
50
|
+
decompress: n,
|
|
51
|
+
maxContentLength: n,
|
|
52
|
+
maxBodyLength: n,
|
|
53
|
+
beforeRedirect: n,
|
|
54
|
+
transport: n,
|
|
55
|
+
httpAgent: n,
|
|
56
|
+
httpsAgent: n,
|
|
57
|
+
cancelToken: n,
|
|
58
|
+
socketPath: n,
|
|
59
|
+
responseEncoding: n,
|
|
60
|
+
validateStatus: m,
|
|
61
|
+
headers: (t, e, i) => l(g(t), g(e), i, !0)
|
|
62
|
+
};
|
|
63
|
+
return r.forEach(
|
|
64
|
+
Object.keys({ ...s, ...f }),
|
|
65
|
+
function(e) {
|
|
66
|
+
if (e === "__proto__" || e === "constructor" || e === "prototype")
|
|
67
|
+
return;
|
|
68
|
+
const i = r.hasOwnProp(c, e) ? c[e] : l, d = i(s[e], f[e], e);
|
|
69
|
+
r.isUndefined(d) && i !== m || (u[e] = d);
|
|
70
|
+
}
|
|
71
|
+
), u;
|
|
20
72
|
}
|
|
21
|
-
l.render = c;
|
|
22
73
|
export {
|
|
23
|
-
|
|
74
|
+
C as default
|
|
24
75
|
};
|
package/dist/index321.js
CHANGED
|
@@ -1,24 +1,89 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
fill: "none",
|
|
18
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
19
|
-
}, e.pti()), p, 16);
|
|
1
|
+
import t from "./index317.js";
|
|
2
|
+
import c from "./index328.js";
|
|
3
|
+
import u from "./index373.js";
|
|
4
|
+
import S from "./index327.js";
|
|
5
|
+
import h from "./index374.js";
|
|
6
|
+
import a from "./index375.js";
|
|
7
|
+
import O from "./index322.js";
|
|
8
|
+
function y(i, r, e) {
|
|
9
|
+
if (t.isString(i))
|
|
10
|
+
try {
|
|
11
|
+
return (r || JSON.parse)(i), t.trim(i);
|
|
12
|
+
} catch (n) {
|
|
13
|
+
if (n.name !== "SyntaxError")
|
|
14
|
+
throw n;
|
|
15
|
+
}
|
|
16
|
+
return (e || JSON.stringify)(i);
|
|
20
17
|
}
|
|
21
|
-
l
|
|
18
|
+
const l = {
|
|
19
|
+
transitional: u,
|
|
20
|
+
adapter: ["xhr", "http", "fetch"],
|
|
21
|
+
transformRequest: [function(r, e) {
|
|
22
|
+
const n = e.getContentType() || "", s = n.indexOf("application/json") > -1, f = t.isObject(r);
|
|
23
|
+
if (f && t.isHTMLForm(r) && (r = new FormData(r)), t.isFormData(r))
|
|
24
|
+
return s ? JSON.stringify(O(r)) : r;
|
|
25
|
+
if (t.isArrayBuffer(r) || t.isBuffer(r) || t.isStream(r) || t.isFile(r) || t.isBlob(r) || t.isReadableStream(r))
|
|
26
|
+
return r;
|
|
27
|
+
if (t.isArrayBufferView(r))
|
|
28
|
+
return r.buffer;
|
|
29
|
+
if (t.isURLSearchParams(r))
|
|
30
|
+
return e.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), r.toString();
|
|
31
|
+
let o;
|
|
32
|
+
if (f) {
|
|
33
|
+
if (n.indexOf("application/x-www-form-urlencoded") > -1)
|
|
34
|
+
return h(r, this.formSerializer).toString();
|
|
35
|
+
if ((o = t.isFileList(r)) || n.indexOf("multipart/form-data") > -1) {
|
|
36
|
+
const p = this.env && this.env.FormData;
|
|
37
|
+
return S(
|
|
38
|
+
o ? { "files[]": r } : r,
|
|
39
|
+
p && new p(),
|
|
40
|
+
this.formSerializer
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
return f || s ? (e.setContentType("application/json", !1), y(r)) : r;
|
|
45
|
+
}],
|
|
46
|
+
transformResponse: [function(r) {
|
|
47
|
+
const e = this.transitional || l.transitional, n = e && e.forcedJSONParsing, s = this.responseType === "json";
|
|
48
|
+
if (t.isResponse(r) || t.isReadableStream(r))
|
|
49
|
+
return r;
|
|
50
|
+
if (r && t.isString(r) && (n && !this.responseType || s)) {
|
|
51
|
+
const m = !(e && e.silentJSONParsing) && s;
|
|
52
|
+
try {
|
|
53
|
+
return JSON.parse(r, this.parseReviver);
|
|
54
|
+
} catch (o) {
|
|
55
|
+
if (m)
|
|
56
|
+
throw o.name === "SyntaxError" ? c.from(o, c.ERR_BAD_RESPONSE, this, null, this.response) : o;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
return r;
|
|
60
|
+
}],
|
|
61
|
+
/**
|
|
62
|
+
* A timeout in milliseconds to abort a request. If set to 0 (default) a
|
|
63
|
+
* timeout is not created.
|
|
64
|
+
*/
|
|
65
|
+
timeout: 0,
|
|
66
|
+
xsrfCookieName: "XSRF-TOKEN",
|
|
67
|
+
xsrfHeaderName: "X-XSRF-TOKEN",
|
|
68
|
+
maxContentLength: -1,
|
|
69
|
+
maxBodyLength: -1,
|
|
70
|
+
env: {
|
|
71
|
+
FormData: a.classes.FormData,
|
|
72
|
+
Blob: a.classes.Blob
|
|
73
|
+
},
|
|
74
|
+
validateStatus: function(r) {
|
|
75
|
+
return r >= 200 && r < 300;
|
|
76
|
+
},
|
|
77
|
+
headers: {
|
|
78
|
+
common: {
|
|
79
|
+
Accept: "application/json, text/plain, */*",
|
|
80
|
+
"Content-Type": void 0
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
t.forEach(["delete", "get", "head", "post", "put", "patch"], (i) => {
|
|
85
|
+
l.headers[i] = {};
|
|
86
|
+
});
|
|
22
87
|
export {
|
|
23
88
|
l as default
|
|
24
89
|
};
|
package/dist/index322.js
CHANGED
|
@@ -1,65 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
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
|
-
var p = e.instance;
|
|
30
|
-
return ["p-dropdown-panel p-component", {
|
|
31
|
-
"p-ripple-disabled": p.$primevue.config.ripple === !1
|
|
32
|
-
}];
|
|
33
|
-
},
|
|
34
|
-
header: "p-dropdown-header",
|
|
35
|
-
filterContainer: "p-dropdown-filter-container",
|
|
36
|
-
filterInput: function(e) {
|
|
37
|
-
var p = e.props, n = e.instance;
|
|
38
|
-
return ["p-dropdown-filter p-inputtext p-component", {
|
|
39
|
-
"p-variant-filled": p.variant ? p.variant === "filled" : n.$primevue.config.inputStyle === "filled"
|
|
40
|
-
}];
|
|
41
|
-
},
|
|
42
|
-
filterIcon: "p-dropdown-filter-icon",
|
|
43
|
-
wrapper: "p-dropdown-items-wrapper",
|
|
44
|
-
list: "p-dropdown-items",
|
|
45
|
-
itemGroup: "p-dropdown-item-group",
|
|
46
|
-
itemGroupLabel: "p-dropdown-item-group-label",
|
|
47
|
-
item: function(e) {
|
|
48
|
-
var p = e.instance, n = e.props, o = e.state, t = e.option, r = e.focusedOption;
|
|
49
|
-
return ["p-dropdown-item", {
|
|
50
|
-
"p-highlight": p.isSelected(t) && n.highlightOnSelect,
|
|
51
|
-
"p-focus": o.focusedOptionIndex === r,
|
|
52
|
-
"p-disabled": p.isOptionDisabled(t)
|
|
53
|
-
}];
|
|
54
|
-
},
|
|
55
|
-
itemLabel: "p-dropdown-item-label",
|
|
56
|
-
checkIcon: "p-dropdown-check-icon",
|
|
57
|
-
blankIcon: "p-dropdown-blank-icon",
|
|
58
|
-
emptyMessage: "p-dropdown-empty-message"
|
|
59
|
-
}, s = a.extend({
|
|
60
|
-
name: "dropdown",
|
|
61
|
-
classes: l
|
|
62
|
-
});
|
|
1
|
+
import u from "./index317.js";
|
|
2
|
+
function f(e) {
|
|
3
|
+
return u.matchAll(/\w+|\[(\w*)]/g, e).map((o) => o[0] === "[]" ? "" : o[1] || o[0]);
|
|
4
|
+
}
|
|
5
|
+
function y(e) {
|
|
6
|
+
const o = {}, r = Object.keys(e);
|
|
7
|
+
let i;
|
|
8
|
+
const n = r.length;
|
|
9
|
+
let c;
|
|
10
|
+
for (i = 0; i < n; i++)
|
|
11
|
+
c = r[i], o[c] = e[c];
|
|
12
|
+
return o;
|
|
13
|
+
}
|
|
14
|
+
function m(e) {
|
|
15
|
+
function o(r, i, n, c) {
|
|
16
|
+
let s = r[c++];
|
|
17
|
+
if (s === "__proto__") return !0;
|
|
18
|
+
const t = Number.isFinite(+s), l = c >= r.length;
|
|
19
|
+
return s = !s && u.isArray(n) ? n.length : s, l ? (u.hasOwnProp(n, s) ? n[s] = [n[s], i] : n[s] = i, !t) : ((!n[s] || !u.isObject(n[s])) && (n[s] = []), o(r, i, n[s], c) && u.isArray(n[s]) && (n[s] = y(n[s])), !t);
|
|
20
|
+
}
|
|
21
|
+
if (u.isFormData(e) && u.isFunction(e.entries)) {
|
|
22
|
+
const r = {};
|
|
23
|
+
return u.forEachEntry(e, (i, n) => {
|
|
24
|
+
o(f(i), n, r, 0);
|
|
25
|
+
}), r;
|
|
26
|
+
}
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
63
29
|
export {
|
|
64
|
-
|
|
30
|
+
m as default
|
|
65
31
|
};
|
package/dist/index323.js
CHANGED
|
@@ -1,264 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const _ = O("string"), c = O("function"), B = O("number"), y = (e) => e !== null && typeof e == "object", N = (e) => e === !0 || e === !1, w = (e) => {
|
|
15
|
-
if (b(e) !== "object")
|
|
16
|
-
return !1;
|
|
17
|
-
const t = h(e);
|
|
18
|
-
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(x in e) && !(g in e);
|
|
19
|
-
}, U = (e) => {
|
|
20
|
-
if (!y(e) || d(e))
|
|
21
|
-
return !1;
|
|
22
|
-
try {
|
|
23
|
-
return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
|
|
24
|
-
} catch {
|
|
25
|
-
return !1;
|
|
26
|
-
}
|
|
27
|
-
}, I = f("Date"), k = f("File"), V = f("Blob"), q = f("FileList"), H = (e) => y(e) && c(e.pipe), z = (e) => {
|
|
28
|
-
let t;
|
|
29
|
-
return e && (typeof FormData == "function" && e instanceof FormData || c(e.append) && ((t = b(e)) === "formdata" || // detect form-data instance
|
|
30
|
-
t === "object" && c(e.toString) && e.toString() === "[object FormData]"));
|
|
31
|
-
}, J = f("URLSearchParams"), [K, $, W, G] = [
|
|
32
|
-
"ReadableStream",
|
|
33
|
-
"Request",
|
|
34
|
-
"Response",
|
|
35
|
-
"Headers"
|
|
36
|
-
].map(f), Q = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
37
|
-
function m(e, t, { allOwnKeys: r = !1 } = {}) {
|
|
38
|
-
if (e === null || typeof e > "u")
|
|
39
|
-
return;
|
|
40
|
-
let n, s;
|
|
41
|
-
if (typeof e != "object" && (e = [e]), p(e))
|
|
42
|
-
for (n = 0, s = e.length; n < s; n++)
|
|
43
|
-
t.call(null, e[n], n, e);
|
|
44
|
-
else {
|
|
45
|
-
if (d(e))
|
|
46
|
-
return;
|
|
47
|
-
const o = r ? Object.getOwnPropertyNames(e) : Object.keys(e), i = o.length;
|
|
48
|
-
let l;
|
|
49
|
-
for (n = 0; n < i; n++)
|
|
50
|
-
l = o[n], t.call(null, e[l], l, e);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
function E(e, t) {
|
|
54
|
-
if (d(e))
|
|
55
|
-
return null;
|
|
56
|
-
t = t.toLowerCase();
|
|
57
|
-
const r = Object.keys(e);
|
|
58
|
-
let n = r.length, s;
|
|
59
|
-
for (; n-- > 0; )
|
|
60
|
-
if (s = r[n], t === s.toLowerCase())
|
|
61
|
-
return s;
|
|
62
|
-
return null;
|
|
63
|
-
}
|
|
64
|
-
const u = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, L = (e) => !a(e) && e !== u;
|
|
65
|
-
function F() {
|
|
66
|
-
const { caseless: e, skipUndefined: t } = L(this) && this || {}, r = {}, n = (s, o) => {
|
|
67
|
-
if (o === "__proto__" || o === "constructor" || o === "prototype")
|
|
68
|
-
return;
|
|
69
|
-
const i = e && E(r, o) || o;
|
|
70
|
-
w(r[i]) && w(s) ? r[i] = F(r[i], s) : w(s) ? r[i] = F({}, s) : p(s) ? r[i] = s.slice() : (!t || !a(s)) && (r[i] = s);
|
|
71
|
-
};
|
|
72
|
-
for (let s = 0, o = arguments.length; s < o; s++)
|
|
73
|
-
arguments[s] && m(arguments[s], n);
|
|
74
|
-
return r;
|
|
75
|
-
}
|
|
76
|
-
const X = (e, t, r, { allOwnKeys: n } = {}) => (m(
|
|
77
|
-
t,
|
|
78
|
-
(s, o) => {
|
|
79
|
-
r && c(s) ? Object.defineProperty(e, o, {
|
|
80
|
-
value: R(s, r),
|
|
81
|
-
writable: !0,
|
|
82
|
-
enumerable: !0,
|
|
83
|
-
configurable: !0
|
|
84
|
-
}) : Object.defineProperty(e, o, {
|
|
85
|
-
value: s,
|
|
86
|
-
writable: !0,
|
|
87
|
-
enumerable: !0,
|
|
88
|
-
configurable: !0
|
|
89
|
-
});
|
|
90
|
-
},
|
|
91
|
-
{ allOwnKeys: n }
|
|
92
|
-
), e), Y = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Z = (e, t, r, n) => {
|
|
93
|
-
e.prototype = Object.create(
|
|
94
|
-
t.prototype,
|
|
95
|
-
n
|
|
96
|
-
), Object.defineProperty(e.prototype, "constructor", {
|
|
97
|
-
value: e,
|
|
98
|
-
writable: !0,
|
|
99
|
-
enumerable: !1,
|
|
100
|
-
configurable: !0
|
|
101
|
-
}), Object.defineProperty(e, "super", {
|
|
102
|
-
value: t.prototype
|
|
103
|
-
}), r && Object.assign(e.prototype, r);
|
|
104
|
-
}, j = (e, t, r, n) => {
|
|
105
|
-
let s, o, i;
|
|
106
|
-
const l = {};
|
|
107
|
-
if (t = t || {}, e == null) return t;
|
|
108
|
-
do {
|
|
109
|
-
for (s = Object.getOwnPropertyNames(e), o = s.length; o-- > 0; )
|
|
110
|
-
i = s[o], (!n || n(i, e, t)) && !l[i] && (t[i] = e[i], l[i] = !0);
|
|
111
|
-
e = r !== !1 && h(e);
|
|
112
|
-
} while (e && (!r || r(e, t)) && e !== Object.prototype);
|
|
113
|
-
return t;
|
|
114
|
-
}, v = (e, t, r) => {
|
|
115
|
-
e = String(e), (r === void 0 || r > e.length) && (r = e.length), r -= t.length;
|
|
116
|
-
const n = e.indexOf(t, r);
|
|
117
|
-
return n !== -1 && n === r;
|
|
118
|
-
}, ee = (e) => {
|
|
119
|
-
if (!e) return null;
|
|
120
|
-
if (p(e)) return e;
|
|
121
|
-
let t = e.length;
|
|
122
|
-
if (!B(t)) return null;
|
|
123
|
-
const r = new Array(t);
|
|
124
|
-
for (; t-- > 0; )
|
|
125
|
-
r[t] = e[t];
|
|
126
|
-
return r;
|
|
127
|
-
}, te = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && h(Uint8Array)), re = (e, t) => {
|
|
128
|
-
const n = (e && e[g]).call(e);
|
|
129
|
-
let s;
|
|
130
|
-
for (; (s = n.next()) && !s.done; ) {
|
|
131
|
-
const o = s.value;
|
|
132
|
-
t.call(e, o[0], o[1]);
|
|
1
|
+
import e from "./index328.js";
|
|
2
|
+
class n extends e {
|
|
3
|
+
/**
|
|
4
|
+
* A `CanceledError` is an object that is thrown when an operation is canceled.
|
|
5
|
+
*
|
|
6
|
+
* @param {string=} message The message.
|
|
7
|
+
* @param {Object=} config The config.
|
|
8
|
+
* @param {Object=} request The request.
|
|
9
|
+
*
|
|
10
|
+
* @returns {CanceledError} The created error.
|
|
11
|
+
*/
|
|
12
|
+
constructor(r, o, t) {
|
|
13
|
+
super(r ?? "canceled", e.ERR_CANCELED, o, t), this.name = "CanceledError", this.__CANCEL__ = !0;
|
|
133
14
|
}
|
|
134
|
-
}, ne = (e, t) => {
|
|
135
|
-
let r;
|
|
136
|
-
const n = [];
|
|
137
|
-
for (; (r = e.exec(t)) !== null; )
|
|
138
|
-
n.push(r);
|
|
139
|
-
return n;
|
|
140
|
-
}, se = f("HTMLFormElement"), oe = (e) => e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(r, n, s) {
|
|
141
|
-
return n.toUpperCase() + s;
|
|
142
|
-
}), P = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), ie = f("RegExp"), C = (e, t) => {
|
|
143
|
-
const r = Object.getOwnPropertyDescriptors(e), n = {};
|
|
144
|
-
m(r, (s, o) => {
|
|
145
|
-
let i;
|
|
146
|
-
(i = t(s, o, e)) !== !1 && (n[o] = i || s);
|
|
147
|
-
}), Object.defineProperties(e, n);
|
|
148
|
-
}, ce = (e) => {
|
|
149
|
-
C(e, (t, r) => {
|
|
150
|
-
if (c(e) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
|
|
151
|
-
return !1;
|
|
152
|
-
const n = e[r];
|
|
153
|
-
if (c(n)) {
|
|
154
|
-
if (t.enumerable = !1, "writable" in t) {
|
|
155
|
-
t.writable = !1;
|
|
156
|
-
return;
|
|
157
|
-
}
|
|
158
|
-
t.set || (t.set = () => {
|
|
159
|
-
throw Error("Can not rewrite read-only method '" + r + "'");
|
|
160
|
-
});
|
|
161
|
-
}
|
|
162
|
-
});
|
|
163
|
-
}, fe = (e, t) => {
|
|
164
|
-
const r = {}, n = (s) => {
|
|
165
|
-
s.forEach((o) => {
|
|
166
|
-
r[o] = !0;
|
|
167
|
-
});
|
|
168
|
-
};
|
|
169
|
-
return p(e) ? n(e) : n(String(e).split(t)), r;
|
|
170
|
-
}, le = () => {
|
|
171
|
-
}, ue = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
172
|
-
function ae(e) {
|
|
173
|
-
return !!(e && c(e.append) && e[x] === "FormData" && e[g]);
|
|
174
15
|
}
|
|
175
|
-
const pe = (e) => {
|
|
176
|
-
const t = new Array(10), r = (n, s) => {
|
|
177
|
-
if (y(n)) {
|
|
178
|
-
if (t.indexOf(n) >= 0)
|
|
179
|
-
return;
|
|
180
|
-
if (d(n))
|
|
181
|
-
return n;
|
|
182
|
-
if (!("toJSON" in n)) {
|
|
183
|
-
t[s] = n;
|
|
184
|
-
const o = p(n) ? [] : {};
|
|
185
|
-
return m(n, (i, l) => {
|
|
186
|
-
const A = r(i, s + 1);
|
|
187
|
-
!a(A) && (o[l] = A);
|
|
188
|
-
}), t[s] = void 0, o;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
return n;
|
|
192
|
-
};
|
|
193
|
-
return r(e, 0);
|
|
194
|
-
}, de = f("AsyncFunction"), ye = (e) => e && (y(e) || c(e)) && c(e.then) && c(e.catch), D = ((e, t) => e ? setImmediate : t ? ((r, n) => (u.addEventListener(
|
|
195
|
-
"message",
|
|
196
|
-
({ source: s, data: o }) => {
|
|
197
|
-
s === u && o === r && n.length && n.shift()();
|
|
198
|
-
},
|
|
199
|
-
!1
|
|
200
|
-
), (s) => {
|
|
201
|
-
n.push(s), u.postMessage(r, "*");
|
|
202
|
-
}))(`axios@${Math.random()}`, []) : (r) => setTimeout(r))(typeof setImmediate == "function", c(u.postMessage)), me = typeof queueMicrotask < "u" ? queueMicrotask.bind(u) : typeof process < "u" && process.nextTick || D, we = (e) => e != null && c(e[g]), be = {
|
|
203
|
-
isArray: p,
|
|
204
|
-
isArrayBuffer: S,
|
|
205
|
-
isBuffer: d,
|
|
206
|
-
isFormData: z,
|
|
207
|
-
isArrayBufferView: M,
|
|
208
|
-
isString: _,
|
|
209
|
-
isNumber: B,
|
|
210
|
-
isBoolean: N,
|
|
211
|
-
isObject: y,
|
|
212
|
-
isPlainObject: w,
|
|
213
|
-
isEmptyObject: U,
|
|
214
|
-
isReadableStream: K,
|
|
215
|
-
isRequest: $,
|
|
216
|
-
isResponse: W,
|
|
217
|
-
isHeaders: G,
|
|
218
|
-
isUndefined: a,
|
|
219
|
-
isDate: I,
|
|
220
|
-
isFile: k,
|
|
221
|
-
isBlob: V,
|
|
222
|
-
isRegExp: ie,
|
|
223
|
-
isFunction: c,
|
|
224
|
-
isStream: H,
|
|
225
|
-
isURLSearchParams: J,
|
|
226
|
-
isTypedArray: te,
|
|
227
|
-
isFileList: q,
|
|
228
|
-
forEach: m,
|
|
229
|
-
merge: F,
|
|
230
|
-
extend: X,
|
|
231
|
-
trim: Q,
|
|
232
|
-
stripBOM: Y,
|
|
233
|
-
inherits: Z,
|
|
234
|
-
toFlatObject: j,
|
|
235
|
-
kindOf: b,
|
|
236
|
-
kindOfTest: f,
|
|
237
|
-
endsWith: v,
|
|
238
|
-
toArray: ee,
|
|
239
|
-
forEachEntry: re,
|
|
240
|
-
matchAll: ne,
|
|
241
|
-
isHTMLForm: se,
|
|
242
|
-
hasOwnProperty: P,
|
|
243
|
-
hasOwnProp: P,
|
|
244
|
-
// an alias to avoid ESLint no-prototype-builtins detection
|
|
245
|
-
reduceDescriptors: C,
|
|
246
|
-
freezeMethods: ce,
|
|
247
|
-
toObjectSet: fe,
|
|
248
|
-
toCamelCase: oe,
|
|
249
|
-
noop: le,
|
|
250
|
-
toFiniteNumber: ue,
|
|
251
|
-
findKey: E,
|
|
252
|
-
global: u,
|
|
253
|
-
isContextDefined: L,
|
|
254
|
-
isSpecCompliantForm: ae,
|
|
255
|
-
toJSONObject: pe,
|
|
256
|
-
isAsyncFn: de,
|
|
257
|
-
isThenable: ye,
|
|
258
|
-
setImmediate: D,
|
|
259
|
-
asap: me,
|
|
260
|
-
isIterable: we
|
|
261
|
-
};
|
|
262
16
|
export {
|
|
263
|
-
|
|
17
|
+
n as default
|
|
264
18
|
};
|
package/dist/index324.js
CHANGED
|
@@ -1,8 +1,77 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import u from "./index323.js";
|
|
2
|
+
class c {
|
|
3
|
+
constructor(e) {
|
|
4
|
+
if (typeof e != "function")
|
|
5
|
+
throw new TypeError("executor must be a function.");
|
|
6
|
+
let t;
|
|
7
|
+
this.promise = new Promise(function(r) {
|
|
8
|
+
t = r;
|
|
9
|
+
});
|
|
10
|
+
const s = this;
|
|
11
|
+
this.promise.then((n) => {
|
|
12
|
+
if (!s._listeners) return;
|
|
13
|
+
let r = s._listeners.length;
|
|
14
|
+
for (; r-- > 0; )
|
|
15
|
+
s._listeners[r](n);
|
|
16
|
+
s._listeners = null;
|
|
17
|
+
}), this.promise.then = (n) => {
|
|
18
|
+
let r;
|
|
19
|
+
const o = new Promise((i) => {
|
|
20
|
+
s.subscribe(i), r = i;
|
|
21
|
+
}).then(n);
|
|
22
|
+
return o.cancel = function() {
|
|
23
|
+
s.unsubscribe(r);
|
|
24
|
+
}, o;
|
|
25
|
+
}, e(function(r, o, i) {
|
|
26
|
+
s.reason || (s.reason = new u(r, o, i), t(s.reason));
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Throws a `CanceledError` if cancellation has been requested.
|
|
31
|
+
*/
|
|
32
|
+
throwIfRequested() {
|
|
33
|
+
if (this.reason)
|
|
34
|
+
throw this.reason;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Subscribe to the cancel signal
|
|
38
|
+
*/
|
|
39
|
+
subscribe(e) {
|
|
40
|
+
if (this.reason) {
|
|
41
|
+
e(this.reason);
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
this._listeners ? this._listeners.push(e) : this._listeners = [e];
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Unsubscribe from the cancel signal
|
|
48
|
+
*/
|
|
49
|
+
unsubscribe(e) {
|
|
50
|
+
if (!this._listeners)
|
|
51
|
+
return;
|
|
52
|
+
const t = this._listeners.indexOf(e);
|
|
53
|
+
t !== -1 && this._listeners.splice(t, 1);
|
|
54
|
+
}
|
|
55
|
+
toAbortSignal() {
|
|
56
|
+
const e = new AbortController(), t = (s) => {
|
|
57
|
+
e.abort(s);
|
|
58
|
+
};
|
|
59
|
+
return this.subscribe(t), e.signal.unsubscribe = () => this.unsubscribe(t), e.signal;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Returns an object that contains a new `CancelToken` and a function that, when called,
|
|
63
|
+
* cancels the `CancelToken`.
|
|
64
|
+
*/
|
|
65
|
+
static source() {
|
|
66
|
+
let e;
|
|
67
|
+
return {
|
|
68
|
+
token: new c(function(n) {
|
|
69
|
+
e = n;
|
|
70
|
+
}),
|
|
71
|
+
cancel: e
|
|
72
|
+
};
|
|
73
|
+
}
|
|
5
74
|
}
|
|
6
75
|
export {
|
|
7
|
-
|
|
76
|
+
c as default
|
|
8
77
|
};
|