"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,
    Row
  } = configContext.layoutComponents;
  const {
    Field
  } = configContext.recordComponents;
  return React.createElement(Field, {
    name: "ns2:role"
  }, React.createElement(Row, null, React.createElement(Col, null, React.createElement(Field, {
    name: "displayName"
  }), React.createElement(Field, {
    name: "description"
  }), React.createElement("input", {
    type: "text",
    style: {
      display: 'none'
    }
  })), React.createElement(Field, {
    name: "permission"
  })));
};

var _default = configContext => ({
  messages: (0, _reactIntl.defineMessages)({
    name: {
      "id": "form.authrole.default.name",
      "defaultMessage": "Standard Template"
    }
  }),
  template: template(configContext)
});

exports.default = _default;