@ninebone/grid 0.0.43 → 0.0.45

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
@@ -657,14 +657,14 @@ class Hu extends HTMLElement {
657
657
  }
658
658
  }
659
659
  customElements.get("nine-grid2") || customElements.define("nine-grid2", Hu);
660
- var Gn, Kn, Zn, as, ql;
660
+ var Gn, Kn, Zn, ls, ql;
661
661
  class Mr extends HTMLElement {
662
662
  constructor() {
663
663
  super();
664
664
  Y(this, Gn);
665
665
  Y(this, Kn);
666
666
  Y(this, Zn);
667
- Y(this, as);
667
+ Y(this, ls);
668
668
  it(this, "getDisplayText", (t) => {
669
669
  if (this.cell)
670
670
  if (this.cell.closest("tbody")) {
@@ -701,11 +701,11 @@ class Mr extends HTMLElement {
701
701
  this.shadowRoot.querySelector("ng-expand-icon").setAttribute("src", r);
702
702
  }
703
703
  }
704
- if (f(this, as)) {
704
+ if (f(this, ls)) {
705
705
  var e = this.getAttribute("button-image") || this.cell.getAttribute("button-image");
706
706
  if (e) {
707
707
  var r = this.getExprValue(e, c, t);
708
- r && ($(f(this, as)).text(""), $(f(this, as)).css({
708
+ r && ($(f(this, ls)).text(""), $(f(this, ls)).css({
709
709
  border: "none",
710
710
  "background-color": "transparent",
711
711
  "background-image": r.startsWith("<svg") ? `url('data:image/svg+xml;utf8,${r}')` : `url("${r}")`
@@ -803,7 +803,7 @@ class Mr extends HTMLElement {
803
803
  }
804
804
  if (f(this, Zn)) {
805
805
  const s = this.getAttribute("button-text") || this.cell.getAttribute("button-text"), e = this.getAttribute("button-width") || this.cell.getAttribute("button-width"), i = this.getAttribute("button-image") || this.cell.getAttribute("button-image"), u = this.getAttribute("button-position") || this.cell.getAttribute("button-position") || "right-third", a = u.startsWith("left"), h = this.shadowRoot.querySelector(`.ng-${a ? "left" : "right"}`), p = this.shadowRoot.querySelector(`.ng-${a ? "left" : "right"}-first`), m = this.shadowRoot.querySelector(`.ng-${a ? "left" : "right"}-second`), d = this.shadowRoot.querySelector(`.ng-${a ? "left" : "right"}-third`), b = `<ng-expand-button class="ng-${a ? "left" : "right"} ng-${u}"></ng-expand-button>`;
806
- if (a ? h && u.endsWith("second") ? m || p ? $(m || p).after(b) : c ? $(c).after(b) : $(this.shadowRoot).prepend(b) : h && u.endsWith("third") ? d || m || p ? $(d || m || p).after(b) : c ? $(c).after(b) : $(this.shadowRoot).prepend(b) : c ? $(c).after(b) : $(this.shadowRoot).prepend(b) : h && u.endsWith("first") ? p || m || d ? $(p || m || d).before(b) : $(this.shadowRoot).append(b) : h && u.endsWith("second") ? m || d ? $(m || d).before(b) : $(this.shadowRoot).append(b) : $(this.shadowRoot).append(b), tt(this, as, this.shadowRoot.querySelector("ng-expand-button").shadowRoot.querySelector("button")), s && $(f(this, as)).text(s), e && $(f(this, as)).css({ width: e }), ["NG-INPUT", "NG-TEXTAREA"].includes(this.tagName) && !i) {
806
+ if (a ? h && u.endsWith("second") ? m || p ? $(m || p).after(b) : c ? $(c).after(b) : $(this.shadowRoot).prepend(b) : h && u.endsWith("third") ? d || m || p ? $(d || m || p).after(b) : c ? $(c).after(b) : $(this.shadowRoot).prepend(b) : c ? $(c).after(b) : $(this.shadowRoot).prepend(b) : h && u.endsWith("first") ? p || m || d ? $(p || m || d).before(b) : $(this.shadowRoot).append(b) : h && u.endsWith("second") ? m || d ? $(m || d).before(b) : $(this.shadowRoot).append(b) : $(this.shadowRoot).append(b), tt(this, ls, this.shadowRoot.querySelector("ng-expand-button").shadowRoot.querySelector("button")), s && $(f(this, ls)).text(s), e && $(f(this, ls)).css({ width: e }), ["NG-INPUT", "NG-TEXTAREA"].includes(this.tagName) && !i) {
807
807
  const g = this.shadowRoot.querySelector("input[type=text],textarea").previousElementSibling, S = this.shadowRoot.querySelector("input[type=text],textarea").nextElementSibling;
808
808
  g.tagName == "NG-EXPAND-BUTTON" ? (H.j.querySelectorAll(this.shadowRoot.querySelector("input[type=text],textarea")).addClass("border-left-none"), H.j.querySelectorAll(g).addClass("border-right-none")) : S.tagName == "NG-EXPAND-BUTTON" && (H.j.querySelectorAll(this.shadowRoot.querySelector("input[type=text],textarea")).addClass("border-right-none"), H.j.querySelectorAll(S).addClass("border-left-none"));
809
809
  }
@@ -860,7 +860,7 @@ class Mr extends HTMLElement {
860
860
  return this.cell.closest("tr").data;
861
861
  }
862
862
  }
863
- Gn = new WeakMap(), Kn = new WeakMap(), Zn = new WeakMap(), as = new WeakMap(), ql = new WeakMap();
863
+ Gn = new WeakMap(), Kn = new WeakMap(), Zn = new WeakMap(), ls = new WeakMap(), ql = new WeakMap();
864
864
  class ki extends Mr {
865
865
  constructor() {
866
866
  super();
@@ -1408,11 +1408,11 @@ class Yu {
1408
1408
  }
1409
1409
  }
1410
1410
  kt = new WeakMap(), wr = new WeakMap(), Li = new WeakMap(), Xl = new WeakMap(), so = new WeakMap();
1411
- var Ot, ls, io, no, oo, Ir, ao, lo, cr, ho, Yl, Gl, Kl, Zl, Jl, Ql, co, uo, fo, po;
1411
+ var Ot, hs, io, no, oo, Ir, ao, lo, cr, ho, Yl, Gl, Kl, Zl, Jl, Ql, co, uo, fo, po;
1412
1412
  class Gu {
1413
1413
  constructor(C) {
1414
1414
  Y(this, Ot);
1415
- Y(this, ls);
1415
+ Y(this, hs);
1416
1416
  Y(this, io);
1417
1417
  Y(this, no);
1418
1418
  Y(this, oo);
@@ -1514,7 +1514,7 @@ class Gu {
1514
1514
  });
1515
1515
  });
1516
1516
  Y(this, co, (C) => {
1517
- clearInterval(f(this, ls)), tt(this, io, C.touches[0].pageX), tt(this, no, C.touches[0].pageX - $(".ng-container-body table", f(this, Ot).body).position().left), tt(this, oo, C.touches[0].pageY), tt(this, Ir, C.touches[0].pageY), tt(this, lo, /* @__PURE__ */ new Date());
1517
+ clearInterval(f(this, hs)), tt(this, io, C.touches[0].pageX), tt(this, no, C.touches[0].pageX - $(".ng-container-body table", f(this, Ot).body).position().left), tt(this, oo, C.touches[0].pageY), tt(this, Ir, C.touches[0].pageY), tt(this, lo, /* @__PURE__ */ new Date());
1518
1518
  const t = f(this, ho).call(this, C.touches[0].pageY);
1519
1519
  t && tt(this, ao, parseInt(t.dataset.row));
1520
1520
  });
@@ -1553,10 +1553,10 @@ class Gu {
1553
1553
  const n = 500, s = parseInt(/* @__PURE__ */ new Date() - f(this, lo));
1554
1554
  if (s > n) return;
1555
1555
  const e = parseInt((n - s) / 1 * ((f(this, Ot).data.count() - f(this, Ot).dataManager.viewRecords.rawIndex) / 1) / (n * 1)), i = f(this, Ot).dataManager.viewRecords.rawIndex + e * (C.changedTouches[0].pageY > f(this, oo) ? -1 : 1);
1556
- clearInterval(f(this, ls)), i > f(this, Ot).dataManager.viewRecords.rawIndex ? tt(this, ls, setInterval(() => {
1557
- f(this, Ot).scrollBy(1), f(this, Ot).view.getVisibleLastRow() >= i && clearInterval(f(this, ls));
1558
- }, 10)) : tt(this, ls, setInterval(() => {
1559
- f(this, Ot).scrollBy(-1), f(this, Ot).dataManager.viewRecords.rawIndex <= i && clearInterval(f(this, ls));
1556
+ clearInterval(f(this, hs)), i > f(this, Ot).dataManager.viewRecords.rawIndex ? tt(this, hs, setInterval(() => {
1557
+ f(this, Ot).scrollBy(1), f(this, Ot).view.getVisibleLastRow() >= i && clearInterval(f(this, hs));
1558
+ }, 10)) : tt(this, hs, setInterval(() => {
1559
+ f(this, Ot).scrollBy(-1), f(this, Ot).dataManager.viewRecords.rawIndex <= i && clearInterval(f(this, hs));
1560
1560
  }, 10));
1561
1561
  });
1562
1562
  Y(this, po, (C) => {
@@ -1567,7 +1567,7 @@ class Gu {
1567
1567
  tt(this, Ot, C), this.resetEvent();
1568
1568
  }
1569
1569
  }
1570
- Ot = new WeakMap(), ls = new WeakMap(), io = new WeakMap(), no = new WeakMap(), oo = new WeakMap(), Ir = new WeakMap(), ao = new WeakMap(), lo = new WeakMap(), cr = new WeakMap(), ho = new WeakMap(), Yl = new WeakMap(), Gl = new WeakMap(), Kl = new WeakMap(), Zl = new WeakMap(), Jl = new WeakMap(), Ql = new WeakMap(), co = new WeakMap(), uo = new WeakMap(), fo = new WeakMap(), po = new WeakMap();
1570
+ Ot = new WeakMap(), hs = new WeakMap(), io = new WeakMap(), no = new WeakMap(), oo = new WeakMap(), Ir = new WeakMap(), ao = new WeakMap(), lo = new WeakMap(), cr = new WeakMap(), ho = new WeakMap(), Yl = new WeakMap(), Gl = new WeakMap(), Kl = new WeakMap(), Zl = new WeakMap(), Jl = new WeakMap(), Ql = new WeakMap(), co = new WeakMap(), uo = new WeakMap(), fo = new WeakMap(), po = new WeakMap();
1571
1571
  var th, eh, Pi, mo, Di;
1572
1572
  class Ku extends Mr {
1573
1573
  constructor() {
@@ -2644,29 +2644,29 @@ class hd extends Fu.constructor {
2644
2644
  super(), this.init("nine-grid", "green");
2645
2645
  }
2646
2646
  }
2647
- const _s = new hd();
2648
- var Xr, Bo, hs;
2647
+ const os = new hd();
2648
+ var Xr, Bo, cs;
2649
2649
  class cd {
2650
2650
  constructor(C) {
2651
2651
  Y(this, Xr);
2652
2652
  Y(this, Bo);
2653
- Y(this, hs);
2653
+ Y(this, cs);
2654
2654
  it(this, "count", () => f(this, Xr).rawRecords.length);
2655
2655
  it(this, "has", (C) => f(this, Xr).data.filter(C).length > 0);
2656
2656
  it(this, "first", (C) => (f(this, Xr).data.first(C).__ng || { rowidx: -1 }).rowidx);
2657
2657
  it(this, "last", (C) => (f(this, Xr).data.last(C).__ng || { rowidx: -1 }).rowidx);
2658
- tt(this, Xr, C), tt(this, Bo, -1), tt(this, hs, -1);
2658
+ tt(this, Xr, C), tt(this, Bo, -1), tt(this, cs, -1);
2659
2659
  }
2660
2660
  get at() {
2661
- return f(this, hs);
2661
+ return f(this, cs);
2662
2662
  }
2663
2663
  set at(C) {
2664
- tt(this, Bo, f(this, hs)), tt(this, hs, parseInt(C)), f(this, Xr).owner.body.querySelector(`tbody.bindable tr[data-row="${f(this, hs)}"]`) || setTimeout(() => {
2665
- f(this, Xr).owner.scrollTo_V1(f(this, hs));
2664
+ tt(this, Bo, f(this, cs)), tt(this, cs, parseInt(C)), f(this, Xr).owner.body.querySelector(`tbody.bindable tr[data-row="${f(this, cs)}"]`) || setTimeout(() => {
2665
+ f(this, Xr).owner.scrollTo_V1(f(this, cs));
2666
2666
  });
2667
2667
  }
2668
2668
  }
2669
- Xr = new WeakMap(), Bo = new WeakMap(), hs = new WeakMap();
2669
+ Xr = new WeakMap(), Bo = new WeakMap(), cs = new WeakMap();
2670
2670
  var He, Dt, $e, Cr, oi, Ls, on, Fo, an, qo, Ho, xh, zo, Uo, ln, hn, Vo, Wo, Xo;
2671
2671
  class ud {
2672
2672
  constructor(C, t) {
@@ -2684,7 +2684,7 @@ class ud {
2684
2684
  });
2685
2685
  });
2686
2686
  it(this, "set", (C) => {
2687
- _s.log("ngData.set"), this.clear(), this.add(C, !1);
2687
+ os.log("ngData.set"), this.clear(), this.add(C, !1);
2688
2688
  const t = () => {
2689
2689
  var l, c, o, r;
2690
2690
  (c = (l = f(this, Dt)) == null ? void 0 : l.owner) != null && c.matrix ? (r = (o = f(this, Dt)) == null ? void 0 : o.owner) == null || r.matrix.updateCumulativeHeights() : setTimeout(t, 50);
@@ -3199,7 +3199,12 @@ class ud {
3199
3199
  return this.conv2(f(this, Dt).rawRecords);
3200
3200
  }
3201
3201
  set source(C) {
3202
- this.clear(), this.add(C, !1), _s.log("ngData.source", C);
3202
+ this.clear(), this.add(C, !1), os.log("ngData.source", C);
3203
+ const t = () => {
3204
+ var l, c, o, r;
3205
+ (c = (l = f(this, Dt)) == null ? void 0 : l.owner) != null && c.matrix ? (r = (o = f(this, Dt)) == null ? void 0 : o.owner) == null || r.matrix.updateCumulativeHeights() : setTimeout(t, 50);
3206
+ };
3207
+ t();
3203
3208
  }
3204
3209
  get nextId() {
3205
3210
  return ++Su(this, oi)._;
@@ -3266,7 +3271,7 @@ He = new WeakMap(), Dt = new WeakMap(), $e = new WeakMap(), Cr = new WeakMap(),
3266
3271
  class dd {
3267
3272
  constructor(C) {
3268
3273
  this.owner = C, this.row = new cd(this), this.data = new ud(C, this), this.setDataSource = (l) => {
3269
- _s.log(l), this.data && this.data.reset(), this.pageCnt = 25, this.rawRecords = [], this.viewRecords = [], this.delRecords = [], this.viewRecords.touch = () => {
3274
+ os.log(l), this.data && this.data.reset(), this.pageCnt = 25, this.rawRecords = [], this.viewRecords = [], this.delRecords = [], this.viewRecords.touch = () => {
3270
3275
  this.viewRecords.updateCnt = (this.viewRecords.updateCnt || 0) + 1;
3271
3276
  }, this.viewRecords.rawIndex = 0, this.viewRecords.setPageCnt = (c) => {
3272
3277
  this.pageCnt = c;
@@ -21670,7 +21675,7 @@ function bd() {
21670
21675
  var ke = Zt(Et), Ce = Zt(Rt), Re = "[object Array]", De = "[object Array]";
21671
21676
  ke || (Re = (Re = me(Et)) == r ? s : Re), Ce || (De = (De = me(Rt)) == r ? s : De);
21672
21677
  var Qe = Re == s && !q(Et), hr = De == s && !q(Rt), Lr = Re == De;
21673
- if (Lr && !Qe) return Jt || (Jt = new qt()), ke || Xe(Et) ? Me(Et, Rt, fe, oe, he, Jt) : (function(Ee, be, Ss, Js, Nl, vr, os) {
21678
+ if (Lr && !Qe) return Jt || (Jt = new qt()), ke || Xe(Et) ? Me(Et, Rt, fe, oe, he, Jt) : (function(Ee, be, Ss, Js, Nl, vr, as) {
21674
21679
  switch (Ss) {
21675
21680
  case "[object DataView]":
21676
21681
  if (Ee.byteLength != be.byteLength || Ee.byteOffset != be.byteOffset) return !1;
@@ -21691,11 +21696,11 @@ function bd() {
21691
21696
  case e:
21692
21697
  var Wn = 2 & vr;
21693
21698
  if (ks || (ks = M), Ee.size != be.size && !Wn) return !1;
21694
- var Ol = os.get(Ee);
21699
+ var Ol = as.get(Ee);
21695
21700
  if (Ol) return Ol == be;
21696
- vr |= 1, os.set(Ee, be);
21697
- var Ti = Me(ks(Ee), ks(be), Js, Nl, vr, os);
21698
- return os.delete(Ee), Ti;
21701
+ vr |= 1, as.set(Ee, be);
21702
+ var Ti = Me(ks(Ee), ks(be), Js, Nl, vr, as);
21703
+ return as.delete(Ee), Ti;
21699
21704
  case "[object Symbol]":
21700
21705
  if (bt) return bt.call(Ee) == bt.call(be);
21701
21706
  }
@@ -21709,20 +21714,20 @@ function bd() {
21709
21714
  }
21710
21715
  }
21711
21716
  return Lr ? (Jt || (Jt = new qt()), (function(Ee, be, Ss, Js, Nl, vr) {
21712
- var os = 2 & Nl, ks = Ye(Ee), Wn = ks.length, Ol = Ye(be).length;
21713
- if (Wn != Ol && !os) return !1;
21717
+ var as = 2 & Nl, ks = Ye(Ee), Wn = ks.length, Ol = Ye(be).length;
21718
+ if (Wn != Ol && !as) return !1;
21714
21719
  for (var Ti = Wn; Ti--; ) {
21715
21720
  var Cs = ks[Ti];
21716
- if (!(os ? Cs in be : X.call(be, Cs))) return !1;
21721
+ if (!(as ? Cs in be : X.call(be, Cs))) return !1;
21717
21722
  }
21718
21723
  var wu = vr.get(Ee);
21719
21724
  if (wu && vr.get(be)) return wu == be;
21720
21725
  var jl = !0;
21721
21726
  vr.set(Ee, be), vr.set(be, Ee);
21722
- for (var tu = os; ++Ti < Wn; ) {
21727
+ for (var tu = as; ++Ti < Wn; ) {
21723
21728
  Cs = ks[Ti];
21724
21729
  var $l = Ee[Cs], Ll = be[Cs];
21725
- if (Js) var xu = os ? Js(Ll, $l, Cs, be, Ee, vr) : Js($l, Ll, Cs, Ee, be, vr);
21730
+ if (Js) var xu = as ? Js(Ll, $l, Cs, be, Ee, vr) : Js($l, Ll, Cs, Ee, be, vr);
21726
21731
  if (!(xu === void 0 ? $l === Ll || Ss($l, Ll, Js, Nl, vr) : xu)) {
21727
21732
  jl = !1;
21728
21733
  break;
@@ -26468,13 +26473,13 @@ use chrome, FireFox or Internet Explorer 11`);
26468
26473
  }
26469
26474
  var yd = bd();
26470
26475
  const vd = /* @__PURE__ */ gd(yd);
26471
- var Ne, Yo, cn, cs;
26476
+ var Ne, Yo, cn, us;
26472
26477
  class wd {
26473
26478
  constructor(C, t) {
26474
26479
  Y(this, Ne);
26475
26480
  Y(this, Yo);
26476
26481
  Y(this, cn);
26477
- Y(this, cs);
26482
+ Y(this, us);
26478
26483
  it(this, "export", () => {
26479
26484
  var C = {
26480
26485
  fileName: (f(this, Ne).getAttribute("caption") || "export").replace(/[`~!@#$%^&*|\\\'\";:\/?]/gi, ""),
@@ -26559,7 +26564,7 @@ class wd {
26559
26564
  });
26560
26565
  });
26561
26566
  };
26562
- $(f(this, cn)).html("generate..."), f(this, cs).setAttribute("max", f(this, Ne).data.count()), f(this, cs).setAttribute("value", 0);
26567
+ $(f(this, cn)).html("generate..."), f(this, us).setAttribute("max", f(this, Ne).data.count()), f(this, us).setAttribute("value", 0);
26563
26568
  const n = new vd.Workbook(), s = n.addWorksheet("Sheet1");
26564
26569
  var e = 0;
26565
26570
  s.getColumn(++e).width = 10, $(".col-indicator-rowgroup .col-indicator:not(.dummy)", f(this, Ne).body).not(".first").not(".last").each((p, m) => {
@@ -26612,10 +26617,10 @@ class wd {
26612
26617
  });
26613
26618
  for (var i = f(this, Ne).data.getValidData(), u = 0, a = 0; a < i.length; a++)
26614
26619
  setTimeout(() => {
26615
- r(u++), f(this, cs).setAttribute("value", u + 1), $(f(this, cn)).html(u + 1 >= i.length ? "downloading..." : "processing... " + u.toLocaleString() + " / " + i.length.toLocaleString());
26620
+ r(u++), f(this, us).setAttribute("value", u + 1), $(f(this, cn)).html(u + 1 >= i.length ? "downloading..." : "processing... " + u.toLocaleString() + " / " + i.length.toLocaleString());
26616
26621
  });
26617
26622
  var h = setInterval(() => {
26618
- parseInt(f(this, cs).getAttribute("value")) >= parseInt(f(this, cs).getAttribute("max")) && (clearInterval(h), setTimeout(() => {
26623
+ parseInt(f(this, us).getAttribute("value")) >= parseInt(f(this, us).getAttribute("max")) && (clearInterval(h), setTimeout(() => {
26619
26624
  l(n, t).then((p) => {
26620
26625
  }), C.afterFunc && C.afterFunc.call(f(this, Ne));
26621
26626
  }), setTimeout(() => {
@@ -26626,10 +26631,10 @@ class wd {
26626
26631
  it(this, "exportPdf", () => {
26627
26632
  console.log("exportPdf");
26628
26633
  });
26629
- tt(this, Ne, C), tt(this, Yo, t), tt(this, cn, t.querySelector("#message-box")), tt(this, cs, t.querySelector("#progress-bar"));
26634
+ tt(this, Ne, C), tt(this, Yo, t), tt(this, cn, t.querySelector("#message-box")), tt(this, us, t.querySelector("#progress-bar"));
26630
26635
  }
26631
26636
  }
26632
- Ne = new WeakMap(), Yo = new WeakMap(), cn = new WeakMap(), cs = new WeakMap();
26637
+ Ne = new WeakMap(), Yo = new WeakMap(), cn = new WeakMap(), us = new WeakMap();
26633
26638
  var ai, un, Go, fu, pu, _h;
26634
26639
  class Iu extends HTMLElement {
26635
26640
  constructor() {
@@ -26769,23 +26774,23 @@ class _d extends HTMLElement {
26769
26774
  }
26770
26775
  }
26771
26776
  kh = new WeakMap();
26772
- var dn, us, Hr, ds, Ch;
26777
+ var dn, ds, Hr, fs, Ch;
26773
26778
  class Sd extends HTMLElement {
26774
26779
  constructor() {
26775
26780
  super();
26776
26781
  Y(this, dn);
26777
- Y(this, us);
26778
- Y(this, Hr);
26779
26782
  Y(this, ds);
26783
+ Y(this, Hr);
26784
+ Y(this, fs);
26780
26785
  it(this, "add", (t) => {
26781
- f(this, us).push(...t);
26786
+ f(this, ds).push(...t);
26782
26787
  var l = 0;
26783
- for (const c of f(this, us)) {
26788
+ for (const c of f(this, ds)) {
26784
26789
  l++;
26785
26790
  const o = c.querySelector("caption"), r = o ? o.innerHTML : `Sheet${l}`;
26786
26791
  $(f(this, Hr)).append(`<button class="ng-button" value="${l - 1}" title="${r.replaceAll('"', "'")}">${r}</button>`);
26787
26792
  }
26788
- f(this, us).length <= 1 && $(f(this, Hr)).hide(), H.j.querySelectorAll(f(this, Hr).querySelector("button")).addClass("ng-active"), $("button", f(this, Hr)).on("click", f(this, Ch));
26793
+ f(this, ds).length <= 1 && $(f(this, Hr)).hide(), H.j.querySelectorAll(f(this, Hr).querySelector("button")).addClass("ng-active"), $("button", f(this, Hr)).on("click", f(this, Ch));
26789
26794
  });
26790
26795
  it(this, "resize", () => {
26791
26796
  const t = $(f(this, Hr)).width() > $(this).width();
@@ -26796,24 +26801,24 @@ class Sd extends HTMLElement {
26796
26801
  });
26797
26802
  Y(this, Ch, (t) => {
26798
26803
  if (H.j.querySelectorAll(t.currentTarget).hasClass("ng-active")) return;
26799
- const l = f(this, ds);
26800
- tt(this, ds, parseInt(t.currentTarget.value)), f(this, dn).changeRayout(f(this, ds)), H.j.querySelectorAll("button", f(this, Hr)).removeClass("ng-active"), H.j.querySelectorAll(t.currentTarget).addClass("ng-active");
26804
+ const l = f(this, fs);
26805
+ tt(this, fs, parseInt(t.currentTarget.value)), f(this, dn).changeRayout(f(this, fs)), H.j.querySelectorAll("button", f(this, Hr)).removeClass("ng-active"), H.j.querySelectorAll(t.currentTarget).addClass("ng-active");
26801
26806
  var c = new CustomEvent(H.EVENT.LAYOUT_CHANGED, { bubbles: !0, detail: {} });
26802
- c.oldIndex = l, c.newIndex = f(this, ds), f(this, dn).dispatchEvent(c);
26807
+ c.oldIndex = l, c.newIndex = f(this, fs), f(this, dn).dispatchEvent(c);
26803
26808
  });
26804
- tt(this, us, []), tt(this, ds, 0);
26809
+ tt(this, ds, []), tt(this, fs, 0);
26805
26810
  }
26806
26811
  connectedCallback() {
26807
26812
  tt(this, dn, this.getRootNode().host.getRootNode().host), this.innerHTML = '<div class="ng-wrap"></div>', tt(this, Hr, this.querySelector(".ng-wrap"));
26808
26813
  }
26809
26814
  get tables() {
26810
- return f(this, us);
26815
+ return f(this, ds);
26811
26816
  }
26812
26817
  get currentTable() {
26813
- return f(this, us)[f(this, ds)];
26818
+ return f(this, ds)[f(this, fs)];
26814
26819
  }
26815
26820
  }
26816
- dn = new WeakMap(), us = new WeakMap(), Hr = new WeakMap(), ds = new WeakMap(), Ch = new WeakMap();
26821
+ dn = new WeakMap(), ds = new WeakMap(), Hr = new WeakMap(), fs = new WeakMap(), Ch = new WeakMap();
26817
26822
  customElements.get("ng-layout") || customElements.define("ng-layout", Sd);
26818
26823
  customElements.get("ng-foot") || customElements.define("ng-foot", _d);
26819
26824
  var Jo;
@@ -27298,22 +27303,22 @@ class Ld extends ki {
27298
27303
  }
27299
27304
  Gr = new WeakMap(), li = new WeakMap(), $h = new WeakMap();
27300
27305
  customElements.get("ng-input-date") || customElements.define("ng-input-date", Ld);
27301
- var Ke, fs, zr, Ds, gn, Kr, Lh;
27306
+ var Ke, ps, zr, Ds, gn, Kr, Lh;
27302
27307
  class Pd extends ki {
27303
27308
  constructor() {
27304
27309
  super();
27305
27310
  Y(this, Ke);
27306
- Y(this, fs);
27311
+ Y(this, ps);
27307
27312
  Y(this, zr);
27308
27313
  Y(this, Ds);
27309
27314
  Y(this, gn);
27310
27315
  Y(this, Kr);
27311
27316
  it(this, "dataRefresh", (t) => {
27312
- f(this, Ke).value = this.value, H.j.querySelectorAll(f(this, Ke)).removeClass("invalid"), f(this, fs) == "number" && (isNaN(this.value) || f(this, gn) && Number(f(this, Ke).value) > Number(f(this, gn)) || f(this, Ds) && Number(f(this, Ke).value) < Number(f(this, Ds)) ? H.j.querySelectorAll(f(this, Ke)).addClass("invalid") : f(this, Kr) && f(this, Ke).value.indexOf(".") >= 0 && f(this, Ke).value.substring(f(this, Ke).value.indexOf(".") + 1).length > Number(f(this, Kr)) && H.j.querySelectorAll(f(this, Ke)).addClass("invalid")), f(this, zr) && H.getByteLength(this.value) > Number(f(this, zr)) && H.j.querySelectorAll(f(this, Ke)).addClass("invalid"), t || this.reset();
27317
+ f(this, Ke).value = this.value, H.j.querySelectorAll(f(this, Ke)).removeClass("invalid"), f(this, ps) == "number" && (isNaN(this.value) || f(this, gn) && Number(f(this, Ke).value) > Number(f(this, gn)) || f(this, Ds) && Number(f(this, Ke).value) < Number(f(this, Ds)) ? H.j.querySelectorAll(f(this, Ke)).addClass("invalid") : f(this, Kr) && f(this, Ke).value.indexOf(".") >= 0 && f(this, Ke).value.substring(f(this, Ke).value.indexOf(".") + 1).length > Number(f(this, Kr)) && H.j.querySelectorAll(f(this, Ke)).addClass("invalid")), f(this, zr) && H.getByteLength(this.value) > Number(f(this, zr)) && H.j.querySelectorAll(f(this, Ke)).addClass("invalid"), t || this.reset();
27313
27318
  });
27314
27319
  Y(this, Lh, (t) => {
27315
27320
  if (!["Escape", "Enter", "Tab", "Home", "End", "ArrowLeft", "ArrowRight", "PageUp", "PageDown", "Backspace", "Delete"].includes(t.code)) {
27316
- if (f(this, fs) == "number") {
27321
+ if (f(this, ps) == "number") {
27317
27322
  let o = [];
27318
27323
  if (f(this, Kr) && Number(f(this, Kr)) > 0 && o.push("."), f(this, Ds) && Number(f(this, Ds)) >= 0 && o.push("-"), !(t.keyCode >= 48 && t.keyCode <= 57 || t.keyCode >= 96 && t.keyCode <= 105) && !o.includes(t.key) && t.preventDefault(), f(this, Kr) && (t.keyCode >= 48 && t.keyCode <= 57 || t.keyCode >= 96 && t.keyCode <= 105) && t.target.selectionStart == t.target.selectionEnd) {
27319
27324
  var l = t.target.value, c = l.indexOf(".");
@@ -27326,7 +27331,7 @@ class Pd extends ki {
27326
27331
  f(this, zr) && H.getByteLength(t.target.value) >= Number(f(this, zr)) && t.target.selectionStart == t.target.selectionEnd && t.preventDefault();
27327
27332
  }
27328
27333
  });
27329
- if (tt(this, fs, this.getAttribute("type") || "text"), tt(this, zr, this.getAttribute("maxbyte")), tt(this, Ds, this.getAttribute("min")), tt(this, gn, this.getAttribute("max")), tt(this, Kr, this.getAttribute("scale")), !["text", "number"].includes(f(this, fs))) throw `invalid type : ${f(this, fs)}`;
27334
+ if (tt(this, ps, this.getAttribute("type") || "text"), tt(this, zr, this.getAttribute("maxbyte")), tt(this, Ds, this.getAttribute("min")), tt(this, gn, this.getAttribute("max")), tt(this, Kr, this.getAttribute("scale")), !["text", "number"].includes(f(this, ps))) throw `invalid type : ${f(this, ps)}`;
27330
27335
  }
27331
27336
  connectedCallback() {
27332
27337
  for (var t = [], l = 0; l < this.attributes.length; l++)
@@ -27344,14 +27349,14 @@ class Pd extends ki {
27344
27349
  `, super.connectedCallback(), tt(this, Ke, this.shadowRoot.querySelector("input")), f(this, Ke).addEventListener("keydown", f(this, Lh)), f(this, Ke).addEventListener("compositionstart", (c) => {
27345
27350
  c.target.selectionStart == c.target.selectionEnd && f(this, zr) && H.getByteLength(c.target.value) >= Number(f(this, zr)) && (c.target.value = H.cut(c.target.value, Number(f(this, zr))), this.value = c.target.value);
27346
27351
  }), f(this, Ke).addEventListener("compositionupdate", (c) => {
27347
- f(this, fs) == "number" && (c.target.value = c.target.value.replace(c.data, ""));
27352
+ f(this, ps) == "number" && (c.target.value = c.target.value.replace(c.data, ""));
27348
27353
  }), f(this, Ke).addEventListener("compositionend", (c) => {
27349
27354
  }), f(this, Ke).addEventListener("keydown", (c) => {
27350
27355
  c.isComposing || c.keyCode === 229 || (["Enter", "Escape"].includes(c.code) ? this.owner.cell.currentCell = this.cell : ["Tab", "PageUp", "PageDown", "ArrowUp", "ArrowDown"].includes(c.code) && (this.owner.cell.currentCell = this.cell, this.owner.cell.moveCell(c)));
27351
27356
  });
27352
27357
  }
27353
27358
  }
27354
- Ke = new WeakMap(), fs = new WeakMap(), zr = new WeakMap(), Ds = new WeakMap(), gn = new WeakMap(), Kr = new WeakMap(), Lh = new WeakMap();
27359
+ Ke = new WeakMap(), ps = new WeakMap(), zr = new WeakMap(), Ds = new WeakMap(), gn = new WeakMap(), Kr = new WeakMap(), Lh = new WeakMap();
27355
27360
  customElements.get("ng-input") || customElements.define("ng-input", Pd);
27356
27361
  var Se, hi, bn, yn, vn, Zr, ci;
27357
27362
  class Dd {
@@ -27426,7 +27431,7 @@ class Dd {
27426
27431
  }
27427
27432
  // 1. 누적 높이 배열 갱신 (데이터가 로드되거나 변경될 때 호출 필요)
27428
27433
  updateCumulativeHeights() {
27429
- _s.log("====================="), _s.log(f(this, Se).data), tt(this, Zr, [0]);
27434
+ os.log("***********************====================="), os.log(f(this, Se).data), tt(this, Zr, [0]);
27430
27435
  let C = 0;
27431
27436
  const t = f(this, Se).data.count();
27432
27437
  for (let l = 0; l < t; l++) {
@@ -27435,7 +27440,7 @@ class Dd {
27435
27440
  c += this.getHeight(l * f(this, Se).template.length + o);
27436
27441
  C += c, f(this, Zr).push(C);
27437
27442
  }
27438
- console.log(f(this, Zr));
27443
+ os.log(f(this, Zr));
27439
27444
  }
27440
27445
  // 2. 스크롤 위치에 따른 행 인덱스 및 오프셋 조회 (이진 탐색)
27441
27446
  getRowInfoAt(C) {
@@ -28134,7 +28139,7 @@ const Ri = class Ri extends Mr {
28134
28139
  zh = new WeakMap(), //static sourceRow = -1;
28135
28140
  it(Ri, "dragData"), it(Ri, "scrollInterval");
28136
28141
  let ir = Ri;
28137
- var qe, oa, aa, la, ps, ha, ca, ua, da;
28142
+ var qe, oa, aa, la, ms, ha, ca, ua, da;
28138
28143
  class Xd {
28139
28144
  constructor(C) {
28140
28145
  Y(this, qe);
@@ -28167,26 +28172,26 @@ class Xd {
28167
28172
  s ? f(this, oa).call(this, o) : f(this, aa).call(this, o), ir.dragData.targetRow = s ? o : o + 1;
28168
28173
  }
28169
28174
  });
28170
- Y(this, ps);
28175
+ Y(this, ms);
28171
28176
  Y(this, ha, (C) => {
28172
28177
  C.preventDefault();
28173
28178
  const t = parseInt(C.target.closest("tr").dataset.row);
28174
28179
  [f(this, qe).view.getVisibleFirstRow(), f(this, qe).view.getVisibleLastRow()].includes(t) && setTimeout(() => {
28175
- if (!f(this, ps)) {
28180
+ if (!f(this, ms)) {
28176
28181
  const l = t == f(this, qe).view.getVisibleLastRow() ? 1 : -1;
28177
- tt(this, ps, setInterval(() => {
28182
+ tt(this, ms, setInterval(() => {
28178
28183
  f(this, qe).scrollBy(l);
28179
28184
  }, ir.scrollInterval));
28180
28185
  }
28181
28186
  });
28182
28187
  });
28183
28188
  Y(this, ca, (C) => {
28184
- C.preventDefault(), clearInterval(f(this, ps)), tt(this, ps, null);
28189
+ C.preventDefault(), clearInterval(f(this, ms)), tt(this, ms, null);
28185
28190
  });
28186
28191
  Y(this, ua, (C) => {
28187
28192
  });
28188
28193
  Y(this, da, (C) => {
28189
- C.preventDefault(), clearInterval(f(this, ps)), tt(this, ps, null), f(this, qe).body.querySelectorAll(".ng-container-left .ng-tmp").forEach((a) => {
28194
+ C.preventDefault(), clearInterval(f(this, ms)), tt(this, ms, null), f(this, qe).body.querySelectorAll(".ng-container-left .ng-tmp").forEach((a) => {
28190
28195
  $(a).remove();
28191
28196
  });
28192
28197
  const t = H.nvl(document.getElementById(ir.dragData.id), f(this, qe)), l = ir.dragData.row, c = ir.dragData.bind, o = C.target.closest("tr"), r = C.target.getRootNode().host, n = parseInt(o.dataset.row), s = r.body.querySelector("ng-row-drag") ? r.body.querySelector("ng-row-drag").cell.dataset.bind : null;
@@ -28209,7 +28214,7 @@ class Xd {
28209
28214
  tt(this, qe, C), this.resetEvent();
28210
28215
  }
28211
28216
  }
28212
- qe = new WeakMap(), oa = new WeakMap(), aa = new WeakMap(), la = new WeakMap(), ps = new WeakMap(), ha = new WeakMap(), ca = new WeakMap(), ua = new WeakMap(), da = new WeakMap();
28217
+ qe = new WeakMap(), oa = new WeakMap(), aa = new WeakMap(), la = new WeakMap(), ms = new WeakMap(), ha = new WeakMap(), ca = new WeakMap(), ua = new WeakMap(), da = new WeakMap();
28213
28218
  customElements.get("ng-row-drag") || customElements.define("ng-row-drag", ir);
28214
28219
  var sr, pr, pi, Uh, Vh, fa;
28215
28220
  class Yd extends HTMLElement {
@@ -28624,12 +28629,12 @@ class tf extends HTMLElement {
28624
28629
  }
28625
28630
  }
28626
28631
  zt = 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();
28627
- var Ze, ms, ae, Ur, Vr, zs, ec, _a, rc, Sa, sc, ka, Ca, Cn;
28632
+ var Ze, gs, ae, Ur, Vr, zs, ec, _a, rc, Sa, sc, ka, Ca, Cn;
28628
28633
  class ef extends HTMLElement {
28629
28634
  constructor() {
28630
28635
  super();
28631
28636
  Y(this, Ze);
28632
- Y(this, ms);
28637
+ Y(this, gs);
28633
28638
  Y(this, ae);
28634
28639
  Y(this, Ur);
28635
28640
  Y(this, Vr);
@@ -28684,9 +28689,9 @@ class ef extends HTMLElement {
28684
28689
  }), $(f(this, ae).right).on("touchstart", (l) => {
28685
28690
  t(10);
28686
28691
  }), $(f(this, ae).track).on("mousedown", f(this, Sa)), $(f(this, ae).track).on("touchstart", f(this, rc)), $(f(this, ae).thumb).on("mousedown", f(this, ka)), $(f(this, ae).thumb).on("touchstart", f(this, sc)), document.addEventListener("touchend", (l) => {
28687
- tt(this, ms, !1), clearInterval(f(this, Ur)), clearInterval(f(this, Vr)), $(document).off("touchmove", f(this, Ca)), typeof this.onDragStop == "function" && this.onDragStop();
28692
+ tt(this, gs, !1), clearInterval(f(this, Ur)), clearInterval(f(this, Vr)), $(document).off("touchmove", f(this, Ca)), typeof this.onDragStop == "function" && this.onDragStop();
28688
28693
  }), document.addEventListener("mouseup", (l) => {
28689
- tt(this, ms, !1), clearInterval(f(this, Ur)), clearInterval(f(this, Vr)), document.removeEventListener("mousemove", f(this, Cn)), typeof this.onDragStop == "function" && this.onDragStop();
28694
+ tt(this, gs, !1), clearInterval(f(this, Ur)), clearInterval(f(this, Vr)), document.removeEventListener("mousemove", f(this, Cn)), typeof this.onDragStop == "function" && this.onDragStop();
28690
28695
  });
28691
28696
  });
28692
28697
  Y(this, _a, (t) => {
@@ -28703,7 +28708,7 @@ class ef extends HTMLElement {
28703
28708
  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, Sa).call(this, t);
28704
28709
  });
28705
28710
  Y(this, Sa, (t) => {
28706
- f(this, ms) || t.buttons != 1 || t.altKey || t.ctrlKey || t.shiftKey || (t.preventDefault(), f(this, _a).call(this, t.clientX), tt(this, Ur, setInterval(() => {
28711
+ f(this, gs) || t.buttons != 1 || t.altKey || t.ctrlKey || t.shiftKey || (t.preventDefault(), f(this, _a).call(this, t.clientX), tt(this, Ur, setInterval(() => {
28707
28712
  clearInterval(f(this, Ur)), tt(this, Vr, setInterval(() => {
28708
28713
  var l = f(this, ae).thumb.getBoundingClientRect();
28709
28714
  t.clientX > l.x && t.clientX < l.x + l.width ? clearInterval(f(this, Vr)) : f(this, _a).call(this, t.clientX);
@@ -28715,7 +28720,7 @@ class ef extends HTMLElement {
28715
28720
  t.offsetX = t.targetTouches[0].pageX - l.left, t.offsetY = t.targetTouches[0].pageY - l.top, t.pageX = t.changedTouches[0].pageX, t.pageY = t.changedTouches[0].pageY, t.clientX = t.changedTouches[0].clientX, t.clientY = t.changedTouches[0].clientY, t.buttons = 1, f(this, ka).call(this, t), document.addEventListener("touchmove", f(this, Ca));
28716
28721
  });
28717
28722
  Y(this, ka, (t) => {
28718
- tt(this, ms, !0);
28723
+ tt(this, gs, !0);
28719
28724
  var l = Math.min($(f(this, ae).track).width() * $(f(this, Ze).body.querySelector(".ng-container-body")).width() / $(f(this, Ze).body.querySelector(".ng-container-body > table")).width(), $(f(this, ae).track).width());
28720
28725
  $(f(this, ae).thumb).width(parseInt(l)), $(f(this, ae).thumb).css({ width: parseInt(l), "min-width": parseInt(l) }), this.shiftX = t.offsetX + f(this, ae).track.getBoundingClientRect().x, document.addEventListener("mousemove", f(this, Cn)), typeof this.onDragStart == "function" && this.onDragStart();
28721
28726
  });
@@ -28724,7 +28729,7 @@ class ef extends HTMLElement {
28724
28729
  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);
28725
28730
  });
28726
28731
  Y(this, Cn, (t) => {
28727
- f(this, ms) && f(this, zs).call(this, t.pageX - this.shiftX);
28732
+ f(this, gs) && f(this, zs).call(this, t.pageX - this.shiftX);
28728
28733
  });
28729
28734
  this.attachShadow({ mode: "open" });
28730
28735
  }
@@ -28744,10 +28749,10 @@ class ef extends HTMLElement {
28744
28749
  thumb: this.shadowRoot.querySelector(".ng-scroll-thumb"),
28745
28750
  left: this.shadowRoot.querySelector(".ng-scroll-left"),
28746
28751
  right: this.shadowRoot.querySelector(".ng-scroll-right")
28747
- }), f(this, ms), this.shiftX, f(this, ec).call(this);
28752
+ }), f(this, gs), this.shiftX, f(this, ec).call(this);
28748
28753
  }
28749
28754
  }
28750
- 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();
28755
+ Ze = new WeakMap(), gs = 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();
28751
28756
  customElements.get("ng-hscrollbar") || customElements.define("ng-hscrollbar", ef);
28752
28757
  customElements.get("ng-vscrollbar") || customElements.define("ng-vscrollbar", tf);
28753
28758
  var Ue, ss, Ea, Aa, Ta, ic, nc;
@@ -29173,13 +29178,13 @@ class nf {
29173
29178
  return c;
29174
29179
  }
29175
29180
  }
29176
- var gs;
29181
+ var bs;
29177
29182
  class of extends ki {
29178
29183
  constructor() {
29179
29184
  super();
29180
- Y(this, gs);
29185
+ Y(this, bs);
29181
29186
  it(this, "dataRefresh", (t) => {
29182
- $(f(this, gs)).val(this.value), t || this.reset();
29187
+ $(f(this, bs)).val(this.value), t || this.reset();
29183
29188
  });
29184
29189
  }
29185
29190
  connectedCallback() {
@@ -29191,26 +29196,26 @@ class of extends ki {
29191
29196
 
29192
29197
  <textarea ondragstart="return false"></textarea>
29193
29198
  `, super.connectedCallback(), !!this.owner) {
29194
- if (tt(this, gs, this.shadowRoot.querySelector("textarea")), this.owner.shadowRoot.querySelector("ng-textarea-detail") || $(this.owner.shadowRoot).append($("<ng-textarea-detail></ng-textarea-detail>")), !this.cell.getAttribute("onButtonClick") && !this.getAttribute("onButtonClick")) {
29199
+ if (tt(this, bs, this.shadowRoot.querySelector("textarea")), this.owner.shadowRoot.querySelector("ng-textarea-detail") || $(this.owner.shadowRoot).append($("<ng-textarea-detail></ng-textarea-detail>")), !this.cell.getAttribute("onButtonClick") && !this.getAttribute("onButtonClick")) {
29195
29200
  const t = this.shadowRoot.querySelector("ng-expand-button");
29196
29201
  t && $("button", t.shadowRoot).on("click", (l) => {
29197
- this.owner.shadowRoot.querySelector("ng-textarea-detail").popup(this.cell.dataset.row, this.cell.dataset.bind, $(f(this, gs)).val());
29202
+ this.owner.shadowRoot.querySelector("ng-textarea-detail").popup(this.cell.dataset.row, this.cell.dataset.bind, $(f(this, bs)).val());
29198
29203
  });
29199
29204
  }
29200
29205
  $(this.cell).on("keydown", (t) => {
29201
29206
  switch (t.target.tagName) {
29202
29207
  case "TH":
29203
29208
  case "TD":
29204
- ["Enter"].includes(t.code) && (f(this, gs).focus(), f(this, gs).select());
29209
+ ["Enter"].includes(t.code) && (f(this, bs).focus(), f(this, bs).select());
29205
29210
  break;
29206
29211
  }
29207
- }), f(this, gs).addEventListener("keydown", (t) => {
29212
+ }), f(this, bs).addEventListener("keydown", (t) => {
29208
29213
  t.isComposing || t.keyCode === 229 || (["Escape"].includes(t.code) ? this.owner.cell.currentCell = this.cell : ["Tab", "PageUp", "PageDown"].includes(t.code) && (this.owner.cell.currentCell = this.cell, this.owner.cell.moveCell(t)));
29209
29214
  });
29210
29215
  }
29211
29216
  }
29212
29217
  }
29213
- gs = new WeakMap();
29218
+ bs = new WeakMap();
29214
29219
  var Ia, Na, Oa, ja;
29215
29220
  class af extends HTMLElement {
29216
29221
  constructor() {
@@ -29848,7 +29853,7 @@ class df extends HTMLElement {
29848
29853
  Ar = new WeakMap(), Xa = new WeakMap(), Ya = new WeakMap(), yc = new WeakMap(), vc = new WeakMap(), wc = new WeakMap(), xc = new WeakMap();
29849
29854
  customElements.get("ng-filter-button") || customElements.define("ng-filter-button", uf);
29850
29855
  customElements.get("ng-filter-panel") || customElements.define("ng-filter-panel", df);
29851
- var Ga, vi, Ka, Tn, is, Za, Ja, _c, bs, Sc, Qa, kc, ns, Cc, tl, Ec, el, Xs, Ys;
29856
+ var Ga, vi, Ka, Tn, is, Za, Ja, _c, ys, Sc, Qa, kc, ns, Cc, tl, Ec, el, Xs, Ys;
29852
29857
  class Qc extends HTMLElement {
29853
29858
  constructor() {
29854
29859
  super();
@@ -29959,7 +29964,7 @@ class Qc extends HTMLElement {
29959
29964
  t += $(c).height();
29960
29965
  }), t;
29961
29966
  });
29962
- Y(this, bs, () => {
29967
+ Y(this, ys, () => {
29963
29968
  const t = parseInt(this.getAttribute("display-row-count"));
29964
29969
  if (isNaN(t)) return;
29965
29970
  const l = this.shadowRoot.querySelector("ng-head");
@@ -29970,8 +29975,8 @@ class Qc extends HTMLElement {
29970
29975
  });
29971
29976
  });
29972
29977
  Y(this, Sc, () => {
29973
- if (_s.log("1111111"), f(this, Ga)) return;
29974
- _s.log("222222"), this.originFormat = this.outerHTML, this.uuid = H.randomUUID(), this.id || (this.id = this.uuid), $("table", this).each((r, n) => {
29978
+ if (os.log("1111111"), f(this, Ga)) return;
29979
+ os.log("222222"), this.originFormat = this.outerHTML, this.uuid = H.randomUUID(), this.id || (this.id = this.uuid), $("table", this).each((r, n) => {
29975
29980
  if ($("colgroup", n).length == 0) {
29976
29981
  var s = 0;
29977
29982
  $("tbody tr", n).eq(0).find("th,td").each((i, u) => {
@@ -30045,7 +30050,7 @@ class Qc extends HTMLElement {
30045
30050
  ["columns"].includes(c) && (this[c] = this.tableUtils[c]);
30046
30051
  for (var c in this.cell)
30047
30052
  this.cell[c] instanceof Function && !["refresh"].includes(c) || ["xx"].includes(c) && (this[c] = this.cell[c]);
30048
- H.j.querySelectorAll(this).hasClass("simple") || (this.filtering = new cf(this)), !H.j.querySelectorAll(this).hasClass("combo") && !H.j.querySelectorAll(this).hasClass("filter") && $(this.shadowRoot).append($("<ng-combo-panel></ng-combo-panel").hide()), this.sorting = new rf(this), this.matrix = new Dd(this), _s.log("==============================="), _s.log(this, this.matrix), tt(this, vi, new rd(this)), tt(this, Ka, new ed(this)), H.j.querySelectorAll(this).hasClass("simple") || tt(this, Tn, new Xd(this)), f(this, Qa).call(this), this.refresh(), this.body.querySelector(".ng-container-body .nodata") && new ResizeObserver((r, n) => {
30053
+ H.j.querySelectorAll(this).hasClass("simple") || (this.filtering = new cf(this)), !H.j.querySelectorAll(this).hasClass("combo") && !H.j.querySelectorAll(this).hasClass("filter") && $(this.shadowRoot).append($("<ng-combo-panel></ng-combo-panel").hide()), this.sorting = new rf(this), this.matrix = new Dd(this), os.log("==============================="), os.log(this, this.matrix), tt(this, vi, new rd(this)), tt(this, Ka, new ed(this)), H.j.querySelectorAll(this).hasClass("simple") || tt(this, Tn, new Xd(this)), f(this, Qa).call(this), this.refresh(), this.body.querySelector(".ng-container-body .nodata") && new ResizeObserver((r, n) => {
30049
30054
  this.body.querySelector("ng-vscrollbar").refresh();
30050
30055
  }).observe(this.body.querySelector(".ng-container-body .nodata")), !H.j.querySelectorAll(this).hasClass("filter") && !H.j.querySelectorAll(this).hasClass("combo") && ($(this.body).on("mousedown", (r) => {
30051
30056
  this.shadowRoot.querySelectorAll("ng-combo-panel,ng-filter-panel,ng-context-menu-panel").forEach((n) => {
@@ -30099,7 +30104,7 @@ class Qc extends HTMLElement {
30099
30104
  }
30100
30105
  this.body.querySelector("ng-hscrollbar").refresh();
30101
30106
  const r = this.shadowRoot.querySelector("ng-foot").shadowRoot.querySelector("ng-layout");
30102
- r && r.resize(), f(this, bs).call(this);
30107
+ r && r.resize(), f(this, ys).call(this);
30103
30108
  }).observe(this.body.querySelector(".ng-container-body"));
30104
30109
  });
30105
30110
  it(this, "createTemplate", () => {
@@ -30364,10 +30369,10 @@ class Qc extends HTMLElement {
30364
30369
  c == "true" ? $(".row-resizer", this.shadowRoot).show() : $(".row-resizer", this.shadowRoot).hide();
30365
30370
  break;
30366
30371
  case "col-indicator-type":
30367
- H.j.querySelectorAll(".ng-table thead .col-indicator-rowgroup", this.body).removeClass(H.COLINDICATORTYPE.EXPAND).removeClass(H.COLINDICATORTYPE.COLLAPSE).addClass(c), f(this, bs).call(this);
30372
+ H.j.querySelectorAll(".ng-table thead .col-indicator-rowgroup", this.body).removeClass(H.COLINDICATORTYPE.EXPAND).removeClass(H.COLINDICATORTYPE.COLLAPSE).addClass(c), f(this, ys).call(this);
30368
30373
  break;
30369
30374
  case "auto-fit-col":
30370
- f(this, vi) && f(this, vi).autoFit(c == "true"), f(this, bs).call(this);
30375
+ f(this, vi) && f(this, vi).autoFit(c == "true"), f(this, ys).call(this);
30371
30376
  break;
30372
30377
  case "enable-fixed-col":
30373
30378
  c == "true" ? H.j.querySelectorAll(this).addClass(t) : H.j.querySelectorAll(this).removeClass(t);
@@ -30386,13 +30391,13 @@ class Qc extends HTMLElement {
30386
30391
  const r = H.j.querySelectorAll(this).attr("show-title-bar") == "true", n = H.j.querySelectorAll(this).attr("show-menu-icon") == "true", s = this.shadowRoot.querySelector("ng-head");
30387
30392
  if (!s) break;
30388
30393
  const e = s.shadowRoot.querySelector("ng-menu");
30389
- r ? (H.j.querySelectorAll(s).addClass("expand"), $(s.shadowRoot).children().not("style").show(), n || H.j.querySelectorAll(e).hide()) : n ? H.j.querySelectorAll(s).removeClass("expand").show() : H.j.querySelectorAll(s).hide(), f(this, bs).call(this);
30394
+ r ? (H.j.querySelectorAll(s).addClass("expand"), $(s.shadowRoot).children().not("style").show(), n || H.j.querySelectorAll(e).hide()) : n ? H.j.querySelectorAll(s).removeClass("expand").show() : H.j.querySelectorAll(s).hide(), f(this, ys).call(this);
30390
30395
  break;
30391
30396
  case "show-tfoot":
30392
- $("tfoot", this.body).css({ visibility: c == "true" ? "unset" : "collapse" }), f(this, bs).call(this);
30397
+ $("tfoot", this.body).css({ visibility: c == "true" ? "unset" : "collapse" }), f(this, ys).call(this);
30393
30398
  break;
30394
30399
  case "show-status-bar":
30395
- c == "true" ? H.j.querySelectorAll("ng-foot", this.shadowRoot).addClass("expand") : H.j.querySelectorAll("ng-foot", this.shadowRoot).removeClass("expand"), f(this, bs).call(this);
30400
+ c == "true" ? H.j.querySelectorAll("ng-foot", this.shadowRoot).addClass("expand") : H.j.querySelectorAll("ng-foot", this.shadowRoot).removeClass("expand"), f(this, ys).call(this);
30396
30401
  break;
30397
30402
  }
30398
30403
  }
@@ -30403,7 +30408,7 @@ class Qc extends HTMLElement {
30403
30408
  return Math.max.apply(null, f(this, el).call(this));
30404
30409
  }
30405
30410
  }
30406
- 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"]);
30411
+ Ga = new WeakMap(), vi = new WeakMap(), Ka = new WeakMap(), Tn = new WeakMap(), is = new WeakMap(), Za = new WeakMap(), Ja = new WeakMap(), _c = new WeakMap(), ys = 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"]);
30407
30412
  customElements.get("nine-grid") || customElements.define("nine-grid", Qc);
30408
30413
  class ff extends Qc {
30409
30414
  constructor() {
@@ -30414,12 +30419,12 @@ class ff extends Qc {
30414
30419
  }
30415
30420
  }
30416
30421
  customElements.get("ng-source") || customElements.define("ng-source", ff);
30417
- var ys, Ac, rl, Rn, sl, il, Mn, nl;
30422
+ var vs, Ac, rl, Rn, sl, il, Mn, nl;
30418
30423
  class pf extends HTMLElement {
30419
30424
  constructor() {
30420
30425
  super();
30421
30426
  //#owner;
30422
- Y(this, ys);
30427
+ Y(this, vs);
30423
30428
  it(this, "showModal", () => {
30424
30429
  this.querySelector("dialog").showModal();
30425
30430
  });
@@ -30438,14 +30443,14 @@ class pf extends HTMLElement {
30438
30443
  Y(this, rl, (t) => {
30439
30444
  if (!t.target.closest("buttons") && !(t.buttons != 1 || t.altKey || t.ctrlKey || t.shiftkey)) {
30440
30445
  var l = this.querySelector("dialog").getBoundingClientRect();
30441
- tt(this, ys, {
30446
+ tt(this, vs, {
30442
30447
  x: t.clientX - l.x,
30443
30448
  y: t.clientY - l.y
30444
30449
  }), $(document).on("mousemove", f(this, Rn));
30445
30450
  }
30446
30451
  });
30447
30452
  Y(this, Rn, (t) => {
30448
- $(this.querySelector("dialog")).offset({ left: t.pageX - f(this, ys).x, top: t.pageY - f(this, ys).y });
30453
+ $(this.querySelector("dialog")).offset({ left: t.pageX - f(this, vs).x, top: t.pageY - f(this, vs).y });
30449
30454
  });
30450
30455
  Y(this, sl, (t) => {
30451
30456
  $(document).off("mousemove", f(this, Rn));
@@ -30453,14 +30458,14 @@ class pf extends HTMLElement {
30453
30458
  Y(this, il, (t) => {
30454
30459
  if (!t.target.closest("buttons")) {
30455
30460
  var l = this.querySelector("dialog").getBoundingClientRect();
30456
- tt(this, ys, {
30461
+ tt(this, vs, {
30457
30462
  x: t.changedTouches[0].pageX - l.x,
30458
30463
  y: t.changedTouches[0].pageY - l.y
30459
30464
  }), $(document).on("touchmove", f(this, Mn));
30460
30465
  }
30461
30466
  });
30462
30467
  Y(this, Mn, (t) => {
30463
- $(this.querySelector("dialog")).offset({ left: t.changedTouches[0].pageX - f(this, ys).x, top: t.changedTouches[0].pageY - f(this, ys).y });
30468
+ $(this.querySelector("dialog")).offset({ left: t.changedTouches[0].pageX - f(this, vs).x, top: t.changedTouches[0].pageY - f(this, vs).y });
30464
30469
  });
30465
30470
  Y(this, nl, (t) => {
30466
30471
  $(document).off("touchmove", f(this, Mn));
@@ -30507,9 +30512,9 @@ class pf extends HTMLElement {
30507
30512
  `, $(".title", this).html("Details"), f(this, Ac).call(this);
30508
30513
  }
30509
30514
  }
30510
- ys = new WeakMap(), Ac = new WeakMap(), rl = new WeakMap(), Rn = new WeakMap(), sl = new WeakMap(), il = new WeakMap(), Mn = new WeakMap(), nl = new WeakMap();
30515
+ vs = new WeakMap(), Ac = new WeakMap(), rl = new WeakMap(), Rn = new WeakMap(), sl = new WeakMap(), il = new WeakMap(), Mn = new WeakMap(), nl = new WeakMap();
30511
30516
  customElements.get("nx-dialog") || customElements.define("nx-dialog", pf);
30512
- var ol, Gs, al, In, vs, wi, Nn, Tc;
30517
+ var ol, Gs, al, In, ws, wi, Nn, Tc;
30513
30518
  class Nu extends HTMLElement {
30514
30519
  constructor() {
30515
30520
  super();
@@ -30517,7 +30522,7 @@ class Nu extends HTMLElement {
30517
30522
  Y(this, Gs);
30518
30523
  Y(this, al);
30519
30524
  Y(this, In);
30520
- Y(this, vs);
30525
+ Y(this, ws);
30521
30526
  Y(this, wi, []);
30522
30527
  Y(this, Nn);
30523
30528
  it(this, "refresh", () => {
@@ -30526,19 +30531,19 @@ class Nu extends HTMLElement {
30526
30531
  f(this, Gs).innerHTML = i18next.t(f(this, Nn));
30527
30532
  else if (f(this, wi).length > 0 && !H.isNull(f(this, In))) {
30528
30533
  var t = f(this, wi).findIndex((l) => l[f(this, al)] == H.global.locale);
30529
- t < 0 && (t = 0), f(this, Gs).innerHTML = f(this, wi)[t][f(this, In)], $("datalist", this).remove(), $(this).append(f(this, vs));
30534
+ t < 0 && (t = 0), f(this, Gs).innerHTML = f(this, wi)[t][f(this, In)], $("datalist", this).remove(), $(this).append(f(this, ws));
30530
30535
  }
30531
30536
  }
30532
30537
  });
30533
30538
  Y(this, Tc, () => {
30534
- tt(this, vs, "<datalist>"), this.querySelectorAll("datalist option").forEach((c, o) => {
30539
+ tt(this, ws, "<datalist>"), this.querySelectorAll("datalist option").forEach((c, o) => {
30535
30540
  for (var r = {}, n = 0; n < c.attributes.length; n++)
30536
30541
  r[c.attributes[n].name] = f(this, ol) ? c.attributes[n].value : c.attributes[n].value.replaceAll("<", "&lt;").replaceAll(">", "&gt;"), o == 0 && (["locale", "lang", "key", "code"].includes(c.attributes[n].name) ? tt(this, al, c.attributes[n].name) : tt(this, In, c.attributes[n].name));
30537
- tt(this, vs, f(this, vs) + "<option");
30542
+ tt(this, ws, f(this, ws) + "<option");
30538
30543
  for (const s in r)
30539
- tt(this, vs, f(this, vs) + ` ${s}="${r[s]}"`);
30540
- tt(this, vs, f(this, vs) + "></option>"), f(this, wi).push(r);
30541
- }), tt(this, vs, f(this, vs) + "</datalist>");
30544
+ tt(this, ws, f(this, ws) + ` ${s}="${r[s]}"`);
30545
+ tt(this, ws, f(this, ws) + "></option>"), f(this, wi).push(r);
30546
+ }), tt(this, ws, f(this, ws) + "</datalist>");
30542
30547
  const t = this.innerHTML;
30543
30548
  this.innerHTML = `
30544
30549
  <span>${t}</span>
@@ -30554,7 +30559,7 @@ class Nu extends HTMLElement {
30554
30559
  });
30555
30560
  }
30556
30561
  }
30557
- 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", {
30562
+ ol = new WeakMap(), Gs = new WeakMap(), al = new WeakMap(), In = new WeakMap(), ws = new WeakMap(), wi = new WeakMap(), Nn = new WeakMap(), Tc = new WeakMap(), it(Nu, "i18n", {
30558
30563
  convertArrayToJSON: (t) => {
30559
30564
  let l = {};
30560
30565
  for (const c of t) {
@@ -31167,7 +31172,7 @@ customElements.get("nx-side-menu-head") || customElements.define("nx-side-menu-h
31167
31172
  customElements.get("nx-side-menu-foot") || customElements.define("nx-side-menu-foot", wf);
31168
31173
  customElements.get("nx-side-menu-body") || customElements.define("nx-side-menu-body", xf);
31169
31174
  customElements.get("nx-side-menu-item") || customElements.define("nx-side-menu-item", _f);
31170
- var ml, Bn, gl, Fn, ws, _i, Dc;
31175
+ var ml, Bn, gl, Fn, xs, _i, Dc;
31171
31176
  class Sf extends HTMLElement {
31172
31177
  constructor() {
31173
31178
  super();
@@ -31175,23 +31180,23 @@ class Sf extends HTMLElement {
31175
31180
  Y(this, Bn);
31176
31181
  Y(this, gl);
31177
31182
  Y(this, Fn);
31178
- Y(this, ws);
31183
+ Y(this, xs);
31179
31184
  Y(this, _i, []);
31180
31185
  it(this, "refresh", () => {
31181
31186
  if (!(f(this, _i).length < 0 || H.isNull(f(this, Fn)))) {
31182
31187
  var t = f(this, _i).findIndex((l) => l[f(this, gl)] == H.global.locale);
31183
- t < 0 && (t = 0), f(this, Bn).innerHTML = f(this, _i)[t][f(this, Fn)], $("datalist", this).remove(), $(this).append(f(this, ws));
31188
+ t < 0 && (t = 0), f(this, Bn).innerHTML = f(this, _i)[t][f(this, Fn)], $("datalist", this).remove(), $(this).append(f(this, xs));
31184
31189
  }
31185
31190
  });
31186
31191
  Y(this, Dc, () => {
31187
- tt(this, ws, "<datalist>"), this.querySelectorAll("datalist option").forEach((c, o) => {
31192
+ tt(this, xs, "<datalist>"), this.querySelectorAll("datalist option").forEach((c, o) => {
31188
31193
  for (var r = {}, n = 0; n < c.attributes.length; n++)
31189
31194
  r[c.attributes[n].name] = f(this, ml) ? c.attributes[n].value : c.attributes[n].value.replaceAll("<", "&lt;").replaceAll(">", "&gt;"), o == 0 && (["locale", "lang", "key", "code"].includes(c.attributes[n].name) ? tt(this, gl, c.attributes[n].name) : tt(this, Fn, c.attributes[n].name));
31190
- tt(this, ws, f(this, ws) + "<option");
31195
+ tt(this, xs, f(this, xs) + "<option");
31191
31196
  for (const s in r)
31192
- tt(this, ws, f(this, ws) + ` ${s}="${r[s]}"`);
31193
- tt(this, ws, f(this, ws) + "></option>"), f(this, _i).push(r);
31194
- }), tt(this, ws, f(this, ws) + "</datalist>");
31197
+ tt(this, xs, f(this, xs) + ` ${s}="${r[s]}"`);
31198
+ tt(this, xs, f(this, xs) + "></option>"), f(this, _i).push(r);
31199
+ }), tt(this, xs, f(this, xs) + "</datalist>");
31195
31200
  const t = this.innerHTML;
31196
31201
  this.innerHTML = `
31197
31202
  <span>${t}</span>
@@ -31208,7 +31213,7 @@ class Sf extends HTMLElement {
31208
31213
  H.getLocale() == "ko" ? console.warn("nx-span 컴포넌트는 더 이상 사용되지 않을 예정입니다. nx-i18n 컴포넌트로 대체하세요.") : console.warn("The nx-span component will be deprecated. Replace with nx-i18n component.");
31209
31214
  }
31210
31215
  }
31211
- ml = new WeakMap(), Bn = new WeakMap(), gl = new WeakMap(), Fn = new WeakMap(), ws = new WeakMap(), _i = new WeakMap(), Dc = new WeakMap();
31216
+ ml = new WeakMap(), Bn = new WeakMap(), gl = new WeakMap(), Fn = new WeakMap(), xs = new WeakMap(), _i = new WeakMap(), Dc = new WeakMap();
31212
31217
  customElements.get("nx-span") || customElements.define("nx-span", Sf);
31213
31218
  class kf extends HTMLElement {
31214
31219
  constructor() {
@@ -32044,12 +32049,12 @@ class Df extends vu {
32044
32049
  }
32045
32050
  Kc = new WeakMap();
32046
32051
  customElements.get("nx-buttons") || customElements.define("nx-buttons", Df);
32047
- var xs, Zc, Tl, zn, Rl, Ml, Un, Il;
32052
+ var _s, Zc, Tl, zn, Rl, Ml, Un, Il;
32048
32053
  class Bf extends HTMLElement {
32049
32054
  constructor() {
32050
32055
  super();
32051
32056
  //#owner;
32052
- Y(this, xs);
32057
+ Y(this, _s);
32053
32058
  it(this, "showModal", () => {
32054
32059
  this.querySelector("dialog").showModal();
32055
32060
  });
@@ -32068,14 +32073,14 @@ class Bf extends HTMLElement {
32068
32073
  Y(this, Tl, (t) => {
32069
32074
  if (!t.target.closest("buttons") && !(t.buttons != 1 || t.altKey || t.ctrlKey || t.shiftkey)) {
32070
32075
  var l = this.querySelector("dialog").getBoundingClientRect();
32071
- tt(this, xs, {
32076
+ tt(this, _s, {
32072
32077
  x: t.clientX - l.x,
32073
32078
  y: t.clientY - l.y
32074
32079
  }), $(document).on("mousemove", f(this, zn));
32075
32080
  }
32076
32081
  });
32077
32082
  Y(this, zn, (t) => {
32078
- $(this.querySelector("dialog")).offset({ left: t.pageX - f(this, xs).x, top: t.pageY - f(this, xs).y });
32083
+ $(this.querySelector("dialog")).offset({ left: t.pageX - f(this, _s).x, top: t.pageY - f(this, _s).y });
32079
32084
  });
32080
32085
  Y(this, Rl, (t) => {
32081
32086
  $(document).off("mousemove", f(this, zn));
@@ -32083,14 +32088,14 @@ class Bf extends HTMLElement {
32083
32088
  Y(this, Ml, (t) => {
32084
32089
  if (!t.target.closest("buttons")) {
32085
32090
  var l = this.querySelector("dialog").getBoundingClientRect();
32086
- tt(this, xs, {
32091
+ tt(this, _s, {
32087
32092
  x: t.changedTouches[0].pageX - l.x,
32088
32093
  y: t.changedTouches[0].pageY - l.y
32089
32094
  }), $(document).on("touchmove", f(this, Un));
32090
32095
  }
32091
32096
  });
32092
32097
  Y(this, Un, (t) => {
32093
- $(this.querySelector("dialog")).offset({ left: t.changedTouches[0].pageX - f(this, xs).x, top: t.changedTouches[0].pageY - f(this, xs).y });
32098
+ $(this.querySelector("dialog")).offset({ left: t.changedTouches[0].pageX - f(this, _s).x, top: t.changedTouches[0].pageY - f(this, _s).y });
32094
32099
  });
32095
32100
  Y(this, Il, (t) => {
32096
32101
  $(document).off("touchmove", f(this, Un));
@@ -32136,7 +32141,7 @@ class Bf extends HTMLElement {
32136
32141
  o && t && (o.textContent = t), f(this, Zc).call(this);
32137
32142
  }
32138
32143
  }
32139
- xs = new WeakMap(), Zc = new WeakMap(), Tl = new WeakMap(), zn = new WeakMap(), Rl = new WeakMap(), Ml = new WeakMap(), Un = new WeakMap(), Il = new WeakMap();
32144
+ _s = new WeakMap(), Zc = new WeakMap(), Tl = new WeakMap(), zn = new WeakMap(), Rl = new WeakMap(), Ml = new WeakMap(), Un = new WeakMap(), Il = new WeakMap();
32140
32145
  customElements.get("nx-modal") || customElements.define("nx-modal", Bf);
32141
32146
  window.jQuery = window.$ = Bu;
32142
32147
  function zf() {