dynamic-mat-table
Version:
dynamic-mat-table is an Angular component for presenting large and complex data with a lightning fast performance (at least 10x faster) and excellent level of control over the presentation.
68 lines (67 loc) • 1.79 kB
TypeScript
import { MatPaginatorIntl } from '@angular/material/paginator';
export interface LanguagePack {
tableLabels: TableLabels;
filterLabels: FilterLabels;
paginatorLabels: MatPaginatorIntl;
menuLabels: MenuLabels;
}
export interface TableLabels {
NoData: string;
}
export interface PaginatorLabels {
itemsPerPageLabel: string;
nextPageLabel: string;
previousPageLabel: string;
firstPageLabel: string;
lastPageLabel: string;
getRangeLabel: (page: number, pageSize: number, length: number) => string;
}
export interface FilterLabels {
Clear: string;
Search: string;
And: string;
Or: string;
Text: string;
TextContains: string;
TextEquals: string;
TextStartsWith: string;
TextEndsWith: string;
TextEmpty: string;
TextNotEmpty: string;
Number: string;
NumberEquals: string;
NumberNotEquals: string;
NumberGreaterThan: string;
NumberLessThan: string;
NumberEmpty: string;
NumberNotEmpty: string;
CategoryContains: string;
CategoryNotContains: string;
}
export interface MenuLabels {
saveData: string;
newSetting: string;
defaultSetting: string;
noSetting: string;
columnSetting: string;
saveTableSetting: string;
fullScreen: string;
clearFilter: string;
jsonFile: string;
csvFile: string;
printTable: string;
filterMode: string;
filterLocalMode: string;
filterServerMode: string;
sortMode: string;
sortLocalMode: string;
sortServerMode: string;
printMode: string;
printYesMode: string;
printNoMode: string;
pinMode: string;
pinNoneMode: string;
pinStartMode: string;
pinEndMode: string;
thereIsNoColumn: string;
}