muerwre.github.io/nuxt/ContentList.8033e28b.js
muerwre 7c41f536b6 commit 2e92e2e809
Author: Fedor Katurov <gotham48@gmail.com>
Date:   Fri Nov 11 13:59:06 2022 +0600

    fixed writings on headers
2022-11-11 08:00:57 +00:00

1 line
802 B
JavaScript

import{a as i,l as m,m as f,p as c}from"./entry.ab0286f7.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};