@ninebone/grid 0.0.148 → 0.0.149

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
@@ -1,9 +1,9 @@
1
- var Bu = Object.defineProperty;
1
+ var Fu = Object.defineProperty;
2
2
  var Su = (mt) => {
3
3
  throw TypeError(mt);
4
4
  };
5
- var Fu = (mt, C, t) => C in mt ? Bu(mt, C, { enumerable: !0, configurable: !0, writable: !0, value: t }) : mt[C] = t;
6
- var it = (mt, C, t) => Fu(mt, typeof C != "symbol" ? C + "" : C, t), ru = (mt, C, t) => C.has(mt) || Su("Cannot " + t);
5
+ var qu = (mt, C, t) => C in mt ? Fu(mt, C, { enumerable: !0, configurable: !0, writable: !0, value: t }) : mt[C] = t;
6
+ var it = (mt, C, t) => qu(mt, typeof C != "symbol" ? C + "" : C, t), ru = (mt, C, t) => C.has(mt) || Su("Cannot " + t);
7
7
  var f = (mt, C, t) => (ru(mt, C, "read from private field"), t ? t.call(mt) : C.get(mt)), Y = (mt, C, t) => C.has(mt) ? Su("Cannot add the same private member more than once") : C instanceof WeakSet ? C.add(mt) : C.set(mt, t), tt = (mt, C, t, l) => (ru(mt, C, "write to private field"), l ? l.call(mt, t) : C.set(mt, t), t), Ve = (mt, C, t) => (ru(mt, C, "access private method"), t);
