import { ProvidersService } from 'fccore2';
import { FormGroup, FormBuilder } from '@angular/forms';
import { FcinputComponent } from '../fcinput';
import { FcmodallistComponent } from '../fcmodal/fcmodallist.component';
import { FCEVENT } from '../fc';
import { Sysappbuttons, Sysappfields } from 'fccore2';
import { ResponseResult } from 'fccore2';
export declare class FcadformComponent extends FcinputComponent {
    provider: ProvidersService;
    private fb;
    modalList: FcmodallistComponent;
    /** 字段列*/
    fcOption: FcadformOption;
    _modalOption: FcformmodalOption;
    private _tempCopyInfo;
    constructor(provider: ProvidersService, fb: FormBuilder);
    _search(event: any, field: any, dicApps: any[]): void;
    _modalClose(event: FCEVENT): void;
    /**
     * 父级初始化完成后执行方法
     */
    _afterParentInit(): void;
    /**
    * 后退
    */
    private _back;
    /**
     *
     * @param  事件按钮
     */
    _event($event: FCEVENT): void;
    private _doAct;
    _afterAct($event: Sysappbuttons, result: ResponseResult): void;
    /**
     * 下一条
     */
    private _next;
    /**
     *  上一条
     */
    private _prev;
    _getFormControl(name: any): any;
}
export interface FcadformOption {
    /**表单标题*/
    fcTitle?: string;
    /**表单副标题*/
    fcSubTitle?: string;
    fcFields?: Sysappfields[];
    /** 表单配置*/
    fcToolbar?: Sysappbuttons[];
    fcFieldDics?: any;
    fcAct?: FORMACTION;
    fcLayout?: string;
    fcValidate?: FormGroup;
    /**分列数*/
    fcSpans?: number;
}
export interface FcformmodalOption {
    fcAppid: string;
    fcTitle: string;
    fcType: string;
    fcCondition: string;
}
export declare enum FORMACTION {
    ADD = /**修改*/ 0,
    MODIFY = 1
}
export declare const FORMLAYOUT: {
    INLINE: string;
    HORIZONTAL: string;
    VERTICAL: string;
};
