ui-kit-ck-consultant 0.6.7 → 0.6.9
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 +12 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +12 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -893,9 +893,20 @@ var Table = /*#__PURE__*/function (_React$Component) {
|
|
893
893
|
if (line.props && line.props.children) {
|
894
894
|
_this.getArray(line.props.children).forEach(function (column) {
|
895
895
|
if (column && column.props && column.props.children && column.props.children.props && column.props.children.props.text) {
|
896
|
+
console.log('t1', column.props.children.props.text);
|
896
897
|
dataCSV += column.props.children.props.text + ";";
|
897
898
|
} else if (column && column.props && column.props.children) {
|
898
|
-
|
899
|
+
var child = column.props.children;
|
900
|
+
|
901
|
+
if (typeof child === 'string' || typeof child === 'number') {
|
902
|
+
console.log('t12', child);
|
903
|
+
dataCSV += child + ";";
|
904
|
+
} else if (React__default.isValidElement(child) && child.props && child.props.children) {
|
905
|
+
console.log('t13', "" + child.props.children.toString());
|
906
|
+
dataCSV += child.props.children.toString() + ";";
|
907
|
+
} else {
|
908
|
+
dataCSV += ';';
|
909
|
+
}
|
899
910
|
} else {
|
900
911
|
dataCSV += ';';
|
901
912
|
}
|