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 | import * as i0 from "@angular/core";
|
7 | export declare class DataTableHeaderCellComponent {
|
8 | private cd;
|
9 | sortType: SortType;
|
10 | sortAscendingIcon: string;
|
11 | sortDescendingIcon: string;
|
12 | sortUnsetIcon: string;
|
13 | isTarget: boolean;
|
14 | targetMarkerTemplate: any;
|
15 | targetMarkerContext: any;
|
16 | _allRowsSelected: boolean;
|
17 | set allRowsSelected(value: boolean);
|
18 | get allRowsSelected(): boolean;
|
19 | selectionType: SelectionType;
|
20 | set column(column: TableColumn);
|
21 | get column(): TableColumn;
|
22 | headerHeight: number;
|
23 | set sorts(val: any[]);
|
24 | get sorts(): any[];
|
25 | sort: EventEmitter<any>;
|
26 | select: EventEmitter<any>;
|
27 | columnContextmenu: EventEmitter<{
|
28 | event: MouseEvent;
|
29 | column: any;
|
30 | }>;
|
31 | get columnCssClasses(): any;
|
32 | get name(): string;
|
33 | get minWidth(): number;
|
34 | get maxWidth(): number;
|
35 | get width(): number;
|
36 | get isCheckboxable(): boolean;
|
37 | sortFn: any;
|
38 | sortClass: string;
|
39 | sortDir: SortDirection;
|
40 | selectFn: any;
|
41 | cellContext: any;
|
42 | private _column;
|
43 | private _sorts;
|
44 | constructor(cd: ChangeDetectorRef);
|
45 | onContextmenu($event: MouseEvent): void;
|
46 | ngOnInit(): void;
|
47 | calcSortDir(sorts: any[]): any;
|
48 | onSort(): void;
|
49 | calcSortClass(sortDir: SortDirection): string;
|
50 | static ɵfac: i0.ɵɵFactoryDeclaration<DataTableHeaderCellComponent, never>;
|
51 | static ɵcmp: i0.ɵɵComponentDeclaration<DataTableHeaderCellComponent, "datatable-header-cell", never, { "sortType": "sortType"; "sortAscendingIcon": "sortAscendingIcon"; "sortDescendingIcon": "sortDescendingIcon"; "sortUnsetIcon": "sortUnsetIcon"; "isTarget": "isTarget"; "targetMarkerTemplate": "targetMarkerTemplate"; "targetMarkerContext": "targetMarkerContext"; "allRowsSelected": "allRowsSelected"; "selectionType": "selectionType"; "column": "column"; "headerHeight": "headerHeight"; "sorts": "sorts"; }, { "sort": "sort"; "select": "select"; "columnContextmenu": "columnContextmenu"; }, never, never>;
|
52 | }
|