Deploying to gh-pages from @ arashsheyda/nuxt-mongoose@6c057d4cd7 🚀
This commit is contained in:
1
_nuxt/CodeGroup.f5e5bbc4.js
Normal file
1
_nuxt/CodeGroup.f5e5bbc4.js
Normal file
@ -0,0 +1 @@
|
||||
import o from"./TabsHeader.bdd30065.js";import{a as v,W as c,x as u}from"./entry.b743b421.js";const _=(t,r)=>t.type&&t.type.tag&&t.type.tag===r,b=v({data(){return{activeTabIndex:0,counter:0}},render(){var d,p;const t=((p=(d=this.$slots)==null?void 0:d.default)==null?void 0:p.call(d))||[],r=t.map((e,i)=>{var a,n,s;return{label:((a=e==null?void 0:e.props)==null?void 0:a.filename)||((n=e==null?void 0:e.props)==null?void 0:n.label)||`${i}`,active:((s=e==null?void 0:e.props)==null?void 0:s.active)||!1,component:e}});return c("div",{class:{"code-group":!0,"first-tab":this.activeTabIndex===0}},[c(o,{ref:"tabs-header",activeTabIndex:this.activeTabIndex,tabs:r,"onUpdate:activeTabIndex":e=>this.activeTabIndex=e}),c("div",{class:"code-group-content",text:this.activeTabIndex},t.map((e,i)=>{var a,n;return c("div",{style:{display:i===this.activeTabIndex?"block":"none"},class:{"":!_(e,"code")}},[_(e,"code")?e:c("div",{class:{"preview-canvas":!0}},[((n=(a=e.children)==null?void 0:a.default)==null?void 0:n.call(a))||e.children])])}))])}});const m=u(b,[["__scopeId","data-v-577cdd71"]]);export{m as default};
|
||||
Reference in New Issue
Block a user