Comparing version 11.0.2 to 11.0.3
@@ -47,7 +47,7 @@ "use strict"; | ||
var GroupedColumnsRow = function (props) { | ||
var columns = props.columns, _a = props.groupedColumns, groupedColumns = _a === void 0 ? [] : _a, childComponents = props.childComponents; | ||
var columns = props.columns, groupColumnsCount = props.groupColumnsCount, _a = props.groupedColumns, groupedColumns = _a === void 0 ? [] : _a, childComponents = props.childComponents; | ||
var rows = (0, GroupedColumnsUtils_1.getRowsWithGroupedColumns)(columns, groupedColumns); | ||
var columnsKeys = columns.map(function (c) { return c.key; }); | ||
return (React.createElement(React.Fragment, null, rows.map(function (row, index) { return ((React.createElement("tr", { className: defaultOptions_1.default.css.theadRow, key: index }, | ||
React.createElement(EmptyCells_1.default, { count: 0, isTh: true, childComponents: childComponents }), | ||
React.createElement(EmptyCells_1.default, { count: groupColumnsCount, isTh: true, childComponents: childComponents }), | ||
row.map(function (item, columnIndex) { | ||
@@ -54,0 +54,0 @@ return (React.createElement(HeadCell_1.default, __assign({}, props, { colSpan: item.colSpan, rowSpan: item.rowSpan, column: item.column, hasChildren: !columnsKeys.includes(item.column.key), isGrouped: true, key: columnIndex }))); |
{ | ||
"name": "ka-table", | ||
"version": "11.0.2", | ||
"version": "11.0.3", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": "github:komarovalexander/ka-table", |
395503