biblio-react 2.1.0 → 2.1.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/dist/index.js CHANGED
@@ -14827,10 +14827,13 @@ const Ld = ao(), ha = /* @__PURE__ */ o(({ children: e }) => {
14827
14827
  u.splice(d, 1);
14828
14828
  } else {
14829
14829
  let d = u.findIndex(
14830
- (h) => (h == null ? void 0 : h.claveFila) === l
14830
+ (p) => (p == null ? void 0 : p.claveFila) === l
14831
14831
  );
14832
- const p = t.current.getRowIndexRelativeToVisibleRows(l);
14833
- d = d !== -1 ? d : p !== void 0 ? p : u.length, u[d] = { ...c, estado: i, claveFila: l };
14832
+ d !== -1 ? u[d] = {
14833
+ ...c,
14834
+ estado: i,
14835
+ claveFila: l
14836
+ } : u.push({ ...c, estado: i, claveFila: l }), console.log({ currentIndex: d, inputValues: u });
14834
14837
  }
14835
14838
  s.setValue(r, u, { shouldDirty: !0 });
14836
14839
  },