import { Button as o, ButtonType as r, ButtonStyle as m } from "./accelbyte-widgets107.mjs";
import { Dialog as i, DialogBody as c, DialogFooter as d } from "./accelbyte-widgets235.mjs";
import { t as s } from "./accelbyte-widgets58.mjs";
import e from "react";
import { Trans as l } from "react-i18next";
import p from "./accelbyte-widgets501.mjs";
const f = ({ isDeleting: t, onClose: a, onDelete: n }) => /* @__PURE__ */ e.createElement(i, { isOpen: !0, onClose: a, title: s("PaymentMethodsPage.dialogTitle") }, /* @__PURE__ */ e.createElement(c, null, "Do you want to delete the selected payment method?"), /* @__PURE__ */ e.createElement(d, { className: p.dialogFooter }, /* @__PURE__ */ e.createElement(
  o,
  {
    disabled: t,
    className: "btn btn-ghost btnCancel uppercase",
    buttonType: r.TEXT,
    buttonStyle: m.NONE,
    onClick: a
  },
  /* @__PURE__ */ e.createElement(l, { i18nKey: "PaymentMethodsPage.dialogCancel" }, "Cancel")
), /* @__PURE__ */ e.createElement(
  o,
  {
    loadingIndicator: "SPINNER",
    disabled: t,
    isLoading: t,
    className: "btn-primary uppercase",
    onClick: n
  },
  /* @__PURE__ */ e.createElement(l, { i18nKey: "PaymentMethodsPage.dialogDelete" }, "Delete")
)));
export {
  f as DeletePaymentDialog
};
