@syncfusion/ej2-pivotview 19.3.55 → 19.3.57
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.
- package/CHANGELOG.md +2 -0
- package/dist/ej2-pivotview.umd.min.js +2 -2
- package/dist/ej2-pivotview.umd.min.js.map +1 -1
- package/dist/es6/ej2-pivotview.es2015.js +27 -2
- package/dist/es6/ej2-pivotview.es2015.js.map +1 -1
- package/dist/es6/ej2-pivotview.es5.js +27 -2
- package/dist/es6/ej2-pivotview.es5.js.map +1 -1
- package/dist/global/ej2-pivotview.min.js +2 -2
- package/dist/global/ej2-pivotview.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +14 -14
- package/src/base/engine.js +4 -2
- package/src/pivotview/base/pivotview.js +23 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 19.3.
|
|
3
|
+
* version : 19.3.57
|
|
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.
|
|
3
|
+
"_id": "@syncfusion/ej2-pivotview@19.3.55",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-CHTu9X+whthcDiW8T9adBf25UpUnLgKk4XZ63ANu2tfw5NWBb/gHkiEY5ps7cDCc2wqKl3q/xdc8L67iHacJOA==",
|
|
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.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-pivotview/-/ej2-pivotview-19.3.55.tgz",
|
|
27
|
+
"_shasum": "057fe1fce43694d103d152dffb39fa013aa094f2",
|
|
28
28
|
"_spec": "@syncfusion/ej2-pivotview@*",
|
|
29
29
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -35,21 +35,21 @@
|
|
|
35
35
|
},
|
|
36
36
|
"bundleDependencies": false,
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@syncfusion/ej2-base": "~19.3.
|
|
38
|
+
"@syncfusion/ej2-base": "~19.3.56",
|
|
39
39
|
"@syncfusion/ej2-buttons": "~19.3.53",
|
|
40
|
-
"@syncfusion/ej2-calendars": "~19.3.
|
|
40
|
+
"@syncfusion/ej2-calendars": "~19.3.56",
|
|
41
41
|
"@syncfusion/ej2-charts": "~19.3.55",
|
|
42
42
|
"@syncfusion/ej2-compression": "~19.3.53",
|
|
43
|
-
"@syncfusion/ej2-data": "~19.3.
|
|
44
|
-
"@syncfusion/ej2-dropdowns": "~19.3.
|
|
45
|
-
"@syncfusion/ej2-excel-export": "~19.3.
|
|
43
|
+
"@syncfusion/ej2-data": "~19.3.57",
|
|
44
|
+
"@syncfusion/ej2-dropdowns": "~19.3.56",
|
|
45
|
+
"@syncfusion/ej2-excel-export": "~19.3.56",
|
|
46
46
|
"@syncfusion/ej2-file-utils": "~19.3.53",
|
|
47
|
-
"@syncfusion/ej2-grids": "~19.3.
|
|
48
|
-
"@syncfusion/ej2-inputs": "~19.3.
|
|
47
|
+
"@syncfusion/ej2-grids": "~19.3.57",
|
|
48
|
+
"@syncfusion/ej2-inputs": "~19.3.57",
|
|
49
49
|
"@syncfusion/ej2-lists": "~19.3.53",
|
|
50
|
-
"@syncfusion/ej2-navigations": "~19.3.
|
|
50
|
+
"@syncfusion/ej2-navigations": "~19.3.57",
|
|
51
51
|
"@syncfusion/ej2-pdf-export": "~19.3.53",
|
|
52
|
-
"@syncfusion/ej2-popups": "~19.3.
|
|
52
|
+
"@syncfusion/ej2-popups": "~19.3.57",
|
|
53
53
|
"@syncfusion/ej2-splitbuttons": "~19.3.53",
|
|
54
54
|
"@syncfusion/ej2-svg-base": "~19.3.53"
|
|
55
55
|
},
|
|
@@ -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.
|
|
81
|
+
"version": "19.3.57",
|
|
82
82
|
"sideEffects": false
|
|
83
83
|
}
|
package/src/base/engine.js
CHANGED
|
@@ -3197,6 +3197,7 @@ var PivotEngine = /** @class */ (function () {
|
|
|
3197
3197
|
var summCell = headers[headers.length - 1];
|
|
3198
3198
|
if (summCell && summCell.type === 'grand sum') {
|
|
3199
3199
|
summCell.index = this.filterMembers;
|
|
3200
|
+
summCell.indexObject = {};
|
|
3200
3201
|
/* eslint-disable */
|
|
3201
3202
|
var lt = void 0;
|
|
3202
3203
|
for (var ln = 0, lt_1 = this.filterMembers.length; ln < lt_1; ln++) {
|
|
@@ -3378,10 +3379,11 @@ var PivotEngine = /** @class */ (function () {
|
|
|
3378
3379
|
row.colIndex = 0;
|
|
3379
3380
|
row.rowIndex = tnum;
|
|
3380
3381
|
var isRowFieldsAvail = false;
|
|
3382
|
+
var delimiter = this.dataSourceSettings.valueSortSettings.headerDelimiter;
|
|
3381
3383
|
if (this.valueAxis && this.dataSourceSettings.rows.length === 0 && this.dataSourceSettings.values.length > 1) {
|
|
3382
3384
|
this.rowIndex = (isNullOrUndefined(this.rowIndex) && !isLeastNode && this.dataSourceSettings.rows.length === 0) ? row.index : this.rowIndex;
|
|
3383
|
-
isRowFieldsAvail = (this.valueAxis && this.dataSourceSettings.rows.length === 0 && row.valueSort.levelName.toString().indexOf('Grand Total
|
|
3384
|
-
if (this.valueAxis && this.dataSourceSettings.rows.length === 0 && row.valueSort.levelName.toString().indexOf('Grand Total
|
|
3385
|
+
isRowFieldsAvail = (this.valueAxis && this.dataSourceSettings.rows.length === 0 && row.valueSort.levelName && row.valueSort.levelName.toString().indexOf('Grand Total' + delimiter) !== 0);
|
|
3386
|
+
if (this.valueAxis && this.dataSourceSettings.rows.length === 0 && row.valueSort.levelName.toString().indexOf('Grand Total' + delimiter) === 0) {
|
|
3385
3387
|
row.index = this.rowIndex;
|
|
3386
3388
|
}
|
|
3387
3389
|
}
|
|
@@ -1261,12 +1261,32 @@ var PivotView = /** @class */ (function (_super) {
|
|
|
1261
1261
|
/* eslint-disable */
|
|
1262
1262
|
var columnRender = this.gridSettings['columnRender'];
|
|
1263
1263
|
var chartLoadEvent = this.chartSettings['load'];
|
|
1264
|
+
var chartLoadedEvent = this.chartSettings['loaded'];
|
|
1265
|
+
var chartTextRenderEvent = this.chartSettings['textRender'];
|
|
1266
|
+
var chartPointRenderEvent = this.chartSettings['pointRender'];
|
|
1267
|
+
var chartSeriesRenderEvent = this.chartSettings['seriesRender'];
|
|
1268
|
+
var chartLegendRenderEvent = this.chartSettings['legendRender'];
|
|
1269
|
+
var chartPointClickEvent = this.chartSettings['pointClick'];
|
|
1270
|
+
var chartTooltipRenderEvent = this.chartSettings['tooltipRender'];
|
|
1264
1271
|
this.gridSettings['columnRender'] = undefined;
|
|
1265
1272
|
this.chartSettings['tooltipRender'] = undefined;
|
|
1266
1273
|
this.chartSettings['load'] = undefined;
|
|
1274
|
+
this.chartSettings['loaded'] = undefined;
|
|
1275
|
+
this.chartSettings['textRender'] = undefined;
|
|
1276
|
+
this.chartSettings['pointRender'] = undefined;
|
|
1277
|
+
this.chartSettings['seriesRender'] = undefined;
|
|
1278
|
+
this.chartSettings['legendRender'] = undefined;
|
|
1279
|
+
this.chartSettings['pointClick'] = undefined;
|
|
1267
1280
|
var persistData = this.addOnPersist(keyEntity);
|
|
1268
1281
|
this.gridSettings['columnRender'] = columnRender;
|
|
1269
1282
|
this.chartSettings['load'] = chartLoadEvent;
|
|
1283
|
+
this.chartSettings['loaded'] = chartLoadedEvent;
|
|
1284
|
+
this.chartSettings['textRender'] = chartTextRenderEvent;
|
|
1285
|
+
this.chartSettings['pointRender'] = chartPointRenderEvent;
|
|
1286
|
+
this.chartSettings['seriesRender'] = chartSeriesRenderEvent;
|
|
1287
|
+
this.chartSettings['legendRender'] = chartLegendRenderEvent;
|
|
1288
|
+
this.chartSettings['pointClick'] = chartPointClickEvent;
|
|
1289
|
+
this.chartSettings['tooltipRender'] = chartTooltipRenderEvent;
|
|
1270
1290
|
/* eslint-enable */
|
|
1271
1291
|
return persistData;
|
|
1272
1292
|
};
|
|
@@ -1519,6 +1539,9 @@ var PivotView = /** @class */ (function (_super) {
|
|
|
1519
1539
|
if (this.element.querySelector('.e-grouping-bar')) {
|
|
1520
1540
|
this.element.querySelector('.e-grouping-bar').remove();
|
|
1521
1541
|
}
|
|
1542
|
+
else if (this.groupingBarModule) {
|
|
1543
|
+
this.groupingBarModule.renderLayout();
|
|
1544
|
+
}
|
|
1522
1545
|
if (isNullOrUndefined(newProp.showFieldList))
|
|
1523
1546
|
this.renderPivotGrid();
|
|
1524
1547
|
break;
|