import{h as e}from"./p-ec7718e6.js";import{r as o}from"./p-2d511d0e.js";import{B as s}from"./p-d66fb38c.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,t,i,a)=>e("dvn-field-input-boolean",{disabled:t,field:o,errors:r,onChange:e=>i(o,e.detail),onBlur:()=>a(o),value:s})));export{r as B}