@ninebone/table 0.0.598 → 0.0.599

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.
@@ -906,6 +906,7 @@ const yt = class yt extends HTMLElement {
906
906
  <div class='ng-container-body'>
907
907
  <div class="ng-part-header"></div>
908
908
  <div class="ng-part-body">
909
+ <div class="ng-nodata"></div>
909
910
  <div class="ng-scroll-content">
910
911
  <div class="ng-virtual-spacer"></div>
911
912
  </div>
@@ -1090,19 +1091,16 @@ const Ne = class Ne {
1090
1091
  flex-shrink: 0;
1091
1092
  }
1092
1093
 
1093
- nine-table-sheets .ng-container-nodata {
1094
- --display: none;
1095
- .ng-part-body {
1096
-
1097
- }
1094
+ nine-table-sheets .ng-nodata {
1095
+ display: none;
1098
1096
  }
1099
1097
 
1100
1098
  nine-table-sheets.nodata {
1101
- .ng-container-nodata {
1102
- --display: block;
1099
+ .ng-nodata {
1100
+ display: block;
1103
1101
  }
1104
- .ng-part-body {
1105
- --display: none;
1102
+ .ng-scroll-content {
1103
+ display: none;
1106
1104
  }
1107
1105
  }
1108
1106
 
@@ -1172,8 +1170,9 @@ const O = class O {
1172
1170
  });
1173
1171
  }, "#initialize"));
1174
1172
  d(this, it, /* @__PURE__ */ c(() => {
1175
- t(this, _).shadowRoot.querySelectorAll("nine-table-sheet").forEach((i) => {
1176
- i.invalidate();
1173
+ const i = t(this, _).shadowRoot.querySelector("nine-table-sheets");
1174
+ i == null || i.classList.toggle("nodata", this.length === 0), t(this, _).shadowRoot.querySelectorAll("nine-table-sheet").forEach((e) => {
1175
+ e.invalidate();
1177
1176
  });
1178
1177
  }, "#invalidate"));
1179
1178
  E(this, "get", /* @__PURE__ */ c((i, e) => {