@rankingcoach/vanguard 1.0.1 → 1.0.2
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-Accordion2.js +2 -2
- package/dist/index-AccordionDetails.js +1 -1
- package/dist/index-AccordionSummary.js +1 -1
- package/dist/index-AppBar2.js +1 -1
- package/dist/index-Autocomplete2.js +1 -1
- package/dist/index-Backdrop.js +1 -1
- package/dist/index-BasePopper.js +1 -1
- package/dist/index-Box.js +1 -1
- package/dist/index-Button2.js +1 -1
- package/dist/index-ButtonBase.js +1 -1
- package/dist/index-CSSTransition.js +1 -1
- package/dist/index-CalendarPicker.js +2 -2
- package/dist/index-Chip.js +1 -1
- package/dist/index-ClickAwayListener.js +1 -1
- package/dist/index-ClockPicker.js +1 -1
- package/dist/index-Collapse2.js +1 -1
- package/dist/index-DatePicker2.js +1 -1
- package/dist/index-DayCell.js +2 -2
- package/dist/index-DefaultPropsProvider.js +1 -1
- package/dist/index-DefaultPropsProvider2.js +1 -1
- package/dist/index-DesktopDatePicker.js +1 -1
- package/dist/index-Dialog.js +1 -1
- package/dist/index-DialogActions.js +1 -1
- package/dist/index-DialogContent.js +1 -1
- package/dist/index-Drawer2.js +1 -1
- package/dist/index-Fade.js +1 -1
- package/dist/index-FilledInput.js +1 -1
- package/dist/index-FocusTrap.js +1 -1
- package/dist/index-FormControl2.js +1 -1
- package/dist/index-FormHelperText.js +1 -1
- package/dist/index-FormLabel.js +1 -1
- package/dist/index-GlobalStyles.js +1 -1
- package/dist/index-GlobalStyles2.js +1 -1
- package/dist/index-GlobalStyles3.js +1 -1
- package/dist/index-Grid.js +1 -1
- package/dist/index-Grow.js +1 -1
- package/dist/index-IconButton2.js +1 -1
- package/dist/index-Input2.js +1 -1
- package/dist/index-InputAdornment.js +1 -1
- package/dist/index-InputBase2.js +1 -1
- package/dist/index-InputLabel.js +1 -1
- package/dist/index-InputRangeField.js +1 -1
- package/dist/index-LinearProgress.js +1 -1
- package/dist/index-List2.js +1 -1
- package/dist/index-ListSubheader.js +1 -1
- package/dist/index-LocalizationProvider.js +1 -1
- package/dist/index-Menu.js +1 -1
- package/dist/index-MenuItem.js +1 -1
- package/dist/index-MenuList.js +1 -1
- package/dist/index-MobileDatePicker.js +1 -1
- package/dist/index-Modal2.js +1 -1
- package/dist/index-Month.js +1 -1
- package/dist/index-MonthPicker.js +2 -2
- package/dist/index-NativeSelectInput.js +1 -1
- package/dist/index-NotchedOutline.js +1 -1
- package/dist/index-OutlinedInput.js +1 -1
- package/dist/index-Paper.js +1 -1
- package/dist/index-Parser2.js +1 -1
- package/dist/index-PickersDay.js +1 -1
- package/dist/index-Popover2.js +1 -1
- package/dist/index-Popper.js +1 -1
- package/dist/index-Portal.js +1 -1
- package/dist/index-PropTypes.js +1 -1
- package/dist/index-Ripple.js +1 -1
- package/dist/index-RtlProvider.js +1 -1
- package/dist/index-ScrollbarSize.js +1 -1
- package/dist/index-Select2.js +1 -1
- package/dist/index-SelectInput2.js +2 -2
- package/dist/index-Skeleton2.js +1 -1
- package/dist/index-Slide.js +1 -1
- package/dist/index-Slider2.js +1 -1
- package/dist/index-SliderValueLabel.js +1 -1
- package/dist/index-Snackbar2.js +1 -1
- package/dist/index-SnackbarContent.js +1 -1
- package/dist/index-StyledEngineProvider.js +1 -1
- package/dist/index-SvgIcon.js +1 -1
- package/dist/index-Tab2.js +1 -1
- package/dist/index-TabScrollButton.js +1 -1
- package/dist/index-Tabs2.js +1 -1
- package/dist/index-TextField.js +1 -1
- package/dist/index-TextareaAutosize.js +1 -1
- package/dist/index-ToggleButton2.js +1 -1
- package/dist/index-ToggleButtonGroup2.js +1 -1
- package/dist/index-Toolbar2.js +1 -1
- package/dist/index-Tooltip.js +2 -2
- package/dist/index-TouchRipple.js +1 -1
- package/dist/index-Transition.js +1 -1
- package/dist/index-TransitionGroup.js +1 -1
- package/dist/index-Typography.js +1 -1
- package/dist/index-YearPicker.js +2 -2
- package/dist/index-_virtual12.js +1 -1
- package/dist/index-_virtual15.js +5 -3
- package/dist/index-_virtual16.js +3 -5
- package/dist/index-_virtual18.js +4 -4
- package/dist/index-_virtual19.js +5 -2
- package/dist/index-_virtual20.js +2 -5
- package/dist/index-_virtual30.js +2 -2
- package/dist/index-_virtual32.js +2 -3
- package/dist/index-_virtual33.js +3 -2
- package/dist/index-_virtual66.js +2 -2
- package/dist/index-_virtual67.js +2 -4
- package/dist/index-_virtual68.js +4 -2
- package/dist/index-_virtual76.js +2 -2
- package/dist/index-attributes-to-props.js +1 -1
- package/dist/index-dist4.js +1 -1
- package/dist/index-elementAcceptingRef.js +1 -1
- package/dist/index-elementTypeAcceptingRef.js +1 -1
- package/dist/index-helpers3.js +1 -1
- package/dist/index-http.store.js +1 -1
- package/dist/index-keycode.js +1 -1
- package/dist/index-lib.js +2 -2
- package/dist/index-lib2.js +424 -111
- package/dist/index-lib3.js +13 -432
- package/dist/index-lib4.js +120 -14
- package/dist/index-lib5.js +1 -1
- package/dist/index-lib6.js +1 -1
- package/dist/index-lib8.js +1 -1
- package/dist/index-mpd-parser.es.js +1 -1
- package/dist/index-node2.js +1 -1
- package/dist/index-parse3.js +1 -1
- package/dist/index-refType.js +1 -1
- package/dist/index-responsivePropType.js +1 -1
- package/dist/index-stringify2.js +1 -1
- package/dist/index-useAutocomplete.js +1 -1
- package/dist/index-useControlled.js +2 -26
- package/dist/index-useControlled2.js +26 -2
- package/dist/index-useRteAiAssistant-selection.js +1 -1
- package/dist/index-useSlider.js +1 -1
- package/dist/index-useViews.js +1 -1
- package/dist/vanguard-asset-analysis.json +1 -1
- package/package.json +4 -5
- /package/dist/{index-Parser3.js → index-Parser4.js} +0 -0
- /package/dist/{index-parser4.js → index-parser3.js} +0 -0
package/dist/index-lib2.js
CHANGED
|
@@ -1,124 +1,437 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { __require as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
function
|
|
8
|
-
|
|
9
|
-
L = 1;
|
|
10
|
-
var w = O(), _ = j(), g = S();
|
|
11
|
-
s.httpHandler = F();
|
|
12
|
-
var M = function(n) {
|
|
13
|
-
var t = {};
|
|
14
|
-
return n && n.trim().split(`
|
|
15
|
-
`).forEach(function(u) {
|
|
16
|
-
var l = u.indexOf(":"), i = u.slice(0, l).trim().toLowerCase(), d = u.slice(l + 1).trim();
|
|
17
|
-
typeof t[i] > "u" ? t[i] = d : Array.isArray(t[i]) ? t[i].push(d) : t[i] = [t[i], d];
|
|
18
|
-
}), t;
|
|
19
|
-
};
|
|
20
|
-
v.exports = s, v.exports.default = s, s.XMLHttpRequest = w.XMLHttpRequest || k, s.XDomainRequest = "withCredentials" in new s.XMLHttpRequest() ? s.XMLHttpRequest : w.XDomainRequest, C(["get", "put", "post", "patch", "head", "delete"], function(e) {
|
|
21
|
-
s[e === "delete" ? "del" : e] = function(n, t, u) {
|
|
22
|
-
return t = H(n, t, u), t.method = e.toUpperCase(), X(t);
|
|
23
|
-
};
|
|
24
|
-
});
|
|
25
|
-
function C(e, n) {
|
|
26
|
-
for (var t = 0; t < e.length; t++)
|
|
27
|
-
n(e[t]);
|
|
28
|
-
}
|
|
29
|
-
function A(e) {
|
|
30
|
-
for (var n in e)
|
|
31
|
-
if (e.hasOwnProperty(n)) return !1;
|
|
32
|
-
return !0;
|
|
33
|
-
}
|
|
34
|
-
function H(e, n, t) {
|
|
35
|
-
var u = e;
|
|
36
|
-
return g(n) ? (t = n, typeof e == "string" && (u = {
|
|
37
|
-
uri: e
|
|
38
|
-
})) : u = _({}, n, {
|
|
39
|
-
uri: e
|
|
40
|
-
}), u.callback = t, u;
|
|
1
|
+
import { __exports as a } from "./index-_virtual65.js";
|
|
2
|
+
import { __require as H } from "./index-possibleStandardNamesOptimized.js";
|
|
3
|
+
var _;
|
|
4
|
+
function U() {
|
|
5
|
+
if (_) return a;
|
|
6
|
+
_ = 1, Object.defineProperty(a, "__esModule", { value: !0 });
|
|
7
|
+
function m(e, r) {
|
|
8
|
+
return x(e) || S(e, r) || C(e, r) || I();
|
|
41
9
|
}
|
|
42
|
-
function
|
|
43
|
-
|
|
10
|
+
function x(e) {
|
|
11
|
+
if (Array.isArray(e)) return e;
|
|
44
12
|
}
|
|
45
|
-
function
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
var a = void 0;
|
|
56
|
-
if (r.response ? a = r.response : a = r.responseText || D(r), E)
|
|
13
|
+
function S(e, r) {
|
|
14
|
+
var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
15
|
+
if (t != null) {
|
|
16
|
+
var i = [], s = !0, c = !1, p, k;
|
|
17
|
+
try {
|
|
18
|
+
for (t = t.call(e); !(s = (p = t.next()).done) && (i.push(p.value), !(r && i.length === r)); s = !0)
|
|
19
|
+
;
|
|
20
|
+
} catch (z) {
|
|
21
|
+
c = !0, k = z;
|
|
22
|
+
} finally {
|
|
57
23
|
try {
|
|
58
|
-
|
|
59
|
-
}
|
|
24
|
+
!s && t.return != null && t.return();
|
|
25
|
+
} finally {
|
|
26
|
+
if (c) throw k;
|
|
60
27
|
}
|
|
61
|
-
return a;
|
|
62
|
-
}
|
|
63
|
-
function i(a) {
|
|
64
|
-
return clearTimeout(b), a instanceof Error || (a = new Error("" + (a || "Unknown XMLHttpRequest Error"))), a.statusCode = 0, t(a, T);
|
|
65
|
-
}
|
|
66
|
-
function d() {
|
|
67
|
-
if (!p) {
|
|
68
|
-
var a;
|
|
69
|
-
clearTimeout(b), e.useXDR && r.status === void 0 ? a = 200 : a = r.status === 1223 ? 204 : r.status;
|
|
70
|
-
var o = T, y = null;
|
|
71
|
-
return a !== 0 ? (o = {
|
|
72
|
-
body: l(),
|
|
73
|
-
statusCode: a,
|
|
74
|
-
method: c,
|
|
75
|
-
headers: {},
|
|
76
|
-
url: h,
|
|
77
|
-
rawRequest: r
|
|
78
|
-
}, r.getAllResponseHeaders && (o.headers = M(r.getAllResponseHeaders()))) : y = new Error("Internal XMLHttpRequest Error"), t(y, o, o.body);
|
|
79
28
|
}
|
|
29
|
+
return i;
|
|
80
30
|
}
|
|
81
|
-
var r = e.xhr || null;
|
|
82
|
-
r || (e.cors || e.useXDR ? r = new s.XDomainRequest() : r = new s.XMLHttpRequest());
|
|
83
|
-
var m, p, h = r.url = e.uri || e.url, c = r.method = e.method || "GET", q = e.body || e.data, f = r.headers = e.headers || {}, R = !!e.sync, E = !1, b, T = {
|
|
84
|
-
body: void 0,
|
|
85
|
-
headers: {},
|
|
86
|
-
statusCode: 0,
|
|
87
|
-
method: c,
|
|
88
|
-
url: h,
|
|
89
|
-
rawRequest: r
|
|
90
|
-
};
|
|
91
|
-
if ("json" in e && e.json !== !1 && (E = !0, f.accept || f.Accept || (f.Accept = "application/json"), c !== "GET" && c !== "HEAD" && (f["content-type"] || f["Content-Type"] || (f["Content-Type"] = "application/json"), q = JSON.stringify(e.json === !0 ? q : e.json))), r.onreadystatechange = u, r.onload = d, r.onerror = i, r.onprogress = function() {
|
|
92
|
-
}, r.onabort = function() {
|
|
93
|
-
p = !0;
|
|
94
|
-
}, r.ontimeout = i, r.open(c, h, !R, e.username, e.password), R || (r.withCredentials = !!e.withCredentials), !R && e.timeout > 0 && (b = setTimeout(function() {
|
|
95
|
-
if (!p) {
|
|
96
|
-
p = !0, r.abort("timeout");
|
|
97
|
-
var a = new Error("XMLHttpRequest timeout");
|
|
98
|
-
a.code = "ETIMEDOUT", i(a);
|
|
99
|
-
}
|
|
100
|
-
}, e.timeout)), r.setRequestHeader)
|
|
101
|
-
for (m in f)
|
|
102
|
-
f.hasOwnProperty(m) && r.setRequestHeader(m, f[m]);
|
|
103
|
-
else if (e.headers && !A(e.headers))
|
|
104
|
-
throw new Error("Headers cannot be set on an XDomainRequest object");
|
|
105
|
-
return "responseType" in e && (r.responseType = e.responseType), "beforeSend" in e && typeof e.beforeSend == "function" && e.beforeSend(r), r.send(q || null), r;
|
|
106
31
|
}
|
|
107
|
-
function
|
|
108
|
-
|
|
109
|
-
if (e
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
if (
|
|
113
|
-
return e.responseXML;
|
|
114
|
-
} catch {
|
|
32
|
+
function C(e, r) {
|
|
33
|
+
if (e) {
|
|
34
|
+
if (typeof e == "string") return y(e, r);
|
|
35
|
+
var t = Object.prototype.toString.call(e).slice(8, -1);
|
|
36
|
+
if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
|
|
37
|
+
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return y(e, r);
|
|
115
38
|
}
|
|
116
|
-
return null;
|
|
117
39
|
}
|
|
118
|
-
function
|
|
40
|
+
function y(e, r) {
|
|
41
|
+
(r == null || r > e.length) && (r = e.length);
|
|
42
|
+
for (var t = 0, i = new Array(r); t < r; t++) i[t] = e[t];
|
|
43
|
+
return i;
|
|
119
44
|
}
|
|
120
|
-
|
|
45
|
+
function I() {
|
|
46
|
+
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
47
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
48
|
+
}
|
|
49
|
+
var g = 0, l = 1, u = 2, f = 3, h = 4, w = 5, b = 6;
|
|
50
|
+
function R(e) {
|
|
51
|
+
return n.hasOwnProperty(e) ? n[e] : null;
|
|
52
|
+
}
|
|
53
|
+
function o(e, r, t, i, s, c, p) {
|
|
54
|
+
this.acceptsBooleans = r === u || r === f || r === h, this.attributeName = i, this.attributeNamespace = s, this.mustUseProperty = t, this.propertyName = e, this.type = r, this.sanitizeURL = c, this.removeEmptyString = p;
|
|
55
|
+
}
|
|
56
|
+
var n = {}, O = [
|
|
57
|
+
"children",
|
|
58
|
+
"dangerouslySetInnerHTML",
|
|
59
|
+
// TODO: This prevents the assignment of defaultValue to regular
|
|
60
|
+
// elements (not just inputs). Now that ReactDOMInput assigns to the
|
|
61
|
+
// defaultValue property -- do we need this?
|
|
62
|
+
"defaultValue",
|
|
63
|
+
"defaultChecked",
|
|
64
|
+
"innerHTML",
|
|
65
|
+
"suppressContentEditableWarning",
|
|
66
|
+
"suppressHydrationWarning",
|
|
67
|
+
"style"
|
|
68
|
+
];
|
|
69
|
+
O.forEach(function(e) {
|
|
70
|
+
n[e] = new o(
|
|
71
|
+
e,
|
|
72
|
+
g,
|
|
73
|
+
!1,
|
|
74
|
+
// mustUseProperty
|
|
75
|
+
e,
|
|
76
|
+
// attributeName
|
|
77
|
+
null,
|
|
78
|
+
// attributeNamespace
|
|
79
|
+
!1,
|
|
80
|
+
// sanitizeURL
|
|
81
|
+
!1
|
|
82
|
+
);
|
|
83
|
+
}), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(e) {
|
|
84
|
+
var r = m(e, 2), t = r[0], i = r[1];
|
|
85
|
+
n[t] = new o(
|
|
86
|
+
t,
|
|
87
|
+
l,
|
|
88
|
+
!1,
|
|
89
|
+
// mustUseProperty
|
|
90
|
+
i,
|
|
91
|
+
// attributeName
|
|
92
|
+
null,
|
|
93
|
+
// attributeNamespace
|
|
94
|
+
!1,
|
|
95
|
+
// sanitizeURL
|
|
96
|
+
!1
|
|
97
|
+
);
|
|
98
|
+
}), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(e) {
|
|
99
|
+
n[e] = new o(
|
|
100
|
+
e,
|
|
101
|
+
u,
|
|
102
|
+
!1,
|
|
103
|
+
// mustUseProperty
|
|
104
|
+
e.toLowerCase(),
|
|
105
|
+
// attributeName
|
|
106
|
+
null,
|
|
107
|
+
// attributeNamespace
|
|
108
|
+
!1,
|
|
109
|
+
// sanitizeURL
|
|
110
|
+
!1
|
|
111
|
+
);
|
|
112
|
+
}), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(e) {
|
|
113
|
+
n[e] = new o(
|
|
114
|
+
e,
|
|
115
|
+
u,
|
|
116
|
+
!1,
|
|
117
|
+
// mustUseProperty
|
|
118
|
+
e,
|
|
119
|
+
// attributeName
|
|
120
|
+
null,
|
|
121
|
+
// attributeNamespace
|
|
122
|
+
!1,
|
|
123
|
+
// sanitizeURL
|
|
124
|
+
!1
|
|
125
|
+
);
|
|
126
|
+
}), [
|
|
127
|
+
"allowFullScreen",
|
|
128
|
+
"async",
|
|
129
|
+
// Note: there is a special case that prevents it from being written to the DOM
|
|
130
|
+
// on the client side because the browsers are inconsistent. Instead we call focus().
|
|
131
|
+
"autoFocus",
|
|
132
|
+
"autoPlay",
|
|
133
|
+
"controls",
|
|
134
|
+
"default",
|
|
135
|
+
"defer",
|
|
136
|
+
"disabled",
|
|
137
|
+
"disablePictureInPicture",
|
|
138
|
+
"disableRemotePlayback",
|
|
139
|
+
"formNoValidate",
|
|
140
|
+
"hidden",
|
|
141
|
+
"loop",
|
|
142
|
+
"noModule",
|
|
143
|
+
"noValidate",
|
|
144
|
+
"open",
|
|
145
|
+
"playsInline",
|
|
146
|
+
"readOnly",
|
|
147
|
+
"required",
|
|
148
|
+
"reversed",
|
|
149
|
+
"scoped",
|
|
150
|
+
"seamless",
|
|
151
|
+
// Microdata
|
|
152
|
+
"itemScope"
|
|
153
|
+
].forEach(function(e) {
|
|
154
|
+
n[e] = new o(
|
|
155
|
+
e,
|
|
156
|
+
f,
|
|
157
|
+
!1,
|
|
158
|
+
// mustUseProperty
|
|
159
|
+
e.toLowerCase(),
|
|
160
|
+
// attributeName
|
|
161
|
+
null,
|
|
162
|
+
// attributeNamespace
|
|
163
|
+
!1,
|
|
164
|
+
// sanitizeURL
|
|
165
|
+
!1
|
|
166
|
+
);
|
|
167
|
+
}), [
|
|
168
|
+
"checked",
|
|
169
|
+
// Note: `option.selected` is not updated if `select.multiple` is
|
|
170
|
+
// disabled with `removeAttribute`. We have special logic for handling this.
|
|
171
|
+
"multiple",
|
|
172
|
+
"muted",
|
|
173
|
+
"selected"
|
|
174
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
175
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
176
|
+
// instead in the assignment below.
|
|
177
|
+
].forEach(function(e) {
|
|
178
|
+
n[e] = new o(
|
|
179
|
+
e,
|
|
180
|
+
f,
|
|
181
|
+
!0,
|
|
182
|
+
// mustUseProperty
|
|
183
|
+
e,
|
|
184
|
+
// attributeName
|
|
185
|
+
null,
|
|
186
|
+
// attributeNamespace
|
|
187
|
+
!1,
|
|
188
|
+
// sanitizeURL
|
|
189
|
+
!1
|
|
190
|
+
);
|
|
191
|
+
}), [
|
|
192
|
+
"capture",
|
|
193
|
+
"download"
|
|
194
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
195
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
196
|
+
// instead in the assignment below.
|
|
197
|
+
].forEach(function(e) {
|
|
198
|
+
n[e] = new o(
|
|
199
|
+
e,
|
|
200
|
+
h,
|
|
201
|
+
!1,
|
|
202
|
+
// mustUseProperty
|
|
203
|
+
e,
|
|
204
|
+
// attributeName
|
|
205
|
+
null,
|
|
206
|
+
// attributeNamespace
|
|
207
|
+
!1,
|
|
208
|
+
// sanitizeURL
|
|
209
|
+
!1
|
|
210
|
+
);
|
|
211
|
+
}), [
|
|
212
|
+
"cols",
|
|
213
|
+
"rows",
|
|
214
|
+
"size",
|
|
215
|
+
"span"
|
|
216
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
217
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
218
|
+
// instead in the assignment below.
|
|
219
|
+
].forEach(function(e) {
|
|
220
|
+
n[e] = new o(
|
|
221
|
+
e,
|
|
222
|
+
b,
|
|
223
|
+
!1,
|
|
224
|
+
// mustUseProperty
|
|
225
|
+
e,
|
|
226
|
+
// attributeName
|
|
227
|
+
null,
|
|
228
|
+
// attributeNamespace
|
|
229
|
+
!1,
|
|
230
|
+
// sanitizeURL
|
|
231
|
+
!1
|
|
232
|
+
);
|
|
233
|
+
}), ["rowSpan", "start"].forEach(function(e) {
|
|
234
|
+
n[e] = new o(
|
|
235
|
+
e,
|
|
236
|
+
w,
|
|
237
|
+
!1,
|
|
238
|
+
// mustUseProperty
|
|
239
|
+
e.toLowerCase(),
|
|
240
|
+
// attributeName
|
|
241
|
+
null,
|
|
242
|
+
// attributeNamespace
|
|
243
|
+
!1,
|
|
244
|
+
// sanitizeURL
|
|
245
|
+
!1
|
|
246
|
+
);
|
|
247
|
+
});
|
|
248
|
+
var d = /[\-\:]([a-z])/g, v = function(r) {
|
|
249
|
+
return r[1].toUpperCase();
|
|
250
|
+
};
|
|
251
|
+
[
|
|
252
|
+
"accent-height",
|
|
253
|
+
"alignment-baseline",
|
|
254
|
+
"arabic-form",
|
|
255
|
+
"baseline-shift",
|
|
256
|
+
"cap-height",
|
|
257
|
+
"clip-path",
|
|
258
|
+
"clip-rule",
|
|
259
|
+
"color-interpolation",
|
|
260
|
+
"color-interpolation-filters",
|
|
261
|
+
"color-profile",
|
|
262
|
+
"color-rendering",
|
|
263
|
+
"dominant-baseline",
|
|
264
|
+
"enable-background",
|
|
265
|
+
"fill-opacity",
|
|
266
|
+
"fill-rule",
|
|
267
|
+
"flood-color",
|
|
268
|
+
"flood-opacity",
|
|
269
|
+
"font-family",
|
|
270
|
+
"font-size",
|
|
271
|
+
"font-size-adjust",
|
|
272
|
+
"font-stretch",
|
|
273
|
+
"font-style",
|
|
274
|
+
"font-variant",
|
|
275
|
+
"font-weight",
|
|
276
|
+
"glyph-name",
|
|
277
|
+
"glyph-orientation-horizontal",
|
|
278
|
+
"glyph-orientation-vertical",
|
|
279
|
+
"horiz-adv-x",
|
|
280
|
+
"horiz-origin-x",
|
|
281
|
+
"image-rendering",
|
|
282
|
+
"letter-spacing",
|
|
283
|
+
"lighting-color",
|
|
284
|
+
"marker-end",
|
|
285
|
+
"marker-mid",
|
|
286
|
+
"marker-start",
|
|
287
|
+
"overline-position",
|
|
288
|
+
"overline-thickness",
|
|
289
|
+
"paint-order",
|
|
290
|
+
"panose-1",
|
|
291
|
+
"pointer-events",
|
|
292
|
+
"rendering-intent",
|
|
293
|
+
"shape-rendering",
|
|
294
|
+
"stop-color",
|
|
295
|
+
"stop-opacity",
|
|
296
|
+
"strikethrough-position",
|
|
297
|
+
"strikethrough-thickness",
|
|
298
|
+
"stroke-dasharray",
|
|
299
|
+
"stroke-dashoffset",
|
|
300
|
+
"stroke-linecap",
|
|
301
|
+
"stroke-linejoin",
|
|
302
|
+
"stroke-miterlimit",
|
|
303
|
+
"stroke-opacity",
|
|
304
|
+
"stroke-width",
|
|
305
|
+
"text-anchor",
|
|
306
|
+
"text-decoration",
|
|
307
|
+
"text-rendering",
|
|
308
|
+
"underline-position",
|
|
309
|
+
"underline-thickness",
|
|
310
|
+
"unicode-bidi",
|
|
311
|
+
"unicode-range",
|
|
312
|
+
"units-per-em",
|
|
313
|
+
"v-alphabetic",
|
|
314
|
+
"v-hanging",
|
|
315
|
+
"v-ideographic",
|
|
316
|
+
"v-mathematical",
|
|
317
|
+
"vector-effect",
|
|
318
|
+
"vert-adv-y",
|
|
319
|
+
"vert-origin-x",
|
|
320
|
+
"vert-origin-y",
|
|
321
|
+
"word-spacing",
|
|
322
|
+
"writing-mode",
|
|
323
|
+
"xmlns:xlink",
|
|
324
|
+
"x-height"
|
|
325
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
326
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
327
|
+
// instead in the assignment below.
|
|
328
|
+
].forEach(function(e) {
|
|
329
|
+
var r = e.replace(d, v);
|
|
330
|
+
n[r] = new o(
|
|
331
|
+
r,
|
|
332
|
+
l,
|
|
333
|
+
!1,
|
|
334
|
+
// mustUseProperty
|
|
335
|
+
e,
|
|
336
|
+
null,
|
|
337
|
+
// attributeNamespace
|
|
338
|
+
!1,
|
|
339
|
+
// sanitizeURL
|
|
340
|
+
!1
|
|
341
|
+
);
|
|
342
|
+
}), [
|
|
343
|
+
"xlink:actuate",
|
|
344
|
+
"xlink:arcrole",
|
|
345
|
+
"xlink:role",
|
|
346
|
+
"xlink:show",
|
|
347
|
+
"xlink:title",
|
|
348
|
+
"xlink:type"
|
|
349
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
350
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
351
|
+
// instead in the assignment below.
|
|
352
|
+
].forEach(function(e) {
|
|
353
|
+
var r = e.replace(d, v);
|
|
354
|
+
n[r] = new o(
|
|
355
|
+
r,
|
|
356
|
+
l,
|
|
357
|
+
!1,
|
|
358
|
+
// mustUseProperty
|
|
359
|
+
e,
|
|
360
|
+
"http://www.w3.org/1999/xlink",
|
|
361
|
+
!1,
|
|
362
|
+
// sanitizeURL
|
|
363
|
+
!1
|
|
364
|
+
);
|
|
365
|
+
}), [
|
|
366
|
+
"xml:base",
|
|
367
|
+
"xml:lang",
|
|
368
|
+
"xml:space"
|
|
369
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
370
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
371
|
+
// instead in the assignment below.
|
|
372
|
+
].forEach(function(e) {
|
|
373
|
+
var r = e.replace(d, v);
|
|
374
|
+
n[r] = new o(
|
|
375
|
+
r,
|
|
376
|
+
l,
|
|
377
|
+
!1,
|
|
378
|
+
// mustUseProperty
|
|
379
|
+
e,
|
|
380
|
+
"http://www.w3.org/XML/1998/namespace",
|
|
381
|
+
!1,
|
|
382
|
+
// sanitizeURL
|
|
383
|
+
!1
|
|
384
|
+
);
|
|
385
|
+
}), ["tabIndex", "crossOrigin"].forEach(function(e) {
|
|
386
|
+
n[e] = new o(
|
|
387
|
+
e,
|
|
388
|
+
l,
|
|
389
|
+
!1,
|
|
390
|
+
// mustUseProperty
|
|
391
|
+
e.toLowerCase(),
|
|
392
|
+
// attributeName
|
|
393
|
+
null,
|
|
394
|
+
// attributeNamespace
|
|
395
|
+
!1,
|
|
396
|
+
// sanitizeURL
|
|
397
|
+
!1
|
|
398
|
+
);
|
|
399
|
+
});
|
|
400
|
+
var F = "xlinkHref";
|
|
401
|
+
n[F] = new o(
|
|
402
|
+
"xlinkHref",
|
|
403
|
+
l,
|
|
404
|
+
!1,
|
|
405
|
+
// mustUseProperty
|
|
406
|
+
"xlink:href",
|
|
407
|
+
"http://www.w3.org/1999/xlink",
|
|
408
|
+
!0,
|
|
409
|
+
// sanitizeURL
|
|
410
|
+
!1
|
|
411
|
+
), ["src", "href", "action", "formAction"].forEach(function(e) {
|
|
412
|
+
n[e] = new o(
|
|
413
|
+
e,
|
|
414
|
+
l,
|
|
415
|
+
!1,
|
|
416
|
+
// mustUseProperty
|
|
417
|
+
e.toLowerCase(),
|
|
418
|
+
// attributeName
|
|
419
|
+
null,
|
|
420
|
+
// attributeNamespace
|
|
421
|
+
!0,
|
|
422
|
+
// sanitizeURL
|
|
423
|
+
!0
|
|
424
|
+
);
|
|
425
|
+
});
|
|
426
|
+
var E = H(), L = E.CAMELCASE, T = E.SAME, A = E.possibleStandardNames, M = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", N = M + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", D = RegExp.prototype.test.bind(
|
|
427
|
+
// eslint-disable-next-line no-misleading-character-class
|
|
428
|
+
new RegExp("^(data|aria)-[" + N + "]*$")
|
|
429
|
+
), P = Object.keys(A).reduce(function(e, r) {
|
|
430
|
+
var t = A[r];
|
|
431
|
+
return t === T ? e[r] = r : t === L ? e[r.toLowerCase()] = r : e[r] = t, e;
|
|
432
|
+
}, {});
|
|
433
|
+
return a.BOOLEAN = f, a.BOOLEANISH_STRING = u, a.NUMERIC = w, a.OVERLOADED_BOOLEAN = h, a.POSITIVE_NUMERIC = b, a.RESERVED = g, a.STRING = l, a.getPropertyInfo = R, a.isCustomAttribute = D, a.possibleStandardNames = P, a;
|
|
121
434
|
}
|
|
122
435
|
export {
|
|
123
|
-
|
|
436
|
+
U as __require
|
|
124
437
|
};
|