"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
var template = function template(pluginContext) {
  var React = pluginContext.lib.React;
  var _pluginContext$layout = pluginContext.layoutComponents,
      Panel = _pluginContext$layout.Panel,
      Row = _pluginContext$layout.Row;
  var Field = pluginContext.recordComponents.Field;


  return React.createElement(
    Field,
    { name: "document" },
    React.createElement(
      Panel,
      { name: "info", collapsible: true },
      React.createElement(
        Row,
        null,
        React.createElement(Field, { name: "valuationcontrolRefNumber" }),
        React.createElement(Field, { name: "valueType" })
      ),
      React.createElement(
        Row,
        null,
        React.createElement(
          Field,
          { name: "valueAmountsList" },
          React.createElement(
            Field,
            { name: "valueAmounts" },
            React.createElement(Field, { name: "valueAmount" }),
            React.createElement(Field, { name: "valueCurrency" })
          )
        ),
        React.createElement(Field, { name: "valueSource" })
      ),
      React.createElement(
        Row,
        null,
        React.createElement(Field, { name: "valueDate" }),
        React.createElement(Field, { name: "valueRenewalDate" })
      ),
      React.createElement(Field, { name: "valueNote" })
    )
  );
};

exports.default = function (pluginContext) {
  return {
    template: template(pluginContext)
  };
};