@smartsoft001/crud-shell-angular 1.1.631 → 1.1.636
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 +19 -7
- package/bundles/smartsoft001-crud-shell-angular.umd.js.map +1 -1
- package/esm2015/lib/crud.config.js +1 -1
- package/esm2015/lib/pages/list/list.component.js +20 -8
- package/fesm2015/smartsoft001-crud-shell-angular.js +19 -7
- package/fesm2015/smartsoft001-crud-shell-angular.js.map +1 -1
- package/lib/crud.config.d.ts +1 -0
- package/lib/crud.config.d.ts.map +1 -1
- package/lib/pages/list/list.component.d.ts +2 -2
- package/lib/pages/list/list.component.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -2049,13 +2049,25 @@
|
|
|
2049
2049
|
case 0: return [4 /*yield*/, this.pageService.checkPermissions()];
|
|
2050
2050
|
case 1:
|
|
2051
2051
|
_h.sent();
|
|
2052
|
-
this.
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2052
|
+
if (this.config.list.resetQuery === 'beforeInit') {
|
|
2053
|
+
this.facade.read({
|
|
2054
|
+
query: __spreadArray([], __read(this.config.baseQuery)),
|
|
2055
|
+
paginationMode: this.config.list.paginationMode,
|
|
2056
|
+
limit: this.config.pagination ? this.config.pagination.limit : null,
|
|
2057
|
+
offset: this.config.pagination ? 0 : null,
|
|
2058
|
+
sortBy: this.config.sort ? this.config.sort["default"] : null,
|
|
2059
|
+
sortDesc: this.config.sort ? this.config.sort["defaultDesc"] : null,
|
|
2060
|
+
});
|
|
2061
|
+
}
|
|
2062
|
+
else {
|
|
2063
|
+
this.facade.read({
|
|
2064
|
+
paginationMode: this.config.list.paginationMode,
|
|
2065
|
+
limit: this.config.pagination ? this.config.pagination.limit : null,
|
|
2066
|
+
offset: this.config.pagination ? 0 : null,
|
|
2067
|
+
sortBy: this.config.sort ? this.config.sort["default"] : null,
|
|
2068
|
+
sortDesc: this.config.sort ? this.config.sort["defaultDesc"] : null,
|
|
2069
|
+
});
|
|
2070
|
+
}
|
|
2059
2071
|
endButtons = this.getEndButtons();
|
|
2060
2072
|
this.pageOptions = {
|
|
2061
2073
|
title: this.config.title,
|