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