"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _reactRedux = require("react-redux");

var _record = require("../../actions/record");

var _RecordForm = _interopRequireDefault(require("../../components/record/RecordForm"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

const mapDispatchToProps = {
  onAddInstance: _record.addFieldInstance,
  onCommit: _record.setFieldValue,
  onMoveInstance: _record.moveFieldValue,
  onRemoveInstance: _record.deleteFieldValue,
  onSortInstances: _record.sortFieldInstances
};

var _default = (0, _reactRedux.connect)(undefined, mapDispatchToProps)(_RecordForm.default);

exports.default = _default;