@syncfusion/ej2-pivotview 20.1.58 → 20.2.38

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 (149) hide show
  1. package/CHANGELOG.md +29 -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 +530 -235
  5. package/dist/es6/ej2-pivotview.es2015.js.map +1 -1
  6. package/dist/es6/ej2-pivotview.es5.js +544 -246
  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.d.ts +1 -1
  16. package/src/base/engine.js +129 -82
  17. package/src/base/olap/engine.js +2 -2
  18. package/src/base/olap/mdx-query.js +1 -1
  19. package/src/base/util.js +2 -2
  20. package/src/common/actions/event-base.d.ts +4 -2
  21. package/src/common/actions/event-base.js +45 -10
  22. package/src/common/actions/field-list.js +2 -1
  23. package/src/common/actions/pivot-button.js +4 -4
  24. package/src/common/base/constant.d.ts +8 -0
  25. package/src/common/base/constant.js +8 -0
  26. package/src/common/base/css-constant.d.ts +16 -0
  27. package/src/common/base/css-constant.js +16 -0
  28. package/src/common/calculatedfield/calculated-field.js +24 -15
  29. package/src/common/conditionalformatting/conditional-formatting.js +5 -5
  30. package/src/common/grouping-bar/grouping-bar.js +1 -1
  31. package/src/common/popups/aggregate-menu.js +4 -3
  32. package/src/common/popups/drillthrough-dialog.js +10 -10
  33. package/src/common/popups/error-dialog.js +1 -1
  34. package/src/common/popups/filter-dialog.js +25 -14
  35. package/src/common/popups/formatting-dialog.js +2 -2
  36. package/src/common/popups/grouping.js +14 -7
  37. package/src/common/popups/toolbar.d.ts +1 -0
  38. package/src/common/popups/toolbar.js +26 -16
  39. package/src/pivotchart/base/pivotchart.js +3 -0
  40. package/src/pivotfieldlist/base/field-list-model.d.ts +5 -0
  41. package/src/pivotfieldlist/base/field-list.d.ts +4 -0
  42. package/src/pivotfieldlist/base/field-list.js +11 -6
  43. package/src/pivotfieldlist/renderer/dialog-renderer.js +17 -9
  44. package/src/pivotfieldlist/renderer/tree-renderer.d.ts +4 -0
  45. package/src/pivotfieldlist/renderer/tree-renderer.js +102 -8
  46. package/src/pivotview/actions/drill-through.js +2 -2
  47. package/src/pivotview/actions/virtualscroll.d.ts +1 -0
  48. package/src/pivotview/actions/virtualscroll.js +59 -30
  49. package/src/pivotview/base/pivotview-model.d.ts +7 -0
  50. package/src/pivotview/base/pivotview.d.ts +6 -0
  51. package/src/pivotview/base/pivotview.js +25 -12
  52. package/src/pivotview/model/chartsettings-model.d.ts +2 -2
  53. package/src/pivotview/model/chartsettings.d.ts +2 -2
  54. package/src/pivotview/model/chartsettings.js +2 -2
  55. package/src/pivotview/renderer/render.js +5 -2
  56. package/styles/bootstrap-dark.css +165 -32
  57. package/styles/bootstrap.css +165 -32
  58. package/styles/bootstrap4.css +166 -36
  59. package/styles/bootstrap5-dark.css +209 -45
  60. package/styles/bootstrap5.css +209 -45
  61. package/styles/fabric-dark.css +165 -32
  62. package/styles/fabric.css +165 -32
  63. package/styles/fluent-dark.css +183 -49
  64. package/styles/fluent.css +183 -49
  65. package/styles/highcontrast-light.css +165 -32
  66. package/styles/highcontrast.css +165 -32
  67. package/styles/material-dark.css +165 -32
  68. package/styles/material.css +165 -32
  69. package/styles/pivotfieldlist/_bootstrap-dark-definition.scss +10 -0
  70. package/styles/pivotfieldlist/_bootstrap-definition.scss +10 -0
  71. package/styles/pivotfieldlist/_bootstrap4-definition.scss +11 -1
  72. package/styles/pivotfieldlist/_bootstrap5-definition.scss +15 -6
  73. package/styles/pivotfieldlist/_fabric-dark-definition.scss +10 -1
  74. package/styles/pivotfieldlist/_fabric-definition.scss +10 -0
  75. package/styles/pivotfieldlist/_fluent-definition.scss +18 -8
  76. package/styles/pivotfieldlist/_fusionnew-definition.scss +189 -0
  77. package/styles/pivotfieldlist/_highcontrast-definition.scss +10 -0
  78. package/styles/pivotfieldlist/_highcontrast-light-definition.scss +10 -0
  79. package/styles/pivotfieldlist/_layout.scss +30 -14
  80. package/styles/pivotfieldlist/_material-dark-definition.scss +10 -0
  81. package/styles/pivotfieldlist/_material-definition.scss +10 -0
  82. package/styles/pivotfieldlist/_material3-definition.scss +190 -0
  83. package/styles/pivotfieldlist/_tailwind-definition.scss +19 -10
  84. package/styles/pivotfieldlist/_theme.scss +142 -7
  85. package/styles/pivotfieldlist/bootstrap-dark.css +146 -10
  86. package/styles/pivotfieldlist/bootstrap.css +146 -10
  87. package/styles/pivotfieldlist/bootstrap4.css +147 -11
  88. package/styles/pivotfieldlist/bootstrap5-dark.css +151 -15
  89. package/styles/pivotfieldlist/bootstrap5.css +151 -15
  90. package/styles/pivotfieldlist/fabric-dark.css +146 -10
  91. package/styles/pivotfieldlist/fabric.css +146 -10
  92. package/styles/pivotfieldlist/fluent-dark.css +154 -18
  93. package/styles/pivotfieldlist/fluent.css +154 -18
  94. package/styles/pivotfieldlist/highcontrast-light.css +146 -10
  95. package/styles/pivotfieldlist/highcontrast.css +146 -10
  96. package/styles/pivotfieldlist/icons/_bootstrap-dark.scss +5 -0
  97. package/styles/pivotfieldlist/icons/_bootstrap.scss +5 -0
  98. package/styles/pivotfieldlist/icons/_bootstrap4.scss +5 -0
  99. package/styles/pivotfieldlist/icons/_bootstrap5.scss +5 -0
  100. package/styles/pivotfieldlist/icons/_fabric-dark.scss +5 -0
  101. package/styles/pivotfieldlist/icons/_fabric.scss +5 -0
  102. package/styles/pivotfieldlist/icons/_fluent.scss +5 -0
  103. package/styles/pivotfieldlist/icons/_fusionnew.scss +352 -0
  104. package/styles/pivotfieldlist/icons/_highcontrast-light.scss +5 -0
  105. package/styles/pivotfieldlist/icons/_highcontrast.scss +5 -0
  106. package/styles/pivotfieldlist/icons/_material-dark.scss +5 -0
  107. package/styles/pivotfieldlist/icons/_material.scss +4 -0
  108. package/styles/pivotfieldlist/icons/_material3.scss +352 -0
  109. package/styles/pivotfieldlist/icons/_tailwind-dark.scss +4 -0
  110. package/styles/pivotfieldlist/icons/_tailwind.scss +4 -0
  111. package/styles/pivotfieldlist/material-dark.css +146 -10
  112. package/styles/pivotfieldlist/material.css +146 -10
  113. package/styles/pivotfieldlist/tailwind-dark.css +155 -21
  114. package/styles/pivotfieldlist/tailwind.css +156 -21
  115. package/styles/pivotview/_bootstrap-dark-definition.scss +4 -2
  116. package/styles/pivotview/_bootstrap-definition.scss +4 -2
  117. package/styles/pivotview/_bootstrap4-definition.scss +4 -2
  118. package/styles/pivotview/_bootstrap5-definition.scss +9 -8
  119. package/styles/pivotview/_fabric-dark-definition.scss +4 -1
  120. package/styles/pivotview/_fabric-definition.scss +4 -2
  121. package/styles/pivotview/_fluent-definition.scss +11 -9
  122. package/styles/pivotview/_fusionnew-definition.scss +131 -0
  123. package/styles/pivotview/_highcontrast-definition.scss +4 -2
  124. package/styles/pivotview/_highcontrast-light-definition.scss +4 -2
  125. package/styles/pivotview/_layout.scss +3 -17
  126. package/styles/pivotview/_material-dark-definition.scss +4 -1
  127. package/styles/pivotview/_material-definition.scss +4 -2
  128. package/styles/pivotview/_material3-definition.scss +131 -0
  129. package/styles/pivotview/_tailwind-definition.scss +8 -5
  130. package/styles/pivotview/_theme.scss +47 -27
  131. package/styles/pivotview/bootstrap-dark.css +19 -22
  132. package/styles/pivotview/bootstrap.css +19 -22
  133. package/styles/pivotview/bootstrap4.css +19 -25
  134. package/styles/pivotview/bootstrap5-dark.css +58 -30
  135. package/styles/pivotview/bootstrap5.css +58 -30
  136. package/styles/pivotview/fabric-dark.css +19 -22
  137. package/styles/pivotview/fabric.css +19 -22
  138. package/styles/pivotview/fluent-dark.css +29 -31
  139. package/styles/pivotview/fluent.css +29 -31
  140. package/styles/pivotview/highcontrast-light.css +19 -22
  141. package/styles/pivotview/highcontrast.css +19 -22
  142. package/styles/pivotview/icons/_fusionnew.scss +183 -0
  143. package/styles/pivotview/icons/_material3.scss +183 -0
  144. package/styles/pivotview/material-dark.css +19 -22
  145. package/styles/pivotview/material.css +19 -22
  146. package/styles/pivotview/tailwind-dark.css +27 -31
  147. package/styles/pivotview/tailwind.css +27 -31
  148. package/styles/tailwind-dark.css +182 -52
  149. package/styles/tailwind.css +183 -52
@@ -3,7 +3,7 @@ import { DataManager, Deferred, Query } from '@syncfusion/ej2-data';
3
3
  import { Dialog, Tooltip, createSpinner, hideSpinner, showSpinner } from '@syncfusion/ej2-popups';
4
4
  import { ColumnChooser, CommandColumn, ContextMenu, Edit, ExcelExport, Freeze, Grid, Page, PdfExport, Reorder, Resize, Selection, Toolbar, VirtualScroll, getObject, headerRefreshed, setStyleAndAttributes } from '@syncfusion/ej2-grids';
5
5
  import { Accordion, ContextMenu as ContextMenu$1, Menu, Tab, Toolbar as Toolbar$1, TreeView } from '@syncfusion/ej2-navigations';
6
- import { ColorPicker, MaskedTextBox, NumericTextBox } from '@syncfusion/ej2-inputs';
6
+ import { ColorPicker, MaskedTextBox, NumericTextBox, TextBox } from '@syncfusion/ej2-inputs';
7
7
  import { CheckBoxSelection, DropDownList, MultiSelect } from '@syncfusion/ej2-dropdowns';
8
8
  import { DateTimePicker } from '@syncfusion/ej2-calendars';
9
9
  import { DropDownButton } from '@syncfusion/ej2-splitbuttons';
@@ -876,9 +876,9 @@ var PivotUtil = /** @__PURE__ @class */ (function () {
876
876
  }
877
877
  else if (type === true) {
878
878
  sortOrder === 'Ascending' ?
879
- (sortMembersOrder.sort(function (a, b) { return (a.actualText === 'Grand Total' || b.actualText === 'Grand Total') ? 0 : (Number(a.actualText.toString().match(/\d+/)[0]) > Number(b.actualText.toString().match(/\d+/)[0])) ? 1 : ((Number(b.actualText.toString().match(/\d+/)[0]) > Number(a.actualText.toString().match(/\d+/)[0])) ? -1 : 0); })) :
879
+ (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); })) :
880
880
  sortOrder === 'Descending' ?
881
- (sortMembersOrder.sort(function (a, b) { return (a.actualText === 'Grand Total' || b.actualText === 'Grand Total') ? 0 : (Number(a.actualText.toString().match(/\d+/)[0]) < Number(b.actualText.toString().match(/\d+/)[0])) ? 1 : ((Number(b.actualText.toString().match(/\d+/)[0]) < Number(a.actualText.toString().match(/\d+/)[0])) ? -1 : 0); })) :
881
+ (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); })) :
882
882
  sortMembersOrder;
883
883
  }
