react-hook-form-cloudscape 1.6.0 → 1.7.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/components/checkbox/checkbox.d.ts +5 -2
- package/components/checkbox/checkbox.js +2 -2
- package/components/checkbox/checkbox.js.map +1 -1
- package/components/code-editor/code-editor.d.ts +5 -2
- package/components/code-editor/code-editor.js +2 -2
- package/components/code-editor/code-editor.js.map +1 -1
- package/components/components/checkbox/checkbox.d.ts +5 -2
- package/components/components/code-editor/code-editor.d.ts +5 -2
- package/components/components/date-range-picker/date-range-picker.d.ts +5 -2
- package/components/components/property-filter/property-filter.d.ts +1 -1
- package/components/components/radio-group/radio-group.d.ts +5 -2
- package/components/components/tag-editor/tag-editor.d.ts +5 -2
- package/components/components/text-filter/text-filter.d.ts +5 -2
- package/components/components/tiles/tiles.d.ts +5 -2
- package/components/components/time-input/time-input.d.ts +5 -2
- package/components/components/toggle/toggle.d.ts +5 -2
- package/components/date-range-picker/date-range-picker.d.ts +5 -2
- package/components/date-range-picker/date-range-picker.js +3 -3
- package/components/date-range-picker/date-range-picker.js.map +1 -1
- package/components/property-filter/property-filter.d.ts +1 -1
- package/components/property-filter/property-filter.js +2 -2
- package/components/property-filter/property-filter.js.map +1 -1
- package/components/radio-group/radio-group.d.ts +5 -2
- package/components/radio-group/radio-group.js +2 -2
- package/components/radio-group/radio-group.js.map +1 -1
- package/components/tag-editor/tag-editor.d.ts +5 -2
- package/components/tag-editor/tag-editor.js +2 -2
- package/components/tag-editor/tag-editor.js.map +1 -1
- package/components/text-filter/text-filter.d.ts +5 -2
- package/components/text-filter/text-filter.js +2 -2
- package/components/text-filter/text-filter.js.map +1 -1
- package/components/tiles/tiles.d.ts +5 -2
- package/components/tiles/tiles.js +2 -2
- package/components/tiles/tiles.js.map +1 -1
- package/components/time-input/time-input.d.ts +5 -2
- package/components/time-input/time-input.js +2 -2
- package/components/time-input/time-input.js.map +1 -1
- package/components/toggle/toggle.d.ts +5 -2
- package/components/toggle/toggle.js +2 -2
- package/components/toggle/toggle.js.map +1 -1
- package/package.json +4 -4
- package/react-hook-form-cloudscape.es.js +689 -623
- 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 x } 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 S } from "react-hook-form";
|
|
4
4
|
var G = { exports: {} }, U = {};
|
|
5
5
|
/**
|
|
6
6
|
* @license React
|
|
@@ -15,15 +15,15 @@ var we;
|
|
|
15
15
|
function Lr() {
|
|
16
16
|
if (we) return U;
|
|
17
17
|
we = 1;
|
|
18
|
-
var
|
|
19
|
-
function
|
|
20
|
-
var
|
|
21
|
-
|
|
22
|
-
for (
|
|
23
|
-
if (
|
|
24
|
-
return { $$typeof:
|
|
18
|
+
var u = Fe, f = Symbol.for("react.element"), s = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, d = u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, t = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
19
|
+
function l(p, n, a) {
|
|
20
|
+
var i, v = {}, m = null, _ = null;
|
|
21
|
+
a !== void 0 && (m = "" + a), n.key !== void 0 && (m = "" + n.key), n.ref !== void 0 && (_ = n.ref);
|
|
22
|
+
for (i in n) c.call(n, i) && !t.hasOwnProperty(i) && (v[i] = n[i]);
|
|
23
|
+
if (p && p.defaultProps) for (i in n = p.defaultProps, n) v[i] === void 0 && (v[i] = n[i]);
|
|
24
|
+
return { $$typeof: f, type: p, key: m, ref: _, props: v, _owner: d.current };
|
|
25
25
|
}
|
|
26
|
-
return U.Fragment =
|
|
26
|
+
return U.Fragment = s, U.jsx = l, U.jsxs = l, U;
|
|
27
27
|
}
|
|
28
28
|
var L = {};
|
|
29
29
|
/**
|
|
@@ -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
|
|
41
|
+
var u = Fe, f = Symbol.for("react.element"), s = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), t = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), p = Symbol.for("react.context"), n = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), _ = Symbol.for("react.offscreen"), T = 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 r = T && e[T] || e[K];
|
|
46
|
+
return typeof r == "function" ? r : null;
|
|
47
47
|
}
|
|
48
|
-
var I =
|
|
48
|
+
var I = u.__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 r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), b = 1; b < r; b++)
|
|
52
|
+
o[b - 1] = arguments[b];
|
|
53
|
+
Ie("error", e, o);
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
function Ie(e,
|
|
56
|
+
function Ie(e, r, o) {
|
|
57
57
|
{
|
|
58
|
-
var b = I.ReactDebugCurrentFrame,
|
|
59
|
-
|
|
60
|
-
var
|
|
58
|
+
var b = I.ReactDebugCurrentFrame, R = b.getStackAddendum();
|
|
59
|
+
R !== "" && (r += "%s", o = o.concat([R]));
|
|
60
|
+
var g = o.map(function(y) {
|
|
61
61
|
return String(y);
|
|
62
62
|
});
|
|
63
|
-
|
|
63
|
+
g.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, g);
|
|
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 === c || e === t || Ue || e === d || e === a || e === i || Me || e === _ || $e || We || Ye || typeof e == "object" && e !== null && (e.$$typeof === m || e.$$typeof === v || e.$$typeof === l || e.$$typeof === p || e.$$typeof === n || // 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,
|
|
75
|
+
function Ve(e, r, o) {
|
|
76
76
|
var b = e.displayName;
|
|
77
77
|
if (b)
|
|
78
78
|
return b;
|
|
79
|
-
var
|
|
80
|
-
return
|
|
79
|
+
var R = r.displayName || r.name || "";
|
|
80
|
+
return R !== "" ? o + "(" + R + ")" : o;
|
|
81
81
|
}
|
|
82
82
|
function ie(e) {
|
|
83
83
|
return e.displayName || "Context";
|
|
@@ -90,36 +90,36 @@ function Vr() {
|
|
|
90
90
|
if (typeof e == "string")
|
|
91
91
|
return e;
|
|
92
92
|
switch (e) {
|
|
93
|
-
case
|
|
93
|
+
case c:
|
|
94
94
|
return "Fragment";
|
|
95
|
-
case
|
|
95
|
+
case s:
|
|
96
96
|
return "Portal";
|
|
97
|
-
case
|
|
97
|
+
case t:
|
|
98
98
|
return "Profiler";
|
|
99
|
-
case
|
|
99
|
+
case d:
|
|
100
100
|
return "StrictMode";
|
|
101
|
-
case
|
|
101
|
+
case a:
|
|
102
102
|
return "Suspense";
|
|
103
|
-
case
|
|
103
|
+
case i:
|
|
104
104
|
return "SuspenseList";
|
|
105
105
|
}
|
|
106
106
|
if (typeof e == "object")
|
|
107
107
|
switch (e.$$typeof) {
|
|
108
|
-
case
|
|
109
|
-
var
|
|
110
|
-
return ie(
|
|
108
|
+
case p:
|
|
109
|
+
var r = e;
|
|
110
|
+
return ie(r) + ".Consumer";
|
|
111
|
+
case l:
|
|
112
|
+
var o = e;
|
|
113
|
+
return ie(o._context) + ".Provider";
|
|
111
114
|
case n:
|
|
112
|
-
var l = e;
|
|
113
|
-
return ie(l._context) + ".Provider";
|
|
114
|
-
case c:
|
|
115
115
|
return Ve(e, e.render, "ForwardRef");
|
|
116
116
|
case v:
|
|
117
117
|
var b = e.displayName || null;
|
|
118
118
|
return b !== null ? b : F(e.type) || "Memo";
|
|
119
|
-
case
|
|
120
|
-
var
|
|
119
|
+
case m: {
|
|
120
|
+
var R = e, g = R._payload, y = R._init;
|
|
121
121
|
try {
|
|
122
|
-
return F(y(
|
|
122
|
+
return F(y(g));
|
|
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, se, ue, 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, se = console.info, ue = 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: se
|
|
171
171
|
}),
|
|
172
172
|
warn: D({}, e, {
|
|
173
|
-
value:
|
|
173
|
+
value: ue
|
|
174
174
|
}),
|
|
175
175
|
error: D({}, e, {
|
|
176
176
|
value: oe
|
|
@@ -190,13 +190,13 @@ function Vr() {
|
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
192
|
var z = I.ReactCurrentDispatcher, X;
|
|
193
|
-
function V(e,
|
|
193
|
+
function V(e, r, o) {
|
|
194
194
|
{
|
|
195
195
|
if (X === void 0)
|
|
196
196
|
try {
|
|
197
197
|
throw Error();
|
|
198
|
-
} catch (
|
|
199
|
-
var b =
|
|
198
|
+
} catch (R) {
|
|
199
|
+
var b = R.stack.trim().match(/\n( *(at )?)/);
|
|
200
200
|
X = b && b[1] || "";
|
|
201
201
|
}
|
|
202
202
|
return `
|
|
@@ -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, r) {
|
|
212
212
|
if (!e || H)
|
|
213
213
|
return "";
|
|
214
214
|
{
|
|
215
|
-
var
|
|
216
|
-
if (
|
|
217
|
-
return
|
|
215
|
+
var o = N.get(e);
|
|
216
|
+
if (o !== void 0)
|
|
217
|
+
return o;
|
|
218
218
|
}
|
|
219
219
|
var b;
|
|
220
220
|
H = !0;
|
|
221
|
-
var
|
|
221
|
+
var R = Error.prepareStackTrace;
|
|
222
222
|
Error.prepareStackTrace = void 0;
|
|
223
|
-
var
|
|
224
|
-
|
|
223
|
+
var g;
|
|
224
|
+
g = z.current, z.current = null, Ne();
|
|
225
225
|
try {
|
|
226
|
-
if (
|
|
226
|
+
if (r) {
|
|
227
227
|
var y = function() {
|
|
228
228
|
throw Error();
|
|
229
229
|
};
|
|
@@ -258,35 +258,35 @@ function Vr() {
|
|
|
258
258
|
if (k && b && typeof k.stack == "string") {
|
|
259
259
|
for (var E = k.stack.split(`
|
|
260
260
|
`), w = b.stack.split(`
|
|
261
|
-
`), j = E.length - 1,
|
|
262
|
-
|
|
263
|
-
for (; j >= 1 &&
|
|
264
|
-
if (E[j] !== w[
|
|
265
|
-
if (j !== 1 ||
|
|
261
|
+
`), j = E.length - 1, O = w.length - 1; j >= 1 && O >= 0 && E[j] !== w[O]; )
|
|
262
|
+
O--;
|
|
263
|
+
for (; j >= 1 && O >= 0; j--, O--)
|
|
264
|
+
if (E[j] !== w[O]) {
|
|
265
|
+
if (j !== 1 || O !== 1)
|
|
266
266
|
do
|
|
267
|
-
if (j--,
|
|
267
|
+
if (j--, O--, O < 0 || E[j] !== w[O]) {
|
|
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 && O >= 0);
|
|
273
273
|
break;
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
} finally {
|
|
277
|
-
H = !1, z.current =
|
|
277
|
+
H = !1, z.current = g, qe(), Error.prepareStackTrace = R;
|
|
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, r, o) {
|
|
283
283
|
return pe(e, !1);
|
|
284
284
|
}
|
|
285
285
|
function Ke(e) {
|
|
286
|
-
var
|
|
287
|
-
return !!(
|
|
286
|
+
var r = e.prototype;
|
|
287
|
+
return !!(r && r.isReactComponent);
|
|
288
288
|
}
|
|
289
|
-
function q(e,
|
|
289
|
+
function q(e, r, o) {
|
|
290
290
|
if (e == null)
|
|
291
291
|
return "";
|
|
292
292
|
if (typeof e == "function")
|
|
@@ -294,21 +294,21 @@ function Vr() {
|
|
|
294
294
|
if (typeof e == "string")
|
|
295
295
|
return V(e);
|
|
296
296
|
switch (e) {
|
|
297
|
-
case
|
|
297
|
+
case a:
|
|
298
298
|
return V("Suspense");
|
|
299
|
-
case
|
|
299
|
+
case i:
|
|
300
300
|
return V("SuspenseList");
|
|
301
301
|
}
|
|
302
302
|
if (typeof e == "object")
|
|
303
303
|
switch (e.$$typeof) {
|
|
304
|
-
case
|
|
304
|
+
case n:
|
|
305
305
|
return Ge(e.render);
|
|
306
306
|
case v:
|
|
307
|
-
return q(e.type,
|
|
308
|
-
case
|
|
309
|
-
var b = e,
|
|
307
|
+
return q(e.type, r, o);
|
|
308
|
+
case m: {
|
|
309
|
+
var b = e, R = b._payload, g = b._init;
|
|
310
310
|
try {
|
|
311
|
-
return q(
|
|
311
|
+
return q(g(R), r, o);
|
|
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 r = e._owner, o = q(e.type, e._source, r ? r.type : null);
|
|
322
|
+
he.setExtraStackFrame(o);
|
|
323
323
|
} else
|
|
324
324
|
he.setExtraStackFrame(null);
|
|
325
325
|
}
|
|
326
|
-
function ze(e,
|
|
326
|
+
function ze(e, r, o, b, R) {
|
|
327
327
|
{
|
|
328
|
-
var
|
|
328
|
+
var g = Function.call.bind(M);
|
|
329
329
|
for (var y in e)
|
|
330
|
-
if (
|
|
330
|
+
if (g(e, y)) {
|
|
331
331
|
var E = void 0;
|
|
332
332
|
try {
|
|
333
333
|
if (typeof e[y] != "function") {
|
|
334
|
-
var w = Error((b || "React class") + ": " +
|
|
334
|
+
var w = Error((b || "React class") + ": " + o + " 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](r, y, b, o, 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(
|
|
341
|
+
E && !(E instanceof Error) && (J(R), 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", o, y, typeof E), J(null)), E instanceof Error && !(E.message in be) && (be[E.message] = !0, J(R), P("Failed %s type: %s", o, 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 r = typeof Symbol == "function" && Symbol.toStringTag, o = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
352
|
+
return o;
|
|
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 r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
378
|
+
if (r && r.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 r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
386
|
+
if (r && r.isReactWarning)
|
|
387
387
|
return !1;
|
|
388
388
|
}
|
|
389
389
|
return e.key !== void 0;
|
|
390
390
|
}
|
|
391
|
-
function rr(e,
|
|
391
|
+
function rr(e, r) {
|
|
392
392
|
typeof e.ref == "string" && me.current;
|
|
393
393
|
}
|
|
394
|
-
function tr(e,
|
|
394
|
+
function tr(e, r) {
|
|
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 o = 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)", r));
|
|
398
398
|
};
|
|
399
|
-
|
|
400
|
-
get:
|
|
399
|
+
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
400
|
+
get: o,
|
|
401
401
|
configurable: !0
|
|
402
402
|
});
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
|
-
function nr(e,
|
|
405
|
+
function nr(e, r) {
|
|
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 o = 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)", r));
|
|
409
409
|
};
|
|
410
|
-
|
|
411
|
-
get:
|
|
410
|
+
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
411
|
+
get: o,
|
|
412
412
|
configurable: !0
|
|
413
413
|
});
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
|
-
var ar = function(e,
|
|
416
|
+
var ar = function(e, r, o, b, R, g, y) {
|
|
417
417
|
var E = {
|
|
418
418
|
// This tag allows us to uniquely identify this as a React Element
|
|
419
|
-
$$typeof:
|
|
419
|
+
$$typeof: f,
|
|
420
420
|
// Built-in properties that belong on the element
|
|
421
421
|
type: e,
|
|
422
|
-
key:
|
|
423
|
-
ref:
|
|
422
|
+
key: r,
|
|
423
|
+
ref: o,
|
|
424
424
|
props: y,
|
|
425
425
|
// Record the component responsible for creating this element.
|
|
426
|
-
_owner:
|
|
426
|
+
_owner: g
|
|
427
427
|
};
|
|
428
428
|
return E._store = {}, Object.defineProperty(E._store, "validated", {
|
|
429
429
|
configurable: !1,
|
|
@@ -439,39 +439,39 @@ function Vr() {
|
|
|
439
439
|
configurable: !1,
|
|
440
440
|
enumerable: !1,
|
|
441
441
|
writable: !1,
|
|
442
|
-
value:
|
|
442
|
+
value: R
|
|
443
443
|
}), Object.freeze && (Object.freeze(E.props), Object.freeze(E)), E;
|
|
444
444
|
};
|
|
445
|
-
function ir(e,
|
|
445
|
+
function ir(e, r, o, b, R) {
|
|
446
446
|
{
|
|
447
|
-
var
|
|
448
|
-
|
|
449
|
-
for (
|
|
450
|
-
M.call(
|
|
447
|
+
var g, y = {}, E = null, w = null;
|
|
448
|
+
o !== void 0 && (ye(o), E = "" + o), er(r) && (ye(r.key), E = "" + r.key), Be(r) && (w = r.ref, rr(r, R));
|
|
449
|
+
for (g in r)
|
|
450
|
+
M.call(r, g) && !Qe.hasOwnProperty(g) && (y[g] = r[g]);
|
|
451
451
|
if (e && e.defaultProps) {
|
|
452
452
|
var j = e.defaultProps;
|
|
453
|
-
for (
|
|
454
|
-
y[
|
|
453
|
+
for (g in j)
|
|
454
|
+
y[g] === void 0 && (y[g] = j[g]);
|
|
455
455
|
}
|
|
456
456
|
if (E || w) {
|
|
457
|
-
var
|
|
458
|
-
E && tr(y,
|
|
457
|
+
var O = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
458
|
+
E && tr(y, O), w && nr(y, O);
|
|
459
459
|
}
|
|
460
|
-
return ar(e, E, w,
|
|
460
|
+
return ar(e, E, w, R, 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 r = e._owner, o = q(e.type, e._source, r ? r.type : null);
|
|
467
|
+
xe.setExtraStackFrame(o);
|
|
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 === f;
|
|
475
475
|
}
|
|
476
476
|
function ge() {
|
|
477
477
|
{
|
|
@@ -489,79 +489,79 @@ Check the render method of \`` + e + "`.";
|
|
|
489
489
|
return "";
|
|
490
490
|
}
|
|
491
491
|
var je = {};
|
|
492
|
-
function
|
|
492
|
+
function sr(e) {
|
|
493
493
|
{
|
|
494
|
-
var
|
|
495
|
-
if (!
|
|
496
|
-
var
|
|
497
|
-
|
|
494
|
+
var r = ge();
|
|
495
|
+
if (!r) {
|
|
496
|
+
var o = typeof e == "string" ? e : e.displayName || e.name;
|
|
497
|
+
o && (r = `
|
|
498
498
|
|
|
499
|
-
Check the top-level render call using <` +
|
|
499
|
+
Check the top-level render call using <` + o + ">.");
|
|
500
500
|
}
|
|
501
|
-
return
|
|
501
|
+
return r;
|
|
502
502
|
}
|
|
503
503
|
}
|
|
504
|
-
function Te(e,
|
|
504
|
+
function Te(e, r) {
|
|
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 o = sr(r);
|
|
510
|
+
if (je[o])
|
|
511
511
|
return;
|
|
512
|
-
je[
|
|
512
|
+
je[o] = !0;
|
|
513
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.',
|
|
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.', o, b), $(null);
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
|
-
function Oe(e,
|
|
517
|
+
function Oe(e, r) {
|
|
518
518
|
{
|
|
519
519
|
if (typeof e != "object")
|
|
520
520
|
return;
|
|
521
521
|
if (Z(e))
|
|
522
|
-
for (var
|
|
523
|
-
var b = e[
|
|
524
|
-
ee(b) && Te(b,
|
|
522
|
+
for (var o = 0; o < e.length; o++) {
|
|
523
|
+
var b = e[o];
|
|
524
|
+
ee(b) && Te(b, r);
|
|
525
525
|
}
|
|
526
526
|
else if (ee(e))
|
|
527
527
|
e._store && (e._store.validated = !0);
|
|
528
528
|
else if (e) {
|
|
529
|
-
var
|
|
530
|
-
if (typeof
|
|
531
|
-
for (var
|
|
532
|
-
ee(y.value) && Te(y.value,
|
|
529
|
+
var R = Ae(e);
|
|
530
|
+
if (typeof R == "function" && R !== e.entries)
|
|
531
|
+
for (var g = R.call(e), y; !(y = g.next()).done; )
|
|
532
|
+
ee(y.value) && Te(y.value, r);
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
|
-
function
|
|
536
|
+
function ur(e) {
|
|
537
537
|
{
|
|
538
|
-
var
|
|
539
|
-
if (
|
|
538
|
+
var r = e.type;
|
|
539
|
+
if (r == null || typeof r == "string")
|
|
540
540
|
return;
|
|
541
|
-
var
|
|
542
|
-
if (typeof
|
|
543
|
-
|
|
544
|
-
else if (typeof
|
|
541
|
+
var o;
|
|
542
|
+
if (typeof r == "function")
|
|
543
|
+
o = r.propTypes;
|
|
544
|
+
else if (typeof r == "object" && (r.$$typeof === n || // Note: Memo only checks outer props here.
|
|
545
545
|
// Inner props are checked in the reconciler.
|
|
546
|
-
|
|
547
|
-
|
|
546
|
+
r.$$typeof === v))
|
|
547
|
+
o = r.propTypes;
|
|
548
548
|
else
|
|
549
549
|
return;
|
|
550
|
-
if (
|
|
551
|
-
var b = F(
|
|
552
|
-
ze(
|
|
553
|
-
} else if (
|
|
550
|
+
if (o) {
|
|
551
|
+
var b = F(r);
|
|
552
|
+
ze(o, e.props, "prop", b, e);
|
|
553
|
+
} else if (r.PropTypes !== void 0 && !B) {
|
|
554
554
|
B = !0;
|
|
555
|
-
var
|
|
556
|
-
P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
555
|
+
var R = F(r);
|
|
556
|
+
P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", R || "Unknown");
|
|
557
557
|
}
|
|
558
|
-
typeof
|
|
558
|
+
typeof r.getDefaultProps == "function" && !r.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 b =
|
|
563
|
+
for (var r = Object.keys(e.props), o = 0; o < r.length; o++) {
|
|
564
|
+
var b = r[o];
|
|
565
565
|
if (b !== "children" && b !== "key") {
|
|
566
566
|
$(e), P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", b), $(null);
|
|
567
567
|
break;
|
|
@@ -571,7 +571,7 @@ Check the top-level render call using <` + l + ">.");
|
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
573
|
var Se = {};
|
|
574
|
-
function Pe(e,
|
|
574
|
+
function Pe(e, r, o, b, R, g) {
|
|
575
575
|
{
|
|
576
576
|
var y = Le(e);
|
|
577
577
|
if (!y) {
|
|
@@ -580,13 +580,13 @@ Check the top-level render call using <` + l + ">.");
|
|
|
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 === f ? (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 O = ir(e, r, o, R, g);
|
|
586
|
+
if (O == null)
|
|
587
|
+
return O;
|
|
588
588
|
if (y) {
|
|
589
|
-
var C =
|
|
589
|
+
var C = r.children;
|
|
590
590
|
if (C !== void 0)
|
|
591
591
|
if (b)
|
|
592
592
|
if (Z(C)) {
|
|
@@ -598,8 +598,8 @@ Check the top-level render call using <` + l + ">.");
|
|
|
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(r, "key")) {
|
|
602
|
+
var A = F(e), k = Object.keys(r).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 === c ? or(O) : ur(O), O;
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
|
-
function fr(e,
|
|
619
|
-
return Pe(e,
|
|
618
|
+
function fr(e, r, o) {
|
|
619
|
+
return Pe(e, r, o, !0);
|
|
620
620
|
}
|
|
621
|
-
function cr(e,
|
|
622
|
-
return Pe(e,
|
|
621
|
+
function cr(e, r, o) {
|
|
622
|
+
return Pe(e, r, o, !1);
|
|
623
623
|
}
|
|
624
624
|
var dr = cr, vr = fr;
|
|
625
|
-
L.Fragment =
|
|
625
|
+
L.Fragment = c, L.jsx = dr, L.jsxs = vr;
|
|
626
626
|
}()), L;
|
|
627
627
|
}
|
|
628
628
|
var Ce;
|
|
@@ -631,694 +631,760 @@ function Nr() {
|
|
|
631
631
|
}
|
|
632
632
|
var h = Nr();
|
|
633
633
|
const zr = ({
|
|
634
|
-
name:
|
|
635
|
-
control:
|
|
636
|
-
definition:
|
|
637
|
-
defaultValue:
|
|
638
|
-
handleState:
|
|
639
|
-
onAddButtonClick:
|
|
640
|
-
onRemoveButtonClick:
|
|
641
|
-
...
|
|
634
|
+
name: u,
|
|
635
|
+
control: f,
|
|
636
|
+
definition: s,
|
|
637
|
+
defaultValue: c,
|
|
638
|
+
handleState: d = !0,
|
|
639
|
+
onAddButtonClick: t,
|
|
640
|
+
onRemoveButtonClick: l,
|
|
641
|
+
...p
|
|
642
642
|
}) => {
|
|
643
|
-
const { errors:
|
|
644
|
-
name:
|
|
645
|
-
control:
|
|
646
|
-
}),
|
|
647
|
-
() =>
|
|
648
|
-
errorText: (
|
|
649
|
-
...
|
|
643
|
+
const { errors: n } = Yr({ control: f }), { fields: a, append: i, remove: v } = Mr({
|
|
644
|
+
name: u,
|
|
645
|
+
control: f
|
|
646
|
+
}), m = hr(
|
|
647
|
+
() => s.map((_) => ({
|
|
648
|
+
errorText: (T, K) => _.label && Ur(n, `${u}.${K}.${_.label.toString().toLowerCase()}.message`),
|
|
649
|
+
..._
|
|
650
650
|
})),
|
|
651
|
-
[
|
|
651
|
+
[s, n, u]
|
|
652
652
|
);
|
|
653
653
|
return /* @__PURE__ */ h.jsx(
|
|
654
654
|
Er,
|
|
655
655
|
{
|
|
656
|
-
definition:
|
|
657
|
-
items:
|
|
658
|
-
onRemoveButtonClick: (
|
|
659
|
-
|
|
656
|
+
definition: m,
|
|
657
|
+
items: a || [],
|
|
658
|
+
onRemoveButtonClick: (_) => {
|
|
659
|
+
d && v(_.detail.itemIndex), l == null || l(_, v);
|
|
660
660
|
},
|
|
661
|
-
onAddButtonClick: (
|
|
662
|
-
|
|
661
|
+
onAddButtonClick: (_) => {
|
|
662
|
+
d && i(c), t == null || t(_, i);
|
|
663
663
|
},
|
|
664
|
-
...
|
|
664
|
+
...p
|
|
665
665
|
}
|
|
666
666
|
);
|
|
667
667
|
}, Xr = ({
|
|
668
|
-
name:
|
|
669
|
-
control:
|
|
670
|
-
defaultValue:
|
|
671
|
-
rules:
|
|
672
|
-
shouldUnregister:
|
|
673
|
-
onBlur:
|
|
674
|
-
onChange:
|
|
675
|
-
...
|
|
668
|
+
name: u,
|
|
669
|
+
control: f,
|
|
670
|
+
defaultValue: s,
|
|
671
|
+
rules: c,
|
|
672
|
+
shouldUnregister: d = !1,
|
|
673
|
+
onBlur: t,
|
|
674
|
+
onChange: l,
|
|
675
|
+
...p
|
|
676
676
|
}) => {
|
|
677
|
-
const
|
|
678
|
-
(
|
|
679
|
-
var
|
|
680
|
-
(
|
|
677
|
+
const n = x(
|
|
678
|
+
(i, v) => {
|
|
679
|
+
var m;
|
|
680
|
+
(m = v.detail) != null && m.value && i(v.detail.value), t == null || t(v);
|
|
681
681
|
},
|
|
682
|
-
[
|
|
683
|
-
),
|
|
684
|
-
(
|
|
685
|
-
|
|
682
|
+
[t]
|
|
683
|
+
), a = x(
|
|
684
|
+
(i, v) => {
|
|
685
|
+
i(v.detail.value), l == null || l(v);
|
|
686
686
|
},
|
|
687
|
-
[
|
|
687
|
+
[l]
|
|
688
688
|
);
|
|
689
689
|
return /* @__PURE__ */ h.jsx(
|
|
690
|
-
|
|
690
|
+
S,
|
|
691
691
|
{
|
|
692
|
-
name:
|
|
693
|
-
control:
|
|
694
|
-
defaultValue:
|
|
695
|
-
rules:
|
|
696
|
-
shouldUnregister:
|
|
697
|
-
render: ({ field: { ref:
|
|
692
|
+
name: u,
|
|
693
|
+
control: f,
|
|
694
|
+
defaultValue: s,
|
|
695
|
+
rules: c,
|
|
696
|
+
shouldUnregister: d,
|
|
697
|
+
render: ({ field: { ref: i, onBlur: v, onChange: m, value: _ } }) => /* @__PURE__ */ h.jsx(
|
|
698
698
|
yr,
|
|
699
699
|
{
|
|
700
|
-
ref:
|
|
701
|
-
name:
|
|
702
|
-
value:
|
|
703
|
-
onBlur:
|
|
704
|
-
onChange:
|
|
705
|
-
...
|
|
700
|
+
ref: i,
|
|
701
|
+
name: u,
|
|
702
|
+
value: _ || "",
|
|
703
|
+
onBlur: n.bind(null, v),
|
|
704
|
+
onChange: a.bind(null, m),
|
|
705
|
+
...p
|
|
706
706
|
}
|
|
707
707
|
)
|
|
708
708
|
}
|
|
709
709
|
);
|
|
710
710
|
}, Hr = ({
|
|
711
|
-
name:
|
|
712
|
-
control:
|
|
713
|
-
|
|
714
|
-
|
|
711
|
+
name: u,
|
|
712
|
+
control: f,
|
|
713
|
+
defaultValue: s,
|
|
714
|
+
rules: c,
|
|
715
|
+
shouldUnregister: d = !1,
|
|
716
|
+
onChange: t,
|
|
717
|
+
...l
|
|
715
718
|
}) => {
|
|
716
|
-
const
|
|
717
|
-
(
|
|
718
|
-
|
|
719
|
+
const p = x(
|
|
720
|
+
(n, a) => {
|
|
721
|
+
n(a.detail.checked), t == null || t(a);
|
|
719
722
|
},
|
|
720
|
-
[
|
|
723
|
+
[t]
|
|
721
724
|
);
|
|
722
725
|
return /* @__PURE__ */ h.jsx(
|
|
723
|
-
|
|
726
|
+
S,
|
|
724
727
|
{
|
|
725
|
-
name:
|
|
726
|
-
control:
|
|
727
|
-
|
|
728
|
+
name: u,
|
|
729
|
+
control: f,
|
|
730
|
+
defaultValue: s,
|
|
731
|
+
rules: c,
|
|
732
|
+
shouldUnregister: d,
|
|
733
|
+
render: ({ field: { ref: n, onChange: a, value: i = !1 } }) => /* @__PURE__ */ h.jsx(mr, { ref: n, onChange: p.bind(null, a), checked: i, ...l })
|
|
728
734
|
}
|
|
729
735
|
);
|
|
730
736
|
}, Zr = ({
|
|
731
|
-
name:
|
|
732
|
-
control:
|
|
733
|
-
defaultValue:
|
|
734
|
-
rules:
|
|
735
|
-
shouldUnregister:
|
|
736
|
-
onSelectionChange:
|
|
737
|
-
...
|
|
737
|
+
name: u,
|
|
738
|
+
control: f,
|
|
739
|
+
defaultValue: s,
|
|
740
|
+
rules: c,
|
|
741
|
+
shouldUnregister: d = !1,
|
|
742
|
+
onSelectionChange: t,
|
|
743
|
+
...l
|
|
738
744
|
}) => {
|
|
739
|
-
const
|
|
740
|
-
(
|
|
741
|
-
|
|
745
|
+
const p = x(
|
|
746
|
+
(n, a) => {
|
|
747
|
+
n(a.detail.selectedItems), t == null || t(a);
|
|
742
748
|
},
|
|
743
|
-
[
|
|
749
|
+
[t]
|
|
744
750
|
);
|
|
745
751
|
return /* @__PURE__ */ h.jsx(
|
|
746
|
-
|
|
752
|
+
S,
|
|
747
753
|
{
|
|
748
|
-
name:
|
|
749
|
-
control:
|
|
750
|
-
defaultValue:
|
|
751
|
-
rules:
|
|
752
|
-
shouldUnregister:
|
|
753
|
-
render: ({ field: { onChange:
|
|
754
|
+
name: u,
|
|
755
|
+
control: f,
|
|
756
|
+
defaultValue: s,
|
|
757
|
+
rules: c,
|
|
758
|
+
shouldUnregister: d,
|
|
759
|
+
render: ({ field: { onChange: n, value: a } }) => /* @__PURE__ */ h.jsx(Rr, { onSelectionChange: p.bind(null, n), selectedItems: a, ...l })
|
|
754
760
|
}
|
|
755
761
|
);
|
|
756
762
|
}, Qr = ({
|
|
757
|
-
name:
|
|
758
|
-
control:
|
|
759
|
-
onChange:
|
|
760
|
-
|
|
763
|
+
name: u,
|
|
764
|
+
control: f,
|
|
765
|
+
onChange: s,
|
|
766
|
+
defaultValue: c,
|
|
767
|
+
rules: d,
|
|
768
|
+
shouldUnregister: t = !1,
|
|
769
|
+
...l
|
|
761
770
|
}) => {
|
|
762
|
-
const
|
|
763
|
-
(
|
|
764
|
-
|
|
771
|
+
const p = x(
|
|
772
|
+
(n, a) => {
|
|
773
|
+
n(a.detail.value), s == null || s(a);
|
|
765
774
|
},
|
|
766
|
-
[
|
|
775
|
+
[s]
|
|
767
776
|
);
|
|
768
777
|
return /* @__PURE__ */ h.jsx(
|
|
769
|
-
|
|
778
|
+
S,
|
|
770
779
|
{
|
|
771
|
-
name:
|
|
772
|
-
control:
|
|
773
|
-
|
|
780
|
+
name: u,
|
|
781
|
+
control: f,
|
|
782
|
+
defaultValue: c,
|
|
783
|
+
rules: d,
|
|
784
|
+
shouldUnregister: t,
|
|
785
|
+
render: ({ field: { onChange: n, value: a } }) => /* @__PURE__ */ h.jsx(_r, { value: a || "", onChange: p.bind(null, n), ...l })
|
|
774
786
|
}
|
|
775
787
|
);
|
|
776
788
|
}, Br = ({
|
|
777
|
-
name:
|
|
778
|
-
control:
|
|
779
|
-
defaultValue:
|
|
780
|
-
rules:
|
|
781
|
-
shouldUnregister:
|
|
782
|
-
onBlur:
|
|
783
|
-
onChange:
|
|
784
|
-
...
|
|
789
|
+
name: u,
|
|
790
|
+
control: f,
|
|
791
|
+
defaultValue: s,
|
|
792
|
+
rules: c,
|
|
793
|
+
shouldUnregister: d = !1,
|
|
794
|
+
onBlur: t,
|
|
795
|
+
onChange: l,
|
|
796
|
+
...p
|
|
785
797
|
}) => {
|
|
786
|
-
const
|
|
787
|
-
(
|
|
788
|
-
|
|
798
|
+
const n = x(
|
|
799
|
+
(i) => {
|
|
800
|
+
t == null || t(i);
|
|
789
801
|
},
|
|
790
|
-
[
|
|
791
|
-
),
|
|
792
|
-
(
|
|
793
|
-
|
|
802
|
+
[t]
|
|
803
|
+
), a = x(
|
|
804
|
+
(i) => {
|
|
805
|
+
l == null || l(i);
|
|
794
806
|
},
|
|
795
|
-
[
|
|
807
|
+
[l]
|
|
796
808
|
);
|
|
797
809
|
return /* @__PURE__ */ h.jsx(
|
|
798
|
-
|
|
810
|
+
S,
|
|
799
811
|
{
|
|
800
|
-
name:
|
|
801
|
-
control:
|
|
802
|
-
defaultValue:
|
|
803
|
-
rules:
|
|
804
|
-
shouldUnregister:
|
|
805
|
-
render: ({ field: { ref:
|
|
812
|
+
name: u,
|
|
813
|
+
control: f,
|
|
814
|
+
defaultValue: s,
|
|
815
|
+
rules: c,
|
|
816
|
+
shouldUnregister: d,
|
|
817
|
+
render: ({ field: { ref: i, onChange: v, onBlur: m, value: _ } }) => /* @__PURE__ */ h.jsx(
|
|
806
818
|
xr,
|
|
807
819
|
{
|
|
808
|
-
ref:
|
|
809
|
-
name:
|
|
810
|
-
value:
|
|
811
|
-
onBlur: (
|
|
812
|
-
|
|
820
|
+
ref: i,
|
|
821
|
+
name: u,
|
|
822
|
+
value: _,
|
|
823
|
+
onBlur: (T) => {
|
|
824
|
+
m(), n(T);
|
|
813
825
|
},
|
|
814
|
-
onChange: (
|
|
815
|
-
v(
|
|
826
|
+
onChange: (T) => {
|
|
827
|
+
v(T.detail.value), a(T);
|
|
816
828
|
},
|
|
817
|
-
...
|
|
829
|
+
...p
|
|
818
830
|
}
|
|
819
831
|
)
|
|
820
832
|
}
|
|
821
833
|
);
|
|
822
834
|
}, et = ({
|
|
823
|
-
name:
|
|
824
|
-
control:
|
|
825
|
-
onBlur:
|
|
826
|
-
onChange:
|
|
827
|
-
|
|
835
|
+
name: u,
|
|
836
|
+
control: f,
|
|
837
|
+
onBlur: s,
|
|
838
|
+
onChange: c,
|
|
839
|
+
defaultValue: d,
|
|
840
|
+
rules: t,
|
|
841
|
+
shouldUnregister: l = !1,
|
|
842
|
+
...p
|
|
828
843
|
}) => {
|
|
829
|
-
const
|
|
830
|
-
(
|
|
831
|
-
|
|
844
|
+
const n = x(
|
|
845
|
+
(i) => {
|
|
846
|
+
s == null || s(i);
|
|
832
847
|
},
|
|
833
|
-
[
|
|
834
|
-
),
|
|
835
|
-
(
|
|
836
|
-
|
|
848
|
+
[s]
|
|
849
|
+
), a = x(
|
|
850
|
+
(i) => {
|
|
851
|
+
c == null || c(i);
|
|
837
852
|
},
|
|
838
|
-
[
|
|
853
|
+
[c]
|
|
839
854
|
);
|
|
840
855
|
return /* @__PURE__ */ h.jsx(
|
|
841
|
-
|
|
856
|
+
S,
|
|
842
857
|
{
|
|
843
|
-
name:
|
|
844
|
-
control:
|
|
845
|
-
|
|
858
|
+
name: u,
|
|
859
|
+
control: f,
|
|
860
|
+
defaultValue: d,
|
|
861
|
+
rules: t,
|
|
862
|
+
shouldUnregister: l,
|
|
863
|
+
render: ({ field: { ref: i, onBlur: v, onChange: m, value: _ } }) => /* @__PURE__ */ h.jsx(
|
|
846
864
|
gr,
|
|
847
865
|
{
|
|
848
|
-
ref:
|
|
849
|
-
value:
|
|
850
|
-
onBlur: (
|
|
851
|
-
|
|
866
|
+
ref: i,
|
|
867
|
+
value: _,
|
|
868
|
+
onBlur: (T) => {
|
|
869
|
+
v(), n(T);
|
|
852
870
|
},
|
|
853
|
-
onChange: (
|
|
854
|
-
|
|
871
|
+
onChange: (T) => {
|
|
872
|
+
m(T.detail.value), a(T);
|
|
855
873
|
},
|
|
856
|
-
...
|
|
874
|
+
...p
|
|
857
875
|
}
|
|
858
876
|
)
|
|
859
877
|
}
|
|
860
878
|
);
|
|
861
879
|
}, rt = ({
|
|
862
|
-
name:
|
|
863
|
-
control:
|
|
864
|
-
defaultValue:
|
|
865
|
-
rules:
|
|
866
|
-
shouldUnregister:
|
|
867
|
-
onChange:
|
|
868
|
-
...
|
|
880
|
+
name: u,
|
|
881
|
+
control: f,
|
|
882
|
+
defaultValue: s,
|
|
883
|
+
rules: c,
|
|
884
|
+
shouldUnregister: d = !1,
|
|
885
|
+
onChange: t,
|
|
886
|
+
...l
|
|
869
887
|
}) => {
|
|
870
|
-
const
|
|
871
|
-
(
|
|
872
|
-
p(
|
|
888
|
+
const p = (a) => a != null && a.length ? a : [], n = x(
|
|
889
|
+
(a, i) => {
|
|
890
|
+
a(p(i.detail.value)), t == null || t(i);
|
|
873
891
|
},
|
|
874
|
-
[
|
|
892
|
+
[t]
|
|
875
893
|
);
|
|
876
894
|
return /* @__PURE__ */ h.jsx(
|
|
877
|
-
|
|
895
|
+
S,
|
|
878
896
|
{
|
|
879
|
-
name:
|
|
880
|
-
control:
|
|
881
|
-
defaultValue:
|
|
882
|
-
rules:
|
|
883
|
-
shouldUnregister:
|
|
884
|
-
render: ({ field: { ref:
|
|
897
|
+
name: u,
|
|
898
|
+
control: f,
|
|
899
|
+
defaultValue: s,
|
|
900
|
+
rules: c,
|
|
901
|
+
shouldUnregister: d,
|
|
902
|
+
render: ({ field: { ref: a, onChange: i, value: v } }) => /* @__PURE__ */ h.jsx(
|
|
885
903
|
jr,
|
|
886
904
|
{
|
|
887
|
-
ref:
|
|
888
|
-
value:
|
|
889
|
-
onChange:
|
|
890
|
-
...
|
|
905
|
+
ref: a,
|
|
906
|
+
value: p(v),
|
|
907
|
+
onChange: n.bind(null, i),
|
|
908
|
+
...l
|
|
891
909
|
}
|
|
892
910
|
)
|
|
893
911
|
}
|
|
894
912
|
);
|
|
895
913
|
}, tt = ({
|
|
896
|
-
name:
|
|
897
|
-
control:
|
|
898
|
-
defaultValue:
|
|
899
|
-
rules:
|
|
900
|
-
shouldUnregister:
|
|
901
|
-
onBlur:
|
|
902
|
-
onChange:
|
|
903
|
-
...
|
|
914
|
+
name: u,
|
|
915
|
+
control: f,
|
|
916
|
+
defaultValue: s,
|
|
917
|
+
rules: c,
|
|
918
|
+
shouldUnregister: d = !1,
|
|
919
|
+
onBlur: t,
|
|
920
|
+
onChange: l,
|
|
921
|
+
...p
|
|
904
922
|
}) => {
|
|
905
|
-
const
|
|
906
|
-
(
|
|
907
|
-
|
|
923
|
+
const n = x(
|
|
924
|
+
(i) => {
|
|
925
|
+
t == null || t(i);
|
|
908
926
|
},
|
|
909
|
-
[
|
|
910
|
-
),
|
|
911
|
-
(
|
|
912
|
-
|
|
927
|
+
[t]
|
|
928
|
+
), a = x(
|
|
929
|
+
(i) => {
|
|
930
|
+
l == null || l(i);
|
|
913
931
|
},
|
|
914
|
-
[
|
|
932
|
+
[l]
|
|
915
933
|
);
|
|
916
934
|
return /* @__PURE__ */ h.jsx(
|
|
917
|
-
|
|
935
|
+
S,
|
|
918
936
|
{
|
|
919
|
-
name:
|
|
920
|
-
control:
|
|
921
|
-
defaultValue:
|
|
922
|
-
rules:
|
|
923
|
-
shouldUnregister:
|
|
924
|
-
render: ({ field: { ref:
|
|
937
|
+
name: u,
|
|
938
|
+
control: f,
|
|
939
|
+
defaultValue: s,
|
|
940
|
+
rules: c,
|
|
941
|
+
shouldUnregister: d,
|
|
942
|
+
render: ({ field: { ref: i, onBlur: v, onChange: m, value: _ } }) => /* @__PURE__ */ h.jsx(
|
|
925
943
|
Tr,
|
|
926
944
|
{
|
|
927
|
-
ref:
|
|
928
|
-
name:
|
|
929
|
-
value:
|
|
930
|
-
onBlur: (
|
|
931
|
-
v(),
|
|
945
|
+
ref: i,
|
|
946
|
+
name: u,
|
|
947
|
+
value: _,
|
|
948
|
+
onBlur: (T) => {
|
|
949
|
+
v(), n(T);
|
|
932
950
|
},
|
|
933
|
-
onChange: (
|
|
934
|
-
|
|
951
|
+
onChange: (T) => {
|
|
952
|
+
m(T.detail.value), a(T);
|
|
935
953
|
},
|
|
936
|
-
...
|
|
954
|
+
...p
|
|
937
955
|
}
|
|
938
956
|
)
|
|
939
957
|
}
|
|
940
958
|
);
|
|
941
|
-
}, te = (
|
|
942
|
-
if (
|
|
943
|
-
if ("options" in
|
|
944
|
-
const
|
|
945
|
-
|
|
959
|
+
}, te = (u = []) => u != null && u.length ? u.map((f) => "options" in f ? te(f.options) : f.value).flat() : [], ne = (u = [], f = []) => u != null && u.length && (f != null && f.length) ? u.reduce((s, c) => {
|
|
960
|
+
if (u != null && u.length) {
|
|
961
|
+
if ("options" in c) {
|
|
962
|
+
const d = ne(c.options, f);
|
|
963
|
+
d != null && d.length && s.push(...d);
|
|
946
964
|
}
|
|
947
|
-
"value" in
|
|
965
|
+
"value" in c && f.find((d) => d === c.value) && s.push(c);
|
|
948
966
|
}
|
|
949
|
-
return
|
|
967
|
+
return s;
|
|
950
968
|
}, []).flat() : [], nt = { transformMultiselectOptionsToArray: te, mapSelectedOptionsWithOptions: ne }, at = ({
|
|
951
|
-
name:
|
|
952
|
-
control:
|
|
953
|
-
options:
|
|
954
|
-
defaultValue:
|
|
955
|
-
rules:
|
|
956
|
-
onBlur:
|
|
957
|
-
onChange:
|
|
958
|
-
shouldUnregister:
|
|
959
|
-
...
|
|
969
|
+
name: u,
|
|
970
|
+
control: f,
|
|
971
|
+
options: s,
|
|
972
|
+
defaultValue: c,
|
|
973
|
+
rules: d,
|
|
974
|
+
onBlur: t,
|
|
975
|
+
onChange: l,
|
|
976
|
+
shouldUnregister: p = !1,
|
|
977
|
+
...n
|
|
960
978
|
}) => {
|
|
961
|
-
const
|
|
962
|
-
(v,
|
|
963
|
-
v(),
|
|
979
|
+
const a = x(
|
|
980
|
+
(v, m) => {
|
|
981
|
+
v(), t == null || t(m);
|
|
964
982
|
},
|
|
965
|
-
[
|
|
966
|
-
),
|
|
967
|
-
(v,
|
|
968
|
-
v(te(
|
|
983
|
+
[t]
|
|
984
|
+
), i = x(
|
|
985
|
+
(v, m) => {
|
|
986
|
+
v(te(m.detail.selectedOptions)), l == null || l(m);
|
|
969
987
|
},
|
|
970
|
-
[
|
|
988
|
+
[l]
|
|
971
989
|
);
|
|
972
990
|
return /* @__PURE__ */ h.jsx(
|
|
973
|
-
|
|
991
|
+
S,
|
|
974
992
|
{
|
|
975
|
-
name:
|
|
976
|
-
control:
|
|
977
|
-
defaultValue:
|
|
978
|
-
rules:
|
|
979
|
-
shouldUnregister:
|
|
980
|
-
render: ({ field: { ref: v, onChange:
|
|
993
|
+
name: u,
|
|
994
|
+
control: f,
|
|
995
|
+
defaultValue: c,
|
|
996
|
+
rules: d,
|
|
997
|
+
shouldUnregister: p,
|
|
998
|
+
render: ({ field: { ref: v, onChange: m, onBlur: _, value: T } }) => /* @__PURE__ */ h.jsx(
|
|
981
999
|
Or,
|
|
982
1000
|
{
|
|
983
1001
|
ref: v,
|
|
984
|
-
options:
|
|
985
|
-
onBlur: () =>
|
|
986
|
-
onChange:
|
|
987
|
-
selectedOptions: ne(
|
|
988
|
-
...
|
|
1002
|
+
options: s,
|
|
1003
|
+
onBlur: () => a.bind(null, _),
|
|
1004
|
+
onChange: i.bind(null, m),
|
|
1005
|
+
selectedOptions: ne(s, T),
|
|
1006
|
+
...n
|
|
989
1007
|
}
|
|
990
1008
|
)
|
|
991
1009
|
}
|
|
992
1010
|
);
|
|
993
|
-
}, it = (
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
1011
|
+
}, it = ({
|
|
1012
|
+
name: u,
|
|
1013
|
+
control: f,
|
|
1014
|
+
defaultValue: s,
|
|
1015
|
+
rules: c,
|
|
1016
|
+
shouldUnregister: d = !1,
|
|
1017
|
+
...t
|
|
1018
|
+
}) => {
|
|
1019
|
+
const l = x(
|
|
1020
|
+
(p, n) => {
|
|
1021
|
+
p(n.detail);
|
|
997
1022
|
},
|
|
998
1023
|
[]
|
|
999
1024
|
);
|
|
1000
1025
|
return /* @__PURE__ */ h.jsx(
|
|
1001
|
-
|
|
1026
|
+
S,
|
|
1002
1027
|
{
|
|
1003
|
-
name:
|
|
1004
|
-
control:
|
|
1005
|
-
defaultValue:
|
|
1006
|
-
rules:
|
|
1007
|
-
shouldUnregister:
|
|
1008
|
-
render: ({ field: { onChange:
|
|
1028
|
+
name: u,
|
|
1029
|
+
control: f,
|
|
1030
|
+
defaultValue: s,
|
|
1031
|
+
rules: c,
|
|
1032
|
+
shouldUnregister: d,
|
|
1033
|
+
render: ({ field: { onChange: p, value: n } }) => /* @__PURE__ */ h.jsx(Sr, { onChange: l.bind(null, p), query: n, ...t })
|
|
1009
1034
|
}
|
|
1010
1035
|
);
|
|
1011
1036
|
}, lt = ({
|
|
1012
|
-
name:
|
|
1013
|
-
control:
|
|
1014
|
-
onChange:
|
|
1015
|
-
|
|
1037
|
+
name: u,
|
|
1038
|
+
control: f,
|
|
1039
|
+
onChange: s,
|
|
1040
|
+
rules: c,
|
|
1041
|
+
defaultValue: d,
|
|
1042
|
+
shouldUnregister: t = !1,
|
|
1043
|
+
...l
|
|
1016
1044
|
}) => {
|
|
1017
|
-
const
|
|
1018
|
-
(
|
|
1019
|
-
|
|
1045
|
+
const p = x(
|
|
1046
|
+
(n, a) => {
|
|
1047
|
+
n(a.detail.value), s == null || s(a);
|
|
1020
1048
|
},
|
|
1021
|
-
[
|
|
1049
|
+
[s]
|
|
1022
1050
|
);
|
|
1023
1051
|
return /* @__PURE__ */ h.jsx(
|
|
1024
|
-
|
|
1052
|
+
S,
|
|
1025
1053
|
{
|
|
1026
|
-
name:
|
|
1027
|
-
control:
|
|
1028
|
-
|
|
1054
|
+
name: u,
|
|
1055
|
+
control: f,
|
|
1056
|
+
defaultValue: d,
|
|
1057
|
+
rules: c,
|
|
1058
|
+
shouldUnregister: t,
|
|
1059
|
+
render: ({ field: { onChange: n, value: a } }) => /* @__PURE__ */ h.jsx(Pr, { onChange: p.bind(null, n), value: a, items: l.items, ...l })
|
|
1029
1060
|
}
|
|
1030
1061
|
);
|
|
1031
|
-
},
|
|
1032
|
-
name:
|
|
1033
|
-
control:
|
|
1034
|
-
defaultValue:
|
|
1035
|
-
rules:
|
|
1036
|
-
shouldUnregister:
|
|
1037
|
-
onChange:
|
|
1038
|
-
...
|
|
1062
|
+
}, st = ({
|
|
1063
|
+
name: u,
|
|
1064
|
+
control: f,
|
|
1065
|
+
defaultValue: s,
|
|
1066
|
+
rules: c,
|
|
1067
|
+
shouldUnregister: d = !1,
|
|
1068
|
+
onChange: t,
|
|
1069
|
+
...l
|
|
1039
1070
|
}) => {
|
|
1040
|
-
const
|
|
1041
|
-
(
|
|
1042
|
-
|
|
1071
|
+
const p = x(
|
|
1072
|
+
(n, a) => {
|
|
1073
|
+
n(a.detail.resource), t == null || t(a);
|
|
1043
1074
|
},
|
|
1044
|
-
[
|
|
1075
|
+
[t]
|
|
1045
1076
|
);
|
|
1046
1077
|
return /* @__PURE__ */ h.jsx(
|
|
1047
|
-
|
|
1078
|
+
S,
|
|
1048
1079
|
{
|
|
1049
|
-
name:
|
|
1050
|
-
control:
|
|
1051
|
-
defaultValue:
|
|
1052
|
-
rules:
|
|
1053
|
-
shouldUnregister:
|
|
1054
|
-
render: ({ field: { ref:
|
|
1080
|
+
name: u,
|
|
1081
|
+
control: f,
|
|
1082
|
+
defaultValue: s,
|
|
1083
|
+
rules: c,
|
|
1084
|
+
shouldUnregister: d,
|
|
1085
|
+
render: ({ field: { ref: n, onChange: a, value: i } }) => /* @__PURE__ */ h.jsx(
|
|
1055
1086
|
wr,
|
|
1056
1087
|
{
|
|
1057
|
-
ref:
|
|
1058
|
-
resource:
|
|
1059
|
-
onChange:
|
|
1060
|
-
...
|
|
1088
|
+
ref: n,
|
|
1089
|
+
resource: i ?? { uri: "" },
|
|
1090
|
+
onChange: p.bind(null, a),
|
|
1091
|
+
...l
|
|
1061
1092
|
}
|
|
1062
1093
|
)
|
|
1063
1094
|
}
|
|
1064
1095
|
);
|
|
1065
|
-
}, De = (
|
|
1066
|
-
let
|
|
1067
|
-
return
|
|
1068
|
-
(
|
|
1069
|
-
if ("options" in
|
|
1070
|
-
const
|
|
1071
|
-
|
|
1096
|
+
}, De = (u = [], f) => {
|
|
1097
|
+
let s = null;
|
|
1098
|
+
return u && f && (s = u.reduce(
|
|
1099
|
+
(c, d) => {
|
|
1100
|
+
if ("options" in d) {
|
|
1101
|
+
const t = De(d.options, f);
|
|
1102
|
+
t && c.push(t);
|
|
1072
1103
|
}
|
|
1073
|
-
return "value" in
|
|
1104
|
+
return "value" in d && d.value === f && c.push(d), c;
|
|
1074
1105
|
},
|
|
1075
1106
|
[]
|
|
1076
|
-
)[0]),
|
|
1107
|
+
)[0]), s || null;
|
|
1077
1108
|
}, qr = {
|
|
1078
1109
|
mapSelectedOptionWithOptions: De
|
|
1079
|
-
},
|
|
1080
|
-
name:
|
|
1081
|
-
control:
|
|
1082
|
-
defaultValue:
|
|
1083
|
-
rules:
|
|
1084
|
-
shouldUnregister:
|
|
1085
|
-
onBlur:
|
|
1086
|
-
onChange:
|
|
1087
|
-
...
|
|
1110
|
+
}, ut = ({
|
|
1111
|
+
name: u,
|
|
1112
|
+
control: f,
|
|
1113
|
+
defaultValue: s,
|
|
1114
|
+
rules: c,
|
|
1115
|
+
shouldUnregister: d = !1,
|
|
1116
|
+
onBlur: t,
|
|
1117
|
+
onChange: l,
|
|
1118
|
+
...p
|
|
1088
1119
|
}) => {
|
|
1089
|
-
const
|
|
1090
|
-
(
|
|
1091
|
-
|
|
1120
|
+
const n = x(
|
|
1121
|
+
(i, v) => {
|
|
1122
|
+
i(), t == null || t(v);
|
|
1092
1123
|
},
|
|
1093
|
-
[
|
|
1094
|
-
),
|
|
1095
|
-
(
|
|
1096
|
-
|
|
1124
|
+
[t]
|
|
1125
|
+
), a = x(
|
|
1126
|
+
(i, v) => {
|
|
1127
|
+
i(v.detail.selectedOption.value), l == null || l(v);
|
|
1097
1128
|
},
|
|
1098
|
-
[
|
|
1129
|
+
[l]
|
|
1099
1130
|
);
|
|
1100
1131
|
return /* @__PURE__ */ h.jsx(
|
|
1101
|
-
|
|
1132
|
+
S,
|
|
1102
1133
|
{
|
|
1103
|
-
name:
|
|
1104
|
-
control:
|
|
1105
|
-
defaultValue:
|
|
1106
|
-
rules:
|
|
1107
|
-
shouldUnregister:
|
|
1108
|
-
render: ({ field: { ref:
|
|
1134
|
+
name: u,
|
|
1135
|
+
control: f,
|
|
1136
|
+
defaultValue: s,
|
|
1137
|
+
rules: c,
|
|
1138
|
+
shouldUnregister: d,
|
|
1139
|
+
render: ({ field: { ref: i, onChange: v, onBlur: m, value: _ } }) => /* @__PURE__ */ h.jsx(
|
|
1109
1140
|
kr,
|
|
1110
1141
|
{
|
|
1111
|
-
ref:
|
|
1112
|
-
selectedOption: qr.mapSelectedOptionWithOptions(
|
|
1113
|
-
onBlur:
|
|
1114
|
-
onChange:
|
|
1115
|
-
...
|
|
1142
|
+
ref: i,
|
|
1143
|
+
selectedOption: qr.mapSelectedOptionWithOptions(p.options, _),
|
|
1144
|
+
onBlur: n.bind(null, m),
|
|
1145
|
+
onChange: a.bind(null, v),
|
|
1146
|
+
...p
|
|
1116
1147
|
}
|
|
1117
1148
|
)
|
|
1118
1149
|
}
|
|
1119
1150
|
);
|
|
1120
1151
|
}, ot = ({
|
|
1121
|
-
name:
|
|
1122
|
-
control:
|
|
1123
|
-
defaultValue:
|
|
1124
|
-
rules:
|
|
1125
|
-
shouldUnregister:
|
|
1126
|
-
onChange:
|
|
1127
|
-
...
|
|
1152
|
+
name: u,
|
|
1153
|
+
control: f,
|
|
1154
|
+
defaultValue: s,
|
|
1155
|
+
rules: c,
|
|
1156
|
+
shouldUnregister: d = !1,
|
|
1157
|
+
onChange: t,
|
|
1158
|
+
...l
|
|
1128
1159
|
}) => {
|
|
1129
|
-
const
|
|
1130
|
-
(
|
|
1131
|
-
|
|
1160
|
+
const p = x(
|
|
1161
|
+
(n) => {
|
|
1162
|
+
t == null || t(n);
|
|
1132
1163
|
},
|
|
1133
|
-
[
|
|
1164
|
+
[t]
|
|
1134
1165
|
);
|
|
1135
1166
|
return /* @__PURE__ */ h.jsx(
|
|
1136
|
-
|
|
1167
|
+
S,
|
|
1137
1168
|
{
|
|
1138
|
-
name:
|
|
1139
|
-
control:
|
|
1140
|
-
defaultValue:
|
|
1141
|
-
rules:
|
|
1142
|
-
shouldUnregister:
|
|
1143
|
-
render: ({ field: { onChange:
|
|
1169
|
+
name: u,
|
|
1170
|
+
control: f,
|
|
1171
|
+
defaultValue: s,
|
|
1172
|
+
rules: c,
|
|
1173
|
+
shouldUnregister: d,
|
|
1174
|
+
render: ({ field: { onChange: n, value: a } }) => /* @__PURE__ */ h.jsx(
|
|
1144
1175
|
Cr,
|
|
1145
1176
|
{
|
|
1146
|
-
value:
|
|
1147
|
-
onChange: (
|
|
1148
|
-
|
|
1177
|
+
value: a,
|
|
1178
|
+
onChange: (i) => {
|
|
1179
|
+
n(i.detail.value), p(i);
|
|
1149
1180
|
},
|
|
1150
|
-
...
|
|
1181
|
+
...l
|
|
1151
1182
|
}
|
|
1152
1183
|
)
|
|
1153
1184
|
}
|
|
1154
1185
|
);
|
|
1155
1186
|
}, ft = ({
|
|
1156
|
-
name:
|
|
1157
|
-
control:
|
|
1158
|
-
onChange:
|
|
1159
|
-
|
|
1187
|
+
name: u,
|
|
1188
|
+
control: f,
|
|
1189
|
+
onChange: s,
|
|
1190
|
+
defaultValue: c,
|
|
1191
|
+
rules: d,
|
|
1192
|
+
shouldUnregister: t,
|
|
1193
|
+
...l
|
|
1160
1194
|
}) => {
|
|
1161
|
-
const
|
|
1162
|
-
(
|
|
1163
|
-
|
|
1195
|
+
const p = x(
|
|
1196
|
+
(n, a) => {
|
|
1197
|
+
n([...a.detail.tags]), s == null || s(a);
|
|
1164
1198
|
},
|
|
1165
|
-
[
|
|
1199
|
+
[s]
|
|
1166
1200
|
);
|
|
1167
1201
|
return /* @__PURE__ */ h.jsx(
|
|
1168
|
-
|
|
1202
|
+
S,
|
|
1169
1203
|
{
|
|
1170
|
-
name:
|
|
1171
|
-
control:
|
|
1172
|
-
|
|
1204
|
+
name: u,
|
|
1205
|
+
control: f,
|
|
1206
|
+
defaultValue: c,
|
|
1207
|
+
rules: d,
|
|
1208
|
+
shouldUnregister: t,
|
|
1209
|
+
render: ({ field: { ref: n, onChange: a, value: i } }) => /* @__PURE__ */ h.jsx(
|
|
1173
1210
|
Fr,
|
|
1174
1211
|
{
|
|
1175
|
-
ref:
|
|
1176
|
-
tags:
|
|
1177
|
-
onChange:
|
|
1178
|
-
...
|
|
1212
|
+
ref: n,
|
|
1213
|
+
tags: i || [],
|
|
1214
|
+
onChange: p.bind(null, a),
|
|
1215
|
+
...l
|
|
1179
1216
|
}
|
|
1180
1217
|
)
|
|
1181
1218
|
}
|
|
1182
1219
|
);
|
|
1183
1220
|
}, ct = ({
|
|
1184
|
-
name:
|
|
1185
|
-
control:
|
|
1186
|
-
|
|
1187
|
-
|
|
1221
|
+
name: u,
|
|
1222
|
+
control: f,
|
|
1223
|
+
defaultValue: s,
|
|
1224
|
+
rules: c,
|
|
1225
|
+
shouldUnregister: d,
|
|
1226
|
+
onChange: t,
|
|
1227
|
+
...l
|
|
1188
1228
|
}) => {
|
|
1189
|
-
const
|
|
1190
|
-
(
|
|
1191
|
-
|
|
1229
|
+
const p = x(
|
|
1230
|
+
(n, a) => {
|
|
1231
|
+
n(a.detail.filteringText), t == null || t(a);
|
|
1192
1232
|
},
|
|
1193
|
-
[
|
|
1233
|
+
[t]
|
|
1194
1234
|
);
|
|
1195
1235
|
return /* @__PURE__ */ h.jsx(
|
|
1196
|
-
|
|
1236
|
+
S,
|
|
1197
1237
|
{
|
|
1198
|
-
name:
|
|
1199
|
-
control:
|
|
1200
|
-
|
|
1238
|
+
name: u,
|
|
1239
|
+
control: f,
|
|
1240
|
+
defaultValue: s,
|
|
1241
|
+
rules: c,
|
|
1242
|
+
shouldUnregister: d,
|
|
1243
|
+
render: ({ field: { ref: n, onChange: a, value: i } }) => /* @__PURE__ */ h.jsx(
|
|
1201
1244
|
Dr,
|
|
1202
1245
|
{
|
|
1203
|
-
ref:
|
|
1204
|
-
filteringText:
|
|
1205
|
-
onChange:
|
|
1206
|
-
...
|
|
1246
|
+
ref: n,
|
|
1247
|
+
filteringText: i,
|
|
1248
|
+
onChange: p.bind(null, a),
|
|
1249
|
+
...l
|
|
1207
1250
|
}
|
|
1208
1251
|
)
|
|
1209
1252
|
}
|
|
1210
1253
|
);
|
|
1211
1254
|
}, dt = ({
|
|
1212
|
-
name:
|
|
1213
|
-
control:
|
|
1214
|
-
defaultValue:
|
|
1215
|
-
rules:
|
|
1216
|
-
shouldUnregister:
|
|
1217
|
-
onBlur:
|
|
1218
|
-
onChange:
|
|
1219
|
-
...
|
|
1255
|
+
name: u,
|
|
1256
|
+
control: f,
|
|
1257
|
+
defaultValue: s,
|
|
1258
|
+
rules: c,
|
|
1259
|
+
shouldUnregister: d = !1,
|
|
1260
|
+
onBlur: t,
|
|
1261
|
+
onChange: l,
|
|
1262
|
+
...p
|
|
1220
1263
|
}) => {
|
|
1221
|
-
const
|
|
1222
|
-
(
|
|
1223
|
-
|
|
1264
|
+
const n = x(
|
|
1265
|
+
(i, v) => {
|
|
1266
|
+
i(), t == null || t(v);
|
|
1224
1267
|
},
|
|
1225
|
-
[
|
|
1226
|
-
),
|
|
1227
|
-
(
|
|
1228
|
-
|
|
1268
|
+
[t]
|
|
1269
|
+
), a = x(
|
|
1270
|
+
(i, v) => {
|
|
1271
|
+
i(v.detail.value), l == null || l(v);
|
|
1229
1272
|
},
|
|
1230
|
-
[
|
|
1273
|
+
[l]
|
|
1231
1274
|
);
|
|
1232
1275
|
return /* @__PURE__ */ h.jsx(
|
|
1233
|
-
|
|
1276
|
+
S,
|
|
1234
1277
|
{
|
|
1235
|
-
name:
|
|
1236
|
-
control:
|
|
1237
|
-
defaultValue:
|
|
1238
|
-
rules:
|
|
1239
|
-
shouldUnregister:
|
|
1240
|
-
render: ({ field: { onChange:
|
|
1278
|
+
name: u,
|
|
1279
|
+
control: f,
|
|
1280
|
+
defaultValue: s,
|
|
1281
|
+
rules: c,
|
|
1282
|
+
shouldUnregister: d,
|
|
1283
|
+
render: ({ field: { onChange: i, onBlur: v, value: m, ref: _ } }) => /* @__PURE__ */ h.jsx(
|
|
1241
1284
|
Ar,
|
|
1242
1285
|
{
|
|
1243
|
-
ref:
|
|
1244
|
-
name:
|
|
1245
|
-
value:
|
|
1246
|
-
onBlur:
|
|
1247
|
-
onChange:
|
|
1248
|
-
...
|
|
1286
|
+
ref: _,
|
|
1287
|
+
name: u,
|
|
1288
|
+
value: m,
|
|
1289
|
+
onBlur: n.bind(null, v),
|
|
1290
|
+
onChange: a.bind(null, i),
|
|
1291
|
+
...p
|
|
1249
1292
|
}
|
|
1250
1293
|
)
|
|
1251
1294
|
}
|
|
1252
1295
|
);
|
|
1253
|
-
}, vt = ({
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1296
|
+
}, vt = ({
|
|
1297
|
+
name: u,
|
|
1298
|
+
control: f,
|
|
1299
|
+
onChange: s,
|
|
1300
|
+
defaultValue: c,
|
|
1301
|
+
rules: d,
|
|
1302
|
+
shouldUnregister: t = !1,
|
|
1303
|
+
...l
|
|
1304
|
+
}) => {
|
|
1305
|
+
const p = x(
|
|
1306
|
+
(n, a) => {
|
|
1307
|
+
n(a.detail.value), s == null || s(a);
|
|
1257
1308
|
},
|
|
1258
|
-
[
|
|
1309
|
+
[s]
|
|
1259
1310
|
);
|
|
1260
1311
|
return /* @__PURE__ */ h.jsx(
|
|
1261
|
-
|
|
1312
|
+
S,
|
|
1262
1313
|
{
|
|
1263
|
-
name:
|
|
1264
|
-
control:
|
|
1265
|
-
|
|
1314
|
+
name: u,
|
|
1315
|
+
control: f,
|
|
1316
|
+
defaultValue: c,
|
|
1317
|
+
rules: d,
|
|
1318
|
+
shouldUnregister: t,
|
|
1319
|
+
render: ({ field: { onChange: n, value: a } }) => /* @__PURE__ */ h.jsx(Ir, { onChange: p.bind(null, n), value: a, items: l.items, ...l })
|
|
1266
1320
|
}
|
|
1267
1321
|
);
|
|
1268
1322
|
}, pt = ({
|
|
1269
|
-
name:
|
|
1270
|
-
control:
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1323
|
+
name: u,
|
|
1324
|
+
control: f,
|
|
1325
|
+
defaultValue: s,
|
|
1326
|
+
rules: c,
|
|
1327
|
+
shouldUnregister: d = !1,
|
|
1328
|
+
onBlur: t,
|
|
1329
|
+
onChange: l,
|
|
1330
|
+
...p
|
|
1274
1331
|
}) => {
|
|
1275
|
-
const
|
|
1276
|
-
(
|
|
1277
|
-
|
|
1332
|
+
const n = x(
|
|
1333
|
+
(i, v) => {
|
|
1334
|
+
i(), t == null || t(v);
|
|
1278
1335
|
},
|
|
1279
|
-
[
|
|
1280
|
-
),
|
|
1281
|
-
(
|
|
1282
|
-
|
|
1336
|
+
[t]
|
|
1337
|
+
), a = x(
|
|
1338
|
+
(i, v) => {
|
|
1339
|
+
i(v.detail.value), l == null || l(v);
|
|
1283
1340
|
},
|
|
1284
|
-
[
|
|
1341
|
+
[l]
|
|
1285
1342
|
);
|
|
1286
1343
|
return /* @__PURE__ */ h.jsx(
|
|
1287
|
-
|
|
1344
|
+
S,
|
|
1288
1345
|
{
|
|
1289
|
-
name:
|
|
1290
|
-
control:
|
|
1291
|
-
|
|
1346
|
+
name: u,
|
|
1347
|
+
control: f,
|
|
1348
|
+
defaultValue: s,
|
|
1349
|
+
rules: c,
|
|
1350
|
+
shouldUnregister: d,
|
|
1351
|
+
render: ({ field: { ref: i, onChange: v, onBlur: m, value: _ } }) => /* @__PURE__ */ h.jsx(
|
|
1292
1352
|
$r,
|
|
1293
1353
|
{
|
|
1294
|
-
name:
|
|
1295
|
-
ref:
|
|
1296
|
-
value:
|
|
1297
|
-
onBlur:
|
|
1298
|
-
onChange:
|
|
1299
|
-
...
|
|
1354
|
+
name: u,
|
|
1355
|
+
ref: i,
|
|
1356
|
+
value: _,
|
|
1357
|
+
onBlur: n.bind(null, m),
|
|
1358
|
+
onChange: a.bind(null, v),
|
|
1359
|
+
...p
|
|
1300
1360
|
}
|
|
1301
1361
|
)
|
|
1302
1362
|
}
|
|
1303
1363
|
);
|
|
1304
1364
|
}, bt = ({
|
|
1305
|
-
name:
|
|
1306
|
-
control:
|
|
1307
|
-
|
|
1308
|
-
|
|
1365
|
+
name: u,
|
|
1366
|
+
control: f,
|
|
1367
|
+
defaultValue: s,
|
|
1368
|
+
rules: c,
|
|
1369
|
+
shouldUnregister: d = !1,
|
|
1370
|
+
onChange: t,
|
|
1371
|
+
...l
|
|
1309
1372
|
}) => {
|
|
1310
|
-
const
|
|
1311
|
-
(
|
|
1312
|
-
|
|
1373
|
+
const p = x(
|
|
1374
|
+
(n, a) => {
|
|
1375
|
+
n(a.detail.checked), t == null || t(a);
|
|
1313
1376
|
},
|
|
1314
|
-
[
|
|
1377
|
+
[t]
|
|
1315
1378
|
);
|
|
1316
1379
|
return /* @__PURE__ */ h.jsx(
|
|
1317
|
-
|
|
1380
|
+
S,
|
|
1318
1381
|
{
|
|
1319
|
-
name:
|
|
1320
|
-
control:
|
|
1321
|
-
|
|
1382
|
+
name: u,
|
|
1383
|
+
control: f,
|
|
1384
|
+
defaultValue: s,
|
|
1385
|
+
rules: c,
|
|
1386
|
+
shouldUnregister: d,
|
|
1387
|
+
render: ({ field: { ref: n, onChange: a, value: i = !1 } }) => /* @__PURE__ */ h.jsx(Wr, { ref: n, name: u, checked: i, onChange: p.bind(null, a), ...l })
|
|
1322
1388
|
}
|
|
1323
1389
|
);
|
|
1324
1390
|
};
|
|
@@ -1335,8 +1401,8 @@ export {
|
|
|
1335
1401
|
at as CMultiselect,
|
|
1336
1402
|
it as CPropertyFilter,
|
|
1337
1403
|
lt as CRadioGroup,
|
|
1338
|
-
|
|
1339
|
-
|
|
1404
|
+
st as CS3ResourceSelector,
|
|
1405
|
+
ut as CSelect,
|
|
1340
1406
|
ot as CSlider,
|
|
1341
1407
|
ft as CTagEditor,
|
|
1342
1408
|
ct as CTextFilter,
|