@syncfusion/ej2-pivotview 20.1.57 → 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 +28 -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 +462 -193
- package/dist/es6/ej2-pivotview.es2015.js.map +1 -1
- package/dist/es6/ej2-pivotview.es5.js +466 -196
- 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.d.ts +1 -1
- package/src/base/engine.js +126 -78
- package/src/base/olap/mdx-query.js +1 -1
- package/src/base/util.js +2 -2
- package/src/common/actions/event-base.d.ts +4 -2
- package/src/common/actions/event-base.js +45 -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 +10 -10
- 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.d.ts +1 -0
- package/src/common/popups/toolbar.js +26 -16
- package/src/pivotchart/base/pivotchart.js +3 -0
- 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/actions/drill-through.js +2 -2
- package/src/pivotview/actions/excel-export.js +2 -1
- 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/model/chartsettings-model.d.ts +2 -2
- package/src/pivotview/model/chartsettings.d.ts +2 -2
- package/src/pivotview/model/chartsettings.js +2 -2
- package/src/pivotview/renderer/render.js +18 -3
- 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/src/base/engine.js
CHANGED
|
@@ -1699,8 +1699,8 @@ var PivotEngine = /** @class */ (function () {
|
|
|
1699
1699
|
var mPos = this.fieldList[measure].index;
|
|
1700
1700
|
var aggregate = this.fieldList[measure].aggregateType;
|
|
1701
1701
|
this.rawIndexObject = {};
|
|
1702
|
-
value = (type === 'row' ? this.getAggregateValue(rows[i].index, columns.indexObject, mPos, aggregate) :
|
|
1703
|
-
this.getAggregateValue(columns.index, rows[i].indexObject, mPos, aggregate));
|
|
1702
|
+
value = (type === 'row' ? this.getAggregateValue(rows[i].index, columns.indexObject, mPos, aggregate, false) :
|
|
1703
|
+
this.getAggregateValue(columns.index, rows[i].indexObject, mPos, aggregate, false));
|
|
1704
1704
|
var cellDetails = {
|
|
1705
1705
|
fieldName: measure,
|
|
1706
1706
|
row: rows[i],
|
|
@@ -2389,70 +2389,94 @@ var PivotEngine = /** @class */ (function () {
|
|
|
2389
2389
|
return headers;
|
|
2390
2390
|
};
|
|
2391
2391
|
PivotEngine.prototype.performFilterCommonUpdate = function (filterItem, headersInfo, addPos) {
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
var
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
var
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2392
|
+
if (headersInfo.axis === 'row' || headersInfo.axis === 'column') {
|
|
2393
|
+
var rawHeaders = headersInfo.axis === 'row' ? this.rMembers : this.cMembers;
|
|
2394
|
+
var filterObjects = {};
|
|
2395
|
+
for (var _i = 0, _a = this.filterMembers; _i < _a.length; _i++) {
|
|
2396
|
+
var item = _a[_i];
|
|
2397
|
+
filterObjects[item] = item;
|
|
2398
|
+
}
|
|
2399
|
+
if (this.fieldFilterMem[filterItem.name]) {
|
|
2400
|
+
rawHeaders = this.performFilterDeletion(headersInfo.headers, filterItem, headersInfo, filterObjects, 0);
|
|
2401
|
+
}
|
|
2402
|
+
if (addPos.length > 0 && headersInfo.fields.length > 0) {
|
|
2403
|
+
this.frameHeaderObjectsCollection = true;
|
|
2404
|
+
if (headersInfo.fields.filter(function (item) { return item.showNoDataItems; }).length > 0) {
|
|
2405
|
+
for (var i = 0; i < this.data.length; i++) {
|
|
2406
|
+
addPos.push(i);
|
|
2407
|
+
}
|
|
2408
|
+
//addPos = (this.data as any).map((item, pos) => { return pos; });
|
|
2409
|
+
}
|
|
2410
|
+
/* eslint-disable */
|
|
2411
|
+
this.headerObjectsCollection['parent'] = this.getIndexedHeaders(headersInfo.fields, this.data, 0, addPos, headersInfo.axis, '');
|
|
2412
|
+
rawHeaders = this.performFilterAddition(rawHeaders, headersInfo.fields, headersInfo);
|
|
2413
|
+
var headerNames_1 = {};
|
|
2414
|
+
for (var _b = 0, rawHeaders_1 = rawHeaders; _b < rawHeaders_1.length; _b++) {
|
|
2415
|
+
var header = rawHeaders_1[_b];
|
|
2416
|
+
headerNames_1[header.valueSort.levelName.toString()] = header.valueSort.levelName.toString();
|
|
2417
|
+
}
|
|
2418
|
+
var excessHeaders = this.headerObjectsCollection['parent'].filter(function (header) {
|
|
2419
|
+
return !headerNames_1[header.valueSort.levelName.toString()];
|
|
2420
|
+
});
|
|
2421
|
+
var grandHeader = rawHeaders.filter(function (item) { return item.type === 'grand sum'; });
|
|
2422
|
+
if (grandHeader.length > 0) {
|
|
2423
|
+
rawHeaders.pop();
|
|
2424
|
+
}
|
|
2425
|
+
/* eslint-enable */
|
|
2426
|
+
rawHeaders = this.getSortedHeaders(rawHeaders.concat(excessHeaders), this.fieldList[headersInfo.fields[0].name].sort).concat(grandHeader);
|
|
2427
|
+
if (headersInfo.axis === 'row') {
|
|
2428
|
+
this.cMembers = this.getIndexedHeaders(this.columns, this.data, 0, this.filterMembers, 'column', '');
|
|
2429
|
+
this.insertAllMember(this.cMembers, this.filterMembers, '', 'column');
|
|
2430
|
+
}
|
|
2431
|
+
else {
|
|
2432
|
+
this.rMembers = this.getIndexedHeaders(this.rows, this.data, 0, this.filterMembers, 'row', '');
|
|
2433
|
+
this.insertAllMember(this.rMembers, this.filterMembers, '', 'row');
|
|
2434
|
+
}
|
|
2423
2435
|
}
|
|
2424
|
-
/* eslint-enable */
|
|
2425
|
-
rawHeaders = this.getSortedHeaders(rawHeaders.concat(excessHeaders), this.fieldList[headersInfo.fields[0].name].sort).concat(grandHeader);
|
|
2426
2436
|
if (headersInfo.axis === 'row') {
|
|
2427
|
-
this.
|
|
2428
|
-
this.insertAllMember(this.cMembers, this.filterMembers, '', 'column');
|
|
2437
|
+
this.rowCount = 0;
|
|
2429
2438
|
}
|
|
2430
2439
|
else {
|
|
2431
|
-
this.
|
|
2432
|
-
|
|
2440
|
+
this.columnCount = 0;
|
|
2441
|
+
}
|
|
2442
|
+
this.updateHeadersCount(rawHeaders, headersInfo.axis, 0, headersInfo.fields, 'plus', false);
|
|
2443
|
+
if (headersInfo.axis === 'row') {
|
|
2444
|
+
if (headersInfo.position > 0) {
|
|
2445
|
+
this.insertPosition(this.rows, this.data, 0, this.filterMembers, 'row', '', rawHeaders);
|
|
2446
|
+
}
|
|
2447
|
+
this.insertTotalPosition(rawHeaders);
|
|
2448
|
+
this.rMembers = this.headerCollection.rowHeaders = rawHeaders;
|
|
2449
|
+
this.headerCollection.rowHeadersCount = this.rowCount;
|
|
2450
|
+
}
|
|
2451
|
+
else {
|
|
2452
|
+
if (headersInfo.position > 0) {
|
|
2453
|
+
this.insertPosition(this.columns, this.data, 0, this.filterMembers, 'column', '', rawHeaders);
|
|
2454
|
+
}
|
|
2455
|
+
this.insertTotalPosition(rawHeaders);
|
|
2456
|
+
this.cMembers = this.headerCollection.columnHeaders = rawHeaders;
|
|
2457
|
+
this.headerCollection.columnHeadersCount = this.columnCount;
|
|
2433
2458
|
}
|
|
2434
|
-
}
|
|
2435
|
-
if (headersInfo.axis === 'row') {
|
|
2436
|
-
this.rowCount = 0;
|
|
2437
2459
|
}
|
|
2438
2460
|
else {
|
|
2461
|
+
var showNoDataItems = (this.rows[0] && this.rows[0].showNoDataItems) || (this.columns[0] && this.columns[0].showNoDataItems);
|
|
2462
|
+
if (this.rows.length > 0) {
|
|
2463
|
+
this.rMembers = this.getIndexedHeaders(this.rows, this.data, 0, showNoDataItems ? addPos : this.filterMembers, 'row', '');
|
|
2464
|
+
}
|
|
2465
|
+
if (this.columns.length > 0) {
|
|
2466
|
+
this.cMembers = this.getIndexedHeaders(this.columns, this.data, 0, showNoDataItems ? addPos : this.filterMembers, 'column', '');
|
|
2467
|
+
}
|
|
2468
|
+
this.insertAllMembersCommon();
|
|
2469
|
+
this.rowCount = 0;
|
|
2439
2470
|
this.columnCount = 0;
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
this.insertPosition(this.
|
|
2471
|
+
this.updateHeadersCount(this.cMembers, 'column', 0, this.columns, 'plus', false);
|
|
2472
|
+
this.updateHeadersCount(this.rMembers, 'row', 0, this.rows, 'plus', false);
|
|
2473
|
+
if (showNoDataItems) {
|
|
2474
|
+
this.insertPosition(this.rows, this.data, 0, this.filterMembers, 'row', '', this.rMembers);
|
|
2475
|
+
this.insertPosition(this.columns, this.data, 0, this.filterMembers, 'column', '', this.cMembers);
|
|
2445
2476
|
}
|
|
2446
|
-
this.
|
|
2447
|
-
this.rMembers = this.headerCollection.rowHeaders = rawHeaders;
|
|
2477
|
+
this.headerCollection.rowHeaders = this.rMembers;
|
|
2448
2478
|
this.headerCollection.rowHeadersCount = this.rowCount;
|
|
2449
|
-
|
|
2450
|
-
else {
|
|
2451
|
-
if (headersInfo.position > 0) {
|
|
2452
|
-
this.insertPosition(this.columns, this.data, 0, this.filterMembers, 'column', '', rawHeaders);
|
|
2453
|
-
}
|
|
2454
|
-
this.insertTotalPosition(rawHeaders);
|
|
2455
|
-
this.cMembers = this.headerCollection.columnHeaders = rawHeaders;
|
|
2479
|
+
this.headerCollection.columnHeaders = this.cMembers;
|
|
2456
2480
|
this.headerCollection.columnHeadersCount = this.columnCount;
|
|
2457
2481
|
}
|
|
2458
2482
|
this.applyValueSorting();
|
|
@@ -2575,15 +2599,13 @@ var PivotEngine = /** @class */ (function () {
|
|
|
2575
2599
|
}
|
|
2576
2600
|
else {
|
|
2577
2601
|
alphaNumbervalue.push(headers[i]);
|
|
2602
|
+
break;
|
|
2578
2603
|
}
|
|
2579
2604
|
}
|
|
2580
|
-
if (stringValue.length > 1) {
|
|
2581
|
-
stringValue = this.sortHeaders(fieldName, childrens, headers, childrens.sort, childrens.type);
|
|
2582
|
-
}
|
|
2583
2605
|
if (alphaNumbervalue.length > 0) {
|
|
2584
2606
|
alphaNumbervalue = this.sortHeaders(fieldName, childrens, headers, childrens.sort, childrens.isAlphanumeric);
|
|
2585
2607
|
}
|
|
2586
|
-
return headers
|
|
2608
|
+
return headers;
|
|
2587
2609
|
}
|
|
2588
2610
|
else {
|
|
2589
2611
|
return this.sortHeaders(fieldName, childrens, headers, sortOrder, childrens.type);
|
|
@@ -2742,7 +2764,7 @@ var PivotEngine = /** @class */ (function () {
|
|
|
2742
2764
|
}
|
|
2743
2765
|
else {
|
|
2744
2766
|
this.rawIndexObject = {};
|
|
2745
|
-
var value = this.getAggregateValue(header.index, member.indexObject, mIndex, mType);
|
|
2767
|
+
var value = this.getAggregateValue(header.index, member.indexObject, mIndex, mType, false);
|
|
2746
2768
|
var cellDetails = {
|
|
2747
2769
|
fieldName: this.fields[mIndex],
|
|
2748
2770
|
row: header,
|
|
@@ -3143,7 +3165,7 @@ var PivotEngine = /** @class */ (function () {
|
|
|
3143
3165
|
this.columnCount -= (!(this.showSubTotals && this.showColumnSubTotals && field.showSubTotals) && axis === 'column') ?
|
|
3144
3166
|
this.colValuesLength : 0;
|
|
3145
3167
|
var filterPosition = hierarchy[iln].index;
|
|
3146
|
-
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);
|
|
3147
3169
|
if (this.frameHeaderObjectsCollection) {
|
|
3148
3170
|
this.headerObjectsCollection[parentMember] = hierarchy[iln].members;
|
|
3149
3171
|
}
|
|
@@ -3153,32 +3175,55 @@ var PivotEngine = /** @class */ (function () {
|
|
|
3153
3175
|
if (this.enableSort) {
|
|
3154
3176
|
// return new DataManager(hierarchy as JSON[]).executeLocal(new Query().sortBy('actualText', childrens.sort.toLowerCase()));
|
|
3155
3177
|
if (isDateType) {
|
|
3156
|
-
return this.sortHeaders(fieldName, childrens, hierarchy, childrens.sort,
|
|
3178
|
+
return this.sortHeaders(fieldName, childrens, hierarchy, childrens.sort, 'date');
|
|
3157
3179
|
}
|
|
3158
3180
|
else {
|
|
3159
3181
|
if (childrens.type === 'number' && hierarchy.length > 0 && (typeof (hierarchy[0].actualText) === 'string')) {
|
|
3160
3182
|
var stringValue = [];
|
|
3183
|
+
var outOfRange = void 0;
|
|
3161
3184
|
var alphaNumbervalue = [];
|
|
3162
3185
|
var nullValue = [];
|
|
3163
3186
|
for (var i = 0; i < hierarchy.length; i++) {
|
|
3164
3187
|
if (isNaN(hierarchy[i].actualText.toString().charAt(0))) {
|
|
3165
3188
|
stringValue.push(hierarchy[i]);
|
|
3189
|
+
if (!outOfRange && childrens.sort !== 'None') {
|
|
3190
|
+
if (hierarchy[i].actualText === 'Out of Range') {
|
|
3191
|
+
outOfRange = hierarchy[i];
|
|
3192
|
+
hierarchy.splice(i, 1);
|
|
3193
|
+
}
|
|
3194
|
+
}
|
|
3166
3195
|
}
|
|
3167
3196
|
else if (hierarchy[i].actualText === "") {
|
|
3168
3197
|
nullValue.push(hierarchy[i]);
|
|
3169
3198
|
}
|
|
3170
3199
|
else {
|
|
3200
|
+
this.fieldList[fieldName].isAlphanumeric = true;
|
|
3171
3201
|
alphaNumbervalue.push(hierarchy[i]);
|
|
3202
|
+
break;
|
|
3172
3203
|
}
|
|
3173
3204
|
}
|
|
3174
|
-
if (
|
|
3175
|
-
|
|
3205
|
+
if (outOfRange) {
|
|
3206
|
+
if (childrens.sort === 'Ascending') {
|
|
3207
|
+
if (hierarchy[0].actualText === 'Grand Total') {
|
|
3208
|
+
hierarchy.splice(1, 0, outOfRange);
|
|
3209
|
+
}
|
|
3210
|
+
else {
|
|
3211
|
+
hierarchy.splice(0, 0, outOfRange);
|
|
3212
|
+
}
|
|
3213
|
+
}
|
|
3214
|
+
else {
|
|
3215
|
+
if (hierarchy[hierarchy.length - 1].actualText === 'Grand Total') {
|
|
3216
|
+
hierarchy.splice(hierarchy.length - 1, 0, outOfRange);
|
|
3217
|
+
}
|
|
3218
|
+
else {
|
|
3219
|
+
hierarchy.splice(hierarchy.length, 0, outOfRange);
|
|
3220
|
+
}
|
|
3221
|
+
}
|
|
3176
3222
|
}
|
|
3177
3223
|
if (alphaNumbervalue.length > 0) {
|
|
3178
|
-
this.
|
|
3179
|
-
alphaNumbervalue = this.sortHeaders(fieldName, childrens, hierarchy, childrens.sort, childrens.isAlphanumeric);
|
|
3224
|
+
this.sortHeaders(fieldName, childrens, hierarchy, childrens.sort, childrens.isAlphanumeric);
|
|
3180
3225
|
}
|
|
3181
|
-
return hierarchy
|
|
3226
|
+
return hierarchy;
|
|
3182
3227
|
}
|
|
3183
3228
|
else {
|
|
3184
3229
|
return this.sortHeaders(fieldName, childrens, hierarchy, childrens.sort, childrens.type);
|
|
@@ -4037,7 +4082,7 @@ var PivotEngine = /** @class */ (function () {
|
|
|
4037
4082
|
var selectedColumnValue = 0;
|
|
4038
4083
|
if (selectedColumnValues.length === 0) {
|
|
4039
4084
|
var selectedRow = this.getSelectedRow(currentSet.rowHeaders, rowheads);
|
|
4040
|
-
selectedColumnValue = this.getAggregateValue(selectedRow.index, selectedColumn.indexObject, this.fieldList[name_3].index, headers.type);
|
|
4085
|
+
selectedColumnValue = this.getAggregateValue(selectedRow.index, selectedColumn.indexObject, this.fieldList[name_3].index, headers.type, false);
|
|
4041
4086
|
}
|
|
4042
4087
|
else {
|
|
4043
4088
|
selectedColumnValue = selectedColumnValues[index[0]].value;
|
|
@@ -4096,7 +4141,7 @@ var PivotEngine = /** @class */ (function () {
|
|
|
4096
4141
|
// let cVal: number = currentSet.value / (selectedRowValues[i[1]] as IAxisSet).value;
|
|
4097
4142
|
var selectedRowValue = 0;
|
|
4098
4143
|
if (selectedRowValues.length === 0 && activeValues) {
|
|
4099
|
-
selectedRowValue = this.getAggregateValue(activeValues.index, colheads[i[1] - 1].indexObject, this.fieldList[name_3].index, headers.type);
|
|
4144
|
+
selectedRowValue = this.getAggregateValue(activeValues.index, colheads[i[1] - 1].indexObject, this.fieldList[name_3].index, headers.type, false);
|
|
4100
4145
|
}
|
|
4101
4146
|
else {
|
|
4102
4147
|
selectedRowValue = selectedRowValues[i[1]] ? selectedRowValues[i[1]].actualValue : 0;
|
|
@@ -4143,7 +4188,7 @@ var PivotEngine = /** @class */ (function () {
|
|
|
4143
4188
|
var selectedColValue = 0;
|
|
4144
4189
|
if (selectedColumnValues.length === 0) {
|
|
4145
4190
|
var selectedRow = this.getSelectedRow(currentSet.rowHeaders, rowheads);
|
|
4146
|
-
selectedColValue = this.getAggregateValue(selectedRow.index, selectedCol.indexObject, this.fieldList[name_3].index, headers.type);
|
|
4191
|
+
selectedColValue = this.getAggregateValue(selectedRow.index, selectedCol.indexObject, this.fieldList[name_3].index, headers.type, false);
|
|
4147
4192
|
}
|
|
4148
4193
|
else {
|
|
4149
4194
|
selectedColValue = selectedColumnValues[i[0]].value;
|
|
@@ -4175,7 +4220,7 @@ var PivotEngine = /** @class */ (function () {
|
|
|
4175
4220
|
rowheads[rlen].level === item.level && currentSet.axis === 'value' &&
|
|
4176
4221
|
currentSet.actualText === name_3) {
|
|
4177
4222
|
if (rowheads[rlen].type !== 'grand sum') {
|
|
4178
|
-
cVal += (!currentSet.showSubTotals && !(!isNullOrUndefined(currentSet.actualValue) && isNaN(currentSet.actualValue))) ? currentSet.actualValue : currentSet.value;
|
|
4223
|
+
cVal += (!currentSet.showSubTotals && !(!isNullOrUndefined(currentSet.actualValue) && isNaN(currentSet.actualValue))) ? currentSet.actualValue : (!isNullOrUndefined(currentSet.value) && !isNaN(currentSet.value)) ? currentSet.value : null;
|
|
4179
4224
|
currentSet.formattedText = currentSet.showSubTotals ? (cVal === 0 && (currentSet.actualValue && currentSet.actualValue !== 0) ? '' : this.getFormattedValue(cVal, name_3).formattedText) : currentSet.formattedText;
|
|
4180
4225
|
if (!this.aggregatedValueMatrix[rlen]) {
|
|
4181
4226
|
this.aggregatedValueMatrix[rlen] = [];
|
|
@@ -4280,7 +4325,7 @@ var PivotEngine = /** @class */ (function () {
|
|
|
4280
4325
|
var i = 0;
|
|
4281
4326
|
for (var _i = 0, gTotalIndex_1 = gTotalIndex; _i < gTotalIndex_1.length; _i++) {
|
|
4282
4327
|
var rIndex = gTotalIndex_1[_i];
|
|
4283
|
-
totalValues[valueContent[i]] = this.getAggregateValue((rIndex[0]).index, (rIndex[1]).indexObject, mPos, aggregate);
|
|
4328
|
+
totalValues[valueContent[i]] = this.getAggregateValue((rIndex[0]).index, (rIndex[1]).indexObject, mPos, aggregate, i === 0 ? false : true);
|
|
4284
4329
|
i++;
|
|
4285
4330
|
}
|
|
4286
4331
|
var val_1 = ((totalValues.cVal) * (totalValues.gTotalVal)) / ((totalValues.rTotalVal) * (totalValues.cTotalVal));
|
|
@@ -4301,7 +4346,7 @@ var PivotEngine = /** @class */ (function () {
|
|
|
4301
4346
|
var i = 0;
|
|
4302
4347
|
for (var _a = 0, gTotalIndex_2 = gTotalIndex; _a < gTotalIndex_2.length; _a++) {
|
|
4303
4348
|
var rIndex = gTotalIndex_2[_a];
|
|
4304
|
-
totalValues[valueContent[i]] = this.getAggregateValue((rIndex[0]).index, (rIndex[1]).indexObject, mPos, aggregate);
|
|
4349
|
+
totalValues[valueContent[i]] = this.getAggregateValue((rIndex[0]).index, (rIndex[1]).indexObject, mPos, aggregate, i === 0 ? false : true);
|
|
4305
4350
|
i++;
|
|
4306
4351
|
}
|
|
4307
4352
|
var val_2 = ((totalValues.cVal) / (totalValues.gTotalVal));
|
|
@@ -4312,7 +4357,7 @@ var PivotEngine = /** @class */ (function () {
|
|
|
4312
4357
|
}
|
|
4313
4358
|
break;
|
|
4314
4359
|
default:
|
|
4315
|
-
var val = this.getAggregateValue(rows[rln].index, columns[cln].indexObject, mPos, aggregate);
|
|
4360
|
+
var val = this.getAggregateValue(rows[rln].index, columns[cln].indexObject, mPos, aggregate, false);
|
|
4316
4361
|
value = (rows[rln].members.length > 0 && rows[rln].hasChild && rows[rln].isDrilled && ((!isNullOrUndefined(rows[rln].showSubTotals) && !rows[rln].showSubTotals) ||
|
|
4317
4362
|
!this.showSubTotals || !this.showRowSubTotals)) ? undefined : val;
|
|
4318
4363
|
actualValue = val;
|
|
@@ -4350,6 +4395,7 @@ var PivotEngine = /** @class */ (function () {
|
|
|
4350
4395
|
isNaN(value) && !isNullOrUndefined(value) &&
|
|
4351
4396
|
(['PopulationStDev', 'SampleStDev', 'PopulationVar', 'SampleVar']).indexOf(aggregate) !== -1) {
|
|
4352
4397
|
formattedText = '#DIV/0!';
|
|
4398
|
+
value = 0;
|
|
4353
4399
|
}
|
|
4354
4400
|
//dln = data[tnum].length;
|
|
4355
4401
|
formattedText = (cellDetails.skipFormatting ? isNullOrUndefined(value) ?
|
|
@@ -4662,7 +4708,7 @@ var PivotEngine = /** @class */ (function () {
|
|
|
4662
4708
|
}
|
|
4663
4709
|
};
|
|
4664
4710
|
/* eslint-disable */
|
|
4665
|
-
PivotEngine.prototype.getAggregateValue = function (rowIndex, columnIndex, value, type) {
|
|
4711
|
+
PivotEngine.prototype.getAggregateValue = function (rowIndex, columnIndex, value, type, isGrandTotal) {
|
|
4666
4712
|
//rowIndex = rowIndex.sort();
|
|
4667
4713
|
//columnIndex = columnIndex.sort();
|
|
4668
4714
|
var rlt = rowIndex.length;
|
|
@@ -4843,7 +4889,7 @@ var PivotEngine = /** @class */ (function () {
|
|
|
4843
4889
|
var value_1 = aggregateField[aggregatedValue.formula];
|
|
4844
4890
|
if (value_1 === undefined) {
|
|
4845
4891
|
var type_1 = aggregatedValue.type;
|
|
4846
|
-
value_1 = this.getAggregateValue(rowIndex, columnIndex, aggregatedValue.index, type_1);
|
|
4892
|
+
value_1 = this.getAggregateValue(rowIndex, columnIndex, aggregatedValue.index, type_1, false);
|
|
4847
4893
|
aggregateField[aggregatedValue.formula] = value_1;
|
|
4848
4894
|
}
|
|
4849
4895
|
actualFormula = (actualFormula).replace(aggregatedValue.formula, String(value_1));
|
|
@@ -4857,7 +4903,9 @@ var PivotEngine = /** @class */ (function () {
|
|
|
4857
4903
|
while (rowIndex[ri] !== undefined) {
|
|
4858
4904
|
if (columnIndex[rowIndex[ri]] !== undefined) {
|
|
4859
4905
|
isValueExist = true;
|
|
4860
|
-
|
|
4906
|
+
if (!isGrandTotal) {
|
|
4907
|
+
this.rawIndexObject[rowIndex[ri]] = rowIndex[ri];
|
|
4908
|
+
}
|
|
4861
4909
|
//let cIndx: number = isLeastLevel ? columnIndex.splice(columnIndex.indexOf(rowIndex[ri]), 1)[0] : rowIndex[ri];
|
|
4862
4910
|
var currentVal = this.valueMatrix[rowIndex[ri]][value];
|
|
4863
4911
|
if (isNullOrUndefined(cellValue) && isNullOrUndefined(currentVal)) {
|
|
@@ -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;
|
package/src/base/util.js
CHANGED
|
@@ -864,9 +864,9 @@ var PivotUtil = /** @class */ (function () {
|
|
|
864
864
|
}
|
|
865
865
|
else if (type === true) {
|
|
866
866
|
sortOrder === 'Ascending' ?
|
|
867
|
-
(sortMembersOrder.sort(function (a, b) { return (a.actualText === 'Grand Total' || b.actualText === 'Grand Total') ? 0 : (Number(a.actualText.toString().match(/\d+/)
|
|
867
|
+
(sortMembersOrder.sort(function (a, b) { return (a.actualText === 'Grand Total' || b.actualText === 'Grand Total') ? 0 : (a.actualText === 'Out of Range') ? 1 : (b.actualText === 'Out of Range') ? -1 : (Number(a.actualText.toString().match(/\d+/)) > Number(b.actualText.toString().match(/\d+/))) ? 1 : ((Number(b.actualText.toString().match(/\d+/)) > Number(a.actualText.toString().match(/\d+/))) ? -1 : 0); })) :
|
|
868
868
|
sortOrder === 'Descending' ?
|
|
869
|
-
(sortMembersOrder.sort(function (a, b) { return (a.actualText === 'Grand Total' || b.actualText === 'Grand Total') ? 0 : (Number(a.actualText.toString().match(/\d+/)
|
|
869
|
+
(sortMembersOrder.sort(function (a, b) { return (a.actualText === 'Grand Total' || b.actualText === 'Grand Total') ? 0 : (a.actualText === 'Out of Range') ? -1 : (b.actualText === 'Out of Range') ? 1 : (Number(a.actualText.toString().match(/\d+/)) < Number(b.actualText.toString().match(/\d+/))) ? 1 : ((Number(b.actualText.toString().match(/\d+/)) < Number(a.actualText.toString().match(/\d+/))) ? -1 : 0); })) :
|
|
870
870
|
sortMembersOrder;
|
|
871
871
|
}
|
|
872
872
|
else {
|
|
@@ -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
|
/**
|
|
@@ -109,6 +111,15 @@ var EventBase = /** @class */ (function () {
|
|
|
109
111
|
/* eslint-disable */
|
|
110
112
|
var membersInfo = fieldInfo && fieldInfo.membersOrder ?
|
|
111
113
|
fieldInfo.membersOrder.slice() : [];
|
|
114
|
+
var outOfRange = void 0;
|
|
115
|
+
if (members[0].actualText === 'Out of Range') {
|
|
116
|
+
outOfRange = members[0];
|
|
117
|
+
members.splice(0, 1);
|
|
118
|
+
}
|
|
119
|
+
else if (members[members.length - 1].actualText === 'Out of Range') {
|
|
120
|
+
outOfRange = members[members.length - 1];
|
|
121
|
+
members.splice(members.length - 1, 1);
|
|
122
|
+
}
|
|
112
123
|
var sortDetails = {
|
|
113
124
|
fieldName: fieldName,
|
|
114
125
|
sortOrder: fieldInfo.sort,
|
|
@@ -130,6 +141,24 @@ var EventBase = /** @class */ (function () {
|
|
|
130
141
|
isInclude = this.isValidFilterItemsAvail(fieldName, filterObj) && filterObj.type === 'Include' ? true : false;
|
|
131
142
|
filterItems = filterObj.items ? filterObj.items : [];
|
|
132
143
|
}
|
|
144
|
+
if (outOfRange) {
|
|
145
|
+
if (sortDetails.sortOrder === 'Ascending') {
|
|
146
|
+
if (members[members.length - 1].actualText === 'Grand Total') {
|
|
147
|
+
members.splice(members.length - 1, 0, outOfRange);
|
|
148
|
+
}
|
|
149
|
+
else {
|
|
150
|
+
members.splice(members.length, 0, outOfRange);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
else {
|
|
154
|
+
if (members[0].actualText === 'Grand Total') {
|
|
155
|
+
members.splice(1, 0, outOfRange);
|
|
156
|
+
}
|
|
157
|
+
else {
|
|
158
|
+
members.splice(0, 0, outOfRange);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
133
162
|
if (isHeaderSortByDefault) {
|
|
134
163
|
var copyOrder = [];
|
|
135
164
|
for (var m = 0, n = 0; m < members.length; m++) {
|
|
@@ -169,16 +198,21 @@ var EventBase = /** @class */ (function () {
|
|
|
169
198
|
var isItemAvail = false;
|
|
170
199
|
var filterTypes = ['Include', 'Exclude'];
|
|
171
200
|
if (filterObj && filterTypes.indexOf(filterObj.type) >= 0) {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
var
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
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
|
+
}
|
|
182
216
|
}
|
|
183
217
|
}
|
|
184
218
|
}
|
|
@@ -425,6 +459,7 @@ var EventBase = /** @class */ (function () {
|
|
|
425
459
|
else {
|
|
426
460
|
treeObj.expandAll(undefined, undefined, true);
|
|
427
461
|
}
|
|
462
|
+
this.searchListItem = searchList;
|
|
428
463
|
}
|
|
429
464
|
else {
|
|
430
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';
|