ui-kit-ck-consultant 0.6.54 → 0.6.56
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/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
@@ -897,9 +897,9 @@ var Table = /*#__PURE__*/function (_React$Component) {
|
|
897
897
|
var _section$props;
|
898
898
|
|
899
899
|
return _this.getArray((_section$props = section.props) === null || _section$props === void 0 ? void 0 : _section$props.children).filter(function (child) {
|
900
|
-
var _child$type;
|
900
|
+
var _child$type, _cell, _cell$type, _cell2, _cell2$type;
|
901
901
|
|
902
|
-
return (child === null || child === void 0 ? void 0 : (_child$type = child.type) === null || _child$type === void 0 ? void 0 : _child$type.name) === 'Tr';
|
902
|
+
return (child === null || child === void 0 ? void 0 : (_child$type = child.type) === null || _child$type === void 0 ? void 0 : _child$type.name) === 'Tr' || ((_cell = cell) === null || _cell === void 0 ? void 0 : (_cell$type = _cell.type) === null || _cell$type === void 0 ? void 0 : _cell$type.displayName) === 'Tr' || ((_cell2 = cell) === null || _cell2 === void 0 ? void 0 : (_cell2$type = _cell2.type) === null || _cell2$type === void 0 ? void 0 : _cell2$type.displayName) === 'tr';
|
903
903
|
});
|
904
904
|
});
|
905
905
|
console.log('Toutes les lignes (Tr) trouvées:', allRows);
|
@@ -909,9 +909,9 @@ var Table = /*#__PURE__*/function (_React$Component) {
|
|
909
909
|
console.log(row.props.children.length, row.props.children.length !== 2, row.props.children.type, row.props.children.type === React.Fragment, row);
|
910
910
|
|
911
911
|
var cells = _this.getArray(row.props.children.length !== 2 ? row.props.children.type === React.Fragment ? row.props.children.props.children[0] : row.props.children : row.props.children[0]).filter(function (cell) {
|
912
|
-
var _cell$
|
912
|
+
var _cell$type2, _cell$type3, _cell$type4, _cell$type5, _cell$type6, _cell$type7;
|
913
913
|
|
914
|
-
return (cell === null || cell === void 0 ? void 0 : (_cell$
|
914
|
+
return (cell === null || cell === void 0 ? void 0 : (_cell$type2 = cell.type) === null || _cell$type2 === void 0 ? void 0 : _cell$type2.name) === 'Th' || (cell === null || cell === void 0 ? void 0 : (_cell$type3 = cell.type) === null || _cell$type3 === void 0 ? void 0 : _cell$type3.name) === 'Td' || (cell === null || cell === void 0 ? void 0 : (_cell$type4 = cell.type) === null || _cell$type4 === void 0 ? void 0 : _cell$type4.displayName) === 'Th' || (cell === null || cell === void 0 ? void 0 : (_cell$type5 = cell.type) === null || _cell$type5 === void 0 ? void 0 : _cell$type5.displayName) === 'Td' || (cell === null || cell === void 0 ? void 0 : (_cell$type6 = cell.type) === null || _cell$type6 === void 0 ? void 0 : _cell$type6.displayName) === 'th' || (cell === null || cell === void 0 ? void 0 : (_cell$type7 = cell.type) === null || _cell$type7 === void 0 ? void 0 : _cell$type7.displayName) === 'td';
|
915
915
|
});
|
916
916
|
|
917
917
|
var rowData = cells.map(function (cell) {
|