import{S as o}from"./sweetalert2.esm.all-BQIkj5Wb.js";const n={customClass:{popup:"rounded-xl shadow-xl p-6",title:"text-xl font-bold text-gray-800",confirmButton:"bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded focus:outline-none",cancelButton:"bg-gray-300 hover:bg-gray-400 text-gray-800 px-4 py-2 rounded focus:outline-none",denyButton:"bg-red-600 hover:bg-red-700 text-white px-4 py-2 rounded"},buttonsStyling:!1},c={success(t="操作成功",e="成功"){return o.fire({icon:"success",title:e,text:t,...n})},error(t="操作失敗",e="錯誤"){return o.fire({icon:"error",title:e,text:t,...n})},confirm({title:t="確認操作？",text:e="",confirmText:r="確定",cancelText:u="取消"}){return o.fire({icon:"question",title:t,text:e,showCancelButton:!0,confirmButtonText:r,cancelButtonText:u,...n})}};export{c as u};
