material-react-table 0.7.0-alpha.8 → 0.7.0-alpha.9

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.
@@ -2278,7 +2278,7 @@ var MRT_CopyButton = function MRT_CopyButton(_ref) {
2278
2278
  };
2279
2279
 
2280
2280
  var MRT_TableBodyCell = function MRT_TableBodyCell(_ref) {
2281
- var _row$subRows, _cell$column$Cell, _cell$column, _row$subRows2;
2281
+ var _cell$column$Cell, _cell$column, _row$subRows, _cell$column$Cell2, _cell$column2, _row$subRows2;
2282
2282
 
2283
2283
  var cell = _ref.cell,
2284
2284
  tableInstance = _ref.tableInstance;
@@ -2332,16 +2332,22 @@ var MRT_TableBodyCell = function MRT_TableBodyCell(_ref) {
2332
2332
  animation: "wave",
2333
2333
  height: 20,
2334
2334
  width: skeletonWidth
2335
- }, muiTableBodyCellSkeletonProps)) : cell.getIsPlaceholder() || row.getIsGrouped() && column.id !== row.groupingColumnId ? null : cell.getIsAggregated() ? cell.renderAggregatedCell() : enableEditing && column.enableEditing !== false && (currentEditingRow == null ? void 0 : currentEditingRow.id) === row.id ? React__default.createElement(MRT_EditCellTextField, {
2335
+ }, muiTableBodyCellSkeletonProps)) : column.columnDefType === 'display' ? column.Cell == null ? void 0 : column.Cell({
2336
+ cell: cell,
2337
+ tableInstance: tableInstance
2338
+ }) : cell.getIsPlaceholder() || row.getIsGrouped() && column.id !== row.groupingColumnId ? null : cell.getIsAggregated() ? cell.renderAggregatedCell() : enableEditing && column.enableEditing !== false && (currentEditingRow == null ? void 0 : currentEditingRow.id) === row.id ? React__default.createElement(MRT_EditCellTextField, {
2336
2339
  cell: cell,
2337
2340
  tableInstance: tableInstance
2338
2341
  }) : (enableClickToCopy || column.enableClickToCopy) && column.enableClickToCopy !== false ? React__default.createElement(React__default.Fragment, null, React__default.createElement(MRT_CopyButton, {
2339
2342
  cell: cell,
2340
2343
  tableInstance: tableInstance
2341
- }, cell.renderCell()), row.getIsGrouped() && React__default.createElement(React__default.Fragment, null, " (", (_row$subRows = row.subRows) == null ? void 0 : _row$subRows.length, ")")) : React__default.createElement(React__default.Fragment, null, (_cell$column$Cell = (_cell$column = cell.column) == null ? void 0 : _cell$column.Cell == null ? void 0 : _cell$column.Cell({
2344
+ }, (_cell$column$Cell = (_cell$column = cell.column) == null ? void 0 : _cell$column.Cell == null ? void 0 : _cell$column.Cell({
2345
+ cell: cell,
2346
+ tableInstance: tableInstance
2347
+ })) != null ? _cell$column$Cell : cell.renderCell()), row.getIsGrouped() && React__default.createElement(React__default.Fragment, null, " (", (_row$subRows = row.subRows) == null ? void 0 : _row$subRows.length, ")")) : React__default.createElement(React__default.Fragment, null, (_cell$column$Cell2 = (_cell$column2 = cell.column) == null ? void 0 : _cell$column2.Cell == null ? void 0 : _cell$column2.Cell({
2342
2348
  cell: cell,
2343
2349
  tableInstance: tableInstance
2344
- })) != null ? _cell$column$Cell : cell.renderCell(), row.getIsGrouped() && React__default.createElement(React__default.Fragment, null, " (", (_row$subRows2 = row.subRows) == null ? void 0 : _row$subRows2.length, ")")));
2350
+ })) != null ? _cell$column$Cell2 : cell.renderCell(), row.getIsGrouped() && React__default.createElement(React__default.Fragment, null, " (", (_row$subRows2 = row.subRows) == null ? void 0 : _row$subRows2.length, ")")));
2345
2351
  };
2346
2352
 
2347
2353
  var MRT_TableDetailPanel = function MRT_TableDetailPanel(_ref) {