ngx-antd-form-builder
Version:
Simple Drag&Drop form builder using ng-zorro-antd
24 lines (23 loc) • 1.17 kB
TypeScript
import { EventEmitter, OnChanges, SimpleChanges } from "@angular/core";
import { UntypedFormBuilder, UntypedFormGroup } from "@angular/forms";
import * as i0 from "@angular/core";
export declare class NgxAntdFormViewerComponent implements OnChanges {
private fb;
json: any;
initData: {
[key: string]: any;
};
readonly readonly: boolean;
readonly needInit: boolean;
readonly Submit: EventEmitter<any>;
_form: UntypedFormGroup;
private _flatResult;
constructor(fb: UntypedFormBuilder);
ngOnChanges(changes: SimpleChanges): void;
refreshReadOnly(readonly: boolean): void;
refreshFormGroup(): void;
getData(): any;
checkValid(): any[];
static ɵfac: i0.ɵɵFactoryDeclaration<NgxAntdFormViewerComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NgxAntdFormViewerComponent, "ngx-antd-form-viewer", never, { "json": { "alias": "json"; "required": false; }; "initData": { "alias": "initData"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "needInit": { "alias": "needInit"; "required": false; }; }, { "Submit": "Submit"; }, never, never, true, never>;
}