dtable-statistic 5.0.42-alpha.21 → 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,8 +480,6 @@ const updatedOneDimensionToTable = _ref5 => {
479
480
  updateTable,
480
481
  statisticalResult
481
482
  } = _ref5;
482
- console.log('statisticalResult', statisticalResult);
483
- console.log('updateTable', updateTable);
484
483
  const {
485
484
  pivotResult,
486
485
  groupbyColumn,
@@ -521,8 +520,6 @@ const updatedOneDimensionToTable = _ref5 => {
521
520
  const row = tableRows.find(row => row[nameColumn.key] === groupName);
522
521
  const totalColumn = columnMap['total'];
523
522
  const sumary_column = columnMap['sumary_column'];
524
- console.log('totalColumn', totalColumn);
525
- console.log('sumary_column', sumary_column);
526
523
  if (row) {
527
524
  // update old row
528
525
  let updateRow = {};
@@ -545,7 +542,6 @@ const updatedOneDimensionToTable = _ref5 => {
545
542
  }
546
543
  } else {
547
544
  // insert new row
548
- console.log('insertrow');
549
545
  let newRow = {};
550
546
  newRow[nameColumn.key] = groupName;
551
547
  if (totalColumn) {
@@ -557,12 +553,6 @@ const updatedOneDimensionToTable = _ref5 => {
557
553
  newRows.push(newRow);
558
554
  }
559
555
  });
560
- console.log(77, {
561
- newRows,
562
- updatedRows,
563
- rowIds,
564
- oldRows
565
- });
566
556
  return {
567
557
  newRows,
568
558
  updatedRows,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-statistic",
3
- "version": "5.0.42-alpha.21",
3
+ "version": "5.0.42-alpha.22",
4
4
  "description": "statistics",
5
5
  "main": "dist/dtable-statistic.js",
6
6
  "author": "seafile",