UNPKG

choerodon-ui

Version:

An enterprise-class UI design language and React-based implementation

8 lines (7 loc) 533 B
import { FieldType } from '../data-set/enum'; import Field from '../data-set/Field'; export declare function toRangeValue(value: any, range?: boolean | [string, string]): [any, any]; export declare function fromRangeValue(value: any[], range?: boolean | [string, string]): any; export declare function toMultipleValue(value: any, range?: boolean | [string, string]): any[]; export declare function getDateFormatByFieldType(type: FieldType): any; export declare function getDateFormatByField(field?: Field, type?: FieldType): string;