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