ia-table 0.7.7 → 0.7.9

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
@@ -14705,8 +14705,8 @@ const Bm = (e, t = {}) => {
14705
14705
  Te(() => {
14706
14706
  Rt && Rt.modelRef && Rt.modelRef.current && (Rt.modelRef.current.params.context = mi);
14707
14707
  }, [Rt, mi]), Te(() => {
14708
- jt && jn && x && At(et.startRow, et.endRow);
14709
- }, [jt, jn, At, et, x]);
14708
+ jt && jn && x && Ee && At(et.startRow, et.endRow);
14709
+ }, [jt, jn, At, et, x, Ee]);
14710
14710
  const Vt = Rt == null ? void 0 : Rt.modelRef, Ht = vt(() => {
14711
14711
  try {
14712
14712
  if (!ee && jt && jn) {
@@ -14796,7 +14796,7 @@ const Bm = (e, t = {}) => {
14796
14796
  }, [M]), Dr = We(() => ({ api: { ...va, setServerSideDataSource: ia } }), [jt, cn, jr, aa, F, Vt, Rt, At, ee, jn, wt, lt, Fe, Ne, Qn, r, Jt]), Tn = vt(() => Dr(), [Dr]);
14797
14797
  Te(() => {
14798
14798
  I && typeof I == "function" && Ee && I(Tn);
14799
- }, [I, Tn]), H1(pe, () => Ee ? { ...Tn, tableId: D } : null, [Tn, D]), Te(() => {
14799
+ }, [I, Tn, Ee]), H1(pe, () => Ee ? { ...Tn, tableId: D } : null, [Tn, D, Ee]), Te(() => {
14800
14800
  let rt = null;
14801
14801
  return t.length && Tn.api && (rt = setTimeout(() => {
14802
14802
  R.current && Tn && Tn.api.sizeColumnsToFit && Tn.api.sizeColumnsToFit();