aeb-ui-kit 4.0.1-preview.714 → 4.0.1-preview.720
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/esm2020/lib/file-attach/components/attach-button/attach-button.component.mjs +1 -1
- package/esm2020/lib/pagination/pagination.component.mjs +4 -3
- package/fesm2015/aeb-ui-kit.mjs +3 -2
- package/fesm2015/aeb-ui-kit.mjs.map +1 -1
- package/fesm2020/aeb-ui-kit.mjs +3 -2
- package/fesm2020/aeb-ui-kit.mjs.map +1 -1
- package/lib/file-attach/components/attach-button/attach-button.component.d.ts +1 -1
- package/lib/pagination/pagination.component.d.ts +1 -1
- package/package.json +1 -1
package/fesm2020/aeb-ui-kit.mjs
CHANGED
|
@@ -3817,7 +3817,7 @@ class PaginationComponent {
|
|
|
3817
3817
|
this.totalPages = 1500;
|
|
3818
3818
|
this.currentPage = 1;
|
|
3819
3819
|
this.usePageSizeSelector = false;
|
|
3820
|
-
this.pageSize =
|
|
3820
|
+
this.pageSize = 10;
|
|
3821
3821
|
this.pageSelect = new EventEmitter();
|
|
3822
3822
|
this.amountChange = new EventEmitter();
|
|
3823
3823
|
this.isPagination = true;
|
|
@@ -3846,7 +3846,8 @@ class PaginationComponent {
|
|
|
3846
3846
|
}
|
|
3847
3847
|
}
|
|
3848
3848
|
ngOnInit() {
|
|
3849
|
-
|
|
3849
|
+
// меняется тип, потому что app-select и option принимают только string
|
|
3850
|
+
this.pageSizeControl.setValue(this.pageSize.toString());
|
|
3850
3851
|
this.renderPages(this.currentPage);
|
|
3851
3852
|
}
|
|
3852
3853
|
ngOnDestroy() { }
|