@quoreadmin/ui 1.10.25 → 1.10.27
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/index10.js +209 -180
- package/dist/index149.js +11 -5
- package/dist/index15.js +26 -26
- package/dist/index16.js +32 -22
- package/dist/index182.js +14 -14
- package/dist/index183.js +3 -3
- package/dist/index186.js +4 -4
- package/dist/index193.js +2 -2
- package/dist/index195.js +9 -9
- package/dist/index198.js +17 -17
- package/dist/index201.js +25 -25
- 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 +29 -84
- package/dist/index214.js +109 -400
- package/dist/index215.js +36 -22
- package/dist/index216.js +26 -33
- package/dist/index217.js +31 -111
- package/dist/index218.js +50 -35
- package/dist/index219.js +43 -26
- package/dist/index220.js +3 -35
- package/dist/index221.js +9 -51
- package/dist/index222.js +18 -42
- package/dist/index223.js +10 -4
- package/dist/index224.js +10 -9
- package/dist/index225.js +38 -18
- package/dist/index226.js +21 -10
- package/dist/index227.js +88 -10
- package/dist/index228.js +403 -35
- package/dist/index229.js +22 -21
- package/dist/index230.js +4 -4
- package/dist/index231.js +1 -1
- package/dist/index232.js +1 -1
- package/dist/index233.js +1 -1
- package/dist/index234.js +7 -7
- package/dist/index235.js +2 -2
- package/dist/index236.js +1 -1
- package/dist/index237.js +2 -2
- package/dist/index238.js +126 -21
- package/dist/index239.js +37 -21
- package/dist/index240.js +80 -20
- package/dist/index241.js +20 -836
- package/dist/index242.js +19 -701
- package/dist/index243.js +19 -175
- package/dist/index244.js +11 -11
- package/dist/index245.js +160 -19
- package/dist/index246.js +228 -22
- package/dist/index247.js +36 -19
- package/dist/index248.js +10 -20
- package/dist/index249.js +22 -3
- package/dist/index250.js +21 -186
- package/dist/index251.js +19 -132
- package/dist/index252.js +744 -1131
- package/dist/index253.js +679 -104
- package/dist/index254.js +176 -20
- package/dist/index255.js +11 -11
- package/dist/index256.js +13 -15
- package/dist/index257.js +19 -37
- package/dist/index258.js +3 -29
- package/dist/index259.js +186 -19
- package/dist/index260.js +131 -18
- package/dist/index261.js +1223 -2
- package/dist/index262.js +20 -2
- package/dist/index263.js +22 -3709
- package/dist/index264.js +22 -60
- package/dist/index265.js +29 -83
- package/dist/index266.js +20 -52
- package/dist/index267.js +20 -215
- package/dist/index268.js +2 -10
- package/dist/index269.js +2 -57
- package/dist/index270.js +241 -49
- package/dist/index271.js +7 -53
- package/dist/index272.js +133 -76
- package/dist/index273.js +74 -719
- package/dist/index274.js +51 -44
- package/dist/index275.js +77 -62
- package/dist/index276.js +26 -11
- package/dist/index277.js +22 -705
- package/dist/index278.js +22 -820
- package/dist/index279.js +16 -253
- package/dist/index280.js +16 -7
- package/dist/index281.js +22 -137
- package/dist/index282.js +3 -83
- package/dist/index283.js +26 -53
- package/dist/index284.js +3692 -62
- package/dist/index285.js +60 -26
- package/dist/index286.js +83 -22
- package/dist/index287.js +52 -22
- package/dist/index288.js +214 -15
- package/dist/index289.js +9 -16
- package/dist/index290.js +55 -21
- package/dist/index291.js +60 -79
- package/dist/index292.js +54 -20
- package/dist/index293.js +81 -20
- package/dist/index294.js +722 -155
- package/dist/index295.js +44 -225
- package/dist/index296.js +64 -37
- package/dist/index297.js +11 -10
- package/dist/index298.js +705 -3
- package/dist/index299.js +814 -21
- package/dist/index300.js +2 -265
- package/dist/index301.js +78 -5
- package/dist/index302.js +21 -149
- package/dist/index303.js +929 -63
- package/dist/index304.js +21 -90
- package/dist/index305.js +19 -28
- package/dist/index306.js +19 -15
- package/dist/index307.js +67 -73
- package/dist/index308.js +19 -4
- package/dist/index309.js +19 -2
- package/dist/index310.js +21 -83
- package/dist/index311.js +21 -57
- package/dist/index312.js +63 -6
- package/dist/index313.js +264 -4
- package/dist/index314.js +5 -185
- package/dist/index315.js +143 -56
- package/dist/index316.js +69 -75
- package/dist/index317.js +82 -1525
- package/dist/index318.js +26 -383
- package/dist/index319.js +13 -2728
- package/dist/index320.js +72 -83
- package/dist/index321.js +3 -3797
- package/dist/index322.js +2 -60
- package/dist/index323.js +84 -15
- package/dist/index324.js +56 -82
- package/dist/index325.js +4 -200
- package/dist/index326.js +4 -245
- package/dist/index327.js +181 -74
- package/dist/index328.js +62 -21
- package/dist/index329.js +74 -934
- package/dist/index330.js +36 -21
- package/dist/index331.js +8 -19
- package/dist/index332.js +12 -19
- package/dist/index333.js +54 -68
- package/dist/index334.js +12 -19
- package/dist/index335.js +14 -19
- package/dist/index336.js +57 -21
- package/dist/index337.js +51 -21
- package/dist/index338.js +31 -63
- package/dist/index339.js +2 -2
- package/dist/index340.js +5 -37
- package/dist/index341.js +2 -9
- package/dist/index342.js +23 -13
- package/dist/index343.js +38 -52
- package/dist/index344.js +2 -12
- package/dist/index345.js +11 -14
- package/dist/index346.js +16 -54
- package/dist/index347.js +10 -52
- package/dist/index348.js +10 -31
- package/dist/index349.js +17 -2
- package/dist/index350.js +2 -5
- package/dist/index351.js +9 -2
- package/dist/index352.js +10 -23
- package/dist/index353.js +12 -39
- package/dist/index354.js +1534 -2
- package/dist/index355.js +384 -9
- package/dist/index356.js +2727 -16
- package/dist/index357.js +86 -10
- package/dist/index358.js +3797 -9
- package/dist/index359.js +58 -15
- package/dist/index360.js +15 -2
- package/dist/index361.js +84 -9
- package/dist/index362.js +201 -9
- package/dist/index363.js +245 -13
- package/dist/index364.js +19 -18
- package/dist/index365.js +19 -56
- package/dist/index366.js +61 -22
- package/dist/index367.js +37 -7
- package/dist/index368.js +16 -52
- package/dist/index369.js +57 -7
- package/dist/index370.js +23 -10
- package/dist/index371.js +7 -7
- package/dist/index372.js +54 -27
- package/dist/index373.js +7 -2
- package/dist/index374.js +11 -81
- package/dist/index375.js +6 -179
- package/dist/index376.js +28 -20
- package/dist/index377.js +2 -20
- package/dist/index378.js +79 -61
- package/dist/index379.js +179 -36
- package/dist/index38.js +2 -2
- package/dist/index380.js +17 -31
- package/dist/index381.js +30 -10
- package/dist/index382.js +10 -3
- package/dist/index383.js +3 -3
- package/dist/index384.js +4 -13
- package/dist/index385.js +13 -7
- package/dist/index386.js +7 -14
- package/dist/index387.js +13 -4
- package/dist/index388.js +5 -36
- package/dist/index389.js +36 -37
- package/dist/index390.js +35 -28
- package/dist/index391.js +28 -62
- package/dist/index392.js +62 -96
- package/dist/index393.js +100 -16
- package/dist/index394.js +90 -100
- package/dist/index395.js +98 -91
- package/dist/index396.js +1 -1
- package/dist/index401.js +1 -1
- package/dist/index402.js +2 -2
- package/dist/index79.js +218 -129
- package/dist/src/components/calendar/calendar.d.ts +18 -1
- package/package.json +1 -1
- package/src/assets/illustrations/pending-to-do.png +0 -0
package/dist/index380.js
CHANGED
|
@@ -1,33 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
+
import n from "./index272.js";
|
|
2
|
+
var l = {
|
|
3
|
+
root: function(e) {
|
|
4
|
+
var i = e.instance, t = e.props;
|
|
5
|
+
return ["p-inputtext p-component", {
|
|
6
|
+
"p-filled": i.filled,
|
|
7
|
+
"p-inputtext-sm": t.size === "small",
|
|
8
|
+
"p-inputtext-lg": t.size === "large",
|
|
9
|
+
"p-invalid": t.invalid,
|
|
10
|
+
"p-variant-filled": t.variant ? t.variant === "filled" : i.$primevue.config.inputStyle === "filled"
|
|
11
|
+
}];
|
|
12
|
+
}
|
|
13
|
+
}, r = n.extend({
|
|
14
|
+
name: "inputtext",
|
|
15
|
+
classes: l
|
|
16
|
+
});
|
|
31
17
|
export {
|
|
32
|
-
|
|
18
|
+
r as default
|
|
33
19
|
};
|
package/dist/index381.js
CHANGED
|
@@ -1,13 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import p from "./index323.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
|
+
});
|
|
10
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
|
+
};
|
|
11
31
|
export {
|
|
12
|
-
|
|
32
|
+
a as default
|
|
13
33
|
};
|
package/dist/index382.js
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import i from "./index313.js";
|
|
2
|
+
import m from "./index317.js";
|
|
3
|
+
import s from "./index327.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;
|
|
3
10
|
}
|
|
4
11
|
export {
|
|
5
|
-
|
|
12
|
+
h as default
|
|
6
13
|
};
|
package/dist/index383.js
CHANGED
package/dist/index384.js
CHANGED
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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
|
-
};
|
|
1
|
+
function n(e, c) {
|
|
2
|
+
return c ? e.replace(/\/?\/$/, "") + "/" + c.replace(/^\/+/, "") : e;
|
|
3
|
+
}
|
|
13
4
|
export {
|
|
14
|
-
|
|
5
|
+
n as default
|
|
15
6
|
};
|
package/dist/index385.js
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import o from "./index396.js";
|
|
2
|
+
import r from "./index397.js";
|
|
3
|
+
import t from "./index398.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
|
+
};
|
|
3
13
|
export {
|
|
4
|
-
|
|
5
|
-
n as hasStandardBrowserEnv,
|
|
6
|
-
t as hasStandardBrowserWebWorkerEnv,
|
|
7
|
-
o as navigator,
|
|
8
|
-
r as origin
|
|
14
|
+
l as default
|
|
9
15
|
};
|
package/dist/index386.js
CHANGED
|
@@ -1,16 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const u = t.config.validateStatus;
|
|
4
|
-
!t.status || !u || u(t.status) ? i(t) : f(
|
|
5
|
-
new a(
|
|
6
|
-
"Request failed with status code " + t.status,
|
|
7
|
-
[a.ERR_BAD_REQUEST, a.ERR_BAD_RESPONSE][Math.floor(t.status / 100) - 4],
|
|
8
|
-
t.config,
|
|
9
|
-
t.request,
|
|
10
|
-
t
|
|
11
|
-
)
|
|
12
|
-
);
|
|
13
|
-
}
|
|
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";
|
|
14
3
|
export {
|
|
15
|
-
|
|
4
|
+
e as hasBrowserEnv,
|
|
5
|
+
n as hasStandardBrowserEnv,
|
|
6
|
+
t as hasStandardBrowserWebWorkerEnv,
|
|
7
|
+
o as navigator,
|
|
8
|
+
r as origin
|
|
16
9
|
};
|
package/dist/index387.js
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import a from "./index324.js";
|
|
2
|
+
function E(i, f, t) {
|
|
3
|
+
const u = t.config.validateStatus;
|
|
4
|
+
!t.status || !u || u(t.status) ? i(t) : f(
|
|
5
|
+
new a(
|
|
6
|
+
"Request failed with status code " + t.status,
|
|
7
|
+
[a.ERR_BAD_REQUEST, a.ERR_BAD_RESPONSE][Math.floor(t.status / 100) - 4],
|
|
8
|
+
t.config,
|
|
9
|
+
t.request,
|
|
10
|
+
t
|
|
11
|
+
)
|
|
12
|
+
);
|
|
4
13
|
}
|
|
5
14
|
export {
|
|
6
|
-
|
|
15
|
+
E as default
|
|
7
16
|
};
|
package/dist/index388.js
CHANGED
|
@@ -1,38 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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 [
|
|
26
|
-
(r) => o[0]({
|
|
27
|
-
lengthComputable: a,
|
|
28
|
-
total: t,
|
|
29
|
-
loaded: r
|
|
30
|
-
}),
|
|
31
|
-
o[1]
|
|
32
|
-
];
|
|
33
|
-
}, C = (t) => (...o) => f.asap(() => t(...o));
|
|
1
|
+
function o(e) {
|
|
2
|
+
const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
|
|
3
|
+
return t && t[1] || "";
|
|
4
|
+
}
|
|
34
5
|
export {
|
|
35
|
-
|
|
36
|
-
v as progressEventDecorator,
|
|
37
|
-
h as progressEventReducer
|
|
6
|
+
o as default
|
|
38
7
|
};
|
package/dist/index389.js
CHANGED
|
@@ -1,39 +1,38 @@
|
|
|
1
|
-
import
|
|
2
|
-
import m from "./
|
|
3
|
-
import
|
|
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
|
-
|
|
34
|
-
}
|
|
35
|
-
return e;
|
|
36
|
-
};
|
|
1
|
+
import i from "./index399.js";
|
|
2
|
+
import m from "./index400.js";
|
|
3
|
+
import f from "./index313.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 [
|
|
26
|
+
(r) => o[0]({
|
|
27
|
+
lengthComputable: a,
|
|
28
|
+
total: t,
|
|
29
|
+
loaded: r
|
|
30
|
+
}),
|
|
31
|
+
o[1]
|
|
32
|
+
];
|
|
33
|
+
}, C = (t) => (...o) => f.asap(() => t(...o));
|
|
37
34
|
export {
|
|
38
|
-
|
|
35
|
+
C as asyncDecorator,
|
|
36
|
+
v as progressEventDecorator,
|
|
37
|
+
h as progressEventReducer
|
|
39
38
|
};
|
package/dist/index390.js
CHANGED
|
@@ -1,32 +1,39 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
1
|
+
import n from "./index375.js";
|
|
2
|
+
import m from "./index313.js";
|
|
3
|
+
import c from "./index401.js";
|
|
4
|
+
import h from "./index402.js";
|
|
5
|
+
import w from "./index371.js";
|
|
6
|
+
import b from "./index316.js";
|
|
7
|
+
import C from "./index327.js";
|
|
8
|
+
import g from "./index368.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(
|
|
13
|
+
w(e.baseURL, e.url, e.allowAbsoluteUrls),
|
|
14
|
+
a.params,
|
|
15
|
+
a.paramsSerializer
|
|
16
|
+
), s && o.set(
|
|
17
|
+
"Authorization",
|
|
18
|
+
"Basic " + btoa(
|
|
19
|
+
(s.username || "") + ":" + (s.password ? unescape(encodeURIComponent(s.password)) : "")
|
|
20
|
+
)
|
|
21
|
+
), m.isFormData(i)) {
|
|
22
|
+
if (n.hasStandardBrowserEnv || n.hasStandardBrowserWebWorkerEnv)
|
|
23
|
+
o.setContentType(void 0);
|
|
24
|
+
else if (m.isFunction(i.getHeaders)) {
|
|
25
|
+
const t = i.getHeaders(), u = ["content-type", "content-length"];
|
|
26
|
+
Object.entries(t).forEach(([l, p]) => {
|
|
27
|
+
u.includes(l.toLowerCase()) && o.set(l, p);
|
|
28
|
+
});
|
|
29
|
+
}
|
|
28
30
|
}
|
|
31
|
+
if (n.hasStandardBrowserEnv && (r && m.isFunction(r) && (r = r(e)), r || r !== !1 && c(e.url))) {
|
|
32
|
+
const t = f && d && h.read(d);
|
|
33
|
+
t && o.set(f, t);
|
|
34
|
+
}
|
|
35
|
+
return e;
|
|
29
36
|
};
|
|
30
37
|
export {
|
|
31
|
-
|
|
38
|
+
E as default
|
|
32
39
|
};
|
package/dist/index391.js
CHANGED
|
@@ -1,66 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
{
|
|
36
|
-
async pull(l) {
|
|
37
|
-
try {
|
|
38
|
-
const { done: i, value: y } = await r.next();
|
|
39
|
-
if (i) {
|
|
40
|
-
c(), l.close();
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
let s = y.byteLength;
|
|
44
|
-
if (n) {
|
|
45
|
-
let u = d += s;
|
|
46
|
-
n(u);
|
|
47
|
-
}
|
|
48
|
-
l.enqueue(new Uint8Array(y));
|
|
49
|
-
} catch (i) {
|
|
50
|
-
throw c(i), i;
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
cancel(l) {
|
|
54
|
-
return c(l), r.return();
|
|
1
|
+
import a from "./index319.js";
|
|
2
|
+
import s from "./index324.js";
|
|
3
|
+
import m from "./index313.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(
|
|
13
|
+
o instanceof s ? o : new a(o instanceof Error ? o.message : o)
|
|
14
|
+
);
|
|
55
15
|
}
|
|
56
|
-
}
|
|
57
|
-
{
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
|
|
16
|
+
};
|
|
17
|
+
let c = t && setTimeout(() => {
|
|
18
|
+
c = null, n(new s(`timeout of ${t}ms exceeded`, s.ETIMEDOUT));
|
|
19
|
+
}, t);
|
|
20
|
+
const i = () => {
|
|
21
|
+
e && (c && clearTimeout(c), c = null, e.forEach((r) => {
|
|
22
|
+
r.unsubscribe ? r.unsubscribe(n) : r.removeEventListener("abort", n);
|
|
23
|
+
}), e = null);
|
|
24
|
+
};
|
|
25
|
+
e.forEach((r) => r.addEventListener("abort", n));
|
|
26
|
+
const { signal: b } = u;
|
|
27
|
+
return b.unsubscribe = () => m.asap(i), b;
|
|
28
|
+
}
|
|
61
29
|
};
|
|
62
30
|
export {
|
|
63
|
-
|
|
64
|
-
f as streamChunk,
|
|
65
|
-
h as trackStream
|
|
31
|
+
h as default
|
|
66
32
|
};
|