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.
@@ -15,11 +15,11 @@ var we;
15
15
  function Yr() {
16
16
  if (we) return L;
17
17
  we = 1;
18
- var s = De, u = Symbol.for("react.element"), a = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, f = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, n = { key: !0, ref: !0, __self: !0, __source: !0 };
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) l.call(v, o) && !n.hasOwnProperty(o) && (p[o] = v[o]);
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 s = De, u = Symbol.for("react.element"), a = Symbol.for("react.portal"), l = 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";
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 = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
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 === l || 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
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 l:
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, se, le, ue, oe, fe, ce, de;
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
- se = console.log, le = console.info, ue = console.warn, oe = console.error, fe = console.group, ce = console.groupCollapsed, de = console.groupEnd;
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: se
167
+ value: le
168
168
  }),
169
169
  info: F({}, e, {
170
- value: le
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 sr(e) {
488
+ function lr(e) {
489
489
  return "";
490
490
  }
491
491
  var je = {};
492
- function lr(e) {
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 = lr(r);
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 = sr();
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 === l ? or(O) : ur(O), O;
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 = l, U.jsx = dr, U.jsxs = vr;
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: s,
634
+ name: l,
635
635
  control: u,
636
636
  onRemoveButtonClick: a,
637
- onAddButtonClick: l,
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: s,
644
+ name: l,
645
645
  control: u
646
646
  }), _ = Er(
647
647
  () => f.map((g) => ({
648
- errorText: (T, K) => g.label && Wr(v, `${s}.${K}.${g.label.toString().toLowerCase()}.message`),
648
+ errorText: (T, K) => g.label && Wr(v, `${l}.${K}.${g.label.toString().toLowerCase()}.message`),
649
649
  ...g
650
650
  })),
651
- [f, v, s]
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 && n && p(g.detail.itemIndex), a == null || a(g, p);
659
+ t && p(g.detail.itemIndex), a == null || a(g, p);
660
660
  },
661
661
  onAddButtonClick: (g) => {
662
- t && n && o(n), l == null || l(g, o);
662
+ t && n && o(n), s == null || s(g, o);
663
663
  },
664
664
  ...d
665
665
  }
666
666
  );
667
667
  }, Gr = ({
668
- name: s,
668
+ name: l,
669
669
  control: u,
670
670
  defaultValue: a,
671
- rules: l,
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: s,
691
+ name: l,
692
692
  control: u,
693
693
  defaultValue: a,
694
- rules: l,
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: s,
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: s,
714
+ name: l,
715
715
  control: u,
716
716
  onChange: a,
717
- ...l
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: s,
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, ...l })
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: s,
734
+ name: l,
735
735
  control: u,
736
736
  onSelectionChange: a,
737
- ...l
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: s,
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, ...l })
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: s,
754
+ name: l,
755
755
  control: u,
756
756
  onChange: a,
757
- ...l
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: s,
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), ...l })
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: s,
774
+ name: l,
775
775
  control: u,
776
776
  defaultValue: a,
777
- rules: l,
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: s,
797
+ name: l,
798
798
  control: u,
799
799
  defaultValue: a,
800
- rules: l,
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: s,
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: s,
820
+ name: l,
821
821
  control: u,
822
822
  onBlur: a,
823
- onChange: l,
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
- l == null || l(d);
833
+ s == null || s(d);
834
834
  },
835
- [l]
835
+ [s]
836
836
  );
837
837
  return /* @__PURE__ */ E.jsx(
838
838
  S,
839
839
  {
840
- name: s,
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: s,
859
+ name: l,
860
860
  control: u,
861
861
  defaultValue: a,
862
- rules: l,
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: s,
882
+ name: l,
883
883
  control: u,
884
884
  defaultValue: a,
885
- rules: l,
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: s,
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 = (s = []) => s != null && s.length ? s.map((u) => "options" in u ? te(u.options) : u.value).flat() : [], ne = (s = [], u = []) => s != null && s.length && (u != null && u.length) ? s.reduce((a, l) => {
905
- if (s != null && s.length) {
906
- if ("options" in l) {
907
- const f = ne(l.options, u);
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 l && u.find((f) => f === l.value) && a.push(l);
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: s,
914
+ name: l,
915
915
  control: u,
916
916
  options: a,
917
- defaultValue: l,
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: s,
938
+ name: l,
939
939
  control: u,
940
- defaultValue: l,
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: s,
957
+ name: l,
958
958
  control: u,
959
959
  onChange: a,
960
- ...l
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: s,
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: l.items, ...l })
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 = (s = [], u) => {
976
+ }, Fe = (l = [], u) => {
977
977
  let a = null;
978
- return s && u && (a = s.reduce(
979
- (l, f) => {
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 && l.push(n);
982
+ n && s.push(n);
983
983
  }
984
- return "value" in f && f.value === u && l.push(f), l;
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: s,
991
+ name: l,
992
992
  control: u,
993
993
  defaultValue: a,
994
- rules: l,
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: s,
1014
+ name: l,
1015
1015
  control: u,
1016
1016
  defaultValue: a,
1017
- rules: l,
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: s,
1032
+ name: l,
1033
1033
  control: u,
1034
1034
  defaultValue: a,
1035
- rules: l,
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: s,
1049
+ name: l,
1050
1050
  control: u,
1051
1051
  defaultValue: a,
1052
- rules: l,
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: s,
1067
+ name: l,
1068
1068
  control: u,
1069
1069
  onChange: a,
1070
- ...l
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: s,
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
- ...l
1089
+ ...s
1090
1090
  }
1091
1091
  )
1092
1092
  }
1093
1093
  );
1094
1094
  }, it = ({
1095
- name: s,
1095
+ name: l,
1096
1096
  control: u,
1097
1097
  onChange: a,
1098
- ...l
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: s,
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
- ...l
1117
+ ...s
1118
1118
  }
1119
1119
  )
1120
1120
  }
1121
1121
  );
1122
- }, st = ({
1123
- name: s,
1122
+ }, lt = ({
1123
+ name: l,
1124
1124
  control: u,
1125
1125
  defaultValue: a,
1126
- rules: l,
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: s,
1146
+ name: l,
1147
1147
  control: u,
1148
1148
  defaultValue: a,
1149
- rules: l,
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: s,
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
- }, lt = ({ name: s, control: u, onChange: a, ...l }) => {
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: s,
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: l.items, ...l })
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: s,
1180
+ name: l,
1181
1181
  control: u,
1182
1182
  onBlur: a,
1183
- onChange: l,
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), l == null || l(v);
1193
+ d(v.detail.value), s == null || s(v);
1194
1194
  },
1195
- [l]
1195
+ [s]
1196
1196
  );
1197
1197
  return /* @__PURE__ */ E.jsx(
1198
1198
  S,
1199
1199
  {
1200
- name: s,
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: s,
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: s,
1216
+ name: l,
1217
1217
  control: u,
1218
1218
  onChange: a,
1219
- ...l
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: s,
1230
+ name: l,
1231
1231
  control: u,
1232
- render: ({ field: { ref: n, onChange: t, value: d = !1 } }) => /* @__PURE__ */ E.jsx(Ar, { ref: n, name: s, checked: d, onChange: f.bind(null, t), ...l })
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
- st as CTextarea,
1252
- lt as CTiles,
1251
+ lt as CTextarea,
1252
+ st as CTiles,
1253
1253
  ut as CTimeInput,
1254
1254
  ot as CToggle,
1255
1255
  Br as MultiSelectUtils,