import{r as e,e as t,h as o}from"./p-a89095f5.js";import{g as i}from"./p-0e5e444e.js";const s=class{constructor(o){e(this,o),this.floodteamSelect=t(this,"floodteamSelect",7),this.floodteamClosePopover=t(this,"floodteamClosePopover",7),this.name="type",this.options=i(),this.value="water"}render(){return o("ion-content",{style:{"--background":"var(--ion-color-base)"}},o("ion-list",null,(this.options||[]).map((e=>o("ion-item",{detail:!0,detailIcon:(null==e?void 0:e.value)===this.value?"checkmark-circle":"chevron-forward",href:"#",onClick:t=>{this.value=null==e?void 0:e.value,this.floodteamSelect.emit({event:t,name:this.name,value:e}),this.floodteamClosePopover.emit({event:t})}},o("ion-label",null,(null==e?void 0:e.label)||(null==e?void 0:e.value)))))))}};s.style="";export{s as popover_invoice_select}