@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.
- package/CHANGELOG.md +12 -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 +281 -99
- package/dist/es6/ej2-pivotview.es2015.js.map +1 -1
- package/dist/es6/ej2-pivotview.es5.js +283 -100
- 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/helpers/e2e/index.js +9 -7
- package/helpers/e2e/pivotfieldlist.js +47 -31
- package/helpers/e2e/pivotview.js +68 -52
- package/package.json +22 -22
- package/src/base/engine.js +2 -2
- package/src/base/olap/engine.js +12 -0
- package/src/base/olap/mdx-query.js +1 -1
- package/src/common/actions/event-base.d.ts +4 -2
- package/src/common/actions/event-base.js +18 -10
- package/src/common/actions/field-list.js +2 -1
- package/src/common/actions/pivot-button.js +4 -4
- package/src/common/base/css-constant.d.ts +16 -0
- package/src/common/base/css-constant.js +16 -0
- package/src/common/calculatedfield/calculated-field.js +24 -15
- package/src/common/conditionalformatting/conditional-formatting.js +5 -5
- package/src/common/grouping-bar/grouping-bar.js +1 -1
- package/src/common/popups/aggregate-menu.js +4 -3
- package/src/common/popups/drillthrough-dialog.js +5 -4
- package/src/common/popups/error-dialog.js +1 -1
- package/src/common/popups/filter-dialog.js +25 -14
- package/src/common/popups/formatting-dialog.js +2 -2
- package/src/common/popups/grouping.js +14 -7
- package/src/common/popups/toolbar.js +11 -10
- package/src/pivotfieldlist/base/field-list-model.d.ts +5 -0
- package/src/pivotfieldlist/base/field-list.d.ts +4 -0
- package/src/pivotfieldlist/base/field-list.js +5 -0
- package/src/pivotfieldlist/renderer/dialog-renderer.js +17 -9
- package/src/pivotfieldlist/renderer/tree-renderer.d.ts +4 -0
- package/src/pivotfieldlist/renderer/tree-renderer.js +102 -8
- package/src/pivotview/base/pivotview-model.d.ts +7 -0
- package/src/pivotview/base/pivotview.d.ts +6 -0
- package/src/pivotview/base/pivotview.js +9 -3
- package/src/pivotview/renderer/render.js +3 -0
- package/styles/bootstrap-dark.css +165 -32
- package/styles/bootstrap.css +165 -32
- package/styles/bootstrap4.css +166 -36
- package/styles/bootstrap5-dark.css +209 -45
- package/styles/bootstrap5.css +209 -45
- package/styles/fabric-dark.css +165 -32
- package/styles/fabric.css +165 -32
- package/styles/fluent-dark.css +183 -49
- package/styles/fluent.css +183 -49
- package/styles/highcontrast-light.css +165 -32
- package/styles/highcontrast.css +165 -32
- package/styles/material-dark.css +165 -32
- package/styles/material.css +165 -32
- package/styles/pivotfieldlist/_bootstrap-dark-definition.scss +10 -0
- package/styles/pivotfieldlist/_bootstrap-definition.scss +10 -0
- package/styles/pivotfieldlist/_bootstrap4-definition.scss +11 -1
- package/styles/pivotfieldlist/_bootstrap5-definition.scss +15 -6
- package/styles/pivotfieldlist/_fabric-dark-definition.scss +10 -1
- package/styles/pivotfieldlist/_fabric-definition.scss +10 -0
- package/styles/pivotfieldlist/_fluent-definition.scss +18 -8
- package/styles/pivotfieldlist/_fusionnew-definition.scss +189 -0
- package/styles/pivotfieldlist/_highcontrast-definition.scss +10 -0
- package/styles/pivotfieldlist/_highcontrast-light-definition.scss +10 -0
- package/styles/pivotfieldlist/_layout.scss +30 -14
- package/styles/pivotfieldlist/_material-dark-definition.scss +10 -0
- package/styles/pivotfieldlist/_material-definition.scss +10 -0
- package/styles/pivotfieldlist/_material3-definition.scss +189 -0
- package/styles/pivotfieldlist/_tailwind-definition.scss +19 -10
- package/styles/pivotfieldlist/_theme.scss +142 -7
- package/styles/pivotfieldlist/bootstrap-dark.css +146 -10
- package/styles/pivotfieldlist/bootstrap.css +146 -10
- package/styles/pivotfieldlist/bootstrap4.css +147 -11
- package/styles/pivotfieldlist/bootstrap5-dark.css +151 -15
- package/styles/pivotfieldlist/bootstrap5.css +151 -15
- package/styles/pivotfieldlist/fabric-dark.css +146 -10
- package/styles/pivotfieldlist/fabric.css +146 -10
- package/styles/pivotfieldlist/fluent-dark.css +154 -18
- package/styles/pivotfieldlist/fluent.css +154 -18
- package/styles/pivotfieldlist/highcontrast-light.css +146 -10
- package/styles/pivotfieldlist/highcontrast.css +146 -10
- package/styles/pivotfieldlist/icons/_bootstrap-dark.scss +5 -0
- package/styles/pivotfieldlist/icons/_bootstrap.scss +5 -0
- package/styles/pivotfieldlist/icons/_bootstrap4.scss +5 -0
- package/styles/pivotfieldlist/icons/_bootstrap5.scss +5 -0
- package/styles/pivotfieldlist/icons/_fabric-dark.scss +5 -0
- package/styles/pivotfieldlist/icons/_fabric.scss +5 -0
- package/styles/pivotfieldlist/icons/_fluent.scss +5 -0
- package/styles/pivotfieldlist/icons/_fusionnew.scss +352 -0
- package/styles/pivotfieldlist/icons/_highcontrast-light.scss +5 -0
- package/styles/pivotfieldlist/icons/_highcontrast.scss +5 -0
- package/styles/pivotfieldlist/icons/_material-dark.scss +5 -0
- package/styles/pivotfieldlist/icons/_material.scss +4 -0
- package/styles/pivotfieldlist/icons/_material3.scss +352 -0
- package/styles/pivotfieldlist/icons/_tailwind-dark.scss +4 -0
- package/styles/pivotfieldlist/icons/_tailwind.scss +4 -0
- package/styles/pivotfieldlist/material-dark.css +146 -10
- package/styles/pivotfieldlist/material.css +146 -10
- package/styles/pivotfieldlist/tailwind-dark.css +155 -21
- package/styles/pivotfieldlist/tailwind.css +156 -21
- package/styles/pivotview/_bootstrap-dark-definition.scss +4 -2
- package/styles/pivotview/_bootstrap-definition.scss +4 -2
- package/styles/pivotview/_bootstrap4-definition.scss +4 -2
- package/styles/pivotview/_bootstrap5-definition.scss +9 -8
- package/styles/pivotview/_fabric-dark-definition.scss +4 -1
- package/styles/pivotview/_fabric-definition.scss +4 -2
- package/styles/pivotview/_fluent-definition.scss +11 -9
- package/styles/pivotview/_fusionnew-definition.scss +131 -0
- package/styles/pivotview/_highcontrast-definition.scss +4 -2
- package/styles/pivotview/_highcontrast-light-definition.scss +4 -2
- package/styles/pivotview/_layout.scss +3 -17
- package/styles/pivotview/_material-dark-definition.scss +4 -1
- package/styles/pivotview/_material-definition.scss +4 -2
- package/styles/pivotview/_material3-definition.scss +131 -0
- package/styles/pivotview/_tailwind-definition.scss +8 -5
- package/styles/pivotview/_theme.scss +47 -27
- package/styles/pivotview/bootstrap-dark.css +19 -22
- package/styles/pivotview/bootstrap.css +19 -22
- package/styles/pivotview/bootstrap4.css +19 -25
- package/styles/pivotview/bootstrap5-dark.css +58 -30
- package/styles/pivotview/bootstrap5.css +58 -30
- package/styles/pivotview/fabric-dark.css +19 -22
- package/styles/pivotview/fabric.css +19 -22
- package/styles/pivotview/fluent-dark.css +29 -31
- package/styles/pivotview/fluent.css +29 -31
- package/styles/pivotview/highcontrast-light.css +19 -22
- package/styles/pivotview/highcontrast.css +19 -22
- package/styles/pivotview/icons/_fusionnew.scss +183 -0
- package/styles/pivotview/icons/_material3.scss +183 -0
- package/styles/pivotview/material-dark.css +19 -22
- package/styles/pivotview/material.css +19 -22
- package/styles/pivotview/tailwind-dark.css +27 -31
- package/styles/pivotview/tailwind.css +27 -31
- package/styles/tailwind-dark.css +182 -52
- package/styles/tailwind.css +183 -52
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.
|
|
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
|
package/helpers/e2e/index.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
"
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
__export(
|
|
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
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
return
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
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
|
+
});
|
package/helpers/e2e/pivotview.js
CHANGED
|
@@ -1,53 +1,69 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
return
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
|
|
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
|
|
3
|
+
"_id": "@syncfusion/ej2-pivotview@20.15.1",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
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-
|
|
27
|
-
"_shasum": "
|
|
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.
|
|
39
|
-
"@syncfusion/ej2-buttons": "~20.
|
|
40
|
-
"@syncfusion/ej2-calendars": "~20.
|
|
41
|
-
"@syncfusion/ej2-charts": "~20.
|
|
42
|
-
"@syncfusion/ej2-compression": "~20.
|
|
43
|
-
"@syncfusion/ej2-data": "~20.
|
|
44
|
-
"@syncfusion/ej2-dropdowns": "~20.
|
|
45
|
-
"@syncfusion/ej2-excel-export": "~20.
|
|
46
|
-
"@syncfusion/ej2-file-utils": "~20.
|
|
47
|
-
"@syncfusion/ej2-grids": "~20.
|
|
48
|
-
"@syncfusion/ej2-inputs": "~20.
|
|
49
|
-
"@syncfusion/ej2-lists": "~20.
|
|
50
|
-
"@syncfusion/ej2-navigations": "~20.
|
|
51
|
-
"@syncfusion/ej2-pdf-export": "~20.
|
|
52
|
-
"@syncfusion/ej2-popups": "~20.
|
|
53
|
-
"@syncfusion/ej2-splitbuttons": "~20.
|
|
54
|
-
"@syncfusion/ej2-svg-base": "~20.
|
|
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.
|
|
81
|
+
"version": "20.2.36",
|
|
82
82
|
"sideEffects": false
|
|
83
83
|
}
|
package/src/base/engine.js
CHANGED
|
@@ -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,
|
|
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')) {
|
package/src/base/olap/engine.js
CHANGED
|
@@ -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
|
-
|
|
59
|
-
|
|
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
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
var
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
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';
|