@kvell-group/ui 1.12.0 → 1.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Inputs/CardInput/CardInput.d.ts +139 -4
- package/dist/components/Inputs/CvvInput/CvvInput.d.ts +139 -4
- package/dist/components/Inputs/MaskedInput/MaskedInput.d.ts +139 -4
- package/dist/components/Inputs/types.d.ts +3 -1
- package/dist/constants/masks.d.ts +1 -1
- package/dist/constants/masks.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,139 @@
|
|
|
1
|
-
export declare const CardInput: import('react').ForwardRefExoticComponent<import('@mantine/core').InputBaseProps & import('
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export declare const CardInput: import('react').ForwardRefExoticComponent<import('@mantine/core').InputBaseProps & Omit<Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
2
|
+
[x: string]: unknown;
|
|
3
|
+
}>, "ref"> & Omit<import('imask').MaskedDateOptions, "mask"> & {
|
|
4
|
+
mask: DateConstructor;
|
|
5
|
+
} & {
|
|
6
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
7
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
8
|
+
[x: string]: unknown;
|
|
9
|
+
}>, "ref"> & {
|
|
10
|
+
mask: typeof import('imask').MaskedDate;
|
|
11
|
+
} & Omit<Omit<import('imask').MaskedDateOptions, "mask"> & {
|
|
12
|
+
mask: DateConstructor;
|
|
13
|
+
}, "mask"> & {
|
|
14
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
15
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedNumber, "scale" | "mask" | "max" | "min" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "radix" | "thousandsSeparator" | "mapToRadix" | "normalizeZeros" | "padFractionalZeros">> & {
|
|
18
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
19
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
20
|
+
[x: string]: unknown;
|
|
21
|
+
}>, "ref"> & {
|
|
22
|
+
mask: typeof import('imask').MaskedNumber;
|
|
23
|
+
} & Omit<Partial<Pick<import('imask').MaskedNumber, "scale" | "mask" | "max" | "min" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "radix" | "thousandsSeparator" | "mapToRadix" | "normalizeZeros" | "padFractionalZeros">>, "mask"> & {
|
|
24
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
25
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedPattern<string>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "definitions" | "blocks" | "placeholderChar" | "displayChar" | "lazy">> & {
|
|
28
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
29
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
30
|
+
[x: string]: unknown;
|
|
31
|
+
}>, "ref"> & {
|
|
32
|
+
mask: typeof import('imask').MaskedEnum;
|
|
33
|
+
} & Omit<import('imask').MaskedEnumOptions, "mask"> & {
|
|
34
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
35
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
36
|
+
[x: string]: unknown;
|
|
37
|
+
}>, "ref"> & {
|
|
38
|
+
mask: typeof import('imask').MaskedRange;
|
|
39
|
+
} & Omit<import('imask').MaskedRangeOptions, "mask"> & {
|
|
40
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
41
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
42
|
+
[x: string]: unknown;
|
|
43
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedRegExp, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">> & {
|
|
44
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
45
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
46
|
+
[x: string]: unknown;
|
|
47
|
+
}>, "ref"> & {
|
|
48
|
+
mask: typeof import('imask').MaskedRegExp;
|
|
49
|
+
} & Omit<Partial<Pick<import('imask').MaskedRegExp, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
50
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
51
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
52
|
+
[x: string]: unknown;
|
|
53
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedFunction<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">> & {
|
|
54
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
55
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
56
|
+
[x: string]: unknown;
|
|
57
|
+
}>, "ref"> & {
|
|
58
|
+
mask: typeof import('imask').MaskedFunction;
|
|
59
|
+
} & Omit<Partial<Pick<import('imask').MaskedFunction<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
60
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
61
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
62
|
+
[x: string]: unknown;
|
|
63
|
+
}>, "ref"> & {
|
|
64
|
+
mask: typeof import('imask').MaskedPattern;
|
|
65
|
+
} & Omit<Partial<Pick<import('imask').MaskedPattern<string>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "definitions" | "blocks" | "placeholderChar" | "displayChar" | "lazy">>, "mask"> & {
|
|
66
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
67
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
68
|
+
[x: string]: unknown;
|
|
69
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedDynamic<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "dispatch">> & {
|
|
70
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
71
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
72
|
+
[x: string]: unknown;
|
|
73
|
+
}>, "ref"> & {
|
|
74
|
+
mask: typeof import('imask').MaskedDynamic;
|
|
75
|
+
} & Omit<Partial<Pick<import('imask').MaskedDynamic<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "dispatch">>, "mask"> & {
|
|
76
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
77
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
78
|
+
[x: string]: unknown;
|
|
79
|
+
}>, "ref"> & {
|
|
80
|
+
mask: typeof import('imask').Masked;
|
|
81
|
+
} & Omit<Partial<Pick<import('imask').Masked<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
82
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
83
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
84
|
+
[x: string]: unknown;
|
|
85
|
+
}>, "ref"> & {
|
|
86
|
+
mask: import('imask').MaskedDate;
|
|
87
|
+
} & Omit<Omit<import('imask').MaskedDateOptions, "mask"> & {
|
|
88
|
+
mask: DateConstructor;
|
|
89
|
+
}, "mask"> & {
|
|
90
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
91
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
92
|
+
[x: string]: unknown;
|
|
93
|
+
}>, "ref"> & {
|
|
94
|
+
mask: import('imask').MaskedNumber;
|
|
95
|
+
} & Omit<Partial<Pick<import('imask').MaskedNumber, "scale" | "mask" | "max" | "min" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "radix" | "thousandsSeparator" | "mapToRadix" | "normalizeZeros" | "padFractionalZeros">>, "mask"> & {
|
|
96
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
97
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
98
|
+
[x: string]: unknown;
|
|
99
|
+
}>, "ref"> & {
|
|
100
|
+
mask: import('imask').MaskedEnum;
|
|
101
|
+
} & Omit<import('imask').MaskedEnumOptions, "mask"> & {
|
|
102
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
103
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
104
|
+
[x: string]: unknown;
|
|
105
|
+
}>, "ref"> & {
|
|
106
|
+
mask: import('imask').MaskedRange;
|
|
107
|
+
} & Omit<import('imask').MaskedRangeOptions, "mask"> & {
|
|
108
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
109
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
110
|
+
[x: string]: unknown;
|
|
111
|
+
}>, "ref"> & {
|
|
112
|
+
mask: import('imask').MaskedRegExp;
|
|
113
|
+
} & Omit<Partial<Pick<import('imask').MaskedRegExp, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
114
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
115
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
116
|
+
[x: string]: unknown;
|
|
117
|
+
}>, "ref"> & {
|
|
118
|
+
mask: import('imask').MaskedFunction<any>;
|
|
119
|
+
} & Omit<Partial<Pick<import('imask').MaskedFunction<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
120
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
121
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
122
|
+
[x: string]: unknown;
|
|
123
|
+
}>, "ref"> & {
|
|
124
|
+
mask: import('imask').MaskedPattern<string>;
|
|
125
|
+
} & Omit<Partial<Pick<import('imask').MaskedPattern<string>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "definitions" | "blocks" | "placeholderChar" | "displayChar" | "lazy">>, "mask"> & {
|
|
126
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
127
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
128
|
+
[x: string]: unknown;
|
|
129
|
+
}>, "ref"> & {
|
|
130
|
+
mask: import('imask').MaskedDynamic<any>;
|
|
131
|
+
} & Omit<Partial<Pick<import('imask').MaskedDynamic<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "dispatch">>, "mask"> & {
|
|
132
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
133
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
134
|
+
[x: string]: unknown;
|
|
135
|
+
}>, "ref"> & {
|
|
136
|
+
mask: import('imask').Masked<any>;
|
|
137
|
+
} & Omit<Partial<Pick<import('imask').Masked<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
138
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
139
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref">, keyof import('@mantine/core').InputBaseProps> & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -1,4 +1,139 @@
|
|
|
1
|
-
export declare const CvvInput: import('react').ForwardRefExoticComponent<import('@mantine/core').InputBaseProps & import('
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export declare const CvvInput: import('react').ForwardRefExoticComponent<import('@mantine/core').InputBaseProps & Omit<Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
2
|
+
[x: string]: unknown;
|
|
3
|
+
}>, "ref"> & Omit<import('imask').MaskedDateOptions, "mask"> & {
|
|
4
|
+
mask: DateConstructor;
|
|
5
|
+
} & {
|
|
6
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
7
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
8
|
+
[x: string]: unknown;
|
|
9
|
+
}>, "ref"> & {
|
|
10
|
+
mask: typeof import('imask').MaskedDate;
|
|
11
|
+
} & Omit<Omit<import('imask').MaskedDateOptions, "mask"> & {
|
|
12
|
+
mask: DateConstructor;
|
|
13
|
+
}, "mask"> & {
|
|
14
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
15
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedNumber, "scale" | "mask" | "max" | "min" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "radix" | "thousandsSeparator" | "mapToRadix" | "normalizeZeros" | "padFractionalZeros">> & {
|
|
18
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
19
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
20
|
+
[x: string]: unknown;
|
|
21
|
+
}>, "ref"> & {
|
|
22
|
+
mask: typeof import('imask').MaskedNumber;
|
|
23
|
+
} & Omit<Partial<Pick<import('imask').MaskedNumber, "scale" | "mask" | "max" | "min" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "radix" | "thousandsSeparator" | "mapToRadix" | "normalizeZeros" | "padFractionalZeros">>, "mask"> & {
|
|
24
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
25
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedPattern<string>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "definitions" | "blocks" | "placeholderChar" | "displayChar" | "lazy">> & {
|
|
28
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
29
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
30
|
+
[x: string]: unknown;
|
|
31
|
+
}>, "ref"> & {
|
|
32
|
+
mask: typeof import('imask').MaskedEnum;
|
|
33
|
+
} & Omit<import('imask').MaskedEnumOptions, "mask"> & {
|
|
34
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
35
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
36
|
+
[x: string]: unknown;
|
|
37
|
+
}>, "ref"> & {
|
|
38
|
+
mask: typeof import('imask').MaskedRange;
|
|
39
|
+
} & Omit<import('imask').MaskedRangeOptions, "mask"> & {
|
|
40
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
41
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
42
|
+
[x: string]: unknown;
|
|
43
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedRegExp, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">> & {
|
|
44
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
45
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
46
|
+
[x: string]: unknown;
|
|
47
|
+
}>, "ref"> & {
|
|
48
|
+
mask: typeof import('imask').MaskedRegExp;
|
|
49
|
+
} & Omit<Partial<Pick<import('imask').MaskedRegExp, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
50
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
51
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
52
|
+
[x: string]: unknown;
|
|
53
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedFunction<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">> & {
|
|
54
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
55
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
56
|
+
[x: string]: unknown;
|
|
57
|
+
}>, "ref"> & {
|
|
58
|
+
mask: typeof import('imask').MaskedFunction;
|
|
59
|
+
} & Omit<Partial<Pick<import('imask').MaskedFunction<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
60
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
61
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
62
|
+
[x: string]: unknown;
|
|
63
|
+
}>, "ref"> & {
|
|
64
|
+
mask: typeof import('imask').MaskedPattern;
|
|
65
|
+
} & Omit<Partial<Pick<import('imask').MaskedPattern<string>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "definitions" | "blocks" | "placeholderChar" | "displayChar" | "lazy">>, "mask"> & {
|
|
66
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
67
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
68
|
+
[x: string]: unknown;
|
|
69
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedDynamic<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "dispatch">> & {
|
|
70
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
71
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
72
|
+
[x: string]: unknown;
|
|
73
|
+
}>, "ref"> & {
|
|
74
|
+
mask: typeof import('imask').MaskedDynamic;
|
|
75
|
+
} & Omit<Partial<Pick<import('imask').MaskedDynamic<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "dispatch">>, "mask"> & {
|
|
76
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
77
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
78
|
+
[x: string]: unknown;
|
|
79
|
+
}>, "ref"> & {
|
|
80
|
+
mask: typeof import('imask').Masked;
|
|
81
|
+
} & Omit<Partial<Pick<import('imask').Masked<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
82
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
83
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
84
|
+
[x: string]: unknown;
|
|
85
|
+
}>, "ref"> & {
|
|
86
|
+
mask: import('imask').MaskedDate;
|
|
87
|
+
} & Omit<Omit<import('imask').MaskedDateOptions, "mask"> & {
|
|
88
|
+
mask: DateConstructor;
|
|
89
|
+
}, "mask"> & {
|
|
90
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
91
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
92
|
+
[x: string]: unknown;
|
|
93
|
+
}>, "ref"> & {
|
|
94
|
+
mask: import('imask').MaskedNumber;
|
|
95
|
+
} & Omit<Partial<Pick<import('imask').MaskedNumber, "scale" | "mask" | "max" | "min" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "radix" | "thousandsSeparator" | "mapToRadix" | "normalizeZeros" | "padFractionalZeros">>, "mask"> & {
|
|
96
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
97
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
98
|
+
[x: string]: unknown;
|
|
99
|
+
}>, "ref"> & {
|
|
100
|
+
mask: import('imask').MaskedEnum;
|
|
101
|
+
} & Omit<import('imask').MaskedEnumOptions, "mask"> & {
|
|
102
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
103
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
104
|
+
[x: string]: unknown;
|
|
105
|
+
}>, "ref"> & {
|
|
106
|
+
mask: import('imask').MaskedRange;
|
|
107
|
+
} & Omit<import('imask').MaskedRangeOptions, "mask"> & {
|
|
108
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
109
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
110
|
+
[x: string]: unknown;
|
|
111
|
+
}>, "ref"> & {
|
|
112
|
+
mask: import('imask').MaskedRegExp;
|
|
113
|
+
} & Omit<Partial<Pick<import('imask').MaskedRegExp, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
114
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
115
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
116
|
+
[x: string]: unknown;
|
|
117
|
+
}>, "ref"> & {
|
|
118
|
+
mask: import('imask').MaskedFunction<any>;
|
|
119
|
+
} & Omit<Partial<Pick<import('imask').MaskedFunction<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
120
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
121
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
122
|
+
[x: string]: unknown;
|
|
123
|
+
}>, "ref"> & {
|
|
124
|
+
mask: import('imask').MaskedPattern<string>;
|
|
125
|
+
} & Omit<Partial<Pick<import('imask').MaskedPattern<string>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "definitions" | "blocks" | "placeholderChar" | "displayChar" | "lazy">>, "mask"> & {
|
|
126
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
127
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
128
|
+
[x: string]: unknown;
|
|
129
|
+
}>, "ref"> & {
|
|
130
|
+
mask: import('imask').MaskedDynamic<any>;
|
|
131
|
+
} & Omit<Partial<Pick<import('imask').MaskedDynamic<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "dispatch">>, "mask"> & {
|
|
132
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
133
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
134
|
+
[x: string]: unknown;
|
|
135
|
+
}>, "ref"> & {
|
|
136
|
+
mask: import('imask').Masked<any>;
|
|
137
|
+
} & Omit<Partial<Pick<import('imask').Masked<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
138
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
139
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref">, keyof import('@mantine/core').InputBaseProps> & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -1,4 +1,139 @@
|
|
|
1
|
-
export declare const MaskedInput: import('react').ForwardRefExoticComponent<import('@mantine/core').InputBaseProps & import('
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export declare const MaskedInput: import('react').ForwardRefExoticComponent<import('@mantine/core').InputBaseProps & Omit<Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
2
|
+
[x: string]: unknown;
|
|
3
|
+
}>, "ref"> & Omit<import('imask').MaskedDateOptions, "mask"> & {
|
|
4
|
+
mask: DateConstructor;
|
|
5
|
+
} & {
|
|
6
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
7
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
8
|
+
[x: string]: unknown;
|
|
9
|
+
}>, "ref"> & {
|
|
10
|
+
mask: typeof import('imask').MaskedDate;
|
|
11
|
+
} & Omit<Omit<import('imask').MaskedDateOptions, "mask"> & {
|
|
12
|
+
mask: DateConstructor;
|
|
13
|
+
}, "mask"> & {
|
|
14
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
15
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedNumber, "scale" | "mask" | "max" | "min" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "radix" | "thousandsSeparator" | "mapToRadix" | "normalizeZeros" | "padFractionalZeros">> & {
|
|
18
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
19
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
20
|
+
[x: string]: unknown;
|
|
21
|
+
}>, "ref"> & {
|
|
22
|
+
mask: typeof import('imask').MaskedNumber;
|
|
23
|
+
} & Omit<Partial<Pick<import('imask').MaskedNumber, "scale" | "mask" | "max" | "min" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "radix" | "thousandsSeparator" | "mapToRadix" | "normalizeZeros" | "padFractionalZeros">>, "mask"> & {
|
|
24
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
25
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedPattern<string>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "definitions" | "blocks" | "placeholderChar" | "displayChar" | "lazy">> & {
|
|
28
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
29
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
30
|
+
[x: string]: unknown;
|
|
31
|
+
}>, "ref"> & {
|
|
32
|
+
mask: typeof import('imask').MaskedEnum;
|
|
33
|
+
} & Omit<import('imask').MaskedEnumOptions, "mask"> & {
|
|
34
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
35
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
36
|
+
[x: string]: unknown;
|
|
37
|
+
}>, "ref"> & {
|
|
38
|
+
mask: typeof import('imask').MaskedRange;
|
|
39
|
+
} & Omit<import('imask').MaskedRangeOptions, "mask"> & {
|
|
40
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
41
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
42
|
+
[x: string]: unknown;
|
|
43
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedRegExp, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">> & {
|
|
44
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
45
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
46
|
+
[x: string]: unknown;
|
|
47
|
+
}>, "ref"> & {
|
|
48
|
+
mask: typeof import('imask').MaskedRegExp;
|
|
49
|
+
} & Omit<Partial<Pick<import('imask').MaskedRegExp, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
50
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
51
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
52
|
+
[x: string]: unknown;
|
|
53
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedFunction<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">> & {
|
|
54
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
55
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
56
|
+
[x: string]: unknown;
|
|
57
|
+
}>, "ref"> & {
|
|
58
|
+
mask: typeof import('imask').MaskedFunction;
|
|
59
|
+
} & Omit<Partial<Pick<import('imask').MaskedFunction<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
60
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
61
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
62
|
+
[x: string]: unknown;
|
|
63
|
+
}>, "ref"> & {
|
|
64
|
+
mask: typeof import('imask').MaskedPattern;
|
|
65
|
+
} & Omit<Partial<Pick<import('imask').MaskedPattern<string>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "definitions" | "blocks" | "placeholderChar" | "displayChar" | "lazy">>, "mask"> & {
|
|
66
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
67
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
68
|
+
[x: string]: unknown;
|
|
69
|
+
}>, "ref"> & Partial<Pick<import('imask').MaskedDynamic<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "dispatch">> & {
|
|
70
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
71
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
72
|
+
[x: string]: unknown;
|
|
73
|
+
}>, "ref"> & {
|
|
74
|
+
mask: typeof import('imask').MaskedDynamic;
|
|
75
|
+
} & Omit<Partial<Pick<import('imask').MaskedDynamic<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "dispatch">>, "mask"> & {
|
|
76
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
77
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
78
|
+
[x: string]: unknown;
|
|
79
|
+
}>, "ref"> & {
|
|
80
|
+
mask: typeof import('imask').Masked;
|
|
81
|
+
} & Omit<Partial<Pick<import('imask').Masked<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
82
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
83
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
84
|
+
[x: string]: unknown;
|
|
85
|
+
}>, "ref"> & {
|
|
86
|
+
mask: import('imask').MaskedDate;
|
|
87
|
+
} & Omit<Omit<import('imask').MaskedDateOptions, "mask"> & {
|
|
88
|
+
mask: DateConstructor;
|
|
89
|
+
}, "mask"> & {
|
|
90
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
91
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
92
|
+
[x: string]: unknown;
|
|
93
|
+
}>, "ref"> & {
|
|
94
|
+
mask: import('imask').MaskedNumber;
|
|
95
|
+
} & Omit<Partial<Pick<import('imask').MaskedNumber, "scale" | "mask" | "max" | "min" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "radix" | "thousandsSeparator" | "mapToRadix" | "normalizeZeros" | "padFractionalZeros">>, "mask"> & {
|
|
96
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
97
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
98
|
+
[x: string]: unknown;
|
|
99
|
+
}>, "ref"> & {
|
|
100
|
+
mask: import('imask').MaskedEnum;
|
|
101
|
+
} & Omit<import('imask').MaskedEnumOptions, "mask"> & {
|
|
102
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
103
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
104
|
+
[x: string]: unknown;
|
|
105
|
+
}>, "ref"> & {
|
|
106
|
+
mask: import('imask').MaskedRange;
|
|
107
|
+
} & Omit<import('imask').MaskedRangeOptions, "mask"> & {
|
|
108
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
109
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
110
|
+
[x: string]: unknown;
|
|
111
|
+
}>, "ref"> & {
|
|
112
|
+
mask: import('imask').MaskedRegExp;
|
|
113
|
+
} & Omit<Partial<Pick<import('imask').MaskedRegExp, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
114
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
115
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
116
|
+
[x: string]: unknown;
|
|
117
|
+
}>, "ref"> & {
|
|
118
|
+
mask: import('imask').MaskedFunction<any>;
|
|
119
|
+
} & Omit<Partial<Pick<import('imask').MaskedFunction<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
120
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
121
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
122
|
+
[x: string]: unknown;
|
|
123
|
+
}>, "ref"> & {
|
|
124
|
+
mask: import('imask').MaskedPattern<string>;
|
|
125
|
+
} & Omit<Partial<Pick<import('imask').MaskedPattern<string>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "definitions" | "blocks" | "placeholderChar" | "displayChar" | "lazy">>, "mask"> & {
|
|
126
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
127
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
128
|
+
[x: string]: unknown;
|
|
129
|
+
}>, "ref"> & {
|
|
130
|
+
mask: import('imask').MaskedDynamic<any>;
|
|
131
|
+
} & Omit<Partial<Pick<import('imask').MaskedDynamic<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix" | "dispatch">>, "mask"> & {
|
|
132
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
133
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref"> | Omit<Omit<import('react-imask').ReactElementProps<HTMLInputElement> & Omit<import('react-imask').ReactMaskProps<HTMLInputElement, {
|
|
134
|
+
[x: string]: unknown;
|
|
135
|
+
}>, "ref"> & {
|
|
136
|
+
mask: import('imask').Masked<any>;
|
|
137
|
+
} & Omit<Partial<Pick<import('imask').Masked<any>, "mask" | "format" | "parent" | "prepare" | "prepareChar" | "validate" | "commit" | "parse" | "overwrite" | "eager" | "skipInvalid" | "autofix">>, "mask"> & {
|
|
138
|
+
ref?: React.Ref<React.ComponentType<import('react-imask').IMaskInputProps<HTMLInputElement>>> | undefined;
|
|
139
|
+
}, "ref"> & import('react').RefAttributes<unknown>, "ref">, keyof import('@mantine/core').InputBaseProps> & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ElementProps, InputBaseProps } from '@mantine/core';
|
|
2
|
+
import { IMaskInput } from 'react-imask';
|
|
2
3
|
export type InputProps = InputBaseProps & ElementProps<'input'> & {
|
|
3
4
|
value?: string;
|
|
4
|
-
mask?:
|
|
5
|
+
mask?: any;
|
|
5
6
|
};
|
|
7
|
+
export type MaskedInputProps = InputBaseProps & Omit<React.ComponentPropsWithoutRef<typeof IMaskInput>, keyof InputBaseProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const CARD_NUMBER_MASK: "0000 0000 0000 0000";
|
|
1
|
+
export declare const CARD_NUMBER_MASK: "0000 0000 0000 0000 000";
|
|
2
2
|
export declare const CARD_CVV_MASK: "000";
|
|
3
3
|
export declare const CARD_EXPIRY_DATE_MASK: "00/00";
|
|
4
4
|
export declare const PHONE_MASK: "+7 000 000 00 00";
|
package/dist/constants/masks.js
CHANGED