UNPKG

react-imask

Version:
143 lines 12.4 kB
import React from 'react'; import { IMaskInputProps } from './mixin'; declare const IMaskInput: React.ForwardRefExoticComponent<(Omit<import("./mixin").ReactElementProps<HTMLInputElement> & Omit<import("./mixin").ReactMaskProps<HTMLInputElement, { [x: string]: unknown; }>, "ref"> & Omit<import("../../imask/esm").MaskedDateOptions, "mask"> & { mask: DateConstructor; } & { ref?: React.Ref<React.ComponentType<IMaskInputProps<HTMLInputElement>>> | undefined; }, "ref"> | Omit<import("./mixin").ReactElementProps<HTMLInputElement> & Omit<import("./mixin").ReactMaskProps<HTMLInputElement, { [x: string]: unknown; }>, "ref"> & { mask: typeof import("../../imask/esm").MaskedDate; } & Omit<Omit<import("../../imask/esm").MaskedDateOptions, "mask"> & { mask: DateConstructor; }, "mask"> & { ref?: React.Ref<React.ComponentType<IMaskInputProps<HTMLInputElement>>> | undefined; }, "ref"> | Omit<import("./mixin").ReactElementProps<HTMLInputElement> & Omit<import("./mixin").ReactMaskProps<HTMLInputElement, { [x: string]: unknown; }>, "ref"> & Partial<Pick<import("../../imask/esm").MaskedNumber, "mask" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "format" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "min" | "max" | "radix" | "thousandsSeparator" | "mapToRadix" | "scale" | "normalizeZeros" | "padFractionalZeros">> & { ref?: React.Ref<React.ComponentType<IMaskInputProps<HTMLInputElement>>> | undefined; }, "ref"> | Omit<import("./mixin").ReactElementProps<HTMLInputElement> & Omit<import("./mixin").ReactMaskProps<HTMLInputElement, { [x: string]: unknown; }>, "ref"> & { mask: typeof import("../../imask/esm").MaskedNumber; } & Omit<Partial<Pick<import("../../imask/esm").MaskedNumber, "mask" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "format" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "min" | "max" | "radix" | "thousandsSeparator" | "mapToRadix" | "scale" | "normalizeZeros" | "padFractionalZeros">>, "mask"> & { ref?: React.Ref<React.ComponentType<IMaskInputProps<HTMLInputElement>>> | undefined; }, "ref"> | Omit<import("./mixin").ReactElementProps<HTMLInputElement> & Omit<import("./mixin").ReactMaskProps<HTMLInputElement, { [x: string]: unknown; }>, "ref"> & Partial<Pick<import("../../imask/esm").MaskedPattern<string>, "mask" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "format" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "definitions" | "blocks" | "placeholderChar" | "displayChar" | "lazy">> & { ref?: React.Ref<React.ComponentType<IMaskInputProps<HTMLInputElement>>> | undefined; }, "ref"> | Omit<import("./mixin").ReactElementProps<HTMLInputElement> & Omit<import("./mixin").ReactMaskProps<HTMLInputElement, { [x: string]: unknown; }>, "ref"> & { mask: typeof import("../../imask/esm").MaskedEnum; } & Omit<import("../../imask/esm").MaskedEnumOptions, "mask"> & { ref?: React.Ref<React.ComponentType<IMaskInputProps<HTMLInputElement>>> | undefined; }, "ref"> | Omit<import("./mixin").ReactElementProps<HTMLInputElement> & Omit<import("./mixin").ReactMaskProps<HTMLInputElement, { [x: string]: unknown; }>, "ref"> & { mask: typeof import("../../imask/esm").MaskedRange; } & Omit<import("../../imask/esm").MaskedRangeOptions, "mask"> & { ref?: React.Ref<React.ComponentType<IMaskInputProps<HTMLInputElement>>> | undefined; }, "ref"> | Omit<import("./mixin").ReactElementProps<HTMLInputElement> & Omit<import("./mixin").ReactMaskProps<HTMLInputElement, { [x: string]: unknown; }>, "ref"> & Partial<Pick<import("../../imask/esm").MaskedRegExp, "mask" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "format" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">> & { ref?: React.Ref<React.ComponentType<IMaskInputProps<HTMLInputElement>>> | undefined; }, "ref"> | Omit<import("./mixin").ReactElementProps<HTMLInputElement> & Omit<import("./mixin").ReactMaskProps<HTMLInputElement, { [x: string]: unknown; }>, "ref"> & { mask: typeof import("../../imask/esm").MaskedRegExp; } & Omit<Partial<Pick<import("../../imask/esm").MaskedRegExp, "mask" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "format" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & { ref?: React.Ref<React.ComponentType<IMaskInputProps<HTMLInputElement>>> | undefined; }, "ref"> | Omit<import("./mixin").ReactElementProps<HTMLInputElement> & Omit<import("./mixin").ReactMaskProps<HTMLInputElement, { [x: string]: unknown; }>, "ref"> & Partial<Pick<import("../../imask/esm").MaskedFunction<any>, "mask" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "format" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">> & { ref?: React.Ref<React.ComponentType<IMaskInputProps<HTMLInputElement>>> | undefined; }, "ref"> | Omit<import("./mixin").ReactElementProps<HTMLInputElement> & Omit<import("./mixin").ReactMaskProps<HTMLInputElement, { [x: string]: unknown; }>, "ref"> & { mask: typeof import("../../imask/esm").MaskedFunction; } & Omit<Partial<Pick<import("../../imask/esm").MaskedFunction<any>, "mask" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "format" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & { ref?: React.Ref<React.ComponentType<IMaskInputProps<HTMLInputElement>>> | undefined; }, "ref"> | Omit<import("./mixin").ReactElementProps<HTMLInputElement> & Omit<import("./mixin").ReactMaskProps<HTMLInputElement, { [x: string]: unknown; }>, "ref"> & { mask: typeof import("../../imask/esm").MaskedPattern; } & Omit<Partial<Pick<import("../../imask/esm").MaskedPattern<string>, "mask" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "format" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "definitions" | "blocks" | "placeholderChar" | "displayChar" | "lazy">>, "mask"> & { ref?: React.Ref<React.ComponentType<IMaskInputProps<HTMLInputElement>>> | undefined; }, "ref"> | Omit<import("./mixin").ReactElementProps<HTMLInputElement> & Omit<import("./mixin").ReactMaskProps<HTMLInputElement, { [x: string]: unknown; }>, "ref"> & Partial<Pick<import("../../imask/esm").MaskedDynamic<any>, "mask" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "format" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "dispatch">> & { ref?: React.Ref<React.ComponentType<IMaskInputProps<HTMLInputElement>>> | undefined; }, "ref"> | Omit<import("./mixin").ReactElementProps<HTMLInputElement> & Omit<import("./mixin").ReactMaskProps<HTMLInputElement, { [x: string]: unknown; }>, "ref"> & { mask: typeof import("../../imask/esm").MaskedDynamic; } & Omit<Partial<Pick<import("../../imask/esm").MaskedDynamic<any>, "mask" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "format" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "dispatch">>, "mask"> & { ref?: React.Ref<React.ComponentType<IMaskInputProps<HTMLInputElement>>> | undefined; }, "ref"> | Omit<import("./mixin").ReactElementProps<HTMLInputElement> & Omit<import("./mixin").ReactMaskProps<HTMLInputElement, { [x: string]: unknown; }>, "ref"> & { mask: typeof import("../../imask/esm").Masked; } & Omit<Partial<Pick<import("../../imask/esm").Masked<any>, "mask" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "format" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & { ref?: React.Ref<React.ComponentType<IMaskInputProps<HTMLInputElement>>> | undefined; }, "ref"> | Omit<import("./mixin").ReactElementProps<HTMLInputElement> & Omit<import("./mixin").ReactMaskProps<HTMLInputElement, { [x: string]: unknown; }>, "ref"> & { mask: import("../../imask/esm").MaskedDate; } & Omit<Omit<import("../../imask/esm").MaskedDateOptions, "mask"> & { mask: DateConstructor; }, "mask"> & { ref?: React.Ref<React.ComponentType<IMaskInputProps<HTMLInputElement>>> | undefined; }, "ref"> | Omit<import("./mixin").ReactElementProps<HTMLInputElement> & Omit<import("./mixin").ReactMaskProps<HTMLInputElement, { [x: string]: unknown; }>, "ref"> & { mask: import("../../imask/esm").MaskedNumber; } & Omit<Partial<Pick<import("../../imask/esm").MaskedNumber, "mask" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "format" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "min" | "max" | "radix" | "thousandsSeparator" | "mapToRadix" | "scale" | "normalizeZeros" | "padFractionalZeros">>, "mask"> & { ref?: React.Ref<React.ComponentType<IMaskInputProps<HTMLInputElement>>> | undefined; }, "ref"> | Omit<import("./mixin").ReactElementProps<HTMLInputElement> & Omit<import("./mixin").ReactMaskProps<HTMLInputElement, { [x: string]: unknown; }>, "ref"> & { mask: import("../../imask/esm").MaskedEnum; } & Omit<import("../../imask/esm").MaskedEnumOptions, "mask"> & { ref?: React.Ref<React.ComponentType<IMaskInputProps<HTMLInputElement>>> | undefined; }, "ref"> | Omit<import("./mixin").ReactElementProps<HTMLInputElement> & Omit<import("./mixin").ReactMaskProps<HTMLInputElement, { [x: string]: unknown; }>, "ref"> & { mask: import("../../imask/esm").MaskedRange; } & Omit<import("../../imask/esm").MaskedRangeOptions, "mask"> & { ref?: React.Ref<React.ComponentType<IMaskInputProps<HTMLInputElement>>> | undefined; }, "ref"> | Omit<import("./mixin").ReactElementProps<HTMLInputElement> & Omit<import("./mixin").ReactMaskProps<HTMLInputElement, { [x: string]: unknown; }>, "ref"> & { mask: import("../../imask/esm").MaskedRegExp; } & Omit<Partial<Pick<import("../../imask/esm").MaskedRegExp, "mask" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "format" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & { ref?: React.Ref<React.ComponentType<IMaskInputProps<HTMLInputElement>>> | undefined; }, "ref"> | Omit<import("./mixin").ReactElementProps<HTMLInputElement> & Omit<import("./mixin").ReactMaskProps<HTMLInputElement, { [x: string]: unknown; }>, "ref"> & { mask: import("../../imask/esm").MaskedFunction<any>; } & Omit<Partial<Pick<import("../../imask/esm").MaskedFunction<any>, "mask" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "format" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & { ref?: React.Ref<React.ComponentType<IMaskInputProps<HTMLInputElement>>> | undefined; }, "ref"> | Omit<import("./mixin").ReactElementProps<HTMLInputElement> & Omit<import("./mixin").ReactMaskProps<HTMLInputElement, { [x: string]: unknown; }>, "ref"> & { mask: import("../../imask/esm").MaskedPattern<string>; } & Omit<Partial<Pick<import("../../imask/esm").MaskedPattern<string>, "mask" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "format" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "definitions" | "blocks" | "placeholderChar" | "displayChar" | "lazy">>, "mask"> & { ref?: React.Ref<React.ComponentType<IMaskInputProps<HTMLInputElement>>> | undefined; }, "ref"> | Omit<import("./mixin").ReactElementProps<HTMLInputElement> & Omit<import("./mixin").ReactMaskProps<HTMLInputElement, { [x: string]: unknown; }>, "ref"> & { mask: import("../../imask/esm").MaskedDynamic<any>; } & Omit<Partial<Pick<import("../../imask/esm").MaskedDynamic<any>, "mask" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "format" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "dispatch">>, "mask"> & { ref?: React.Ref<React.ComponentType<IMaskInputProps<HTMLInputElement>>> | undefined; }, "ref"> | Omit<import("./mixin").ReactElementProps<HTMLInputElement> & Omit<import("./mixin").ReactMaskProps<HTMLInputElement, { [x: string]: unknown; }>, "ref"> & { mask: import("../../imask/esm").Masked<any>; } & Omit<Partial<Pick<import("../../imask/esm").Masked<any>, "mask" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "format" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & { ref?: React.Ref<React.ComponentType<IMaskInputProps<HTMLInputElement>>> | undefined; }, "ref">) & React.RefAttributes<unknown>>; export default IMaskInput; //# sourceMappingURL=input.d.ts.map