import{r as i,d as s,h as l}from"./p-f8363b1b.js";const t=class{constructor(l){i(this,l),this.floodteamSelect=s(this,"floodteamSelect",7),this.users=[],this.header="Select a User",this.name="user",this.loading=!1}render(){return l("ion-content",{class:{"is-loading":this.loading},style:{"--background":"var(--ion-color-base)"}},l("ion-list",{class:"ion-no-padding"},l("ion-item-divider",null,this.header),(this.users||[]).map((i=>l("ion-item",{href:"#",detail:!0,onClick:s=>{s.preventDefault(),s.stopPropagation(),this.loading=!0,this.floodteamSelect.emit({event:s,user:i,name:this.name})}},l("ion-label",null,l("h2",null,(null==i?void 0:i.firstName)||""," ",(null==i?void 0:i.lastName)||""),l("p",null,(null==i?void 0:i.email)||"No Email on File")))))))}};export{t as popover_user_select}