@ninebone/grid 0.0.52 → 0.0.54

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
@@ -970,7 +970,7 @@ class Uu {
970
970
  }
971
971
  }
972
972
  Ve = new WeakMap(), Hl = new WeakMap(), zl = new WeakMap(), Ul = new WeakMap(), Vl = new WeakMap();
973
- var Xt, Wl, Mi, Es, As, Ii, Ts, Ni, Jn, Oi, ji, lr, Cu, Eu, Wu, Au, Tu, Ru, Xu, Mu, Qs, $i, Qn, to, eo, ro;
973
+ var Xt, Wl, Mi, Es, As, Ii, Ts, Ni, Jn, Oi, ji, lr, Cu, Eu, Wu, Au, Tu, Ru, Xu, Mu, Js, $i, Qn, to, eo, ro;
974
974
  class Vu {
975
975
  constructor(C) {
976
976
  Y(this, lr);
@@ -1006,13 +1006,13 @@ class Vu {
1006
1006
  }
1007
1007
  switch (C.code) {
1008
1008
  case "Tab":
1009
- C.preventDefault(), n = C.shiftKey ? f(this, Qs).call(this, o, c) : f(this, $i).call(this, o, c);
1009
+ C.preventDefault(), n = C.shiftKey ? f(this, Js).call(this, o, c) : f(this, $i).call(this, o, c);
1010
1010
  break;
1011
1011
  case "ArrowRight":
1012
1012
  n = f(this, $i).call(this, o, c);
1013
1013
  break;
1014
1014
  case "ArrowLeft":
1015
- n = f(this, Qs).call(this, o, c);
1015
+ n = f(this, Js).call(this, o, c);
1016
1016
  break;
1017
1017
  case "ArrowDown":
1018
1018
  if (t.closest("tbody.fixed"))
@@ -1042,16 +1042,16 @@ class Vu {
1042
1042
  }
1043
1043
  ["Tab", "ArrowLeft", "ArrowRight"].includes(C.code) && f(this, Xt).body.querySelector("ng-hscrollbar").refresh();
1044
1044
  });
1045
- Y(this, Qs, (C, t) => {
1045
+ Y(this, Js, (C, t) => {
1046
1046
  var l = parseInt(C / f(this, Xt).template.length), c;
1047
1047
  return $(`tbody tr[data-matrix-row=${C}]`, f(this, Xt).body).find("th,td").each((o, r) => {
1048
1048
  var n = parseInt(r.dataset.col);
1049
1049
  if (t - 1 >= n && t - 1 <= n + r.colSpan - 1)
1050
- return c = H.j.querySelectorAll(r).hasClass("dummy") ? f(this, Qs).call(this, C, r.dataset.col) : r.dataset.col, !1;
1050
+ return c = H.j.querySelectorAll(r).hasClass("dummy") ? f(this, Js).call(this, C, r.dataset.col) : r.dataset.col, !1;
1051
1051
  }), c == null && $(`tbody tr[data-row=${l}]`, f(this, Xt).body).find("th,td").each((o, r) => {
1052
1052
  var n = parseInt(r.dataset.col);
1053
1053
  if (t - 1 >= n && t - 1 <= n + r.colSpan - 1)
1054
- return c = H.j.querySelectorAll(r).hasClass("dummy") ? f(this, Qs).call(this, C, r.dataset.col) : r.dataset.col, !1;
1054
+ return c = H.j.querySelectorAll(r).hasClass("dummy") ? f(this, Js).call(this, C, r.dataset.col) : r.dataset.col, !1;
1055
1055
  }), c;
1056
1056
  });
1057
1057
  Y(this, $i, (C, t) => {
@@ -1167,7 +1167,7 @@ Xt = new WeakMap(), Wl = new WeakMap(), Mi = new WeakMap(), Es = new WeakMap(),
1167
1167
  return f(this, ji);
1168
1168
  }, Mu = function(C) {
1169
1169
  tt(this, Oi, f(this, ji)), tt(this, ji, C);
1170
- }, Qs = new WeakMap(), $i = new WeakMap(), Qn = new WeakMap(), to = new WeakMap(), eo = new WeakMap(), ro = new WeakMap();
1170
+ }, Js = new WeakMap(), $i = new WeakMap(), Qn = new WeakMap(), to = new WeakMap(), eo = new WeakMap(), ro = new WeakMap();
1171
1171
  var kt, wr, Li, Xl, so;
1172
1172
  class Yu {
1173
1173
  constructor(C) {
@@ -1718,11 +1718,11 @@ class Zu extends ki {
1718
1718
  }
1719
1719
  Bi = new WeakMap(), Fi = new WeakMap(), go = new WeakMap(), qi = new WeakMap(), Hi = new WeakMap();
1720
1720
  customElements.get("ng-checkbox") || customElements.define("ng-checkbox", Zu);
1721
- var ti, Pr, bo, zi, yo, rh;
1721
+ var Qs, Pr, bo, zi, yo, rh;
1722
1722
  class Ju extends HTMLElement {
1723
1723
  constructor() {
1724
1724
  super();
1725
- Y(this, ti);
1725
+ Y(this, Qs);
1726
1726
  Y(this, Pr);
1727
1727
  Y(this, bo);
1728
1728
  Y(this, zi);
@@ -1734,15 +1734,15 @@ class Ju extends HTMLElement {
1734
1734
  $(this).addClass("expand"), f(this, Pr).style.color = f(this, bo);
1735
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
- f(this, ti).columns.width(t + c, f(this, zi)[c]);
1737
+ f(this, Qs).columns.width(t + c, f(this, zi)[c]);
1738
1738
  });
1739
1739
  Y(this, rh, () => {
1740
1740
  if (!H.j.querySelectorAll(this).hasClass("expand")) return;
1741
1741
  $(this).removeClass("expand"), tt(this, bo, f(this, Pr).style.color), f(this, Pr).style.color = "transparent", tt(this, zi, []);
1742
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
- const r = f(this, ti).body.querySelector(`colgroup col[data-col="${t + o}"]`);
1745
- f(this, zi).push(r.getAttribute("width")), f(this, ti).columns.width(t + o, c);
1744
+ const r = f(this, Qs).body.querySelector(`colgroup col[data-col="${t + o}"]`);
1745
+ f(this, zi).push(r.getAttribute("width")), f(this, Qs).columns.width(t + o, c);
1746
1746
  }
1747
1747
  });
1748
1748
  this.attachShadow({ mode: "open" });
@@ -1753,10 +1753,10 @@ class Ju 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, Pr, this.closest("th,td")), H.j.querySelectorAll(this).addClass("expand"), $(this).off("click", f(this, yo)), $(this).on("click", f(this, yo));
1756
+ `, tt(this, Qs, this.getRootNode().host), tt(this, Pr, this.closest("th,td")), H.j.querySelectorAll(this).addClass("expand"), $(this).off("click", f(this, yo)), $(this).on("click", f(this, yo));
1757
1757
  }
1758
1758
  }
1759
- ti = new WeakMap(), Pr = new WeakMap(), bo = new WeakMap(), zi = new WeakMap(), yo = new WeakMap(), rh = new WeakMap();
1759
+ Qs = new WeakMap(), Pr = new WeakMap(), bo = new WeakMap(), zi = new WeakMap(), yo = new WeakMap(), rh = new WeakMap();
1760
1760
  customElements.get("ng-col-expand") || customElements.define("ng-col-expand", Ju);
1761
1761
  class Qu extends HTMLElement {
1762
1762
  constructor() {
@@ -1953,7 +1953,7 @@ class ed {
1953
1953
  }
1954
1954
  }
1955
1955
  we = new WeakMap(), Nr = new WeakMap(), Dr = new WeakMap(), vo = new WeakMap(), xr = new WeakMap(), Ui = new WeakMap(), Br = new WeakMap(), wo = new WeakMap(), lu = new WeakMap(), xo = new WeakMap(), hu = new WeakMap(), _o = new WeakMap(), So = new WeakMap(), Vi = new WeakMap(), Wi = new WeakMap(), ko = new WeakMap();
1956
- var Ie, _r, Sr, Rs, Ms, Fr, kr, Is, Ns, Co, Eo, Ao, cu, To, sh, Ro, Xi, Yi, Gi, ei, Ki, ih;
1956
+ var Ie, _r, Sr, Rs, Ms, Fr, kr, Is, Ns, Co, Eo, Ao, cu, To, sh, Ro, Xi, Yi, Gi, ti, Ki, ih;
1957
1957
  class rd {
1958
1958
  constructor(C) {
1959
1959
  Y(this, Ie);
@@ -2028,7 +2028,7 @@ class rd {
2028
2028
  var l = parseInt(C.target.dataset.col) + C.target.colSpan - 1, t = $(`.col-indicator[data-col=${l}]`, f(this, Ie).body).not(".dummy")[0];
2029
2029
  tt(this, Fr, $(t)), tt(this, kr, f(this, Ie).tableUtils.next(t));
2030
2030
  }
2031
- f(this, _r).show(), f(this, Sr).offset({ top: $(".ng-container-body", f(this, Ie).body).offset().top, left: f(this, kr).offset().left - 1 }), f(this, Sr).height(f(this, Ie).body.querySelector(".ng-container-body").offsetHeight), f(this, Rs).offset({ top: $(".ng-container-body", f(this, Ie).body).offset().top }), f(this, Ki).call(this, C.pageX), $(f(this, _r)).off("mousemove", f(this, Yi)).off("mouseup", f(this, ei)).on("mousemove", f(this, Yi)).on("mouseup", f(this, ei));
2031
+ f(this, _r).show(), f(this, Sr).offset({ top: $(".ng-container-body", f(this, Ie).body).offset().top, left: f(this, kr).offset().left - 1 }), f(this, Sr).height(f(this, Ie).body.querySelector(".ng-container-body").offsetHeight), f(this, Rs).offset({ top: $(".ng-container-body", f(this, Ie).body).offset().top }), f(this, Ki).call(this, C.pageX), $(f(this, _r)).off("mousemove", f(this, Yi)).off("mouseup", f(this, ti)).on("mousemove", f(this, Yi)).on("mouseup", f(this, ti));
2032
2032
  }
2033
2033
  });
2034
2034
  Y(this, Xi, (C) => {
@@ -2038,14 +2038,14 @@ class rd {
2038
2038
  f(this, Ki).call(this, C.pageX);
2039
2039
  });
2040
2040
  Y(this, Gi, (C) => {
2041
- $(C.target).off("touchmove", (t) => f(this, Xi).call(this, t)), $(C.target).off("touchend", (t) => f(this, Gi).call(this, t)), f(this, ei).call(this, C);
2041
+ $(C.target).off("touchmove", (t) => f(this, Xi).call(this, t)), $(C.target).off("touchend", (t) => f(this, Gi).call(this, t)), f(this, ti).call(this, C);
2042
2042
  });
2043
- Y(this, ei, (C) => {
2043
+ Y(this, ti, (C) => {
2044
2044
  if (!f(this, Sr).is(":visible")) return;
2045
2045
  var t;
2046
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
2047
  const l = f(this, Is) ? f(this, kr)[0].dataset.col : f(this, Fr)[0].dataset.col;
2048
- f(this, Ie).columns.width(l, t), $(f(this, _r)).off("mousemove", f(this, Yi)), $(f(this, _r)).off("mouseup", f(this, ei)), f(this, _r).hide();
2048
+ f(this, Ie).columns.width(l, t), $(f(this, _r)).off("mousemove", f(this, Yi)), $(f(this, _r)).off("mouseup", f(this, ti)), f(this, _r).hide();
2049
2049
  });
2050
2050
  Y(this, Ki, (C) => {
2051
2051
  !f(this, Is) && C < f(this, Fr).offset().left && (C = f(this, Fr).offset().left), f(this, Sr).offset({ left: C });
@@ -2059,8 +2059,8 @@ class rd {
2059
2059
  tt(this, Ie, 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, Ie).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
- Ie = 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(), Co = new WeakMap(), Eo = new WeakMap(), Ao = new WeakMap(), cu = new WeakMap(), To = new WeakMap(), sh = new WeakMap(), Ro = new WeakMap(), Xi = new WeakMap(), Yi = new WeakMap(), Gi = new WeakMap(), ei = new WeakMap(), Ki = new WeakMap(), ih = new WeakMap();
2063
- var ue, ri, Or, Zi, Mo, nh;
2062
+ Ie = 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(), Co = new WeakMap(), Eo = new WeakMap(), Ao = new WeakMap(), cu = new WeakMap(), To = new WeakMap(), sh = new WeakMap(), Ro = new WeakMap(), Xi = new WeakMap(), Yi = new WeakMap(), Gi = new WeakMap(), ti = new WeakMap(), Ki = new WeakMap(), ih = new WeakMap();
2063
+ var ue, ei, Or, Zi, Mo, nh;
2064
2064
  class sd {
2065
2065
  constructor(C) {
2066
2066
  Y(this, ue);
@@ -2077,7 +2077,7 @@ class sd {
2077
2077
  };
2078
2078
  return C ? t(f(this, ue).activeTmpl.querySelector(`[data-bind="${C}"]`)) : Array.from(f(this, ue).activeTmpl.querySelectorAll("[data-bind]")).filter((l) => l.dataset.bind !== "rowState").map((l) => t(l));
2079
2079
  });
2080
- Y(this, ri, (C, t) => {
2080
+ Y(this, ei, (C, t) => {
2081
2081
  var l = Array.from(C.querySelectorAll("col"));
2082
2082
  return l[t];
2083
2083
  });
@@ -2126,9 +2126,9 @@ class sd {
2126
2126
  t.template.cells = t.template.cells.concat(f(this, Or).call(this, i, o, o + l - 1));
2127
2127
  });
2128
2128
  for (var s = o; s <= o + l - 1; s++)
2129
- t.cols.push(f(this, ri).call(this, f(this, ue).body, s));
2129
+ t.cols.push(f(this, ei).call(this, f(this, ue).body, s));
2130
2130
  for (var s = o; s <= o + l - 1; s++)
2131
- t.org.cols.push(f(this, ri).call(this, n.currentTable, s));
2131
+ t.org.cols.push(f(this, ei).call(this, n.currentTable, s));
2132
2132
  return t;
2133
2133
  });
2134
2134
  Y(this, nh, (C, t, l, c) => {
@@ -2169,12 +2169,12 @@ class sd {
2169
2169
  }
2170
2170
  var a;
2171
2171
  parseInt(C.dataset.col) > parseInt(t.dataset.col) ? a = parseInt(t.dataset.col) : a = parseInt(t.dataset.col) + (t.colSpan || 1) - 1 + (parseInt(C.dataset.col) > parseInt(t.dataset.col) ? 0 : 1);
2172
- let h = f(this, ri).call(this, f(this, ue).body, a);
2172
+ let h = f(this, ei).call(this, f(this, ue).body, a);
2173
2173
  const p = t.closest("table") == h.closest("table");
2174
2174
  for (var m of c.cols)
2175
2175
  m && (p ? t.closest("table").querySelector("colgroup").insertBefore(m, h) : t.closest("table").querySelector("colgroup").appendChild(m));
2176
2176
  for (var m of c.org.cols)
2177
- h = f(this, ri).call(this, l.currentTable, a), m && m.closest("colgroup").insertBefore(m, h);
2177
+ h = f(this, ei).call(this, l.currentTable, a), m && m.closest("colgroup").insertBefore(m, h);
2178
2178
  for (var e of [c.thead.cells, c.tfoot.cells, c.tbody.cells, c.fixed.cells])
2179
2179
  for (var i of e)
2180
2180
  H.j.querySelectorAll(i).removeClass("tmp");
@@ -2259,8 +2259,8 @@ class sd {
2259
2259
  tt(this, ue, C);
2260
2260
  }
2261
2261
  }
2262
- ue = new WeakMap(), ri = new WeakMap(), Or = new WeakMap(), Zi = new WeakMap(), Mo = new WeakMap(), nh = new WeakMap();
2263
- var oh, Ji, Le, rr, Io, Os, si, Qi, ah, lh, hh, ch, uu;
2262
+ ue = new WeakMap(), ei = new WeakMap(), Or = new WeakMap(), Zi = new WeakMap(), Mo = new WeakMap(), nh = new WeakMap();
2263
+ var oh, Ji, Le, rr, Io, Os, ri, Qi, ah, lh, hh, ch, uu;
2264
2264
  class id extends ki {
2265
2265
  constructor() {
2266
2266
  super();
@@ -2270,7 +2270,7 @@ class id extends ki {
2270
2270
  Y(this, rr);
2271
2271
  Y(this, Io);
2272
2272
  Y(this, Os);
2273
- Y(this, si);
2273
+ Y(this, ri);
2274
2274
  Y(this, Qi);
2275
2275
  it(this, "dataRefresh", (t) => {
2276
2276
  f(this, rr) && (f(this, ah).call(this) ? H.j.querySelectorAll(this).removeClass("invalid") : H.j.querySelectorAll(this).addClass("invalid")), f(this, Ji).innerHTML = this.getDisplayText() || "Select", t || this.reset();
@@ -2315,13 +2315,13 @@ class id extends ki {
2315
2315
  Y(this, uu, () => "a");
2316
2316
  }
2317
2317
  connectedCallback() {
2318
- this.multi = this.getAttribute("multi") == "true", this.multiSeparator = this.getAttribute("multi-separator") || ",", tt(this, Io, this.getAttribute("rows") || 5), tt(this, Os, this.getAttribute("code") || "code"), tt(this, si, this.getAttribute("codename") || "codename"), tt(this, Qi, (this.getAttribute("items") || f(this, si) || "").split(",")), f(this, Qi).unshift("CHK");
2318
+ this.multi = this.getAttribute("multi") == "true", this.multiSeparator = this.getAttribute("multi-separator") || ",", tt(this, Io, this.getAttribute("rows") || 5), tt(this, Os, this.getAttribute("code") || "code"), tt(this, ri, this.getAttribute("codename") || "codename"), tt(this, Qi, (this.getAttribute("items") || f(this, ri) || "").split(",")), f(this, Qi).unshift("CHK");
2319
2319
  var t = this.querySelector("datalist");
2320
2320
  t && (tt(this, rr, []), t.querySelectorAll("option").forEach((n) => {
2321
- const s = n.getAttribute(f(this, Os)), e = n.getAttribute(f(this, si));
2321
+ const s = n.getAttribute(f(this, Os)), e = n.getAttribute(f(this, ri));
2322
2322
  s && e && f(this, rr).push({
2323
2323
  [f(this, Os)]: s,
2324
- [f(this, si)]: e
2324
+ [f(this, ri)]: e
2325
2325
  });
2326
2326
  })), this.shadowRoot.innerHTML = `
2327
2327
  <style>
@@ -2345,15 +2345,15 @@ class id extends ki {
2345
2345
  return f(this, rr);
2346
2346
  }
2347
2347
  }
2348
- oh = new WeakMap(), Ji = new WeakMap(), Le = new WeakMap(), rr = new WeakMap(), Io = new WeakMap(), Os = new WeakMap(), si = new WeakMap(), Qi = new WeakMap(), ah = new WeakMap(), lh = new WeakMap(), hh = new WeakMap(), ch = new WeakMap(), uu = new WeakMap();
2349
- var No, Pe, js, ii, tn, uh, Oo, dh, jo, en, du, fh, ph;
2348
+ oh = new WeakMap(), Ji = new WeakMap(), Le = new WeakMap(), rr = new WeakMap(), Io = new WeakMap(), Os = new WeakMap(), ri = new WeakMap(), Qi = new WeakMap(), ah = new WeakMap(), lh = new WeakMap(), hh = new WeakMap(), ch = new WeakMap(), uu = new WeakMap();
2349
+ var No, Pe, js, si, tn, uh, Oo, dh, jo, en, du, fh, ph;
2350
2350
  class nd extends HTMLElement {
2351
2351
  constructor() {
2352
2352
  super();
2353
2353
  Y(this, No);
2354
2354
  Y(this, Pe);
2355
2355
  Y(this, js);
2356
- Y(this, ii);
2356
+ Y(this, si);
2357
2357
  Y(this, tn);
2358
2358
  Y(this, uh, () => {
2359
2359
  $("input[type=checkbox]", this.shadowRoot).on("change", f(this, dh)), $("input[type=text]", this.shadowRoot).on("input", f(this, fh)), $("button#btnOk", this.shadowRoot).on("click", f(this, jo));
@@ -2403,7 +2403,7 @@ class nd extends HTMLElement {
2403
2403
  return !0;
2404
2404
  }).map((r) => {
2405
2405
  r.__ng.filtered = !0;
2406
- }), l.data.resetRecords(), l.data.count() == 0 && H.j.querySelectorAll(l).removeClass("loading"), f(this, ii) && (clearTimeout(f(this, ii)), tt(this, ii, null)), tt(this, ii, setTimeout(() => {
2406
+ }), l.data.resetRecords(), l.data.count() == 0 && H.j.querySelectorAll(l).removeClass("loading"), f(this, si) && (clearTimeout(f(this, si)), tt(this, si, null)), tt(this, si, setTimeout(() => {
2407
2407
  l.dataManager.viewRecords.reset();
2408
2408
  }, 200));
2409
2409
  });
@@ -2517,16 +2517,16 @@ class nd extends HTMLElement {
2517
2517
  `, f(this, uh).call(this);
2518
2518
  }
2519
2519
  }
2520
- No = new WeakMap(), Pe = new WeakMap(), js = new WeakMap(), ii = new WeakMap(), tn = new WeakMap(), uh = new WeakMap(), Oo = new WeakMap(), dh = new WeakMap(), jo = new WeakMap(), en = new WeakMap(), du = new WeakMap(), fh = new WeakMap(), ph = new WeakMap();
2520
+ No = new WeakMap(), Pe = new WeakMap(), js = new WeakMap(), si = new WeakMap(), tn = new WeakMap(), uh = new WeakMap(), Oo = new WeakMap(), dh = new WeakMap(), jo = new WeakMap(), en = new WeakMap(), du = new WeakMap(), fh = new WeakMap(), ph = new WeakMap();
2521
2521
  customElements.get("ng-combo") || customElements.define("ng-combo", id);
2522
2522
  customElements.get("ng-combo-panel") || customElements.define("ng-combo-panel", nd);
2523
- var rn, $o, sn, ni, nn, Xr, mh, Lo, gh;
2523
+ var rn, $o, sn, ii, nn, Xr, mh, Lo, gh;
2524
2524
  class od {
2525
2525
  constructor(C) {
2526
2526
  Y(this, rn);
2527
2527
  Y(this, $o);
2528
2528
  Y(this, sn);
2529
- Y(this, ni);
2529
+ Y(this, ii);
2530
2530
  Y(this, nn);
2531
2531
  Y(this, Xr);
2532
2532
  it(this, "openMenu", (C, t) => {
@@ -2538,10 +2538,10 @@ class od {
2538
2538
  top: t,
2539
2539
  left: C
2540
2540
  //"z-index" : 2,
2541
- }), f(this, Xr).open(), f(this, ni) && f(this, ni).show && f(this, ni).show.call(this, { source: f(this, $o) });
2541
+ }), f(this, Xr).open(), f(this, ii) && f(this, ii).show && f(this, ii).show.call(this, { source: f(this, $o) });
2542
2542
  });
2543
2543
  Y(this, mh, (C) => {
2544
- tt(this, sn, f(this, Lo).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, rn).shadowRoot).append($(f(this, Xr)).hide()), f(this, Xr).init(f(this, sn)), $("li", f(this, Xr)).on("mousedown", (t) => {
2544
+ tt(this, sn, f(this, Lo).call(this, C.items, 0)), tt(this, ii, C.events), tt(this, Xr, $(`<ng-context-menu-panel id="${C.id}"></ng-context-menu-panel>`)[0]), $(f(this, rn).shadowRoot).append($(f(this, Xr)).hide()), f(this, Xr).init(f(this, sn)), $("li", f(this, Xr)).on("mousedown", (t) => {
2545
2545
  C.callback && (t.menuId = t.currentTarget.getAttribute("menu-id"), t.source = f(this, $o), C.callback(t)), $("ng-context-menu-panel", f(this, rn).shadowRoot).hide();
2546
2546
  });
2547
2547
  });
@@ -2563,7 +2563,7 @@ class od {
2563
2563
  tt(this, nn, 0), tt(this, rn, C.owner), f(this, mh).call(this, C);
2564
2564
  }
2565
2565
  }
2566
- rn = new WeakMap(), $o = new WeakMap(), sn = new WeakMap(), ni = new WeakMap(), nn = new WeakMap(), Xr = new WeakMap(), mh = new WeakMap(), Lo = new WeakMap(), gh = new WeakMap();
2566
+ rn = new WeakMap(), $o = new WeakMap(), sn = new WeakMap(), ii = new WeakMap(), nn = new WeakMap(), Xr = new WeakMap(), mh = new WeakMap(), Lo = new WeakMap(), gh = new WeakMap();
2567
2567
  var Po, bh;
2568
2568
  class ad extends HTMLElement {
2569
2569
  constructor() {
@@ -2667,14 +2667,14 @@ class cd {
2667
2667
  }
2668
2668
  }
2669
2669
  Yr = new WeakMap(), Bo = new WeakMap(), hs = new WeakMap();
2670
- var He, Dt, $e, Cr, oi, $s, on, Fo, an, qo, Ho, xh, zo, Uo, ln, hn, Vo, Wo, Xo;
2670
+ var He, Dt, $e, Cr, ni, $s, on, Fo, an, qo, Ho, xh, zo, Uo, ln, hn, Vo, Wo, Xo;
2671
2671
  class ud {
2672
2672
  constructor(C, t) {
2673
2673
  Y(this, He);
2674
2674
  Y(this, Dt);
2675
2675
  Y(this, $e);
2676
2676
  Y(this, Cr);
2677
- Y(this, oi);
2677
+ Y(this, ni);
2678
2678
  Y(this, $s);
2679
2679
  it(this, "initialize", () => {
2680
2680
  tt(this, $s, []), $(f(this, He).template).each((C, t) => {
@@ -2694,7 +2694,7 @@ class ud {
2694
2694
  it(this, "assign", (C) => {
2695
2695
  this.source = C;
2696
2696
  for (var t = 0; t < C.length; t++)
2697
- f(this, $e)[t].__ng._[H.ROW.ID] = C[t].__ng._[H.ROW.ID], tt(this, oi, Math.max(f(this, oi), C[t].__ng.rowid));
2697
+ f(this, $e)[t].__ng._[H.ROW.ID] = C[t].__ng._[H.ROW.ID], tt(this, ni, Math.max(f(this, ni), C[t].__ng.rowid));
2698
2698
  });
2699
2699
  it(this, "getId", (C) => C.__ng._[H.ROW.ID]);
2700
2700
  it(this, "reset", () => {
@@ -3181,7 +3181,7 @@ class ud {
3181
3181
  }
3182
3182
  return -1;
3183
3183
  });
3184
- tt(this, He, C), tt(this, Dt, t), tt(this, $e, []), tt(this, Cr, []), tt(this, oi, 0), this.all = {
3184
+ tt(this, He, C), tt(this, Dt, t), tt(this, $e, []), tt(this, Cr, []), tt(this, ni, 0), this.all = {
3185
3185
  get: (l, c) => f(this, hn).call(this, this.recordsNF(), l, c),
3186
3186
  records: (l) => this.recordsNF(l),
3187
3187
  count: () => this.recordsNF().length,
@@ -3207,7 +3207,7 @@ class ud {
3207
3207
  t();
3208
3208
  }
3209
3209
  get nextId() {
3210
- return ++Su(this, oi)._;
3210
+ return ++Su(this, ni)._;
3211
3211
  }
3212
3212
  get default() {
3213
3213
  return {
@@ -3267,7 +3267,7 @@ class ud {
3267
3267
  delete f(this, Dt).rawRecords, tt(this, $e, []), tt(this, Cr, []), f(this, Dt).rawRecords = [], f(this, Dt).viewRecords.reset();
3268
3268
  }
3269
3269
  }
3270
- He = new WeakMap(), Dt = new WeakMap(), $e = new WeakMap(), Cr = new WeakMap(), oi = new WeakMap(), $s = new WeakMap(), on = new WeakMap(), Fo = new WeakMap(), an = new WeakMap(), qo = new WeakMap(), Ho = new WeakMap(), xh = new WeakMap(), zo = new WeakMap(), Uo = new WeakMap(), ln = new WeakMap(), hn = new WeakMap(), Vo = new WeakMap(), Wo = new WeakMap(), Xo = new WeakMap();
3270
+ He = new WeakMap(), Dt = new WeakMap(), $e = new WeakMap(), Cr = new WeakMap(), ni = new WeakMap(), $s = new WeakMap(), on = new WeakMap(), Fo = new WeakMap(), an = new WeakMap(), qo = new WeakMap(), Ho = new WeakMap(), xh = new WeakMap(), zo = new WeakMap(), Uo = new WeakMap(), ln = new WeakMap(), hn = new WeakMap(), Vo = new WeakMap(), Wo = new WeakMap(), Xo = new WeakMap();
3271
3271
  class dd {
3272
3272
  constructor(C) {
3273
3273
  this.owner = C, this.row = new cd(this), this.data = new ud(C, this), this.setDataSource = (l) => {
@@ -21675,13 +21675,13 @@ function bd() {
21675
21675
  var ke = Zt(Et), Ce = Zt(Rt), Re = "[object Array]", De = "[object Array]";
21676
21676
  ke || (Re = (Re = me(Et)) == r ? s : Re), Ce || (De = (De = me(Rt)) == r ? s : De);
21677
21677
  var Qe = Re == s && !q(Et), hr = De == s && !q(Rt), Lr = Re == De;
21678
- if (Lr && !Qe) return Jt || (Jt = new Ht()), ke || Xe(Et) ? Me(Et, Rt, fe, oe, he, Jt) : (function(Ee, be, _s, Js, Nl, vr, os) {
21678
+ if (Lr && !Qe) return Jt || (Jt = new Ht()), ke || Xe(Et) ? Me(Et, Rt, fe, oe, he, Jt) : (function(Ee, be, _s, Zs, Nl, vr, os) {
21679
21679
  switch (_s) {
21680
21680
  case "[object DataView]":
21681
21681
  if (Ee.byteLength != be.byteLength || Ee.byteOffset != be.byteOffset) return !1;
21682
21682
  Ee = Ee.buffer, be = be.buffer;
21683
21683
  case "[object ArrayBuffer]":
21684
- return !(Ee.byteLength != be.byteLength || !Js(new N(Ee), new N(be)));
21684
+ return !(Ee.byteLength != be.byteLength || !Zs(new N(Ee), new N(be)));
21685
21685
  case "[object Boolean]":
21686
21686
  case "[object Date]":
21687
21687
  case "[object Number]":
@@ -21699,7 +21699,7 @@ function bd() {
21699
21699
  var Ol = os.get(Ee);
21700
21700
  if (Ol) return Ol == be;
21701
21701
  vr |= 1, os.set(Ee, be);
21702
- var Ti = Me(Ss(Ee), Ss(be), Js, Nl, vr, os);
21702
+ var Ti = Me(Ss(Ee), Ss(be), Zs, Nl, vr, os);
21703
21703
  return os.delete(Ee), Ti;
21704
21704
  case "[object Symbol]":
21705
21705
  if (bt) return bt.call(Ee) == bt.call(be);
@@ -21707,13 +21707,13 @@ function bd() {
21707
21707
  return !1;
21708
21708
  })(Et, Rt, Re, fe, oe, he, Jt);
21709
21709
  if (!(2 & he)) {
21710
- var Zs = Qe && X.call(Et, "__wrapped__"), Ci = hr && X.call(Rt, "__wrapped__");
21711
- if (Zs || Ci) {
21712
- var Ei = Zs ? Et.value() : Et, Ai = Ci ? Rt.value() : Rt;
21710
+ var Ks = Qe && X.call(Et, "__wrapped__"), Ci = hr && X.call(Rt, "__wrapped__");
21711
+ if (Ks || Ci) {
21712
+ var Ei = Ks ? Et.value() : Et, Ai = Ci ? Rt.value() : Rt;
21713
21713
  return Jt || (Jt = new Ht()), fe(Ei, Ai, oe, he, Jt);
21714
21714
  }
21715
21715
  }
21716
- return Lr ? (Jt || (Jt = new Ht()), (function(Ee, be, _s, Js, Nl, vr) {
21716
+ return Lr ? (Jt || (Jt = new Ht()), (function(Ee, be, _s, Zs, Nl, vr) {
21717
21717
  var os = 2 & Nl, Ss = Ye(Ee), Wn = Ss.length, Ol = Ye(be).length;
21718
21718
  if (Wn != Ol && !os) return !1;
21719
21719
  for (var Ti = Wn; Ti--; ) {
@@ -21727,8 +21727,8 @@ function bd() {
21727
21727
  for (var tu = os; ++Ti < Wn; ) {
21728
21728
  ks = Ss[Ti];
21729
21729
  var $l = Ee[ks], Ll = be[ks];
21730
- if (Js) var xu = os ? Js(Ll, $l, ks, be, Ee, vr) : Js($l, Ll, ks, Ee, be, vr);
21731
- if (!(xu === void 0 ? $l === Ll || _s($l, Ll, Js, Nl, vr) : xu)) {
21730
+ if (Zs) var xu = os ? Zs(Ll, $l, ks, be, Ee, vr) : Zs($l, Ll, ks, Ee, be, vr);
21731
+ if (!(xu === void 0 ? $l === Ll || _s($l, Ll, Zs, Nl, vr) : xu)) {
21732
21732
  jl = !1;
21733
21733
  break;
21734
21734
  }
@@ -22127,23 +22127,23 @@ function bd() {
22127
22127
  }
22128
22128
  var Lr = Jt.get(Et);
22129
22129
  if (Lr && Jt.get(Rt)) return Lr == Rt;
22130
- var Zs = !0;
22130
+ var Ks = !0;
22131
22131
  Jt.set(Et, Rt), Jt.set(Rt, Et);
22132
22132
  for (var Ci = ke; ++Qe < Re; ) {
22133
22133
  hr = Ce[Qe];
22134
22134
  var Ei = Et[hr], Ai = Rt[hr];
22135
22135
  if (oe) var Ee = ke ? oe(Ai, Ei, hr, Rt, Et, Jt) : oe(Ei, Ai, hr, Et, Rt, Jt);
22136
22136
  if (!(Ee === void 0 ? Ei === Ai || he(Ei, Ai, fe, oe, Jt) : Ee)) {
22137
- Zs = !1;
22137
+ Ks = !1;
22138
22138
  break;
22139
22139
  }
22140
22140
  Ci || (Ci = hr == "constructor");
22141
22141
  }
22142
- if (Zs && !Ci) {
22142
+ if (Ks && !Ci) {
22143
22143
  var be = Et.constructor, _s = Rt.constructor;
22144
- be == _s || !("constructor" in Et) || !("constructor" in Rt) || typeof be == "function" && be instanceof be && typeof _s == "function" && _s instanceof _s || (Zs = !1);
22144
+ be == _s || !("constructor" in Et) || !("constructor" in Rt) || typeof be == "function" && be instanceof be && typeof _s == "function" && _s instanceof _s || (Ks = !1);
22145
22145
  }
22146
- return Jt.delete(Et), Jt.delete(Rt), Zs;
22146
+ return Jt.delete(Et), Jt.delete(Rt), Ks;
22147
22147
  })(Mt, ee, Zt, Vt, ie, re)) : !1;
22148
22148
  })(at, dt, yt, Tt, Wt, Kt));
22149
22149
  }
@@ -26635,11 +26635,11 @@ class wd {
26635
26635
  }
26636
26636
  }
26637
26637
  Ne = new WeakMap(), Yo = new WeakMap(), cn = new WeakMap(), cs = new WeakMap();
26638
- var ai, un, Go, fu, pu, _h;
26638
+ var oi, un, Go, fu, pu, _h;
26639
26639
  class Iu extends HTMLElement {
26640
26640
  constructor() {
26641
26641
  super();
26642
- Y(this, ai);
26642
+ Y(this, oi);
26643
26643
  Y(this, un);
26644
26644
  Y(this, Go);
26645
26645
  Y(this, fu);
@@ -26647,7 +26647,7 @@ class Iu extends HTMLElement {
26647
26647
  Y(this, _h, () => {
26648
26648
  });
26649
26649
  it(this, "exportExcel", () => {
26650
- f(this, un).data.count() > 500 && (f(this, ai).showModal(), $(".title", f(this, ai)).html("Export Excel")), f(this, Go).export();
26650
+ f(this, un).data.count() > 500 && (f(this, oi).showModal(), $(".title", f(this, oi)).html("Export Excel")), f(this, Go).export();
26651
26651
  });
26652
26652
  this.attachShadow({ mode: "open" });
26653
26653
  }
@@ -26692,10 +26692,10 @@ class Iu extends HTMLElement {
26692
26692
  </div>
26693
26693
  <progress id="progress-bar" value="0" max="100">50%</progress>
26694
26694
  </nx-dialog>
26695
- `, tt(this, ai, this.shadowRoot.querySelector("dialog")), tt(this, Go, new wd(f(this, un), f(this, ai))), f(this, _h).call(this);
26695
+ `, tt(this, oi, this.shadowRoot.querySelector("dialog")), tt(this, Go, new wd(f(this, un), f(this, oi))), f(this, _h).call(this);
26696
26696
  }
26697
26697
  }
26698
- ai = new WeakMap(), un = new WeakMap(), Go = new WeakMap(), fu = new WeakMap(), pu = new WeakMap(), _h = new WeakMap();
26698
+ oi = new WeakMap(), un = new WeakMap(), Go = new WeakMap(), fu = new WeakMap(), pu = new WeakMap(), _h = new WeakMap();
26699
26699
  customElements.get("ng-export") || customElements.define("ng-export", Iu);
26700
26700
  var Ko, nr, Zo, Sh;
26701
26701
  class xd {
@@ -27197,12 +27197,12 @@ class $d extends ki {
27197
27197
  }
27198
27198
  Gr = new WeakMap(), jh = new WeakMap();
27199
27199
  customElements.get("ng-input-color") || customElements.define("ng-input-color", $d);
27200
- var Kr, li, $h;
27200
+ var Kr, ai, $h;
27201
27201
  class Ld extends ki {
27202
27202
  constructor() {
27203
27203
  super();
27204
27204
  Y(this, Kr);
27205
- Y(this, li);
27205
+ Y(this, ai);
27206
27206
  it(this, "dataRefresh", (t) => {
27207
27207
  var l = this.value;
27208
27208
  switch (f(this, Kr).type) {
@@ -27260,7 +27260,7 @@ class Ld extends ki {
27260
27260
  }
27261
27261
  return l;
27262
27262
  });
27263
- if (tt(this, li, this.getAttribute("type") || "date"), !["date", "datetime-local", "time", "week", "month"].includes(f(this, li))) throw `invalid type : ${f(this, li)}`;
27263
+ if (tt(this, ai, this.getAttribute("type") || "date"), !["date", "datetime-local", "time", "week", "month"].includes(f(this, ai))) throw `invalid type : ${f(this, ai)}`;
27264
27264
  }
27265
27265
  connectedCallback() {
27266
27266
  const t = parseInt(this.closest("tr").style.height, 10) - 1;
@@ -27284,7 +27284,7 @@ class Ld extends ki {
27284
27284
  </style>
27285
27285
 
27286
27286
  <input
27287
- type="${f(this, li)}"
27287
+ type="${f(this, ai)}"
27288
27288
  data-placeholder="${this.getAttribute("placeholder") || "Select"}"
27289
27289
  ${l.join(" ")}
27290
27290
  required
@@ -27301,7 +27301,7 @@ class Ld extends ki {
27301
27301
  });
27302
27302
  }
27303
27303
  }
27304
- Kr = new WeakMap(), li = new WeakMap(), $h = new WeakMap();
27304
+ Kr = new WeakMap(), ai = new WeakMap(), $h = new WeakMap();
27305
27305
  customElements.get("ng-input-date") || customElements.define("ng-input-date", Ld);
27306
27306
  var Ke, fs, zr, Ps, gn, Zr, Lh;
27307
27307
  class Pd extends ki {
@@ -27358,16 +27358,16 @@ class Pd extends ki {
27358
27358
  }
27359
27359
  Ke = new WeakMap(), fs = new WeakMap(), zr = new WeakMap(), Ps = new WeakMap(), gn = new WeakMap(), Zr = new WeakMap(), Lh = new WeakMap();
27360
27360
  customElements.get("ng-input") || customElements.define("ng-input", Pd);
27361
- var Se, hi, bn, yn, vn, Ds, ci;
27361
+ var Se, li, bn, yn, vn, hi, ci;
27362
27362
  class Dd {
27363
27363
  constructor(C) {
27364
27364
  Y(this, Se);
27365
27365
  //#oldrow;
27366
- Y(this, hi);
27366
+ Y(this, li);
27367
27367
  Y(this, bn);
27368
27368
  Y(this, yn);
27369
27369
  Y(this, vn);
27370
- Y(this, Ds, []);
27370
+ Y(this, hi, []);
27371
27371
  it(this, "getHeight", (C) => {
27372
27372
  const t = parseInt(C / f(this, Se).template.length);
27373
27373
  if (t < 0 || t >= f(this, Se).data.count()) return 32;
@@ -27411,7 +27411,7 @@ class Dd {
27411
27411
  var o = this.attr2(C, t, l, "height", c);
27412
27412
  return o || (o = $(f(this, Se).template[f(this, ci).call(this, l) % f(this, Se).template.length]).height()), o;
27413
27413
  });
27414
- tt(this, Se, C), tt(this, hi, -1), tt(this, bn, []), tt(this, yn, []), tt(this, vn, []), this.head = {
27414
+ tt(this, Se, C), tt(this, li, -1), tt(this, bn, []), tt(this, yn, []), tt(this, vn, []), this.head = {
27415
27415
  attr: (t, l, c) => this.attr("head", t, l, c),
27416
27416
  height: (t, l) => this.height("head", t, l)
27417
27417
  }, this.body = {
@@ -27421,46 +27421,47 @@ class Dd {
27421
27421
  }, this.foot = {
27422
27422
  attr: (t, l, c) => this.attr("foot", t, l, c),
27423
27423
  height: (t, l) => this.height("foot", t, l)
27424
- }, tt(this, Ds, [0]);
27424
+ }, tt(this, hi, [0]);
27425
27425
  }
27426
27426
  get row() {
27427
- return f(this, hi);
27427
+ return f(this, li);
27428
27428
  }
27429
27429
  set row(C) {
27430
- tt(this, hi, parseInt(C)), f(this, Se).selection.selectedStartRow == f(this, Se).selection.selectedEndRow && (f(this, Se).selection.selectedStartRow = f(this, Se).selection.selectedEndRow = f(this, Se).selection.startRow = f(this, hi));
27430
+ tt(this, li, parseInt(C)), f(this, Se).selection.selectedStartRow == f(this, Se).selection.selectedEndRow && (f(this, Se).selection.selectedStartRow = f(this, Se).selection.selectedEndRow = f(this, Se).selection.startRow = f(this, li));
27431
27431
  }
27432
27432
  // 1. 누적 높이 배열 갱신 (데이터가 로드되거나 변경될 때 호출 필요)
27433
27433
  updateCumulativeHeights() {
27434
- Wr.log("***********************====================="), Wr.log(f(this, Se).data), tt(this, Ds, [0]);
27434
+ Wr.log("***********************====================="), Wr.log(f(this, Se).data), tt(this, hi, [0]);
27435
27435
  let C = 0;
27436
27436
  const t = f(this, Se).data.count();
27437
27437
  for (let l = 0; l < t; l++) {
27438
27438
  let c = 0;
27439
27439
  for (let o = 0; o < f(this, Se).template.length; o++)
27440
27440
  c += this.getHeight(l * f(this, Se).template.length + o);
27441
- C += c, f(this, Ds).push(C);
27441
+ C += c, f(this, hi).push(C);
27442
27442
  }
27443
- Wr.log(f(this, Ds));
27443
+ Wr.log(f(this, hi));
27444
27444
  }
27445
27445
  // 2. 스크롤 위치에 따른 행 인덱스 및 오프셋 조회 (이진 탐색)
27446
27446
  getRowInfoAt(C) {
27447
- const t = f(this, Ds);
27448
- if (!t || t.length < 2) return { index: 0, offset: 0 };
27449
- if (C <= 0) return { index: 0, offset: 0 };
27447
+ const t = this.cumulativeHeights;
27448
+ if (!t || t.length < 2) return { index: 0, offset: C };
27449
+ if (C <= 0) return { index: 0, offset: C };
27450
27450
  if (C >= t[t.length - 1])
27451
- return { index: t.length - 2, offset: t[t.length - 1] - t[t.length - 2] };
27451
+ return { index: t.length - 2, offset: C - t[t.length - 2] };
27452
27452
  let l = 0, c = t.length - 2, o = 0;
27453
27453
  for (; l <= c; ) {
27454
- let r = Math.floor((l + c) / 2);
27455
- t[r] <= C ? (o = r, l = r + 1) : c = r - 1;
27454
+ let n = Math.floor((l + c) / 2);
27455
+ t[n] <= C ? (o = n, l = n + 1) : c = n - 1;
27456
27456
  }
27457
- return o = Math.max(0, Math.min(o, t.length - 2)), {
27457
+ const r = t[o];
27458
+ return {
27458
27459
  index: o,
27459
- offset: C - (t[o] || 0)
27460
+ offset: C - r
27460
27461
  };
27461
27462
  }
27462
27463
  }
27463
- Se = new WeakMap(), hi = new WeakMap(), bn = new WeakMap(), yn = new WeakMap(), vn = new WeakMap(), Ds = new WeakMap(), ci = new WeakMap();
27464
+ Se = new WeakMap(), li = new WeakMap(), bn = new WeakMap(), yn = new WeakMap(), vn = new WeakMap(), hi = new WeakMap(), ci = new WeakMap();
27464
27465
  var Jr, Qr;
27465
27466
  class Bd extends HTMLElement {
27466
27467
  constructor() {
@@ -27707,7 +27708,7 @@ class Fd extends HTMLElement {
27707
27708
  }
27708
27709
  Lt = new WeakMap(), ea = new WeakMap(), Ph = new WeakMap();
27709
27710
  customElements.get("ng-menu") || customElements.define("ng-menu", Fd);
27710
- var Be, ra, sa, Er, ia, ze, tr, Bs, Dh, wn, Bh;
27711
+ var Be, ra, sa, Er, ia, ze, tr, Ds, Dh, wn, Bh;
27711
27712
  class qd extends HTMLElement {
27712
27713
  constructor() {
27713
27714
  super();
@@ -27718,7 +27719,7 @@ class qd extends HTMLElement {
27718
27719
  Y(this, ia);
27719
27720
  Y(this, ze);
27720
27721
  Y(this, tr);
27721
- Y(this, Bs);
27722
+ Y(this, Ds);
27722
27723
  it(this, "refreshTotal", () => {
27723
27724
  });
27724
27725
  Y(this, Dh, () => {
@@ -27727,10 +27728,10 @@ class qd extends HTMLElement {
27727
27728
  }), f(this, Be).data.resetRecords();
27728
27729
  });
27729
27730
  Y(this, wn, () => {
27730
- this.type == H.PAGINGTYPE.CLIENT ? $("span", this).eq(1).html(`<b>Total</b> : ${f(this, Be).data.countNF().toLocaleString()}`) : this.type == H.PAGINGTYPE.SERVER ? $("span", this).eq(1).html(`<b>Total</b> : ${f(this, Bs).toLocaleString()}`) : this.type == H.PAGINGTYPE.NONE && $("span", this).eq(1).html(`<b>Total</b> : ${f(this, Bs).toLocaleString()}`), f(this, tr) == 0 ? $("span", this).eq(0).html("") : $("span", this).eq(0).html(`${f(this, ze).toLocaleString()} <i>of</i> ${f(this, tr).toLocaleString()}`), H.j.querySelectorAll(".ng-paging-first", this).attr("disabled", f(this, ze) == 1 || f(this, tr) < 1), H.j.querySelectorAll(".ng-paging-prev", this).attr("disabled", f(this, ze) == 1 || f(this, tr) < 1), H.j.querySelectorAll(".ng-paging-next", this).attr("disabled", f(this, ze) == f(this, tr) || f(this, tr) < 1), H.j.querySelectorAll(".ng-paging-last", this).attr("disabled", f(this, ze) == f(this, tr) || f(this, tr) < 1);
27731
+ this.type == H.PAGINGTYPE.CLIENT ? $("span", this).eq(1).html(`<b>Total</b> : ${f(this, Be).data.countNF().toLocaleString()}`) : this.type == H.PAGINGTYPE.SERVER ? $("span", this).eq(1).html(`<b>Total</b> : ${f(this, Ds).toLocaleString()}`) : this.type == H.PAGINGTYPE.NONE && $("span", this).eq(1).html(`<b>Total</b> : ${f(this, Ds).toLocaleString()}`), f(this, tr) == 0 ? $("span", this).eq(0).html("") : $("span", this).eq(0).html(`${f(this, ze).toLocaleString()} <i>of</i> ${f(this, tr).toLocaleString()}`), H.j.querySelectorAll(".ng-paging-first", this).attr("disabled", f(this, ze) == 1 || f(this, tr) < 1), H.j.querySelectorAll(".ng-paging-prev", this).attr("disabled", f(this, ze) == 1 || f(this, tr) < 1), H.j.querySelectorAll(".ng-paging-next", this).attr("disabled", f(this, ze) == f(this, tr) || f(this, tr) < 1), H.j.querySelectorAll(".ng-paging-last", this).attr("disabled", f(this, ze) == f(this, tr) || f(this, tr) < 1);
27731
27732
  });
27732
27733
  Y(this, Bh, () => {
27733
- this.type == H.PAGINGTYPE.CLIENT ? this.movePage(Math.ceil(f(this, Be).data.countNF() / f(this, Er))) : this.type == H.PAGINGTYPE.SERVER && this.movePage(Math.ceil(f(this, Bs) / f(this, Er)));
27734
+ this.type == H.PAGINGTYPE.CLIENT ? this.movePage(Math.ceil(f(this, Be).data.countNF() / f(this, Er))) : this.type == H.PAGINGTYPE.SERVER && this.movePage(Math.ceil(f(this, Ds) / f(this, Er)));
27734
27735
  });
27735
27736
  it(this, "movePage", (t) => {
27736
27737
  if (!(!f(this, Be) || !f(this, Be).data || isNaN(t))) {
@@ -27765,7 +27766,7 @@ class qd extends HTMLElement {
27765
27766
  }
27766
27767
  f(this, wn).call(this);
27767
27768
  });
27768
- tt(this, Be, this.getRootNode().host.getRootNode().host), tt(this, ze, 0), tt(this, tr, 0), tt(this, Bs, 0), this.onpagechanged = new CustomEvent("pagechanged", { bubbles: !0, detail: {} });
27769
+ tt(this, Be, this.getRootNode().host.getRootNode().host), tt(this, ze, 0), tt(this, tr, 0), tt(this, Ds, 0), this.onpagechanged = new CustomEvent("pagechanged", { bubbles: !0, detail: {} });
27769
27770
  }
27770
27771
  connectedCallback() {
27771
27772
  this.innerHTML = `
@@ -27806,7 +27807,7 @@ class qd extends HTMLElement {
27806
27807
  return f(this, tr);
27807
27808
  }
27808
27809
  set totalCount(t) {
27809
- tt(this, Bs, t), f(this, ze) <= 0 && tt(this, ze, 1), tt(this, tr, Math.ceil(t / f(this, Er))), f(this, wn).call(this);
27810
+ tt(this, Ds, t), f(this, ze) <= 0 && tt(this, ze, 1), tt(this, tr, Math.ceil(t / f(this, Er))), f(this, wn).call(this);
27810
27811
  }
27811
27812
  get linesPerPage() {
27812
27813
  return f(this, Er);
@@ -27841,7 +27842,7 @@ class qd extends HTMLElement {
27841
27842
  tt(this, sa, t);
27842
27843
  }
27843
27844
  }
27844
- Be = new WeakMap(), ra = new WeakMap(), sa = new WeakMap(), Er = new WeakMap(), ia = new WeakMap(), ze = new WeakMap(), tr = new WeakMap(), Bs = new WeakMap(), Dh = new WeakMap(), wn = new WeakMap(), Bh = new WeakMap();
27845
+ Be = new WeakMap(), ra = new WeakMap(), sa = new WeakMap(), Er = new WeakMap(), ia = new WeakMap(), ze = new WeakMap(), tr = new WeakMap(), Ds = new WeakMap(), Dh = new WeakMap(), wn = new WeakMap(), Bh = new WeakMap();
27845
27846
  customElements.get("ng-paging") || customElements.define("ng-paging", qd);
27846
27847
  var ui, na;
27847
27848
  class Hd extends Mr {
@@ -27884,34 +27885,34 @@ class Hd extends Mr {
27884
27885
  }
27885
27886
  ui = new WeakMap(), na = new WeakMap();
27886
27887
  customElements.get("ng-progress") || customElements.define("ng-progress", Hd);
27887
- var Fs, jr, qs, di, Fh, qh;
27888
+ var Bs, jr, Fs, di, Fh, qh;
27888
27889
  class zd extends ki {
27889
27890
  constructor() {
27890
27891
  super();
27891
- Y(this, Fs);
27892
+ Y(this, Bs);
27892
27893
  Y(this, jr);
27893
- Y(this, qs);
27894
+ Y(this, Fs);
27894
27895
  Y(this, di);
27895
27896
  it(this, "dataRefresh", (t) => {
27896
- f(this, jr) && (f(this, Fh).call(this) ? H.j.querySelectorAll(this).removeClass("invalid") : H.j.querySelectorAll(this).addClass("invalid")), $(f(this, Fs)).each((l, c) => {
27897
+ f(this, jr) && (f(this, Fh).call(this) ? H.j.querySelectorAll(this).removeClass("invalid") : H.j.querySelectorAll(this).addClass("invalid")), $(f(this, Bs)).each((l, c) => {
27897
27898
  $(c).prop("checked", this.value == c.getAttribute("value"));
27898
27899
  }), t || this.reset();
27899
27900
  });
27900
27901
  Y(this, Fh, () => {
27901
27902
  if (H.isNull(this.value)) return !0;
27902
- var t = f(this, jr).findIndex((l) => this.value == l[f(this, qs)]);
27903
+ var t = f(this, jr).findIndex((l) => this.value == l[f(this, Fs)]);
27903
27904
  return !(t < 0);
27904
27905
  });
27905
27906
  Y(this, qh, () => {
27906
27907
  });
27907
27908
  }
27908
27909
  async connectedCallback() {
27909
- tt(this, qs, this.getAttribute("code") || "code"), tt(this, di, this.getAttribute("codename") || "codename");
27910
+ tt(this, Fs, this.getAttribute("code") || "code"), tt(this, di, this.getAttribute("codename") || "codename");
27910
27911
  var t = this.querySelector("datalist");
27911
27912
  t && (tt(this, jr, []), t.querySelectorAll("option").forEach((n) => {
27912
- const s = n.getAttribute(f(this, qs)), e = n.getAttribute(f(this, di));
27913
+ const s = n.getAttribute(f(this, Fs)), e = n.getAttribute(f(this, di));
27913
27914
  s && e && f(this, jr).push({
27914
- [f(this, qs)]: s,
27915
+ [f(this, Fs)]: s,
27915
27916
  [f(this, di)]: e
27916
27917
  });
27917
27918
  })), this.owner = this.getRootNode().host, this.cell = this.closest("th,td");
@@ -27920,7 +27921,7 @@ class zd extends ki {
27920
27921
  o && this.owner && this.owner.exprFunction && (this.owner[o] ? tt(this, jr, this.owner[o]) : tt(this, jr, this.owner.exprFunction(o).call(this, this.owner.data.get(this.cell.dataset.row), this.cell.dataset.row)));
27921
27922
  var r = "";
27922
27923
  f(this, jr) && f(this, jr).forEach((n) => {
27923
- r += `<label><input type="radio" value="${n[f(this, qs)]}"><span>${n[f(this, di)]}</span></label>`;
27924
+ r += `<label><input type="radio" value="${n[f(this, Fs)]}"><span>${n[f(this, di)]}</span></label>`;
27924
27925
  }), this.shadowRoot.innerHTML = `
27925
27926
  <style>
27926
27927
  @import "https://cdn.jsdelivr.net/npm/ninegrid2@${H.version}/dist/css/ngRadio.css";
@@ -27934,14 +27935,14 @@ class zd extends ki {
27934
27935
  <div class="ng-wrap">
27935
27936
  ${r}
27936
27937
  </div>
27937
- `, super.connectedCallback(), f(this, qh).call(this), tt(this, Fs, this.shadowRoot.querySelectorAll("input")), $(this.cell).on("keydown", (n) => {
27938
+ `, super.connectedCallback(), f(this, qh).call(this), tt(this, Bs, this.shadowRoot.querySelectorAll("input")), $(this.cell).on("keydown", (n) => {
27938
27939
  switch (n.preventDefault(), n.code) {
27939
27940
  case "Space":
27940
27941
  var s = -1;
27941
- $(f(this, Fs)).each((e, i) => {
27942
+ $(f(this, Bs)).each((e, i) => {
27942
27943
  if (this.value == i.getAttribute("value"))
27943
27944
  return s = e, !1;
27944
- }), s = s == f(this, Fs).length - 1 ? 0 : s >= 0 ? s + 1 : 0, this.value = f(this, Fs)[s].getAttribute("value");
27945
+ }), s = s == f(this, Bs).length - 1 ? 0 : s >= 0 ? s + 1 : 0, this.value = f(this, Bs)[s].getAttribute("value");
27945
27946
  break;
27946
27947
  }
27947
27948
  });
@@ -27950,7 +27951,7 @@ class zd extends ki {
27950
27951
  return f(this, jr);
27951
27952
  }
27952
27953
  }
27953
- Fs = new WeakMap(), jr = new WeakMap(), qs = new WeakMap(), di = new WeakMap(), Fh = new WeakMap(), qh = new WeakMap();
27954
+ Bs = new WeakMap(), jr = new WeakMap(), Fs = new WeakMap(), di = new WeakMap(), Fh = new WeakMap(), qh = new WeakMap();
27954
27955
  customElements.get("ng-radio") || customElements.define("ng-radio", zd);
27955
27956
  var xn;
27956
27957
  class Ud extends Mr {
@@ -28331,7 +28332,7 @@ class Gd extends Mr {
28331
28332
  }
28332
28333
  }
28333
28334
  pa = new WeakMap(), Wh = new WeakMap();
28334
- var ur, ts, ma, mr, Hs, mi, mu, es, Xh, Yh, Gh, ga, ba, ya, Kh;
28335
+ var ur, ts, ma, mr, qs, mi, mu, es, Xh, Yh, Gh, ga, ba, ya, Kh;
28335
28336
  class Kd extends HTMLElement {
28336
28337
  constructor() {
28337
28338
  super();
@@ -28339,7 +28340,7 @@ class Kd extends HTMLElement {
28339
28340
  Y(this, ts);
28340
28341
  Y(this, ma);
28341
28342
  Y(this, mr);
28342
- Y(this, Hs);
28343
+ Y(this, qs);
28343
28344
  Y(this, mi);
28344
28345
  Y(this, mu);
28345
28346
  Y(this, es);
@@ -28347,7 +28348,7 @@ class Kd extends HTMLElement {
28347
28348
  Y(this, Yh, () => {
28348
28349
  if (f(this, ur)) {
28349
28350
  var t = f(this, ur).querySelector("div.resizer-row-panel");
28350
- 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, Hs, $(".grip", f(this, mr))), tt(this, mi, $(".tooltip", f(this, mr))), $(this).on("mousedown", (l) => {
28351
+ 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) => {
28351
28352
  H.j.querySelectorAll(f(this, ts).closest("tbody")).hasClass("fixed") || tt(this, ma, setTimeout(() => {
28352
28353
  f(this, Gh).call(this, l);
28353
28354
  }, 500));
@@ -28361,14 +28362,14 @@ class Kd extends HTMLElement {
28361
28362
  Y(this, Gh, (t) => {
28362
28363
  if (!(t.buttons != 1 || t.altKey || t.ctrlKey || t.shiftkey)) {
28363
28364
  var l = parseInt(t.target.getAttribute("rowIndex"));
28364
- l < 0 || (f(this, ts).busy = !0, tt(this, Xh, t.target), tt(this, es, $(".ng-container-body table tbody.bindable tr", f(this, ur).body).eq(l)), f(this, mr).show(), f(this, Hs).width(f(this, ur).body.querySelector(".ng-container").offsetWidth), f(this, ya).call(this, t.pageY), $(f(this, mr)).on("mousemove", f(this, ga)), $(f(this, mr)).on("mouseup", f(this, ba)));
28365
+ l < 0 || (f(this, ts).busy = !0, tt(this, Xh, 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, ya).call(this, t.pageY), $(f(this, mr)).on("mousemove", f(this, ga)), $(f(this, mr)).on("mouseup", f(this, ba)));
28365
28366
  }
28366
28367
  });
28367
28368
  Y(this, ga, (t) => {
28368
28369
  t.altKey || t.ctrlKey || t.shiftKey || f(this, ya).call(this, t.pageY);
28369
28370
  });
28370
28371
  Y(this, ba, (t) => {
28371
- var l = f(this, Hs).offset().top - f(this, es).offset().top;
28372
+ var l = f(this, qs).offset().top - f(this, es).offset().top;
28372
28373
  l <= 1 && (l = 0), l = f(this, ur).tableUtils.height(f(this, es)[0].sectionRowIndex, l);
28373
28374
  var c = parseInt(f(this, es)[0].dataset.row * f(this, ur).template.length + f(this, es)[0].sectionRowIndex % f(this, ur).template.length);
28374
28375
  f(this, ur).matrix.setHeight(c, l), f(this, ts).querySelector("ng-row-indicator").refresh(), $(f(this, mr)).off("mousemove", f(this, ga)), $(f(this, mr)).off("mouseup", f(this, ba)), f(this, mr).hide(), f(this, ur).view.redraw(), f(this, ts).busy = !1;
@@ -28376,8 +28377,8 @@ class Kd extends HTMLElement {
28376
28377
  Y(this, ya, (t) => {
28377
28378
  var l = $(".ng-container-body table tbody.bindable", f(this, ur).body);
28378
28379
  if (!(t < l.offset().top)) {
28379
- f(this, Hs).offset({ top: t });
28380
- var c = parseInt(f(this, Hs).offset().top), o = parseInt(c - f(this, es).offset().top);
28380
+ f(this, qs).offset({ top: t });
28381
+ var c = parseInt(f(this, qs).offset().top), o = parseInt(c - f(this, es).offset().top);
28381
28382
  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);
28382
28383
  }
28383
28384
  });
@@ -28388,7 +28389,7 @@ class Kd extends HTMLElement {
28388
28389
  tt(this, ts, this.cell), tt(this, ur, f(this, ts).getRootNode().host), this.setAttribute("class", "row-resizer"), f(this, Yh).call(this);
28389
28390
  }
28390
28391
  }
28391
- ur = new WeakMap(), ts = new WeakMap(), ma = new WeakMap(), mr = new WeakMap(), Hs = new WeakMap(), mi = new WeakMap(), mu = new WeakMap(), es = new WeakMap(), Xh = new WeakMap(), Yh = new WeakMap(), Gh = new WeakMap(), ga = new WeakMap(), ba = new WeakMap(), ya = new WeakMap(), Kh = new WeakMap();
28392
+ ur = new WeakMap(), ts = new WeakMap(), ma = new WeakMap(), mr = new WeakMap(), qs = new WeakMap(), mi = new WeakMap(), mu = new WeakMap(), es = new WeakMap(), Xh = new WeakMap(), Yh = new WeakMap(), Gh = new WeakMap(), ga = new WeakMap(), ba = new WeakMap(), ya = new WeakMap(), Kh = new WeakMap();
28392
28393
  customElements.get("ng-row-indicator") || customElements.define("ng-row-indicator", Gd);
28393
28394
  customElements.get("ng-row-resizer") || customElements.define("ng-row-resizer", Kd);
28394
28395
  var Zh;
@@ -28604,12 +28605,21 @@ class tf extends HTMLElement {
28604
28605
  tt(this, rs, !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, qt).body).height(), this.bodyHeight = $(".ng-container-body", f(this, qt).body).height(), this.templateHeight = f(this, qt).template.height(), this.theadHeight = $(".ng-container-body table > thead", f(this, qt).body).height() || 0, this.tfootHeight = $(".ng-container-body table > tfoot", f(this, qt).body).height() || 0, this.fixedHeight = $(".ng-container-body tbody.fixed", f(this, qt).body).height(), this.tableHeight = $(".ng-container-body .ng-table", f(this, qt).body).height(), tt(this, _n, !0), document.addEventListener("mousemove", f(this, Sn)), typeof this.onDragStart == "function" && this.onDragStart();
28605
28606
  });
28606
28607
  Y(this, Sn, (t) => {
28607
- if (!f(this, rs)) return;
28608
- t.preventDefault(), f(this, _n) && (H.j.querySelectorAll("th,td", f(this, qt).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, _n, !1));
28609
- var l = this.trackHeight, c = f(this, kn).call(this), o = t.clientY - this.shiftY, r = o / (l - c), n = f(this, qt).matrix.totalHeight, s = r * (n - this.bodyHeight), { index: e, offset: i } = f(this, qt).matrix.getRowInfoAt(s);
28610
- f(this, qt).dataManager.viewRecords.rawIndex !== e && f(this, qt).scrollToV2(e), Wr.log("#thumb_onMouseMove", e, i, f(this, qt).body.querySelector(".ng-container-body tbody.bindable"));
28611
- const u = f(this, qt).body.querySelector(".ng-container-body tbody.bindable");
28612
- u && (u.style.transform = `translateY(-${i}px)`);
28608
+ if (f(this, rs)) {
28609
+ t.preventDefault(), f(this, _n) && (H.j.querySelectorAll("th,td", f(this, qt).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, _n, !1));
28610
+ var l = this.trackHeight, c = f(this, kn).call(this), o = l - c, r = t.clientY - this.shiftY;
28611
+ r = Math.max(0, Math.min(r, o > 0 ? o : 0));
28612
+ var n = f(this, qt).matrix.totalHeight || 0, s = o > 0 ? r / o : 0, e = s * Math.max(0, n - this.bodyHeight), { index: i, offset: u } = f(this, qt).matrix.getRowInfoAt(e);
28613
+ if (i = isNaN(i) ? 0 : i, u = isNaN(u) ? 0 : u, f(this, qt).dataManager.viewRecords.rawIndex !== i) {
28614
+ f(this, qt).scrollToV2(i);
28615
+ const a = f(this, qt).body.querySelector(".ng-container-body tbody.bindable");
28616
+ a && (a.style.transform = "translateY(0px)");
28617
+ } else {
28618
+ const a = f(this, qt).body.querySelector(".ng-container-body tbody.bindable");
28619
+ a && (a.style.transform = `translateY(-${u}px)`);
28620
+ }
28621
+ Wr.log("#thumb_onMouseMove", i, u, e);
28622
+ }
28613
28623
  });
28614
28624
  Y(this, kn, () => parseInt(f(this, ge).thumb.dataset.height));
28615
28625
  this.attachShadow({ mode: "open" });
@@ -28634,7 +28644,7 @@ class tf extends HTMLElement {
28634
28644
  }
28635
28645
  }
28636
28646
  qt = new WeakMap(), rs = new WeakMap(), ge = new WeakMap(), gr = new WeakMap(), br = new WeakMap(), _n = new WeakMap(), Jh = new WeakMap(), Qh = new WeakMap(), va = new WeakMap(), tc = new WeakMap(), wa = new WeakMap(), xa = new WeakMap(), Sn = new WeakMap(), kn = new WeakMap();
28637
- var Ze, ms, ae, Ur, Vr, zs, ec, _a, rc, Sa, sc, ka, Ca, Cn;
28647
+ var Ze, ms, ae, Ur, Vr, Hs, ec, _a, rc, Sa, sc, ka, Ca, Cn;
28638
28648
  class ef extends HTMLElement {
28639
28649
  constructor() {
28640
28650
  super();
@@ -28654,13 +28664,13 @@ class ef extends HTMLElement {
28654
28664
  }
28655
28665
  });
28656
28666
  it(this, "scrollToHome", () => {
28657
- f(this, zs).call(this, 0);
28667
+ f(this, Hs).call(this, 0);
28658
28668
  });
28659
28669
  it(this, "scrollToEnd", () => {
28660
28670
  var t = f(this, ae).track.getBoundingClientRect(), l = f(this, ae).thumb.getBoundingClientRect(), c = t.width - l.width;
28661
- f(this, zs).call(this, c);
28671
+ f(this, Hs).call(this, c);
28662
28672
  });
28663
- Y(this, zs, (t) => {
28673
+ Y(this, Hs, (t) => {
28664
28674
  if (f(this, ae)) {
28665
28675
  var l = $("table", f(this, ae).container), c = f(this, ae).track.getBoundingClientRect(), o = f(this, ae).thumb.getBoundingClientRect();
28666
28676
  t < 0 && (t = 0), t + o.width > c.width && (t = c.width - o.width), t = parseInt(t), f(this, ae).thumb.style.left = t + "px", f(this, ae).left.disabled = t == 0, f(this, ae).right.disabled = t == parseInt(c.width - o.width);
@@ -28676,10 +28686,10 @@ class ef extends HTMLElement {
28676
28686
  var t = (l) => {
28677
28687
  clearInterval(f(this, Ur)), clearInterval(f(this, Vr));
28678
28688
  var c = f(this, ae).track.getBoundingClientRect(), o = f(this, ae).thumb.getBoundingClientRect();
28679
- f(this, zs).call(this, o.x - c.x + l), tt(this, Ur, setInterval(() => {
28689
+ f(this, Hs).call(this, o.x - c.x + l), tt(this, Ur, setInterval(() => {
28680
28690
  clearInterval(f(this, Ur)), tt(this, Vr, setInterval(() => {
28681
28691
  var r = f(this, ae).thumb.getBoundingClientRect();
28682
- f(this, zs).call(this, r.x - c.x + l) || clearInterval(f(this, Vr));
28692
+ f(this, Hs).call(this, r.x - c.x + l) || clearInterval(f(this, Vr));
28683
28693
  }, 10));
28684
28694
  }, 500));
28685
28695
  };
@@ -28734,7 +28744,7 @@ class ef extends HTMLElement {
28734
28744
  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, Cn).call(this, t);
28735
28745
  });
28736
28746
  Y(this, Cn, (t) => {
28737
- f(this, ms) && f(this, zs).call(this, t.pageX - this.shiftX);
28747
+ f(this, ms) && f(this, Hs).call(this, t.pageX - this.shiftX);
28738
28748
  });
28739
28749
  this.attachShadow({ mode: "open" });
28740
28750
  }
@@ -28757,7 +28767,7 @@ class ef extends HTMLElement {
28757
28767
  }), f(this, ms), this.shiftX, f(this, ec).call(this);
28758
28768
  }
28759
28769
  }
28760
- Ze = new WeakMap(), ms = new WeakMap(), ae = new WeakMap(), Ur = new WeakMap(), Vr = new WeakMap(), zs = new WeakMap(), ec = new WeakMap(), _a = new WeakMap(), rc = new WeakMap(), Sa = new WeakMap(), sc = new WeakMap(), ka = new WeakMap(), Ca = new WeakMap(), Cn = new WeakMap();
28770
+ Ze = new WeakMap(), ms = new WeakMap(), ae = new WeakMap(), Ur = new WeakMap(), Vr = new WeakMap(), Hs = new WeakMap(), ec = new WeakMap(), _a = new WeakMap(), rc = new WeakMap(), Sa = new WeakMap(), sc = new WeakMap(), ka = new WeakMap(), Ca = new WeakMap(), Cn = new WeakMap();
28761
28771
  customElements.get("ng-hscrollbar") || customElements.define("ng-hscrollbar", ef);
28762
28772
  customElements.get("ng-vscrollbar") || customElements.define("ng-vscrollbar", tf);
28763
28773
  var Ue, ss, Ea, Aa, Ta, ic, nc;
@@ -29407,7 +29417,7 @@ $a = new WeakMap(), La = new WeakMap(), Pa = new WeakMap(), gi = new WeakSet(),
29407
29417
  return this.data.__ng._[H.ROW.EXPAND];
29408
29418
  }, ac = new WeakMap(), lc = new WeakMap(), hc = new WeakMap(), cc = new WeakMap(), gu = new WeakMap(), Da = new WeakMap(), Ba = new WeakMap(), uc = new WeakMap(), dc = new WeakMap(), fc = new WeakMap();
29409
29419
  customElements.get("ng-tree-item") || customElements.define("ng-tree-item", lf);
29410
- var vt, We, yr, bi, yi, Fa, qa, Ha, za, Ua, pc, mc, gc, En, Us, Vs;
29420
+ var vt, We, yr, bi, yi, Fa, qa, Ha, za, Ua, pc, mc, gc, En, zs, Us;
29411
29421
  class hf {
29412
29422
  constructor(C) {
29413
29423
  Y(this, vt);
@@ -29597,29 +29607,29 @@ class hf {
29597
29607
  * grid.selection.lastCol
29598
29608
  */
29599
29609
  it(this, "selectArea", (C, t, l, c) => {
29600
- const o = f(this, Us).call(this, C), r = f(this, Us).call(this, l), n = f(this, Vs).call(this, t), s = f(this, Vs).call(this, c), e = parseInt(o * f(this, vt).template.length), i = parseInt(r * f(this, vt).template.length) + f(this, vt).template.length - 1;
29610
+ const o = f(this, zs).call(this, C), r = f(this, zs).call(this, l), n = f(this, Us).call(this, t), s = f(this, Us).call(this, c), e = parseInt(o * f(this, vt).template.length), i = parseInt(r * f(this, vt).template.length) + f(this, vt).template.length - 1;
29601
29611
  f(this, vt).row.at = o, o >= 0 && r >= 0 ? f(this, vt).selection.selectArea(e, n, i, s) : this.clearSelection();
29602
29612
  });
29603
29613
  it(this, "selectRow", (C, t) => {
29604
- const l = f(this, Us).call(this, C), c = H.isNull(t) ? l : f(this, Us).call(this, t), o = parseInt(l * f(this, vt).template.length), r = parseInt(c * f(this, vt).template.length) + f(this, vt).template.length - 1;
29614
+ const l = f(this, zs).call(this, C), c = H.isNull(t) ? l : f(this, zs).call(this, t), o = parseInt(l * f(this, vt).template.length), r = parseInt(c * f(this, vt).template.length) + f(this, vt).template.length - 1;
29605
29615
  f(this, vt).row.at = l, l >= 0 && c >= 0 ? f(this, vt).selection.selectArea(o, f(this, vt).firstCol, r, f(this, vt).lastCol) : this.clearSelection();
29606
29616
  });
29607
29617
  it(this, "selectCol", (C, t) => {
29608
- const l = f(this, Vs).call(this, C), c = H.isNull(t) ? l : f(this, Vs).call(this, t), o = 0, r = parseInt(f(this, vt).data.count() * f(this, vt).template.length - 1);
29618
+ const l = f(this, Us).call(this, C), c = H.isNull(t) ? l : f(this, Us).call(this, t), o = 0, r = parseInt(f(this, vt).data.count() * f(this, vt).template.length - 1);
29609
29619
  l >= 0 && c >= 0 ? f(this, vt).selection.selectArea(o, l, r, c) : this.clearSelection();
29610
29620
  });
29611
29621
  it(this, "selectCell", (C, t, l) => {
29612
- const c = f(this, Us).call(this, C), o = f(this, Vs).call(this, t), r = parseInt(c * f(this, vt).template.length) + H.nvl(l, 0);
29622
+ const c = f(this, zs).call(this, C), o = f(this, Us).call(this, t), r = parseInt(c * f(this, vt).template.length) + H.nvl(l, 0);
29613
29623
  f(this, vt).row.at = c, c >= 0 ? f(this, vt).selection.selectArea(r, o, r, o) : this.clearSelection();
29614
29624
  });
29615
- Y(this, Us, (C) => {
29625
+ Y(this, zs, (C) => {
29616
29626
  if (typeof C == "number")
29617
29627
  return C;
29618
29628
  if (typeof C == "function")
29619
29629
  return f(this, vt).data.findIndex(C);
29620
29630
  throw `invalid ${C}`;
29621
29631
  });
29622
- Y(this, Vs, (C) => {
29632
+ Y(this, Us, (C) => {
29623
29633
  if (typeof C == "number")
29624
29634
  return C;
29625
29635
  if (typeof C == "string" && f(this, vt).fields.includes(C))
@@ -29632,18 +29642,18 @@ class hf {
29632
29642
  tt(this, vt, C), tt(this, bi, !1), this.init();
29633
29643
  }
29634
29644
  }
29635
- vt = new WeakMap(), We = new WeakMap(), yr = new WeakMap(), bi = new WeakMap(), yi = new WeakMap(), Fa = new WeakMap(), qa = new WeakMap(), Ha = new WeakMap(), za = new WeakMap(), Ua = new WeakMap(), pc = new WeakMap(), mc = new WeakMap(), gc = new WeakMap(), En = new WeakMap(), Us = new WeakMap(), Vs = new WeakMap();
29636
- var Je, Ws, bc;
29645
+ vt = new WeakMap(), We = new WeakMap(), yr = new WeakMap(), bi = new WeakMap(), yi = new WeakMap(), Fa = new WeakMap(), qa = new WeakMap(), Ha = new WeakMap(), za = new WeakMap(), Ua = new WeakMap(), pc = new WeakMap(), mc = new WeakMap(), gc = new WeakMap(), En = new WeakMap(), zs = new WeakMap(), Us = new WeakMap();
29646
+ var Je, Vs, bc;
29637
29647
  class cf {
29638
29648
  constructor(C) {
29639
29649
  Y(this, Je);
29640
- Y(this, Ws);
29650
+ Y(this, Vs);
29641
29651
  it(this, "initialize", () => {
29642
- tt(this, Ws, !1), f(this, Je).data.clearFilter();
29652
+ tt(this, Vs, !1), f(this, Je).data.clearFilter();
29643
29653
  });
29644
- it(this, "isFiltering", () => f(this, Ws));
29654
+ it(this, "isFiltering", () => f(this, Vs));
29645
29655
  it(this, "on", (C) => {
29646
- tt(this, Ws, !0);
29656
+ tt(this, Vs, !0);
29647
29657
  const t = f(this, bc).call(this);
29648
29658
  f(this, Je).body.querySelectorAll(".ng-table thead th, .ng-table thead td").forEach((l) => {
29649
29659
  var o, r;
@@ -29659,7 +29669,7 @@ class cf {
29659
29669
  });
29660
29670
  });
29661
29671
  it(this, "off", () => {
29662
- tt(this, Ws, !1), f(this, Je).body.querySelectorAll(".ng-table ng-filter-button").forEach((C) => {
29672
+ tt(this, Vs, !1), f(this, Je).body.querySelectorAll(".ng-table ng-filter-button").forEach((C) => {
29663
29673
  C.remove();
29664
29674
  });
29665
29675
  });
@@ -29708,12 +29718,12 @@ class cf {
29708
29718
  }), f(this, Je).scrollTo_V1(0), f(this, Je).paging.reset();
29709
29719
  });
29710
29720
  Y(this, bc, (C = "thead") => [...f(this, Je).body.querySelectorAll(`.ng-table ${C}`)].reduce((t, l) => Math.max(l.rows.length - 1, t), 0));
29711
- tt(this, Je, C), tt(this, Ws, !1);
29721
+ tt(this, Je, C), tt(this, Vs, !1);
29712
29722
  const t = document.createElement("ng-filter-panel");
29713
29723
  t.style.display = "none", f(this, Je).shadowRoot.appendChild(t);
29714
29724
  }
29715
29725
  }
29716
- Je = new WeakMap(), Ws = new WeakMap(), bc = new WeakMap();
29726
+ Je = new WeakMap(), Vs = new WeakMap(), bc = new WeakMap();
29717
29727
  var Va, An, Wa;
29718
29728
  class uf extends HTMLElement {
29719
29729
  constructor() {
@@ -29858,7 +29868,7 @@ class df extends HTMLElement {
29858
29868
  Ar = new WeakMap(), Xa = new WeakMap(), Ya = new WeakMap(), yc = new WeakMap(), vc = new WeakMap(), wc = new WeakMap(), xc = new WeakMap();
29859
29869
  customElements.get("ng-filter-button") || customElements.define("ng-filter-button", uf);
29860
29870
  customElements.get("ng-filter-panel") || customElements.define("ng-filter-panel", df);
29861
- var Ga, vi, Ka, Tn, is, Za, Ja, _c, bs, Sc, Qa, kc, ns, Cc, tl, Ec, el, Xs, Ys;
29871
+ var Ga, vi, Ka, Tn, is, Za, Ja, _c, bs, Sc, Qa, kc, ns, Cc, tl, Ec, el, Ws, Xs;
29862
29872
  class Qc extends HTMLElement {
29863
29873
  constructor() {
29864
29874
  super();
@@ -30233,7 +30243,7 @@ class Qc extends HTMLElement {
30233
30243
  * return : 없음
30234
30244
  */
30235
30245
  it(this, "selectArea", (t, l, c, o) => {
30236
- const r = f(this, Xs).call(this, t), n = f(this, Xs).call(this, c), s = f(this, Ys).call(this, l), e = f(this, Ys).call(this, o), i = parseInt(r * this.template.length), u = parseInt(n * this.template.length) + this.template.length - 1;
30246
+ const r = f(this, Ws).call(this, t), n = f(this, Ws).call(this, c), s = f(this, Xs).call(this, l), e = f(this, Xs).call(this, o), i = parseInt(r * this.template.length), u = parseInt(n * this.template.length) + this.template.length - 1;
30237
30247
  this.row.at = r, r >= 0 && n >= 0 ? this.selection.selectArea(i, s, u, e) : this.clearSelection();
30238
30248
  });
30239
30249
  /**
@@ -30245,7 +30255,7 @@ class Qc extends HTMLElement {
30245
30255
  * return : 없음
30246
30256
  */
30247
30257
  it(this, "selectRow", (t, l) => {
30248
- const c = f(this, Xs).call(this, t), o = H.isNull(oRow2) ? c : f(this, Xs).call(this, l), r = parseInt(c * this.template.length), n = parseInt(o * this.template.length) + this.template.length - 1;
30258
+ const c = f(this, Ws).call(this, t), o = H.isNull(oRow2) ? c : f(this, Ws).call(this, l), r = parseInt(c * this.template.length), n = parseInt(o * this.template.length) + this.template.length - 1;
30249
30259
  this.row.at = c, c >= 0 && o >= 0 ? this.selection.selectArea(r, this.firstCol, n, this.lastCol) : this.clearSelection();
30250
30260
  });
30251
30261
  /**
@@ -30257,7 +30267,7 @@ class Qc extends HTMLElement {
30257
30267
  * return : 없음
30258
30268
  */
30259
30269
  it(this, "selectCol", (t, l) => {
30260
- const c = f(this, Ys).call(this, t), o = H.isNull(l) ? c : f(this, Ys).call(this, l), r = 0, n = parseInt(this.data.count() * this.template.length - 1);
30270
+ const c = f(this, Xs).call(this, t), o = H.isNull(l) ? c : f(this, Xs).call(this, l), r = 0, n = parseInt(this.data.count() * this.template.length - 1);
30261
30271
  c >= 0 && o >= 0 ? this.selection.selectArea(r, c, n, o) : this.clearSelection();
30262
30272
  });
30263
30273
  /**
@@ -30270,17 +30280,17 @@ class Qc extends HTMLElement {
30270
30280
  * return : 없음
30271
30281
  */
30272
30282
  it(this, "selectCell", (t, l, c) => {
30273
- const o = f(this, Xs).call(this, t), r = f(this, Ys).call(this, l), n = parseInt(o * this.template.length) + H.nvl(c, 0);
30283
+ const o = f(this, Ws).call(this, t), r = f(this, Xs).call(this, l), n = parseInt(o * this.template.length) + H.nvl(c, 0);
30274
30284
  this.row.at = o, o >= 0 ? this.selection.selectArea(n, r, n, r) : this.clearSelection();
30275
30285
  });
30276
- Y(this, Xs, (t) => {
30286
+ Y(this, Ws, (t) => {
30277
30287
  if (typeof t == "number")
30278
30288
  return t;
30279
30289
  if (typeof t == "function")
30280
30290
  return this.data.findIndex(t);
30281
30291
  throw `invalid ${t}`;
30282
30292
  });
30283
- Y(this, Ys, (t) => {
30293
+ Y(this, Xs, (t) => {
30284
30294
  if (typeof t == "number")
30285
30295
  return t;
30286
30296
  if (typeof t == "string" && this.fields.includes(t))
@@ -30413,7 +30423,7 @@ class Qc extends HTMLElement {
30413
30423
  return Math.max.apply(null, f(this, el).call(this));
30414
30424
  }
30415
30425
  }
30416
- Ga = new WeakMap(), vi = new WeakMap(), Ka = new WeakMap(), Tn = new WeakMap(), is = new WeakMap(), Za = new WeakMap(), Ja = new WeakMap(), _c = new WeakMap(), bs = new WeakMap(), Sc = new WeakMap(), Qa = new WeakMap(), kc = new WeakMap(), ns = new WeakMap(), Cc = new WeakMap(), tl = new WeakMap(), Ec = new WeakMap(), el = new WeakMap(), Xs = new WeakMap(), Ys = new WeakMap(), it(Qc, "observedAttributes", ["lang", "caption", "display-row-count", "row-resizable", "col-indicator-type", "auto-fit-col", "enable-fixed-col", "select-type", "paging-type", "paging-count", "show-menu-icon", "show-title-bar", "show-tfoot", "show-status-bar"]);
30426
+ Ga = new WeakMap(), vi = new WeakMap(), Ka = new WeakMap(), Tn = new WeakMap(), is = new WeakMap(), Za = new WeakMap(), Ja = new WeakMap(), _c = new WeakMap(), bs = new WeakMap(), Sc = new WeakMap(), Qa = new WeakMap(), kc = new WeakMap(), ns = new WeakMap(), Cc = new WeakMap(), tl = new WeakMap(), Ec = new WeakMap(), el = new WeakMap(), Ws = new WeakMap(), Xs = new WeakMap(), it(Qc, "observedAttributes", ["lang", "caption", "display-row-count", "row-resizable", "col-indicator-type", "auto-fit-col", "enable-fixed-col", "select-type", "paging-type", "paging-count", "show-menu-icon", "show-title-bar", "show-tfoot", "show-status-bar"]);
30417
30427
  customElements.get("nine-grid") || customElements.define("nine-grid", Qc);
30418
30428
  class ff extends Qc {
30419
30429
  constructor() {
@@ -30519,24 +30529,24 @@ class pf extends HTMLElement {
30519
30529
  }
30520
30530
  ys = new WeakMap(), Ac = new WeakMap(), rl = new WeakMap(), Rn = new WeakMap(), sl = new WeakMap(), il = new WeakMap(), Mn = new WeakMap(), nl = new WeakMap();
30521
30531
  customElements.get("nx-dialog") || customElements.define("nx-dialog", pf);
30522
- var ol, Gs, al, In, vs, wi, Nn, Tc;
30532
+ var ol, Ys, al, In, vs, wi, Nn, Tc;
30523
30533
  class Nu extends HTMLElement {
30524
30534
  constructor() {
30525
30535
  super();
30526
30536
  Y(this, ol);
30527
- Y(this, Gs);
30537
+ Y(this, Ys);
30528
30538
  Y(this, al);
30529
30539
  Y(this, In);
30530
30540
  Y(this, vs);
30531
30541
  Y(this, wi, []);
30532
30542
  Y(this, Nn);
30533
30543
  it(this, "refresh", () => {
30534
- if (f(this, Gs)) {
30544
+ if (f(this, Ys)) {
30535
30545
  if (f(this, Nn))
30536
- f(this, Gs).innerHTML = i18next.t(f(this, Nn));
30546
+ f(this, Ys).innerHTML = i18next.t(f(this, Nn));
30537
30547
  else if (f(this, wi).length > 0 && !H.isNull(f(this, In))) {
30538
30548
  var t = f(this, wi).findIndex((l) => l[f(this, al)] == H.global.locale);
30539
- t < 0 && (t = 0), f(this, Gs).innerHTML = f(this, wi)[t][f(this, In)], $("datalist", this).remove(), $(this).append(f(this, vs));
30549
+ t < 0 && (t = 0), f(this, Ys).innerHTML = f(this, wi)[t][f(this, In)], $("datalist", this).remove(), $(this).append(f(this, vs));
30540
30550
  }
30541
30551
  }
30542
30552
  });
@@ -30552,9 +30562,9 @@ class Nu extends HTMLElement {
30552
30562
  const t = this.innerHTML;
30553
30563
  this.innerHTML = `
30554
30564
  <span>${t}</span>
30555
- `, tt(this, Gs, this.querySelector("span"));
30565
+ `, tt(this, Ys, this.querySelector("span"));
30556
30566
  for (var l = 0; l < this.attributes.length; l++)
30557
- f(this, Gs).setAttribute(this.attributes[l].name, this.attributes[l].value);
30567
+ f(this, Ys).setAttribute(this.attributes[l].name, this.attributes[l].value);
30558
30568
  this.refresh();
30559
30569
  });
30560
30570
  }
@@ -30564,7 +30574,7 @@ class Nu extends HTMLElement {
30564
30574
  });
30565
30575
  }
30566
30576
  }
30567
- ol = new WeakMap(), Gs = new WeakMap(), al = new WeakMap(), In = new WeakMap(), vs = new WeakMap(), wi = new WeakMap(), Nn = new WeakMap(), Tc = new WeakMap(), it(Nu, "i18n", {
30577
+ ol = new WeakMap(), Ys = new WeakMap(), al = new WeakMap(), In = new WeakMap(), vs = new WeakMap(), wi = new WeakMap(), Nn = new WeakMap(), Tc = new WeakMap(), it(Nu, "i18n", {
30568
30578
  convertArrayToJSON: (t) => {
30569
30579
  let l = {};
30570
30580
  for (const c of t) {
@@ -31937,11 +31947,11 @@ qn = new WeakMap(), Al = new WeakSet(), nu = function() {
31937
31947
  }
31938
31948
  };
31939
31949
  customElements.get("nx-layout") || customElements.define("nx-layout", $f);
31940
- var Hn, Ks, ou, au, Yc;
31950
+ var Hn, Gs, ou, au, Yc;
31941
31951
  class Lf extends HTMLElement {
31942
31952
  constructor() {
31943
31953
  super();
31944
- Y(this, Ks);
31954
+ Y(this, Gs);
31945
31955
  Y(this, Hn);
31946
31956
  Y(this, Yc, () => {
31947
31957
  const t = (c) => {
@@ -31968,19 +31978,19 @@ class Lf extends HTMLElement {
31968
31978
  return ["columns", "rows-height"];
31969
31979
  }
31970
31980
  connectedCallback() {
31971
- tt(this, Hn, Array.from(this.children).filter((t) => t.tagName.toLowerCase() !== "nx-splitter")), Ge(this, Ks, au).call(this);
31981
+ tt(this, Hn, Array.from(this.children).filter((t) => t.tagName.toLowerCase() !== "nx-splitter")), Ge(this, Gs, au).call(this);
31972
31982
  }
31973
31983
  attributeChangedCallback(t, l, c) {
31974
- l !== c && (t === "rows-height" && Ge(this, Ks, ou).call(this, c), f(this, Hn) && Ge(this, Ks, au).call(this));
31984
+ l !== c && (t === "rows-height" && Ge(this, Gs, ou).call(this, c), f(this, Hn) && Ge(this, Gs, au).call(this));
31975
31985
  }
31976
31986
  }
31977
- Hn = new WeakMap(), Ks = new WeakSet(), ou = function(t) {
31987
+ Hn = new WeakMap(), Gs = new WeakSet(), ou = function(t) {
31978
31988
  if (t) {
31979
31989
  const l = t.replace(/,/g, " ").replace(/\*/g, "1fr");
31980
31990
  this.style.setProperty("--rows-template", l);
31981
31991
  }
31982
31992
  }, au = function() {
31983
- Ge(this, Ks, ou).call(this, this.getAttribute("rows-height"));
31993
+ Ge(this, Gs, ou).call(this, this.getAttribute("rows-height"));
31984
31994
  const t = f(this, Hn);
31985
31995
  if (!t || t.length === 0) return;
31986
31996
  for (; this.firstChild; )