@momo-webplatform/mobase 0.2.90 → 0.2.92
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/cjs/index.cjs +18 -18
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +5 -1
- package/dist/esm/index.d.ts +5 -1
- package/dist/esm/index.js +20 -20
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.d.cts
CHANGED
|
@@ -2049,12 +2049,16 @@ interface FormLeadSupportProps extends SectionBlockProps {
|
|
|
2049
2049
|
dataHeading: HeadingBlockProps;
|
|
2050
2050
|
dataMedia?: MediaConfig;
|
|
2051
2051
|
captchaComponent?: React__default.ReactNode;
|
|
2052
|
-
onSubmit?: (data: FormData,
|
|
2052
|
+
onSubmit?: (data: FormData, resetFormState?: () => void) => void | Promise<void>;
|
|
2053
2053
|
fieldsSchema: FormFieldProps[];
|
|
2054
2054
|
loading?: boolean;
|
|
2055
2055
|
onFieldChange?: (fieldName: string, value: any) => void;
|
|
2056
2056
|
onValidationError?: (errors: FormErrors) => void;
|
|
2057
2057
|
dataButtons: ButtonsBlockProps;
|
|
2058
|
+
classNameMedia?: string;
|
|
2059
|
+
classNameFormLead?: string;
|
|
2060
|
+
classNameWrapper?: string;
|
|
2061
|
+
classNameCaptcha?: string;
|
|
2058
2062
|
}
|
|
2059
2063
|
|
|
2060
2064
|
declare const FormLeadSupport: ({ idSection, background, className, ...contentProps }: FormLeadSupportProps) => react_jsx_runtime.JSX.Element;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -2049,12 +2049,16 @@ interface FormLeadSupportProps extends SectionBlockProps {
|
|
|
2049
2049
|
dataHeading: HeadingBlockProps;
|
|
2050
2050
|
dataMedia?: MediaConfig;
|
|
2051
2051
|
captchaComponent?: React__default.ReactNode;
|
|
2052
|
-
onSubmit?: (data: FormData,
|
|
2052
|
+
onSubmit?: (data: FormData, resetFormState?: () => void) => void | Promise<void>;
|
|
2053
2053
|
fieldsSchema: FormFieldProps[];
|
|
2054
2054
|
loading?: boolean;
|
|
2055
2055
|
onFieldChange?: (fieldName: string, value: any) => void;
|
|
2056
2056
|
onValidationError?: (errors: FormErrors) => void;
|
|
2057
2057
|
dataButtons: ButtonsBlockProps;
|
|
2058
|
+
classNameMedia?: string;
|
|
2059
|
+
classNameFormLead?: string;
|
|
2060
|
+
classNameWrapper?: string;
|
|
2061
|
+
classNameCaptcha?: string;
|
|
2058
2062
|
}
|
|
2059
2063
|
|
|
2060
2064
|
declare const FormLeadSupport: ({ idSection, background, className, ...contentProps }: FormLeadSupportProps) => react_jsx_runtime.JSX.Element;
|