@postnord/pn-marketweb-components 1.0.47 → 1.0.49-beta2
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/{FetchHelper-c56960b5.js → FetchHelper-33d3c535.js} +9 -1
- package/cjs/loader.cjs.js +1 -1
- package/cjs/pn-find-price-result.cjs.entry.js +14 -3
- package/cjs/pn-find-price.cjs.entry.js +51 -73
- package/cjs/pn-market-web-components.cjs.js +1 -1
- package/cjs/pn-marketweb-sitefooter.cjs.entry.js +1 -1
- package/cjs/pn-marketweb-siteheader.cjs.entry.js +2 -2
- package/cjs/pn-product-card_3.cjs.entry.js +5 -5
- package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.stories.js +2 -2
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +1 -1
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js +2 -2
- package/collection/components/widgets/pn-find-price/data.js +27 -32
- package/collection/components/widgets/pn-find-price/find-price.stories.js +1 -1
- package/collection/components/widgets/pn-find-price/img/large-package.svg +9 -0
- package/collection/components/widgets/pn-find-price/img/medium-package.svg +9 -0
- package/collection/components/widgets/pn-find-price/img/postnord-person1.svg +52 -0
- package/collection/components/widgets/pn-find-price/img/small-package.svg +23 -0
- package/collection/components/widgets/pn-find-price/pn-find-price-result.js +97 -12
- package/collection/components/widgets/pn-find-price/pn-find-price-translations.js +5 -5
- package/collection/components/widgets/pn-find-price/pn-find-price.css +45 -36
- package/collection/components/widgets/pn-find-price/pn-find-price.js +36 -55
- package/collection/components/widgets/pn-product-card/pn-product-card-info.css +2 -2
- package/collection/components/widgets/pn-product-card/pn-product-card-price.css +1 -1
- package/collection/components/widgets/pn-product-card/pn-product-card-price.js +18 -1
- package/collection/components/widgets/pn-product-card/pn-product-card.css +39 -17
- package/collection/components/widgets/pn-product-card/pn-product-card.js +1 -0
- package/collection/globals/MarketWebContextService.js +9 -1
- package/custom-elements/index.js +82 -85
- package/esm/{FetchHelper-7b531181.js → FetchHelper-aa15fc6b.js} +9 -1
- package/esm/loader.js +1 -1
- package/esm/pn-find-price-result.entry.js +14 -3
- package/esm/pn-find-price.entry.js +51 -73
- package/esm/pn-market-web-components.js +1 -1
- package/esm/pn-marketweb-sitefooter.entry.js +1 -1
- package/esm/pn-marketweb-siteheader.entry.js +2 -2
- package/esm/pn-product-card_3.entry.js +5 -5
- package/esm-es5/FetchHelper-aa15fc6b.js +1 -0
- package/esm-es5/loader.js +1 -1
- package/esm-es5/pn-find-price-result.entry.js +1 -1
- package/esm-es5/pn-find-price.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_3.entry.js +1 -1
- package/package.json +1 -1
- package/pn-market-web-components/p-0c35311d.system.entry.js +1 -0
- package/pn-market-web-components/p-208a0a7b.entry.js +1 -0
- package/pn-market-web-components/p-2a695f6f.js +1 -0
- package/pn-market-web-components/p-588259f4.system.entry.js +1 -0
- package/pn-market-web-components/{p-662851fc.entry.js → p-7598c3ac.entry.js} +1 -1
- package/pn-market-web-components/p-7a7f380b.system.js +1 -1
- package/pn-market-web-components/p-95d756eb.system.entry.js +1 -0
- package/pn-market-web-components/p-c2a5d31f.entry.js +1 -0
- package/pn-market-web-components/p-c37b3a3b.entry.js +1 -0
- package/pn-market-web-components/p-d437da74.system.js +1 -0
- package/pn-market-web-components/{p-05afbab2.system.entry.js → p-da2fa398.system.entry.js} +1 -1
- package/pn-market-web-components/p-dc48d8f8.system.entry.js +1 -0
- package/pn-market-web-components/p-f0e693b2.entry.js +1 -0
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/types/components/widgets/pn-find-price/pn-find-price-result.d.ts +4 -0
- package/types/components/widgets/pn-product-card/pn-product-card-price.d.ts +1 -0
- package/types/components.d.ts +10 -0
- package/types/globals/MarketWebContextService.d.ts +1 -0
- package/esm-es5/FetchHelper-7b531181.js +0 -1
- package/pn-market-web-components/p-1060d686.system.entry.js +0 -1
- package/pn-market-web-components/p-37e26384.system.entry.js +0 -1
- package/pn-market-web-components/p-45bb8f15.entry.js +0 -1
- package/pn-market-web-components/p-518b1864.entry.js +0 -1
- package/pn-market-web-components/p-9341f7b0.js +0 -1
- package/pn-market-web-components/p-98026740.system.js +0 -1
- package/pn-market-web-components/p-ac7c17f3.entry.js +0 -1
- package/pn-market-web-components/p-b425e079.system.entry.js +0 -1
- package/pn-market-web-components/p-c20ae4d4.system.entry.js +0 -1
- package/pn-market-web-components/p-c799bf36.entry.js +0 -1
|
@@ -2,7 +2,7 @@ pn-product-card {
|
|
|
2
2
|
margin-bottom: 1em;
|
|
3
3
|
border: 0.1rem solid #D3CECB;
|
|
4
4
|
outline: none;
|
|
5
|
-
background:
|
|
5
|
+
background: #FFFFFF;
|
|
6
6
|
box-shadow: 0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);
|
|
7
7
|
display: flex;
|
|
8
8
|
padding: 1.5em;
|
|
@@ -10,42 +10,64 @@ pn-product-card {
|
|
|
10
10
|
text-decoration: none;
|
|
11
11
|
border-radius: 0.8rem;
|
|
12
12
|
}
|
|
13
|
-
pn-product-card [slot=
|
|
13
|
+
pn-product-card [slot=title] {
|
|
14
14
|
display: flex;
|
|
15
15
|
width: 100%;
|
|
16
16
|
margin-bottom: 0.5em;
|
|
17
17
|
}
|
|
18
|
-
pn-product-card [slot=
|
|
19
|
-
|
|
20
|
-
background: #
|
|
21
|
-
color: white;
|
|
18
|
+
pn-product-card [slot=title] > [slot=Biligast] {
|
|
19
|
+
color: #005E41;
|
|
20
|
+
background: #DCF6E7;
|
|
22
21
|
border-radius: 0.37em;
|
|
23
|
-
width:
|
|
24
|
-
|
|
22
|
+
width: 6.3em;
|
|
23
|
+
height: 2em;
|
|
24
|
+
margin-left: 1.5em;
|
|
25
|
+
font-weight: normal;
|
|
26
|
+
font-size: 0.75em;
|
|
25
27
|
text-align: center;
|
|
28
|
+
vertical-align: bottom;
|
|
29
|
+
padding-top: 0.25em;
|
|
30
|
+
}
|
|
31
|
+
pn-product-card [slot=title] > [slot=Biligast] pn-icon {
|
|
32
|
+
vertical-align: middle;
|
|
26
33
|
margin-left: 0.6em;
|
|
27
|
-
font-weight: normal;
|
|
28
34
|
}
|
|
29
|
-
pn-product-card [slot=
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
color: white;
|
|
35
|
+
pn-product-card [slot=title] > [slot=Snabbast] {
|
|
36
|
+
background: #E0F8FF;
|
|
37
|
+
color: #005D92;
|
|
33
38
|
border-radius: 0.37em;
|
|
34
|
-
width:
|
|
35
|
-
|
|
39
|
+
width: 7em;
|
|
40
|
+
height: 2em;
|
|
41
|
+
margin-left: 1.5em;
|
|
42
|
+
font-weight: normal;
|
|
43
|
+
font-size: 0.75em;
|
|
36
44
|
text-align: center;
|
|
37
45
|
vertical-align: bottom;
|
|
46
|
+
padding-top: 0.25em;
|
|
47
|
+
}
|
|
48
|
+
pn-product-card [slot=title] > [slot=Snabbast] pn-icon {
|
|
49
|
+
vertical-align: middle;
|
|
38
50
|
margin-left: 0.6em;
|
|
39
|
-
|
|
51
|
+
}
|
|
52
|
+
pn-product-card [slot=note] {
|
|
53
|
+
margin-top: 1em;
|
|
54
|
+
margin-bottom: 1em;
|
|
40
55
|
}
|
|
41
56
|
pn-product-card [slot=additionalUSP] {
|
|
42
|
-
|
|
57
|
+
display: flex;
|
|
58
|
+
}
|
|
59
|
+
pn-product-card [slot=additionalUSP] :first-child {
|
|
60
|
+
margin-left: 0em;
|
|
61
|
+
}
|
|
62
|
+
pn-product-card [slot=additionalUSP] span {
|
|
63
|
+
margin-left: 1em;
|
|
43
64
|
background: #D3CECB;
|
|
44
65
|
color: #2D2013;
|
|
45
66
|
border-radius: 0.25em;
|
|
46
67
|
width: fit-content;
|
|
47
68
|
padding: 0.3em;
|
|
48
69
|
margin-top: 0.5em;
|
|
70
|
+
font-size: 0.75em;
|
|
49
71
|
}
|
|
50
72
|
pn-product-card > pn-illustration {
|
|
51
73
|
min-width: 8rem;
|
|
@@ -7,6 +7,7 @@ class MarketWebContextService {
|
|
|
7
7
|
this.url = null;
|
|
8
8
|
this.allowedLanguages = ["sv", "da", "fi", "no", "en"];
|
|
9
9
|
this.allowedMarkets = ["se", "dk", "fi", "no", "com", "tpl"];
|
|
10
|
+
this.wwwMarkets = ["se", "dk", "fi", "no", "com"];
|
|
10
11
|
this.developmentDomains = ["localhost", ".local", "local.", ".dev", "dev."];
|
|
11
12
|
this.markets = {
|
|
12
13
|
"se": {
|
|
@@ -65,7 +66,14 @@ class MarketWebContextService {
|
|
|
65
66
|
if (this.environments[environmentName]) {
|
|
66
67
|
url = this.environments[environmentName].url;
|
|
67
68
|
if (environmentName === this.environments.production.name) {
|
|
68
|
-
|
|
69
|
+
if (this.wwwMarkets.indexOf(marketName) !== -1) {
|
|
70
|
+
// Handles www.postnord.xx domains
|
|
71
|
+
url = url.replace(".xx", "." + marketName);
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
url = url.replace(".xx", ".com"); // Expect URL to end in postnord.com
|
|
75
|
+
url = url.replace("www.", marketName + ".");
|
|
76
|
+
}
|
|
69
77
|
}
|
|
70
78
|
}
|
|
71
79
|
return url;
|
package/custom-elements/index.js
CHANGED
|
@@ -283,10 +283,10 @@ let PnFilterSearch$1 = class extends HTMLElement {
|
|
|
283
283
|
|
|
284
284
|
const translations$9 = {
|
|
285
285
|
'sv': {
|
|
286
|
-
'componentheading': '
|
|
286
|
+
'componentheading': 'Våra priser och villkor för inrikesförsändelser för dig som direktbetalande kund?',
|
|
287
287
|
'deliveryscopeheading': 'Endast leveranser inom Sverige',
|
|
288
|
-
'sizeheading': '
|
|
289
|
-
'resultlistheading': 'Några
|
|
288
|
+
'sizeheading': 'Uppskatta storlek och vikt på din försändelse',
|
|
289
|
+
'resultlistheading': 'Några bra alternativ för dig',
|
|
290
290
|
'weightlabel': 'Vikt',
|
|
291
291
|
'maxweightlabel': 'Maxvikt',
|
|
292
292
|
'maxmeasurementlabel': 'Maxvolym',
|
|
@@ -295,9 +295,9 @@ const translations$9 = {
|
|
|
295
295
|
'message': '*Vid köp hos valfritt ombud'
|
|
296
296
|
},
|
|
297
297
|
'en': {
|
|
298
|
-
'componentheading': '
|
|
298
|
+
'componentheading': 'Our prices and terms and conditions for domestic shipments for you as a direct paying customer',
|
|
299
299
|
'deliveryscopeheading': 'Deliveries within Sweden only',
|
|
300
|
-
'sizeheading': '
|
|
300
|
+
'sizeheading': 'Estimate the size and weight of your shipment',
|
|
301
301
|
'resultlistheading': 'Some suitable options for you',
|
|
302
302
|
'weightlabel': 'Weight',
|
|
303
303
|
'maxweightlabel': 'Max weight',
|
|
@@ -356,45 +356,40 @@ const markets$2 = {
|
|
|
356
356
|
};
|
|
357
357
|
|
|
358
358
|
const sizeCategories = [
|
|
359
|
-
{ name: "
|
|
360
|
-
{ name: "
|
|
361
|
-
{ name: "
|
|
359
|
+
{ name: "Small", value: "Small", illustration: "eli1n", unit: "small", maxWeight:2, img:"./small-package.svg" },
|
|
360
|
+
{ name: "Medium", value: "Medium", illustration: "medium-package", unit: "medium", maxWeight:5, img:"./medium-package.svg"},
|
|
361
|
+
{ name: "Large", value: "Large", illustration: "large-package", unit: "large", maxWeight: 20 , img:"./large-package.svg"},
|
|
362
362
|
];
|
|
363
363
|
|
|
364
364
|
const weights$2 = {
|
|
365
|
-
"
|
|
366
|
-
{ name: "
|
|
367
|
-
{ name: "
|
|
368
|
-
{ name: "
|
|
369
|
-
{ name: "
|
|
370
|
-
{ name: "
|
|
371
|
-
{ name: "
|
|
365
|
+
"small": [
|
|
366
|
+
{ name: "50 g", abbreviation: 'g', value: 50 },
|
|
367
|
+
{ name: "100 g", abbreviation: 'g', value: 100 },
|
|
368
|
+
{ name: "250 g", abbreviation: 'g', value: 250 },
|
|
369
|
+
{ name: "500 g", abbreviation: 'g', value: 500 },
|
|
370
|
+
{ name: "1 kg", abbreviation: 'kg', value: 1 },
|
|
371
|
+
{ name: "2 kg", abbreviation: 'kg', value: 2 },
|
|
372
372
|
],
|
|
373
|
-
"
|
|
374
|
-
{ name: "
|
|
375
|
-
{ name: "
|
|
376
|
-
{ name: "
|
|
377
|
-
{ name: "
|
|
373
|
+
"medium": [
|
|
374
|
+
{ name: "1 kg", abbreviation: 'kg', value: 1 },
|
|
375
|
+
{ name: "2 kg", abbreviation: 'kg', value: 2 },
|
|
376
|
+
{ name: "3 kg", abbreviation: 'kg', value: 3 },
|
|
377
|
+
{ name: "5 kg", abbreviation: 'kg', value: 5 },
|
|
378
|
+
{ name: "10 kg", abbreviation: 'kg', value: 10 },
|
|
379
|
+
{ name: "15 kg", abbreviation: 'kg', value: 15 },
|
|
380
|
+
{ name: "20 kg", abbreviation: 'kg', value: 20 },
|
|
378
381
|
],
|
|
379
|
-
"
|
|
380
|
-
{ name: "
|
|
381
|
-
{ name: "
|
|
382
|
-
{ name: "
|
|
383
|
-
{ name: "
|
|
384
|
-
{ name: "
|
|
385
|
-
{ name: "10kg", abbreviation: 'kg', value: 10 },
|
|
386
|
-
{ name: "11kg", abbreviation: 'kg', value: 11 },
|
|
387
|
-
{ name: "12kg", abbreviation: 'kg', value: 12 },
|
|
388
|
-
{ name: "13kg", abbreviation: 'kg', value: 13 },
|
|
389
|
-
{ name: "14kg", abbreviation: 'kg', value: 14 },
|
|
390
|
-
{ name: "15kg", abbreviation: 'kg', value: 15 },
|
|
391
|
-
{ name: "16kg", abbreviation: 'kg', value: 16 },
|
|
392
|
-
{ name: "17kg", abbreviation: 'kg', value: 17 },
|
|
393
|
-
{ name: "18kg", abbreviation: 'kg', value: 18 },
|
|
394
|
-
{ name: "20kg", abbreviation: 'kg', value: 20 },
|
|
382
|
+
"large": [
|
|
383
|
+
{ name: "3 kg", abbreviation: 'kg', value: 3 },
|
|
384
|
+
{ name: "5 kg", abbreviation: 'kg', value: 5 },
|
|
385
|
+
{ name: "10 kg", abbreviation: 'kg', value: 10 },
|
|
386
|
+
{ name: "15 kg", abbreviation: 'kg', value: 15 },
|
|
387
|
+
{ name: "20 kg", abbreviation: 'kg', value: 20 },
|
|
395
388
|
]
|
|
396
389
|
};
|
|
397
390
|
|
|
391
|
+
const fileLocation = "https://com-integration.postnord.com/globalassets/global/prices/sv-findprice-first.xlsx";
|
|
392
|
+
|
|
398
393
|
const xml = {
|
|
399
394
|
createDocument: function createDocument(content) {
|
|
400
395
|
// if (!content) {
|
|
@@ -2434,13 +2429,21 @@ const { state: state$4, onChange: onChange$4 } = createStore({
|
|
|
2434
2429
|
}
|
|
2435
2430
|
});
|
|
2436
2431
|
|
|
2437
|
-
const
|
|
2432
|
+
const smallPackageSvg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTQiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCA1NCAzOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQ0LjM4NDggMzhINTAuMzAxN0M1MS45MzM5IDM4IDUzLjMxMTEgMzYuMjM1NyA1My4zMTExIDMzLjk5NjRWNC4wMDM1N0M1My4zMTExIDEuODMyMTQgNTEuOTg0OSAwIDUwLjMwMTcgMEg0NC4zODQ4VjM4WiIgZmlsbD0iIzAwNUQ5MiIvPgo8cGF0aCBkPSJNNDcuMzQzMyAzOEgxMy4zMjFDMTEuNjg4NyAzOCAxMC4zMTE1IDM2LjIzNTcgMTAuMzExNSAzMy45OTY0VjQuMDAzNTdDMTAuMzExNSAxLjgzMjE0IDExLjYzNzcgMCAxMy4zMjEgMEg0NC44NDM5QzQ2LjIyMTEgMCA0Ny4zNDMzIDEuNDkyODYgNDcuMzQzMyAzLjMyNVYzOFoiIGZpbGw9IiMwMEEwRDYiLz4KPHBhdGggZD0iTTQzLjMxNDMgMTAuNzg5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OTIgNDlDODQuNDQ5NyA0OC45IDg0LjM1MDEgNDguOSA4NC4xNTExIDQ4LjhaIiBmaWxsPSIjOTkyOTBBIi8+CjxwYXRoIGQ9Ik02OS42MTkyIDU1LjI5MTlMNTIgNTdWNDdINzIuMDAwMkw3MS41MDQxIDUzLjA4NzdDNzEuNDA0OSA1NC4yNDIzIDcwLjYxMTMgNTUuMTg2OSA2OS42MTkyIDU1LjI5MTlaIiBmaWxsPSIjRkJDMkMxIi8+CjxyZWN0IHg9IjQ3IiB5PSI0NyIgd2lkdGg9IjEwIiBoZWlnaHQ9IjEwIiByeD0iNSIgZmlsbD0iI0ZCQzJDMSIvPgo8cGF0aCBvcGFjaXR5PSIwLjIiIGQ9Ik01NC41IDQ3TDUzIDUwTDU3IDQ3SDU0LjVaIiBmaWxsPSIjRTU0NzRDIi8+Cjwvc3ZnPgo=';
|
|
2439
|
+
|
|
2440
|
+
const pnFindPriceCss = "@charset \"UTF-8\";pn-find-price table{border-style:none}pn-find-price td{margin-bottom:1em;text-align:center;vertical-align:bottom;padding-right:1em}pn-find-price .firstCell{margin-right:0;margin-left:auto}pn-find-price .findprice-form{max-width:50em;margin:0 auto}pn-find-price h2,pn-find-price .heading,pn-find-price .resultHeading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:1rem}pn-find-price .sizeheading{text-align:center;font-size:1.25em;line-height:1.1;font-weight:bold;margin-bottom:1rem}pn-find-price .sizecategory{margin-bottom:3rem;font-size:0.9em;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}pn-find-price .weightoption{font-size:0.9em;max-width:41rem;margin:0 auto}pn-find-price .weightoption-content{text-align:center}pn-find-price .weightoption-content pn-choice-button{width:7em;line-height:3.3em;font-size:0.9em;vertical-align:bottom}pn-find-price .weightoption-content pn-choice-button>label{-ms-flex-line-pack:center;align-content:center;-ms-flex-pack:center;justify-content:center}pn-find-price .weightoption-content pn-choice-button ::before{content:\"Max \";font-weight:lighter}pn-find-price .resultlist{margin:3em 0}";
|
|
2438
2441
|
|
|
2439
2442
|
let PnfindPrice = class extends HTMLElement {
|
|
2440
2443
|
constructor() {
|
|
2441
2444
|
super();
|
|
2442
2445
|
this.__registerHost();
|
|
2443
|
-
this.source =
|
|
2446
|
+
this.source = fileLocation;
|
|
2444
2447
|
this.language = "sv";
|
|
2445
2448
|
this.market = "se";
|
|
2446
2449
|
this.filteredItems = [];
|
|
@@ -2480,11 +2483,11 @@ let PnfindPrice = class extends HTMLElement {
|
|
|
2480
2483
|
console.log('Data has not yet been loaded');
|
|
2481
2484
|
return;
|
|
2482
2485
|
}
|
|
2483
|
-
const deliveryScopeData = this.sourceData.data.filter((x) => x.deliveryscope === "
|
|
2486
|
+
const deliveryScopeData = this.sourceData.data.filter((x) => x.deliveryscope.toLocaleLowerCase() === "sweden");
|
|
2484
2487
|
if (!this.sizecategory) {
|
|
2485
2488
|
return;
|
|
2486
2489
|
}
|
|
2487
|
-
const sizeItemData = deliveryScopeData.filter((x) => x.sizecategory === this.sizecategory.value);
|
|
2490
|
+
const sizeItemData = deliveryScopeData.filter((x) => x.sizecategory.toLocaleLowerCase() === this.sizecategory.value.toLocaleLowerCase());
|
|
2488
2491
|
if (!this.weight || !this.weight.value) {
|
|
2489
2492
|
return;
|
|
2490
2493
|
}
|
|
@@ -2511,45 +2514,20 @@ let PnfindPrice = class extends HTMLElement {
|
|
|
2511
2514
|
this.filteredItems = weightFilteredData;
|
|
2512
2515
|
}
|
|
2513
2516
|
render() {
|
|
2514
|
-
return (h("div", null, h("div", { class: "findprice-form" }, h("div", null, (h("div", { class: "
|
|
2517
|
+
return (h("div", null, h("div", { class: "findprice-form" }, h("div", null, (h("div", { class: "sizeheading" }, state$4.i18n.sizeheading)), h("div", { class: "sizecategory" }, h("table", null, h("tr", null, h("td", null, h("img", { class: "firstCell", src: postnordPerson1Svg })), h("td", null, h("img", { src: smallPackageSvg })), h("td", null, h("img", { src: mediumPackageSvg })), h("td", null, h("img", { src: largePackageSvg }))), h("tr", null, h("td", null), sizeCategories.map((sizeCategory) => (h("td", null, h("pn-radio-button", { radioid: sizeCategory.value, value: sizeCategory.value, name: "sizecategory", checked: sizeCategory.value === this.sizecategory.value, onChange: () => {
|
|
2515
2518
|
this.sizecategory = sizeCategories.filter(x => x.value === sizeCategory.value)[0];
|
|
2516
|
-
|
|
2517
|
-
this.weight = weights$2[this.sizecategory.unit][0];
|
|
2518
|
-
this.weightvalue = this.weight.value;
|
|
2519
|
-
}
|
|
2520
|
-
} }, h("pn-illustration", { illustration: sizeCategory.illustration }), " ", sizeCategory.name))))), (this.sizecategory.value && weights$2[this.sizecategory.unit]) ? (h("div", null, (state$4.i18n.sizeheading) ? (h("div", { class: "heading" }, state$4.i18n.sizeheading)) : null, h("div", { class: "weightoption" }, h("div", { class: "weightoption-input" }, h("pn-input", { inputid: "weightvalue", name: "weightvalue", type: "number", label: state$4.i18n.weightlabel, value: this.weightvalue, onChange: (e) => {
|
|
2521
|
-
if (e && e.target && e.target.value) {
|
|
2522
|
-
const weightNum = parseInt(e.target.value, 10);
|
|
2523
|
-
if (!isNaN(weightNum)) {
|
|
2524
|
-
let matchingWeights = weights$2[this.sizecategory.unit].filter((x) => {
|
|
2525
|
-
let weightInGrams = (x.abbreviation === "kg") ? x.value * 1000 : x.value;
|
|
2526
|
-
return weightInGrams >= weightNum;
|
|
2527
|
-
});
|
|
2528
|
-
if (matchingWeights && matchingWeights.length > 0) {
|
|
2529
|
-
this.weight = matchingWeights[0];
|
|
2530
|
-
this.weightvalue = this.weight.value;
|
|
2531
|
-
}
|
|
2532
|
-
}
|
|
2533
|
-
}
|
|
2534
|
-
} }), h("span", { class: "weightoption-input-abbreviation" }, this.weight.abbreviation)), h("div", { class: "weightoption-range" }, h("input", { type: "range", id: "weightrange", name: "weightrange", list: "weightlist", value: (!this.weight.value) ? 0 : weights$2[this.sizecategory.unit].findIndex((x) => x.value === this.weightvalue), onChange: (e) => {
|
|
2535
|
-
const value = e.target.value;
|
|
2536
|
-
this.weight = weights$2[this.sizecategory.unit][value];
|
|
2519
|
+
this.weight = weights$2[this.sizecategory.unit][0];
|
|
2537
2520
|
this.weightvalue = this.weight.value;
|
|
2538
|
-
},
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
if (weights$2[this.sizecategory.unit].length > 6) {
|
|
2543
|
-
labelText = (weightindex % 5 === 0 || weightindex === 0 || weightindex === weights$2[this.sizecategory.unit].length - 1) ? weight.name : '';
|
|
2544
|
-
}
|
|
2545
|
-
return (h("option", Object.assign({ value: weightindex }, (labelText ? { label: labelText } : {}))));
|
|
2546
|
-
})))))) : null), (this.filteredItems && this.filteredItems.length > 0) ? (h("div", { class: "resultlist" }, (state$4.i18n.resultlistheading) ? (h("div", { class: "heading" }, state$4.i18n.resultlistheading)) : null, this.filteredItems.map((item) => (h("div", null, h("pn-find-price-result", { item: item })))))) : null));
|
|
2521
|
+
} })))))))), (this.sizecategory.value && weights$2[this.sizecategory.unit]) ? (h("div", { class: "weightoption" }, h("div", { class: "weightoption-content" }, weights$2[this.sizecategory.unit].map((wght) => (h("pn-choice-button", { choiceid: this.sizecategory.value + wght.value, name: "weight", type: "radio", value: (!this.weight.value) ? 0 : weights$2[this.sizecategory.unit].findIndex((x) => x.value === this.weightvalue), checked: wght.value === this.weight.value, onChange: () => {
|
|
2522
|
+
this.weight = weights$2[this.sizecategory.unit].filter(x => x.value === wght.value)[0];
|
|
2523
|
+
this.weightvalue = this.weight.value;
|
|
2524
|
+
} }, wght.name)))))) : null), (this.filteredItems && this.filteredItems.length > 0) ? (h("div", { class: "resultlist" }, (state$4.i18n.resultlistheading) ? (h("div", { class: "resultHeading" }, state$4.i18n.resultlistheading)) : null, this.filteredItems.map((item) => (h("div", null, h("pn-find-price-result", { item: item })))))) : null));
|
|
2547
2525
|
}
|
|
2548
2526
|
static get watchers() { return {
|
|
2549
2527
|
"market": ["setState"],
|
|
2550
2528
|
"language": ["setState"],
|
|
2551
|
-
"
|
|
2552
|
-
"
|
|
2529
|
+
"sizecategory": ["filterItems"],
|
|
2530
|
+
"weightvalue": ["filterItems"]
|
|
2553
2531
|
}; }
|
|
2554
2532
|
static get style() { return pnFindPriceCss; }
|
|
2555
2533
|
};
|
|
@@ -2562,17 +2540,28 @@ let PnfindPriceResult = class extends HTMLElement {
|
|
|
2562
2540
|
this.__registerHost();
|
|
2563
2541
|
this.item = null;
|
|
2564
2542
|
this.shownitems = [];
|
|
2543
|
+
this.description = [];
|
|
2565
2544
|
this.weightText = "";
|
|
2566
2545
|
}
|
|
2567
2546
|
componentWillLoad() {
|
|
2568
2547
|
this.composeItems();
|
|
2569
2548
|
}
|
|
2570
2549
|
composeItems() {
|
|
2550
|
+
if (this.item.additionalusp) {
|
|
2551
|
+
var x = this.item.additionalusp.split("/");
|
|
2552
|
+
this.Usp1 = (x.length > 0) ? x[0] : null;
|
|
2553
|
+
this.Usp2 = (x.length > 1) ? x[1] : null;
|
|
2554
|
+
this.Usp3 = (x.length > 2) ? x[2] : null;
|
|
2555
|
+
}
|
|
2556
|
+
if (this.item.description) {
|
|
2557
|
+
this.description = this.item.description.split("#bullet").filter(x => x !== "");
|
|
2558
|
+
}
|
|
2571
2559
|
}
|
|
2572
2560
|
render() {
|
|
2573
|
-
return (h(Host, null, h("pn-product-card", null, h("pn-illustration", { slot: "illustration", illustration: this.item.illustration }), h("div", { slot: "
|
|
2574
|
-
(this.item.highestrankusp === "
|
|
2575
|
-
(h("span", { slot: "Biligast" }, this.item.highestrankusp
|
|
2561
|
+
return (h(Host, null, h("pn-product-card", null, h("pn-illustration", { slot: "illustration", illustration: this.item.illustration }), h("div", { slot: "title" }, h("h2", null, this.item.name, " "), (this.item.highestrankusp) ?
|
|
2562
|
+
(this.item.highestrankusp === "Billigast") ?
|
|
2563
|
+
(h("span", { slot: "Biligast" }, this.item.highestrankusp, h("pn-icon", { symbol: "box-label", small: "false", color: "green700" })))
|
|
2564
|
+
: (h("span", { slot: "Snabbast" }, this.item.highestrankusp, h("pn-icon", { symbol: "bolt", small: "false", color: "blue700" }))) : null), h("div", { slot: "content" }, h("div", { class: "content" }, (this.item.description) ? (h("div", { class: "description" }, this.description.map((desc) => (h("li", null, desc))))) : null, (this.item.info) ? (h("div", { class: "description" }, this.item.info)) : null)), this.item.note ? (h("small", { slot: "note" }, h("p", null, this.item.note))) : null, this.item.additionalusp ? (h("div", { slot: "additionalUSP" }, this.Usp1 ? (h("span", null, this.Usp1)) : null, this.Usp2 ? (h("span", null, this.Usp2)) : null, this.Usp3 ? (h("span", null, this.Usp3)) : null)) : null, this.item.paket ? (h("pn-product-card-info", { paket: this.item.paket, rulle: this.item.rulle })) : null, this.item.priceagent ? (h("pn-product-card-price", { slot: "price", label: "", amount: this.item.priceagent + '', currency: state$4.market.currency, url: "https://shop.postnord.se/ebutik/default.aspx", service: this.item.name + "-eshop" })) : null, this.item.pricesenddirect ? (h("pn-product-card-price", { slot: "sendDirectPrice", label: state$4.i18n.senddirectcta, amount: this.item.pricesenddirect + '', currency: state$4.market.currency, url: "https://portal.postnord.com/skickadirekt/", service: this.item.name + "-portal" })) : null, this.item.pricestamps ? (h("pn-product-card-price", { slot: "stampPrice", label: state$4.i18n.stampshopcta, amount: this.item.pricestamps + '', currency: state$4.market.currency, url: "https://shop.postnord.se/ebutik/default.aspx", service: this.item.name + "-eshop", note: state$4.i18n.message })) : null)));
|
|
2576
2565
|
}
|
|
2577
2566
|
static get watchers() { return {
|
|
2578
2567
|
"item": ["composeItems"]
|
|
@@ -3327,6 +3316,7 @@ class MarketWebContextService {
|
|
|
3327
3316
|
this.url = null;
|
|
3328
3317
|
this.allowedLanguages = ["sv", "da", "fi", "no", "en"];
|
|
3329
3318
|
this.allowedMarkets = ["se", "dk", "fi", "no", "com", "tpl"];
|
|
3319
|
+
this.wwwMarkets = ["se", "dk", "fi", "no", "com"];
|
|
3330
3320
|
this.developmentDomains = ["localhost", ".local", "local.", ".dev", "dev."];
|
|
3331
3321
|
this.markets = {
|
|
3332
3322
|
"se": {
|
|
@@ -3385,7 +3375,14 @@ class MarketWebContextService {
|
|
|
3385
3375
|
if (this.environments[environmentName]) {
|
|
3386
3376
|
url = this.environments[environmentName].url;
|
|
3387
3377
|
if (environmentName === this.environments.production.name) {
|
|
3388
|
-
|
|
3378
|
+
if (this.wwwMarkets.indexOf(marketName) !== -1) {
|
|
3379
|
+
// Handles www.postnord.xx domains
|
|
3380
|
+
url = url.replace(".xx", "." + marketName);
|
|
3381
|
+
}
|
|
3382
|
+
else {
|
|
3383
|
+
url = url.replace(".xx", ".com"); // Expect URL to end in postnord.com
|
|
3384
|
+
url = url.replace("www.", marketName + ".");
|
|
3385
|
+
}
|
|
3389
3386
|
}
|
|
3390
3387
|
}
|
|
3391
3388
|
return url;
|
|
@@ -4030,7 +4027,7 @@ let PnMarketwebSiteheader$1 = class extends HTMLElement {
|
|
|
4030
4027
|
this.spaMode = false;
|
|
4031
4028
|
this.gotData = false;
|
|
4032
4029
|
this.fetchingData = false;
|
|
4033
|
-
this.homePageLink = "";
|
|
4030
|
+
this.homePageLink = "/";
|
|
4034
4031
|
// Menu state
|
|
4035
4032
|
this.menuItems = [];
|
|
4036
4033
|
// Search
|
|
@@ -4554,7 +4551,7 @@ let PnPexPricefinder$1 = class extends HTMLElement {
|
|
|
4554
4551
|
static get style() { return pnPexPricefinderCss; }
|
|
4555
4552
|
};
|
|
4556
4553
|
|
|
4557
|
-
const pnProductCardCss = "pn-product-card{margin-bottom:1em;border:0.1rem solid #D3CECB;outline:none;background
|
|
4554
|
+
const pnProductCardCss = "pn-product-card{margin-bottom:1em;border:0.1rem solid #D3CECB;outline:none;background:#FFFFFF;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);display:-ms-flexbox;display:flex;padding:1.5em;word-break:break-word;text-decoration:none;border-radius:0.8rem}pn-product-card [slot=title]{display:-ms-flexbox;display:flex;width:100%;margin-bottom:0.5em}pn-product-card [slot=title]>[slot=Biligast]{color:#005E41;background:#DCF6E7;border-radius:0.37em;width:6.3em;height:2em;margin-left:1.5em;font-weight:normal;font-size:0.75em;text-align:center;vertical-align:bottom;padding-top:0.25em}pn-product-card [slot=title]>[slot=Biligast] pn-icon{vertical-align:middle;margin-left:0.6em}pn-product-card [slot=title]>[slot=Snabbast]{background:#E0F8FF;color:#005D92;border-radius:0.37em;width:7em;height:2em;margin-left:1.5em;font-weight:normal;font-size:0.75em;text-align:center;vertical-align:bottom;padding-top:0.25em}pn-product-card [slot=title]>[slot=Snabbast] pn-icon{vertical-align:middle;margin-left:0.6em}pn-product-card [slot=note]{margin-top:1em;margin-bottom:1em}pn-product-card [slot=additionalUSP]{display:-ms-flexbox;display:flex}pn-product-card [slot=additionalUSP] :first-child{margin-left:0em}pn-product-card [slot=additionalUSP] span{margin-left:1em;background:#D3CECB;color:#2D2013;border-radius:0.25em;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:0.3em;margin-top:0.5em;font-size:0.75em}pn-product-card>pn-illustration{min-width:8rem;width:8rem;height:8rem;margin-right:3rem;-ms-flex-item-align:center;align-self:center}pn-product-card .cardcontent{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}pn-product-card .cardprice{display:-ms-flexbox;display:flex;font-size:1em;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}pn-product-card .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:100%}pn-product-card .info{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;max-width:66.6666666667%;-ms-flex-flow:wrap;flex-flow:wrap}pn-product-card .info>*{min-width:6em;margin:0.2em 1em 0.2em 0}";
|
|
4558
4555
|
|
|
4559
4556
|
let PnProductCard$1 = class extends HTMLElement {
|
|
4560
4557
|
constructor() {
|
|
@@ -4562,12 +4559,12 @@ let PnProductCard$1 = class extends HTMLElement {
|
|
|
4562
4559
|
this.__registerHost();
|
|
4563
4560
|
}
|
|
4564
4561
|
render() {
|
|
4565
|
-
return (h(Host, null, h("slot", { name: "illustration" }), h("div", { class: "cardcontent" }, h("div", { class: "details" }, h("slot", { name: "content" }), h("div", { class: "info" }, h("slot", null)), h("slot", { name: "note" }), h("slot", { name: "additionalUSP" })), h("div", { class: "cardprice" }, h("div", null, h("slot", { name: "price" }), h("slot", { name: "sendDirectPrice" }), h("slot", { name: "stampPrice" }))))));
|
|
4562
|
+
return (h(Host, null, h("slot", { name: "illustration" }), h("div", { class: "cardcontent" }, h("div", { class: "details" }, h("slot", { name: "title" }), h("slot", { name: "content" }), h("div", { class: "info" }, h("slot", null)), h("slot", { name: "note" }), h("slot", { name: "additionalUSP" })), h("div", { class: "cardprice" }, h("div", null, h("slot", { name: "price" }), h("slot", { name: "sendDirectPrice" }), h("slot", { name: "stampPrice" }))))));
|
|
4566
4563
|
}
|
|
4567
4564
|
static get style() { return pnProductCardCss; }
|
|
4568
4565
|
};
|
|
4569
4566
|
|
|
4570
|
-
const pnProductCardInfoCss = "pn-product-card-info{-ms-flex-item-align:center;align-self:center}.cardinfocontent{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;font-size:0.875em}.cardinfocontent>div{margin:
|
|
4567
|
+
const pnProductCardInfoCss = "pn-product-card-info{-ms-flex-item-align:center;align-self:center}.cardinfocontent{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;font-size:0.875em}.cardinfocontent>div{margin:0.625em}[slot=formatPre]{font-family:\"PostNordSans\", \"Verdana\";font-size:1em}[slot=formatPre]>strong{font-weight:bold}.cardinfoprice{display:-ms-flexbox;display:flex;font-size:1em;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}";
|
|
4571
4568
|
|
|
4572
4569
|
let PnProductCardInfo$1 = class extends HTMLElement {
|
|
4573
4570
|
constructor() {
|
|
@@ -4581,7 +4578,7 @@ let PnProductCardInfo$1 = class extends HTMLElement {
|
|
|
4581
4578
|
};
|
|
4582
4579
|
h("pn-icon", { symbol: "align-center", small: "false", color: "black" });
|
|
4583
4580
|
|
|
4584
|
-
const pnProductCardPriceCss = "pn-product-card-price{margin-top:1em;white-space:nowrap;text-align:center}pn-product-card-price span{font-size:1.25em}pn-product-card-price span:last-child{display:inline-block;margin-left:0.2em}pn-product-card-price+pn-product-card-price{margin-
|
|
4581
|
+
const pnProductCardPriceCss = "pn-product-card-price{margin-top:1em;white-space:nowrap;text-align:center}pn-product-card-price span{font-size:1.25em}pn-product-card-price span:last-child{display:inline-block;margin-left:0.2em}pn-product-card-price+pn-product-card-price{margin-right:0}pn-product-card-price pn-icon{display:inline-block;-ms-flex-item-align:center;align-self:center}pn-product-card-price pn-button{width:12.8em;margin-bottom:1em;margin-top:0.5em}pn-product-card-price p{font-weight:lighter;font-size:0.6em;-ms-flex-item-align:center;align-self:center;margin-top:0.5em}pn-product-card-price a{text-decoration:none;color:#005D92}pn-product-card-price a h3{text-decoration:underline}";
|
|
4585
4582
|
|
|
4586
4583
|
let PnProductCardPrice$1 = class extends HTMLElement {
|
|
4587
4584
|
constructor() {
|
|
@@ -4592,7 +4589,7 @@ let PnProductCardPrice$1 = class extends HTMLElement {
|
|
|
4592
4589
|
if (!this.amount) {
|
|
4593
4590
|
return;
|
|
4594
4591
|
}
|
|
4595
|
-
return (this.url) ? (h(Host, null, h("h3", null, (this.amount) ? (h("span", null, this.amount)) : null, (this.currency) ? (h("span", null, this.currency)) : null, (this.note) ? (h("p", null, this.note)) : null), (this.label) ? (h("a", { href: this.url }, h("pn-button", { small: "true", icon: "arrow-right", appearance: "secondary" }, this.label))) : null)) : (h(Host, null, h("h3", null, (this.amount) ? (h("span", null, this.amount)) : null, (this.currency) ? (h("span", null, this.currency)) : null)));
|
|
4592
|
+
return (this.url) ? (h(Host, null, h("h3", null, (this.amount) ? (h("span", null, this.amount)) : null, (this.currency) ? (h("span", null, this.currency)) : null, (this.note) ? (h("p", null, this.note)) : null), (this.label) ? (h("a", { href: this.url, target: "_blank", id: this.service.split(" ").join("-").toLocaleLowerCase() }, h("pn-button", { small: "true", icon: "arrow-right", appearance: "secondary" }, this.label))) : null)) : (h(Host, null, h("h3", null, (this.amount) ? (h("span", null, this.amount)) : null, (this.currency) ? (h("span", null, this.currency)) : null)));
|
|
4596
4593
|
}
|
|
4597
4594
|
static get style() { return pnProductCardPriceCss; }
|
|
4598
4595
|
};
|
|
@@ -5267,7 +5264,7 @@ const PnChoiceButton = /*@__PURE__*/proxyCustomElement(PnChoiceButton$1, [4,"pn-
|
|
|
5267
5264
|
const PnFilterCheckbox = /*@__PURE__*/proxyCustomElement(PnFilterCheckbox$1, [1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]);
|
|
5268
5265
|
const PnFilterSearch = /*@__PURE__*/proxyCustomElement(PnFilterSearch$1, [1,"pn-filter-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4]},[[0,"input","inputHandler"]]]);
|
|
5269
5266
|
const PnFindPrice = /*@__PURE__*/proxyCustomElement(PnfindPrice, [0,"pn-find-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"weight":[32],"weightvalue":[32],"sourceData":[32],"sizecategory":[32]}]);
|
|
5270
|
-
const PnFindPriceResult = /*@__PURE__*/proxyCustomElement(PnfindPriceResult, [0,"pn-find-price-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]);
|
|
5267
|
+
const PnFindPriceResult = /*@__PURE__*/proxyCustomElement(PnfindPriceResult, [0,"pn-find-price-result",{"item":[1040],"shownitems":[16],"Usp1":[1,"usp-1"],"Usp2":[1,"usp-2"],"Usp3":[1,"usp-3"],"description":[16],"weightText":[32]}]);
|
|
5271
5268
|
const PnFindServiceAndPrice = /*@__PURE__*/proxyCustomElement(PnfindServiceAndPrice, [0,"pn-find-service-and-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"postagetype":[32],"weight":[32],"weightvalue":[32],"deliveryscope":[32],"sourceData":[32]}]);
|
|
5272
5269
|
const PnFindServiceAndPriceResult = /*@__PURE__*/proxyCustomElement(PnfindServiceAndPriceResult, [0,"pn-find-service-and-price-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]);
|
|
5273
5270
|
const PnLanguageSelector = /*@__PURE__*/proxyCustomElement(PnlanguageSelector, [4,"pn-language-selector",{"value":[1537],"selectedLanguageName":[32],"options":[32],"i18n":[32]}]);
|
|
@@ -5283,7 +5280,7 @@ const PnMarketwebSiteheaderSearch = /*@__PURE__*/proxyCustomElement(PnMarketwebS
|
|
|
5283
5280
|
const PnPexPricefinder = /*@__PURE__*/proxyCustomElement(PnPexPricefinder$1, [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"]]]);
|
|
5284
5281
|
const PnProductCard = /*@__PURE__*/proxyCustomElement(PnProductCard$1, [4,"pn-product-card"]);
|
|
5285
5282
|
const PnProductCardInfo = /*@__PURE__*/proxyCustomElement(PnProductCardInfo$1, [0,"pn-product-card-info",{"rulle":[1],"paket":[1],"label":[1],"text":[1]}]);
|
|
5286
|
-
const PnProductCardPrice = /*@__PURE__*/proxyCustomElement(PnProductCardPrice$1, [0,"pn-product-card-price",{"label":[1],"amount":[1],"currency":[1],"note":[1],"url":[1]}]);
|
|
5283
|
+
const PnProductCardPrice = /*@__PURE__*/proxyCustomElement(PnProductCardPrice$1, [0,"pn-product-card-price",{"label":[1],"amount":[1],"currency":[1],"note":[1],"url":[1],"service":[1]}]);
|
|
5287
5284
|
const PnProductPricelist = /*@__PURE__*/proxyCustomElement(PnFindProductPricelist, [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]}]);
|
|
5288
5285
|
const PnProductPricelistResult = /*@__PURE__*/proxyCustomElement(PnFindProductPricelistResult, [0,"pn-product-pricelist-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]);
|
|
5289
5286
|
const PnProductTile = /*@__PURE__*/proxyCustomElement(PnProductTile$1, [4,"pn-product-tile"]);
|
|
@@ -7,6 +7,7 @@ class MarketWebContextService {
|
|
|
7
7
|
this.url = null;
|
|
8
8
|
this.allowedLanguages = ["sv", "da", "fi", "no", "en"];
|
|
9
9
|
this.allowedMarkets = ["se", "dk", "fi", "no", "com", "tpl"];
|
|
10
|
+
this.wwwMarkets = ["se", "dk", "fi", "no", "com"];
|
|
10
11
|
this.developmentDomains = ["localhost", ".local", "local.", ".dev", "dev."];
|
|
11
12
|
this.markets = {
|
|
12
13
|
"se": {
|
|
@@ -65,7 +66,14 @@ class MarketWebContextService {
|
|
|
65
66
|
if (this.environments[environmentName]) {
|
|
66
67
|
url = this.environments[environmentName].url;
|
|
67
68
|
if (environmentName === this.environments.production.name) {
|
|
68
|
-
|
|
69
|
+
if (this.wwwMarkets.indexOf(marketName) !== -1) {
|
|
70
|
+
// Handles www.postnord.xx domains
|
|
71
|
+
url = url.replace(".xx", "." + marketName);
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
url = url.replace(".xx", ".com"); // Expect URL to end in postnord.com
|
|
75
|
+
url = url.replace("www.", marketName + ".");
|
|
76
|
+
}
|
|
69
77
|
}
|
|
70
78
|
}
|
|
71
79
|
return url;
|
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],"environment":[1537],"token":[1],"endpoint":[1],"hideSiteSelector":[1540,"hide-site-selector"],"hideLanguageSelector":[1540,"hide-language-selector"],"hideSearch":[1540,"hide-search"],"hideLogin":[1540,"hide-login"],"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-marketweb-sitefooter",[[0,"pn-marketweb-sitefooter",{"market":[1537],"language":[1537],"environment":[1537],"endpoint":[1],"cache":[4],"siteDefinition":[32],"footerContent":[32],"i18n":[32],"gotData":[32],"fetchingData":[32]}]]],["pn-bonus-progressbar",[[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]}]]],["pn-filter-checkbox",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-filter-search",[[1,"pn-filter-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4]},[[0,"input","inputHandler"]]]]],["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-profile-selector",[[4,"pn-profile-selector",{"language":[1537],"returnUrl":[1,"return-url"],"i18n":[32],"isLoading":[32],"numberOfProfiles":[32]}]]],["pn-profile-selector-option",[[0,"pn-profile-selector-option",{"name":[1],"identifier":[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-find-price-result",[[0,"pn-find-price-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]]],["pn-find-service-and-price-result",[[0,"pn-find-service-and-price-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]]],["pn-product-pricelist-result",[[0,"pn-product-pricelist-result",{"item":[1040],"shownitems":[16],"weightText":[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-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-product-card_3",[[4,"pn-product-card"],[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]}]]],["pn-language-selector_9",[[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-login",{"endpoint":[1],"token":[1],"i18n":[8,"i-1-8n"],"emitEvents":[4,"emit-events"],"loginDialog":[1040],"loginManager":[32],"loggedIn":[32],"toggleButtonText":[32],"username":[32]}],[0,"pn-marketweb-siteheader-search",{"i18n":[8,"i-1-8n"],"showOnlyLink":[1028,"show-only-link"],"hideSearch":[1028,"hide-search"],"search":[1040]}],[4,"pn-site-selector",{"buttontext":[1537],"heading":[1537],"language":[1537],"i18n":[32]}],[0,"pn-site-selector-item",{"url":[1],"heading":[1],"description":[1],"newwindow":[4]}]]],["pn-product-tile_3",[[4,"pn-product-tile"],[0,"pn-product-tile-info",{"label":[1],"text":[1],"icon":[1]}],[0,"pn-product-tile-price",{"label":[1],"amount":[1],"currency":[1],"url":[1]}]]]], options);
|
|
13
|
+
return bootstrapLazy([["pn-marketweb-siteheader",[[4,"pn-marketweb-siteheader",{"market":[1537],"language":[1537],"environment":[1537],"token":[1],"endpoint":[1],"hideSiteSelector":[1540,"hide-site-selector"],"hideLanguageSelector":[1540,"hide-language-selector"],"hideSearch":[1540,"hide-search"],"hideLogin":[1540,"hide-login"],"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-marketweb-sitefooter",[[0,"pn-marketweb-sitefooter",{"market":[1537],"language":[1537],"environment":[1537],"endpoint":[1],"cache":[4],"siteDefinition":[32],"footerContent":[32],"i18n":[32],"gotData":[32],"fetchingData":[32]}]]],["pn-bonus-progressbar",[[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]}]]],["pn-filter-checkbox",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-filter-search",[[1,"pn-filter-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4]},[[0,"input","inputHandler"]]]]],["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-profile-selector",[[4,"pn-profile-selector",{"language":[1537],"returnUrl":[1,"return-url"],"i18n":[32],"isLoading":[32],"numberOfProfiles":[32]}]]],["pn-profile-selector-option",[[0,"pn-profile-selector-option",{"name":[1],"identifier":[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-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],"weightText":[32]}]]],["pn-find-service-and-price-result",[[0,"pn-find-service-and-price-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]]],["pn-product-pricelist-result",[[0,"pn-product-pricelist-result",{"item":[1040],"shownitems":[16],"weightText":[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-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-product-card_3",[[4,"pn-product-card"],[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]}]]],["pn-language-selector_9",[[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-login",{"endpoint":[1],"token":[1],"i18n":[8,"i-1-8n"],"emitEvents":[4,"emit-events"],"loginDialog":[1040],"loginManager":[32],"loggedIn":[32],"toggleButtonText":[32],"username":[32]}],[0,"pn-marketweb-siteheader-search",{"i18n":[8,"i-1-8n"],"showOnlyLink":[1028,"show-only-link"],"hideSearch":[1028,"hide-search"],"search":[1040]}],[4,"pn-site-selector",{"buttontext":[1537],"heading":[1537],"language":[1537],"i18n":[32]}],[0,"pn-site-selector-item",{"url":[1],"heading":[1],"description":[1],"newwindow":[4]}]]],["pn-product-tile_3",[[4,"pn-product-tile"],[0,"pn-product-tile-info",{"label":[1],"text":[1],"icon":[1]}],[0,"pn-product-tile-price",{"label":[1],"amount":[1],"currency":[1],"url":[1]}]]]], options);
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
16
|
|