@ninebone/table 0.0.529 β†’ 0.0.530

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.
@@ -4,7 +4,7 @@ var Fe = (R) => {
4
4
  };
5
5
  var Ue = (R, i, e) => i in R ? je(R, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : R[i] = e;
6
6
  var h = (R, i) => je(R, "name", { value: i, configurable: !0 });
7
- var S = (R, i, e) => Ue(R, typeof i != "symbol" ? i + "" : i, e), Ve = (R, i, e) => i.has(R) || Fe("Cannot " + e);
7
+ var E = (R, i, e) => Ue(R, typeof i != "symbol" ? i + "" : i, e), Ve = (R, i, e) => i.has(R) || Fe("Cannot " + e);
8
8
  var t = (R, i, e) => (Ve(R, i, "read from private field"), e ? e.call(R) : i.get(R)), d = (R, i, e) => i.has(R) ? Fe("Cannot add the same private member more than once") : i instanceof WeakSet ? i.add(R) : i.set(R, e), y = (R, i, e, s) => (Ve(R, i, "write to private field"), s ? s.call(R, e) : i.set(R, e), e);
9
9
  var Ye = (R, i, e, s) => ({
10
10
  set _(r) {
@@ -40,7 +40,7 @@ const He = class He extends HTMLElement {
40
40
  this.refresh();
41
41
  })), t(this, Z).observe(e));
42
42
  }, "#observeResize"));
