UNPKG

@ecoba-vn/tender-feature

Version:
22 lines (21 loc) 848 B
import { SortOrderType } from "handsontable/plugins/multiColumnSorting"; export declare const isEmptyOrSpaces: (str: string) => boolean; export declare const floatFromString: (str: string) => number; export declare const intFromString: (str: string) => number; /** * Format date * @param date * @param formatString * dd - Day * MM - Month * yy - Year * yyyy - Full year * hh - Hour * mm - minute * ss - second * @returns */ export declare function formatDate(date: Date, formatString?: string): string; export declare function formatNumber(value: number, frac?: number, locate?: string, currency?: string): string; export declare const valueFloatFormat: (value: string | number | null) => string | null; export declare function sortFunction(sortOrderType: SortOrderType): (value: any, newValue: any) => 0 | 1 | -1;