import { DateTimeField } from '../../web/views/fields/datetime/datetime_field'; /** * This extention introduces a new prop "minDateField" that works like "minDate" but allows the user to specify a field for a dynamic min value rather than a static value from a string * * @extends DateTimeField */ export class DynamicMinDateTimeField extends DateTimeField { /** * @override * Extends the picker props to support a dynamically computed minimum date. * * Unlike the standard static `minDate` option (which accepts a literal string), * this enhancement allows the picker to derive its minimum date from another * date field via the `minDateField` prop. This makes it possible to enforce * contextual constraints. * For example: ensuring that an end date cannot precede a start date, with the end_date DateTime picker automatically using the start_date as its minimum allowed value. * @returns {DateTimePickerProps} The picker configuration with the computed minDate. */ override getPickerProps(): DateTimePickerProps; } export const dynamicMinDateField: { component: typeof DynamicMinDateTimeField; displayName: any; supportedTypes: string[]; supportedOptions: ({ label: any; name: string; type: string; help: any; choices?: undefined; placeholder?: undefined; default?: undefined; availableTypes?: undefined; } | { label: any; name: string; type: string; help: any; choices: { label: any; value: string; }[]; placeholder?: undefined; default?: undefined; availableTypes?: undefined; } | { label: any; name: string; type: string; help: any; placeholder: any; choices: { label: any; value: boolean; }[]; default?: undefined; availableTypes?: undefined; } | { label: any; name: string; type: string; help: any; default: string; choices: { label: any; value: string; }[]; placeholder?: undefined; availableTypes?: undefined; } | { label: any; name: string; type: string; availableTypes: string[]; help?: undefined; choices?: undefined; placeholder?: undefined; default?: undefined; } | { label: any; name: string; type: string; availableTypes: string[]; help: any; })[]; fieldDependencies: (args: any) => { name: any; type: any; readonly: any; }[]; extractProps: (fieldInfo: any, dynamicInfo: any) => { minDateField: any; endDateField: any; maxDate: any; minDate: any; alwaysRange: boolean; placeholder: any; required: any; rounding: any; startDateField: any; numeric: any; minPrecision: any; maxPrecision: any; warning: any; }; listViewWidth: ({ options }: { options: any; }) => any; };