@postnord/pn-marketweb-components 2.0.20-beta1 → 2.0.23-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.
Files changed (72) hide show
  1. package/cjs/loader.cjs.js +1 -1
  2. package/cjs/pn-find-price-result.cjs.entry.js +9 -2
  3. package/cjs/{pn-find-price-store-b0ea47ed.js → pn-find-price-store-a2728ff4.js} +2 -1
  4. package/cjs/pn-find-price.cjs.entry.js +13 -9
  5. package/cjs/pn-language-selector_9.cjs.entry.js +2 -1
  6. package/cjs/pn-market-web-components.cjs.js +1 -1
  7. package/cjs/pn-marketweb-siteheader-profileselection.cjs.entry.js +161 -0
  8. package/cjs/pn-product-card_4.cjs.entry.js +4 -4
  9. package/cjs/pn-product-pricelist.cjs.entry.js +1 -1
  10. package/collection/collection-manifest.json +1 -0
  11. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js +1 -0
  12. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-profileselection.css +0 -0
  13. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-profileselection.js +319 -0
  14. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.js +1 -1
  15. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js +3 -3
  16. package/collection/components/widgets/pn-find-price/pn-find-price-result.js +12 -2
  17. package/collection/components/widgets/pn-find-price/pn-find-price-store.js +2 -1
  18. package/collection/components/widgets/pn-find-price/pn-find-price-translations.js +9 -6
  19. package/collection/components/widgets/pn-find-price/pn-find-price.js +3 -2
  20. package/collection/components/widgets/pn-product-card/pn-product-card-info.js +6 -6
  21. package/custom-elements/index.d.ts +6 -0
  22. package/custom-elements/index.js +186 -17
  23. package/esm/{data-f0ac26a9.js → data-9c9c5f41.js} +1 -1
  24. package/esm/loader.js +1 -1
  25. package/esm/pn-find-price-result.entry.js +10 -3
  26. package/esm/{pn-find-price-store-625a6d87.js → pn-find-price-store-f531ab7e.js} +2 -1
  27. package/esm/pn-find-price.entry.js +14 -10
  28. package/esm/pn-language-selector_9.entry.js +2 -1
  29. package/esm/pn-market-web-components.js +1 -1
  30. package/esm/pn-marketweb-siteheader-profileselection.entry.js +157 -0
  31. package/esm/pn-product-card_4.entry.js +4 -4
  32. package/esm/pn-product-pricelist.entry.js +1 -1
  33. package/esm-es5/{data-f0ac26a9.js → data-9c9c5f41.js} +1 -1
  34. package/esm-es5/loader.js +1 -1
  35. package/esm-es5/pn-find-price-result.entry.js +1 -1
  36. package/esm-es5/{pn-find-price-store-625a6d87.js → pn-find-price-store-f531ab7e.js} +1 -1
  37. package/esm-es5/pn-find-price.entry.js +1 -1
  38. package/esm-es5/pn-language-selector_9.entry.js +1 -1
  39. package/esm-es5/pn-market-web-components.js +1 -1
  40. package/esm-es5/pn-marketweb-siteheader-profileselection.entry.js +1 -0
  41. package/esm-es5/pn-product-card_4.entry.js +1 -1
  42. package/esm-es5/pn-product-pricelist.entry.js +1 -1
  43. package/package.json +1 -1
  44. package/pn-market-web-components/{p-c1c3777d.entry.js → p-1f5b2d7a.entry.js} +1 -1
  45. package/pn-market-web-components/{p-a0665bab.system.entry.js → p-47cf8713.system.entry.js} +1 -1
  46. package/pn-market-web-components/p-67887512.system.js +1 -1
  47. package/pn-market-web-components/{p-6c75474c.entry.js → p-7f5bee11.entry.js} +1 -1
  48. package/pn-market-web-components/{p-f04541a1.js → p-86b52823.js} +1 -1
  49. package/pn-market-web-components/{p-e3ae421f.js → p-893206f2.js} +1 -1
  50. package/pn-market-web-components/p-a26e5490.system.entry.js +1 -0
  51. package/pn-market-web-components/p-a94593a9.system.entry.js +1 -0
  52. package/pn-market-web-components/{p-26191bda.entry.js → p-b1685197.entry.js} +1 -1
  53. package/pn-market-web-components/{p-9e0c9f32.system.js → p-bfa7c83f.system.js} +1 -1
  54. package/pn-market-web-components/{p-1c11b615.system.entry.js → p-c1c79c65.system.entry.js} +1 -1
  55. package/pn-market-web-components/{p-e9781689.system.js → p-c2670af1.system.js} +1 -1
  56. package/pn-market-web-components/p-d9bfa55c.entry.js +1 -0
  57. package/pn-market-web-components/p-e08a29ff.entry.js +1 -0
  58. package/pn-market-web-components/{p-4a71cd20.system.entry.js → p-e23a18f4.system.entry.js} +1 -1
  59. package/pn-market-web-components/p-f1fa88ab.system.entry.js +1 -0
  60. package/pn-market-web-components/p-fcea21cb.entry.js +1 -0
  61. package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  62. package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-profileselection.d.ts +28 -0
  63. package/types/components/widgets/pn-find-price/pn-find-price-result.d.ts +3 -0
  64. package/types/components/widgets/pn-find-price/pn-find-price-store.d.ts +2 -0
  65. package/types/components/widgets/pn-find-price/pn-find-price-translations.d.ts +3 -0
  66. package/types/components/widgets/pn-find-price/pn-find-price-types.d.ts +2 -0
  67. package/types/components.d.ts +46 -0
  68. package/umd/pn-marketweb-salesforce.js +1 -1
  69. package/pn-market-web-components/p-3fa09b4e.entry.js +0 -1
  70. package/pn-market-web-components/p-8339dcf6.system.entry.js +0 -1
  71. package/pn-market-web-components/p-885879fb.entry.js +0 -1
  72. package/pn-market-web-components/p-9d1a2d82.system.entry.js +0 -1
