@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.
- package/dist/index131.js +151 -90
- package/dist/index140.js +291 -281
- package/dist/index185.js +7 -7
- package/dist/index191.js +23 -23
- package/dist/index192.js +1 -1
- package/dist/index193.js +1 -1
- package/dist/index196.js +2 -2
- package/dist/index198.js +14 -14
- package/dist/index199.js +1 -1
- package/dist/index200.js +1 -1
- package/dist/index201.js +3 -3
- package/dist/index202.js +6 -6
- package/dist/index203.js +2 -2
- package/dist/index204.js +2 -2
- package/dist/index205.js +1 -1
- package/dist/index220.js +1 -1
- package/dist/index224.js +1 -1
- package/dist/index226.js +1 -1
- package/dist/index232.js +105 -231
- package/dist/index233.js +38 -8
- package/dist/index234.js +78 -136
- package/dist/index235.js +20 -83
- package/dist/index236.js +20 -3632
- package/dist/index237.js +20 -55
- package/dist/index238.js +20 -77
- package/dist/index239.js +22 -52
- package/dist/index240.js +22 -215
- package/dist/index241.js +20 -10
- package/dist/index242.js +827 -48
- package/dist/index243.js +691 -50
- package/dist/index244.js +174 -52
- package/dist/index245.js +22 -75
- package/dist/index246.js +19 -722
- package/dist/index247.js +20 -39
- package/dist/index248.js +3 -64
- package/dist/index249.js +187 -11
- package/dist/index250.js +124 -696
- package/dist/index251.js +1189 -786
- package/dist/index252.js +19 -126
- package/dist/index253.js +21 -37
- package/dist/index254.js +22 -80
- package/dist/index255.js +22 -13
- package/dist/index256.js +12 -12
- package/dist/index257.js +9 -9
- package/dist/index258.js +2 -20
- package/dist/index259.js +2 -22
- package/dist/index260.js +3632 -22
- package/dist/index261.js +55 -20
- package/dist/index262.js +64 -823
- package/dist/index263.js +43 -693
- package/dist/index264.js +204 -165
- package/dist/index265.js +10 -22
- package/dist/index266.js +57 -20
- package/dist/index267.js +61 -20
- package/dist/index268.js +54 -3
- package/dist/index269.js +69 -181
- package/dist/index270.js +710 -120
- package/dist/index271.js +33 -1217
- package/dist/index272.js +64 -20
- package/dist/index273.js +11 -22
- package/dist/index274.js +705 -22
- package/dist/index275.js +820 -29
- package/dist/index276.js +253 -20
- package/dist/index277.js +8 -20
- package/dist/index278.js +138 -2
- package/dist/index279.js +83 -2
- package/dist/index280.js +1 -1
- package/dist/index285.js +1 -1
- package/dist/index286.js +1 -1
- package/dist/index287.js +1 -1
- package/dist/index288.js +137 -110
- package/dist/index290.js +62 -56
- package/dist/index291.js +31 -26
- package/dist/index294.js +15 -8
- package/dist/index297.js +1 -1
- package/dist/index299.js +36 -37
- package/dist/index305.js +2 -1518
- package/dist/index306.js +1478 -346
- package/dist/index307.js +330 -2675
- package/dist/index308.js +2717 -72
- package/dist/index309.js +75 -3759
- package/dist/index310.js +3758 -48
- package/dist/index311.js +60 -15
- package/dist/index312.js +76 -81
- package/dist/index313.js +22 -202
- package/dist/index314.js +915 -226
- package/dist/index315.js +22 -2
- package/dist/index316.js +19 -78
- package/dist/index317.js +13 -15
- package/dist/index318.js +64 -930
- package/dist/index319.js +18 -21
- package/dist/index320.js +19 -20
- package/dist/index321.js +12 -10
- package/dist/index322.js +21 -68
- package/dist/index323.js +60 -16
- package/dist/index324.js +15 -19
- package/dist/index325.js +83 -21
- package/dist/index326.js +202 -22
- package/dist/index327.js +246 -63
- package/dist/index330.js +1 -1
- package/dist/index331.js +12 -14
- package/dist/index332.js +1 -0
- package/dist/index336.js +4 -3
- package/dist/index342.js +27 -27
- package/dist/index345.js +1 -1
- package/dist/index346.js +1 -1
- package/dist/index372.js +1 -1
- package/dist/index380.js +1 -1
- package/dist/index382.js +16 -100
- package/dist/index383.js +100 -90
- package/dist/index384.js +91 -98
- package/dist/index385.js +97 -16
- package/dist/index43.js +160 -158
- package/dist/src/components/comment/comment.d.ts +27 -0
- package/dist/src/components/comment/comment.stories.d.ts +27 -0
- package/dist/src/components/comment-section/comment-section.d.ts +27 -0
- package/dist/src/components/comment-section/comment-section.stories.d.ts +27 -0
- package/dist/src/components/data-filter/data-filter.d.ts +27 -0
- package/dist/src/components/data-list/data-list.d.ts +27 -0
- package/dist/src/components/grid/grid.stories.d.ts +54 -0
- package/dist/src/components/popover/popover.d.ts +37 -0
- package/dist/src/components/popover/popover.stories.d.ts +189 -0
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +60 -2
- package/dist/src/views/lists.vue.d.ts +54 -0
- package/dist/src/views/tables.vue.d.ts +27 -0
- 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:
|
|
3
|
-
const
|
|
4
|
-
return e[
|
|
5
|
-
})(/* @__PURE__ */ Object.create(null)), f = (e) => (e = e.toLowerCase(), (t) =>
|
|
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
|
|
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 &&
|
|
12
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && S(e.buffer), t;
|
|
13
13
|
}
|
|
14
|
-
const
|
|
15
|
-
if (
|
|
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 =
|
|
18
|
-
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(
|
|
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"),
|
|
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 =
|
|
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] = [
|
|
32
|
-
|
|
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
|
|
40
|
+
let n, s;
|
|
36
41
|
if (typeof e != "object" && (e = [e]), p(e))
|
|
37
|
-
for (
|
|
38
|
-
t.call(null, 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 =
|
|
47
|
+
const o = r ? Object.getOwnPropertyNames(e) : Object.keys(e), i = o.length;
|
|
43
48
|
let l;
|
|
44
|
-
for (
|
|
45
|
-
l = o[
|
|
49
|
+
for (n = 0; n < i; n++)
|
|
50
|
+
l = o[n], t.call(null, e[l], l, e);
|
|
46
51
|
}
|
|
47
52
|
}
|
|
48
|
-
function
|
|
53
|
+
function E(e, t) {
|
|
49
54
|
if (d(e))
|
|
50
55
|
return null;
|
|
51
56
|
t = t.toLowerCase();
|
|
52
|
-
const
|
|
53
|
-
let
|
|
54
|
-
for (;
|
|
55
|
-
if (s = n
|
|
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
|
|
61
|
-
const { caseless: e, skipUndefined: t } = L(this) && this || {},
|
|
62
|
-
|
|
63
|
-
|
|
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],
|
|
67
|
-
return
|
|
73
|
+
arguments[s] && m(arguments[s], n);
|
|
74
|
+
return r;
|
|
68
75
|
}
|
|
69
|
-
const X = (e, t,
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
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
|
-
}),
|
|
75
|
-
}, j = (e, t,
|
|
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], (!
|
|
82
|
-
e =
|
|
83
|
-
} while (e && (!
|
|
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,
|
|
86
|
-
e = String(e), (
|
|
87
|
-
const
|
|
88
|
-
return
|
|
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 (!
|
|
94
|
-
const
|
|
122
|
+
if (!B(t)) return null;
|
|
123
|
+
const r = new Array(t);
|
|
95
124
|
for (; t-- > 0; )
|
|
96
|
-
|
|
97
|
-
return
|
|
98
|
-
}, te = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" &&
|
|
99
|
-
const
|
|
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 =
|
|
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
|
-
},
|
|
106
|
-
let
|
|
107
|
-
const
|
|
108
|
-
for (; (
|
|
109
|
-
|
|
110
|
-
return
|
|
111
|
-
}, se = f("HTMLFormElement"), oe = (e) => e.toLowerCase().replace(
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
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 && (
|
|
121
|
-
}), Object.defineProperties(e,
|
|
146
|
+
(i = t(s, o, e)) !== !1 && (n[o] = i || s);
|
|
147
|
+
}), Object.defineProperties(e, n);
|
|
122
148
|
}, ce = (e) => {
|
|
123
|
-
C(e, (t,
|
|
124
|
-
if (c(e) && ["arguments", "caller", "callee"].indexOf(
|
|
149
|
+
C(e, (t, r) => {
|
|
150
|
+
if (c(e) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
|
|
125
151
|
return !1;
|
|
126
|
-
const
|
|
127
|
-
if (c(
|
|
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 '" +
|
|
159
|
+
throw Error("Can not rewrite read-only method '" + r + "'");
|
|
134
160
|
});
|
|
135
161
|
}
|
|
136
162
|
});
|
|
137
163
|
}, fe = (e, t) => {
|
|
138
|
-
const
|
|
164
|
+
const r = {}, n = (s) => {
|
|
139
165
|
s.forEach((o) => {
|
|
140
|
-
|
|
166
|
+
r[o] = !0;
|
|
141
167
|
});
|
|
142
168
|
};
|
|
143
|
-
return p(e) ?
|
|
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[
|
|
173
|
+
return !!(e && c(e.append) && e[x] === "FormData" && e[g]);
|
|
148
174
|
}
|
|
149
175
|
const pe = (e) => {
|
|
150
|
-
const t = new Array(10),
|
|
151
|
-
if (y(
|
|
152
|
-
if (t.indexOf(
|
|
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(
|
|
155
|
-
return
|
|
156
|
-
if (!("toJSON" in
|
|
157
|
-
t[s] =
|
|
158
|
-
const o = p(
|
|
159
|
-
return m(
|
|
160
|
-
const
|
|
161
|
-
!a(
|
|
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
|
|
191
|
+
return n;
|
|
166
192
|
};
|
|
167
|
-
return
|
|
168
|
-
}, de = f("AsyncFunction"), ye = (e) => e && (y(e) || c(e)) && c(e.then) && c(e.catch), D = ((e, t) => e ? setImmediate : t ? ((
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
),
|
|
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:
|
|
204
|
+
isArrayBuffer: S,
|
|
178
205
|
isBuffer: d,
|
|
179
206
|
isFormData: z,
|
|
180
207
|
isArrayBufferView: M,
|
|
181
|
-
isString:
|
|
182
|
-
isNumber:
|
|
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:
|
|
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:
|
|
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:
|
|
235
|
+
kindOf: b,
|
|
209
236
|
kindOfTest: f,
|
|
210
237
|
endsWith: v,
|
|
211
238
|
toArray: ee,
|
|
212
|
-
forEachEntry:
|
|
213
|
-
matchAll:
|
|
239
|
+
forEachEntry: re,
|
|
240
|
+
matchAll: ne,
|
|
214
241
|
isHTMLForm: se,
|
|
215
|
-
hasOwnProperty:
|
|
216
|
-
hasOwnProp:
|
|
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:
|
|
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
|
-
|
|
263
|
+
be as default
|
|
237
264
|
};
|
package/dist/index290.js
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import d from "./index288.js";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
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
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
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
|
|
14
|
-
response: new
|
|
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
|
|
31
|
-
Error.captureStackTrace ? Error.captureStackTrace(
|
|
32
|
-
const s =
|
|
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:
|
|
45
|
-
r !== void 0 &&
|
|
46
|
-
silentJSONParsing:
|
|
47
|
-
forcedJSONParsing:
|
|
48
|
-
clarifyTimeoutError:
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
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 =
|
|
68
|
-
const
|
|
69
|
+
), e.headers = A.concat(f, s);
|
|
70
|
+
const u = [];
|
|
69
71
|
let b = !0;
|
|
70
|
-
this.interceptors.request.forEach(function(
|
|
71
|
-
typeof
|
|
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
|
|
74
|
-
this.interceptors.response.forEach(function(
|
|
75
|
-
|
|
79
|
+
const p = [];
|
|
80
|
+
this.interceptors.response.forEach(function(o) {
|
|
81
|
+
p.push(o.fulfilled, o.rejected);
|
|
76
82
|
});
|
|
77
|
-
let
|
|
83
|
+
let h, i = 0, c;
|
|
78
84
|
if (!b) {
|
|
79
|
-
const a = [
|
|
80
|
-
for (a.unshift(...
|
|
81
|
-
|
|
82
|
-
return
|
|
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
|
-
|
|
85
|
-
let
|
|
86
|
-
for (;
|
|
87
|
-
const a =
|
|
90
|
+
c = u.length;
|
|
91
|
+
let R = e;
|
|
92
|
+
for (; i < c; ) {
|
|
93
|
+
const a = u[i++], o = u[i++];
|
|
88
94
|
try {
|
|
89
|
-
|
|
90
|
-
} catch (
|
|
91
|
-
|
|
95
|
+
R = a(R);
|
|
96
|
+
} catch (m) {
|
|
97
|
+
o.call(this, m);
|
|
92
98
|
break;
|
|
93
99
|
}
|
|
94
100
|
}
|
|
95
101
|
try {
|
|
96
|
-
|
|
102
|
+
h = I.call(this, R);
|
|
97
103
|
} catch (a) {
|
|
98
104
|
return Promise.reject(a);
|
|
99
105
|
}
|
|
100
|
-
for (
|
|
101
|
-
|
|
102
|
-
return
|
|
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 =
|
|
107
|
-
return
|
|
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
|
-
|
|
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,
|
|
122
|
-
return this.request(w(
|
|
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
|
-
|
|
138
|
+
q.prototype[t] = e(), q.prototype[t + "Form"] = e(!0);
|
|
133
139
|
});
|
|
134
140
|
export {
|
|
135
|
-
|
|
141
|
+
q as default
|
|
136
142
|
};
|
package/dist/index291.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import
|
|
1
|
+
import r from "./index288.js";
|
|
2
2
|
import h from "./index302.js";
|
|
3
|
-
const
|
|
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
|
|
8
|
-
return
|
|
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,
|
|
11
|
-
if (
|
|
12
|
-
if (!
|
|
13
|
-
return
|
|
14
|
-
} else return
|
|
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 (!
|
|
18
|
-
return
|
|
17
|
+
if (!r.isUndefined(e))
|
|
18
|
+
return o(void 0, e);
|
|
19
19
|
}
|
|
20
20
|
function n(t, e) {
|
|
21
|
-
if (
|
|
22
|
-
if (!
|
|
23
|
-
return
|
|
24
|
-
} else return
|
|
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,
|
|
27
|
-
if (
|
|
28
|
-
return
|
|
29
|
-
if (
|
|
30
|
-
return
|
|
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
|
|
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,
|
|
61
|
+
headers: (t, e, i) => l(g(t), g(e), i, !0)
|
|
62
62
|
};
|
|
63
|
-
return
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
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
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
-
|
|
17
|
+
n as default
|
|
11
18
|
};
|
package/dist/index297.js
CHANGED