UNPKG

ngx-antd-form-builder

Version:

Simple Drag&Drop form builder using ng-zorro-antd

28 lines (27 loc) 1.39 kB
import { EventEmitter, OnChanges, SimpleChanges } from "@angular/core"; import { Options } from 'sortablejs'; import * as i0 from "@angular/core"; export declare class LayoutItemComponent implements OnChanges { record: any; config: any; selectItem: any; readonly handleColAdd: EventEmitter<any>; readonly handleSelectItem: EventEmitter<any>; readonly handleCopy: EventEmitter<any>; readonly handleDelete: EventEmitter<any>; _cahce: { [key: string]: Options; }; constructor(); ngOnChanges(changes: SimpleChanges): void; genOptions(colItem: any, index: any): Options; onDrop(evt: any): void; onDragDrop($event: any): void; handleCopyFn($event: Event): void; handleDeleteFn($event: Event): void; handleFormNodeDelete($event: any): void; handleSelectItemAndStop($event: any): void; hiddenDelete(): any; static ɵfac: i0.ɵɵFactoryDeclaration<LayoutItemComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<LayoutItemComponent, "app-layout-item", never, { "record": { "alias": "record"; "required": false; }; "config": { "alias": "config"; "required": false; }; "selectItem": { "alias": "selectItem"; "required": false; }; }, { "handleColAdd": "handleColAdd"; "handleSelectItem": "handleSelectItem"; "handleCopy": "handleCopy"; "handleDelete": "handleDelete"; }, never, never, true, never>; }