welcome-ui 9.0.0-alpha.4 → 9.0.1
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/README.md +47 -3
- package/dist/2W3RN7C5-bkX-rIa3.js +61 -0
- package/dist/4I4MLMKD-BLxAidnq.js +43 -0
- package/dist/Accordion.js +6 -6
- package/dist/Alert.js +1 -1
- package/dist/AspectRatio.js +1 -1
- package/dist/Avatar.js +1 -1
- package/dist/{4CMBR7SL-Dhp8uJop.js → B7UTNDHN-BlIblHCu.js} +59 -59
- package/dist/Badge.js +1 -1
- package/dist/Breadcrumb.css +1 -1
- package/dist/Breadcrumb.js +27 -27
- package/dist/Button.js +2 -2
- package/dist/ButtonGroup.js +1 -1
- package/dist/Card.js +1 -1
- package/dist/Checkbox.css +1 -1
- package/dist/Checkbox.js +22 -22
- package/dist/CloseButton.js +3 -3
- package/dist/{SYRFVSLH-CHNUB1rW.js → DSAASPLT-BaaCUKsb.js} +7 -7
- package/dist/DatePicker.js +5 -5
- package/dist/DateTimePicker.js +2 -2
- package/dist/Drawer.css +1 -1
- package/dist/Drawer.js +67 -67
- package/dist/DropdownMenu.js +261 -259
- package/dist/Field.js +1 -1
- package/dist/FieldGroup.js +1 -1
- package/dist/FileDrop.js +194 -221
- package/dist/FileUpload.js +2 -2
- package/dist/GVVKDT6A-bET6V7Py.js +724 -0
- package/dist/Hint.js +1 -1
- package/dist/{Icon-BisRi8B3.js → Icon-EG7O4YwD.js} +1 -1
- package/dist/Icon.js +12 -12
- package/dist/InputText.js +1 -1
- package/dist/{ASMQKSDT-SH1qSiMi.js → KPUWHTQJ-D2TPji47.js} +30 -30
- package/dist/Label.js +3 -3
- package/dist/Link.css +1 -1
- package/dist/Link.js +27 -27
- package/dist/Loader.js +1 -1
- package/dist/Logo.js +1 -1
- package/dist/Modal.js +10 -10
- package/dist/{JC64G2H7-DPy9R0De.js → NI3IVY7K-Ztb3-XAv.js} +571 -571
- package/dist/{P4IRICAX-7kH4HzWI.js → NMGNQVTG-C6TqBngP.js} +5 -5
- package/dist/{LVA2YJMS-NUHCRwFZ.js → OE2EFRVA-C3721cM3.js} +316 -315
- package/dist/{ITI7HKP4-C5xLpoVY.js → OLVWQA7U-DysaSaZj.js} +59 -59
- package/dist/Pagination.css +1 -1
- package/dist/Pagination.js +81 -73
- package/dist/PasswordInput.js +17 -18
- package/dist/Popover.js +14 -14
- package/dist/{YV4JVR4I-CVFstk2K.js → RTNCFSKZ-qpPg689E.js} +75 -73
- package/dist/Radio.css +1 -1
- package/dist/Radio.js +29 -29
- package/dist/RadioGroup.js +21 -21
- package/dist/RadioTab.js +2 -2
- package/dist/{P2CTZE2T-D1TepwxQ.js → SBSPVDDI-DJKkC1eb.js} +43 -43
- package/dist/{NLEBE274-B4zy25kL.js → SQZLCNLX-CHDXnZ16.js} +16 -16
- package/dist/Search.js +2 -2
- package/dist/Select.js +170 -181
- package/dist/Slider.js +1 -1
- package/dist/Swiper.css +1 -1
- package/dist/Swiper.js +151 -151
- package/dist/{VGCJ63VH-CVhs4PYt.js → T22PY7TE-C1N0q8Kn.js} +109 -109
- package/dist/Table.js +1 -1
- package/dist/Tabs.js +303 -308
- package/dist/Tag.js +3 -3
- package/dist/Text.js +1 -1
- package/dist/Textarea.js +1 -1
- package/dist/TimePicker.js +2 -2
- package/dist/Toast.js +1 -1
- package/dist/Toggle.js +2 -2
- package/dist/Tooltip.js +72 -72
- package/dist/VariantIcon.js +3 -3
- package/dist/WelcomeLoader.js +1 -1
- package/dist/XCKGTAUF-DkxWCbaW.js +25 -0
- package/dist/Y67KZUMI-DFEgrUv2.js +15 -0
- package/dist/{AXB53BZF-BHeessqV.js → ZTXFEM5L-CkrIQCN1.js} +7 -7
- package/dist/{field-icon-size-Du58qHNC.js → field-icon-size-Z5NulTSk.js} +216 -224
- package/dist/{index-5rXezknO.js → index-BC2bF45u.js} +1 -1
- package/dist/{index-C8GsqBDe.js → index-BeetbagJ.js} +1 -1
- package/dist/{index-BJLXLdM3.js → index-Bt79XJ8R.js} +1 -1
- package/dist/{index-Dcq5gh3E.js → index-BtwrJ6N4.js} +1 -1
- package/dist/{index-DL4-ut3P.js → index-CCASZBtz.js} +1 -1
- package/dist/{index-lbUBMgHp.js → index-CPqDZeah.js} +2 -2
- package/dist/{index-CTgip19b.js → index-CQEPCbEE.js} +1 -1
- package/dist/{index-CnxSNAPH.js → index-Crpe9CvH.js} +1 -1
- package/dist/{index-CWVOLBDY.js → index-D5a8Oe6k.js} +1 -1
- package/dist/{index-C1jjVTAc.js → index-D8dq-I5s.js} +1 -1
- package/dist/{index-Cvtm6uuS.js → index-DkwTwo3z.js} +1 -1
- package/dist/{index-BG2aV9o8.js → index-DnO8yBVT.js} +1 -1
- package/dist/index.css +0 -0
- package/dist/tslib.es6-DpB4Y59c.js +683 -0
- package/dist/types/components/Pagination/index.d.ts +1 -2
- package/dist/types/components/Pagination/types.d.ts +5 -2
- package/dist/types/components/PasswordInput/ToggleButton.d.ts +1 -1
- package/dist/types/components/PasswordInput/types.d.ts +1 -1
- package/dist/types/components/Tabs/components/TabList/index.d.ts +1 -1
- package/dist/types/components/Tabs/index.d.ts +1 -1
- package/dist/types/components/Tabs/types.d.ts +1 -2
- package/dist/types/components/Tabs/utils.d.ts +1 -2
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/theme/index.d.ts +0 -0
- package/dist/types/utils/useForkRef.d.ts +7 -1
- package/dist/useForkRef-D807AV7D.js +22 -0
- package/dist/{utils-BNMgUIHQ.js → utils-BpbIqM56.js} +1 -1
- package/dist/utils.js +2 -2
- package/package.json +5 -5
- package/dist/BYC7LY2E-DbSoi9cN.js +0 -673
- package/dist/KUU7WJ55-CsIy9XMu.js +0 -61
- package/dist/MTZPJQMC-D_TnSwZf.js +0 -15
- package/dist/QYJ6MIDR-Dm7lYMh6.js +0 -43
- package/dist/X5NMLKT6-PeY306ft.js +0 -25
- package/dist/index--0U5Rubs.js +0 -644
- /package/dist/{index-PAaZGbyz.js → index-CdiHdiVB.js} +0 -0
package/dist/index--0U5Rubs.js
DELETED
|
@@ -1,644 +0,0 @@
|
|
|
1
|
-
import { g as ge } from "./index-PAaZGbyz.js";
|
|
2
|
-
var V = { exports: {} }, N = { exports: {} }, T = {}, ue;
|
|
3
|
-
function Se() {
|
|
4
|
-
if (ue) return T;
|
|
5
|
-
ue = 1;
|
|
6
|
-
var o = typeof Symbol == "function" && Symbol.for, C = o ? Symbol.for("react.element") : 60103, O = o ? Symbol.for("react.portal") : 60106, p = o ? Symbol.for("react.fragment") : 60107, S = o ? Symbol.for("react.strict_mode") : 60108, a = o ? Symbol.for("react.profiler") : 60114, P = o ? Symbol.for("react.provider") : 60109, l = o ? Symbol.for("react.context") : 60110, _ = o ? Symbol.for("react.async_mode") : 60111, g = o ? Symbol.for("react.concurrent_mode") : 60111, b = o ? Symbol.for("react.forward_ref") : 60112, E = o ? Symbol.for("react.suspense") : 60113, x = o ? Symbol.for("react.suspense_list") : 60120, w = o ? Symbol.for("react.memo") : 60115, M = o ? Symbol.for("react.lazy") : 60116, R = o ? Symbol.for("react.block") : 60121, j = o ? Symbol.for("react.fundamental") : 60117, q = o ? Symbol.for("react.responder") : 60118, F = o ? Symbol.for("react.scope") : 60119;
|
|
7
|
-
function I(t) {
|
|
8
|
-
if (typeof t == "object" && t !== null) {
|
|
9
|
-
var k = t.$$typeof;
|
|
10
|
-
switch (k) {
|
|
11
|
-
case C:
|
|
12
|
-
switch (t = t.type, t) {
|
|
13
|
-
case _:
|
|
14
|
-
case g:
|
|
15
|
-
case p:
|
|
16
|
-
case a:
|
|
17
|
-
case S:
|
|
18
|
-
case E:
|
|
19
|
-
return t;
|
|
20
|
-
default:
|
|
21
|
-
switch (t = t && t.$$typeof, t) {
|
|
22
|
-
case l:
|
|
23
|
-
case b:
|
|
24
|
-
case M:
|
|
25
|
-
case w:
|
|
26
|
-
case P:
|
|
27
|
-
return t;
|
|
28
|
-
default:
|
|
29
|
-
return k;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
case O:
|
|
33
|
-
return k;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
function A(t) {
|
|
38
|
-
return I(t) === g;
|
|
39
|
-
}
|
|
40
|
-
return T.AsyncMode = _, T.ConcurrentMode = g, T.ContextConsumer = l, T.ContextProvider = P, T.Element = C, T.ForwardRef = b, T.Fragment = p, T.Lazy = M, T.Memo = w, T.Portal = O, T.Profiler = a, T.StrictMode = S, T.Suspense = E, T.isAsyncMode = function(t) {
|
|
41
|
-
return A(t) || I(t) === _;
|
|
42
|
-
}, T.isConcurrentMode = A, T.isContextConsumer = function(t) {
|
|
43
|
-
return I(t) === l;
|
|
44
|
-
}, T.isContextProvider = function(t) {
|
|
45
|
-
return I(t) === P;
|
|
46
|
-
}, T.isElement = function(t) {
|
|
47
|
-
return typeof t == "object" && t !== null && t.$$typeof === C;
|
|
48
|
-
}, T.isForwardRef = function(t) {
|
|
49
|
-
return I(t) === b;
|
|
50
|
-
}, T.isFragment = function(t) {
|
|
51
|
-
return I(t) === p;
|
|
52
|
-
}, T.isLazy = function(t) {
|
|
53
|
-
return I(t) === M;
|
|
54
|
-
}, T.isMemo = function(t) {
|
|
55
|
-
return I(t) === w;
|
|
56
|
-
}, T.isPortal = function(t) {
|
|
57
|
-
return I(t) === O;
|
|
58
|
-
}, T.isProfiler = function(t) {
|
|
59
|
-
return I(t) === a;
|
|
60
|
-
}, T.isStrictMode = function(t) {
|
|
61
|
-
return I(t) === S;
|
|
62
|
-
}, T.isSuspense = function(t) {
|
|
63
|
-
return I(t) === E;
|
|
64
|
-
}, T.isValidElementType = function(t) {
|
|
65
|
-
return typeof t == "string" || typeof t == "function" || t === p || t === g || t === a || t === S || t === E || t === x || typeof t == "object" && t !== null && (t.$$typeof === M || t.$$typeof === w || t.$$typeof === P || t.$$typeof === l || t.$$typeof === b || t.$$typeof === j || t.$$typeof === q || t.$$typeof === F || t.$$typeof === R);
|
|
66
|
-
}, T.typeOf = I, T;
|
|
67
|
-
}
|
|
68
|
-
var m = {}, fe;
|
|
69
|
-
function Pe() {
|
|
70
|
-
return fe || (fe = 1, process.env.NODE_ENV !== "production" && function() {
|
|
71
|
-
var o = typeof Symbol == "function" && Symbol.for, C = o ? Symbol.for("react.element") : 60103, O = o ? Symbol.for("react.portal") : 60106, p = o ? Symbol.for("react.fragment") : 60107, S = o ? Symbol.for("react.strict_mode") : 60108, a = o ? Symbol.for("react.profiler") : 60114, P = o ? Symbol.for("react.provider") : 60109, l = o ? Symbol.for("react.context") : 60110, _ = o ? Symbol.for("react.async_mode") : 60111, g = o ? Symbol.for("react.concurrent_mode") : 60111, b = o ? Symbol.for("react.forward_ref") : 60112, E = o ? Symbol.for("react.suspense") : 60113, x = o ? Symbol.for("react.suspense_list") : 60120, w = o ? Symbol.for("react.memo") : 60115, M = o ? Symbol.for("react.lazy") : 60116, R = o ? Symbol.for("react.block") : 60121, j = o ? Symbol.for("react.fundamental") : 60117, q = o ? Symbol.for("react.responder") : 60118, F = o ? Symbol.for("react.scope") : 60119;
|
|
72
|
-
function I(r) {
|
|
73
|
-
return typeof r == "string" || typeof r == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
74
|
-
r === p || r === g || r === a || r === S || r === E || r === x || typeof r == "object" && r !== null && (r.$$typeof === M || r.$$typeof === w || r.$$typeof === P || r.$$typeof === l || r.$$typeof === b || r.$$typeof === j || r.$$typeof === q || r.$$typeof === F || r.$$typeof === R);
|
|
75
|
-
}
|
|
76
|
-
function A(r) {
|
|
77
|
-
if (typeof r == "object" && r !== null) {
|
|
78
|
-
var D = r.$$typeof;
|
|
79
|
-
switch (D) {
|
|
80
|
-
case C:
|
|
81
|
-
var B = r.type;
|
|
82
|
-
switch (B) {
|
|
83
|
-
case _:
|
|
84
|
-
case g:
|
|
85
|
-
case p:
|
|
86
|
-
case a:
|
|
87
|
-
case S:
|
|
88
|
-
case E:
|
|
89
|
-
return B;
|
|
90
|
-
default:
|
|
91
|
-
var se = B && B.$$typeof;
|
|
92
|
-
switch (se) {
|
|
93
|
-
case l:
|
|
94
|
-
case b:
|
|
95
|
-
case M:
|
|
96
|
-
case w:
|
|
97
|
-
case P:
|
|
98
|
-
return se;
|
|
99
|
-
default:
|
|
100
|
-
return D;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
case O:
|
|
104
|
-
return D;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
var t = _, k = g, H = l, J = P, X = C, G = b, U = p, K = M, Z = w, L = O, Q = a, Y = S, W = E, z = !1;
|
|
109
|
-
function ee(r) {
|
|
110
|
-
return z || (z = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), e(r) || A(r) === _;
|
|
111
|
-
}
|
|
112
|
-
function e(r) {
|
|
113
|
-
return A(r) === g;
|
|
114
|
-
}
|
|
115
|
-
function n(r) {
|
|
116
|
-
return A(r) === l;
|
|
117
|
-
}
|
|
118
|
-
function f(r) {
|
|
119
|
-
return A(r) === P;
|
|
120
|
-
}
|
|
121
|
-
function s(r) {
|
|
122
|
-
return typeof r == "object" && r !== null && r.$$typeof === C;
|
|
123
|
-
}
|
|
124
|
-
function i(r) {
|
|
125
|
-
return A(r) === b;
|
|
126
|
-
}
|
|
127
|
-
function y(r) {
|
|
128
|
-
return A(r) === p;
|
|
129
|
-
}
|
|
130
|
-
function c(r) {
|
|
131
|
-
return A(r) === M;
|
|
132
|
-
}
|
|
133
|
-
function u(r) {
|
|
134
|
-
return A(r) === w;
|
|
135
|
-
}
|
|
136
|
-
function d(r) {
|
|
137
|
-
return A(r) === O;
|
|
138
|
-
}
|
|
139
|
-
function h(r) {
|
|
140
|
-
return A(r) === a;
|
|
141
|
-
}
|
|
142
|
-
function v(r) {
|
|
143
|
-
return A(r) === S;
|
|
144
|
-
}
|
|
145
|
-
function $(r) {
|
|
146
|
-
return A(r) === E;
|
|
147
|
-
}
|
|
148
|
-
m.AsyncMode = t, m.ConcurrentMode = k, m.ContextConsumer = H, m.ContextProvider = J, m.Element = X, m.ForwardRef = G, m.Fragment = U, m.Lazy = K, m.Memo = Z, m.Portal = L, m.Profiler = Q, m.StrictMode = Y, m.Suspense = W, m.isAsyncMode = ee, m.isConcurrentMode = e, m.isContextConsumer = n, m.isContextProvider = f, m.isElement = s, m.isForwardRef = i, m.isFragment = y, m.isLazy = c, m.isMemo = u, m.isPortal = d, m.isProfiler = h, m.isStrictMode = v, m.isSuspense = $, m.isValidElementType = I, m.typeOf = A;
|
|
149
|
-
}()), m;
|
|
150
|
-
}
|
|
151
|
-
var le;
|
|
152
|
-
function he() {
|
|
153
|
-
return le || (le = 1, process.env.NODE_ENV === "production" ? N.exports = Se() : N.exports = Pe()), N.exports;
|
|
154
|
-
}
|
|
155
|
-
var re, pe;
|
|
156
|
-
function Oe() {
|
|
157
|
-
if (pe) return re;
|
|
158
|
-
pe = 1;
|
|
159
|
-
var o = Object.getOwnPropertySymbols, C = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
|
|
160
|
-
function p(a) {
|
|
161
|
-
if (a == null)
|
|
162
|
-
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
163
|
-
return Object(a);
|
|
164
|
-
}
|
|
165
|
-
function S() {
|
|
166
|
-
try {
|
|
167
|
-
if (!Object.assign)
|
|
168
|
-
return !1;
|
|
169
|
-
var a = new String("abc");
|
|
170
|
-
if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
|
|
171
|
-
return !1;
|
|
172
|
-
for (var P = {}, l = 0; l < 10; l++)
|
|
173
|
-
P["_" + String.fromCharCode(l)] = l;
|
|
174
|
-
var _ = Object.getOwnPropertyNames(P).map(function(b) {
|
|
175
|
-
return P[b];
|
|
176
|
-
});
|
|
177
|
-
if (_.join("") !== "0123456789")
|
|
178
|
-
return !1;
|
|
179
|
-
var g = {};
|
|
180
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(b) {
|
|
181
|
-
g[b] = b;
|
|
182
|
-
}), Object.keys(Object.assign({}, g)).join("") === "abcdefghijklmnopqrst";
|
|
183
|
-
} catch {
|
|
184
|
-
return !1;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
return re = S() ? Object.assign : function(a, P) {
|
|
188
|
-
for (var l, _ = p(a), g, b = 1; b < arguments.length; b++) {
|
|
189
|
-
l = Object(arguments[b]);
|
|
190
|
-
for (var E in l)
|
|
191
|
-
C.call(l, E) && (_[E] = l[E]);
|
|
192
|
-
if (o) {
|
|
193
|
-
g = o(l);
|
|
194
|
-
for (var x = 0; x < g.length; x++)
|
|
195
|
-
O.call(l, g[x]) && (_[g[x]] = l[g[x]]);
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
return _;
|
|
199
|
-
}, re;
|
|
200
|
-
}
|
|
201
|
-
var te, ye;
|
|
202
|
-
function ce() {
|
|
203
|
-
if (ye) return te;
|
|
204
|
-
ye = 1;
|
|
205
|
-
var o = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
206
|
-
return te = o, te;
|
|
207
|
-
}
|
|
208
|
-
var ne, de;
|
|
209
|
-
function Ee() {
|
|
210
|
-
return de || (de = 1, ne = Function.call.bind(Object.prototype.hasOwnProperty)), ne;
|
|
211
|
-
}
|
|
212
|
-
var oe, ve;
|
|
213
|
-
function _e() {
|
|
214
|
-
if (ve) return oe;
|
|
215
|
-
ve = 1;
|
|
216
|
-
var o = function() {
|
|
217
|
-
};
|
|
218
|
-
if (process.env.NODE_ENV !== "production") {
|
|
219
|
-
var C = /* @__PURE__ */ ce(), O = {}, p = /* @__PURE__ */ Ee();
|
|
220
|
-
o = function(a) {
|
|
221
|
-
var P = "Warning: " + a;
|
|
222
|
-
typeof console < "u" && console.error(P);
|
|
223
|
-
try {
|
|
224
|
-
throw new Error(P);
|
|
225
|
-
} catch {
|
|
226
|
-
}
|
|
227
|
-
};
|
|
228
|
-
}
|
|
229
|
-
function S(a, P, l, _, g) {
|
|
230
|
-
if (process.env.NODE_ENV !== "production") {
|
|
231
|
-
for (var b in a)
|
|
232
|
-
if (p(a, b)) {
|
|
233
|
-
var E;
|
|
234
|
-
try {
|
|
235
|
-
if (typeof a[b] != "function") {
|
|
236
|
-
var x = Error(
|
|
237
|
-
(_ || "React class") + ": " + l + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
238
|
-
);
|
|
239
|
-
throw x.name = "Invariant Violation", x;
|
|
240
|
-
}
|
|
241
|
-
E = a[b](P, b, _, l, null, C);
|
|
242
|
-
} catch (M) {
|
|
243
|
-
E = M;
|
|
244
|
-
}
|
|
245
|
-
if (E && !(E instanceof Error) && o(
|
|
246
|
-
(_ || "React class") + ": type specification of " + l + " `" + b + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof E + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
247
|
-
), E instanceof Error && !(E.message in O)) {
|
|
248
|
-
O[E.message] = !0;
|
|
249
|
-
var w = g ? g() : "";
|
|
250
|
-
o(
|
|
251
|
-
"Failed " + l + " type: " + E.message + (w ?? "")
|
|
252
|
-
);
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
return S.resetWarningCache = function() {
|
|
258
|
-
process.env.NODE_ENV !== "production" && (O = {});
|
|
259
|
-
}, oe = S, oe;
|
|
260
|
-
}
|
|
261
|
-
var ie, be;
|
|
262
|
-
function Re() {
|
|
263
|
-
if (be) return ie;
|
|
264
|
-
be = 1;
|
|
265
|
-
var o = he(), C = Oe(), O = /* @__PURE__ */ ce(), p = /* @__PURE__ */ Ee(), S = /* @__PURE__ */ _e(), a = function() {
|
|
266
|
-
};
|
|
267
|
-
process.env.NODE_ENV !== "production" && (a = function(l) {
|
|
268
|
-
var _ = "Warning: " + l;
|
|
269
|
-
typeof console < "u" && console.error(_);
|
|
270
|
-
try {
|
|
271
|
-
throw new Error(_);
|
|
272
|
-
} catch {
|
|
273
|
-
}
|
|
274
|
-
});
|
|
275
|
-
function P() {
|
|
276
|
-
return null;
|
|
277
|
-
}
|
|
278
|
-
return ie = function(l, _) {
|
|
279
|
-
var g = typeof Symbol == "function" && Symbol.iterator, b = "@@iterator";
|
|
280
|
-
function E(e) {
|
|
281
|
-
var n = e && (g && e[g] || e[b]);
|
|
282
|
-
if (typeof n == "function")
|
|
283
|
-
return n;
|
|
284
|
-
}
|
|
285
|
-
var x = "<<anonymous>>", w = {
|
|
286
|
-
array: q("array"),
|
|
287
|
-
bigint: q("bigint"),
|
|
288
|
-
bool: q("boolean"),
|
|
289
|
-
func: q("function"),
|
|
290
|
-
number: q("number"),
|
|
291
|
-
object: q("object"),
|
|
292
|
-
string: q("string"),
|
|
293
|
-
symbol: q("symbol"),
|
|
294
|
-
any: F(),
|
|
295
|
-
arrayOf: I,
|
|
296
|
-
element: A(),
|
|
297
|
-
elementType: t(),
|
|
298
|
-
instanceOf: k,
|
|
299
|
-
node: G(),
|
|
300
|
-
objectOf: J,
|
|
301
|
-
oneOf: H,
|
|
302
|
-
oneOfType: X,
|
|
303
|
-
shape: K,
|
|
304
|
-
exact: Z
|
|
305
|
-
};
|
|
306
|
-
function M(e, n) {
|
|
307
|
-
return e === n ? e !== 0 || 1 / e === 1 / n : e !== e && n !== n;
|
|
308
|
-
}
|
|
309
|
-
function R(e, n) {
|
|
310
|
-
this.message = e, this.data = n && typeof n == "object" ? n : {}, this.stack = "";
|
|
311
|
-
}
|
|
312
|
-
R.prototype = Error.prototype;
|
|
313
|
-
function j(e) {
|
|
314
|
-
if (process.env.NODE_ENV !== "production")
|
|
315
|
-
var n = {}, f = 0;
|
|
316
|
-
function s(y, c, u, d, h, v, $) {
|
|
317
|
-
if (d = d || x, v = v || u, $ !== O) {
|
|
318
|
-
if (_) {
|
|
319
|
-
var r = new Error(
|
|
320
|
-
"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"
|
|
321
|
-
);
|
|
322
|
-
throw r.name = "Invariant Violation", r;
|
|
323
|
-
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
324
|
-
var D = d + ":" + u;
|
|
325
|
-
!n[D] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
326
|
-
f < 3 && (a(
|
|
327
|
-
"You are manually calling a React.PropTypes validation function for the `" + v + "` prop on `" + d + "`. 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."
|
|
328
|
-
), n[D] = !0, f++);
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
return c[u] == null ? y ? c[u] === null ? new R("The " + h + " `" + v + "` is marked as required " + ("in `" + d + "`, but its value is `null`.")) : new R("The " + h + " `" + v + "` is marked as required in " + ("`" + d + "`, but its value is `undefined`.")) : null : e(c, u, d, h, v);
|
|
332
|
-
}
|
|
333
|
-
var i = s.bind(null, !1);
|
|
334
|
-
return i.isRequired = s.bind(null, !0), i;
|
|
335
|
-
}
|
|
336
|
-
function q(e) {
|
|
337
|
-
function n(f, s, i, y, c, u) {
|
|
338
|
-
var d = f[s], h = Y(d);
|
|
339
|
-
if (h !== e) {
|
|
340
|
-
var v = W(d);
|
|
341
|
-
return new R(
|
|
342
|
-
"Invalid " + y + " `" + c + "` of type " + ("`" + v + "` supplied to `" + i + "`, expected ") + ("`" + e + "`."),
|
|
343
|
-
{ expectedType: e }
|
|
344
|
-
);
|
|
345
|
-
}
|
|
346
|
-
return null;
|
|
347
|
-
}
|
|
348
|
-
return j(n);
|
|
349
|
-
}
|
|
350
|
-
function F() {
|
|
351
|
-
return j(P);
|
|
352
|
-
}
|
|
353
|
-
function I(e) {
|
|
354
|
-
function n(f, s, i, y, c) {
|
|
355
|
-
if (typeof e != "function")
|
|
356
|
-
return new R("Property `" + c + "` of component `" + i + "` has invalid PropType notation inside arrayOf.");
|
|
357
|
-
var u = f[s];
|
|
358
|
-
if (!Array.isArray(u)) {
|
|
359
|
-
var d = Y(u);
|
|
360
|
-
return new R("Invalid " + y + " `" + c + "` of type " + ("`" + d + "` supplied to `" + i + "`, expected an array."));
|
|
361
|
-
}
|
|
362
|
-
for (var h = 0; h < u.length; h++) {
|
|
363
|
-
var v = e(u, h, i, y, c + "[" + h + "]", O);
|
|
364
|
-
if (v instanceof Error)
|
|
365
|
-
return v;
|
|
366
|
-
}
|
|
367
|
-
return null;
|
|
368
|
-
}
|
|
369
|
-
return j(n);
|
|
370
|
-
}
|
|
371
|
-
function A() {
|
|
372
|
-
function e(n, f, s, i, y) {
|
|
373
|
-
var c = n[f];
|
|
374
|
-
if (!l(c)) {
|
|
375
|
-
var u = Y(c);
|
|
376
|
-
return new R("Invalid " + i + " `" + y + "` of type " + ("`" + u + "` supplied to `" + s + "`, expected a single ReactElement."));
|
|
377
|
-
}
|
|
378
|
-
return null;
|
|
379
|
-
}
|
|
380
|
-
return j(e);
|
|
381
|
-
}
|
|
382
|
-
function t() {
|
|
383
|
-
function e(n, f, s, i, y) {
|
|
384
|
-
var c = n[f];
|
|
385
|
-
if (!o.isValidElementType(c)) {
|
|
386
|
-
var u = Y(c);
|
|
387
|
-
return new R("Invalid " + i + " `" + y + "` of type " + ("`" + u + "` supplied to `" + s + "`, expected a single ReactElement type."));
|
|
388
|
-
}
|
|
389
|
-
return null;
|
|
390
|
-
}
|
|
391
|
-
return j(e);
|
|
392
|
-
}
|
|
393
|
-
function k(e) {
|
|
394
|
-
function n(f, s, i, y, c) {
|
|
395
|
-
if (!(f[s] instanceof e)) {
|
|
396
|
-
var u = e.name || x, d = ee(f[s]);
|
|
397
|
-
return new R("Invalid " + y + " `" + c + "` of type " + ("`" + d + "` supplied to `" + i + "`, expected ") + ("instance of `" + u + "`."));
|
|
398
|
-
}
|
|
399
|
-
return null;
|
|
400
|
-
}
|
|
401
|
-
return j(n);
|
|
402
|
-
}
|
|
403
|
-
function H(e) {
|
|
404
|
-
if (!Array.isArray(e))
|
|
405
|
-
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
|
|
406
|
-
"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])."
|
|
407
|
-
) : a("Invalid argument supplied to oneOf, expected an array.")), P;
|
|
408
|
-
function n(f, s, i, y, c) {
|
|
409
|
-
for (var u = f[s], d = 0; d < e.length; d++)
|
|
410
|
-
if (M(u, e[d]))
|
|
411
|
-
return null;
|
|
412
|
-
var h = JSON.stringify(e, function($, r) {
|
|
413
|
-
var D = W(r);
|
|
414
|
-
return D === "symbol" ? String(r) : r;
|
|
415
|
-
});
|
|
416
|
-
return new R("Invalid " + y + " `" + c + "` of value `" + String(u) + "` " + ("supplied to `" + i + "`, expected one of " + h + "."));
|
|
417
|
-
}
|
|
418
|
-
return j(n);
|
|
419
|
-
}
|
|
420
|
-
function J(e) {
|
|
421
|
-
function n(f, s, i, y, c) {
|
|
422
|
-
if (typeof e != "function")
|
|
423
|
-
return new R("Property `" + c + "` of component `" + i + "` has invalid PropType notation inside objectOf.");
|
|
424
|
-
var u = f[s], d = Y(u);
|
|
425
|
-
if (d !== "object")
|
|
426
|
-
return new R("Invalid " + y + " `" + c + "` of type " + ("`" + d + "` supplied to `" + i + "`, expected an object."));
|
|
427
|
-
for (var h in u)
|
|
428
|
-
if (p(u, h)) {
|
|
429
|
-
var v = e(u, h, i, y, c + "." + h, O);
|
|
430
|
-
if (v instanceof Error)
|
|
431
|
-
return v;
|
|
432
|
-
}
|
|
433
|
-
return null;
|
|
434
|
-
}
|
|
435
|
-
return j(n);
|
|
436
|
-
}
|
|
437
|
-
function X(e) {
|
|
438
|
-
if (!Array.isArray(e))
|
|
439
|
-
return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), P;
|
|
440
|
-
for (var n = 0; n < e.length; n++) {
|
|
441
|
-
var f = e[n];
|
|
442
|
-
if (typeof f != "function")
|
|
443
|
-
return a(
|
|
444
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + z(f) + " at index " + n + "."
|
|
445
|
-
), P;
|
|
446
|
-
}
|
|
447
|
-
function s(i, y, c, u, d) {
|
|
448
|
-
for (var h = [], v = 0; v < e.length; v++) {
|
|
449
|
-
var $ = e[v], r = $(i, y, c, u, d, O);
|
|
450
|
-
if (r == null)
|
|
451
|
-
return null;
|
|
452
|
-
r.data && p(r.data, "expectedType") && h.push(r.data.expectedType);
|
|
453
|
-
}
|
|
454
|
-
var D = h.length > 0 ? ", expected one of type [" + h.join(", ") + "]" : "";
|
|
455
|
-
return new R("Invalid " + u + " `" + d + "` supplied to " + ("`" + c + "`" + D + "."));
|
|
456
|
-
}
|
|
457
|
-
return j(s);
|
|
458
|
-
}
|
|
459
|
-
function G() {
|
|
460
|
-
function e(n, f, s, i, y) {
|
|
461
|
-
return L(n[f]) ? null : new R("Invalid " + i + " `" + y + "` supplied to " + ("`" + s + "`, expected a ReactNode."));
|
|
462
|
-
}
|
|
463
|
-
return j(e);
|
|
464
|
-
}
|
|
465
|
-
function U(e, n, f, s, i) {
|
|
466
|
-
return new R(
|
|
467
|
-
(e || "React class") + ": " + n + " type `" + f + "." + s + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + i + "`."
|
|
468
|
-
);
|
|
469
|
-
}
|
|
470
|
-
function K(e) {
|
|
471
|
-
function n(f, s, i, y, c) {
|
|
472
|
-
var u = f[s], d = Y(u);
|
|
473
|
-
if (d !== "object")
|
|
474
|
-
return new R("Invalid " + y + " `" + c + "` of type `" + d + "` " + ("supplied to `" + i + "`, expected `object`."));
|
|
475
|
-
for (var h in e) {
|
|
476
|
-
var v = e[h];
|
|
477
|
-
if (typeof v != "function")
|
|
478
|
-
return U(i, y, c, h, W(v));
|
|
479
|
-
var $ = v(u, h, i, y, c + "." + h, O);
|
|
480
|
-
if ($)
|
|
481
|
-
return $;
|
|
482
|
-
}
|
|
483
|
-
return null;
|
|
484
|
-
}
|
|
485
|
-
return j(n);
|
|
486
|
-
}
|
|
487
|
-
function Z(e) {
|
|
488
|
-
function n(f, s, i, y, c) {
|
|
489
|
-
var u = f[s], d = Y(u);
|
|
490
|
-
if (d !== "object")
|
|
491
|
-
return new R("Invalid " + y + " `" + c + "` of type `" + d + "` " + ("supplied to `" + i + "`, expected `object`."));
|
|
492
|
-
var h = C({}, f[s], e);
|
|
493
|
-
for (var v in h) {
|
|
494
|
-
var $ = e[v];
|
|
495
|
-
if (p(e, v) && typeof $ != "function")
|
|
496
|
-
return U(i, y, c, v, W($));
|
|
497
|
-
if (!$)
|
|
498
|
-
return new R(
|
|
499
|
-
"Invalid " + y + " `" + c + "` key `" + v + "` supplied to `" + i + "`.\nBad object: " + JSON.stringify(f[s], null, " ") + `
|
|
500
|
-
Valid keys: ` + JSON.stringify(Object.keys(e), null, " ")
|
|
501
|
-
);
|
|
502
|
-
var r = $(u, v, i, y, c + "." + v, O);
|
|
503
|
-
if (r)
|
|
504
|
-
return r;
|
|
505
|
-
}
|
|
506
|
-
return null;
|
|
507
|
-
}
|
|
508
|
-
return j(n);
|
|
509
|
-
}
|
|
510
|
-
function L(e) {
|
|
511
|
-
switch (typeof e) {
|
|
512
|
-
case "number":
|
|
513
|
-
case "string":
|
|
514
|
-
case "undefined":
|
|
515
|
-
return !0;
|
|
516
|
-
case "boolean":
|
|
517
|
-
return !e;
|
|
518
|
-
case "object":
|
|
519
|
-
if (Array.isArray(e))
|
|
520
|
-
return e.every(L);
|
|
521
|
-
if (e === null || l(e))
|
|
522
|
-
return !0;
|
|
523
|
-
var n = E(e);
|
|
524
|
-
if (n) {
|
|
525
|
-
var f = n.call(e), s;
|
|
526
|
-
if (n !== e.entries) {
|
|
527
|
-
for (; !(s = f.next()).done; )
|
|
528
|
-
if (!L(s.value))
|
|
529
|
-
return !1;
|
|
530
|
-
} else
|
|
531
|
-
for (; !(s = f.next()).done; ) {
|
|
532
|
-
var i = s.value;
|
|
533
|
-
if (i && !L(i[1]))
|
|
534
|
-
return !1;
|
|
535
|
-
}
|
|
536
|
-
} else
|
|
537
|
-
return !1;
|
|
538
|
-
return !0;
|
|
539
|
-
default:
|
|
540
|
-
return !1;
|
|
541
|
-
}
|
|
542
|
-
}
|
|
543
|
-
function Q(e, n) {
|
|
544
|
-
return e === "symbol" ? !0 : n ? n["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && n instanceof Symbol : !1;
|
|
545
|
-
}
|
|
546
|
-
function Y(e) {
|
|
547
|
-
var n = typeof e;
|
|
548
|
-
return Array.isArray(e) ? "array" : e instanceof RegExp ? "object" : Q(n, e) ? "symbol" : n;
|
|
549
|
-
}
|
|
550
|
-
function W(e) {
|
|
551
|
-
if (typeof e > "u" || e === null)
|
|
552
|
-
return "" + e;
|
|
553
|
-
var n = Y(e);
|
|
554
|
-
if (n === "object") {
|
|
555
|
-
if (e instanceof Date)
|
|
556
|
-
return "date";
|
|
557
|
-
if (e instanceof RegExp)
|
|
558
|
-
return "regexp";
|
|
559
|
-
}
|
|
560
|
-
return n;
|
|
561
|
-
}
|
|
562
|
-
function z(e) {
|
|
563
|
-
var n = W(e);
|
|
564
|
-
switch (n) {
|
|
565
|
-
case "array":
|
|
566
|
-
case "object":
|
|
567
|
-
return "an " + n;
|
|
568
|
-
case "boolean":
|
|
569
|
-
case "date":
|
|
570
|
-
case "regexp":
|
|
571
|
-
return "a " + n;
|
|
572
|
-
default:
|
|
573
|
-
return n;
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
function ee(e) {
|
|
577
|
-
return !e.constructor || !e.constructor.name ? x : e.constructor.name;
|
|
578
|
-
}
|
|
579
|
-
return w.checkPropTypes = S, w.resetWarningCache = S.resetWarningCache, w.PropTypes = w, w;
|
|
580
|
-
}, ie;
|
|
581
|
-
}
|
|
582
|
-
var ae, Te;
|
|
583
|
-
function xe() {
|
|
584
|
-
if (Te) return ae;
|
|
585
|
-
Te = 1;
|
|
586
|
-
var o = /* @__PURE__ */ ce();
|
|
587
|
-
function C() {
|
|
588
|
-
}
|
|
589
|
-
function O() {
|
|
590
|
-
}
|
|
591
|
-
return O.resetWarningCache = C, ae = function() {
|
|
592
|
-
function p(P, l, _, g, b, E) {
|
|
593
|
-
if (E !== o) {
|
|
594
|
-
var x = new Error(
|
|
595
|
-
"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"
|
|
596
|
-
);
|
|
597
|
-
throw x.name = "Invariant Violation", x;
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
p.isRequired = p;
|
|
601
|
-
function S() {
|
|
602
|
-
return p;
|
|
603
|
-
}
|
|
604
|
-
var a = {
|
|
605
|
-
array: p,
|
|
606
|
-
bigint: p,
|
|
607
|
-
bool: p,
|
|
608
|
-
func: p,
|
|
609
|
-
number: p,
|
|
610
|
-
object: p,
|
|
611
|
-
string: p,
|
|
612
|
-
symbol: p,
|
|
613
|
-
any: p,
|
|
614
|
-
arrayOf: S,
|
|
615
|
-
element: p,
|
|
616
|
-
elementType: p,
|
|
617
|
-
instanceOf: S,
|
|
618
|
-
node: p,
|
|
619
|
-
objectOf: S,
|
|
620
|
-
oneOf: S,
|
|
621
|
-
oneOfType: S,
|
|
622
|
-
shape: S,
|
|
623
|
-
exact: S,
|
|
624
|
-
checkPropTypes: O,
|
|
625
|
-
resetWarningCache: C
|
|
626
|
-
};
|
|
627
|
-
return a.PropTypes = a, a;
|
|
628
|
-
}, ae;
|
|
629
|
-
}
|
|
630
|
-
var me;
|
|
631
|
-
function Ce() {
|
|
632
|
-
if (me) return V.exports;
|
|
633
|
-
if (me = 1, process.env.NODE_ENV !== "production") {
|
|
634
|
-
var o = he(), C = !0;
|
|
635
|
-
V.exports = /* @__PURE__ */ Re()(o.isElement, C);
|
|
636
|
-
} else
|
|
637
|
-
V.exports = /* @__PURE__ */ xe()();
|
|
638
|
-
return V.exports;
|
|
639
|
-
}
|
|
640
|
-
var we = /* @__PURE__ */ Ce();
|
|
641
|
-
const Ie = /* @__PURE__ */ ge(we);
|
|
642
|
-
export {
|
|
643
|
-
Ie as P
|
|
644
|
-
};
|
|
File without changes
|