import{j as r,b as e,f as h,q as u,g as C,i as D,an as t,C as f,D as m}from"./index-ktJf6c6X.js";const g=({open:a,title:n="Confirm Delete",message:s="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:a,onClose:i?void 0:o,maxWidth:"xs",fullWidth:!0,children:[e(h,{children:n}),e(C,{children:e(u,{variant:"body2",children:s})}),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};
