muerwre.github.io/nuxt/ContentList.cf0afcb7.js
muerwre 468abb8bc0 commit e92e0685ed8d7a331fd961e21085ec5b445cf3aa
Author: Fedor Katurov <gotham48@gmail.com>
Date:   Thu Nov 3 18:52:26 2022 +0600

    added empty projects page
2022-11-03 12:54:16 +00:00

1 line
802 B
JavaScript

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