import{r as n,B as i,h as t}from"./p-03169580.js";const a="";let l=class{constructor(i){n(this,i)}onSearchInput(n){this.query=n.target.value}componentDidLoad(){if(!(i===null||i===void 0?void 0:i.isBrowser))return}render(){return[t("ion-content",{class:"ion-padding"},t("floodteam-title-bar",null,t("ion-router-link",{href:"/campaigns"},"Campaigns"),t("ion-buttons",{slot:"end"},t("ion-button",{fill:"solid",color:"primary",href:"/campaigns/new"},"Add"))),t("div",{class:"ion-padding"},t("fireenjin-search-bar",{ref:n=>this.filterBarEl=n,paginationEl:this.paginationEl,filters:null})),t("fireenjin-pagination",{ref:n=>this.paginationEl=n,gridEl:({result:n})=>t("floodteam-snapshot-card",{href:`/campaigns/${n.id}`,buttonText:"View Campaign"},t("ion-label",null,t("h2",null,n.name?n.name:""))),listEl:({result:n})=>t("ion-item",{href:`/campaigns/${n.id}`,detail:true},t("ion-label",null,t("h2",null,n.name?n.name:""," "))),endpoint:"listCampaigns",resultsKey:"campaigns",query:this.query})),t("floodteam-navigation-footer",null)]}};l.style=a;export{l as app_campaign_list};
//# sourceMappingURL=p-df42509c.entry.js.map