'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-a1121663.js');

const DvnFieldInputBoolean = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
    this.blur = index.createEvent(this, "blur", 7);
    this.change = index.createEvent(this, "change", 7);
  }
  render() {
    const { disabled, field, value } = this;
    return (index.h("dvn-checkbox", { id: field.id, disabled: disabled || field.disabled, onBlur: () => this.blur.emit(), value: field.id, checked: value, leaned: true, label: field.label }));
  }
};

exports.dvn_field_input_boolean = DvnFieldInputBoolean;
