import { ElementRef, OnInit } from '@angular/core';
import { NotificationModel } from '../../models/notification';
import { CfCoreComponent } from '../core/core.component';
import { TemplateService } from '../../services/template-service/template.service';
/**
*
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: {
theme: any;
classes: any;
};
/**
* 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 c
* omponent with json object generated by NotificationModel (described in cfNotification above).
*/
settings: NotificationModel;
/** @hidden */
constructor(elementRef: ElementRef, /**@hidden */ templateService: TemplateService);
/** @hidden */
ngOnInit(): void;
}