@postnord/pn-marketweb-components 2.0.78 → 2.0.80
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.
- package/cjs/{MarketWebContextService-5840b8e0.js → FetchHelper-c6cee722.js} +85 -0
- package/cjs/loader.cjs.js +1 -1
- package/cjs/pn-bonus-progressbar-level.cjs.entry.js +1 -1
- package/cjs/pn-bonus-progressbar.cjs.entry.js +1 -1
- package/cjs/pn-market-web-components.cjs.js +1 -1
- package/cjs/pn-marketweb-sitefooter.cjs.entry.js +2 -3
- package/cjs/pn-marketweb-siteheader.cjs.entry.js +2 -3
- package/cjs/pn-product-card_4.cjs.entry.js +1 -1
- package/cjs/pn-proxio-pricegroup.cjs.entry.js +108 -0
- package/cjs/pn-proxio-productcard_4.cjs.entry.js +67 -0
- package/collection/collection-manifest.json +4 -1
- package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar-level.css +3 -3
- package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar.js +0 -1
- package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar.stories.js +69 -24
- package/collection/components/minor/pn-titletag/pn-titletag.css +4 -0
- package/collection/components/minor/pn-titletag/title-tag.stories.js +1 -0
- package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.css +71 -0
- package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.js +204 -0
- package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.stories.js +27 -0
- package/collection/components/widgets/pn-proxio-pricegroup/translations.js +16 -0
- package/collection/components/widgets/pn-proxio-pricegroup/types.js +1 -0
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.css +6 -0
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.js +93 -0
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.css +6 -0
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.js +67 -0
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-pricelink.css +13 -0
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-pricelink.js +69 -0
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.css +60 -0
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.js +11 -8
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.stories.js +42 -5
- package/custom-elements/index.d.ts +22 -4
- package/custom-elements/index.js +177 -58
- package/esm/{MarketWebContextService-160bf3dd.js → FetchHelper-1dfe8514.js} +85 -1
- package/esm/loader.js +1 -1
- package/esm/pn-bonus-progressbar-level.entry.js +1 -1
- package/esm/pn-bonus-progressbar.entry.js +1 -1
- package/esm/pn-market-web-components.js +1 -1
- package/esm/pn-marketweb-sitefooter.entry.js +1 -2
- package/esm/pn-marketweb-siteheader.entry.js +1 -2
- package/esm/pn-product-card_4.entry.js +1 -1
- package/esm/pn-proxio-pricegroup.entry.js +104 -0
- package/esm/pn-proxio-productcard_4.entry.js +60 -0
- package/esm-es5/{MarketWebContextService-160bf3dd.js → FetchHelper-1dfe8514.js} +1 -1
- package/esm-es5/loader.js +1 -1
- package/esm-es5/pn-bonus-progressbar-level.entry.js +1 -1
- package/esm-es5/pn-bonus-progressbar.entry.js +1 -1
- package/esm-es5/pn-market-web-components.js +1 -1
- package/esm-es5/pn-marketweb-sitefooter.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
- package/esm-es5/pn-product-card_4.entry.js +1 -1
- package/esm-es5/pn-proxio-pricegroup.entry.js +1 -0
- package/esm-es5/pn-proxio-productcard_4.entry.js +1 -0
- package/package.json +1 -1
- package/pn-market-web-components/{p-f1812fbb.entry.js → p-022d9a78.entry.js} +1 -1
- package/pn-market-web-components/{p-3ce2b566.system.entry.js → p-1151bf60.system.entry.js} +1 -1
- package/pn-market-web-components/{p-5b750c06.system.entry.js → p-198d9c77.system.entry.js} +1 -1
- package/pn-market-web-components/p-36a1b8e1.system.entry.js +1 -0
- package/pn-market-web-components/p-4bef1bf3.entry.js +1 -0
- package/pn-market-web-components/p-5482774f.entry.js +1 -0
- package/pn-market-web-components/p-6174a610.system.js +1 -0
- package/pn-market-web-components/p-67887512.system.js +1 -1
- package/pn-market-web-components/p-6c8d3789.system.entry.js +1 -0
- package/pn-market-web-components/p-6d08e5cc.system.entry.js +1 -0
- package/pn-market-web-components/{p-e8d97347.entry.js → p-7ce41d14.entry.js} +1 -1
- package/pn-market-web-components/p-942ad206.system.entry.js +1 -0
- package/pn-market-web-components/p-c3ea7666.entry.js +1 -0
- package/pn-market-web-components/p-c5f4d6c1.entry.js +1 -0
- package/pn-market-web-components/p-df9708f2.entry.js +1 -0
- package/pn-market-web-components/p-e54d477c.system.entry.js +1 -0
- package/pn-market-web-components/{p-0a7b7046.js → p-f0f58646.js} +1 -1
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/types/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.d.ts +23 -0
- package/types/components/widgets/pn-proxio-pricegroup/translations.d.ts +16 -0
- package/types/components/widgets/pn-proxio-pricegroup/types.d.ts +36 -0
- package/types/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.d.ts +7 -0
- package/types/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.d.ts +6 -0
- package/types/components/widgets/pn-proxio-productcard/pn-proxio-productcard-pricelink.d.ts +6 -0
- package/types/components.d.ts +77 -11
- package/umd/pn-marketweb-salesforce.js +2 -2
- package/cjs/FetchHelper-f80943bf.js +0 -87
- package/cjs/pn-proxio-pricefinder.cjs.entry.js +0 -43
- package/cjs/pn-proxio-productcard.cjs.entry.js +0 -19
- package/collection/components/widgets/pn-proxio-pricefinder/pn-proxio-pricefinder.css +0 -0
- package/collection/components/widgets/pn-proxio-pricefinder/pn-proxio-pricefinder.js +0 -98
- package/collection/components/widgets/pn-proxio-pricefinder/pn-proxio-pricefinder.stories.js +0 -22
- package/esm/FetchHelper-a0c8aa54.js +0 -85
- package/esm/pn-proxio-pricefinder.entry.js +0 -39
- package/esm/pn-proxio-productcard.entry.js +0 -15
- package/esm-es5/FetchHelper-a0c8aa54.js +0 -1
- package/esm-es5/pn-proxio-pricefinder.entry.js +0 -1
- package/esm-es5/pn-proxio-productcard.entry.js +0 -1
- package/pn-market-web-components/p-059e4c47.system.entry.js +0 -1
- package/pn-market-web-components/p-1a97780a.system.js +0 -1
- package/pn-market-web-components/p-2745cc43.entry.js +0 -1
- package/pn-market-web-components/p-2b8aa6a9.entry.js +0 -1
- package/pn-market-web-components/p-42a56aeb.entry.js +0 -1
- package/pn-market-web-components/p-831c0495.system.entry.js +0 -1
- package/pn-market-web-components/p-8985b02b.system.entry.js +0 -1
- package/pn-market-web-components/p-8b9961c9.system.entry.js +0 -1
- package/pn-market-web-components/p-97dc5687.js +0 -1
- package/pn-market-web-components/p-a89a2eb3.entry.js +0 -1
- package/pn-market-web-components/p-b8e9177e.system.entry.js +0 -1
- package/pn-market-web-components/p-c7afc979.entry.js +0 -1
- package/pn-market-web-components/p-d6a17042.system.js +0 -1
- package/types/components/widgets/pn-proxio-pricefinder/pn-proxio-pricefinder.d.ts +0 -13
package/custom-elements/index.js
CHANGED
|
@@ -83,7 +83,7 @@ let PnBonusProgressbar$1 = class extends HTMLElement {
|
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
render() {
|
|
86
|
-
return (h(Host, null, h("div", { class: "bonusprogressbar-top" }, this.icon ? (h("div", { class: "bonusprogressbar-top-icon" }, h("pn-icon", { symbol: this.icon, small: "false", color: this.iconColor() }))) : {}, h("div", { class: "bonusprogressbar-top-heading" }, h("h4", { class: "bonusprogressbar-top-headline" }, this.heading, " ", h("strong", { class: "bonusprogressbar-top-percentage" }, this.bonuspercentage)), this.sumtext ? (h("div", { class: "bonusprogressbar-sumtext" }, this.sumtext)) : null)), h("div", { class: "bonusprogressbar-wrapper" }, h("progress", { class: "bonusprogressbar-progress", value: this.progresspercentage, max: "100" }), h("
|
|
86
|
+
return (h(Host, null, h("div", { class: "bonusprogressbar-top" }, this.icon ? (h("div", { class: "bonusprogressbar-top-icon" }, h("pn-icon", { symbol: this.icon, small: "false", color: this.iconColor() }))) : {}, h("div", { class: "bonusprogressbar-top-heading" }, h("h4", { class: "bonusprogressbar-top-headline" }, this.heading, " ", h("strong", { class: "bonusprogressbar-top-percentage" }, this.bonuspercentage)), this.sumtext ? (h("div", { class: "bonusprogressbar-sumtext" }, this.sumtext)) : null)), h("div", { class: "bonusprogressbar-wrapper" }, h("progress", { class: "bonusprogressbar-progress", value: this.progresspercentage, max: "100" }), h("slot", null))));
|
|
87
87
|
}
|
|
88
88
|
get hostElement() { return this; }
|
|
89
89
|
static get watchers() { return {
|
|
@@ -95,7 +95,7 @@ let PnBonusProgressbar$1 = class extends HTMLElement {
|
|
|
95
95
|
static get style() { return pnBonusProgressbarCss; }
|
|
96
96
|
};
|
|
97
97
|
|
|
98
|
-
const pnBonusProgressbarLevelCss = "pn-bonus-progressbar-level{position:absolute;width:0.1rem;left:50%}pn-bonus-progressbar-level::after{content:\"\";width:0.1rem;position:absolute;left:0;border-left:1px dashed #9B1C2E;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);height:3rem}pn-bonus-progressbar-level:not([current]):nth-child(
|
|
98
|
+
const pnBonusProgressbarLevelCss = "pn-bonus-progressbar-level{position:absolute;width:0.1rem;left:50%}pn-bonus-progressbar-level::after{content:\"\";width:0.1rem;position:absolute;left:0;border-left:1px dashed #9B1C2E;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);height:3rem}pn-bonus-progressbar-level:not([current]):nth-child(odd)::after{height:7rem;margin-top:0.6rem}.progressbar-level-percentage{font-size:0.75em;position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);top:-3.2rem}[current]>.progressbar-level-percentage{display:none}pn-bonus-progressbar-level:not([current]):nth-child(odd) .progressbar-level-percentage{top:-4.8rem}.progressbar-level-value{font-size:0.75em;white-space:nowrap;position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);top:2.3rem}[current]>.progressbar-level-value{top:-3.2rem}pn-bonus-progressbar-level:not([current]):nth-child(odd) .progressbar-level-value{top:4.2rem}";
|
|
99
99
|
|
|
100
100
|
let PnBonusProgressbarLevel$1 = class extends HTMLElement {
|
|
101
101
|
constructor() {
|
|
@@ -164,7 +164,7 @@ let PnChoiceButton$1 = class extends HTMLElement {
|
|
|
164
164
|
static get style() { return pnChoiceButtonCss; }
|
|
165
165
|
};
|
|
166
166
|
|
|
167
|
-
const translations$
|
|
167
|
+
const translations$b = {
|
|
168
168
|
'sv': {
|
|
169
169
|
'toggleLinkTitleText': `Välj kundnummer`,
|
|
170
170
|
},
|
|
@@ -195,7 +195,7 @@ let PnCustomernumberSelector$1 = class extends HTMLElement {
|
|
|
195
195
|
this.open = false;
|
|
196
196
|
this.heading = "";
|
|
197
197
|
this.description = "";
|
|
198
|
-
this.i18n = translations$
|
|
198
|
+
this.i18n = translations$b["en"];
|
|
199
199
|
}
|
|
200
200
|
componentWillLoad() {
|
|
201
201
|
this.init();
|
|
@@ -204,8 +204,8 @@ let PnCustomernumberSelector$1 = class extends HTMLElement {
|
|
|
204
204
|
this.setTranslations();
|
|
205
205
|
}
|
|
206
206
|
setTranslations() {
|
|
207
|
-
if (this.language && translations$
|
|
208
|
-
this.i18n = translations$
|
|
207
|
+
if (this.language && translations$b[this.language]) {
|
|
208
|
+
this.i18n = translations$b[this.language];
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
render() {
|
|
@@ -295,7 +295,7 @@ let PnFilterCheckbox$1 = class extends HTMLElement {
|
|
|
295
295
|
static get style() { return pnFilterCheckboxCss; }
|
|
296
296
|
};
|
|
297
297
|
|
|
298
|
-
const translations$
|
|
298
|
+
const translations$a = {
|
|
299
299
|
'sv': {
|
|
300
300
|
'componentheading': 'Våra priser och villkor för inrikesförsändelser för dig som direktbetalande kund?',
|
|
301
301
|
'deliveryscopeheading': 'Endast leveranser inom Sverige',
|
|
@@ -2540,8 +2540,8 @@ let PnfindPrice = class extends HTMLElement {
|
|
|
2540
2540
|
if (this.market) {
|
|
2541
2541
|
state$6.market = markets$2[this.market];
|
|
2542
2542
|
}
|
|
2543
|
-
if (this.language && translations$
|
|
2544
|
-
state$6.i18n = translations$
|
|
2543
|
+
if (this.language && translations$a[this.language]) {
|
|
2544
|
+
state$6.i18n = translations$a[this.language];
|
|
2545
2545
|
}
|
|
2546
2546
|
}
|
|
2547
2547
|
filterItems() {
|
|
@@ -2664,7 +2664,7 @@ let PnfindPriceResult = class extends HTMLElement {
|
|
|
2664
2664
|
static get style() { return pnFindPriceResultCss; }
|
|
2665
2665
|
};
|
|
2666
2666
|
|
|
2667
|
-
const translations$
|
|
2667
|
+
const translations$9 = {
|
|
2668
2668
|
'sv': {
|
|
2669
2669
|
'componentheading': 'Vad vill du skicka?',
|
|
2670
2670
|
'deliveryscopeheading': 'Hit eller dit?',
|
|
@@ -2847,8 +2847,8 @@ let PnfindServiceAndPrice = class extends HTMLElement {
|
|
|
2847
2847
|
if (this.market) {
|
|
2848
2848
|
state$5.market = markets$1[this.market];
|
|
2849
2849
|
}
|
|
2850
|
-
if (this.language && translations$
|
|
2851
|
-
state$5.i18n = translations$
|
|
2850
|
+
if (this.language && translations$9[this.language]) {
|
|
2851
|
+
state$5.i18n = translations$9[this.language];
|
|
2852
2852
|
}
|
|
2853
2853
|
}
|
|
2854
2854
|
filterItems() {
|
|
@@ -2973,7 +2973,7 @@ let PnfindServiceAndPriceResult = class extends HTMLElement {
|
|
|
2973
2973
|
static get style() { return pnFindServiceAndPriceResultCss; }
|
|
2974
2974
|
};
|
|
2975
2975
|
|
|
2976
|
-
const translations$
|
|
2976
|
+
const translations$8 = {
|
|
2977
2977
|
'sv': {
|
|
2978
2978
|
"heading": "Språk",
|
|
2979
2979
|
},
|
|
@@ -3058,8 +3058,8 @@ let PnlanguageSelector = class extends HTMLElement {
|
|
|
3058
3058
|
this.setLanguage.emit(this.value);
|
|
3059
3059
|
}
|
|
3060
3060
|
setTranslations() {
|
|
3061
|
-
if (translations$
|
|
3062
|
-
this.i18n = translations$
|
|
3061
|
+
if (translations$8[this.value]) {
|
|
3062
|
+
this.i18n = translations$8[this.value];
|
|
3063
3063
|
}
|
|
3064
3064
|
}
|
|
3065
3065
|
onValueChange() {
|
|
@@ -3112,7 +3112,7 @@ let PnlanguageSelectorOption = class extends HTMLElement {
|
|
|
3112
3112
|
static get style() { return pnLanguageSelectorOptionCss; }
|
|
3113
3113
|
};
|
|
3114
3114
|
|
|
3115
|
-
const translations$
|
|
3115
|
+
const translations$7 = {
|
|
3116
3116
|
'sv': {
|
|
3117
3117
|
"menuHomeButton": "Hem",
|
|
3118
3118
|
"menuGoBackButton": "Gå tillbaka",
|
|
@@ -3206,8 +3206,8 @@ let PnMainnav$1 = class extends HTMLElement {
|
|
|
3206
3206
|
this.marketChange.emit(this.market);
|
|
3207
3207
|
}
|
|
3208
3208
|
onLanguageChange(event) {
|
|
3209
|
-
if (translations$
|
|
3210
|
-
state$4.i18n = translations$
|
|
3209
|
+
if (translations$7[event.detail]) {
|
|
3210
|
+
state$4.i18n = translations$7[event.detail];
|
|
3211
3211
|
if (!this.navLabel) {
|
|
3212
3212
|
this.navLabel = state$4.i18n.navLabel;
|
|
3213
3213
|
}
|
|
@@ -3526,7 +3526,7 @@ let PnMarketwebSearch$1 = class extends HTMLElement {
|
|
|
3526
3526
|
static get style() { return pnMarketwebSearchCss; }
|
|
3527
3527
|
};
|
|
3528
3528
|
|
|
3529
|
-
const translations$
|
|
3529
|
+
const translations$6 = {
|
|
3530
3530
|
'sv': {
|
|
3531
3531
|
"searchlabel": "Sök",
|
|
3532
3532
|
"searchplaceholder": "Vad letar du efter?",
|
|
@@ -3944,8 +3944,8 @@ let PnMarketwebSiteheader$2 = class extends HTMLElement {
|
|
|
3944
3944
|
await this.fetchData();
|
|
3945
3945
|
}
|
|
3946
3946
|
setTranslations() {
|
|
3947
|
-
if (this.language && translations$
|
|
3948
|
-
this.i18n = translations$
|
|
3947
|
+
if (this.language && translations$6[this.language]) {
|
|
3948
|
+
this.i18n = translations$6[this.language];
|
|
3949
3949
|
}
|
|
3950
3950
|
}
|
|
3951
3951
|
onLanguageChange() {
|
|
@@ -4075,7 +4075,7 @@ let PnMarketwebSiteheader$2 = class extends HTMLElement {
|
|
|
4075
4075
|
static get style() { return pnMarketwebSitefooterCss; }
|
|
4076
4076
|
};
|
|
4077
4077
|
|
|
4078
|
-
const translations$
|
|
4078
|
+
const translations$5 = {
|
|
4079
4079
|
'sv': {
|
|
4080
4080
|
"searchlabel": "Sök",
|
|
4081
4081
|
"searchplaceholder": "Vad letar du efter?",
|
|
@@ -4480,8 +4480,8 @@ let PnMarketwebSiteheader$1 = class extends HTMLElement {
|
|
|
4480
4480
|
window.setTimeout(() => { this.checkMenuOverflow(); }, 50);
|
|
4481
4481
|
}
|
|
4482
4482
|
setTranslations() {
|
|
4483
|
-
if (this.language && translations$
|
|
4484
|
-
this.i18n = translations$
|
|
4483
|
+
if (this.language && translations$5[this.language]) {
|
|
4484
|
+
this.i18n = translations$5[this.language];
|
|
4485
4485
|
}
|
|
4486
4486
|
}
|
|
4487
4487
|
onLanguageSelectorChange(e) {
|
|
@@ -5306,7 +5306,7 @@ let PnMarketwebSiteheaderSearch$1 = class extends HTMLElement {
|
|
|
5306
5306
|
static get style() { return pnMarketwebSiteheaderSearchCss; }
|
|
5307
5307
|
};
|
|
5308
5308
|
|
|
5309
|
-
const translations$
|
|
5309
|
+
const translations$4 = {
|
|
5310
5310
|
'sv': {
|
|
5311
5311
|
"heading": "Prisindikation med PEX Bud",
|
|
5312
5312
|
"labelFrom": "Från postkod",
|
|
@@ -5341,7 +5341,7 @@ let PnPexPricefinder$1 = class extends HTMLElement {
|
|
|
5341
5341
|
this.currency = "Kr";
|
|
5342
5342
|
/** API Url */
|
|
5343
5343
|
this.apiUrl = "/api/pex/order";
|
|
5344
|
-
this.i18n = translations$
|
|
5344
|
+
this.i18n = translations$4.sv;
|
|
5345
5345
|
this.fromzip = null;
|
|
5346
5346
|
this.tozip = null;
|
|
5347
5347
|
this.weight = 1;
|
|
@@ -5376,8 +5376,8 @@ let PnPexPricefinder$1 = class extends HTMLElement {
|
|
|
5376
5376
|
});
|
|
5377
5377
|
}
|
|
5378
5378
|
setLanguage() {
|
|
5379
|
-
if (translations$
|
|
5380
|
-
this.i18n = translations$
|
|
5379
|
+
if (translations$4[this.language]) {
|
|
5380
|
+
this.i18n = translations$4[this.language];
|
|
5381
5381
|
}
|
|
5382
5382
|
}
|
|
5383
5383
|
onSubmit(e) {
|
|
@@ -5477,7 +5477,7 @@ let PnProductCardPrice$1 = class extends HTMLElement {
|
|
|
5477
5477
|
static get style() { return pnProductCardPriceCss; }
|
|
5478
5478
|
};
|
|
5479
5479
|
|
|
5480
|
-
const translations$
|
|
5480
|
+
const translations$3 = {
|
|
5481
5481
|
'sv': {
|
|
5482
5482
|
'componentheading': 'Våra priser och villkor för inrikesförsändelser för dig som direktbetalande kund?',
|
|
5483
5483
|
'deliveryscopeheading': 'Endast leveranser inom Sverige',
|
|
@@ -5612,8 +5612,8 @@ let PnFindProductPricelist = class extends HTMLElement {
|
|
|
5612
5612
|
if (this.market) {
|
|
5613
5613
|
state$6.market = markets[this.market];
|
|
5614
5614
|
}
|
|
5615
|
-
if (this.language && translations$
|
|
5616
|
-
state$6.i18n = translations$
|
|
5615
|
+
if (this.language && translations$3[this.language]) {
|
|
5616
|
+
state$6.i18n = translations$3[this.language];
|
|
5617
5617
|
}
|
|
5618
5618
|
}
|
|
5619
5619
|
async getDataSource() {
|
|
@@ -5998,7 +5998,7 @@ let PnProfileModalType$1 = class extends HTMLElement {
|
|
|
5998
5998
|
static get style() { return pnProfileModalTypeCss; }
|
|
5999
5999
|
};
|
|
6000
6000
|
|
|
6001
|
-
const translations$
|
|
6001
|
+
const translations$2 = {
|
|
6002
6002
|
'sv': {
|
|
6003
6003
|
'introMessage': `Välj ombud du vill agera som?`,
|
|
6004
6004
|
},
|
|
@@ -6028,7 +6028,7 @@ let PnProfileSelector$1 = class extends HTMLElement {
|
|
|
6028
6028
|
this.language = "sv"; //sv
|
|
6029
6029
|
this.returnUrl = "/"; //sv
|
|
6030
6030
|
this.heading = null; //sv
|
|
6031
|
-
this.i18n = translations$
|
|
6031
|
+
this.i18n = translations$2["en"];
|
|
6032
6032
|
this.isLoading = true;
|
|
6033
6033
|
this.numberOfProfiles = 1;
|
|
6034
6034
|
}
|
|
@@ -6039,8 +6039,8 @@ let PnProfileSelector$1 = class extends HTMLElement {
|
|
|
6039
6039
|
this.setTranslations();
|
|
6040
6040
|
}
|
|
6041
6041
|
setTranslations() {
|
|
6042
|
-
if (this.language && translations$
|
|
6043
|
-
this.i18n = translations$
|
|
6042
|
+
if (this.language && translations$2[this.language]) {
|
|
6043
|
+
this.i18n = translations$2[this.language];
|
|
6044
6044
|
}
|
|
6045
6045
|
}
|
|
6046
6046
|
render() {
|
|
@@ -6067,43 +6067,108 @@ let PnProfileSelectorOption$1 = class extends HTMLElement {
|
|
|
6067
6067
|
static get style() { return pnProfileSelectorOptionCss; }
|
|
6068
6068
|
};
|
|
6069
6069
|
|
|
6070
|
-
const
|
|
6070
|
+
const translations$1 = {
|
|
6071
|
+
'sv-se': {
|
|
6072
|
+
"from": "Från ",
|
|
6073
|
+
"labelRoll": "Rulle",
|
|
6074
|
+
"labelPackage": "Paket",
|
|
6075
|
+
"notTraceable": "Inte spårbart",
|
|
6076
|
+
"Creapest": "Billigast"
|
|
6077
|
+
},
|
|
6078
|
+
'en-gb': {
|
|
6079
|
+
"from": "From ",
|
|
6080
|
+
"labelRoll": "Roll",
|
|
6081
|
+
"labelPackage": "Package",
|
|
6082
|
+
"notTraceable": "Not traceable",
|
|
6083
|
+
"Creapest": "Cheapest"
|
|
6084
|
+
}
|
|
6085
|
+
};
|
|
6086
|
+
|
|
6087
|
+
const pnProxioPricegroupCss = "pn-proxio-pricegroup div.weightcontainer{margin:3rem 0}pn-proxio-pricegroup div.weightvaluecontainer{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-line-pack:center;align-content:center;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:start;align-items:flex-start}pn-proxio-pricegroup div.weightdata{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap;height:5rem;-ms-flex-pack:justify;justify-content:space-between}pn-proxio-pricegroup input[type=radio]{-webkit-appearance:none;-moz-appearance:none;width:1.3rem;height:1.3rem;background-color:#005D92;border-radius:50%}pn-proxio-pricegroup input[type=radio]:checked{z-index:1;-webkit-transform:translateY(-0.1rem);transform:translateY(-0.1rem);height:1.5rem;width:1.5rem;-webkit-box-shadow:0 0 0 0.3rem #FFFFFF, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.3rem #FFFFFF, 0 0 0 0.4rem #005D92}pn-proxio-pricegroup pn-button[disabled=disabled]{opacity:0.2}pn-proxio-pricegroup pn-button button div.button-tooltip{visibility:hidden;display:none}pn-proxio-pricegroup pn-button button:focus .pn-button-bg{-webkit-box-shadow:none;box-shadow:none}pn-proxio-pricegroup div.weightradios{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;color:#005D92;width:80%;margin-left:auto;margin-right:auto;position:relative}pn-proxio-pricegroup div.weightline{width:100%;background-color:#F3F2F2;z-index:-1;height:0.7rem;-webkit-transform:translateX(2.1rem) translateY(1.32rem);transform:translateX(2.1rem) translateY(1.32rem);border-radius:3rem;margin-right:3.5rem}pn-proxio-pricegroup .activeweight{font-size:large;font-weight:bold}";
|
|
6071
6088
|
|
|
6072
|
-
let
|
|
6089
|
+
let PnProxioPricegroup$1 = class extends HTMLElement {
|
|
6073
6090
|
constructor() {
|
|
6074
6091
|
super();
|
|
6075
6092
|
this.__registerHost();
|
|
6076
|
-
|
|
6077
|
-
this.endpoint =
|
|
6078
|
-
this.
|
|
6079
|
-
this.
|
|
6080
|
-
|
|
6081
|
-
this.
|
|
6093
|
+
/** Specifies which endpoint domain we should load from */
|
|
6094
|
+
this.endpoint = null;
|
|
6095
|
+
this.culture = "sv-se";
|
|
6096
|
+
this.tariffid = "";
|
|
6097
|
+
this.cache = true;
|
|
6098
|
+
this.activeWeightIndex = 0;
|
|
6099
|
+
this.data = null;
|
|
6100
|
+
this.i18n = translations$1["sv-se"];
|
|
6101
|
+
this.fetchHelper = new FetchHelper("proxiopricegroup");
|
|
6082
6102
|
}
|
|
6083
6103
|
componentWillLoad() {
|
|
6084
|
-
this.
|
|
6104
|
+
this.setInitialValues().then(() => {
|
|
6105
|
+
this.init();
|
|
6106
|
+
});
|
|
6107
|
+
}
|
|
6108
|
+
async setInitialValues(href = window.location.href) {
|
|
6109
|
+
const marketWebContextService = new MarketWebContextService(href);
|
|
6110
|
+
const environment = await marketWebContextService.getEnvironmentName();
|
|
6111
|
+
if ((!this.endpoint && (environment === null || environment === void 0 ? void 0 : environment.indexOf('local')) === -1)) {
|
|
6112
|
+
const market = await marketWebContextService.getMarket();
|
|
6113
|
+
this.endpoint = await marketWebContextService.getEndpoint(environment, market);
|
|
6114
|
+
}
|
|
6115
|
+
if (!this.endpoint) {
|
|
6116
|
+
this.endpoint = "";
|
|
6117
|
+
}
|
|
6085
6118
|
}
|
|
6086
6119
|
init() {
|
|
6120
|
+
this.setCulture();
|
|
6087
6121
|
this.fetchData();
|
|
6088
6122
|
}
|
|
6089
|
-
fetchData() {
|
|
6090
|
-
this.
|
|
6123
|
+
async fetchData() {
|
|
6124
|
+
if (!this.culture || !this.tariffid) {
|
|
6125
|
+
return;
|
|
6126
|
+
}
|
|
6127
|
+
const endpoint = (this.endpoint.lastIndexOf("/") === this.endpoint.length - 1) ? this.endpoint.substring(0, this.endpoint.length - 1) : this.endpoint;
|
|
6128
|
+
const fetchUrl = `${endpoint}/api/proxio/price-list-group?tariffId=${this.tariffid}&culture=${this.culture}&cached=${this.cache}`;
|
|
6129
|
+
const data = await this.fetchHelper.fetchJson(fetchUrl, {
|
|
6091
6130
|
'mode': 'cors'
|
|
6092
6131
|
}, this.cache, this.onFetchData.bind(this));
|
|
6132
|
+
if (data === null || data === void 0 ? void 0 : data.proxioProduct) {
|
|
6133
|
+
this.data = data;
|
|
6134
|
+
}
|
|
6093
6135
|
}
|
|
6094
6136
|
onFetchData(data) {
|
|
6095
6137
|
this.data = data;
|
|
6096
6138
|
}
|
|
6097
|
-
|
|
6098
|
-
|
|
6099
|
-
|
|
6100
|
-
|
|
6101
|
-
|
|
6139
|
+
setActiveWeightIndex(weightIndex) {
|
|
6140
|
+
var _a, _b, _c;
|
|
6141
|
+
let minIndex = 0;
|
|
6142
|
+
let maxIndex = (_c = ((_b = (_a = this.data.proxioProduct) === null || _a === void 0 ? void 0 : _a.weightAndPriceList) === null || _b === void 0 ? void 0 : _b.length) - 1) !== null && _c !== void 0 ? _c : minIndex;
|
|
6143
|
+
weightIndex = weightIndex > maxIndex ? maxIndex : weightIndex;
|
|
6144
|
+
weightIndex = weightIndex < minIndex ? minIndex : weightIndex;
|
|
6145
|
+
this.activeWeightIndex = weightIndex;
|
|
6102
6146
|
}
|
|
6103
|
-
|
|
6147
|
+
setCulture() {
|
|
6148
|
+
if (translations$1[this.culture]) {
|
|
6149
|
+
this.i18n = translations$1[this.culture];
|
|
6150
|
+
}
|
|
6151
|
+
}
|
|
6152
|
+
getPrice(product) {
|
|
6153
|
+
var _a;
|
|
6154
|
+
return (_a = product === null || product === void 0 ? void 0 : product.weightAndPriceList[this.activeWeightIndex]) === null || _a === void 0 ? void 0 : _a.item2;
|
|
6155
|
+
}
|
|
6156
|
+
isActive(index) {
|
|
6157
|
+
return index === this.activeWeightIndex;
|
|
6158
|
+
}
|
|
6159
|
+
render() {
|
|
6160
|
+
var _a, _b, _c;
|
|
6161
|
+
return (h(Host, null, ((_a = this.data) === null || _a === void 0 ? void 0 : _a.proxioProduct) ? (h("div", null, h("div", { class: "weightcontainer" }, this.data.proxioProduct.weightAndPriceList ?
|
|
6162
|
+
(h("div", { class: "weightvaluecontainer" }, h("pn-button", { disabled: this.activeWeightIndex === 0 ? ("disabled") : (null), "icon-only": "true", icon: "arrow-left", appearance: "light", small: "true", onClick: () => this.setActiveWeightIndex(this.activeWeightIndex - 1) }), h("div", { class: "weightradios" }, h("div", { class: "weightline" }), this.data.proxioProduct.weightAndPriceList.map((weightItem, index) => h("div", { class: "weightdata" + (this.isActive(index) ? (" activeweight") : ("")) }, h("input", { type: "radio", id: "weightradio" + index, name: "weightradio", value: index, checked: this.isActive(index), onClick: () => this.setActiveWeightIndex(index) }), h("label", { htmlFor: "weightradio" + index }, weightItem.item1)))), h("pn-button", { disabled: this.activeWeightIndex === ((_c = (_b = this.data.proxioProduct) === null || _b === void 0 ? void 0 : _b.weightAndPriceList) === null || _c === void 0 ? void 0 : _c.length) - 1 ? ("disabled") : (null), icon: "arrow-right", appearance: "light", "icon-only": "true", small: "true", onClick: () => this.setActiveWeightIndex(this.activeWeightIndex + 1) }))) : (null)), h("pn-proxio-productcard", null, h("h2", { slot: "title" }, this.data.proxioProduct.productTitle), h("pn-proxio-productcard-description", { slot: "description", heading: this.data.proxioProduct.productPreamble, highlight: this.data.proxioProduct.deliveryDateInformation, list: this.data.proxioProduct.productDescriptionBulletListItems }), h("div", { slot: "information" }, h("pn-proxio-productcard-information", { label: this.i18n.labelPackage, information: this.data.proxioProduct.productPackageDimensionsList }), h("pn-proxio-productcard-information", { label: this.i18n.labelRoll, information: this.data.proxioProduct.productRollDimensionsList })), h("div", { slot: "bottomtags" }, this.data.proxioProduct.tracable ?
|
|
6163
|
+
(h("pn-titletag", { color: "gray50" }, this.i18n.notTraceable)) : (null), this.data.proxioProduct.usp1 ?
|
|
6164
|
+
(h("pn-titletag", { color: "gray50" }, this.data.proxioProduct.usp1)) : (null), this.data.proxioProduct.usp2 ?
|
|
6165
|
+
(h("pn-titletag", { color: "gray50" }, this.data.proxioProduct.usp2)) : (null), this.data.proxioProduct.usp3 ?
|
|
6166
|
+
(h("pn-titletag", { color: "gray50" }, this.data.proxioProduct.usp3)) : (null)), h("pn-illustration", { slot: "illustration", illustration: this.data.proxioProduct.productIcon }), h("div", { slot: "pricelink" }, h("pn-proxio-productcard-pricelink", { price: this.i18n.from + this.getPrice(this.data.proxioProduct), link: this.data.proxioProduct.productLink, linktext: this.data.proxioProduct.productLinkText }), this.data.relatedProxioProducts ? (this.data.relatedProxioProducts.map((product) => (h("pn-proxio-productcard-pricelink", { price: this.i18n.from + this.getPrice(product), link: product.productLink, linktext: product.productLinkText })))) : (null))))) : (null)));
|
|
6167
|
+
}
|
|
6168
|
+
static get style() { return pnProxioPricegroupCss; }
|
|
6104
6169
|
};
|
|
6105
6170
|
|
|
6106
|
-
const pnProxioProductcardCss = "";
|
|
6171
|
+
const pnProxioProductcardCss = "pn-proxio-productcard .cardcontent{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;border:solid 0.1rem #F9F8F8;border-radius:0.8rem;overflow:hidden;margin-left:auto;margin-right:auto;margin-bottom:1.6rem}pn-proxio-productcard .carddetails{min-width:70%;padding:2rem;display:-ms-flexbox;display:flex;gap:1rem;-ms-flex-direction:column;flex-direction:column}pn-proxio-productcard .cardcalltoactions{min-width:30%;background-color:#EFFBFF;padding:1rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-line-pack:center;align-content:center}pn-proxio-productcard .cardcalltoactions pn-illustration[slot=illustration] .pn-illustration{max-width:10rem;margin-left:auto;margin-right:auto}pn-proxio-productcard [slot=information]{display:-ms-flexbox;display:flex;gap:1rem}pn-proxio-productcard [slot=uppertags]{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;gap:2rem}pn-proxio-productcard [slot=bottomtags]{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;gap:2rem;margin:1rem 0}pn-proxio-productcard .heading{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:row;flex-direction:row}pn-proxio-productcard [slot=title]{text-decoration:underline}";
|
|
6107
6172
|
|
|
6108
6173
|
let PnProxioProductcard$1 = class extends HTMLElement {
|
|
6109
6174
|
constructor() {
|
|
@@ -6111,11 +6176,59 @@ let PnProxioProductcard$1 = class extends HTMLElement {
|
|
|
6111
6176
|
this.__registerHost();
|
|
6112
6177
|
}
|
|
6113
6178
|
render() {
|
|
6114
|
-
return (h(Host, null, h("
|
|
6179
|
+
return (h(Host, null, h("div", { class: "cardcontent" }, h("div", { class: "carddetails" }, h("div", { class: "heading" }, h("slot", { name: "title" }), h("slot", { name: "uppertags" })), h("slot", { name: "description" }), h("slot", { name: "information" }), h("slot", { name: "bottomtags" })), h("div", { class: "cardcalltoactions" }, h("slot", { name: "illustration" }), h("slot", { name: "pricelink" })))));
|
|
6115
6180
|
}
|
|
6116
6181
|
static get style() { return pnProxioProductcardCss; }
|
|
6117
6182
|
};
|
|
6118
6183
|
|
|
6184
|
+
const pnProxioProductcardDescriptionCss = "pn-proxio-productcard-description h3{font-size:2rem}pn-proxio-productcard-description .highlight{color:#0fa85c}";
|
|
6185
|
+
|
|
6186
|
+
let PnProxioProductcardDescription$1 = class extends HTMLElement {
|
|
6187
|
+
constructor() {
|
|
6188
|
+
super();
|
|
6189
|
+
this.__registerHost();
|
|
6190
|
+
this.list = [];
|
|
6191
|
+
}
|
|
6192
|
+
render() {
|
|
6193
|
+
return (h(Host, null, this.heading ? (h("h3", null, this.heading)) : (null), this.highlight ? (h("h3", { class: "highlight" }, this.highlight)) : (null), this.description ? (h("span", null, this.description)) : (null), this.list ?
|
|
6194
|
+
(h("ul", null, this.list.map((text) => {
|
|
6195
|
+
return (h("li", null, text));
|
|
6196
|
+
})))
|
|
6197
|
+
: (null)));
|
|
6198
|
+
}
|
|
6199
|
+
static get style() { return pnProxioProductcardDescriptionCss; }
|
|
6200
|
+
};
|
|
6201
|
+
|
|
6202
|
+
const pnProxioProductcardInformationCss = "pn-proxio-productcard-information{-ms-flex-item-align:center;align-self:center}pn-proxio-productcard-information p strong.label{font-weight:500}";
|
|
6203
|
+
|
|
6204
|
+
let PnProxioProductcardInformation$1 = class extends HTMLElement {
|
|
6205
|
+
constructor() {
|
|
6206
|
+
super();
|
|
6207
|
+
this.__registerHost();
|
|
6208
|
+
this.information = [];
|
|
6209
|
+
}
|
|
6210
|
+
render() {
|
|
6211
|
+
return (h(Host, null, h("div", { class: "cardinfocontent" }, this.information && this.label ? (h("div", { class: "cardinfocontent-item" }, h("p", null, h("strong", null, this.label)), this.information.map((item) => (item ?
|
|
6212
|
+
(h("p", null, h("strong", { class: "label" }, item.item1, ":"), " ", item.item2))
|
|
6213
|
+
: (null))))) : null)));
|
|
6214
|
+
}
|
|
6215
|
+
static get style() { return pnProxioProductcardInformationCss; }
|
|
6216
|
+
};
|
|
6217
|
+
|
|
6218
|
+
const pnProxioProductcardPricelinkCss = "pn-proxio-productcard-pricelink{-ms-flex-item-align:center;align-self:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;margin:2rem 1rem;gap:1rem;-ms-flex-line-pack:center;align-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap}pn-proxio-productcard-pricelink pn-button{min-width:17rem}";
|
|
6219
|
+
|
|
6220
|
+
let PnProxioProductcardPricelink$1 = class extends HTMLElement {
|
|
6221
|
+
constructor() {
|
|
6222
|
+
super();
|
|
6223
|
+
this.__registerHost();
|
|
6224
|
+
}
|
|
6225
|
+
render() {
|
|
6226
|
+
return this.link && this.linktext ?
|
|
6227
|
+
(h(Host, null, this.price ? (h("h2", null, this.price)) : (null), h("pn-button", { small: "true", icon: "arrow-right", appearance: "light", href: this.link, target: "_blank", rel: "noopener nofollower noreferrer" }, this.linktext))) : (null);
|
|
6228
|
+
}
|
|
6229
|
+
static get style() { return pnProxioProductcardPricelinkCss; }
|
|
6230
|
+
};
|
|
6231
|
+
|
|
6119
6232
|
const translations = {
|
|
6120
6233
|
'sv': {
|
|
6121
6234
|
"open": "Öppna",
|
|
@@ -6442,7 +6555,7 @@ let PnSiteSelectorItem$1 = class extends HTMLElement {
|
|
|
6442
6555
|
static get style() { return pnSiteSelectorItemCss; }
|
|
6443
6556
|
};
|
|
6444
6557
|
|
|
6445
|
-
const pnTitletagCss = "pn-titletag{display:-ms-inline-flexbox;display:inline-flex;border-radius:0.4rem;min-height:2.5em;font-weight:normal;font-size:0.75em;text-align:center;vertical-align:bottom;padding:0.6rem;gap:0.6em}pn-titletag[color=green700],pn-titletag[color=green]{color:#005E41;background:#DCF6E7}pn-titletag[color=blue700],pn-titletag[color=blue]{background:#E0F8FF;color:#005D92}pn-titletag[color=coral700],pn-titletag[color=coral]{background:#FDEFEE;color:#9B1C2E}pn-titletag[color=gray900],pn-titletag[color=gray],pn-titletag[color=grey]{background:#D3CECB;color:#2D2013}";
|
|
6558
|
+
const pnTitletagCss = "pn-titletag{display:-ms-inline-flexbox;display:inline-flex;border-radius:0.4rem;min-height:2.5em;font-weight:normal;font-size:0.75em;text-align:center;vertical-align:bottom;padding:0.6rem;gap:0.6em}pn-titletag[color=green700],pn-titletag[color=green]{color:#005E41;background:#DCF6E7}pn-titletag[color=blue700],pn-titletag[color=blue]{background:#E0F8FF;color:#005D92}pn-titletag[color=coral700],pn-titletag[color=coral]{background:#FDEFEE;color:#9B1C2E}pn-titletag[color=gray900],pn-titletag[color=gray],pn-titletag[color=grey]{background:#D3CECB;color:#2D2013}pn-titletag[color=gray50],pn-titletag[color=lightgray],pn-titletag[color=lightgrey]{background:#F3F2F2;color:#2D2013}";
|
|
6446
6559
|
|
|
6447
6560
|
let PnTiletag = class extends HTMLElement {
|
|
6448
6561
|
constructor() {
|
|
@@ -6500,8 +6613,11 @@ const PnProfileModalProfile = /*@__PURE__*/proxyCustomElement(PnProfileModalProf
|
|
|
6500
6613
|
const PnProfileModalType = /*@__PURE__*/proxyCustomElement(PnProfileModalType$1, [4,"pn-profile-modal-type",{"typeid":[513],"name":[1025],"selected":[1028],"selectedprofile":[1025]}]);
|
|
6501
6614
|
const PnProfileSelector = /*@__PURE__*/proxyCustomElement(PnProfileSelector$1, [4,"pn-profile-selector",{"language":[1537],"returnUrl":[1,"return-url"],"heading":[1],"i18n":[32],"isLoading":[32],"numberOfProfiles":[32]}]);
|
|
6502
6615
|
const PnProfileSelectorOption = /*@__PURE__*/proxyCustomElement(PnProfileSelectorOption$1, [0,"pn-profile-selector-option",{"heading":[1],"description":[1],"url":[1]}]);
|
|
6503
|
-
const
|
|
6616
|
+
const PnProxioPricegroup = /*@__PURE__*/proxyCustomElement(PnProxioPricegroup$1, [0,"pn-proxio-pricegroup",{"endpoint":[1025],"culture":[1],"tariffid":[1],"cache":[4],"activeWeightIndex":[32],"data":[32],"i18n":[32]},[[0,"activeWeightIndex","setActiveWeightIndex"],[0,"culture","setCulture"]]]);
|
|
6504
6617
|
const PnProxioProductcard = /*@__PURE__*/proxyCustomElement(PnProxioProductcard$1, [4,"pn-proxio-productcard"]);
|
|
6618
|
+
const PnProxioProductcardDescription = /*@__PURE__*/proxyCustomElement(PnProxioProductcardDescription$1, [0,"pn-proxio-productcard-description",{"heading":[1],"highlight":[1],"description":[1],"list":[1040]}]);
|
|
6619
|
+
const PnProxioProductcardInformation = /*@__PURE__*/proxyCustomElement(PnProxioProductcardInformation$1, [0,"pn-proxio-productcard-information",{"label":[1],"information":[16]}]);
|
|
6620
|
+
const PnProxioProductcardPricelink = /*@__PURE__*/proxyCustomElement(PnProxioProductcardPricelink$1, [0,"pn-proxio-productcard-pricelink",{"price":[1],"link":[1],"linktext":[1]}]);
|
|
6505
6621
|
const PnSidenav = /*@__PURE__*/proxyCustomElement(PnSidenav$1, [4,"pn-sidenav",{"language":[1],"navLabel":[1,"nav-label"],"i18n":[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]);
|
|
6506
6622
|
const PnSidenavLevel = /*@__PURE__*/proxyCustomElement(PnSidenavLevel$1, [4,"pn-sidenav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"alignment":[32]}]);
|
|
6507
6623
|
const PnSidenavLink = /*@__PURE__*/proxyCustomElement(PnSidenavLink$1, [4,"pn-sidenav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"icon":[1],"current":[4],"levelId":[32],"open":[32],"hasChildren":[32]}]);
|
|
@@ -6554,8 +6670,11 @@ const defineCustomElements = (opts) => {
|
|
|
6554
6670
|
PnProfileModalType,
|
|
6555
6671
|
PnProfileSelector,
|
|
6556
6672
|
PnProfileSelectorOption,
|
|
6557
|
-
|
|
6673
|
+
PnProxioPricegroup,
|
|
6558
6674
|
PnProxioProductcard,
|
|
6675
|
+
PnProxioProductcardDescription,
|
|
6676
|
+
PnProxioProductcardInformation,
|
|
6677
|
+
PnProxioProductcardPricelink,
|
|
6559
6678
|
PnSidenav,
|
|
6560
6679
|
PnSidenavLevel,
|
|
6561
6680
|
PnSidenavLink,
|
|
@@ -6573,4 +6692,4 @@ const defineCustomElements = (opts) => {
|
|
|
6573
6692
|
}
|
|
6574
6693
|
};
|
|
6575
6694
|
|
|
6576
|
-
export { PnBonusProgressbar, PnBonusProgressbarLevel, PnChoiceButton, PnCustomernumberSelector, PnCustomernumberSelectorOption, PnFilterCheckbox, PnFindPrice, PnFindPriceResult, PnFindServiceAndPrice, PnFindServiceAndPriceResult, PnLanguageSelector, PnLanguageSelectorOption, PnMainnav, PnMainnavLevel, PnMainnavLink, PnMainnavList, PnMarketwebInput, PnMarketwebSearch, PnMarketwebSitefooter, PnMarketwebSiteheader, PnMarketwebSiteheaderLogin, PnMarketwebSiteheaderLoginLinklist, PnMarketwebSiteheaderLoginLinks, PnMarketwebSiteheaderLoginProfileselection, PnMarketwebSiteheaderSearch, PnPexPricefinder, PnProductCard, PnProductCardInfo, PnProductCardPrice, PnProductPricelist, PnProductPricelistResult, PnProductTile, PnProductTileInfo, PnProductTilePrice, PnProfileModal, PnProfileModalCustomernumber, PnProfileModalProfile, PnProfileModalType, PnProfileSelector, PnProfileSelectorOption,
|
|
6695
|
+
export { PnBonusProgressbar, PnBonusProgressbarLevel, PnChoiceButton, PnCustomernumberSelector, PnCustomernumberSelectorOption, PnFilterCheckbox, PnFindPrice, PnFindPriceResult, PnFindServiceAndPrice, PnFindServiceAndPriceResult, PnLanguageSelector, PnLanguageSelectorOption, PnMainnav, PnMainnavLevel, PnMainnavLink, PnMainnavList, PnMarketwebInput, PnMarketwebSearch, PnMarketwebSitefooter, PnMarketwebSiteheader, PnMarketwebSiteheaderLogin, PnMarketwebSiteheaderLoginLinklist, PnMarketwebSiteheaderLoginLinks, PnMarketwebSiteheaderLoginProfileselection, PnMarketwebSiteheaderSearch, PnPexPricefinder, PnProductCard, PnProductCardInfo, PnProductCardPrice, PnProductPricelist, PnProductPricelistResult, PnProductTile, PnProductTileInfo, PnProductTilePrice, PnProfileModal, PnProfileModalCustomernumber, PnProfileModalProfile, PnProfileModalType, PnProfileSelector, PnProfileSelectorOption, PnProxioPricegroup, PnProxioProductcard, PnProxioProductcardDescription, PnProxioProductcardInformation, PnProxioProductcardPricelink, PnSidenav, PnSidenavLevel, PnSidenavLink, PnSidenavTogglebutton, PnSiteFooter, PnSiteFooterCol, PnSiteSelector, PnSiteSelectorItem, PnTitletag, defineCustomElements };
|
|
@@ -229,4 +229,88 @@ class MarketWebContextService {
|
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
|
|
232
|
-
|
|
232
|
+
class FetchHelper {
|
|
233
|
+
constructor(namespace = "") {
|
|
234
|
+
this.storagePrefix = "";
|
|
235
|
+
this.store = {
|
|
236
|
+
get: (key, permanentStorageFirst = false) => {
|
|
237
|
+
const firstProfider = permanentStorageFirst ? window.localStorage : window.sessionStorage;
|
|
238
|
+
const secondProvider = permanentStorageFirst ? window.sessionStorage : window.localStorage;
|
|
239
|
+
let value = firstProfider.getItem(`${this.storagePrefix}-${key}`);
|
|
240
|
+
if (!value) {
|
|
241
|
+
value = secondProvider.getItem(`${this.storagePrefix}-${key}`);
|
|
242
|
+
}
|
|
243
|
+
if (!value) {
|
|
244
|
+
return value;
|
|
245
|
+
}
|
|
246
|
+
if (value.indexOf('{') === 0) {
|
|
247
|
+
try {
|
|
248
|
+
return JSON.parse(value);
|
|
249
|
+
}
|
|
250
|
+
catch (e) {
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
if (value.indexOf(',') !== -1) {
|
|
254
|
+
return value.split(',');
|
|
255
|
+
}
|
|
256
|
+
return value;
|
|
257
|
+
},
|
|
258
|
+
set: (key, value, permanent = false) => {
|
|
259
|
+
const provider = permanent ? window.localStorage : window.sessionStorage;
|
|
260
|
+
if (typeof value === "object" && typeof value.length === "undefined") {
|
|
261
|
+
provider.setItem(`${this.storagePrefix}-${key}`, JSON.stringify(value));
|
|
262
|
+
return;
|
|
263
|
+
}
|
|
264
|
+
provider.setItem(`${this.storagePrefix}-${key}`, value);
|
|
265
|
+
},
|
|
266
|
+
remove: (key) => {
|
|
267
|
+
window.sessionStorage.removeItem(`${this.storagePrefix}-${key}`);
|
|
268
|
+
},
|
|
269
|
+
};
|
|
270
|
+
this.storagePrefix = namespace;
|
|
271
|
+
}
|
|
272
|
+
async fetchJson(input, init = {}, useCache = false, onCacheUpdated = null) {
|
|
273
|
+
const requestPromise = new Promise(async (resolve) => {
|
|
274
|
+
let doFetchRequest = true;
|
|
275
|
+
const url = (typeof input === "string") ? input : input.url;
|
|
276
|
+
const cacheKey = url;
|
|
277
|
+
let jsonData = null;
|
|
278
|
+
let cachedData = null;
|
|
279
|
+
if (useCache) {
|
|
280
|
+
cachedData = this.store.get(cacheKey);
|
|
281
|
+
// If the data was stored in session storage, then we don't need to do a full request
|
|
282
|
+
if (cachedData && !cachedData.permanent) {
|
|
283
|
+
doFetchRequest = false;
|
|
284
|
+
}
|
|
285
|
+
if (cachedData && cachedData.data) {
|
|
286
|
+
jsonData = cachedData.data;
|
|
287
|
+
resolve(jsonData);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
if (doFetchRequest) {
|
|
291
|
+
const response = await window.fetch(input, init);
|
|
292
|
+
jsonData = await response.json();
|
|
293
|
+
resolve(jsonData);
|
|
294
|
+
if (useCache) {
|
|
295
|
+
if (typeof onCacheUpdated === "function" && cachedData != null) {
|
|
296
|
+
onCacheUpdated(jsonData);
|
|
297
|
+
}
|
|
298
|
+
this.store.set(cacheKey, this.wrapJson(jsonData, true), true);
|
|
299
|
+
this.store.set(cacheKey, this.wrapJson(jsonData, false), false);
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
});
|
|
303
|
+
return requestPromise;
|
|
304
|
+
}
|
|
305
|
+
wrapJson(data, permanent = false) {
|
|
306
|
+
const now = new Date();
|
|
307
|
+
return {
|
|
308
|
+
timestamp: now.getTime(),
|
|
309
|
+
time: now.toISOString(),
|
|
310
|
+
data: data,
|
|
311
|
+
permanent: permanent
|
|
312
|
+
};
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
export { FetchHelper as F, MarketWebContextService as M };
|
package/esm/loader.js
CHANGED
|
@@ -10,7 +10,7 @@ const patchEsm = () => {
|
|
|
10
10
|
const defineCustomElements = (win, options) => {
|
|
11
11
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
12
12
|
return patchEsm().then(() => {
|
|
13
|
-
return bootstrapLazy([["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"],"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"]]]]],["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-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],"siteDefinition":[32],"footerContent":[32],"i18n":[32],"gotData":[32],"fetchingData":[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-
|
|
13
|
+
return bootstrapLazy([["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"],"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"]]]]],["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],"culture":[1],"tariffid":[1],"cache":[4],"activeWeightIndex":[32],"data":[32],"i18n":[32]},[[0,"activeWeightIndex","setActiveWeightIndex"],[0,"culture","setCulture"]]]]],["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],"siteDefinition":[32],"footerContent":[32],"i18n":[32],"gotData":[32],"fetchingData":[32]}]]],["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-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-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-filter-checkbox",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["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-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-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-product-card_4",[[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"]]],["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-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-site-footer_2",[[4,"pn-site-footer",{"url":[1],"linktitle":[1]}],[4,"pn-site-footer-col"]]],["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-mainnav-link",[[4,"pn-mainnav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-marketweb-siteheader-login-linklist",[[0,"pn-marketweb-siteheader-login-linklist",{"heading":[1],"links":[16],"idNamespace":[1,"id-namespace"],"loginManager":[16]}]]],["pn-marketweb-siteheader-login-links_2",[[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]}]]],["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],"link":[1],"linktext":[1]}]]],["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-language-selector_9",[[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],"siteid":[1],"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]}]]]], options);
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
16
|
|