"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 {
    Field
  } = configContext.recordComponents;
  return /*#__PURE__*/React.createElement(Field, {
    name: "document"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "relation-list-item",
    subpath: "rel:relations-common-list",
    showChildren: false,
    showSiblings: false
  }), /*#__PURE__*/React.createElement(Field, {
    name: "0",
    repeating: false,
    subpath: ['ns2:concepts_common', 'conceptRecordTypes', 'conceptRecordType']
  }));
};
var _default = configContext => ({
  disabled: true,
  messages: (0, _reactIntl.defineMessages)({
    name: {
      "id": "form.concept.mini.name",
      "defaultMessage": "Mini Template"
    }
  }),
  template: template(configContext)
});
exports.default = _default;