import{j as r,b as e,f as h,s as u,g as C,i as D,$ as t,C as f,D as m}from"./index-BiWH3VAt.js";const g=({open:s,title:a="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:i=!1,onConfirm:d,onCancel:o})=>r(m,{open:s,onClose:i?void 0:o,maxWidth:"xs",fullWidth:!0,children:[e(h,{children:a}),e(C,{children:e(u,{variant:"body2",children:n})}),r(D,{children:[e(t,{variant:"outlined",onClick:o,disabled:i,children:c}),e(t,{variant:"contained",color:"error",onClick:d,disabled:i,startIcon:i?e(f,{size:16,color:"inherit"}):void 0,children:l})]})]});export{g as C};