@@ -294,12 +294,13 @@ const translations$9 = {
294
294
  'maxweightlabel': 'Maxvikt',
295
295
  'maxmeasurementlabel': 'Maxvolym',
296
296
  'senddirectcta': 'Köp online',
297
- 'stampshopcta': 'Köp frimärken',
297
+ 'stampshopcta': 'Till butiken',
298
298
  'message': '*Vid köp hos valfritt ombud',
299
299
  'servicePointHeader': 'Eller hitta närmaste serviceställe',
300
300
  'servicePointLink': 'Hitta Serviceställe',
301
- 'riktigaVykort': 'köp Riktiga Vykort',
302
- 'riktigaVykortMobile': 'Testa Riktiga Vykorts mobilapp'
301
+ 'riktigaVykort': 'Köp Riktiga Vykort',
302
+ 'riktigaVykortMobile': 'Ladda ner appen',
303
+ 'ombudHeader': 'Köp via ombud'
303
304
  },
304
305
  'en': {
305
306
  'componentheading': 'Our prices and terms and conditions for domestic shipments for you as a direct paying customer',
@@ -309,12 +310,13 @@ const translations$9 = {
309
310
  'maxweightlabel': 'Max weight',
310
311
  'maxmeasurementlabel': 'Maximum measurement',
311
312
  'senddirectcta': 'Buy Online',
312
- 'stampshopcta': 'Buy Stamps',
313
+ 'stampshopcta': 'To the Store',
313
314
  'message': 'When buying from any agent',
314
315
  'servicePointHeader': 'Find service point',
315
316
  'servicePointLink': 'Find service point',
316
317
  'riktigaVykort': 'Buy Postcards',
317
- 'riktigaVykortMobile': 'Try the Real Postcards mobile app'
318
+ 'riktigaVykortMobile': 'Download the app',
319
+ 'ombudHeader': 'Purchase by agent'
318
320
  },
319
321
  'da': {
320
322
  'componentheading': 'Vad vill du skicka?',
@@ -324,11 +326,12 @@ const translations$9 = {
324
326
  'maxweightlabel': 'Max vægt',
325
327
  'maxmeasurementlabel': 'Maks. Volumen',
326
328
  'senddirectcta': 'Køb Online',
327
- 'stampshopcta': 'Køb Frimærker',
329
+ 'stampshopcta': 'Til butikken',
328
330
  'message': 'When buying from any agent',
329
331
  'servicePointHeader': 'Find nærmeste servicested',
330
332
  'servicePointLink': 'Find nærmeste servicested',
331
333
  'riktigaVykort': 'Køb Riktiga Vykort',
334
+ 'ombudHeader': 'Køb af agent'
332
335
  },
333
336
  'no': {
334
337
  'componentheading': 'Vad vill du skicka?',
@@ -2461,7 +2464,8 @@ const { state: state$5, onChange: onChange$5 } = createStore({
2461
2464
  servicePointHeader: '',
2462
2465
  servicePointLink: '',
2463
2466
  riktigaVykort: '',
2464
- riktigaVykortMobile: ''
2467
+ riktigaVykortMobile: '',
2468
+ ombudHeader: ''
2465
2469
  },
2466
2470
  market: {
2467
2471
  currency: "",
@@ -2534,11 +2538,12 @@ let PnfindPrice = class extends HTMLElement {
2534
2538
  return;
2535
2539
  }
2536
2540
  const sizeItemData = deliveryScopeData.filter((x) => x.sizecategory.toLocaleLowerCase() === this.sizecategory.value.toLocaleLowerCase());
2537
- if (!this.weight) {
2541
+ if (this.weight.value === 0) {
2538
2542
  return;
2539
2543
  }
2540
2544
  const comparisonWeight = this.weight.value <= 20 ? this.weight.value * 1000 : this.weight.value;
2541
- let weightFilteredData = sizeItemData.filter(x => (x.maxweight <= 20 ? x.maxweight * 1000 : x.maxweight) === comparisonWeight);
2545
+ let weightFilteredData = sizeItemData.filter(x => (x.maxweight <= 20 ? x.maxweight * 1000 : x.maxweight) === comparisonWeight ||
2546
+ x.maxweight.toString() === "-");
2542
2547
  // if no value found select the next available value
2543
2548
  if (weightFilteredData.length === 0 && this.weightvalue !== 0) {
2544
2549
  weightFilteredData = sizeItemData.filter(x => (x.maxweight <= 20 ? x.maxweight * 1000 : x.maxweight) >= comparisonWeight);
@@ -2595,6 +2600,9 @@ let PnfindPriceResult = class extends HTMLElement {
2595
2600
  this.showMeasurement = false;
2596
2601
  this.weightText = "";
2597
2602
  this.linkId = '';
2603
+ this.shopLabel = '';
2604
+ this.shopUrl = '';
2605
+ this.shopId = '';
2598
2606
  }
2599
2607
  componentWillLoad() {
2600
2608
  this.composeItems();
@@ -2611,6 +2619,10 @@ let PnfindPriceResult = class extends HTMLElement {
2611
2619
  }
2612
2620
  this.showMeasurement = (this.item.maxmått !== null) || (this.item.rulle !== null);
2613
2621
  this.linkId = `${this.item.id}-${this.item.name.toLocaleLowerCase().replace(/[^a-zA-Z0-9]/g, '')}`;
2622
+ var availableOnline = (this.item.availableonline !== "No");
2623
+ this.shopLabel = availableOnline ? state$5.i18n.stampshopcta : state$5.i18n.ombudHeader;
2624
+ this.shopUrl = availableOnline ? stampShopUrl$1 : state$5.market.servicePoint;
2625
+ this.shopId = availableOnline ? '-stampshop' : '-servicepoint';
2614
2626
  }
2615
2627
  render() {
2616
2628
  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" }, this.item.infopagelink ?
@@ -2621,7 +2633,7 @@ let PnfindPriceResult = class extends HTMLElement {
2621
2633
  (h("pn-titletag", { slot: "Billigast", icon: "box-label", color: "green700" }, this.item.highestrankusp))
2622
2634
  : 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 ?
2623
2635
  (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 ? ((this.item.name.toLocaleLowerCase() !== "riktiga vykort") ?
2624
- (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' })) :
2636
+ (h("pn-product-card-price", { slot: "stampPrice", label: this.shopLabel, amount: this.item.pricestamps + '', currency: state$5.market.currency, url: this.shopUrl, linkid: this.linkId + this.shopId })) :
2625
2637
  (h("pn-product-card-price", { slot: "riktiga", label: state$5.i18n.riktigaVykort, amount: this.item.pricestamps + '', currency: state$5.market.currency, url: RiktigaValues["WebUrl"], linkid: this.linkId + '-riktiga' }))) : null), h("div", { slot: "servicepoint" }, (this.item.showservicepointlink) ? (h("a", { href: state$5.market.servicePoint, target: "_blank" }, h("pn-icon", { symbol: "map-marker", color: "blue700" }), state$5.i18n.servicePointLink)) : null), h("div", { slot: "mobiledownload" }, (this.item.name.toLocaleLowerCase() === "riktiga vykort") ?
2626
2638
  (h("div", { id: "riktiga" }, h("h4", null, state$5.i18n.riktigaVykortMobile), h("div", null, h("a", { href: RiktigaValues["AndroidAppUrl"], target: "_blank" }, h("img", { class: "riktigaAndroidImg", src: RiktigaValues["AndroidImg"] })), h("a", { href: RiktigaValues["IosAppUrl"], target: "_blank" }, h("img", { class: "riktigaAppleImg", src: RiktigaValues["IosImg"] }))))) : null))));
2627
2639
  }
@@ -4598,6 +4610,7 @@ let PnMarketwebSiteheaderLogin$1 = class extends HTMLElement {
4598
4610
  this.hostElement.addEventListener(this.loginManager.events.loginstatechange, this.onLoginStateChange.bind(this));
4599
4611
  this.init();
4600
4612
  this.setUserName();
4613
+ this.setToggleButtonText();
4601
4614
  }
4602
4615
  async init() {
4603
4616
  this.toggleButtonText = this.loginDialog.loginMenuLinkText;
@@ -4717,6 +4730,160 @@ let PnMarketwebSiteheaderLogin$1 = class extends HTMLElement {
4717
4730
  static get style() { return pnMarketwebSiteheaderLoginCss; }
4718
4731
  };
4719
4732
 
4733
+ const pnMarketwebSiteheaderProfileselectionCss = "";
4734
+
4735
+ let PnMarketwebSiteheaderProfileSelection = class extends HTMLElement {
4736
+ constructor() {
4737
+ super();
4738
+ this.__registerHost();
4739
+ this.loginStateChange = createEvent(this, "loginStateChange", 7);
4740
+ /** Specifies which endpoint domain we should load from */
4741
+ this.endpoint = "";
4742
+ /** Access token passed from backend */
4743
+ this.token = "";
4744
+ this.emitEvents = true;
4745
+ // Login dialog
4746
+ this.loginDialog = null;
4747
+ /** User Fullname */
4748
+ this.fullname = "";
4749
+ this.loggedin = false;
4750
+ this.loginManager = null;
4751
+ this.toggleButtonText = "";
4752
+ this.username = this.fullname;
4753
+ }
4754
+ componentWillLoad() {
4755
+ const userInfo = this.loggedin && this.fullname ? { given_name: this.fullname } : null;
4756
+ this.loginManager = new MarketWebLoginManager({ endpoint: this.endpoint, eventTarget: this.hostElement, userInfo });
4757
+ this.hostElement["loginmanager"] = this.loginManager;
4758
+ if (this.token) {
4759
+ this.loginManager.registerToken(this.token, 'backend');
4760
+ }
4761
+ else if (this.emitEvents) { // The primary login instance
4762
+ this.loginManager.invalidateTokenOfType('backend');
4763
+ }
4764
+ this.hostElement.addEventListener(this.loginManager.events.loginstatechange, this.onLoginStateChange.bind(this));
4765
+ this.init();
4766
+ this.setUserName();
4767
+ this.setToggleButtonText();
4768
+ }
4769
+ async init() {
4770
+ this.toggleButtonText = this.loginDialog.loginMenuLinkText;
4771
+ this.loginManager.init(this.emitEvents);
4772
+ this.setToggleButtonText();
4773
+ }
4774
+ setUserName() {
4775
+ const userInfo = this.loginManager.getUserInfo();
4776
+ let name = "";
4777
+ if (!this.loggedin || !userInfo) {
4778
+ this.username = name;
4779
+ }
4780
+ if (userInfo && userInfo.given_name) {
4781
+ name = userInfo.given_name + ((userInfo === null || userInfo === void 0 ? void 0 : userInfo.family_name) ? ` ${userInfo === null || userInfo === void 0 ? void 0 : userInfo.family_name}` : "");
4782
+ }
4783
+ if (!name && userInfo && userInfo.email) {
4784
+ name = userInfo.email;
4785
+ }
4786
+ if (!name && this.fullname) {
4787
+ name = this.fullname;
4788
+ }
4789
+ this.username = name;
4790
+ }
4791
+ setToggleButtonText() {
4792
+ if (this.loggedin) {
4793
+ this.toggleButtonText = this.username;
4794
+ if (!this.toggleButtonText) {
4795
+ this.toggleButtonText = this.loginDialog.loggedInButtonText;
4796
+ }
4797
+ }
4798
+ else {
4799
+ this.toggleButtonText = this.loginDialog.loginMenuLinkText;
4800
+ }
4801
+ }
4802
+ onLoginStateChange(e) {
4803
+ if (this.loggedin !== e.detail && this.emitEvents) {
4804
+ this.loggedin = e.detail;
4805
+ this.loginStateChange.emit({ loggedIn: this.loggedin, token: this.loginManager.getToken() });
4806
+ this.setUserName();
4807
+ this.setToggleButtonText();
4808
+ }
4809
+ }
4810
+ uniqueId(text) {
4811
+ return "loginlink-" + text.replace(/[^A-Za-z0-9.\\\/]/igm, "") + "-" + (this.emitEvents ? "1" : "2");
4812
+ }
4813
+ linkAppearanceAttributes(link) {
4814
+ let attributes = {};
4815
+ if (link.linkType) {
4816
+ switch (link.linkType) {
4817
+ case 'primary':
4818
+ attributes = {
4819
+ appearance: '',
4820
+ variant: ''
4821
+ };
4822
+ break;
4823
+ case 'secondary':
4824
+ attributes = {
4825
+ appearance: 'light',
4826
+ variant: 'outlined'
4827
+ };
4828
+ break;
4829
+ case 'regularlink':
4830
+ default:
4831
+ attributes = {
4832
+ appearance: 'light',
4833
+ variant: 'borderless',
4834
+ icon: 'arrow-right'
4835
+ };
4836
+ break;
4837
+ }
4838
+ return attributes;
4839
+ }
4840
+ if (!link.linkType) {
4841
+ attributes = {
4842
+ appearance: link.primaryLinkApperance ? "dark" : "light"
4843
+ };
4844
+ }
4845
+ return attributes;
4846
+ }
4847
+ render() {
4848
+ var _a, _b, _c;
4849
+ if (!this.loginDialog) {
4850
+ return;
4851
+ }
4852
+ let hostElementAttribute = {
4853
+ username: null
4854
+ };
4855
+ if (this.username) {
4856
+ hostElementAttribute.username = this.username;
4857
+ }
4858
+ return (h(Host, Object.assign({}, hostElementAttribute), h("pn-nav-dropdown", { label: this.toggleButtonText, icon: "user", class: "siteheader-logindialog" }, (!this.loginDialog.overrideLoginMenu) ?
4859
+ h("div", { "data-loggedin": this.loggedin + '' }, (!this.loggedin) ?
4860
+ h("div", null, (_a = this.loginDialog.loginTitle) !== null && _a !== void 0 ? _a : h("strong", null, this.loginDialog.loginTitle), ((_b = this.loginDialog.loginMenuLinks) === null || _b === void 0 ? void 0 : _b.length) > 0 ?
4861
+ h("ul", null, this.loginDialog.loginMenuLinks.map((link, i) => {
4862
+ const href = (i === 0 && !link.href) ? this.loginManager.getLoginUrl() : link.href;
4863
+ return (h("li", null, h("pn-button", Object.assign({ href: href, id: this.uniqueId(link.linkText) }, this.linkAppearanceAttributes(link), (link.openInNewWindow && { target: '_blank' })), link.linkText)));
4864
+ }))
4865
+ : (h("ul", null, h("li", null, h("pn-button", { href: this.loginManager.getLoginUrl(this.loginDialog.loginUrl), target: "_top" }, this.loginDialog.loginLinkText)), h("li", null, h("pn-button", { href: this.loginDialog.registerUrl, target: "_top", appearance: "light", variant: "outlined" }, this.loginDialog.createLoginLinkText)))))
4866
+ :
4867
+ h("div", null, h("ul", null, this.loginDialog.loggedInLinks.map((link) => {
4868
+ const isLogoutLink = link.href.indexOf('logout') !== -1;
4869
+ const href = (isLogoutLink) ? this.loginManager.getLogoutUrl(link.href.replace('logout', '').replace('http://window.location.href/?', '').replace('https://window.location.href/?', '')) : link.href;
4870
+ return (h("li", null, h("pn-button", Object.assign({ href: href, id: this.uniqueId(link.linkText) }, (link.openInNewWindow && { target: '_blank' }), this.linkAppearanceAttributes(link), { onClick: () => {
4871
+ if (isLogoutLink) {
4872
+ this.loginManager.clearUserData();
4873
+ }
4874
+ } }), link.linkText)));
4875
+ }))))
4876
+ :
4877
+ h("div", null, h("ul", null, (_c = this.loginDialog.loginMenuLinks) === null || _c === void 0 ? void 0 : _c.map(link => h("li", null, h("a", { href: link.href, target: link.openInNewWindow ? "_blank" : "_self", class: "btn btn-link" }, link.linkText))))))));
4878
+ }
4879
+ get hostElement() { return this; }
4880
+ static get watchers() { return {
4881
+ "i18n": ["init"],
4882
+ "loginDialog": ["init"]
4883
+ }; }
4884
+ static get style() { return pnMarketwebSiteheaderProfileselectionCss; }
4885
+ };
4886
+
4720
4887
  // Read more about how stencil stores work here: https://stenciljs.com/docs/stencil-store
4721
4888
  const { state: state$2, onChange: onChange$2 } = createStore({
4722
4889
  searchValue: '',
@@ -4769,7 +4936,7 @@ let PnMarketwebSiteheaderSearch$1 = class extends HTMLElement {
4769
4936
  if (!data || !data.hits || !data.hits.length) {
4770
4937
  return;
4771
4938
  }
4772
- const suggestions = data.hits.map((item) => {
4939
+ const suggestions = data.hits.filter(item => item.type === "editorial").map((item) => {
4773
4940
  return item.query;
4774
4941
  });
4775
4942
  // Store query in store
@@ -4958,10 +5125,10 @@ let PnProductCardInfo$1 = class extends HTMLElement {
4958
5125
  this.__registerHost();
4959
5126
  }
4960
5127
  render() {
4961
- 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" }, (this.paket) ? (h("div", { class: "cardinfocontent-item" }, h("strong", null, "Maxm\u00E5tt:"), this.paket.split("/").map((item) => ((item.split(":").length > 0) ?
4962
- h("p", null, h("strong", null, item.split(":")[0] + ": "), " ", item.split(":")[1]) :
4963
- h("p", null, item))))) : null, (this.rulle) ?
4964
- (h("div", { class: "cardinfocontent-item" }, h("strong", null, "Rulle:"), this.rulle.split("/").map((item) => ((item.split(":").length > 0) ?
5128
+ 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" }, (this.paket) ? (h("div", { class: "cardinfocontent-item" }, h("strong", null, "Maxm\u00E5tt"), this.paket.split("/").map((item) => ((item.split(":").length > 1) ?
5129
+ (h("p", null, h("strong", null, item.split(":")[0] + ": "), " ", item.split(":")[1])) :
5130
+ (h("p", null, item)))))) : null, (this.rulle) ?
5131
+ (h("div", { class: "cardinfocontent-item" }, h("strong", null, "Rulle"), this.rulle.split("/").map((item) => ((item.split(":").length > 0) ?
4965
5132
  h("p", null, h("strong", null, item.split(":")[0] + ": "), " ", item.split(":")[1]) :
4966
5133
  h("p", null, item))))) : null)));
4967
5134
  }
@@ -5721,7 +5888,7 @@ const PnCustomernumberSelector = /*@__PURE__*/proxyCustomElement(PnCustomernumbe
5721
5888
  const PnCustomernumberSelectorOption = /*@__PURE__*/proxyCustomElement(PnProfileSelectorOption$2, [4,"pn-customernumber-selector-option",{"title":[1],"description":[1],"url":[1]}]);
5722
5889
  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"]]]);
5723
5890
  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]}]);
5724
- 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]}]);
5891
+ 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],"shopLabel":[32],"shopUrl":[32],"shopId":[32]}]);
5725
5892
  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]}]);
