'use strict';

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

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

var _formatHelpers = require('../../../helpers/formatHelpers');

exports.default = {
  default: [{
    name: 'taxonName',
    messages: (0, _reactIntl.defineMessages)({
      label: {
        'id': 'column.pottag.default.taxonName',
        'defaultMessage': 'Taxon name'
      }
    }),
    formatValue: function formatValue(value) {
      return (0, _formatHelpers.formatRefName)(value);
    },
    sortBy: 'pottags_common:taxonName',
    width: 200
  }, {
    name: 'family',
    messages: (0, _reactIntl.defineMessages)({
      label: {
        'id': 'column.pottag.default.family',
        'defaultMessage': 'Family'
      }
    }),
    formatValue: function formatValue(value) {
      return (0, _formatHelpers.formatRefName)(value);
    },
    sortBy: 'pottags_common:family',
    width: 200
  }, {
    name: 'printLabels',
    messages: (0, _reactIntl.defineMessages)({
      label: {
        'id': 'column.pottag.default.printLabels',
        'defaultMessage': 'Print labels'
      }
    }),
    sortBy: 'pottags_common:printLabels',
    width: 150
  }, {
    name: 'updatedAt',
    messages: (0, _reactIntl.defineMessages)({
      label: {
        'id': 'column.pottag.default.updatedAt',
        'defaultMessage': 'Updated'
      }
    }),
    formatValue: _formatHelpers.formatTimestamp,
    sortBy: 'collectionspace_core:updatedAt',
    width: 150
  }]
};