export var EVisibleButtonType = /*#__PURE__*/function (EVisibleButtonType) {
  EVisibleButtonType["CancelButton"] = "CancelButton";
  EVisibleButtonType["WaitButton"] = "WaitButton";
  return EVisibleButtonType;
}({});
export var EActionStatus = /*#__PURE__*/function (EActionStatus) {
  EActionStatus["Empty"] = "Empty";
  EActionStatus["Cancel"] = "Cancel";
  EActionStatus["CancelWaiting"] = "CancelWaiting";
  EActionStatus["Signature"] = "Signature";
  EActionStatus["SignatureWaiting"] = "SignatureWaiting";
  return EActionStatus;
}({});

// 开始轮询的延迟时间（支付发起后等待10秒）
export var QUERY_START_DELAY = 1000 * 10;
// 全局超时时间（2分钟）
export var GLOBAL_TIMEOUT = 1000 * 60 * 2;
// 单次请求超时时间（10秒）
export var REQUEST_TIMEOUT = 1000 * 10;
// 轮询间隔时间（2秒）
export var QUERY_INTERVAL = 1000 * 2;

/**
 * 聚合支付初始化参数
 */

/** 
 * 聚合支付操作类型 
*/
export var ActionType = /*#__PURE__*/function (ActionType) {
  ActionType["Pay"] = "pay";
  ActionType["PayQuery"] = "payQuery";
  ActionType["PayAction"] = "payAction";
  ActionType["Refund"] = "refund";
  ActionType["RefundQuery"] = "refundQuery";
  ActionType["RefundAction"] = "refundAction";
  return ActionType;
}({});

/** 回调事件 */

/** 统一回调函数 */

/**
 * 执行操作参数
 */

/**
 * 聚合支付配置参数
 */

/**
 * 支付状态
 */
export var EPaymentStatus = /*#__PURE__*/function (EPaymentStatus) {
  EPaymentStatus["Processing"] = "processing";
  EPaymentStatus["Success"] = "success";
  EPaymentStatus["Failed"] = "failed";
  return EPaymentStatus;
}({});