@ninebone/table 0.0.717 β†’ 0.0.719

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.
@@ -15,13 +15,13 @@ var os = (q, n, e, s) => ({
15
15
  }
16
16
  });
17
17
  import { trace as ls } from "@ninebone/util";
18
- const We = class We extends ls.constructor {
18
+ const ze = class ze extends ls.constructor {
19
19
  constructor() {
20
20
  super(), this.init("nine-table", "green");
21
21
  }
22
22
  };
23
- h(We, "Trace");
24
- let ue = We;
23
+ h(ze, "Trace");
24
+ let ue = ze;
25
25
  const E = new ue();
26
26
  var D, V, R, Z, G, J, Dt, Q, Pt;
27
27
  const Be = class Be extends HTMLElement {
@@ -353,14 +353,14 @@ const De = class De extends HTMLElement {
353
353
  tt = new WeakMap(), et = new WeakMap(), ft = new WeakMap(), C = new WeakMap(), Et = new WeakMap(), At = new WeakMap(), Ft = new WeakMap(), h(De, "NineTableVScrollBar");
354
354
  let be = De;
355
355
  customElements.get("nine-table-vscrollbar") || customElements.define("nine-table-vscrollbar", be);
356
- var F, S, st, P, z, U, nt, qt, Le, He, jt, Yt, Tt, Ct, kt, Vt, Ut, Lt, Ie, ut, Ht, Xt;
356
+ var F, S, st, P, O, U, nt, qt, Le, He, jt, Yt, Tt, Ct, kt, Vt, Ut, Lt, Ie, ut, Ht, Xt;
357
357
  const Pe = class Pe {
358
358
  constructor(n) {
359
359
  d(this, F);
360
360
  d(this, S);
361
361
  d(this, st);
362
362
  d(this, P, /* @__PURE__ */ new Map());
363
- d(this, z, null);
363
+ d(this, O, null);
364
364
  d(this, U, null);
365
365
  d(this, nt, 0);
366
366
  d(this, qt, 40);
@@ -378,7 +378,7 @@ const Pe = class Pe {
378
378
  E.log("rowManager.initialize"), p(this, st, {
379
379
  scrollTables: t(this, S).querySelectorAll(".ng-part-body table"),
380
380
  firstTr: t(this, S).querySelector(".ng-container-body .ng-part-body tbody.bindable-tbody tr:not(.nodata)")
381
- }), p(this, z, null), t(this, P).clear(), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((i) => {
381
+ }), p(this, O, null), t(this, P).clear(), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((i) => {
382
382
  const a = t(this, S).querySelector(i);
383
383
  if (!a) return;
384
384
  const c = a.querySelector(".ng-part-body table");
@@ -421,8 +421,8 @@ const Pe = class Pe {
421
421
  o ? o.before(i) : r.appendChild(i), e === ".ng-container-body" && (t(this, st).firstTr = r.querySelector("tr:not(.nodata)"));
422
422
  }, "#renderRows"));
423
423
  d(this, Tt, /* @__PURE__ */ h(() => {
424
- if (t(this, z) !== null && t(this, z) > 0)
425
- return t(this, z);
424
+ if (t(this, O) !== null && t(this, O) > 0)
425
+ return t(this, O);
426
426
  const n = t(this, S).querySelector(".ng-container-body .ng-part-body");
427
427
  E.log("rowManager.#measureAndCacheHeight");
428
428
  const e = t(this, P).get(".ng-container-body");
@@ -445,11 +445,11 @@ const Pe = class Pe {
445
445
  g = parseFloat(y.height) || parseFloat(y.minHeight) || 0;
446
446
  }
447
447
  f += g;
448
- }), u.forEach((b) => b.remove()), i.style.display = a, i.style.visibility = c, i.style.position = l, f <= 0 ? -1 : (p(this, z, f), t(this, kt).call(this), t(this, z));
448
+ }), u.forEach((b) => b.remove()), i.style.display = a, i.style.visibility = c, i.style.position = l, f <= 0 ? -1 : (p(this, O, f), t(this, kt).call(this), t(this, O));
449
449
  }, "#measureAndCacheHeight"));
450
450
  d(this, Ct, /* @__PURE__ */ h(() => {
451
451
  E.log("rowManager.#updateVirtualScrollHeight");
452
- const e = (t(this, F).data.get() || []).length, s = t(this, z), r = e * s;
452
+ const e = (t(this, F).data.get() || []).length, s = t(this, O), r = e * s;
453
453
  E.log("πŸ” [VirtualHeight]", { totalCount: e, rowHeight: s, totalVirtualHeight: r }), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((o) => {
454
454
  const i = t(this, S).querySelector(o);
455
455
  if (!i) return;
@@ -458,8 +458,8 @@ const Pe = class Pe {
458
458
  });
459
459
  }, "#updateVirtualScrollHeight"));
460
460
  d(this, kt, /* @__PURE__ */ h(() => {
461
- if (t(this, nt) > 0 && t(this, z) > 0) {
462
- const n = Math.ceil(t(this, nt) / t(this, z));
461
+ if (t(this, nt) > 0 && t(this, O) > 0) {
462
+ const n = Math.ceil(t(this, nt) / t(this, O));
463
463
  p(this, qt, n + t(this, jt));
464
464
  }
465
465
  }, "#updateRowCount"));
@@ -501,7 +501,7 @@ const Pe = class Pe {
501
501
  const i = s.querySelector(".ng-part-header"), a = s.querySelector(".ng-part-footer");
502
502
  i && (o += i.offsetHeight), a && (o += a.offsetHeight);
503
503
  const c = Math.max(r - o, 100);
504
- t(this, nt) !== c && (p(this, nt, c), t(this, kt).call(this), t(this, z) !== null && (t(this, Lt).call(this), this.refresh()));
504
+ t(this, nt) !== c && (p(this, nt, c), t(this, kt).call(this), t(this, O) !== null && (t(this, Lt).call(this), this.refresh()));
505
505
  }
506
506
  }
507
507
  })), t(this, U).observe(t(this, S)));
