import{r as i,B as e,h as n}from"./p-f8363b1b.js";const t=class{constructor(e){i(this,e)}onSearchInput(i){this.query=i.target.value}componentDidLoad(){}render(){return[n("ion-content",{class:"ion-padding"},n("floodteam-title-bar",null,n("ion-router-link",{href:"/logs"},"Logs"),n("ion-buttons",{slot:"end"},n("ion-button",{fill:"solid",color:"primary",href:"/logs/new"},"Add"))),n("div",{class:"ion-padding"},n("fireenjin-search-bar",{ref:i=>this.filterBarEl=i,paginationEl:this.paginationEl,filters:null})),n("fireenjin-filter-bar",{paginationEl:this.paginationEl,filter:{label:"Filter By",controls:[{name:"locationId",label:"Location",endpoint:"listLocations",icon:"business",dataPropsMap:{locations:"results"}},{name:"type",label:"Type",icon:"pricetags",multiple:!0,options:[{label:"Write",value:"Mutation"},{label:"Read",value:"Query"},{label:"Stripe",value:"stripe"},{label:"AnswerConnect",value:"answerconnect"}]}]}}),n("fireenjin-pagination",{ref:i=>this.paginationEl=i,listEl:({result:i})=>n("fireenjin-log-item",{...i}),display:"list",endpoint:"listLogs",limit:20,resultsKey:"logs",query:this.query,name:"logs"})),n("floodteam-navigation-footer",null)]}};t.style="";export{t as app_log_list}