@syncfusion/ej2-pivotview 19.3.47 → 19.3.48
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 +10 -1
- 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 +7 -6
- package/dist/es6/ej2-pivotview.es2015.js.map +1 -1
- package/dist/es6/ej2-pivotview.es5.js +7 -6
- 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 +12 -12
- package/src/base/engine.js +2 -2
- package/src/pivotview/renderer/render.js +5 -4
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.48
|
|
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.47",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-QQ2EsAps5ihvb8r/LnIRKagB9bxlvStzANMQxaAHNmagCyivhZCuVRckVi6dJTosc5SOSraGgdhiONORu9uFag==",
|
|
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/@syncfusion/ej2-pivotview/-/ej2-pivotview-19.3.47.tgz",
|
|
27
|
+
"_shasum": "2c273275b3fbd7410fc90f7ac1df1729501e927f",
|
|
28
28
|
"_spec": "@syncfusion/ej2-pivotview@*",
|
|
29
29
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -38,19 +38,19 @@
|
|
|
38
38
|
"@syncfusion/ej2-base": "~19.3.47",
|
|
39
39
|
"@syncfusion/ej2-buttons": "~19.3.44",
|
|
40
40
|
"@syncfusion/ej2-calendars": "~19.3.46",
|
|
41
|
-
"@syncfusion/ej2-charts": "~19.3.
|
|
41
|
+
"@syncfusion/ej2-charts": "~19.3.48",
|
|
42
42
|
"@syncfusion/ej2-compression": "~19.3.43",
|
|
43
43
|
"@syncfusion/ej2-data": "~19.3.47",
|
|
44
|
-
"@syncfusion/ej2-dropdowns": "~19.3.
|
|
45
|
-
"@syncfusion/ej2-excel-export": "~19.3.
|
|
44
|
+
"@syncfusion/ej2-dropdowns": "~19.3.48",
|
|
45
|
+
"@syncfusion/ej2-excel-export": "~19.3.48",
|
|
46
46
|
"@syncfusion/ej2-file-utils": "~19.3.43",
|
|
47
|
-
"@syncfusion/ej2-grids": "~19.3.
|
|
48
|
-
"@syncfusion/ej2-inputs": "~19.3.
|
|
49
|
-
"@syncfusion/ej2-lists": "~19.3.
|
|
47
|
+
"@syncfusion/ej2-grids": "~19.3.48",
|
|
48
|
+
"@syncfusion/ej2-inputs": "~19.3.48",
|
|
49
|
+
"@syncfusion/ej2-lists": "~19.3.48",
|
|
50
50
|
"@syncfusion/ej2-navigations": "~19.3.46",
|
|
51
51
|
"@syncfusion/ej2-pdf-export": "~19.3.43",
|
|
52
52
|
"@syncfusion/ej2-popups": "~19.3.47",
|
|
53
|
-
"@syncfusion/ej2-splitbuttons": "~19.3.
|
|
53
|
+
"@syncfusion/ej2-splitbuttons": "~19.3.48",
|
|
54
54
|
"@syncfusion/ej2-svg-base": "~19.3.45"
|
|
55
55
|
},
|
|
56
56
|
"deprecated": false,
|
|
@@ -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.48",
|
|
82
82
|
"sideEffects": false
|
|
83
83
|
}
|
package/src/base/engine.js
CHANGED
|
@@ -3406,7 +3406,7 @@ var PivotEngine = /** @class */ (function () {
|
|
|
3406
3406
|
for (var cln = 0, dln = 1, clt = columns.length; cln < clt; ++cln) {
|
|
3407
3407
|
if (!isValueIndexFound) {
|
|
3408
3408
|
for (vln = 0; vln < vlt; vln++) {
|
|
3409
|
-
if (row.valueSort.uniqueName && row.valueSort.uniqueName.toString().indexOf(this.values[vln].name) > -1) {
|
|
3409
|
+
if (row.valueSort.uniqueName && row.valueSort.uniqueName.toString().split(this.valueSortSettings.headerDelimiter).indexOf(this.values[vln].name) > -1) {
|
|
3410
3410
|
isValueIndexFound = true;
|
|
3411
3411
|
isValueCellUpdated = true;
|
|
3412
3412
|
break;
|
|
@@ -3441,7 +3441,7 @@ var PivotEngine = /** @class */ (function () {
|
|
|
3441
3441
|
for (var cln = 0, dln = 1, clt = columns.length; cln < clt; ++cln) {
|
|
3442
3442
|
for (var vln = 0; vln < vlt; vln++) {
|
|
3443
3443
|
if (!this.valueAxis && !this.isLastHeaderHasMeasures) {
|
|
3444
|
-
if (columns[cln].valueSort.uniqueName && columns[cln].valueSort.uniqueName.toString().indexOf(this.values[vln].name) > -1) {
|
|
3444
|
+
if (columns[cln].valueSort.uniqueName && columns[cln].valueSort.uniqueName.toString().split(this.valueSortSettings.headerDelimiter).indexOf(this.values[vln].name) > -1) {
|
|
3445
3445
|
this.updateRowData(rows, columns, tnum, data, vln, rln, cln, dln, actCnt, rTotal, cTotal);
|
|
3446
3446
|
dln = data[tnum].length;
|
|
3447
3447
|
}
|
|
@@ -1003,7 +1003,7 @@ var Render = /** @class */ (function () {
|
|
|
1003
1003
|
if (tCell && (this.parent.notEmpty) && this.engine.headerContent) {
|
|
1004
1004
|
var customClass = this.parent.hyperlinkSettings.cssClass;
|
|
1005
1005
|
var cell = args.data[0];
|
|
1006
|
-
var isRowFieldsAvail = cell.valueSort.levelName === (this.parent.dataSourceSettings.rows.length === 0 && this.parent.dataSourceSettings.valueAxis === 'row' &&
|
|
1006
|
+
var isRowFieldsAvail = cell.valueSort && cell.valueSort.levelName === (this.parent.dataSourceSettings.rows.length === 0 && this.parent.dataSourceSettings.valueAxis === 'row' &&
|
|
1007
1007
|
this.parent.localeObj.getConstant('grandTotal') + (this.parent.dataSourceSettings.valueSortSettings.headerDelimiter) + (cell.formattedText));
|
|
1008
1008
|
tCell.setAttribute('index', cell.rowIndex ? cell.rowIndex.toString() : '0');
|
|
1009
1009
|
if (tCell.getAttribute('aria-colindex') === '0') {
|
|
@@ -1091,8 +1091,9 @@ var Render = /** @class */ (function () {
|
|
|
1091
1091
|
}));
|
|
1092
1092
|
var vSort = this.parent.pivotView.dataSourceSettings.valueSortSettings;
|
|
1093
1093
|
if (this.parent.enableValueSorting) {
|
|
1094
|
-
if (vSort && vSort.headerText && this.parent.dataSourceSettings.valueAxis === 'row'
|
|
1095
|
-
|
|
1094
|
+
if (vSort && vSort.headerText && this.parent.dataSourceSettings.valueAxis === 'row' &&
|
|
1095
|
+
this.parent.pivotValues[Number(tCell.getAttribute('index'))][0] &&
|
|
1096
|
+
this.parent.pivotValues[Number(tCell.getAttribute('index'))][0].valueSort.levelName) {
|
|
1096
1097
|
if (this.parent.pivotValues[Number(tCell.getAttribute('index'))][0].valueSort.levelName
|
|
1097
1098
|
=== vSort.headerText) {
|
|
1098
1099
|
var style = (tCell.querySelector('.e-expand') || tCell.querySelector('.e-collapse')) ?
|
|
@@ -1324,7 +1325,7 @@ var Render = /** @class */ (function () {
|
|
|
1324
1325
|
else {
|
|
1325
1326
|
tCell = this.onOlapColumnCellBoundEvent(tCell, cell);
|
|
1326
1327
|
}
|
|
1327
|
-
var isColumnFieldsAvail = (this.parent.dataSourceSettings.columns.length === 0 && this.parent.dataSourceSettings.valueAxis === 'column' &&
|
|
1328
|
+
var isColumnFieldsAvail = (this.parent.dataSourceSettings.columns.length === 0 && this.parent.dataSourceSettings.valueAxis === 'column' && cell.valueSort &&
|
|
1328
1329
|
cell.valueSort.levelName === (this.parent.localeObj.getConstant('grandTotal') + (this.parent.dataSourceSettings.valueSortSettings.headerDelimiter) + (cell.formattedText)));
|
|
1329
1330
|
if (cell.type || isColumnFieldsAvail) {
|
|
1330
1331
|
tCell.classList.add(cell.type === 'grand sum' ? 'e-gtot' : 'e-stot');
|