se-design 0.0.96 → 0.0.98
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/assets/icons/kebab-menu-blue.svg +8 -0
- package/dist/assets/icons/kebab-menu.svg +8 -0
- package/dist/assets/style.css +1 -0
- package/dist/components/Button/Button.stories.d.ts +1 -2
- package/dist/components/Button/index.d.ts +2 -3
- package/dist/components/Checkbox/index.d.ts +1 -1
- package/dist/components/ColorCodedLabel/index.d.ts +8 -0
- package/dist/components/Dropdown/index.d.ts +19 -0
- package/dist/components/HamburgerMenu/HamburgerMenu.stories.d.ts +0 -1
- package/dist/components/HamburgerMenu/index.d.ts +3 -4
- package/dist/components/Header/index.d.ts +1 -2
- package/dist/components/Icon/Icon.stories.d.ts +0 -1
- package/dist/components/Icon/index.d.ts +1 -2
- package/dist/components/KebabMenu/KebabMenu.stories.d.ts +8 -0
- package/dist/components/KebabMenu/index.d.ts +11 -0
- package/dist/components/LabelChip/index.d.ts +10 -0
- package/dist/components/MenuItem/index.d.ts +5 -2
- package/dist/components/MenuList/index.d.ts +1 -2
- package/dist/components/Modal/Modal.stories.d.ts +0 -1
- package/dist/components/Modal/index.d.ts +0 -1
- package/dist/components/Popover/index.d.ts +19 -0
- package/dist/components/SidebarOverlay/index.d.ts +17 -0
- package/dist/components/SplitButton/SplitButton.stories.d.ts +0 -1
- package/dist/components/SplitButton/index.d.ts +1 -2
- package/dist/components/TableContentLoader/index.d.ts +7 -0
- package/dist/components/TableLayout/index.d.ts +2 -2
- package/dist/components/Tabs/index.d.ts +14 -0
- package/dist/components/Tag/index.d.ts +0 -1
- package/dist/components/Toggle/index.d.ts +0 -1
- package/dist/components/Tooltip/index.d.ts +2 -1
- package/dist/components/index.d.ts +8 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +39 -25
- package/dist/index.js.map +1 -1
- package/dist/index10.js +24 -24
- package/dist/index10.js.map +1 -1
- package/dist/index11.js +30 -15
- package/dist/index11.js.map +1 -1
- package/dist/index12.js +19 -4
- package/dist/index12.js.map +1 -1
- package/dist/index13.js +97 -53
- package/dist/index13.js.map +1 -1
- package/dist/index14.js +27 -12
- package/dist/index14.js.map +1 -1
- package/dist/index15.js +66 -33
- package/dist/index15.js.map +1 -1
- package/dist/index16.js +70 -31
- package/dist/index16.js.map +1 -1
- package/dist/index17.js +20 -8
- package/dist/index17.js.map +1 -1
- package/dist/index18.js +23 -6
- package/dist/index18.js.map +1 -1
- package/dist/index19.js +58 -148
- package/dist/index19.js.map +1 -1
- package/dist/index20.js +135 -8
- package/dist/index20.js.map +1 -1
- package/dist/index21.js +19 -2
- package/dist/index21.js.map +1 -1
- package/dist/index22.js +45 -26
- package/dist/index22.js.map +1 -1
- package/dist/index23.js +30 -606
- package/dist/index23.js.map +1 -1
- package/dist/index24.js +2 -10
- package/dist/index24.js.map +1 -1
- package/dist/index25.js +1 -9
- package/dist/index25.js.map +1 -1
- package/dist/index26.js +2 -5
- package/dist/index26.js.map +1 -1
- package/dist/index27.js +2 -170
- package/dist/index27.js.map +1 -1
- package/dist/index28.js +2 -11
- package/dist/index28.js.map +1 -1
- package/dist/index29.js +2 -2
- package/dist/index29.js.map +1 -1
- package/dist/index3.js +69 -0
- package/dist/index3.js.map +1 -0
- package/dist/index30.js +2 -2
- package/dist/index30.js.map +1 -1
- package/dist/index31.js +1 -5
- package/dist/index31.js.map +1 -1
- package/dist/index32.js +149 -6
- package/dist/index32.js.map +1 -1
- package/dist/index35.js +9 -7
- package/dist/index35.js.map +1 -1
- package/dist/index36.js +9 -326
- package/dist/index36.js.map +1 -1
- package/dist/index37.js +4 -49
- package/dist/index37.js.map +1 -1
- package/dist/index38.js +170 -2
- package/dist/index38.js.map +1 -1
- package/dist/index39.js +11 -76
- package/dist/index39.js.map +1 -1
- package/dist/index4.js +32 -34
- package/dist/index4.js.map +1 -1
- package/dist/index40.js +5 -92
- package/dist/index40.js.map +1 -1
- package/dist/index41.js +5 -51
- package/dist/index41.js.map +1 -1
- package/dist/index42.js +37 -7
- package/dist/index42.js.map +1 -1
- package/dist/index43.js +2 -5
- package/dist/index43.js.map +1 -1
- package/dist/index44.js +7 -51
- package/dist/index44.js.map +1 -1
- package/dist/index45.js +327 -2
- package/dist/index45.js.map +1 -1
- package/dist/index46.js +50 -2
- package/dist/index46.js.map +1 -1
- package/dist/index47.js +5 -0
- package/dist/index47.js.map +1 -0
- package/dist/index48.js +79 -0
- package/dist/index48.js.map +1 -0
- package/dist/index49.js +96 -0
- package/dist/index49.js.map +1 -0
- package/dist/index5.js +63 -7
- package/dist/index5.js.map +1 -1
- package/dist/index50.js +55 -0
- package/dist/index50.js.map +1 -0
- package/dist/index51.js +11 -0
- package/dist/index51.js.map +1 -0
- package/dist/index52.js +8 -0
- package/dist/index52.js.map +1 -0
- package/dist/index53.js +55 -0
- package/dist/index53.js.map +1 -0
- package/dist/index54.js +5 -0
- package/dist/index54.js.map +1 -0
- package/dist/index55.js +5 -0
- package/dist/index55.js.map +1 -0
- package/dist/index6.js +24 -35
- package/dist/index6.js.map +1 -1
- package/dist/index7.js +7 -40
- package/dist/index7.js.map +1 -1
- package/dist/index8.js +28 -3
- package/dist/index8.js.map +1 -1
- package/dist/index9.js +30 -19
- package/dist/index9.js.map +1 -1
- package/package.json +16 -10
- package/dist/components/Popup/index.d.ts +0 -15
- package/dist/index33.js +0 -41
- package/dist/index33.js.map +0 -1
- package/dist/index34.js +0 -5
- package/dist/index34.js.map +0 -1
- package/dist/public/colors.css +0 -1
- package/dist/public/style.css +0 -1
- /package/dist/{public → assets}/icons/back.svg +0 -0
- /package/dist/{public → assets}/icons/close.svg +0 -0
- /package/dist/{public → assets}/icons/down.svg +0 -0
- /package/dist/{public → assets}/icons/hamburger.svg +0 -0
- /package/dist/{public → assets}/icons/pages.svg +0 -0
- /package/dist/{public → assets}/icons/tick.svg +0 -0
package/dist/index30.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
|
1
|
+
const t = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%3e%3cpath%20d='M3%200.732748C2.11635%200.732748%201.4%201.44909%201.4%202.33275V13.6661C1.4%2014.5497%202.11635%2015.2661%203%2015.2661H11C11.8837%2015.2661%2012.6%2014.5497%2012.6%2013.6661V5.54084C12.6%205.35519%2012.5263%205.17714%2012.395%205.04586C12.395%205.04586%2012.395%205.04586%2012.395%205.04586L10.3409%202.99182L8.28689%200.937775C8.15561%200.806498%207.97756%200.732748%207.79191%200.732748H3Z'%20stroke='currentColor'%20stroke-width='1.2'/%3e%3cpath%20d='M7.83273%201.33275V4.49942C7.83273%205.0517%208.28045%205.49942%208.83273%205.49942H11.9994'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'/%3e%3c/svg%3e";
|
2
2
|
export {
|
3
|
-
|
3
|
+
t as default
|
4
4
|
};
|
5
5
|
//# sourceMappingURL=index30.js.map
|
package/dist/index30.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index30.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
1
|
+
{"version":3,"file":"index30.js","sources":["../src/assets/icons/pages.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%3e%3cpath%20d='M3%200.732748C2.11635%200.732748%201.4%201.44909%201.4%202.33275V13.6661C1.4%2014.5497%202.11635%2015.2661%203%2015.2661H11C11.8837%2015.2661%2012.6%2014.5497%2012.6%2013.6661V5.54084C12.6%205.35519%2012.5263%205.17714%2012.395%205.04586C12.395%205.04586%2012.395%205.04586%2012.395%205.04586L10.3409%202.99182L8.28689%200.937775C8.15561%200.806498%207.97756%200.732748%207.79191%200.732748H3Z'%20stroke='currentColor'%20stroke-width='1.2'/%3e%3cpath%20d='M7.83273%201.33275V4.49942C7.83273%205.0517%208.28045%205.49942%208.83273%205.49942H11.9994'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_6"],"mappings":"AAAA,MAAeA,IAAA;"}
|
package/dist/index31.js
CHANGED
@@ -1,8 +1,4 @@
|
|
1
|
-
|
2
|
-
return e = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t, n) {
|
3
|
-
return t.__proto__ = n, t;
|
4
|
-
}, e(o, r);
|
5
|
-
}
|
1
|
+
const e = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.4447%206.36364L8.30181%2013.6364L5.05505%2010.3306'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
|
6
2
|
export {
|
7
3
|
e as default
|
8
4
|
};
|
package/dist/index31.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index31.js","sources":["../
|
1
|
+
{"version":3,"file":"index31.js","sources":["../src/assets/icons/tick.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.4447%206.36364L8.30181%2013.6364L5.05505%2010.3306'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_7"],"mappings":"AAAA,MAAeA,IAAA;"}
|
package/dist/index32.js
CHANGED
@@ -1,9 +1,152 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
}
|
1
|
+
import N from "./index35.js";
|
2
|
+
import R from "./index36.js";
|
3
|
+
import D from "./index37.js";
|
4
|
+
import { SVGInjector as A } from "./index38.js";
|
5
|
+
import { p as t } from "./index39.js";
|
6
|
+
import * as h from "react";
|
7
|
+
var O = function(s) {
|
8
|
+
var o = (s == null ? void 0 : s.ownerDocument) || document;
|
9
|
+
return o.defaultView || window;
|
10
|
+
}, U = function(s, o) {
|
11
|
+
for (var r in s)
|
12
|
+
if (!(r in o))
|
13
|
+
return !0;
|
14
|
+
for (var e in o)
|
15
|
+
if (s[e] !== o[e])
|
16
|
+
return !0;
|
17
|
+
return !1;
|
18
|
+
}, H = ["afterInjection", "beforeInjection", "desc", "evalScripts", "fallback", "httpRequestWithCredentials", "loading", "renumerateIRIElements", "src", "title", "useRequestCache", "wrapper"], v = "http://www.w3.org/2000/svg", q = "http://www.w3.org/1999/xlink", V = /* @__PURE__ */ function(c) {
|
19
|
+
function s() {
|
20
|
+
for (var r, e = arguments.length, n = new Array(e), a = 0; a < e; a++)
|
21
|
+
n[a] = arguments[a];
|
22
|
+
return r = c.call.apply(c, [this].concat(n)) || this, r.initialState = {
|
23
|
+
hasError: !1,
|
24
|
+
isLoading: !0
|
25
|
+
}, r.state = r.initialState, r._isMounted = !1, r.reactWrapper = void 0, r.nonReactWrapper = void 0, r.refCallback = function(u) {
|
26
|
+
r.reactWrapper = u;
|
27
|
+
}, r;
|
28
|
+
}
|
29
|
+
D(s, c);
|
30
|
+
var o = s.prototype;
|
31
|
+
return o.renderSVG = function() {
|
32
|
+
var e = this;
|
33
|
+
if (this.reactWrapper instanceof O(this.reactWrapper).Node) {
|
34
|
+
var n = this.props, a = n.desc, u = n.evalScripts, S = n.httpRequestWithCredentials, E = n.renumerateIRIElements, G = n.src, b = n.title, g = n.useRequestCache, w = this.props.onError, x = this.props.beforeInjection, y = this.props.afterInjection, f = this.props.wrapper, l, p;
|
35
|
+
f === "svg" ? (l = document.createElementNS(v, f), l.setAttribute("xmlns", v), l.setAttribute("xmlns:xlink", q), p = document.createElementNS(v, f)) : (l = document.createElement(f), p = document.createElement(f)), l.appendChild(p), p.dataset.src = G, this.nonReactWrapper = this.reactWrapper.appendChild(l);
|
36
|
+
var I = function(i) {
|
37
|
+
if (e.removeSVG(), !e._isMounted) {
|
38
|
+
w(i);
|
39
|
+
return;
|
40
|
+
}
|
41
|
+
e.setState(function() {
|
42
|
+
return {
|
43
|
+
hasError: !0,
|
44
|
+
isLoading: !1
|
45
|
+
};
|
46
|
+
}, function() {
|
47
|
+
w(i);
|
48
|
+
});
|
49
|
+
}, L = function(i, d) {
|
50
|
+
if (i) {
|
51
|
+
I(i);
|
52
|
+
return;
|
53
|
+
}
|
54
|
+
e._isMounted && e.setState(function() {
|
55
|
+
return {
|
56
|
+
isLoading: !1
|
57
|
+
};
|
58
|
+
}, function() {
|
59
|
+
try {
|
60
|
+
y(d);
|
61
|
+
} catch (m) {
|
62
|
+
I(m);
|
63
|
+
}
|
64
|
+
});
|
65
|
+
}, M = function(i) {
|
66
|
+
if (i.setAttribute("role", "img"), a) {
|
67
|
+
var d = i.querySelector(":scope > desc");
|
68
|
+
d && i.removeChild(d);
|
69
|
+
var m = document.createElement("desc");
|
70
|
+
m.innerHTML = a, i.prepend(m);
|
71
|
+
}
|
72
|
+
if (b) {
|
73
|
+
var j = i.querySelector(":scope > title");
|
74
|
+
j && i.removeChild(j);
|
75
|
+
var C = document.createElement("title");
|
76
|
+
C.innerHTML = b, i.prepend(C);
|
77
|
+
}
|
78
|
+
try {
|
79
|
+
x(i);
|
80
|
+
} catch (k) {
|
81
|
+
I(k);
|
82
|
+
}
|
83
|
+
};
|
84
|
+
A(p, {
|
85
|
+
afterEach: L,
|
86
|
+
beforeEach: M,
|
87
|
+
cacheRequests: g,
|
88
|
+
evalScripts: u,
|
89
|
+
httpRequestWithCredentials: S,
|
90
|
+
renumerateIRIElements: E
|
91
|
+
});
|
92
|
+
}
|
93
|
+
}, o.removeSVG = function() {
|
94
|
+
var e;
|
95
|
+
(e = this.nonReactWrapper) != null && e.parentNode && (this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper), this.nonReactWrapper = null);
|
96
|
+
}, o.componentDidMount = function() {
|
97
|
+
this._isMounted = !0, this.renderSVG();
|
98
|
+
}, o.componentDidUpdate = function(e) {
|
99
|
+
var n = this;
|
100
|
+
U(R({}, e), this.props) && this.setState(function() {
|
101
|
+
return n.initialState;
|
102
|
+
}, function() {
|
103
|
+
n.removeSVG(), n.renderSVG();
|
104
|
+
});
|
105
|
+
}, o.componentWillUnmount = function() {
|
106
|
+
this._isMounted = !1, this.removeSVG();
|
107
|
+
}, o.render = function() {
|
108
|
+
var e = this.props, n = e.fallback, a = e.loading, u = e.wrapper, S = N(e, H), E = u;
|
109
|
+
return /* @__PURE__ */ h.createElement(E, R({}, S, {
|
110
|
+
ref: this.refCallback
|
111
|
+
}, u === "svg" ? {
|
112
|
+
xmlns: v,
|
113
|
+
xmlnsXlink: q
|
114
|
+
} : {}), this.state.isLoading && a && /* @__PURE__ */ h.createElement(a, null), this.state.hasError && n && /* @__PURE__ */ h.createElement(n, null));
|
115
|
+
}, s;
|
116
|
+
}(h.Component);
|
117
|
+
V.defaultProps = {
|
118
|
+
afterInjection: function() {
|
119
|
+
},
|
120
|
+
beforeInjection: function() {
|
121
|
+
},
|
122
|
+
desc: "",
|
123
|
+
evalScripts: "never",
|
124
|
+
fallback: null,
|
125
|
+
httpRequestWithCredentials: !1,
|
126
|
+
loading: null,
|
127
|
+
onError: function() {
|
128
|
+
},
|
129
|
+
renumerateIRIElements: !0,
|
130
|
+
title: "",
|
131
|
+
useRequestCache: !0,
|
132
|
+
wrapper: "div"
|
133
|
+
};
|
134
|
+
V.propTypes = {
|
135
|
+
afterInjection: t.func,
|
136
|
+
beforeInjection: t.func,
|
137
|
+
desc: t.string,
|
138
|
+
evalScripts: t.oneOf(["always", "once", "never"]),
|
139
|
+
fallback: t.oneOfType([t.func, t.object, t.string]),
|
140
|
+
httpRequestWithCredentials: t.bool,
|
141
|
+
loading: t.oneOfType([t.func, t.object, t.string]),
|
142
|
+
onError: t.func,
|
143
|
+
renumerateIRIElements: t.bool,
|
144
|
+
src: t.string.isRequired,
|
145
|
+
title: t.string,
|
146
|
+
useRequestCache: t.bool,
|
147
|
+
wrapper: t.oneOf(["div", "span", "svg"])
|
148
|
+
};
|
6
149
|
export {
|
7
|
-
|
150
|
+
V as ReactSVG
|
8
151
|
};
|
9
152
|
//# sourceMappingURL=index32.js.map
|
package/dist/index32.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index32.js","sources":["../node_modules/@tanem/svg-injector/node_modules/tslib/tslib.es6.mjs"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n function next() {\n while (env.stack.length) {\n var rec = env.stack.pop();\n try {\n var result = rec.dispose && rec.dispose.call(rec.value);\n if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n catch (e) {\n fail(e);\n }\n }\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n};\n"],"names":["__spreadArray","to","from","pack","i","l","ar"],"mappings":"AAqNO,SAASA,EAAcC,GAAIC,GAAMC,GAAM;AAC5C,MAAIA,KAAQ,UAAU,WAAW,EAAG,UAASC,IAAI,GAAGC,IAAIH,EAAK,QAAQI,GAAIF,IAAIC,GAAGD;AAC5E,KAAIE,KAAM,EAAEF,KAAKF,QACRI,MAAIA,IAAK,MAAM,UAAU,MAAM,KAAKJ,GAAM,GAAGE,CAAC,IACnDE,EAAGF,CAAC,IAAIF,EAAKE,CAAC;AAGtB,SAAOH,EAAG,OAAOK,KAAM,MAAM,UAAU,MAAM,KAAKJ,CAAI,CAAC;AACzD;","x_google_ignoreList":[0]}
|
1
|
+
{"version":3,"file":"index32.js","sources":["../node_modules/react-svg/dist/react-svg.esm.js"],"sourcesContent":["import _objectWithoutPropertiesLoose from '@babel/runtime/helpers/objectWithoutPropertiesLoose';\nimport _extends from '@babel/runtime/helpers/extends';\nimport _inheritsLoose from '@babel/runtime/helpers/inheritsLoose';\nimport { SVGInjector } from '@tanem/svg-injector';\nimport * as PropTypes from 'prop-types';\nimport * as React from 'react';\n\n// Hat-tip: https://github.com/mui/material-ui/tree/master/packages/mui-utils/src.\nvar ownerWindow = function ownerWindow(node) {\n var doc = (node == null ? undefined : node.ownerDocument) || document;\n return doc.defaultView || window;\n};\n\n// Hat-tip: https://github.com/developit/preact-compat/blob/master/src/index.js#L402.\nvar shallowDiffers = function shallowDiffers(a, b) {\n for (var i in a) {\n if (!(i in b)) {\n return true;\n }\n }\n for (var _i in b) {\n if (a[_i] !== b[_i]) {\n return true;\n }\n }\n return false;\n};\n\nvar _excluded = [\"afterInjection\", \"beforeInjection\", \"desc\", \"evalScripts\", \"fallback\", \"httpRequestWithCredentials\", \"loading\", \"renumerateIRIElements\", \"src\", \"title\", \"useRequestCache\", \"wrapper\"];\nvar svgNamespace = 'http://www.w3.org/2000/svg';\nvar xlinkNamespace = 'http://www.w3.org/1999/xlink';\nvar ReactSVG = /*#__PURE__*/function (_React$Component) {\n function ReactSVG() {\n var _this;\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this.initialState = {\n hasError: false,\n isLoading: true\n };\n _this.state = _this.initialState;\n _this._isMounted = false;\n _this.reactWrapper = undefined;\n _this.nonReactWrapper = undefined;\n _this.refCallback = function (reactWrapper) {\n _this.reactWrapper = reactWrapper;\n };\n return _this;\n }\n _inheritsLoose(ReactSVG, _React$Component);\n var _proto = ReactSVG.prototype;\n _proto.renderSVG = function renderSVG() {\n var _this2 = this;\n /* istanbul ignore else */\n if (this.reactWrapper instanceof ownerWindow(this.reactWrapper).Node) {\n var _this$props = this.props,\n desc = _this$props.desc,\n evalScripts = _this$props.evalScripts,\n httpRequestWithCredentials = _this$props.httpRequestWithCredentials,\n renumerateIRIElements = _this$props.renumerateIRIElements,\n src = _this$props.src,\n title = _this$props.title,\n useRequestCache = _this$props.useRequestCache;\n /* eslint-disable @typescript-eslint/no-non-null-assertion */\n var onError = this.props.onError;\n var beforeInjection = this.props.beforeInjection;\n var afterInjection = this.props.afterInjection;\n var wrapper = this.props.wrapper;\n var nonReactWrapper;\n var nonReactTarget;\n if (wrapper === 'svg') {\n nonReactWrapper = document.createElementNS(svgNamespace, wrapper);\n nonReactWrapper.setAttribute('xmlns', svgNamespace);\n nonReactWrapper.setAttribute('xmlns:xlink', xlinkNamespace);\n nonReactTarget = document.createElementNS(svgNamespace, wrapper);\n } else {\n nonReactWrapper = document.createElement(wrapper);\n nonReactTarget = document.createElement(wrapper);\n }\n nonReactWrapper.appendChild(nonReactTarget);\n nonReactTarget.dataset.src = src;\n this.nonReactWrapper = this.reactWrapper.appendChild(nonReactWrapper);\n var handleError = function handleError(error) {\n _this2.removeSVG();\n if (!_this2._isMounted) {\n onError(error);\n return;\n }\n _this2.setState(function () {\n return {\n hasError: true,\n isLoading: false\n };\n }, function () {\n onError(error);\n });\n };\n var afterEach = function afterEach(error, svg) {\n if (error) {\n handleError(error);\n return;\n }\n // TODO (Tane): It'd be better to cleanly unsubscribe from SVGInjector\n // callbacks instead of tracking a property like this.\n if (_this2._isMounted) {\n _this2.setState(function () {\n return {\n isLoading: false\n };\n }, function () {\n try {\n afterInjection(svg);\n } catch (afterInjectionError) {\n handleError(afterInjectionError);\n }\n });\n }\n };\n var beforeEach = function beforeEach(svg) {\n svg.setAttribute('role', 'img');\n if (desc) {\n var originalDesc = svg.querySelector(':scope > desc');\n if (originalDesc) {\n svg.removeChild(originalDesc);\n }\n var newDesc = document.createElement('desc');\n newDesc.innerHTML = desc;\n svg.prepend(newDesc);\n }\n if (title) {\n var originalTitle = svg.querySelector(':scope > title');\n if (originalTitle) {\n svg.removeChild(originalTitle);\n }\n var newTitle = document.createElement('title');\n newTitle.innerHTML = title;\n svg.prepend(newTitle);\n }\n try {\n beforeInjection(svg);\n } catch (error) {\n handleError(error);\n }\n };\n SVGInjector(nonReactTarget, {\n afterEach: afterEach,\n beforeEach: beforeEach,\n cacheRequests: useRequestCache,\n evalScripts: evalScripts,\n httpRequestWithCredentials: httpRequestWithCredentials,\n renumerateIRIElements: renumerateIRIElements\n });\n }\n };\n _proto.removeSVG = function removeSVG() {\n var _this$nonReactWrapper;\n if ((_this$nonReactWrapper = this.nonReactWrapper) != null && _this$nonReactWrapper.parentNode) {\n this.nonReactWrapper.parentNode.removeChild(this.nonReactWrapper);\n this.nonReactWrapper = null;\n }\n };\n _proto.componentDidMount = function componentDidMount() {\n this._isMounted = true;\n this.renderSVG();\n };\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var _this3 = this;\n if (shallowDiffers(_extends({}, prevProps), this.props)) {\n this.setState(function () {\n return _this3.initialState;\n }, function () {\n _this3.removeSVG();\n _this3.renderSVG();\n });\n }\n };\n _proto.componentWillUnmount = function componentWillUnmount() {\n this._isMounted = false;\n this.removeSVG();\n };\n _proto.render = function render() {\n /* eslint-disable @typescript-eslint/no-unused-vars */\n var _this$props2 = this.props;\n _this$props2.afterInjection;\n _this$props2.beforeInjection;\n _this$props2.desc;\n _this$props2.evalScripts;\n var Fallback = _this$props2.fallback;\n _this$props2.httpRequestWithCredentials;\n var Loading = _this$props2.loading;\n _this$props2.renumerateIRIElements;\n _this$props2.src;\n _this$props2.title;\n _this$props2.useRequestCache;\n var wrapper = _this$props2.wrapper,\n rest = _objectWithoutPropertiesLoose(_this$props2, _excluded);\n /* eslint-enable @typescript-eslint/no-unused-vars */\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n var Wrapper = wrapper;\n return /*#__PURE__*/React.createElement(Wrapper, _extends({}, rest, {\n ref: this.refCallback\n }, wrapper === 'svg' ? {\n xmlns: svgNamespace,\n xmlnsXlink: xlinkNamespace\n } : {}), this.state.isLoading && Loading && /*#__PURE__*/React.createElement(Loading, null), this.state.hasError && Fallback && /*#__PURE__*/React.createElement(Fallback, null));\n };\n return ReactSVG;\n}(React.Component);\nReactSVG.defaultProps = {\n afterInjection: function afterInjection() {\n return undefined;\n },\n beforeInjection: function beforeInjection() {\n return undefined;\n },\n desc: '',\n evalScripts: 'never',\n fallback: null,\n httpRequestWithCredentials: false,\n loading: null,\n onError: function onError() {\n return undefined;\n },\n renumerateIRIElements: true,\n title: '',\n useRequestCache: true,\n wrapper: 'div'\n};\nReactSVG.propTypes = {\n afterInjection: PropTypes.func,\n beforeInjection: PropTypes.func,\n desc: PropTypes.string,\n evalScripts: PropTypes.oneOf(['always', 'once', 'never']),\n fallback: PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.string]),\n httpRequestWithCredentials: PropTypes.bool,\n loading: PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.string]),\n onError: PropTypes.func,\n renumerateIRIElements: PropTypes.bool,\n src: PropTypes.string.isRequired,\n title: PropTypes.string,\n useRequestCache: PropTypes.bool,\n wrapper: PropTypes.oneOf(['div', 'span', 'svg'])\n} ;\n\nexport { ReactSVG };\n//# sourceMappingURL=react-svg.esm.js.map\n"],"names":["_objectWithoutPropertiesLoose","_extends","_inheritsLoose","SVGInjector","propTypesExports","React","ownerWindow","node","doc","shallowDiffers","a","b","i","_i","_excluded","svgNamespace","xlinkNamespace","ReactSVG","_React$Component","_this","_len","args","_key","reactWrapper","_proto","_this2","_this$props","desc","evalScripts","httpRequestWithCredentials","renumerateIRIElements","src","title","useRequestCache","onError","beforeInjection","afterInjection","wrapper","nonReactWrapper","nonReactTarget","handleError","error","afterEach","svg","afterInjectionError","beforeEach","originalDesc","newDesc","originalTitle","newTitle","_this$nonReactWrapper","prevProps","_this3","_this$props2","Fallback","Loading","rest","Wrapper","PropTypes.func","PropTypes.string","PropTypes.oneOf","PropTypes.oneOfType","PropTypes.object","PropTypes.bool"],"mappings":"AAOA,OAAAA,OAAA;AAAA,OAAAC,OAAA;AAAA,OAAAC,OAAA;AAAA,SAAA,eAAAC,SAAA;A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AAgB,QAAEH,EAAgB,MAAA,CAAC;AAAA,EAClF,4BAA4BI,EAAc;AAAA,EAC1C,SAASF,EAAAA,UAAoB,CAACH,EAAc,MAAEI,EAAgB,QAAEH,EAAgB,MAAA,CAAC;AAAA,EACjF,SAASD,EAAc;AAAA,EACvB,uBAAuBK,EAAc;AAAA,EACrC,KAAKJ,EAAgB,OAAC;AAAA,EACtB,OAAOA,EAAgB;AAAA,EACvB,iBAAiBI,EAAc;AAAA,EAC/B,SAASH,EAAAA,MAAgB,CAAC,OAAO,QAAQ,KAAK,CAAC;AACjD;","x_google_ignoreList":[0]}
|
package/dist/index35.js
CHANGED
@@ -1,11 +1,13 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
var
|
5
|
-
|
6
|
-
|
1
|
+
function r(t, i) {
|
2
|
+
if (t == null) return {};
|
3
|
+
var o = {};
|
4
|
+
for (var e in t) if ({}.hasOwnProperty.call(t, e)) {
|
5
|
+
if (i.indexOf(e) !== -1) continue;
|
6
|
+
o[e] = t[e];
|
7
|
+
}
|
8
|
+
return o;
|
7
9
|
}
|
8
10
|
export {
|
9
|
-
|
11
|
+
r as default
|
10
12
|
};
|
11
13
|
//# sourceMappingURL=index35.js.map
|
package/dist/index35.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index35.js","sources":["../node_modules/
|
1
|
+
{"version":3,"file":"index35.js","sources":["../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"],"sourcesContent":["function _objectWithoutPropertiesLoose(r, e) {\n if (null == r) return {};\n var t = {};\n for (var n in r) if ({}.hasOwnProperty.call(r, n)) {\n if (-1 !== e.indexOf(n)) continue;\n t[n] = r[n];\n }\n return t;\n}\nexport { _objectWithoutPropertiesLoose as default };"],"names":["_objectWithoutPropertiesLoose","r","e","t","n"],"mappings":"AAAA,SAASA,EAA8BC,GAAGC,GAAG;AAC3C,MAAYD,KAAR,KAAW,QAAO,CAAE;AACxB,MAAIE,IAAI,CAAE;AACV,WAASC,KAAKH,EAAG,KAAI,CAAA,EAAG,eAAe,KAAKA,GAAGG,CAAC,GAAG;AACjD,QAAWF,EAAE,QAAQE,CAAC,MAAlB,GAAqB;AACzB,IAAAD,EAAEC,CAAC,IAAIH,EAAEG,CAAC;AAAA,EACd;AACE,SAAOD;AACT;","x_google_ignoreList":[0]}
|
package/dist/index36.js
CHANGED
@@ -1,330 +1,13 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
C = 1;
|
10
|
-
var k = F(), W = N(), h = ee(), j = re(), R = ne(), T = function() {
|
11
|
-
};
|
12
|
-
process.env.NODE_ENV !== "production" && (T = function(x) {
|
13
|
-
var S = "Warning: " + x;
|
14
|
-
typeof console < "u" && console.error(S);
|
15
|
-
try {
|
16
|
-
throw new Error(S);
|
17
|
-
} catch {
|
18
|
-
}
|
19
|
-
});
|
20
|
-
function E() {
|
21
|
-
return null;
|
22
|
-
}
|
23
|
-
return A = function(x, S) {
|
24
|
-
var _ = typeof Symbol == "function" && Symbol.iterator, D = "@@iterator";
|
25
|
-
function m(e) {
|
26
|
-
var r = e && (_ && e[_] || e[D]);
|
27
|
-
if (typeof r == "function")
|
28
|
-
return r;
|
29
|
-
}
|
30
|
-
var P = "<<anonymous>>", w = {
|
31
|
-
array: p("array"),
|
32
|
-
bigint: p("bigint"),
|
33
|
-
bool: p("boolean"),
|
34
|
-
func: p("function"),
|
35
|
-
number: p("number"),
|
36
|
-
object: p("object"),
|
37
|
-
string: p("string"),
|
38
|
-
symbol: p("symbol"),
|
39
|
-
any: M(),
|
40
|
-
arrayOf: U,
|
41
|
-
element: B(),
|
42
|
-
elementType: J(),
|
43
|
-
instanceOf: z,
|
44
|
-
node: G(),
|
45
|
-
objectOf: H,
|
46
|
-
oneOf: L,
|
47
|
-
oneOfType: X,
|
48
|
-
shape: K,
|
49
|
-
exact: Q
|
50
|
-
};
|
51
|
-
function Y(e, r) {
|
52
|
-
return e === r ? e !== 0 || 1 / e === 1 / r : e !== e && r !== r;
|
53
|
-
}
|
54
|
-
function d(e, r) {
|
55
|
-
this.message = e, this.data = r && typeof r == "object" ? r : {}, this.stack = "";
|
56
|
-
}
|
57
|
-
d.prototype = Error.prototype;
|
58
|
-
function v(e) {
|
59
|
-
if (process.env.NODE_ENV !== "production")
|
60
|
-
var r = {}, u = 0;
|
61
|
-
function i(f, t, a, o, c, s, y) {
|
62
|
-
if (o = o || P, s = s || a, y !== h) {
|
63
|
-
if (S) {
|
64
|
-
var l = new Error(
|
65
|
-
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
66
|
-
);
|
67
|
-
throw l.name = "Invariant Violation", l;
|
68
|
-
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
69
|
-
var b = o + ":" + a;
|
70
|
-
!r[b] && // Avoid spamming the console because they are often not actionable except for lib authors
|
71
|
-
u < 3 && (T(
|
72
|
-
"You are manually calling a React.PropTypes validation function for the `" + s + "` prop on `" + o + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
73
|
-
), r[b] = !0, u++);
|
74
|
-
}
|
75
|
-
}
|
76
|
-
return t[a] == null ? f ? t[a] === null ? new d("The " + c + " `" + s + "` is marked as required " + ("in `" + o + "`, but its value is `null`.")) : new d("The " + c + " `" + s + "` is marked as required in " + ("`" + o + "`, but its value is `undefined`.")) : null : e(t, a, o, c, s);
|
77
|
-
}
|
78
|
-
var n = i.bind(null, !1);
|
79
|
-
return n.isRequired = i.bind(null, !0), n;
|
80
|
-
}
|
81
|
-
function p(e) {
|
82
|
-
function r(u, i, n, f, t, a) {
|
83
|
-
var o = u[i], c = g(o);
|
84
|
-
if (c !== e) {
|
85
|
-
var s = O(o);
|
86
|
-
return new d(
|
87
|
-
"Invalid " + f + " `" + t + "` of type " + ("`" + s + "` supplied to `" + n + "`, expected ") + ("`" + e + "`."),
|
88
|
-
{ expectedType: e }
|
89
|
-
);
|
90
|
-
}
|
91
|
-
return null;
|
92
|
-
}
|
93
|
-
return v(r);
|
94
|
-
}
|
95
|
-
function M() {
|
96
|
-
return v(E);
|
97
|
-
}
|
98
|
-
function U(e) {
|
99
|
-
function r(u, i, n, f, t) {
|
100
|
-
if (typeof e != "function")
|
101
|
-
return new d("Property `" + t + "` of component `" + n + "` has invalid PropType notation inside arrayOf.");
|
102
|
-
var a = u[i];
|
103
|
-
if (!Array.isArray(a)) {
|
104
|
-
var o = g(a);
|
105
|
-
return new d("Invalid " + f + " `" + t + "` of type " + ("`" + o + "` supplied to `" + n + "`, expected an array."));
|
106
|
-
}
|
107
|
-
for (var c = 0; c < a.length; c++) {
|
108
|
-
var s = e(a, c, n, f, t + "[" + c + "]", h);
|
109
|
-
if (s instanceof Error)
|
110
|
-
return s;
|
111
|
-
}
|
112
|
-
return null;
|
113
|
-
}
|
114
|
-
return v(r);
|
115
|
-
}
|
116
|
-
function B() {
|
117
|
-
function e(r, u, i, n, f) {
|
118
|
-
var t = r[u];
|
119
|
-
if (!x(t)) {
|
120
|
-
var a = g(t);
|
121
|
-
return new d("Invalid " + n + " `" + f + "` of type " + ("`" + a + "` supplied to `" + i + "`, expected a single ReactElement."));
|
122
|
-
}
|
123
|
-
return null;
|
124
|
-
}
|
125
|
-
return v(e);
|
126
|
-
}
|
127
|
-
function J() {
|
128
|
-
function e(r, u, i, n, f) {
|
129
|
-
var t = r[u];
|
130
|
-
if (!k.isValidElementType(t)) {
|
131
|
-
var a = g(t);
|
132
|
-
return new d("Invalid " + n + " `" + f + "` of type " + ("`" + a + "` supplied to `" + i + "`, expected a single ReactElement type."));
|
133
|
-
}
|
134
|
-
return null;
|
135
|
-
}
|
136
|
-
return v(e);
|
137
|
-
}
|
138
|
-
function z(e) {
|
139
|
-
function r(u, i, n, f, t) {
|
140
|
-
if (!(u[i] instanceof e)) {
|
141
|
-
var a = e.name || P, o = V(u[i]);
|
142
|
-
return new d("Invalid " + f + " `" + t + "` of type " + ("`" + o + "` supplied to `" + n + "`, expected ") + ("instance of `" + a + "`."));
|
143
|
-
}
|
144
|
-
return null;
|
145
|
-
}
|
146
|
-
return v(r);
|
147
|
-
}
|
148
|
-
function L(e) {
|
149
|
-
if (!Array.isArray(e))
|
150
|
-
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? T(
|
151
|
-
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
152
|
-
) : T("Invalid argument supplied to oneOf, expected an array.")), E;
|
153
|
-
function r(u, i, n, f, t) {
|
154
|
-
for (var a = u[i], o = 0; o < e.length; o++)
|
155
|
-
if (Y(a, e[o]))
|
156
|
-
return null;
|
157
|
-
var c = JSON.stringify(e, function(y, l) {
|
158
|
-
var b = O(l);
|
159
|
-
return b === "symbol" ? String(l) : l;
|
160
|
-
});
|
161
|
-
return new d("Invalid " + f + " `" + t + "` of value `" + String(a) + "` " + ("supplied to `" + n + "`, expected one of " + c + "."));
|
162
|
-
}
|
163
|
-
return v(r);
|
164
|
-
}
|
165
|
-
function H(e) {
|
166
|
-
function r(u, i, n, f, t) {
|
167
|
-
if (typeof e != "function")
|
168
|
-
return new d("Property `" + t + "` of component `" + n + "` has invalid PropType notation inside objectOf.");
|
169
|
-
var a = u[i], o = g(a);
|
170
|
-
if (o !== "object")
|
171
|
-
return new d("Invalid " + f + " `" + t + "` of type " + ("`" + o + "` supplied to `" + n + "`, expected an object."));
|
172
|
-
for (var c in a)
|
173
|
-
if (j(a, c)) {
|
174
|
-
var s = e(a, c, n, f, t + "." + c, h);
|
175
|
-
if (s instanceof Error)
|
176
|
-
return s;
|
177
|
-
}
|
178
|
-
return null;
|
179
|
-
}
|
180
|
-
return v(r);
|
181
|
-
}
|
182
|
-
function X(e) {
|
183
|
-
if (!Array.isArray(e))
|
184
|
-
return process.env.NODE_ENV !== "production" && T("Invalid argument supplied to oneOfType, expected an instance of array."), E;
|
185
|
-
for (var r = 0; r < e.length; r++) {
|
186
|
-
var u = e[r];
|
187
|
-
if (typeof u != "function")
|
188
|
-
return T(
|
189
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + $(u) + " at index " + r + "."
|
190
|
-
), E;
|
191
|
-
}
|
192
|
-
function i(n, f, t, a, o) {
|
193
|
-
for (var c = [], s = 0; s < e.length; s++) {
|
194
|
-
var y = e[s], l = y(n, f, t, a, o, h);
|
195
|
-
if (l == null)
|
196
|
-
return null;
|
197
|
-
l.data && j(l.data, "expectedType") && c.push(l.data.expectedType);
|
198
|
-
}
|
199
|
-
var b = c.length > 0 ? ", expected one of type [" + c.join(", ") + "]" : "";
|
200
|
-
return new d("Invalid " + a + " `" + o + "` supplied to " + ("`" + t + "`" + b + "."));
|
201
|
-
}
|
202
|
-
return v(i);
|
203
|
-
}
|
204
|
-
function G() {
|
205
|
-
function e(r, u, i, n, f) {
|
206
|
-
return I(r[u]) ? null : new d("Invalid " + n + " `" + f + "` supplied to " + ("`" + i + "`, expected a ReactNode."));
|
207
|
-
}
|
208
|
-
return v(e);
|
209
|
-
}
|
210
|
-
function q(e, r, u, i, n) {
|
211
|
-
return new d(
|
212
|
-
(e || "React class") + ": " + r + " type `" + u + "." + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + n + "`."
|
213
|
-
);
|
214
|
-
}
|
215
|
-
function K(e) {
|
216
|
-
function r(u, i, n, f, t) {
|
217
|
-
var a = u[i], o = g(a);
|
218
|
-
if (o !== "object")
|
219
|
-
return new d("Invalid " + f + " `" + t + "` of type `" + o + "` " + ("supplied to `" + n + "`, expected `object`."));
|
220
|
-
for (var c in e) {
|
221
|
-
var s = e[c];
|
222
|
-
if (typeof s != "function")
|
223
|
-
return q(n, f, t, c, O(s));
|
224
|
-
var y = s(a, c, n, f, t + "." + c, h);
|
225
|
-
if (y)
|
226
|
-
return y;
|
227
|
-
}
|
228
|
-
return null;
|
229
|
-
}
|
230
|
-
return v(r);
|
231
|
-
}
|
232
|
-
function Q(e) {
|
233
|
-
function r(u, i, n, f, t) {
|
234
|
-
var a = u[i], o = g(a);
|
235
|
-
if (o !== "object")
|
236
|
-
return new d("Invalid " + f + " `" + t + "` of type `" + o + "` " + ("supplied to `" + n + "`, expected `object`."));
|
237
|
-
var c = W({}, u[i], e);
|
238
|
-
for (var s in c) {
|
239
|
-
var y = e[s];
|
240
|
-
if (j(e, s) && typeof y != "function")
|
241
|
-
return q(n, f, t, s, O(y));
|
242
|
-
if (!y)
|
243
|
-
return new d(
|
244
|
-
"Invalid " + f + " `" + t + "` key `" + s + "` supplied to `" + n + "`.\nBad object: " + JSON.stringify(u[i], null, " ") + `
|
245
|
-
Valid keys: ` + JSON.stringify(Object.keys(e), null, " ")
|
246
|
-
);
|
247
|
-
var l = y(a, s, n, f, t + "." + s, h);
|
248
|
-
if (l)
|
249
|
-
return l;
|
250
|
-
}
|
251
|
-
return null;
|
252
|
-
}
|
253
|
-
return v(r);
|
254
|
-
}
|
255
|
-
function I(e) {
|
256
|
-
switch (typeof e) {
|
257
|
-
case "number":
|
258
|
-
case "string":
|
259
|
-
case "undefined":
|
260
|
-
return !0;
|
261
|
-
case "boolean":
|
262
|
-
return !e;
|
263
|
-
case "object":
|
264
|
-
if (Array.isArray(e))
|
265
|
-
return e.every(I);
|
266
|
-
if (e === null || x(e))
|
267
|
-
return !0;
|
268
|
-
var r = m(e);
|
269
|
-
if (r) {
|
270
|
-
var u = r.call(e), i;
|
271
|
-
if (r !== e.entries) {
|
272
|
-
for (; !(i = u.next()).done; )
|
273
|
-
if (!I(i.value))
|
274
|
-
return !1;
|
275
|
-
} else
|
276
|
-
for (; !(i = u.next()).done; ) {
|
277
|
-
var n = i.value;
|
278
|
-
if (n && !I(n[1]))
|
279
|
-
return !1;
|
280
|
-
}
|
281
|
-
} else
|
282
|
-
return !1;
|
283
|
-
return !0;
|
284
|
-
default:
|
285
|
-
return !1;
|
286
|
-
}
|
287
|
-
}
|
288
|
-
function Z(e, r) {
|
289
|
-
return e === "symbol" ? !0 : r ? r["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && r instanceof Symbol : !1;
|
290
|
-
}
|
291
|
-
function g(e) {
|
292
|
-
var r = typeof e;
|
293
|
-
return Array.isArray(e) ? "array" : e instanceof RegExp ? "object" : Z(r, e) ? "symbol" : r;
|
294
|
-
}
|
295
|
-
function O(e) {
|
296
|
-
if (typeof e > "u" || e === null)
|
297
|
-
return "" + e;
|
298
|
-
var r = g(e);
|
299
|
-
if (r === "object") {
|
300
|
-
if (e instanceof Date)
|
301
|
-
return "date";
|
302
|
-
if (e instanceof RegExp)
|
303
|
-
return "regexp";
|
304
|
-
}
|
305
|
-
return r;
|
306
|
-
}
|
307
|
-
function $(e) {
|
308
|
-
var r = O(e);
|
309
|
-
switch (r) {
|
310
|
-
case "array":
|
311
|
-
case "object":
|
312
|
-
return "an " + r;
|
313
|
-
case "boolean":
|
314
|
-
case "date":
|
315
|
-
case "regexp":
|
316
|
-
return "a " + r;
|
317
|
-
default:
|
318
|
-
return r;
|
319
|
-
}
|
320
|
-
}
|
321
|
-
function V(e) {
|
322
|
-
return !e.constructor || !e.constructor.name ? P : e.constructor.name;
|
323
|
-
}
|
324
|
-
return w.checkPropTypes = R, w.resetWarningCache = R.resetWarningCache, w.PropTypes = w, w;
|
325
|
-
}, A;
|
1
|
+
function e() {
|
2
|
+
return e = Object.assign ? Object.assign.bind() : function(t) {
|
3
|
+
for (var n = 1; n < arguments.length; n++) {
|
4
|
+
var a = arguments[n];
|
5
|
+
for (var r in a) ({}).hasOwnProperty.call(a, r) && (t[r] = a[r]);
|
6
|
+
}
|
7
|
+
return t;
|
8
|
+
}, e.apply(null, arguments);
|
326
9
|
}
|
327
10
|
export {
|
328
|
-
|
11
|
+
e as default
|
329
12
|
};
|
330
13
|
//# sourceMappingURL=index36.js.map
|