import{_ as d}from"./fTZc3uM5.js";import{d as c,e as t,o,E as a,b as e,l as n,ae as i,t as m,a as u}from"./B08CJtNn.js";const _={class:"grid-simpleResultItem__message"},p={class:"grid grid-simpleStatus o_gap-4"},g={class:"max-w-[80ch]"},h={class:"font-medium o_mb-4"},f={class:"text-sm"},k={key:0,class:"grid-simpleResultItem__extra"},w=c({__name:"SimpleStatusContent",props:{status:{default:"success"},title:{default:""},description:{default:""},markdown:{type:Boolean,default:!1}},setup(S){const r={success:"uiSuccess",warning:"uiWarning",danger:"uiError"};return(s,v)=>{const l=d;return o(),t("div",{class:a(["o_gap-4 max-w-[120ch]",[s.$slots.extra?"grid grid-simpleResultItem":""]])},[e("div",_,[e("div",p,[s.status.length?(o(),t("div",{key:0,class:a(["o_w-2 rounded-md h-full bg-uiError",`bg-${r[s.status]}`])},null,2)):n("",!0),e("div",g,[i(s.$slots,"default",{},()=>[e("h4",h,m(s.title),1),e("div",f,[u(l,{text:s.description,markdown:s.markdown},null,8,["text","markdown"])])])])])]),s.$slots.extra?(o(),t("div",k,[i(s.$slots,"extra")])):n("",!0)],2)}}}),C=Object.assign(w,{__name:"SimpleStatusContent"});export{C as _};
