@adyen/adyen-web 5.71.0 → 5.71.1
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.
|
@@ -13,4 +13,15 @@ export declare function init({ schema, defaultData, processField, fieldProblems
|
|
|
13
13
|
errors: any;
|
|
14
14
|
fieldProblems: any;
|
|
15
15
|
};
|
|
16
|
-
export declare function getReducer(processField: any): (state: any, { type, key, value, mode, schema, defaultData, formValue, selectedSchema, fieldProblems }:
|
|
16
|
+
export declare function getReducer(processField: any): (state: any, { type, key, value, mode, schema, defaultData, formValue, selectedSchema, fieldProblems, data }: {
|
|
17
|
+
type: any;
|
|
18
|
+
key: any;
|
|
19
|
+
value: any;
|
|
20
|
+
mode: any;
|
|
21
|
+
schema: any;
|
|
22
|
+
defaultData: any;
|
|
23
|
+
formValue: any;
|
|
24
|
+
selectedSchema: any;
|
|
25
|
+
fieldProblems: any;
|
|
26
|
+
data: any;
|
|
27
|
+
}) => any;
|
|
@@ -31,6 +31,7 @@ export interface Form<FormSchema> extends FormState<FormSchema> {
|
|
|
31
31
|
triggerValidation: (schema?: any) => void;
|
|
32
32
|
setSchema: (schema: any) => void;
|
|
33
33
|
setData: (key: string, value: any) => void;
|
|
34
|
+
mergeData: (data: FormSchema) => void;
|
|
34
35
|
setValid: (key: string, value: any) => void;
|
|
35
36
|
setErrors: (key: string, value: any) => void;
|
|
36
37
|
mergeForm: (formValue: any) => void;
|
package/package.json
CHANGED