import { Component, h, Host, Prop } from '@stencil/core';
export class DvnFieldDisplayCellMultipleChoice {
  constructor() {
    this.value = [];
  }
  render() {
    return (h(Host, { style: { height: `${(this.field.options || []).length * 20}px` } },
      h("ul", null, this.value.map(v => (h("li", null, this.field.getOptionOfValue(v).label))))));
  }
  static get is() { return "dvn-field-display-cell-multiple-choice"; }
  static get encapsulation() { return "scoped"; }
  static get originalStyleUrls() { return {
    "$": ["dvn-field-display-cell-multiple-choice.css"]
  }; }
  static get styleUrls() { return {
    "$": ["dvn-field-display-cell-multiple-choice.css"]
  }; }
  static get properties() { return {
    "value": {
      "type": "unknown",
      "mutable": false,
      "complexType": {
        "original": "any[]",
        "resolved": "any[]",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "defaultValue": "[]"
    },
    "field": {
      "type": "unknown",
      "mutable": false,
      "complexType": {
        "original": "MultipleChoiceField",
        "resolved": "MultipleChoiceField",
        "references": {
          "MultipleChoiceField": {
            "location": "import",
            "path": "../multiple-choice-field"
          }
        }
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      }
    }
  }; }
}
