"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,
    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: "insuranceIndemnityReferenceNumber"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "insuranceIndemnityType"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "insurerIndemnifier"
  })), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "insuranceIndemnityPolicyNumber"
  }), /*#__PURE__*/React.createElement(InputTable, {
    name: "insurancePurchasePrice"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "insuranceIndemnityCurrency"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "insuranceIndemnityValue"
  })), /*#__PURE__*/React.createElement(InputTable, {
    name: "minimumLiabilityPrice"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "minimumLiabilityCurrency"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "minimumLiabilityValue"
  })))), /*#__PURE__*/React.createElement(InputTable, {
    name: "authorization"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "insuranceIndemnityAuthorizer"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "insuranceIndemnityAuthorizationDate"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "insuranceIndemnityStatusGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "insuranceIndemnityStatusGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "insuranceIndemnityStatus"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "insuranceIndemnityStatusDate"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "insuranceIndemnityStatusNote"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "insuranceIndemnityNote"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "quoteProviderGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "quoteProviderGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "insuranceIndemnityQuoteProvider"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "insuranceIndemnityQuoteCurrency"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "insuranceIndemnityQuoteValue"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "insuranceIndemnityQuoteDate"
  })))));
};
var _default = configContext => ({
  messages: (0, _reactIntl.defineMessages)({
    name: {
      "id": "form.insurance.default.name",
      "defaultMessage": "Standard Template"
    }
  }),
  template: template(configContext)
});
exports.default = _default;