@syncfusion/ej2-pivotview 19.3.53 → 19.3.55

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 19.3.53
3
+ * version : 19.3.55
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-pivotview@*",
3
- "_id": "@syncfusion/ej2-pivotview@19.3.48",
3
+ "_id": "@syncfusion/ej2-pivotview@19.3.53",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-gKbPG1m+Pr8ZncxXlxagHrMfQvl0t8I+91cq4oLlFyr7vWVrnTMub+7zJcAEpB1rezSLad/khDI+mybuaAzIOA==",
5
+ "_integrity": "sha512-1PAHtLa08fyZ694zllGCuNdmniTbsK/EagixUzr8c317G7oSPTyTAJOA+NL6qQl6rMH3KXakiV6/6RJ5FaVm8w==",
6
6
  "_location": "/@syncfusion/ej2-pivotview",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -23,8 +23,8 @@
23
23
  "/@syncfusion/ej2-react-pivotview",
24
24
  "/@syncfusion/ej2-vue-pivotview"
25
25
  ],
26
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-pivotview/-/ej2-pivotview-19.3.48.tgz",
27
- "_shasum": "18edeff7aed76eee560dfb774f256ad06621a733",
26
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-pivotview/-/ej2-pivotview-19.3.53.tgz",
27
+ "_shasum": "eedaabb890d4533cda50739a6988a28f4dac28fd",
28
28
  "_spec": "@syncfusion/ej2-pivotview@*",
29
29
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
30
30
  "author": {
@@ -35,19 +35,19 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~19.3.53",
38
+ "@syncfusion/ej2-base": "~19.3.54",
39
39
  "@syncfusion/ej2-buttons": "~19.3.53",
40
- "@syncfusion/ej2-calendars": "~19.3.53",
41
- "@syncfusion/ej2-charts": "~19.3.53",
40
+ "@syncfusion/ej2-calendars": "~19.3.55",
41
+ "@syncfusion/ej2-charts": "~19.3.55",
42
42
  "@syncfusion/ej2-compression": "~19.3.53",
43
43
  "@syncfusion/ej2-data": "~19.3.53",
44
- "@syncfusion/ej2-dropdowns": "~19.3.53",
44
+ "@syncfusion/ej2-dropdowns": "~19.3.55",
45
45
  "@syncfusion/ej2-excel-export": "~19.3.53",
46
46
  "@syncfusion/ej2-file-utils": "~19.3.53",
47
- "@syncfusion/ej2-grids": "~19.3.53",
47
+ "@syncfusion/ej2-grids": "~19.3.55",
48
48
  "@syncfusion/ej2-inputs": "~19.3.53",
49
49
  "@syncfusion/ej2-lists": "~19.3.53",
50
- "@syncfusion/ej2-navigations": "~19.3.53",
50
+ "@syncfusion/ej2-navigations": "~19.3.54",
51
51
  "@syncfusion/ej2-pdf-export": "~19.3.53",
52
52
  "@syncfusion/ej2-popups": "~19.3.53",
53
53
  "@syncfusion/ej2-splitbuttons": "~19.3.53",
@@ -78,6 +78,6 @@
78
78
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
79
79
  },
80
80
  "typings": "index.d.ts",
81
- "version": "19.3.53",
81
+ "version": "19.3.55",
82
82
  "sideEffects": false
83
83
  }
@@ -1790,7 +1790,7 @@ var Render = /** @class */ (function () {
1790
1790
  return this.parent.localeObj.getConstant('total') + ' ' + this.parent.localeObj.getConstant(this.parent.engineModule.fieldList[cellInfo.value.toString()].aggregateType)
1791
1791
  + ' ' + this.parent.localeObj.getConstant('of') + ' ' + cellInfo.value.toString();
1792
1792
  }
1793
- else if (values.length === 1) {
1793
+ else if (values.length === 1 && this.parent.dataSourceSettings.rows.length === 0) {
1794
1794
  return this.parent.localeObj.getConstant('total') + ' ' + this.parent.localeObj.getConstant(values[values.length - 1].type)
1795
1795
  + ' ' + this.parent.localeObj.getConstant('of') + ' ' + (!isNullOrUndefined(values[values.length - 1].caption) ? values[values.length - 1].caption : values[values.length - 1].name);
1796
1796
  }
@@ -1812,7 +1812,9 @@ var Render = /** @class */ (function () {
1812
1812
  };
1813
1813
  /* eslint-disable */
1814
1814
  Render.prototype.excelColumnEvent = function (args) {
1815
- (args.cell).value = this.getValidHeader(args, 'column');
1815
+ if (this.parent.dataSourceSettings.columns.length === 0 && this.parent.dataSourceSettings.valueAxis === 'column') {
1816
+ (args.cell).value = this.getValidHeader(args, 'column');
1817
+ }
1816
1818
  if (args.gridCell !== undefined && args.gridCell.column.width === 'auto') {
1817
1819
  this.parent.lastColumn = args.gridCell.column;
1818
1820
  args.gridCell.column.width = args.gridCell.column.minWidth;
@@ -1821,7 +1823,9 @@ var Render = /** @class */ (function () {
1821
1823
  this.parent.trigger(events.excelHeaderQueryCellInfo, args);
1822
1824
  };
1823
1825
  Render.prototype.pdfColumnEvent = function (args) {
1824
- (args.cell).value = this.getValidHeader(args, 'column');
1826
+ if (this.parent.dataSourceSettings.columns.length === 0 && this.parent.dataSourceSettings.valueAxis === 'column') {
1827
+ (args.cell).value = this.getValidHeader(args, 'column');
1828
+ }
1825
1829
  if (args.gridCell !== undefined && args.gridCell.column.width === 'auto') {
1826
1830
  this.parent.lastColumn = args.gridCell.column;
1827
1831
  args.gridCell.column.width = args.gridCell.column.minWidth;
@@ -1862,7 +1866,9 @@ var Render = /** @class */ (function () {
1862
1866
  }
1863
1867
  }
1864
1868
  args = this.exportContentEvent(args);
1865
- args.value = args.column.field === '0.formattedText' ? this.getValidHeader(args, 'row') : args.value;
1869
+ if (this.parent.dataSourceSettings.rows.length === 0 && this.parent.dataSourceSettings.valueAxis === 'row') {
1870
+ args.value = args.column.field === '0.formattedText' ? this.getValidHeader(args, 'row') : args.value;
1871
+ }
1866
1872
  this.parent.trigger(events.excelQueryCellInfo, args);
1867
1873
  };
1868
1874
  /* eslint-disable @typescript-eslint/no-explicit-any */
@@ -1886,7 +1892,9 @@ var Render = /** @class */ (function () {
1886
1892
  }
1887
1893
  args.style = { paragraphIndent: level * 10 };
1888
1894
  this.lastSpan = isValueCell ? this.lastSpan : level;
1889
- args.value = this.getValidHeader(args, 'row');
1895
+ if (this.parent.dataSourceSettings.rows.length === 0 && this.parent.dataSourceSettings.valueAxis === 'row') {
1896
+ args.value = this.getValidHeader(args, 'row');
1897
+ }
1890
1898
  }
1891
1899
  this.parent.trigger(events.pdfQueryCellInfo, args);
1892
1900
  };