1 | import { IterableDiffers, OnChanges, SimpleChanges, TemplateRef } from '@angular/core';
|
2 | import { NbCellDefDirective, NbFooterCellDefDirective, NbHeaderCellDefDirective } from '../cdk/table/cell';
|
3 | import { NbFooterRowDefDirective, NbHeaderRowDefDirective, NbRowDefDirective } from '../cdk/table/row';
|
4 | import { NbColumnsService } from './tree-grid-columns.service';
|
5 | import * as i0 from "@angular/core";
|
6 | export interface NbTreeGridResponsiveRowDef {
|
7 | hideColumn(column: string): any;
|
8 | showColumn(column: string): any;
|
9 | }
|
10 |
|
11 |
|
12 |
|
13 |
|
14 | export declare class NbTreeGridRowDefDirective<T> extends NbRowDefDirective<T> implements OnChanges, NbTreeGridResponsiveRowDef {
|
15 | private columnsService;
|
16 | |
17 |
|
18 |
|
19 | columns: Iterable<string>;
|
20 | constructor(template: TemplateRef<any>, differs: IterableDiffers, columnsService: NbColumnsService);
|
21 | ngOnChanges(changes: SimpleChanges): void;
|
22 | updateColumns(columns: Iterable<string>): void;
|
23 | getVisibleColumns(): Iterable<string>;
|
24 | /** @docs-private */
|
25 | hideColumn(column: string): void;
|
26 | /** @docs-private */
|
27 | showColumn(column: string): void;
|
28 | static ɵfac: i0.ɵɵFactoryDeclaration<NbTreeGridRowDefDirective<any>, never>;
|
29 | static ɵdir: i0.ɵɵDirectiveDeclaration<NbTreeGridRowDefDirective<any>, "[nbTreeGridRowDef]", never, { "columns": { "alias": "nbTreeGridRowDefColumns"; "required": false; }; }, {}, never, never, false, never>;
|
30 | }
|
31 | export declare class NbTreeGridHeaderRowDefDirective extends NbHeaderRowDefDirective implements OnChanges, NbTreeGridResponsiveRowDef {
|
32 | private columnsService;
|
33 | |
34 |
|
35 |
|
36 | columns: Iterable<string>;
|
37 | constructor(template: TemplateRef<any>, differs: IterableDiffers, columnsService: NbColumnsService);
|
38 | ngOnChanges(changes: SimpleChanges): void;
|
39 | updateColumns(columns: Iterable<string>): void;
|
40 | getVisibleColumns(): Iterable<string>;
|
41 | /** @docs-private */
|
42 | hideColumn(column: string): void;
|
43 | /** @docs-private */
|
44 | showColumn(column: string): void;
|
45 | static ɵfac: i0.ɵɵFactoryDeclaration<NbTreeGridHeaderRowDefDirective, never>;
|
46 | static ɵdir: i0.ɵɵDirectiveDeclaration<NbTreeGridHeaderRowDefDirective, "[nbTreeGridHeaderRowDef]", never, { "columns": { "alias": "nbTreeGridHeaderRowDef"; "required": false; }; }, {}, never, never, false, never>;
|
47 | }
|
48 | export declare class NbTreeGridFooterRowDefDirective extends NbFooterRowDefDirective implements OnChanges, NbTreeGridResponsiveRowDef {
|
49 | private columnsService;
|
50 | |
51 |
|
52 |
|
53 | columns: Iterable<string>;
|
54 | constructor(template: TemplateRef<any>, differs: IterableDiffers, columnsService: NbColumnsService);
|
55 | ngOnChanges(changes: SimpleChanges): void;
|
56 | updateColumns(columns: Iterable<string>): void;
|
57 | getVisibleColumns(): Iterable<string>;
|
58 | /** @docs-private */
|
59 | hideColumn(column: string): void;
|
60 | /** @docs-private */
|
61 | showColumn(column: string): void;
|
62 | static ɵfac: i0.ɵɵFactoryDeclaration<NbTreeGridFooterRowDefDirective, never>;
|
63 | static ɵdir: i0.ɵɵDirectiveDeclaration<NbTreeGridFooterRowDefDirective, "[nbTreeGridFooterRowDef]", never, { "columns": { "alias": "nbTreeGridFooterRowDef"; "required": false; }; }, {}, never, never, false, never>;
|
64 | }
|
65 |
|
66 |
|
67 |
|
68 |
|
69 | export declare class NbTreeGridCellDefDirective extends NbCellDefDirective {
|
70 | static ɵfac: i0.ɵɵFactoryDeclaration<NbTreeGridCellDefDirective, never>;
|
71 | static ɵdir: i0.ɵɵDirectiveDeclaration<NbTreeGridCellDefDirective, "[nbTreeGridCellDef]", never, {}, {}, never, never, false, never>;
|
72 | }
|
73 |
|
74 |
|
75 |
|
76 |
|
77 | export declare class NbTreeGridHeaderCellDefDirective extends NbHeaderCellDefDirective {
|
78 | static ɵfac: i0.ɵɵFactoryDeclaration<NbTreeGridHeaderCellDefDirective, never>;
|
79 | static ɵdir: i0.ɵɵDirectiveDeclaration<NbTreeGridHeaderCellDefDirective, "[nbTreeGridHeaderCellDef]", never, {}, {}, never, never, false, never>;
|
80 | }
|
81 |
|
82 |
|
83 |
|
84 |
|
85 | export declare class NbTreeGridFooterCellDefDirective extends NbFooterCellDefDirective {
|
86 | static ɵfac: i0.ɵɵFactoryDeclaration<NbTreeGridFooterCellDefDirective, never>;
|
87 | static ɵdir: i0.ɵɵDirectiveDeclaration<NbTreeGridFooterCellDefDirective, "[nbTreeGridFooterCellDef]", never, {}, {}, never, never, false, never>;
|
88 | }
|