UNPKG

@obliczeniowo/elementary

Version:
31 lines (30 loc) 1.26 kB
import { ViewContainerRef } from '@angular/core'; import { IPoint2D } from '@obliczeniowo/elementary/classes'; import { MenuItem } from '@obliczeniowo/elementary/menu'; import { ModellerBoxComponent } from './../components/modeller-box/modeller-box.component'; import { BoxModel } from '../models/box.model'; import { ConnectorItemComponent } from '../components/connector-item/connector-item.component'; import * as i0 from "@angular/core"; export declare class ModellerService { protected models: Map<string, BoxModel>; protected translations: { [en: string]: string; }; menuItems: MenuItem[]; constructor(); setTranslations(translations: { [en: string]: string; }): void; getTranslations(): { [en: string]: string; }; getConnector(): typeof ConnectorItemComponent; register(id: string, model: BoxModel): void; create(id: string, container: ViewContainerRef, subId?: string, options?: { position: IPoint2D; }): import("@angular/core").ComponentRef<ModellerBoxComponent>; setMenuItems(): void; getTranslation(en: string): string; static ɵfac: i0.ɵɵFactoryDeclaration<ModellerService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<ModellerService>; }