@cellaware/utils 8.1.9 → 8.1.11

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.
@@ -723,6 +723,9 @@ export function transformDatagrid(rows, datagridState, locale, condition) {
723
723
  rows = filterRows(rows, filterModel);
724
724
  const chartRowData = [];
725
725
  // IMPORTANT: we evaluate the datagrid condition AFTER we are done with all transformations.
726
+ console.log('Pivot Mode: ' + isPivotMode);
727
+ console.log(pivotCols);
728
+ console.log(valueCols);
726
729
  if (isPivotMode && pivotCols.length > 0 && valueCols.length > 0) {
727
730
  const pivotOutput = pivotData(rows, rowGroupCols, pivotCols, valueCols);
728
731
  rows = pivotOutput.rows;
@@ -63,7 +63,8 @@ export interface ReportLine {
63
63
  }
64
64
  export interface ReportLineResult {
65
65
  rows: any[];
66
- rowsStr: string;
66
+ htmlRows: string;
67
+ markdownRows: string;
67
68
  chartRows: any[];
68
69
  }
69
70
  export declare function initReportLineResult(): ReportLineResult;
@@ -26,7 +26,8 @@ export function initReport() {
26
26
  export function initReportLineResult() {
27
27
  return {
28
28
  rows: [],
29
- rowsStr: '',
29
+ htmlRows: '',
30
+ markdownRows: '',
30
31
  chartRows: []
31
32
  };
32
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cellaware/utils",
3
- "version": "8.1.9",
3
+ "version": "8.1.11",
4
4
  "description": "Cellaware Utilities for Node.js",
5
5
  "author": "Cellaware Technologies",
6
6
  "type": "module",