"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,
    Cols,
    Panel,
    Row
  } = configContext.layoutComponents;
  const {
    Field,
    InputTable
  } = configContext.recordComponents;
  return React.createElement(Field, {
    name: "document"
  }, React.createElement(Panel, {
    name: "useOfCollections",
    collapsible: true
  }, React.createElement(Row, null, React.createElement(Col, null, React.createElement(Field, {
    name: "referenceNumber"
  })), React.createElement(Col, null, React.createElement(Field, {
    name: "methodList"
  }, React.createElement(Field, {
    name: "method"
  })))), React.createElement(Field, {
    name: "title"
  }), React.createElement(InputTable, {
    name: "authorizedBy"
  }, React.createElement(Field, {
    name: "authorizedBy"
  }), React.createElement(Field, {
    name: "authorizationDate"
  }), React.createElement(Field, {
    name: "authorizationNote"
  })), React.createElement(Cols, null, React.createElement(Col, null, React.createElement(Field, {
    name: "startSingleDate"
  }), React.createElement(Field, {
    name: "endDate"
  }), React.createElement(Field, {
    name: "userGroupList"
  }, React.createElement(Field, {
    name: "userGroup"
  }, React.createElement(Field, {
    name: "user"
  }), React.createElement(Field, {
    name: "userType"
  }))), React.createElement(Field, {
    name: "location"
  })), React.createElement(Col, null, React.createElement(Field, {
    name: "note"
  }), React.createElement(Field, {
    name: "provisos"
  }))), React.createElement(Field, {
    name: "result"
  })));
};

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

exports.default = _default;