PageSourceSearch

https://www.nunhems.com/chunk-46TEQY4Q.js

js nunhems.com collected 2026-09-24 10:22:50 UTC 3,932 bytes, 1 lines download raw bytes

1import{a as Q}from"./chunk-CGBYPYZC.js";import{a as T,b as O}from"./chunk-L6LHFKTV.js";import"./chunk-KGNDARLN.js";import{d as k}from"./chunk-PBD3D67Z.js";import"./chunk-GDUDO7DR.js";import{Z as $,_ as B,be as L,je as V}from"./chunk-KOJ3BWW3.js";import{$b as h,Cc as w,Dc as F,Ec as S,Gb as D,Lb as I,Na as M,Nc as d,Oc as c,bc as P,dc as x,ec as g,fc as C,fd as m,gc as _,gd as u,hc as a,ic as o,jc as y,kb as b,qb as r,qc as A,qd as f,va as v,wa as E,wc as H,yc as s}from"./chunk-OUAW6PGT.js";import"./chunk-M5NEQLGQ.js";function q(i,l){if(i&1&&(y(0,"b",5),m(1,"safeHTML")),i&2){let e=l.$implicit,t=l.$index,n=l.$count;_("innerHTML",u(1,1,e+(t!==n-1?", ":"")),b)}}function G(i,l){if(i&1&&(a(0,"tr")(1,"td"),d(2),o(),y(3,"td",5),a(4,"td"),d(5),o(),a(6,"td"),g(7,q,2,3,"b",5,x),o()()),i&2){let e=l.$implicit,t=s(4);r(2),c(e.name),r(),_("innerHTML",t.getTestMethod(e.id),b),r(2),c(e.unit),r(2),C(t.getAttributeValues(e))}}function R(i,l){if(i&1){let e=A();a(0,"basf-wxp-expandable",2),H("toggleEventEmitter",function(){v(e);let n=s().$index,p=s(2);return E(p.toggle(n))}),a(1,"basf-wxp-table",3)(2,"table")(3,"tbody")(4,"tr")(5,"td")(6,"p")(7,"span",4),d(8),m(9,"translate"),o()()(),a(10,"td")(11,"p")(12,"span",4),d(13),m(14,"translate"),o()()(),a(15,"td")(16,"p")(17,"span",4),d(18),m(19,"translate"),o()()(),a(20,"td")(21,"p")(22,"span",4),d(23),m(24,"translate"),o()()()(),g(25,G,9,3,"tr",null,x),o()()()()}if(i&2){let e=s(),t=e.$implicit,n=e.$index,p=s(2);_("initiallyExpanded",p.totalAttributes()<=50?!0:n===0)("title",t.name),r(),_("anchorID",p.anchorID),r(7),c(u(9,7,"pim.propertyName")),r(5),c(u(14,9,"pim.testMethod")),r(5),c(u(19,11,"pim.unit")),r(5),c(u(24,13,"pim.values")),r(2),C(t.attributes)}}function U(i,l){if(i&1&&h(0,R,27,15,"basf-wxp-expandable",1),i&2){let e=l.$implicit;P(e.attributes.length>0?0:-1)}}function J(i,l){if(i&1&&(a(0,"basf-wxp-accordion",0),m(1,"translate"),g(2,U,1,1,null,null,x),o()),i&2){let e=s();_("accHeadingElem",e.accHeadingElem)("accordionTitle",u(1,4,"pim.technicalProperties"))("expHeadingElem",e.expHeadingElem)("singleItemExpansion",!1),r(2),C(e.attributeClusterList())}}var oe=(()=>{class i extends k{constructor(){super(...arguments),this.attributeClusterList=f(()=>{if(this.pimData()?.attributeCluster){let e=this.pimData()?.attributeCluster;return Object.keys(e).map(t=>{let{id:n,name:p,children:N,attributes:j}=e[t],z=this.convertAttributesToArray(j);return{id:n,name:p,children:N,attributes:z}}).filter(t=>t.attributes!==null)}else return}),this.totalAttributes=f(()=>this.attributeClusterList()?.reduce((e,t)=>e+t.attributes.length,0)??0),this.hasContentToDisplay=f(()=>!!this.attributeClusterList()?.length),this.accHeadingElem="h2",this.expHeadingElem="h3"}toggle(e){let t=!this.expandables.get(e)?.expanded;this.expandables.get(e)?.setExpanded(t)}getAttributeValues(e){return e.value?Array.isArray(e.value)?e.value.filter(t=>t!=null):[e.value]:[]}convertAttributesToArray(e){return Object.entries(e).map(([,t])=>t)}getTestMethod(e){return V.getTestMethodForPimAttributes(e)}static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=M(i)))(n||i)}})()}static{this.\u0275cmp=D({type:i,selectors:[["basf-mgnl-pim-pm-product-technical-properties"]],viewQuery:function(t,n){if(t&1&&w(T,5),t&2){let p;F(p=S())&&(n.expandables=p)}},features:[I],decls:1,vars:1,consts:[[3,"accHeadingElem","accordionTitle","expHeadingElem","singleItemExpansion"],[3,"initiallyExpanded","title"],[3,"toggleEventEmitter","initiallyExpanded","title"],[3,"anchorID"],[1,"footnote"],[3,"innerHTML"]],template:function(t,n){t&1&&h(0,J,4,6,"basf-wxp-accordion",0),t&2&&P(n.hasContentToDisplay()?0:-1)},dependencies:[B,O,T,Q,$,L],styles:["[_nghost-%COMP%]     basf-wxp-expandable.opened>.expandable-panel{padding:.625rem .3125rem!important}[_nghost-%COMP%]     .footnote{color:var(--wxp-footnote-color)}"],changeDetection:0})}}return i})();export{oe as MgnlPimPmProductTechnicalPropertiesComponent};

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.