dtable-statistic 5.0.42-alpha.17 → 5.0.42-alpha.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.
@@ -507,7 +507,6 @@ const updatedOneDimensionToTable = _ref5 => {
507
507
  if (summaryColumn) {
508
508
  columnMap['sumary_column'] = (0, _dtableUtils.getTableColumnByName)(updateTable, summaryColumn.name);
509
509
  }
510
- console.log('columnMap', columnMap);
511
510
 
512
511
  // updated rows
513
512
  pivot_rows.forEach(item => {
@@ -530,14 +529,9 @@ const updatedOneDimensionToTable = _ref5 => {
530
529
  oldRow[totalColumn.key] = row[totalColumn.key];
531
530
  }
532
531
  const validSummaryCellValue = getValidValueForColumn(sumary_column, total.total);
533
- console.log(22, row);
534
- console.log(33, validSummaryCellValue);
535
- console.log(44, sumary_column);
536
- console.log(55, (0, _cellValue.isCellValueChanged)(row[sumary_column.key]));
537
532
  if (sumary_column && (0, _cellValue.isCellValueChanged)(row[sumary_column.key], validSummaryCellValue, sumary_column.type)) {
538
533
  updateRow[sumary_column.key] = validSummaryCellValue;
539
534
  oldRow[sumary_column.key] = row[sumary_column.key];
540
- console.log(66, row[sumary_column.key]);
541
535
  }
542
536
  if (Object.keys(updateRow).length > 0) {
543
537
  const rowId = row._id;
@@ -547,6 +541,7 @@ const updatedOneDimensionToTable = _ref5 => {
547
541
  }
548
542
  } else {
549
543
  // insert new row
544
+ console.log('insertrow');
550
545
  let newRow = {};
551
546
  newRow[nameColumn.key] = groupName;
552
547
  if (totalColumn) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-statistic",
3
- "version": "5.0.42-alpha.17",
3
+ "version": "5.0.42-alpha.18",
4
4
  "description": "statistics",
5
5
  "main": "dist/dtable-statistic.js",
6
6
  "author": "seafile",