var _ref, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17, _ref18, _ref19, _RJSFForm, _Form;

import RJSFForm from '@visma/rjsf-material-ui';
import configToSchemas from './configToSchemas';
import { withFormulaProvider } from './Context';
import noHtml5Validate from './noHtml5Validate';
import omitExtraData from './omitExtraData';
import useDynamicElements from './useDynamicElements';
import useFields from './useFields';
import useLocalizeErrors from './useLocalizeErrors';
import { useNormalizeConfigProp } from './useNormalizeConfig';
import { withPropsUpdater } from './utils';
import withConfirmSubmit from './withConfirmSubmit';
import withFormConfigLoader from './withFormConfigLoader';
import withLiveValidateOnError from './withLiveValidateOnError';
import withPrefill from './withPrefill';
import withReview from './withReview';
import withSteps from './withSteps';
import withDraftSave from './withDraftSave';
import withSnackbar from './withSnackbar';
import withFormulaErrorBoundary from './withFormulaErrorBoundary';
import withCustomValidation from './withCustomValidation';
import withScrollToError from './withScrollToError';
import withFillActions from './withFillActions';
import withRecaptcha from './withRecaptcha';
import withRecaptchaProvider from "./withRecaptchaProvider.js";
/**
 * RJSFForm is extended with these higher-order components. Extensions are
 * added from top to bottom. Props get modified in the reversed order: bottom
 * to top.
 *
 *  - The topmost function is the most inner wrapper component of <RJSFForm>
 *  - The last function is the outmost wrapper. It gets the unmodified props
 *    from the user of <Form>.
 */

export var Form = (_ref = (_ref2 = (_ref3 = (_ref4 = (_ref5 = (_ref6 = (_ref7 = (_ref8 = (_ref9 = (_ref10 = (_ref11 = (_ref12 = (_ref13 = (_ref14 = (_ref15 = (_ref16 = (_ref17 = (_ref18 = (_ref19 = (_RJSFForm = RJSFForm, withPropsUpdater(noHtml5Validate)(_RJSFForm)), withPropsUpdater(omitExtraData)(_ref19)), withPropsUpdater(useFields)(_ref18)), withPropsUpdater(useLocalizeErrors)(_ref17)), withConfirmSubmit(_ref16) //|> withRecaptcha
), withRecaptchaProvider(_ref15)), withSteps(_ref14)), withReview(_ref13)), withFillActions(_ref12)), withDraftSave(_ref11)), withPropsUpdater(configToSchemas)(_ref10)), withPropsUpdater(useDynamicElements)(_ref9)), withPrefill(_ref8)), withCustomValidation(_ref7)), withLiveValidateOnError(_ref6)), withPropsUpdater(useNormalizeConfigProp)(_ref5)), withFormConfigLoader(_ref4)), withSnackbar(_ref3)), withScrollToError(_ref2)), withFormulaErrorBoundary(_ref));
export var Formula = (_Form = Form, withFormulaProvider(_Form));
//# sourceMappingURL=Formula.js.map