@ninebone/table 0.0.610 → 0.0.612
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-table.js +12 -8
- package/dist/nine-table.js.map +1 -1
- package/dist/nine-table.umd.js +8 -8
- package/dist/nine-table.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/nine-table.js
CHANGED
|
@@ -715,7 +715,11 @@ const pt = class pt extends HTMLElement {
|
|
|
715
715
|
if (!e) return;
|
|
716
716
|
y(this, et, he.compile(e)), t(this, Vt).call(this), t(this, Yt).call(this);
|
|
717
717
|
const s = this.querySelector(".ng-container-body .ng-part-header"), r = this.querySelector(".ng-nodata-overlay");
|
|
718
|
-
s && r
|
|
718
|
+
if (s && r) {
|
|
719
|
+
const n = s.offsetHeight;
|
|
720
|
+
r.style.top = `${n}px`, r.style.height = `calc(100% - ${n}px)`;
|
|
721
|
+
}
|
|
722
|
+
t(this, st).initialize(), setTimeout(() => {
|
|
719
723
|
var n;
|
|
720
724
|
(n = this.querySelector("nine-table-hscrollbar")) == null || n.refresh();
|
|
721
725
|
}, 0);
|
|
@@ -1098,18 +1102,18 @@ const Ne = class Ne {
|
|
|
1098
1102
|
flex-shrink: 0;
|
|
1099
1103
|
}
|
|
1100
1104
|
|
|
1101
|
-
nine-table-
|
|
1105
|
+
nine-table-sheet .ng-nodata-overlay {
|
|
1102
1106
|
display: none;
|
|
1103
1107
|
position: absolute;
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1108
|
+
left: 0;
|
|
1109
|
+
right: 0;
|
|
1110
|
+
bottom: 0;
|
|
1111
|
+
background: #ffffff;
|
|
1107
1112
|
z-index: 10;
|
|
1108
1113
|
align-items: center;
|
|
1109
1114
|
justify-content: center;
|
|
1110
|
-
font-size:
|
|
1111
|
-
color: #
|
|
1112
|
-
font-weight: 500;"
|
|
1115
|
+
font-size: 12px;
|
|
1116
|
+
color: #9ca3af;
|
|
1113
1117
|
}
|
|
1114
1118
|
|
|
1115
1119
|
nine-table-sheets.nodata {
|