nexheal-lib 0.0.69 → 0.0.70
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 +24 -126
- package/fesm2022/nexheal-lib.mjs.map +1 -1
- package/index.d.ts +1 -19
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -509,7 +509,6 @@ declare class PaginatedAutocompleteControl implements ControlValueAccessor, OnIn
|
|
|
509
509
|
required: boolean;
|
|
510
510
|
placeholder: string;
|
|
511
511
|
customClass: string;
|
|
512
|
-
showSearchIcon: boolean;
|
|
513
512
|
clearVal: boolean;
|
|
514
513
|
error: boolean;
|
|
515
514
|
errorMessage: string;
|
|
@@ -522,12 +521,6 @@ declare class PaginatedAutocompleteControl implements ControlValueAccessor, OnIn
|
|
|
522
521
|
paginationType: 'scroll' | 'click' | 'arrow';
|
|
523
522
|
pageSize: number;
|
|
524
523
|
searchDebounce: 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;
|
|
531
524
|
/** Re-fetch page 1 every time the dropdown opens, instead of reusing cached results */
|
|
532
525
|
refreshOnOpen: boolean;
|
|
533
526
|
/** Total record count for the current search, from the API response */
|
|
@@ -571,10 +564,6 @@ declare class PaginatedAutocompleteControl implements ControlValueAccessor, OnIn
|
|
|
571
564
|
get totalPages(): number;
|
|
572
565
|
get pageRangeStart(): number;
|
|
573
566
|
get pageRangeEnd(): number;
|
|
574
|
-
/** Disabled via @Input or reactive forms (ControlValueAccessor). */
|
|
575
|
-
get controlDisabled(): boolean;
|
|
576
|
-
/** `minSearchLength` omitted — API only via search icon / Enter, not while typing. */
|
|
577
|
-
get searchOnButtonOnly(): boolean;
|
|
578
567
|
constructor();
|
|
579
568
|
ngOnInit(): void;
|
|
580
569
|
ngAfterViewInit(): void;
|
|
@@ -584,9 +573,6 @@ declare class PaginatedAutocompleteControl implements ControlValueAccessor, OnIn
|
|
|
584
573
|
registerOnChange(fn: any): void;
|
|
585
574
|
registerOnTouched(fn: any): void;
|
|
586
575
|
setDisabledState?(isDisabled: boolean): void;
|
|
587
|
-
private onControlDisabled;
|
|
588
|
-
private isSearchAllowed;
|
|
589
|
-
private handleSearchBelowMinLength;
|
|
590
576
|
private loadPage;
|
|
591
577
|
loadNextPage(): void;
|
|
592
578
|
/** Arrow mode: show an already-visited page instantly, no API call */
|
|
@@ -605,13 +591,9 @@ declare class PaginatedAutocompleteControl implements ControlValueAccessor, OnIn
|
|
|
605
591
|
onUserType(event: Event): void;
|
|
606
592
|
onFocus(): void;
|
|
607
593
|
onInputClick(): void;
|
|
608
|
-
onSearchIconClick(event: MouseEvent): void;
|
|
609
|
-
private runSearchAction;
|
|
610
594
|
/** Text to search with when the dropdown opens: if the input just holds the
|
|
611
595
|
* selected item's display text, open with the full list instead. */
|
|
612
596
|
private openSearchTerm;
|
|
613
|
-
/** Reopen the dropdown from cached results for `term` without calling the API. */
|
|
614
|
-
private tryReopenCachedSearch;
|
|
615
597
|
private openWithSearch;
|
|
616
598
|
onBlur(): void;
|
|
617
599
|
onKeyDown(event: KeyboardEvent): void;
|
|
@@ -622,7 +604,7 @@ declare class PaginatedAutocompleteControl implements ControlValueAccessor, OnIn
|
|
|
622
604
|
private scrollHighlightedItemIntoView;
|
|
623
605
|
resetInput(): void;
|
|
624
606
|
static ɵfac: i0.ɵɵFactoryDeclaration<PaginatedAutocompleteControl, never>;
|
|
625
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PaginatedAutocompleteControl, "paginated-autocomplete-control", never, { "title": { "alias": "title"; "required": false; }; "required": { "alias": "required"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "
|
|
607
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PaginatedAutocompleteControl, "paginated-autocomplete-control", never, { "title": { "alias": "title"; "required": false; }; "required": { "alias": "required"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "clearVal": { "alias": "clearVal"; "required": false; }; "error": { "alias": "error"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "inputLoader": { "alias": "inputLoader"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "isAddNewItem": { "alias": "isAddNewItem"; "required": false; }; "optionDisplayProperty": { "alias": "optionDisplayProperty"; "required": false; }; "paginationType": { "alias": "paginationType"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "searchDebounce": { "alias": "searchDebounce"; "required": false; }; "refreshOnOpen": { "alias": "refreshOnOpen"; "required": false; }; "totalCount": { "alias": "totalCount"; "required": false; }; "options": { "alias": "options"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "pageChange": "pageChange"; "optionSelected": "optionSelected"; "selectionCleared": "selectionCleared"; "blurEvent": "blurEvent"; "optionPatched": "optionPatched"; "addNewItemClicked": "addNewItemClicked"; }, never, never, true, never>;
|
|
626
608
|
}
|
|
627
609
|
|
|
628
610
|
/**
|