@react-querybuilder/antd 6.1.2 → 6.1.4

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/dist/index.mjs CHANGED
@@ -22,16 +22,17 @@ const bn = ({
22
22
  context: d,
23
23
  validation: f,
24
24
  ruleOrGroup: v,
25
- ...m
25
+ schema: m,
26
+ ...b
26
27
  }) => /* @__PURE__ */ ze(
27
28
  Dv,
28
29
  {
29
30
  type: "primary",
30
31
  className: e,
31
32
  title: o && a ? o.title : r,
32
- onClick: (b) => t(b),
33
+ onClick: (h) => t(h),
33
34
  disabled: a && !o,
34
- ...m,
35
+ ...b,
35
36
  children: o && a ? o.label : n
36
37
  }
37
38
  );
@@ -48,8 +49,9 @@ const Cu = $s(
48
49
  disabled: i,
49
50
  context: s,
50
51
  validation: l,
51
- ...c
52
- }, d) => /* @__PURE__ */ ze(Av, { ref: d, className: e, title: t, ...c })
52
+ schema: c,
53
+ ...d
54
+ }, f) => /* @__PURE__ */ ze(Av, { ref: f, className: e, title: t, ...d })
53
55
  );
54
56
  Cu.displayName = "AntDDragHandle";
55
57
  const Su = ({
@@ -64,18 +66,19 @@ const Su = ({
64
66
  context: s,
65
67
  validation: l,
66
68
  testID: c,
67
- ...d
69
+ schema: d,
70
+ ...f
68
71
  }) => /* @__PURE__ */ ze(
69
72
  mu,
70
73
  {
71
74
  title: a,
72
75
  className: e,
73
- onChange: (f) => t(f),
76
+ onChange: (v) => t(v),
74
77
  checked: !!r,
75
78
  disabled: o,
76
79
  checkedChildren: n,
77
80
  unCheckedChildren: "=",
78
- ...d
81
+ ...f
79
82
  }
80
83
  );
81
84
  Su.displayName = "AntDNotToggle";
@@ -14797,18 +14800,19 @@ const { OptGroup: LC, Option: gu } = pu, VC = (e) => Pv(e) ? e.map((t) => /* @__
14797
14800
  operator: b,
14798
14801
  field: h,
14799
14802
  fieldData: g,
14800
- ...y
14803
+ schema: y,
14804
+ ...E
14801
14805
  }) => {
14802
- const { onChange: E, val: S } = Mv({ handleOnChange: t, listsAsArrays: s, multiple: i, value: r });
14806
+ const { onChange: S, val: C } = Mv({ handleOnChange: t, listsAsArrays: s, multiple: i, value: r });
14803
14807
  return /* @__PURE__ */ ze("span", { title: a, className: e, children: /* @__PURE__ */ ze(
14804
14808
  pu,
14805
14809
  {
14806
14810
  ...i ? { mode: "multiple" } : {},
14807
14811
  dropdownMatchSelectWidth: !1,
14808
14812
  disabled: o,
14809
- value: S,
14810
- onChange: E,
14811
- ...y,
14813
+ value: C,
14814
+ onChange: S,
14815
+ ...E,
14812
14816
  children: VC(n)
14813
14817
  }
14814
14818
  ) });