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