import { AfterContentInit, OnInit, OnDestroy, EventEmitter, TemplateRef, QueryList, ElementRef, NgZone, AfterViewInit, OnChanges, SimpleChanges, ChangeDetectorRef } from '@angular/core'; import { TreeNode } from 'primeng/api'; import { Subscription } from 'rxjs'; import { PrimeTemplate, FilterService } from 'primeng/api'; import { SortMeta } from 'primeng/api'; import { BlockableUI } from 'primeng/api'; import { FilterMetadata } from 'primeng/api'; import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling'; import * as i0 from "@angular/core"; import * as i1 from "@angular/common"; import * as i2 from "primeng/paginator"; import * as i3 from "@angular/cdk/scrolling"; import * as i4 from "primeng/ripple"; import * as i5 from "primeng/api"; export declare class TreeTableService { private sortSource; private selectionSource; private contextMenuSource; private uiUpdateSource; private totalRecordsSource; sortSource$: import("rxjs").Observable; selectionSource$: import("rxjs").Observable; contextMenuSource$: import("rxjs").Observable; uiUpdateSource$: import("rxjs").Observable; totalRecordsSource$: import("rxjs").Observable; onSort(sortMeta: SortMeta | SortMeta[]): void; onSelectionChange(): void; onContextMenu(node: any): void; onUIUpdate(value: any): void; onTotalRecordsChange(value: number): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export declare class TreeTable implements AfterContentInit, OnInit, OnDestroy, BlockableUI, OnChanges { el: ElementRef; zone: NgZone; tableService: TreeTableService; filterService: FilterService; columns: any[]; style: any; styleClass: string; tableStyle: any; tableStyleClass: string; autoLayout: boolean; lazy: boolean; lazyLoadOnInit: boolean; paginator: boolean; rows: number; first: number; pageLinks: number; rowsPerPageOptions: any[]; alwaysShowPaginator: boolean; paginatorPosition: string; paginatorDropdownAppendTo: any; currentPageReportTemplate: string; showCurrentPageReport: boolean; showJumpToPageDropdown: boolean; showFirstLastIcon: boolean; showPageLinks: boolean; defaultSortOrder: number; sortMode: string; resetPageOnSort: boolean; customSort: boolean; selectionMode: string; selectionChange: EventEmitter; contextMenuSelection: any; contextMenuSelectionChange: EventEmitter; contextMenuSelectionMode: string; dataKey: string; metaKeySelection: boolean; compareSelectionBy: string; rowHover: boolean; loading: boolean; loadingIcon: string; showLoader: boolean; scrollable: boolean; scrollHeight: string; virtualScroll: boolean; virtualScrollDelay: number; virtualRowHeight: number; minBufferPx: number; maxBufferPx: number; frozenWidth: string; frozenColumns: any[]; resizableColumns: boolean; columnResizeMode: string; reorderableColumns: boolean; contextMenu: any; rowTrackBy: Function; filters: { [s: string]: FilterMetadata; }; globalFilterFields: string[]; filterDelay: number; filterMode: string; filterLocale: string; onFilter: EventEmitter; onNodeExpand: EventEmitter; onNodeCollapse: EventEmitter; onPage: EventEmitter; onSort: EventEmitter; onLazyLoad: EventEmitter; sortFunction: EventEmitter; onColResize: EventEmitter; onColReorder: EventEmitter; onNodeSelect: EventEmitter; onNodeUnselect: EventEmitter; onContextMenuSelect: EventEmitter; onHeaderCheckboxToggle: EventEmitter; onEditInit: EventEmitter; onEditComplete: EventEmitter; onEditCancel: EventEmitter; containerViewChild: ElementRef; resizeHelperViewChild: ElementRef; reorderIndicatorUpViewChild: ElementRef; reorderIndicatorDownViewChild: ElementRef; tableViewChild: ElementRef; scrollableViewChild: any; scrollableFrozenViewChild: any; templates: QueryList; _value: TreeNode[]; serializedValue: any[]; _totalRecords: number; _multiSortMeta: SortMeta[]; _sortField: string; _sortOrder: number; filteredNodes: any[]; filterTimeout: any; colGroupTemplate: TemplateRef; captionTemplate: TemplateRef; headerTemplate: TemplateRef; bodyTemplate: TemplateRef; loadingBodyTemplate: TemplateRef; footerTemplate: TemplateRef; summaryTemplate: TemplateRef; emptyMessageTemplate: TemplateRef; paginatorLeftTemplate: TemplateRef; paginatorRightTemplate: TemplateRef; paginatorDropdownItemTemplate: TemplateRef; frozenHeaderTemplate: TemplateRef; frozenBodyTemplate: TemplateRef; frozenFooterTemplate: TemplateRef; frozenColGroupTemplate: TemplateRef; lastResizerHelperX: number; reorderIconWidth: number; reorderIconHeight: number; draggedColumn: any; dropPosition: number; preventSelectionSetterPropagation: boolean; _selection: any; selectionKeys: any; rowTouched: boolean; editingCell: Element; editingCellData: any; editingCellField: any; editingCellClick: boolean; documentEditListener: any; initialized: boolean; toggleRowIndex: number; ngOnInit(): void; ngAfterContentInit(): void; constructor(el: ElementRef, zone: NgZone, tableService: TreeTableService, filterService: FilterService); ngOnChanges(simpleChange: SimpleChanges): void; get value(): any[]; set value(val: any[]); updateSerializedValue(): void; serializeNodes(parent: any, nodes: any, level: any, visible: any): void; serializePageNodes(): void; get totalRecords(): number; set totalRecords(val: number); get sortField(): string; set sortField(val: string); get sortOrder(): number; set sortOrder(val: number); get multiSortMeta(): SortMeta[]; set multiSortMeta(val: SortMeta[]); get selection(): any; set selection(val: any); updateSelectionKeys(): void; onPageChange(event: any): void; sort(event: any): void; sortSingle(): void; sortNodes(nodes: any): void; sortMultiple(): void; sortMultipleNodes(nodes: any): void; multisortField(node1: any, node2: any, multiSortMeta: any, index: any): any; getSortMeta(field: string): SortMeta; isSorted(field: string): boolean; createLazyLoadMetadata(): any; resetScrollTop(): void; scrollToVirtualIndex(index: number): void; scrollTo(options: any): void; isEmpty(): boolean; getBlockableElement(): HTMLElement; onColumnResizeBegin(event: any): void; onColumnResize(event: any): void; onColumnResizeEnd(event: any, column: any): void; findParentScrollableView(column: any): any; resizeColGroup(table: any, resizeColumnIndex: any, newColumnWidth: any, nextColumnWidth: any): void; onColumnDragStart(event: any, columnElement: any): void; onColumnDragEnter(event: any, dropHeader: any): void; onColumnDragLeave(event: any): void; onColumnDrop(event: any, dropColumn: any): void; handleRowClick(event: any): void; handleRowTouchEnd(event: any): void; handleRowRightClick(event: any): void; toggleNodeWithCheckbox(event: any): void; toggleNodesWithCheckbox(event: Event, check: boolean): void; propagateSelectionUp(node: TreeNode, select: boolean): void; propagateSelectionDown(node: TreeNode, select: boolean): void; isSelected(node: any): boolean; findIndexInSelection(node: any): number; isSingleSelectionMode(): boolean; isMultipleSelectionMode(): boolean; equals(node1: any, node2: any): boolean; filter(value: any, field: any, matchMode: any): void; filterGlobal(value: any, matchMode: any): void; isFilterBlank(filter: any): boolean; _filter(): void; findFilteredNodes(node: any, paramsWithoutNode: any): boolean; isFilterMatched(node: any, { filterField, filterValue, filterConstraint, isStrictMode }: { filterField: any; filterValue: any; filterConstraint: any; isStrictMode: any; }): boolean; isNodeLeaf(node: any): boolean; hasFilter(): boolean; reset(): void; updateEditingCell(cell: any, data: any, field: any): void; isEditingCellValid(): boolean; bindDocumentEditListener(): void; unbindDocumentEditListener(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class TTBody { tt: TreeTable; treeTableService: TreeTableService; cd: ChangeDetectorRef; columns: any[]; template: TemplateRef; frozen: boolean; subscription: Subscription; constructor(tt: TreeTable, treeTableService: TreeTableService, cd: ChangeDetectorRef); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class TTScrollableView implements AfterViewInit, OnDestroy { tt: TreeTable; el: ElementRef; zone: NgZone; columns: any[]; frozen: boolean; scrollHeaderViewChild: ElementRef; scrollHeaderBoxViewChild: ElementRef; scrollBodyViewChild: ElementRef; scrollTableViewChild: ElementRef; scrollLoadingTableViewChild: ElementRef; scrollFooterViewChild: ElementRef; scrollFooterBoxViewChild: ElementRef; scrollableAlignerViewChild: ElementRef; virtualScrollBody: CdkVirtualScrollViewport; headerScrollListener: any; bodyScrollListener: any; footerScrollListener: any; frozenSiblingBody: Element; totalRecordsSubscription: Subscription; _scrollHeight: string; preventBodyScrollPropagation: boolean; get scrollHeight(): string; set scrollHeight(val: string); constructor(tt: TreeTable, el: ElementRef, zone: NgZone); ngAfterViewInit(): void; bindEvents(): void; unbindEvents(): void; onHeaderScroll(): void; onFooterScroll(): void; onBodyScroll(event: any): void; scrollToVirtualIndex(index: number): void; scrollTo(options: any): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class TTSortableColumn implements OnInit, OnDestroy { tt: TreeTable; field: string; ttSortableColumnDisabled: boolean; sorted: boolean; subscription: Subscription; constructor(tt: TreeTable); ngOnInit(): void; updateSortState(): void; onClick(event: MouseEvent): void; onEnterKey(event: MouseEvent): void; isEnabled(): boolean; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class TTSortIcon implements OnInit, OnDestroy { tt: TreeTable; cd: ChangeDetectorRef; field: string; ariaLabelDesc: string; ariaLabelAsc: string; subscription: Subscription; sortOrder: number; constructor(tt: TreeTable, cd: ChangeDetectorRef); ngOnInit(): void; onClick(event: any): void; updateSortState(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class TTResizableColumn implements AfterViewInit, OnDestroy { tt: TreeTable; el: ElementRef; zone: NgZone; ttResizableColumnDisabled: boolean; resizer: HTMLSpanElement; resizerMouseDownListener: any; documentMouseMoveListener: any; documentMouseUpListener: any; constructor(tt: TreeTable, el: ElementRef, zone: NgZone); ngAfterViewInit(): void; bindDocumentEvents(): void; unbindDocumentEvents(): void; onMouseDown(event: Event): void; onDocumentMouseMove(event: Event): void; onDocumentMouseUp(event: Event): void; isEnabled(): boolean; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class TTReorderableColumn implements AfterViewInit, OnDestroy { tt: TreeTable; el: ElementRef; zone: NgZone; ttReorderableColumnDisabled: boolean; dragStartListener: any; dragOverListener: any; dragEnterListener: any; dragLeaveListener: any; mouseDownListener: any; constructor(tt: TreeTable, el: ElementRef, zone: NgZone); ngAfterViewInit(): void; bindEvents(): void; unbindEvents(): void; onMouseDown(event: any): void; onDragStart(event: any): void; onDragOver(event: any): void; onDragEnter(event: any): void; onDragLeave(event: any): void; onDrop(event: any): void; isEnabled(): boolean; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class TTSelectableRow implements OnInit, OnDestroy { tt: TreeTable; tableService: TreeTableService; rowNode: any; ttSelectableRowDisabled: boolean; selected: boolean; subscription: Subscription; constructor(tt: TreeTable, tableService: TreeTableService); ngOnInit(): void; onClick(event: Event): void; onEnterKey(event: KeyboardEvent): void; onTouchEnd(event: Event): void; isEnabled(): boolean; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class TTSelectableRowDblClick implements OnInit, OnDestroy { tt: TreeTable; tableService: TreeTableService; rowNode: any; ttSelectableRowDisabled: boolean; selected: boolean; subscription: Subscription; constructor(tt: TreeTable, tableService: TreeTableService); ngOnInit(): void; onClick(event: Event): void; isEnabled(): boolean; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class TTContextMenuRow { tt: TreeTable; tableService: TreeTableService; private el; rowNode: any; ttContextMenuRowDisabled: boolean; selected: boolean; subscription: Subscription; constructor(tt: TreeTable, tableService: TreeTableService, el: ElementRef); onContextMenu(event: Event): void; isEnabled(): boolean; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class TTCheckbox { tt: TreeTable; tableService: TreeTableService; cd: ChangeDetectorRef; disabled: boolean; rowNode: any; boxViewChild: ElementRef; checked: boolean; subscription: Subscription; constructor(tt: TreeTable, tableService: TreeTableService, cd: ChangeDetectorRef); ngOnInit(): void; onClick(event: Event): void; onFocus(): void; onBlur(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class TTHeaderCheckbox { tt: TreeTable; tableService: TreeTableService; private cd; boxViewChild: ElementRef; checked: boolean; disabled: boolean; selectionChangeSubscription: Subscription; valueChangeSubscription: Subscription; constructor(tt: TreeTable, tableService: TreeTableService, cd: ChangeDetectorRef); ngOnInit(): void; onClick(event: Event, checked: any): void; onFocus(): void; onBlur(): void; ngOnDestroy(): void; updateCheckedState(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class TTEditableColumn implements AfterViewInit { tt: TreeTable; el: ElementRef; zone: NgZone; data: any; field: any; ttEditableColumnDisabled: boolean; constructor(tt: TreeTable, el: ElementRef, zone: NgZone); ngAfterViewInit(): void; onClick(event: MouseEvent): void; openCell(): void; closeEditingCell(): void; onKeyDown(event: KeyboardEvent): void; findCell(element: any): any; moveToPreviousCell(event: KeyboardEvent): void; moveToNextCell(event: KeyboardEvent): void; findPreviousEditableColumn(cell: Element): any; findNextEditableColumn(cell: Element): any; isEnabled(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class TreeTableCellEditor implements AfterContentInit { tt: TreeTable; editableColumn: TTEditableColumn; templates: QueryList; inputTemplate: TemplateRef; outputTemplate: TemplateRef; constructor(tt: TreeTable, editableColumn: TTEditableColumn); ngAfterContentInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class TTRow { tt: TreeTable; el: ElementRef; zone: NgZone; rowNode: any; constructor(tt: TreeTable, el: ElementRef, zone: NgZone); onKeyDown(event: KeyboardEvent): void; restoreFocus(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare class TreeTableToggler { tt: TreeTable; rowNode: any; constructor(tt: TreeTable); onClick(event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export declare class TreeTableModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }