import { FormsService } from './../../services/forms.service'; import { Subscription } from 'rxjs'; import { DynamicTabsModel } from './../../models/dynamic-tabs.model'; import { AfterViewInit, OnInit, ViewContainerRef } from '@angular/core'; import { MatTabChangeEvent } from '@angular/material/tabs'; import * as i0 from "@angular/core"; export declare class DynamicTabsComponent implements OnInit, AfterViewInit { protected viewContainerRef: ViewContainerRef; protected formsService: FormsService; /** * Container used to display dynamic components */ protected viewContainer: ViewContainerRef; BackgroundColor: string; Color: string; /** * Form is dirty flag */ FormIsDirty: boolean; /** * Listener for when any form is dirty */ protected formIsDirtySubscription: Subscription; /** * Components loaded as dynamic components */ TabComponents: Array; constructor(viewContainerRef: ViewContainerRef, formsService: FormsService); ngOnInit(): void; ngAfterViewInit(): void; /** * Tab change event * * @param index selected tab index */ TabChanged(evt: MatTabChangeEvent): void; /** * Render component for the active tab * * @param index TabComponents index position */ protected renderComponent(index: number): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }