@sd-angular/core 1.3.61 → 1.3.62
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/sd-angular-core-grid-material.umd.js +11 -4
- package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
- package/bundles/sd-angular-core-grid-material.umd.min.js +1 -1
- package/bundles/sd-angular-core-grid-material.umd.min.js.map +1 -1
- package/esm2015/grid-material/src/lib/components/grid-filter/grid-filter.component.js +2 -1
- package/esm2015/grid-material/src/lib/grid-material.component.js +11 -5
- package/fesm2015/sd-angular-core-grid-material.js +11 -4
- package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
- package/package.json +1 -1
- package/{sd-angular-core-1.3.61.tgz → sd-angular-core-1.3.62.tgz} +0 -0
|
@@ -654,6 +654,7 @@
|
|
|
654
654
|
}
|
|
655
655
|
finally { if (e_4) throw e_4.error; }
|
|
656
656
|
}
|
|
657
|
+
_this.ref.markForCheck();
|
|
657
658
|
});
|
|
658
659
|
this.onFilter = function (item) {
|
|
659
660
|
_this.filterChange.next(true);
|
|
@@ -2685,12 +2686,18 @@
|
|
|
2685
2686
|
_this.ref.detectChanges();
|
|
2686
2687
|
});
|
|
2687
2688
|
this.clearFilter = function () {
|
|
2688
|
-
var _a;
|
|
2689
|
-
(_a = _this.
|
|
2689
|
+
var _a, _b, _c;
|
|
2690
|
+
if ((_b = (_a = _this.gridOption) === null || _a === void 0 ? void 0 : _a.filter) === null || _b === void 0 ? void 0 : _b.inlineColumn) {
|
|
2691
|
+
_this.columnFilter = {};
|
|
2692
|
+
}
|
|
2693
|
+
(_c = _this.gridFilter) === null || _c === void 0 ? void 0 : _c.onClearFilter();
|
|
2690
2694
|
};
|
|
2691
2695
|
this.setFilter = function (args) {
|
|
2692
|
-
var _a;
|
|
2693
|
-
(_a = _this.
|
|
2696
|
+
var _a, _b, _c;
|
|
2697
|
+
if (((_b = (_a = _this.gridOption) === null || _a === void 0 ? void 0 : _a.filter) === null || _b === void 0 ? void 0 : _b.inlineColumn) && (args === null || args === void 0 ? void 0 : args.columnFilter)) {
|
|
2698
|
+
_this.columnFilter = args.columnFilter;
|
|
2699
|
+
}
|
|
2700
|
+
(_c = _this.gridFilter) === null || _c === void 0 ? void 0 : _c.setFilter(args);
|
|
2694
2701
|
};
|
|
2695
2702
|
this.onCreate = function () {
|
|
2696
2703
|
var _a, _b;
|