1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./q_ypW73C.js","./BFOZ3Oa7.js","./entry.CGCpfqMg.css"])))=>i.map(i=>d[i]); 2import{h as e,ai as t,j as l,l as a,e as n,a7 as r,H as s,ag as o,a as i,c as u,al as c,aH as d,J as p,I as v,Z as m,aY as b,aL as f,f as y,b as k,aw as h,o as I,aI as g,aF as z,aG as _}from"./BFOZ3Oa7.js";import"./BGVdYMss.js";import{u as A}from"./yBBQh4W5.js";import{u as L}from"./BvvGQR2G.js";import{u as w}from"./B-t_jUMS.js";import"./B_qcClU6.js";const T=z(()=>_(()=>import("./q_ypW73C.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(e=>e.default||e)),E={class:"product-image"},C={class:"product-data"},P={class:"product-data-top"},x={class:"product-title"},F={key:0,class:"product-category"},N={key:1,class:"product-category"},$={class:"product-additional-informations"},j={class:"product-amount-select"},S={key:0,class:"product-amount"},D=["for"],B={class:"select-wrapper"},M=["id","value"],V=["value"],Z={class:"product-licence"},R={class:"select-wrapper"},U=["disabled"],q=["value"],H={key:0,class:"product-licence-user"},O={class:"select-wrapper"},Q=["value"],G={class:"product-licence-user-info"},J=["aria-label"],K={class:"visually-hidden"},W={class:"content"},Y={class:"table"},X={colspan:"2"},ee=["aria-label"],te={class:"visually-hidden"},le={class:"content"},ae={class:"table"},ne={colspan:"2"},re=["aria-label"],se={class:"visually-hidden"},oe={class:"content"},ie={class:"table"},ue={colspan:"2"},ce={class:"product-data-bottom"},de={class:"product-price"},pe={key:0,class:"price-discount-code"},ve={class:"discount-code"},me={key:1,class:"price-discount-info"},be={key:0,class:"product-item-related-products"},fe={class:"product-image"},ye={class:"product-data"},ke={class:"product-data-top"},he={class:"product-title"},Ie={key:0,class:"product-category"},ge={key:1,class:"product-category"},ze={key:2,class:"product-category"},_e={class:"product-additional-informations"},Ae={class:"product-data-bottom"},Le={class:"product-price"},we=e({__name:"ProductListItem",props:{cartItem:{},index:{}},setup(e){const{roundPrice:z}=A(),{t:_}=t(),{cart:we,removeFromCart:Te,updateCartItemQuantity:Ee,updateCartItemLicense:Ce}=L(),{formatEuro:Pe}=w(),xe=e,Fe=l(!1),Ne=l([]),$e=l(),je=l([]),Se=l();a(async()=>{await async function(){if(!Oe.value)return;Ne.value=[];const e=[];for(const a in xe.cartItem?.payload?.licenseTypes)e.push({text:xe.cartItem?.payload?.licenseTypes[a].key,value:xe.cartItem?.payload?.licenseTypes[a].value});Ne.value=e,xe.cartItem?.payload?.vde_license_type?$e.value=xe.cartItem?.payload?.vde_license_type:$e.value=Ne.value[0].value;const t=xe.cartItem?.payload?.licenseTiers[$e.value],l=[];for(const a in t)l.push({text:t[a].label,value:t[a].value,factor:t[a].factor});je.value=l;for(const a in je.value)je.value[a].value==xe.cartItem?.payload?.vde_license_qty&&(Se.value=je.value[a].value)}(),Fe.value=!0});const De=n(()=>{const e=xe.cartItem.price;if(!e)return 0;we.value;const t=e.totalPrice??null;return e.calculatedTaxes,t?z(t):null});function Be(e){if(!e)return 0;we.value;const t=e.totalPrice??null;return e.calculatedTaxes,t?z(t):null}const Me=n(()=>xe.cartItem?.payload?.includedProducts||[]),Ve=n(()=>xe.cartItem?.payload?.custom_vde_member_adjusted?.adjusted),Ze=n(()=>xe.cartItem?.payload?.custom_vde_member_adjusted?.vdeMemberDiscountPercent??0),Re=n(()=>xe.cartItem?.payload?.custom_discount_code_adjusted?.adjusted),Ue=n(()=>xe.cartItem.payload.custom_discount_code_adjusted?.discountCode??"");r(()=>Se.value,e=>{Fe.value&&(e>0||(Se.value=null),Ce(xe.cartItem?.id,e,$e.value))}),r(()=>$e.value,(e,t)=>{if(Fe.value)if(e&&e!=t){if(Se.value=3,je.value=[],void 0!==xe.cartItem?.payload?.licenseTiers[e]){const t=[];for(const l in xe.cartItem?.payload?.licenseTiers[e])t.push({text:xe.cartItem?.payload?.licenseTiers[e][l].label,value:xe.cartItem?.payload?.licenseTiers[e][l].value,factor:xe.cartItem?.payload?.licenseTiers[e][l].factor});je.value=t,Se.value=t[0].value}}else Se.value=null});const qe=n(()=>je.value.length>0&&"EINZEL"!==$e.value),He=n(()=>"default"==xe.cartItem?.checkoutMode),Oe=n(()=>"license"==xe.cartItem?.checkoutMode),Qe=n(()=>Oe.value&&"IEC_NETZ"===xe.cartItem?.payload?.vde_license_type),Ge=n(()=>Oe.value&&"USER"===xe.cartItem?.payload?.vde_license_type),Je=n(()=>"IEC-Norm"===xe.cartItem?.propertyAttributes?.standard?.value),Ke=n(()=>!xe.cartItem?.propertyAttributes?.standard?.value||("VDE-Norm"===xe.cartItem?.propertyAttributes?.standard?.value||"IEC-Norm"!==xe.cartItem?.propertyAttributes?.standard?.value)),We=n(()=>je.value?Math.max.apply(Math,je.value.map(function(e){return e.value})):null);return(e,t)=>{const l=T;return I(),s(p,null,[o("div",{class:d(["product-item",{"has-related-products":e.cartItem?.payload?.customFields?.vde__included}])},[o("div",E,[e.cartItem.cover?.url?(I(),u(l,{key:0,src:e.cartItem.cover.url,alt:e.cartItem.label||e.$t("product.image_alt"),title:e.cartItem.label||e.$t("product.image_title"),width:"123"},null,8,["src","alt","title"])):i("",!0)]),o("div",C,[o("div",P,[o("span",x,c(e.cartItem.label),1),e.cartItem.propertyAttributes?.bookType?.value?(I(),s("p",F,
2c(e.cartItem.propertyAttributes.bookType.value),1)):(I(),s("p",N)),o("div",$,[e.cartItem.propertyAttributes?.productType?.value?(I(),s("div",{key:0,class:d([e.cartItem?.propertyAttributes?.productType?.typeInfo?.buyboxIcon,"product-type product-type-book"])},c(e.cartItem?.payload?.customFields?.vde__buybox??"Produktart"),3)):i("",!0)]),o("div",j,[He.value?(I(),s("div",S,[o("label",{for:`product-amount-basket-menu-${e.index}`},"Anzahl",8,D),o("div",B,[o("select",{id:`product-amount-basket-menu-${e.index}`,value:e.cartItem.quantity,onChange:t[0]||(t[0]=t=>function(e,t){const l=t.target;if(!l)return;const a=parseInt(l.value,10);Ee(e.id,a)}(e.cartItem,t)),class:"form-select"},[(I(),s(p,null,v(50,e=>o("option",{key:e,value:e},c(e),9,V)),64))],40,M)])])):Oe.value?(I(),s(p,{key:1},[o("div",Z,[t[9]||(t[9]=o("label",{for:"product-amount-licence-basket-menu-2"},"Lizenz",-1)),o("div",R,[m(o("select",{class:"form-select",id:"product-amount-licence-basket-menu-2","onUpdate:modelValue":t[1]||(t[1]=e=>$e.value=e),disabled:Re.value},[(I(!0),s(p,null,v(Ne.value,t=>(I(),s("option",{value:t.value},c(e.$t("checkout.license."+t.text)),9,q))),256))],8,U),[[b,$e.value]])])]),qe.value?(I(),s("div",H,[t[32]||(t[32]=o("label",{for:"product-licence-user-basket-menu-2"},"Anzahl Nutzer",-1)),o("div",O,[m(o("select",{class:"form-select",id:"product-licence-user-basket-menu-2","onUpdate:modelValue":t[2]||(t[2]=e=>Se.value=e)},[(I(!0),s(p,null,v(je.value,e=>(I(),s("option",{value:e.value},c(e.text),9,Q))),256))],512),[[b,Se.value]])]),o("div",G,[o("button",{class:"btn btn-info",onClick:t[3]||(t[3]=f(t=>e.$refs.modalLicenseInfo.show(),["prevent"]))},[...t[10]||(t[10]=[o("span",{class:"visually-hidden"},"Weitere Informationen",-1)])]),Ge.value&&Je.value?(I(),u(k(g),{key:0,id:"modalLicenseInfo",ref:"modalLicenseInfo","cancel-disabled":"","ok-disabled":"","teleport-disabled":!1,"no-footer":!0},{header:y(({close:l})=>[t[11]||(t[11]=o("p",{id:"modalLicenseInfoLabel",class:"modal-title h3"},"Arbeitsplatzlizenzen für IEC-Publikationen",-1)),o("button",{type:"button",class:"btn btn-close","aria-label":e.$t("product.modal.close"),onClick:t[4]||(t[4]=f(t=>e.$refs.modalLicenseInfo.hide(),["prevent"]))},[o("span",K,c(e.$t("product.modal.close")),1)],8,J)]),default:y(()=>[o("div",W,[t[16]||(t[16]=o("p",null,[h(" Sie können kostengünstig Lizenzen von IEC-Publikationen in elektronischer Form (PDF) zur Nutzung für mehrere "),o("strong",null,"feste Arbeitsplätze"),h(" erwerben. Multiplizieren Sie den Einzelpreis mit den unten in der Tabelle angegebenen Faktoren. ")],-1)),t[17]||(t[17]=o("div",{class:"alert alert-info-licence",role:"alert"},[o("p",null," Die Publikation darf lediglich auf den vorher festgelegten Anzahl von Arbeitsplätzen genutzt werden. "),o("p",null," Es ist nicht erlaubt mehr Ausdrucke von einer Publikation anzufertigen, als die Anzahl der für das Dokument erworbenen Arbeitsplätze beträgt. ")],-1)),o("table",Y,[o("tbody",null,[t[12]||(t[12]=o("tr",null,[o("th",null,"Arbeitsplätze"),o("th",null,"Faktor")],-1)),(I(!0),s(p,null,v(je.value,e=>(I(),s("tr",null,[o("td",null,"Bis zu einschlieÃlich "+c(e.value)+" Arbeitsplätzen",1),o("td",null,c(e.factor),1)]))),256))])]),o("p",null,[o("small",X,[h("Bei mehr als "+c(We.value)+" Arbeitsplätzen: Bitte kontaktieren Sie ",1),t[13]||(t[13]=o("span",{class:"nowrap"},[o("a",{href:"mailto:[email protected]"},"[email protected]")],-1)),t[14]||(t[14]=o("br",null,null,-1)),t[15]||(t[15]=h(" Sie erhalten von uns umgehend ein individuelles Angebot. ",-1))])])])]),_:1},512)):Ge.value&&Ke.value?(I(),u(k(g),{key:1,id:"modalLicenseInfo",ref:"modalLicenseInfo","cancel-disabled":"","ok-disabled":"","teleport-disabled":!1,"no-footer":!0},{header:y(({close:l})=>[t[18]||(t[18]=o("p",{id:"modalLicenseInfoLabel",class:"modal-title h3"},"Arbeitsplatzlizenzen für mehrere Nutzer",-1)),o("button",{type:"button",class:"btn btn-close","aria-label":e.$t("product.modal.close"),onClick:t[5]||(t[5]=f(t=>e.$refs.modalLicenseInfo.hide(),["prevent"]))},[o("span",te,c(e.$t("product.modal.close")),1)],8,ee)]),default:y(()=>[o("div",le,[t[23]||(t[23]=o("p",null,[h(" Sie können kostengünstig Lizenzen für E-Books oder digitale Ãbersetzungen von VDE-Normen kostengünstig für mehrere "),o("strong",null,"feste Arbeitsplätze"),h(" erwerben. Multiplizieren Sie den Einzelpreis mit den unten in der Tabelle angegebenen Faktoren. ")],-1)),t[24]||(t[24]=o("div",{class:"alert alert-info-licence",role:"alert"},[o("p",null," Die Publikation darf lediglich auf den vorher festgelegten Anzahl von Arbeitsplätzen genutzt werden. "),o("p",null," Es ist nicht erlaubt mehr Ausdrucke von einer Publikation anzufertigen, als die Anzahl der für das Dokument erworbenen Arbeitsplätze beträgt. ")],-1)),o("table",ae,[o("tbody",null,[t[19]||(t[19]=o("tr",null,[o("th",null,"Arbeitsplätze"),o("th",null,"Faktor")],-1)),(I(!0),s(p,null,v(je.value,e=>(I(),s("tr",null,[o("td",null,"Bis zu einschlieÃlich "+c(e.value)+" Arbeitsplätzen",1),o("td",null,c(e.factor),1)]))),256))])]),o("p",null,[o("small",ne,[h("Bei mehr als "+c(We.value)+" Arbeitsplätzen: Bitte kontaktieren Sie ",1),t[20]||(t[20]=o("span",{class:"nowrap"},[o("a",{href:"mailto:[email protected]"},"[email protected]")],-1)),t[21]||(t[21]=o("br",null,null,-1)),t[22]||(t[22]=h(" Sie erhalten von uns umgehend ein
2individuelles Angebot. ",-1))])])])]),_:1},512)):Qe.value?(I(),u(k(g),{key:2,id:"modalLicenseInfo",ref:"modalLicenseInfo","cancel-disabled":"","ok-disabled":"","teleport-disabled":!1,"no-footer":!0},{header:y(({close:l})=>[t[25]||(t[25]=o("p",{id:"modalLicenseInfoLabel",class:"modal-title h3"},"Netzlizenzen für IEC-Publikationen",-1)),o("button",{type:"button",class:"btn btn-close","aria-label":e.$t("product.modal.close"),onClick:t[6]||(t[6]=f(t=>e.$refs.modalLicenseInfo.hide(),["prevent"]))},[o("span",se,c(e.$t("product.modal.close")),1)],8,re)]),default:y(()=>[o("div",oe,[t[30]||(t[30]=o("p",null,[h(" Sie können kostengünstig Lizenzen von IEC-Publikationen in elektronischer Form (PDF) zur Nutzung in ihrem "),o("strong",null,"firmeneigenen Netzwerk"),h(" erwerben. Multiplizieren Sie den Einzelpreis mit den unten in der Tabelle angegebenen Faktoren. ")],-1)),t[31]||(t[31]=o("div",{class:"alert alert-info-licence",role:"alert"},[o("p",null," Die Publikation ist in Ihrem firmeninternen Netzwerk hinterlegt und der gleichzeitige Zugriff wird auf die Anzahl der erworbenen Lizenzen überwacht und beschränkt. "),o("p",null," Es ist nicht erlaubt mehr Ausdrucke von einer Publikation anzufertigen, als die Anzahl der für das Dokument erworbenen Nutzer beträgt. ")],-1)),o("table",ie,[o("tbody",null,[t[26]||(t[26]=o("tr",null,[o("th",null,"Nutzer"),o("th",null,"Faktor")],-1)),(I(!0),s(p,null,v(je.value,e=>(I(),s("tr",null,[o("td",null,"Bis zu einschlieÃlich "+c(e.value)+" Nutzern",1),o("td",null,c(e.factor),1)]))),256))])]),o("p",null,[o("small",ue,[h("Bei mehr als "+c(We.value)+" Nutzern: Bitte kontaktieren Sie ",1),t[27]||(t[27]=o("span",{class:"nowrap"},[o("a",{href:"mailto:[email protected]"},"[email protected]")],-1)),t[28]||(t[28]=o("br",null,null,-1)),t[29]||(t[29]=h(" Sie erhalten von uns umgehend ein individuelles Angebot. ",-1))])])])]),_:1},512)):i("",!0)])])):i("",!0)],64)):(I(),s(p,{key:2},[],64))])]),o("div",ce,[o("p",de,[h(c(k(Pe)(De.value))+" ",1),Re.value?(I(),s("small",pe,[t[33]||(t[33]=o("span",{class:"discount-label"},"Rabatt-Code:",-1)),t[34]||(t[34]=o("br",null,null,-1)),o("span",ve,c(Ue.value),1)])):i("",!0),Ve.value?(I(),s("small",me,c(Ze.value)+"% für VDE Mitglieder ",1)):i("",!0)]),o("button",{class:"btn icn-link icn-delete",type:"button","aria-label":"Löschen",onClick:t[7]||(t[7]=()=>k(Te)(e.cartItem.id))},[...t[35]||(t[35]=[o("span",{class:"text"},"Löschen",-1)])])])])],2),Me.value.length>0?(I(),s("div",be,[t[37]||(t[37]=o("p",null,[o("strong",null,"Kostenlos dazu:")],-1)),(I(!0),s(p,null,v(Me.value,(a,n)=>(I(),s("div",{key:n,class:"product-item"},[o("div",fe,[a.cover?.url?(I(),u(l,{key:0,src:a.cover.url,alt:a.label||e.$t("product.image_alt"),title:a.label||e.$t("product.image_title"),width:"123"},null,8,["src","alt","title"])):i("",!0)]),o("div",ye,[o("div",ke,[o("span",he,c(a.label),1),a.propertyAttributes?.bookType?.value?(I(),s("p",Ie,c(a.propertyAttributes.bookType.value),1)):a.customFields?.vde__article_group?(I(),s("p",ge,c(a.customFields.vde__article_group),1)):(I(),s("p",ze)),o("div",_e,[a.propertyAttributes?.productType?.value?(I(),s("div",{key:0,class:d([a?.propertyAttributes?.productType?.typeInfo?.buyboxIcon,"product-type product-type-book"])},c(a?.payload?.customFields?.vde__buybox??"Produktart"),3)):i("",!0)])]),o("div",Ae,[o("p",Le,c(k(Pe)(Be(a.price))),1),o("button",{class:"btn icn-link icn-delete",type:"button","aria-label":"Löschen",onClick:t[8]||(t[8]=()=>e.removeFromCartProxy(e.cartItem.id))},[...t[36]||(t[36]=[o("span",{class:"text"},"Löschen",-1)])])])])]))),128))])):i("",!0)],64)}}}),Te=Object.assign(we,{__name:"T3CeQ3ivdeshopCheckoutStepConfirmProductListItem"});export{Te as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.