@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
|
@@ -313,6 +313,7 @@ class SdGridFilter {
|
|
|
313
313
|
};
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
|
+
this.ref.markForCheck();
|
|
316
317
|
});
|
|
317
318
|
this.onFilter = (item) => {
|
|
318
319
|
this.filterChange.next(true);
|
|
@@ -1900,12 +1901,18 @@ class SdGridMaterial {
|
|
|
1900
1901
|
this.ref.detectChanges();
|
|
1901
1902
|
});
|
|
1902
1903
|
this.clearFilter = () => {
|
|
1903
|
-
var _a;
|
|
1904
|
-
(_a = this.
|
|
1904
|
+
var _a, _b, _c;
|
|
1905
|
+
if ((_b = (_a = this.gridOption) === null || _a === void 0 ? void 0 : _a.filter) === null || _b === void 0 ? void 0 : _b.inlineColumn) {
|
|
1906
|
+
this.columnFilter = {};
|
|
1907
|
+
}
|
|
1908
|
+
(_c = this.gridFilter) === null || _c === void 0 ? void 0 : _c.onClearFilter();
|
|
1905
1909
|
};
|
|
1906
1910
|
this.setFilter = (args) => {
|
|
1907
|
-
var _a;
|
|
1908
|
-
(_a = this.
|
|
1911
|
+
var _a, _b, _c;
|
|
1912
|
+
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)) {
|
|
1913
|
+
this.columnFilter = args.columnFilter;
|
|
1914
|
+
}
|
|
1915
|
+
(_c = this.gridFilter) === null || _c === void 0 ? void 0 : _c.setFilter(args);
|
|
1909
1916
|
};
|
|
1910
1917
|
this.onCreate = () => {
|
|
1911
1918
|
var _a, _b;
|