"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _reactIntl = require("react-intl");

var _default = configContext => {
  const {
    CompoundInput,
    TermPickerInput
  } = configContext.inputComponents;
  const {
    configKey: config
  } = configContext.configHelpers;
  return {
    document: {
      [config]: {
        view: {
          type: CompoundInput
        }
      },
      inventoryStatus: {
        [config]: {
          messages: (0, _reactIntl.defineMessages)({
            name: {
              "id": "field.batch.UpdateInventoryStatusBatchJob.inventoryStatus.name",
              "defaultMessage": "New inventory status"
            }
          }),
          repeating: true,
          view: {
            type: TermPickerInput,
            props: {
              source: 'inventorystatus'
            }
          }
        }
      }
    }
  };
};

exports.default = _default;