nexheal-lib 0.0.68 → 0.0.69

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
@@ -522,8 +522,12 @@ declare class PaginatedAutocompleteControl implements ControlValueAccessor, OnIn
522
522
  paginationType: 'scroll' | 'click' | 'arrow';
523
523
  pageSize: number;
524
524
  searchDebounce: number;
525
- /** Min trimmed characters before page-1 search / pageChange (0 = no minimum). Empty search always allowed. */
526
- minSearchLength: number;
525
+ /**
526
+ * Omit: search runs only from the search icon (and Enter). Set a number: type-to-search
527
+ * with that minimum trimmed length (empty search still loads the full list). Pass 0 for
528
+ * type-to-search with no minimum.
529
+ */
530
+ minSearchLength?: number;
527
531
  /** Re-fetch page 1 every time the dropdown opens, instead of reusing cached results */
528
532
  refreshOnOpen: boolean;
529
533
  /** Total record count for the current search, from the API response */
@@ -569,6 +573,8 @@ declare class PaginatedAutocompleteControl implements ControlValueAccessor, OnIn
569
573
  get pageRangeEnd(): number;
570
574
  /** Disabled via @Input or reactive forms (ControlValueAccessor). */
571
575
  get controlDisabled(): boolean;
576
+ /** `minSearchLength` omitted — API only via search icon / Enter, not while typing. */
577
+ get searchOnButtonOnly(): boolean;
572
578
  constructor();
573
579
  ngOnInit(): void;
574
580
  ngAfterViewInit(): void;
@@ -600,9 +606,12 @@ declare class PaginatedAutocompleteControl implements ControlValueAccessor, OnIn
600
606
  onFocus(): void;
601
607
  onInputClick(): void;
602
608
  onSearchIconClick(event: MouseEvent): void;
609
+ private runSearchAction;
603
610
  /** Text to search with when the dropdown opens: if the input just holds the
604
611
  * selected item's display text, open with the full list instead. */
605
612
  private openSearchTerm;
613
+ /** Reopen the dropdown from cached results for `term` without calling the API. */
614
+ private tryReopenCachedSearch;
606
615
  private openWithSearch;
607
616
  onBlur(): void;
608
617
  onKeyDown(event: KeyboardEvent): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexheal-lib",
3
- "version": "0.0.68",
3
+ "version": "0.0.69",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.1.0",
6
6
  "@angular/core": "^20.1.0"