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