UNPKG

@hubee/hubee-ui-table

Version:

Hubee UI Table é uma biblioteca que faz abstração da implementação de data tables para o React

14 lines (13 loc) 789 B
import { SearchModel, SearchResponseModel, ColumnModel } from '@/core/models'; import { ITableSearchService, TableProps } from '@/core/interfaces'; export default abstract class TableSearchService implements ITableSearchService { tableProps: TableProps; verifyDisableRowSelected(data: any): boolean; abstract search<T>(searchModel: SearchModel): Promise<SearchResponseModel<T>>; abstract makeSearchModel(): SearchModel; abstract makeColumns(): ColumnModel<any>[]; abstract makeLabelDisplayedResult(response: SearchResponseModel<any>): string; setTableProps(tableProps: TableProps): void; makeCriteriaToUrl(searchModel: SearchModel): string; makeSearchResponseClientSide(values: any[], searchModel: SearchModel): SearchResponseModel<any>; }