5726
5893
  const PnFindServiceAndPriceResult = /*@__PURE__*/proxyCustomElement(PnfindServiceAndPriceResult, [0,"pn-find-service-and-price-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]);
5727
5894
  const PnLanguageSelector = /*@__PURE__*/proxyCustomElement(PnlanguageSelector, [4,"pn-language-selector",{"value":[1537],"selectedLanguageName":[32],"options":[32],"i18n":[32]}]);
@@ -5735,6 +5902,7 @@ const PnMarketwebSearch = /*@__PURE__*/proxyCustomElement(PnMarketwebSearch$1, [
5735
5902
  const PnMarketwebSitefooter = /*@__PURE__*/proxyCustomElement(PnMarketwebSiteheader$2, [4,"pn-marketweb-sitefooter",{"market":[1537],"language":[1537],"environment":[1537],"endpoint":[1],"cache":[4],"siteDefinition":[32],"footerContent":[32],"i18n":[32],"gotData":[32],"fetchingData":[32]}]);
5736
5903
  const PnMarketwebSiteheader = /*@__PURE__*/proxyCustomElement(PnMarketwebSiteheader$1, [4,"pn-marketweb-siteheader",{"market":[1537],"language":[1537],"environment":[1537],"userToken":[1,"user-token"],"userFullname":[1,"user-fullname"],"userLoggedin":[4,"user-loggedin"],"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"]]]);
5737
5904
  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],"fullname":[1],"loggedin":[4],"loginManager":[32],"toggleButtonText":[32],"username":[32]}]);
