UNPKG

@netgrif/components

Version:

Netgrif Application Engine frontend Angular components

22 lines (21 loc) 1.43 kB
import { EventEmitter, Injector, OnInit } from '@angular/core'; import { AbstractCustomCardComponent, DashboardEventContent, DashboardResourceService } from '@netgrif/components-core'; import { TranslateService } from '@ngx-translate/core'; import { ComponentPortal, Portal } from '@angular/cdk/portal'; import { AggregationResult, LoggerService } from '@netgrif/components-core'; import * as i0 from "@angular/core"; export declare class PortalCardComponent extends AbstractCustomCardComponent implements OnInit { protected _injector: Injector; protected resourceService: DashboardResourceService; protected translateService: TranslateService; protected loggerService: LoggerService; injectedDashboard: Portal<any>; componentPortal: ComponentPortal<AbstractCustomCardComponent>; selectEvent: EventEmitter<DashboardEventContent>; constructor(_injector: Injector, resourceService: DashboardResourceService, translateService: TranslateService, loggerService: LoggerService); ngOnInit(): void; onSelect(data: DashboardEventContent): void; convertData(json: AggregationResult): void; static ɵfac: i0.ɵɵFactoryDeclaration<PortalCardComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<PortalCardComponent, "nc-portal-card", never, { "componentPortal": { "alias": "componentPortal"; "required": false; }; }, { "selectEvent": "selectEvent"; }, never, never, false, never>; }