884
884
  else {
@@ -2590,14 +2590,14 @@ var PivotEngine = /** @__PURE__ @class */ (function () {
2590
2590
  var mPos = this.fieldList[measure].index;
2591
2591
  var aggregate = this.fieldList[measure].aggregateType;
2592
2592
  this.rawIndexObject = {};
2593
- value = (type === 'row' ? this.getAggregateValue(rows[i].index, columns.indexObject, mPos, aggregate) :
2594
- this.getAggregateValue(columns.index, rows[i].indexObject, mPos, aggregate));
2593
+ value = (type === 'row' ? this.getAggregateValue(rows[i].index, columns.indexObject, mPos, aggregate, false) :
2594
+ this.getAggregateValue(columns.index, rows[i].indexObject, mPos, aggregate, false));
2595
2595
  var cellDetails = {
2596
2596
  fieldName: measure,
2597
2597
  row: rows[i],
2598
2598
  column: columns,
2599
2599
  value: value,
2600
- cellSets: this.getCellSet(this.rawIndexObject),
2600
+ cellSets: this.getValueCellInfo ? this.getCellSet(this.rawIndexObject) : [],
2601
2601
  rowCellType: (rows[i].hasChild && rows[i].isDrilled ? 'subTotal' : rows[i].type === 'grand sum' ? 'grandTotal' : 'value'),
2602
2602
  columnCellType: (columns.hasChild && columns.isDrilled ? 'subTotal' : columns.type === 'grand sum' ? 'grandTotal' : 'value'),
2603
2603
  aggregateType: aggregate,
@@ -3278,70 +3278,94 @@ var PivotEngine = /** @__PURE__ @class */ (function () {
3278
3278
  return headers;
3279
3279
  };
3280
3280
  PivotEngine.prototype.performFilterCommonUpdate = function (filterItem, headersInfo, addPos) {
3281
- var rawHeaders = headersInfo.axis === 'row' ? this.rMembers : this.cMembers;
3282
- var filterObjects = {};
3283
- for (var _i = 0, _a = this.filterMembers; _i < _a.length; _i++) {
3284
- var item = _a[_i];
3285
- filterObjects[item] = item;
3286
- }
3287
- if (this.fieldFilterMem[filterItem.name]) {
3288
- rawHeaders = this.performFilterDeletion(headersInfo.headers, filterItem, headersInfo, filterObjects, 0);
3289
- }
3290
- if (addPos.length > 0 && headersInfo.fields.length > 0) {
3291
- this.frameHeaderObjectsCollection = true;
3292
- if (headersInfo.fields.filter(function (item) { return item.showNoDataItems; }).length > 0) {
3293
- for (var i = 0; i < this.data.length; i++) {
3294
- addPos.push(i);
3281
+ if (headersInfo.axis === 'row' || headersInfo.axis === 'column') {
3282
+ var rawHeaders = headersInfo.axis === 'row' ? this.rMembers : this.cMembers;
3283
+ var filterObjects = {};
3284
+ for (var _i = 0, _a = this.filterMembers; _i < _a.length; _i++) {
3285
+ var item = _a[_i];
3286
+ filterObjects[item] = item;
3287
+ }
3288
+ if (this.fieldFilterMem[filterItem.name]) {
3289
+ rawHeaders = this.performFilterDeletion(headersInfo.headers, filterItem, headersInfo, filterObjects, 0);
3290
+ }
3291
+ if (addPos.length > 0 && headersInfo.fields.length > 0) {
3292
+ this.frameHeaderObjectsCollection = true;
3293
+ if (headersInfo.fields.filter(function (item) { return item.showNoDataItems; }).length > 0) {
3294
+ for (var i = 0; i < this.data.length; i++) {
3295
+ addPos.push(i);
3296
+ }
3297
+ //addPos = (this.data as any).map((item, pos) => { return pos; });
3298
+ }
3299
+ /* eslint-disable */
3300
+ this.headerObjectsCollection['parent'] = this.getIndexedHeaders(headersInfo.fields, this.data, 0, addPos, headersInfo.axis, '');
3301
+ rawHeaders = this.performFilterAddition(rawHeaders, headersInfo.fields, headersInfo);
3302
+ var headerNames_1 = {};
3303
+ for (var _b = 0, rawHeaders_1 = rawHeaders; _b < rawHeaders_1.length; _b++) {
3304
+ var header = rawHeaders_1[_b];
3305
+ headerNames_1[header.valueSort.levelName.toString()] = header.valueSort.levelName.toString();
3306
+ }
3307
+ var excessHeaders = this.headerObjectsCollection['parent'].filter(function (header) {
3308
+ return !headerNames_1[header.valueSort.levelName.toString()];
3309
+ });
3310
+ var grandHeader = rawHeaders.filter(function (item) { return item.type === 'grand sum'; });
3311
+ if (grandHeader.length > 0) {
3312
+ rawHeaders.pop();
3313
+ }
3314
+ /* eslint-enable */
3315
+ rawHeaders = this.getSortedHeaders(rawHeaders.concat(excessHeaders), this.fieldList[headersInfo.fields[0].name].sort).concat(grandHeader);
3316
+ if (headersInfo.axis === 'row') {
3317
+ this.cMembers = this.getIndexedHeaders(this.columns, this.data, 0, this.filterMembers, 'column', '');
3318
+ this.insertAllMember(this.cMembers, this.filterMembers, '', 'column');
3319
+ }
3320
+ else {
3321
+ this.rMembers = this.getIndexedHeaders(this.rows, this.data, 0, this.filterMembers, 'row', '');
3322
+ this.insertAllMember(this.rMembers, this.filterMembers, '', 'row');
3295
3323
  }
3296
- //addPos = (this.data as any).map((item, pos) => { return pos; });
3297
3324
  }
3298
- /* eslint-disable */
3299
- this.headerObjectsCollection['parent'] = this.getIndexedHeaders(headersInfo.fields, this.data, 0, addPos, headersInfo.axis, '');
3300
- rawHeaders = this.performFilterAddition(rawHeaders, headersInfo.fields, headersInfo);
3301
- var headerNames_1 = {};
3302
- for (var _b = 0, rawHeaders_1 = rawHeaders; _b < rawHeaders_1.length; _b++) {
3303
- var header = rawHeaders_1[_b];
3304
- headerNames_1[header.valueSort.levelName.toString()] = header.valueSort.levelName.toString();
3305
- }
3306
- var excessHeaders = this.headerObjectsCollection['parent'].filter(function (header) {
3307
- return !headerNames_1[header.valueSort.levelName.toString()];
3308
- });
3309
- var grandHeader = rawHeaders.filter(function (item) { return item.type === 'grand sum'; });
3310
- if (grandHeader.length > 0) {
3311
- rawHeaders.pop();
3325
+ if (headersInfo.axis === 'row') {
3326
+ this.rowCount = 0;
3312
3327
  }
3313
- /* eslint-enable */
3314
- rawHeaders = this.getSortedHeaders(rawHeaders.concat(excessHeaders), this.fieldList[headersInfo.fields[0].name].sort).concat(grandHeader);
3328
+ else {
3329
+ this.columnCount = 0;
3330
+ }
3331
+ this.updateHeadersCount(rawHeaders, headersInfo.axis, 0, headersInfo.fields, 'plus', false);
3315
3332
  if (headersInfo.axis === 'row') {
3316
- this.cMembers = this.getIndexedHeaders(this.columns, this.data, 0, this.filterMembers, 'column', '');
3317
- this.insertAllMember(this.cMembers, this.filterMembers, '', 'column');
3333
+ if (headersInfo.position > 0) {
3334
+ this.insertPosition(this.rows, this.data, 0, this.filterMembers, 'row', '', rawHeaders);
3335
+ }
3336
+ this.insertTotalPosition(rawHeaders);
3337
+ this.rMembers = this.headerCollection.rowHeaders = rawHeaders;
3338
+ this.headerCollection.rowHeadersCount = this.rowCount;
3318
3339
  }
3319
3340
  else {
3320
- this.rMembers = this.getIndexedHeaders(this.rows, this.data, 0, this.filterMembers, 'row', '');
3321
- this.insertAllMember(this.rMembers, this.filterMembers, '', 'row');
3341
+ if (headersInfo.position > 0) {
3342
+ this.insertPosition(this.columns, this.data, 0, this.filterMembers, 'column', '', rawHeaders);
3343
+ }
3344
+ this.insertTotalPosition(rawHeaders);
3345
+ this.cMembers = this.headerCollection.columnHeaders = rawHeaders;
3346
+ this.headerCollection.columnHeadersCount = this.columnCount;
3322
3347
  }
3323
3348
  }
3324
- if (headersInfo.axis === 'row') {
3325
- this.rowCount = 0;
3326
- }
3327
3349
  else {
3350
+ var showNoDataItems = (this.rows[0] && this.rows[0].showNoDataItems) || (this.columns[0] && this.columns[0].showNoDataItems);
3351
+ if (this.rows.length > 0) {
3352
+ this.rMembers = this.getIndexedHeaders(this.rows, this.data, 0, showNoDataItems ? addPos : this.filterMembers, 'row', '');
3353
+ }
3354
+ if (this.columns.length > 0) {
3355
+ this.cMembers = this.getIndexedHeaders(this.columns, this.data, 0, showNoDataItems ? addPos : this.filterMembers, 'column', '');
3356
+ }
3357
+ this.insertAllMembersCommon();
3358
+ this.rowCount = 0;
3328
3359
  this.columnCount = 0;
3329
- }
3330
- this.updateHeadersCount(rawHeaders, headersInfo.axis, 0, headersInfo.fields, 'plus', false);
3331
- if (headersInfo.axis === 'row') {
3332
- if (headersInfo.position > 0) {
3333
- this.insertPosition(this.rows, this.data, 0, this.filterMembers, 'row', '', rawHeaders);
3360
+ this.updateHeadersCount(this.cMembers, 'column', 0, this.columns, 'plus', false);
3361
+ this.updateHeadersCount(this.rMembers, 'row', 0, this.rows, 'plus', false);
3362
+ if (showNoDataItems) {
3363
+ this.insertPosition(this.rows, this.data, 0, this.filterMembers, 'row', '', this.rMembers);
3364
+ this.insertPosition(this.columns, this.data, 0, this.filterMembers, 'column', '', this.cMembers);
3334
3365
  }
3335
- this.insertTotalPosition(rawHeaders);
3336
- this.rMembers = this.headerCollection.rowHeaders = rawHeaders;
3366
+ this.headerCollection.rowHeaders = this.rMembers;
3337
3367
  this.headerCollection.rowHeadersCount = this.rowCount;
3338
- }
3339
- else {
3340
- if (headersInfo.position > 0) {
3341
- this.insertPosition(this.columns, this.data, 0, this.filterMembers, 'column', '', rawHeaders);
3342
- }
3343
- this.insertTotalPosition(rawHeaders);
3344
- this.cMembers = this.headerCollection.columnHeaders = rawHeaders;
3368
+ this.headerCollection.columnHeaders = this.cMembers;
3345
3369
  this.headerCollection.columnHeadersCount = this.columnCount;
3346
3370
  }
3347
3371
  this.applyValueSorting();
@@ -3463,15 +3487,13 @@ var PivotEngine = /** @__PURE__ @class */ (function () {
3463
3487
  }
3464
3488
  else {
3465
3489
  alphaNumbervalue.push(headers[i]);
3490
+ break;
3466
3491
  }
3467
3492
  }
3468
- if (stringValue.length > 1) {
3469
- stringValue = this.sortHeaders(fieldName, childrens, headers, childrens.sort, childrens.type);
3470
- }
3471
3493
  if (alphaNumbervalue.length > 0) {
3472
3494
  alphaNumbervalue = this.sortHeaders(fieldName, childrens, headers, childrens.sort, childrens.isAlphanumeric);
3473
3495
  }
3474
- return headers = nullValue.concat(alphaNumbervalue, stringValue);
3496
+ return headers;
3475
3497
  }
3476
3498
  else {
3477
3499
  return this.sortHeaders(fieldName, childrens, headers, sortOrder, childrens.type);
@@ -3500,7 +3522,7 @@ var PivotEngine = /** @__PURE__ @class */ (function () {
3500
3522
  PivotUtil.applyHeadersSort(sortMembersOrder, sortOrder, type);
3501
3523
  isHeaderSortByDefault = true;
3502
3524
  }
3503
- if (isHeaderSortByDefault) {
3525
+ if (isHeaderSortByDefault && this.getHeaderSortInfo) {
3504
3526
  var copyOrder = [];
3505
3527
  for (var m = 0, n = 0; m < sortMembersOrder.length; m++) {
3506
3528
  var member = sortMembersOrder[m];
@@ -3630,13 +3652,13 @@ var PivotEngine = /** @__PURE__ @class */ (function () {
3630
3652
  }
3631
3653
  else {
3632
3654
  this.rawIndexObject = {};
3633
- var value = this.getAggregateValue(header.index, member.indexObject, mIndex, mType);
3655
+ var value = this.getAggregateValue(header.index, member.indexObject, mIndex, mType, false);
3634
3656
  var cellDetails = {
3635
3657
  fieldName: this.fields[mIndex],
3636
3658
  row: header,
3637
3659
  column: member,
3638
3660
  value: value,
3639
- cellSets: this.getCellSet(this.rawIndexObject),
3661
+ cellSets: this.getValueCellInfo ? this.getCellSet(this.rawIndexObject) : [],
3640
3662
  rowCellType: (header.hasChild && header.isDrilled ? 'subTotal' : header.type === 'grand sum' ? 'grandTotal' : 'value'),
3641
3663
  columnCellType: (member.hasChild && member.isDrilled ? 'subTotal' : member.type === 'grand sum' ? 'grandTotal' : 'value'),
3642
3664
  aggregateType: mType,
@@ -4030,7 +4052,7 @@ var PivotEngine = /** @__PURE__ @class */ (function () {
4030
4052
  this.columnCount -= (!(this.showSubTotals && this.showColumnSubTotals && field.showSubTotals) && axis === 'column') ?
4031
4053
  this.colValuesLength : 0;
4032
4054
  var filterPosition = hierarchy[iln].index;
4033
- hierarchy[iln].members = this.getIndexedHeaders(keys, data, keyInd + 1, (filterPosition === undefined ? [] : filterPosition), axis, parentMember);
4055
+ hierarchy[iln].members = this.getIndexedHeaders(keys, data, keyInd + 1, (filterPosition === undefined ? [] : filterPosition), axis, parentMember, valueFil);
4034
4056
  if (this.frameHeaderObjectsCollection) {
4035
4057
  this.headerObjectsCollection[parentMember] = hierarchy[iln].members;
4036
4058
  }
@@ -4040,32 +4062,55 @@ var PivotEngine = /** @__PURE__ @class */ (function () {
4040
4062
  if (this.enableSort) {
4041
4063
  // return new DataManager(hierarchy as JSON[]).executeLocal(new Query().sortBy('actualText', childrens.sort.toLowerCase()));
4042
4064
  if (isDateType) {
4043
- return this.sortHeaders(fieldName, childrens, hierarchy, childrens.sort, childrens.type);
4065
+ return this.sortHeaders(fieldName, childrens, hierarchy, childrens.sort, 'date');
4044
4066
  }
4045
4067
  else {
4046
4068
  if (childrens.type === 'number' && hierarchy.length > 0 && (typeof (hierarchy[0].actualText) === 'string')) {
4047
4069
  var stringValue = [];
4070
+ var outOfRange = void 0;
4048
4071
  var alphaNumbervalue = [];
4049
4072
  var nullValue = [];
4050
4073
  for (var i = 0; i < hierarchy.length; i++) {
4051
4074
  if (isNaN(hierarchy[i].actualText.toString().charAt(0))) {
4052
4075
  stringValue.push(hierarchy[i]);
4076
+ if (!outOfRange && childrens.sort !== 'None') {
4077
+ if (hierarchy[i].actualText === 'Out of Range') {
4078
+ outOfRange = hierarchy[i];
4079
+ hierarchy.splice(i, 1);
4080
+ }
4081
+ }
4053
4082
  }
4054
4083
  else if (hierarchy[i].actualText === "") {
4055
4084
  nullValue.push(hierarchy[i]);
4056
4085
  }
4057
4086
  else {
4087
+ this.fieldList[fieldName].isAlphanumeric = true;
4058
4088
  alphaNumbervalue.push(hierarchy[i]);
4089
+ break;
4059
4090
  }
4060
4091
  }
4061
- if (stringValue.length > 0) {
4062
- stringValue = this.sortHeaders(fieldName, childrens, hierarchy, childrens.sort, childrens.type);
4092
+ if (outOfRange) {
4093
+ if (childrens.sort === 'Ascending') {
4094
+ if (hierarchy[0].actualText === 'Grand Total') {
4095
+ hierarchy.splice(1, 0, outOfRange);
4096
+ }
4097
+ else {
4098
+ hierarchy.splice(0, 0, outOfRange);
4099
+ }
4100
+ }
4101
+ else {
4102
+ if (hierarchy[hierarchy.length - 1].actualText === 'Grand Total') {
4103
+ hierarchy.splice(hierarchy.length - 1, 0, outOfRange);
4104
+ }
4105
+ else {
4106
+ hierarchy.splice(hierarchy.length, 0, outOfRange);
4107
+ }
4108
+ }
4063
4109
  }
4064
4110
  if (alphaNumbervalue.length > 0) {
4065
- this.fieldList[fieldName].isAlphanumeric = true;
4066
- alphaNumbervalue = this.sortHeaders(fieldName, childrens, hierarchy, childrens.sort, childrens.isAlphanumeric);
4111
+ this.sortHeaders(fieldName, childrens, hierarchy, childrens.sort, childrens.isAlphanumeric);
4067
4112
  }
4068
- return hierarchy = nullValue.concat(alphaNumbervalue, stringValue);
4113
+ return hierarchy;
4069
4114
  }
4070
4115
  else {
4071
4116
  return this.sortHeaders(fieldName, childrens, hierarchy, childrens.sort, childrens.type);
@@ -4923,7 +4968,7 @@ var PivotEngine = /** @__PURE__ @class */ (function () {
4923
4968
  var selectedColumnValue = 0;
4924
4969
  if (selectedColumnValues.length === 0) {
4925
4970
  var selectedRow = this.getSelectedRow(currentSet.rowHeaders, rowheads);
4926
- selectedColumnValue = this.getAggregateValue(selectedRow.index, selectedColumn.indexObject, this.fieldList[name_3].index, headers.type);
4971
+ selectedColumnValue = this.getAggregateValue(selectedRow.index, selectedColumn.indexObject, this.fieldList[name_3].index, headers.type, false);
4927
4972
  }
4928
4973
  else {
4929
4974
  selectedColumnValue = selectedColumnValues[index[0]].value;
@@ -4982,7 +5027,7 @@ var PivotEngine = /** @__PURE__ @class */ (function () {
4982
5027
  // let cVal: number = currentSet.value / (selectedRowValues[i[1]] as IAxisSet).value;
4983
5028
  var selectedRowValue = 0;
4984
5029
  if (selectedRowValues.length === 0 && activeValues) {
4985
- selectedRowValue = this.getAggregateValue(activeValues.index, colheads[i[1] - 1].indexObject, this.fieldList[name_3].index, headers.type);
5030
+ selectedRowValue = this.getAggregateValue(activeValues.index, colheads[i[1] - 1].indexObject, this.fieldList[name_3].index, headers.type, false);
4986
5031
  }
4987
5032
  else {
4988
5033
  selectedRowValue = selectedRowValues[i[1]] ? selectedRowValues[i[1]].actualValue : 0;
@@ -5029,7 +5074,7 @@ var PivotEngine = /** @__PURE__ @class */ (function () {
5029
5074
  var selectedColValue = 0;
5030
5075
  if (selectedColumnValues.length === 0) {
5031
5076
  var selectedRow = this.getSelectedRow(currentSet.rowHeaders, rowheads);
5032
- selectedColValue = this.getAggregateValue(selectedRow.index, selectedCol.indexObject, this.fieldList[name_3].index, headers.type);
5077
+ selectedColValue = this.getAggregateValue(selectedRow.index, selectedCol.indexObject, this.fieldList[name_3].index, headers.type, false);
5033
5078
  }
5034
5079
  else {
5035
5080
  selectedColValue = selectedColumnValues[i[0]].value;
@@ -5061,7 +5106,7 @@ var PivotEngine = /** @__PURE__ @class */ (function () {
5061
5106
  rowheads[rlen].level === item.level && currentSet.axis === 'value' &&
5062
5107
  currentSet.actualText === name_3) {
5063
5108
  if (rowheads[rlen].type !== 'grand sum') {
5064
- cVal += (!currentSet.showSubTotals && !(!isNullOrUndefined(currentSet.actualValue) && isNaN(currentSet.actualValue))) ? currentSet.actualValue : currentSet.value;
5109
+ cVal += (!currentSet.showSubTotals && !(!isNullOrUndefined(currentSet.actualValue) && isNaN(currentSet.actualValue))) ? currentSet.actualValue : (!isNullOrUndefined(currentSet.value) && !isNaN(currentSet.value)) ? currentSet.value : null;
5065
5110
  currentSet.formattedText = currentSet.showSubTotals ? (cVal === 0 && (currentSet.actualValue && currentSet.actualValue !== 0) ? '' : this.getFormattedValue(cVal, name_3).formattedText) : currentSet.formattedText;
5066
5111
  if (!this.aggregatedValueMatrix[rlen]) {
5067
5112
  this.aggregatedValueMatrix[rlen] = [];
@@ -5166,7 +5211,7 @@ var PivotEngine = /** @__PURE__ @class */ (function () {
5166
5211
  var i = 0;
5167
5212
  for (var _i = 0, gTotalIndex_1 = gTotalIndex; _i < gTotalIndex_1.length; _i++) {
5168
5213
  var rIndex = gTotalIndex_1[_i];
5169
- totalValues[valueContent[i]] = this.getAggregateValue((rIndex[0]).index, (rIndex[1]).indexObject, mPos, aggregate);
5214
+ totalValues[valueContent[i]] = this.getAggregateValue((rIndex[0]).index, (rIndex[1]).indexObject, mPos, aggregate, i === 0 ? false : true);
5170
5215
  i++;
5171
5216
  }
5172
5217
  var val_1 = ((totalValues.cVal) * (totalValues.gTotalVal)) / ((totalValues.rTotalVal) * (totalValues.cTotalVal));
@@ -5187,7 +5232,7 @@ var PivotEngine = /** @__PURE__ @class */ (function () {
5187
5232
  var i = 0;
5188
5233
  for (var _a = 0, gTotalIndex_2 = gTotalIndex; _a < gTotalIndex_2.length; _a++) {
5189
5234
  var rIndex = gTotalIndex_2[_a];
5190
- totalValues[valueContent[i]] = this.getAggregateValue((rIndex[0]).index, (rIndex[1]).indexObject, mPos, aggregate);
5235
+ totalValues[valueContent[i]] = this.getAggregateValue((rIndex[0]).index, (rIndex[1]).indexObject, mPos, aggregate, i === 0 ? false : true);
5191
5236
  i++;
5192
5237
  }
5193
5238
  var val_2 = ((totalValues.cVal) / (totalValues.gTotalVal));
@@ -5198,7 +5243,7 @@ var PivotEngine = /** @__PURE__ @class */ (function () {
5198
5243
  }
5199
5244
  break;
5200
5245
  default:
5201
- var val = this.getAggregateValue(rows[rln].index, columns[cln].indexObject, mPos, aggregate);
5246
+ var val = this.getAggregateValue(rows[rln].index, columns[cln].indexObject, mPos, aggregate, false);
5202
5247
  value = (rows[rln].members.length > 0 && rows[rln].hasChild && rows[rln].isDrilled && ((!isNullOrUndefined(rows[rln].showSubTotals) && !rows[rln].showSubTotals) ||
5203
5248
  !this.showSubTotals || !this.showRowSubTotals)) ? undefined : val;
5204
5249
  actualValue = val;
@@ -5209,7 +5254,7 @@ var PivotEngine = /** @__PURE__ @class */ (function () {
5209
5254
  row: rows[rln],
5210
5255
  column: columns[cln],
5211
5256
  value: value,
5212
- cellSets: this.getCellSet(this.rawIndexObject),
5257
+ cellSets: this.getValueCellInfo ? this.getCellSet(this.rawIndexObject) : [],
5213
5258
  rowCellType: (rows[rln].hasChild && rows[rln].isDrilled ? 'subTotal' : rows[rln].type === 'grand sum' ? 'grandTotal' : 'value'),
5214
5259
  columnCellType: (columns[cln].hasChild && columns[cln].isDrilled ? 'subTotal' : columns[cln].type === 'grand sum' ? 'grandTotal' : 'value'),
5215
5260
  aggregateType: aggregate,
@@ -5549,7 +5594,7 @@ var PivotEngine = /** @__PURE__ @class */ (function () {
5549
5594
  }
5550
5595
  };
5551
5596
  /* eslint-disable */
5552
- PivotEngine.prototype.getAggregateValue = function (rowIndex, columnIndex, value, type) {
5597
+ PivotEngine.prototype.getAggregateValue = function (rowIndex, columnIndex, value, type, isGrandTotal) {
5553
5598
  //rowIndex = rowIndex.sort();
5554
5599
  //columnIndex = columnIndex.sort();
5555
5600
  var rlt = rowIndex.length;
@@ -5728,7 +5773,7 @@ var PivotEngine = /** @__PURE__ @class */ (function () {
5728
5773
  var value_1 = aggregateField[aggregatedValue.formula];
5729
5774
  if (value_1 === undefined) {
5730
5775
  var type_1 = aggregatedValue.type;
5731
- value_1 = this.getAggregateValue(rowIndex, columnIndex, aggregatedValue.index, type_1);
5776
+ value_1 = this.getAggregateValue(rowIndex, columnIndex, aggregatedValue.index, type_1, false);
5732
5777
  aggregateField[aggregatedValue.formula] = value_1;
5733
5778
  }
5734
5779
  actualFormula = (actualFormula).replace(aggregatedValue.formula, String(value_1));
@@ -5742,7 +5787,9 @@ var PivotEngine = /** @__PURE__ @class */ (function () {
5742
5787
  while (rowIndex[ri] !== undefined) {
5743
5788
  if (columnIndex[rowIndex[ri]] !== undefined) {
5744
5789
  isValueExist = true;
5745
- this.rawIndexObject[rowIndex[ri]] = rowIndex[ri];
5790
+ if (!isGrandTotal) {
5791
+ this.rawIndexObject[rowIndex[ri]] = rowIndex[ri];
5792
+ }
5746
5793
  //let cIndx: number = isLeastLevel ? columnIndex.splice(columnIndex.indexOf(rowIndex[ri]), 1)[0] : rowIndex[ri];
5747
5794
  var currentVal = this.valueMatrix[rowIndex[ri]][value];
5748
5795
  if (isNullOrUndefined(cellValue) && isNullOrUndefined(currentVal)) {
@@ -6046,6 +6093,10 @@ var uiUpdate = 'ui-update';
6046
6093
  /** @hidden */
6047
6094
  var scroll = 'scroll';
6048
6095
  /** @hidden */
6096
+ var verticalScroll = 'vertical-scroll';
6097
+ /** @hidden */
6098
+ var horizontalScroll = 'horizontal-scroll';
6099
+ /** @hidden */
6049
6100
  var contentReady = 'content-ready';
6050
6101
  /** @hidden */
6051
6102
  var dataReady = 'data-ready';
@@ -6245,6 +6296,10 @@ var windowResized = 'Window resized';
6245
6296
  var recordUpdated = 'Records updated';
6246
6297
  /** @hidden */
6247
6298
  var drillThroughClosed = 'Drill-through closed';
6299
+ /** @hidden */
6300
+ var verticalScrolled = 'Vertically scrolled';
6301
+ /** @hidden */
6302
+ var horizontalScrolled = 'Horizontally scrolled';
6248
6303
 
6249
6304
  /**
6250
6305
  * CSS Constants
@@ -6291,12 +6346,26 @@ var OLAP_FIELD_LIST_CLASS = 'e-olap-field-list-tree';
6291
6346
  /** @hidden */
6292
6347
  var FIELD_LIST_TREE_CLASS = 'e-field-list-tree';
6293
6348
  /** @hidden */
6349
+ var FIELD_LIST_TREE_OUTER_DIV_CLASS = 'e-field-list-tree-outer-div';
6350
+ /** @hidden */
6351
+ var FIELD_LIST_TREE_OUTER_DIV_SEARCH_CLASS = 'e-field-list-tree-outer-div-searchMode';
6352
+ /** @hidden */
6353
+ var FIELD_LIST_SEARCH_MODE_CLASS = 'e-search-mode';
6354
+ /** @hidden */
6294
6355
  var FIELD_HEADER_CLASS = 'e-field-header';
6295
6356
  /** @hidden */
6357
+ var FIELD_HEADER_CONTAINER_CLASS = 'e-field-header-container';
6358
+ /** @hidden */
6296
6359
  var FIELD_LIST_TITLE_CLASS = 'e-field-list-title';
6297
6360
  /** @hidden */
6298
6361
  var FIELD_LIST_TITLE_CONTENT_CLASS = 'e-title-content';
6299
6362
  /** @hidden */
6363
+ var FIELD_LIST_SEARCH_CLASS = 'e-field-list-search';
6364
+ /** @hidden */
6365
+ var FIELD_LIST_SEARCH_INPUT_CLASS = 'e-field-list-search-input';
6366
+ /** @hidden */
6367
+ var FIELD_LIST_SEARCH_ICON_CLASS = 'e-field-list-search-icon';
6368
+ /** @hidden */
6300
6369
  var FIELD_LIST_FOOTER_CLASS = 'e-field-list-footer';
6301
6370
  /** @hidden */
6302
6371
  var CALCULATED_FIELD_CLASS = 'e-calculated-field';
@@ -6607,6 +6676,8 @@ var TREEVIEW = 'e-pivot-treeview';
6607
6676
  /** @hidden */
6608
6677
  var TREEVIEWOUTER = 'e-pivot-treeview-outer';
6609
6678
  /** @hidden */
6679
+ var TREE_CONTAINER = 'e-treeContainer';
6680
+ /** @hidden */
6610
6681
  var CALCCANCELBTN = 'e-pivot-cancel-button';
6611
6682
  /** @hidden */
6612
6683
  var CALCADDBTN = 'e-pivot-add-button';
@@ -7087,13 +7158,13 @@ var AggregateMenu = /** @__PURE__ @class */ (function () {
7087
7158
  buttons: [
7088
7159
  {
7089
7160
  click: this.updateValueSettings.bind(this),
7090
- buttonModel: { cssClass: OK_BUTTON_CLASS, content: this.parent.localeObj.getConstant('ok'), isPrimary: true }
7161
+ buttonModel: { cssClass: OK_BUTTON_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''), content: this.parent.localeObj.getConstant('ok'), isPrimary: true }
7091
7162
  },
7092
7163
  {
7093
7164
  click: function () {
7094
7165
  _this.valueDialog.hide();
7095
7166
  },
7096
- buttonModel: { cssClass: CANCEL_BUTTON_CLASS, content: this.parent.localeObj.getConstant('cancel') }
7167
+ buttonModel: { cssClass: CANCEL_BUTTON_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''), content: this.parent.localeObj.getConstant('cancel') }
7097
7168
  }
7098
7169
  ],
7099
7170
  closeOnEscape: (this.parent.getModuleName() === 'pivotfieldlist' && this.parent.renderMode === 'Popup') ? false : true,
@@ -7251,7 +7322,8 @@ var AggregateMenu = /** @__PURE__ @class */ (function () {
7251
7322
  // floatLabelType: 'Auto',
7252
7323
  enableRtl: this.parent.enableRtl,
7253
7324
  locale: this.parent.locale,
7254
- value: fieldCaption, width: '100%'
7325
+ value: fieldCaption, width: '100%',
7326
+ cssClass: this.parent.cssClass
7255
7327
  });
7256
7328
  inputObj1.isStringTemplate = true;
7257
7329
  inputObj1.appendTo(inputField1);
@@ -7730,6 +7802,9 @@ var Render = /** @__PURE__ @class */ (function () {
7730
7802
  /* eslint-disable */
7731
7803
  Render.prototype.contextMenuOpen = function (args) {
7732
7804
  var _this = this;
7805
+ if (args.element && this.parent.cssClass) {
7806
+ addClass([args.element.parentElement], this.parent.cssClass);
7807
+ }
7733
7808
  var _loop_1 = function (item) {
7734
7809
  var cellTarget = this_1.parent.lastCellClicked;
7735
7810
  var elem = null;
@@ -9302,8 +9377,8 @@ var Render = /** @__PURE__ @class */ (function () {
9302
9377
  args.value = this.parent.exportType === 'Excel' ? null : '';
9303
9378
  }
9304
9379
  else {
9305
- var aggMatrix = this.parent.engineModule.aggregatedValueMatrix;
9306
- if (aggMatrix[pivotValue.rowIndex] && aggMatrix[pivotValue.rowIndex][pivotValue.colIndex]) {
9380
+ var aggMatrix = this.parent.dataType === 'pivot' && this.parent.engineModule ? this.parent.engineModule.aggregatedValueMatrix : undefined;
9381
+ if (aggMatrix && aggMatrix[pivotValue.rowIndex] && aggMatrix[pivotValue.rowIndex][pivotValue.colIndex]) {
9307
9382
  args.value = aggMatrix[pivotValue.rowIndex][pivotValue.colIndex];
9308
9383
  }
9309
9384
  else {
@@ -9654,6 +9729,8 @@ var EventBase = /** @__PURE__ @class */ (function () {
9654
9729
  * @hidden
9655
9730
  */
9656
9731
  function EventBase(parent) {
9732
+ /** @hidden */
9733
+ this.searchListItem = [];
9657
9734
  this.parent = parent;
9658
9735
  }
9659
9736
  /**
@@ -9750,6 +9827,15 @@ var EventBase = /** @__PURE__ @class */ (function () {
9750
9827
  /* eslint-disable */
9751
9828
  var membersInfo = fieldInfo && fieldInfo.membersOrder ?
9752
9829
  fieldInfo.membersOrder.slice() : [];
9830
+ var outOfRange = void 0;
9831
+ if (members[0].actualText === 'Out of Range') {
9832
+ outOfRange = members[0];
9833
+ members.splice(0, 1);
9834
+ }
9835
+ else if (members[members.length - 1].actualText === 'Out of Range') {
9836
+ outOfRange = members[members.length - 1];
9837
+ members.splice(members.length - 1, 1);
9838
+ }
9753
9839
  var sortDetails = {
9754
9840
  fieldName: fieldName,
9755
9841
  sortOrder: fieldInfo.sort,
@@ -9771,6 +9857,24 @@ var EventBase = /** @__PURE__ @class */ (function () {
9771
9857
  isInclude = this.isValidFilterItemsAvail(fieldName, filterObj) && filterObj.type === 'Include' ? true : false;
9772
9858
  filterItems = filterObj.items ? filterObj.items : [];
9773
9859
  }
9860
+ if (outOfRange) {
9861
+ if (sortDetails.sortOrder === 'Ascending') {
9862
+ if (members[members.length - 1].actualText === 'Grand Total') {
9863
+ members.splice(members.length - 1, 0, outOfRange);
9864
+ }
9865
+ else {
9866
+ members.splice(members.length, 0, outOfRange);
9867
+ }
9868
+ }
9869
+ else {
9870
+ if (members[0].actualText === 'Grand Total') {
9871
+ members.splice(1, 0, outOfRange);
9872
+ }
9873
+ else {
9874
+ members.splice(0, 0, outOfRange);
9875
+ }
9876
+ }
9877
+ }
9774
9878
  if (isHeaderSortByDefault) {
9775
9879
  var copyOrder = [];
9776
9880
  for (var m = 0, n = 0; m < members.length; m++) {
@@ -9810,16 +9914,21 @@ var EventBase = /** @__PURE__ @class */ (function () {
9810
9914
  var isItemAvail = false;
9811
9915
  var filterTypes = ['Include', 'Exclude'];
9812
9916
  if (filterObj && filterTypes.indexOf(filterObj.type) >= 0) {
9813
- var engineModule = this.parent.engineModule;
9814
- var field = engineModule.fieldList[fieldName];
9815
- var members = (engineModule.formatFields[fieldName] &&
9816
- (['date', 'dateTime', 'time'].indexOf(engineModule.formatFields[fieldName].type) > -1)) ?
9817
- field.formattedMembers : field.members;
9818
- for (var _i = 0, _a = filterObj.items; _i < _a.length; _i++) {
9819
- var item = _a[_i];
9820
- if (members[item]) {
9821
- isItemAvail = true;
9822
- break;
9917
+ if (filterObj.type === 'Include' && filterObj.items.length === 0) {
9918
+ isItemAvail = true;
9919
+ }
9920
+ else {
9921
+ var engineModule = this.parent.engineModule;
9922
+ var field = engineModule.fieldList[fieldName];
9923
+ var members = (engineModule.formatFields[fieldName] &&
9924
+ (['date', 'dateTime', 'time'].indexOf(engineModule.formatFields[fieldName].type) > -1)) ?
9925
+ field.formattedMembers : field.members;
9926
+ for (var _i = 0, _a = filterObj.items; _i < _a.length; _i++) {
9927
+ var item = _a[_i];
9928
+ if (members[item]) {
9929
+ isItemAvail = true;
9930
+ break;
9931
+ }
9823
9932
  }
9824
9933
  }
9825
9934
  }
@@ -10066,6 +10175,7 @@ var EventBase = /** @__PURE__ @class */ (function () {
10066
10175
  else {
10067
10176
  treeObj.expandAll(undefined, undefined, true);
10068
10177
  }
10178
+ this.searchListItem = searchList;
10069
10179
  }
10070
10180
  else {
10071
10181
  this.parent.searchTreeItems = [];
@@ -10752,7 +10862,7 @@ var ErrorDialog = /** @__PURE__ @class */ (function () {
10752
10862
  buttons: [
10753
10863
  {
10754
10864
  click: this.closeErrorDialog.bind(this),
10755
- buttonModel: { cssClass: OK_BUTTON_CLASS, content: this.parent.localeObj.getConstant('ok'), isPrimary: true }
10865
+ buttonModel: { cssClass: OK_BUTTON_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''), content: this.parent.localeObj.getConstant('ok'), isPrimary: true }
10756
10866
  }
10757
10867
  ],
10758
10868
  cssClass: this.parent.cssClass,
@@ -10828,19 +10938,19 @@ var FilterDialog = /** @__PURE__ @class */ (function () {
10828
10938
  buttons: [
10829
10939
  {
10830
10940
  buttonModel: {
10831
- cssClass: 'e-clear-filter-button' + (this.allowExcelLikeFilter ? '' : ' ' + ICON_DISABLE),
10941
+ cssClass: 'e-clear-filter-button' + (this.allowExcelLikeFilter ? '' : ' ' + ICON_DISABLE) + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
10832
10942
  iconCss: 'e-icons e-clear-filter-icon', enableRtl: this.parent.enableRtl,
10833
10943
  content: this.parent.localeObj.getConstant('clearFilter'), disabled: (this.filterObject ? false : true)
10834
10944
  }
10835
10945
  },
10836
10946
  {
10837
10947
  buttonModel: {
10838
- cssClass: OK_BUTTON_CLASS, content: this.parent.localeObj.getConstant('ok'), isPrimary: true
10948
+ cssClass: OK_BUTTON_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''), content: this.parent.localeObj.getConstant('ok'), isPrimary: true
10839
10949
  }
10840
10950
  },
10841
10951
  {
10842
10952
  click: this.closeFilterDialog.bind(this),
10843
- buttonModel: { cssClass: CANCEL_BUTTON_CLASS, content: this.parent.localeObj.getConstant('cancel') }
10953
+ buttonModel: { cssClass: CANCEL_BUTTON_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''), content: this.parent.localeObj.getConstant('cancel') }
10844
10954
  }
10845
10955
  ],
10846
10956
  closeOnEscape: this.parent.renderMode === 'Popup' ? false : true,
@@ -10942,7 +11052,7 @@ var FilterDialog = /** @__PURE__ @class */ (function () {
10942
11052
  this.editorSearch = new MaskedTextBox({
10943
11053
  placeholder: this.parent.localeObj.getConstant('search') + ' ' + '&#8220' + filterCaption + '&#8220',
10944
11054
  enableRtl: this.parent.enableRtl,
10945
- cssClass: EDITOR_SEARCH_CLASS,
11055
+ cssClass: EDITOR_SEARCH_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
10946
11056
  showClearButton: true,
10947
11057
  change: function (e) {
10948
11058
  if (_this.parent.dataType === 'olap') {
@@ -10980,7 +11090,8 @@ var FilterDialog = /** @__PURE__ @class */ (function () {
10980
11090
  nodeSelected: function (args) {
10981
11091
  removeClass([args.node], 'e-active');
10982
11092
  args.cancel = true;
10983
- }
11093
+ },
11094
+ cssClass: this.parent.cssClass
10984
11095
  });
10985
11096
  this.allMemberSelect.isStringTemplate = true;
10986
11097
  if (!isNullOrUndefined(this.parent.currentTreeItems)) {
@@ -11005,7 +11116,8 @@ var FilterDialog = /** @__PURE__ @class */ (function () {
11005
11116
  removeClass([args.node], 'e-active');
11006
11117
  args.cancel = true;
11007
11118
  },
11008
- expandOn: 'None'
11119
+ expandOn: 'None',
11120
+ cssClass: this.parent.cssClass
11009
11121
  });
11010
11122
  this.memberTreeView.isStringTemplate = true;
11011
11123
  this.memberTreeView.appendTo(treeViewContainer);
@@ -11016,7 +11128,7 @@ var FilterDialog = /** @__PURE__ @class */ (function () {
11016
11128
  if (this.parent.dataType === 'pivot' && treeData && treeData.length > 0) {
11017
11129
  var sortOrder = this.parent.engineModule.fieldList[fieldName].sort;
11018
11130
  var sortWrapper = createElement('div', {
11019
- className: FILTER_SORT_CLASS + ' e-btn-group' + (this.parent.enableRtl ? ' ' + RTL : ''),
11131
+ className: FILTER_SORT_CLASS + ' e-btn-group' + (this.parent.enableRtl ? ' ' + RTL : '') + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
11020
11132
  id: this.parent.element.id + '_Member_Sort'
11021
11133
  });
11022
11134
  this.parent.element.appendChild(sortWrapper);
@@ -11029,11 +11141,11 @@ var FilterDialog = /** @__PURE__ @class */ (function () {
11029
11141
  id: this.parent.element.id + '_Sort_Descend', attrs: { 'type': 'button' }
11030
11142
  });
11031
11143
  var sortBtnElement = new Button({
11032
- iconCss: ICON + ' ' + SORT_ASCEND_ICON_CLASS, enableRtl: this.parent.enableRtl
11144
+ iconCss: ICON + ' ' + SORT_ASCEND_ICON_CLASS, enableRtl: this.parent.enableRtl, cssClass: this.parent.cssClass
11033
11145
  });
11034
11146
  sortBtnElement.appendTo(sortAscendElement);
11035
11147
  sortBtnElement = new Button({
11036
- iconCss: ICON + ' ' + SORT_DESCEND_ICON_CLASS, enableRtl: this.parent.enableRtl
11148
+ iconCss: ICON + ' ' + SORT_DESCEND_ICON_CLASS, enableRtl: this.parent.enableRtl, cssClass: this.parent.cssClass
11037
11149
  });
11038
11150
  sortBtnElement.appendTo(sortDescendElement);
11039
11151
  sortWrapper.appendChild(sortAscendElement);
@@ -11380,7 +11492,8 @@ var FilterDialog = /** @__PURE__ @class */ (function () {
11380
11492
  items: items,
11381
11493
  height: '100%',
11382
11494
  selectedItem: selectedIndex,
11383
- enableRtl: this.parent.enableRtl
11495
+ enableRtl: this.parent.enableRtl,
11496
+ cssClass: this.parent.cssClass
11384
11497
  });
11385
11498
  this.tabObj.isStringTemplate = true;
11386
11499
  this.tabObj.appendTo(wrapper);
@@ -11702,7 +11815,9 @@ var FilterDialog = /** @__PURE__ @class */ (function () {
11702
11815
  else {
11703
11816
  return;
11704
11817
  }
11705
- }, width: '100%'
11818
+ },
11819
+ width: '100%',
11820
+ cssClass: this.parent.cssClass
11706
11821
  });
11707
11822
  var inputObj2_2 = new NumericTextBox({
11708
11823
  placeholder: this.parent.localeObj.getConstant('enterValue'),
@@ -11721,7 +11836,9 @@ var FilterDialog = /** @__PURE__ @class */ (function () {
11721
11836
  else {
11722
11837
  return;
11723
11838
  }
11724
- }, width: '100%'
11839
+ },
11840
+ width: '100%',
11841
+ cssClass: this.parent.cssClass
11725
11842
  });
11726
11843
  inputObj1_2.isStringTemplate = true;
11727
11844
  inputObj1_2.appendTo(inputDiv1);
@@ -11742,7 +11859,9 @@ var FilterDialog = /** @__PURE__ @class */ (function () {
11742
11859
  else {
11743
11860
  return;
11744
11861
  }
11745
- }, width: '100%'
11862
+ },
11863
+ width: '100%',
11864
+ cssClass: this.parent.cssClass
11746
11865
  });
11747
11866
  var inputObj2_3 = new MaskedTextBox({
11748
11867
  placeholder: this.parent.localeObj.getConstant('enterValue'),
@@ -11757,7 +11876,9 @@ var FilterDialog = /** @__PURE__ @class */ (function () {
11757
11876
  else {
11758
11877
  return;
11759
11878
  }
11760
- }, width: '100%'
11879
+ },
11880
+ width: '100%',
11881
+ cssClass: this.parent.cssClass
11761
11882
  });
11762
11883
  inputObj1_3.isStringTemplate = true;
11763
11884
  inputObj1_3.appendTo(inputDiv1);
@@ -13631,8 +13752,12 @@ var VirtualScroll$1 = /** @__PURE__ @class */ (function () {
13631
13752
  };
13632
13753
  };
13633
13754
  VirtualScroll$$1.prototype.update = function (mHdr, mCont, top, left, e) {
13755
+ var _this = this;
13634
13756
  this.parent.isScrolling = true;
13635
13757
  var engine = this.parent.dataType === 'pivot' ? this.parent.engineModule : this.parent.olapEngineModule;
13758
+ var args = {
13759
+ dataSourceSettings: PivotUtil.getClonedDataSourceSettings(this.parent.dataSourceSettings)
13760
+ };
13636
13761
  if (this.parent.pageSettings && engine.pageSettings) {
13637
13762
  if (this.direction === 'vertical') {
13638
13763
  var rowValues = this.parent.dataType === 'pivot' ?
@@ -13644,25 +13769,29 @@ var VirtualScroll$1 = /** @__PURE__ @class */ (function () {
13644
13769
  // this.parent.hideWaitingPopup();
13645
13770
  return;
13646
13771
  }
13772
+ this.parent.actionObj.actionName = verticalScroll;
13773
+ this.parent.actionBeginMethod();
13647
13774
  this.parent.showWaitingPopup();
13648
13775
  this.parent.scrollPosObject.vertical = section;
13649
13776
  engine.pageSettings.rowCurrentPage = section > 1 ? section : 1;
13650
- var rowStartPos = 0;
13651
- if (this.parent.dataType === 'pivot') {
13652
- if (this.parent.dataSourceSettings.mode === 'Server') {
13653
- this.parent.getEngine('onScroll', null, null, null, null, null, null);
13777
+ var rowStartPos_1 = 0;
13778
+ this.parent.trigger(enginePopulating, args, function (observedArgs) {
13779
+ if (_this.parent.dataType === 'pivot') {
13780
+ if (_this.parent.dataSourceSettings.mode === 'Server') {
13781
+ _this.parent.getEngine('onScroll', null, null, null, null, null, null);
13782
+ }
13783
+ else {
13784
+ _this.parent.engineModule.generateGridData(_this.parent.dataSourceSettings, true, _this.parent.engineModule.headerCollection);
13785
+ rowStartPos_1 = _this.parent.engineModule.rowStartPos;
13786
+ }
13654
13787
  }
13655
13788
  else {
13656
- this.parent.engineModule.generateGridData(this.parent.dataSourceSettings, true, this.parent.engineModule.headerCollection);
13657
- rowStartPos = this.parent.engineModule.rowStartPos;
13789
+ _this.parent.olapEngineModule.scrollPage('scroll');
13790
+ rowStartPos_1 = _this.parent.olapEngineModule.pageRowStartPos;
13658
13791
  }
13659
- }
13660
- else {
13661
- this.parent.olapEngineModule.scrollPage('scroll');
13662
- rowStartPos = this.parent.olapEngineModule.pageRowStartPos;
13663
- }
13664
- this.parent.pivotValues = engine.pivotValues;
13665
- var exactPage = Math.ceil(rowStartPos / (this.parent.pageSettings.rowSize * rowValues));
13792
+ _this.enginePopulatedEventMethod(engine);
13793
+ });
13794
+ var exactPage = Math.ceil(rowStartPos_1 / (this.parent.pageSettings.rowSize * rowValues));
13666
13795
  var pos = exactSize * exactPage -
13667
13796
  (engine.rowFirstLvl * rowValues * this.parent.gridSettings.rowHeight);
13668
13797
  this.parent.scrollPosObject.verticalSection = pos;
@@ -13677,32 +13806,51 @@ var VirtualScroll$1 = /** @__PURE__ @class */ (function () {
13677
13806
  // this.parent.hideWaitingPopup();
13678
13807
  return;
13679
13808
  }
13809
+ this.parent.actionObj.actionName = horizontalScroll;
13810
+ this.parent.actionBeginMethod();
13680
13811
  this.parent.showWaitingPopup();
13681
- var pivot = this.parent;
13682
- pivot.scrollPosObject.horizontal = section;
13812
+ var pivot_1 = this.parent;
13813
+ pivot_1.scrollPosObject.horizontal = section;
13683
13814
  engine.pageSettings.columnCurrentPage = section > 1 ? section : 1;
13684
- var colStartPos = 0;
13685
- if (pivot.dataType === 'pivot') {
13686
- if (this.parent.dataSourceSettings.mode === 'Server') {
13687
- this.parent.getEngine('onScroll', null, null, null, null, null, null);
13815
+ var colStartPos_1 = 0;
13816
+ this.parent.trigger(enginePopulating, args, function (observedArgs) {
13817
+ if (pivot_1.dataType === 'pivot') {
13818
+ if (_this.parent.dataSourceSettings.mode === 'Server') {
13819
+ _this.parent.getEngine('onScroll', null, null, null, null, null, null);
13820
+ }
13821
+ else {
13822
+ pivot_1.engineModule.generateGridData(pivot_1.dataSourceSettings, true, pivot_1.engineModule.headerCollection);
13823
+ colStartPos_1 = pivot_1.engineModule.colStartPos;
13824
+ }
13688
13825
  }
13689
13826
  else {
13690
- pivot.engineModule.generateGridData(pivot.dataSourceSettings, true, pivot.engineModule.headerCollection);
13691
- colStartPos = pivot.engineModule.colStartPos;
13827
+ pivot_1.olapEngineModule.scrollPage('scroll');
13828
+ colStartPos_1 = pivot_1.olapEngineModule.pageColStartPos;
13692
13829
  }
13693
- }
13694
- else {
13695
- pivot.olapEngineModule.scrollPage('scroll');
13696
- colStartPos = pivot.olapEngineModule.pageColStartPos;
13697
- }
13698
- pivot.pivotValues = engine.pivotValues;
13699
- var exactPage = Math.ceil(colStartPos / (pivot.pageSettings.columnSize * colValues));
13830
+ _this.enginePopulatedEventMethod(engine);
13831
+ });
13832
+ var exactPage = Math.ceil(colStartPos_1 / (pivot_1.pageSettings.columnSize * colValues));
13700
13833
  var pos = exactSize * exactPage - (engine.colFirstLvl *
13701
- colValues * pivot.gridSettings.columnWidth);
13702
- pivot.scrollPosObject.horizontalSection = pos;
13834
+ colValues * pivot_1.gridSettings.columnWidth);
13835
+ pivot_1.scrollPosObject.horizontalSection = pos;
13836
+ }
13837
+ this.parent.actionObj.actionName = this.parent.getActionCompleteName();
13838
+ if (this.parent.actionObj.actionName) {
13839
+ this.parent.actionCompleteMethod();
13703
13840
  }
13704
13841
  }
13705
13842
  };
13843
+ VirtualScroll$$1.prototype.enginePopulatedEventMethod = function (engine, control) {
13844
+ var _this = this;
13845
+ var pivot = control ? control : this.parent;
13846
+ var eventArgs = {
13847
+ dataSourceSettings: pivot.dataSourceSettings,
13848
+ pivotValues: pivot.pivotValues
13849
+ };
13850
+ pivot.trigger(enginePopulated, eventArgs, function (observedArgs) {
13851
+ _this.parent.pivotValues = engine.pivotValues;
13852
+ });
13853
+ };
13706
13854
  VirtualScroll$$1.prototype.setPageXY = function () {
13707
13855
  var _this = this;
13708
13856
  return function (e) {
@@ -13951,9 +14099,8 @@ var DrillThroughDialog = /** @__PURE__ @class */ (function () {
13951
14099
  }
13952
14100
  var actualText = eventArgs.currentCell.actualText.toString();
13953
14101
  try {
13954
- if (this.parent.currentView === 'Table' && this.engine.fieldList[actualText].aggregateType !== 'Count' && this.parent.editSettings.allowInlineEditing &&
13955
- this.parent.editSettings.allowEditing && eventArgs.rawData.length === 1 &&
13956
- this.engine.fieldList[actualText].aggregateType !== 'DistinctCount' && typeof (eventArgs.rawData[0][actualText]) !== 'string') {
14102
+ if (this.parent.currentView === 'Table' && this.parent.editSettings.allowInlineEditing &&
14103
+ this.parent.editSettings.allowEditing && eventArgs.rawData.length === 1) {
13957
14104
  this.parent.actionObj.actionName = editRecord;
13958
14105
  if (this.parent.actionBeginMethod()) {
13959
14106
  return;
@@ -14116,9 +14263,9 @@ var DrillThroughDialog = /** @__PURE__ @class */ (function () {
14116
14263
  var previousData = this.frameHeaderWithKeys(eventArgs.rawData[eventArgs.rawData.length - 1]);
14117
14264
  var currentData = eventArgs.rawData[eventArgs.rawData.length - 1];
14118
14265
  /* eslint-enable */
14119
- if (eventArgs.currentCell.actualText in previousData) {
14120
- currentData[eventArgs.currentCell.actualText] = eventArgs.currentCell.actualValue;
14121
- }
14266
+ // if (eventArgs.currentCell.actualText in previousData) {
14267
+ // currentData[eventArgs.currentCell.actualText] = eventArgs.currentCell.actualValue;
14268
+ // }
14122
14269
  var actionInfo = {
14123
14270
  editInfo: { type: 'Inline editing', action: 'update', data: this.gridData }
14124
14271
  };
@@ -14129,6 +14276,7 @@ var DrillThroughDialog = /** @__PURE__ @class */ (function () {
14129
14276
  enabled: true,
14130
14277
  format: '####.##',
14131
14278
  locale: this.parent.locale,
14279
+ cssClass: this.parent.cssClass,
14132
14280
  change: function () {
14133
14281
  var textBoxValue = _this.numericTextBox.value;
14134
14282
  var indexValue = eventArgs.currentCell.indexObject[indexObject];
@@ -14300,10 +14448,10 @@ var DrillThroughDialog = /** @__PURE__ @class */ (function () {
14300
14448
  this.drillThroughGrid.columns.push({
14301
14449
  headerText: this.parent.localeObj.getConstant('manageRecords'), width: 160, showInColumnChooser: false,
14302
14450
  commands: [
14303
- { type: 'Edit', buttonOption: { iconCss: ' e-icons e-edit', cssClass: 'e-flat' } },
14304
- { type: 'Delete', buttonOption: { iconCss: 'e-icons e-delete', cssClass: 'e-flat' } },
14305
- { type: 'Save', buttonOption: { iconCss: 'e-icons e-update', cssClass: 'e-flat' } },
14306
- { type: 'Cancel', buttonOption: { iconCss: 'e-icons e-cancel-icon', cssClass: 'e-flat' } }
14451
+ { type: 'Edit', buttonOption: { iconCss: ' e-icons e-edit', cssClass: 'e-flat' + (this.parent.cssClass ? (' ' + this.parent.cssClass) : '') } },
14452
+ { type: 'Delete', buttonOption: { iconCss: 'e-icons e-delete', cssClass: 'e-flat' + (this.parent.cssClass ? (' ' + this.parent.cssClass) : '') } },
14453
+ { type: 'Save', buttonOption: { iconCss: 'e-icons e-update', cssClass: 'e-flat' + (this.parent.cssClass ? (' ' + this.parent.cssClass) : '') } },
14454
+ { type: 'Cancel', buttonOption: { iconCss: 'e-icons e-cancel-icon', cssClass: 'e-flat' + (this.parent.cssClass ? (' ' + this.parent.cssClass) : '') } }
14307
14455
  ]
14308
14456
  });
14309
14457
  }
@@ -14567,7 +14715,7 @@ var DrillThrough = /** @__PURE__ @class */ (function () {
14567
14715
  var valueCaption = '';
14568
14716
  var aggType = '';
14569
14717
  var rawData = [];
14570
- if (pivotValue.rowHeaders !== undefined && pivotValue.columnHeaders !== undefined && !isNullOrUndefined(pivotValue.value)) {
14718
+ if (pivotValue.rowHeaders !== undefined && pivotValue.columnHeaders !== undefined) {
14571
14719
  if (this.parent.dataType === 'olap') {
14572
14720
  var tupleInfo = void 0;
14573
14721
  if (this.parent.dataSourceSettings.valueAxis === 'row') {
@@ -14640,7 +14788,7 @@ var DrillThrough = /** @__PURE__ @class */ (function () {
14640
14788
  }
14641
14789
  }
14642
14790
  if (!isNullOrUndefined(rawData[k])) {
14643
- var calculatedFeildValue = this.parent.engineModule.getAggregateValue([Number(indexArray[k])], colIndex, indexValue, 'calculatedfield');
14791
+ var calculatedFeildValue = this.parent.engineModule.getAggregateValue([Number(indexArray[k])], colIndex, indexValue, 'calculatedfield', false);
14644
14792
  rawData[k][this.parent.dataSourceSettings.calculatedFieldSettings[i].name] = (isNaN(calculatedFeildValue) && isNullOrUndefined(calculatedFeildValue)) ? '#DIV/0!' : calculatedFeildValue;
14645
14793
  }
14646
14794
  }
@@ -15124,6 +15272,9 @@ var PivotChart = /** @__PURE__ @class */ (function () {
15124
15272
  if (this.persistSettings.chartSeries && this.persistSettings.chartSeries.emptyPointSettings) {
15125
15273
  currentSeries.emptyPointSettings = this.persistSettings.chartSeries.emptyPointSettings;
15126
15274
  }
15275
+ if (!currentSeries.emptyPointSettings) {
15276
+ currentSeries.emptyPointSettings = { mode: 'Zero' };
15277
+ }
15127
15278
  this.chartSeries = this.chartSeries.concat(currentSeries);
15128
15279
  }
15129
15280
  }
@@ -16959,7 +17110,7 @@ var EmptyPointSettings = /** @__PURE__ @class */ (function (_super) {
16959
17110
  Complex({ color: 'transparent', width: 0 }, Border)
16960
17111
  ], EmptyPointSettings.prototype, "border", void 0);
16961
17112
  __decorate$3([
16962
- Property('Gap')
17113
+ Property('Zero')
16963
17114
  ], EmptyPointSettings.prototype, "mode", void 0);
16964
17115
  return EmptyPointSettings;
16965
17116
  }(ChildProperty));
@@ -17404,7 +17555,7 @@ var PivotChartSeriesEmptyPointSettings = /** @__PURE__ @class */ (function () {
17404
17555
  Complex({ color: 'transparent', width: 0 }, Border)
17405
17556
  ], PivotChartSeriesEmptyPointSettings.prototype, "border", void 0);
17406
17557
  __decorate$3([
17407
- Property('Gap')
17558
+ Property('Zero')
17408
17559
  ], PivotChartSeriesEmptyPointSettings.prototype, "mode", void 0);
17409
17560
  return PivotChartSeriesEmptyPointSettings;
17410
17561
  }());
@@ -18876,7 +19027,7 @@ var MDXQuery = /** @__PURE__ @class */ (function () {
18876
19027
  query = '((' + name + ').levels(0).AllMembers)';
18877
19028
  }
18878
19029
  else {
18879
- query = (dimension.isNamedSet ? '{' + name + '}' : this.isPaging ? name + '.CHILDREN' :
19030
+ query = (dimension.isNamedSet || dimension.isCalculatedField ? '{' + name + '}' : this.isPaging ? name + '.CHILDREN' :
18880
19031
  'DrilldownLevel({' + name + '}' + ((axis === 'rows' || axis === 'columns') ? ',,,INCLUDE_CALC_MEMBERS' : '') + ')');
18881
19032
  }
18882
19033
  return query;
@@ -20818,7 +20969,7 @@ var OlapEngine = /** @__PURE__ @class */ (function () {
20818
20969
  }
20819
20970
  isHeaderSortByDefault = true;
20820
20971
  }
20821
- if (isHeaderSortByDefault) {
20972
+ if (isHeaderSortByDefault && this.getHeaderSortInfo) {
20822
20973
  var copyOrder = [];
20823
20974
  for (var m = 0, n = 0; m < headers.length; m++) {
20824
20975
  if (headers[m].actualText !== 'Grand Total') {
@@ -20859,7 +21010,7 @@ var OlapEngine = /** @__PURE__ @class */ (function () {
20859
21010
  }
20860
21011
  isHeaderSortByDefault = true;
20861
21012
  }
20862
- if (isHeaderSortByDefault) {
21013
+ if (isHeaderSortByDefault && this.getHeaderSortInfo) {
20863
21014
  var copyOrder = [];
20864
21015
  for (var m = 0, n = 0; m < keys.length; m++) {
20865
21016
  if (keys[m] !== 'Grand Total') {
@@ -23427,8 +23578,8 @@ var PivotView = /** @__PURE__ @class */ (function (_super) {
23427
23578
  if (this.showTooltip) {
23428
23579
  if (this.tooltipTemplate) {
23429
23580
  this.tooltip = new Tooltip({
23430
- target: 'td.e-valuescontent' + (this.cssClass ? (' ' + this.cssClass) : ''),
23431
- cssClass: 'e-pivottooltiptemplate',
23581
+ target: 'td.e-valuescontent',
23582
+ cssClass: 'e-pivottooltiptemplate' + (this.cssClass ? (' ' + this.cssClass) : ''),
23432
23583
  showTipPointer: false,
23433
23584
  position: 'BottomRight',
23434
23585
  mouseTrail: true,
@@ -23440,7 +23591,8 @@ var PivotView = /** @__PURE__ @class */ (function (_super) {
23440
23591
  }
23441
23592
  else {
23442
23593
  this.tooltip = new Tooltip({
23443
- target: 'td.e-valuescontent' + (this.cssClass ? (' ' + this.cssClass) : ''),
23594
+ target: 'td.e-valuescontent',
23595
+ cssClass: this.cssClass,
23444
23596
  showTipPointer: false,
23445
23597
  position: 'BottomRight',
23446
23598
  mouseTrail: true,
@@ -23954,10 +24106,10 @@ var PivotView = /** @__PURE__ @class */ (function (_super) {
23954
24106
  this.cellTemplateFn = this.templateParser(this.cellTemplate);
23955
24107
  this.tooltipTemplateFn = this.templateParser(this.tooltipTemplate);
23956
24108
  if (this.spinnerTemplate) {
23957
- createSpinner({ target: this.element, template: this.spinnerTemplate }, this.createElement);
24109
+ createSpinner({ target: this.element, template: this.spinnerTemplate, cssClass: this.cssClass ? this.cssClass : undefined }, this.createElement);
23958
24110
  }
23959
24111
  else {
23960
- createSpinner({ target: this.element }, this.createElement);
24112
+ createSpinner({ target: this.element, cssClass: this.cssClass ? this.cssClass : undefined }, this.createElement);
23961
24113
  }
23962
24114
  var loadArgs = {
23963
24115
  dataSourceSettings: this.dataSourceSettings,
@@ -24367,6 +24519,8 @@ var PivotView = /** @__PURE__ @class */ (function (_super) {
24367
24519
  this.pivotFieldListModule.axisFieldModule.render();
24368
24520
  }
24369
24521
  break;
24522
+ case 'enableFieldSearching':
24523
+ this.pivotFieldListModule.enableFieldSearching = this.enableFieldSearching;
24370
24524
  }
24371
24525
  }
24372
24526
  };
@@ -24624,7 +24778,7 @@ var PivotView = /** @__PURE__ @class */ (function (_super) {
24624
24778
  }
24625
24779
  }
24626
24780
  else {
24627
- pivot.olapEngineModule.renderEngine(pivot.dataSourceSettings, customProperties, pivot.getHeaderSortInfo.bind(pivot));
24781
+ pivot.olapEngineModule.renderEngine(pivot.dataSourceSettings, customProperties, pivot.onHeadersSort ? pivot.getHeaderSortInfo.bind(pivot) : undefined);
24628
24782
  }
24629
24783
  pivot.allowServerDataBinding = false;
24630
24784
  pivot.setProperties({ pivotValues: pivot.olapEngineModule.pivotValues }, true);
@@ -24665,7 +24819,7 @@ var PivotView = /** @__PURE__ @class */ (function (_super) {
24665
24819
  pivot.lastFilterInfo = {};
24666
24820
  }
24667
24821
  else {
24668
- pivot.engineModule.renderEngine(pivot.dataSourceSettings, customProperties, pivot.getValueCellInfo.bind(pivot), pivot.getHeaderSortInfo.bind(pivot));
24822
+ pivot.engineModule.renderEngine(pivot.dataSourceSettings, customProperties, pivot.aggregateCellInfo ? pivot.getValueCellInfo.bind(pivot) : undefined, pivot.onHeadersSort ? pivot.getHeaderSortInfo.bind(pivot) : undefined);
24669
24823
  pivot.allowServerDataBinding = false;
24670
24824
  pivot.setProperties({ pivotValues: pivot.engineModule.pivotValues }, true);
24671
24825
  /* eslint-disable-next-line @typescript-eslint/no-explicit-any */
@@ -25508,6 +25662,9 @@ var PivotView = /** @__PURE__ @class */ (function (_super) {
25508
25662
  this.lastCellClicked = e.target;
25509
25663
  }
25510
25664
  var target = e.target;
25665
+ if (closest(target, '.' + PIVOT_BUTTON_CLASS)) {
25666
+ return;
25667
+ }
25511
25668
  var ele = null;
25512
25669
  var axis = (target.parentElement.classList.contains(ROWSHEADER) || target.classList.contains(ROWSHEADER)) ? 'row' : 'column';
25513
25670
  ele = axis === 'column' ? closest(target, 'th') : closest(target, 'td');
@@ -25941,6 +26098,9 @@ var PivotView = /** @__PURE__ @class */ (function (_super) {
25941
26098
  _this_1.getSelectedCellsPos();
25942
26099
  });
25943
26100
  }
26101
+ else {
26102
+ this.clearSelection(null, e, null, null);
26103
+ }
25944
26104
  };
25945
26105
  PivotView.prototype.rowDeselect = function (ele, e, rowIndex, mode, observedArgs) {
25946
26106
  if (!e.shiftKey && !e.ctrlKey && this.gridSettings.selectionSettings.mode !== 'Both' || this.gridSettings.selectionSettings.type === 'Single') {
@@ -25986,7 +26146,7 @@ var PivotView = /** @__PURE__ @class */ (function (_super) {
25986
26146
  PivotView.prototype.clearSelection = function (ele, e, colIndex, rowIndex) {
25987
26147
  if ((!e.shiftKey && !e.ctrlKey) || this.gridSettings.selectionSettings.type === 'Single') {
25988
26148
  if (this.gridSettings.selectionSettings.mode === 'Cell') {
25989
- if (ele.classList.contains(COLUMNSHEADER)) {
26149
+ if (ele && ele.classList.contains(COLUMNSHEADER)) {
25990
26150
  removeClass(this.element.querySelectorAll(('.' + ROW_CELL_CLASS + '.') + CELL_SELECTED_BGCOLOR), CELL_SELECTED_BGCOLOR);
25991
26151
  }
25992
26152
  else {
@@ -25994,7 +26154,7 @@ var PivotView = /** @__PURE__ @class */ (function (_super) {
25994
26154
  }
25995
26155
  }
25996
26156
  else if (this.gridSettings.selectionSettings.mode === 'Both') {
25997
- if (ele.classList.contains(ROW_CELL_CLASS)) {
26157
+ if (ele && ele.classList.contains(ROW_CELL_CLASS)) {
25998
26158
  for (var _i = 0, _a = [].slice.call(this.element.querySelectorAll('.' + SELECTED_BGCOLOR + ', .' + CELL_SELECTED_BGCOLOR)); _i < _a.length; _i++) {
25999
26159
  var ele_2 = _a[_i];
26000
26160
  // if (Number((ele as HTMLElement).getAttribute('index')) !== rowIndex) {
@@ -26232,7 +26392,7 @@ var PivotView = /** @__PURE__ @class */ (function (_super) {
26232
26392
  _this_1.clonedReport = _this_1.clonedReport ? _this_1.clonedReport : dataSourceSettings;
26233
26393
  }
26234
26394
  if (_this_1.dataSourceSettings.mode !== 'Server') {
26235
- _this_1.engineModule.renderEngine(_this_1.dataSourceSettings, customProperties, _this_1.getValueCellInfo.bind(_this_1), _this_1.getHeaderSortInfo.bind(_this_1));
26395
+ _this_1.engineModule.renderEngine(_this_1.dataSourceSettings, customProperties, _this_1.aggregateCellInfo ? _this_1.getValueCellInfo.bind(_this_1) : undefined, _this_1.onHeadersSort ? _this_1.getHeaderSortInfo.bind(_this_1) : undefined);
26236
26396
  }
26237
26397
  _this_1.allowServerDataBinding = false;
26238
26398
  _this_1.setProperties({ pivotValues: _this_1.engineModule.pivotValues }, true);
@@ -26243,7 +26403,7 @@ var PivotView = /** @__PURE__ @class */ (function (_super) {
26243
26403
  else if (_this_1.dataSourceSettings.providerType === 'SSAS' && _this_1.dataType === 'olap') {
26244
26404
  customProperties.savedFieldList = _this_1.olapEngineModule.fieldList;
26245
26405
  customProperties.savedFieldListData = _this_1.olapEngineModule.fieldListData;
26246
- _this_1.olapEngineModule.renderEngine(_this_1.dataSourceSettings, customProperties, _this_1.getHeaderSortInfo.bind(_this_1));
26406
+ _this_1.olapEngineModule.renderEngine(_this_1.dataSourceSettings, customProperties, _this_1.onHeadersSort ? _this_1.getHeaderSortInfo.bind(_this_1) : undefined);
26247
26407
  _this_1.allowServerDataBinding = false;
26248
26408
  _this_1.setProperties({ pivotValues: _this_1.olapEngineModule.pivotValues }, true);
26249
26409
  delete _this_1.bulkChanges.pivotValues;
@@ -26724,7 +26884,8 @@ var PivotView = /** @__PURE__ @class */ (function (_super) {
26724
26884
  : this.actionObj.actionName == removeRecord ? recordRemoved : (this.actionObj.actionName == pngExport) ? pngExported : (this.actionObj.actionName == jpegExport) ? jpegExported
26725
26885
  : (this.actionObj.actionName == svgExport) ? svgExported : (this.actionObj.actionName == pdfExport) ? pdfExported : (this.actionObj.actionName == csvExport) ? csvExported : (this.actionObj.actionName == excelExport) ? excelExported : this.actionObj.actionName == windowResize ? windowResized
26726
26886
  : this.actionObj.actionName == saveCurrentReport ? reportSaved : (this.actionObj.actionName == addNewReport) ? newReportAdded : (this.actionObj.actionName == saveAsCurrentReport) ? reportReSaved
26727
- : (this.actionObj.actionName == renameCurrentReport) ? reportRenamed : this.actionObj.actionName;
26887
+ : (this.actionObj.actionName == renameCurrentReport) ? reportRenamed : (this.actionObj.actionName == renameCurrentReport) ? reportRenamed : (this.actionObj.actionName == horizontalScroll) ? horizontalScrolled
26888
+ : (this.actionObj.actionName == verticalScroll) ? verticalScrolled : this.actionObj.actionName;
26728
26889
  return actionName;
26729
26890
  };
26730
26891
  /* eslint-disable-next-line */
@@ -26963,6 +27124,9 @@ var PivotView = /** @__PURE__ @class */ (function (_super) {
26963
27124
  __decorate([
26964
27125
  Property(false)
26965
27126
  ], PivotView.prototype, "allowCalculatedField", void 0);
27127
+ __decorate([
27128
+ Property(false)
27129
+ ], PivotView.prototype, "enableFieldSearching", void 0);
26966
27130
  __decorate([
26967
27131
  Property(false)
26968
27132
  ], PivotView.prototype, "enableValueSorting", void 0);
@@ -28294,6 +28458,12 @@ var DialogRenderer = /** @__PURE__ @class */ (function () {
28294
28458
  if (this.parent.cssClass) {
28295
28459
  addClass([fieldListWrappper], this.parent.cssClass);
28296
28460
  }
28461
+ if (this.parent.enableFieldSearching) {
28462
+ addClass([fieldListWrappper], FIELD_LIST_SEARCH_MODE_CLASS);
28463
+ }
28464
+ else {
28465
+ removeClass([fieldListWrappper], FIELD_LIST_SEARCH_MODE_CLASS);
28466
+ }
28297
28467
  this.parentElement = createElement('div', { className: CONTAINER_CLASS });
28298
28468
  this.parent.element.appendChild(fieldListWrappper);
28299
28469
  if (this.parent.isAdaptive) {
@@ -28338,13 +28508,14 @@ var DialogRenderer = /** @__PURE__ @class */ (function () {
28338
28508
  checked: true,
28339
28509
  enableRtl: this.parent.enableRtl,
28340
28510
  locale: this.parent.locale,
28341
- change: this.onCheckChange.bind(this)
28511
+ change: this.onCheckChange.bind(this),
28512
+ cssClass: this.parent.cssClass
28342
28513
  });
28343
28514
  this.deferUpdateCheckBox.isStringTemplate = true;
28344
28515
  this.deferUpdateCheckBox.appendTo('#' + this.parent.element.id + 'DeferUpdateCheckBox');
28345
28516
  this.deferUpdateApplyButton = new Button({
28346
28517
  cssClass: DEFER_APPLY_BUTTON + ' ' + DEFER_UPDATE_BUTTON + (this.parent.renderMode === 'Popup' ?
28347
- (' ' + BUTTON_FLAT_CLASS) : ''),
28518
+ (' ' + BUTTON_FLAT_CLASS) : '') + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
28348
28519
  content: this.parent.localeObj.getConstant('apply'),
28349
28520
  enableRtl: this.parent.enableRtl,
28350
28521
  locale: this.parent.locale,
@@ -28357,7 +28528,7 @@ var DialogRenderer = /** @__PURE__ @class */ (function () {
28357
28528
  }
28358
28529
  this.deferUpdateCancelButton = new Button({
28359
28530
  cssClass: DEFER_CANCEL_BUTTON + ' ' + CANCEL_BUTTON_CLASS + (this.parent.renderMode === 'Popup' ?
28360
- (' ' + BUTTON_FLAT_CLASS) : ''),
28531
+ (' ' + BUTTON_FLAT_CLASS) : '') + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
28361
28532
  content: this.parent.allowDeferLayoutUpdate ? this.parent.localeObj.getConstant('cancel') :
28362
28533
  this.parent.localeObj.getConstant('close'),
28363
28534
  enableRtl: this.parent.enableRtl, isPrimary: !this.parent.allowDeferLayoutUpdate, locale: this.parent.locale
@@ -28475,7 +28646,7 @@ var DialogRenderer = /** @__PURE__ @class */ (function () {
28475
28646
  var buttons = [{
28476
28647
  click: this.showFieldListDialog.bind(this),
28477
28648
  buttonModel: {
28478
- cssClass: ADAPTIVE_FIELD_LIST_BUTTON_CLASS + ' ' + BUTTON_SMALL_CLASS + ' ' + BUTTON_ROUND_CLASS,
28649
+ cssClass: ADAPTIVE_FIELD_LIST_BUTTON_CLASS + ' ' + BUTTON_SMALL_CLASS + ' ' + BUTTON_ROUND_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
28479
28650
  iconCss: ICON + ' ' + ADD_ICON_CLASS,
28480
28651
  isPrimary: true
28481
28652
  }
@@ -28483,7 +28654,7 @@ var DialogRenderer = /** @__PURE__ @class */ (function () {
28483
28654
  click: this.showCalculatedField.bind(this),
28484
28655
  buttonModel: {
28485
28656
  cssClass: ADAPTIVE_CALCULATED_FIELD_BUTTON_CLASS +
28486
- ' ' + BUTTON_SMALL_CLASS + ' ' + BUTTON_ROUND_CLASS + ' ' + ICON_DISABLE,
28657
+ ' ' + BUTTON_SMALL_CLASS + ' ' + BUTTON_ROUND_CLASS + ' ' + ICON_DISABLE + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
28487
28658
  iconCss: ICON + ' ' + ADD_ICON_CLASS, enableRtl: this.parent.enableRtl,
28488
28659
  isPrimary: true
28489
28660
  }
@@ -28621,7 +28792,8 @@ var DialogRenderer = /** @__PURE__ @class */ (function () {
28621
28792
  height: '100%',
28622
28793
  enableRtl: this.parent.enableRtl,
28623
28794
  locale: this.parent.locale,
28624
- selected: this.tabSelect.bind(this)
28795
+ selected: this.tabSelect.bind(this),
28796
+ cssClass: this.parent.cssClass
28625
28797
  });
28626
28798
  if (this.parent.renderMode === 'Fixed') {
28627
28799
  layoutFooter.appendChild(this.createAddButton());
@@ -28667,7 +28839,7 @@ var DialogRenderer = /** @__PURE__ @class */ (function () {
28667
28839
  }
28668
28840
  });
28669
28841
  var calculateField = new Button({
28670
- cssClass: CALCULATED_FIELD_CLASS + ' ' + ICON_DISABLE,
28842
+ cssClass: CALCULATED_FIELD_CLASS + ' ' + ICON_DISABLE + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
28671
28843
  content: this.parent.localeObj.getConstant('CalculatedField'),
28672
28844
  enableRtl: this.parent.enableRtl, locale: this.parent.locale
28673
28845
  });
@@ -28687,12 +28859,12 @@ var DialogRenderer = /** @__PURE__ @class */ (function () {
28687
28859
  var calculatedButton = createElement('div', {});
28688
28860
  var calculateField = new Button({
28689
28861
  cssClass: ADAPTIVE_CALCULATED_FIELD_BUTTON_CLASS +
28690
- ' ' + BUTTON_SMALL_CLASS + ' ' + BUTTON_ROUND_CLASS + ' ' + ICON_DISABLE,
28862
+ ' ' + BUTTON_SMALL_CLASS + ' ' + BUTTON_ROUND_CLASS + ' ' + ICON_DISABLE + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
28691
28863
  iconCss: ICON + ' ' + ADD_ICON_CLASS,
28692
28864
  enableRtl: this.parent.enableRtl, locale: this.parent.locale
28693
28865
  });
28694
28866
  var fieldList = new Button({
28695
- cssClass: ADAPTIVE_FIELD_LIST_BUTTON_CLASS + ' ' + BUTTON_SMALL_CLASS + ' ' + BUTTON_ROUND_CLASS,
28867
+ cssClass: ADAPTIVE_FIELD_LIST_BUTTON_CLASS + ' ' + BUTTON_SMALL_CLASS + ' ' + BUTTON_ROUND_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
28696
28868
  iconCss: ICON + ' ' + ADD_ICON_CLASS,
28697
28869
  enableRtl: this.parent.enableRtl, locale: this.parent.locale
28698
28870
  });
@@ -28883,6 +29055,8 @@ var TreeViewRenderer = /** @__PURE__ @class */ (function () {
28883
29055
  */
28884
29056
  function TreeViewRenderer(parent) {
28885
29057
  this.selectedNodes = [];
29058
+ this.isSearching = false;
29059
+ this.parentIDs = [];
28886
29060
  this.parent = parent;
28887
29061
  this.addEventListener();
28888
29062
  }
@@ -28903,15 +29077,42 @@ var TreeViewRenderer = /** @__PURE__ @class */ (function () {
28903
29077
  className: FIELD_HEADER_CLASS,
28904
29078
  innerHTML: this.parent.localeObj.getConstant('allFields')
28905
29079
  });
28906
- var treeOuterDiv = createElement('div', { className: FIELD_LIST_TREE_CLASS + '-outer-div' });
29080
+ var searchWrapper = createElement('div', {
29081
+ id: this.parent.element.id + '_SearchDiv', attrs: { 'tabindex': '-1' },
29082
+ className: FIELD_LIST_SEARCH_CLASS
29083
+ });
29084
+ var searchInput = createElement('input', { attrs: { 'type': 'text' } });
29085
+ searchWrapper.appendChild(searchInput);
29086
+ this.fieldSearch = new TextBox({
29087
+ placeholder: this.parent.localeObj.getConstant('search'),
29088
+ enableRtl: this.parent.enableRtl,
29089
+ locale: this.parent.locale,
29090
+ cssClass: FIELD_LIST_SEARCH_INPUT_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
29091
+ input: this.textChange.bind(this),
29092
+ showClearButton: true
29093
+ });
29094
+ this.fieldSearch.isStringTemplate = true;
29095
+ this.fieldSearch.appendTo(searchInput);
29096
+ this.fieldSearch.addIcon('append', FIELD_LIST_SEARCH_ICON_CLASS + ' ' + ICON);
29097
+ var promptDiv = createElement('div', {
29098
+ className: EMPTY_MEMBER_CLASS + ' ' + ICON_DISABLE,
29099
+ innerHTML: this.parent.localeObj.getConstant('noMatches')
29100
+ });
29101
+ var treeOuterDiv = createElement('div', {
29102
+ className: FIELD_LIST_TREE_OUTER_DIV_CLASS + ' ' + TREE_CONTAINER
29103
+ });
28907
29104
  this.treeViewElement = createElement('div', {
28908
29105
  id: this.parent.element.id + '_TreeView',
28909
29106
  className: FIELD_LIST_CLASS + ' ' + (this.parent.dataType === 'olap' ? OLAP_FIELD_LIST_CLASS : '')
28910
29107
  });
28911
- var fieldHeaderWrappper = createElement('div', { className: 'e-field-header-container' });
29108
+ var fieldHeaderWrappper = createElement('div', { className: FIELD_HEADER_CONTAINER_CLASS });
28912
29109
  fieldHeaderWrappper.appendChild(treeHeader);
28913
29110
  fieldTable.appendChild(fieldHeaderWrappper);
28914
29111
  this.updateSortElements(fieldHeaderWrappper);
29112
+ if (this.parent.enableFieldSearching) {
29113
+ fieldTable.appendChild(searchWrapper);
29114
+ fieldTable.appendChild(promptDiv);
29115
+ }
28915
29116
  treeOuterDiv.appendChild(this.treeViewElement);
28916
29117
  fieldTable.appendChild(treeOuterDiv);
28917
29118
  this.parentElement.appendChild(fieldTable);
@@ -29035,6 +29236,40 @@ var TreeViewRenderer = /** @__PURE__ @class */ (function () {
29035
29236
  if (args.node.querySelector('.' + NODE_CHECK_CLASS)) {
29036
29237
  addClass([args.node.querySelector('.' + LIST_TEXT_CLASS)], LIST_SELECT_CLASS);
29037
29238
  }
29239
+ if (this.parent.enableFieldSearching && this.isSearching) {
29240
+ var liElement = args.node;
29241
+ if (this.parent.dataType === 'olap') {
29242
+ var id = liElement.getAttribute('data-uid');
29243
+ var searchItem = this.parent.pivotCommon.eventBase.searchListItem;
29244
+ for (var i = 0; i < this.parentIDs.length; i++) {
29245
+ if (id === this.parentIDs[i]) {
29246
+ addClass([liElement], ICON_DISABLE);
29247
+ }
29248
+ for (var _i = 0, searchItem_1 = searchItem; _i < searchItem_1.length; _i++) {
29249
+ var li2 = searchItem_1[_i];
29250
+ var parentID = this.parent.pivotCommon.eventBase.getParentIDs(this.fieldTable, li2.getAttribute('data-uid'), []);
29251
+ if (PivotUtil.inArray(id, parentID) > -1) {
29252
+ removeClass([liElement], ICON_DISABLE);
29253
+ break;
29254
+ }
29255
+ }
29256
+ }
29257
+ }
29258
+ else {
29259
+ for (var i = 0; i < this.nonSearchList.length; i++) {
29260
+ if (liElement.textContent === this.nonSearchList[i].textContent) {
29261
+ addClass([liElement], ICON_DISABLE);
29262
+ break;
29263
+ }
29264
+ else {
29265
+ if (liElement.innerText === this.nonSearchList[i].textContent) {
29266
+ addClass([liElement], ICON_DISABLE);
29267
+ break;
29268
+ }
29269
+ }
29270
+ }
29271
+ }
29272
+ }
29038
29273
  };
29039
29274
  TreeViewRenderer.prototype.updateOlapTreeNode = function (args) {
29040
29275
  var allowDrag = false;
@@ -29090,12 +29325,12 @@ var TreeViewRenderer = /** @__PURE__ @class */ (function () {
29090
29325
  buttons: [{
29091
29326
  click: this.closeTreeDialog.bind(this),
29092
29327
  buttonModel: {
29093
- cssClass: CANCEL_BUTTON_CLASS, content: this.parent.localeObj.getConstant('cancel')
29328
+ cssClass: CANCEL_BUTTON_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''), content: this.parent.localeObj.getConstant('cancel')
29094
29329
  }
29095
29330
  }, {
29096
29331
  click: this.onFieldAdd.bind(this),
29097
29332
  buttonModel: {
29098
- cssClass: OK_BUTTON_CLASS, content: this.parent.localeObj.getConstant('add'),
29333
+ cssClass: OK_BUTTON_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''), content: this.parent.localeObj.getConstant('add'),
29099
29334
  isPrimary: true
29100
29335
  }
29101
29336
  }],
@@ -29124,7 +29359,7 @@ var TreeViewRenderer = /** @__PURE__ @class */ (function () {
29124
29359
  });
29125
29360
  var editorSearch = createElement('input', { attrs: { 'type': 'text' } });
29126
29361
  searchWrapper.appendChild(editorSearch);
29127
- var treeOuterDiv = createElement('div', { className: EDITOR_TREE_CONTAINER_CLASS + '-outer-div' });
29362
+ var treeOuterDiv = createElement('div', { className: FIELD_LIST_TREE_OUTER_DIV_CLASS });
29128
29363
  var treeViewContainer = createElement('div', {
29129
29364
  className: EDITOR_TREE_CONTAINER_CLASS + ' ' + (this.parent.dataType === 'olap' ? 'e-olap-field-list-tree' : '')
29130
29365
  });
@@ -29134,7 +29369,7 @@ var TreeViewRenderer = /** @__PURE__ @class */ (function () {
29134
29369
  placeholder: this.parent.localeObj.getConstant('search'),
29135
29370
  enableRtl: this.parent.enableRtl,
29136
29371
  locale: this.parent.locale,
29137
- cssClass: EDITOR_SEARCH_CLASS,
29372
+ cssClass: EDITOR_SEARCH_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
29138
29373
  change: this.textChange.bind(this)
29139
29374
  });
29140
29375
  this.editorSearch.isStringTemplate = true;
@@ -29170,14 +29405,41 @@ var TreeViewRenderer = /** @__PURE__ @class */ (function () {
29170
29405
  };
29171
29406
  TreeViewRenderer.prototype.textChange = function (e) {
29172
29407
  this.parent.pivotCommon.eventBase.searchTreeNodes(e, this.fieldTable, true);
29173
- var promptDiv = this.fieldDialog.element.querySelector('.' + EMPTY_MEMBER_CLASS);
29408
+ var promptDiv;
29409
+ var treeOuterDiv;
29410
+ if (this.parent.isAdaptive) {
29411
+ promptDiv = this.fieldDialog.element.querySelector('.' + EMPTY_MEMBER_CLASS);
29412
+ }
29413
+ else {
29414
+ promptDiv = this.parentElement.querySelector('.' + EMPTY_MEMBER_CLASS);
29415
+ treeOuterDiv = this.parentElement.querySelector('.' + TREE_CONTAINER);
29416
+ }
29174
29417
  var liList = [].slice.call(this.fieldTable.element.querySelectorAll('li'));
29175
29418
  var disabledList = [].slice.call(this.fieldTable.element.querySelectorAll('li.' + ICON_DISABLE));
29176
29419
  if (liList.length === disabledList.length) {
29177
29420
  removeClass([promptDiv], ICON_DISABLE);
29421
+ if (!this.parent.isAdaptive) {
29422
+ addClass([treeOuterDiv], ICON_DISABLE);
29423
+ removeClass([treeOuterDiv], FIELD_LIST_TREE_OUTER_DIV_SEARCH_CLASS);
29424
+ }
29178
29425
  }
29179
29426
  else {
29180
29427
  addClass([promptDiv], ICON_DISABLE);
29428
+ if (!this.parent.isAdaptive) {
29429
+ removeClass([treeOuterDiv], ICON_DISABLE);
29430
+ addClass([treeOuterDiv], FIELD_LIST_TREE_OUTER_DIV_SEARCH_CLASS);
29431
+ }
29432
+ }
29433
+ this.isSearching = disabledList.length > 0 ? true : false;
29434
+ this.nonSearchList = disabledList;
29435
+ if (this.parent.dataType === 'olap') {
29436
+ this.parentIDs = [];
29437
+ for (var i = 0; i < liList.length; i++) {
29438
+ if (liList[i].classList.contains("e-level-1")) {
29439
+ var id = liList[i].getAttribute('data-uid');
29440
+ this.parentIDs.push(id);
29441
+ }
29442
+ }
29181
29443
  }
29182
29444
  };
29183
29445
  TreeViewRenderer.prototype.dragStart = function (args) {
@@ -29832,6 +30094,10 @@ var TreeViewRenderer = /** @__PURE__ @class */ (function () {
29832
30094
  this.editorSearch.destroy();
29833
30095
  this.editorSearch = null;
29834
30096
  }
30097
+ if (this.fieldSearch && !this.fieldSearch.isDestroyed) {
30098
+ this.fieldSearch.destroy();
30099
+ this.fieldSearch = null;
30100
+ }
29835
30101
  };
29836
30102
  return TreeViewRenderer;
29837
30103
  }());
@@ -30141,7 +30407,7 @@ var PivotButton = /** @__PURE__ @class */ (function () {
30141
30407
  buttonWrapper.appendChild(buttonElement);
30142
30408
  }
30143
30409
  element.appendChild(buttonWrapper);
30144
- var pivotButton = new Button({ enableRtl: this.parent.enableRtl, locale: this.parent.locale });
30410
+ var pivotButton = new Button({ enableRtl: this.parent.enableRtl, locale: this.parent.locale, cssClass: this.parent.cssClass });
30145
30411
  pivotButton.isStringTemplate = true;
30146
30412
  pivotButton.appendTo(buttonElement);
30147
30413
  this.unWireEvent(buttonWrapper, i === valuePos && axis !== 'all-fields' ? 'values' : axis, isMeasureAvail);
@@ -30965,7 +31231,7 @@ var PivotButton = /** @__PURE__ @class */ (function () {
30965
31231
  return [
30966
31232
  {
30967
31233
  buttonModel: {
30968
- cssClass: 'e-clear-filter-button' + (this.parent.pivotCommon.filterDialog.allowExcelLikeFilter ? '' : ' ' + ICON_DISABLE),
31234
+ cssClass: 'e-clear-filter-button' + (this.parent.pivotCommon.filterDialog.allowExcelLikeFilter ? '' : ' ' + ICON_DISABLE) + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
30969
31235
  iconCss: 'e-icons e-clear-filter-icon', enableRtl: this.parent.enableRtl,
30970
31236
  content: this.parent.localeObj.getConstant('clearFilter'), disabled: (this.parent.pivotCommon.filterDialog.filterObject ? false : true)
30971
31237
  },
@@ -30973,13 +31239,13 @@ var PivotButton = /** @__PURE__ @class */ (function () {
30973
31239
  },
30974
31240
  {
30975
31241
  buttonModel: {
30976
- cssClass: OK_BUTTON_CLASS, content: this.parent.localeObj.getConstant('ok'), isPrimary: true
31242
+ cssClass: OK_BUTTON_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''), content: this.parent.localeObj.getConstant('ok'), isPrimary: true
30977
31243
  },
30978
31244
  click: (this.index === 0 ? this.updateFilterState.bind(this, this.fieldName) : this.updateCustomFilter.bind(this))
30979
31245
  },
30980
31246
  {
30981
31247
  click: this.parent.pivotCommon.filterDialog.closeFilterDialog.bind(this.parent.pivotCommon.filterDialog),
30982
- buttonModel: { cssClass: CANCEL_BUTTON_CLASS, content: this.parent.localeObj.getConstant('cancel') }
31248
+ buttonModel: { cssClass: CANCEL_BUTTON_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''), content: this.parent.localeObj.getConstant('cancel') }
30983
31249
  }
30984
31250
  ];
30985
31251
  };
@@ -32220,6 +32486,8 @@ var PivotFieldList = /** @__PURE__ @class */ (function (_super) {
32220
32486
  }
32221
32487
  requireRefresh = true;
32222
32488
  break;
32489
+ case 'enableFieldSearching':
32490
+ this.refresh();
32223
32491
  }
32224
32492
  if (requireRefresh) {
32225
32493
  this.fieldListRender();
@@ -32263,7 +32531,7 @@ var PivotFieldList = /** @__PURE__ @class */ (function (_super) {
32263
32531
  customProperties.enableValueSorting = _this.staticPivotGridModule ?
32264
32532
  _this.staticPivotGridModule.enableValueSorting : _this.enableValueSorting;
32265
32533
  if (_this.dataSourceSettings.mode !== 'Server') {
32266
- _this.engineModule.renderEngine(_this.dataSourceSettings, customProperties, _this.getValueCellInfo.bind(_this), _this.getHeaderSortInfo.bind(_this));
32534
+ _this.engineModule.renderEngine(_this.dataSourceSettings, customProperties, _this.aggregateCellInfo ? _this.getValueCellInfo.bind(_this) : undefined, _this.onHeadersSort ? _this.getHeaderSortInfo.bind(_this) : undefined);
32267
32535
  }
32268
32536
  _this.pivotFieldList = _this.engineModule.fieldList;
32269
32537
  var eventArgs = {
@@ -32279,7 +32547,7 @@ var PivotFieldList = /** @__PURE__ @class */ (function (_super) {
32279
32547
  });
32280
32548
  }
32281
32549
  else if (_this.dataType === 'olap') {
32282
- _this.olapEngineModule.renderEngine(_this.dataSourceSettings, _this.frameCustomProperties(_this.olapEngineModule.fieldListData, _this.olapEngineModule.fieldList), _this.getHeaderSortInfo.bind(_this));
32550
+ _this.olapEngineModule.renderEngine(_this.dataSourceSettings, _this.frameCustomProperties(_this.olapEngineModule.fieldListData, _this.olapEngineModule.fieldList), _this.onHeadersSort ? _this.getHeaderSortInfo.bind(_this) : undefined);
32283
32551
  _this.pivotFieldList = _this.olapEngineModule.fieldList;
32284
32552
  var eventArgs = {
32285
32553
  pivotFieldList: _this.pivotFieldList,
@@ -32357,10 +32625,10 @@ var PivotFieldList = /** @__PURE__ @class */ (function (_super) {
32357
32625
  this.fieldListSpinnerElement = this.element.querySelector('.e-pivotfieldlist-container');
32358
32626
  }
32359
32627
  if (this.spinnerTemplate) {
32360
- createSpinner({ target: this.fieldListSpinnerElement, template: this.spinnerTemplate }, this.createElement);
32628
+ createSpinner({ target: this.fieldListSpinnerElement, template: this.spinnerTemplate, cssClass: this.cssClass ? this.cssClass : undefined }, this.createElement);
32361
32629
  }
32362
32630
  else {
32363
- createSpinner({ target: this.fieldListSpinnerElement }, this.createElement);
32631
+ createSpinner({ target: this.fieldListSpinnerElement, cssClass: this.cssClass ? this.cssClass : undefined }, this.createElement);
32364
32632
  }
32365
32633
  var args;
32366
32634
  args = {
@@ -32519,7 +32787,7 @@ var PivotFieldList = /** @__PURE__ @class */ (function (_super) {
32519
32787
  pivot.lastFilterInfo = {};
32520
32788
  }
32521
32789
  else {
32522
- pivot.engineModule.renderEngine(pivot.dataSourceSettings, customProperties, pivot.getValueCellInfo.bind(pivot), pivot.getHeaderSortInfo.bind(pivot));
32790
+ pivot.engineModule.renderEngine(pivot.dataSourceSettings, customProperties, pivot.aggregateCellInfo ? pivot.getValueCellInfo.bind(pivot) : undefined, pivot.onHeadersSort ? pivot.getHeaderSortInfo.bind(pivot) : undefined);
32523
32791
  }
32524
32792
  }
32525
32793
  }
@@ -32617,7 +32885,7 @@ var PivotFieldList = /** @__PURE__ @class */ (function (_super) {
32617
32885
  }
32618
32886
  }
32619
32887
  else {
32620
- pivot.olapEngineModule.renderEngine(pivot.dataSourceSettings, customProperties, pivot.getHeaderSortInfo.bind(pivot));
32888
+ pivot.olapEngineModule.renderEngine(pivot.dataSourceSettings, customProperties, pivot.onHeadersSort ? pivot.getHeaderSortInfo.bind(pivot) : undefined);
32621
32889
  }
32622
32890
  pivot.lastSortInfo = {};
32623
32891
  pivot.lastAggregationInfo = {};
@@ -32866,6 +33134,9 @@ var PivotFieldList = /** @__PURE__ @class */ (function (_super) {
32866
33134
  __decorate$4([
32867
33135
  Property(false)
32868
33136
  ], PivotFieldList.prototype, "allowCalculatedField", void 0);
33137
+ __decorate$4([
33138
+ Property(false)
33139
+ ], PivotFieldList.prototype, "enableFieldSearching", void 0);
32869
33140
  __decorate$4([
32870
33141
  Property(false)
32871
33142
  ], PivotFieldList.prototype, "showValuesButton", void 0);
@@ -33941,13 +34212,15 @@ var CalculatedField = /** @__PURE__ @class */ (function () {
33941
34212
  click: this.applyFormula.bind(this),
33942
34213
  buttonModel: {
33943
34214
  content: this.parent.localeObj.getConstant('ok'),
33944
- isPrimary: true
34215
+ isPrimary: true,
34216
+ cssClass: this.parent.cssClass
33945
34217
  }
33946
34218
  },
33947
34219
  {
33948
34220
  click: this.cancelClick.bind(this),
33949
34221
  buttonModel: {
33950
- content: this.parent.localeObj.getConstant('cancel')
34222
+ content: this.parent.localeObj.getConstant('cancel'),
34223
+ cssClass: this.parent.cssClass
33951
34224
  }
33952
34225
  }
33953
34226
  ];
@@ -33955,7 +34228,7 @@ var CalculatedField = /** @__PURE__ @class */ (function () {
33955
34228
  var clearButton = {
33956
34229
  click: this.clearFormula.bind(this),
33957
34230
  buttonModel: {
33958
- cssClass: 'e-calc-clear-btn',
34231
+ cssClass: 'e-calc-clear-btn' + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
33959
34232
  content: this.parent.localeObj.getConstant('clear'),
33960
34233
  }
33961
34234
  };
@@ -34389,7 +34662,8 @@ var CalculatedField = /** @__PURE__ @class */ (function () {
34389
34662
  change: function (args) {
34390
34663
  _this.formatText = args.value;
34391
34664
  _this.formulaText = select('#' + _this.parentID + 'droppable', document).value;
34392
- }
34665
+ },
34666
+ cssClass: this.parent.cssClass
34393
34667
  });
34394
34668
  customerFormatObj.isStringTemplate = true;
34395
34669
  customerFormatObj.appendTo('#' + this.parentID + 'Custom_Format_Element');
@@ -34696,7 +34970,7 @@ var CalculatedField = /** @__PURE__ @class */ (function () {
34696
34970
  dialogRenderer.parentElement.querySelector('.' + FORMULA) !== null) {
34697
34971
  this.createOlapDropElements();
34698
34972
  }
34699
- var cancelBtn = new Button({ cssClass: FLAT, isPrimary: true, locale: this.parent.locale, enableRtl: this.parent.enableRtl });
34973
+ var cancelBtn = new Button({ cssClass: FLAT + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''), isPrimary: true, locale: this.parent.locale, enableRtl: this.parent.enableRtl });
34700
34974
  cancelBtn.isStringTemplate = true;
34701
34975
  cancelBtn.appendTo('#' + this.parentID + 'cancelBtn');
34702
34976
  if (cancelBtn.element) {
@@ -34704,7 +34978,7 @@ var CalculatedField = /** @__PURE__ @class */ (function () {
34704
34978
  }
34705
34979
  if (this.parent.
34706
34980
  dialogRenderer.parentElement.querySelector('.' + FORMULA) !== null && this.parent.isAdaptive) {
34707
- var okBtn = new Button({ cssClass: FLAT + ' ' + OUTLINE_CLASS, isPrimary: true, locale: this.parent.locale, enableRtl: this.parent.enableRtl });
34981
+ var okBtn = new Button({ cssClass: FLAT + ' ' + OUTLINE_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''), isPrimary: true, locale: this.parent.locale, enableRtl: this.parent.enableRtl });
34708
34982
  okBtn.isStringTemplate = true;
34709
34983
  okBtn.appendTo('#' + this.parentID + 'okBtn');
34710
34984
  this.inputObj = new MaskedTextBox({
@@ -34713,7 +34987,8 @@ var CalculatedField = /** @__PURE__ @class */ (function () {
34713
34987
  change: function (args) {
34714
34988
  _this.fieldText = args.value;
34715
34989
  _this.formulaText = select('#' + _this.parentID + 'droppable', document).value;
34716
- }
34990
+ },
34991
+ cssClass: this.parent.cssClass
34717
34992
  });
34718
34993
  this.inputObj.isStringTemplate = true;
34719
34994
  this.inputObj.appendTo('#' + this.parentID + 'ddlelement');
@@ -34724,7 +34999,8 @@ var CalculatedField = /** @__PURE__ @class */ (function () {
34724
34999
  change: function (args) {
34725
35000
  _this.formatText = args.value;
34726
35001
  _this.formulaText = select('#' + _this.parentID + 'droppable', document).value;
34727
- }
35002
+ },
35003
+ cssClass: this.parent.cssClass
34728
35004
  });
34729
35005
  formatInputObj.isStringTemplate = true;
34730
35006
  formatInputObj.appendTo('#' + this.parentID + 'Custom_Format_Element');
@@ -34750,7 +35026,7 @@ var CalculatedField = /** @__PURE__ @class */ (function () {
34750
35026
  }
34751
35027
  }
34752
35028
  else if (this.parent.isAdaptive) {
34753
- var addBtn = new Button({ cssClass: FLAT, isPrimary: true, locale: this.parent.locale, enableRtl: this.parent.enableRtl });
35029
+ var addBtn = new Button({ cssClass: FLAT + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''), isPrimary: true, locale: this.parent.locale, enableRtl: this.parent.enableRtl });
34754
35030
  addBtn.isStringTemplate = true;
34755
35031
  addBtn.appendTo('#' + this.parentID + 'addBtn');
34756
35032
  if (this.parent.dataType === 'olap') {
@@ -34807,7 +35083,8 @@ var CalculatedField = /** @__PURE__ @class */ (function () {
34807
35083
  name: AGRTYPE + key,
34808
35084
  checked: args.element.querySelector('[data-type').getAttribute('data-type') === type[i_1],
34809
35085
  change: this.onChange.bind(this),
34810
- locale: this.parent.locale, enableRtl: this.parent.enableRtl
35086
+ locale: this.parent.locale, enableRtl: this.parent.enableRtl,
35087
+ cssClass: this.parent.cssClass
34811
35088
  });
34812
35089
  radiobutton.isStringTemplate = true;
34813
35090
  radiobutton.appendTo('#' + this.parentID + 'radio' + key + type[i_1]);
@@ -34844,7 +35121,8 @@ var CalculatedField = /** @__PURE__ @class */ (function () {
34844
35121
  }
34845
35122
  var checkbox = new CheckBox({
34846
35123
  label: this.parent.engineModule.fieldList[key].caption + ' (' + this.parent.localeObj.getConstant(type) + ')',
34847
- locale: this.parent.locale, enableRtl: this.parent.enableRtl
35124
+ locale: this.parent.locale, enableRtl: this.parent.enableRtl,
35125
+ cssClass: this.parent.cssClass
34848
35126
  });
34849
35127
  checkbox.isStringTemplate = true;
34850
35128
  checkbox.appendTo('#' + this.parentID + '_' + index);
@@ -34940,14 +35218,16 @@ var CalculatedField = /** @__PURE__ @class */ (function () {
34940
35218
  this.dialog.refresh();
34941
35219
  this.inputObj = new MaskedTextBox({
34942
35220
  placeholder: this.parent.localeObj.getConstant('fieldName'),
34943
- locale: this.parent.locale, enableRtl: this.parent.enableRtl
35221
+ locale: this.parent.locale, enableRtl: this.parent.enableRtl,
35222
+ cssClass: this.parent.cssClass
34944
35223
  });
34945
35224
  this.inputObj.isStringTemplate = true;
34946
35225
  this.inputObj.appendTo('#' + this.parentID + 'ddlelement');
34947
35226
  if (this.parent.dataType === 'pivot') {
34948
35227
  var customerFormatObj = new MaskedTextBox({
34949
35228
  placeholder: this.parent.localeObj.getConstant('numberFormatString'),
34950
- locale: this.parent.locale, enableRtl: this.parent.enableRtl
35229
+ locale: this.parent.locale, enableRtl: this.parent.enableRtl,
35230
+ cssClass: this.parent.cssClass
34951
35231
  });
34952
35232
  customerFormatObj.isStringTemplate = true;
34953
35233
  customerFormatObj.appendTo('#' + this.parentID + 'Custom_Format_Element');
@@ -34988,14 +35268,14 @@ var CalculatedField = /** @__PURE__ @class */ (function () {
34988
35268
  {
34989
35269
  click: isRemove ? this.removeCalcField.bind(this, node) : this.replaceFormula.bind(this, calcInfo),
34990
35270
  buttonModel: {
34991
- cssClass: OK_BUTTON_CLASS + ' ' + FLAT_CLASS,
35271
+ cssClass: OK_BUTTON_CLASS + ' ' + FLAT_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
34992
35272
  content: isRemove ? this.parent.localeObj.getConstant('yes') : this.parent.localeObj.getConstant('ok'), isPrimary: true
34993
35273
  }
34994
35274
  },
34995
35275
  {
34996
35276
  click: this.removeErrorDialog.bind(this),
34997
35277
  buttonModel: {
34998
- cssClass: CANCEL_BUTTON_CLASS,
35278
+ cssClass: CANCEL_BUTTON_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
34999
35279
  content: isRemove ? this.parent.localeObj.getConstant('no') : this.parent.localeObj.getConstant('cancel'), isPrimary: true
35000
35280
  }
35001
35281
  }
@@ -35140,7 +35420,8 @@ var FieldList = /** @__PURE__ @class */ (function () {
35140
35420
  maxNodeLimitInMemberEditor: this.parent.maxNodeLimitInMemberEditor,
35141
35421
  aggregateCellInfo: this.parent.bindTriggerEvents.bind(this.parent),
35142
35422
  onHeadersSort: this.parent.bindTriggerEvents.bind(this.parent),
35143
- cssClass: this.parent.cssClass
35423
+ cssClass: this.parent.cssClass,
35424
+ enableFieldSearching: this.parent.enableFieldSearching
35144
35425
  });
35145
35426
  this.parent.pivotFieldListModule.isPopupView = true;
35146
35427
  this.parent.pivotFieldListModule.pivotGridModule = this.parent;
@@ -35818,7 +36099,7 @@ var GroupingBar = /** @__PURE__ @class */ (function () {
35818
36099
  }
35819
36100
  element.prepend(createElement('div', { id: this.parent.element.id + '_AllFields' }));
35820
36101
  var toolbarObj = new Toolbar$1({
35821
- cssClass: ALL_FIELDS_PANEL_CLASS,
36102
+ cssClass: ALL_FIELDS_PANEL_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
35822
36103
  enableRtl: this.parent.enableRtl,
35823
36104
  items: [{ template: '<div class=' + GROUP_ALL_FIELDS_CLASS + '></div>' }],
35824
36105
  allowKeyboard: false,
@@ -35918,8 +36199,8 @@ var ConditionalFormatting = /** @__PURE__ @class */ (function () {
35918
36199
  {
35919
36200
  click: this.addButtonClick.bind(this),
35920
36201
  buttonModel: {
35921
- cssClass: this.parent.isAdaptive ? (FORMAT_ROUND_BUTTON + ' ' + FORMAT_CONDITION_BUTTON) :
35922
- FORMAT_CONDITION_BUTTON,
36202
+ cssClass: (this.parent.isAdaptive ? (FORMAT_ROUND_BUTTON + ' ' + FORMAT_CONDITION_BUTTON) :
36203
+ FORMAT_CONDITION_BUTTON) + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
35923
36204
  iconCss: ICON + ' ' + ADD_ICON_CLASS,
35924
36205
  content: this.parent.isAdaptive ? '' : this.parent.localeObj.getConstant('condition')
35925
36206
  }
@@ -35928,7 +36209,7 @@ var ConditionalFormatting = /** @__PURE__ @class */ (function () {
35928
36209
  click: this.applyButtonClick.bind(this),
35929
36210
  isFlat: true,
35930
36211
  buttonModel: {
35931
- isPrimary: true, cssClass: FORMAT_APPLY_BUTTON,
36212
+ isPrimary: true, cssClass: FORMAT_APPLY_BUTTON + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
35932
36213
  content: this.parent.localeObj.getConstant('apply')
35933
36214
  }
35934
36215
  },
@@ -35936,7 +36217,7 @@ var ConditionalFormatting = /** @__PURE__ @class */ (function () {
35936
36217
  click: this.cancelButtonClick.bind(this),
35937
36218
  isFlat: true,
35938
36219
  buttonModel: {
35939
- cssClass: FORMAT_CANCEL_BUTTON,
36220
+ cssClass: FORMAT_CANCEL_BUTTON + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
35940
36221
  content: this.parent.localeObj.getConstant('cancel')
35941
36222
  }
35942
36223
  }
@@ -36304,7 +36585,7 @@ var ConditionalFormatting = /** @__PURE__ @class */ (function () {
36304
36585
  addClass([this.backgroundColor[i].element.nextElementSibling.querySelector('.e-selected-color')], ICON);
36305
36586
  var toggleBtn = new Button({
36306
36587
  iconCss: ICON + ' ' + FORMAT_DELETE_ICON,
36307
- cssClass: FLAT, locale: this.parent.locale, enableRtl: this.parent.enableRtl
36588
+ cssClass: FLAT + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''), locale: this.parent.locale, enableRtl: this.parent.enableRtl
36308
36589
  });
36309
36590
  toggleBtn.isStringTemplate = true;
36310
36591
  toggleBtn.appendTo('#' + this.parentID + 'removeButton' + i);
@@ -36526,6 +36807,7 @@ var Toolbar$2 = /** @__PURE__ @class */ (function () {
36526
36807
  locale: this.parent.locale,
36527
36808
  items: this.getItems(),
36528
36809
  allowKeyboard: false,
36810
+ cssClass: this.parent.cssClass,
36529
36811
  width: !this.parent.gridSettings.allowAutoResizing ? (this.parent.grid ? (this.parent.getGridWidthAsNumber() - 2) : (this.parent.getWidthAsNumber() - 2)) : 'auto'
36530
36812
  });
36531
36813
  this.toolbar.isStringTemplate = true;
@@ -36616,7 +36898,7 @@ var Toolbar$2 = /** @__PURE__ @class */ (function () {
36616
36898
  var toDisable = this.parent.displayOption.view === 'Chart';
36617
36899
  items.push({
36618
36900
  prefixIcon: TOOLBAR_GRID + ' ' + ICON, tooltipText: this.parent.localeObj.getConstant('grid'),
36619
- id: this.parent.element.id + 'grid', cssClass: toDisable ? MENU_DISABLE : '',
36901
+ id: this.parent.element.id + 'grid', cssClass: (toDisable ? MENU_DISABLE : '') + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
36620
36902
  click: this.menuItemClick.bind(this)
36621
36903
  });
36622
36904
  break;
@@ -36624,7 +36906,7 @@ var Toolbar$2 = /** @__PURE__ @class */ (function () {
36624
36906
  var validTypes = (this.parent.displayOption.view === 'Table');
36625
36907
  items.push({
36626
36908
  template: '<ul id="' + this.parent.element.id + 'chart_menu"></ul>',
36627
- id: this.parent.element.id + 'chartmenu', cssClass: validTypes ? MENU_DISABLE : ''
36909
+ id: this.parent.element.id + 'chartmenu', cssClass: (validTypes ? MENU_DISABLE : '') + (this.parent.cssClass ? (' ' + this.parent.cssClass) : '')
36628
36910
  });
36629
36911
  break;
36630
36912
  case 'MDX':
@@ -36733,7 +37015,7 @@ var Toolbar$2 = /** @__PURE__ @class */ (function () {
36733
37015
  Toolbar$$1.prototype.saveReport = function (args) {
36734
37016
  if (this.currentReport && this.currentReport !== '' && args.item.id === (this.parent.element.id + 'save')) {
36735
37017
  var saveArgs = {
36736
- report: this.parent.getPersistData(),
37018
+ report: this.getCurrentReport(),
36737
37019
  reportName: this.currentReport
36738
37020
  };
36739
37021
  this.parent.actionObj.actionName = this.parent.getActionCompleteName();
@@ -36991,7 +37273,7 @@ var Toolbar$2 = /** @__PURE__ @class */ (function () {
36991
37273
  return;
36992
37274
  }
36993
37275
  var saveArgs = {
36994
- report: _this_2.parent.getPersistData(),
37276
+ report: _this_2.getCurrentReport(),
36995
37277
  reportName: reportInput.value
36996
37278
  };
36997
37279
  var actionInfo = {
@@ -37027,7 +37309,7 @@ var Toolbar$2 = /** @__PURE__ @class */ (function () {
37027
37309
  }
37028
37310
  _this_3.parent.trigger(newReport);
37029
37311
  var saveArgs = {
37030
- report: _this_3.parent.getPersistData(),
37312
+ report: _this_3.getCurrentReport(),
37031
37313
  reportName: reportInput.value
37032
37314
  };
37033
37315
  var actionInfo = {
@@ -37118,14 +37400,14 @@ var Toolbar$2 = /** @__PURE__ @class */ (function () {
37118
37400
  {
37119
37401
  buttonModel: {
37120
37402
  content: this.parent.localeObj.getConstant('yes'), isPrimary: true,
37121
- cssClass: OK_BUTTON_CLASS
37403
+ cssClass: OK_BUTTON_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : '')
37122
37404
  },
37123
37405
  click: this.okButtonClick.bind(this)
37124
37406
  },
37125
37407
  {
37126
37408
  buttonModel: {
37127
37409
  content: this.parent.localeObj.getConstant('no'),
37128
- cssClass: CANCEL_BUTTON_CLASS
37410
+ cssClass: CANCEL_BUTTON_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : '')
37129
37411
  },
37130
37412
  click: this.cancelButtonClick.bind(this)
37131
37413
  }
@@ -37171,7 +37453,7 @@ var Toolbar$2 = /** @__PURE__ @class */ (function () {
37171
37453
  else if (this.action === 'New' || (this.action !== 'Save' && this.action !== 'Rename' && this.action !== 'New')) {
37172
37454
  if (this.currentReport && this.currentReport !== '' && this.parent.isModified) {
37173
37455
  var saveArgs = {
37174
- report: this.parent.getPersistData(),
37456
+ report: this.getCurrentReport(),
37175
37457
  reportName: this.currentReport
37176
37458
  };
37177
37459
  var actionInfo = {
@@ -37196,7 +37478,7 @@ var Toolbar$2 = /** @__PURE__ @class */ (function () {
37196
37478
  else if (this.action === 'New') {
37197
37479
  this.parent.trigger(newReport);
37198
37480
  var saveArgs = {
37199
- report: this.parent.getPersistData(),
37481
+ report: this.getCurrentReport(),
37200
37482
  reportName: this.currentReport
37201
37483
  };
37202
37484
  this.parent.trigger(saveReport, saveArgs);
@@ -37207,7 +37489,7 @@ var Toolbar$2 = /** @__PURE__ @class */ (function () {
37207
37489
  }
37208
37490
  else if (this.action === 'Save') {
37209
37491
  var saveArgs = {
37210
- report: this.parent.getPersistData(),
37492
+ report: this.getCurrentReport(),
37211
37493
  reportName: this.currentReport
37212
37494
  };
37213
37495
  this.parent.trigger(saveReport, saveArgs);
@@ -37506,6 +37788,15 @@ var Toolbar$2 = /** @__PURE__ @class */ (function () {
37506
37788
  }
37507
37789
  this.updateItemElements();
37508
37790
  };
37791
+ Toolbar$$1.prototype.getCurrentReport = function () {
37792
+ var reportStr = this.parent.getPersistData();
37793
+ if (this.parent.dataSourceSettings.type === 'CSV') {
37794
+ var reportSettings = JSON.parse(reportStr);
37795
+ reportSettings.dataSourceSettings.dataSource.splice(0, 0, this.parent.engineModule.fields);
37796
+ reportStr = JSON.stringify(reportSettings);
37797
+ }
37798
+ return reportStr;
37799
+ };
37509
37800
  Toolbar$$1.prototype.updateItemElements = function () {
37510
37801
  var itemElements = [].slice.call(this.toolbar.element.querySelectorAll('.e-toolbar-item'));
37511
37802
  for (var _i = 0, itemElements_1 = itemElements; _i < itemElements_1.length; _i++) {
@@ -37538,7 +37829,7 @@ var Toolbar$2 = /** @__PURE__ @class */ (function () {
37538
37829
  this.parent.element.appendChild(inputCheckbox);
37539
37830
  var checkbox = new CheckBox({
37540
37831
  label: this.parent.localeObj.getConstant('multipleAxes'),
37541
- cssClass: 'e-multipleAxes',
37832
+ cssClass: 'e-multipleAxes' + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
37542
37833
  checked: this.parent.chartSettings.enableMultipleAxis,
37543
37834
  change: function (args) {
37544
37835
  document.getElementById(_this_1.parent.element.id + '_' + 'multipleAxes').click();
@@ -37570,7 +37861,7 @@ var Toolbar$2 = /** @__PURE__ @class */ (function () {
37570
37861
  var checkbox = new CheckBox({
37571
37862
  label: this.parent.localeObj.getConstant('showLegend'),
37572
37863
  checked: this.getLableState(this.parent.chartSettings.chartSeries.type),
37573
- cssClass: 'e-showLegend',
37864
+ cssClass: 'e-showLegend' + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
37574
37865
  change: function (args) {
37575
37866
  document.getElementById(_this_1.parent.element.id + '_' + 'showLegend').click();
37576
37867
  },
@@ -37944,11 +38235,11 @@ var Toolbar$2 = /** @__PURE__ @class */ (function () {
37944
38235
  buttons: [
37945
38236
  {
37946
38237
  click: function () { _this_1.chartTypeDialogUpdate(); },
37947
- buttonModel: { cssClass: OK_BUTTON_CLASS, content: this.parent.localeObj.getConstant('ok'), isPrimary: true },
38238
+ buttonModel: { cssClass: OK_BUTTON_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''), content: this.parent.localeObj.getConstant('ok'), isPrimary: true },
37948
38239
  },
37949
38240
  {
37950
38241
  click: function () { _this_1.removeDialog(); },
37951
- buttonModel: { cssClass: CANCEL_BUTTON_CLASS, content: this.parent.localeObj.getConstant('cancel') }
38242
+ buttonModel: { cssClass: CANCEL_BUTTON_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''), content: this.parent.localeObj.getConstant('cancel') }
37952
38243
  }
37953
38244
  ],
37954
38245
  closeOnEscape: true,
@@ -38090,7 +38381,7 @@ var Toolbar$2 = /** @__PURE__ @class */ (function () {
38090
38381
  var _this_1 = this;
38091
38382
  var checkbox = new CheckBox({
38092
38383
  label: this.parent.localeObj.getConstant('multipleAxes'),
38093
- cssClass: 'e-dialog-multiple-axis',
38384
+ cssClass: 'e-dialog-multiple-axis' + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
38094
38385
  checked: this.parent.chartSettings.enableMultipleAxis ? this.parent.chartSettings.enableMultipleAxis : false,
38095
38386
  change: function (args) {
38096
38387
  getInstance(select('#' + _this_1.parent.element.id + '_AxisModeOption'), DropDownList).enabled = args.checked;
@@ -38102,7 +38393,7 @@ var Toolbar$2 = /** @__PURE__ @class */ (function () {
38102
38393
  label: this.parent.localeObj.getConstant('showLegend'),
38103
38394
  checked: this.getLableState(this.parent.chartSettings.chartSeries.type),
38104
38395
  change: function () { _this_1.chartLableState = true; },
38105
- cssClass: 'e-dialog-show-legend',
38396
+ cssClass: 'e-dialog-show-legend' + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''),
38106
38397
  enableRtl: this.parent.enableRtl,
38107
38398
  locale: this.parent.locale
38108
38399
  });
@@ -38237,13 +38528,13 @@ var NumberFormatting = /** @__PURE__ @class */ (function () {
38237
38528
  buttons: [
38238
38529
  {
38239
38530
  click: this.updateFormatting.bind(this),
38240
- buttonModel: { cssClass: OK_BUTTON_CLASS, content: this.parent.localeObj.getConstant('apply'), isPrimary: true }
38531
+ buttonModel: { cssClass: OK_BUTTON_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''), content: this.parent.localeObj.getConstant('apply'), isPrimary: true }
38241
38532
  },
38242
38533
  {
38243
38534
  click: function () {
38244
38535
  _this.dialog.hide();
38245
38536
  },
38246
- buttonModel: { cssClass: CANCEL_BUTTON_CLASS, content: this.parent.localeObj.getConstant('cancel') }
38537
+ buttonModel: { cssClass: CANCEL_BUTTON_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''), content: this.parent.localeObj.getConstant('cancel') }
38247
38538
  }
38248
38539
  ],
38249
38540
  closeOnEscape: true,
@@ -38913,13 +39204,13 @@ var Grouping = /** @__PURE__ @class */ (function () {
38913
39204
  buttons: [
38914
39205
  {
38915
39206
  click: this.updateGroupSettings.bind(this),
38916
- buttonModel: { cssClass: OK_BUTTON_CLASS, content: this.parent.localeObj.getConstant('ok'), isPrimary: true }
39207
+ buttonModel: { cssClass: OK_BUTTON_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''), content: this.parent.localeObj.getConstant('ok'), isPrimary: true }
38917
39208
  },
38918
39209
  {
38919
39210
  click: function () {
38920
39211
  _this.groupDialog.hide();
38921
39212
  },
38922
- buttonModel: { cssClass: CANCEL_BUTTON_CLASS, content: this.parent.localeObj.getConstant('cancel') }
39213
+ buttonModel: { cssClass: CANCEL_BUTTON_CLASS + (this.parent.cssClass ? (' ' + this.parent.cssClass) : ''), content: this.parent.localeObj.getConstant('cancel') }
38923
39214
  }
38924
39215
  ],
38925
39216
  overlayClick: function () {
@@ -38988,7 +39279,8 @@ var Grouping = /** @__PURE__ @class */ (function () {
38988
39279
  placeholder: this.parent.localeObj.getConstant('captionName'),
38989
39280
  enableRtl: this.parent.enableRtl,
38990
39281
  locale: this.parent.locale,
38991
- value: caption, width: '100%'
39282
+ value: caption, width: '100%',
39283
+ cssClass: this.parent.cssClass
38992
39284
  });
38993
39285
  captionInputObj1.isStringTemplate = true;
38994
39286
  captionInputObj1.appendTo(captionInputField1);
@@ -38996,7 +39288,8 @@ var Grouping = /** @__PURE__ @class */ (function () {
38996
39288
  placeholder: this.parent.localeObj.getConstant('groupName'),
38997
39289
  enableRtl: this.parent.enableRtl,
38998
39290
  locale: this.parent.locale,
38999
- width: '100%'
39291
+ width: '100%',
39292
+ cssClass: this.parent.cssClass
39000
39293
  });
39001
39294
  inputObj1.isStringTemplate = true;
39002
39295
  inputObj1.appendTo(inputField1);
@@ -39144,7 +39437,8 @@ var Grouping = /** @__PURE__ @class */ (function () {
39144
39437
  format: '###',
39145
39438
  value: startAt === undefined ? undefined : parseInt(startAt, 10),
39146
39439
  enabled: !(startAt === undefined),
39147
- width: '100%'
39440
+ width: '100%',
39441
+ cssClass: this.parent.cssClass
39148
39442
  });
39149
39443
  startAtInputObj.isStringTemplate = true;
39150
39444
  startAtInputObj.appendTo(startAtInputField1);
@@ -39156,7 +39450,8 @@ var Grouping = /** @__PURE__ @class */ (function () {
39156
39450
  format: '###',
39157
39451
  value: endAt === undefined ? undefined : parseInt(endAt, 10),
39158
39452
  enabled: !(endAt === undefined),
39159
- width: '100%'
39453
+ width: '100%',
39454
+ cssClass: this.parent.cssClass
39160
39455
  });
39161
39456
  endAtInputObj.isStringTemplate = true;
39162
39457
  endAtInputObj.appendTo(endAtInputField1);
@@ -39168,7 +39463,8 @@ var Grouping = /** @__PURE__ @class */ (function () {
39168
39463
  format: '###',
39169
39464
  min: 1,
39170
39465
  value: selectedInterval,
39171
- width: '100%'
39466
+ width: '100%',
39467
+ cssClass: this.parent.cssClass
39172
39468
  });
39173
39469
  intervalObj.isStringTemplate = true;
39174
39470
  intervalObj.appendTo(intervalInputField1);
@@ -39178,6 +39474,7 @@ var Grouping = /** @__PURE__ @class */ (function () {
39178
39474
  checked: !(startAt === undefined),
39179
39475
  enableRtl: this.parent.enableRtl,
39180
39476
  locale: this.parent.locale,
39477
+ cssClass: this.parent.cssClass,
39181
39478
  change: function (args) {
39182
39479
  var startAtObj = (type === 'date' ?
39183
39480
  getInstance(select('#' + _this.parentElement.id + 'group_start_input'), DateTimePicker) :
@@ -39193,6 +39490,7 @@ var Grouping = /** @__PURE__ @class */ (function () {
39193
39490
  checked: !(endAt === undefined),
39194
39491
  enableRtl: this.parent.enableRtl,
39195
39492
  locale: this.parent.locale,
39493
+ cssClass: this.parent.cssClass,
39196
39494
  change: function (args) {
39197
39495
  var endAtObj = (type === 'date' ?
39198
39496
  getInstance(select('#' + _this.parentElement.id + 'group_end_input'), DateTimePicker) :
@@ -39501,5 +39799,5 @@ var Grouping = /** @__PURE__ @class */ (function () {
39501
39799
  * Export PivotGrid components
39502
39800
  */
39503
39801
 
39504
- export { GroupingBarSettings, CellEditSettings, ConditionalSettings, HyperlinkSettings, DisplayOption, PivotView, Render, ExcelExport$1 as ExcelExport, PDFExport, KeyboardInteraction, VirtualScroll$1 as VirtualScroll, DrillThrough, PivotChart, PivotFieldList, TreeViewRenderer, AxisFieldRenderer, AxisTableRenderer, DialogRenderer, EventBase, NodeStateModified, DataSourceUpdate, FieldList, CommonKeyboardInteraction, Common, GroupingBar, CalculatedField, ConditionalFormatting, PivotCommon, load, enginePopulating, enginePopulated, onFieldDropped, fieldDrop, beforePivotTableRender, afterPivotTableRender, beforeExport, excelHeaderQueryCellInfo, pdfHeaderQueryCellInfo, excelQueryCellInfo, pdfQueryCellInfo, onPdfCellRender, dataBound, queryCellInfo, headerCellInfo, hyperlinkCellClick, resizing, resizeStop, cellClick, drillThrough, beforeColumnsRender, selected, cellSelecting, drill, cellSelected, cellDeselected, rowSelected, rowDeselected, beginDrillThrough, editCompleted, multiLevelLabelClick, saveReport, fetchReport, loadReport, renameReport, removeReport, newReport, toolbarRender, toolbarClick, chartTooltipRender, chartLoaded, chartLoad, chartResized, chartAxisLabelRender, chartSeriesCreated, aggregateCellInfo, onHeadersSort, contextMenuClick, contextMenuOpen, fieldListRefreshed, conditionalFormatting, beforePdfExport, beforeExcelExport, memberFiltering, calculatedFieldCreate, memberEditorOpen, fieldRemove, numberFormatting, aggregateMenuOpen, fieldDragStart, chartPointClick, beforeServiceInvoke, actionBegin, actionComplete, actionFailure, initialLoad, uiUpdate, scroll, contentReady, dataReady, initSubComponent, treeViewUpdate, pivotButtonUpdate, initCalculatedField, click, initToolbar, initFormatting, initGrouping, sortValue, drillUp, drillDown, addNewReport, saveCurrentReport, saveAsCurrentReport, renameCurrentReport, removeCurrentReport, loadReports, openConditionalFormatting, openNumberFormatting, MdxQuery, showFieldList, tableView, chartView, multipleAxis, showLegend, pdfExport, pngExport, excelExport, csvExport, jpegExport, svgExport, hideSubTotals, subTotalsRow, subTotalsColumn, showSubTotals, hideGrandTotals, grandTotalsRow, grandTotalsColumn, showGrandTotals, numberFormattingMenu, conditionalFormattingMenu, reportChange, sortFieldTree, editCalculatedField, sortField, filterField, removeField, openCalculatedField, editRecord, saveEditedRecords, addNewRecord, removeRecord, aggregateField, contextMenuCalculatedField, windowResize, calculatedFieldApplied, editedRecordsSaved, newRecordAdded, recordRemoved, closeFieldlist, fieldTreeSorted, reportSaved, newReportAdded, reportReSaved, reportRenamed, reportRemoved, excelExported, csvExported, pdfExported, pngExported, jpegExported, svgExported, conditionallyFormatted, numberFormatted, tableViewed, chartViewed, subTotalsHidden, subTotalsRowShown, subTotalsColumnShown, subTotalsShown, grandTotalsHidden, grandTotalsRowShown, grandTotalsColumnShown, grandTotalsShown, valueSorted, calculatedFieldEdited, fieldSorted, fieldFiltered, fieldRemoved, fieldAggregated, recordEdited, reportChanged, windowResized, recordUpdated, drillThroughClosed, Theme, ErrorDialog, FilterDialog, PivotContextMenu, AggregateMenu, Toolbar$2 as Toolbar, NumberFormatting, Grouping, PivotEngine, PivotUtil, OlapEngine, MDXQuery };
39802
+ export { GroupingBarSettings, CellEditSettings, ConditionalSettings, HyperlinkSettings, DisplayOption, PivotView, Render, ExcelExport$1 as ExcelExport, PDFExport, KeyboardInteraction, VirtualScroll$1 as VirtualScroll, DrillThrough, PivotChart, PivotFieldList, TreeViewRenderer, AxisFieldRenderer, AxisTableRenderer, DialogRenderer, EventBase, NodeStateModified, DataSourceUpdate, FieldList, CommonKeyboardInteraction, Common, GroupingBar, CalculatedField, ConditionalFormatting, PivotCommon, load, enginePopulating, enginePopulated, onFieldDropped, fieldDrop, beforePivotTableRender, afterPivotTableRender, beforeExport, excelHeaderQueryCellInfo, pdfHeaderQueryCellInfo, excelQueryCellInfo, pdfQueryCellInfo, onPdfCellRender, dataBound, queryCellInfo, headerCellInfo, hyperlinkCellClick, resizing, resizeStop, cellClick, drillThrough, beforeColumnsRender, selected, cellSelecting, drill, cellSelected, cellDeselected, rowSelected, rowDeselected, beginDrillThrough, editCompleted, multiLevelLabelClick, saveReport, fetchReport, loadReport, renameReport, removeReport, newReport, toolbarRender, toolbarClick, chartTooltipRender, chartLoaded, chartLoad, chartResized, chartAxisLabelRender, chartSeriesCreated, aggregateCellInfo, onHeadersSort, contextMenuClick, contextMenuOpen, fieldListRefreshed, conditionalFormatting, beforePdfExport, beforeExcelExport, memberFiltering, calculatedFieldCreate, memberEditorOpen, fieldRemove, numberFormatting, aggregateMenuOpen, fieldDragStart, chartPointClick, beforeServiceInvoke, actionBegin, actionComplete, actionFailure, initialLoad, uiUpdate, scroll, verticalScroll, horizontalScroll, contentReady, dataReady, initSubComponent, treeViewUpdate, pivotButtonUpdate, initCalculatedField, click, initToolbar, initFormatting, initGrouping, sortValue, drillUp, drillDown, addNewReport, saveCurrentReport, saveAsCurrentReport, renameCurrentReport, removeCurrentReport, loadReports, openConditionalFormatting, openNumberFormatting, MdxQuery, showFieldList, tableView, chartView, multipleAxis, showLegend, pdfExport, pngExport, excelExport, csvExport, jpegExport, svgExport, hideSubTotals, subTotalsRow, subTotalsColumn, showSubTotals, hideGrandTotals, grandTotalsRow, grandTotalsColumn, showGrandTotals, numberFormattingMenu, conditionalFormattingMenu, reportChange, sortFieldTree, editCalculatedField, sortField, filterField, removeField, openCalculatedField, editRecord, saveEditedRecords, addNewRecord, removeRecord, aggregateField, contextMenuCalculatedField, windowResize, calculatedFieldApplied, editedRecordsSaved, newRecordAdded, recordRemoved, closeFieldlist, fieldTreeSorted, reportSaved, newReportAdded, reportReSaved, reportRenamed, reportRemoved, excelExported, csvExported, pdfExported, pngExported, jpegExported, svgExported, conditionallyFormatted, numberFormatted, tableViewed, chartViewed, subTotalsHidden, subTotalsRowShown, subTotalsColumnShown, subTotalsShown, grandTotalsHidden, grandTotalsRowShown, grandTotalsColumnShown, grandTotalsShown, valueSorted, calculatedFieldEdited, fieldSorted, fieldFiltered, fieldRemoved, fieldAggregated, recordEdited, reportChanged, windowResized, recordUpdated, drillThroughClosed, verticalScrolled, horizontalScrolled, Theme, ErrorDialog, FilterDialog, PivotContextMenu, AggregateMenu, Toolbar$2 as Toolbar, NumberFormatting, Grouping, PivotEngine, PivotUtil, OlapEngine, MDXQuery };
39505
39803
  //# sourceMappingURL=ej2-pivotview.es5.js.map