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