import { OnInit, ElementRef, EventEmitter, ReflectiveInjector } from '@angular/core'; import { NotificationModel } from '../../models/notification'; import { DraggableService } from '../../services/draggable-service/draggable.service'; import { TemplateService } from '../../services/template-service/template.service'; export declare class CfCoreComponent implements OnInit { elementRef: ElementRef; templateService: TemplateService; /**@hidden */ injector: ReflectiveInjector; /**@hidden */ draggableService: DraggableService; /**@hidden */ properties: any; /** *
It represents an instance ID. User can set it. * By default, it's unique number, converted to string.
*/ id: string; /** @hidden * The name of the class that represents the component's theme */ themeClass: string; /** @hidden *It represents a pointer to the component's instance
*/ nativeElement: any; /**@hidden *It represents component tooltip
*/ tooltip: any; /**@hidden *Hide or Show Component
*/ display: boolean; /**@hidden *Disable or Enable Component
*/ disable: boolean; /** *It enables component internationalization
*/ enabledI18N: boolean; /** *It enables component drag and drop
*/ draggable: boolean; /** @hidden *It is a dynamic class the user can pass for the internal button
*/ cfClass: string; /** *It represents core component notifications property object based on NotificationModel Class
*/ notification: NotificationModel; /** *It represents the user defined template passed to the component */ compTemplate: string; /**@hidden */ activeTemplate: any; /**@hidden *
An array of the events the component is subscribed to.
*/ /** *It is core component Notifications events emmiter to be used by other components
*/ notificationAction: EventEmitterSaves the tags of the events that the component is subscribed for.
*Example: weather1, weather2, clock1...
*/ subscriptionTags: string[]; /** @hidden *Identifier when all component properties are ready to be rendered in html
*/ _inited: boolean; /** @hidden *Generate unique ID
*/ static generateId(): string; /**@hidden */ constructor(elementRef: ElementRef, templateService: TemplateService); /**@hidden */ ngOnInit(): void; /** * @hidden * @param name * @param templatesObject * @param passedTemplate */ getMyTemplate(name: string, templatesObject: any): Promise<{}>; /** @hidden * Recursive function to merge active template with properties * @param sampler element from active template * @param props element from properties */ mergeGroup(sampler: any, props: any, name: any): void; /** @hidden * Method to merge active template with properties * @param sampler element from active template * @param props element from properties */ mergeProperties(sampler: any, props: any, name: any): Promise<{}>; /** * Method to render dynamic classes for the given html element * @param element html element to which dynamic classes must be rendered */ getDynamicClasses(element: any): string; }