import{r as s,c as t,h as e,H as a,g as h}from"./p-1689eaec.js";const r=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("bsInput",this.handleChange.bind(this))}))}render(){return e(a,null,e("slot",null))}get el(){return h(this)}static get watchers(){return{value:["valueChanged"]}}};r.style=":host{display:flex}";export{r as bs_form_check_group}