import{_ as l,r as c,o as s,c as n,a as r,g as i,f as d,t as m,b as p}from"./app-PFKfXWEI.js";const u={emits:["restore"],props:{action:{type:Boolean,default:!0},icon:{type:String,default:"trash"}}},f={class:"px-4 py-1 bg-yellow-300 text-yellow-800 rounded flex items-center justify-between"},y={class:"flex items-center"},_={class:"font-medium"};function b(e,t,o,h,w,v){const a=c("icons");return s(),n("div",f,[r("div",y,[i(a,{name:o.icon,class:"shrink-0 w-4 h-4 fill-yellow-800 mr-2"},null,8,["name"]),r("div",_,[d(e.$slots,"default")])]),o.action?(s(),n("button",{key:0,tabindex:"-1",type:"button",onClick:t[0]||(t[0]=x=>e.$emit("restore")),class:"px-4 py-2 rounded border-2 border-transparent hover:border-yellow-800 focus:border-yellow-800"},m(e.$t("Restore")),1)):p("",!0)])}const g=l(u,[["render",b]]);export{g as T};
