@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.
@@ -11618,10 +11618,10 @@
11618
11618
  };
11619
11619
  GridQuery.prototype.filterChanged = function () {
11620
11620
  return this.selectFilter().pipe(operators.map(function (filter) {
11621
- return Object.keys(filter).reduce(function (filters, key) {
11622
- if (filter[key]) {
11623
- var _a = filter[key], conditional = _a.conditional, pivotFieldsMap = _a.pivotFieldsMap;
11624
- filters.push({ column: key, filter: conditional, pivotFieldsMap: pivotFieldsMap });
11621
+ return Object.keys(filter).reduce(function (filters, field) {
11622
+ if (filter[field]) {
11623
+ var _a = filter[field], conditional = _a.conditional, pivotFieldsMap = _a.pivotFieldsMap;
11624
+ filters.push({ field: field, filter: conditional, pivotFieldsMap: pivotFieldsMap });
11625
11625
  }
11626
11626
  return filters;
11627
11627
  }, []);
@@ -14876,6 +14876,7 @@
14876
14876
  * @private
14877
14877
  */
14878
14878
  GridService.prototype.initPivotSecondaryColsProcess = function (_a) {
14879
+ var _this = this;
14879
14880
  var gridOptions = _a.gridOptions;
14880
14881
  gridOptions.processSecondaryColDef = function (colDef) {
14881
14882
  var api = colDef.headerComponentParams && colDef.headerComponentParams.gridQuery.api;
@@ -14918,7 +14919,7 @@
14918
14919
  var pivotTotalColumnIds = colChild && colChild.pivotTotalColumnIds;
14919
14920
  if (pivotTotalColumnIds && pivotTotalColumnIds.length > 0) {
14920
14921
  colGroupDef.headerClass = ['total-pivot-cell'];
14921
- colGroupDef.headerName = 'Total';
14922
+ colGroupDef.headerName = _this.translate.transform('core.total');
14922
14923
  }
14923
14924
  }
14924
14925
  else {