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.
@@ -2271,7 +2271,7 @@ var MRT_CopyButton = function MRT_CopyButton(_ref) {
2271
2271
  };
2272
2272
 
2273
2273
  var MRT_TableBodyCell = function MRT_TableBodyCell(_ref) {
2274
- var _row$subRows, _cell$column$Cell, _cell$column, _row$subRows2;
2274
+ var _cell$column$Cell, _cell$column, _row$subRows, _cell$column$Cell2, _cell$column2, _row$subRows2;
2275
2275
 
2276
2276
  var cell = _ref.cell,
2277
2277
  tableInstance = _ref.tableInstance;
@@ -2325,16 +2325,22 @@ var MRT_TableBodyCell = function MRT_TableBodyCell(_ref) {
2325
2325
  animation: "wave",
2326
2326
  height: 20,
2327
2327
  width: skeletonWidth
2328
- }, 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.createElement(MRT_EditCellTextField, {
2328
+ }, muiTableBodyCellSkeletonProps)) : column.columnDefType === 'display' ? column.Cell == null ? void 0 : column.Cell({
2329
+ cell: cell,
2330
+ tableInstance: tableInstance
2331
+ }) : 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.createElement(MRT_EditCellTextField, {
2329
2332
  cell: cell,
2330
2333
  tableInstance: tableInstance
2331
2334
  }) : (enableClickToCopy || column.enableClickToCopy) && column.enableClickToCopy !== false ? React.createElement(React.Fragment, null, React.createElement(MRT_CopyButton, {
2332
2335
  cell: cell,
2333
2336
  tableInstance: tableInstance
2334
- }, cell.renderCell()), row.getIsGrouped() && React.createElement(React.Fragment, null, " (", (_row$subRows = row.subRows) == null ? void 0 : _row$subRows.length, ")")) : React.createElement(React.Fragment, null, (_cell$column$Cell = (_cell$column = cell.column) == null ? void 0 : _cell$column.Cell == null ? void 0 : _cell$column.Cell({
2337
+ }, (_cell$column$Cell = (_cell$column = cell.column) == null ? void 0 : _cell$column.Cell == null ? void 0 : _cell$column.Cell({
2338
+ cell: cell,
2339
+ tableInstance: tableInstance
2340
+ })) != null ? _cell$column$Cell : cell.renderCell()), row.getIsGrouped() && React.createElement(React.Fragment, null, " (", (_row$subRows = row.subRows) == null ? void 0 : _row$subRows.length, ")")) : React.createElement(React.Fragment, null, (_cell$column$Cell2 = (_cell$column2 = cell.column) == null ? void 0 : _cell$column2.Cell == null ? void 0 : _cell$column2.Cell({
2335
2341
  cell: cell,
2336
2342
  tableInstance: tableInstance
2337
- })) != null ? _cell$column$Cell : cell.renderCell(), row.getIsGrouped() && React.createElement(React.Fragment, null, " (", (_row$subRows2 = row.subRows) == null ? void 0 : _row$subRows2.length, ")")));
2343
+ })) != null ? _cell$column$Cell2 : cell.renderCell(), row.getIsGrouped() && React.createElement(React.Fragment, null, " (", (_row$subRows2 = row.subRows) == null ? void 0 : _row$subRows2.length, ")")));
2338
2344
  };
2339
2345
 
2340
2346
  var MRT_TableDetailPanel = function MRT_TableDetailPanel(_ref) {