@sd-angular/core 1.3.100 → 1.3.101
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 +10 -7
- 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/grid-material.component.js +11 -8
- package/fesm2015/sd-angular-core-grid-material.js +10 -7
- package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
- package/package.json +1 -1
- package/{sd-angular-core-1.3.100.tgz → sd-angular-core-1.3.101.tgz} +0 -0
|
@@ -1984,18 +1984,21 @@
|
|
|
1984
1984
|
var _a, _b, _c, _d, _e;
|
|
1985
1985
|
// Init filter
|
|
1986
1986
|
if (_this.gridOption) {
|
|
1987
|
+
var hasRegister = !!_this.filterRegister;
|
|
1987
1988
|
_this.filterRegister = _this.gridFilterService.register((_b = (_a = _this.gridOption) === null || _a === void 0 ? void 0 : _a.filter) === null || _b === void 0 ? void 0 : _b.key, {
|
|
1988
1989
|
columns: (_c = _this.gridOption) === null || _c === void 0 ? void 0 : _c.columns,
|
|
1989
1990
|
externalFilters: (_e = (_d = _this.gridOption) === null || _d === void 0 ? void 0 : _d.filter) === null || _e === void 0 ? void 0 : _e.externalFilters,
|
|
1990
1991
|
filterDefs: _this.filterDefs
|
|
1991
1992
|
});
|
|
1992
|
-
|
|
1993
|
-
_this.
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1993
|
+
if (!hasRegister) {
|
|
1994
|
+
__classPrivateFieldGet(_this, _subscription$2).add(_this.filterRegister.value.observer.pipe(operators.debounceTime(500), operators.map(function (filterValue) {
|
|
1995
|
+
_this.columnFilter = filterValue.columnFilter;
|
|
1996
|
+
__classPrivateFieldGet(_this, _paginator).pageIndex = 0;
|
|
1997
|
+
__classPrivateFieldGet(_this, _reload).next({
|
|
1998
|
+
force: false,
|
|
1999
|
+
});
|
|
2000
|
+
})).subscribe());
|
|
2001
|
+
}
|
|
1999
2002
|
}
|
|
2000
2003
|
});
|
|
2001
2004
|
_filterLocal.set(this, function (localItems, filterInfo) {
|