"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.orderApplyType = exports.imageTestUrl = exports.applyState = exports.SPP_TYPE_MAP = exports.PAGINATION = exports.ORDER_RETURN_STATUS = exports.OFFER_TYPE = exports.DATE_TIME_FORMATE = exports.DATE_FORMATE = void 0;

/** 测试图片 */
var imageTestUrl = 'http://172.16.24.71:8091/get/resource/vivo21357143812266397696.png';
/** 日期格式化 */

exports.imageTestUrl = imageTestUrl;
var DATE_FORMATE = 'YYYY-MM-DD';
/** 时间格式化 */

exports.DATE_FORMATE = DATE_FORMATE;
var DATE_TIME_FORMATE = 'YYYY-MM-DD mm:HH';
/** 分页 */

exports.DATE_TIME_FORMATE = DATE_TIME_FORMATE;
var PAGINATION = {
  pageIndex: 1,
  pageSize: 10
};
/** 订单支付状态 */

exports.PAGINATION = PAGINATION;
var ORDER_RETURN_STATUS = {
  NO_PAY: {
    KEY: -2,
    VALUE: '未支付'
  },
  PAYING: {
    KEY: -4,
    VALUE: '支付中'
  },
  SUCCESS: {
    KEY: 0,
    VALUE: '支付成功'
  }
};
/** 商品类型 */

exports.ORDER_RETURN_STATUS = ORDER_RETURN_STATUS;
var OFFER_TYPE = {
  ADDITION_OFFER: {
    KEY: 'A',
    VALUE: 'Addition Offer'
  },
  ELECTRONIC_VOUCHER: {
    KEY: 'E',
    VALUE: 'Electronic voucher'
  },
  MAIN_OFFER: {
    KEY: 'M',
    VALUE: 'Main Offer'
  },
  PHYSICAL: {
    KEY: 'P',
    VALUE: 'Physical'
  },
  VIRTUAL: {
    KEY: 'V',
    VALUE: 'Virtual'
  }
};
/** 商品活动类型 */

exports.OFFER_TYPE = OFFER_TYPE;
var SPP_TYPE_MAP = {
  2: 'FLASH',
  4: 'GROUP'
};
exports.SPP_TYPE_MAP = SPP_TYPE_MAP;
var applyState = {
  PENDING_REVIEW: 'A',
  // 待审核
  WAIT_FOR_DELI_INFO: 'C',
  // 待填写物流信息
  CONFIRM_RECEIPT: 'D',
  // 待商家收货
  PENDING_REFUND: 'E',
  // 待退款
  WAIT_FOR_BANK_ACCOUNT: 'I',
  // 待确认银行账户
  REFUND_IN_PROGRES: 'F',
  // 退款中
  REPLACE_IN_PROGRESS: 'H',
  // 待换货
  FINISHED: 'G',
  // 完成
  REJECTED: 'B',
  // 审核拒绝
  CANCELLED: 'X',
  // 作废
  REFUND_FAILED: 'F' // 退款失败

};
exports.applyState = applyState;
var orderApplyType = {
  RETURN: 2,
  REFUND: 3,
  EXCHANGE: 4
};
exports.orderApplyType = orderApplyType;