@quoreadmin/ui 1.7.16 → 1.7.18

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 (126) hide show
  1. package/dist/index131.js +151 -90
  2. package/dist/index140.js +291 -281
  3. package/dist/index185.js +7 -7
  4. package/dist/index191.js +23 -23
  5. package/dist/index192.js +1 -1
  6. package/dist/index193.js +1 -1
  7. package/dist/index196.js +2 -2
  8. package/dist/index198.js +14 -14
  9. package/dist/index199.js +1 -1
  10. package/dist/index200.js +1 -1
  11. package/dist/index201.js +3 -3
  12. package/dist/index202.js +6 -6
  13. package/dist/index203.js +2 -2
  14. package/dist/index204.js +2 -2
  15. package/dist/index205.js +1 -1
  16. package/dist/index220.js +1 -1
  17. package/dist/index224.js +1 -1
  18. package/dist/index226.js +1 -1
  19. package/dist/index232.js +105 -231
  20. package/dist/index233.js +38 -8
  21. package/dist/index234.js +78 -136
  22. package/dist/index235.js +20 -83
  23. package/dist/index236.js +20 -3632
  24. package/dist/index237.js +20 -55
  25. package/dist/index238.js +20 -77
  26. package/dist/index239.js +22 -52
  27. package/dist/index240.js +22 -215
  28. package/dist/index241.js +20 -10
  29. package/dist/index242.js +827 -48
  30. package/dist/index243.js +691 -50
  31. package/dist/index244.js +174 -52
  32. package/dist/index245.js +22 -75
  33. package/dist/index246.js +19 -722
  34. package/dist/index247.js +20 -39
  35. package/dist/index248.js +3 -64
  36. package/dist/index249.js +187 -11
  37. package/dist/index250.js +124 -696
  38. package/dist/index251.js +1189 -786
  39. package/dist/index252.js +19 -126
  40. package/dist/index253.js +21 -37
  41. package/dist/index254.js +22 -80
  42. package/dist/index255.js +22 -13
  43. package/dist/index256.js +12 -12
  44. package/dist/index257.js +9 -9
  45. package/dist/index258.js +2 -20
  46. package/dist/index259.js +2 -22
  47. package/dist/index260.js +3632 -22
  48. package/dist/index261.js +55 -20
  49. package/dist/index262.js +64 -823
  50. package/dist/index263.js +43 -693
  51. package/dist/index264.js +204 -165
  52. package/dist/index265.js +10 -22
  53. package/dist/index266.js +57 -20
  54. package/dist/index267.js +61 -20
  55. package/dist/index268.js +54 -3
  56. package/dist/index269.js +69 -181
  57. package/dist/index270.js +710 -120
  58. package/dist/index271.js +33 -1217
  59. package/dist/index272.js +64 -20
  60. package/dist/index273.js +11 -22
  61. package/dist/index274.js +705 -22
  62. package/dist/index275.js +820 -29
  63. package/dist/index276.js +253 -20
  64. package/dist/index277.js +8 -20
  65. package/dist/index278.js +138 -2
  66. package/dist/index279.js +83 -2
  67. package/dist/index280.js +1 -1
  68. package/dist/index285.js +1 -1
  69. package/dist/index286.js +1 -1
  70. package/dist/index287.js +1 -1
  71. package/dist/index288.js +137 -110
  72. package/dist/index290.js +62 -56
  73. package/dist/index291.js +31 -26
  74. package/dist/index294.js +15 -8
  75. package/dist/index297.js +1 -1
  76. package/dist/index299.js +36 -37
  77. package/dist/index305.js +2 -1518
  78. package/dist/index306.js +1478 -346
  79. package/dist/index307.js +330 -2675
  80. package/dist/index308.js +2717 -72
  81. package/dist/index309.js +75 -3759
  82. package/dist/index310.js +3758 -48
  83. package/dist/index311.js +60 -15
  84. package/dist/index312.js +76 -81
  85. package/dist/index313.js +22 -202
  86. package/dist/index314.js +915 -226
  87. package/dist/index315.js +22 -2
  88. package/dist/index316.js +19 -78
  89. package/dist/index317.js +13 -15
  90. package/dist/index318.js +64 -930
  91. package/dist/index319.js +18 -21
  92. package/dist/index320.js +19 -20
  93. package/dist/index321.js +12 -10
  94. package/dist/index322.js +21 -68
  95. package/dist/index323.js +60 -16
  96. package/dist/index324.js +15 -19
  97. package/dist/index325.js +83 -21
  98. package/dist/index326.js +202 -22
  99. package/dist/index327.js +246 -63
  100. package/dist/index330.js +1 -1
  101. package/dist/index331.js +12 -14
  102. package/dist/index332.js +1 -0
  103. package/dist/index336.js +4 -3
  104. package/dist/index342.js +27 -27
  105. package/dist/index345.js +1 -1
  106. package/dist/index346.js +1 -1
  107. package/dist/index372.js +1 -1
  108. package/dist/index380.js +1 -1
  109. package/dist/index382.js +16 -100
  110. package/dist/index383.js +100 -90
  111. package/dist/index384.js +91 -98
  112. package/dist/index385.js +97 -16
  113. package/dist/index43.js +160 -158
  114. package/dist/src/components/comment/comment.d.ts +27 -0
  115. package/dist/src/components/comment/comment.stories.d.ts +27 -0
  116. package/dist/src/components/comment-section/comment-section.d.ts +27 -0
  117. package/dist/src/components/comment-section/comment-section.stories.d.ts +27 -0
  118. package/dist/src/components/data-filter/data-filter.d.ts +27 -0
  119. package/dist/src/components/data-list/data-list.d.ts +27 -0
  120. package/dist/src/components/grid/grid.stories.d.ts +54 -0
  121. package/dist/src/components/popover/popover.d.ts +37 -0
  122. package/dist/src/components/popover/popover.stories.d.ts +189 -0
  123. package/dist/src/components/room-details-popover/room-details-popover.d.ts +60 -2
  124. package/dist/src/views/lists.vue.d.ts +54 -0
  125. package/dist/src/views/tables.vue.d.ts +27 -0
  126. package/package.json +1 -1
