import{r as i,B as t,h as o}from"./p-f8363b1b.js";const e=class{constructor(t){i(this,t)}onSearchInput(i){this.query=i.target.value}componentDidLoad(){}render(){return[o("ion-content",{class:"ion-padding"},o("floodteam-title-bar",null,o("ion-router-link",{href:"/atmospherics"},"Atmospheric Readings"),o("ion-buttons",{slot:"end"},o("ion-button",{fill:"solid",color:"primary",href:"/atmospherics/new"},"Add"))),o("div",{class:"ion-padding"},o("fireenjin-search-bar",{ref:i=>this.filterBarEl=i,paginationEl:this.paginationEl,filters:null})),o("fireenjin-pagination",{ref:i=>this.paginationEl=i,gridEl:({result:i})=>o("floodteam-snapshot-card",{href:`/atmospheric/${i.id}`,buttonText:"View Atmospheric"},o("ion-label",null,o("h2",null,i.temperature?i.temperature:""))),listEl:({result:i})=>o("ion-item",{href:`/atmospheric/${i.id}`,detail:!0},o("ion-label",null,o("h2",null,i.temperature?i.temperature:""))),endpoint:"listAtmospherics",resultsKey:"atmospherics",query:this.query})),o("floodteam-navigation-footer",null)]}};e.style="";export{e as app_atmospheric_list}