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