1 | import { ChangeDetectorRef, EventEmitter, ElementRef, ViewContainerRef, OnDestroy, DoCheck } from '@angular/core';
|
2 | import { TableColumn } from '../../types/table-column.type';
|
3 | import { SortDirection } from '../../types/sort-direction.type';
|
4 | import * as i0 from "@angular/core";
|
5 | export declare type TreeStatus = 'collapsed' | 'expanded' | 'loading' | 'disabled';
|
6 | export declare class DataTableBodyCellComponent implements DoCheck, OnDestroy {
|
7 | private cd;
|
8 | displayCheck: (row: any, column?: TableColumn, value?: any) => boolean;
|
9 | set group(group: any);
|
10 | get group(): any;
|
11 | set rowHeight(val: number);
|
12 | get rowHeight(): number;
|
13 | set isSelected(val: boolean);
|
14 | get isSelected(): boolean;
|
15 | set expanded(val: boolean);
|
16 | get expanded(): boolean;
|
17 | set rowIndex(val: number);
|
18 | get rowIndex(): number;
|
19 | set column(column: TableColumn);
|
20 | get column(): TableColumn;
|
21 | set row(row: any);
|
22 | get row(): any;
|
23 | set sorts(val: any[]);
|
24 | get sorts(): any[];
|
25 | set treeStatus(status: TreeStatus);
|
26 | get treeStatus(): TreeStatus;
|
27 | activate: EventEmitter<any>;
|
28 | treeAction: EventEmitter<any>;
|
29 | cellTemplate: ViewContainerRef;
|
30 | get columnCssClasses(): any;
|
31 | get width(): number;
|
32 | get minWidth(): number;
|
33 | get maxWidth(): number;
|
34 | get height(): string | number;
|
35 | sanitizedValue: any;
|
36 | value: any;
|
37 | sortDir: SortDirection;
|
38 | isFocused: boolean;
|
39 | onCheckboxChangeFn: any;
|
40 | activateFn: any;
|
41 | cellContext: any;
|
42 | private _isSelected;
|
43 | private _sorts;
|
44 | private _column;
|
45 | private _row;
|
46 | private _group;
|
47 | private _rowHeight;
|
48 | private _rowIndex;
|
49 | private _expanded;
|
50 | private _element;
|
51 | private _treeStatus;
|
52 | constructor(element: ElementRef, cd: ChangeDetectorRef);
|
53 | ngDoCheck(): void;
|
54 | ngOnDestroy(): void;
|
55 | checkValueUpdates(): void;
|
56 | onFocus(): void;
|
57 | onBlur(): void;
|
58 | onClick(event: MouseEvent): void;
|
59 | onDblClick(event: MouseEvent): void;
|
60 | onKeyDown(event: KeyboardEvent): void;
|
61 | onCheckboxChange(event: any): void;
|
62 | calcSortDir(sorts: any[]): any;
|
63 | stripHtml(html: string): string;
|
64 | onTreeAction(): void;
|
65 | calcLeftMargin(column: any, row: any): number;
|
66 | static ɵfac: i0.ɵɵFactoryDeclaration<DataTableBodyCellComponent, never>;
|
67 | static ɵcmp: i0.ɵɵComponentDeclaration<DataTableBodyCellComponent, "datatable-body-cell", never, { "displayCheck": "displayCheck"; "group": "group"; "rowHeight": "rowHeight"; "isSelected": "isSelected"; "expanded": "expanded"; "rowIndex": "rowIndex"; "column": "column"; "row": "row"; "sorts": "sorts"; "treeStatus": "treeStatus"; }, { "activate": "activate"; "treeAction": "treeAction"; }, never, never>;
|
68 | }
|