@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
|
@@ -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,
|
|
11622
|
-
if (filter[
|
|
11623
|
-
var _a = filter[
|
|
11624
|
-
filters.push({
|
|
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 = '
|
|
14922
|
+
colGroupDef.headerName = _this.translate.transform('core.total');
|
|
14922
14923
|
}
|
|
14923
14924
|
}
|
|
14924
14925
|
else {
|