import { ElementRef, OnInit } from '@angular/core';
import { NotificationModel } from '../../models/notification';
import { CfCoreComponent } from '../core/core.component';
/**
*
Component for Core Component Notifications
*/
export declare class CfNotificationComponent extends CfCoreComponent implements OnInit {
elementRef: ElementRef;
/**
* It is position of notification
*/
position: string;
/**
* It is default core styling options form SETTINGS (file: '/assets/settings/notification/settings.ts')
* There are three main properties:
*
* - position: it is notification position. Default is top-right Can be also: bottom-right, bottom-left, top-left.
* - theme: it is name of theme. Theme will affect on notification colors(background of cantainer, colors of value and icon).
* - classes: it is list of css classes separated by space. It is possible to use Angualr Material primary, accent, warn and any other classes.
*
*/
options: {
"position": string;
"theme": string;
"classes": string;
};
/**
* It is Object which will recive data from Core Component notification property. It is used in different components templates.
* Example of NotifcationModel:
* {
* value: this.notificationValue,
* type: 'text'
* }
* value: any
* It is name of property for notification value.
* type: string
* It is type of notification value. Can be text(default) or icon. Optional.
*/
cfNotification: NotificationModel;
/**
* It is [settings] attribute of cf-notification component with json object generated by NotificationModel (described in cfNotification above).
*/
settings: NotificationModel;
constructor(elementRef: ElementRef);
/**
* It will be generated cfNotification object and rendered inside component template. Also notification position and type will be set.
*/
ngOnInit(): void;
}