import { OnInit, ElementRef, TemplateRef, ViewContainerRef, OnDestroy } from '@angular/core'; import { CfCoreBusinessComponent } from '../core-business/core-business.component'; import { Customer } from '../../models/customer-list/customer-list.model'; import { CustomerListModel } from '../../models/customer-list/customer-list.model'; import { CfComponentTemplateService } from '../../services/component-template-service/component-template.service'; export declare class CfCustomerListComponent extends CfCoreBusinessComponent implements OnInit, OnDestroy { elementRef: ElementRef; private cfComponentTemplateService; customerViewContainer: ViewContainerRef; customersListTemplate: TemplateRef; /** *

Customer details template must be named as cfComponentSidenavTemplate * if we want it to show in sidenav from CfCoreBusinessComponent.

*/ customerDetailsTemplate: TemplateRef; selectedCustomer: Customer; settings: CustomerListModel; properties: any; constructor(elementRef: ElementRef, cfComponentTemplateService: CfComponentTemplateService); ngOnInit(): void; ngOnDestroy(): void; /** *

Method that creates customer list embedded view and adds it to container.

*

Should be done like that, otherwise, it will be impossible to dynamically replace list view * in customer container for another one, i.e. customer details.

*/ ngAfterViewInit(): void; /** *

Method to decide based on properties, where and how to show customers list or customer details.

*/ showCustomerDetails($event: any, cfComponentSidenav: any, switchToList?: boolean): void; }