'use strict';

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

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

const popoverInvoiceSelectCss = "";

let PopoverInvoiceSelect = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
    this.floodteamSelect = index.createEvent(this, "floodteamSelect", 7);
    this.floodteamClosePopover = index.createEvent(this, "floodteamClosePopover", 7);
    this.name = "type";
    this.options = ["Water Remediation", "Box Out", "Contents", "Reconstruction", "Other"];
    this.value = "Water Remediation";
  }
  render() {
    return (index.h("ion-content", { style: {
        "--background": "var(--ion-color-base)",
      } }, index.h("ion-list", null, (this.options || []).map((option) => (index.h("ion-item", { detail: true, detailIcon: option === this.value ? "checkmark-circle" : "chevron-forward", href: "#", onClick: (event) => {
        this.value = option;
        this.floodteamSelect.emit({
          event,
          name: this.name,
          value: option,
        });
        this.floodteamClosePopover.emit({
          event,
        });
      } }, index.h("ion-label", null, option)))))));
  }
};
PopoverInvoiceSelect.style = popoverInvoiceSelectCss;

exports.popover_invoice_select = PopoverInvoiceSelect;

//# sourceMappingURL=popover-invoice-select.cjs.entry.js.map