@ninebone/grid 0.0.96 → 0.0.97

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
@@ -1718,12 +1718,12 @@ class td extends Ci {
1718
1718
  }
1719
1719
  Fi = new WeakMap(), qi = new WeakMap(), bo = new WeakMap(), Hi = new WeakMap(), zi = new WeakMap();
1720
1720
  customElements.get("ng-checkbox") || customElements.define("ng-checkbox", td);
1721
- var ti, Dr, yo, Ui, vo, ih;
1721
+ var ti, Pr, yo, Ui, vo, ih;
1722
1722
  class ed extends HTMLElement {
1723
1723
  constructor() {
1724
1724
  super();
1725
1725
  Y(this, ti);
1726
- Y(this, Dr);
1726
+ Y(this, Pr);
1727
1727
  Y(this, yo);
1728
1728
  Y(this, Ui);
1729
1729
  Y(this, vo, (t) => {
@@ -1731,15 +1731,15 @@ class ed extends HTMLElement {
1731
1731
  });
1732
1732
  it(this, "expand", () => {
1733
1733
  if (H.j.querySelectorAll(this).hasClass("expand")) return;
1734
- $(this).addClass("expand"), f(this, Dr).style.color = f(this, yo);
1735
- const t = parseInt(f(this, Dr).dataset.col), l = f(this, Dr).colSpan || 1;
1734
+ $(this).addClass("expand"), f(this, Pr).style.color = f(this, yo);
1735
+ const t = parseInt(f(this, Pr).dataset.col), l = f(this, Pr).colSpan || 1;
1736
1736
  for (var c = 0; c < l; c++)
1737
1737
  f(this, ti).columns.width(t + c, f(this, Ui)[c]);
1738
1738
  });
1739
1739
  Y(this, ih, () => {
1740
1740
  if (!H.j.querySelectorAll(this).hasClass("expand")) return;
1741
- $(this).removeClass("expand"), tt(this, yo, f(this, Dr).style.color), f(this, Dr).style.color = "transparent", tt(this, Ui, []);
1742
- const t = parseInt(f(this, Dr).dataset.col), l = f(this, Dr).colSpan || 1, c = 20 / l;
1741
+ $(this).removeClass("expand"), tt(this, yo, f(this, Pr).style.color), f(this, Pr).style.color = "transparent", tt(this, Ui, []);
1742
+ const t = parseInt(f(this, Pr).dataset.col), l = f(this, Pr).colSpan || 1, c = 20 / l;
1743
1743
  for (var o = 0; o < l; o++) {
1744
1744
  const r = f(this, ti).body.querySelector(`colgroup col[data-col="${t + o}"]`);
1745
1745
  f(this, Ui).push(r.getAttribute("width")), f(this, ti).columns.width(t + o, c);
@@ -1753,10 +1753,10 @@ class ed extends HTMLElement {
1753
1753
  @import "https://cdn.jsdelivr.net/npm/ninegrid2@${H.version}/dist/css/ngColExpand.css";
1754
1754
  ${H.getCustomPath(this, "ngColExpand.css")}
1755
1755
  </style>
1756
- `, tt(this, ti, this.getRootNode().host), tt(this, Dr, this.closest("th,td")), H.j.querySelectorAll(this).addClass("expand"), $(this).off("click", f(this, vo)), $(this).on("click", f(this, vo));
1756
+ `, tt(this, ti, this.getRootNode().host), tt(this, Pr, this.closest("th,td")), H.j.querySelectorAll(this).addClass("expand"), $(this).off("click", f(this, vo)), $(this).on("click", f(this, vo));
1757
1757
  }
1758
1758
  }
1759
- ti = new WeakMap(), Dr = new WeakMap(), yo = new WeakMap(), Ui = new WeakMap(), vo = new WeakMap(), ih = new WeakMap();
1759
+ ti = new WeakMap(), Pr = new WeakMap(), yo = new WeakMap(), Ui = new WeakMap(), vo = new WeakMap(), ih = new WeakMap();
1760
1760
  customElements.get("ng-col-expand") || customElements.define("ng-col-expand", ed);
1761
1761
  class rd extends HTMLElement {
1762
1762
  constructor() {
@@ -1834,16 +1834,16 @@ class sd extends HTMLElement {
1834
1834
  }
1835
1835
  customElements.get("ng-col-mover-grip") || customElements.define("ng-col-mover-grip", rd);
1836
1836
  customElements.get("ng-col-mover-indi") || customElements.define("ng-col-mover-indi", sd);
1837
- var we, Nr, Br, wo, xr, Vi, Fr, xo, cu, _o, uu, So, ko, Wi, Xi, Co;
1837
+ var we, Nr, Dr, wo, xr, Vi, Br, xo, cu, _o, uu, So, ko, Wi, Xi, Co;
1838
1838
  class id {
1839
1839
  constructor(C) {
1840
1840
  Y(this, we);
1841
1841
  Y(this, Nr);
1842
- Y(this, Br);
1842
+ Y(this, Dr);
1843
1843
  Y(this, wo);
1844
1844
  Y(this, xr);
1845
1845
  Y(this, Vi);
1846
- Y(this, Fr);
1846
+ Y(this, Br);
1847
1847
  it(this, "resetEvent", () => {
1848
1848
  $(document).off("mouseup", f(this, Wi)), $(".ng-table thead", f(this, we).body).off("mousedown", f(this, So)), f(this, we).body.querySelectorAll(".ng-table thead").forEach((C) => {
1849
1849
  C.removeEventListener("click", f(this, xo));
@@ -1921,39 +1921,39 @@ class id {
1921
1921
  const c = f(this, Nr)[0].shadowRoot.querySelector("span");
1922
1922
  c.innerHTML = $(C.target).html(), $(c).css({ font: $(l).css("font") }), f(this, Nr).show(), f(this, Nr).width($(l).width()), f(this, Nr).height($(l).height()), f(this, Nr).offset({ top: $(l).offset().top - 1 }), $(document).on("mousemove", f(this, Xi)), f(this, Co).call(this, C.pageX);
1923
1923
  const o = f(this, we).tableUtils.getElement("thead", f(this, xr).row, C.clientX);
1924
- f(this, Br).height($(o).height());
1924
+ f(this, Dr).height($(o).height());
1925
1925
  });
1926
1926
  Y(this, Wi, (C) => {
1927
- if (tt(this, Vi, !1), $(document).off("mousemove", f(this, Xi)), $(document).off("touchmove", f(this, _o)), f(this, Fr) && $(f(this, Fr).target).css({ cursor: f(this, Fr).cursor }), f(this, xr)) {
1927
+ if (tt(this, Vi, !1), $(document).off("mousemove", f(this, Xi)), $(document).off("touchmove", f(this, _o)), f(this, Br) && $(f(this, Br).target).css({ cursor: f(this, Br).cursor }), f(this, xr)) {
1928
1928
  var t = f(this, we).tableUtils.getElement("thead", f(this, xr).row, C.clientX);
1929
1929
  f(this, we).columns.moveColumn(f(this, xr).target, t);
1930
1930
  }
1931
- tt(this, Fr, null), tt(this, xr, null), f(this, Nr).hide(), f(this, Br).hide();
1931
+ tt(this, Br, null), tt(this, xr, null), f(this, Nr).hide(), f(this, Dr).hide();
1932
1932
  });
1933
1933
  Y(this, Xi, (C) => {
1934
1934
  if (f(this, xr) != null) {
1935
- f(this, Fr) && $(f(this, Fr).target).css({ cursor: f(this, Fr).cursor }), tt(this, Fr, { target: C.target, cursor: $(C.target).css("cursor") }), $(C.target).css({ cursor: C.target.closest("thead") || C.target.tagName == "ng-col-mover-grip" ? "move" : "not-allowed" });
1935
+ f(this, Br) && $(f(this, Br).target).css({ cursor: f(this, Br).cursor }), tt(this, Br, { target: C.target, cursor: $(C.target).css("cursor") }), $(C.target).css({ cursor: C.target.closest("thead") || C.target.tagName == "ng-col-mover-grip" ? "move" : "not-allowed" });
1936
1936
  var t = f(this, we).tableUtils.getElement("thead", f(this, xr).row, C.clientX);
1937
1937
  if (t)
1938
1938
  if (f(this, xr).col > parseInt(t.dataset.col)) {
1939
1939
  var l = $(t).offset();
1940
- f(this, Br).show(), f(this, Br).offset({ left: parseInt(l.left - 1), top: l.top });
1940
+ f(this, Dr).show(), f(this, Dr).offset({ left: parseInt(l.left - 1), top: l.top });
1941
1941
  } else if (f(this, xr).col < parseInt(t.dataset.col)) {
1942
1942
  var l = $(t).offset();
1943
- f(this, Br).show(), f(this, Br).offset({ left: parseInt(l.left + $(t).width() - 1), top: l.top });
1943
+ f(this, Dr).show(), f(this, Dr).offset({ left: parseInt(l.left + $(t).width() - 1), top: l.top });
1944
1944
  } else
1945
- f(this, Br).hide();
1945
+ f(this, Dr).hide();
1946
1946
  f(this, Co).call(this, C.pageX);
1947
1947
  }
1948
1948
  });
1949
1949
  Y(this, Co, (C) => {
1950
1950
  f(this, Nr).offset({ left: C - f(this, wo) });
1951
1951
  });
1952
- tt(this, we, C), $(".ng-container", f(this, we).body).append($("<ng-col-mover-grip></ng-col-mover-grip>").hide()).append($("<ng-col-mover-indi></ng-col-mover-indi>").hide()), tt(this, Nr, $("ng-col-mover-grip", f(this, we).body)), tt(this, Br, $("ng-col-mover-indi", f(this, we).body)), this.resetEvent();
1952
+ tt(this, we, C), $(".ng-container", f(this, we).body).append($("<ng-col-mover-grip></ng-col-mover-grip>").hide()).append($("<ng-col-mover-indi></ng-col-mover-indi>").hide()), tt(this, Nr, $("ng-col-mover-grip", f(this, we).body)), tt(this, Dr, $("ng-col-mover-indi", f(this, we).body)), this.resetEvent();
1953
1953
  }
1954
1954
  }
1955
- we = new WeakMap(), Nr = new WeakMap(), Br = new WeakMap(), wo = new WeakMap(), xr = new WeakMap(), Vi = new WeakMap(), Fr = new WeakMap(), xo = new WeakMap(), cu = new WeakMap(), _o = new WeakMap(), uu = new WeakMap(), So = new WeakMap(), ko = new WeakMap(), Wi = new WeakMap(), Xi = new WeakMap(), Co = new WeakMap();
1956
- var Me, _r, Sr, Rs, Ms, qr, kr, Is, Ns, Eo, Ao, To, du, Ro, nh, Mo, Yi, Gi, Ki, ei, Zi, oh;
1955
+ we = new WeakMap(), Nr = new WeakMap(), Dr = new WeakMap(), wo = new WeakMap(), xr = new WeakMap(), Vi = new WeakMap(), Br = new WeakMap(), xo = new WeakMap(), cu = new WeakMap(), _o = new WeakMap(), uu = new WeakMap(), So = new WeakMap(), ko = new WeakMap(), Wi = new WeakMap(), Xi = new WeakMap(), Co = new WeakMap();
1956
+ var Me, _r, Sr, Rs, Ms, Fr, kr, Is, Ns, Eo, Ao, To, du, Ro, nh, Mo, Yi, Gi, Ki, ei, Zi, oh;
1957
1957
  class nd {
1958
1958
  constructor(C) {
1959
1959
  Y(this, Me);
@@ -1961,7 +1961,7 @@ class nd {
1961
1961
  Y(this, Sr);
1962
1962
  Y(this, Rs);
1963
1963
  Y(this, Ms);
1964
- Y(this, qr);
1964
+ Y(this, Fr);
1965
1965
  Y(this, kr);
1966
1966
  Y(this, Is);
1967
1967
  Y(this, Ns, []);
@@ -2022,11 +2022,11 @@ class nd {
2022
2022
  if (C.target = C.target.closest("th,td"), !(C.buttons != 1 || C.altKey || C.ctrlKey || C.shiftkey)) {
2023
2023
  if (tt(this, Is, !!C.target.closest(".ng-container-right")), C.pageX - $(C.target).offset().left <= 3) {
2024
2024
  var t = $(`.col-indicator[data-col=${C.target.dataset.col}]`, f(this, Me).body).not(".dummy")[0];
2025
- tt(this, qr, f(this, Me).tableUtils.prev(t)), tt(this, kr, $(t));
2025
+ tt(this, Fr, f(this, Me).tableUtils.prev(t)), tt(this, kr, $(t));
2026
2026
  } else {
2027
2027
  if ($(C.target).width() - C.offsetX > 2) return;
2028
2028
  var l = parseInt(C.target.dataset.col) + C.target.colSpan - 1, t = $(`.col-indicator[data-col=${l}]`, f(this, Me).body).not(".dummy")[0];
2029
- tt(this, qr, $(t)), tt(this, kr, f(this, Me).tableUtils.next(t));
2029
+ tt(this, Fr, $(t)), tt(this, kr, f(this, Me).tableUtils.next(t));
2030
2030
  }
2031
2031
  f(this, _r).show(), f(this, Sr).offset({ top: $(".ng-container-body", f(this, Me).body).offset().top, left: f(this, kr).offset().left - 1 }), f(this, Sr).height(f(this, Me).body.querySelector(".ng-container-body").offsetHeight), f(this, Rs).offset({ top: $(".ng-container-body", f(this, Me).body).offset().top }), f(this, Zi).call(this, C.pageX), $(f(this, _r)).off("mousemove", f(this, Gi)).off("mouseup", f(this, ei)).on("mousemove", f(this, Gi)).on("mouseup", f(this, ei));
2032
2032
  }
@@ -2043,14 +2043,14 @@ class nd {
2043
2043
  Y(this, ei, (C) => {
2044
2044
  if (!f(this, Sr).is(":visible")) return;
2045
2045
  var t;
2046
- f(this, Is) ? t = f(this, kr).offset().left - f(this, Sr).offset().left + f(this, kr).width() : t = f(this, Sr).offset().left - f(this, qr).offset().left + 1, t <= 1 && (t = 0);
2047
- const l = f(this, Is) ? f(this, kr)[0].dataset.col : f(this, qr)[0].dataset.col;
2046
+ f(this, Is) ? t = f(this, kr).offset().left - f(this, Sr).offset().left + f(this, kr).width() : t = f(this, Sr).offset().left - f(this, Fr).offset().left + 1, t <= 1 && (t = 0);
2047
+ const l = f(this, Is) ? f(this, kr)[0].dataset.col : f(this, Fr)[0].dataset.col;
2048
2048
  f(this, Me).columns.width(l, t), $(f(this, _r)).off("mousemove", f(this, Gi)), $(f(this, _r)).off("mouseup", f(this, ei)), f(this, _r).hide();
2049
2049
  });
2050
2050
  Y(this, Zi, (C) => {
2051
- !f(this, Is) && C < f(this, qr).offset().left && (C = f(this, qr).offset().left), f(this, Sr).offset({ left: C });
2051
+ !f(this, Is) && C < f(this, Fr).offset().left && (C = f(this, Fr).offset().left), f(this, Sr).offset({ left: C });
2052
2052
  var t = parseInt(f(this, Sr).offset().left), l, c, o;
2053
- f(this, Is) ? (c = f(this, kr).width() + f(this, kr).offset().left - f(this, Sr).offset().left, o = c < 10 ? 10 : c - 1, l = parseInt(f(this, kr).width() + f(this, kr).offset().left - f(this, Sr).offset().left)) : (c = parseInt(t - f(this, qr).offset().left), o = c, l = parseInt(t - f(this, qr).offset().left + 1), t = t - o), l <= 1 && (l = 0), f(this, Rs).offset({ left: t }), f(this, Rs).width(o), f(this, Rs).find("span").text(l);
2053
+ f(this, Is) ? (c = f(this, kr).width() + f(this, kr).offset().left - f(this, Sr).offset().left, o = c < 10 ? 10 : c - 1, l = parseInt(f(this, kr).width() + f(this, kr).offset().left - f(this, Sr).offset().left)) : (c = parseInt(t - f(this, Fr).offset().left), o = c, l = parseInt(t - f(this, Fr).offset().left + 1), t = t - o), l <= 1 && (l = 0), f(this, Rs).offset({ left: t }), f(this, Rs).width(o), f(this, Rs).find("span").text(l);
2054
2054
  });
2055
2055
  Y(this, oh, (C) => {
2056
2056
  var t = C.target.closest("th,td"), l = f(this, Me).tableUtils.prev(t), c = f(this, Me).tableUtils.next(t), o = f(this, Me).getBand(t.dataset.col) == H.BAND.RIGHT ? C.offsetX <= 2 ? $(t) : c : C.offsetX <= 2 ? l : $(t);
@@ -2059,7 +2059,7 @@ class nd {
2059
2059
  tt(this, Me, C), tt(this, _r, $('<div class="resizer-col-panel"><div class="grip"></div><div class="tooltip"><div></div><span></span><div></div></div></div>').hide()), $(f(this, Me).body).append(f(this, _r)), tt(this, Sr, f(this, _r).find(".grip")), tt(this, Rs, f(this, _r).find(".tooltip")), this.resetEvent();
2060
2060
  }
2061
2061
  }
2062
- Me = new WeakMap(), _r = new WeakMap(), Sr = new WeakMap(), Rs = new WeakMap(), Ms = new WeakMap(), qr = new WeakMap(), kr = new WeakMap(), Is = new WeakMap(), Ns = new WeakMap(), Eo = new WeakMap(), Ao = new WeakMap(), To = new WeakMap(), du = new WeakMap(), Ro = new WeakMap(), nh = new WeakMap(), Mo = new WeakMap(), Yi = new WeakMap(), Gi = new WeakMap(), Ki = new WeakMap(), ei = new WeakMap(), Zi = new WeakMap(), oh = new WeakMap();
2062
+ Me = new WeakMap(), _r = new WeakMap(), Sr = new WeakMap(), Rs = new WeakMap(), Ms = new WeakMap(), Fr = new WeakMap(), kr = new WeakMap(), Is = new WeakMap(), Ns = new WeakMap(), Eo = new WeakMap(), Ao = new WeakMap(), To = new WeakMap(), du = new WeakMap(), Ro = new WeakMap(), nh = new WeakMap(), Mo = new WeakMap(), Yi = new WeakMap(), Gi = new WeakMap(), Ki = new WeakMap(), ei = new WeakMap(), Zi = new WeakMap(), oh = new WeakMap();
2063
2063
  var ue, ri, Or, Ji, Io, ah;
2064
2064
  class od {
2065
2065
  constructor(C) {
@@ -2526,7 +2526,7 @@ class cd extends HTMLElement {
2526
2526
  Oo = new WeakMap(), Pe = new WeakMap(), js = new WeakMap(), ii = new WeakMap(), en = new WeakMap(), fh = new WeakMap(), jo = new WeakMap(), ph = new WeakMap(), $o = new WeakMap(), rn = new WeakMap(), pu = new WeakMap(), mh = new WeakMap(), gh = new WeakMap();
2527
2527
  customElements.get("ng-combo") || customElements.define("ng-combo", hd);
2528
2528
  customElements.get("ng-combo-panel") || customElements.define("ng-combo-panel", cd);
2529
- var sn, Lo, nn, ni, on, Yr, bh, Po, yh;
2529
+ var sn, Lo, nn, ni, on, Xr, bh, Po, yh;
2530
2530
  class ud {
2531
2531
  constructor(C) {
2532
2532
  Y(this, sn);
@@ -2534,20 +2534,20 @@ class ud {
2534
2534
  Y(this, nn);
2535
2535
  Y(this, ni);
2536
2536
  Y(this, on);
2537
- Y(this, Yr);
2537
+ Y(this, Xr);
2538
2538
  it(this, "openMenu", (C, t) => {
2539
- var l = $(f(this, Yr)).css("font"), c = 150;
2539
+ var l = $(f(this, Xr)).css("font"), c = 150;
2540
2540
  for (const o of f(this, nn))
2541
2541
  c = Math.max(c, H.measureTextSize(o.name, l).width + 60);
2542
- $(f(this, Yr)).css({
2542
+ $(f(this, Xr)).css({
2543
2543
  width: c,
2544
2544
  top: t,
2545
2545
  left: C
2546
2546
  //"z-index" : 2,
2547
- }), f(this, Yr).open(), f(this, ni) && f(this, ni).show && f(this, ni).show.call(this, { source: f(this, Lo) });
2547
+ }), f(this, Xr).open(), f(this, ni) && f(this, ni).show && f(this, ni).show.call(this, { source: f(this, Lo) });
2548
2548
  });
2549
2549
  Y(this, bh, (C) => {
2550
- tt(this, nn, f(this, Po).call(this, C.items, 0)), tt(this, ni, C.events), tt(this, Yr, $(`<ng-context-menu-panel id="${C.id}"></ng-context-menu-panel>`)[0]), $(f(this, sn).shadowRoot).append($(f(this, Yr)).hide()), f(this, Yr).init(f(this, nn)), $("li", f(this, Yr)).on("mousedown", (t) => {
2550
+ tt(this, nn, f(this, Po).call(this, C.items, 0)), tt(this, ni, C.events), tt(this, Xr, $(`<ng-context-menu-panel id="${C.id}"></ng-context-menu-panel>`)[0]), $(f(this, sn).shadowRoot).append($(f(this, Xr)).hide()), f(this, Xr).init(f(this, nn)), $("li", f(this, Xr)).on("mousedown", (t) => {
2551
2551
  C.callback && (t.menuId = t.currentTarget.getAttribute("menu-id"), t.source = f(this, Lo), C.callback(t)), $("ng-context-menu-panel", f(this, sn).shadowRoot).hide();
2552
2552
  });
2553
2553
  });
@@ -2569,7 +2569,7 @@ class ud {
2569
2569
  tt(this, on, 0), tt(this, sn, C.owner), f(this, bh).call(this, C);
2570
2570
  }
2571
2571
  }
2572
- sn = new WeakMap(), Lo = new WeakMap(), nn = new WeakMap(), ni = new WeakMap(), on = new WeakMap(), Yr = new WeakMap(), bh = new WeakMap(), Po = new WeakMap(), yh = new WeakMap();
2572
+ sn = new WeakMap(), Lo = new WeakMap(), nn = new WeakMap(), ni = new WeakMap(), on = new WeakMap(), Xr = new WeakMap(), bh = new WeakMap(), Po = new WeakMap(), yh = new WeakMap();
2573
2573
  var Do, vh;
2574
2574
  class dd extends HTMLElement {
2575
2575
  constructor() {
@@ -2611,7 +2611,7 @@ class dd extends HTMLElement {
2611
2611
  }
2612
2612
  Do = new WeakMap(), vh = new WeakMap();
2613
2613
  customElements.get("ng-context-menu-panel") || customElements.define("ng-context-menu-panel", dd);
2614
- var Hr, Bo, wh, xh, _h;
2614
+ var qr, Bo, wh, xh, _h;
2615
2615
  class fd {
2616
2616
  /**
2617
2617
  * focus event, keyboard event, mouse event : common.js
@@ -2620,53 +2620,53 @@ class fd {
2620
2620
  * ninegrid.EVENT.ROW_POS_CHANGED, ninegrid.EVENT.CELL_POS_CHANGED : ngCellManager.js
2621
2621
  */
2622
2622
  constructor(C) {
2623
- Y(this, Hr);
2623
+ Y(this, qr);
2624
2624
  Y(this, Bo, () => {
2625
- $(".ng-table tbody", f(this, Hr).shadowRoot).on("click", "th,td", f(this, wh)), $(".ng-table thead", f(this, Hr).shadowRoot).on("click", "th,td", f(this, xh)), $(".ng-table tfoot", f(this, Hr).shadowRoot).on("click", "th,td", f(this, _h));
2625
+ $(".ng-table tbody", f(this, qr).shadowRoot).on("click", "th,td", f(this, wh)), $(".ng-table thead", f(this, qr).shadowRoot).on("click", "th,td", f(this, xh)), $(".ng-table tfoot", f(this, qr).shadowRoot).on("click", "th,td", f(this, _h));
2626
2626
  });
2627
2627
  Y(this, wh, (C) => {
2628
2628
  if (![1, 2].includes(C.detail)) return;
2629
2629
  const t = ["altKey", "ctrlKey", "shiftKey", "clientX", "clientY", "offsetX", "offsetY", "pageX", "pageY", "screenX", "screenY", "button", "buttons", "whitch"], l = C.target.closest("th,td"), c = C.detail == 1 ? H.EVENT.CELL_CLICK : H.EVENT.CELL_DBL_CLICK, o = new CustomEvent(c, { bubbles: !0, composed: !0, detail: { target: l } });
2630
- o.col = l.dataset.col, o.row = l.dataset.row, o.subrow = parseInt(l.dataset.matrixRow) % parseInt(l.dataset.row), o.bind = l.dataset.bind, H.copyProperty(o, C, t), f(this, Hr).dispatchEvent(o);
2630
+ o.col = l.dataset.col, o.row = l.dataset.row, o.subrow = parseInt(l.dataset.matrixRow) % parseInt(l.dataset.row), o.bind = l.dataset.bind, H.copyProperty(o, C, t), f(this, qr).dispatchEvent(o);
2631
2631
  });
2632
2632
  Y(this, xh, (C) => {
2633
2633
  if (![1, 2].includes(C.detail)) return;
2634
2634
  const t = ["altKey", "ctrlKey", "shiftKey", "clientX", "clientY", "offsetX", "offsetY", "pageX", "pageY", "screenX", "screenY", "button", "buttons", "whitch"], l = C.target.closest("th,td"), c = C.detail == 1 ? H.EVENT.HEADCELL_CLICK : H.EVENT.HEADCELL_DBL_CLICK, o = new CustomEvent(c, { bubbles: !0, composed: !0, detail: { target: l } });
2635
- o.col = l.dataset.col, H.copyProperty(o, C, t), f(this, Hr).dispatchEvent(o);
2635
+ o.col = l.dataset.col, H.copyProperty(o, C, t), f(this, qr).dispatchEvent(o);
2636
2636
  });
2637
2637
  Y(this, _h, (C) => {
2638
2638
  if (![1, 2].includes(C.detail)) return;
2639
2639
  const t = ["altKey", "ctrlKey", "shiftKey", "clientX", "clientY", "offsetX", "offsetY", "pageX", "pageY", "screenX", "screenY", "button", "buttons", "whitch"], l = C.target.closest("th,td"), c = C.detail == 1 ? H.EVENT.FOOTCELL_CLICK : H.EVENT.FOOTCELL_DBL_CLICK, o = new CustomEvent(c, { bubbles: !0, composed: !0, detail: { target: l } });
2640
- o.col = l.dataset.col, H.copyProperty(o, C, t), f(this, Hr).dispatchEvent(o);
2640
+ o.col = l.dataset.col, H.copyProperty(o, C, t), f(this, qr).dispatchEvent(o);
2641
2641
  });
2642
- tt(this, Hr, C), f(this, Bo).call(this), f(this, Hr).addEventListener(H.EVENT.LAYOUT_CHANGED, (t) => {
2642
+ tt(this, qr, C), f(this, Bo).call(this), f(this, qr).addEventListener(H.EVENT.LAYOUT_CHANGED, (t) => {
2643
2643
  f(this, Bo).call(this);
2644
2644
  });
2645
2645
  }
2646
2646
  }
2647
- Hr = new WeakMap(), Bo = new WeakMap(), wh = new WeakMap(), xh = new WeakMap(), _h = new WeakMap();
2648
- var Gr, Fo, hs;
2647
+ qr = new WeakMap(), Bo = new WeakMap(), wh = new WeakMap(), xh = new WeakMap(), _h = new WeakMap();
2648
+ var Yr, Fo, hs;
2649
2649
  class pd {
2650
2650
  constructor(C) {
2651
- Y(this, Gr);
2651
+ Y(this, Yr);
2652
2652
  Y(this, Fo);
2653
2653
  Y(this, hs);
2654
- it(this, "count", () => f(this, Gr).rawRecords.length);
2655
- it(this, "has", (C) => f(this, Gr).data.filter(C).length > 0);
2656
- it(this, "first", (C) => (f(this, Gr).data.first(C).__ng || { rowidx: -1 }).rowidx);
2657
- it(this, "last", (C) => (f(this, Gr).data.last(C).__ng || { rowidx: -1 }).rowidx);
2658
- tt(this, Gr, C), tt(this, Fo, -1), tt(this, hs, -1);
2654
+ it(this, "count", () => f(this, Yr).rawRecords.length);
2655
+ it(this, "has", (C) => f(this, Yr).data.filter(C).length > 0);
2656
+ it(this, "first", (C) => (f(this, Yr).data.first(C).__ng || { rowidx: -1 }).rowidx);
2657
+ it(this, "last", (C) => (f(this, Yr).data.last(C).__ng || { rowidx: -1 }).rowidx);
2658
+ tt(this, Yr, C), tt(this, Fo, -1), tt(this, hs, -1);
2659
2659
  }
2660
2660
  get at() {
2661
2661
  return f(this, hs);
2662
2662
  }
2663
2663
  set at(C) {
2664
- tt(this, Fo, f(this, hs)), tt(this, hs, parseInt(C)), f(this, Gr).owner.body.querySelector(`tbody.bindable tr[data-row="${f(this, hs)}"]`) || setTimeout(() => {
2665
- f(this, Gr).owner.scrollTo_V1(f(this, hs));
2664
+ tt(this, Fo, f(this, hs)), tt(this, hs, parseInt(C)), f(this, Yr).owner.body.querySelector(`tbody.bindable tr[data-row="${f(this, hs)}"]`) || setTimeout(() => {
2665
+ f(this, Yr).owner.scrollTo_V1(f(this, hs));
2666
2666
  });
2667
2667
  }
2668
2668
  }
2669
- Gr = new WeakMap(), Fo = new WeakMap(), hs = new WeakMap();
2669
+ Yr = new WeakMap(), Fo = new WeakMap(), hs = new WeakMap();
2670
2670
  var ze, qt, $e, Cr, oi, $s, an, qo, ln, Ho, zo, Sh, Uo, Vo, hn, cn, Wo, Xo, Yo;
2671
2671
  class md {
2672
2672
  constructor(C, t) {
@@ -21664,8 +21664,8 @@ function xd() {
21664
21664
  return st === pt || (st == null || pt == null || !le(st) && !Fe(pt) ? st != st && pt != pt : (function(Et, Rt, fe, oe, he, Jt) {
21665
21665
  var Se = Zt(Et), ke = Zt(Rt), Te = "[object Array]", De = "[object Array]";
21666
21666
  Se || (Te = (Te = me(Et)) == r ? s : Te), ke || (De = (De = me(Rt)) == r ? s : De);
21667
- var Qe = Te == s && !q(Et), hr = De == s && !q(Rt), Pr = Te == De;
21668
- if (Pr && !Qe) return Jt || (Jt = new Ht()), Se || Ye(Et) ? Re(Et, Rt, fe, oe, he, Jt) : (function(Ce, be, _s, Js, Ol, vr, os) {
21667
+ var Qe = Te == s && !q(Et), hr = De == s && !q(Rt), Lr = Te == De;
21668
+ if (Lr && !Qe) return Jt || (Jt = new Ht()), Se || Ye(Et) ? Re(Et, Rt, fe, oe, he, Jt) : (function(Ce, be, _s, Js, Ol, vr, os) {
21669
21669
  switch (_s) {
21670
21670
  case "[object DataView]":
21671
21671
  if (Ce.byteLength != be.byteLength || Ce.byteOffset != be.byteOffset) return !1;
@@ -21703,7 +21703,7 @@ function xd() {
21703
21703
  return Jt || (Jt = new Ht()), fe(Ai, Ti, oe, he, Jt);
21704
21704
  }
21705
21705
  }
21706
- return Pr ? (Jt || (Jt = new Ht()), (function(Ce, be, _s, Js, Ol, vr) {
21706
+ return Lr ? (Jt || (Jt = new Ht()), (function(Ce, be, _s, Js, Ol, vr) {
21707
21707
  var os = 2 & Ol, Ss = Ge(Ce), Xn = Ss.length, jl = Ge(be).length;
21708
21708
  if (Xn != jl && !os) return !1;
21709
21709
  for (var Ri = Xn; Ri--; ) {
@@ -21777,8 +21777,8 @@ function xd() {
21777
21777
  if (ke[2]) {
21778
21778
  if (De === void 0 && !(Te in Rt)) return !1;
21779
21779
  } else {
21780
- var hr = new Ht(), Pr;
21781
- if (!(Pr === void 0 ? _e(Qe, De, he, 3, hr) : Pr)) return !1;
21780
+ var hr = new Ht(), Lr;
21781
+ if (!(Lr === void 0 ? _e(Qe, De, he, 3, hr) : Lr)) return !1;
21782
21782
  }
21783
21783
  }
21784
21784
  return !0;
@@ -21817,8 +21817,8 @@ function xd() {
21817
21817
  break;
21818
21818
  }
21819
21819
  if (ke) {
21820
- if (!W(pt, (function(hr, Pr) {
21821
- if (!ke.has(Pr) && (Te === hr || wt(Te, hr, _t, Bt, Et))) return ke.add(Pr);
21820
+ if (!W(pt, (function(hr, Lr) {
21821
+ if (!ke.has(Lr) && (Te === hr || wt(Te, hr, _t, Bt, Et))) return ke.add(Lr);
21822
21822
  }))) {
21823
21823
  Se = !1;
21824
21824
  break;
@@ -22115,8 +22115,8 @@ function xd() {
22115
22115
  var hr = ke[Qe];
22116
22116
  if (!(Se ? hr in Rt : w.call(Rt, hr))) return !1;
22117
22117
  }
22118
- var Pr = Jt.get(Et);
22119
- if (Pr && Jt.get(Rt)) return Pr == Rt;
22118
+ var Lr = Jt.get(Et);
22119
+ if (Lr && Jt.get(Rt)) return Lr == Rt;
22120
22120
  var Zs = !0;
22121
22121
  Jt.set(Et, Rt), Jt.set(Rt, Et);
22122
22122
  for (var Ei = Se; ++Qe < Te; ) {
@@ -26764,13 +26764,13 @@ class Ed extends HTMLElement {
26764
26764
  }
26765
26765
  }
26766
26766
  Eh = new WeakMap();
26767
- var fn, us, zr, ds, Ah;
26767
+ var fn, us, Hr, ds, Ah;
26768
26768
  class Ad extends HTMLElement {
26769
26769
  constructor() {
26770
26770
  super();
26771
26771
  Y(this, fn);
26772
26772
  Y(this, us);
26773
- Y(this, zr);
26773
+ Y(this, Hr);
26774
26774
  Y(this, ds);
26775
26775
  it(this, "add", (t) => {
26776
26776
  f(this, us).push(...t);
@@ -26778,13 +26778,13 @@ class Ad extends HTMLElement {
26778
26778
  for (const c of f(this, us)) {
26779
26779
  l++;
26780
26780
  const o = c.querySelector("caption"), r = o ? o.innerHTML : `Sheet${l}`;
26781
- $(f(this, zr)).append(`<button class="ng-button" value="${l - 1}" title="${r.replaceAll('"', "'")}">${r}</button>`);
26781
+ $(f(this, Hr)).append(`<button class="ng-button" value="${l - 1}" title="${r.replaceAll('"', "'")}">${r}</button>`);
26782
26782
  }
26783
- f(this, us).length <= 1 && $(f(this, zr)).hide(), H.j.querySelectorAll(f(this, zr).querySelector("button")).addClass("ng-active"), $("button", f(this, zr)).on("click", f(this, Ah));
26783
+ f(this, us).length <= 1 && $(f(this, Hr)).hide(), H.j.querySelectorAll(f(this, Hr).querySelector("button")).addClass("ng-active"), $("button", f(this, Hr)).on("click", f(this, Ah));
26784
26784
  });
26785
26785
  it(this, "resize", () => {
26786
- const t = $(f(this, zr)).width() > $(this).width();
26787
- $(f(this, zr)).css({
26786
+ const t = $(f(this, Hr)).width() > $(this).width();
26787
+ $(f(this, Hr)).css({
26788
26788
  width: t ? "100%" : "unset",
26789
26789
  "justify-content": t ? "space-evenly" : "unset"
26790
26790
  });
@@ -26792,14 +26792,14 @@ class Ad extends HTMLElement {
26792
26792
  Y(this, Ah, (t) => {
26793
26793
  if (H.j.querySelectorAll(t.currentTarget).hasClass("ng-active")) return;
26794
26794
  const l = f(this, ds);
26795
- tt(this, ds, parseInt(t.currentTarget.value)), f(this, fn).changeRayout(f(this, ds)), H.j.querySelectorAll("button", f(this, zr)).removeClass("ng-active"), H.j.querySelectorAll(t.currentTarget).addClass("ng-active");
26795
+ tt(this, ds, parseInt(t.currentTarget.value)), f(this, fn).changeRayout(f(this, ds)), H.j.querySelectorAll("button", f(this, Hr)).removeClass("ng-active"), H.j.querySelectorAll(t.currentTarget).addClass("ng-active");
26796
26796
  var c = new CustomEvent(H.EVENT.LAYOUT_CHANGED, { bubbles: !0, detail: {} });
26797
26797
  c.oldIndex = l, c.newIndex = f(this, ds), f(this, fn).dispatchEvent(c);
26798
26798
  });
26799
26799
  tt(this, us, []), tt(this, ds, 0);
26800
26800
  }
26801
26801
  connectedCallback() {
26802
- tt(this, fn, this.getRootNode().host.getRootNode().host), this.innerHTML = '<div class="ng-wrap"></div>', tt(this, zr, this.querySelector(".ng-wrap"));
26802
+ tt(this, fn, this.getRootNode().host.getRootNode().host), this.innerHTML = '<div class="ng-wrap"></div>', tt(this, Hr, this.querySelector(".ng-wrap"));
26803
26803
  }
26804
26804
  get tables() {
26805
26805
  return f(this, us);
@@ -26808,7 +26808,7 @@ class Ad extends HTMLElement {
26808
26808
  return f(this, us)[f(this, ds)];
26809
26809
  }
26810
26810
  }
26811
- fn = new WeakMap(), us = new WeakMap(), zr = new WeakMap(), ds = new WeakMap(), Ah = new WeakMap();
26811
+ fn = new WeakMap(), us = new WeakMap(), Hr = new WeakMap(), ds = new WeakMap(), Ah = new WeakMap();
26812
26812
  customElements.get("ng-layout") || customElements.define("ng-layout", Ad);
26813
26813
  customElements.get("ng-foot") || customElements.define("ng-foot", Ed);
26814
26814
  var Qo;
@@ -27147,13 +27147,13 @@ class Dd extends HTMLElement {
27147
27147
  }
27148
27148
  ta = new WeakMap(), gn = new WeakMap(), $h = new WeakMap(), ea = new WeakMap();
27149
27149
  customElements.get("ng-info") || customElements.define("ng-info", Dd);
27150
- var Kr, Lh;
27150
+ var Gr, Lh;
27151
27151
  class Bd extends Ci {
27152
27152
  constructor() {
27153
27153
  super();
27154
- Y(this, Kr);
27154
+ Y(this, Gr);
27155
27155
  it(this, "dataRefresh", (t) => {
27156
- f(this, Lh).call(this, this.value) ? (f(this, Kr).value = H.nvl(this.value, "#ffffff"), H.j.querySelectorAll(this).removeClass("invalid")) : (f(this, Kr).value = "#ffffff", H.j.querySelectorAll(this).addClass("invalid")), f(this, Kr).setAttribute("title", this.value), t || this.reset();
27156
+ f(this, Lh).call(this, this.value) ? (f(this, Gr).value = H.nvl(this.value, "#ffffff"), H.j.querySelectorAll(this).removeClass("invalid")) : (f(this, Gr).value = "#ffffff", H.j.querySelectorAll(this).addClass("invalid")), f(this, Gr).setAttribute("title", this.value), t || this.reset();
27157
27157
  });
27158
27158
  Y(this, Lh, (t) => {
27159
27159
  if (H.isNull(t)) return !0;
@@ -27171,31 +27171,31 @@ class Bd extends Ci {
27171
27171
 
27172
27172
  <input type="color" required />
27173
27173
  <button tabindex="-1"></button>
27174
- `, super.connectedCallback(), tt(this, Kr, this.shadowRoot.querySelector("input")), $("button", this.shadowRoot).on("click", (t) => {
27174
+ `, super.connectedCallback(), tt(this, Gr, this.shadowRoot.querySelector("input")), $("button", this.shadowRoot).on("click", (t) => {
27175
27175
  $("input", this.shadowRoot).trigger("click");
27176
27176
  }), $(this.cell).on("keydown", (t) => {
27177
27177
  switch (t.target.tagName) {
27178
27178
  case "TH":
27179
27179
  case "TD":
27180
- ["Enter"].includes(t.code) && $(f(this, Kr)).trigger("click");
27180
+ ["Enter"].includes(t.code) && $(f(this, Gr)).trigger("click");
27181
27181
  break;
27182
27182
  }
27183
- }), f(this, Kr).addEventListener("keydown", (t) => {
27184
- ["Enter"].includes(t.code) ? $(f(this, Kr)).trigger("click") : ["Escape"].includes(t.code) ? this.owner.cell.currentCell = this.cell : ["Tab", "PageUp", "PageDown", "ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"].includes(t.code) && (this.owner.cell.currentCell = this.cell, this.owner.cell.moveCell(t));
27183
+ }), f(this, Gr).addEventListener("keydown", (t) => {
27184
+ ["Enter"].includes(t.code) ? $(f(this, Gr)).trigger("click") : ["Escape"].includes(t.code) ? this.owner.cell.currentCell = this.cell : ["Tab", "PageUp", "PageDown", "ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"].includes(t.code) && (this.owner.cell.currentCell = this.cell, this.owner.cell.moveCell(t));
27185
27185
  });
27186
27186
  }
27187
27187
  }
27188
- Kr = new WeakMap(), Lh = new WeakMap();
27188
+ Gr = new WeakMap(), Lh = new WeakMap();
27189
27189
  customElements.get("ng-input-color") || customElements.define("ng-input-color", Bd);
27190
- var Zr, li, Ph;
27190
+ var Kr, li, Ph;
27191
27191
  class Fd extends Ci {
27192
27192
  constructor() {
27193
27193
  super();
27194
- Y(this, Zr);
27194
+ Y(this, Kr);
27195
27195
  Y(this, li);
27196
27196
  it(this, "dataRefresh", (t) => {
27197
27197
  var l = this.value;
27198
- switch (f(this, Zr).type) {
27198
+ switch (f(this, Kr).type) {
27199
27199
  case "date":
27200
27200
  l = l.substr(0, 10);
27201
27201
  break;
@@ -27211,13 +27211,13 @@ class Fd extends Ci {
27211
27211
  c != "Invalid Date" && (l = ("0000" + c.getFullYear()).slice(-4) + "-" + ("00" + (c.getMonth() + 1)).slice(-2));
27212
27212
  break;
27213
27213
  }
27214
- f(this, Zr).value = l, f(this, Ph).call(this, l) ? H.j.querySelectorAll(this).removeClass("invalid") : H.j.querySelectorAll(this).addClass("invalid"), t || this.reset();
27214
+ f(this, Kr).value = l, f(this, Ph).call(this, l) ? H.j.querySelectorAll(this).removeClass("invalid") : H.j.querySelectorAll(this).addClass("invalid"), t || this.reset();
27215
27215
  });
27216
27216
  Y(this, Ph, (t) => {
27217
27217
  if (H.isNull(t)) return !0;
27218
27218
  if (typeof t != "string") return !1;
27219
27219
  var l = !0;
27220
- switch (f(this, Zr).type) {
27220
+ switch (f(this, Kr).type) {
27221
27221
  case "date":
27222
27222
  case "datetime-local":
27223
27223
  var c = Number(t.substr(0, 4)), o = Number(t.substr(5, 2)), r = Number(t.substr(8, 2));
@@ -27234,7 +27234,7 @@ class Fd extends Ci {
27234
27234
  break;
27235
27235
  }
27236
27236
  if (l)
27237
- switch (f(this, Zr).type) {
27237
+ switch (f(this, Kr).type) {
27238
27238
  case "datetime-local":
27239
27239
  var s = t.substr(10, 1), e = Number(t.substr(11, 2)), i = Number(t.substr(14, 2));
27240
27240
  (s != "T" || isNaN(e) || isNaN(i) || e < 0 || e > 23 || i < 0 || i > 59) && (l = !1);
@@ -27279,49 +27279,49 @@ class Fd extends Ci {
27279
27279
  ${l.join(" ")}
27280
27280
  required
27281
27281
  />
27282
- `, super.connectedCallback(), tt(this, Zr, this.shadowRoot.querySelector("input")), $(this.cell).on("keydown", (o) => {
27282
+ `, super.connectedCallback(), tt(this, Kr, this.shadowRoot.querySelector("input")), $(this.cell).on("keydown", (o) => {
27283
27283
  switch (o.target.tagName) {
27284
27284
  case "TH":
27285
27285
  case "TD":
27286
- ["Enter"].includes(o.code) && f(this, Zr).focus();
27286
+ ["Enter"].includes(o.code) && f(this, Kr).focus();
27287
27287
  break;
27288
27288
  }
27289
- }), f(this, Zr).addEventListener("keydown", (o) => {
27289
+ }), f(this, Kr).addEventListener("keydown", (o) => {
27290
27290
  ["Enter", "Escape"].includes(o.code) ? this.owner.cell.currentCell = this.cell : ["Tab", "PageUp", "PageDown"].includes(o.code) && (this.owner.cell.currentCell = this.cell, this.owner.cell.moveCell(o));
27291
27291
  });
27292
27292
  }
27293
27293
  }
27294
- Zr = new WeakMap(), li = new WeakMap(), Ph = new WeakMap();
27294
+ Kr = new WeakMap(), li = new WeakMap(), Ph = new WeakMap();
27295
27295
  customElements.get("ng-input-date") || customElements.define("ng-input-date", Fd);
27296
- var Ke, fs, Ur, Ps, bn, Jr, Dh;
27296
+ var Ke, fs, zr, Ps, bn, Zr, Dh;
27297
27297
  class qd extends Ci {
27298
27298
  constructor() {
27299
27299
  super();
27300
27300
  Y(this, Ke);
27301
27301
  Y(this, fs);
27302
- Y(this, Ur);
27302
+ Y(this, zr);
27303
27303
  Y(this, Ps);
27304
27304
  Y(this, bn);
27305
- Y(this, Jr);
27305
+ Y(this, Zr);
27306
27306
  it(this, "dataRefresh", (t) => {
27307
- f(this, Ke).value = this.value, H.j.querySelectorAll(f(this, Ke)).removeClass("invalid"), f(this, fs) == "number" && (isNaN(this.value) || f(this, bn) && Number(f(this, Ke).value) > Number(f(this, bn)) || f(this, Ps) && Number(f(this, Ke).value) < Number(f(this, Ps)) ? H.j.querySelectorAll(f(this, Ke)).addClass("invalid") : f(this, Jr) && f(this, Ke).value.indexOf(".") >= 0 && f(this, Ke).value.substring(f(this, Ke).value.indexOf(".") + 1).length > Number(f(this, Jr)) && H.j.querySelectorAll(f(this, Ke)).addClass("invalid")), f(this, Ur) && H.getByteLength(this.value) > Number(f(this, Ur)) && H.j.querySelectorAll(f(this, Ke)).addClass("invalid"), t || this.reset();
27307
+ f(this, Ke).value = this.value, H.j.querySelectorAll(f(this, Ke)).removeClass("invalid"), f(this, fs) == "number" && (isNaN(this.value) || f(this, bn) && Number(f(this, Ke).value) > Number(f(this, bn)) || f(this, Ps) && Number(f(this, Ke).value) < Number(f(this, Ps)) ? H.j.querySelectorAll(f(this, Ke)).addClass("invalid") : f(this, Zr) && f(this, Ke).value.indexOf(".") >= 0 && f(this, Ke).value.substring(f(this, Ke).value.indexOf(".") + 1).length > Number(f(this, Zr)) && H.j.querySelectorAll(f(this, Ke)).addClass("invalid")), f(this, zr) && H.getByteLength(this.value) > Number(f(this, zr)) && H.j.querySelectorAll(f(this, Ke)).addClass("invalid"), t || this.reset();
27308
27308
  });
27309
27309
  Y(this, Dh, (t) => {
27310
27310
  if (!["Escape", "Enter", "Tab", "Home", "End", "ArrowLeft", "ArrowRight", "PageUp", "PageDown", "Backspace", "Delete"].includes(t.code)) {
27311
27311
  if (f(this, fs) == "number") {
27312
27312
  let o = [];
27313
- if (f(this, Jr) && Number(f(this, Jr)) > 0 && o.push("."), f(this, Ps) && Number(f(this, Ps)) >= 0 && o.push("-"), !(t.keyCode >= 48 && t.keyCode <= 57 || t.keyCode >= 96 && t.keyCode <= 105) && !o.includes(t.key) && t.preventDefault(), f(this, Jr) && (t.keyCode >= 48 && t.keyCode <= 57 || t.keyCode >= 96 && t.keyCode <= 105) && t.target.selectionStart == t.target.selectionEnd) {
27313
+ if (f(this, Zr) && Number(f(this, Zr)) > 0 && o.push("."), f(this, Ps) && Number(f(this, Ps)) >= 0 && o.push("-"), !(t.keyCode >= 48 && t.keyCode <= 57 || t.keyCode >= 96 && t.keyCode <= 105) && !o.includes(t.key) && t.preventDefault(), f(this, Zr) && (t.keyCode >= 48 && t.keyCode <= 57 || t.keyCode >= 96 && t.keyCode <= 105) && t.target.selectionStart == t.target.selectionEnd) {
27314
27314
  var l = t.target.value, c = l.indexOf(".");
27315
27315
  if (c >= 0) {
27316
27316
  var l = l.substr(c + 1, l.length);
27317
- l.length >= Number(f(this, Jr)) && t.preventDefault();
27317
+ l.length >= Number(f(this, Zr)) && t.preventDefault();
27318
27318
  }
27319
27319
  }
27320
27320
  }
27321
- f(this, Ur) && H.getByteLength(t.target.value) >= Number(f(this, Ur)) && t.target.selectionStart == t.target.selectionEnd && t.preventDefault();
27321
+ f(this, zr) && H.getByteLength(t.target.value) >= Number(f(this, zr)) && t.target.selectionStart == t.target.selectionEnd && t.preventDefault();
27322
27322
  }
27323
27323
  });
27324
- if (tt(this, fs, this.getAttribute("type") || "text"), tt(this, Ur, this.getAttribute("maxbyte")), tt(this, Ps, this.getAttribute("min")), tt(this, bn, this.getAttribute("max")), tt(this, Jr, this.getAttribute("scale")), !["text", "number"].includes(f(this, fs))) throw `invalid type : ${f(this, fs)}`;
27324
+ if (tt(this, fs, this.getAttribute("type") || "text"), tt(this, zr, this.getAttribute("maxbyte")), tt(this, Ps, this.getAttribute("min")), tt(this, bn, this.getAttribute("max")), tt(this, Zr, this.getAttribute("scale")), !["text", "number"].includes(f(this, fs))) throw `invalid type : ${f(this, fs)}`;
27325
27325
  }
27326
27326
  connectedCallback() {
27327
27327
  for (var t = [], l = 0; l < this.attributes.length; l++)
@@ -27337,7 +27337,7 @@ class qd extends Ci {
27337
27337
  ondragstart="return false;"
27338
27338
  >
27339
27339
  `, super.connectedCallback(), tt(this, Ke, this.shadowRoot.querySelector("input")), f(this, Ke).addEventListener("keydown", f(this, Dh)), f(this, Ke).addEventListener("compositionstart", (c) => {
27340
- c.target.selectionStart == c.target.selectionEnd && f(this, Ur) && H.getByteLength(c.target.value) >= Number(f(this, Ur)) && (c.target.value = H.cut(c.target.value, Number(f(this, Ur))), this.value = c.target.value);
27340
+ c.target.selectionStart == c.target.selectionEnd && f(this, zr) && H.getByteLength(c.target.value) >= Number(f(this, zr)) && (c.target.value = H.cut(c.target.value, Number(f(this, zr))), this.value = c.target.value);
27341
27341
  }), f(this, Ke).addEventListener("compositionupdate", (c) => {
27342
27342
  f(this, fs) == "number" && (c.target.value = c.target.value.replace(c.data, ""));
27343
27343
  }), f(this, Ke).addEventListener("compositionend", (c) => {
@@ -27346,7 +27346,7 @@ class qd extends Ci {
27346
27346
  });
27347
27347
  }
27348
27348
  }
27349
- Ke = new WeakMap(), fs = new WeakMap(), Ur = new WeakMap(), Ps = new WeakMap(), bn = new WeakMap(), Jr = new WeakMap(), Dh = new WeakMap();
27349
+ Ke = new WeakMap(), fs = new WeakMap(), zr = new WeakMap(), Ps = new WeakMap(), bn = new WeakMap(), Zr = new WeakMap(), Dh = new WeakMap();
27350
27350
  customElements.get("ng-input") || customElements.define("ng-input", qd);
27351
27351
  var Oe, hi, yn, vn, wn, ci;
27352
27352
  class Hd {
@@ -27420,21 +27420,21 @@ class Hd {
27420
27420
  }
27421
27421
  }
27422
27422
  Oe = new WeakMap(), hi = new WeakMap(), yn = new WeakMap(), vn = new WeakMap(), wn = new WeakMap(), ci = new WeakMap();
27423
- var Qr, ts;
27423
+ var Jr, Qr;
27424
27424
  class zd extends HTMLElement {
27425
27425
  constructor() {
27426
27426
  super();
27427
+ Y(this, Jr);
27427
27428
  Y(this, Qr);
27428
- Y(this, ts);
27429
27429
  it(this, "popup", () => {
27430
27430
  setTimeout(() => {
27431
- f(this, ts).data.assign(f(this, Qr).data.get()), this.shadowRoot.querySelector("dialog").showModal();
27431
+ f(this, Qr).data.assign(f(this, Jr).data.get()), this.shadowRoot.querySelector("dialog").showModal();
27432
27432
  }, 100);
27433
27433
  });
27434
27434
  this.attachShadow({ mode: "open" });
27435
27435
  }
27436
27436
  connectedCallback() {
27437
- tt(this, Qr, this.getRootNode().host), this.shadowRoot.innerHTML = `
27437
+ tt(this, Jr, this.getRootNode().host), this.shadowRoot.innerHTML = `
27438
27438
  <style>
27439
27439
  @import "https://cdn.jsdelivr.net/npm/ninegrid2@${H.version}/dist/css/ninegrid.css";
27440
27440
  :host {
@@ -27446,27 +27446,27 @@ class zd extends HTMLElement {
27446
27446
  </style>
27447
27447
 
27448
27448
  <nx-dialog>
27449
- ${f(this, Qr).originFormat}
27449
+ ${f(this, Jr).originFormat}
27450
27450
  </nx-dialog>
27451
- `, tt(this, ts, this.shadowRoot.querySelector("nine-grid")), f(this, ts).removeAttribute("display-row-count"), $(".reset", this.shadowRoot).on("click", (t) => {
27452
- f(this, ts).data.assign(f(this, Qr).data.get());
27451
+ `, tt(this, Qr, this.shadowRoot.querySelector("nine-grid")), f(this, Qr).removeAttribute("display-row-count"), $(".reset", this.shadowRoot).on("click", (t) => {
27452
+ f(this, Qr).data.assign(f(this, Jr).data.get());
27453
27453
  }), $(".apply", this.shadowRoot).on("click", (t) => {
27454
- var l = f(this, ts).data.getChangedData();
27455
- f(this, Qr).data.add(l.insert);
27454
+ var l = f(this, Qr).data.getChangedData();
27455
+ f(this, Jr).data.add(l.insert);
27456
27456
  for (var c of l.update)
27457
- f(this, Qr).data.update(c);
27457
+ f(this, Jr).data.update(c);
27458
27458
  for (var c of l.delete)
27459
- f(this, Qr).data.delete(c);
27460
- f(this, ts).data.changeRowState();
27459
+ f(this, Jr).data.delete(c);
27460
+ f(this, Qr).data.changeRowState();
27461
27461
  }), this.shadowRoot.addEventListener("click", (t) => {
27462
- f(this, ts).data.isChanged() && (t.stopImmediatePropagation(), H.confirm(`There is changed data.
27462
+ f(this, Qr).data.isChanged() && (t.stopImmediatePropagation(), H.confirm(`There is changed data.
27463
27463
  Do you want to save it?`, "SAVE", { class: "rgb", "true-text": "Yes", "false-text": "No" }).then((l) => {
27464
27464
  l && $(".apply", this.shadowRoot).trigger("click"), this.shadowRoot.querySelector("nx-dialog").close();
27465
27465
  }));
27466
27466
  });
27467
27467
  }
27468
27468
  }
27469
- Qr = new WeakMap(), ts = new WeakMap();
27469
+ Jr = new WeakMap(), Qr = new WeakMap();
27470
27470
  customElements.get("ng-max-popup") || customElements.define("ng-max-popup", zd);
27471
27471
  var Lt, ra, Bh;
27472
27472
  class Ud extends HTMLElement {
@@ -28290,28 +28290,28 @@ class Qd extends Mr {
28290
28290
  }
28291
28291
  }
28292
28292
  ma = new WeakMap(), Yh = new WeakMap();
28293
- var ur, es, ga, mr, qs, mi, bu, rs, Gh, Kh, Zh, ba, ya, va, Jh;
28293
+ var ur, ts, ga, mr, qs, mi, bu, es, Gh, Kh, Zh, ba, ya, va, Jh;
28294
28294
  class tf extends HTMLElement {
28295
28295
  constructor() {
28296
28296
  super();
28297
28297
  Y(this, ur);
28298
- Y(this, es);
28298
+ Y(this, ts);
28299
28299
  Y(this, ga);
28300
28300
  Y(this, mr);
28301
28301
  Y(this, qs);
28302
28302
  Y(this, mi);
28303
28303
  Y(this, bu);
28304
- Y(this, rs);
28304
+ Y(this, es);
28305
28305
  Y(this, Gh);
28306
28306
  Y(this, Kh, () => {
28307
28307
  if (f(this, ur)) {
28308
28308
  var t = f(this, ur).querySelector("div.resizer-row-panel");
28309
28309
  t ? tt(this, mr, $(t)) : (tt(this, mr, $('<div class="resizer-row-panel"><div class="grip"></div><div class="tooltip"><div></div><span></span><div></div></div></div>').hide()), $(f(this, ur).body).append(f(this, mr))), tt(this, qs, $(".grip", f(this, mr))), tt(this, mi, $(".tooltip", f(this, mr))), $(this).on("mousedown", (l) => {
28310
- H.j.querySelectorAll(f(this, es).closest("tbody")).hasClass("fixed") || tt(this, ga, setTimeout(() => {
28310
+ H.j.querySelectorAll(f(this, ts).closest("tbody")).hasClass("fixed") || tt(this, ga, setTimeout(() => {
28311
28311
  f(this, Zh).call(this, l);
28312
28312
  }, 500));
28313
28313
  }).on("dblclick", (l) => {
28314
- H.j.querySelectorAll(f(this, es).closest("tbody")).hasClass("fixed") || f(this, Jh).call(this, l);
28314
+ H.j.querySelectorAll(f(this, ts).closest("tbody")).hasClass("fixed") || f(this, Jh).call(this, l);
28315
28315
  }), $(document).on("mouseup", (l) => {
28316
28316
  clearTimeout(f(this, ga));
28317
28317
  });
@@ -28320,34 +28320,34 @@ class tf extends HTMLElement {
28320
28320
  Y(this, Zh, (t) => {
28321
28321
  if (!(t.buttons != 1 || t.altKey || t.ctrlKey || t.shiftkey)) {
28322
28322
  var l = parseInt(t.target.getAttribute("rowIndex"));
28323
- l < 0 || (f(this, es).busy = !0, tt(this, Gh, t.target), tt(this, rs, $(".ng-container-body table tbody.bindable tr", f(this, ur).body).eq(l)), f(this, mr).show(), f(this, qs).width(f(this, ur).body.querySelector(".ng-container").offsetWidth), f(this, va).call(this, t.pageY), $(f(this, mr)).on("mousemove", f(this, ba)), $(f(this, mr)).on("mouseup", f(this, ya)));
28323
+ l < 0 || (f(this, ts).busy = !0, tt(this, Gh, t.target), tt(this, es, $(".ng-container-body table tbody.bindable tr", f(this, ur).body).eq(l)), f(this, mr).show(), f(this, qs).width(f(this, ur).body.querySelector(".ng-container").offsetWidth), f(this, va).call(this, t.pageY), $(f(this, mr)).on("mousemove", f(this, ba)), $(f(this, mr)).on("mouseup", f(this, ya)));
28324
28324
  }
28325
28325
  });
28326
28326
  Y(this, ba, (t) => {
28327
28327
  t.altKey || t.ctrlKey || t.shiftKey || f(this, va).call(this, t.pageY);
28328
28328
  });
28329
28329
  Y(this, ya, (t) => {
28330
- var l = f(this, qs).offset().top - f(this, rs).offset().top;
28331
- l <= 1 && (l = 0), l = f(this, ur).tableUtils.height(f(this, rs)[0].sectionRowIndex, l);
28332
- var c = parseInt(f(this, rs)[0].dataset.row * f(this, ur).template.length + f(this, rs)[0].sectionRowIndex % f(this, ur).template.length);
28333
- f(this, ur).matrix.setHeight(c, l), f(this, es).querySelector("ng-row-indicator").refresh(), $(f(this, mr)).off("mousemove", f(this, ba)), $(f(this, mr)).off("mouseup", f(this, ya)), f(this, mr).hide(), f(this, ur).view.redraw(), f(this, es).busy = !1;
28330
+ var l = f(this, qs).offset().top - f(this, es).offset().top;
28331
+ l <= 1 && (l = 0), l = f(this, ur).tableUtils.height(f(this, es)[0].sectionRowIndex, l);
28332
+ var c = parseInt(f(this, es)[0].dataset.row * f(this, ur).template.length + f(this, es)[0].sectionRowIndex % f(this, ur).template.length);
28333
+ f(this, ur).matrix.setHeight(c, l), f(this, ts).querySelector("ng-row-indicator").refresh(), $(f(this, mr)).off("mousemove", f(this, ba)), $(f(this, mr)).off("mouseup", f(this, ya)), f(this, mr).hide(), f(this, ur).view.redraw(), f(this, ts).busy = !1;
28334
28334
  });
28335
28335
  Y(this, va, (t) => {
28336
28336
  var l = $(".ng-container-body table tbody.bindable", f(this, ur).body);
28337
28337
  if (!(t < l.offset().top)) {
28338
28338
  f(this, qs).offset({ top: t });
28339
- var c = parseInt(f(this, qs).offset().top), o = parseInt(c - f(this, rs).offset().top);
28340
- o <= 1 && (o = 0), f(this, mi).height(o), f(this, mi).offset({ top: f(this, rs).offset().top - 1 }), f(this, mi).find("span").text(o);
28339
+ var c = parseInt(f(this, qs).offset().top), o = parseInt(c - f(this, es).offset().top);
28340
+ o <= 1 && (o = 0), f(this, mi).height(o), f(this, mi).offset({ top: f(this, es).offset().top - 1 }), f(this, mi).find("span").text(o);
28341
28341
  }
28342
28342
  });
28343
28343
  Y(this, Jh, (t) => {
28344
28344
  });
28345
28345
  }
28346
28346
  connectedCallback() {
28347
- tt(this, es, this.cell), tt(this, ur, f(this, es).getRootNode().host), this.setAttribute("class", "row-resizer"), f(this, Kh).call(this);
28347
+ tt(this, ts, this.cell), tt(this, ur, f(this, ts).getRootNode().host), this.setAttribute("class", "row-resizer"), f(this, Kh).call(this);
28348
28348
  }
28349
28349
  }
28350
- ur = new WeakMap(), es = new WeakMap(), ga = new WeakMap(), mr = new WeakMap(), qs = new WeakMap(), mi = new WeakMap(), bu = new WeakMap(), rs = new WeakMap(), Gh = new WeakMap(), Kh = new WeakMap(), Zh = new WeakMap(), ba = new WeakMap(), ya = new WeakMap(), va = new WeakMap(), Jh = new WeakMap();
28350
+ ur = new WeakMap(), ts = new WeakMap(), ga = new WeakMap(), mr = new WeakMap(), qs = new WeakMap(), mi = new WeakMap(), bu = new WeakMap(), es = new WeakMap(), Gh = new WeakMap(), Kh = new WeakMap(), Zh = new WeakMap(), ba = new WeakMap(), ya = new WeakMap(), va = new WeakMap(), Jh = new WeakMap();
28351
28351
  customElements.get("ng-row-indicator") || customElements.define("ng-row-indicator", Qd);
28352
28352
  customElements.get("ng-row-resizer") || customElements.define("ng-row-resizer", tf);
28353
28353
  var Qh;
@@ -28449,20 +28449,20 @@ class sf extends Mr {
28449
28449
  }
28450
28450
  }
28451
28451
  customElements.get("ng-row-state") || customElements.define("ng-row-state", sf);
28452
- var Dt, Vr, ge, gr, br, Sn, Hs, $r, tc, ec, wa, rc, xa, _a, kn, yu, Cn, ql, gi;
28452
+ var Dt, Ur, ge, gr, br, Sn, Hs, rs, tc, ec, wa, rc, xa, _a, kn, yu, Cn, ql, gi;
28453
28453
  class nf extends HTMLElement {
28454
28454
  // 혹은 기존에 사용하는 누적 변수
28455
28455
  constructor() {
28456
28456
  super();
28457
28457
  Y(this, Cn);
28458
28458
  Y(this, Dt);
28459
- Y(this, Vr);
28459
+ Y(this, Ur);
28460
28460
  Y(this, ge);
28461
28461
  Y(this, gr);
28462
28462
  Y(this, br);
28463
28463
  Y(this, Sn);
28464
28464
  Y(this, Hs, 0);
28465
- Y(this, $r, 0);
28465
+ Y(this, rs, 0);
28466
28466
  it(this, "refresh", () => {
28467
28467
  if (!f(this, Dt)) return;
28468
28468
  var t = $(".ng-container-body", f(this, Dt).body), l = $(".ng-scroll-thumb", this.shadowRoot), c = $("table > thead", t), o = f(this, Dt).dataManager.viewRecords.rawIndex, r = $(f(this, ge).track).height(), n = $(f(this, ge).thumb).height();
@@ -28529,9 +28529,9 @@ class nf extends HTMLElement {
28529
28529
  }), f(this, ge).top.ontouchend = f(this, ge).bottom.ontouchend = f(this, ge).track.ontouchend = f(this, ge).top.onmouseup = f(this, ge).top.onmouseleave = f(this, ge).bottom.onmouseup = f(this, ge).bottom.onmouseleave = f(this, ge).track.onmouseup = f(this, ge).track.onmouseleave = (l) => {
28530
28530
  clearInterval(f(this, gr)), clearInterval(f(this, br));
28531
28531
  }, $(f(this, ge).track).on("mousedown", f(this, wa)), $(f(this, ge).track).on("touchstart", f(this, ec)), $(f(this, ge).thumb).on("mousedown", f(this, _a)), $(f(this, ge).thumb).on("touchstart", f(this, rc)), document.addEventListener("mouseup", (l) => {
28532
- f(this, Vr) && tt(this, Vr, !1), document.removeEventListener("mousemove", f(this, kn)), typeof this.onDragStop == "function" && this.onDragStop();
28532
+ f(this, Ur) && tt(this, Ur, !1), document.removeEventListener("mousemove", f(this, kn)), typeof this.onDragStop == "function" && this.onDragStop();
28533
28533
  }), document.addEventListener("touchend", (l) => {
28534
- tt(this, Vr, !1), document.removeEventListener("touchmove", f(this, xa)), typeof this.onDragStop == "function" && this.onDragStop();
28534
+ tt(this, Ur, !1), document.removeEventListener("touchmove", f(this, xa)), typeof this.onDragStop == "function" && this.onDragStop();
28535
28535
  });
28536
28536
  });
28537
28537
  Y(this, ec, (t) => {
@@ -28539,7 +28539,7 @@ class nf extends HTMLElement {
28539
28539
  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, wa).call(this, t);
28540
28540
  });
28541
28541
  Y(this, wa, (t) => {
28542
- if (!f(this, Vr) && !(t.buttons != 1 || t.altKey || t.ctrlKey || t.shiftKey)) {
28542
+ if (!f(this, Ur) && !(t.buttons != 1 || t.altKey || t.ctrlKey || t.shiftKey)) {
28543
28543
  t.preventDefault(), tt(this, Hs, t.clientY);
28544
28544
  var l = f(this, ge).thumb.getBoundingClientRect();
28545
28545
  clearInterval(f(this, gr)), clearInterval(f(this, br)), t.clientY > l.y ? f(this, Dt).pageDown() : f(this, Dt).pageUp(), tt(this, gr, setInterval(() => {
@@ -28564,10 +28564,10 @@ class nf extends HTMLElement {
28564
28564
  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, kn).call(this, t);
28565
28565
  });
28566
28566
  Y(this, _a, (t) => {
28567
- tt(this, Vr, !0), this.shiftY = t.offsetY + f(this, ge).track.getBoundingClientRect().y, this.trackHeight = $(f(this, ge).track).height(), this.thumbHeight = $(f(this, ge).thumb).height(), this.nodataHeight = $(".ng-container .ng-table tr.nodata", f(this, Dt).body).height(), this.bodyHeight = $(".ng-container-body", f(this, Dt).body).height(), this.templateHeight = f(this, Dt).template.height(), this.theadHeight = $(".ng-container-body table > thead", f(this, Dt).body).height() || 0, this.tfootHeight = $(".ng-container-body table > tfoot", f(this, Dt).body).height() || 0, this.fixedHeight = $(".ng-container-body tbody.fixed", f(this, Dt).body).height(), this.tableHeight = $(".ng-container-body .ng-table", f(this, Dt).body).height(), tt(this, Sn, !0), document.addEventListener("mousemove", f(this, kn)), typeof this.onDragStart == "function" && this.onDragStart();
28567
+ tt(this, Ur, !0), this.shiftY = t.offsetY + f(this, ge).track.getBoundingClientRect().y, this.trackHeight = $(f(this, ge).track).height(), this.thumbHeight = $(f(this, ge).thumb).height(), this.nodataHeight = $(".ng-container .ng-table tr.nodata", f(this, Dt).body).height(), this.bodyHeight = $(".ng-container-body", f(this, Dt).body).height(), this.templateHeight = f(this, Dt).template.height(), this.theadHeight = $(".ng-container-body table > thead", f(this, Dt).body).height() || 0, this.tfootHeight = $(".ng-container-body table > tfoot", f(this, Dt).body).height() || 0, this.fixedHeight = $(".ng-container-body tbody.fixed", f(this, Dt).body).height(), this.tableHeight = $(".ng-container-body .ng-table", f(this, Dt).body).height(), tt(this, Sn, !0), document.addEventListener("mousemove", f(this, kn)), typeof this.onDragStart == "function" && this.onDragStart();
28568
28568
  });
28569
28569
  Y(this, kn, (t) => {
28570
- if (!f(this, Vr)) return;
28570
+ if (!f(this, Ur)) return;
28571
28571
  t.preventDefault();
28572
28572
  var l = t.clientY - f(this, Hs);
28573
28573
  tt(this, Hs, t.clientY), f(this, Sn) && (H.j.querySelectorAll("th,td", f(this, Dt).body).removeClass("active").removeClass("multi-selected").removeClass("selected").removeClass("selected-current").removeClass("selected-area").removeClass("selected-top").removeClass("selected-bottom").removeClass("selected-left").removeClass("selected-right"), tt(this, Sn, !1));
@@ -28580,17 +28580,17 @@ class nf extends HTMLElement {
28580
28580
  f(this, Dt).scrollToV2(s), qe(this, Cn, ql).call(this, 0);
28581
28581
  else {
28582
28582
  var e = l;
28583
- ld.log(t, l), tt(this, $r, f(this, $r) - e), tt(this, $r, Math.max(-scrollableContent, Math.min(0, f(this, $r)))), qe(this, Cn, ql).call(this, Math.abs(f(this, $r)));
28583
+ ld.log(t, l), tt(this, rs, f(this, rs) - e), qe(this, Cn, ql).call(this, f(this, rs));
28584
28584
  }
28585
28585
  });
28586
28586
  Y(this, yu, (t) => {
28587
- if (f(this, Vr)) {
28587
+ if (f(this, Ur)) {
28588
28588
  t.preventDefault();
28589
28589
  var l = t.clientY - f(this, Hs);
28590
28590
  tt(this, Hs, t.clientY);
28591
28591
  var c = this.trackHeight, o = f(this, gi).call(this), r = c - o, n = f(this, Dt).matrix.totalHeight - this.bodyHeight, s = r > 0 ? n / r : 0, e = l * s;
28592
- tt(this, $r, f(this, $r) - e), tt(this, $r, Math.max(-n, Math.min(0, f(this, $r)))), qe(this, Cn, ql).call(this, Math.abs(f(this, $r)));
28593
- var i = f(this, Dt).getRowIndexAt(Math.abs(f(this, $r)));
28592
+ tt(this, rs, f(this, rs) - e), tt(this, rs, Math.max(-n, Math.min(0, f(this, rs)))), qe(this, Cn, ql).call(this, Math.abs(f(this, rs)));
28593
+ var i = f(this, Dt).getRowIndexAt(Math.abs(f(this, rs)));
28594
28594
  f(this, Dt).dataManager.viewRecords.rawIndex != i && f(this, Dt).scrollToV2(i);
28595
28595
  }
28596
28596
  });
@@ -28613,22 +28613,22 @@ class nf extends HTMLElement {
28613
28613
  thumb: this.shadowRoot.querySelector(".ng-scroll-thumb"),
28614
28614
  top: this.shadowRoot.querySelector(".ng-scroll-top"),
28615
28615
  bottom: this.shadowRoot.querySelector(".ng-scroll-bottom")
28616
- }), f(this, Vr), this.shiftX, f(this, tc).call(this));
28616
+ }), f(this, Ur), this.shiftX, f(this, tc).call(this));
28617
28617
  }
28618
28618
  }
28619
- Dt = 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(), yu = new WeakMap(), Cn = new WeakSet(), ql = function(t) {
28619
+ Dt = new WeakMap(), Ur = new WeakMap(), ge = new WeakMap(), gr = new WeakMap(), br = new WeakMap(), Sn = new WeakMap(), Hs = new WeakMap(), rs = new WeakMap(), tc = new WeakMap(), ec = new WeakMap(), wa = new WeakMap(), rc = new WeakMap(), xa = new WeakMap(), _a = new WeakMap(), kn = new WeakMap(), yu = new WeakMap(), Cn = new WeakSet(), ql = function(t) {
28620
28620
  const l = f(this, Dt).body.querySelector(".ng-container-body tbody.bindable");
28621
28621
  l && (l.style.transform = `translateY(-${t}px)`);
28622
28622
  }, gi = new WeakMap();
28623
- var Ze, ms, ae, Wr, Xr, zs, sc, Sa, ic, ka, nc, Ca, Ea, En;
28623
+ var Ze, ms, ae, Vr, Wr, zs, sc, Sa, ic, ka, nc, Ca, Ea, En;
28624
28624
  class of extends HTMLElement {
28625
28625
  constructor() {
28626
28626
  super();
28627
28627
  Y(this, Ze);
28628
28628
  Y(this, ms);
28629
28629
  Y(this, ae);
28630
+ Y(this, Vr);
28630
28631
  Y(this, Wr);
28631
- Y(this, Xr);
28632
28632
  it(this, "refresh", () => {
28633
28633
  if (f(this, Ze)) {
28634
28634
  var t = $(".ng-container-body", f(this, Ze).body), l = $("table", t), c = $(".ng-scroll-track", this.shadowRoot), o = $(".ng-scroll-thumb", this.shadowRoot);
@@ -28660,17 +28660,17 @@ class of extends HTMLElement {
28660
28660
  });
28661
28661
  Y(this, sc, () => {
28662
28662
  var t = (l) => {
28663
- clearInterval(f(this, Wr)), clearInterval(f(this, Xr));
28663
+ clearInterval(f(this, Vr)), clearInterval(f(this, Wr));
28664
28664
  var c = f(this, ae).track.getBoundingClientRect(), o = f(this, ae).thumb.getBoundingClientRect();
28665
- f(this, zs).call(this, o.x - c.x + l), tt(this, Wr, setInterval(() => {
28666
- clearInterval(f(this, Wr)), tt(this, Xr, setInterval(() => {
28665
+ f(this, zs).call(this, o.x - c.x + l), tt(this, Vr, setInterval(() => {
28666
+ clearInterval(f(this, Vr)), tt(this, Wr, setInterval(() => {
28667
28667
  var r = f(this, ae).thumb.getBoundingClientRect();
28668
- f(this, zs).call(this, r.x - c.x + l) || clearInterval(f(this, Xr));
28668
+ f(this, zs).call(this, r.x - c.x + l) || clearInterval(f(this, Wr));
28669
28669
  }, 10));
28670
28670
  }, 500));
28671
28671
  };
28672
28672
  f(this, ae).left.ontouchend = f(this, ae).right.ontouchend = f(this, ae).track.ontouchend = f(this, ae).left.onmouseup = f(this, ae).left.onmouseleave = f(this, ae).right.onmouseup = f(this, ae).right.onmouseleave = f(this, ae).track.onmouseup, f(this, ae).track.onmouseleave = (l) => {
28673
- clearInterval(f(this, Wr)), clearInterval(f(this, Xr));
28673
+ clearInterval(f(this, Vr)), clearInterval(f(this, Wr));
28674
28674
  }, $(f(this, ae).left).on("mousedown", (l) => {
28675
28675
  l.buttons != 1 || l.altKey || l.ctrlKey || l.shiftKey || t(-10);
28676
28676
  }), $(f(this, ae).right).on("mousedown", (l) => {
@@ -28680,9 +28680,9 @@ class of extends HTMLElement {
28680
28680
  }), $(f(this, ae).right).on("touchstart", (l) => {
28681
28681
  t(10);
28682
28682
  }), $(f(this, ae).track).on("mousedown", f(this, ka)), $(f(this, ae).track).on("touchstart", f(this, ic)), $(f(this, ae).thumb).on("mousedown", f(this, Ca)), $(f(this, ae).thumb).on("touchstart", f(this, nc)), document.addEventListener("touchend", (l) => {
28683
- tt(this, ms, !1), clearInterval(f(this, Wr)), clearInterval(f(this, Xr)), $(document).off("touchmove", f(this, Ea)), typeof this.onDragStop == "function" && this.onDragStop();
28683
+ tt(this, ms, !1), clearInterval(f(this, Vr)), clearInterval(f(this, Wr)), $(document).off("touchmove", f(this, Ea)), typeof this.onDragStop == "function" && this.onDragStop();
28684
28684
  }), document.addEventListener("mouseup", (l) => {
28685
- tt(this, ms, !1), clearInterval(f(this, Wr)), clearInterval(f(this, Xr)), document.removeEventListener("mousemove", f(this, En)), typeof this.onDragStop == "function" && this.onDragStop();
28685
+ tt(this, ms, !1), clearInterval(f(this, Vr)), clearInterval(f(this, Wr)), document.removeEventListener("mousemove", f(this, En)), typeof this.onDragStop == "function" && this.onDragStop();
28686
28686
  });
28687
28687
  });
28688
28688
  Y(this, Sa, (t) => {
@@ -28699,10 +28699,10 @@ class of extends HTMLElement {
28699
28699
  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, ka).call(this, t);
28700
28700
  });
28701
28701
  Y(this, ka, (t) => {
28702
- f(this, ms) || t.buttons != 1 || t.altKey || t.ctrlKey || t.shiftKey || (t.preventDefault(), f(this, Sa).call(this, t.clientX), tt(this, Wr, setInterval(() => {
28703
- clearInterval(f(this, Wr)), tt(this, Xr, setInterval(() => {
28702
+ f(this, ms) || t.buttons != 1 || t.altKey || t.ctrlKey || t.shiftKey || (t.preventDefault(), f(this, Sa).call(this, t.clientX), tt(this, Vr, setInterval(() => {
28703
+ clearInterval(f(this, Vr)), tt(this, Wr, setInterval(() => {
28704
28704
  var l = f(this, ae).thumb.getBoundingClientRect();
28705
- t.clientX > l.x && t.clientX < l.x + l.width ? clearInterval(f(this, Xr)) : f(this, Sa).call(this, t.clientX);
28705
+ t.clientX > l.x && t.clientX < l.x + l.width ? clearInterval(f(this, Wr)) : f(this, Sa).call(this, t.clientX);
28706
28706
  }, 10));
28707
28707
  }, 500)));
28708
28708
  });
@@ -28743,7 +28743,7 @@ class of extends HTMLElement {
28743
28743
  }), f(this, ms), this.shiftX, f(this, sc).call(this);
28744
28744
  }
28745
28745
  }
28746
- Ze = new WeakMap(), ms = new WeakMap(), ae = new WeakMap(), Wr = new WeakMap(), Xr = new WeakMap(), zs = new WeakMap(), sc = new WeakMap(), Sa = new WeakMap(), ic = new WeakMap(), ka = new WeakMap(), nc = new WeakMap(), Ca = new WeakMap(), Ea = new WeakMap(), En = new WeakMap();
28746
+ Ze = new WeakMap(), ms = new WeakMap(), ae = new WeakMap(), Vr = new WeakMap(), Wr = new WeakMap(), zs = new WeakMap(), sc = new WeakMap(), Sa = new WeakMap(), ic = new WeakMap(), ka = new WeakMap(), nc = new WeakMap(), Ca = new WeakMap(), Ea = new WeakMap(), En = new WeakMap();
28747
28747
  customElements.get("ng-hscrollbar") || customElements.define("ng-hscrollbar", of);
28748
28748
  customElements.get("ng-vscrollbar") || customElements.define("ng-vscrollbar", nf);
28749
28749
  var Ve, ss, Aa, Ta, Ra, oc, ac;
@@ -31524,24 +31524,24 @@ class jf extends HTMLElement {
31524
31524
  }
31525
31525
  customElements.get("nx-tab") || customElements.define("nx-tab", Of);
31526
31526
  customElements.get("nx-tab-page") || customElements.define("nx-tab-page", jf);
31527
- var Lr, zc, Uc, Vc, vl;
31527
+ var $r, zc, Uc, Vc, vl;
31528
31528
  class $f extends HTMLElement {
31529
31529
  constructor() {
31530
31530
  super();
31531
- Y(this, Lr);
31531
+ Y(this, $r);
31532
31532
  Y(this, zc, (t) => {
31533
31533
  const l = t.previousElementSibling, c = t.nextElementSibling;
31534
31534
  if (!l || !c) {
31535
- tt(this, Lr, this.classList.contains("h") ? "h" : "v");
31535
+ tt(this, $r, this.classList.contains("h") ? "h" : "v");
31536
31536
  return;
31537
31537
  }
31538
31538
  const o = l.getBoundingClientRect(), r = c.getBoundingClientRect();
31539
- this.classList.contains("h") ? tt(this, Lr, "h") : this.classList.contains("v") ? tt(this, Lr, "v") : tt(this, Lr, Math.abs(o.top - r.top) < 5 ? "h" : "v");
31539
+ this.classList.contains("h") ? tt(this, $r, "h") : this.classList.contains("v") ? tt(this, $r, "v") : tt(this, $r, Math.abs(o.top - r.top) < 5 ? "h" : "v");
31540
31540
  });
31541
31541
  Y(this, Uc, (t) => {
31542
31542
  t.preventDefault(), t.stopPropagation();
31543
- const l = this.getBoundingClientRect(), c = f(this, Lr) === "h", o = c ? t.clientX - l.left : t.clientY - l.top, r = document.createElement("div");
31544
- r.className = `nx-splitter-drag-bar-${f(this, Lr)}`, Object.assign(r.style, {
31543
+ const l = this.getBoundingClientRect(), c = f(this, $r) === "h", o = c ? t.clientX - l.left : t.clientY - l.top, r = document.createElement("div");
31544
+ r.className = `nx-splitter-drag-bar-${f(this, $r)}`, Object.assign(r.style, {
31545
31545
  position: "absolute",
31546
31546
  zIndex: "999",
31547
31547
  background: "#666",
@@ -31576,8 +31576,8 @@ class $f extends HTMLElement {
31576
31576
  window.addEventListener("mousemove", b), window.addEventListener("mouseup", g);
31577
31577
  });
31578
31578
  Y(this, Vc, () => {
31579
- f(this, zc).call(this, this), this.classList.add(f(this, Lr));
31580
- const t = this.innerHTML.trim(), l = `grip-${f(this, Lr)}`, c = t === "" ? `<div class="${l}"></div>` : `<div class="${l}"></div><div class="inner-container">${t}</div><div class="${l}"></div>`;
31579
+ f(this, zc).call(this, this), this.classList.add(f(this, $r));
31580
+ const t = this.innerHTML.trim(), l = `grip-${f(this, $r)}`, c = t === "" ? `<div class="${l}"></div>` : `<div class="${l}"></div><div class="inner-container">${t}</div><div class="${l}"></div>`;
31581
31581
  this.innerHTML = "";
31582
31582
  const o = document.createElement("template");
31583
31583
  o.innerHTML = `
@@ -31591,7 +31591,7 @@ class $f extends HTMLElement {
31591
31591
  }), f(this, vl).call(this), window.addEventListener("resize", () => f(this, vl).call(this));
31592
31592
  });
31593
31593
  Y(this, vl, () => {
31594
- const t = f(this, Lr) === "h", l = this.parentElement, c = Array.from(l.children).filter((s) => s.tagName.toLowerCase() !== "nx-splitter");
31594
+ const t = f(this, $r) === "h", l = this.parentElement, c = Array.from(l.children).filter((s) => s.tagName.toLowerCase() !== "nx-splitter");
31595
31595
  if (c.length < 2) return;
31596
31596
  const o = l.getBoundingClientRect(), r = c.reduce((s, e) => {
31597
31597
  const i = t ? e.getBoundingClientRect().width : e.getBoundingClientRect().height;
@@ -31608,7 +31608,7 @@ class $f extends HTMLElement {
31608
31608
  f(this, Vc).call(this);
31609
31609
  }
31610
31610
  }
31611
- Lr = new WeakMap(), zc = new WeakMap(), Uc = new WeakMap(), Vc = new WeakMap(), vl = new WeakMap();
31611
+ $r = new WeakMap(), zc = new WeakMap(), Uc = new WeakMap(), Vc = new WeakMap(), vl = new WeakMap();
31612
31612
  customElements.get("nx-splitter") || customElements.define("nx-splitter", $f);
31613
31613
  var wu, Wc;
31614
31614
  class Lf extends HTMLElement {