var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// src/components/eftposPay/const.ts
var const_exports = {};
__export(const_exports, {
  ClientEnum: () => ClientEnum,
  EftposEnum: () => EftposEnum,
  ModeEnum: () => ModeEnum,
  OrderEumn: () => OrderEumn,
  PayRouteEnum: () => PayRouteEnum,
  PayStatus: () => PayStatus,
  RestoreEumn: () => RestoreEumn,
  RouteEnum: () => RouteEnum,
  StatusEnum: () => StatusEnum
});
module.exports = __toCommonJS(const_exports);
var EftposEnum = /* @__PURE__ */ ((EftposEnum2) => {
  EftposEnum2["Payo"] = "payo";
  EftposEnum2["Tyro"] = "tyro";
  EftposEnum2["Windcave"] = "windcave";
  EftposEnum2["Stripe"] = "stripe";
  EftposEnum2["Linkly"] = "linkly";
  EftposEnum2["Huifu"] = "huifu";
  return EftposEnum2;
})(EftposEnum || {});
var StatusEnum = /* @__PURE__ */ ((StatusEnum2) => {
  StatusEnum2["Init"] = "init";
  StatusEnum2["Loading"] = "loading";
  StatusEnum2["Warn"] = "warn";
  StatusEnum2["Fail"] = "fail";
  StatusEnum2["Success"] = "success";
  StatusEnum2["Pedding"] = "pedding";
  StatusEnum2["Resove"] = "resove";
  StatusEnum2["Reject"] = "reject";
  StatusEnum2["Question"] = "question";
  return StatusEnum2;
})(StatusEnum || {});
var ModeEnum = /* @__PURE__ */ ((ModeEnum2) => {
  ModeEnum2["Pay"] = "pay";
  ModeEnum2["FullPay"] = "fullPay";
  ModeEnum2["Refund"] = "refund";
  ModeEnum2["Query"] = "query";
  return ModeEnum2;
})(ModeEnum || {});
var RestoreEumn = /* @__PURE__ */ ((RestoreEumn2) => {
  RestoreEumn2["Normal"] = "normal";
  RestoreEumn2["Restore"] = "restore";
  return RestoreEumn2;
})(RestoreEumn || {});
var OrderEumn = /* @__PURE__ */ ((OrderEumn2) => {
  OrderEumn2["Restore"] = "restore";
  OrderEumn2["Normal"] = "normal";
  OrderEumn2["Succeed"] = "succeed";
  OrderEumn2["Failed"] = "failed";
  OrderEumn2["Pending"] = "pending";
  OrderEumn2["Null"] = "null";
  return OrderEumn2;
})(OrderEumn || {});
var ClientEnum = /* @__PURE__ */ ((ClientEnum2) => {
  ClientEnum2["User"] = "user";
  ClientEnum2["Merchant"] = "merchant";
  return ClientEnum2;
})(ClientEnum || {});
var RouteEnum = /* @__PURE__ */ ((RouteEnum2) => {
  RouteEnum2["Amount"] = "amount";
  RouteEnum2["DeviceList"] = "deviceList";
  RouteEnum2["Pay"] = "pay";
  return RouteEnum2;
})(RouteEnum || {});
var PayRouteEnum = /* @__PURE__ */ ((PayRouteEnum2) => {
  PayRouteEnum2["Step"] = "step";
  PayRouteEnum2["Unset"] = "unset";
  return PayRouteEnum2;
})(PayRouteEnum || {});
var PayStatus = /* @__PURE__ */ ((PayStatus2) => {
  PayStatus2["Success"] = "200";
  PayStatus2["NoPay"] = "4004";
  PayStatus2["PairingFailure"] = "606020";
  PayStatus2["Unknown"] = "701000";
  PayStatus2["Timeout"] = "701001";
  PayStatus2["PaymentFailed"] = "701002";
  PayStatus2["PayOtherEftposFailed"] = "701003";
  PayStatus2["PayCardErrorFailed"] = "701004";
  PayStatus2["NoNetWork"] = "701005";
  PayStatus2["PayTimeout"] = "701006";
  PayStatus2["SocketError"] = "701007";
  PayStatus2["PayBankRefuses"] = "701008";
  PayStatus2["SignatureDeclined"] = "701009";
  PayStatus2["UserConfigError"] = "701010";
  return PayStatus2;
})(PayStatus || {});
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  ClientEnum,
  EftposEnum,
  ModeEnum,
  OrderEumn,
  PayRouteEnum,
  PayStatus,
  RestoreEumn,
  RouteEnum,
  StatusEnum
});
