@postnord/pn-marketweb-components 2.4.27 → 2.4.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/cjs/index-4199ff85.js +16 -4
  2. package/cjs/loader.cjs.js +1 -1
  3. package/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js +183 -0
  4. package/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js +309 -0
  5. package/cjs/pn-market-web-components.cjs.js +1 -1
  6. package/cjs/pn-multiple-input.cjs.entry.js +105 -0
  7. package/collection/collection-manifest.json +3 -0
  8. package/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows-row.css +27 -0
  9. package/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows-row.js +673 -0
  10. package/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows.css +26 -0
  11. package/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows.js +970 -0
  12. package/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows.stories.js +86 -0
  13. package/collection/components/input/pn-dropdown-with-multi-input-rows/types.js +1 -0
  14. package/collection/components/input/pn-multiple-input/pn-multiple-input.css +16 -0
  15. package/collection/components/input/pn-multiple-input/pn-multiple-input.js +185 -0
  16. package/collection/components/input/pn-multiple-input/pn-multiple-input.stories.js +24 -0
  17. package/collection/components/input/pn-multiple-input/types.js +1 -0
  18. package/components/index.d.ts +3 -0
  19. package/components/index.js +3 -0
  20. package/components/pn-dropdown-with-multi-input-rows-row.d.ts +11 -0
  21. package/components/pn-dropdown-with-multi-input-rows-row.js +6 -0
  22. package/components/pn-dropdown-with-multi-input-rows-row2.js +232 -0
  23. package/components/pn-dropdown-with-multi-input-rows.d.ts +11 -0
  24. package/components/pn-dropdown-with-multi-input-rows.js +379 -0
  25. package/components/pn-multiple-input.d.ts +11 -0
  26. package/components/pn-multiple-input.js +130 -0
  27. package/esm/index-ee44c065.js +16 -4
  28. package/esm/loader.js +1 -1
  29. package/esm/pn-dropdown-with-multi-input-rows-row.entry.js +179 -0
  30. package/esm/pn-dropdown-with-multi-input-rows.entry.js +305 -0
  31. package/esm/pn-market-web-components.js +1 -1
  32. package/esm/pn-multiple-input.entry.js +101 -0
  33. package/esm-es5/index-ee44c065.js +1 -1
  34. package/esm-es5/loader.js +1 -1
  35. package/esm-es5/pn-dropdown-with-multi-input-rows-row.entry.js +1 -0
  36. package/esm-es5/pn-dropdown-with-multi-input-rows.entry.js +1 -0
  37. package/esm-es5/pn-market-web-components.js +1 -1
  38. package/esm-es5/pn-multiple-input.entry.js +1 -0
  39. package/package.json +1 -1
  40. package/pn-market-web-components/p-313658e7.entry.js +1 -0
  41. package/pn-market-web-components/p-47239bce.system.entry.js +1 -0
  42. package/pn-market-web-components/p-52e8d0ec.system.entry.js +1 -0
  43. package/pn-market-web-components/p-7787ca3b.entry.js +1 -0
  44. package/pn-market-web-components/p-ad952e14.system.entry.js +1 -0
  45. package/pn-market-web-components/p-e05b6e0c.entry.js +1 -0
  46. package/pn-market-web-components/p-fcdb7381.system.js +1 -1
  47. package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  48. package/types/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows-row.d.ts +59 -0
  49. package/types/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows.d.ts +77 -0
  50. package/types/components/input/pn-dropdown-with-multi-input-rows/types.d.ts +18 -0
  51. package/types/components/input/pn-multiple-input/pn-multiple-input.d.ts +22 -0
  52. package/types/components/input/pn-multiple-input/types.d.ts +11 -0
  53. package/types/components.d.ts +180 -6
  54. package/umd/modules/@postnord/web-components/package.json +32 -62
  55. package/umd/modules/@webcomponents/custom-elements/package.json +23 -58
