dtable-statistic 5.0.38-alpha.1 → 5.0.38

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.
@@ -606,7 +606,6 @@ const updateTwoDimensionToTable = _ref6 => {
606
606
  updateTable,
607
607
  statisticalResult
608
608
  } = _ref6;
609
- console.log('updateTwoDimensionToTable');
610
609
  const {
611
610
  pivotResult,
612
611
  groupbyColumn
@@ -661,20 +660,16 @@ const updateTwoDimensionToTable = _ref6 => {
661
660
  const totalColumn = columnMap['total'];
662
661
  if (row) {
663
662
  // update old row
664
- console.log(11);
665
663
  const rowId = row._id;
666
664
  let updatedRow = {};
667
665
  let oldRow = {}; // op used
668
666
  const validTotalCellValue = getValidValueForColumn(totalColumn, total);
669
- console.log('22validTotalCellValue', validTotalCellValue);
670
667
  if (totalColumn && (0, _cellValue.isCellValueChanged)(row[totalColumn.key], validTotalCellValue, totalColumn.type)) {
671
- console.log('33', validTotalCellValue);
672
668
  updatedRow[totalColumn.key] = validTotalCellValue;
673
669
  oldRow[totalColumn.key] = row[totalColumn.key];
674
670
  }
675
671
  const keys = Object.keys(cells);
676
672
  if (keys.length === 0) {
677
- console.log('44', updateColumns);
678
673
  updateColumns.forEach(column => {
679
674
  const {
680
675
  key,
@@ -687,7 +682,6 @@ const updateTwoDimensionToTable = _ref6 => {
687
682
  }
688
683
  });
689
684
  } else {
690
- console.log('55', cells);
691
685
  keys.forEach(key => {
692
686
  const columnName = isEmptyName(key) ? _reactIntlUniversal.default.get(_constants.EMPTY_NAME) : key;
693
687
  const column = columnMap[columnName];
@@ -734,7 +728,6 @@ const updateTwoDimensionWithSummaryColumnsToTable = _ref7 => {
734
728
  updateTable,
735
729
  statisticalResult
736
730
  } = _ref7;
737
- console.log('updateTwoDimensionWithSummaryColumnsToTable');
738
731
  const {
739
732
  groupbyColumn
740
733
  } = statisticalResult;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-statistic",
3
- "version": "5.0.38-alpha.1",
3
+ "version": "5.0.38",
4
4
  "description": "statistics",
5
5
  "main": "dist/dtable-statistic.js",
6
6
  "author": "seafile",