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