@quoreadmin/ui 1.10.27 → 1.10.30

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 (200) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index103.js +11 -6
  3. package/dist/index147.js +147 -147
  4. package/dist/index157.js +160 -160
  5. package/dist/index186.js +4 -4
  6. package/dist/index193.js +8 -8
  7. package/dist/index195.js +8 -8
  8. package/dist/index198.js +17 -17
  9. package/dist/index201.js +26 -26
  10. package/dist/index202.js +1 -1
  11. package/dist/index203.js +1 -1
  12. package/dist/index206.js +2 -2
  13. package/dist/index208.js +14 -14
  14. package/dist/index209.js +1 -1
  15. package/dist/index210.js +1 -1
  16. package/dist/index211.js +3 -3
  17. package/dist/index212.js +6 -6
  18. package/dist/index216.js +2 -2
  19. package/dist/index217.js +1 -1
  20. package/dist/index219.js +4 -4
  21. package/dist/index221.js +1 -1
  22. package/dist/index222.js +1 -1
  23. package/dist/index223.js +1 -1
  24. package/dist/index224.js +4 -4
  25. package/dist/index226.js +1 -1
  26. package/dist/index227.js +2 -2
  27. package/dist/index228.js +2 -2
  28. package/dist/index229.js +1 -1
  29. package/dist/index23.js +47 -27
  30. package/dist/index230.js +159 -159
  31. package/dist/index231.js +228 -20
  32. package/dist/index232.js +36 -19
  33. package/dist/index233.js +10 -22
  34. package/dist/index234.js +129 -167
  35. package/dist/index235.js +19 -69
  36. package/dist/index236.js +20 -34
  37. package/dist/index237.js +21 -39
  38. package/dist/index238.js +185 -113
  39. package/dist/index239.js +57 -25
  40. package/dist/index240.js +31 -77
  41. package/dist/index241.js +39 -19
  42. package/dist/index242.js +126 -19
  43. package/dist/index243.js +34 -16
  44. package/dist/index244.js +80 -20
  45. package/dist/index245.js +19 -160
  46. package/dist/index246.js +20 -228
  47. package/dist/index247.js +19 -36
  48. package/dist/index248.js +20 -10
  49. package/dist/index249.js +3709 -22
  50. package/dist/index250.js +60 -22
  51. package/dist/index251.js +83 -20
  52. package/dist/index252.js +39 -823
  53. package/dist/index253.js +198 -685
  54. package/dist/index254.js +9 -175
  55. package/dist/index255.js +57 -22
  56. package/dist/index256.js +61 -20
  57. package/dist/index257.js +54 -20
  58. package/dist/index258.js +81 -3
  59. package/dist/index259.js +711 -170
  60. package/dist/index260.js +41 -127
  61. package/dist/index261.js +55 -1214
  62. package/dist/index262.js +11 -20
  63. package/dist/index263.js +705 -22
  64. package/dist/index264.js +820 -22
  65. package/dist/index265.js +15 -22
  66. package/dist/index266.js +15 -13
  67. package/dist/index267.js +12 -12
  68. package/dist/index268.js +836 -2
  69. package/dist/index269.js +702 -2
  70. package/dist/index270.js +164 -241
  71. package/dist/index271.js +21 -7
  72. package/dist/index272.js +20 -138
  73. package/dist/index273.js +20 -83
  74. package/dist/index274.js +3 -54
  75. package/dist/index275.js +173 -65
  76. package/dist/index276.js +132 -25
  77. package/dist/index277.js +1223 -22
  78. package/dist/index278.js +13 -15
  79. package/dist/index279.js +22 -16
  80. package/dist/index280.js +22 -17
  81. package/dist/index281.js +28 -22
  82. package/dist/index282.js +20 -3
  83. package/dist/index283.js +19 -26
  84. package/dist/index284.js +2 -3709
  85. package/dist/index285.js +2 -60
  86. package/dist/index286.js +242 -72
  87. package/dist/index287.js +7 -51
  88. package/dist/index288.js +132 -209
  89. package/dist/index289.js +83 -10
  90. package/dist/index290.js +3 -57
  91. package/dist/index291.js +26 -60
  92. package/dist/index292.js +51 -51
  93. package/dist/index293.js +76 -78
  94. package/dist/index294.js +25 -727
  95. package/dist/index295.js +22 -47
  96. package/dist/index296.js +22 -64
  97. package/dist/index297.js +15 -10
  98. package/dist/index298.js +16 -704
  99. package/dist/index299.js +23 -820
  100. package/dist/index301.js +1534 -79
  101. package/dist/index302.js +386 -22
  102. package/dist/index303.js +2698 -902
  103. package/dist/index304.js +85 -21
  104. package/dist/index305.js +3798 -20
  105. package/dist/index306.js +59 -19
  106. package/dist/index307.js +15 -69
  107. package/dist/index308.js +84 -19
  108. package/dist/index309.js +201 -18
  109. package/dist/index310.js +246 -22
  110. package/dist/index311.js +78 -21
  111. package/dist/index312.js +22 -63
  112. package/dist/index313.js +920 -250
  113. package/dist/index314.js +21 -5
  114. package/dist/index315.js +19 -149
  115. package/dist/index316.js +19 -68
  116. package/dist/index317.js +64 -86
  117. package/dist/index318.js +19 -29
  118. package/dist/index319.js +19 -16
  119. package/dist/index320.js +21 -74
  120. package/dist/index321.js +21 -3
  121. package/dist/index322.js +63 -2
  122. package/dist/index323.js +227 -76
  123. package/dist/index324.js +5 -57
  124. package/dist/index325.js +133 -5
  125. package/dist/index326.js +67 -4
  126. package/dist/index327.js +79 -178
  127. package/dist/index328.js +26 -60
  128. package/dist/index329.js +8 -74
  129. package/dist/index330.js +73 -35
  130. package/dist/index331.js +3 -8
  131. package/dist/index332.js +2 -13
  132. package/dist/index333.js +78 -50
  133. package/dist/index334.js +53 -11
  134. package/dist/index335.js +4 -12
  135. package/dist/index336.js +4 -57
  136. package/dist/index337.js +175 -48
  137. package/dist/index338.js +60 -28
  138. package/dist/index339.js +75 -2
  139. package/dist/index340.js +10 -5
  140. package/dist/index341.js +10 -2
  141. package/dist/index342.js +12 -21
  142. package/dist/index343.js +9 -40
  143. package/dist/index344.js +17 -2
  144. package/dist/index345.js +9 -11
  145. package/dist/index346.js +12 -19
  146. package/dist/index347.js +55 -10
  147. package/dist/index348.js +12 -10
  148. package/dist/index349.js +12 -15
  149. package/dist/index350.js +58 -2
  150. package/dist/index351.js +52 -9
  151. package/dist/index352.js +30 -9
  152. package/dist/index353.js +2 -14
  153. package/dist/index354.js +4 -1533
  154. package/dist/index355.js +2 -386
  155. package/dist/index356.js +22 -2730
  156. package/dist/index357.js +37 -82
  157. package/dist/index358.js +2 -3798
  158. package/dist/index359.js +11 -60
  159. package/dist/index360.js +20 -15
  160. package/dist/index361.js +2 -84
  161. package/dist/index362.js +9 -202
  162. package/dist/index363.js +31 -240
  163. package/dist/index364.js +1 -1
  164. package/dist/index365.js +1 -1
  165. package/dist/index366.js +1 -1
  166. package/dist/index367.js +1 -1
  167. package/dist/index368.js +14 -12
  168. package/dist/index369.js +1 -2
  169. package/dist/index370.js +22 -18
  170. package/dist/index371.js +2 -2
  171. package/dist/index372.js +3 -6
  172. package/dist/index373.js +3 -4
  173. package/dist/index374.js +2 -2
  174. package/dist/index375.js +2 -2
  175. package/dist/index376.js +1 -1
  176. package/dist/index378.js +20 -32
  177. package/dist/index379.js +45 -58
  178. package/dist/index380.js +100 -16
  179. package/dist/index381.js +90 -30
  180. package/dist/index382.js +98 -11
  181. package/dist/index383.js +17 -4
  182. package/dist/index384.js +30 -3
  183. package/dist/index385.js +11 -13
  184. package/dist/index386.js +4 -7
  185. package/dist/index387.js +3 -13
  186. package/dist/index388.js +13 -5
  187. package/dist/index389.js +7 -36
  188. package/dist/index390.js +11 -36
  189. package/dist/index391.js +5 -30
  190. package/dist/index392.js +33 -64
  191. package/dist/index393.js +29 -99
  192. package/dist/index394.js +28 -91
  193. package/dist/index395.js +59 -96
  194. package/dist/index396.js +1 -1
  195. package/dist/index402.js +1 -1
  196. package/dist/index50.js +1 -1
  197. package/dist/src/components/event/event.d.ts +12 -0
  198. package/dist/src/components/event/event.stories.d.ts +2 -0
  199. package/dist/src/components/room-details-popover/room-details-popover.d.ts +9 -3
  200. package/package.json +2 -2
