@quoreadmin/ui 1.10.27 → 1.10.29

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.
Files changed (197) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index103.js +11 -6
  3. package/dist/index147.js +2 -2
  4. package/dist/index149.js +1 -1
  5. package/dist/index151.js +4 -4
  6. package/dist/index157.js +160 -160
  7. package/dist/index165.js +1 -1
  8. package/dist/index169.js +7 -7
  9. package/dist/index197.js +1228 -36
  10. package/dist/index199.js +5816 -1106
  11. package/dist/index200.js +209 -0
  12. package/dist/index201.js +19 -5922
  13. package/dist/index202.js +10 -199
  14. package/dist/index203.js +76 -33
  15. package/dist/index204.js +249 -14
  16. package/dist/index205.js +13678 -72
  17. package/dist/index206.js +27 -253
  18. package/dist/index207.js +48 -13669
  19. package/dist/index208.js +236 -25
  20. package/dist/index209.js +293 -45
  21. package/dist/index210.js +238 -179
  22. package/dist/index211.js +36 -311
  23. package/dist/index212.js +43 -296
  24. package/dist/index216.js +2 -2
  25. package/dist/index217.js +1 -1
  26. package/dist/index219.js +4 -4
  27. package/dist/index221.js +1 -1
  28. package/dist/index222.js +1 -1
  29. package/dist/index223.js +1 -1
  30. package/dist/index224.js +4 -4
  31. package/dist/index226.js +1 -1
  32. package/dist/index227.js +2 -2
  33. package/dist/index228.js +2 -2
  34. package/dist/index229.js +1 -1
  35. package/dist/index23.js +47 -27
  36. package/dist/index230.js +1 -1
  37. package/dist/index231.js +1 -1
  38. package/dist/index232.js +1 -1
  39. package/dist/index233.js +1 -1
  40. package/dist/index234.js +4 -4
  41. package/dist/index235.js +1 -1
  42. package/dist/index236.js +1 -1
  43. package/dist/index237.js +1 -1
  44. package/dist/index238.js +1 -1
  45. package/dist/index240.js +1 -1
  46. package/dist/index241.js +1 -1
  47. package/dist/index242.js +1 -1
  48. package/dist/index243.js +1 -1
  49. package/dist/index244.js +1 -1
  50. package/dist/index249.js +1 -1
  51. package/dist/index250.js +1 -1
  52. package/dist/index251.js +1 -1
  53. package/dist/index252.js +6 -6
  54. package/dist/index253.js +1 -1
  55. package/dist/index254.js +1 -1
  56. package/dist/index255.js +1 -1
  57. package/dist/index256.js +1 -1
  58. package/dist/index257.js +1 -1
  59. package/dist/index259.js +1 -1
  60. package/dist/index260.js +1 -1
  61. package/dist/index261.js +3 -3
  62. package/dist/index262.js +1 -1
  63. package/dist/index263.js +1 -1
  64. package/dist/index264.js +1 -1
  65. package/dist/index265.js +1 -1
  66. package/dist/index266.js +1 -1
  67. package/dist/index267.js +1 -1
  68. package/dist/index270.js +3673 -217
  69. package/dist/index271.js +59 -7
  70. package/dist/index272.js +78 -133
  71. package/dist/index273.js +51 -82
  72. package/dist/index274.js +213 -52
  73. package/dist/index275.js +10 -79
  74. package/dist/index276.js +57 -26
  75. package/dist/index277.js +61 -22
  76. package/dist/index278.js +54 -22
  77. package/dist/index279.js +79 -14
  78. package/dist/index280.js +727 -16
  79. package/dist/index281.js +45 -21
  80. package/dist/index282.js +64 -3
  81. package/dist/index283.js +11 -27
  82. package/dist/index284.js +637 -3641
  83. package/dist/index285.js +819 -59
  84. package/dist/index286.js +242 -72
  85. package/dist/index287.js +7 -51
  86. package/dist/index288.js +132 -209
  87. package/dist/index289.js +83 -10
  88. package/dist/index290.js +51 -54
  89. package/dist/index291.js +77 -59
  90. package/dist/index292.js +26 -54
  91. package/dist/index293.js +22 -81
  92. package/dist/index294.js +21 -727
  93. package/dist/index295.js +14 -45
  94. package/dist/index296.js +15 -62
  95. package/dist/index297.js +22 -10
  96. package/dist/index298.js +3 -705
  97. package/dist/index299.js +21 -814
  98. package/dist/index301.js +1534 -79
  99. package/dist/index302.js +386 -22
  100. package/dist/index303.js +2698 -902
  101. package/dist/index304.js +85 -21
  102. package/dist/index305.js +3798 -20
  103. package/dist/index306.js +59 -19
  104. package/dist/index307.js +77 -67
  105. package/dist/index308.js +21 -18
  106. package/dist/index309.js +934 -18
  107. package/dist/index310.js +16 -16
  108. package/dist/index311.js +11 -13
  109. package/dist/index312.js +19 -62
  110. package/dist/index313.js +67 -263
  111. package/dist/index314.js +19 -6
  112. package/dist/index315.js +18 -149
  113. package/dist/index316.js +21 -68
  114. package/dist/index317.js +20 -89
  115. package/dist/index318.js +63 -29
  116. package/dist/index319.js +15 -16
  117. package/dist/index320.js +74 -65
  118. package/dist/index321.js +201 -3
  119. package/dist/index322.js +246 -2
  120. package/dist/index323.js +227 -76
  121. package/dist/index324.js +5 -57
  122. package/dist/index325.js +133 -5
  123. package/dist/index326.js +67 -4
  124. package/dist/index327.js +79 -178
  125. package/dist/index328.js +26 -60
  126. package/dist/index329.js +8 -74
  127. package/dist/index330.js +73 -35
  128. package/dist/index331.js +3 -8
  129. package/dist/index332.js +2 -13
  130. package/dist/index333.js +78 -50
  131. package/dist/index334.js +53 -11
  132. package/dist/index335.js +4 -12
  133. package/dist/index336.js +4 -57
  134. package/dist/index337.js +175 -48
  135. package/dist/index338.js +60 -28
  136. package/dist/index339.js +75 -2
  137. package/dist/index340.js +37 -5
  138. package/dist/index341.js +9 -2
  139. package/dist/index342.js +13 -23
  140. package/dist/index343.js +52 -38
  141. package/dist/index344.js +12 -2
  142. package/dist/index345.js +14 -11
  143. package/dist/index346.js +54 -16
  144. package/dist/index347.js +52 -10
  145. package/dist/index348.js +31 -10
  146. package/dist/index349.js +2 -17
  147. package/dist/index350.js +5 -2
  148. package/dist/index351.js +2 -9
  149. package/dist/index352.js +23 -10
  150. package/dist/index353.js +39 -12
  151. package/dist/index354.js +2 -1534
  152. package/dist/index355.js +9 -384
  153. package/dist/index356.js +16 -2727
  154. package/dist/index357.js +10 -86
  155. package/dist/index358.js +9 -3797
  156. package/dist/index359.js +15 -58
  157. package/dist/index360.js +2 -15
  158. package/dist/index361.js +9 -84
  159. package/dist/index362.js +9 -201
  160. package/dist/index363.js +13 -245
  161. package/dist/index364.js +1 -1
  162. package/dist/index365.js +1 -1
  163. package/dist/index367.js +1 -1
  164. package/dist/index368.js +14 -12
  165. package/dist/index369.js +1 -2
  166. package/dist/index370.js +22 -18
  167. package/dist/index371.js +2 -2
  168. package/dist/index372.js +3 -6
  169. package/dist/index373.js +3 -4
  170. package/dist/index374.js +2 -2
  171. package/dist/index375.js +2 -2
  172. package/dist/index376.js +1 -1
  173. package/dist/index378.js +20 -32
  174. package/dist/index379.js +45 -58
  175. package/dist/index380.js +1 -1
  176. package/dist/index381.js +98 -28
  177. package/dist/index382.js +90 -10
  178. package/dist/index383.js +98 -4
  179. package/dist/index384.js +30 -3
  180. package/dist/index385.js +11 -13
  181. package/dist/index386.js +4 -7
  182. package/dist/index387.js +3 -13
  183. package/dist/index388.js +13 -5
  184. package/dist/index389.js +7 -36
  185. package/dist/index390.js +11 -36
  186. package/dist/index391.js +5 -30
  187. package/dist/index392.js +33 -64
  188. package/dist/index393.js +29 -99
  189. package/dist/index394.js +28 -91
  190. package/dist/index395.js +59 -96
  191. package/dist/index396.js +1 -1
  192. package/dist/index402.js +1 -1
  193. package/dist/index50.js +1 -1
  194. package/dist/src/components/event/event.d.ts +12 -0
  195. package/dist/src/components/event/event.stories.d.ts +2 -0
  196. package/package.json +2 -2
  197. package/dist/index198.js +0 -46
