importnfrom"./ContentQuery.688845f2.js";import{aasc,Aasl,Casu}from"./entry.c3abd651.js";import"./index.500b5a03.js";import"./query.79ebe04e.js";import"./utils.5e77fdb8.js";import"./preview.bfc27fc9.js";constp=(r,t)=>u("pre",null,JSON.stringify({message:"You should use slots with <ContentList>",slot:r,data:t},null,2)),v=c({name:"ContentList",props:{path:{type:String,required:!1,default:void0},query:{type:Object,required:!1,default:void0}},render(r){constt=l(),{path:f,query:a}=r,m={...a||{},path:f||(a==null?void0:a.path)||"/"};returnu(n,m,{default:t!=null&&t.default?({data:e,refresh:o,isPartial:d})=>t.default({list:e,refresh:o,isPartial:d,...this.$attrs}):e=>p("default",e.data),empty:e=>t!=null&&t.empty?t.empty(e):p("default",e==null?void0:e.data),"not-found":e=>{varo;returnt!=null&&t["not-found"]?(o=t==null?void0:t["not-found"])==null?void0:o.call(t,e):p("not-found",e==null?void0:e.data)}})}});export{vasdefault};