react-hook-form-cloudscape 1.4.2 → 1.4.3-dev.2

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,15 +15,15 @@ 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"), n = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, f = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { 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) && !a.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
  }
26
- return L.Fragment = a, L.jsx = t, L.jsxs = t, L;
26
+ return L.Fragment = n, L.jsx = t, L.jsxs = t, L;
27
27
  }
28
28
  var U = {};
29
29
  /**
@@ -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"), n = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), a = 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 === a || 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,11 +90,11 @@ 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
- case a:
96
- return "Portal";
97
95
  case n:
96
+ return "Portal";
97
+ case a:
98
98
  return "Profiler";
99
99
  case f:
100
100
  return "StrictMode";
@@ -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
- onRemoveButtonClick: a,
637
- onAddButtonClick: l,
636
+ onRemoveButtonClick: n,
637
+ onAddButtonClick: s,
638
638
  definition: f,
639
- defaultValue: n,
639
+ defaultValue: a,
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,29 +656,29 @@ 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), n == null || n(g, p);
660
660
  },
661
661
  onAddButtonClick: (g) => {
662
- t && n && o(n), l == null || l(g, o);
662
+ t && o(a), 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
- defaultValue: a,
671
- rules: l,
670
+ defaultValue: n,
671
+ rules: s,
672
672
  shouldUnregister: f = !1,
673
- onBlur: n,
673
+ onBlur: a,
674
674
  onChange: t,
675
675
  ...d
676
676
  }) => {
677
677
  const v = x(
678
678
  (o) => {
679
- n == null || n(o);
679
+ a == null || a(o);
680
680
  },
681
- [n]
681
+ [a]
682
682
  ), R = x(
683
683
  (o) => {
684
684
  t == null || t(o);
@@ -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
- defaultValue: a,
694
- rules: l,
693
+ defaultValue: n,
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,80 +711,80 @@ const qr = ({
711
711
  }
712
712
  );
713
713
  }, Kr = ({
714
- name: s,
714
+ name: l,
715
715
  control: u,
716
- onChange: a,
717
- ...l
716
+ onChange: n,
717
+ ...s
718
718
  }) => {
719
719
  const f = x(
720
- (n, t) => {
721
- n(t.detail.checked), a == null || a(t);
720
+ (a, t) => {
721
+ a(t.detail.checked), n == null || n(t);
722
722
  },
723
- [a]
723
+ [n]
724
724
  );
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: a, onChange: t, value: d = !1 } }) => /* @__PURE__ */ E.jsx(yr, { ref: a, 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
- onSelectionChange: a,
737
- ...l
736
+ onSelectionChange: n,
737
+ ...s
738
738
  }) => {
739
739
  const f = x(
740
- (n, t) => {
741
- n(t.detail.selectedItems), a == null || a(t);
740
+ (a, t) => {
741
+ a(t.detail.selectedItems), n == null || n(t);
742
742
  },
743
- [a]
743
+ [n]
744
744
  );
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: a, value: t } }) => /* @__PURE__ */ E.jsx(Rr, { onSelectionChange: f.bind(null, a), selectedItems: t, ...s })
751
751
  }
752
752
  );
753
753
  }, Xr = ({
754
- name: s,
754
+ name: l,
755
755
  control: u,
756
- onChange: a,
757
- ...l
756
+ onChange: n,
757
+ ...s
758
758
  }) => {
759
759
  const f = x(
760
- (n, t) => {
761
- n(t.detail.value), a == null || a(t);
760
+ (a, t) => {
761
+ a(t.detail.value), n == null || n(t);
762
762
  },
763
- [a]
763
+ [n]
764
764
  );
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: a, value: t } }) => /* @__PURE__ */ E.jsx(_r, { value: t || "", onChange: f.bind(null, a), ...s })
771
771
  }
772
772
  );
