dtable-statistic 5.0.29-alpha.1 → 5.0.29-alpha.3

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.
@@ -101,6 +101,7 @@ class StatList extends _react.Component {
101
101
  };
102
102
  this.updateChart2Table = (selectedTableId, chartUpdate2Table) => {
103
103
  var _chartUpdate2Table$co;
104
+ console.log('updateChart2Table', selectedTableId, chartUpdate2Table);
104
105
  const {
105
106
  getTableById
106
107
  } = this.props;
@@ -111,6 +112,8 @@ class StatList extends _react.Component {
111
112
  return;
112
113
  }
113
114
  const updateTable = getTableById(selectedTableId);
115
+ console.log('this.statisticalResult4Update', this.statisticalResult4Update);
116
+ console.log('updateTable', updateTable);
114
117
  this.closeSelectTableDialog();
115
118
  if (!this.statisticalResult4Update || !updateTable) {
116
119
  return;
@@ -124,6 +127,7 @@ class StatList extends _react.Component {
124
127
  updateTable,
125
128
  statisticalResult: this.statisticalResult4Update
126
129
  });
130
+ console.log('newRows, updatedRows, rowIds, oldRows', newRows, updatedRows, rowIds, oldRows);
127
131
  if (window.app && window.app.onUpdateStatisticToTable) {
128
132
  window.app.onUpdateStatisticToTable({
129
133
  tableId: selectedTableId,
@@ -881,17 +881,19 @@ const updateStatisticToTable = _ref9 => {
881
881
  // two dimension table
882
882
  if (columnGroupbyColumn) {
883
883
  if (Array.isArray(pivot_summary_multiple_columns) && pivot_summary_multiple_columns.length > 0) {
884
+ console.log(111);
884
885
  return updateTwoDimensionWithSummaryColumnsToTable({
885
886
  updateTable,
886
887
  statisticalResult
887
888
  });
888
889
  }
890
+ console.log(222);
889
891
  return updateTwoDimensionToTable({
890
892
  updateTable,
891
893
  statisticalResult
892
894
  });
893
895
  }
894
-
896
+ console.log(333);
895
897
  // one dimension table
896
898
  return updatedOneDimensionToTable({
897
899
  updateTable,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-statistic",
3
- "version": "5.0.29-alpha.1",
3
+ "version": "5.0.29-alpha.3",
4
4
  "description": "statistics",
5
5
  "main": "dist/dtable-statistic.js",
6
6
  "author": "seafile",