5905
+ const PnMarketwebSiteheaderProfileselection = /*@__PURE__*/proxyCustomElement(PnMarketwebSiteheaderProfileSelection, [0,"pn-marketweb-siteheader-profileselection",{"endpoint":[1],"token":[1],"i18n":[8,"i-1-8n"],"emitEvents":[4,"emit-events"],"loginDialog":[1040],"fullname":[1],"loggedin":[4],"loginManager":[32],"toggleButtonText":[32],"username":[32]}]);
5738
5906
  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"],"language":[1537],"search":[1040],"primary":[4],"autoCompleteOptions":[32]}]);
5739
5907
  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"]]]);
5740
5908
  const PnProductCard = /*@__PURE__*/proxyCustomElement(PnProductCard$1, [4,"pn-product-card"]);
@@ -5779,6 +5947,7 @@ const defineCustomElements = (opts) => {
5779
5947
  PnMarketwebSitefooter,
5780
5948
  PnMarketwebSiteheader,
5781
5949
  PnMarketwebSiteheaderLogin,
5950
+ PnMarketwebSiteheaderProfileselection,
5782
5951
  PnMarketwebSiteheaderSearch,
5783
5952
  PnPexPricefinder,
5784
5953
  PnProductCard,
@@ -5807,4 +5976,4 @@ const defineCustomElements = (opts) => {
5807
5976
  }
5808
5977
  };
