nexheal-lib 0.0.51 → 0.0.52
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/nexheal-lib.mjs +63 -31
- package/fesm2022/nexheal-lib.mjs.map +1 -1
- package/index.d.ts +8 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -510,8 +510,8 @@ declare class PaginatedAutocompleteControl implements ControlValueAccessor, OnIn
|
|
|
510
510
|
private preventClearOnBlur;
|
|
511
511
|
private searchInput$;
|
|
512
512
|
private cancelPendingSearch;
|
|
513
|
-
/**
|
|
514
|
-
private
|
|
513
|
+
/** Arrow mode: cache of visited pages for the current search */
|
|
514
|
+
private pageCache;
|
|
515
515
|
private onChange;
|
|
516
516
|
private onTouched;
|
|
517
517
|
inputElement: ElementRef;
|
|
@@ -526,6 +526,7 @@ declare class PaginatedAutocompleteControl implements ControlValueAccessor, OnIn
|
|
|
526
526
|
highlightedIndex: number | null;
|
|
527
527
|
currentPage: number;
|
|
528
528
|
get hasMore(): boolean;
|
|
529
|
+
get totalPages(): number;
|
|
529
530
|
constructor();
|
|
530
531
|
ngOnInit(): void;
|
|
531
532
|
ngAfterViewInit(): void;
|
|
@@ -537,6 +538,11 @@ declare class PaginatedAutocompleteControl implements ControlValueAccessor, OnIn
|
|
|
537
538
|
setDisabledState?(isDisabled: boolean): void;
|
|
538
539
|
private loadPage;
|
|
539
540
|
loadNextPage(): void;
|
|
541
|
+
/** Arrow mode: show an already-visited page instantly, no API call */
|
|
542
|
+
private showCachedPage;
|
|
543
|
+
nextArrowPage(): void;
|
|
544
|
+
prevArrowPage(): void;
|
|
545
|
+
private resetListScroll;
|
|
540
546
|
onListScroll(event: Event): void;
|
|
541
547
|
onLoadMoreClick(event: MouseEvent): void;
|
|
542
548
|
/** Call from the parent's API error handler to unblock paging and show a
|