import{r as i,B as e,h as t}from"./p-f8363b1b.js";const n=class{constructor(e){i(this,e)}onSearchInput(i){this.query=i.target.value}componentDidLoad(){}render(){return[t("ion-content",{class:"ion-padding"},t("floodteam-title-bar",null,t("ion-router-link",{href:"/logs"},"Logs"),t("ion-buttons",{slot:"end"},t("ion-button",{fill:"solid",color:"primary",href:"/logs/new"},"Add"))),t("div",{class:"ion-padding"},t("fireenjin-search-bar",{ref:i=>this.filterBarEl=i,paginationEl:this.paginationEl,filters:null})),t("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"}]}]}}),t("fireenjin-pagination",{ref:i=>this.paginationEl=i,listEl:({result:i})=>t("fireenjin-log-item",{...i}),display:"list",endpoint:"listLogs",limit:20,resultsKey:"logs",query:this.query})),t("floodteam-navigation-footer",null)]}};n.style="";export{n as app_log_list}