@economic/taco 2.58.2-EC-64961.9 → 2.58.2-EC-64961.10
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 +4 -2
- package/dist/taco.cjs.map +1 -1
- package/dist/taco.js +4 -2
- package/dist/taco.js.map +1 -1
- package/package.json +2 -2
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
|
-
|
36541
|
+
content
|
36541
36542
|
);
|
36542
36543
|
}
|
36543
36544
|
const MemoedGroupedCell = React.memo(function MemoedGroupedCell2(props) {
|
@@ -36687,7 +36688,8 @@ 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
|
-
|
36691
|
+
const content = typeof cell.column.columnDef.cell === "function" ? cell.column.columnDef.cell(cell.getContext()) : cell.getValue();
|
36692
|
+
return /* @__PURE__ */ React.createElement(MemoedDisplayCell, { ...cellAttributes, ...attributes, cellRef, isTruncated }, content);
|
36691
36693
|
}
|
36692
36694
|
const MemoedDisplayCell = React.memo(function MemoedDisplayCell2(props) {
|
36693
36695
|
const { cellRef, children, isTruncated, ...cellAttributes } = props;
|