import{r as o,B as i,h as n}from"./p-03169580.js";const t="";let l=class{constructor(i){o(this,i)}onSearchInput(o){this.query=o.target.value}componentDidLoad(){if(!(i===null||i===void 0?void 0:i.isBrowser))return}render(){return[n("ion-content",{class:"ion-padding"},n("floodteam-title-bar",null,n("ion-router-link",{href:"/paymodels"},"Pay Models"),n("ion-buttons",{slot:"end"},n("ion-button",{fill:"solid",color:"primary",href:"/paymodels/new"},"Add"))),n("fireenjin-search-bar",{paginationEl:this.paginationEl,filters:[{name:"locationId",label:"Location",endpoint:"listLocations",icon:"business",resultsKey:"locations"}]}),n("fireenjin-pagination",{display:"list",ref:o=>this.paginationEl=o,listEl:({result:o})=>n("ion-item",{href:`/paymodels/${o.id}`,detail:true},n("ion-label",null,n("h2",null,o.name?o.name:""," "))),endpoint:"listPayModels",limit:20,resultsKey:"payModels",query:this.query})),n("floodteam-navigation-footer",null)]}};l.style=t;export{l as app_paymodel_list};
//# sourceMappingURL=p-7a093523.entry.js.map