8
8
  var ku = (mt, C, t, l) => ({
9
9
  set _(c) {
@@ -13,8 +13,8 @@ var ku = (mt, C, t, l) => ({
13
13
  return f(mt, C, l);
14
14
  }
15
15
  });
16
- import qu from "jquery";
17
- import { trace as Hu } from "@ninebone/util";
16
+ import Hu from "jquery";
17
+ import { trace as zu } from "@ninebone/util";
18
18
  class vu extends HTMLElement {
19
19
  constructor() {
20
20
  super(), this.attachShadow({ mode: "open" });
@@ -641,22 +641,22 @@ Array.prototype.nineBinarySearch = function(mt) {
641
641
  }
642
642
  return -1;
643
643
  };
644
- class zu extends HTMLElement {
644
+ class Uu extends HTMLElement {
645
645
  constructor() {
646
646
  super(), this.attachShadow({ mode: "open" });
647
647
  const C = document.createElement("button");
648
648
  C.textContent = "클릭하세요!", C.style.padding = "10px", C.style.backgroundColor = "blue", C.style.color = "white", this.shadowRoot.appendChild(C);
649
649
  }
650
650
  }
651
- customElements.get("nine-grid4") || customElements.define("nine-grid4", zu);
652
- class Uu extends HTMLElement {
651
+ customElements.get("nine-grid4") || customElements.define("nine-grid4", Uu);
652
+ class Vu extends HTMLElement {
653
653
  constructor() {
654
654
  super(), this.attachShadow({ mode: "open" });
655
655
  const C = document.createElement("button");
656
656
  C.textContent = "클릭하세요!", C.style.padding = "10px", C.style.backgroundColor = "blue", C.style.color = "white", this.shadowRoot.appendChild(C);
657
657
  }
658
658
  }
659
- customElements.get("nine-grid2") || customElements.define("nine-grid2", Uu);
659
+ customElements.get("nine-grid2") || customElements.define("nine-grid2", Vu);
660
660
  var Xn, Yn, Gn, os, Fl;
661
661
  class Mr extends HTMLElement {
662
662
  constructor() {
@@ -888,7 +888,7 @@ class _i extends Mr {
888
888
  }
889
889
  }
890
890
  var ks;
891
- class Vu extends Mr {
891
+ class Wu extends Mr {
892
892
  constructor() {
893
893
  super();
894
894
  Y(this, ks);
@@ -920,9 +920,9 @@ class Vu extends Mr {
920
920
  }
921
921
  }
922
922
  ks = new WeakMap();
923
- customElements.get("ng-button") || customElements.define("ng-button", Vu);
923
+ customElements.get("ng-button") || customElements.define("ng-button", Wu);
924
924
  var We, ql, Hl, zl, Ul;
925
- class Wu {
925
+ class Xu {
926
926
  constructor(C) {
927
927
  Y(this, We);
928
928
  Y(this, ql, (C) => {
@@ -970,8 +970,8 @@ class Wu {
970
970
  }
971
971
  }
972
972
  We = new WeakMap(), ql = new WeakMap(), Hl = new WeakMap(), zl = new WeakMap(), Ul = new WeakMap();
973
- var Xt, Vl, Ti, Cs, Es, Ri, As, Mi, Kn, Ii, Ni, lr, Eu, Au, Yu, Tu, Ru, Mu, Gu, Iu, Zs, Oi, Zn, Jn, Qn, to;
974
- class Xu {
973
+ var Xt, Vl, Ti, Cs, Es, Ri, As, Mi, Kn, Ii, Ni, lr, Au, Tu, Gu, Ru, Mu, Iu, Ku, Nu, Zs, Oi, Zn, Jn, Qn, to;
974
+ class Yu {
975
975
  constructor(C) {
976
976
  Y(this, lr);
977
977
  Y(this, Xt);
@@ -1126,7 +1126,7 @@ class Xu {
1126
1126
  if (!C) return;
1127
1127
  tt(this, Vl, f(this, Ti)), tt(this, Ti, C), C.focus();
1128
1128
  var t = C.closest("tr");
1129
- tt(this, lr, parseInt(t.dataset.row) * f(this, Xt).template.length + t.sectionRowIndex % f(this, Xt).template.length, Au), tt(this, lr, parseInt(C.dataset.col), Mu), tt(this, lr, C.cellIndex, Tu), tt(this, lr, C.dataset.bind, Iu), t.closest("tbody.fixed") || (f(this, Xt).row.at = C.dataset.row), f(this, Xt).selection.selectCell(f(this, lr, Eu), f(this, lr, Ru));
1129
+ tt(this, lr, parseInt(t.dataset.row) * f(this, Xt).template.length + t.sectionRowIndex % f(this, Xt).template.length, Tu), tt(this, lr, parseInt(C.dataset.col), Iu), tt(this, lr, C.cellIndex, Ru), tt(this, lr, C.dataset.bind, Nu), t.closest("tbody.fixed") || (f(this, Xt).row.at = C.dataset.row), f(this, Xt).selection.selectCell(f(this, lr, Au), f(this, lr, Mu));
1130
1130
  const l = C, c = parseInt(l.dataset.row), o = parseInt(l.dataset.matrixRow) % parseInt(l.dataset.row), r = parseInt(l.dataset.col), n = l.cellIndex, s = parseInt(f(this, Cs) / f(this, Xt).template.length), e = parseInt(f(this, Cs)) % parseInt(f(this, Cs) / f(this, Xt).template.length), i = f(this, Ri), u = f(this, Kn);
1131
1131
  if (c != s || o != e || r != i) {
1132
1132
  const a = new CustomEvent(H.EVENT.CELL_POS_CHANGED, { bubbles: !0, detail: {} });
@@ -1151,25 +1151,25 @@ class Xu {
1151
1151
  }
1152
1152
  }
1153
1153
  }
1154
- Xt = new WeakMap(), Vl = new WeakMap(), Ti = new WeakMap(), Cs = new WeakMap(), Es = new WeakMap(), Ri = new WeakMap(), As = new WeakMap(), Mi = new WeakMap(), Kn = new WeakMap(), Ii = new WeakMap(), Ni = new WeakMap(), lr = new WeakSet(), Eu = function() {
1154
+ Xt = new WeakMap(), Vl = new WeakMap(), Ti = new WeakMap(), Cs = new WeakMap(), Es = new WeakMap(), Ri = new WeakMap(), As = new WeakMap(), Mi = new WeakMap(), Kn = new WeakMap(), Ii = new WeakMap(), Ni = new WeakMap(), lr = new WeakSet(), Au = function() {
1155
1155
  return f(this, Es);
1156
- }, Au = function(C) {
1156
+ }, Tu = function(C) {
1157
1157
  tt(this, Cs, f(this, Es)), tt(this, Es, parseInt(C));
1158
- }, Yu = function() {
1158
+ }, Gu = function() {
1159
1159
  return f(this, Mi);
1160
- }, Tu = function(C) {
1160
+ }, Ru = function(C) {
1161
1161
  tt(this, Kn, f(this, Mi)), tt(this, Mi, parseInt(C));
1162
- }, Ru = function() {
1162
+ }, Mu = function() {
1163
1163
  return f(this, As);
1164
- }, Mu = function(C) {
1164
+ }, Iu = function(C) {
1165
1165
  tt(this, Ri, f(this, As)), tt(this, As, parseInt(C));
1166
- }, Gu = function() {
1166
+ }, Ku = function() {
1167
1167
  return f(this, Ni);
1168
- }, Iu = function(C) {
1168
+ }, Nu = function(C) {
1169
1169
  tt(this, Ii, f(this, Ni)), tt(this, Ni, C);
1170
1170
  }, Zs = new WeakMap(), Oi = new WeakMap(), Zn = new WeakMap(), Jn = new WeakMap(), Qn = new WeakMap(), to = new WeakMap();
1171
1171
  var kt, wr, ji, Wl, eo;
1172
- class Ku {
1172
+ class Zu {
1173
1173
  constructor(C) {
1174
1174
  Y(this, kt);
1175
1175
  Y(this, wr);
@@ -1409,7 +1409,7 @@ class Ku {
1409
1409
  }
1410
1410
  kt = new WeakMap(), wr = new WeakMap(), ji = new WeakMap(), Wl = new WeakMap(), eo = new WeakMap();
1411
1411
  var Ot, as, ro, so, io, Ir, no, oo, cr, ao, Xl, Yl, Gl, Kl, Zl, Jl, lo, ho, co, uo;
1412
- class Zu {
1412
+ class Ju {
1413
1413
  constructor(C) {
1414
1414
  Y(this, Ot);
1415
1415
  Y(this, as);
@@ -1569,7 +1569,7 @@ class Zu {
1569
1569
  }
1570
1570
  Ot = new WeakMap(), as = new WeakMap(), ro = new WeakMap(), so = new WeakMap(), io = new WeakMap(), Ir = new WeakMap(), no = new WeakMap(), oo = new WeakMap(), cr = new WeakMap(), ao = new WeakMap(), Xl = new WeakMap(), Yl = new WeakMap(), Gl = new WeakMap(), Kl = new WeakMap(), Zl = new WeakMap(), Jl = new WeakMap(), lo = new WeakMap(), ho = new WeakMap(), co = new WeakMap(), uo = new WeakMap();
1571
1571
  var Ql, th, $i, fo, Li;
1572
- class Ju extends Mr {
1572
+ class Qu extends Mr {
1573
1573
  constructor() {
1574
1574
  super();
1575
1575
  Y(this, Ql);
@@ -1651,9 +1651,9 @@ class Ju extends Mr {
1651
1651
  }
1652
1652
  }
1653
1653
  Ql = new WeakMap(), th = new WeakMap(), $i = new WeakMap(), fo = new WeakMap(), Li = new WeakMap();
1654
- customElements.get("ng-line-chart") || customElements.define("ng-line-chart", Ju);
1654
+ customElements.get("ng-line-chart") || customElements.define("ng-line-chart", Qu);
1655
1655
  var Pi, Di, po, Bi, Fi;
1656
- class Qu extends _i {
1656
+ class td extends _i {
1657
1657
  constructor() {
1658
1658
  super();
1659
1659
  Y(this, Pi);
@@ -1717,9 +1717,9 @@ class Qu extends _i {
1717
1717
  }
1718
1718
  }
1719
1719
  Pi = new WeakMap(), Di = new WeakMap(), po = new WeakMap(), Bi = new WeakMap(), Fi = new WeakMap();
1720
- customElements.get("ng-checkbox") || customElements.define("ng-checkbox", Qu);
1720
+ customElements.get("ng-checkbox") || customElements.define("ng-checkbox", td);
1721
1721
  var Js, Pr, mo, qi, go, eh;
1722
- class td extends HTMLElement {
1722
+ class ed extends HTMLElement {
1723
1723
  constructor() {
1724
1724
  super();
1725
1725
  Y(this, Js);
@@ -1757,8 +1757,8 @@ class td extends HTMLElement {
1757
1757
  }
1758
1758
  }
1759
1759
  Js = new WeakMap(), Pr = new WeakMap(), mo = new WeakMap(), qi = new WeakMap(), go = new WeakMap(), eh = new WeakMap();
1760
- customElements.get("ng-col-expand") || customElements.define("ng-col-expand", td);
1761
- class ed extends HTMLElement {
1760
+ customElements.get("ng-col-expand") || customElements.define("ng-col-expand", ed);
1761
+ class rd extends HTMLElement {
1762
1762
  constructor() {
1763
1763
  super(), this.attachShadow({ mode: "open" });
1764
1764
  }
@@ -1782,7 +1782,7 @@ class ed extends HTMLElement {
1782
1782
  `;
1783
1783
  }
1784
1784
  }
1785
- class rd extends HTMLElement {
1785
+ class sd extends HTMLElement {
1786
1786
  constructor() {
1787
1787
  super(), this.attachShadow({ mode: "open" });
1788
1788
  }
@@ -1832,10 +1832,10 @@ class rd extends HTMLElement {
1832
1832
  `;
1833
1833
  }
1834
1834
  }
1835
- customElements.get("ng-col-mover-grip") || customElements.define("ng-col-mover-grip", ed);
1836
- customElements.get("ng-col-mover-indi") || customElements.define("ng-col-mover-indi", rd);
1835
+ customElements.get("ng-col-mover-grip") || customElements.define("ng-col-mover-grip", rd);
1836
+ customElements.get("ng-col-mover-indi") || customElements.define("ng-col-mover-indi", sd);
1837
1837
  var we, Nr, Dr, bo, xr, Hi, Br, yo, hu, vo, cu, wo, xo, zi, Ui, _o;
1838
- class sd {
1838
+ class id {
1839
1839
  constructor(C) {
1840
1840
  Y(this, we);
1841
1841
  Y(this, Nr);
@@ -1954,7 +1954,7 @@ class sd {
1954
1954
  }
1955
1955
  we = new WeakMap(), Nr = new WeakMap(), Dr = new WeakMap(), bo = new WeakMap(), xr = new WeakMap(), Hi = new WeakMap(), Br = new WeakMap(), yo = new WeakMap(), hu = new WeakMap(), vo = new WeakMap(), cu = new WeakMap(), wo = new WeakMap(), xo = new WeakMap(), zi = new WeakMap(), Ui = new WeakMap(), _o = new WeakMap();
1956
1956
  var Me, _r, Sr, Ts, Rs, Fr, kr, Ms, Is, So, ko, Co, uu, Eo, rh, Ao, Vi, Wi, Xi, Qs, Yi, sh;
1957
- class id {
1957
+ class nd {
1958
1958
  constructor(C) {
1959
1959
  Y(this, Me);
1960
1960
  Y(this, _r);
@@ -2061,7 +2061,7 @@ class id {
2061
2061
  }
2062
2062
  Me = new WeakMap(), _r = new WeakMap(), Sr = new WeakMap(), Ts = new WeakMap(), Rs = new WeakMap(), Fr = new WeakMap(), kr = new WeakMap(), Ms = new WeakMap(), Is = new WeakMap(), So = new WeakMap(), ko = new WeakMap(), Co = new WeakMap(), uu = new WeakMap(), Eo = new WeakMap(), rh = new WeakMap(), Ao = new WeakMap(), Vi = new WeakMap(), Wi = new WeakMap(), Xi = new WeakMap(), Qs = new WeakMap(), Yi = new WeakMap(), sh = new WeakMap();
2063
2063
  var ue, ti, Or, Gi, To, ih;
2064
- class nd {
2064
+ class od {
2065
2065
  constructor(C) {
2066
2066
  Y(this, ue);
2067
2067
  it(this, "count", () => f(this, ue).activeTmpl.querySelectorAll("[data-bind]").length);
@@ -2260,12 +2260,12 @@ class nd {
2260
2260
  }
2261
2261
  }
2262
2262
  ue = new WeakMap(), ti = new WeakMap(), Or = new WeakMap(), Gi = new WeakMap(), To = new WeakMap(), ih = new WeakMap();
2263
- class od extends Hu.constructor {
2263
+ class ad extends zu.constructor {
2264
2264
  constructor() {
2265
2265
  super(), this.init("nine-grid", "green");
2266
2266
  }
2267
2267
  }
2268
- const ad = new od();
2268
+ const Cu = new ad();
2269
2269
  var nh, Ki, Le, rr, Ro, Ns, ei, Zi, oh, ah, lh, hh, du;
2270
2270
  class ld extends _i {
2271
2271
  constructor() {
@@ -3446,9 +3446,9 @@ function Dl(mt) {
3446
3446
  }
3447
3447
  var su = { exports: {} };
3448
3448
  /*! ExcelJS 19-10-2023 */
3449
- var Cu;
3449
+ var Eu;
3450
3450
  function wd() {
3451
- return Cu || (Cu = 1, (function(mt, C) {
3451
+ return Eu || (Eu = 1, (function(mt, C) {
3452
3452
  (function(t) {
3453
3453
  mt.exports = t();
3454
3454
  })((function() {
@@ -26626,7 +26626,7 @@ class Sd {
26626
26626
  }
26627
26627
  Ie = new WeakMap(), Wo = new WeakMap(), ln = new WeakMap(), hs = new WeakMap();
26628
26628
  var ni, hn, Xo, pu, mu, xh;
26629
- class Nu extends HTMLElement {
26629
+ class Ou extends HTMLElement {
26630
26630
  constructor() {
26631
26631
  super();
26632
26632
  Y(this, ni);
@@ -26686,7 +26686,7 @@ class Nu extends HTMLElement {
26686
26686
  }
26687
26687
  }
26688
26688
  ni = new WeakMap(), hn = new WeakMap(), Xo = new WeakMap(), pu = new WeakMap(), mu = new WeakMap(), xh = new WeakMap();
26689
- customElements.get("ng-export") || customElements.define("ng-export", Nu);
26689
+ customElements.get("ng-export") || customElements.define("ng-export", Ou);
26690
26690
  var Yo, nr, Go, _h;
26691
26691
  class kd {
26692
26692
  constructor(C) {
@@ -27476,7 +27476,7 @@ class zd extends HTMLElement {
27476
27476
  Y(this, Lt);
27477
27477
  Y(this, Qo);
27478
27478
  Y(this, Lh);
27479
- tt(this, Qo, new Ld(f(this, Lt))), tt(this, Lh, new Nu(f(this, Lt)));
27479
+ tt(this, Qo, new Ld(f(this, Lt))), tt(this, Lh, new Ou(f(this, Lt)));
27480
27480
  }
27481
27481
  connectedCallback() {
27482
27482
  tt(this, Lt, this.getRootNode().host.getRootNode().host), this.innerHTML = "";
@@ -28450,7 +28450,7 @@ class rf extends Mr {
28450
28450
  }
28451
28451
  }
28452
28452
  customElements.get("ng-row-state") || customElements.define("ng-row-state", rf);
28453
- var Bt, es, me, gr, br, wn, ba, Zh, Jh, Qh, ya, tc, va, wa, xn, ec, Ou, _n;
28453
+ var Bt, es, me, gr, br, wn, ba, Zh, Jh, Qh, ya, tc, va, wa, xn, ec, ju, _n;
28454
28454
  class sf extends HTMLElement {
28455
28455
  // 혹은 기존에 사용하는 누적 변수
28456
28456
  constructor() {
@@ -28565,7 +28565,7 @@ class sf extends HTMLElement {
28565
28565
  t.offsetX = t.targetTouches[0].pageX - l.left, t.offsetY = t.targetTouches[0].pageY - l.top, t.pageX = t.changedTouches[0].pageX, t.pageY = t.changedTouches[0].pageY, t.clientX = t.changedTouches[0].clientX, t.clientY = t.changedTouches[0].clientY, t.buttons = 1, f(this, xn).call(this, t);
28566
28566
  });
28567
28567
  Y(this, wa, (t) => {
28568
- tt(this, ba, t.clientY), ad.log("::", t, t.clientY), tt(this, es, !0), this.shiftY = t.offsetY + f(this, me).track.getBoundingClientRect().y, this.trackHeight = $(f(this, me).track).height(), this.thumbHeight = $(f(this, me).thumb).height(), this.nodataHeight = $(".ng-container .ng-table tr.nodata", f(this, Bt).body).height(), this.bodyHeight = $(".ng-container-body", f(this, Bt).body).height(), this.templateHeight = f(this, Bt).template.height(), this.theadHeight = $(".ng-container-body table > thead", f(this, Bt).body).height() || 0, this.tfootHeight = $(".ng-container-body table > tfoot", f(this, Bt).body).height() || 0, this.fixedHeight = $(".ng-container-body tbody.fixed", f(this, Bt).body).height(), this.tableHeight = $(".ng-container-body .ng-table", f(this, Bt).body).height(), tt(this, wn, !0), document.addEventListener("mousemove", f(this, xn)), typeof this.onDragStart == "function" && this.onDragStart();
28568
+ tt(this, ba, t.clientY), Cu.log("::", t, t.clientY), tt(this, es, !0), this.shiftY = t.offsetY + f(this, me).track.getBoundingClientRect().y, this.trackHeight = $(f(this, me).track).height(), this.thumbHeight = $(f(this, me).thumb).height(), this.nodataHeight = $(".ng-container .ng-table tr.nodata", f(this, Bt).body).height(), this.bodyHeight = $(".ng-container-body", f(this, Bt).body).height(), this.templateHeight = f(this, Bt).template.height(), this.theadHeight = $(".ng-container-body table > thead", f(this, Bt).body).height() || 0, this.tfootHeight = $(".ng-container-body table > tfoot", f(this, Bt).body).height() || 0, this.fixedHeight = $(".ng-container-body tbody.fixed", f(this, Bt).body).height(), this.tableHeight = $(".ng-container-body .ng-table", f(this, Bt).body).height(), tt(this, wn, !0), document.addEventListener("mousemove", f(this, xn)), typeof this.onDragStart == "function" && this.onDragStart();
28569
28569
  });
28570
28570
  Y(this, xn, (t) => {
28571
28571
  if (!f(this, es)) return;
@@ -28576,9 +28576,9 @@ class sf extends HTMLElement {
28576
28576
  o < 0 && (o = 0), o + this.thumbHeight > l && (o = parseInt(l - c));
28577
28577
  var r = parseInt($(".ng-container-body tbody.bindable tr", f(this, Bt).body).not(".nodata").length / f(this, Bt).template.length), n = parseInt(o * (f(this, Bt).data.count() + 1 - r) / parseInt(l - c));
28578
28578
  if (Math.max(0, f(this, Bt).matrix.getTotalHeight() - this.bodyHeight), f(this, Bt).matrix.getHeight(n), f(this, Bt).dataManager.viewRecords.rawIndex != n)
28579
- f(this, Bt).scrollToV2(n), tt(this, Zh, 0), Ve(this, ec, Ou).call(this, 0);
28579
+ f(this, Bt).scrollToV2(n), tt(this, Zh, 0), Ve(this, ec, ju).call(this, 0);
28580
28580
  else {
28581
- f(this, me).thumb.style.top = o + "px";
28581
+ f(this, me).thumb.style.top = o + "px", Cu.log(t.pageY - this.shiftY);
28582
28582
  return;
28583
28583
  }
28584
28584
  });
@@ -28604,7 +28604,7 @@ class sf extends HTMLElement {
28604
28604
  }), f(this, es), this.shiftX, f(this, Jh).call(this));
28605
28605
  }
28606
28606
  }
28607
- Bt = new WeakMap(), es = new WeakMap(), me = new WeakMap(), gr = new WeakMap(), br = new WeakMap(), wn = new WeakMap(), ba = new WeakMap(), Zh = new WeakMap(), Jh = new WeakMap(), Qh = new WeakMap(), ya = new WeakMap(), tc = new WeakMap(), va = new WeakMap(), wa = new WeakMap(), xn = new WeakMap(), ec = new WeakSet(), Ou = function(t) {
28607
+ Bt = new WeakMap(), es = new WeakMap(), me = new WeakMap(), gr = new WeakMap(), br = new WeakMap(), wn = new WeakMap(), ba = new WeakMap(), Zh = new WeakMap(), Jh = new WeakMap(), Qh = new WeakMap(), ya = new WeakMap(), tc = new WeakMap(), va = new WeakMap(), wa = new WeakMap(), xn = new WeakMap(), ec = new WeakSet(), ju = function(t) {
28608
28608
  t > 0 && (t = 0), f(this, Bt).body.querySelectorAll("tbody.bindable").forEach((c) => {
28609
28609
  c.style.transform = `translateY(${t}px)`;
28610
28610
  });
@@ -28635,6 +28635,7 @@ class nf extends HTMLElement {
28635
28635
  var t = f(this, ae).track.getBoundingClientRect(), l = f(this, ae).thumb.getBoundingClientRect(), c = t.width - l.width;
28636
28636
  f(this, qs).call(this, c);
28637
28637
  });
28638
+ //this.#thumbMoveTo(e.pageX - this.shiftX);
28638
28639
  Y(this, qs, (t) => {
28639
28640
  if (f(this, ae)) {
28640
28641
  var l = $("table", f(this, ae).container), c = f(this, ae).track.getBoundingClientRect(), o = f(this, ae).thumb.getBoundingClientRect();
@@ -30023,14 +30024,14 @@ class tu extends HTMLElement {
30023
30024
  r.grid = this;
30024
30025
  }), $(this.shadowRoot.querySelector("ng-head").shadowRoot.querySelector("ng-custom")).append(this.querySelectorAll("nx-buttons")), f(this, Qa).call(this), this.createTemplate(), f(this, Za).call(this), this.resetTemplate(), f(this, Cc).call(this);
30025
30026
  const l = this.shadowRoot.querySelector("ng-foot");
30026
- this.paging = l.shadowRoot.querySelector("ng-paging"), this.layout = l.shadowRoot.querySelector("ng-layout"), this.layout && this.layout.add(f(this, ss)), new Wu(this), this.pin = new ef(this), this.fields = new kd(this), this.cell = new Xu(this), this.touchEvent = new Zu(this), this.selection = new Ku(this), this.tables = new af(this), this.dataManager = new md(this), this.view = new df(this), this.tableUtils = new lf(this), this.columns = new nd(this);
30027
+ this.paging = l.shadowRoot.querySelector("ng-paging"), this.layout = l.shadowRoot.querySelector("ng-layout"), this.layout && this.layout.add(f(this, ss)), new Xu(this), this.pin = new ef(this), this.fields = new kd(this), this.cell = new Yu(this), this.touchEvent = new Ju(this), this.selection = new Zu(this), this.tables = new af(this), this.dataManager = new md(this), this.view = new df(this), this.tableUtils = new lf(this), this.columns = new od(this);
30027
30028
  for (var c in this.dataManager)
30028
30029
  this.dataManager[c] instanceof Function && !["xxx"].includes(c) ? this[c] = this.dataManager[c].bind(this) : ["data", "row", "tree"].includes(c) && (this[c] = this.dataManager[c]);
30029
30030
  for (var c in this.tableUtils)
30030
30031
  ["columns"].includes(c) && (this[c] = this.tableUtils[c]);
30031
30032
  for (var c in this.cell)
30032
30033
  this.cell[c] instanceof Function && !["refresh"].includes(c) || ["xx"].includes(c) && (this[c] = this.cell[c]);
30033
- H.j.querySelectorAll(this).hasClass("simple") || (this.filtering = new ff(this)), !H.j.querySelectorAll(this).hasClass("combo") && !H.j.querySelectorAll(this).hasClass("filter") && $(this.shadowRoot).append($("<ng-combo-panel></ng-combo-panel").hide()), this.sorting = new of(this), this.matrix = new qd(this), tt(this, bi, new id(this)), tt(this, Ga, new sd(this)), H.j.querySelectorAll(this).hasClass("simple") || tt(this, En, new Kd(this)), f(this, Ja).call(this), this.refresh(), this.body.querySelector(".ng-container-body .nodata") && new ResizeObserver((r, n) => {
30034
+ H.j.querySelectorAll(this).hasClass("simple") || (this.filtering = new ff(this)), !H.j.querySelectorAll(this).hasClass("combo") && !H.j.querySelectorAll(this).hasClass("filter") && $(this.shadowRoot).append($("<ng-combo-panel></ng-combo-panel").hide()), this.sorting = new of(this), this.matrix = new qd(this), tt(this, bi, new nd(this)), tt(this, Ga, new id(this)), H.j.querySelectorAll(this).hasClass("simple") || tt(this, En, new Kd(this)), f(this, Ja).call(this), this.refresh(), this.body.querySelector(".ng-container-body .nodata") && new ResizeObserver((r, n) => {
30034
30035
  this.body.querySelector("ng-vscrollbar").refresh();
30035
30036
  }).observe(this.body.querySelector(".ng-container-body .nodata")), !H.j.querySelectorAll(this).hasClass("filter") && !H.j.querySelectorAll(this).hasClass("combo") && ($(this.body).on("mousedown", (r) => {
30036
30037
  this.shadowRoot.querySelectorAll("ng-combo-panel,ng-filter-panel,ng-context-menu-panel").forEach((n) => {
@@ -30495,7 +30496,7 @@ class bf extends HTMLElement {
30495
30496
  bs = new WeakMap(), Tc = new WeakMap(), el = new WeakMap(), An = new WeakMap(), rl = new WeakMap(), sl = new WeakMap(), Tn = new WeakMap(), il = new WeakMap();
30496
30497
  customElements.get("nx-dialog") || customElements.define("nx-dialog", bf);
30497
30498
  var nl, Xs, ol, Rn, ys, yi, Mn, Rc;
30498
- class ju extends HTMLElement {
30499
+ class $u extends HTMLElement {
30499
30500
  constructor() {
30500
30501
  super();
30501
30502
  Y(this, nl);
@@ -30539,7 +30540,7 @@ class ju extends HTMLElement {
30539
30540
  });
30540
30541
  }
30541
30542
  }
30542
- nl = new WeakMap(), Xs = new WeakMap(), ol = new WeakMap(), Rn = new WeakMap(), ys = new WeakMap(), yi = new WeakMap(), Mn = new WeakMap(), Rc = new WeakMap(), it(ju, "i18n", {
30543
+ nl = new WeakMap(), Xs = new WeakMap(), ol = new WeakMap(), Rn = new WeakMap(), ys = new WeakMap(), yi = new WeakMap(), Mn = new WeakMap(), Rc = new WeakMap(), it($u, "i18n", {
30543
30544
  convertArrayToJSON: (t) => {
30544
30545
  let l = {};
30545
30546
  for (const c of t) {
@@ -30575,7 +30576,7 @@ nl = new WeakMap(), Xs = new WeakMap(), ol = new WeakMap(), Rn = new WeakMap(),
30575
30576
  console.log("=========");
30576
30577
  }
30577
30578
  });
30578
- customElements.get("nx-i18n") || customElements.define("nx-i18n", ju);
30579
+ customElements.get("nx-i18n") || customElements.define("nx-i18n", $u);
30579
30580
  var In, Nn, Mc, al;
30580
30581
  class yf extends HTMLElement {
30581
30582
  constructor() {
@@ -30945,14 +30946,14 @@ class xf extends HTMLElement {
30945
30946
  }
30946
30947
  }
30947
30948
  On = new WeakMap(), jn = new WeakMap(), hl = new WeakMap(), cl = new WeakMap(), ul = new WeakMap(), Ic = new WeakMap();
30948
- var vi, Nc, Oc, $u;
30949
+ var vi, Nc, Oc, Lu;
30949
30950
  class _f extends HTMLElement {
30950
30951
  constructor() {
30951
30952
  super();
30952
30953
  Y(this, Oc);
30953
30954
  Y(this, vi);
30954
30955
  Y(this, Nc, () => {
30955
- Ve(this, Oc, $u).call(this), tt(this, vi, this.shadowRoot.getRootNode().host.getRootNode().host), f(this, vi) && (this.shadowRoot.querySelector(".icon:nth-of-type(1)").addEventListener("click", (t) => {
30956
+ Ve(this, Oc, Lu).call(this), tt(this, vi, this.shadowRoot.getRootNode().host.getRootNode().host), f(this, vi) && (this.shadowRoot.querySelector(".icon:nth-of-type(1)").addEventListener("click", (t) => {
30956
30957
  f(this, vi).expand();
30957
30958
  }), this.shadowRoot.querySelectorAll(".icon:nth-of-type(2),.icon:nth-of-type(3)").forEach((t) => {
30958
30959
  t.addEventListener("click", (l) => {
@@ -30966,7 +30967,7 @@ class _f extends HTMLElement {
30966
30967
  H.waitForInnerHTML(this).then(() => f(this, Nc).call(this)).catch((t) => console.error(t));
30967
30968
  }
30968
30969
  }
30969
- vi = new WeakMap(), Nc = new WeakMap(), Oc = new WeakSet(), $u = function() {
30970
+ vi = new WeakMap(), Nc = new WeakMap(), Oc = new WeakSet(), Lu = function() {
30970
30971
  const t = this.getAttribute("icon-color") || "#eee", l = this.innerHTML.trim();
30971
30972
  this.innerHTML = "", this.shadowRoot.innerHTML = `
30972
30973
  <style>
@@ -30995,14 +30996,14 @@ vi = new WeakMap(), Nc = new WeakMap(), Oc = new WeakSet(), $u = function() {
30995
30996
  </div>
30996
30997
  `;
30997
30998
  };
30998
- var $n, jc, $c, Lu;
30999
+ var $n, jc, $c, Pu;
30999
31000
  class Sf extends HTMLElement {
31000
31001
  constructor() {
31001
31002
  super();
31002
31003
  Y(this, $c);
31003
31004
  Y(this, $n);
31004
31005
  Y(this, jc, () => {
31005
- tt(this, $n, this.closest("nx-side-menu")), Ve(this, $c, Lu).call(this), this.shadowRoot.querySelector(".icon:nth-of-type(1)").addEventListener("click", () => {
31006
+ tt(this, $n, this.closest("nx-side-menu")), Ve(this, $c, Pu).call(this), this.shadowRoot.querySelector(".icon:nth-of-type(1)").addEventListener("click", () => {
31006
31007
  f(this, $n).expand();
31007
31008
  }), this.shadowRoot.querySelectorAll(".icon:nth-of-type(2), .icon:nth-of-type(3)").forEach((t) => {
31008
31009
  t.addEventListener("click", (l) => {
@@ -31016,7 +31017,7 @@ class Sf extends HTMLElement {
31016
31017
  H.waitForInnerHTML(this).then(() => f(this, jc).call(this)).catch((t) => console.error(t));
31017
31018
  }
31018
31019
  }
31019
- $n = new WeakMap(), jc = new WeakMap(), $c = new WeakSet(), Lu = function() {
31020
+ $n = new WeakMap(), jc = new WeakMap(), $c = new WeakSet(), Pu = function() {
31020
31021
  const t = this.getAttribute("icon-color") || "#eee", l = this.innerHTML.trim();
31021
31022
  this.innerHTML = "", this.shadowRoot.innerHTML = `
31022
31023
  <style>
@@ -31429,7 +31430,7 @@ class If extends HTMLElement {
31429
31430
  }
31430
31431
  ar = new WeakMap(), gl = new WeakMap(), Fc = new WeakMap();
31431
31432
  customElements.get("nx-collapse") || customElements.define("nx-collapse", If);
31432
- var zn, Pu, Du, qc;
31433
+ var zn, Du, Bu, qc;
31433
31434
  class Nf extends HTMLElement {
31434
31435
  constructor() {
31435
31436
  super();
@@ -31442,7 +31443,7 @@ class Nf extends HTMLElement {
31442
31443
  t && t.click();
31443
31444
  });
31444
31445
  Y(this, qc, () => {
31445
- this.classList.add(this.getAttribute("theme") || "theme-1"), Ve(this, zn, Pu).call(this), this.shadowRoot.querySelectorAll(".tab-button").forEach((r) => {
31446
+ this.classList.add(this.getAttribute("theme") || "theme-1"), Ve(this, zn, Du).call(this), this.shadowRoot.querySelectorAll(".tab-button").forEach((r) => {
31446
31447
  r.addEventListener("click", this.switchTabHandler);
31447
31448
  });
31448
31449
  const t = this.shadowRoot.querySelector(".tab-button"), l = this.shadowRoot.querySelector(".tab-page");
@@ -31465,7 +31466,7 @@ class Nf extends HTMLElement {
31465
31466
 
31466
31467
  <div class="tabs"></div>
31467
31468
  <div class="tab-pages"></div>
31468
- `, this.switchTabHandler = Ve(this, zn, Du).bind(this), this.tabpage = {
31469
+ `, this.switchTabHandler = Ve(this, zn, Bu).bind(this), this.tabpage = {
31469
31470
  show: (t) => {
31470
31471
  this.shadowRoot.querySelectorAll(".tab-button").forEach((l, c) => {
31471
31472
  l.innerText.trim() === t && (l.style.display = "unset");
@@ -31487,7 +31488,7 @@ class Nf extends HTMLElement {
31487
31488
  f(this, qc).call(this), this.dispatchEvent(new CustomEvent(H.EVENT.TAB_LOAD, { bubbles: !0, detail: {} }));
31488
31489
  }
31489
31490
  }
31490
- zn = new WeakSet(), Pu = function() {
31491
+ zn = new WeakSet(), Du = function() {
31491
31492
  const t = this.shadowRoot.querySelector(".tabs"), l = this.shadowRoot.querySelector(".tab-pages"), c = this.querySelectorAll("nx-tab-page");
31492
31493
  c.forEach((o, r) => {
31493
31494
  const n = document.createElement("div");
@@ -31497,7 +31498,7 @@ zn = new WeakSet(), Pu = function() {
31497
31498
  }), c.forEach((o) => {
31498
31499
  o.remove();
31499
31500
  });
31500
- }, Du = function(t) {
31501
+ }, Bu = function(t) {
31501
31502
  const l = t.target;
31502
31503
  if (console.log(t), !l.classList.contains("tab-button")) return;
31503
31504
  const c = l.getAttribute("data-target"), o = this.shadowRoot.querySelector(".tab-button.active"), r = this.shadowRoot.querySelector(".tab-page.active"), n = this.shadowRoot.getElementById(c);
@@ -32123,7 +32124,7 @@ class Hf extends HTMLElement {
32123
32124
  }
32124
32125
  ws = new WeakMap(), Jc = new WeakMap(), Al = new WeakMap(), qn = new WeakMap(), Tl = new WeakMap(), Rl = new WeakMap(), Hn = new WeakMap(), Ml = new WeakMap();
32125
32126
  customElements.get("nx-modal") || customElements.define("nx-modal", Hf);
32126
- window.jQuery = window.$ = qu;
32127
+ window.jQuery = window.$ = Hu;
32127
32128
  function Wf() {
32128
32129
  customElements.get("nine-grid") || customElements.define("nine-grid", tu);
32129
32130
  }