@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.
- package/bundles/datorama-core.umd.js +6 -5
- package/bundles/datorama-core.umd.js.map +1 -1
- package/bundles/datorama-core.umd.min.js +2 -2
- package/bundles/datorama-core.umd.min.js.map +1 -1
- package/esm2015/lib/grid-v2/grid-filter/grid-filter.types.js +1 -1
- package/esm2015/lib/grid-v2/grid-store/grid.query.js +5 -5
- package/esm2015/lib/grid-v2/grid-store/grid.service.js +2 -2
- package/esm5/lib/grid-v2/grid-filter/grid-filter.types.js +1 -1
- package/esm5/lib/grid-v2/grid-store/grid.query.js +5 -5
- package/esm5/lib/grid-v2/grid-store/grid.service.js +3 -2
- package/fesm2015/datorama-core.js +5 -5
- package/fesm2015/datorama-core.js.map +1 -1
- package/fesm5/datorama-core.js +6 -5
- package/fesm5/datorama-core.js.map +1 -1
- package/i18n/locale-en_US.json +2 -1
- package/lib/grid-v2/grid-filter/grid-filter.types.d.ts +1 -1
- package/package.json +1 -1
package/fesm5/datorama-core.js
CHANGED
|
@@ -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,
|
|
11423
|
-
if (filter[
|
|
11424
|
-
var _a = filter[
|
|
11425
|
-
filters.push({
|
|
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 = '
|
|
14723
|
+
colGroupDef.headerName = _this.translate.transform('core.total');
|
|
14723
14724
|
}
|
|
14724
14725
|
}
|
|
14725
14726
|
else {
|