@postnord/pn-marketweb-components 2.7.0 → 2.8.1
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-f6a2cff4.js → FetchHelper-e2a3b779.js} +24 -24
- package/cjs/{data-5de56280.js → data-86e43c6a.js} +3 -3
- package/cjs/pn-address-autofill.cjs.entry.js +1 -1
- package/cjs/pn-find-price-result.cjs.entry.js +1 -1
- package/cjs/pn-find-price.cjs.entry.js +1 -1
- package/cjs/pn-find-service-and-price.cjs.entry.js +1 -1
- package/cjs/pn-language-selector_9.cjs.entry.js +31 -1
- package/cjs/pn-marketweb-sitefooter.cjs.entry.js +1 -1
- package/cjs/pn-marketweb-siteheader.cjs.entry.js +37 -1
- package/cjs/pn-product-pricelist.cjs.entry.js +1 -1
- package/cjs/pn-proxio-findprice.cjs.entry.js +1 -1
- package/cjs/pn-proxio-pricegroup.cjs.entry.js +1 -1
- package/collection/components/cards/pn-quote-card/pn-quote-card.stories.js +2 -2
- package/collection/components/cards/pn-teaser-card/pn-teaser-card.stories.js +2 -2
- package/collection/components/cta/pn-parcel-tracker/pn-parcel-tracker.stories.js +3 -3
- package/collection/components/data-visualization/pn-stats-info/pn-stats-info.stories.js +6 -6
- package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.stories.js +5 -5
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.css +1 -1
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js +10 -10
- package/collection/components/layout-components/pn-marketweb-siteheader/translations.js +36 -0
- package/collection/components/navigation/pn-language-selector/translations.js +9 -0
- package/collection/components/navigation/pn-mainnav/pn-main-nav-mockdata.js +574 -574
- package/collection/components/navigation/pn-mainnav/translations.js +21 -0
- package/collection/components/widgets/pn-find-price/data.js +4 -4
- package/collection/components/widgets/pn-find-service-and-price/find-service-and-price.stories.js +1 -1
- package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.js +2 -2
- package/collection/components/widgets/pn-product-pricelist/data.js +1 -1
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.js +2 -2
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.stories.js +1 -1
- package/collection/components/widgets/pn-proxio-findprice/data.js +3 -3
- package/collection/globals/MarketWebContextService.js +24 -24
- package/components/FetchHelper.js +24 -24
- package/components/pn-find-price-result2.js +3 -3
- package/components/pn-find-service-and-price.js +1 -1
- package/components/pn-language-selector2.js +9 -0
- package/components/pn-mainnav2.js +21 -0
- package/components/pn-marketweb-siteheader-search2.js +1 -1
- package/components/pn-marketweb-siteheader.js +36 -0
- package/components/pn-product-pricelist.js +1 -1
- package/esm/{FetchHelper-eb0357e9.js → FetchHelper-90e30133.js} +24 -24
- package/esm/{data-82a26ab4.js → data-b2909ec8.js} +3 -3
- package/esm/pn-address-autofill.entry.js +1 -1
- package/esm/pn-find-price-result.entry.js +1 -1
- package/esm/pn-find-price.entry.js +1 -1
- package/esm/pn-find-service-and-price.entry.js +1 -1
- package/esm/pn-language-selector_9.entry.js +31 -1
- package/esm/pn-marketweb-sitefooter.entry.js +1 -1
- package/esm/pn-marketweb-siteheader.entry.js +37 -1
- package/esm/pn-product-pricelist.entry.js +1 -1
- package/esm/pn-proxio-findprice.entry.js +1 -1
- package/esm/pn-proxio-pricegroup.entry.js +1 -1
- package/esm-es5/FetchHelper-90e30133.js +1 -0
- package/esm-es5/{data-82a26ab4.js → data-b2909ec8.js} +1 -1
- package/esm-es5/pn-address-autofill.entry.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-find-service-and-price.entry.js +1 -1
- package/esm-es5/pn-language-selector_9.entry.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-pricelist.entry.js +1 -1
- package/esm-es5/pn-proxio-findprice.entry.js +1 -1
- package/esm-es5/pn-proxio-pricegroup.entry.js +1 -1
- package/package.json +1 -1
- package/pn-market-web-components/{p-72ed65c3.js → p-0fe7d566.js} +1 -1
- package/pn-market-web-components/{p-a84cf081.entry.js → p-2974d1e2.entry.js} +1 -1
- package/pn-market-web-components/{p-4dd222be.system.entry.js → p-2c448c7e.system.entry.js} +1 -1
- package/pn-market-web-components/p-469524f3.entry.js +1 -0
- package/pn-market-web-components/p-4b710959.entry.js +1 -0
- package/pn-market-web-components/{p-25e531e2.entry.js → p-4bf57a22.entry.js} +1 -1
- package/pn-market-web-components/{p-fd1d6d1f.system.entry.js → p-517602ef.system.entry.js} +1 -1
- package/pn-market-web-components/p-53e8427d.entry.js +1 -0
- package/pn-market-web-components/{p-9fbb1a52.system.entry.js → p-54ffd368.system.entry.js} +1 -1
- package/pn-market-web-components/p-602484e1.system.js +1 -0
- package/pn-market-web-components/p-66f50e2c.system.entry.js +1 -0
- package/pn-market-web-components/p-67f5cd23.entry.js +1 -0
- package/pn-market-web-components/{p-42630ad8.system.entry.js → p-7587b935.system.entry.js} +1 -1
- package/pn-market-web-components/{p-5d2ef297.system.entry.js → p-75e56082.system.entry.js} +1 -1
- package/pn-market-web-components/{p-04f5fdcd.system.entry.js → p-936eab9c.system.entry.js} +1 -1
- package/pn-market-web-components/{p-d04e241e.system.js → p-9ad4e291.system.js} +1 -1
- package/pn-market-web-components/{p-b75c4de5.entry.js → p-9c477df8.entry.js} +1 -1
- package/pn-market-web-components/{p-2c1a9293.entry.js → p-9f856003.entry.js} +1 -1
- package/pn-market-web-components/p-a28fce54.system.js +1 -1
- package/pn-market-web-components/p-d2f8cd78.system.entry.js +1 -0
- package/pn-market-web-components/p-dbfeae15.js +1 -0
- package/pn-market-web-components/{p-d5c43a05.system.entry.js → p-e505ebd8.system.entry.js} +1 -1
- package/pn-market-web-components/{p-1fdcbca3.system.entry.js → p-e9d7d7af.system.entry.js} +1 -1
- package/pn-market-web-components/{p-4f237552.entry.js → p-f91cee83.entry.js} +1 -1
- package/pn-market-web-components/{p-e261ccbf.entry.js → p-fedeefd9.entry.js} +1 -1
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/types/components/layout-components/pn-marketweb-siteheader/translations.d.ts +36 -0
- package/types/components/navigation/pn-language-selector/translations.d.ts +9 -0
- package/types/components/navigation/pn-mainnav/translations.d.ts +21 -0
- package/umd/pn-marketweb-init.js +1 -1
- package/umd/pn-marketweb-salesforce.js +2 -2
- package/esm-es5/FetchHelper-eb0357e9.js +0 -1
- package/pn-market-web-components/p-214cd6a4.entry.js +0 -1
- package/pn-market-web-components/p-3b4c1957.system.entry.js +0 -1
- package/pn-market-web-components/p-517692db.entry.js +0 -1
- package/pn-market-web-components/p-5685ac83.entry.js +0 -1
- package/pn-market-web-components/p-6a71dc95.entry.js +0 -1
- package/pn-market-web-components/p-7f52f032.system.js +0 -1
- package/pn-market-web-components/p-aa2c8f12.js +0 -1
- package/pn-market-web-components/p-f8ad020c.system.entry.js +0 -1
|
@@ -14,55 +14,55 @@ class MarketWebContextService {
|
|
|
14
14
|
this.markets = {
|
|
15
15
|
se: {
|
|
16
16
|
fallbackLanguage: "sv",
|
|
17
|
-
integration: "se-
|
|
18
|
-
preproduction: "se-
|
|
19
|
-
production: "se-
|
|
17
|
+
integration: "se-inte.postnord.com",
|
|
18
|
+
preproduction: "se-prep.postnord.com",
|
|
19
|
+
production: "se-prod.postnord.com",
|
|
20
20
|
live: "www.postnord.se",
|
|
21
21
|
},
|
|
22
22
|
dk: {
|
|
23
23
|
fallbackLanguage: "da",
|
|
24
|
-
integration: "dk-
|
|
25
|
-
preproduction: "dk-
|
|
26
|
-
production: "dk-
|
|
24
|
+
integration: "dk-inte.postnord.com",
|
|
25
|
+
preproduction: "dk-prep.postnord.com",
|
|
26
|
+
production: "dk-prod.postnord.com",
|
|
27
27
|
live: "www.postnord.dk",
|
|
28
28
|
},
|
|
29
29
|
fi: {
|
|
30
30
|
fallbackLanguage: "fi",
|
|
31
|
-
integration: "fi-
|
|
32
|
-
preproduction: "fi-
|
|
33
|
-
production: "fi-
|
|
31
|
+
integration: "fi-inte.postnord.com",
|
|
32
|
+
preproduction: "fi-prep.postnord.com",
|
|
33
|
+
production: "fi-prod.postnord.com",
|
|
34
34
|
live: "www.postnord.fi",
|
|
35
35
|
},
|
|
36
36
|
no: {
|
|
37
37
|
fallbackLanguage: "no",
|
|
38
|
-
integration: "no-
|
|
39
|
-
preproduction: "no-
|
|
40
|
-
production: "no-
|
|
38
|
+
integration: "no-inte.postnord.com",
|
|
39
|
+
preproduction: "no-prep.postnord.com",
|
|
40
|
+
production: "no-prod.postnord.com",
|
|
41
41
|
live: "www.postnord.no",
|
|
42
42
|
},
|
|
43
43
|
com: {
|
|
44
44
|
fallbackLanguage: "en",
|
|
45
|
-
integration: "com-
|
|
46
|
-
preproduction: "com-
|
|
47
|
-
production: "com-
|
|
45
|
+
integration: "com-inte.postnord.com",
|
|
46
|
+
preproduction: "com-prep.postnord.com",
|
|
47
|
+
production: "com-prod.postnord.com",
|
|
48
48
|
live: "www.postnord.com",
|
|
49
49
|
},
|
|
50
50
|
de: {
|
|
51
51
|
fallbackLanguage: "en",
|
|
52
|
-
integration: "de-
|
|
53
|
-
preproduction: "de-
|
|
54
|
-
production: "de-
|
|
52
|
+
integration: "de-inte.postnord.com",
|
|
53
|
+
preproduction: "de-prep.postnord.com",
|
|
54
|
+
production: "de-prod.postnord.com",
|
|
55
55
|
live: "www.postnord.de",
|
|
56
56
|
},
|
|
57
57
|
tpl: {
|
|
58
58
|
fallbackLanguage: "sv",
|
|
59
|
-
integration: "tpl-
|
|
60
|
-
preproduction: "tpl-
|
|
61
|
-
production: "tpl-
|
|
59
|
+
integration: "tpl-inte.postnord.com",
|
|
60
|
+
preproduction: "tpl-prep.postnord.com",
|
|
61
|
+
production: "tpl-prod.postnord.com",
|
|
62
62
|
live: "tpl.postnord.com",
|
|
63
63
|
},
|
|
64
64
|
};
|
|
65
|
-
this.environmentTypes = ["integration", "preproduction", "production"];
|
|
65
|
+
this.environmentTypes = ["integration", "preproduction", "production", "inte", "prep", "prod"];
|
|
66
66
|
this.environments = {
|
|
67
67
|
production: {
|
|
68
68
|
name: "production",
|
|
@@ -70,11 +70,11 @@ class MarketWebContextService {
|
|
|
70
70
|
},
|
|
71
71
|
preproduction: {
|
|
72
72
|
name: "preproduction",
|
|
73
|
-
url: "https://com-
|
|
73
|
+
url: "https://com-prep.postnord.com/",
|
|
74
74
|
},
|
|
75
75
|
integration: {
|
|
76
76
|
name: "integration",
|
|
77
|
-
url: "https://com-
|
|
77
|
+
url: "https://com-inte.postnord.com/",
|
|
78
78
|
},
|
|
79
79
|
};
|
|
80
80
|
this.href = href;
|
|
@@ -36,12 +36,12 @@ const weights = {
|
|
|
36
36
|
const RealValues = {
|
|
37
37
|
WebUrl: "https://riktigavykort.postnord.se/sv",
|
|
38
38
|
AndroidAppUrl: "https://play.google.com/store/apps/details?id=se.posten.riktigavykort&hl=sv",
|
|
39
|
-
AndroidImg: "https://com-
|
|
39
|
+
AndroidImg: "https://com-inte.postnord.com/globalassets/icons/logos-and-badges/google-play-badge_se.svg",
|
|
40
40
|
IosAppUrl: "https://apps.apple.com/se/app/riktiga-vykort/id444458799?l=sv",
|
|
41
|
-
IosImg: "https://com-
|
|
41
|
+
IosImg: "https://com-inte.postnord.com/globalassets/icons/logos-and-badges/app_store_badge_se_rgb_blk.svg",
|
|
42
42
|
};
|
|
43
43
|
|
|
44
|
-
const fileLocation = "https://com-
|
|
44
|
+
const fileLocation = "https://com-inte.postnord.com/globalassets/global/prices/sv-findprice-1-PN.xlsx";
|
|
45
45
|
|
|
46
46
|
const sendDirectUrl = "https://portal.postnord.com/skickadirekt/";
|
|
47
47
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d6f2e2f9.js');
|
|
6
|
-
const FetchHelper = require('./FetchHelper-
|
|
6
|
+
const FetchHelper = require('./FetchHelper-e2a3b779.js');
|
|
7
7
|
const index$1 = require('./index-e4882728.js');
|
|
8
8
|
|
|
9
9
|
const pnAddressAutofillCss = "pn-address-autofill pn-marketweb-input{width:50%}pn-address-autofill .input-container-row{display:-ms-flexbox;display:flex;gap:1rem;margin-bottom:1rem}pn-address-autofill .label-container{color:#5E554A;font-size:0.875em;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:end;align-items:flex-end}pn-address-autofill .autocomplete-items{position:absolute;border-radius:0.8rem;border:0.1rem solid #5E554A;width:100%;max-height:30rem;overflow-y:auto}pn-address-autofill .autocomplete-items:hover,pn-address-autofill .autocomplete-items :focus{border:0.1rem solid #00A0D6}pn-address-autofill .autocomplete-items div{padding:1.6rem;cursor:pointer;background-color:#fff;border:0.1rem solid transparent}pn-address-autofill .autocomplete-items div:first-child{border-radius:0.8rem 0.8rem 0 0}pn-address-autofill .autocomplete-items div:last-child{border-radius:0 0 0.8rem 0.8rem}pn-address-autofill .autocomplete-items div:hover{background-color:#e0f8ff}pn-address-autofill .autocomplete-items .autocomplete-active{background-color:#e0f8ff}";
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d6f2e2f9.js');
|
|
6
6
|
const pnFindPriceStore = require('./pn-find-price-store-1f005e0d.js');
|
|
7
|
-
const data = require('./data-
|
|
7
|
+
const data = require('./data-86e43c6a.js');
|
|
8
8
|
require('./index-7ebb05d7.js');
|
|
9
9
|
|
|
10
10
|
const pnFindPriceResultCss = "pn-find-price-result .test{margin:3em 0}.resultcontent{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d6f2e2f9.js');
|
|
6
|
-
const data = require('./data-
|
|
6
|
+
const data = require('./data-86e43c6a.js');
|
|
7
7
|
const convert = require('./convert-b219d02d.js');
|
|
8
8
|
const pnFindPriceStore = require('./pn-find-price-store-1f005e0d.js');
|
|
9
9
|
require('./_commonjsHelpers-206db00d.js');
|
|
@@ -135,7 +135,7 @@ const pnFindServiceAndPriceCss = "pn-find-service-and-price .findprice-form{max-
|
|
|
135
135
|
const PnfindServiceAndPrice = class {
|
|
136
136
|
constructor(hostRef) {
|
|
137
137
|
index.registerInstance(this, hostRef);
|
|
138
|
-
this.source = "https://com-
|
|
138
|
+
this.source = "https://com-inte.postnord.com/globalassets/global/prices/sv-se-findprice.xlsx";
|
|
139
139
|
this.language = "sv";
|
|
140
140
|
this.market = "se";
|
|
141
141
|
this.filteredItems = [];
|
|
@@ -41,6 +41,15 @@ const translations$1 = {
|
|
|
41
41
|
it: {
|
|
42
42
|
heading: 'Idioma',
|
|
43
43
|
},
|
|
44
|
+
tr: {
|
|
45
|
+
heading: 'Dil',
|
|
46
|
+
},
|
|
47
|
+
pl: {
|
|
48
|
+
heading: 'Język',
|
|
49
|
+
},
|
|
50
|
+
pt: {
|
|
51
|
+
heading: 'Linguagem',
|
|
52
|
+
},
|
|
44
53
|
};
|
|
45
54
|
|
|
46
55
|
const pnLanguageSelectorCss = "pn-language-selector{max-height:5.2rem}pn-language-selector pn-nav-dropdown:not([data-open]) .nav-dropdown-content-container,pn-language-selector pn-nav-dropdown[data-open=false] .nav-dropdown-content-container{display:none}pn-language-selector pn-nav-dropdown{display:block}.languageselector{position:relative}.languageselector-togglebtn{cursor:pointer;border:0;padding:0.64rem 0;background-color:#FFFFFF;color:#005D92;font-size:1.6rem}.languageselector-togglebtn:hover,.languageselector-togglebtn:focus,.languageselector-togglebtn:active{color:#0D234B;text-decoration:underline}.languageselector-togglebtn svg{width:1.9rem;height:1.9rem}.languageselector-title{padding:0.8rem 1.6rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.languageselector-list{margin:0;padding:0;list-style:none}";
|
|
@@ -216,6 +225,27 @@ const translations = {
|
|
|
216
225
|
menuStartButton: 'Start',
|
|
217
226
|
navLabel: 'Main navigation',
|
|
218
227
|
},
|
|
228
|
+
tr: {
|
|
229
|
+
menuHomeButton: 'Anasayfa',
|
|
230
|
+
menuGoBackButton: 'Go back',
|
|
231
|
+
mainMenuButton: 'Menu',
|
|
232
|
+
menuStartButton: 'Start',
|
|
233
|
+
navLabel: 'Main navigation',
|
|
234
|
+
},
|
|
235
|
+
pt: {
|
|
236
|
+
menuHomeButton: 'Página inicial',
|
|
237
|
+
menuGoBackButton: 'Go back',
|
|
238
|
+
mainMenuButton: 'Menu',
|
|
239
|
+
menuStartButton: 'Start',
|
|
240
|
+
navLabel: 'Main navigation',
|
|
241
|
+
},
|
|
242
|
+
pl: {
|
|
243
|
+
menuHomeButton: 'Główna',
|
|
244
|
+
menuGoBackButton: 'Go back',
|
|
245
|
+
mainMenuButton: 'Menu',
|
|
246
|
+
menuStartButton: 'Start',
|
|
247
|
+
navLabel: 'Main navigation',
|
|
248
|
+
}
|
|
219
249
|
};
|
|
220
250
|
|
|
221
251
|
const pnMainnavCss = "pn-mainnav{display:-ms-flexbox;display:flex;-ms-flex-flow:row-reverse;flex-flow:row-reverse;position:relative;width:100%;min-height:5.1rem}@media screen and (min-width: 48em){pn-mainnav{-ms-flex-flow:row;flex-flow:row}}@media screen and (min-width: 64em){pn-mainnav{-ms-flex-flow:column;flex-flow:column}}@media screen and (min-width: 64em){pn-mainnav [slot=footer]{display:none}}pn-mainnav>nav{height:auto;width:100vw;background-color:#FFFFFF;z-index:2;-webkit-transform:translateX(100vw);transform:translateX(100vw);-webkit-transition:-webkit-transform 0.2s 0s;transition:-webkit-transform 0.2s 0s;transition:transform 0.2s 0s;transition:transform 0.2s 0s, -webkit-transform 0.2s 0s;-webkit-transition-property:visibility, -webkit-transform;transition-property:visibility, -webkit-transform;transition-property:transform, visibility;transition-property:transform, visibility, -webkit-transform;display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;visibility:hidden;position:fixed;top:3em;bottom:0;left:0}@media screen and (min-width: 48em){pn-mainnav>nav{top:6.5em}}pn-mainnav>nav[data-menu-open=true]{visibility:visible;-webkit-transform:translateX(0);transform:translateX(0)}@media screen and (min-width: 64em){pn-mainnav>nav{-ms-flex-flow:row-reverse;flex-flow:row-reverse;top:0;position:static;height:auto;width:100%;-ms-flex-pack:justify;justify-content:space-between;visibility:visible;-webkit-transform:translateX(0);transform:translateX(0)}}pn-mainnav>nav a{text-decoration:none}pn-mainnav>nav button{cursor:pointer}.mainnav-toggle{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:center;align-self:center}@media screen and (min-width: 64em){.mainnav-toggle{display:none}}.mainnav-toggle>button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:#005D92;color:#FFFFFF;border-radius:2.4rem;border:none;padding:0.6rem 1.6rem;cursor:pointer;font-size:1.6rem}.mainnav-toggle>button:focus{outline:0}.mainnav-toggle>button pn-icon{margin-left:0.8rem;display:block}.mainnav-toggle>button svg{display:block;margin:-0.2rem -0.5rem -0.2rem 0;height:1.9rem;width:1.9rem}";
|
|
@@ -912,7 +942,7 @@ const { state, onChange } = index$1.createStore({
|
|
|
912
942
|
requestAbortController: new AbortController()
|
|
913
943
|
});
|
|
914
944
|
|
|
915
|
-
const pnMarketwebSiteheaderSearchCss = ".siteheader-search a{display:none}@media screen and (min-width: 48em){.siteheader-search a{display:block}}.siteheader-search pn-search-field>.input-container button{background:#FFFFFF}.siteheader-search pn-search-field.button-icon pn-button,.siteheader-search pn-button{display:-ms-inline-flexbox;display:inline-flex}.siteheader-search pn-search-field.button-icon pn-button button,.siteheader-search pn-button button{-ms-flex-item-align:center;align-self:center;padding:0;height:2.3em;width:2.3em;line-height:0;min-height:unset;min-width:unset}.siteheader-search pn-search-field.button-icon pn-button pn-icon,.siteheader-search pn-button pn-icon{margin-left:0}.siteheader-search pn-search-field.button-icon pn-button .button-tooltip,.siteheader-search pn-button .button-tooltip{line-height:initial}.siteheader-search form{-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:stretch;align-items:stretch;width:auto;-ms-flex:none;flex:none;display:-ms-flexbox;display:flex;padding:0;margin:0 0 0 0.4rem;position:relative;-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 60em){.siteheader-search form{margin-right:1.6rem}}.siteheader-search form pn-search-field{min-width:13.5em}.siteheader-search form pn-search-field .input-container{-ms-flex-item-align:center;align-self:center}.siteheader-search form pn-search-field input{height:auto;min-height:1em;padding:0.6em 0.75em}";
|
|
945
|
+
const pnMarketwebSiteheaderSearchCss = ".siteheader-search a{display:none}@media screen and (min-width: 48em){.siteheader-search a{display:block}}.siteheader-search pn-search-field>.input-container button{background:#FFFFFF}.siteheader-search pn-search-field.button-icon pn-button,.siteheader-search pn-button{display:-ms-inline-flexbox;display:inline-flex}.siteheader-search pn-search-field.button-icon pn-button button,.siteheader-search pn-button button{-ms-flex-item-align:center;align-self:center;padding:0;height:2.3em;width:2.3em;line-height:0;min-height:unset;min-width:unset}.siteheader-search pn-search-field.button-icon pn-button pn-icon,.siteheader-search pn-button pn-icon{margin-left:0}.siteheader-search pn-search-field.button-icon pn-button .button-tooltip,.siteheader-search pn-button .button-tooltip{line-height:initial !important}.siteheader-search form{-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:stretch;align-items:stretch;width:auto;-ms-flex:none;flex:none;display:-ms-flexbox;display:flex;padding:0;margin:0 0 0 0.4rem;position:relative;-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 60em){.siteheader-search form{margin-right:1.6rem}}.siteheader-search form pn-search-field{min-width:13.5em}.siteheader-search form pn-search-field .input-container{-ms-flex-item-align:center;align-self:center}.siteheader-search form pn-search-field input{height:auto;min-height:1em;padding:0.6em 0.75em}";
|
|
916
946
|
|
|
917
947
|
const PnMarketwebSiteheaderSearch = class {
|
|
918
948
|
constructor(hostRef) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d6f2e2f9.js');
|
|
6
|
-
const FetchHelper = require('./FetchHelper-
|
|
6
|
+
const FetchHelper = require('./FetchHelper-e2a3b779.js');
|
|
7
7
|
|
|
8
8
|
const getSocialMediaIconsByType = (linkType = '', fill = '#005D92') => {
|
|
9
9
|
switch (linkType) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d6f2e2f9.js');
|
|
6
|
-
const FetchHelper = require('./FetchHelper-
|
|
6
|
+
const FetchHelper = require('./FetchHelper-e2a3b779.js');
|
|
7
7
|
const pnMarketwebSiteheaderStore = require('./pn-marketweb-siteheader-store-a939014c.js');
|
|
8
8
|
require('./index-7ebb05d7.js');
|
|
9
9
|
|
|
@@ -136,6 +136,42 @@ const translations = {
|
|
|
136
136
|
profileSelectionFlyoutHeading: 'Logged in as',
|
|
137
137
|
unifiedLoginButton: 'Log in',
|
|
138
138
|
unifiedMyPagesButton: 'My pages',
|
|
139
|
+
},
|
|
140
|
+
tr: {
|
|
141
|
+
searchlabel: 'Search',
|
|
142
|
+
searchplaceholder: 'Search',
|
|
143
|
+
searchbuttontext: 'Search',
|
|
144
|
+
menuHomeButton: 'Anasayfa',
|
|
145
|
+
menuGoBackButton: 'Go back',
|
|
146
|
+
mainMenuButton: 'Menu',
|
|
147
|
+
menuStartButton: 'Start',
|
|
148
|
+
profileSelectionFlyoutHeading: 'Logged in as',
|
|
149
|
+
unifiedLoginButton: 'Log in',
|
|
150
|
+
unifiedMyPagesButton: 'My pages',
|
|
151
|
+
},
|
|
152
|
+
pt: {
|
|
153
|
+
searchlabel: 'Search',
|
|
154
|
+
searchplaceholder: 'Search',
|
|
155
|
+
searchbuttontext: 'Search',
|
|
156
|
+
menuHomeButton: 'Página inicial',
|
|
157
|
+
menuGoBackButton: 'Go back',
|
|
158
|
+
mainMenuButton: 'Menu',
|
|
159
|
+
menuStartButton: 'Start',
|
|
160
|
+
profileSelectionFlyoutHeading: 'Logged in as',
|
|
161
|
+
unifiedLoginButton: 'Log in',
|
|
162
|
+
unifiedMyPagesButton: 'My pages',
|
|
163
|
+
},
|
|
164
|
+
pl: {
|
|
165
|
+
searchlabel: 'Search',
|
|
166
|
+
searchplaceholder: 'Search',
|
|
167
|
+
searchbuttontext: 'Search',
|
|
168
|
+
menuHomeButton: 'Główna',
|
|
169
|
+
menuGoBackButton: 'Go back',
|
|
170
|
+
mainMenuButton: 'Menu',
|
|
171
|
+
menuStartButton: 'Start',
|
|
172
|
+
profileSelectionFlyoutHeading: 'Logged in as',
|
|
173
|
+
unifiedLoginButton: 'Log in',
|
|
174
|
+
unifiedMyPagesButton: 'My pages',
|
|
139
175
|
}
|
|
140
176
|
};
|
|
141
177
|
|
|
@@ -87,7 +87,7 @@ const pnProductPricelistCss = "pn-product-pricelist pn-spinner{margin:1em auto}p
|
|
|
87
87
|
const PnFindProductPricelist = class {
|
|
88
88
|
constructor(hostRef) {
|
|
89
89
|
index.registerInstance(this, hostRef);
|
|
90
|
-
this.source = "https://com-
|
|
90
|
+
this.source = "https://com-inte.postnord.com/globalassets/global/prices/sv-findprice-1-PN.xlsx";
|
|
91
91
|
this.language = "sv";
|
|
92
92
|
this.market = "se";
|
|
93
93
|
this.productid = "";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index$1 = require('./index-d6f2e2f9.js');
|
|
6
|
-
const FetchHelper = require('./FetchHelper-
|
|
6
|
+
const FetchHelper = require('./FetchHelper-e2a3b779.js');
|
|
7
7
|
const index = require('./index-7ebb05d7.js');
|
|
8
8
|
|
|
9
9
|
const translations = {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-d6f2e2f9.js');
|
|
6
|
-
const FetchHelper = require('./FetchHelper-
|
|
6
|
+
const FetchHelper = require('./FetchHelper-e2a3b779.js');
|
|
7
7
|
const translations = require('./translations-aef1609e.js');
|
|
8
8
|
|
|
9
9
|
const pnProxioPricegroupCss = "pn-proxio-pricegroup div.proxio-pricegroup-container{max-width:99.4rem}pn-proxio-pricegroup div.weightcontainer{margin:2.8rem 0}pn-proxio-pricegroup div.weightvaluecontainer{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-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.weightvaluecontainer pn-button{-webkit-transform:translateY(-0.4rem);transform:translateY(-0.4rem)}pn-proxio-pricegroup div.weightvaluecontainer pn-button button::before{display: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:0 3.6rem;position:relative;width:0%}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end50]{width:45%;margin-left:auto;margin-right:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end50]{width:40%}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end75]{width:65%;margin-left:auto;margin-right:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end75]{margin-right:auto}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start50]{width:45%;margin-right:auto;margin-left:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start50]{width:40%}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start75]{width:65%;margin-right:auto;margin-left:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start75]{margin-left:auto}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=default]{-ms-flex:0 0 auto;flex:0 0 auto;width:80%}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=default]{width:65%}}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;-ms-flex-pack:justify;justify-content:space-between;gap:1.2rem;min-width:4rem;cursor:pointer}pn-proxio-pricegroup div.weightdata label{font-size:1.4rem;cursor:pointer}pn-proxio-pricegroup div.weightdata[data-carousel-position=\"0\"]{font-size:2rem;font-weight:700}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightdata[data-carousel-position=\"2\"],pn-proxio-pricegroup div.weightdata[data-carousel-position=\"-2\"]{display:none}}pn-proxio-pricegroup div.weightdata[data-carousel-position=outside]{display:none}pn-proxio-pricegroup div.weightdata input[type=radio]{-webkit-appearance:none;-moz-appearance:none;width:1.2rem;height:1.2rem;background-color:#005D92;border-radius:50%;margin:0;cursor:pointer}pn-proxio-pricegroup div.weightdata input[type=radio]:checked{z-index:1;-webkit-transform:translateY(-0.1rem);transform:translateY(-0.1rem);height:1.4rem;width:1.4rem;-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 div.weightline{width:100%;background-color:#F3F2F2;z-index:-1;height:0.8rem;-webkit-transform:translateX(2.1rem) translateY(1.32rem);transform:translateX(2.1rem) translateY(1rem);border-radius:2rem;margin-right:3.5rem}pn-proxio-pricegroup pn-button[disabled=disabled]{opacity:0.2}pn-proxio-pricegroup pn-button[disabled=disabled] button{cursor:default}pn-proxio-pricegroup pn-button[disabled=disabled] button.pn-button-light .pn-button-bg:after{background-color:#FFFFFF}pn-proxio-pricegroup pn-button[disabled=disabled] button[data-tooltip-open]:before{display:none}pn-proxio-pricegroup pn-button button div.button-tooltip{display:none}pn-proxio-pricegroup pn-button button:focus .pn-button-bg{-webkit-box-shadow:none;box-shadow:none}";
|
|
@@ -56,7 +56,7 @@ QuotePage.args = {
|
|
|
56
56
|
quote:
|
|
57
57
|
"Suddenly, we can be one step ahead and help customers track their package. They feel safer and this saves us a lot of time internally. Not least on customer service.",
|
|
58
58
|
photoUrl:
|
|
59
|
-
"https://com-
|
|
59
|
+
"https://com-inte.postnord.com/globalassets/images/hero-article-photos/smiling-customer-service-worker-with-headset.jpg?width=240&height=240&mode=crop&quality=80",
|
|
60
60
|
name: "Jenny Jennysson",
|
|
61
61
|
occupation: "Owner at Headsets for All And some longer text here",
|
|
62
62
|
};
|
|
@@ -92,7 +92,7 @@ StartPage.args = {
|
|
|
92
92
|
quote:
|
|
93
93
|
"Suddenly, we can be one step ahead and help customers track their package. They feel safer and this saves us a lot of time internally. Not least on customer service.",
|
|
94
94
|
photoUrl:
|
|
95
|
-
"https://com-
|
|
95
|
+
"https://com-inte.postnord.com/globalassets/images/hero-article-photos/smiling-customer-service-worker-with-headset.jpg?width=240&height=240&mode=crop&quality=80",
|
|
96
96
|
name: "Jenny Jennysson",
|
|
97
97
|
occupation: "Owner at Headsets for All",
|
|
98
98
|
};
|
|
@@ -61,7 +61,7 @@ const TemplateOneHalf = ({ cards, ...args }) => {
|
|
|
61
61
|
<pn-teaser-card heading="${cards[0].heading}" text="${cards[0].text}" data-card-color="green" class="teaser-card--hover-effect">
|
|
62
62
|
<div slot="illustration">
|
|
63
63
|
<picture>
|
|
64
|
-
<img src="https://com-
|
|
64
|
+
<img src="https://com-inte.postnord.com/contentassets/311478cdf1f44382a4a60592ec59980f/554a9f93-bba3-4ddb-a7f4-938cff502e5d.jpg?width=690&height=388&mode=crop&quality=80&anchor=topcenter" />
|
|
65
65
|
</picture>
|
|
66
66
|
</div>
|
|
67
67
|
<a slot="cta"
|
|
@@ -77,7 +77,7 @@ const TemplateOneHalf = ({ cards, ...args }) => {
|
|
|
77
77
|
<pn-teaser-card heading="${cards[1].heading}" text="${cards[1].text}" data-card-color="coral" class="teaser-card--hover-effect">
|
|
78
78
|
<div slot="illustration">
|
|
79
79
|
<picture>
|
|
80
|
-
<img src="https://com-
|
|
80
|
+
<img src="https://com-inte.postnord.com/contentassets/311478cdf1f44382a4a60592ec59980f/554a9f93-bba3-4ddb-a7f4-938cff502e5d.jpg?width=690&height=388&mode=crop&quality=80&anchor=topcenter" />
|
|
81
81
|
</picture>
|
|
82
82
|
</div>
|
|
83
83
|
<a slot="cta"
|
|
@@ -48,21 +48,21 @@ Primary.args = {
|
|
|
48
48
|
data: [
|
|
49
49
|
{
|
|
50
50
|
heading: "Spåra din försändelse",
|
|
51
|
-
actionUrl: "https://se-
|
|
51
|
+
actionUrl: "https://se-inte.postnord.com/vara-verktyg/spara-brev-paket-och-pall",
|
|
52
52
|
buttonLabel: "Spåra",
|
|
53
53
|
locale: "sv",
|
|
54
54
|
placeholder: "Försändelse-ID",
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
heading: "Track your parcel",
|
|
58
|
-
actionUrl: "https://com-
|
|
58
|
+
actionUrl: "https://com-inte.postnord.com/vara-verktyg/spara-brev-paket-och-pall",
|
|
59
59
|
buttonLabel: "Track",
|
|
60
60
|
locale: "en",
|
|
61
61
|
placeholder: "Enter shipment ID",
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
heading: "Spor din pakke",
|
|
65
|
-
actionUrl: "https://no-
|
|
65
|
+
actionUrl: "https://no-inte.postnord.com/pakkesporing",
|
|
66
66
|
buttonLabel: "Spor",
|
|
67
67
|
locale: "no",
|
|
68
68
|
placeholder: "Sendningsnummer",
|
|
@@ -59,7 +59,7 @@ const StandAloneCenterImageTemplate = ({ ...args }) => {
|
|
|
59
59
|
<pn-stats-info heading="${args.heading}" background-url="" data-stats-image="image" data-stats-background-color="coral25">
|
|
60
60
|
<div slot="illustration">
|
|
61
61
|
<picture>
|
|
62
|
-
<img src="https://com-
|
|
62
|
+
<img src="https://com-inte.postnord.com/contentassets/8008a14914564b5c999d2cea4e151bdd/man-driving.jpg?width=690&height=388&mode=crop&quality=80&anchor=topcenter" />
|
|
63
63
|
</picture>
|
|
64
64
|
</div>
|
|
65
65
|
</pn-stats-info>
|
|
@@ -71,7 +71,7 @@ const StandAloneCenterImageTemplate = ({ ...args }) => {
|
|
|
71
71
|
<pn-stats-info heading="${args.heading}" background-url="" data-stats-image="image" data-stats-background-color="blue400">
|
|
72
72
|
<div slot="illustration">
|
|
73
73
|
<picture>
|
|
74
|
-
<img src="https://com-
|
|
74
|
+
<img src="https://com-inte.postnord.com/contentassets/f302a64bf3b5496aaf6f49d8d47e834e/bcdda39b3033ad8b_org.jpg?width=540&height=304&mode=crop&quality=80&anchor=topcenter" />
|
|
75
75
|
</picture>
|
|
76
76
|
</div>
|
|
77
77
|
</pn-stats-info>
|
|
@@ -89,12 +89,12 @@ const StandAloneBackgroundImageTemplate = ({ ...args }) => {
|
|
|
89
89
|
<br/>
|
|
90
90
|
|
|
91
91
|
<div class="fullwidth statsblock" style="width:100%; max-width:1140px; margin:0 auto">
|
|
92
|
-
<pn-stats-info heading="${args.heading}" data-stats-image="background" background-url="https://com-
|
|
92
|
+
<pn-stats-info heading="${args.heading}" data-stats-image="background" background-url="https://com-inte.postnord.com/globalassets/illustrations/product-hero-illustrations--transparent-background/illu-computer-option.svg" data-stats-background-color="greenlightest">
|
|
93
93
|
</pn-stats-info>
|
|
94
94
|
</div>
|
|
95
95
|
<br/>
|
|
96
96
|
<div class="fullwidth statsblock" style="width:100%; max-width:1140px; margin:0 auto">
|
|
97
|
-
<pn-stats-info heading="${args.heading}" data-stats-image="background" background-url="https://com-
|
|
97
|
+
<pn-stats-info heading="${args.heading}" data-stats-image="background" background-url="https://com-inte.postnord.com/contentassets/87e64ce0b9ce4acfafa0c26a1b11bd85/9b5aa1ae4698932c_org.png" data-stats-background-color="greendarkest">
|
|
98
98
|
</pn-stats-info>
|
|
99
99
|
</div>
|
|
100
100
|
`;
|
|
@@ -103,7 +103,7 @@ const StandAloneBackgroundImageTemplate = ({ ...args }) => {
|
|
|
103
103
|
export const Combo = ForComboBlockTemplate.bind({});
|
|
104
104
|
Combo.args = {
|
|
105
105
|
heading: "Postnord in figures 2022",
|
|
106
|
-
backgroundUrl: "https://com-
|
|
106
|
+
backgroundUrl: "https://com-inte.postnord.com/siteassets/map.png?width=1410&height=793&mode=crop&quality=80",
|
|
107
107
|
};
|
|
108
108
|
|
|
109
109
|
export const StandaloneNoImage = StandaloneTemplateNoImage.bind({});
|
|
@@ -119,5 +119,5 @@ StandAloneCenterImage.args = {
|
|
|
119
119
|
export const StandAloneBackGroundImage = StandAloneBackgroundImageTemplate.bind({});
|
|
120
120
|
StandAloneBackGroundImage.args = {
|
|
121
121
|
heading: "Standalone BG Image 2023",
|
|
122
|
-
backgroundUrl: "https://com-
|
|
122
|
+
backgroundUrl: "https://com-inte.postnord.com/siteassets/map.png?width=1410&height=793&mode=crop&quality=80",
|
|
123
123
|
};
|
|
@@ -30,9 +30,9 @@ export default {
|
|
|
30
30
|
values: [
|
|
31
31
|
{ name: "Localhost", value: "https://localhost:51547" },
|
|
32
32
|
{ name: "local.postnord.com", value: "https://local.postnord.com" },
|
|
33
|
-
{ name: "Integration", value: "https://com-
|
|
34
|
-
{ name: "Preproduction", value: "https://com-
|
|
35
|
-
{ name: "Production", value: "https://com-
|
|
33
|
+
{ name: "Integration", value: "https://com-inte.postnord.com" },
|
|
34
|
+
{ name: "Preproduction", value: "https://com-prep.postnord.com" },
|
|
35
|
+
{ name: "Production", value: "https://com-prod.postnord.com" },
|
|
36
36
|
{ name: "Live", value: "https://www.postnord.com" },
|
|
37
37
|
],
|
|
38
38
|
},
|
|
@@ -128,7 +128,7 @@ export const DotCom = TemplateDotCom.bind({});
|
|
|
128
128
|
DotCom.args = {
|
|
129
129
|
market: "com",
|
|
130
130
|
language: "en",
|
|
131
|
-
endpoint: "https://com-
|
|
131
|
+
endpoint: "https://com-inte.postnord.com",
|
|
132
132
|
};
|
|
133
133
|
|
|
134
134
|
const TemplateGrayDotCom = ({ ...args }) => {
|
|
@@ -223,5 +223,5 @@ export const TPL = TemplateTPL.bind({});
|
|
|
223
223
|
TPL.args = {
|
|
224
224
|
market: "tpl",
|
|
225
225
|
language: "sv",
|
|
226
|
-
endpoint: "https://tpl-
|
|
226
|
+
endpoint: "https://tpl-inte.postnord.com",
|
|
227
227
|
};
|
|
@@ -35,9 +35,9 @@ export default {
|
|
|
35
35
|
values: [
|
|
36
36
|
{ name: "Localhost", value: "https://localhost:51547" },
|
|
37
37
|
{ name: "local.postnord.com", value: "https://local.postnord.com" },
|
|
38
|
-
{ name: "Integration", value: "https://com-
|
|
39
|
-
{ name: "Preproduction", value: "https://com-
|
|
40
|
-
{ name: "Production", value: "https://com-
|
|
38
|
+
{ name: "Integration", value: "https://com-inte.postnord.com" },
|
|
39
|
+
{ name: "Preproduction", value: "https://com-prep.postnord.com" },
|
|
40
|
+
{ name: "Production", value: "https://com-prod.postnord.com" },
|
|
41
41
|
{ name: "Live", value: "https://www.postnord.com" },
|
|
42
42
|
],
|
|
43
43
|
},
|
|
@@ -394,7 +394,7 @@ export const LoggedIn = LoggedInTemplate.bind({});
|
|
|
394
394
|
LoggedIn.args = {
|
|
395
395
|
market: "se",
|
|
396
396
|
language: "sv",
|
|
397
|
-
endpoint: "https://com-
|
|
397
|
+
endpoint: "https://com-inte.postnord.com",
|
|
398
398
|
//endpoint: 'https://localhost:51547',
|
|
399
399
|
token: usertoken,
|
|
400
400
|
};
|
|
@@ -403,7 +403,7 @@ export const LoggedInWithStatusCheck = LoggedInTemplate.bind({});
|
|
|
403
403
|
LoggedInWithStatusCheck.args = {
|
|
404
404
|
market: "se",
|
|
405
405
|
language: "sv",
|
|
406
|
-
endpoint: "https://com-
|
|
406
|
+
endpoint: "https://com-inte.postnord.com",
|
|
407
407
|
checkUserLoggedInStateInterval: 10000,
|
|
408
408
|
//endpoint: 'https://localhost:51547',
|
|
409
409
|
token: usertoken,
|
|
@@ -429,7 +429,7 @@ export const LoggedInProfileSelection = LoggedInProfileSelectionTemplate.bind({}
|
|
|
429
429
|
LoggedInProfileSelection.args = {
|
|
430
430
|
market: "se",
|
|
431
431
|
language: "sv",
|
|
432
|
-
// endpoint: 'https://com-
|
|
432
|
+
// endpoint: 'https://com-inte.postnord.com',
|
|
433
433
|
endpoint: "https://localhost:51547/",
|
|
434
434
|
token: usertoken,
|
|
435
435
|
};
|
|
@@ -453,7 +453,7 @@ export const BusinessUserLoggedIn = BusinessUserLoggedInTemplate.bind({});
|
|
|
453
453
|
BusinessUserLoggedIn.args = {
|
|
454
454
|
market: "com",
|
|
455
455
|
language: "zh",
|
|
456
|
-
endpoint: "https://com-
|
|
456
|
+
endpoint: "https://com-inte.postnord.com",
|
|
457
457
|
name: "custom user name",
|
|
458
458
|
loggedin: true,
|
|
459
459
|
};
|
|
@@ -480,7 +480,7 @@ export const DotComSiteHeader = DotComSiteHeaderTemplate.bind({});
|
|
|
480
480
|
DotComSiteHeader.args = {
|
|
481
481
|
market: "com",
|
|
482
482
|
language: "it",
|
|
483
|
-
endpoint: "https://com-
|
|
483
|
+
endpoint: "https://com-inte.postnord.com",
|
|
484
484
|
name: "DotCom User",
|
|
485
485
|
loggedin: true,
|
|
486
486
|
loginInfo: encodeURIComponent('Hello i am a <a href="#">link!</a>'),
|
|
@@ -512,7 +512,7 @@ export const TPLSiteHeader = TPLSiteHeaderTemplate.bind({});
|
|
|
512
512
|
TPLSiteHeader.args = {
|
|
513
513
|
market: "se",
|
|
514
514
|
language: "sv",
|
|
515
|
-
endpoint: "https://tpl-
|
|
515
|
+
endpoint: "https://tpl-inte.postnord.com",
|
|
516
516
|
name: "TPL User",
|
|
517
517
|
hideLogin: true,
|
|
518
518
|
hideHomeMenuItem: true,
|
|
@@ -529,7 +529,7 @@ const ATLoginTestTemplate = ({ ...args }) => {
|
|
|
529
529
|
</script>
|
|
530
530
|
<header>
|
|
531
531
|
<pn-marketweb-siteheader
|
|
532
|
-
endpoint="https://com-
|
|
532
|
+
endpoint="https://com-inte.postnord.com"
|
|
533
533
|
hide-search=""
|
|
534
534
|
spa-mode="true"
|
|
535
535
|
market="se"
|
|
@@ -127,5 +127,41 @@ export const translations = {
|
|
|
127
127
|
profileSelectionFlyoutHeading: 'Logged in as',
|
|
128
128
|
unifiedLoginButton: 'Log in',
|
|
129
129
|
unifiedMyPagesButton: 'My pages',
|
|
130
|
+
},
|
|
131
|
+
tr: {
|
|
132
|
+
searchlabel: 'Search',
|
|
133
|
+
searchplaceholder: 'Search',
|
|
134
|
+
searchbuttontext: 'Search',
|
|
135
|
+
menuHomeButton: 'Anasayfa',
|
|
136
|
+
menuGoBackButton: 'Go back',
|
|
137
|
+
mainMenuButton: 'Menu',
|
|
138
|
+
menuStartButton: 'Start',
|
|
139
|
+
profileSelectionFlyoutHeading: 'Logged in as',
|
|
140
|
+
unifiedLoginButton: 'Log in',
|
|
141
|
+
unifiedMyPagesButton: 'My pages',
|
|
142
|
+
},
|
|
143
|
+
pt: {
|
|
144
|
+
searchlabel: 'Search',
|
|
145
|
+
searchplaceholder: 'Search',
|
|
146
|
+
searchbuttontext: 'Search',
|
|
147
|
+
menuHomeButton: 'Página inicial',
|
|
148
|
+
menuGoBackButton: 'Go back',
|
|
149
|
+
mainMenuButton: 'Menu',
|
|
150
|
+
menuStartButton: 'Start',
|
|
151
|
+
profileSelectionFlyoutHeading: 'Logged in as',
|
|
152
|
+
unifiedLoginButton: 'Log in',
|
|
153
|
+
unifiedMyPagesButton: 'My pages',
|
|
154
|
+
},
|
|
155
|
+
pl: {
|
|
156
|
+
searchlabel: 'Search',
|
|
157
|
+
searchplaceholder: 'Search',
|
|
158
|
+
searchbuttontext: 'Search',
|
|
159
|
+
menuHomeButton: 'Główna',
|
|
160
|
+
menuGoBackButton: 'Go back',
|
|
161
|
+
mainMenuButton: 'Menu',
|
|
162
|
+
menuStartButton: 'Start',
|
|
163
|
+
profileSelectionFlyoutHeading: 'Logged in as',
|
|
164
|
+
unifiedLoginButton: 'Log in',
|
|
165
|
+
unifiedMyPagesButton: 'My pages',
|
|
130
166
|
}
|
|
131
167
|
};
|