import i from"./ContentQuery.019e7157.js";import{b as m,N as c,J as r}from"./entry.5c8819da.js";import"./asyncData.31ace0d7.js";const s=m({name:"ContentList",props:{path:{type:String,required:!1,default:void 0},query:{type:Object,required:!1,default:void 0}},render(d){const t=c(),{path:f,query:a}=d,p={...a||{},path:f||(a==null?void 0:a.path)||"/"},o=(e,n)=>r("pre",null,JSON.stringify({message:"You should use slots with <ContentList>",slot:e,data:n},null,2));return r(i,p,{default:t!=null&&t.default?({data:e,refresh:n,isPartial:u})=>t==null?void 0:t.default({list:e,refresh:n,isPartial:u,...this.$attrs}):({data:e})=>o("default",e),empty:e=>t!=null&&t.empty?t.empty(e):({data:n})=>o("default",n),"not-found":e=>{var n;return t!=null&&t["not-found"]?(n=t==null?void 0:t["not-found"])==null?void 0:n.call(t,e):({data:u})=>o("not-found",u)}})}});export{s as default};
