1 | import { TemplateRef, OnChanges } from '@angular/core';
|
2 | import { ColumnChangesService } from '../../services/column-changes.service';
|
3 | import { TableColumnProp } from '../../types/table-column.type';
|
4 | import * as i0 from "@angular/core";
|
5 | export declare class DataTableColumnDirective implements OnChanges {
|
6 | private columnChangesService;
|
7 | name: string;
|
8 | prop: TableColumnProp;
|
9 | frozenLeft: any;
|
10 | frozenRight: any;
|
11 | flexGrow: number;
|
12 | resizeable: boolean;
|
13 | comparator: any;
|
14 | pipe: any;
|
15 | sortable: boolean;
|
16 | draggable: boolean;
|
17 | canAutoResize: boolean;
|
18 | minWidth: number;
|
19 | width: number;
|
20 | maxWidth: number;
|
21 | checkboxable: boolean;
|
22 | headerCheckboxable: boolean;
|
23 | headerClass: string | ((data: any) => string | any);
|
24 | cellClass: string | ((data: any) => string | any);
|
25 | isTreeColumn: boolean;
|
26 | treeLevelIndent: number;
|
27 | summaryFunc: (cells: any[]) => any;
|
28 | summaryTemplate: TemplateRef<any>;
|
29 | _cellTemplateInput: TemplateRef<any>;
|
30 | _cellTemplateQuery: TemplateRef<any>;
|
31 | get cellTemplate(): TemplateRef<any>;
|
32 | _headerTemplateInput: TemplateRef<any>;
|
33 | _headerTemplateQuery: TemplateRef<any>;
|
34 | get headerTemplate(): TemplateRef<any>;
|
35 | _treeToggleTemplateInput: TemplateRef<any>;
|
36 | _treeToggleTemplateQuery: TemplateRef<any>;
|
37 | get treeToggleTemplate(): TemplateRef<any>;
|
38 | private isFirstChange;
|
39 | constructor(columnChangesService: ColumnChangesService);
|
40 | ngOnChanges(): void;
|
41 | static ɵfac: i0.ɵɵFactoryDeclaration<DataTableColumnDirective, never>;
|
42 | static ɵdir: i0.ɵɵDirectiveDeclaration<DataTableColumnDirective, "ngx-datatable-column", never, { "name": "name"; "prop": "prop"; "frozenLeft": "frozenLeft"; "frozenRight": "frozenRight"; "flexGrow": "flexGrow"; "resizeable": "resizeable"; "comparator": "comparator"; "pipe": "pipe"; "sortable": "sortable"; "draggable": "draggable"; "canAutoResize": "canAutoResize"; "minWidth": "minWidth"; "width": "width"; "maxWidth": "maxWidth"; "checkboxable": "checkboxable"; "headerCheckboxable": "headerCheckboxable"; "headerClass": "headerClass"; "cellClass": "cellClass"; "isTreeColumn": "isTreeColumn"; "treeLevelIndent": "treeLevelIndent"; "summaryFunc": "summaryFunc"; "summaryTemplate": "summaryTemplate"; "_cellTemplateInput": "cellTemplate"; "_headerTemplateInput": "headerTemplate"; "_treeToggleTemplateInput": "treeToggleTemplate"; }, {}, ["_cellTemplateQuery", "_headerTemplateQuery", "_treeToggleTemplateQuery"]>;
|
43 | }
|