import { EventEmitter, OnChanges } from '@angular/core'; import { CoreCommonService } from '../../providers/services/common.service'; import { CoreHttpService } from '../../utilities/services/http.service'; import { CoreUtilityService } from '../../utilities/services/utility.service'; export declare class SearchableDropdownComponent implements OnChanges { private coreCommonService; private coreHttpService; environment: any; private coreUtilityService; field: any; form: any; type: any; parentScope: any; dynamicControlScope: any; isBundle: boolean; subdomain: any; options: any[]; optionscopy: any[]; controlReady: EventEmitter; private eventSubscriptionsList; constructor(coreCommonService: CoreCommonService, coreHttpService: CoreHttpService, environment: any, coreUtilityService: CoreUtilityService); /** * A callback method that is invoked if any data-bound properties change */ ngOnChanges(): void; /** * This method will handle control load * NOTE: Sequence of function calls need to be exactly same as below */ private handleControlLoad; /** * This method will register the events */ private registerEvents; /** * getter function to check mandatory fields */ get isMandatory(): boolean; /** * This method will notify when control is ready */ private notifyControlLoadComplete; /** * This method will register dropdown value changes */ private registerChangeEmitterEvent; /** * This method will register change emitter event */ private registerDropdownValueChange; /** * options array * @param logicalName - logical name */ optionsArray(logicalName: string): any[]; /** * This method will call the schema functions by name */ callFunctionByName(fnName: string, ...params: any): Promise; /** * This method will load dropdown options list */ private loadDropdownOptionsList; /** * This method will listen for any update in dropdown field */ private updateListenerDropdownField; /** * This method will change the dropdown values */ changeDrpodownValues(dropDownPayload: any, logicalName: string): void; /** * This method onchange select valut */ onValueChanged(event: any, logicalName: string): void; /** * This method will set the list of options */ setOptionList(isToggled: any, logicalName: any): void; /** * The trackBy function takes the index and the current item as arguments * and needs to return the unique identifier for this item * @param index - item index */ trackByFn(index: number, item: any): number; }