"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
  } = configContext.recordComponents;
  return /*#__PURE__*/React.createElement(Field, {
    name: "document"
  }, /*#__PURE__*/React.createElement(Panel, {
    name: "useOfCollections",
    collapsible: true
  }, /*#__PURE__*/React.createElement(Cols, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "referenceNumber"
  }), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "methodList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "method"
  }))), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "collectionTypeList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "collectionType"
  }))))), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "projectId"
  }), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "subcollection"
  })), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "materialTypeList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "materialType"
  })))))), /*#__PURE__*/React.createElement(Field, {
    name: "userGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "userGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "user"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "userUocRole"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "userInstitution"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "userInstitutionRole"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "title"
  }), /*#__PURE__*/React.createElement(Cols, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "dateRequested"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "dateCompleted"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "occasionList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "occasion"
  }))), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "projectDescription"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "authorizationGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "authorizationGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "authorizedBy"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "authorizationDate"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "authorizationStatus"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "authorizationNote"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "useDateGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "useDateGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "useDate"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "useDateTimeNote"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "useDateNumberOfVisitors"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "useDateHoursSpent"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "useDateVisitorNote"
  }))), /*#__PURE__*/React.createElement(Cols, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "endDate"
  })), /*#__PURE__*/React.createElement(Col, null)), /*#__PURE__*/React.createElement(Field, {
    name: "staffGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "staffGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "staffName"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "staffRole"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "staffHours"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "staffNote"
  }))), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "locationList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "location"
  })), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "feeGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "feeGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "feeCurrency"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "feeValue"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "feePaid"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "feeNote"
  }))))), /*#__PURE__*/React.createElement(Field, {
    name: "note"
  }), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "provisos"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "obligationsFulfilled"
  })), /*#__PURE__*/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;