@ninebone/table 0.0.618 β†’ 0.0.620

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,7 +22,7 @@ const He = class He extends Ke.constructor {
22
22
  };
23
23
  c(He, "Trace");
24
24
  let oe = He;
25
- const N = new oe();
25
+ const M = new oe();
26
26
  var B, j, w, X, K, Z, It, G, _t;
27
27
  const Me = class Me extends HTMLElement {
28
28
  constructor() {
@@ -230,7 +230,7 @@ const $e = class $e extends HTMLElement {
230
230
  m < 0 && (m = 0), m > x && (m = x), r.style.top = `${m}px`, t(this, T).top.disabled = g <= 0, t(this, T).bottom.disabled = g >= b - 1;
231
231
  }, "refresh"));
232
232
  d(this, Nt, /* @__PURE__ */ c(() => {
233
- N.log("nine-table-vscrollbar.#init");
233
+ M.log("nine-table-vscrollbar.#init");
234
234
  const e = t(this, T).container, s = /* @__PURE__ */ c(() => {
235
235
  const n = (t(this, F).data.get() || []).length, o = t(this, at).getRowHeight();
236
236
  return n * o;
@@ -246,8 +246,8 @@ const $e = class $e extends HTMLElement {
246
246
  if (u > 0 && x > 0) {
247
247
  const A = g / u * x;
248
248
  let v = t(this, xt) + A;
249
- const M = Math.max(0, m - b);
250
- v < 0 && (v = 0), v > M && (v = M), e.scrollTop = v;
249
+ const I = Math.max(0, m - b);
250
+ v < 0 && (v = 0), v > I && (v = I), e.scrollTop = v;
251
251
  }
252
252
  this.refresh();
253
253
  }, "onMouseMove"), o = /* @__PURE__ */ c(() => {
@@ -354,14 +354,14 @@ const $e = class $e extends HTMLElement {
354
354
  F = new WeakMap(), at = new WeakMap(), J = new WeakMap(), T = new WeakMap(), vt = new WeakMap(), xt = new WeakMap(), Nt = new WeakMap(), c($e, "NineTableVScrollBar");
355
355
  let le = $e;
356
356
  customElements.get("nine-table-vscrollbar") || customElements.define("nine-table-vscrollbar", le);
357
- var P, S, Q, D, I, V, tt, wt, Se, Ae, Wt, Ot, zt, St, At, Bt, Dt, Et, Ee, lt, qt, Pt;
357
+ var P, S, Q, D, _, V, tt, wt, Se, Ae, Wt, Ot, zt, St, At, Bt, Dt, Et, Ee, lt, qt, Pt;
358
358
  const Ie = class Ie {
359
359
  constructor(i) {
360
360
  d(this, P);
361
361
  d(this, S);
362
362
  d(this, Q);
363
363
  d(this, D, /* @__PURE__ */ new Map());
364
- d(this, I, null);
364
+ d(this, _, null);
365
365
  d(this, V, null);
366
366
  d(this, tt, 0);
367
367
  d(this, wt, 40);
@@ -371,15 +371,15 @@ const Ie = class Ie {
371
371
  d(this, Wt, 3);
372
372
  E(this, "refresh", /* @__PURE__ */ c(() => {
373
373
  var e;
374
- N.log("rowManager.refresh");
374
+ M.log("rowManager.refresh");
375
375
  const i = t(this, S).querySelector(".ng-container-body .ng-part-body");
376
376
  i && (t(this, St).call(this), t(this, lt).call(this, i.scrollTop), (e = t(this, S).querySelector("nine-table-vscrollbar")) == null || e.refresh());
377
377
  }, "refresh"));
378
378
  E(this, "initialize", /* @__PURE__ */ c(() => {
379
- N.log("rowManager.initialize"), y(this, Q, {
379
+ M.log("rowManager.initialize"), y(this, Q, {
380
380
  scrollTables: t(this, S).querySelectorAll(".ng-part-body table"),
381
381
  firstTr: t(this, S).querySelector(".ng-container-body .ng-part-body tbody.bindable-tbody tr:not(.nodata)")
382
- }), y(this, I, null), t(this, D).clear(), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((o) => {
382
+ }), y(this, _, null), t(this, D).clear(), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((o) => {
383
383
  const a = t(this, S).querySelector(o);
384
384
  if (!a) return;
385
385
  const h = a.querySelector(".ng-part-body table");
@@ -407,7 +407,7 @@ const Ie = class Ie {
407
407
  }
408
408
  }, "initialize"));
409
409
  d(this, Ot, /* @__PURE__ */ c((i, e) => {
410
- N.log("rowManager.#renderRows");
410
+ M.log("rowManager.#renderRows");
411
411
  const s = t(this, D).get(e);
412
412
  if (!s || s.length === 0) return;
413
413
  const r = i.querySelector(".ng-part-body tbody.bindable-tbody");
@@ -421,11 +421,11 @@ const Ie = class Ie {
421
421
  n ? n.before(o) : r.appendChild(o), e === ".ng-container-body" && (t(this, Q).firstTr = r.querySelector("tr:not(.nodata)"));
422
422
  }, "#renderRows"));
423
423
  d(this, zt, /* @__PURE__ */ c((i) => {
424
- if (N.log("rowManager.#measureAndCacheHeight"), t(this, I) !== null && t(this, I) > 0)
425
- return t(this, I);
426
- N.log("#measureAndCacheHeight");
424
+ if (M.log("rowManager.#measureAndCacheHeight"), t(this, _) !== null && t(this, _) > 0)
425
+ return t(this, _);
426
+ M.log("#measureAndCacheHeight");
427
427
  const e = t(this, D).get(".ng-container-body");
428
- if (!e || e.length === 0) return 24;
428
+ if (M.log(e), !e || e.length === 0) return 24;
429
429
  const s = i.querySelector("tbody.bindable-tbody");
430
430
  if (!s) return 24;
431
431
  s.querySelectorAll("tr:not(.nodata)").forEach((g) => g.remove());
@@ -439,12 +439,12 @@ const Ie = class Ie {
439
439
  const u = s.querySelectorAll("tr:not(.nodata)");
440
440
  return u.forEach((g) => {
441
441
  f += g.offsetHeight || g.getBoundingClientRect().height;
442
- }), u.forEach((g) => g.remove()), o.style.display = a, o.style.visibility = h, o.style.position = l, y(this, I, f > 0 ? f : 24), t(this, At).call(this), t(this, I);
442
+ }), u.forEach((g) => g.remove()), o.style.display = a, o.style.visibility = h, o.style.position = l, y(this, _, f > 0 ? f : 24), t(this, At).call(this), t(this, _);
443
443
  }, "#measureAndCacheHeight"));
444
444
  d(this, St, /* @__PURE__ */ c(() => {
445
- N.log("rowManager.#updateVirtualScrollHeight");
446
- const e = (t(this, P).data.get() || []).length, s = t(this, I), r = e * s;
447
- N.log("πŸ” [VirtualHeight]", { totalCount: e, rowHeight: s, totalVirtualHeight: r }), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((n) => {
445
+ M.log("rowManager.#updateVirtualScrollHeight");
446
+ const e = (t(this, P).data.get() || []).length, s = t(this, _), r = e * s;
447
+ M.log("πŸ” [VirtualHeight]", { totalCount: e, rowHeight: s, totalVirtualHeight: r }), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((n) => {
448
448
  const o = t(this, S).querySelector(n);
449
449
  if (!o) return;
450
450
  const a = o.querySelector(".ng-part-body .ng-virtual-spacer");
@@ -452,8 +452,8 @@ const Ie = class Ie {
452
452
  });
453
453
  }, "#updateVirtualScrollHeight"));
454
454
  d(this, At, /* @__PURE__ */ c(() => {
455
- if (t(this, tt) > 0 && t(this, I) > 0) {
456
- const i = Math.ceil(t(this, tt) / t(this, I));
455
+ if (t(this, tt) > 0 && t(this, _) > 0) {
456
+ const i = Math.ceil(t(this, tt) / t(this, _));
457
457
  y(this, wt, i + t(this, Wt));
458
458
  }
459
459
  }, "#updateRowCount"));
@@ -463,11 +463,11 @@ const Ie = class Ie {
463
463
  if (e) {
464
464
  const b = i ? Array.from(i.querySelectorAll("tbody tr")) : [], m = Array.from(e.querySelectorAll("tbody tr")), x = s ? Array.from(s.querySelectorAll("tbody tr")) : [], A = Math.max(b.length, m.length, x.length);
465
465
  for (let v = 0; v < A; v++) {
466
- const M = [
466
+ const I = [
467
467
  ((a = b[v]) == null ? void 0 : a.getBoundingClientRect().height) || 0,
468
468
  ((h = m[v]) == null ? void 0 : h.getBoundingClientRect().height) || 0,
469
469
  ((l = x[v]) == null ? void 0 : l.getBoundingClientRect().height) || 0
470
- ], R = Math.max(...M);
470
+ ], R = Math.max(...I);
471
471
  R > 0 && (b[v] && (b[v].style.height = `${R}px`), m[v] && (m[v].style.height = `${R}px`), x[v] && (x[v].style.height = `${R}px`));
472
472
  }
473
473
  }
@@ -475,11 +475,11 @@ const Ie = class Ie {
475
475
  if (n) {
476
476
  const b = r ? Array.from(r.querySelectorAll("tfoot tr")) : [], m = Array.from(n.querySelectorAll("tfoot tr")), x = o ? Array.from(o.querySelectorAll("tfoot tr")) : [], A = Math.max(b.length, m.length, x.length);
477
477
  for (let v = 0; v < A; v++) {
478
- const M = [
478
+ const I = [
479
479
  ((f = b[v]) == null ? void 0 : f.getBoundingClientRect().height) || 0,
480
480
  ((u = m[v]) == null ? void 0 : u.getBoundingClientRect().height) || 0,
481
481
  ((g = x[v]) == null ? void 0 : g.getBoundingClientRect().height) || 0
482
- ], R = Math.max(...M);
482
+ ], R = Math.max(...I);
483
483
  R > 0 && (b[v] && (b[v].style.height = `${R}px`), m[v] && (m[v].style.height = `${R}px`), x[v] && (x[v].style.height = `${R}px`));
484
484
  }
485
485
  }
@@ -495,13 +495,13 @@ const Ie = class Ie {
495
495
  const o = s.querySelector(".ng-part-header"), a = s.querySelector(".ng-part-footer");
496
496
  o && (n += o.offsetHeight), a && (n += a.offsetHeight);
497
497
  const h = Math.max(r - n, 100);
498
- t(this, tt) !== h && (y(this, tt, h), t(this, At).call(this), t(this, I) !== null && (t(this, Et).call(this), this.refresh()));
498
+ t(this, tt) !== h && (y(this, tt, h), t(this, At).call(this), t(this, _) !== null && (t(this, Et).call(this), this.refresh()));
499
499
  }
500
500
  }
501
501
  })), t(this, V).observe(t(this, S)));
502
502
  }, "#initResizeObserver"));
503
503
  d(this, Et, /* @__PURE__ */ c(() => {
504
- N.log("rowManager.#renderAllContainers"), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((i) => {
504
+ M.log("rowManager.#renderAllContainers"), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((i) => {
505
505
  const e = t(this, S).querySelector(i);
506
506
  e && e.querySelector(".ng-part-body tbody.bindable-tbody") && t(this, Ot).call(this, e, i);
507
507
  }), t(this, Pt).call(this), t(this, Bt).call(this);
@@ -527,7 +527,7 @@ const Ie = class Ie {
527
527
  }, "#adjustBufferRows"));
528
528
  d(this, lt, /* @__PURE__ */ c((i) => {
529
529
  var f, u;
530
- const e = t(this, I);
530
+ const e = t(this, _);
531
531
  if (!e || e <= 0) return;
532
532
  const s = t(this, P).data.length;
533
533
  if (s === 0) return;
@@ -540,13 +540,13 @@ const Ie = class Ie {
540
540
  const m = b.querySelector(".ng-part-body tbody.bindable-tbody");
541
541
  if (!m) return;
542
542
  Array.from(m.querySelectorAll("tr:not(.nodata)")).forEach((A, v) => {
543
- const M = o + Math.floor(v / r);
544
- if (M >= s) {
543
+ const I = o + Math.floor(v / r);
544
+ if (I >= s) {
545
545
  A.style.display = "none";
546
546
  return;
547
547
  }
548
- const R = t(this, P).data.get(M);
549
- A.style.display = "", t(this, qt).call(this, A, R, M);
548
+ const R = t(this, P).data.get(I);
549
+ A.style.display = "", t(this, qt).call(this, A, R, I);
550
550
  });
551
551
  });
552
552
  }, "#handleScroll"));
@@ -573,7 +573,7 @@ const Ie = class Ie {
573
573
  }, "#bindRowData"));
574
574
  d(this, Pt, /* @__PURE__ */ c(() => {
575
575
  var h, l, f;
576
- N.log("rowManager.#syncHeaderHeights");
576
+ M.log("rowManager.#syncHeaderHeights");
577
577
  const i = t(this, S).querySelector(".ng-container-left .ng-part-header table"), e = t(this, S).querySelector(".ng-container-body .ng-part-header table"), s = t(this, S).querySelector(".ng-container-right .ng-part-header table");
578
578
  if (!e) return;
579
579
  const r = i ? Array.from(i.querySelectorAll("tr")) : [], n = Array.from(e.querySelectorAll("tr")), o = s ? Array.from(s.querySelectorAll("tr")) : [], a = Math.max(r.length, n.length, o.length);
@@ -592,14 +592,14 @@ const Ie = class Ie {
592
592
  y(this, P, i.getRootNode().host), y(this, S, i), t(this, Dt).call(this);
593
593
  }
594
594
  getRowHeight() {
595
- return t(this, I);
595
+ return t(this, _);
596
596
  }
597
597
  templateLength(i = ".ng-container-body") {
598
598
  var e;
599
599
  return ((e = t(this, D).get(i)) == null ? void 0 : e.length) || 1;
600
600
  }
601
601
  };
602
- P = new WeakMap(), S = new WeakMap(), Q = new WeakMap(), D = new WeakMap(), I = new WeakMap(), V = new WeakMap(), tt = new WeakMap(), wt = new WeakMap(), Se = new WeakMap(), Ae = new WeakMap(), Wt = new WeakMap(), Ot = new WeakMap(), zt = new WeakMap(), St = new WeakMap(), At = new WeakMap(), Bt = new WeakMap(), Dt = new WeakMap(), Et = new WeakMap(), Ee = new WeakMap(), lt = new WeakMap(), qt = new WeakMap(), Pt = new WeakMap(), c(Ie, "RowManager");
602
+ P = new WeakMap(), S = new WeakMap(), Q = new WeakMap(), D = new WeakMap(), _ = new WeakMap(), V = new WeakMap(), tt = new WeakMap(), wt = new WeakMap(), Se = new WeakMap(), Ae = new WeakMap(), Wt = new WeakMap(), Ot = new WeakMap(), zt = new WeakMap(), St = new WeakMap(), At = new WeakMap(), Bt = new WeakMap(), Dt = new WeakMap(), Et = new WeakMap(), Ee = new WeakMap(), lt = new WeakMap(), qt = new WeakMap(), Pt = new WeakMap(), c(Ie, "RowManager");
603
603
  let ce = Ie;
604
604
  const jt = class jt {
605
605
  /**
@@ -653,8 +653,8 @@ const jt = class jt {
653
653
  A = z;
654
654
  break;
655
655
  }
656
- const M = v.rowSpan || 1, R = v.colSpan || 1;
657
- for (let z = 0; z < M; z++)
656
+ const I = v.rowSpan || 1, R = v.colSpan || 1;
657
+ for (let z = 0; z < I; z++)
658
658
  for (let yt = 0; yt < R; yt++)
659
659
  x + z < u && A + yt < g && (b[x + z][A + yt] = z === 0 && yt === 0 ? "1" : "0");
660
660
  });
@@ -943,7 +943,7 @@ const pt = class pt extends HTMLElement {
943
943
  t(this, Ut).call(this);
944
944
  }
945
945
  disconnectedCallback() {
946
- this.innerHTML = "", N.log("NineTableSheet destroyed.");
946
+ this.innerHTML = "", M.log("NineTableSheet destroyed.");
947
947
  }
948
948
  };
949
949
  Ft = new WeakMap(), et = new WeakMap(), st = new WeakMap(), Vt = new WeakMap(), Yt = new WeakMap(), ct = new WeakMap(), Ut = new WeakMap(), Xt = new WeakMap(), c(pt, "NineTableSheet"), E(pt, "SCROLLBAR_SIZE", 16);
@@ -1173,10 +1173,10 @@ const We = class We {
1173
1173
  };
1174
1174
  kt = new WeakMap(), ht = new WeakMap(), c(We, "ngRow");
1175
1175
  let ue = We;
1176
- var _, k, W, dt, Jt, Y, Qt, it, Ct, te, ee, ft;
1176
+ var N, k, W, dt, Jt, Y, Qt, it, Ct, te, ee, ft;
1177
1177
  const O = class O {
1178
1178
  constructor(i, e) {
1179
- d(this, _);
1179
+ d(this, N);
1180
1180
  d(this, k);
1181
1181
  d(this, W, []);
1182
1182
  d(this, dt, []);
@@ -1184,7 +1184,7 @@ const O = class O {
1184
1184
  d(this, Y, []);
1185
1185
  d(this, Qt, /* @__PURE__ */ c(() => {
1186
1186
  y(this, Y, []);
1187
- const i = t(this, _).template || [];
1187
+ const i = t(this, N).template || [];
1188
1188
  Array.from(i).forEach((e) => {
1189
1189
  var s;
1190
1190
  t(this, Y).push(((s = e.getBoundingClientRect) == null ? void 0 : s.call(e).height) || 24);
@@ -1193,8 +1193,8 @@ const O = class O {
1193
1193
  });
1194
1194
  }, "#initialize"));
1195
1195
  d(this, it, /* @__PURE__ */ c(() => {
1196
- const i = t(this, _).shadowRoot.querySelector("nine-table-sheets");
1197
- i == null || i.classList.toggle("nodata", this.length === 0), t(this, _).shadowRoot.querySelectorAll("nine-table-sheet").forEach((e) => {
1196
+ const i = t(this, N).shadowRoot.querySelector("nine-table-sheets");
1197
+ i == null || i.classList.toggle("nodata", this.length === 0), t(this, N).shadowRoot.querySelectorAll("nine-table-sheet").forEach((e) => {
1198
1198
  e.invalidate();
1199
1199
  });
1200
1200
  }, "#invalidate"));
@@ -1204,7 +1204,7 @@ const O = class O {
1204
1204
  if (!s || s.length <= 0) return;
1205
1205
  if (i == null) return t(this, ft).call(this, s);
1206
1206
  if (i < 0 || i >= s.length) return null;
1207
- const r = typeof ((n = t(this, _).fields) == null ? void 0 : n.get) == "function" ? t(this, _).fields.get() : [];
1207
+ const r = typeof ((n = t(this, N).fields) == null ? void 0 : n.get) == "function" ? t(this, N).fields.get() : [];
1208
1208
  if (e != null) {
1209
1209
  const o = r.indexOf(e);
1210
1210
  return o >= 0 ? s[i].v[o] : null;
@@ -1233,7 +1233,7 @@ const O = class O {
1233
1233
  d(this, te, /* @__PURE__ */ c((i) => {
1234
1234
  var r;
1235
1235
  Array.isArray(i) || (i = [i]);
1236
- const e = typeof ((r = t(this, _).fields) == null ? void 0 : r.get) == "function" ? t(this, _).fields.get() : Object.keys(i[0] || {}), s = [];
1236
+ const e = typeof ((r = t(this, N).fields) == null ? void 0 : r.get) == "function" ? t(this, N).fields.get() : Object.keys(i[0] || {}), s = [];
1237
1237
  return i.forEach((n) => {
1238
1238
  const o = { v: [] };
1239
1239
  e.forEach((a) => {
@@ -1268,7 +1268,7 @@ const O = class O {
1268
1268
  E(this, "setValue", /* @__PURE__ */ c((i, e, s) => {
1269
1269
  var h;
1270
1270
  i = parseInt(i, 10);
1271
- const n = (typeof ((h = t(this, _).fields) == null ? void 0 : h.get) == "function" ? t(this, _).fields.get() : []).indexOf(e);
1271
+ const n = (typeof ((h = t(this, N).fields) == null ? void 0 : h.get) == "function" ? t(this, N).fields.get() : []).indexOf(e);
1272
1272
  if (n < 0) return;
1273
1273
  const o = this.getValidData()[i];
1274
1274
  if (!o) return;
@@ -1286,7 +1286,7 @@ const O = class O {
1286
1286
  d(this, ft, /* @__PURE__ */ c((i) => {
1287
1287
  var o;
1288
1288
  if (!i) return i;
1289
- const e = !Array.isArray(i), s = e ? [i] : i, r = typeof ((o = t(this, _).fields) == null ? void 0 : o.get) == "function" ? t(this, _).fields.get() : [], n = s.filter((a) => !a.__ng.deleted).map((a) => {
1289
+ const e = !Array.isArray(i), s = e ? [i] : i, r = typeof ((o = t(this, N).fields) == null ? void 0 : o.get) == "function" ? t(this, N).fields.get() : [], n = s.filter((a) => !a.__ng.deleted).map((a) => {
1290
1290
  const h = {};
1291
1291
  return r.forEach((l, f) => {
1292
1292
  h[l] = a.v ? a.v[f] : a[l];
@@ -1295,7 +1295,7 @@ const O = class O {
1295
1295
  return e ? n[0] : n;
1296
1296
  }, "#conv"));
1297
1297
  E(this, "count", /* @__PURE__ */ c(() => this.getValidData().length, "count"));
1298
- y(this, _, i), y(this, k, e), t(this, Qt).call(this);
1298
+ y(this, N, i), y(this, k, e), t(this, Qt).call(this);
1299
1299
  }
1300
1300
  get source() {
1301
1301
  return t(this, ft).call(this, t(this, k).rawRecords);
@@ -1316,7 +1316,7 @@ const O = class O {
1316
1316
  return this.length;
1317
1317
  }
1318
1318
  };
1319
- _ = new WeakMap(), k = new WeakMap(), W = new WeakMap(), dt = new WeakMap(), Jt = new WeakMap(), Y = new WeakMap(), Qt = new WeakMap(), it = new WeakMap(), Ct = new WeakMap(), te = new WeakMap(), ee = new WeakMap(), ft = new WeakMap(), c(O, "ngData"), // 🎯 ν–‰ μƒνƒœ μ •μ˜ μƒμˆ˜λ₯Ό 클래슀 λ‚΄λΆ€λ‘œ λ‚΄μž¬ν™”
1319
+ N = new WeakMap(), k = new WeakMap(), W = new WeakMap(), dt = new WeakMap(), Jt = new WeakMap(), Y = new WeakMap(), Qt = new WeakMap(), it = new WeakMap(), Ct = new WeakMap(), te = new WeakMap(), ee = new WeakMap(), ft = new WeakMap(), c(O, "ngData"), // 🎯 ν–‰ μƒνƒœ μ •μ˜ μƒμˆ˜λ₯Ό 클래슀 λ‚΄λΆ€λ‘œ λ‚΄μž¬ν™”
1320
1320
  E(O, "ROW_STATE", {
1321
1321
  EMPTY: "EMPTY",
1322
1322
  NORMAL: "NORMAL",
@@ -1366,11 +1366,11 @@ const ze = class ze {
1366
1366
  }), y(this, L, Array.from(i, ([e, s]) => ({ name: e, type: s }))), y(this, L, t(this, L).filter((e) => e.name !== "" && e.name !== "__ng")), t(this, L).sort((e, s) => e.name.length < s.name.length ? 1 : -1);
1367
1367
  }, "#adjust"));
1368
1368
  d(this, se, /* @__PURE__ */ c(() => {
1369
- y(this, L, []), N.log(t(this, ut).querySelectorAll("table"));
1369
+ y(this, L, []), M.log(t(this, ut).querySelectorAll("table"));
1370
1370
  const i = Array.from(t(this, ut).querySelectorAll("table"));
1371
1371
  if (!(!i || i.length === 0)) {
1372
1372
  for (const e of i)
1373
- N.log(e), $("[data-bind]", e).each((s, r) => {
1373
+ M.log(e), $("[data-bind]", e).each((s, r) => {
1374
1374
  const n = r.dataset.bind, o = r.getAttribute("data-type") || "string";
1375
1375
  n && t(this, L).push({ name: n, type: o });
1376
1376
  }), ["data-expr", "background-color", "color", "tooltip", "visible", "readonly", "enable-button", "enable-check", "class-expr", "icon-color", "icon-src"].forEach((s) => {
@@ -1429,7 +1429,7 @@ const Be = class Be extends HTMLElement {
1429
1429
  d(this, nt);
1430
1430
  d(this, ie);
1431
1431
  d(this, re, /* @__PURE__ */ c(() => {
1432
- this.fields = new ye(this), y(this, ie, new fe(this)), N.log("NineTable connected."), this.dispatchEvent(new CustomEvent("load", { bubbles: !0, detail: { target: this } }));
1432
+ this.fields = new ye(this), y(this, ie, new fe(this)), M.log("NineTable connected."), this.dispatchEvent(new CustomEvent("load", { bubbles: !0, detail: { target: this } }));
1433
1433
  }, "#init"));
1434
1434
  this.attachShadow({ mode: "open" }), y(this, nt, new be(this));
1435
1435
  }
@@ -1437,7 +1437,7 @@ const Be = class Be extends HTMLElement {
1437
1437
  t(this, re).call(this);
1438
1438
  }
1439
1439
  disconnectedCallback() {
1440
- N.log("NineTable disconnected.");
1440
+ M.log("NineTable disconnected.");
1441
1441
  }
1442
1442
  // 🎯 μ™ΈλΆ€μ—μ„œ grid.data.set(...) ν˜•νƒœλ‘œ μ ‘κ·Όν•  수 μžˆλ„λ‘ 데이터 λ§€λ‹ˆμ € μ˜€ν”ˆ
1443
1443
  get data() {
@@ -1504,9 +1504,9 @@ const De = class De extends me {
1504
1504
  var e = ninegrid.j.querySelectorAll(t(this, p)).attr("suppress");
1505
1505
  if (e && (e = parseInt(e)), e && !isNaN(e)) {
1506
1506
  var s = t(this, p).closest("tr"), r = [];
1507
- $("th,td", s).each((v, M) => {
1508
- var R = ninegrid.j.querySelectorAll(M).attr("suppress");
1509
- R && M.dataset.row && (R = parseInt(R), !isNaN(R) && R <= e && r.push(R));
1507
+ $("th,td", s).each((v, I) => {
1508
+ var R = ninegrid.j.querySelectorAll(I).attr("suppress");
1509
+ R && I.dataset.row && (R = parseInt(R), !isNaN(R) && R <= e && r.push(R));
1510
1510
  }), r.sort();
1511
1511
  var n = !1;
1512
1512
  if (parseInt(s.sectionRowIndex / t(this, C).template.length) > 0)