"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,
    Row
  } = 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(Field, {
    name: "conceptTermGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "conceptTermGroup"
  }, /*#__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: "historicalStatus"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "termLanguage"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "termPrefForLang"
  })), /*#__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: "conceptRecordTypes"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "conceptRecordType"
  }))), /*#__PURE__*/React.createElement(Col, null)), /*#__PURE__*/React.createElement(InputTable, {
    name: "scopeNote"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "scopeNote"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "scopeNoteSource"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "scopeNoteSourceDetail"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "citationGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "citationGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "citationSource"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "citationSourceDetail"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "additionalSourceGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "additionalSourceGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "additionalSource"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "additionalSourceDetail"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "additionalSourceID"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "additionalSourceNote"
  })))), /*#__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.concept.default.name",
      "defaultMessage": "Standard Template"
    }
  }),
  template: template(configContext)
});
exports.default = _default;