import{_ as i}from"./convert-case-to-camel-case.utils-CK5dBN7n.js";import{$ as a}from"./vendor-vue-runtime-core-DwK6Ry68.js";function L(){return{getBorderStyles:r=>{var _,l,s,u,b,n,p,d,v,E,$,k,y;const e={},t=(_=r.document)==null?void 0:_.tabs;if(t!=null&&t.border){const o=t.border;if((s=(l=o.data)==null?void 0:l.showBorder)!=null&&s.value){const g=(b=(u=o.data)==null?void 0:u.borderType)==null?void 0:b.value,c=(p=(n=o.data)==null?void 0:n.borderSize)==null?void 0:p.value,m=(v=(d=o.data)==null?void 0:d.borderColor)==null?void 0:v.value,f=(($=(E=o==null?void 0:o.data)==null?void 0:E.borderStyle)==null?void 0:$.value)||"solid";switch(g){case"solid":e.border=`${c}px ${f} ${m}`;break;case"left":e.borderLeft=`${c}px ${f} ${m}`;break;case"right":e.borderRight=`${c}px ${f} ${m}`;break;case"bottom":e.borderBottom=`${c}px ${f} ${m}`;break;case"top":e.borderTop=`${c}px ${f} ${m}`;break}}}if(t!=null&&t.body){const o=t.body;e.padding=`${(y=(k=o.data)==null?void 0:k.sidePaddings)==null?void 0:y.value}px`}return e},getDocumentSidebarStyles:r=>{var _,l,s,u,b,n,p;const e={},t=(_=r.document)==null?void 0:_.tabs;if(t!=null&&t.sidebar){const d=t.sidebar;(u=(s=(l=d.data)==null?void 0:l.textColor)==null?void 0:s.data)!=null&&u.status&&(e.color=d.data.textColor.value),(p=(n=(b=d.data)==null?void 0:b.backgroundColor)==null?void 0:n.data)!=null&&p.status&&(e.backgroundColor=d.data.backgroundColor.value)}return e},getComponentName:r=>r==="brand_block"?a(()=>i(()=>import("./BrandBlock-BkUnXCo7.js"),[],import.meta.url)):r==="company_block"?a(()=>i(()=>import("./CompanyBlock-BmTn2u4b.js"),[],import.meta.url)):r==="customer_block"?a(()=>i(()=>import("./CustomerBlock-Gjf7BdHR.js"),[],import.meta.url)):r==="additional_text_block"?a(()=>i(()=>import("./AdditionalTextBlock-DWZUfyi3.js"),[],import.meta.url)):r==="top_text_block"?a(()=>i(()=>import("./TopTextBlock-B19CtD86.js"),[],import.meta.url)):r==="order_block"?a(()=>i(()=>import("./OrderBlock-CBATzGlp.js"),[],import.meta.url)):r==="footer_text"?a(()=>i(()=>import("./FooterText-CX5dsUYv.js"),[],import.meta.url)):r==="order_id_and_date"?a(()=>i(()=>import("./OrderIdAndDate-vzoSo5T9.js"),[],import.meta.url)):r==="image_block"?a(()=>i(()=>import("./ImageBlock-29s9Rtbh.js"),[],import.meta.url)):""}}export{L as p};
//# sourceMappingURL=pdf-mixins-CxCwKiCM.js.map
