@ninebone/grid 0.0.12 → 0.0.13

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