import{h as e}from"./p-9f21f85f.js";import{r as s}from"./p-31e77e7b.js";import{B as r}from"./p-105f7627.js";class o extends r{constructor(e,s,r,o){super(e,"boolean"),this.id=e,this.title=s,this.description=r,this.label=o}showPreview(){return this.preview=!0,this}getDisplayValue(e){return e}setLabelType(e){return this.labelType=e,this}}o.type="boolean",s("boolean",((s,r,o,t,i,a)=>e("dvn-field-input-boolean",{disabled:t,field:s,errors:o,onChange:e=>i(s,e.detail),onBlur:()=>a(s),value:r})));export{o as B}