"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,
    Cols,
    Col
  } = configContext.layoutComponents;
  const {
    Field,
    InputTable,
    Subrecord
  } = configContext.recordComponents;
  return /*#__PURE__*/React.createElement(Field, {
    name: "document"
  }, /*#__PURE__*/React.createElement(Panel, {
    name: "info",
    collapsible: true
  }, /*#__PURE__*/React.createElement(Field, {
    name: "orgTermGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "orgTermGroup"
  }, /*#__PURE__*/React.createElement(Panel, null, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "termDisplayName"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "termName"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "termQualifier"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "termStatus"
  })), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "termType"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "termFlag"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "termLanguage"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "termPrefForLang"
  })), /*#__PURE__*/React.createElement(InputTable, {
    name: "nameDetail"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "mainBodyName"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "additionsToName"
  })), /*#__PURE__*/React.createElement(InputTable, {
    name: "termSource"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "termSource"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "termSourceDetail"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "termSourceID"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "termSourceNote"
  }))))), /*#__PURE__*/React.createElement(Cols, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "organizationRecordTypes"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "organizationRecordType"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "foundingDateGroup"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "foundingPlace"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "dissolutionDateGroup"
  })), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "groups"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "group"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "functions"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "function"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "historyNotes"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "historyNote"
  })))), /*#__PURE__*/React.createElement(Field, {
    name: "contactGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "contactGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "contactName"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "contactRole"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "contactDateGroup"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "contactEndDateGroup"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "contactStatus"
  })))), /*#__PURE__*/React.createElement(Subrecord, {
    name: "contact"
  }), /*#__PURE__*/React.createElement(Panel, {
    name: "hierarchy",
    collapsible: true,
    collapsed: true
  }, /*#__PURE__*/React.createElement(Field, {
    name: "relation-list-item",
    subpath: "rel:relations-common-list"
  })));
};

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

exports.default = _default;