nexheal-lib 0.0.51 → 0.0.53
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 +69 -31
- package/fesm2022/nexheal-lib.mjs.map +1 -1
- package/index.d.ts +10 -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,9 @@ declare class PaginatedAutocompleteControl implements ControlValueAccessor, OnIn
|
|
|
526
526
|
highlightedIndex: number | null;
|
|
527
527
|
currentPage: number;
|
|
528
528
|
get hasMore(): boolean;
|
|
529
|
+
get totalPages(): number;
|
|
530
|
+
get pageRangeStart(): number;
|
|
531
|
+
get pageRangeEnd(): number;
|
|
529
532
|
constructor();
|
|
530
533
|
ngOnInit(): void;
|
|
531
534
|
ngAfterViewInit(): void;
|
|
@@ -537,6 +540,11 @@ declare class PaginatedAutocompleteControl implements ControlValueAccessor, OnIn
|
|
|
537
540
|
setDisabledState?(isDisabled: boolean): void;
|
|
538
541
|
private loadPage;
|
|
539
542
|
loadNextPage(): void;
|
|
543
|
+
/** Arrow mode: show an already-visited page instantly, no API call */
|
|
544
|
+
private showCachedPage;
|
|
545
|
+
nextArrowPage(): void;
|
|
546
|
+
prevArrowPage(): void;
|
|
547
|
+
private resetListScroll;
|
|
540
548
|
onListScroll(event: Event): void;
|
|
541
549
|
onLoadMoreClick(event: MouseEvent): void;
|
|
542
550
|
/** Call from the parent's API error handler to unblock paging and show a
|