import{r as e,h as r,H as a}from"./p-9f21f85f.js";const t={neutral:"uil-megaphone",primary:"uil-info-circle",secondary:"uil-check-circle",warning:"uil-exclamation-triangle",danger:"uil-exclamation-octagon"},n=class{constructor(r){e(this,r),this.tint="primary",this.extraClass="mb-3"}render(){const{message:e,tint:n}=this;return r(a,{class:"d-block"},r("dvn-card",{elevation:0,leaned:!0,tint:n,reverseTint:!0,extraClass:this.extraClass},r("div",{class:"d-flex align-items-center"},r("dvn-icon",{iconName:t[n],class:"pr-2",size:32}),e),r("slot",{name:"footer"})))}};n.style='dvn-alert dvn-card{position:relative;padding-left:var(--corner-radius)}dvn-alert dvn-card:before{position:absolute;left:0;height:100%;width:var(--corner-radius);background:var(--card-text-color);content:" "}';export{n as dvn_alert}