import { OnInit, AfterViewInit, ElementRef, TemplateRef, OnChanges, SimpleChanges } from '@angular/core'; import { IJsonSchema, IJsonLayout, IJsonLayoutProperty } from '../editable-abstract/i-json-schema'; import { EditableFormDirective } from '../editable-form.directive'; import { QueryList, EventEmitter, OnDestroy } from '@angular/core'; import { JsonSchemaFormComponent } from 'angular6-json-schema-form'; import { EditableFormService } from '../editable-form.service'; import { BsModalRef, BsModalService } from 'ngx-bootstrap/modal'; export declare class EditableJsonSchemaFormComponent implements OnInit, OnDestroy, AfterViewInit, OnChanges { protected editableFormService: EditableFormService; protected modalService: BsModalService; inputClass: string; inputReadClass: string; schema: IJsonSchema; layout: IJsonLayoutProperty[]; hides: { methods?: boolean; entity?: boolean; commands?: boolean; }; entity: { [key: string]: any; editionProperties: any; isNewEntity: boolean; }; actions: { methodName: string; methodId: string; parameters: IJsonSchema; actionName: string; handlebarsMethodSampling?: string; }[]; crud: { delete: boolean; update: boolean; }; saveValue: (value: any) => Promise; deleteValue: () => Promise; runAction: (methodId: string, parameters: any, methodSampling?: string) => Promise; onCancel: EventEmitter; currentMethod: { methodName: string; methodId: string; parameters: IJsonSchema; actionName: string; handlebarsMethodSampling?: string; icon?: string; }; libEditableForm: EditableFormDirective; editionFormQuery: QueryList; viewFormQuery: QueryList; actionEditableForm: QueryList; schemaView: IJsonSchema; editionProperties: any; viewProperties: any; schemaEdit: IJsonSchema; protected _changedValue: any; isInCreation: boolean; isValid: boolean; private isValidBehavior; private setValid; private subscriptions; isReady: boolean; private isReadyBehavior; private setReady; currentMethodParameters: { [key: string]: any; }; layoutEdit: IJsonLayout; layoutView: IJsonLayout; error: string; methodError: string; modalRef: BsModalRef; methodLayout: IJsonLayout; constructor(editableFormService: EditableFormService, modalService: BsModalService); ngOnDestroy(): void; protected buildSchemaView(): void; ngOnInit(): Promise; private initSchema; ngOnChanges(changes: SimpleChanges): void; openModal(template: TemplateRef): void; ngAfterViewInit(): void; protected forceReadOnlyView(): void; transformJsonSchema(schema: IJsonSchema): void; makeViewReadOnly(schema: any): void; private _editionPropertiesCompleted; get editionPropertiesCompleted(): any; protected get changedValue(): any; protected set changedValue(value: any); switchMode(): void; saveEditMode(): Promise; delete(): Promise; private setValidity; onChange(properties: any): void; onSubmit(properties: any): void; openMethod(method: { methodName: string; methodId: string; parameters: IJsonSchema; actionName: string; handlebarsMethodSampling?: string; }): void; onMethodParametersChange(parameters: any): void; onMethodParametersSubmit(parameters: any): void; cancelMethod(): void; runMethod(): Promise; }