import { Component, Event, Prop, Host, h } from '@stencil/core';
import { VocaStatsEntity } from '../../utils/vocaStatsEntity';
export class TeliaVST {
  connectedCallback() {
    this.vocaInternalUStats.emit(new VocaStatsEntity(this.dataTrackingId));
  }
  render() {
    return h(Host, null);
  }
  static get is() { return "telia-vst"; }
  static get originalStyleUrls() { return {
    "$": ["telia-vst.scss"]
  }; }
  static get styleUrls() { return {
    "$": ["telia-vst.css"]
  }; }
  static get properties() { return {
    "dataTrackingId": {
      "type": "string",
      "mutable": false,
      "complexType": {
        "original": "string",
        "resolved": "string",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": "Tracking id is used to identify and count Component usage"
      },
      "attribute": "data-tracking-id",
      "reflect": false
    }
  }; }
  static get events() { return [{
      "method": "vocaInternalUStats",
      "name": "vocaInternalUStats",
      "bubbles": true,
      "cancelable": true,
      "composed": true,
      "docs": {
        "tags": [],
        "text": "This event is used internally for usage analytics."
      },
      "complexType": {
        "original": "VocaStatsEntity",
        "resolved": "VocaStatsEntity",
        "references": {
          "VocaStatsEntity": {
            "location": "import",
            "path": "../../utils/vocaStatsEntity"
          }
        }
      }
    }]; }
}
