UNPKG

@petkit/ngx-table-descartes

Version:
21 lines (20 loc) 625 B
import { OnInit, TemplateRef } from '@angular/core'; import { Observable } from 'rxjs'; import { ITableDescartesTable } from './table-descartes.interface'; export declare class TableDescartesComponent implements OnInit { data: Observable<{ [key: string]: string; }[]>; order: Observable<string[] | null>; private _order; tpl: TemplateRef<any>; orderData: { [key: string]: string; }[][]; aoaData: string[][]; table: ITableDescartesTable[][]; constructor(); ngOnInit(): void; getAoA(AoO: object[], order: any[]): string[][]; format(data: any[][]): any[][]; }