import{r as s,c as t,h as i,H as o}from"./p-2b0a6102.js";const a="bs-toast-actions{display:block}";const e=class{constructor(i){s(this,i);this.defaultDismiss=t(this,"defaultDismiss",7);this.isStacked=false;this.showDefault=false}componentDidLoad(){if(this.actionsEl.childElementCount==0){this.showDefault=true}}componentDidRender(){if(this.actionsEl.childElementCount>2){this.isStacked=true}}render(){return i(o,null,i("div",{ref:s=>this.actionsEl=s,class:"bs-toast-actions","data-stacked":this.isStacked},this.showDefault&&i("bs-button",{size:"sm","text-btn":true,onClick:()=>this.defaultDismiss.emit()},"Dismiss"),i("slot",null)))}};e.style=a;export{e as bs_toast_actions};
//# sourceMappingURL=p-b0c4d494.entry.js.map