ui-kit-ck-consultant 0.6.24 → 0.6.26
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 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
@@ -879,6 +879,8 @@ var Table = /*#__PURE__*/function (_React$Component) {
|
|
879
879
|
_this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
|
880
880
|
|
881
881
|
_this.getArray = function (data) {
|
882
|
+
console.log('Array', Array.isArray(data), data);
|
883
|
+
|
882
884
|
if (data && Array.isArray(data)) {
|
883
885
|
return data;
|
884
886
|
} else if (data) {
|
@@ -897,11 +899,8 @@ var Table = /*#__PURE__*/function (_React$Component) {
|
|
897
899
|
|
898
900
|
_this.getCSV = function (callback) {
|
899
901
|
var dataCSV = '';
|
900
|
-
console.log(_this.props);
|
901
902
|
|
902
903
|
if (_this.props && _this.props.children) {
|
903
|
-
console.log(_assertThisInitialized(_this));
|
904
|
-
|
905
904
|
var table = _assertThisInitialized(_this);
|
906
905
|
|
907
906
|
if (table) {
|
@@ -918,6 +917,8 @@ var Table = /*#__PURE__*/function (_React$Component) {
|
|
918
917
|
return row.type.name === 'Tr';
|
919
918
|
});
|
920
919
|
|
920
|
+
console.log(headerRow);
|
921
|
+
|
921
922
|
if (headerRow) {
|
922
923
|
var headers = _this.getArray(headerRow.props.children).map(function (th) {
|
923
924
|
console.log(_this.extractText(th.props.children), th.props.children);
|