import{jsx as e,jsxs as t}from"react/jsx-runtime";import{A as n,a as c,b as s,c as d,d as m,e as p,f as D,g as h}from"./alert-dialog-xorwy8s8.js";import"react";import"@radix-ui/react-alert-dialog";import"./utils-CMbmcP35.js";import"clsx";import"tailwind-merge";import"./button-BvFBRYHq.js";import"@radix-ui/react-slot";import"class-variance-authority";function I({isOpen:i,onOpenChange:o,selectedItem:l,isLoading:r,onConfirm:a}){return e(n,{open:i,onOpenChange:o,children:t(c,{children:[t(s,{children:[e(d,{children:"Delete Shop Item"}),t(m,{children:['Are you sure you want to delete "',l?.item_name||"this item",'"? This action cannot be undone.']})]}),t(p,{children:[e(D,{disabled:r,children:"Cancel"}),e(h,{onClick:a,disabled:r,className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",children:r?"Deleting...":"Delete"})]})]})})}export{I as DeleteShopItemDialog};
