import { OnInit, EventEmitter, ElementRef, SimpleChanges, OnChanges, AfterViewInit } from '@angular/core'; import { FormBuilder, FormGroup } from '@angular/forms'; import { ColorService } from './services/color.service'; import { ToolbarService } from './services/toolbar.service'; import { NodeService } from './services/node.service'; import { MutualService } from './services/mutual.service'; import { EdgehandlesService } from './services/edgehandles.service'; import { PanzoomService } from './services/panzoom.service'; import { BsModalService, BsModalRef } from 'ngx-bootstrap/modal'; export declare class MindmapComponent implements OnInit, OnChanges, AfterViewInit { private formBuilder; private toolbarService; private colorService; private nodeService; private mutualService; private el; private modalService; private edgehandlesService; private panzoomService; nodeAttach: any; colorBackground: String; data: Object; onChange: EventEmitter; onSubmited: EventEmitter; onUpdate: EventEmitter; onCreate: EventEmitter; onDelete: EventEmitter; onSelectNodeAttached: EventEmitter; onSelectIdNode: EventEmitter; onCancelModal: EventEmitter; onGetNameNode: EventEmitter; onListHistory: EventEmitter; arrayColorUsed: Array; timestampLastClick: number; formNode: FormGroup; loading: boolean; submitted: boolean; color: String; statusModal: number; optionMenu: any; modalRef: BsModalRef; modalRefNodeRoot: BsModalRef; modalRefDeleteNode: BsModalRef; nameNodeRoot: string; nodeSelected: any; nodeMiddle: any; modalAlert: any; valueRadio: any; statusChildren: boolean; listHistoric: any; indexHistorySelected: any; position: any; private modalNode; private modalNodeRoot; private modalDeleteNode; private alert; elements: any; cy: any; eh: any; config: { container: any; elements: any; layout: { name: string; animate: boolean; }; maxZoom: number; minZoom: number; style: ({ selector: string; style: { 'shape': string; 'label': string; 'background-color': string; 'text-valign': string; 'text-halign': string; 'content': string; 'height': number; 'width': number; 'line-color': string; 'border-width'?: undefined; 'border-color'?: undefined; 'target-arrow-color'?: undefined; 'source-arrow-color'?: undefined; 'overlay-opacity'?: undefined; 'border-opacity'?: undefined; 'target-arrow-shape'?: undefined; 'curve-style'?: undefined; }; } | { selector: string; style: { 'background-color': string; 'line-color': string; 'shape'?: undefined; 'label'?: undefined; 'text-valign'?: undefined; 'text-halign'?: undefined; 'content'?: undefined; 'height'?: undefined; 'width'?: undefined; 'border-width'?: undefined; 'border-color'?: undefined; 'target-arrow-color'?: undefined; 'source-arrow-color'?: undefined; 'overlay-opacity'?: undefined; 'border-opacity'?: undefined; 'target-arrow-shape'?: undefined; 'curve-style'?: undefined; }; } | { selector: string; style: { 'border-width': number; 'border-color': string; 'shape'?: undefined; 'label'?: undefined; 'background-color'?: undefined; 'text-valign'?: undefined; 'text-halign'?: undefined; 'content'?: undefined; 'height'?: undefined; 'width'?: undefined; 'line-color'?: undefined; 'target-arrow-color'?: undefined; 'source-arrow-color'?: undefined; 'overlay-opacity'?: undefined; 'border-opacity'?: undefined; 'target-arrow-shape'?: undefined; 'curve-style'?: undefined; }; } | { selector: string; style: { 'background-color': string; 'line-color': string; 'target-arrow-color': string; 'source-arrow-color': string; 'shape'?: undefined; 'label'?: undefined; 'text-valign'?: undefined; 'text-halign'?: undefined; 'content'?: undefined; 'height'?: undefined; 'width'?: undefined; 'border-width'?: undefined; 'border-color'?: undefined; 'overlay-opacity'?: undefined; 'border-opacity'?: undefined; 'target-arrow-shape'?: undefined; 'curve-style'?: undefined; }; } | { selector: string; style: { 'label': string; 'background-color': string; 'width': number; 'height': number; 'shape': string; 'overlay-opacity': number; 'border-width': number; 'border-opacity': number; 'text-valign'?: undefined; 'text-halign'?: undefined; 'content'?: undefined; 'line-color'?: undefined; 'border-color'?: undefined; 'target-arrow-color'?: undefined; 'source-arrow-color'?: undefined; 'target-arrow-shape'?: undefined; 'curve-style'?: undefined; }; } | { selector: string; style: { 'label': string; 'shape'?: undefined; 'background-color'?: undefined; 'text-valign'?: undefined; 'text-halign'?: undefined; 'content'?: undefined; 'height'?: undefined; 'width'?: undefined; 'line-color'?: undefined; 'border-width'?: undefined; 'border-color'?: undefined; 'target-arrow-color'?: undefined; 'source-arrow-color'?: undefined; 'overlay-opacity'?: undefined; 'border-opacity'?: undefined; 'target-arrow-shape'?: undefined; 'curve-style'?: undefined; }; } | { selector: string; style: { 'target-arrow-shape': string; 'curve-style': string; 'line-color': string; 'target-arrow-color': string; 'width': number; 'shape'?: undefined; 'label'?: undefined; 'background-color'?: undefined; 'text-valign'?: undefined; 'text-halign'?: undefined; 'content'?: undefined; 'height'?: undefined; 'border-width'?: undefined; 'border-color'?: undefined; 'source-arrow-color'?: undefined; 'overlay-opacity'?: undefined; 'border-opacity'?: undefined; }; })[]; }; constructor(formBuilder: FormBuilder, toolbarService: ToolbarService, colorService: ColorService, nodeService: NodeService, mutualService: MutualService, el: ElementRef, modalService: BsModalService, edgehandlesService: EdgehandlesService, panzoomService: PanzoomService); ngAfterViewInit(): void; ngOnInit(): Promise; ngOnChanges(changes: SimpleChanges): void; readonly f: { [key: string]: import("@angular/forms").AbstractControl; }; openModal(): void; closeModal(): void; openModalNodeRoot(): void; openModalDeleteNode(node: any): Promise; closeModalNodeRoot(): void; closeModalDeleteNode(): void; getWitdth(text: any): number; onSubmit(): void; addInformationNode(node: any): void; renderGraph(): void; emitChange(key: string): Promise; pushHistory(json: any): void; history(key: any, json: any): void; loadData(data: Object): Promise; loadColorBackground(color: string): void; removeNode(): void; show(): void; hide(color: string): void; highlightNode(arrayNodeId: Array): void; notHighlightNode(arrayNodeId: Array): void; submitModalNodeRoot(): void; resetMindmap(): void; hideAllToolbar(): void; removeAllToolbar(): void; refreshAllToolbar(): void; disable(): void; enable(): void; cleanMindmap(): void; destroyPanzoom(): void; addPanzoom(): void; getNameNode(nameNode: string): void; beforeHystory(): Promise; afterHystory(): Promise; loadJsonHistoric(index: any): any; getListHistoric(): any; }