dtable-statistic 5.0.42-alpha.14 → 5.0.42-alpha.16

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.
@@ -525,9 +525,14 @@ const updatedOneDimensionToTable = _ref5 => {
525
525
  oldRow[totalColumn.key] = row[totalColumn.key];
526
526
  }
527
527
  const validSummaryCellValue = getValidValueForColumn(summaryColumn, total.total);
528
+ console.log(22, row);
529
+ console.log(33, validSummaryCellValue);
530
+ console.log(44, summaryColumn);
531
+ console.log(55, (0, _cellValue.isCellValueChanged)(row[summaryColumn.key]));
528
532
  if (summaryColumn && (0, _cellValue.isCellValueChanged)(row[summaryColumn.key], validSummaryCellValue, summaryColumn.type)) {
529
533
  updateRow[summaryColumn.key] = validSummaryCellValue;
530
534
  oldRow[summaryColumn.key] = row[summaryColumn.key];
535
+ console.log(66, row[summaryColumn.key]);
531
536
  }
532
537
  if (Object.keys(updateRow).length > 0) {
533
538
  const rowId = row._id;
@@ -548,7 +553,7 @@ const updatedOneDimensionToTable = _ref5 => {
548
553
  newRows.push(newRow);
549
554
  }
550
555
  });
551
- console.log(22, {
556
+ console.log(77, {
552
557
  newRows,
553
558
  updatedRows,
554
559
  rowIds,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-statistic",
3
- "version": "5.0.42-alpha.14",
3
+ "version": "5.0.42-alpha.16",
4
4
  "description": "statistics",
5
5
  "main": "dist/dtable-statistic.js",
6
6
  "author": "seafile",