inet-ui
Version:
iNet Angular UI === [![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][downloads-url]
27 lines (26 loc) • 1.07 kB
TypeScript
import { HttpParams } from "@angular/common/http";
import { Observable } from "rxjs";
import { CloudPluginComponent } from "./cloud-plugin.component";
import * as i0 from "@angular/core";
export declare class PluginManagerService {
private loaded;
pluginManager: any;
private plugins;
private subject;
constructor();
register(pluginId: string, component: any): void;
destroyById(pluginId: string): void;
getPlugins(): any;
hasPluginId(pluginId: string): boolean;
getPluginById(pluginId: string): CloudPluginComponent;
sendMessageTo(message: any, contentWindow: any): void;
listen(): void;
getMessage(): Observable<any>;
clearMessage(): void;
getContentWindowById(pluginId: string): Promise<Window | Document>;
private sendMessage;
convertToHttpParams(obj: any): HttpParams | null;
testCreatePluginTemplate(pluginId: string, targetId: string): void;
static ɵfac: i0.ɵɵFactoryDeclaration<PluginManagerService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<PluginManagerService>;
}