chrv-components 1.11.75 → 1.11.77
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.
|
Binary file
|
|
@@ -2921,7 +2921,8 @@ class ChrPaginatorComponent {
|
|
|
2921
2921
|
// this.dataService.set(`${this.id()}_page`, page);
|
|
2922
2922
|
};
|
|
2923
2923
|
this.setPageEventHandler = (event) => {
|
|
2924
|
-
|
|
2924
|
+
this.setPage(event.target.value);
|
|
2925
|
+
this.isPageEditing.set(false);
|
|
2925
2926
|
};
|
|
2926
2927
|
this.isFirstPage = computed(() => this.page() == 1);
|
|
2927
2928
|
this.setPageSize = (pageSize) => {
|
|
@@ -2936,12 +2937,12 @@ class ChrPaginatorComponent {
|
|
|
2936
2937
|
this.focusInput = () => {
|
|
2937
2938
|
this.pageInput().forceFocus();
|
|
2938
2939
|
};
|
|
2939
|
-
effect(() => {
|
|
2940
|
-
|
|
2941
|
-
});
|
|
2942
|
-
effect(() => {
|
|
2943
|
-
|
|
2944
|
-
});
|
|
2940
|
+
// effect(() => {
|
|
2941
|
+
// this.dataService.set(`${this.id()}_page`, this.page() - 1);
|
|
2942
|
+
// });
|
|
2943
|
+
// effect(() => {
|
|
2944
|
+
// this.dataService.set(`${this.id()}_pagesize`, this.pageSize());
|
|
2945
|
+
// });
|
|
2945
2946
|
}
|
|
2946
2947
|
ngAfterContentChecked() {
|
|
2947
2948
|
const paginationInstance = this.service.getInstance(`${this.id()}`);
|