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