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