import { OnInit, EventEmitter, QueryList, OnChanges, AfterViewInit, OnDestroy } from '@angular/core'; import { ExpandBehavior, FlattenedType, IAccordianConfig } from '../../card/models'; import { MimeTypeMasterData } from '../../pipes-module/mime-type'; import { AccordionItemComponent } from '../../accordion/accordion-item/accordion-item.component'; export declare class TocItemComponent implements OnInit, OnChanges, AfterViewInit, OnDestroy { accordianConfig: IAccordianConfig; accordionItems: QueryList; tocData: any; activeMimeTypeFilter: string[]; noContentMessage: string; contentStatus: any[]; selectMode: any; selectAll: any; playBtnConfig: any; platform: any; trackableDefaultImage: string; divs: QueryList; chapterContainer: QueryList; type: string; activeContent: any; recogniseCollection: boolean; tocCardClick: EventEmitter; noContent: EventEmitter; selectedItem: EventEmitter; playButtonClick: EventEmitter; private resetActiveContent; get FlattenedType(): typeof FlattenedType; get MimeTypeMasterData(): typeof MimeTypeMasterData; get ExpandBehavior(): typeof ExpandBehavior; isMimeTypeFilterChanged: boolean; private isSameMimeTypeInChildren; private isSameMimeType; private isChildrenPresent; private subscriptions; constructor(); ngOnInit(): void; ngOnChanges(changes: any): void; ngAfterViewInit(): void; setActiveContent(): void; filterChildren(content: any): any; private isShowContent; onTocCardClick(event: any): void; collapsedChangeHandler(collapsed: boolean, item: AccordionItemComponent): void; private firstNonCollectionContent; private flattenDeep; isExpanded(index: number, item: any): boolean; isShowBody(item: any, index: any): boolean; getRollup(tree: any, identifier: any): any[]; createUniqueId(tocData: any, item: any): void; /** * @since #SH-362 * @param item - selected children data. * @description - It will despatch an event on individual checkbox click */ onItemSelect(item: any): void; /** * @since #SH-362 * @param isSelectAll - boolean, which will be true/false if 'Select all checkbox is checked/unchecked * @description - this method will mark every children of tocData object with an additional variable - * selected: true/false based on the value of 'isSelectAll' and also despatch an event * with the data. */ selectAllItems(isSelectAll: boolean): void; onPlayButtonClick(event: any): void; isFlattenedType(content: any): "" | FlattenedType; ngOnDestroy(): void; }