dtable-statistic 5.0.42-alpha.20 → 5.0.42-alpha.22

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.
@@ -48,7 +48,6 @@ const exportOneDimensionToTable = _ref => {
48
48
  let {
49
49
  statisticalResult
50
50
  } = _ref;
51
- console.log('exportOneDimensionToTable');
52
51
  const {
53
52
  pivotResult,
54
53
  groupbyColumn,
@@ -236,6 +235,10 @@ const exportOneDimensionToTable = _ref => {
236
235
  });
237
236
  rows.push(newRow);
238
237
  });
238
+ console.log(11, {
239
+ columns,
240
+ rows
241
+ });
239
242
  return {
240
243
  columns,
241
244
  rows
@@ -245,7 +248,6 @@ const exportTwoDimensionToTable = _ref2 => {
245
248
  let {
246
249
  statisticalResult
247
250
  } = _ref2;
248
- console.log('exportTwoDimensionToTable');
249
251
  const {
250
252
  pivotResult,
251
253
  groupbyColumn,
@@ -469,7 +471,6 @@ const exportTwoDimensionWithSummaryColumnsToTable = _ref4 => {
469
471
  let {
470
472
  statisticalResult
471
473
  } = _ref4;
472
- console.log('exportTwoDimensionWithSummaryColumnsToTable');
473
474
  return getTwoDimensionWithSummaryColumns({
474
475
  statisticalResult
475
476
  });
@@ -479,7 +480,6 @@ const updatedOneDimensionToTable = _ref5 => {
479
480
  updateTable,
480
481
  statisticalResult
481
482
  } = _ref5;
482
- console.log('statisticalResult', statisticalResult);
483
483
  const {
484
484
  pivotResult,
485
485
  groupbyColumn,
@@ -520,8 +520,6 @@ const updatedOneDimensionToTable = _ref5 => {
520
520
  const row = tableRows.find(row => row[nameColumn.key] === groupName);
521
521
  const totalColumn = columnMap['total'];
522
522
  const sumary_column = columnMap['sumary_column'];
523
- console.log('totalColumn', totalColumn);
524
- console.log('sumary_column', sumary_column);
525
523
  if (row) {
526
524
  // update old row
527
525
  let updateRow = {};
@@ -544,7 +542,6 @@ const updatedOneDimensionToTable = _ref5 => {
544
542
  }
545
543
  } else {
546
544
  // insert new row
547
- console.log('insertrow');
548
545
  let newRow = {};
549
546
  newRow[nameColumn.key] = groupName;
550
547
  if (totalColumn) {
@@ -556,12 +553,6 @@ const updatedOneDimensionToTable = _ref5 => {
556
553
  newRows.push(newRow);
557
554
  }
558
555
  });
559
- console.log(77, {
560
- newRows,
561
- updatedRows,
562
- rowIds,
563
- oldRows
564
- });
565
556
  return {
566
557
  newRows,
567
558
  updatedRows,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-statistic",
3
- "version": "5.0.42-alpha.20",
3
+ "version": "5.0.42-alpha.22",
4
4
  "description": "statistics",
5
5
  "main": "dist/dtable-statistic.js",
6
6
  "author": "seafile",