react-hook-form-cloudscape 1.4.2 → 1.4.3-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/components/attribute-editor/attribute-editor.d.ts +1 -1
- package/package.json +1 -1
- package/react-hook-form-cloudscape.es.js +110 -110
- package/react-hook-form-cloudscape.es.js.map +1 -1
- package/react-hook-form-cloudscape.umd.js +5 -5
- package/react-hook-form-cloudscape.umd.js.map +1 -1
|
@@ -15,11 +15,11 @@ var we;
|
|
|
15
15
|
function Yr() {
|
|
16
16
|
if (we) return L;
|
|
17
17
|
we = 1;
|
|
18
|
-
var
|
|
18
|
+
var l = De, u = Symbol.for("react.element"), a = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, f = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, n = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
19
19
|
function t(d, v, R) {
|
|
20
20
|
var o, p = {}, _ = null, g = null;
|
|
21
21
|
R !== void 0 && (_ = "" + R), v.key !== void 0 && (_ = "" + v.key), v.ref !== void 0 && (g = v.ref);
|
|
22
|
-
for (o in v)
|
|
22
|
+
for (o in v) s.call(v, o) && !n.hasOwnProperty(o) && (p[o] = v[o]);
|
|
23
23
|
if (d && d.defaultProps) for (o in v = d.defaultProps, v) p[o] === void 0 && (p[o] = v[o]);
|
|
24
24
|
return { $$typeof: u, type: d, key: _, ref: g, props: p, _owner: f.current };
|
|
25
25
|
}
|
|
@@ -38,14 +38,14 @@ var U = {};
|
|
|
38
38
|
var ke;
|
|
39
39
|
function Mr() {
|
|
40
40
|
return ke || (ke = 1, process.env.NODE_ENV !== "production" && function() {
|
|
41
|
-
var
|
|
41
|
+
var l = De, u = Symbol.for("react.element"), a = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), t = Symbol.for("react.provider"), d = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), g = 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
45
|
var r = T && e[T] || e[K];
|
|
46
46
|
return typeof r == "function" ? r : null;
|
|
47
47
|
}
|
|
48
|
-
var I =
|
|
48
|
+
var I = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
49
49
|
function P(e) {
|
|
50
50
|
{
|
|
51
51
|
for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), c = 1; c < r; c++)
|
|
@@ -66,7 +66,7 @@ function Mr() {
|
|
|
66
66
|
var $e = !1, We = !1, Ye = !1, Me = !1, Le = !1, ae;
|
|
67
67
|
ae = Symbol.for("react.module.reference");
|
|
68
68
|
function Ue(e) {
|
|
69
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
69
|
+
return !!(typeof e == "string" || typeof e == "function" || e === s || e === n || Le || e === f || e === R || e === o || Me || e === g || $e || We || Ye || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === p || e.$$typeof === t || e.$$typeof === d || e.$$typeof === v || // 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.
|
|
@@ -90,7 +90,7 @@ function Mr() {
|
|
|
90
90
|
if (typeof e == "string")
|
|
91
91
|
return e;
|
|
92
92
|
switch (e) {
|
|
93
|
-
case
|
|
93
|
+
case s:
|
|
94
94
|
return "Fragment";
|
|
95
95
|
case a:
|
|
96
96
|
return "Portal";
|
|
@@ -127,14 +127,14 @@ function Mr() {
|
|
|
127
127
|
}
|
|
128
128
|
return null;
|
|
129
129
|
}
|
|
130
|
-
var F = Object.assign, Y = 0,
|
|
130
|
+
var F = 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
|
-
|
|
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,
|
|
@@ -164,10 +164,10 @@ function Mr() {
|
|
|
164
164
|
};
|
|
165
165
|
Object.defineProperties(console, {
|
|
166
166
|
log: F({}, e, {
|
|
167
|
-
value:
|
|
167
|
+
value: le
|
|
168
168
|
}),
|
|
169
169
|
info: F({}, e, {
|
|
170
|
-
value:
|
|
170
|
+
value: se
|
|
171
171
|
}),
|
|
172
172
|
warn: F({}, e, {
|
|
173
173
|
value: ue
|
|
@@ -485,11 +485,11 @@ Check the render method of \`` + e + "`.";
|
|
|
485
485
|
return "";
|
|
486
486
|
}
|
|
487
487
|
}
|
|
488
|
-
function
|
|
488
|
+
function lr(e) {
|
|
489
489
|
return "";
|
|
490
490
|
}
|
|
491
491
|
var je = {};
|
|
492
|
-
function
|
|
492
|
+
function sr(e) {
|
|
493
493
|
{
|
|
494
494
|
var r = xe();
|
|
495
495
|
if (!r) {
|
|
@@ -506,7 +506,7 @@ Check the top-level render call using <` + i + ">.");
|
|
|
506
506
|
if (!e._store || e._store.validated || e.key != null)
|
|
507
507
|
return;
|
|
508
508
|
e._store.validated = !0;
|
|
509
|
-
var i =
|
|
509
|
+
var i = sr(r);
|
|
510
510
|
if (je[i])
|
|
511
511
|
return;
|
|
512
512
|
je[i] = !0;
|
|
@@ -577,7 +577,7 @@ Check the top-level render call using <` + i + ">.");
|
|
|
577
577
|
if (!h) {
|
|
578
578
|
var b = "";
|
|
579
579
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (b += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
580
|
-
var w =
|
|
580
|
+
var w = lr();
|
|
581
581
|
w ? b += w : b += xe();
|
|
582
582
|
var j;
|
|
583
583
|
e === null ? j = "null" : Z(e) ? j = "array" : e !== void 0 && e.$$typeof === u ? (j = "<" + (D(e.type) || "Unknown") + " />", b = " 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, b);
|
|
@@ -612,7 +612,7 @@ 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 === s ? or(O) : ur(O), O;
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
618
|
function fr(e, r, i) {
|
|
@@ -622,7 +622,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
622
622
|
return Pe(e, r, i, !1);
|
|
623
623
|
}
|
|
624
624
|
var dr = cr, vr = fr;
|
|
625
|
-
U.Fragment =
|
|
625
|
+
U.Fragment = s, U.jsx = dr, U.jsxs = vr;
|
|
626
626
|
}()), U;
|
|
627
627
|
}
|
|
628
628
|
var Ce;
|
|
@@ -631,24 +631,24 @@ function Lr() {
|
|
|
631
631
|
}
|
|
632
632
|
var E = Lr();
|
|
633
633
|
const qr = ({
|
|
634
|
-
name:
|
|
634
|
+
name: l,
|
|
635
635
|
control: u,
|
|
636
636
|
onRemoveButtonClick: a,
|
|
637
|
-
onAddButtonClick:
|
|
637
|
+
onAddButtonClick: s,
|
|
638
638
|
definition: f,
|
|
639
639
|
defaultValue: n,
|
|
640
640
|
handleState: t = !0,
|
|
641
641
|
...d
|
|
642
642
|
}) => {
|
|
643
643
|
const { errors: v } = Ir({ control: u }), { fields: R, append: o, remove: p } = $r({
|
|
644
|
-
name:
|
|
644
|
+
name: l,
|
|
645
645
|
control: u
|
|
646
646
|
}), _ = Er(
|
|
647
647
|
() => f.map((g) => ({
|
|
648
|
-
errorText: (T, K) => g.label && Wr(v, `${
|
|
648
|
+
errorText: (T, K) => g.label && Wr(v, `${l}.${K}.${g.label.toString().toLowerCase()}.message`),
|
|
649
649
|
...g
|
|
650
650
|
})),
|
|
651
|
-
[f, v,
|
|
651
|
+
[f, v, l]
|
|
652
652
|
);
|
|
653
653
|
return /* @__PURE__ */ E.jsx(
|
|
654
654
|
hr,
|
|
@@ -656,19 +656,19 @@ const qr = ({
|
|
|
656
656
|
definition: _,
|
|
657
657
|
items: R || [],
|
|
658
658
|
onRemoveButtonClick: (g) => {
|
|
659
|
-
t &&
|
|
659
|
+
t && p(g.detail.itemIndex), a == null || a(g, p);
|
|
660
660
|
},
|
|
661
661
|
onAddButtonClick: (g) => {
|
|
662
|
-
t && n && o(n),
|
|
662
|
+
t && n && o(n), s == null || s(g, o);
|
|
663
663
|
},
|
|
664
664
|
...d
|
|
665
665
|
}
|
|
666
666
|
);
|
|
667
667
|
}, Gr = ({
|
|
668
|
-
name:
|
|
668
|
+
name: l,
|
|
669
669
|
control: u,
|
|
670
670
|
defaultValue: a,
|
|
671
|
-
rules:
|
|
671
|
+
rules: s,
|
|
672
672
|
shouldUnregister: f = !1,
|
|
673
673
|
onBlur: n,
|
|
674
674
|
onChange: t,
|
|
@@ -688,16 +688,16 @@ const qr = ({
|
|
|
688
688
|
return /* @__PURE__ */ E.jsx(
|
|
689
689
|
S,
|
|
690
690
|
{
|
|
691
|
-
name:
|
|
691
|
+
name: l,
|
|
692
692
|
control: u,
|
|
693
693
|
defaultValue: a,
|
|
694
|
-
rules:
|
|
694
|
+
rules: s,
|
|
695
695
|
shouldUnregister: f,
|
|
696
696
|
render: ({ field: { ref: o, onBlur: p, onChange: _, value: g } }) => /* @__PURE__ */ E.jsx(
|
|
697
697
|
mr,
|
|
698
698
|
{
|
|
699
699
|
ref: o,
|
|
700
|
-
name:
|
|
700
|
+
name: l,
|
|
701
701
|
value: g || "",
|
|
702
702
|
onBlur: (T) => {
|
|
703
703
|
p(), v(T);
|
|
@@ -711,10 +711,10 @@ const qr = ({
|
|
|
711
711
|
}
|
|
712
712
|
);
|
|
713
713
|
}, Kr = ({
|
|
714
|
-
name:
|
|
714
|
+
name: l,
|
|
715
715
|
control: u,
|
|
716
716
|
onChange: a,
|
|
717
|
-
...
|
|
717
|
+
...s
|
|
718
718
|
}) => {
|
|
719
719
|
const f = x(
|
|
720
720
|
(n, t) => {
|
|
@@ -725,16 +725,16 @@ const qr = ({
|
|
|
725
725
|
return /* @__PURE__ */ E.jsx(
|
|
726
726
|
S,
|
|
727
727
|
{
|
|
728
|
-
name:
|
|
728
|
+
name: l,
|
|
729
729
|
control: u,
|
|
730
|
-
render: ({ field: { ref: n, onChange: t, value: d = !1 } }) => /* @__PURE__ */ E.jsx(yr, { ref: n, onChange: f.bind(null, t), checked: d, ...
|
|
730
|
+
render: ({ field: { ref: n, onChange: t, value: d = !1 } }) => /* @__PURE__ */ E.jsx(yr, { ref: n, onChange: f.bind(null, t), checked: d, ...s })
|
|
731
731
|
}
|
|
732
732
|
);
|
|
733
733
|
}, zr = ({
|
|
734
|
-
name:
|
|
734
|
+
name: l,
|
|
735
735
|
control: u,
|
|
736
736
|
onSelectionChange: a,
|
|
737
|
-
...
|
|
737
|
+
...s
|
|
738
738
|
}) => {
|
|
739
739
|
const f = x(
|
|
740
740
|
(n, t) => {
|
|
@@ -745,16 +745,16 @@ const qr = ({
|
|
|
745
745
|
return /* @__PURE__ */ E.jsx(
|
|
746
746
|
S,
|
|
747
747
|
{
|
|
748
|
-
name:
|
|
748
|
+
name: l,
|
|
749
749
|
control: u,
|
|
750
|
-
render: ({ field: { onChange: n, value: t } }) => /* @__PURE__ */ E.jsx(Rr, { onSelectionChange: f.bind(null, n), selectedItems: t, ...
|
|
750
|
+
render: ({ field: { onChange: n, value: t } }) => /* @__PURE__ */ E.jsx(Rr, { onSelectionChange: f.bind(null, n), selectedItems: t, ...s })
|
|
751
751
|
}
|
|
752
752
|
);
|
|
753
753
|
}, Xr = ({
|
|
754
|
-
name:
|
|
754
|
+
name: l,
|
|
755
755
|
control: u,
|
|
756
756
|
onChange: a,
|
|
757
|
-
...
|
|
757
|
+
...s
|
|
758
758
|
}) => {
|
|
759
759
|
const f = x(
|
|
760
760
|
(n, t) => {
|
|
@@ -765,16 +765,16 @@ const qr = ({
|
|
|
765
765
|
return /* @__PURE__ */ E.jsx(
|
|
766
766
|
S,
|
|
767
767
|
{
|
|
768
|
-
name:
|
|
768
|
+
name: l,
|
|
769
769
|
control: u,
|
|
770
|
-
render: ({ field: { onChange: n, value: t } }) => /* @__PURE__ */ E.jsx(_r, { value: t || "", onChange: f.bind(null, n), ...
|
|
770
|
+
render: ({ field: { onChange: n, value: t } }) => /* @__PURE__ */ E.jsx(_r, { value: t || "", onChange: f.bind(null, n), ...s })
|
|
771
771
|
}
|
|
772
772
|
);
|
|
773
773
|
}, Hr = ({
|
|
774
|
-
name:
|
|
774
|
+
name: l,
|
|
775
775
|
control: u,
|
|
776
776
|
defaultValue: a,
|
|
777
|
-
rules:
|
|
777
|
+
rules: s,
|
|
778
778
|
shouldUnregister: f = !1,
|
|
779
779
|
onBlur: n,
|
|
780
780
|
onChange: t,
|
|
@@ -794,16 +794,16 @@ const qr = ({
|
|
|
794
794
|
return /* @__PURE__ */ E.jsx(
|
|
795
795
|
S,
|
|
796
796
|
{
|
|
797
|
-
name:
|
|
797
|
+
name: l,
|
|
798
798
|
control: u,
|
|
799
799
|
defaultValue: a,
|
|
800
|
-
rules:
|
|
800
|
+
rules: s,
|
|
801
801
|
shouldUnregister: f,
|
|
802
802
|
render: ({ field: { ref: o, onChange: p, onBlur: _, value: g } }) => /* @__PURE__ */ E.jsx(
|
|
803
803
|
gr,
|
|
804
804
|
{
|
|
805
805
|
ref: o,
|
|
806
|
-
name:
|
|
806
|
+
name: l,
|
|
807
807
|
value: g,
|
|
808
808
|
onBlur: (T) => {
|
|
809
809
|
_(), v(T);
|
|
@@ -817,10 +817,10 @@ const qr = ({
|
|
|
817
817
|
}
|
|
818
818
|
);
|
|
819
819
|
}, Zr = ({
|
|
820
|
-
name:
|
|
820
|
+
name: l,
|
|
821
821
|
control: u,
|
|
822
822
|
onBlur: a,
|
|
823
|
-
onChange:
|
|
823
|
+
onChange: s,
|
|
824
824
|
...f
|
|
825
825
|
}) => {
|
|
826
826
|
const n = x(
|
|
@@ -830,14 +830,14 @@ const qr = ({
|
|
|
830
830
|
[a]
|
|
831
831
|
), t = x(
|
|
832
832
|
(d) => {
|
|
833
|
-
|
|
833
|
+
s == null || s(d);
|
|
834
834
|
},
|
|
835
|
-
[
|
|
835
|
+
[s]
|
|
836
836
|
);
|
|
837
837
|
return /* @__PURE__ */ E.jsx(
|
|
838
838
|
S,
|
|
839
839
|
{
|
|
840
|
-
name:
|
|
840
|
+
name: l,
|
|
841
841
|
control: u,
|
|
842
842
|
render: ({ field: { ref: d, onBlur: v, onChange: R, value: o } }) => /* @__PURE__ */ E.jsx(
|
|
843
843
|
xr,
|
|
@@ -856,10 +856,10 @@ const qr = ({
|
|
|
856
856
|
}
|
|
857
857
|
);
|
|
858
858
|
}, Qr = ({
|
|
859
|
-
name:
|
|
859
|
+
name: l,
|
|
860
860
|
control: u,
|
|
861
861
|
defaultValue: a,
|
|
862
|
-
rules:
|
|
862
|
+
rules: s,
|
|
863
863
|
shouldUnregister: f = !1,
|
|
864
864
|
onBlur: n,
|
|
865
865
|
onChange: t,
|
|
@@ -879,16 +879,16 @@ const qr = ({
|
|
|
879
879
|
return /* @__PURE__ */ E.jsx(
|
|
880
880
|
S,
|
|
881
881
|
{
|
|
882
|
-
name:
|
|
882
|
+
name: l,
|
|
883
883
|
control: u,
|
|
884
884
|
defaultValue: a,
|
|
885
|
-
rules:
|
|
885
|
+
rules: s,
|
|
886
886
|
shouldUnregister: f,
|
|
887
887
|
render: ({ field: { ref: o, onBlur: p, onChange: _, value: g } }) => /* @__PURE__ */ E.jsx(
|
|
888
888
|
jr,
|
|
889
889
|
{
|
|
890
890
|
ref: o,
|
|
891
|
-
name:
|
|
891
|
+
name: l,
|
|
892
892
|
value: g,
|
|
893
893
|
onBlur: (T) => {
|
|
894
894
|
p(), v(T);
|
|
@@ -901,20 +901,20 @@ const qr = ({
|
|
|
901
901
|
)
|
|
902
902
|
}
|
|
903
903
|
);
|
|
904
|
-
}, te = (
|
|
905
|
-
if (
|
|
906
|
-
if ("options" in
|
|
907
|
-
const f = ne(
|
|
904
|
+
}, te = (l = []) => l != null && l.length ? l.map((u) => "options" in u ? te(u.options) : u.value).flat() : [], ne = (l = [], u = []) => l != null && l.length && (u != null && u.length) ? l.reduce((a, s) => {
|
|
905
|
+
if (l != null && l.length) {
|
|
906
|
+
if ("options" in s) {
|
|
907
|
+
const f = ne(s.options, u);
|
|
908
908
|
f != null && f.length && a.push(...f);
|
|
909
909
|
}
|
|
910
|
-
"value" in
|
|
910
|
+
"value" in s && u.find((f) => f === s.value) && a.push(s);
|
|
911
911
|
}
|
|
912
912
|
return a;
|
|
913
913
|
}, []).flat() : [], Br = { transformMultiselectOptionsToArray: te, mapSelectedOptionsWithOptions: ne }, et = ({
|
|
914
|
-
name:
|
|
914
|
+
name: l,
|
|
915
915
|
control: u,
|
|
916
916
|
options: a,
|
|
917
|
-
defaultValue:
|
|
917
|
+
defaultValue: s,
|
|
918
918
|
rules: f,
|
|
919
919
|
onBlur: n,
|
|
920
920
|
onChange: t,
|
|
@@ -935,9 +935,9 @@ const qr = ({
|
|
|
935
935
|
return /* @__PURE__ */ E.jsx(
|
|
936
936
|
S,
|
|
937
937
|
{
|
|
938
|
-
name:
|
|
938
|
+
name: l,
|
|
939
939
|
control: u,
|
|
940
|
-
defaultValue:
|
|
940
|
+
defaultValue: s,
|
|
941
941
|
rules: f,
|
|
942
942
|
shouldUnregister: d,
|
|
943
943
|
render: ({ field: { ref: p, onChange: _, onBlur: g, value: T } }) => /* @__PURE__ */ E.jsx(
|
|
@@ -954,10 +954,10 @@ const qr = ({
|
|
|
954
954
|
}
|
|
955
955
|
);
|
|
956
956
|
}, rt = ({
|
|
957
|
-
name:
|
|
957
|
+
name: l,
|
|
958
958
|
control: u,
|
|
959
959
|
onChange: a,
|
|
960
|
-
...
|
|
960
|
+
...s
|
|
961
961
|
}) => {
|
|
962
962
|
const f = x(
|
|
963
963
|
(n, t) => {
|
|
@@ -968,30 +968,30 @@ const qr = ({
|
|
|
968
968
|
return /* @__PURE__ */ E.jsx(
|
|
969
969
|
S,
|
|
970
970
|
{
|
|
971
|
-
name:
|
|
971
|
+
name: l,
|
|
972
972
|
control: u,
|
|
973
|
-
render: ({ field: { onChange: n, value: t } }) => /* @__PURE__ */ E.jsx(Or, { onChange: f.bind(null, n), value: t, items:
|
|
973
|
+
render: ({ field: { onChange: n, value: t } }) => /* @__PURE__ */ E.jsx(Or, { onChange: f.bind(null, n), value: t, items: s.items, ...s })
|
|
974
974
|
}
|
|
975
975
|
);
|
|
976
|
-
}, Fe = (
|
|
976
|
+
}, Fe = (l = [], u) => {
|
|
977
977
|
let a = null;
|
|
978
|
-
return
|
|
979
|
-
(
|
|
978
|
+
return l && u && (a = l.reduce(
|
|
979
|
+
(s, f) => {
|
|
980
980
|
if ("options" in f) {
|
|
981
981
|
const n = Fe(f.options, u);
|
|
982
|
-
n &&
|
|
982
|
+
n && s.push(n);
|
|
983
983
|
}
|
|
984
|
-
return "value" in f && f.value === u &&
|
|
984
|
+
return "value" in f && f.value === u && s.push(f), s;
|
|
985
985
|
},
|
|
986
986
|
[]
|
|
987
987
|
)[0]), a || null;
|
|
988
988
|
}, Ur = {
|
|
989
989
|
mapSelectedOptionWithOptions: Fe
|
|
990
990
|
}, tt = ({
|
|
991
|
-
name:
|
|
991
|
+
name: l,
|
|
992
992
|
control: u,
|
|
993
993
|
defaultValue: a,
|
|
994
|
-
rules:
|
|
994
|
+
rules: s,
|
|
995
995
|
shouldUnregister: f = !1,
|
|
996
996
|
onBlur: n,
|
|
997
997
|
onChange: t,
|
|
@@ -1011,10 +1011,10 @@ const qr = ({
|
|
|
1011
1011
|
return /* @__PURE__ */ E.jsx(
|
|
1012
1012
|
S,
|
|
1013
1013
|
{
|
|
1014
|
-
name:
|
|
1014
|
+
name: l,
|
|
1015
1015
|
control: u,
|
|
1016
1016
|
defaultValue: a,
|
|
1017
|
-
rules:
|
|
1017
|
+
rules: s,
|
|
1018
1018
|
shouldUnregister: f,
|
|
1019
1019
|
render: ({ field: { ref: o, onChange: p, onBlur: _, value: g } }) => /* @__PURE__ */ E.jsx(
|
|
1020
1020
|
Sr,
|
|
@@ -1029,10 +1029,10 @@ const qr = ({
|
|
|
1029
1029
|
}
|
|
1030
1030
|
);
|
|
1031
1031
|
}, nt = ({
|
|
1032
|
-
name:
|
|
1032
|
+
name: l,
|
|
1033
1033
|
control: u,
|
|
1034
1034
|
defaultValue: a,
|
|
1035
|
-
rules:
|
|
1035
|
+
rules: s,
|
|
1036
1036
|
shouldUnregister: f = !1,
|
|
1037
1037
|
onChange: n,
|
|
1038
1038
|
...t
|
|
@@ -1046,10 +1046,10 @@ const qr = ({
|
|
|
1046
1046
|
return /* @__PURE__ */ E.jsx(
|
|
1047
1047
|
S,
|
|
1048
1048
|
{
|
|
1049
|
-
name:
|
|
1049
|
+
name: l,
|
|
1050
1050
|
control: u,
|
|
1051
1051
|
defaultValue: a,
|
|
1052
|
-
rules:
|
|
1052
|
+
rules: s,
|
|
1053
1053
|
shouldUnregister: f,
|
|
1054
1054
|
render: ({ field: { onChange: v, value: R } }) => /* @__PURE__ */ E.jsx(
|
|
1055
1055
|
Pr,
|
|
@@ -1064,10 +1064,10 @@ const qr = ({
|
|
|
1064
1064
|
}
|
|
1065
1065
|
);
|
|
1066
1066
|
}, at = ({
|
|
1067
|
-
name:
|
|
1067
|
+
name: l,
|
|
1068
1068
|
control: u,
|
|
1069
1069
|
onChange: a,
|
|
1070
|
-
...
|
|
1070
|
+
...s
|
|
1071
1071
|
}) => {
|
|
1072
1072
|
const f = x(
|
|
1073
1073
|
(n, t) => {
|
|
@@ -1078,7 +1078,7 @@ const qr = ({
|
|
|
1078
1078
|
return /* @__PURE__ */ E.jsx(
|
|
1079
1079
|
S,
|
|
1080
1080
|
{
|
|
1081
|
-
name:
|
|
1081
|
+
name: l,
|
|
1082
1082
|
control: u,
|
|
1083
1083
|
render: ({ field: { ref: n, onChange: t, value: d } }) => /* @__PURE__ */ E.jsx(
|
|
1084
1084
|
wr,
|
|
@@ -1086,16 +1086,16 @@ const qr = ({
|
|
|
1086
1086
|
ref: n,
|
|
1087
1087
|
tags: d || [],
|
|
1088
1088
|
onChange: f.bind(null, t),
|
|
1089
|
-
...
|
|
1089
|
+
...s
|
|
1090
1090
|
}
|
|
1091
1091
|
)
|
|
1092
1092
|
}
|
|
1093
1093
|
);
|
|
1094
1094
|
}, it = ({
|
|
1095
|
-
name:
|
|
1095
|
+
name: l,
|
|
1096
1096
|
control: u,
|
|
1097
1097
|
onChange: a,
|
|
1098
|
-
...
|
|
1098
|
+
...s
|
|
1099
1099
|
}) => {
|
|
1100
1100
|
const f = x(
|
|
1101
1101
|
(n, t) => {
|
|
@@ -1106,7 +1106,7 @@ const qr = ({
|
|
|
1106
1106
|
return /* @__PURE__ */ E.jsx(
|
|
1107
1107
|
S,
|
|
1108
1108
|
{
|
|
1109
|
-
name:
|
|
1109
|
+
name: l,
|
|
1110
1110
|
control: u,
|
|
1111
1111
|
render: ({ field: { ref: n, onChange: t, value: d } }) => /* @__PURE__ */ E.jsx(
|
|
1112
1112
|
kr,
|
|
@@ -1114,16 +1114,16 @@ const qr = ({
|
|
|
1114
1114
|
ref: n,
|
|
1115
1115
|
filteringText: d,
|
|
1116
1116
|
onChange: f.bind(null, t),
|
|
1117
|
-
...
|
|
1117
|
+
...s
|
|
1118
1118
|
}
|
|
1119
1119
|
)
|
|
1120
1120
|
}
|
|
1121
1121
|
);
|
|
1122
|
-
},
|
|
1123
|
-
name:
|
|
1122
|
+
}, lt = ({
|
|
1123
|
+
name: l,
|
|
1124
1124
|
control: u,
|
|
1125
1125
|
defaultValue: a,
|
|
1126
|
-
rules:
|
|
1126
|
+
rules: s,
|
|
1127
1127
|
shouldUnregister: f = !1,
|
|
1128
1128
|
onBlur: n,
|
|
1129
1129
|
onChange: t,
|
|
@@ -1143,16 +1143,16 @@ const qr = ({
|
|
|
1143
1143
|
return /* @__PURE__ */ E.jsx(
|
|
1144
1144
|
S,
|
|
1145
1145
|
{
|
|
1146
|
-
name:
|
|
1146
|
+
name: l,
|
|
1147
1147
|
control: u,
|
|
1148
1148
|
defaultValue: a,
|
|
1149
|
-
rules:
|
|
1149
|
+
rules: s,
|
|
1150
1150
|
shouldUnregister: f,
|
|
1151
1151
|
render: ({ field: { onChange: o, onBlur: p, value: _, ref: g } }) => /* @__PURE__ */ E.jsx(
|
|
1152
1152
|
Cr,
|
|
1153
1153
|
{
|
|
1154
1154
|
ref: g,
|
|
1155
|
-
name:
|
|
1155
|
+
name: l,
|
|
1156
1156
|
value: _,
|
|
1157
1157
|
onBlur: v.bind(null, p),
|
|
1158
1158
|
onChange: R.bind(null, o),
|
|
@@ -1161,7 +1161,7 @@ const qr = ({
|
|
|
1161
1161
|
)
|
|
1162
1162
|
}
|
|
1163
1163
|
);
|
|
1164
|
-
},
|
|
1164
|
+
}, st = ({ name: l, control: u, onChange: a, ...s }) => {
|
|
1165
1165
|
const f = x(
|
|
1166
1166
|
(n, t) => {
|
|
1167
1167
|
n(t.detail.value), a == null || a(t);
|
|
@@ -1171,16 +1171,16 @@ const qr = ({
|
|
|
1171
1171
|
return /* @__PURE__ */ E.jsx(
|
|
1172
1172
|
S,
|
|
1173
1173
|
{
|
|
1174
|
-
name:
|
|
1174
|
+
name: l,
|
|
1175
1175
|
control: u,
|
|
1176
|
-
render: ({ field: { onChange: n, value: t } }) => /* @__PURE__ */ E.jsx(Dr, { onChange: f.bind(null, n), value: t, items:
|
|
1176
|
+
render: ({ field: { onChange: n, value: t } }) => /* @__PURE__ */ E.jsx(Dr, { onChange: f.bind(null, n), value: t, items: s.items, ...s })
|
|
1177
1177
|
}
|
|
1178
1178
|
);
|
|
1179
1179
|
}, ut = ({
|
|
1180
|
-
name:
|
|
1180
|
+
name: l,
|
|
1181
1181
|
control: u,
|
|
1182
1182
|
onBlur: a,
|
|
1183
|
-
onChange:
|
|
1183
|
+
onChange: s,
|
|
1184
1184
|
...f
|
|
1185
1185
|
}) => {
|
|
1186
1186
|
const n = x(
|
|
@@ -1190,19 +1190,19 @@ const qr = ({
|
|
|
1190
1190
|
[a]
|
|
1191
1191
|
), t = x(
|
|
1192
1192
|
(d, v) => {
|
|
1193
|
-
d(v.detail.value),
|
|
1193
|
+
d(v.detail.value), s == null || s(v);
|
|
1194
1194
|
},
|
|
1195
|
-
[
|
|
1195
|
+
[s]
|
|
1196
1196
|
);
|
|
1197
1197
|
return /* @__PURE__ */ E.jsx(
|
|
1198
1198
|
S,
|
|
1199
1199
|
{
|
|
1200
|
-
name:
|
|
1200
|
+
name: l,
|
|
1201
1201
|
control: u,
|
|
1202
1202
|
render: ({ field: { ref: d, onChange: v, onBlur: R, value: o } }) => /* @__PURE__ */ E.jsx(
|
|
1203
1203
|
Fr,
|
|
1204
1204
|
{
|
|
1205
|
-
name:
|
|
1205
|
+
name: l,
|
|
1206
1206
|
ref: d,
|
|
1207
1207
|
value: o,
|
|
1208
1208
|
onBlur: n.bind(null, R),
|
|
@@ -1213,10 +1213,10 @@ const qr = ({
|
|
|
1213
1213
|
}
|
|
1214
1214
|
);
|
|
1215
1215
|
}, ot = ({
|
|
1216
|
-
name:
|
|
1216
|
+
name: l,
|
|
1217
1217
|
control: u,
|
|
1218
1218
|
onChange: a,
|
|
1219
|
-
...
|
|
1219
|
+
...s
|
|
1220
1220
|
}) => {
|
|
1221
1221
|
const f = x(
|
|
1222
1222
|
(n, t) => {
|
|
@@ -1227,9 +1227,9 @@ const qr = ({
|
|
|
1227
1227
|
return /* @__PURE__ */ E.jsx(
|
|
1228
1228
|
S,
|
|
1229
1229
|
{
|
|
1230
|
-
name:
|
|
1230
|
+
name: l,
|
|
1231
1231
|
control: u,
|
|
1232
|
-
render: ({ field: { ref: n, onChange: t, value: d = !1 } }) => /* @__PURE__ */ E.jsx(Ar, { ref: n, name:
|
|
1232
|
+
render: ({ field: { ref: n, onChange: t, value: d = !1 } }) => /* @__PURE__ */ E.jsx(Ar, { ref: n, name: l, checked: d, onChange: f.bind(null, t), ...s })
|
|
1233
1233
|
}
|
|
1234
1234
|
);
|
|
1235
1235
|
};
|
|
@@ -1248,8 +1248,8 @@ export {
|
|
|
1248
1248
|
nt as CSlider,
|
|
1249
1249
|
at as CTagEditor,
|
|
1250
1250
|
it as CTextFilter,
|
|
1251
|
-
|
|
1252
|
-
|
|
1251
|
+
lt as CTextarea,
|
|
1252
|
+
st as CTiles,
|
|
1253
1253
|
ut as CTimeInput,
|
|
1254
1254
|
ot as CToggle,
|
|
1255
1255
|
Br as MultiSelectUtils,
|