@ninebone/grid 0.0.149 → 0.0.150

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/nine-grid.js CHANGED
@@ -1,11 +1,11 @@
1
1
  var Fu = Object.defineProperty;
2
- var Su = (mt) => {
2
+ var ku = (mt) => {
3
3
  throw TypeError(mt);
4
4
  };
5
5
  var qu = (mt, C, t) => C in mt ? Fu(mt, C, { enumerable: !0, configurable: !0, writable: !0, value: t }) : mt[C] = t;
6
- var it = (mt, C, t) => qu(mt, typeof C != "symbol" ? C + "" : C, t), ru = (mt, C, t) => C.has(mt) || Su("Cannot " + t);
7
- var f = (mt, C, t) => (ru(mt, C, "read from private field"), t ? t.call(mt) : C.get(mt)), Y = (mt, C, t) => C.has(mt) ? Su("Cannot add the same private member more than once") : C instanceof WeakSet ? C.add(mt) : C.set(mt, t), tt = (mt, C, t, l) => (ru(mt, C, "write to private field"), l ? l.call(mt, t) : C.set(mt, t), t), Ve = (mt, C, t) => (ru(mt, C, "access private method"), t);
8
- var ku = (mt, C, t, l) => ({
6
+ var it = (mt, C, t) => qu(mt, typeof C != "symbol" ? C + "" : C, t), ru = (mt, C, t) => C.has(mt) || ku("Cannot " + t);
7
+ var f = (mt, C, t) => (ru(mt, C, "read from private field"), t ? t.call(mt) : C.get(mt)), Y = (mt, C, t) => C.has(mt) ? ku("Cannot add the same private member more than once") : C instanceof WeakSet ? C.add(mt) : C.set(mt, t), tt = (mt, C, t, l) => (ru(mt, C, "write to private field"), l ? l.call(mt, t) : C.set(mt, t), t), Ve = (mt, C, t) => (ru(mt, C, "access private method"), t);
8
+ var Cu = (mt, C, t, l) => ({
9
9
  set _(c) {
10
10
  tt(mt, C, c, t);
11
11
  },
@@ -15,7 +15,7 @@ var ku = (mt, C, t, l) => ({
15
15
  });
16
16
  import Hu from "jquery";
17
17
  import { trace as zu } from "@ninebone/util";
18
- class vu extends HTMLElement {
18
+ class wu extends HTMLElement {
19
19
  constructor() {
20
20
  super(), this.attachShadow({ mode: "open" });
21
21
  }
@@ -31,7 +31,7 @@ class vu extends HTMLElement {
31
31
  `;
32
32
  }
33
33
  }
34
- it(vu, "confirm", async (C, t, l = {}) => {
34
+ it(wu, "confirm", async (C, t, l = {}) => {
35
35
  t = t || "Confirm";
36
36
  for (const s in H.options.confirm)
37
37
  l[s] = l[s] || H.options.confirm[s];
@@ -75,7 +75,7 @@ it(Bl, "alert", async (C, t = "Alert", l = {}) => {
75
75
  }), c.shadowRoot.querySelector("dialog").showModal();
76
76
  });
77
77
  });
78
- customElements.get("nx-confirm-popup") || customElements.define("nx-confirm-popup", vu);
78
+ customElements.get("nx-confirm-popup") || customElements.define("nx-confirm-popup", wu);
79
79
  customElements.get("nx-alert-popup") || customElements.define("nx-alert-popup", Bl);
80
80
  const St = class St {
81
81
  constructor() {
@@ -162,7 +162,7 @@ const St = class St {
162
162
  return null;
163
163
  }
164
164
  static confirm(C, t, l) {
165
- return vu.confirm(C, t, l);
165
+ return wu.confirm(C, t, l);
166
166
  }
167
167
  static alert(C, t, l) {
168
168
  return Bl.alert(C, t, l);
@@ -1834,7 +1834,7 @@ 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, Dr, bo, xr, Hi, Br, yo, hu, vo, cu, wo, xo, zi, Ui, _o;
1837
+ var we, Nr, Dr, bo, xr, Hi, Br, yo, cu, vo, uu, wo, xo, zi, Ui, _o;
1838
1838
  class id {
1839
1839
  constructor(C) {
1840
1840
  Y(this, we);
@@ -1887,7 +1887,7 @@ class id {
1887
1887
  }
1888
1888
  }
1889
1889
  });
1890
- Y(this, hu, (C) => {
1890
+ Y(this, cu, (C) => {
1891
1891
  if (!["INPUT"].includes(C.target.tagName)) {
1892
1892
  var t = C.target.getBoundingClientRect();
1893
1893
  C.offsetX = C.targetTouches[0].pageX - t.left, C.pageX = C.changedTouches[0].pageX, C.pageY = C.changedTouches[0].pageY, C.buttons = 1, f(this, xo).call(this, C), $(document).on("touchmove", (l) => f(this, vo).call(this, l));
@@ -1897,7 +1897,7 @@ class id {
1897
1897
  var t = C.target.getBoundingClientRect();
1898
1898
  C.offsetX = C.targetTouches[0].pageX - t.left, C.pageX = C.changedTouches[0].pageX, C.pageY = C.changedTouches[0].pageY, C.clientX = C.changedTouches[0].clientX, f(this, Ui).call(this, C);
1899
1899
  });
1900
- Y(this, cu, (C) => {
1900
+ Y(this, uu, (C) => {
1901
1901
  C.clientX = C.changedTouches[0].clientX, f(this, zi).call(this, C);
1902
1902
  });
1903
1903
  Y(this, wo, (C) => {
@@ -1952,8 +1952,8 @@ class id {
1952
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(), Dr = new WeakMap(), bo = new WeakMap(), xr = new WeakMap(), Hi = new WeakMap(), Br = new WeakMap(), yo = new WeakMap(), hu = new WeakMap(), vo = new WeakMap(), cu = new WeakMap(), wo = new WeakMap(), xo = new WeakMap(), zi = new WeakMap(), Ui = new WeakMap(), _o = new WeakMap();
1956
- var Me, _r, Sr, Ts, Rs, Fr, kr, Ms, Is, So, ko, Co, uu, Eo, rh, Ao, Vi, Wi, Xi, Qs, Yi, sh;
1955
+ we = new WeakMap(), Nr = new WeakMap(), Dr = new WeakMap(), bo = new WeakMap(), xr = new WeakMap(), Hi = new WeakMap(), Br = new WeakMap(), yo = new WeakMap(), cu = new WeakMap(), vo = new WeakMap(), uu = new WeakMap(), wo = new WeakMap(), xo = new WeakMap(), zi = new WeakMap(), Ui = new WeakMap(), _o = new WeakMap();
1956
+ var Me, _r, Sr, Ts, Rs, Fr, kr, Ms, Is, So, ko, Co, du, Eo, rh, Ao, Vi, Wi, Xi, Qs, Yi, sh;
1957
1957
  class nd {
1958
1958
  constructor(C) {
1959
1959
  Y(this, Me);
@@ -2002,7 +2002,7 @@ class nd {
2002
2002
  } else
2003
2003
  C.target.style.cursor = "auto";
2004
2004
  });
2005
- Y(this, uu, (C) => {
2005
+ Y(this, du, (C) => {
2006
2006
  tt(this, Rs, !0), setTimeout(() => {
2007
2007
  f(this, Rs) && f(this, rh).call(this, C);
2008
2008
  }, 500);
@@ -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, Ts, f(this, _r).find(".tooltip")), this.resetEvent();
2060
2060
  }
2061
2061
  }
2062
- Me = new WeakMap(), _r = new WeakMap(), Sr = new WeakMap(), Ts = new WeakMap(), Rs = new WeakMap(), Fr = new WeakMap(), kr = new WeakMap(), Ms = new WeakMap(), Is = new WeakMap(), So = new WeakMap(), ko = new WeakMap(), Co = new WeakMap(), uu = new WeakMap(), Eo = new WeakMap(), rh = new WeakMap(), Ao = new WeakMap(), Vi = new WeakMap(), Wi = new WeakMap(), Xi = new WeakMap(), Qs = new WeakMap(), Yi = new WeakMap(), sh = new WeakMap();
2062
+ Me = new WeakMap(), _r = new WeakMap(), Sr = new WeakMap(), Ts = new WeakMap(), Rs = new WeakMap(), Fr = new WeakMap(), kr = new WeakMap(), Ms = new WeakMap(), Is = new WeakMap(), So = new WeakMap(), ko = new WeakMap(), Co = new WeakMap(), du = new WeakMap(), Eo = new WeakMap(), rh = new WeakMap(), Ao = new WeakMap(), Vi = new WeakMap(), Wi = new WeakMap(), Xi = new WeakMap(), Qs = new WeakMap(), Yi = new WeakMap(), sh = new WeakMap();
2063
2063
  var ue, ti, Or, Gi, To, ih;
2064
2064
  class od {
2065
2065
  constructor(C) {
@@ -2265,8 +2265,8 @@ class ad extends zu.constructor {
2265
2265
  super(), this.init("nine-grid", "green");
2266
2266
  }
2267
2267
  }
2268
- const Cu = new ad();
2269
- var nh, Ki, Le, rr, Ro, Ns, ei, Zi, oh, ah, lh, hh, du;
2268
+ const su = new ad();
2269
+ var nh, Ki, Le, rr, Ro, Ns, ei, Zi, oh, ah, lh, hh, fu;
2270
2270
  class ld extends _i {
2271
2271
  constructor() {
2272
2272
  super();
@@ -2318,7 +2318,7 @@ class ld extends _i {
2318
2318
  Y(this, hh, (t) => {
2319
2319
  t.target.closest("ng-combo-panel") || (f(this, Le).row = f(this, Le).col = -1, $(f(this, Le)).hide());
2320
2320
  });
2321
- Y(this, du, () => "a");
2321
+ Y(this, fu, () => "a");
2322
2322
  }
2323
2323
  connectedCallback() {
2324
2324
  this.multi = this.getAttribute("multi") == "true", this.multiSeparator = this.getAttribute("multi-separator") || ",", tt(this, Ro, this.getAttribute("rows") || 5), tt(this, Ns, this.getAttribute("code") || "code"), tt(this, ei, this.getAttribute("codename") || "codename"), tt(this, Zi, (this.getAttribute("items") || f(this, ei) || "").split(",")), f(this, Zi).unshift("CHK");
@@ -2351,8 +2351,8 @@ class ld extends _i {
2351
2351
  return f(this, rr);
2352
2352
  }
2353
2353
  }
2354
- nh = new WeakMap(), Ki = new WeakMap(), Le = new WeakMap(), rr = new WeakMap(), Ro = new WeakMap(), Ns = new WeakMap(), ei = new WeakMap(), Zi = new WeakMap(), oh = new WeakMap(), ah = new WeakMap(), lh = new WeakMap(), hh = new WeakMap(), du = new WeakMap();
2355
- var Mo, Pe, Os, ri, Ji, ch, Io, uh, No, Qi, fu, dh, fh;
2354
+ nh = new WeakMap(), Ki = new WeakMap(), Le = new WeakMap(), rr = new WeakMap(), Ro = new WeakMap(), Ns = new WeakMap(), ei = new WeakMap(), Zi = new WeakMap(), oh = new WeakMap(), ah = new WeakMap(), lh = new WeakMap(), hh = new WeakMap(), fu = new WeakMap();
2355
+ var Mo, Pe, Os, ri, Ji, ch, Io, uh, No, Qi, pu, dh, fh;
2356
2356
  class hd extends HTMLElement {
2357
2357
  constructor() {
2358
2358
  super();
@@ -2389,7 +2389,7 @@ class hd extends HTMLElement {
2389
2389
  $(c).blur(), f(this, Pe).value = l.data.get(c.dataset.row)[f(this, Os)], this.row = this.col = -1, $(this).hide(), f(this, Pe).getRootNode().host.cell.currentCell = f(this, Pe).closest("th,td");
2390
2390
  }
2391
2391
  });
2392
- Y(this, fu, (t) => {
2392
+ Y(this, pu, (t) => {
2393
2393
  t.preventDefault(), t.stopPropagation(), $(this).hide();
2394
2394
  });
2395
2395
  Y(this, dh, (t) => {
@@ -2523,7 +2523,7 @@ class hd extends HTMLElement {
2523
2523
  `, f(this, ch).call(this);
2524
2524
  }
2525
2525
  }
2526
- Mo = new WeakMap(), Pe = new WeakMap(), Os = new WeakMap(), ri = new WeakMap(), Ji = new WeakMap(), ch = new WeakMap(), Io = new WeakMap(), uh = new WeakMap(), No = new WeakMap(), Qi = new WeakMap(), fu = new WeakMap(), dh = new WeakMap(), fh = new WeakMap();
2526
+ Mo = new WeakMap(), Pe = new WeakMap(), Os = new WeakMap(), ri = new WeakMap(), Ji = new WeakMap(), ch = new WeakMap(), Io = new WeakMap(), uh = new WeakMap(), No = new WeakMap(), Qi = new WeakMap(), pu = new WeakMap(), dh = new WeakMap(), fh = new WeakMap();
2527
2527
  customElements.get("ng-combo") || customElements.define("ng-combo", ld);
2528
2528
  customElements.get("ng-combo-panel") || customElements.define("ng-combo-panel", hd);
2529
2529
  var tn, Oo, en, si, rn, Wr, ph, jo, mh;
@@ -3197,7 +3197,7 @@ class pd {
3197
3197
  this.clear(), this.add(C, !1);
3198
3198
  }
3199
3199
  get nextId() {
3200
- return ++ku(this, ii)._;
3200
+ return ++Cu(this, ii)._;
3201
3201
  }
3202
3202
  get default() {
3203
3203
  return {
@@ -3444,7 +3444,7 @@ function vd(mt) {
3444
3444
  function Dl(mt) {
3445
3445
  throw new Error('Could not dynamically require "' + mt + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
3446
3446
  }
3447
- var su = { exports: {} };
3447
+ var iu = { exports: {} };
3448
3448
  /*! ExcelJS 19-10-2023 */
3449
3449
  var Eu;
3450
3450
  function wd() {
@@ -21710,15 +21710,15 @@ function wd() {
21710
21710
  var Ss = _s[Ei];
21711
21711
  if (!(ns ? Ss in be : X.call(be, Ss))) return !1;
21712
21712
  }
21713
- var xu = vr.get(Ce);
21714
- if (xu && vr.get(be)) return xu == be;
21713
+ var _u = vr.get(Ce);
21714
+ if (_u && vr.get(be)) return _u == be;
21715
21715
  var Ol = !0;
21716
21716
  vr.set(Ce, be), vr.set(be, Ce);
21717
21717
  for (var eu = ns; ++Ei < Un; ) {
21718
21718
  Ss = _s[Ei];
21719
21719
  var jl = Ce[Ss], $l = be[Ss];
21720
- if (Ks) var _u = ns ? Ks($l, jl, Ss, be, Ce, vr) : Ks(jl, $l, Ss, Ce, be, vr);
21721
- if (!(_u === void 0 ? jl === $l || xs(jl, $l, Ks, Il, vr) : _u)) {
21720
+ if (Ks) var Su = ns ? Ks($l, jl, Ss, be, Ce, vr) : Ks(jl, $l, Ss, Ce, be, vr);
21721
+ if (!(Su === void 0 ? jl === $l || xs(jl, $l, Ks, Il, vr) : Su)) {
21722
21722
  Ol = !1;
21723
21723
  break;
21724
21724
  }
@@ -26459,7 +26459,7 @@ use chrome, FireFox or Internet Explorer 11`);
26459
26459
  };
26460
26460
  }, {}] }, {}, [15])(15);
26461
26461
  }));
26462
- })(su)), su.exports;
26462
+ })(iu)), iu.exports;
26463
26463
  }
26464
26464
  var xd = wd();
26465
26465
  const _d = /* @__PURE__ */ vd(xd);
@@ -26625,15 +26625,15 @@ class Sd {
26625
26625
  }
26626
26626
  }
26627
26627
  Ie = new WeakMap(), Wo = new WeakMap(), ln = new WeakMap(), hs = new WeakMap();
26628
- var ni, hn, Xo, pu, mu, xh;
26628
+ var ni, hn, Xo, mu, gu, xh;
26629
26629
  class Ou extends HTMLElement {
26630
26630
  constructor() {
26631
26631
  super();
26632
26632
  Y(this, ni);
26633
26633
  Y(this, hn);
26634
26634
  Y(this, Xo);
26635
- Y(this, pu);
26636
- Y(this, mu, {});
26635
+ Y(this, mu);
26636
+ Y(this, gu, {});
26637
26637
  Y(this, xh, () => {
26638
26638
  });
26639
26639
  it(this, "exportExcel", () => {
@@ -26685,7 +26685,7 @@ class Ou extends HTMLElement {
26685
26685
  `, tt(this, ni, this.shadowRoot.querySelector("dialog")), tt(this, Xo, new Sd(f(this, hn), f(this, ni))), f(this, xh).call(this);
26686
26686
  }
26687
26687
  }
26688
- ni = new WeakMap(), hn = new WeakMap(), Xo = new WeakMap(), pu = new WeakMap(), mu = new WeakMap(), xh = new WeakMap();
26688
+ ni = new WeakMap(), hn = new WeakMap(), Xo = new WeakMap(), mu = new WeakMap(), gu = new WeakMap(), xh = new WeakMap();
26689
26689
  customElements.get("ng-export") || customElements.define("ng-export", Ou);
26690
26690
  var Yo, nr, Go, _h;
26691
26691
  class kd {
@@ -28291,7 +28291,7 @@ class Jd extends Mr {
28291
28291
  }
28292
28292
  }
28293
28293
  da = new WeakMap(), Vh = new WeakMap();
28294
- var ur, Qr, fa, mr, Fs, fi, gu, ts, Wh, Xh, Yh, pa, ma, ga, Gh;
28294
+ var ur, Qr, fa, mr, Fs, fi, bu, ts, Wh, Xh, Yh, pa, ma, ga, Gh;
28295
28295
  class Qd extends HTMLElement {
28296
28296
  constructor() {
28297
28297
  super();
@@ -28301,7 +28301,7 @@ class Qd extends HTMLElement {
28301
28301
  Y(this, mr);
28302
28302
  Y(this, Fs);
28303
28303
  Y(this, fi);
28304
- Y(this, gu);
28304
+ Y(this, bu);
28305
28305
  Y(this, ts);
28306
28306
  Y(this, Wh);
28307
28307
  Y(this, Xh, () => {
@@ -28348,7 +28348,7 @@ class Qd extends HTMLElement {
28348
28348
  tt(this, Qr, this.cell), tt(this, ur, f(this, Qr).getRootNode().host), this.setAttribute("class", "row-resizer"), f(this, Xh).call(this);
28349
28349
  }
28350
28350
  }
28351
- ur = new WeakMap(), Qr = new WeakMap(), fa = new WeakMap(), mr = new WeakMap(), Fs = new WeakMap(), fi = new WeakMap(), gu = new WeakMap(), ts = new WeakMap(), Wh = new WeakMap(), Xh = new WeakMap(), Yh = new WeakMap(), pa = new WeakMap(), ma = new WeakMap(), ga = new WeakMap(), Gh = new WeakMap();
28351
+ ur = new WeakMap(), Qr = new WeakMap(), fa = new WeakMap(), mr = new WeakMap(), Fs = new WeakMap(), fi = new WeakMap(), bu = new WeakMap(), ts = new WeakMap(), Wh = new WeakMap(), Xh = new WeakMap(), Yh = new WeakMap(), pa = new WeakMap(), ma = new WeakMap(), ga = new WeakMap(), Gh = new WeakMap();
28352
28352
  customElements.get("ng-row-indicator") || customElements.define("ng-row-indicator", Jd);
28353
28353
  customElements.get("ng-row-resizer") || customElements.define("ng-row-resizer", Qd);
28354
28354
  var Kh;
@@ -28482,7 +28482,7 @@ class sf extends HTMLElement {
28482
28482
  var a = parseInt($(".ng-container-body tbody.bindable tr", f(this, Bt).body).not(".nodata").length / f(this, Bt).template.length);
28483
28483
  u = parseInt(o * i / (f(this, Bt).data.count() - a + 1)), u > r - n - 3 && (u = r - n - 3);
28484
28484
  }
28485
- f(this, me).thumb.style.top = u + "px", f(this, me).top.disabled = !!f(this, Bt).isFirstPage, f(this, me).bottom.disabled = !!f(this, Bt).isLastPage, $(this).is(":visible") && $("ng-hscrollbar", f(this, Bt).body).is(":visible") ? $(".ng-scroll-edge", f(this, Bt).body).show() : $(".ng-scroll-edge", f(this, Bt).body).hide();
28485
+ f(this, me).thumb.style.top = u + "px", su.log(":::", u), f(this, me).top.disabled = !!f(this, Bt).isFirstPage, f(this, me).bottom.disabled = !!f(this, Bt).isLastPage, $(this).is(":visible") && $("ng-hscrollbar", f(this, Bt).body).is(":visible") ? $(".ng-scroll-edge", f(this, Bt).body).show() : $(".ng-scroll-edge", f(this, Bt).body).hide();
28486
28486
  }
28487
28487
  });
28488
28488
  it(this, "refreshV2", () => {
@@ -28565,7 +28565,7 @@ class sf extends HTMLElement {
28565
28565
  t.offsetX = t.targetTouches[0].pageX - l.left, t.offsetY = t.targetTouches[0].pageY - l.top, t.pageX = t.changedTouches[0].pageX, t.pageY = t.changedTouches[0].pageY, t.clientX = t.changedTouches[0].clientX, t.clientY = t.changedTouches[0].clientY, t.buttons = 1, f(this, xn).call(this, t);
28566
28566
  });
28567
28567
  Y(this, wa, (t) => {
28568
- tt(this, ba, t.clientY), Cu.log("::", t, t.clientY), tt(this, es, !0), this.shiftY = t.offsetY + f(this, me).track.getBoundingClientRect().y, this.trackHeight = $(f(this, me).track).height(), this.thumbHeight = $(f(this, me).thumb).height(), this.nodataHeight = $(".ng-container .ng-table tr.nodata", f(this, Bt).body).height(), this.bodyHeight = $(".ng-container-body", f(this, Bt).body).height(), this.templateHeight = f(this, Bt).template.height(), this.theadHeight = $(".ng-container-body table > thead", f(this, Bt).body).height() || 0, this.tfootHeight = $(".ng-container-body table > tfoot", f(this, Bt).body).height() || 0, this.fixedHeight = $(".ng-container-body tbody.fixed", f(this, Bt).body).height(), this.tableHeight = $(".ng-container-body .ng-table", f(this, Bt).body).height(), tt(this, wn, !0), document.addEventListener("mousemove", f(this, xn)), typeof this.onDragStart == "function" && this.onDragStart();
28568
+ tt(this, ba, t.clientY), su.log("::", t, t.clientY), tt(this, es, !0), this.shiftY = t.offsetY + f(this, me).track.getBoundingClientRect().y, this.trackHeight = $(f(this, me).track).height(), this.thumbHeight = $(f(this, me).thumb).height(), this.nodataHeight = $(".ng-container .ng-table tr.nodata", f(this, Bt).body).height(), this.bodyHeight = $(".ng-container-body", f(this, Bt).body).height(), this.templateHeight = f(this, Bt).template.height(), this.theadHeight = $(".ng-container-body table > thead", f(this, Bt).body).height() || 0, this.tfootHeight = $(".ng-container-body table > tfoot", f(this, Bt).body).height() || 0, this.fixedHeight = $(".ng-container-body tbody.fixed", f(this, Bt).body).height(), this.tableHeight = $(".ng-container-body .ng-table", f(this, Bt).body).height(), tt(this, wn, !0), document.addEventListener("mousemove", f(this, xn)), typeof this.onDragStart == "function" && this.onDragStart();
28569
28569
  });
28570
28570
  Y(this, xn, (t) => {
28571
28571
  if (!f(this, es)) return;
@@ -28578,7 +28578,7 @@ class sf extends HTMLElement {
28578
28578
  if (Math.max(0, f(this, Bt).matrix.getTotalHeight() - this.bodyHeight), f(this, Bt).matrix.getHeight(n), f(this, Bt).dataManager.viewRecords.rawIndex != n)
28579
28579
  f(this, Bt).scrollToV2(n), tt(this, Zh, 0), Ve(this, ec, ju).call(this, 0);
28580
28580
  else {
28581
- f(this, me).thumb.style.top = o + "px", Cu.log(t.pageY - this.shiftY);
28581
+ f(this, me).thumb.style.top = o + "px", su.log(o);
28582
28582
  return;
28583
28583
  }
28584
28584
  });
@@ -29241,7 +29241,7 @@ class cf extends HTMLElement {
29241
29241
  Ma = new WeakMap(), Ia = new WeakMap(), Na = new WeakMap(), Oa = new WeakMap();
29242
29242
  customElements.get("ng-textarea") || customElements.define("ng-textarea", hf);
29243
29243
  customElements.get("ng-textarea-detail") || customElements.define("ng-textarea-detail", cf);
29244
- var ja, $a, La, pi, Vn, lc, hc, cc, uc, bu, Pa, Da, dc, fc, pc;
29244
+ var ja, $a, La, pi, Vn, lc, hc, cc, uc, yu, Pa, Da, dc, fc, pc;
29245
29245
  class uf extends Mr {
29246
29246
  constructor() {
29247
29247
  super();
@@ -29302,7 +29302,7 @@ class uf extends Mr {
29302
29302
  n = l[e];
29303
29303
  }
29304
29304
  });
29305
- Y(this, bu, (t) => {
29305
+ Y(this, yu, (t) => {
29306
29306
  var l = this.owner.data.getValidDataNF();
29307
29307
  const c = this.owner.data.findIndexNF_1(this.data.__ng._[H.ROW.INDEX]);
29308
29308
  if (!(c < 0))
@@ -29381,7 +29381,7 @@ class uf extends Mr {
29381
29381
  }
29382
29382
  ja = new WeakMap(), $a = new WeakMap(), La = new WeakMap(), pi = new WeakSet(), Vn = function() {
29383
29383
  return this.data.__ng._[H.ROW.EXPAND];
29384
- }, lc = new WeakMap(), hc = new WeakMap(), cc = new WeakMap(), uc = new WeakMap(), bu = new WeakMap(), Pa = new WeakMap(), Da = new WeakMap(), dc = new WeakMap(), fc = new WeakMap(), pc = new WeakMap();
29384
+ }, lc = new WeakMap(), hc = new WeakMap(), cc = new WeakMap(), uc = new WeakMap(), yu = new WeakMap(), Pa = new WeakMap(), Da = new WeakMap(), dc = new WeakMap(), fc = new WeakMap(), pc = new WeakMap();
29385
29385
  customElements.get("ng-tree-item") || customElements.define("ng-tree-item", uf);
29386
29386
  var vt, Xe, yr, mi, gi, Ba, Fa, qa, Ha, za, mc, gc, bc, kn, Hs, zs;
29387
29387
  class df {
@@ -31600,11 +31600,11 @@ class jf extends HTMLElement {
31600
31600
  }
31601
31601
  $r = new WeakMap(), Hc = new WeakMap(), zc = new WeakMap(), Uc = new WeakMap(), bl = new WeakMap();
31602
31602
  customElements.get("nx-splitter") || customElements.define("nx-splitter", jf);
31603
- var yu, Vc;
31603
+ var vu, Vc;
31604
31604
  class $f extends HTMLElement {
31605
31605
  constructor() {
31606
31606
  super();
31607
- Y(this, yu);
31607
+ Y(this, vu);
31608
31608
  it(this, "getData_BAK", () => {
31609
31609
  const t = {};
31610
31610
  return this.shadowRoot.querySelectorAll("[id]").forEach((l) => {
@@ -31639,7 +31639,7 @@ class $f extends HTMLElement {
31639
31639
  f(this, Vc).call(this);
31640
31640
  }
31641
31641
  }
31642
- yu = new WeakMap(), Vc = new WeakMap();
31642
+ vu = new WeakMap(), Vc = new WeakMap();
31643
31643
  customElements.get("nx-form") || customElements.define("nx-form", $f);
31644
31644
  var Tr, yl, vl, wl, xl, Wc;
31645
31645
  class Lf extends HTMLElement {
@@ -31738,8 +31738,8 @@ class Lf extends HTMLElement {
31738
31738
  }
31739
31739
  Tr = new WeakMap(), yl = new WeakMap(), vl = new WeakMap(), wl = new WeakMap(), xl = new WeakMap(), Wc = new WeakMap();
31740
31740
  customElements.get("nx-title") || customElements.define("nx-title", Lf);
31741
- var _l, xi, Sl, Rr, Wn, iu, nu, kl, Xc;
31742
- class wu extends HTMLElement {
31741
+ var _l, xi, Sl, Rr, Wn, nu, ou, kl, Xc;
31742
+ class xu extends HTMLElement {
31743
31743
  constructor() {
31744
31744
  super();
31745
31745
  Y(this, Rr);
@@ -31763,20 +31763,20 @@ class wu extends HTMLElement {
31763
31763
  });
31764
31764
  // 파라미터가 있으면 해당 값으로, 없으면 전체 공백 초기화
31765
31765
  it(this, "clearData", (t = {}) => {
31766
- Ve(this, Rr, nu).call(this), Ve(this, Rr, Wn).call(this).forEach((l) => {
31766
+ Ve(this, Rr, ou).call(this), Ve(this, Rr, Wn).call(this).forEach((l) => {
31767
31767
  const c = l.name;
31768
31768
  if (!c) return;
31769
31769
  const o = t && t[c] !== void 0 ? t[c] : "";
31770
- Ve(this, Rr, iu).call(this, l, o);
31770
+ Ve(this, Rr, nu).call(this, l, o);
31771
31771
  }), this.changed = !1;
31772
31772
  });
31773
31773
  it(this, "setData", (t) => {
31774
31774
  if (!t || typeof t != "object") return;
31775
- Ve(this, Rr, nu).call(this);
31775
+ Ve(this, Rr, ou).call(this);
31776
31776
  let l = !1;
31777
31777
  Ve(this, Rr, Wn).call(this).forEach((c) => {
31778
31778
  const o = c.name;
31779
- !o || !t.hasOwnProperty(o) || Ve(this, Rr, iu).call(this, c, t[o]) && (l = !0);
31779
+ !o || !t.hasOwnProperty(o) || Ve(this, Rr, nu).call(this, c, t[o]) && (l = !0);
31780
31780
  }), l && (this.changed = !0);
31781
31781
  });
31782
31782
  it(this, "initData", (t) => {
@@ -31815,7 +31815,7 @@ _l = new WeakMap(), xi = new WeakMap(), Sl = new WeakMap(), Rr = new WeakSet(),
31815
31815
  Wn = function() {
31816
31816
  return H.querySelectorAll("input[name], textarea[name], select[name], nx-editor[name]", f(this, xi));
31817
31817
  }, // [공통 로직 1] 특정 요소에 값을 쓰거나 초기화하는 핵심 함수
31818
- iu = function(t, l) {
31818
+ nu = function(t, l) {
31819
31819
  const c = t.tagName.toUpperCase(), o = t.type;
31820
31820
  let r = !1;
31821
31821
  if (["INPUT", "TEXTAREA", "SELECT", "NX-EDITOR"].includes(c))
@@ -31831,13 +31831,13 @@ iu = function(t, l) {
31831
31831
  t.textContent !== l && (r = !0), t.textContent = l;
31832
31832
  return r;
31833
31833
  }, // [공통 로직 2] 이벤트 리스너 일괄 등록
31834
- nu = function() {
31834
+ ou = function() {
31835
31835
  Ve(this, Rr, Wn).call(this).forEach((t) => {
31836
31836
  t.removeEventListener("input", f(this, kl)), t.addEventListener("input", f(this, kl));
31837
31837
  });
31838
31838
  }, kl = new WeakMap(), Xc = new WeakMap();
31839
31839
  var Cl, Yc;
31840
- class Pf extends wu {
31840
+ class Pf extends xu {
31841
31841
  constructor() {
31842
31842
  super();
31843
31843
  Y(this, Cl, !1);
@@ -31869,7 +31869,7 @@ class Pf extends wu {
31869
31869
  }
31870
31870
  Cl = new WeakMap(), Yc = new WeakMap();
31871
31871
  customElements.get("nx-title2") || customElements.define("nx-title2", Pf);
31872
- var Bn, El, ou;
31872
+ var Bn, El, au;
31873
31873
  class Df extends HTMLElement {
31874
31874
  constructor() {
31875
31875
  super();
@@ -31877,16 +31877,16 @@ class Df extends HTMLElement {
31877
31877
  Y(this, Bn);
31878
31878
  }
31879
31879
  connectedCallback() {
31880
- tt(this, Bn, Array.from(this.children).filter((t) => t.tagName.toLowerCase() !== "nx-splitter")), Ve(this, El, ou).call(this);
31880
+ tt(this, Bn, Array.from(this.children).filter((t) => t.tagName.toLowerCase() !== "nx-splitter")), Ve(this, El, au).call(this);
31881
31881
  }
31882
31882
  attributeChangedCallback(t, l, c) {
31883
- f(this, Bn) && l !== c && Ve(this, El, ou).call(this);
31883
+ f(this, Bn) && l !== c && Ve(this, El, au).call(this);
31884
31884
  }
31885
31885
  static get observedAttributes() {
31886
31886
  return ["columns"];
31887
31887
  }
31888
31888
  }
31889
- Bn = new WeakMap(), El = new WeakSet(), ou = function() {
31889
+ Bn = new WeakMap(), El = new WeakSet(), au = function() {
31890
31890
  const t = f(this, Bn);
31891
31891
  if (!t || t.length === 0) return;
31892
31892
  for (; this.firstChild; )
@@ -31913,7 +31913,7 @@ Bn = new WeakMap(), El = new WeakSet(), ou = function() {
31913
31913
  }
31914
31914
  };
31915
31915
  customElements.get("nx-layout") || customElements.define("nx-layout", Df);
31916
- var Fn, Ys, au, lu, Gc;
31916
+ var Fn, Ys, lu, hu, Gc;
31917
31917
  class Bf extends HTMLElement {
31918
31918
  constructor() {
31919
31919
  super();
@@ -31944,19 +31944,19 @@ class Bf extends HTMLElement {
31944
31944
  return ["columns", "rows-height"];
31945
31945
  }
31946
31946
  connectedCallback() {
31947
- tt(this, Fn, Array.from(this.children).filter((t) => t.tagName.toLowerCase() !== "nx-splitter")), Ve(this, Ys, lu).call(this);
31947
+ tt(this, Fn, Array.from(this.children).filter((t) => t.tagName.toLowerCase() !== "nx-splitter")), Ve(this, Ys, hu).call(this);
31948
31948
  }
31949
31949
  attributeChangedCallback(t, l, c) {
31950
- l !== c && (t === "rows-height" && Ve(this, Ys, au).call(this, c), f(this, Fn) && Ve(this, Ys, lu).call(this));
31950
+ l !== c && (t === "rows-height" && Ve(this, Ys, lu).call(this, c), f(this, Fn) && Ve(this, Ys, hu).call(this));
31951
31951
  }
31952
31952
  }
31953
- Fn = new WeakMap(), Ys = new WeakSet(), au = function(t) {
31953
+ Fn = new WeakMap(), Ys = new WeakSet(), lu = function(t) {
31954
31954
  if (t) {
31955
31955
  const l = t.replace(/,/g, " ").replace(/\*/g, "1fr");
31956
31956
  this.style.setProperty("--rows-template", l);
31957
31957
  }
31958
- }, lu = function() {
31959
- Ve(this, Ys, au).call(this, this.getAttribute("rows-height"));
31958
+ }, hu = function() {
31959
+ Ve(this, Ys, lu).call(this, this.getAttribute("rows-height"));
31960
31960
  const t = f(this, Fn);
31961
31961
  if (!t || t.length === 0) return;
31962
31962
  for (; this.firstChild; )
@@ -31979,7 +31979,7 @@ Fn = new WeakMap(), Ys = new WeakSet(), au = function(t) {
31979
31979
  }, Gc = new WeakMap();
31980
31980
  customElements.get("nx-layout2") || customElements.define("nx-layout2", Bf);
31981
31981
  var Kc;
31982
- class Ff extends wu {
31982
+ class Ff extends xu {
31983
31983
  constructor() {
31984
31984
  super();
31985
31985
  Y(this, Kc, () => {
@@ -32009,7 +32009,7 @@ class Ff extends wu {
32009
32009
  Kc = new WeakMap();
32010
32010
  customElements.get("nx-panel") || customElements.define("nx-panel", Ff);
32011
32011
  var Zc;
32012
- class qf extends wu {
32012
+ class qf extends xu {
32013
32013
  constructor() {
32014
32014
  super();
32015
32015
  Y(this, Zc, () => {