@ninebone/table 0.0.299 β†’ 0.0.301

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.
@@ -23,12 +23,12 @@ const Vt = class Vt extends ne.constructor {
23
23
  a(Vt, "Trace");
24
24
  let Mt = Vt;
25
25
  const _ = new Mt();
26
- var C, I, p, D, P, B, ct, N, ht;
26
+ var C, $, p, D, P, B, ct, N, ht;
27
27
  const Yt = class Yt extends HTMLElement {
28
28
  constructor() {
29
29
  super();
30
30
  h(this, C);
31
- h(this, I, !1);
31
+ h(this, $, !1);
32
32
  h(this, p);
33
33
  h(this, D);
34
34
  h(this, P);
@@ -41,7 +41,7 @@ const Yt = class Yt extends HTMLElement {
41
41
  })), t(this, B).observe(e));
42
42
  }, "#observeResize"));
43
43
  S(this, "refresh", /* @__PURE__ */ a(() => {
44
- if (!t(this, C) || !t(this, p) || t(this, I)) return;
44
+ if (!t(this, C) || !t(this, p) || t(this, $)) return;
45
45
  const e = t(this, p).container, s = e.querySelector("table");
46
46
  if (!s) return;
47
47
  const n = t(this, p).track, o = t(this, p).thumb, r = t(this, C).querySelector(".ng-container-bottom"), l = e.clientWidth, c = s.scrollWidth;
@@ -99,13 +99,13 @@ const Yt = class Yt extends HTMLElement {
99
99
  t(this, N).call(this, n.clientX - o.left - r / 2);
100
100
  }), t(this, p).thumb.addEventListener("mousedown", (n) => {
101
101
  if (n.button !== 0) return;
102
- n.stopPropagation(), n.preventDefault(), b(this, I, !0), this.shiftX = n.clientX - t(this, p).thumb.getBoundingClientRect().left;
102
+ n.stopPropagation(), n.preventDefault(), b(this, $, !0), this.shiftX = n.clientX - t(this, p).thumb.getBoundingClientRect().left;
103
103
  const o = /* @__PURE__ */ a((l) => {
104
- if (!t(this, I)) return;
104
+ if (!t(this, $)) return;
105
105
  const c = t(this, p).track.getBoundingClientRect();
106
106
  t(this, N).call(this, l.clientX - c.left - this.shiftX);
107
107
  }, "onMouseMove"), r = /* @__PURE__ */ a(() => {
108
- b(this, I, !1), s(), document.removeEventListener("mousemove", o), document.removeEventListener("mouseup", r), this.refresh();
108
+ b(this, $, !1), s(), document.removeEventListener("mousemove", o), document.removeEventListener("mouseup", r), this.refresh();
109
109
  }, "onMouseUp");
110
110
  document.addEventListener("mousemove", o), document.addEventListener("mouseup", r);
111
111
  });
@@ -189,7 +189,7 @@ const Yt = class Yt extends HTMLElement {
189
189
  left: this.querySelector(".ng-scroll-left"),
190
190
  right: this.querySelector(".ng-scroll-right")
191
191
  }), s.addEventListener("scroll", () => {
192
- t(this, I) || this.refresh();
192
+ t(this, $) || this.refresh();
193
193
  }), t(this, ht).call(this), t(this, ct).call(this), this.refresh();
194
194
  }, "initWhenReady");
195
195
  e();
@@ -198,15 +198,15 @@ const Yt = class Yt extends HTMLElement {
198
198
  t(this, B) && t(this, B).disconnect();
199
199
  }
200
200
  };
201
- C = new WeakMap(), I = new WeakMap(), p = new WeakMap(), D = new WeakMap(), P = new WeakMap(), B = new WeakMap(), ct = new WeakMap(), N = new WeakMap(), ht = new WeakMap(), a(Yt, "NineTableHScrollBar");
201
+ C = new WeakMap(), $ = new WeakMap(), p = new WeakMap(), D = new WeakMap(), P = new WeakMap(), B = new WeakMap(), ct = new WeakMap(), N = new WeakMap(), ht = new WeakMap(), a(Yt, "NineTableHScrollBar");
202
202
  let _t = Yt;
203
203
  customElements.get("nine-table-hscrollbar") || customElements.define("nine-table-hscrollbar", _t);
