| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- import { EventEmitter, ChangeDetectorRef, OnDestroy } from '@angular/core';
- import { SortType } from '../../types/sort.type';
- import { SelectionType } from '../../types/selection.type';
- import { DataTableColumnDirective } from '../columns/column.directive';
- export declare class DataTableHeaderComponent implements OnDestroy {
- private cd;
- sortAscendingIcon: any;
- sortDescendingIcon: any;
- scrollbarH: boolean;
- dealsWithGroup: boolean;
- targetMarkerTemplate: any;
- targetMarkerContext: any;
- innerWidth: number;
- sorts: any[];
- sortType: SortType;
- allRowsSelected: boolean;
- selectionType: SelectionType;
- reorderable: boolean;
- dragEventTarget: any;
- headerHeight: any;
- columns: any[];
- offsetX: number;
- sort: EventEmitter<any>;
- reorder: EventEmitter<any>;
- resize: EventEmitter<any>;
- select: EventEmitter<any>;
- columnContextmenu: EventEmitter<{
- event: MouseEvent;
- column: any;
- }>;
- _columnsByPin: any;
- _columnGroupWidths: any;
- _innerWidth: number;
- _offsetX: number;
- _columns: any[];
- _headerHeight: string;
- _styleByGroup: {
- [prop: string]: {};
- };
- private destroyed;
- constructor(cd: ChangeDetectorRef);
- ngOnDestroy(): void;
- onLongPressStart({ event, model }: {
- event: any;
- model: any;
- }): void;
- onLongPressEnd({ event, model }: {
- event: any;
- model: any;
- }): void;
- readonly headerWidth: string;
- trackByGroups(index: number, colGroup: any): any;
- columnTrackingFn(index: number, column: any): any;
- onColumnResized(width: number, column: DataTableColumnDirective): void;
- onColumnReordered({ prevIndex, newIndex, model }: any): void;
- onTargetChanged({ prevIndex, newIndex, initialIndex }: any): void;
- getColumn(index: number): any;
- onSort({ column, prevValue, newValue }: any): void;
- calcNewSorts(column: any, prevValue: number, newValue: number): any[];
- setStylesByGroup(): void;
- calcStylesByGroup(group: string): any;
- }
|