1 | import { EventEmitter, ChangeDetectorRef } from '@angular/core';
|
2 | import { SortType } from '../../types/sort.type';
|
3 | import { SelectionType } from '../../types/selection.type';
|
4 | import { TableColumn } from '../../types/table-column.type';
|
5 | import { SortDirection } from '../../types/sort-direction.type';
|
6 | export declare class DataTableHeaderCellComponent {
|
7 | private cd;
|
8 | sortType: SortType;
|
9 | sortAscendingIcon: string;
|
10 | sortDescendingIcon: string;
|
11 | sortUnsetIcon: string;
|
12 | isTarget: boolean;
|
13 | targetMarkerTemplate: any;
|
14 | targetMarkerContext: any;
|
15 | _allRowsSelected: boolean;
|
16 | set allRowsSelected(value: boolean);
|
17 | get allRowsSelected(): boolean;
|
18 | selectionType: SelectionType;
|
19 | set column(column: TableColumn);
|
20 | get column(): TableColumn;
|
21 | headerHeight: number;
|
22 | set sorts(val: any[]);
|
23 | get sorts(): any[];
|
24 | sort: EventEmitter<any>;
|
25 | select: EventEmitter<any>;
|
26 | columnContextmenu: EventEmitter<{
|
27 | event: MouseEvent;
|
28 | column: any;
|
29 | }>;
|
30 | get columnCssClasses(): any;
|
31 | get name(): string;
|
32 | get minWidth(): number;
|
33 | get maxWidth(): number;
|
34 | get width(): number;
|
35 | get isCheckboxable(): boolean;
|
36 | sortFn: any;
|
37 | sortClass: string;
|
38 | sortDir: SortDirection;
|
39 | selectFn: any;
|
40 | cellContext: any;
|
41 | private _column;
|
42 | private _sorts;
|
43 | constructor(cd: ChangeDetectorRef);
|
44 | onContextmenu($event: MouseEvent): void;
|
45 | ngOnInit(): void;
|
46 | calcSortDir(sorts: any[]): any;
|
47 | onSort(): void;
|
48 | calcSortClass(sortDir: SortDirection): string;
|
49 | }
|