@@ -533,7 +533,7 @@ const Pe = class Pe {
533
533
  }, "#adjustBufferRows"));
534
534
  d(this, ut, /* @__PURE__ */ h((n) => {
535
535
  var u, b;
536
- const e = t(this, z);
536
+ const e = t(this, O);
537
537
  if (!e || e <= 0) return;
538
538
  const s = t(this, F).data.length;
539
539
  if (s === 0) return;
@@ -603,14 +603,14 @@ const Pe = class Pe {
603
603
  p(this, F, n.getRootNode().host), p(this, S, n), t(this, Ut).call(this);
604
604
  }
605
605
  getRowHeight() {
606
- return t(this, z);
606
+ return t(this, O);
607
607
  }
608
608
  templateLength(n = ".ng-container-body") {
609
609
  var e;
610
610
  return ((e = t(this, P).get(n)) == null ? void 0 : e.length) || 1;
611
611
  }
612
612
  };
613
- F = new WeakMap(), S = new WeakMap(), st = new WeakMap(), P = new WeakMap(), z = new WeakMap(), U = new WeakMap(), nt = new WeakMap(), qt = new WeakMap(), Le = new WeakMap(), He = new WeakMap(), jt = new WeakMap(), Yt = new WeakMap(), Tt = new WeakMap(), Ct = new WeakMap(), kt = new WeakMap(), Vt = new WeakMap(), Ut = new WeakMap(), Lt = new WeakMap(), Ie = new WeakMap(), ut = new WeakMap(), Ht = new WeakMap(), Xt = new WeakMap(), h(Pe, "RowManager");
613
+ F = new WeakMap(), S = new WeakMap(), st = new WeakMap(), P = new WeakMap(), O = new WeakMap(), U = new WeakMap(), nt = new WeakMap(), qt = new WeakMap(), Le = new WeakMap(), He = new WeakMap(), jt = new WeakMap(), Yt = new WeakMap(), Tt = new WeakMap(), Ct = new WeakMap(), kt = new WeakMap(), Vt = new WeakMap(), Ut = new WeakMap(), Lt = new WeakMap(), Ie = new WeakMap(), ut = new WeakMap(), Ht = new WeakMap(), Xt = new WeakMap(), h(Pe, "RowManager");
614
614
  let pe = Pe;
615
615
  const Kt = class Kt {
616
616
  /**
@@ -1024,14 +1024,15 @@ const St = class St extends HTMLElement {
1024
1024
 
1025
1025
  nine-table-sheet td.selected,
1026
1026
  nine-table-sheet th.selected {
1027
- background-color: rgba(37, 99, 235, 0.08); /* μ€μ€ν•œ 선택 λ°°κ²½ */
1027
+ background-color: rgba(37, 99, 235, 0.08);
1028
+ position: relative; /* z-index와 가상 μš”μ†Œ 기쀀점 */
1028
1029
  }
1029
1030
 
1030
- /* μ™Έκ³½ κ²½κ³„μ„ μ—λ§Œ μ μš©λ˜λŠ” λ‹¨λ‹¨ν•œ ν…Œλ‘λ¦¬ */
1031
- nine-table-sheet td.selected-top { box-shadow: inset 0 2px 0 #2563eb !important; z-index: 2; }
1032
- nine-table-sheet td.selected-bottom { box-shadow: inset 0 -2px 0 #2563eb !important; z-index: 2; }
1033
- nine-table-sheet td.selected-left { box-shadow: inset 2px 0 0 #2563eb !important; z-index: 2; }
1034
- nine-table-sheet td.selected-right { box-shadow: inset -2px 0 0 #2563eb !important; z-index: 2; }
1031
+ /* box-shadow λŒ€μ‹  z-indexλ₯Ό 높이고 ν…Œλ‘λ¦¬ 선을 λšœλ ·ν•˜κ²Œ μ˜€λ²„λ ˆμ΄ */
1032
+ nine-table-sheet td.selected-top { border-top: 2px solid #2563eb; }
1033
+ nine-table-sheet td.selected-bottom { border-bottom: 2px solid #2563eb; }
1034
+ nine-table-sheet td.selected-left { border-left: 2px solid #2563eb; }
1035
+ nine-table-sheet td.selected-right { border-right: 2px solid #2563eb; }
1035
1036
  </style>
1036
1037
 
1037
1038
  <div class='ng-container-top'>
@@ -1314,18 +1315,18 @@ const Ve = class Ve {
1314
1315
  };
1315
1316
  _t = new WeakMap(), bt = new WeakMap(), h(Ve, "ngRow");
1316
1317
  let we = Ve;
1317
- var O, k, W, pt, re, X, oe, it, Nt, ie, ae, yt;
1318
+ var W, k, z, pt, re, X, oe, it, Nt, ie, ae, yt;
1318
1319
  const B = class B {
1319
1320
  constructor(n, e) {
1320
- d(this, O);
1321
+ d(this, W);
1321
1322
  d(this, k);
1322
- d(this, W, []);
1323
+ d(this, z, []);
1323
1324
  d(this, pt, []);
1324
1325
  d(this, re, 0);
1325
1326
  d(this, X, []);
1326
1327
  d(this, oe, /* @__PURE__ */ h(() => {
1327
1328
  p(this, X, []);
1328
- const n = t(this, O).template || [];
1329
+ const n = t(this, W).template || [];
1329
1330
  Array.from(n).forEach((e) => {
1330
1331
  var s;
1331
1332
  t(this, X).push(((s = e.getBoundingClientRect) == null ? void 0 : s.call(e).height) || 24);
@@ -1334,8 +1335,8 @@ const B = class B {
1334
1335
  });
1335
1336
  }, "#initialize"));
1336
1337
  d(this, it, /* @__PURE__ */ h(() => {
1337
- const n = t(this, O).shadowRoot.querySelector("nine-table-sheets");
1338
- n == null || n.classList.toggle("nodata", this.length === 0), t(this, O).shadowRoot.querySelectorAll("nine-table-sheet").forEach((e) => {
1338
+ const n = t(this, W).shadowRoot.querySelector("nine-table-sheets");
1339
+ n == null || n.classList.toggle("nodata", this.length === 0), t(this, W).shadowRoot.querySelectorAll("nine-table-sheet").forEach((e) => {
1339
1340
  e.invalidate();
1340
1341
  });
1341
1342
  }, "#invalidate"));
@@ -1345,7 +1346,7 @@ const B = class B {
1345
1346
  if (!s || s.length <= 0) return;
1346
1347
  if (n == null) return t(this, yt).call(this, s);
1347
1348
  if (n < 0 || n >= s.length) return null;
1348
- const r = typeof ((o = t(this, O).fields) == null ? void 0 : o.get) == "function" ? t(this, O).fields.get() : [];
1349
+ const r = typeof ((o = t(this, W).fields) == null ? void 0 : o.get) == "function" ? t(this, W).fields.get() : [];
1349
1350
  if (e != null) {
1350
1351
  const i = r.indexOf(e);
1351
1352
  return i >= 0 ? s[n].v[i] : null;
@@ -1365,16 +1366,16 @@ const B = class B {
1365
1366
  _: [0, 0, 0, 0, B.ROW_STATE.EMPTY, !1, !1, !0, !1, !0, !0, !1, t(this, X).slice(), -1, {}, {}]
1366
1367
  }), "#getDefaultMeta"));
1367
1368
  A(this, "reset", /* @__PURE__ */ h(() => {
1368
- p(this, W, []), p(this, pt, []), t(this, it).call(this);
1369
+ p(this, z, []), p(this, pt, []), t(this, it).call(this);
1369
1370
  }, "reset"));
1370
1371
  A(this, "clear", /* @__PURE__ */ h(() => {
1371
1372
  var n;
1372
- t(this, k).rawRecords = [], p(this, W, []), p(this, pt, []), (n = t(this, k).viewRecords) != null && n.reset && t(this, k).viewRecords.reset();
1373
+ t(this, k).rawRecords = [], p(this, z, []), p(this, pt, []), (n = t(this, k).viewRecords) != null && n.reset && t(this, k).viewRecords.reset();
1373
1374
  }, "clear"));
1374
1375
  d(this, ie, /* @__PURE__ */ h((n) => {
1375
1376
  var r;
1376
1377
  Array.isArray(n) || (n = [n]);
1377
- const e = typeof ((r = t(this, O).fields) == null ? void 0 : r.get) == "function" ? t(this, O).fields.get() : Object.keys(n[0] || {}), s = [];
1378
+ const e = typeof ((r = t(this, W).fields) == null ? void 0 : r.get) == "function" ? t(this, W).fields.get() : Object.keys(n[0] || {}), s = [];
1378
1379
  return n.forEach((o) => {
1379
1380
  const i = { v: [] };
1380
1381
  e.forEach((a) => {
@@ -1398,9 +1399,9 @@ const B = class B {
1398
1399
  A(this, "delete", /* @__PURE__ */ h((n) => {
1399
1400
  let e = [];
1400
1401
  Array.isArray(n) ? e = n : typeof n > "u" ? e = [t(this, k).host.row.at] : e = [parseInt(n, 10)], e.sort((s, r) => r - s).forEach((s) => {
1401
- if (t(this, W)[s]) {
1402
- const r = t(this, W)[s].__ng.rowid;
1403
- t(this, W)[s].__ng.rowState === B.ROW_STATE.INSERT ? t(this, k).rawRecords = t(this, k).rawRecords.filter((o) => o.__ng.rowid !== r) : t(this, k).rawRecords.forEach((o) => {
1402
+ if (t(this, z)[s]) {
1403
+ const r = t(this, z)[s].__ng.rowid;
1404
+ t(this, z)[s].__ng.rowState === B.ROW_STATE.INSERT ? t(this, k).rawRecords = t(this, k).rawRecords.filter((o) => o.__ng.rowid !== r) : t(this, k).rawRecords.forEach((o) => {
1404
1405
  o.__ng.rowid === r && (o.__ng.deleted = !0, o.__ng.rowState = B.ROW_STATE.DELETE);
1405
1406
  });
1406
1407
  }
@@ -1409,7 +1410,7 @@ const B = class B {
1409
1410
  A(this, "setValue", /* @__PURE__ */ h((n, e, s) => {
1410
1411
  var c;
1411
1412
  n = parseInt(n, 10);
1412
- const o = (typeof ((c = t(this, O).fields) == null ? void 0 : c.get) == "function" ? t(this, O).fields.get() : []).indexOf(e);
1413
+ const o = (typeof ((c = t(this, W).fields) == null ? void 0 : c.get) == "function" ? t(this, W).fields.get() : []).indexOf(e);
1413
1414
  if (o < 0) return;
1414
1415
  const i = this.getValidData()[n];
1415
1416
  if (!i) return;
@@ -1417,17 +1418,17 @@ const B = class B {
1417
1418
  a !== s && i.__ng.rowState !== B.ROW_STATE.INSERT && (i.__ng.o.hasOwnProperty(e) || (i.__ng.o[e] = a), i.__ng.rowState = B.ROW_STATE.UPDATE), i.v[o] = s;
1418
1419
  }, "setValue"));
1419
1420
  A(this, "resetRecords", /* @__PURE__ */ h(() => {
1420
- p(this, pt, t(this, k).rawRecords.filter((n) => !n.__ng.deleted)), p(this, W, t(this, k).rawRecords.filter((n) => !n.__ng.deleted && !n.__ng.filtered)), t(this, k).rawRecords.forEach((n, e) => {
1421
+ p(this, pt, t(this, k).rawRecords.filter((n) => !n.__ng.deleted)), p(this, z, t(this, k).rawRecords.filter((n) => !n.__ng.deleted && !n.__ng.filtered)), t(this, k).rawRecords.forEach((n, e) => {
1421
1422
  n.__ng.rowidx = e;
1422
- }), t(this, W).forEach((n, e) => {
1423
+ }), t(this, z).forEach((n, e) => {
1423
1424
  n.__ng.i = e;
1424
1425
  });
1425
1426
  }, "resetRecords"));
1426
- A(this, "getValidData", /* @__PURE__ */ h(() => (t(this, W).length === 0 && t(this, k).rawRecords.length > 0 && this.resetRecords(), t(this, W)), "getValidData"));
1427
+ A(this, "getValidData", /* @__PURE__ */ h(() => (t(this, z).length === 0 && t(this, k).rawRecords.length > 0 && this.resetRecords(), t(this, z)), "getValidData"));
1427
1428
  d(this, yt, /* @__PURE__ */ h((n) => {
1428
1429
  var i;
1429
1430
  if (!n) return n;
1430
- const e = !Array.isArray(n), s = e ? [n] : n, r = typeof ((i = t(this, O).fields) == null ? void 0 : i.get) == "function" ? t(this, O).fields.get() : [], o = s.filter((a) => !a.__ng.deleted).map((a) => {
1431
+ const e = !Array.isArray(n), s = e ? [n] : n, r = typeof ((i = t(this, W).fields) == null ? void 0 : i.get) == "function" ? t(this, W).fields.get() : [], o = s.filter((a) => !a.__ng.deleted).map((a) => {
1431
1432
  const c = {};
1432
1433
  return r.forEach((l, f) => {
1433
1434
  c[l] = a.v ? a.v[f] : a[l];
@@ -1436,7 +1437,7 @@ const B = class B {
1436
1437
  return e ? o[0] : o;
1437
1438
  }, "#conv"));
1438
1439
  A(this, "count", /* @__PURE__ */ h(() => this.getValidData().length, "count"));
1439
- p(this, O, n), p(this, k, e), t(this, oe).call(this);
1440
+ p(this, W, n), p(this, k, e), t(this, oe).call(this);
1440
1441
  }
1441
1442
  get source() {
1442
1443
  return t(this, yt).call(this, t(this, k).rawRecords);
@@ -1448,16 +1449,16 @@ const B = class B {
1448
1449
  return ++os(this, re)._;
1449
1450
  }
1450
1451
  get count() {
1451
- return t(this, W).length;
1452
+ return t(this, z).length;
1452
1453
  }
1453
1454
  get length() {
1454
- return t(this, W).length;
1455
+ return t(this, z).length;
1455
1456
  }
1456
1457
  getRowCount() {
1457
1458
  return this.length;
1458
1459
  }
1459
1460
  };
1460
- O = new WeakMap(), k = new WeakMap(), W = new WeakMap(), pt = new WeakMap(), re = new WeakMap(), X = new WeakMap(), oe = new WeakMap(), it = new WeakMap(), Nt = new WeakMap(), ie = new WeakMap(), ae = new WeakMap(), yt = new WeakMap(), h(B, "ngData"), // 🎯 ν–‰ μƒνƒœ μ •μ˜ μƒμˆ˜λ₯Ό 클래슀 λ‚΄λΆ€λ‘œ λ‚΄μž¬ν™”
1461
+ W = new WeakMap(), k = new WeakMap(), z = new WeakMap(), pt = new WeakMap(), re = new WeakMap(), X = new WeakMap(), oe = new WeakMap(), it = new WeakMap(), Nt = new WeakMap(), ie = new WeakMap(), ae = new WeakMap(), yt = new WeakMap(), h(B, "ngData"), // 🎯 ν–‰ μƒνƒœ μ •μ˜ μƒμˆ˜λ₯Ό 클래슀 λ‚΄λΆ€λ‘œ λ‚΄μž¬ν™”
1461
1462
  A(B, "ROW_STATE", {
1462
1463
  EMPTY: "EMPTY",
1463
1464
  NORMAL: "NORMAL",
@@ -1489,7 +1490,7 @@ const Ue = class Ue {
1489
1490
  };
1490
1491
  at = new WeakMap(), h(Ue, "ngDataManager");
1491
1492
  let Re = Ue;
1492
- var mt, H, zt, le;
1493
+ var mt, H, Ot, le;
1493
1494
  const Xe = class Xe {
1494
1495
  // 🎯 이제 { name: string, type: string } κ°μ²΄λ“€μ˜ λ°°μ—΄λ‘œ κ΄€λ¦¬ν•©λ‹ˆλ‹€.
1495
1496
  constructor(n) {
@@ -1498,9 +1499,9 @@ const Xe = class Xe {
1498
1499
  A(this, "add", /* @__PURE__ */ h((n, e = "string") => {
1499
1500
  n.forEach((s) => {
1500
1501
  t(this, H).some((r) => r.name === s) || t(this, H).push({ name: s, type: e });
1501
- }), t(this, zt).call(this);
1502
+ }), t(this, Ot).call(this);
1502
1503
  }, "add"));
1503
- d(this, zt, /* @__PURE__ */ h(() => {
1504
+ d(this, Ot, /* @__PURE__ */ h(() => {
1504
1505
  const n = /* @__PURE__ */ new Map();
1505
1506
  t(this, H).forEach((e) => {
1506
1507
  n.set(e.name, e.type);
@@ -1535,7 +1536,7 @@ const Xe = class Xe {
1535
1536
  });
1536
1537
  });
1537
1538
  });
1538
- t(this, zt).call(this);
1539
+ t(this, Ot).call(this);
1539
1540
  }
1540
1541
  }, "#init"));
1541
1542
  p(this, mt, n), t(this, le).call(this);
@@ -1560,7 +1561,7 @@ const Xe = class Xe {
1560
1561
  return t(this, H).some((e) => e.name === n);
1561
1562
  }
1562
1563
  };
1563
- mt = new WeakMap(), H = new WeakMap(), zt = new WeakMap(), le = new WeakMap(), h(Xe, "ngFields");
1564
+ mt = new WeakMap(), H = new WeakMap(), Ot = new WeakMap(), le = new WeakMap(), h(Xe, "ngFields");
1564
1565
  let Ee = Xe;
1565
1566
  var lt, ce, he;
1566
1567
  const Ke = class Ke extends HTMLElement {
@@ -1609,12 +1610,12 @@ const Rt = class Rt extends HTMLElement {
1609
1610
  };
1610
1611
  h(Rt, "BasicCellElement"), A(Rt, "_styleCache", /* @__PURE__ */ new Map()), A(Rt, "_customStyleCache", /* @__PURE__ */ new Map());
1611
1612
  let qe = Rt;
1612
- var L, Ot, x, Me, $e, _e, Ne, ze;
1613
+ var L, Wt, x, Me, $e, _e, Ne, Oe;
1613
1614
  const Ze = class Ze extends qe {
1614
1615
  constructor() {
1615
1616
  super();
1616
1617
  d(this, L);
1617
- d(this, Ot);
1618
+ d(this, Wt);
1618
1619
  d(this, x);
1619
1620
  d(this, Me);
1620
1621
  d(this, $e);
@@ -1640,7 +1641,7 @@ const Ze = class Ze extends qe {
1640
1641
  } catch {
1641
1642
  }
1642
1643
  }, "getDisplayText"));
1643
- d(this, ze, /* @__PURE__ */ h(() => {
1644
+ d(this, Oe, /* @__PURE__ */ h(() => {
1644
1645
  if (!(!t(this, L) || !t(this, L).template || !t(this, x).closest("tbody.bindable"))) {
1645
1646
  var e = ninegrid.j.querySelectorAll(t(this, x)).attr("suppress");
1646
1647
  if (e && (e = parseInt(e)), e && !isNaN(e)) {
@@ -1683,7 +1684,7 @@ const Ze = class Ze extends qe {
1683
1684
  }, "getExprValue"));
1684
1685
  }
1685
1686
  connectedCallback() {
1686
- super.connectedCallback(), p(this, L, this.getRootNode().host), p(this, x, this.closest("th,td")), p(this, Ot, t(this, x).closest("tr"));
1687
+ super.connectedCallback(), p(this, L, this.getRootNode().host), p(this, x, this.closest("th,td")), p(this, Wt, t(this, x).closest("tr"));
1687
1688
  }
1688
1689
  get value() {
1689
1690
  var e = !t(this, L) || !t(this, L).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];
@@ -1702,10 +1703,10 @@ const Ze = class Ze extends qe {
1702
1703
  }
1703
1704
  refresh() {
1704
1705
  const e = t(this, x).dataset.bind;
1705
- return parseInt(t(this, x).dataset.row), t(this, Ot).data[e];
1706
+ return parseInt(t(this, x).dataset.row), t(this, Wt).data[e];
1706
1707
  }
1707
1708
  };
1708
- L = new WeakMap(), Ot = new WeakMap(), x = new WeakMap(), Me = new WeakMap(), $e = new WeakMap(), _e = new WeakMap(), Ne = new WeakMap(), ze = new WeakMap(), h(Ze, "CellElement");
1709
+ L = new WeakMap(), Wt = new WeakMap(), x = new WeakMap(), Me = new WeakMap(), $e = new WeakMap(), _e = new WeakMap(), Ne = new WeakMap(), Oe = new WeakMap(), h(Ze, "CellElement");
1709
1710
  let Te = Ze;
1710
1711
  const Ge = class Ge extends Te {
1711
1712
  constructor() {
@@ -1720,11 +1721,11 @@ const Ge = class Ge extends Te {
1720
1721
  };
1721
1722
  h(Ge, "EditableCellElement");
1722
1723
  let Ce = Ge;
1723
- var Wt, ct, xt, vt, de, K, Oe;
1724
+ var zt, ct, xt, vt, de, K, We;
1724
1725
  const Je = class Je extends Ce {
1725
1726
  constructor() {
1726
1727
  super();
1727
- d(this, Wt);
1728
+ d(this, zt);
1728
1729
  d(this, ct);
1729
1730
  d(this, xt);
1730
1731
  d(this, vt);
@@ -1732,7 +1733,7 @@ const Je = class Je extends Ce {
1732
1733
  d(this, K);
1733
1734
  A(this, "refresh", /* @__PURE__ */ h(() => {
1734
1735
  const e = super.refresh();
1735
- t(this, Wt).value = e;
1736
+ t(this, zt).value = e;
1736
1737
  }, "refresh"));
1737
1738
  /**
1738
1739
  dataRefresh = (v) => {
@@ -1764,7 +1765,7 @@ const Je = class Je extends Ce {
1764
1765
  if (!v) this.reset();
1765
1766
  };
1766
1767
  */
1767
- d(this, Oe, /* @__PURE__ */ h((e) => {
1768
+ d(this, We, /* @__PURE__ */ h((e) => {
1768
1769
  if (!["Escape", "Enter", "Tab", "Home", "End", "ArrowLeft", "ArrowRight", "PageUp", "PageDown", "Backspace", "Delete"].includes(e.code)) {
1769
1770
  if (t(this, ct) == "number") {
1770
1771
  let o = [];
@@ -1789,10 +1790,10 @@ const Je = class Je extends Ce {
1789
1790
  ${e.join(" ")}
1790
1791
  ondragstart="return false;"
1791
1792
  >
1792
- `, super.connectedCallback(), p(this, Wt, this.querySelector("input"));
1793
+ `, super.connectedCallback(), p(this, zt, this.querySelector("input"));
1793
1794
  }
1794
1795
  };
1795
- Wt = new WeakMap(), ct = new WeakMap(), xt = new WeakMap(), vt = new WeakMap(), de = new WeakMap(), K = new WeakMap(), Oe = new WeakMap(), h(Je, "CellInputText");
1796
+ zt = new WeakMap(), ct = new WeakMap(), xt = new WeakMap(), vt = new WeakMap(), de = new WeakMap(), K = new WeakMap(), We = new WeakMap(), h(Je, "CellInputText");
1796
1797
  let ke = Je;
1797
1798
  customElements.get("cell-input-text");
1798
1799
  customElements.get("cell-input") || customElements.define("cell-input", ke);