@postnord/pn-marketweb-components 2.0.3-beta6 → 2.0.6-beta1
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/{pn-find-price-store-345037e9.js → data-b9e6d752.js} +1 -27
- package/cjs/data-e77c1ada.js +41 -0
- package/cjs/loader.cjs.js +1 -1
- package/cjs/pn-find-price-result.cjs.entry.js +6 -3
- package/cjs/{pn-product-pricelist-store-86310b5a.js → pn-find-price-store-63671327.js} +10 -3
- package/cjs/pn-find-price.cjs.entry.js +26 -13
- package/cjs/pn-find-service-and-price-result.cjs.entry.js +14 -13
- package/cjs/pn-language-selector_9.cjs.entry.js +1 -1
- package/cjs/pn-market-web-components.cjs.js +1 -1
- package/cjs/pn-product-card_3.cjs.entry.js +1 -1
- package/cjs/pn-product-pricelist-result.cjs.entry.js +58 -17
- package/cjs/pn-product-pricelist.cjs.entry.js +46 -61
- package/cjs/{pn-product-tile_3.cjs.entry.js → pn-product-tile-info_2.cjs.entry.js} +0 -13
- package/cjs/pn-product-tile.cjs.entry.js +19 -0
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.css +3 -0
- package/collection/components/widgets/pn-find-price/data.js +2 -4
- package/collection/components/widgets/pn-find-price/find-price.stories.js +2 -2
- package/collection/components/widgets/pn-find-price/pn-find-price-result.js +13 -10
- package/collection/components/widgets/pn-find-price/pn-find-price-store.js +3 -1
- package/collection/components/widgets/pn-find-price/pn-find-price-translations.js +14 -3
- package/collection/components/widgets/pn-find-price/pn-find-price.css +1 -1
- package/collection/components/widgets/pn-find-price/pn-find-price.js +4 -3
- package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.js +14 -15
- package/collection/components/widgets/pn-product-card/pn-product-card-price.js +19 -2
- package/collection/components/widgets/pn-product-pricelist/data.js +8 -1
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.js +93 -24
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-translations.js +30 -14
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.css +4 -3
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.js +5 -5
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.stories.js +4 -4
- package/custom-elements/index.js +140 -79
- package/esm/data-108a2820.js +37 -0
- package/esm/{pn-find-price-store-cb8e4714.js → data-8e7bd46e.js} +2 -26
- package/esm/loader.js +1 -1
- package/esm/pn-find-price-result.entry.js +6 -3
- package/esm/{pn-product-pricelist-store-2c336043.js → pn-find-price-store-55b65ec0.js} +10 -3
- package/esm/pn-find-price.entry.js +20 -7
- package/esm/pn-find-service-and-price-result.entry.js +14 -13
- package/esm/pn-language-selector_9.entry.js +1 -1
- package/esm/pn-market-web-components.js +1 -1
- package/esm/pn-product-card_3.entry.js +1 -1
- package/esm/pn-product-pricelist-result.entry.js +56 -15
- package/esm/pn-product-pricelist.entry.js +36 -51
- package/esm/pn-product-tile-info_2.entry.js +31 -0
- package/esm/{pn-product-tile_3.entry.js → pn-product-tile.entry.js} +1 -29
- package/esm-es5/data-108a2820.js +1 -0
- package/esm-es5/data-8e7bd46e.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-store-55b65ec0.js +1 -0
- package/esm-es5/pn-find-price.entry.js +1 -1
- package/esm-es5/pn-find-service-and-price-result.entry.js +1 -1
- package/esm-es5/pn-language-selector_9.entry.js +1 -1
- package/esm-es5/pn-market-web-components.js +1 -1
- package/esm-es5/pn-product-card_3.entry.js +1 -1
- package/esm-es5/pn-product-pricelist-result.entry.js +1 -1
- package/esm-es5/pn-product-pricelist.entry.js +1 -1
- package/esm-es5/pn-product-tile-info_2.entry.js +1 -0
- package/esm-es5/{pn-product-tile_3.entry.js → pn-product-tile.entry.js} +1 -1
- package/package.json +1 -1
- package/pn-market-web-components/{p-d55dbea8.system.entry.js → p-01a615ef.system.entry.js} +1 -1
- package/pn-market-web-components/p-1ecf47ed.entry.js +1 -0
- package/pn-market-web-components/p-23902611.system.entry.js +1 -0
- package/pn-market-web-components/p-28db6d9f.entry.js +1 -0
- package/pn-market-web-components/p-290d5824.system.entry.js +1 -0
- package/pn-market-web-components/p-29b8041d.entry.js +1 -0
- package/pn-market-web-components/p-4d584dca.system.entry.js +1 -0
- package/pn-market-web-components/p-4e9a272d.js +1 -0
- package/pn-market-web-components/{p-d58e3078.entry.js → p-51fc5bc4.entry.js} +1 -1
- package/pn-market-web-components/p-606ab75d.system.entry.js +1 -0
- package/pn-market-web-components/p-61dbe832.entry.js +1 -0
- package/pn-market-web-components/p-67887512.system.js +1 -1
- package/pn-market-web-components/p-6f556e76.system.entry.js +1 -0
- package/pn-market-web-components/p-8117b79e.system.entry.js +1 -0
- package/pn-market-web-components/p-8e146205.entry.js +1 -0
- package/pn-market-web-components/p-9a8dba33.entry.js +1 -0
- package/pn-market-web-components/p-a7421a8e.system.js +1 -0
- package/pn-market-web-components/p-a921d3fd.system.entry.js +1 -0
- package/pn-market-web-components/p-bf7cc19d.system.js +1 -0
- package/pn-market-web-components/p-d0155ddf.entry.js +1 -0
- package/pn-market-web-components/p-d94d8879.js +1 -0
- package/pn-market-web-components/{p-3120f5c4.entry.js → p-dc869f2f.entry.js} +1 -1
- package/pn-market-web-components/{p-83baf538.system.entry.js → p-e89a9e79.system.entry.js} +1 -1
- package/pn-market-web-components/p-f6fa6caa.system.js +1 -0
- package/pn-market-web-components/p-f9586bef.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 -3
- package/types/components/widgets/pn-find-price/pn-find-price-store.d.ts +4 -0
- package/types/components/widgets/pn-find-price/pn-find-price-translations.d.ts +11 -0
- package/types/components/widgets/pn-find-price/pn-find-price-types.d.ts +4 -2
- package/types/components/widgets/pn-find-price/pn-find-price.d.ts +2 -2
- package/types/components/widgets/pn-product-card/pn-product-card-price.d.ts +1 -0
- package/types/components/widgets/pn-product-pricelist/pn-product-pricelist-result.d.ts +2 -0
- package/types/components/widgets/pn-product-pricelist/pn-product-pricelist-translations.d.ts +26 -10
- package/types/components/widgets/pn-product-pricelist/pn-product-pricelist-types.d.ts +2 -0
- package/types/components.d.ts +12 -6
- package/types/globals/shared/productprice/product-price-types.d.ts +5 -2
- package/umd/pn-marketweb-inject.js +0 -2
- package/esm-es5/pn-find-price-store-cb8e4714.js +0 -1
- package/esm-es5/pn-product-pricelist-store-2c336043.js +0 -1
- package/pn-market-web-components/p-045a349a.entry.js +0 -1
- package/pn-market-web-components/p-10b95894.entry.js +0 -1
- package/pn-market-web-components/p-20c72142.entry.js +0 -1
- package/pn-market-web-components/p-43dd4b37.system.js +0 -1
- package/pn-market-web-components/p-7b93d570.system.entry.js +0 -1
- package/pn-market-web-components/p-86b271f4.entry.js +0 -1
- package/pn-market-web-components/p-9e8c5793.system.entry.js +0 -1
- package/pn-market-web-components/p-a5bc1695.system.js +0 -1
- package/pn-market-web-components/p-adc8d9ab.js +0 -1
- package/pn-market-web-components/p-ae2bd55f.js +0 -1
- package/pn-market-web-components/p-aeb26d10.system.entry.js +0 -1
- package/pn-market-web-components/p-af800e0e.system.entry.js +0 -1
- package/pn-market-web-components/p-c90b8645.system.entry.js +0 -1
- package/pn-market-web-components/p-d46d9b6e.system.entry.js +0 -1
- package/pn-market-web-components/p-e056d2c6.entry.js +0 -1
- package/pn-market-web-components/p-f1c06bc8.entry.js +0 -1
package/custom-elements/index.js
CHANGED
|
@@ -247,12 +247,15 @@ const translations$9 = {
|
|
|
247
247
|
'da': {
|
|
248
248
|
'componentheading': 'Vad vill du skicka?',
|
|
249
249
|
'deliveryscopeheading': 'Kun leveringer indenfor Sverige',
|
|
250
|
-
'resultlistheading': '
|
|
250
|
+
'resultlistheading': 'Nogle passende muligheder for dig',
|
|
251
251
|
'weightlabel': 'Vægt',
|
|
252
252
|
'maxweightlabel': 'Max vægt',
|
|
253
253
|
'maxmeasurementlabel': 'Maks. Volumen',
|
|
254
|
-
'senddirectcta': '
|
|
255
|
-
'stampshopcta': '
|
|
254
|
+
'senddirectcta': 'Køb Online',
|
|
255
|
+
'stampshopcta': 'Køb Frimærker',
|
|
256
|
+
'message': 'When buying from any agent',
|
|
257
|
+
'servicePointHeader': 'Eller find nærmeste servicested',
|
|
258
|
+
'servicePointLink': 'Søg i brevkasse eller servicepunkt'
|
|
256
259
|
},
|
|
257
260
|
'no': {
|
|
258
261
|
'componentheading': 'Vad vill du skicka?',
|
|
@@ -278,15 +281,23 @@ const translations$9 = {
|
|
|
278
281
|
const markets$2 = {
|
|
279
282
|
'se': {
|
|
280
283
|
"currency": "kr",
|
|
284
|
+
"country": "Sweden",
|
|
285
|
+
"servicePoint": "https://www.postnord.se/vara-verktyg/sok-brevlada-eller-servicestalle",
|
|
281
286
|
},
|
|
282
287
|
'dk': {
|
|
283
288
|
"currency": "dk",
|
|
289
|
+
"country": "Denmark",
|
|
290
|
+
"servicePoint": "https://www.postnord.dk/varktojer/find-os",
|
|
284
291
|
},
|
|
285
292
|
'fi': {
|
|
286
293
|
"currency": " €",
|
|
294
|
+
"country": "Finland",
|
|
295
|
+
"servicePoint": "",
|
|
287
296
|
},
|
|
288
297
|
'no': {
|
|
289
298
|
"currency": "kr",
|
|
299
|
+
"country": "Norway",
|
|
300
|
+
"servicePoint": "",
|
|
290
301
|
}
|
|
291
302
|
};
|
|
292
303
|
|
|
@@ -324,13 +335,11 @@ const weights$2 = {
|
|
|
324
335
|
};
|
|
325
336
|
|
|
326
337
|
|
|
327
|
-
const fileLocation = "https://com-integration.postnord.com/globalassets/global/prices/
|
|
338
|
+
const fileLocation = "https://com-integration.postnord.com/globalassets/global/prices/dk-findprice.xlsx";
|
|
328
339
|
|
|
329
|
-
const
|
|
340
|
+
const sendDirectUrl$1 = "https://portal.postnord.com/skickadirekt/";
|
|
330
341
|
|
|
331
|
-
const
|
|
332
|
-
|
|
333
|
-
const stampShopUrl = "https://shop.postnord.se/ebutik/default.aspx";
|
|
342
|
+
const stampShopUrl$1 = "https://shop.postnord.se/ebutik/default.aspx";
|
|
334
343
|
|
|
335
344
|
const xml = {
|
|
336
345
|
createDocument: function createDocument(content) {
|
|
@@ -2368,7 +2377,9 @@ const { state: state$5, onChange: onChange$5 } = createStore({
|
|
|
2368
2377
|
servicePointLink: ''
|
|
2369
2378
|
},
|
|
2370
2379
|
market: {
|
|
2371
|
-
currency: ""
|
|
2380
|
+
currency: "",
|
|
2381
|
+
country: "",
|
|
2382
|
+
servicePoint: "",
|
|
2372
2383
|
}
|
|
2373
2384
|
});
|
|
2374
2385
|
|
|
@@ -2382,7 +2393,7 @@ const postnordPerson1Svg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTA0IiBoZW
|
|
|
2382
2393
|
|
|
2383
2394
|
const cloudsSvg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjc4IiBoZWlnaHQ9IjU1IiB2aWV3Qm94PSIwIDAgMjc4IDU1IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMjQ3LjM1NSA0OS42ODE1QzI0Ny42OTQgNTIuNDc5IDI0OS43MjIgNTQuNjI2MSAyNTIuMTgxIDU0LjYyNjFIMjcyLjkyNkMyNzUuNjIgNTQuNjI2MSAyNzcuNzk4IDUyLjA1MjIgMjc3Ljc5OCA0OC44Njg2VjQ4LjgwMDhDMjc3Ljc5OCA0NS42MTczIDI3NS42MiA0My4wNDMzIDI3Mi45MjYgNDMuMDQzM0gyNzAuNTM3QzI2OS42MDggMzkuMjQzOSAyNjYuODQ2IDM2LjQ3MyAyNjMuNTg1IDM2LjQ3M0gyNTkuNzE3QzI1OS4zNzMgMzEuODQxIDI1Ni4xMDEgMjguMjA5MiAyNTIuMTI0IDI4LjIwOTJDMjQ4LjE0NiAyOC4yMDkyIDI0NC44OCAzMS44NDEgMjQ0LjUzIDM2LjQ3M0gyNDIuMDk1QzIzOC4wODMgMzYuNDczIDIzNC44MTYgNDAuNjcyNiAyMzQuODE2IDQ1LjgyMDVWNDkuNjgxNUgyNDcuMzU1WiIgZmlsbD0iI0UwRjhGRiIvPgo8cGF0aCBkPSJNMTIuMDM5MSA0Ni4xMDIyQzEyLjMxNzYgNDguNTU2OSAxNC4wODY3IDUwLjQzNzMgMTYuMjQyMSA1MC40MzczSDM0LjU4MDdDMzYuOTMwNCA1MC40MzczIDM4LjgyMTYgNDguMjAyIDM4LjgyMTYgNDUuNDI0OFY0NS4zNTcxQzM4LjgyMTYgNDIuNTc5OSAzNi45MzA0IDQwLjM0NDYgMzQuNTgwNyA0MC4zNDQ2SDMyLjQ2ODRDMzEuNjY3OCAzNy4wMjA5IDI5LjIyNyAzNC41ODcyIDI2LjMyODMgMzQuNTg3MkgyMi45MTc5QzIyLjYwMDQgMzAuNTU5NyAxOS43MzI3IDI3LjQwNzEgMTYuMjQyMSAyNy40MDcxQzEyLjc1MTQgMjcuNDA3MSA5Ljg4MzcxIDMwLjU1OTcgOS41NjYyMiAzNC41ODcySDcuNDE2NThDMy44NjM0NiAzNC41ODcyIDAuOTk4MDQ3IDM4LjI0NDggMC45OTgwNDcgNDIuNzE1NFY0Ni4xMDIySDEyLjAzOTFaIiBmaWxsPSIjRTBGOEZGIi8+CjxwYXRoIGQ9Ik0xMzEuMDU2IDI2LjU4NjRDMTMxLjQ0OSAzMC4wNDIzIDEzMy45NDggMzIuNjg5NSAxMzYuOTkxIDMyLjY4OTVIMTYyLjg5MUMxNjYuMjA5IDMyLjY4OTUgMTY4Ljg4IDI5LjU0MjYgMTY4Ljg4IDI1LjYzMjhWMjUuNTM3NUMxNjguODggMjEuNjI3NyAxNjYuMjA5IDE4LjQ4MDggMTYyLjg5MSAxOC40ODA4SDE1OS45MDdDMTU4Ljc3NyAxMy44MDE1IDE1NS4zMyAxMC4zNzUzIDE1MS4yMzYgMTAuMzc1M0gxNDYuNDJDMTQ1Ljk3MSA0LjcwNTMzIDE0MS45MjEgMC4yNjcwOSAxMzYuOTkxIDAuMjY3MDlDMTMyLjA2MiAwLjI2NzA5IDEyOC4wMTIgNC43MDUzMyAxMjcuNTYzIDEwLjM3NTNIMTI0LjUyOEMxMTkuNTEgMTAuMzc1MyAxMTUuNDYzIDE1LjUyNDcgMTE1LjQ2MyAyMS44MTg0VjI2LjU4NjRIMTMxLjA1NloiIGZpbGw9IiNFMEY4RkYiLz4KPC9zdmc+Cg==';
|
|
2384
2395
|
|
|
2385
|
-
const pnFindPriceCss = "@charset \"UTF-8\";pn-find-price .sizeTable{border-style:none !important;border:0 !important;position:relative}pn-find-price .sizeTable>tr td{margin-bottom:1em;text-align:center;vertical-align:bottom;padding-right:1em;padding-top:1em}pn-find-price .sizeTable #clouds{position:absolute;top:0em;left:4em;z-index:-1}pn-find-price .firstCell{margin-right:0;margin-left:auto}pn-find-price .findprice-form{max-width:60em;margin:0 auto 3em auto}pn-find-price h2,pn-find-price .heading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:1rem}pn-find-price .resultHeading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:2em}pn-find-price .sizecategory{margin-top:5em;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:
|
|
2396
|
+
const pnFindPriceCss = "@charset \"UTF-8\";pn-find-price .sizeTable{border-style:none !important;border:0 !important;position:relative}pn-find-price .sizeTable>tr td{margin-bottom:1em;text-align:center;vertical-align:bottom;padding-right:1em;padding-top:1em}pn-find-price .sizeTable #clouds{position:absolute;top:0em;left:4em;z-index:-1}pn-find-price .firstCell{margin-right:0;margin-left:auto}pn-find-price .findprice-form{max-width:60em;margin:0 auto 3em auto}pn-find-price h2,pn-find-price .heading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:1rem}pn-find-price .resultHeading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:2em}pn-find-price .sizecategory{margin-top:5em;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:3.2rem 0}pn-find-price .servicePoint{text-align:center}pn-find-price .servicePoint pn-illustration{display:block;max-width:5em;max-height:5em;margin:1.5em auto 0 auto}pn-find-price .servicePoint h3{margin-top:0.8em;margin-bottom:0.9em}pn-find-price .servicePoint a{color:#005D92;text-decoration:none}pn-find-price .servicePoint a:hover{color:#0D234B;text-decoration:underline}";
|
|
2386
2397
|
|
|
2387
2398
|
let PnfindPrice = class extends HTMLElement {
|
|
2388
2399
|
constructor() {
|
|
@@ -2430,7 +2441,8 @@ let PnfindPrice = class extends HTMLElement {
|
|
|
2430
2441
|
console.log('Data has not yet been loaded');
|
|
2431
2442
|
return;
|
|
2432
2443
|
}
|
|
2433
|
-
|
|
2444
|
+
//to handle withing country search
|
|
2445
|
+
const deliveryScopeData = this.sourceData.data.filter((x) => x.deliveryscope.toLocaleLowerCase() === state$5.market.country.toLocaleLowerCase());
|
|
2434
2446
|
if (!this.sizecategory) {
|
|
2435
2447
|
return;
|
|
2436
2448
|
}
|
|
@@ -2468,7 +2480,7 @@ let PnfindPrice = class extends HTMLElement {
|
|
|
2468
2480
|
} })))))))), (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: () => {
|
|
2469
2481
|
this.weight = weights$2[this.sizecategory.unit].filter(x => x.value === wght.value)[0];
|
|
2470
2482
|
this.weightvalue = this.weight.value;
|
|
2471
|
-
} }, wght.name)))))) : null, (this.filteredItems && this.filteredItems.length > 0) ? (h("div", { class: "resultlist" }, (state$5.i18n.resultlistheading) ? (h("div", { class: "resultHeading" }, state$5.i18n.resultlistheading)) : null, this.filteredItems.map((item) => (h("div", null, h("pn-find-price-result", { item: item })))), h("div", { class: "servicePoint" }, h("pn-illustration", { illustration: "character-box-letters-house" }), h("h3", null, state$5.i18n.servicePointHeader), h("a", { href:
|
|
2483
|
+
} }, wght.name)))))) : null, (this.filteredItems && this.filteredItems.length > 0) ? (h("div", { class: "resultlist" }, (state$5.i18n.resultlistheading) ? (h("div", { class: "resultHeading" }, state$5.i18n.resultlistheading)) : null, this.filteredItems.map((item) => (h("div", null, h("pn-find-price-result", { item: item })))), h("div", { class: "servicePoint" }, h("pn-illustration", { illustration: "character-box-letters-house" }), h("h3", null, state$5.i18n.servicePointHeader), h("a", { href: state$5.market.servicePoint, target: "_blank" }, h("pn-icon", { symbol: "map-marker", color: "blue700" }), state$5.i18n.servicePointLink)))) : null));
|
|
2472
2484
|
}
|
|
2473
2485
|
static get watchers() { return {
|
|
2474
2486
|
"market": ["setState"],
|
|
@@ -2490,6 +2502,7 @@ let PnfindPriceResult = class extends HTMLElement {
|
|
|
2490
2502
|
this.description = [];
|
|
2491
2503
|
this.showMeasurement = false;
|
|
2492
2504
|
this.weightText = "";
|
|
2505
|
+
this.linkId = '';
|
|
2493
2506
|
}
|
|
2494
2507
|
componentWillLoad() {
|
|
2495
2508
|
this.composeItems();
|
|
@@ -2505,12 +2518,13 @@ let PnfindPriceResult = class extends HTMLElement {
|
|
|
2505
2518
|
this.description = this.item.description.split("#bullet").filter(x => x !== "");
|
|
2506
2519
|
}
|
|
2507
2520
|
this.showMeasurement = (this.item.maxmått !== null) || (this.item.rulle !== null);
|
|
2521
|
+
this.linkId = `${this.item.id}-${this.item.name.toLocaleLowerCase().replace(/[^a-zA-Z0-9]/g, '')}`;
|
|
2508
2522
|
}
|
|
2509
2523
|
render() {
|
|
2510
|
-
return (h(Host, null, h("pn-product-card",
|
|
2524
|
+
return (h(Host, null, h("pn-product-card", { "data-productid": this.item.id }, h("pn-illustration", { slot: "illustration", illustration: this.item.illustration }), h("div", { slot: "title" }, h("h2", null, this.item.name, " "), (this.item.highestrankusp) ?
|
|
2511
2525
|
(this.item.highestrankusp === "Billigast") ?
|
|
2512
2526
|
(h("span", { slot: "Billigast" }, this.item.highestrankusp, h("pn-icon", { symbol: "box-label", small: "false", color: "green700" })))
|
|
2513
|
-
: (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.showMeasurement ? (h("pn-product-card-info", { paket: this.item.maxmått, rulle: this.item.rulle })) : null, h("div", { slot: "cardprice" }, this.item.pricesenddirect ? (h("pn-product-card-price", { slot: "sendDirectPrice", label: state$5.i18n.senddirectcta, amount: this.item.pricesenddirect + '', currency: state$5.market.currency, url: sendDirectUrl,
|
|
2527
|
+
: (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.showMeasurement ? (h("pn-product-card-info", { paket: this.item.maxmått, rulle: this.item.rulle })) : null, h("div", { slot: "cardprice" }, this.item.pricesenddirect ? (h("pn-product-card-price", { slot: "sendDirectPrice", label: state$5.i18n.senddirectcta, amount: this.item.pricesenddirect + '', currency: state$5.market.currency, url: sendDirectUrl$1, linkid: this.linkId + '-portal' })) : null, this.item.pricestamps ? (h("pn-product-card-price", { slot: "stampPrice", label: state$5.i18n.stampshopcta, amount: this.item.pricestamps + '', currency: state$5.market.currency, url: stampShopUrl$1, linkid: this.linkId + '-stampshop' })) : null))));
|
|
2514
2528
|
}
|
|
2515
2529
|
static get watchers() { return {
|
|
2516
2530
|
"item": ["composeItems"]
|
|
@@ -2803,22 +2817,23 @@ let PnfindServiceAndPriceResult = class extends HTMLElement {
|
|
|
2803
2817
|
this.composeItems();
|
|
2804
2818
|
}
|
|
2805
2819
|
composeItems() {
|
|
2806
|
-
this.shownitems = [];
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
}
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
}
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
}
|
|
2820
|
+
this.shownitems = [this.item];
|
|
2821
|
+
// this.shownitems = [];
|
|
2822
|
+
// if (this.item.pricestamps) {
|
|
2823
|
+
// this.shownitems.push({...this.item, priceagent: null, pricesenddirect: null});
|
|
2824
|
+
// }
|
|
2825
|
+
// if (this.item.priceagent) {
|
|
2826
|
+
// this.shownitems.push({...this.item, pricestamps: null, pricesenddirect: null});
|
|
2827
|
+
// }
|
|
2828
|
+
// if (this.item.pricesenddirect) {
|
|
2829
|
+
// this.shownitems.push({...this.item, pricestamps: null, priceagent: null});
|
|
2830
|
+
// }
|
|
2816
2831
|
// Parcels are always in KG. Letter KG must be converted from grams
|
|
2817
|
-
this.weightText = (this.item.what === "parcel") ? this.item.maxweight + 'kg' :
|
|
2818
|
-
|
|
2832
|
+
// this.weightText = (this.item.what === "parcel") ? this.item.maxweight + 'kg' :
|
|
2833
|
+
// (this.item.what === "letter" && this.item.maxweight > 999) ? Math.round(this.item.maxweight/1000) + " kg" : this.item.maxweight + " g";
|
|
2819
2834
|
}
|
|
2820
2835
|
render() {
|
|
2821
|
-
return (h(Host, null, this.shownitems.map((item) => (h("pn-product-
|
|
2836
|
+
return (h(Host, null, this.shownitems.map((item) => (h("pn-product-card", null, h("pn-illustration", { slot: "illustration", illustration: item.illustration }), h("div", { slot: "content" }, h("div", { class: "content" }, h("h3", null, item.name), (item.description) ? (h("div", { class: "description" }, item.description)) : null, (item.info) ? (h("div", { class: "description" }, item.info)) : null)), item.maxweight ? (h("pn-product-tile-info", { label: state$4.i18n.maxweightlabel, text: this.weightText })) : null, item.pricestamps ? (h("pn-product-tile-price", { slot: "price", label: state$4.i18n.stampshopcta, amount: item.pricestamps + '', currency: state$4.market.currency })) : null, item.pricesenddirect ? (h("pn-product-tile-price", { slot: "price", label: state$4.i18n.senddirectcta, amount: item.pricesenddirect + '', currency: state$4.market.currency, url: "https://portal.postnord.com/skickadirekt/" })) : null, item.note ? (h("small", { slot: "note" }, h("p", null, item.note))) : null)))));
|
|
2822
2837
|
}
|
|
2823
2838
|
static get watchers() { return {
|
|
2824
2839
|
"item": ["composeItems"]
|
|
@@ -4531,7 +4546,7 @@ const { state: state$2, onChange: onChange$2 } = createStore({
|
|
|
4531
4546
|
requestAbortController: new AbortController()
|
|
4532
4547
|
});
|
|
4533
4548
|
|
|
4534
|
-
const pnMarketwebSiteheaderSearchCss = ".siteheader-search a{display:none}@media screen and (min-width: 48em){.siteheader-search a{display:block}}.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 form{-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:auto;-ms-flex:none;flex:none;display:-ms-flexbox;display:flex;padding:0;margin:0 0 0 0.4rem;position:relative}@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}";
|
|
4549
|
+
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 form{-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:auto;-ms-flex:none;flex:none;display:-ms-flexbox;display:flex;padding:0;margin:0 0 0 0.4rem;position:relative}@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}";
|
|
4535
4550
|
|
|
4536
4551
|
let PnMarketwebSiteheaderSearch$1 = class extends HTMLElement {
|
|
4537
4552
|
constructor() {
|
|
@@ -4787,49 +4802,65 @@ let PnProductCardPrice$1 = class extends HTMLElement {
|
|
|
4787
4802
|
if (!this.amount) {
|
|
4788
4803
|
return;
|
|
4789
4804
|
}
|
|
4790
|
-
return (this.url) ? (h(Host,
|
|
4805
|
+
return (this.url) ? (h(Host, { id: this.linkid }, h("div", { class: "price" }, (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("pn-button", { small: "true", icon: "open-in-new", appearance: "light", href: this.url, target: "_blank" }, this.label)) : null)) : (h(Host, null, h("div", { class: "price" }, (this.amount) ? (h("span", null, this.amount)) : null, (this.currency) ? (h("span", null, this.currency)) : null)));
|
|
4791
4806
|
}
|
|
4792
4807
|
static get style() { return pnProductCardPriceCss; }
|
|
4793
4808
|
};
|
|
4794
4809
|
|
|
4795
4810
|
const translations$2 = {
|
|
4796
4811
|
'sv': {
|
|
4797
|
-
'
|
|
4812
|
+
'componentheading': 'Våra priser och villkor för inrikesförsändelser för dig som direktbetalande kund?',
|
|
4813
|
+
'deliveryscopeheading': 'Endast leveranser inom Sverige',
|
|
4814
|
+
'resultlistheading': 'Några bra alternativ för dig',
|
|
4798
4815
|
'weightlabel': 'Vikt',
|
|
4816
|
+
'maxweightlabel': 'Maxvikt',
|
|
4799
4817
|
'maxmeasurementlabel': 'Maxvolym',
|
|
4800
|
-
'
|
|
4801
|
-
'
|
|
4802
|
-
'
|
|
4818
|
+
'senddirectcta': 'Köp online',
|
|
4819
|
+
'stampshopcta': 'Köp frimärken',
|
|
4820
|
+
'message': '*Vid köp hos valfritt ombud',
|
|
4821
|
+
'servicePointHeader': 'Eller hitta närmaste serviceställe',
|
|
4822
|
+
'servicePointLink': 'Sök serviceställe eller brevlåda'
|
|
4803
4823
|
},
|
|
4804
4824
|
'en': {
|
|
4805
|
-
'
|
|
4825
|
+
'componentheading': 'Our prices and terms and conditions for domestic shipments for you as a direct paying customer',
|
|
4826
|
+
'deliveryscopeheading': 'Deliveries within Sweden only',
|
|
4827
|
+
'resultlistheading': 'Some suitable options for you',
|
|
4806
4828
|
'weightlabel': 'Weight',
|
|
4829
|
+
'maxweightlabel': 'Max weight',
|
|
4807
4830
|
'maxmeasurementlabel': 'Maximum measurement',
|
|
4808
|
-
'
|
|
4809
|
-
'
|
|
4810
|
-
'
|
|
4831
|
+
'senddirectcta': 'Buy Online',
|
|
4832
|
+
'stampshopcta': 'Buy Stamps',
|
|
4833
|
+
'message': 'When buying from any agent',
|
|
4834
|
+
'servicePointHeader': 'Or find nearest service point',
|
|
4835
|
+
'servicePointLink': 'Search letter-box or service point'
|
|
4811
4836
|
},
|
|
4812
4837
|
'da': {
|
|
4813
|
-
'
|
|
4838
|
+
'componentheading': 'Vad vill du skicka?',
|
|
4839
|
+
'deliveryscopeheading': 'Kun leveringer indenfor Sverige',
|
|
4840
|
+
'resultlistheading': 'Some suitable options for you',
|
|
4814
4841
|
'weightlabel': 'Vægt',
|
|
4842
|
+
'maxweightlabel': 'Max vægt',
|
|
4815
4843
|
'maxmeasurementlabel': 'Maks. Volumen',
|
|
4816
|
-
'sizeheading': 'How much does it weigh?',
|
|
4817
4844
|
'senddirectcta': 'Buy shipping in Send Direct',
|
|
4818
4845
|
'stampshopcta': 'Order home stamps from the webshop',
|
|
4819
4846
|
},
|
|
4820
4847
|
'no': {
|
|
4821
|
-
'
|
|
4848
|
+
'componentheading': 'Vad vill du skicka?',
|
|
4849
|
+
'deliveryscopeheading': 'Kun leveranser innen Sverige',
|
|
4850
|
+
'resultlistheading': 'Some suitable options for you',
|
|
4822
4851
|
'weightlabel': 'Vekt',
|
|
4852
|
+
'maxweightlabel': 'Maks vekt',
|
|
4823
4853
|
'maxmeasurementlabel': 'Maks volum',
|
|
4824
|
-
'sizeheading': 'How much does it weigh?',
|
|
4825
4854
|
'senddirectcta': 'Buy shipping in Send Direct',
|
|
4826
4855
|
'stampshopcta': 'Order home stamps from the webshop',
|
|
4827
4856
|
},
|
|
4828
4857
|
'fi': {
|
|
4858
|
+
'componentheading': 'Vad vill du skicka?',
|
|
4859
|
+
'deliveryscopeheading': 'Toimitukset vain Ruotsin sisällä',
|
|
4860
|
+
'resultlistheading': 'Some suitable options for you',
|
|
4861
|
+
'weightlabel': 'Paino',
|
|
4829
4862
|
'maxweightlabel': 'Max paino',
|
|
4830
|
-
'weightlabel': 'Piano',
|
|
4831
4863
|
'maxmeasurementlabel': 'Max äänenvoimakkuus',
|
|
4832
|
-
'sizeheading': 'How much does it weigh?',
|
|
4833
4864
|
'senddirectcta': 'Buy shipping in Send Direct',
|
|
4834
4865
|
'stampshopcta': 'Order home stamps from the webshop',
|
|
4835
4866
|
}
|
|
@@ -4881,28 +4912,17 @@ const weights = {
|
|
|
4881
4912
|
]
|
|
4882
4913
|
};
|
|
4883
4914
|
|
|
4884
|
-
|
|
4885
|
-
const { state: state$1, onChange: onChange$1 } = createStore({
|
|
4886
|
-
i18n: {
|
|
4887
|
-
maxweightlabel: '',
|
|
4888
|
-
weightlabel: '',
|
|
4889
|
-
maxmeasurementlabel: '',
|
|
4890
|
-
sizeheading: '',
|
|
4891
|
-
senddirectcta: '',
|
|
4892
|
-
stampshopcta: '',
|
|
4893
|
-
},
|
|
4894
|
-
market: {
|
|
4895
|
-
currency: ""
|
|
4896
|
-
}
|
|
4897
|
-
});
|
|
4915
|
+
const sendDirectUrl = "https://portal.postnord.com/skickadirekt/";
|
|
4898
4916
|
|
|
4899
|
-
const
|
|
4917
|
+
const stampShopUrl = "https://shop.postnord.se/ebutik/default.aspx";
|
|
4918
|
+
|
|
4919
|
+
const pnProductPricelistCss = "pn-product-pricelist pn-spinner{margin:1em auto}pn-product-pricelist h2,pn-product-pricelist .heading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:1rem}pn-product-pricelist .content,pn-product-pricelist .weightselection,pn-product-pricelist .resultlist{max-width:50em;margin:0 auto 1.6rem}pn-product-pricelist .weightoption{display:-ms-flexbox;display:flex;gap:1.6rem}pn-product-pricelist .weightoption-input{width:5em;position:relative;display:none}pn-product-pricelist .weightoption-input input::-webkit-outer-spin-button,pn-product-pricelist .weightoption-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}pn-product-pricelist .weightoption-input-abbreviation{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:1.2em;margin-top:1.55rem;font-weight:500}pn-product-pricelist .weightoption-range{-ms-flex-positive:1;flex-grow:1;-ms-flex-item-align:end;align-self:flex-end;position:relative;top:0.5em}pn-product-pricelist .weightoption-range input{width:calc(100% - 1.5em)}pn-product-pricelist .weightoption-range datalist{width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75em}pn-product-pricelist .resultlist:not([data-list-count=\"0\"]){margin-top:2em}";
|
|
4900
4920
|
|
|
4901
4921
|
let PnFindProductPricelist = class extends HTMLElement {
|
|
4902
4922
|
constructor() {
|
|
4903
4923
|
super();
|
|
4904
4924
|
this.__registerHost();
|
|
4905
|
-
this.source = "https://com-integration.postnord.com/globalassets/global/prices/sv-
|
|
4925
|
+
this.source = "https://com-integration.postnord.com/globalassets/global/prices/sv-findprice-1-PN.xlsx";
|
|
4906
4926
|
this.language = "sv";
|
|
4907
4927
|
this.market = "se";
|
|
4908
4928
|
this.productid = "";
|
|
@@ -4920,10 +4940,10 @@ let PnFindProductPricelist = class extends HTMLElement {
|
|
|
4920
4940
|
}
|
|
4921
4941
|
setState() {
|
|
4922
4942
|
if (this.market) {
|
|
4923
|
-
state$
|
|
4943
|
+
state$5.market = markets[this.market];
|
|
4924
4944
|
}
|
|
4925
4945
|
if (this.language && translations$2[this.language]) {
|
|
4926
|
-
state$
|
|
4946
|
+
state$5.i18n = translations$2[this.language];
|
|
4927
4947
|
}
|
|
4928
4948
|
}
|
|
4929
4949
|
async getDataSource() {
|
|
@@ -4981,7 +5001,7 @@ let PnFindProductPricelist = class extends HTMLElement {
|
|
|
4981
5001
|
this.gotData = this.filteredItems.length > 0;
|
|
4982
5002
|
}
|
|
4983
5003
|
render() {
|
|
4984
|
-
return (h(Host, null, h("div", { class: "content" }, h("slot", null)), this.loading ? (h("pn-spinner", null)) : null, (this.postagetype.value && weights[this.postagetype.value]) ? (h("div", { class: "weightselection" },
|
|
5004
|
+
return (h(Host, null, h("div", { class: "content" }, h("slot", null)), this.loading ? (h("pn-spinner", null)) : null, (this.postagetype.value && weights[this.postagetype.value]) ? (h("div", { class: "weightselection" }, h("div", { class: "weightoption" }, h("div", { class: "weightoption-input" }, h("pn-input", { inputid: "weightvalue", name: "weightvalue", type: "number", label: state$5.i18n.weightlabel, value: this.weightvalue, onChange: (e) => {
|
|
4985
5005
|
if (e && e.target && e.target.value) {
|
|
4986
5006
|
const weightNum = parseInt(e.target.value, 10);
|
|
4987
5007
|
if (!isNaN(weightNum)) {
|
|
@@ -5007,7 +5027,7 @@ let PnFindProductPricelist = class extends HTMLElement {
|
|
|
5007
5027
|
labelText = (weightindex % 5 === 0 || weightindex === 0 || weightindex === weights[this.postagetype.value].length - 1) ? weight.name : '';
|
|
5008
5028
|
}
|
|
5009
5029
|
return (h("option", Object.assign({ value: weightindex }, (labelText ? { label: labelText } : {}))));
|
|
5010
|
-
})))))) : null, h("div", { class: "resultlist", "data-list-count": this.filteredItems.length }, this.filteredItems.map((item) => (h("div", null, h("pn-
|
|
5030
|
+
})))))) : null, h("div", { class: "resultlist", "data-list-count": this.filteredItems.length }, this.filteredItems.map((item) => (h("div", null, h("pn-find-price-result", { item: item })))))));
|
|
5011
5031
|
}
|
|
5012
5032
|
static get watchers() { return {
|
|
5013
5033
|
"market": ["setState"],
|
|
@@ -5018,6 +5038,21 @@ let PnFindProductPricelist = class extends HTMLElement {
|
|
|
5018
5038
|
static get style() { return pnProductPricelistCss; }
|
|
5019
5039
|
};
|
|
5020
5040
|
|
|
5041
|
+
// Read more about how stencil stores work here: https://stenciljs.com/docs/stencil-store
|
|
5042
|
+
const { state: state$1, onChange: onChange$1 } = createStore({
|
|
5043
|
+
i18n: {
|
|
5044
|
+
maxweightlabel: '',
|
|
5045
|
+
weightlabel: '',
|
|
5046
|
+
maxmeasurementlabel: '',
|
|
5047
|
+
sizeheading: '',
|
|
5048
|
+
senddirectcta: '',
|
|
5049
|
+
stampshopcta: '',
|
|
5050
|
+
},
|
|
5051
|
+
market: {
|
|
5052
|
+
currency: ""
|
|
5053
|
+
}
|
|
5054
|
+
});
|
|
5055
|
+
|
|
5021
5056
|
const pnProductPricelistResultCss = "";
|
|
5022
5057
|
|
|
5023
5058
|
let PnFindProductPricelistResult = class extends HTMLElement {
|
|
@@ -5025,29 +5060,55 @@ let PnFindProductPricelistResult = class extends HTMLElement {
|
|
|
5025
5060
|
super();
|
|
5026
5061
|
this.__registerHost();
|
|
5027
5062
|
this.item = null;
|
|
5063
|
+
this.description = [];
|
|
5028
5064
|
this.shownitems = [];
|
|
5065
|
+
this.showMeasurement = false;
|
|
5029
5066
|
this.weightText = "";
|
|
5030
5067
|
}
|
|
5031
5068
|
componentWillLoad() {
|
|
5032
5069
|
this.composeItems();
|
|
5033
5070
|
}
|
|
5034
5071
|
composeItems() {
|
|
5035
|
-
this.
|
|
5036
|
-
|
|
5037
|
-
this.shownitems.push(Object.assign(Object.assign({}, this.item), { priceagent: null, pricesenddirect: null }));
|
|
5038
|
-
}
|
|
5039
|
-
if (this.item.priceagent) {
|
|
5040
|
-
this.shownitems.push(Object.assign(Object.assign({}, this.item), { pricestamps: null, pricesenddirect: null }));
|
|
5041
|
-
}
|
|
5042
|
-
if (this.item.pricesenddirect) {
|
|
5043
|
-
this.shownitems.push(Object.assign(Object.assign({}, this.item), { pricestamps: null, priceagent: null }));
|
|
5072
|
+
if (this.item.description) {
|
|
5073
|
+
this.description = this.item.description.split("#bullet").filter(x => x !== "");
|
|
5044
5074
|
}
|
|
5045
|
-
|
|
5046
|
-
this.
|
|
5047
|
-
|
|
5075
|
+
this.showMeasurement = (this.item.maxmått !== null) || (this.item.rulle !== null);
|
|
5076
|
+
this.shownitems = [this.item];
|
|
5077
|
+
// if (this.item.pricestamps) {
|
|
5078
|
+
// this.shownitems.push({...this.item, priceagent: null, pricesenddirect: null});
|
|
5079
|
+
// }
|
|
5080
|
+
// if (this.item.priceagent) {
|
|
5081
|
+
// this.shownitems.push({...this.item, pricestamps: null, pricesenddirect: null});
|
|
5082
|
+
// }
|
|
5083
|
+
// if (this.item.pricesenddirect) {
|
|
5084
|
+
// this.shownitems.push({...this.item, pricestamps: null, priceagent: null});
|
|
5085
|
+
// }
|
|
5086
|
+
// // Parcels are always in KG. Letter KG must be converted from grams
|
|
5087
|
+
// this.weightText = (this.item.what === "parcel") ? this.item.maxweight + 'kg' :
|
|
5088
|
+
// (this.item.what === "letter" && this.item.maxweight > 999) ? Math.round(this.item.maxweight/1000) + " kg" : this.item.maxweight + " g";
|
|
5048
5089
|
}
|
|
5049
5090
|
render() {
|
|
5050
|
-
return (h(Host, null, this.shownitems.map((item) => (h("pn-product-
|
|
5091
|
+
return (h(Host, null, this.shownitems.map((item) => (h("pn-product-card", { "data-productid": item.id }, h("pn-illustration", { slot: "illustration", illustration: this.item.illustration }), h("div", { slot: "title" }, h("h2", null, item.name, " "), (this.item.highestrankusp) ?
|
|
5092
|
+
(this.item.highestrankusp === "Billigast") ?
|
|
5093
|
+
(h("span", { slot: "Billigast" }, this.item.highestrankusp, h("pn-icon", { symbol: "box-label", small: "false", color: "green700" })))
|
|
5094
|
+
: (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" })) : null, this.showMeasurement ? (h("pn-product-card-info", { paket: this.item.maxmått, rulle: this.item.rulle })) : null, h("div", { slot: "cardprice" }, this.item.pricesenddirect ? (h("pn-product-card-price", { slot: "sendDirectPrice", label: state$1.i18n.senddirectcta, amount: this.item.pricesenddirect + '', currency: state$1.market.currency, url: sendDirectUrl, service: this.item.name + "-portal" })) : null, this.item.pricestamps ? (h("pn-product-card-price", { slot: "stampPrice", label: state$1.i18n.stampshopcta, amount: this.item.pricestamps + '', currency: state$1.market.currency, url: stampShopUrl, service: this.item.name + "-eshop" })) : null))
|
|
5095
|
+
// <pn-product-tile>
|
|
5096
|
+
// <pn-illustration slot="illustration" illustration={ item.illustration }></pn-illustration>
|
|
5097
|
+
// <div slot="content">
|
|
5098
|
+
// <div class="content">
|
|
5099
|
+
// <h3>{item.name}</h3>
|
|
5100
|
+
// {(item.description) ? (<div class="description">{item.description}</div>) : null}
|
|
5101
|
+
// {(item.info) ? (<div class="description">{item.info}</div>) : null}
|
|
5102
|
+
// </div>
|
|
5103
|
+
// </div>
|
|
5104
|
+
// { item.maxweight ? (<pn-product-tile-info label={state.i18n.maxweightlabel} text={this.weightText}></pn-product-tile-info>) : null }
|
|
5105
|
+
// {/* { item.maximummeasurements ? (<pn-product-tile-info label={state.i18n.maxmeasurementlabel} text={item.maximummeasurements}></pn-product-tile-info>) : null } */}
|
|
5106
|
+
// { item.pricestamps ? (<pn-product-tile-price slot="price" label={state.i18n.stampshopcta} amount={item.pricestamps+''} currency={ state.market.currency }></pn-product-tile-price>) : null }
|
|
5107
|
+
// {/* { item.priceagent ? (<pn-product-tile-price slot="price" label="" amount={item.priceagent+''} currency={ state.market.currency } url="https://shop.postnord.se/ebutik/default.aspx"></pn-product-tile-price>) : null } */}
|
|
5108
|
+
// { item.pricesenddirect ? (<pn-product-tile-price slot="price" label={state.i18n.senddirectcta} amount={item.pricesenddirect+''} currency={ state.market.currency } url="https://portal.postnord.com/skickadirekt/"></pn-product-tile-price>) : null }
|
|
5109
|
+
// { item.note ? (<small slot="note"><p>{item.note}</p></small>) : null }
|
|
5110
|
+
// </pn-product-tile>
|
|
5111
|
+
))));
|
|
5051
5112
|
}
|
|
5052
5113
|
static get watchers() { return {
|
|
5053
5114
|
"item": ["composeItems"]
|
|
@@ -5461,7 +5522,7 @@ const PnBonusProgressbarLevel = /*@__PURE__*/proxyCustomElement(PnBonusProgressb
|
|
|
5461
5522
|
const PnChoiceButton = /*@__PURE__*/proxyCustomElement(PnChoiceButton$1, [4,"pn-choice-button",{"value":[520],"name":[1],"choiceid":[1],"type":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]);
|
|
5462
5523
|
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"]]]);
|
|
5463
5524
|
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]}]);
|
|
5464
|
-
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],"showMeasurement":[4,"show-measurement"],"weightText":[32]}]);
|
|
5525
|
+
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],"showMeasurement":[4,"show-measurement"],"weightText":[32],"linkId":[32]}]);
|
|
5465
5526
|
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]}]);
|
|
5466
5527
|
const PnFindServiceAndPriceResult = /*@__PURE__*/proxyCustomElement(PnfindServiceAndPriceResult, [0,"pn-find-service-and-price-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]);
|
|
5467
5528
|
const PnLanguageSelector = /*@__PURE__*/proxyCustomElement(PnlanguageSelector, [4,"pn-language-selector",{"value":[1537],"selectedLanguageName":[32],"options":[32],"i18n":[32]}]);
|
|
@@ -5479,9 +5540,9 @@ const PnMarketwebSiteheaderSearch = /*@__PURE__*/proxyCustomElement(PnMarketwebS
|
|
|
5479
5540
|
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"]]]);
|
|
5480
5541
|
const PnProductCard = /*@__PURE__*/proxyCustomElement(PnProductCard$1, [4,"pn-product-card"]);
|
|
5481
5542
|
const PnProductCardInfo = /*@__PURE__*/proxyCustomElement(PnProductCardInfo$1, [0,"pn-product-card-info",{"rulle":[1],"paket":[1],"label":[1],"text":[1]}]);
|
|
5482
|
-
const PnProductCardPrice = /*@__PURE__*/proxyCustomElement(PnProductCardPrice$1, [0,"pn-product-card-price",{"label":[1],"amount":[1],"currency":[1],"note":[1],"url":[1],"service":[1]}]);
|
|
5543
|
+
const PnProductCardPrice = /*@__PURE__*/proxyCustomElement(PnProductCardPrice$1, [0,"pn-product-card-price",{"label":[1],"amount":[1],"currency":[1],"note":[1],"url":[1],"service":[1],"linkid":[1]}]);
|
|
5483
5544
|
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]}]);
|
|
5484
|
-
const PnProductPricelistResult = /*@__PURE__*/proxyCustomElement(PnFindProductPricelistResult, [0,"pn-product-pricelist-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]);
|
|
5545
|
+
const PnProductPricelistResult = /*@__PURE__*/proxyCustomElement(PnFindProductPricelistResult, [0,"pn-product-pricelist-result",{"item":[1040],"description":[16],"shownitems":[16],"showMeasurement":[4,"show-measurement"],"weightText":[32]}]);
|
|
5485
5546
|
const PnProductTile = /*@__PURE__*/proxyCustomElement(PnProductTile$1, [4,"pn-product-tile"]);
|
|
5486
5547
|
const PnProductTileInfo = /*@__PURE__*/proxyCustomElement(PnProductTileInfo$1, [0,"pn-product-tile-info",{"label":[1],"text":[1],"icon":[1]}]);
|
|
5487
5548
|
const PnProductTilePrice = /*@__PURE__*/proxyCustomElement(PnProductTilePrice$1, [0,"pn-product-tile-price",{"label":[1],"amount":[1],"currency":[1],"url":[1]}]);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
const weights = {
|
|
2
|
+
"letter": [
|
|
3
|
+
{ name: "50g", abbreviation: 'g', value: 50 },
|
|
4
|
+
{ name: "100g", abbreviation: 'g', value: 100 },
|
|
5
|
+
{ name: "250g", abbreviation: 'g', value: 250 },
|
|
6
|
+
{ name: "500g", abbreviation: 'g', value: 500 },
|
|
7
|
+
{ name: "1kg", abbreviation: 'kg', value: 1 },
|
|
8
|
+
{ name: "2kg", abbreviation: 'kg', value: 2 },
|
|
9
|
+
],
|
|
10
|
+
"parcel": [
|
|
11
|
+
{ name: "1kg", abbreviation: 'kg', value: 1 },
|
|
12
|
+
{ name: "2kg", abbreviation: 'kg', value: 2 },
|
|
13
|
+
{ name: "3kg", abbreviation: 'kg', value: 3 },
|
|
14
|
+
{ name: "4kg", abbreviation: 'kg', value: 4 },
|
|
15
|
+
{ name: "5kg", abbreviation: 'kg', value: 5 },
|
|
16
|
+
{ name: "6kg", abbreviation: 'kg', value: 6 },
|
|
17
|
+
{ name: "7Kg", abbreviation: 'kg', value: 7 },
|
|
18
|
+
{ name: "8kg", abbreviation: 'kg', value: 8 },
|
|
19
|
+
{ name: "9kg", abbreviation: 'kg', value: 9 },
|
|
20
|
+
{ name: "10kg", abbreviation: 'kg', value: 10 },
|
|
21
|
+
{ name: "11kg", abbreviation: 'kg', value: 11 },
|
|
22
|
+
{ name: "12kg", abbreviation: 'kg', value: 12 },
|
|
23
|
+
{ name: "13kg", abbreviation: 'kg', value: 13 },
|
|
24
|
+
{ name: "14kg", abbreviation: 'kg', value: 14 },
|
|
25
|
+
{ name: "15kg", abbreviation: 'kg', value: 15 },
|
|
26
|
+
{ name: "16kg", abbreviation: 'kg', value: 16 },
|
|
27
|
+
{ name: "17kg", abbreviation: 'kg', value: 17 },
|
|
28
|
+
{ name: "18kg", abbreviation: 'kg', value: 18 },
|
|
29
|
+
{ name: "20kg", abbreviation: 'kg', value: 20 },
|
|
30
|
+
]
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
const sendDirectUrl = "https://portal.postnord.com/skickadirekt/";
|
|
34
|
+
|
|
35
|
+
const stampShopUrl = "https://shop.postnord.se/ebutik/default.aspx";
|
|
36
|
+
|
|
37
|
+
export { stampShopUrl as a, sendDirectUrl as s, weights as w };
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { c as createStore } from './index-7b21ecff.js';
|
|
2
|
-
|
|
3
1
|
const sizeCategories = [
|
|
4
2
|
{ name: "Small", value: "Small", illustration: "eli1n", unit: "small" },
|
|
5
3
|
{ name: "Medium", value: "Medium", illustration: "medium-package", unit: "medium"},
|
|
@@ -34,32 +32,10 @@ const weights = {
|
|
|
34
32
|
};
|
|
35
33
|
|
|
36
34
|
|
|
37
|
-
const fileLocation = "https://com-integration.postnord.com/globalassets/global/prices/
|
|
38
|
-
|
|
39
|
-
const servicePointUrl = "https://www.postnord.se/vara-verktyg/sok-brevlada-eller-servicestalle";
|
|
35
|
+
const fileLocation = "https://com-integration.postnord.com/globalassets/global/prices/dk-findprice.xlsx";
|
|
40
36
|
|
|
41
37
|
const sendDirectUrl = "https://portal.postnord.com/skickadirekt/";
|
|
42
38
|
|
|
43
39
|
const stampShopUrl = "https://shop.postnord.se/ebutik/default.aspx";
|
|
44
40
|
|
|
45
|
-
|
|
46
|
-
const { state, onChange } = createStore({
|
|
47
|
-
i18n: {
|
|
48
|
-
componentheading: '',
|
|
49
|
-
deliveryscopeheading: '',
|
|
50
|
-
resultlistheading: '',
|
|
51
|
-
weightlabel: '',
|
|
52
|
-
maxweightlabel: '',
|
|
53
|
-
maxmeasurementlabel: '',
|
|
54
|
-
senddirectcta: '',
|
|
55
|
-
stampshopcta: '',
|
|
56
|
-
message: '',
|
|
57
|
-
servicePointHeader: '',
|
|
58
|
-
servicePointLink: ''
|
|
59
|
-
},
|
|
60
|
-
market: {
|
|
61
|
-
currency: ""
|
|
62
|
-
}
|
|
63
|
-
});
|
|
64
|
-
|
|
65
|
-
export { state as a, servicePointUrl as b, sendDirectUrl as c, stampShopUrl as d, fileLocation as f, sizeCategories as s, weights as w };
|
|
41
|
+
export { sendDirectUrl as a, stampShopUrl as b, fileLocation as f, sizeCategories as s, weights as w };
|
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"],"AutocompleteEndpoint":[1,"autocomplete-endpoint"],"sessionForward":[4,"session-forward"],"cache":[4],"spaMode":[4,"spa-mode"],"i18n":[32],"gotData":[32],"fetchingData":[32],"homePageLink":[32],"menuItems":[32],"siteDefinition":[32],"search":[32],"siteSelector":[32],"languageSelector":[32],"languageOptions":[32],"loginDialog":[32],"minimizeSearch":[32],"loggedIn":[32],"loginManager":[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["pn-find-price",[[0,"pn-find-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"weight":[32],"weightvalue":[32],"sourceData":[32],"sizecategory":[32]}]]],["pn-find-service-and-price",[[0,"pn-find-service-and-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"postagetype":[32],"weight":[32],"weightvalue":[32],"deliveryscope":[32],"sourceData":[32]}]]],["pn-product-pricelist",[[4,"pn-product-pricelist",{"source":[1],"language":[1025],"market":[1025],"productid":[1],"filteredItems":[32],"sourceData":[32],"gotData":[32],"loading":[32],"postagetype":[32],"weight":[32],"weightvalue":[32]}]]],["pn-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-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-filter-checkbox",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-marketweb-search",[[1,"pn-marketweb-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"list":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4],"suggestionObserver":[32],"hasClonedInput":[32],"listSuggestion":[32]},[[0,"input","inputHandler"]]]]],["pn-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-
|
|
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"],"AutocompleteEndpoint":[1,"autocomplete-endpoint"],"sessionForward":[4,"session-forward"],"cache":[4],"spaMode":[4,"spa-mode"],"i18n":[32],"gotData":[32],"fetchingData":[32],"homePageLink":[32],"menuItems":[32],"siteDefinition":[32],"search":[32],"siteSelector":[32],"languageSelector":[32],"languageOptions":[32],"loginDialog":[32],"minimizeSearch":[32],"loggedIn":[32],"loginManager":[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["pn-find-price",[[0,"pn-find-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"weight":[32],"weightvalue":[32],"sourceData":[32],"sizecategory":[32]}]]],["pn-find-service-and-price",[[0,"pn-find-service-and-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"postagetype":[32],"weight":[32],"weightvalue":[32],"deliveryscope":[32],"sourceData":[32]}]]],["pn-product-pricelist",[[4,"pn-product-pricelist",{"source":[1],"language":[1025],"market":[1025],"productid":[1],"filteredItems":[32],"sourceData":[32],"gotData":[32],"loading":[32],"postagetype":[32],"weight":[32],"weightvalue":[32]}]]],["pn-product-pricelist-result",[[0,"pn-product-pricelist-result",{"item":[1040],"description":[16],"shownitems":[16],"showMeasurement":[4,"show-measurement"],"weightText":[32]}]]],["pn-marketweb-sitefooter",[[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-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-filter-checkbox",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-marketweb-search",[[1,"pn-marketweb-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"list":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4],"suggestionObserver":[32],"hasClonedInput":[32],"listSuggestion":[32]},[[0,"input","inputHandler"]]]]],["pn-product-tile",[[4,"pn-product-tile"]]],["pn-profile-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-product-card_3",[[0,"pn-product-card-info",{"rulle":[1],"paket":[1],"label":[1],"text":[1]}],[0,"pn-product-card-price",{"label":[1],"amount":[1],"currency":[1],"note":[1],"url":[1],"service":[1],"linkid":[1]}],[4,"pn-product-card"]]],["pn-find-service-and-price-result",[[0,"pn-find-service-and-price-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-marketweb-input",[[0,"pn-marketweb-input",{"disabled":[4],"error":[1],"invalid":[4],"helpertext":[1],"label":[1],"placeholder":[1],"inputid":[1],"name":[1],"required":[4],"type":[1025],"autocomplete":[1],"valid":[4],"value":[1],"maxlength":[1],"min":[1],"max":[1],"step":[1],"pattern":[1],"showText":[32]}]]],["pn-find-price-result",[[0,"pn-find-price-result",{"item":[1040],"shownitems":[16],"Usp1":[1,"usp-1"],"Usp2":[1,"usp-2"],"Usp3":[1,"usp-3"],"description":[16],"showMeasurement":[4,"show-measurement"],"weightText":[32],"linkId":[32]}]]],["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-tile-info_2",[[0,"pn-product-tile-info",{"label":[1],"text":[1],"icon":[1]}],[0,"pn-product-tile-price",{"label":[1],"amount":[1],"currency":[1],"url":[1]}]]],["pn-language-selector_9",[[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"],"language":[1537],"search":[1040],"primary":[4],"autoCompleteOptions":[32]}],[4,"pn-site-selector",{"buttontext":[1537],"heading":[1537],"language":[1537],"i18n":[32]}],[0,"pn-site-selector-item",{"url":[1],"heading":[1],"description":[1],"newwindow":[4]}]]]], options);
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
16
|
|