"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
  } = 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(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "loanOutNumber"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "loanPurpose"
  })), /*#__PURE__*/React.createElement(InputTable, {
    name: "lender"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "lendersAuthorizer"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "lendersContact"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "lendersAuthorizationDate"
  })), /*#__PURE__*/React.createElement(InputTable, {
    name: "borrower"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "borrower"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "borrowersContact"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "borrowersAuthorizer"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "borrowersAuthorizationDate"
  })), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "specialConditionsOfLoan"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "loanOutNote"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "loanStatusGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "loanStatusGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "loanGroup"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "loanIndividual"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "loanStatus"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "loanStatusDate"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "loanStatusNote"
  }))), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "loanOutDate"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "loanReturnDate"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "loanRenewalApplicationDate"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "creditLine"
  })));
};
var _default = configContext => ({
  messages: (0, _reactIntl.defineMessages)({
    name: {
      "id": "form.loanout.default.name",
      "defaultMessage": "Standard Template"
    }
  }),
  template: template(configContext)
});
exports.default = _default;