@ninebone/grid 0.0.9 → 0.0.12

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.
package/dist/nine-grid.js CHANGED
@@ -78,7 +78,7 @@ customElements.get("nx-confirm-popup") || customElements.define("nx-confirm-popu
78
78
  customElements.get("nx-alert-popup") || customElements.define("nx-alert-popup", Dl);
79
79
  const St = class St {
80
80
  constructor() {
81
- console.log(`welcome nine-grid@${St.version}`, window.location.hostname);
81
+ console.log(`welcome nine-table@${St.version}`, window.location.hostname);
82
82
  }
83
83
  static extendElementPrototype() {
84
84
  "isHidden" in Element.prototype || Object.defineProperty(Element.prototype, "isHidden", {
@@ -278,7 +278,7 @@ it(St, "ROW", {
278
278
  if (nine.cssPath)
279
279
  return `@import "${nine.cssPath}/ninegrid/${t}"`;
280
280
  let l, c;
281
- return C.tagName == "NINE-GRID" ? c = C : (c = C.getRootNode().host, c && c.tagName != "NINE-GRID" && (c = c.getRootNode().host)), c && c.tagName == "NINE-GRID" && (l = c.getAttribute("css-path")), l || (l = St.cssPath), l ? `@import "${l}/${t}";` : "";
281
+ return C.tagName == "NINE-TABLE" ? c = C : (c = C.getRootNode().host, c && c.tagName != "NINE-TABLE" && (c = c.getRootNode().host)), c && c.tagName == "NINE-TABLE" && (l = c.getAttribute("css-path")), l || (l = St.cssPath), l ? `@import "${l}/${t}";` : "";
282
282
  }), it(St, "closest", (C, t) => {
283
283
  let l = t;
284
284
  for (; l; ) {
@@ -446,7 +446,7 @@ it(St, "ROW", {
446
446
  updateContent: () => {
447
447
  St.querySelectorAll("nx-i18n,nx-span").forEach((C) => {
448
448
  C.refresh && C.refresh();
449
- }), St.querySelectorAll("nine-grid").forEach((C) => {
449
+ }), St.querySelectorAll("nine-table").forEach((C) => {
450
450
  C.refresh && C.refreshData();
451
451
  });
452
452
  },
@@ -648,14 +648,6 @@ class Du extends HTMLElement {
648
648
  }
649
649
  }
650
650
  customElements.get("nine-grid4") || customElements.define("nine-grid4", Du);
651
- class Bu extends HTMLElement {
652
- constructor() {
653
- super(), this.attachShadow({ mode: "open" });
654
- const C = document.createElement("button");
655
- C.textContent = "클릭하세요!", C.style.padding = "10px", C.style.backgroundColor = "blue", C.style.color = "white", this.shadowRoot.appendChild(C);
656
- }
657
- }
658
- customElements.get("nine-grid3") || customElements.define("nine-grid3", Bu);
659
651
  var Xn, Yn, Gn, os, Bl;
660
652
  class Mr extends HTMLElement {
661
653
  constructor() {
@@ -789,7 +781,7 @@ class Mr extends HTMLElement {
789
781
  }
790
782
  connectedCallback() {
791
783
  let t = this.getRootNode().host;
792
- if (t && t.tagName != "NINE-GRID" && (t = t.getRootNode().host), this.owner = t && t.tagName == "NINE-GRID" ? t : null, this.cell = this.closest("th,td"), this.cell && this.shadowRoot) {
784
+ if (t && t.tagName != "NINE-TABLE" && (t = t.getRootNode().host), this.owner = t && t.tagName == "NINE-TABLE" ? t : null, this.cell = this.closest("th,td"), this.cell && this.shadowRoot) {
793
785
  tt(this, Xn, this.getAttribute("show-icon") == "true" || this.cell.getAttribute("show-icon") == "true"), tt(this, Yn, this.getAttribute("show-check") == "true" || this.cell.getAttribute("show-check") == "true"), tt(this, Gn, this.getAttribute("show-button") == "true" || this.cell.getAttribute("show-button") == "true"), this.cell.dataset.bind && H.j.querySelectorAll(this).addClass(this.cell.dataset.bind);
794
786
  const c = this.shadowRoot.querySelector("style"), o = this.getAttribute("text-align") || this.cell.getAttribute("text-align") || "left";
795
787
  if (H.j.querySelectorAll(this).addClass(`ng-${o}`), f(this, Xn)) {
@@ -887,7 +879,7 @@ class Si extends Mr {
887
879
  }
888
880
  }
889
881
  var ks;
890
- class Fu extends Mr {
882
+ class Bu extends Mr {
891
883
  constructor() {
892
884
  super();
893
885
  Y(this, ks);
@@ -919,9 +911,9 @@ class Fu extends Mr {
919
911
  }
920
912
  }
921
913
  ks = new WeakMap();
922
- customElements.get("ng-button") || customElements.define("ng-button", Fu);
914
+ customElements.get("ng-button") || customElements.define("ng-button", Bu);
923
915
  var Ve, Fl, ql, Hl, zl;
924
- class qu {
916
+ class Fu {
925
917
  constructor(C) {
926
918
  Y(this, Ve);
927
919
  Y(this, Fl, (C) => {
@@ -969,8 +961,8 @@ class qu {
969
961
  }
970
962
  }
971
963
  Ve = new WeakMap(), Fl = new WeakMap(), ql = new WeakMap(), Hl = new WeakMap(), zl = new WeakMap();
972
- var Xt, Ul, Ri, Cs, Es, Mi, As, Ii, Kn, Ni, Oi, lr, Su, ku, zu, Cu, Eu, Au, Uu, Tu, Js, ji, Zn, Jn, Qn, to;
973
- class Hu {
964
+ var Xt, Ul, Ri, Cs, Es, Mi, As, Ii, Kn, Ni, Oi, lr, Su, ku, Hu, Cu, Eu, Au, zu, Tu, Js, ji, Zn, Jn, Qn, to;
965
+ class qu {
974
966
  constructor(C) {
975
967
  Y(this, lr);
976
968
  Y(this, Xt);
@@ -1154,7 +1146,7 @@ Xt = new WeakMap(), Ul = new WeakMap(), Ri = new WeakMap(), Cs = new WeakMap(),
1154
1146
  return f(this, Es);
1155
1147
  }, ku = function(C) {
1156
1148
  tt(this, Cs, f(this, Es)), tt(this, Es, parseInt(C));
1157
- }, zu = function() {
1149
+ }, Hu = function() {
1158
1150
  return f(this, Ii);
1159
1151
  }, Cu = function(C) {
1160
1152
  tt(this, Kn, f(this, Ii)), tt(this, Ii, parseInt(C));
@@ -1162,13 +1154,13 @@ Xt = new WeakMap(), Ul = new WeakMap(), Ri = new WeakMap(), Cs = new WeakMap(),
1162
1154
  return f(this, As);
1163
1155
  }, Au = function(C) {
1164
1156
  tt(this, Mi, f(this, As)), tt(this, As, parseInt(C));
1165
- }, Uu = function() {
1157
+ }, zu = function() {
1166
1158
  return f(this, Oi);
1167
1159
  }, Tu = function(C) {
1168
1160
  tt(this, Ni, f(this, Oi)), tt(this, Oi, C);
1169
1161
  }, Js = new WeakMap(), ji = new WeakMap(), Zn = new WeakMap(), Jn = new WeakMap(), Qn = new WeakMap(), to = new WeakMap();
1170
1162
  var kt, wr, $i, Vl, eo;
1171
- class Vu {
1163
+ class Uu {
1172
1164
  constructor(C) {
1173
1165
  Y(this, kt);
1174
1166
  Y(this, wr);
@@ -1408,7 +1400,7 @@ class Vu {
1408
1400
  }
1409
1401
  kt = new WeakMap(), wr = new WeakMap(), $i = new WeakMap(), Vl = new WeakMap(), eo = new WeakMap();
1410
1402
  var Ot, as, ro, so, io, Ir, no, oo, cr, ao, Wl, Xl, Yl, Gl, Kl, Zl, lo, ho, co, uo;
1411
- class Wu {
1403
+ class Vu {
1412
1404
  constructor(C) {
1413
1405
  Y(this, Ot);
1414
1406
  Y(this, as);
@@ -1568,7 +1560,7 @@ class Wu {
1568
1560
  }
1569
1561
  Ot = new WeakMap(), as = new WeakMap(), ro = new WeakMap(), so = new WeakMap(), io = new WeakMap(), Ir = new WeakMap(), no = new WeakMap(), oo = new WeakMap(), cr = new WeakMap(), ao = new WeakMap(), Wl = new WeakMap(), Xl = new WeakMap(), Yl = new WeakMap(), Gl = new WeakMap(), Kl = new WeakMap(), Zl = new WeakMap(), lo = new WeakMap(), ho = new WeakMap(), co = new WeakMap(), uo = new WeakMap();
1570
1562
  var Jl, Ql, Li, fo, Pi;
1571
- class Xu extends Mr {
1563
+ class Wu extends Mr {
1572
1564
  constructor() {
1573
1565
  super();
1574
1566
  Y(this, Jl);
@@ -1650,9 +1642,9 @@ class Xu extends Mr {
1650
1642
  }
1651
1643
  }
1652
1644
  Jl = new WeakMap(), Ql = new WeakMap(), Li = new WeakMap(), fo = new WeakMap(), Pi = new WeakMap();
1653
- customElements.get("ng-line-chart") || customElements.define("ng-line-chart", Xu);
1645
+ customElements.get("ng-line-chart") || customElements.define("ng-line-chart", Wu);
1654
1646
  var Di, Bi, po, Fi, qi;
1655
- class Yu extends Si {
1647
+ class Xu extends Si {
1656
1648
  constructor() {
1657
1649
  super();
1658
1650
  Y(this, Di);
@@ -1716,9 +1708,9 @@ class Yu extends Si {
1716
1708
  }
1717
1709
  }
1718
1710
  Di = new WeakMap(), Bi = new WeakMap(), po = new WeakMap(), Fi = new WeakMap(), qi = new WeakMap();
1719
- customElements.get("ng-checkbox") || customElements.define("ng-checkbox", Yu);
1711
+ customElements.get("ng-checkbox") || customElements.define("ng-checkbox", Xu);
1720
1712
  var Qs, Pr, mo, Hi, go, th;
1721
- class Gu extends HTMLElement {
1713
+ class Yu extends HTMLElement {
1722
1714
  constructor() {
1723
1715
  super();
1724
1716
  Y(this, Qs);
@@ -1756,8 +1748,8 @@ class Gu extends HTMLElement {
1756
1748
  }
1757
1749
  }
1758
1750
  Qs = new WeakMap(), Pr = new WeakMap(), mo = new WeakMap(), Hi = new WeakMap(), go = new WeakMap(), th = new WeakMap();
1759
- customElements.get("ng-col-expand") || customElements.define("ng-col-expand", Gu);
1760
- class Ku extends HTMLElement {
1751
+ customElements.get("ng-col-expand") || customElements.define("ng-col-expand", Yu);
1752
+ class Gu extends HTMLElement {
1761
1753
  constructor() {
1762
1754
  super(), this.attachShadow({ mode: "open" });
1763
1755
  }
@@ -1781,7 +1773,7 @@ class Ku extends HTMLElement {
1781
1773
  `;
1782
1774
  }
1783
1775
  }
1784
- class Zu extends HTMLElement {
1776
+ class Ku extends HTMLElement {
1785
1777
  constructor() {
1786
1778
  super(), this.attachShadow({ mode: "open" });
1787
1779
  }
@@ -1831,10 +1823,10 @@ class Zu extends HTMLElement {
1831
1823
  `;
1832
1824
  }
1833
1825
  }
1834
- customElements.get("ng-col-mover-grip") || customElements.define("ng-col-mover-grip", Ku);
1835
- customElements.get("ng-col-mover-indi") || customElements.define("ng-col-mover-indi", Zu);
1826
+ customElements.get("ng-col-mover-grip") || customElements.define("ng-col-mover-grip", Gu);
1827
+ customElements.get("ng-col-mover-indi") || customElements.define("ng-col-mover-indi", Ku);
1836
1828
  var we, Nr, Dr, bo, xr, zi, Br, yo, ou, vo, au, wo, xo, Ui, Vi, _o;
1837
- class Ju {
1829
+ class Zu {
1838
1830
  constructor(C) {
1839
1831
  Y(this, we);
1840
1832
  Y(this, Nr);
@@ -1953,7 +1945,7 @@ class Ju {
1953
1945
  }
1954
1946
  we = new WeakMap(), Nr = new WeakMap(), Dr = new WeakMap(), bo = new WeakMap(), xr = new WeakMap(), zi = new WeakMap(), Br = new WeakMap(), yo = new WeakMap(), ou = new WeakMap(), vo = new WeakMap(), au = new WeakMap(), wo = new WeakMap(), xo = new WeakMap(), Ui = new WeakMap(), Vi = new WeakMap(), _o = new WeakMap();
1955
1947
  var Me, _r, Sr, Ts, Rs, Fr, kr, Ms, Is, So, ko, Co, lu, Eo, eh, Ao, Wi, Xi, Yi, ti, Gi, rh;
1956
- class Qu {
1948
+ class Ju {
1957
1949
  constructor(C) {
1958
1950
  Y(this, Me);
1959
1951
  Y(this, _r);
@@ -2060,7 +2052,7 @@ class Qu {
2060
2052
  }
2061
2053
  Me = new WeakMap(), _r = new WeakMap(), Sr = new WeakMap(), Ts = new WeakMap(), Rs = new WeakMap(), Fr = new WeakMap(), kr = new WeakMap(), Ms = new WeakMap(), Is = new WeakMap(), So = new WeakMap(), ko = new WeakMap(), Co = new WeakMap(), lu = new WeakMap(), Eo = new WeakMap(), eh = new WeakMap(), Ao = new WeakMap(), Wi = new WeakMap(), Xi = new WeakMap(), Yi = new WeakMap(), ti = new WeakMap(), Gi = new WeakMap(), rh = new WeakMap();
2062
2054
  var ue, ei, Or, Ki, To, sh;
2063
- class td {
2055
+ class Qu {
2064
2056
  constructor(C) {
2065
2057
  Y(this, ue);
2066
2058
  it(this, "count", () => f(this, ue).activeTmpl.querySelectorAll("[data-bind]").length);
@@ -2260,7 +2252,7 @@ class td {
2260
2252
  }
2261
2253
  ue = new WeakMap(), ei = new WeakMap(), Or = new WeakMap(), Ki = new WeakMap(), To = new WeakMap(), sh = new WeakMap();
2262
2254
  var ih, Zi, Le, rr, Ro, Ns, ri, Ji, nh, oh, ah, lh, hu;
2263
- class ed extends Si {
2255
+ class td extends Si {
2264
2256
  constructor() {
2265
2257
  super();
2266
2258
  Y(this, ih, 10);
@@ -2346,7 +2338,7 @@ class ed extends Si {
2346
2338
  }
2347
2339
  ih = new WeakMap(), Zi = new WeakMap(), Le = new WeakMap(), rr = new WeakMap(), Ro = new WeakMap(), Ns = new WeakMap(), ri = new WeakMap(), Ji = new WeakMap(), nh = new WeakMap(), oh = new WeakMap(), ah = new WeakMap(), lh = new WeakMap(), hu = new WeakMap();
2348
2340
  var Mo, Pe, Os, si, Qi, hh, Io, ch, No, tn, cu, uh, dh;
2349
- class rd extends HTMLElement {
2341
+ class ed extends HTMLElement {
2350
2342
  constructor() {
2351
2343
  super();
2352
2344
  Y(this, Mo);
@@ -2361,13 +2353,13 @@ class rd extends HTMLElement {
2361
2353
  ["TH", "TD"].includes(t.target.tagName) && ["Enter"].includes(t.code) && (f(this, Pe).multi ? f(this, No).call(this, t) : f(this, tn).call(this, t));
2362
2354
  });
2363
2355
  Y(this, ch, (t) => {
2364
- var l = this.shadowRoot.querySelector("nine-grid"), c = l.fields.indexOf("CHK");
2356
+ var l = this.shadowRoot.querySelector("nine-table"), c = l.fields.indexOf("CHK");
2365
2357
  l.data.getValidData().map((o) => {
2366
2358
  o.v[c] = $(t.target).prop("checked") ? "Y" : "N";
2367
2359
  }), l.refreshData();
2368
2360
  });
2369
2361
  Y(this, No, (t) => {
2370
- var l = this.shadowRoot.querySelector("nine-grid"), c = l.data.getValidData();
2362
+ var l = this.shadowRoot.querySelector("nine-table"), c = l.data.getValidData();
2371
2363
  const o = l.fields.indexOf("CHK"), r = l.fields.indexOf(f(this, Os));
2372
2364
  var n = [];
2373
2365
  c.forEach((e) => {
@@ -2378,7 +2370,7 @@ class rd extends HTMLElement {
2378
2370
  });
2379
2371
  Y(this, tn, (t) => {
2380
2372
  if (t.target.tagName != "NG-CHECKBOX" && (t.preventDefault(), t.stopPropagation()), !f(this, Pe).multi) {
2381
- var l = this.shadowRoot.querySelector("nine-grid"), c = t.target.closest("th,td");
2373
+ var l = this.shadowRoot.querySelector("nine-table"), c = t.target.closest("th,td");
2382
2374
  $(c).blur(), f(this, Pe).value = l.data.get(c.dataset.row)[f(this, Os)], this.row = this.col = -1, $(this).hide(), f(this, Pe).getRootNode().host.cell.currentCell = f(this, Pe).closest("th,td");
2383
2375
  }
2384
2376
  });
@@ -2386,7 +2378,7 @@ class rd extends HTMLElement {
2386
2378
  t.preventDefault(), t.stopPropagation(), $(this).hide();
2387
2379
  });
2388
2380
  Y(this, uh, (t) => {
2389
- var l = this.shadowRoot.querySelector("nine-grid");
2381
+ var l = this.shadowRoot.querySelector("nine-table");
2390
2382
  H.j.querySelectorAll(l).addClass("loading");
2391
2383
  var c = l.data.getValidDataNF();
2392
2384
  c.map((r) => {
@@ -2407,7 +2399,7 @@ class rd extends HTMLElement {
2407
2399
  }, 200));
2408
2400
  });
2409
2401
  it(this, "refresh", (t, l, c, o) => {
2410
- var r = this.shadowRoot.querySelector("nine-grid");
2402
+ var r = this.shadowRoot.querySelector("nine-table");
2411
2403
  $(this.shadowRoot).find("input[type=text]").val(""), $("input[type=checkbox]", this).prop("checked", !0), tt(this, Qi, o), $(".ng-table tbody", r.body).off("click", "th,td", f(this, tn)), $(".ng-table tbody", r.body).on("click", "th,td", f(this, tn)), tt(this, Pe, t), tt(this, Os, c), $("th,td", r.template).each((i, u) => {
2412
2404
  $(u).hide();
2413
2405
  }), $("thead th", r).each((i, u) => {
@@ -2441,7 +2433,7 @@ class rd extends HTMLElement {
2441
2433
  }), $(".ng-table tbody", r.body).off("keydown", "th,td", f(this, Io)), $(".ng-table tbody", r.body).on("keydown", "th,td", f(this, Io));
2442
2434
  });
2443
2435
  Y(this, dh, () => {
2444
- var t = this.shadowRoot.querySelector("nine-grid");
2436
+ var t = this.shadowRoot.querySelector("nine-table");
2445
2437
  $("col", t.body).each((o, r) => {
2446
2438
  r.setAttribute("width", "0");
2447
2439
  }), $("th", t.body).each((o, r) => {
@@ -2456,7 +2448,7 @@ class rd extends HTMLElement {
2456
2448
  c += parseInt(r.getAttribute("width"));
2457
2449
  }) : $(".ng-container-body col", t.body).each((o, r) => {
2458
2450
  c += parseInt(r.getAttribute("width"));
2459
- }), c < $(f(this, Pe)).width() && (c = $(f(this, Pe)).width() - 8), c > $(f(this, Pe).closest("nine-grid")).width() && (c = $(f(this, Pe).closest("nine-grid")).width()), $(this).css({
2451
+ }), c < $(f(this, Pe)).width() && (c = $(f(this, Pe)).width() - 8), c > $(f(this, Pe).closest("nine-table")).width() && (c = $(f(this, Pe).closest("nine-table")).width()), $(this).css({
2460
2452
  width: c,
2461
2453
  "min-width": c
2462
2454
  }), $(".ng-container-body .ng-table", t.body).css({ left: 0 });
@@ -2464,7 +2456,7 @@ class rd extends HTMLElement {
2464
2456
  this.attachShadow({ mode: "open" });
2465
2457
  }
2466
2458
  connectedCallback() {
2467
- tt(this, Mo, this.getRootNode().host.closest("nine-grid"));
2459
+ tt(this, Mo, this.getRootNode().host.closest("nine-table"));
2468
2460
  const t = f(this, Mo).getAttribute("css-path") || "";
2469
2461
  this.shadowRoot.innerHTML = `
2470
2462
  <style>
@@ -2475,7 +2467,7 @@ class rd extends HTMLElement {
2475
2467
  <div class="head">
2476
2468
  <input type="text">
2477
2469
  </div>
2478
- <nine-grid class="simple combo" css-path="${t}" select-type="row" auto-fit-col="true">
2470
+ <nine-table class="simple combo" css-path="${t}" select-type="row" auto-fit-col="true">
2479
2471
  <table>
2480
2472
  <colgroup>
2481
2473
  <col width="0" fixed="left" />
@@ -2508,7 +2500,7 @@ class rd extends HTMLElement {
2508
2500
  </tr>
2509
2501
  </tbody>
2510
2502
  </table>
2511
- </nine-grid>
2503
+ </nine-table>
2512
2504
  <div>
2513
2505
  <input id="chkAll" type="checkbox" checked><label for="chkAll">Select All</label>
2514
2506
  <button id="btnOk">OK</button>
@@ -2517,10 +2509,10 @@ class rd extends HTMLElement {
2517
2509
  }
2518
2510
  }
2519
2511
  Mo = new WeakMap(), Pe = new WeakMap(), Os = new WeakMap(), si = new WeakMap(), Qi = new WeakMap(), hh = new WeakMap(), Io = new WeakMap(), ch = new WeakMap(), No = new WeakMap(), tn = new WeakMap(), cu = new WeakMap(), uh = new WeakMap(), dh = new WeakMap();
2520
- customElements.get("ng-combo") || customElements.define("ng-combo", ed);
2521
- customElements.get("ng-combo-panel") || customElements.define("ng-combo-panel", rd);
2512
+ customElements.get("ng-combo") || customElements.define("ng-combo", td);
2513
+ customElements.get("ng-combo-panel") || customElements.define("ng-combo-panel", ed);
2522
2514
  var en, Oo, rn, ii, sn, Wr, fh, jo, ph;
2523
- class sd {
2515
+ class rd {
2524
2516
  constructor(C) {
2525
2517
  Y(this, en);
2526
2518
  Y(this, Oo);
@@ -2564,7 +2556,7 @@ class sd {
2564
2556
  }
2565
2557
  en = new WeakMap(), Oo = new WeakMap(), rn = new WeakMap(), ii = new WeakMap(), sn = new WeakMap(), Wr = new WeakMap(), fh = new WeakMap(), jo = new WeakMap(), ph = new WeakMap();
2566
2558
  var $o, mh;
2567
- class id extends HTMLElement {
2559
+ class sd extends HTMLElement {
2568
2560
  constructor() {
2569
2561
  super();
2570
2562
  it(this, "init", (t) => {
@@ -2603,9 +2595,9 @@ class id extends HTMLElement {
2603
2595
  }
2604
2596
  }
2605
2597
  $o = new WeakMap(), mh = new WeakMap();
2606
- customElements.get("ng-context-menu-panel") || customElements.define("ng-context-menu-panel", id);
2598
+ customElements.get("ng-context-menu-panel") || customElements.define("ng-context-menu-panel", sd);
2607
2599
  var qr, Lo, gh, bh, yh;
2608
- class nd {
2600
+ class id {
2609
2601
  /**
2610
2602
  * focus event, keyboard event, mouse event : common.js
2611
2603
  *
@@ -2639,7 +2631,7 @@ class nd {
2639
2631
  }
2640
2632
  qr = new WeakMap(), Lo = new WeakMap(), gh = new WeakMap(), bh = new WeakMap(), yh = new WeakMap();
2641
2633
  var Xr, Po, ls;
2642
- class od {
2634
+ class nd {
2643
2635
  constructor(C) {
2644
2636
  Y(this, Xr);
2645
2637
  Y(this, Po);
@@ -2661,7 +2653,7 @@ class od {
2661
2653
  }
2662
2654
  Xr = new WeakMap(), Po = new WeakMap(), ls = new WeakMap();
2663
2655
  var He, Ft, $e, Cr, ni, js, nn, Do, on, Bo, Fo, vh, qo, Ho, an, ln, zo, Uo, Vo;
2664
- class ad {
2656
+ class od {
2665
2657
  constructor(C, t) {
2666
2658
  Y(this, He);
2667
2659
  Y(this, Ft);
@@ -3251,9 +3243,9 @@ class ad {
3251
3243
  }
3252
3244
  }
3253
3245
  He = new WeakMap(), Ft = new WeakMap(), $e = new WeakMap(), Cr = new WeakMap(), ni = new WeakMap(), js = new WeakMap(), nn = new WeakMap(), Do = new WeakMap(), on = new WeakMap(), Bo = new WeakMap(), Fo = new WeakMap(), vh = new WeakMap(), qo = new WeakMap(), Ho = new WeakMap(), an = new WeakMap(), ln = new WeakMap(), zo = new WeakMap(), Uo = new WeakMap(), Vo = new WeakMap();
3254
- class ld {
3246
+ class ad {
3255
3247
  constructor(C) {
3256
- this.owner = C, this.row = new od(this), this.data = new ad(C, this), this.setDataSource = (l) => {
3248
+ this.owner = C, this.row = new nd(this), this.data = new od(C, this), this.setDataSource = (l) => {
3257
3249
  this.data && this.data.reset(), this.pageCnt = 25, this.rawRecords = [], this.viewRecords = [], this.delRecords = [], this.viewRecords.touch = () => {
3258
3250
  this.viewRecords.updateCnt = (this.viewRecords.updateCnt || 0) + 1;
3259
3251
  }, this.viewRecords.rawIndex = 0, this.viewRecords.setPageCnt = (c) => {
@@ -3306,7 +3298,7 @@ class ld {
3306
3298
  ["first", "last", "count", "add", "insert", "move", "delete"].includes(t) || (this.data[t] = this.row[t]);
3307
3299
  }
3308
3300
  }
3309
- class hd extends HTMLElement {
3301
+ class ld extends HTMLElement {
3310
3302
  constructor() {
3311
3303
  super(), this.attachShadow({ mode: "open" });
3312
3304
  }
@@ -3397,7 +3389,7 @@ class hd extends HTMLElement {
3397
3389
  });
3398
3390
  }
3399
3391
  }
3400
- class cd extends HTMLElement {
3392
+ class hd extends HTMLElement {
3401
3393
  constructor() {
3402
3394
  super(), this.attachShadow({ mode: "open" });
3403
3395
  }
@@ -3412,7 +3404,7 @@ class cd extends HTMLElement {
3412
3404
  `;
3413
3405
  }
3414
3406
  }
3415
- class ud extends HTMLElement {
3407
+ class cd extends HTMLElement {
3416
3408
  constructor() {
3417
3409
  super(), this.attachShadow({ mode: "open" });
3418
3410
  }
@@ -3427,11 +3419,11 @@ class ud extends HTMLElement {
3427
3419
  `;
3428
3420
  }
3429
3421
  }
3430
- customElements.get("ng-expand-icon") || customElements.define("ng-expand-icon", hd);
3431
- customElements.get("ng-expand-check") || customElements.define("ng-expand-check", cd);
3432
- customElements.get("ng-expand-button") || customElements.define("ng-expand-button", ud);
3422
+ customElements.get("ng-expand-icon") || customElements.define("ng-expand-icon", ld);
3423
+ customElements.get("ng-expand-check") || customElements.define("ng-expand-check", hd);
3424
+ customElements.get("ng-expand-button") || customElements.define("ng-expand-button", cd);
3433
3425
  var pe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3434
- function dd(mt) {
3426
+ function ud(mt) {
3435
3427
  return mt && mt.__esModule && Object.prototype.hasOwnProperty.call(mt, "default") ? mt.default : mt;
3436
3428
  }
3437
3429
  function Pl(mt) {
@@ -3440,7 +3432,7 @@ function Pl(mt) {
3440
3432
  var tu = { exports: {} };
3441
3433
  /*! ExcelJS 19-10-2023 */
3442
3434
  var _u;
3443
- function fd() {
3435
+ function dd() {
3444
3436
  return _u || (_u = 1, (function(mt, C) {
3445
3437
  (function(t) {
3446
3438
  mt.exports = t();
@@ -26454,10 +26446,10 @@ use chrome, FireFox or Internet Explorer 11`);
26454
26446
  }));
26455
26447
  })(tu)), tu.exports;
26456
26448
  }
26457
- var pd = fd();
26458
- const md = /* @__PURE__ */ dd(pd);
26449
+ var fd = dd();
26450
+ const pd = /* @__PURE__ */ ud(fd);
26459
26451
  var Ie, Wo, hn, hs;
26460
- class gd {
26452
+ class md {
26461
26453
  constructor(C, t) {
26462
26454
  Y(this, Ie);
26463
26455
  Y(this, Wo);
@@ -26548,7 +26540,7 @@ class gd {
26548
26540
  });
26549
26541
  };
26550
26542
  $(f(this, hn)).html("generate..."), f(this, hs).setAttribute("max", f(this, Ie).data.count()), f(this, hs).setAttribute("value", 0);
26551
- const n = new md.Workbook(), s = n.addWorksheet("Sheet1");
26543
+ const n = new pd.Workbook(), s = n.addWorksheet("Sheet1");
26552
26544
  var e = 0;
26553
26545
  s.getColumn(++e).width = 10, $(".col-indicator-rowgroup .col-indicator:not(.dummy)", f(this, Ie).body).not(".first").not(".last").each((p, m) => {
26554
26546
  if (p == 0) return !0;
@@ -26675,13 +26667,13 @@ class Ru extends HTMLElement {
26675
26667
  </div>
26676
26668
  <progress id="progress-bar" value="0" max="100">50%</progress>
26677
26669
  </nx-dialog>
26678
- `, tt(this, oi, this.shadowRoot.querySelector("dialog")), tt(this, Xo, new gd(f(this, cn), f(this, oi))), f(this, wh).call(this);
26670
+ `, tt(this, oi, this.shadowRoot.querySelector("dialog")), tt(this, Xo, new md(f(this, cn), f(this, oi))), f(this, wh).call(this);
26679
26671
  }
26680
26672
  }
26681
26673
  oi = new WeakMap(), cn = new WeakMap(), Xo = new WeakMap(), uu = new WeakMap(), du = new WeakMap(), wh = new WeakMap();
26682
26674
  customElements.get("ng-export") || customElements.define("ng-export", Ru);
26683
26675
  var Yo, nr, Go, xh;
26684
- class bd {
26676
+ class gd {
26685
26677
  constructor(C) {
26686
26678
  Y(this, Yo);
26687
26679
  Y(this, nr);
@@ -26738,7 +26730,7 @@ class bd {
26738
26730
  }
26739
26731
  Yo = new WeakMap(), nr = new WeakMap(), Go = new WeakMap(), xh = new WeakMap();
26740
26732
  var _h;
26741
- class yd extends HTMLElement {
26733
+ class bd extends HTMLElement {
26742
26734
  constructor() {
26743
26735
  super();
26744
26736
  Y(this, _h);
@@ -26758,7 +26750,7 @@ class yd extends HTMLElement {
26758
26750
  }
26759
26751
  _h = new WeakMap();
26760
26752
  var un, cs, Hr, us, Sh;
26761
- class vd extends HTMLElement {
26753
+ class yd extends HTMLElement {
26762
26754
  constructor() {
26763
26755
  super();
26764
26756
  Y(this, un);
@@ -26802,10 +26794,10 @@ class vd extends HTMLElement {
26802
26794
  }
26803
26795
  }
26804
26796
  un = new WeakMap(), cs = new WeakMap(), Hr = new WeakMap(), us = new WeakMap(), Sh = new WeakMap();
26805
- customElements.get("ng-layout") || customElements.define("ng-layout", vd);
26806
- customElements.get("ng-foot") || customElements.define("ng-foot", yd);
26797
+ customElements.get("ng-layout") || customElements.define("ng-layout", yd);
26798
+ customElements.get("ng-foot") || customElements.define("ng-foot", bd);
26807
26799
  var Ko;
26808
- class wd extends HTMLElement {
26800
+ class vd extends HTMLElement {
26809
26801
  constructor() {
26810
26802
  super();
26811
26803
  Y(this, Ko);
@@ -26826,7 +26818,7 @@ class wd extends HTMLElement {
26826
26818
  }
26827
26819
  Ko = new WeakMap();
26828
26820
  var dn;
26829
- class xd extends HTMLElement {
26821
+ class wd extends HTMLElement {
26830
26822
  constructor() {
26831
26823
  super();
26832
26824
  Y(this, dn);
@@ -26840,7 +26832,7 @@ class xd extends HTMLElement {
26840
26832
  }
26841
26833
  dn = new WeakMap();
26842
26834
  var kh;
26843
- class _d extends HTMLElement {
26835
+ class xd extends HTMLElement {
26844
26836
  constructor() {
26845
26837
  super();
26846
26838
  Y(this, kh);
@@ -26853,9 +26845,9 @@ class _d extends HTMLElement {
26853
26845
  }
26854
26846
  }
26855
26847
  kh = new WeakMap();
26856
- customElements.get("ng-title") || customElements.define("ng-title", xd);
26857
- customElements.get("ng-custom") || customElements.define("ng-custom", _d);
26858
- customElements.get("ng-head") || customElements.define("ng-head", wd);
26848
+ customElements.get("ng-title") || customElements.define("ng-title", wd);
26849
+ customElements.get("ng-custom") || customElements.define("ng-custom", xd);
26850
+ customElements.get("ng-head") || customElements.define("ng-head", vd);
26859
26851
  class Kc extends HTMLElement {
26860
26852
  constructor() {
26861
26853
  super(), this.attachShadow({ mode: "open" });
@@ -26887,7 +26879,7 @@ class Kc extends HTMLElement {
26887
26879
  });
26888
26880
  }
26889
26881
  }
26890
- class Sd extends Kc {
26882
+ class _d extends Kc {
26891
26883
  constructor() {
26892
26884
  super();
26893
26885
  }
@@ -26912,7 +26904,7 @@ class Sd extends Kc {
26912
26904
  `, super.connectedCallback();
26913
26905
  }
26914
26906
  }
26915
- class kd extends Kc {
26907
+ class Sd extends Kc {
26916
26908
  constructor() {
26917
26909
  super();
26918
26910
  }
@@ -26930,7 +26922,7 @@ class kd extends Kc {
26930
26922
  `, super.connectedCallback();
26931
26923
  }
26932
26924
  }
26933
- class Cd extends Kc {
26925
+ class kd extends Kc {
26934
26926
  constructor() {
26935
26927
  super();
26936
26928
  }
@@ -26948,7 +26940,7 @@ class Cd extends Kc {
26948
26940
  `, super.connectedCallback();
26949
26941
  }
26950
26942
  }
26951
- class Ed extends Kc {
26943
+ class Cd extends Kc {
26952
26944
  constructor() {
26953
26945
  super();
26954
26946
  }
@@ -26967,12 +26959,12 @@ class Ed extends Kc {
26967
26959
  `, super.connectedCallback();
26968
26960
  }
26969
26961
  }
26970
- customElements.get("ng-check") || customElements.define("ng-check", Sd);
26971
- customElements.get("ng-rect") || customElements.define("ng-rect", kd);
26972
- customElements.get("ng-circle") || customElements.define("ng-circle", Cd);
26973
- customElements.get("ng-sphere") || customElements.define("ng-sphere", Ed);
26962
+ customElements.get("ng-check") || customElements.define("ng-check", _d);
26963
+ customElements.get("ng-rect") || customElements.define("ng-rect", Sd);
26964
+ customElements.get("ng-circle") || customElements.define("ng-circle", kd);
26965
+ customElements.get("ng-sphere") || customElements.define("ng-sphere", Cd);
26974
26966
  var $s;
26975
- class Ad extends Mr {
26967
+ class Ed extends Mr {
26976
26968
  //#src;
26977
26969
  constructor() {
26978
26970
  super();
@@ -27014,7 +27006,7 @@ class Ad extends Mr {
27014
27006
  }
27015
27007
  $s = new WeakMap();
27016
27008
  var fn, Ch;
27017
- class Td extends Mr {
27009
+ class Ad extends Mr {
27018
27010
  constructor() {
27019
27011
  super();
27020
27012
  Y(this, fn);
@@ -27053,10 +27045,10 @@ class Td extends Mr {
27053
27045
  }
27054
27046
  }
27055
27047
  fn = new WeakMap(), Ch = new WeakMap();
27056
- customElements.get("ng-img") || customElements.define("ng-img", Ad);
27057
- customElements.get("ng-svg") || customElements.define("ng-svg", Td);
27048
+ customElements.get("ng-img") || customElements.define("ng-img", Ed);
27049
+ customElements.get("ng-svg") || customElements.define("ng-svg", Ad);
27058
27050
  var Eh, Ah, Th, Rh, Mh;
27059
- class Rd {
27051
+ class Td {
27060
27052
  constructor(C) {
27061
27053
  Y(this, Eh);
27062
27054
  it(this, "importExcel", () => {
@@ -27096,7 +27088,7 @@ class Rd {
27096
27088
  }
27097
27089
  Eh = new WeakMap(), Ah = new WeakMap(), Th = new WeakMap(), Rh = new WeakMap(), Mh = new WeakMap();
27098
27090
  var Zo, pn, Ih, Jo;
27099
- class Md extends HTMLElement {
27091
+ class Rd extends HTMLElement {
27100
27092
  constructor() {
27101
27093
  super();
27102
27094
  Y(this, Zo);
@@ -27139,9 +27131,9 @@ class Md extends HTMLElement {
27139
27131
  }
27140
27132
  }
27141
27133
  Zo = new WeakMap(), pn = new WeakMap(), Ih = new WeakMap(), Jo = new WeakMap();
27142
- customElements.get("ng-info") || customElements.define("ng-info", Md);
27134
+ customElements.get("ng-info") || customElements.define("ng-info", Rd);
27143
27135
  var Yr, Nh;
27144
- class Id extends Si {
27136
+ class Md extends Si {
27145
27137
  constructor() {
27146
27138
  super();
27147
27139
  Y(this, Yr);
@@ -27179,9 +27171,9 @@ class Id extends Si {
27179
27171
  }
27180
27172
  }
27181
27173
  Yr = new WeakMap(), Nh = new WeakMap();
27182
- customElements.get("ng-input-color") || customElements.define("ng-input-color", Id);
27174
+ customElements.get("ng-input-color") || customElements.define("ng-input-color", Md);
27183
27175
  var Gr, ai, Oh;
27184
- class Nd extends Si {
27176
+ class Id extends Si {
27185
27177
  constructor() {
27186
27178
  super();
27187
27179
  Y(this, Gr);
@@ -27285,9 +27277,9 @@ class Nd extends Si {
27285
27277
  }
27286
27278
  }
27287
27279
  Gr = new WeakMap(), ai = new WeakMap(), Oh = new WeakMap();
27288
- customElements.get("ng-input-date") || customElements.define("ng-input-date", Nd);
27280
+ customElements.get("ng-input-date") || customElements.define("ng-input-date", Id);
27289
27281
  var Ke, ds, zr, Ls, mn, Kr, jh;
27290
- class Od extends Si {
27282
+ class Nd extends Si {
27291
27283
  constructor() {
27292
27284
  super();
27293
27285
  Y(this, Ke);
@@ -27340,9 +27332,9 @@ class Od extends Si {
27340
27332
  }
27341
27333
  }
27342
27334
  Ke = new WeakMap(), ds = new WeakMap(), zr = new WeakMap(), Ls = new WeakMap(), mn = new WeakMap(), Kr = new WeakMap(), jh = new WeakMap();
27343
- customElements.get("ng-input") || customElements.define("ng-input", Od);
27335
+ customElements.get("ng-input") || customElements.define("ng-input", Nd);
27344
27336
  var Oe, li, gn, bn, yn, hi;
27345
- class jd {
27337
+ class Od {
27346
27338
  constructor(C) {
27347
27339
  Y(this, Oe);
27348
27340
  //#oldrow;
@@ -27414,7 +27406,7 @@ class jd {
27414
27406
  }
27415
27407
  Oe = new WeakMap(), li = new WeakMap(), gn = new WeakMap(), bn = new WeakMap(), yn = new WeakMap(), hi = new WeakMap();
27416
27408
  var Zr, Jr;
27417
- class $d extends HTMLElement {
27409
+ class jd extends HTMLElement {
27418
27410
  constructor() {
27419
27411
  super();
27420
27412
  Y(this, Zr);
@@ -27432,7 +27424,7 @@ class $d extends HTMLElement {
27432
27424
  @import "https://cdn.jsdelivr.net/npm/ninegrid2@${H.version}/dist/css/ninegrid.css";
27433
27425
  :host {
27434
27426
  }
27435
- nine-grid {
27427
+ nine-table {
27436
27428
  height: 100% !important;
27437
27429
  width: 100% !important;
27438
27430
  }
@@ -27441,7 +27433,7 @@ class $d extends HTMLElement {
27441
27433
  <nx-dialog>
27442
27434
  ${f(this, Zr).originFormat}
27443
27435
  </nx-dialog>
27444
- `, tt(this, Jr, this.shadowRoot.querySelector("nine-grid")), f(this, Jr).removeAttribute("display-row-count"), $(".reset", this.shadowRoot).on("click", (t) => {
27436
+ `, tt(this, Jr, this.shadowRoot.querySelector("nine-table")), f(this, Jr).removeAttribute("display-row-count"), $(".reset", this.shadowRoot).on("click", (t) => {
27445
27437
  f(this, Jr).data.assign(f(this, Zr).data.get());
27446
27438
  }), $(".apply", this.shadowRoot).on("click", (t) => {
27447
27439
  var l = f(this, Jr).data.getChangedData();
@@ -27460,19 +27452,19 @@ Do you want to save it?`, "SAVE", { class: "rgb", "true-text": "Yes", "false-tex
27460
27452
  }
27461
27453
  }
27462
27454
  Zr = new WeakMap(), Jr = new WeakMap();
27463
- customElements.get("ng-max-popup") || customElements.define("ng-max-popup", $d);
27455
+ customElements.get("ng-max-popup") || customElements.define("ng-max-popup", jd);
27464
27456
  var Lt, Qo, $h;
27465
- class Ld extends HTMLElement {
27457
+ class $d extends HTMLElement {
27466
27458
  constructor() {
27467
27459
  super();
27468
27460
  Y(this, Lt);
27469
27461
  Y(this, Qo);
27470
27462
  Y(this, $h);
27471
- tt(this, Qo, new Rd(f(this, Lt))), tt(this, $h, new Ru(f(this, Lt)));
27463
+ tt(this, Qo, new Td(f(this, Lt))), tt(this, $h, new Ru(f(this, Lt)));
27472
27464
  }
27473
27465
  connectedCallback() {
27474
27466
  tt(this, Lt, this.getRootNode().host.getRootNode().host), this.innerHTML = "";
27475
- var t = new sd({
27467
+ var t = new rd({
27476
27468
  owner: f(this, Lt),
27477
27469
  items: {
27478
27470
  filtering: {
@@ -27658,9 +27650,9 @@ class Ld extends HTMLElement {
27658
27650
  }
27659
27651
  }
27660
27652
  Lt = new WeakMap(), Qo = new WeakMap(), $h = new WeakMap();
27661
- customElements.get("ng-menu") || customElements.define("ng-menu", Ld);
27653
+ customElements.get("ng-menu") || customElements.define("ng-menu", $d);
27662
27654
  var Be, ta, ea, Er, ra, ze, tr, Ps, Lh, vn, Ph;
27663
- class Pd extends HTMLElement {
27655
+ class Ld extends HTMLElement {
27664
27656
  constructor() {
27665
27657
  super();
27666
27658
  Y(this, Be);
@@ -27794,9 +27786,9 @@ class Pd extends HTMLElement {
27794
27786
  }
27795
27787
  }
27796
27788
  Be = new WeakMap(), ta = new WeakMap(), ea = new WeakMap(), Er = new WeakMap(), ra = new WeakMap(), ze = new WeakMap(), tr = new WeakMap(), Ps = new WeakMap(), Lh = new WeakMap(), vn = new WeakMap(), Ph = new WeakMap();
27797
- customElements.get("ng-paging") || customElements.define("ng-paging", Pd);
27789
+ customElements.get("ng-paging") || customElements.define("ng-paging", Ld);
27798
27790
  var ci, sa;
27799
- class Dd extends Mr {
27791
+ class Pd extends Mr {
27800
27792
  constructor() {
27801
27793
  super();
27802
27794
  Y(this, ci);
@@ -27835,9 +27827,9 @@ class Dd extends Mr {
27835
27827
  }
27836
27828
  }
27837
27829
  ci = new WeakMap(), sa = new WeakMap();
27838
- customElements.get("ng-progress") || customElements.define("ng-progress", Dd);
27830
+ customElements.get("ng-progress") || customElements.define("ng-progress", Pd);
27839
27831
  var Ds, jr, Bs, ui, Dh, Bh;
27840
- class Bd extends Si {
27832
+ class Dd extends Si {
27841
27833
  constructor() {
27842
27834
  super();
27843
27835
  Y(this, Ds);
@@ -27903,9 +27895,9 @@ class Bd extends Si {
27903
27895
  }
27904
27896
  }
27905
27897
  Ds = new WeakMap(), jr = new WeakMap(), Bs = new WeakMap(), ui = new WeakMap(), Dh = new WeakMap(), Bh = new WeakMap();
27906
- customElements.get("ng-radio") || customElements.define("ng-radio", Bd);
27898
+ customElements.get("ng-radio") || customElements.define("ng-radio", Dd);
27907
27899
  var wn;
27908
- class Fd extends Mr {
27900
+ class Bd extends Mr {
27909
27901
  constructor() {
27910
27902
  super();
27911
27903
  Y(this, wn);
@@ -27939,9 +27931,9 @@ class Fd extends Mr {
27939
27931
  }
27940
27932
  }
27941
27933
  wn = new WeakMap();
27942
- customElements.get("ng-renderer") || customElements.define("ng-renderer", Fd);
27934
+ customElements.get("ng-renderer") || customElements.define("ng-renderer", Bd);
27943
27935
  var Fh;
27944
- class qd extends Mr {
27936
+ class Fd extends Mr {
27945
27937
  constructor() {
27946
27938
  super();
27947
27939
  it(this, "dataRefresh", (t) => {
@@ -27970,7 +27962,7 @@ class qd extends Mr {
27970
27962
  }
27971
27963
  Fh = new WeakMap();
27972
27964
  var er, or, di;
27973
- class Hd extends HTMLElement {
27965
+ class qd extends HTMLElement {
27974
27966
  constructor() {
27975
27967
  super();
27976
27968
  Y(this, er);
@@ -28036,22 +28028,22 @@ class Hd extends HTMLElement {
28036
28028
  this.shadowRoot.innerHTML = `
28037
28029
  <style>
28038
28030
  @import "https://cdn.jsdelivr.net/npm/ninegrid2@${H.version}/dist/css/ninegrid.css";
28039
- nine-grid {
28031
+ nine-table {
28040
28032
  border: 1px solid #ccc;
28041
28033
  }
28042
28034
  </style>
28043
28035
 
28044
28036
  <nx-dialog>
28045
- <nine-grid css-path="${t}" display-row-count="1" class="simple detail" select-type="cell" auto-fit-col="true" col-indicator-type="collapse">
28037
+ <nine-table css-path="${t}" display-row-count="1" class="simple detail" select-type="cell" auto-fit-col="true" col-indicator-type="collapse">
28046
28038
  <table style="display: none;">
28047
28039
  <colgroup>
28048
28040
  </colgroup>
28049
28041
  <tbody>
28050
28042
  </tbody>
28051
28043
  </table>
28052
- </nine-grid>
28044
+ </nine-table>
28053
28045
  </nx-dialog>
28054
- `, tt(this, or, this.shadowRoot.querySelector("nine-grid")), f(this, or).fields.add(f(this, er).fields.get()), $(".reset", this.shadowRoot).on("click", (l) => {
28046
+ `, tt(this, or, this.shadowRoot.querySelector("nine-table")), f(this, or).fields.add(f(this, er).fields.get()), $(".reset", this.shadowRoot).on("click", (l) => {
28055
28047
  f(this, or).data.set(f(this, er).data.getNF(f(this, di)));
28056
28048
  }), $(".apply", this.shadowRoot).on("click", (l) => {
28057
28049
  f(this, er).data.all.update(f(this, or).data.get(0), f(this, di)), this.shadowRoot.querySelector("dialog").close();
@@ -28064,8 +28056,8 @@ Do you want to save it?`, "SAVE", { class: "rgb", "true-text": "Yes", "false-tex
28064
28056
  }
28065
28057
  }
28066
28058
  er = new WeakMap(), or = new WeakMap(), di = new WeakMap();
28067
- customElements.get("ng-row-detail") || customElements.define("ng-row-detail", qd);
28068
- customElements.get("ng-row-detail-popup") || customElements.define("ng-row-detail-popup", Hd);
28059
+ customElements.get("ng-row-detail") || customElements.define("ng-row-detail", Fd);
28060
+ customElements.get("ng-row-detail-popup") || customElements.define("ng-row-detail-popup", qd);
28069
28061
  var qh;
28070
28062
  const Ti = class Ti extends Mr {
28071
28063
  constructor() {
@@ -28097,7 +28089,7 @@ qh = new WeakMap(), //static sourceRow = -1;
28097
28089
  it(Ti, "dragData"), it(Ti, "scrollInterval");
28098
28090
  let ir = Ti;
28099
28091
  var qe, ia, na, oa, fs, aa, la, ha, ca;
28100
- class zd {
28092
+ class Hd {
28101
28093
  constructor(C) {
28102
28094
  Y(this, qe);
28103
28095
  /** attribute 변경에 대한 반응 */
@@ -28174,7 +28166,7 @@ class zd {
28174
28166
  qe = new WeakMap(), ia = new WeakMap(), na = new WeakMap(), oa = new WeakMap(), fs = new WeakMap(), aa = new WeakMap(), la = new WeakMap(), ha = new WeakMap(), ca = new WeakMap();
28175
28167
  customElements.get("ng-row-drag") || customElements.define("ng-row-drag", ir);
28176
28168
  var sr, pr, fi, Hh, zh, ua;
28177
- class Ud extends HTMLElement {
28169
+ class zd extends HTMLElement {
28178
28170
  constructor() {
28179
28171
  super();
28180
28172
  Y(this, sr);
@@ -28213,9 +28205,9 @@ class Ud extends HTMLElement {
28213
28205
  }
28214
28206
  }
28215
28207
  sr = new WeakMap(), pr = new WeakMap(), fi = new WeakMap(), Hh = new WeakMap(), zh = new WeakMap(), ua = new WeakMap();
28216
- customElements.get("ng-combo") || customElements.define("ng-combo", Ud);
28208
+ customElements.get("ng-combo") || customElements.define("ng-combo", zd);
28217
28209
  var da, Uh;
28218
- class Vd extends Mr {
28210
+ class Ud extends Mr {
28219
28211
  constructor() {
28220
28212
  super();
28221
28213
  Y(this, da);
@@ -28284,7 +28276,7 @@ class Vd extends Mr {
28284
28276
  }
28285
28277
  da = new WeakMap(), Uh = new WeakMap();
28286
28278
  var ur, Qr, fa, mr, Fs, pi, fu, ts, Vh, Wh, Xh, pa, ma, ga, Yh;
28287
- class Wd extends HTMLElement {
28279
+ class Vd extends HTMLElement {
28288
28280
  constructor() {
28289
28281
  super();
28290
28282
  Y(this, ur);
@@ -28341,10 +28333,10 @@ class Wd extends HTMLElement {
28341
28333
  }
28342
28334
  }
28343
28335
  ur = new WeakMap(), Qr = new WeakMap(), fa = new WeakMap(), mr = new WeakMap(), Fs = new WeakMap(), pi = new WeakMap(), fu = new WeakMap(), ts = new WeakMap(), Vh = new WeakMap(), Wh = new WeakMap(), Xh = new WeakMap(), pa = new WeakMap(), ma = new WeakMap(), ga = new WeakMap(), Yh = new WeakMap();
28344
- customElements.get("ng-row-indicator") || customElements.define("ng-row-indicator", Vd);
28345
- customElements.get("ng-row-resizer") || customElements.define("ng-row-resizer", Wd);
28336
+ customElements.get("ng-row-indicator") || customElements.define("ng-row-indicator", Ud);
28337
+ customElements.get("ng-row-resizer") || customElements.define("ng-row-resizer", Vd);
28346
28338
  var Gh;
28347
- class Xd extends Mr {
28339
+ class Wd extends Mr {
28348
28340
  constructor() {
28349
28341
  super();
28350
28342
  it(this, "dataRefresh", (t) => {
@@ -28372,7 +28364,7 @@ class Xd extends Mr {
28372
28364
  }
28373
28365
  Gh = new WeakMap();
28374
28366
  var je, dr;
28375
- class Yd {
28367
+ class Xd {
28376
28368
  constructor(C) {
28377
28369
  Y(this, je);
28378
28370
  Y(this, dr);
@@ -28413,8 +28405,8 @@ class Yd {
28413
28405
  }
28414
28406
  }
28415
28407
  je = new WeakMap(), dr = new WeakMap();
28416
- customElements.get("ng-row-pin") || customElements.define("ng-row-pin", Xd);
28417
- class Gd extends Mr {
28408
+ customElements.get("ng-row-pin") || customElements.define("ng-row-pin", Wd);
28409
+ class Yd extends Mr {
28418
28410
  constructor() {
28419
28411
  super();
28420
28412
  it(this, "dataRefresh", (t) => {
@@ -28441,9 +28433,9 @@ class Gd extends Mr {
28441
28433
  `, super.connectedCallback(), this.cell.dataset.bind = "rowState";
28442
28434
  }
28443
28435
  }
28444
- customElements.get("ng-row-state") || customElements.define("ng-row-state", Gd);
28436
+ customElements.get("ng-row-state") || customElements.define("ng-row-state", Yd);
28445
28437
  var zt, es, ge, gr, br, xn, Kh, Zh, ba, Jh, ya, va, _n, qs;
28446
- class Kd extends HTMLElement {
28438
+ class Gd extends HTMLElement {
28447
28439
  constructor() {
28448
28440
  super();
28449
28441
  Y(this, zt);
@@ -28588,7 +28580,7 @@ class Kd extends HTMLElement {
28588
28580
  }
28589
28581
  zt = new WeakMap(), es = new WeakMap(), ge = new WeakMap(), gr = new WeakMap(), br = new WeakMap(), xn = new WeakMap(), Kh = new WeakMap(), Zh = new WeakMap(), ba = new WeakMap(), Jh = new WeakMap(), ya = new WeakMap(), va = new WeakMap(), _n = new WeakMap(), qs = new WeakMap();
28590
28582
  var Ze, ps, ae, Ur, Vr, Hs, Qh, wa, tc, xa, ec, _a, Sa, Sn;
28591
- class Zd extends HTMLElement {
28583
+ class Kd extends HTMLElement {
28592
28584
  constructor() {
28593
28585
  super();
28594
28586
  Y(this, Ze);
@@ -28711,10 +28703,10 @@ class Zd extends HTMLElement {
28711
28703
  }
28712
28704
  }
28713
28705
  Ze = new WeakMap(), ps = new WeakMap(), ae = new WeakMap(), Ur = new WeakMap(), Vr = new WeakMap(), Hs = new WeakMap(), Qh = new WeakMap(), wa = new WeakMap(), tc = new WeakMap(), xa = new WeakMap(), ec = new WeakMap(), _a = new WeakMap(), Sa = new WeakMap(), Sn = new WeakMap();
28714
- customElements.get("ng-hscrollbar") || customElements.define("ng-hscrollbar", Zd);
28715
- customElements.get("ng-vscrollbar") || customElements.define("ng-vscrollbar", Kd);
28706
+ customElements.get("ng-hscrollbar") || customElements.define("ng-hscrollbar", Kd);
28707
+ customElements.get("ng-vscrollbar") || customElements.define("ng-vscrollbar", Gd);
28716
28708
  var Ue, rs, ka, Ca, Ea, rc, sc;
28717
- class Jd {
28709
+ class Zd {
28718
28710
  constructor(C) {
28719
28711
  Y(this, Ue);
28720
28712
  Y(this, rs);
@@ -28775,7 +28767,7 @@ class Jd {
28775
28767
  }
28776
28768
  Ue = new WeakMap(), rs = new WeakMap(), ka = new WeakMap(), Ca = new WeakMap(), Ea = new WeakMap(), rc = new WeakMap(), sc = new WeakMap();
28777
28769
  var Gt, ic, Aa, Ta;
28778
- class Qd {
28770
+ class Jd {
28779
28771
  constructor(C) {
28780
28772
  Y(this, Gt);
28781
28773
  it(this, "getDisplayValue3", (C, t) => {
@@ -29009,7 +29001,7 @@ class Qd {
29009
29001
  }
29010
29002
  }
29011
29003
  Gt = new WeakMap(), ic = new WeakMap(), Aa = new WeakMap(), Ta = new WeakMap();
29012
- class tf {
29004
+ class Qd {
29013
29005
  constructor(C) {
29014
29006
  this.___owner = C, this.columns_BAK = {
29015
29007
  getBindCol: (t, l) => this.___getBindCol(t, l),
@@ -29137,7 +29129,7 @@ class tf {
29137
29129
  }
29138
29130
  }
29139
29131
  var ms;
29140
- class ef extends Si {
29132
+ class tf extends Si {
29141
29133
  constructor() {
29142
29134
  super();
29143
29135
  Y(this, ms);
@@ -29175,7 +29167,7 @@ class ef extends Si {
29175
29167
  }
29176
29168
  ms = new WeakMap();
29177
29169
  var Ra, Ma, Ia, Na;
29178
- class rf extends HTMLElement {
29170
+ class ef extends HTMLElement {
29179
29171
  constructor() {
29180
29172
  super();
29181
29173
  Y(this, Ra);
@@ -29216,10 +29208,10 @@ class rf extends HTMLElement {
29216
29208
  }
29217
29209
  }
29218
29210
  Ra = new WeakMap(), Ma = new WeakMap(), Ia = new WeakMap(), Na = new WeakMap();
29219
- customElements.get("ng-textarea") || customElements.define("ng-textarea", ef);
29220
- customElements.get("ng-textarea-detail") || customElements.define("ng-textarea-detail", rf);
29211
+ customElements.get("ng-textarea") || customElements.define("ng-textarea", tf);
29212
+ customElements.get("ng-textarea-detail") || customElements.define("ng-textarea-detail", ef);
29221
29213
  var Oa, ja, $a, mi, Vn, nc, oc, ac, lc, pu, La, Pa, hc, cc, uc;
29222
- class sf extends Mr {
29214
+ class rf extends Mr {
29223
29215
  constructor() {
29224
29216
  super();
29225
29217
  Y(this, mi);
@@ -29359,9 +29351,9 @@ class sf extends Mr {
29359
29351
  Oa = new WeakMap(), ja = new WeakMap(), $a = new WeakMap(), mi = new WeakSet(), Vn = function() {
29360
29352
  return this.data.__ng._[H.ROW.EXPAND];
29361
29353
  }, nc = new WeakMap(), oc = new WeakMap(), ac = new WeakMap(), lc = new WeakMap(), pu = new WeakMap(), La = new WeakMap(), Pa = new WeakMap(), hc = new WeakMap(), cc = new WeakMap(), uc = new WeakMap();
29362
- customElements.get("ng-tree-item") || customElements.define("ng-tree-item", sf);
29354
+ customElements.get("ng-tree-item") || customElements.define("ng-tree-item", rf);
29363
29355
  var vt, We, yr, gi, bi, Da, Ba, Fa, qa, Ha, dc, fc, pc, kn, zs, Us;
29364
- class nf {
29356
+ class sf {
29365
29357
  constructor(C) {
29366
29358
  Y(this, vt);
29367
29359
  Y(this, We);
@@ -29587,7 +29579,7 @@ class nf {
29587
29579
  }
29588
29580
  vt = new WeakMap(), We = new WeakMap(), yr = new WeakMap(), gi = new WeakMap(), bi = new WeakMap(), Da = new WeakMap(), Ba = new WeakMap(), Fa = new WeakMap(), qa = new WeakMap(), Ha = new WeakMap(), dc = new WeakMap(), fc = new WeakMap(), pc = new WeakMap(), kn = new WeakMap(), zs = new WeakMap(), Us = new WeakMap();
29589
29581
  var Je, Vs, mc;
29590
- class of {
29582
+ class nf {
29591
29583
  constructor(C) {
29592
29584
  Y(this, Je);
29593
29585
  Y(this, Vs);
@@ -29668,7 +29660,7 @@ class of {
29668
29660
  }
29669
29661
  Je = new WeakMap(), Vs = new WeakMap(), mc = new WeakMap();
29670
29662
  var za, Cn, Ua;
29671
- class af extends HTMLElement {
29663
+ class of extends HTMLElement {
29672
29664
  constructor() {
29673
29665
  super();
29674
29666
  Y(this, za);
@@ -29692,14 +29684,14 @@ class af extends HTMLElement {
29692
29684
  }
29693
29685
  za = new WeakMap(), Cn = new WeakMap(), Ua = new WeakMap();
29694
29686
  var Ar, Va, Wa, gc, bc, yc, vc;
29695
- class lf extends HTMLElement {
29687
+ class af extends HTMLElement {
29696
29688
  constructor() {
29697
29689
  super();
29698
29690
  Y(this, Ar);
29699
29691
  Y(this, Va);
29700
29692
  Y(this, Wa);
29701
29693
  Y(this, gc, (t) => {
29702
- const l = this.shadowRoot.querySelector("nine-grid");
29694
+ const l = this.shadowRoot.querySelector("nine-table");
29703
29695
  this.classList.add("loading"), setTimeout(() => {
29704
29696
  const [c, o, r, n] = ["LVL", "CHK", "COLNM", "DATA"].map((u) => l.fields.indexOf(u)), s = l.data.getValidDataNF().filter((u) => u.v[c] === 2 && u.v[o] === "Y"), e = s.length > 0 ? [...new Set(s.map((u) => u.v[r]))].map((u) => ({
29705
29697
  colnm: u,
@@ -29716,13 +29708,13 @@ class lf extends HTMLElement {
29716
29708
  this.style.display = "none";
29717
29709
  });
29718
29710
  Y(this, yc, (t) => {
29719
- const l = this.shadowRoot.querySelector("nine-grid"), c = l.fields.indexOf("CHK"), o = t.target.checked;
29711
+ const l = this.shadowRoot.querySelector("nine-table"), c = l.fields.indexOf("CHK"), o = t.target.checked;
29720
29712
  l.data.getValidData().forEach((r) => {
29721
29713
  r.v[c] = o ? "Y" : "N";
29722
29714
  }), l.refreshData();
29723
29715
  });
29724
29716
  Y(this, vc, (t) => {
29725
- const l = this.shadowRoot.querySelector("nine-grid");
29717
+ const l = this.shadowRoot.querySelector("nine-table");
29726
29718
  l.classList.add("loading");
29727
29719
  const c = l.dataManager.rawRecords;
29728
29720
  c.forEach((s) => {
@@ -29761,7 +29753,7 @@ class lf extends HTMLElement {
29761
29753
  CHK: g.data.length === 0 || g.data.nineBinarySearch(B.v || "") >= 0 ? "Y" : "N"
29762
29754
  }))
29763
29755
  ];
29764
- }).flat(), d = this.shadowRoot.querySelector("nine-grid");
29756
+ }).flat(), d = this.shadowRoot.querySelector("nine-table");
29765
29757
  d.fields.add(["DATA", "DATA2", "COLNM"]), d.data.set(m);
29766
29758
  const b = this.shadowRoot.querySelector("input[type=checkbox]");
29767
29759
  b.checked = d.data.getValidData().every((g) => !(g.LVL === 2 && g.CHK !== "Y")), this.shadowRoot.querySelector("input").focus(), this.classList.remove("loading");
@@ -29771,7 +29763,7 @@ class lf extends HTMLElement {
29771
29763
  }
29772
29764
  connectedCallback() {
29773
29765
  tt(this, Ar, this.getRootNode().host);
29774
- const t = this.getRootNode().host.closest("nine-grid").getAttribute("css-path") || "", l = nine.cssPath ? `@import "${nine.cssPath}/ninegrid/ngFilterPanel.css";` : "";
29766
+ const t = this.getRootNode().host.closest("nine-table").getAttribute("css-path") || "", l = nine.cssPath ? `@import "${nine.cssPath}/nine-table/ngFilterPanel.css";` : "";
29775
29767
  this.shadowRoot.innerHTML = `
29776
29768
  <style>
29777
29769
  @import "https://cdn.jsdelivr.net/npm/ninegrid2@${H.version}/dist/css/ngFilterPanel.css";
@@ -29781,7 +29773,7 @@ class lf extends HTMLElement {
29781
29773
  <div class="head">
29782
29774
  <input type="text">
29783
29775
  </div>
29784
- <nine-grid class="simple filter" css-path="${t}" select-type="row" auto-fit-col="true" col-indicator-type="collapse">
29776
+ <nine-table class="simple filter" css-path="${t}" select-type="row" auto-fit-col="true" col-indicator-type="collapse">
29785
29777
  <table style="display: none;">
29786
29778
  <colgroup>
29787
29779
  <col width="180" />
@@ -29798,7 +29790,7 @@ class lf extends HTMLElement {
29798
29790
  </tr>
29799
29791
  </tbody>
29800
29792
  </table>
29801
- </nine-grid>
29793
+ </nine-table>
29802
29794
 
29803
29795
  <div>
29804
29796
  <label><input type="checkbox" checked>Select All</label>
@@ -29809,8 +29801,8 @@ class lf extends HTMLElement {
29809
29801
  }
29810
29802
  }
29811
29803
  Ar = new WeakMap(), Va = new WeakMap(), Wa = new WeakMap(), gc = new WeakMap(), bc = new WeakMap(), yc = new WeakMap(), vc = new WeakMap();
29812
- customElements.get("ng-filter-button") || customElements.define("ng-filter-button", af);
29813
- customElements.get("ng-filter-panel") || customElements.define("ng-filter-panel", lf);
29804
+ customElements.get("ng-filter-button") || customElements.define("ng-filter-button", of);
29805
+ customElements.get("ng-filter-panel") || customElements.define("ng-filter-panel", af);
29814
29806
  var Xa, yi, Ya, En, ss, Ga, Ka, wc, gs, xc, Za, _c, is, Sc, Ja, kc, Qa, Ws, Xs;
29815
29807
  class Zc extends HTMLElement {
29816
29808
  constructor() {
@@ -30002,14 +29994,14 @@ class Zc extends HTMLElement {
30002
29994
  r.grid = this;
30003
29995
  }), $(this.shadowRoot.querySelector("ng-head").shadowRoot.querySelector("ng-custom")).append(this.querySelectorAll("nx-buttons")), f(this, Ja).call(this), this.createTemplate(), f(this, Ka).call(this), this.resetTemplate(), f(this, _c).call(this);
30004
29996
  const l = this.shadowRoot.querySelector("ng-foot");
30005
- this.paging = l.shadowRoot.querySelector("ng-paging"), this.layout = l.shadowRoot.querySelector("ng-layout"), this.layout && this.layout.add(f(this, ss)), new qu(this), this.pin = new Yd(this), this.fields = new bd(this), this.cell = new Hu(this), this.touchEvent = new Wu(this), this.selection = new Vu(this), this.tables = new Qd(this), this.dataManager = new ld(this), this.view = new nf(this), this.tableUtils = new tf(this), this.columns = new td(this);
29997
+ this.paging = l.shadowRoot.querySelector("ng-paging"), this.layout = l.shadowRoot.querySelector("ng-layout"), this.layout && this.layout.add(f(this, ss)), new Fu(this), this.pin = new Xd(this), this.fields = new gd(this), this.cell = new qu(this), this.touchEvent = new Vu(this), this.selection = new Uu(this), this.tables = new Jd(this), this.dataManager = new ad(this), this.view = new sf(this), this.tableUtils = new Qd(this), this.columns = new Qu(this);
30006
29998
  for (var c in this.dataManager)
30007
29999
  this.dataManager[c] instanceof Function && !["xxx"].includes(c) ? this[c] = this.dataManager[c].bind(this) : ["data", "row", "tree"].includes(c) && (this[c] = this.dataManager[c]);
30008
30000
  for (var c in this.tableUtils)
30009
30001
  ["columns"].includes(c) && (this[c] = this.tableUtils[c]);
30010
30002
  for (var c in this.cell)
30011
30003
  this.cell[c] instanceof Function && !["refresh"].includes(c) || ["xx"].includes(c) && (this[c] = this.cell[c]);
30012
- H.j.querySelectorAll(this).hasClass("simple") || (this.filtering = new of(this)), !H.j.querySelectorAll(this).hasClass("combo") && !H.j.querySelectorAll(this).hasClass("filter") && $(this.shadowRoot).append($("<ng-combo-panel></ng-combo-panel").hide()), this.sorting = new Jd(this), this.matrix = new jd(this), tt(this, yi, new Qu(this)), tt(this, Ya, new Ju(this)), H.j.querySelectorAll(this).hasClass("simple") || tt(this, En, new zd(this)), f(this, Za).call(this), this.refresh(), this.body.querySelector(".ng-container-body .nodata") && new ResizeObserver((r, n) => {
30004
+ H.j.querySelectorAll(this).hasClass("simple") || (this.filtering = new nf(this)), !H.j.querySelectorAll(this).hasClass("combo") && !H.j.querySelectorAll(this).hasClass("filter") && $(this.shadowRoot).append($("<ng-combo-panel></ng-combo-panel").hide()), this.sorting = new Zd(this), this.matrix = new Od(this), tt(this, yi, new Ju(this)), tt(this, Ya, new Zu(this)), H.j.querySelectorAll(this).hasClass("simple") || tt(this, En, new Hd(this)), f(this, Za).call(this), this.refresh(), this.body.querySelector(".ng-container-body .nodata") && new ResizeObserver((r, n) => {
30013
30005
  this.body.querySelector("ng-vscrollbar").refresh();
30014
30006
  }).observe(this.body.querySelector(".ng-container-body .nodata")), !H.j.querySelectorAll(this).hasClass("filter") && !H.j.querySelectorAll(this).hasClass("combo") && ($(this.body).on("mousedown", (r) => {
30015
30007
  this.shadowRoot.querySelectorAll("ng-combo-panel,ng-filter-panel,ng-context-menu-panel").forEach((n) => {
@@ -30019,7 +30011,7 @@ class Zc extends HTMLElement {
30019
30011
  r.target.shadowRoot.querySelectorAll("ng-info").forEach((n) => {
30020
30012
  n.close();
30021
30013
  });
30022
- })), new nd(this), this.classList.contains("simple") || setTimeout(() => {
30014
+ })), new id(this), this.classList.contains("simple") || setTimeout(() => {
30023
30015
  this.dispatchEvent(new CustomEvent(H.EVENT.LOAD, { bubbles: !0, detail: {} }));
30024
30016
  }, 100);
30025
30017
  const o = this.shadowRoot.querySelector("ng-head");
@@ -30368,8 +30360,8 @@ class Zc extends HTMLElement {
30368
30360
  }
30369
30361
  }
30370
30362
  Xa = new WeakMap(), yi = new WeakMap(), Ya = new WeakMap(), En = new WeakMap(), ss = new WeakMap(), Ga = new WeakMap(), Ka = new WeakMap(), wc = new WeakMap(), gs = new WeakMap(), xc = new WeakMap(), Za = new WeakMap(), _c = new WeakMap(), is = new WeakMap(), Sc = new WeakMap(), Ja = new WeakMap(), kc = new WeakMap(), Qa = new WeakMap(), Ws = new WeakMap(), Xs = new WeakMap(), it(Zc, "observedAttributes", ["lang", "caption", "display-row-count", "row-resizable", "col-indicator-type", "auto-fit-col", "enable-fixed-col", "select-type", "paging-type", "paging-count", "show-menu-icon", "show-title-bar", "show-tfoot", "show-status-bar"]);
30371
- customElements.get("nine-grid") || customElements.define("nine-grid", Zc);
30372
- class hf extends Zc {
30363
+ customElements.get("nine-table") || customElements.define("nine-table", Zc);
30364
+ class lf extends Zc {
30373
30365
  constructor() {
30374
30366
  super();
30375
30367
  }
@@ -30377,9 +30369,9 @@ class hf extends Zc {
30377
30369
  super.connectedCallback();
30378
30370
  }
30379
30371
  }
30380
- customElements.get("ng-source") || customElements.define("ng-source", hf);
30372
+ customElements.get("ng-source") || customElements.define("ng-source", lf);
30381
30373
  var bs, Cc, tl, An, el, rl, Tn, sl;
30382
- class cf extends HTMLElement {
30374
+ class hf extends HTMLElement {
30383
30375
  constructor() {
30384
30376
  super();
30385
30377
  //#owner;
@@ -30472,7 +30464,7 @@ class cf extends HTMLElement {
30472
30464
  }
30473
30465
  }
30474
30466
  bs = new WeakMap(), Cc = new WeakMap(), tl = new WeakMap(), An = new WeakMap(), el = new WeakMap(), rl = new WeakMap(), Tn = new WeakMap(), sl = new WeakMap();
30475
- customElements.get("nx-dialog") || customElements.define("nx-dialog", cf);
30467
+ customElements.get("nx-dialog") || customElements.define("nx-dialog", hf);
30476
30468
  var il, Ys, nl, Rn, ys, vi, Mn, Ec;
30477
30469
  class Mu extends HTMLElement {
30478
30470
  constructor() {
@@ -30535,7 +30527,7 @@ il = new WeakMap(), Ys = new WeakMap(), nl = new WeakMap(), Rn = new WeakMap(),
30535
30527
  updateContent: () => {
30536
30528
  H.querySelectorAll("nx-i18n,nx-span").forEach((t) => {
30537
30529
  t.refresh && t.refresh();
30538
- }), H.querySelectorAll("nine-grid").forEach((t) => {
30530
+ }), H.querySelectorAll("nine-table").forEach((t) => {
30539
30531
  t.refresh && t.refreshData();
30540
30532
  });
30541
30533
  },
@@ -30556,7 +30548,7 @@ il = new WeakMap(), Ys = new WeakMap(), nl = new WeakMap(), Rn = new WeakMap(),
30556
30548
  });
30557
30549
  customElements.get("nx-i18n") || customElements.define("nx-i18n", Mu);
30558
30550
  var In, Nn, Ac, ol;
30559
- class uf extends HTMLElement {
30551
+ class cf extends HTMLElement {
30560
30552
  constructor() {
30561
30553
  super();
30562
30554
  Y(this, In);
@@ -30798,7 +30790,7 @@ class uf extends HTMLElement {
30798
30790
  }
30799
30791
  }
30800
30792
  In = new WeakMap(), Nn = new WeakMap(), Ac = new WeakMap(), ol = new WeakMap();
30801
- class df extends HTMLElement {
30793
+ class uf extends HTMLElement {
30802
30794
  constructor() {
30803
30795
  super(), this.attachShadow({ mode: "open" });
30804
30796
  }
@@ -30820,7 +30812,7 @@ class df extends HTMLElement {
30820
30812
  }
30821
30813
  }
30822
30814
  var al;
30823
- class ff extends HTMLElement {
30815
+ class df extends HTMLElement {
30824
30816
  constructor() {
30825
30817
  super();
30826
30818
  Y(this, al);
@@ -30854,11 +30846,11 @@ class ff extends HTMLElement {
30854
30846
  }
30855
30847
  }
30856
30848
  al = new WeakMap();
30857
- customElements.get("nx-sidebar-menuitem") || customElements.define("nx-sidebar-menuitem", ff);
30858
- customElements.get("nx-sidebar-item") || customElements.define("nx-sidebar-item", df);
30859
- customElements.get("nx-sidebar") || customElements.define("nx-sidebar", uf);
30849
+ customElements.get("nx-sidebar-menuitem") || customElements.define("nx-sidebar-menuitem", df);
30850
+ customElements.get("nx-sidebar-item") || customElements.define("nx-sidebar-item", uf);
30851
+ customElements.get("nx-sidebar") || customElements.define("nx-sidebar", cf);
30860
30852
  var On, jn, ll, hl, cl, Tc;
30861
- class pf extends HTMLElement {
30853
+ class ff extends HTMLElement {
30862
30854
  constructor() {
30863
30855
  super();
30864
30856
  Y(this, On);
@@ -30925,7 +30917,7 @@ class pf extends HTMLElement {
30925
30917
  }
30926
30918
  On = new WeakMap(), jn = new WeakMap(), ll = new WeakMap(), hl = new WeakMap(), cl = new WeakMap(), Tc = new WeakMap();
30927
30919
  var wi, Rc, Mc, Iu;
30928
- class mf extends HTMLElement {
30920
+ class pf extends HTMLElement {
30929
30921
  constructor() {
30930
30922
  super();
30931
30923
  Y(this, Mc);
@@ -30975,7 +30967,7 @@ wi = new WeakMap(), Rc = new WeakMap(), Mc = new WeakSet(), Iu = function() {
30975
30967
  `;
30976
30968
  };
30977
30969
  var $n, Ic, Nc, Nu;
30978
- class gf extends HTMLElement {
30970
+ class mf extends HTMLElement {
30979
30971
  constructor() {
30980
30972
  super();
30981
30973
  Y(this, Nc);
@@ -31025,7 +31017,7 @@ $n = new WeakMap(), Ic = new WeakMap(), Nc = new WeakSet(), Nu = function() {
31025
31017
  `;
31026
31018
  };
31027
31019
  var Oc, jc;
31028
- class bf extends HTMLElement {
31020
+ class gf extends HTMLElement {
31029
31021
  constructor() {
31030
31022
  super();
31031
31023
  Y(this, Oc);
@@ -31065,7 +31057,7 @@ class bf extends HTMLElement {
31065
31057
  }
31066
31058
  Oc = new WeakMap(), jc = new WeakMap();
31067
31059
  var ul, Ln, dl, $c;
31068
- class yf extends HTMLElement {
31060
+ class bf extends HTMLElement {
31069
31061
  constructor() {
31070
31062
  super();
31071
31063
  Y(this, ul);
@@ -31126,13 +31118,13 @@ class yf extends HTMLElement {
31126
31118
  }
31127
31119
  }
31128
31120
  ul = new WeakMap(), Ln = new WeakMap(), dl = new WeakMap(), $c = new WeakMap();
31129
- customElements.get("nx-side-menu") || customElements.define("nx-side-menu", pf);
31130
- customElements.get("nx-side-menu-head") || customElements.define("nx-side-menu-head", mf);
31131
- customElements.get("nx-side-menu-foot") || customElements.define("nx-side-menu-foot", gf);
31132
- customElements.get("nx-side-menu-body") || customElements.define("nx-side-menu-body", bf);
31133
- customElements.get("nx-side-menu-item") || customElements.define("nx-side-menu-item", yf);
31121
+ customElements.get("nx-side-menu") || customElements.define("nx-side-menu", ff);
31122
+ customElements.get("nx-side-menu-head") || customElements.define("nx-side-menu-head", pf);
31123
+ customElements.get("nx-side-menu-foot") || customElements.define("nx-side-menu-foot", mf);
31124
+ customElements.get("nx-side-menu-body") || customElements.define("nx-side-menu-body", gf);
31125
+ customElements.get("nx-side-menu-item") || customElements.define("nx-side-menu-item", bf);
31134
31126
  var fl, Pn, pl, Dn, vs, xi, Lc;
31135
- class vf extends HTMLElement {
31127
+ class yf extends HTMLElement {
31136
31128
  constructor() {
31137
31129
  super();
31138
31130
  Y(this, fl);
@@ -31173,8 +31165,8 @@ class vf extends HTMLElement {
31173
31165
  }
31174
31166
  }
31175
31167
  fl = new WeakMap(), Pn = new WeakMap(), pl = new WeakMap(), Dn = new WeakMap(), vs = new WeakMap(), xi = new WeakMap(), Lc = new WeakMap();
31176
- customElements.get("nx-span") || customElements.define("nx-span", vf);
31177
- class wf extends HTMLElement {
31168
+ customElements.get("nx-span") || customElements.define("nx-span", yf);
31169
+ class vf extends HTMLElement {
31178
31170
  constructor() {
31179
31171
  super(), this.attachShadow({ mode: "open" });
31180
31172
  }
@@ -31184,7 +31176,7 @@ class wf extends HTMLElement {
31184
31176
  `;
31185
31177
  }
31186
31178
  }
31187
- class xf extends HTMLElement {
31179
+ class wf extends HTMLElement {
31188
31180
  constructor() {
31189
31181
  super(), this.attachShadow({ mode: "open" });
31190
31182
  }
@@ -31196,7 +31188,7 @@ class xf extends HTMLElement {
31196
31188
  });
31197
31189
  }
31198
31190
  }
31199
- class _f extends HTMLElement {
31191
+ class xf extends HTMLElement {
31200
31192
  constructor() {
31201
31193
  super();
31202
31194
  }
@@ -31208,10 +31200,10 @@ class _f extends HTMLElement {
31208
31200
  });
31209
31201
  }
31210
31202
  }
31211
- customElements.get("nx-test1") || customElements.define("nx-test1", wf);
31212
- customElements.get("nx-test2") || customElements.define("nx-test2", xf);
31213
- customElements.get("nx-test3") || customElements.define("nx-test3", _f);
31214
- class Sf extends HTMLElement {
31203
+ customElements.get("nx-test1") || customElements.define("nx-test1", vf);
31204
+ customElements.get("nx-test2") || customElements.define("nx-test2", wf);
31205
+ customElements.get("nx-test3") || customElements.define("nx-test3", xf);
31206
+ class _f extends HTMLElement {
31215
31207
  constructor() {
31216
31208
  super();
31217
31209
  it(this, "changeLocale", (t) => {
@@ -31248,7 +31240,7 @@ class Sf extends HTMLElement {
31248
31240
  <!-- Logo Header -->
31249
31241
  <div class="logo-header">
31250
31242
  <a href="/" class="logo">
31251
- <h5 class="text-white">nine-grid</h5>
31243
+ <h5 class="text-white">nine-table</h5>
31252
31244
  </a>
31253
31245
  <div class="nav-toggle">
31254
31246
  <button class="btn btn-toggle toggle-sidebar">
@@ -31268,7 +31260,7 @@ class Sf extends HTMLElement {
31268
31260
  <!-- Navbar Header -->
31269
31261
  <nav>
31270
31262
  <div>
31271
- <a href="/css/nine-grid.zip" style="color:#ccc;">css download</a>
31263
+ <a href="/css/nine-table.zip" style="color:#ccc;">css download</a>
31272
31264
  </div>
31273
31265
  <ul class="navbar-nav topbar-nav ms-md-auto align-items-center" style="flex-direction: column; align-items: flex-end !important;">
31274
31266
  <li class="nav-item dropdown">
@@ -31293,7 +31285,7 @@ class Sf extends HTMLElement {
31293
31285
  `, this.changeLocale(H.getLocale());
31294
31286
  }
31295
31287
  }
31296
- customElements.get("nx-top-menu") || customElements.define("nx-top-menu", Sf);
31288
+ customElements.get("nx-top-menu") || customElements.define("nx-top-menu", _f);
31297
31289
  Array.prototype.nineBinarySearch = function(mt) {
31298
31290
  this.sort((c, o) => c > o ? 1 : -1);
31299
31291
  let C = 0, t = this.length - 1, l;
@@ -31305,7 +31297,7 @@ Array.prototype.nineBinarySearch = function(mt) {
31305
31297
  return -1;
31306
31298
  };
31307
31299
  var ar, ml, Pc;
31308
- class kf extends HTMLElement {
31300
+ class Sf extends HTMLElement {
31309
31301
  constructor() {
31310
31302
  super();
31311
31303
  Y(this, ar);
@@ -31407,9 +31399,9 @@ class kf extends HTMLElement {
31407
31399
  }
31408
31400
  }
31409
31401
  ar = new WeakMap(), ml = new WeakMap(), Pc = new WeakMap();
31410
- customElements.get("nx-collapse") || customElements.define("nx-collapse", kf);
31402
+ customElements.get("nx-collapse") || customElements.define("nx-collapse", Sf);
31411
31403
  var zn, Ou, ju, Dc;
31412
- class Cf extends HTMLElement {
31404
+ class kf extends HTMLElement {
31413
31405
  constructor() {
31414
31406
  super();
31415
31407
  Y(this, zn);
@@ -31482,7 +31474,7 @@ zn = new WeakSet(), Ou = function() {
31482
31474
  const c = l.getAttribute("data-target"), o = this.shadowRoot.querySelector(".tab-button.active"), r = this.shadowRoot.querySelector(".tab-page.active"), n = this.shadowRoot.getElementById(c);
31483
31475
  console.log(c, o, r, n), o !== l && (console.log("*******"), o && r ? (o.classList.remove("active"), r.classList.remove("active", "exit-left", "exit-right"), r.style.left = "", o.compareDocumentPosition(l) & Node.DOCUMENT_POSITION_FOLLOWING ? r.classList.add("exit-left") : r.classList.add("exit-right"), n.classList.add("active"), n.style.left = "", n.classList.remove("exit-left", "exit-right")) : r && n && (r.classList.remove("active", "exit-left", "exit-right"), r.style.left = "", r.classList.add("exit-left"), n.classList.add("active"), n.style.left = "", n.classList.remove("exit-left", "exit-right")), l.classList.add("active"), this.shadowRoot.querySelector(".tab-pages").style.height = `${n.scrollHeight}px`);
31484
31476
  }, Dc = new WeakMap();
31485
- class Ef extends HTMLElement {
31477
+ class Cf extends HTMLElement {
31486
31478
  constructor() {
31487
31479
  super();
31488
31480
  }
@@ -31490,10 +31482,10 @@ class Ef extends HTMLElement {
31490
31482
  this.caption = this.getAttribute("caption");
31491
31483
  }
31492
31484
  }
31493
- customElements.get("nx-tab") || customElements.define("nx-tab", Cf);
31494
- customElements.get("nx-tab-page") || customElements.define("nx-tab-page", Ef);
31485
+ customElements.get("nx-tab") || customElements.define("nx-tab", kf);
31486
+ customElements.get("nx-tab-page") || customElements.define("nx-tab-page", Cf);
31495
31487
  var $r, Bc, Fc, qc, gl;
31496
- class Af extends HTMLElement {
31488
+ class Ef extends HTMLElement {
31497
31489
  constructor() {
31498
31490
  super();
31499
31491
  Y(this, $r);
@@ -31577,9 +31569,9 @@ class Af extends HTMLElement {
31577
31569
  }
31578
31570
  }
31579
31571
  $r = new WeakMap(), Bc = new WeakMap(), Fc = new WeakMap(), qc = new WeakMap(), gl = new WeakMap();
31580
- customElements.get("nx-splitter") || customElements.define("nx-splitter", Af);
31572
+ customElements.get("nx-splitter") || customElements.define("nx-splitter", Ef);
31581
31573
  var mu, Hc;
31582
- class Tf extends HTMLElement {
31574
+ class Af extends HTMLElement {
31583
31575
  constructor() {
31584
31576
  super();
31585
31577
  Y(this, mu);
@@ -31618,9 +31610,9 @@ class Tf extends HTMLElement {
31618
31610
  }
31619
31611
  }
31620
31612
  mu = new WeakMap(), Hc = new WeakMap();
31621
- customElements.get("nx-form") || customElements.define("nx-form", Tf);
31613
+ customElements.get("nx-form") || customElements.define("nx-form", Af);
31622
31614
  var Tr, bl, yl, vl, wl, zc;
31623
- class Rf extends HTMLElement {
31615
+ class Tf extends HTMLElement {
31624
31616
  // 동적으로 추가할 빵 부스러기 경로 (상세 페이지 등)
31625
31617
  constructor() {
31626
31618
  super();
@@ -31715,7 +31707,7 @@ class Rf extends HTMLElement {
31715
31707
  }
31716
31708
  }
31717
31709
  Tr = new WeakMap(), bl = new WeakMap(), yl = new WeakMap(), vl = new WeakMap(), wl = new WeakMap(), zc = new WeakMap();
31718
- customElements.get("nx-title") || customElements.define("nx-title", Rf);
31710
+ customElements.get("nx-title") || customElements.define("nx-title", Tf);
31719
31711
  var xl, _i, _l, Rr, Wn, eu, ru, Sl, Uc;
31720
31712
  class bu extends HTMLElement {
31721
31713
  constructor() {
@@ -31815,7 +31807,7 @@ ru = function() {
31815
31807
  });
31816
31808
  }, Sl = new WeakMap(), Uc = new WeakMap();
31817
31809
  var kl, Vc;
31818
- class Mf extends bu {
31810
+ class Rf extends bu {
31819
31811
  constructor() {
31820
31812
  super();
31821
31813
  Y(this, kl, !1);
@@ -31846,9 +31838,9 @@ class Mf extends bu {
31846
31838
  }
31847
31839
  }
31848
31840
  kl = new WeakMap(), Vc = new WeakMap();
31849
- customElements.get("nx-title2") || customElements.define("nx-title2", Mf);
31841
+ customElements.get("nx-title2") || customElements.define("nx-title2", Rf);
31850
31842
  var Bn, Cl, su;
31851
- class If extends HTMLElement {
31843
+ class Mf extends HTMLElement {
31852
31844
  constructor() {
31853
31845
  super();
31854
31846
  Y(this, Cl);
@@ -31890,9 +31882,9 @@ Bn = new WeakMap(), Cl = new WeakSet(), su = function() {
31890
31882
  }
31891
31883
  }
31892
31884
  };
31893
- customElements.get("nx-layout") || customElements.define("nx-layout", If);
31885
+ customElements.get("nx-layout") || customElements.define("nx-layout", Mf);
31894
31886
  var Fn, Gs, iu, nu, Wc;
31895
- class Nf extends HTMLElement {
31887
+ class If extends HTMLElement {
31896
31888
  constructor() {
31897
31889
  super();
31898
31890
  Y(this, Gs);
@@ -31955,9 +31947,9 @@ Fn = new WeakMap(), Gs = new WeakSet(), iu = function(t) {
31955
31947
  f(this, Wc).call(this);
31956
31948
  }, 300);
31957
31949
  }, Wc = new WeakMap();
31958
- customElements.get("nx-layout2") || customElements.define("nx-layout2", Nf);
31950
+ customElements.get("nx-layout2") || customElements.define("nx-layout2", If);
31959
31951
  var Xc;
31960
- class Of extends bu {
31952
+ class Nf extends bu {
31961
31953
  constructor() {
31962
31954
  super();
31963
31955
  Y(this, Xc, () => {
@@ -31985,9 +31977,9 @@ class Of extends bu {
31985
31977
  }
31986
31978
  }
31987
31979
  Xc = new WeakMap();
31988
- customElements.get("nx-panel") || customElements.define("nx-panel", Of);
31980
+ customElements.get("nx-panel") || customElements.define("nx-panel", Nf);
31989
31981
  var Yc;
31990
- class jf extends bu {
31982
+ class Of extends bu {
31991
31983
  constructor() {
31992
31984
  super();
31993
31985
  Y(this, Yc, () => {
@@ -32007,9 +31999,9 @@ class jf extends bu {
32007
31999
  }
32008
32000
  }
32009
32001
  Yc = new WeakMap();
32010
- customElements.get("nx-buttons") || customElements.define("nx-buttons", jf);
32002
+ customElements.get("nx-buttons") || customElements.define("nx-buttons", Of);
32011
32003
  var ws, Gc, El, qn, Al, Tl, Hn, Rl;
32012
- class $f extends HTMLElement {
32004
+ class jf extends HTMLElement {
32013
32005
  constructor() {
32014
32006
  super();
32015
32007
  //#owner;
@@ -32101,14 +32093,14 @@ class $f extends HTMLElement {
32101
32093
  }
32102
32094
  }
32103
32095
  ws = new WeakMap(), Gc = new WeakMap(), El = new WeakMap(), qn = new WeakMap(), Al = new WeakMap(), Tl = new WeakMap(), Hn = new WeakMap(), Rl = new WeakMap();
32104
- customElements.get("nx-modal") || customElements.define("nx-modal", $f);
32096
+ customElements.get("nx-modal") || customElements.define("nx-modal", jf);
32105
32097
  window.jQuery = window.$ = Pu;
32106
- function Df() {
32098
+ function Pf() {
32107
32099
  customElements.get("nine-table") || customElements.define("nine-table", Zc);
32108
32100
  }
32109
32101
  export {
32110
32102
  Zc as NineGridContainer,
32111
32103
  H as default,
32112
- Df as defineCustomElements
32104
+ Pf as defineCustomElements
32113
32105
  };
32114
32106
  //# sourceMappingURL=nine-grid.js.map