ui-kit-ck-consultant 0.6.30 → 0.6.31
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 +6 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +6 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
@@ -916,7 +916,11 @@ var Table = /*#__PURE__*/function (_React$Component) {
|
|
916
916
|
});
|
917
917
|
|
918
918
|
if (headerRow) {
|
919
|
-
|
919
|
+
console.log('headerRow 1', headerRow);
|
920
|
+
console.log('headerRow 2', _this.getArray(headerRow.props.children));
|
921
|
+
console.log('headerRow 3', _this.getArray(headerRow.props.children)[0]);
|
922
|
+
|
923
|
+
var headers = _this.getArray(headerRow.props.children).map(function (th) {
|
920
924
|
return th.props && th.props.children ? _this.extractText(th.props.children) : '';
|
921
925
|
}).join(';');
|
922
926
|
|
@@ -927,7 +931,7 @@ var Table = /*#__PURE__*/function (_React$Component) {
|
|
927
931
|
if (tbody) {
|
928
932
|
_this.getArray(tbody.props.children).forEach(function (row) {
|
929
933
|
if (row.type === 'Tr') {
|
930
|
-
var rowData = _this.getArray(row.props.children)
|
934
|
+
var rowData = _this.getArray(row.props.children).map(function (td) {
|
931
935
|
return td.props && td.props.children ? _this.extractText(td.props.children) : '';
|
932
936
|
}).join(';');
|
933
937
|
|