ui-kit-ck-consultant 0.6.16 → 0.6.18

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.
@@ -911,11 +911,15 @@ var Table = /*#__PURE__*/function (_React$Component) {
911
911
  });
912
912
 
913
913
  if (thead) {
914
+ console.log('head');
915
+
914
916
  var headerRow = _this.getArray(thead.props.children).find(function (row) {
915
917
  return row.type === 'tr';
916
918
  });
917
919
 
918
920
  if (headerRow) {
921
+ console.log('headerRow');
922
+
919
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(';');
@@ -925,6 +929,8 @@ var Table = /*#__PURE__*/function (_React$Component) {
925
929
  }
926
930
 
927
931
  if (tbody) {
932
+ console.log('body');
933
+
928
934
  _this.getArray(tbody.props.children).forEach(function (row) {
929
935
  if (row.type === 'tr') {
930
936
  var rowData = _this.getArray(row.props.children).map(function (td) {
@@ -938,6 +944,7 @@ var Table = /*#__PURE__*/function (_React$Component) {
938
944
  }
939
945
  }
940
946
 
947
+ console.log(dataCSV);
941
948
  var link = document.createElement('a');
942
949
  link.href = "data:text/csv;charset=utf-8,\uFEFF" + encodeURIComponent(dataCSV);
943
950
  link.download = _this.props.nameCSV || 'file.csv';