"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 React.createElement(Field, {
    name: "document"
  }, React.createElement(Row, null, React.createElement(Field, {
    name: "name"
  }), React.createElement(Field, {
    name: "filename"
  })), React.createElement(Field, {
    name: "notes"
  }), React.createElement(Panel, {
    name: "mode"
  }, React.createElement(Row, null, React.createElement(Field, {
    name: "supportsNoContext"
  }), React.createElement(Field, {
    name: "supportsDocList"
  }), React.createElement(Field, {
    name: "supportsGroup"
  }), React.createElement(Field, {
    name: "supportsSingleDoc"
  }))), React.createElement(Row, null, React.createElement(Col, null, React.createElement(Field, {
    name: "forDocTypes"
  }, React.createElement(Field, {
    name: "forDocType"
  }))), 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;