@quoreadmin/ui 1.8.6 → 1.8.8
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/index127.js +31 -30
- package/dist/index142.js +2 -2
- package/dist/index144.js +1 -1
- package/dist/index185.js +8 -8
- package/dist/index187.js +8 -8
- package/dist/index189.js +1190 -36
- package/dist/index191.js +36 -1190
- package/dist/{index190.js → index192.js} +17 -17
- package/dist/index193.js +7 -7
- package/dist/index204.js +4 -4
- package/dist/index211.js +2 -2
- package/dist/index212.js +1 -1
- package/dist/index214.js +4 -4
- package/dist/index216.js +1 -1
- package/dist/index217.js +1 -1
- package/dist/index218.js +1 -1
- package/dist/index219.js +4 -4
- package/dist/index221.js +1 -1
- package/dist/index222.js +121 -155
- package/dist/index223.js +37 -19
- package/dist/index224.js +80 -20
- package/dist/index225.js +13 -15
- package/dist/index226.js +19 -198
- package/dist/index227.js +18 -68
- package/dist/index228.js +20 -34
- package/dist/index229.js +19 -39
- package/dist/index230.js +155 -121
- package/dist/index231.js +19 -37
- package/dist/index232.js +22 -80
- package/dist/index233.js +198 -19
- package/dist/index234.js +68 -18
- package/dist/index235.js +34 -20
- package/dist/index236.js +39 -19
- package/dist/index241.js +1 -1
- package/dist/index242.js +1 -1
- package/dist/index243.js +1 -1
- package/dist/index244.js +6 -6
- package/dist/index245.js +1 -1
- package/dist/index247.js +1 -1
- package/dist/index248.js +1 -1
- package/dist/index249.js +1 -1
- package/dist/index251.js +1 -1
- package/dist/index252.js +1 -1
- package/dist/index253.js +6 -6
- package/dist/index254.js +1 -1
- package/dist/index255.js +1 -1
- package/dist/index256.js +1 -1
- package/dist/index257.js +1 -1
- package/dist/index258.js +1 -1
- package/dist/index259.js +1 -1
- package/dist/index262.js +6 -6
- package/dist/index263.js +1 -1
- package/dist/index264.js +1 -1
- package/dist/index277.js +2 -2
- package/dist/index282.js +2 -3
- package/dist/index283.js +77 -25
- package/dist/index285.js +25 -78
- package/dist/index286.js +15 -19
- package/dist/index287.js +10 -10
- package/dist/index288.js +16 -22
- package/dist/index289.js +15 -14
- package/dist/index290.js +21 -15
- package/dist/index291.js +261 -22
- package/dist/index292.js +6 -2
- package/dist/index293.js +137 -76
- package/dist/index294.js +72 -21
- package/dist/index295.js +78 -926
- package/dist/index296.js +28 -21
- package/dist/index297.js +15 -19
- package/dist/index298.js +74 -19
- package/dist/index299.js +3 -68
- package/dist/index300.js +2 -19
- package/dist/index301.js +82 -18
- package/dist/index302.js +52 -21
- package/dist/index303.js +5 -21
- package/dist/index304.js +5 -63
- package/dist/index305.js +165 -248
- package/dist/index306.js +62 -5
- package/dist/index307.js +74 -139
- package/dist/index308.js +3 -73
- package/dist/index309.js +25 -85
- package/dist/index310.js +1531 -26
- package/dist/index311.js +384 -14
- package/dist/index312.js +2715 -59
- package/dist/index313.js +85 -3
- package/dist/index314.js +3792 -2
- package/dist/index315.js +54 -77
- package/dist/index316.js +15 -53
- package/dist/index317.js +83 -5
- package/dist/index318.js +201 -4
- package/dist/index319.js +231 -164
- package/dist/index320.js +77 -61
- package/dist/index321.js +22 -75
- package/dist/index322.js +908 -1507
- package/dist/index323.js +22 -386
- package/dist/index324.js +20 -2731
- package/dist/index325.js +19 -85
- package/dist/index326.js +58 -3781
- package/dist/index327.js +19 -60
- package/dist/index328.js +19 -15
- package/dist/index329.js +21 -83
- package/dist/index330.js +22 -202
- package/dist/index331.js +63 -246
- package/dist/index332.js +36 -8
- package/dist/index333.js +18 -12
- package/dist/index334.js +55 -53
- package/dist/index335.js +27 -10
- package/dist/index336.js +6 -13
- package/dist/index337.js +48 -54
- package/dist/index338.js +7 -52
- package/dist/index339.js +11 -30
- package/dist/index340.js +7 -2
- package/dist/index341.js +27 -4
- package/dist/index342.js +2 -2
- package/dist/index343.js +69 -22
- package/dist/index344.js +164 -38
- package/dist/index345.js +9 -2
- package/dist/index346.js +13 -11
- package/dist/index347.js +51 -16
- package/dist/index348.js +12 -10
- package/dist/index349.js +14 -10
- package/dist/index350.js +56 -15
- package/dist/index351.js +52 -2
- package/dist/index352.js +31 -9
- package/dist/index353.js +2 -10
- package/dist/index354.js +4 -13
- package/dist/index355.js +2 -37
- package/dist/index356.js +23 -20
- package/dist/index357.js +40 -19
- package/dist/index358.js +2 -64
- package/dist/index359.js +10 -36
- package/dist/index360.js +17 -16
- package/dist/index361.js +10 -57
- package/dist/index362.js +10 -29
- package/dist/index363.js +16 -6
- package/dist/index364.js +2 -52
- package/dist/index365.js +8 -6
- package/dist/index366.js +9 -11
- package/dist/index367.js +13 -6
- package/dist/index368.js +20 -28
- package/dist/index369.js +20 -2
- package/dist/index37.js +2 -2
- package/dist/index370.js +61 -67
- package/dist/index371.js +36 -166
- package/dist/index372.js +13 -17
- package/dist/index373.js +7 -31
- package/dist/index374.js +11 -10
- package/dist/index375.js +4 -3
- package/dist/index376.js +33 -4
- package/dist/index377.js +30 -12
- package/dist/index378.js +28 -7
- package/dist/index379.js +61 -12
- package/dist/index380.js +30 -4
- package/dist/index381.js +11 -33
- package/dist/index382.js +4 -31
- package/dist/index383.js +4 -28
- package/dist/index384.js +99 -59
- package/dist/index386.js +95 -98
- package/dist/index387.js +16 -97
- package/dist/index388.js +1 -1
- package/dist/index393.js +1 -1
- package/dist/index394.js +2 -2
- package/dist/src/components/page-header/page-header.stories.d.ts +18 -0
- package/dist/src/components/page-header/page-header.vue.d.ts +2 -0
- package/package.json +1 -1
package/dist/index371.js
CHANGED
|
@@ -1,169 +1,39 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
1
|
+
import o from "./index280.js";
|
|
2
|
+
var e = {
|
|
3
|
+
root: function(t) {
|
|
4
|
+
var u = t.instance, n = t.props;
|
|
5
|
+
return ["p-inputnumber p-component p-inputwrapper", {
|
|
6
|
+
"p-inputwrapper-filled": u.filled || n.allowEmpty === !1,
|
|
7
|
+
"p-inputwrapper-focus": u.focused,
|
|
8
|
+
"p-inputnumber-buttons-stacked": n.showButtons && n.buttonLayout === "stacked",
|
|
9
|
+
"p-inputnumber-buttons-horizontal": n.showButtons && n.buttonLayout === "horizontal",
|
|
10
|
+
"p-inputnumber-buttons-vertical": n.showButtons && n.buttonLayout === "vertical",
|
|
11
|
+
"p-invalid": n.invalid
|
|
12
|
+
}];
|
|
13
|
+
},
|
|
14
|
+
input: function(t) {
|
|
15
|
+
var u = t.props, n = t.instance;
|
|
16
|
+
return ["p-inputnumber-input", {
|
|
17
|
+
"p-variant-filled": u.variant ? u.variant === "filled" : n.$primevue.config.inputStyle === "filled"
|
|
18
|
+
}];
|
|
19
|
+
},
|
|
20
|
+
buttonGroup: "p-inputnumber-button-group",
|
|
21
|
+
incrementButton: function(t) {
|
|
22
|
+
var u = t.instance, n = t.props;
|
|
23
|
+
return ["p-inputnumber-button p-inputnumber-button-up", {
|
|
24
|
+
"p-disabled": n.showButtons && n.max !== null && u.maxBoundry()
|
|
25
|
+
}];
|
|
26
|
+
},
|
|
27
|
+
decrementButton: function(t) {
|
|
28
|
+
var u = t.instance, n = t.props;
|
|
29
|
+
return ["p-inputnumber-button p-inputnumber-button-down", {
|
|
30
|
+
"p-disabled": n.showButtons && n.min !== null && u.minBoundry()
|
|
31
|
+
}];
|
|
21
32
|
}
|
|
22
|
-
},
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
const { fetch: o, Request: a, Response: y } = n, g = o ? P(o) : typeof fetch == "function", f = P(a), F = P(y);
|
|
27
|
-
if (!g)
|
|
28
|
-
return !1;
|
|
29
|
-
const w = g && P(V), R = g && (typeof W == "function" ? /* @__PURE__ */ ((e) => (s) => e.encode(s))(new W()) : async (e) => new Uint8Array(await new a(e).arrayBuffer())), d = f && w && Z(() => {
|
|
30
|
-
let e = !1;
|
|
31
|
-
const s = new a(K.origin, {
|
|
32
|
-
body: new V(),
|
|
33
|
-
method: "POST",
|
|
34
|
-
get duplex() {
|
|
35
|
-
return e = !0, "half";
|
|
36
|
-
}
|
|
37
|
-
}).headers.has("Content-Type");
|
|
38
|
-
return e && !s;
|
|
39
|
-
}), h = F && w && Z(() => t.isReadableStream(new y("").body)), x = {
|
|
40
|
-
stream: h && ((e) => e.body)
|
|
41
|
-
};
|
|
42
|
-
g && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((e) => {
|
|
43
|
-
!x[e] && (x[e] = (s, i) => {
|
|
44
|
-
let c = s && s[e];
|
|
45
|
-
if (c)
|
|
46
|
-
return c.call(s);
|
|
47
|
-
throw new b(`Response type '${e}' is not supported`, b.ERR_NOT_SUPPORT, i);
|
|
48
|
-
});
|
|
49
|
-
});
|
|
50
|
-
const $ = async (e) => {
|
|
51
|
-
if (e == null)
|
|
52
|
-
return 0;
|
|
53
|
-
if (t.isBlob(e))
|
|
54
|
-
return e.size;
|
|
55
|
-
if (t.isSpecCompliantForm(e))
|
|
56
|
-
return (await new a(K.origin, {
|
|
57
|
-
method: "POST",
|
|
58
|
-
body: e
|
|
59
|
-
}).arrayBuffer()).byteLength;
|
|
60
|
-
if (t.isArrayBufferView(e) || t.isArrayBuffer(e))
|
|
61
|
-
return e.byteLength;
|
|
62
|
-
if (t.isURLSearchParams(e) && (e = e + ""), t.isString(e))
|
|
63
|
-
return (await R(e)).byteLength;
|
|
64
|
-
}, G = async (e, s) => {
|
|
65
|
-
const i = t.toFiniteNumber(e.getContentLength());
|
|
66
|
-
return i ?? $(s);
|
|
67
|
-
};
|
|
68
|
-
return async (e) => {
|
|
69
|
-
let {
|
|
70
|
-
url: s,
|
|
71
|
-
method: i,
|
|
72
|
-
data: c,
|
|
73
|
-
signal: Q,
|
|
74
|
-
cancelToken: _,
|
|
75
|
-
timeout: X,
|
|
76
|
-
onDownloadProgress: O,
|
|
77
|
-
onUploadProgress: B,
|
|
78
|
-
responseType: l,
|
|
79
|
-
headers: q,
|
|
80
|
-
withCredentials: C = "same-origin",
|
|
81
|
-
fetchOptions: U
|
|
82
|
-
} = se(e), v = o || fetch;
|
|
83
|
-
l = l ? (l + "").toLowerCase() : "text";
|
|
84
|
-
let E = ee([Q, _ && _.toAbortSignal()], X), T = null;
|
|
85
|
-
const m = E && E.unsubscribe && (() => {
|
|
86
|
-
E.unsubscribe();
|
|
87
|
-
});
|
|
88
|
-
let D;
|
|
89
|
-
try {
|
|
90
|
-
if (B && d && i !== "get" && i !== "head" && (D = await G(q, c)) !== 0) {
|
|
91
|
-
let p = new a(s, {
|
|
92
|
-
method: "POST",
|
|
93
|
-
body: c,
|
|
94
|
-
duplex: "half"
|
|
95
|
-
}), S;
|
|
96
|
-
if (t.isFormData(c) && (S = p.headers.get("content-type")) && q.setContentType(S), p.body) {
|
|
97
|
-
const [A, L] = I(
|
|
98
|
-
D,
|
|
99
|
-
M(j(B))
|
|
100
|
-
);
|
|
101
|
-
c = z(p.body, J, A, L);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
t.isString(C) || (C = C ? "include" : "omit");
|
|
105
|
-
const r = f && "credentials" in a.prototype, N = {
|
|
106
|
-
...U,
|
|
107
|
-
signal: E,
|
|
108
|
-
method: i.toUpperCase(),
|
|
109
|
-
headers: q.normalize().toJSON(),
|
|
110
|
-
body: c,
|
|
111
|
-
duplex: "half",
|
|
112
|
-
credentials: r ? C : void 0
|
|
113
|
-
};
|
|
114
|
-
T = f && new a(s, N);
|
|
115
|
-
let u = await (f ? v(T, U) : v(s, N));
|
|
116
|
-
const k = h && (l === "stream" || l === "response");
|
|
117
|
-
if (h && (O || k && m)) {
|
|
118
|
-
const p = {};
|
|
119
|
-
["status", "statusText", "headers"].forEach((H) => {
|
|
120
|
-
p[H] = u[H];
|
|
121
|
-
});
|
|
122
|
-
const S = t.toFiniteNumber(u.headers.get("content-length")), [A, L] = O && I(
|
|
123
|
-
S,
|
|
124
|
-
M(j(O), !0)
|
|
125
|
-
) || [];
|
|
126
|
-
u = new y(
|
|
127
|
-
z(u.body, J, A, () => {
|
|
128
|
-
L && L(), m && m();
|
|
129
|
-
}),
|
|
130
|
-
p
|
|
131
|
-
);
|
|
132
|
-
}
|
|
133
|
-
l = l || "text";
|
|
134
|
-
let Y = await x[t.findKey(x, l) || "text"](u, e);
|
|
135
|
-
return !k && m && m(), await new Promise((p, S) => {
|
|
136
|
-
re(p, S, {
|
|
137
|
-
data: Y,
|
|
138
|
-
headers: te.from(u.headers),
|
|
139
|
-
status: u.status,
|
|
140
|
-
statusText: u.statusText,
|
|
141
|
-
config: e,
|
|
142
|
-
request: T
|
|
143
|
-
});
|
|
144
|
-
});
|
|
145
|
-
} catch (r) {
|
|
146
|
-
throw m && m(), r && r.name === "TypeError" && /Load failed|fetch/i.test(r.message) ? Object.assign(
|
|
147
|
-
new b("Network Error", b.ERR_NETWORK, e, T, r && r.response),
|
|
148
|
-
{
|
|
149
|
-
cause: r.cause || r
|
|
150
|
-
}
|
|
151
|
-
) : b.from(r, r && r.code, e, T, r && r.response);
|
|
152
|
-
}
|
|
153
|
-
};
|
|
154
|
-
}, ae = /* @__PURE__ */ new Map(), ie = (n) => {
|
|
155
|
-
let o = n && n.env || {};
|
|
156
|
-
const { fetch: a, Request: y, Response: g } = o, f = [
|
|
157
|
-
y,
|
|
158
|
-
g,
|
|
159
|
-
a
|
|
160
|
-
];
|
|
161
|
-
let F = f.length, w = F, R, d, h = ae;
|
|
162
|
-
for (; w--; )
|
|
163
|
-
R = f[w], d = h.get(R), d === void 0 && h.set(R, d = w ? /* @__PURE__ */ new Map() : oe(o)), h = d;
|
|
164
|
-
return d;
|
|
165
|
-
};
|
|
166
|
-
ie();
|
|
33
|
+
}, i = o.extend({
|
|
34
|
+
name: "inputnumber",
|
|
35
|
+
classes: e
|
|
36
|
+
});
|
|
167
37
|
export {
|
|
168
|
-
|
|
38
|
+
i as default
|
|
169
39
|
};
|
package/dist/index372.js
CHANGED
|
@@ -1,19 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}, r = n.extend({
|
|
14
|
-
name: "inputtext",
|
|
15
|
-
classes: l
|
|
16
|
-
});
|
|
1
|
+
import o from "./index388.js";
|
|
2
|
+
import r from "./index389.js";
|
|
3
|
+
import t from "./index390.js";
|
|
4
|
+
const l = {
|
|
5
|
+
isBrowser: !0,
|
|
6
|
+
classes: {
|
|
7
|
+
URLSearchParams: o,
|
|
8
|
+
FormData: r,
|
|
9
|
+
Blob: t
|
|
10
|
+
},
|
|
11
|
+
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
12
|
+
};
|
|
17
13
|
export {
|
|
18
|
-
|
|
14
|
+
l as default
|
|
19
15
|
};
|
package/dist/index373.js
CHANGED
|
@@ -1,33 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
function
|
|
3
|
-
const t = {
|
|
4
|
-
"!": "%21",
|
|
5
|
-
"'": "%27",
|
|
6
|
-
"(": "%28",
|
|
7
|
-
")": "%29",
|
|
8
|
-
"~": "%7E",
|
|
9
|
-
"%20": "+",
|
|
10
|
-
"%00": "\0"
|
|
11
|
-
};
|
|
12
|
-
return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g, function(r) {
|
|
13
|
-
return t[r];
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
function a(n, t) {
|
|
17
|
-
this._pairs = [], n && p(n, this, t);
|
|
18
|
-
}
|
|
19
|
-
const c = a.prototype;
|
|
20
|
-
c.append = function(t, o) {
|
|
21
|
-
this._pairs.push([t, o]);
|
|
22
|
-
};
|
|
23
|
-
c.toString = function(t) {
|
|
24
|
-
const o = t ? function(r) {
|
|
25
|
-
return t.call(this, r, i);
|
|
26
|
-
} : i;
|
|
27
|
-
return this._pairs.map(function(e) {
|
|
28
|
-
return o(e[0]) + "=" + o(e[1]);
|
|
29
|
-
}, "").join("&");
|
|
30
|
-
};
|
|
1
|
+
const e = typeof window < "u" && typeof document < "u", o = typeof navigator == "object" && navigator || void 0, n = e && (!o || ["ReactNative", "NativeScript", "NS"].indexOf(o.product) < 0), t = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
2
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", r = e && window.location.href || "http://localhost";
|
|
31
3
|
export {
|
|
32
|
-
|
|
4
|
+
e as hasBrowserEnv,
|
|
5
|
+
n as hasStandardBrowserEnv,
|
|
6
|
+
t as hasStandardBrowserWebWorkerEnv,
|
|
7
|
+
o as navigator,
|
|
8
|
+
r as origin
|
|
33
9
|
};
|
package/dist/index374.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import a from "./index302.js";
|
|
2
|
+
function E(i, f, t) {
|
|
3
|
+
const u = t.config.validateStatus;
|
|
4
|
+
!t.status || !u || u(t.status) ? i(t) : f(new a(
|
|
5
|
+
"Request failed with status code " + t.status,
|
|
6
|
+
[a.ERR_BAD_REQUEST, a.ERR_BAD_RESPONSE][Math.floor(t.status / 100) - 4],
|
|
7
|
+
t.config,
|
|
8
|
+
t.request,
|
|
9
|
+
t
|
|
10
|
+
));
|
|
10
11
|
}
|
|
11
12
|
export {
|
|
12
|
-
|
|
13
|
+
E as default
|
|
13
14
|
};
|
package/dist/index375.js
CHANGED
package/dist/index376.js
CHANGED
|
@@ -1,6 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import i from "./index391.js";
|
|
2
|
+
import m from "./index392.js";
|
|
3
|
+
import f from "./index291.js";
|
|
4
|
+
const h = (t, o, a = 3) => {
|
|
5
|
+
let r = 0;
|
|
6
|
+
const c = i(50, 250);
|
|
7
|
+
return m((s) => {
|
|
8
|
+
const n = s.loaded, e = s.lengthComputable ? s.total : void 0, l = n - r, d = c(l), p = n <= e;
|
|
9
|
+
r = n;
|
|
10
|
+
const u = {
|
|
11
|
+
loaded: n,
|
|
12
|
+
total: e,
|
|
13
|
+
progress: e ? n / e : void 0,
|
|
14
|
+
bytes: l,
|
|
15
|
+
rate: d || void 0,
|
|
16
|
+
estimated: d && e && p ? (e - n) / d : void 0,
|
|
17
|
+
event: s,
|
|
18
|
+
lengthComputable: e != null,
|
|
19
|
+
[o ? "download" : "upload"]: !0
|
|
20
|
+
};
|
|
21
|
+
t(u);
|
|
22
|
+
}, a);
|
|
23
|
+
}, v = (t, o) => {
|
|
24
|
+
const a = t != null;
|
|
25
|
+
return [(r) => o[0]({
|
|
26
|
+
lengthComputable: a,
|
|
27
|
+
total: t,
|
|
28
|
+
loaded: r
|
|
29
|
+
}), o[1]];
|
|
30
|
+
}, C = (t) => (...o) => f.asap(() => t(...o));
|
|
4
31
|
export {
|
|
5
|
-
|
|
32
|
+
C as asyncDecorator,
|
|
33
|
+
v as progressEventDecorator,
|
|
34
|
+
h as progressEventReducer
|
|
6
35
|
};
|
package/dist/index377.js
CHANGED
|
@@ -1,15 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
},
|
|
11
|
-
|
|
1
|
+
import n from "./index340.js";
|
|
2
|
+
import m from "./index291.js";
|
|
3
|
+
import c from "./index393.js";
|
|
4
|
+
import h from "./index394.js";
|
|
5
|
+
import w from "./index336.js";
|
|
6
|
+
import b from "./index294.js";
|
|
7
|
+
import C from "./index305.js";
|
|
8
|
+
import g from "./index333.js";
|
|
9
|
+
const E = (a) => {
|
|
10
|
+
const e = b({}, a);
|
|
11
|
+
let { data: i, withXSRFToken: r, xsrfHeaderName: f, xsrfCookieName: d, headers: o, auth: s } = e;
|
|
12
|
+
if (e.headers = o = C.from(o), e.url = g(w(e.baseURL, e.url, e.allowAbsoluteUrls), a.params, a.paramsSerializer), s && o.set(
|
|
13
|
+
"Authorization",
|
|
14
|
+
"Basic " + btoa((s.username || "") + ":" + (s.password ? unescape(encodeURIComponent(s.password)) : ""))
|
|
15
|
+
), m.isFormData(i)) {
|
|
16
|
+
if (n.hasStandardBrowserEnv || n.hasStandardBrowserWebWorkerEnv)
|
|
17
|
+
o.setContentType(void 0);
|
|
18
|
+
else if (m.isFunction(i.getHeaders)) {
|
|
19
|
+
const t = i.getHeaders(), u = ["content-type", "content-length"];
|
|
20
|
+
Object.entries(t).forEach(([l, p]) => {
|
|
21
|
+
u.includes(l.toLowerCase()) && o.set(l, p);
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
if (n.hasStandardBrowserEnv && (r && m.isFunction(r) && (r = r(e)), r || r !== !1 && c(e.url))) {
|
|
26
|
+
const t = f && d && h.read(d);
|
|
27
|
+
t && o.set(f, t);
|
|
28
|
+
}
|
|
29
|
+
return e;
|
|
12
30
|
};
|
|
13
31
|
export {
|
|
14
|
-
|
|
32
|
+
E as default
|
|
15
33
|
};
|
package/dist/index378.js
CHANGED
|
@@ -1,9 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import a from "./index297.js";
|
|
2
|
+
import s from "./index302.js";
|
|
3
|
+
import m from "./index291.js";
|
|
4
|
+
const h = (e, t) => {
|
|
5
|
+
const { length: l } = e = e ? e.filter(Boolean) : [];
|
|
6
|
+
if (t || l) {
|
|
7
|
+
let u = new AbortController(), f;
|
|
8
|
+
const n = function(r) {
|
|
9
|
+
if (!f) {
|
|
10
|
+
f = !0, i();
|
|
11
|
+
const o = r instanceof Error ? r : this.reason;
|
|
12
|
+
u.abort(o instanceof s ? o : new a(o instanceof Error ? o.message : o));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
let c = t && setTimeout(() => {
|
|
16
|
+
c = null, n(new s(`timeout of ${t}ms exceeded`, s.ETIMEDOUT));
|
|
17
|
+
}, t);
|
|
18
|
+
const i = () => {
|
|
19
|
+
e && (c && clearTimeout(c), c = null, e.forEach((r) => {
|
|
20
|
+
r.unsubscribe ? r.unsubscribe(n) : r.removeEventListener("abort", n);
|
|
21
|
+
}), e = null);
|
|
22
|
+
};
|
|
23
|
+
e.forEach((r) => r.addEventListener("abort", n));
|
|
24
|
+
const { signal: b } = u;
|
|
25
|
+
return b.unsubscribe = () => m.asap(i), b;
|
|
26
|
+
}
|
|
27
|
+
};
|
|
3
28
|
export {
|
|
4
|
-
|
|
5
|
-
n as hasStandardBrowserEnv,
|
|
6
|
-
t as hasStandardBrowserWebWorkerEnv,
|
|
7
|
-
o as navigator,
|
|
8
|
-
r as origin
|
|
29
|
+
h as default
|
|
9
30
|
};
|
package/dist/index379.js
CHANGED
|
@@ -1,14 +1,63 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
t
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
const f = function* (e, t) {
|
|
2
|
+
let n = e.byteLength;
|
|
3
|
+
if (n < t) {
|
|
4
|
+
yield e;
|
|
5
|
+
return;
|
|
6
|
+
}
|
|
7
|
+
let a = 0, r;
|
|
8
|
+
for (; a < n; )
|
|
9
|
+
r = a + t, yield e.slice(a, r), a = r;
|
|
10
|
+
}, w = async function* (e, t) {
|
|
11
|
+
for await (const n of b(e))
|
|
12
|
+
yield* f(n, t);
|
|
13
|
+
}, b = async function* (e) {
|
|
14
|
+
if (e[Symbol.asyncIterator]) {
|
|
15
|
+
yield* e;
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
const t = e.getReader();
|
|
19
|
+
try {
|
|
20
|
+
for (; ; ) {
|
|
21
|
+
const { done: n, value: a } = await t.read();
|
|
22
|
+
if (n)
|
|
23
|
+
break;
|
|
24
|
+
yield a;
|
|
25
|
+
}
|
|
26
|
+
} finally {
|
|
27
|
+
await t.cancel();
|
|
28
|
+
}
|
|
29
|
+
}, h = (e, t, n, a) => {
|
|
30
|
+
const r = w(e, t);
|
|
31
|
+
let d = 0, o, c = (l) => {
|
|
32
|
+
o || (o = !0, a && a(l));
|
|
33
|
+
};
|
|
34
|
+
return new ReadableStream({
|
|
35
|
+
async pull(l) {
|
|
36
|
+
try {
|
|
37
|
+
const { done: i, value: y } = await r.next();
|
|
38
|
+
if (i) {
|
|
39
|
+
c(), l.close();
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
let s = y.byteLength;
|
|
43
|
+
if (n) {
|
|
44
|
+
let u = d += s;
|
|
45
|
+
n(u);
|
|
46
|
+
}
|
|
47
|
+
l.enqueue(new Uint8Array(y));
|
|
48
|
+
} catch (i) {
|
|
49
|
+
throw c(i), i;
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
cancel(l) {
|
|
53
|
+
return c(l), r.return();
|
|
54
|
+
}
|
|
55
|
+
}, {
|
|
56
|
+
highWaterMark: 2
|
|
57
|
+
});
|
|
58
|
+
};
|
|
12
59
|
export {
|
|
13
|
-
|
|
60
|
+
w as readBytes,
|
|
61
|
+
f as streamChunk,
|
|
62
|
+
h as trackStream
|
|
14
63
|
};
|
package/dist/index380.js
CHANGED
|
@@ -1,7 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import p from "./index301.js";
|
|
2
|
+
function i(n) {
|
|
3
|
+
const t = {
|
|
4
|
+
"!": "%21",
|
|
5
|
+
"'": "%27",
|
|
6
|
+
"(": "%28",
|
|
7
|
+
")": "%29",
|
|
8
|
+
"~": "%7E",
|
|
9
|
+
"%20": "+",
|
|
10
|
+
"%00": "\0"
|
|
11
|
+
};
|
|
12
|
+
return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g, function(r) {
|
|
13
|
+
return t[r];
|
|
14
|
+
});
|
|
4
15
|
}
|
|
16
|
+
function a(n, t) {
|
|
17
|
+
this._pairs = [], n && p(n, this, t);
|
|
18
|
+
}
|
|
19
|
+
const c = a.prototype;
|
|
20
|
+
c.append = function(t, o) {
|
|
21
|
+
this._pairs.push([t, o]);
|
|
22
|
+
};
|
|
23
|
+
c.toString = function(t) {
|
|
24
|
+
const o = t ? function(r) {
|
|
25
|
+
return t.call(this, r, i);
|
|
26
|
+
} : i;
|
|
27
|
+
return this._pairs.map(function(e) {
|
|
28
|
+
return o(e[0]) + "=" + o(e[1]);
|
|
29
|
+
}, "").join("&");
|
|
30
|
+
};
|
|
5
31
|
export {
|
|
6
|
-
|
|
32
|
+
a as default
|
|
7
33
|
};
|
package/dist/index381.js
CHANGED
|
@@ -1,35 +1,13 @@
|
|
|
1
|
-
import i from "./
|
|
2
|
-
import m from "./
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
return
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
loaded: n,
|
|
12
|
-
total: e,
|
|
13
|
-
progress: e ? n / e : void 0,
|
|
14
|
-
bytes: l,
|
|
15
|
-
rate: d || void 0,
|
|
16
|
-
estimated: d && e && p ? (e - n) / d : void 0,
|
|
17
|
-
event: s,
|
|
18
|
-
lengthComputable: e != null,
|
|
19
|
-
[o ? "download" : "upload"]: !0
|
|
20
|
-
};
|
|
21
|
-
t(u);
|
|
22
|
-
}, a);
|
|
23
|
-
}, v = (t, o) => {
|
|
24
|
-
const a = t != null;
|
|
25
|
-
return [(r) => o[0]({
|
|
26
|
-
lengthComputable: a,
|
|
27
|
-
total: t,
|
|
28
|
-
loaded: r
|
|
29
|
-
}), o[1]];
|
|
30
|
-
}, C = (t) => (...o) => f.asap(() => t(...o));
|
|
1
|
+
import i from "./index291.js";
|
|
2
|
+
import m from "./index295.js";
|
|
3
|
+
import s from "./index305.js";
|
|
4
|
+
function h(f, t) {
|
|
5
|
+
const o = this || m, r = t || o, n = s.from(r.headers);
|
|
6
|
+
let a = r.data;
|
|
7
|
+
return i.forEach(f, function(e) {
|
|
8
|
+
a = e.call(o, a, n.normalize(), t ? t.status : void 0);
|
|
9
|
+
}), n.normalize(), a;
|
|
10
|
+
}
|
|
31
11
|
export {
|
|
32
|
-
|
|
33
|
-
v as progressEventDecorator,
|
|
34
|
-
h as progressEventReducer
|
|
12
|
+
h as default
|
|
35
13
|
};
|
package/dist/index382.js
CHANGED
|
@@ -1,33 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import h from "./index394.js";
|
|
5
|
-
import w from "./index363.js";
|
|
6
|
-
import b from "./index308.js";
|
|
7
|
-
import C from "./index319.js";
|
|
8
|
-
import g from "./index360.js";
|
|
9
|
-
const E = (a) => {
|
|
10
|
-
const e = b({}, a);
|
|
11
|
-
let { data: i, withXSRFToken: r, xsrfHeaderName: f, xsrfCookieName: d, headers: o, auth: s } = e;
|
|
12
|
-
if (e.headers = o = C.from(o), e.url = g(w(e.baseURL, e.url, e.allowAbsoluteUrls), a.params, a.paramsSerializer), s && o.set(
|
|
13
|
-
"Authorization",
|
|
14
|
-
"Basic " + btoa((s.username || "") + ":" + (s.password ? unescape(encodeURIComponent(s.password)) : ""))
|
|
15
|
-
), m.isFormData(i)) {
|
|
16
|
-
if (n.hasStandardBrowserEnv || n.hasStandardBrowserWebWorkerEnv)
|
|
17
|
-
o.setContentType(void 0);
|
|
18
|
-
else if (m.isFunction(i.getHeaders)) {
|
|
19
|
-
const t = i.getHeaders(), u = ["content-type", "content-length"];
|
|
20
|
-
Object.entries(t).forEach(([l, p]) => {
|
|
21
|
-
u.includes(l.toLowerCase()) && o.set(l, p);
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
if (n.hasStandardBrowserEnv && (r && m.isFunction(r) && (r = r(e)), r || r !== !1 && c(e.url))) {
|
|
26
|
-
const t = f && d && h.read(d);
|
|
27
|
-
t && o.set(f, t);
|
|
28
|
-
}
|
|
29
|
-
return e;
|
|
30
|
-
};
|
|
1
|
+
function e(t) {
|
|
2
|
+
return typeof t != "string" ? !1 : /^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);
|
|
3
|
+
}
|
|
31
4
|
export {
|
|
32
|
-
|
|
5
|
+
e as default
|
|
33
6
|
};
|