import{r as n,B as t,h as i}from"./p-a89095f5.js";const o=class{constructor(t){n(this,t),this.paginationEl=void 0,this.query=void 0}onSearchInput(n){this.query=n.target.value}componentDidLoad(){}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",{name:"appointments",ref:n=>this.paginationEl=n,listEl:({result:n})=>i("ion-item",{href:`/appointment/${n.id}`,detail:!0},i("ion-label",null,i("h2",null,n.name?n.name:""," "))),endpoint:"listAppointments",resultsKey:"appointments",query:this.query})),i("floodteam-navigation-footer",null)]}};o.style="";export{o as app_appointment_list}