import f from"./DAkOAVP6.js";import{d as l,ad as i,ae as a}from"./BvNnk7SS.js";import"./BJLPbHX2.js";import"./DQ_4YmnO.js";import"./DGhmaXto.js";const n=(o,e)=>a("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:s}=o,u={...s||{},path:r||s?.path||"/"};return a(f,u,{default:e?.default?({data:t,refresh:d,isPartial:p})=>e.default({list:t,refresh:d,isPartial:p,...this.$attrs}):t=>n("default",t.data),empty:t=>e?.empty?e.empty(t):n("default",t?.data),"not-found":t=>e?.["not-found"]?e?.["not-found"]?.(t):n("not-found",t?.data)})}}),c=m,L=c;export{L as default};
