@gooddata/react-components
Version:
GoodData.UI - A powerful JavaScript library for building analytical applications
9 lines (8 loc) • 859 B
TypeScript
import { WrappedComponentProps } from "react-intl";
import { IMinMaxControlState, IMinMaxControlProps } from "../interfaces/MinMaxControl";
export declare function fixEmptyMaxValue(value: string): number;
export declare function fixEmptyMinValue(value: string): number;
export declare function isValueMinusOrEmpty(value: string): boolean;
export declare function isInvalidOrMinMaxError(value: string, minNumberValue: number, maxNumberValue: number): boolean;
export declare function maxInputValidateAndPushData(data: any, state: IMinMaxControlState, props: IMinMaxControlProps & WrappedComponentProps, setState: any, defaultState: IMinMaxControlState): void;
export declare function minInputValidateAndPushData(data: any, state: IMinMaxControlState, props: IMinMaxControlProps & WrappedComponentProps, setState: any, defaultState: IMinMaxControlState): void;