import{r as s,c as t,h as e,H as h,g as r}from"./p-1c0e94b2.js";const a=class{constructor(e){s(this,e),this.bsChange=t(this,"bsChange",7)}valueChanged(s){this.bsChange.emit(s)}handleChange(s){this.el.querySelectorAll("bs-form-check").forEach((t=>{t.value!==s.detail.value?t.checked=!1:this.value=s.detail}))}componentDidLoad(){this.el.querySelectorAll('bs-form-check[type="radio"]').forEach((s=>{s.addEventListener("bsOnInput",this.handleChange.bind(this))}))}render(){return e(h,null,e("slot",null))}get el(){return r(this)}static get watchers(){return{value:["valueChanged"]}}};a.style=":host{display:flex}";export{a as bs_form_check_group}