"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,
    Panel,
    Row
  } = configContext.layoutComponents;
  const {
    Field
  } = configContext.recordComponents;
  return /*#__PURE__*/React.createElement(Field, {
    name: "document"
  }, /*#__PURE__*/React.createElement(Panel, {
    name: "info",
    collapsible: true,
    collapsed: true
  }, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "emailGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "emailGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "email"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "emailType"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "telephoneNumberGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "telephoneNumberGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "telephoneNumber"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "telephoneNumberType"
  })))), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "faxNumberGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "faxNumberGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "faxNumber"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "faxNumberType"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "webAddressGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "webAddressGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "webAddress"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "webAddressType"
  }))))), /*#__PURE__*/React.createElement(Field, {
    name: "addressGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "addressGroup"
  }, /*#__PURE__*/React.createElement(Panel, null, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "addressPlace1"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "addressPlace2"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "addressMunicipality"
  })), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "addressStateOrProvince"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "addressPostCode"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "addressCountry"
  }), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "addressType"
  })), /*#__PURE__*/React.createElement(Col, null)))))))));
};

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

exports.default = _default;