"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(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "name"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "filename"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "notes"
  }), /*#__PURE__*/React.createElement(Panel, {
    name: "mode"
  }, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "supportsNoContext"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "supportsDocList"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "supportsGroup"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "supportsSingleDoc"
  }))), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "forDocTypes"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "forDocType"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "outputMIME"
  })));
};
var _default = configContext => ({
  messages: (0, _reactIntl.defineMessages)({
    name: {
      "id": "form.report.default.name",
      "defaultMessage": "Standard Template"
    }
  }),
  template: template(configContext)
});
exports.default = _default;