1 | import { ChangeDetectorRef, ElementRef, OnInit, OnDestroy } from '@angular/core';
|
2 | import { DomSanitizer, SafeStyle } from '@angular/platform-browser';
|
3 | import { NbLayoutDirectionService } from '../../services/direction.service';
|
4 | import { NbCellDirective, NbFooterCellDirective, NbHeaderCellDirective } from '../cdk/table/cell';
|
5 | import { NbTreeGridColumnDefDirective } from './tree-grid-column-def.directive';
|
6 | import { NbColumnsService } from './tree-grid-columns.service';
|
7 | import * as i0 from "@angular/core";
|
8 | export declare class NbTreeGridCellDirective extends NbCellDirective implements OnInit, OnDestroy {
|
9 | private platformId;
|
10 | private window;
|
11 | private sanitizer;
|
12 | private directionService;
|
13 | private columnService;
|
14 | private cd;
|
15 | private destroy$;
|
16 | private readonly tree;
|
17 | private readonly columnDef;
|
18 | private initialLeftPadding;
|
19 | private initialRightPadding;
|
20 | private latestWidth;
|
21 | elementRef: ElementRef<HTMLElement>;
|
22 | get columnWidth(): string;
|
23 | get leftPadding(): string | SafeStyle | null;
|
24 | get rightPadding(): string | SafeStyle | null;
|
25 | constructor(columnDef: NbTreeGridColumnDefDirective, elementRef: ElementRef<HTMLElement>, tree: any, platformId: any, window: any, sanitizer: DomSanitizer, directionService: NbLayoutDirectionService, columnService: NbColumnsService, cd: ChangeDetectorRef);
|
26 | ngOnInit(): void;
|
27 | ngOnDestroy(): void;
|
28 | toggleRow(): void;
|
29 | private get initialStartPadding();
|
30 | private getStartPadding;
|
31 | static ɵfac: i0.ɵɵFactoryDeclaration<NbTreeGridCellDirective, never>;
|
32 | static ɵdir: i0.ɵɵDirectiveDeclaration<NbTreeGridCellDirective, "td[nbTreeGridCell]", never, {}, {}, never, never, false, never>;
|
33 | }
|
34 | export declare class NbTreeGridHeaderCellDirective extends NbHeaderCellDirective implements OnInit, OnDestroy {
|
35 | private columnService;
|
36 | private cd;
|
37 | private destroy$;
|
38 | private latestWidth;
|
39 | private readonly tree;
|
40 | get columnWidth(): string;
|
41 | constructor(columnDef: NbTreeGridColumnDefDirective, elementRef: ElementRef<HTMLElement>, tree: any, columnService: NbColumnsService, cd: ChangeDetectorRef);
|
42 | ngOnInit(): void;
|
43 | ngOnDestroy(): void;
|
44 | static ɵfac: i0.ɵɵFactoryDeclaration<NbTreeGridHeaderCellDirective, never>;
|
45 | static ɵdir: i0.ɵɵDirectiveDeclaration<NbTreeGridHeaderCellDirective, "th[nbTreeGridHeaderCell]", never, {}, {}, never, never, false, never>;
|
46 | }
|
47 | export declare class NbTreeGridFooterCellDirective extends NbFooterCellDirective implements OnInit, OnDestroy {
|
48 | private columnService;
|
49 | private cd;
|
50 | private destroy$;
|
51 | private latestWidth;
|
52 | private readonly tree;
|
53 | get columnWidth(): string;
|
54 | constructor(columnDef: NbTreeGridColumnDefDirective, elementRef: ElementRef, tree: any, columnService: NbColumnsService, cd: ChangeDetectorRef);
|
55 | ngOnInit(): void;
|
56 | ngOnDestroy(): void;
|
57 | static ɵfac: i0.ɵɵFactoryDeclaration<NbTreeGridFooterCellDirective, never>;
|
58 | static ɵdir: i0.ɵɵDirectiveDeclaration<NbTreeGridFooterCellDirective, "td[nbTreeGridFooterCell]", never, {}, {}, never, never, false, never>;
|
59 | }
|