"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _reactIntl = require("react-intl");

const template = configContext => {
  const React = configContext.lib.React;
  var _configContext$layout = configContext.layoutComponents;
  const Col = _configContext$layout.Col,
        Row = _configContext$layout.Row;
  const Field = configContext.recordComponents.Field;


  return React.createElement(
    Field,
    { name: "ns3:accounts_common" },
    React.createElement(
      Row,
      null,
      React.createElement(
        Col,
        null,
        React.createElement(Field, { name: "email" }),
        React.createElement(Field, { name: "screenName" }),
        React.createElement(Field, { name: "password" }),
        React.createElement(Field, { name: "confirmPassword" }),
        React.createElement(Field, { name: "status" }),
        React.createElement(Field, { name: "userId" })
      ),
      React.createElement(
        Col,
        null,
        React.createElement(
          Field,
          { name: "roleList" },
          React.createElement(Field, { name: "role" })
        )
      )
    )
  );
};

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