"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: "info",
    collapsible: true
  }, /*#__PURE__*/React.createElement(Cols, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionNumber"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "type"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "title"
  })), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "sponsors"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "sponsor"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "organizers"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "organizer"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "publishToList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "publishTo"
  })))), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "venueGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "venueGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "venue"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "venueOpeningDate"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "venueClosingDate"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "venueAttendance"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "venueUrl"
  })))), /*#__PURE__*/React.createElement(Field, {
    name: "workingGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "workingGroup"
  }, /*#__PURE__*/React.createElement(Panel, null, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "workingGroupTitle"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "workingGroupNote"
  })), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionPersonGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionPersonGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionPerson"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionPersonRole"
  }))))))), /*#__PURE__*/React.createElement(Cols, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "planningNote"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "curatorialNote"
  })), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "generalNote"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "boilerplateText"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "galleryRotationGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "galleryRotationGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "galleryRotationName"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "galleryRotationStartDateGroup"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "galleryRotationEndDateGroup"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "galleryRotationNote"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionReferenceGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionReferenceGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionReference"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionReferenceType"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionReferenceNote"
  })))), /*#__PURE__*/React.createElement(Panel, {
    name: "planningInfo",
    collapsible: true,
    collapsed: true
  }, /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionSectionGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionSectionGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionSectionName"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionSectionLocation"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionSectionObjects"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionSectionNote"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionStatusGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionStatusGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionStatus"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionStatusDate"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionStatusNote"
  })))), /*#__PURE__*/React.createElement(Panel, {
    name: "exhibitedObjectInformation",
    collapsible: true,
    collapsed: true
  }, /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionObjectGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionObjectGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionObjectNumber"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionObjectName"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionObjectConsCheckDate"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionObjectConsTreatment"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionObjectMount"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionObjectSection"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionObjectCase"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionObjectSeqNum"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionObjectRotation"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionObjectNote"
  })))));
};

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

exports.default = _default;