@ninebone/table 0.0.228 β†’ 0.0.229

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.
@@ -22,29 +22,29 @@ const qe = class qe extends De.constructor {
22
22
  };
23
23
  a(qe, "Trace");
24
24
  let me = qe;
25
- const j = new me();
26
- var C, B, p, D, N, P, se, V, ne;
25
+ const G = new me();
26
+ var L, B, p, D, N, P, se, V, ne;
27
27
  const ke = class ke extends HTMLElement {
28
28
  constructor() {
29
29
  super();
30
- d(this, C);
30
+ d(this, L);
31
31
  d(this, B, !1);
32
32
  d(this, p);
33
33
  d(this, D);
34
34
  d(this, N);
35
35
  d(this, P);
36
36
  d(this, se, /* @__PURE__ */ a(() => {
37
- if (!e(this, C)) return;
38
- const t = e(this, C).querySelector(".ng-container-body");
37
+ if (!e(this, L)) return;
38
+ const t = e(this, L).querySelector(".ng-container-body");
39
39
  t && (y(this, P, new ResizeObserver(() => {
40
40
  this.refresh();
41
41
  })), e(this, P).observe(t));
42
42
  }, "#observeResize"));
43
43
  x(this, "refresh", /* @__PURE__ */ a(() => {
44
- if (!e(this, C) || !e(this, p) || e(this, B)) return;
44
+ if (!e(this, L) || !e(this, p) || e(this, B)) return;
45
45
  const t = e(this, p).container, s = t.querySelector("table");
46
46
  if (!s) return;
47
- const n = e(this, p).track, r = e(this, p).thumb, o = e(this, C).querySelector(".ng-container-bottom"), c = t.clientWidth, f = s.scrollWidth;
47
+ const n = e(this, p).track, r = e(this, p).thumb, o = e(this, L).querySelector(".ng-container-bottom"), c = t.clientWidth, f = s.scrollWidth;
48
48
  if (c !== 0 && f > c)
49
49
  o && (o.style.display = "flex");
50
50
  else {
@@ -59,7 +59,7 @@ const ke = class ke extends HTMLElement {
59
59
  let g = 0;
60
60
  b > 0 && (g = parseInt(u / b * (l - h), 10)), g < 0 && (g = 0);
61
61
  const m = l - h;
62
- g > m && (g = m), r.style.left = `${g}px`, j.log(g), e(this, p).left.disabled = g === 0, e(this, p).right.disabled = g >= m - 1;
62
+ g > m && (g = m), r.style.left = `${g}px`, G.log(g), e(this, p).left.disabled = g === 0, e(this, p).right.disabled = g >= m - 1;
63
63
  }, "refresh"));
64
64
  d(this, V, /* @__PURE__ */ a((t) => {
65
65
  if (!e(this, p)) return !1;
@@ -113,7 +113,7 @@ const ke = class ke extends HTMLElement {
113
113
  }, "#init"));
114
114
  }
115
115
  connectedCallback() {
116
- if (y(this, C, this.closest("nine-table-sheet") || this.getRootNode().host), !e(this, C)) return;
116
+ if (y(this, L, this.closest("nine-table-sheet") || this.getRootNode().host), !e(this, L)) return;
117
117
  this.innerHTML = `
118
118
  <style>
119
119
  nine-table-hscrollbar {
@@ -178,7 +178,7 @@ const ke = class ke extends HTMLElement {
178
178
  <button class='ng-scroll-right' disabled><div class='ng-scroll-icon'></div></button>
179
179
  `;
180
180
  const t = /* @__PURE__ */ a(() => {
181
- const s = e(this, C).querySelector(".ng-container-body");
181
+ const s = e(this, L).querySelector(".ng-container-body");
182
182
  if (!s) {
183
183
  setTimeout(t, 10);
184
184
  return;
@@ -197,19 +197,19 @@ const ke = class ke extends HTMLElement {
197
197
  e(this, P) && e(this, P).disconnect();
198
198
  }
199
199
  };
200
- C = new WeakMap(), B = new WeakMap(), p = new WeakMap(), D = new WeakMap(), N = new WeakMap(), P = new WeakMap(), se = new WeakMap(), V = new WeakMap(), ne = new WeakMap(), a(ke, "NineTableHScrollBar");
200
+ L = new WeakMap(), B = new WeakMap(), p = new WeakMap(), D = new WeakMap(), N = new WeakMap(), P = new WeakMap(), se = new WeakMap(), V = new WeakMap(), ne = new WeakMap(), a(ke, "NineTableHScrollBar");
201
201
  let we = ke;
202
202
  customElements.get("nine-table-hscrollbar") || customElements.define("nine-table-hscrollbar", we);
203
- var $, L, S, W, M, H, re, oe, le, J;
203
+ var $, _, E, W, H, M, re, oe, le, J;
204
204
  const Le = class Le {
205
205
  constructor(i) {
206
206
  d(this, $);
207
- d(this, L, []);
208
- d(this, S, null);
207
+ d(this, _, []);
208
+ d(this, E, null);
209
209
  d(this, W, null);
210
- d(this, M, 0);
211
210
  d(this, H, 0);
212
- x(this, "getRowHeight", /* @__PURE__ */ a(() => e(this, S), "getRowHeight"));
211
+ d(this, M, 0);
212
+ x(this, "getRowHeight", /* @__PURE__ */ a(() => e(this, E), "getRowHeight"));
213
213
  d(this, re, /* @__PURE__ */ a(() => {
214
214
  e(this, oe).call(this);
215
215
  }, "#init"));
@@ -229,9 +229,9 @@ const Le = class Le {
229
229
  const c = s.querySelector(".ng-container-body") || s, f = c.querySelector("thead"), l = c.querySelector("tfoot");
230
230
  f && (o += f.offsetHeight || f.getBoundingClientRect().height), l && (o += l.offsetHeight || l.getBoundingClientRect().height);
231
231
  const h = Math.max(r - o, 100);
232
- if (e(this, M) !== h && (y(this, M, h), e(this, S) !== null)) {
233
- const u = Math.ceil(e(this, M) / e(this, S));
234
- y(this, H, u + 20), j.log(`[RowManager] Resized. Height: ${e(this, M)}px | Target Rows: ${e(this, H)}`), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((b) => {
232
+ if (e(this, H) !== h && (y(this, H, h), e(this, E) !== null)) {
233
+ const u = Math.ceil(e(this, H) / e(this, E));
234
+ y(this, M, u + 20), G.log(`[RowManager] Resized. Height: ${e(this, H)}px | Target Rows: ${e(this, M)}`), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((b) => {
235
235
  const g = s.querySelector(b);
236
236
  g && g.querySelector("tbody") && e(this, J).call(this, g);
237
237
  });
@@ -240,32 +240,21 @@ const Le = class Le {
240
240
  }
241
241
  })), e(this, W).observe(e(this, $)));
242
242
  }, "#initResizeObserver"));
243
- x(this, "initTemplate", /* @__PURE__ */ a((i) => {
244
- const t = i.querySelector("tbody.bindable") || i.querySelector("tbody");
245
- if (!t) return;
246
- const s = Array.from(t.querySelectorAll("tr")).filter((n) => !n.classList.contains("nodata"));
247
- y(this, L, s.map((n) => n.cloneNode(!0))), y(this, S, null), console.log(`[RowManager] Template initialized with ${e(this, L).length} row(s).`);
248
- }, "initTemplate"));
249
243
  // 🎯 ν…œν”Œλ¦Ώ μΆ”μΆœ, 높이 μΈ‘μ •, 초기 λ Œλ”λ§μ„ μˆœμ„œμ— 맞게 λ‚΄λΆ€μ—μ„œ 일괄 처리
250
244
  x(this, "initialize", /* @__PURE__ */ a((i) => {
251
- j.log(i);
252
- const t = e(this, $).querySelector(".ng-container-body");
253
- if (!t) return;
254
- const s = i.querySelector("tbody");
255
- if (!s) return;
256
- const n = Array.from(s.querySelectorAll("tr"));
257
- y(this, L, n.map((r) => r.cloneNode(!0))), y(this, S, null), e(this, le).call(this, t), e(this, J).call(this, t);
245
+ const t = e(this, $).querySelector(".ng-container-body"), s = i.querySelector("tbody"), n = Array.from(s.querySelectorAll("tr"));
246
+ y(this, _, n.map((r) => r.cloneNode(!0))), y(this, E, null), e(this, le).call(this, t), e(this, J).call(this, t);
258
247
  }, "initialize"));
259
248
  d(this, le, /* @__PURE__ */ a((i) => {
260
- if (e(this, S) !== null && e(this, S) > 0)
261
- return e(this, S);
262
- if (e(this, L).length === 0)
249
+ if (e(this, E) !== null && e(this, E) > 0)
250
+ return e(this, E);
251
+ if (e(this, _).length === 0)
263
252
  throw new Error("[RowManager] Template TRs are empty.");
264
253
  const t = i.querySelector("tbody.bindable") || i.querySelector("tbody");
265
254
  if (!t) return 24;
266
255
  t.querySelectorAll("tr:not(.nodata)").forEach((u) => u.remove());
267
256
  const s = t.querySelector("tr.nodata"), n = document.createDocumentFragment();
268
- e(this, L).forEach((u) => {
257
+ e(this, _).forEach((u) => {
269
258
  n.appendChild(u.cloneNode(!0));
270
259
  }), s ? s.before(n) : t.appendChild(n);
271
260
  const r = i.closest("nine-table-sheet"), o = r ? r.style.display : "", c = r ? r.style.visibility : "", f = r ? r.style.position : "";
@@ -273,13 +262,13 @@ const Le = class Le {
273
262
  let l = 0;
274
263
  if (t.querySelectorAll("tr:not(.nodata)").forEach((u, b) => {
275
264
  const g = u.offsetHeight || u.getBoundingClientRect().height;
276
- g === 0 ? l += 40 : l += g;
277
- }), r && (r.style.display = o, r.style.visibility = c, r.style.position = f), y(this, S, l), e(this, M) > 0) {
278
- const u = Math.ceil(e(this, M) / e(this, S));
279
- y(this, H, u + 20);
265
+ l += g;
266
+ }), r && (r.style.display = o, r.style.visibility = c, r.style.position = f), y(this, E, l), e(this, H) > 0) {
267
+ const u = Math.ceil(e(this, H) / e(this, E));
268
+ y(this, M, u + 20);
280
269
  } else
281
- y(this, H, 40);
282
- return console.log(`[RowManager] Template Height Cached: ${e(this, S)}px | RowCount: ${e(this, H)}`), e(this, S);
270
+ y(this, M, 40);
271
+ return console.log(`[RowManager] Template Height Cached: ${e(this, E)}px | RowCount: ${e(this, M)}`), e(this, E);
283
272
  }, "#measureAndCacheHeight"));
284
273
  /**
285
274
  * 🎯 μΊμ‹œλœ ν–‰ 개수 λ°˜ν™˜ (없을 λ•Œλ§Œ μ΅œμ†Œν•œμ˜ λ°©μ–΄ μ—°μ‚°)
@@ -298,13 +287,13 @@ const Le = class Le {
298
287
  * 🎯 μΊμ‹œλœ ν–‰ 개수λ₯Ό κ³§λ°”λ‘œ κ°€μ Έμ™€μ„œ TR λΌˆλŒ€ μ£Όμž… (쀑볡 계산 제거)
299
288
  */
300
289
  d(this, J, /* @__PURE__ */ a((i) => {
301
- if (e(this, L).length === 0) return;
290
+ if (e(this, _).length === 0) return;
302
291
  const t = i.querySelector("tbody.bindable") || i.querySelector("tbody");
303
292
  if (!t) return;
304
293
  t.querySelectorAll("tr:not(.nodata)").forEach((o) => o.remove());
305
- const s = t.querySelector("tr.nodata"), n = document.createDocumentFragment(), r = e(this, H);
294
+ const s = t.querySelector("tr.nodata"), n = document.createDocumentFragment(), r = e(this, M);
306
295
  for (let o = 0; o < r; o++)
307
- e(this, L).forEach((c) => {
296
+ e(this, _).forEach((c) => {
308
297
  n.appendChild(c.cloneNode(!0));
309
298
  });
310
299
  s ? s.before(n) : t.appendChild(n), console.log(`[RowManager] Rendered ${r} sets into DOM.`);
@@ -315,13 +304,13 @@ const Le = class Le {
315
304
  y(this, $, i), e(this, re).call(this);
316
305
  }
317
306
  get templateLength() {
318
- return e(this, L).length || 1;
307
+ return e(this, _).length || 1;
319
308
  }
320
309
  };
321
- $ = new WeakMap(), L = new WeakMap(), S = new WeakMap(), W = new WeakMap(), M = new WeakMap(), H = new WeakMap(), re = new WeakMap(), oe = new WeakMap(), le = new WeakMap(), J = new WeakMap(), a(Le, "RowManager");
310
+ $ = new WeakMap(), _ = new WeakMap(), E = new WeakMap(), W = new WeakMap(), H = new WeakMap(), M = new WeakMap(), re = new WeakMap(), oe = new WeakMap(), le = new WeakMap(), J = new WeakMap(), a(Le, "RowManager");
322
311
  let ve = Le;
323
312
  var I, U, ae, ce;
324
- const G = class G extends HTMLElement {
313
+ const j = class j extends HTMLElement {
325
314
  constructor() {
326
315
  super();
327
316
  d(this, I, null);
@@ -331,12 +320,12 @@ const G = class G extends HTMLElement {
331
320
  const s = /* @__PURE__ */ a((l) => {
332
321
  const h = /* @__PURE__ */ a((b) => {
333
322
  if (b.querySelector("colgroup")) return;
334
- const g = b.querySelector("tbody tr") || b.querySelector("tr"), m = g ? g.querySelectorAll("th, td").length : 1, E = document.createElement("colgroup"), T = Math.max(Math.floor(b.clientWidth / m), 100);
335
- for (let _ = 0; _ < m; _++) {
323
+ const g = b.querySelector("tbody tr") || b.querySelector("tr"), m = g ? g.querySelectorAll("th, td").length : 1, R = document.createElement("colgroup"), T = Math.max(Math.floor(b.clientWidth / m), 100);
324
+ for (let C = 0; C < m; C++) {
336
325
  const Y = document.createElement("col");
337
- Y.setAttribute("width", T), E.appendChild(Y);
326
+ Y.setAttribute("width", T), R.appendChild(Y);
338
327
  }
339
- b.prepend(E);
328
+ b.prepend(R);
340
329
  }, "ensureColgroup"), u = /* @__PURE__ */ a((b) => {
341
330
  if (b.querySelector("thead")) return;
342
331
  const g = document.createElement("thead"), m = b.querySelector("colgroup");
@@ -347,14 +336,14 @@ const G = class G extends HTMLElement {
347
336
  y(this, I, s(n)), e(this, I).style.display = "table";
348
337
  const r = this.querySelector(".ng-container-left"), o = this.querySelector(".ng-container-body"), c = this.querySelector(".ng-container-right"), f = /* @__PURE__ */ a((l, h, u = !1) => {
349
338
  const b = l.cloneNode(!0), g = Array.from(b.querySelectorAll("colgroup col")), m = [];
350
- return g.forEach((E, T) => {
351
- const _ = E.getAttribute("fixed");
339
+ return g.forEach((R, T) => {
340
+ const C = R.getAttribute("fixed");
352
341
  let Y = !1;
353
- u ? Y = _ !== "left" && _ !== "right" : Y = _ === h, Y || m.push(T);
354
- }), m.reverse().forEach((E) => {
355
- g[E] && g[E].remove(), b.querySelectorAll("tr").forEach((T) => {
356
- const _ = T.querySelectorAll("th, td");
357
- _[E] && _[E].remove();
342
+ u ? Y = C !== "left" && C !== "right" : Y = C === h, Y || m.push(T);
343
+ }), m.reverse().forEach((R) => {
344
+ g[R] && g[R].remove(), b.querySelectorAll("tr").forEach((T) => {
345
+ const C = T.querySelectorAll("th, td");
346
+ C[R] && C[R].remove();
358
347
  });
359
348
  }), b;
360
349
  }, "filterTableByFixed");
@@ -413,11 +402,11 @@ const G = class G extends HTMLElement {
413
402
  if (!r) return;
414
403
  const c = n ? Array.from(n.querySelectorAll("tr")) : [], f = Array.from(r.querySelectorAll("tr")), l = o ? Array.from(o.querySelectorAll("tr")) : [], h = Math.max(c.length, f.length, l.length);
415
404
  for (let m = 0; m < h; m++) {
416
- const E = [
405
+ const R = [
417
406
  ((u = c[m]) == null ? void 0 : u.getBoundingClientRect().height) || 0,
418
407
  ((b = f[m]) == null ? void 0 : b.getBoundingClientRect().height) || 0,
419
408
  ((g = l[m]) == null ? void 0 : g.getBoundingClientRect().height) || 0
420
- ], T = Math.max(...E);
409
+ ], T = Math.max(...R);
421
410
  T > 0 && (c[m] && (c[m].style.height = `${T}px`), f[m] && (f[m].style.height = `${T}px`), l[m] && (l[m].style.height = `${T}px`));
422
411
  }
423
412
  });
@@ -427,7 +416,7 @@ const G = class G extends HTMLElement {
427
416
  }).observe(this, { attributes: !0 });
428
417
  }, "#init"));
429
418
  d(this, ce, /* @__PURE__ */ a(() => {
430
- const t = G.SCROLLBAR_SIZE;
419
+ const t = j.SCROLLBAR_SIZE;
431
420
  this.innerHTML = `
432
421
  <style>
433
422
  nine-table-sheet {
@@ -558,11 +547,11 @@ const G = class G extends HTMLElement {
558
547
  e(this, ae).call(this);
559
548
  }
560
549
  disconnectedCallback() {
561
- this.innerHTML = "", j.log("NineTableSheet destroyed.");
550
+ this.innerHTML = "", G.log("NineTableSheet destroyed.");
562
551
  }
563
552
  };
564
- I = new WeakMap(), U = new WeakMap(), ae = new WeakMap(), ce = new WeakMap(), a(G, "NineTableSheet"), x(G, "SCROLLBAR_SIZE", 16);
565
- let ie = G;
553
+ I = new WeakMap(), U = new WeakMap(), ae = new WeakMap(), ce = new WeakMap(), a(j, "NineTableSheet"), x(j, "SCROLLBAR_SIZE", 16);
554
+ let ie = j;
566
555
  customElements.get("nine-table-sheet") || customElements.define("nine-table-sheet", ie);
567
556
  var he, Q;
568
557
  const Ce = class Ce extends HTMLElement {
@@ -582,8 +571,8 @@ const Ce = class Ce extends HTMLElement {
582
571
  Array.from(this.querySelectorAll("nine-splitter")).forEach((g) => g.style.setProperty("display", "none"));
583
572
  const b = h.filter((g) => g.classList.contains("active"));
584
573
  b.length < 2 || b.forEach((g) => {
585
- const m = parseInt(g.getAttribute("data-index"), 10), E = this.querySelector(`nine-splitter[data-split-index="${m}"]`), T = h[m + 1];
586
- E && T && T.classList.contains("active") && E.style.setProperty("display", "flex");
574
+ const m = parseInt(g.getAttribute("data-index"), 10), R = this.querySelector(`nine-splitter[data-split-index="${m}"]`), T = h[m + 1];
575
+ R && T && T.classList.contains("active") && R.style.setProperty("display", "flex");
587
576
  });
588
577
  }, "updateSplitters"), r = this.querySelector(".nine-tab-bar"), o = this.querySelector("nine-table-sheets-body"), c = r.querySelectorAll(".nine-tab-item"), f = o.querySelectorAll("nine-table-sheet");
589
578
  if (!c[t]) return;
@@ -615,29 +604,29 @@ const Ce = class Ce extends HTMLElement {
615
604
  he = new WeakMap(), Q = new WeakMap(), a(Ce, "NineTableSheets");
616
605
  let xe = Ce;
617
606
  customElements.get("nine-table-sheets") || customElements.define("nine-table-sheets", xe);
618
- var R, de, ee, fe;
607
+ var S, de, ee, fe;
619
608
  const _e = class _e {
620
609
  constructor(i) {
621
- d(this, R);
610
+ d(this, S);
622
611
  d(this, de, /* @__PURE__ */ a(() => {
623
612
  e(this, fe).call(this), new ResizeObserver((i) => {
624
613
  for (let t of i)
625
- e(this, R).getAttribute("auto-height") === "true" && e(this, ee).call(this);
626
- }).observe(e(this, R));
614
+ e(this, S).getAttribute("auto-height") === "true" && e(this, ee).call(this);
615
+ }).observe(e(this, S));
627
616
  }, "#init"));
628
617
  d(this, ee, /* @__PURE__ */ a(() => {
629
618
  var f, l;
630
- const i = Array.from(e(this, R).shadowRoot.querySelectorAll("nine-table-sheet.active"));
619
+ const i = Array.from(e(this, S).shadowRoot.querySelectorAll("nine-table-sheet.active"));
631
620
  if (i.length === 0) return;
632
- const t = parseInt(e(this, R).getAttribute("max-display-row"), 10) || 10, s = Math.max(...i.map((h) => h.getRowHeight())), n = (f = e(this, R).shadowRoot.querySelector("nine-table-header")) == null ? void 0 : f.getBoundingClientRect().height, r = (l = e(this, R).shadowRoot.querySelector("nine-table-sheets-footer")) == null ? void 0 : l.getBoundingClientRect().height, o = ie.SCROLLBAR_SIZE, c = t * s + n + r + o;
633
- e(this, R).style.height = `${c}px`;
621
+ const t = parseInt(e(this, S).getAttribute("max-display-row"), 10) || 10, s = Math.max(...i.map((h) => h.getRowHeight())), n = (f = e(this, S).shadowRoot.querySelector("nine-table-header")) == null ? void 0 : f.getBoundingClientRect().height, r = (l = e(this, S).shadowRoot.querySelector("nine-table-sheets-footer")) == null ? void 0 : l.getBoundingClientRect().height, o = ie.SCROLLBAR_SIZE, c = t * s + n + r + o;
622
+ e(this, S).style.height = `${c}px`;
634
623
  }, "#applyAutoHeight"));
635
624
  d(this, fe, /* @__PURE__ */ a(() => {
636
- const t = Array.from(e(this, R).children).filter((f) => f.tagName === "TABLE"), s = e(this, R).getAttribute("auto-height") === "true", n = t.length, r = t.map((f, l) => {
625
+ const t = Array.from(e(this, S).children).filter((f) => f.tagName === "TABLE"), s = e(this, S).getAttribute("auto-height") === "true", n = t.length, r = t.map((f, l) => {
637
626
  const u = `<nine-table-sheet class="${l === 0 ? "active" : ""}" data-index="${l}"></nine-table-sheet>`, b = l < n - 1 ? `<nine-splitter class="h" data-split-index="${l}"></nine-splitter>` : "";
638
627
  return u + b;
639
628
  }).join(""), o = t.map((f, l) => `<div class="nine-tab-item ${l === 0 ? "active" : ""}" data-index="${l}">Sheet ${l + 1}</div>`).join("");
640
- e(this, R).shadowRoot.innerHTML = `
629
+ e(this, S).shadowRoot.innerHTML = `
641
630
  <style>
642
631
  :host {
643
632
  display: flex;
@@ -736,20 +725,20 @@ const _e = class _e {
736
725
  </nine-table-body>
737
726
  <nine-table-footer></nine-table-footer>
738
727
  `;
739
- const c = e(this, R).shadowRoot.querySelectorAll("nine-table-sheet");
728
+ const c = e(this, S).shadowRoot.querySelectorAll("nine-table-sheet");
740
729
  c == null || c.forEach((f, l) => {
741
730
  t[l] && setTimeout(() => {
742
731
  f.generate(t[l]), s && e(this, ee).call(this);
743
732
  });
744
733
  });
745
734
  }, "#render"));
746
- y(this, R, i), e(this, de).call(this);
735
+ y(this, S, i), e(this, de).call(this);
747
736
  }
748
737
  };
749
- R = new WeakMap(), de = new WeakMap(), ee = new WeakMap(), fe = new WeakMap(), a(_e, "LayoutManager");
738
+ S = new WeakMap(), de = new WeakMap(), ee = new WeakMap(), fe = new WeakMap(), a(_e, "LayoutManager");
750
739
  let Se = _e;
751
740
  var z, X;
752
- const Me = class Me {
741
+ const He = class He {
753
742
  constructor(i) {
754
743
  d(this, z);
755
744
  d(this, X, -1);
@@ -769,8 +758,8 @@ const Me = class Me {
769
758
  });
770
759
  }
771
760
  };
772
- z = new WeakMap(), X = new WeakMap(), a(Me, "ngRow");
773
- let Re = Me;
761
+ z = new WeakMap(), X = new WeakMap(), a(He, "ngRow");
762
+ let Re = He;
774
763
  var A, v, q, K, ue, O, ge, te, be, ye, Z;
775
764
  const k = class k {
776
765
  constructor(i, t) {
@@ -916,7 +905,7 @@ x(k, "ROW_STATE", {
916
905
  DELETE: "DELETE"
917
906
  });
918
907
  let Ee = k;
919
- const He = class He {
908
+ const Me = class Me {
920
909
  constructor(i) {
921
910
  this.owner = i, this.row = new Re(this), this.data = new Ee(i, this), this.rawRecords = [], this.viewRecords = [], this.delRecords = [], this.pageCnt = 25, this.viewRecords.reset = () => {
922
911
  var t;
@@ -935,8 +924,8 @@ const He = class He {
935
924
  }, this.setDataSource([]);
936
925
  }
937
926
  };
938
- a(He, "ngDataManager");
939
- let Te = He;
927
+ a(Me, "ngDataManager");
928
+ let Te = Me;
940
929
  var F, pe;
941
930
  const Ie = class Ie extends HTMLElement {
942
931
  constructor() {
@@ -947,10 +936,10 @@ const Ie = class Ie extends HTMLElement {
947
936
  this.attachShadow({ mode: "open" }), y(this, F, new Te(this));
948
937
  }
949
938
  connectedCallback() {
950
- y(this, pe, new Se(this)), j.log("NineTable connected."), this.dispatchEvent(new CustomEvent("load", { bubbles: !0, detail: { target: this } }));
939
+ y(this, pe, new Se(this)), G.log("NineTable connected."), this.dispatchEvent(new CustomEvent("load", { bubbles: !0, detail: { target: this } }));
951
940
  }
952
941
  disconnectedCallback() {
953
- j.log("NineTable disconnected.");
942
+ G.log("NineTable disconnected.");
954
943
  }
955
944
  // 🎯 μ™ΈλΆ€μ—μ„œ grid.data.set(...) ν˜•νƒœλ‘œ μ ‘κ·Όν•  수 μžˆλ„λ‘ 데이터 λ§€λ‹ˆμ € μ˜€ν”ˆ
956
945
  get data() {