import { OnInit, EventEmitter, ElementRef, OnDestroy } from '@angular/core'; import { MdSidenav } from '@angular/material'; import { CfCoreComponent } from '../core/core.component'; import { IconModel } from '../../models/icon/icon.model'; import { ButtonModel } from '../../models/button/button.model'; import { IconStylingModel } from '../../models/icon/icon-styling.model'; import { ButtonStylingModel } from '../../models/button/button-styling.model'; import { MappingModel } from '../../models/mapping.model'; import { CoreBusinessModel } from '../../models/core-business/core-business.model'; import { CoreBusinessStylingModel } from '../../models/core-business/core-business-styling.model'; import { Subscription } from 'rxjs/Subscription'; export declare class CfCoreBusinessComponent extends CfCoreComponent implements OnInit, OnDestroy { elementRef: ElementRef; /** *
Reference to the MdSidenav in CfCoreBusinessComponent.
*It uses cfComponentSidenavTemplate View Container inside it to show custom templates.
*/ cfComponentSidenav: MdSidenav; /** *View Container reference used inside CfCoreBusinessComponent MdSidenav.
*/ cfComponentSidenavTemplate: any; /** *Output event triggered when the mouse is double clicked.
*/ onDoubleClick: EventEmitter<{}>; /** *Output event triggered when the mouse enters the component.
*/ onMouseEnter: EventEmitter<{}>; /** *Output event triggered when the mouse leaves the component.
*/ onMouseLeave: EventEmitter<{}>; /** *An array of the events the component is subscribed to.
*/ subscription: Subscription[]; /** *An array of mappings model to map the object returned from the news service to the NewsCardModel.
*/ mappings: MappingModel[]; constructor(elementRef: ElementRef); ngOnInit(): void; /** *Called when the component is destroyed.
*/ ngOnDestroy(): void; /** *Bind this method to the double click event in any business component to emit one
*/ doubleClick(): void; /** *Bind this method to the mouse enter event in any business component to emit one
*/ mouseEnter(): void; /** *Bind this method to the mouse leave event in any business component to emit one
*/ mouseLeave(): void; cfComponent: any; cfSettings: any; cfErrors: any; mode: string; previousMode: string; buttonStyling: ButtonStylingModel; iconStyling: IconStylingModel; /** * Title Bar Section */ title: string; properties: CoreBusinessModel; styling: CoreBusinessStylingModel; settingsIcon: IconModel; /** *The button settings for the Cancel button/
*/ cancelButton: ButtonModel; /** *The button settings for the Done button/
*/ doneButton: ButtonModel; private isCollapsed; toggle(): void; private prevLeft; private prevTop; private isMaximized; maximize(event: any): void; /********************** End TitleBar Section ******************************/ /** * Settings Page Section */ /** *Allow the user to change the settings of the component.
*It is true by default.
*/ allowSettingsEdit: boolean; /** *Toggle to show the settings of the component.
*/ settingsValue: boolean; /** *Show the settings page
*/ viewSettings(): void; updateSettings: EventEmitter<{}>; cancel(): void; done(): void; /********************** End Settings Section ******************************/ /** * Error Page Section */ errorValue: boolean; error: boolean; errorChange: EventEmitter<{}>; /** *The icon settings for the error icon.
*/ errorIcon: IconModel; /** *The button settings for the Refresh button/
*/ refreshButton: ButtonModel; onRefresh: EventEmitter<{}>; refresh(): void; }