import { AlertDialog as e, AlertDialogAction as t, AlertDialogCancel as n, AlertDialogContent as r, AlertDialogDescription as i, AlertDialogFooter as a, AlertDialogHeader as o, AlertDialogTitle as s } from "../ui/alert-dialog.js";
import { jsx as c, jsxs as l } from "react/jsx-runtime";
//#region src/components/data-table/ConfirmDialog.tsx
var u = ({ isOpen: u, onOpenChange: d, title: f, description: p, onConfirm: m, confirmText: h = "Confirm", cancelText: g = "Cancel", variant: _ = "default" }) => /* @__PURE__ */ c(e, {
	open: u,
	onOpenChange: d,
	children: /* @__PURE__ */ l(r, { children: [/* @__PURE__ */ l(o, { children: [/* @__PURE__ */ c(s, { children: f }), /* @__PURE__ */ c(i, { children: p })] }), /* @__PURE__ */ l(a, { children: [/* @__PURE__ */ c(n, { children: g }), /* @__PURE__ */ c(t, {
		onClick: m,
		className: _ === "destructive" ? "bg-destructive text-destructive-foreground hover:bg-destructive/90 text-white" : "",
		children: h
	})] })] })
});
//#endregion
export { u as default };
