import{p as S}from"./pdf-mixins-CWdlAKKL.js";import{a as h,C as k,b as i,m as a,g as n,p as c,F as u,H as p,P as f,u as t,f as m,r as _}from"./convert-case-to-camel-case.utils-DDUpNI96.js";const C={class:"ccb-pdf-layout__items"},x={class:"ccb-pdf-layout__content"},j={class:"ccb-pdf-layout__items"},L=h({__name:"LeftSidebar",props:{pdf:{},content:{}},setup(b){const y=b,{pdf:o,content:r}=k(y),{getBorderStyles:v,getDocumentSidebarStyles:B,getComponentName:l}=S(),g=i(()=>Object.values(o.value.sections).filter(e=>!e.isBody&&e.enable).sort((e,s)=>e.sortId-s.sortId)),I=i(()=>Object.values(o.value.sections).filter(e=>e.isBody&&e.enable).sort((e,s)=>e.sortId-s.sortId));return(d,e)=>(n(),a("div",{class:"ccb-pdf-layout ccb-with-left-sidebar",style:f(t(v)(t(o)))},[c("div",{class:"ccb-pdf-layout__sidebar",style:f(t(B)(t(o)))},[c("div",C,[(n(!0),a(u,null,p(g.value,s=>(n(),m(_(t(l)(s.key)),{item:s,content:t(r),pdf:t(o)},null,8,["item","content","pdf"]))),256))])],4),c("div",x,[c("div",j,[(n(!0),a(u,null,p(I.value,s=>(n(),m(_(t(l)(s.key)),{item:s,content:t(r),pdf:t(o)},null,8,["item","content","pdf"]))),256))])])],4))}});export{L as default};
//# sourceMappingURL=LeftSidebar-DYvsQgYC.js.map