204
- var V, $, E, tt, et, dt;
204
+ var V, I, E, tt, et, dt;
205
205
  const Xt = class Xt extends HTMLElement {
206
206
  constructor() {
207
207
  super();
208
208
  h(this, V);
209
- h(this, $, !1);
209
+ h(this, I, !1);
210
210
  h(this, E);
211
211
  h(this, tt, 0);
212
212
  h(this, et, 0);
@@ -214,7 +214,7 @@ const Xt = class Xt extends HTMLElement {
214
214
  * 🎯 μŠ€ν¬λ‘€λ°” μœ„μΉ˜ 및 썸브 크기 κ°±μ‹ 
215
215
  */
216
216
  S(this, "refresh", /* @__PURE__ */ a(() => {
217
- if (!t(this, V) || !t(this, E) || t(this, $)) return;
217
+ if (!t(this, V) || !t(this, E) || t(this, I)) return;
218
218
  const e = t(this, E).container, s = e.querySelector("table");
219
219
  if (!s) return;
220
220
  const n = t(this, E).track, o = t(this, E).thumb, r = e.clientHeight, l = s.scrollHeight;
@@ -236,12 +236,12 @@ const Xt = class Xt extends HTMLElement {
236
236
  h(this, dt, /* @__PURE__ */ a(() => {
237
237
  const e = t(this, E).container;
238
238
  e.addEventListener("scroll", () => {
239
- t(this, $) || this.refresh();
239
+ t(this, I) || this.refresh();
240
240
  }), t(this, E).thumb.addEventListener("mousedown", (s) => {
241
241
  if (s.button !== 0) return;
242
- s.stopPropagation(), s.preventDefault(), b(this, $, !0), b(this, tt, s.clientY), b(this, et, e.scrollTop);
242
+ s.stopPropagation(), s.preventDefault(), b(this, I, !0), b(this, tt, s.clientY), b(this, et, e.scrollTop);
243
243
  const n = /* @__PURE__ */ a((r) => {
244
- if (!t(this, $)) return;
244
+ if (!t(this, I)) return;
245
245
  const l = t(this, E).track.getBoundingClientRect(), c = t(this, E).thumb.clientHeight, u = l.height - c, f = r.clientY - t(this, tt), g = e.clientHeight, w = table.scrollHeight - g;
246
246
  if (u > 0 && w > 0) {
247
247
  const L = f / u * w;
@@ -249,7 +249,7 @@ const Xt = class Xt extends HTMLElement {
249
249
  }
250
250
  this.refresh();
251
251
  }, "onMouseMove"), o = /* @__PURE__ */ a(() => {
252
- b(this, $, !1), document.removeEventListener("mousemove", n), document.removeEventListener("mouseup", o), this.refresh();
252
+ b(this, I, !1), document.removeEventListener("mousemove", n), document.removeEventListener("mouseup", o), this.refresh();
253
253
  }, "onMouseUp");
254
254
  document.addEventListener("mousemove", n), document.addEventListener("mouseup", o);
255
255
  }), t(this, E).track.addEventListener("mousedown", (s) => {
@@ -349,10 +349,10 @@ const Xt = class Xt extends HTMLElement {
349
349
  e();
350
350
  }
351
351
  };
352
- V = new WeakMap(), $ = new WeakMap(), E = new WeakMap(), tt = new WeakMap(), et = new WeakMap(), dt = new WeakMap(), a(Xt, "NineTableVScrollBar");
353
- let It = Xt;
354
- customElements.get("nine-table-vscrollbar") || customElements.define("nine-table-vscrollbar", It);
355
- var ft, F;
352
+ V = new WeakMap(), I = new WeakMap(), E = new WeakMap(), tt = new WeakMap(), et = new WeakMap(), dt = new WeakMap(), a(Xt, "NineTableVScrollBar");
353
+ let $t = Xt;
354
+ customElements.get("nine-table-vscrollbar") || customElements.define("nine-table-vscrollbar", $t);
355
+ var ft, j;
356
356
  const H = class H {
357
357
  /**
358
358
  * 🎯 λ ˆμ΄μ•„μ›ƒ λ‚΄μ˜ μ—¬λŸ¬ rawTables 배열을 μΌκ΄„λ‘œ λ°›μ•„ 단일 λ§ˆμŠ€ν„° ν…œν”Œλ¦ΏμœΌλ‘œ 사전 μ»΄νŒŒμΌν•©λ‹ˆλ‹€.
@@ -367,7 +367,7 @@ const H = class H {
367
367
  var n, o, r, l;
368
368
  if (!i) return null;
369
369
  const e = i.cloneNode(!0);
370
- return t(n = H, ft).call(n, e), t(o = H, F).call(o, e, "thead"), t(r = H, F).call(r, e, "tbody"), t(l = H, F).call(l, e, "tfoot"), Array.from(e.querySelectorAll("colgroup col")).forEach((c, d) => {
370
+ return t(n = H, ft).call(n, e), t(o = H, j).call(o, e, "thead"), t(r = H, j).call(r, e, "tbody"), t(l = H, j).call(l, e, "tfoot"), Array.from(e.querySelectorAll("colgroup col")).forEach((c, d) => {
371
371
  const u = c.getAttribute("fixed");
372
372
  u && e.querySelectorAll(`thead [data-col="${d}"], tbody [data-col="${d}"], tfoot [data-col="${d}"]`).forEach((f) => {
373
373
  f.setAttribute("fixed", u);
@@ -375,7 +375,7 @@ const H = class H {
375
375
  }), e;
376
376
  }
377
377
  };
378
- ft = new WeakMap(), F = new WeakMap(), a(H, "TableCompiler"), h(H, ft, /* @__PURE__ */ a((i) => {
378
+ ft = new WeakMap(), j = new WeakMap(), a(H, "TableCompiler"), h(H, ft, /* @__PURE__ */ a((i) => {
379
379
  if (!i.querySelector("colgroup")) {
380
380
  const e = i.querySelector("tbody tr") || i.querySelector("tr"), s = e ? e.querySelectorAll("th, td").length : 1, n = document.createElement("colgroup"), o = Math.max(Math.floor(i.clientWidth / s), 100);
381
381
  for (let r = 0; r < s; r++) {
@@ -389,7 +389,7 @@ ft = new WeakMap(), F = new WeakMap(), a(H, "TableCompiler"), h(H, ft, /* @__PUR
389
389
  s ? s.after(e) : i.prepend(e);
390
390
  }
391
391
  i.classList.add("nine-table-element"), i.style.display = "table";
392
- }, "#ensureTableStructure")), h(H, F, /* @__PURE__ */ a((i, e) => {
392
+ }, "#ensureTableStructure")), h(H, j, /* @__PURE__ */ a((i, e) => {
393
393
  const s = Array.from(i.querySelectorAll(e + " tr")), n = Array.from(i.querySelectorAll(e + " th," + e + " td")), o = s.length;
394
394
  if (o === 0 || n.length === 0) return;
395
395
  let r = 0;
@@ -422,7 +422,7 @@ ft = new WeakMap(), F = new WeakMap(), a(H, "TableCompiler"), h(H, ft, /* @__PUR
422
422
  });
423
423
  });
424
424
  }, "#resetColIndex"));
425
- let $t = H;
425
+ let It = H;
426
426
  var x, M, R, W, Y, X, ut, gt, bt, it, pt, yt, st, nt, mt;
427
427
  const Ut = class Ut {
428
428
  constructor(i) {
@@ -586,13 +586,16 @@ const Ut = class Ut {
586
586
  });
587
587
  });
588
588
  }, "#handleScroll"));
589
+ /**
590
+ * 🎯 κ°œλ³„ TR μ—˜λ¦¬λ¨ΌνŠΈμ— μ‹€μ œ 데이터 값을 κ½‚μ•„μ£ΌλŠ” 바인딩 λ©”μ„œλ“œ
591
+ */
589
592
  /**
590
593
  * 🎯 κ°œλ³„ TR μ—˜λ¦¬λ¨ΌνŠΈμ— μ‹€μ œ 데이터 값을 κ½‚μ•„μ£ΌλŠ” 바인딩 λ©”μ„œλ“œ
591
594
  */
592
595
  h(this, mt, /* @__PURE__ */ a((i, e, s) => {
593
- i.dataset.row = s, Array.from(i.cells).forEach((n) => {
594
- const o = n.dataset.bind;
595
- o && e[o] !== void 0 && (n.textContent = e[o]), n.dataset.row = s;
596
+ i.dataset.row = s, Array.from(i.cells).forEach((n, o) => {
597
+ const r = n.dataset.bind;
598
+ r && e && e[r] !== void 0 ? n.textContent = e[r] : n.textContent = e ? e[Object.keys(e)[o]] ?? `R${s}C${o}` : `ν–‰ ${s + 1}`, n.dataset.row = s;
596
599
  });
597
600
  }, "#bindRowData"));
598
601
  S(this, "destroy", /* @__PURE__ */ a(() => {
@@ -610,12 +613,12 @@ const Ut = class Ut {
610
613
  };
611
614
  x = new WeakMap(), M = new WeakMap(), R = new WeakMap(), W = new WeakMap(), Y = new WeakMap(), X = new WeakMap(), ut = new WeakMap(), gt = new WeakMap(), bt = new WeakMap(), it = new WeakMap(), pt = new WeakMap(), yt = new WeakMap(), st = new WeakMap(), nt = new WeakMap(), mt = new WeakMap(), a(Ut, "RowManager");
612
615
  let Wt = Ut;
613
- var Z, j, xt, vt, wt, St, Et;
616
+ var F, Z, xt, vt, wt, St, Et;
614
617
  const Q = class Q extends HTMLElement {
615
618
  constructor() {
616
619
  super();
617
- h(this, Z, null);
618
- h(this, j);
620
+ h(this, F, null);
621
+ h(this, Z);
619
622
  h(this, xt, /* @__PURE__ */ a(() => {
620
623
  [
621
624
  { selector: ".ng-container-body", type: null },
@@ -624,7 +627,7 @@ const Q = class Q extends HTMLElement {
624
627
  ].forEach(({ selector: s, type: n }) => {
625
628
  const o = this.querySelector(s);
626
629
  if (!o) return;
627
- const r = t(this, wt).call(this, t(this, Z), n);
630
+ const r = t(this, wt).call(this, t(this, F), n);
628
631
  o.innerHTML = "", o.appendChild(r);
629
632
  });
630
633
  }, "#renderSplitContainers"));
@@ -640,7 +643,7 @@ const Q = class Q extends HTMLElement {
640
643
  });
641
644
  }, "#updateContainerWidths"));
642
645
  S(this, "generate", /* @__PURE__ */ a((e) => {
643
- e && (b(this, Z, $t.compile(e)), t(this, Z).style.display = "table", t(this, xt).call(this), t(this, vt).call(this), t(this, j).initialize(), setTimeout(() => {
646
+ e && (b(this, F, It.compile(e)), t(this, F).style.display = "table", t(this, xt).call(this), t(this, vt).call(this), t(this, Z).initialize(), setTimeout(() => {
644
647
  var s;
645
648
  (s = this.querySelector("nine-table-hscrollbar")) == null || s.refresh();
646
649
  }, 0));
@@ -658,7 +661,7 @@ const Q = class Q extends HTMLElement {
658
661
  o.remove();
659
662
  }), n;
660
663
  }, "#createSplitTable"));
661
- S(this, "getRowHeight", /* @__PURE__ */ a(() => t(this, j).getRowHeight(), "getRowHeight"));
664
+ S(this, "getRowHeight", /* @__PURE__ */ a(() => t(this, Z).getRowHeight(), "getRowHeight"));
662
665
  S(this, "scrollToX", /* @__PURE__ */ a((e) => {
663
666
  const s = this.querySelector(".ng-container-body");
664
667
  s && (s.scrollLeft = e);
@@ -807,7 +810,7 @@ const Q = class Q extends HTMLElement {
807
810
  </div>
808
811
  `;
809
812
  }, "#render"));
810
- b(this, j, new Wt(this));
813
+ b(this, Z, new Wt(this));
811
814
  }
812
815
  connectedCallback() {
813
816
  t(this, St).call(this);
@@ -816,7 +819,7 @@ const Q = class Q extends HTMLElement {
816
819
  this.innerHTML = "", _.log("NineTableSheet destroyed.");
817
820
  }
818
821
  };
819
- Z = new WeakMap(), j = new WeakMap(), xt = new WeakMap(), vt = new WeakMap(), wt = new WeakMap(), St = new WeakMap(), Et = new WeakMap(), a(Q, "NineTableSheet"), S(Q, "SCROLLBAR_SIZE", 16);
822
+ F = new WeakMap(), Z = new WeakMap(), xt = new WeakMap(), vt = new WeakMap(), wt = new WeakMap(), St = new WeakMap(), Et = new WeakMap(), a(Q, "NineTableSheet"), S(Q, "SCROLLBAR_SIZE", 16);
820
823
  let at = Q;
821
824
  customElements.get("nine-table-sheet") || customElements.define("nine-table-sheet", at);
822
825
  var Rt, ot;
@@ -868,10 +871,10 @@ const Kt = class Kt extends HTMLElement {
868
871
  }
869
872
  };
870
873
  Rt = new WeakMap(), ot = new WeakMap(), a(Kt, "NineTableSheets");
871
- let zt = Kt;
872
- customElements.get("nine-table-sheets") || customElements.define("nine-table-sheets", zt);
874
+ let Ot = Kt;
875
+ customElements.get("nine-table-sheets") || customElements.define("nine-table-sheets", Ot);
873
876
  var T, Tt, rt, kt;
874
- const Ft = class Ft {
877
+ const jt = class jt {
875
878
  constructor(i) {
876
879
  h(this, T);
877
880
  h(this, Tt, /* @__PURE__ */ a(() => {
@@ -1001,15 +1004,15 @@ const Ft = class Ft {
1001
1004
  b(this, T, i), t(this, Tt).call(this);
1002
1005
  }
1003
1006
  };
1004
- T = new WeakMap(), Tt = new WeakMap(), rt = new WeakMap(), kt = new WeakMap(), a(Ft, "LayoutManager");
1005
- let Ot = Ft;
1006
- var z, U;
1007
- const Zt = class Zt {
1007
+ T = new WeakMap(), Tt = new WeakMap(), rt = new WeakMap(), kt = new WeakMap(), a(jt, "LayoutManager");
1008
+ let zt = jt;
1009
+ var O, U;
1010
+ const Ft = class Ft {
1008
1011
  constructor(i) {
1009
- h(this, z);
1012
+ h(this, O);
1010
1013
  h(this, U, -1);
1011
- S(this, "count", /* @__PURE__ */ a(() => t(this, z).rawRecords.length, "count"));
1012
- b(this, z, i);
1014
+ S(this, "count", /* @__PURE__ */ a(() => t(this, O).rawRecords.length, "count"));
1015
+ b(this, O, i);
1013
1016
  }
1014
1017
  get at() {
1015
1018
  return t(this, U);
@@ -1017,16 +1020,16 @@ const Zt = class Zt {
1017
1020
  set at(i) {
1018
1021
  var s, n;
1019
1022
  b(this, U, parseInt(i, 10));
1020
- const e = ((n = (s = t(this, z).owner).querySelector) == null ? void 0 : n.call(s, ".ng-container-body")) || t(this, z).owner.body;
1023
+ const e = ((n = (s = t(this, O).owner).querySelector) == null ? void 0 : n.call(s, ".ng-container-body")) || t(this, O).owner.body;
1021
1024
  e && !e.querySelector(`tbody.bindable tr[data-row="${t(this, U)}"]`) && setTimeout(() => {
1022
1025
  var o, r;
1023
- (r = (o = t(this, z).owner).scrollTo_V1) == null || r.call(o, t(this, U));
1026
+ (r = (o = t(this, O).owner).scrollTo_V1) == null || r.call(o, t(this, U));
1024
1027
  });
1025
1028
  }
1026
1029
  };
1027
- z = new WeakMap(), U = new WeakMap(), a(Zt, "ngRow");
1028
- let Dt = Zt;
1029
- var k, v, A, G, At, O, qt, lt, Lt, Ht, J;
1030
+ O = new WeakMap(), U = new WeakMap(), a(Ft, "ngRow");
1031
+ let Dt = Ft;
1032
+ var k, v, A, G, At, z, qt, lt, Lt, Ht, J;
1030
1033
  const q = class q {
1031
1034
  constructor(i, e) {
1032
1035
  h(this, k);
@@ -1034,15 +1037,15 @@ const q = class q {
1034
1037
  h(this, A, []);
1035
1038
  h(this, G, []);
1036
1039
  h(this, At, 0);
1037
- h(this, O, []);
1040
+ h(this, z, []);
1038
1041
  h(this, qt, /* @__PURE__ */ a(() => {
1039
- b(this, O, []);
1042
+ b(this, z, []);
1040
1043
  const i = t(this, k).template || [];
1041
1044
  Array.from(i).forEach((e) => {
1042
1045
  var s;
1043
- t(this, O).push(((s = e.getBoundingClientRect) == null ? void 0 : s.call(e).height) || 24);
1046
+ t(this, z).push(((s = e.getBoundingClientRect) == null ? void 0 : s.call(e).height) || 24);
1044
1047
  }), (t(this, v).rawRecords || []).forEach((e) => {
1045
- e.__ng || (e.__ng = t(this, lt).call(this)), e.__ng.height = t(this, O).slice();
1048
+ e.__ng || (e.__ng = t(this, lt).call(this)), e.__ng.height = t(this, z).slice();
1046
1049
  });
1047
1050
  }, "#initialize"));
1048
1051
  S(this, "set", /* @__PURE__ */ a((i) => {
@@ -1052,10 +1055,10 @@ const q = class q {
1052
1055
  rowState: q.ROW_STATE.EMPTY,
1053
1056
  deleted: !1,
1054
1057
  filtered: !1,
1055
- height: t(this, O).slice(),
1058
+ height: t(this, z).slice(),
1056
1059
  o: {},
1057
1060
  c: {},
1058
- _: [0, 0, 0, 0, q.ROW_STATE.EMPTY, !1, !1, !0, !1, !0, !0, !1, t(this, O).slice(), -1, {}, {}]
1061
+ _: [0, 0, 0, 0, q.ROW_STATE.EMPTY, !1, !1, !0, !1, !0, !0, !1, t(this, z).slice(), -1, {}, {}]
1059
1062
  }), "#getDefaultMeta"));
1060
1063
  S(this, "reset", /* @__PURE__ */ a(() => {
1061
1064
  b(this, A, []), b(this, G, []);
@@ -1162,7 +1165,7 @@ const q = class q {
1162
1165
  return this.length;
1163
1166
  }
1164
1167
  };
1165
- k = new WeakMap(), v = new WeakMap(), A = new WeakMap(), G = new WeakMap(), At = new WeakMap(), O = new WeakMap(), qt = new WeakMap(), lt = new WeakMap(), Lt = new WeakMap(), Ht = new WeakMap(), J = new WeakMap(), a(q, "ngData"), // 🎯 ν–‰ μƒνƒœ μ •μ˜ μƒμˆ˜λ₯Ό 클래슀 λ‚΄λΆ€λ‘œ λ‚΄μž¬ν™”
1168
+ k = new WeakMap(), v = new WeakMap(), A = new WeakMap(), G = new WeakMap(), At = new WeakMap(), z = new WeakMap(), qt = new WeakMap(), lt = new WeakMap(), Lt = new WeakMap(), Ht = new WeakMap(), J = new WeakMap(), a(q, "ngData"), // 🎯 ν–‰ μƒνƒœ μ •μ˜ μƒμˆ˜λ₯Ό 클래슀 λ‚΄λΆ€λ‘œ λ‚΄μž¬ν™”
1166
1169
  S(q, "ROW_STATE", {
1167
1170
  EMPTY: "EMPTY",
1168
1171
  NORMAL: "NORMAL",
@@ -1171,7 +1174,7 @@ S(q, "ROW_STATE", {
1171
1174
  DELETE: "DELETE"
1172
1175
  });
1173
1176
  let Pt = q;
1174
- const jt = class jt {
1177
+ const Zt = class Zt {
1175
1178
  constructor(i) {
1176
1179
  this.owner = i, this.row = new Dt(this), this.data = new Pt(i, this), this.rawRecords = [], this.viewRecords = [], this.delRecords = [], this.pageCnt = 25, this.viewRecords.reset = () => {
1177
1180
  var e;
@@ -1190,8 +1193,8 @@ const jt = class jt {
1190
1193
  }, this.setDataSource([]);
1191
1194
  }
1192
1195
  };
1193
- a(jt, "ngDataManager");
1194
- let Bt = jt;
1196
+ a(Zt, "ngDataManager");
1197
+ let Bt = Zt;
1195
1198
  var K, Ct;
1196
1199
  const Gt = class Gt extends HTMLElement {
1197
1200
  constructor() {
@@ -1202,7 +1205,7 @@ const Gt = class Gt extends HTMLElement {
1202
1205
  this.attachShadow({ mode: "open" }), b(this, K, new Bt(this));
1203
1206
  }
1204
1207
  connectedCallback() {
1205
- b(this, Ct, new Ot(this)), _.log("NineTable connected."), this.dispatchEvent(new CustomEvent("load", { bubbles: !0, detail: { target: this } }));
1208
+ b(this, Ct, new zt(this)), _.log("NineTable connected."), this.dispatchEvent(new CustomEvent("load", { bubbles: !0, detail: { target: this } }));
1206
1209
  }
1207
1210
  disconnectedCallback() {
1208
1211
  _.log("NineTable disconnected.");