UNPKG

@gooddata/react-components

Version:

GoodData.UI - A powerful JavaScript library for building analytical applications

9 lines (8 loc) 669 B
import { AFM } from "@gooddata/typings"; import { IMappingHeader } from "../../../../interfaces/MappingHeader"; import { ISortInfo, ISortObj, SortDir } from "../../../../interfaces/Table"; export declare function getHeaderSortClassName(sortDir: SortDir, currentSort: SortDir): string; export declare function getNextSortDir(header: IMappingHeader, currentSortDir: SortDir): SortDir; export declare function getSortItem(executionRequest: AFM.IExecution): AFM.SortItem; export declare function getSortInfo(sortItem: AFM.SortItem, tableHeaders: IMappingHeader[]): ISortInfo; export declare function createSortItem(header: IMappingHeader, sortObj: ISortObj): AFM.SortItem;