import f from"./CVnciSnK.js";import{d as l,ar as i,I as n}from"./Bxv1kRJt.js";import"./Dwvp_P-r.js";import"./Fma_4dAm.js";import"./Dv7rEyVi.js";const s=(o,e)=>n("pre",null,JSON.stringify({message:"You should use slots with <ContentList>",slot:o,data:e},null,2)),m=l({name:"ContentList",props:{path:{type:String,required:!1,default:void 0},query:{type:Object,required:!1,default:void 0}},render(o){const e=i(),{path:r,query:a}=o,u={...a||{},path:r||a?.path||"/"};return n(f,u,{default:e?.default?({data:t,refresh:d,isPartial:p})=>e.default({list:t,refresh:d,isPartial:p,...this.$attrs}):t=>s("default",t.data),empty:t=>e?.empty?e.empty(t):s("default",t?.data),"not-found":t=>e?.["not-found"]?e?.["not-found"]?.(t):s("not-found",t?.data)})}}),_=m;export{_ as default};
