1
0
Fork 0
react-playground/node_modules/@mui/x-date-pickers/esm/internals/hooks/useField/useFieldV6TextField.d.ts
Techognito fc0f69dacb Added Statistics calculation
Statistics now show calculated values
2025-09-04 17:30:00 +02:00

26 lines
No EOL
1.3 KiB
TypeScript

import { UseFieldParameters, UseFieldProps, UseFieldReturnValue } from "./useField.types.js";
import { InferFieldSection } from "../../../models/index.js";
import { PickerValidValue } from "../../models/index.js";
export declare const addPositionPropertiesToSections: <TValue extends PickerValidValue>(sections: InferFieldSection<TValue>[], localizedDigits: string[], isRtl: boolean) => FieldSectionWithPositions<TValue>[];
export declare const useFieldV6TextField: <TValue extends PickerValidValue, TError, TValidationProps extends {}, TProps extends UseFieldProps<false>>(parameters: UseFieldParameters<TValue, false, TError, TValidationProps, TProps>) => UseFieldReturnValue<false, TProps>;
type FieldSectionWithPositions<TValue extends PickerValidValue> = InferFieldSection<TValue> & {
/**
* Start index of the section in the format
*/
start: number;
/**
* End index of the section in the format
*/
end: number;
/**
* Start index of the section value in the input.
* Takes into account invisible unicode characters such as \u2069 but does not include them
*/
startInInput: number;
/**
* End index of the section value in the input.
* Takes into account invisible unicode characters such as \u2069 but does not include them
*/
endInInput: number;
};
export {};