react-hook-form-cloudscape 1.5.1 → 1.6.0
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 +5 -5
- package/components/attribute-editor/attribute-editor.d.ts +1 -1
- package/components/attribute-editor/attribute-editor.js +1 -1
- package/components/attribute-editor/attribute-editor.js.map +1 -1
- package/components/autosuggest/autosuggest.d.ts +0 -2
- package/components/autosuggest/autosuggest.js +8 -9
- package/components/autosuggest/autosuggest.js.map +1 -1
- package/components/cards/cards.d.ts +5 -2
- package/components/cards/cards.js +3 -3
- package/components/cards/cards.js.map +1 -1
- package/components/components/attribute-editor/attribute-editor.d.ts +1 -1
- package/components/components/autosuggest/autosuggest.d.ts +0 -2
- package/components/components/cards/cards.d.ts +5 -2
- package/package.json +24 -14
- package/react-hook-form-cloudscape.es.js +445 -442
- package/react-hook-form-cloudscape.es.js.map +1 -1
- package/react-hook-form-cloudscape.umd.js +9 -9
- package/react-hook-form-cloudscape.umd.js.map +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import Fe, { useMemo as hr, useCallback as
|
|
1
|
+
import Fe, { useMemo as hr, useCallback as _ } from "react";
|
|
2
2
|
import { AttributeEditor as Er, Autosuggest as yr, Checkbox as mr, Cards as Rr, CodeEditor as _r, DatePicker as xr, DateRangePicker as gr, FileUpload as jr, Input as Tr, Multiselect as Or, PropertyFilter as Sr, RadioGroup as Pr, S3ResourceSelector as wr, Select as kr, Slider as Cr, TagEditor as Fr, TextFilter as Dr, Textarea as Ar, Tiles as Ir, TimeInput as $r, Toggle as Wr } from "@cloudscape-design/components";
|
|
3
|
-
import { useFormState as Yr, useFieldArray as Mr, get as Ur, Controller as
|
|
3
|
+
import { useFormState as Yr, useFieldArray as Mr, get as Ur, Controller as O } from "react-hook-form";
|
|
4
4
|
var G = { exports: {} }, U = {};
|
|
5
5
|
/**
|
|
6
6
|
* @license React
|
|
@@ -15,13 +15,13 @@ var we;
|
|
|
15
15
|
function Lr() {
|
|
16
16
|
if (we) return U;
|
|
17
17
|
we = 1;
|
|
18
|
-
var i = Fe,
|
|
19
|
-
function n(d, c,
|
|
20
|
-
var o,
|
|
21
|
-
|
|
22
|
-
for (o in c)
|
|
23
|
-
if (d && d.defaultProps) for (o in c = d.defaultProps, c)
|
|
24
|
-
return { $$typeof:
|
|
18
|
+
var i = Fe, s = Symbol.for("react.element"), a = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, f = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, r = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
19
|
+
function n(d, c, p) {
|
|
20
|
+
var o, v = {}, R = null, g = null;
|
|
21
|
+
p !== void 0 && (R = "" + p), c.key !== void 0 && (R = "" + c.key), c.ref !== void 0 && (g = c.ref);
|
|
22
|
+
for (o in c) u.call(c, o) && !r.hasOwnProperty(o) && (v[o] = c[o]);
|
|
23
|
+
if (d && d.defaultProps) for (o in c = d.defaultProps, c) v[o] === void 0 && (v[o] = c[o]);
|
|
24
|
+
return { $$typeof: s, type: d, key: R, ref: g, props: v, _owner: f.current };
|
|
25
25
|
}
|
|
26
26
|
return U.Fragment = a, U.jsx = n, U.jsxs = n, U;
|
|
27
27
|
}
|
|
@@ -38,46 +38,46 @@ var L = {};
|
|
|
38
38
|
var ke;
|
|
39
39
|
function Vr() {
|
|
40
40
|
return ke || (ke = 1, process.env.NODE_ENV !== "production" && function() {
|
|
41
|
-
var i = Fe,
|
|
41
|
+
var i = Fe, s = Symbol.for("react.element"), a = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), r = Symbol.for("react.profiler"), n = Symbol.for("react.provider"), d = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), S = Symbol.iterator, K = "@@iterator";
|
|
42
42
|
function Ae(e) {
|
|
43
43
|
if (e === null || typeof e != "object")
|
|
44
44
|
return null;
|
|
45
|
-
var
|
|
46
|
-
return typeof
|
|
45
|
+
var t = S && e[S] || e[K];
|
|
46
|
+
return typeof t == "function" ? t : null;
|
|
47
47
|
}
|
|
48
48
|
var I = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
49
49
|
function P(e) {
|
|
50
50
|
{
|
|
51
|
-
for (var
|
|
52
|
-
|
|
53
|
-
Ie("error", e,
|
|
51
|
+
for (var t = arguments.length, l = new Array(t > 1 ? t - 1 : 0), b = 1; b < t; b++)
|
|
52
|
+
l[b - 1] = arguments[b];
|
|
53
|
+
Ie("error", e, l);
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
function Ie(e,
|
|
56
|
+
function Ie(e, t, l) {
|
|
57
57
|
{
|
|
58
|
-
var
|
|
59
|
-
m !== "" && (
|
|
60
|
-
var
|
|
58
|
+
var b = I.ReactDebugCurrentFrame, m = b.getStackAddendum();
|
|
59
|
+
m !== "" && (t += "%s", l = l.concat([m]));
|
|
60
|
+
var x = l.map(function(y) {
|
|
61
61
|
return String(y);
|
|
62
62
|
});
|
|
63
|
-
|
|
63
|
+
x.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, x);
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
var $e = !1, We = !1, Ye = !1, Me = !1, Ue = !1, ae;
|
|
67
67
|
ae = Symbol.for("react.module.reference");
|
|
68
68
|
function Le(e) {
|
|
69
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
69
|
+
return !!(typeof e == "string" || typeof e == "function" || e === u || e === r || Ue || e === f || e === p || e === o || Me || e === g || $e || We || Ye || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === v || e.$$typeof === n || e.$$typeof === d || e.$$typeof === c || // This needs to include all possible module reference object
|
|
70
70
|
// types supported by any Flight configuration anywhere since
|
|
71
71
|
// we don't know which Flight build this will end up being used
|
|
72
72
|
// with.
|
|
73
73
|
e.$$typeof === ae || e.getModuleId !== void 0));
|
|
74
74
|
}
|
|
75
|
-
function Ve(e,
|
|
76
|
-
var
|
|
77
|
-
if (
|
|
78
|
-
return
|
|
79
|
-
var m =
|
|
80
|
-
return m !== "" ?
|
|
75
|
+
function Ve(e, t, l) {
|
|
76
|
+
var b = e.displayName;
|
|
77
|
+
if (b)
|
|
78
|
+
return b;
|
|
79
|
+
var m = t.displayName || t.name || "";
|
|
80
|
+
return m !== "" ? l + "(" + m + ")" : l;
|
|
81
81
|
}
|
|
82
82
|
function ie(e) {
|
|
83
83
|
return e.displayName || "Context";
|
|
@@ -90,15 +90,15 @@ function Vr() {
|
|
|
90
90
|
if (typeof e == "string")
|
|
91
91
|
return e;
|
|
92
92
|
switch (e) {
|
|
93
|
-
case
|
|
93
|
+
case u:
|
|
94
94
|
return "Fragment";
|
|
95
95
|
case a:
|
|
96
96
|
return "Portal";
|
|
97
|
-
case
|
|
97
|
+
case r:
|
|
98
98
|
return "Profiler";
|
|
99
99
|
case f:
|
|
100
100
|
return "StrictMode";
|
|
101
|
-
case
|
|
101
|
+
case p:
|
|
102
102
|
return "Suspense";
|
|
103
103
|
case o:
|
|
104
104
|
return "SuspenseList";
|
|
@@ -106,20 +106,20 @@ function Vr() {
|
|
|
106
106
|
if (typeof e == "object")
|
|
107
107
|
switch (e.$$typeof) {
|
|
108
108
|
case d:
|
|
109
|
-
var
|
|
110
|
-
return ie(
|
|
109
|
+
var t = e;
|
|
110
|
+
return ie(t) + ".Consumer";
|
|
111
111
|
case n:
|
|
112
|
-
var
|
|
113
|
-
return ie(
|
|
112
|
+
var l = e;
|
|
113
|
+
return ie(l._context) + ".Provider";
|
|
114
114
|
case c:
|
|
115
115
|
return Ve(e, e.render, "ForwardRef");
|
|
116
|
-
case
|
|
117
|
-
var
|
|
118
|
-
return
|
|
119
|
-
case
|
|
120
|
-
var m = e,
|
|
116
|
+
case v:
|
|
117
|
+
var b = e.displayName || null;
|
|
118
|
+
return b !== null ? b : F(e.type) || "Memo";
|
|
119
|
+
case R: {
|
|
120
|
+
var m = e, x = m._payload, y = m._init;
|
|
121
121
|
try {
|
|
122
|
-
return F(y(
|
|
122
|
+
return F(y(x));
|
|
123
123
|
} catch {
|
|
124
124
|
return null;
|
|
125
125
|
}
|
|
@@ -127,14 +127,14 @@ function Vr() {
|
|
|
127
127
|
}
|
|
128
128
|
return null;
|
|
129
129
|
}
|
|
130
|
-
var D = Object.assign, Y = 0, le,
|
|
130
|
+
var D = Object.assign, Y = 0, le, ue, se, oe, fe, ce, de;
|
|
131
131
|
function ve() {
|
|
132
132
|
}
|
|
133
133
|
ve.__reactDisabledLog = !0;
|
|
134
134
|
function Ne() {
|
|
135
135
|
{
|
|
136
136
|
if (Y === 0) {
|
|
137
|
-
le = console.log,
|
|
137
|
+
le = console.log, ue = console.info, se = console.warn, oe = console.error, fe = console.group, ce = console.groupCollapsed, de = console.groupEnd;
|
|
138
138
|
var e = {
|
|
139
139
|
configurable: !0,
|
|
140
140
|
enumerable: !0,
|
|
@@ -167,10 +167,10 @@ function Vr() {
|
|
|
167
167
|
value: le
|
|
168
168
|
}),
|
|
169
169
|
info: D({}, e, {
|
|
170
|
-
value:
|
|
170
|
+
value: ue
|
|
171
171
|
}),
|
|
172
172
|
warn: D({}, e, {
|
|
173
|
-
value:
|
|
173
|
+
value: se
|
|
174
174
|
}),
|
|
175
175
|
error: D({}, e, {
|
|
176
176
|
value: oe
|
|
@@ -190,14 +190,14 @@ function Vr() {
|
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
192
|
var z = I.ReactCurrentDispatcher, X;
|
|
193
|
-
function V(e,
|
|
193
|
+
function V(e, t, l) {
|
|
194
194
|
{
|
|
195
195
|
if (X === void 0)
|
|
196
196
|
try {
|
|
197
197
|
throw Error();
|
|
198
198
|
} catch (m) {
|
|
199
|
-
var
|
|
200
|
-
X =
|
|
199
|
+
var b = m.stack.trim().match(/\n( *(at )?)/);
|
|
200
|
+
X = b && b[1] || "";
|
|
201
201
|
}
|
|
202
202
|
return `
|
|
203
203
|
` + X + e;
|
|
@@ -208,22 +208,22 @@ function Vr() {
|
|
|
208
208
|
var Je = typeof WeakMap == "function" ? WeakMap : Map;
|
|
209
209
|
N = new Je();
|
|
210
210
|
}
|
|
211
|
-
function pe(e,
|
|
211
|
+
function pe(e, t) {
|
|
212
212
|
if (!e || H)
|
|
213
213
|
return "";
|
|
214
214
|
{
|
|
215
|
-
var
|
|
216
|
-
if (
|
|
217
|
-
return
|
|
215
|
+
var l = N.get(e);
|
|
216
|
+
if (l !== void 0)
|
|
217
|
+
return l;
|
|
218
218
|
}
|
|
219
|
-
var
|
|
219
|
+
var b;
|
|
220
220
|
H = !0;
|
|
221
221
|
var m = Error.prepareStackTrace;
|
|
222
222
|
Error.prepareStackTrace = void 0;
|
|
223
|
-
var
|
|
224
|
-
|
|
223
|
+
var x;
|
|
224
|
+
x = z.current, z.current = null, Ne();
|
|
225
225
|
try {
|
|
226
|
-
if (
|
|
226
|
+
if (t) {
|
|
227
227
|
var y = function() {
|
|
228
228
|
throw Error();
|
|
229
229
|
};
|
|
@@ -235,14 +235,14 @@ function Vr() {
|
|
|
235
235
|
try {
|
|
236
236
|
Reflect.construct(y, []);
|
|
237
237
|
} catch (k) {
|
|
238
|
-
|
|
238
|
+
b = k;
|
|
239
239
|
}
|
|
240
240
|
Reflect.construct(e, [], y);
|
|
241
241
|
} else {
|
|
242
242
|
try {
|
|
243
243
|
y.call();
|
|
244
244
|
} catch (k) {
|
|
245
|
-
|
|
245
|
+
b = k;
|
|
246
246
|
}
|
|
247
247
|
e.call(y.prototype);
|
|
248
248
|
}
|
|
@@ -250,43 +250,43 @@ function Vr() {
|
|
|
250
250
|
try {
|
|
251
251
|
throw Error();
|
|
252
252
|
} catch (k) {
|
|
253
|
-
|
|
253
|
+
b = k;
|
|
254
254
|
}
|
|
255
255
|
e();
|
|
256
256
|
}
|
|
257
257
|
} catch (k) {
|
|
258
|
-
if (k &&
|
|
258
|
+
if (k && b && typeof k.stack == "string") {
|
|
259
259
|
for (var E = k.stack.split(`
|
|
260
|
-
`), w =
|
|
261
|
-
`), j = E.length - 1,
|
|
262
|
-
|
|
263
|
-
for (; j >= 1 &&
|
|
264
|
-
if (E[j] !== w[
|
|
265
|
-
if (j !== 1 ||
|
|
260
|
+
`), w = b.stack.split(`
|
|
261
|
+
`), j = E.length - 1, T = w.length - 1; j >= 1 && T >= 0 && E[j] !== w[T]; )
|
|
262
|
+
T--;
|
|
263
|
+
for (; j >= 1 && T >= 0; j--, T--)
|
|
264
|
+
if (E[j] !== w[T]) {
|
|
265
|
+
if (j !== 1 || T !== 1)
|
|
266
266
|
do
|
|
267
|
-
if (j--,
|
|
267
|
+
if (j--, T--, T < 0 || E[j] !== w[T]) {
|
|
268
268
|
var C = `
|
|
269
269
|
` + E[j].replace(" at new ", " at ");
|
|
270
270
|
return e.displayName && C.includes("<anonymous>") && (C = C.replace("<anonymous>", e.displayName)), typeof e == "function" && N.set(e, C), C;
|
|
271
271
|
}
|
|
272
|
-
while (j >= 1 &&
|
|
272
|
+
while (j >= 1 && T >= 0);
|
|
273
273
|
break;
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
} finally {
|
|
277
|
-
H = !1, z.current =
|
|
277
|
+
H = !1, z.current = x, qe(), Error.prepareStackTrace = m;
|
|
278
278
|
}
|
|
279
279
|
var W = e ? e.displayName || e.name : "", A = W ? V(W) : "";
|
|
280
280
|
return typeof e == "function" && N.set(e, A), A;
|
|
281
281
|
}
|
|
282
|
-
function Ge(e,
|
|
282
|
+
function Ge(e, t, l) {
|
|
283
283
|
return pe(e, !1);
|
|
284
284
|
}
|
|
285
285
|
function Ke(e) {
|
|
286
|
-
var
|
|
287
|
-
return !!(
|
|
286
|
+
var t = e.prototype;
|
|
287
|
+
return !!(t && t.isReactComponent);
|
|
288
288
|
}
|
|
289
|
-
function q(e,
|
|
289
|
+
function q(e, t, l) {
|
|
290
290
|
if (e == null)
|
|
291
291
|
return "";
|
|
292
292
|
if (typeof e == "function")
|
|
@@ -294,7 +294,7 @@ function Vr() {
|
|
|
294
294
|
if (typeof e == "string")
|
|
295
295
|
return V(e);
|
|
296
296
|
switch (e) {
|
|
297
|
-
case
|
|
297
|
+
case p:
|
|
298
298
|
return V("Suspense");
|
|
299
299
|
case o:
|
|
300
300
|
return V("SuspenseList");
|
|
@@ -303,12 +303,12 @@ function Vr() {
|
|
|
303
303
|
switch (e.$$typeof) {
|
|
304
304
|
case c:
|
|
305
305
|
return Ge(e.render);
|
|
306
|
-
case
|
|
307
|
-
return q(e.type,
|
|
308
|
-
case
|
|
309
|
-
var
|
|
306
|
+
case v:
|
|
307
|
+
return q(e.type, t, l);
|
|
308
|
+
case R: {
|
|
309
|
+
var b = e, m = b._payload, x = b._init;
|
|
310
310
|
try {
|
|
311
|
-
return q(
|
|
311
|
+
return q(x(m), t, l);
|
|
312
312
|
} catch {
|
|
313
313
|
}
|
|
314
314
|
}
|
|
@@ -318,27 +318,27 @@ function Vr() {
|
|
|
318
318
|
var M = Object.prototype.hasOwnProperty, be = {}, he = I.ReactDebugCurrentFrame;
|
|
319
319
|
function J(e) {
|
|
320
320
|
if (e) {
|
|
321
|
-
var
|
|
322
|
-
he.setExtraStackFrame(
|
|
321
|
+
var t = e._owner, l = q(e.type, e._source, t ? t.type : null);
|
|
322
|
+
he.setExtraStackFrame(l);
|
|
323
323
|
} else
|
|
324
324
|
he.setExtraStackFrame(null);
|
|
325
325
|
}
|
|
326
|
-
function ze(e,
|
|
326
|
+
function ze(e, t, l, b, m) {
|
|
327
327
|
{
|
|
328
|
-
var
|
|
328
|
+
var x = Function.call.bind(M);
|
|
329
329
|
for (var y in e)
|
|
330
|
-
if (
|
|
330
|
+
if (x(e, y)) {
|
|
331
331
|
var E = void 0;
|
|
332
332
|
try {
|
|
333
333
|
if (typeof e[y] != "function") {
|
|
334
|
-
var w = Error((
|
|
334
|
+
var w = Error((b || "React class") + ": " + l + " type `" + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
335
335
|
throw w.name = "Invariant Violation", w;
|
|
336
336
|
}
|
|
337
|
-
E = e[y](
|
|
337
|
+
E = e[y](t, y, b, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
338
338
|
} catch (j) {
|
|
339
339
|
E = j;
|
|
340
340
|
}
|
|
341
|
-
E && !(E instanceof Error) && (J(m), P("%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).",
|
|
341
|
+
E && !(E instanceof Error) && (J(m), P("%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).", b || "React class", l, y, typeof E), J(null)), E instanceof Error && !(E.message in be) && (be[E.message] = !0, J(m), P("Failed %s type: %s", l, E.message), J(null));
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
344
|
}
|
|
@@ -348,8 +348,8 @@ function Vr() {
|
|
|
348
348
|
}
|
|
349
349
|
function He(e) {
|
|
350
350
|
{
|
|
351
|
-
var
|
|
352
|
-
return
|
|
351
|
+
var t = typeof Symbol == "function" && Symbol.toStringTag, l = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
352
|
+
return l;
|
|
353
353
|
}
|
|
354
354
|
}
|
|
355
355
|
function Ze(e) {
|
|
@@ -374,56 +374,56 @@ function Vr() {
|
|
|
374
374
|
}, Re, _e;
|
|
375
375
|
function Be(e) {
|
|
376
376
|
if (M.call(e, "ref")) {
|
|
377
|
-
var
|
|
378
|
-
if (
|
|
377
|
+
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
378
|
+
if (t && t.isReactWarning)
|
|
379
379
|
return !1;
|
|
380
380
|
}
|
|
381
381
|
return e.ref !== void 0;
|
|
382
382
|
}
|
|
383
383
|
function er(e) {
|
|
384
384
|
if (M.call(e, "key")) {
|
|
385
|
-
var
|
|
386
|
-
if (
|
|
385
|
+
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
386
|
+
if (t && t.isReactWarning)
|
|
387
387
|
return !1;
|
|
388
388
|
}
|
|
389
389
|
return e.key !== void 0;
|
|
390
390
|
}
|
|
391
|
-
function rr(e,
|
|
391
|
+
function rr(e, t) {
|
|
392
392
|
typeof e.ref == "string" && me.current;
|
|
393
393
|
}
|
|
394
|
-
function tr(e,
|
|
394
|
+
function tr(e, t) {
|
|
395
395
|
{
|
|
396
|
-
var
|
|
397
|
-
Re || (Re = !0, P("%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)",
|
|
396
|
+
var l = function() {
|
|
397
|
+
Re || (Re = !0, P("%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)", t));
|
|
398
398
|
};
|
|
399
|
-
|
|
400
|
-
get:
|
|
399
|
+
l.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
400
|
+
get: l,
|
|
401
401
|
configurable: !0
|
|
402
402
|
});
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
|
-
function nr(e,
|
|
405
|
+
function nr(e, t) {
|
|
406
406
|
{
|
|
407
|
-
var
|
|
408
|
-
_e || (_e = !0, P("%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)",
|
|
407
|
+
var l = function() {
|
|
408
|
+
_e || (_e = !0, P("%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)", t));
|
|
409
409
|
};
|
|
410
|
-
|
|
411
|
-
get:
|
|
410
|
+
l.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
411
|
+
get: l,
|
|
412
412
|
configurable: !0
|
|
413
413
|
});
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
|
-
var ar = function(e,
|
|
416
|
+
var ar = function(e, t, l, b, m, x, y) {
|
|
417
417
|
var E = {
|
|
418
418
|
// This tag allows us to uniquely identify this as a React Element
|
|
419
|
-
$$typeof:
|
|
419
|
+
$$typeof: s,
|
|
420
420
|
// Built-in properties that belong on the element
|
|
421
421
|
type: e,
|
|
422
|
-
key:
|
|
423
|
-
ref:
|
|
422
|
+
key: t,
|
|
423
|
+
ref: l,
|
|
424
424
|
props: y,
|
|
425
425
|
// Record the component responsible for creating this element.
|
|
426
|
-
_owner:
|
|
426
|
+
_owner: x
|
|
427
427
|
};
|
|
428
428
|
return E._store = {}, Object.defineProperty(E._store, "validated", {
|
|
429
429
|
configurable: !1,
|
|
@@ -434,7 +434,7 @@ function Vr() {
|
|
|
434
434
|
configurable: !1,
|
|
435
435
|
enumerable: !1,
|
|
436
436
|
writable: !1,
|
|
437
|
-
value:
|
|
437
|
+
value: b
|
|
438
438
|
}), Object.defineProperty(E, "_source", {
|
|
439
439
|
configurable: !1,
|
|
440
440
|
enumerable: !1,
|
|
@@ -442,36 +442,36 @@ function Vr() {
|
|
|
442
442
|
value: m
|
|
443
443
|
}), Object.freeze && (Object.freeze(E.props), Object.freeze(E)), E;
|
|
444
444
|
};
|
|
445
|
-
function ir(e,
|
|
445
|
+
function ir(e, t, l, b, m) {
|
|
446
446
|
{
|
|
447
|
-
var
|
|
448
|
-
|
|
449
|
-
for (
|
|
450
|
-
M.call(
|
|
447
|
+
var x, y = {}, E = null, w = null;
|
|
448
|
+
l !== void 0 && (ye(l), E = "" + l), er(t) && (ye(t.key), E = "" + t.key), Be(t) && (w = t.ref, rr(t, m));
|
|
449
|
+
for (x in t)
|
|
450
|
+
M.call(t, x) && !Qe.hasOwnProperty(x) && (y[x] = t[x]);
|
|
451
451
|
if (e && e.defaultProps) {
|
|
452
452
|
var j = e.defaultProps;
|
|
453
|
-
for (
|
|
454
|
-
y[
|
|
453
|
+
for (x in j)
|
|
454
|
+
y[x] === void 0 && (y[x] = j[x]);
|
|
455
455
|
}
|
|
456
456
|
if (E || w) {
|
|
457
|
-
var
|
|
458
|
-
E && tr(y,
|
|
457
|
+
var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
458
|
+
E && tr(y, T), w && nr(y, T);
|
|
459
459
|
}
|
|
460
|
-
return ar(e, E, w, m,
|
|
460
|
+
return ar(e, E, w, m, b, me.current, y);
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
463
|
var Q = I.ReactCurrentOwner, xe = I.ReactDebugCurrentFrame;
|
|
464
464
|
function $(e) {
|
|
465
465
|
if (e) {
|
|
466
|
-
var
|
|
467
|
-
xe.setExtraStackFrame(
|
|
466
|
+
var t = e._owner, l = q(e.type, e._source, t ? t.type : null);
|
|
467
|
+
xe.setExtraStackFrame(l);
|
|
468
468
|
} else
|
|
469
469
|
xe.setExtraStackFrame(null);
|
|
470
470
|
}
|
|
471
471
|
var B;
|
|
472
472
|
B = !1;
|
|
473
473
|
function ee(e) {
|
|
474
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
474
|
+
return typeof e == "object" && e !== null && e.$$typeof === s;
|
|
475
475
|
}
|
|
476
476
|
function ge() {
|
|
477
477
|
{
|
|
@@ -489,81 +489,81 @@ Check the render method of \`` + e + "`.";
|
|
|
489
489
|
return "";
|
|
490
490
|
}
|
|
491
491
|
var je = {};
|
|
492
|
-
function
|
|
492
|
+
function ur(e) {
|
|
493
493
|
{
|
|
494
|
-
var
|
|
495
|
-
if (!
|
|
496
|
-
var
|
|
497
|
-
|
|
494
|
+
var t = ge();
|
|
495
|
+
if (!t) {
|
|
496
|
+
var l = typeof e == "string" ? e : e.displayName || e.name;
|
|
497
|
+
l && (t = `
|
|
498
498
|
|
|
499
|
-
Check the top-level render call using <` +
|
|
499
|
+
Check the top-level render call using <` + l + ">.");
|
|
500
500
|
}
|
|
501
|
-
return
|
|
501
|
+
return t;
|
|
502
502
|
}
|
|
503
503
|
}
|
|
504
|
-
function Te(e,
|
|
504
|
+
function Te(e, t) {
|
|
505
505
|
{
|
|
506
506
|
if (!e._store || e._store.validated || e.key != null)
|
|
507
507
|
return;
|
|
508
508
|
e._store.validated = !0;
|
|
509
|
-
var
|
|
510
|
-
if (je[
|
|
509
|
+
var l = ur(t);
|
|
510
|
+
if (je[l])
|
|
511
511
|
return;
|
|
512
|
-
je[
|
|
513
|
-
var
|
|
514
|
-
e && e._owner && e._owner !== Q.current && (
|
|
512
|
+
je[l] = !0;
|
|
513
|
+
var b = "";
|
|
514
|
+
e && e._owner && e._owner !== Q.current && (b = " It was passed a child from " + F(e._owner.type) + "."), $(e), P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, b), $(null);
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
|
-
function Oe(e,
|
|
517
|
+
function Oe(e, t) {
|
|
518
518
|
{
|
|
519
519
|
if (typeof e != "object")
|
|
520
520
|
return;
|
|
521
521
|
if (Z(e))
|
|
522
|
-
for (var
|
|
523
|
-
var
|
|
524
|
-
ee(
|
|
522
|
+
for (var l = 0; l < e.length; l++) {
|
|
523
|
+
var b = e[l];
|
|
524
|
+
ee(b) && Te(b, t);
|
|
525
525
|
}
|
|
526
526
|
else if (ee(e))
|
|
527
527
|
e._store && (e._store.validated = !0);
|
|
528
528
|
else if (e) {
|
|
529
529
|
var m = Ae(e);
|
|
530
530
|
if (typeof m == "function" && m !== e.entries)
|
|
531
|
-
for (var
|
|
532
|
-
ee(y.value) && Te(y.value,
|
|
531
|
+
for (var x = m.call(e), y; !(y = x.next()).done; )
|
|
532
|
+
ee(y.value) && Te(y.value, t);
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
|
-
function
|
|
536
|
+
function sr(e) {
|
|
537
537
|
{
|
|
538
|
-
var
|
|
539
|
-
if (
|
|
538
|
+
var t = e.type;
|
|
539
|
+
if (t == null || typeof t == "string")
|
|
540
540
|
return;
|
|
541
|
-
var
|
|
542
|
-
if (typeof
|
|
543
|
-
|
|
544
|
-
else if (typeof
|
|
541
|
+
var l;
|
|
542
|
+
if (typeof t == "function")
|
|
543
|
+
l = t.propTypes;
|
|
544
|
+
else if (typeof t == "object" && (t.$$typeof === c || // Note: Memo only checks outer props here.
|
|
545
545
|
// Inner props are checked in the reconciler.
|
|
546
|
-
|
|
547
|
-
|
|
546
|
+
t.$$typeof === v))
|
|
547
|
+
l = t.propTypes;
|
|
548
548
|
else
|
|
549
549
|
return;
|
|
550
|
-
if (
|
|
551
|
-
var
|
|
552
|
-
ze(
|
|
553
|
-
} else if (
|
|
550
|
+
if (l) {
|
|
551
|
+
var b = F(t);
|
|
552
|
+
ze(l, e.props, "prop", b, e);
|
|
553
|
+
} else if (t.PropTypes !== void 0 && !B) {
|
|
554
554
|
B = !0;
|
|
555
|
-
var m = F(
|
|
555
|
+
var m = F(t);
|
|
556
556
|
P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", m || "Unknown");
|
|
557
557
|
}
|
|
558
|
-
typeof
|
|
558
|
+
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
559
559
|
}
|
|
560
560
|
}
|
|
561
561
|
function or(e) {
|
|
562
562
|
{
|
|
563
|
-
for (var
|
|
564
|
-
var
|
|
565
|
-
if (
|
|
566
|
-
$(e), P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
563
|
+
for (var t = Object.keys(e.props), l = 0; l < t.length; l++) {
|
|
564
|
+
var b = t[l];
|
|
565
|
+
if (b !== "children" && b !== "key") {
|
|
566
|
+
$(e), P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", b), $(null);
|
|
567
567
|
break;
|
|
568
568
|
}
|
|
569
569
|
}
|
|
@@ -571,7 +571,7 @@ Check the top-level render call using <` + s + ">.");
|
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
573
|
var Se = {};
|
|
574
|
-
function Pe(e,
|
|
574
|
+
function Pe(e, t, l, b, m, x) {
|
|
575
575
|
{
|
|
576
576
|
var y = Le(e);
|
|
577
577
|
if (!y) {
|
|
@@ -580,15 +580,15 @@ Check the top-level render call using <` + s + ">.");
|
|
|
580
580
|
var w = lr();
|
|
581
581
|
w ? E += w : E += ge();
|
|
582
582
|
var j;
|
|
583
|
-
e === null ? j = "null" : Z(e) ? j = "array" : e !== void 0 && e.$$typeof ===
|
|
583
|
+
e === null ? j = "null" : Z(e) ? j = "array" : e !== void 0 && e.$$typeof === s ? (j = "<" + (F(e.type) || "Unknown") + " />", E = " Did you accidentally export a JSX literal instead of a component?") : j = typeof e, P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", j, E);
|
|
584
584
|
}
|
|
585
|
-
var
|
|
586
|
-
if (
|
|
587
|
-
return
|
|
585
|
+
var T = ir(e, t, l, m, x);
|
|
586
|
+
if (T == null)
|
|
587
|
+
return T;
|
|
588
588
|
if (y) {
|
|
589
|
-
var C =
|
|
589
|
+
var C = t.children;
|
|
590
590
|
if (C !== void 0)
|
|
591
|
-
if (
|
|
591
|
+
if (b)
|
|
592
592
|
if (Z(C)) {
|
|
593
593
|
for (var W = 0; W < C.length; W++)
|
|
594
594
|
Oe(C[W], e);
|
|
@@ -598,8 +598,8 @@ Check the top-level render call using <` + s + ">.");
|
|
|
598
598
|
else
|
|
599
599
|
Oe(C, e);
|
|
600
600
|
}
|
|
601
|
-
if (M.call(
|
|
602
|
-
var A = F(e), k = Object.keys(
|
|
601
|
+
if (M.call(t, "key")) {
|
|
602
|
+
var A = F(e), k = Object.keys(t).filter(function(br) {
|
|
603
603
|
return br !== "key";
|
|
604
604
|
}), re = k.length > 0 ? "{key: someKey, " + k.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
605
605
|
if (!Se[A + re]) {
|
|
@@ -612,17 +612,17 @@ React keys must be passed directly to JSX without using spread:
|
|
|
612
612
|
<%s key={someKey} {...props} />`, re, A, pr, A), Se[A + re] = !0;
|
|
613
613
|
}
|
|
614
614
|
}
|
|
615
|
-
return e ===
|
|
615
|
+
return e === u ? or(T) : sr(T), T;
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
|
-
function fr(e,
|
|
619
|
-
return Pe(e,
|
|
618
|
+
function fr(e, t, l) {
|
|
619
|
+
return Pe(e, t, l, !0);
|
|
620
620
|
}
|
|
621
|
-
function cr(e,
|
|
622
|
-
return Pe(e,
|
|
621
|
+
function cr(e, t, l) {
|
|
622
|
+
return Pe(e, t, l, !1);
|
|
623
623
|
}
|
|
624
624
|
var dr = cr, vr = fr;
|
|
625
|
-
L.Fragment =
|
|
625
|
+
L.Fragment = u, L.jsx = dr, L.jsxs = vr;
|
|
626
626
|
}()), L;
|
|
627
627
|
}
|
|
628
628
|
var Ce;
|
|
@@ -632,79 +632,76 @@ function Nr() {
|
|
|
632
632
|
var h = Nr();
|
|
633
633
|
const zr = ({
|
|
634
634
|
name: i,
|
|
635
|
-
control:
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
635
|
+
control: s,
|
|
636
|
+
definition: a,
|
|
637
|
+
defaultValue: u,
|
|
638
|
+
handleState: f = !0,
|
|
639
|
+
onAddButtonClick: r,
|
|
640
|
+
onRemoveButtonClick: n,
|
|
641
641
|
...d
|
|
642
642
|
}) => {
|
|
643
|
-
const { errors: c } = Yr({ control:
|
|
643
|
+
const { errors: c } = Yr({ control: s }), { fields: p, append: o, remove: v } = Mr({
|
|
644
644
|
name: i,
|
|
645
|
-
control:
|
|
646
|
-
}),
|
|
647
|
-
() =>
|
|
648
|
-
errorText: (
|
|
645
|
+
control: s
|
|
646
|
+
}), R = hr(
|
|
647
|
+
() => a.map((g) => ({
|
|
648
|
+
errorText: (S, K) => g.label && Ur(c, `${i}.${K}.${g.label.toString().toLowerCase()}.message`),
|
|
649
649
|
...g
|
|
650
650
|
})),
|
|
651
|
-
[
|
|
651
|
+
[a, c, i]
|
|
652
652
|
);
|
|
653
653
|
return /* @__PURE__ */ h.jsx(
|
|
654
654
|
Er,
|
|
655
655
|
{
|
|
656
|
-
definition:
|
|
657
|
-
items:
|
|
656
|
+
definition: R,
|
|
657
|
+
items: p || [],
|
|
658
658
|
onRemoveButtonClick: (g) => {
|
|
659
|
-
|
|
659
|
+
f && v(g.detail.itemIndex), n == null || n(g, v);
|
|
660
660
|
},
|
|
661
661
|
onAddButtonClick: (g) => {
|
|
662
|
-
|
|
662
|
+
f && o(u), r == null || r(g, o);
|
|
663
663
|
},
|
|
664
664
|
...d
|
|
665
665
|
}
|
|
666
666
|
);
|
|
667
667
|
}, Xr = ({
|
|
668
668
|
name: i,
|
|
669
|
-
control:
|
|
669
|
+
control: s,
|
|
670
670
|
defaultValue: a,
|
|
671
|
-
rules:
|
|
671
|
+
rules: u,
|
|
672
672
|
shouldUnregister: f = !1,
|
|
673
|
-
onBlur:
|
|
673
|
+
onBlur: r,
|
|
674
674
|
onChange: n,
|
|
675
675
|
...d
|
|
676
676
|
}) => {
|
|
677
|
-
const c =
|
|
678
|
-
(o) => {
|
|
679
|
-
|
|
677
|
+
const c = _(
|
|
678
|
+
(o, v) => {
|
|
679
|
+
var R;
|
|
680
|
+
(R = v.detail) != null && R.value && o(v.detail.value), r == null || r(v);
|
|
680
681
|
},
|
|
681
|
-
[
|
|
682
|
-
),
|
|
683
|
-
(o) => {
|
|
684
|
-
n == null || n(
|
|
682
|
+
[r]
|
|
683
|
+
), p = _(
|
|
684
|
+
(o, v) => {
|
|
685
|
+
o(v.detail.value), n == null || n(v);
|
|
685
686
|
},
|
|
686
687
|
[n]
|
|
687
688
|
);
|
|
688
689
|
return /* @__PURE__ */ h.jsx(
|
|
689
|
-
|
|
690
|
+
O,
|
|
690
691
|
{
|
|
691
692
|
name: i,
|
|
692
|
-
control:
|
|
693
|
+
control: s,
|
|
693
694
|
defaultValue: a,
|
|
694
|
-
rules:
|
|
695
|
+
rules: u,
|
|
695
696
|
shouldUnregister: f,
|
|
696
|
-
render: ({ field: { ref: o, onBlur:
|
|
697
|
+
render: ({ field: { ref: o, onBlur: v, onChange: R, value: g } }) => /* @__PURE__ */ h.jsx(
|
|
697
698
|
yr,
|
|
698
699
|
{
|
|
699
700
|
ref: o,
|
|
700
701
|
name: i,
|
|
701
702
|
value: g || "",
|
|
702
|
-
onBlur: (
|
|
703
|
-
|
|
704
|
-
},
|
|
705
|
-
onChange: (T) => {
|
|
706
|
-
x(T.detail.value), b(T);
|
|
707
|
-
},
|
|
703
|
+
onBlur: c.bind(null, v),
|
|
704
|
+
onChange: p.bind(null, R),
|
|
708
705
|
...d
|
|
709
706
|
}
|
|
710
707
|
)
|
|
@@ -712,104 +709,110 @@ const zr = ({
|
|
|
712
709
|
);
|
|
713
710
|
}, Hr = ({
|
|
714
711
|
name: i,
|
|
715
|
-
control:
|
|
712
|
+
control: s,
|
|
716
713
|
onChange: a,
|
|
717
|
-
...
|
|
714
|
+
...u
|
|
718
715
|
}) => {
|
|
719
|
-
const f =
|
|
720
|
-
(
|
|
721
|
-
|
|
716
|
+
const f = _(
|
|
717
|
+
(r, n) => {
|
|
718
|
+
r(n.detail.checked), a == null || a(n);
|
|
722
719
|
},
|
|
723
720
|
[a]
|
|
724
721
|
);
|
|
725
722
|
return /* @__PURE__ */ h.jsx(
|
|
726
|
-
|
|
723
|
+
O,
|
|
727
724
|
{
|
|
728
725
|
name: i,
|
|
729
|
-
control:
|
|
730
|
-
render: ({ field: { ref:
|
|
726
|
+
control: s,
|
|
727
|
+
render: ({ field: { ref: r, onChange: n, value: d = !1 } }) => /* @__PURE__ */ h.jsx(mr, { ref: r, onChange: f.bind(null, n), checked: d, ...u })
|
|
731
728
|
}
|
|
732
729
|
);
|
|
733
730
|
}, Zr = ({
|
|
734
731
|
name: i,
|
|
735
|
-
control:
|
|
736
|
-
|
|
737
|
-
|
|
732
|
+
control: s,
|
|
733
|
+
defaultValue: a,
|
|
734
|
+
rules: u,
|
|
735
|
+
shouldUnregister: f = !1,
|
|
736
|
+
onSelectionChange: r,
|
|
737
|
+
...n
|
|
738
738
|
}) => {
|
|
739
|
-
const
|
|
740
|
-
(
|
|
741
|
-
|
|
739
|
+
const d = _(
|
|
740
|
+
(c, p) => {
|
|
741
|
+
c(p.detail.selectedItems), r == null || r(p);
|
|
742
742
|
},
|
|
743
|
-
[
|
|
743
|
+
[r]
|
|
744
744
|
);
|
|
745
745
|
return /* @__PURE__ */ h.jsx(
|
|
746
|
-
|
|
746
|
+
O,
|
|
747
747
|
{
|
|
748
748
|
name: i,
|
|
749
|
-
control:
|
|
750
|
-
|
|
749
|
+
control: s,
|
|
750
|
+
defaultValue: a,
|
|
751
|
+
rules: u,
|
|
752
|
+
shouldUnregister: f,
|
|
753
|
+
render: ({ field: { onChange: c, value: p } }) => /* @__PURE__ */ h.jsx(Rr, { onSelectionChange: d.bind(null, c), selectedItems: p, ...n })
|
|
751
754
|
}
|
|
752
755
|
);
|
|
753
756
|
}, Qr = ({
|
|
754
757
|
name: i,
|
|
755
|
-
control:
|
|
758
|
+
control: s,
|
|
756
759
|
onChange: a,
|
|
757
|
-
...
|
|
760
|
+
...u
|
|
758
761
|
}) => {
|
|
759
|
-
const f =
|
|
760
|
-
(
|
|
761
|
-
|
|
762
|
+
const f = _(
|
|
763
|
+
(r, n) => {
|
|
764
|
+
r(n.detail.value), a == null || a(n);
|
|
762
765
|
},
|
|
763
766
|
[a]
|
|
764
767
|
);
|
|
765
768
|
return /* @__PURE__ */ h.jsx(
|
|
766
|
-
|
|
769
|
+
O,
|
|
767
770
|
{
|
|
768
771
|
name: i,
|
|
769
|
-
control:
|
|
770
|
-
render: ({ field: { onChange:
|
|
772
|
+
control: s,
|
|
773
|
+
render: ({ field: { onChange: r, value: n } }) => /* @__PURE__ */ h.jsx(_r, { value: n || "", onChange: f.bind(null, r), ...u })
|
|
771
774
|
}
|
|
772
775
|
);
|
|
773
776
|
}, Br = ({
|
|
774
777
|
name: i,
|
|
775
|
-
control:
|
|
778
|
+
control: s,
|
|
776
779
|
defaultValue: a,
|
|
777
|
-
rules:
|
|
780
|
+
rules: u,
|
|
778
781
|
shouldUnregister: f = !1,
|
|
779
|
-
onBlur:
|
|
782
|
+
onBlur: r,
|
|
780
783
|
onChange: n,
|
|
781
784
|
...d
|
|
782
785
|
}) => {
|
|
783
|
-
const c =
|
|
786
|
+
const c = _(
|
|
784
787
|
(o) => {
|
|
785
|
-
|
|
788
|
+
r == null || r(o);
|
|
786
789
|
},
|
|
787
|
-
[
|
|
788
|
-
),
|
|
790
|
+
[r]
|
|
791
|
+
), p = _(
|
|
789
792
|
(o) => {
|
|
790
793
|
n == null || n(o);
|
|
791
794
|
},
|
|
792
795
|
[n]
|
|
793
796
|
);
|
|
794
797
|
return /* @__PURE__ */ h.jsx(
|
|
795
|
-
|
|
798
|
+
O,
|
|
796
799
|
{
|
|
797
800
|
name: i,
|
|
798
|
-
control:
|
|
801
|
+
control: s,
|
|
799
802
|
defaultValue: a,
|
|
800
|
-
rules:
|
|
803
|
+
rules: u,
|
|
801
804
|
shouldUnregister: f,
|
|
802
|
-
render: ({ field: { ref: o, onChange:
|
|
805
|
+
render: ({ field: { ref: o, onChange: v, onBlur: R, value: g } }) => /* @__PURE__ */ h.jsx(
|
|
803
806
|
xr,
|
|
804
807
|
{
|
|
805
808
|
ref: o,
|
|
806
809
|
name: i,
|
|
807
810
|
value: g,
|
|
808
|
-
onBlur: (
|
|
809
|
-
|
|
811
|
+
onBlur: (S) => {
|
|
812
|
+
R(), c(S);
|
|
810
813
|
},
|
|
811
|
-
onChange: (
|
|
812
|
-
|
|
814
|
+
onChange: (S) => {
|
|
815
|
+
v(S.detail.value), p(S);
|
|
813
816
|
},
|
|
814
817
|
...d
|
|
815
818
|
}
|
|
@@ -818,37 +821,37 @@ const zr = ({
|
|
|
818
821
|
);
|
|
819
822
|
}, et = ({
|
|
820
823
|
name: i,
|
|
821
|
-
control:
|
|
824
|
+
control: s,
|
|
822
825
|
onBlur: a,
|
|
823
|
-
onChange:
|
|
826
|
+
onChange: u,
|
|
824
827
|
...f
|
|
825
828
|
}) => {
|
|
826
|
-
const
|
|
829
|
+
const r = _(
|
|
827
830
|
(d) => {
|
|
828
831
|
a == null || a(d);
|
|
829
832
|
},
|
|
830
833
|
[a]
|
|
831
|
-
), n =
|
|
834
|
+
), n = _(
|
|
832
835
|
(d) => {
|
|
833
|
-
|
|
836
|
+
u == null || u(d);
|
|
834
837
|
},
|
|
835
|
-
[
|
|
838
|
+
[u]
|
|
836
839
|
);
|
|
837
840
|
return /* @__PURE__ */ h.jsx(
|
|
838
|
-
|
|
841
|
+
O,
|
|
839
842
|
{
|
|
840
843
|
name: i,
|
|
841
|
-
control:
|
|
842
|
-
render: ({ field: { ref: d, onBlur: c, onChange:
|
|
844
|
+
control: s,
|
|
845
|
+
render: ({ field: { ref: d, onBlur: c, onChange: p, value: o } }) => /* @__PURE__ */ h.jsx(
|
|
843
846
|
gr,
|
|
844
847
|
{
|
|
845
848
|
ref: d,
|
|
846
849
|
value: o,
|
|
847
|
-
onBlur: (
|
|
848
|
-
c(),
|
|
850
|
+
onBlur: (v) => {
|
|
851
|
+
c(), r(v);
|
|
849
852
|
},
|
|
850
|
-
onChange: (
|
|
851
|
-
|
|
853
|
+
onChange: (v) => {
|
|
854
|
+
p(v.detail.value), n(v);
|
|
852
855
|
},
|
|
853
856
|
...f
|
|
854
857
|
}
|
|
@@ -857,32 +860,32 @@ const zr = ({
|
|
|
857
860
|
);
|
|
858
861
|
}, rt = ({
|
|
859
862
|
name: i,
|
|
860
|
-
control:
|
|
863
|
+
control: s,
|
|
861
864
|
defaultValue: a,
|
|
862
|
-
rules:
|
|
865
|
+
rules: u,
|
|
863
866
|
shouldUnregister: f = !1,
|
|
864
|
-
onChange:
|
|
867
|
+
onChange: r,
|
|
865
868
|
...n
|
|
866
869
|
}) => {
|
|
867
|
-
const d = (
|
|
868
|
-
(
|
|
869
|
-
|
|
870
|
+
const d = (p) => p != null && p.length ? p : [], c = _(
|
|
871
|
+
(p, o) => {
|
|
872
|
+
p(d(o.detail.value)), r == null || r(o);
|
|
870
873
|
},
|
|
871
|
-
[
|
|
874
|
+
[r]
|
|
872
875
|
);
|
|
873
876
|
return /* @__PURE__ */ h.jsx(
|
|
874
|
-
|
|
877
|
+
O,
|
|
875
878
|
{
|
|
876
879
|
name: i,
|
|
877
|
-
control:
|
|
880
|
+
control: s,
|
|
878
881
|
defaultValue: a,
|
|
879
|
-
rules:
|
|
882
|
+
rules: u,
|
|
880
883
|
shouldUnregister: f,
|
|
881
|
-
render: ({ field: { ref:
|
|
884
|
+
render: ({ field: { ref: p, onChange: o, value: v } }) => /* @__PURE__ */ h.jsx(
|
|
882
885
|
jr,
|
|
883
886
|
{
|
|
884
|
-
ref:
|
|
885
|
-
value: d(
|
|
887
|
+
ref: p,
|
|
888
|
+
value: d(v),
|
|
886
889
|
onChange: c.bind(null, o),
|
|
887
890
|
...n
|
|
888
891
|
}
|
|
@@ -891,224 +894,224 @@ const zr = ({
|
|
|
891
894
|
);
|
|
892
895
|
}, tt = ({
|
|
893
896
|
name: i,
|
|
894
|
-
control:
|
|
897
|
+
control: s,
|
|
895
898
|
defaultValue: a,
|
|
896
|
-
rules:
|
|
899
|
+
rules: u,
|
|
897
900
|
shouldUnregister: f = !1,
|
|
898
|
-
onBlur:
|
|
901
|
+
onBlur: r,
|
|
899
902
|
onChange: n,
|
|
900
903
|
...d
|
|
901
904
|
}) => {
|
|
902
|
-
const c =
|
|
905
|
+
const c = _(
|
|
903
906
|
(o) => {
|
|
904
|
-
|
|
907
|
+
r == null || r(o);
|
|
905
908
|
},
|
|
906
|
-
[
|
|
907
|
-
),
|
|
909
|
+
[r]
|
|
910
|
+
), p = _(
|
|
908
911
|
(o) => {
|
|
909
912
|
n == null || n(o);
|
|
910
913
|
},
|
|
911
914
|
[n]
|
|
912
915
|
);
|
|
913
916
|
return /* @__PURE__ */ h.jsx(
|
|
914
|
-
|
|
917
|
+
O,
|
|
915
918
|
{
|
|
916
919
|
name: i,
|
|
917
|
-
control:
|
|
920
|
+
control: s,
|
|
918
921
|
defaultValue: a,
|
|
919
|
-
rules:
|
|
922
|
+
rules: u,
|
|
920
923
|
shouldUnregister: f,
|
|
921
|
-
render: ({ field: { ref: o, onBlur:
|
|
924
|
+
render: ({ field: { ref: o, onBlur: v, onChange: R, value: g } }) => /* @__PURE__ */ h.jsx(
|
|
922
925
|
Tr,
|
|
923
926
|
{
|
|
924
927
|
ref: o,
|
|
925
928
|
name: i,
|
|
926
929
|
value: g,
|
|
927
|
-
onBlur: (
|
|
928
|
-
|
|
930
|
+
onBlur: (S) => {
|
|
931
|
+
v(), c(S);
|
|
929
932
|
},
|
|
930
|
-
onChange: (
|
|
931
|
-
|
|
933
|
+
onChange: (S) => {
|
|
934
|
+
R(S.detail.value), p(S);
|
|
932
935
|
},
|
|
933
936
|
...d
|
|
934
937
|
}
|
|
935
938
|
)
|
|
936
939
|
}
|
|
937
940
|
);
|
|
938
|
-
}, te = (i = []) => i != null && i.length ? i.map((
|
|
941
|
+
}, te = (i = []) => i != null && i.length ? i.map((s) => "options" in s ? te(s.options) : s.value).flat() : [], ne = (i = [], s = []) => i != null && i.length && (s != null && s.length) ? i.reduce((a, u) => {
|
|
939
942
|
if (i != null && i.length) {
|
|
940
|
-
if ("options" in
|
|
941
|
-
const f = ne(
|
|
943
|
+
if ("options" in u) {
|
|
944
|
+
const f = ne(u.options, s);
|
|
942
945
|
f != null && f.length && a.push(...f);
|
|
943
946
|
}
|
|
944
|
-
"value" in
|
|
947
|
+
"value" in u && s.find((f) => f === u.value) && a.push(u);
|
|
945
948
|
}
|
|
946
949
|
return a;
|
|
947
950
|
}, []).flat() : [], nt = { transformMultiselectOptionsToArray: te, mapSelectedOptionsWithOptions: ne }, at = ({
|
|
948
951
|
name: i,
|
|
949
|
-
control:
|
|
952
|
+
control: s,
|
|
950
953
|
options: a,
|
|
951
|
-
defaultValue:
|
|
954
|
+
defaultValue: u,
|
|
952
955
|
rules: f,
|
|
953
|
-
onBlur:
|
|
956
|
+
onBlur: r,
|
|
954
957
|
onChange: n,
|
|
955
958
|
shouldUnregister: d = !1,
|
|
956
959
|
...c
|
|
957
960
|
}) => {
|
|
958
|
-
const
|
|
959
|
-
(
|
|
960
|
-
|
|
961
|
+
const p = _(
|
|
962
|
+
(v, R) => {
|
|
963
|
+
v(), r == null || r(R);
|
|
961
964
|
},
|
|
962
|
-
[
|
|
963
|
-
), o =
|
|
964
|
-
(
|
|
965
|
-
|
|
965
|
+
[r]
|
|
966
|
+
), o = _(
|
|
967
|
+
(v, R) => {
|
|
968
|
+
v(te(R.detail.selectedOptions)), n == null || n(R);
|
|
966
969
|
},
|
|
967
970
|
[n]
|
|
968
971
|
);
|
|
969
972
|
return /* @__PURE__ */ h.jsx(
|
|
970
|
-
|
|
973
|
+
O,
|
|
971
974
|
{
|
|
972
975
|
name: i,
|
|
973
|
-
control:
|
|
974
|
-
defaultValue:
|
|
976
|
+
control: s,
|
|
977
|
+
defaultValue: u,
|
|
975
978
|
rules: f,
|
|
976
979
|
shouldUnregister: d,
|
|
977
|
-
render: ({ field: { ref:
|
|
980
|
+
render: ({ field: { ref: v, onChange: R, onBlur: g, value: S } }) => /* @__PURE__ */ h.jsx(
|
|
978
981
|
Or,
|
|
979
982
|
{
|
|
980
|
-
ref:
|
|
983
|
+
ref: v,
|
|
981
984
|
options: a,
|
|
982
|
-
onBlur: () =>
|
|
983
|
-
onChange: o.bind(null,
|
|
984
|
-
selectedOptions: ne(a,
|
|
985
|
+
onBlur: () => p.bind(null, g),
|
|
986
|
+
onChange: o.bind(null, R),
|
|
987
|
+
selectedOptions: ne(a, S),
|
|
985
988
|
...c
|
|
986
989
|
}
|
|
987
990
|
)
|
|
988
991
|
}
|
|
989
992
|
);
|
|
990
993
|
}, it = (i) => {
|
|
991
|
-
const { name:
|
|
992
|
-
(c,
|
|
993
|
-
c(
|
|
994
|
+
const { name: s, control: a, defaultValue: u, rules: f, shouldUnregister: r = !1, ...n } = i, d = _(
|
|
995
|
+
(c, p) => {
|
|
996
|
+
c(p.detail);
|
|
994
997
|
},
|
|
995
998
|
[]
|
|
996
999
|
);
|
|
997
1000
|
return /* @__PURE__ */ h.jsx(
|
|
998
|
-
|
|
1001
|
+
O,
|
|
999
1002
|
{
|
|
1000
|
-
name:
|
|
1003
|
+
name: s,
|
|
1001
1004
|
control: a,
|
|
1002
|
-
defaultValue:
|
|
1005
|
+
defaultValue: u,
|
|
1003
1006
|
rules: f,
|
|
1004
|
-
shouldUnregister:
|
|
1005
|
-
render: ({ field: { onChange: c, value:
|
|
1007
|
+
shouldUnregister: r,
|
|
1008
|
+
render: ({ field: { onChange: c, value: p } }) => /* @__PURE__ */ h.jsx(Sr, { onChange: d.bind(null, c), query: p, ...n })
|
|
1006
1009
|
}
|
|
1007
1010
|
);
|
|
1008
1011
|
}, lt = ({
|
|
1009
1012
|
name: i,
|
|
1010
|
-
control:
|
|
1013
|
+
control: s,
|
|
1011
1014
|
onChange: a,
|
|
1012
|
-
...
|
|
1015
|
+
...u
|
|
1013
1016
|
}) => {
|
|
1014
|
-
const f =
|
|
1015
|
-
(
|
|
1016
|
-
|
|
1017
|
+
const f = _(
|
|
1018
|
+
(r, n) => {
|
|
1019
|
+
r(n.detail.value), a == null || a(n);
|
|
1017
1020
|
},
|
|
1018
1021
|
[a]
|
|
1019
1022
|
);
|
|
1020
1023
|
return /* @__PURE__ */ h.jsx(
|
|
1021
|
-
|
|
1024
|
+
O,
|
|
1022
1025
|
{
|
|
1023
1026
|
name: i,
|
|
1024
|
-
control:
|
|
1025
|
-
render: ({ field: { onChange:
|
|
1027
|
+
control: s,
|
|
1028
|
+
render: ({ field: { onChange: r, value: n } }) => /* @__PURE__ */ h.jsx(Pr, { onChange: f.bind(null, r), value: n, items: u.items, ...u })
|
|
1026
1029
|
}
|
|
1027
1030
|
);
|
|
1028
|
-
},
|
|
1031
|
+
}, ut = ({
|
|
1029
1032
|
name: i,
|
|
1030
|
-
control:
|
|
1033
|
+
control: s,
|
|
1031
1034
|
defaultValue: a,
|
|
1032
|
-
rules:
|
|
1035
|
+
rules: u,
|
|
1033
1036
|
shouldUnregister: f = !1,
|
|
1034
|
-
onChange:
|
|
1037
|
+
onChange: r,
|
|
1035
1038
|
...n
|
|
1036
1039
|
}) => {
|
|
1037
|
-
const d =
|
|
1038
|
-
(c,
|
|
1039
|
-
c(
|
|
1040
|
+
const d = _(
|
|
1041
|
+
(c, p) => {
|
|
1042
|
+
c(p.detail.resource), r == null || r(p);
|
|
1040
1043
|
},
|
|
1041
|
-
[
|
|
1044
|
+
[r]
|
|
1042
1045
|
);
|
|
1043
1046
|
return /* @__PURE__ */ h.jsx(
|
|
1044
|
-
|
|
1047
|
+
O,
|
|
1045
1048
|
{
|
|
1046
1049
|
name: i,
|
|
1047
|
-
control:
|
|
1050
|
+
control: s,
|
|
1048
1051
|
defaultValue: a,
|
|
1049
|
-
rules:
|
|
1052
|
+
rules: u,
|
|
1050
1053
|
shouldUnregister: f,
|
|
1051
|
-
render: ({ field: { ref: c, onChange:
|
|
1054
|
+
render: ({ field: { ref: c, onChange: p, value: o } }) => /* @__PURE__ */ h.jsx(
|
|
1052
1055
|
wr,
|
|
1053
1056
|
{
|
|
1054
1057
|
ref: c,
|
|
1055
1058
|
resource: o ?? { uri: "" },
|
|
1056
|
-
onChange: d.bind(null,
|
|
1059
|
+
onChange: d.bind(null, p),
|
|
1057
1060
|
...n
|
|
1058
1061
|
}
|
|
1059
1062
|
)
|
|
1060
1063
|
}
|
|
1061
1064
|
);
|
|
1062
|
-
}, De = (i = [],
|
|
1065
|
+
}, De = (i = [], s) => {
|
|
1063
1066
|
let a = null;
|
|
1064
|
-
return i &&
|
|
1065
|
-
(
|
|
1067
|
+
return i && s && (a = i.reduce(
|
|
1068
|
+
(u, f) => {
|
|
1066
1069
|
if ("options" in f) {
|
|
1067
|
-
const
|
|
1068
|
-
|
|
1070
|
+
const r = De(f.options, s);
|
|
1071
|
+
r && u.push(r);
|
|
1069
1072
|
}
|
|
1070
|
-
return "value" in f && f.value ===
|
|
1073
|
+
return "value" in f && f.value === s && u.push(f), u;
|
|
1071
1074
|
},
|
|
1072
1075
|
[]
|
|
1073
1076
|
)[0]), a || null;
|
|
1074
1077
|
}, qr = {
|
|
1075
1078
|
mapSelectedOptionWithOptions: De
|
|
1076
|
-
},
|
|
1079
|
+
}, st = ({
|
|
1077
1080
|
name: i,
|
|
1078
|
-
control:
|
|
1081
|
+
control: s,
|
|
1079
1082
|
defaultValue: a,
|
|
1080
|
-
rules:
|
|
1083
|
+
rules: u,
|
|
1081
1084
|
shouldUnregister: f = !1,
|
|
1082
|
-
onBlur:
|
|
1085
|
+
onBlur: r,
|
|
1083
1086
|
onChange: n,
|
|
1084
1087
|
...d
|
|
1085
1088
|
}) => {
|
|
1086
|
-
const c =
|
|
1087
|
-
(o,
|
|
1088
|
-
o(),
|
|
1089
|
+
const c = _(
|
|
1090
|
+
(o, v) => {
|
|
1091
|
+
o(), r == null || r(v);
|
|
1089
1092
|
},
|
|
1090
|
-
[
|
|
1091
|
-
),
|
|
1092
|
-
(o,
|
|
1093
|
-
o(
|
|
1093
|
+
[r]
|
|
1094
|
+
), p = _(
|
|
1095
|
+
(o, v) => {
|
|
1096
|
+
o(v.detail.selectedOption.value), n == null || n(v);
|
|
1094
1097
|
},
|
|
1095
1098
|
[n]
|
|
1096
1099
|
);
|
|
1097
1100
|
return /* @__PURE__ */ h.jsx(
|
|
1098
|
-
|
|
1101
|
+
O,
|
|
1099
1102
|
{
|
|
1100
1103
|
name: i,
|
|
1101
|
-
control:
|
|
1104
|
+
control: s,
|
|
1102
1105
|
defaultValue: a,
|
|
1103
|
-
rules:
|
|
1106
|
+
rules: u,
|
|
1104
1107
|
shouldUnregister: f,
|
|
1105
|
-
render: ({ field: { ref: o, onChange:
|
|
1108
|
+
render: ({ field: { ref: o, onChange: v, onBlur: R, value: g } }) => /* @__PURE__ */ h.jsx(
|
|
1106
1109
|
kr,
|
|
1107
1110
|
{
|
|
1108
1111
|
ref: o,
|
|
1109
1112
|
selectedOption: qr.mapSelectedOptionWithOptions(d.options, g),
|
|
1110
|
-
onBlur: c.bind(null,
|
|
1111
|
-
onChange:
|
|
1113
|
+
onBlur: c.bind(null, R),
|
|
1114
|
+
onChange: p.bind(null, v),
|
|
1112
1115
|
...d
|
|
1113
1116
|
}
|
|
1114
1117
|
)
|
|
@@ -1116,31 +1119,31 @@ const zr = ({
|
|
|
1116
1119
|
);
|
|
1117
1120
|
}, ot = ({
|
|
1118
1121
|
name: i,
|
|
1119
|
-
control:
|
|
1122
|
+
control: s,
|
|
1120
1123
|
defaultValue: a,
|
|
1121
|
-
rules:
|
|
1124
|
+
rules: u,
|
|
1122
1125
|
shouldUnregister: f = !1,
|
|
1123
|
-
onChange:
|
|
1126
|
+
onChange: r,
|
|
1124
1127
|
...n
|
|
1125
1128
|
}) => {
|
|
1126
|
-
const d =
|
|
1129
|
+
const d = _(
|
|
1127
1130
|
(c) => {
|
|
1128
|
-
|
|
1131
|
+
r == null || r(c);
|
|
1129
1132
|
},
|
|
1130
|
-
[
|
|
1133
|
+
[r]
|
|
1131
1134
|
);
|
|
1132
1135
|
return /* @__PURE__ */ h.jsx(
|
|
1133
|
-
|
|
1136
|
+
O,
|
|
1134
1137
|
{
|
|
1135
1138
|
name: i,
|
|
1136
|
-
control:
|
|
1139
|
+
control: s,
|
|
1137
1140
|
defaultValue: a,
|
|
1138
|
-
rules:
|
|
1141
|
+
rules: u,
|
|
1139
1142
|
shouldUnregister: f,
|
|
1140
|
-
render: ({ field: { onChange: c, value:
|
|
1143
|
+
render: ({ field: { onChange: c, value: p } }) => /* @__PURE__ */ h.jsx(
|
|
1141
1144
|
Cr,
|
|
1142
1145
|
{
|
|
1143
|
-
value:
|
|
1146
|
+
value: p,
|
|
1144
1147
|
onChange: (o) => {
|
|
1145
1148
|
c(o.detail.value), d(o);
|
|
1146
1149
|
},
|
|
@@ -1151,147 +1154,147 @@ const zr = ({
|
|
|
1151
1154
|
);
|
|
1152
1155
|
}, ft = ({
|
|
1153
1156
|
name: i,
|
|
1154
|
-
control:
|
|
1157
|
+
control: s,
|
|
1155
1158
|
onChange: a,
|
|
1156
|
-
...
|
|
1159
|
+
...u
|
|
1157
1160
|
}) => {
|
|
1158
|
-
const f =
|
|
1159
|
-
(
|
|
1160
|
-
|
|
1161
|
+
const f = _(
|
|
1162
|
+
(r, n) => {
|
|
1163
|
+
r([...n.detail.tags]), a == null || a(n);
|
|
1161
1164
|
},
|
|
1162
1165
|
[a]
|
|
1163
1166
|
);
|
|
1164
1167
|
return /* @__PURE__ */ h.jsx(
|
|
1165
|
-
|
|
1168
|
+
O,
|
|
1166
1169
|
{
|
|
1167
1170
|
name: i,
|
|
1168
|
-
control:
|
|
1169
|
-
render: ({ field: { ref:
|
|
1171
|
+
control: s,
|
|
1172
|
+
render: ({ field: { ref: r, onChange: n, value: d } }) => /* @__PURE__ */ h.jsx(
|
|
1170
1173
|
Fr,
|
|
1171
1174
|
{
|
|
1172
|
-
ref:
|
|
1175
|
+
ref: r,
|
|
1173
1176
|
tags: d || [],
|
|
1174
1177
|
onChange: f.bind(null, n),
|
|
1175
|
-
...
|
|
1178
|
+
...u
|
|
1176
1179
|
}
|
|
1177
1180
|
)
|
|
1178
1181
|
}
|
|
1179
1182
|
);
|
|
1180
1183
|
}, ct = ({
|
|
1181
1184
|
name: i,
|
|
1182
|
-
control:
|
|
1185
|
+
control: s,
|
|
1183
1186
|
onChange: a,
|
|
1184
|
-
...
|
|
1187
|
+
...u
|
|
1185
1188
|
}) => {
|
|
1186
|
-
const f =
|
|
1187
|
-
(
|
|
1188
|
-
|
|
1189
|
+
const f = _(
|
|
1190
|
+
(r, n) => {
|
|
1191
|
+
r(n.detail.filteringText), a == null || a(n);
|
|
1189
1192
|
},
|
|
1190
1193
|
[a]
|
|
1191
1194
|
);
|
|
1192
1195
|
return /* @__PURE__ */ h.jsx(
|
|
1193
|
-
|
|
1196
|
+
O,
|
|
1194
1197
|
{
|
|
1195
1198
|
name: i,
|
|
1196
|
-
control:
|
|
1197
|
-
render: ({ field: { ref:
|
|
1199
|
+
control: s,
|
|
1200
|
+
render: ({ field: { ref: r, onChange: n, value: d } }) => /* @__PURE__ */ h.jsx(
|
|
1198
1201
|
Dr,
|
|
1199
1202
|
{
|
|
1200
|
-
ref:
|
|
1203
|
+
ref: r,
|
|
1201
1204
|
filteringText: d,
|
|
1202
1205
|
onChange: f.bind(null, n),
|
|
1203
|
-
...
|
|
1206
|
+
...u
|
|
1204
1207
|
}
|
|
1205
1208
|
)
|
|
1206
1209
|
}
|
|
1207
1210
|
);
|
|
1208
1211
|
}, dt = ({
|
|
1209
1212
|
name: i,
|
|
1210
|
-
control:
|
|
1213
|
+
control: s,
|
|
1211
1214
|
defaultValue: a,
|
|
1212
|
-
rules:
|
|
1215
|
+
rules: u,
|
|
1213
1216
|
shouldUnregister: f = !1,
|
|
1214
|
-
onBlur:
|
|
1217
|
+
onBlur: r,
|
|
1215
1218
|
onChange: n,
|
|
1216
1219
|
...d
|
|
1217
1220
|
}) => {
|
|
1218
|
-
const c =
|
|
1219
|
-
(o,
|
|
1220
|
-
o(),
|
|
1221
|
+
const c = _(
|
|
1222
|
+
(o, v) => {
|
|
1223
|
+
o(), r == null || r(v);
|
|
1221
1224
|
},
|
|
1222
|
-
[
|
|
1223
|
-
),
|
|
1224
|
-
(o,
|
|
1225
|
-
o(
|
|
1225
|
+
[r]
|
|
1226
|
+
), p = _(
|
|
1227
|
+
(o, v) => {
|
|
1228
|
+
o(v.detail.value), n == null || n(v);
|
|
1226
1229
|
},
|
|
1227
1230
|
[n]
|
|
1228
1231
|
);
|
|
1229
1232
|
return /* @__PURE__ */ h.jsx(
|
|
1230
|
-
|
|
1233
|
+
O,
|
|
1231
1234
|
{
|
|
1232
1235
|
name: i,
|
|
1233
|
-
control:
|
|
1236
|
+
control: s,
|
|
1234
1237
|
defaultValue: a,
|
|
1235
|
-
rules:
|
|
1238
|
+
rules: u,
|
|
1236
1239
|
shouldUnregister: f,
|
|
1237
|
-
render: ({ field: { onChange: o, onBlur:
|
|
1240
|
+
render: ({ field: { onChange: o, onBlur: v, value: R, ref: g } }) => /* @__PURE__ */ h.jsx(
|
|
1238
1241
|
Ar,
|
|
1239
1242
|
{
|
|
1240
1243
|
ref: g,
|
|
1241
1244
|
name: i,
|
|
1242
|
-
value:
|
|
1243
|
-
onBlur: c.bind(null,
|
|
1244
|
-
onChange:
|
|
1245
|
+
value: R,
|
|
1246
|
+
onBlur: c.bind(null, v),
|
|
1247
|
+
onChange: p.bind(null, o),
|
|
1245
1248
|
...d
|
|
1246
1249
|
}
|
|
1247
1250
|
)
|
|
1248
1251
|
}
|
|
1249
1252
|
);
|
|
1250
|
-
}, vt = ({ name: i, control:
|
|
1251
|
-
const f =
|
|
1252
|
-
(
|
|
1253
|
-
|
|
1253
|
+
}, vt = ({ name: i, control: s, onChange: a, ...u }) => {
|
|
1254
|
+
const f = _(
|
|
1255
|
+
(r, n) => {
|
|
1256
|
+
r(n.detail.value), a == null || a(n);
|
|
1254
1257
|
},
|
|
1255
1258
|
[a]
|
|
1256
1259
|
);
|
|
1257
1260
|
return /* @__PURE__ */ h.jsx(
|
|
1258
|
-
|
|
1261
|
+
O,
|
|
1259
1262
|
{
|
|
1260
1263
|
name: i,
|
|
1261
|
-
control:
|
|
1262
|
-
render: ({ field: { onChange:
|
|
1264
|
+
control: s,
|
|
1265
|
+
render: ({ field: { onChange: r, value: n } }) => /* @__PURE__ */ h.jsx(Ir, { onChange: f.bind(null, r), value: n, items: u.items, ...u })
|
|
1263
1266
|
}
|
|
1264
1267
|
);
|
|
1265
1268
|
}, pt = ({
|
|
1266
1269
|
name: i,
|
|
1267
|
-
control:
|
|
1270
|
+
control: s,
|
|
1268
1271
|
onBlur: a,
|
|
1269
|
-
onChange:
|
|
1272
|
+
onChange: u,
|
|
1270
1273
|
...f
|
|
1271
1274
|
}) => {
|
|
1272
|
-
const
|
|
1275
|
+
const r = _(
|
|
1273
1276
|
(d, c) => {
|
|
1274
1277
|
d(), a == null || a(c);
|
|
1275
1278
|
},
|
|
1276
1279
|
[a]
|
|
1277
|
-
), n =
|
|
1280
|
+
), n = _(
|
|
1278
1281
|
(d, c) => {
|
|
1279
|
-
d(c.detail.value),
|
|
1282
|
+
d(c.detail.value), u == null || u(c);
|
|
1280
1283
|
},
|
|
1281
|
-
[
|
|
1284
|
+
[u]
|
|
1282
1285
|
);
|
|
1283
1286
|
return /* @__PURE__ */ h.jsx(
|
|
1284
|
-
|
|
1287
|
+
O,
|
|
1285
1288
|
{
|
|
1286
1289
|
name: i,
|
|
1287
|
-
control:
|
|
1288
|
-
render: ({ field: { ref: d, onChange: c, onBlur:
|
|
1290
|
+
control: s,
|
|
1291
|
+
render: ({ field: { ref: d, onChange: c, onBlur: p, value: o } }) => /* @__PURE__ */ h.jsx(
|
|
1289
1292
|
$r,
|
|
1290
1293
|
{
|
|
1291
1294
|
name: i,
|
|
1292
1295
|
ref: d,
|
|
1293
1296
|
value: o,
|
|
1294
|
-
onBlur:
|
|
1297
|
+
onBlur: r.bind(null, p),
|
|
1295
1298
|
onChange: n.bind(null, c),
|
|
1296
1299
|
...f
|
|
1297
1300
|
}
|
|
@@ -1300,22 +1303,22 @@ const zr = ({
|
|
|
1300
1303
|
);
|
|
1301
1304
|
}, bt = ({
|
|
1302
1305
|
name: i,
|
|
1303
|
-
control:
|
|
1306
|
+
control: s,
|
|
1304
1307
|
onChange: a,
|
|
1305
|
-
...
|
|
1308
|
+
...u
|
|
1306
1309
|
}) => {
|
|
1307
|
-
const f =
|
|
1308
|
-
(
|
|
1309
|
-
|
|
1310
|
+
const f = _(
|
|
1311
|
+
(r, n) => {
|
|
1312
|
+
r(n.detail.checked), a == null || a(n);
|
|
1310
1313
|
},
|
|
1311
1314
|
[a]
|
|
1312
1315
|
);
|
|
1313
1316
|
return /* @__PURE__ */ h.jsx(
|
|
1314
|
-
|
|
1317
|
+
O,
|
|
1315
1318
|
{
|
|
1316
1319
|
name: i,
|
|
1317
|
-
control:
|
|
1318
|
-
render: ({ field: { ref:
|
|
1320
|
+
control: s,
|
|
1321
|
+
render: ({ field: { ref: r, onChange: n, value: d = !1 } }) => /* @__PURE__ */ h.jsx(Wr, { ref: r, name: i, checked: d, onChange: f.bind(null, n), ...u })
|
|
1319
1322
|
}
|
|
1320
1323
|
);
|
|
1321
1324
|
};
|
|
@@ -1332,8 +1335,8 @@ export {
|
|
|
1332
1335
|
at as CMultiselect,
|
|
1333
1336
|
it as CPropertyFilter,
|
|
1334
1337
|
lt as CRadioGroup,
|
|
1335
|
-
|
|
1336
|
-
|
|
1338
|
+
ut as CS3ResourceSelector,
|
|
1339
|
+
st as CSelect,
|
|
1337
1340
|
ot as CSlider,
|
|
1338
1341
|
ft as CTagEditor,
|
|
1339
1342
|
ct as CTextFilter,
|