@ninebone/table 0.0.302 β†’ 0.0.304

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.
@@ -1,39 +1,39 @@
1
- var Qt = Object.defineProperty;
2
- var te = (m) => {
3
- throw TypeError(m);
1
+ var ee = Object.defineProperty;
2
+ var ie = (x) => {
3
+ throw TypeError(x);
4
4
  };
5
- var se = (m, i, e) => i in m ? Qt(m, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : m[i] = e;
6
- var a = (m, i) => Qt(m, "name", { value: i, configurable: !0 });
7
- var S = (m, i, e) => se(m, typeof i != "symbol" ? i + "" : i, e), ee = (m, i, e) => i.has(m) || te("Cannot " + e);
8
- var t = (m, i, e) => (ee(m, i, "read from private field"), e ? e.call(m) : i.get(m)), h = (m, i, e) => i.has(m) ? te("Cannot add the same private member more than once") : i instanceof WeakSet ? i.add(m) : i.set(m, e), b = (m, i, e, s) => (ee(m, i, "write to private field"), s ? s.call(m, e) : i.set(m, e), e);
9
- var ie = (m, i, e, s) => ({
5
+ var oe = (x, i, e) => i in x ? ee(x, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : x[i] = e;
6
+ var a = (x, i) => ee(x, "name", { value: i, configurable: !0 });
7
+ var S = (x, i, e) => oe(x, typeof i != "symbol" ? i + "" : i, e), se = (x, i, e) => i.has(x) || ie("Cannot " + e);
8
+ var t = (x, i, e) => (se(x, i, "read from private field"), e ? e.call(x) : i.get(x)), d = (x, i, e) => i.has(x) ? ie("Cannot add the same private member more than once") : i instanceof WeakSet ? i.add(x) : i.set(x, e), b = (x, i, e, s) => (se(x, i, "write to private field"), s ? s.call(x, e) : i.set(x, e), e);
9
+ var ne = (x, i, e, s) => ({
10
10
  set _(n) {
11
- b(m, i, n, e);
11
+ b(x, i, n, e);
12
12
  },
13
13
  get _() {
14
- return t(m, i, s);
14
+ return t(x, i, s);
15
15
  }
16
16
  });
17
- import { trace as ne } from "@ninebone/util";
18
- const Vt = class Vt extends ne.constructor {
17
+ import { trace as re } from "@ninebone/util";
18
+ const Vt = class Vt extends re.constructor {
19
19
  constructor() {
20
20
  super(), this.init("nine-table", "green");
21
21
  }
22
22
  };
23
23
  a(Vt, "Trace");
24
- let Mt = Vt;
25
- const _ = new Mt();
26
- var C, $, p, D, P, B, ct, N, ht;
27
- const Yt = class Yt extends HTMLElement {
24
+ let _t = Vt;
25
+ const _ = new _t();
26
+ var C, $, y, D, P, B, dt, N, ft;
27
+ const Xt = class Xt extends HTMLElement {
28
28
  constructor() {
29
29
  super();
30
- h(this, C);
31
- h(this, $, !1);
32
- h(this, p);
33
- h(this, D);
34
- h(this, P);
35
- h(this, B);
36
- h(this, ct, /* @__PURE__ */ a(() => {
30
+ d(this, C);
31
+ d(this, $, !1);
32
+ d(this, y);
33
+ d(this, D);
34
+ d(this, P);
35
+ d(this, B);
36
+ d(this, dt, /* @__PURE__ */ a(() => {
37
37
  if (!t(this, C)) return;
38
38
  const e = t(this, C).querySelector(".ng-container-body");
39
39
  e && (b(this, B, new ResizeObserver(() => {
@@ -41,45 +41,45 @@ const Yt = class Yt extends HTMLElement {
41
41
  })), t(this, B).observe(e));
42
42
  }, "#observeResize"));
43
43
  S(this, "refresh", /* @__PURE__ */ a(() => {
44
- if (!t(this, C) || !t(this, p) || t(this, $)) return;
45
- const e = t(this, p).container, s = e.querySelector("table");
44
+ if (!t(this, C) || !t(this, y) || t(this, $)) return;
45
+ const e = t(this, y).container, s = e.querySelector("table");
46
46
  if (!s) return;
47
- const n = t(this, p).track, o = t(this, p).thumb, r = t(this, C).querySelector(".ng-container-bottom"), l = e.clientWidth, c = s.scrollWidth;
47
+ const n = t(this, y).track, o = t(this, y).thumb, r = t(this, C).querySelector(".ng-container-bottom"), l = e.clientWidth, c = s.scrollWidth;
48
48
  if (l !== 0 && c > l)
49
49
  r && (r.style.display = "flex");
50
50
  else {
51
51
  r && (r.style.display = "none");
52
52
  return;
53
53
  }
54
- const d = n.clientWidth;
55
- if (d <= 0) return;
56
- const u = Math.max(Math.min(d * (l / c), d), 20);
54
+ const h = n.clientWidth;
55
+ if (h <= 0) return;
56
+ const u = Math.max(Math.min(h * (l / c), h), 20);
57
57
  o.style.width = `${u}px`;
58
58
  const f = e.scrollLeft, g = c - l;
59
- let y = 0;
60
- g > 0 && (y = parseInt(f / g * (d - u), 10)), y < 0 && (y = 0);
61
- const w = d - u;
62
- y > w && (y = w), o.style.left = `${y}px`, _.log(y), t(this, p).left.disabled = y === 0, t(this, p).right.disabled = y >= w - 1;
59
+ let p = 0;
60
+ g > 0 && (p = parseInt(f / g * (h - u), 10)), p < 0 && (p = 0);
61
+ const w = h - u;
62
+ p > w && (p = w), o.style.left = `${p}px`, _.log(p), t(this, y).left.disabled = p === 0, t(this, y).right.disabled = p >= w - 1;
63
63
  }, "refresh"));
64
- h(this, N, /* @__PURE__ */ a((e) => {
65
- if (!t(this, p)) return !1;
66
- const s = t(this, p).container, n = s.querySelector("table");
64
+ d(this, N, /* @__PURE__ */ a((e) => {
65
+ if (!t(this, y)) return !1;
66
+ const s = t(this, y).container, n = s.querySelector("table");
67
67
  if (!n) return !1;
68
- const o = t(this, p).track.getBoundingClientRect(), r = t(this, p).thumb.clientWidth;
68
+ const o = t(this, y).track.getBoundingClientRect(), r = t(this, y).thumb.clientWidth;
69
69
  let l = e;
70
70
  l < 0 && (l = 0);
71
71
  const c = o.width - r;
72
- l > c && (l = c), l = parseInt(l, 10), t(this, p).thumb.style.left = `${l}px`, t(this, p).left.disabled = l === 0, t(this, p).right.disabled = l >= c - 1;
73
- const d = s.clientWidth, f = n.scrollWidth - d;
72
+ l > c && (l = c), l = parseInt(l, 10), t(this, y).thumb.style.left = `${l}px`, t(this, y).left.disabled = l === 0, t(this, y).right.disabled = l >= c - 1;
73
+ const h = s.clientWidth, f = n.scrollWidth - h;
74
74
  return c > 0 && f > 0 && (s.scrollLeft = l / c * f), l > 0 && l < c - 1;
75
75
  }, "#thumbMoveTo"));
76
- h(this, ht, /* @__PURE__ */ a(() => {
76
+ d(this, ft, /* @__PURE__ */ a(() => {
77
77
  const e = /* @__PURE__ */ a((n) => {
78
78
  clearInterval(t(this, D)), clearInterval(t(this, P));
79
- const o = parseInt(t(this, p).thumb.style.left || 0, 10);
79
+ const o = parseInt(t(this, y).thumb.style.left || 0, 10);
80
80
  t(this, N).call(this, o + n), b(this, D, setInterval(() => {
81
81
  clearInterval(t(this, D)), b(this, P, setInterval(() => {
82
- const r = parseInt(t(this, p).thumb.style.left || 0, 10);
82
+ const r = parseInt(t(this, y).thumb.style.left || 0, 10);
83
83
  t(this, N).call(this, r + n) || clearInterval(t(this, P));
84
84
  }, 50));
85
85
  }, 500));
@@ -87,22 +87,22 @@ const Yt = class Yt extends HTMLElement {
87
87
  clearInterval(t(this, D)), clearInterval(t(this, P));
88
88
  }, "clearTimer");
89
89
  ["mouseup", "mouseleave", "touchend"].forEach((n) => {
90
- t(this, p).left.addEventListener(n, s), t(this, p).right.addEventListener(n, s), t(this, p).track.addEventListener(n, s);
91
- }), t(this, p).left.addEventListener("mousedown", (n) => {
90
+ t(this, y).left.addEventListener(n, s), t(this, y).right.addEventListener(n, s), t(this, y).track.addEventListener(n, s);
91
+ }), t(this, y).left.addEventListener("mousedown", (n) => {
92
92
  n.button === 0 && e(-20);
93
- }), t(this, p).right.addEventListener("mousedown", (n) => {
93
+ }), t(this, y).right.addEventListener("mousedown", (n) => {
94
94
  n.button === 0 && e(20);
95
- }), t(this, p).left.addEventListener("touchstart", () => e(-20)), t(this, p).right.addEventListener("touchstart", () => e(20)), t(this, p).track.addEventListener("mousedown", (n) => {
95
+ }), t(this, y).left.addEventListener("touchstart", () => e(-20)), t(this, y).right.addEventListener("touchstart", () => e(20)), t(this, y).track.addEventListener("mousedown", (n) => {
96
96
  if (n.button !== 0) return;
97
97
  n.preventDefault();
98
- const o = t(this, p).track.getBoundingClientRect(), r = t(this, p).thumb.clientWidth;
98
+ const o = t(this, y).track.getBoundingClientRect(), r = t(this, y).thumb.clientWidth;
99
99
  t(this, N).call(this, n.clientX - o.left - r / 2);
100
- }), t(this, p).thumb.addEventListener("mousedown", (n) => {
100
+ }), t(this, y).thumb.addEventListener("mousedown", (n) => {
101
101
  if (n.button !== 0) return;
102
- n.stopPropagation(), n.preventDefault(), b(this, $, !0), this.shiftX = n.clientX - t(this, p).thumb.getBoundingClientRect().left;
102
+ n.stopPropagation(), n.preventDefault(), b(this, $, !0), this.shiftX = n.clientX - t(this, y).thumb.getBoundingClientRect().left;
103
103
  const o = /* @__PURE__ */ a((l) => {
104
104
  if (!t(this, $)) return;
105
- const c = t(this, p).track.getBoundingClientRect();
105
+ const c = t(this, y).track.getBoundingClientRect();
106
106
  t(this, N).call(this, l.clientX - c.left - this.shiftX);
107
107
  }, "onMouseMove"), r = /* @__PURE__ */ a(() => {
108
108
  b(this, $, !1), s(), document.removeEventListener("mousemove", o), document.removeEventListener("mouseup", r), this.refresh();
@@ -182,7 +182,7 @@ const Yt = class Yt extends HTMLElement {
182
182
  setTimeout(e, 10);
183
183
  return;
184
184
  }
185
- b(this, p, {
185
+ b(this, y, {
186
186
  container: s,
187
187
  track: this.querySelector(".ng-scroll-track"),
188
188
  thumb: this.querySelector(".ng-scroll-thumb"),
@@ -190,7 +190,7 @@ const Yt = class Yt extends HTMLElement {
190
190
  right: this.querySelector(".ng-scroll-right")
191
191
  }), s.addEventListener("scroll", () => {
192
192
  t(this, $) || this.refresh();
193
- }), t(this, ht).call(this), t(this, ct).call(this), this.refresh();
193
+ }), t(this, ft).call(this), t(this, dt).call(this), this.refresh();
194
194
  }, "initWhenReady");
195
195
  e();
196
196
  }
@@ -198,23 +198,23 @@ const Yt = class Yt extends HTMLElement {
198
198
  t(this, B) && t(this, B).disconnect();
199
199
  }
200
200
  };
201
- C = new WeakMap(), $ = new WeakMap(), p = new WeakMap(), D = new WeakMap(), P = new WeakMap(), B = new WeakMap(), ct = new WeakMap(), N = new WeakMap(), ht = new WeakMap(), a(Yt, "NineTableHScrollBar");
202
- let _t = Yt;
203
- customElements.get("nine-table-hscrollbar") || customElements.define("nine-table-hscrollbar", _t);
204
- var V, I, E, tt, et, dt;
205
- const Xt = class Xt extends HTMLElement {
201
+ C = new WeakMap(), $ = new WeakMap(), y = new WeakMap(), D = new WeakMap(), P = new WeakMap(), B = new WeakMap(), dt = new WeakMap(), N = new WeakMap(), ft = new WeakMap(), a(Xt, "NineTableHScrollBar");
202
+ let $t = Xt;
203
+ customElements.get("nine-table-hscrollbar") || customElements.define("nine-table-hscrollbar", $t);
204
+ var Y, I, E, it, st, ut;
205
+ const Ut = class Ut extends HTMLElement {
206
206
  constructor() {
207
207
  super();
208
- h(this, V);
209
- h(this, I, !1);
210
- h(this, E);
211
- h(this, tt, 0);
212
- h(this, et, 0);
208
+ d(this, Y);
209
+ d(this, I, !1);
210
+ d(this, E);
211
+ d(this, it, 0);
212
+ d(this, st, 0);
213
213
  /**
214
214
  * 🎯 μŠ€ν¬λ‘€λ°” μœ„μΉ˜ 및 썸브 크기 κ°±μ‹ 
215
215
  */
216
216
  S(this, "refresh", /* @__PURE__ */ a(() => {
217
- if (!t(this, V) || !t(this, E) || t(this, I)) return;
217
+ if (!t(this, Y) || !t(this, E) || t(this, I)) return;
218
218
  const e = t(this, E).container, s = e.querySelector("table");
219
219
  if (!s) return;
220
220
  const n = t(this, E).track, o = t(this, E).thumb, r = e.clientHeight, l = s.scrollHeight;
@@ -225,27 +225,27 @@ const Xt = class Xt extends HTMLElement {
225
225
  o.style.display = "block";
226
226
  const c = n.clientHeight;
227
227
  if (c <= 0) return;
228
- const d = Math.max(Math.min(c * (r / l), c), 20);
229
- o.style.height = `${d}px`;
228
+ const h = Math.max(Math.min(c * (r / l), c), 20);
229
+ o.style.height = `${h}px`;
230
230
  const u = e.scrollTop, f = l - r;
231
231
  let g = 0;
232
- f > 0 && (g = u / f * (c - d));
233
- const y = c - d;
234
- g < 0 && (g = 0), g > y && (g = y), o.style.top = `${g}px`, t(this, E).top.disabled = u <= 0, t(this, E).bottom.disabled = u >= f - 1;
232
+ f > 0 && (g = u / f * (c - h));
233
+ const p = c - h;
234
+ g < 0 && (g = 0), g > p && (g = p), o.style.top = `${g}px`, t(this, E).top.disabled = u <= 0, t(this, E).bottom.disabled = u >= f - 1;
235
235
  }, "refresh"));
236
- h(this, dt, /* @__PURE__ */ a(() => {
236
+ d(this, ut, /* @__PURE__ */ a(() => {
237
237
  const e = t(this, E).container;
238
238
  e.addEventListener("scroll", () => {
239
239
  t(this, I) || this.refresh();
240
240
  }), t(this, E).thumb.addEventListener("mousedown", (s) => {
241
241
  if (s.button !== 0) return;
242
- s.stopPropagation(), s.preventDefault(), b(this, I, !0), b(this, tt, s.clientY), b(this, et, e.scrollTop);
242
+ s.stopPropagation(), s.preventDefault(), b(this, I, !0), b(this, it, s.clientY), b(this, st, e.scrollTop);
243
243
  const n = /* @__PURE__ */ a((r) => {
244
244
  if (!t(this, I)) return;
245
- const l = t(this, E).track.getBoundingClientRect(), c = t(this, E).thumb.clientHeight, u = l.height - c, f = r.clientY - t(this, tt), g = e.clientHeight, w = table.scrollHeight - g;
245
+ const l = t(this, E).track.getBoundingClientRect(), c = t(this, E).thumb.clientHeight, u = l.height - c, f = r.clientY - t(this, it), g = e.clientHeight, w = table.scrollHeight - g;
246
246
  if (u > 0 && w > 0) {
247
- const L = f / u * w;
248
- e.scrollTop = t(this, et) + L;
247
+ const k = f / u * w;
248
+ e.scrollTop = t(this, st) + k;
249
249
  }
250
250
  this.refresh();
251
251
  }, "onMouseMove"), o = /* @__PURE__ */ a(() => {
@@ -254,7 +254,7 @@ const Xt = class Xt extends HTMLElement {
254
254
  document.addEventListener("mousemove", n), document.addEventListener("mouseup", o);
255
255
  }), t(this, E).track.addEventListener("mousedown", (s) => {
256
256
  if (s.button !== 0 || s.target === t(this, E).thumb) return;
257
- const n = t(this, E).track.getBoundingClientRect(), o = t(this, E).thumb.clientHeight, r = s.clientY - n.top - o / 2, c = n.height - o, d = e.clientHeight, f = e.querySelector("table").scrollHeight - d;
257
+ const n = t(this, E).track.getBoundingClientRect(), o = t(this, E).thumb.clientHeight, r = s.clientY - n.top - o / 2, c = n.height - o, h = e.clientHeight, f = e.querySelector("table").scrollHeight - h;
258
258
  if (c > 0 && f > 0) {
259
259
  const g = Math.max(0, Math.min(1, r / c));
260
260
  e.scrollTop = g * f;
@@ -268,7 +268,7 @@ const Xt = class Xt extends HTMLElement {
268
268
  }, "#init"));
269
269
  }
270
270
  connectedCallback() {
271
- if (b(this, V, this.closest("nine-table-sheet") || this.getRootNode().host), !t(this, V)) return;
271
+ if (b(this, Y, this.closest("nine-table-sheet") || this.getRootNode().host), !t(this, Y)) return;
272
272
  this.innerHTML = `
273
273
  <style>
274
274
  nine-table-vscrollbar {
@@ -333,7 +333,7 @@ const Xt = class Xt extends HTMLElement {
333
333
  <button class='ng-scroll-bottom' disabled><div class='ng-scroll-icon'></div></button>
334
334
  `;
335
335
  const e = /* @__PURE__ */ a(() => {
336
- const s = t(this, V).querySelector(".ng-container-body");
336
+ const s = t(this, Y).querySelector(".ng-container-body");
337
337
  if (!s) {
338
338
  setTimeout(e, 10);
339
339
  return;
@@ -344,15 +344,15 @@ const Xt = class Xt extends HTMLElement {
344
344
  thumb: this.querySelector(".ng-scroll-thumb"),
345
345
  top: this.querySelector(".ng-scroll-top"),
346
346
  bottom: this.querySelector(".ng-scroll-bottom")
347
- }), t(this, dt).call(this), this.refresh();
347
+ }), t(this, ut).call(this), this.refresh();
348
348
  }, "initWhenReady");
349
349
  e();
350
350
  }
351
351
  };
352
- V = new WeakMap(), I = new WeakMap(), E = new WeakMap(), tt = new WeakMap(), et = new WeakMap(), dt = new WeakMap(), a(Xt, "NineTableVScrollBar");
353
- let $t = Xt;
354
- customElements.get("nine-table-vscrollbar") || customElements.define("nine-table-vscrollbar", $t);
355
- var ft, j;
352
+ Y = new WeakMap(), I = new WeakMap(), E = new WeakMap(), it = new WeakMap(), st = new WeakMap(), ut = new WeakMap(), a(Ut, "NineTableVScrollBar");
353
+ let It = Ut;
354
+ customElements.get("nine-table-vscrollbar") || customElements.define("nine-table-vscrollbar", It);
355
+ var gt, j;
356
356
  const H = class H {
357
357
  /**
358
358
  * 🎯 λ ˆμ΄μ•„μ›ƒ λ‚΄μ˜ μ—¬λŸ¬ rawTables 배열을 μΌκ΄„λ‘œ λ°›μ•„ 단일 λ§ˆμŠ€ν„° ν…œν”Œλ¦ΏμœΌλ‘œ 사전 μ»΄νŒŒμΌν•©λ‹ˆλ‹€.
@@ -367,15 +367,15 @@ const H = class H {
367
367
  var n, o, r, l;
368
368
  if (!i) return null;
369
369
  const e = i.cloneNode(!0);
370
- return t(n = H, ft).call(n, e), t(o = H, j).call(o, e, "thead"), t(r = H, j).call(r, e, "tbody"), t(l = H, j).call(l, e, "tfoot"), Array.from(e.querySelectorAll("colgroup col")).forEach((c, d) => {
370
+ return t(n = H, gt).call(n, e), t(o = H, j).call(o, e, "thead"), t(r = H, j).call(r, e, "tbody"), t(l = H, j).call(l, e, "tfoot"), Array.from(e.querySelectorAll("colgroup col")).forEach((c, h) => {
371
371
  const u = c.getAttribute("fixed");
372
- u && e.querySelectorAll(`thead [data-col="${d}"], tbody [data-col="${d}"], tfoot [data-col="${d}"]`).forEach((f) => {
372
+ u && e.querySelectorAll(`thead [data-col="${h}"], tbody [data-col="${h}"], tfoot [data-col="${h}"]`).forEach((f) => {
373
373
  f.setAttribute("fixed", u);
374
374
  });
375
375
  }), e;
376
376
  }
377
377
  };
378
- ft = new WeakMap(), j = new WeakMap(), a(H, "TableCompiler"), h(H, ft, /* @__PURE__ */ a((i) => {
378
+ gt = new WeakMap(), j = new WeakMap(), a(H, "TableCompiler"), d(H, gt, /* @__PURE__ */ a((i) => {
379
379
  if (!i.querySelector("colgroup")) {
380
380
  const e = i.querySelector("tbody tr") || i.querySelector("tr"), s = e ? e.querySelectorAll("th, td").length : 1, n = document.createElement("colgroup"), o = Math.max(Math.floor(i.clientWidth / s), 100);
381
381
  for (let r = 0; r < s; r++) {
@@ -389,7 +389,7 @@ ft = new WeakMap(), j = new WeakMap(), a(H, "TableCompiler"), h(H, ft, /* @__PUR
389
389
  s ? s.after(e) : i.prepend(e);
390
390
  }
391
391
  i.classList.add("nine-table-element"), i.style.display = "table";
392
- }, "#ensureTableStructure")), h(H, j, /* @__PURE__ */ a((i, e) => {
392
+ }, "#ensureTableStructure")), d(H, j, /* @__PURE__ */ a((i, e) => {
393
393
  const s = Array.from(i.querySelectorAll(e + " tr")), n = Array.from(i.querySelectorAll(e + " th," + e + " td")), o = s.length;
394
394
  if (o === 0 || n.length === 0) return;
395
395
  let r = 0;
@@ -398,48 +398,48 @@ ft = new WeakMap(), j = new WeakMap(), a(H, "TableCompiler"), h(H, ft, /* @__PUR
398
398
  });
399
399
  const l = Array.from(Array(o), () => Array(r).fill(null));
400
400
  s.forEach((c) => {
401
- const d = c.sectionRowIndex;
401
+ const h = c.sectionRowIndex;
402
402
  let u = 0;
403
403
  Array.from(c.querySelectorAll("th,td")).forEach((f) => {
404
- for (let w = 0; w < l[d].length; w++)
405
- if (l[d][w] === null) {
404
+ for (let w = 0; w < l[h].length; w++)
405
+ if (l[h][w] === null) {
406
406
  u = w;
407
407
  break;
408
408
  }
409
- const g = f.rowSpan || 1, y = f.colSpan || 1;
409
+ const g = f.rowSpan || 1, p = f.colSpan || 1;
410
410
  for (let w = 0; w < g; w++)
411
- for (let L = 0; L < y; L++)
412
- d + w < o && u + L < r && (l[d + w][u + L] = w === 0 && L === 0 ? "1" : "0");
411
+ for (let k = 0; k < p; k++)
412
+ h + w < o && u + k < r && (l[h + w][u + k] = w === 0 && k === 0 ? "1" : "0");
413
413
  });
414
414
  }), s.forEach((c) => {
415
- const d = c.sectionRowIndex;
415
+ const h = c.sectionRowIndex;
416
416
  Array.from(c.querySelectorAll("th,td")).forEach((u) => {
417
- for (let f = 0; f < l[d].length; f++)
418
- if (l[d][f] === "1") {
419
- u.dataset.col = f, l[d][f] = "0";
417
+ for (let f = 0; f < l[h].length; f++)
418
+ if (l[h][f] === "1") {
419
+ u.dataset.col = f, l[h][f] = "0";
420
420
  break;
421
421
  }
422
422
  });
423
423
  });
424
424
  }, "#resetColIndex"));
425
- let It = H;
426
- var x, M, R, W, Y, X, ut, gt, bt, it, pt, yt, st, nt, mt;
427
- const Ut = class Ut {
425
+ let Wt = H;
426
+ var m, M, R, W, V, X, bt, pt, nt, ot, yt, mt, rt, F, xt;
427
+ const Kt = class Kt {
428
428
  constructor(i) {
429
- h(this, x);
430
- h(this, M, /* @__PURE__ */ new Map());
429
+ d(this, m);
430
+ d(this, M, /* @__PURE__ */ new Map());
431
431
  // 각 μ»¨ν…Œμ΄λ„ˆλ³„ λ…λ¦½λœ ν…œν”Œλ¦Ώ TR 관리
432
- h(this, R, null);
433
- h(this, W, null);
434
- h(this, Y, 0);
435
- h(this, X, 40);
432
+ d(this, R, null);
433
+ d(this, W, null);
434
+ d(this, V, 0);
435
+ d(this, X, 40);
436
436
  /**
437
437
  * 🎯 μ™ΈλΆ€μ—μ„œ 데이터가 λ‘œλ“œλ˜κ±°λ‚˜ λ³€κ²½λœ ν›„ 가상 높이와 λ·°λ₯Ό μž¬κ°±μ‹ ν•˜λŠ” 퍼블릭 λ©”μ„œλ“œ
438
438
  */
439
439
  S(this, "refresh", /* @__PURE__ */ a(() => {
440
440
  var e;
441
- const i = t(this, x).querySelector(".ng-container-body");
442
- i && (t(this, bt).call(this), t(this, nt).call(this, i.scrollTop), (e = t(this, x).querySelector("nine-table-vscrollbar")) == null || e.refresh());
441
+ const i = t(this, m).querySelector(".ng-container-body");
442
+ i && (t(this, nt).call(this), t(this, F).call(this, i.scrollTop), (e = t(this, m).querySelector("nine-table-vscrollbar")) == null || e.refresh());
443
443
  }, "refresh"));
444
444
  /**
445
445
  * 🎯 NineTableSheetμ—μ„œ λ§ˆμŠ€ν„° ν…Œμ΄λΈ”μ„ 전달받아 각 μ˜μ—­λ³„ ν…Œμ΄λΈ” 생성 및 ν…œν”Œλ¦Ώ μΆ”μΆœ 일원화
@@ -447,7 +447,7 @@ const Ut = class Ut {
447
447
  // [RowManager.js μˆ˜μ • λ‚΄μš© 발췌]
448
448
  S(this, "initialize", /* @__PURE__ */ a(() => {
449
449
  b(this, R, null), t(this, M).clear(), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((e) => {
450
- const s = t(this, x).querySelector(e);
450
+ const s = t(this, m).querySelector(e);
451
451
  if (!s) return;
452
452
  const n = s.querySelector("table");
453
453
  if (!n) return;
@@ -456,18 +456,18 @@ const Ut = class Ut {
456
456
  const l = Array.from(o.querySelectorAll("tr")).map((c) => c.cloneNode(!0));
457
457
  t(this, M).set(e, l);
458
458
  });
459
- const i = t(this, x).querySelector(".ng-container-body");
459
+ const i = t(this, m).querySelector(".ng-container-body");
460
460
  if (i) {
461
- t(this, gt).call(this, i), t(this, st).call(this);
461
+ t(this, pt).call(this, i), t(this, rt).call(this), t(this, nt).call(this), t(this, F).call(this, i.scrollTop);
462
462
  let e = i.scrollTop;
463
463
  i.addEventListener("scroll", () => {
464
464
  var n;
465
465
  const s = i.scrollTop;
466
- _.log(e, s), e !== s && (e = s, t(this, nt).call(this, s)), (n = t(this, x).querySelector("nine-table-vscrollbar")) == null || n.refresh();
466
+ _.log(e, s), e !== s && (e = s, t(this, F).call(this, s)), (n = t(this, m).querySelector("nine-table-vscrollbar")) == null || n.refresh();
467
467
  });
468
468
  }
469
469
  }, "initialize"));
470
- h(this, ut, /* @__PURE__ */ a((i, e) => {
470
+ d(this, bt, /* @__PURE__ */ a((i, e) => {
471
471
  const s = t(this, M).get(e);
472
472
  if (!s || s.length === 0) return;
473
473
  const n = i.querySelector("tbody");
@@ -483,7 +483,7 @@ const Ut = class Ut {
483
483
  /**
484
484
  * 🎯 ν…œν”Œλ¦Ώ TRλ“€μ˜ 총 높이λ₯Ό μΈ‘μ •ν•˜κ³  캐싱
485
485
  */
486
- h(this, gt, /* @__PURE__ */ a((i) => {
486
+ d(this, pt, /* @__PURE__ */ a((i) => {
487
487
  if (t(this, R) !== null && t(this, R) > 0)
488
488
  return t(this, R);
489
489
  const e = t(this, M).get(".ng-container-body");
@@ -495,13 +495,13 @@ const Ut = class Ut {
495
495
  e.forEach((g) => {
496
496
  o.appendChild(g.cloneNode(!0));
497
497
  }), n ? n.before(o) : s.appendChild(o);
498
- const r = t(this, x), l = r.style.display, c = r.style.visibility, d = r.style.position;
498
+ const r = t(this, m), l = r.style.display, c = r.style.visibility, h = r.style.position;
499
499
  (l === "none" || window.getComputedStyle(r).display === "none") && (r.style.display = "block", r.style.visibility = "hidden", r.style.position = "absolute");
500
500
  let u = 0;
501
501
  const f = s.querySelectorAll("tr:not(.nodata)");
502
502
  return f.forEach((g) => {
503
503
  u += g.offsetHeight || g.getBoundingClientRect().height;
504
- }), f.forEach((g) => g.remove()), r.style.display = l, r.style.visibility = c, r.style.position = d, b(this, R, u > 0 ? u : 24), t(this, it).call(this), _.log(`[RowManager] Height Cached: ${t(this, R)}px | RowCount: ${t(this, X)}`), t(this, R);
504
+ }), f.forEach((g) => g.remove()), r.style.display = l, r.style.visibility = c, r.style.position = h, b(this, R, u > 0 ? u : 24), t(this, ot).call(this), _.log(`[RowManager] Height Cached: ${t(this, R)}px | RowCount: ${t(this, X)}`), t(this, R);
505
505
  }, "#measureAndCacheHeight"));
506
506
  /**
507
507
  * 🎯 전체 데이터 개수 기반으둜 가상 슀크둀 높이 μ„€μ •
@@ -509,41 +509,41 @@ const Ut = class Ut {
509
509
  /**
510
510
  * 🎯 전체 데이터 개수 기반으둜 가상 슀크둀 높이 μ„€μ •
511
511
  */
512
- h(this, bt, /* @__PURE__ */ a(() => {
512
+ d(this, nt, /* @__PURE__ */ a(() => {
513
513
  var o, r, l, c;
514
- if (!t(this, x).querySelector(".ng-container-body")) return;
515
- const e = (typeof ((o = t(this, x).data) == null ? void 0 : o.count) == "function" ? t(this, x).data.count() : null) ?? ((l = (r = t(this, x).dataManager) == null ? void 0 : r.rawRecords) == null ? void 0 : l.length) ?? ((c = t(this, x).data) == null ? void 0 : c.length) ?? 0, s = t(this, R) || 24, n = e * s;
516
- _.log(`[RowManager] TotalCount: ${e} | RowHeight: ${s}px | TotalVirtualHeight: ${n}px`), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((d) => {
517
- const u = t(this, x).querySelector(d), f = u == null ? void 0 : u.querySelector("table");
518
- f ? (f.style.height = `${n}px`, _.log(`[RowManager] Applied height to ${d} table:`, f.style.height)) : _.log(`[RowManager] Table not found for selector: ${d}`);
514
+ if (!t(this, m).querySelector(".ng-container-body")) return;
515
+ const e = (typeof ((o = t(this, m).data) == null ? void 0 : o.count) == "function" ? t(this, m).data.count() : null) ?? ((l = (r = t(this, m).dataManager) == null ? void 0 : r.rawRecords) == null ? void 0 : l.length) ?? ((c = t(this, m).data) == null ? void 0 : c.length) ?? 0, s = t(this, R) || 24, n = e * s;
516
+ _.log(`[RowManager] TotalCount: ${e} | RowHeight: ${s}px | TotalVirtualHeight: ${n}px`), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((h) => {
517
+ const u = t(this, m).querySelector(h), f = u == null ? void 0 : u.querySelector("table");
518
+ f ? (f.style.height = `${n}px`, _.log(`[RowManager] Applied height to ${h} table:`, f.style.height)) : _.log(`[RowManager] Table not found for selector: ${h}`);
519
519
  });
520
520
  }, "#updateVirtualScrollHeight"));
521
- h(this, it, /* @__PURE__ */ a(() => {
522
- if (t(this, Y) > 0 && t(this, R) > 0) {
523
- const i = Math.ceil(t(this, Y) / t(this, R));
521
+ d(this, ot, /* @__PURE__ */ a(() => {
522
+ if (t(this, V) > 0 && t(this, R) > 0) {
523
+ const i = Math.ceil(t(this, V) / t(this, R));
524
524
  b(this, X, i + 20);
525
525
  } else
526
526
  b(this, X, 40);
527
527
  }, "#updateRowCount"));
528
- h(this, pt, /* @__PURE__ */ a(() => {
529
- var c, d, u;
530
- const i = t(this, x).querySelector(".ng-container-left table"), e = t(this, x).querySelector(".ng-container-body table"), s = t(this, x).querySelector(".ng-container-right table");
528
+ d(this, yt, /* @__PURE__ */ a(() => {
529
+ var c, h, u;
530
+ const i = t(this, m).querySelector(".ng-container-left table"), e = t(this, m).querySelector(".ng-container-body table"), s = t(this, m).querySelector(".ng-container-right table");
531
531
  if (!e) return;
532
532
  const n = i ? Array.from(i.querySelectorAll("tr")) : [], o = Array.from(e.querySelectorAll("tr")), r = s ? Array.from(s.querySelectorAll("tr")) : [], l = Math.max(n.length, o.length, r.length);
533
533
  for (let f = 0; f < l; f++) {
534
534
  const g = [
535
535
  ((c = n[f]) == null ? void 0 : c.getBoundingClientRect().height) || 0,
536
- ((d = o[f]) == null ? void 0 : d.getBoundingClientRect().height) || 0,
536
+ ((h = o[f]) == null ? void 0 : h.getBoundingClientRect().height) || 0,
537
537
  ((u = r[f]) == null ? void 0 : u.getBoundingClientRect().height) || 0
538
- ], y = Math.max(...g);
539
- y > 0 && (n[f] && (n[f].style.height = `${y}px`), o[f] && (o[f].style.height = `${y}px`), r[f] && (r[f].style.height = `${y}px`));
538
+ ], p = Math.max(...g);
539
+ p > 0 && (n[f] && (n[f].style.height = `${p}px`), o[f] && (o[f].style.height = `${p}px`), r[f] && (r[f].style.height = `${p}px`));
540
540
  }
541
541
  }, "#syncRowHeights"));
542
542
  /**
543
543
  * 🎯 ResizeObserver μ„€μ •: μ‹œνŠΈ 크기 λ³€κ²½ μ‹œ ν–‰ 개수 μž¬μ‚°μ • 및 μž¬λ Œλ”λ§
544
544
  */
545
- h(this, yt, /* @__PURE__ */ a(() => {
546
- !t(this, x) || !(t(this, x) instanceof HTMLElement) || (b(this, W, new ResizeObserver((i) => {
545
+ d(this, mt, /* @__PURE__ */ a(() => {
546
+ !t(this, m) || !(t(this, m) instanceof HTMLElement) || (b(this, W, new ResizeObserver((i) => {
547
547
  for (const e of i) {
548
548
  const s = e.target;
549
549
  if (!s.classList.contains("active")) continue;
@@ -553,46 +553,47 @@ const Ut = class Ut {
553
553
  const r = s.querySelector("thead");
554
554
  r && (o += r.offsetHeight || r.getBoundingClientRect().height);
555
555
  const l = Math.max(n - o, 100);
556
- t(this, Y) !== l && (b(this, Y, l), t(this, it).call(this), t(this, R) !== null && t(this, st).call(this));
556
+ t(this, V) !== l && (b(this, V, l), t(this, ot).call(this), t(this, R) !== null && t(this, rt).call(this));
557
557
  }
558
558
  }
559
- })), t(this, W).observe(t(this, x)));
559
+ })), t(this, W).observe(t(this, m)));
560
560
  }, "#initResizeObserver"));
561
561
  /**
562
562
  * 🎯 λ°”λ”” 및 쒌우 κ³ μ • μ»¨ν…Œμ΄λ„ˆ 전체에 각각에 λ§žλŠ” ν…œν”Œλ¦Ώ ν–‰ λΌˆλŒ€ μ£Όμž…
563
563
  */
564
- h(this, st, /* @__PURE__ */ a(() => {
564
+ d(this, rt, /* @__PURE__ */ a(() => {
565
565
  [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((i) => {
566
- const e = t(this, x).querySelector(i);
567
- e && e.querySelector("tbody") && t(this, ut).call(this, e, i);
568
- }), t(this, pt).call(this);
566
+ const e = t(this, m).querySelector(i);
567
+ e && e.querySelector("tbody") && t(this, bt).call(this, e, i);
568
+ }), t(this, yt).call(this);
569
569
  }, "#renderAllContainers"));
570
570
  /**
571
571
  * 🎯 슀크둀 μœ„μΉ˜μ— λ”°λ₯Έ 데이터 바인딩 κ°±μ‹ 
572
572
  */
573
- h(this, nt, /* @__PURE__ */ a((i) => {
573
+ /**
574
+ * 🎯 슀크둀 μœ„μΉ˜μ— λ”°λ₯Έ 데이터 바인딩 및 tbody λ―Έμ„Έ ν”½μ…€ 이동(translateY) κ°±μ‹ 
575
+ */
576
+ d(this, F, /* @__PURE__ */ a((i) => {
574
577
  var r;
575
578
  const e = t(this, R);
576
579
  if (!e || e <= 0) return;
577
- const s = ((r = t(this, M).get(".ng-container-body")) == null ? void 0 : r.length) || 1, n = Math.floor(i / e), o = Math.max(0, n);
580
+ const s = Math.max(0, Math.floor(i / e)), n = i % e, o = ((r = t(this, M).get(".ng-container-body")) == null ? void 0 : r.length) || 1;
578
581
  [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((l) => {
579
- const c = t(this, x).querySelector(l);
582
+ const c = t(this, m).querySelector(l);
580
583
  if (!c) return;
581
- const d = c.querySelector("tbody");
582
- if (!d) return;
583
- Array.from(d.querySelectorAll("tr:not(.nodata)")).forEach((f, g) => {
584
- const y = o + Math.floor(g / s), w = t(this, x).getData ? t(this, x).getData(y) : null;
585
- w ? (f.style.display = "", t(this, mt).call(this, f, w, y)) : f.style.display = "none";
584
+ const h = c.querySelector("tbody");
585
+ if (!h) return;
586
+ h.style.transform = `translateY(-${n}px)`, h.style.willChange = "transform", Array.from(h.querySelectorAll("tr:not(.nodata)")).forEach((f, g) => {
587
+ var k, tt, Qt, te;
588
+ const p = s + Math.floor(g / o), w = (typeof t(this, m).getData == "function" ? t(this, m).getData(p) : null) ?? (typeof ((k = t(this, m).data) == null ? void 0 : k.get) == "function" ? t(this, m).data.get(p) : null) ?? ((Qt = (tt = t(this, m).dataManager) == null ? void 0 : tt.rawRecords) == null ? void 0 : Qt[p]) ?? ((te = t(this, m).data) == null ? void 0 : te[p]) ?? null;
589
+ w ? (f.style.display = "", t(this, xt).call(this, f, w, p)) : f.style.display = "none";
586
590
  });
587
591
  });
588
592
  }, "#handleScroll"));
589
593
  /**
590
594
  * 🎯 κ°œλ³„ TR μ—˜λ¦¬λ¨ΌνŠΈμ— μ‹€μ œ 데이터 값을 κ½‚μ•„μ£ΌλŠ” 바인딩 λ©”μ„œλ“œ
591
595
  */
592
- /**
593
- * 🎯 κ°œλ³„ TR μ—˜λ¦¬λ¨ΌνŠΈμ— μ‹€μ œ 데이터 값을 κ½‚μ•„μ£ΌλŠ” 바인딩 λ©”μ„œλ“œ
594
- */
595
- h(this, mt, /* @__PURE__ */ a((i, e, s) => {
596
+ d(this, xt, /* @__PURE__ */ a((i, e, s) => {
596
597
  i.dataset.row = s, Array.from(i.cells).forEach((n, o) => {
597
598
  const r = n.dataset.bind;
598
599
  r && e && e[r] !== void 0 ? n.textContent = e[r] : n.textContent = e ? e[Object.keys(e)[o]] ?? `R${s}C${o}` : `ν–‰ ${s + 1}`, n.dataset.row = s;
@@ -601,7 +602,7 @@ const Ut = class Ut {
601
602
  S(this, "destroy", /* @__PURE__ */ a(() => {
602
603
  t(this, W) && (t(this, W).disconnect(), b(this, W, null));
603
604
  }, "destroy"));
604
- b(this, x, i), t(this, yt).call(this);
605
+ b(this, m, i), t(this, mt).call(this);
605
606
  }
606
607
  getRowHeight() {
607
608
  return t(this, R);
@@ -611,15 +612,15 @@ const Ut = class Ut {
611
612
  return ((e = t(this, M).get(i)) == null ? void 0 : e.length) || 1;
612
613
  }
613
614
  };
614
- x = new WeakMap(), M = new WeakMap(), R = new WeakMap(), W = new WeakMap(), Y = new WeakMap(), X = new WeakMap(), ut = new WeakMap(), gt = new WeakMap(), bt = new WeakMap(), it = new WeakMap(), pt = new WeakMap(), yt = new WeakMap(), st = new WeakMap(), nt = new WeakMap(), mt = new WeakMap(), a(Ut, "RowManager");
615
- let Wt = Ut;
616
- var F, Z, xt, vt, wt, St, Et;
617
- const Q = class Q extends HTMLElement {
615
+ m = new WeakMap(), M = new WeakMap(), R = new WeakMap(), W = new WeakMap(), V = new WeakMap(), X = new WeakMap(), bt = new WeakMap(), pt = new WeakMap(), nt = new WeakMap(), ot = new WeakMap(), yt = new WeakMap(), mt = new WeakMap(), rt = new WeakMap(), F = new WeakMap(), xt = new WeakMap(), a(Kt, "RowManager");
616
+ let Ot = Kt;
617
+ var Z, G, vt, wt, St, Et, Rt;
618
+ const et = class et extends HTMLElement {
618
619
  constructor() {
619
620
  super();
620
- h(this, F, null);
621
- h(this, Z);
622
- h(this, xt, /* @__PURE__ */ a(() => {
621
+ d(this, Z, null);
622
+ d(this, G);
623
+ d(this, vt, /* @__PURE__ */ a(() => {
623
624
  [
624
625
  { selector: ".ng-container-body", type: null },
625
626
  { selector: ".ng-container-left", type: "left" },
@@ -627,11 +628,11 @@ const Q = class Q extends HTMLElement {
627
628
  ].forEach(({ selector: s, type: n }) => {
628
629
  const o = this.querySelector(s);
629
630
  if (!o) return;
630
- const r = t(this, wt).call(this, t(this, F), n);
631
+ const r = t(this, St).call(this, t(this, Z), n);
631
632
  o.innerHTML = "", o.appendChild(r);
632
633
  });
633
634
  }, "#renderSplitContainers"));
634
- h(this, vt, /* @__PURE__ */ a(() => {
635
+ d(this, wt, /* @__PURE__ */ a(() => {
635
636
  ["left", "right"].forEach((e) => {
636
637
  const s = this.querySelector(`.ng-container-${e}`), n = s == null ? void 0 : s.querySelector("table");
637
638
  if (!s || !n) return;
@@ -643,7 +644,7 @@ const Q = class Q extends HTMLElement {
643
644
  });
644
645
  }, "#updateContainerWidths"));
645
646
  S(this, "generate", /* @__PURE__ */ a((e) => {
646
- e && (b(this, F, It.compile(e)), t(this, F).style.display = "table", t(this, xt).call(this), t(this, vt).call(this), t(this, Z).initialize(), setTimeout(() => {
647
+ e && (b(this, Z, Wt.compile(e)), t(this, Z).style.display = "table", t(this, vt).call(this), t(this, wt).call(this), t(this, G).initialize(), setTimeout(() => {
647
648
  var s;
648
649
  (s = this.querySelector("nine-table-hscrollbar")) == null || s.refresh();
649
650
  }, 0));
@@ -651,7 +652,7 @@ const Q = class Q extends HTMLElement {
651
652
  /**
652
653
  * 🎯 λ§ˆμŠ€ν„° ν…Œμ΄λΈ”μ„ 기반으둜 νŠΉμ • fixed νƒ€μž… μ˜μ—­λ§Œ λ‚¨κΈ°λŠ” λΆ„ν•  헬퍼
653
654
  */
654
- h(this, wt, /* @__PURE__ */ a((e, s) => {
655
+ d(this, St, /* @__PURE__ */ a((e, s) => {
655
656
  const n = e.cloneNode(!0);
656
657
  return s === "left" ? n.querySelectorAll("col, th, td, tfoot td, tfoot th").forEach((o) => {
657
658
  o.getAttribute("fixed") !== "left" && o.remove();
@@ -661,7 +662,7 @@ const Q = class Q extends HTMLElement {
661
662
  o.remove();
662
663
  }), n;
663
664
  }, "#createSplitTable"));
664
- S(this, "getRowHeight", /* @__PURE__ */ a(() => t(this, Z).getRowHeight(), "getRowHeight"));
665
+ S(this, "getRowHeight", /* @__PURE__ */ a(() => t(this, G).getRowHeight(), "getRowHeight"));
665
666
  S(this, "scrollToX", /* @__PURE__ */ a((e) => {
666
667
  const s = this.querySelector(".ng-container-body");
667
668
  s && (s.scrollLeft = e);
@@ -670,11 +671,11 @@ const Q = class Q extends HTMLElement {
670
671
  const s = this.querySelector(".ng-container-body");
671
672
  s && (s.scrollTop = e);
672
673
  }, "scrollToY"));
673
- h(this, St, /* @__PURE__ */ a(() => {
674
- t(this, Et).call(this);
674
+ d(this, Et, /* @__PURE__ */ a(() => {
675
+ t(this, Rt).call(this);
675
676
  }, "#init"));
676
- h(this, Et, /* @__PURE__ */ a(() => {
677
- const e = Q.SCROLLBAR_SIZE;
677
+ d(this, Rt, /* @__PURE__ */ a(() => {
678
+ const e = et.SCROLLBAR_SIZE;
678
679
  this.innerHTML = `
679
680
  <style>
680
681
  nine-table-sheet {
@@ -810,38 +811,38 @@ const Q = class Q extends HTMLElement {
810
811
  </div>
811
812
  `;
812
813
  }, "#render"));
813
- b(this, Z, new Wt(this));
814
+ b(this, G, new Ot(this));
814
815
  }
815
816
  connectedCallback() {
816
- t(this, St).call(this);
817
+ t(this, Et).call(this);
817
818
  }
818
819
  disconnectedCallback() {
819
820
  this.innerHTML = "", _.log("NineTableSheet destroyed.");
820
821
  }
821
822
  };
822
- F = new WeakMap(), Z = new WeakMap(), xt = new WeakMap(), vt = new WeakMap(), wt = new WeakMap(), St = new WeakMap(), Et = new WeakMap(), a(Q, "NineTableSheet"), S(Q, "SCROLLBAR_SIZE", 16);
823
- let at = Q;
824
- customElements.get("nine-table-sheet") || customElements.define("nine-table-sheet", at);
825
- var Rt, ot;
826
- const Kt = class Kt extends HTMLElement {
823
+ Z = new WeakMap(), G = new WeakMap(), vt = new WeakMap(), wt = new WeakMap(), St = new WeakMap(), Et = new WeakMap(), Rt = new WeakMap(), a(et, "NineTableSheet"), S(et, "SCROLLBAR_SIZE", 16);
824
+ let ht = et;
825
+ customElements.get("nine-table-sheet") || customElements.define("nine-table-sheet", ht);
826
+ var Tt, lt;
827
+ const jt = class jt extends HTMLElement {
827
828
  constructor() {
828
829
  super();
829
- h(this, Rt, /* @__PURE__ */ a(() => {
830
+ d(this, Tt, /* @__PURE__ */ a(() => {
830
831
  var e;
831
832
  (e = this.querySelector(".nine-tab-bar")) == null || e.addEventListener("click", (s) => {
832
833
  var r;
833
834
  const n = s.ctrlKey || s.metaKey || s.shiftKey, o = parseInt((r = s.target.closest(".nine-tab-item")) == null ? void 0 : r.dataset.index, 10);
834
- t(this, ot).call(this, o, n);
835
- }), t(this, ot).call(this, 0, !1);
835
+ t(this, lt).call(this, o, n);
836
+ }), t(this, lt).call(this, 0, !1);
836
837
  }, "#init"));
837
- h(this, ot, /* @__PURE__ */ a((e, s = !1) => {
838
+ d(this, lt, /* @__PURE__ */ a((e, s = !1) => {
838
839
  const n = /* @__PURE__ */ a(() => {
839
840
  const u = Array.from(this.querySelectorAll("nine-table-sheet"));
840
- Array.from(this.querySelectorAll("nine-splitter")).forEach((y) => y.style.setProperty("display", "none"));
841
- const g = u.filter((y) => y.classList.contains("active"));
842
- g.length < 2 || g.forEach((y) => {
843
- const w = parseInt(y.getAttribute("data-index"), 10), L = this.querySelector(`nine-splitter[data-split-index="${w}"]`), Jt = u[w + 1];
844
- L && Jt && Jt.classList.contains("active") && L.style.setProperty("display", "flex");
841
+ Array.from(this.querySelectorAll("nine-splitter")).forEach((p) => p.style.setProperty("display", "none"));
842
+ const g = u.filter((p) => p.classList.contains("active"));
843
+ g.length < 2 || g.forEach((p) => {
844
+ const w = parseInt(p.getAttribute("data-index"), 10), k = this.querySelector(`nine-splitter[data-split-index="${w}"]`), tt = u[w + 1];
845
+ k && tt && tt.classList.contains("active") && k.style.setProperty("display", "flex");
845
846
  });
846
847
  }, "updateSplitters"), o = this.querySelector(".nine-tab-bar"), r = this.querySelector("nine-table-sheets-body"), l = o.querySelectorAll(".nine-tab-item"), c = r.querySelectorAll("nine-table-sheet");
847
848
  if (!l[e]) return;
@@ -860,41 +861,41 @@ const Kt = class Kt extends HTMLElement {
860
861
  const g = r.querySelector(`nine-table-sheet[data-index="${e}"]`);
861
862
  g && (g.classList.toggle("active"), g.classList.contains("active") || (g.style.flex = ""));
862
863
  }
863
- const d = r.querySelectorAll("nine-table-sheet.active");
864
- d == null || d.forEach((u) => {
865
- u.style.flex = d.length > 1 ? "1 1 0%" : "1 1 100%";
864
+ const h = r.querySelectorAll("nine-table-sheet.active");
865
+ h == null || h.forEach((u) => {
866
+ u.style.flex = h.length > 1 ? "1 1 0%" : "1 1 100%";
866
867
  }), n();
867
868
  }, "#switchSheet"));
868
869
  }
869
870
  connectedCallback() {
870
- t(this, Rt).call(this);
871
+ t(this, Tt).call(this);
871
872
  }
872
873
  };
873
- Rt = new WeakMap(), ot = new WeakMap(), a(Kt, "NineTableSheets");
874
- let Ot = Kt;
875
- customElements.get("nine-table-sheets") || customElements.define("nine-table-sheets", Ot);
876
- var T, Tt, rt, kt;
877
- const jt = class jt {
874
+ Tt = new WeakMap(), lt = new WeakMap(), a(jt, "NineTableSheets");
875
+ let zt = jt;
876
+ customElements.get("nine-table-sheets") || customElements.define("nine-table-sheets", zt);
877
+ var T, kt, at, At;
878
+ const Ft = class Ft {
878
879
  constructor(i) {
879
- h(this, T);
880
- h(this, Tt, /* @__PURE__ */ a(() => {
881
- t(this, kt).call(this), new ResizeObserver((i) => {
880
+ d(this, T);
881
+ d(this, kt, /* @__PURE__ */ a(() => {
882
+ t(this, At).call(this), new ResizeObserver((i) => {
882
883
  for (let e of i)
883
- t(this, T).getAttribute("auto-height") === "true" && t(this, rt).call(this);
884
+ t(this, T).getAttribute("auto-height") === "true" && t(this, at).call(this);
884
885
  }).observe(t(this, T));
885
886
  }, "#init"));
886
- h(this, rt, /* @__PURE__ */ a(() => {
887
- var c, d;
887
+ d(this, at, /* @__PURE__ */ a(() => {
888
+ var c, h;
888
889
  const i = Array.from(t(this, T).shadowRoot.querySelectorAll("nine-table-sheet.active"));
889
890
  if (i.length === 0) return;
890
- const e = parseInt(t(this, T).getAttribute("max-display-row"), 10) || 10, s = Math.max(...i.map((u) => u.getRowHeight())), n = (c = t(this, T).shadowRoot.querySelector("nine-table-header")) == null ? void 0 : c.getBoundingClientRect().height, o = (d = t(this, T).shadowRoot.querySelector("nine-table-sheets-footer")) == null ? void 0 : d.getBoundingClientRect().height, r = at.SCROLLBAR_SIZE, l = e * s + n + o + r;
891
+ const e = parseInt(t(this, T).getAttribute("max-display-row"), 10) || 10, s = Math.max(...i.map((u) => u.getRowHeight())), n = (c = t(this, T).shadowRoot.querySelector("nine-table-header")) == null ? void 0 : c.getBoundingClientRect().height, o = (h = t(this, T).shadowRoot.querySelector("nine-table-sheets-footer")) == null ? void 0 : h.getBoundingClientRect().height, r = ht.SCROLLBAR_SIZE, l = e * s + n + o + r;
891
892
  t(this, T).style.height = `${l}px`;
892
893
  }, "#applyAutoHeight"));
893
- h(this, kt, /* @__PURE__ */ a(() => {
894
- const e = Array.from(t(this, T).children).filter((c) => c.tagName === "TABLE"), s = t(this, T).getAttribute("auto-height") === "true", n = e.length, o = e.map((c, d) => {
895
- const f = `<nine-table-sheet class="${d === 0 ? "active" : ""}" data-index="${d}"></nine-table-sheet>`, g = d < n - 1 ? `<nine-splitter class="h" data-split-index="${d}"></nine-splitter>` : "";
894
+ d(this, At, /* @__PURE__ */ a(() => {
895
+ const e = Array.from(t(this, T).children).filter((c) => c.tagName === "TABLE"), s = t(this, T).getAttribute("auto-height") === "true", n = e.length, o = e.map((c, h) => {
896
+ const f = `<nine-table-sheet class="${h === 0 ? "active" : ""}" data-index="${h}"></nine-table-sheet>`, g = h < n - 1 ? `<nine-splitter class="h" data-split-index="${h}"></nine-splitter>` : "";
896
897
  return f + g;
897
- }).join(""), r = e.map((c, d) => `<div class="nine-tab-item ${d === 0 ? "active" : ""}" data-index="${d}">Sheet ${d + 1}</div>`).join("");
898
+ }).join(""), r = e.map((c, h) => `<div class="nine-tab-item ${h === 0 ? "active" : ""}" data-index="${h}">Sheet ${h + 1}</div>`).join("");
898
899
  t(this, T).shadowRoot.innerHTML = `
899
900
  <style>
900
901
  :host {
@@ -995,22 +996,22 @@ const jt = class jt {
995
996
  <nine-table-footer></nine-table-footer>
996
997
  `;
997
998
  const l = t(this, T).shadowRoot.querySelectorAll("nine-table-sheet");
998
- l == null || l.forEach((c, d) => {
999
- e[d] && setTimeout(() => {
1000
- c.generate(e[d]), s && t(this, rt).call(this);
999
+ l == null || l.forEach((c, h) => {
1000
+ e[h] && setTimeout(() => {
1001
+ c.generate(e[h]), s && t(this, at).call(this);
1001
1002
  });
1002
1003
  });
1003
1004
  }, "#render"));
1004
- b(this, T, i), t(this, Tt).call(this);
1005
+ b(this, T, i), t(this, kt).call(this);
1005
1006
  }
1006
1007
  };
1007
- T = new WeakMap(), Tt = new WeakMap(), rt = new WeakMap(), kt = new WeakMap(), a(jt, "LayoutManager");
1008
- let zt = jt;
1008
+ T = new WeakMap(), kt = new WeakMap(), at = new WeakMap(), At = new WeakMap(), a(Ft, "LayoutManager");
1009
+ let Dt = Ft;
1009
1010
  var O, U;
1010
- const Ft = class Ft {
1011
+ const Zt = class Zt {
1011
1012
  constructor(i) {
1012
- h(this, O);
1013
- h(this, U, -1);
1013
+ d(this, O);
1014
+ d(this, U, -1);
1014
1015
  S(this, "count", /* @__PURE__ */ a(() => t(this, O).rawRecords.length, "count"));
1015
1016
  b(this, O, i);
1016
1017
  }
@@ -1027,50 +1028,50 @@ const Ft = class Ft {
1027
1028
  });
1028
1029
  }
1029
1030
  };
1030
- O = new WeakMap(), U = new WeakMap(), a(Ft, "ngRow");
1031
- let Dt = Ft;
1032
- var k, v, A, G, At, z, qt, lt, Lt, Ht, J;
1033
- const q = class q {
1031
+ O = new WeakMap(), U = new WeakMap(), a(Zt, "ngRow");
1032
+ let Pt = Zt;
1033
+ var A, v, q, J, qt, z, Lt, ct, Ht, Ct, Q;
1034
+ const L = class L {
1034
1035
  constructor(i, e) {
1035
- h(this, k);
1036
- h(this, v);
1037
- h(this, A, []);
1038
- h(this, G, []);
1039
- h(this, At, 0);
1040
- h(this, z, []);
1041
- h(this, qt, /* @__PURE__ */ a(() => {
1036
+ d(this, A);
1037
+ d(this, v);
1038
+ d(this, q, []);
1039
+ d(this, J, []);
1040
+ d(this, qt, 0);
1041
+ d(this, z, []);
1042
+ d(this, Lt, /* @__PURE__ */ a(() => {
1042
1043
  b(this, z, []);
1043
- const i = t(this, k).template || [];
1044
+ const i = t(this, A).template || [];
1044
1045
  Array.from(i).forEach((e) => {
1045
1046
  var s;
1046
1047
  t(this, z).push(((s = e.getBoundingClientRect) == null ? void 0 : s.call(e).height) || 24);
1047
1048
  }), (t(this, v).rawRecords || []).forEach((e) => {
1048
- e.__ng || (e.__ng = t(this, lt).call(this)), e.__ng.height = t(this, z).slice();
1049
+ e.__ng || (e.__ng = t(this, ct).call(this)), e.__ng.height = t(this, z).slice();
1049
1050
  });
1050
1051
  }, "#initialize"));
1051
1052
  S(this, "set", /* @__PURE__ */ a((i) => {
1052
1053
  this.clear(), this.add(i, !1);
1053
1054
  }, "set"));
1054
- h(this, lt, /* @__PURE__ */ a(() => ({
1055
- rowState: q.ROW_STATE.EMPTY,
1055
+ d(this, ct, /* @__PURE__ */ a(() => ({
1056
+ rowState: L.ROW_STATE.EMPTY,
1056
1057
  deleted: !1,
1057
1058
  filtered: !1,
1058
1059
  height: t(this, z).slice(),
1059
1060
  o: {},
1060
1061
  c: {},
1061
- _: [0, 0, 0, 0, q.ROW_STATE.EMPTY, !1, !1, !0, !1, !0, !0, !1, t(this, z).slice(), -1, {}, {}]
1062
+ _: [0, 0, 0, 0, L.ROW_STATE.EMPTY, !1, !1, !0, !1, !0, !0, !1, t(this, z).slice(), -1, {}, {}]
1062
1063
  }), "#getDefaultMeta"));
1063
1064
  S(this, "reset", /* @__PURE__ */ a(() => {
1064
- b(this, A, []), b(this, G, []);
1065
+ b(this, q, []), b(this, J, []);
1065
1066
  }, "reset"));
1066
1067
  S(this, "clear", /* @__PURE__ */ a(() => {
1067
1068
  var i;
1068
- t(this, v).rawRecords = [], b(this, A, []), b(this, G, []), (i = t(this, v).viewRecords) != null && i.reset && t(this, v).viewRecords.reset();
1069
+ t(this, v).rawRecords = [], b(this, q, []), b(this, J, []), (i = t(this, v).viewRecords) != null && i.reset && t(this, v).viewRecords.reset();
1069
1070
  }, "clear"));
1070
- h(this, Lt, /* @__PURE__ */ a((i) => {
1071
+ d(this, Ht, /* @__PURE__ */ a((i) => {
1071
1072
  var n;
1072
1073
  Array.isArray(i) || (i = [i]);
1073
- const e = typeof ((n = t(this, k).fields) == null ? void 0 : n.get) == "function" ? t(this, k).fields.get() : Object.keys(i[0] || {}), s = [];
1074
+ const e = typeof ((n = t(this, A).fields) == null ? void 0 : n.get) == "function" ? t(this, A).fields.get() : Object.keys(i[0] || {}), s = [];
1074
1075
  return i.forEach((o) => {
1075
1076
  const r = { v: [] };
1076
1077
  e.forEach((l) => {
@@ -1078,28 +1079,28 @@ const q = class q {
1078
1079
  }), s.push(r);
1079
1080
  }), s;
1080
1081
  }, "#json2Array"));
1081
- h(this, Ht, /* @__PURE__ */ a((i) => (Array.isArray(i) || (i = [i]), i.forEach((e) => {
1082
- e.__ng = t(this, lt).call(this), e.__ng.rowid = this.nextId, e.__ng.rowState = q.ROW_STATE.INSERT, e.__ng._[0] = e.__ng.rowid;
1082
+ d(this, Ct, /* @__PURE__ */ a((i) => (Array.isArray(i) || (i = [i]), i.forEach((e) => {
1083
+ e.__ng = t(this, ct).call(this), e.__ng.rowid = this.nextId, e.__ng.rowState = L.ROW_STATE.INSERT, e.__ng._[0] = e.__ng.rowid;
1083
1084
  }), i), "#defaultInsert"));
1084
1085
  S(this, "add", /* @__PURE__ */ a((i, e = !0) => {
1085
1086
  var o;
1086
1087
  i === void 0 && (i = {});
1087
- const s = t(this, Lt).call(this, i);
1088
- t(this, v).rawRecords = t(this, v).rawRecords.concat(t(this, Ht).call(this, s)), this.resetRecords();
1088
+ const s = t(this, Ht).call(this, i);
1089
+ t(this, v).rawRecords = t(this, v).rawRecords.concat(t(this, Ct).call(this, s)), this.resetRecords();
1089
1090
  const n = this.count() - 1;
1090
1091
  return e || s.forEach((r, l) => {
1091
1092
  const c = t(this, v).rawRecords[n - l];
1092
- c && (c.__ng.rowState = q.ROW_STATE.EMPTY);
1093
+ c && (c.__ng.rowState = L.ROW_STATE.EMPTY);
1093
1094
  }), (o = t(this, v).viewRecords) != null && o.reset && t(this, v).viewRecords.reset(), n;
1094
1095
  }, "add"));
1095
1096
  S(this, "delete", /* @__PURE__ */ a((i) => {
1096
1097
  var s;
1097
1098
  let e = [];
1098
1099
  Array.isArray(i) ? e = i : typeof i > "u" ? e = [t(this, v).owner.row.at] : e = [parseInt(i, 10)], e.sort((n, o) => o - n).forEach((n) => {
1099
- if (t(this, A)[n]) {
1100
- const o = t(this, A)[n].__ng.rowid;
1101
- t(this, A)[n].__ng.rowState === q.ROW_STATE.INSERT ? t(this, v).rawRecords = t(this, v).rawRecords.filter((r) => r.__ng.rowid !== o) : t(this, v).rawRecords.forEach((r) => {
1102
- r.__ng.rowid === o && (r.__ng.deleted = !0, r.__ng.rowState = q.ROW_STATE.DELETE);
1100
+ if (t(this, q)[n]) {
1101
+ const o = t(this, q)[n].__ng.rowid;
1102
+ t(this, q)[n].__ng.rowState === L.ROW_STATE.INSERT ? t(this, v).rawRecords = t(this, v).rawRecords.filter((r) => r.__ng.rowid !== o) : t(this, v).rawRecords.forEach((r) => {
1103
+ r.__ng.rowid === o && (r.__ng.deleted = !0, r.__ng.rowState = L.ROW_STATE.DELETE);
1103
1104
  });
1104
1105
  }
1105
1106
  }), this.resetRecords(), (s = t(this, v).viewRecords) != null && s.reset && t(this, v).viewRecords.reset();
@@ -1107,25 +1108,25 @@ const q = class q {
1107
1108
  S(this, "setValue", /* @__PURE__ */ a((i, e, s) => {
1108
1109
  var c;
1109
1110
  i = parseInt(i, 10);
1110
- const o = (typeof ((c = t(this, k).fields) == null ? void 0 : c.get) == "function" ? t(this, k).fields.get() : []).indexOf(e);
1111
+ const o = (typeof ((c = t(this, A).fields) == null ? void 0 : c.get) == "function" ? t(this, A).fields.get() : []).indexOf(e);
1111
1112
  if (o < 0) return;
1112
1113
  const r = this.getValidData()[i];
1113
1114
  if (!r) return;
1114
1115
  const l = r.v[o];
1115
- l !== s && r.__ng.rowState !== q.ROW_STATE.INSERT && (r.__ng.o.hasOwnProperty(e) || (r.__ng.o[e] = l), r.__ng.rowState = q.ROW_STATE.UPDATE), r.v[o] = s, t(this, v).owner.refreshData && t(this, v).owner.refreshData(i);
1116
+ l !== s && r.__ng.rowState !== L.ROW_STATE.INSERT && (r.__ng.o.hasOwnProperty(e) || (r.__ng.o[e] = l), r.__ng.rowState = L.ROW_STATE.UPDATE), r.v[o] = s, t(this, v).owner.refreshData && t(this, v).owner.refreshData(i);
1116
1117
  }, "setValue"));
1117
1118
  S(this, "resetRecords", /* @__PURE__ */ a(() => {
1118
- b(this, G, t(this, v).rawRecords.filter((i) => !i.__ng.deleted)), b(this, A, t(this, v).rawRecords.filter((i) => !i.__ng.deleted && !i.__ng.filtered)), t(this, v).rawRecords.forEach((i, e) => {
1119
+ b(this, J, t(this, v).rawRecords.filter((i) => !i.__ng.deleted)), b(this, q, t(this, v).rawRecords.filter((i) => !i.__ng.deleted && !i.__ng.filtered)), t(this, v).rawRecords.forEach((i, e) => {
1119
1120
  i.__ng.rowidx = e;
1120
- }), t(this, A).forEach((i, e) => {
1121
+ }), t(this, q).forEach((i, e) => {
1121
1122
  i.__ng.i = e;
1122
1123
  });
1123
1124
  }, "resetRecords"));
1124
- S(this, "getValidData", /* @__PURE__ */ a(() => (t(this, A).length === 0 && t(this, v).rawRecords.length > 0 && this.resetRecords(), t(this, A)), "getValidData"));
1125
- h(this, J, /* @__PURE__ */ a((i) => {
1125
+ S(this, "getValidData", /* @__PURE__ */ a(() => (t(this, q).length === 0 && t(this, v).rawRecords.length > 0 && this.resetRecords(), t(this, q)), "getValidData"));
1126
+ d(this, Q, /* @__PURE__ */ a((i) => {
1126
1127
  var s;
1127
1128
  if (!i) return i;
1128
- const e = typeof ((s = t(this, k).fields) == null ? void 0 : s.get) == "function" ? t(this, k).fields.get() : [];
1129
+ const e = typeof ((s = t(this, A).fields) == null ? void 0 : s.get) == "function" ? t(this, A).fields.get() : [];
1129
1130
  return Array.isArray(i) ? i.filter((n) => !n.__ng.deleted).map((n) => {
1130
1131
  const o = {};
1131
1132
  return e.forEach((r, l) => {
@@ -1138,45 +1139,45 @@ const q = class q {
1138
1139
  var o;
1139
1140
  const s = this.getValidData();
1140
1141
  if (!s || s.length <= 0) return;
1141
- if (i == null) return t(this, J).call(this, s);
1142
+ if (i == null) return t(this, Q).call(this, s);
1142
1143
  if (i < 0 || i >= s.length) return null;
1143
- const n = typeof ((o = t(this, k).fields) == null ? void 0 : o.get) == "function" ? t(this, k).fields.get() : [];
1144
+ const n = typeof ((o = t(this, A).fields) == null ? void 0 : o.get) == "function" ? t(this, A).fields.get() : [];
1144
1145
  if (e != null) {
1145
1146
  const r = n.indexOf(e);
1146
1147
  return r >= 0 ? s[i].v[r] : null;
1147
1148
  }
1148
- return t(this, J).call(this, s[i]);
1149
+ return t(this, Q).call(this, s[i]);
1149
1150
  }, "get"));
1150
- b(this, k, i), b(this, v, e), t(this, qt).call(this);
1151
+ b(this, A, i), b(this, v, e), t(this, Lt).call(this);
1151
1152
  }
1152
1153
  get source() {
1153
- return t(this, J).call(this, t(this, v).rawRecords);
1154
+ return t(this, Q).call(this, t(this, v).rawRecords);
1154
1155
  }
1155
1156
  set source(i) {
1156
1157
  this.clear(), this.add(i, !1);
1157
1158
  }
1158
1159
  get nextId() {
1159
- return ++ie(this, At)._;
1160
+ return ++ne(this, qt)._;
1160
1161
  }
1161
1162
  get length() {
1162
- return t(this, A).length;
1163
+ return t(this, q).length;
1163
1164
  }
1164
1165
  getRowCount() {
1165
1166
  return this.length;
1166
1167
  }
1167
1168
  };
1168
- k = new WeakMap(), v = new WeakMap(), A = new WeakMap(), G = new WeakMap(), At = new WeakMap(), z = new WeakMap(), qt = new WeakMap(), lt = new WeakMap(), Lt = new WeakMap(), Ht = new WeakMap(), J = new WeakMap(), a(q, "ngData"), // 🎯 ν–‰ μƒνƒœ μ •μ˜ μƒμˆ˜λ₯Ό 클래슀 λ‚΄λΆ€λ‘œ λ‚΄μž¬ν™”
1169
- S(q, "ROW_STATE", {
1169
+ A = new WeakMap(), v = new WeakMap(), q = new WeakMap(), J = new WeakMap(), qt = new WeakMap(), z = new WeakMap(), Lt = new WeakMap(), ct = new WeakMap(), Ht = new WeakMap(), Ct = new WeakMap(), Q = new WeakMap(), a(L, "ngData"), // 🎯 ν–‰ μƒνƒœ μ •μ˜ μƒμˆ˜λ₯Ό 클래슀 λ‚΄λΆ€λ‘œ λ‚΄μž¬ν™”
1170
+ S(L, "ROW_STATE", {
1170
1171
  EMPTY: "EMPTY",
1171
1172
  NORMAL: "NORMAL",
1172
1173
  INSERT: "INSERT",
1173
1174
  UPDATE: "UPDATE",
1174
1175
  DELETE: "DELETE"
1175
1176
  });
1176
- let Pt = q;
1177
- const Zt = class Zt {
1177
+ let Bt = L;
1178
+ const Gt = class Gt {
1178
1179
  constructor(i) {
1179
- this.owner = i, this.row = new Dt(this), this.data = new Pt(i, this), this.rawRecords = [], this.viewRecords = [], this.delRecords = [], this.pageCnt = 25, this.viewRecords.reset = () => {
1180
+ this.owner = i, this.row = new Pt(this), this.data = new Bt(i, this), this.rawRecords = [], this.viewRecords = [], this.delRecords = [], this.pageCnt = 25, this.viewRecords.reset = () => {
1180
1181
  var e;
1181
1182
  (e = this.owner.view) != null && e.redraw && this.owner.view.redraw();
1182
1183
  }, this.setDataSource = (e) => {
@@ -1193,19 +1194,19 @@ const Zt = class Zt {
1193
1194
  }, this.setDataSource([]);
1194
1195
  }
1195
1196
  };
1196
- a(Zt, "ngDataManager");
1197
- let Bt = Zt;
1198
- var K, Ct;
1199
- const Gt = class Gt extends HTMLElement {
1197
+ a(Gt, "ngDataManager");
1198
+ let Nt = Gt;
1199
+ var K, Mt;
1200
+ const Jt = class Jt extends HTMLElement {
1200
1201
  constructor() {
1201
1202
  super();
1202
1203
  //#created = false;
1203
- h(this, K);
1204
- h(this, Ct);
1205
- this.attachShadow({ mode: "open" }), b(this, K, new Bt(this));
1204
+ d(this, K);
1205
+ d(this, Mt);
1206
+ this.attachShadow({ mode: "open" }), b(this, K, new Nt(this));
1206
1207
  }
1207
1208
  connectedCallback() {
1208
- b(this, Ct, new zt(this)), _.log("NineTable connected."), this.dispatchEvent(new CustomEvent("load", { bubbles: !0, detail: { target: this } }));
1209
+ b(this, Mt, new Dt(this)), _.log("NineTable connected."), this.dispatchEvent(new CustomEvent("load", { bubbles: !0, detail: { target: this } }));
1209
1210
  }
1210
1211
  disconnectedCallback() {
1211
1212
  _.log("NineTable disconnected.");
@@ -1223,7 +1224,7 @@ const Gt = class Gt extends HTMLElement {
1223
1224
  return t(this, K);
1224
1225
  }
1225
1226
  };
1226
- K = new WeakMap(), Ct = new WeakMap(), a(Gt, "NineTable");
1227
- let Nt = Gt;
1228
- customElements.get("nine-table") || customElements.define("nine-table", Nt);
1227
+ K = new WeakMap(), Mt = new WeakMap(), a(Jt, "NineTable");
1228
+ let Yt = Jt;
1229
+ customElements.get("nine-table") || customElements.define("nine-table", Yt);
1229
1230
  //# sourceMappingURL=nine-table.js.map