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