import { CdkDragDrop, CdkDragEnter, CdkDragStart, CdkDropList } from '@angular/cdk/drag-drop'; import { Field, Handler, Report } from '../../../components/forms/form.interfaces'; import { AfterViewInit, ElementRef, Injector, OnInit } from '@angular/core'; import { BaseInjector } from '../../../services/base-injector.model'; import { MatDialog } from '@angular/material/dialog'; import { EditorService } from '../../../services/editor/editor.service'; import { ReplaySubject } from 'rxjs'; import { MatTabGroup } from '@angular/material/tabs'; import * as i0 from "@angular/core"; interface Tree { id: string; children: Tree[]; field: Field; } export declare class FormEditComponent extends BaseInjector implements OnInit, AfterViewInit { dialog: MatDialog; editService: EditorService; constructor(dialog: MatDialog, context: Injector, editService: EditorService); readonly separatorKeysCodes: number[]; label: string; handlers: Handler[]; reports: Report[]; id: string; fields: Field[]; preview: any; local_forms_storage: any[]; processes: []; tasks: []; task: string; virtual_containers: string[]; drop_lists: string[]; sidebarElems: any[]; cdk_tree_data: Tree[]; dropTargetIds: CdkDropList[]; picked_field: Field; parent_node: Tree; hovered_field_id: string; panelsWidth: { sidebar: number; chose_panel: number; settings: number; tabs: number; }; destroy: ReplaySubject; setTask(key: string): void; private dlq; Tabs: MatTabGroup; $form_description_file_input: ElementRef; ngOnInit(): void; ngAfterViewInit(): void; initalCdkDropListDetect(): Promise; initAddContainer(): void; loadFormDescriptionFromTextFile(): void; convertArrayParamsToObject(params: any[]): {}; get can_upload_current_form(): string; downloadForm(from_file?: boolean): void; saveForm(to_file?: boolean): void; createContext(to_file?: boolean, form?: any): any; setContext(task: string, from_file?: boolean): void; calculateNestedDDTree(): void; prepareDD(nodes: Tree[]): void; resetPreview(): Promise; fillElementTemplateForArrayAccrodin(field: Field): any; fetchArrayAccordionFields(attrName: string, templateName: string, controlType: string): Promise; getAllFieldsFromNode(attrName: string): Field[]; goBack(): void; definePicked(): any; addParam(param: string, value?: string, field?: Field): void; deleteParam(income_param: string, field?: Field): void; deleteHandler(a?: any): void; addHandler(): void; copyHandler(a?: any): void; remove(a: any, b: any): void; add(a: any, b: any): void; constDelete(a: any, b: any): void; constAdd(a: any, b: any): void; onSelectSidebarElement(elem: any): void; setMultiplyDragContainers(data: string): void; onSelectField(filed: Field, parent: Tree, event?: PointerEvent): void; deletePickedField(attrName: string, parent_tree?: Tree[]): void; deleteNestedFields(node: Tree): void; onPanelWidthConfigurate(columns: number[]): void; findNodeinTree(id: string, tree?: Tree[]): Tree; addNewField(field: Field, target_cont: Tree, index: number): void; onCopyField(field: Field, parent_cont?: Tree, target_cont?: Tree): Promise; onHoverField(id: string, event: PointerEvent): void; onOpenForm(): void; drop(event: CdkDragDrop): Promise; onDragEntered(event: CdkDragEnter): void; onDragStarted(event: CdkDragStart): void; enforceDragToSelf(dl: CdkDropList): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};