"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: "responsibleDepartments"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "responsibleDepartment"
  }))), /*#__PURE__*/React.createElement(Col, null, /*#__PURE__*/React.createElement(Field, {
    name: "briefDescriptions"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "briefDescription"
  })))), /*#__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
  }, /*#__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"
  }))), extensions.dimension.form, /*#__PURE__*/React.createElement(Panel, {
    name: "content",
    collapsible: true
  }, /*#__PURE__*/React.createElement(Field, {
    name: "contentConcepts"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "contentConcept"
  })))), /*#__PURE__*/React.createElement(Panel, {
    name: "prod",
    collapsible: 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: "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: "objectProductionPeopleGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "objectProductionPeopleGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "objectProductionPeople"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "objectProductionPeopleRole"
  }))), /*#__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(Panel, {
    name: "hist",
    collapsible: true
  }, /*#__PURE__*/React.createElement(Field, {
    name: "objectHistoryNote"
  })), /*#__PURE__*/React.createElement(Panel, {
    name: "owner",
    collapsible: true
  }, /*#__PURE__*/React.createElement(Field, {
    name: "ownersContributionNote"
  })), /*#__PURE__*/React.createElement(Panel, {
    name: "viewer",
    collapsible: true
  }, /*#__PURE__*/React.createElement(Field, {
    name: "viewersContributionNote"
  })));
};

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

exports.default = _default;