UNPKG

react-application-core

Version:

A react-based application core for the business applications.

15 lines (14 loc) 962 B
/// <reference types="react" /> import { IEntity } from '../definitions.interface'; /** * @stable [14.10.2020] */ export declare class SortUtils { static readonly ID_ASC_SORTER: <TEntity extends IEntity>(item1: TEntity, item2: TEntity) => number; static readonly ID_DESC_SORTER: <TEntity extends IEntity>(item1: TEntity, item2: TEntity) => number; static readonly ISO_WEEK_DAYS_SORTER: (value1: number, value2: number) => number; static readonly NAME_ASC_SORTER: <TEntity extends IEntity>(value1: import("react").ReactText, value2: import("react").ReactText) => number; static readonly NUMBER_COMPARATOR: (a: any, b: any) => number; static readonly VALUE_ASC_SORTER: <TEntity extends IEntity>(value1: import("react").ReactText, value2: import("react").ReactText) => number; static readonly VALUE_DESC_SORTER: <TEntity extends IEntity>(value1: import("react").ReactText, value2: import("react").ReactText) => number; }