|
|
@ -16,7 +16,8 @@ import { |
|
|
OnChanges, |
|
|
OnChanges, |
|
|
OnInit, |
|
|
OnInit, |
|
|
SimpleChanges, |
|
|
SimpleChanges, |
|
|
ViewChild |
|
|
ViewChild, |
|
|
|
|
|
viewChild |
|
|
} from '@angular/core'; |
|
|
} from '@angular/core'; |
|
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; |
|
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; |
|
|
import { |
|
|
import { |
|
|
@ -83,15 +84,16 @@ export class GfSymbolAutocompleteComponent |
|
|
@Input() public defaultLookupItems: LookupItem[] = []; |
|
|
@Input() public defaultLookupItems: LookupItem[] = []; |
|
|
@Input() public isLoading = false; |
|
|
@Input() public isLoading = false; |
|
|
|
|
|
|
|
|
@ViewChild('symbolAutocomplete') public symbolAutocomplete: MatAutocomplete; |
|
|
|
|
|
|
|
|
|
|
|
@Input() private includeIndices = false; |
|
|
@Input() private includeIndices = false; |
|
|
|
|
|
|
|
|
@ViewChild(MatInput) private input: MatInput; |
|
|
@ViewChild(MatInput) private input: MatInput; |
|
|
|
|
|
|
|
|
public control = new FormControl(); |
|
|
public readonly control = new FormControl(); |
|
|
public lookupItems: (LookupItem & { assetSubClassString: string })[] = []; |
|
|
public lookupItems: (LookupItem & { assetSubClassString: string })[] = []; |
|
|
|
|
|
|
|
|
|
|
|
protected readonly symbolAutocomplete = |
|
|
|
|
|
viewChild.required<MatAutocomplete>('symbolAutocomplete'); |
|
|
|
|
|
|
|
|
private readonly destroyRef = inject(DestroyRef); |
|
|
private readonly destroyRef = inject(DestroyRef); |
|
|
|
|
|
|
|
|
public constructor( |
|
|
public constructor( |
|
|
|