@syncfusion/ej2-pivotview 19.4.38 → 19.4.40

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.4.38
3
+ * version : 19.4.40
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@18.25.2",
3
+ "_id": "@syncfusion/ej2-pivotview@19.4.38",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-1Ji0/7L8nd8Q+wqGe37tPt3HnC0LfASDwqfZeXU/ooY65c4fZS3W4k5qlRX4/VPQiVZM+eG4ED55DHq2WXFngw==",
5
+ "_integrity": "sha512-+fFwkKf9f7dvy1yimYl177BDSWAFQ5OgMMZQhRr4uzC63qedgNfM4WsA+j3CSXAodlDsH69Wk0RLYrbxYJbo7g==",
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-release/@syncfusion/ej2-pivotview/-/ej2-pivotview-18.25.2.tgz",
27
- "_shasum": "615a4e05a02dc4aa92fa9307f0fa174688ffff56",
26
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-pivotview/-/ej2-pivotview-19.4.38.tgz",
27
+ "_shasum": "295cfc89df3f91c8f3f63e12169f1da81d58097b",
28
28
  "_spec": "@syncfusion/ej2-pivotview@*",
29
29
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
30
30
  "author": {
@@ -38,20 +38,20 @@
38
38
  "@syncfusion/ej2-base": "~19.4.38",
39
39
  "@syncfusion/ej2-buttons": "~19.4.38",
40
40
  "@syncfusion/ej2-calendars": "~19.4.38",
41
- "@syncfusion/ej2-charts": "~19.4.38",
41
+ "@syncfusion/ej2-charts": "~19.4.40",
42
42
  "@syncfusion/ej2-compression": "~19.4.38",
43
43
  "@syncfusion/ej2-data": "~19.4.38",
44
- "@syncfusion/ej2-dropdowns": "~19.4.38",
44
+ "@syncfusion/ej2-dropdowns": "~19.4.40",
45
45
  "@syncfusion/ej2-excel-export": "~19.4.38",
46
46
  "@syncfusion/ej2-file-utils": "~19.4.38",
47
- "@syncfusion/ej2-grids": "~19.4.38",
47
+ "@syncfusion/ej2-grids": "~19.4.40",
48
48
  "@syncfusion/ej2-inputs": "~19.4.38",
49
49
  "@syncfusion/ej2-lists": "~19.4.38",
50
- "@syncfusion/ej2-navigations": "~19.4.38",
50
+ "@syncfusion/ej2-navigations": "~19.4.40",
51
51
  "@syncfusion/ej2-pdf-export": "~19.4.38",
52
52
  "@syncfusion/ej2-popups": "~19.4.38",
53
- "@syncfusion/ej2-splitbuttons": "~19.4.38",
54
- "@syncfusion/ej2-svg-base": "~19.4.38"
53
+ "@syncfusion/ej2-splitbuttons": "~19.4.40",
54
+ "@syncfusion/ej2-svg-base": "~19.4.40"
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.38",
81
+ "version": "19.4.40",
82
82
  "sideEffects": false
83
83
  }
@@ -2399,6 +2399,14 @@ var PivotEngine = /** @class */ (function () {
2399
2399
  }
2400
2400
  /* eslint-enable */
2401
2401
  rawHeaders = this.getSortedHeaders(rawHeaders.concat(excessHeaders), this.fieldList[headersInfo.fields[0].name].sort).concat(grandHeader);
2402
+ if (headersInfo.axis === 'row') {
2403
+ this.cMembers = this.getIndexedHeaders(this.columns, this.data, 0, this.filterMembers, 'column', '');
2404
+ this.insertAllMember(this.cMembers, this.filterMembers, '', 'column');
2405
+ }
2406
+ else {
2407
+ this.rMembers = this.getIndexedHeaders(this.rows, this.data, 0, this.filterMembers, 'row', '');
2408
+ this.insertAllMember(this.rMembers, this.filterMembers, '', 'row');
2409
+ }
2402
2410
  }
2403
2411
  if (headersInfo.axis === 'row') {
2404
2412
  this.rowCount = 0;
@@ -1389,6 +1389,7 @@ var PivotButton = /** @class */ (function () {
1389
1389
  _this.refreshPivotButtonState(fieldName, isNodeUnChecked);
1390
1390
  if (!isNodeUnChecked) {
1391
1391
  _this.removeDataSourceSettings(fieldName);
1392
+ filterItem = {};
1392
1393
  }
1393
1394
  _this.parent.lastFilterInfo = filterItem;
1394
1395
  var actionInfo = {
@@ -2529,7 +2529,7 @@ export interface PivotAxisModel {
2529
2529
 
2530
2530
  /**
2531
2531
  * Allows to scale the axis by this value. When zoomFactor is 0.5, the chart is scaled by 200% along this axis. Value ranges from 0 to 1.
2532
- * @default null
2532
+ * @default 1
2533
2533
  */
2534
2534
  zoomFactor?: number;
2535
2535
 
@@ -2142,7 +2142,7 @@ export declare class PivotAxis extends ChildProperty<PivotAxis> {
2142
2142
  title: string;
2143
2143
  /**
2144
2144
  * Allows to scale the axis by this value. When zoomFactor is 0.5, the chart is scaled by 200% along this axis. Value ranges from 0 to 1.
2145
- * @default null
2145
+ * @default 1
2146
2146
  */
2147
2147
  zoomFactor: number;
2148
2148
  /**
@@ -1558,7 +1558,7 @@ var PivotAxis = /** @class */ (function (_super) {
1558
1558
  Property('')
1559
1559
  ], PivotAxis.prototype, "title", void 0);
1560
1560
  __decorate([
1561
- Property(null)
1561
+ Property(1)
1562
1562
  ], PivotAxis.prototype, "zoomFactor", void 0);
1563
1563
  __decorate([
1564
1564
  Complex({}, CrosshairTooltip)