import { Component, Host, h, Prop } from '@stencil/core';
export class UxplMilestoneTrailer {
  render() {
    var _a, _b;
    return (h(Host, null,
      h("div", { class: "inline row", part: "trailer" }, (_b = (_a = this.config) === null || _a === void 0 ? void 0 : _a.milestones) === null || _b === void 0 ? void 0 : _b.map((milestone, idx) => h("div", { class: "row" },
        h("uxpl-milestone", { "hide-terminal": this.hideTerminal, small: this.small, config: milestone, isFirst: idx === 0 ? true : false, isLast: idx === (this.config.milestones.length - 1) ? true : false })))),
      h("slot", null)));
  }
  static get is() { return "uxpl-milestone-trailer"; }
  static get encapsulation() { return "shadow"; }
  static get originalStyleUrls() { return {
    "$": ["uxpl-milestone-trailer.css"]
  }; }
  static get styleUrls() { return {
    "$": ["uxpl-milestone-trailer.css"]
  }; }
  static get properties() { return {
    "config": {
      "type": "unknown",
      "mutable": false,
      "complexType": {
        "original": "MilestoneConfig",
        "resolved": "MilestoneConfig",
        "references": {
          "MilestoneConfig": {
            "location": "import",
            "path": "../../models/milestone"
          }
        }
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      }
    },
    "small": {
      "type": "boolean",
      "mutable": false,
      "complexType": {
        "original": "boolean",
        "resolved": "boolean",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "small",
      "reflect": false
    },
    "hideTerminal": {
      "type": "boolean",
      "mutable": false,
      "complexType": {
        "original": "boolean",
        "resolved": "boolean",
        "references": {}
      },
      "required": false,
      "optional": false,
      "docs": {
        "tags": [],
        "text": ""
      },
      "attribute": "hide-terminal",
      "reflect": false
    }
  }; }
}
