import { Component, h, Host, Prop } from '@stencil/core';
export class DvnFieldDisplayCellBoolean {
  constructor() {
    this.meta = {};
  }
  render() {
    const { field } = this;
    let value = this.value || false;
    return (h(Host, null,
      h("dvn-checkbox", { id: field.id, disabled: true, leaned: true, value: field.id, checked: value })));
  }
  static get is() { return "dvn-field-display-cell-boolean"; }
  static get encapsulation() { return "scoped"; }
  static get originalStyleUrls() { return {
    "$": ["./dvn-field-display-cell-boolean.scss"]
  }; }
  static get styleUrls() { return {
    "$": ["dvn-field-display-cell-boolean.css"]
  }; }
  static get properties() { return {
    "value": {
      "type": "boolean",
      "mutable": false,
      "complexType": {
        "original": "boolean",
        "resolved": "boolean",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "value",
      "reflect": false
    },
    "field": {
      "type": "unknown",
      "mutable": false,
      "complexType": {
        "original": "BooleanField",
        "resolved": "BooleanField",
        "references": {
          "BooleanField": {
            "location": "import",
            "path": "../boolean"
          }
        }
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      }
    },
    "meta": {
      "type": "any",
      "mutable": false,
      "complexType": {
        "original": "any",
        "resolved": "any",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "meta",
      "reflect": false,
      "defaultValue": "{}"
    }
  }; }
}
