infinity-forge 4.7.9 → 4.8.0
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.
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Modify } from './lib/mask/index.js';
|
|
2
2
|
import { InputProps } from '../interfaces.js';
|
|
3
|
-
export
|
|
3
|
+
export type InputMaskProps = {
|
|
4
4
|
mask: string;
|
|
5
5
|
modify?: Modify;
|
|
6
6
|
removeMask?: boolean;
|
|
7
|
-
}
|
|
7
|
+
};
|
|
8
|
+
export declare function InputMask(props: InputMaskProps & InputProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/input-mask/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA2C;AAE3C,iCAAiC;AACjC,mCAA4C;AAE5C,kDAA+C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/components/form/input-mask/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA2C;AAE3C,iCAAiC;AACjC,mCAA4C;AAE5C,kDAA+C;AAM/C,SAAgB,SAAS,CAAC,KAAkC;IAA5D,iBAkDC;IAjDO,IAAA,KAAwB,IAAA,gBAAQ,EAAC,KAAK,CAAC,EAAtC,OAAO,QAAA,EAAE,UAAU,QAAmB,CAAA;IACvC,IAAA,KAAwB,IAAA,iBAAQ,EAAC,EAAE,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,EAArD,KAAK,QAAA,EAAE,KAAK,QAAA,EAAE,KAAK,QAAkC,CAAA;IAE5D,IAAM,QAAQ,GAAG,IAAA,cAAO,EAAC;QACvB,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,WAAW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kDC"}
|
|
@@ -7,6 +7,7 @@ type InputFormikState = {
|
|
|
7
7
|
state: FieldMetaProps<any>;
|
|
8
8
|
};
|
|
9
9
|
import { StylesConfig } from 'react-select';
|
|
10
|
+
import { InputMaskProps } from './input-mask/index.js';
|
|
10
11
|
import { InputManagerProps } from './input-manager/index.js';
|
|
11
12
|
import { IInputDatePicker } from './input-date-picker/index.js';
|
|
12
13
|
export type Option = {
|
|
@@ -72,5 +73,5 @@ export interface IOptionSelect {
|
|
|
72
73
|
label: string;
|
|
73
74
|
value: string;
|
|
74
75
|
}
|
|
75
|
-
export type InputProps = JSX.IntrinsicElements['input'] & JSX.IntrinsicElements['textarea'] & Props & Partial<TranslateProps> & Partial<ISelectProps> & Partial<IInputDatePicker> & Partial<InputManagerProps>;
|
|
76
|
+
export type InputProps = JSX.IntrinsicElements['input'] & JSX.IntrinsicElements['textarea'] & Props & Partial<TranslateProps> & Partial<ISelectProps> & Partial<IInputDatePicker> & Partial<InputManagerProps> & Partial<InputMaskProps>;
|
|
76
77
|
export {};
|