orc-shared 5.10.0-dev.16 → 5.10.0-dev.18
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/components/MaterialUI/DataDisplay/TableWithInMemoryPaging.js +4 -2
- package/dist/content/iconsSheet.svg +740 -116
- package/package.json +1 -1
- package/src/components/MaterialUI/DataDisplay/TableWithInMemoryPaging.js +2 -1
- package/src/components/MaterialUI/DataDisplay/TableWithInMemoryPaging.test.js +37 -1
- package/src/content/iconsSheet.svg +740 -116
|
@@ -81,7 +81,9 @@ var TableWithInMemoryPaging = function TableWithInMemoryPaging(_ref) {
|
|
|
81
81
|
_ref$placeholderTitle = _ref.placeholderTitle,
|
|
82
82
|
placeholderTitle = _ref$placeholderTitle === void 0 ? null : _ref$placeholderTitle,
|
|
83
83
|
_ref$placeholderSubti = _ref.placeholderSubtitle,
|
|
84
|
-
placeholderSubtitle = _ref$placeholderSubti === void 0 ? null : _ref$placeholderSubti
|
|
84
|
+
placeholderSubtitle = _ref$placeholderSubti === void 0 ? null : _ref$placeholderSubti,
|
|
85
|
+
_ref$rowKeyField = _ref.rowKeyField,
|
|
86
|
+
rowKeyField = _ref$rowKeyField === void 0 ? "id" : _ref$rowKeyField;
|
|
85
87
|
var _useIntl = (0, _reactIntl.useIntl)(),
|
|
86
88
|
formatMessage = _useIntl.formatMessage;
|
|
87
89
|
var tableRef = (0, _react.useRef)(null);
|
|
@@ -106,7 +108,7 @@ var TableWithInMemoryPaging = function TableWithInMemoryPaging(_ref) {
|
|
|
106
108
|
filters = _useInMemoryPaging.filters,
|
|
107
109
|
setFilter = _useInMemoryPaging.setFilter,
|
|
108
110
|
totalCount = _useInMemoryPaging.totalCount;
|
|
109
|
-
var _buildHeaderAndRowFro = (0, _tableHelpers.default)(columnDefs, rowsSlice, isReadMode),
|
|
111
|
+
var _buildHeaderAndRowFro = (0, _tableHelpers.default)(columnDefs, rowsSlice, isReadMode, rowKeyField),
|
|
110
112
|
headers = _buildHeaderAndRowFro.headers,
|
|
111
113
|
rows = _buildHeaderAndRowFro.rows;
|
|
112
114
|
var placeholder = /*#__PURE__*/_react.default.createElement(_Placeholder.default, {
|