12 |
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/breadcrumb.ByQHl6R8.js","assets/vue.YrNK8sx4.js","assets/index.IRF5Ik0K.js","assets/index.I-CrZeUC.css","assets/_plugin-vue_export-helper.DlAUqK2U.js","assets/breadcrumb.CgSM-oQ7.css","assets/user.BFtJ_B-A.js","assets/user.CdpPbjQw.css","assets/index.4jh3dIzp.js","assets/rayLogo.tG_KrCBZ.js","assets/logo-mini.DjPeV5ul.js","assets/index.DxUbeB5Y.css","assets/horizontal.git_FGp5.js","assets/routeFilter.CCAbkObw.js","assets/horizontal.ovC_J9f1.css"])))=>i.map(i=>d[i]);
- import{au as D,u as P,e as l,_ as n}from"./index.IRF5Ik0K.js";import{a as v,aC as p,aB as V,_ as F,f,q as M,W as O,c as w,o as d,J as h,M as L,S as C,u as a,aA as r}from"./vue.YrNK8sx4.js";import{f as _}from"./routeFilter.CCAbkObw.js";import{_ as N}from"./_plugin-vue_export-helper.DlAUqK2U.js";const U={class:"layout-navbars-breadcrumb-index"},q=v({name:"layoutBreadcrumbIndex"}),z=v({...q,setup(H){const R=r(()=>n(()=>import("./breadcrumb.ByQHl6R8.js"),__vite__mapDeps([0,1,2,3,4,5]))),S=r(()=>n(()=>import("./user.BFtJ_B-A.js"),__vite__mapDeps([6,2,1,3,4,7]))),y=r(()=>n(()=>import("./index.4jh3dIzp.js"),__vite__mapDeps([8,9,1,2,3,10,4,11]))),E=r(()=>n(()=>import("./horizontal.git_FGp5.js"),__vite__mapDeps([12,2,1,3,13,4,14]))),I=D(),g=P(),{themeConfig:i}=p(g),{routesList:c}=p(I),x=V(),u=F({menuList:[]}),B=f(()=>{let{isShowLogo:e,layout:t}=i.value;return e&&t==="classic"||e&&t==="transverse"}),T=f(()=>{let{layout:e,isClassicSplitMenu:t}=i.value;return e==="transverse"||t&&e==="classic"}),m=()=>{let{layout:e,isClassicSplitMenu:t}=i.value;if(e==="classic"&&t){u.menuList=b(_(c.value));const s=k(x.path);l.emit("setSendClassicChildren",s)}else u.menuList=_(c.value)},b=e=>(e.map(t=>{t.children&&delete t.children}),e),k=e=>{const t=e.split("/");let s={children:[]};return _(c.value).map((o,A)=>{o.path===`/${t[1]}`&&(o.k=A,s.item={...o},s.children=[{...o}],o.children&&(s.children=o.children))}),s};return M(()=>{m(),l.on("getBreadcrumbIndexSetFilterRoutes",()=>{m()})}),O(()=>{l.off("getBreadcrumbIndexSetFilterRoutes",()=>{})}),(e,t)=>(d(),w("div",U,[B.value?(d(),h(a(y),{key:0})):L("",!0),C(a(R)),T.value?(d(),h(a(E),{key:1,menuList:u.menuList},null,8,["menuList"])):L("",!0),C(a(S))]))}}),G=N(z,[["__scopeId","data-v-52430224"]]);export{G as default};
|