"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: "otherNumberList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "otherNumber"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "numberValue"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "numberType"
  }))), /*#__PURE__*/React.createElement(Field, {
    name: "inventoryStatusList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "inventoryStatus"
  }))), /*#__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,
    collapsed: true
  }, extensions.dimension.form), /*#__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: "objectProductionPersonGroupList"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "objectProductionPersonGroup"
  }, /*#__PURE__*/React.createElement(Field, {
    name: "objectProductionPerson"
  }), /*#__PURE__*/React.createElement(Field, {
    name: "objectProductionPersonRole"
  })))), /*#__PURE__*/React.createElement(Col, null, /*#__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: "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.inventory.name",
      "defaultMessage": "Inventory Template"
    }
  }),
  sortOrder: 1,
  template: template(configContext)
});

exports.default = _default;