5809
5978
 
5810
- export { PnBonusProgressbar, PnBonusProgressbarLevel, PnChoiceButton, PnCustomernumberSelector, PnCustomernumberSelectorOption, PnFilterCheckbox, PnFindPrice, PnFindPriceResult, PnFindServiceAndPrice, PnFindServiceAndPriceResult, PnLanguageSelector, PnLanguageSelectorOption, PnMainnav, PnMainnavLevel, PnMainnavLink, PnMainnavList, PnMarketwebInput, PnMarketwebSearch, PnMarketwebSitefooter, PnMarketwebSiteheader, PnMarketwebSiteheaderLogin, PnMarketwebSiteheaderSearch, PnPexPricefinder, PnProductCard, PnProductCardInfo, PnProductCardPrice, PnProductPricelist, PnProductPricelistResult, PnProductTile, PnProductTileInfo, PnProductTilePrice, PnProfileSelector, PnProfileSelectorOption, PnSidenav, PnSidenavLevel, PnSidenavLink, PnSiteFooter, PnSiteFooterCol, PnSiteSelector, PnSiteSelectorItem, PnTitletag, defineCustomElements };
5979
+ export { PnBonusProgressbar, PnBonusProgressbarLevel, PnChoiceButton, PnCustomernumberSelector, PnCustomernumberSelectorOption, PnFilterCheckbox, PnFindPrice, PnFindPriceResult, PnFindServiceAndPrice, PnFindServiceAndPriceResult, PnLanguageSelector, PnLanguageSelectorOption, PnMainnav, PnMainnavLevel, PnMainnavLink, PnMainnavList, PnMarketwebInput, PnMarketwebSearch, PnMarketwebSitefooter, PnMarketwebSiteheader, PnMarketwebSiteheaderLogin, PnMarketwebSiteheaderProfileselection, PnMarketwebSiteheaderSearch, PnPexPricefinder, PnProductCard, PnProductCardInfo, PnProductCardPrice, PnProductPricelist, PnProductPricelistResult, PnProductTile, PnProductTileInfo, PnProductTilePrice, PnProfileSelector, PnProfileSelectorOption, PnSidenav, PnSidenavLevel, PnSidenavLink, PnSiteFooter, PnSiteFooterCol, PnSiteSelector, PnSiteSelectorItem, PnTitletag, defineCustomElements };
@@ -50,4 +50,4 @@ const sendDirectUrl = "https://portal.postnord.com/skickadirekt/";
50
50
 
51
51
  const stampShopUrl = "https://shop.postnord.se/ebutik/default.aspx";
52
52
 
