import { Component, Element, Prop, h, Host } from '@stencil/core';
export class SelectOption {
  constructor() {
    //--------------------------------------------------------------------------
    //
    // Props
    //
    //--------------------------------------------------------------------------
    /** Disables option interaction.  */
    this.disabled = false;
  }
  //--------------------------------------------------------------------------
  //
  // Lifecycle Methods
  //
  //--------------------------------------------------------------------------
  render() {
    return (h(Host, { disabled: this.disabled, selected: this.selected, value: this.value },
      h("slot", null)));
  }
  static get is() { return "abds-select-option"; }
  static get encapsulation() { return "shadow"; }
  static get properties() { return {
    "disabled": {
      "type": "boolean",
      "mutable": false,
      "complexType": {
        "original": "boolean",
        "resolved": "boolean",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": "Disables option interaction."
      },
      "attribute": "disabled",
      "reflect": true,
      "defaultValue": "false"
    },
    "selected": {
      "type": "boolean",
      "mutable": false,
      "complexType": {
        "original": "boolean",
        "resolved": "boolean",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": "Indicates if option is initially selected"
      },
      "attribute": "selected",
      "reflect": true
    },
    "value": {
      "type": "string",
      "mutable": true,
      "complexType": {
        "original": "string",
        "resolved": "string",
        "references": {}
      },
      "required": true,
      "optional": false,
      "docs": {
        "tags": [],
        "text": "Form submission value if selected."
      },
      "attribute": "value",
      "reflect": true
    }
  }; }
  static get elementRef() { return "host"; }
}
//# sourceMappingURL=select-option.js.map