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