"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,
    InputTable
  } = configContext.recordComponents;
  const {
    extensions
  } = configContext.config;
  return React.createElement(Field, {
    name: "document"
  }, React.createElement(Panel, {
    name: "id",
    collapsible: true
  }, React.createElement(Row, null, React.createElement(Col, null, React.createElement(Field, {
    name: "objectNumber"
  }), React.createElement(Field, {
    name: "numberOfObjects"
  }), React.createElement(Field, {
    name: "otherNumberList"
  }, React.createElement(Field, {
    name: "otherNumber"
  }, React.createElement(Field, {
    name: "numberValue"
  }), React.createElement(Field, {
    name: "numberType"
  }))), React.createElement(Field, {
    name: "responsibleDepartments"
  }, React.createElement(Field, {
    name: "responsibleDepartment"
  })), React.createElement(Field, {
    name: "collection"
  }), React.createElement(Field, {
    name: "recordStatus"
  }), React.createElement(Field, {
    name: "publishToList"
  }, React.createElement(Field, {
    name: "publishTo"
  })), React.createElement(Field, {
    name: "inventoryStatusList"
  }, React.createElement(Field, {
    name: "inventoryStatus"
  }))), React.createElement(Col, null, React.createElement(Field, {
    name: "briefDescriptions"
  }, React.createElement(Field, {
    name: "briefDescription"
  })), React.createElement(Field, {
    name: "distinguishingFeatures"
  }), React.createElement(Field, {
    name: "comments"
  }, React.createElement(Field, {
    name: "comment"
  })), React.createElement(Field, {
    name: "computedCurrentLocation"
  }))), React.createElement(Field, {
    name: "titleGroupList"
  }, React.createElement(Field, {
    name: "titleGroup"
  }, React.createElement(Panel, null, React.createElement(Row, null, React.createElement(Col, null, React.createElement(Field, {
    name: "title"
  }), React.createElement(Field, {
    name: "titleLanguage"
  })), React.createElement(Col, null, React.createElement(Field, {
    name: "titleType"
  }), React.createElement(Field, {
    name: "titleTranslationSubGroupList"
  }, React.createElement(Field, {
    name: "titleTranslationSubGroup"
  }, React.createElement(Field, {
    name: "titleTranslation"
  }), React.createElement(Field, {
    name: "titleTranslationLanguage"
  })))))))), React.createElement(Field, {
    name: "objectNameList"
  }, React.createElement(Field, {
    name: "objectNameGroup"
  }, React.createElement(Field, {
    name: "objectName"
  }), React.createElement(Field, {
    name: "objectNameCurrency"
  }), React.createElement(Field, {
    name: "objectNameLevel"
  }), React.createElement(Field, {
    name: "objectNameSystem"
  }), React.createElement(Field, {
    name: "objectNameType"
  }), React.createElement(Field, {
    name: "objectNameLanguage"
  }), React.createElement(Field, {
    name: "objectNameNote"
  })))), React.createElement(Panel, {
    name: "desc",
    collapsible: true,
    collapsed: true
  }, React.createElement(Row, null, React.createElement(Col, null, React.createElement(Field, {
    name: "copyNumber"
  }), React.createElement(Field, {
    name: "objectStatusList"
  }, React.createElement(Field, {
    name: "objectStatus"
  })), React.createElement(Field, {
    name: "sex"
  }), React.createElement(Field, {
    name: "phase"
  }), React.createElement(Field, {
    name: "forms"
  }, React.createElement(Field, {
    name: "form"
  }))), React.createElement(Col, null, React.createElement(Field, {
    name: "editionNumber"
  }), React.createElement(InputTable, {
    name: "age"
  }, React.createElement(Field, {
    name: "ageQualifier"
  }), React.createElement(Field, {
    name: "age"
  }), React.createElement(Field, {
    name: "ageUnit"
  })), React.createElement(Field, {
    name: "styles"
  }, React.createElement(Field, {
    name: "style"
  })), React.createElement(Field, {
    name: "colors"
  }, React.createElement(Field, {
    name: "color"
  })))), React.createElement(Field, {
    name: "materialGroupList"
  }, React.createElement(Field, {
    name: "materialGroup"
  }, React.createElement(Field, {
    name: "material"
  }), React.createElement(Field, {
    name: "materialComponent"
  }), React.createElement(Field, {
    name: "materialComponentNote"
  }), React.createElement(Field, {
    name: "materialName"
  }), React.createElement(Field, {
    name: "materialSource"
  }))), React.createElement(Field, {
    name: "physicalDescription"
  }), React.createElement(Row, null, React.createElement(Col, null, React.createElement(Field, {
    name: "objectComponentGroupList"
  }, React.createElement(Field, {
    name: "objectComponentGroup"
  }, React.createElement(Field, {
    name: "objectComponentName"
  }), React.createElement(Field, {
    name: "objectComponentInformation"
  })))), React.createElement(Col, null, React.createElement(Field, {
    name: "technicalAttributeGroupList"
  }, React.createElement(Field, {
    name: "technicalAttributeGroup"
  }, React.createElement(Field, {
    name: "technicalAttribute"
  }), React.createElement(Field, {
    name: "technicalAttributeMeasurement"
  }), React.createElement(Field, {
    name: "technicalAttributeMeasurementUnit"
  }))))), extensions.dimension.form, React.createElement(Panel, {
    name: "content",
    collapsible: true,
    collapsed: true
  }, React.createElement(Field, {
    name: "contentDescription"
  }), React.createElement(Row, null, React.createElement(Col, null, React.createElement(Field, {
    name: "contentLanguages"
  }, React.createElement(Field, {
    name: "contentLanguage"
  })), React.createElement(Field, {
    name: "contentActivities"
  }, React.createElement(Field, {
    name: "contentActivity"
  })), React.createElement(Field, {
    name: "contentConcepts"
  }, React.createElement(Field, {
    name: "contentConcept"
  })), React.createElement(Field, {
    name: "contentDateGroup"
  }), React.createElement(Field, {
    name: "contentPositions"
  }, React.createElement(Field, {
    name: "contentPosition"
  })), React.createElement(Field, {
    name: "contentObjectGroupList"
  }, React.createElement(Field, {
    name: "contentObjectGroup"
  }, React.createElement(Field, {
    name: "contentObject"
  }), React.createElement(Field, {
    name: "contentObjectType"
  })))), React.createElement(Col, null, React.createElement(Field, {
    name: "contentPeoples"
  }, React.createElement(Field, {
    name: "contentPeople"
  })), React.createElement(Field, {
    name: "contentPersons"
  }, React.createElement(Field, {
    name: "contentPerson"
  })), React.createElement(Field, {
    name: "contentPlaces"
  }, React.createElement(Field, {
    name: "contentPlace"
  })), React.createElement(Field, {
    name: "contentScripts"
  }, React.createElement(Field, {
    name: "contentScript"
  })), React.createElement(Field, {
    name: "contentOrganizations"
  }, React.createElement(Field, {
    name: "contentOrganization"
  })), React.createElement(Field, {
    name: "contentEventNameGroupList"
  }, React.createElement(Field, {
    name: "contentEventNameGroup"
  }, React.createElement(Field, {
    name: "contentEventName"
  }), React.createElement(Field, {
    name: "contentEventNameType"
  }))), React.createElement(Field, {
    name: "contentOtherGroupList"
  }, React.createElement(Field, {
    name: "contentOtherGroup"
  }, React.createElement(Field, {
    name: "contentOther"
  }), React.createElement(Field, {
    name: "contentOtherType"
  }))))), React.createElement(Field, {
    name: "contentNote"
  })), React.createElement(Panel, {
    name: "textInscript",
    collapsible: true,
    collapsed: true
  }, React.createElement(Field, {
    name: "textualInscriptionGroupList"
  }, React.createElement(Field, {
    name: "textualInscriptionGroup"
  }, React.createElement(Panel, null, React.createElement(Field, {
    name: "inscriptionContent"
  }), React.createElement(Row, null, React.createElement(Col, null, React.createElement(Field, {
    name: "inscriptionContentInscriber"
  }), React.createElement(Field, {
    name: "inscriptionContentLanguage"
  }), React.createElement(Field, {
    name: "inscriptionContentDateGroup"
  })), React.createElement(Col, null, React.createElement(Field, {
    name: "inscriptionContentPosition"
  }), React.createElement(Field, {
    name: "inscriptionContentScript"
  }), React.createElement(Field, {
    name: "inscriptionContentType"
  }), React.createElement(Field, {
    name: "inscriptionContentMethod"
  }))), React.createElement(Field, {
    name: "inscriptionContentInterpretation"
  }), React.createElement(Field, {
    name: "inscriptionContentTranslation"
  }), React.createElement(Field, {
    name: "inscriptionContentTransliteration"
  }))))), React.createElement(Panel, {
    name: "nonTextInscript",
    collapsible: true,
    collapsed: true
  }, React.createElement(Field, {
    name: "nonTextualInscriptionGroupList"
  }, React.createElement(Field, {
    name: "nonTextualInscriptionGroup"
  }, React.createElement(Panel, null, React.createElement(Field, {
    name: "inscriptionDescription"
  }), React.createElement(Row, null, React.createElement(Col, null, React.createElement(Field, {
    name: "inscriptionDescriptionInscriber"
  }), React.createElement(Field, {
    name: "inscriptionDescriptionDateGroup"
  })), React.createElement(Col, null, React.createElement(Field, {
    name: "inscriptionDescriptionPosition"
  }), React.createElement(Field, {
    name: "inscriptionDescriptionType"
  }), React.createElement(Field, {
    name: "inscriptionDescriptionMethod"
  }))), React.createElement(Field, {
    name: "inscriptionDescriptionInterpretation"
  })))))), React.createElement(Panel, {
    name: "prod",
    collapsible: true,
    collapsed: true
  }, React.createElement(Row, null, React.createElement(Col, null, React.createElement(Field, {
    name: "objectProductionDateGroupList"
  }, React.createElement(Field, {
    name: "objectProductionDateGroup"
  })), React.createElement(Field, {
    name: "techniqueGroupList"
  }, React.createElement(Field, {
    name: "techniqueGroup"
  }, React.createElement(Field, {
    name: "technique"
  }), React.createElement(Field, {
    name: "techniqueType"
  }))), React.createElement(Field, {
    name: "objectProductionPlaceGroupList"
  }, React.createElement(Field, {
    name: "objectProductionPlaceGroup"
  }, React.createElement(Field, {
    name: "objectProductionPlace"
  }), React.createElement(Field, {
    name: "objectProductionPlaceRole"
  }))), React.createElement(Field, {
    name: "objectProductionReasons"
  }, React.createElement(Field, {
    name: "objectProductionReason"
  }))), React.createElement(Col, null, React.createElement(Field, {
    name: "objectProductionPeopleGroupList"
  }, React.createElement(Field, {
    name: "objectProductionPeopleGroup"
  }, React.createElement(Field, {
    name: "objectProductionPeople"
  }), React.createElement(Field, {
    name: "objectProductionPeopleRole"
  }))), React.createElement(Field, {
    name: "objectProductionPersonGroupList"
  }, React.createElement(Field, {
    name: "objectProductionPersonGroup"
  }, React.createElement(Field, {
    name: "objectProductionPerson"
  }), React.createElement(Field, {
    name: "objectProductionPersonRole"
  }))), React.createElement(Field, {
    name: "objectProductionOrganizationGroupList"
  }, React.createElement(Field, {
    name: "objectProductionOrganizationGroup"
  }, React.createElement(Field, {
    name: "objectProductionOrganization"
  }), React.createElement(Field, {
    name: "objectProductionOrganizationRole"
  }))), React.createElement(Field, {
    name: "objectProductionNote"
  })))), React.createElement(Panel, {
    name: "hist",
    collapsible: true,
    collapsed: true
  }, React.createElement(Panel, {
    name: "assoc",
    collapsible: true,
    collapsed: true
  }, React.createElement(Row, null, React.createElement(Col, null, React.createElement(Field, {
    name: "assocActivityGroupList"
  }, React.createElement(Field, {
    name: "assocActivityGroup"
  }, React.createElement(Field, {
    name: "assocActivity"
  }), React.createElement(Field, {
    name: "assocActivityType"
  }), React.createElement(Field, {
    name: "assocActivityNote"
  }))), React.createElement(Field, {
    name: "assocObjectGroupList"
  }, React.createElement(Field, {
    name: "assocObjectGroup"
  }, React.createElement(Field, {
    name: "assocObject"
  }), React.createElement(Field, {
    name: "assocObjectType"
  }), React.createElement(Field, {
    name: "assocObjectNote"
  }))), React.createElement(Field, {
    name: "assocConceptGroupList"
  }, React.createElement(Field, {
    name: "assocConceptGroup"
  }, React.createElement(Field, {
    name: "assocConcept"
  }), React.createElement(Field, {
    name: "assocConceptType"
  }), React.createElement(Field, {
    name: "assocConceptNote"
  }))), React.createElement(Field, {
    name: "assocCulturalContextGroupList"
  }, React.createElement(Field, {
    name: "assocCulturalContextGroup"
  }, React.createElement(Field, {
    name: "assocCulturalContext"
  }), React.createElement(Field, {
    name: "assocCulturalContextType"
  }), React.createElement(Field, {
    name: "assocCulturalContextNote"
  }))), React.createElement(Field, {
    name: "assocOrganizationGroupList"
  }, React.createElement(Field, {
    name: "assocOrganizationGroup"
  }, React.createElement(Field, {
    name: "assocOrganization"
  }), React.createElement(Field, {
    name: "assocOrganizationType"
  }), React.createElement(Field, {
    name: "assocOrganizationNote"
  }))), React.createElement(Field, {
    name: "assocPeopleGroupList"
  }, React.createElement(Field, {
    name: "assocPeopleGroup"
  }, React.createElement(Field, {
    name: "assocPeople"
  }), React.createElement(Field, {
    name: "assocPeopleType"
  }), React.createElement(Field, {
    name: "assocPeopleNote"
  }))), React.createElement(Field, {
    name: "assocPersonGroupList"
  }, React.createElement(Field, {
    name: "assocPersonGroup"
  }, React.createElement(Field, {
    name: "assocPerson"
  }), React.createElement(Field, {
    name: "assocPersonType"
  }), React.createElement(Field, {
    name: "assocPersonNote"
  }))), React.createElement(Field, {
    name: "assocPlaceGroupList"
  }, React.createElement(Field, {
    name: "assocPlaceGroup"
  }, React.createElement(Field, {
    name: "assocPlace"
  }), React.createElement(Field, {
    name: "assocPlaceType"
  }), React.createElement(Field, {
    name: "assocPlaceNote"
  })))), React.createElement(Col, null, React.createElement(InputTable, {
    name: "assocEvent"
  }, React.createElement(Field, {
    name: "assocEventName"
  }), React.createElement(Field, {
    name: "assocEventNameType"
  })), React.createElement(Field, {
    name: "assocEventOrganizations"
  }, React.createElement(Field, {
    name: "assocEventOrganization"
  })), React.createElement(Field, {
    name: "assocEventPeoples"
  }, React.createElement(Field, {
    name: "assocEventPeople"
  })), React.createElement(Field, {
    name: "assocEventPersons"
  }, React.createElement(Field, {
    name: "assocEventPerson"
  })), React.createElement(Field, {
    name: "assocEventPlaces"
  }, React.createElement(Field, {
    name: "assocEventPlace"
  })), React.createElement(Field, {
    name: "assocEventNote"
  }), React.createElement(Field, {
    name: "assocDateGroupList"
  }, React.createElement(Field, {
    name: "assocDateGroup"
  }, React.createElement(Field, {
    name: "assocStructuredDateGroup"
  }), React.createElement(Field, {
    name: "assocDateType"
  }), React.createElement(Field, {
    name: "assocDateNote"
  })))))), React.createElement(Field, {
    name: "objectHistoryNote"
  }), React.createElement(Field, {
    name: "usageGroupList"
  }, React.createElement(Field, {
    name: "usageGroup"
  }, React.createElement(Field, {
    name: "usage"
  }), React.createElement(Field, {
    name: "usageNote"
  }))), React.createElement(Row, null, React.createElement(Col, null, React.createElement(Field, {
    name: "owners"
  }, React.createElement(Field, {
    name: "owner"
  })), React.createElement(Field, {
    name: "ownershipDateGroupList"
  }, React.createElement(Field, {
    name: "ownershipDateGroup"
  }))), React.createElement(Col, null, React.createElement(Row, null, React.createElement(Field, {
    name: "ownershipAccess"
  }), React.createElement(Field, {
    name: "ownershipCategory"
  })), React.createElement(Field, {
    name: "ownershipPlace"
  }))), React.createElement(InputTable, {
    name: "ownershipExchange"
  }, React.createElement(Field, {
    name: "ownershipExchangeMethod"
  }), React.createElement(Field, {
    name: "ownershipExchangeNote"
  }), React.createElement(Field, {
    name: "ownershipExchangePriceCurrency"
  }), React.createElement(Field, {
    name: "ownershipExchangePriceValue"
  }))), React.createElement(Panel, {
    name: "owner",
    collapsible: true,
    collapsed: true
  }, React.createElement(Field, {
    name: "ownersPersonalExperience"
  }), React.createElement(Field, {
    name: "ownersPersonalResponse"
  }), React.createElement(Field, {
    name: "ownersReferences"
  }, React.createElement(Field, {
    name: "ownersReference"
  })), React.createElement(Field, {
    name: "ownersContributionNote"
  })), React.createElement(Panel, {
    name: "viewer",
    collapsible: true,
    collapsed: true
  }, React.createElement(Field, {
    name: "viewersRole"
  }), React.createElement(Field, {
    name: "viewersPersonalExperience"
  }), React.createElement(Field, {
    name: "viewersPersonalResponse"
  }), React.createElement(Field, {
    name: "viewersReferences"
  }, React.createElement(Field, {
    name: "viewersReference"
  })), React.createElement(Field, {
    name: "viewersContributionNote"
  })), React.createElement(Panel, {
    name: "reference",
    collapsible: true,
    collapsed: true
  }, React.createElement(Field, {
    name: "referenceGroupList"
  }, React.createElement(Field, {
    name: "referenceGroup"
  }, React.createElement(Field, {
    name: "reference"
  }), React.createElement(Field, {
    name: "referenceNote"
  })))), React.createElement(Panel, {
    name: "collect",
    collapsible: true,
    collapsed: true
  }, React.createElement(Row, null, React.createElement(Col, null, React.createElement(Field, {
    name: "fieldCollectionDateGroup"
  }), React.createElement(Field, {
    name: "fieldCollectionMethods"
  }, React.createElement(Field, {
    name: "fieldCollectionMethod"
  })), React.createElement(Field, {
    name: "fieldCollectionPlace"
  }), React.createElement(Field, {
    name: "fieldCollectionSources"
  }, React.createElement(Field, {
    name: "fieldCollectionSource"
  })), React.createElement(Field, {
    name: "fieldCollectors"
  }, React.createElement(Field, {
    name: "fieldCollector"
  }))), React.createElement(Col, null, React.createElement(Field, {
    name: "fieldCollectionNumber"
  }), React.createElement(Field, {
    name: "fieldColEventNames"
  }, React.createElement(Field, {
    name: "fieldColEventName"
  })), React.createElement(Field, {
    name: "fieldCollectionFeature"
  }), React.createElement(Field, {
    name: "fieldCollectionNote"
  })))), React.createElement(Panel, {
    name: "hierarchy",
    collapsible: true,
    collapsed: true
  }, React.createElement(Field, {
    name: "relation-list-item",
    subpath: "rel:relations-common-list"
  })));
};

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

exports.default = _default;