53
- export { RiktigaValues as R, sendDirectUrl as a, stampShopUrl as b, fileLocation as f, sizeCategories as s, weights as w };
53
+ export { RiktigaValues as R, stampShopUrl as a, sendDirectUrl 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],"userToken":[1,"user-token"],"userFullname":[1,"user-fullname"],"userLoggedin":[4,"user-loggedin"],"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",[[4,"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-customernumber-selector",[[4,"pn-customernumber-selector",{"language":[1537],"open":[1540],"title":[1],"description":[1],"i18n":[32]}]]],["pn-customernumber-selector-option",[[4,"pn-customernumber-selector-option",{"title":[1],"description":[1],"url":[1]}]]],["pn-filter-checkbox",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-marketweb-search",[[1,"pn-marketweb-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"list":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4],"suggestionObserver":[32],"hasClonedInput":[32],"listSuggestion":[32]},[[0,"input","inputHandler"]]]]],["pn-product-tile",[[4,"pn-product-tile"]]],["pn-profile-selector",[[4,"pn-profile-selector",{"language":[1537],"returnUrl":[1,"return-url"],"heading":[1],"i18n":[32],"isLoading":[32],"numberOfProfiles":[32]}]]],["pn-profile-selector-option",[[0,"pn-profile-selector-option",{"title":[1],"description":[1],"url":[1]}]]],["pn-sidenav",[[4,"pn-sidenav",{"language":[1],"navLabel":[1,"nav-label"],"i18n":[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["pn-sidenav-level",[[4,"pn-sidenav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"alignment":[32]}]]],["pn-sidenav-link",[[4,"pn-sidenav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"icon":[1],"current":[4],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-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],"fullname":[1],"loggedin":[4],"loginManager":[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]}]]],["pn-product-card_4",[[0,"pn-product-card-info",{"rulle":[1],"paket":[1],"label":[1],"text":[1]}],[0,"pn-product-card-price",{"label":[1],"amount":[1],"currency":[1],"note":[1],"url":[1],"service":[1],"linkid":[1]}],[4,"pn-titletag",{"icon":[1],"color":[1537]}],[4,"pn-product-card"]]]], options);
13
+ return bootstrapLazy([["pn-marketweb-siteheader",[[4,"pn-marketweb-siteheader",{"market":[1537],"language":[1537],"environment":[1537],"userToken":[1,"user-token"],"userFullname":[1,"user-fullname"],"userLoggedin":[4,"user-loggedin"],"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",[[4,"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-customernumber-selector",[[4,"pn-customernumber-selector",{"language":[1537],"open":[1540],"title":[1],"description":[1],"i18n":[32]}]]],["pn-customernumber-selector-option",[[4,"pn-customernumber-selector-option",{"title":[1],"description":[1],"url":[1]}]]],["pn-filter-checkbox",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-marketweb-search",[[1,"pn-marketweb-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"list":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4],"suggestionObserver":[32],"hasClonedInput":[32],"listSuggestion":[32]},[[0,"input","inputHandler"]]]]],["pn-marketweb-siteheader-profileselection",[[0,"pn-marketweb-siteheader-profileselection",{"endpoint":[1],"token":[1],"i18n":[8,"i-1-8n"],"emitEvents":[4,"emit-events"],"loginDialog":[1040],"fullname":[1],"loggedin":[4],"loginManager":[32],"toggleButtonText":[32],"username":[32]}]]],["pn-product-tile",[[4,"pn-product-tile"]]],["pn-profile-selector",[[4,"pn-profile-selector",{"language":[1537],"returnUrl":[1,"return-url"],"heading":[1],"i18n":[32],"isLoading":[32],"numberOfProfiles":[32]}]]],["pn-profile-selector-option",[[0,"pn-profile-selector-option",{"title":[1],"description":[1],"url":[1]}]]],["pn-sidenav",[[4,"pn-sidenav",{"language":[1],"navLabel":[1,"nav-label"],"i18n":[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["pn-sidenav-level",[[4,"pn-sidenav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"alignment":[32]}]]],["pn-sidenav-link",[[4,"pn-sidenav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"icon":[1],"current":[4],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-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],"shopLabel":[32],"shopUrl":[32],"shopId":[32]}]]],["pn-site-footer_2",[[4,"pn-site-footer",{"url":[1],"linktitle":[1]}],[4,"pn-site-footer-col"]]],["pn-choice-button",[[4,"pn-choice-button",{"value":[520],"name":[1],"choiceid":[1],"type":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-mainnav-link",[[4,"pn-mainnav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-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],"fullname":[1],"loggedin":[4],"loginManager":[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]}]]],["pn-product-card_4",[[0,"pn-product-card-info",{"rulle":[1],"paket":[1],"label":[1],"text":[1]}],[0,"pn-product-card-price",{"label":[1],"amount":[1],"currency":[1],"note":[1],"url":[1],"service":[1],"linkid":[1]}],[4,"pn-titletag",{"icon":[1],"color":[1537]}],[4,"pn-product-card"]]]], options);
14
14
  });
15
15
  };
16
16
 
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, a as Host } from './index-5397620b.js';
2
- import { s as state } from './pn-find-price-store-625a6d87.js';
3
- import { a as sendDirectUrl, b as stampShopUrl, R as RiktigaValues } from './data-f0ac26a9.js';
2
+ import { s as state } from './pn-find-price-store-f531ab7e.js';
3
+ import { a as stampShopUrl, b as sendDirectUrl, R as RiktigaValues } from './data-9c9c5f41.js';
4
4
  import './index-7b21ecff.js';
5
5
 
6
6
  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}";
@@ -14,6 +14,9 @@ let PnfindPriceResult = class {
14
14
  this.showMeasurement = false;
15
15
  this.weightText = "";
16
16
  this.linkId = '';
17
+ this.shopLabel = '';
18
+ this.shopUrl = '';
19
+ this.shopId = '';
17
20
  }
18
21
  componentWillLoad() {
19
22
  this.composeItems();
@@ -30,6 +33,10 @@ let PnfindPriceResult = class {
30
33
  }
31
34
  this.showMeasurement = (this.item.maxmått !== null) || (this.item.rulle !== null);
32
35
  this.linkId = `${this.item.id}-${this.item.name.toLocaleLowerCase().replace(/[^a-zA-Z0-9]/g, '')}`;
36
+ var availableOnline = (this.item.availableonline !== "No");
37
+ this.shopLabel = availableOnline ? state.i18n.stampshopcta : state.i18n.ombudHeader;
38
+ this.shopUrl = availableOnline ? stampShopUrl : state.market.servicePoint;
39
+ this.shopId = availableOnline ? '-stampshop' : '-servicepoint';
33
40
  }
