UNPKG

@noaestudio/forms

Version:

Dynamic forms extension for Covalent

41 lines (40 loc) 1.39 kB
import { OnInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core'; import { IActionMapping } from 'angular-tree-component'; import { MatDialog } from '@angular/material'; import { TdLoadingService } from '@covalent/core/loading'; export declare class OrganizationComponent implements OnInit, OnChanges { private dialog; private loadingService; hasFilter: boolean; hasButtons: boolean; editable: boolean; multiple: boolean; saveable: boolean; expandible: boolean; collapsable: boolean; nodes: any[]; extraFields: string[]; updater: EventEmitter<any[]>; nextId: number; actionMapping: IActionMapping; customTemplateStringOptions: { isExpandedField: string; idField: string; actionMapping: IActionMapping; nodeHeight: number; allowDrag: (node: any) => boolean; allowDrop: (node: any) => boolean; useVirtualScroll: boolean; }; constructor(dialog: MatDialog, loadingService: TdLoadingService); ngOnChanges(changes: SimpleChanges): void; ngOnInit(): void; getNextId(): number; finishName(node: any): void; addNode(tree: any): void; filterNodes(text: any, tree: any): void; editNode(treeModel: any, node: any): void; editProfesion: (value: any) => Promise<any>; deleteNode(tree: any, node: any): void; save(): void; }