'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-e0385008.js');

const popoverSiteSelectCss = "";

const PopoverSiteSelect = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
    this.floodteamSelect = index.createEvent(this, "floodteamSelect", 7);
    this.sites = [];
  }
  render() {
    return (index.h("ion-content", { style: {
        "--background": "var(--ion-color-base)",
      } }, index.h("ion-list", null, (this.sites ? this.sites : []).map((site) => (index.h("floodteam-item-site", { onClick: (event) => this.floodteamSelect.emit({ event, site }), site: site }))), index.h("ion-item", { href: "#", onClick: (event) => this.floodteamSelect.emit({ event, site: null }) }, index.h("ion-label", null, "Add Site"), index.h("ion-icon", { name: "add-circle", slot: "end", color: "primary" })))));
  }
};
PopoverSiteSelect.style = popoverSiteSelectCss;

exports.popover_site_select = PopoverSiteSelect;