43
- S(this, "refresh", /* @__PURE__ */ h(() => {
43
+ E(this, "refresh", /* @__PURE__ */ h(() => {
44
44
  if (!t(this, z) || !t(this, w) || t(this, j)) return;
45
45
  const e = t(this, w).container, s = e.querySelector("table");
46
46
  if (!s) return;
@@ -211,7 +211,7 @@ const Me = class Me extends HTMLElement {
211
211
  d(this, q);
212
212
  d(this, xt, 0);
213
213
  d(this, vt, 0);
214
- S(this, "refresh", /* @__PURE__ */ h(() => {
214
+ E(this, "refresh", /* @__PURE__ */ h(() => {
215
215
  if (!t(this, F) || !t(this, q)) return;
216
216
  C.log("nine-table-vscrollbar.refresh");
217
217
  const e = t(this, q).container, s = t(this, q).track, r = t(this, q).thumb, n = e.clientHeight, o = (t(this, F).data.get() || []).length, c = t(this, ot).getRowHeight(), l = o * c;
@@ -355,11 +355,11 @@ const Me = class Me extends HTMLElement {
355
355
  F = new WeakMap(), ot = new WeakMap(), J = new WeakMap(), q = new WeakMap(), xt = new WeakMap(), vt = new WeakMap(), Nt = new WeakMap(), h(Me, "NineTableVScrollBar");
356
356
  let le = Me;
357
357
  customElements.get("nine-table-vscrollbar") || customElements.define("nine-table-vscrollbar", le);
358
- var P, E, D, M, V, Q, wt, Se, at, Wt, Ot, Bt, St, Et, zt, Dt, At, Ee, lt, Rt, Pt;
358
+ var P, S, D, M, V, Q, wt, Se, at, Wt, Ot, Bt, St, Et, zt, Dt, At, Ee, lt, Rt, Pt;
359
359
  const $e = class $e {
360
360
  constructor(i) {
361
361
  d(this, P);
362
- d(this, E);
362
+ d(this, S);
363
363
  d(this, D, /* @__PURE__ */ new Map());
364
364
  d(this, M, null);
365
365
  d(this, V, null);
@@ -368,14 +368,14 @@ const $e = class $e {
368
368
  d(this, Se, !1);
369
369
  d(this, at, !1);
370
370
  d(this, Wt, 3);
371
- S(this, "refresh", /* @__PURE__ */ h(() => {
371
+ E(this, "refresh", /* @__PURE__ */ h(() => {
372
372
  C.log("rowManager.refresh");
373
- const i = t(this, E).querySelector(".ng-container-body .ng-part-body");
373
+ const i = t(this, S).querySelector(".ng-container-body .ng-part-body");
374
374
  i && (t(this, St).call(this), t(this, lt).call(this, i.scrollTop));
375
375
  }, "refresh"));
376
- S(this, "initialize", /* @__PURE__ */ h(() => {
376
+ E(this, "initialize", /* @__PURE__ */ h(() => {
377
377
  C.log("rowManager.initialize"), y(this, M, null), t(this, D).clear(), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((a) => {
378
- const o = t(this, E).querySelector(a);
378
+ const o = t(this, S).querySelector(a);
379
379
  if (!o) return;
380
380
  const c = o.querySelector(".ng-part-body table");
381
381
  if (!c) return;
@@ -384,13 +384,13 @@ const $e = class $e {
384
384
  const u = Array.from(l.querySelectorAll("tr")).map((g) => g.cloneNode(!0));
385
385
  t(this, D).set(a, u);
386
386
  });
387
- const i = t(this, E).querySelector(".ng-container-body .ng-part-body"), e = t(this, E).querySelector(".ng-container-left .ng-part-body"), s = t(this, E).querySelector(".ng-container-right .ng-part-body"), r = t(this, E).querySelector(".ng-container-body .ng-part-header"), n = t(this, E).querySelector(".ng-container-body .ng-part-footer");
387
+ const i = t(this, S).querySelector(".ng-container-body .ng-part-body"), e = t(this, S).querySelector(".ng-container-left .ng-part-body"), s = t(this, S).querySelector(".ng-container-right .ng-part-body"), r = t(this, S).querySelector(".ng-container-body .ng-part-header"), n = t(this, S).querySelector(".ng-container-body .ng-part-footer");
388
388
  if (i) {
389
389
  t(this, Bt).call(this, i), t(this, At).call(this), t(this, St).call(this), t(this, lt).call(this, i.scrollTop);
390
390
  let a = !1;
391
391
  const o = /* @__PURE__ */ h((c, l, f) => {
392
392
  var u;
393
- a || (a = !0, i && i.scrollTop !== c && (i.scrollTop = c), e && e.scrollTop !== c && (e.scrollTop = c), s && s.scrollTop !== c && (s.scrollTop = c), r && r.scrollLeft !== l && (r.scrollLeft = l), n && n.scrollLeft !== l && (n.scrollLeft = l), t(this, lt).call(this, c), (u = t(this, E).querySelector("nine-table-vscrollbar")) == null || u.refresh(), a = !1);
393
+ a || (a = !0, i && i.scrollTop !== c && (i.scrollTop = c), e && e.scrollTop !== c && (e.scrollTop = c), s && s.scrollTop !== c && (s.scrollTop = c), r && r.scrollLeft !== l && (r.scrollLeft = l), n && n.scrollLeft !== l && (n.scrollLeft = l), t(this, lt).call(this, c), (u = t(this, S).querySelector("nine-table-vscrollbar")) == null || u.refresh(), a = !1);
394
394
  }, "syncScroll");
395
395
  [i, e, s].forEach((c) => {
396
396
  c && c.addEventListener("scroll", () => {
@@ -428,7 +428,7 @@ const $e = class $e {
428
428
  e.forEach((g) => {
429
429
  n.appendChild(g.cloneNode(!0));
430
430
  }), r ? r.before(n) : s.appendChild(n);
431
- const a = t(this, E), o = a.style.display, c = a.style.visibility, l = a.style.position;
431
+ const a = t(this, S), o = a.style.display, c = a.style.visibility, l = a.style.position;
432
432
  (o === "none" || window.getComputedStyle(a).display === "none") && (a.style.display = "block", a.style.visibility = "hidden", a.style.position = "absolute");
433
433
  let f = 0;
434
434
  const u = s.querySelectorAll("tr:not(.nodata)");
@@ -440,7 +440,7 @@ const $e = class $e {
440
440
  C.log("rowManager.#updateVirtualScrollHeight");
441
441
  const e = (t(this, P).data.get() || []).length, s = t(this, M), r = e * s;
442
442
  [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((n) => {
443
- const a = t(this, E).querySelector(n);
443
+ const a = t(this, S).querySelector(n);
444
444
  if (!a) return;
445
445
  const o = a.querySelector(".ng-part-body .ng-virtual-spacer");
446
446
  o && (o.style.height = `${r}px`);
@@ -454,7 +454,7 @@ const $e = class $e {
454
454
  }, "#updateRowCount"));
455
455
  d(this, zt, /* @__PURE__ */ h(() => {
456
456
  var o, c, l, f, u, g;
457
- const i = t(this, E).querySelector(".ng-container-left .ng-part-body table"), e = t(this, E).querySelector(".ng-container-body .ng-part-body table"), s = t(this, E).querySelector(".ng-container-right .ng-part-body table");
457
+ const i = t(this, S).querySelector(".ng-container-left .ng-part-body table"), e = t(this, S).querySelector(".ng-container-body .ng-part-body table"), s = t(this, S).querySelector(".ng-container-right .ng-part-body table");
458
458
  if (e) {
459
459
  const b = i ? Array.from(i.querySelectorAll("tbody tr")) : [], x = Array.from(e.querySelectorAll("tbody tr")), v = s ? Array.from(s.querySelectorAll("tbody tr")) : [], A = Math.max(b.length, x.length, v.length);
460
460
  for (let m = 0; m < A; m++) {
@@ -466,7 +466,7 @@ const $e = class $e {
466
466
  L > 0 && (b[m] && (b[m].style.height = `${L}px`), x[m] && (x[m].style.height = `${L}px`), v[m] && (v[m].style.height = `${L}px`));
467
467
  }
468
468
  }
469
- const r = t(this, E).querySelector(".ng-container-left .ng-part-footer table"), n = t(this, E).querySelector(".ng-container-body .ng-part-footer table"), a = t(this, E).querySelector(".ng-container-right .ng-part-footer table");
469
+ const r = t(this, S).querySelector(".ng-container-left .ng-part-footer table"), n = t(this, S).querySelector(".ng-container-body .ng-part-footer table"), a = t(this, S).querySelector(".ng-container-right .ng-part-footer table");
470
470
  if (n) {
471
471
  const b = r ? Array.from(r.querySelectorAll("tfoot tr")) : [], x = Array.from(n.querySelectorAll("tfoot tr")), v = a ? Array.from(a.querySelectorAll("tfoot tr")) : [], A = Math.max(b.length, x.length, v.length);
472
472
  for (let m = 0; m < A; m++) {
@@ -480,7 +480,7 @@ const $e = class $e {
480
480
  }
481
481
  }, "#syncRowHeights"));
482
482
  d(this, Dt, /* @__PURE__ */ h(() => {
483
- !t(this, E) || !(t(this, E) instanceof HTMLElement) || (y(this, V, new ResizeObserver((i) => {
483
+ !t(this, S) || !(t(this, S) instanceof HTMLElement) || (y(this, V, new ResizeObserver((i) => {
484
484
  for (const e of i) {
485
485
  const s = e.target;
486
486
  if (!s.classList.contains("active")) continue;
@@ -493,18 +493,18 @@ const $e = class $e {
493
493
  t(this, Q) !== c && (y(this, Q, c), t(this, Et).call(this), t(this, M) !== null && (t(this, At).call(this), this.refresh()));
494
494
  }
495
495
  }
496
- })), t(this, V).observe(t(this, E)));
496
+ })), t(this, V).observe(t(this, S)));
497
497
  }, "#initResizeObserver"));
498
498
  d(this, At, /* @__PURE__ */ h(() => {
499
499
  C.log("rowManager.#renderAllContainers"), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((i) => {
500
- const e = t(this, E).querySelector(i);
500
+ const e = t(this, S).querySelector(i);
501
501
  e && e.querySelector(".ng-part-body tbody.bindable-tbody") && t(this, Ot).call(this, e, i);
502
502
  }), t(this, Pt).call(this), t(this, zt).call(this);
503
503
  }, "#renderAllContainers"));
504
504
  d(this, Ee, /* @__PURE__ */ h((i) => {
505
505
  [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((e) => {
506
506
  var l;
507
- const s = t(this, E).querySelector(e);
507
+ const s = t(this, S).querySelector(e);
508
508
  if (!s) return;
509
509
  const r = s.querySelector(".ng-part-body tbody.bindable-tbody");
510
510
  if (!r) return;
@@ -526,11 +526,11 @@ const $e = class $e {
526
526
  if (!e || e <= 0) return;
527
527
  const s = t(this, P).data.length;
528
528
  C.log(s);
529
- const r = Math.max(0, Math.floor(i / e)), n = r * e, a = ((f = t(this, D).get(".ng-container-body")) == null ? void 0 : f.length) || 1, o = t(this, E).querySelector(".ng-container-body"), c = o == null ? void 0 : o.querySelector(".ng-part-body tbody.bindable-tbody tr:not(.nodata)"), l = c && c.dataset.row !== void 0 ? parseInt(c.dataset.row, 10) : -1;
530
- [".ng-container-body .ng-part-body table", ".ng-container-left .ng-part-body table", ".ng-container-right .ng-part-body table"].forEach((u) => {
529
+ const r = Math.max(0, Math.floor(i / e)), n = r * e, a = ((f = t(this, D).get(".ng-container-body")) == null ? void 0 : f.length) || 1, o = t(this, S).querySelector(".ng-container-body"), c = o == null ? void 0 : o.querySelector(".ng-part-body tbody.bindable-tbody tr:not(.nodata)"), l = c && c.dataset.row !== void 0 ? parseInt(c.dataset.row, 10) : -1;
530
+ t(this, S).querySelectorAll(".ng-part-body table").forEach((u) => {
531
531
  u.style.transform = `translateY(${n}px)`;
532
532
  }), C.log("#handleScroll", l, r), l !== r && [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((u) => {
533
- const g = t(this, E).querySelector(u);
533
+ const g = t(this, S).querySelector(u);
534
534
  if (!g) return;
535
535
  const b = g.querySelector(".ng-part-body tbody.bindable-tbody");
536
536
  if (!b) return;
@@ -569,7 +569,7 @@ const $e = class $e {
569
569
  d(this, Pt, /* @__PURE__ */ h(() => {
570
570
  var c, l, f;
571
571
  C.log("rowManager.#syncHeaderHeights");
572
- const i = t(this, E).querySelector(".ng-container-left .ng-part-header table"), e = t(this, E).querySelector(".ng-container-body .ng-part-header table"), s = t(this, E).querySelector(".ng-container-right .ng-part-header table");
572
+ const i = t(this, S).querySelector(".ng-container-left .ng-part-header table"), e = t(this, S).querySelector(".ng-container-body .ng-part-header table"), s = t(this, S).querySelector(".ng-container-right .ng-part-header table");
573
573
  if (!e) return;
574
574
  const r = i ? Array.from(i.querySelectorAll("tr")) : [], n = Array.from(e.querySelectorAll("tr")), a = s ? Array.from(s.querySelectorAll("tr")) : [], o = Math.max(r.length, n.length, a.length);
575
575
  for (let u = 0; u < o; u++) {
@@ -581,10 +581,10 @@ const $e = class $e {
581
581
  b > 0 && (r[u] && (r[u].style.height = `${b}px`), n[u] && (n[u].style.height = `${b}px`), a[u] && (a[u].style.height = `${b}px`));
582
582
  }
583
583
  }, "#syncHeaderHeights"));
584
- S(this, "destroy", /* @__PURE__ */ h(() => {
584
+ E(this, "destroy", /* @__PURE__ */ h(() => {
585
585
  t(this, V) && (t(this, V).disconnect(), y(this, V, null));
586
586
  }, "destroy"));
587
- y(this, P, i.getRootNode().host), y(this, E, i), t(this, Dt).call(this);
587
+ y(this, P, i.getRootNode().host), y(this, S, i), t(this, Dt).call(this);
588
588
  }
589
589
  getRowHeight() {
590
590
  return t(this, M);
@@ -594,7 +594,7 @@ const $e = class $e {
594
594
  return ((e = t(this, D).get(i)) == null ? void 0 : e.length) || 1;
595
595
  }
596
596
  };
597
- P = new WeakMap(), E = new WeakMap(), D = new WeakMap(), M = new WeakMap(), V = new WeakMap(), Q = new WeakMap(), wt = new WeakMap(), Se = new WeakMap(), at = new WeakMap(), Wt = new WeakMap(), Ot = new WeakMap(), Bt = new WeakMap(), St = new WeakMap(), Et = new WeakMap(), zt = new WeakMap(), Dt = new WeakMap(), At = new WeakMap(), Ee = new WeakMap(), lt = new WeakMap(), Rt = new WeakMap(), Pt = new WeakMap(), h($e, "RowManager");
597
+ P = new WeakMap(), S = new WeakMap(), D = new WeakMap(), M = new WeakMap(), V = new WeakMap(), Q = new WeakMap(), wt = new WeakMap(), Se = new WeakMap(), at = new WeakMap(), Wt = new WeakMap(), Ot = new WeakMap(), Bt = new WeakMap(), St = new WeakMap(), Et = new WeakMap(), zt = new WeakMap(), Dt = new WeakMap(), At = new WeakMap(), Ee = new WeakMap(), lt = new WeakMap(), Rt = new WeakMap(), Pt = new WeakMap(), h($e, "RowManager");
598
598
  let ce = $e;
599
599
  const jt = class jt {
600
600
  /**
@@ -682,7 +682,7 @@ const pt = class pt extends HTMLElement {
682
682
  d(this, Ft);
683
683
  d(this, tt, null);
684
684
  d(this, et);
685
- S(this, "invalidate", /* @__PURE__ */ h(() => {
685
+ E(this, "invalidate", /* @__PURE__ */ h(() => {
686
686
  t(this, et).refresh();
687
687
  }, "invalidate"));
688
688
  d(this, Vt, /* @__PURE__ */ h(() => {
@@ -717,7 +717,7 @@ const pt = class pt extends HTMLElement {
717
717
  }), e === "body" ? s.style.flex = "1" : (s.style.flex = `0 0 ${n}px`, s.style.width = `${n}px`);
718
718
  });
719
719
  }, "#updateContainerWidths"));
720
- S(this, "generate", /* @__PURE__ */ h((e) => {
720
+ E(this, "generate", /* @__PURE__ */ h((e) => {
721
721
  e && (y(this, tt, he.compile(e)), t(this, Vt).call(this), t(this, Yt).call(this), t(this, et).initialize(), setTimeout(() => {
722
722
  var s;
723
723
  (s = this.querySelector("nine-table-hscrollbar")) == null || s.refresh();
@@ -739,12 +739,12 @@ const pt = class pt extends HTMLElement {
739
739
  l.remove();
740
740
  }), n;
741
741
  }, "#createSplitTable"));
742
- S(this, "getRowHeight", /* @__PURE__ */ h(() => t(this, et).getRowHeight(), "getRowHeight"));
743
- S(this, "scrollToX", /* @__PURE__ */ h((e) => {
742
+ E(this, "getRowHeight", /* @__PURE__ */ h(() => t(this, et).getRowHeight(), "getRowHeight"));
743
+ E(this, "scrollToX", /* @__PURE__ */ h((e) => {
744
744
  const s = this.querySelector(".ng-container-body .ng-part-body");
745
745
  s && (s.scrollLeft = e);
746
746
  }, "scrollToX"));
747
- S(this, "scrollToY", /* @__PURE__ */ h((e) => {
747
+ E(this, "scrollToY", /* @__PURE__ */ h((e) => {
748
748
  const s = this.querySelector(".ng-container-body .ng-part-body");
749
749
  s && (s.scrollTop = e);
750
750
  }, "scrollToY"));
@@ -903,7 +903,7 @@ const pt = class pt extends HTMLElement {
903
903
  this.innerHTML = "", C.log("NineTableSheet destroyed.");
904
904
  }
905
905
  };
906
- Ft = new WeakMap(), tt = new WeakMap(), et = new WeakMap(), Vt = new WeakMap(), Yt = new WeakMap(), ct = new WeakMap(), Ut = new WeakMap(), Xt = new WeakMap(), h(pt, "NineTableSheet"), S(pt, "SCROLLBAR_SIZE", 16);
906
+ Ft = new WeakMap(), tt = new WeakMap(), et = new WeakMap(), Vt = new WeakMap(), Yt = new WeakMap(), ct = new WeakMap(), Ut = new WeakMap(), Xt = new WeakMap(), h(pt, "NineTableSheet"), E(pt, "SCROLLBAR_SIZE", 16);
907
907
  let $t = pt;
908
908
  customElements.get("nine-table-sheet") || customElements.define("nine-table-sheet", $t);
909
909
  var Kt, qt;
@@ -1087,7 +1087,7 @@ const Ne = class Ne {
1087
1087
  constructor(i) {
1088
1088
  d(this, Tt);
1089
1089
  d(this, ht, -1);
1090
- S(this, "count", /* @__PURE__ */ h(() => t(this, Tt).rawRecords.length, "count"));
1090
+ E(this, "count", /* @__PURE__ */ h(() => t(this, Tt).rawRecords.length, "count"));
1091
1091
  y(this, Tt, i);
1092
1092
  }
1093
1093
  get at() {
@@ -1124,7 +1124,7 @@ const O = class O {
1124
1124
  i.invalidate();
1125
1125
  });
1126
1126
  }, "#invalidate"));
1127
- S(this, "get", /* @__PURE__ */ h((i, e) => {
1127
+ E(this, "get", /* @__PURE__ */ h((i, e) => {
1128
1128
  var n;
1129
1129
  const s = this.getValidData();
1130
1130
  if (!s || s.length <= 0) return;
@@ -1137,7 +1137,7 @@ const O = class O {
1137
1137
  }
1138
1138
  return t(this, ft).call(this, s[i]);
1139
1139
  }, "get"));
1140
- S(this, "set", /* @__PURE__ */ h((i) => {
1140
+ E(this, "set", /* @__PURE__ */ h((i) => {
1141
1141
  this.clear(), this.add(i, !1), t(this, st).call(this);
1142
1142
  }, "set"));
1143
1143
  d(this, Ct, /* @__PURE__ */ h(() => ({
@@ -1149,10 +1149,10 @@ const O = class O {
1149
1149
  c: {},
1150
1150
  _: [0, 0, 0, 0, O.ROW_STATE.EMPTY, !1, !1, !0, !1, !0, !0, !1, t(this, Y).slice(), -1, {}, {}]
1151
1151
  }), "#getDefaultMeta"));
1152
- S(this, "reset", /* @__PURE__ */ h(() => {
1152
+ E(this, "reset", /* @__PURE__ */ h(() => {
1153
1153
  y(this, N, []), y(this, dt, []), t(this, st).call(this);
1154
1154
  }, "reset"));
1155
- S(this, "clear", /* @__PURE__ */ h(() => {
1155
+ E(this, "clear", /* @__PURE__ */ h(() => {
1156
1156
  var i;
1157
1157
  t(this, k).rawRecords = [], y(this, N, []), y(this, dt, []), (i = t(this, k).viewRecords) != null && i.reset && t(this, k).viewRecords.reset();
1158
1158
  }, "clear"));
@@ -1170,7 +1170,7 @@ const O = class O {
1170
1170
  d(this, ee, /* @__PURE__ */ h((i) => (Array.isArray(i) || (i = [i]), i.forEach((e) => {
1171
1171
  e.__ng = t(this, Ct).call(this), e.__ng.rowid = this.nextId, e.__ng.rowState = O.ROW_STATE.INSERT, e.__ng._[0] = e.__ng.rowid;
1172
1172
  }), i), "#defaultInsert"));
1173
- S(this, "add", /* @__PURE__ */ h((i, e = !0) => {
1173
+ E(this, "add", /* @__PURE__ */ h((i, e = !0) => {
1174
1174
  i === void 0 && (i = {});
1175
1175
  const s = t(this, te).call(this, i);
1176
1176
  t(this, k).rawRecords = t(this, k).rawRecords.concat(t(this, ee).call(this, s)), this.resetRecords();
@@ -1180,7 +1180,7 @@ const O = class O {
1180
1180
  o && (o.__ng.rowState = O.ROW_STATE.EMPTY);
1181
1181
  }), t(this, st).call(this), r;
1182
1182
  }, "add"));
1183
- S(this, "delete", /* @__PURE__ */ h((i) => {
1183
+ E(this, "delete", /* @__PURE__ */ h((i) => {
1184
1184
  let e = [];
1185
1185
  Array.isArray(i) ? e = i : typeof i > "u" ? e = [t(this, k).host.row.at] : e = [parseInt(i, 10)], e.sort((s, r) => r - s).forEach((s) => {
1186
1186
  if (t(this, N)[s]) {
@@ -1191,7 +1191,7 @@ const O = class O {
1191
1191
  }
1192
1192
  }), this.resetRecords(), t(this, st).call(this);
1193
1193
  }, "delete"));
1194
- S(this, "setValue", /* @__PURE__ */ h((i, e, s) => {
1194
+ E(this, "setValue", /* @__PURE__ */ h((i, e, s) => {
1195
1195
  var c;
1196
1196
  i = parseInt(i, 10);
1197
1197
  const n = (typeof ((c = t(this, _).fields) == null ? void 0 : c.get) == "function" ? t(this, _).fields.get() : []).indexOf(e);
@@ -1201,14 +1201,14 @@ const O = class O {
1201
1201
  const o = a.v[n];
1202
1202
  o !== s && a.__ng.rowState !== O.ROW_STATE.INSERT && (a.__ng.o.hasOwnProperty(e) || (a.__ng.o[e] = o), a.__ng.rowState = O.ROW_STATE.UPDATE), a.v[n] = s;
1203
1203
  }, "setValue"));
1204
- S(this, "resetRecords", /* @__PURE__ */ h(() => {
1204
+ E(this, "resetRecords", /* @__PURE__ */ h(() => {
1205
1205
  y(this, dt, t(this, k).rawRecords.filter((i) => !i.__ng.deleted)), y(this, N, t(this, k).rawRecords.filter((i) => !i.__ng.deleted && !i.__ng.filtered)), t(this, k).rawRecords.forEach((i, e) => {
1206
1206
  i.__ng.rowidx = e;
1207
1207
  }), t(this, N).forEach((i, e) => {
1208
1208
  i.__ng.i = e;
1209
1209
  });
1210
1210
  }, "resetRecords"));
1211
- S(this, "getValidData", /* @__PURE__ */ h(() => (t(this, N).length === 0 && t(this, k).rawRecords.length > 0 && this.resetRecords(), t(this, N)), "getValidData"));
1211
+ E(this, "getValidData", /* @__PURE__ */ h(() => (t(this, N).length === 0 && t(this, k).rawRecords.length > 0 && this.resetRecords(), t(this, N)), "getValidData"));
1212
1212
  d(this, ft, /* @__PURE__ */ h((i) => {
1213
1213
  var a;
1214
1214
  if (!i) return i;
@@ -1220,7 +1220,7 @@ const O = class O {
1220
1220
  });
1221
1221
  return e ? n[0] : n;
1222
1222
  }, "#conv"));
1223
- S(this, "count", /* @__PURE__ */ h(() => this.getValidData().length, "count"));
1223
+ E(this, "count", /* @__PURE__ */ h(() => this.getValidData().length, "count"));
1224
1224
  y(this, _, i), y(this, k, e), t(this, Qt).call(this);
1225
1225
  }
1226
1226
  get source() {
@@ -1243,7 +1243,7 @@ const O = class O {
1243
1243
  }
1244
1244
  };
1245
1245
  _ = new WeakMap(), k = new WeakMap(), N = new WeakMap(), dt = new WeakMap(), Jt = new WeakMap(), Y = new WeakMap(), Qt = new WeakMap(), st = new WeakMap(), Ct = new WeakMap(), te = new WeakMap(), ee = new WeakMap(), ft = new WeakMap(), h(O, "ngData"), // 🎯 ν–‰ μƒνƒœ μ •μ˜ μƒμˆ˜λ₯Ό 클래슀 λ‚΄λΆ€λ‘œ λ‚΄μž¬ν™”
1246
- S(O, "ROW_STATE", {
1246
+ E(O, "ROW_STATE", {
1247
1247
  EMPTY: "EMPTY",
1248
1248
  NORMAL: "NORMAL",
1249
1249
  INSERT: "INSERT",
@@ -1280,7 +1280,7 @@ const Oe = class Oe {
1280
1280
  constructor(i) {
1281
1281
  d(this, ut);
1282
1282
  d(this, H, []);
1283
- S(this, "add", /* @__PURE__ */ h((i, e = "string") => {
1283
+ E(this, "add", /* @__PURE__ */ h((i, e = "string") => {
1284
1284
  i.forEach((s) => {
1285
1285
  t(this, H).some((r) => r.name === s) || t(this, H).push({ name: s, type: e });
1286
1286
  }), t(this, Lt).call(this);
@@ -1392,7 +1392,7 @@ const mt = class mt extends HTMLElement {
1392
1392
  connectedCallback() {
1393
1393
  }
1394
1394
  };
1395
- h(mt, "BasicCellElement"), S(mt, "_styleCache", /* @__PURE__ */ new Map()), S(mt, "_customStyleCache", /* @__PURE__ */ new Map());
1395
+ h(mt, "BasicCellElement"), E(mt, "_styleCache", /* @__PURE__ */ new Map()), E(mt, "_customStyleCache", /* @__PURE__ */ new Map());
1396
1396
  let me = mt;
1397
1397
  var T, Ht, p, Ae, Re, qe, ke, Te;
1398
1398
  const ze = class ze extends me {
@@ -1405,7 +1405,7 @@ const ze = class ze extends me {
1405
1405
  d(this, Re);
1406
1406
  d(this, qe);
1407
1407
  d(this, ke);
1408
- S(this, "getDisplayText", /* @__PURE__ */ h((e) => {
1408
+ E(this, "getDisplayText", /* @__PURE__ */ h((e) => {
1409
1409
  if (t(this, p))
1410
1410
  if (t(this, p).closest("tbody")) {
1411
1411
  const s = t(this, p).closest("tr").data, r = parseInt(t(this, p).dataset.row);
@@ -1454,7 +1454,7 @@ const ze = class ze extends me {
1454
1454
  }
1455
1455
  }
1456
1456
  }, "#resetSuppress"));
1457
- S(this, "getExprValue", /* @__PURE__ */ h((e, s, r, n) => {
1457
+ E(this, "getExprValue", /* @__PURE__ */ h((e, s, r, n) => {
1458
1458
  if (typeof e < "u")
1459
1459
  try {
1460
1460
  r = parseInt(r);
@@ -1515,7 +1515,7 @@ const Pe = class Pe extends ve {
1515
1515
  d(this, bt);
1516
1516
  d(this, ne);
1517
1517
  d(this, U);
1518
- S(this, "refresh", /* @__PURE__ */ h(() => {
1518
+ E(this, "refresh", /* @__PURE__ */ h(() => {
1519
1519
  const e = super.refresh();
1520
1520
  C.log("::", e), t(this, Mt).value = e;
1521
1521
  }, "refresh"));