@quoreadmin/ui 1.9.2 → 1.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index143.js +338 -329
- package/dist/index145.js +1 -1
- package/dist/index182.js +4 -4
- package/dist/index189.js +8 -8
- package/dist/index191.js +8 -8
- package/dist/index193.js +36 -1228
- package/dist/{index196.js → index194.js} +17 -17
- package/dist/index195.js +1228 -36
- package/dist/index197.js +26 -26
- package/dist/index198.js +1 -1
- package/dist/index199.js +1 -1
- package/dist/index208.js +4 -4
- package/dist/index212.js +2 -2
- package/dist/index223.js +2 -2
- package/dist/index224.js +2 -2
- package/dist/index225.js +1 -1
- package/dist/index226.js +156 -122
- package/dist/index227.js +225 -35
- package/dist/index228.js +37 -80
- package/dist/index229.js +10 -20
- package/dist/index230.js +126 -19
- package/dist/index231.js +34 -16
- package/dist/index232.js +80 -20
- package/dist/index233.js +8 -8
- package/dist/index234.js +19 -160
- package/dist/index235.js +20 -228
- package/dist/index236.js +19 -36
- package/dist/index237.js +20 -10
- package/dist/index238.js +160 -21
- package/dist/index239.js +10 -12
- package/dist/index240.js +15 -13
- package/dist/index241.js +153 -790
- package/dist/index242.js +45 -677
- package/dist/index243.js +33 -175
- package/dist/index244.js +38 -20
- package/dist/index245.js +13 -11
- package/dist/index246.js +12 -10
- package/dist/index247.js +20 -3
- package/dist/index248.js +785 -136
- package/dist/index249.js +656 -87
- package/dist/index250.js +171 -156
- package/dist/index251.js +22 -1223
- package/dist/index252.js +11 -11
- package/dist/index253.js +12 -14
- package/dist/index254.js +3 -20
- package/dist/index255.js +186 -21
- package/dist/index256.js +132 -28
- package/dist/index257.js +1223 -20
- package/dist/index258.js +13 -13
- package/dist/index259.js +22 -2
- package/dist/index260.js +22 -2
- package/dist/index261.js +20 -13
- package/dist/index262.js +19 -198
- package/dist/index263.js +18 -68
- package/dist/index264.js +2 -34
- package/dist/index265.js +2 -40
- package/dist/index266.js +6 -6
- package/dist/index267.js +1 -1
- package/dist/index268.js +1 -1
- package/dist/index281.js +2 -2
- package/dist/index282.js +3 -253
- package/dist/index283.js +27 -8
- package/dist/index284.js +219 -104
- package/dist/index285.js +8 -83
- package/dist/index286.js +138 -3
- package/dist/index287.js +80 -24
- package/dist/index290.js +48 -256
- package/dist/index291.js +25 -5
- package/dist/index292.js +21 -139
- package/dist/index293.js +21 -72
- package/dist/index294.js +14 -85
- package/dist/index295.js +17 -29
- package/dist/index296.js +22 -15
- package/dist/index297.js +1523 -64
- package/dist/index298.js +385 -3
- package/dist/index299.js +2731 -2
- package/dist/index300.js +80 -77
- package/dist/index301.js +3792 -53
- package/dist/index302.js +58 -4
- package/dist/index303.js +78 -4
- package/dist/index304.js +21 -178
- package/dist/index305.js +928 -56
- package/dist/index306.js +22 -75
- package/dist/index307.js +19 -78
- package/dist/index308.js +13 -15
- package/dist/index309.js +64 -930
- package/dist/index310.js +18 -21
- package/dist/index311.js +19 -20
- package/dist/index312.js +12 -10
- package/dist/index313.js +21 -68
- package/dist/index314.js +60 -16
- package/dist/index315.js +15 -19
- package/dist/index316.js +82 -52
- package/dist/index317.js +202 -22
- package/dist/index318.js +246 -22
- package/dist/index319.js +260 -61
- package/dist/index320.js +5 -25
- package/dist/index321.js +139 -21
- package/dist/index322.js +72 -21
- package/dist/index323.js +85 -14
- package/dist/index324.js +29 -17
- package/dist/index325.js +15 -22
- package/dist/index326.js +64 -1523
- package/dist/index327.js +3 -385
- package/dist/index328.js +2 -2731
- package/dist/index329.js +77 -80
- package/dist/index330.js +53 -3792
- package/dist/index331.js +4 -58
- package/dist/index332.js +5 -15
- package/dist/index333.js +166 -71
- package/dist/index334.js +57 -196
- package/dist/index335.js +75 -246
- package/dist/index359.js +1 -1
- package/dist/index360.js +19 -18
- package/dist/index361.js +19 -56
- package/dist/index362.js +63 -28
- package/dist/index363.js +37 -7
- package/dist/index364.js +16 -49
- package/dist/index365.js +57 -7
- package/dist/index366.js +27 -10
- package/dist/index367.js +7 -7
- package/dist/index368.js +51 -27
- package/dist/index369.js +7 -2
- package/dist/index370.js +11 -69
- package/dist/index371.js +6 -166
- package/dist/index372.js +28 -20
- package/dist/index373.js +2 -20
- package/dist/index374.js +67 -61
- package/dist/index375.js +166 -36
- package/dist/index376.js +98 -28
- package/dist/index377.js +90 -10
- package/dist/index378.js +17 -4
- package/dist/index379.js +98 -4
- package/dist/index380.js +30 -12
- package/dist/index381.js +11 -7
- package/dist/index382.js +3 -11
- package/dist/index383.js +3 -4
- package/dist/index384.js +13 -33
- package/dist/index385.js +7 -31
- package/dist/index386.js +12 -28
- package/dist/index387.js +5 -61
- package/dist/index388.js +33 -17
- package/dist/index389.js +29 -99
- package/dist/index390.js +28 -91
- package/dist/index391.js +59 -96
- package/dist/index392.js +1 -1
- package/dist/index397.js +1 -1
- package/dist/index398.js +2 -2
- package/dist/index44.js +288 -261
- package/dist/index49.js +2 -2
- package/dist/src/components/grid/grid.stories.d.ts +6 -6
- package/dist/src/components/list/list.stories.d.ts +3 -3
- package/dist/src/components/modal/modal.stories.d.ts +3 -3
- package/dist/src/components/select/select.d.ts +3 -3
- package/dist/src/components/select/select.stories.d.ts +9 -9
- package/package.json +1 -1
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +0 -2018
package/dist/index302.js
CHANGED
|
@@ -1,8 +1,62 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { keyName as u, base as c } from "./index377.js";
|
|
2
|
+
import { Plugin as d } from "./index281.js";
|
|
3
|
+
const p = typeof navigator < "u" && /Mac|iP(hone|[oa]d)/.test(navigator.platform), y = typeof navigator < "u" && /Win/.test(navigator.platform);
|
|
4
|
+
function m(e) {
|
|
5
|
+
let r = e.split(/-(?!$)/), t = r[r.length - 1];
|
|
6
|
+
t == "Space" && (t = " ");
|
|
7
|
+
let i, f, o, a;
|
|
8
|
+
for (let l = 0; l < r.length - 1; l++) {
|
|
9
|
+
let s = r[l];
|
|
10
|
+
if (/^(cmd|meta|m)$/i.test(s))
|
|
11
|
+
a = !0;
|
|
12
|
+
else if (/^a(lt)?$/i.test(s))
|
|
13
|
+
i = !0;
|
|
14
|
+
else if (/^(c|ctrl|control)$/i.test(s))
|
|
15
|
+
f = !0;
|
|
16
|
+
else if (/^s(hift)?$/i.test(s))
|
|
17
|
+
o = !0;
|
|
18
|
+
else if (/^mod$/i.test(s))
|
|
19
|
+
p ? a = !0 : f = !0;
|
|
20
|
+
else
|
|
21
|
+
throw new Error("Unrecognized modifier name: " + s);
|
|
22
|
+
}
|
|
23
|
+
return i && (t = "Alt-" + t), f && (t = "Ctrl-" + t), a && (t = "Meta-" + t), o && (t = "Shift-" + t), t;
|
|
24
|
+
}
|
|
25
|
+
function h(e) {
|
|
26
|
+
let r = /* @__PURE__ */ Object.create(null);
|
|
27
|
+
for (let t in e)
|
|
28
|
+
r[m(t)] = e[t];
|
|
29
|
+
return r;
|
|
30
|
+
}
|
|
31
|
+
function n(e, r, t = !0) {
|
|
32
|
+
return r.altKey && (e = "Alt-" + e), r.ctrlKey && (e = "Ctrl-" + e), r.metaKey && (e = "Meta-" + e), t && r.shiftKey && (e = "Shift-" + e), e;
|
|
33
|
+
}
|
|
34
|
+
function k(e) {
|
|
35
|
+
return new d({ props: { handleKeyDown: K(e) } });
|
|
36
|
+
}
|
|
37
|
+
function K(e) {
|
|
38
|
+
let r = h(e);
|
|
39
|
+
return function(t, i) {
|
|
40
|
+
let f = u(i), o, a = r[n(f, i)];
|
|
41
|
+
if (a && a(t.state, t.dispatch, t))
|
|
42
|
+
return !0;
|
|
43
|
+
if (f.length == 1 && f != " ") {
|
|
44
|
+
if (i.shiftKey) {
|
|
45
|
+
let l = r[n(f, i, !1)];
|
|
46
|
+
if (l && l(t.state, t.dispatch, t))
|
|
47
|
+
return !0;
|
|
48
|
+
}
|
|
49
|
+
if ((i.altKey || i.metaKey || i.ctrlKey) && // Ctrl-Alt may be used for AltGr on Windows
|
|
50
|
+
!(y && i.ctrlKey && i.altKey) && (o = c[i.keyCode]) && o != f) {
|
|
51
|
+
let l = r[n(o, i)];
|
|
52
|
+
if (l && l(t.state, t.dispatch, t))
|
|
53
|
+
return !0;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return !1;
|
|
4
57
|
};
|
|
5
58
|
}
|
|
6
59
|
export {
|
|
7
|
-
|
|
60
|
+
K as keydownHandler,
|
|
61
|
+
k as keymap
|
|
8
62
|
};
|
package/dist/index303.js
CHANGED
|
@@ -1,7 +1,81 @@
|
|
|
1
|
-
import i from "./
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import i from "./index286.js";
|
|
2
|
+
function r(n) {
|
|
3
|
+
"@babel/helpers - typeof";
|
|
4
|
+
return r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
5
|
+
return typeof t;
|
|
6
|
+
} : function(t) {
|
|
7
|
+
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
8
|
+
}, r(n);
|
|
4
9
|
}
|
|
10
|
+
function o(n, t, e) {
|
|
11
|
+
return t = p(t), t in n ? Object.defineProperty(n, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : n[t] = e, n;
|
|
12
|
+
}
|
|
13
|
+
function p(n) {
|
|
14
|
+
var t = g(n, "string");
|
|
15
|
+
return r(t) == "symbol" ? t : String(t);
|
|
16
|
+
}
|
|
17
|
+
function g(n, t) {
|
|
18
|
+
if (r(n) != "object" || !n) return n;
|
|
19
|
+
var e = n[Symbol.toPrimitive];
|
|
20
|
+
if (e !== void 0) {
|
|
21
|
+
var a = e.call(n, t);
|
|
22
|
+
if (r(a) != "object") return a;
|
|
23
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
24
|
+
}
|
|
25
|
+
return (t === "string" ? String : Number)(n);
|
|
26
|
+
}
|
|
27
|
+
var s = {
|
|
28
|
+
paginator: function(t) {
|
|
29
|
+
var e = t.instance, a = t.key;
|
|
30
|
+
return ["p-paginator p-component", o({
|
|
31
|
+
"p-paginator-default": !e.hasBreakpoints()
|
|
32
|
+
}, "p-paginator-".concat(a), e.hasBreakpoints())];
|
|
33
|
+
},
|
|
34
|
+
start: "p-paginator-left-content",
|
|
35
|
+
end: "p-paginator-right-content",
|
|
36
|
+
firstPageButton: function(t) {
|
|
37
|
+
var e = t.instance;
|
|
38
|
+
return ["p-paginator-first p-paginator-element p-link", {
|
|
39
|
+
"p-disabled": e.$attrs.disabled
|
|
40
|
+
}];
|
|
41
|
+
},
|
|
42
|
+
firstPageIcon: "p-paginator-icon",
|
|
43
|
+
previousPageButton: function(t) {
|
|
44
|
+
var e = t.instance;
|
|
45
|
+
return ["p-paginator-prev p-paginator-element p-link", {
|
|
46
|
+
"p-disabled": e.$attrs.disabled
|
|
47
|
+
}];
|
|
48
|
+
},
|
|
49
|
+
previousPageIcon: "p-paginator-icon",
|
|
50
|
+
nextPageButton: function(t) {
|
|
51
|
+
var e = t.instance;
|
|
52
|
+
return ["p-paginator-next p-paginator-element p-link", {
|
|
53
|
+
"p-disabled": e.$attrs.disabled
|
|
54
|
+
}];
|
|
55
|
+
},
|
|
56
|
+
nextPageIcon: "p-paginator-icon",
|
|
57
|
+
lastPageButton: function(t) {
|
|
58
|
+
var e = t.instance;
|
|
59
|
+
return ["p-paginator-last p-paginator-element p-link", {
|
|
60
|
+
"p-disabled": e.$attrs.disabled
|
|
61
|
+
}];
|
|
62
|
+
},
|
|
63
|
+
lastPageIcon: "p-paginator-icon",
|
|
64
|
+
pages: "p-paginator-pages",
|
|
65
|
+
pageButton: function(t) {
|
|
66
|
+
var e = t.props, a = t.pageLink;
|
|
67
|
+
return ["p-paginator-page p-paginator-element p-link", {
|
|
68
|
+
"p-highlight": a - 1 === e.page
|
|
69
|
+
}];
|
|
70
|
+
},
|
|
71
|
+
current: "p-paginator-current",
|
|
72
|
+
rowPerPageDropdown: "p-paginator-rpp-options",
|
|
73
|
+
jumpToPageDropdown: "p-paginator-page-options",
|
|
74
|
+
jumpToPageInput: "p-paginator-page-input"
|
|
75
|
+
}, c = i.extend({
|
|
76
|
+
name: "paginator",
|
|
77
|
+
classes: s
|
|
78
|
+
});
|
|
5
79
|
export {
|
|
6
|
-
|
|
80
|
+
c as default
|
|
7
81
|
};
|
package/dist/index304.js
CHANGED
|
@@ -1,181 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import r from "./index289.js";
|
|
2
|
+
import { openBlock as t, createElementBlock as o, mergeProps as C, createElementVNode as l } from "vue";
|
|
3
|
+
var n = {
|
|
4
|
+
name: "AngleDoubleLeftIcon",
|
|
5
|
+
extends: r
|
|
6
|
+
}, i = /* @__PURE__ */ l("path", {
|
|
7
|
+
"fill-rule": "evenodd",
|
|
8
|
+
"clip-rule": "evenodd",
|
|
9
|
+
d: "M5.71602 11.164C5.80782 11.2021 5.9063 11.2215 6.00569 11.221C6.20216 11.2301 6.39427 11.1612 6.54025 11.0294C6.68191 10.8875 6.76148 10.6953 6.76148 10.4948C6.76148 10.2943 6.68191 10.1021 6.54025 9.96024L3.51441 6.9344L6.54025 3.90855C6.624 3.76126 6.65587 3.59011 6.63076 3.42254C6.60564 3.25498 6.525 3.10069 6.40175 2.98442C6.2785 2.86815 6.11978 2.79662 5.95104 2.7813C5.78229 2.76598 5.61329 2.80776 5.47112 2.89994L1.97123 6.39983C1.82957 6.54167 1.75 6.73393 1.75 6.9344C1.75 7.13486 1.82957 7.32712 1.97123 7.46896L5.47112 10.9991C5.54096 11.0698 5.62422 11.1259 5.71602 11.164ZM11.0488 10.9689C11.1775 11.1156 11.3585 11.2061 11.5531 11.221C11.7477 11.2061 11.9288 11.1156 12.0574 10.9689C12.1815 10.8302 12.25 10.6506 12.25 10.4645C12.25 10.2785 12.1815 10.0989 12.0574 9.96024L9.03158 6.93439L12.0574 3.90855C12.1248 3.76739 12.1468 3.60881 12.1204 3.45463C12.0939 3.30045 12.0203 3.15826 11.9097 3.04765C11.7991 2.93703 11.6569 2.86343 11.5027 2.83698C11.3486 2.81053 11.19 2.83252 11.0488 2.89994L7.51865 6.36957C7.37699 6.51141 7.29742 6.70367 7.29742 6.90414C7.29742 7.1046 7.37699 7.29686 7.51865 7.4387L11.0488 10.9689Z",
|
|
10
|
+
fill: "currentColor"
|
|
11
|
+
}, null, -1), p = [i];
|
|
12
|
+
function d(e, s, a, c, m, u) {
|
|
13
|
+
return t(), o("svg", C({
|
|
14
|
+
width: "14",
|
|
15
|
+
height: "14",
|
|
16
|
+
viewBox: "0 0 14 14",
|
|
17
|
+
fill: "none",
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
19
|
+
}, e.pti()), p, 16);
|
|
6
20
|
}
|
|
7
|
-
|
|
8
|
-
return r === !1 || r == null ? r : i.isArray(r) ? r.map(m) : String(r);
|
|
9
|
-
}
|
|
10
|
-
function A(r) {
|
|
11
|
-
const t = /* @__PURE__ */ Object.create(null), e = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
12
|
-
let s;
|
|
13
|
-
for (; s = e.exec(r); )
|
|
14
|
-
t[s[1]] = s[2];
|
|
15
|
-
return t;
|
|
16
|
-
}
|
|
17
|
-
const k = (r) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim());
|
|
18
|
-
function g(r, t, e, s, n) {
|
|
19
|
-
if (i.isFunction(s))
|
|
20
|
-
return s.call(this, t, e);
|
|
21
|
-
if (n && (t = e), !!i.isString(t)) {
|
|
22
|
-
if (i.isString(s))
|
|
23
|
-
return t.indexOf(s) !== -1;
|
|
24
|
-
if (i.isRegExp(s))
|
|
25
|
-
return s.test(t);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
function E(r) {
|
|
29
|
-
return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, e, s) => e.toUpperCase() + s);
|
|
30
|
-
}
|
|
31
|
-
function j(r, t) {
|
|
32
|
-
const e = i.toCamelCase(" " + t);
|
|
33
|
-
["get", "set", "has"].forEach((s) => {
|
|
34
|
-
Object.defineProperty(r, s + e, {
|
|
35
|
-
value: function(n, o, f) {
|
|
36
|
-
return this[s].call(this, t, n, o, f);
|
|
37
|
-
},
|
|
38
|
-
configurable: !0
|
|
39
|
-
});
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
class b {
|
|
43
|
-
constructor(t) {
|
|
44
|
-
t && this.set(t);
|
|
45
|
-
}
|
|
46
|
-
set(t, e, s) {
|
|
47
|
-
const n = this;
|
|
48
|
-
function o(c, l, a) {
|
|
49
|
-
const u = y(l);
|
|
50
|
-
if (!u)
|
|
51
|
-
throw new Error("header name must be a non-empty string");
|
|
52
|
-
const p = i.findKey(n, u);
|
|
53
|
-
(!p || n[p] === void 0 || a === !0 || a === void 0 && n[p] !== !1) && (n[p || l] = m(c));
|
|
54
|
-
}
|
|
55
|
-
const f = (c, l) => i.forEach(c, (a, u) => o(a, u, l));
|
|
56
|
-
if (i.isPlainObject(t) || t instanceof this.constructor)
|
|
57
|
-
f(t, e);
|
|
58
|
-
else if (i.isString(t) && (t = t.trim()) && !k(t))
|
|
59
|
-
f(S(t), e);
|
|
60
|
-
else if (i.isObject(t) && i.isIterable(t)) {
|
|
61
|
-
let c = {}, l, a;
|
|
62
|
-
for (const u of t) {
|
|
63
|
-
if (!i.isArray(u))
|
|
64
|
-
throw TypeError("Object iterator must return a key-value pair");
|
|
65
|
-
c[a = u[0]] = (l = c[a]) ? i.isArray(l) ? [...l, u[1]] : [l, u[1]] : u[1];
|
|
66
|
-
}
|
|
67
|
-
f(c, e);
|
|
68
|
-
} else
|
|
69
|
-
t != null && o(e, t, s);
|
|
70
|
-
return this;
|
|
71
|
-
}
|
|
72
|
-
get(t, e) {
|
|
73
|
-
if (t = y(t), t) {
|
|
74
|
-
const s = i.findKey(this, t);
|
|
75
|
-
if (s) {
|
|
76
|
-
const n = this[s];
|
|
77
|
-
if (!e)
|
|
78
|
-
return n;
|
|
79
|
-
if (e === !0)
|
|
80
|
-
return A(n);
|
|
81
|
-
if (i.isFunction(e))
|
|
82
|
-
return e.call(this, n, s);
|
|
83
|
-
if (i.isRegExp(e))
|
|
84
|
-
return e.exec(n);
|
|
85
|
-
throw new TypeError("parser must be boolean|regexp|function");
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
has(t, e) {
|
|
90
|
-
if (t = y(t), t) {
|
|
91
|
-
const s = i.findKey(this, t);
|
|
92
|
-
return !!(s && this[s] !== void 0 && (!e || g(this, this[s], s, e)));
|
|
93
|
-
}
|
|
94
|
-
return !1;
|
|
95
|
-
}
|
|
96
|
-
delete(t, e) {
|
|
97
|
-
const s = this;
|
|
98
|
-
let n = !1;
|
|
99
|
-
function o(f) {
|
|
100
|
-
if (f = y(f), f) {
|
|
101
|
-
const c = i.findKey(s, f);
|
|
102
|
-
c && (!e || g(s, s[c], c, e)) && (delete s[c], n = !0);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
return i.isArray(t) ? t.forEach(o) : o(t), n;
|
|
106
|
-
}
|
|
107
|
-
clear(t) {
|
|
108
|
-
const e = Object.keys(this);
|
|
109
|
-
let s = e.length, n = !1;
|
|
110
|
-
for (; s--; ) {
|
|
111
|
-
const o = e[s];
|
|
112
|
-
(!t || g(this, this[o], o, t, !0)) && (delete this[o], n = !0);
|
|
113
|
-
}
|
|
114
|
-
return n;
|
|
115
|
-
}
|
|
116
|
-
normalize(t) {
|
|
117
|
-
const e = this, s = {};
|
|
118
|
-
return i.forEach(this, (n, o) => {
|
|
119
|
-
const f = i.findKey(s, o);
|
|
120
|
-
if (f) {
|
|
121
|
-
e[f] = m(n), delete e[o];
|
|
122
|
-
return;
|
|
123
|
-
}
|
|
124
|
-
const c = t ? E(o) : String(o).trim();
|
|
125
|
-
c !== o && delete e[o], e[c] = m(n), s[c] = !0;
|
|
126
|
-
}), this;
|
|
127
|
-
}
|
|
128
|
-
concat(...t) {
|
|
129
|
-
return this.constructor.concat(this, ...t);
|
|
130
|
-
}
|
|
131
|
-
toJSON(t) {
|
|
132
|
-
const e = /* @__PURE__ */ Object.create(null);
|
|
133
|
-
return i.forEach(this, (s, n) => {
|
|
134
|
-
s != null && s !== !1 && (e[n] = t && i.isArray(s) ? s.join(", ") : s);
|
|
135
|
-
}), e;
|
|
136
|
-
}
|
|
137
|
-
[Symbol.iterator]() {
|
|
138
|
-
return Object.entries(this.toJSON())[Symbol.iterator]();
|
|
139
|
-
}
|
|
140
|
-
toString() {
|
|
141
|
-
return Object.entries(this.toJSON()).map(([t, e]) => t + ": " + e).join(`
|
|
142
|
-
`);
|
|
143
|
-
}
|
|
144
|
-
getSetCookie() {
|
|
145
|
-
return this.get("set-cookie") || [];
|
|
146
|
-
}
|
|
147
|
-
get [Symbol.toStringTag]() {
|
|
148
|
-
return "AxiosHeaders";
|
|
149
|
-
}
|
|
150
|
-
static from(t) {
|
|
151
|
-
return t instanceof this ? t : new this(t);
|
|
152
|
-
}
|
|
153
|
-
static concat(t, ...e) {
|
|
154
|
-
const s = new this(t);
|
|
155
|
-
return e.forEach((n) => s.set(n)), s;
|
|
156
|
-
}
|
|
157
|
-
static accessor(t) {
|
|
158
|
-
const s = (this[h] = this[h] = {
|
|
159
|
-
accessors: {}
|
|
160
|
-
}).accessors, n = this.prototype;
|
|
161
|
-
function o(f) {
|
|
162
|
-
const c = y(f);
|
|
163
|
-
s[c] || (j(n, f), s[c] = !0);
|
|
164
|
-
}
|
|
165
|
-
return i.isArray(t) ? t.forEach(o) : o(t), this;
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
b.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
|
169
|
-
i.reduceDescriptors(b.prototype, ({ value: r }, t) => {
|
|
170
|
-
let e = t[0].toUpperCase() + t.slice(1);
|
|
171
|
-
return {
|
|
172
|
-
get: () => r,
|
|
173
|
-
set(s) {
|
|
174
|
-
this[e] = s;
|
|
175
|
-
}
|
|
176
|
-
};
|
|
177
|
-
});
|
|
178
|
-
i.freezeMethods(b);
|
|
21
|
+
n.render = d;
|
|
179
22
|
export {
|
|
180
|
-
|
|
23
|
+
n as default
|
|
181
24
|
};
|