inet-ui
Version:
iNet Angular UI === [![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][downloads-url]
33 lines (32 loc) • 1.46 kB
TypeScript
import { ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
import { PluginManagerService } from "./plugin-manager.service";
import { Subscription } from "rxjs";
import { CoreService, NotificationService } from "inet-core";
import * as i0 from "@angular/core";
export declare class PluginToolbarDirective implements OnInit, OnDestroy {
private el;
private renderer;
private coreService;
private notifyService;
private pluginManagerService;
message: any;
subscription?: Subscription;
idProperty: string;
constructor(el: ElementRef, renderer: Renderer2, coreService: CoreService, notifyService: NotificationService, pluginManagerService: PluginManagerService);
ngOnInit(): void;
private notificationDetectByData;
getIdProperty(): string;
clear(): void;
initContainerById(pluginId: string): ToolbarContainer;
generateToolbar(container: ToolbarContainer, buttons?: any[]): void;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<PluginToolbarDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<PluginToolbarDirective, "[appPluginToolbar]", never, { "idProperty": { "alias": "idProperty"; "required": false; }; }, {}, never, never, false, never>;
}
export declare class ToolbarContainer {
pluginId: string;
element: any;
prefix: string;
exists: boolean;
constructor(prefix: string, pluginId: string, element: any, exists: boolean);
}