"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;
var _reactIntl = require("react-intl");
const template = configContext => {
  const {
    React
  } = configContext.lib;
  const {
    Panel,
    Row,
    Cols,
    Col
  } = configContext.layoutComponents;
  const {
    Field,
    InputTable
  } = configContext.recordComponents;
  return /*#__PURE__*/React.createElement(Field, {
    name: "document"
  }, /*#__PURE__*/React.createElement(Panel, {
    name: "info",
    collapsible: true
  }, /*#__PURE__*/React.createElement(Cols, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "exitNumber"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "exitDateGroup"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "exitReason"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "exitMethods"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "exitMethod"
  }))), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "exitQuantity"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "currentOwner"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "depositor"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "exitNote"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "packingNote"
  })), /*#__PURE__*/React.createElement(Panel, {
    name: "deaccessionDisposalInfo",
    collapsible: true,
    collapsed: true
  }, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "displosalNewObjectNumber"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "deaccessionAuthorizer"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "authorizationDate"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "deacApprovalGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "deacApprovalGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "deaccessionApprovalGroup"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "deaccessionApprovalIndividual"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "deaccessionApprovalStatus"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "deaccessionApprovalDate"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "deaccessionApprovalNote"
  }))), /*#__PURE__*/React.createElement(Cols, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "deaccessionDate"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "disposalDate"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "disposalMethod"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "displosalReason"
  })), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "disposalProposedRecipient"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "disposalRecipient"
  }), /*#__PURE__*/React.createElement(InputTable, {
    name: "disposal"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "disposalCurrency"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "displosalValue"
  })), /*#__PURE__*/React.createElement(InputTable, {
    name: "groupDisposal"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "groupDisposalCurrency"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "groupDisplosalValue"
  })))), /*#__PURE__*/React.createElement(Field, {
    name: "displosalProvisos"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "displosalNote"
  })));
};
var _default = configContext => ({
  messages: (0, _reactIntl.defineMessages)({
    name: {
      "id": "form.objectexit.default.name",
      "defaultMessage": "Standard Template"
    }
  }),
  template: template(configContext)
});
exports.default = _default;