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/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
- /** When set, the highlight jumps to this index after the next page appends */
514
- private pendingHighlightIndex;
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexheal-lib",
3
- "version": "0.0.51",
3
+ "version": "0.0.52",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.1.0",
6
6
  "@angular/core": "^20.1.0"