import { map, update } from 'lodash/fp';
import booleanDefault from './booleanDefault';
import booleanWidget from './booleanWidget';
import filter from './filter';
import formgroupType from './formgroupType';
import multiselectWidget from './multiselectWidget';
import nameAsTitle from './nameAsTitle';
import selectWidget from './selectWidget';
import textDefault from './textDefault';
export default function legacyConfigSupport(config) {
  var _ref, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _config;

  return _ref = (_ref2 = (_ref3 = (_ref4 = (_ref5 = (_ref6 = (_ref7 = (_ref8 = (_config = config, booleanDefault(_config)), booleanWidget(_ref8)), formgroupType(_ref7)), multiselectWidget(_ref6)), nameAsTitle(_ref5)), selectWidget(_ref4)), textDefault(_ref3)), filter(_ref2)), update('elements', map(legacyConfigSupport))(_ref);
}
//# sourceMappingURL=index.js.map