@syncfusion/ej2-pivotview 19.4.50 → 19.4.54
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 +19 -0
- package/README.md +1 -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 +13 -16
- package/dist/es6/ej2-pivotview.es2015.js.map +1 -1
- package/dist/es6/ej2-pivotview.es5.js +13 -16
- 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 +22 -22
- package/src/common/actions/dataSource-update.js +1 -1
- package/src/pivotchart/base/pivotchart.d.ts +1 -1
- package/src/pivotchart/base/pivotchart.js +0 -7
- package/src/pivotfieldlist/renderer/tree-renderer.js +1 -1
- package/src/pivotview/base/pivotview.js +11 -7
- package/styles/bootstrap5-dark.css +1 -0
- package/styles/bootstrap5.css +1 -0
- package/styles/pivotview/_theme.scss +3 -0
- package/styles/pivotview/bootstrap5-dark.css +1 -0
- package/styles/pivotview/bootstrap5.css +1 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 19.4.
|
|
3
|
+
* version : 19.4.54
|
|
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.4.
|
|
3
|
+
"_id": "@syncfusion/ej2-pivotview@19.4.53",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512
|
|
5
|
+
"_integrity": "sha512-FikLaOJ6Iw5qQKUyxTSOiIurmcPb1yk4d07QzermnBmCqUFcYoW5sS9cBuFveej/jiOmXOoq23vd0dMuWw4/9Q==",
|
|
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-new/@syncfusion/ej2-pivotview/-/ej2-pivotview-19.4.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-pivotview/-/ej2-pivotview-19.4.53.tgz",
|
|
27
|
+
"_shasum": "cbc4bdc7b9ad2fc52995487ea8b82ddbbd27c943",
|
|
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.4.
|
|
39
|
-
"@syncfusion/ej2-buttons": "~19.4.
|
|
40
|
-
"@syncfusion/ej2-calendars": "~19.4.
|
|
41
|
-
"@syncfusion/ej2-charts": "~19.4.
|
|
42
|
-
"@syncfusion/ej2-compression": "~19.4.
|
|
43
|
-
"@syncfusion/ej2-data": "~19.4.
|
|
44
|
-
"@syncfusion/ej2-dropdowns": "~19.4.
|
|
45
|
-
"@syncfusion/ej2-excel-export": "~19.4.
|
|
46
|
-
"@syncfusion/ej2-file-utils": "~19.4.
|
|
47
|
-
"@syncfusion/ej2-grids": "~19.4.
|
|
48
|
-
"@syncfusion/ej2-inputs": "~19.4.
|
|
49
|
-
"@syncfusion/ej2-lists": "~19.4.
|
|
50
|
-
"@syncfusion/ej2-navigations": "~19.4.
|
|
51
|
-
"@syncfusion/ej2-pdf-export": "~19.4.
|
|
52
|
-
"@syncfusion/ej2-popups": "~19.4.
|
|
53
|
-
"@syncfusion/ej2-splitbuttons": "~19.4.
|
|
54
|
-
"@syncfusion/ej2-svg-base": "~19.4.
|
|
38
|
+
"@syncfusion/ej2-base": "~19.4.52",
|
|
39
|
+
"@syncfusion/ej2-buttons": "~19.4.53",
|
|
40
|
+
"@syncfusion/ej2-calendars": "~19.4.54",
|
|
41
|
+
"@syncfusion/ej2-charts": "~19.4.54",
|
|
42
|
+
"@syncfusion/ej2-compression": "~19.4.52",
|
|
43
|
+
"@syncfusion/ej2-data": "~19.4.54",
|
|
44
|
+
"@syncfusion/ej2-dropdowns": "~19.4.54",
|
|
45
|
+
"@syncfusion/ej2-excel-export": "~19.4.52",
|
|
46
|
+
"@syncfusion/ej2-file-utils": "~19.4.52",
|
|
47
|
+
"@syncfusion/ej2-grids": "~19.4.54",
|
|
48
|
+
"@syncfusion/ej2-inputs": "~19.4.52",
|
|
49
|
+
"@syncfusion/ej2-lists": "~19.4.52",
|
|
50
|
+
"@syncfusion/ej2-navigations": "~19.4.53",
|
|
51
|
+
"@syncfusion/ej2-pdf-export": "~19.4.52",
|
|
52
|
+
"@syncfusion/ej2-popups": "~19.4.53",
|
|
53
|
+
"@syncfusion/ej2-splitbuttons": "~19.4.52",
|
|
54
|
+
"@syncfusion/ej2-svg-base": "~19.4.52"
|
|
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.4.
|
|
81
|
+
"version": "19.4.54",
|
|
82
82
|
"sideEffects": false
|
|
83
83
|
}
|
|
@@ -141,7 +141,7 @@ var DataSourceUpdate = /** @class */ (function () {
|
|
|
141
141
|
break;
|
|
142
142
|
case 'values':
|
|
143
143
|
droppedPosition !== -1 ? _this.parent.dataSourceSettings.values.splice(droppedPosition, 0, dataSourceItem) : _this.parent.dataSourceSettings.values.push(dataSourceItem);
|
|
144
|
-
if (_this.parent.dataType === 'olap' && !_this.parent.engineModule.isMeasureAvail) {
|
|
144
|
+
if (_this.parent.dataType === 'olap' && !_this.parent.engineModule.isMeasureAvail && !(_this.parent.dataSourceSettings.values.length > 1)) {
|
|
145
145
|
var measureField = {
|
|
146
146
|
name: '[Measures]', caption: 'Measures', showRemoveIcon: true, allowDragAndDrop: true
|
|
147
147
|
};
|
|
@@ -70,7 +70,7 @@ export declare class PivotChart {
|
|
|
70
70
|
private drillMenuOpen;
|
|
71
71
|
private getMenuItems;
|
|
72
72
|
private drillMenuSelect;
|
|
73
|
-
|
|
73
|
+
getChartHeight(): string;
|
|
74
74
|
private getChartAutoHeight;
|
|
75
75
|
private axisLabelRender;
|
|
76
76
|
private multiLevelLabelClick;
|
|
@@ -1197,13 +1197,6 @@ var PivotChart = /** @class */ (function () {
|
|
|
1197
1197
|
}
|
|
1198
1198
|
this.parent.element.querySelector('.' + cls.PIVOTCHART).style.width = width + 'px';
|
|
1199
1199
|
}
|
|
1200
|
-
this.parent.chart.height = ['Pie', 'Funnel', 'Pyramid', 'Doughnut', 'Radar', 'Polar'].indexOf(this.parent.chartSettings.chartSeries.type) < 0 &&
|
|
1201
|
-
this.parent.chartSettings.enableScrollOnMultiAxis && this.parent.chartSettings.enableMultipleAxis &&
|
|
1202
|
-
this.parent.dataSourceSettings.values.length > 0 ? Number(this.parent.chart.height) > (this.parent.dataSourceSettings.values.length * 235) + 100 ? /* eslint-disable-line */
|
|
1203
|
-
isNaN(Number(this.getChartHeight())) ? this.getChartHeight().toString() : (Number(this.getChartHeight()) - 5).toString() :
|
|
1204
|
-
(!isNaN(Number(this.getChartHeight())) || this.parent.dataSourceSettings.values.length > 1) ?
|
|
1205
|
-
((this.parent.dataSourceSettings.values.length * 235) + 100).toString() :
|
|
1206
|
-
this.getChartHeight().toString() : this.getChartHeight().toString();
|
|
1207
1200
|
this.updateView();
|
|
1208
1201
|
this.parent.notify(events.contentReady, {});
|
|
1209
1202
|
this.parent.trigger(events.chartLoaded, args);
|
|
@@ -563,7 +563,7 @@ var TreeViewRenderer = /** @class */ (function () {
|
|
|
563
563
|
this.parent.dataSourceSettings.values.splice(dropPosition, 0, newField) :
|
|
564
564
|
this.parent.dataSourceSettings.values.push(newField);
|
|
565
565
|
if (this.parent.dataType === 'olap' && this.parent.olapEngineModule &&
|
|
566
|
-
!(this.parent.olapEngineModule).isMeasureAvail) {
|
|
566
|
+
!(this.parent.olapEngineModule).isMeasureAvail && !(this.parent.dataSourceSettings.values.length > 1)) {
|
|
567
567
|
var measureField = {
|
|
568
568
|
name: '[Measures]', caption: 'Measures', baseField: undefined, baseItem: undefined
|
|
569
569
|
};
|
|
@@ -893,13 +893,10 @@ var PivotView = /** @class */ (function (_super) {
|
|
|
893
893
|
this.headerCellInfo = this.gridSettings.headerCellInfo ? this.gridSettings.headerCellInfo.bind(this) : undefined;
|
|
894
894
|
this.resizing = this.gridSettings.resizing ? this.gridSettings.resizing.bind(this) : undefined;
|
|
895
895
|
this.resizeStop = this.gridSettings.resizeStop ? this.gridSettings.resizeStop.bind(this) : undefined;
|
|
896
|
-
this.pdfHeaderQueryCellInfo = this.gridSettings.pdfHeaderQueryCellInfo ?
|
|
897
|
-
|
|
898
|
-
this.
|
|
899
|
-
this.
|
|
900
|
-
this.gridSettings.excelHeaderQueryCellInfo.bind(this) : undefined;
|
|
901
|
-
this.excelQueryCellInfo = this.gridSettings.excelQueryCellInfo ?
|
|
902
|
-
this.gridSettings.excelQueryCellInfo.bind(this) : undefined;
|
|
896
|
+
this.pdfHeaderQueryCellInfo = this.gridSettings.pdfHeaderQueryCellInfo ? this.gridSettings.pdfHeaderQueryCellInfo : undefined;
|
|
897
|
+
this.pdfQueryCellInfo = this.gridSettings.pdfQueryCellInfo ? this.gridSettings.pdfQueryCellInfo : undefined;
|
|
898
|
+
this.excelHeaderQueryCellInfo = this.gridSettings.excelHeaderQueryCellInfo ? this.gridSettings.excelHeaderQueryCellInfo : undefined;
|
|
899
|
+
this.excelQueryCellInfo = this.gridSettings.excelQueryCellInfo ? this.gridSettings.excelQueryCellInfo : undefined;
|
|
903
900
|
this.columnDragStart = this.gridSettings.columnDragStart ? this.gridSettings.columnDragStart.bind(this) : undefined;
|
|
904
901
|
this.columnDrag = this.gridSettings.columnDrag ? this.gridSettings.columnDrag.bind(this) : undefined;
|
|
905
902
|
this.columnDrop = this.gridSettings.columnDrop ? this.gridSettings.columnDrop.bind(this) : undefined;
|
|
@@ -3118,6 +3115,13 @@ var PivotView = /** @class */ (function (_super) {
|
|
|
3118
3115
|
if (this.chart && ((this.showToolbar && this.currentView === 'Chart') || !this.showToolbar)) {
|
|
3119
3116
|
this.chart.width = (this.showToolbar && this.grid) ? this.getGridWidthAsNumber().toString() :
|
|
3120
3117
|
(this.displayOption.view === 'Both' && this.grid) ? this.getGridWidthAsNumber().toString() : this.getWidthAsNumber().toString();
|
|
3118
|
+
this.chart.height = ['Pie', 'Funnel', 'Pyramid', 'Doughnut', 'Radar', 'Polar'].indexOf(this.chartSettings.chartSeries.type) < 0 &&
|
|
3119
|
+
this.chartSettings.enableScrollOnMultiAxis && this.chartSettings.enableMultipleAxis &&
|
|
3120
|
+
this.dataSourceSettings.values.length > 0 ? Number(this.chart.height) > (this.dataSourceSettings.values.length * 235) + 100 ? /* eslint-disable-line */
|
|
3121
|
+
isNaN(Number(this.pivotChartModule.getChartHeight())) ? this.pivotChartModule.getChartHeight().toString() : (Number(this.pivotChartModule.getChartHeight()) - 5).toString() :
|
|
3122
|
+
(!isNaN(Number(this.pivotChartModule.getChartHeight())) || this.dataSourceSettings.values.length > 1) ?
|
|
3123
|
+
((this.dataSourceSettings.values.length * 235) + 100).toString() :
|
|
3124
|
+
this.pivotChartModule.getChartHeight().toString() : this.pivotChartModule.getChartHeight().toString();
|
|
3121
3125
|
if (this.displayOption.view === 'Chart' && this.showGroupingBar && this.groupingBarModule &&
|
|
3122
3126
|
this.element.querySelector('.' + cls.CHART_GROUPING_BAR_CLASS)) {
|
|
3123
3127
|
this.groupingBarModule.refreshUI();
|
package/styles/bootstrap5.css
CHANGED