@petkit/ngx-table-descartes
Version:
Angular descartes table component
21 lines (20 loc) • 625 B
TypeScript
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[][];
}