import{h as s}from"./p-a0569a5f.js";import{r as t}from"./p-b7a1e5c3.js";import{B as i}from"./p-eebad85b.js";class r extends i{constructor(s,t,i,r,e,o,h){super(s,"subForm"),this.id=s,this.title=t,this.description=r,this.fields=i,this.language=h,this.layout=e,this.showFieldOrder=o,this.maxCount=1,this.minCount=1,this.separated=!0,this.value=void 0}setMaxCount(s){return this.maxCount=s,this}setMinCount(s){return this.minCount=s,this}setSeparated(s){return this.separated=s,this}}r.type="subForm",t("subForm",((t,i,r,e,o,h)=>s("dvn-field-input-sub-form",{disabled:e,errors:r,field:t,onChange:s=>{s.stopImmediatePropagation(),o(t,s.detail)},onBlur:()=>h(t),value:i})));export{r as S}