package/dist/index364.js CHANGED
@@ -1,4 +1,4 @@
1
- import r from "./index275.js";
1
+ import r from "./index293.js";
2
2
  import { openBlock as t, createElementBlock as o, mergeProps as n, createElementVNode as i } from "vue";
3
3
  var l = {
4
4
  name: "AngleDownIcon",
package/dist/index365.js CHANGED
@@ -1,4 +1,4 @@
1
- import r from "./index275.js";
1
+ import r from "./index293.js";
2
2
  import { openBlock as t, createElementBlock as o, mergeProps as n, createElementVNode as p } from "vue";
3
3
  var i = {
4
4
  name: "AngleUpIcon",
package/dist/index366.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import i from "./index228.js";
2
- import r from "./index380.js";
2
+ import r from "./index383.js";
3
3
  import { openBlock as a, createElementBlock as u, mergeProps as o } from "vue";
4
4
  var d = {
5
5
  name: "BaseInputText",
package/dist/index367.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index272.js";
1
+ import o from "./index288.js";
2
2
  var e = {
3
3
  root: function(t) {
4
4
  var u = t.instance, n = t.props;
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,19 +1,103 @@
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
- }];
1
+ function e(t) {
2
+ this.content = t;
3
+ }
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;
12
93
  }
13
- }, r = n.extend({
14
- name: "inputtext",
15
- classes: l
16
- });
94
+ };
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);
100
+ };
17
101
  export {
18
- r as default
102
+ e as default
19
103
  };