"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,
    Panel,
    Row
  } = configContext.layoutComponents;
  const {
    Field
  } = configContext.recordComponents;
  const {
    extensions
  } = configContext.config;
  return /*#__PURE__*/React.createElement(Field, {
    name: "document"
  }, /*#__PURE__*/React.createElement(Panel, {
    name: "id",
    collapsible: true
  }, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "objectNumber"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "numberOfObjects"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "responsibleDepartments"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "responsibleDepartment"
  })), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "collection"
  }), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "namedCollections"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "namedCollection"
  }))))), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "briefDescriptions"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "briefDescription"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "distinguishingFeatures"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "titleGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "titleGroup"
  }, /*#__PURE__*/React.createElement(Panel, null, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "title"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "titleLanguage"
  })), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "titleType"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "titleTranslationSubGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "titleTranslationSubGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "titleTranslation"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "titleTranslationLanguage"
  })))))))), /*#__PURE__*/React.createElement(Field, {
    name: "objectNameList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "objectNameGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "objectName"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "objectNameCurrency"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "objectNameLevel"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "objectNameSystem"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "objectNameType"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "objectNameLanguage"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "objectNameNote"
  })))), /*#__PURE__*/React.createElement(Panel, {
    name: "desc",
    collapsible: true,
    collapsed: true
  }, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "copyNumber"
  })), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "editionNumber"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "colors"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "color"
  })))), /*#__PURE__*/React.createElement(Field, {
    name: "materialGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "materialGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "material"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "materialComponent"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "materialComponentNote"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "materialName"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "materialSource"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "physicalDescription"
  }), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Field, {
    name: "technicalAttributeGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "technicalAttributeGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "technicalAttribute"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "technicalAttributeMeasurement"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "technicalAttributeMeasurementUnit"
  }))), /*#__PURE__*/React.createElement(Col, null)), extensions.dimension.form, /*#__PURE__*/React.createElement(Panel, {
    name: "content",
    collapsible: true,
    collapsed: true
  }, /*#__PURE__*/React.createElement(Field, {
    name: "contentDescription"
  }), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "contentLanguages"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "contentLanguage"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "contentActivities"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "contentActivity"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "contentConcepts"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "contentConcept"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "contentDateGroup"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "contentPositions"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "contentPosition"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "contentObjectGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "contentObjectGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "contentObject"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "contentObjectType"
  })))), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "contentPeoples"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "contentPeople"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "contentPersons"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "contentPerson"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "contentPlaces"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "contentPlace"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "contentScripts"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "contentScript"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "contentOrganizations"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "contentOrganization"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "contentEventNameGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "contentEventNameGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "contentEventName"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "contentEventNameType"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "contentOtherGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "contentOtherGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "contentOther"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "contentOtherType"
  }))))), /*#__PURE__*/React.createElement(Field, {
    name: "contentNote"
  }))), /*#__PURE__*/React.createElement(Panel, {
    name: "prod",
    collapsible: true,
    collapsed: true
  }, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "objectProductionDateGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "objectProductionDateGroup"
  })), /*#__PURE__*/React.createElement(Field, {
    name: "techniqueGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "techniqueGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "technique"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "techniqueType"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "objectProductionPlaceGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "objectProductionPlaceGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "objectProductionPlace"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "objectProductionPlaceRole"
  })))), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "objectProductionPersonGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "objectProductionPersonGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "objectProductionPerson"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "objectProductionPersonRole"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "objectProductionOrganizationGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "objectProductionOrganizationGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "objectProductionOrganization"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "objectProductionOrganizationRole"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "objectProductionNote"
  })))), /*#__PURE__*/React.createElement(Panel, {
    name: "reference",
    collapsible: true,
    collapsed: true
  }, /*#__PURE__*/React.createElement(Field, {
    name: "referenceGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "referenceGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "reference"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "referenceNote"
  })))), /*#__PURE__*/React.createElement(Panel, {
    name: "hierarchy",
    collapsible: true,
    collapsed: true
  }, /*#__PURE__*/React.createElement(Field, {
    name: "relation-list-item",
    subpath: "rel:relations-common-list"
  })));
};
var _default = configContext => ({
  messages: (0, _reactIntl.defineMessages)({
    name: {
      "id": "form.collectionobject.photo.name",
      "defaultMessage": "Photograph Template"
    }
  }),
  sortOrder: 2,
  template: template(configContext)
});
exports.default = _default;