"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _reactRedux = require("react-redux");
var _MiniViewPopupAutocompleteInput = _interopRequireDefault(require("../../components/record/MiniViewPopupAutocompleteInput"));
var _record = require("../../actions/record");
var _reducers = require("../../reducers");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const mapStateToProps = state => ({
  perms: (0, _reducers.getUserPerms)(state)
});
const mapDispatchToProps = {
  clearRecord: _record.clearRecord
};
const ConnectedMiniViewPopupAutocompleteInput = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps)(_MiniViewPopupAutocompleteInput.default);
ConnectedMiniViewPopupAutocompleteInput.propTypes = _MiniViewPopupAutocompleteInput.default.propTypes;
var _default = ConnectedMiniViewPopupAutocompleteInput;
exports.default = _default;