@ninebone/table 0.0.372 β†’ 0.0.374

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.
@@ -5,10 +5,10 @@ var ge = (m) => {
5
5
  var me = (m, i, e) => i in m ? be(m, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : m[i] = e;
6
6
  var a = (m, i) => be(m, "name", { value: i, configurable: !0 });
7
7
  var x = (m, i, e) => me(m, typeof i != "symbol" ? i + "" : i, e), ye = (m, i, e) => i.has(m) || ge("Cannot " + e);
8
- var t = (m, i, e) => (ye(m, i, "read from private field"), e ? e.call(m) : i.get(m)), c = (m, i, e) => i.has(m) ? ge("Cannot add the same private member more than once") : i instanceof WeakSet ? i.add(m) : i.set(m, e), g = (m, i, e, s) => (ye(m, i, "write to private field"), s ? s.call(m, e) : i.set(m, e), e);
8
+ var t = (m, i, e) => (ye(m, i, "read from private field"), e ? e.call(m) : i.get(m)), c = (m, i, e) => i.has(m) ? ge("Cannot add the same private member more than once") : i instanceof WeakSet ? i.add(m) : i.set(m, e), b = (m, i, e, s) => (ye(m, i, "write to private field"), s ? s.call(m, e) : i.set(m, e), e);
9
9
  var pe = (m, i, e, s) => ({
10
10
  set _(o) {
11
- g(m, i, o, e);
11
+ b(m, i, o, e);
12
12
  },
13
13
  get _() {
14
14
  return t(m, i, s);
@@ -22,29 +22,29 @@ const ne = class ne extends xe.constructor {
22
22
  };
23
23
  a(ne, "Trace");
24
24
  let Ut = ne;
25
- const W = new Ut();
26
- var _, O, p, N, P, V, vt, Y, wt;
25
+ const C = new Ut();
26
+ var I, O, p, P, V, Y, vt, X, wt;
27
27
  const oe = class oe extends HTMLElement {
28
28
  constructor() {
29
29
  super();
30
- c(this, _);
30
+ c(this, I);
31
31
  c(this, O, !1);
32
32
  c(this, p);
33
- c(this, N);
34
33
  c(this, P);
35
34
  c(this, V);
35
+ c(this, Y);
36
36
  c(this, vt, /* @__PURE__ */ a(() => {
37
- if (!t(this, _)) return;
38
- const e = t(this, _).querySelector(".ng-container-body");
39
- e && (g(this, V, new ResizeObserver(() => {
37
+ if (!t(this, I)) return;
38
+ const e = t(this, I).querySelector(".ng-container-body");
39
+ e && (b(this, Y, new ResizeObserver(() => {
40
40
  this.refresh();
41
- })), t(this, V).observe(e));
41
+ })), t(this, Y).observe(e));
42
42
  }, "#observeResize"));
43
43
  x(this, "refresh", /* @__PURE__ */ a(() => {
44
- if (!t(this, _) || !t(this, p) || t(this, O)) return;
44
+ if (!t(this, I) || !t(this, p) || t(this, O)) return;
45
45
  const e = t(this, p).container, s = e.querySelector("table");
46
46
  if (!s) return;
47
- const o = t(this, p).track, r = t(this, p).thumb, n = t(this, _).querySelector(".ng-container-bottom"), l = e.clientWidth, h = s.scrollWidth;
47
+ const o = t(this, p).track, r = t(this, p).thumb, n = t(this, I).querySelector(".ng-container-bottom"), l = e.clientWidth, h = s.scrollWidth;
48
48
  if (l !== 0 && h > l)
49
49
  n && (n.style.display = "flex");
50
50
  else {
@@ -55,13 +55,13 @@ const oe = class oe extends HTMLElement {
55
55
  if (d <= 0) return;
56
56
  const f = Math.max(Math.min(d * (l / h), d), 20);
57
57
  r.style.width = `${f}px`;
58
- const u = e.scrollLeft, b = h - l;
58
+ const u = e.scrollLeft, g = h - l;
59
59
  let y = 0;
60
- b > 0 && (y = parseInt(u / b * (d - f), 10)), y < 0 && (y = 0);
61
- const w = d - f;
62
- y > w && (y = w), r.style.left = `${y}px`, W.log(y), t(this, p).left.disabled = y === 0, t(this, p).right.disabled = y >= w - 1;
60
+ g > 0 && (y = parseInt(u / g * (d - f), 10)), y < 0 && (y = 0);
61
+ const S = d - f;
62
+ y > S && (y = S), r.style.left = `${y}px`, C.log(y), t(this, p).left.disabled = y === 0, t(this, p).right.disabled = y >= S - 1;
63
63
  }, "refresh"));
64
- c(this, Y, /* @__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 oe = class oe extends HTMLElement {
75
75
  }, "#thumbMoveTo"));
76
76
  c(this, wt, /* @__PURE__ */ a(() => {
77
77
  const e = /* @__PURE__ */ a((o) => {
78
- clearInterval(t(this, N)), clearInterval(t(this, P));
78
+ clearInterval(t(this, P)), clearInterval(t(this, V));
79
79
  const r = parseInt(t(this, p).thumb.style.left || 0, 10);
80
- t(this, Y).call(this, r + o), g(this, N, setInterval(() => {
81
- clearInterval(t(this, N)), g(this, P, setInterval(() => {
80
+ t(this, X).call(this, r + o), b(this, P, setInterval(() => {
81
+ clearInterval(t(this, P)), b(this, V, setInterval(() => {
82
82
  const n = parseInt(t(this, p).thumb.style.left || 0, 10);
83
- t(this, Y).call(this, n + o) || clearInterval(t(this, P));
83
+ t(this, X).call(this, n + o) || clearInterval(t(this, V));
84
84
  }, 50));
85
85
  }, 500));
86
86
  }, "delayScroll"), s = /* @__PURE__ */ a(() => {
87
- clearInterval(t(this, N)), clearInterval(t(this, P));
87
+ clearInterval(t(this, P)), clearInterval(t(this, V));
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,23 +96,23 @@ const oe = class oe 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, Y).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(), g(this, O, !0), this.shiftX = o.clientX - t(this, p).thumb.getBoundingClientRect().left;
102
+ o.stopPropagation(), o.preventDefault(), b(this, O, !0), this.shiftX = o.clientX - t(this, p).thumb.getBoundingClientRect().left;
103
103
  const r = /* @__PURE__ */ a((l) => {
104
104
  if (!t(this, O)) return;
105
105
  const h = t(this, p).track.getBoundingClientRect();
106
- t(this, Y).call(this, l.clientX - h.left - this.shiftX);
106
+ t(this, X).call(this, l.clientX - h.left - this.shiftX);
107
107
  }, "onMouseMove"), n = /* @__PURE__ */ a(() => {
108
- g(this, O, !1), s(), document.removeEventListener("mousemove", r), document.removeEventListener("mouseup", n), this.refresh();
108
+ b(this, O, !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
  });
112
112
  }, "#init"));
113
113
  }
114
114
  connectedCallback() {
115
- if (g(this, _, this.closest("nine-table-sheet") || this.getRootNode().host), !t(this, _)) return;
115
+ if (b(this, I, this.closest("nine-table-sheet") || this.getRootNode().host), !t(this, I)) return;
116
116
  this.innerHTML = `
117
117
  <style>
118
118
  nine-table-hscrollbar {
@@ -177,12 +177,12 @@ const oe = class oe extends HTMLElement {
177
177
  <button class='ng-scroll-right' disabled><div class='ng-scroll-icon'></div></button>
178
178
  `;
179
179
  const e = /* @__PURE__ */ a(() => {
180
- const s = t(this, _).querySelector(".ng-container-body");
180
+ const s = t(this, I).querySelector(".ng-container-body");
181
181
  if (!s) {
182
182
  setTimeout(e, 10);
183
183
  return;
184
184
  }
185
- g(this, p, {
185
+ b(this, p, {
186
186
  container: s,
187
187
  track: this.querySelector(".ng-scroll-track"),
188
188
  thumb: this.querySelector(".ng-scroll-thumb"),
@@ -195,31 +195,31 @@ const oe = class oe extends HTMLElement {
195
195
  e();
196
196
  }
197
197
  disconnectedCallback() {
198
- t(this, V) && t(this, V).disconnect();
198
+ t(this, Y) && t(this, Y).disconnect();
199
199
  }
200
200
  };
201
- _ = new WeakMap(), O = new WeakMap(), p = new WeakMap(), N = new WeakMap(), P = new WeakMap(), V = new WeakMap(), vt = new WeakMap(), Y = new WeakMap(), wt = new WeakMap(), a(oe, "NineTableHScrollBar");
201
+ I = new WeakMap(), O = new WeakMap(), p = new WeakMap(), P = new WeakMap(), V = new WeakMap(), Y = new WeakMap(), vt = new WeakMap(), X = new WeakMap(), wt = new WeakMap(), a(oe, "NineTableHScrollBar");
202
202
  let Ft = oe;
203
203
  customElements.get("nine-table-hscrollbar") || customElements.define("nine-table-hscrollbar", Ft);
204
- var X, z, S, lt, at, St;
204
+ var U, z, w, at, ct, St;
205
205
  const re = class re extends HTMLElement {
206
206
  constructor() {
207
207
  super();
208
- c(this, X);
208
+ c(this, U);
209
209
  c(this, z, !1);
210
- c(this, S);
211
- c(this, lt, 0);
210
+ c(this, w);
212
211
  c(this, at, 0);
212
+ c(this, ct, 0);
213
213
  /**
214
214
  * 🎯 μŠ€ν¬λ‘€λ°” μœ„μΉ˜ 및 썸브 크기 κ°±μ‹ 
215
215
  */
216
216
  x(this, "refresh", /* @__PURE__ */ a(() => {
217
- if (!t(this, X) || !t(this, S) || t(this, z)) return;
218
- const e = t(this, S).container, s = e.querySelector("table");
217
+ if (!t(this, U) || !t(this, w) || t(this, z)) return;
218
+ const e = t(this, w).container, s = e.querySelector("table");
219
219
  if (!s) return;
220
- const o = t(this, S).track, r = t(this, S).thumb, n = e.clientHeight, l = s.scrollHeight;
220
+ const o = t(this, w).track, r = t(this, w).thumb, n = e.clientHeight, l = s.scrollHeight;
221
221
  if (l <= n) {
222
- r.style.display = "none", t(this, S).top.disabled = !0, t(this, S).bottom.disabled = !0;
222
+ r.style.display = "none", t(this, w).top.disabled = !0, t(this, w).bottom.disabled = !0;
223
223
  return;
224
224
  } else
225
225
  r.style.display = "block";
@@ -228,49 +228,49 @@ const re = class re extends HTMLElement {
228
228
  const d = Math.max(Math.min(h * (n / l), h), 20);
229
229
  r.style.height = `${d}px`;
230
230
  const f = e.scrollTop, u = l - n;
231
- let b = 0;
232
- u > 0 && (b = f / u * (h - d));
231
+ let g = 0;
232
+ u > 0 && (g = f / u * (h - d));
233
233
  const y = h - d;
234
- b < 0 && (b = 0), b > y && (b = y), r.style.top = `${b}px`, t(this, S).top.disabled = f <= 0, t(this, S).bottom.disabled = f >= u - 1;
234
+ g < 0 && (g = 0), g > y && (g = y), r.style.top = `${g}px`, t(this, w).top.disabled = f <= 0, t(this, w).bottom.disabled = f >= u - 1;
235
235
  }, "refresh"));
236
236
  c(this, St, /* @__PURE__ */ a(() => {
237
- const e = t(this, S).container;
237
+ const e = t(this, w).container;
238
238
  e.addEventListener("scroll", () => {
239
239
  t(this, z) || this.refresh();
240
- }), t(this, S).thumb.addEventListener("mousedown", (s) => {
240
+ }), t(this, w).thumb.addEventListener("mousedown", (s) => {
241
241
  if (s.button !== 0) return;
242
- s.stopPropagation(), s.preventDefault(), g(this, z, !0), g(this, lt, s.clientY), g(this, at, e.scrollTop);
242
+ s.stopPropagation(), s.preventDefault(), b(this, z, !0), b(this, at, s.clientY), b(this, ct, e.scrollTop);
243
243
  const o = /* @__PURE__ */ a((n) => {
244
244
  if (!t(this, z)) return;
245
- const l = t(this, S).track.getBoundingClientRect(), h = t(this, S).thumb.clientHeight, f = l.height - h, u = n.clientY - t(this, lt), b = e.clientHeight, y = e.querySelector("table");
246
- W.log(y), W.log(y.scrollHeight);
247
- const k = y.scrollHeight - b;
248
- if (f > 0 && k > 0) {
249
- const mt = u / f * k;
250
- e.scrollTop = t(this, at) + mt;
245
+ const l = t(this, w).track.getBoundingClientRect(), h = t(this, w).thumb.clientHeight, f = l.height - h, u = n.clientY - t(this, at), g = e.clientHeight, y = e.querySelector("table");
246
+ C.log(y), C.log(y.scrollHeight);
247
+ const A = y.scrollHeight - g;
248
+ if (f > 0 && A > 0) {
249
+ const J = u / f * A;
250
+ e.scrollTop = t(this, ct) + J;
251
251
  }
252
252
  this.refresh();
253
253
  }, "onMouseMove"), r = /* @__PURE__ */ a(() => {
254
- g(this, z, !1), document.removeEventListener("mousemove", o), document.removeEventListener("mouseup", r), this.refresh();
254
+ b(this, z, !1), document.removeEventListener("mousemove", o), document.removeEventListener("mouseup", r), this.refresh();
255
255
  }, "onMouseUp");
256
256
  document.addEventListener("mousemove", o), document.addEventListener("mouseup", r);
257
- }), t(this, S).track.addEventListener("mousedown", (s) => {
258
- if (s.button !== 0 || s.target === t(this, S).thumb) return;
259
- const o = t(this, S).track.getBoundingClientRect(), r = t(this, S).thumb.clientHeight, n = s.clientY - o.top - r / 2, h = o.height - r, d = e.clientHeight, u = e.querySelector("table").scrollHeight - d;
257
+ }), t(this, w).track.addEventListener("mousedown", (s) => {
258
+ if (s.button !== 0 || s.target === t(this, w).thumb) return;
259
+ const o = t(this, w).track.getBoundingClientRect(), r = t(this, w).thumb.clientHeight, n = s.clientY - o.top - r / 2, h = o.height - r, d = e.clientHeight, u = e.querySelector("table").scrollHeight - d;
260
260
  if (h > 0 && u > 0) {
261
- const b = Math.max(0, Math.min(1, n / h));
262
- e.scrollTop = b * u;
261
+ const g = Math.max(0, Math.min(1, n / h));
262
+ e.scrollTop = g * u;
263
263
  }
264
264
  this.refresh();
265
- }), t(this, S).top.addEventListener("click", () => {
265
+ }), t(this, w).top.addEventListener("click", () => {
266
266
  e.scrollTop -= 40;
267
- }), t(this, S).bottom.addEventListener("click", () => {
267
+ }), t(this, w).bottom.addEventListener("click", () => {
268
268
  e.scrollTop += 40;
269
269
  });
270
270
  }, "#init"));
271
271
  }
272
272
  connectedCallback() {
273
- if (g(this, X, this.closest("nine-table-sheet") || this.getRootNode().host), !t(this, X)) return;
273
+ if (b(this, U, this.closest("nine-table-sheet") || this.getRootNode().host), !t(this, U)) return;
274
274
  this.innerHTML = `
275
275
  <style>
276
276
  nine-table-vscrollbar {
@@ -335,12 +335,12 @@ const re = class re extends HTMLElement {
335
335
  <button class='ng-scroll-bottom' disabled><div class='ng-scroll-icon'></div></button>
336
336
  `;
337
337
  const e = /* @__PURE__ */ a(() => {
338
- const s = t(this, X).querySelector(".ng-container-body");
338
+ const s = t(this, U).querySelector(".ng-container-body");
339
339
  if (!s) {
340
340
  setTimeout(e, 10);
341
341
  return;
342
342
  }
343
- g(this, S, {
343
+ b(this, w, {
344
344
  container: s,
345
345
  track: this.querySelector(".ng-scroll-track"),
346
346
  thumb: this.querySelector(".ng-scroll-thumb"),
@@ -351,16 +351,16 @@ const re = class re extends HTMLElement {
351
351
  e();
352
352
  }
353
353
  };
354
- X = new WeakMap(), z = new WeakMap(), S = new WeakMap(), lt = new WeakMap(), at = new WeakMap(), St = new WeakMap(), a(re, "NineTableVScrollBar");
354
+ U = new WeakMap(), z = new WeakMap(), w = new WeakMap(), at = new WeakMap(), ct = new WeakMap(), St = new WeakMap(), a(re, "NineTableVScrollBar");
355
355
  let jt = re;
356
356
  customElements.get("nine-table-vscrollbar") || customElements.define("nine-table-vscrollbar", jt);
357
- var Et, G;
358
- const C = class C {
357
+ var Et, Q;
358
+ const _ = class _ {
359
359
  /**
360
360
  * 🎯 λ ˆμ΄μ•„μ›ƒ λ‚΄μ˜ μ—¬λŸ¬ rawTables 배열을 μΌκ΄„λ‘œ λ°›μ•„ 단일 λ§ˆμŠ€ν„° ν…œν”Œλ¦ΏμœΌλ‘œ 사전 μ»΄νŒŒμΌν•©λ‹ˆλ‹€.
361
361
  */
362
362
  static compileAll(i) {
363
- return Array.isArray(i) ? i.map((e) => C.compile(e)) : [];
363
+ return Array.isArray(i) ? i.map((e) => _.compile(e)) : [];
364
364
  }
365
365
  /**
366
366
  * 🎯 단일 원본 ν…Œμ΄λΈ”μ„ λ°›μ•„ κΈ°λ³Έ ꡬ쑰 보정 및 2차원 격자 인덱슀 사전 λΆ€μ—¬ μ™„λ£Œλœ λ§ˆμŠ€ν„° ν…Œμ΄λΈ” λ°˜ν™˜
@@ -369,7 +369,7 @@ const C = class C {
369
369
  var o, r, n, l;
370
370
  if (!i) return null;
371
371
  const e = i.cloneNode(!0);
372
- return t(o = C, Et).call(o, e), t(r = C, G).call(r, e, "thead"), t(n = C, G).call(n, e, "tbody"), t(l = C, G).call(l, e, "tfoot"), Array.from(e.querySelectorAll("colgroup col")).forEach((h, d) => {
372
+ return t(o = _, Et).call(o, e), t(r = _, Q).call(r, e, "thead"), t(n = _, Q).call(n, e, "tbody"), t(l = _, Q).call(l, e, "tfoot"), Array.from(e.querySelectorAll("colgroup col")).forEach((h, d) => {
373
373
  const f = h.getAttribute("fixed");
374
374
  f && e.querySelectorAll(`thead [data-col="${d}"], tbody [data-col="${d}"], tfoot [data-col="${d}"]`).forEach((u) => {
375
375
  u.setAttribute("fixed", f);
@@ -377,7 +377,7 @@ const C = class C {
377
377
  }), e;
378
378
  }
379
379
  };
380
- Et = new WeakMap(), G = new WeakMap(), a(C, "TableCompiler"), c(C, Et, /* @__PURE__ */ a((i) => {
380
+ Et = new WeakMap(), Q = new WeakMap(), a(_, "TableCompiler"), c(_, Et, /* @__PURE__ */ a((i) => {
381
381
  if (!i.querySelector("colgroup")) {
382
382
  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);
383
383
  for (let n = 0; n < s; n++) {
@@ -391,7 +391,7 @@ Et = new WeakMap(), G = new WeakMap(), a(C, "TableCompiler"), c(C, Et, /* @__PUR
391
391
  s ? s.after(e) : i.prepend(e);
392
392
  }
393
393
  i.classList.add("nine-table-element"), i.style.display = "table";
394
- }, "#ensureTableStructure")), c(C, G, /* @__PURE__ */ a((i, e) => {
394
+ }, "#ensureTableStructure")), c(_, Q, /* @__PURE__ */ a((i, e) => {
395
395
  const s = Array.from(i.querySelectorAll(e + " tr")), o = Array.from(i.querySelectorAll(e + " th," + e + " td")), r = s.length;
396
396
  if (r === 0 || o.length === 0) return;
397
397
  let n = 0;
@@ -403,15 +403,15 @@ Et = new WeakMap(), G = new WeakMap(), a(C, "TableCompiler"), c(C, Et, /* @__PUR
403
403
  const d = h.sectionRowIndex;
404
404
  let f = 0;
405
405
  Array.from(h.querySelectorAll("th,td")).forEach((u) => {
406
- for (let w = 0; w < l[d].length; w++)
407
- if (l[d][w] === null) {
408
- f = w;
406
+ for (let S = 0; S < l[d].length; S++)
407
+ if (l[d][S] === null) {
408
+ f = S;
409
409
  break;
410
410
  }
411
- const b = u.rowSpan || 1, y = u.colSpan || 1;
412
- for (let w = 0; w < b; w++)
413
- for (let k = 0; k < y; k++)
414
- d + w < r && f + k < n && (l[d + w][f + k] = w === 0 && k === 0 ? "1" : "0");
411
+ const g = u.rowSpan || 1, y = u.colSpan || 1;
412
+ for (let S = 0; S < g; S++)
413
+ for (let A = 0; A < y; A++)
414
+ d + S < r && f + A < n && (l[d + S][f + A] = S === 0 && A === 0 ? "1" : "0");
415
415
  });
416
416
  }), s.forEach((h) => {
417
417
  const d = h.sectionRowIndex;
@@ -424,26 +424,26 @@ Et = new WeakMap(), G = new WeakMap(), a(C, "TableCompiler"), c(C, Et, /* @__PUR
424
424
  });
425
425
  });
426
426
  }, "#resetColIndex"));
427
- let Kt = C;
428
- var M, v, I, A, B, U, J, Q, Rt, At, qt, ct, ht, Tt, kt, dt, Lt, tt, ft;
427
+ let Kt = _;
428
+ var M, v, W, q, D, F, B, tt, Rt, At, qt, ht, dt, Tt, kt, ft, Lt, et, ut;
429
429
  const le = class le {
430
430
  constructor(i) {
431
431
  c(this, M);
432
432
  c(this, v);
433
- c(this, I, /* @__PURE__ */ new Map());
434
- c(this, A, null);
435
- c(this, B, null);
436
- c(this, U, 0);
437
- c(this, J, 40);
438
- c(this, Q, !1);
433
+ c(this, W, /* @__PURE__ */ new Map());
434
+ c(this, q, null);
435
+ c(this, D, null);
436
+ c(this, F, 0);
437
+ c(this, B, 40);
438
+ c(this, tt, !1);
439
439
  c(this, Rt, 3);
440
440
  x(this, "refresh", /* @__PURE__ */ a(() => {
441
441
  var e;
442
442
  const i = t(this, v).querySelector(".ng-container-body");
443
- i && (t(this, ct).call(this), t(this, tt).call(this, i.scrollTop), (e = t(this, v).querySelector("nine-table-vscrollbar")) == null || e.refresh());
443
+ i && (t(this, ht).call(this), t(this, et).call(this, i.scrollTop), (e = t(this, v).querySelector("nine-table-vscrollbar")) == null || e.refresh());
444
444
  }, "refresh"));
445
445
  x(this, "initialize", /* @__PURE__ */ a(() => {
446
- g(this, A, null), t(this, I).clear(), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((o) => {
446
+ b(this, q, null), t(this, W).clear(), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((o) => {
447
447
  const r = t(this, v).querySelector(o);
448
448
  if (!r) return;
449
449
  const n = r.querySelector("table");
@@ -451,15 +451,15 @@ const le = class le {
451
451
  const l = n.querySelector("tbody.bindable-tbody");
452
452
  if (!l) return;
453
453
  const d = Array.from(l.querySelectorAll("tr")).map((f) => f.cloneNode(!0));
454
- t(this, I).set(o, d);
454
+ t(this, W).set(o, d);
455
455
  });
456
456
  const i = t(this, v).querySelector(".ng-container-body"), e = t(this, v).querySelector(".ng-container-left"), s = t(this, v).querySelector(".ng-container-right");
457
457
  if (i) {
458
- t(this, qt).call(this, i), t(this, dt).call(this), t(this, ct).call(this), t(this, tt).call(this, i.scrollTop);
458
+ t(this, qt).call(this, i), t(this, ft).call(this), t(this, ht).call(this), t(this, et).call(this, i.scrollTop);
459
459
  let o = i.scrollTop;
460
460
  const r = /* @__PURE__ */ a((n) => {
461
461
  var l;
462
- e && e.scrollTop !== n && (e.scrollTop = n), s && s.scrollTop !== n && (s.scrollTop = n), t(this, tt).call(this, n), (l = t(this, v).querySelector("nine-table-vscrollbar")) == null || l.refresh();
462
+ e && e.scrollTop !== n && (e.scrollTop = n), s && s.scrollTop !== n && (s.scrollTop = n), t(this, et).call(this, n), (l = t(this, v).querySelector("nine-table-vscrollbar")) == null || l.refresh();
463
463
  }, "syncScroll");
464
464
  i.addEventListener("scroll", () => {
465
465
  const n = i.scrollTop;
@@ -468,50 +468,50 @@ const le = class le {
468
468
  }
469
469
  }, "initialize"));
470
470
  c(this, At, /* @__PURE__ */ a((i, e) => {
471
- const s = t(this, I).get(e);
471
+ const s = t(this, W).get(e);
472
472
  if (!s || s.length === 0) return;
473
473
  const o = i.querySelector("tbody.bindable-tbody");
474
474
  if (!o) return;
475
475
  o.querySelectorAll("tr:not(.nodata)").forEach((l) => l.remove());
476
476
  const r = o.querySelector("tr.nodata"), n = document.createDocumentFragment();
477
- for (let l = 0; l < t(this, J); l++)
477
+ for (let l = 0; l < t(this, B); l++)
478
478
  s.forEach((h) => {
479
479
  n.appendChild(h.cloneNode(!0));
480
480
  });
481
481
  r ? r.before(n) : o.appendChild(n);
482
482
  }, "#renderRows"));
483
483
  c(this, qt, /* @__PURE__ */ a((i) => {
484
- if (t(this, A) !== null && t(this, A) > 0)
485
- return t(this, A);
486
- const e = t(this, I).get(".ng-container-body");
484
+ if (t(this, q) !== null && t(this, q) > 0)
485
+ return t(this, q);
486
+ const e = t(this, W).get(".ng-container-body");
487
487
  if (!e || e.length === 0) return 24;
488
488
  const s = i.querySelector("tbody.bindable-tbody") || i.querySelector("tbody.bindable-tbody:last-of-type");
489
489
  if (!s) return 24;
490
- s.querySelectorAll("tr:not(.nodata)").forEach((b) => b.remove());
490
+ s.querySelectorAll("tr:not(.nodata)").forEach((g) => g.remove());
491
491
  const o = s.querySelector("tr.nodata"), r = document.createDocumentFragment();
492
- e.forEach((b) => {
493
- r.appendChild(b.cloneNode(!0));
492
+ e.forEach((g) => {
493
+ r.appendChild(g.cloneNode(!0));
494
494
  }), o ? o.before(r) : s.appendChild(r);
495
495
  const n = t(this, v), l = n.style.display, h = n.style.visibility, d = n.style.position;
496
496
  (l === "none" || window.getComputedStyle(n).display === "none") && (n.style.display = "block", n.style.visibility = "hidden", n.style.position = "absolute");
497
497
  let f = 0;
498
498
  const u = s.querySelectorAll("tr:not(.nodata)");
499
- return u.forEach((b) => {
500
- f += b.offsetHeight || b.getBoundingClientRect().height;
501
- }), u.forEach((b) => b.remove()), n.style.display = l, n.style.visibility = h, n.style.position = d, g(this, A, f > 0 ? f : 24), t(this, ht).call(this), t(this, A);
499
+ return u.forEach((g) => {
500
+ f += g.offsetHeight || g.getBoundingClientRect().height;
501
+ }), u.forEach((g) => g.remove()), n.style.display = l, n.style.visibility = h, n.style.position = d, b(this, q, f > 0 ? f : 24), t(this, dt).call(this), t(this, q);
502
502
  }, "#measureAndCacheHeight"));
503
- c(this, ct, /* @__PURE__ */ a(() => {
503
+ c(this, ht, /* @__PURE__ */ a(() => {
504
504
  if (!t(this, v).querySelector(".ng-container-body")) return;
505
- const s = (t(this, M).data.get() || []).length, o = t(this, A) || 24, r = s * o;
506
- W.log(`[VirtualHeight] totalCount: ${s}, rowHeight: ${o}, totalVirtualHeight: ${r}`), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((n) => {
505
+ const s = (t(this, M).data.get() || []).length, o = t(this, q) || 24, r = s * o;
506
+ C.log(`[VirtualHeight] totalCount: ${s}, rowHeight: ${o}, totalVirtualHeight: ${r}`), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((n) => {
507
507
  const l = t(this, v).querySelector(n), h = l == null ? void 0 : l.querySelector("table");
508
508
  h && (h.style.height = `${r}px`);
509
509
  });
510
510
  }, "#updateVirtualScrollHeight"));
511
- c(this, ht, /* @__PURE__ */ a(() => {
512
- if ((t(this, M).data.get() || []).length, t(this, U) > 0 && t(this, A) > 0) {
513
- const e = Math.ceil(t(this, U) / t(this, A));
514
- g(this, J, e + t(this, Rt)), W.log("visibleRows:", e, "cachedRowCount:", t(this, J));
511
+ c(this, dt, /* @__PURE__ */ a(() => {
512
+ if ((t(this, M).data.get() || []).length, t(this, F) > 0 && t(this, q) > 0) {
513
+ const e = Math.ceil(t(this, F) / t(this, q));
514
+ b(this, B, e + t(this, Rt)), C.log("visibleRows:", e, "cachedRowCount:", t(this, B));
515
515
  }
516
516
  }, "#updateRowCount"));
517
517
  c(this, Tt, /* @__PURE__ */ a(() => {
@@ -520,16 +520,16 @@ const le = class le {
520
520
  if (!e) return;
521
521
  const o = i ? Array.from(i.querySelectorAll("tr")) : [], r = Array.from(e.querySelectorAll("tr")), n = s ? Array.from(s.querySelectorAll("tr")) : [], l = Math.max(o.length, r.length, n.length);
522
522
  for (let u = 0; u < l; u++) {
523
- const b = [
523
+ const g = [
524
524
  ((h = o[u]) == null ? void 0 : h.getBoundingClientRect().height) || 0,
525
525
  ((d = r[u]) == null ? void 0 : d.getBoundingClientRect().height) || 0,
526
526
  ((f = n[u]) == null ? void 0 : f.getBoundingClientRect().height) || 0
527
- ], y = Math.max(...b);
527
+ ], y = Math.max(...g);
528
528
  y > 0 && (o[u] && (o[u].style.height = `${y}px`), r[u] && (r[u].style.height = `${y}px`), n[u] && (n[u].style.height = `${y}px`));
529
529
  }
530
530
  }, "#syncRowHeights"));
531
531
  c(this, kt, /* @__PURE__ */ a(() => {
532
- !t(this, v) || !(t(this, v) instanceof HTMLElement) || (g(this, B, new ResizeObserver((i) => {
532
+ !t(this, v) || !(t(this, v) instanceof HTMLElement) || (b(this, D, new ResizeObserver((i) => {
533
533
  for (const e of i) {
534
534
  const s = e.target;
535
535
  if (!s.classList.contains("active")) continue;
@@ -539,12 +539,12 @@ const le = class le {
539
539
  const n = s.querySelector("thead");
540
540
  n && (r += n.offsetHeight || n.getBoundingClientRect().height);
541
541
  const l = Math.max(o - r, 100);
542
- t(this, U) !== l && (g(this, U, l), t(this, ht).call(this), t(this, A) !== null && t(this, dt).call(this));
542
+ t(this, F) !== l && (b(this, F, l), t(this, dt).call(this), t(this, q) !== null && t(this, ft).call(this));
543
543
  }
544
544
  }
545
- })), t(this, B).observe(t(this, v)));
545
+ })), t(this, D).observe(t(this, v)));
546
546
  }, "#initResizeObserver"));
547
- c(this, dt, /* @__PURE__ */ a(() => {
547
+ c(this, ft, /* @__PURE__ */ a(() => {
548
548
  [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((i) => {
549
549
  const e = t(this, v).querySelector(i);
550
550
  e && e.querySelector("tbody.bindable-tbody") && t(this, At).call(this, e, i);
@@ -557,75 +557,75 @@ const le = class le {
557
557
  if (!s) return;
558
558
  const o = s.querySelector("tbody.bindable-tbody");
559
559
  if (!o) return;
560
- const r = Array.from(o.querySelectorAll("tr:not(.nodata)")), n = ((d = t(this, I).get(e)) == null ? void 0 : d.length) || 1, h = (t(this, M).data.get() || []).length;
560
+ const r = Array.from(o.querySelectorAll("tr:not(.nodata)")), n = ((d = t(this, W).get(e)) == null ? void 0 : d.length) || 1, h = (t(this, M).data.get() || []).length;
561
561
  r.forEach((f, u) => {
562
- const b = i + Math.floor(u / n);
563
- if (b >= h) {
562
+ const g = i + Math.floor(u / n);
563
+ if (g >= h) {
564
564
  f.style.display = "none";
565
565
  return;
566
566
  }
567
- const y = t(this, M).data.get(b);
568
- f.style.display = "", t(this, ft).call(this, f, y, b);
567
+ const y = t(this, M).data.get(g);
568
+ f.style.display = "", t(this, ut).call(this, f, y, g);
569
569
  });
570
570
  });
571
571
  }, "#adjustBufferRows"));
572
- c(this, tt, /* @__PURE__ */ a((i) => {
573
- var l;
574
- const e = t(this, A);
572
+ c(this, et, /* @__PURE__ */ a((i) => {
573
+ var h;
574
+ const e = t(this, q);
575
575
  if (!e || e <= 0) return;
576
- const s = Math.max(0, Math.floor(i / e)), o = ((l = t(this, I).get(".ng-container-body")) == null ? void 0 : l.length) || 1, n = (t(this, M).data.get() || []).length;
577
- [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((h) => {
578
- const d = t(this, v).querySelector(h);
579
- if (!d) return;
580
- const f = d.querySelector("tbody.bindable-tbody");
576
+ const o = (t(this, M).data.get() || []).length, r = Math.max(0, Math.floor(i / e)), n = ((h = t(this, W).get(".ng-container-body")) == null ? void 0 : h.length) || 1, l = r + t(this, B);
577
+ C.log(`[Scroll] scrollTop: ${i}, startIndex: ${r}, cachedRowCount: ${t(this, B)}, targetDataIndex range: ${r} ~ ${l} (Total: ${o})`), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((d) => {
578
+ const f = t(this, v).querySelector(d);
581
579
  if (!f) return;
582
- Array.from(f.querySelectorAll("tr:not(.nodata)")).forEach((b, y) => {
583
- const w = s + Math.floor(y / o);
584
- if (w >= n) {
585
- b.style.display = "none";
580
+ const u = f.querySelector("tbody.bindable-tbody");
581
+ if (!u) return;
582
+ Array.from(u.querySelectorAll("tr:not(.nodata)")).forEach((y, S) => {
583
+ const A = r + Math.floor(S / n);
584
+ if (A >= o) {
585
+ y.style.display = "none";
586
586
  return;
587
587
  }
588
- const k = t(this, M).data.get(w);
589
- b.style.display = "", t(this, ft).call(this, b, k, w);
588
+ const J = t(this, M).data.get(A);
589
+ y.style.display = "", t(this, ut).call(this, y, J, A);
590
590
  });
591
- }), t(this, Q) || (g(this, Q, !0), setTimeout(() => {
592
- t(this, Lt).call(this, s), g(this, Q, !1);
591
+ }), t(this, tt) || (b(this, tt, !0), setTimeout(() => {
592
+ t(this, Lt).call(this, r), b(this, tt, !1);
593
593
  }, 0));
594
594
  }, "#handleScroll"));
595
- c(this, ft, /* @__PURE__ */ a((i, e, s) => {
595
+ c(this, ut, /* @__PURE__ */ a((i, e, s) => {
596
596
  i.dataset.row = s, Array.from(i.cells).forEach((o, r) => {
597
597
  const n = o.dataset.bind;
598
598
  n && e && e[n] !== void 0 ? o.textContent = e[n] : o.textContent = e ? e[Object.keys(e)[r]] ?? `R${s}C${r}` : `ν–‰ ${s + 1}`, o.dataset.row = s;
599
599
  });
600
600
  }, "#bindRowData"));
601
601
  x(this, "destroy", /* @__PURE__ */ a(() => {
602
- t(this, B) && (t(this, B).disconnect(), g(this, B, null));
602
+ t(this, D) && (t(this, D).disconnect(), b(this, D, null));
603
603
  }, "destroy"));
604
- g(this, M, i.getRootNode().host), g(this, v, i), t(this, kt).call(this);
604
+ b(this, M, i.getRootNode().host), b(this, v, i), t(this, kt).call(this);
605
605
  }
606
606
  getRowHeight() {
607
- return t(this, A);
607
+ return t(this, q);
608
608
  }
609
609
  templateLength(i = ".ng-container-body") {
610
610
  var e;
611
- return ((e = t(this, I).get(i)) == null ? void 0 : e.length) || 1;
611
+ return ((e = t(this, W).get(i)) == null ? void 0 : e.length) || 1;
612
612
  }
613
613
  };
614
- M = new WeakMap(), v = new WeakMap(), I = new WeakMap(), A = new WeakMap(), B = new WeakMap(), U = new WeakMap(), J = new WeakMap(), Q = new WeakMap(), Rt = new WeakMap(), At = new WeakMap(), qt = new WeakMap(), ct = new WeakMap(), ht = new WeakMap(), Tt = new WeakMap(), kt = new WeakMap(), dt = new WeakMap(), Lt = new WeakMap(), tt = new WeakMap(), ft = new WeakMap(), a(le, "RowManager");
614
+ M = new WeakMap(), v = new WeakMap(), W = new WeakMap(), q = new WeakMap(), D = new WeakMap(), F = new WeakMap(), B = new WeakMap(), tt = new WeakMap(), Rt = new WeakMap(), At = new WeakMap(), qt = new WeakMap(), ht = new WeakMap(), dt = new WeakMap(), Tt = new WeakMap(), kt = new WeakMap(), ft = new WeakMap(), Lt = new WeakMap(), et = new WeakMap(), ut = new WeakMap(), a(le, "RowManager");
615
615
  let Zt = le;
616
- var Ht, et, F, Ct, _t, Mt, $t, It;
617
- const rt = class rt extends HTMLElement {
616
+ var Ht, it, j, Ct, _t, $t, It, Mt;
617
+ const lt = class lt extends HTMLElement {
618
618
  constructor() {
619
619
  super();
620
620
  c(this, Ht);
621
- c(this, et, null);
622
- c(this, F);
621
+ c(this, it, null);
622
+ c(this, j);
623
623
  /**
624
624
  * data.set, add, delete
625
625
  * filter, sorting : κ³ λ €λŒ€μƒ
626
626
  */
627
627
  x(this, "invalidate", /* @__PURE__ */ a(() => {
628
- t(this, F).refresh();
628
+ t(this, j).refresh();
629
629
  }, "invalidate"));
630
630
  c(this, Ct, /* @__PURE__ */ a(() => {
631
631
  [
@@ -635,7 +635,7 @@ const rt = class rt extends HTMLElement {
635
635
  ].forEach(({ selector: s, type: o }) => {
636
636
  const r = this.querySelector(s);
637
637
  if (!r) return;
638
- const n = t(this, Mt).call(this, t(this, et), o);
638
+ const n = t(this, $t).call(this, t(this, it), o);
639
639
  r.innerHTML = "", r.appendChild(n);
640
640
  });
641
641
  }, "#renderSplitContainers"));
@@ -651,13 +651,13 @@ const rt = class rt extends HTMLElement {
651
651
  });
652
652
  }, "#updateContainerWidths"));
653
653
  x(this, "generate", /* @__PURE__ */ a((e) => {
654
- e && (g(this, et, Kt.compile(e)), t(this, et).style.display = "table", t(this, Ct).call(this), t(this, _t).call(this), requestAnimationFrame(() => {
654
+ e && (b(this, it, Kt.compile(e)), t(this, it).style.display = "table", t(this, Ct).call(this), t(this, _t).call(this), requestAnimationFrame(() => {
655
655
  var o;
656
656
  const s = (o = this.querySelector("thead")) == null ? void 0 : o.getBoundingClientRect().height;
657
657
  this.querySelectorAll("tbody.fixed-tbody").forEach((r) => {
658
658
  r.style.top = `${s}px`;
659
659
  });
660
- }), t(this, F).initialize(), setTimeout(() => {
660
+ }), t(this, j).initialize(), setTimeout(() => {
661
661
  var s;
662
662
  (s = this.querySelector("nine-table-hscrollbar")) == null || s.refresh();
663
663
  }, 0));
@@ -665,7 +665,7 @@ const rt = class rt extends HTMLElement {
665
665
  /**
666
666
  * 🎯 λ§ˆμŠ€ν„° ν…Œμ΄λΈ”μ„ 기반으둜 νŠΉμ • fixed νƒ€μž… μ˜μ—­λ§Œ λ‚¨κΈ°λŠ” λΆ„ν•  헬퍼
667
667
  */
668
- c(this, Mt, /* @__PURE__ */ a((e, s) => {
668
+ c(this, $t, /* @__PURE__ */ a((e, s) => {
669
669
  const o = e.cloneNode(!0), r = o.querySelector("tbody");
670
670
  if (r) {
671
671
  const n = document.createElement("tbody");
@@ -679,7 +679,7 @@ const rt = class rt extends HTMLElement {
679
679
  n.remove();
680
680
  }), o;
681
681
  }, "#createSplitTable"));
682
- x(this, "getRowHeight", /* @__PURE__ */ a(() => t(this, F).getRowHeight(), "getRowHeight"));
682
+ x(this, "getRowHeight", /* @__PURE__ */ a(() => t(this, j).getRowHeight(), "getRowHeight"));
683
683
  x(this, "scrollToX", /* @__PURE__ */ a((e) => {
684
684
  const s = this.querySelector(".ng-container-body");
685
685
  s && (s.scrollLeft = e);
@@ -688,11 +688,11 @@ const rt = class rt extends HTMLElement {
688
688
  const s = this.querySelector(".ng-container-body");
689
689
  s && (s.scrollTop = e);
690
690
  }, "scrollToY"));
691
- c(this, $t, /* @__PURE__ */ a(() => {
692
- t(this, It).call(this);
693
- }, "#init"));
694
691
  c(this, It, /* @__PURE__ */ a(() => {
695
- const e = rt.SCROLLBAR_SIZE;
692
+ t(this, Mt).call(this);
693
+ }, "#init"));
694
+ c(this, Mt, /* @__PURE__ */ a(() => {
695
+ const e = lt.SCROLLBAR_SIZE;
696
696
  this.innerHTML = `
697
697
  <style>
698
698
  nine-table-sheet {
@@ -838,19 +838,19 @@ const rt = class rt extends HTMLElement {
838
838
  </div>
839
839
  `;
840
840
  }, "#render"));
841
- g(this, F, new Zt(this)), g(this, Ht, this.getRootNode().host);
841
+ b(this, j, new Zt(this)), b(this, Ht, this.getRootNode().host);
842
842
  }
843
843
  connectedCallback() {
844
- t(this, $t).call(this);
844
+ t(this, It).call(this);
845
845
  }
846
846
  disconnectedCallback() {
847
- this.innerHTML = "", W.log("NineTableSheet destroyed.");
847
+ this.innerHTML = "", C.log("NineTableSheet destroyed.");
848
848
  }
849
849
  };
850
- Ht = new WeakMap(), et = new WeakMap(), F = new WeakMap(), Ct = new WeakMap(), _t = new WeakMap(), Mt = new WeakMap(), $t = new WeakMap(), It = new WeakMap(), a(rt, "NineTableSheet"), x(rt, "SCROLLBAR_SIZE", 16);
851
- let xt = rt;
850
+ Ht = new WeakMap(), it = new WeakMap(), j = new WeakMap(), Ct = new WeakMap(), _t = new WeakMap(), $t = new WeakMap(), It = new WeakMap(), Mt = new WeakMap(), a(lt, "NineTableSheet"), x(lt, "SCROLLBAR_SIZE", 16);
851
+ let xt = lt;
852
852
  customElements.get("nine-table-sheet") || customElements.define("nine-table-sheet", xt);
853
- var Wt, ut;
853
+ var Wt, bt;
854
854
  const ae = class ae extends HTMLElement {
855
855
  constructor() {
856
856
  super();
@@ -859,17 +859,17 @@ const ae = class ae extends HTMLElement {
859
859
  (e = this.querySelector(".nine-tab-bar")) == null || e.addEventListener("click", (s) => {
860
860
  var n;
861
861
  const o = s.ctrlKey || s.metaKey || s.shiftKey, r = parseInt((n = s.target.closest(".nine-tab-item")) == null ? void 0 : n.dataset.index, 10);
862
- t(this, ut).call(this, r, o);
863
- }), t(this, ut).call(this, 0, !1);
862
+ t(this, bt).call(this, r, o);
863
+ }), t(this, bt).call(this, 0, !1);
864
864
  }, "#init"));
865
- c(this, ut, /* @__PURE__ */ a((e, s = !1) => {
865
+ c(this, bt, /* @__PURE__ */ a((e, s = !1) => {
866
866
  const o = /* @__PURE__ */ a(() => {
867
867
  const f = Array.from(this.querySelectorAll("nine-table-sheet"));
868
868
  Array.from(this.querySelectorAll("nine-splitter")).forEach((y) => y.style.setProperty("display", "none"));
869
- const b = f.filter((y) => y.classList.contains("active"));
870
- b.length < 2 || b.forEach((y) => {
871
- const w = parseInt(y.getAttribute("data-index"), 10), k = this.querySelector(`nine-splitter[data-split-index="${w}"]`), mt = f[w + 1];
872
- k && mt && mt.classList.contains("active") && k.style.setProperty("display", "flex");
869
+ const g = f.filter((y) => y.classList.contains("active"));
870
+ g.length < 2 || g.forEach((y) => {
871
+ const S = parseInt(y.getAttribute("data-index"), 10), A = this.querySelector(`nine-splitter[data-split-index="${S}"]`), J = f[S + 1];
872
+ A && J && J.classList.contains("active") && A.style.setProperty("display", "flex");
873
873
  });
874
874
  }, "updateSplitters"), r = this.querySelector(".nine-tab-bar"), n = this.querySelector("nine-table-sheets-body"), l = r.querySelectorAll(".nine-tab-item"), h = n.querySelectorAll("nine-table-sheet");
875
875
  if (!l[e]) return;
@@ -877,16 +877,16 @@ const ae = class ae extends HTMLElement {
877
877
  l.forEach((f, u) => {
878
878
  f.classList.toggle("active", u === e);
879
879
  }), h.forEach((f, u) => {
880
- const b = u === e;
881
- f.classList.toggle("active", b), f.style.flex = b ? "1 1 100%" : "";
880
+ const g = u === e;
881
+ f.classList.toggle("active", g), f.style.flex = g ? "1 1 100%" : "";
882
882
  });
883
883
  else {
884
884
  const f = l[e], u = r.querySelectorAll(".nine-tab-item.active");
885
885
  if (f.classList.contains("active") && u.length <= 1)
886
886
  return;
887
887
  f.classList.toggle("active");
888
- const b = n.querySelector(`nine-table-sheet[data-index="${e}"]`);
889
- b && (b.classList.toggle("active"), b.classList.contains("active") || (b.style.flex = ""));
888
+ const g = n.querySelector(`nine-table-sheet[data-index="${e}"]`);
889
+ g && (g.classList.toggle("active"), g.classList.contains("active") || (g.style.flex = ""));
890
890
  }
891
891
  const d = n.querySelectorAll("nine-table-sheet.active");
892
892
  d == null || d.forEach((f) => {
@@ -898,32 +898,32 @@ const ae = class ae extends HTMLElement {
898
898
  t(this, Wt).call(this);
899
899
  }
900
900
  };
901
- Wt = new WeakMap(), ut = new WeakMap(), a(ae, "NineTableSheets");
901
+ Wt = new WeakMap(), bt = new WeakMap(), a(ae, "NineTableSheets");
902
902
  let Gt = ae;
903
903
  customElements.get("nine-table-sheets") || customElements.define("nine-table-sheets", Gt);
904
- var q, Ot, bt, zt;
904
+ var T, Ot, gt, zt;
905
905
  const ce = class ce {
906
906
  constructor(i) {
907
- c(this, q);
907
+ c(this, T);
908
908
  c(this, Ot, /* @__PURE__ */ a(() => {
909
909
  t(this, zt).call(this), new ResizeObserver((i) => {
910
910
  for (let e of i)
911
- t(this, q).getAttribute("auto-height") === "true" && t(this, bt).call(this);
912
- }).observe(t(this, q));
911
+ t(this, T).getAttribute("auto-height") === "true" && t(this, gt).call(this);
912
+ }).observe(t(this, T));
913
913
  }, "#init"));
914
- c(this, bt, /* @__PURE__ */ a(() => {
914
+ c(this, gt, /* @__PURE__ */ a(() => {
915
915
  var h, d;
916
- const i = Array.from(t(this, q).shadowRoot.querySelectorAll("nine-table-sheet.active"));
916
+ const i = Array.from(t(this, T).shadowRoot.querySelectorAll("nine-table-sheet.active"));
917
917
  if (i.length === 0) return;
918
- const e = parseInt(t(this, q).getAttribute("max-display-row"), 10) || 10, s = Math.max(...i.map((f) => f.getRowHeight())), o = (h = t(this, q).shadowRoot.querySelector("nine-table-header")) == null ? void 0 : h.getBoundingClientRect().height, r = (d = t(this, q).shadowRoot.querySelector("nine-table-sheets-footer")) == null ? void 0 : d.getBoundingClientRect().height, n = xt.SCROLLBAR_SIZE, l = e * s + o + r + n;
919
- t(this, q).style.height = `${l}px`;
918
+ const e = parseInt(t(this, T).getAttribute("max-display-row"), 10) || 10, s = Math.max(...i.map((f) => f.getRowHeight())), o = (h = t(this, T).shadowRoot.querySelector("nine-table-header")) == null ? void 0 : h.getBoundingClientRect().height, r = (d = t(this, T).shadowRoot.querySelector("nine-table-sheets-footer")) == null ? void 0 : d.getBoundingClientRect().height, n = xt.SCROLLBAR_SIZE, l = e * s + o + r + n;
919
+ t(this, T).style.height = `${l}px`;
920
920
  }, "#applyAutoHeight"));
921
921
  c(this, zt, /* @__PURE__ */ a(() => {
922
- const e = Array.from(t(this, q).children).filter((h) => h.tagName === "TABLE"), s = t(this, q).getAttribute("auto-height") === "true", o = e.length, r = e.map((h, d) => {
923
- const u = `<nine-table-sheet class="${d === 0 ? "active" : ""}" data-index="${d}"></nine-table-sheet>`, b = d < o - 1 ? `<nine-splitter class="h" data-split-index="${d}"></nine-splitter>` : "";
924
- return u + b;
922
+ const e = Array.from(t(this, T).children).filter((h) => h.tagName === "TABLE"), s = t(this, T).getAttribute("auto-height") === "true", o = e.length, r = e.map((h, d) => {
923
+ const u = `<nine-table-sheet class="${d === 0 ? "active" : ""}" data-index="${d}"></nine-table-sheet>`, g = d < o - 1 ? `<nine-splitter class="h" data-split-index="${d}"></nine-splitter>` : "";
924
+ return u + g;
925
925
  }).join(""), n = e.map((h, d) => `<div class="nine-tab-item ${d === 0 ? "active" : ""}" data-index="${d}">Sheet ${d + 1}</div>`).join("");
926
- t(this, q).shadowRoot.innerHTML = `
926
+ t(this, T).shadowRoot.innerHTML = `
927
927
  <style>
928
928
  :host {
929
929
  display: flex;
@@ -1022,57 +1022,57 @@ const ce = class ce {
1022
1022
  </nine-table-body>
1023
1023
  <nine-table-footer></nine-table-footer>
1024
1024
  `;
1025
- const l = t(this, q).shadowRoot.querySelectorAll("nine-table-sheet");
1025
+ const l = t(this, T).shadowRoot.querySelectorAll("nine-table-sheet");
1026
1026
  l == null || l.forEach((h, d) => {
1027
1027
  e[d] && setTimeout(() => {
1028
- h.generate(e[d]), s && t(this, bt).call(this);
1028
+ h.generate(e[d]), s && t(this, gt).call(this);
1029
1029
  });
1030
1030
  });
1031
1031
  }, "#render"));
1032
- g(this, q, i), t(this, Ot).call(this);
1032
+ b(this, T, i), t(this, Ot).call(this);
1033
1033
  }
1034
1034
  };
1035
- q = new WeakMap(), Ot = new WeakMap(), bt = new WeakMap(), zt = new WeakMap(), a(ce, "LayoutManager");
1035
+ T = new WeakMap(), Ot = new WeakMap(), gt = new WeakMap(), zt = new WeakMap(), a(ce, "LayoutManager");
1036
1036
  let Jt = ce;
1037
- var gt, it;
1037
+ var yt, st;
1038
1038
  const he = class he {
1039
1039
  constructor(i) {
1040
- c(this, gt);
1041
- c(this, it, -1);
1042
- x(this, "count", /* @__PURE__ */ a(() => t(this, gt).rawRecords.length, "count"));
1043
- g(this, gt, i);
1040
+ c(this, yt);
1041
+ c(this, st, -1);
1042
+ x(this, "count", /* @__PURE__ */ a(() => t(this, yt).rawRecords.length, "count"));
1043
+ b(this, yt, i);
1044
1044
  }
1045
1045
  get at() {
1046
- return t(this, it);
1046
+ return t(this, st);
1047
1047
  }
1048
1048
  set at(i) {
1049
- g(this, it, parseInt(i, 10)), body && !body.querySelector(`tbody.bindable tr[data-row="${t(this, it)}"]`) && setTimeout(() => {
1049
+ b(this, st, parseInt(i, 10)), body && !body.querySelector(`tbody.bindable tr[data-row="${t(this, st)}"]`) && setTimeout(() => {
1050
1050
  });
1051
1051
  }
1052
1052
  };
1053
- gt = new WeakMap(), it = new WeakMap(), a(he, "ngRow");
1053
+ yt = new WeakMap(), st = new WeakMap(), a(he, "ngRow");
1054
1054
  let Qt = he;
1055
- var T, E, L, st, Bt, D, Dt, j, yt, Nt, Pt, nt;
1055
+ var k, E, L, nt, Dt, N, Bt, K, pt, Nt, Pt, ot;
1056
1056
  const H = class H {
1057
1057
  constructor(i, e) {
1058
- c(this, T);
1058
+ c(this, k);
1059
1059
  c(this, E);
1060
1060
  c(this, L, []);
1061
- c(this, st, []);
1062
- c(this, Bt, 0);
1063
- c(this, D, []);
1064
- c(this, Dt, /* @__PURE__ */ a(() => {
1065
- g(this, D, []);
1066
- const i = t(this, T).template || [];
1061
+ c(this, nt, []);
1062
+ c(this, Dt, 0);
1063
+ c(this, N, []);
1064
+ c(this, Bt, /* @__PURE__ */ a(() => {
1065
+ b(this, N, []);
1066
+ const i = t(this, k).template || [];
1067
1067
  Array.from(i).forEach((e) => {
1068
1068
  var s;
1069
- t(this, D).push(((s = e.getBoundingClientRect) == null ? void 0 : s.call(e).height) || 24);
1069
+ t(this, N).push(((s = e.getBoundingClientRect) == null ? void 0 : s.call(e).height) || 24);
1070
1070
  }), (t(this, E).rawRecords || []).forEach((e) => {
1071
- e.__ng || (e.__ng = t(this, yt).call(this)), e.__ng.height = t(this, D).slice();
1071
+ e.__ng || (e.__ng = t(this, pt).call(this)), e.__ng.height = t(this, N).slice();
1072
1072
  });
1073
1073
  }, "#initialize"));
1074
- c(this, j, /* @__PURE__ */ a(() => {
1075
- t(this, T).shadowRoot.querySelectorAll("nine-table-sheet").forEach((i) => {
1074
+ c(this, K, /* @__PURE__ */ a(() => {
1075
+ t(this, k).shadowRoot.querySelectorAll("nine-table-sheet").forEach((i) => {
1076
1076
  i.invalidate();
1077
1077
  });
1078
1078
  }, "#invalidate"));
@@ -1080,38 +1080,38 @@ const H = class H {
1080
1080
  var r;
1081
1081
  const s = this.getValidData();
1082
1082
  if (!s || s.length <= 0) return;
1083
- if (i == null) return t(this, nt).call(this, s);
1083
+ if (i == null) return t(this, ot).call(this, s);
1084
1084
  if (i < 0 || i >= s.length) return null;
1085
- const o = typeof ((r = t(this, T).fields) == null ? void 0 : r.get) == "function" ? t(this, T).fields.get() : [];
1085
+ const o = typeof ((r = t(this, k).fields) == null ? void 0 : r.get) == "function" ? t(this, k).fields.get() : [];
1086
1086
  if (e != null) {
1087
1087
  const n = o.indexOf(e);
1088
1088
  return n >= 0 ? s[i].v[n] : null;
1089
1089
  }
1090
- return t(this, nt).call(this, s[i]);
1090
+ return t(this, ot).call(this, s[i]);
1091
1091
  }, "get"));
1092
1092
  x(this, "set", /* @__PURE__ */ a((i) => {
1093
- this.clear(), this.add(i, !1), t(this, j).call(this);
1093
+ this.clear(), this.add(i, !1), t(this, K).call(this);
1094
1094
  }, "set"));
1095
- c(this, yt, /* @__PURE__ */ a(() => ({
1095
+ c(this, pt, /* @__PURE__ */ a(() => ({
1096
1096
  rowState: H.ROW_STATE.EMPTY,
1097
1097
  deleted: !1,
1098
1098
  filtered: !1,
1099
- height: t(this, D).slice(),
1099
+ height: t(this, N).slice(),
1100
1100
  o: {},
1101
1101
  c: {},
1102
- _: [0, 0, 0, 0, H.ROW_STATE.EMPTY, !1, !1, !0, !1, !0, !0, !1, t(this, D).slice(), -1, {}, {}]
1102
+ _: [0, 0, 0, 0, H.ROW_STATE.EMPTY, !1, !1, !0, !1, !0, !0, !1, t(this, N).slice(), -1, {}, {}]
1103
1103
  }), "#getDefaultMeta"));
1104
1104
  x(this, "reset", /* @__PURE__ */ a(() => {
1105
- g(this, L, []), g(this, st, []), t(this, j).call(this);
1105
+ b(this, L, []), b(this, nt, []), t(this, K).call(this);
1106
1106
  }, "reset"));
1107
1107
  x(this, "clear", /* @__PURE__ */ a(() => {
1108
1108
  var i;
1109
- t(this, E).rawRecords = [], g(this, L, []), g(this, st, []), (i = t(this, E).viewRecords) != null && i.reset && t(this, E).viewRecords.reset();
1109
+ t(this, E).rawRecords = [], b(this, L, []), b(this, nt, []), (i = t(this, E).viewRecords) != null && i.reset && t(this, E).viewRecords.reset();
1110
1110
  }, "clear"));
1111
1111
  c(this, Nt, /* @__PURE__ */ a((i) => {
1112
1112
  var o;
1113
1113
  Array.isArray(i) || (i = [i]);
1114
- const e = typeof ((o = t(this, T).fields) == null ? void 0 : o.get) == "function" ? t(this, T).fields.get() : Object.keys(i[0] || {}), s = [];
1114
+ const e = typeof ((o = t(this, k).fields) == null ? void 0 : o.get) == "function" ? t(this, k).fields.get() : Object.keys(i[0] || {}), s = [];
1115
1115
  return i.forEach((r) => {
1116
1116
  const n = { v: [] };
1117
1117
  e.forEach((l) => {
@@ -1120,7 +1120,7 @@ const H = class H {
1120
1120
  }), s;
1121
1121
  }, "#json2Array"));
1122
1122
  c(this, Pt, /* @__PURE__ */ a((i) => (Array.isArray(i) || (i = [i]), i.forEach((e) => {
1123
- e.__ng = t(this, yt).call(this), e.__ng.rowid = this.nextId, e.__ng.rowState = H.ROW_STATE.INSERT, e.__ng._[0] = e.__ng.rowid;
1123
+ e.__ng = t(this, pt).call(this), e.__ng.rowid = this.nextId, e.__ng.rowState = H.ROW_STATE.INSERT, e.__ng._[0] = e.__ng.rowid;
1124
1124
  }), i), "#defaultInsert"));
1125
1125
  x(this, "add", /* @__PURE__ */ a((i, e = !0) => {
1126
1126
  i === void 0 && (i = {});
@@ -1130,7 +1130,7 @@ const H = class H {
1130
1130
  return e || s.forEach((r, n) => {
1131
1131
  const l = t(this, E).rawRecords[o - n];
1132
1132
  l && (l.__ng.rowState = H.ROW_STATE.EMPTY);
1133
- }), t(this, j).call(this), o;
1133
+ }), t(this, K).call(this), o;
1134
1134
  }, "add"));
1135
1135
  x(this, "delete", /* @__PURE__ */ a((i) => {
1136
1136
  let e = [];
@@ -1141,12 +1141,12 @@ const H = class H {
1141
1141
  r.__ng.rowid === o && (r.__ng.deleted = !0, r.__ng.rowState = H.ROW_STATE.DELETE);
1142
1142
  });
1143
1143
  }
1144
- }), this.resetRecords(), t(this, j).call(this);
1144
+ }), this.resetRecords(), t(this, K).call(this);
1145
1145
  }, "delete"));
1146
1146
  x(this, "setValue", /* @__PURE__ */ a((i, e, s) => {
1147
1147
  var h;
1148
1148
  i = parseInt(i, 10);
1149
- const r = (typeof ((h = t(this, T).fields) == null ? void 0 : h.get) == "function" ? t(this, T).fields.get() : []).indexOf(e);
1149
+ const r = (typeof ((h = t(this, k).fields) == null ? void 0 : h.get) == "function" ? t(this, k).fields.get() : []).indexOf(e);
1150
1150
  if (r < 0) return;
1151
1151
  const n = this.getValidData()[i];
1152
1152
  if (!n) return;
@@ -1154,17 +1154,17 @@ const H = class H {
1154
1154
  l !== s && n.__ng.rowState !== H.ROW_STATE.INSERT && (n.__ng.o.hasOwnProperty(e) || (n.__ng.o[e] = l), n.__ng.rowState = H.ROW_STATE.UPDATE), n.v[r] = s;
1155
1155
  }, "setValue"));
1156
1156
  x(this, "resetRecords", /* @__PURE__ */ a(() => {
1157
- g(this, st, t(this, E).rawRecords.filter((i) => !i.__ng.deleted)), g(this, L, t(this, E).rawRecords.filter((i) => !i.__ng.deleted && !i.__ng.filtered)), t(this, E).rawRecords.forEach((i, e) => {
1157
+ 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
1158
  i.__ng.rowidx = e;
1159
1159
  }), t(this, L).forEach((i, e) => {
1160
1160
  i.__ng.i = e;
1161
1161
  });
1162
1162
  }, "resetRecords"));
1163
1163
  x(this, "getValidData", /* @__PURE__ */ a(() => (t(this, L).length === 0 && t(this, E).rawRecords.length > 0 && this.resetRecords(), t(this, L)), "getValidData"));
1164
- c(this, nt, /* @__PURE__ */ a((i) => {
1164
+ c(this, ot, /* @__PURE__ */ a((i) => {
1165
1165
  var n;
1166
1166
  if (!i) return i;
1167
- const e = !Array.isArray(i), s = e ? [i] : i, o = typeof ((n = t(this, T).fields) == null ? void 0 : n.get) == "function" ? t(this, T).fields.get() : [], r = s.filter((l) => !l.__ng.deleted).map((l) => {
1167
+ 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) => {
1168
1168
  const h = {};
1169
1169
  return o.forEach((d, f) => {
1170
1170
  h[d] = l.v ? l.v[f] : l[d];
@@ -1173,16 +1173,16 @@ const H = class H {
1173
1173
  return e ? r[0] : r;
1174
1174
  }, "#conv"));
1175
1175
  x(this, "count", /* @__PURE__ */ a(() => this.getValidData().length, "count"));
1176
- g(this, T, i), g(this, E, e), t(this, Dt).call(this);
1176
+ b(this, k, i), b(this, E, e), t(this, Bt).call(this);
1177
1177
  }
1178
1178
  get source() {
1179
- return t(this, nt).call(this, t(this, E).rawRecords);
1179
+ return t(this, ot).call(this, t(this, E).rawRecords);
1180
1180
  }
1181
1181
  set source(i) {
1182
1182
  this.clear(), this.add(i, !1);
1183
1183
  }
1184
1184
  get nextId() {
1185
- return ++pe(this, Bt)._;
1185
+ return ++pe(this, Dt)._;
1186
1186
  }
1187
1187
  get length() {
1188
1188
  return t(this, L).length;
@@ -1191,7 +1191,7 @@ const H = class H {
1191
1191
  return this.length;
1192
1192
  }
1193
1193
  };
1194
- T = new WeakMap(), E = new WeakMap(), L = new WeakMap(), st = new WeakMap(), Bt = new WeakMap(), D = new WeakMap(), Dt = new WeakMap(), j = new WeakMap(), yt = new WeakMap(), Nt = new WeakMap(), Pt = new WeakMap(), nt = new WeakMap(), a(H, "ngData"), // 🎯 ν–‰ μƒνƒœ μ •μ˜ μƒμˆ˜λ₯Ό 클래슀 λ‚΄λΆ€λ‘œ λ‚΄μž¬ν™”
1194
+ k = new WeakMap(), E = new WeakMap(), L = new WeakMap(), nt = new WeakMap(), Dt = new WeakMap(), N = new WeakMap(), Bt = new WeakMap(), K = new WeakMap(), pt = new WeakMap(), Nt = new WeakMap(), Pt = new WeakMap(), ot = new WeakMap(), a(H, "ngData"), // 🎯 ν–‰ μƒνƒœ μ •μ˜ μƒμˆ˜λ₯Ό 클래슀 λ‚΄λΆ€λ‘œ λ‚΄μž¬ν™”
1195
1195
  x(H, "ROW_STATE", {
1196
1196
  EMPTY: "EMPTY",
1197
1197
  NORMAL: "NORMAL",
@@ -1200,13 +1200,13 @@ x(H, "ROW_STATE", {
1200
1200
  DELETE: "DELETE"
1201
1201
  });
1202
1202
  let te = H;
1203
- var K;
1203
+ var Z;
1204
1204
  const de = class de {
1205
1205
  constructor(i) {
1206
- c(this, K);
1207
- g(this, K, i), this.row = new Qt(this), this.data = new te(t(this, K), this), this.rawRecords = [], this.viewRecords = [], this.delRecords = [], this.pageCnt = 25, this.viewRecords.reset = () => {
1206
+ c(this, Z);
1207
+ b(this, Z, i), this.row = new Qt(this), this.data = new te(t(this, Z), this), this.rawRecords = [], this.viewRecords = [], this.delRecords = [], this.pageCnt = 25, this.viewRecords.reset = () => {
1208
1208
  var e;
1209
- (e = t(this, K).view) != null && e.redraw && t(this, K).view.redraw();
1209
+ (e = t(this, Z).view) != null && e.redraw && t(this, Z).view.redraw();
1210
1210
  }, this.setDataSource = (e) => {
1211
1211
  this.data && this.data.reset(), this.rawRecords = [], this.viewRecords = [], this.delRecords = [], this.data.set(e || []);
1212
1212
  }, this.getRowState = (e) => {
@@ -1221,31 +1221,31 @@ const de = class de {
1221
1221
  }, this.setDataSource([]);
1222
1222
  }
1223
1223
  };
1224
- K = new WeakMap(), a(de, "ngDataManager");
1224
+ Z = new WeakMap(), a(de, "ngDataManager");
1225
1225
  let ee = de;
1226
- var ot, R, pt, Vt;
1226
+ var rt, R, mt, Vt;
1227
1227
  const fe = class fe {
1228
1228
  // 🎯 이제 { name: string, type: string } κ°μ²΄λ“€μ˜ λ°°μ—΄λ‘œ κ΄€λ¦¬ν•©λ‹ˆλ‹€.
1229
1229
  constructor(i) {
1230
- c(this, ot);
1230
+ c(this, rt);
1231
1231
  c(this, R, []);
1232
1232
  x(this, "add", /* @__PURE__ */ a((i, e = "string") => {
1233
1233
  i.forEach((s) => {
1234
1234
  t(this, R).some((o) => o.name === s) || t(this, R).push({ name: s, type: e });
1235
- }), t(this, pt).call(this);
1235
+ }), t(this, mt).call(this);
1236
1236
  }, "add"));
1237
- c(this, pt, /* @__PURE__ */ a(() => {
1237
+ c(this, mt, /* @__PURE__ */ a(() => {
1238
1238
  const i = /* @__PURE__ */ new Map();
1239
1239
  t(this, R).forEach((e) => {
1240
1240
  i.set(e.name, e.type);
1241
- }), g(this, R, Array.from(i, ([e, s]) => ({ name: e, type: s }))), g(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);
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);
1242
1242
  }, "#adjust"));
1243
1243
  c(this, Vt, /* @__PURE__ */ a(() => {
1244
- g(this, R, []), W.log(t(this, ot).querySelectorAll("table"));
1245
- const i = Array.from(t(this, ot).querySelectorAll("table"));
1244
+ b(this, R, []), C.log(t(this, rt).querySelectorAll("table"));
1245
+ const i = Array.from(t(this, rt).querySelectorAll("table"));
1246
1246
  if (!(!i || i.length === 0)) {
1247
1247
  for (const e of i)
1248
- W.log(e), $("[data-bind]", e).each((s, o) => {
1248
+ C.log(e), $("[data-bind]", e).each((s, o) => {
1249
1249
  const r = o.dataset.bind, n = o.getAttribute("data-type") || "string";
1250
1250
  r && t(this, R).push({ name: r, type: n });
1251
1251
  }), ["data-expr", "background-color", "color", "tooltip", "visible", "readonly", "enable-button", "enable-check", "class-expr", "icon-color", "icon-src"].forEach((s) => {
@@ -1269,10 +1269,10 @@ const fe = class fe {
1269
1269
  });
1270
1270
  });
1271
1271
  });
1272
- t(this, pt).call(this);
1272
+ t(this, mt).call(this);
1273
1273
  }
1274
1274
  }, "#init"));
1275
- g(this, ot, i), t(this, Vt).call(this);
1275
+ b(this, rt, i), t(this, Vt).call(this);
1276
1276
  }
1277
1277
  // 🎯 기쑴에 ν•„λ“œ μ΄λ¦„λ§Œ μ“°λ˜ κ³³λ“€κ³Όμ˜ ν˜Έν™˜μ„ μœ„ν•΄ 이름 λ°°μ—΄λ§Œ λ¦¬ν„΄ν•˜λŠ” λ©”μ„œλ“œ μœ μ§€
1278
1278
  get() {
@@ -1294,40 +1294,40 @@ const fe = class fe {
1294
1294
  return t(this, R).some((e) => e.name === i);
1295
1295
  }
1296
1296
  };
1297
- ot = new WeakMap(), R = new WeakMap(), pt = new WeakMap(), Vt = new WeakMap(), a(fe, "ngFields");
1297
+ rt = new WeakMap(), R = new WeakMap(), mt = new WeakMap(), Vt = new WeakMap(), a(fe, "ngFields");
1298
1298
  let ie = fe;
1299
- var Z, Yt, Xt;
1299
+ var G, Yt, Xt;
1300
1300
  const ue = class ue extends HTMLElement {
1301
1301
  constructor() {
1302
1302
  super();
1303
1303
  //#created = false;
1304
- c(this, Z);
1304
+ c(this, G);
1305
1305
  c(this, Yt);
1306
1306
  c(this, Xt, /* @__PURE__ */ a(() => {
1307
- this.fields = new ie(this), g(this, Yt, new Jt(this)), W.log("NineTable connected."), this.dispatchEvent(new CustomEvent("load", { bubbles: !0, detail: { target: this } }));
1307
+ this.fields = new ie(this), b(this, Yt, new Jt(this)), C.log("NineTable connected."), this.dispatchEvent(new CustomEvent("load", { bubbles: !0, detail: { target: this } }));
1308
1308
  }, "#init"));
1309
- this.attachShadow({ mode: "open" }), g(this, Z, new ee(this));
1309
+ this.attachShadow({ mode: "open" }), b(this, G, new ee(this));
1310
1310
  }
1311
1311
  connectedCallback() {
1312
1312
  t(this, Xt).call(this);
1313
1313
  }
1314
1314
  disconnectedCallback() {
1315
- W.log("NineTable disconnected.");
1315
+ C.log("NineTable disconnected.");
1316
1316
  }
1317
1317
  // 🎯 μ™ΈλΆ€μ—μ„œ grid.data.set(...) ν˜•νƒœλ‘œ μ ‘κ·Όν•  수 μžˆλ„λ‘ 데이터 λ§€λ‹ˆμ € μ˜€ν”ˆ
1318
1318
  get data() {
1319
- return t(this, Z).data;
1319
+ return t(this, G).data;
1320
1320
  }
1321
1321
  // 🎯 ν–‰(row) κ΄€λ ¨ μ œμ–΄ μ ‘κ·Όμž μ˜€ν”ˆ
1322
1322
  get row() {
1323
- return t(this, Z).row;
1323
+ return t(this, G).row;
1324
1324
  }
1325
1325
  // 🎯 전체 데이터 λ§€λ‹ˆμ € μ ‘κ·Ό ν•„μš”ν•  경우
1326
1326
  get dataManager() {
1327
- return t(this, Z);
1327
+ return t(this, G);
1328
1328
  }
1329
1329
  };
1330
- Z = new WeakMap(), Yt = new WeakMap(), Xt = new WeakMap(), a(ue, "NineTable");
1330
+ G = new WeakMap(), Yt = new WeakMap(), Xt = new WeakMap(), a(ue, "NineTable");
1331
1331
  let se = ue;
1332
1332
  customElements.get("nine-table") || customElements.define("nine-table", se);
1333
1333
  //# sourceMappingURL=nine-table.js.map