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