@datorama/core 21.4.0-rc.8 → 21.4.0-rc.9

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.
@@ -11419,10 +11419,10 @@ var GridQuery = /** @class */ (function (_super) {
11419
11419
  };
11420
11420
  GridQuery.prototype.filterChanged = function () {
11421
11421
  return this.selectFilter().pipe(map$1(function (filter) {
11422
- return Object.keys(filter).reduce(function (filters, key) {
11423
- if (filter[key]) {
11424
- var _a = filter[key], conditional = _a.conditional, pivotFieldsMap = _a.pivotFieldsMap;
11425
- filters.push({ column: key, filter: conditional, pivotFieldsMap: pivotFieldsMap });
11422
+ return Object.keys(filter).reduce(function (filters, field) {
11423
+ if (filter[field]) {
11424
+ var _a = filter[field], conditional = _a.conditional, pivotFieldsMap = _a.pivotFieldsMap;
11425
+ filters.push({ field: field, filter: conditional, pivotFieldsMap: pivotFieldsMap });
11426
11426
  }
11427
11427
  return filters;
11428
11428
  }, []);
@@ -14677,6 +14677,7 @@ var GridService = /** @class */ (function () {
14677
14677
  * @private
14678
14678
  */
14679
14679
  GridService.prototype.initPivotSecondaryColsProcess = function (_a) {
14680
+ var _this = this;
14680
14681
  var gridOptions = _a.gridOptions;
14681
14682
  gridOptions.processSecondaryColDef = function (colDef) {
14682
14683
  var api = colDef.headerComponentParams && colDef.headerComponentParams.gridQuery.api;
@@ -14719,7 +14720,7 @@ var GridService = /** @class */ (function () {
14719
14720
  var pivotTotalColumnIds = colChild && colChild.pivotTotalColumnIds;
14720
14721
  if (pivotTotalColumnIds && pivotTotalColumnIds.length > 0) {
14721
14722
  colGroupDef.headerClass = ['total-pivot-cell'];
14722
- colGroupDef.headerName = 'Total';
14723
+ colGroupDef.headerName = _this.translate.transform('core.total');
14723
14724
  }
14724
14725
  }
14725
14726
  else {