@kvell-group/ui 1.12.3 → 1.12.5
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 +2 -139
- package/dist/components/Inputs/CardInput/CardInput.js +11 -10
- package/dist/components/Inputs/CvvInput/CvvInput.d.ts +2 -139
- package/dist/components/Inputs/CvvInput/CvvInput.js +10 -9
- package/dist/components/Inputs/MaskedInput/MaskedInput.d.ts +2 -139
- package/dist/components/Inputs/MaskedInput/MaskedInput.js +10 -3158
- package/dist/components/Inputs/types.d.ts +2 -3
- package/package.json +1 -1
|
@@ -1,139 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
+
import { MaskedInputProps } from '../types';
|
|
2
|
+
export declare const CardInput: import('react').ForwardRefExoticComponent<MaskedInputProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import * as e from "react";
|
|
3
3
|
import { forwardRef as i } from "react";
|
|
4
|
-
import { MaskedInput as
|
|
5
|
-
import { useCardLogo as
|
|
6
|
-
import { CARD_NUMBER_MASK as
|
|
7
|
-
|
|
4
|
+
import { MaskedInput as a } from "../MaskedInput/MaskedInput.js";
|
|
5
|
+
import { useCardLogo as m } from "./useCardLogo.js";
|
|
6
|
+
import { CARD_NUMBER_MASK as _ } from "../../../constants/masks.js";
|
|
7
|
+
import { IMask as f } from "react-imask";
|
|
8
|
+
const s = (t) => /* @__PURE__ */ e.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M2.49984 2.5H17.4998C17.7209 2.5 17.9328 2.5878 18.0891 2.74408C18.2454 2.90036 18.3332 3.11232 18.3332 3.33333V16.6667C18.3332 16.8877 18.2454 17.0996 18.0891 17.2559C17.9328 17.4122 17.7209 17.5 17.4998 17.5H2.49984C2.27882 17.5 2.06686 17.4122 1.91058 17.2559C1.7543 17.0996 1.6665 16.8877 1.6665 16.6667V3.33333C1.6665 3.11232 1.7543 2.90036 1.91058 2.74408C2.06686 2.5878 2.27882 2.5 2.49984 2.5ZM16.6665 9.16667H3.33317V15.8333H16.6665V9.16667ZM16.6665 7.5V4.16667H3.33317V7.5H16.6665ZM11.6665 12.5H14.9998V14.1667H11.6665V12.5Z", fill: "currentColor", fillOpacity: 0.4, style: {
|
|
8
9
|
fill: "#0D1126",
|
|
9
10
|
fill: "color(display-p3 0.0510 0.0667 0.1490)",
|
|
10
11
|
fillOpacity: 0.4
|
|
11
|
-
} })),
|
|
12
|
-
const r =
|
|
12
|
+
} })), c = f.createMask({ mask: _ }), H = i((t, l) => {
|
|
13
|
+
const r = m(t.value);
|
|
13
14
|
return /* @__PURE__ */ o(
|
|
14
|
-
|
|
15
|
+
a,
|
|
15
16
|
{
|
|
16
17
|
ref: l,
|
|
17
18
|
...t,
|
|
18
|
-
mask:
|
|
19
|
+
mask: c,
|
|
19
20
|
rightSection: r && /* @__PURE__ */ o(r, {}),
|
|
20
|
-
leftSection: /* @__PURE__ */ o(
|
|
21
|
+
leftSection: /* @__PURE__ */ o(s, {}),
|
|
21
22
|
placeholder: "____ ____ ____ ____"
|
|
22
23
|
}
|
|
23
24
|
);
|
|
24
25
|
});
|
|
25
26
|
export {
|
|
26
|
-
|
|
27
|
+
H as CardInput
|
|
27
28
|
};
|
|
@@ -1,139 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
+
import { MaskedInputProps } from '../types';
|
|
2
|
+
export declare const CvvInput: import('react').ForwardRefExoticComponent<MaskedInputProps & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { MaskedInput as
|
|
3
|
-
import { c as m, b as
|
|
4
|
-
import { forwardRef as
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { MaskedInput as o } from "../MaskedInput/MaskedInput.js";
|
|
3
|
+
import { c as m, b as r } from "../../../clsx-BvFBxcni.js";
|
|
4
|
+
import { forwardRef as p } from "react";
|
|
5
5
|
import { CARD_CVV_MASK as n } from "../../../constants/masks.js";
|
|
6
|
-
import
|
|
6
|
+
import { IMask as e } from "react-imask";
|
|
7
|
+
import '../../../assets/CvvInput.css';const i = "_input_17dgl_9", c = {
|
|
7
8
|
input: i
|
|
8
|
-
}, { input:
|
|
9
|
-
|
|
9
|
+
}, { input: u, ...f } = r, l = m(u, c.input), C = e.createMask({ mask: n }), x = p((s, t) => /* @__PURE__ */ a(
|
|
10
|
+
o,
|
|
10
11
|
{
|
|
11
12
|
ref: t,
|
|
12
13
|
...s,
|
|
13
|
-
mask:
|
|
14
|
-
classNames: { ...
|
|
14
|
+
mask: C,
|
|
15
|
+
classNames: { ...f, input: l }
|
|
15
16
|
}
|
|
16
17
|
));
|
|
17
18
|
export {
|
|
@@ -1,139 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
+
import { MaskedInputProps } from '../types';
|
|
2
|
+
export declare const MaskedInput: import('react').ForwardRefExoticComponent<MaskedInputProps & import('react').RefAttributes<HTMLInputElement>>;
|