"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 {
    Col,
    Cols,
    Panel
  } = configContext.layoutComponents;
  const {
    Field
  } = 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: "valuationcontrolRefNumber"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "valueAmountsList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "valueAmounts"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "valueCurrency"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "valueAmount"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "valueDate"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "valueRenewalDate"
  })), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "valueSource"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "valueType"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "valueNote"
  })))));
};

var _default = configContext => ({
  messages: (0, _reactIntl.defineMessages)({
    name: {
      "id": "form.valuation.default.name",
      "defaultMessage": "Standard Template"
    }
  }),
  template: template(configContext)
});

exports.default = _default;