'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

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

exports.default = configContext => {
  var _configContext$format = configContext.formatHelpers;
  const formatRefName = _configContext$format.formatRefName,
        formatTimestamp = _configContext$format.formatTimestamp;


  return {
    default: {
      entryNumber: {
        messages: (0, _reactIntl.defineMessages)({
          label: {
            'id': 'column.intake.default.entryNumber',
            'defaultMessage': 'Entry number'
          }
        }),
        order: 10,
        sortBy: 'intakes_common:entryNumber',
        width: 200
      },
      currentOwner: {
        formatValue: formatRefName,
        messages: (0, _reactIntl.defineMessages)({
          label: {
            'id': 'column.intake.default.currentOwner',
            'defaultMessage': 'Current owner'
          }
        }),
        order: 20,
        sortBy: 'intakes_common:currentOwner',
        width: 450
      },
      updatedAt: {
        formatValue: formatTimestamp,
        messages: (0, _reactIntl.defineMessages)({
          label: {
            'id': 'column.intake.default.updatedAt',
            'defaultMessage': 'Updated'
          }
        }),
        order: 30,
        sortBy: 'collectionspace_core:updatedAt',
        width: 150
      }
    }
  };
};