"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
  } = configContext.layoutComponents;
  const {
    Field
  } = configContext.recordComponents;
  return /*#__PURE__*/React.createElement(Field, {
    name: "document"
  }, /*#__PURE__*/React.createElement(Panel, {
    name: "info",
    collapsible: true
  }, /*#__PURE__*/React.createElement(Cols, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "csid"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "resourceType"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "resourceCSID"
  })), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "principal"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "eventDate"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "eventType"
  })))), /*#__PURE__*/React.createElement(Panel, {
    name: "change",
    collapsible: true
  }, /*#__PURE__*/React.createElement(Field, {
    name: "fieldChangedGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "fieldChangedGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "key"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "originalValue"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "newValue"
  })))));
};
var _default = configContext => ({
  messages: (0, _reactIntl.defineMessages)({
    name: {
      "id": "form.audit.default.name",
      "defaultMessage": "Standard Template"
    }
  }),
  template: template(configContext)
});
exports.default = _default;