formifex 0.3.2 → 0.3.3

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.es.js CHANGED
@@ -17052,9 +17052,7 @@ const Zb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17052
17052
  loading: F,
17053
17053
  searchPropList: x,
17054
17054
  ...I
17055
- } = n;
17056
- console.log(I);
17057
- const $ = h == null ? void 0 : h.map((M) => {
17055
+ } = n, $ = h == null ? void 0 : h.map((M) => {
17058
17056
  let H = M.split(".");
17059
17057
  return M1.useWatch(H, n.form);
17060
17058
  }).filter(Boolean), P = m == null ? void 0 : m.reduce((M, H) => {
@@ -17170,13 +17168,12 @@ const Zb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17170
17168
  ...(b || C) && { suffixIcon: /* @__PURE__ */ A.jsx(A.Fragment, {}) },
17171
17169
  filterOption: (M, H) => {
17172
17170
  var j;
17173
- return console.log(H, M), x && x.length > 0 ? x.some((Q) => {
17171
+ return x && x.length > 0 ? x.some((Q) => {
17174
17172
  var Z;
17175
17173
  return H != null && H[Q] ? (Z = H == null ? void 0 : H[Q]) == null ? void 0 : Z.toLowerCase().includes(M.toLowerCase()) : !1;
17176
17174
  }) : (j = H == null ? void 0 : H[z || "label"]) == null ? void 0 : j.toLowerCase().includes(M.toLowerCase());
17177
17175
  },
17178
17176
  onChange: (M) => {
17179
- console.log(M);
17180
17177
  let H = c || [];
17181
17178
  H = [...H], H.push(M), u == null || u.setFieldValue(g, H);
17182
17179
  },
@@ -21604,7 +21601,10 @@ const B6 = /* @__PURE__ */ Dl(J2), Rce = (n, e) => {
21604
21601
  {
21605
21602
  colon: typeof n.colon == "boolean" ? n.colon : !0,
21606
21603
  className: n.wrapperClassName,
21607
- style: n.wrapperStyle,
21604
+ style: {
21605
+ ...n.wrapperStyle,
21606
+ ...n.readOnly ? { pointerEvents: "none" } : {}
21607
+ },
21608
21608
  label: typeof n.label == "function" ? n.label(T) : n.label,
21609
21609
  name: N,
21610
21610
  tooltip: n.tooltip,