@ninebone/table 0.0.462 β†’ 0.0.464

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 je = (R) => {
4
4
  };
5
5
  var Ye = (R, i, e) => i in R ? Pe(R, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : R[i] = e;
6
6
  var c = (R, i) => Pe(R, "name", { value: i, configurable: !0 });
7
- var w = (R, i, e) => Ye(R, typeof i != "symbol" ? i + "" : i, e), Fe = (R, i, e) => i.has(R) || je("Cannot " + e);
7
+ var S = (R, i, e) => Ye(R, typeof i != "symbol" ? i + "" : i, e), Fe = (R, i, e) => i.has(R) || je("Cannot " + e);
8
8
  var t = (R, i, e) => (Fe(R, i, "read from private field"), e ? e.call(R) : i.get(R)), d = (R, i, e) => i.has(R) ? je("Cannot add the same private member more than once") : i instanceof WeakSet ? i.add(R) : i.set(R, e), b = (R, i, e, s) => (Fe(R, i, "write to private field"), s ? s.call(R, e) : i.set(R, e), e);
9
9
  var Ve = (R, i, e, s) => ({
10
10
  set _(r) {
@@ -23,13 +23,13 @@ const Ce = class Ce extends Ue.constructor {
23
23
  c(Ce, "Trace");
24
24
  let oe = Ce;
25
25
  const D = new oe();
26
- var B, j, S, X, K, Z, Mt, G, It;
26
+ var B, j, w, X, K, Z, Mt, G, It;
27
27
  const Le = class Le extends HTMLElement {
28
28
  constructor() {
29
29
  super();
30
30
  d(this, B);
31
31
  d(this, j, !1);
32
- d(this, S);
32
+ d(this, w);
33
33
  d(this, X);
34
34
  d(this, K);
35
35
  d(this, Z);
@@ -40,11 +40,11 @@ const Le = class Le extends HTMLElement {
40
40
  this.refresh();
41
41
  })), t(this, Z).observe(e));
42
42
  }, "#observeResize"));
43
- w(this, "refresh", /* @__PURE__ */ c(() => {
44
- if (!t(this, B) || !t(this, S) || t(this, j)) return;
45
- const e = t(this, S).container, s = e.querySelector("table");
43
+ S(this, "refresh", /* @__PURE__ */ c(() => {
44
+ if (!t(this, B) || !t(this, w) || t(this, j)) return;
45
+ const e = t(this, w).container, s = e.querySelector("table");
46
46
  if (!s) return;
47
- const r = t(this, S).track, n = t(this, S).thumb, o = t(this, B).querySelector(".ng-container-bottom"), a = e.clientWidth, h = s.scrollWidth;
47
+ const r = t(this, w).track, n = t(this, w).thumb, o = t(this, B).querySelector(".ng-container-bottom"), a = e.clientWidth, h = s.scrollWidth;
48
48
  if (a !== 0 && h > a)
49
49
  o && (o.style.display = "flex");
50
50
  else {
@@ -59,27 +59,27 @@ const Le = class Le extends HTMLElement {
59
59
  let g = 0;
60
60
  p > 0 && (g = parseInt(u / p * (l - f), 10)), g < 0 && (g = 0);
61
61
  const m = l - f;
62
- g > m && (g = m), n.style.left = `${g}px`, t(this, S).left.disabled = g === 0, t(this, S).right.disabled = g >= m - 1;
62
+ g > m && (g = m), n.style.left = `${g}px`, t(this, w).left.disabled = g === 0, t(this, w).right.disabled = g >= m - 1;
63
63
  }, "refresh"));
64
64
  d(this, G, /* @__PURE__ */ c((e) => {
65
- if (!t(this, S)) return !1;
66
- const s = t(this, S).container, r = s.querySelector("table");
65
+ if (!t(this, w)) return !1;
66
+ const s = t(this, w).container, r = s.querySelector("table");
67
67
  if (!r) return !1;
68
- const n = t(this, S).track.getBoundingClientRect(), o = t(this, S).thumb.clientWidth;
68
+ const n = t(this, w).track.getBoundingClientRect(), o = t(this, w).thumb.clientWidth;
69
69
  let a = e;
70
70
  a < 0 && (a = 0);
71
71
  const h = n.width - o;
72
- a > h && (a = h), a = parseInt(a, 10), t(this, S).thumb.style.left = `${a}px`, t(this, S).left.disabled = a === 0, t(this, S).right.disabled = a >= h - 1;
72
+ a > h && (a = h), a = parseInt(a, 10), t(this, w).thumb.style.left = `${a}px`, t(this, w).left.disabled = a === 0, t(this, w).right.disabled = a >= h - 1;
73
73
  const l = s.clientWidth, u = r.scrollWidth - l;
74
74
  return h > 0 && u > 0 && (s.scrollLeft = a / h * u), a > 0 && a < h - 1;
75
75
  }, "#thumbMoveTo"));
76
76
  d(this, It, /* @__PURE__ */ c(() => {
77
77
  const e = /* @__PURE__ */ c((r) => {
78
78
  clearInterval(t(this, X)), clearInterval(t(this, K));
79
- const n = parseInt(t(this, S).thumb.style.left || 0, 10);
79
+ const n = parseInt(t(this, w).thumb.style.left || 0, 10);
80
80
  t(this, G).call(this, n + r), b(this, X, setInterval(() => {
81
81
  clearInterval(t(this, X)), b(this, K, setInterval(() => {
82
- const o = parseInt(t(this, S).thumb.style.left || 0, 10);
82
+ const o = parseInt(t(this, w).thumb.style.left || 0, 10);
83
83
  t(this, G).call(this, o + r) || clearInterval(t(this, K));
84
84
  }, 50));
85
85
  }, 500));
@@ -87,22 +87,22 @@ const Le = class Le extends HTMLElement {
87
87
  clearInterval(t(this, X)), clearInterval(t(this, K));
88
88
  }, "clearTimer");
89
89
  ["mouseup", "mouseleave", "touchend"].forEach((r) => {
90
- t(this, S).left.addEventListener(r, s), t(this, S).right.addEventListener(r, s), t(this, S).track.addEventListener(r, s);
91
- }), t(this, S).left.addEventListener("mousedown", (r) => {
90
+ t(this, w).left.addEventListener(r, s), t(this, w).right.addEventListener(r, s), t(this, w).track.addEventListener(r, s);
91
+ }), t(this, w).left.addEventListener("mousedown", (r) => {
92
92
  r.button === 0 && e(-20);
93
- }), t(this, S).right.addEventListener("mousedown", (r) => {
93
+ }), t(this, w).right.addEventListener("mousedown", (r) => {
94
94
  r.button === 0 && e(20);
95
- }), t(this, S).left.addEventListener("touchstart", () => e(-20)), t(this, S).right.addEventListener("touchstart", () => e(20)), t(this, S).track.addEventListener("mousedown", (r) => {
95
+ }), t(this, w).left.addEventListener("touchstart", () => e(-20)), t(this, w).right.addEventListener("touchstart", () => e(20)), t(this, w).track.addEventListener("mousedown", (r) => {
96
96
  if (r.button !== 0) return;
97
97
  r.preventDefault();
98
- const n = t(this, S).track.getBoundingClientRect(), o = t(this, S).thumb.clientWidth;
98
+ const n = t(this, w).track.getBoundingClientRect(), o = t(this, w).thumb.clientWidth;
99
99
  t(this, G).call(this, r.clientX - n.left - o / 2);
100
- }), t(this, S).thumb.addEventListener("mousedown", (r) => {
100
+ }), t(this, w).thumb.addEventListener("mousedown", (r) => {
101
101
  if (r.button !== 0) return;
102
- r.stopPropagation(), r.preventDefault(), b(this, j, !0), this.shiftX = r.clientX - t(this, S).thumb.getBoundingClientRect().left;
102
+ r.stopPropagation(), r.preventDefault(), b(this, j, !0), this.shiftX = r.clientX - t(this, w).thumb.getBoundingClientRect().left;
103
103
  const n = /* @__PURE__ */ c((a) => {
104
104
  if (!t(this, j)) return;
105
- const h = t(this, S).track.getBoundingClientRect();
105
+ const h = t(this, w).track.getBoundingClientRect();
106
106
  t(this, G).call(this, a.clientX - h.left - this.shiftX);
107
107
  }, "onMouseMove"), o = /* @__PURE__ */ c(() => {
108
108
  b(this, j, !1), s(), document.removeEventListener("mousemove", n), document.removeEventListener("mouseup", o), this.refresh();
@@ -182,7 +182,7 @@ const Le = class Le extends HTMLElement {
182
182
  setTimeout(e, 10);
183
183
  return;
184
184
  }
185
- b(this, S, {
185
+ b(this, w, {
186
186
  container: s,
187
187
  track: this.querySelector(".ng-scroll-track"),
188
188
  thumb: this.querySelector(".ng-scroll-thumb"),
@@ -198,7 +198,7 @@ const Le = class Le extends HTMLElement {
198
198
  t(this, Z) && t(this, Z).disconnect();
199
199
  }
200
200
  };
201
- B = new WeakMap(), j = new WeakMap(), S = new WeakMap(), X = new WeakMap(), K = new WeakMap(), Z = new WeakMap(), Mt = new WeakMap(), G = new WeakMap(), It = new WeakMap(), c(Le, "NineTableHScrollBar");
201
+ B = new WeakMap(), j = new WeakMap(), w = new WeakMap(), X = new WeakMap(), K = new WeakMap(), Z = new WeakMap(), Mt = new WeakMap(), G = new WeakMap(), It = new WeakMap(), c(Le, "NineTableHScrollBar");
202
202
  let ae = Le;
203
203
  customElements.get("nine-table-hscrollbar") || customElements.define("nine-table-hscrollbar", ae);
204
204
  var F, ot, J, q, xt, vt, _t;
@@ -211,7 +211,7 @@ const He = class He extends HTMLElement {
211
211
  d(this, q);
212
212
  d(this, xt, 0);
213
213
  d(this, vt, 0);
214
- w(this, "refresh", /* @__PURE__ */ c(() => {
214
+ S(this, "refresh", /* @__PURE__ */ c(() => {
215
215
  if (!t(this, F) || !t(this, q)) return;
216
216
  const e = t(this, q).container, s = t(this, q).track, r = t(this, q).thumb, n = e.clientHeight, a = (t(this, F).data.get() || []).length, h = t(this, ot).getRowHeight(), l = a * h;
217
217
  if (l <= n) {
@@ -365,12 +365,12 @@ const $e = class $e {
365
365
  d(this, wt, 40);
366
366
  d(this, at, !1);
367
367
  d(this, Nt, 3);
368
- w(this, "refresh", /* @__PURE__ */ c(() => {
368
+ S(this, "refresh", /* @__PURE__ */ c(() => {
369
369
  var e;
370
370
  const i = t(this, A).querySelector(".ng-container-body .ng-part-body");
371
371
  i && (t(this, St).call(this), t(this, lt).call(this, i.scrollTop), (e = t(this, A).querySelector("nine-table-vscrollbar")) == null || e.refresh());
372
372
  }, "refresh"));
373
- w(this, "initialize", /* @__PURE__ */ c(() => {
373
+ S(this, "initialize", /* @__PURE__ */ c(() => {
374
374
  b(this, H, null), t(this, z).clear(), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((r) => {
375
375
  const n = t(this, A).querySelector(r);
376
376
  if (!n) return;
@@ -570,7 +570,7 @@ const $e = class $e {
570
570
  g > 0 && (r[u] && (r[u].style.height = `${g}px`), n[u] && (n[u].style.height = `${g}px`), o[u] && (o[u].style.height = `${g}px`));
571
571
  }
572
572
  }, "#syncHeaderHeights"));
573
- w(this, "destroy", /* @__PURE__ */ c(() => {
573
+ S(this, "destroy", /* @__PURE__ */ c(() => {
574
574
  t(this, V) && (t(this, V).disconnect(), b(this, V, null));
575
575
  }, "destroy"));
576
576
  b(this, P, i.getRootNode().host), b(this, A, i), t(this, zt).call(this);
@@ -671,7 +671,7 @@ const yt = class yt extends HTMLElement {
671
671
  d(this, Ft);
672
672
  d(this, tt, null);
673
673
  d(this, et);
674
- w(this, "invalidate", /* @__PURE__ */ c(() => {
674
+ S(this, "invalidate", /* @__PURE__ */ c(() => {
675
675
  var e, s;
676
676
  t(this, et).refresh(), (e = this.querySelector("nine-table-hscrollbar")) == null || e.refresh(), (s = this.querySelector("nine-table-vscrollbar")) == null || s.refresh();
677
677
  }, "invalidate"));
@@ -707,7 +707,7 @@ const yt = class yt extends HTMLElement {
707
707
  }), e === "body" ? s.style.flex = "1" : (s.style.flex = `0 0 ${n}px`, s.style.width = `${n}px`);
708
708
  });
709
709
  }, "#updateContainerWidths"));
710
- w(this, "generate", /* @__PURE__ */ c((e) => {
710
+ S(this, "generate", /* @__PURE__ */ c((e) => {
711
711
  e && (b(this, tt, he.compile(e)), t(this, Vt).call(this), t(this, Yt).call(this), t(this, et).initialize(), setTimeout(() => {
712
712
  var s;
713
713
  (s = this.querySelector("nine-table-hscrollbar")) == null || s.refresh();
@@ -729,12 +729,12 @@ const yt = class yt extends HTMLElement {
729
729
  l.remove();
730
730
  }), n;
731
731
  }, "#createSplitTable"));
732
- w(this, "getRowHeight", /* @__PURE__ */ c(() => t(this, et).getRowHeight(), "getRowHeight"));
733
- w(this, "scrollToX", /* @__PURE__ */ c((e) => {
732
+ S(this, "getRowHeight", /* @__PURE__ */ c(() => t(this, et).getRowHeight(), "getRowHeight"));
733
+ S(this, "scrollToX", /* @__PURE__ */ c((e) => {
734
734
  const s = this.querySelector(".ng-container-body .ng-part-body");
735
735
  s && (s.scrollLeft = e);
736
736
  }, "scrollToX"));
737
- w(this, "scrollToY", /* @__PURE__ */ c((e) => {
737
+ S(this, "scrollToY", /* @__PURE__ */ c((e) => {
738
738
  const s = this.querySelector(".ng-container-body .ng-part-body");
739
739
  s && (s.scrollTop = e);
740
740
  }, "scrollToY"));
@@ -893,7 +893,7 @@ const yt = class yt extends HTMLElement {
893
893
  this.innerHTML = "", D.log("NineTableSheet destroyed.");
894
894
  }
895
895
  };
896
- Ft = new WeakMap(), tt = new WeakMap(), et = new WeakMap(), Vt = new WeakMap(), Yt = new WeakMap(), ct = new WeakMap(), Ut = new WeakMap(), Xt = new WeakMap(), c(yt, "NineTableSheet"), w(yt, "SCROLLBAR_SIZE", 16);
896
+ Ft = new WeakMap(), tt = new WeakMap(), et = new WeakMap(), Vt = new WeakMap(), Yt = new WeakMap(), ct = new WeakMap(), Ut = new WeakMap(), Xt = new WeakMap(), c(yt, "NineTableSheet"), S(yt, "SCROLLBAR_SIZE", 16);
897
897
  let $t = yt;
898
898
  customElements.get("nine-table-sheet") || customElements.define("nine-table-sheet", $t);
899
899
  var Kt, qt;
@@ -1077,7 +1077,7 @@ const _e = class _e {
1077
1077
  constructor(i) {
1078
1078
  d(this, Tt);
1079
1079
  d(this, ht, -1);
1080
- w(this, "count", /* @__PURE__ */ c(() => t(this, Tt).rawRecords.length, "count"));
1080
+ S(this, "count", /* @__PURE__ */ c(() => t(this, Tt).rawRecords.length, "count"));
1081
1081
  b(this, Tt, i);
1082
1082
  }
1083
1083
  get at() {
@@ -1114,7 +1114,7 @@ const N = class N {
1114
1114
  i.invalidate();
1115
1115
  });
1116
1116
  }, "#invalidate"));
1117
- w(this, "get", /* @__PURE__ */ c((i, e) => {
1117
+ S(this, "get", /* @__PURE__ */ c((i, e) => {
1118
1118
  var n;
1119
1119
  const s = this.getValidData();
1120
1120
  if (!s || s.length <= 0) return;
@@ -1127,7 +1127,7 @@ const N = class N {
1127
1127
  }
1128
1128
  return t(this, ft).call(this, s[i]);
1129
1129
  }, "get"));
1130
- w(this, "set", /* @__PURE__ */ c((i) => {
1130
+ S(this, "set", /* @__PURE__ */ c((i) => {
1131
1131
  this.clear(), this.add(i, !1), t(this, st).call(this);
1132
1132
  }, "set"));
1133
1133
  d(this, Ct, /* @__PURE__ */ c(() => ({
@@ -1139,10 +1139,10 @@ const N = class N {
1139
1139
  c: {},
1140
1140
  _: [0, 0, 0, 0, N.ROW_STATE.EMPTY, !1, !1, !0, !1, !0, !0, !1, t(this, Y).slice(), -1, {}, {}]
1141
1141
  }), "#getDefaultMeta"));
1142
- w(this, "reset", /* @__PURE__ */ c(() => {
1142
+ S(this, "reset", /* @__PURE__ */ c(() => {
1143
1143
  b(this, _, []), b(this, dt, []), t(this, st).call(this);
1144
1144
  }, "reset"));
1145
- w(this, "clear", /* @__PURE__ */ c(() => {
1145
+ S(this, "clear", /* @__PURE__ */ c(() => {
1146
1146
  var i;
1147
1147
  t(this, k).rawRecords = [], b(this, _, []), b(this, dt, []), (i = t(this, k).viewRecords) != null && i.reset && t(this, k).viewRecords.reset();
1148
1148
  }, "clear"));
@@ -1160,7 +1160,7 @@ const N = class N {
1160
1160
  d(this, ee, /* @__PURE__ */ c((i) => (Array.isArray(i) || (i = [i]), i.forEach((e) => {
1161
1161
  e.__ng = t(this, Ct).call(this), e.__ng.rowid = this.nextId, e.__ng.rowState = N.ROW_STATE.INSERT, e.__ng._[0] = e.__ng.rowid;
1162
1162
  }), i), "#defaultInsert"));
1163
- w(this, "add", /* @__PURE__ */ c((i, e = !0) => {
1163
+ S(this, "add", /* @__PURE__ */ c((i, e = !0) => {
1164
1164
  i === void 0 && (i = {});
1165
1165
  const s = t(this, te).call(this, i);
1166
1166
  t(this, k).rawRecords = t(this, k).rawRecords.concat(t(this, ee).call(this, s)), this.resetRecords();
@@ -1170,7 +1170,7 @@ const N = class N {
1170
1170
  a && (a.__ng.rowState = N.ROW_STATE.EMPTY);
1171
1171
  }), t(this, st).call(this), r;
1172
1172
  }, "add"));
1173
- w(this, "delete", /* @__PURE__ */ c((i) => {
1173
+ S(this, "delete", /* @__PURE__ */ c((i) => {
1174
1174
  let e = [];
1175
1175
  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) => {
1176
1176
  if (t(this, _)[s]) {
@@ -1181,7 +1181,7 @@ const N = class N {
1181
1181
  }
1182
1182
  }), this.resetRecords(), t(this, st).call(this);
1183
1183
  }, "delete"));
1184
- w(this, "setValue", /* @__PURE__ */ c((i, e, s) => {
1184
+ S(this, "setValue", /* @__PURE__ */ c((i, e, s) => {
1185
1185
  var h;
1186
1186
  i = parseInt(i, 10);
1187
1187
  const n = (typeof ((h = t(this, I).fields) == null ? void 0 : h.get) == "function" ? t(this, I).fields.get() : []).indexOf(e);
@@ -1191,14 +1191,14 @@ const N = class N {
1191
1191
  const a = o.v[n];
1192
1192
  a !== s && o.__ng.rowState !== N.ROW_STATE.INSERT && (o.__ng.o.hasOwnProperty(e) || (o.__ng.o[e] = a), o.__ng.rowState = N.ROW_STATE.UPDATE), o.v[n] = s;
1193
1193
  }, "setValue"));
1194
- w(this, "resetRecords", /* @__PURE__ */ c(() => {
1194
+ S(this, "resetRecords", /* @__PURE__ */ c(() => {
1195
1195
  b(this, dt, t(this, k).rawRecords.filter((i) => !i.__ng.deleted)), b(this, _, t(this, k).rawRecords.filter((i) => !i.__ng.deleted && !i.__ng.filtered)), t(this, k).rawRecords.forEach((i, e) => {
1196
1196
  i.__ng.rowidx = e;
1197
1197
  }), t(this, _).forEach((i, e) => {
1198
1198
  i.__ng.i = e;
1199
1199
  });
1200
1200
  }, "resetRecords"));
1201
- w(this, "getValidData", /* @__PURE__ */ c(() => (t(this, _).length === 0 && t(this, k).rawRecords.length > 0 && this.resetRecords(), t(this, _)), "getValidData"));
1201
+ S(this, "getValidData", /* @__PURE__ */ c(() => (t(this, _).length === 0 && t(this, k).rawRecords.length > 0 && this.resetRecords(), t(this, _)), "getValidData"));
1202
1202
  d(this, ft, /* @__PURE__ */ c((i) => {
1203
1203
  var o;
1204
1204
  if (!i) return i;
@@ -1210,7 +1210,7 @@ const N = class N {
1210
1210
  });
1211
1211
  return e ? n[0] : n;
1212
1212
  }, "#conv"));
1213
- w(this, "count", /* @__PURE__ */ c(() => this.getValidData().length, "count"));
1213
+ S(this, "count", /* @__PURE__ */ c(() => this.getValidData().length, "count"));
1214
1214
  b(this, I, i), b(this, k, e), t(this, Qt).call(this);
1215
1215
  }
1216
1216
  get source() {
@@ -1230,7 +1230,7 @@ const N = class N {
1230
1230
  }
1231
1231
  };
1232
1232
  I = new WeakMap(), k = new WeakMap(), _ = 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(), c(N, "ngData"), // 🎯 ν–‰ μƒνƒœ μ •μ˜ μƒμˆ˜λ₯Ό 클래슀 λ‚΄λΆ€λ‘œ λ‚΄μž¬ν™”
1233
- w(N, "ROW_STATE", {
1233
+ S(N, "ROW_STATE", {
1234
1234
  EMPTY: "EMPTY",
1235
1235
  NORMAL: "NORMAL",
1236
1236
  INSERT: "INSERT",
@@ -1267,7 +1267,7 @@ const We = class We {
1267
1267
  constructor(i) {
1268
1268
  d(this, ut);
1269
1269
  d(this, L, []);
1270
- w(this, "add", /* @__PURE__ */ c((i, e = "string") => {
1270
+ S(this, "add", /* @__PURE__ */ c((i, e = "string") => {
1271
1271
  i.forEach((s) => {
1272
1272
  t(this, L).some((r) => r.name === s) || t(this, L).push({ name: s, type: e });
1273
1273
  }), t(this, Lt).call(this);
@@ -1379,7 +1379,7 @@ const mt = class mt extends HTMLElement {
1379
1379
  connectedCallback() {
1380
1380
  }
1381
1381
  };
1382
- c(mt, "BasicCellElement"), w(mt, "_styleCache", /* @__PURE__ */ new Map()), w(mt, "_customStyleCache", /* @__PURE__ */ new Map());
1382
+ c(mt, "BasicCellElement"), S(mt, "_styleCache", /* @__PURE__ */ new Map()), S(mt, "_customStyleCache", /* @__PURE__ */ new Map());
1383
1383
  let me = mt;
1384
1384
  var T, Ht, y, Se, Ee, Ae, Re, qe;
1385
1385
  const Be = class Be extends me {
@@ -1392,7 +1392,7 @@ const Be = class Be extends me {
1392
1392
  d(this, Ee);
1393
1393
  d(this, Ae);
1394
1394
  d(this, Re);
1395
- w(this, "getDisplayText", /* @__PURE__ */ c((e) => {
1395
+ S(this, "getDisplayText", /* @__PURE__ */ c((e) => {
1396
1396
  if (t(this, y))
1397
1397
  if (t(this, y).closest("tbody")) {
1398
1398
  const s = t(this, y).closest("tr").data, r = parseInt(t(this, y).dataset.row);
@@ -1412,11 +1412,6 @@ const Be = class Be extends me {
1412
1412
  } catch {
1413
1413
  }
1414
1414
  }, "getDisplayText"));
1415
- w(this, "reset", /* @__PURE__ */ c(() => {
1416
- D.log("super reset"), parseInt(t(this, y).dataset.row);
1417
- const e = t(this, Ht).data;
1418
- D.log(e);
1419
- }, "reset"));
1420
1415
  d(this, qe, /* @__PURE__ */ c(() => {
1421
1416
  if (!(!t(this, T) || !t(this, T).template || !t(this, y).closest("tbody.bindable"))) {
1422
1417
  var e = ninegrid.j.querySelectorAll(t(this, y)).attr("suppress");
@@ -1446,7 +1441,7 @@ const Be = class Be extends me {
1446
1441
  }
1447
1442
  }
1448
1443
  }, "#resetSuppress"));
1449
- w(this, "getExprValue", /* @__PURE__ */ c((e, s, r, n) => {
1444
+ S(this, "getExprValue", /* @__PURE__ */ c((e, s, r, n) => {
1450
1445
  if (typeof e < "u")
1451
1446
  try {
1452
1447
  r = parseInt(r);
@@ -1477,19 +1472,24 @@ const Be = class Be extends me {
1477
1472
  get data() {
1478
1473
  return t(this, y).closest("tr").data;
1479
1474
  }
1475
+ reset() {
1476
+ D.log("super reset"), parseInt(t(this, y).dataset.row);
1477
+ const e = t(this, Ht).data;
1478
+ D.log(e);
1479
+ }
1480
1480
  };
1481
1481
  T = new WeakMap(), Ht = new WeakMap(), y = new WeakMap(), Se = new WeakMap(), Ee = new WeakMap(), Ae = new WeakMap(), Re = new WeakMap(), qe = new WeakMap(), c(Be, "CellElement");
1482
1482
  let xe = Be;
1483
1483
  const ze = class ze extends xe {
1484
1484
  constructor() {
1485
1485
  super();
1486
- w(this, "reset", /* @__PURE__ */ c(() => {
1487
- D.log("editable reset"), super.reset();
1488
- }, "reset"));
1489
1486
  }
1490
1487
  connectedCallback() {
1491
1488
  super.connectedCallback();
1492
1489
  }
1490
+ reset() {
1491
+ D.log("editable reset"), super.reset();
1492
+ }
1493
1493
  };
1494
1494
  c(ze, "EditableCellElement");
1495
1495
  let ve = ze;
@@ -1503,7 +1503,7 @@ const De = class De extends ve {
1503
1503
  d(this, bt);
1504
1504
  d(this, ne);
1505
1505
  d(this, U);
1506
- w(this, "reset", /* @__PURE__ */ c(() => {
1506
+ S(this, "reset", /* @__PURE__ */ c(() => {
1507
1507
  D.log("==============="), super.reset(), D.log("input reset");
1508
1508
  }, "reset"));
1509
1509
  /**