34
41
  render() {
35
42
  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" }, this.item.infopagelink ?
@@ -40,7 +47,7 @@ let PnfindPriceResult = class {
40
47
  (h("pn-titletag", { slot: "Billigast", icon: "box-label", color: "green700" }, this.item.highestrankusp))
41
48
  : 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 ?
42
49
  (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.i18n.senddirectcta, amount: this.item.pricesenddirect + '', currency: state.market.currency, url: sendDirectUrl, linkid: this.linkId + '-portal' })) : null, this.item.pricestamps ? ((this.item.name.toLocaleLowerCase() !== "riktiga vykort") ?
43
- (h("pn-product-card-price", { slot: "stampPrice", label: state.i18n.stampshopcta, amount: this.item.pricestamps + '', currency: state.market.currency, url: stampShopUrl, linkid: this.linkId + '-stampshop' })) :
50
+ (h("pn-product-card-price", { slot: "stampPrice", label: this.shopLabel, amount: this.item.pricestamps + '', currency: state.market.currency, url: this.shopUrl, linkid: this.linkId + this.shopId })) :
44
51
  (h("pn-product-card-price", { slot: "riktiga", label: state.i18n.riktigaVykort, amount: this.item.pricestamps + '', currency: state.market.currency, url: RiktigaValues["WebUrl"], linkid: this.linkId + '-riktiga' }))) : null), h("div", { slot: "servicepoint" }, (this.item.showservicepointlink) ? (h("a", { href: state.market.servicePoint, target: "_blank" }, h("pn-icon", { symbol: "map-marker", color: "blue700" }), state.i18n.servicePointLink)) : null), h("div", { slot: "mobiledownload" }, (this.item.name.toLocaleLowerCase() === "riktiga vykort") ?
45
52
  (h("div", { id: "riktiga" }, h("h4", null, state.i18n.riktigaVykortMobile), h("div", null, h("a", { href: RiktigaValues["AndroidAppUrl"], target: "_blank" }, h("img", { class: "riktigaAndroidImg", src: RiktigaValues["AndroidImg"] })), h("a", { href: RiktigaValues["IosAppUrl"], target: "_blank" }, h("img", { class: "riktigaAppleImg", src: RiktigaValues["IosImg"] }))))) : null))));
46
53
  }
