@ninebone/table 0.0.238 β†’ 0.0.240

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.
@@ -3,7 +3,7 @@ var We = (w) => {
3
3
  throw TypeError(w);
4
4
  };
5
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 });
6
+ var c = (w, i) => $e(w, "name", { value: i, configurable: !0 });
7
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
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
9
  var Oe = (w, i, t, s) => ({
@@ -15,15 +15,15 @@ var Oe = (w, i, t, s) => ({
15
15
  }
16
16
  });
17
17
  import { trace as De } from "@ninebone/util";
18
- const qe = class qe extends De.constructor {
18
+ const Ae = class Ae extends De.constructor {
19
19
  constructor() {
20
20
  super(), this.init("nine-table", "green");
21
21
  }
22
22
  };
23
- a(qe, "Trace");
24
- let me = qe;
23
+ c(Ae, "Trace");
24
+ let me = Ae;
25
25
  const G = new me();
26
- var L, B, p, D, N, P, ie, V, se;
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();
@@ -33,19 +33,19 @@ const ke = class ke extends HTMLElement {
33
33
  d(this, D);
34
34
  d(this, N);
35
35
  d(this, P);
36
- d(this, ie, /* @__PURE__ */ a(() => {
36
+ d(this, se, /* @__PURE__ */ c(() => {
37
37
  if (!e(this, L)) return;
38
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
- x(this, "refresh", /* @__PURE__ */ a(() => {
43
+ x(this, "refresh", /* @__PURE__ */ c(() => {
44
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, L).querySelector(".ng-container-bottom"), c = t.clientWidth, f = s.scrollWidth;
48
- if (c !== 0 && f > c)
47
+ const n = e(this, p).track, r = e(this, p).thumb, o = e(this, L).querySelector(".ng-container-bottom"), a = t.clientWidth, f = s.scrollWidth;
48
+ if (a !== 0 && f > a)
49
49
  o && (o.style.display = "flex");
50
50
  else {
51
51
  o && (o.style.display = "none");
@@ -53,29 +53,29 @@ const ke = class ke 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 / f), l), 20);
56
+ const h = Math.max(Math.min(l * (a / f), l), 20);
57
57
  r.style.width = `${h}px`;
58
- const u = t.scrollLeft, g = f - c;
58
+ const u = t.scrollLeft, g = f - a;
59
59
  let b = 0;
60
60
  g > 0 && (b = parseInt(u / g * (l - h), 10)), b < 0 && (b = 0);
61
61
  const m = l - h;
62
62
  b > m && (b = m), r.style.left = `${b}px`, G.log(b), e(this, p).left.disabled = b === 0, e(this, p).right.disabled = b >= m - 1;
63
63
  }, "refresh"));
64
- d(this, V, /* @__PURE__ */ a((t) => {
64
+ d(this, V, /* @__PURE__ */ c((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
- let c = t;
70
- c < 0 && (c = 0);
69
+ let a = t;
70
+ a < 0 && (a = 0);
71
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;
72
+ a > f && (a = f), a = parseInt(a, 10), e(this, p).thumb.style.left = `${a}px`, e(this, p).left.disabled = a === 0, e(this, p).right.disabled = a >= f - 1;
73
73
  const l = s.clientWidth, h = n.scrollWidth;
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;
74
+ let u = f > 0 ? -a * (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)`, a > 0 && a < f - 1;
76
76
  }, "#thumbMoveTo"));
77
- d(this, se, /* @__PURE__ */ a(() => {
78
- const t = /* @__PURE__ */ a((n) => {
77
+ d(this, ne, /* @__PURE__ */ c(() => {
78
+ const t = /* @__PURE__ */ c((n) => {
79
79
  clearInterval(e(this, D)), clearInterval(e(this, N));
80
80
  const r = parseInt(e(this, p).thumb.style.left || 0, 10);
81
81
  e(this, V).call(this, r + n), y(this, D, setInterval(() => {
@@ -84,7 +84,7 @@ const ke = class ke extends HTMLElement {
84
84
  e(this, V).call(this, o + n) || clearInterval(e(this, N));
85
85
  }, 50));
86
86
  }, 500));
87
- }, "delayScroll"), s = /* @__PURE__ */ a(() => {
87
+ }, "delayScroll"), s = /* @__PURE__ */ c(() => {
88
88
  clearInterval(e(this, D)), clearInterval(e(this, N));
89
89
  }, "clearTimer");
90
90
  ["mouseup", "mouseleave", "touchend"].forEach((n) => {
@@ -101,11 +101,11 @@ const ke = class ke extends HTMLElement {
101
101
  }), e(this, p).thumb.addEventListener("mousedown", (n) => {
102
102
  if (n.button !== 0) return;
103
103
  n.stopPropagation(), n.preventDefault(), y(this, B, !0), this.shiftX = n.clientX - e(this, p).thumb.getBoundingClientRect().left;
104
- const r = /* @__PURE__ */ a((c) => {
104
+ const r = /* @__PURE__ */ c((a) => {
105
105
  if (!e(this, B)) return;
106
106
  const f = e(this, p).track.getBoundingClientRect();
107
- e(this, V).call(this, c.clientX - f.left - this.shiftX);
108
- }, "onMouseMove"), o = /* @__PURE__ */ a(() => {
107
+ e(this, V).call(this, a.clientX - f.left - this.shiftX);
108
+ }, "onMouseMove"), o = /* @__PURE__ */ c(() => {
109
109
  y(this, B, !1), s(), document.removeEventListener("mousemove", r), document.removeEventListener("mouseup", o), this.refresh();
110
110
  }, "onMouseUp");
111
111
  document.addEventListener("mousemove", r), document.addEventListener("mouseup", o);
@@ -177,7 +177,7 @@ const ke = class ke extends HTMLElement {
177
177
  <div class='ng-scroll-track'><div class='ng-scroll-thumb'></div></div>
178
178
  <button class='ng-scroll-right' disabled><div class='ng-scroll-icon'></div></button>
179
179
  `;
180
- const t = /* @__PURE__ */ a(() => {
180
+ const t = /* @__PURE__ */ c(() => {
181
181
  const s = e(this, L).querySelector(".ng-container-body");
182
182
  if (!s) {
183
183
  setTimeout(t, 10);
@@ -189,7 +189,7 @@ const ke = class ke extends HTMLElement {
189
189
  thumb: this.querySelector(".ng-scroll-thumb"),
190
190
  left: this.querySelector(".ng-scroll-left"),
191
191
  right: this.querySelector(".ng-scroll-right")
192
- }), e(this, se).call(this), e(this, ie).call(this), this.refresh();
192
+ }), e(this, ne).call(this), e(this, se).call(this), this.refresh();
193
193
  }, "initWhenReady");
194
194
  t();
195
195
  }
@@ -197,27 +197,27 @@ const ke = class ke extends HTMLElement {
197
197
  e(this, P) && e(this, P).disconnect();
198
198
  }
199
199
  };
200
- L = new WeakMap(), B = new WeakMap(), p = new WeakMap(), D = new WeakMap(), N = new WeakMap(), P = new WeakMap(), ie = new WeakMap(), V = new WeakMap(), se = 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(), c(ke, "NineTableHScrollBar");
201
201
  let we = ke;
202
202
  customElements.get("nine-table-hscrollbar") || customElements.define("nine-table-hscrollbar", we);
203
- var $, _, E, W, H, M, ne, re, oe, le;
203
+ var _, H, E, W, M, I, re, oe, le, J;
204
204
  const Le = class Le {
205
205
  constructor(i) {
206
- d(this, $);
207
- d(this, _, []);
206
+ d(this, _);
207
+ d(this, H, []);
208
208
  d(this, E, null);
209
209
  d(this, W, null);
210
- d(this, H, 0);
211
210
  d(this, M, 0);
212
- x(this, "getRowHeight", /* @__PURE__ */ a(() => e(this, E), "getRowHeight"));
213
- d(this, ne, /* @__PURE__ */ a(() => {
214
- e(this, re).call(this);
211
+ d(this, I, 0);
212
+ x(this, "getRowHeight", /* @__PURE__ */ c(() => e(this, E), "getRowHeight"));
213
+ d(this, re, /* @__PURE__ */ c(() => {
214
+ e(this, oe).call(this);
215
215
  }, "#init"));
216
216
  /**
217
217
  * 🎯 뷰포트 크기 λ³€ν™” μ‹œμ μ— 높이 계산 및 ν•„μš”ν•œ ν–‰ 개수 산정·캐싱을 μ™„κ²°
218
218
  */
219
- d(this, re, /* @__PURE__ */ a(() => {
220
- !e(this, $) || !(e(this, $) instanceof HTMLElement) || (y(this, W, new ResizeObserver((i) => {
219
+ d(this, oe, /* @__PURE__ */ c(() => {
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;
223
223
  if (!s.classList.contains("active"))
@@ -226,49 +226,54 @@ 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, f = c.querySelector("thead"), l = c.querySelector("tfoot");
229
+ const a = s.querySelector(".ng-container-body") || s, f = a.querySelector("thead"), l = a.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, 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((g) => {
232
+ if (e(this, M) !== h && (y(this, M, h), e(this, E) !== null)) {
233
+ const u = Math.ceil(e(this, M) / e(this, E));
234
+ y(this, I, u + 20), G.log(`[RowManager] Resized. Height: ${e(this, M)}px | Target Rows: ${e(this, I)}`), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((g) => {
235
235
  const b = s.querySelector(g);
236
- b && b.querySelector("tbody") && e(this, le).call(this, b);
236
+ b && b.querySelector("tbody") && e(this, J).call(this, b);
237
237
  });
238
238
  }
239
239
  }
240
240
  }
241
- })), e(this, W).observe(e(this, $)));
241
+ })), e(this, W).observe(e(this, _)));
242
242
  }, "#initResizeObserver"));
243
243
  // 🎯 ν…œν”Œλ¦Ώ μΆ”μΆœ, 높이 μΈ‘μ •, 초기 λ Œλ”λ§μ„ μˆœμ„œμ— 맞게 λ‚΄λΆ€μ—μ„œ 일괄 처리
244
- x(this, "initialize", /* @__PURE__ */ a((i) => {
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, oe).call(this, t);
244
+ x(this, "initialize", /* @__PURE__ */ c((i) => {
245
+ const t = e(this, _).querySelector(".ng-container-body"), s = i.querySelector("tbody"), n = Array.from(s.querySelectorAll("tr"));
246
+ y(this, H, n.map((o) => o.cloneNode(!0))), y(this, E, null), e(this, le).call(this, t);
247
+ const r = e(this, _);
248
+ [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((o) => {
249
+ const a = r.querySelector(o);
250
+ a && a.querySelector("tbody") && e(this, J).call(this, a);
251
+ });
247
252
  }, "initialize"));
248
- d(this, oe, /* @__PURE__ */ a((i) => {
253
+ d(this, le, /* @__PURE__ */ c((i) => {
249
254
  if (e(this, E) !== null && e(this, E) > 0)
250
255
  return e(this, E);
251
- if (e(this, _).length === 0)
256
+ if (e(this, H).length === 0)
252
257
  throw new Error("[RowManager] Template TRs are empty.");
253
258
  const t = i.querySelector("tbody.bindable") || i.querySelector("tbody");
254
259
  if (!t) return 24;
255
260
  t.querySelectorAll("tr:not(.nodata)").forEach((u) => u.remove());
256
261
  const s = t.querySelector("tr.nodata"), n = document.createDocumentFragment();
257
- e(this, _).forEach((u) => {
262
+ e(this, H).forEach((u) => {
258
263
  n.appendChild(u.cloneNode(!0));
259
264
  }), s ? s.before(n) : t.appendChild(n);
260
- const r = i.closest("nine-table-sheet"), o = r ? r.style.display : "", c = r ? r.style.visibility : "", f = r ? r.style.position : "";
265
+ const r = i.closest("nine-table-sheet"), o = r ? r.style.display : "", a = r ? r.style.visibility : "", f = r ? r.style.position : "";
261
266
  r && (r.style.display === "none" || window.getComputedStyle(r).display === "none") && (r.style.display = "block", r.style.visibility = "hidden", r.style.position = "absolute");
262
267
  let l = 0;
263
268
  const h = t.querySelectorAll("tr:not(.nodata)");
264
269
  if (h.forEach((u, g) => {
265
270
  l += u.offsetHeight || u.getBoundingClientRect().height;
266
- }), h.forEach((u) => u.remove()), 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);
271
+ }), h.forEach((u) => u.remove()), r && (r.style.display = o, r.style.visibility = a, r.style.position = f), y(this, E, l), e(this, M) > 0) {
272
+ const u = Math.ceil(e(this, M) / e(this, E));
273
+ y(this, I, u + 20);
269
274
  } else
270
- y(this, M, 40);
271
- return console.log(`[RowManager] Template Height Cached: ${e(this, E)}px | RowCount: ${e(this, M)}`), e(this, E);
275
+ y(this, I, 40);
276
+ return console.log(`[RowManager] Template Height Cached: ${e(this, E)}px | RowCount: ${e(this, I)}`), e(this, E);
272
277
  }, "#measureAndCacheHeight"));
273
278
  /**
274
279
  * 🎯 μΊμ‹œλœ ν–‰ 개수 λ°˜ν™˜ (없을 λ•Œλ§Œ μ΅œμ†Œν•œμ˜ λ°©μ–΄ μ—°μ‚°)
@@ -286,39 +291,39 @@ const Le = class Le {
286
291
  /**
287
292
  * 🎯 μΊμ‹œλœ ν–‰ 개수λ₯Ό κ³§λ°”λ‘œ κ°€μ Έμ™€μ„œ TR λΌˆλŒ€ μ£Όμž… (쀑볡 계산 제거)
288
293
  */
289
- d(this, le, /* @__PURE__ */ a((i) => {
290
- if (e(this, _).length === 0) return;
294
+ d(this, J, /* @__PURE__ */ c((i) => {
295
+ if (e(this, H).length === 0) return;
291
296
  const t = i.querySelector("tbody.bindable") || i.querySelector("tbody");
292
297
  if (!t) return;
293
298
  t.querySelectorAll("tr:not(.nodata)").forEach((o) => o.remove());
294
- const s = t.querySelector("tr.nodata"), n = document.createDocumentFragment(), r = e(this, M);
299
+ const s = t.querySelector("tr.nodata"), n = document.createDocumentFragment(), r = e(this, I);
295
300
  for (let o = 0; o < r; o++)
296
- e(this, _).forEach((c) => {
297
- n.appendChild(c.cloneNode(!0));
301
+ e(this, H).forEach((a) => {
302
+ n.appendChild(a.cloneNode(!0));
298
303
  });
299
304
  s ? s.before(n) : t.appendChild(n), console.log(`[RowManager] Rendered ${r} sets into DOM.`);
300
305
  }, "#renderRows"));
301
- x(this, "destroy", /* @__PURE__ */ a(() => {
306
+ x(this, "destroy", /* @__PURE__ */ c(() => {
302
307
  e(this, W) && (e(this, W).disconnect(), y(this, W, null));
303
308
  }, "destroy"));
304
- y(this, $, i), e(this, ne).call(this);
309
+ y(this, _, i), e(this, re).call(this);
305
310
  }
306
311
  get templateLength() {
307
- return e(this, _).length || 1;
312
+ return e(this, H).length || 1;
308
313
  }
309
314
  };
310
- $ = new WeakMap(), _ = new WeakMap(), E = new WeakMap(), W = new WeakMap(), H = new WeakMap(), M = new WeakMap(), ne = new WeakMap(), re = new WeakMap(), oe = new WeakMap(), le = new WeakMap(), a(Le, "RowManager");
315
+ _ = new WeakMap(), H = new WeakMap(), E = new WeakMap(), W = new WeakMap(), M = new WeakMap(), I = new WeakMap(), re = new WeakMap(), oe = new WeakMap(), le = new WeakMap(), J = new WeakMap(), c(Le, "RowManager");
311
316
  let ve = Le;
312
- var I, U, ae, ce;
317
+ var $, U, ae, ce;
313
318
  const j = class j extends HTMLElement {
314
319
  constructor() {
315
320
  super();
316
- d(this, I, null);
321
+ d(this, $, null);
317
322
  d(this, U);
318
- x(this, "generate", /* @__PURE__ */ a((t) => {
323
+ x(this, "generate", /* @__PURE__ */ c((t) => {
319
324
  if (!t) return;
320
- const s = /* @__PURE__ */ a((l) => {
321
- const h = /* @__PURE__ */ a((g) => {
325
+ const s = /* @__PURE__ */ c((l) => {
326
+ const h = /* @__PURE__ */ c((g) => {
322
327
  if (g.querySelector("colgroup")) return;
323
328
  const b = g.querySelector("tbody tr") || g.querySelector("tr"), m = b ? b.querySelectorAll("th, td").length : 1, R = document.createElement("colgroup"), T = Math.max(Math.floor(g.clientWidth / m), 100);
324
329
  for (let C = 0; C < m; C++) {
@@ -326,15 +331,15 @@ const j = class j extends HTMLElement {
326
331
  Y.setAttribute("width", T), R.appendChild(Y);
327
332
  }
328
333
  g.prepend(R);
329
- }, "ensureColgroup"), u = /* @__PURE__ */ a((g) => {
334
+ }, "ensureColgroup"), u = /* @__PURE__ */ c((g) => {
330
335
  if (g.querySelector("thead")) return;
331
336
  const b = document.createElement("thead"), m = g.querySelector("colgroup");
332
337
  m ? m.after(b) : g.prepend(b);
333
338
  }, "ensureThead");
334
339
  return h(l), u(l), l.classList.add("nine-table-element"), l;
335
340
  }, "initializeTable"), n = t.cloneNode(!0);
336
- y(this, I, s(n)), e(this, I).style.display = "table";
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) => {
341
+ y(this, $, s(n)), e(this, $).style.display = "table";
342
+ const r = this.querySelector(".ng-container-left"), o = this.querySelector(".ng-container-body"), a = this.querySelector(".ng-container-right"), f = /* @__PURE__ */ c((l, h, u = !1) => {
338
343
  const g = l.cloneNode(!0), b = Array.from(g.querySelectorAll("colgroup col")), m = [];
339
344
  return b.forEach((R, T) => {
340
345
  const C = R.getAttribute("fixed");
@@ -348,11 +353,11 @@ const j = class j extends HTMLElement {
348
353
  }), g;
349
354
  }, "filterTableByFixed");
350
355
  if (o) {
351
- const l = f(e(this, I), null, !0);
352
- o.innerHTML = "", o.appendChild(l), e(this, U).initialize(e(this, I));
356
+ const l = f(e(this, $), null, !0);
357
+ o.innerHTML = "", o.appendChild(l), e(this, U).initialize(e(this, $));
353
358
  }
354
359
  if (r) {
355
- const l = f(e(this, I), "left", !1);
360
+ const l = f(e(this, $), "left", !1);
356
361
  let h = 0;
357
362
  l.querySelectorAll("col").forEach((g) => {
358
363
  const b = parseInt(g.getAttribute("width"), 10);
@@ -361,15 +366,15 @@ const j = class j extends HTMLElement {
361
366
  const u = h > 0 ? h : 0;
362
367
  r.style.flex = `0 0 ${u}px`, r.style.width = `${u}px`;
363
368
  }
364
- if (c) {
365
- const l = f(e(this, I), "right", !1);
369
+ if (a) {
370
+ const l = f(e(this, $), "right", !1);
366
371
  let h = 0;
367
372
  l.querySelectorAll("col").forEach((g) => {
368
373
  const b = parseInt(g.getAttribute("width"), 10);
369
374
  isNaN(b) || (h += b);
370
- }), c.innerHTML = "", c.appendChild(l);
375
+ }), a.innerHTML = "", a.appendChild(l);
371
376
  const u = h > 0 ? h : 0;
372
- c.style.flex = `0 0 ${u}px`, c.style.width = `${u}px`;
377
+ a.style.flex = `0 0 ${u}px`, a.style.width = `${u}px`;
373
378
  }
374
379
  o && o.addEventListener("scroll", () => {
375
380
  var l;
@@ -379,35 +384,35 @@ const j = class j extends HTMLElement {
379
384
  (l = this.querySelector("nine-table-hscrollbar")) == null || l.refresh();
380
385
  }, 0);
381
386
  }, "generate"));
382
- x(this, "getRowHeight", /* @__PURE__ */ a(() => e(this, U).getRowHeight(), "getRowHeight"));
387
+ x(this, "getRowHeight", /* @__PURE__ */ c(() => e(this, U).getRowHeight(), "getRowHeight"));
383
388
  /**
384
389
  getRowCount = () => {
385
390
  if (!this.#tableElement) return 0;
386
391
  return this.#tableElement.querySelectorAll('tbody tr').length;
387
392
  }; */
388
- x(this, "scrollToX", /* @__PURE__ */ a((t) => {
393
+ x(this, "scrollToX", /* @__PURE__ */ c((t) => {
389
394
  const s = this.querySelector(".ng-container-body");
390
395
  s && (s.scrollLeft = t);
391
396
  }, "scrollToX"));
392
- x(this, "scrollToY", /* @__PURE__ */ a((t) => {
397
+ x(this, "scrollToY", /* @__PURE__ */ c((t) => {
393
398
  const s = this.querySelector(".ng-container-body");
394
399
  s && (s.scrollTop = t);
395
400
  }, "scrollToY"));
396
- d(this, ae, /* @__PURE__ */ a(() => {
401
+ d(this, ae, /* @__PURE__ */ c(() => {
397
402
  e(this, ce).call(this), new MutationObserver((t) => {
398
- const s = /* @__PURE__ */ a(() => {
403
+ const s = /* @__PURE__ */ c(() => {
399
404
  requestAnimationFrame(() => {
400
405
  var u, g, b;
401
406
  const n = this.querySelector(".ng-container-left table"), r = this.querySelector(".ng-container-body table"), o = this.querySelector(".ng-container-right table");
402
407
  if (!r) return;
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);
408
+ const a = n ? Array.from(n.querySelectorAll("tr")) : [], f = Array.from(r.querySelectorAll("tr")), l = o ? Array.from(o.querySelectorAll("tr")) : [], h = Math.max(a.length, f.length, l.length);
404
409
  for (let m = 0; m < h; m++) {
405
410
  const R = [
406
- ((u = c[m]) == null ? void 0 : u.getBoundingClientRect().height) || 0,
411
+ ((u = a[m]) == null ? void 0 : u.getBoundingClientRect().height) || 0,
407
412
  ((g = f[m]) == null ? void 0 : g.getBoundingClientRect().height) || 0,
408
413
  ((b = l[m]) == null ? void 0 : b.getBoundingClientRect().height) || 0
409
414
  ], 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`));
415
+ T > 0 && (a[m] && (a[m].style.height = `${T}px`), f[m] && (f[m].style.height = `${T}px`), l[m] && (l[m].style.height = `${T}px`));
411
416
  }
412
417
  });
413
418
  }, "syncRowHeights");
@@ -415,7 +420,7 @@ const j = class j extends HTMLElement {
415
420
  n.attributeName === "class" && this.classList.contains("active") && s();
416
421
  }).observe(this, { attributes: !0 });
417
422
  }, "#init"));
418
- d(this, ce, /* @__PURE__ */ a(() => {
423
+ d(this, ce, /* @__PURE__ */ c(() => {
419
424
  const t = j.SCROLLBAR_SIZE;
420
425
  this.innerHTML = `
421
426
  <style>
@@ -550,23 +555,23 @@ const j = class j extends HTMLElement {
550
555
  this.innerHTML = "", G.log("NineTableSheet destroyed.");
551
556
  }
552
557
  };
553
- I = new WeakMap(), U = new WeakMap(), ae = new WeakMap(), ce = new WeakMap(), a(j, "NineTableSheet"), x(j, "SCROLLBAR_SIZE", 16);
554
- let te = j;
555
- customElements.get("nine-table-sheet") || customElements.define("nine-table-sheet", te);
556
- var he, J;
558
+ $ = new WeakMap(), U = new WeakMap(), ae = new WeakMap(), ce = new WeakMap(), c(j, "NineTableSheet"), x(j, "SCROLLBAR_SIZE", 16);
559
+ let ie = j;
560
+ customElements.get("nine-table-sheet") || customElements.define("nine-table-sheet", ie);
561
+ var he, Q;
557
562
  const Ce = class Ce extends HTMLElement {
558
563
  constructor() {
559
564
  super();
560
- d(this, he, /* @__PURE__ */ a(() => {
565
+ d(this, he, /* @__PURE__ */ c(() => {
561
566
  var t;
562
567
  (t = this.querySelector(".nine-tab-bar")) == null || t.addEventListener("click", (s) => {
563
568
  var o;
564
569
  const n = s.ctrlKey || s.metaKey || s.shiftKey, r = parseInt((o = s.target.closest(".nine-tab-item")) == null ? void 0 : o.dataset.index, 10);
565
- e(this, J).call(this, r, n);
566
- }), e(this, J).call(this, 0, !1);
570
+ e(this, Q).call(this, r, n);
571
+ }), e(this, Q).call(this, 0, !1);
567
572
  }, "#init"));
568
- d(this, J, /* @__PURE__ */ a((t, s = !1) => {
569
- const n = /* @__PURE__ */ a(() => {
573
+ d(this, Q, /* @__PURE__ */ c((t, s = !1) => {
574
+ const n = /* @__PURE__ */ c(() => {
570
575
  const h = Array.from(this.querySelectorAll("nine-table-sheet"));
571
576
  Array.from(this.querySelectorAll("nine-splitter")).forEach((b) => b.style.setProperty("display", "none"));
572
577
  const g = h.filter((b) => b.classList.contains("active"));
@@ -574,17 +579,17 @@ const Ce = class Ce extends HTMLElement {
574
579
  const m = parseInt(b.getAttribute("data-index"), 10), R = this.querySelector(`nine-splitter[data-split-index="${m}"]`), T = h[m + 1];
575
580
  R && T && T.classList.contains("active") && R.style.setProperty("display", "flex");
576
581
  });
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");
578
- if (!c[t]) return;
582
+ }, "updateSplitters"), r = this.querySelector(".nine-tab-bar"), o = this.querySelector("nine-table-sheets-body"), a = r.querySelectorAll(".nine-tab-item"), f = o.querySelectorAll("nine-table-sheet");
583
+ if (!a[t]) return;
579
584
  if (!s)
580
- c.forEach((h, u) => {
585
+ a.forEach((h, u) => {
581
586
  h.classList.toggle("active", u === t);
582
587
  }), f.forEach((h, u) => {
583
588
  const g = u === t;
584
589
  h.classList.toggle("active", g), h.style.flex = g ? "1 1 100%" : "";
585
590
  });
586
591
  else {
587
- const h = c[t], u = r.querySelectorAll(".nine-tab-item.active");
592
+ const h = a[t], u = r.querySelectorAll(".nine-tab-item.active");
588
593
  if (h.classList.contains("active") && u.length <= 1)
589
594
  return;
590
595
  h.classList.toggle("active");
@@ -601,27 +606,27 @@ const Ce = class Ce extends HTMLElement {
601
606
  e(this, he).call(this);
602
607
  }
603
608
  };
604
- he = new WeakMap(), J = new WeakMap(), a(Ce, "NineTableSheets");
609
+ he = new WeakMap(), Q = new WeakMap(), c(Ce, "NineTableSheets");
605
610
  let xe = Ce;
606
611
  customElements.get("nine-table-sheets") || customElements.define("nine-table-sheets", xe);
607
- var S, de, Q, fe;
612
+ var S, de, ee, fe;
608
613
  const _e = class _e {
609
614
  constructor(i) {
610
615
  d(this, S);
611
- d(this, de, /* @__PURE__ */ a(() => {
616
+ d(this, de, /* @__PURE__ */ c(() => {
612
617
  e(this, fe).call(this), new ResizeObserver((i) => {
613
618
  for (let t of i)
614
- e(this, S).getAttribute("auto-height") === "true" && e(this, Q).call(this);
619
+ e(this, S).getAttribute("auto-height") === "true" && e(this, ee).call(this);
615
620
  }).observe(e(this, S));
616
621
  }, "#init"));
617
- d(this, Q, /* @__PURE__ */ a(() => {
622
+ d(this, ee, /* @__PURE__ */ c(() => {
618
623
  var f, l;
619
624
  const i = Array.from(e(this, S).shadowRoot.querySelectorAll("nine-table-sheet.active"));
620
625
  if (i.length === 0) return;
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 = te.SCROLLBAR_SIZE, c = t * s + n + r + o;
622
- e(this, S).style.height = `${c}px`;
626
+ 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, a = t * s + n + r + o;
627
+ e(this, S).style.height = `${a}px`;
623
628
  }, "#applyAutoHeight"));
624
- d(this, fe, /* @__PURE__ */ a(() => {
629
+ d(this, fe, /* @__PURE__ */ c(() => {
625
630
  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) => {
626
631
  const u = `<nine-table-sheet class="${l === 0 ? "active" : ""}" data-index="${l}"></nine-table-sheet>`, g = l < n - 1 ? `<nine-splitter class="h" data-split-index="${l}"></nine-splitter>` : "";
627
632
  return u + g;
@@ -725,24 +730,24 @@ const _e = class _e {
725
730
  </nine-table-body>
726
731
  <nine-table-footer></nine-table-footer>
727
732
  `;
728
- const c = e(this, S).shadowRoot.querySelectorAll("nine-table-sheet");
729
- c == null || c.forEach((f, l) => {
733
+ const a = e(this, S).shadowRoot.querySelectorAll("nine-table-sheet");
734
+ a == null || a.forEach((f, l) => {
730
735
  t[l] && setTimeout(() => {
731
- f.generate(t[l]), s && e(this, Q).call(this);
736
+ f.generate(t[l]), s && e(this, ee).call(this);
732
737
  });
733
738
  });
734
739
  }, "#render"));
735
740
  y(this, S, i), e(this, de).call(this);
736
741
  }
737
742
  };
738
- S = new WeakMap(), de = new WeakMap(), Q = new WeakMap(), fe = new WeakMap(), a(_e, "LayoutManager");
743
+ S = new WeakMap(), de = new WeakMap(), ee = new WeakMap(), fe = new WeakMap(), c(_e, "LayoutManager");
739
744
  let Se = _e;
740
745
  var z, X;
741
746
  const He = class He {
742
747
  constructor(i) {
743
748
  d(this, z);
744
749
  d(this, X, -1);
745
- x(this, "count", /* @__PURE__ */ a(() => e(this, z).rawRecords.length, "count"));
750
+ x(this, "count", /* @__PURE__ */ c(() => e(this, z).rawRecords.length, "count"));
746
751
  y(this, z, i);
747
752
  }
748
753
  get at() {
@@ -758,31 +763,31 @@ const He = class He {
758
763
  });
759
764
  }
760
765
  };
761
- z = new WeakMap(), X = new WeakMap(), a(He, "ngRow");
766
+ z = new WeakMap(), X = new WeakMap(), c(He, "ngRow");
762
767
  let Re = He;
763
- var A, v, q, K, ue, O, ge, ee, be, ye, Z;
768
+ var q, v, A, K, ue, O, ge, te, be, ye, Z;
764
769
  const k = class k {
765
770
  constructor(i, t) {
766
- d(this, A);
771
+ d(this, q);
767
772
  d(this, v);
768
- d(this, q, []);
773
+ d(this, A, []);
769
774
  d(this, K, []);
770
775
  d(this, ue, 0);
771
776
  d(this, O, []);
772
- d(this, ge, /* @__PURE__ */ a(() => {
777
+ d(this, ge, /* @__PURE__ */ c(() => {
773
778
  y(this, O, []);
774
- const i = e(this, A).template || [];
779
+ const i = e(this, q).template || [];
775
780
  Array.from(i).forEach((t) => {
776
781
  var s;
777
782
  e(this, O).push(((s = t.getBoundingClientRect) == null ? void 0 : s.call(t).height) || 24);
778
783
  }), (e(this, v).rawRecords || []).forEach((t) => {
779
- t.__ng || (t.__ng = e(this, ee).call(this)), t.__ng.height = e(this, O).slice();
784
+ t.__ng || (t.__ng = e(this, te).call(this)), t.__ng.height = e(this, O).slice();
780
785
  });
781
786
  }, "#initialize"));
782
- x(this, "set", /* @__PURE__ */ a((i) => {
787
+ x(this, "set", /* @__PURE__ */ c((i) => {
783
788
  this.clear(), this.add(i, !1);
784
789
  }, "set"));
785
- d(this, ee, /* @__PURE__ */ a(() => ({
790
+ d(this, te, /* @__PURE__ */ c(() => ({
786
791
  rowState: k.ROW_STATE.EMPTY,
787
792
  deleted: !1,
788
793
  filtered: !1,
@@ -791,94 +796,94 @@ const k = class k {
791
796
  c: {},
792
797
  _: [0, 0, 0, 0, k.ROW_STATE.EMPTY, !1, !1, !0, !1, !0, !0, !1, e(this, O).slice(), -1, {}, {}]
793
798
  }), "#getDefaultMeta"));
794
- x(this, "reset", /* @__PURE__ */ a(() => {
795
- y(this, q, []), y(this, K, []);
799
+ x(this, "reset", /* @__PURE__ */ c(() => {
800
+ y(this, A, []), y(this, K, []);
796
801
  }, "reset"));
797
- x(this, "clear", /* @__PURE__ */ a(() => {
802
+ x(this, "clear", /* @__PURE__ */ c(() => {
798
803
  var i;
799
- e(this, v).rawRecords = [], y(this, q, []), y(this, K, []), (i = e(this, v).viewRecords) != null && i.reset && e(this, v).viewRecords.reset();
804
+ e(this, v).rawRecords = [], y(this, A, []), y(this, K, []), (i = e(this, v).viewRecords) != null && i.reset && e(this, v).viewRecords.reset();
800
805
  }, "clear"));
801
- d(this, be, /* @__PURE__ */ a((i) => {
806
+ d(this, be, /* @__PURE__ */ c((i) => {
802
807
  var n;
803
808
  Array.isArray(i) || (i = [i]);
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 = [];
809
+ const t = typeof ((n = e(this, q).fields) == null ? void 0 : n.get) == "function" ? e(this, q).fields.get() : Object.keys(i[0] || {}), s = [];
805
810
  return i.forEach((r) => {
806
811
  const o = { v: [] };
807
- t.forEach((c) => {
808
- o.v.push(r[c] !== void 0 && r[c] !== null ? r[c] : "");
812
+ t.forEach((a) => {
813
+ o.v.push(r[a] !== void 0 && r[a] !== null ? r[a] : "");
809
814
  }), s.push(o);
810
815
  }), s;
811
816
  }, "#json2Array"));
812
- d(this, ye, /* @__PURE__ */ a((i) => (Array.isArray(i) || (i = [i]), i.forEach((t) => {
813
- t.__ng = e(this, ee).call(this), t.__ng.rowid = this.nextId, t.__ng.rowState = k.ROW_STATE.INSERT, t.__ng._[0] = t.__ng.rowid;
817
+ d(this, ye, /* @__PURE__ */ c((i) => (Array.isArray(i) || (i = [i]), i.forEach((t) => {
818
+ 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;
814
819
  }), i), "#defaultInsert"));
815
- x(this, "add", /* @__PURE__ */ a((i, t = !0) => {
820
+ x(this, "add", /* @__PURE__ */ c((i, t = !0) => {
816
821
  var r;
817
822
  i === void 0 && (i = {});
818
823
  const s = e(this, be).call(this, i);
819
824
  e(this, v).rawRecords = e(this, v).rawRecords.concat(e(this, ye).call(this, s)), this.resetRecords();
820
825
  const n = this.count() - 1;
821
- return t || s.forEach((o, c) => {
822
- const f = e(this, v).rawRecords[n - c];
826
+ return t || s.forEach((o, a) => {
827
+ const f = e(this, v).rawRecords[n - a];
823
828
  f && (f.__ng.rowState = k.ROW_STATE.EMPTY);
824
829
  }), (r = e(this, v).viewRecords) != null && r.reset && e(this, v).viewRecords.reset(), n;
825
830
  }, "add"));
826
- x(this, "delete", /* @__PURE__ */ a((i) => {
831
+ x(this, "delete", /* @__PURE__ */ c((i) => {
827
832
  var s;
828
833
  let t = [];
829
834
  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) => {
830
- if (e(this, q)[n]) {
831
- const r = e(this, q)[n].__ng.rowid;
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) => {
835
+ if (e(this, A)[n]) {
836
+ const r = e(this, A)[n].__ng.rowid;
837
+ e(this, A)[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
838
  o.__ng.rowid === r && (o.__ng.deleted = !0, o.__ng.rowState = k.ROW_STATE.DELETE);
834
839
  });
835
840
  }
836
841
  }), this.resetRecords(), (s = e(this, v).viewRecords) != null && s.reset && e(this, v).viewRecords.reset();
837
842
  }, "delete"));
838
- x(this, "setValue", /* @__PURE__ */ a((i, t, s) => {
843
+ x(this, "setValue", /* @__PURE__ */ c((i, t, s) => {
839
844
  var f;
840
845
  i = parseInt(i, 10);
841
- const r = (typeof ((f = e(this, A).fields) == null ? void 0 : f.get) == "function" ? e(this, A).fields.get() : []).indexOf(t);
846
+ const r = (typeof ((f = e(this, q).fields) == null ? void 0 : f.get) == "function" ? e(this, q).fields.get() : []).indexOf(t);
842
847
  if (r < 0) return;
843
848
  const o = this.getValidData()[i];
844
849
  if (!o) return;
845
- const c = o.v[r];
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);
850
+ const a = o.v[r];
851
+ a !== s && o.__ng.rowState !== k.ROW_STATE.INSERT && (o.__ng.o.hasOwnProperty(t) || (o.__ng.o[t] = a), o.__ng.rowState = k.ROW_STATE.UPDATE), o.v[r] = s, e(this, v).owner.refreshData && e(this, v).owner.refreshData(i);
847
852
  }, "setValue"));
848
- x(this, "resetRecords", /* @__PURE__ */ a(() => {
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) => {
853
+ x(this, "resetRecords", /* @__PURE__ */ c(() => {
854
+ y(this, K, e(this, v).rawRecords.filter((i) => !i.__ng.deleted)), y(this, A, e(this, v).rawRecords.filter((i) => !i.__ng.deleted && !i.__ng.filtered)), e(this, v).rawRecords.forEach((i, t) => {
850
855
  i.__ng.rowidx = t;
851
- }), e(this, q).forEach((i, t) => {
856
+ }), e(this, A).forEach((i, t) => {
852
857
  i.__ng.i = t;
853
858
  });
854
859
  }, "resetRecords"));
855
- x(this, "getValidData", /* @__PURE__ */ a(() => (e(this, q).length === 0 && e(this, v).rawRecords.length > 0 && this.resetRecords(), e(this, q)), "getValidData"));
856
- d(this, Z, /* @__PURE__ */ a((i) => {
860
+ x(this, "getValidData", /* @__PURE__ */ c(() => (e(this, A).length === 0 && e(this, v).rawRecords.length > 0 && this.resetRecords(), e(this, A)), "getValidData"));
861
+ d(this, Z, /* @__PURE__ */ c((i) => {
857
862
  var s;
858
863
  if (!i) return i;
859
- const t = typeof ((s = e(this, A).fields) == null ? void 0 : s.get) == "function" ? e(this, A).fields.get() : [];
864
+ const t = typeof ((s = e(this, q).fields) == null ? void 0 : s.get) == "function" ? e(this, q).fields.get() : [];
860
865
  return Array.isArray(i) ? i.filter((n) => !n.__ng.deleted).map((n) => {
861
866
  const r = {};
862
- return t.forEach((o, c) => {
863
- r[o] = n.v ? n.v[c] : n[o];
867
+ return t.forEach((o, a) => {
868
+ r[o] = n.v ? n.v[a] : n[o];
864
869
  }), r.__ng = n.__ng, r;
865
870
  }) : i;
866
871
  }, "#conv2"));
867
- x(this, "count", /* @__PURE__ */ a(() => this.getValidData().length, "count"));
868
- x(this, "get", /* @__PURE__ */ a((i, t) => {
872
+ x(this, "count", /* @__PURE__ */ c(() => this.getValidData().length, "count"));
873
+ x(this, "get", /* @__PURE__ */ c((i, t) => {
869
874
  var r;
870
875
  const s = this.getValidData();
871
876
  if (!s || s.length <= 0) return;
872
877
  if (i == null) return e(this, Z).call(this, s);
873
878
  if (i < 0 || i >= s.length) return null;
874
- const n = typeof ((r = e(this, A).fields) == null ? void 0 : r.get) == "function" ? e(this, A).fields.get() : [];
879
+ const n = typeof ((r = e(this, q).fields) == null ? void 0 : r.get) == "function" ? e(this, q).fields.get() : [];
875
880
  if (t != null) {
876
881
  const o = n.indexOf(t);
877
882
  return o >= 0 ? s[i].v[o] : null;
878
883
  }
879
884
  return e(this, Z).call(this, s[i]);
880
885
  }, "get"));
881
- y(this, A, i), y(this, v, t), e(this, ge).call(this);
886
+ y(this, q, i), y(this, v, t), e(this, ge).call(this);
882
887
  }
883
888
  get source() {
884
889
  return e(this, Z).call(this, e(this, v).rawRecords);
@@ -890,13 +895,13 @@ const k = class k {
890
895
  return ++Oe(this, ue)._;
891
896
  }
892
897
  get length() {
893
- return e(this, q).length;
898
+ return e(this, A).length;
894
899
  }
895
900
  getRowCount() {
896
901
  return this.length;
897
902
  }
898
903
  };
899
- A = new WeakMap(), v = new WeakMap(), q = new WeakMap(), K = new WeakMap(), ue = new WeakMap(), O = new WeakMap(), ge = new WeakMap(), ee = new WeakMap(), be = new WeakMap(), ye = new WeakMap(), Z = new WeakMap(), a(k, "ngData"), // 🎯 ν–‰ μƒνƒœ μ •μ˜ μƒμˆ˜λ₯Ό 클래슀 λ‚΄λΆ€λ‘œ λ‚΄μž¬ν™”
904
+ q = new WeakMap(), v = new WeakMap(), A = 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(), c(k, "ngData"), // 🎯 ν–‰ μƒνƒœ μ •μ˜ μƒμˆ˜λ₯Ό 클래슀 λ‚΄λΆ€λ‘œ λ‚΄μž¬ν™”
900
905
  x(k, "ROW_STATE", {
901
906
  EMPTY: "EMPTY",
902
907
  NORMAL: "NORMAL",
@@ -924,7 +929,7 @@ const Me = class Me {
924
929
  }, this.setDataSource([]);
925
930
  }
926
931
  };
927
- a(Me, "ngDataManager");
932
+ c(Me, "ngDataManager");
928
933
  let Te = Me;
929
934
  var F, pe;
930
935
  const Ie = class Ie extends HTMLElement {
@@ -954,7 +959,7 @@ const Ie = class Ie extends HTMLElement {
954
959
  return e(this, F);
955
960
  }
956
961
  };
957
- F = new WeakMap(), pe = new WeakMap(), a(Ie, "NineTable");
958
- let Ae = Ie;
959
- customElements.get("nine-table") || customElements.define("nine-table", Ae);
962
+ F = new WeakMap(), pe = new WeakMap(), c(Ie, "NineTable");
963
+ let qe = Ie;
964
+ customElements.get("nine-table") || customElements.define("nine-table", qe);
960
965
  //# sourceMappingURL=nine-table.js.map