"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,
    Row,
    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: "iterationIdentificationNumber"
  })), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "iterationCreatorGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "iterationCreatorGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "iterationCreator"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "iterationCreatorRole"
  }))))), /*#__PURE__*/React.createElement(Field, {
    name: "iterationActionGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "iterationActionGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "action"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "actionStartDate"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "actionEndDate"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "installerGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "installerGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "installer"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "installerRole"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "installerExtent"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "presenceGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "presenceGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "installDeinstall"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "artistPresent"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "artistOrRepresentative"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "presentExtent"
  }))), /*#__PURE__*/React.createElement(Panel, {
    name: "evaluation",
    collapsible: true,
    collapsed: true
  }, /*#__PURE__*/React.createElement(Cols, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "evaluationGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "evaluationGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "iterationSuccessful"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "iterationEvaluator"
  })))), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "iterationViewed"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "iterationApproved"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "iterationEvaluationNotes"
  }))), /*#__PURE__*/React.createElement(Panel, {
    name: "space",
    collapsible: true,
    collapsed: true
  }, /*#__PURE__*/React.createElement(Field, {
    name: "spaceGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "spaceGroup"
  }, /*#__PURE__*/React.createElement(Panel, null, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "descriptionType"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "approvalEntity"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "approvalDate"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "spaceDescription"
  }))))), /*#__PURE__*/React.createElement(Panel, {
    name: "details",
    collapsible: true,
    collapsed: true
  }, /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionCopyIdentificationNumber"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionApprovalEntity"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "exhibitionApprovalDate"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "installedEquipmentGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "installedEquipmentGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "installedEquipmentDescription"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "installedEquipmentApprovalEntity"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "installedEquipmentApprovalDate"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "technicalSetupGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "technicalSetupGroup"
  }, /*#__PURE__*/React.createElement(Panel, null, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "technicalSetupType"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "technicalSetupApprovalEntity"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "technicalSetupApprovalDate"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "technicalSetupDescription"
  })))), /*#__PURE__*/React.createElement(Field, {
    name: "iterationSpecificGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "iterationSpecificGroup"
  }, /*#__PURE__*/React.createElement(Panel, null, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "modificationApprovalEntity"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "modificationApprovalDate"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "modificationDescription"
  })))), /*#__PURE__*/React.createElement(Field, {
    name: "installationGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "installationGroup"
  }, /*#__PURE__*/React.createElement(Panel, null, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "installationApprovalEntity"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "installationApprovalDate"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "installationDescription"
  })))), /*#__PURE__*/React.createElement(Field, {
    name: "maintenanceGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "maintenanceGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "maintenanceType"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "maintenanceContact"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "maintenanceDate"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "maintenanceExtent"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "securityGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "securityGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "securityRequirements"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "securityApprovalEntity"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "securityApprovalDate"
  })))));
};

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

exports.default = _default;