import { OnInit, ViewRef } from '@angular/core'; import { Observable } from 'rxjs'; import { LayoutHostDirective } from '../../components/layout-host.directive'; import { AbstractContainer, AbstractControl, ControlDataModel, ControlLayoutModel, ControlViewModel } from '../../types/control.types'; import { DynamicFormDataConfig } from '../../types/designer.types'; import { ControlShared, ControlTranslate } from '../../utils'; /** * @description 抽象控件容器 * * @export */ export declare class AbstractControlContainerComponent implements AbstractContainer, OnInit { viewOnly?: boolean; dataConfig: DynamicFormDataConfig; valid: boolean; type: string; isDesign: boolean; model: T; children: AbstractControl[]; parent: AbstractControl; isContainer: boolean; controlTranslate: ControlTranslate; controlShared: ControlShared; hidden: boolean; private _model; ngOnInit(): void; setModelValue(value: string): void; getModelValue(): string; readonly designHostClass: string; readonly class: string; readonly hiddenClass: string; readonly propertyValueChanged$: Observable<{ name: string; value: any; }>; layoutHost: LayoutHostDirective; private _propertyValueChanged; constructor(); propertyValueChanged(name: string, value: any): void; bindEvents(): void; validate(): void; addControls(controls: Array): Observable[]>; addControl(control: ControlLayoutModel): Observable>; removeControl(index?: number): void; moveUpView(hostView: ViewRef): void; moveDownView(hostView: ViewRef): void; getDataModel(): ControlDataModel; }