aeb-ui-kit 10.0.0-preview.1175 → 10.0.0-preview.1177
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/fesm2022/aeb-ui-kit.mjs
CHANGED
|
@@ -3842,7 +3842,7 @@ class Pagination {
|
|
|
3842
3842
|
this.pageSize = input(10, ...(ngDevMode ? [{ debugName: "pageSize" }] : []));
|
|
3843
3843
|
this.pageSelect = output();
|
|
3844
3844
|
this.amountChange = output();
|
|
3845
|
-
this.activePage = signal(
|
|
3845
|
+
this.activePage = signal(this.currentPage(), ...(ngDevMode ? [{ debugName: "activePage" }] : []));
|
|
3846
3846
|
this.pageSizeControl = new FormControl(10);
|
|
3847
3847
|
this.head = computed(() => {
|
|
3848
3848
|
const total = this.totalPages();
|
|
@@ -3898,6 +3898,9 @@ class Pagination {
|
|
|
3898
3898
|
}, ...(ngDevMode ? [{ debugName: "tail" }] : []));
|
|
3899
3899
|
this.amountOptions = defaultAmountOptions;
|
|
3900
3900
|
this.pageSizeControl.setValue(this.pageSize());
|
|
3901
|
+
effect(() => {
|
|
3902
|
+
this.activePage.set(this.currentPage());
|
|
3903
|
+
});
|
|
3901
3904
|
}
|
|
3902
3905
|
headPageHandler(page) {
|
|
3903
3906
|
this.activePage.set(page);
|