@sd-angular/core 1.0.3 → 1.0.4

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.
@@ -1942,6 +1942,7 @@
1942
1942
  }
1943
1943
  }
1944
1944
  }
1945
+ console.log(localItems, items, rawColumnFilter);
1945
1946
  return {
1946
1947
  items: items.filter(function (item, index) {
1947
1948
  return index >= pageNumber * pageSize
@@ -2027,18 +2028,21 @@
2027
2028
  }
2028
2029
  });
2029
2030
  }); });
2030
- this.reload = function () { return __awaiter(_this, void 0, void 0, function () {
2031
- var data;
2032
- return __generator(this, function (_t) {
2033
- switch (_t.label) {
2034
- case 0: return [4 /*yield*/, __classPrivateFieldGet(this, _load$1).call(this, __classPrivateFieldGet(this, _getFilter).call(this))];
2035
- case 1:
2036
- data = _t.sent();
2037
- __classPrivateFieldGet(this, _render).call(this, data);
2038
- return [2 /*return*/];
2039
- }
2031
+ this.reload = function (force) {
2032
+ if (force === void 0) { force = true; }
2033
+ return __awaiter(_this, void 0, void 0, function () {
2034
+ var data;
2035
+ return __generator(this, function (_t) {
2036
+ switch (_t.label) {
2037
+ case 0: return [4 /*yield*/, __classPrivateFieldGet(this, _load$1).call(this, __classPrivateFieldGet(this, _getFilter).call(this), force)];
2038
+ case 1:
2039
+ data = _t.sent();
2040
+ __classPrivateFieldGet(this, _render).call(this, data);
2041
+ return [2 /*return*/];
2042
+ }
2043
+ });
2040
2044
  });
2041
- }); };
2045
+ };
2042
2046
  _exportedItems.set(this, function (pageNumber, pageSize) {
2043
2047
  if (pageNumber === void 0) { pageNumber = 0; }
2044
2048
  if (pageSize === void 0) { pageSize = 10000; }
@@ -2369,7 +2373,7 @@
2369
2373
  }); };
2370
2374
  this.onFilterChange = function () {
2371
2375
  __classPrivateFieldGet(_this, _paginator).pageIndex = 0;
2372
- _this.reload();
2376
+ _this.reload(false);
2373
2377
  };
2374
2378
  this.onExpand = function (rowData) { return __awaiter(_this, void 0, void 0, function () {
2375
2379
  var _q, _r, _s, data;