@postnord/pn-marketweb-components 1.0.44-beta1 → 1.0.44-beta2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/loader.cjs.js +1 -1
- package/cjs/pn-find-price-result.cjs.entry.js +5 -15
- package/cjs/{pn-find-price-store-85b100ba.js → pn-find-price-store-d9aabecb.js} +1 -0
- package/cjs/pn-find-price.cjs.entry.js +48 -65
- package/cjs/pn-market-web-components.cjs.js +1 -1
- package/cjs/pn-product-card_3.cjs.entry.js +49 -0
- package/collection/collection-manifest.json +3 -0
- package/collection/components/widgets/pn-find-price/data.js +36 -62
- package/collection/components/widgets/pn-find-price/pn-find-price-result.css +6 -0
- package/collection/components/widgets/pn-find-price/pn-find-price-result.js +18 -24
- package/collection/components/widgets/pn-find-price/pn-find-price-store.js +1 -0
- package/collection/components/widgets/pn-find-price/pn-find-price-translations.js +6 -4
- package/collection/components/widgets/pn-find-price/pn-find-price.css +1 -0
- package/collection/components/widgets/pn-find-price/pn-find-price.js +5 -0
- package/collection/components/widgets/pn-product-card/pn-product-card-info.css +30 -0
- package/collection/components/widgets/pn-product-card/pn-product-card-info.js +92 -0
- package/collection/components/widgets/pn-product-card/pn-product-card-price.css +37 -0
- package/collection/components/widgets/pn-product-card/pn-product-card-price.js +112 -0
- package/collection/components/widgets/pn-product-card/pn-product-card.css +86 -0
- package/collection/components/widgets/pn-product-card/pn-product-card.js +26 -0
- package/collection/components/widgets/pn-product-card/product-card.stories.js +50 -0
- package/custom-elements/index.d.ts +18 -0
- package/custom-elements/index.js +102 -79
- package/esm/loader.js +1 -1
- package/esm/pn-find-price-result.entry.js +5 -15
- package/esm/{pn-find-price-store-d2053b72.js → pn-find-price-store-8560f26c.js} +1 -0
- package/esm/pn-find-price.entry.js +48 -65
- package/esm/pn-market-web-components.js +1 -1
- package/esm/pn-product-card_3.entry.js +43 -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-d2053b72.js → pn-find-price-store-8560f26c.js} +1 -1
- package/esm-es5/pn-find-price.entry.js +1 -1
- package/esm-es5/pn-market-web-components.js +1 -1
- package/esm-es5/pn-product-card_3.entry.js +1 -0
- package/package.json +7 -6
- package/pn-market-web-components/p-0fb48ff6.entry.js +1 -0
- package/pn-market-web-components/p-1051c2d9.system.entry.js +1 -0
- package/pn-market-web-components/{p-c30207e6.js → p-390d9a03.js} +1 -1
- package/pn-market-web-components/p-492e6f0d.system.js +1 -0
- package/pn-market-web-components/p-80ca78f4.entry.js +1 -0
- package/pn-market-web-components/p-a22df959.system.js +1 -1
- package/pn-market-web-components/p-a425e095.system.entry.js +1 -0
- package/pn-market-web-components/p-b42fd0cb.entry.js +1 -0
- package/pn-market-web-components/p-f2898a60.system.entry.js +1 -0
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/types/components/widgets/pn-find-price/pn-find-price-store.d.ts +2 -0
- package/types/components/widgets/pn-find-price/pn-find-price-translations.d.ts +2 -0
- package/types/components/widgets/pn-find-price/pn-find-price-types.d.ts +6 -1
- package/types/components/widgets/pn-product-card/pn-product-card-info.d.ts +7 -0
- package/types/components/widgets/pn-product-card/pn-product-card-price.d.ts +8 -0
- package/types/components/widgets/pn-product-card/pn-product-card.d.ts +3 -0
- package/types/components.d.ts +57 -0
- package/pn-market-web-components/p-233ca151.system.js +0 -1
- package/pn-market-web-components/p-4fcabdb8.entry.js +0 -1
- package/pn-market-web-components/p-b30e348c.system.entry.js +0 -1
- package/pn-market-web-components/p-bea2dcc6.entry.js +0 -1
- package/pn-market-web-components/p-d8882f68.system.entry.js +0 -1
package/custom-elements/index.js
CHANGED
|
@@ -290,8 +290,9 @@ const translations$9 = {
|
|
|
290
290
|
'weightlabel': 'Vikt',
|
|
291
291
|
'maxweightlabel': 'Maxvikt',
|
|
292
292
|
'maxmeasurementlabel': 'Maxvolym',
|
|
293
|
-
'senddirectcta': 'Köp
|
|
294
|
-
'stampshopcta': '
|
|
293
|
+
'senddirectcta': 'Köp portokod online',
|
|
294
|
+
'stampshopcta': 'Beställ fysiska frimärken',
|
|
295
|
+
'message': '*Vid köp hos valfritt ombud'
|
|
295
296
|
},
|
|
296
297
|
'en': {
|
|
297
298
|
'componentheading': 'What do you want to send?',
|
|
@@ -301,8 +302,9 @@ const translations$9 = {
|
|
|
301
302
|
'weightlabel': 'Weight',
|
|
302
303
|
'maxweightlabel': 'Max weight',
|
|
303
304
|
'maxmeasurementlabel': 'Maximum measurement',
|
|
304
|
-
'senddirectcta': 'Buy
|
|
305
|
-
'stampshopcta': 'Order
|
|
305
|
+
'senddirectcta': 'Buy postcode online',
|
|
306
|
+
'stampshopcta': 'Order physical stamps',
|
|
307
|
+
'message': 'When buying from any agent'
|
|
306
308
|
},
|
|
307
309
|
'da': {
|
|
308
310
|
'componentheading': 'Vad vill du skicka?',
|
|
@@ -354,67 +356,43 @@ const markets$2 = {
|
|
|
354
356
|
};
|
|
355
357
|
|
|
356
358
|
const sizeCategories = [
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
];
|
|
359
|
+
{ name: "Dokument eller paket upp till 2 kg", value: "upto2kg", illustration: "package-letter-calendar", unit: "2kg", maxWeight:2 },
|
|
360
|
+
{ name: "Större paket M-L upp till 5 kg", value: "upto5kg", illustration: "packages-in-a-pile", unit: "5kg", maxWeight:5},
|
|
361
|
+
{ name: "Tyngre paket upp till 20 kg", value: "upto20kg", illustration: "scale-package-16-abroad", unit: "20kg", maxWeight: 20 },
|
|
362
|
+
];
|
|
362
363
|
|
|
363
364
|
const weights$2 = {
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
"
|
|
394
|
-
|
|
395
|
-
{ name: "100g", abbreviation: 'g', value: 100 },
|
|
396
|
-
{ name: "250g", abbreviation: 'g', value: 250 },
|
|
397
|
-
{ name: "500g", abbreviation: 'g', value: 500 },
|
|
398
|
-
{ name: "1kg", abbreviation: 'kg', value: 1 },
|
|
399
|
-
{ name: "2kg", abbreviation: 'kg', value: 2 },
|
|
400
|
-
{ name: "3kg", abbreviation: 'kg', value: 3 },
|
|
401
|
-
{ name: "4kg", abbreviation: 'kg', value: 4 },
|
|
402
|
-
{ name: "5kg", abbreviation: 'kg', value: 5 },
|
|
403
|
-
{ name: "6kg", abbreviation: 'kg', value: 6 },
|
|
404
|
-
{ name: "7Kg", abbreviation: 'kg', value: 7 },
|
|
405
|
-
{ name: "8kg", abbreviation: 'kg', value: 8 },
|
|
406
|
-
{ name: "9kg", abbreviation: 'kg', value: 9 },
|
|
407
|
-
{ name: "10kg", abbreviation: 'kg', value: 10 },
|
|
408
|
-
{ name: "11kg", abbreviation: 'kg', value: 11 },
|
|
409
|
-
{ name: "12kg", abbreviation: 'kg', value: 12 },
|
|
410
|
-
{ name: "13kg", abbreviation: 'kg', value: 13 },
|
|
411
|
-
{ name: "14kg", abbreviation: 'kg', value: 14 },
|
|
412
|
-
{ name: "15kg", abbreviation: 'kg', value: 15 },
|
|
413
|
-
{ name: "16kg", abbreviation: 'kg', value: 16 },
|
|
414
|
-
{ name: "17kg", abbreviation: 'kg', value: 17 },
|
|
415
|
-
{ name: "18kg", abbreviation: 'kg', value: 18 },
|
|
416
|
-
{ name: "20kg", abbreviation: 'kg', value: 20 },
|
|
417
|
-
]
|
|
365
|
+
"2kg": [
|
|
366
|
+
{ name: "50g", abbreviation: 'g', value: 50 },
|
|
367
|
+
{ name: "100g", abbreviation: 'g', value: 100 },
|
|
368
|
+
{ name: "250g", abbreviation: 'g', value: 250 },
|
|
369
|
+
{ name: "500g", abbreviation: 'g', value: 500 },
|
|
370
|
+
{ name: "1kg", abbreviation: 'kg', value: 1 },
|
|
371
|
+
{ name: "2kg", abbreviation: 'kg', value: 2 },
|
|
372
|
+
],
|
|
373
|
+
"5kg": [
|
|
374
|
+
{ name: "2kg", abbreviation: 'kg', value: 2 },
|
|
375
|
+
{ name: "3kg", abbreviation: 'kg', value: 3 },
|
|
376
|
+
{ name: "4kg", abbreviation: 'kg', value: 4 },
|
|
377
|
+
{ name: "5kg", abbreviation: 'kg', value: 5 },
|
|
378
|
+
],
|
|
379
|
+
"20kg": [
|
|
380
|
+
{ name: "5kg", abbreviation: 'kg', value: 5 },
|
|
381
|
+
{ name: "6kg", abbreviation: 'kg', value: 6 },
|
|
382
|
+
{ name: "7Kg", abbreviation: 'kg', value: 7 },
|
|
383
|
+
{ name: "8kg", abbreviation: 'kg', value: 8 },
|
|
384
|
+
{ name: "9kg", abbreviation: 'kg', value: 9 },
|
|
385
|
+
{ name: "10kg", abbreviation: 'kg', value: 10 },
|
|
386
|
+
{ name: "11kg", abbreviation: 'kg', value: 11 },
|
|
387
|
+
{ name: "12kg", abbreviation: 'kg', value: 12 },
|
|
388
|
+
{ name: "13kg", abbreviation: 'kg', value: 13 },
|
|
389
|
+
{ name: "14kg", abbreviation: 'kg', value: 14 },
|
|
390
|
+
{ name: "15kg", abbreviation: 'kg', value: 15 },
|
|
391
|
+
{ name: "16kg", abbreviation: 'kg', value: 16 },
|
|
392
|
+
{ name: "17kg", abbreviation: 'kg', value: 17 },
|
|
393
|
+
{ name: "18kg", abbreviation: 'kg', value: 18 },
|
|
394
|
+
{ name: "20kg", abbreviation: 'kg', value: 20 },
|
|
395
|
+
]
|
|
418
396
|
};
|
|
419
397
|
|
|
420
398
|
const xml = {
|
|
@@ -2394,13 +2372,14 @@ const { state: state$4, onChange: onChange$4 } = createStore({
|
|
|
2394
2372
|
maxmeasurementlabel: '',
|
|
2395
2373
|
senddirectcta: '',
|
|
2396
2374
|
stampshopcta: '',
|
|
2375
|
+
message: ''
|
|
2397
2376
|
},
|
|
2398
2377
|
market: {
|
|
2399
2378
|
currency: ""
|
|
2400
2379
|
}
|
|
2401
2380
|
});
|
|
2402
2381
|
|
|
2403
|
-
const pnFindPriceCss = "pn-find-price .findprice-form{max-width:50em;margin:0 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 .sizecategory{text-align:center;margin-bottom:3rem}pn-find-price .weightoption{display:-ms-flexbox;display:flex;gap:1em}pn-find-price .weightoption-input{width:5em;position:relative}pn-find-price .weightoption-input input::-webkit-outer-spin-button,pn-find-price .weightoption-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}pn-find-price .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-find-price .weightoption-range{-ms-flex-positive:1;flex-grow:1;-ms-flex-item-align:end;align-self:flex-end;position:relative;top:0.5em}pn-find-price .weightoption-range input{width:calc(100% - 1.5em)}pn-find-price .weightoption-range datalist{width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75em}pn-find-price .resultlist{margin:3em 0}";
|
|
2382
|
+
const pnFindPriceCss = "pn-find-price .findprice-form{max-width:50em;margin:0 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 .sizecategory{text-align:center;margin-bottom:3rem;font-size:0.9em}pn-find-price .weightoption{display:-ms-flexbox;display:flex;gap:1em}pn-find-price .weightoption-input{width:5em;position:relative}pn-find-price .weightoption-input input::-webkit-outer-spin-button,pn-find-price .weightoption-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}pn-find-price .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-find-price .weightoption-range{-ms-flex-positive:1;flex-grow:1;-ms-flex-item-align:end;align-self:flex-end;position:relative;top:0.5em}pn-find-price .weightoption-range input{width:calc(100% - 1.5em)}pn-find-price .weightoption-range datalist{width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75em}pn-find-price .resultlist{margin:3em 0}";
|
|
2404
2383
|
|
|
2405
2384
|
let PnfindPrice = class extends HTMLElement {
|
|
2406
2385
|
constructor() {
|
|
@@ -2469,6 +2448,11 @@ let PnfindPrice = class extends HTMLElement {
|
|
|
2469
2448
|
}
|
|
2470
2449
|
}
|
|
2471
2450
|
}
|
|
2451
|
+
weightFilteredData.sort((a, b) => {
|
|
2452
|
+
var rankA = a.highestrankusp ? a.highestrankusp.toLowerCase() : "z";
|
|
2453
|
+
var rankB = b.highestrankusp ? b.highestrankusp.toLowerCase() : "z";
|
|
2454
|
+
return (rankA.localeCompare(rankB));
|
|
2455
|
+
});
|
|
2472
2456
|
this.filteredItems = weightFilteredData;
|
|
2473
2457
|
}
|
|
2474
2458
|
render() {
|
|
@@ -2515,7 +2499,7 @@ let PnfindPrice = class extends HTMLElement {
|
|
|
2515
2499
|
static get style() { return pnFindPriceCss; }
|
|
2516
2500
|
};
|
|
2517
2501
|
|
|
2518
|
-
const pnFindPriceResultCss = "pn-find-price-result .test{margin:3em 0}";
|
|
2502
|
+
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}";
|
|
2519
2503
|
|
|
2520
2504
|
let PnfindPriceResult = class extends HTMLElement {
|
|
2521
2505
|
constructor() {
|
|
@@ -2529,21 +2513,11 @@ let PnfindPriceResult = class extends HTMLElement {
|
|
|
2529
2513
|
this.composeItems();
|
|
2530
2514
|
}
|
|
2531
2515
|
composeItems() {
|
|
2532
|
-
this.shownitems = [];
|
|
2533
|
-
if (this.item.pricestamps) {
|
|
2534
|
-
this.shownitems.push(Object.assign(Object.assign({}, this.item), { priceagent: null, pricesenddirect: null }));
|
|
2535
|
-
}
|
|
2536
|
-
if (this.item.priceagent) {
|
|
2537
|
-
this.shownitems.push(Object.assign(Object.assign({}, this.item), { pricestamps: null, pricesenddirect: null }));
|
|
2538
|
-
}
|
|
2539
|
-
if (this.item.pricesenddirect) {
|
|
2540
|
-
this.shownitems.push(Object.assign(Object.assign({}, this.item), { pricestamps: null, priceagent: null }));
|
|
2541
|
-
}
|
|
2542
|
-
this.weightText = (this.item.maxweight <= 20) ? this.item.maxweight + 'kg' :
|
|
2543
|
-
(this.item.maxweight > 999) ? Math.round(this.item.maxweight / 1000) + " kg" : this.item.maxweight + " g";
|
|
2544
2516
|
}
|
|
2545
2517
|
render() {
|
|
2546
|
-
return (h(Host, null,
|
|
2518
|
+
return (h(Host, null, h("pn-product-card", null, h("pn-illustration", { slot: "illustration", illustration: this.item.illustration }), h("div", { slot: "content" }, h("div", { class: "content" }, h("h3", null, this.item.name, (this.item.highestrankusp) ?
|
|
2519
|
+
(this.item.highestrankusp === "Biligast") ?
|
|
2520
|
+
(h("span", { slot: "Biligast" }, this.item.highestrankusp)) : (h("span", { slot: "Snabbast" }, this.item.highestrankusp)) : null), (this.item.description) ? (h("div", { class: "description" }, this.item.description)) : 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("small", { slot: "additionalUSP" }, h("p", null, this.item.additionalusp))) : null, this.item.maximummeasurements ? (h("pn-product-card-info", { label: state$4.i18n.maxmeasurementlabel, text: this.item.maximummeasurements })) : null, this.item.paket ? (h("pn-product-card-info", { paket: this.item.paket, rulle: this.item.rulle })) : null, this.item.priceagent ? (h("pn-product-card-price", { slot: "price", label: "", amount: this.item.priceagent + '', currency: state$4.market.currency, url: "https://shop.postnord.se/ebutik/default.aspx" })) : null, this.item.pricesenddirect ? (h("pn-product-card-price", { slot: "sendDirectPrice", label: state$4.i18n.senddirectcta, amount: this.item.pricesenddirect + '', currency: state$4.market.currency, url: "https://portal.postnord.com/skickadirekt/" })) : null, this.item.pricestamps ? (h("pn-product-card-price", { slot: "stampPrice", label: state$4.i18n.stampshopcta, amount: this.item.pricestamps + '', currency: state$4.market.currency, url: "https://shop.postnord.se/ebutik/default.aspx", note: state$4.i18n.message })) : null)));
|
|
2547
2521
|
}
|
|
2548
2522
|
static get watchers() { return {
|
|
2549
2523
|
"item": ["composeItems"]
|
|
@@ -4492,6 +4466,49 @@ let PnPexPricefinder$1 = class extends HTMLElement {
|
|
|
4492
4466
|
static get style() { return pnPexPricefinderCss; }
|
|
4493
4467
|
};
|
|
4494
4468
|
|
|
4469
|
+
const pnProductCardCss = "pn-product-card{margin-bottom:1em;border:0.1rem solid #D3CECB;outline:none;background:white;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);display:-ms-flexbox;display:flex;padding:1.5em;word-break:break-word;text-decoration:none;border-radius:0.8rem}pn-product-card [slot=content] h3{display:-ms-flexbox;display:flex;width:100%;margin-bottom:0.5em}pn-product-card [slot=content] h3>[slot=Biligast]{font-size:0.6em;background:#005E41;color:white;border-radius:0.37em;width:4em;line-height:2em;text-align:center;margin-left:0.6em;font-weight:normal}pn-product-card [slot=content] h3>[slot=Snabbast]{font-size:0.6em;background:#005D92;color:white;border-radius:0.37em;width:5em;line-height:2em;text-align:center;vertical-align:bottom;margin-left:0.6em;font-weight:normal}pn-product-card [slot=additionalUSP]{font-size:0.6em;background:#D3CECB;color:#2D2013;border-radius:0.25em;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:0.3em;margin-top:0.5em}pn-product-card>pn-illustration{min-width:8rem;width:8rem;height:8rem;margin-right:3rem;-ms-flex-item-align:center;align-self:center}pn-product-card .cardcontent{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}pn-product-card .cardprice{display:-ms-flexbox;display:flex;font-size:1em;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}pn-product-card .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:100%}pn-product-card .info{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;max-width:66.6666666667%;-ms-flex-flow:wrap;flex-flow:wrap}pn-product-card .info>*{min-width:6em;margin:0.2em 1em 0.2em 0}";
|
|
4470
|
+
|
|
4471
|
+
let PnProductCard$1 = class extends HTMLElement {
|
|
4472
|
+
constructor() {
|
|
4473
|
+
super();
|
|
4474
|
+
this.__registerHost();
|
|
4475
|
+
}
|
|
4476
|
+
render() {
|
|
4477
|
+
return (h(Host, null, h("slot", { name: "illustration" }), h("div", { class: "cardcontent" }, h("div", { class: "details" }, h("slot", { name: "content" }), h("div", { class: "info" }, h("slot", null)), h("slot", { name: "note" }), h("slot", { name: "additionalUSP" })), h("div", { class: "cardprice" }, h("div", null, h("slot", { name: "price" }), h("slot", { name: "sendDirectPrice" }), h("slot", { name: "stampPrice" }))))));
|
|
4478
|
+
}
|
|
4479
|
+
static get style() { return pnProductCardCss; }
|
|
4480
|
+
};
|
|
4481
|
+
|
|
4482
|
+
const pnProductCardInfoCss = "pn-product-card-info{-ms-flex-item-align:center;align-self:center}.cardinfocontent{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;font-size:0.875em}.cardinfocontent>div{margin:10px}[slot=formatPre]{font-size:1em;font-family:\"PostNordSans\", \"Verdana\"}[slot=formatPre]>strong{font-weight:bold}.cardinfoprice{display:-ms-flexbox;display:flex;font-size:1em;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}";
|
|
4483
|
+
|
|
4484
|
+
let PnProductCardInfo$1 = class extends HTMLElement {
|
|
4485
|
+
constructor() {
|
|
4486
|
+
super();
|
|
4487
|
+
this.__registerHost();
|
|
4488
|
+
}
|
|
4489
|
+
render() {
|
|
4490
|
+
return (this.label) ? (h(Host, null, h("div", { class: "cardinfocontent" }, (this.text) ? (h("pre", { slot: "formatPre" }, this.text)) : null))) : (h(Host, null, h("div", { class: "cardinfocontent" }, h("div", null, h("h4", null, "Paket:"), h("pre", { slot: "formatPre" }, this.paket)), h("div", null, h("h4", null, "Rulle:"), h("pre", { slot: "formatPre" }, this.rulle)))));
|
|
4491
|
+
}
|
|
4492
|
+
static get style() { return pnProductCardInfoCss; }
|
|
4493
|
+
};
|
|
4494
|
+
h("pn-icon", { symbol: "align-center", small: "false", color: "black" });
|
|
4495
|
+
|
|
4496
|
+
const pnProductCardPriceCss = "pn-product-card-price{margin-top:1em;white-space:nowrap;text-align:center}pn-product-card-price span{font-size:1.25em}pn-product-card-price span:last-child{display:inline-block;margin-left:0.2em}pn-product-card-price+pn-product-card-price{margin-left:1.5em}pn-product-card-price pn-icon{display:inline-block;-ms-flex-item-align:center;align-self:center}pn-product-card-price pn-button{width:12.8em;margin-bottom:1em;margin-top:0.5em}pn-product-card-price p{font-weight:lighter;font-size:0.6em;-ms-flex-item-align:center;align-self:center;margin-top:0.5em}pn-product-card-price a{text-decoration:none;color:#005D92}pn-product-card-price a h3{text-decoration:underline}";
|
|
4497
|
+
|
|
4498
|
+
let PnProductCardPrice$1 = class extends HTMLElement {
|
|
4499
|
+
constructor() {
|
|
4500
|
+
super();
|
|
4501
|
+
this.__registerHost();
|
|
4502
|
+
}
|
|
4503
|
+
render() {
|
|
4504
|
+
if (!this.amount) {
|
|
4505
|
+
return;
|
|
4506
|
+
}
|
|
4507
|
+
return (this.url) ? (h(Host, null, h("h3", null, (this.amount) ? (h("span", null, this.amount)) : null, (this.currency) ? (h("span", null, this.currency)) : null, (this.note) ? (h("p", null, this.note)) : null), (this.label) ? (h("a", { href: this.url }, h("pn-button", { small: "true", icon: "arrow-right", appearance: "secondary" }, this.label))) : null)) : (h(Host, null, h("h3", null, (this.amount) ? (h("span", null, this.amount)) : null, (this.currency) ? (h("span", null, this.currency)) : null)));
|
|
4508
|
+
}
|
|
4509
|
+
static get style() { return pnProductCardPriceCss; }
|
|
4510
|
+
};
|
|
4511
|
+
|
|
4495
4512
|
const translations$2 = {
|
|
4496
4513
|
'sv': {
|
|
4497
4514
|
'maxweightlabel': 'Maxvikt',
|
|
@@ -5209,6 +5226,9 @@ const PnMarketwebSiteheader = /*@__PURE__*/proxyCustomElement(PnMarketwebSitehea
|
|
|
5209
5226
|
const PnMarketwebSiteheaderLogin = /*@__PURE__*/proxyCustomElement(PnMarketwebSiteheaderLogin$1, [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]}]);
|
|
5210
5227
|
const PnMarketwebSiteheaderSearch = /*@__PURE__*/proxyCustomElement(PnMarketwebSiteheaderSearch$1, [0,"pn-marketweb-siteheader-search",{"i18n":[8,"i-1-8n"],"showOnlyLink":[1028,"show-only-link"],"hideSearch":[1028,"hide-search"],"search":[1040]}]);
|
|
5211
5228
|
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"]]]);
|
|
5229
|
+
const PnProductCard = /*@__PURE__*/proxyCustomElement(PnProductCard$1, [4,"pn-product-card"]);
|
|
5230
|
+
const PnProductCardInfo = /*@__PURE__*/proxyCustomElement(PnProductCardInfo$1, [0,"pn-product-card-info",{"rulle":[1],"paket":[1],"label":[1],"text":[1]}]);
|
|
5231
|
+
const PnProductCardPrice = /*@__PURE__*/proxyCustomElement(PnProductCardPrice$1, [0,"pn-product-card-price",{"label":[1],"amount":[1],"currency":[1],"note":[1],"url":[1]}]);
|
|
5212
5232
|
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]}]);
|
|
5213
5233
|
const PnProductPricelistResult = /*@__PURE__*/proxyCustomElement(PnFindProductPricelistResult, [0,"pn-product-pricelist-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]);
|
|
5214
5234
|
const PnProductTile = /*@__PURE__*/proxyCustomElement(PnProductTile$1, [4,"pn-product-tile"]);
|
|
@@ -5245,6 +5265,9 @@ const defineCustomElements = (opts) => {
|
|
|
5245
5265
|
PnMarketwebSiteheaderLogin,
|
|
5246
5266
|
PnMarketwebSiteheaderSearch,
|
|
5247
5267
|
PnPexPricefinder,
|
|
5268
|
+
PnProductCard,
|
|
5269
|
+
PnProductCardInfo,
|
|
5270
|
+
PnProductCardPrice,
|
|
5248
5271
|
PnProductPricelist,
|
|
5249
5272
|
PnProductPricelistResult,
|
|
5250
5273
|
PnProductTile,
|
|
@@ -5266,4 +5289,4 @@ const defineCustomElements = (opts) => {
|
|
|
5266
5289
|
}
|
|
5267
5290
|
};
|
|
5268
5291
|
|
|
5269
|
-
export { PnBonusProgressbar, PnBonusProgressbarLevel, PnChoiceButton, PnFilterCheckbox, PnFilterSearch, PnFindPrice, PnFindPriceResult, PnFindServiceAndPrice, PnFindServiceAndPriceResult, PnLanguageSelector, PnLanguageSelectorOption, PnMainnav, PnMainnavLevel, PnMainnavLink, PnMainnavList, PnMarketwebSitefooter, PnMarketwebSiteheader, PnMarketwebSiteheaderLogin, PnMarketwebSiteheaderSearch, PnPexPricefinder, PnProductPricelist, PnProductPricelistResult, PnProductTile, PnProductTileInfo, PnProductTilePrice, PnProfileSelector, PnSidenav, PnSidenavLevel, PnSidenavLink, PnSiteFooter, PnSiteFooterCol, PnSiteSelector, PnSiteSelectorItem, defineCustomElements };
|
|
5292
|
+
export { PnBonusProgressbar, PnBonusProgressbarLevel, PnChoiceButton, PnFilterCheckbox, PnFilterSearch, PnFindPrice, PnFindPriceResult, PnFindServiceAndPrice, PnFindServiceAndPriceResult, PnLanguageSelector, PnLanguageSelectorOption, PnMainnav, PnMainnavLevel, PnMainnavLink, PnMainnavList, PnMarketwebSitefooter, PnMarketwebSiteheader, PnMarketwebSiteheaderLogin, PnMarketwebSiteheaderSearch, PnPexPricefinder, PnProductCard, PnProductCardInfo, PnProductCardPrice, PnProductPricelist, PnProductPricelistResult, PnProductTile, PnProductTileInfo, PnProductTilePrice, PnProfileSelector, PnSidenav, PnSidenavLevel, PnSidenavLink, PnSiteFooter, PnSiteFooterCol, PnSiteSelector, PnSiteSelectorItem, defineCustomElements };
|
package/esm/loader.js
CHANGED
|
@@ -10,7 +10,7 @@ const patchEsm = () => {
|
|
|
10
10
|
const defineCustomElements = (win, options) => {
|
|
11
11
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
12
12
|
return patchEsm().then(() => {
|
|
13
|
-
return bootstrapLazy([["pn-marketweb-siteheader",[[4,"pn-marketweb-siteheader",{"market":[1537],"language":[1537],"environment":[1537],"token":[1],"endpoint":[1],"hideSiteSelector":[1540,"hide-site-selector"],"hideLanguageSelector":[1540,"hide-language-selector"],"hideSearch":[1540,"hide-search"],"hideLogin":[1540,"hide-login"],"sessionForward":[4,"session-forward"],"cache":[4],"spaMode":[4,"spa-mode"],"i18n":[32],"gotData":[32],"fetchingData":[32],"homePageLink":[32],"menuItems":[32],"siteDefinition":[32],"search":[32],"siteSelector":[32],"languageSelector":[32],"languageOptions":[32],"loginDialog":[32],"minimizeSearch":[32],"loggedIn":[32],"loginManager":[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["pn-find-price",[[0,"pn-find-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"weight":[32],"weightvalue":[32],"sourceData":[32],"sizecategory":[32]}]]],["pn-find-service-and-price",[[0,"pn-find-service-and-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"postagetype":[32],"weight":[32],"weightvalue":[32],"deliveryscope":[32],"sourceData":[32]}]]],["pn-product-pricelist",[[4,"pn-product-pricelist",{"source":[1],"language":[1025],"market":[1025],"productid":[1],"filteredItems":[32],"sourceData":[32],"gotData":[32],"loading":[32],"postagetype":[32],"weight":[32],"weightvalue":[32]}]]],["pn-marketweb-sitefooter",[[0,"pn-marketweb-sitefooter",{"market":[1537],"language":[1537],"environment":[1537],"endpoint":[1],"cache":[4],"siteDefinition":[32],"footerContent":[32],"i18n":[32],"gotData":[32],"fetchingData":[32]}]]],["pn-bonus-progressbar",[[4,"pn-bonus-progressbar",{"icon":[1],"heading":[1],"theme":[513],"bonuspercentage":[1],"currency":[513],"value":[1538],"min":[1538],"max":[1538],"valuepercentage":[32],"progresspercentage":[32],"levelValues":[32],"currentLevelAdjustedValue":[32]}]]],["pn-filter-checkbox",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-filter-search",[[1,"pn-filter-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4]},[[0,"input","inputHandler"]]]]],["pn-pex-pricefinder",[[0,"pn-pex-pricefinder",{"language":[1],"currency":[1],"apiUrl":[1,"api-url"],"i18n":[32],"fromzip":[32],"tozip":[32],"weight":[32],"when":[32],"response":[32]},[[0,"language","setLanguage"]]]]],["pn-profile-selector",[[0,"pn-profile-selector",{"language":[1537],"returnUrl":[1,"return-url"],"spamode":[4],"loginManager":[32],"loggedIn":[32],"i18n":[32],"isLoading":[32],"numberOfProfiles":[32]}]]],["pn-sidenav",[[4,"pn-sidenav",{"language":[1],"navLabel":[1,"nav-label"],"i18n":[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["pn-sidenav-level",[[4,"pn-sidenav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"alignment":[32]}]]],["pn-sidenav-link",[[4,"pn-sidenav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"icon":[1],"current":[4],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-find-price-result",[[0,"pn-find-price-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]]],["pn-find-service-and-price-result",[[0,"pn-find-service-and-price-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]]],["pn-product-pricelist-result",[[0,"pn-product-pricelist-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]]],["pn-bonus-progressbar-level",[[0,"pn-bonus-progressbar-level",{"current":[516],"value":[1538],"bonuspercentage":[1537],"visualpercentage":[1538],"percentage":[32],"max":[32],"min":[32],"currency":[32]}]]],["pn-site-footer_2",[[4,"pn-site-footer",{"url":[1]}],[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-language-selector_9",[[4,"pn-mainnav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"listCount":[32],"alignment":[32]}],[4,"pn-language-selector",{"value":[1537],"selectedLanguageName":[32],"options":[32],"i18n":[32]}],[0,"pn-language-selector-option",{"name":[1],"code":[1],"url":[1],"selected":[4],"currentLanguage":[1,"current-language"]}],[4,"pn-mainnav",{"market":[1],"language":[1],"navigationId":[1,"navigation-id"],"openMenu":[1028,"open-menu"],"navLabel":[1,"nav-label"]},[[0,"language","setLanguage"],[0,"market","setMarket"],[0,"menuLanguageChange","onLanguageChange"],[0,"setmenuopenstate","setMenuOpenState"],[0,"openMenuLevelChange","onOpenMenuLevelChange"]]],[4,"pn-mainnav-list",{"heading":[1],"linkCount":[32]}],[0,"pn-marketweb-siteheader-login",{"endpoint":[1],"token":[1],"i18n":[8,"i-1-8n"],"emitEvents":[4,"emit-events"],"loginDialog":[1040],"loginManager":[32],"loggedIn":[32],"toggleButtonText":[32],"username":[32]}],[0,"pn-marketweb-siteheader-search",{"i18n":[8,"i-1-8n"],"showOnlyLink":[1028,"show-only-link"],"hideSearch":[1028,"hide-search"],"search":[1040]}],[4,"pn-site-selector",{"buttontext":[1537],"heading":[1537],"language":[1537],"i18n":[32]}],[0,"pn-site-selector-item",{"url":[1],"heading":[1],"description":[1],"newwindow":[4]}]]],["pn-product-tile_3",[[4,"pn-product-tile"],[0,"pn-product-tile-info",{"label":[1],"text":[1],"icon":[1]}],[0,"pn-product-tile-price",{"label":[1],"amount":[1],"currency":[1],"url":[1]}]]]], options);
|
|
13
|
+
return bootstrapLazy([["pn-marketweb-siteheader",[[4,"pn-marketweb-siteheader",{"market":[1537],"language":[1537],"environment":[1537],"token":[1],"endpoint":[1],"hideSiteSelector":[1540,"hide-site-selector"],"hideLanguageSelector":[1540,"hide-language-selector"],"hideSearch":[1540,"hide-search"],"hideLogin":[1540,"hide-login"],"sessionForward":[4,"session-forward"],"cache":[4],"spaMode":[4,"spa-mode"],"i18n":[32],"gotData":[32],"fetchingData":[32],"homePageLink":[32],"menuItems":[32],"siteDefinition":[32],"search":[32],"siteSelector":[32],"languageSelector":[32],"languageOptions":[32],"loginDialog":[32],"minimizeSearch":[32],"loggedIn":[32],"loginManager":[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["pn-find-price",[[0,"pn-find-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"weight":[32],"weightvalue":[32],"sourceData":[32],"sizecategory":[32]}]]],["pn-find-service-and-price",[[0,"pn-find-service-and-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"postagetype":[32],"weight":[32],"weightvalue":[32],"deliveryscope":[32],"sourceData":[32]}]]],["pn-product-pricelist",[[4,"pn-product-pricelist",{"source":[1],"language":[1025],"market":[1025],"productid":[1],"filteredItems":[32],"sourceData":[32],"gotData":[32],"loading":[32],"postagetype":[32],"weight":[32],"weightvalue":[32]}]]],["pn-marketweb-sitefooter",[[0,"pn-marketweb-sitefooter",{"market":[1537],"language":[1537],"environment":[1537],"endpoint":[1],"cache":[4],"siteDefinition":[32],"footerContent":[32],"i18n":[32],"gotData":[32],"fetchingData":[32]}]]],["pn-bonus-progressbar",[[4,"pn-bonus-progressbar",{"icon":[1],"heading":[1],"theme":[513],"bonuspercentage":[1],"currency":[513],"value":[1538],"min":[1538],"max":[1538],"valuepercentage":[32],"progresspercentage":[32],"levelValues":[32],"currentLevelAdjustedValue":[32]}]]],["pn-filter-checkbox",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-filter-search",[[1,"pn-filter-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4]},[[0,"input","inputHandler"]]]]],["pn-pex-pricefinder",[[0,"pn-pex-pricefinder",{"language":[1],"currency":[1],"apiUrl":[1,"api-url"],"i18n":[32],"fromzip":[32],"tozip":[32],"weight":[32],"when":[32],"response":[32]},[[0,"language","setLanguage"]]]]],["pn-profile-selector",[[0,"pn-profile-selector",{"language":[1537],"returnUrl":[1,"return-url"],"spamode":[4],"loginManager":[32],"loggedIn":[32],"i18n":[32],"isLoading":[32],"numberOfProfiles":[32]}]]],["pn-sidenav",[[4,"pn-sidenav",{"language":[1],"navLabel":[1,"nav-label"],"i18n":[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["pn-sidenav-level",[[4,"pn-sidenav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"alignment":[32]}]]],["pn-sidenav-link",[[4,"pn-sidenav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"icon":[1],"current":[4],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-find-price-result",[[0,"pn-find-price-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]]],["pn-find-service-and-price-result",[[0,"pn-find-service-and-price-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]]],["pn-product-pricelist-result",[[0,"pn-product-pricelist-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]]],["pn-bonus-progressbar-level",[[0,"pn-bonus-progressbar-level",{"current":[516],"value":[1538],"bonuspercentage":[1537],"visualpercentage":[1538],"percentage":[32],"max":[32],"min":[32],"currency":[32]}]]],["pn-site-footer_2",[[4,"pn-site-footer",{"url":[1]}],[4,"pn-site-footer-col"]]],["pn-choice-button",[[4,"pn-choice-button",{"value":[520],"name":[1],"choiceid":[1],"type":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-mainnav-link",[[4,"pn-mainnav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-product-card_3",[[4,"pn-product-card"],[0,"pn-product-card-info",{"rulle":[1],"paket":[1],"label":[1],"text":[1]}],[0,"pn-product-card-price",{"label":[1],"amount":[1],"currency":[1],"note":[1],"url":[1]}]]],["pn-language-selector_9",[[4,"pn-mainnav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"listCount":[32],"alignment":[32]}],[4,"pn-language-selector",{"value":[1537],"selectedLanguageName":[32],"options":[32],"i18n":[32]}],[0,"pn-language-selector-option",{"name":[1],"code":[1],"url":[1],"selected":[4],"currentLanguage":[1,"current-language"]}],[4,"pn-mainnav",{"market":[1],"language":[1],"navigationId":[1,"navigation-id"],"openMenu":[1028,"open-menu"],"navLabel":[1,"nav-label"]},[[0,"language","setLanguage"],[0,"market","setMarket"],[0,"menuLanguageChange","onLanguageChange"],[0,"setmenuopenstate","setMenuOpenState"],[0,"openMenuLevelChange","onOpenMenuLevelChange"]]],[4,"pn-mainnav-list",{"heading":[1],"linkCount":[32]}],[0,"pn-marketweb-siteheader-login",{"endpoint":[1],"token":[1],"i18n":[8,"i-1-8n"],"emitEvents":[4,"emit-events"],"loginDialog":[1040],"loginManager":[32],"loggedIn":[32],"toggleButtonText":[32],"username":[32]}],[0,"pn-marketweb-siteheader-search",{"i18n":[8,"i-1-8n"],"showOnlyLink":[1028,"show-only-link"],"hideSearch":[1028,"hide-search"],"search":[1040]}],[4,"pn-site-selector",{"buttontext":[1537],"heading":[1537],"language":[1537],"i18n":[32]}],[0,"pn-site-selector-item",{"url":[1],"heading":[1],"description":[1],"newwindow":[4]}]]],["pn-product-tile_3",[[4,"pn-product-tile"],[0,"pn-product-tile-info",{"label":[1],"text":[1],"icon":[1]}],[0,"pn-product-tile-price",{"label":[1],"amount":[1],"currency":[1],"url":[1]}]]]], options);
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host } from './index-b26d0794.js';
|
|
2
|
-
import { s as state } from './pn-find-price-store-
|
|
2
|
+
import { s as state } from './pn-find-price-store-8560f26c.js';
|
|
3
3
|
import './index-94746173.js';
|
|
4
4
|
|
|
5
|
-
const pnFindPriceResultCss = "pn-find-price-result .test{margin:3em 0}";
|
|
5
|
+
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}";
|
|
6
6
|
|
|
7
7
|
let PnfindPriceResult = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -15,21 +15,11 @@ let PnfindPriceResult = class {
|
|
|
15
15
|
this.composeItems();
|
|
16
16
|
}
|
|
17
17
|
composeItems() {
|
|
18
|
-
this.shownitems = [];
|
|
19
|
-
if (this.item.pricestamps) {
|
|
20
|
-
this.shownitems.push(Object.assign(Object.assign({}, this.item), { priceagent: null, pricesenddirect: null }));
|
|
21
|
-
}
|
|
22
|
-
if (this.item.priceagent) {
|
|
23
|
-
this.shownitems.push(Object.assign(Object.assign({}, this.item), { pricestamps: null, pricesenddirect: null }));
|
|
24
|
-
}
|
|
25
|
-
if (this.item.pricesenddirect) {
|
|
26
|
-
this.shownitems.push(Object.assign(Object.assign({}, this.item), { pricestamps: null, priceagent: null }));
|
|
27
|
-
}
|
|
28
|
-
this.weightText = (this.item.maxweight <= 20) ? this.item.maxweight + 'kg' :
|
|
29
|
-
(this.item.maxweight > 999) ? Math.round(this.item.maxweight / 1000) + " kg" : this.item.maxweight + " g";
|
|
30
18
|
}
|
|
31
19
|
render() {
|
|
32
|
-
return (h(Host, null,
|
|
20
|
+
return (h(Host, null, h("pn-product-card", null, h("pn-illustration", { slot: "illustration", illustration: this.item.illustration }), h("div", { slot: "content" }, h("div", { class: "content" }, h("h3", null, this.item.name, (this.item.highestrankusp) ?
|
|
21
|
+
(this.item.highestrankusp === "Biligast") ?
|
|
22
|
+
(h("span", { slot: "Biligast" }, this.item.highestrankusp)) : (h("span", { slot: "Snabbast" }, this.item.highestrankusp)) : null), (this.item.description) ? (h("div", { class: "description" }, this.item.description)) : 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("small", { slot: "additionalUSP" }, h("p", null, this.item.additionalusp))) : null, this.item.maximummeasurements ? (h("pn-product-card-info", { label: state.i18n.maxmeasurementlabel, text: this.item.maximummeasurements })) : null, this.item.paket ? (h("pn-product-card-info", { paket: this.item.paket, rulle: this.item.rulle })) : null, this.item.priceagent ? (h("pn-product-card-price", { slot: "price", label: "", amount: this.item.priceagent + '', currency: state.market.currency, url: "https://shop.postnord.se/ebutik/default.aspx" })) : null, this.item.pricesenddirect ? (h("pn-product-card-price", { slot: "sendDirectPrice", label: state.i18n.senddirectcta, amount: this.item.pricesenddirect + '', currency: state.market.currency, url: "https://portal.postnord.com/skickadirekt/" })) : null, this.item.pricestamps ? (h("pn-product-card-price", { slot: "stampPrice", label: state.i18n.stampshopcta, amount: this.item.pricestamps + '', currency: state.market.currency, url: "https://shop.postnord.se/ebutik/default.aspx", note: state.i18n.message })) : null)));
|
|
33
23
|
}
|
|
34
24
|
static get watchers() { return {
|
|
35
25
|
"item": ["composeItems"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-b26d0794.js';
|
|
2
2
|
import { c as convertFileForSizeCategogy } from './convert-8cce67c4.js';
|
|
3
|
-
import { s as state } from './pn-find-price-store-
|
|
3
|
+
import { s as state } from './pn-find-price-store-8560f26c.js';
|
|
4
4
|
import './index-94746173.js';
|
|
5
5
|
|
|
6
6
|
const translations = {
|
|
@@ -12,8 +12,9 @@ const translations = {
|
|
|
12
12
|
'weightlabel': 'Vikt',
|
|
13
13
|
'maxweightlabel': 'Maxvikt',
|
|
14
14
|
'maxmeasurementlabel': 'Maxvolym',
|
|
15
|
-
'senddirectcta': 'Köp
|
|
16
|
-
'stampshopcta': '
|
|
15
|
+
'senddirectcta': 'Köp portokod online',
|
|
16
|
+
'stampshopcta': 'Beställ fysiska frimärken',
|
|
17
|
+
'message': '*Vid köp hos valfritt ombud'
|
|
17
18
|
},
|
|
18
19
|
'en': {
|
|
19
20
|
'componentheading': 'What do you want to send?',
|
|
@@ -23,8 +24,9 @@ const translations = {
|
|
|
23
24
|
'weightlabel': 'Weight',
|
|
24
25
|
'maxweightlabel': 'Max weight',
|
|
25
26
|
'maxmeasurementlabel': 'Maximum measurement',
|
|
26
|
-
'senddirectcta': 'Buy
|
|
27
|
-
'stampshopcta': 'Order
|
|
27
|
+
'senddirectcta': 'Buy postcode online',
|
|
28
|
+
'stampshopcta': 'Order physical stamps',
|
|
29
|
+
'message': 'When buying from any agent'
|
|
28
30
|
},
|
|
29
31
|
'da': {
|
|
30
32
|
'componentheading': 'Vad vill du skicka?',
|
|
@@ -76,70 +78,46 @@ const markets = {
|
|
|
76
78
|
};
|
|
77
79
|
|
|
78
80
|
const sizeCategories = [
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
];
|
|
81
|
+
{ name: "Dokument eller paket upp till 2 kg", value: "upto2kg", illustration: "package-letter-calendar", unit: "2kg", maxWeight:2 },
|
|
82
|
+
{ name: "Större paket M-L upp till 5 kg", value: "upto5kg", illustration: "packages-in-a-pile", unit: "5kg", maxWeight:5},
|
|
83
|
+
{ name: "Tyngre paket upp till 20 kg", value: "upto20kg", illustration: "scale-package-16-abroad", unit: "20kg", maxWeight: 20 },
|
|
84
|
+
];
|
|
84
85
|
|
|
85
86
|
const weights = {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
"
|
|
116
|
-
|
|
117
|
-
{ name: "100g", abbreviation: 'g', value: 100 },
|
|
118
|
-
{ name: "250g", abbreviation: 'g', value: 250 },
|
|
119
|
-
{ name: "500g", abbreviation: 'g', value: 500 },
|
|
120
|
-
{ name: "1kg", abbreviation: 'kg', value: 1 },
|
|
121
|
-
{ name: "2kg", abbreviation: 'kg', value: 2 },
|
|
122
|
-
{ name: "3kg", abbreviation: 'kg', value: 3 },
|
|
123
|
-
{ name: "4kg", abbreviation: 'kg', value: 4 },
|
|
124
|
-
{ name: "5kg", abbreviation: 'kg', value: 5 },
|
|
125
|
-
{ name: "6kg", abbreviation: 'kg', value: 6 },
|
|
126
|
-
{ name: "7Kg", abbreviation: 'kg', value: 7 },
|
|
127
|
-
{ name: "8kg", abbreviation: 'kg', value: 8 },
|
|
128
|
-
{ name: "9kg", abbreviation: 'kg', value: 9 },
|
|
129
|
-
{ name: "10kg", abbreviation: 'kg', value: 10 },
|
|
130
|
-
{ name: "11kg", abbreviation: 'kg', value: 11 },
|
|
131
|
-
{ name: "12kg", abbreviation: 'kg', value: 12 },
|
|
132
|
-
{ name: "13kg", abbreviation: 'kg', value: 13 },
|
|
133
|
-
{ name: "14kg", abbreviation: 'kg', value: 14 },
|
|
134
|
-
{ name: "15kg", abbreviation: 'kg', value: 15 },
|
|
135
|
-
{ name: "16kg", abbreviation: 'kg', value: 16 },
|
|
136
|
-
{ name: "17kg", abbreviation: 'kg', value: 17 },
|
|
137
|
-
{ name: "18kg", abbreviation: 'kg', value: 18 },
|
|
138
|
-
{ name: "20kg", abbreviation: 'kg', value: 20 },
|
|
139
|
-
]
|
|
87
|
+
"2kg": [
|
|
88
|
+
{ name: "50g", abbreviation: 'g', value: 50 },
|
|
89
|
+
{ name: "100g", abbreviation: 'g', value: 100 },
|
|
90
|
+
{ name: "250g", abbreviation: 'g', value: 250 },
|
|
91
|
+
{ name: "500g", abbreviation: 'g', value: 500 },
|
|
92
|
+
{ name: "1kg", abbreviation: 'kg', value: 1 },
|
|
93
|
+
{ name: "2kg", abbreviation: 'kg', value: 2 },
|
|
94
|
+
],
|
|
95
|
+
"5kg": [
|
|
96
|
+
{ name: "2kg", abbreviation: 'kg', value: 2 },
|
|
97
|
+
{ name: "3kg", abbreviation: 'kg', value: 3 },
|
|
98
|
+
{ name: "4kg", abbreviation: 'kg', value: 4 },
|
|
99
|
+
{ name: "5kg", abbreviation: 'kg', value: 5 },
|
|
100
|
+
],
|
|
101
|
+
"20kg": [
|
|
102
|
+
{ name: "5kg", abbreviation: 'kg', value: 5 },
|
|
103
|
+
{ name: "6kg", abbreviation: 'kg', value: 6 },
|
|
104
|
+
{ name: "7Kg", abbreviation: 'kg', value: 7 },
|
|
105
|
+
{ name: "8kg", abbreviation: 'kg', value: 8 },
|
|
106
|
+
{ name: "9kg", abbreviation: 'kg', value: 9 },
|
|
107
|
+
{ name: "10kg", abbreviation: 'kg', value: 10 },
|
|
108
|
+
{ name: "11kg", abbreviation: 'kg', value: 11 },
|
|
109
|
+
{ name: "12kg", abbreviation: 'kg', value: 12 },
|
|
110
|
+
{ name: "13kg", abbreviation: 'kg', value: 13 },
|
|
111
|
+
{ name: "14kg", abbreviation: 'kg', value: 14 },
|
|
112
|
+
{ name: "15kg", abbreviation: 'kg', value: 15 },
|
|
113
|
+
{ name: "16kg", abbreviation: 'kg', value: 16 },
|
|
114
|
+
{ name: "17kg", abbreviation: 'kg', value: 17 },
|
|
115
|
+
{ name: "18kg", abbreviation: 'kg', value: 18 },
|
|
116
|
+
{ name: "20kg", abbreviation: 'kg', value: 20 },
|
|
117
|
+
]
|
|
140
118
|
};
|
|
141
119
|
|
|
142
|
-
const pnFindPriceCss = "pn-find-price .findprice-form{max-width:50em;margin:0 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 .sizecategory{text-align:center;margin-bottom:3rem}pn-find-price .weightoption{display:-ms-flexbox;display:flex;gap:1em}pn-find-price .weightoption-input{width:5em;position:relative}pn-find-price .weightoption-input input::-webkit-outer-spin-button,pn-find-price .weightoption-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}pn-find-price .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-find-price .weightoption-range{-ms-flex-positive:1;flex-grow:1;-ms-flex-item-align:end;align-self:flex-end;position:relative;top:0.5em}pn-find-price .weightoption-range input{width:calc(100% - 1.5em)}pn-find-price .weightoption-range datalist{width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75em}pn-find-price .resultlist{margin:3em 0}";
|
|
120
|
+
const pnFindPriceCss = "pn-find-price .findprice-form{max-width:50em;margin:0 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 .sizecategory{text-align:center;margin-bottom:3rem;font-size:0.9em}pn-find-price .weightoption{display:-ms-flexbox;display:flex;gap:1em}pn-find-price .weightoption-input{width:5em;position:relative}pn-find-price .weightoption-input input::-webkit-outer-spin-button,pn-find-price .weightoption-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}pn-find-price .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-find-price .weightoption-range{-ms-flex-positive:1;flex-grow:1;-ms-flex-item-align:end;align-self:flex-end;position:relative;top:0.5em}pn-find-price .weightoption-range input{width:calc(100% - 1.5em)}pn-find-price .weightoption-range datalist{width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75em}pn-find-price .resultlist{margin:3em 0}";
|
|
143
121
|
|
|
144
122
|
let PnfindPrice = class {
|
|
145
123
|
constructor(hostRef) {
|
|
@@ -207,6 +185,11 @@ let PnfindPrice = class {
|
|
|
207
185
|
}
|
|
208
186
|
}
|
|
209
187
|
}
|
|
188
|
+
weightFilteredData.sort((a, b) => {
|
|
189
|
+
var rankA = a.highestrankusp ? a.highestrankusp.toLowerCase() : "z";
|
|
190
|
+
var rankB = b.highestrankusp ? b.highestrankusp.toLowerCase() : "z";
|
|
191
|
+
return (rankA.localeCompare(rankB));
|
|
192
|
+
});
|
|
210
193
|
this.filteredItems = weightFilteredData;
|
|
211
194
|
}
|
|
212
195
|
render() {
|
|
@@ -53,5 +53,5 @@ const patchCloneNodeFix = (HTMLElementPrototype) => {
|
|
|
53
53
|
};
|
|
54
54
|
|
|
55
55
|
patchBrowser().then(options => {
|
|
56
|
-
return bootstrapLazy([["pn-marketweb-siteheader",[[4,"pn-marketweb-siteheader",{"market":[1537],"language":[1537],"environment":[1537],"token":[1],"endpoint":[1],"hideSiteSelector":[1540,"hide-site-selector"],"hideLanguageSelector":[1540,"hide-language-selector"],"hideSearch":[1540,"hide-search"],"hideLogin":[1540,"hide-login"],"sessionForward":[4,"session-forward"],"cache":[4],"spaMode":[4,"spa-mode"],"i18n":[32],"gotData":[32],"fetchingData":[32],"homePageLink":[32],"menuItems":[32],"siteDefinition":[32],"search":[32],"siteSelector":[32],"languageSelector":[32],"languageOptions":[32],"loginDialog":[32],"minimizeSearch":[32],"loggedIn":[32],"loginManager":[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["pn-find-price",[[0,"pn-find-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"weight":[32],"weightvalue":[32],"sourceData":[32],"sizecategory":[32]}]]],["pn-find-service-and-price",[[0,"pn-find-service-and-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"postagetype":[32],"weight":[32],"weightvalue":[32],"deliveryscope":[32],"sourceData":[32]}]]],["pn-product-pricelist",[[4,"pn-product-pricelist",{"source":[1],"language":[1025],"market":[1025],"productid":[1],"filteredItems":[32],"sourceData":[32],"gotData":[32],"loading":[32],"postagetype":[32],"weight":[32],"weightvalue":[32]}]]],["pn-marketweb-sitefooter",[[0,"pn-marketweb-sitefooter",{"market":[1537],"language":[1537],"environment":[1537],"endpoint":[1],"cache":[4],"siteDefinition":[32],"footerContent":[32],"i18n":[32],"gotData":[32],"fetchingData":[32]}]]],["pn-bonus-progressbar",[[4,"pn-bonus-progressbar",{"icon":[1],"heading":[1],"theme":[513],"bonuspercentage":[1],"currency":[513],"value":[1538],"min":[1538],"max":[1538],"valuepercentage":[32],"progresspercentage":[32],"levelValues":[32],"currentLevelAdjustedValue":[32]}]]],["pn-filter-checkbox",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-filter-search",[[1,"pn-filter-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4]},[[0,"input","inputHandler"]]]]],["pn-pex-pricefinder",[[0,"pn-pex-pricefinder",{"language":[1],"currency":[1],"apiUrl":[1,"api-url"],"i18n":[32],"fromzip":[32],"tozip":[32],"weight":[32],"when":[32],"response":[32]},[[0,"language","setLanguage"]]]]],["pn-profile-selector",[[0,"pn-profile-selector",{"language":[1537],"returnUrl":[1,"return-url"],"spamode":[4],"loginManager":[32],"loggedIn":[32],"i18n":[32],"isLoading":[32],"numberOfProfiles":[32]}]]],["pn-sidenav",[[4,"pn-sidenav",{"language":[1],"navLabel":[1,"nav-label"],"i18n":[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["pn-sidenav-level",[[4,"pn-sidenav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"alignment":[32]}]]],["pn-sidenav-link",[[4,"pn-sidenav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"icon":[1],"current":[4],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-find-price-result",[[0,"pn-find-price-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]]],["pn-find-service-and-price-result",[[0,"pn-find-service-and-price-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]]],["pn-product-pricelist-result",[[0,"pn-product-pricelist-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]]],["pn-bonus-progressbar-level",[[0,"pn-bonus-progressbar-level",{"current":[516],"value":[1538],"bonuspercentage":[1537],"visualpercentage":[1538],"percentage":[32],"max":[32],"min":[32],"currency":[32]}]]],["pn-site-footer_2",[[4,"pn-site-footer",{"url":[1]}],[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-language-selector_9",[[4,"pn-mainnav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"listCount":[32],"alignment":[32]}],[4,"pn-language-selector",{"value":[1537],"selectedLanguageName":[32],"options":[32],"i18n":[32]}],[0,"pn-language-selector-option",{"name":[1],"code":[1],"url":[1],"selected":[4],"currentLanguage":[1,"current-language"]}],[4,"pn-mainnav",{"market":[1],"language":[1],"navigationId":[1,"navigation-id"],"openMenu":[1028,"open-menu"],"navLabel":[1,"nav-label"]},[[0,"language","setLanguage"],[0,"market","setMarket"],[0,"menuLanguageChange","onLanguageChange"],[0,"setmenuopenstate","setMenuOpenState"],[0,"openMenuLevelChange","onOpenMenuLevelChange"]]],[4,"pn-mainnav-list",{"heading":[1],"linkCount":[32]}],[0,"pn-marketweb-siteheader-login",{"endpoint":[1],"token":[1],"i18n":[8,"i-1-8n"],"emitEvents":[4,"emit-events"],"loginDialog":[1040],"loginManager":[32],"loggedIn":[32],"toggleButtonText":[32],"username":[32]}],[0,"pn-marketweb-siteheader-search",{"i18n":[8,"i-1-8n"],"showOnlyLink":[1028,"show-only-link"],"hideSearch":[1028,"hide-search"],"search":[1040]}],[4,"pn-site-selector",{"buttontext":[1537],"heading":[1537],"language":[1537],"i18n":[32]}],[0,"pn-site-selector-item",{"url":[1],"heading":[1],"description":[1],"newwindow":[4]}]]],["pn-product-tile_3",[[4,"pn-product-tile"],[0,"pn-product-tile-info",{"label":[1],"text":[1],"icon":[1]}],[0,"pn-product-tile-price",{"label":[1],"amount":[1],"currency":[1],"url":[1]}]]]], options);
|
|
56
|
+
return bootstrapLazy([["pn-marketweb-siteheader",[[4,"pn-marketweb-siteheader",{"market":[1537],"language":[1537],"environment":[1537],"token":[1],"endpoint":[1],"hideSiteSelector":[1540,"hide-site-selector"],"hideLanguageSelector":[1540,"hide-language-selector"],"hideSearch":[1540,"hide-search"],"hideLogin":[1540,"hide-login"],"sessionForward":[4,"session-forward"],"cache":[4],"spaMode":[4,"spa-mode"],"i18n":[32],"gotData":[32],"fetchingData":[32],"homePageLink":[32],"menuItems":[32],"siteDefinition":[32],"search":[32],"siteSelector":[32],"languageSelector":[32],"languageOptions":[32],"loginDialog":[32],"minimizeSearch":[32],"loggedIn":[32],"loginManager":[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["pn-find-price",[[0,"pn-find-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"weight":[32],"weightvalue":[32],"sourceData":[32],"sizecategory":[32]}]]],["pn-find-service-and-price",[[0,"pn-find-service-and-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"postagetype":[32],"weight":[32],"weightvalue":[32],"deliveryscope":[32],"sourceData":[32]}]]],["pn-product-pricelist",[[4,"pn-product-pricelist",{"source":[1],"language":[1025],"market":[1025],"productid":[1],"filteredItems":[32],"sourceData":[32],"gotData":[32],"loading":[32],"postagetype":[32],"weight":[32],"weightvalue":[32]}]]],["pn-marketweb-sitefooter",[[0,"pn-marketweb-sitefooter",{"market":[1537],"language":[1537],"environment":[1537],"endpoint":[1],"cache":[4],"siteDefinition":[32],"footerContent":[32],"i18n":[32],"gotData":[32],"fetchingData":[32]}]]],["pn-bonus-progressbar",[[4,"pn-bonus-progressbar",{"icon":[1],"heading":[1],"theme":[513],"bonuspercentage":[1],"currency":[513],"value":[1538],"min":[1538],"max":[1538],"valuepercentage":[32],"progresspercentage":[32],"levelValues":[32],"currentLevelAdjustedValue":[32]}]]],["pn-filter-checkbox",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-filter-search",[[1,"pn-filter-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4]},[[0,"input","inputHandler"]]]]],["pn-pex-pricefinder",[[0,"pn-pex-pricefinder",{"language":[1],"currency":[1],"apiUrl":[1,"api-url"],"i18n":[32],"fromzip":[32],"tozip":[32],"weight":[32],"when":[32],"response":[32]},[[0,"language","setLanguage"]]]]],["pn-profile-selector",[[0,"pn-profile-selector",{"language":[1537],"returnUrl":[1,"return-url"],"spamode":[4],"loginManager":[32],"loggedIn":[32],"i18n":[32],"isLoading":[32],"numberOfProfiles":[32]}]]],["pn-sidenav",[[4,"pn-sidenav",{"language":[1],"navLabel":[1,"nav-label"],"i18n":[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["pn-sidenav-level",[[4,"pn-sidenav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"alignment":[32]}]]],["pn-sidenav-link",[[4,"pn-sidenav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"icon":[1],"current":[4],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-find-price-result",[[0,"pn-find-price-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]]],["pn-find-service-and-price-result",[[0,"pn-find-service-and-price-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]]],["pn-product-pricelist-result",[[0,"pn-product-pricelist-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]]],["pn-bonus-progressbar-level",[[0,"pn-bonus-progressbar-level",{"current":[516],"value":[1538],"bonuspercentage":[1537],"visualpercentage":[1538],"percentage":[32],"max":[32],"min":[32],"currency":[32]}]]],["pn-site-footer_2",[[4,"pn-site-footer",{"url":[1]}],[4,"pn-site-footer-col"]]],["pn-choice-button",[[4,"pn-choice-button",{"value":[520],"name":[1],"choiceid":[1],"type":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-mainnav-link",[[4,"pn-mainnav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-product-card_3",[[4,"pn-product-card"],[0,"pn-product-card-info",{"rulle":[1],"paket":[1],"label":[1],"text":[1]}],[0,"pn-product-card-price",{"label":[1],"amount":[1],"currency":[1],"note":[1],"url":[1]}]]],["pn-language-selector_9",[[4,"pn-mainnav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"listCount":[32],"alignment":[32]}],[4,"pn-language-selector",{"value":[1537],"selectedLanguageName":[32],"options":[32],"i18n":[32]}],[0,"pn-language-selector-option",{"name":[1],"code":[1],"url":[1],"selected":[4],"currentLanguage":[1,"current-language"]}],[4,"pn-mainnav",{"market":[1],"language":[1],"navigationId":[1,"navigation-id"],"openMenu":[1028,"open-menu"],"navLabel":[1,"nav-label"]},[[0,"language","setLanguage"],[0,"market","setMarket"],[0,"menuLanguageChange","onLanguageChange"],[0,"setmenuopenstate","setMenuOpenState"],[0,"openMenuLevelChange","onOpenMenuLevelChange"]]],[4,"pn-mainnav-list",{"heading":[1],"linkCount":[32]}],[0,"pn-marketweb-siteheader-login",{"endpoint":[1],"token":[1],"i18n":[8,"i-1-8n"],"emitEvents":[4,"emit-events"],"loginDialog":[1040],"loginManager":[32],"loggedIn":[32],"toggleButtonText":[32],"username":[32]}],[0,"pn-marketweb-siteheader-search",{"i18n":[8,"i-1-8n"],"showOnlyLink":[1028,"show-only-link"],"hideSearch":[1028,"hide-search"],"search":[1040]}],[4,"pn-site-selector",{"buttontext":[1537],"heading":[1537],"language":[1537],"i18n":[32]}],[0,"pn-site-selector-item",{"url":[1],"heading":[1],"description":[1],"newwindow":[4]}]]],["pn-product-tile_3",[[4,"pn-product-tile"],[0,"pn-product-tile-info",{"label":[1],"text":[1],"icon":[1]}],[0,"pn-product-tile-price",{"label":[1],"amount":[1],"currency":[1],"url":[1]}]]]], options);
|
|
57
57
|
});
|