|
|
+import{_ as k,c as a,o as s,a as i,d as x,s as w,v as y,n as r,u as t,h as $,k as l,m as b,w as p,F as d,i as B,V as C,f as V,p as _,z as v}from"./index-BqAFTTJl.js";const z={name:"House"},H={xmlns:"http://www.w3.org/2000/svg",height:"200",viewBox:"0 -960 960 960",width:"200"};function N(c,e,o,u,f,g){return s(),a("svg",H,[...e[0]||(e[0]=[i("path",{fill:"currentColor",d:"M240-200h120v-240h240v240h120v-360L480-740 240-560v360Zm-80 80v-480l320-240 320 240v480H520v-240h-80v240H160Zm320-350Z"},null,-1)])])}const S=k(z,[["render",N]]),F=x({__name:"breadcrumbs",props:{data:{},gap:{}},setup(c){const e=$("breadcrumbs"),o=c,u=w(()=>o.gap?{marginTop:`${o.gap.top??0}px`,marginBottom:`${o.gap.bottom??0}px`}:{});return(f,g)=>{const m=b("router-link");return s(),a("div",{class:r(t(e).b()),style:y(u.value)},[l(m,{to:"/"},{default:p(()=>[l(t(C),{size:20},{default:p(()=>[l(t(S))]),_:1})]),_:1}),i("span",{class:r(t(e).e("separator"))},"→",2),(s(!0),a(d,null,B(c.data,(n,h)=>(s(),a("span",{key:h,class:r(t(e).e("item"))},[n.link?(s(),V(m,{key:0,to:n.link},{default:p(()=>[_(v(n.title),1)]),_:2},1032,["to"])):(s(),a(d,{key:1},[_(v(n.title),1)],64)),i("span",{class:r(t(e).e("separator"))},"→",2)],2))),128))],6)}}});export{F as _};
|