UNPKG

723 BTypeScriptView Raw
1import { IterableDiffers } from '@angular/core';
2import { Observable } from 'rxjs';
3import * as i0 from "@angular/core";
4export declare class NbColumnsService {
5 private differs;
6 private allColumns;
7 private visibleColumns;
8 private changesDiffer;
9 private columnHide$;
10 private columnShow$;
11 constructor(differs: IterableDiffers);
12 setColumns(columns: Iterable<string>): void;
13 getVisibleColumns(): string[];
14 hideColumn(column: string): void;
15 showColumn(column: string): void;
16 onColumnsChange(): Observable<void>;
17 private findInsertIndex;
18 static ɵfac: i0.ɵɵFactoryDeclaration<NbColumnsService, never>;
19 static ɵprov: i0.ɵɵInjectableDeclaration<NbColumnsService>;
20}