@syncfusion/ej2-pivotview 19.3.48 → 19.3.53

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.48
3
+ * version : 19.3.53
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.47",
3
+ "_id": "@syncfusion/ej2-pivotview@19.3.48",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-QQ2EsAps5ihvb8r/LnIRKagB9bxlvStzANMQxaAHNmagCyivhZCuVRckVi6dJTosc5SOSraGgdhiONORu9uFag==",
5
+ "_integrity": "sha512-gKbPG1m+Pr8ZncxXlxagHrMfQvl0t8I+91cq4oLlFyr7vWVrnTMub+7zJcAEpB1rezSLad/khDI+mybuaAzIOA==",
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.47.tgz",
27
- "_shasum": "2c273275b3fbd7410fc90f7ac1df1729501e927f",
26
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-pivotview/-/ej2-pivotview-19.3.48.tgz",
27
+ "_shasum": "18edeff7aed76eee560dfb774f256ad06621a733",
28
28
  "_spec": "@syncfusion/ej2-pivotview@*",
29
29
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
30
30
  "author": {
@@ -35,23 +35,23 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~19.3.47",
39
- "@syncfusion/ej2-buttons": "~19.3.44",
40
- "@syncfusion/ej2-calendars": "~19.3.46",
41
- "@syncfusion/ej2-charts": "~19.3.48",
42
- "@syncfusion/ej2-compression": "~19.3.43",
43
- "@syncfusion/ej2-data": "~19.3.47",
44
- "@syncfusion/ej2-dropdowns": "~19.3.48",
45
- "@syncfusion/ej2-excel-export": "~19.3.48",
46
- "@syncfusion/ej2-file-utils": "~19.3.43",
47
- "@syncfusion/ej2-grids": "~19.3.48",
48
- "@syncfusion/ej2-inputs": "~19.3.48",
49
- "@syncfusion/ej2-lists": "~19.3.48",
50
- "@syncfusion/ej2-navigations": "~19.3.46",
51
- "@syncfusion/ej2-pdf-export": "~19.3.43",
52
- "@syncfusion/ej2-popups": "~19.3.47",
53
- "@syncfusion/ej2-splitbuttons": "~19.3.48",
54
- "@syncfusion/ej2-svg-base": "~19.3.45"
38
+ "@syncfusion/ej2-base": "~19.3.53",
39
+ "@syncfusion/ej2-buttons": "~19.3.53",
40
+ "@syncfusion/ej2-calendars": "~19.3.53",
41
+ "@syncfusion/ej2-charts": "~19.3.53",
42
+ "@syncfusion/ej2-compression": "~19.3.53",
43
+ "@syncfusion/ej2-data": "~19.3.53",
44
+ "@syncfusion/ej2-dropdowns": "~19.3.53",
45
+ "@syncfusion/ej2-excel-export": "~19.3.53",
46
+ "@syncfusion/ej2-file-utils": "~19.3.53",
47
+ "@syncfusion/ej2-grids": "~19.3.53",
48
+ "@syncfusion/ej2-inputs": "~19.3.53",
49
+ "@syncfusion/ej2-lists": "~19.3.53",
50
+ "@syncfusion/ej2-navigations": "~19.3.53",
51
+ "@syncfusion/ej2-pdf-export": "~19.3.53",
52
+ "@syncfusion/ej2-popups": "~19.3.53",
53
+ "@syncfusion/ej2-splitbuttons": "~19.3.53",
54
+ "@syncfusion/ej2-svg-base": "~19.3.53"
55
55
  },
56
56
  "deprecated": false,
57
57
  "description": "The pivot grid, or pivot table, is used to visualize large sets of relational data in a cross-tabular format, similar to an Excel pivot table.",
@@ -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.48",
81
+ "version": "19.3.53",
82
82
  "sideEffects": false
83
83
  }
@@ -1644,7 +1644,7 @@ var PivotView = /** @class */ (function (_super) {
1644
1644
  true : this.hyperlinkSettings.showHyperlink ? true : false);
1645
1645
  this.applyHyperlinkSettings();
1646
1646
  }
1647
- this.renderModule = new Render(this);
1647
+ this.renderModule = this.renderModule ? this.renderModule : new Render(this);
1648
1648
  this.renderModule.render();
1649
1649
  }
1650
1650
  else if (this.grid) {
@@ -3251,7 +3251,7 @@ var PivotView = /** @class */ (function (_super) {
3251
3251
  this.isEmptyGrid = true;
3252
3252
  this.notEmpty = false;
3253
3253
  this.isInitial = true;
3254
- this.renderModule = new Render(this);
3254
+ this.renderModule = this.renderModule ? this.renderModule : new Render(this);
3255
3255
  if (this.grid && this.grid.element && this.element.querySelector('.e-grid')) {
3256
3256
  this.notEmpty = true;
3257
3257
  this.grid.setProperties({
@@ -39,27 +39,30 @@ var Render = /** @class */ (function () {
39
39
  /* eslint-disable-next-line */
40
40
  /** @hidden */
41
41
  Render.prototype.render = function () {
42
- var parent = this.parent;
43
- var engine = this.parent.dataType === 'olap' ? this.parent.olapEngineModule : this.parent.engineModule;
42
+ this.resColWidth = (this.parent.showGroupingBar && this.parent.groupingBarModule) ? (this.parent.isAdaptive ? 180 : 250) :
43
+ (this.parent.isAdaptive ? 140 : 200);
44
+ this.engine = this.parent.dataType === 'olap' ? this.parent.olapEngineModule : this.parent.engineModule;
45
+ this.gridSettings = this.parent.gridSettings;
46
+ this.formatList = this.getFormatList();
44
47
  this.parent.gridHeaderCellInfo = [];
45
48
  this.parent.gridCellCollection = {};
46
- this.injectGridModules(parent);
49
+ this.injectGridModules(this.parent);
47
50
  this.rowStartPos = this.getRowStartPos();
48
51
  if (this.parent.grid && this.parent.grid.element && this.parent.element.querySelector('.e-grid')) {
49
52
  this.parent.notEmpty = true;
50
- if (!engine.isEngineUpdated) {
51
- engine.headerContent = this.frameDataSource('header');
52
- engine.valueContent = this.frameDataSource('value');
53
+ if (!this.engine.isEngineUpdated) {
54
+ this.engine.headerContent = this.frameDataSource('header');
55
+ this.engine.valueContent = this.frameDataSource('value');
53
56
  }
54
57
  else {
55
58
  if (this.parent.enableValueSorting) {
56
- engine.valueContent = this.frameDataSource('value');
59
+ this.engine.valueContent = this.frameDataSource('value');
57
60
  }
58
- engine.isEngineUpdated = false;
61
+ this.engine.isEngineUpdated = false;
59
62
  }
60
63
  this.parent.grid.setProperties({
61
64
  columns: this.frameStackedHeaders(), dataSource: (this.parent.dataType === 'olap' ? true :
62
- parent.dataSourceSettings.values.length > 0) && !this.engine.isEmptyData ? engine.valueContent :
65
+ this.parent.dataSourceSettings.values.length > 0) && !this.engine.isEmptyData ? this.engine.valueContent :
63
66
  this.frameDataSource('value')
64
67
  }, true);
65
68
  if (this.parent.grid.height === 'auto') {