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