import { OnInit } from '@angular/core'; import { IComponentGroup, IComponentDef } from '../shared/interfaces'; import { SFSchema } from '@delon/form'; import * as i0 from "@angular/core"; export declare class FormDesignerComponent implements OnInit { private document; logo: string; /** 所有控件 */ componentGroups: IComponentGroup[]; /** 表单控件 */ rootComponent: IComponentDef; /** 当前选中控件 */ selectComponent: IComponentDef | null; /** 默认值 */ defaultValues: any; /** 撤销和重做 */ undoRedo: boolean; /** 历史记录 */ history: { index: number; maxStep: number; steps: any[]; }; /** 工具条 */ toolbar: string[]; /** 导入json */ importJson: string; importJsonVisible: boolean; /** json预览 */ previewJson: string; previewJsonVisible: boolean; /** 预览表单 */ previewForm: SFSchema; previewFormVisible: boolean; constructor(document: Document); ngOnInit(): void; /** 运行 */ run(): void; /** 显示json */ showJson(): void; /** 导出vue文件 */ download(): void; /** 复制代码 */ copy(): void; /** 清空 */ empty(): void; handleSelectWidget(widget: IComponentDef, i: number): void; /** 撤销 */ handleUndo(): void; /** 重做 */ handleRedo(): void; /** 导入JSON */ handleImportJson(): void; /** 生成JSON */ handleGenerateJson(): void; /** 预览 */ handlePreview(): void; /** 清空 */ handleClear(): void; /** 关闭导入json面板 */ closeImportJson(): void; /** 获取当前json */ getJson(): string; /** 使用接口返回值渲染form组件 */ importJsonByApi(val: any): void; /** 关闭预览表单json面板 */ closePreviewJson(): void; /** 关闭预览表单面板 */ closePreviewForm(): void; sfSubmit(value: any): void; sfReset(value: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }