@ninebone/table 0.0.427 β†’ 0.0.429

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.
@@ -23,25 +23,25 @@ const re = class re extends Se.constructor {
23
23
  a(re, "Trace");
24
24
  let jt = re;
25
25
  const H = new jt();
26
- var _, N, p, V, X, U, St, F, Et;
26
+ var _, z, p, P, Y, V, St, X, Et;
27
27
  const le = class le extends HTMLElement {
28
28
  constructor() {
29
29
  super();
30
30
  c(this, _);
31
- c(this, N, !1);
31
+ c(this, z, !1);
32
32
  c(this, p);
33
+ c(this, P);
34
+ c(this, Y);
33
35
  c(this, V);
34
- c(this, X);
35
- c(this, U);
36
36
  c(this, St, /* @__PURE__ */ a(() => {
37
37
  if (!t(this, _)) return;
38
38
  const e = t(this, _).querySelector(".ng-container-body");
39
- e && (b(this, U, new ResizeObserver(() => {
39
+ e && (b(this, V, new ResizeObserver(() => {
40
40
  this.refresh();
41
- })), t(this, U).observe(e));
41
+ })), t(this, V).observe(e));
42
42
  }, "#observeResize"));
43
43
  v(this, "refresh", /* @__PURE__ */ a(() => {
44
- if (!t(this, _) || !t(this, p) || t(this, N)) return;
44
+ if (!t(this, _) || !t(this, p) || t(this, z)) return;
45
45
  const e = t(this, p).container, s = e.querySelector("table");
46
46
  if (!s) return;
47
47
  const o = t(this, p).track, r = t(this, p).thumb, n = t(this, _).querySelector(".ng-container-bottom"), l = e.clientWidth, d = s.scrollWidth;
@@ -61,7 +61,7 @@ const le = class le extends HTMLElement {
61
61
  const m = h - f;
62
62
  y > m && (y = m), r.style.left = `${y}px`, H.log(y), t(this, p).left.disabled = y === 0, t(this, p).right.disabled = y >= m - 1;
63
63
  }, "refresh"));
64
- c(this, F, /* @__PURE__ */ a((e) => {
64
+ c(this, X, /* @__PURE__ */ a((e) => {
65
65
  if (!t(this, p)) return !1;
66
66
  const s = t(this, p).container, o = s.querySelector("table");
67
67
  if (!o) return !1;
@@ -75,16 +75,16 @@ const le = class le extends HTMLElement {
75
75
  }, "#thumbMoveTo"));
76
76
  c(this, Et, /* @__PURE__ */ a(() => {
77
77
  const e = /* @__PURE__ */ a((o) => {
78
- clearInterval(t(this, V)), clearInterval(t(this, X));
78
+ clearInterval(t(this, P)), clearInterval(t(this, Y));
79
79
  const r = parseInt(t(this, p).thumb.style.left || 0, 10);
80
- t(this, F).call(this, r + o), b(this, V, setInterval(() => {
81
- clearInterval(t(this, V)), b(this, X, setInterval(() => {
80
+ t(this, X).call(this, r + o), b(this, P, setInterval(() => {
81
+ clearInterval(t(this, P)), b(this, Y, setInterval(() => {
82
82
  const n = parseInt(t(this, p).thumb.style.left || 0, 10);
83
- t(this, F).call(this, n + o) || clearInterval(t(this, X));
83
+ t(this, X).call(this, n + o) || clearInterval(t(this, Y));
84
84
  }, 50));
85
85
  }, 500));
86
86
  }, "delayScroll"), s = /* @__PURE__ */ a(() => {
87
- clearInterval(t(this, V)), clearInterval(t(this, X));
87
+ clearInterval(t(this, P)), clearInterval(t(this, Y));
88
88
  }, "clearTimer");
89
89
  ["mouseup", "mouseleave", "touchend"].forEach((o) => {
90
90
  t(this, p).left.addEventListener(o, s), t(this, p).right.addEventListener(o, s), t(this, p).track.addEventListener(o, s);
@@ -96,16 +96,16 @@ const le = class le extends HTMLElement {
96
96
  if (o.button !== 0) return;
97
97
  o.preventDefault();
98
98
  const r = t(this, p).track.getBoundingClientRect(), n = t(this, p).thumb.clientWidth;
99
- t(this, F).call(this, o.clientX - r.left - n / 2);
99
+ t(this, X).call(this, o.clientX - r.left - n / 2);
100
100
  }), t(this, p).thumb.addEventListener("mousedown", (o) => {
101
101
  if (o.button !== 0) return;
102
- o.stopPropagation(), o.preventDefault(), b(this, N, !0), this.shiftX = o.clientX - t(this, p).thumb.getBoundingClientRect().left;
102
+ o.stopPropagation(), o.preventDefault(), b(this, z, !0), this.shiftX = o.clientX - t(this, p).thumb.getBoundingClientRect().left;
103
103
  const r = /* @__PURE__ */ a((l) => {
104
- if (!t(this, N)) return;
104
+ if (!t(this, z)) return;
105
105
  const d = t(this, p).track.getBoundingClientRect();
106
- t(this, F).call(this, l.clientX - d.left - this.shiftX);
106
+ t(this, X).call(this, l.clientX - d.left - this.shiftX);
107
107
  }, "onMouseMove"), n = /* @__PURE__ */ a(() => {
108
- b(this, N, !1), s(), document.removeEventListener("mousemove", r), document.removeEventListener("mouseup", n), this.refresh();
108
+ b(this, z, !1), s(), document.removeEventListener("mousemove", r), document.removeEventListener("mouseup", n), this.refresh();
109
109
  }, "onMouseUp");
110
110
  document.addEventListener("mousemove", r), document.addEventListener("mouseup", n);
111
111
  });
@@ -189,25 +189,25 @@ const le = class le extends HTMLElement {
189
189
  left: this.querySelector(".ng-scroll-left"),
190
190
  right: this.querySelector(".ng-scroll-right")
191
191
  }), s.addEventListener("scroll", () => {
192
- t(this, N) || this.refresh();
192
+ t(this, z) || this.refresh();
193
193
  }), t(this, Et).call(this), t(this, St).call(this), this.refresh();
194
194
  }, "initWhenReady");
195
195
  e();
196
196
  }
197
197
  disconnectedCallback() {
198
- t(this, U) && t(this, U).disconnect();
198
+ t(this, V) && t(this, V).disconnect();
199
199
  }
200
200
  };
201
- _ = new WeakMap(), N = new WeakMap(), p = new WeakMap(), V = new WeakMap(), X = new WeakMap(), U = new WeakMap(), St = new WeakMap(), F = new WeakMap(), Et = new WeakMap(), a(le, "NineTableHScrollBar");
201
+ _ = new WeakMap(), z = new WeakMap(), p = new WeakMap(), P = new WeakMap(), Y = new WeakMap(), V = new WeakMap(), St = new WeakMap(), X = new WeakMap(), Et = new WeakMap(), a(le, "NineTableHScrollBar");
202
202
  let Kt = le;
203
203
  customElements.get("nine-table-hscrollbar") || customElements.define("nine-table-hscrollbar", Kt);
204
- var j, tt, B, S, ct, ht, Rt;
204
+ var U, Q, N, S, ct, ht, Rt;
205
205
  const ae = class ae extends HTMLElement {
206
206
  constructor() {
207
207
  super();
208
- c(this, j);
209
- c(this, tt);
210
- c(this, B, !1);
208
+ c(this, U);
209
+ c(this, Q);
210
+ c(this, N, !1);
211
211
  c(this, S);
212
212
  c(this, ct, 0);
213
213
  c(this, ht, 0);
@@ -215,8 +215,8 @@ const ae = class ae extends HTMLElement {
215
215
  * 🎯 μŠ€ν¬λ‘€λ°” μœ„μΉ˜ 및 썸브 크기 κ°±μ‹ 
216
216
  */
217
217
  v(this, "refresh", /* @__PURE__ */ a(() => {
218
- H.log("refresh", t(this, B)), H.log("refresh2");
219
- const e = t(this, S).container, s = t(this, S).track, o = t(this, S).thumb, r = e.clientHeight, l = (t(this, j).data.get() || []).length, d = t(this, tt).getRowHeight(), h = l * d;
218
+ H.log("refresh", t(this, N)), H.log("refresh2");
219
+ const e = t(this, S).container, s = t(this, S).track, o = t(this, S).thumb, r = e.clientHeight, l = (t(this, U).data.get() || []).length, d = t(this, Q).getRowHeight(), h = l * d;
220
220
  if (h <= r) {
221
221
  o.style.display = "none", t(this, S).top.disabled = !0, t(this, S).bottom.disabled = !0;
222
222
  return;
@@ -229,31 +229,31 @@ const ae = class ae extends HTMLElement {
229
229
  const g = e.scrollTop, y = Math.max(h - r, 1);
230
230
  let m = 0;
231
231
  y > 0 && (m = g / y * (f - u));
232
- const A = f - u;
233
- m < 0 && (m = 0), m > A && (m = A), o.style.top = `${m}px`, H.log("currentScrollTop", g), H.log("maxScrollTop", y), H.log("trackHeight", f), H.log("thumbHeight", u), t(this, S).top.disabled = g <= 0, t(this, S).bottom.disabled = g >= y - 1;
232
+ const R = f - u;
233
+ m < 0 && (m = 0), m > R && (m = R), o.style.top = `${m}px`, H.log("currentScrollTop", g), H.log("maxScrollTop", y), H.log("trackHeight", f), H.log("thumbHeight", u), t(this, S).top.disabled = g <= 0, t(this, S).bottom.disabled = g >= y - 1;
234
234
  }, "refresh"));
235
235
  c(this, Rt, /* @__PURE__ */ a(() => {
236
236
  const e = t(this, S).container, s = /* @__PURE__ */ a(() => {
237
- const r = (t(this, j).data.get() || []).length, n = t(this, tt).getRowHeight();
237
+ const r = (t(this, U).data.get() || []).length, n = t(this, Q).getRowHeight();
238
238
  return r * n;
239
239
  }, "getContentHeight");
240
240
  e.addEventListener("scroll", () => {
241
- t(this, B) || this.refresh();
241
+ t(this, N) || this.refresh();
242
242
  }), t(this, S).thumb.addEventListener("mousedown", (o) => {
243
243
  if (o.button !== 0) return;
244
- o.stopPropagation(), o.preventDefault(), b(this, B, !0), b(this, ct, o.clientY), b(this, ht, e.scrollTop);
244
+ o.stopPropagation(), o.preventDefault(), b(this, N, !0), b(this, ct, o.clientY), b(this, ht, e.scrollTop);
245
245
  const r = /* @__PURE__ */ a((l) => {
246
- if (!t(this, B)) return;
247
- const d = t(this, S).track.getBoundingClientRect(), h = t(this, S).thumb.clientHeight, u = d.height - h, g = l.clientY - t(this, ct), y = e.clientHeight, m = s(), A = Math.max(m - y, 1);
248
- if (u > 0 && A > 0) {
249
- const z = g / u * A;
250
- let Y = t(this, ht) + z;
246
+ if (!t(this, N)) return;
247
+ const d = t(this, S).track.getBoundingClientRect(), h = t(this, S).thumb.clientHeight, u = d.height - h, g = l.clientY - t(this, ct), y = e.clientHeight, m = s(), R = Math.max(m - y, 1);
248
+ if (u > 0 && R > 0) {
249
+ const J = g / u * R;
250
+ let lt = t(this, ht) + J;
251
251
  const ye = Math.max(0, m - y);
252
- Y < 0 && (Y = 0), Y > ye && (Y = ye), e.scrollTop = Y;
252
+ lt < 0 && (lt = 0), lt > ye && (lt = ye), e.scrollTop = lt;
253
253
  }
254
254
  this.refresh();
255
255
  }, "onMouseMove"), n = /* @__PURE__ */ a(() => {
256
- b(this, B, !1), document.removeEventListener("mousemove", r), document.removeEventListener("mouseup", n), this.refresh();
256
+ b(this, N, !1), document.removeEventListener("mousemove", r), document.removeEventListener("mouseup", n), this.refresh();
257
257
  }, "onMouseUp");
258
258
  document.addEventListener("mousemove", r), document.addEventListener("mouseup", n);
259
259
  }), t(this, S).track.addEventListener("mousedown", (o) => {
@@ -272,7 +272,7 @@ const ae = class ae extends HTMLElement {
272
272
  }, "#init"));
273
273
  }
274
274
  connectedCallback() {
275
- b(this, j, this.getRootNode().host), b(this, tt, this.closest("nine-table-sheet")), this.innerHTML = `
275
+ b(this, U, this.getRootNode().host), b(this, Q, this.closest("nine-table-sheet")), this.innerHTML = `
276
276
  <style>
277
277
  nine-table-vscrollbar {
278
278
  display: flex;
@@ -338,7 +338,7 @@ const ae = class ae extends HTMLElement {
338
338
  <button class='ng-scroll-bottom' disabled><div class='ng-scroll-icon'></div></button>
339
339
  `;
340
340
  const e = /* @__PURE__ */ a(() => {
341
- const s = t(this, j).shadowRoot.querySelector(".ng-container-body");
341
+ const s = t(this, U).shadowRoot.querySelector(".ng-container-body");
342
342
  if (!s) {
343
343
  setTimeout(e, 10);
344
344
  return;
@@ -354,10 +354,10 @@ const ae = class ae extends HTMLElement {
354
354
  e();
355
355
  }
356
356
  };
357
- j = new WeakMap(), tt = new WeakMap(), B = new WeakMap(), S = new WeakMap(), ct = new WeakMap(), ht = new WeakMap(), Rt = new WeakMap(), a(ae, "NineTableVScrollBar");
357
+ U = new WeakMap(), Q = new WeakMap(), N = new WeakMap(), S = new WeakMap(), ct = new WeakMap(), ht = new WeakMap(), Rt = new WeakMap(), a(ae, "NineTableVScrollBar");
358
358
  let Zt = ae;
359
359
  customElements.get("nine-table-vscrollbar") || customElements.define("nine-table-vscrollbar", Zt);
360
- var At, et;
360
+ var At, tt;
361
361
  const M = class M {
362
362
  /**
363
363
  * 🎯 λ ˆμ΄μ•„μ›ƒ λ‚΄μ˜ μ—¬λŸ¬ rawTables 배열을 μΌκ΄„λ‘œ λ°›μ•„ 단일 λ§ˆμŠ€ν„° ν…œν”Œλ¦ΏμœΌλ‘œ 사전 μ»΄νŒŒμΌν•©λ‹ˆλ‹€.
@@ -372,7 +372,7 @@ const M = class M {
372
372
  var o, r, n, l;
373
373
  if (!i) return null;
374
374
  const e = i.cloneNode(!0);
375
- return t(o = M, At).call(o, e), t(r = M, et).call(r, e, "thead"), t(n = M, et).call(n, e, "tbody"), t(l = M, et).call(l, e, "tfoot"), Array.from(e.querySelectorAll("colgroup col")).forEach((d, h) => {
375
+ return t(o = M, At).call(o, e), t(r = M, tt).call(r, e, "thead"), t(n = M, tt).call(n, e, "tbody"), t(l = M, tt).call(l, e, "tfoot"), Array.from(e.querySelectorAll("colgroup col")).forEach((d, h) => {
376
376
  const f = d.getAttribute("fixed");
377
377
  f && e.querySelectorAll(`thead [data-col="${h}"], tbody [data-col="${h}"], tfoot [data-col="${h}"]`).forEach((u) => {
378
378
  u.setAttribute("fixed", f);
@@ -380,7 +380,7 @@ const M = class M {
380
380
  }), e;
381
381
  }
382
382
  };
383
- At = new WeakMap(), et = new WeakMap(), a(M, "TableCompiler"), c(M, At, /* @__PURE__ */ a((i) => {
383
+ At = new WeakMap(), tt = new WeakMap(), a(M, "TableCompiler"), c(M, At, /* @__PURE__ */ a((i) => {
384
384
  if (!i.querySelector("colgroup")) {
385
385
  const e = i.querySelector("tbody tr") || i.querySelector("tr"), s = e ? e.querySelectorAll("th, td").length : 1, o = document.createElement("colgroup"), r = Math.max(Math.floor(i.clientWidth / s), 100);
386
386
  for (let n = 0; n < s; n++) {
@@ -394,7 +394,7 @@ At = new WeakMap(), et = new WeakMap(), a(M, "TableCompiler"), c(M, At, /* @__PU
394
394
  s ? s.after(e) : i.prepend(e);
395
395
  }
396
396
  i.classList.add("nine-table-element"), i.style.display = "table";
397
- }, "#ensureTableStructure")), c(M, et, /* @__PURE__ */ a((i, e) => {
397
+ }, "#ensureTableStructure")), c(M, tt, /* @__PURE__ */ a((i, e) => {
398
398
  const s = Array.from(i.querySelectorAll(e + " tr")), o = Array.from(i.querySelectorAll(e + " th," + e + " td")), r = s.length;
399
399
  if (r === 0 || o.length === 0) return;
400
400
  let n = 0;
@@ -413,8 +413,8 @@ At = new WeakMap(), et = new WeakMap(), a(M, "TableCompiler"), c(M, At, /* @__PU
413
413
  }
414
414
  const g = u.rowSpan || 1, y = u.colSpan || 1;
415
415
  for (let m = 0; m < g; m++)
416
- for (let A = 0; A < y; A++)
417
- h + m < r && f + A < n && (l[h + m][f + A] = m === 0 && A === 0 ? "1" : "0");
416
+ for (let R = 0; R < y; R++)
417
+ h + m < r && f + R < n && (l[h + m][f + R] = m === 0 && R === 0 ? "1" : "0");
418
418
  });
419
419
  }), s.forEach((d) => {
420
420
  const h = d.sectionRowIndex;
@@ -428,22 +428,22 @@ At = new WeakMap(), et = new WeakMap(), a(M, "TableCompiler"), c(M, At, /* @__PU
428
428
  });
429
429
  }, "#resetColIndex"));
430
430
  let Gt = M;
431
- var I, w, W, T, D, K, dt, it, Tt, qt, kt, ft, ut, Lt, Ct, bt, Ht, st, gt;
431
+ var I, w, W, T, B, F, dt, et, Tt, qt, kt, ft, ut, Lt, Ct, bt, Ht, it, gt;
432
432
  const ce = class ce {
433
433
  constructor(i) {
434
434
  c(this, I);
435
435
  c(this, w);
436
436
  c(this, W, /* @__PURE__ */ new Map());
437
437
  c(this, T, null);
438
- c(this, D, null);
439
- c(this, K, 0);
438
+ c(this, B, null);
439
+ c(this, F, 0);
440
440
  c(this, dt, 40);
441
- c(this, it, !1);
441
+ c(this, et, !1);
442
442
  c(this, Tt, 3);
443
443
  v(this, "refresh", /* @__PURE__ */ a(() => {
444
444
  var e;
445
445
  const i = t(this, w).querySelector(".ng-container-body");
446
- i && (t(this, ft).call(this), t(this, st).call(this, i.scrollTop), (e = t(this, w).querySelector("nine-table-vscrollbar")) == null || e.refresh());
446
+ i && (t(this, ft).call(this), t(this, it).call(this, i.scrollTop), (e = t(this, w).querySelector("nine-table-vscrollbar")) == null || e.refresh());
447
447
  }, "refresh"));
448
448
  v(this, "initialize", /* @__PURE__ */ a(() => {
449
449
  b(this, T, null), t(this, W).clear(), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((o) => {
@@ -458,11 +458,11 @@ const ce = class ce {
458
458
  });
459
459
  const i = t(this, w).querySelector(".ng-container-body"), e = t(this, w).querySelector(".ng-container-left"), s = t(this, w).querySelector(".ng-container-right");
460
460
  if (i) {
461
- t(this, kt).call(this, i), t(this, bt).call(this), t(this, ft).call(this), t(this, st).call(this, i.scrollTop);
461
+ t(this, kt).call(this, i), t(this, bt).call(this), t(this, ft).call(this), t(this, it).call(this, i.scrollTop);
462
462
  let o = i.scrollTop;
463
463
  const r = /* @__PURE__ */ a((n) => {
464
464
  var l;
465
- e && e.scrollTop !== n && (e.scrollTop = n), s && s.scrollTop !== n && (s.scrollTop = n), t(this, st).call(this, n), (l = t(this, w).querySelector("nine-table-vscrollbar")) == null || l.refresh();
465
+ e && e.scrollTop !== n && (e.scrollTop = n), s && s.scrollTop !== n && (s.scrollTop = n), t(this, it).call(this, n), (l = t(this, w).querySelector("nine-table-vscrollbar")) == null || l.refresh();
466
466
  }, "syncScroll");
467
467
  i.addEventListener("scroll", () => {
468
468
  const n = i.scrollTop;
@@ -517,8 +517,8 @@ const ce = class ce {
517
517
  });
518
518
  }, "#updateVirtualScrollHeight"));
519
519
  c(this, ut, /* @__PURE__ */ a(() => {
520
- if ((t(this, I).data.get() || []).length, t(this, K) > 0 && t(this, T) > 0) {
521
- const e = Math.ceil(t(this, K) / t(this, T));
520
+ if ((t(this, I).data.get() || []).length, t(this, F) > 0 && t(this, T) > 0) {
521
+ const e = Math.ceil(t(this, F) / t(this, T));
522
522
  b(this, dt, e + t(this, Tt));
523
523
  }
524
524
  }, "#updateRowCount"));
@@ -537,7 +537,7 @@ const ce = class ce {
537
537
  }
538
538
  }, "#syncRowHeights"));
539
539
  c(this, Ct, /* @__PURE__ */ a(() => {
540
- !t(this, w) || !(t(this, w) instanceof HTMLElement) || (b(this, D, new ResizeObserver((i) => {
540
+ !t(this, w) || !(t(this, w) instanceof HTMLElement) || (b(this, B, new ResizeObserver((i) => {
541
541
  for (const e of i) {
542
542
  const s = e.target;
543
543
  if (!s.classList.contains("active")) continue;
@@ -547,10 +547,10 @@ const ce = class ce {
547
547
  const n = s.querySelector("thead");
548
548
  n && (r += n.offsetHeight || n.getBoundingClientRect().height);
549
549
  const l = Math.max(o - r, 100);
550
- t(this, K) !== l && (b(this, K, l), t(this, ut).call(this), t(this, T) !== null && t(this, bt).call(this));
550
+ t(this, F) !== l && (b(this, F, l), t(this, ut).call(this), t(this, T) !== null && t(this, bt).call(this));
551
551
  }
552
552
  }
553
- })), t(this, D).observe(t(this, w)));
553
+ })), t(this, B).observe(t(this, w)));
554
554
  }, "#initResizeObserver"));
555
555
  c(this, bt, /* @__PURE__ */ a(() => {
556
556
  [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((i) => {
@@ -577,8 +577,7 @@ const ce = class ce {
577
577
  });
578
578
  });
579
579
  }, "#adjustBufferRows"));
580
- // 🎯 scrollTop을 ν™œμš©ν•˜λ˜, ν…Œμ΄λΈ”μ΄ μŠ€ν¬λ‘€μ„ 따라가지 μ•Šκ³  translateY둜 μ •ν™•ν•œ μœ„μΉ˜μ— κ³ μ •λ˜λ„λ‘ 연동
581
- c(this, st, /* @__PURE__ */ a((i) => {
580
+ c(this, it, /* @__PURE__ */ a((i) => {
582
581
  var d;
583
582
  const e = t(this, T);
584
583
  if (!e || e <= 0) return;
@@ -586,21 +585,19 @@ const ce = class ce {
586
585
  [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((h) => {
587
586
  const f = t(this, w).querySelector(h);
588
587
  if (!f) return;
589
- const u = f.querySelector("table");
590
- u && (u.style.transform = `translateY(${n}px)`);
591
- const g = f.querySelector("tbody.bindable-tbody");
592
- if (!g) return;
593
- Array.from(g.querySelectorAll("tr:not(.nodata)")).forEach((m, A) => {
594
- const z = r + Math.floor(A / l);
595
- if (z >= o) {
596
- m.style.display = "none";
588
+ const u = f.querySelector("tbody.bindable-tbody");
589
+ if (!u) return;
590
+ u.style.transform = `translateY(${n}px)`, Array.from(u.querySelectorAll("tr:not(.nodata)")).forEach((y, m) => {
591
+ const R = r + Math.floor(m / l);
592
+ if (R >= o) {
593
+ y.style.display = "none";
597
594
  return;
598
595
  }
599
- const Y = t(this, I).data.get(z);
600
- m.style.display = "", t(this, gt).call(this, m, Y, z);
596
+ const J = t(this, I).data.get(R);
597
+ y.style.display = "", t(this, gt).call(this, y, J, R);
601
598
  });
602
- }), t(this, it) || (b(this, it, !0), setTimeout(() => {
603
- t(this, Ht).call(this, r), b(this, it, !1);
599
+ }), t(this, et) || (b(this, et, !0), setTimeout(() => {
600
+ t(this, Ht).call(this, r), b(this, et, !1);
604
601
  }, 0));
605
602
  }, "#handleScroll"));
606
603
  c(this, gt, /* @__PURE__ */ a((i, e, s) => {
@@ -610,7 +607,7 @@ const ce = class ce {
610
607
  });
611
608
  }, "#bindRowData"));
612
609
  v(this, "destroy", /* @__PURE__ */ a(() => {
613
- t(this, D) && (t(this, D).disconnect(), b(this, D, null));
610
+ t(this, B) && (t(this, B).disconnect(), b(this, B, null));
614
611
  }, "destroy"));
615
612
  b(this, I, i.getRootNode().host), b(this, w, i), t(this, Ct).call(this);
616
613
  }
@@ -622,18 +619,18 @@ const ce = class ce {
622
619
  return ((e = t(this, W).get(i)) == null ? void 0 : e.length) || 1;
623
620
  }
624
621
  };
625
- I = new WeakMap(), w = new WeakMap(), W = new WeakMap(), T = new WeakMap(), D = new WeakMap(), K = new WeakMap(), dt = new WeakMap(), it = new WeakMap(), Tt = new WeakMap(), qt = new WeakMap(), kt = new WeakMap(), ft = new WeakMap(), ut = new WeakMap(), Lt = new WeakMap(), Ct = new WeakMap(), bt = new WeakMap(), Ht = new WeakMap(), st = new WeakMap(), gt = new WeakMap(), a(ce, "RowManager");
622
+ I = new WeakMap(), w = new WeakMap(), W = new WeakMap(), T = new WeakMap(), B = new WeakMap(), F = new WeakMap(), dt = new WeakMap(), et = new WeakMap(), Tt = new WeakMap(), qt = new WeakMap(), kt = new WeakMap(), ft = new WeakMap(), ut = new WeakMap(), Lt = new WeakMap(), Ct = new WeakMap(), bt = new WeakMap(), Ht = new WeakMap(), it = new WeakMap(), gt = new WeakMap(), a(ce, "RowManager");
626
623
  let Jt = ce;
627
- var Mt, O, Z, _t, It, $t, Wt, Ot;
624
+ var Mt, O, j, _t, It, $t, Wt, Ot;
628
625
  const at = class at extends HTMLElement {
629
626
  constructor() {
630
627
  super();
631
628
  c(this, Mt);
632
629
  c(this, O, null);
633
- c(this, Z);
630
+ c(this, j);
634
631
  v(this, "invalidate", /* @__PURE__ */ a(() => {
635
632
  var e, s;
636
- t(this, Z).refresh(), (e = this.querySelector("nine-table-hscrollbar")) == null || e.refresh(), (s = this.querySelector("nine-table-vscrollbar")) == null || s.refresh();
633
+ t(this, j).refresh(), (e = this.querySelector("nine-table-hscrollbar")) == null || e.refresh(), (s = this.querySelector("nine-table-vscrollbar")) == null || s.refresh();
637
634
  }, "invalidate"));
638
635
  c(this, _t, /* @__PURE__ */ a(() => {
639
636
  [
@@ -669,7 +666,7 @@ const at = class at extends HTMLElement {
669
666
  this.querySelectorAll("tbody.fixed-tbody").forEach((r) => {
670
667
  r.style.top = `${s}px`;
671
668
  });
672
- }), t(this, Z).initialize(), setTimeout(() => {
669
+ }), t(this, j).initialize(), setTimeout(() => {
673
670
  var s;
674
671
  (s = this.querySelector("nine-table-hscrollbar")) == null || s.refresh();
675
672
  }, 0));
@@ -688,7 +685,7 @@ const at = class at extends HTMLElement {
688
685
  n.remove();
689
686
  }), o;
690
687
  }, "#createSplitTable"));
691
- v(this, "getRowHeight", /* @__PURE__ */ a(() => t(this, Z).getRowHeight(), "getRowHeight"));
688
+ v(this, "getRowHeight", /* @__PURE__ */ a(() => t(this, j).getRowHeight(), "getRowHeight"));
692
689
  v(this, "scrollToX", /* @__PURE__ */ a((e) => {
693
690
  const s = this.querySelector(".ng-container-body");
694
691
  s && (s.scrollLeft = e);
@@ -846,7 +843,7 @@ const at = class at extends HTMLElement {
846
843
  </div>
847
844
  `;
848
845
  }, "#render"));
849
- b(this, Z, new Jt(this)), b(this, Mt, this.getRootNode().host);
846
+ b(this, j, new Jt(this)), b(this, Mt, this.getRootNode().host);
850
847
  }
851
848
  connectedCallback() {
852
849
  t(this, Wt).call(this);
@@ -855,7 +852,7 @@ const at = class at extends HTMLElement {
855
852
  this.innerHTML = "", H.log("NineTableSheet destroyed.");
856
853
  }
857
854
  };
858
- Mt = new WeakMap(), O = new WeakMap(), Z = new WeakMap(), _t = new WeakMap(), It = new WeakMap(), $t = new WeakMap(), Wt = new WeakMap(), Ot = new WeakMap(), a(at, "NineTableSheet"), v(at, "SCROLLBAR_SIZE", 16);
855
+ Mt = new WeakMap(), O = new WeakMap(), j = new WeakMap(), _t = new WeakMap(), It = new WeakMap(), $t = new WeakMap(), Wt = new WeakMap(), Ot = new WeakMap(), a(at, "NineTableSheet"), v(at, "SCROLLBAR_SIZE", 16);
859
856
  let wt = at;
860
857
  customElements.get("nine-table-sheet") || customElements.define("nine-table-sheet", wt);
861
858
  var zt, yt;
@@ -876,8 +873,8 @@ const he = class he extends HTMLElement {
876
873
  Array.from(this.querySelectorAll("nine-splitter")).forEach((y) => y.style.setProperty("display", "none"));
877
874
  const g = f.filter((y) => y.classList.contains("active"));
878
875
  g.length < 2 || g.forEach((y) => {
879
- const m = parseInt(y.getAttribute("data-index"), 10), A = this.querySelector(`nine-splitter[data-split-index="${m}"]`), z = f[m + 1];
880
- A && z && z.classList.contains("active") && A.style.setProperty("display", "flex");
876
+ const m = parseInt(y.getAttribute("data-index"), 10), R = this.querySelector(`nine-splitter[data-split-index="${m}"]`), J = f[m + 1];
877
+ R && J && J.classList.contains("active") && R.style.setProperty("display", "flex");
881
878
  });
882
879
  }, "updateSplitters"), r = this.querySelector(".nine-tab-bar"), n = this.querySelector("nine-table-sheets-body"), l = r.querySelectorAll(".nine-tab-item"), d = n.querySelectorAll("nine-table-sheet");
883
880
  if (!l[e]) return;
@@ -1034,44 +1031,44 @@ const de = class de {
1034
1031
  };
1035
1032
  q = new WeakMap(), Nt = new WeakMap(), pt = new WeakMap(), Bt = new WeakMap(), a(de, "LayoutManager");
1036
1033
  let te = de;
1037
- var mt, nt;
1034
+ var mt, st;
1038
1035
  const fe = class fe {
1039
1036
  constructor(i) {
1040
1037
  c(this, mt);
1041
- c(this, nt, -1);
1038
+ c(this, st, -1);
1042
1039
  v(this, "count", /* @__PURE__ */ a(() => t(this, mt).rawRecords.length, "count"));
1043
1040
  b(this, mt, i);
1044
1041
  }
1045
1042
  get at() {
1046
- return t(this, nt);
1043
+ return t(this, st);
1047
1044
  }
1048
1045
  set at(i) {
1049
- b(this, nt, parseInt(i, 10)), body && !body.querySelector(`tbody.bindable tr[data-row="${t(this, nt)}"]`) && setTimeout(() => {
1046
+ b(this, st, parseInt(i, 10)), body && !body.querySelector(`tbody.bindable tr[data-row="${t(this, st)}"]`) && setTimeout(() => {
1050
1047
  });
1051
1048
  }
1052
1049
  };
1053
- mt = new WeakMap(), nt = new WeakMap(), a(fe, "ngRow");
1050
+ mt = new WeakMap(), st = new WeakMap(), a(fe, "ngRow");
1054
1051
  let ee = fe;
1055
- var k, E, L, ot, Dt, P, Pt, G, xt, Yt, Vt, rt;
1052
+ var k, E, L, nt, Dt, D, Pt, K, xt, Yt, Vt, ot;
1056
1053
  const C = class C {
1057
1054
  constructor(i, e) {
1058
1055
  c(this, k);
1059
1056
  c(this, E);
1060
1057
  c(this, L, []);
1061
- c(this, ot, []);
1058
+ c(this, nt, []);
1062
1059
  c(this, Dt, 0);
1063
- c(this, P, []);
1060
+ c(this, D, []);
1064
1061
  c(this, Pt, /* @__PURE__ */ a(() => {
1065
- b(this, P, []);
1062
+ b(this, D, []);
1066
1063
  const i = t(this, k).template || [];
1067
1064
  Array.from(i).forEach((e) => {
1068
1065
  var s;
1069
- t(this, P).push(((s = e.getBoundingClientRect) == null ? void 0 : s.call(e).height) || 24);
1066
+ t(this, D).push(((s = e.getBoundingClientRect) == null ? void 0 : s.call(e).height) || 24);
1070
1067
  }), (t(this, E).rawRecords || []).forEach((e) => {
1071
- e.__ng || (e.__ng = t(this, xt).call(this)), e.__ng.height = t(this, P).slice();
1068
+ e.__ng || (e.__ng = t(this, xt).call(this)), e.__ng.height = t(this, D).slice();
1072
1069
  });
1073
1070
  }, "#initialize"));
1074
- c(this, G, /* @__PURE__ */ a(() => {
1071
+ c(this, K, /* @__PURE__ */ a(() => {
1075
1072
  t(this, k).shadowRoot.querySelectorAll("nine-table-sheet").forEach((i) => {
1076
1073
  i.invalidate();
1077
1074
  });
@@ -1080,33 +1077,33 @@ const C = class C {
1080
1077
  var r;
1081
1078
  const s = this.getValidData();
1082
1079
  if (!s || s.length <= 0) return;
1083
- if (i == null) return t(this, rt).call(this, s);
1080
+ if (i == null) return t(this, ot).call(this, s);
1084
1081
  if (i < 0 || i >= s.length) return null;
1085
1082
  const o = typeof ((r = t(this, k).fields) == null ? void 0 : r.get) == "function" ? t(this, k).fields.get() : [];
1086
1083
  if (e != null) {
1087
1084
  const n = o.indexOf(e);
1088
1085
  return n >= 0 ? s[i].v[n] : null;
1089
1086
  }
1090
- return t(this, rt).call(this, s[i]);
1087
+ return t(this, ot).call(this, s[i]);
1091
1088
  }, "get"));
1092
1089
  v(this, "set", /* @__PURE__ */ a((i) => {
1093
- this.clear(), this.add(i, !1), t(this, G).call(this);
1090
+ this.clear(), this.add(i, !1), t(this, K).call(this);
1094
1091
  }, "set"));
1095
1092
  c(this, xt, /* @__PURE__ */ a(() => ({
1096
1093
  rowState: C.ROW_STATE.EMPTY,
1097
1094
  deleted: !1,
1098
1095
  filtered: !1,
1099
- height: t(this, P).slice(),
1096
+ height: t(this, D).slice(),
1100
1097
  o: {},
1101
1098
  c: {},
1102
- _: [0, 0, 0, 0, C.ROW_STATE.EMPTY, !1, !1, !0, !1, !0, !0, !1, t(this, P).slice(), -1, {}, {}]
1099
+ _: [0, 0, 0, 0, C.ROW_STATE.EMPTY, !1, !1, !0, !1, !0, !0, !1, t(this, D).slice(), -1, {}, {}]
1103
1100
  }), "#getDefaultMeta"));
1104
1101
  v(this, "reset", /* @__PURE__ */ a(() => {
1105
- b(this, L, []), b(this, ot, []), t(this, G).call(this);
1102
+ b(this, L, []), b(this, nt, []), t(this, K).call(this);
1106
1103
  }, "reset"));
1107
1104
  v(this, "clear", /* @__PURE__ */ a(() => {
1108
1105
  var i;
1109
- t(this, E).rawRecords = [], b(this, L, []), b(this, ot, []), (i = t(this, E).viewRecords) != null && i.reset && t(this, E).viewRecords.reset();
1106
+ t(this, E).rawRecords = [], b(this, L, []), b(this, nt, []), (i = t(this, E).viewRecords) != null && i.reset && t(this, E).viewRecords.reset();
1110
1107
  }, "clear"));
1111
1108
  c(this, Yt, /* @__PURE__ */ a((i) => {
1112
1109
  var o;
@@ -1130,7 +1127,7 @@ const C = class C {
1130
1127
  return e || s.forEach((r, n) => {
1131
1128
  const l = t(this, E).rawRecords[o - n];
1132
1129
  l && (l.__ng.rowState = C.ROW_STATE.EMPTY);
1133
- }), t(this, G).call(this), o;
1130
+ }), t(this, K).call(this), o;
1134
1131
  }, "add"));
1135
1132
  v(this, "delete", /* @__PURE__ */ a((i) => {
1136
1133
  let e = [];
@@ -1141,7 +1138,7 @@ const C = class C {
1141
1138
  r.__ng.rowid === o && (r.__ng.deleted = !0, r.__ng.rowState = C.ROW_STATE.DELETE);
1142
1139
  });
1143
1140
  }
1144
- }), this.resetRecords(), t(this, G).call(this);
1141
+ }), this.resetRecords(), t(this, K).call(this);
1145
1142
  }, "delete"));
1146
1143
  v(this, "setValue", /* @__PURE__ */ a((i, e, s) => {
1147
1144
  var d;
@@ -1154,14 +1151,14 @@ const C = class C {
1154
1151
  l !== s && n.__ng.rowState !== C.ROW_STATE.INSERT && (n.__ng.o.hasOwnProperty(e) || (n.__ng.o[e] = l), n.__ng.rowState = C.ROW_STATE.UPDATE), n.v[r] = s;
1155
1152
  }, "setValue"));
1156
1153
  v(this, "resetRecords", /* @__PURE__ */ a(() => {
1157
- b(this, ot, t(this, E).rawRecords.filter((i) => !i.__ng.deleted)), b(this, L, t(this, E).rawRecords.filter((i) => !i.__ng.deleted && !i.__ng.filtered)), t(this, E).rawRecords.forEach((i, e) => {
1154
+ b(this, nt, t(this, E).rawRecords.filter((i) => !i.__ng.deleted)), b(this, L, t(this, E).rawRecords.filter((i) => !i.__ng.deleted && !i.__ng.filtered)), t(this, E).rawRecords.forEach((i, e) => {
1158
1155
  i.__ng.rowidx = e;
1159
1156
  }), t(this, L).forEach((i, e) => {
1160
1157
  i.__ng.i = e;
1161
1158
  });
1162
1159
  }, "resetRecords"));
1163
1160
  v(this, "getValidData", /* @__PURE__ */ a(() => (t(this, L).length === 0 && t(this, E).rawRecords.length > 0 && this.resetRecords(), t(this, L)), "getValidData"));
1164
- c(this, rt, /* @__PURE__ */ a((i) => {
1161
+ c(this, ot, /* @__PURE__ */ a((i) => {
1165
1162
  var n;
1166
1163
  if (!i) return i;
1167
1164
  const e = !Array.isArray(i), s = e ? [i] : i, o = typeof ((n = t(this, k).fields) == null ? void 0 : n.get) == "function" ? t(this, k).fields.get() : [], r = s.filter((l) => !l.__ng.deleted).map((l) => {
@@ -1176,7 +1173,7 @@ const C = class C {
1176
1173
  b(this, k, i), b(this, E, e), t(this, Pt).call(this);
1177
1174
  }
1178
1175
  get source() {
1179
- return t(this, rt).call(this, t(this, E).rawRecords);
1176
+ return t(this, ot).call(this, t(this, E).rawRecords);
1180
1177
  }
1181
1178
  set source(i) {
1182
1179
  this.clear(), this.add(i, !1);
@@ -1191,7 +1188,7 @@ const C = class C {
1191
1188
  return this.length;
1192
1189
  }
1193
1190
  };
1194
- k = new WeakMap(), E = new WeakMap(), L = new WeakMap(), ot = new WeakMap(), Dt = new WeakMap(), P = new WeakMap(), Pt = new WeakMap(), G = new WeakMap(), xt = new WeakMap(), Yt = new WeakMap(), Vt = new WeakMap(), rt = new WeakMap(), a(C, "ngData"), // 🎯 ν–‰ μƒνƒœ μ •μ˜ μƒμˆ˜λ₯Ό 클래슀 λ‚΄λΆ€λ‘œ λ‚΄μž¬ν™”
1191
+ k = new WeakMap(), E = new WeakMap(), L = new WeakMap(), nt = new WeakMap(), Dt = new WeakMap(), D = new WeakMap(), Pt = new WeakMap(), K = new WeakMap(), xt = new WeakMap(), Yt = new WeakMap(), Vt = new WeakMap(), ot = new WeakMap(), a(C, "ngData"), // 🎯 ν–‰ μƒνƒœ μ •μ˜ μƒμˆ˜λ₯Ό 클래슀 λ‚΄λΆ€λ‘œ λ‚΄μž¬ν™”
1195
1192
  v(C, "ROW_STATE", {
1196
1193
  EMPTY: "EMPTY",
1197
1194
  NORMAL: "NORMAL",
@@ -1200,13 +1197,13 @@ v(C, "ROW_STATE", {
1200
1197
  DELETE: "DELETE"
1201
1198
  });
1202
1199
  let ie = C;
1203
- var J;
1200
+ var Z;
1204
1201
  const ue = class ue {
1205
1202
  constructor(i) {
1206
- c(this, J);
1207
- b(this, J, i), this.row = new ee(this), this.data = new ie(t(this, J), this), this.rawRecords = [], this.viewRecords = [], this.delRecords = [], this.pageCnt = 25, this.viewRecords.reset = () => {
1203
+ c(this, Z);
1204
+ b(this, Z, i), this.row = new ee(this), this.data = new ie(t(this, Z), this), this.rawRecords = [], this.viewRecords = [], this.delRecords = [], this.pageCnt = 25, this.viewRecords.reset = () => {
1208
1205
  var e;
1209
- (e = t(this, J).view) != null && e.redraw && t(this, J).view.redraw();
1206
+ (e = t(this, Z).view) != null && e.redraw && t(this, Z).view.redraw();
1210
1207
  }, this.setDataSource = (e) => {
1211
1208
  this.data && this.data.reset(), this.rawRecords = [], this.viewRecords = [], this.delRecords = [], this.data.set(e || []);
1212
1209
  }, this.getRowState = (e) => {
@@ -1221,33 +1218,33 @@ const ue = class ue {
1221
1218
  }, this.setDataSource([]);
1222
1219
  }
1223
1220
  };
1224
- J = new WeakMap(), a(ue, "ngDataManager");
1221
+ Z = new WeakMap(), a(ue, "ngDataManager");
1225
1222
  let se = ue;
1226
- var lt, R, vt, Xt;
1223
+ var rt, A, vt, Xt;
1227
1224
  const be = class be {
1228
1225
  // 🎯 이제 { name: string, type: string } κ°μ²΄λ“€μ˜ λ°°μ—΄λ‘œ κ΄€λ¦¬ν•©λ‹ˆλ‹€.
1229
1226
  constructor(i) {
1230
- c(this, lt);
1231
- c(this, R, []);
1227
+ c(this, rt);
1228
+ c(this, A, []);
1232
1229
  v(this, "add", /* @__PURE__ */ a((i, e = "string") => {
1233
1230
  i.forEach((s) => {
1234
- t(this, R).some((o) => o.name === s) || t(this, R).push({ name: s, type: e });
1231
+ t(this, A).some((o) => o.name === s) || t(this, A).push({ name: s, type: e });
1235
1232
  }), t(this, vt).call(this);
1236
1233
  }, "add"));
1237
1234
  c(this, vt, /* @__PURE__ */ a(() => {
1238
1235
  const i = /* @__PURE__ */ new Map();
1239
- t(this, R).forEach((e) => {
1236
+ t(this, A).forEach((e) => {
1240
1237
  i.set(e.name, e.type);
1241
- }), b(this, R, Array.from(i, ([e, s]) => ({ name: e, type: s }))), b(this, R, t(this, R).filter((e) => e.name !== "" && e.name !== "__ng")), t(this, R).sort((e, s) => e.name.length < s.name.length ? 1 : -1);
1238
+ }), b(this, A, Array.from(i, ([e, s]) => ({ name: e, type: s }))), b(this, A, t(this, A).filter((e) => e.name !== "" && e.name !== "__ng")), t(this, A).sort((e, s) => e.name.length < s.name.length ? 1 : -1);
1242
1239
  }, "#adjust"));
1243
1240
  c(this, Xt, /* @__PURE__ */ a(() => {
1244
- b(this, R, []), H.log(t(this, lt).querySelectorAll("table"));
1245
- const i = Array.from(t(this, lt).querySelectorAll("table"));
1241
+ b(this, A, []), H.log(t(this, rt).querySelectorAll("table"));
1242
+ const i = Array.from(t(this, rt).querySelectorAll("table"));
1246
1243
  if (!(!i || i.length === 0)) {
1247
1244
  for (const e of i)
1248
1245
  H.log(e), $("[data-bind]", e).each((s, o) => {
1249
1246
  const r = o.dataset.bind, n = o.getAttribute("data-type") || "string";
1250
- r && t(this, R).push({ name: r, type: n });
1247
+ r && t(this, A).push({ name: r, type: n });
1251
1248
  }), ["data-expr", "background-color", "color", "tooltip", "visible", "readonly", "enable-button", "enable-check", "class-expr", "icon-color", "icon-src"].forEach((s) => {
1252
1249
  $(`[${s}]`, e).each((o, r) => {
1253
1250
  var n = r.getAttribute(s);
@@ -1264,7 +1261,7 @@ const be = class be {
1264
1261
  if (l.trim() != "") {
1265
1262
  const d = l.search(/[^_A-Za-z0-9]/g);
1266
1263
  let h = "";
1267
- d >= 0 ? h = l.substring(0, d) : n.startsWith("data.") && (h = l.replace("data.", "")), h && t(this, R).push({ name: h, type: "string" });
1264
+ d >= 0 ? h = l.substring(0, d) : n.startsWith("data.") && (h = l.replace("data.", "")), h && t(this, A).push({ name: h, type: "string" });
1268
1265
  }
1269
1266
  });
1270
1267
  });
@@ -1272,41 +1269,41 @@ const be = class be {
1272
1269
  t(this, vt).call(this);
1273
1270
  }
1274
1271
  }, "#init"));
1275
- b(this, lt, i), t(this, Xt).call(this);
1272
+ b(this, rt, i), t(this, Xt).call(this);
1276
1273
  }
1277
1274
  // 🎯 기쑴에 ν•„λ“œ μ΄λ¦„λ§Œ μ“°λ˜ κ³³λ“€κ³Όμ˜ ν˜Έν™˜μ„ μœ„ν•΄ 이름 λ°°μ—΄λ§Œ λ¦¬ν„΄ν•˜λŠ” λ©”μ„œλ“œ μœ μ§€
1278
1275
  get() {
1279
- return t(this, R).map((i) => i.name);
1276
+ return t(this, A).map((i) => i.name);
1280
1277
  }
1281
1278
  // 🎯 λ‚΄λΆ€ 객체 ν†΅μ§Έλ‘œ μ–»κΈ°
1282
1279
  getFields() {
1283
- return t(this, R);
1280
+ return t(this, A);
1284
1281
  }
1285
1282
  // 🎯 νŠΉμ • ν•„λ“œμ˜ 데이터 νƒ€μž… 쑰회
1286
1283
  getType(i) {
1287
- const e = t(this, R).find((s) => s.name === i);
1284
+ const e = t(this, A).find((s) => s.name === i);
1288
1285
  return e ? e.type : "string";
1289
1286
  }
1290
1287
  indexOf(i) {
1291
- return t(this, R).findIndex((e) => e.name === i);
1288
+ return t(this, A).findIndex((e) => e.name === i);
1292
1289
  }
1293
1290
  includes(i) {
1294
- return t(this, R).some((e) => e.name === i);
1291
+ return t(this, A).some((e) => e.name === i);
1295
1292
  }
1296
1293
  };
1297
- lt = new WeakMap(), R = new WeakMap(), vt = new WeakMap(), Xt = new WeakMap(), a(be, "ngFields");
1294
+ rt = new WeakMap(), A = new WeakMap(), vt = new WeakMap(), Xt = new WeakMap(), a(be, "ngFields");
1298
1295
  let ne = be;
1299
- var Q, Ut, Ft;
1296
+ var G, Ut, Ft;
1300
1297
  const ge = class ge extends HTMLElement {
1301
1298
  constructor() {
1302
1299
  super();
1303
1300
  //#created = false;
1304
- c(this, Q);
1301
+ c(this, G);
1305
1302
  c(this, Ut);
1306
1303
  c(this, Ft, /* @__PURE__ */ a(() => {
1307
1304
  this.fields = new ne(this), b(this, Ut, new te(this)), H.log("NineTable connected."), this.dispatchEvent(new CustomEvent("load", { bubbles: !0, detail: { target: this } }));
1308
1305
  }, "#init"));
1309
- this.attachShadow({ mode: "open" }), b(this, Q, new se(this));
1306
+ this.attachShadow({ mode: "open" }), b(this, G, new se(this));
1310
1307
  }
1311
1308
  connectedCallback() {
1312
1309
  t(this, Ft).call(this);
@@ -1316,18 +1313,18 @@ const ge = class ge extends HTMLElement {
1316
1313
  }
1317
1314
  // 🎯 μ™ΈλΆ€μ—μ„œ grid.data.set(...) ν˜•νƒœλ‘œ μ ‘κ·Όν•  수 μžˆλ„λ‘ 데이터 λ§€λ‹ˆμ € μ˜€ν”ˆ
1318
1315
  get data() {
1319
- return t(this, Q).data;
1316
+ return t(this, G).data;
1320
1317
  }
1321
1318
  // 🎯 ν–‰(row) κ΄€λ ¨ μ œμ–΄ μ ‘κ·Όμž μ˜€ν”ˆ
1322
1319
  get row() {
1323
- return t(this, Q).row;
1320
+ return t(this, G).row;
1324
1321
  }
1325
1322
  // 🎯 전체 데이터 λ§€λ‹ˆμ € μ ‘κ·Ό ν•„μš”ν•  경우
1326
1323
  get dataManager() {
1327
- return t(this, Q);
1324
+ return t(this, G);
1328
1325
  }
1329
1326
  };
1330
- Q = new WeakMap(), Ut = new WeakMap(), Ft = new WeakMap(), a(ge, "NineTable");
1327
+ G = new WeakMap(), Ut = new WeakMap(), Ft = new WeakMap(), a(ge, "NineTable");
1331
1328
  let oe = ge;
1332
1329
  customElements.get("nine-table") || customElements.define("nine-table", oe);
1333
1330
  //# sourceMappingURL=nine-table.js.map