"use strict";

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

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

var _default = configContext => {
  const {
    formatRefName,
    formatTimestamp
  } = configContext.formatHelpers;
  return {
    default: {
      transportReferenceNumber: {
        messages: (0, _reactIntl.defineMessages)({
          label: {
            "id": "column.transport.default.transportReferenceNumber",
            "defaultMessage": "Transport reference number"
          }
        }),
        order: 10,
        sortBy: 'transports_common:transportReferenceNumber',
        width: 200
      },
      transporter: {
        formatValue: formatRefName,
        messages: (0, _reactIntl.defineMessages)({
          label: {
            "id": "column.transport.default.transporter",
            "defaultMessage": "Transporter"
          }
        }),
        order: 20,
        sortBy: 'transports_common:transporter',
        width: 400
      },
      updatedAt: {
        formatValue: formatTimestamp,
        messages: (0, _reactIntl.defineMessages)({
          label: {
            "id": "column.transport.default.updatedAt",
            "defaultMessage": "Updated"
          }
        }),
        order: 30,
        sortBy: 'transports_core:updatedAt',
        width: 150
      }
    }
  };
};

exports.default = _default;