package/dist/index288.js CHANGED
@@ -1,21 +1,21 @@
1
1
  import R from "./index289.js";
2
- const { toString: T } = Object.prototype, { getPrototypeOf: A } = Object, { iterator: g, toStringTag: S } = Symbol, F = /* @__PURE__ */ ((e) => (t) => {
3
- const n = T.call(t);
4
- return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
5
- })(/* @__PURE__ */ Object.create(null)), f = (e) => (e = e.toLowerCase(), (t) => F(t) === e), O = (e) => (t) => typeof t === e, { isArray: p } = Array, a = O("undefined");
2
+ const { toString: T } = Object.prototype, { getPrototypeOf: h } = Object, { iterator: g, toStringTag: x } = Symbol, b = /* @__PURE__ */ ((e) => (t) => {
3
+ const r = T.call(t);
4
+ return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
5
+ })(/* @__PURE__ */ Object.create(null)), f = (e) => (e = e.toLowerCase(), (t) => b(t) === e), O = (e) => (t) => typeof t === e, { isArray: p } = Array, a = O("undefined");
6
6
  function d(e) {
7
7
  return e !== null && !a(e) && e.constructor !== null && !a(e.constructor) && c(e.constructor.isBuffer) && e.constructor.isBuffer(e);
8
8
  }
9
- const B = f("ArrayBuffer");
9
+ const S = f("ArrayBuffer");
10
10
  function M(e) {
11
11
  let t;
12
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && B(e.buffer), t;
12
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && S(e.buffer), t;
13
13
  }
