UNPKG

ng2-easyform

Version:

angular2 angular4 ng2

45 lines (44 loc) 1.49 kB
import { OnInit, SimpleChanges } from '@angular/core'; import { FormGroup, AbstractControl } from '@angular/forms'; import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import { MdSelectField } from './md-select.field'; import { EfDictdataService } from '../../core/service/dictdata.service'; export declare class MdSelectComponent implements OnInit { private http; private efDictdataService; isEasyForm: boolean; key: string; label: string; span: number; offset: number; hidden: boolean; disabled: boolean; optionsOb: Observable<any>; options: any[]; optionId: string; optionName: string; multiple: boolean; noneOption: boolean; field: MdSelectField; form: FormGroup; model: any; controll: AbstractControl; dictName: string; eNfxFlex: string; eNfxFlexXs: string; classExpression: any; constructor(http: HttpClient, efDictdataService: EfDictdataService); ngOnInit(): void; patchValueToView(): void; OnChange(change: any): void; ngclasses(): { 'form-group': boolean; }; getDictDataObserable(dictName: string): Observable<any[]>; getDataSourceObserable(url: string): Observable<any[]>; ngOnChanges(changes: SimpleChanges): void; getOptionObj(optionId: string): any; static handleValue(type: string, input: any, field: any): any; static isMutipleField(field: any): any; }