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 CHANGED
@@ -882,6 +882,8 @@ var Table = /*#__PURE__*/function (_React$Component) {
882
882
  _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;
883
883
 
884
884
  _this.getArray = function (data) {
885
+ console.log('Array', Array.isArray(data), data);
886
+
885
887
  if (data && Array.isArray(data)) {
886
888
  return data;
887
889
  } else if (data) {
@@ -900,11 +902,8 @@ var Table = /*#__PURE__*/function (_React$Component) {
900
902
 
901
903
  _this.getCSV = function (callback) {
902
904
  var dataCSV = '';
903
- console.log(_this.props);
904
905
 
905
906
  if (_this.props && _this.props.children) {
906
- console.log(_assertThisInitialized(_this));
907
-
908
907
  var table = _assertThisInitialized(_this);
909
908
 
910
909
  if (table) {
@@ -921,6 +920,8 @@ var Table = /*#__PURE__*/function (_React$Component) {
921
920
  return row.type.name === 'Tr';
922
921
  });
923
922
 
923
+ console.log(headerRow);
924
+
924
925
  if (headerRow) {
925
926
  var headers = _this.getArray(headerRow.props.children).map(function (th) {
926
927
  console.log(_this.extractText(th.props.children), th.props.children);