14
- const k = O("string"), c = O("function"), E = O("number"), y = (e) => e !== null && typeof e == "object", N = (e) => e === !0 || e === !1, w = (e) => {
15
- if (F(e) !== "object")
14
+ const _ = O("string"), c = O("function"), B = O("number"), y = (e) => e !== null && typeof e == "object", N = (e) => e === !0 || e === !1, w = (e) => {
15
+ if (b(e) !== "object")
16
16
  return !1;
17
- const t = A(e);
18
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(S in e) && !(g in e);
17
+ const t = h(e);
18
+ return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(x in e) && !(g in e);
19
19
  }, U = (e) => {
20
20
  if (!y(e) || d(e))
21
21
  return !1;
@@ -24,162 +24,189 @@ const k = O("string"), c = O("function"), E = O("number"), y = (e) => e !== null
24
24
  } catch {
25
25
  return !1;
26
26
  }
27
- }, I = f("Date"), V = f("File"), _ = f("Blob"), q = f("FileList"), H = (e) => y(e) && c(e.pipe), z = (e) => {
27
+ }, I = f("Date"), k = f("File"), V = f("Blob"), q = f("FileList"), H = (e) => y(e) && c(e.pipe), z = (e) => {
28
28
  let t;
29
- return e && (typeof FormData == "function" && e instanceof FormData || c(e.append) && ((t = F(e)) === "formdata" || // detect form-data instance
29
+ return e && (typeof FormData == "function" && e instanceof FormData || c(e.append) && ((t = b(e)) === "formdata" || // detect form-data instance
30
30
  t === "object" && c(e.toString) && e.toString() === "[object FormData]"));
31
- }, J = f("URLSearchParams"), [K, $, W, G] = ["ReadableStream", "Request", "Response", "Headers"].map(f), Q = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
32
- function m(e, t, { allOwnKeys: n = !1 } = {}) {
31
+ }, J = f("URLSearchParams"), [K, $, W, G] = [
32
+ "ReadableStream",
33
+ "Request",
34
+ "Response",
35
+ "Headers"
36
+ ].map(f), Q = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
37
+ function m(e, t, { allOwnKeys: r = !1 } = {}) {
33
38
  if (e === null || typeof e > "u")
34
39
  return;
35
- let r, s;
40
+ let n, s;
36
41
  if (typeof e != "object" && (e = [e]), p(e))
37
- for (r = 0, s = e.length; r < s; r++)
38
- t.call(null, e[r], r, e);
42
+ for (n = 0, s = e.length; n < s; n++)
43
+ t.call(null, e[n], n, e);
39
44
  else {
40
45
  if (d(e))
41
46
  return;
42
- const o = n ? Object.getOwnPropertyNames(e) : Object.keys(e), i = o.length;
47
+ const o = r ? Object.getOwnPropertyNames(e) : Object.keys(e), i = o.length;
43
48
  let l;
44
- for (r = 0; r < i; r++)
45
- l = o[r], t.call(null, e[l], l, e);
49
+ for (n = 0; n < i; n++)
50
+ l = o[n], t.call(null, e[l], l, e);
46
51
  }
47
52
  }
48
- function P(e, t) {
53
+ function E(e, t) {
49
54
  if (d(e))
50
55
  return null;
51
56
  t = t.toLowerCase();
52
- const n = Object.keys(e);
53
- let r = n.length, s;
54
- for (; r-- > 0; )
55
- if (s = n[r], t === s.toLowerCase())
57
+ const r = Object.keys(e);
58
+ let n = r.length, s;
59
+ for (; n-- > 0; )
60
+ if (s = r[n], t === s.toLowerCase())
56
61
  return s;
57
62
  return null;
58
63
  }
59
64
  const u = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, L = (e) => !a(e) && e !== u;
60
- function h() {
61
- const { caseless: e, skipUndefined: t } = L(this) && this || {}, n = {}, r = (s, o) => {
62
- const i = e && P(n, o) || o;
63
- w(n[i]) && w(s) ? n[i] = h(n[i], s) : w(s) ? n[i] = h({}, s) : p(s) ? n[i] = s.slice() : (!t || !a(s)) && (n[i] = s);
65
+ function F() {
66
+ const { caseless: e, skipUndefined: t } = L(this) && this || {}, r = {}, n = (s, o) => {
67
+ if (o === "__proto__" || o === "constructor" || o === "prototype")
68
+ return;
69
+ const i = e && E(r, o) || o;
70
+ w(r[i]) && w(s) ? r[i] = F(r[i], s) : w(s) ? r[i] = F({}, s) : p(s) ? r[i] = s.slice() : (!t || !a(s)) && (r[i] = s);
64
71
  };
65
72
  for (let s = 0, o = arguments.length; s < o; s++)
66
- arguments[s] && m(arguments[s], r);
67
- return n;
73
+ arguments[s] && m(arguments[s], n);
74
+ return r;
68
75
  }
69
- const X = (e, t, n, { allOwnKeys: r } = {}) => (m(t, (s, o) => {
70
- n && c(s) ? e[o] = R(s, n) : e[o] = s;
71
- }, { allOwnKeys: r }), e), Y = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Z = (e, t, n, r) => {
72
- e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
76
+ const X = (e, t, r, { allOwnKeys: n } = {}) => (m(
77
+ t,
78
+ (s, o) => {
79
+ r && c(s) ? Object.defineProperty(e, o, {
80
+ value: R(s, r),
81
+ writable: !0,
82
+ enumerable: !0,
83
+ configurable: !0
84
+ }) : Object.defineProperty(e, o, {
85
+ value: s,
86
+ writable: !0,
87
+ enumerable: !0,
88
+ configurable: !0
89
+ });
90
+ },
91
+ { allOwnKeys: n }
92
+ ), e), Y = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Z = (e, t, r, n) => {
93
+ e.prototype = Object.create(
94
+ t.prototype,
95
+ n
96
+ ), Object.defineProperty(e.prototype, "constructor", {
97
+ value: e,
98
+ writable: !0,
99
+ enumerable: !1,
100
+ configurable: !0
101
+ }), Object.defineProperty(e, "super", {
73
102
  value: t.prototype
74
- }), n && Object.assign(e.prototype, n);
75
- }, j = (e, t, n, r) => {
103
+ }), r && Object.assign(e.prototype, r);
104
+ }, j = (e, t, r, n) => {
76
105
  let s, o, i;
77
106
  const l = {};
78
107
  if (t = t || {}, e == null) return t;
79
108
  do {
80
109
  for (s = Object.getOwnPropertyNames(e), o = s.length; o-- > 0; )
81
- i = s[o], (!r || r(i, e, t)) && !l[i] && (t[i] = e[i], l[i] = !0);
82
- e = n !== !1 && A(e);
83
- } while (e && (!n || n(e, t)) && e !== Object.prototype);
110
+ i = s[o], (!n || n(i, e, t)) && !l[i] && (t[i] = e[i], l[i] = !0);
111
+ e = r !== !1 && h(e);
112
+ } while (e && (!r || r(e, t)) && e !== Object.prototype);
84
113
  return t;
85
- }, v = (e, t, n) => {
86
- e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
87
- const r = e.indexOf(t, n);
88
- return r !== -1 && r === n;
114
+ }, v = (e, t, r) => {
115
+ e = String(e), (r === void 0 || r > e.length) && (r = e.length), r -= t.length;
116
+ const n = e.indexOf(t, r);
117
+ return n !== -1 && n === r;
89
118
  }, ee = (e) => {
90
119
  if (!e) return null;
91
120
  if (p(e)) return e;
92
121
  let t = e.length;
93
- if (!E(t)) return null;
94
- const n = new Array(t);
122
+ if (!B(t)) return null;
123
+ const r = new Array(t);
95
124
  for (; t-- > 0; )
96
- n[t] = e[t];
97
- return n;
98
- }, te = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && A(Uint8Array)), ne = (e, t) => {
99
- const r = (e && e[g]).call(e);
125
+ r[t] = e[t];
126
+ return r;
127
+ }, te = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && h(Uint8Array)), re = (e, t) => {
128
+ const n = (e && e[g]).call(e);
100
129
  let s;
101
- for (; (s = r.next()) && !s.done; ) {
130
+ for (; (s = n.next()) && !s.done; ) {
102
131
  const o = s.value;
103
132
  t.call(e, o[0], o[1]);
104
133
  }
105
- }, re = (e, t) => {
106
- let n;
107
- const r = [];
108
- for (; (n = e.exec(t)) !== null; )
109
- r.push(n);
110
- return r;
111
- }, se = f("HTMLFormElement"), oe = (e) => e.toLowerCase().replace(
112
- /[-_\s]([a-z\d])(\w*)/g,
113
- function(n, r, s) {
114
- return r.toUpperCase() + s;
115
- }
116
- ), x = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), ie = f("RegExp"), C = (e, t) => {
117
- const n = Object.getOwnPropertyDescriptors(e), r = {};
118
- m(n, (s, o) => {
134
+ }, ne = (e, t) => {
135
+ let r;
136
+ const n = [];
137
+ for (; (r = e.exec(t)) !== null; )
138
+ n.push(r);
139
+ return n;
140
+ }, se = f("HTMLFormElement"), oe = (e) => e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(r, n, s) {
141
+ return n.toUpperCase() + s;
142
+ }), P = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), ie = f("RegExp"), C = (e, t) => {
143
+ const r = Object.getOwnPropertyDescriptors(e), n = {};
144
+ m(r, (s, o) => {
119
145
  let i;
120
- (i = t(s, o, e)) !== !1 && (r[o] = i || s);
121
- }), Object.defineProperties(e, r);
146
+ (i = t(s, o, e)) !== !1 && (n[o] = i || s);
147
+ }), Object.defineProperties(e, n);
122
148
  }, ce = (e) => {
123
- C(e, (t, n) => {
124
- if (c(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
149
+ C(e, (t, r) => {
150
+ if (c(e) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
125
151
  return !1;
126
- const r = e[n];
127
- if (c(r)) {
152
+ const n = e[r];
153
+ if (c(n)) {
128
154
  if (t.enumerable = !1, "writable" in t) {
129
155
  t.writable = !1;
130
156
  return;
131
157
  }
132
158
  t.set || (t.set = () => {
133
- throw Error("Can not rewrite read-only method '" + n + "'");
159
+ throw Error("Can not rewrite read-only method '" + r + "'");
134
160
  });
135
161
  }
136
162
  });
137
163
  }, fe = (e, t) => {
138
- const n = {}, r = (s) => {
164
+ const r = {}, n = (s) => {
139
165
  s.forEach((o) => {
140
- n[o] = !0;
166
+ r[o] = !0;
141
167
  });
142
168
  };
143
- return p(e) ? r(e) : r(String(e).split(t)), n;
169
+ return p(e) ? n(e) : n(String(e).split(t)), r;
144
170
  }, le = () => {
145
171
  }, ue = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
146
172
  function ae(e) {
147
- return !!(e && c(e.append) && e[S] === "FormData" && e[g]);
173
+ return !!(e && c(e.append) && e[x] === "FormData" && e[g]);
148
174
  }
149
175
  const pe = (e) => {
150
- const t = new Array(10), n = (r, s) => {
151
- if (y(r)) {
152
- if (t.indexOf(r) >= 0)
176
+ const t = new Array(10), r = (n, s) => {
177
+ if (y(n)) {
178
+ if (t.indexOf(n) >= 0)
153
179
  return;
154
- if (d(r))
155
- return r;
156
- if (!("toJSON" in r)) {
157
- t[s] = r;
158
- const o = p(r) ? [] : {};
159
- return m(r, (i, l) => {
160
- const b = n(i, s + 1);
161
- !a(b) && (o[l] = b);
180
+ if (d(n))
181
+ return n;
182
+ if (!("toJSON" in n)) {
183
+ t[s] = n;
184
+ const o = p(n) ? [] : {};
185
+ return m(n, (i, l) => {
186
+ const A = r(i, s + 1);
187
+ !a(A) && (o[l] = A);
162
188
  }), t[s] = void 0, o;
163
189
  }
164
190
  }
165
- return r;
191
+ return n;
166
192
  };
167
- return n(e, 0);
168
- }, de = f("AsyncFunction"), ye = (e) => e && (y(e) || c(e)) && c(e.then) && c(e.catch), D = ((e, t) => e ? setImmediate : t ? ((n, r) => (u.addEventListener("message", ({ source: s, data: o }) => {
169
- s === u && o === n && r.length && r.shift()();
170
- }, !1), (s) => {
171
- r.push(s), u.postMessage(n, "*");
172
- }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
173
- typeof setImmediate == "function",
174
- c(u.postMessage)
175
- ), me = typeof queueMicrotask < "u" ? queueMicrotask.bind(u) : typeof process < "u" && process.nextTick || D, we = (e) => e != null && c(e[g]), Fe = {
193
+ return r(e, 0);
194
+ }, de = f("AsyncFunction"), ye = (e) => e && (y(e) || c(e)) && c(e.then) && c(e.catch), D = ((e, t) => e ? setImmediate : t ? ((r, n) => (u.addEventListener(
195
+ "message",
196
+ ({ source: s, data: o }) => {
197
+ s === u && o === r && n.length && n.shift()();
198
+ },
199
+ !1
200
+ ), (s) => {
201
+ n.push(s), u.postMessage(r, "*");
202
+ }))(`axios@${Math.random()}`, []) : (r) => setTimeout(r))(typeof setImmediate == "function", c(u.postMessage)), me = typeof queueMicrotask < "u" ? queueMicrotask.bind(u) : typeof process < "u" && process.nextTick || D, we = (e) => e != null && c(e[g]), be = {
176
203
  isArray: p,
177
- isArrayBuffer: B,
204
+ isArrayBuffer: S,
178
205
  isBuffer: d,
179
206
  isFormData: z,
180
207
  isArrayBufferView: M,
181
- isString: k,
182
- isNumber: E,
208
+ isString: _,
209
+ isNumber: B,
183
210
  isBoolean: N,
184
211
  isObject: y,
185
212
  isPlainObject: w,
@@ -190,8 +217,8 @@ const pe = (e) => {
190
217
  isHeaders: G,
191
218
  isUndefined: a,
192
219
  isDate: I,
193
- isFile: V,
194
- isBlob: _,
220
+ isFile: k,
221
+ isBlob: V,
195
222
  isRegExp: ie,
196
223
  isFunction: c,
197
224
  isStream: H,
@@ -199,21 +226,21 @@ const pe = (e) => {
199
226
  isTypedArray: te,
200
227
  isFileList: q,
201
228
  forEach: m,
202
- merge: h,
229
+ merge: F,
203
230
  extend: X,
204
231
  trim: Q,
205
232
  stripBOM: Y,
206
233
  inherits: Z,
207
234
  toFlatObject: j,
208
- kindOf: F,
235
+ kindOf: b,
209
236
  kindOfTest: f,
210
237
  endsWith: v,
211
238
  toArray: ee,
212
- forEachEntry: ne,
213
- matchAll: re,
239
+ forEachEntry: re,
240
+ matchAll: ne,
214
241
  isHTMLForm: se,
215
- hasOwnProperty: x,
216
- hasOwnProp: x,
242
+ hasOwnProperty: P,
243
+ hasOwnProp: P,
217
244
  // an alias to avoid ESLint no-prototype-builtins detection
218
245
  reduceDescriptors: C,
219
246
  freezeMethods: ce,
@@ -221,7 +248,7 @@ const pe = (e) => {
221
248
  toCamelCase: oe,
222
249
  noop: le,
223
250
  toFiniteNumber: ue,
224
- findKey: P,
251
+ findKey: E,
225
252
  global: u,
226
253
  isContextDefined: L,
227
254
  isSpecCompliantForm: ae,
@@ -233,5 +260,5 @@ const pe = (e) => {
233
260
  isIterable: we
234
261
  };
235
262
  export {
236
- Fe as default
263
+ be as default
237
264
  };
package/dist/index290.js CHANGED
@@ -1,17 +1,18 @@
1
1
  import d from "./index288.js";
2
- import U from "./index331.js";
3
- import q from "./index332.js";
4
- import R from "./index333.js";
2
+ import S from "./index331.js";
3
+ import E from "./index332.js";
4
+ import I from "./index333.js";
5
5
  import w from "./index291.js";
6
- import A from "./index334.js";
7
- import m from "./index335.js";
8
- import T from "./index302.js";
9
- const i = m.validators;
10
- class k {
6
+ import U from "./index334.js";
7
+ import y from "./index335.js";
8
+ import A from "./index302.js";
9
+ import T from "./index336.js";
10
+ const l = y.validators;
11
+ class q {
11
12
  constructor(t) {
12
13
  this.defaults = t || {}, this.interceptors = {
13
- request: new q(),
14
- response: new q()
14
+ request: new E(),
15
+ response: new E()
15
16
  };
16
17
  }
17
18
  /**
@@ -27,9 +28,9 @@ class k {
27
28
  return await this._request(t, e);
28
29
  } catch (r) {
29
30
  if (r instanceof Error) {
30
- let o = {};
31
- Error.captureStackTrace ? Error.captureStackTrace(o) : o = new Error();
32
- const s = o.stack ? o.stack.replace(/^.+\n/, "") : "";
31
+ let n = {};
32
+ Error.captureStackTrace ? Error.captureStackTrace(n) : n = new Error();
33
+ const s = n.stack ? n.stack.replace(/^.+\n/, "") : "";
33
34
  try {
34
35
  r.stack ? s && !String(r.stack).endsWith(s.replace(/^.+\n.+\n/, "")) && (r.stack += `
35
36
  ` + s) : r.stack = s;
@@ -41,19 +42,20 @@ class k {
41
42
  }
42
43
  _request(t, e) {
43
44
  typeof t == "string" ? (e = e || {}, e.url = t) : e = t || {}, e = w(this.defaults, e);
44
- const { transitional: r, paramsSerializer: o, headers: s } = e;
45
- r !== void 0 && m.assertOptions(r, {
46
- silentJSONParsing: i.transitional(i.boolean),
47
- forcedJSONParsing: i.transitional(i.boolean),
48
- clarifyTimeoutError: i.transitional(i.boolean)
49
- }, !1), o != null && (d.isFunction(o) ? e.paramsSerializer = {
50
- serialize: o
51
- } : m.assertOptions(o, {
52
- encode: i.function,
53
- serialize: i.function
54
- }, !0)), e.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? e.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : e.allowAbsoluteUrls = !0), m.assertOptions(e, {
55
- baseUrl: i.spelling("baseURL"),
56
- withXsrfToken: i.spelling("withXSRFToken")
45
+ const { transitional: r, paramsSerializer: n, headers: s } = e;
46
+ r !== void 0 && y.assertOptions(r, {
47
+ silentJSONParsing: l.transitional(l.boolean),
48
+ forcedJSONParsing: l.transitional(l.boolean),
49
+ clarifyTimeoutError: l.transitional(l.boolean),
50
+ legacyInterceptorReqResOrdering: l.transitional(l.boolean)
51
+ }, !1), n != null && (d.isFunction(n) ? e.paramsSerializer = {
52
+ serialize: n
53
+ } : y.assertOptions(n, {
54
+ encode: l.function,
55
+ serialize: l.function
56
+ }, !0)), e.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? e.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : e.allowAbsoluteUrls = !0), y.assertOptions(e, {
57
+ baseUrl: l.spelling("baseURL"),
58
+ withXsrfToken: l.spelling("withXSRFToken")
57
59
  }, !0), e.method = (e.method || this.defaults.method || "get").toLowerCase();
58
60
  let f = s && d.merge(
59
61
  s.common,
@@ -64,51 +66,55 @@ class k {
64
66
  (a) => {
65
67
  delete s[a];
66
68
  }
67
- ), e.headers = T.concat(f, s);
68
- const h = [];
69
+ ), e.headers = A.concat(f, s);
70
+ const u = [];
69
71
  let b = !0;
70
- this.interceptors.request.forEach(function(n) {
71
- typeof n.runWhen == "function" && n.runWhen(e) === !1 || (b = b && n.synchronous, h.unshift(n.fulfilled, n.rejected));
72
+ this.interceptors.request.forEach(function(o) {
73
+ if (typeof o.runWhen == "function" && o.runWhen(e) === !1)
74
+ return;
75
+ b = b && o.synchronous;
76
+ const m = e.transitional || T;
77
+ m && m.legacyInterceptorReqResOrdering ? u.unshift(o.fulfilled, o.rejected) : u.push(o.fulfilled, o.rejected);
72
78
  });
73
- const c = [];
74
- this.interceptors.response.forEach(function(n) {
75
- c.push(n.fulfilled, n.rejected);
79
+ const p = [];
80
+ this.interceptors.response.forEach(function(o) {
81
+ p.push(o.fulfilled, o.rejected);
76
82
  });
77
- let u, l = 0, p;
83
+ let h, i = 0, c;
78
84
  if (!b) {
79
- const a = [R.bind(this), void 0];
80
- for (a.unshift(...h), a.push(...c), p = a.length, u = Promise.resolve(e); l < p; )
81
- u = u.then(a[l++], a[l++]);
82
- return u;
85
+ const a = [I.bind(this), void 0];
86
+ for (a.unshift(...u), a.push(...p), c = a.length, h = Promise.resolve(e); i < c; )
87
+ h = h.then(a[i++], a[i++]);
88
+ return h;
83
89
  }
84
- p = h.length;
85
- let y = e;
86
- for (; l < p; ) {
87
- const a = h[l++], n = h[l++];
90
+ c = u.length;
91
+ let R = e;
92
+ for (; i < c; ) {
93
+ const a = u[i++], o = u[i++];
88
94
  try {
89
- y = a(y);
90
- } catch (S) {
91
- n.call(this, S);
95
+ R = a(R);
96
+ } catch (m) {
97
+ o.call(this, m);
92
98
  break;
93
99
  }
94
100
  }
95
101
  try {
96
- u = R.call(this, y);
102
+ h = I.call(this, R);
97
103
  } catch (a) {
98
104
  return Promise.reject(a);
99
105
  }
100
- for (l = 0, p = c.length; l < p; )
101
- u = u.then(c[l++], c[l++]);
102
- return u;
106
+ for (i = 0, c = p.length; i < c; )
107
+ h = h.then(p[i++], p[i++]);
108
+ return h;
103
109
  }
104
110
  getUri(t) {
105
111
  t = w(this.defaults, t);
106
- const e = A(t.baseURL, t.url, t.allowAbsoluteUrls);
107
- return U(e, t.params, t.paramsSerializer);
112
+ const e = U(t.baseURL, t.url, t.allowAbsoluteUrls);
113
+ return S(e, t.params, t.paramsSerializer);
108
114
  }
109
115
  }
110
116
  d.forEach(["delete", "get", "head", "options"], function(t) {
111
- k.prototype[t] = function(e, r) {
117
+ q.prototype[t] = function(e, r) {
112
118
  return this.request(w(r || {}, {
113
119
  method: t,
114
120
  url: e,
@@ -118,8 +124,8 @@ d.forEach(["delete", "get", "head", "options"], function(t) {
118
124
  });
119
125
  d.forEach(["post", "put", "patch"], function(t) {
120
126
  function e(r) {
121
- return function(s, f, h) {
122
- return this.request(w(h || {}, {
127
+ return function(s, f, u) {
128
+ return this.request(w(u || {}, {
123
129
  method: t,
124
130
  headers: r ? {
125
131
  "Content-Type": "multipart/form-data"
@@ -129,8 +135,8 @@ d.forEach(["post", "put", "patch"], function(t) {
129
135
  }));
130
136
  };
131
137
  }
132
- k.prototype[t] = e(), k.prototype[t + "Form"] = e(!0);
138
+ q.prototype[t] = e(), q.prototype[t + "Form"] = e(!0);
133
139
  });
134
140
  export {
135
- k as default
141
+ q as default
136
142
  };
package/dist/index291.js CHANGED
@@ -1,35 +1,35 @@
1
- import i from "./index288.js";
1
+ import r from "./index288.js";
2
2
  import h from "./index302.js";
3
- const c = (s) => s instanceof h ? { ...s } : s;
3
+ const g = (s) => s instanceof h ? { ...s } : s;
4
4
  function C(s, f) {
5
5
  f = f || {};
6
6
  const u = {};
7
- function d(t, e, r, o) {
8
- return i.isPlainObject(t) && i.isPlainObject(e) ? i.merge.call({ caseless: o }, t, e) : i.isPlainObject(e) ? i.merge({}, e) : i.isArray(e) ? e.slice() : e;
7
+ function o(t, e, i, d) {
8
+ return r.isPlainObject(t) && r.isPlainObject(e) ? r.merge.call({ caseless: d }, t, e) : r.isPlainObject(e) ? r.merge({}, e) : r.isArray(e) ? e.slice() : e;
9
9
  }
10
- function l(t, e, r, o) {
11
- if (i.isUndefined(e)) {
12
- if (!i.isUndefined(t))
13
- return d(void 0, t, r, o);
14
- } else return d(t, e, r, o);
10
+ function l(t, e, i, d) {
11
+ if (r.isUndefined(e)) {
12
+ if (!r.isUndefined(t))
13
+ return o(void 0, t, i, d);
14
+ } else return o(t, e, i, d);
15
15
  }
16
16
  function a(t, e) {
17
- if (!i.isUndefined(e))
18
- return d(void 0, e);
17
+ if (!r.isUndefined(e))
18
+ return o(void 0, e);
19
19
  }
20
20
  function n(t, e) {
21
- if (i.isUndefined(e)) {
22
- if (!i.isUndefined(t))
23
- return d(void 0, t);
24
- } else return d(void 0, e);
21
+ if (r.isUndefined(e)) {
22
+ if (!r.isUndefined(t))
23
+ return o(void 0, t);
24
+ } else return o(void 0, e);
25
25
  }
26
- function m(t, e, r) {
27
- if (r in f)
28
- return d(t, e);
29
- if (r in s)
30
- return d(void 0, t);
26
+ function m(t, e, i) {
27
+ if (i in f)
28
+ return o(t, e);
29
+ if (i in s)
30
+ return o(void 0, t);
31
31
  }
32
- const g = {
32
+ const c = {
33
33
  url: a,
34
34
  method: a,
35
35
  data: a,
@@ -58,12 +58,17 @@ function C(s, f) {
58
58
  socketPath: n,
59
59
  responseEncoding: n,
60
60
  validateStatus: m,
61
- headers: (t, e, r) => l(c(t), c(e), r, !0)
61
+ headers: (t, e, i) => l(g(t), g(e), i, !0)
62
62
  };
63
- return i.forEach(Object.keys({ ...s, ...f }), function(e) {
64
- const r = g[e] || l, o = r(s[e], f[e], e);
65
- i.isUndefined(o) && r !== m || (u[e] = o);
66
- }), u;
63
+ return r.forEach(
64
+ Object.keys({ ...s, ...f }),
65
+ function(e) {
66
+ if (e === "__proto__" || e === "constructor" || e === "prototype")
67
+ return;
68
+ const i = r.hasOwnProp(c, e) ? c[e] : l, d = i(s[e], f[e], e);
69
+ r.isUndefined(d) && i !== m || (u[e] = d);
70
+ }
71
+ ), u;
67
72
  }
68
73
  export {
69
74
  C as default
package/dist/index294.js CHANGED
@@ -1,11 +1,18 @@
1
- import r from "./index299.js";
2
- import i from "./index288.js";
3
- function l(o, t, e) {
4
- r.call(this, o ?? "canceled", r.ERR_CANCELED, t, e), this.name = "CanceledError";
1
+ import e from "./index299.js";
2
+ class n extends e {
3
+ /**
4
+ * A `CanceledError` is an object that is thrown when an operation is canceled.
5
+ *
6
+ * @param {string=} message The message.
7
+ * @param {Object=} config The config.
8
+ * @param {Object=} request The request.
9
+ *
10
+ * @returns {CanceledError} The created error.
11
+ */
12
+ constructor(r, o, t) {
13
+ super(r ?? "canceled", e.ERR_CANCELED, o, t), this.name = "CanceledError", this.__CANCEL__ = !0;
14
+ }
5
15
  }
6
- i.inherits(l, r, {
7
- __CANCEL__: !0
8
- });
9
16
  export {
10
- l as default
17
+ n as default
11
18
  };
package/dist/index297.js CHANGED
@@ -1,4 +1,4 @@
1
- const o = "1.13.2";
1
+ const o = "1.13.5";
2
2
  export {
3
3
  o as VERSION
4
4
  };