@ninebone/grid 0.0.105 → 0.0.107

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/nine-grid.js CHANGED
@@ -28577,7 +28577,7 @@ class nf extends HTMLElement {
28577
28577
  r < 0 && (r = 0), r + this.thumbHeight > c && (r = parseInt(c - o));
28578
28578
  var n = parseInt($(".ng-container-body tbody.bindable tr", f(this, Pt).body).not(".nodata").length / f(this, Pt).template.length), s = parseInt(r * (f(this, Pt).data.count() + 1 - n) / parseInt(c - o));
28579
28579
  let e = f(this, Pt).matrix.getHeight(f(this, Pt).dataManager.viewRecords.rawIndex), i = f(this, Pt).matrix.getHeight(s);
28580
- iu.log(f(this, Pt).dataManager.viewRecords.rawIndex, s, e, i), tt(this, $r, f(this, $r) + l), iu.log(t.clientY, f(this, Hs), f(this, $r), l), qe(this, Cn, ql).call(this, f(this, $r)), f(this, Pt).dataManager.viewRecords.rawIndex != s && (f(this, Pt).scrollToV2(s), tt(this, $r, 0), qe(this, Cn, ql).call(this, 0));
28580
+ iu.log(f(this, Pt).dataManager.viewRecords.rawIndex, s, e, i), l > 0 && l > e && (l = e), l < 0 && Math.abs(l) > e && (l = -e), tt(this, $r, f(this, $r) - l), iu.log(t.clientY, f(this, Hs), f(this, $r), l), qe(this, Cn, ql).call(this, f(this, $r)), f(this, Pt).dataManager.viewRecords.rawIndex != s && (f(this, Pt).scrollToV2(s), tt(this, $r, 0), qe(this, Cn, ql).call(this, 0));
28581
28581
  });
28582
28582
  Y(this, vu, (t) => {
28583
28583
  if (f(this, Vr)) {
@@ -28614,7 +28614,7 @@ class nf extends HTMLElement {
28614
28614
  }
28615
28615
  Pt = new WeakMap(), Vr = new WeakMap(), ge = new WeakMap(), gr = new WeakMap(), br = new WeakMap(), Sn = new WeakMap(), Hs = new WeakMap(), $r = new WeakMap(), tc = new WeakMap(), ec = new WeakMap(), wa = new WeakMap(), rc = new WeakMap(), xa = new WeakMap(), _a = new WeakMap(), kn = new WeakMap(), vu = new WeakMap(), Cn = new WeakSet(), ql = function(t) {
28616
28616
  const l = f(this, Pt).body.querySelector(".ng-container-body tbody.bindable");
28617
- l && (l.style.transform = `translateY(-${t}px)`);
28617
+ l && (l.style.transform = `translateY(${t}px)`);
28618
28618
  }, gi = new WeakMap();
28619
28619
  var Ze, ms, ae, Wr, Xr, zs, sc, Sa, ic, ka, nc, Ca, Ea, En;
28620
28620
  class of extends HTMLElement {