@economic/taco 2.58.2-EC-64961.9 → 2.58.2-EC-64961.11

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/taco.cjs CHANGED
@@ -36525,6 +36525,7 @@ function GroupedCell(props) {
36525
36525
  const canShowActions = isActiveRow || isHovered && !tableMeta.rowActive.isHoverStatePaused;
36526
36526
  const colSpan = cell.row.getVisibleCells().filter((c3) => c3.column.id === "__actions" || !isInternalColumn(c3.column.id)).length - 1;
36527
36527
  const subRows = cell.getContext().row.subRows.map((row) => row.original);
36528
+ const content = typeof cell.column.columnDef.cell === "function" ? cell.column.columnDef.cell(cell.getContext()) : null;
36528
36529
  return /* @__PURE__ */ React.createElement(
36529
36530
  MemoedGroupedCell,
36530
36531
  {
@@ -36537,7 +36538,7 @@ function GroupedCell(props) {
36537
36538
  subRows,
36538
36539
  table
36539
36540
  },
36540
- flexRender(cell.column.columnDef.cell, cell.getContext())
36541
+ content
36541
36542
  );
36542
36543
  }
36543
36544
  const MemoedGroupedCell = React.memo(function MemoedGroupedCell2(props) {
@@ -36687,7 +36688,13 @@ function DisplayCell(props) {
36687
36688
  const columnMeta = cell.column.columnDef.meta;
36688
36689
  const attributes = getCellAttributes(cell, index2, isHighlighted);
36689
36690
  const isTruncated = !!columnMeta.enableTruncate;
36690
- return /* @__PURE__ */ React.createElement(MemoedDisplayCell, { ...cellAttributes, ...attributes, cellRef, isTruncated }, flexRender(cell.column.columnDef.cell, cell.getContext()));
36691
+ let content;
36692
+ if (isInternalColumn(cell.column.id)) {
36693
+ content = flexRender(cell.column.columnDef.cell, cell.getContext());
36694
+ } else {
36695
+ content = typeof cell.column.columnDef.cell === "function" ? cell.column.columnDef.cell(cell.getContext()) : cell.getValue();
36696
+ }
36697
+ return /* @__PURE__ */ React.createElement(MemoedDisplayCell, { ...cellAttributes, ...attributes, cellRef, isTruncated }, content);
36691
36698
  }
36692
36699
  const MemoedDisplayCell = React.memo(function MemoedDisplayCell2(props) {
36693
36700
  const { cellRef, children, isTruncated, ...cellAttributes } = props;