UNPKG

cytoscape-angular

Version:
37 lines 1.7 kB
import { AfterViewChecked, AfterViewInit, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { Stylesheet, StylesheetStyle } from 'cytoscape'; import { FormInfo } from '../fluid-form/form-info'; import * as i0 from "@angular/core"; export declare class CytoscapeStyleToolComponent implements OnInit, OnChanges, AfterViewInit, AfterViewChecked { styleForm: any; selectorDropDown: any; _styles: StylesheetStyle[]; enableAdd: boolean; private lastValidSelectorModelText; get styles(): StylesheetStyle[]; set styles(styles: StylesheetStyle[]); stylesChange: EventEmitter<StylesheetStyle[]>; styleSelectorChange: EventEmitter<string>; nodeFormInfo: FormInfo; edgeFormInfo: FormInfo; coreFormInfo: FormInfo; selectedStyleSheet: StylesheetStyle; selectors: StylesheetStyle[]; changed: boolean; constructor(); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngAfterViewInit(): void; ngAfterViewChecked(): void; onFormModelChange(): void; onApplyStyle(): void; search(event: any): void; private setSelectorsFromStyles; onAddSelector(): void; onSelectorModelChange(param: any): void; getStylesheetForSelector(selectorName: any): Stylesheet; isValidSelector(text: string): boolean; static ɵfac: i0.ɵɵFactoryDeclaration<CytoscapeStyleToolComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<CytoscapeStyleToolComponent, "cytoscape-style-tool", never, { "styles": "styles"; }, { "stylesChange": "stylesChange"; "styleSelectorChange": "styleSelectorChange"; }, never, never>; } //# sourceMappingURL=cytoscape-style-tool.component.d.ts.map