@syncfusion/ej2-pivotview 20.1.61 → 20.2.36

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.
Files changed (137) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/ej2-pivotview.umd.min.js +2 -2
  3. package/dist/ej2-pivotview.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-pivotview.es2015.js +281 -99
  5. package/dist/es6/ej2-pivotview.es2015.js.map +1 -1
  6. package/dist/es6/ej2-pivotview.es5.js +283 -100
  7. package/dist/es6/ej2-pivotview.es5.js.map +1 -1
  8. package/dist/global/ej2-pivotview.min.js +2 -2
  9. package/dist/global/ej2-pivotview.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/helpers/e2e/index.js +9 -7
  12. package/helpers/e2e/pivotfieldlist.js +47 -31
  13. package/helpers/e2e/pivotview.js +68 -52
  14. package/package.json +22 -22
  15. package/src/base/engine.js +2 -2
  16. package/src/base/olap/engine.js +12 -0
  17. package/src/base/olap/mdx-query.js +1 -1
  18. package/src/common/actions/event-base.d.ts +4 -2
  19. package/src/common/actions/event-base.js +18 -10
  20. package/src/common/actions/field-list.js +2 -1
  21. package/src/common/actions/pivot-button.js +4 -4
  22. package/src/common/base/css-constant.d.ts +16 -0
  23. package/src/common/base/css-constant.js +16 -0
  24. package/src/common/calculatedfield/calculated-field.js +24 -15
  25. package/src/common/conditionalformatting/conditional-formatting.js +5 -5
  26. package/src/common/grouping-bar/grouping-bar.js +1 -1
  27. package/src/common/popups/aggregate-menu.js +4 -3
  28. package/src/common/popups/drillthrough-dialog.js +5 -4
  29. package/src/common/popups/error-dialog.js +1 -1
  30. package/src/common/popups/filter-dialog.js +25 -14
  31. package/src/common/popups/formatting-dialog.js +2 -2
  32. package/src/common/popups/grouping.js +14 -7
  33. package/src/common/popups/toolbar.js +11 -10
  34. package/src/pivotfieldlist/base/field-list-model.d.ts +5 -0
  35. package/src/pivotfieldlist/base/field-list.d.ts +4 -0
  36. package/src/pivotfieldlist/base/field-list.js +5 -0
  37. package/src/pivotfieldlist/renderer/dialog-renderer.js +17 -9
  38. package/src/pivotfieldlist/renderer/tree-renderer.d.ts +4 -0
  39. package/src/pivotfieldlist/renderer/tree-renderer.js +102 -8
  40. package/src/pivotview/base/pivotview-model.d.ts +7 -0
  41. package/src/pivotview/base/pivotview.d.ts +6 -0
  42. package/src/pivotview/base/pivotview.js +9 -3
  43. package/src/pivotview/renderer/render.js +3 -0
  44. package/styles/bootstrap-dark.css +165 -32
  45. package/styles/bootstrap.css +165 -32
  46. package/styles/bootstrap4.css +166 -36
  47. package/styles/bootstrap5-dark.css +209 -45
  48. package/styles/bootstrap5.css +209 -45
  49. package/styles/fabric-dark.css +165 -32
  50. package/styles/fabric.css +165 -32
  51. package/styles/fluent-dark.css +183 -49
  52. package/styles/fluent.css +183 -49
  53. package/styles/highcontrast-light.css +165 -32
  54. package/styles/highcontrast.css +165 -32
  55. package/styles/material-dark.css +165 -32
  56. package/styles/material.css +165 -32
  57. package/styles/pivotfieldlist/_bootstrap-dark-definition.scss +10 -0
  58. package/styles/pivotfieldlist/_bootstrap-definition.scss +10 -0
  59. package/styles/pivotfieldlist/_bootstrap4-definition.scss +11 -1
  60. package/styles/pivotfieldlist/_bootstrap5-definition.scss +15 -6
  61. package/styles/pivotfieldlist/_fabric-dark-definition.scss +10 -1
  62. package/styles/pivotfieldlist/_fabric-definition.scss +10 -0
  63. package/styles/pivotfieldlist/_fluent-definition.scss +18 -8
  64. package/styles/pivotfieldlist/_fusionnew-definition.scss +189 -0
  65. package/styles/pivotfieldlist/_highcontrast-definition.scss +10 -0
  66. package/styles/pivotfieldlist/_highcontrast-light-definition.scss +10 -0
  67. package/styles/pivotfieldlist/_layout.scss +30 -14
  68. package/styles/pivotfieldlist/_material-dark-definition.scss +10 -0
  69. package/styles/pivotfieldlist/_material-definition.scss +10 -0
  70. package/styles/pivotfieldlist/_material3-definition.scss +189 -0
  71. package/styles/pivotfieldlist/_tailwind-definition.scss +19 -10
  72. package/styles/pivotfieldlist/_theme.scss +142 -7
  73. package/styles/pivotfieldlist/bootstrap-dark.css +146 -10
  74. package/styles/pivotfieldlist/bootstrap.css +146 -10
  75. package/styles/pivotfieldlist/bootstrap4.css +147 -11
  76. package/styles/pivotfieldlist/bootstrap5-dark.css +151 -15
  77. package/styles/pivotfieldlist/bootstrap5.css +151 -15
  78. package/styles/pivotfieldlist/fabric-dark.css +146 -10
  79. package/styles/pivotfieldlist/fabric.css +146 -10
  80. package/styles/pivotfieldlist/fluent-dark.css +154 -18
  81. package/styles/pivotfieldlist/fluent.css +154 -18
  82. package/styles/pivotfieldlist/highcontrast-light.css +146 -10
  83. package/styles/pivotfieldlist/highcontrast.css +146 -10
  84. package/styles/pivotfieldlist/icons/_bootstrap-dark.scss +5 -0
  85. package/styles/pivotfieldlist/icons/_bootstrap.scss +5 -0
  86. package/styles/pivotfieldlist/icons/_bootstrap4.scss +5 -0
  87. package/styles/pivotfieldlist/icons/_bootstrap5.scss +5 -0
  88. package/styles/pivotfieldlist/icons/_fabric-dark.scss +5 -0
  89. package/styles/pivotfieldlist/icons/_fabric.scss +5 -0
  90. package/styles/pivotfieldlist/icons/_fluent.scss +5 -0
  91. package/styles/pivotfieldlist/icons/_fusionnew.scss +352 -0
  92. package/styles/pivotfieldlist/icons/_highcontrast-light.scss +5 -0
  93. package/styles/pivotfieldlist/icons/_highcontrast.scss +5 -0
  94. package/styles/pivotfieldlist/icons/_material-dark.scss +5 -0
  95. package/styles/pivotfieldlist/icons/_material.scss +4 -0
  96. package/styles/pivotfieldlist/icons/_material3.scss +352 -0
  97. package/styles/pivotfieldlist/icons/_tailwind-dark.scss +4 -0
  98. package/styles/pivotfieldlist/icons/_tailwind.scss +4 -0
  99. package/styles/pivotfieldlist/material-dark.css +146 -10
  100. package/styles/pivotfieldlist/material.css +146 -10
  101. package/styles/pivotfieldlist/tailwind-dark.css +155 -21
  102. package/styles/pivotfieldlist/tailwind.css +156 -21
  103. package/styles/pivotview/_bootstrap-dark-definition.scss +4 -2
  104. package/styles/pivotview/_bootstrap-definition.scss +4 -2
  105. package/styles/pivotview/_bootstrap4-definition.scss +4 -2
  106. package/styles/pivotview/_bootstrap5-definition.scss +9 -8
  107. package/styles/pivotview/_fabric-dark-definition.scss +4 -1
  108. package/styles/pivotview/_fabric-definition.scss +4 -2
  109. package/styles/pivotview/_fluent-definition.scss +11 -9
  110. package/styles/pivotview/_fusionnew-definition.scss +131 -0
  111. package/styles/pivotview/_highcontrast-definition.scss +4 -2
  112. package/styles/pivotview/_highcontrast-light-definition.scss +4 -2
  113. package/styles/pivotview/_layout.scss +3 -17
  114. package/styles/pivotview/_material-dark-definition.scss +4 -1
  115. package/styles/pivotview/_material-definition.scss +4 -2
  116. package/styles/pivotview/_material3-definition.scss +131 -0
  117. package/styles/pivotview/_tailwind-definition.scss +8 -5
  118. package/styles/pivotview/_theme.scss +47 -27
  119. package/styles/pivotview/bootstrap-dark.css +19 -22
  120. package/styles/pivotview/bootstrap.css +19 -22
  121. package/styles/pivotview/bootstrap4.css +19 -25
  122. package/styles/pivotview/bootstrap5-dark.css +58 -30
  123. package/styles/pivotview/bootstrap5.css +58 -30
  124. package/styles/pivotview/fabric-dark.css +19 -22
  125. package/styles/pivotview/fabric.css +19 -22
  126. package/styles/pivotview/fluent-dark.css +29 -31
  127. package/styles/pivotview/fluent.css +29 -31
  128. package/styles/pivotview/highcontrast-light.css +19 -22
  129. package/styles/pivotview/highcontrast.css +19 -22
  130. package/styles/pivotview/icons/_fusionnew.scss +183 -0
  131. package/styles/pivotview/icons/_material3.scss +183 -0
  132. package/styles/pivotview/material-dark.css +19 -22
  133. package/styles/pivotview/material.css +19 -22
  134. package/styles/pivotview/tailwind-dark.css +27 -31
  135. package/styles/pivotview/tailwind.css +27 -31
  136. package/styles/tailwind-dark.css +182 -52
  137. package/styles/tailwind.css +183 -52
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 20.1.61
3
+ * version : 20.2.36
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
@@ -1,7 +1,9 @@
1
- "use strict";
2
- function __export(m) {
3
- for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4
- }
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- __export(require("./pivotview"));
7
- __export(require("./pivotfieldlist"));
1
+ define(["require", "exports", "./pivotview", "./pivotfieldlist"], function (require, exports, pivotview_1, pivotfieldlist_1) {
2
+ "use strict";
3
+ function __export(m) {
4
+ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
5
+ }
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ __export(pivotview_1);
8
+ __export(pivotfieldlist_1);
9
+ });
@@ -1,32 +1,48 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const e2e_1 = require("@syncfusion/ej2-base/helpers/e2e");
4
- class PivotFieldListHelper extends e2e_1.TestHelper {
5
- constructor(id, wrapperFn) {
6
- super();
7
- this.id = id;
8
- if (wrapperFn !== undefined) {
9
- this.wrapperFn = wrapperFn;
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ define(["require", "exports", "@syncfusion/ej2-base/helpers/e2e"], function (require, exports, e2e_1) {
15
+ "use strict";
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ var PivotFieldListHelper = (function (_super) {
18
+ __extends(PivotFieldListHelper, _super);
19
+ function PivotFieldListHelper(id, wrapperFn) {
20
+ var _this = _super.call(this) || this;
21
+ _this.id = id;
22
+ if (wrapperFn !== undefined) {
23
+ _this.wrapperFn = wrapperFn;
24
+ }
25
+ return _this;
10
26
  }
11
- return this;
12
- }
13
- getElement() {
14
- return this.selector('#' + this.id);
15
- }
16
- getFieldListPopupElement() {
17
- return this.selector('#' + this.id + '_Wrapper');
18
- }
19
- getFilterPopupElement() {
20
- return this.selector('#' + this.id + '_EditorTreeView');
21
- }
22
- getAggregationContextMenuElement() {
23
- return this.selector('#' + this.id + 'valueFieldContextMenu');
24
- }
25
- getValueSettingsDialogElement() {
26
- return this.selector('#' + this.id + '_Wrapper_ValueDialog');
27
- }
28
- getCalculatedMemberPopupElement() {
29
- return this.selector('#' + this.id + '_calculateddialog');
30
- }
31
- }
32
- exports.PivotFieldListHelper = PivotFieldListHelper;
27
+ PivotFieldListHelper.prototype.getElement = function () {
28
+ return this.selector('#' + this.id);
29
+ };
30
+ PivotFieldListHelper.prototype.getFieldListPopupElement = function () {
31
+ return this.selector('#' + this.id + '_Container');
32
+ };
33
+ PivotFieldListHelper.prototype.getFilterPopupElement = function () {
34
+ return this.selector('#' + this.id + '_EditorTreeView');
35
+ };
36
+ PivotFieldListHelper.prototype.getAggregationContextMenuElement = function () {
37
+ return this.selector('#' + this.id + 'valueFieldContextMenu');
38
+ };
39
+ PivotFieldListHelper.prototype.getValueSettingsDialogElement = function () {
40
+ return this.selector('#' + this.id + '_Container_ValueDialog');
41
+ };
42
+ PivotFieldListHelper.prototype.getCalculatedMemberPopupElement = function () {
43
+ return this.selector('#' + this.id + '_calculateddialog');
44
+ };
45
+ return PivotFieldListHelper;
46
+ }(e2e_1.TestHelper));
47
+ exports.PivotFieldListHelper = PivotFieldListHelper;
48
+ });
@@ -1,53 +1,69 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const e2e_1 = require("@syncfusion/ej2-base/helpers/e2e");
4
- class PivotViewHelper extends e2e_1.TestHelper {
5
- constructor(id, wrapperFn) {
6
- super();
7
- this.id = id;
8
- if (wrapperFn !== undefined) {
9
- this.wrapperFn = wrapperFn;
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ define(["require", "exports", "@syncfusion/ej2-base/helpers/e2e"], function (require, exports, e2e_1) {
15
+ "use strict";
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ var PivotViewHelper = (function (_super) {
18
+ __extends(PivotViewHelper, _super);
19
+ function PivotViewHelper(id, wrapperFn) {
20
+ var _this = _super.call(this) || this;
21
+ _this.id = id;
22
+ if (wrapperFn !== undefined) {
23
+ _this.wrapperFn = wrapperFn;
24
+ }
25
+ return _this;
10
26
  }
11
- return this;
12
- }
13
- getElement() {
14
- return this.selector('#' + this.id);
15
- }
16
- getGridElement() {
17
- return this.selector('#' + this.id + '_grid');
18
- }
19
- getFilterPopupElement() {
20
- return this.selector('#' + this.id + '_EditorTreeView');
21
- }
22
- getAggregationContextMenuElement() {
23
- return this.selector('#' + this.id + 'valueFieldContextMenu');
24
- }
25
- getValueSettingsDialogElement() {
26
- return this.selector('#' + this.id + '_ValueDialog');
27
- }
28
- getDrillThroughPopupElement() {
29
- return this.selector('#' + this.id + '_drillthrough');
30
- }
31
- getConditionalFormattingPopupElement() {
32
- return this.selector('#' + this.id + 'conditionalformatting');
33
- }
34
- getFieldListIconElement() {
35
- return this.selector('#' + this.id + '_PivotFieldList');
36
- }
37
- getFieldListPopupElement() {
38
- return this.selector('#' + this.id + '_PivotFieldList_Wrapper');
39
- }
40
- getCalculatedMemberPopupElement() {
41
- return this.selector('#' + this.id + '_PivotFieldListcalculateddialog');
42
- }
43
- getFieldListFilterPopupElement() {
44
- return this.selector('#' + this.id + '_PivotFieldList_EditorTreeView');
45
- }
46
- getFieldListAggregationContextMenuElement() {
47
- return this.selector('#' + this.id + '_PivotFieldListvalueFieldContextMenu');
48
- }
49
- getFieldListValueSettingsPopupElement() {
50
- return this.selector('#' + this.id + '_PivotFieldList_Wrapper_ValueDialog');
51
- }
52
- }
53
- exports.PivotViewHelper = PivotViewHelper;
27
+ PivotViewHelper.prototype.getElement = function () {
28
+ return this.selector('#' + this.id);
29
+ };
30
+ PivotViewHelper.prototype.getGridElement = function () {
31
+ return this.selector('#' + this.id + '_grid');
32
+ };
33
+ PivotViewHelper.prototype.getFilterPopupElement = function () {
34
+ return this.selector('#' + this.id + '_EditorTreeView');
35
+ };
36
+ PivotViewHelper.prototype.getAggregationContextMenuElement = function () {
37
+ return this.selector('#' + this.id + 'valueFieldContextMenu');
38
+ };
39
+ PivotViewHelper.prototype.getValueSettingsDialogElement = function () {
40
+ return this.selector('#' + this.id + '_ValueDialog');
41
+ };
42
+ PivotViewHelper.prototype.getDrillThroughPopupElement = function () {
43
+ return this.selector('#' + this.id + '_drillthrough');
44
+ };
45
+ PivotViewHelper.prototype.getConditionalFormattingPopupElement = function () {
46
+ return this.selector('#' + this.id + 'conditionalformatting');
47
+ };
48
+ PivotViewHelper.prototype.getFieldListIconElement = function () {
49
+ return this.selector('#' + this.id + '_PivotFieldList');
50
+ };
51
+ PivotViewHelper.prototype.getFieldListPopupElement = function () {
52
+ return this.selector('#' + this.id + '_PivotFieldList_Container');
53
+ };
54
+ PivotViewHelper.prototype.getCalculatedMemberPopupElement = function () {
55
+ return this.selector('#' + this.id + '_PivotFieldListcalculateddialog');
56
+ };
57
+ PivotViewHelper.prototype.getFieldListFilterPopupElement = function () {
58
+ return this.selector('#' + this.id + '_PivotFieldList_EditorTreeView');
59
+ };
60
+ PivotViewHelper.prototype.getFieldListAggregationContextMenuElement = function () {
61
+ return this.selector('#' + this.id + '_PivotFieldListvalueFieldContextMenu');
62
+ };
63
+ PivotViewHelper.prototype.getFieldListValueSettingsPopupElement = function () {
64
+ return this.selector('#' + this.id + '_PivotFieldList_Container_ValueDialog');
65
+ };
66
+ return PivotViewHelper;
67
+ }(e2e_1.TestHelper));
68
+ exports.PivotViewHelper = PivotViewHelper;
69
+ });
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-pivotview@*",
3
- "_id": "@syncfusion/ej2-pivotview@20.1.58",
3
+ "_id": "@syncfusion/ej2-pivotview@20.15.1",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-4w6FZoxhrgTBV4KX7gFdqmTvF0ud9CbjyuZ9ISHRQtmWVe05cAeR0dMlvNy3+NeNaxRdsq1N3H/j1ijYXNvYFQ==",
5
+ "_integrity": "sha512-AQLV+/yXaiv8Csi9l0oqWHteOZHwop8hIYdiWwCSyk5oXAnygJyPbI/CYCRRBWV4sLiY1aAYiVp3mOBLQBfbUg==",
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-20.1.58.tgz",
27
- "_shasum": "a41867faab6e4082ba5f230462630ce20d8e382d",
26
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-pivotview/-/ej2-pivotview-20.15.1.tgz",
27
+ "_shasum": "425d009fa2966ce92dedc51e735a93ab02aa04a7",
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": "~20.1.61",
39
- "@syncfusion/ej2-buttons": "~20.1.61",
40
- "@syncfusion/ej2-calendars": "~20.1.58",
41
- "@syncfusion/ej2-charts": "~20.1.61",
42
- "@syncfusion/ej2-compression": "~20.1.55",
43
- "@syncfusion/ej2-data": "~20.1.55",
44
- "@syncfusion/ej2-dropdowns": "~20.1.61",
45
- "@syncfusion/ej2-excel-export": "~20.1.55",
46
- "@syncfusion/ej2-file-utils": "~20.1.55",
47
- "@syncfusion/ej2-grids": "~20.1.61",
48
- "@syncfusion/ej2-inputs": "~20.1.61",
49
- "@syncfusion/ej2-lists": "~20.1.55",
50
- "@syncfusion/ej2-navigations": "~20.1.61",
51
- "@syncfusion/ej2-pdf-export": "~20.1.55",
52
- "@syncfusion/ej2-popups": "~20.1.58",
53
- "@syncfusion/ej2-splitbuttons": "~20.1.57",
54
- "@syncfusion/ej2-svg-base": "~20.1.55"
38
+ "@syncfusion/ej2-base": "~20.2.36",
39
+ "@syncfusion/ej2-buttons": "~20.2.36",
40
+ "@syncfusion/ej2-calendars": "~20.2.36",
41
+ "@syncfusion/ej2-charts": "~20.2.36",
42
+ "@syncfusion/ej2-compression": "~20.2.36",
43
+ "@syncfusion/ej2-data": "~20.2.36",
44
+ "@syncfusion/ej2-dropdowns": "~20.2.36",
45
+ "@syncfusion/ej2-excel-export": "~20.2.36",
46
+ "@syncfusion/ej2-file-utils": "~20.2.36",
47
+ "@syncfusion/ej2-grids": "~20.2.36",
48
+ "@syncfusion/ej2-inputs": "~20.2.36",
49
+ "@syncfusion/ej2-lists": "~20.2.36",
50
+ "@syncfusion/ej2-navigations": "~20.2.36",
51
+ "@syncfusion/ej2-pdf-export": "~20.2.36",
52
+ "@syncfusion/ej2-popups": "~20.2.36",
53
+ "@syncfusion/ej2-splitbuttons": "~20.2.36",
54
+ "@syncfusion/ej2-svg-base": "~20.2.36"
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": "20.1.61",
81
+ "version": "20.2.36",
82
82
  "sideEffects": false
83
83
  }
@@ -3165,7 +3165,7 @@ var PivotEngine = /** @class */ (function () {
3165
3165
  this.columnCount -= (!(this.showSubTotals && this.showColumnSubTotals && field.showSubTotals) && axis === 'column') ?
3166
3166
  this.colValuesLength : 0;
3167
3167
  var filterPosition = hierarchy[iln].index;
3168
- hierarchy[iln].members = this.getIndexedHeaders(keys, data, keyInd + 1, (filterPosition === undefined ? [] : filterPosition), axis, parentMember);
3168
+ hierarchy[iln].members = this.getIndexedHeaders(keys, data, keyInd + 1, (filterPosition === undefined ? [] : filterPosition), axis, parentMember, valueFil);
3169
3169
  if (this.frameHeaderObjectsCollection) {
3170
3170
  this.headerObjectsCollection[parentMember] = hierarchy[iln].members;
3171
3171
  }
@@ -3175,7 +3175,7 @@ var PivotEngine = /** @class */ (function () {
3175
3175
  if (this.enableSort) {
3176
3176
  // return new DataManager(hierarchy as JSON[]).executeLocal(new Query().sortBy('actualText', childrens.sort.toLowerCase()));
3177
3177
  if (isDateType) {
3178
- return this.sortHeaders(fieldName, childrens, hierarchy, childrens.sort, childrens.type);
3178
+ return this.sortHeaders(fieldName, childrens, hierarchy, childrens.sort, 'date');
3179
3179
  }
3180
3180
  else {
3181
3181
  if (childrens.type === 'number' && hierarchy.length > 0 && (typeof (hierarchy[0].actualText) === 'string')) {
@@ -810,7 +810,9 @@ var OlapEngine = /** @class */ (function () {
810
810
  var lastAllStartPos;
811
811
  var lastAllCount;
812
812
  var availAllMember = false;
813
+ var withoutAllEndPos = -1;
813
814
  var isGrandtoalDataAdd = false;
815
+ var prevTupInfo;
814
816
  var isGrandTotalTop = false;
815
817
  while (tupPos < tuples.length && !isGrandtoalDataAdd) {
816
818
  var members = tuples[this.customArgs.action === 'down' ?
@@ -820,12 +822,22 @@ var OlapEngine = /** @class */ (function () {
820
822
  var allStartPos = this.tupRowInfo[tupPos].allStartPos;
821
823
  var measure = this.tupRowInfo[tupPos].measure;
822
824
  var typeColl_1 = this.tupRowInfo[tupPos].typeCollection;
825
+ var drillStartPos = this.tupRowInfo[tupPos].drillStartPos;
826
+ var startDrillUniquename = this.tupRowInfo[tupPos].startDrillUniquename;
823
827
  memPos = 0;
824
828
  if (tupPos === 0 && (members.length > (allCount + (measure ? 1 : 0)) || (members.length === 1 && measure))) {
825
829
  gTotals.pop();
826
830
  }
827
831
  if ((tupPos === 0 && this.isPaging) ? gTotals.length === 0 :
828
832
  (!availAllMember || allCount === lastAllCount || allStartPos !== lastAllStartPos || (members.length === 1 && measure))) {
833
+ var attrDrill = this.checkAttributeDrill(this.tupRowInfo[tupPos].drillInfo, 'rows');
834
+ var drillAllow = drillStartPos > -1 ? (allCount > 0 ? (attrDrill || allStartPos > drillStartPos) : true) : true;
835
+ drillAllow = (prevTupInfo && drillAllow && drillStartPos > -1) ?
836
+ (prevTupInfo.startDrillUniquename !== startDrillUniquename ? true :
837
+ ((withoutAllEndPos > prevTupInfo.measurePosition ? false :
838
+ prevTupInfo.measureName !== this.tupRowInfo[tupPos].measureName) &&
839
+ (allStartPos === (drillStartPos + 1) || this.tupRowInfo[tupPos].measurePosition === (drillStartPos + 1))))
840
+ : drillAllow;
829
841
  if (members.length === allCount + (measure ? 1 : 0) && measure && !isGrandTotalTop) {
830
842
  var levelName = 'Grand Total.' + members[measurePos].querySelector('Caption').textContent;
831
843
  var formattedText = (typeColl_1[measurePos] === '3' && this.dataFields[this.getUniqueName(members[measurePos].querySelector('UName').textContent)] &&
@@ -478,7 +478,7 @@ var MDXQuery = /** @class */ (function () {
478
478
  query = '((' + name + ').levels(0).AllMembers)';
479
479
  }
480
480
  else {
481
- query = (dimension.isNamedSet ? '{' + name + '}' : this.isPaging ? name + '.CHILDREN' :
481
+ query = (dimension.isNamedSet || dimension.isCalculatedField ? '{' + name + '}' : this.isPaging ? name + '.CHILDREN' :
482
482
  'DrilldownLevel({' + name + '}' + ((axis === 'rows' || axis === 'columns') ? ',,,INCLUDE_CALC_MEMBERS' : '') + ')');
483
483
  }
484
484
  return query;
@@ -9,6 +9,8 @@ import { IOlapField } from '../../base/olap/engine';
9
9
  /** @hidden */
10
10
  export declare class EventBase {
11
11
  parent: PivotCommon;
12
+ /** @hidden */
13
+ searchListItem: HTMLElement[];
12
14
  /**
13
15
  * Constructor for the dialog action.
14
16
  * @param {PivotCommon} parent - parent.
@@ -55,8 +57,8 @@ export declare class EventBase {
55
57
  [key: string]: Object;
56
58
  }[];
57
59
  private applyFilterCustomSort;
58
- private getParentIDs;
59
- private getChildIDs;
60
+ getParentIDs(treeObj: TreeView, id: string, parent: string[]): string[];
61
+ getChildIDs(treeObj: TreeView, id: string, children: string[]): string[];
60
62
  /**
61
63
  * show tree nodes using search text.
62
64
  * @hidden
@@ -13,6 +13,8 @@ var EventBase = /** @class */ (function () {
13
13
  * @hidden
14
14
  */
15
15
  function EventBase(parent) {
16
+ /** @hidden */
17
+ this.searchListItem = [];
16
18
  this.parent = parent;
17
19
  }
18
20
  /**
@@ -196,16 +198,21 @@ var EventBase = /** @class */ (function () {
196
198
  var isItemAvail = false;
197
199
  var filterTypes = ['Include', 'Exclude'];
198
200
  if (filterObj && filterTypes.indexOf(filterObj.type) >= 0) {
199
- var engineModule = this.parent.engineModule;
200
- var field = engineModule.fieldList[fieldName];
201
- var members = (engineModule.formatFields[fieldName] &&
202
- (['date', 'dateTime', 'time'].indexOf(engineModule.formatFields[fieldName].type) > -1)) ?
203
- field.formattedMembers : field.members;
204
- for (var _i = 0, _a = filterObj.items; _i < _a.length; _i++) {
205
- var item = _a[_i];
206
- if (members[item]) {
207
- isItemAvail = true;
208
- break;
201
+ if (filterObj.type === 'Include' && filterObj.items.length === 0) {
202
+ isItemAvail = true;
203
+ }
204
+ else {
205
+ var engineModule = this.parent.engineModule;
206
+ var field = engineModule.fieldList[fieldName];
207
+ var members = (engineModule.formatFields[fieldName] &&
208
+ (['date', 'dateTime', 'time'].indexOf(engineModule.formatFields[fieldName].type) > -1)) ?
209
+ field.formattedMembers : field.members;
210
+ for (var _i = 0, _a = filterObj.items; _i < _a.length; _i++) {
211
+ var item = _a[_i];
212
+ if (members[item]) {
213
+ isItemAvail = true;
214
+ break;
215
+ }
209
216
  }
210
217
  }
211
218
  }
@@ -452,6 +459,7 @@ var EventBase = /** @class */ (function () {
452
459
  else {
453
460
  treeObj.expandAll(undefined, undefined, true);
454
461
  }
462
+ this.searchListItem = searchList;
455
463
  }
456
464
  else {
457
465
  this.parent.searchTreeItems = [];
@@ -60,7 +60,8 @@ var FieldList = /** @class */ (function () {
60
60
  maxNodeLimitInMemberEditor: this.parent.maxNodeLimitInMemberEditor,
61
61
  aggregateCellInfo: this.parent.bindTriggerEvents.bind(this.parent),
62
62
  onHeadersSort: this.parent.bindTriggerEvents.bind(this.parent),
63
- cssClass: this.parent.cssClass
63
+ cssClass: this.parent.cssClass,
64
+ enableFieldSearching: this.parent.enableFieldSearching
64
65
  });
65
66
  this.parent.pivotFieldListModule.isPopupView = true;
66
67
  this.parent.pivotFieldListModule.pivotGridModule = this.parent;
@@ -197,7 +197,7 @@ var PivotButton = /** @class */ (function () {
197
197
  buttonWrapper.appendChild(buttonElement);
198
198
  }
199
199
  element.appendChild(buttonWrapper);
200
- var pivotButton = new Button({ enableRtl: this.parent.enableRtl, locale: this.parent.locale });
200
+ var pivotButton = new Button({ enableRtl: this.parent.enableRtl, locale: this.parent.locale, cssClass: this.parent.cssClass });
201
201
  pivotButton.isStringTemplate = true;
202
202
  pivotButton.appendTo(buttonElement);
203
203
  this.unWireEvent(buttonWrapper, i === valuePos && axis !== 'all-fields' ? 'values' : axis, isMeasureAvail);
@@ -1021,7 +1021,7 @@ var PivotButton = /** @class */ (function () {
1021
1021
  return [
1022
1022
  {
1023
1023
  buttonModel: {
1024
- cssClass: 'e-clear-filter-button' + (this.parent.pivotCommon.filterDialog.allowExcelLikeFilter ? '' : ' ' + cls.ICON_DISABLE),
1024
+ cssClass: 'e-clear-filter-button' + (this.parent.pivotCommon.filterDialog.allowExcelLikeFilter ? '' : ' ' + cls.ICON_DISABLE) + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
1025
1025
  iconCss: 'e-icons e-clear-filter-icon', enableRtl: this.parent.enableRtl,
1026
1026
  content: this.parent.localeObj.getConstant('clearFilter'), disabled: (this.parent.pivotCommon.filterDialog.filterObject ? false : true)
1027
1027
  },
@@ -1029,13 +1029,13 @@ var PivotButton = /** @class */ (function () {
1029
1029
  },
1030
1030
  {
1031
1031
  buttonModel: {
1032
- cssClass: cls.OK_BUTTON_CLASS, content: this.parent.localeObj.getConstant('ok'), isPrimary: true
1032
+ cssClass: cls.OK_BUTTON_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''), content: this.parent.localeObj.getConstant('ok'), isPrimary: true
1033
1033
  },
1034
1034
  click: (this.index === 0 ? this.updateFilterState.bind(this, this.fieldName) : this.updateCustomFilter.bind(this))
1035
1035
  },
1036
1036
  {
1037
1037
  click: this.parent.pivotCommon.filterDialog.closeFilterDialog.bind(this.parent.pivotCommon.filterDialog),
1038
- buttonModel: { cssClass: cls.CANCEL_BUTTON_CLASS, content: this.parent.localeObj.getConstant('cancel') }
1038
+ buttonModel: { cssClass: cls.CANCEL_BUTTON_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''), content: this.parent.localeObj.getConstant('cancel') }
1039
1039
  }
1040
1040
  ];
1041
1041
  };
@@ -43,12 +43,26 @@ export declare const OLAP_FIELD_LIST_CLASS: string;
43
43
  /** @hidden */
44
44
  export declare const FIELD_LIST_TREE_CLASS: string;
45
45
  /** @hidden */
46
+ export declare const FIELD_LIST_TREE_OUTER_DIV_CLASS: string;
47
+ /** @hidden */
48
+ export declare const FIELD_LIST_TREE_OUTER_DIV_SEARCH_CLASS: string;
49
+ /** @hidden */
50
+ export declare const FIELD_LIST_SEARCH_MODE_CLASS: string;
51
+ /** @hidden */
46
52
  export declare const FIELD_HEADER_CLASS: string;
47
53
  /** @hidden */
54
+ export declare const FIELD_HEADER_CONTAINER_CLASS: string;
55
+ /** @hidden */
48
56
  export declare const FIELD_LIST_TITLE_CLASS: string;
49
57
  /** @hidden */
50
58
  export declare const FIELD_LIST_TITLE_CONTENT_CLASS: string;
51
59
  /** @hidden */
60
+ export declare const FIELD_LIST_SEARCH_CLASS: string;
61
+ /** @hidden */
62
+ export declare const FIELD_LIST_SEARCH_INPUT_CLASS: string;
63
+ /** @hidden */
64
+ export declare const FIELD_LIST_SEARCH_ICON_CLASS: string;
65
+ /** @hidden */
52
66
  export declare const FIELD_LIST_FOOTER_CLASS: string;
53
67
  /** @hidden */
54
68
  export declare const CALCULATED_FIELD_CLASS: string;
@@ -357,6 +371,8 @@ export declare const TREEVIEW: string;
357
371
  /** @hidden */
358
372
  export declare const TREEVIEWOUTER: string;
359
373
  /** @hidden */
374
+ export declare const TREE_CONTAINER: string;
375
+ /** @hidden */
360
376
  export declare const CALCCANCELBTN: string;
361
377
  /** @hidden */
362
378
  export declare const CALCADDBTN: string;
@@ -43,12 +43,26 @@ export var OLAP_FIELD_LIST_CLASS = 'e-olap-field-list-tree';
43
43
  /** @hidden */
44
44
  export var FIELD_LIST_TREE_CLASS = 'e-field-list-tree';
45
45
  /** @hidden */
46
+ export var FIELD_LIST_TREE_OUTER_DIV_CLASS = 'e-field-list-tree-outer-div';
47
+ /** @hidden */
48
+ export var FIELD_LIST_TREE_OUTER_DIV_SEARCH_CLASS = 'e-field-list-tree-outer-div-searchMode';
49
+ /** @hidden */
50
+ export var FIELD_LIST_SEARCH_MODE_CLASS = 'e-search-mode';
51
+ /** @hidden */
46
52
  export var FIELD_HEADER_CLASS = 'e-field-header';
47
53
  /** @hidden */
54
+ export var FIELD_HEADER_CONTAINER_CLASS = 'e-field-header-container';
55
+ /** @hidden */
48
56
  export var FIELD_LIST_TITLE_CLASS = 'e-field-list-title';
49
57
  /** @hidden */
50
58
  export var FIELD_LIST_TITLE_CONTENT_CLASS = 'e-title-content';
51
59
  /** @hidden */
60
+ export var FIELD_LIST_SEARCH_CLASS = 'e-field-list-search';
61
+ /** @hidden */
62
+ export var FIELD_LIST_SEARCH_INPUT_CLASS = 'e-field-list-search-input';
63
+ /** @hidden */
64
+ export var FIELD_LIST_SEARCH_ICON_CLASS = 'e-field-list-search-icon';
65
+ /** @hidden */
52
66
  export var FIELD_LIST_FOOTER_CLASS = 'e-field-list-footer';
53
67
  /** @hidden */
54
68
  export var CALCULATED_FIELD_CLASS = 'e-calculated-field';
@@ -359,6 +373,8 @@ export var TREEVIEW = 'e-pivot-treeview';
359
373
  /** @hidden */
360
374
  export var TREEVIEWOUTER = 'e-pivot-treeview-outer';
361
375
  /** @hidden */
376
+ export var TREE_CONTAINER = 'e-treeContainer';
377
+ /** @hidden */
362
378
  export var CALCCANCELBTN = 'e-pivot-cancel-button';
363
379
  /** @hidden */
364
380
  export var CALCADDBTN = 'e-pivot-add-button';