@ninebone/table 0.0.763 β†’ 0.0.765

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.
@@ -4,8 +4,8 @@ var us = (T) => {
4
4
  };
5
5
  var ys = (T, s, e) => s in T ? fs(T, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : T[s] = e;
6
6
  var h = (T, s) => fs(T, "name", { value: s, configurable: !0 });
7
- var q = (T, s, e) => ys(T, typeof s != "symbol" ? s + "" : s, e), we = (T, s, e) => s.has(T) || us("Cannot " + e);
8
- var t = (T, s, e) => (we(T, s, "read from private field"), e ? e.call(T) : s.get(T)), d = (T, s, e) => s.has(T) ? us("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(T) : s.set(T, e), p = (T, s, e, n) => (we(T, s, "write to private field"), n ? n.call(T, e) : s.set(T, e), e), Q = (T, s, e) => (we(T, s, "access private method"), e);
7
+ var q = (T, s, e) => ys(T, typeof s != "symbol" ? s + "" : s, e), xe = (T, s, e) => s.has(T) || us("Cannot " + e);
8
+ var t = (T, s, e) => (xe(T, s, "read from private field"), e ? e.call(T) : s.get(T)), d = (T, s, e) => s.has(T) ? us("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(T) : s.set(T, e), p = (T, s, e, n) => (xe(T, s, "write to private field"), n ? n.call(T, e) : s.set(T, e), e), Q = (T, s, e) => (xe(T, s, "access private method"), e);
9
9
  var gs = (T, s, e, n) => ({
10
10
  set _(r) {
11
11
  p(T, s, r, e);
@@ -21,9 +21,9 @@ const Xe = class Xe extends ms.constructor {
21
21
  }
22
22
  };
23
23
  h(Xe, "Trace");
24
- let ve = Xe;
25
- const S = new ve();
26
- var B, K, E, tt, et, st, Vt, nt, Ut;
24
+ let we = Xe;
25
+ const S = new we();
26
+ var B, K, E, tt, et, st, Yt, nt, Vt;
27
27
  const Ke = class Ke extends HTMLElement {
28
28
  constructor() {
29
29
  super();
@@ -33,7 +33,7 @@ const Ke = class Ke extends HTMLElement {
33
33
  d(this, tt);
34
34
  d(this, et);
35
35
  d(this, st);
36
- d(this, Vt, /* @__PURE__ */ h(() => {
36
+ d(this, Yt, /* @__PURE__ */ h(() => {
37
37
  if (!t(this, B)) return;
38
38
  const e = t(this, B).querySelector(".ng-container-body .ng-part-body");
39
39
  e && (p(this, st, new ResizeObserver(() => {
@@ -73,7 +73,7 @@ const Ke = class Ke extends HTMLElement {
73
73
  const l = n.clientWidth, u = r.scrollWidth - l;
74
74
  return c > 0 && u > 0 && (n.scrollLeft = a / c * u), a > 0 && a < c - 1;
75
75
  }, "#thumbMoveTo"));
76
- d(this, Ut, /* @__PURE__ */ h(() => {
76
+ d(this, Vt, /* @__PURE__ */ h(() => {
77
77
  const e = /* @__PURE__ */ h((r) => {
78
78
  clearInterval(t(this, tt)), clearInterval(t(this, et));
79
79
  const o = parseInt(t(this, E).thumb.style.left || 0, 10);
@@ -190,7 +190,7 @@ const Ke = class Ke extends HTMLElement {
190
190
  right: this.querySelector(".ng-scroll-right")
191
191
  }), n.addEventListener("scroll", () => {
192
192
  t(this, K) || this.refresh();
193
- }), t(this, Ut).call(this), t(this, Vt).call(this), this.refresh();
193
+ }), t(this, Vt).call(this), t(this, Yt).call(this), this.refresh();
194
194
  }, "initWhenReady");
195
195
  e();
196
196
  }
@@ -198,10 +198,10 @@ const Ke = class Ke extends HTMLElement {
198
198
  t(this, st) && t(this, st).disconnect();
199
199
  }
200
200
  };
201
- B = new WeakMap(), K = new WeakMap(), E = new WeakMap(), tt = new WeakMap(), et = new WeakMap(), st = new WeakMap(), Vt = new WeakMap(), nt = new WeakMap(), Ut = new WeakMap(), h(Ke, "NineTableHScrollBar");
202
- let Se = Ke;
203
- customElements.get("nine-table-hscrollbar") || customElements.define("nine-table-hscrollbar", Se);
204
- var rt, ot, bt, k, Tt, Ct, Xt;
201
+ B = new WeakMap(), K = new WeakMap(), E = new WeakMap(), tt = new WeakMap(), et = new WeakMap(), st = new WeakMap(), Yt = new WeakMap(), nt = new WeakMap(), Vt = new WeakMap(), h(Ke, "NineTableHScrollBar");
202
+ let ve = Ke;
203
+ customElements.get("nine-table-hscrollbar") || customElements.define("nine-table-hscrollbar", ve);
204
+ var rt, ot, bt, k, Tt, Ct, Ut;
205
205
  const Ge = class Ge extends HTMLElement {
206
206
  constructor() {
207
207
  super();
@@ -230,7 +230,7 @@ const Ge = class Ge extends HTMLElement {
230
230
  const y = l - f;
231
231
  g < 0 && (g = 0), g > y && (g = y), r.style.top = `${g}px`, t(this, k).top.disabled = u <= 0, t(this, k).bottom.disabled = u >= b - 1;
232
232
  }, "refresh"));
233
- d(this, Xt, /* @__PURE__ */ h(() => {
233
+ d(this, Ut, /* @__PURE__ */ h(() => {
234
234
  S.log("nine-table-vscrollbar.#init");
235
235
  const e = t(this, k).container, n = /* @__PURE__ */ h(() => {
236
236
  const o = (t(this, rt).data.get() || []).length, i = t(this, ot).getRowHeight();
@@ -345,15 +345,15 @@ const Ge = class Ge extends HTMLElement {
345
345
  thumb: this.querySelector(".ng-scroll-thumb"),
346
346
  top: this.querySelector(".ng-scroll-top"),
347
347
  bottom: this.querySelector(".ng-scroll-bottom")
348
- }), t(this, Xt).call(this), this.refresh();
348
+ }), t(this, Ut).call(this), this.refresh();
349
349
  }, "initWhenReady");
350
350
  e();
351
351
  }
352
352
  };
353
- rt = new WeakMap(), ot = new WeakMap(), bt = new WeakMap(), k = new WeakMap(), Tt = new WeakMap(), Ct = new WeakMap(), Xt = new WeakMap(), h(Ge, "NineTableVScrollBar");
354
- let Re = Ge;
355
- customElements.get("nine-table-vscrollbar") || customElements.define("nine-table-vscrollbar", Re);
356
- var j, R, it, P, D, G, at, kt, We, ze, Kt, Gt, Lt, It, Ht, Zt, Jt, $t, Be, pt, Mt, Qt;
353
+ rt = new WeakMap(), ot = new WeakMap(), bt = new WeakMap(), k = new WeakMap(), Tt = new WeakMap(), Ct = new WeakMap(), Ut = new WeakMap(), h(Ge, "NineTableVScrollBar");
354
+ let Se = Ge;
355
+ customElements.get("nine-table-vscrollbar") || customElements.define("nine-table-vscrollbar", Se);
356
+ var j, R, it, P, D, G, at, kt, Oe, We, Xt, Kt, Lt, It, Ht, Gt, Zt, $t, ze, pt, Mt, Jt;
357
357
  const Ze = class Ze {
358
358
  constructor(s) {
359
359
  d(this, j);
@@ -364,10 +364,10 @@ const Ze = class Ze {
364
364
  d(this, G, null);
365
365
  d(this, at, 0);
366
366
  d(this, kt, 40);
367
+ d(this, Oe, !1);
367
368
  d(this, We, !1);
368
- d(this, ze, !1);
369
369
  //#ticking = false; // 🎯 고속 슀크둀 μŠ€λ‘œν‹€λ§μš© ν”Œλž˜κ·Έ
370
- d(this, Kt, 3);
370
+ d(this, Xt, 3);
371
371
  q(this, "refresh", /* @__PURE__ */ h(() => {
372
372
  var e;
373
373
  S.log("rowManager.refresh");
@@ -406,7 +406,7 @@ const Ze = class Ze {
406
406
  });
407
407
  }
408
408
  }, "initialize"));
409
- d(this, Gt, /* @__PURE__ */ h((s, e) => {
409
+ d(this, Kt, /* @__PURE__ */ h((s, e) => {
410
410
  S.log("rowManager.#renderRows");
411
411
  const n = t(this, P).get(e);
412
412
  if (!n || n.length === 0) return;
@@ -460,10 +460,10 @@ const Ze = class Ze {
460
460
  d(this, Ht, /* @__PURE__ */ h(() => {
461
461
  if (t(this, at) > 0 && t(this, D) > 0) {
462
462
  const s = Math.ceil(t(this, at) / t(this, D));
463
- p(this, kt, s + t(this, Kt));
463
+ p(this, kt, s + t(this, Xt));
464
464
  }
465
465
  }, "#updateRowCount"));
466
- d(this, Zt, /* @__PURE__ */ h(() => {
466
+ d(this, Gt, /* @__PURE__ */ h(() => {
467
467
  var a, c, l, f, u, b;
468
468
  const s = t(this, R).querySelector(".ng-container-left .ng-part-body table"), e = t(this, R).querySelector(".ng-container-body .ng-part-body table"), n = t(this, R).querySelector(".ng-container-right .ng-part-body table");
469
469
  if (e) {
@@ -490,7 +490,7 @@ const Ze = class Ze {
490
490
  }
491
491
  }
492
492
  }, "#syncRowHeights"));
493
- d(this, Jt, /* @__PURE__ */ h(() => {
493
+ d(this, Zt, /* @__PURE__ */ h(() => {
494
494
  !t(this, R) || !(t(this, R) instanceof HTMLElement) || (p(this, G, new ResizeObserver((s) => {
495
495
  for (const e of s) {
496
496
  const n = e.target;
@@ -509,10 +509,10 @@ const Ze = class Ze {
509
509
  d(this, $t, /* @__PURE__ */ h(() => {
510
510
  S.log("rowManager.#renderAllContainers"), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((s) => {
511
511
  const e = t(this, R).querySelector(s);
512
- e && e.querySelector(".ng-part-body tbody.bindable-tbody") && t(this, Gt).call(this, e, s);
513
- }), t(this, Qt).call(this), t(this, Zt).call(this);
512
+ e && e.querySelector(".ng-part-body tbody.bindable-tbody") && t(this, Kt).call(this, e, s);
513
+ }), t(this, Jt).call(this), t(this, Gt).call(this);
514
514
  }, "#renderAllContainers"));
515
- d(this, Be, /* @__PURE__ */ h((s) => {
515
+ d(this, ze, /* @__PURE__ */ h((s) => {
516
516
  [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((e) => {
517
517
  var l;
518
518
  const n = t(this, R).querySelector(e);
@@ -582,7 +582,7 @@ const Ze = class Ze {
582
582
  i && typeof i.refresh == "function" && i.refresh();
583
583
  });
584
584
  }, "#bindRowData"));
585
- d(this, Qt, /* @__PURE__ */ h(() => {
585
+ d(this, Jt, /* @__PURE__ */ h(() => {
586
586
  var c, l, f;
587
587
  S.log("rowManager.#syncHeaderHeights");
588
588
  const s = t(this, R).querySelector(".ng-container-left .ng-part-header table"), e = t(this, R).querySelector(".ng-container-body .ng-part-header table"), n = t(this, R).querySelector(".ng-container-right .ng-part-header table");
@@ -600,7 +600,7 @@ const Ze = class Ze {
600
600
  q(this, "destroy", /* @__PURE__ */ h(() => {
601
601
  t(this, G) && (t(this, G).disconnect(), p(this, G, null));
602
602
  }, "destroy"));
603
- p(this, j, s.getRootNode().host), p(this, R, s), t(this, Jt).call(this);
603
+ p(this, j, s.getRootNode().host), p(this, R, s), t(this, Zt).call(this);
604
604
  }
605
605
  getRowHeight() {
606
606
  return t(this, D);
@@ -610,14 +610,14 @@ const Ze = class Ze {
610
610
  return ((e = t(this, P).get(s)) == null ? void 0 : e.length) || 1;
611
611
  }
612
612
  };
613
- j = new WeakMap(), R = new WeakMap(), it = new WeakMap(), P = new WeakMap(), D = new WeakMap(), G = new WeakMap(), at = new WeakMap(), kt = new WeakMap(), We = new WeakMap(), ze = new WeakMap(), Kt = new WeakMap(), Gt = new WeakMap(), Lt = new WeakMap(), It = new WeakMap(), Ht = new WeakMap(), Zt = new WeakMap(), Jt = new WeakMap(), $t = new WeakMap(), Be = new WeakMap(), pt = new WeakMap(), Mt = new WeakMap(), Qt = new WeakMap(), h(Ze, "RowManager");
614
- let Ae = Ze;
615
- const te = class te {
613
+ j = new WeakMap(), R = new WeakMap(), it = new WeakMap(), P = new WeakMap(), D = new WeakMap(), G = new WeakMap(), at = new WeakMap(), kt = new WeakMap(), Oe = new WeakMap(), We = new WeakMap(), Xt = new WeakMap(), Kt = new WeakMap(), Lt = new WeakMap(), It = new WeakMap(), Ht = new WeakMap(), Gt = new WeakMap(), Zt = new WeakMap(), $t = new WeakMap(), ze = new WeakMap(), pt = new WeakMap(), Mt = new WeakMap(), Jt = new WeakMap(), h(Ze, "RowManager");
614
+ let Re = Ze;
615
+ const Qt = class Qt {
616
616
  /**
617
617
  * 🎯 λ ˆμ΄μ•„μ›ƒ λ‚΄μ˜ μ—¬λŸ¬ rawTables 배열을 μΌκ΄„λ‘œ λ°›μ•„ 단일 λ§ˆμŠ€ν„° ν…œν”Œλ¦ΏμœΌλ‘œ 사전 μ»΄νŒŒμΌν•©λ‹ˆλ‹€.
618
618
  */
619
619
  static compileAll(s) {
620
- return Array.isArray(s) ? s.map((e) => te.compile(e)) : [];
620
+ return Array.isArray(s) ? s.map((e) => Qt.compile(e)) : [];
621
621
  }
622
622
  /**
623
623
  * 🎯 단일 원본 ν…Œμ΄λΈ”μ„ λ°›μ•„ κΈ°λ³Έ ꡬ쑰 보정 및 2차원 격자 인덱슀 사전 λΆ€μ—¬ μ™„λ£Œλœ λ§ˆμŠ€ν„° ν…Œμ΄λΈ” λ°˜ν™˜
@@ -691,8 +691,8 @@ const te = class te {
691
691
  }
692
692
  // 🎯 [μΆ”κ°€] td/th에 μ„ μ–Έλœ cell-type 속성을 읽어 μ»€μŠ€ν…€ νƒœκ·Έλ‘œ μžλ™ 감싸기
693
693
  };
694
- h(te, "TableCompiler");
695
- let Ee = te;
694
+ h(Qt, "TableCompiler");
695
+ let Ae = Qt;
696
696
  var _, Y, U, At, bs;
697
697
  const Je = class Je {
698
698
  constructor(s) {
@@ -806,18 +806,18 @@ _ = new WeakMap(), Y = new WeakMap(), U = new WeakSet(), At = /* @__PURE__ */ h(
806
806
  document.addEventListener("mousemove", l), document.addEventListener("mouseup", f);
807
807
  });
808
808
  }, "#initEvents"), h(Je, "CellSelection");
809
- let qe = Je;
810
- var V, lt, ee, se, _t, ne, ps;
809
+ let Ee = Je;
810
+ var V, lt, te, ee, Be, se, ps;
811
811
  const Qe = class Qe {
812
812
  // 🎯 ν‚€λ³΄λ“œ λ„€λΉ„κ²Œμ΄μ…˜ 쀑 슀크둀 튐 λ°©μ§€ ν”Œλž˜κ·Έ
813
813
  constructor(s) {
814
- d(this, ne);
814
+ d(this, se);
815
815
  d(this, V);
816
816
  d(this, lt, null);
817
+ d(this, te, -1);
817
818
  d(this, ee, -1);
818
- d(this, se, -1);
819
- d(this, _t, !1);
820
- p(this, V, s), Q(this, ne, ps).call(this), S.log("🎯 [CellNavigation] Initialized");
819
+ d(this, Be, !1);
820
+ p(this, V, s), Q(this, se, ps).call(this), S.log("🎯 [CellNavigation] Initialized");
821
821
  }
822
822
  get currentCell() {
823
823
  return t(this, lt);
@@ -827,13 +827,11 @@ const Qe = class Qe {
827
827
  p(this, lt, s), s.focus({ preventScroll: !0 });
828
828
  const e = parseInt(s.dataset.row, 10), n = parseInt(s.dataset.col, 10);
829
829
  if (!isNaN(e) && !isNaN(n)) {
830
- p(this, ee, e), p(this, se, n);
830
+ p(this, te, e), p(this, ee, n);
831
831
  const r = s.closest("tr"), o = r == null ? void 0 : r.closest("tbody");
832
832
  if (o) {
833
833
  const a = Array.from(o.querySelectorAll("tr:not(.nodata)")).filter((u) => parseInt(u.dataset.row, 10) === e), c = a.length > 0 ? a.length : 1, l = a.indexOf(r), f = e * c + (l >= 0 ? l : 0);
834
- p(this, _t, !0), S.log("====================", f, n, f, n), t(this, V).selection.setRange(f, n, f, n), setTimeout(() => {
835
- p(this, _t, !1);
836
- }, 0);
834
+ S.log("====================", f, n, f, n), t(this, V).selection.setRange(f, n, f, n);
837
835
  }
838
836
  }
839
837
  }
@@ -869,7 +867,7 @@ const Qe = class Qe {
869
867
  }
870
868
  }
871
869
  };
872
- V = new WeakMap(), lt = new WeakMap(), ee = new WeakMap(), se = new WeakMap(), _t = new WeakMap(), ne = new WeakSet(), ps = /* @__PURE__ */ h(function() {
870
+ V = new WeakMap(), lt = new WeakMap(), te = new WeakMap(), ee = new WeakMap(), Be = new WeakMap(), se = new WeakSet(), ps = /* @__PURE__ */ h(function() {
873
871
  t(this, V).addEventListener("mousedown", (s) => {
874
872
  const e = s.target.closest("td, th");
875
873
  !e || e.dataset.row === void 0 || e.dataset.col === void 0 || (this.currentCell = e);
@@ -877,29 +875,29 @@ V = new WeakMap(), lt = new WeakMap(), ee = new WeakMap(), se = new WeakMap(), _
877
875
  ["Tab", "ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"].includes(s.code) && this.moveCell(s);
878
876
  });
879
877
  }, "#initEvents"), h(Qe, "CellNavigation");
880
- let Te = Qe;
881
- var re, ct, ht, Nt, Dt, oe, ie, yt, ae, le;
878
+ let qe = Qe;
879
+ var ne, ct, ht, _t, Nt, re, oe, yt, ie, ae;
882
880
  const Et = class Et extends HTMLElement {
883
881
  constructor() {
884
882
  super();
885
- d(this, re);
883
+ d(this, ne);
886
884
  d(this, ct, null);
887
885
  d(this, ht);
886
+ d(this, _t);
888
887
  d(this, Nt);
889
- d(this, Dt);
890
888
  q(this, "invalidate", /* @__PURE__ */ h(() => {
891
889
  S.log("sheet.invalidate()"), t(this, ht).refresh();
892
890
  }, "invalidate"));
893
891
  q(this, "generate", /* @__PURE__ */ h((e) => {
894
892
  if (S.log("sheet.generate()"), !e) return;
895
- p(this, ct, Ee.compile(e)), t(this, oe).call(this), t(this, ie).call(this);
893
+ p(this, ct, Ae.compile(e)), t(this, re).call(this), t(this, oe).call(this);
896
894
  const n = this.querySelector(".ng-container-body .ng-part-header"), r = this.querySelector(".ng-container-body .ng-part-footer"), o = this.querySelector(".ng-nodata-overlay");
897
895
  n && o && (o.style.top = `${n.offsetHeight}px`), r && o && (o.style.bottom = `${r.offsetHeight}px`), t(this, ht).initialize(), setTimeout(() => {
898
896
  var i;
899
897
  (i = this.querySelector("nine-table-hscrollbar")) == null || i.refresh();
900
898
  }, 0);
901
899
  }, "generate"));
902
- d(this, oe, /* @__PURE__ */ h(() => {
900
+ d(this, re, /* @__PURE__ */ h(() => {
903
901
  [
904
902
  { selector: ".ng-container-body", type: null },
905
903
  { selector: ".ng-container-left", type: "left" },
@@ -909,7 +907,7 @@ const Et = class Et extends HTMLElement {
909
907
  (o = this.querySelector(`${n} .ng-part-header`)) == null || o.appendChild(t(this, yt).call(this, t(this, ct), r, "header")), (i = this.querySelector(`${n} .ng-virtual-spacer`)) == null || i.before(t(this, yt).call(this, t(this, ct), r, "body")), (a = this.querySelector(`${n} .ng-part-footer`)) == null || a.appendChild(t(this, yt).call(this, t(this, ct), r, "footer"));
910
908
  });
911
909
  }, "#renderSplitContainers"));
912
- d(this, ie, /* @__PURE__ */ h(() => {
910
+ d(this, oe, /* @__PURE__ */ h(() => {
913
911
  ["left", "right", "body"].forEach((e) => {
914
912
  const n = this.querySelector(`.ng-container-${e}`), r = n == null ? void 0 : n.querySelectorAll("table");
915
913
  if (!n || !r || r.length === 0) return;
@@ -949,10 +947,10 @@ const Et = class Et extends HTMLElement {
949
947
  const n = this.querySelector(".ng-container-body .ng-part-body");
950
948
  n && (n.scrollTop = e);
951
949
  }, "scrollToY"));
952
- d(this, ae, /* @__PURE__ */ h(() => {
953
- t(this, le).call(this), p(this, Nt, new qe(this)), p(this, Dt, new Te(this));
950
+ d(this, ie, /* @__PURE__ */ h(() => {
951
+ t(this, ae).call(this), p(this, _t, new Ee(this)), p(this, Nt, new qe(this));
954
952
  }, "#init"));
955
- d(this, le, /* @__PURE__ */ h(() => {
953
+ d(this, ae, /* @__PURE__ */ h(() => {
956
954
  const e = Et.SCROLLBAR_SIZE;
957
955
  this.innerHTML = `
958
956
  <style>
@@ -1154,37 +1152,37 @@ const Et = class Et extends HTMLElement {
1154
1152
  </div>
1155
1153
  `;
1156
1154
  }, "#render"));
1157
- p(this, ht, new Ae(this)), p(this, re, this.getRootNode().host);
1155
+ p(this, ht, new Re(this)), p(this, ne, this.getRootNode().host);
1158
1156
  }
1159
1157
  connectedCallback() {
1160
- t(this, ae).call(this);
1158
+ t(this, ie).call(this);
1161
1159
  }
1162
1160
  get selection() {
1163
- return t(this, Nt);
1161
+ return t(this, _t);
1164
1162
  }
1165
1163
  get navigation() {
1166
- return t(this, Dt);
1164
+ return t(this, Nt);
1167
1165
  }
1168
1166
  disconnectedCallback() {
1169
1167
  this.innerHTML = "", S.log("NineTableSheet destroyed.");
1170
1168
  }
1171
1169
  };
1172
- re = new WeakMap(), ct = new WeakMap(), ht = new WeakMap(), Nt = new WeakMap(), Dt = new WeakMap(), oe = new WeakMap(), ie = new WeakMap(), yt = new WeakMap(), ae = new WeakMap(), le = new WeakMap(), h(Et, "NineTableSheet"), q(Et, "SCROLLBAR_SIZE", 16);
1173
- let Yt = Et;
1174
- customElements.get("nine-table-sheet") || customElements.define("nine-table-sheet", Yt);
1175
- var ce, Ot;
1170
+ ne = new WeakMap(), ct = new WeakMap(), ht = new WeakMap(), _t = new WeakMap(), Nt = new WeakMap(), re = new WeakMap(), oe = new WeakMap(), yt = new WeakMap(), ie = new WeakMap(), ae = new WeakMap(), h(Et, "NineTableSheet"), q(Et, "SCROLLBAR_SIZE", 16);
1171
+ let jt = Et;
1172
+ customElements.get("nine-table-sheet") || customElements.define("nine-table-sheet", jt);
1173
+ var le, Dt;
1176
1174
  const ts = class ts extends HTMLElement {
1177
1175
  constructor() {
1178
1176
  super();
1179
- d(this, ce, /* @__PURE__ */ h(() => {
1177
+ d(this, le, /* @__PURE__ */ h(() => {
1180
1178
  var e;
1181
1179
  (e = this.querySelector(".nine-tab-bar")) == null || e.addEventListener("click", (n) => {
1182
1180
  var i;
1183
1181
  const r = n.ctrlKey || n.metaKey || n.shiftKey, o = parseInt((i = n.target.closest(".nine-tab-item")) == null ? void 0 : i.dataset.index, 10);
1184
- t(this, Ot).call(this, o, r);
1185
- }), t(this, Ot).call(this, 0, !1);
1182
+ t(this, Dt).call(this, o, r);
1183
+ }), t(this, Dt).call(this, 0, !1);
1186
1184
  }, "#init"));
1187
- d(this, Ot, /* @__PURE__ */ h((e, n = !1) => {
1185
+ d(this, Dt, /* @__PURE__ */ h((e, n = !1) => {
1188
1186
  const r = /* @__PURE__ */ h(() => {
1189
1187
  const f = Array.from(this.querySelectorAll("nine-table-sheet"));
1190
1188
  Array.from(this.querySelectorAll("nine-splitter")).forEach((g) => g.style.setProperty("display", "none"));
@@ -1217,30 +1215,30 @@ const ts = class ts extends HTMLElement {
1217
1215
  }, "#switchSheet"));
1218
1216
  }
1219
1217
  connectedCallback() {
1220
- t(this, ce).call(this);
1218
+ t(this, le).call(this);
1221
1219
  }
1222
1220
  };
1223
- ce = new WeakMap(), Ot = new WeakMap(), h(ts, "NineTableSheets");
1224
- let Ce = ts;
1225
- customElements.get("nine-table-sheets") || customElements.define("nine-table-sheets", Ce);
1226
- var N, he, Wt, de;
1221
+ le = new WeakMap(), Dt = new WeakMap(), h(ts, "NineTableSheets");
1222
+ let Te = ts;
1223
+ customElements.get("nine-table-sheets") || customElements.define("nine-table-sheets", Te);
1224
+ var N, ce, Ot, he;
1227
1225
  const es = class es {
1228
1226
  constructor(s) {
1229
1227
  d(this, N);
1230
- d(this, he, /* @__PURE__ */ h(() => {
1231
- t(this, de).call(this), new ResizeObserver((s) => {
1228
+ d(this, ce, /* @__PURE__ */ h(() => {
1229
+ t(this, he).call(this), new ResizeObserver((s) => {
1232
1230
  for (let e of s)
1233
- t(this, N).getAttribute("auto-height") === "true" && t(this, Wt).call(this);
1231
+ t(this, N).getAttribute("auto-height") === "true" && t(this, Ot).call(this);
1234
1232
  }).observe(t(this, N));
1235
1233
  }, "#init"));
1236
- d(this, Wt, /* @__PURE__ */ h(() => {
1234
+ d(this, Ot, /* @__PURE__ */ h(() => {
1237
1235
  var c, l;
1238
1236
  const s = Array.from(t(this, N).shadowRoot.querySelectorAll("nine-table-sheet.active"));
1239
1237
  if (s.length === 0) return;
1240
- const e = parseInt(t(this, N).getAttribute("max-display-row"), 10) || 10, n = Math.max(...s.map((f) => f.getRowHeight())), r = (c = t(this, N).shadowRoot.querySelector("nine-table-header")) == null ? void 0 : c.getBoundingClientRect().height, o = (l = t(this, N).shadowRoot.querySelector("nine-table-sheets-footer")) == null ? void 0 : l.getBoundingClientRect().height, i = Yt.SCROLLBAR_SIZE, a = e * n + r + o + i;
1238
+ const e = parseInt(t(this, N).getAttribute("max-display-row"), 10) || 10, n = Math.max(...s.map((f) => f.getRowHeight())), r = (c = t(this, N).shadowRoot.querySelector("nine-table-header")) == null ? void 0 : c.getBoundingClientRect().height, o = (l = t(this, N).shadowRoot.querySelector("nine-table-sheets-footer")) == null ? void 0 : l.getBoundingClientRect().height, i = jt.SCROLLBAR_SIZE, a = e * n + r + o + i;
1241
1239
  t(this, N).style.height = `${a}px`;
1242
1240
  }, "#applyAutoHeight"));
1243
- d(this, de, /* @__PURE__ */ h(() => {
1241
+ d(this, he, /* @__PURE__ */ h(() => {
1244
1242
  const e = Array.from(t(this, N).children).filter((c) => c.tagName === "TABLE"), n = t(this, N).getAttribute("auto-height") === "true", r = e.length, o = e.map((c, l) => {
1245
1243
  const u = `<nine-table-sheet class="${l === 0 ? "active" : ""}" data-index="${l}"></nine-table-sheet>`, b = l < r - 1 ? `<nine-splitter class="h" data-split-index="${l}"></nine-splitter>` : "";
1246
1244
  return u + b;
@@ -1369,22 +1367,22 @@ const es = class es {
1369
1367
  const a = t(this, N).shadowRoot.querySelectorAll("nine-table-sheet");
1370
1368
  a == null || a.forEach((c, l) => {
1371
1369
  e[l] && setTimeout(() => {
1372
- c.generate(e[l]), n && t(this, Wt).call(this);
1370
+ c.generate(e[l]), n && t(this, Ot).call(this);
1373
1371
  });
1374
1372
  });
1375
1373
  }, "#render"));
1376
- p(this, N, s), t(this, he).call(this);
1374
+ p(this, N, s), t(this, ce).call(this);
1377
1375
  }
1378
1376
  };
1379
- N = new WeakMap(), he = new WeakMap(), Wt = new WeakMap(), de = new WeakMap(), h(es, "LayoutManager");
1380
- let ke = es;
1381
- var zt, mt;
1377
+ N = new WeakMap(), ce = new WeakMap(), Ot = new WeakMap(), he = new WeakMap(), h(es, "LayoutManager");
1378
+ let Ce = es;
1379
+ var Wt, mt;
1382
1380
  const ss = class ss {
1383
1381
  constructor(s) {
1384
- d(this, zt);
1382
+ d(this, Wt);
1385
1383
  d(this, mt, -1);
1386
- q(this, "count", /* @__PURE__ */ h(() => t(this, zt).rawRecords.length, "count"));
1387
- p(this, zt, s);
1384
+ q(this, "count", /* @__PURE__ */ h(() => t(this, Wt).rawRecords.length, "count"));
1385
+ p(this, Wt, s);
1388
1386
  }
1389
1387
  get at() {
1390
1388
  return t(this, mt);
@@ -1394,25 +1392,25 @@ const ss = class ss {
1394
1392
  });
1395
1393
  }
1396
1394
  };
1397
- zt = new WeakMap(), mt = new WeakMap(), h(ss, "ngRow");
1398
- let Le = ss;
1399
- var O, L, W, xt, fe, Z, ue, dt, Bt, ge, be, wt;
1395
+ Wt = new WeakMap(), mt = new WeakMap(), h(ss, "ngRow");
1396
+ let ke = ss;
1397
+ var O, L, W, xt, de, Z, fe, dt, zt, ue, ge, wt;
1400
1398
  const z = class z {
1401
1399
  constructor(s, e) {
1402
1400
  d(this, O);
1403
1401
  d(this, L);
1404
1402
  d(this, W, []);
1405
1403
  d(this, xt, []);
1406
- d(this, fe, 0);
1404
+ d(this, de, 0);
1407
1405
  d(this, Z, []);
1408
- d(this, ue, /* @__PURE__ */ h(() => {
1406
+ d(this, fe, /* @__PURE__ */ h(() => {
1409
1407
  p(this, Z, []);
1410
1408
  const s = t(this, O).template || [];
1411
1409
  Array.from(s).forEach((e) => {
1412
1410
  var n;
1413
1411
  t(this, Z).push(((n = e.getBoundingClientRect) == null ? void 0 : n.call(e).height) || 24);
1414
1412
  }), (t(this, L).rawRecords || []).forEach((e) => {
1415
- e.__ng || (e.__ng = t(this, Bt).call(this)), e.__ng.height = t(this, Z).slice();
1413
+ e.__ng || (e.__ng = t(this, zt).call(this)), e.__ng.height = t(this, Z).slice();
1416
1414
  });
1417
1415
  }, "#initialize"));
1418
1416
  d(this, dt, /* @__PURE__ */ h(() => {
@@ -1437,7 +1435,7 @@ const z = class z {
1437
1435
  q(this, "set", /* @__PURE__ */ h((s) => {
1438
1436
  this.clear(), this.add(s, !1), t(this, dt).call(this);
1439
1437
  }, "set"));
1440
- d(this, Bt, /* @__PURE__ */ h(() => ({
1438
+ d(this, zt, /* @__PURE__ */ h(() => ({
1441
1439
  rowState: z.ROW_STATE.EMPTY,
1442
1440
  deleted: !1,
1443
1441
  filtered: !1,
@@ -1453,7 +1451,7 @@ const z = class z {
1453
1451
  var s;
1454
1452
  t(this, L).rawRecords = [], p(this, W, []), p(this, xt, []), (s = t(this, L).viewRecords) != null && s.reset && t(this, L).viewRecords.reset();
1455
1453
  }, "clear"));
1456
- d(this, ge, /* @__PURE__ */ h((s) => {
1454
+ d(this, ue, /* @__PURE__ */ h((s) => {
1457
1455
  var r;
1458
1456
  Array.isArray(s) || (s = [s]);
1459
1457
  const e = typeof ((r = t(this, O).fields) == null ? void 0 : r.get) == "function" ? t(this, O).fields.get() : Object.keys(s[0] || {}), n = [];
@@ -1464,13 +1462,13 @@ const z = class z {
1464
1462
  }), n.push(i);
1465
1463
  }), n;
1466
1464
  }, "#json2Array"));
1467
- d(this, be, /* @__PURE__ */ h((s) => (Array.isArray(s) || (s = [s]), s.forEach((e) => {
1468
- e.__ng = t(this, Bt).call(this), e.__ng.rowid = this.nextId, e.__ng.rowState = z.ROW_STATE.INSERT, e.__ng._[0] = e.__ng.rowid;
1465
+ d(this, ge, /* @__PURE__ */ h((s) => (Array.isArray(s) || (s = [s]), s.forEach((e) => {
1466
+ e.__ng = t(this, zt).call(this), e.__ng.rowid = this.nextId, e.__ng.rowState = z.ROW_STATE.INSERT, e.__ng._[0] = e.__ng.rowid;
1469
1467
  }), s), "#defaultInsert"));
1470
1468
  q(this, "add", /* @__PURE__ */ h((s, e = !0) => {
1471
1469
  s === void 0 && (s = {});
1472
- const n = t(this, ge).call(this, s);
1473
- t(this, L).rawRecords = t(this, L).rawRecords.concat(t(this, be).call(this, n)), this.resetRecords();
1470
+ const n = t(this, ue).call(this, s);
1471
+ t(this, L).rawRecords = t(this, L).rawRecords.concat(t(this, ge).call(this, n)), this.resetRecords();
1474
1472
  const r = this.count() - 1;
1475
1473
  return e || n.forEach((o, i) => {
1476
1474
  const a = t(this, L).rawRecords[r - i];
@@ -1518,7 +1516,7 @@ const z = class z {
1518
1516
  return e ? o[0] : o;
1519
1517
  }, "#conv"));
1520
1518
  q(this, "count", /* @__PURE__ */ h(() => this.getValidData().length, "count"));
1521
- p(this, O, s), p(this, L, e), t(this, ue).call(this);
1519
+ p(this, O, s), p(this, L, e), t(this, fe).call(this);
1522
1520
  }
1523
1521
  get source() {
1524
1522
  return t(this, wt).call(this, t(this, L).rawRecords);
@@ -1527,7 +1525,7 @@ const z = class z {
1527
1525
  this.clear(), this.add(s, !1);
1528
1526
  }
1529
1527
  get nextId() {
1530
- return ++gs(this, fe)._;
1528
+ return ++gs(this, de)._;
1531
1529
  }
1532
1530
  get count() {
1533
1531
  return t(this, W).length;
@@ -1539,7 +1537,7 @@ const z = class z {
1539
1537
  return this.length;
1540
1538
  }
1541
1539
  };
1542
- O = new WeakMap(), L = new WeakMap(), W = new WeakMap(), xt = new WeakMap(), fe = new WeakMap(), Z = new WeakMap(), ue = new WeakMap(), dt = new WeakMap(), Bt = new WeakMap(), ge = new WeakMap(), be = new WeakMap(), wt = new WeakMap(), h(z, "ngData"), // 🎯 ν–‰ μƒνƒœ μ •μ˜ μƒμˆ˜λ₯Ό 클래슀 λ‚΄λΆ€λ‘œ λ‚΄μž¬ν™”
1540
+ O = new WeakMap(), L = new WeakMap(), W = new WeakMap(), xt = new WeakMap(), de = new WeakMap(), Z = new WeakMap(), fe = new WeakMap(), dt = new WeakMap(), zt = new WeakMap(), ue = new WeakMap(), ge = new WeakMap(), wt = new WeakMap(), h(z, "ngData"), // 🎯 ν–‰ μƒνƒœ μ •μ˜ μƒμˆ˜λ₯Ό 클래슀 λ‚΄λΆ€λ‘œ λ‚΄μž¬ν™”
1543
1541
  q(z, "ROW_STATE", {
1544
1542
  EMPTY: "EMPTY",
1545
1543
  NORMAL: "NORMAL",
@@ -1547,12 +1545,12 @@ q(z, "ROW_STATE", {
1547
1545
  UPDATE: "UPDATE",
1548
1546
  DELETE: "DELETE"
1549
1547
  });
1550
- let Ie = z;
1548
+ let Le = z;
1551
1549
  var ft;
1552
1550
  const ns = class ns {
1553
1551
  constructor(s) {
1554
1552
  d(this, ft);
1555
- p(this, ft, s), this.row = new Le(this), this.data = new Ie(t(this, ft), this), this.rawRecords = [], this.viewRecords = [], this.delRecords = [], this.pageCnt = 25, this.viewRecords.reset = () => {
1553
+ p(this, ft, s), this.row = new ke(this), this.data = new Le(t(this, ft), this), this.rawRecords = [], this.viewRecords = [], this.delRecords = [], this.pageCnt = 25, this.viewRecords.reset = () => {
1556
1554
  var e;
1557
1555
  (e = t(this, ft).view) != null && e.redraw && t(this, ft).view.redraw();
1558
1556
  }, this.setDataSource = (e) => {
@@ -1570,8 +1568,8 @@ const ns = class ns {
1570
1568
  }
1571
1569
  };
1572
1570
  ft = new WeakMap(), h(ns, "ngDataManager");
1573
- let He = ns;
1574
- var vt, M, Pt, pe;
1571
+ let Ie = ns;
1572
+ var vt, M, Bt, be;
1575
1573
  const rs = class rs {
1576
1574
  // 🎯 이제 { name: string, type: string } κ°μ²΄λ“€μ˜ λ°°μ—΄λ‘œ κ΄€λ¦¬ν•©λ‹ˆλ‹€.
1577
1575
  constructor(s) {
@@ -1580,15 +1578,15 @@ const rs = class rs {
1580
1578
  q(this, "add", /* @__PURE__ */ h((s, e = "string") => {
1581
1579
  s.forEach((n) => {
1582
1580
  t(this, M).some((r) => r.name === n) || t(this, M).push({ name: n, type: e });
1583
- }), t(this, Pt).call(this);
1581
+ }), t(this, Bt).call(this);
1584
1582
  }, "add"));
1585
- d(this, Pt, /* @__PURE__ */ h(() => {
1583
+ d(this, Bt, /* @__PURE__ */ h(() => {
1586
1584
  const s = /* @__PURE__ */ new Map();
1587
1585
  t(this, M).forEach((e) => {
1588
1586
  s.set(e.name, e.type);
1589
1587
  }), p(this, M, Array.from(s, ([e, n]) => ({ name: e, type: n }))), p(this, M, t(this, M).filter((e) => e.name !== "" && e.name !== "__ng")), t(this, M).sort((e, n) => e.name.length < n.name.length ? 1 : -1);
1590
1588
  }, "#adjust"));
1591
- d(this, pe, /* @__PURE__ */ h(() => {
1589
+ d(this, be, /* @__PURE__ */ h(() => {
1592
1590
  p(this, M, []), S.log(t(this, vt).querySelectorAll("table"));
1593
1591
  const s = Array.from(t(this, vt).querySelectorAll("table"));
1594
1592
  if (!(!s || s.length === 0)) {
@@ -1617,10 +1615,10 @@ const rs = class rs {
1617
1615
  });
1618
1616
  });
1619
1617
  });
1620
- t(this, Pt).call(this);
1618
+ t(this, Bt).call(this);
1621
1619
  }
1622
1620
  }, "#init"));
1623
- p(this, vt, s), t(this, pe).call(this);
1621
+ p(this, vt, s), t(this, be).call(this);
1624
1622
  }
1625
1623
  // 🎯 기쑴에 ν•„λ“œ μ΄λ¦„λ§Œ μ“°λ˜ κ³³λ“€κ³Όμ˜ ν˜Έν™˜μ„ μœ„ν•΄ 이름 λ°°μ—΄λ§Œ λ¦¬ν„΄ν•˜λŠ” λ©”μ„œλ“œ μœ μ§€
1626
1624
  get() {
@@ -1642,22 +1640,22 @@ const rs = class rs {
1642
1640
  return t(this, M).some((e) => e.name === s);
1643
1641
  }
1644
1642
  };
1645
- vt = new WeakMap(), M = new WeakMap(), Pt = new WeakMap(), pe = new WeakMap(), h(rs, "ngFields");
1646
- let $e = rs;
1647
- var ut, ye, me;
1643
+ vt = new WeakMap(), M = new WeakMap(), Bt = new WeakMap(), be = new WeakMap(), h(rs, "ngFields");
1644
+ let He = rs;
1645
+ var ut, pe, ye;
1648
1646
  const os = class os extends HTMLElement {
1649
1647
  constructor() {
1650
1648
  super();
1651
1649
  //#created = false;
1652
1650
  d(this, ut);
1653
- d(this, ye);
1654
- d(this, me, /* @__PURE__ */ h(() => {
1655
- this.fields = new $e(this), p(this, ye, new ke(this)), S.log("NineTable connected."), this.dispatchEvent(new CustomEvent("load", { bubbles: !0, detail: { target: this } }));
1651
+ d(this, pe);
1652
+ d(this, ye, /* @__PURE__ */ h(() => {
1653
+ this.fields = new He(this), p(this, pe, new Ce(this)), S.log("NineTable connected."), this.dispatchEvent(new CustomEvent("load", { bubbles: !0, detail: { target: this } }));
1656
1654
  }, "#init"));
1657
- this.attachShadow({ mode: "open" }), p(this, ut, new He(this));
1655
+ this.attachShadow({ mode: "open" }), p(this, ut, new Ie(this));
1658
1656
  }
1659
1657
  connectedCallback() {
1660
- t(this, me).call(this);
1658
+ t(this, ye).call(this);
1661
1659
  }
1662
1660
  disconnectedCallback() {
1663
1661
  S.log("NineTable disconnected.");
@@ -1675,9 +1673,9 @@ const os = class os extends HTMLElement {
1675
1673
  return t(this, ut);
1676
1674
  }
1677
1675
  };
1678
- ut = new WeakMap(), ye = new WeakMap(), me = new WeakMap(), h(os, "NineTable");
1679
- let Me = os;
1680
- customElements.get("nine-table") || customElements.define("nine-table", Me);
1676
+ ut = new WeakMap(), pe = new WeakMap(), ye = new WeakMap(), h(os, "NineTable");
1677
+ let $e = os;
1678
+ customElements.get("nine-table") || customElements.define("nine-table", $e);
1681
1679
  const qt = class qt extends HTMLElement {
1682
1680
  // πŸ‘ˆ μ»€μŠ€ν…€ μŠ€νƒ€μΌμš© μΊμ‹œ μΆ”κ°€
1683
1681
  constructor() {
@@ -1690,13 +1688,13 @@ const qt = class qt extends HTMLElement {
1690
1688
  }
1691
1689
  };
1692
1690
  h(qt, "BasicCellElement"), q(qt, "_styleCache", /* @__PURE__ */ new Map()), q(qt, "_customStyleCache", /* @__PURE__ */ new Map());
1693
- let _e = qt;
1694
- var I, Ft, x, Pe, Fe, je, Ye, Ve;
1695
- const is = class is extends _e {
1691
+ let Me = qt;
1692
+ var I, Pt, x, Pe, Fe, je, Ye, Ve;
1693
+ const is = class is extends Me {
1696
1694
  constructor() {
1697
1695
  super();
1698
1696
  d(this, I);
1699
- d(this, Ft);
1697
+ d(this, Pt);
1700
1698
  d(this, x);
1701
1699
  d(this, Pe);
1702
1700
  d(this, Fe);
@@ -1765,7 +1763,7 @@ const is = class is extends _e {
1765
1763
  }, "getExprValue"));
1766
1764
  }
1767
1765
  connectedCallback() {
1768
- super.connectedCallback(), p(this, I, this.getRootNode().host), p(this, x, this.closest("th,td")), p(this, Ft, t(this, x).closest("tr"));
1766
+ super.connectedCallback(), p(this, I, this.getRootNode().host), p(this, x, this.closest("th,td")), p(this, Pt, t(this, x).closest("tr"));
1769
1767
  }
1770
1768
  get value() {
1771
1769
  var e = !t(this, I) || !t(this, I).dataManager || !t(this, x) || !t(this, x).dataset || !t(this, x).dataset.row || !t(this, x).dataset.bind ? "" : t(this, x).closest("tr").data[t(this, x).dataset.bind];
@@ -1784,12 +1782,12 @@ const is = class is extends _e {
1784
1782
  }
1785
1783
  refresh() {
1786
1784
  const e = t(this, x).dataset.bind;
1787
- return parseInt(t(this, x).dataset.row), t(this, Ft).data[e];
1785
+ return parseInt(t(this, x).dataset.row), t(this, Pt).data[e];
1788
1786
  }
1789
1787
  };
1790
- I = new WeakMap(), Ft = new WeakMap(), x = new WeakMap(), Pe = new WeakMap(), Fe = new WeakMap(), je = new WeakMap(), Ye = new WeakMap(), Ve = new WeakMap(), h(is, "CellElement");
1791
- let Ne = is;
1792
- const as = class as extends Ne {
1788
+ I = new WeakMap(), Pt = new WeakMap(), x = new WeakMap(), Pe = new WeakMap(), Fe = new WeakMap(), je = new WeakMap(), Ye = new WeakMap(), Ve = new WeakMap(), h(is, "CellElement");
1789
+ let _e = is;
1790
+ const as = class as extends _e {
1793
1791
  constructor() {
1794
1792
  super();
1795
1793
  }
@@ -1801,20 +1799,20 @@ const as = class as extends Ne {
1801
1799
  }
1802
1800
  };
1803
1801
  h(as, "EditableCellElement");
1804
- let De = as;
1805
- var jt, gt, St, Rt, xe, J, Ue;
1806
- const ls = class ls extends De {
1802
+ let Ne = as;
1803
+ var Ft, gt, St, Rt, me, J, Ue;
1804
+ const ls = class ls extends Ne {
1807
1805
  constructor() {
1808
1806
  super();
1809
- d(this, jt);
1807
+ d(this, Ft);
1810
1808
  d(this, gt);
1811
1809
  d(this, St);
1812
1810
  d(this, Rt);
1813
- d(this, xe);
1811
+ d(this, me);
1814
1812
  d(this, J);
1815
1813
  q(this, "refresh", /* @__PURE__ */ h(() => {
1816
1814
  const e = super.refresh();
1817
- t(this, jt).value = e;
1815
+ t(this, Ft).value = e;
1818
1816
  }, "refresh"));
1819
1817
  /**
1820
1818
  dataRefresh = (v) => {
@@ -1861,7 +1859,7 @@ const ls = class ls extends De {
1861
1859
  t(this, St) && ninegrid.getByteLength(e.target.value) >= Number(t(this, St)) && e.target.selectionStart == e.target.selectionEnd && e.preventDefault();
1862
1860
  }
1863
1861
  }, "#onKeyDown"));
1864
- if (this.applyBaseStyle(), p(this, gt, this.getAttribute("type") || "text"), p(this, St, this.getAttribute("maxbyte")), p(this, Rt, this.getAttribute("min")), p(this, xe, this.getAttribute("max")), p(this, J, this.getAttribute("scale")), !["text", "number"].includes(t(this, gt))) throw `invalid type : ${t(this, gt)}`;
1862
+ if (this.applyBaseStyle(), p(this, gt, this.getAttribute("type") || "text"), p(this, St, this.getAttribute("maxbyte")), p(this, Rt, this.getAttribute("min")), p(this, me, this.getAttribute("max")), p(this, J, this.getAttribute("scale")), !["text", "number"].includes(t(this, gt))) throw `invalid type : ${t(this, gt)}`;
1865
1863
  }
1866
1864
  connectedCallback() {
1867
1865
  for (var e = [], n = 0; n < this.attributes.length; n++)
@@ -1871,11 +1869,11 @@ const ls = class ls extends De {
1871
1869
  ${e.join(" ")}
1872
1870
  ondragstart="return false;"
1873
1871
  >
1874
- `, super.connectedCallback(), p(this, jt, this.querySelector("input"));
1872
+ `, super.connectedCallback(), p(this, Ft, this.querySelector("input"));
1875
1873
  }
1876
1874
  };
1877
- jt = new WeakMap(), gt = new WeakMap(), St = new WeakMap(), Rt = new WeakMap(), xe = new WeakMap(), J = new WeakMap(), Ue = new WeakMap(), h(ls, "CellInputText");
1878
- let Oe = ls;
1875
+ Ft = new WeakMap(), gt = new WeakMap(), St = new WeakMap(), Rt = new WeakMap(), me = new WeakMap(), J = new WeakMap(), Ue = new WeakMap(), h(ls, "CellInputText");
1876
+ let De = ls;
1879
1877
  customElements.get("cell-input-text");
1880
- customElements.get("cell-input") || customElements.define("cell-input", Oe);
1878
+ customElements.get("cell-input") || customElements.define("cell-input", De);
1881
1879
  //# sourceMappingURL=nine-table.js.map