@@ -0,0 +1 @@
1
+ var __spreadArray=this&&this.__spreadArray||function(t,e,n){if(n||arguments.length===2)for(var o=0,i=e.length,r;o<i;o++){if(r||!(o in e)){if(!r)r=Array.prototype.slice.call(e,0,o);r[o]=e[o]}}return t.concat(r||Array.prototype.slice.call(e))};import{r as registerInstance,c as createEvent,h,a as Host,g as getElement}from"./index-ee44c065.js";import{d as debounce_1}from"./index-8976f360.js";import{v as v4}from"./v4-f450efa7.js";var pnDropdownWithMultiInputRowsCss="pn-dropdown-with-multi-input-rows .dropdown-with-multi-input-elemet__row{margin-bottom:1rem}pn-dropdown-with-multi-input-rows .dropdown-with-multi-input-elemet__delete{display:-ms-flexbox;display:flex;gap:1rem;margin-bottom:1rem;padding:1rem;background-color:#F9F8F8}pn-dropdown-with-multi-input-rows .dropdown-with-multi-input-elemet__delete pn-button{margin-top:0.9rem}pn-dropdown-with-multi-input-rows .dropdown-with-multi-input-elemet__label-row{display:-ms-flexbox;display:flex;gap:1rem}pn-dropdown-with-multi-input-rows .dropdown-with-multi-input-elemet__label{width:30%;font-size:0.875em;color:#5e554a}pn-dropdown-with-multi-input-rows .sum-row{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}";var PnDropdownWithMultiInputRows=function(){function t(t){registerInstance(this,t);this.allFormValues=createEvent(this,"allFormValues",7);this.pnFirstDropdown=null;this.pnSecondDropdown=null;this.pnSumField=null;this.pnConfirmDeleteButton=null;this.pnAbortDeleteButton=null;this._firstDropdownSelection=null;this._secondDropdownSelection=null;this._defaultRow={id:this.generateUniqueId(),firstInput:"",secondInput:this.secondInputWarning.toString(),date:""};this.dropdownData=null;this.languageCode=null;this.firstDropdownLabel=null;this.firstDropdownHelperText=null;this.secondDropdownLabel=null;this.secondDropdownHelperText=null;this.secondDropdownMax=null;this.deleteMultipleRowsWarningText=null;this.confirmDeleteButtonText=null;this.abortDeleteButtonText=null;this.fristInputLabel=null;this.fristInputPlaceholder=null;this.firstInputMin=null;this.firstInputMax=null;this.firstInputWarning=null;this.firstInputWarningText=null;this.firstInputLowErrorText=null;this.firstInputHighErrorText=null;this.secondInputLabel=null;this.secondInputPlaceholder=null;this.secondInputMin=null;this.secondInputMax=null;this.secondInputWarning=null;this.secondInputWarningText=null;this.secondInputLowErrorText=null;this.secondInputHighErrorText=null;this.dateLabel=null;this.datePlaceholder=null;this.dateDaysFromToday=1;this.yearsToAddToEndDate=null;this.sumFieldLabel=null;this.addRowText=null;this.elementHelperText=null;this.dropdownDataRoot=null;this.secondDropdownArr=[];this.rowCount=null;this.rowData=null;this.formValues=null;this.firstValidDateString="";this.lastValidDateString="";this.rowSum=null;this.minRowCount=null;this.showDelteConfirm=false}t.prototype.componentWillLoad=function(){this.formValues=[];this.setDropDownData();this.updateSecondDropdown();this.setRowData();this.setFirstValidDate()};t.prototype.componentDidLoad=function(){this.updateSum()};t.prototype.setDropDownData=function(){var t;if(typeof this.dropdownData==="string"){this.dropdownDataRoot=JSON.parse(this.dropdownData)}else{this.dropdownDataRoot=this.dropdownData}if((t=this.dropdownDataRoot)===null||t===void 0?void 0:t.length){this.dropdownDataRoot.forEach((function(t){if(!t.value){t.value=0}}))}if(this.dropdownDataRoot.length>0){this.dropdownDataRoot[0].checked=true;this._firstDropdownSelection=this.dropdownDataRoot[0].caption;this._secondDropdownSelection=this.dropdownDataRoot[0].value;this.minRowCount=this.dropdownDataRoot[0].value}};t.prototype.updateSecondDropdown=function(){var t=this.dropdownDataRoot.find((function(t){return t.checked===true}));this.secondDropdownArr=[];for(var e=t.value;e<=this.secondDropdownMax;e++){this.secondDropdownArr.push(e)}};t.prototype.updateSelectItemArr=function(t,e){t.forEach((function(t){if(t.caption===e){t.checked=!t.checked}else{t.checked=false}}));return t};t.prototype.setRowData=function(){this.rowData=[];for(var t=0;t<this._secondDropdownSelection;t++){var e=Object.assign({},this._defaultRow);e.id=this.generateUniqueId();this.rowData=__spreadArray(__spreadArray([],this.rowData,true),[e],false)}this.rowCount=this.rowData.length};t.prototype.generateUniqueId=function(){return v4()};t.prototype.setFirstValidDate=function(){var t;var e=this.yearsToAddToEndDate?this.yearsToAddToEndDate:2;var n=new Date;n.setDate((t=n.getDate()+this.dateDaysFromToday)!==null&&t!==void 0?t:0);var o=n.getFullYear();var i=(n.getMonth()+1).toString().padStart(2,"0");var r=n.getDate().toString().padStart(2,"0");var s=o+e;this.firstValidDateString="".concat(o.toString(),"-").concat(i,"-").concat(r);this.lastValidDateString="".concat(s.toString(),"-").concat(i,"-").concat(r)};t.prototype.addRow=function(t){var e=Object.assign({},this.rowData[0]);e.id=t?t:this.generateUniqueId();e.date="";this.rowData=__spreadArray(__spreadArray([],this.rowData,true),[e],false);this.rowCount=this.rowData.length;this._secondDropdownSelection=this.rowCount;this.secondDropdownArr=__spreadArray([],this.secondDropdownArr,true);this.updateSum();this.emitValuesIfValid()};t.prototype.handleFirstDropdown=function(){var t=this.pnFirstDropdown.querySelector(".current-selection .pn-option-content");var e=t===null||t===void 0?void 0:t.textContent;if(!(e===null||e===void 0?void 0:e.length)){return}this.dropdownDataRoot.forEach((function(t){t.checked=false}));var n=this.dropdownDataRoot.find((function(t){return t.caption===e}));n.checked=true;this._firstDropdownSelection=n.caption;this.minRowCount=n.value;if(n.value>this._secondDropdownSelection){this.dropdownDataRoot=__spreadArray([],this.dropdownDataRoot,true);for(var o=this.rowCount;o<n.value;o++){this.addRow(this.generateUniqueId())}}this.updateSecondDropdown();this.updateSum();this.emitValuesIfValid()};t.prototype.handleSecondDropdown=function(){var t=this.pnSecondDropdown.querySelector(".current-selection .pn-option-content");var e=t===null||t===void 0?void 0:t.textContent;if(!(e===null||e===void 0?void 0:e.length)){return}var n=parseInt(e);if(n<this._secondDropdownSelection){this.showDelteConfirm=true}else{for(var o=this.rowCount;o<n;o++){this.addRow(this.generateUniqueId())}}this.updateSum();this.emitValuesIfValid()};t.prototype.predefinedValueChange=function(t){var e=this.rowData.findIndex((function(e){return e.id===t.detail.id}));var n=t.detail;this.rowData[e]=Object.assign(Object.assign({},this.rowData[e]),{firstInput:n.firstInput,secondInput:n.secondInput,date:n.date});if(t.type==="firstInputChange"&&e===0){this.updateFirstInputOfRows(n.firstInput)}if(t.type==="secondInputChange"&&e===0){this.updateSecondInputOfRows(n.secondInput)}this.rowData=__spreadArray([],this.rowData,true);this.emitValuesIfValid();this.updateSum()};t.prototype.updateFirstInputOfRows=function(t){for(var e=1;e<this.rowCount;e++){this.rowData[e]=Object.assign(Object.assign({},this.rowData[e]),{firstInput:t})}};t.prototype.updateSecondInputOfRows=function(t){for(var e=1;e<this.rowCount;e++){this.rowData[e]=Object.assign(Object.assign({},this.rowData[e]),{secondInput:t})}};t.prototype.deleteRowEvent=function(t){var e=this.rowData.findIndex((function(e){return e.id===t.detail}));if(e<0){return}this.rowData.splice(e,1);this.rowData=__spreadArray([],this.rowData,true);this.rowCount=this.rowData.length;this._secondDropdownSelection=this.rowCount;this.secondDropdownArr=__spreadArray([],this.secondDropdownArr,true);this.emitValuesIfValid();this.updateSum()};t.prototype.updateSum=function(){this.rowSum="";var t=0;this.rowData.forEach((function(e){var n;if((n=e===null||e===void 0?void 0:e.firstInput)===null||n===void 0?void 0:n.length){t+=parseInt(e.firstInput)}}));this.rowSum=t.toString()};t.prototype.deleteExcessRows=function(){var t=this.pnSecondDropdown.querySelector(".current-selection .pn-option-content");var e=t===null||t===void 0?void 0:t.textContent;if(!(e===null||e===void 0?void 0:e.length)){return}var n=this.rowCount-parseInt(e);for(var o=0;o<n;o++){this.rowData.pop()}this.rowData=__spreadArray([],this.rowData,true);this.showDelteConfirm=false;this.updateSum()};t.prototype.abortDeleteRows=function(){this.showDelteConfirm=false};t.prototype.emitValuesIfValid=function(){var t=this;this.formValues=[];this.rowData.forEach((function(e){var n,o,i,r;var s={row:[]};if((n=t._firstDropdownSelection)===null||n===void 0?void 0:n.length){var a={name:t.firstDropdownLabel,value:t._firstDropdownSelection};s.row.push(a)}if((o=e.firstInput)===null||o===void 0?void 0:o.length){var l={name:t.fristInputLabel,value:e.firstInput};s.row.push(l)}if((i=e.secondInput)===null||i===void 0?void 0:i.length){var d={name:t.secondInputLabel,value:e.secondInput};s.row.push(d)}if((r=e.date)===null||r===void 0?void 0:r.length){var u={name:t.dateLabel,value:e.date};s.row.push(u)}if(s.row.length===4){t.formValues.push(s)}}));if(this.formValues.length===this.rowData.length){var e=JSON.stringify(this.formValues);this.allFormValues.emit(e)}else{this.allFormValues.emit("")}};t.prototype.render=function(){var t=this;var e,n,o,i,r,s;return h(Host,{class:"dropdown-with-multi-input-elemet"},h("div",{class:"dropdown-with-multi-input-elemet__row"},h("div",null,h("pn-select",{ref:function(e){return t.pnFirstDropdown=e},class:"pn-row-select-dropdown dropDown1-dropdown",label:this.firstDropdownLabel},(e=this.dropdownDataRoot)===null||e===void 0?void 0:e.map((function(e,n){return h("pn-option",{index:n,value:e.value,selected:e.checked,onClick:debounce_1.debounce(t.handleFirstDropdown.bind(t),500)},e.caption)}))),((n=this.firstDropdownHelperText)===null||n===void 0?void 0:n.length)?h("small",null,this.firstDropdownHelperText):null)),h("div",{class:"dropdown-with-multi-input-elemet__row"},h("div",null,h("pn-select",{ref:function(e){return t.pnSecondDropdown=e},class:"pn-row-select-dropdown dropDown2-dropdown",label:this.secondDropdownLabel},(o=this.secondDropdownArr)===null||o===void 0?void 0:o.map((function(e,n){return h("pn-option",{index:n,value:e,selected:e===t._secondDropdownSelection,onClick:debounce_1.debounce(t.handleSecondDropdown.bind(t),500)},e)}))),((i=this.secondDropdownHelperText)===null||i===void 0?void 0:i.length)?h("small",null,this.secondDropdownHelperText):null)),this.showDelteConfirm?h("div",{class:"dropdown-with-multi-input-elemet__delete"},h("p",null,this.deleteMultipleRowsWarningText),h("pn-button",{ref:function(e){return t.pnConfirmDeleteButton=e},small:"true",appearance:"warning",onClick:this.deleteExcessRows.bind(this)},this.confirmDeleteButtonText),h("pn-button",{ref:function(e){return t.pnAbortDeleteButton=e},small:"true",appearance:"light",onClick:this.abortDeleteRows.bind(this)},this.abortDeleteButtonText)):null,h("div",{class:"dropdown-with-multi-input-elemet__label-row"},h("div",{class:"dropdown-with-multi-input-elemet__label"},h("label",null,this.fristInputLabel)),h("div",{class:"dropdown-with-multi-input-elemet__label"},h("label",null,this.secondInputLabel)),h("div",{class:"dropdown-with-multi-input-elemet__label"},h("label",null,this.dateLabel))),(r=this.rowData)===null||r===void 0?void 0:r.map((function(e,n){return h("div",{class:"dropdown-with-multi-input-elemet__row generated-row-"+n,id:"generated-row-"+n},h("pn-dropdown-with-multi-input-rows-row",{"language-code":t.languageCode,"frist-input-placeholder":t.fristInputPlaceholder,"first-input-min":t.firstInputMin,"first-input-max":t.firstInputMax,"first-input-warning":t.firstInputWarning,"first-input-warning-text":t.firstInputWarningText,"first-input-low-error-text":t.firstInputLowErrorText,"first-input-high-error-text":t.firstInputHighErrorText,"second-input-placeholder":t.secondInputPlaceholder,"second-input-min":t.secondInputMin,"second-input-max":t.secondInputMax,"second-input-warning":t.secondInputWarning,"second-input-warning-text":t.secondInputWarningText,"second-input-low-error-text":t.secondInputLowErrorText,"second-input-high-error-text":t.secondInputHighErrorText,datePlaceholder:t.datePlaceholder,firstValidDate:t.firstValidDateString,lastValidDate:t.lastValidDateString,"predefined-value":JSON.stringify(e),"min-row-count":t.minRowCount,"row-index":n}))})),h("div",{class:"dropdown-with-multi-input-elemet__row sum-row"},h("pn-marketweb-input",{disabled:true,ref:function(e){return t.pnSumField=e},type:"number",value:this.rowSum,label:this.sumFieldLabel}),h("pn-button",{"icon-only":this.addRowText?false:true,"left-icon":"true","aria-label":"Add",icon:"plus",appearance:"light",variant:"borderless",class:"connected-dropdown__button-right",onClick:function(){t.addRow(t.generateUniqueId())}},this.addRowText)),((s=this.elementHelperText)===null||s===void 0?void 0:s.length)?h("div",{class:"dropdown-with-multi-input-elemet__row"},this.elementHelperText):null)};Object.defineProperty(t.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();PnDropdownWithMultiInputRows.style=pnDropdownWithMultiInputRowsCss;export{PnDropdownWithMultiInputRows as pn_dropdown_with_multi_input_rows};
@@ -1 +1 @@
1
- import{d as doc,N as NAMESPACE,w as win,p as promiseResolve,H,b as bootstrapLazy}from"./index-ee44c065.js";export{s as setNonce}from"./index-ee44c065.js";var patchBrowser=function(){{patchCloneNodeFix(H.prototype)}var e=Array.from(doc.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(NAMESPACE,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===NAMESPACE}));var n={};if("onbeforeload"in e&&!history.scrollRestoration){return{then:function(){}}}{n.resourcesUrl=new URL(".",new URL(e.getAttribute("data-resources-url")||e.src,win.location.href)).href}return promiseResolve(n)};var patchCloneNodeFix=function(e){var n=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return n.call(this,e)}var t=n.call(this,false);var a=this.childNodes;if(e){for(var o=0;o<a.length;o++){if(a[o].nodeType!==2){t.appendChild(a[o].cloneNode(true))}}}return t}};patchBrowser().then((function(e){return bootstrapLazy(JSON.parse('[["pn-marketweb-siteheader",[[4,"pn-marketweb-siteheader",{"market":[1537],"language":[1537],"siteid":[1],"environment":[1537],"userToken":[1,"user-token"],"userFullname":[1,"user-fullname"],"userLoggedin":[516,"user-loggedin"],"endpoint":[1],"hideSiteSelector":[1540,"hide-site-selector"],"hideHomeMenuItem":[1540,"hide-home-menu-item"],"hideLanguageSelector":[1540,"hide-language-selector"],"hideSearch":[1540,"hide-search"],"hideLogin":[1540,"hide-login"],"showProfileSelection":[1540,"show-profile-selection"],"showUnifiedLogin":[4,"show-unified-login"],"siteDomainInUrls":[4,"site-domain-in-urls"],"AutocompleteEndpoint":[1,"autocomplete-endpoint"],"sessionForward":[4,"session-forward"],"cache":[4],"searchPlaceholder":[1,"search-placeholder"],"spaMode":[4,"spa-mode"],"checkUserLoggedInStateInterval":[2,"check-user-logged-in-state-interval"],"pageId":[1,"page-id"],"i18n":[32],"gotData":[32],"fetchingData":[32],"homePageLink":[32],"menuItems":[32],"siteDefinition":[32],"search":[32],"siteSelector":[32],"languageSelector":[32],"languageOptions":[32],"loginDialog":[32],"minimizeSearch":[32],"loggedIn":[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["pn-proxio-findprice",[[0,"pn-proxio-findprice",{"endpoint":[1025],"language":[1025],"market":[1025],"showMedium":[4,"show-medium"],"showInternational":[4,"show-international"],"maxAbroadKg":[2,"max-abroad-kg"],"cache":[4],"filteredItems":[32],"weight":[32],"weightvalue":[32],"countrycodevalue":[32],"sizecategory":[32],"data":[32]}]]],["pn-find-price",[[0,"pn-find-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"weight":[32],"weightvalue":[32],"sourceData":[32],"sizecategory":[32]}]]],["pn-find-service-and-price",[[0,"pn-find-service-and-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"postagetype":[32],"weight":[32],"weightvalue":[32],"deliveryscope":[32],"sourceData":[32]}]]],["pn-product-pricelist",[[4,"pn-product-pricelist",{"source":[1],"language":[1025],"market":[1025],"productid":[1],"filteredItems":[32],"sourceData":[32],"gotData":[32],"loading":[32],"postagetype":[32],"weight":[32],"weightvalue":[32]}]]],["pn-proxio-pricegroup",[[0,"pn-proxio-pricegroup",{"endpoint":[1025],"language":[1],"market":[1],"tariffid":[1],"cache":[4],"activeWeightIndex":[32],"data":[32],"i18n":[32]},[[0,"activeWeightIndex","setActiveWeightIndex"],[0,"language","setLanguage"]]]]],["pn-product-pricelist-result",[[0,"pn-product-pricelist-result",{"item":[1040],"description":[16],"shownitems":[16],"showMeasurement":[4,"show-measurement"],"weightText":[32]}]]],["pn-marketweb-sitefooter",[[4,"pn-marketweb-sitefooter",{"market":[1537],"language":[1537],"environment":[1537],"endpoint":[1],"siteDomainInUrls":[4,"site-domain-in-urls"],"cache":[4],"theme":[513],"backgroundcolor":[513],"showSwan":[4,"show-swan"],"siteDefinition":[32],"footerContent":[32],"i18n":[32],"gotData":[32],"fetchingData":[32]}]]],["pn-multi-row-connected-dropdown",[[0,"pn-multi-row-connected-dropdown",{"dropdownData":[1,"dropdown-data"],"languageCode":[1,"language-code"],"label":[1],"firstDropdownLabel":[1,"first-dropdown-label"],"secondDropdownLabel":[1,"second-dropdown-label"],"dropdownPlaceholder":[1,"dropdown-placeholder"],"addRowText":[1,"add-row-text"],"inputFildLabel":[1,"input-fild-label"],"inputFildPlaceholder":[1,"input-fild-placeholder"],"dateButtonText":[1,"date-button-text"],"datePlaceholder":[1,"date-placeholder"],"dateDaysFromToday":[2,"date-days-from-today"],"allowMultipleRows":[4,"allow-multiple-rows"],"allowMultipleDates":[4,"allow-multiple-dates"],"startDateLabel":[1,"start-date-label"],"endDateLabel":[1,"end-date-label"],"multiDateHelperText":[1,"multi-date-helper-text"],"generateDatesButtonText":[1,"generate-dates-button-text"],"saveDateButtonText":[1,"save-date-button-text"],"noDatesText":[1,"no-dates-text"],"yearsToAddToEndDate":[2,"years-to-add-to-end-date"],"rowCount":[32],"rowData":[32],"formValues":[32]},[[0,"rowValueChange","predefinedValueChange"],[0,"deleteRowEvent","deleteRowEvent"]]]]],["pn-play-on-scroll",[[0,"pn-play-on-scroll",{"videoSrc":[1,"video-src"],"videoId":[32],"isManuallyPaused":[32],"isPaused":[32]}]]],["pn-address-autofill",[[0,"pn-address-autofill",{"market":[1537],"environment":[1537],"endpoint":[1],"cache":[4],"countryCode":[1,"country-code"],"postalCodeProps":[1,"postal-code-props"],"cityProps":[1,"city-props"],"streetAddressProps":[1,"street-address-props"],"streetNumberProps":[1,"street-number-props"],"streetAdressArr":[32],"streetNumberArr":[32],"city":[32],"postalCode":[32],"streetAddress":[32],"streetNumber":[32],"fullAddress":[32]}]]],["pn-dropdown-choice-adds-row",[[4,"pn-dropdown-choice-adds-row",{"dropdownData":[1,"dropdown-data"],"addRowDropdownName":[1,"add-row-dropdown-name"],"addRowDropdownPlaceholder":[1,"add-row-dropdown-placeholder"],"addRowDropdownLabel":[1,"add-row-dropdown-label"],"rowNameLabel":[1,"row-name-label"],"rowHasDropdown":[4,"row-has-dropdown"],"rowDropdownLabel":[1,"row-dropdown-label"],"rowDropdownPlaceholder":[1,"row-dropdown-placeholder"],"rowInputLabel":[1,"row-input-label"],"rowDeleteButtonText":[1,"row-delete-button-text"],"totalInputLimit":[2,"total-input-limit"],"inputLimitWarning":[1,"input-limit-warning"],"nextRowIndex":[32],"rowSelectDropdownArr":[32],"columnCount":[32],"showWarning":[32],"formValue":[32]}]]],["pn-parcel-tracker",[[0,"pn-parcel-tracker",{"formActionUrl":[1,"form-action-url"],"heading":[1],"buttonLabel":[1,"button-label"],"locale":[1],"placeholder":[1],"inputName":[1,"input-name"],"currentWidth":[32]},[[9,"resize","handleViewportSizeChange"]]]]],["pn-pex-pricefinder",[[0,"pn-pex-pricefinder",{"language":[1],"currency":[1],"apiUrl":[1,"api-url"],"i18n":[32],"fromzip":[32],"tozip":[32],"weight":[32],"when":[32],"response":[32]},[[0,"language","setLanguage"]]]]],["pn-share",[[0,"pn-share",{"link":[1],"language":[1537],"i18n":[32]}]]],["pn-stats-info",[[4,"pn-stats-info",{"heading":[1],"dataArray":[1,"data-array"],"backgroundUrl":[1,"background-url"],"myParsedArray":[32]}]]],["pn-animated-tile",[[4,"pn-animated-tile",{"toggled":[32],"transitionClassName":[32],"animateIcon":[32]}]]],["pn-app-banner",[[0,"pn-app-banner",{"appName":[1,"app-name"],"appDescription":[1,"app-description"],"ctaText":[1,"cta-text"],"appleStoreLink":[1,"apple-store-link"],"googleStoreLink":[1,"google-store-link"],"isClosed":[32],"storeLink":[32],"isLocalStorageAvailable":[32]}]]],["pn-bonus-progressbar",[[4,"pn-bonus-progressbar",{"icon":[1],"heading":[1],"sumtext":[513],"theme":[513],"bonuspercentage":[1],"currency":[513],"value":[1538],"min":[1538],"max":[1538],"valuepercentage":[32],"progresspercentage":[32],"levelValues":[32],"currentLevelAdjustedValue":[32]}]]],["pn-bonus-progressbar-level",[[0,"pn-bonus-progressbar-level",{"current":[516],"value":[1538],"bonuspercentage":[1537],"visualpercentage":[1538],"percentage":[32],"max":[32],"min":[32],"currency":[32]}]]],["pn-breakpoints",[[0,"pn-breakpoints",{"breakPointClass":[1,"break-point-class"],"currentWidth":[32]},[[9,"resize","handleViewportSizeChange"]]]]],["pn-chart",[[0,"pn-chart",{"labels":[1],"dataSets":[1,"data-sets"],"dataChartType":[8,"data-chart-type"],"myChartCtxRef":[32]}]]],["pn-charts-card",[[4,"pn-charts-card",{"header":[1],"highlight":[1],"preamble":[1],"label":[1],"source":[1],"sourceUrl":[1,"source-url"],"ctaLinkText":[1,"cta-link-text"],"openInNewWindow":[4,"open-in-new-window"]}]]],["pn-customernumber-selector",[[4,"pn-customernumber-selector",{"language":[1537],"open":[1540],"heading":[1],"description":[1],"i18n":[32]}]]],["pn-customernumber-selector-option",[[4,"pn-customernumber-selector-option",{"heading":[1],"description":[1],"url":[1]}]]],["pn-date-and-time",[[0,"pn-date-and-time",{"languageCode":[1,"language-code"],"dateAndTimeLabel":[1,"date-and-time-label"],"dateDaysFromToday":[2,"date-days-from-today"],"validTimeRangeMinutes":[2,"valid-time-range-minutes"],"errorMessage":[1,"error-message"],"dateHelperText":[1,"date-helper-text"],"timeHelperText":[1,"time-helper-text"],"disableWeekends":[4,"disable-weekends"],"datePlacehodler":[1,"date-placehodler"],"language":[32],"hourArr":[32],"minuteArr":[32],"formValue":[32],"invalidTimespan":[32],"selectedDate":[32],"selectedFromHour":[32],"selectedFromMin":[32],"selectedToHour":[32],"selectedToMin":[32],"firstValidDateString":[32],"lastValidDateString":[32]}]]],["pn-line-shape",[[0,"pn-line-shape"]]],["pn-marketweb-search",[[1,"pn-marketweb-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"list":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4],"suggestionObserver":[32],"hasClonedInput":[32],"listSuggestion":[32]},[[0,"input","inputHandler"]]]]],["pn-multi-formfield",[[4,"pn-multi-formfield",{"value":[1040],"formFieldClassName":[1,"form-field-class-name"],"formFieldOuterParentClassName":[1,"form-field-outer-parent-class-name"],"formRow":[32],"formValues":[32],"elementToCopy":[32],"fieldsPerRowCount":[32],"newRowStartIndex":[32],"originalLabelNames":[32]}]]],["pn-product-tile",[[4,"pn-product-tile"]]],["pn-profile-modal",[[4,"pn-profile-modal",{"heading":[1],"continueCtaText":[1,"continue-cta-text"],"choosenCompanyText":[1,"choosen-company-text"],"toText":[1,"to-text"],"chooseCustomerNumberText":[1,"choose-customer-number-text"],"isLoading":[32]},[[0,"urlSelected","onUrlSelected"]]]]],["pn-profile-modal-customernumber",[[4,"pn-profile-modal-customernumber",{"url":[513],"customernumber":[513],"selected":[516]}]]],["pn-profile-modal-profile",[[4,"pn-profile-modal-profile",{"heading":[513],"description":[513],"url":[513],"selected":[1028],"showCustomerNumbers":[516,"show-customer-numbers"],"pleaseSelectText":[513,"please-select-text"],"visible":[1540],"identifier":[32]}]]],["pn-profile-modal-type",[[4,"pn-profile-modal-type",{"typeid":[513],"name":[1025],"selected":[1028],"selectedprofile":[1025]}]]],["pn-profile-selector",[[4,"pn-profile-selector",{"language":[1537],"returnUrl":[1,"return-url"],"heading":[1],"i18n":[32],"isLoading":[32],"numberOfProfiles":[32]}]]],["pn-profile-selector-option",[[0,"pn-profile-selector-option",{"heading":[1],"description":[1],"url":[1]}]]],["pn-quick-cta",[[4,"pn-quick-cta",{"heading":[1],"preamble":[1]}]]],["pn-quote-card",[[4,"pn-quote-card",{"quote":[1],"name":[1],"occupation":[1]}]]],["pn-sidenav",[[4,"pn-sidenav",{"language":[1],"navLabel":[1,"nav-label"],"i18n":[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["pn-sidenav-level",[[4,"pn-sidenav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"alignment":[32]}]]],["pn-sidenav-link",[[4,"pn-sidenav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"icon":[1],"current":[4],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-sidenav-togglebutton",[[4,"pn-sidenav-togglebutton",{"label":[1],"i18n":[32]}]]],["pn-spotlight",[[4,"pn-spotlight",{"heading":[1],"preamble":[1],"isDynamic":[4,"is-dynamic"],"addDynamic":[32]}]]],["pn-teaser-card",[[4,"pn-teaser-card",{"text":[1],"heading":[1],"label":[1],"dataCardColor":[513,"data-card-color"],"dataCardAlignment":[513,"data-card-alignment"],"hasCtaSlotContent":[32],"hasIllustrationSlot":[32]}]]],["pn-marketweb-siteheader-login-linklist",[[0,"pn-marketweb-siteheader-login-linklist",{"heading":[1],"links":[16],"idNamespace":[1,"id-namespace"],"showUnifiedLogin":[4,"show-unified-login"]}]]],["pn-proxio-productcard_4",[[4,"pn-proxio-productcard"],[0,"pn-proxio-productcard-description",{"heading":[1],"highlight":[1],"description":[1],"list":[1040]}],[0,"pn-proxio-productcard-information",{"label":[1],"information":[16]}],[0,"pn-proxio-productcard-pricelink",{"price":[1],"vatText":[1,"vat-text"],"link":[1],"linktext":[1]}]]],["pn-proxio-findprice-result",[[0,"pn-proxio-findprice-result",{"item":[1040],"activeweight":[1026],"shownitems":[16],"Usp1":[1,"usp-1"],"Usp2":[1,"usp-2"],"Usp3":[1,"usp-3"],"description":[16],"showMeasurement":[4,"show-measurement"],"showInternational":[4,"show-international"],"selectedCountrycode":[1,"selected-countrycode"],"market":[1],"language":[1025],"weightText":[32],"linkId":[32],"shopLabel":[32],"shopUrl":[32],"shopId":[32],"i18n":[32]}]]],["pn-find-service-and-price-result",[[0,"pn-find-service-and-price-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]]],["pn-filter-checkbox",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-multi-row-connected-dropdown-row",[[0,"pn-multi-row-connected-dropdown-row",{"dropdownData":[1,"dropdown-data"],"languageCode":[1,"language-code"],"label":[1],"firstDropdownLabel":[1,"first-dropdown-label"],"secondDropdownLabel":[1,"second-dropdown-label"],"dropdownPlaceholder":[1,"dropdown-placeholder"],"addRowText":[1,"add-row-text"],"inputFildLabel":[1,"input-fild-label"],"inputFildPlaceholder":[1,"input-fild-placeholder"],"dateButtonText":[1,"date-button-text"],"datePlaceholder":[1,"date-placeholder"],"dateDaysFromToday":[2,"date-days-from-today"],"allowMultipleDates":[4,"allow-multiple-dates"],"startDateLabel":[1,"start-date-label"],"endDateLabel":[1,"end-date-label"],"multiDateHelperText":[1,"multi-date-helper-text"],"generateDatesButtonText":[1,"generate-dates-button-text"],"saveDateButtonText":[1,"save-date-button-text"],"noDatesText":[1,"no-dates-text"],"index":[2],"predefinedValue":[1,"predefined-value"],"yearsToAddToEndDate":[2,"years-to-add-to-end-date"],"buttonsArray":[32],"firstDropdownArr":[32],"secondDropdownArr":[32],"firstDropdownClass":[32],"secondDropdownClass":[32],"firstValidDateString":[32],"lastValidDateString":[32],"firstDropdownPlaceholder":[32],"secondDropdownPlaceholder":[32],"starDateValue":[32],"endDateValue":[32],"generatedDatesArr":[32],"selectedButtonValue":[32],"inputFieldValue":[32],"dateValue":[32],"daysArr":[32]}]]],["pn-share-item",[[4,"pn-share-item",{"link":[1],"text":[1]}]]],["pn-stats-info-data",[[0,"pn-stats-info-data",{"format":[1],"formatStyle":[1,"format-style"],"startValue":[2,"start-value"],"data":[2],"unit":[1],"preamble":[1],"duration":[2],"index":[2],"hasBeenShown":[32],"compId":[32]}]]],["pn-find-price-result",[[0,"pn-find-price-result",{"item":[1040],"shownitems":[16],"Usp1":[1,"usp-1"],"Usp2":[1,"usp-2"],"Usp3":[1,"usp-3"],"description":[16],"showMeasurement":[4,"show-measurement"],"weightText":[32],"linkId":[32],"shopLabel":[32],"shopUrl":[32],"shopId":[32]}]]],["pn-scroll_2",[[4,"pn-scroll",{"observerOptions":[16],"behaviourClasses":[1,"behaviour-classes"],"transitionDurationSeconds":[2,"transition-duration-seconds"],"shouldLoop":[4,"should-loop"],"intersectFunc":[16],"notIntersectFunc":[16],"compId":[32]}],[0,"pn-video-overlay",{"language":[1],"isPaused":[4,"is-paused"],"i18n":[32]}]]],["pn-mainnav-link",[[4,"pn-mainnav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-site-footer_3",[[4,"pn-site-footer",{"url":[1],"linktitle":[1],"theme":[513]}],[4,"pn-site-footer-col",{"theme":[513]}],[0,"pn-swan",{"licenseNumber":[1,"license-number"],"language":[1537],"linkTo":[1,"link-to"],"i18n":[32]}]]],["pn-choice-button",[[4,"pn-choice-button",{"value":[520],"name":[1],"choiceid":[1],"type":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-product-tile-info_2",[[0,"pn-product-tile-info",{"label":[1],"text":[1],"icon":[1]}],[0,"pn-product-tile-price",{"label":[1],"amount":[1],"currency":[1],"url":[1]}]]],["pn-marketweb-input",[[0,"pn-marketweb-input",{"disabled":[4],"error":[1],"invalid":[4],"helpertext":[1],"label":[1],"placeholder":[1],"inputid":[1],"name":[1],"required":[4],"type":[1025],"autocomplete":[1],"valid":[4],"value":[1],"maxlength":[1],"min":[1],"max":[1],"step":[1],"pattern":[1],"showText":[32]}]]],["pn-titletag",[[4,"pn-titletag",{"icon":[1],"color":[1537]}]]],["pn-marketweb-siteheader-login-button_5",[[0,"pn-marketweb-siteheader-unified-login",{"loggedIn":[4,"logged-in"],"myPageLabel":[1,"my-page-label"],"myPageUrl":[1,"my-page-url"],"logInLabel":[1,"log-in-label"]}],[0,"pn-marketweb-siteheader-login-links",{"loginDialog":[1040],"idNamespace":[1,"id-namespace"],"loggedin":[516],"username":[1],"showUnifiedLogin":[4,"show-unified-login"]}],[0,"pn-marketweb-siteheader-login-profileselection",{"loginDialog":[1040],"endpoint":[1],"loggedin":[4],"idNamespace":[1,"id-namespace"],"heading":[1],"i18n":[16],"currentProfile":[1040],"profileoptions":[1040],"user":[32],"logoutLink":[32],"userName":[32],"userEmail":[32]}],[0,"pn-marketweb-siteheader-login-button",{"label":[1]}],[0,"pn-marketweb-siteheader-login-mypage-button",{"label":[1],"myPageUrl":[1,"my-page-url"]}]]],["pn-language-selector_9",[[0,"pn-marketweb-siteheader-login",{"endpoint":[1],"token":[1],"i18n":[16],"siteUrl":[1,"site-url"],"emitEvents":[4,"emit-events"],"loginDialog":[1040],"fullname":[1],"loggedin":[4],"showProfileSelection":[1028,"show-profile-selection"],"showUnifiedLogin":[4,"show-unified-login"],"checkUserLoggedInStateInterval":[2,"check-user-logged-in-state-interval"],"environment":[1],"loginLinks":[32],"toggleButtonText":[32],"username":[32]}],[4,"pn-mainnav-level",{"label":[1537],"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"listCount":[32],"alignment":[32]}],[4,"pn-language-selector",{"value":[1537],"selectedLanguageName":[32],"options":[32],"i18n":[32]}],[0,"pn-language-selector-option",{"name":[1],"code":[1],"url":[1],"selected":[4],"currentLanguage":[1,"current-language"]}],[4,"pn-mainnav",{"market":[1],"language":[1],"navigationId":[1,"navigation-id"],"openMenu":[1028,"open-menu"],"navLabel":[1,"nav-label"]},[[0,"language","setLanguage"],[0,"market","setMarket"],[0,"menuLanguageChange","onLanguageChange"],[0,"setmenuopenstate","setMenuOpenState"],[0,"openMenuLevelChange","onOpenMenuLevelChange"]]],[4,"pn-mainnav-list",{"heading":[1],"linkCount":[32]}],[0,"pn-marketweb-siteheader-search",{"i18n":[8,"i-1-8n"],"showOnlyLink":[1028,"show-only-link"],"hideSearch":[1028,"hide-search"],"language":[1537],"siteid":[1],"search":[1040],"primary":[4],"icononly":[4],"autoCompleteOptions":[32]}],[4,"pn-site-selector",{"buttontext":[1537],"heading":[1537],"language":[1537],"i18n":[32]}],[0,"pn-site-selector-item",{"url":[1],"heading":[1],"description":[1],"newwindow":[4]}]]],["pn-product-card_3",[[0,"pn-product-card-info",{"rulle":[1],"paket":[1],"label":[1],"text":[1]}],[0,"pn-product-card-price",{"label":[1],"amount":[1],"currency":[1],"note":[1],"url":[1],"service":[1],"linkid":[1]}],[4,"pn-product-card"]]]]'),e)}));
1
+ import{d as doc,N as NAMESPACE,w as win,p as promiseResolve,H,b as bootstrapLazy}from"./index-ee44c065.js";export{s as setNonce}from"./index-ee44c065.js";var patchBrowser=function(){{patchCloneNodeFix(H.prototype)}var e=Array.from(doc.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(NAMESPACE,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===NAMESPACE}));var t={};if("onbeforeload"in e&&!history.scrollRestoration){return{then:function(){}}}{t.resourcesUrl=new URL(".",new URL(e.getAttribute("data-resources-url")||e.src,win.location.href)).href}return promiseResolve(t)};var patchCloneNodeFix=function(e){var t=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return t.call(this,e)}var n=t.call(this,false);var a=this.childNodes;if(e){for(var o=0;o<a.length;o++){if(a[o].nodeType!==2){n.appendChild(a[o].cloneNode(true))}}}return n}};patchBrowser().then((function(e){return bootstrapLazy(JSON.parse('[["pn-marketweb-siteheader",[[4,"pn-marketweb-siteheader",{"market":[1537],"language":[1537],"siteid":[1],"environment":[1537],"userToken":[1,"user-token"],"userFullname":[1,"user-fullname"],"userLoggedin":[516,"user-loggedin"],"endpoint":[1],"hideSiteSelector":[1540,"hide-site-selector"],"hideHomeMenuItem":[1540,"hide-home-menu-item"],"hideLanguageSelector":[1540,"hide-language-selector"],"hideSearch":[1540,"hide-search"],"hideLogin":[1540,"hide-login"],"showProfileSelection":[1540,"show-profile-selection"],"showUnifiedLogin":[4,"show-unified-login"],"siteDomainInUrls":[4,"site-domain-in-urls"],"AutocompleteEndpoint":[1,"autocomplete-endpoint"],"sessionForward":[4,"session-forward"],"cache":[4],"searchPlaceholder":[1,"search-placeholder"],"spaMode":[4,"spa-mode"],"checkUserLoggedInStateInterval":[2,"check-user-logged-in-state-interval"],"pageId":[1,"page-id"],"i18n":[32],"gotData":[32],"fetchingData":[32],"homePageLink":[32],"menuItems":[32],"siteDefinition":[32],"search":[32],"siteSelector":[32],"languageSelector":[32],"languageOptions":[32],"loginDialog":[32],"minimizeSearch":[32],"loggedIn":[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["pn-proxio-findprice",[[0,"pn-proxio-findprice",{"endpoint":[1025],"language":[1025],"market":[1025],"showMedium":[4,"show-medium"],"showInternational":[4,"show-international"],"maxAbroadKg":[2,"max-abroad-kg"],"cache":[4],"filteredItems":[32],"weight":[32],"weightvalue":[32],"countrycodevalue":[32],"sizecategory":[32],"data":[32]}]]],["pn-find-price",[[0,"pn-find-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"weight":[32],"weightvalue":[32],"sourceData":[32],"sizecategory":[32]}]]],["pn-find-service-and-price",[[0,"pn-find-service-and-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"postagetype":[32],"weight":[32],"weightvalue":[32],"deliveryscope":[32],"sourceData":[32]}]]],["pn-product-pricelist",[[4,"pn-product-pricelist",{"source":[1],"language":[1025],"market":[1025],"productid":[1],"filteredItems":[32],"sourceData":[32],"gotData":[32],"loading":[32],"postagetype":[32],"weight":[32],"weightvalue":[32]}]]],["pn-proxio-pricegroup",[[0,"pn-proxio-pricegroup",{"endpoint":[1025],"language":[1],"market":[1],"tariffid":[1],"cache":[4],"activeWeightIndex":[32],"data":[32],"i18n":[32]},[[0,"activeWeightIndex","setActiveWeightIndex"],[0,"language","setLanguage"]]]]],["pn-product-pricelist-result",[[0,"pn-product-pricelist-result",{"item":[1040],"description":[16],"shownitems":[16],"showMeasurement":[4,"show-measurement"],"weightText":[32]}]]],["pn-marketweb-sitefooter",[[4,"pn-marketweb-sitefooter",{"market":[1537],"language":[1537],"environment":[1537],"endpoint":[1],"siteDomainInUrls":[4,"site-domain-in-urls"],"cache":[4],"theme":[513],"backgroundcolor":[513],"showSwan":[4,"show-swan"],"siteDefinition":[32],"footerContent":[32],"i18n":[32],"gotData":[32],"fetchingData":[32]}]]],["pn-multi-row-connected-dropdown",[[0,"pn-multi-row-connected-dropdown",{"dropdownData":[1,"dropdown-data"],"languageCode":[1,"language-code"],"label":[1],"firstDropdownLabel":[1,"first-dropdown-label"],"secondDropdownLabel":[1,"second-dropdown-label"],"dropdownPlaceholder":[1,"dropdown-placeholder"],"addRowText":[1,"add-row-text"],"inputFildLabel":[1,"input-fild-label"],"inputFildPlaceholder":[1,"input-fild-placeholder"],"dateButtonText":[1,"date-button-text"],"datePlaceholder":[1,"date-placeholder"],"dateDaysFromToday":[2,"date-days-from-today"],"allowMultipleRows":[4,"allow-multiple-rows"],"allowMultipleDates":[4,"allow-multiple-dates"],"startDateLabel":[1,"start-date-label"],"endDateLabel":[1,"end-date-label"],"multiDateHelperText":[1,"multi-date-helper-text"],"generateDatesButtonText":[1,"generate-dates-button-text"],"saveDateButtonText":[1,"save-date-button-text"],"noDatesText":[1,"no-dates-text"],"yearsToAddToEndDate":[2,"years-to-add-to-end-date"],"rowCount":[32],"rowData":[32],"formValues":[32]},[[0,"rowValueChange","predefinedValueChange"],[0,"deleteRowEvent","deleteRowEvent"]]]]],["pn-dropdown-with-multi-input-rows",[[0,"pn-dropdown-with-multi-input-rows",{"dropdownData":[1,"dropdown-data"],"languageCode":[1,"language-code"],"firstDropdownLabel":[1,"first-dropdown-label"],"firstDropdownHelperText":[1,"first-dropdown-helper-text"],"secondDropdownLabel":[1,"second-dropdown-label"],"secondDropdownHelperText":[1,"second-dropdown-helper-text"],"secondDropdownMax":[2,"second-dropdown-max"],"deleteMultipleRowsWarningText":[1,"delete-multiple-rows-warning-text"],"confirmDeleteButtonText":[1,"confirm-delete-button-text"],"abortDeleteButtonText":[1,"abort-delete-button-text"],"fristInputLabel":[1,"frist-input-label"],"fristInputPlaceholder":[1,"frist-input-placeholder"],"firstInputMin":[2,"first-input-min"],"firstInputMax":[2,"first-input-max"],"firstInputWarning":[2,"first-input-warning"],"firstInputWarningText":[1,"first-input-warning-text"],"firstInputLowErrorText":[1,"first-input-low-error-text"],"firstInputHighErrorText":[1,"first-input-high-error-text"],"secondInputLabel":[1,"second-input-label"],"secondInputPlaceholder":[1,"second-input-placeholder"],"secondInputMin":[2,"second-input-min"],"secondInputMax":[2,"second-input-max"],"secondInputWarning":[2,"second-input-warning"],"secondInputWarningText":[1,"second-input-warning-text"],"secondInputLowErrorText":[1,"second-input-low-error-text"],"secondInputHighErrorText":[1,"second-input-high-error-text"],"dateLabel":[1,"date-label"],"datePlaceholder":[1,"date-placeholder"],"dateDaysFromToday":[2,"date-days-from-today"],"yearsToAddToEndDate":[2,"years-to-add-to-end-date"],"sumFieldLabel":[1,"sum-field-label"],"addRowText":[1,"add-row-text"],"elementHelperText":[1,"element-helper-text"],"dropdownDataRoot":[32],"secondDropdownArr":[32],"rowCount":[32],"rowData":[32],"formValues":[32],"firstValidDateString":[32],"lastValidDateString":[32],"rowSum":[32],"minRowCount":[32],"showDelteConfirm":[32]},[[0,"rowValueChange","predefinedValueChange"],[0,"firstInputChange","predefinedValueChange"],[0,"secondInputChange","predefinedValueChange"],[0,"deleteRowEvent","deleteRowEvent"]]]]],["pn-play-on-scroll",[[0,"pn-play-on-scroll",{"videoSrc":[1,"video-src"],"videoId":[32],"isManuallyPaused":[32],"isPaused":[32]}]]],["pn-address-autofill",[[0,"pn-address-autofill",{"market":[1537],"environment":[1537],"endpoint":[1],"cache":[4],"countryCode":[1,"country-code"],"postalCodeProps":[1,"postal-code-props"],"cityProps":[1,"city-props"],"streetAddressProps":[1,"street-address-props"],"streetNumberProps":[1,"street-number-props"],"streetAdressArr":[32],"streetNumberArr":[32],"city":[32],"postalCode":[32],"streetAddress":[32],"streetNumber":[32],"fullAddress":[32]}]]],["pn-dropdown-choice-adds-row",[[4,"pn-dropdown-choice-adds-row",{"dropdownData":[1,"dropdown-data"],"addRowDropdownName":[1,"add-row-dropdown-name"],"addRowDropdownPlaceholder":[1,"add-row-dropdown-placeholder"],"addRowDropdownLabel":[1,"add-row-dropdown-label"],"rowNameLabel":[1,"row-name-label"],"rowHasDropdown":[4,"row-has-dropdown"],"rowDropdownLabel":[1,"row-dropdown-label"],"rowDropdownPlaceholder":[1,"row-dropdown-placeholder"],"rowInputLabel":[1,"row-input-label"],"rowDeleteButtonText":[1,"row-delete-button-text"],"totalInputLimit":[2,"total-input-limit"],"inputLimitWarning":[1,"input-limit-warning"],"nextRowIndex":[32],"rowSelectDropdownArr":[32],"columnCount":[32],"showWarning":[32],"formValue":[32]}]]],["pn-multiple-input",[[0,"pn-multiple-input",{"label":[1],"placeholder":[1],"addRowButtonText":[1,"add-row-button-text"],"rowData":[32]}]]],["pn-parcel-tracker",[[0,"pn-parcel-tracker",{"formActionUrl":[1,"form-action-url"],"heading":[1],"buttonLabel":[1,"button-label"],"locale":[1],"placeholder":[1],"inputName":[1,"input-name"],"currentWidth":[32]},[[9,"resize","handleViewportSizeChange"]]]]],["pn-pex-pricefinder",[[0,"pn-pex-pricefinder",{"language":[1],"currency":[1],"apiUrl":[1,"api-url"],"i18n":[32],"fromzip":[32],"tozip":[32],"weight":[32],"when":[32],"response":[32]},[[0,"language","setLanguage"]]]]],["pn-share",[[0,"pn-share",{"link":[1],"language":[1537],"i18n":[32]}]]],["pn-stats-info",[[4,"pn-stats-info",{"heading":[1],"dataArray":[1,"data-array"],"backgroundUrl":[1,"background-url"],"myParsedArray":[32]}]]],["pn-animated-tile",[[4,"pn-animated-tile",{"toggled":[32],"transitionClassName":[32],"animateIcon":[32]}]]],["pn-app-banner",[[0,"pn-app-banner",{"appName":[1,"app-name"],"appDescription":[1,"app-description"],"ctaText":[1,"cta-text"],"appleStoreLink":[1,"apple-store-link"],"googleStoreLink":[1,"google-store-link"],"isClosed":[32],"storeLink":[32],"isLocalStorageAvailable":[32]}]]],["pn-bonus-progressbar",[[4,"pn-bonus-progressbar",{"icon":[1],"heading":[1],"sumtext":[513],"theme":[513],"bonuspercentage":[1],"currency":[513],"value":[1538],"min":[1538],"max":[1538],"valuepercentage":[32],"progresspercentage":[32],"levelValues":[32],"currentLevelAdjustedValue":[32]}]]],["pn-bonus-progressbar-level",[[0,"pn-bonus-progressbar-level",{"current":[516],"value":[1538],"bonuspercentage":[1537],"visualpercentage":[1538],"percentage":[32],"max":[32],"min":[32],"currency":[32]}]]],["pn-breakpoints",[[0,"pn-breakpoints",{"breakPointClass":[1,"break-point-class"],"currentWidth":[32]},[[9,"resize","handleViewportSizeChange"]]]]],["pn-chart",[[0,"pn-chart",{"labels":[1],"dataSets":[1,"data-sets"],"dataChartType":[8,"data-chart-type"],"myChartCtxRef":[32]}]]],["pn-charts-card",[[4,"pn-charts-card",{"header":[1],"highlight":[1],"preamble":[1],"label":[1],"source":[1],"sourceUrl":[1,"source-url"],"ctaLinkText":[1,"cta-link-text"],"openInNewWindow":[4,"open-in-new-window"]}]]],["pn-customernumber-selector",[[4,"pn-customernumber-selector",{"language":[1537],"open":[1540],"heading":[1],"description":[1],"i18n":[32]}]]],["pn-customernumber-selector-option",[[4,"pn-customernumber-selector-option",{"heading":[1],"description":[1],"url":[1]}]]],["pn-date-and-time",[[0,"pn-date-and-time",{"languageCode":[1,"language-code"],"dateAndTimeLabel":[1,"date-and-time-label"],"dateDaysFromToday":[2,"date-days-from-today"],"validTimeRangeMinutes":[2,"valid-time-range-minutes"],"errorMessage":[1,"error-message"],"dateHelperText":[1,"date-helper-text"],"timeHelperText":[1,"time-helper-text"],"disableWeekends":[4,"disable-weekends"],"datePlacehodler":[1,"date-placehodler"],"language":[32],"hourArr":[32],"minuteArr":[32],"formValue":[32],"invalidTimespan":[32],"selectedDate":[32],"selectedFromHour":[32],"selectedFromMin":[32],"selectedToHour":[32],"selectedToMin":[32],"firstValidDateString":[32],"lastValidDateString":[32]}]]],["pn-line-shape",[[0,"pn-line-shape"]]],["pn-marketweb-search",[[1,"pn-marketweb-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"list":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4],"suggestionObserver":[32],"hasClonedInput":[32],"listSuggestion":[32]},[[0,"input","inputHandler"]]]]],["pn-multi-formfield",[[4,"pn-multi-formfield",{"value":[1040],"formFieldClassName":[1,"form-field-class-name"],"formFieldOuterParentClassName":[1,"form-field-outer-parent-class-name"],"formRow":[32],"formValues":[32],"elementToCopy":[32],"fieldsPerRowCount":[32],"newRowStartIndex":[32],"originalLabelNames":[32]}]]],["pn-product-tile",[[4,"pn-product-tile"]]],["pn-profile-modal",[[4,"pn-profile-modal",{"heading":[1],"continueCtaText":[1,"continue-cta-text"],"choosenCompanyText":[1,"choosen-company-text"],"toText":[1,"to-text"],"chooseCustomerNumberText":[1,"choose-customer-number-text"],"isLoading":[32]},[[0,"urlSelected","onUrlSelected"]]]]],["pn-profile-modal-customernumber",[[4,"pn-profile-modal-customernumber",{"url":[513],"customernumber":[513],"selected":[516]}]]],["pn-profile-modal-profile",[[4,"pn-profile-modal-profile",{"heading":[513],"description":[513],"url":[513],"selected":[1028],"showCustomerNumbers":[516,"show-customer-numbers"],"pleaseSelectText":[513,"please-select-text"],"visible":[1540],"identifier":[32]}]]],["pn-profile-modal-type",[[4,"pn-profile-modal-type",{"typeid":[513],"name":[1025],"selected":[1028],"selectedprofile":[1025]}]]],["pn-profile-selector",[[4,"pn-profile-selector",{"language":[1537],"returnUrl":[1,"return-url"],"heading":[1],"i18n":[32],"isLoading":[32],"numberOfProfiles":[32]}]]],["pn-profile-selector-option",[[0,"pn-profile-selector-option",{"heading":[1],"description":[1],"url":[1]}]]],["pn-quick-cta",[[4,"pn-quick-cta",{"heading":[1],"preamble":[1]}]]],["pn-quote-card",[[4,"pn-quote-card",{"quote":[1],"name":[1],"occupation":[1]}]]],["pn-sidenav",[[4,"pn-sidenav",{"language":[1],"navLabel":[1,"nav-label"],"i18n":[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["pn-sidenav-level",[[4,"pn-sidenav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"alignment":[32]}]]],["pn-sidenav-link",[[4,"pn-sidenav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"icon":[1],"current":[4],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-sidenav-togglebutton",[[4,"pn-sidenav-togglebutton",{"label":[1],"i18n":[32]}]]],["pn-spotlight",[[4,"pn-spotlight",{"heading":[1],"preamble":[1],"isDynamic":[4,"is-dynamic"],"addDynamic":[32]}]]],["pn-teaser-card",[[4,"pn-teaser-card",{"text":[1],"heading":[1],"label":[1],"dataCardColor":[513,"data-card-color"],"dataCardAlignment":[513,"data-card-alignment"],"hasCtaSlotContent":[32],"hasIllustrationSlot":[32]}]]],["pn-proxio-findprice-result",[[0,"pn-proxio-findprice-result",{"item":[1040],"activeweight":[1026],"shownitems":[16],"Usp1":[1,"usp-1"],"Usp2":[1,"usp-2"],"Usp3":[1,"usp-3"],"description":[16],"showMeasurement":[4,"show-measurement"],"showInternational":[4,"show-international"],"selectedCountrycode":[1,"selected-countrycode"],"market":[1],"language":[1025],"weightText":[32],"linkId":[32],"shopLabel":[32],"shopUrl":[32],"shopId":[32],"i18n":[32]}]]],["pn-find-service-and-price-result",[[0,"pn-find-service-and-price-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]]],["pn-marketweb-input",[[0,"pn-marketweb-input",{"disabled":[4],"error":[1],"invalid":[4],"helpertext":[1],"label":[1],"placeholder":[1],"inputid":[1],"name":[1],"required":[4],"type":[1025],"autocomplete":[1],"valid":[4],"value":[1],"maxlength":[1],"min":[1],"max":[1],"step":[1],"pattern":[1],"showText":[32]}]]],["pn-multi-row-connected-dropdown-row",[[0,"pn-multi-row-connected-dropdown-row",{"dropdownData":[1,"dropdown-data"],"languageCode":[1,"language-code"],"label":[1],"firstDropdownLabel":[1,"first-dropdown-label"],"secondDropdownLabel":[1,"second-dropdown-label"],"dropdownPlaceholder":[1,"dropdown-placeholder"],"addRowText":[1,"add-row-text"],"inputFildLabel":[1,"input-fild-label"],"inputFildPlaceholder":[1,"input-fild-placeholder"],"dateButtonText":[1,"date-button-text"],"datePlaceholder":[1,"date-placeholder"],"dateDaysFromToday":[2,"date-days-from-today"],"allowMultipleDates":[4,"allow-multiple-dates"],"startDateLabel":[1,"start-date-label"],"endDateLabel":[1,"end-date-label"],"multiDateHelperText":[1,"multi-date-helper-text"],"generateDatesButtonText":[1,"generate-dates-button-text"],"saveDateButtonText":[1,"save-date-button-text"],"noDatesText":[1,"no-dates-text"],"index":[2],"predefinedValue":[1,"predefined-value"],"yearsToAddToEndDate":[2,"years-to-add-to-end-date"],"buttonsArray":[32],"firstDropdownArr":[32],"secondDropdownArr":[32],"firstDropdownClass":[32],"secondDropdownClass":[32],"firstValidDateString":[32],"lastValidDateString":[32],"firstDropdownPlaceholder":[32],"secondDropdownPlaceholder":[32],"starDateValue":[32],"endDateValue":[32],"generatedDatesArr":[32],"selectedButtonValue":[32],"inputFieldValue":[32],"dateValue":[32],"daysArr":[32]}]]],["pn-dropdown-with-multi-input-rows-row",[[0,"pn-dropdown-with-multi-input-rows-row",{"languageCode":[1,"language-code"],"fristInputPlaceholder":[1,"frist-input-placeholder"],"firstInputMin":[2,"first-input-min"],"firstInputMax":[2,"first-input-max"],"firstInputWarning":[2,"first-input-warning"],"firstInputWarningText":[1,"first-input-warning-text"],"firstInputLowErrorText":[1,"first-input-low-error-text"],"firstInputHighErrorText":[1,"first-input-high-error-text"],"secondInputPlaceholder":[1,"second-input-placeholder"],"secondInputMin":[2,"second-input-min"],"secondInputMax":[2,"second-input-max"],"secondInputWarning":[2,"second-input-warning"],"secondInputWarningText":[1,"second-input-warning-text"],"secondInputLowErrorText":[1,"second-input-low-error-text"],"secondInputHighErrorText":[1,"second-input-high-error-text"],"dateLabel":[1,"date-label"],"datePlaceholder":[1,"date-placeholder"],"firstValidDate":[1,"first-valid-date"],"lastValidDate":[1,"last-valid-date"],"predefinedValue":[1,"predefined-value"],"rowIndex":[2,"row-index"],"minRowCount":[2,"min-row-count"],"showFirstInputWarning":[32],"showFirstInputLowError":[32],"showFirstInputHighError":[32],"showSecondInputWarning":[32],"showSecondInputLowError":[32],"showSecondInputHighError":[32],"firstInputValue":[32],"secondInputValue":[32],"dateValue":[32]}]]],["pn-share-item",[[4,"pn-share-item",{"link":[1],"text":[1]}]]],["pn-stats-info-data",[[0,"pn-stats-info-data",{"format":[1],"formatStyle":[1,"format-style"],"startValue":[2,"start-value"],"data":[2],"unit":[1],"preamble":[1],"duration":[2],"index":[2],"hasBeenShown":[32],"compId":[32]}]]],["pn-find-price-result",[[0,"pn-find-price-result",{"item":[1040],"shownitems":[16],"Usp1":[1,"usp-1"],"Usp2":[1,"usp-2"],"Usp3":[1,"usp-3"],"description":[16],"showMeasurement":[4,"show-measurement"],"weightText":[32],"linkId":[32],"shopLabel":[32],"shopUrl":[32],"shopId":[32]}]]],["pn-scroll_2",[[4,"pn-scroll",{"observerOptions":[16],"behaviourClasses":[1,"behaviour-classes"],"transitionDurationSeconds":[2,"transition-duration-seconds"],"shouldLoop":[4,"should-loop"],"intersectFunc":[16],"notIntersectFunc":[16],"compId":[32]}],[0,"pn-video-overlay",{"language":[1],"isPaused":[4,"is-paused"],"i18n":[32]}]]],["pn-filter-checkbox",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-mainnav-link",[[4,"pn-mainnav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-site-footer_3",[[4,"pn-site-footer",{"url":[1],"linktitle":[1],"theme":[513]}],[4,"pn-site-footer-col",{"theme":[513]}],[0,"pn-swan",{"licenseNumber":[1,"license-number"],"language":[1537],"linkTo":[1,"link-to"],"i18n":[32]}]]],["pn-choice-button",[[4,"pn-choice-button",{"value":[520],"name":[1],"choiceid":[1],"type":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-product-tile-info_2",[[0,"pn-product-tile-info",{"label":[1],"text":[1],"icon":[1]}],[0,"pn-product-tile-price",{"label":[1],"amount":[1],"currency":[1],"url":[1]}]]],["pn-marketweb-siteheader-login-linklist",[[0,"pn-marketweb-siteheader-login-linklist",{"heading":[1],"links":[16],"idNamespace":[1,"id-namespace"],"showUnifiedLogin":[4,"show-unified-login"]}]]],["pn-titletag",[[4,"pn-titletag",{"icon":[1],"color":[1537]}]]],["pn-marketweb-siteheader-login-button_5",[[0,"pn-marketweb-siteheader-unified-login",{"loggedIn":[4,"logged-in"],"myPageLabel":[1,"my-page-label"],"myPageUrl":[1,"my-page-url"],"logInLabel":[1,"log-in-label"]}],[0,"pn-marketweb-siteheader-login-links",{"loginDialog":[1040],"idNamespace":[1,"id-namespace"],"loggedin":[516],"username":[1],"showUnifiedLogin":[4,"show-unified-login"]}],[0,"pn-marketweb-siteheader-login-profileselection",{"loginDialog":[1040],"endpoint":[1],"loggedin":[4],"idNamespace":[1,"id-namespace"],"heading":[1],"i18n":[16],"currentProfile":[1040],"profileoptions":[1040],"user":[32],"logoutLink":[32],"userName":[32],"userEmail":[32]}],[0,"pn-marketweb-siteheader-login-button",{"label":[1]}],[0,"pn-marketweb-siteheader-login-mypage-button",{"label":[1],"myPageUrl":[1,"my-page-url"]}]]],["pn-language-selector_9",[[0,"pn-marketweb-siteheader-login",{"endpoint":[1],"token":[1],"i18n":[16],"siteUrl":[1,"site-url"],"emitEvents":[4,"emit-events"],"loginDialog":[1040],"fullname":[1],"loggedin":[4],"showProfileSelection":[1028,"show-profile-selection"],"showUnifiedLogin":[4,"show-unified-login"],"checkUserLoggedInStateInterval":[2,"check-user-logged-in-state-interval"],"environment":[1],"loginLinks":[32],"toggleButtonText":[32],"username":[32]}],[4,"pn-mainnav-level",{"label":[1537],"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"listCount":[32],"alignment":[32]}],[4,"pn-language-selector",{"value":[1537],"selectedLanguageName":[32],"options":[32],"i18n":[32]}],[0,"pn-language-selector-option",{"name":[1],"code":[1],"url":[1],"selected":[4],"currentLanguage":[1,"current-language"]}],[4,"pn-mainnav",{"market":[1],"language":[1],"navigationId":[1,"navigation-id"],"openMenu":[1028,"open-menu"],"navLabel":[1,"nav-label"]},[[0,"language","setLanguage"],[0,"market","setMarket"],[0,"menuLanguageChange","onLanguageChange"],[0,"setmenuopenstate","setMenuOpenState"],[0,"openMenuLevelChange","onOpenMenuLevelChange"]]],[4,"pn-mainnav-list",{"heading":[1],"linkCount":[32]}],[0,"pn-marketweb-siteheader-search",{"i18n":[8,"i-1-8n"],"showOnlyLink":[1028,"show-only-link"],"hideSearch":[1028,"hide-search"],"language":[1537],"siteid":[1],"search":[1040],"primary":[4],"icononly":[4],"autoCompleteOptions":[32]}],[4,"pn-site-selector",{"buttontext":[1537],"heading":[1537],"language":[1537],"i18n":[32]}],[0,"pn-site-selector-item",{"url":[1],"heading":[1],"description":[1],"newwindow":[4]}]]],["pn-proxio-productcard_4",[[4,"pn-proxio-productcard"],[0,"pn-proxio-productcard-description",{"heading":[1],"highlight":[1],"description":[1],"list":[1040]}],[0,"pn-proxio-productcard-information",{"label":[1],"information":[16]}],[0,"pn-proxio-productcard-pricelink",{"price":[1],"vatText":[1,"vat-text"],"link":[1],"linktext":[1]}]]],["pn-product-card_3",[[0,"pn-product-card-info",{"rulle":[1],"paket":[1],"label":[1],"text":[1]}],[0,"pn-product-card-price",{"label":[1],"amount":[1],"currency":[1],"note":[1],"url":[1],"service":[1],"linkid":[1]}],[4,"pn-product-card"]]]]'),e)}));
@@ -0,0 +1 @@
1
+ var __spreadArray=this&&this.__spreadArray||function(t,e,n){if(n||arguments.length===2)for(var i=0,r=e.length,a;i<r;i++){if(a||!(i in e)){if(!a)a=Array.prototype.slice.call(e,0,i);a[i]=e[i]}}return t.concat(a||Array.prototype.slice.call(e))};import{r as registerInstance,c as createEvent,h,a as Host,g as getElement}from"./index-ee44c065.js";import{d as debounce_1}from"./index-8976f360.js";import{v as v4}from"./v4-f450efa7.js";var pnMultipleInputCss="pn-multiple-input .multiple-input-generated-row,pn-multiple-input .multiple-input-row{display:-ms-flexbox;display:flex;gap:1rem}pn-multiple-input .multiple-input-generated-row pn-marketweb-input,pn-multiple-input .multiple-input-row pn-marketweb-input{width:100%}pn-multiple-input .multiple-input-slot{display:-ms-flexbox;display:flex;gap:1rem;-ms-flex-direction:column;flex-direction:column;margin-top:1rem;margin-bottom:1rem}";var PnMultipleInput=function(){function t(t){registerInstance(this,t);this.allFormValues=createEvent(this,"allFormValues",7);this.pnSlotElement=null;this._formValues=[];this.label=null;this.placeholder=null;this.addRowButtonText=null;this.rowData=[]}t.prototype.componentWillLoad=function(){var t=this.generateUniqueId();var e={id:t,input:""};this.rowData=__spreadArray(__spreadArray([],this.rowData,true),[e],false)};t.prototype.componentDidLoad=function(){this.addEventHandlers()};t.prototype.componentDidUpdate=function(){this.addEventHandlers()};t.prototype.addEventHandlers=function(){var t=this;var e=this.pnSlotElement.querySelectorAll("pn-marketweb-input");e.forEach((function(e){e.addEventListener("keyup",debounce_1.debounce(t.handleInput.bind(t),500))}))};t.prototype.generateUniqueId=function(){return v4()};t.prototype.deleteRow=function(t){if(t<0){return}this.rowData.splice(t,1);this.rowData=__spreadArray([],this.rowData,true);this.emitValues()};t.prototype.addRow=function(){var t={id:this.generateUniqueId(),input:""};this.rowData=__spreadArray(__spreadArray([],this.rowData,true),[t],false);this.emitValues()};t.prototype.handleInput=function(t){var e=t.target;var n=e.closest("pn-marketweb-input");if(!n){return}var i=n.id;var r=e.value;var a=this.rowData.findIndex((function(t){return t.id===i}));if(a<0){return}this.rowData[a]=Object.assign(Object.assign({},this.rowData[a]),{input:r});this.emitValues()};t.prototype.emitValues=function(){var t=this;this._formValues=[];var e=this.label?this.label:"InputField";this.rowData.forEach((function(n){var i={row:[]};if(n.input){var r={name:e,value:n.input};i.row.push(r)}if(i.row.length===1){t._formValues.push(i)}}));if(this._formValues.length===this.rowData.length){var n=JSON.stringify(this._formValues);this.allFormValues.emit(n)}else{this.allFormValues.emit("")}};t.prototype.render=function(){var t=this;var e;return h(Host,null,h("div",{ref:function(e){return t.pnSlotElement=e},class:"multiple-input-slot"},(e=this.rowData)===null||e===void 0?void 0:e.map((function(e,n){return h("div",{class:"multiple-input-generated-row"},h("pn-marketweb-input",{label:t.label,type:"text",placeholder:t.placeholder,value:e.input,id:e.id}),n>0?h("pn-button",{"icon-only":true,"aria-label":"Delete",icon:"minus",appearance:"warning",onClick:function(){t.deleteRow(n)},index:n,id:e.id},"Delete"):null)}))),h("dvi",{class:"multiple-input-row"},h("pn-button",{"icon-only":this.addRowButtonText?false:true,"left-icon":"true","aria-label":"Add",icon:"plus",appearance:"light",variant:"borderless",class:"connected-dropdown__button-right",onClick:function(){t.addRow()}},this.addRowButtonText)))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();PnMultipleInput.style=pnMultipleInputCss;export{PnMultipleInput as pn_multiple_input};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postnord/pn-marketweb-components",
3
- "version": "2.4.27",
3
+ "version": "2.4.28",
4
4
  "description": "PostNord Market Websites Components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as s,a as l,g as n}from"./p-57d37022.js";import{d as e}from"./p-4e3d7a56.js";import{v as h}from"./p-d3d7fec8.js";const o=class{constructor(s){t(this,s),this.allFormValues=i(this,"allFormValues",7),this.pnFirstDropdown=null,this.pnSecondDropdown=null,this.pnSumField=null,this.pnConfirmDeleteButton=null,this.pnAbortDeleteButton=null,this._firstDropdownSelection=null,this._secondDropdownSelection=null,this._defaultRow={id:this.generateUniqueId(),firstInput:"",secondInput:this.secondInputWarning.toString(),date:""},this.dropdownData=null,this.languageCode=null,this.firstDropdownLabel=null,this.firstDropdownHelperText=null,this.secondDropdownLabel=null,this.secondDropdownHelperText=null,this.secondDropdownMax=null,this.deleteMultipleRowsWarningText=null,this.confirmDeleteButtonText=null,this.abortDeleteButtonText=null,this.fristInputLabel=null,this.fristInputPlaceholder=null,this.firstInputMin=null,this.firstInputMax=null,this.firstInputWarning=null,this.firstInputWarningText=null,this.firstInputLowErrorText=null,this.firstInputHighErrorText=null,this.secondInputLabel=null,this.secondInputPlaceholder=null,this.secondInputMin=null,this.secondInputMax=null,this.secondInputWarning=null,this.secondInputWarningText=null,this.secondInputLowErrorText=null,this.secondInputHighErrorText=null,this.dateLabel=null,this.datePlaceholder=null,this.dateDaysFromToday=1,this.yearsToAddToEndDate=null,this.sumFieldLabel=null,this.addRowText=null,this.elementHelperText=null,this.dropdownDataRoot=null,this.secondDropdownArr=[],this.rowCount=null,this.rowData=null,this.formValues=null,this.firstValidDateString="",this.lastValidDateString="",this.rowSum=null,this.minRowCount=null,this.showDelteConfirm=!1}componentWillLoad(){this.formValues=[],this.setDropDownData(),this.updateSecondDropdown(),this.setRowData(),this.setFirstValidDate()}componentDidLoad(){this.updateSum()}setDropDownData(){var t;this.dropdownDataRoot="string"==typeof this.dropdownData?JSON.parse(this.dropdownData):this.dropdownData,(null===(t=this.dropdownDataRoot)||void 0===t?void 0:t.length)&&this.dropdownDataRoot.forEach((t=>{t.value||(t.value=0)})),this.dropdownDataRoot.length>0&&(this.dropdownDataRoot[0].checked=!0,this._firstDropdownSelection=this.dropdownDataRoot[0].caption,this._secondDropdownSelection=this.dropdownDataRoot[0].value,this.minRowCount=this.dropdownDataRoot[0].value)}updateSecondDropdown(){const t=this.dropdownDataRoot.find((t=>!0===t.checked));this.secondDropdownArr=[];for(let i=t.value;i<=this.secondDropdownMax;i++)this.secondDropdownArr.push(i)}updateSelectItemArr(t,i){return t.forEach((t=>{t.checked=t.caption===i&&!t.checked})),t}setRowData(){this.rowData=[];for(let t=0;t<this._secondDropdownSelection;t++){const t=Object.assign({},this._defaultRow);t.id=this.generateUniqueId(),this.rowData=[...this.rowData,t]}this.rowCount=this.rowData.length}generateUniqueId(){return h()}setFirstValidDate(){var t;const i=this.yearsToAddToEndDate?this.yearsToAddToEndDate:2,s=new Date;s.setDate(null!==(t=s.getDate()+this.dateDaysFromToday)&&void 0!==t?t:0);const l=s.getFullYear(),n=(s.getMonth()+1).toString().padStart(2,"0"),e=s.getDate().toString().padStart(2,"0"),h=l+i;this.firstValidDateString=`${l.toString()}-${n}-${e}`,this.lastValidDateString=`${h.toString()}-${n}-${e}`}addRow(t){const i=Object.assign({},this.rowData[0]);i.id=t||this.generateUniqueId(),i.date="",this.rowData=[...this.rowData,i],this.rowCount=this.rowData.length,this._secondDropdownSelection=this.rowCount,this.secondDropdownArr=[...this.secondDropdownArr],this.updateSum(),this.emitValuesIfValid()}handleFirstDropdown(){const t=this.pnFirstDropdown.querySelector(".current-selection .pn-option-content"),i=null==t?void 0:t.textContent;if(!(null==i?void 0:i.length))return;this.dropdownDataRoot.forEach((t=>{t.checked=!1}));const s=this.dropdownDataRoot.find((t=>t.caption===i));if(s.checked=!0,this._firstDropdownSelection=s.caption,this.minRowCount=s.value,s.value>this._secondDropdownSelection){this.dropdownDataRoot=[...this.dropdownDataRoot];for(let t=this.rowCount;t<s.value;t++)this.addRow(this.generateUniqueId())}this.updateSecondDropdown(),this.updateSum(),this.emitValuesIfValid()}handleSecondDropdown(){const t=this.pnSecondDropdown.querySelector(".current-selection .pn-option-content"),i=null==t?void 0:t.textContent;if(!(null==i?void 0:i.length))return;const s=parseInt(i);if(s<this._secondDropdownSelection)this.showDelteConfirm=!0;else for(let l=this.rowCount;l<s;l++)this.addRow(this.generateUniqueId());this.updateSum(),this.emitValuesIfValid()}predefinedValueChange(t){const i=this.rowData.findIndex((i=>i.id===t.detail.id)),s=t.detail;this.rowData[i]=Object.assign(Object.assign({},this.rowData[i]),{firstInput:s.firstInput,secondInput:s.secondInput,date:s.date}),"firstInputChange"===t.type&&0===i&&this.updateFirstInputOfRows(s.firstInput),"secondInputChange"===t.type&&0===i&&this.updateSecondInputOfRows(s.secondInput),this.rowData=[...this.rowData],this.emitValuesIfValid(),this.updateSum()}updateFirstInputOfRows(t){for(let i=1;i<this.rowCount;i++)this.rowData[i]=Object.assign(Object.assign({},this.rowData[i]),{firstInput:t})}updateSecondInputOfRows(t){for(let i=1;i<this.rowCount;i++)this.rowData[i]=Object.assign(Object.assign({},this.rowData[i]),{secondInput:t})}deleteRowEvent(t){const i=this.rowData.findIndex((i=>i.id===t.detail));i<0||(this.rowData.splice(i,1),this.rowData=[...this.rowData],this.rowCount=this.rowData.length,this._secondDropdownSelection=this.rowCount,this.secondDropdownArr=[...this.secondDropdownArr],this.emitValuesIfValid(),this.updateSum())}updateSum(){this.rowSum="";let t=0;this.rowData.forEach((i=>{var s;(null===(s=null==i?void 0:i.firstInput)||void 0===s?void 0:s.length)&&(t+=parseInt(i.firstInput))})),this.rowSum=t.toString()}deleteExcessRows(){const t=this.pnSecondDropdown.querySelector(".current-selection .pn-option-content"),i=null==t?void 0:t.textContent;if(!(null==i?void 0:i.length))return;const s=this.rowCount-parseInt(i);for(let l=0;l<s;l++)this.rowData.pop();this.rowData=[...this.rowData],this.showDelteConfirm=!1,this.updateSum()}abortDeleteRows(){this.showDelteConfirm=!1}emitValuesIfValid(){if(this.formValues=[],this.rowData.forEach((t=>{var i,s,l,n;const e={row:[]};(null===(i=this._firstDropdownSelection)||void 0===i?void 0:i.length)&&e.row.push({name:this.firstDropdownLabel,value:this._firstDropdownSelection}),(null===(s=t.firstInput)||void 0===s?void 0:s.length)&&e.row.push({name:this.fristInputLabel,value:t.firstInput}),(null===(l=t.secondInput)||void 0===l?void 0:l.length)&&e.row.push({name:this.secondInputLabel,value:t.secondInput}),(null===(n=t.date)||void 0===n?void 0:n.length)&&e.row.push({name:this.dateLabel,value:t.date}),4===e.row.length&&this.formValues.push(e)})),this.formValues.length===this.rowData.length){const t=JSON.stringify(this.formValues);this.allFormValues.emit(t)}else this.allFormValues.emit("")}render(){var t,i,n,h,o,u;return s(l,{class:"dropdown-with-multi-input-elemet"},s("div",{class:"dropdown-with-multi-input-elemet__row"},s("div",null,s("pn-select",{ref:t=>this.pnFirstDropdown=t,class:"pn-row-select-dropdown dropDown1-dropdown",label:this.firstDropdownLabel},null===(t=this.dropdownDataRoot)||void 0===t?void 0:t.map(((t,i)=>s("pn-option",{index:i,value:t.value,selected:t.checked,onClick:e.debounce(this.handleFirstDropdown.bind(this),500)},t.caption)))),(null===(i=this.firstDropdownHelperText)||void 0===i?void 0:i.length)?s("small",null,this.firstDropdownHelperText):null)),s("div",{class:"dropdown-with-multi-input-elemet__row"},s("div",null,s("pn-select",{ref:t=>this.pnSecondDropdown=t,class:"pn-row-select-dropdown dropDown2-dropdown",label:this.secondDropdownLabel},null===(n=this.secondDropdownArr)||void 0===n?void 0:n.map(((t,i)=>s("pn-option",{index:i,value:t,selected:t===this._secondDropdownSelection,onClick:e.debounce(this.handleSecondDropdown.bind(this),500)},t)))),(null===(h=this.secondDropdownHelperText)||void 0===h?void 0:h.length)?s("small",null,this.secondDropdownHelperText):null)),this.showDelteConfirm?s("div",{class:"dropdown-with-multi-input-elemet__delete"},s("p",null,this.deleteMultipleRowsWarningText),s("pn-button",{ref:t=>this.pnConfirmDeleteButton=t,small:"true",appearance:"warning",onClick:this.deleteExcessRows.bind(this)},this.confirmDeleteButtonText),s("pn-button",{ref:t=>this.pnAbortDeleteButton=t,small:"true",appearance:"light",onClick:this.abortDeleteRows.bind(this)},this.abortDeleteButtonText)):null,s("div",{class:"dropdown-with-multi-input-elemet__label-row"},s("div",{class:"dropdown-with-multi-input-elemet__label"},s("label",null,this.fristInputLabel)),s("div",{class:"dropdown-with-multi-input-elemet__label"},s("label",null,this.secondInputLabel)),s("div",{class:"dropdown-with-multi-input-elemet__label"},s("label",null,this.dateLabel))),null===(o=this.rowData)||void 0===o?void 0:o.map(((t,i)=>s("div",{class:"dropdown-with-multi-input-elemet__row generated-row-"+i,id:"generated-row-"+i},s("pn-dropdown-with-multi-input-rows-row",{"language-code":this.languageCode,"frist-input-placeholder":this.fristInputPlaceholder,"first-input-min":this.firstInputMin,"first-input-max":this.firstInputMax,"first-input-warning":this.firstInputWarning,"first-input-warning-text":this.firstInputWarningText,"first-input-low-error-text":this.firstInputLowErrorText,"first-input-high-error-text":this.firstInputHighErrorText,"second-input-placeholder":this.secondInputPlaceholder,"second-input-min":this.secondInputMin,"second-input-max":this.secondInputMax,"second-input-warning":this.secondInputWarning,"second-input-warning-text":this.secondInputWarningText,"second-input-low-error-text":this.secondInputLowErrorText,"second-input-high-error-text":this.secondInputHighErrorText,datePlaceholder:this.datePlaceholder,firstValidDate:this.firstValidDateString,lastValidDate:this.lastValidDateString,"predefined-value":JSON.stringify(t),"min-row-count":this.minRowCount,"row-index":i})))),s("div",{class:"dropdown-with-multi-input-elemet__row sum-row"},s("pn-marketweb-input",{disabled:!0,ref:t=>this.pnSumField=t,type:"number",value:this.rowSum,label:this.sumFieldLabel}),s("pn-button",{"icon-only":!this.addRowText,"left-icon":"true","aria-label":"Add",icon:"plus",appearance:"light",variant:"borderless",class:"connected-dropdown__button-right",onClick:()=>{this.addRow(this.generateUniqueId())}},this.addRowText)),(null===(u=this.elementHelperText)||void 0===u?void 0:u.length)?s("div",{class:"dropdown-with-multi-input-elemet__row"},this.elementHelperText):null)}get hostElement(){return n(this)}};o.style="pn-dropdown-with-multi-input-rows .dropdown-with-multi-input-elemet__row{margin-bottom:1rem}pn-dropdown-with-multi-input-rows .dropdown-with-multi-input-elemet__delete{display:-ms-flexbox;display:flex;gap:1rem;margin-bottom:1rem;padding:1rem;background-color:#F9F8F8}pn-dropdown-with-multi-input-rows .dropdown-with-multi-input-elemet__delete pn-button{margin-top:0.9rem}pn-dropdown-with-multi-input-rows .dropdown-with-multi-input-elemet__label-row{display:-ms-flexbox;display:flex;gap:1rem}pn-dropdown-with-multi-input-rows .dropdown-with-multi-input-elemet__label{width:30%;font-size:0.875em;color:#5e554a}pn-dropdown-with-multi-input-rows .sum-row{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}";export{o as pn_dropdown_with_multi_input_rows}
@@ -0,0 +1 @@
1
+ var __spreadArray=this&&this.__spreadArray||function(t,e,n){if(n||arguments.length===2)for(var o=0,i=e.length,r;o<i;o++){if(r||!(o in e)){if(!r)r=Array.prototype.slice.call(e,0,o);r[o]=e[o]}}return t.concat(r||Array.prototype.slice.call(e))};System.register(["./p-7ffa5533.system.js","./p-296637c0.system.js","./p-e351523a.system.js"],(function(t){"use strict";var e,n,o,i,r,s,a;return{setters:[function(t){e=t.r;n=t.c;o=t.h;i=t.a;r=t.g},function(t){s=t.d},function(t){a=t.v}],execute:function(){var l="pn-dropdown-with-multi-input-rows .dropdown-with-multi-input-elemet__row{margin-bottom:1rem}pn-dropdown-with-multi-input-rows .dropdown-with-multi-input-elemet__delete{display:-ms-flexbox;display:flex;gap:1rem;margin-bottom:1rem;padding:1rem;background-color:#F9F8F8}pn-dropdown-with-multi-input-rows .dropdown-with-multi-input-elemet__delete pn-button{margin-top:0.9rem}pn-dropdown-with-multi-input-rows .dropdown-with-multi-input-elemet__label-row{display:-ms-flexbox;display:flex;gap:1rem}pn-dropdown-with-multi-input-rows .dropdown-with-multi-input-elemet__label{width:30%;font-size:0.875em;color:#5e554a}pn-dropdown-with-multi-input-rows .sum-row{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}";var d=t("pn_dropdown_with_multi_input_rows",function(){function t(t){e(this,t);this.allFormValues=n(this,"allFormValues",7);this.pnFirstDropdown=null;this.pnSecondDropdown=null;this.pnSumField=null;this.pnConfirmDeleteButton=null;this.pnAbortDeleteButton=null;this._firstDropdownSelection=null;this._secondDropdownSelection=null;this._defaultRow={id:this.generateUniqueId(),firstInput:"",secondInput:this.secondInputWarning.toString(),date:""};this.dropdownData=null;this.languageCode=null;this.firstDropdownLabel=null;this.firstDropdownHelperText=null;this.secondDropdownLabel=null;this.secondDropdownHelperText=null;this.secondDropdownMax=null;this.deleteMultipleRowsWarningText=null;this.confirmDeleteButtonText=null;this.abortDeleteButtonText=null;this.fristInputLabel=null;this.fristInputPlaceholder=null;this.firstInputMin=null;this.firstInputMax=null;this.firstInputWarning=null;this.firstInputWarningText=null;this.firstInputLowErrorText=null;this.firstInputHighErrorText=null;this.secondInputLabel=null;this.secondInputPlaceholder=null;this.secondInputMin=null;this.secondInputMax=null;this.secondInputWarning=null;this.secondInputWarningText=null;this.secondInputLowErrorText=null;this.secondInputHighErrorText=null;this.dateLabel=null;this.datePlaceholder=null;this.dateDaysFromToday=1;this.yearsToAddToEndDate=null;this.sumFieldLabel=null;this.addRowText=null;this.elementHelperText=null;this.dropdownDataRoot=null;this.secondDropdownArr=[];this.rowCount=null;this.rowData=null;this.formValues=null;this.firstValidDateString="";this.lastValidDateString="";this.rowSum=null;this.minRowCount=null;this.showDelteConfirm=false}t.prototype.componentWillLoad=function(){this.formValues=[];this.setDropDownData();this.updateSecondDropdown();this.setRowData();this.setFirstValidDate()};t.prototype.componentDidLoad=function(){this.updateSum()};t.prototype.setDropDownData=function(){var t;if(typeof this.dropdownData==="string"){this.dropdownDataRoot=JSON.parse(this.dropdownData)}else{this.dropdownDataRoot=this.dropdownData}if((t=this.dropdownDataRoot)===null||t===void 0?void 0:t.length){this.dropdownDataRoot.forEach((function(t){if(!t.value){t.value=0}}))}if(this.dropdownDataRoot.length>0){this.dropdownDataRoot[0].checked=true;this._firstDropdownSelection=this.dropdownDataRoot[0].caption;this._secondDropdownSelection=this.dropdownDataRoot[0].value;this.minRowCount=this.dropdownDataRoot[0].value}};t.prototype.updateSecondDropdown=function(){var t=this.dropdownDataRoot.find((function(t){return t.checked===true}));this.secondDropdownArr=[];for(var e=t.value;e<=this.secondDropdownMax;e++){this.secondDropdownArr.push(e)}};t.prototype.updateSelectItemArr=function(t,e){t.forEach((function(t){if(t.caption===e){t.checked=!t.checked}else{t.checked=false}}));return t};t.prototype.setRowData=function(){this.rowData=[];for(var t=0;t<this._secondDropdownSelection;t++){var e=Object.assign({},this._defaultRow);e.id=this.generateUniqueId();this.rowData=__spreadArray(__spreadArray([],this.rowData,true),[e],false)}this.rowCount=this.rowData.length};t.prototype.generateUniqueId=function(){return a()};t.prototype.setFirstValidDate=function(){var t;var e=this.yearsToAddToEndDate?this.yearsToAddToEndDate:2;var n=new Date;n.setDate((t=n.getDate()+this.dateDaysFromToday)!==null&&t!==void 0?t:0);var o=n.getFullYear();var i=(n.getMonth()+1).toString().padStart(2,"0");var r=n.getDate().toString().padStart(2,"0");var s=o+e;this.firstValidDateString="".concat(o.toString(),"-").concat(i,"-").concat(r);this.lastValidDateString="".concat(s.toString(),"-").concat(i,"-").concat(r)};t.prototype.addRow=function(t){var e=Object.assign({},this.rowData[0]);e.id=t?t:this.generateUniqueId();e.date="";this.rowData=__spreadArray(__spreadArray([],this.rowData,true),[e],false);this.rowCount=this.rowData.length;this._secondDropdownSelection=this.rowCount;this.secondDropdownArr=__spreadArray([],this.secondDropdownArr,true);this.updateSum();this.emitValuesIfValid()};t.prototype.handleFirstDropdown=function(){var t=this.pnFirstDropdown.querySelector(".current-selection .pn-option-content");var e=t===null||t===void 0?void 0:t.textContent;if(!(e===null||e===void 0?void 0:e.length)){return}this.dropdownDataRoot.forEach((function(t){t.checked=false}));var n=this.dropdownDataRoot.find((function(t){return t.caption===e}));n.checked=true;this._firstDropdownSelection=n.caption;this.minRowCount=n.value;if(n.value>this._secondDropdownSelection){this.dropdownDataRoot=__spreadArray([],this.dropdownDataRoot,true);for(var o=this.rowCount;o<n.value;o++){this.addRow(this.generateUniqueId())}}this.updateSecondDropdown();this.updateSum();this.emitValuesIfValid()};t.prototype.handleSecondDropdown=function(){var t=this.pnSecondDropdown.querySelector(".current-selection .pn-option-content");var e=t===null||t===void 0?void 0:t.textContent;if(!(e===null||e===void 0?void 0:e.length)){return}var n=parseInt(e);if(n<this._secondDropdownSelection){this.showDelteConfirm=true}else{for(var o=this.rowCount;o<n;o++){this.addRow(this.generateUniqueId())}}this.updateSum();this.emitValuesIfValid()};t.prototype.predefinedValueChange=function(t){var e=this.rowData.findIndex((function(e){return e.id===t.detail.id}));var n=t.detail;this.rowData[e]=Object.assign(Object.assign({},this.rowData[e]),{firstInput:n.firstInput,secondInput:n.secondInput,date:n.date});if(t.type==="firstInputChange"&&e===0){this.updateFirstInputOfRows(n.firstInput)}if(t.type==="secondInputChange"&&e===0){this.updateSecondInputOfRows(n.secondInput)}this.rowData=__spreadArray([],this.rowData,true);this.emitValuesIfValid();this.updateSum()};t.prototype.updateFirstInputOfRows=function(t){for(var e=1;e<this.rowCount;e++){this.rowData[e]=Object.assign(Object.assign({},this.rowData[e]),{firstInput:t})}};t.prototype.updateSecondInputOfRows=function(t){for(var e=1;e<this.rowCount;e++){this.rowData[e]=Object.assign(Object.assign({},this.rowData[e]),{secondInput:t})}};t.prototype.deleteRowEvent=function(t){var e=this.rowData.findIndex((function(e){return e.id===t.detail}));if(e<0){return}this.rowData.splice(e,1);this.rowData=__spreadArray([],this.rowData,true);this.rowCount=this.rowData.length;this._secondDropdownSelection=this.rowCount;this.secondDropdownArr=__spreadArray([],this.secondDropdownArr,true);this.emitValuesIfValid();this.updateSum()};t.prototype.updateSum=function(){this.rowSum="";var t=0;this.rowData.forEach((function(e){var n;if((n=e===null||e===void 0?void 0:e.firstInput)===null||n===void 0?void 0:n.length){t+=parseInt(e.firstInput)}}));this.rowSum=t.toString()};t.prototype.deleteExcessRows=function(){var t=this.pnSecondDropdown.querySelector(".current-selection .pn-option-content");var e=t===null||t===void 0?void 0:t.textContent;if(!(e===null||e===void 0?void 0:e.length)){return}var n=this.rowCount-parseInt(e);for(var o=0;o<n;o++){this.rowData.pop()}this.rowData=__spreadArray([],this.rowData,true);this.showDelteConfirm=false;this.updateSum()};t.prototype.abortDeleteRows=function(){this.showDelteConfirm=false};t.prototype.emitValuesIfValid=function(){var t=this;this.formValues=[];this.rowData.forEach((function(e){var n,o,i,r;var s={row:[]};if((n=t._firstDropdownSelection)===null||n===void 0?void 0:n.length){var a={name:t.firstDropdownLabel,value:t._firstDropdownSelection};s.row.push(a)}if((o=e.firstInput)===null||o===void 0?void 0:o.length){var l={name:t.fristInputLabel,value:e.firstInput};s.row.push(l)}if((i=e.secondInput)===null||i===void 0?void 0:i.length){var d={name:t.secondInputLabel,value:e.secondInput};s.row.push(d)}if((r=e.date)===null||r===void 0?void 0:r.length){var u={name:t.dateLabel,value:e.date};s.row.push(u)}if(s.row.length===4){t.formValues.push(s)}}));if(this.formValues.length===this.rowData.length){var e=JSON.stringify(this.formValues);this.allFormValues.emit(e)}else{this.allFormValues.emit("")}};t.prototype.render=function(){var t=this;var e,n,r,a,l,d;return o(i,{class:"dropdown-with-multi-input-elemet"},o("div",{class:"dropdown-with-multi-input-elemet__row"},o("div",null,o("pn-select",{ref:function(e){return t.pnFirstDropdown=e},class:"pn-row-select-dropdown dropDown1-dropdown",label:this.firstDropdownLabel},(e=this.dropdownDataRoot)===null||e===void 0?void 0:e.map((function(e,n){return o("pn-option",{index:n,value:e.value,selected:e.checked,onClick:s.debounce(t.handleFirstDropdown.bind(t),500)},e.caption)}))),((n=this.firstDropdownHelperText)===null||n===void 0?void 0:n.length)?o("small",null,this.firstDropdownHelperText):null)),o("div",{class:"dropdown-with-multi-input-elemet__row"},o("div",null,o("pn-select",{ref:function(e){return t.pnSecondDropdown=e},class:"pn-row-select-dropdown dropDown2-dropdown",label:this.secondDropdownLabel},(r=this.secondDropdownArr)===null||r===void 0?void 0:r.map((function(e,n){return o("pn-option",{index:n,value:e,selected:e===t._secondDropdownSelection,onClick:s.debounce(t.handleSecondDropdown.bind(t),500)},e)}))),((a=this.secondDropdownHelperText)===null||a===void 0?void 0:a.length)?o("small",null,this.secondDropdownHelperText):null)),this.showDelteConfirm?o("div",{class:"dropdown-with-multi-input-elemet__delete"},o("p",null,this.deleteMultipleRowsWarningText),o("pn-button",{ref:function(e){return t.pnConfirmDeleteButton=e},small:"true",appearance:"warning",onClick:this.deleteExcessRows.bind(this)},this.confirmDeleteButtonText),o("pn-button",{ref:function(e){return t.pnAbortDeleteButton=e},small:"true",appearance:"light",onClick:this.abortDeleteRows.bind(this)},this.abortDeleteButtonText)):null,o("div",{class:"dropdown-with-multi-input-elemet__label-row"},o("div",{class:"dropdown-with-multi-input-elemet__label"},o("label",null,this.fristInputLabel)),o("div",{class:"dropdown-with-multi-input-elemet__label"},o("label",null,this.secondInputLabel)),o("div",{class:"dropdown-with-multi-input-elemet__label"},o("label",null,this.dateLabel))),(l=this.rowData)===null||l===void 0?void 0:l.map((function(e,n){return o("div",{class:"dropdown-with-multi-input-elemet__row generated-row-"+n,id:"generated-row-"+n},o("pn-dropdown-with-multi-input-rows-row",{"language-code":t.languageCode,"frist-input-placeholder":t.fristInputPlaceholder,"first-input-min":t.firstInputMin,"first-input-max":t.firstInputMax,"first-input-warning":t.firstInputWarning,"first-input-warning-text":t.firstInputWarningText,"first-input-low-error-text":t.firstInputLowErrorText,"first-input-high-error-text":t.firstInputHighErrorText,"second-input-placeholder":t.secondInputPlaceholder,"second-input-min":t.secondInputMin,"second-input-max":t.secondInputMax,"second-input-warning":t.secondInputWarning,"second-input-warning-text":t.secondInputWarningText,"second-input-low-error-text":t.secondInputLowErrorText,"second-input-high-error-text":t.secondInputHighErrorText,datePlaceholder:t.datePlaceholder,firstValidDate:t.firstValidDateString,lastValidDate:t.lastValidDateString,"predefined-value":JSON.stringify(e),"min-row-count":t.minRowCount,"row-index":n}))})),o("div",{class:"dropdown-with-multi-input-elemet__row sum-row"},o("pn-marketweb-input",{disabled:true,ref:function(e){return t.pnSumField=e},type:"number",value:this.rowSum,label:this.sumFieldLabel}),o("pn-button",{"icon-only":this.addRowText?false:true,"left-icon":"true","aria-label":"Add",icon:"plus",appearance:"light",variant:"borderless",class:"connected-dropdown__button-right",onClick:function(){t.addRow(t.generateUniqueId())}},this.addRowText)),((d=this.elementHelperText)===null||d===void 0?void 0:d.length)?o("div",{class:"dropdown-with-multi-input-elemet__row"},this.elementHelperText):null)};Object.defineProperty(t.prototype,"hostElement",{get:function(){return r(this)},enumerable:false,configurable:true});return t}());d.style=l}}}));
@@ -0,0 +1 @@
1
+ var __spreadArray=this&&this.__spreadArray||function(t,e,n){if(n||arguments.length===2)for(var i=0,r=e.length,a;i<r;i++){if(a||!(i in e)){if(!a)a=Array.prototype.slice.call(e,0,i);a[i]=e[i]}}return t.concat(a||Array.prototype.slice.call(e))};System.register(["./p-7ffa5533.system.js","./p-296637c0.system.js","./p-e351523a.system.js"],(function(t){"use strict";var e,n,i,r,a,l,o;return{setters:[function(t){e=t.r;n=t.c;i=t.h;r=t.a;a=t.g},function(t){l=t.d},function(t){o=t.v}],execute:function(){var u="pn-multiple-input .multiple-input-generated-row,pn-multiple-input .multiple-input-row{display:-ms-flexbox;display:flex;gap:1rem}pn-multiple-input .multiple-input-generated-row pn-marketweb-input,pn-multiple-input .multiple-input-row pn-marketweb-input{width:100%}pn-multiple-input .multiple-input-slot{display:-ms-flexbox;display:flex;gap:1rem;-ms-flex-direction:column;flex-direction:column;margin-top:1rem;margin-bottom:1rem}";var s=t("pn_multiple_input",function(){function t(t){e(this,t);this.allFormValues=n(this,"allFormValues",7);this.pnSlotElement=null;this._formValues=[];this.label=null;this.placeholder=null;this.addRowButtonText=null;this.rowData=[]}t.prototype.componentWillLoad=function(){var t=this.generateUniqueId();var e={id:t,input:""};this.rowData=__spreadArray(__spreadArray([],this.rowData,true),[e],false)};t.prototype.componentDidLoad=function(){this.addEventHandlers()};t.prototype.componentDidUpdate=function(){this.addEventHandlers()};t.prototype.addEventHandlers=function(){var t=this;var e=this.pnSlotElement.querySelectorAll("pn-marketweb-input");e.forEach((function(e){e.addEventListener("keyup",l.debounce(t.handleInput.bind(t),500))}))};t.prototype.generateUniqueId=function(){return o()};t.prototype.deleteRow=function(t){if(t<0){return}this.rowData.splice(t,1);this.rowData=__spreadArray([],this.rowData,true);this.emitValues()};t.prototype.addRow=function(){var t={id:this.generateUniqueId(),input:""};this.rowData=__spreadArray(__spreadArray([],this.rowData,true),[t],false);this.emitValues()};t.prototype.handleInput=function(t){var e=t.target;var n=e.closest("pn-marketweb-input");if(!n){return}var i=n.id;var r=e.value;var a=this.rowData.findIndex((function(t){return t.id===i}));if(a<0){return}this.rowData[a]=Object.assign(Object.assign({},this.rowData[a]),{input:r});this.emitValues()};t.prototype.emitValues=function(){var t=this;this._formValues=[];var e=this.label?this.label:"InputField";this.rowData.forEach((function(n){var i={row:[]};if(n.input){var r={name:e,value:n.input};i.row.push(r)}if(i.row.length===1){t._formValues.push(i)}}));if(this._formValues.length===this.rowData.length){var n=JSON.stringify(this._formValues);this.allFormValues.emit(n)}else{this.allFormValues.emit("")}};t.prototype.render=function(){var t=this;var e;return i(r,null,i("div",{ref:function(e){return t.pnSlotElement=e},class:"multiple-input-slot"},(e=this.rowData)===null||e===void 0?void 0:e.map((function(e,n){return i("div",{class:"multiple-input-generated-row"},i("pn-marketweb-input",{label:t.label,type:"text",placeholder:t.placeholder,value:e.input,id:e.id}),n>0?i("pn-button",{"icon-only":true,"aria-label":"Delete",icon:"minus",appearance:"warning",onClick:function(){t.deleteRow(n)},index:n,id:e.id},"Delete"):null)}))),i("dvi",{class:"multiple-input-row"},i("pn-button",{"icon-only":this.addRowButtonText?false:true,"left-icon":"true","aria-label":"Add",icon:"plus",appearance:"light",variant:"borderless",class:"connected-dropdown__button-right",onClick:function(){t.addRow()}},this.addRowButtonText)))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());s.style=u}}}));
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as e,a as n,g as s}from"./p-57d37022.js";import{d as l}from"./p-4e3d7a56.js";import{v as p}from"./p-d3d7fec8.js";const o=class{constructor(e){t(this,e),this.allFormValues=i(this,"allFormValues",7),this.pnSlotElement=null,this._formValues=[],this.label=null,this.placeholder=null,this.addRowButtonText=null,this.rowData=[]}componentWillLoad(){const t=this.generateUniqueId();this.rowData=[...this.rowData,{id:t,input:""}]}componentDidLoad(){this.addEventHandlers()}componentDidUpdate(){this.addEventHandlers()}addEventHandlers(){this.pnSlotElement.querySelectorAll("pn-marketweb-input").forEach((t=>{t.addEventListener("keyup",l.debounce(this.handleInput.bind(this),500))}))}generateUniqueId(){return p()}deleteRow(t){t<0||(this.rowData.splice(t,1),this.rowData=[...this.rowData],this.emitValues())}addRow(){const t={id:this.generateUniqueId(),input:""};this.rowData=[...this.rowData,t],this.emitValues()}handleInput(t){const i=t.target,e=i.closest("pn-marketweb-input");if(!e)return;const n=e.id,s=i.value,l=this.rowData.findIndex((t=>t.id===n));l<0||(this.rowData[l]=Object.assign(Object.assign({},this.rowData[l]),{input:s}),this.emitValues())}emitValues(){this._formValues=[];const t=this.label?this.label:"InputField";if(this.rowData.forEach((i=>{const e={row:[]};i.input&&e.row.push({name:t,value:i.input}),1===e.row.length&&this._formValues.push(e)})),this._formValues.length===this.rowData.length){const t=JSON.stringify(this._formValues);this.allFormValues.emit(t)}else this.allFormValues.emit("")}render(){var t;return e(n,null,e("div",{ref:t=>this.pnSlotElement=t,class:"multiple-input-slot"},null===(t=this.rowData)||void 0===t?void 0:t.map(((t,i)=>e("div",{class:"multiple-input-generated-row"},e("pn-marketweb-input",{label:this.label,type:"text",placeholder:this.placeholder,value:t.input,id:t.id}),i>0?e("pn-button",{"icon-only":!0,"aria-label":"Delete",icon:"minus",appearance:"warning",onClick:()=>{this.deleteRow(i)},index:i,id:t.id},"Delete"):null)))),e("dvi",{class:"multiple-input-row"},e("pn-button",{"icon-only":!this.addRowButtonText,"left-icon":"true","aria-label":"Add",icon:"plus",appearance:"light",variant:"borderless",class:"connected-dropdown__button-right",onClick:()=>{this.addRow()}},this.addRowButtonText)))}get hostElement(){return s(this)}};o.style="pn-multiple-input .multiple-input-generated-row,pn-multiple-input .multiple-input-row{display:-ms-flexbox;display:flex;gap:1rem}pn-multiple-input .multiple-input-generated-row pn-marketweb-input,pn-multiple-input .multiple-input-row pn-marketweb-input{width:100%}pn-multiple-input .multiple-input-slot{display:-ms-flexbox;display:flex;gap:1rem;-ms-flex-direction:column;flex-direction:column;margin-top:1rem;margin-bottom:1rem}";export{o as pn_multiple_input}
@@ -0,0 +1 @@
1
+ System.register(["./p-7ffa5533.system.js","./p-296637c0.system.js"],(function(t){"use strict";var e,n,i,s,r,o;return{setters:[function(t){e=t.r;n=t.c;i=t.h;s=t.a;r=t.g},function(t){o=t.d}],execute:function(){var u="pn-dropdown-with-multi-input-rows-row .input-element-row{display:-ms-flexbox;display:flex;gap:1rem;margin-bottom:1rem}pn-dropdown-with-multi-input-rows-row .input-element-row .input-container{width:30%}pn-dropdown-with-multi-input-rows-row .input-element-row .input-container pn-marketweb-input .input-container{width:100%}pn-dropdown-with-multi-input-rows-row .input-element-row .input-container pn-date-picker{width:100%}pn-dropdown-with-multi-input-rows-row .input-element-row .input-container .input-element-message-container{margin-top:0.3rem}pn-dropdown-with-multi-input-rows-row .input-element-row .input-container .input-element-message-container__error{color:red;line-height:1}pn-dropdown-with-multi-input-rows-row .input-element-row .input-container .input-element-message-container__warning{line-height:1}pn-dropdown-with-multi-input-rows-row .delete-button-contianer{margin-top:0.6rem}";var l=t("pn_dropdown_with_multi_input_rows_row",function(){function t(t){e(this,t);this.rowValueChange=n(this,"rowValueChange",7);this.deleteRowEvent=n(this,"deleteRowEvent",7);this.firstInputChange=n(this,"firstInputChange",7);this.secondInputChange=n(this,"secondInputChange",7);this.pnFirstInputField=null;this.pnSecondInputField=null;this.pnDatePicker=null;this.pnDeleteRowButton=null;this.languageCode=null;this.fristInputPlaceholder=null;this.firstInputMin=null;this.firstInputMax=null;this.firstInputWarning=null;this.firstInputWarningText=null;this.firstInputLowErrorText=null;this.firstInputHighErrorText=null;this.secondInputPlaceholder=null;this.secondInputMin=null;this.secondInputMax=null;this.secondInputWarning=null;this.secondInputWarningText=null;this.secondInputLowErrorText=null;this.secondInputHighErrorText=null;this.dateLabel=null;this.datePlaceholder=null;this.firstValidDate=null;this.lastValidDate=null;this.predefinedValue=null;this.rowIndex=null;this.minRowCount=null;this.showFirstInputWarning=false;this.showFirstInputLowError=false;this.showFirstInputHighError=false;this.showSecondInputWarning=false;this.showSecondInputLowError=false;this.showSecondInputHighError=false;this.firstInputValue="";this.secondInputValue="";this.dateValue=""}t.prototype.componentWillLoad=function(){this.getPredefinedValues();this.setInitialValues()};t.prototype.componentDidLoad=function(){this.addEventHandlers()};t.prototype.getPredefinedValues=function(){this._predefinedValue=JSON.parse(this.predefinedValue)};t.prototype.applyPredefinedValue=function(){var t,e;this.getPredefinedValues();this.setInitialValues();if((t=this.firstInputValue)===null||t===void 0?void 0:t.length){this.validateFirstInput(parseInt(this.firstInputValue))}if((e=this.secondInputValue)===null||e===void 0?void 0:e.length){this.validateSecondInput(parseInt(this.secondInputValue))}if(this.rowIndex>=this.minRowCount){this.pnDeleteRowButton.addEventListener("click",this.deleteRow.bind(this))}};t.prototype.setInitialValues=function(){this.firstInputValue=this._predefinedValue.firstInput;this.secondInputValue=this._predefinedValue.secondInput;this.dateValue=this._predefinedValue.date};t.prototype.addEventHandlers=function(){var t=o.debounce(this.emitRowValues.bind(this),500);this.pnFirstInputField.addEventListener("keyup",o.debounce(this.handleFirstInput.bind(this),500));this.pnSecondInputField.addEventListener("keyup",o.debounce(this.handleSecondInput.bind(this),500));this.pnDatePicker.addEventListener("dateselection",this.handleDateChange.bind(this));this.pnDatePicker.addEventListener("dateselection",t)};t.prototype.handleFirstInput=function(t){var e=t.target;var n=parseInt(e.value);if(n>0){this.firstInputValue=e.value;this.firstInputChange.emit({id:this._predefinedValue.id,firstInput:this.firstInputValue,secondInput:this.secondInputValue,date:this.dateValue})}this.validateFirstInput(n);this.emitRowValues()};t.prototype.handleSecondInput=function(t){var e=t.target;var n=parseInt(e.value);if(n>0){this.secondInputValue=e.value;this.secondInputChange.emit({id:this._predefinedValue.id,firstInput:this.firstInputValue,secondInput:this.secondInputValue,date:this.dateValue})}this.validateSecondInput(n);this.emitRowValues()};t.prototype.validateFirstInput=function(t){this.showFirstInputWarning=false;this.showFirstInputLowError=false;this.showFirstInputHighError=false;if(t<this.firstInputWarning){this.showFirstInputWarning=true}if(t<this.firstInputMin){this.showFirstInputWarning=false;this.showFirstInputLowError=true}if(t>this.firstInputMax){this.showFirstInputWarning=false;this.showFirstInputLowError=false;this.showFirstInputHighError=true}};t.prototype.validateSecondInput=function(t){this.showSecondInputWarning=false;this.showSecondInputLowError=false;this.showSecondInputHighError=false;if(t<this.secondInputWarning){this.showSecondInputWarning=true}if(t<this.secondInputMin){this.showSecondInputWarning=false;this.showSecondInputLowError=true}if(t>this.secondInputMax){this.showSecondInputWarning=false;this.showSecondInputLowError=false;this.showSecondInputHighError=true}};t.prototype.handleDateChange=function(t){var e=t.target;if(e===this.pnDatePicker){this.dateValue=t.detail}};t.prototype.emitRowValues=function(){this.rowValueChange.emit({id:this._predefinedValue.id,firstInput:this.firstInputValue,secondInput:this.secondInputValue,date:this.dateValue})};t.prototype.deleteRow=function(){this.deleteRowEvent.emit(this._predefinedValue.id)};t.prototype.render=function(){var t=this;var e;return i(s,null,i("div",{class:"input-element-row"},i("div",{class:"input-container"},i("pn-marketweb-input",{ref:function(e){return t.pnFirstInputField=e},type:"number",placeholder:this.fristInputPlaceholder,value:this.firstInputValue,min:"1"}),this.showFirstInputLowError||this.showFirstInputHighError||this.showFirstInputWarning?i("div",{class:"input-element-message-container"},this.showFirstInputLowError?i("div",{class:"input-element-message-container__error"},i("small",null,this.firstInputLowErrorText)):null,this.showFirstInputHighError?i("div",{class:"input-element-message-container__error"},i("small",null,this.firstInputHighErrorText)):null,this.showFirstInputWarning?i("div",{class:"input-element-message-container__warning"},i("small",null,this.firstInputWarningText)):null):null),i("div",{class:"input-container"},i("pn-marketweb-input",{ref:function(e){return t.pnSecondInputField=e},type:"number",placeholder:this.secondInputPlaceholder,value:this.secondInputValue,min:"1"}),this.showSecondInputLowError||this.showSecondInputHighError||this.showSecondInputWarning?i("div",{class:"input-element-message-container"},this.showSecondInputLowError?i("div",{class:"input-element-message-container__error"},i("small",null,this.secondInputLowErrorText)):null,this.showSecondInputHighError?i("div",{class:"input-element-message-container__error"},i("small",null,this.secondInputHighErrorText)):null,this.showSecondInputWarning?i("div",{class:"input-element-message-container__warning"},i("small",null,this.secondInputWarningText)):null):null),i("div",{class:"input-container"},i("pn-date-picker",{ref:function(e){return t.pnDatePicker=e},range:"false","disable-weekends":true,"min-date":this.firstValidDate,"max-date":this.lastValidDate,language:this.languageCode,placeholder:this.datePlaceholder,start:((e=this.dateValue)===null||e===void 0?void 0:e.length)?this.dateValue:null})),this.rowIndex>=this.minRowCount?i("div",{class:"delete-button-contianer"},i("pn-button",{ref:function(e){return t.pnDeleteRowButton=e},small:"true","icon-only":"true",icon:"minus",appearance:"warning",index:this.rowIndex,onClick:function(){t.deleteRow()}},"Delete")):null))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{predefinedValue:["applyPredefinedValue"]}},enumerable:false,configurable:true});return t}());l.style=u}}}));
@@ -0,0 +1 @@
1
+ import{r as t,c as i,h as s,a as n,g as e}from"./p-57d37022.js";import{d as l}from"./p-4e3d7a56.js";const h=class{constructor(s){t(this,s),this.rowValueChange=i(this,"rowValueChange",7),this.deleteRowEvent=i(this,"deleteRowEvent",7),this.firstInputChange=i(this,"firstInputChange",7),this.secondInputChange=i(this,"secondInputChange",7),this.pnFirstInputField=null,this.pnSecondInputField=null,this.pnDatePicker=null,this.pnDeleteRowButton=null,this.languageCode=null,this.fristInputPlaceholder=null,this.firstInputMin=null,this.firstInputMax=null,this.firstInputWarning=null,this.firstInputWarningText=null,this.firstInputLowErrorText=null,this.firstInputHighErrorText=null,this.secondInputPlaceholder=null,this.secondInputMin=null,this.secondInputMax=null,this.secondInputWarning=null,this.secondInputWarningText=null,this.secondInputLowErrorText=null,this.secondInputHighErrorText=null,this.dateLabel=null,this.datePlaceholder=null,this.firstValidDate=null,this.lastValidDate=null,this.predefinedValue=null,this.rowIndex=null,this.minRowCount=null,this.showFirstInputWarning=!1,this.showFirstInputLowError=!1,this.showFirstInputHighError=!1,this.showSecondInputWarning=!1,this.showSecondInputLowError=!1,this.showSecondInputHighError=!1,this.firstInputValue="",this.secondInputValue="",this.dateValue=""}componentWillLoad(){this.getPredefinedValues(),this.setInitialValues()}componentDidLoad(){this.addEventHandlers()}getPredefinedValues(){this._predefinedValue=JSON.parse(this.predefinedValue)}applyPredefinedValue(){var t,i;this.getPredefinedValues(),this.setInitialValues(),(null===(t=this.firstInputValue)||void 0===t?void 0:t.length)&&this.validateFirstInput(parseInt(this.firstInputValue)),(null===(i=this.secondInputValue)||void 0===i?void 0:i.length)&&this.validateSecondInput(parseInt(this.secondInputValue)),this.rowIndex>=this.minRowCount&&this.pnDeleteRowButton.addEventListener("click",this.deleteRow.bind(this))}setInitialValues(){this.firstInputValue=this._predefinedValue.firstInput,this.secondInputValue=this._predefinedValue.secondInput,this.dateValue=this._predefinedValue.date}addEventHandlers(){const t=l.debounce(this.emitRowValues.bind(this),500);this.pnFirstInputField.addEventListener("keyup",l.debounce(this.handleFirstInput.bind(this),500)),this.pnSecondInputField.addEventListener("keyup",l.debounce(this.handleSecondInput.bind(this),500)),this.pnDatePicker.addEventListener("dateselection",this.handleDateChange.bind(this)),this.pnDatePicker.addEventListener("dateselection",t)}handleFirstInput(t){const i=t.target,s=parseInt(i.value);s>0&&(this.firstInputValue=i.value,this.firstInputChange.emit({id:this._predefinedValue.id,firstInput:this.firstInputValue,secondInput:this.secondInputValue,date:this.dateValue})),this.validateFirstInput(s),this.emitRowValues()}handleSecondInput(t){const i=t.target,s=parseInt(i.value);s>0&&(this.secondInputValue=i.value,this.secondInputChange.emit({id:this._predefinedValue.id,firstInput:this.firstInputValue,secondInput:this.secondInputValue,date:this.dateValue})),this.validateSecondInput(s),this.emitRowValues()}validateFirstInput(t){this.showFirstInputWarning=!1,this.showFirstInputLowError=!1,this.showFirstInputHighError=!1,t<this.firstInputWarning&&(this.showFirstInputWarning=!0),t<this.firstInputMin&&(this.showFirstInputWarning=!1,this.showFirstInputLowError=!0),t>this.firstInputMax&&(this.showFirstInputWarning=!1,this.showFirstInputLowError=!1,this.showFirstInputHighError=!0)}validateSecondInput(t){this.showSecondInputWarning=!1,this.showSecondInputLowError=!1,this.showSecondInputHighError=!1,t<this.secondInputWarning&&(this.showSecondInputWarning=!0),t<this.secondInputMin&&(this.showSecondInputWarning=!1,this.showSecondInputLowError=!0),t>this.secondInputMax&&(this.showSecondInputWarning=!1,this.showSecondInputLowError=!1,this.showSecondInputHighError=!0)}handleDateChange(t){t.target===this.pnDatePicker&&(this.dateValue=t.detail)}emitRowValues(){this.rowValueChange.emit({id:this._predefinedValue.id,firstInput:this.firstInputValue,secondInput:this.secondInputValue,date:this.dateValue})}deleteRow(){this.deleteRowEvent.emit(this._predefinedValue.id)}render(){var t;return s(n,null,s("div",{class:"input-element-row"},s("div",{class:"input-container"},s("pn-marketweb-input",{ref:t=>this.pnFirstInputField=t,type:"number",placeholder:this.fristInputPlaceholder,value:this.firstInputValue,min:"1"}),this.showFirstInputLowError||this.showFirstInputHighError||this.showFirstInputWarning?s("div",{class:"input-element-message-container"},this.showFirstInputLowError?s("div",{class:"input-element-message-container__error"},s("small",null,this.firstInputLowErrorText)):null,this.showFirstInputHighError?s("div",{class:"input-element-message-container__error"},s("small",null,this.firstInputHighErrorText)):null,this.showFirstInputWarning?s("div",{class:"input-element-message-container__warning"},s("small",null,this.firstInputWarningText)):null):null),s("div",{class:"input-container"},s("pn-marketweb-input",{ref:t=>this.pnSecondInputField=t,type:"number",placeholder:this.secondInputPlaceholder,value:this.secondInputValue,min:"1"}),this.showSecondInputLowError||this.showSecondInputHighError||this.showSecondInputWarning?s("div",{class:"input-element-message-container"},this.showSecondInputLowError?s("div",{class:"input-element-message-container__error"},s("small",null,this.secondInputLowErrorText)):null,this.showSecondInputHighError?s("div",{class:"input-element-message-container__error"},s("small",null,this.secondInputHighErrorText)):null,this.showSecondInputWarning?s("div",{class:"input-element-message-container__warning"},s("small",null,this.secondInputWarningText)):null):null),s("div",{class:"input-container"},s("pn-date-picker",{ref:t=>this.pnDatePicker=t,range:"false","disable-weekends":!0,"min-date":this.firstValidDate,"max-date":this.lastValidDate,language:this.languageCode,placeholder:this.datePlaceholder,start:(null===(t=this.dateValue)||void 0===t?void 0:t.length)?this.dateValue:null})),this.rowIndex>=this.minRowCount?s("div",{class:"delete-button-contianer"},s("pn-button",{ref:t=>this.pnDeleteRowButton=t,small:"true","icon-only":"true",icon:"minus",appearance:"warning",index:this.rowIndex,onClick:()=>{this.deleteRow()}},"Delete")):null))}get hostElement(){return e(this)}static get watchers(){return{predefinedValue:["applyPredefinedValue"]}}};h.style="pn-dropdown-with-multi-input-rows-row .input-element-row{display:-ms-flexbox;display:flex;gap:1rem;margin-bottom:1rem}pn-dropdown-with-multi-input-rows-row .input-element-row .input-container{width:30%}pn-dropdown-with-multi-input-rows-row .input-element-row .input-container pn-marketweb-input .input-container{width:100%}pn-dropdown-with-multi-input-rows-row .input-element-row .input-container pn-date-picker{width:100%}pn-dropdown-with-multi-input-rows-row .input-element-row .input-container .input-element-message-container{margin-top:0.3rem}pn-dropdown-with-multi-input-rows-row .input-element-row .input-container .input-element-message-container__error{color:red;line-height:1}pn-dropdown-with-multi-input-rows-row .input-element-row .input-container .input-element-message-container__warning{line-height:1}pn-dropdown-with-multi-input-rows-row .delete-button-contianer{margin-top:0.6rem}";export{h as pn_dropdown_with_multi_input_rows_row}
@@ -1 +1 @@
1
- System.register(["./p-7ffa5533.system.js"],(function(e){"use strict";var t,a,n,o,r,i;return{setters:[function(s){t=s.d;a=s.N;n=s.w;o=s.p;r=s.H;i=s.b;e("setNonce",s.s)}],execute:function(){var e=function(){{s(r.prototype)}var e=Array.from(t.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(a,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===a}));var i={};if("onbeforeload"in e&&!history.scrollRestoration){return{then:function(){}}}{i.resourcesUrl=new URL(".",new URL(e.getAttribute("data-resources-url")||e.src,n.location.href)).href}return o(i)};var s=function(e){var t=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return t.call(this,e)}var a=t.call(this,false);var n=this.childNodes;if(e){for(var o=0;o<n.length;o++){if(n[o].nodeType!==2){a.appendChild(n[o].cloneNode(true))}}}return a}};e().then((function(e){return i(JSON.parse('[["p-0ee378ea.system",[[4,"pn-marketweb-siteheader",{"market":[1537],"language":[1537],"siteid":[1],"environment":[1537],"userToken":[1,"user-token"],"userFullname":[1,"user-fullname"],"userLoggedin":[516,"user-loggedin"],"endpoint":[1],"hideSiteSelector":[1540,"hide-site-selector"],"hideHomeMenuItem":[1540,"hide-home-menu-item"],"hideLanguageSelector":[1540,"hide-language-selector"],"hideSearch":[1540,"hide-search"],"hideLogin":[1540,"hide-login"],"showProfileSelection":[1540,"show-profile-selection"],"showUnifiedLogin":[4,"show-unified-login"],"siteDomainInUrls":[4,"site-domain-in-urls"],"AutocompleteEndpoint":[1,"autocomplete-endpoint"],"sessionForward":[4,"session-forward"],"cache":[4],"searchPlaceholder":[1,"search-placeholder"],"spaMode":[4,"spa-mode"],"checkUserLoggedInStateInterval":[2,"check-user-logged-in-state-interval"],"pageId":[1,"page-id"],"i18n":[32],"gotData":[32],"fetchingData":[32],"homePageLink":[32],"menuItems":[32],"siteDefinition":[32],"search":[32],"siteSelector":[32],"languageSelector":[32],"languageOptions":[32],"loginDialog":[32],"minimizeSearch":[32],"loggedIn":[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["p-18aca162.system",[[0,"pn-proxio-findprice",{"endpoint":[1025],"language":[1025],"market":[1025],"showMedium":[4,"show-medium"],"showInternational":[4,"show-international"],"maxAbroadKg":[2,"max-abroad-kg"],"cache":[4],"filteredItems":[32],"weight":[32],"weightvalue":[32],"countrycodevalue":[32],"sizecategory":[32],"data":[32]}]]],["p-41f5086b.system",[[0,"pn-find-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"weight":[32],"weightvalue":[32],"sourceData":[32],"sizecategory":[32]}]]],["p-969d310d.system",[[0,"pn-find-service-and-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"postagetype":[32],"weight":[32],"weightvalue":[32],"deliveryscope":[32],"sourceData":[32]}]]],["p-4d2d81b8.system",[[4,"pn-product-pricelist",{"source":[1],"language":[1025],"market":[1025],"productid":[1],"filteredItems":[32],"sourceData":[32],"gotData":[32],"loading":[32],"postagetype":[32],"weight":[32],"weightvalue":[32]}]]],["p-356a937e.system",[[0,"pn-proxio-pricegroup",{"endpoint":[1025],"language":[1],"market":[1],"tariffid":[1],"cache":[4],"activeWeightIndex":[32],"data":[32],"i18n":[32]},[[0,"activeWeightIndex","setActiveWeightIndex"],[0,"language","setLanguage"]]]]],["p-4b71d79d.system",[[0,"pn-product-pricelist-result",{"item":[1040],"description":[16],"shownitems":[16],"showMeasurement":[4,"show-measurement"],"weightText":[32]}]]],["p-31b84367.system",[[4,"pn-marketweb-sitefooter",{"market":[1537],"language":[1537],"environment":[1537],"endpoint":[1],"siteDomainInUrls":[4,"site-domain-in-urls"],"cache":[4],"theme":[513],"backgroundcolor":[513],"showSwan":[4,"show-swan"],"siteDefinition":[32],"footerContent":[32],"i18n":[32],"gotData":[32],"fetchingData":[32]}]]],["p-83c85053.system",[[0,"pn-multi-row-connected-dropdown",{"dropdownData":[1,"dropdown-data"],"languageCode":[1,"language-code"],"label":[1],"firstDropdownLabel":[1,"first-dropdown-label"],"secondDropdownLabel":[1,"second-dropdown-label"],"dropdownPlaceholder":[1,"dropdown-placeholder"],"addRowText":[1,"add-row-text"],"inputFildLabel":[1,"input-fild-label"],"inputFildPlaceholder":[1,"input-fild-placeholder"],"dateButtonText":[1,"date-button-text"],"datePlaceholder":[1,"date-placeholder"],"dateDaysFromToday":[2,"date-days-from-today"],"allowMultipleRows":[4,"allow-multiple-rows"],"allowMultipleDates":[4,"allow-multiple-dates"],"startDateLabel":[1,"start-date-label"],"endDateLabel":[1,"end-date-label"],"multiDateHelperText":[1,"multi-date-helper-text"],"generateDatesButtonText":[1,"generate-dates-button-text"],"saveDateButtonText":[1,"save-date-button-text"],"noDatesText":[1,"no-dates-text"],"yearsToAddToEndDate":[2,"years-to-add-to-end-date"],"rowCount":[32],"rowData":[32],"formValues":[32]},[[0,"rowValueChange","predefinedValueChange"],[0,"deleteRowEvent","deleteRowEvent"]]]]],["p-e2613cc5.system",[[0,"pn-play-on-scroll",{"videoSrc":[1,"video-src"],"videoId":[32],"isManuallyPaused":[32],"isPaused":[32]}]]],["p-592b66fc.system",[[0,"pn-address-autofill",{"market":[1537],"environment":[1537],"endpoint":[1],"cache":[4],"countryCode":[1,"country-code"],"postalCodeProps":[1,"postal-code-props"],"cityProps":[1,"city-props"],"streetAddressProps":[1,"street-address-props"],"streetNumberProps":[1,"street-number-props"],"streetAdressArr":[32],"streetNumberArr":[32],"city":[32],"postalCode":[32],"streetAddress":[32],"streetNumber":[32],"fullAddress":[32]}]]],["p-3a897643.system",[[4,"pn-dropdown-choice-adds-row",{"dropdownData":[1,"dropdown-data"],"addRowDropdownName":[1,"add-row-dropdown-name"],"addRowDropdownPlaceholder":[1,"add-row-dropdown-placeholder"],"addRowDropdownLabel":[1,"add-row-dropdown-label"],"rowNameLabel":[1,"row-name-label"],"rowHasDropdown":[4,"row-has-dropdown"],"rowDropdownLabel":[1,"row-dropdown-label"],"rowDropdownPlaceholder":[1,"row-dropdown-placeholder"],"rowInputLabel":[1,"row-input-label"],"rowDeleteButtonText":[1,"row-delete-button-text"],"totalInputLimit":[2,"total-input-limit"],"inputLimitWarning":[1,"input-limit-warning"],"nextRowIndex":[32],"rowSelectDropdownArr":[32],"columnCount":[32],"showWarning":[32],"formValue":[32]}]]],["p-a8aff7ab.system",[[0,"pn-parcel-tracker",{"formActionUrl":[1,"form-action-url"],"heading":[1],"buttonLabel":[1,"button-label"],"locale":[1],"placeholder":[1],"inputName":[1,"input-name"],"currentWidth":[32]},[[9,"resize","handleViewportSizeChange"]]]]],["p-d1150166.system",[[0,"pn-pex-pricefinder",{"language":[1],"currency":[1],"apiUrl":[1,"api-url"],"i18n":[32],"fromzip":[32],"tozip":[32],"weight":[32],"when":[32],"response":[32]},[[0,"language","setLanguage"]]]]],["p-38c861d5.system",[[0,"pn-share",{"link":[1],"language":[1537],"i18n":[32]}]]],["p-46a4dbdd.system",[[4,"pn-stats-info",{"heading":[1],"dataArray":[1,"data-array"],"backgroundUrl":[1,"background-url"],"myParsedArray":[32]}]]],["p-bed03b9c.system",[[4,"pn-animated-tile",{"toggled":[32],"transitionClassName":[32],"animateIcon":[32]}]]],["p-fba780f8.system",[[0,"pn-app-banner",{"appName":[1,"app-name"],"appDescription":[1,"app-description"],"ctaText":[1,"cta-text"],"appleStoreLink":[1,"apple-store-link"],"googleStoreLink":[1,"google-store-link"],"isClosed":[32],"storeLink":[32],"isLocalStorageAvailable":[32]}]]],["p-0739fdcf.system",[[4,"pn-bonus-progressbar",{"icon":[1],"heading":[1],"sumtext":[513],"theme":[513],"bonuspercentage":[1],"currency":[513],"value":[1538],"min":[1538],"max":[1538],"valuepercentage":[32],"progresspercentage":[32],"levelValues":[32],"currentLevelAdjustedValue":[32]}]]],["p-4bd36d2c.system",[[0,"pn-bonus-progressbar-level",{"current":[516],"value":[1538],"bonuspercentage":[1537],"visualpercentage":[1538],"percentage":[32],"max":[32],"min":[32],"currency":[32]}]]],["p-bbcd8889.system",[[0,"pn-breakpoints",{"breakPointClass":[1,"break-point-class"],"currentWidth":[32]},[[9,"resize","handleViewportSizeChange"]]]]],["p-9482937b.system",[[0,"pn-chart",{"labels":[1],"dataSets":[1,"data-sets"],"dataChartType":[8,"data-chart-type"],"myChartCtxRef":[32]}]]],["p-96729f36.system",[[4,"pn-charts-card",{"header":[1],"highlight":[1],"preamble":[1],"label":[1],"source":[1],"sourceUrl":[1,"source-url"],"ctaLinkText":[1,"cta-link-text"],"openInNewWindow":[4,"open-in-new-window"]}]]],["p-e47abff1.system",[[4,"pn-customernumber-selector",{"language":[1537],"open":[1540],"heading":[1],"description":[1],"i18n":[32]}]]],["p-28912c0c.system",[[4,"pn-customernumber-selector-option",{"heading":[1],"description":[1],"url":[1]}]]],["p-c0961278.system",[[0,"pn-date-and-time",{"languageCode":[1,"language-code"],"dateAndTimeLabel":[1,"date-and-time-label"],"dateDaysFromToday":[2,"date-days-from-today"],"validTimeRangeMinutes":[2,"valid-time-range-minutes"],"errorMessage":[1,"error-message"],"dateHelperText":[1,"date-helper-text"],"timeHelperText":[1,"time-helper-text"],"disableWeekends":[4,"disable-weekends"],"datePlacehodler":[1,"date-placehodler"],"language":[32],"hourArr":[32],"minuteArr":[32],"formValue":[32],"invalidTimespan":[32],"selectedDate":[32],"selectedFromHour":[32],"selectedFromMin":[32],"selectedToHour":[32],"selectedToMin":[32],"firstValidDateString":[32],"lastValidDateString":[32]}]]],["p-7364721d.system",[[0,"pn-line-shape"]]],["p-4529f4b7.system",[[1,"pn-marketweb-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"list":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4],"suggestionObserver":[32],"hasClonedInput":[32],"listSuggestion":[32]},[[0,"input","inputHandler"]]]]],["p-196b2316.system",[[4,"pn-multi-formfield",{"value":[1040],"formFieldClassName":[1,"form-field-class-name"],"formFieldOuterParentClassName":[1,"form-field-outer-parent-class-name"],"formRow":[32],"formValues":[32],"elementToCopy":[32],"fieldsPerRowCount":[32],"newRowStartIndex":[32],"originalLabelNames":[32]}]]],["p-62de103d.system",[[4,"pn-product-tile"]]],["p-153b4454.system",[[4,"pn-profile-modal",{"heading":[1],"continueCtaText":[1,"continue-cta-text"],"choosenCompanyText":[1,"choosen-company-text"],"toText":[1,"to-text"],"chooseCustomerNumberText":[1,"choose-customer-number-text"],"isLoading":[32]},[[0,"urlSelected","onUrlSelected"]]]]],["p-759a2b20.system",[[4,"pn-profile-modal-customernumber",{"url":[513],"customernumber":[513],"selected":[516]}]]],["p-6fe471aa.system",[[4,"pn-profile-modal-profile",{"heading":[513],"description":[513],"url":[513],"selected":[1028],"showCustomerNumbers":[516,"show-customer-numbers"],"pleaseSelectText":[513,"please-select-text"],"visible":[1540],"identifier":[32]}]]],["p-ca04e415.system",[[4,"pn-profile-modal-type",{"typeid":[513],"name":[1025],"selected":[1028],"selectedprofile":[1025]}]]],["p-81902554.system",[[4,"pn-profile-selector",{"language":[1537],"returnUrl":[1,"return-url"],"heading":[1],"i18n":[32],"isLoading":[32],"numberOfProfiles":[32]}]]],["p-d2ebaf52.system",[[0,"pn-profile-selector-option",{"heading":[1],"description":[1],"url":[1]}]]],["p-70cc4002.system",[[4,"pn-quick-cta",{"heading":[1],"preamble":[1]}]]],["p-37abc8d3.system",[[4,"pn-quote-card",{"quote":[1],"name":[1],"occupation":[1]}]]],["p-ad7a00b6.system",[[4,"pn-sidenav",{"language":[1],"navLabel":[1,"nav-label"],"i18n":[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["p-47576a14.system",[[4,"pn-sidenav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"alignment":[32]}]]],["p-1dc6c4ac.system",[[4,"pn-sidenav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"icon":[1],"current":[4],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["p-0c1a0814.system",[[4,"pn-sidenav-togglebutton",{"label":[1],"i18n":[32]}]]],["p-3bc31e82.system",[[4,"pn-spotlight",{"heading":[1],"preamble":[1],"isDynamic":[4,"is-dynamic"],"addDynamic":[32]}]]],["p-70ef1b2d.system",[[4,"pn-teaser-card",{"text":[1],"heading":[1],"label":[1],"dataCardColor":[513,"data-card-color"],"dataCardAlignment":[513,"data-card-alignment"],"hasCtaSlotContent":[32],"hasIllustrationSlot":[32]}]]],["p-3e5d59f2.system",[[0,"pn-marketweb-siteheader-login-linklist",{"heading":[1],"links":[16],"idNamespace":[1,"id-namespace"],"showUnifiedLogin":[4,"show-unified-login"]}]]],["p-1135350f.system",[[4,"pn-proxio-productcard"],[0,"pn-proxio-productcard-description",{"heading":[1],"highlight":[1],"description":[1],"list":[1040]}],[0,"pn-proxio-productcard-information",{"label":[1],"information":[16]}],[0,"pn-proxio-productcard-pricelink",{"price":[1],"vatText":[1,"vat-text"],"link":[1],"linktext":[1]}]]],["p-e8b144ff.system",[[0,"pn-proxio-findprice-result",{"item":[1040],"activeweight":[1026],"shownitems":[16],"Usp1":[1,"usp-1"],"Usp2":[1,"usp-2"],"Usp3":[1,"usp-3"],"description":[16],"showMeasurement":[4,"show-measurement"],"showInternational":[4,"show-international"],"selectedCountrycode":[1,"selected-countrycode"],"market":[1],"language":[1025],"weightText":[32],"linkId":[32],"shopLabel":[32],"shopUrl":[32],"shopId":[32],"i18n":[32]}]]],["p-793bb22f.system",[[0,"pn-find-service-and-price-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]]],["p-7877ce39.system",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["p-7e81b501.system",[[0,"pn-multi-row-connected-dropdown-row",{"dropdownData":[1,"dropdown-data"],"languageCode":[1,"language-code"],"label":[1],"firstDropdownLabel":[1,"first-dropdown-label"],"secondDropdownLabel":[1,"second-dropdown-label"],"dropdownPlaceholder":[1,"dropdown-placeholder"],"addRowText":[1,"add-row-text"],"inputFildLabel":[1,"input-fild-label"],"inputFildPlaceholder":[1,"input-fild-placeholder"],"dateButtonText":[1,"date-button-text"],"datePlaceholder":[1,"date-placeholder"],"dateDaysFromToday":[2,"date-days-from-today"],"allowMultipleDates":[4,"allow-multiple-dates"],"startDateLabel":[1,"start-date-label"],"endDateLabel":[1,"end-date-label"],"multiDateHelperText":[1,"multi-date-helper-text"],"generateDatesButtonText":[1,"generate-dates-button-text"],"saveDateButtonText":[1,"save-date-button-text"],"noDatesText":[1,"no-dates-text"],"index":[2],"predefinedValue":[1,"predefined-value"],"yearsToAddToEndDate":[2,"years-to-add-to-end-date"],"buttonsArray":[32],"firstDropdownArr":[32],"secondDropdownArr":[32],"firstDropdownClass":[32],"secondDropdownClass":[32],"firstValidDateString":[32],"lastValidDateString":[32],"firstDropdownPlaceholder":[32],"secondDropdownPlaceholder":[32],"starDateValue":[32],"endDateValue":[32],"generatedDatesArr":[32],"selectedButtonValue":[32],"inputFieldValue":[32],"dateValue":[32],"daysArr":[32]}]]],["p-e247fdf4.system",[[4,"pn-share-item",{"link":[1],"text":[1]}]]],["p-b28cf3a3.system",[[0,"pn-stats-info-data",{"format":[1],"formatStyle":[1,"format-style"],"startValue":[2,"start-value"],"data":[2],"unit":[1],"preamble":[1],"duration":[2],"index":[2],"hasBeenShown":[32],"compId":[32]}]]],["p-85ce2d47.system",[[0,"pn-find-price-result",{"item":[1040],"shownitems":[16],"Usp1":[1,"usp-1"],"Usp2":[1,"usp-2"],"Usp3":[1,"usp-3"],"description":[16],"showMeasurement":[4,"show-measurement"],"weightText":[32],"linkId":[32],"shopLabel":[32],"shopUrl":[32],"shopId":[32]}]]],["p-3fab06aa.system",[[4,"pn-scroll",{"observerOptions":[16],"behaviourClasses":[1,"behaviour-classes"],"transitionDurationSeconds":[2,"transition-duration-seconds"],"shouldLoop":[4,"should-loop"],"intersectFunc":[16],"notIntersectFunc":[16],"compId":[32]}],[0,"pn-video-overlay",{"language":[1],"isPaused":[4,"is-paused"],"i18n":[32]}]]],["p-612adfb3.system",[[4,"pn-mainnav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["p-743b1d06.system",[[4,"pn-site-footer",{"url":[1],"linktitle":[1],"theme":[513]}],[4,"pn-site-footer-col",{"theme":[513]}],[0,"pn-swan",{"licenseNumber":[1,"license-number"],"language":[1537],"linkTo":[1,"link-to"],"i18n":[32]}]]],["p-738c179b.system",[[4,"pn-choice-button",{"value":[520],"name":[1],"choiceid":[1],"type":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["p-f9b8baf0.system",[[0,"pn-product-tile-info",{"label":[1],"text":[1],"icon":[1]}],[0,"pn-product-tile-price",{"label":[1],"amount":[1],"currency":[1],"url":[1]}]]],["p-c06e3588.system",[[0,"pn-marketweb-input",{"disabled":[4],"error":[1],"invalid":[4],"helpertext":[1],"label":[1],"placeholder":[1],"inputid":[1],"name":[1],"required":[4],"type":[1025],"autocomplete":[1],"valid":[4],"value":[1],"maxlength":[1],"min":[1],"max":[1],"step":[1],"pattern":[1],"showText":[32]}]]],["p-1b4a75b3.system",[[4,"pn-titletag",{"icon":[1],"color":[1537]}]]],["p-81608e33.system",[[0,"pn-marketweb-siteheader-unified-login",{"loggedIn":[4,"logged-in"],"myPageLabel":[1,"my-page-label"],"myPageUrl":[1,"my-page-url"],"logInLabel":[1,"log-in-label"]}],[0,"pn-marketweb-siteheader-login-links",{"loginDialog":[1040],"idNamespace":[1,"id-namespace"],"loggedin":[516],"username":[1],"showUnifiedLogin":[4,"show-unified-login"]}],[0,"pn-marketweb-siteheader-login-profileselection",{"loginDialog":[1040],"endpoint":[1],"loggedin":[4],"idNamespace":[1,"id-namespace"],"heading":[1],"i18n":[16],"currentProfile":[1040],"profileoptions":[1040],"user":[32],"logoutLink":[32],"userName":[32],"userEmail":[32]}],[0,"pn-marketweb-siteheader-login-button",{"label":[1]}],[0,"pn-marketweb-siteheader-login-mypage-button",{"label":[1],"myPageUrl":[1,"my-page-url"]}]]],["p-794af3d3.system",[[0,"pn-marketweb-siteheader-login",{"endpoint":[1],"token":[1],"i18n":[16],"siteUrl":[1,"site-url"],"emitEvents":[4,"emit-events"],"loginDialog":[1040],"fullname":[1],"loggedin":[4],"showProfileSelection":[1028,"show-profile-selection"],"showUnifiedLogin":[4,"show-unified-login"],"checkUserLoggedInStateInterval":[2,"check-user-logged-in-state-interval"],"environment":[1],"loginLinks":[32],"toggleButtonText":[32],"username":[32]}],[4,"pn-mainnav-level",{"label":[1537],"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"listCount":[32],"alignment":[32]}],[4,"pn-language-selector",{"value":[1537],"selectedLanguageName":[32],"options":[32],"i18n":[32]}],[0,"pn-language-selector-option",{"name":[1],"code":[1],"url":[1],"selected":[4],"currentLanguage":[1,"current-language"]}],[4,"pn-mainnav",{"market":[1],"language":[1],"navigationId":[1,"navigation-id"],"openMenu":[1028,"open-menu"],"navLabel":[1,"nav-label"]},[[0,"language","setLanguage"],[0,"market","setMarket"],[0,"menuLanguageChange","onLanguageChange"],[0,"setmenuopenstate","setMenuOpenState"],[0,"openMenuLevelChange","onOpenMenuLevelChange"]]],[4,"pn-mainnav-list",{"heading":[1],"linkCount":[32]}],[0,"pn-marketweb-siteheader-search",{"i18n":[8,"i-1-8n"],"showOnlyLink":[1028,"show-only-link"],"hideSearch":[1028,"hide-search"],"language":[1537],"siteid":[1],"search":[1040],"primary":[4],"icononly":[4],"autoCompleteOptions":[32]}],[4,"pn-site-selector",{"buttontext":[1537],"heading":[1537],"language":[1537],"i18n":[32]}],[0,"pn-site-selector-item",{"url":[1],"heading":[1],"description":[1],"newwindow":[4]}]]],["p-62bceebe.system",[[0,"pn-product-card-info",{"rulle":[1],"paket":[1],"label":[1],"text":[1]}],[0,"pn-product-card-price",{"label":[1],"amount":[1],"currency":[1],"note":[1],"url":[1],"service":[1],"linkid":[1]}],[4,"pn-product-card"]]]]'),e)}))}}}));
1
+ System.register(["./p-7ffa5533.system.js"],(function(e){"use strict";var t,n,a,o,r,i;return{setters:[function(s){t=s.d;n=s.N;a=s.w;o=s.p;r=s.H;i=s.b;e("setNonce",s.s)}],execute:function(){var e=function(){{s(r.prototype)}var e=Array.from(t.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(n,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===n}));var i={};if("onbeforeload"in e&&!history.scrollRestoration){return{then:function(){}}}{i.resourcesUrl=new URL(".",new URL(e.getAttribute("data-resources-url")||e.src,a.location.href)).href}return o(i)};var s=function(e){var t=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return t.call(this,e)}var n=t.call(this,false);var a=this.childNodes;if(e){for(var o=0;o<a.length;o++){if(a[o].nodeType!==2){n.appendChild(a[o].cloneNode(true))}}}return n}};e().then((function(e){return i(JSON.parse('[["p-0ee378ea.system",[[4,"pn-marketweb-siteheader",{"market":[1537],"language":[1537],"siteid":[1],"environment":[1537],"userToken":[1,"user-token"],"userFullname":[1,"user-fullname"],"userLoggedin":[516,"user-loggedin"],"endpoint":[1],"hideSiteSelector":[1540,"hide-site-selector"],"hideHomeMenuItem":[1540,"hide-home-menu-item"],"hideLanguageSelector":[1540,"hide-language-selector"],"hideSearch":[1540,"hide-search"],"hideLogin":[1540,"hide-login"],"showProfileSelection":[1540,"show-profile-selection"],"showUnifiedLogin":[4,"show-unified-login"],"siteDomainInUrls":[4,"site-domain-in-urls"],"AutocompleteEndpoint":[1,"autocomplete-endpoint"],"sessionForward":[4,"session-forward"],"cache":[4],"searchPlaceholder":[1,"search-placeholder"],"spaMode":[4,"spa-mode"],"checkUserLoggedInStateInterval":[2,"check-user-logged-in-state-interval"],"pageId":[1,"page-id"],"i18n":[32],"gotData":[32],"fetchingData":[32],"homePageLink":[32],"menuItems":[32],"siteDefinition":[32],"search":[32],"siteSelector":[32],"languageSelector":[32],"languageOptions":[32],"loginDialog":[32],"minimizeSearch":[32],"loggedIn":[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["p-18aca162.system",[[0,"pn-proxio-findprice",{"endpoint":[1025],"language":[1025],"market":[1025],"showMedium":[4,"show-medium"],"showInternational":[4,"show-international"],"maxAbroadKg":[2,"max-abroad-kg"],"cache":[4],"filteredItems":[32],"weight":[32],"weightvalue":[32],"countrycodevalue":[32],"sizecategory":[32],"data":[32]}]]],["p-41f5086b.system",[[0,"pn-find-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"weight":[32],"weightvalue":[32],"sourceData":[32],"sizecategory":[32]}]]],["p-969d310d.system",[[0,"pn-find-service-and-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"postagetype":[32],"weight":[32],"weightvalue":[32],"deliveryscope":[32],"sourceData":[32]}]]],["p-4d2d81b8.system",[[4,"pn-product-pricelist",{"source":[1],"language":[1025],"market":[1025],"productid":[1],"filteredItems":[32],"sourceData":[32],"gotData":[32],"loading":[32],"postagetype":[32],"weight":[32],"weightvalue":[32]}]]],["p-356a937e.system",[[0,"pn-proxio-pricegroup",{"endpoint":[1025],"language":[1],"market":[1],"tariffid":[1],"cache":[4],"activeWeightIndex":[32],"data":[32],"i18n":[32]},[[0,"activeWeightIndex","setActiveWeightIndex"],[0,"language","setLanguage"]]]]],["p-4b71d79d.system",[[0,"pn-product-pricelist-result",{"item":[1040],"description":[16],"shownitems":[16],"showMeasurement":[4,"show-measurement"],"weightText":[32]}]]],["p-31b84367.system",[[4,"pn-marketweb-sitefooter",{"market":[1537],"language":[1537],"environment":[1537],"endpoint":[1],"siteDomainInUrls":[4,"site-domain-in-urls"],"cache":[4],"theme":[513],"backgroundcolor":[513],"showSwan":[4,"show-swan"],"siteDefinition":[32],"footerContent":[32],"i18n":[32],"gotData":[32],"fetchingData":[32]}]]],["p-83c85053.system",[[0,"pn-multi-row-connected-dropdown",{"dropdownData":[1,"dropdown-data"],"languageCode":[1,"language-code"],"label":[1],"firstDropdownLabel":[1,"first-dropdown-label"],"secondDropdownLabel":[1,"second-dropdown-label"],"dropdownPlaceholder":[1,"dropdown-placeholder"],"addRowText":[1,"add-row-text"],"inputFildLabel":[1,"input-fild-label"],"inputFildPlaceholder":[1,"input-fild-placeholder"],"dateButtonText":[1,"date-button-text"],"datePlaceholder":[1,"date-placeholder"],"dateDaysFromToday":[2,"date-days-from-today"],"allowMultipleRows":[4,"allow-multiple-rows"],"allowMultipleDates":[4,"allow-multiple-dates"],"startDateLabel":[1,"start-date-label"],"endDateLabel":[1,"end-date-label"],"multiDateHelperText":[1,"multi-date-helper-text"],"generateDatesButtonText":[1,"generate-dates-button-text"],"saveDateButtonText":[1,"save-date-button-text"],"noDatesText":[1,"no-dates-text"],"yearsToAddToEndDate":[2,"years-to-add-to-end-date"],"rowCount":[32],"rowData":[32],"formValues":[32]},[[0,"rowValueChange","predefinedValueChange"],[0,"deleteRowEvent","deleteRowEvent"]]]]],["p-47239bce.system",[[0,"pn-dropdown-with-multi-input-rows",{"dropdownData":[1,"dropdown-data"],"languageCode":[1,"language-code"],"firstDropdownLabel":[1,"first-dropdown-label"],"firstDropdownHelperText":[1,"first-dropdown-helper-text"],"secondDropdownLabel":[1,"second-dropdown-label"],"secondDropdownHelperText":[1,"second-dropdown-helper-text"],"secondDropdownMax":[2,"second-dropdown-max"],"deleteMultipleRowsWarningText":[1,"delete-multiple-rows-warning-text"],"confirmDeleteButtonText":[1,"confirm-delete-button-text"],"abortDeleteButtonText":[1,"abort-delete-button-text"],"fristInputLabel":[1,"frist-input-label"],"fristInputPlaceholder":[1,"frist-input-placeholder"],"firstInputMin":[2,"first-input-min"],"firstInputMax":[2,"first-input-max"],"firstInputWarning":[2,"first-input-warning"],"firstInputWarningText":[1,"first-input-warning-text"],"firstInputLowErrorText":[1,"first-input-low-error-text"],"firstInputHighErrorText":[1,"first-input-high-error-text"],"secondInputLabel":[1,"second-input-label"],"secondInputPlaceholder":[1,"second-input-placeholder"],"secondInputMin":[2,"second-input-min"],"secondInputMax":[2,"second-input-max"],"secondInputWarning":[2,"second-input-warning"],"secondInputWarningText":[1,"second-input-warning-text"],"secondInputLowErrorText":[1,"second-input-low-error-text"],"secondInputHighErrorText":[1,"second-input-high-error-text"],"dateLabel":[1,"date-label"],"datePlaceholder":[1,"date-placeholder"],"dateDaysFromToday":[2,"date-days-from-today"],"yearsToAddToEndDate":[2,"years-to-add-to-end-date"],"sumFieldLabel":[1,"sum-field-label"],"addRowText":[1,"add-row-text"],"elementHelperText":[1,"element-helper-text"],"dropdownDataRoot":[32],"secondDropdownArr":[32],"rowCount":[32],"rowData":[32],"formValues":[32],"firstValidDateString":[32],"lastValidDateString":[32],"rowSum":[32],"minRowCount":[32],"showDelteConfirm":[32]},[[0,"rowValueChange","predefinedValueChange"],[0,"firstInputChange","predefinedValueChange"],[0,"secondInputChange","predefinedValueChange"],[0,"deleteRowEvent","deleteRowEvent"]]]]],["p-e2613cc5.system",[[0,"pn-play-on-scroll",{"videoSrc":[1,"video-src"],"videoId":[32],"isManuallyPaused":[32],"isPaused":[32]}]]],["p-592b66fc.system",[[0,"pn-address-autofill",{"market":[1537],"environment":[1537],"endpoint":[1],"cache":[4],"countryCode":[1,"country-code"],"postalCodeProps":[1,"postal-code-props"],"cityProps":[1,"city-props"],"streetAddressProps":[1,"street-address-props"],"streetNumberProps":[1,"street-number-props"],"streetAdressArr":[32],"streetNumberArr":[32],"city":[32],"postalCode":[32],"streetAddress":[32],"streetNumber":[32],"fullAddress":[32]}]]],["p-3a897643.system",[[4,"pn-dropdown-choice-adds-row",{"dropdownData":[1,"dropdown-data"],"addRowDropdownName":[1,"add-row-dropdown-name"],"addRowDropdownPlaceholder":[1,"add-row-dropdown-placeholder"],"addRowDropdownLabel":[1,"add-row-dropdown-label"],"rowNameLabel":[1,"row-name-label"],"rowHasDropdown":[4,"row-has-dropdown"],"rowDropdownLabel":[1,"row-dropdown-label"],"rowDropdownPlaceholder":[1,"row-dropdown-placeholder"],"rowInputLabel":[1,"row-input-label"],"rowDeleteButtonText":[1,"row-delete-button-text"],"totalInputLimit":[2,"total-input-limit"],"inputLimitWarning":[1,"input-limit-warning"],"nextRowIndex":[32],"rowSelectDropdownArr":[32],"columnCount":[32],"showWarning":[32],"formValue":[32]}]]],["p-52e8d0ec.system",[[0,"pn-multiple-input",{"label":[1],"placeholder":[1],"addRowButtonText":[1,"add-row-button-text"],"rowData":[32]}]]],["p-a8aff7ab.system",[[0,"pn-parcel-tracker",{"formActionUrl":[1,"form-action-url"],"heading":[1],"buttonLabel":[1,"button-label"],"locale":[1],"placeholder":[1],"inputName":[1,"input-name"],"currentWidth":[32]},[[9,"resize","handleViewportSizeChange"]]]]],["p-d1150166.system",[[0,"pn-pex-pricefinder",{"language":[1],"currency":[1],"apiUrl":[1,"api-url"],"i18n":[32],"fromzip":[32],"tozip":[32],"weight":[32],"when":[32],"response":[32]},[[0,"language","setLanguage"]]]]],["p-38c861d5.system",[[0,"pn-share",{"link":[1],"language":[1537],"i18n":[32]}]]],["p-46a4dbdd.system",[[4,"pn-stats-info",{"heading":[1],"dataArray":[1,"data-array"],"backgroundUrl":[1,"background-url"],"myParsedArray":[32]}]]],["p-bed03b9c.system",[[4,"pn-animated-tile",{"toggled":[32],"transitionClassName":[32],"animateIcon":[32]}]]],["p-fba780f8.system",[[0,"pn-app-banner",{"appName":[1,"app-name"],"appDescription":[1,"app-description"],"ctaText":[1,"cta-text"],"appleStoreLink":[1,"apple-store-link"],"googleStoreLink":[1,"google-store-link"],"isClosed":[32],"storeLink":[32],"isLocalStorageAvailable":[32]}]]],["p-0739fdcf.system",[[4,"pn-bonus-progressbar",{"icon":[1],"heading":[1],"sumtext":[513],"theme":[513],"bonuspercentage":[1],"currency":[513],"value":[1538],"min":[1538],"max":[1538],"valuepercentage":[32],"progresspercentage":[32],"levelValues":[32],"currentLevelAdjustedValue":[32]}]]],["p-4bd36d2c.system",[[0,"pn-bonus-progressbar-level",{"current":[516],"value":[1538],"bonuspercentage":[1537],"visualpercentage":[1538],"percentage":[32],"max":[32],"min":[32],"currency":[32]}]]],["p-bbcd8889.system",[[0,"pn-breakpoints",{"breakPointClass":[1,"break-point-class"],"currentWidth":[32]},[[9,"resize","handleViewportSizeChange"]]]]],["p-9482937b.system",[[0,"pn-chart",{"labels":[1],"dataSets":[1,"data-sets"],"dataChartType":[8,"data-chart-type"],"myChartCtxRef":[32]}]]],["p-96729f36.system",[[4,"pn-charts-card",{"header":[1],"highlight":[1],"preamble":[1],"label":[1],"source":[1],"sourceUrl":[1,"source-url"],"ctaLinkText":[1,"cta-link-text"],"openInNewWindow":[4,"open-in-new-window"]}]]],["p-e47abff1.system",[[4,"pn-customernumber-selector",{"language":[1537],"open":[1540],"heading":[1],"description":[1],"i18n":[32]}]]],["p-28912c0c.system",[[4,"pn-customernumber-selector-option",{"heading":[1],"description":[1],"url":[1]}]]],["p-c0961278.system",[[0,"pn-date-and-time",{"languageCode":[1,"language-code"],"dateAndTimeLabel":[1,"date-and-time-label"],"dateDaysFromToday":[2,"date-days-from-today"],"validTimeRangeMinutes":[2,"valid-time-range-minutes"],"errorMessage":[1,"error-message"],"dateHelperText":[1,"date-helper-text"],"timeHelperText":[1,"time-helper-text"],"disableWeekends":[4,"disable-weekends"],"datePlacehodler":[1,"date-placehodler"],"language":[32],"hourArr":[32],"minuteArr":[32],"formValue":[32],"invalidTimespan":[32],"selectedDate":[32],"selectedFromHour":[32],"selectedFromMin":[32],"selectedToHour":[32],"selectedToMin":[32],"firstValidDateString":[32],"lastValidDateString":[32]}]]],["p-7364721d.system",[[0,"pn-line-shape"]]],["p-4529f4b7.system",[[1,"pn-marketweb-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"list":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4],"suggestionObserver":[32],"hasClonedInput":[32],"listSuggestion":[32]},[[0,"input","inputHandler"]]]]],["p-196b2316.system",[[4,"pn-multi-formfield",{"value":[1040],"formFieldClassName":[1,"form-field-class-name"],"formFieldOuterParentClassName":[1,"form-field-outer-parent-class-name"],"formRow":[32],"formValues":[32],"elementToCopy":[32],"fieldsPerRowCount":[32],"newRowStartIndex":[32],"originalLabelNames":[32]}]]],["p-62de103d.system",[[4,"pn-product-tile"]]],["p-153b4454.system",[[4,"pn-profile-modal",{"heading":[1],"continueCtaText":[1,"continue-cta-text"],"choosenCompanyText":[1,"choosen-company-text"],"toText":[1,"to-text"],"chooseCustomerNumberText":[1,"choose-customer-number-text"],"isLoading":[32]},[[0,"urlSelected","onUrlSelected"]]]]],["p-759a2b20.system",[[4,"pn-profile-modal-customernumber",{"url":[513],"customernumber":[513],"selected":[516]}]]],["p-6fe471aa.system",[[4,"pn-profile-modal-profile",{"heading":[513],"description":[513],"url":[513],"selected":[1028],"showCustomerNumbers":[516,"show-customer-numbers"],"pleaseSelectText":[513,"please-select-text"],"visible":[1540],"identifier":[32]}]]],["p-ca04e415.system",[[4,"pn-profile-modal-type",{"typeid":[513],"name":[1025],"selected":[1028],"selectedprofile":[1025]}]]],["p-81902554.system",[[4,"pn-profile-selector",{"language":[1537],"returnUrl":[1,"return-url"],"heading":[1],"i18n":[32],"isLoading":[32],"numberOfProfiles":[32]}]]],["p-d2ebaf52.system",[[0,"pn-profile-selector-option",{"heading":[1],"description":[1],"url":[1]}]]],["p-70cc4002.system",[[4,"pn-quick-cta",{"heading":[1],"preamble":[1]}]]],["p-37abc8d3.system",[[4,"pn-quote-card",{"quote":[1],"name":[1],"occupation":[1]}]]],["p-ad7a00b6.system",[[4,"pn-sidenav",{"language":[1],"navLabel":[1,"nav-label"],"i18n":[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["p-47576a14.system",[[4,"pn-sidenav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"alignment":[32]}]]],["p-1dc6c4ac.system",[[4,"pn-sidenav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"icon":[1],"current":[4],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["p-0c1a0814.system",[[4,"pn-sidenav-togglebutton",{"label":[1],"i18n":[32]}]]],["p-3bc31e82.system",[[4,"pn-spotlight",{"heading":[1],"preamble":[1],"isDynamic":[4,"is-dynamic"],"addDynamic":[32]}]]],["p-70ef1b2d.system",[[4,"pn-teaser-card",{"text":[1],"heading":[1],"label":[1],"dataCardColor":[513,"data-card-color"],"dataCardAlignment":[513,"data-card-alignment"],"hasCtaSlotContent":[32],"hasIllustrationSlot":[32]}]]],["p-e8b144ff.system",[[0,"pn-proxio-findprice-result",{"item":[1040],"activeweight":[1026],"shownitems":[16],"Usp1":[1,"usp-1"],"Usp2":[1,"usp-2"],"Usp3":[1,"usp-3"],"description":[16],"showMeasurement":[4,"show-measurement"],"showInternational":[4,"show-international"],"selectedCountrycode":[1,"selected-countrycode"],"market":[1],"language":[1025],"weightText":[32],"linkId":[32],"shopLabel":[32],"shopUrl":[32],"shopId":[32],"i18n":[32]}]]],["p-793bb22f.system",[[0,"pn-find-service-and-price-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]]],["p-c06e3588.system",[[0,"pn-marketweb-input",{"disabled":[4],"error":[1],"invalid":[4],"helpertext":[1],"label":[1],"placeholder":[1],"inputid":[1],"name":[1],"required":[4],"type":[1025],"autocomplete":[1],"valid":[4],"value":[1],"maxlength":[1],"min":[1],"max":[1],"step":[1],"pattern":[1],"showText":[32]}]]],["p-7e81b501.system",[[0,"pn-multi-row-connected-dropdown-row",{"dropdownData":[1,"dropdown-data"],"languageCode":[1,"language-code"],"label":[1],"firstDropdownLabel":[1,"first-dropdown-label"],"secondDropdownLabel":[1,"second-dropdown-label"],"dropdownPlaceholder":[1,"dropdown-placeholder"],"addRowText":[1,"add-row-text"],"inputFildLabel":[1,"input-fild-label"],"inputFildPlaceholder":[1,"input-fild-placeholder"],"dateButtonText":[1,"date-button-text"],"datePlaceholder":[1,"date-placeholder"],"dateDaysFromToday":[2,"date-days-from-today"],"allowMultipleDates":[4,"allow-multiple-dates"],"startDateLabel":[1,"start-date-label"],"endDateLabel":[1,"end-date-label"],"multiDateHelperText":[1,"multi-date-helper-text"],"generateDatesButtonText":[1,"generate-dates-button-text"],"saveDateButtonText":[1,"save-date-button-text"],"noDatesText":[1,"no-dates-text"],"index":[2],"predefinedValue":[1,"predefined-value"],"yearsToAddToEndDate":[2,"years-to-add-to-end-date"],"buttonsArray":[32],"firstDropdownArr":[32],"secondDropdownArr":[32],"firstDropdownClass":[32],"secondDropdownClass":[32],"firstValidDateString":[32],"lastValidDateString":[32],"firstDropdownPlaceholder":[32],"secondDropdownPlaceholder":[32],"starDateValue":[32],"endDateValue":[32],"generatedDatesArr":[32],"selectedButtonValue":[32],"inputFieldValue":[32],"dateValue":[32],"daysArr":[32]}]]],["p-ad952e14.system",[[0,"pn-dropdown-with-multi-input-rows-row",{"languageCode":[1,"language-code"],"fristInputPlaceholder":[1,"frist-input-placeholder"],"firstInputMin":[2,"first-input-min"],"firstInputMax":[2,"first-input-max"],"firstInputWarning":[2,"first-input-warning"],"firstInputWarningText":[1,"first-input-warning-text"],"firstInputLowErrorText":[1,"first-input-low-error-text"],"firstInputHighErrorText":[1,"first-input-high-error-text"],"secondInputPlaceholder":[1,"second-input-placeholder"],"secondInputMin":[2,"second-input-min"],"secondInputMax":[2,"second-input-max"],"secondInputWarning":[2,"second-input-warning"],"secondInputWarningText":[1,"second-input-warning-text"],"secondInputLowErrorText":[1,"second-input-low-error-text"],"secondInputHighErrorText":[1,"second-input-high-error-text"],"dateLabel":[1,"date-label"],"datePlaceholder":[1,"date-placeholder"],"firstValidDate":[1,"first-valid-date"],"lastValidDate":[1,"last-valid-date"],"predefinedValue":[1,"predefined-value"],"rowIndex":[2,"row-index"],"minRowCount":[2,"min-row-count"],"showFirstInputWarning":[32],"showFirstInputLowError":[32],"showFirstInputHighError":[32],"showSecondInputWarning":[32],"showSecondInputLowError":[32],"showSecondInputHighError":[32],"firstInputValue":[32],"secondInputValue":[32],"dateValue":[32]}]]],["p-e247fdf4.system",[[4,"pn-share-item",{"link":[1],"text":[1]}]]],["p-b28cf3a3.system",[[0,"pn-stats-info-data",{"format":[1],"formatStyle":[1,"format-style"],"startValue":[2,"start-value"],"data":[2],"unit":[1],"preamble":[1],"duration":[2],"index":[2],"hasBeenShown":[32],"compId":[32]}]]],["p-85ce2d47.system",[[0,"pn-find-price-result",{"item":[1040],"shownitems":[16],"Usp1":[1,"usp-1"],"Usp2":[1,"usp-2"],"Usp3":[1,"usp-3"],"description":[16],"showMeasurement":[4,"show-measurement"],"weightText":[32],"linkId":[32],"shopLabel":[32],"shopUrl":[32],"shopId":[32]}]]],["p-3fab06aa.system",[[4,"pn-scroll",{"observerOptions":[16],"behaviourClasses":[1,"behaviour-classes"],"transitionDurationSeconds":[2,"transition-duration-seconds"],"shouldLoop":[4,"should-loop"],"intersectFunc":[16],"notIntersectFunc":[16],"compId":[32]}],[0,"pn-video-overlay",{"language":[1],"isPaused":[4,"is-paused"],"i18n":[32]}]]],["p-7877ce39.system",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["p-612adfb3.system",[[4,"pn-mainnav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["p-743b1d06.system",[[4,"pn-site-footer",{"url":[1],"linktitle":[1],"theme":[513]}],[4,"pn-site-footer-col",{"theme":[513]}],[0,"pn-swan",{"licenseNumber":[1,"license-number"],"language":[1537],"linkTo":[1,"link-to"],"i18n":[32]}]]],["p-738c179b.system",[[4,"pn-choice-button",{"value":[520],"name":[1],"choiceid":[1],"type":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["p-f9b8baf0.system",[[0,"pn-product-tile-info",{"label":[1],"text":[1],"icon":[1]}],[0,"pn-product-tile-price",{"label":[1],"amount":[1],"currency":[1],"url":[1]}]]],["p-3e5d59f2.system",[[0,"pn-marketweb-siteheader-login-linklist",{"heading":[1],"links":[16],"idNamespace":[1,"id-namespace"],"showUnifiedLogin":[4,"show-unified-login"]}]]],["p-1b4a75b3.system",[[4,"pn-titletag",{"icon":[1],"color":[1537]}]]],["p-81608e33.system",[[0,"pn-marketweb-siteheader-unified-login",{"loggedIn":[4,"logged-in"],"myPageLabel":[1,"my-page-label"],"myPageUrl":[1,"my-page-url"],"logInLabel":[1,"log-in-label"]}],[0,"pn-marketweb-siteheader-login-links",{"loginDialog":[1040],"idNamespace":[1,"id-namespace"],"loggedin":[516],"username":[1],"showUnifiedLogin":[4,"show-unified-login"]}],[0,"pn-marketweb-siteheader-login-profileselection",{"loginDialog":[1040],"endpoint":[1],"loggedin":[4],"idNamespace":[1,"id-namespace"],"heading":[1],"i18n":[16],"currentProfile":[1040],"profileoptions":[1040],"user":[32],"logoutLink":[32],"userName":[32],"userEmail":[32]}],[0,"pn-marketweb-siteheader-login-button",{"label":[1]}],[0,"pn-marketweb-siteheader-login-mypage-button",{"label":[1],"myPageUrl":[1,"my-page-url"]}]]],["p-794af3d3.system",[[0,"pn-marketweb-siteheader-login",{"endpoint":[1],"token":[1],"i18n":[16],"siteUrl":[1,"site-url"],"emitEvents":[4,"emit-events"],"loginDialog":[1040],"fullname":[1],"loggedin":[4],"showProfileSelection":[1028,"show-profile-selection"],"showUnifiedLogin":[4,"show-unified-login"],"checkUserLoggedInStateInterval":[2,"check-user-logged-in-state-interval"],"environment":[1],"loginLinks":[32],"toggleButtonText":[32],"username":[32]}],[4,"pn-mainnav-level",{"label":[1537],"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"listCount":[32],"alignment":[32]}],[4,"pn-language-selector",{"value":[1537],"selectedLanguageName":[32],"options":[32],"i18n":[32]}],[0,"pn-language-selector-option",{"name":[1],"code":[1],"url":[1],"selected":[4],"currentLanguage":[1,"current-language"]}],[4,"pn-mainnav",{"market":[1],"language":[1],"navigationId":[1,"navigation-id"],"openMenu":[1028,"open-menu"],"navLabel":[1,"nav-label"]},[[0,"language","setLanguage"],[0,"market","setMarket"],[0,"menuLanguageChange","onLanguageChange"],[0,"setmenuopenstate","setMenuOpenState"],[0,"openMenuLevelChange","onOpenMenuLevelChange"]]],[4,"pn-mainnav-list",{"heading":[1],"linkCount":[32]}],[0,"pn-marketweb-siteheader-search",{"i18n":[8,"i-1-8n"],"showOnlyLink":[1028,"show-only-link"],"hideSearch":[1028,"hide-search"],"language":[1537],"siteid":[1],"search":[1040],"primary":[4],"icononly":[4],"autoCompleteOptions":[32]}],[4,"pn-site-selector",{"buttontext":[1537],"heading":[1537],"language":[1537],"i18n":[32]}],[0,"pn-site-selector-item",{"url":[1],"heading":[1],"description":[1],"newwindow":[4]}]]],["p-1135350f.system",[[4,"pn-proxio-productcard"],[0,"pn-proxio-productcard-description",{"heading":[1],"highlight":[1],"description":[1],"list":[1040]}],[0,"pn-proxio-productcard-information",{"label":[1],"information":[16]}],[0,"pn-proxio-productcard-pricelink",{"price":[1],"vatText":[1,"vat-text"],"link":[1],"linktext":[1]}]]],["p-62bceebe.system",[[0,"pn-product-card-info",{"rulle":[1],"paket":[1],"label":[1],"text":[1]}],[0,"pn-product-card-price",{"label":[1],"amount":[1],"currency":[1],"note":[1],"url":[1],"service":[1],"linkid":[1]}],[4,"pn-product-card"]]]]'),e)}))}}}));