import{r as t,B as o,h as i}from"./p-9b6cc562.js";const n=class{constructor(o){t(this,o),this.paginationEl=void 0,this.query=void 0}onSearchInput(t){this.query=t.target.value}componentDidLoad(){}render(){return[i("ion-content",{class:"ion-padding"},i("floodteam-title-bar",null,i("ion-router-link",{href:"/dots"},"Dots"),i("ion-buttons",{slot:"end"},i("ion-button",{fill:"solid",color:"primary",href:"/dots/new"},"Add"))),i("div",{class:"ion-padding"},i("fireenjin-search-bar",{ref:t=>this.filterBarEl=t,paginationEl:this.paginationEl,filters:null})),i("fireenjin-pagination",{ref:t=>this.paginationEl=t,gridEl:({result:t})=>i("floodteam-snapshot-card",{href:`/dot/${t.id}`,buttonText:"View Dot"},i("ion-label",null,i("h2",null,t.placement?t.placement:""))),listEl:({result:t})=>i("ion-item",{href:`/dot/${t.id}`,detail:!0},i("ion-label",null,i("h2",null,t.placement?t.placement:""))),endpoint:"listDots",limit:20,resultsKey:"dots",query:this.query,name:"dots"})),i("floodteam-navigation-footer",null)]}};n.style="";export{n as app_dot_list}