import { TemplateRef, ViewContainerRef } from '@angular/core'; import { MdDialog, MdDialogRef, MdSidenav } from '@angular/material'; import { CfDialogComponent } from '../../components/dialog/dialog.component'; import { CfCalendarService } from '../../services/calendar-service/calendar.service'; /** *

Component Template Service.

*/ export declare class CfComponentTemplateService { dialog: MdDialog; dialogRef: MdDialogRef; dialogContainer: any; dialogOptions: any; cfCalendarService: CfCalendarService; constructor(dialog: MdDialog); /** *

Method to show template in sidenav.

*

Param 'options' should have mode and align properties as strings with MdDialog format.

*/ showTemplateInSidenav(sidenav: MdSidenav, options: any): void; /** *

Method to show template in dialog container.

*/ showTemplateInContainer(templateRef: TemplateRef, containerRef: ViewContainerRef): void; /** *

Method to show template or text in dialog window.

*

Parameter options is an object of structure: * { template: TemplateRef, text: string, dialogOptions: any }. * Note that if text is present, template will be ignored.

*/ showInDialog(options: any): void; /** *

Method to show template or text in floating dialog, next to the cursor where user clicked.

*

Parameter options is an object of structure: * { template: TemplateRef, text: string, dialogOptions: any }. * Note that if text is present, template will be ignored.

*/ showInFloatingDialog(options: any): void; private openDialog(isFloating?); private openFloatingDialog(); private setFloatingDialogBackdropElement(); private setFloatingDialogContainers(); private setFloatingDialogContainerPosition(); private setFloatingDialogContainerAutoPosition(); private setFloatingDialogContainerFixedPosition(); private setDialogContainerInComponentPosition(); private insertContentToDialog(content); private insertTextToDialog(text); private insertComponentViewToDialog(templateRef); private getDialogViewContainer(dialogViewContainersArray, dialogType); private setDialogCallbacks(); private cleanDialogContainerStyle(); private getDialogBackdropElement(); private getDialogPane(); private getDialogPaneWrapper(); private getDialogContainer(); /** * Sets listeners to CfCalendar templates events. */ private setCalendarCallbacks(); setCfCalendarService(cfCalendarService: CfCalendarService): void; }