import{j as r,b as i,f as h,q as u,g as C,i as D,ai as t,C as f,D as m}from"./index-DlNZgIG9.js";const g=({open:a,title:s="Confirm Delete",message:n="Are you sure you want to delete this item? This action cannot be undone.",confirmLabel:l="Yes",cancelLabel:c="No",loading:e=!1,onConfirm:d,onCancel:o})=>r(m,{open:a,onClose:e?void 0:o,maxWidth:"xs",fullWidth:!0,children:[i(h,{children:s}),i(C,{children:i(u,{variant:"body2",children:n})}),r(D,{children:[i(t,{variant:"outlined",onClick:o,disabled:e,children:c}),i(t,{variant:"contained",color:"error",onClick:d,disabled:e,startIcon:e?i(f,{size:16,color:"inherit"}):void 0,children:l})]})]});export{g as C};