package/dist/index368.js CHANGED
@@ -1,18 +1,20 @@
1
- import a from "./index313.js";
2
- import f from "./index381.js";
3
- function d(e) {
1
+ import f from "./index323.js";
2
+ import d from "./index384.js";
3
+ function l(e) {
4
4
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
5
5
  }
6
- function m(e, i, n) {
7
- if (!i)
6
+ function m(e, c, i) {
7
+ if (!c)
8
8
  return e;
9
- const s = n && n.encode || d, c = a.isFunction(n) ? {
10
- serialize: n
11
- } : n, r = c && c.serialize;
12
- let t;
13
- if (r ? t = r(i, c) : t = a.isURLSearchParams(i) ? i.toString() : new f(i, c).toString(s), t) {
14
- const o = e.indexOf("#");
15
- o !== -1 && (e = e.slice(0, o)), e += (e.indexOf("?") === -1 ? "?" : "&") + t;
9
+ const t = i && i.encode || l;
10
+ f.isFunction(i) && (i = {
11
+ serialize: i
12
+ });
13
+ const r = i && i.serialize;
14
+ let n;
15
+ if (r ? n = r(c, i) : n = f.isURLSearchParams(c) ? c.toString() : new d(c, i).toString(t), n) {
16
+ const a = e.indexOf("#");
17
+ a !== -1 && (e = e.slice(0, a)), e += (e.indexOf("?") === -1 ? "?" : "&") + n;
16
18
  }
17
19
  return e;
18
20
  }
package/dist/index369.js CHANGED
@@ -1,4 +1,4 @@
1
- import n from "./index313.js";
1
+ import n from "./index323.js";
2
2
  class a {
3
3
  constructor() {
4
4
  this.handlers = [];
@@ -8,7 +8,6 @@ class a {
8
8
  *
9
9
  * @param {Function} fulfilled The function to handle `then` for a `Promise`
10
10
  * @param {Function} rejected The function to handle `reject` for a `Promise`
11
- * @param {Object} options The options for the interceptor, synchronous and runWhen
12
11
  *
13
12
  * @return {Number} An ID used to remove interceptor later
14
13
  */
package/dist/index370.js CHANGED
@@ -1,26 +1,30 @@
1
- import r from "./index382.js";
2
- import p from "./index321.js";
3
- import l from "./index317.js";
4
- import m from "./index319.js";
5
- import a from "./index327.js";
6
- import o from "./index328.js";
1
+ import r from "./index385.js";
2
+ import p from "./index331.js";
3
+ import l from "./index327.js";
4
+ import m from "./index329.js";
5
+ import a from "./index337.js";
6
+ import o from "./index338.js";
7
7
  function d(e) {
8
8
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
9
9
  throw new m(null, e);
10
10
  }
11
11
  function q(e) {
12
- return d(e), e.headers = a.from(e.headers), e.data = r.call(e, e.transformRequest), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), o.getAdapter(e.adapter || l.adapter, e)(e).then(
13
- function(t) {
14
- return d(e), t.data = r.call(e, e.transformResponse, t), t.headers = a.from(t.headers), t;
15
- },
16
- function(t) {
17
- return p(t) || (d(e), t && t.response && (t.response.data = r.call(
18
- e,
19
- e.transformResponse,
20
- t.response
21
- ), t.response.headers = a.from(t.response.headers))), Promise.reject(t);
22
- }
23
- );
12
+ return d(e), e.headers = a.from(e.headers), e.data = r.call(
13
+ e,
14
+ e.transformRequest
15
+ ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), o.getAdapter(e.adapter || l.adapter, e)(e).then(function(t) {
16
+ return d(e), t.data = r.call(
17
+ e,
18
+ e.transformResponse,
19
+ t
20
+ ), t.headers = a.from(t.headers), t;
21
+ }, function(t) {
22
+ return p(t) || (d(e), t && t.response && (t.response.data = r.call(
23
+ e,
24
+ e.transformResponse,
25
+ t.response
26
+ ), t.response.headers = a.from(t.response.headers))), Promise.reject(t);
27
+ });
24
28
  }
25
29
  export {
26
30
  q as default
package/dist/index371.js CHANGED
@@ -1,5 +1,5 @@
1
- import r from "./index383.js";
2
- import f from "./index384.js";
1
+ import r from "./index386.js";
2
+ import f from "./index387.js";
3
3
  function u(l, i, t) {
4
4
  let o = !r(i);
5
5
  return l && (o || t == !1) ? f(l, i) : i;
package/dist/index372.js CHANGED
@@ -1,5 +1,5 @@
1
- import { VERSION as w } from "./index322.js";
2
- import s from "./index324.js";
1
+ import { VERSION as w } from "./index332.js";
2
+ import s from "./index334.js";
3
3
  const l = {};
4
4
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((n, t) => {
5
5
  l[n] = function(o) {
@@ -38,10 +38,7 @@ function b(n, t, i) {
38
38
  if (e) {
39
39
  const u = n[r], c = u === void 0 || e(u, r, n);
40
40
  if (c !== !0)
41
- throw new s(
42
- "option " + r + " must be " + c,
43
- s.ERR_BAD_OPTION_VALUE
44
- );
41
+ throw new s("option " + r + " must be " + c, s.ERR_BAD_OPTION_VALUE);
45
42
  continue;
46
43
  }
47
44
  if (i !== !0)
package/dist/index373.js CHANGED
@@ -1,9 +1,8 @@
1
- const e = {
1
+ const r = {
2
2
  silentJSONParsing: !0,
3
3
  forcedJSONParsing: !0,
4
- clarifyTimeoutError: !1,
5
- legacyInterceptorReqResOrdering: !0
4
+ clarifyTimeoutError: !1
6
5
  };
7
6
  export {
8
- e as default
7
+ r as default
9
8
  };
package/dist/index374.js CHANGED
@@ -1,5 +1,5 @@
1
- import s from "./index313.js";
2
- import f from "./index323.js";
1
+ import s from "./index323.js";
2
+ import f from "./index333.js";
3
3
  import r from "./index375.js";
4
4
  function d(o, i) {
5
5
  return f(o, new r.classes.URLSearchParams(), {
package/dist/index375.js CHANGED
@@ -1,5 +1,5 @@
1
- import o from "./index385.js";
2
- import * as t from "./index386.js";
1
+ import o from "./index388.js";
2
+ import * as t from "./index389.js";
3
3
  const m = {
4
4
  ...t,
5
5
  ...o
package/dist/index376.js CHANGED
@@ -1,4 +1,4 @@
1
- import n from "./index313.js";
1
+ import n from "./index323.js";
2
2
  const a = n.toObjectSet([
3
3
  "age",
4
4
  "authorization",
package/dist/index378.js CHANGED
@@ -1,13 +1,13 @@
1
- import H from "./index313.js";
2
- import D from "./index387.js";
1
+ import H from "./index323.js";
2
+ import D from "./index390.js";
3
3
  import L from "./index373.js";
4
- import n from "./index324.js";
5
- import y from "./index319.js";
6
- import O from "./index388.js";
4
+ import n from "./index334.js";
5
+ import y from "./index329.js";
6
+ import O from "./index391.js";
7
7
  import U from "./index375.js";
8
- import q from "./index327.js";
9
- import { progressEventReducer as A } from "./index389.js";
10
- import v from "./index390.js";
8
+ import q from "./index337.js";
9
+ import { progressEventReducer as A } from "./index392.js";
10
+ import v from "./index393.js";
11
11
  const N = typeof XMLHttpRequest < "u", Q = N && function(s) {
12
12
  return new Promise(function(C, i) {
13
13
  const t = v(s);
@@ -32,15 +32,11 @@ const N = typeof XMLHttpRequest < "u", Q = N && function(s) {
32
32
  config: s,
33
33
  request: e
34
34
  };
35
- D(
36
- function(c) {
37
- C(c), x();
38
- },
39
- function(c) {
40
- i(c), x();
41
- },
42
- a
43
- ), e = null;
35
+ D(function(c) {
36
+ C(c), x();
37
+ }, function(c) {
38
+ i(c), x();
39
+ }, a), e = null;
44
40
  }
45
41
  "onloadend" in e ? e.onloadend = b : e.onreadystatechange = function() {
46
42
  !e || e.readyState !== 4 || e.status === 0 && !(e.responseURL && e.responseURL.indexOf("file:") === 0) || setTimeout(b);
@@ -52,14 +48,12 @@ const N = typeof XMLHttpRequest < "u", Q = N && function(s) {
52
48
  }, e.ontimeout = function() {
53
49
  let r = t.timeout ? "timeout of " + t.timeout + "ms exceeded" : "timeout exceeded";
54
50
  const a = t.transitional || L;
55
- t.timeoutErrorMessage && (r = t.timeoutErrorMessage), i(
56
- new n(
57
- r,
58
- a.clarifyTimeoutError ? n.ETIMEDOUT : n.ECONNABORTED,
59
- s,
60
- e
61
- )
62
- ), e = null;
51
+ t.timeoutErrorMessage && (r = t.timeoutErrorMessage), i(new n(
52
+ r,
53
+ a.clarifyTimeoutError ? n.ETIMEDOUT : n.ECONNABORTED,
54
+ s,
55
+ e
56
+ )), e = null;
63
57
  }, E === void 0 && T.setContentType(null), "setRequestHeader" in e && H.forEach(T.toJSON(), function(r, a) {
64
58
  e.setRequestHeader(a, r);
65
59
  }), H.isUndefined(t.withCredentials) || (e.withCredentials = !!t.withCredentials), d && d !== "json" && (e.responseType = t.responseType), h && ([w, f] = A(h, !0), e.addEventListener("progress", w)), R && e.upload && ([g, u] = A(R), e.upload.addEventListener("progress", g), e.upload.addEventListener("loadend", u)), (t.cancelToken || t.signal) && (l = (o) => {
@@ -67,13 +61,7 @@ const N = typeof XMLHttpRequest < "u", Q = N && function(s) {
67
61
  }, t.cancelToken && t.cancelToken.subscribe(l), t.signal && (t.signal.aborted ? l() : t.signal.addEventListener("abort", l)));
68
62
  const m = O(t.url);
69
63
  if (m && U.protocols.indexOf(m) === -1) {
70
- i(
71
- new n(
72
- "Unsupported protocol " + m + ":",
73
- n.ERR_BAD_REQUEST,
74
- s
75
- )
76
- );
64
+ i(new n("Unsupported protocol " + m + ":", n.ERR_BAD_REQUEST, s));
77
65
  return;
78
66
  }
79
67
  e.send(E || null);
package/dist/index379.js CHANGED
@@ -1,35 +1,34 @@
1
1
  import K from "./index375.js";
2
- import t from "./index313.js";
3
- import b from "./index324.js";
4
- import ee from "./index391.js";
5
- import { trackStream as z } from "./index392.js";
6
- import te from "./index327.js";
7
- import { progressEventDecorator as I, progressEventReducer as M, asyncDecorator as j } from "./index389.js";
8
- import se from "./index390.js";
9
- import re from "./index387.js";
10
- const J = 64 * 1024, { isFunction: P } = t, ne = (({ Request: n, Response: o }) => ({
11
- Request: n,
12
- Response: o
13
- }))(t.global), { ReadableStream: V, TextEncoder: W } = t.global, Z = (n, ...o) => {
2
+ import t from "./index323.js";
3
+ import b from "./index334.js";
4
+ import ee from "./index394.js";
5
+ import { trackStream as z } from "./index395.js";
6
+ import te from "./index337.js";
7
+ import { progressEventDecorator as I, progressEventReducer as M, asyncDecorator as j } from "./index392.js";
8
+ import se from "./index393.js";
9
+ import re from "./index390.js";
10
+ const J = 64 * 1024, { isFunction: P } = t, ne = (({ Request: r, Response: n }) => ({
11
+ Request: r,
12
+ Response: n
13
+ }))(t.global), {
14
+ ReadableStream: V,
15
+ TextEncoder: W
16
+ } = t.global, Z = (r, ...n) => {
14
17
  try {
15
- return !!n(...o);
18
+ return !!r(...n);
16
19
  } catch {
17
20
  return !1;
18
21
  }
19
- }, oe = (n) => {
20
- n = t.merge.call(
21
- {
22
- skipUndefined: !0
23
- },
24
- ne,
25
- n
26
- );
27
- const { fetch: o, Request: a, Response: y } = n, g = o ? P(o) : typeof fetch == "function", f = P(a), F = P(y);
22
+ }, oe = (r) => {
23
+ r = t.merge.call({
24
+ skipUndefined: !0
25
+ }, ne, r);
26
+ const { fetch: n, Request: o, Response: y } = r, g = n ? P(n) : typeof fetch == "function", f = P(o), F = P(y);
28
27
  if (!g)
29
28
  return !1;
30
- 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(() => {
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 o(e).arrayBuffer())), d = f && w && Z(() => {
31
30
  let e = !1;
32
- const s = new a(K.origin, {
31
+ const s = new o(K.origin, {
33
32
  body: new V(),
34
33
  method: "POST",
35
34
  get duplex() {
@@ -45,11 +44,7 @@ const J = 64 * 1024, { isFunction: P } = t, ne = (({ Request: n, Response: o })
45
44
  let c = s && s[e];
46
45
  if (c)
47
46
  return c.call(s);
48
- throw new b(
49
- `Response type '${e}' is not supported`,
50
- b.ERR_NOT_SUPPORT,
51
- i
52
- );
47
+ throw new b(`Response type '${e}' is not supported`, b.ERR_NOT_SUPPORT, i);
53
48
  });
54
49
  });
55
50
  const $ = async (e) => {
@@ -58,7 +53,7 @@ const J = 64 * 1024, { isFunction: P } = t, ne = (({ Request: n, Response: o })
58
53
  if (t.isBlob(e))
59
54
  return e.size;
60
55
  if (t.isSpecCompliantForm(e))
61
- return (await new a(K.origin, {
56
+ return (await new o(K.origin, {
62
57
  method: "POST",
63
58
  body: e
64
59
  }).arrayBuffer()).byteLength;
@@ -84,19 +79,16 @@ const J = 64 * 1024, { isFunction: P } = t, ne = (({ Request: n, Response: o })
84
79
  headers: q,
85
80
  withCredentials: C = "same-origin",
86
81
  fetchOptions: U
87
- } = se(e), v = o || fetch;
82
+ } = se(e), v = n || fetch;
88
83
  l = l ? (l + "").toLowerCase() : "text";
89
- let E = ee(
90
- [Q, _ && _.toAbortSignal()],
91
- X
92
- ), T = null;
84
+ let E = ee([Q, _ && _.toAbortSignal()], X), T = null;
93
85
  const m = E && E.unsubscribe && (() => {
94
86
  E.unsubscribe();
95
87
  });
96
88
  let D;
97
89
  try {
98
90
  if (B && d && i !== "get" && i !== "head" && (D = await G(q, c)) !== 0) {
99
- let p = new a(s, {
91
+ let p = new o(s, {
100
92
  method: "POST",
101
93
  body: c,
102
94
  duplex: "half"
@@ -110,16 +102,16 @@ const J = 64 * 1024, { isFunction: P } = t, ne = (({ Request: n, Response: o })
110
102
  }
111
103
  }
112
104
  t.isString(C) || (C = C ? "include" : "omit");
113
- const r = f && "credentials" in a.prototype, N = {
105
+ const a = f && "credentials" in o.prototype, N = {
114
106
  ...U,
115
107
  signal: E,
116
108
  method: i.toUpperCase(),
117
109
  headers: q.normalize().toJSON(),
118
110
  body: c,
119
111
  duplex: "half",
120
- credentials: r ? C : void 0
112
+ credentials: a ? C : void 0
121
113
  };
122
- T = f && new a(s, N);
114
+ T = f && new o(s, N);
123
115
  let u = await (f ? v(T, U) : v(s, N));
124
116
  const k = h && (l === "stream" || l === "response");
125
117
  if (h && (O || k && m)) {
@@ -139,10 +131,7 @@ const J = 64 * 1024, { isFunction: P } = t, ne = (({ Request: n, Response: o })
139
131
  );
140
132
  }
141
133
  l = l || "text";
142
- let Y = await x[t.findKey(x, l) || "text"](
143
- u,
144
- e
145
- );
134
+ let Y = await x[t.findKey(x, l) || "text"](u, e);
146
135
  return !k && m && m(), await new Promise((p, S) => {
147
136
  re(p, S, {
148
137
  data: Y,
@@ -153,27 +142,25 @@ const J = 64 * 1024, { isFunction: P } = t, ne = (({ Request: n, Response: o })
153
142
  request: T
154
143
  });
155
144
  });
156
- } catch (r) {
157
- throw m && m(), r && r.name === "TypeError" && /Load failed|fetch/i.test(r.message) ? Object.assign(
158
- new b(
159
- "Network Error",
160
- b.ERR_NETWORK,
161
- e,
162
- T,
163
- r && r.response
164
- ),
145
+ } catch (a) {
146
+ throw m && m(), a && a.name === "TypeError" && /Load failed|fetch/i.test(a.message) ? Object.assign(
147
+ new b("Network Error", b.ERR_NETWORK, e, T),
165
148
  {
166
- cause: r.cause || r
149
+ cause: a.cause || a
167
150
  }
168
- ) : b.from(r, r && r.code, e, T, r && r.response);
151
+ ) : b.from(a, a && a.code, e, T);
169
152
  }
170
153
  };
171
- }, ae = /* @__PURE__ */ new Map(), ie = (n) => {
172
- let o = n && n.env || {};
173
- const { fetch: a, Request: y, Response: g } = o, f = [y, g, a];
154
+ }, ae = /* @__PURE__ */ new Map(), ie = (r) => {
155
+ let n = r && r.env || {};
156
+ const { fetch: o, Request: y, Response: g } = n, f = [
157
+ y,
158
+ g,
159
+ o
160
+ ];
174
161
  let F = f.length, w = F, R, d, h = ae;
175
162
  for (; w--; )
176
- R = f[w], d = h.get(R), d === void 0 && h.set(R, d = w ? /* @__PURE__ */ new Map() : oe(o)), h = d;
163
+ R = f[w], d = h.get(R), d === void 0 && h.set(R, d = w ? /* @__PURE__ */ new Map() : oe(n)), h = d;
177
164
  return d;
178
165
  };
179
166
  ie();
package/dist/index380.js CHANGED
@@ -1,4 +1,4 @@
1
- import n from "./index272.js";
1
+ import n from "./index288.js";
2
2
  var l = {
3
3
  root: function(e) {
4
4
  var i = e.instance, t = e.props;
package/dist/index381.js CHANGED
@@ -1,33 +1,103 @@
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
- });
1
+ function e(t) {
2
+ this.content = t;
15
3
  }
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]);
4
+ e.prototype = {
5
+ constructor: e,
6
+ find: function(t) {
7
+ for (var n = 0; n < this.content.length; n += 2)
8
+ if (this.content[n] === t) return n;
9
+ return -1;
10
+ },
11
+ // :: (string) → ?any
12
+ // Retrieve the value stored under `key`, or return undefined when
13
+ // no such key exists.
14
+ get: function(t) {
15
+ var n = this.find(t);
16
+ return n == -1 ? void 0 : this.content[n + 1];
17
+ },
18
+ // :: (string, any, ?string) → OrderedMap
19
+ // Create a new map by replacing the value of `key` with a new
20
+ // value, or adding a binding to the end of the map. If `newKey` is
21
+ // given, the key of the binding will be replaced with that key.
22
+ update: function(t, n, r) {
23
+ var i = r && r != t ? this.remove(r) : this, o = i.find(t), c = i.content.slice();
24
+ return o == -1 ? c.push(r || t, n) : (c[o + 1] = n, r && (c[o] = r)), new e(c);
25
+ },
26
+ // :: (string) → OrderedMap
27
+ // Return a map with the given key removed, if it existed.
28
+ remove: function(t) {
29
+ var n = this.find(t);
30
+ if (n == -1) return this;
31
+ var r = this.content.slice();
32
+ return r.splice(n, 2), new e(r);
33
+ },
34
+ // :: (string, any) → OrderedMap
35
+ // Add a new key to the start of the map.
36
+ addToStart: function(t, n) {
37
+ return new e([t, n].concat(this.remove(t).content));
38
+ },
39
+ // :: (string, any) → OrderedMap
40
+ // Add a new key to the end of the map.
41
+ addToEnd: function(t, n) {
42
+ var r = this.remove(t).content.slice();
43
+ return r.push(t, n), new e(r);
44
+ },
45
+ // :: (string, string, any) → OrderedMap
46
+ // Add a key after the given key. If `place` is not found, the new
47
+ // key is added to the end.
48
+ addBefore: function(t, n, r) {
49
+ var i = this.remove(n), o = i.content.slice(), c = i.find(t);
50
+ return o.splice(c == -1 ? o.length : c, 0, n, r), new e(o);
51
+ },
52
+ // :: ((key: string, value: any))
53
+ // Call the given function for each key/value pair in the map, in
54
+ // order.
55
+ forEach: function(t) {
56
+ for (var n = 0; n < this.content.length; n += 2)
57
+ t(this.content[n], this.content[n + 1]);
58
+ },
59
+ // :: (union<Object, OrderedMap>) → OrderedMap
60
+ // Create a new map by prepending the keys in this map that don't
61
+ // appear in `map` before the keys in `map`.
62
+ prepend: function(t) {
63
+ return t = e.from(t), t.size ? new e(t.content.concat(this.subtract(t).content)) : this;
64
+ },
65
+ // :: (union<Object, OrderedMap>) → OrderedMap
66
+ // Create a new map by appending the keys in this map that don't
67
+ // appear in `map` after the keys in `map`.
68
+ append: function(t) {
69
+ return t = e.from(t), t.size ? new e(this.subtract(t).content.concat(t.content)) : this;
70
+ },
71
+ // :: (union<Object, OrderedMap>) → OrderedMap
72
+ // Create a map containing all the keys in this map that don't
73
+ // appear in `map`.
74
+ subtract: function(t) {
75
+ var n = this;
76
+ t = e.from(t);
77
+ for (var r = 0; r < t.content.length; r += 2)
78
+ n = n.remove(t.content[r]);
79
+ return n;
80
+ },
81
+ // :: () → Object
82
+ // Turn ordered map into a plain object.
83
+ toObject: function() {
84
+ var t = {};
85
+ return this.forEach(function(n, r) {
86
+ t[n] = r;
87
+ }), t;
88
+ },
89
+ // :: number
90
+ // The amount of keys in this map.
91
+ get size() {
92
+ return this.content.length >> 1;
93
+ }
22
94
  };
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("&");
95
+ e.from = function(t) {
96
+ if (t instanceof e) return t;
97
+ var n = [];
98
+ if (t) for (var r in t) n.push(r, t[r]);
99
+ return new e(n);
30
100
  };
31
101
  export {
32
- a as default
102
+ e as default
33
103
  };
package/dist/index382.js CHANGED
@@ -1,13 +1,93 @@
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;
1
+ var t = {
2
+ 8: "Backspace",
3
+ 9: "Tab",
4
+ 10: "Enter",
5
+ 12: "NumLock",
6
+ 13: "Enter",
7
+ 16: "Shift",
8
+ 17: "Control",
9
+ 18: "Alt",
10
+ 20: "CapsLock",
11
+ 27: "Escape",
12
+ 32: " ",
13
+ 33: "PageUp",
14
+ 34: "PageDown",
15
+ 35: "End",
16
+ 36: "Home",
17
+ 37: "ArrowLeft",
18
+ 38: "ArrowUp",
19
+ 39: "ArrowRight",
20
+ 40: "ArrowDown",
21
+ 44: "PrintScreen",
22
+ 45: "Insert",
23
+ 46: "Delete",
24
+ 59: ";",
25
+ 61: "=",
26
+ 91: "Meta",
27
+ 92: "Meta",
28
+ 106: "*",
29
+ 107: "+",
30
+ 108: ",",
31
+ 109: "-",
32
+ 110: ".",
33
+ 111: "/",
34
+ 144: "NumLock",
35
+ 145: "ScrollLock",
36
+ 160: "Shift",
37
+ 161: "Shift",
38
+ 162: "Control",
39
+ 163: "Control",
40
+ 164: "Alt",
41
+ 165: "Alt",
42
+ 173: "-",
43
+ 186: ";",
44
+ 187: "=",
45
+ 188: ",",
46
+ 189: "-",
47
+ 190: ".",
48
+ 191: "/",
49
+ 192: "`",
50
+ 219: "[",
51
+ 220: "\\",
52
+ 221: "]",
53
+ 222: "'"
54
+ }, a = {
55
+ 48: ")",
56
+ 49: "!",
57
+ 50: "@",
58
+ 51: "#",
59
+ 52: "$",
60
+ 53: "%",
61
+ 54: "^",
62
+ 55: "&",
63
+ 56: "*",
64
+ 57: "(",
65
+ 59: ":",
66
+ 61: "+",
67
+ 173: "_",
68
+ 186: ":",
69
+ 187: "+",
70
+ 188: "<",
71
+ 189: "_",
72
+ 190: ">",
73
+ 191: "?",
74
+ 192: "~",
75
+ 219: "{",
76
+ 220: "|",
77
+ 221: "}",
78
+ 222: '"'
79
+ }, n = typeof navigator < "u" && /Mac/.test(navigator.platform), y = typeof navigator < "u" && /MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
80
+ for (var r = 0; r < 10; r++) t[48 + r] = t[96 + r] = String(r);
81
+ for (var r = 1; r <= 24; r++) t[r + 111] = "F" + r;
82
+ for (var r = 65; r <= 90; r++)
83
+ t[r] = String.fromCharCode(r + 32), a[r] = String.fromCharCode(r);
84
+ for (var i in t) a.hasOwnProperty(i) || (a[i] = t[i]);
85
+ function g(o) {
86
+ var f = n && o.metaKey && o.shiftKey && !o.ctrlKey && !o.altKey || y && o.shiftKey && o.key && o.key.length == 1 || o.key == "Unidentified", e = !f && o.key || (o.shiftKey ? a : t)[o.keyCode] || o.key || "Unidentified";
87
+ return e == "Esc" && (e = "Escape"), e == "Del" && (e = "Delete"), e == "Left" && (e = "ArrowLeft"), e == "Up" && (e = "ArrowUp"), e == "Right" && (e = "ArrowRight"), e == "Down" && (e = "ArrowDown"), e;
10
88
  }
11
89
  export {
12
- h as default
90
+ t as base,
91
+ g as keyName,
92
+ a as shift
13
93
  };