Deploying to gh-pages from @ arashsheyda/nuxt-mongoose@0b575fa322 🚀

This commit is contained in:
arashsheyda
2023-10-19 17:33:06 +00:00
parent 938f5a4ae7
commit 5b5ea8f434
264 changed files with 868 additions and 298 deletions

View File

@ -0,0 +1 @@
import{_ as l}from"./ContentRendererMarkdown.vue.ea4c879e.js";import{d as o,a0 as s,a1 as d,N as f}from"./entry.3e6aff8a.js";const y=o({name:"ContentRenderer",props:{value:{type:Object,required:!1,default:()=>({})},excerpt:{type:Boolean,default:!1},tag:{type:String,default:"div"}},setup(t){s(()=>t.excerpt,n=>{var e,r,u;n&&!((e=t.value)!=null&&e.excerpt)&&(console.warn(`No excerpt found for document content/${(r=t==null?void 0:t.value)==null?void 0:r._path}.${(u=t==null?void 0:t.value)==null?void 0:u._extension}!`),console.warn("Make sure to use <!--more--> in your content if you want to use excerpt feature."))},{immediate:!0})},render(t){var i,c;const n=d(),{value:e,excerpt:r,tag:u}=t,a=r?e==null?void 0:e.excerpt:e==null?void 0:e.body;return!((i=a==null?void 0:a.children)!=null&&i.length)&&(n!=null&&n.empty)?n.empty({value:e,excerpt:r,tag:u,...this.$attrs}):n!=null&&n.default?n.default({value:e,excerpt:r,tag:u,...this.$attrs}):(a==null?void 0:a.type)==="root"&&((c=a==null?void 0:a.children)!=null&&c.length)?f(l,{value:e,excerpt:r,tag:u,...this.$attrs}):f("pre",null,JSON.stringify({message:"You should use slots with <ContentRenderer>",value:e,excerpt:r,tag:u},null,2))}});export{y as default};