UNPKG

inet-layout

Version:
45 lines (44 loc) 1.91 kB
import { CoreService, EnvelopBody, HttpClientService } from 'inet-core'; import { Observable } from 'rxjs'; import { SystemApplication } from './calista.interface'; import { TranslateService } from '@ngx-translate/core'; import * as i0 from "@angular/core"; export declare class CalistaMenuService { private httpService; private coreService; private translateService; private moduleUrl; private calista; private apps?; private collaborationModules?; constructor(httpService: HttpClientService, coreService: CoreService, translateService: TranslateService); getIconUrlByModule(app: SystemApplication): string; private listCloudApp; listApplication(calista?: boolean, excludeApps?: string[]): Observable<SystemApplication[]>; private isProduction; getCollaborationModules(): Observable<SystemApplication[]>; getUrlPlugin(context: string, pluginUrl: string): string; openApp(app: SystemApplication): void; getUrlByModule(app: SystemApplication): string; /** * Checks if the specified Web Context exists on application list. */ hasApp(webContext: string): Observable<boolean>; /** * Checks if the specified module exists on application list. */ hasModule(module: string): Observable<boolean>; getUrlByWebContext(webContext: string): Observable<string>; openModule(module: string): void; getCollaborationUrl(): string; /** * Badges appear as small icons that sit on top of your app. * For instance, a small red number indicating how many updates are available. */ updateBadgeIcon(message: EnvelopBody): void; clearBadgeIconByApp(appName: string): void; getModules(): Observable<SystemApplication[]>; private closest; static ɵfac: i0.ɵɵFactoryDeclaration<CalistaMenuService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<CalistaMenuService>; }