import{r as e,d as n,h as i}from"./p-9b6cc562.js";const o=class{constructor(i){e(this,i),this.floodteamSelect=n(this,"floodteamSelect",7),this.readings=[]}render(){return i("ion-content",{style:{"--background":"var(--ion-color-base)"}},i("ion-list",null,(this.readings?this.readings:[]).map((e=>i("ion-item",{href:"#",onClick:n=>{n.preventDefault(),this.floodteamSelect.emit({event:n,reading:e,name:"readingId"})},detail:!0},null==e?void 0:e.name))),i("ion-item",{href:"#",onClick:e=>{e.preventDefault(),this.floodteamSelect.emit({event:e,reading:null,name:"readingId"})}},i("ion-label",null,"Add Reading"),i("ion-icon",{name:"add-circle",slot:"end",color:"primary"}))))}};o.style="";export{o as popover_reading_select}