1import{_ as g}from"./Cne9Vur2.js";import{k as d,d as m,l as n,y as r,z as s,A as a,B as b,m as i,n as h,C as v,o}from"#entry";const x={key:0},y=d({__name:"UiAlert",props:{intent:{default:"info"},state:{default:"icon"},icon:{default:void 0}},setup(e){const c=a({base:"rounded-lg p-4 text-sm",variants:{intent:{success:"bg-success-light text-success",info:"bg-info-light text-info",error:"bg-error-light text-error",warning:"bg-warning-light text-warning"},state:{regular:"",icon:"flex items-center gap-2"}}}),l=a({base:"w-7 h-7 text-white rounded-full flex justify-center items-center mr-1",variants:{intent:{info:"bg-info",success:"bg-success",error:"bg-error",warning:"bg-warning"}}}),t=e,u=m(()=>t.icon?t.icon:t.intent==="success"?"check":t.intent==="error"||t.intent==="warning"?"alert-triangle":"info");return(f,w)=>(o(),n("div",{class:r(s(c)({intent:e.intent,state:e.state}))},[e.state==="icon"?(o(),n("div",x,[i("div",{class:r(s(l)({intent:e.intent}))},[h(g,{name:u.value,size:16},null,8,["name"])],2)])):b("",!0),i("div",null,[v(f.$slots,"default")])],2))}});export{y as _};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.