@smartsoft001/crud-shell-angular 1.1.641 → 1.1.645
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/smartsoft001-crud-shell-angular.umd.js +3 -3
- package/bundles/smartsoft001-crud-shell-angular.umd.js.map +1 -1
- package/esm2015/lib/pages/list/list.component.js +4 -4
- package/fesm2015/smartsoft001-crud-shell-angular.js +3 -3
- package/fesm2015/smartsoft001-crud-shell-angular.js.map +1 -1
- package/package.json +8 -7
|
@@ -2088,7 +2088,7 @@
|
|
|
2088
2088
|
this.baseInstance.listOptions = this.listOptions;
|
|
2089
2089
|
};
|
|
2090
2090
|
ListComponent.prototype.ngOnInit = function () {
|
|
2091
|
-
var _a;
|
|
2091
|
+
var _a, _b;
|
|
2092
2092
|
return __awaiter(this, void 0, void 0, function () {
|
|
2093
2093
|
var endButtons, compiledComponents, _f, _g;
|
|
2094
2094
|
var _this = this;
|
|
@@ -2097,7 +2097,7 @@
|
|
|
2097
2097
|
case 0: return [4 /*yield*/, this.pageService.checkPermissions()];
|
|
2098
2098
|
case 1:
|
|
2099
2099
|
_h.sent();
|
|
2100
|
-
if (this.config.list.resetQuery === 'beforeInit') {
|
|
2100
|
+
if (((_a = this.config.list) === null || _a === void 0 ? void 0 : _a.resetQuery) === 'beforeInit') {
|
|
2101
2101
|
this.facade.read(Object.assign({ query: __spreadArray([], __read(this.config.baseQuery)), paginationMode: this.config.list.paginationMode, limit: this.config.pagination ? this.config.pagination.limit : null, offset: this.config.pagination ? 0 : null, sortBy: this.config.sort ? this.config.sort["default"] : null, sortDesc: this.config.sort ? this.config.sort["defaultDesc"] : null }, this.searchService.filter));
|
|
2102
2102
|
}
|
|
2103
2103
|
else {
|
|
@@ -2169,7 +2169,7 @@
|
|
|
2169
2169
|
loading$: this.facade.loaded$.pipe(operators.map(function (l) { return !l; })),
|
|
2170
2170
|
},
|
|
2171
2171
|
cellPipe: this.config.list ? this.config.list.cellPipe : null,
|
|
2172
|
-
mode: (
|
|
2172
|
+
mode: (_b = this.config.list) === null || _b === void 0 ? void 0 : _b.mode,
|
|
2173
2173
|
type: this.config.type,
|
|
2174
2174
|
details: this.config.details
|
|
2175
2175
|
? {
|