@redapollos/storm-form 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/storm-form.es.js +215 -214
- package/dist/storm-form.umd.js +9 -9
- package/package.json +1 -1
- package/dist/logo.svg +0 -23
package/dist/storm-form.es.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import
|
2
|
-
var
|
1
|
+
import Oe from "react";
|
2
|
+
var L = { exports: {} }, F = {};
|
3
3
|
/**
|
4
4
|
* @license React
|
5
5
|
* react-jsx-runtime.production.min.js
|
@@ -9,19 +9,19 @@ var M = { exports: {} }, F = {};
|
|
9
9
|
* This source code is licensed under the MIT license found in the
|
10
10
|
* LICENSE file in the root directory of this source tree.
|
11
11
|
*/
|
12
|
-
var
|
13
|
-
function
|
14
|
-
if (
|
15
|
-
|
16
|
-
var
|
17
|
-
function
|
12
|
+
var xe;
|
13
|
+
function fr() {
|
14
|
+
if (xe) return F;
|
15
|
+
xe = 1;
|
16
|
+
var V = Oe, P = Symbol.for("react.element"), N = Symbol.for("react.fragment"), R = Object.prototype.hasOwnProperty, A = V.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, I = { key: !0, ref: !0, __self: !0, __source: !0 };
|
17
|
+
function C(m, c, T) {
|
18
18
|
var p, h = {}, b = null, $ = null;
|
19
|
-
T !== void 0 && (b = "" + T),
|
20
|
-
for (p in
|
21
|
-
if (
|
22
|
-
return { $$typeof:
|
19
|
+
T !== void 0 && (b = "" + T), c.key !== void 0 && (b = "" + c.key), c.ref !== void 0 && ($ = c.ref);
|
20
|
+
for (p in c) R.call(c, p) && !I.hasOwnProperty(p) && (h[p] = c[p]);
|
21
|
+
if (m && m.defaultProps) for (p in c = m.defaultProps, c) h[p] === void 0 && (h[p] = c[p]);
|
22
|
+
return { $$typeof: P, type: m, key: b, ref: $, props: h, _owner: A.current };
|
23
23
|
}
|
24
|
-
return F.Fragment = N, F.jsx =
|
24
|
+
return F.Fragment = N, F.jsx = C, F.jsxs = C, F;
|
25
25
|
}
|
26
26
|
var D = {};
|
27
27
|
/**
|
@@ -33,38 +33,38 @@ var D = {};
|
|
33
33
|
* This source code is licensed under the MIT license found in the
|
34
34
|
* LICENSE file in the root directory of this source tree.
|
35
35
|
*/
|
36
|
-
var
|
37
|
-
function
|
38
|
-
return
|
39
|
-
var
|
40
|
-
function
|
36
|
+
var we;
|
37
|
+
function dr() {
|
38
|
+
return we || (we = 1, process.env.NODE_ENV !== "production" && function() {
|
39
|
+
var V = Oe, P = Symbol.for("react.element"), N = Symbol.for("react.portal"), R = Symbol.for("react.fragment"), A = Symbol.for("react.strict_mode"), I = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), m = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), H = Symbol.iterator, Pe = "@@iterator";
|
40
|
+
function Ce(e) {
|
41
41
|
if (e === null || typeof e != "object")
|
42
42
|
return null;
|
43
|
-
var r =
|
43
|
+
var r = H && e[H] || e[Pe];
|
44
44
|
return typeof r == "function" ? r : null;
|
45
45
|
}
|
46
|
-
var
|
47
|
-
function
|
46
|
+
var x = V.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
47
|
+
function f(e) {
|
48
48
|
{
|
49
49
|
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
50
50
|
t[n - 1] = arguments[n];
|
51
|
-
|
51
|
+
je("error", e, t);
|
52
52
|
}
|
53
53
|
}
|
54
|
-
function
|
54
|
+
function je(e, r, t) {
|
55
55
|
{
|
56
|
-
var n =
|
57
|
-
|
58
|
-
var
|
59
|
-
return String(
|
56
|
+
var n = x.ReactDebugCurrentFrame, i = n.getStackAddendum();
|
57
|
+
i !== "" && (r += "%s", t = t.concat([i]));
|
58
|
+
var s = t.map(function(o) {
|
59
|
+
return String(o);
|
60
60
|
});
|
61
|
-
|
61
|
+
s.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, s);
|
62
62
|
}
|
63
63
|
}
|
64
64
|
var ke = !1, Fe = !1, De = !1, Ae = !1, Ie = !1, Q;
|
65
65
|
Q = Symbol.for("react.module.reference");
|
66
66
|
function $e(e) {
|
67
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
67
|
+
return !!(typeof e == "string" || typeof e == "function" || e === R || e === I || Ie || e === A || e === T || e === p || Ae || e === $ || ke || Fe || De || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === h || e.$$typeof === C || e.$$typeof === m || e.$$typeof === c || // This needs to include all possible module reference object
|
68
68
|
// types supported by any Flight configuration anywhere since
|
69
69
|
// we don't know which Flight build this will end up being used
|
70
70
|
// with.
|
@@ -74,21 +74,21 @@ function vr() {
|
|
74
74
|
var n = e.displayName;
|
75
75
|
if (n)
|
76
76
|
return n;
|
77
|
-
var
|
78
|
-
return
|
77
|
+
var i = r.displayName || r.name || "";
|
78
|
+
return i !== "" ? t + "(" + i + ")" : t;
|
79
79
|
}
|
80
80
|
function ee(e) {
|
81
81
|
return e.displayName || "Context";
|
82
82
|
}
|
83
|
-
function
|
83
|
+
function y(e) {
|
84
84
|
if (e == null)
|
85
85
|
return null;
|
86
|
-
if (typeof e.tag == "number" &&
|
86
|
+
if (typeof e.tag == "number" && f("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
87
87
|
return e.displayName || e.name || null;
|
88
88
|
if (typeof e == "string")
|
89
89
|
return e;
|
90
90
|
switch (e) {
|
91
|
-
case
|
91
|
+
case R:
|
92
92
|
return "Fragment";
|
93
93
|
case N:
|
94
94
|
return "Portal";
|
@@ -103,21 +103,21 @@ function vr() {
|
|
103
103
|
}
|
104
104
|
if (typeof e == "object")
|
105
105
|
switch (e.$$typeof) {
|
106
|
-
case
|
106
|
+
case m:
|
107
107
|
var r = e;
|
108
108
|
return ee(r) + ".Consumer";
|
109
|
-
case
|
109
|
+
case C:
|
110
110
|
var t = e;
|
111
111
|
return ee(t._context) + ".Provider";
|
112
|
-
case
|
112
|
+
case c:
|
113
113
|
return We(e, e.render, "ForwardRef");
|
114
114
|
case h:
|
115
115
|
var n = e.displayName || null;
|
116
|
-
return n !== null ? n :
|
116
|
+
return n !== null ? n : y(e.type) || "Memo";
|
117
117
|
case b: {
|
118
|
-
var
|
118
|
+
var i = e, s = i._payload, o = i._init;
|
119
119
|
try {
|
120
|
-
return
|
120
|
+
return y(o(s));
|
121
121
|
} catch {
|
122
122
|
return null;
|
123
123
|
}
|
@@ -125,18 +125,18 @@ function vr() {
|
|
125
125
|
}
|
126
126
|
return null;
|
127
127
|
}
|
128
|
-
var
|
129
|
-
function
|
128
|
+
var _ = Object.assign, j = 0, re, te, ne, ae, oe, ie, se;
|
129
|
+
function ue() {
|
130
130
|
}
|
131
|
-
|
131
|
+
ue.__reactDisabledLog = !0;
|
132
132
|
function Ye() {
|
133
133
|
{
|
134
|
-
if (
|
135
|
-
re = console.log, te = console.info, ne = console.warn, ae = console.error,
|
134
|
+
if (j === 0) {
|
135
|
+
re = console.log, te = console.info, ne = console.warn, ae = console.error, oe = console.group, ie = console.groupCollapsed, se = console.groupEnd;
|
136
136
|
var e = {
|
137
137
|
configurable: !0,
|
138
138
|
enumerable: !0,
|
139
|
-
value:
|
139
|
+
value: ue,
|
140
140
|
writable: !0
|
141
141
|
};
|
142
142
|
Object.defineProperties(console, {
|
@@ -149,52 +149,52 @@ function vr() {
|
|
149
149
|
groupEnd: e
|
150
150
|
});
|
151
151
|
}
|
152
|
-
|
152
|
+
j++;
|
153
153
|
}
|
154
154
|
}
|
155
|
-
function
|
155
|
+
function Me() {
|
156
156
|
{
|
157
|
-
if (
|
157
|
+
if (j--, j === 0) {
|
158
158
|
var e = {
|
159
159
|
configurable: !0,
|
160
160
|
enumerable: !0,
|
161
161
|
writable: !0
|
162
162
|
};
|
163
163
|
Object.defineProperties(console, {
|
164
|
-
log:
|
164
|
+
log: _({}, e, {
|
165
165
|
value: re
|
166
166
|
}),
|
167
|
-
info:
|
167
|
+
info: _({}, e, {
|
168
168
|
value: te
|
169
169
|
}),
|
170
|
-
warn:
|
170
|
+
warn: _({}, e, {
|
171
171
|
value: ne
|
172
172
|
}),
|
173
|
-
error:
|
173
|
+
error: _({}, e, {
|
174
174
|
value: ae
|
175
175
|
}),
|
176
|
-
group:
|
177
|
-
value: ie
|
178
|
-
}),
|
179
|
-
groupCollapsed: y({}, e, {
|
176
|
+
group: _({}, e, {
|
180
177
|
value: oe
|
181
178
|
}),
|
182
|
-
|
183
|
-
value:
|
179
|
+
groupCollapsed: _({}, e, {
|
180
|
+
value: ie
|
181
|
+
}),
|
182
|
+
groupEnd: _({}, e, {
|
183
|
+
value: se
|
184
184
|
})
|
185
185
|
});
|
186
186
|
}
|
187
|
-
|
187
|
+
j < 0 && f("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
188
188
|
}
|
189
189
|
}
|
190
|
-
var J =
|
190
|
+
var J = x.ReactCurrentDispatcher, q;
|
191
191
|
function W(e, r, t) {
|
192
192
|
{
|
193
193
|
if (q === void 0)
|
194
194
|
try {
|
195
195
|
throw Error();
|
196
|
-
} catch (
|
197
|
-
var n =
|
196
|
+
} catch (i) {
|
197
|
+
var n = i.stack.trim().match(/\n( *(at )?)/);
|
198
198
|
q = n && n[1] || "";
|
199
199
|
}
|
200
200
|
return `
|
@@ -203,8 +203,8 @@ function vr() {
|
|
203
203
|
}
|
204
204
|
var B = !1, Y;
|
205
205
|
{
|
206
|
-
var
|
207
|
-
Y = new
|
206
|
+
var Ue = typeof WeakMap == "function" ? WeakMap : Map;
|
207
|
+
Y = new Ue();
|
208
208
|
}
|
209
209
|
function le(e, r) {
|
210
210
|
if (!e || B)
|
@@ -216,79 +216,79 @@ function vr() {
|
|
216
216
|
}
|
217
217
|
var n;
|
218
218
|
B = !0;
|
219
|
-
var
|
219
|
+
var i = Error.prepareStackTrace;
|
220
220
|
Error.prepareStackTrace = void 0;
|
221
|
-
var
|
222
|
-
|
221
|
+
var s;
|
222
|
+
s = J.current, J.current = null, Ye();
|
223
223
|
try {
|
224
224
|
if (r) {
|
225
|
-
var
|
225
|
+
var o = function() {
|
226
226
|
throw Error();
|
227
227
|
};
|
228
|
-
if (Object.defineProperty(
|
228
|
+
if (Object.defineProperty(o.prototype, "props", {
|
229
229
|
set: function() {
|
230
230
|
throw Error();
|
231
231
|
}
|
232
232
|
}), typeof Reflect == "object" && Reflect.construct) {
|
233
233
|
try {
|
234
|
-
Reflect.construct(
|
235
|
-
} catch (
|
236
|
-
n =
|
234
|
+
Reflect.construct(o, []);
|
235
|
+
} catch (v) {
|
236
|
+
n = v;
|
237
237
|
}
|
238
|
-
Reflect.construct(e, [],
|
238
|
+
Reflect.construct(e, [], o);
|
239
239
|
} else {
|
240
240
|
try {
|
241
|
-
|
242
|
-
} catch (
|
243
|
-
n =
|
241
|
+
o.call();
|
242
|
+
} catch (v) {
|
243
|
+
n = v;
|
244
244
|
}
|
245
|
-
e.call(
|
245
|
+
e.call(o.prototype);
|
246
246
|
}
|
247
247
|
} else {
|
248
248
|
try {
|
249
249
|
throw Error();
|
250
|
-
} catch (
|
251
|
-
n =
|
250
|
+
} catch (v) {
|
251
|
+
n = v;
|
252
252
|
}
|
253
253
|
e();
|
254
254
|
}
|
255
|
-
} catch (
|
256
|
-
if (
|
257
|
-
for (var a =
|
258
|
-
`),
|
259
|
-
`),
|
255
|
+
} catch (v) {
|
256
|
+
if (v && n && typeof v.stack == "string") {
|
257
|
+
for (var a = v.stack.split(`
|
258
|
+
`), d = n.stack.split(`
|
259
|
+
`), u = a.length - 1, l = d.length - 1; u >= 1 && l >= 0 && a[u] !== d[l]; )
|
260
260
|
l--;
|
261
|
-
for (;
|
262
|
-
if (a[
|
263
|
-
if (
|
261
|
+
for (; u >= 1 && l >= 0; u--, l--)
|
262
|
+
if (a[u] !== d[l]) {
|
263
|
+
if (u !== 1 || l !== 1)
|
264
264
|
do
|
265
|
-
if (
|
265
|
+
if (u--, l--, l < 0 || a[u] !== d[l]) {
|
266
266
|
var g = `
|
267
|
-
` + a[
|
267
|
+
` + a[u].replace(" at new ", " at ");
|
268
268
|
return e.displayName && g.includes("<anonymous>") && (g = g.replace("<anonymous>", e.displayName)), typeof e == "function" && Y.set(e, g), g;
|
269
269
|
}
|
270
|
-
while (
|
270
|
+
while (u >= 1 && l >= 0);
|
271
271
|
break;
|
272
272
|
}
|
273
273
|
}
|
274
274
|
} finally {
|
275
|
-
B = !1, J.current =
|
275
|
+
B = !1, J.current = s, Me(), Error.prepareStackTrace = i;
|
276
276
|
}
|
277
|
-
var
|
278
|
-
return typeof e == "function" && Y.set(e,
|
277
|
+
var S = e ? e.displayName || e.name : "", E = S ? W(S) : "";
|
278
|
+
return typeof e == "function" && Y.set(e, E), E;
|
279
279
|
}
|
280
|
-
function
|
280
|
+
function Le(e, r, t) {
|
281
281
|
return le(e, !1);
|
282
282
|
}
|
283
|
-
function
|
283
|
+
function Ve(e) {
|
284
284
|
var r = e.prototype;
|
285
285
|
return !!(r && r.isReactComponent);
|
286
286
|
}
|
287
|
-
function
|
287
|
+
function M(e, r, t) {
|
288
288
|
if (e == null)
|
289
289
|
return "";
|
290
290
|
if (typeof e == "function")
|
291
|
-
return le(e,
|
291
|
+
return le(e, Ve(e));
|
292
292
|
if (typeof e == "string")
|
293
293
|
return W(e);
|
294
294
|
switch (e) {
|
@@ -299,49 +299,49 @@ function vr() {
|
|
299
299
|
}
|
300
300
|
if (typeof e == "object")
|
301
301
|
switch (e.$$typeof) {
|
302
|
-
case
|
303
|
-
return
|
302
|
+
case c:
|
303
|
+
return Le(e.render);
|
304
304
|
case h:
|
305
|
-
return
|
305
|
+
return M(e.type, r, t);
|
306
306
|
case b: {
|
307
|
-
var n = e,
|
307
|
+
var n = e, i = n._payload, s = n._init;
|
308
308
|
try {
|
309
|
-
return
|
309
|
+
return M(s(i), r, t);
|
310
310
|
} catch {
|
311
311
|
}
|
312
312
|
}
|
313
313
|
}
|
314
314
|
return "";
|
315
315
|
}
|
316
|
-
var k = Object.prototype.hasOwnProperty,
|
317
|
-
function
|
316
|
+
var k = Object.prototype.hasOwnProperty, ce = {}, fe = x.ReactDebugCurrentFrame;
|
317
|
+
function U(e) {
|
318
318
|
if (e) {
|
319
|
-
var r = e._owner, t =
|
320
|
-
|
319
|
+
var r = e._owner, t = M(e.type, e._source, r ? r.type : null);
|
320
|
+
fe.setExtraStackFrame(t);
|
321
321
|
} else
|
322
|
-
|
322
|
+
fe.setExtraStackFrame(null);
|
323
323
|
}
|
324
|
-
function Ne(e, r, t, n,
|
324
|
+
function Ne(e, r, t, n, i) {
|
325
325
|
{
|
326
|
-
var
|
327
|
-
for (var
|
328
|
-
if (
|
326
|
+
var s = Function.call.bind(k);
|
327
|
+
for (var o in e)
|
328
|
+
if (s(e, o)) {
|
329
329
|
var a = void 0;
|
330
330
|
try {
|
331
|
-
if (typeof e[
|
332
|
-
var
|
333
|
-
throw
|
331
|
+
if (typeof e[o] != "function") {
|
332
|
+
var d = Error((n || "React class") + ": " + t + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
333
|
+
throw d.name = "Invariant Violation", d;
|
334
334
|
}
|
335
|
-
a = e[
|
336
|
-
} catch (
|
337
|
-
a =
|
335
|
+
a = e[o](r, o, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
336
|
+
} catch (u) {
|
337
|
+
a = u;
|
338
338
|
}
|
339
|
-
a && !(a instanceof Error) && (
|
339
|
+
a && !(a instanceof Error) && (U(i), f("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, o, typeof a), U(null)), a instanceof Error && !(a.message in ce) && (ce[a.message] = !0, U(i), f("Failed %s type: %s", t, a.message), U(null));
|
340
340
|
}
|
341
341
|
}
|
342
342
|
}
|
343
343
|
var Je = Array.isArray;
|
344
|
-
function
|
344
|
+
function Z(e) {
|
345
345
|
return Je(e);
|
346
346
|
}
|
347
347
|
function qe(e) {
|
@@ -352,19 +352,19 @@ function vr() {
|
|
352
352
|
}
|
353
353
|
function Be(e) {
|
354
354
|
try {
|
355
|
-
return
|
355
|
+
return de(e), !1;
|
356
356
|
} catch {
|
357
357
|
return !0;
|
358
358
|
}
|
359
359
|
}
|
360
|
-
function
|
360
|
+
function de(e) {
|
361
361
|
return "" + e;
|
362
362
|
}
|
363
|
-
function
|
363
|
+
function ve(e) {
|
364
364
|
if (Be(e))
|
365
|
-
return
|
365
|
+
return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", qe(e)), de(e);
|
366
366
|
}
|
367
|
-
var pe =
|
367
|
+
var pe = x.ReactCurrentOwner, Ze = {
|
368
368
|
key: !0,
|
369
369
|
ref: !0,
|
370
370
|
__self: !0,
|
@@ -378,7 +378,7 @@ function vr() {
|
|
378
378
|
}
|
379
379
|
return e.ref !== void 0;
|
380
380
|
}
|
381
|
-
function
|
381
|
+
function Ke(e) {
|
382
382
|
if (k.call(e, "key")) {
|
383
383
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
384
384
|
if (r && r.isReactWarning)
|
@@ -386,13 +386,13 @@ function vr() {
|
|
386
386
|
}
|
387
387
|
return e.key !== void 0;
|
388
388
|
}
|
389
|
-
function
|
389
|
+
function ze(e, r) {
|
390
390
|
typeof e.ref == "string" && pe.current;
|
391
391
|
}
|
392
|
-
function
|
392
|
+
function Xe(e, r) {
|
393
393
|
{
|
394
394
|
var t = function() {
|
395
|
-
ge || (ge = !0,
|
395
|
+
ge || (ge = !0, f("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
396
396
|
};
|
397
397
|
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
398
398
|
get: t,
|
@@ -400,10 +400,10 @@ function vr() {
|
|
400
400
|
});
|
401
401
|
}
|
402
402
|
}
|
403
|
-
function
|
403
|
+
function He(e, r) {
|
404
404
|
{
|
405
405
|
var t = function() {
|
406
|
-
he || (he = !0,
|
406
|
+
he || (he = !0, f("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
407
407
|
};
|
408
408
|
t.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
409
409
|
get: t,
|
@@ -411,17 +411,17 @@ function vr() {
|
|
411
411
|
});
|
412
412
|
}
|
413
413
|
}
|
414
|
-
var Qe = function(e, r, t, n,
|
414
|
+
var Qe = function(e, r, t, n, i, s, o) {
|
415
415
|
var a = {
|
416
416
|
// This tag allows us to uniquely identify this as a React Element
|
417
|
-
$$typeof:
|
417
|
+
$$typeof: P,
|
418
418
|
// Built-in properties that belong on the element
|
419
419
|
type: e,
|
420
420
|
key: r,
|
421
421
|
ref: t,
|
422
|
-
props:
|
422
|
+
props: o,
|
423
423
|
// Record the component responsible for creating this element.
|
424
|
-
_owner:
|
424
|
+
_owner: s
|
425
425
|
};
|
426
426
|
return a._store = {}, Object.defineProperty(a._store, "validated", {
|
427
427
|
configurable: !1,
|
@@ -437,44 +437,44 @@ function vr() {
|
|
437
437
|
configurable: !1,
|
438
438
|
enumerable: !1,
|
439
439
|
writable: !1,
|
440
|
-
value:
|
440
|
+
value: i
|
441
441
|
}), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
|
442
442
|
};
|
443
|
-
function er(e, r, t, n,
|
443
|
+
function er(e, r, t, n, i) {
|
444
444
|
{
|
445
|
-
var
|
446
|
-
t !== void 0 && (
|
447
|
-
for (
|
448
|
-
k.call(r,
|
445
|
+
var s, o = {}, a = null, d = null;
|
446
|
+
t !== void 0 && (ve(t), a = "" + t), Ke(r) && (ve(r.key), a = "" + r.key), Ge(r) && (d = r.ref, ze(r, i));
|
447
|
+
for (s in r)
|
448
|
+
k.call(r, s) && !Ze.hasOwnProperty(s) && (o[s] = r[s]);
|
449
449
|
if (e && e.defaultProps) {
|
450
|
-
var
|
451
|
-
for (
|
452
|
-
|
450
|
+
var u = e.defaultProps;
|
451
|
+
for (s in u)
|
452
|
+
o[s] === void 0 && (o[s] = u[s]);
|
453
453
|
}
|
454
|
-
if (a ||
|
454
|
+
if (a || d) {
|
455
455
|
var l = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
456
|
-
a &&
|
456
|
+
a && Xe(o, l), d && He(o, l);
|
457
457
|
}
|
458
|
-
return Qe(e, a,
|
458
|
+
return Qe(e, a, d, i, n, pe.current, o);
|
459
459
|
}
|
460
460
|
}
|
461
|
-
var G =
|
462
|
-
function
|
461
|
+
var G = x.ReactCurrentOwner, ye = x.ReactDebugCurrentFrame;
|
462
|
+
function w(e) {
|
463
463
|
if (e) {
|
464
|
-
var r = e._owner, t =
|
465
|
-
|
464
|
+
var r = e._owner, t = M(e.type, e._source, r ? r.type : null);
|
465
|
+
ye.setExtraStackFrame(t);
|
466
466
|
} else
|
467
|
-
|
467
|
+
ye.setExtraStackFrame(null);
|
468
468
|
}
|
469
|
-
var
|
470
|
-
|
471
|
-
function
|
472
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
469
|
+
var K;
|
470
|
+
K = !1;
|
471
|
+
function z(e) {
|
472
|
+
return typeof e == "object" && e !== null && e.$$typeof === P;
|
473
473
|
}
|
474
|
-
function
|
474
|
+
function me() {
|
475
475
|
{
|
476
476
|
if (G.current) {
|
477
|
-
var e =
|
477
|
+
var e = y(G.current.type);
|
478
478
|
if (e)
|
479
479
|
return `
|
480
480
|
|
@@ -489,7 +489,7 @@ Check the render method of \`` + e + "`.";
|
|
489
489
|
var be = {};
|
490
490
|
function tr(e) {
|
491
491
|
{
|
492
|
-
var r =
|
492
|
+
var r = me();
|
493
493
|
if (!r) {
|
494
494
|
var t = typeof e == "string" ? e : e.displayName || e.name;
|
495
495
|
t && (r = `
|
@@ -499,7 +499,7 @@ Check the top-level render call using <` + t + ">.");
|
|
499
499
|
return r;
|
500
500
|
}
|
501
501
|
}
|
502
|
-
function
|
502
|
+
function _e(e, r) {
|
503
503
|
{
|
504
504
|
if (!e._store || e._store.validated || e.key != null)
|
505
505
|
return;
|
@@ -509,25 +509,25 @@ Check the top-level render call using <` + t + ">.");
|
|
509
509
|
return;
|
510
510
|
be[t] = !0;
|
511
511
|
var n = "";
|
512
|
-
e && e._owner && e._owner !== G.current && (n = " It was passed a child from " +
|
512
|
+
e && e._owner && e._owner !== G.current && (n = " It was passed a child from " + y(e._owner.type) + "."), w(e), f('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), w(null);
|
513
513
|
}
|
514
514
|
}
|
515
|
-
function
|
515
|
+
function Ee(e, r) {
|
516
516
|
{
|
517
517
|
if (typeof e != "object")
|
518
518
|
return;
|
519
|
-
if (
|
519
|
+
if (Z(e))
|
520
520
|
for (var t = 0; t < e.length; t++) {
|
521
521
|
var n = e[t];
|
522
|
-
|
522
|
+
z(n) && _e(n, r);
|
523
523
|
}
|
524
|
-
else if (
|
524
|
+
else if (z(e))
|
525
525
|
e._store && (e._store.validated = !0);
|
526
526
|
else if (e) {
|
527
|
-
var
|
528
|
-
if (typeof
|
529
|
-
for (var
|
530
|
-
|
527
|
+
var i = Ce(e);
|
528
|
+
if (typeof i == "function" && i !== e.entries)
|
529
|
+
for (var s = i.call(e), o; !(o = s.next()).done; )
|
530
|
+
z(o.value) && _e(o.value, r);
|
531
531
|
}
|
532
532
|
}
|
533
533
|
}
|
@@ -539,21 +539,21 @@ Check the top-level render call using <` + t + ">.");
|
|
539
539
|
var t;
|
540
540
|
if (typeof r == "function")
|
541
541
|
t = r.propTypes;
|
542
|
-
else if (typeof r == "object" && (r.$$typeof ===
|
542
|
+
else if (typeof r == "object" && (r.$$typeof === c || // Note: Memo only checks outer props here.
|
543
543
|
// Inner props are checked in the reconciler.
|
544
544
|
r.$$typeof === h))
|
545
545
|
t = r.propTypes;
|
546
546
|
else
|
547
547
|
return;
|
548
548
|
if (t) {
|
549
|
-
var n =
|
549
|
+
var n = y(r);
|
550
550
|
Ne(t, e.props, "prop", n, e);
|
551
|
-
} else if (r.PropTypes !== void 0 && !
|
552
|
-
|
553
|
-
var
|
554
|
-
|
551
|
+
} else if (r.PropTypes !== void 0 && !K) {
|
552
|
+
K = !0;
|
553
|
+
var i = y(r);
|
554
|
+
f("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", i || "Unknown");
|
555
555
|
}
|
556
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved &&
|
556
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && f("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
557
557
|
}
|
558
558
|
}
|
559
559
|
function ar(e) {
|
@@ -561,79 +561,80 @@ Check the top-level render call using <` + t + ">.");
|
|
561
561
|
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
562
562
|
var n = r[t];
|
563
563
|
if (n !== "children" && n !== "key") {
|
564
|
-
|
564
|
+
w(e), f("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), w(null);
|
565
565
|
break;
|
566
566
|
}
|
567
567
|
}
|
568
|
-
e.ref !== null && (
|
568
|
+
e.ref !== null && (w(e), f("Invalid attribute `ref` supplied to `React.Fragment`."), w(null));
|
569
569
|
}
|
570
570
|
}
|
571
|
-
var
|
572
|
-
function Te(e, r, t, n,
|
571
|
+
var Re = {};
|
572
|
+
function Te(e, r, t, n, i, s) {
|
573
573
|
{
|
574
|
-
var
|
575
|
-
if (!
|
574
|
+
var o = $e(e);
|
575
|
+
if (!o) {
|
576
576
|
var a = "";
|
577
577
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
578
|
-
var
|
579
|
-
|
580
|
-
var
|
581
|
-
e === null ?
|
578
|
+
var d = rr();
|
579
|
+
d ? a += d : a += me();
|
580
|
+
var u;
|
581
|
+
e === null ? u = "null" : Z(e) ? u = "array" : e !== void 0 && e.$$typeof === P ? (u = "<" + (y(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : u = typeof e, f("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", u, a);
|
582
582
|
}
|
583
|
-
var l = er(e, r, t,
|
583
|
+
var l = er(e, r, t, i, s);
|
584
584
|
if (l == null)
|
585
585
|
return l;
|
586
|
-
if (
|
586
|
+
if (o) {
|
587
587
|
var g = r.children;
|
588
588
|
if (g !== void 0)
|
589
589
|
if (n)
|
590
|
-
if (
|
591
|
-
for (var
|
592
|
-
|
590
|
+
if (Z(g)) {
|
591
|
+
for (var S = 0; S < g.length; S++)
|
592
|
+
Ee(g[S], e);
|
593
593
|
Object.freeze && Object.freeze(g);
|
594
594
|
} else
|
595
|
-
|
595
|
+
f("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
596
596
|
else
|
597
|
-
|
597
|
+
Ee(g, e);
|
598
598
|
}
|
599
599
|
if (k.call(r, "key")) {
|
600
|
-
var
|
601
|
-
return
|
602
|
-
}),
|
603
|
-
if (!
|
604
|
-
var lr =
|
605
|
-
|
600
|
+
var E = y(e), v = Object.keys(r).filter(function(cr) {
|
601
|
+
return cr !== "key";
|
602
|
+
}), X = v.length > 0 ? "{key: someKey, " + v.join(": ..., ") + ": ...}" : "{key: someKey}";
|
603
|
+
if (!Re[E + X]) {
|
604
|
+
var lr = v.length > 0 ? "{" + v.join(": ..., ") + ": ...}" : "{}";
|
605
|
+
f(`A props object containing a "key" prop is being spread into JSX:
|
606
606
|
let props = %s;
|
607
607
|
<%s {...props} />
|
608
608
|
React keys must be passed directly to JSX without using spread:
|
609
609
|
let props = %s;
|
610
|
-
<%s key={someKey} {...props} />`,
|
610
|
+
<%s key={someKey} {...props} />`, X, E, lr, E), Re[E + X] = !0;
|
611
611
|
}
|
612
612
|
}
|
613
|
-
return e ===
|
613
|
+
return e === R ? ar(l) : nr(l), l;
|
614
614
|
}
|
615
615
|
}
|
616
|
-
function
|
616
|
+
function or(e, r, t) {
|
617
617
|
return Te(e, r, t, !0);
|
618
618
|
}
|
619
|
-
function
|
619
|
+
function ir(e, r, t) {
|
620
620
|
return Te(e, r, t, !1);
|
621
621
|
}
|
622
|
-
var
|
623
|
-
D.Fragment =
|
622
|
+
var sr = ir, ur = or;
|
623
|
+
D.Fragment = R, D.jsx = sr, D.jsxs = ur;
|
624
624
|
}()), D;
|
625
625
|
}
|
626
|
-
var
|
627
|
-
function
|
628
|
-
return
|
626
|
+
var Se;
|
627
|
+
function vr() {
|
628
|
+
return Se || (Se = 1, process.env.NODE_ENV === "production" ? L.exports = fr() : L.exports = dr()), L.exports;
|
629
629
|
}
|
630
|
-
var
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
/* @__PURE__ */
|
630
|
+
var O = vr();
|
631
|
+
const pr = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%20360%20360'%3e%3cdefs%3e%3cstyle%3e%20.cls-1{fill:url(%23linear-gradient);}%20.cls-2,.cls-3{fill:%232b3741;}%20.cls-3{stroke:%232b3741;stroke-linecap:round;stroke-linejoin:round;stroke-width:.53px;}%20%3c/style%3e%3clinearGradient%20id='linear-gradient'%20x1='193'%20y1='25'%20x2='529'%20y2='25'%20gradientTransform='translate(155%20541)%20rotate(-90)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%2300518c'/%3e%3cstop%20offset='1'%20stop-color='%23002a43'/%3e%3c/linearGradient%3e%3c/defs%3e%3cellipse%20style='stroke:%20rgb(0,%200,%200);%20fill:%20rgb(255,%20255,%20255);'%20cx='180.303'%20cy='178.183'%20rx='154.07'%20ry='157.399'/%3e%3cpath%20class='cls-3'%20d='M147.45,196.8s-144.9-8.4-33.6-60.9c0,0-.28-2.25-2.1-2.1-13.99,1.17-75.6,12.6-72.45,38.85,0,0,1.05,36.75,108.15,24.15Z'/%3e%3cpath%20class='cls-3'%20d='M298.65,150.6c0-33.6-60.9-23.1-60.9-23.1,0,0,14.7-10.5,35.7-10.5,0,0,31.5,0,41.47,16.8,0,0,13.13,23.1-9.97,42,0,0-23.1,18.9-75.6,12.6,0,0,69.3-8.4,69.3-37.8Z'/%3e%3cpath%20class='cls-3'%20d='M145.35,159s-35.7-33.6-2.1-50.4c0,0,35.7-16.8,77.7,6.3,0,0-5.69-9.55-18.9-16.8-15.01-8.24-42-14.7-73.21-3.89,0,0-31.79,10.19-19.19,37.49,0,0,10.5,21,35.7,27.3Z'/%3e%3cpath%20class='cls-3'%20d='M252.45,123.3c-1.06-25.11-35.47-20.38-44.1-18.9-1.23,.21-2.1-2.1-2.1-2.1,0,0,14.7-10.5,33.6-8.4,0,0,21.65,2.63,20.27,26.52l-7.67,2.88Z'/%3e%3cpolygon%20class='cls-3'%20points='120.15%20230.4%20166.35%20171.6%20190.62%20171.6%20157.95%20213.6%20195.75%20213.6%20111.75%20293.4%20147.45%20229.8%20120.15%20230.4'/%3e%3cpolygon%20class='cls-3'%20points='160.05%20217.8%20172.65%20215.7%20202.95%20166.61%20160.05%20217.8'/%3e%3cpath%20class='cls-1'%20d='M12,180c0,92.78,75.22,168,168,168s168-75.22,168-168S272.78,12,180,12,12,87.22,12,180Zm312.9,0c0,80.03-64.87,144.9-144.9,144.9S35.1,260.03,35.1,180,99.97,35.1,180,35.1s144.9,64.87,144.9,144.9Z'/%3e%3cpath%20class='cls-2'%20d='M180,329.1c-82.79,0-150.15-67.36-150.15-150.15S97.21,28.8,180,28.8s150.15,67.36,150.15,150.15-67.36,150.15-150.15,150.15Zm0-289.8c-77,0-139.65,62.65-139.65,139.65s62.65,139.65,139.65,139.65,139.65-62.65,139.65-139.65S257,39.3,180,39.3Z'/%3e%3c/svg%3e";
|
632
|
+
function hr() {
|
633
|
+
return /* @__PURE__ */ O.jsxs(O.Fragment, { children: [
|
634
|
+
/* @__PURE__ */ O.jsx("div", { children: /* @__PURE__ */ O.jsx("a", { href: "https://rainstormtech.com", target: "_blank", children: /* @__PURE__ */ O.jsx("img", { src: pr, className: "logo", alt: "logo" }) }) }),
|
635
|
+
/* @__PURE__ */ O.jsx("h1", { children: "Storm Form" })
|
635
636
|
] });
|
636
637
|
}
|
637
638
|
export {
|
638
|
-
|
639
|
+
hr as default
|
639
640
|
};
|
package/dist/storm-form.umd.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
(function(
|
1
|
+
(function(b,y){typeof exports=="object"&&typeof module<"u"?module.exports=y(require("react")):typeof define=="function"&&define.amd?define(["react"],y):(b=typeof globalThis<"u"?globalThis:b||self,b.StormForm=y(b.React))})(this,function(b){"use strict";var y={exports:{}},C={};/**
|
2
2
|
* @license React
|
3
3
|
* react-jsx-runtime.production.min.js
|
4
4
|
*
|
@@ -6,7 +6,7 @@
|
|
6
6
|
*
|
7
7
|
* This source code is licensed under the MIT license found in the
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
9
|
-
*/var Q;function
|
9
|
+
*/var Q;function Pe(){if(Q)return C;Q=1;var N=b,F=Symbol.for("react.element"),J=Symbol.for("react.fragment"),S=Object.prototype.hasOwnProperty,W=N.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Y={key:!0,ref:!0,__self:!0,__source:!0};function D(_,c,w){var p,h={},E=null,M=null;w!==void 0&&(E=""+w),c.key!==void 0&&(E=""+c.key),c.ref!==void 0&&(M=c.ref);for(p in c)S.call(c,p)&&!Y.hasOwnProperty(p)&&(h[p]=c[p]);if(_&&_.defaultProps)for(p in c=_.defaultProps,c)h[p]===void 0&&(h[p]=c[p]);return{$$typeof:F,type:_,key:E,ref:M,props:h,_owner:W.current}}return C.Fragment=J,C.jsx=D,C.jsxs=D,C}var k={};/**
|
10
10
|
* @license React
|
11
11
|
* react-jsx-runtime.development.js
|
12
12
|
*
|
@@ -14,17 +14,17 @@
|
|
14
14
|
*
|
15
15
|
* This source code is licensed under the MIT license found in the
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
17
|
-
*/var ee;function
|
18
|
-
`+
|
17
|
+
*/var ee;function je(){return ee||(ee=1,process.env.NODE_ENV!=="production"&&function(){var N=b,F=Symbol.for("react.element"),J=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),W=Symbol.for("react.strict_mode"),Y=Symbol.for("react.profiler"),D=Symbol.for("react.provider"),_=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),M=Symbol.for("react.offscreen"),te=Symbol.iterator,De="@@iterator";function Ae(e){if(e===null||typeof e!="object")return null;var r=te&&e[te]||e[De];return typeof r=="function"?r:null}var O=N.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function f(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];Ie("error",e,t)}}function Ie(e,r,t){{var n=O.ReactDebugCurrentFrame,i=n.getStackAddendum();i!==""&&(r+="%s",t=t.concat([i]));var s=t.map(function(o){return String(o)});s.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,s)}}var We=!1,Ye=!1,Me=!1,$e=!1,Ue=!1,ne;ne=Symbol.for("react.module.reference");function Le(e){return!!(typeof e=="string"||typeof e=="function"||e===S||e===Y||Ue||e===W||e===w||e===p||$e||e===M||We||Ye||Me||typeof e=="object"&&e!==null&&(e.$$typeof===E||e.$$typeof===h||e.$$typeof===D||e.$$typeof===_||e.$$typeof===c||e.$$typeof===ne||e.getModuleId!==void 0))}function Ve(e,r,t){var n=e.displayName;if(n)return n;var i=r.displayName||r.name||"";return i!==""?t+"("+i+")":t}function ae(e){return e.displayName||"Context"}function m(e){if(e==null)return null;if(typeof e.tag=="number"&&f("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case S:return"Fragment";case J:return"Portal";case Y:return"Profiler";case W:return"StrictMode";case w:return"Suspense";case p:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case _:var r=e;return ae(r)+".Consumer";case D:var t=e;return ae(t._context)+".Provider";case c:return Ve(e,e.render,"ForwardRef");case h:var n=e.displayName||null;return n!==null?n:m(e.type)||"Memo";case E:{var i=e,s=i._payload,o=i._init;try{return m(o(s))}catch{return null}}}return null}var R=Object.assign,A=0,oe,ie,se,ue,le,ce,fe;function de(){}de.__reactDisabledLog=!0;function Ne(){{if(A===0){oe=console.log,ie=console.info,se=console.warn,ue=console.error,le=console.group,ce=console.groupCollapsed,fe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:de,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}A++}}function Je(){{if(A--,A===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:R({},e,{value:oe}),info:R({},e,{value:ie}),warn:R({},e,{value:se}),error:R({},e,{value:ue}),group:R({},e,{value:le}),groupCollapsed:R({},e,{value:ce}),groupEnd:R({},e,{value:fe})})}A<0&&f("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var B=O.ReactCurrentDispatcher,q;function $(e,r,t){{if(q===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\n( *(at )?)/);q=n&&n[1]||""}return`
|
18
|
+
`+q+e}}var Z=!1,U;{var Be=typeof WeakMap=="function"?WeakMap:Map;U=new Be}function ve(e,r){if(!e||Z)return"";{var t=U.get(e);if(t!==void 0)return t}var n;Z=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var s;s=B.current,B.current=null,Ne();try{if(r){var o=function(){throw Error()};if(Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(v){n=v}Reflect.construct(e,[],o)}else{try{o.call()}catch(v){n=v}e.call(o.prototype)}}else{try{throw Error()}catch(v){n=v}e()}}catch(v){if(v&&n&&typeof v.stack=="string"){for(var a=v.stack.split(`
|
19
19
|
`),d=n.stack.split(`
|
20
|
-
`),
|
21
|
-
`+a[
|
20
|
+
`),u=a.length-1,l=d.length-1;u>=1&&l>=0&&a[u]!==d[l];)l--;for(;u>=1&&l>=0;u--,l--)if(a[u]!==d[l]){if(u!==1||l!==1)do if(u--,l--,l<0||a[u]!==d[l]){var g=`
|
21
|
+
`+a[u].replace(" at new "," at ");return e.displayName&&g.includes("<anonymous>")&&(g=g.replace("<anonymous>",e.displayName)),typeof e=="function"&&U.set(e,g),g}while(u>=1&&l>=0);break}}}finally{Z=!1,B.current=s,Je(),Error.prepareStackTrace=i}var j=e?e.displayName||e.name:"",T=j?$(j):"";return typeof e=="function"&&U.set(e,T),T}function qe(e,r,t){return ve(e,!1)}function Ze(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function L(e,r,t){if(e==null)return"";if(typeof e=="function")return ve(e,Ze(e));if(typeof e=="string")return $(e);switch(e){case w:return $("Suspense");case p:return $("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case c:return qe(e.render);case h:return L(e.type,r,t);case E:{var n=e,i=n._payload,s=n._init;try{return L(s(i),r,t)}catch{}}}return""}var I=Object.prototype.hasOwnProperty,pe={},ge=O.ReactDebugCurrentFrame;function V(e){if(e){var r=e._owner,t=L(e.type,e._source,r?r.type:null);ge.setExtraStackFrame(t)}else ge.setExtraStackFrame(null)}function Ge(e,r,t,n,i){{var s=Function.call.bind(I);for(var o in e)if(s(e,o)){var a=void 0;try{if(typeof e[o]!="function"){var d=Error((n||"React class")+": "+t+" type `"+o+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[o]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}a=e[o](r,o,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(u){a=u}a&&!(a instanceof Error)&&(V(i),f("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",n||"React class",t,o,typeof a),V(null)),a instanceof Error&&!(a.message in pe)&&(pe[a.message]=!0,V(i),f("Failed %s type: %s",t,a.message),V(null))}}}var Ke=Array.isArray;function G(e){return Ke(e)}function ze(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function Xe(e){try{return he(e),!1}catch{return!0}}function he(e){return""+e}function ye(e){if(Xe(e))return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ze(e)),he(e)}var me=O.ReactCurrentOwner,He={key:!0,ref:!0,__self:!0,__source:!0},be,_e;function Qe(e){if(I.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function er(e){if(I.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function rr(e,r){typeof e.ref=="string"&&me.current}function tr(e,r){{var t=function(){be||(be=!0,f("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function nr(e,r){{var t=function(){_e||(_e=!0,f("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",r))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var ar=function(e,r,t,n,i,s,o){var a={$$typeof:F,type:e,key:r,ref:t,props:o,_owner:s};return a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(a,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(a,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a};function or(e,r,t,n,i){{var s,o={},a=null,d=null;t!==void 0&&(ye(t),a=""+t),er(r)&&(ye(r.key),a=""+r.key),Qe(r)&&(d=r.ref,rr(r,i));for(s in r)I.call(r,s)&&!He.hasOwnProperty(s)&&(o[s]=r[s]);if(e&&e.defaultProps){var u=e.defaultProps;for(s in u)o[s]===void 0&&(o[s]=u[s])}if(a||d){var l=typeof e=="function"?e.displayName||e.name||"Unknown":e;a&&tr(o,l),d&&nr(o,l)}return ar(e,a,d,i,n,me.current,o)}}var K=O.ReactCurrentOwner,Ee=O.ReactDebugCurrentFrame;function P(e){if(e){var r=e._owner,t=L(e.type,e._source,r?r.type:null);Ee.setExtraStackFrame(t)}else Ee.setExtraStackFrame(null)}var z;z=!1;function X(e){return typeof e=="object"&&e!==null&&e.$$typeof===F}function Re(){{if(K.current){var e=m(K.current.type);if(e)return`
|
22
22
|
|
23
|
-
Check the render method of \``+e+"`."}return""}}function ir(e){return""}var Te={};function
|
23
|
+
Check the render method of \``+e+"`."}return""}}function ir(e){return""}var Te={};function sr(e){{var r=Re();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
|
24
24
|
|
25
|
-
Check the top-level render call using <`+t+">.")}return r}}function
|
25
|
+
Check the top-level render call using <`+t+">.")}return r}}function xe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=sr(r);if(Te[t])return;Te[t]=!0;var n="";e&&e._owner&&e._owner!==K.current&&(n=" It was passed a child from "+m(e._owner.type)+"."),P(e),f('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),P(null)}}function Se(e,r){{if(typeof e!="object")return;if(G(e))for(var t=0;t<e.length;t++){var n=e[t];X(n)&&xe(n,r)}else if(X(e))e._store&&(e._store.validated=!0);else if(e){var i=Ae(e);if(typeof i=="function"&&i!==e.entries)for(var s=i.call(e),o;!(o=s.next()).done;)X(o.value)&&xe(o.value,r)}}}function ur(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===c||r.$$typeof===h))t=r.propTypes;else return;if(t){var n=m(r);Ge(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!z){z=!0;var i=m(r);f("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",i||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&f("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){P(e),f("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),P(null);break}}e.ref!==null&&(P(e),f("Invalid attribute `ref` supplied to `React.Fragment`."),P(null))}}var we={};function Oe(e,r,t,n,i,s){{var o=Le(e);if(!o){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var d=ir();d?a+=d:a+=Re();var u;e===null?u="null":G(e)?u="array":e!==void 0&&e.$$typeof===F?(u="<"+(m(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):u=typeof e,f("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",u,a)}var l=or(e,r,t,i,s);if(l==null)return l;if(o){var g=r.children;if(g!==void 0)if(n)if(G(g)){for(var j=0;j<g.length;j++)Se(g[j],e);Object.freeze&&Object.freeze(g)}else f("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Se(g,e)}if(I.call(r,"key")){var T=m(e),v=Object.keys(r).filter(function(gr){return gr!=="key"}),H=v.length>0?"{key: someKey, "+v.join(": ..., ")+": ...}":"{key: someKey}";if(!we[T+H]){var pr=v.length>0?"{"+v.join(": ..., ")+": ...}":"{}";f(`A props object containing a "key" prop is being spread into JSX:
|
26
26
|
let props = %s;
|
27
27
|
<%s {...props} />
|
28
28
|
React keys must be passed directly to JSX without using spread:
|
29
29
|
let props = %s;
|
30
|
-
<%s key={someKey} {...props} />`,
|
30
|
+
<%s key={someKey} {...props} />`,H,T,pr,T),we[T+H]=!0}}return e===S?lr(l):ur(l),l}}function cr(e,r,t){return Oe(e,r,t,!0)}function fr(e,r,t){return Oe(e,r,t,!1)}var dr=fr,vr=cr;k.Fragment=S,k.jsx=dr,k.jsxs=vr}()),k}var re;function Ce(){return re||(re=1,process.env.NODE_ENV==="production"?y.exports=Pe():y.exports=je()),y.exports}var x=Ce();const ke="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%20360%20360'%3e%3cdefs%3e%3cstyle%3e%20.cls-1{fill:url(%23linear-gradient);}%20.cls-2,.cls-3{fill:%232b3741;}%20.cls-3{stroke:%232b3741;stroke-linecap:round;stroke-linejoin:round;stroke-width:.53px;}%20%3c/style%3e%3clinearGradient%20id='linear-gradient'%20x1='193'%20y1='25'%20x2='529'%20y2='25'%20gradientTransform='translate(155%20541)%20rotate(-90)'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0'%20stop-color='%2300518c'/%3e%3cstop%20offset='1'%20stop-color='%23002a43'/%3e%3c/linearGradient%3e%3c/defs%3e%3cellipse%20style='stroke:%20rgb(0,%200,%200);%20fill:%20rgb(255,%20255,%20255);'%20cx='180.303'%20cy='178.183'%20rx='154.07'%20ry='157.399'/%3e%3cpath%20class='cls-3'%20d='M147.45,196.8s-144.9-8.4-33.6-60.9c0,0-.28-2.25-2.1-2.1-13.99,1.17-75.6,12.6-72.45,38.85,0,0,1.05,36.75,108.15,24.15Z'/%3e%3cpath%20class='cls-3'%20d='M298.65,150.6c0-33.6-60.9-23.1-60.9-23.1,0,0,14.7-10.5,35.7-10.5,0,0,31.5,0,41.47,16.8,0,0,13.13,23.1-9.97,42,0,0-23.1,18.9-75.6,12.6,0,0,69.3-8.4,69.3-37.8Z'/%3e%3cpath%20class='cls-3'%20d='M145.35,159s-35.7-33.6-2.1-50.4c0,0,35.7-16.8,77.7,6.3,0,0-5.69-9.55-18.9-16.8-15.01-8.24-42-14.7-73.21-3.89,0,0-31.79,10.19-19.19,37.49,0,0,10.5,21,35.7,27.3Z'/%3e%3cpath%20class='cls-3'%20d='M252.45,123.3c-1.06-25.11-35.47-20.38-44.1-18.9-1.23,.21-2.1-2.1-2.1-2.1,0,0,14.7-10.5,33.6-8.4,0,0,21.65,2.63,20.27,26.52l-7.67,2.88Z'/%3e%3cpolygon%20class='cls-3'%20points='120.15%20230.4%20166.35%20171.6%20190.62%20171.6%20157.95%20213.6%20195.75%20213.6%20111.75%20293.4%20147.45%20229.8%20120.15%20230.4'/%3e%3cpolygon%20class='cls-3'%20points='160.05%20217.8%20172.65%20215.7%20202.95%20166.61%20160.05%20217.8'/%3e%3cpath%20class='cls-1'%20d='M12,180c0,92.78,75.22,168,168,168s168-75.22,168-168S272.78,12,180,12,12,87.22,12,180Zm312.9,0c0,80.03-64.87,144.9-144.9,144.9S35.1,260.03,35.1,180,99.97,35.1,180,35.1s144.9,64.87,144.9,144.9Z'/%3e%3cpath%20class='cls-2'%20d='M180,329.1c-82.79,0-150.15-67.36-150.15-150.15S97.21,28.8,180,28.8s150.15,67.36,150.15,150.15-67.36,150.15-150.15,150.15Zm0-289.8c-77,0-139.65,62.65-139.65,139.65s62.65,139.65,139.65,139.65,139.65-62.65,139.65-139.65S257,39.3,180,39.3Z'/%3e%3c/svg%3e";function Fe(){return x.jsxs(x.Fragment,{children:[x.jsx("div",{children:x.jsx("a",{href:"https://rainstormtech.com",target:"_blank",children:x.jsx("img",{src:ke,className:"logo",alt:"logo"})})}),x.jsx("h1",{children:"Storm Form"})]})}return Fe});
|
package/package.json
CHANGED
package/dist/logo.svg
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 360 360">
|
3
|
-
<defs>
|
4
|
-
<style>
|
5
|
-
.cls-1{fill:url(#linear-gradient);}
|
6
|
-
.cls-2,.cls-3{fill:#2b3741;}
|
7
|
-
.cls-3{stroke:#2b3741;stroke-linecap:round;stroke-linejoin:round;stroke-width:.53px;}
|
8
|
-
</style>
|
9
|
-
<linearGradient id="linear-gradient" x1="193" y1="25" x2="529" y2="25" gradientTransform="translate(155 541) rotate(-90)" gradientUnits="userSpaceOnUse">
|
10
|
-
<stop offset="0" stop-color="#00518c"/>
|
11
|
-
<stop offset="1" stop-color="#002a43"/>
|
12
|
-
</linearGradient>
|
13
|
-
</defs>
|
14
|
-
<ellipse style="stroke: rgb(0, 0, 0); fill: rgb(255, 255, 255);" cx="180.303" cy="178.183" rx="154.07" ry="157.399"/>
|
15
|
-
<path class="cls-3" d="M147.45,196.8s-144.9-8.4-33.6-60.9c0,0-.28-2.25-2.1-2.1-13.99,1.17-75.6,12.6-72.45,38.85,0,0,1.05,36.75,108.15,24.15Z"/>
|
16
|
-
<path class="cls-3" d="M298.65,150.6c0-33.6-60.9-23.1-60.9-23.1,0,0,14.7-10.5,35.7-10.5,0,0,31.5,0,41.47,16.8,0,0,13.13,23.1-9.97,42,0,0-23.1,18.9-75.6,12.6,0,0,69.3-8.4,69.3-37.8Z"/>
|
17
|
-
<path class="cls-3" d="M145.35,159s-35.7-33.6-2.1-50.4c0,0,35.7-16.8,77.7,6.3,0,0-5.69-9.55-18.9-16.8-15.01-8.24-42-14.7-73.21-3.89,0,0-31.79,10.19-19.19,37.49,0,0,10.5,21,35.7,27.3Z"/>
|
18
|
-
<path class="cls-3" d="M252.45,123.3c-1.06-25.11-35.47-20.38-44.1-18.9-1.23,.21-2.1-2.1-2.1-2.1,0,0,14.7-10.5,33.6-8.4,0,0,21.65,2.63,20.27,26.52l-7.67,2.88Z"/>
|
19
|
-
<polygon class="cls-3" points="120.15 230.4 166.35 171.6 190.62 171.6 157.95 213.6 195.75 213.6 111.75 293.4 147.45 229.8 120.15 230.4"/>
|
20
|
-
<polygon class="cls-3" points="160.05 217.8 172.65 215.7 202.95 166.61 160.05 217.8"/>
|
21
|
-
<path class="cls-1" d="M12,180c0,92.78,75.22,168,168,168s168-75.22,168-168S272.78,12,180,12,12,87.22,12,180Zm312.9,0c0,80.03-64.87,144.9-144.9,144.9S35.1,260.03,35.1,180,99.97,35.1,180,35.1s144.9,64.87,144.9,144.9Z"/>
|
22
|
-
<path class="cls-2" d="M180,329.1c-82.79,0-150.15-67.36-150.15-150.15S97.21,28.8,180,28.8s150.15,67.36,150.15,150.15-67.36,150.15-150.15,150.15Zm0-289.8c-77,0-139.65,62.65-139.65,139.65s62.65,139.65,139.65,139.65,139.65-62.65,139.65-139.65S257,39.3,180,39.3Z"/>
|
23
|
-
</svg>
|