@rangertechnologies/ngnxt 2.2.0 → 2.2.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rangertechnologies/ngnxt",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^22.0.0",
6
6
  "@angular/core": "^22.0.0"
@@ -990,11 +990,15 @@ declare class NxtMultiSelect implements OnInit, OnDestroy {
990
990
  searchText: string;
991
991
  filteredOptions: any[];
992
992
  selectedValues: any[];
993
+ private searchSubject;
994
+ private destroy$;
995
+ private selectedOptionsPool;
993
996
  constructor(countryService: CountryService, translationService: TranslationService, changeService: ChangeService, dataService: DataService, storageService: StorageService, cdr: ChangeDetectorRef);
994
997
  ngOnInit(): void;
995
998
  ngOnChanges(changes: SimpleChanges): void;
996
999
  ngOnDestroy(): void;
997
- getOptions(): void;
1000
+ getOptions(searchKeyword?: string): void;
1001
+ private fetchOptionsFromApi;
998
1002
  toggle(event?: Event): void;
999
1003
  openOptions(): void;
1000
1004
  toggleOption(option: any, event?: Event): void;
@@ -1022,6 +1026,9 @@ declare class NxtMultiSelect implements OnInit, OnDestroy {
1022
1026
  highlightOptionText(text: string): string;
1023
1027
  getOptionValue(option: any): any;
1024
1028
  onDocumentClick(event: MouseEvent): void;
1029
+ private toArray;
1030
+ private parseApiMeta;
1031
+ private recordSelectedOption;
1025
1032
  private normalizeSelectedValues;
1026
1033
  private getChangeField;
1027
1034
  private getComparableValue;
Binary file