import { h, Build, } from "@stencil/core";
export class AppVehicle {
  constructor() {
    this.vehicleId = undefined;
    this.paginationEl = undefined;
    this.query = undefined;
  }
  onSearchInput(event) {
    this.query = event.target.value;
  }
  componentDidLoad() {
    if (!(Build === null || Build === void 0 ? void 0 : Build.isBrowser))
      return;
  }
  render() {
    return [
      h("ion-content", { class: "ion-padding" }, h("floodteam-title-bar", null, h("ion-router-link", { href: "/vehicles" }, "Vehicles"))),
      h("floodteam-navigation-footer", null),
    ];
  }
  static get is() { return "app-vehicle"; }
  static get originalStyleUrls() {
    return {
      "$": ["app-vehicle.css"]
    };
  }
  static get styleUrls() {
    return {
      "$": ["app-vehicle.css"]
    };
  }
  static get properties() {
    return {
      "vehicleId": {
        "type": "string",
        "mutable": false,
        "complexType": {
          "original": "string",
          "resolved": "string",
          "references": {}
        },
        "required": false,
        "optional": false,
        "docs": {
          "tags": [],
          "text": ""
        },
        "attribute": "vehicle-id",
        "reflect": false
      }
    };
  }
  static get states() {
    return {
      "paginationEl": {},
      "query": {}
    };
  }
  static get listeners() {
    return [{
        "name": "ionInput",
        "method": "onSearchInput",
        "target": undefined,
        "capture": false,
        "passive": false
      }];
  }
}
