@ninebone/table 0.0.225 β†’ 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.
@@ -1,12 +1,12 @@
1
- var Ie = Object.defineProperty;
2
- var $e = (w) => {
1
+ var $e = Object.defineProperty;
2
+ var We = (w) => {
3
3
  throw TypeError(w);
4
4
  };
5
- var Oe = (w, i, t) => i in w ? Ie(w, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : w[i] = t;
6
- var a = (w, i) => Ie(w, "name", { value: i, configurable: !0 });
7
- var x = (w, i, t) => Oe(w, typeof i != "symbol" ? i + "" : i, t), We = (w, i, t) => i.has(w) || $e("Cannot " + t);
8
- var e = (w, i, t) => (We(w, i, "read from private field"), t ? t.call(w) : i.get(w)), f = (w, i, t) => i.has(w) ? $e("Cannot add the same private member more than once") : i instanceof WeakSet ? i.add(w) : i.set(w, t), y = (w, i, t, s) => (We(w, i, "write to private field"), s ? s.call(w, t) : i.set(w, t), t);
9
- var ze = (w, i, t, s) => ({
5
+ var Be = (w, i, t) => i in w ? $e(w, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : w[i] = t;
6
+ var a = (w, i) => $e(w, "name", { value: i, configurable: !0 });
7
+ var x = (w, i, t) => Be(w, typeof i != "symbol" ? i + "" : i, t), ze = (w, i, t) => i.has(w) || We("Cannot " + t);
8
+ var e = (w, i, t) => (ze(w, i, "read from private field"), t ? t.call(w) : i.get(w)), d = (w, i, t) => i.has(w) ? We("Cannot add the same private member more than once") : i instanceof WeakSet ? i.add(w) : i.set(w, t), y = (w, i, t, s) => (ze(w, i, "write to private field"), s ? s.call(w, t) : i.set(w, t), t);
9
+ var Oe = (w, i, t, s) => ({
10
10
  set _(n) {
11
11
  y(w, i, n, t);
12
12
  },
@@ -14,38 +14,38 @@ var ze = (w, i, t, s) => ({
14
14
  return e(w, i, s);
15
15
  }
16
16
  });
17
- import { trace as Be } from "@ninebone/util";
18
- const Ae = class Ae extends Be.constructor {
17
+ import { trace as De } from "@ninebone/util";
18
+ const qe = class qe extends De.constructor {
19
19
  constructor() {
20
20
  super(), this.init("nine-table", "green");
21
21
  }
22
22
  };
23
- a(Ae, "Trace");
24
- let pe = Ae;
25
- const j = new pe();
26
- var C, B, p, D, N, P, se, V, ne;
27
- const qe = class qe extends HTMLElement {
23
+ a(qe, "Trace");
24
+ let me = qe;
25
+ const G = new me();
26
+ var L, B, p, D, N, P, se, V, ne;
27
+ const ke = class ke extends HTMLElement {
28
28
  constructor() {
29
29
  super();
30
- f(this, C);
31
- f(this, B, !1);
32
- f(this, p);
33
- f(this, D);
34
- f(this, N);
35
- f(this, P);
36
- f(this, se, /* @__PURE__ */ a(() => {
37
- if (!e(this, C)) return;
38
- const t = e(this, C).querySelector(".ng-container-body");
30
+ d(this, L);
31
+ d(this, B, !1);
32
+ d(this, p);
33
+ d(this, D);
34
+ d(this, N);
35
+ d(this, P);
36
+ d(this, se, /* @__PURE__ */ a(() => {
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, d = s.scrollWidth;
48
- if (c !== 0 && d > c)
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
+ if (c !== 0 && f > c)
49
49
  o && (o.style.display = "flex");
50
50
  else {
51
51
  o && (o.style.display = "none");
@@ -53,28 +53,28 @@ const qe = class qe extends HTMLElement {
53
53
  }
54
54
  const l = n.clientWidth;
55
55
  if (l <= 0) return;
56
- const h = Math.max(Math.min(l * (c / d), l), 20);
56
+ const h = Math.max(Math.min(l * (c / f), l), 20);
57
57
  r.style.width = `${h}px`;
58
- const u = t.scrollLeft, b = d - c;
58
+ const u = t.scrollLeft, b = f - c;
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
- f(this, V, /* @__PURE__ */ a((t) => {
64
+ d(this, V, /* @__PURE__ */ a((t) => {
65
65
  if (!e(this, p)) return !1;
66
66
  const s = e(this, p).container, n = s.querySelector("table");
67
67
  if (!n) return !1;
68
68
  const r = e(this, p).track.getBoundingClientRect(), o = e(this, p).thumb.clientWidth;
69
69
  let c = t;
70
70
  c < 0 && (c = 0);
71
- const d = r.width - o;
72
- c > d && (c = d), c = parseInt(c, 10), e(this, p).thumb.style.left = `${c}px`, e(this, p).left.disabled = c === 0, e(this, p).right.disabled = c >= d - 1;
71
+ const f = r.width - o;
72
+ c > f && (c = f), c = parseInt(c, 10), e(this, p).thumb.style.left = `${c}px`, e(this, p).left.disabled = c === 0, e(this, p).right.disabled = c >= f - 1;
73
73
  const l = s.clientWidth, h = n.scrollWidth;
74
- let u = d > 0 ? -c * (h - l) / d : 0;
75
- return -u > h - l && (u = -(h - l)), -u + 5 > h - l && (u = -(h - l)), l >= h && (u = 0), n.style.transform = `translateX(${u}px)`, c > 0 && c < d - 1;
74
+ let u = f > 0 ? -c * (h - l) / f : 0;
75
+ return -u > h - l && (u = -(h - l)), -u + 5 > h - l && (u = -(h - l)), l >= h && (u = 0), n.style.transform = `translateX(${u}px)`, c > 0 && c < f - 1;
76
76
  }, "#thumbMoveTo"));
77
- f(this, ne, /* @__PURE__ */ a(() => {
77
+ d(this, ne, /* @__PURE__ */ a(() => {
78
78
  const t = /* @__PURE__ */ a((n) => {
79
79
  clearInterval(e(this, D)), clearInterval(e(this, N));
80
80
  const r = parseInt(e(this, p).thumb.style.left || 0, 10);
@@ -103,8 +103,8 @@ const qe = class qe extends HTMLElement {
103
103
  n.stopPropagation(), n.preventDefault(), y(this, B, !0), this.shiftX = n.clientX - e(this, p).thumb.getBoundingClientRect().left;
104
104
  const r = /* @__PURE__ */ a((c) => {
105
105
  if (!e(this, B)) return;
106
- const d = e(this, p).track.getBoundingClientRect();
107
- e(this, V).call(this, c.clientX - d.left - this.shiftX);
106
+ const f = e(this, p).track.getBoundingClientRect();
107
+ e(this, V).call(this, c.clientX - f.left - this.shiftX);
108
108
  }, "onMouseMove"), o = /* @__PURE__ */ a(() => {
109
109
  y(this, B, !1), s(), document.removeEventListener("mousemove", r), document.removeEventListener("mouseup", o), this.refresh();
110
110
  }, "onMouseUp");
@@ -113,7 +113,7 @@ const qe = class qe 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 qe = class qe 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,26 +197,26 @@ const qe = class qe 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(qe, "NineTableHScrollBar");
201
- let me = qe;
202
- customElements.get("nine-table-hscrollbar") || customElements.define("nine-table-hscrollbar", me);
203
- var $, k, S, W, H, M, re, oe, J;
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
+ let we = ke;
202
+ customElements.get("nine-table-hscrollbar") || customElements.define("nine-table-hscrollbar", we);
203
+ var $, _, E, W, H, M, re, oe, le, J;
204
204
  const Le = class Le {
205
205
  constructor(i) {
206
- f(this, $);
207
- f(this, k, []);
208
- f(this, S, null);
209
- f(this, W, null);
210
- f(this, H, 0);
211
- f(this, M, 0);
212
- x(this, "getRowHeight", /* @__PURE__ */ a(() => e(this, S), "getRowHeight"));
213
- f(this, re, /* @__PURE__ */ a(() => {
206
+ d(this, $);
207
+ d(this, _, []);
208
+ d(this, E, null);
209
+ d(this, W, null);
210
+ d(this, H, 0);
211
+ d(this, M, 0);
212
+ x(this, "getRowHeight", /* @__PURE__ */ a(() => e(this, E), "getRowHeight"));
213
+ d(this, re, /* @__PURE__ */ a(() => {
214
214
  e(this, oe).call(this);
215
215
  }, "#init"));
216
216
  /**
217
217
  * 🎯 뷰포트 크기 λ³€ν™” μ‹œμ μ— 높이 계산 및 ν•„μš”ν•œ ν–‰ 개수 산정·캐싱을 μ™„κ²°
218
218
  */
219
- f(this, oe, /* @__PURE__ */ a(() => {
219
+ d(this, oe, /* @__PURE__ */ a(() => {
220
220
  !e(this, $) || !(e(this, $) instanceof HTMLElement) || (y(this, W, new ResizeObserver((i) => {
221
221
  for (const t of i) {
222
222
  const s = t.target;
@@ -226,12 +226,12 @@ const Le = class Le {
226
226
  if (n > 0) {
227
227
  const r = s.clientHeight || s.getBoundingClientRect().height || n;
228
228
  let o = 0;
229
- const c = s.querySelector(".ng-container-body") || s, d = c.querySelector("thead"), l = c.querySelector("tfoot");
230
- d && (o += d.offsetHeight || d.getBoundingClientRect().height), l && (o += l.offsetHeight || l.getBoundingClientRect().height);
229
+ const c = s.querySelector(".ng-container-body") || s, f = c.querySelector("thead"), l = c.querySelector("tfoot");
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, H) !== h && (y(this, H, h), e(this, S) !== null)) {
233
- const u = Math.ceil(e(this, H) / e(this, S));
234
- y(this, M, u + 20), j.log(`[RowManager] Resized. Height: ${e(this, H)}px | Target Rows: ${e(this, M)}`), [".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,47 +240,36 @@ 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, k, s.map((n) => n.cloneNode(!0))), y(this, S, null), console.log(`[RowManager] Template initialized with ${e(this, k).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.bindable") || i.querySelector("tbody");
255
- if (!s) return;
256
- const n = Array.from(s.querySelectorAll("tr")).filter((r) => !r.classList.contains("nodata"));
257
- y(this, k, n.map((r) => r.cloneNode(!0))), y(this, S, null), this.measureAndCacheHeight(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
- x(this, "measureAndCacheHeight", /* @__PURE__ */ a((i) => {
260
- if (e(this, S) !== null && e(this, S) > 0)
261
- return e(this, S);
262
- if (e(this, k).length === 0)
248
+ d(this, le, /* @__PURE__ */ a((i) => {
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, k).forEach((u) => {
257
+ e(this, _).forEach((u) => {
269
258
  n.appendChild(u.cloneNode(!0));
270
259
  }), s ? s.before(n) : t.appendChild(n);
271
- const r = i.closest("nine-table-sheet"), o = r ? r.style.display : "", c = r ? r.style.visibility : "", d = r ? r.style.position : "";
260
+ const r = i.closest("nine-table-sheet"), o = r ? r.style.display : "", c = r ? r.style.visibility : "", f = r ? r.style.position : "";
272
261
  r && (r.style.display === "none" || window.getComputedStyle(r).display === "none") && (r.style.display = "block", r.style.visibility = "hidden", r.style.position = "absolute");
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 = d), y(this, S, l), e(this, H) > 0) {
278
- const u = Math.ceil(e(this, H) / e(this, S));
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));
279
268
  y(this, M, u + 20);
280
269
  } else
281
270
  y(this, M, 40);
282
- return console.log(`[RowManager] Template Height Cached: ${e(this, S)}px | RowCount: ${e(this, M)}`), e(this, S);
283
- }, "measureAndCacheHeight"));
271
+ return console.log(`[RowManager] Template Height Cached: ${e(this, E)}px | RowCount: ${e(this, M)}`), e(this, E);
272
+ }, "#measureAndCacheHeight"));
284
273
  /**
285
274
  * 🎯 μΊμ‹œλœ ν–‰ 개수 λ°˜ν™˜ (없을 λ•Œλ§Œ μ΅œμ†Œν•œμ˜ λ°©μ–΄ μ—°μ‚°)
286
275
  */
@@ -297,14 +286,14 @@ const Le = class Le {
297
286
  /**
298
287
  * 🎯 μΊμ‹œλœ ν–‰ 개수λ₯Ό κ³§λ°”λ‘œ κ°€μ Έμ™€μ„œ TR λΌˆλŒ€ μ£Όμž… (쀑볡 계산 제거)
299
288
  */
300
- f(this, J, /* @__PURE__ */ a((i) => {
301
- if (e(this, k).length === 0) return;
289
+ d(this, J, /* @__PURE__ */ a((i) => {
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
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, k).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,28 +304,28 @@ const Le = class Le {
315
304
  y(this, $, i), e(this, re).call(this);
316
305
  }
317
306
  get templateLength() {
318
- return e(this, k).length || 1;
307
+ return e(this, _).length || 1;
319
308
  }
320
309
  };
321
- $ = new WeakMap(), k = new WeakMap(), S = new WeakMap(), W = new WeakMap(), H = new WeakMap(), M = new WeakMap(), re = new WeakMap(), oe = new WeakMap(), J = new WeakMap(), a(Le, "RowManager");
322
- let we = Le;
323
- var I, U, le, ae;
324
- const G = class G extends HTMLElement {
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");
311
+ let ve = Le;
312
+ var I, U, ae, ce;
313
+ const j = class j extends HTMLElement {
325
314
  constructor() {
326
315
  super();
327
- f(this, I, null);
328
- f(this, U);
316
+ d(this, I, null);
317
+ d(this, U);
329
318
  x(this, "generate", /* @__PURE__ */ a((t) => {
330
319
  if (!t) return;
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");
@@ -345,25 +334,25 @@ const G = class G extends HTMLElement {
345
334
  return h(l), u(l), l.classList.add("nine-table-element"), l;
346
335
  }, "initializeTable"), n = t.cloneNode(!0);
347
336
  y(this, I, s(n)), e(this, I).style.display = "table";
348
- const r = this.querySelector(".ng-container-left"), o = this.querySelector(".ng-container-body"), c = this.querySelector(".ng-container-right"), d = /* @__PURE__ */ a((l, h, u = !1) => {
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");
361
350
  if (o) {
362
- const l = d(e(this, I), null, !0);
351
+ const l = f(e(this, I), null, !0);
363
352
  o.innerHTML = "", o.appendChild(l), e(this, U).initialize(e(this, I));
364
353
  }
365
354
  if (r) {
366
- const l = d(e(this, I), "left", !1);
355
+ const l = f(e(this, I), "left", !1);
367
356
  let h = 0;
368
357
  l.querySelectorAll("col").forEach((b) => {
369
358
  const g = parseInt(b.getAttribute("width"), 10);
@@ -373,7 +362,7 @@ const G = class G extends HTMLElement {
373
362
  r.style.flex = `0 0 ${u}px`, r.style.width = `${u}px`;
374
363
  }
375
364
  if (c) {
376
- const l = d(e(this, I), "right", !1);
365
+ const l = f(e(this, I), "right", !1);
377
366
  let h = 0;
378
367
  l.querySelectorAll("col").forEach((b) => {
379
368
  const g = parseInt(b.getAttribute("width"), 10);
@@ -404,21 +393,21 @@ const G = class G extends HTMLElement {
404
393
  const s = this.querySelector(".ng-container-body");
405
394
  s && (s.scrollTop = t);
406
395
  }, "scrollToY"));
407
- f(this, le, /* @__PURE__ */ a(() => {
408
- e(this, ae).call(this), new MutationObserver((t) => {
396
+ d(this, ae, /* @__PURE__ */ a(() => {
397
+ e(this, ce).call(this), new MutationObserver((t) => {
409
398
  const s = /* @__PURE__ */ a(() => {
410
399
  requestAnimationFrame(() => {
411
400
  var u, b, g;
412
401
  const n = this.querySelector(".ng-container-left table"), r = this.querySelector(".ng-container-body table"), o = this.querySelector(".ng-container-right table");
413
402
  if (!r) return;
414
- const c = n ? Array.from(n.querySelectorAll("tr")) : [], d = Array.from(r.querySelectorAll("tr")), l = o ? Array.from(o.querySelectorAll("tr")) : [], h = Math.max(c.length, d.length, l.length);
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
- ((b = d[m]) == null ? void 0 : b.getBoundingClientRect().height) || 0,
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);
421
- T > 0 && (c[m] && (c[m].style.height = `${T}px`), d[m] && (d[m].style.height = `${T}px`), l[m] && (l[m].style.height = `${T}px`));
409
+ ], T = Math.max(...R);
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
  });
424
413
  }, "syncRowHeights");
@@ -426,8 +415,8 @@ const G = class G extends HTMLElement {
426
415
  n.attributeName === "class" && this.classList.contains("active") && s();
427
416
  }).observe(this, { attributes: !0 });
428
417
  }, "#init"));
429
- f(this, ae, /* @__PURE__ */ a(() => {
430
- const t = G.SCROLLBAR_SIZE;
418
+ d(this, ce, /* @__PURE__ */ a(() => {
419
+ const t = j.SCROLLBAR_SIZE;
431
420
  this.innerHTML = `
432
421
  <style>
433
422
  nine-table-sheet {
@@ -552,23 +541,23 @@ const G = class G extends HTMLElement {
552
541
  </div>
553
542
  `;
554
543
  }, "#render"));
555
- y(this, U, new we(this));
544
+ y(this, U, new ve(this));
556
545
  }
557
546
  connectedCallback() {
558
- e(this, le).call(this);
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(), le = new WeakMap(), ae = 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
- var ce, Q;
568
- const ke = class ke extends HTMLElement {
556
+ var he, Q;
557
+ const Ce = class Ce extends HTMLElement {
569
558
  constructor() {
570
559
  super();
571
- f(this, ce, /* @__PURE__ */ a(() => {
560
+ d(this, he, /* @__PURE__ */ a(() => {
572
561
  var t;
573
562
  (t = this.querySelector(".nine-tab-bar")) == null || t.addEventListener("click", (s) => {
574
563
  var o;
@@ -576,21 +565,21 @@ const ke = class ke extends HTMLElement {
576
565
  e(this, Q).call(this, r, n);
577
566
  }), e(this, Q).call(this, 0, !1);
578
567
  }, "#init"));
579
- f(this, Q, /* @__PURE__ */ a((t, s = !1) => {
568
+ d(this, Q, /* @__PURE__ */ a((t, s = !1) => {
580
569
  const n = /* @__PURE__ */ a(() => {
581
570
  const h = Array.from(this.querySelectorAll("nine-table-sheet"));
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
- }, "updateSplitters"), r = this.querySelector(".nine-tab-bar"), o = this.querySelector("nine-table-sheets-body"), c = r.querySelectorAll(".nine-tab-item"), d = o.querySelectorAll("nine-table-sheet");
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;
590
579
  if (!s)
591
580
  c.forEach((h, u) => {
592
581
  h.classList.toggle("active", u === t);
593
- }), d.forEach((h, u) => {
582
+ }), f.forEach((h, u) => {
594
583
  const b = u === t;
595
584
  h.classList.toggle("active", b), h.style.flex = b ? "1 1 100%" : "";
596
585
  });
@@ -609,35 +598,35 @@ const ke = class ke extends HTMLElement {
609
598
  }, "#switchSheet"));
610
599
  }
611
600
  connectedCallback() {
612
- e(this, ce).call(this);
601
+ e(this, he).call(this);
613
602
  }
614
603
  };
615
- ce = new WeakMap(), Q = new WeakMap(), a(ke, "NineTableSheets");
616
- let ve = ke;
617
- customElements.get("nine-table-sheets") || customElements.define("nine-table-sheets", ve);
618
- var R, he, ee, de;
619
- const Ce = class Ce {
604
+ he = new WeakMap(), Q = new WeakMap(), a(Ce, "NineTableSheets");
605
+ let xe = Ce;
606
+ customElements.get("nine-table-sheets") || customElements.define("nine-table-sheets", xe);
607
+ var S, de, ee, fe;
608
+ const _e = class _e {
620
609
  constructor(i) {
621
- f(this, R);
622
- f(this, he, /* @__PURE__ */ a(() => {
623
- e(this, de).call(this), new ResizeObserver((i) => {
610
+ d(this, S);
611
+ d(this, de, /* @__PURE__ */ a(() => {
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
- f(this, ee, /* @__PURE__ */ a(() => {
629
- var d, l;
630
- const i = Array.from(e(this, R).shadowRoot.querySelectorAll("nine-table-sheet.active"));
617
+ d(this, ee, /* @__PURE__ */ a(() => {
618
+ var f, l;
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 = (d = e(this, R).shadowRoot.querySelector("nine-table-header")) == null ? void 0 : d.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
- f(this, de, /* @__PURE__ */ a(() => {
636
- const t = Array.from(e(this, R).children).filter((d) => d.tagName === "TABLE"), s = e(this, R).getAttribute("auto-height") === "true", n = t.length, r = t.map((d, l) => {
624
+ d(this, fe, /* @__PURE__ */ a(() => {
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
- }).join(""), o = t.map((d, l) => `<div class="nine-tab-item ${l === 0 ? "active" : ""}" data-index="${l}">Sheet ${l + 1}</div>`).join("");
640
- e(this, R).shadowRoot.innerHTML = `
628
+ }).join(""), o = t.map((f, l) => `<div class="nine-tab-item ${l === 0 ? "active" : ""}" data-index="${l}">Sheet ${l + 1}</div>`).join("");
629
+ e(this, S).shadowRoot.innerHTML = `
641
630
  <style>
642
631
  :host {
643
632
  display: flex;
@@ -736,23 +725,23 @@ const Ce = class Ce {
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");
740
- c == null || c.forEach((d, l) => {
728
+ const c = e(this, S).shadowRoot.querySelectorAll("nine-table-sheet");
729
+ c == null || c.forEach((f, l) => {
741
730
  t[l] && setTimeout(() => {
742
- d.generate(t[l]), s && e(this, ee).call(this);
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, he).call(this);
735
+ y(this, S, i), e(this, de).call(this);
747
736
  }
748
737
  };
749
- R = new WeakMap(), he = new WeakMap(), ee = new WeakMap(), de = new WeakMap(), a(Ce, "LayoutManager");
750
- let xe = Ce;
738
+ S = new WeakMap(), de = new WeakMap(), ee = new WeakMap(), fe = new WeakMap(), a(_e, "LayoutManager");
739
+ let Se = _e;
751
740
  var z, X;
752
- const _e = class _e {
741
+ const He = class He {
753
742
  constructor(i) {
754
- f(this, z);
755
- f(this, X, -1);
743
+ d(this, z);
744
+ d(this, X, -1);
756
745
  x(this, "count", /* @__PURE__ */ a(() => e(this, z).rawRecords.length, "count"));
757
746
  y(this, z, i);
758
747
  }
@@ -769,18 +758,18 @@ const _e = class _e {
769
758
  });
770
759
  }
771
760
  };
772
- z = new WeakMap(), X = new WeakMap(), a(_e, "ngRow");
773
- let Se = _e;
774
- var A, v, q, K, fe, O, ue, te, ge, be, Z;
775
- const L = class L {
761
+ z = new WeakMap(), X = new WeakMap(), a(He, "ngRow");
762
+ let Re = He;
763
+ var A, v, q, K, ue, O, ge, te, be, ye, Z;
764
+ const k = class k {
776
765
  constructor(i, t) {
777
- f(this, A);
778
- f(this, v);
779
- f(this, q, []);
780
- f(this, K, []);
781
- f(this, fe, 0);
782
- f(this, O, []);
783
- f(this, ue, /* @__PURE__ */ a(() => {
766
+ d(this, A);
767
+ d(this, v);
768
+ d(this, q, []);
769
+ d(this, K, []);
770
+ d(this, ue, 0);
771
+ d(this, O, []);
772
+ d(this, ge, /* @__PURE__ */ a(() => {
784
773
  y(this, O, []);
785
774
  const i = e(this, A).template || [];
786
775
  Array.from(i).forEach((t) => {
@@ -793,14 +782,14 @@ const L = class L {
793
782
  x(this, "set", /* @__PURE__ */ a((i) => {
794
783
  this.clear(), this.add(i, !1);
795
784
  }, "set"));
796
- f(this, te, /* @__PURE__ */ a(() => ({
797
- rowState: L.ROW_STATE.EMPTY,
785
+ d(this, te, /* @__PURE__ */ a(() => ({
786
+ rowState: k.ROW_STATE.EMPTY,
798
787
  deleted: !1,
799
788
  filtered: !1,
800
789
  height: e(this, O).slice(),
801
790
  o: {},
802
791
  c: {},
803
- _: [0, 0, 0, 0, L.ROW_STATE.EMPTY, !1, !1, !0, !1, !0, !0, !1, e(this, O).slice(), -1, {}, {}]
792
+ _: [0, 0, 0, 0, k.ROW_STATE.EMPTY, !1, !1, !0, !1, !0, !0, !1, e(this, O).slice(), -1, {}, {}]
804
793
  }), "#getDefaultMeta"));
805
794
  x(this, "reset", /* @__PURE__ */ a(() => {
806
795
  y(this, q, []), y(this, K, []);
@@ -809,7 +798,7 @@ const L = class L {
809
798
  var i;
810
799
  e(this, v).rawRecords = [], y(this, q, []), y(this, K, []), (i = e(this, v).viewRecords) != null && i.reset && e(this, v).viewRecords.reset();
811
800
  }, "clear"));
812
- f(this, ge, /* @__PURE__ */ a((i) => {
801
+ d(this, be, /* @__PURE__ */ a((i) => {
813
802
  var n;
814
803
  Array.isArray(i) || (i = [i]);
815
804
  const t = typeof ((n = e(this, A).fields) == null ? void 0 : n.get) == "function" ? e(this, A).fields.get() : Object.keys(i[0] || {}), s = [];
@@ -820,18 +809,18 @@ const L = class L {
820
809
  }), s.push(o);
821
810
  }), s;
822
811
  }, "#json2Array"));
823
- f(this, be, /* @__PURE__ */ a((i) => (Array.isArray(i) || (i = [i]), i.forEach((t) => {
824
- t.__ng = e(this, te).call(this), t.__ng.rowid = this.nextId, t.__ng.rowState = L.ROW_STATE.INSERT, t.__ng._[0] = t.__ng.rowid;
812
+ d(this, ye, /* @__PURE__ */ a((i) => (Array.isArray(i) || (i = [i]), i.forEach((t) => {
813
+ t.__ng = e(this, te).call(this), t.__ng.rowid = this.nextId, t.__ng.rowState = k.ROW_STATE.INSERT, t.__ng._[0] = t.__ng.rowid;
825
814
  }), i), "#defaultInsert"));
826
815
  x(this, "add", /* @__PURE__ */ a((i, t = !0) => {
827
816
  var r;
828
817
  i === void 0 && (i = {});
829
- const s = e(this, ge).call(this, i);
830
- e(this, v).rawRecords = e(this, v).rawRecords.concat(e(this, be).call(this, s)), this.resetRecords();
818
+ const s = e(this, be).call(this, i);
819
+ e(this, v).rawRecords = e(this, v).rawRecords.concat(e(this, ye).call(this, s)), this.resetRecords();
831
820
  const n = this.count() - 1;
832
821
  return t || s.forEach((o, c) => {
833
- const d = e(this, v).rawRecords[n - c];
834
- d && (d.__ng.rowState = L.ROW_STATE.EMPTY);
822
+ const f = e(this, v).rawRecords[n - c];
823
+ f && (f.__ng.rowState = k.ROW_STATE.EMPTY);
835
824
  }), (r = e(this, v).viewRecords) != null && r.reset && e(this, v).viewRecords.reset(), n;
836
825
  }, "add"));
837
826
  x(this, "delete", /* @__PURE__ */ a((i) => {
@@ -840,21 +829,21 @@ const L = class L {
840
829
  Array.isArray(i) ? t = i : typeof i > "u" ? t = [e(this, v).owner.row.at] : t = [parseInt(i, 10)], t.sort((n, r) => r - n).forEach((n) => {
841
830
  if (e(this, q)[n]) {
842
831
  const r = e(this, q)[n].__ng.rowid;
843
- e(this, q)[n].__ng.rowState === L.ROW_STATE.INSERT ? e(this, v).rawRecords = e(this, v).rawRecords.filter((o) => o.__ng.rowid !== r) : e(this, v).rawRecords.forEach((o) => {
844
- o.__ng.rowid === r && (o.__ng.deleted = !0, o.__ng.rowState = L.ROW_STATE.DELETE);
832
+ e(this, q)[n].__ng.rowState === k.ROW_STATE.INSERT ? e(this, v).rawRecords = e(this, v).rawRecords.filter((o) => o.__ng.rowid !== r) : e(this, v).rawRecords.forEach((o) => {
833
+ o.__ng.rowid === r && (o.__ng.deleted = !0, o.__ng.rowState = k.ROW_STATE.DELETE);
845
834
  });
846
835
  }
847
836
  }), this.resetRecords(), (s = e(this, v).viewRecords) != null && s.reset && e(this, v).viewRecords.reset();
848
837
  }, "delete"));
849
838
  x(this, "setValue", /* @__PURE__ */ a((i, t, s) => {
850
- var d;
839
+ var f;
851
840
  i = parseInt(i, 10);
852
- const r = (typeof ((d = e(this, A).fields) == null ? void 0 : d.get) == "function" ? e(this, A).fields.get() : []).indexOf(t);
841
+ const r = (typeof ((f = e(this, A).fields) == null ? void 0 : f.get) == "function" ? e(this, A).fields.get() : []).indexOf(t);
853
842
  if (r < 0) return;
854
843
  const o = this.getValidData()[i];
855
844
  if (!o) return;
856
845
  const c = o.v[r];
857
- c !== s && o.__ng.rowState !== L.ROW_STATE.INSERT && (o.__ng.o.hasOwnProperty(t) || (o.__ng.o[t] = c), o.__ng.rowState = L.ROW_STATE.UPDATE), o.v[r] = s, e(this, v).owner.refreshData && e(this, v).owner.refreshData(i);
846
+ c !== s && o.__ng.rowState !== k.ROW_STATE.INSERT && (o.__ng.o.hasOwnProperty(t) || (o.__ng.o[t] = c), o.__ng.rowState = k.ROW_STATE.UPDATE), o.v[r] = s, e(this, v).owner.refreshData && e(this, v).owner.refreshData(i);
858
847
  }, "setValue"));
859
848
  x(this, "resetRecords", /* @__PURE__ */ a(() => {
860
849
  y(this, K, e(this, v).rawRecords.filter((i) => !i.__ng.deleted)), y(this, q, e(this, v).rawRecords.filter((i) => !i.__ng.deleted && !i.__ng.filtered)), e(this, v).rawRecords.forEach((i, t) => {
@@ -864,7 +853,7 @@ const L = class L {
864
853
  });
865
854
  }, "resetRecords"));
866
855
  x(this, "getValidData", /* @__PURE__ */ a(() => (e(this, q).length === 0 && e(this, v).rawRecords.length > 0 && this.resetRecords(), e(this, q)), "getValidData"));
867
- f(this, Z, /* @__PURE__ */ a((i) => {
856
+ d(this, Z, /* @__PURE__ */ a((i) => {
868
857
  var s;
869
858
  if (!i) return i;
870
859
  const t = typeof ((s = e(this, A).fields) == null ? void 0 : s.get) == "function" ? e(this, A).fields.get() : [];
@@ -889,7 +878,7 @@ const L = class L {
889
878
  }
890
879
  return e(this, Z).call(this, s[i]);
891
880
  }, "get"));
892
- y(this, A, i), y(this, v, t), e(this, ue).call(this);
881
+ y(this, A, i), y(this, v, t), e(this, ge).call(this);
893
882
  }
894
883
  get source() {
895
884
  return e(this, Z).call(this, e(this, v).rawRecords);
@@ -898,7 +887,7 @@ const L = class L {
898
887
  this.clear(), this.add(i, !1);
899
888
  }
900
889
  get nextId() {
901
- return ++ze(this, fe)._;
890
+ return ++Oe(this, ue)._;
902
891
  }
903
892
  get length() {
904
893
  return e(this, q).length;
@@ -907,18 +896,18 @@ const L = class L {
907
896
  return this.length;
908
897
  }
909
898
  };
910
- A = new WeakMap(), v = new WeakMap(), q = new WeakMap(), K = new WeakMap(), fe = new WeakMap(), O = new WeakMap(), ue = new WeakMap(), te = new WeakMap(), ge = new WeakMap(), be = new WeakMap(), Z = new WeakMap(), a(L, "ngData"), // 🎯 ν–‰ μƒνƒœ μ •μ˜ μƒμˆ˜λ₯Ό 클래슀 λ‚΄λΆ€λ‘œ λ‚΄μž¬ν™”
911
- x(L, "ROW_STATE", {
899
+ A = new WeakMap(), v = new WeakMap(), q = new WeakMap(), K = new WeakMap(), ue = new WeakMap(), O = new WeakMap(), ge = new WeakMap(), te = new WeakMap(), be = new WeakMap(), ye = new WeakMap(), Z = new WeakMap(), a(k, "ngData"), // 🎯 ν–‰ μƒνƒœ μ •μ˜ μƒμˆ˜λ₯Ό 클래슀 λ‚΄λΆ€λ‘œ λ‚΄μž¬ν™”
900
+ x(k, "ROW_STATE", {
912
901
  EMPTY: "EMPTY",
913
902
  NORMAL: "NORMAL",
914
903
  INSERT: "INSERT",
915
904
  UPDATE: "UPDATE",
916
905
  DELETE: "DELETE"
917
906
  });
918
- let Re = L;
919
- const He = class He {
907
+ let Ee = k;
908
+ const Me = class Me {
920
909
  constructor(i) {
921
- this.owner = i, this.row = new Se(this), this.data = new Re(i, this), this.rawRecords = [], this.viewRecords = [], this.delRecords = [], this.pageCnt = 25, this.viewRecords.reset = () => {
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;
923
912
  (t = this.owner.view) != null && t.redraw && this.owner.view.redraw();
924
913
  }, this.setDataSource = (t) => {
@@ -935,22 +924,22 @@ const He = class He {
935
924
  }, this.setDataSource([]);
936
925
  }
937
926
  };
938
- a(He, "ngDataManager");
939
- let Ee = He;
940
- var F, ye;
941
- const Me = class Me extends HTMLElement {
927
+ a(Me, "ngDataManager");
928
+ let Te = Me;
929
+ var F, pe;
930
+ const Ie = class Ie extends HTMLElement {
942
931
  constructor() {
943
932
  super();
944
933
  //#created = false;
945
- f(this, F);
946
- f(this, ye);
947
- this.attachShadow({ mode: "open" }), y(this, F, new Ee(this));
934
+ d(this, F);
935
+ d(this, pe);
936
+ this.attachShadow({ mode: "open" }), y(this, F, new Te(this));
948
937
  }
949
938
  connectedCallback() {
950
- y(this, ye, new xe(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() {
@@ -965,7 +954,7 @@ const Me = class Me extends HTMLElement {
965
954
  return e(this, F);
966
955
  }
967
956
  };
968
- F = new WeakMap(), ye = new WeakMap(), a(Me, "NineTable");
969
- let Te = Me;
970
- customElements.get("nine-table") || customElements.define("nine-table", Te);
957
+ F = new WeakMap(), pe = new WeakMap(), a(Ie, "NineTable");
958
+ let Ae = Ie;
959
+ customElements.get("nine-table") || customElements.define("nine-table", Ae);
971
960
  //# sourceMappingURL=nine-table.js.map