@postnord/pn-marketweb-components 2.0.62 → 2.0.63

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.
@@ -34,12 +34,10 @@ let PnProfileModalProfile = class {
34
34
  else {
35
35
  // TODO: Open customer number selection
36
36
  pnProfileModalStore.state.selectedProfile = this.identifier;
37
- this.showCustomerNumbers = true;
38
37
  }
39
38
  }
40
39
  render() {
41
- return (index.h(index.Host, { selected: this.selected + '' }, index.h("div", { class: "pn-profile-modal-profile-listitem", "aria-hidden": (!!(pnProfileModalStore.state.selectedProfile) + '') }, index.h("button", { class: "pn-profile-modal-profile-listitem-button", onClick: this.onProfileOptionClick.bind(this) }, index.h("div", { class: "pn-profile-modal-profile-listitem-heading" }, this.heading), index.h("div", { class: "pn-profile-modal-profile-listitem-description" }, this.description))), index.h("div", { class: "pn-profile-modal-profile-details", "aria-hidden": (!this.showCustomerNumbers) + '' }, index.h("pn-button", { appearance: "light", variant: "borderless", icon: "arrow-left", "left-icon": "true", small: "true", onClick: () => {
42
- this.showCustomerNumbers = false;
40
+ return (index.h(index.Host, { selected: this.selected + '' }, index.h("div", { class: "pn-profile-modal-profile-listitem", "aria-hidden": (!!(pnProfileModalStore.state.selectedProfile) + '') }, index.h("button", { class: "pn-profile-modal-profile-listitem-button", onClick: this.onProfileOptionClick.bind(this) }, index.h("div", { class: "pn-profile-modal-profile-listitem-heading" }, this.heading), index.h("div", { class: "pn-profile-modal-profile-listitem-description" }, this.description))), index.h("div", { class: "pn-profile-modal-profile-details", "aria-hidden": (!(pnProfileModalStore.state.selectedProfile === this.identifier)) + '' }, index.h("pn-button", { appearance: "light", variant: "borderless", icon: "arrow-left", "left-icon": "true", small: "true", onClick: () => {
43
41
  this.selected = false;
44
42
  pnProfileModalStore.state.selectedProfile = '';
45
43
  } }, pnProfileModalStore.state.i18n.toText, " ", pnProfileModalStore.state.selectedType), index.h("div", { class: "pn-profile-modal-profile-details-company" }, index.h("div", { class: "pn-profile-modal-profile-details-label" }, pnProfileModalStore.state.i18n.choosenCompanyText), index.h("div", { class: "pn-profile-modal-profile-details-company-heading" }, this.heading), index.h("div", { class: "pn-profile-modal-profile-details-company-description" }, this.description)), index.h("div", { class: "pn-profile-modal-profile-details-list" }, index.h("div", { class: "pn-profile-modal-profile-details-list-label" }, this.pleaseSelectText), index.h("slot", null)))));
@@ -20,9 +20,13 @@ let PnProfileModalType = class {
20
20
  if (this.selected) {
21
21
  pnProfileModalStore.state.selectedType = this.name;
22
22
  }
23
+ pnProfileModalStore.state.selectedProfile = '';
24
+ [...this.hostElement.querySelectorAll('pn-profile-modal-profile')].map((x) => {
25
+ x.setAttribute("selected", 'false');
26
+ });
23
27
  }
24
28
  render() {
25
- return (index.h(index.Host, { selected: this.selected + '', "selected-profile": pnProfileModalStore.state.selectedProfile + '' }, index.h("slot", null)));
29
+ return (index.h(index.Host, { selected: (pnProfileModalStore.state.selectedType === this.name) + '', "selected-profile": pnProfileModalStore.state.selectedProfile + '' }, index.h("slot", null)));
26
30
  }
27
31
  get hostElement() { return index.getElement(this); }
28
32
  static get watchers() { return {
@@ -23,7 +23,6 @@ export class PnProfileModalProfile {
23
23
  else {
24
24
  // TODO: Open customer number selection
25
25
  state.selectedProfile = this.identifier;
26
- this.showCustomerNumbers = true;
27
26
  }
28
27
  }
29
28
  render() {
@@ -32,9 +31,8 @@ export class PnProfileModalProfile {
32
31
  h("button", { class: "pn-profile-modal-profile-listitem-button", onClick: this.onProfileOptionClick.bind(this) },
33
32
  h("div", { class: "pn-profile-modal-profile-listitem-heading" }, this.heading),
34
33
  h("div", { class: "pn-profile-modal-profile-listitem-description" }, this.description))),
35
- h("div", { class: "pn-profile-modal-profile-details", "aria-hidden": (!this.showCustomerNumbers) + '' },
34
+ h("div", { class: "pn-profile-modal-profile-details", "aria-hidden": (!(state.selectedProfile === this.identifier)) + '' },
36
35
  h("pn-button", { appearance: "light", variant: "borderless", icon: "arrow-left", "left-icon": "true", small: "true", onClick: () => {
37
- this.showCustomerNumbers = false;
38
36
  this.selected = false;
39
37
  state.selectedProfile = '';
40
38
  } },
@@ -11,9 +11,13 @@ export class PnProfileModalType {
11
11
  if (this.selected) {
12
12
  state.selectedType = this.name;
13
13
  }
14
+ state.selectedProfile = '';
15
+ [...this.hostElement.querySelectorAll('pn-profile-modal-profile')].map((x) => {
16
+ x.setAttribute("selected", 'false');
17
+ });
14
18
  }
15
19
  render() {
16
- return (h(Host, { selected: this.selected + '', "selected-profile": state.selectedProfile + '' },
20
+ return (h(Host, { selected: (state.selectedType === this.name) + '', "selected-profile": state.selectedProfile + '' },
17
21
  h("slot", null)));
18
22
  }
19
23
  static get is() { return "pn-profile-modal-type"; }
@@ -5901,12 +5901,10 @@ let PnProfileModalProfile$1 = class extends HTMLElement {
5901
5901
  else {
5902
5902
  // TODO: Open customer number selection
5903
5903
  state$1.selectedProfile = this.identifier;
5904
- this.showCustomerNumbers = true;
5905
5904
  }
5906
5905
  }
5907
5906
  render() {
5908
- return (h(Host, { selected: this.selected + '' }, h("div", { class: "pn-profile-modal-profile-listitem", "aria-hidden": (!!(state$1.selectedProfile) + '') }, h("button", { class: "pn-profile-modal-profile-listitem-button", onClick: this.onProfileOptionClick.bind(this) }, h("div", { class: "pn-profile-modal-profile-listitem-heading" }, this.heading), h("div", { class: "pn-profile-modal-profile-listitem-description" }, this.description))), h("div", { class: "pn-profile-modal-profile-details", "aria-hidden": (!this.showCustomerNumbers) + '' }, h("pn-button", { appearance: "light", variant: "borderless", icon: "arrow-left", "left-icon": "true", small: "true", onClick: () => {
5909
- this.showCustomerNumbers = false;
5907
+ return (h(Host, { selected: this.selected + '' }, h("div", { class: "pn-profile-modal-profile-listitem", "aria-hidden": (!!(state$1.selectedProfile) + '') }, h("button", { class: "pn-profile-modal-profile-listitem-button", onClick: this.onProfileOptionClick.bind(this) }, h("div", { class: "pn-profile-modal-profile-listitem-heading" }, this.heading), h("div", { class: "pn-profile-modal-profile-listitem-description" }, this.description))), h("div", { class: "pn-profile-modal-profile-details", "aria-hidden": (!(state$1.selectedProfile === this.identifier)) + '' }, h("pn-button", { appearance: "light", variant: "borderless", icon: "arrow-left", "left-icon": "true", small: "true", onClick: () => {
5910
5908
  this.selected = false;
5911
5909
  state$1.selectedProfile = '';
5912
5910
  } }, state$1.i18n.toText, " ", state$1.selectedType), h("div", { class: "pn-profile-modal-profile-details-company" }, h("div", { class: "pn-profile-modal-profile-details-label" }, state$1.i18n.choosenCompanyText), h("div", { class: "pn-profile-modal-profile-details-company-heading" }, this.heading), h("div", { class: "pn-profile-modal-profile-details-company-description" }, this.description)), h("div", { class: "pn-profile-modal-profile-details-list" }, h("div", { class: "pn-profile-modal-profile-details-list-label" }, this.pleaseSelectText), h("slot", null)))));
@@ -5930,9 +5928,13 @@ let PnProfileModalType$1 = class extends HTMLElement {
5930
5928
  if (this.selected) {
5931
5929
  state$1.selectedType = this.name;
5932
5930
  }
5931
+ state$1.selectedProfile = '';
5932
+ [...this.hostElement.querySelectorAll('pn-profile-modal-profile')].map((x) => {
5933
+ x.setAttribute("selected", 'false');
5934
+ });
5933
5935
  }
5934
5936
  render() {
5935
- return (h(Host, { selected: this.selected + '', "selected-profile": state$1.selectedProfile + '' }, h("slot", null)));
5937
+ return (h(Host, { selected: (state$1.selectedType === this.name) + '', "selected-profile": state$1.selectedProfile + '' }, h("slot", null)));
5936
5938
  }
5937
5939
  get hostElement() { return this; }
5938
5940
  static get watchers() { return {
@@ -30,12 +30,10 @@ let PnProfileModalProfile = class {
30
30
  else {
31
31
  // TODO: Open customer number selection
32
32
  state.selectedProfile = this.identifier;
33
- this.showCustomerNumbers = true;
34
33
  }
35
34
  }
36
35
  render() {
37
- return (h(Host, { selected: this.selected + '' }, h("div", { class: "pn-profile-modal-profile-listitem", "aria-hidden": (!!(state.selectedProfile) + '') }, h("button", { class: "pn-profile-modal-profile-listitem-button", onClick: this.onProfileOptionClick.bind(this) }, h("div", { class: "pn-profile-modal-profile-listitem-heading" }, this.heading), h("div", { class: "pn-profile-modal-profile-listitem-description" }, this.description))), h("div", { class: "pn-profile-modal-profile-details", "aria-hidden": (!this.showCustomerNumbers) + '' }, h("pn-button", { appearance: "light", variant: "borderless", icon: "arrow-left", "left-icon": "true", small: "true", onClick: () => {
38
- this.showCustomerNumbers = false;
36
+ return (h(Host, { selected: this.selected + '' }, h("div", { class: "pn-profile-modal-profile-listitem", "aria-hidden": (!!(state.selectedProfile) + '') }, h("button", { class: "pn-profile-modal-profile-listitem-button", onClick: this.onProfileOptionClick.bind(this) }, h("div", { class: "pn-profile-modal-profile-listitem-heading" }, this.heading), h("div", { class: "pn-profile-modal-profile-listitem-description" }, this.description))), h("div", { class: "pn-profile-modal-profile-details", "aria-hidden": (!(state.selectedProfile === this.identifier)) + '' }, h("pn-button", { appearance: "light", variant: "borderless", icon: "arrow-left", "left-icon": "true", small: "true", onClick: () => {
39
37
  this.selected = false;
40
38
  state.selectedProfile = '';
41
39
  } }, state.i18n.toText, " ", state.selectedType), h("div", { class: "pn-profile-modal-profile-details-company" }, h("div", { class: "pn-profile-modal-profile-details-label" }, state.i18n.choosenCompanyText), h("div", { class: "pn-profile-modal-profile-details-company-heading" }, this.heading), h("div", { class: "pn-profile-modal-profile-details-company-description" }, this.description)), h("div", { class: "pn-profile-modal-profile-details-list" }, h("div", { class: "pn-profile-modal-profile-details-list-label" }, this.pleaseSelectText), h("slot", null)))));
@@ -16,9 +16,13 @@ let PnProfileModalType = class {
16
16
  if (this.selected) {
17
17
  state.selectedType = this.name;
18
18
  }
19
+ state.selectedProfile = '';
20
+ [...this.hostElement.querySelectorAll('pn-profile-modal-profile')].map((x) => {
21
+ x.setAttribute("selected", 'false');
22
+ });
19
23
  }
20
24
  render() {
21
- return (h(Host, { selected: this.selected + '', "selected-profile": state.selectedProfile + '' }, h("slot", null)));
25
+ return (h(Host, { selected: (state.selectedType === this.name) + '', "selected-profile": state.selectedProfile + '' }, h("slot", null)));
22
26
  }
23
27
  get hostElement() { return getElement(this); }
24
28
  static get watchers() { return {
@@ -1 +1 @@
1
- import{r as registerInstance,e as createEvent,h,a as Host,g as getElement}from"./index-5397620b.js";import{s as state}from"./pn-profile-modal-store-ae9e0d5a.js";import"./index-7b21ecff.js";var pnProfileModalProfileCss='pn-profile-modal-type[selected=true]:not([selected-profile=""]) pn-profile-modal-profile[selected=false]{display:none}.pn-profile-modal-profile-listitem{overflow:hidden;max-height:10rem;-webkit-transition:max-height 0.15s ease;transition:max-height 0.15s ease;opacity:1}.pn-profile-modal-profile-listitem[aria-hidden=true]{max-height:0;opacity:0}.pn-profile-modal-profile-listitem-button{padding:0.8rem;margin:0;background:#FFFFFF;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;cursor:pointer;border-radius:0.8rem;-webkit-transition:background 0.15s ease;transition:background 0.15s ease;text-align:left;width:100%}.pn-profile-modal-profile-listitem-button:hover,.pn-profile-modal-profile-listitem-button:focus,.pn-profile-modal-profile-listitem-button:active{background:#EFFBFF}.pn-profile-modal-profile-listitem[aria-hidden=true] .pn-profile-modal-profile-listitem-button{display:none}.pn-profile-modal-profile-listitem-heading{color:#005D92;font-weight:700;font-size:1.6rem}.pn-profile-modal-profile-listitem-description{color:#5E554A;font-weight:400;font-size:1.2rem}.pn-profile-modal-profile-details{max-height:300rem;-webkit-transition:max-height 0.15s ease;transition:max-height 0.15s ease;opacity:1}.pn-profile-modal-profile-details[aria-hidden=true]{max-height:0;opacity:0;overflow:hidden}.pn-profile-modal-profile-details>pn-button{position:relative;margin-left:-1.2rem}.pn-profile-modal-profile-details>pn-button .pn-button-content{font-weight:500}.pn-profile-modal-profile-details-company{border-top:1px solid #D3CECB;border-bottom:1px solid #D3CECB;padding:0.8rem 0.8rem;margin:1.6rem 0}.pn-profile-modal-profile-details-label{font-size:1.4rem;font-weight:500;margin-bottom:1.2rem}.pn-profile-modal-profile-details-company-heading{font-weight:700;font-size:1.6rem}.pn-profile-modal-profile-details-company-description{color:#5E554A;font-weight:400;font-size:1.2rem}.pn-profile-modal-profile-details-list{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:1.6rem;padding:0 0}.pn-profile-modal-profile-details-list-label{font-size:1.4rem;font-weight:500;margin:0 0 0 0.8rem}';var PnProfileModalProfile=function(){function e(e){registerInstance(this,e);this.urlSelected=createEvent(this,"urlSelected",7);this.showCustomerNumbersEvent=createEvent(this,"showCustomerNumbersEvent",7);this.heading=null;this.description=null;this.url=null;this.selected=false;this.showCustomerNumbers=false;this.pleaseSelectText="";this.visible=false;this.identifier=""}e.prototype.componentWillLoad=function(){this.identifier=this.heading+this.url};e.prototype.onProfileOptionClick=function(){this.selected=true;if(this.url){this.urlSelected.emit(this.url)}else{state.selectedProfile=this.identifier;this.showCustomerNumbers=true}};e.prototype.render=function(){var e=this;return h(Host,{selected:this.selected+""},h("div",{class:"pn-profile-modal-profile-listitem","aria-hidden":!!state.selectedProfile+""},h("button",{class:"pn-profile-modal-profile-listitem-button",onClick:this.onProfileOptionClick.bind(this)},h("div",{class:"pn-profile-modal-profile-listitem-heading"},this.heading),h("div",{class:"pn-profile-modal-profile-listitem-description"},this.description))),h("div",{class:"pn-profile-modal-profile-details","aria-hidden":!this.showCustomerNumbers+""},h("pn-button",{appearance:"light",variant:"borderless",icon:"arrow-left","left-icon":"true",small:"true",onClick:function(){e.showCustomerNumbers=false;e.selected=false;state.selectedProfile=""}},state.i18n.toText," ",state.selectedType),h("div",{class:"pn-profile-modal-profile-details-company"},h("div",{class:"pn-profile-modal-profile-details-label"},state.i18n.choosenCompanyText),h("div",{class:"pn-profile-modal-profile-details-company-heading"},this.heading),h("div",{class:"pn-profile-modal-profile-details-company-description"},this.description)),h("div",{class:"pn-profile-modal-profile-details-list"},h("div",{class:"pn-profile-modal-profile-details-list-label"},this.pleaseSelectText),h("slot",null))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnProfileModalProfile.style=pnProfileModalProfileCss;export{PnProfileModalProfile as pn_profile_modal_profile};
1
+ import{r as registerInstance,e as createEvent,h,a as Host,g as getElement}from"./index-5397620b.js";import{s as state}from"./pn-profile-modal-store-ae9e0d5a.js";import"./index-7b21ecff.js";var pnProfileModalProfileCss='pn-profile-modal-type[selected=true]:not([selected-profile=""]) pn-profile-modal-profile[selected=false]{display:none}.pn-profile-modal-profile-listitem{overflow:hidden;max-height:10rem;-webkit-transition:max-height 0.15s ease;transition:max-height 0.15s ease;opacity:1}.pn-profile-modal-profile-listitem[aria-hidden=true]{max-height:0;opacity:0}.pn-profile-modal-profile-listitem-button{padding:0.8rem;margin:0;background:#FFFFFF;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;cursor:pointer;border-radius:0.8rem;-webkit-transition:background 0.15s ease;transition:background 0.15s ease;text-align:left;width:100%}.pn-profile-modal-profile-listitem-button:hover,.pn-profile-modal-profile-listitem-button:focus,.pn-profile-modal-profile-listitem-button:active{background:#EFFBFF}.pn-profile-modal-profile-listitem[aria-hidden=true] .pn-profile-modal-profile-listitem-button{display:none}.pn-profile-modal-profile-listitem-heading{color:#005D92;font-weight:700;font-size:1.6rem}.pn-profile-modal-profile-listitem-description{color:#5E554A;font-weight:400;font-size:1.2rem}.pn-profile-modal-profile-details{max-height:300rem;-webkit-transition:max-height 0.15s ease;transition:max-height 0.15s ease;opacity:1}.pn-profile-modal-profile-details[aria-hidden=true]{max-height:0;opacity:0;overflow:hidden}.pn-profile-modal-profile-details>pn-button{position:relative;margin-left:-1.2rem}.pn-profile-modal-profile-details>pn-button .pn-button-content{font-weight:500}.pn-profile-modal-profile-details-company{border-top:1px solid #D3CECB;border-bottom:1px solid #D3CECB;padding:0.8rem 0.8rem;margin:1.6rem 0}.pn-profile-modal-profile-details-label{font-size:1.4rem;font-weight:500;margin-bottom:1.2rem}.pn-profile-modal-profile-details-company-heading{font-weight:700;font-size:1.6rem}.pn-profile-modal-profile-details-company-description{color:#5E554A;font-weight:400;font-size:1.2rem}.pn-profile-modal-profile-details-list{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:1.6rem;padding:0 0}.pn-profile-modal-profile-details-list-label{font-size:1.4rem;font-weight:500;margin:0 0 0 0.8rem}';var PnProfileModalProfile=function(){function e(e){registerInstance(this,e);this.urlSelected=createEvent(this,"urlSelected",7);this.showCustomerNumbersEvent=createEvent(this,"showCustomerNumbersEvent",7);this.heading=null;this.description=null;this.url=null;this.selected=false;this.showCustomerNumbers=false;this.pleaseSelectText="";this.visible=false;this.identifier=""}e.prototype.componentWillLoad=function(){this.identifier=this.heading+this.url};e.prototype.onProfileOptionClick=function(){this.selected=true;if(this.url){this.urlSelected.emit(this.url)}else{state.selectedProfile=this.identifier}};e.prototype.render=function(){var e=this;return h(Host,{selected:this.selected+""},h("div",{class:"pn-profile-modal-profile-listitem","aria-hidden":!!state.selectedProfile+""},h("button",{class:"pn-profile-modal-profile-listitem-button",onClick:this.onProfileOptionClick.bind(this)},h("div",{class:"pn-profile-modal-profile-listitem-heading"},this.heading),h("div",{class:"pn-profile-modal-profile-listitem-description"},this.description))),h("div",{class:"pn-profile-modal-profile-details","aria-hidden":!(state.selectedProfile===this.identifier)+""},h("pn-button",{appearance:"light",variant:"borderless",icon:"arrow-left","left-icon":"true",small:"true",onClick:function(){e.selected=false;state.selectedProfile=""}},state.i18n.toText," ",state.selectedType),h("div",{class:"pn-profile-modal-profile-details-company"},h("div",{class:"pn-profile-modal-profile-details-label"},state.i18n.choosenCompanyText),h("div",{class:"pn-profile-modal-profile-details-company-heading"},this.heading),h("div",{class:"pn-profile-modal-profile-details-company-description"},this.description)),h("div",{class:"pn-profile-modal-profile-details-list"},h("div",{class:"pn-profile-modal-profile-details-list-label"},this.pleaseSelectText),h("slot",null))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnProfileModalProfile.style=pnProfileModalProfileCss;export{PnProfileModalProfile as pn_profile_modal_profile};
@@ -1 +1 @@
1
- import{r as registerInstance,h,a as Host,g as getElement}from"./index-5397620b.js";import{s as state}from"./pn-profile-modal-store-ae9e0d5a.js";import"./index-7b21ecff.js";var pnProfileModalTypeCss="pn-profile-modal-type{display:-ms-flexbox;display:flex;width:100%;padding:3.2rem 0 1.2rem;-ms-flex-direction:column;flex-direction:column;gap:1.6rem;display:none}pn-profile-modal-type:first-of-type{margin-top:2.4rem}pn-profile-modal-type:last-of-type{border-bottom:0;padding-bottom:0}pn-profile-modal-type:last-of-type .profileselectoroption{padding-bottom:0}pn-profile-modal-type[selected=true]{display:-ms-flexbox;display:flex;opacity:1}";var PnProfileModalType=function(){function e(e){registerInstance(this,e);this.typeid="";this.name="false";this.selected=false;this.selectedprofile=null}e.prototype.onSelectedChange=function(){if(this.selected){state.selectedType=this.name}};e.prototype.render=function(){return h(Host,{selected:this.selected+"","selected-profile":state.selectedProfile+""},h("slot",null))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{selected:["onSelectedChange"]}},enumerable:false,configurable:true});return e}();PnProfileModalType.style=pnProfileModalTypeCss;export{PnProfileModalType as pn_profile_modal_type};
1
+ var __spreadArray=this&&this.__spreadArray||function(e,t,o){if(o||arguments.length===2)for(var r=0,l=t.length,s;r<l;r++){if(s||!(r in t)){if(!s)s=Array.prototype.slice.call(t,0,r);s[r]=t[r]}}return e.concat(s||Array.prototype.slice.call(t))};import{r as registerInstance,h,a as Host,g as getElement}from"./index-5397620b.js";import{s as state}from"./pn-profile-modal-store-ae9e0d5a.js";import"./index-7b21ecff.js";var pnProfileModalTypeCss="pn-profile-modal-type{display:-ms-flexbox;display:flex;width:100%;padding:3.2rem 0 1.2rem;-ms-flex-direction:column;flex-direction:column;gap:1.6rem;display:none}pn-profile-modal-type:first-of-type{margin-top:2.4rem}pn-profile-modal-type:last-of-type{border-bottom:0;padding-bottom:0}pn-profile-modal-type:last-of-type .profileselectoroption{padding-bottom:0}pn-profile-modal-type[selected=true]{display:-ms-flexbox;display:flex;opacity:1}";var PnProfileModalType=function(){function e(e){registerInstance(this,e);this.typeid="";this.name="false";this.selected=false;this.selectedprofile=null}e.prototype.onSelectedChange=function(){if(this.selected){state.selectedType=this.name}state.selectedProfile="";__spreadArray([],this.hostElement.querySelectorAll("pn-profile-modal-profile"),true).map((function(e){e.setAttribute("selected","false")}))};e.prototype.render=function(){return h(Host,{selected:(state.selectedType===this.name)+"","selected-profile":state.selectedProfile+""},h("slot",null))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{selected:["onSelectedChange"]}},enumerable:false,configurable:true});return e}();PnProfileModalType.style=pnProfileModalTypeCss;export{PnProfileModalType as pn_profile_modal_type};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postnord/pn-marketweb-components",
3
- "version": "2.0.62",
3
+ "version": "2.0.63",
4
4
  "description": "PostNord Market Websites Components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -0,0 +1 @@
1
+ import{r as i,e,h as o,a as l,g as t}from"./p-58e8d7d5.js";import{s as r}from"./p-9344cd23.js";import"./p-86f06e26.js";let a=class{constructor(o){i(this,o),this.urlSelected=e(this,"urlSelected",7),this.showCustomerNumbersEvent=e(this,"showCustomerNumbersEvent",7),this.heading=null,this.description=null,this.url=null,this.selected=!1,this.showCustomerNumbers=!1,this.pleaseSelectText="",this.visible=!1,this.identifier=""}componentWillLoad(){this.identifier=this.heading+this.url}onProfileOptionClick(){this.selected=!0,this.url?this.urlSelected.emit(this.url):r.selectedProfile=this.identifier}render(){return o(l,{selected:this.selected+""},o("div",{class:"pn-profile-modal-profile-listitem","aria-hidden":!!r.selectedProfile+""},o("button",{class:"pn-profile-modal-profile-listitem-button",onClick:this.onProfileOptionClick.bind(this)},o("div",{class:"pn-profile-modal-profile-listitem-heading"},this.heading),o("div",{class:"pn-profile-modal-profile-listitem-description"},this.description))),o("div",{class:"pn-profile-modal-profile-details","aria-hidden":!(r.selectedProfile===this.identifier)+""},o("pn-button",{appearance:"light",variant:"borderless",icon:"arrow-left","left-icon":"true",small:"true",onClick:()=>{this.selected=!1,r.selectedProfile=""}},r.i18n.toText," ",r.selectedType),o("div",{class:"pn-profile-modal-profile-details-company"},o("div",{class:"pn-profile-modal-profile-details-label"},r.i18n.choosenCompanyText),o("div",{class:"pn-profile-modal-profile-details-company-heading"},this.heading),o("div",{class:"pn-profile-modal-profile-details-company-description"},this.description)),o("div",{class:"pn-profile-modal-profile-details-list"},o("div",{class:"pn-profile-modal-profile-details-list-label"},this.pleaseSelectText),o("slot",null))))}get hostElement(){return t(this)}};a.style='pn-profile-modal-type[selected=true]:not([selected-profile=""]) pn-profile-modal-profile[selected=false]{display:none}.pn-profile-modal-profile-listitem{overflow:hidden;max-height:10rem;-webkit-transition:max-height 0.15s ease;transition:max-height 0.15s ease;opacity:1}.pn-profile-modal-profile-listitem[aria-hidden=true]{max-height:0;opacity:0}.pn-profile-modal-profile-listitem-button{padding:0.8rem;margin:0;background:#FFFFFF;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;cursor:pointer;border-radius:0.8rem;-webkit-transition:background 0.15s ease;transition:background 0.15s ease;text-align:left;width:100%}.pn-profile-modal-profile-listitem-button:hover,.pn-profile-modal-profile-listitem-button:focus,.pn-profile-modal-profile-listitem-button:active{background:#EFFBFF}.pn-profile-modal-profile-listitem[aria-hidden=true] .pn-profile-modal-profile-listitem-button{display:none}.pn-profile-modal-profile-listitem-heading{color:#005D92;font-weight:700;font-size:1.6rem}.pn-profile-modal-profile-listitem-description{color:#5E554A;font-weight:400;font-size:1.2rem}.pn-profile-modal-profile-details{max-height:300rem;-webkit-transition:max-height 0.15s ease;transition:max-height 0.15s ease;opacity:1}.pn-profile-modal-profile-details[aria-hidden=true]{max-height:0;opacity:0;overflow:hidden}.pn-profile-modal-profile-details>pn-button{position:relative;margin-left:-1.2rem}.pn-profile-modal-profile-details>pn-button .pn-button-content{font-weight:500}.pn-profile-modal-profile-details-company{border-top:1px solid #D3CECB;border-bottom:1px solid #D3CECB;padding:0.8rem 0.8rem;margin:1.6rem 0}.pn-profile-modal-profile-details-label{font-size:1.4rem;font-weight:500;margin-bottom:1.2rem}.pn-profile-modal-profile-details-company-heading{font-weight:700;font-size:1.6rem}.pn-profile-modal-profile-details-company-description{color:#5E554A;font-weight:400;font-size:1.2rem}.pn-profile-modal-profile-details-list{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:1.6rem;padding:0 0}.pn-profile-modal-profile-details-list-label{font-size:1.4rem;font-weight:500;margin:0 0 0 0.8rem}';export{a as pn_profile_modal_profile}
@@ -0,0 +1 @@
1
+ var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var l=0,o=t.length,n;l<o;l++){if(n||!(l in t)){if(!n)n=Array.prototype.slice.call(t,0,l);n[l]=t[l]}}return e.concat(n||Array.prototype.slice.call(t))};System.register(["./p-36654f2a.system.js","./p-94958580.system.js","./p-825b8fb8.system.js"],(function(e){"use strict";var t,r,l,o,n;return{setters:[function(e){t=e.r;r=e.h;l=e.a;o=e.g},function(e){n=e.s},function(){}],execute:function(){var i="pn-profile-modal-type{display:-ms-flexbox;display:flex;width:100%;padding:3.2rem 0 1.2rem;-ms-flex-direction:column;flex-direction:column;gap:1.6rem;display:none}pn-profile-modal-type:first-of-type{margin-top:2.4rem}pn-profile-modal-type:last-of-type{border-bottom:0;padding-bottom:0}pn-profile-modal-type:last-of-type .profileselectoroption{padding-bottom:0}pn-profile-modal-type[selected=true]{display:-ms-flexbox;display:flex;opacity:1}";var s=e("pn_profile_modal_type",function(){function e(e){t(this,e);this.typeid="";this.name="false";this.selected=false;this.selectedprofile=null}e.prototype.onSelectedChange=function(){if(this.selected){n.selectedType=this.name}n.selectedProfile="";__spreadArray([],this.hostElement.querySelectorAll("pn-profile-modal-profile"),true).map((function(e){e.setAttribute("selected","false")}))};e.prototype.render=function(){return r(l,{selected:(n.selectedType===this.name)+"","selected-profile":n.selectedProfile+""},r("slot",null))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{selected:["onSelectedChange"]}},enumerable:false,configurable:true});return e}());s.style=i}}}));
@@ -1 +1 @@
1
- System.register(["./p-36654f2a.system.js"],(function(){"use strict";var e,n,t,a,i,s;return{setters:[function(r){e=r.d;n=r.N;t=r.w;a=r.p;i=r.H;s=r.b}],execute:function(){var r=function(){{o(i.prototype)}var s=Array.from(e.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(n,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===n}));var r={};if("onbeforeload"in s&&!history.scrollRestoration){return{then:function(){}}}{r.resourcesUrl=new URL(".",new URL(s.getAttribute("data-resources-url")||s.src,t.location.href)).href}return a(r)};var o=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 i=0;i<a.length;i++){if(a[i].nodeType!==2){t.appendChild(a[i].cloneNode(true))}}}return t}};r().then((function(e){return s([["p-8138076f.system",[[4,"pn-marketweb-siteheader",{market:[1537],language:[1537],environment:[1537],userToken:[1,"user-token"],userFullname:[1,"user-fullname"],userLoggedin:[4,"user-loggedin"],endpoint:[1],hideSiteSelector:[1540,"hide-site-selector"],hideLanguageSelector:[1540,"hide-language-selector"],hideSearch:[1540,"hide-search"],hideLogin:[1540,"hide-login"],showProfileSelection:[1540,"show-profile-selection"],siteDomainInUrls:[4,"site-domain-in-urls"],AutocompleteEndpoint:[1,"autocomplete-endpoint"],sessionForward:[4,"session-forward"],cache:[4],spaMode:[4,"spa-mode"],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],loginManager:[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["p-bc22baf1.system",[[0,"pn-find-price",{source:[1],language:[1025],market:[1025],filteredItems:[32],weight:[32],weightvalue:[32],sourceData:[32],sizecategory:[32]}]]],["p-8144bcbc.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-fecc53bb.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-723b9901.system",[[0,"pn-product-pricelist-result",{item:[1040],description:[16],shownitems:[16],showMeasurement:[4,"show-measurement"],weightText:[32]}]]],["p-7422abda.system",[[4,"pn-marketweb-sitefooter",{market:[1537],language:[1537],environment:[1537],endpoint:[1],cache:[4],siteDefinition:[32],footerContent:[32],i18n:[32],gotData:[32],fetchingData:[32]}]]],["p-085243a4.system",[[4,"pn-bonus-progressbar",{icon:[1],heading:[1],theme:[513],bonuspercentage:[1],currency:[513],value:[1538],min:[1538],max:[1538],valuepercentage:[32],progresspercentage:[32],levelValues:[32],currentLevelAdjustedValue:[32]}]]],["p-2da8e5e8.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-4f67721e.system",[[4,"pn-customernumber-selector",{language:[1537],open:[1540],heading:[1],description:[1],i18n:[32]}]]],["p-e6fa11ad.system",[[4,"pn-customernumber-selector-option",{heading:[1],description:[1],url:[1]}]]],["p-2718b89a.system",[[1,"pn-filter-checkbox",{value:[520],name:[1],checkboxid:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-80dce81e.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-290d5824.system",[[4,"pn-product-tile"]]],["p-74d35edf.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-aa271997.system",[[4,"pn-profile-modal-customernumber",{url:[513],customernumber:[513],selected:[516]}]]],["p-1598e044.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-2737bc18.system",[[4,"pn-profile-modal-type",{typeid:[513],name:[1025],selected:[1028],selectedprofile:[1025]}]]],["p-450cbe76.system",[[4,"pn-profile-selector",{language:[1537],returnUrl:[1,"return-url"],heading:[1],i18n:[32],isLoading:[32],numberOfProfiles:[32]}]]],["p-93cecc43.system",[[0,"pn-profile-selector-option",{heading:[1],description:[1],url:[1]}]]],["p-a247058b.system",[[4,"pn-sidenav",{language:[1],navLabel:[1,"nav-label"],i18n:[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["p-885bc8d7.system",[[4,"pn-sidenav-level",{level:[32],levelId:[32],isOpen:[32],parentName:[32],parentHref:[32],parentLinkId:[32],alignment:[32]}]]],["p-625fb7fb.system",[[4,"pn-sidenav-link",{name:[1],href:[1],target:[1],linkid:[1],icon:[1],current:[4],levelId:[32],open:[32],hasChildren:[32]}]]],["p-b88337dd.system",[[4,"pn-sidenav-togglebutton",{label:[1],i18n:[32]}]]],["p-8117b79e.system",[[0,"pn-find-service-and-price-result",{item:[1040],shownitems:[16],weightText:[32]}]]],["p-f7b013a7.system",[[0,"pn-bonus-progressbar-level",{current:[516],value:[1538],bonuspercentage:[1537],visualpercentage:[1538],percentage:[32],max:[32],min:[32],currency:[32]}]]],["p-9edaf6b6.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-5b750c06.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-titletag",{icon:[1],color:[1537]}],[4,"pn-product-card"]]],["p-e4a4e68f.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-c2a4803f.system",[[4,"pn-site-footer",{url:[1],linktitle:[1]}],[4,"pn-site-footer-col"]]],["p-1ce871c5.system",[[4,"pn-choice-button",{value:[520],name:[1],choiceid:[1],type:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-fc1083d2.system",[[4,"pn-mainnav-link",{name:[1],href:[1],target:[1],linkid:[1],levelId:[32],open:[32],hasChildren:[32]}]]],["p-da7f1b66.system",[[0,"pn-marketweb-siteheader-login-links",{loginDialog:[1040],loginManager:[16],idNamespace:[1,"id-namespace"],loggedin:[516],username:[1]}],[0,"pn-marketweb-siteheader-login-profileselection",{loginDialog:[1040],loginManager:[16],endpoint:[1],loggedin:[4],idNamespace:[1,"id-namespace"],heading:[1],i18n:[16],currentProfile:[1040],profileoptions:[1040],user:[32],logoutLink:[32],userName:[32],userEmail:[32]}]]],["p-a921d3fd.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-e66a8bb8.system",[[0,"pn-marketweb-siteheader-login-linklist",{heading:[1],links:[16],idNamespace:[1,"id-namespace"],loginManager:[16]}]]],["p-4784031f.system",[[0,"pn-marketweb-siteheader-login",{endpoint:[1],token:[1],i18n:[16],emitEvents:[4,"emit-events"],loginDialog:[1040],fullname:[1],loggedin:[4],showProfileSelection:[1028,"show-profile-selection"],loginManager:[32],loginLinks:[32],toggleButtonText:[32],username:[32]}],[4,"pn-mainnav-level",{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],search:[1040],primary:[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]}]]]],e)}))}}}));
1
+ System.register(["./p-36654f2a.system.js"],(function(){"use strict";var e,n,t,a,i,s;return{setters:[function(r){e=r.d;n=r.N;t=r.w;a=r.p;i=r.H;s=r.b}],execute:function(){var r=function(){{o(i.prototype)}var s=Array.from(e.querySelectorAll("script")).find((function(e){return new RegExp("/".concat(n,"(\\.esm)?\\.js($|\\?|#)")).test(e.src)||e.getAttribute("data-stencil-namespace")===n}));var r={};if("onbeforeload"in s&&!history.scrollRestoration){return{then:function(){}}}{r.resourcesUrl=new URL(".",new URL(s.getAttribute("data-resources-url")||s.src,t.location.href)).href}return a(r)};var o=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 i=0;i<a.length;i++){if(a[i].nodeType!==2){t.appendChild(a[i].cloneNode(true))}}}return t}};r().then((function(e){return s([["p-8138076f.system",[[4,"pn-marketweb-siteheader",{market:[1537],language:[1537],environment:[1537],userToken:[1,"user-token"],userFullname:[1,"user-fullname"],userLoggedin:[4,"user-loggedin"],endpoint:[1],hideSiteSelector:[1540,"hide-site-selector"],hideLanguageSelector:[1540,"hide-language-selector"],hideSearch:[1540,"hide-search"],hideLogin:[1540,"hide-login"],showProfileSelection:[1540,"show-profile-selection"],siteDomainInUrls:[4,"site-domain-in-urls"],AutocompleteEndpoint:[1,"autocomplete-endpoint"],sessionForward:[4,"session-forward"],cache:[4],spaMode:[4,"spa-mode"],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],loginManager:[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["p-bc22baf1.system",[[0,"pn-find-price",{source:[1],language:[1025],market:[1025],filteredItems:[32],weight:[32],weightvalue:[32],sourceData:[32],sizecategory:[32]}]]],["p-8144bcbc.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-fecc53bb.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-723b9901.system",[[0,"pn-product-pricelist-result",{item:[1040],description:[16],shownitems:[16],showMeasurement:[4,"show-measurement"],weightText:[32]}]]],["p-7422abda.system",[[4,"pn-marketweb-sitefooter",{market:[1537],language:[1537],environment:[1537],endpoint:[1],cache:[4],siteDefinition:[32],footerContent:[32],i18n:[32],gotData:[32],fetchingData:[32]}]]],["p-085243a4.system",[[4,"pn-bonus-progressbar",{icon:[1],heading:[1],theme:[513],bonuspercentage:[1],currency:[513],value:[1538],min:[1538],max:[1538],valuepercentage:[32],progresspercentage:[32],levelValues:[32],currentLevelAdjustedValue:[32]}]]],["p-2da8e5e8.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-4f67721e.system",[[4,"pn-customernumber-selector",{language:[1537],open:[1540],heading:[1],description:[1],i18n:[32]}]]],["p-e6fa11ad.system",[[4,"pn-customernumber-selector-option",{heading:[1],description:[1],url:[1]}]]],["p-2718b89a.system",[[1,"pn-filter-checkbox",{value:[520],name:[1],checkboxid:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-80dce81e.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-290d5824.system",[[4,"pn-product-tile"]]],["p-74d35edf.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-aa271997.system",[[4,"pn-profile-modal-customernumber",{url:[513],customernumber:[513],selected:[516]}]]],["p-7b9fb94f.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-58a57436.system",[[4,"pn-profile-modal-type",{typeid:[513],name:[1025],selected:[1028],selectedprofile:[1025]}]]],["p-450cbe76.system",[[4,"pn-profile-selector",{language:[1537],returnUrl:[1,"return-url"],heading:[1],i18n:[32],isLoading:[32],numberOfProfiles:[32]}]]],["p-93cecc43.system",[[0,"pn-profile-selector-option",{heading:[1],description:[1],url:[1]}]]],["p-a247058b.system",[[4,"pn-sidenav",{language:[1],navLabel:[1,"nav-label"],i18n:[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["p-885bc8d7.system",[[4,"pn-sidenav-level",{level:[32],levelId:[32],isOpen:[32],parentName:[32],parentHref:[32],parentLinkId:[32],alignment:[32]}]]],["p-625fb7fb.system",[[4,"pn-sidenav-link",{name:[1],href:[1],target:[1],linkid:[1],icon:[1],current:[4],levelId:[32],open:[32],hasChildren:[32]}]]],["p-b88337dd.system",[[4,"pn-sidenav-togglebutton",{label:[1],i18n:[32]}]]],["p-8117b79e.system",[[0,"pn-find-service-and-price-result",{item:[1040],shownitems:[16],weightText:[32]}]]],["p-f7b013a7.system",[[0,"pn-bonus-progressbar-level",{current:[516],value:[1538],bonuspercentage:[1537],visualpercentage:[1538],percentage:[32],max:[32],min:[32],currency:[32]}]]],["p-9edaf6b6.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-5b750c06.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-titletag",{icon:[1],color:[1537]}],[4,"pn-product-card"]]],["p-e4a4e68f.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-c2a4803f.system",[[4,"pn-site-footer",{url:[1],linktitle:[1]}],[4,"pn-site-footer-col"]]],["p-1ce871c5.system",[[4,"pn-choice-button",{value:[520],name:[1],choiceid:[1],type:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-fc1083d2.system",[[4,"pn-mainnav-link",{name:[1],href:[1],target:[1],linkid:[1],levelId:[32],open:[32],hasChildren:[32]}]]],["p-da7f1b66.system",[[0,"pn-marketweb-siteheader-login-links",{loginDialog:[1040],loginManager:[16],idNamespace:[1,"id-namespace"],loggedin:[516],username:[1]}],[0,"pn-marketweb-siteheader-login-profileselection",{loginDialog:[1040],loginManager:[16],endpoint:[1],loggedin:[4],idNamespace:[1,"id-namespace"],heading:[1],i18n:[16],currentProfile:[1040],profileoptions:[1040],user:[32],logoutLink:[32],userName:[32],userEmail:[32]}]]],["p-a921d3fd.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-e66a8bb8.system",[[0,"pn-marketweb-siteheader-login-linklist",{heading:[1],links:[16],idNamespace:[1,"id-namespace"],loginManager:[16]}]]],["p-4784031f.system",[[0,"pn-marketweb-siteheader-login",{endpoint:[1],token:[1],i18n:[16],emitEvents:[4,"emit-events"],loginDialog:[1040],fullname:[1],loggedin:[4],showProfileSelection:[1028,"show-profile-selection"],loginManager:[32],loginLinks:[32],toggleButtonText:[32],username:[32]}],[4,"pn-mainnav-level",{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],search:[1040],primary:[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]}]]]],e)}))}}}));
@@ -1 +1 @@
1
- System.register(["./p-36654f2a.system.js","./p-94958580.system.js","./p-825b8fb8.system.js"],(function(e){"use strict";var i,t,o,l,r,n;return{setters:[function(e){i=e.r;t=e.e;o=e.h;l=e.a;r=e.g},function(e){n=e.s},function(){}],execute:function(){var s='pn-profile-modal-type[selected=true]:not([selected-profile=""]) pn-profile-modal-profile[selected=false]{display:none}.pn-profile-modal-profile-listitem{overflow:hidden;max-height:10rem;-webkit-transition:max-height 0.15s ease;transition:max-height 0.15s ease;opacity:1}.pn-profile-modal-profile-listitem[aria-hidden=true]{max-height:0;opacity:0}.pn-profile-modal-profile-listitem-button{padding:0.8rem;margin:0;background:#FFFFFF;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;cursor:pointer;border-radius:0.8rem;-webkit-transition:background 0.15s ease;transition:background 0.15s ease;text-align:left;width:100%}.pn-profile-modal-profile-listitem-button:hover,.pn-profile-modal-profile-listitem-button:focus,.pn-profile-modal-profile-listitem-button:active{background:#EFFBFF}.pn-profile-modal-profile-listitem[aria-hidden=true] .pn-profile-modal-profile-listitem-button{display:none}.pn-profile-modal-profile-listitem-heading{color:#005D92;font-weight:700;font-size:1.6rem}.pn-profile-modal-profile-listitem-description{color:#5E554A;font-weight:400;font-size:1.2rem}.pn-profile-modal-profile-details{max-height:300rem;-webkit-transition:max-height 0.15s ease;transition:max-height 0.15s ease;opacity:1}.pn-profile-modal-profile-details[aria-hidden=true]{max-height:0;opacity:0;overflow:hidden}.pn-profile-modal-profile-details>pn-button{position:relative;margin-left:-1.2rem}.pn-profile-modal-profile-details>pn-button .pn-button-content{font-weight:500}.pn-profile-modal-profile-details-company{border-top:1px solid #D3CECB;border-bottom:1px solid #D3CECB;padding:0.8rem 0.8rem;margin:1.6rem 0}.pn-profile-modal-profile-details-label{font-size:1.4rem;font-weight:500;margin-bottom:1.2rem}.pn-profile-modal-profile-details-company-heading{font-weight:700;font-size:1.6rem}.pn-profile-modal-profile-details-company-description{color:#5E554A;font-weight:400;font-size:1.2rem}.pn-profile-modal-profile-details-list{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:1.6rem;padding:0 0}.pn-profile-modal-profile-details-list-label{font-size:1.4rem;font-weight:500;margin:0 0 0 0.8rem}';var a=e("pn_profile_modal_profile",function(){function e(e){i(this,e);this.urlSelected=t(this,"urlSelected",7);this.showCustomerNumbersEvent=t(this,"showCustomerNumbersEvent",7);this.heading=null;this.description=null;this.url=null;this.selected=false;this.showCustomerNumbers=false;this.pleaseSelectText="";this.visible=false;this.identifier=""}e.prototype.componentWillLoad=function(){this.identifier=this.heading+this.url};e.prototype.onProfileOptionClick=function(){this.selected=true;if(this.url){this.urlSelected.emit(this.url)}else{n.selectedProfile=this.identifier;this.showCustomerNumbers=true}};e.prototype.render=function(){var e=this;return o(l,{selected:this.selected+""},o("div",{class:"pn-profile-modal-profile-listitem","aria-hidden":!!n.selectedProfile+""},o("button",{class:"pn-profile-modal-profile-listitem-button",onClick:this.onProfileOptionClick.bind(this)},o("div",{class:"pn-profile-modal-profile-listitem-heading"},this.heading),o("div",{class:"pn-profile-modal-profile-listitem-description"},this.description))),o("div",{class:"pn-profile-modal-profile-details","aria-hidden":!this.showCustomerNumbers+""},o("pn-button",{appearance:"light",variant:"borderless",icon:"arrow-left","left-icon":"true",small:"true",onClick:function(){e.showCustomerNumbers=false;e.selected=false;n.selectedProfile=""}},n.i18n.toText," ",n.selectedType),o("div",{class:"pn-profile-modal-profile-details-company"},o("div",{class:"pn-profile-modal-profile-details-label"},n.i18n.choosenCompanyText),o("div",{class:"pn-profile-modal-profile-details-company-heading"},this.heading),o("div",{class:"pn-profile-modal-profile-details-company-description"},this.description)),o("div",{class:"pn-profile-modal-profile-details-list"},o("div",{class:"pn-profile-modal-profile-details-list-label"},this.pleaseSelectText),o("slot",null))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());a.style=s}}}));
1
+ System.register(["./p-36654f2a.system.js","./p-94958580.system.js","./p-825b8fb8.system.js"],(function(e){"use strict";var i,t,o,l,r,n;return{setters:[function(e){i=e.r;t=e.e;o=e.h;l=e.a;r=e.g},function(e){n=e.s},function(){}],execute:function(){var s='pn-profile-modal-type[selected=true]:not([selected-profile=""]) pn-profile-modal-profile[selected=false]{display:none}.pn-profile-modal-profile-listitem{overflow:hidden;max-height:10rem;-webkit-transition:max-height 0.15s ease;transition:max-height 0.15s ease;opacity:1}.pn-profile-modal-profile-listitem[aria-hidden=true]{max-height:0;opacity:0}.pn-profile-modal-profile-listitem-button{padding:0.8rem;margin:0;background:#FFFFFF;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;cursor:pointer;border-radius:0.8rem;-webkit-transition:background 0.15s ease;transition:background 0.15s ease;text-align:left;width:100%}.pn-profile-modal-profile-listitem-button:hover,.pn-profile-modal-profile-listitem-button:focus,.pn-profile-modal-profile-listitem-button:active{background:#EFFBFF}.pn-profile-modal-profile-listitem[aria-hidden=true] .pn-profile-modal-profile-listitem-button{display:none}.pn-profile-modal-profile-listitem-heading{color:#005D92;font-weight:700;font-size:1.6rem}.pn-profile-modal-profile-listitem-description{color:#5E554A;font-weight:400;font-size:1.2rem}.pn-profile-modal-profile-details{max-height:300rem;-webkit-transition:max-height 0.15s ease;transition:max-height 0.15s ease;opacity:1}.pn-profile-modal-profile-details[aria-hidden=true]{max-height:0;opacity:0;overflow:hidden}.pn-profile-modal-profile-details>pn-button{position:relative;margin-left:-1.2rem}.pn-profile-modal-profile-details>pn-button .pn-button-content{font-weight:500}.pn-profile-modal-profile-details-company{border-top:1px solid #D3CECB;border-bottom:1px solid #D3CECB;padding:0.8rem 0.8rem;margin:1.6rem 0}.pn-profile-modal-profile-details-label{font-size:1.4rem;font-weight:500;margin-bottom:1.2rem}.pn-profile-modal-profile-details-company-heading{font-weight:700;font-size:1.6rem}.pn-profile-modal-profile-details-company-description{color:#5E554A;font-weight:400;font-size:1.2rem}.pn-profile-modal-profile-details-list{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:1.6rem;padding:0 0}.pn-profile-modal-profile-details-list-label{font-size:1.4rem;font-weight:500;margin:0 0 0 0.8rem}';var a=e("pn_profile_modal_profile",function(){function e(e){i(this,e);this.urlSelected=t(this,"urlSelected",7);this.showCustomerNumbersEvent=t(this,"showCustomerNumbersEvent",7);this.heading=null;this.description=null;this.url=null;this.selected=false;this.showCustomerNumbers=false;this.pleaseSelectText="";this.visible=false;this.identifier=""}e.prototype.componentWillLoad=function(){this.identifier=this.heading+this.url};e.prototype.onProfileOptionClick=function(){this.selected=true;if(this.url){this.urlSelected.emit(this.url)}else{n.selectedProfile=this.identifier}};e.prototype.render=function(){var e=this;return o(l,{selected:this.selected+""},o("div",{class:"pn-profile-modal-profile-listitem","aria-hidden":!!n.selectedProfile+""},o("button",{class:"pn-profile-modal-profile-listitem-button",onClick:this.onProfileOptionClick.bind(this)},o("div",{class:"pn-profile-modal-profile-listitem-heading"},this.heading),o("div",{class:"pn-profile-modal-profile-listitem-description"},this.description))),o("div",{class:"pn-profile-modal-profile-details","aria-hidden":!(n.selectedProfile===this.identifier)+""},o("pn-button",{appearance:"light",variant:"borderless",icon:"arrow-left","left-icon":"true",small:"true",onClick:function(){e.selected=false;n.selectedProfile=""}},n.i18n.toText," ",n.selectedType),o("div",{class:"pn-profile-modal-profile-details-company"},o("div",{class:"pn-profile-modal-profile-details-label"},n.i18n.choosenCompanyText),o("div",{class:"pn-profile-modal-profile-details-company-heading"},this.heading),o("div",{class:"pn-profile-modal-profile-details-company-description"},this.description)),o("div",{class:"pn-profile-modal-profile-details-list"},o("div",{class:"pn-profile-modal-profile-details-list-label"},this.pleaseSelectText),o("slot",null))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());a.style=s}}}));
@@ -0,0 +1 @@
1
+ import{r as e,h as t,a as o,g as l}from"./p-58e8d7d5.js";import{s as p}from"./p-9344cd23.js";import"./p-86f06e26.js";let s=class{constructor(t){e(this,t),this.typeid="",this.name="false",this.selected=!1,this.selectedprofile=null}onSelectedChange(){this.selected&&(p.selectedType=this.name),p.selectedProfile="",[...this.hostElement.querySelectorAll("pn-profile-modal-profile")].map((e=>{e.setAttribute("selected","false")}))}render(){return t(o,{selected:(p.selectedType===this.name)+"","selected-profile":p.selectedProfile+""},t("slot",null))}get hostElement(){return l(this)}static get watchers(){return{selected:["onSelectedChange"]}}};s.style="pn-profile-modal-type{display:-ms-flexbox;display:flex;width:100%;padding:3.2rem 0 1.2rem;-ms-flex-direction:column;flex-direction:column;gap:1.6rem;display:none}pn-profile-modal-type:first-of-type{margin-top:2.4rem}pn-profile-modal-type:last-of-type{border-bottom:0;padding-bottom:0}pn-profile-modal-type:last-of-type .profileselectoroption{padding-bottom:0}pn-profile-modal-type[selected=true]{display:-ms-flexbox;display:flex;opacity:1}";export{s as pn_profile_modal_type}
@@ -1 +1 @@
1
- import{d as e,N as n,w as a,p as t,H as i,b as o}from"./p-58e8d7d5.js";const r=e=>{const n=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return n.call(this,e);const a=n.call(this,!1),t=this.childNodes;if(e)for(let n=0;n<t.length;n++)2!==t[n].nodeType&&a.appendChild(t[n].cloneNode(!0));return a}};(()=>{r(i.prototype);const o=Array.from(e.querySelectorAll("script")).find((e=>new RegExp(`/${n}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===n)),l={};return"onbeforeload"in o&&!history.scrollRestoration?{then(){}}:(l.resourcesUrl=new URL(".",new URL(o.getAttribute("data-resources-url")||o.src,a.location.href)).href,t(l))})().then((e=>o([["p-fae67406",[[4,"pn-marketweb-siteheader",{market:[1537],language:[1537],environment:[1537],userToken:[1,"user-token"],userFullname:[1,"user-fullname"],userLoggedin:[4,"user-loggedin"],endpoint:[1],hideSiteSelector:[1540,"hide-site-selector"],hideLanguageSelector:[1540,"hide-language-selector"],hideSearch:[1540,"hide-search"],hideLogin:[1540,"hide-login"],showProfileSelection:[1540,"show-profile-selection"],siteDomainInUrls:[4,"site-domain-in-urls"],AutocompleteEndpoint:[1,"autocomplete-endpoint"],sessionForward:[4,"session-forward"],cache:[4],spaMode:[4,"spa-mode"],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],loginManager:[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["p-513e3c62",[[0,"pn-find-price",{source:[1],language:[1025],market:[1025],filteredItems:[32],weight:[32],weightvalue:[32],sourceData:[32],sizecategory:[32]}]]],["p-774b7a9f",[[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-b32a8507",[[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-17c4004f",[[0,"pn-product-pricelist-result",{item:[1040],description:[16],shownitems:[16],showMeasurement:[4,"show-measurement"],weightText:[32]}]]],["p-189ef99c",[[4,"pn-marketweb-sitefooter",{market:[1537],language:[1537],environment:[1537],endpoint:[1],cache:[4],siteDefinition:[32],footerContent:[32],i18n:[32],gotData:[32],fetchingData:[32]}]]],["p-8424074e",[[4,"pn-bonus-progressbar",{icon:[1],heading:[1],theme:[513],bonuspercentage:[1],currency:[513],value:[1538],min:[1538],max:[1538],valuepercentage:[32],progresspercentage:[32],levelValues:[32],currentLevelAdjustedValue:[32]}]]],["p-381b3ec0",[[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-0796f9b2",[[4,"pn-customernumber-selector",{language:[1537],open:[1540],heading:[1],description:[1],i18n:[32]}]]],["p-e32dc098",[[4,"pn-customernumber-selector-option",{heading:[1],description:[1],url:[1]}]]],["p-81d764a0",[[1,"pn-filter-checkbox",{value:[520],name:[1],checkboxid:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-e9fe5c54",[[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-d0155ddf",[[4,"pn-product-tile"]]],["p-fc974bca",[[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-e9576f26",[[4,"pn-profile-modal-customernumber",{url:[513],customernumber:[513],selected:[516]}]]],["p-101ae585",[[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-bb751773",[[4,"pn-profile-modal-type",{typeid:[513],name:[1025],selected:[1028],selectedprofile:[1025]}]]],["p-bd22aaac",[[4,"pn-profile-selector",{language:[1537],returnUrl:[1,"return-url"],heading:[1],i18n:[32],isLoading:[32],numberOfProfiles:[32]}]]],["p-a7bb94a0",[[0,"pn-profile-selector-option",{heading:[1],description:[1],url:[1]}]]],["p-88185835",[[4,"pn-sidenav",{language:[1],navLabel:[1,"nav-label"],i18n:[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["p-227e1d46",[[4,"pn-sidenav-level",{level:[32],levelId:[32],isOpen:[32],parentName:[32],parentHref:[32],parentLinkId:[32],alignment:[32]}]]],["p-f774e2cc",[[4,"pn-sidenav-link",{name:[1],href:[1],target:[1],linkid:[1],icon:[1],current:[4],levelId:[32],open:[32],hasChildren:[32]}]]],["p-67380aa4",[[4,"pn-sidenav-togglebutton",{label:[1],i18n:[32]}]]],["p-61dbe832",[[0,"pn-find-service-and-price-result",{item:[1040],shownitems:[16],weightText:[32]}]]],["p-c240b614",[[0,"pn-bonus-progressbar-level",{current:[516],value:[1538],bonuspercentage:[1537],visualpercentage:[1538],percentage:[32],max:[32],min:[32],currency:[32]}]]],["p-996d8a6a",[[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-f1812fbb",[[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-titletag",{icon:[1],color:[1537]}],[4,"pn-product-card"]]],["p-3ae38e63",[[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-414dc33c",[[4,"pn-site-footer",{url:[1],linktitle:[1]}],[4,"pn-site-footer-col"]]],["p-15112837",[[4,"pn-choice-button",{value:[520],name:[1],choiceid:[1],type:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-715d1ef7",[[4,"pn-mainnav-link",{name:[1],href:[1],target:[1],linkid:[1],levelId:[32],open:[32],hasChildren:[32]}]]],["p-a6a2a32d",[[0,"pn-marketweb-siteheader-login-links",{loginDialog:[1040],loginManager:[16],idNamespace:[1,"id-namespace"],loggedin:[516],username:[1]}],[0,"pn-marketweb-siteheader-login-profileselection",{loginDialog:[1040],loginManager:[16],endpoint:[1],loggedin:[4],idNamespace:[1,"id-namespace"],heading:[1],i18n:[16],currentProfile:[1040],profileoptions:[1040],user:[32],logoutLink:[32],userName:[32],userEmail:[32]}]]],["p-8e146205",[[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-08411f5e",[[0,"pn-marketweb-siteheader-login-linklist",{heading:[1],links:[16],idNamespace:[1,"id-namespace"],loginManager:[16]}]]],["p-a31a27bc",[[0,"pn-marketweb-siteheader-login",{endpoint:[1],token:[1],i18n:[16],emitEvents:[4,"emit-events"],loginDialog:[1040],fullname:[1],loggedin:[4],showProfileSelection:[1028,"show-profile-selection"],loginManager:[32],loginLinks:[32],toggleButtonText:[32],username:[32]}],[4,"pn-mainnav-level",{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],search:[1040],primary:[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]}]]]],e)));
1
+ import{d as e,N as n,w as a,p as t,H as i,b as o}from"./p-58e8d7d5.js";const r=e=>{const n=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return n.call(this,e);const a=n.call(this,!1),t=this.childNodes;if(e)for(let n=0;n<t.length;n++)2!==t[n].nodeType&&a.appendChild(t[n].cloneNode(!0));return a}};(()=>{r(i.prototype);const o=Array.from(e.querySelectorAll("script")).find((e=>new RegExp(`/${n}(\\.esm)?\\.js($|\\?|#)`).test(e.src)||e.getAttribute("data-stencil-namespace")===n)),l={};return"onbeforeload"in o&&!history.scrollRestoration?{then(){}}:(l.resourcesUrl=new URL(".",new URL(o.getAttribute("data-resources-url")||o.src,a.location.href)).href,t(l))})().then((e=>o([["p-fae67406",[[4,"pn-marketweb-siteheader",{market:[1537],language:[1537],environment:[1537],userToken:[1,"user-token"],userFullname:[1,"user-fullname"],userLoggedin:[4,"user-loggedin"],endpoint:[1],hideSiteSelector:[1540,"hide-site-selector"],hideLanguageSelector:[1540,"hide-language-selector"],hideSearch:[1540,"hide-search"],hideLogin:[1540,"hide-login"],showProfileSelection:[1540,"show-profile-selection"],siteDomainInUrls:[4,"site-domain-in-urls"],AutocompleteEndpoint:[1,"autocomplete-endpoint"],sessionForward:[4,"session-forward"],cache:[4],spaMode:[4,"spa-mode"],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],loginManager:[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["p-513e3c62",[[0,"pn-find-price",{source:[1],language:[1025],market:[1025],filteredItems:[32],weight:[32],weightvalue:[32],sourceData:[32],sizecategory:[32]}]]],["p-774b7a9f",[[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-b32a8507",[[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-17c4004f",[[0,"pn-product-pricelist-result",{item:[1040],description:[16],shownitems:[16],showMeasurement:[4,"show-measurement"],weightText:[32]}]]],["p-189ef99c",[[4,"pn-marketweb-sitefooter",{market:[1537],language:[1537],environment:[1537],endpoint:[1],cache:[4],siteDefinition:[32],footerContent:[32],i18n:[32],gotData:[32],fetchingData:[32]}]]],["p-8424074e",[[4,"pn-bonus-progressbar",{icon:[1],heading:[1],theme:[513],bonuspercentage:[1],currency:[513],value:[1538],min:[1538],max:[1538],valuepercentage:[32],progresspercentage:[32],levelValues:[32],currentLevelAdjustedValue:[32]}]]],["p-381b3ec0",[[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-0796f9b2",[[4,"pn-customernumber-selector",{language:[1537],open:[1540],heading:[1],description:[1],i18n:[32]}]]],["p-e32dc098",[[4,"pn-customernumber-selector-option",{heading:[1],description:[1],url:[1]}]]],["p-81d764a0",[[1,"pn-filter-checkbox",{value:[520],name:[1],checkboxid:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-e9fe5c54",[[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-d0155ddf",[[4,"pn-product-tile"]]],["p-fc974bca",[[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-e9576f26",[[4,"pn-profile-modal-customernumber",{url:[513],customernumber:[513],selected:[516]}]]],["p-16c4bc50",[[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-fea72975",[[4,"pn-profile-modal-type",{typeid:[513],name:[1025],selected:[1028],selectedprofile:[1025]}]]],["p-bd22aaac",[[4,"pn-profile-selector",{language:[1537],returnUrl:[1,"return-url"],heading:[1],i18n:[32],isLoading:[32],numberOfProfiles:[32]}]]],["p-a7bb94a0",[[0,"pn-profile-selector-option",{heading:[1],description:[1],url:[1]}]]],["p-88185835",[[4,"pn-sidenav",{language:[1],navLabel:[1,"nav-label"],i18n:[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["p-227e1d46",[[4,"pn-sidenav-level",{level:[32],levelId:[32],isOpen:[32],parentName:[32],parentHref:[32],parentLinkId:[32],alignment:[32]}]]],["p-f774e2cc",[[4,"pn-sidenav-link",{name:[1],href:[1],target:[1],linkid:[1],icon:[1],current:[4],levelId:[32],open:[32],hasChildren:[32]}]]],["p-67380aa4",[[4,"pn-sidenav-togglebutton",{label:[1],i18n:[32]}]]],["p-61dbe832",[[0,"pn-find-service-and-price-result",{item:[1040],shownitems:[16],weightText:[32]}]]],["p-c240b614",[[0,"pn-bonus-progressbar-level",{current:[516],value:[1538],bonuspercentage:[1537],visualpercentage:[1538],percentage:[32],max:[32],min:[32],currency:[32]}]]],["p-996d8a6a",[[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-f1812fbb",[[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-titletag",{icon:[1],color:[1537]}],[4,"pn-product-card"]]],["p-3ae38e63",[[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-414dc33c",[[4,"pn-site-footer",{url:[1],linktitle:[1]}],[4,"pn-site-footer-col"]]],["p-15112837",[[4,"pn-choice-button",{value:[520],name:[1],choiceid:[1],type:[1],disabled:[4],checked:[4],indeterminate:[1028]},[[0,"change","handlechange"]]]]],["p-715d1ef7",[[4,"pn-mainnav-link",{name:[1],href:[1],target:[1],linkid:[1],levelId:[32],open:[32],hasChildren:[32]}]]],["p-a6a2a32d",[[0,"pn-marketweb-siteheader-login-links",{loginDialog:[1040],loginManager:[16],idNamespace:[1,"id-namespace"],loggedin:[516],username:[1]}],[0,"pn-marketweb-siteheader-login-profileselection",{loginDialog:[1040],loginManager:[16],endpoint:[1],loggedin:[4],idNamespace:[1,"id-namespace"],heading:[1],i18n:[16],currentProfile:[1040],profileoptions:[1040],user:[32],logoutLink:[32],userName:[32],userEmail:[32]}]]],["p-8e146205",[[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-08411f5e",[[0,"pn-marketweb-siteheader-login-linklist",{heading:[1],links:[16],idNamespace:[1,"id-namespace"],loginManager:[16]}]]],["p-a31a27bc",[[0,"pn-marketweb-siteheader-login",{endpoint:[1],token:[1],i18n:[16],emitEvents:[4,"emit-events"],loginDialog:[1040],fullname:[1],loggedin:[4],showProfileSelection:[1028,"show-profile-selection"],loginManager:[32],loginLinks:[32],toggleButtonText:[32],username:[32]}],[4,"pn-mainnav-level",{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],search:[1040],primary:[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]}]]]],e)));
@@ -19,12 +19,12 @@
19
19
 
20
20
  const s = document.createElement('script');
21
21
  s.setAttribute("type", "module");
22
- s.setAttribute("src", "https://cdn.jsdelivr.net/npm/@postnord/pn-marketweb-components@2.0.62/umd/standalone-loader-salesforce.js");
22
+ s.setAttribute("src", "https://cdn.jsdelivr.net/npm/@postnord/pn-marketweb-components@2.0.63/umd/standalone-loader-salesforce.js");
23
23
  document.querySelector("head").appendChild(s);
24
24
 
25
25
  const style = document.createElement('link');
26
26
  style.setAttribute("rel", "stylesheet");
27
- style.setAttribute("href", "https://cdn.jsdelivr.net/npm/@postnord/pn-marketweb-components@2.0.62/umd/pn-marketweb-wrongrembase.css");
27
+ style.setAttribute("href", "https://cdn.jsdelivr.net/npm/@postnord/pn-marketweb-components@2.0.63/umd/pn-marketweb-wrongrembase.css");
28
28
  document.querySelector("head").appendChild(style);
29
29
 
30
30
  window["renderpncomponent-interval"] = window.setInterval(renderPNComponents,150);
@@ -1 +0,0 @@
1
- import{r as i,e,h as o,a as t,g as l}from"./p-58e8d7d5.js";import{s as r}from"./p-9344cd23.js";import"./p-86f06e26.js";let a=class{constructor(o){i(this,o),this.urlSelected=e(this,"urlSelected",7),this.showCustomerNumbersEvent=e(this,"showCustomerNumbersEvent",7),this.heading=null,this.description=null,this.url=null,this.selected=!1,this.showCustomerNumbers=!1,this.pleaseSelectText="",this.visible=!1,this.identifier=""}componentWillLoad(){this.identifier=this.heading+this.url}onProfileOptionClick(){this.selected=!0,this.url?this.urlSelected.emit(this.url):(r.selectedProfile=this.identifier,this.showCustomerNumbers=!0)}render(){return o(t,{selected:this.selected+""},o("div",{class:"pn-profile-modal-profile-listitem","aria-hidden":!!r.selectedProfile+""},o("button",{class:"pn-profile-modal-profile-listitem-button",onClick:this.onProfileOptionClick.bind(this)},o("div",{class:"pn-profile-modal-profile-listitem-heading"},this.heading),o("div",{class:"pn-profile-modal-profile-listitem-description"},this.description))),o("div",{class:"pn-profile-modal-profile-details","aria-hidden":!this.showCustomerNumbers+""},o("pn-button",{appearance:"light",variant:"borderless",icon:"arrow-left","left-icon":"true",small:"true",onClick:()=>{this.showCustomerNumbers=!1,this.selected=!1,r.selectedProfile=""}},r.i18n.toText," ",r.selectedType),o("div",{class:"pn-profile-modal-profile-details-company"},o("div",{class:"pn-profile-modal-profile-details-label"},r.i18n.choosenCompanyText),o("div",{class:"pn-profile-modal-profile-details-company-heading"},this.heading),o("div",{class:"pn-profile-modal-profile-details-company-description"},this.description)),o("div",{class:"pn-profile-modal-profile-details-list"},o("div",{class:"pn-profile-modal-profile-details-list-label"},this.pleaseSelectText),o("slot",null))))}get hostElement(){return l(this)}};a.style='pn-profile-modal-type[selected=true]:not([selected-profile=""]) pn-profile-modal-profile[selected=false]{display:none}.pn-profile-modal-profile-listitem{overflow:hidden;max-height:10rem;-webkit-transition:max-height 0.15s ease;transition:max-height 0.15s ease;opacity:1}.pn-profile-modal-profile-listitem[aria-hidden=true]{max-height:0;opacity:0}.pn-profile-modal-profile-listitem-button{padding:0.8rem;margin:0;background:#FFFFFF;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;cursor:pointer;border-radius:0.8rem;-webkit-transition:background 0.15s ease;transition:background 0.15s ease;text-align:left;width:100%}.pn-profile-modal-profile-listitem-button:hover,.pn-profile-modal-profile-listitem-button:focus,.pn-profile-modal-profile-listitem-button:active{background:#EFFBFF}.pn-profile-modal-profile-listitem[aria-hidden=true] .pn-profile-modal-profile-listitem-button{display:none}.pn-profile-modal-profile-listitem-heading{color:#005D92;font-weight:700;font-size:1.6rem}.pn-profile-modal-profile-listitem-description{color:#5E554A;font-weight:400;font-size:1.2rem}.pn-profile-modal-profile-details{max-height:300rem;-webkit-transition:max-height 0.15s ease;transition:max-height 0.15s ease;opacity:1}.pn-profile-modal-profile-details[aria-hidden=true]{max-height:0;opacity:0;overflow:hidden}.pn-profile-modal-profile-details>pn-button{position:relative;margin-left:-1.2rem}.pn-profile-modal-profile-details>pn-button .pn-button-content{font-weight:500}.pn-profile-modal-profile-details-company{border-top:1px solid #D3CECB;border-bottom:1px solid #D3CECB;padding:0.8rem 0.8rem;margin:1.6rem 0}.pn-profile-modal-profile-details-label{font-size:1.4rem;font-weight:500;margin-bottom:1.2rem}.pn-profile-modal-profile-details-company-heading{font-weight:700;font-size:1.6rem}.pn-profile-modal-profile-details-company-description{color:#5E554A;font-weight:400;font-size:1.2rem}.pn-profile-modal-profile-details-list{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:1.6rem;padding:0 0}.pn-profile-modal-profile-details-list-label{font-size:1.4rem;font-weight:500;margin:0 0 0 0.8rem}';export{a as pn_profile_modal_profile}
@@ -1 +0,0 @@
1
- System.register(["./p-36654f2a.system.js","./p-94958580.system.js","./p-825b8fb8.system.js"],(function(e){"use strict";var t,o,n,l,r;return{setters:[function(e){t=e.r;o=e.h;n=e.a;l=e.g},function(e){r=e.s},function(){}],execute:function(){var i="pn-profile-modal-type{display:-ms-flexbox;display:flex;width:100%;padding:3.2rem 0 1.2rem;-ms-flex-direction:column;flex-direction:column;gap:1.6rem;display:none}pn-profile-modal-type:first-of-type{margin-top:2.4rem}pn-profile-modal-type:last-of-type{border-bottom:0;padding-bottom:0}pn-profile-modal-type:last-of-type .profileselectoroption{padding-bottom:0}pn-profile-modal-type[selected=true]{display:-ms-flexbox;display:flex;opacity:1}";var s=e("pn_profile_modal_type",function(){function e(e){t(this,e);this.typeid="";this.name="false";this.selected=false;this.selectedprofile=null}e.prototype.onSelectedChange=function(){if(this.selected){r.selectedType=this.name}};e.prototype.render=function(){return o(n,{selected:this.selected+"","selected-profile":r.selectedProfile+""},o("slot",null))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return l(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{selected:["onSelectedChange"]}},enumerable:false,configurable:true});return e}());s.style=i}}}));
@@ -1 +0,0 @@
1
- import{r as e,h as t,a as o,g as l}from"./p-58e8d7d5.js";import{s as p}from"./p-9344cd23.js";import"./p-86f06e26.js";let s=class{constructor(t){e(this,t),this.typeid="",this.name="false",this.selected=!1,this.selectedprofile=null}onSelectedChange(){this.selected&&(p.selectedType=this.name)}render(){return t(o,{selected:this.selected+"","selected-profile":p.selectedProfile+""},t("slot",null))}get hostElement(){return l(this)}static get watchers(){return{selected:["onSelectedChange"]}}};s.style="pn-profile-modal-type{display:-ms-flexbox;display:flex;width:100%;padding:3.2rem 0 1.2rem;-ms-flex-direction:column;flex-direction:column;gap:1.6rem;display:none}pn-profile-modal-type:first-of-type{margin-top:2.4rem}pn-profile-modal-type:last-of-type{border-bottom:0;padding-bottom:0}pn-profile-modal-type:last-of-type .profileselectoroption{padding-bottom:0}pn-profile-modal-type[selected=true]{display:-ms-flexbox;display:flex;opacity:1}";export{s as pn_profile_modal_type}