import{r as registerInstance,c as createEvent,h}from"./index-ecdfb761.js";var DvnFieldInputBoolean=function(){function e(e){registerInstance(this,e);this.blur=createEvent(this,"blur",7);this.change=createEvent(this,"change",7)}e.prototype.render=function(){var e=this;var n=this,t=n.disabled,a=n.field,r=n.value;return h("dvn-checkbox",{id:a.id,disabled:t||a.disabled,onBlur:function(){return e.blur.emit()},value:a.id,checked:r,leaned:true,label:a.labelType!=="markdown"?a.label:undefined},a.labelType==="markdown"&&h("div",{slot:"label"},h("dvn-markdown",{content:a.label})))};return e}();export{DvnFieldInputBoolean as dvn_field_input_boolean};