import{r as t,c as s,h as i,H as h}from"./p-1ea36ff3.js";let e=class{constructor(i){t(this,i),this.change=s(this,"change",7),this.scale="medium",this.value=[],this.disabled=!1,this.inline=!1,this.options=[],this.tint="primary"}render(){const t=this.name||Math.random().toString(36).substr(2,5);return i(h,null,this.options.map((s=>i("dvn-checkbox",{onChange:t=>{t.stopPropagation(),this.change.emit(function(t=[],s){return t.indexOf(s)>-1?t.filter((t=>t!==s)):[...t,s]}(this.value,s.value))},checked:this.value.indexOf(s.value)>-1,value:s.value,label:s.label,name:t,inline:this.inline,disabled:this.disabled||s.disabled,scale:this.scale,tint:this.tint}))))}};export{e as dvn_checkbox_group}