es-grid-template 1.9.39 → 1.9.41
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/es/grid-component/type.d.ts +1 -0
- package/es/group-component/InternalTable.js +10 -0
- package/es/group-component/TableContainerEdit.js +229 -3
- package/es/group-component/hook/utils.d.ts +3 -3
- package/es/group-component/useContext.d.ts +2 -1
- package/es/table-component/TableContainer.js +41 -5
- package/es/table-component/TableContainerEdit.js +19 -4
- package/es/table-virtuoso/body/TableBodyCell.js +19 -3
- package/es/table-virtuoso/hook/utils.js +4 -0
- package/es/table-virtuoso/style.d.ts +1 -1
- package/es/table-virtuoso/style.js +11 -11
- package/es/table-virtuoso/table/TableContainer.js +22 -2
- package/es/table-virtuoso/table/TableWrapper.js +4 -3
- package/lib/grid-component/type.d.ts +1 -0
- package/lib/group-component/InternalTable.js +10 -0
- package/lib/group-component/TableContainerEdit.js +229 -3
- package/lib/group-component/useContext.d.ts +2 -1
- package/lib/table-component/TableContainer.js +41 -5
- package/lib/table-component/TableContainerEdit.js +19 -4
- package/lib/table-virtuoso/body/TableBodyCell.js +19 -3
- package/lib/table-virtuoso/hook/utils.js +4 -0
- package/lib/table-virtuoso/style.d.ts +1 -1
- package/lib/table-virtuoso/style.js +10 -10
- package/lib/table-virtuoso/table/TableContainer.js +22 -2
- package/lib/table-virtuoso/table/TableWrapper.js +4 -3
- package/package.json +2 -2
|
@@ -29,7 +29,8 @@ const TableWrapper = props => {
|
|
|
29
29
|
contextMenuItems: propContextMenuItems,
|
|
30
30
|
contextMenuHidden,
|
|
31
31
|
contextMenuClick,
|
|
32
|
-
contextMenuOpen
|
|
32
|
+
contextMenuOpen,
|
|
33
|
+
summary
|
|
33
34
|
} = props;
|
|
34
35
|
const menuRef = _react.default.useRef(null);
|
|
35
36
|
const {
|
|
@@ -239,7 +240,7 @@ const TableWrapper = props => {
|
|
|
239
240
|
}));
|
|
240
241
|
});
|
|
241
242
|
},
|
|
242
|
-
fixedFooterContent: () => {
|
|
243
|
+
fixedFooterContent: summary ? () => {
|
|
243
244
|
const visibleColumns = table.getVisibleLeafColumns();
|
|
244
245
|
return /*#__PURE__*/_react.default.createElement("tr", {
|
|
245
246
|
className: "ui-rc-grid-footer-row"
|
|
@@ -249,7 +250,7 @@ const TableWrapper = props => {
|
|
|
249
250
|
column: header
|
|
250
251
|
});
|
|
251
252
|
}));
|
|
252
|
-
}
|
|
253
|
+
} : undefined
|
|
253
254
|
})), /*#__PURE__*/_react.default.createElement(_reactTooltip.Tooltip, {
|
|
254
255
|
id: `${id}-tooltip-content`,
|
|
255
256
|
style: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "es-grid-template",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.41",
|
|
4
4
|
"description": "es-grid-template",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
"rc-checkbox": "3.5.0",
|
|
68
68
|
"rc-dropdown": "4.2.1",
|
|
69
69
|
"rc-field-form": "2.6.0",
|
|
70
|
+
"rc-master-ui": "1.1.59",
|
|
70
71
|
"rc-select": "14.16.3",
|
|
71
72
|
"rc-tooltip": "6.3.0",
|
|
72
73
|
"rc-tree": "5.10.1",
|
|
@@ -108,7 +109,6 @@
|
|
|
108
109
|
"gh-pages": "3.1.0",
|
|
109
110
|
"less": "4.1.1",
|
|
110
111
|
"np": "7.1.0",
|
|
111
|
-
"rc-master-ui": "1.1.59",
|
|
112
112
|
"rc-test": "7.0.9",
|
|
113
113
|
"react": "18.2.0",
|
|
114
114
|
"react-dom": "18.2.0",
|