"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
  } = configContext.recordComponents;
  const {
    extensions
  } = configContext.config;
  return /*#__PURE__*/React.createElement(Field, {
    name: "document"
  }, /*#__PURE__*/React.createElement(Panel, {
    name: "info",
    collapsible: true
  }, /*#__PURE__*/React.createElement(Field, {
    name: "workTermGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "workTermGroup"
  }, /*#__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: "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: "workType"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "workDateGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "workDateGroup"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "workHistoryNote"
  })), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "creatorGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "creatorGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "creator"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "creatorType"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "publisherGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "publisherGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "publisher"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "publisherType"
  }))))), extensions.address.form), /*#__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.work.default.name",
      "defaultMessage": "Standard Template"
    }
  }),
  template: template(configContext)
});
exports.default = _default;