@ninebone/grid 0.0.10 → 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/index.html CHANGED
@@ -16,7 +16,7 @@
16
16
  </script>
17
17
  </head>
18
18
  <body>
19
- <nine-grid display-row-count="3" row-resizable="true" col-movable="true" css-path="/src/css">
19
+ <nine-table display-row-count="3" row-resizable="true" col-movable="true" css-path="/src/css">
20
20
   <table>
21
21
    <colgroup>
22
22
     <col width="40" fixed="left">
@@ -55,6 +55,6 @@
55
55
     </tr>
56
56
    </tbody>
57
57
   </table>
58
- </nine-grid>
58
+ </nine-table>
59
59
  </body>
60
60
  </html>
package/dist/nine-grid.js CHANGED
@@ -655,7 +655,7 @@ class Bu extends HTMLElement {
655
655
  C.textContent = "클릭하세요!", C.style.padding = "10px", C.style.backgroundColor = "blue", C.style.color = "white", this.shadowRoot.appendChild(C);
656
656
  }
657
657
  }
658
- customElements.get("nine-grid3") || customElements.define("nine-grid3", Bu);
658
+ customElements.get("nine-grid2") || customElements.define("nine-grid2", Bu);
659
659
  var Xn, Yn, Gn, os, Bl;
660
660
  class Mr extends HTMLElement {
661
661
  constructor() {
@@ -29771,11 +29771,11 @@ class lf extends HTMLElement {
29771
29771
  }
29772
29772
  connectedCallback() {
29773
29773
  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";` : "";
29774
+ const t = this.getRootNode().host.closest("nine-grid").getAttribute("css-path") || "";
29775
29775
  this.shadowRoot.innerHTML = `
29776
29776
  <style>
29777
29777
  @import "https://cdn.jsdelivr.net/npm/ninegrid2@${H.version}/dist/css/ngFilterPanel.css";
29778
- ${l}
29778
+ ${H.getCustomPath(this, "ngFilterPanel.css")}
29779
29779
  </style>
29780
29780
 
29781
29781
  <div class="head">
@@ -29814,7 +29814,6 @@ customElements.get("ng-filter-panel") || customElements.define("ng-filter-panel"
29814
29814
  var Xa, yi, Ya, En, ss, Ga, Ka, wc, gs, xc, Za, _c, is, Sc, Ja, kc, Qa, Ws, Xs;
29815
29815
  class Zc extends HTMLElement {
29816
29816
  constructor() {
29817
- console.log("==========="), console.log(nine.cssPath);
29818
29817
  super();
29819
29818
  Y(this, Xa, !1);
29820
29819
  Y(this, yi);
@@ -32104,7 +32103,7 @@ ws = new WeakMap(), Gc = new WeakMap(), El = new WeakMap(), qn = new WeakMap(),
32104
32103
  customElements.get("nx-modal") || customElements.define("nx-modal", $f);
32105
32104
  window.jQuery = window.$ = Pu;
32106
32105
  function Df() {
32107
- customElements.get("nine-table") || customElements.define("nine-table", Zc);
32106
+ customElements.get("nine-grid") || customElements.define("nine-grid", Zc);
32108
32107
  }
32109
32108
  export {
32110
32109
  Zc as NineGridContainer,