UNPKG

@jaspersoft/jv-input-controls

Version:

Component for rendering input controls for a report or ad hoc view using visualize.js

16 lines (15 loc) 695 B
import { InputControlDataType, InputControlValidationRule } from '@jaspersoft/jv-tools'; export declare const getMinAndMaxSettings: (dataType: InputControlDataType | undefined, { minKey, maxKey }: { minKey: string; maxKey: string; }) => any; export declare const getDateFormatIfAny: (validationRules: InputControlValidationRule[], defaultFormat?: string) => string; export declare const verifyDateLimit: ({ dataType, maxOrMinDateAsString, dateAsString, isVerifyingMin, }: { dataType: InputControlDataType | undefined; maxOrMinDateAsString: string | null | undefined; dateAsString: string; isVerifyingMin: boolean; }) => { helperText: string; isError: boolean; };