@@ -15,7 +15,8 @@ const { state, onChange } = createStore({
15
15
  servicePointHeader: '',
16
16
  servicePointLink: '',
17
17
  riktigaVykort: '',
18
- riktigaVykortMobile: ''
18
+ riktigaVykortMobile: '',
19
+ ombudHeader: ''
19
20
  },
20
21
  market: {
21
22
  currency: "",
@@ -1,7 +1,7 @@
1
1
  import { r as registerInstance, h } from './index-5397620b.js';
2
- import { f as fileLocation, s as sizeCategories, w as weights } from './data-f0ac26a9.js';
2
+ import { f as fileLocation, s as sizeCategories, w as weights } from './data-9c9c5f41.js';
3
3
  import { c as convertFileForSizeCategogy } from './convert-ae809f9c.js';
4
- import { s as state } from './pn-find-price-store-625a6d87.js';
4
+ import { s as state } from './pn-find-price-store-f531ab7e.js';
5
5
  import './index-7b21ecff.js';
6
6
 
7
7
  const translations = {
@@ -13,12 +13,13 @@ const translations = {
13
13
  'maxweightlabel': 'Maxvikt',
14
14
  'maxmeasurementlabel': 'Maxvolym',
15
15
  'senddirectcta': 'Köp online',
16
- 'stampshopcta': 'Köp frimärken',
16
+ 'stampshopcta': 'Till butiken',
17
17
  'message': '*Vid köp hos valfritt ombud',
18
18
  'servicePointHeader': 'Eller hitta närmaste serviceställe',
19
19
  'servicePointLink': 'Hitta Serviceställe',
20
- 'riktigaVykort': 'köp Riktiga Vykort',
21
- 'riktigaVykortMobile': 'Testa Riktiga Vykorts mobilapp'
20
+ 'riktigaVykort': 'Köp Riktiga Vykort',
21
+ 'riktigaVykortMobile': 'Ladda ner appen',
22
+ 'ombudHeader': 'Köp via ombud'
22
23
  },
23
24
  'en': {
24
25
  'componentheading': 'Our prices and terms and conditions for domestic shipments for you as a direct paying customer',
@@ -28,12 +29,13 @@ const translations = {
28
29
  'maxweightlabel': 'Max weight',
29
30
  'maxmeasurementlabel': 'Maximum measurement',
30
31
  'senddirectcta': 'Buy Online',
31
- 'stampshopcta': 'Buy Stamps',
32
+ 'stampshopcta': 'To the Store',
32
33
  'message': 'When buying from any agent',
33
34
  'servicePointHeader': 'Find service point',
34
35
  'servicePointLink': 'Find service point',
35
36
  'riktigaVykort': 'Buy Postcards',
36
- 'riktigaVykortMobile': 'Try the Real Postcards mobile app'
37
+ 'riktigaVykortMobile': 'Download the app',
38
+ 'ombudHeader': 'Purchase by agent'
37
39
  },
38
40
  'da': {
39
41
  'componentheading': 'Vad vill du skicka?',
@@ -43,11 +45,12 @@ const translations = {
43
45
  'maxweightlabel': 'Max vægt',
44
46
  'maxmeasurementlabel': 'Maks. Volumen',
45
47
  'senddirectcta': 'Køb Online',
46
- 'stampshopcta': 'Køb Frimærker',
48
+ 'stampshopcta': 'Til butikken',
47
49
  'message': 'When buying from any agent',
48
50
  'servicePointHeader': 'Find nærmeste servicested',
49
51
  'servicePointLink': 'Find nærmeste servicested',
50
52
  'riktigaVykort': 'Køb Riktiga Vykort',
53
+ 'ombudHeader': 'Køb af agent'
51
54
  },
52
55
  'no': {
53
56
  'componentheading': 'Vad vill du skicka?',
@@ -156,11 +159,12 @@ let PnfindPrice = class {
156
159
  return;
157
160
  }
158
161
  const sizeItemData = deliveryScopeData.filter((x) => x.sizecategory.toLocaleLowerCase() === this.sizecategory.value.toLocaleLowerCase());
159
- if (!this.weight) {
162
+ if (this.weight.value === 0) {
160
163
  return;
161
164
  }
162
165
  const comparisonWeight = this.weight.value <= 20 ? this.weight.value * 1000 : this.weight.value;
163
- let weightFilteredData = sizeItemData.filter(x => (x.maxweight <= 20 ? x.maxweight * 1000 : x.maxweight) === comparisonWeight);
166
+ let weightFilteredData = sizeItemData.filter(x => (x.maxweight <= 20 ? x.maxweight * 1000 : x.maxweight) === comparisonWeight ||
167
+ x.maxweight.toString() === "-");
164
168
  // if no value found select the next available value
165
169
  if (weightFilteredData.length === 0 && this.weightvalue !== 0) {
166
170
  weightFilteredData = sizeItemData.filter(x => (x.maxweight <= 20 ? x.maxweight * 1000 : x.maxweight) >= comparisonWeight);
@@ -362,6 +362,7 @@ let PnMarketwebSiteheaderLogin = class {
362
362
  this.hostElement.addEventListener(this.loginManager.events.loginstatechange, this.onLoginStateChange.bind(this));
363
363
  this.init();
364
364
  this.setUserName();
365
+ this.setToggleButtonText();
365
366
  }
366
367
  async init() {
367
368
  this.toggleButtonText = this.loginDialog.loginMenuLinkText;
@@ -532,7 +533,7 @@ let PnMarketwebSiteheaderSearch = class {
532
533
  if (!data || !data.hits || !data.hits.length) {
533
534
  return;
534
535
  }
535
- const suggestions = data.hits.map((item) => {
536
+ const suggestions = data.hits.filter(item => item.type === "editorial").map((item) => {
536
537
  return item.query;
537
538
  });
538
539
  // Store query in store
@@ -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],"userToken":[1,"user-token"],"userFullname":[1,"user-fullname"],"userLoggedin":[4,"user-loggedin"],"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",[[4,"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-customernumber-selector",[[4,"pn-customernumber-selector",{"language":[1537],"open":[1540],"title":[1],"description":[1],"i18n":[32]}]]],["pn-customernumber-selector-option",[[4,"pn-customernumber-selector-option",{"title":[1],"description":[1],"url":[1]}]]],["pn-filter-checkbox",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-marketweb-search",[[1,"pn-marketweb-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"list":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4],"suggestionObserver":[32],"hasClonedInput":[32],"listSuggestion":[32]},[[0,"input","inputHandler"]]]]],["pn-product-tile",[[4,"pn-product-tile"]]],["pn-profile-selector",[[4,"pn-profile-selector",{"language":[1537],"returnUrl":[1,"return-url"],"heading":[1],"i18n":[32],"isLoading":[32],"numberOfProfiles":[32]}]]],["pn-profile-selector-option",[[0,"pn-profile-selector-option",{"title":[1],"description":[1],"url":[1]}]]],["pn-sidenav",[[4,"pn-sidenav",{"language":[1],"navLabel":[1,"nav-label"],"i18n":[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["pn-sidenav-level",[[4,"pn-sidenav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"alignment":[32]}]]],["pn-sidenav-link",[[4,"pn-sidenav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"icon":[1],"current":[4],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-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],"fullname":[1],"loggedin":[4],"loginManager":[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]}]]],["pn-product-card_4",[[0,"pn-product-card-info",{"rulle":[1],"paket":[1],"label":[1],"text":[1]}],[0,"pn-product-card-price",{"label":[1],"amount":[1],"currency":[1],"note":[1],"url":[1],"service":[1],"linkid":[1]}],[4,"pn-titletag",{"icon":[1],"color":[1537]}],[4,"pn-product-card"]]]], options);
56
+ return bootstrapLazy([["pn-marketweb-siteheader",[[4,"pn-marketweb-siteheader",{"market":[1537],"language":[1537],"environment":[1537],"userToken":[1,"user-token"],"userFullname":[1,"user-fullname"],"userLoggedin":[4,"user-loggedin"],"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",[[4,"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-customernumber-selector",[[4,"pn-customernumber-selector",{"language":[1537],"open":[1540],"title":[1],"description":[1],"i18n":[32]}]]],["pn-customernumber-selector-option",[[4,"pn-customernumber-selector-option",{"title":[1],"description":[1],"url":[1]}]]],["pn-filter-checkbox",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-marketweb-search",[[1,"pn-marketweb-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"list":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4],"suggestionObserver":[32],"hasClonedInput":[32],"listSuggestion":[32]},[[0,"input","inputHandler"]]]]],["pn-marketweb-siteheader-profileselection",[[0,"pn-marketweb-siteheader-profileselection",{"endpoint":[1],"token":[1],"i18n":[8,"i-1-8n"],"emitEvents":[4,"emit-events"],"loginDialog":[1040],"fullname":[1],"loggedin":[4],"loginManager":[32],"toggleButtonText":[32],"username":[32]}]]],["pn-product-tile",[[4,"pn-product-tile"]]],["pn-profile-selector",[[4,"pn-profile-selector",{"language":[1537],"returnUrl":[1,"return-url"],"heading":[1],"i18n":[32],"isLoading":[32],"numberOfProfiles":[32]}]]],["pn-profile-selector-option",[[0,"pn-profile-selector-option",{"title":[1],"description":[1],"url":[1]}]]],["pn-sidenav",[[4,"pn-sidenav",{"language":[1],"navLabel":[1,"nav-label"],"i18n":[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["pn-sidenav-level",[[4,"pn-sidenav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"alignment":[32]}]]],["pn-sidenav-link",[[4,"pn-sidenav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"icon":[1],"current":[4],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-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],"shopLabel":[32],"shopUrl":[32],"shopId":[32]}]]],["pn-site-footer_2",[[4,"pn-site-footer",{"url":[1],"linktitle":[1]}],[4,"pn-site-footer-col"]]],["pn-choice-button",[[4,"pn-choice-button",{"value":[520],"name":[1],"choiceid":[1],"type":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-mainnav-link",[[4,"pn-mainnav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-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],"fullname":[1],"loggedin":[4],"loginManager":[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]}]]],["pn-product-card_4",[[0,"pn-product-card-info",{"rulle":[1],"paket":[1],"label":[1],"text":[1]}],[0,"pn-product-card-price",{"label":[1],"amount":[1],"currency":[1],"note":[1],"url":[1],"service":[1],"linkid":[1]}],[4,"pn-titletag",{"icon":[1],"color":[1537]}],[4,"pn-product-card"]]]], options);
57
57
  });