773
773
  }, Hr = ({
774
- name: s,
774
+ name: l,
775
775
  control: u,
776
- defaultValue: a,
777
- rules: l,
776
+ defaultValue: n,
777
+ rules: s,
778
778
  shouldUnregister: f = !1,
779
- onBlur: n,
779
+ onBlur: a,
780
780
  onChange: t,
781
781
  ...d
782
782
  }) => {
783
783
  const v = x(
784
784
  (o) => {
785
- n == null || n(o);
785
+ a == null || a(o);
786
786
  },
787
- [n]
787
+ [a]
788
788
  ), R = x(
789
789
  (o) => {
790
790
  t == null || t(o);
@@ -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
- defaultValue: a,
800
- rules: l,
799
+ defaultValue: n,
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,27 +817,27 @@ const qr = ({
817
817
  }
818
818
  );
819
819
  }, Zr = ({
820
- name: s,
820
+ name: l,
821
821
  control: u,
822
- onBlur: a,
823
- onChange: l,
822
+ onBlur: n,
823
+ onChange: s,
824
824
  ...f
825
825
  }) => {
826
- const n = x(
826
+ const a = x(
827
827
  (d) => {
828
- a == null || a(d);
828
+ n == null || n(d);
829
829
  },
830
- [a]
830
+ [n]
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,
@@ -845,7 +845,7 @@ const qr = ({
845
845
  ref: d,
846
846
  value: o,
847
847
  onBlur: (p) => {
848
- v(), n(p);
848
+ v(), a(p);
849
849
  },
850
850
  onChange: (p) => {
851
851
  R(p.detail.value), t(p);
@@ -856,20 +856,20 @@ const qr = ({
856
856
  }
857
857
  );
858
858
  }, Qr = ({
859
- name: s,
859
+ name: l,
860
860
  control: u,
861
- defaultValue: a,
862
- rules: l,
861
+ defaultValue: n,
862
+ rules: s,
863
863
  shouldUnregister: f = !1,
864
- onBlur: n,
864
+ onBlur: a,
865
865
  onChange: t,
866
866
  ...d
867
867
  }) => {
868
868
  const v = x(
869
869
  (o) => {
870
- n == null || n(o);
870
+ a == null || a(o);
871
871
  },
872
- [n]
872
+ [a]
873
873
  ), R = x(
874
874
  (o) => {
875
875
  t == null || t(o);
@@ -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
- defaultValue: a,
885
- rules: l,
884
+ defaultValue: n,
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,31 +901,31 @@ 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);
908
- f != null && f.length && a.push(...f);
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((n, s) => {
905
+ if (l != null && l.length) {
906
+ if ("options" in s) {
907
+ const f = ne(s.options, u);
908
+ f != null && f.length && n.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) && n.push(s);
911
911
  }
912
- return a;
912
+ return n;
913
913
  }, []).flat() : [], Br = { transformMultiselectOptionsToArray: te, mapSelectedOptionsWithOptions: ne }, et = ({
914
- name: s,
914
+ name: l,
915
915
  control: u,
916
- options: a,
917
- defaultValue: l,
916
+ options: n,
917
+ defaultValue: s,
918
918
  rules: f,
919
- onBlur: n,
919
+ onBlur: a,
920
920
  onChange: t,
921
921
  shouldUnregister: d = !1,
922
922
  ...v
923
923
  }) => {
924
924
  const R = x(
925
925
  (p, _) => {
926
- p(), n == null || n(_);
926
+ p(), a == null || a(_);
927
927
  },
928
- [n]
928
+ [a]
929
929
  ), o = x(
930
930
  (p, _) => {
931
931
  p(te(_.detail.selectedOptions)), t == null || t(_);
@@ -935,73 +935,73 @@ 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(
944
944
  Tr,
945
945
  {
946
946
  ref: p,
947
- options: a,
947
+ options: n,
948
948
  onBlur: () => R.bind(null, g),
949
949
  onChange: o.bind(null, _),
950
- selectedOptions: ne(a, T),
950
+ selectedOptions: ne(n, T),
951
951
  ...v
952
952
  }
953
953
  )
954
954
  }
955
955
  );
956
956
  }, rt = ({
957
- name: s,
957
+ name: l,
958
958
  control: u,
959
- onChange: a,
960
- ...l
959
+ onChange: n,
960
+ ...s
961
961
  }) => {
962
962
  const f = x(
963
- (n, t) => {
964
- n(t.detail.value), a == null || a(t);
963
+ (a, t) => {
964
+ a(t.detail.value), n == null || n(t);
965
965
  },
966
- [a]
966
+ [n]
967
967
  );
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: a, value: t } }) => /* @__PURE__ */ E.jsx(Or, { onChange: f.bind(null, a), value: t, items: s.items, ...s })
974
974
  }
975
975
  );
976
- }, Fe = (s = [], u) => {
977
- let a = null;
978
- return s && u && (a = s.reduce(
979
- (l, f) => {
976
+ }, Fe = (l = [], u) => {
977
+ let n = null;
978
+ return l && u && (n = l.reduce(
979
+ (s, f) => {
980
980
  if ("options" in f) {
981
- const n = Fe(f.options, u);
982
- n && l.push(n);
981
+ const a = Fe(f.options, u);
982
+ a && s.push(a);
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
- )[0]), a || null;
987
+ )[0]), n || null;
988
988
  }, Ur = {
989
989
  mapSelectedOptionWithOptions: Fe
990
990
  }, tt = ({
991
- name: s,
991
+ name: l,
992
992
  control: u,
993
- defaultValue: a,
994
- rules: l,
993
+ defaultValue: n,
994
+ rules: s,
995
995
  shouldUnregister: f = !1,
996
- onBlur: n,
996
+ onBlur: a,
997
997
  onChange: t,
998
998
  ...d
999
999
  }) => {
1000
1000
  const v = x(
1001
1001
  (o, p) => {
1002
- o(), n == null || n(p);
1002
+ o(), a == null || a(p);
1003
1003
  },
1004
- [n]
1004
+ [a]
1005
1005
  ), R = x(
1006
1006
  (o, p) => {
1007
1007
  o(p.detail.selectedOption.value), t == null || t(p);
@@ -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
- defaultValue: a,
1017
- rules: l,
1016
+ defaultValue: n,
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,27 +1029,27 @@ const qr = ({
1029
1029
  }
1030
1030
  );
1031
1031
  }, nt = ({
1032
- name: s,
1032
+ name: l,
1033
1033
  control: u,
1034
- defaultValue: a,
1035
- rules: l,
1034
+ defaultValue: n,
1035
+ rules: s,
1036
1036
  shouldUnregister: f = !1,
1037
- onChange: n,
1037
+ onChange: a,
1038
1038
  ...t
1039
1039
  }) => {
1040
1040
  const d = x(
1041
1041
  (v) => {
1042
- n == null || n(v);
1042
+ a == null || a(v);
1043
1043
  },
1044
- [n]
1044
+ [a]
1045
1045
  );
1046
1046
  return /* @__PURE__ */ E.jsx(
1047
1047
  S,
1048
1048
  {
1049
- name: s,
1049
+ name: l,
1050
1050
  control: u,
1051
- defaultValue: a,
1052
- rules: l,
1051
+ defaultValue: n,
1052
+ rules: s,
1053
1053
  shouldUnregister: f,
1054
1054
  render: ({ field: { onChange: v, value: R } }) => /* @__PURE__ */ E.jsx(
1055
1055
  Pr,
@@ -1064,76 +1064,76 @@ const qr = ({
1064
1064
  }
1065
1065
  );
1066
1066
  }, at = ({
1067
- name: s,
1067
+ name: l,
1068
1068
  control: u,
1069
- onChange: a,
1070
- ...l
1069
+ onChange: n,
1070
+ ...s
1071
1071
  }) => {
1072
1072
  const f = x(
1073
- (n, t) => {
1074
- n([...t.detail.tags]), a == null || a(t);
1073
+ (a, t) => {
1074
+ a([...t.detail.tags]), n == null || n(t);
1075
1075
  },
1076
- [a]
1076
+ [n]
1077
1077
  );
1078
1078
  return /* @__PURE__ */ E.jsx(
1079
1079
  S,
1080
1080
  {
1081
- name: s,
1081
+ name: l,
1082
1082
  control: u,
1083
- render: ({ field: { ref: n, onChange: t, value: d } }) => /* @__PURE__ */ E.jsx(
1083
+ render: ({ field: { ref: a, onChange: t, value: d } }) => /* @__PURE__ */ E.jsx(
1084
1084
  wr,
1085
1085
  {
1086
- ref: n,
1086
+ ref: a,
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
- onChange: a,
1098
- ...l
1097
+ onChange: n,
1098
+ ...s
1099
1099
  }) => {
1100
1100
  const f = x(
1101
- (n, t) => {
1102
- n(t.detail.filteringText), a == null || a(t);
1101
+ (a, t) => {
1102
+ a(t.detail.filteringText), n == null || n(t);
1103
1103
  },
1104
- [a]
1104
+ [n]
1105
1105
  );
1106
1106
  return /* @__PURE__ */ E.jsx(
1107
1107
  S,
1108
1108
  {
1109
- name: s,
1109
+ name: l,
1110
1110
  control: u,
1111
- render: ({ field: { ref: n, onChange: t, value: d } }) => /* @__PURE__ */ E.jsx(
1111
+ render: ({ field: { ref: a, onChange: t, value: d } }) => /* @__PURE__ */ E.jsx(
1112
1112
  kr,
1113
1113
  {
1114
- ref: n,
1114
+ ref: a,
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
- defaultValue: a,
1126
- rules: l,
1125
+ defaultValue: n,
1126
+ rules: s,
1127
1127
  shouldUnregister: f = !1,
1128
- onBlur: n,
1128
+ onBlur: a,
1129
1129
  onChange: t,
1130
1130
  ...d
1131
1131
  }) => {
1132
1132
  const v = x(
1133
1133
  (o, p) => {
1134
- o(), n == null || n(p);
1134
+ o(), a == null || a(p);
1135
1135
  },
1136
- [n]
1136
+ [a]
1137
1137
  ), R = x(
1138
1138
  (o, p) => {
1139
1139
  o(p.detail.value), t == null || t(p);
@@ -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
- defaultValue: a,
1149
- rules: l,
1148
+ defaultValue: n,
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,51 +1161,51 @@ const qr = ({
1161
1161
  )
1162
1162
  }
1163
1163
  );
1164
- }, lt = ({ name: s, control: u, onChange: a, ...l }) => {
1164
+ }, st = ({ name: l, control: u, onChange: n, ...s }) => {
1165
1165
  const f = x(
1166
- (n, t) => {
1167
- n(t.detail.value), a == null || a(t);
1166
+ (a, t) => {
1167
+ a(t.detail.value), n == null || n(t);
1168
1168
  },
1169
- [a]
1169
+ [n]
1170
1170
  );
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: a, value: t } }) => /* @__PURE__ */ E.jsx(Dr, { onChange: f.bind(null, a), value: t, items: s.items, ...s })
1177
1177
  }
1178
1178
  );
1179
1179
  }, ut = ({
1180
- name: s,
1180
+ name: l,
1181
1181
  control: u,
1182
- onBlur: a,
1183
- onChange: l,
1182
+ onBlur: n,
1183
+ onChange: s,
1184
1184
  ...f
1185
1185
  }) => {
1186
- const n = x(
1186
+ const a = x(
1187
1187
  (d, v) => {
1188
- d(), a == null || a(v);
1188
+ d(), n == null || n(v);
1189
1189
  },
1190
- [a]
1190
+ [n]
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
- onBlur: n.bind(null, R),
1208
+ onBlur: a.bind(null, R),
1209
1209
  onChange: t.bind(null, v),
1210
1210
  ...f
1211
1211
  }
@@ -1213,23 +1213,23 @@ const qr = ({
1213
1213
  }
1214
1214
  );
1215
1215
  }, ot = ({
1216
- name: s,
1216
+ name: l,
1217
1217
  control: u,
1218
- onChange: a,
1219
- ...l
1218
+ onChange: n,
1219
+ ...s
1220
1220
  }) => {
1221
1221
  const f = x(
1222
- (n, t) => {
1223
- n(t.detail.checked), a == null || a(t);
1222
+ (a, t) => {
1223
+ a(t.detail.checked), n == null || n(t);
1224
1224
  },
1225
- [a]
1225
+ [n]
1226
1226
  );
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: a, onChange: t, value: d = !1 } }) => /* @__PURE__ */ E.jsx(Ar, { ref: a, 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,