@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.js
CHANGED
@@ -36507,6 +36507,7 @@ function GroupedCell(props) {
|
|
36507
36507
|
const canShowActions = isActiveRow || isHovered && !tableMeta.rowActive.isHoverStatePaused;
|
36508
36508
|
const colSpan = cell.row.getVisibleCells().filter((c3) => c3.column.id === "__actions" || !isInternalColumn(c3.column.id)).length - 1;
|
36509
36509
|
const subRows = cell.getContext().row.subRows.map((row) => row.original);
|
36510
|
+
const content = typeof cell.column.columnDef.cell === "function" ? cell.column.columnDef.cell(cell.getContext()) : null;
|
36510
36511
|
return /* @__PURE__ */ React__default.createElement(
|
36511
36512
|
MemoedGroupedCell,
|
36512
36513
|
{
|
@@ -36519,7 +36520,7 @@ function GroupedCell(props) {
|
|
36519
36520
|
subRows,
|
36520
36521
|
table
|
36521
36522
|
},
|
36522
|
-
|
36523
|
+
content
|
36523
36524
|
);
|
36524
36525
|
}
|
36525
36526
|
const MemoedGroupedCell = React__default.memo(function MemoedGroupedCell2(props) {
|
@@ -36669,7 +36670,8 @@ function DisplayCell(props) {
|
|
36669
36670
|
const columnMeta = cell.column.columnDef.meta;
|
36670
36671
|
const attributes = getCellAttributes(cell, index2, isHighlighted);
|
36671
36672
|
const isTruncated = !!columnMeta.enableTruncate;
|
36672
|
-
|
36673
|
+
const content = typeof cell.column.columnDef.cell === "function" ? cell.column.columnDef.cell(cell.getContext()) : cell.getValue();
|
36674
|
+
return /* @__PURE__ */ React__default.createElement(MemoedDisplayCell, { ...cellAttributes, ...attributes, cellRef, isTruncated }, content);
|
36673
36675
|
}
|
36674
36676
|
const MemoedDisplayCell = React__default.memo(function MemoedDisplayCell2(props) {
|
36675
36677
|
const { cellRef, children, isTruncated, ...cellAttributes } = props;
|