UNPKG

@rangertechnologies/ngnxt

Version:

This library was used for creating dymanic UI based on the input JSON/data

39 lines (38 loc) 2.19 kB
import { OnInit, EventEmitter } from '@angular/core'; import { Subscription } from 'rxjs'; import { ChangeWrapper } from '../../model/changeWrapper'; import { ChangeService } from '../../services/change.service'; import { I18nService } from '../../i18n.service'; import { DataService } from '../../services/data.service'; import * as i0 from "@angular/core"; export declare class CustomDropdownComponent implements OnInit { private changeService; private dataService; i18nService: I18nService; options: any[]; placeholder: string; apiMeta: string; selectedValue: string; progressBar: boolean; id: string; readOnly: boolean; errorMessage: string; error: any; fromShengel: boolean; question: any; referenceField: string; token: string; valueChange: EventEmitter<ChangeWrapper>; invalidFieldIds: string[]; constructor(changeService: ChangeService, dataService: DataService, i18nService: I18nService); labelField: string; valueField: string; subscription: Subscription; uniqueKey: string; apiObj: any; ngOnInit(): void; getOptions(): void; selectChange(event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration<CustomDropdownComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<CustomDropdownComponent, "app-custom-dropdown", never, { "options": { "alias": "options"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "apiMeta": { "alias": "apiMeta"; "required": false; }; "selectedValue": { "alias": "selectedValue"; "required": false; }; "progressBar": { "alias": "progressBar"; "required": false; }; "id": { "alias": "id"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "errorMessage": { "alias": "errorMessage"; "required": false; }; "error": { "alias": "error"; "required": false; }; "fromShengel": { "alias": "fromShengel"; "required": false; }; "question": { "alias": "question"; "required": false; }; "referenceField": { "alias": "referenceField"; "required": false; }; "token": { "alias": "token"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>; }