@postnord/pn-marketweb-components 4.0.3 → 4.0.4-test

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 (1163) hide show
  1. package/dist/cjs/{MarketWebContextService-0fdc43c8.js → FetchHelper-e951824f.js} +82 -1
  2. package/dist/cjs/FetchHelper-e951824f.js.map +1 -0
  3. package/dist/cjs/{index-4067c6a5.js → index-1d8c9211.js} +2 -2
  4. package/dist/cjs/{index-4067c6a5.js.map → index-1d8c9211.js.map} +1 -1
  5. package/dist/cjs/{index-b02670c2.js → index-34e1c673.js} +4 -53
  6. package/dist/cjs/index-34e1c673.js.map +1 -0
  7. package/dist/cjs/index.cjs.js +1 -1
  8. package/dist/cjs/loader.cjs.js +2 -2
  9. package/dist/cjs/pn-address-autofill.cjs.entry.js +75 -51
  10. package/dist/cjs/pn-address-autofill.cjs.entry.js.map +1 -1
  11. package/dist/cjs/pn-animated-tile.cjs.entry.js +2 -2
  12. package/dist/cjs/pn-animated-tile.cjs.entry.js.map +1 -1
  13. package/dist/cjs/pn-app-banner.cjs.entry.js +3 -3
  14. package/dist/cjs/pn-app-banner.cjs.entry.js.map +1 -1
  15. package/dist/cjs/pn-bonus-progressbar-level.cjs.entry.js +2 -2
  16. package/dist/cjs/pn-bonus-progressbar-level.cjs.entry.js.map +1 -1
  17. package/dist/cjs/pn-bonus-progressbar.cjs.entry.js +2 -2
  18. package/dist/cjs/pn-bonus-progressbar.cjs.entry.js.map +1 -1
  19. package/dist/cjs/pn-breakpoints.cjs.entry.js +3 -3
  20. package/dist/cjs/pn-breakpoints.cjs.entry.js.map +1 -1
  21. package/dist/cjs/pn-chart.cjs.entry.js +2 -2
  22. package/dist/cjs/pn-chart.cjs.entry.js.map +1 -1
  23. package/dist/cjs/pn-charts-card.cjs.entry.js +2 -2
  24. package/dist/cjs/pn-charts-card.cjs.entry.js.map +1 -1
  25. package/dist/cjs/pn-choice-button.cjs.entry.js +2 -2
  26. package/dist/cjs/pn-choice-button.cjs.entry.js.map +1 -1
  27. package/dist/cjs/pn-cta-block.cjs.entry.js +2 -2
  28. package/dist/cjs/pn-cta-block.cjs.entry.js.map +1 -1
  29. package/dist/cjs/pn-customernumber-selector-option.cjs.entry.js +3 -3
  30. package/dist/cjs/pn-customernumber-selector-option.cjs.entry.js.map +1 -1
  31. package/dist/cjs/pn-customernumber-selector.cjs.entry.js +9 -4
  32. package/dist/cjs/pn-customernumber-selector.cjs.entry.js.map +1 -1
  33. package/dist/cjs/pn-date-and-time.cjs.entry.js +2 -2
  34. package/dist/cjs/pn-date-and-time.cjs.entry.js.map +1 -1
  35. package/dist/cjs/pn-dropdown-choice-adds-row.cjs.entry.js +8 -20
  36. package/dist/cjs/pn-dropdown-choice-adds-row.cjs.entry.js.map +1 -1
  37. package/dist/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js +2 -2
  38. package/dist/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js.map +1 -1
  39. package/dist/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js +2 -2
  40. package/dist/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js.map +1 -1
  41. package/dist/cjs/pn-filter-checkbox.cjs.entry.js +2 -2
  42. package/dist/cjs/pn-filter-checkbox.cjs.entry.js.map +1 -1
  43. package/dist/cjs/pn-find-price-result.cjs.entry.js +5 -5
  44. package/dist/cjs/pn-find-price-result.cjs.entry.js.map +1 -1
  45. package/dist/cjs/{pn-find-price-store-0c8256c7.js → pn-find-price-store-051e931b.js} +2 -2
  46. package/dist/cjs/{pn-find-price-store-0c8256c7.js.map → pn-find-price-store-051e931b.js.map} +1 -1
  47. package/dist/cjs/pn-find-price.cjs.entry.js +6 -6
  48. package/dist/cjs/pn-find-price.cjs.entry.js.map +1 -1
  49. package/dist/cjs/pn-find-service-and-price-result.cjs.entry.js +5 -5
  50. package/dist/cjs/pn-find-service-and-price-result.cjs.entry.js.map +1 -1
  51. package/dist/cjs/{pn-find-service-and-price-store-13f060e0.js → pn-find-service-and-price-store-3cec3d31.js} +2 -2
  52. package/dist/cjs/{pn-find-service-and-price-store-13f060e0.js.map → pn-find-service-and-price-store-3cec3d31.js.map} +1 -1
  53. package/dist/cjs/pn-find-service-and-price.cjs.entry.js +5 -5
  54. package/dist/cjs/pn-find-service-and-price.cjs.entry.js.map +1 -1
  55. package/dist/cjs/pn-hero-block-international.cjs.entry.js +3 -3
  56. package/dist/cjs/pn-hero-block-international.cjs.entry.js.map +1 -1
  57. package/dist/cjs/pn-language-selector_9.cjs.entry.js +27 -25
  58. package/dist/cjs/pn-language-selector_9.cjs.entry.js.map +1 -1
  59. package/dist/cjs/pn-line-shape.cjs.entry.js +2 -2
  60. package/dist/cjs/pn-line-shape.cjs.entry.js.map +1 -1
  61. package/dist/cjs/pn-link-list.cjs.entry.js +3 -3
  62. package/dist/cjs/pn-link-list.cjs.entry.js.map +1 -1
  63. package/dist/cjs/pn-mainnav-link.cjs.entry.js +5 -5
  64. package/dist/cjs/pn-mainnav-link.cjs.entry.js.map +1 -1
  65. package/dist/cjs/{pn-mainnav-store-5732f3ca.js → pn-mainnav-store-1a8153fd.js} +2 -2
  66. package/dist/cjs/{pn-mainnav-store-5732f3ca.js.map → pn-mainnav-store-1a8153fd.js.map} +1 -1
  67. package/dist/cjs/pn-market-web-components.cjs.js +2 -2
  68. package/dist/cjs/pn-marketweb-icon.cjs.entry.js +3 -3
  69. package/dist/cjs/pn-marketweb-icon.cjs.entry.js.map +1 -1
  70. package/dist/cjs/pn-marketweb-input.cjs.entry.js +6 -4
  71. package/dist/cjs/pn-marketweb-input.cjs.entry.js.map +1 -1
  72. package/dist/cjs/pn-marketweb-search.cjs.entry.js +5 -6
  73. package/dist/cjs/pn-marketweb-search.cjs.entry.js.map +1 -1
  74. package/dist/cjs/pn-marketweb-sitefooter.cjs.entry.js +10 -7
  75. package/dist/cjs/pn-marketweb-sitefooter.cjs.entry.js.map +1 -1
  76. package/dist/cjs/{pn-marketweb-siteheader-login-button_4.cjs.entry.js → pn-marketweb-siteheader-login-button_5.cjs.entry.js} +26 -8
  77. package/dist/cjs/pn-marketweb-siteheader-login-button_5.cjs.entry.js.map +1 -0
  78. package/dist/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js +4 -4
  79. package/dist/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js.map +1 -1
  80. package/dist/cjs/{pn-marketweb-siteheader-store-ce9d9ac7.js → pn-marketweb-siteheader-store-75853609.js} +2 -2
  81. package/dist/cjs/{pn-marketweb-siteheader-store-ce9d9ac7.js.map → pn-marketweb-siteheader-store-75853609.js.map} +1 -1
  82. package/dist/cjs/pn-marketweb-siteheader.cjs.entry.js +10 -11
  83. package/dist/cjs/pn-marketweb-siteheader.cjs.entry.js.map +1 -1
  84. package/dist/cjs/pn-media-block.cjs.entry.js +6 -6
  85. package/dist/cjs/pn-media-block.cjs.entry.js.map +1 -1
  86. package/dist/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js +2 -2
  87. package/dist/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js.map +1 -1
  88. package/dist/cjs/pn-multi-row-connected-dropdown.cjs.entry.js +2 -2
  89. package/dist/cjs/pn-multi-row-connected-dropdown.cjs.entry.js.map +1 -1
  90. package/dist/cjs/pn-multiple-input.cjs.entry.js +1 -1
  91. package/dist/cjs/pn-parcel-tracker.cjs.entry.js +2 -2
  92. package/dist/cjs/pn-parcel-tracker.cjs.entry.js.map +1 -1
  93. package/dist/cjs/pn-pex-pricefinder.cjs.entry.js +3 -3
  94. package/dist/cjs/pn-pex-pricefinder.cjs.entry.js.map +1 -1
  95. package/dist/cjs/pn-play-on-scroll.cjs.entry.js +1 -1
  96. package/dist/cjs/pn-product-card_3.cjs.entry.js +5 -5
  97. package/dist/cjs/pn-product-card_3.cjs.entry.js.map +1 -1
  98. package/dist/cjs/pn-product-pricelist-result.cjs.entry.js +4 -4
  99. package/dist/cjs/pn-product-pricelist-result.cjs.entry.js.map +1 -1
  100. package/dist/cjs/pn-product-pricelist.cjs.entry.js +6 -6
  101. package/dist/cjs/pn-product-pricelist.cjs.entry.js.map +1 -1
  102. package/dist/cjs/pn-product-tile-info_2.cjs.entry.js +4 -4
  103. package/dist/cjs/pn-product-tile-info_2.cjs.entry.js.map +1 -1
  104. package/dist/cjs/pn-product-tile.cjs.entry.js +3 -3
  105. package/dist/cjs/pn-product-tile.cjs.entry.js.map +1 -1
  106. package/dist/cjs/pn-profile-modal-customernumber.cjs.entry.js +3 -3
  107. package/dist/cjs/pn-profile-modal-customernumber.cjs.entry.js.map +1 -1
  108. package/dist/cjs/pn-profile-modal-profile.cjs.entry.js +6 -6
  109. package/dist/cjs/pn-profile-modal-profile.cjs.entry.js.map +1 -1
  110. package/dist/cjs/{pn-profile-modal-store-16f8092a.js → pn-profile-modal-store-3b6fea24.js} +2 -2
  111. package/dist/cjs/{pn-profile-modal-store-16f8092a.js.map → pn-profile-modal-store-3b6fea24.js.map} +1 -1
  112. package/dist/cjs/pn-profile-modal-type.cjs.entry.js +5 -5
  113. package/dist/cjs/pn-profile-modal-type.cjs.entry.js.map +1 -1
  114. package/dist/cjs/pn-profile-modal.cjs.entry.js +5 -5
  115. package/dist/cjs/pn-profile-modal.cjs.entry.js.map +1 -1
  116. package/dist/cjs/pn-profile-selector-option.cjs.entry.js +3 -3
  117. package/dist/cjs/pn-profile-selector-option.cjs.entry.js.map +1 -1
  118. package/dist/cjs/pn-profile-selector.cjs.entry.js +3 -3
  119. package/dist/cjs/pn-profile-selector.cjs.entry.js.map +1 -1
  120. package/dist/cjs/pn-proxio-findprice-result.cjs.entry.js +3 -3
  121. package/dist/cjs/pn-proxio-findprice-result.cjs.entry.js.map +1 -1
  122. package/dist/cjs/pn-proxio-findprice.cjs.entry.js +8 -9
  123. package/dist/cjs/pn-proxio-findprice.cjs.entry.js.map +1 -1
  124. package/dist/cjs/pn-proxio-pricegroup.cjs.entry.js +5 -6
  125. package/dist/cjs/pn-proxio-pricegroup.cjs.entry.js.map +1 -1
  126. package/dist/cjs/pn-proxio-productcard_4.cjs.entry.js +8 -8
  127. package/dist/cjs/pn-proxio-productcard_4.cjs.entry.js.map +1 -1
  128. package/dist/cjs/pn-quick-cta.cjs.entry.js +2 -2
  129. package/dist/cjs/pn-quick-cta.cjs.entry.js.map +1 -1
  130. package/dist/cjs/pn-quote-card.cjs.entry.js +2 -2
  131. package/dist/cjs/pn-quote-card.cjs.entry.js.map +1 -1
  132. package/dist/cjs/pn-scroll_2.cjs.entry.js +2 -2
  133. package/dist/cjs/pn-scroll_2.cjs.entry.js.map +1 -1
  134. package/dist/cjs/pn-share-item.cjs.entry.js +2 -2
  135. package/dist/cjs/pn-share-item.cjs.entry.js.map +1 -1
  136. package/dist/cjs/pn-share.cjs.entry.js +2 -2
  137. package/dist/cjs/pn-share.cjs.entry.js.map +1 -1
  138. package/dist/cjs/pn-sidenav-level.cjs.entry.js +5 -5
  139. package/dist/cjs/pn-sidenav-level.cjs.entry.js.map +1 -1
  140. package/dist/cjs/pn-sidenav-link.cjs.entry.js +5 -5
  141. package/dist/cjs/pn-sidenav-link.cjs.entry.js.map +1 -1
  142. package/dist/cjs/{pn-sidenav-store-236c8806.js → pn-sidenav-store-cf9c4996.js} +2 -2
  143. package/dist/cjs/{pn-sidenav-store-236c8806.js.map → pn-sidenav-store-cf9c4996.js.map} +1 -1
  144. package/dist/cjs/pn-sidenav-togglebutton.cjs.entry.js +5 -5
  145. package/dist/cjs/pn-sidenav-togglebutton.cjs.entry.js.map +1 -1
  146. package/dist/cjs/pn-sidenav.cjs.entry.js +5 -5
  147. package/dist/cjs/pn-sidenav.cjs.entry.js.map +1 -1
  148. package/dist/cjs/pn-site-footer_3.cjs.entry.js +7 -7
  149. package/dist/cjs/pn-site-footer_3.cjs.entry.js.map +1 -1
  150. package/dist/cjs/pn-spotlight.cjs.entry.js +2 -2
  151. package/dist/cjs/pn-spotlight.cjs.entry.js.map +1 -1
  152. package/dist/cjs/pn-stats-info-data.cjs.entry.js +2 -2
  153. package/dist/cjs/pn-stats-info-data.cjs.entry.js.map +1 -1
  154. package/dist/cjs/pn-stats-info.cjs.entry.js +2 -2
  155. package/dist/cjs/pn-stats-info.cjs.entry.js.map +1 -1
  156. package/dist/cjs/pn-teaser-card.cjs.entry.js +9 -5
  157. package/dist/cjs/pn-teaser-card.cjs.entry.js.map +1 -1
  158. package/dist/cjs/pn-titletag.cjs.entry.js +3 -3
  159. package/dist/cjs/pn-titletag.cjs.entry.js.map +1 -1
  160. package/dist/cjs/pn-usp-promoter.cjs.entry.js +3 -3
  161. package/dist/cjs/pn-usp-promoter.cjs.entry.js.map +1 -1
  162. package/dist/collection/collection-manifest.json +0 -7
  163. package/dist/collection/components/animation/pn-animated-tile/pn-animated-tile.css +0 -25
  164. package/dist/collection/components/animation/pn-play-on-scroll/pn-video-overlay/pn-video-overlay.css +0 -25
  165. package/dist/collection/components/cards/pn-quote-card/pn-line-shape/pn-line-shape.css +0 -25
  166. package/dist/collection/components/cards/pn-quote-card/pn-quote-card.css +0 -25
  167. package/dist/collection/components/cards/pn-teaser-card/pn-teaser-card.css +0 -25
  168. package/dist/collection/components/cards/pn-teaser-card/pn-teaser-card.js +11 -8
  169. package/dist/collection/components/cards/pn-teaser-card/pn-teaser-card.js.map +1 -1
  170. package/dist/collection/components/cards/pn-teaser-card/pn-teaser-card.stories.js +3 -3
  171. package/dist/collection/components/charts/pn-chart/pn-chart.css +0 -25
  172. package/dist/collection/components/charts/pn-charts-card/pn-charts-card.css +0 -25
  173. package/dist/collection/components/cta/pn-cta-block/pn-cta-block.css +0 -25
  174. package/dist/collection/components/cta/pn-parcel-tracker/pn-parcel-tracker.css +0 -25
  175. package/dist/collection/components/cta/pn-quick-cta/pn-quick-cta.css +0 -25
  176. package/dist/collection/components/cta/pn-share/pn-share-item.css +0 -25
  177. package/dist/collection/components/cta/pn-share/pn-share.css +0 -25
  178. package/dist/collection/components/cta/pn-spotlight/pn-spotlight.css +0 -25
  179. package/dist/collection/components/data-visualization/pn-stats-info/pn-stats-info-data/pn-stats-info-data.css +0 -25
  180. package/dist/collection/components/data-visualization/pn-stats-info/pn-stats-info.css +0 -25
  181. package/dist/collection/components/input/pn-address-autofill/pn-address-autofill.css +1 -31
  182. package/dist/collection/components/input/pn-address-autofill/pn-address-autofill.js +68 -58
  183. package/dist/collection/components/input/pn-address-autofill/pn-address-autofill.js.map +1 -1
  184. package/dist/collection/components/input/pn-address-autofill/pn-address-autofill.stories.js +1 -2
  185. package/dist/collection/components/input/pn-address-autofill/translations.js +3 -6
  186. package/dist/collection/components/input/pn-address-autofill/translations.js.map +1 -1
  187. package/dist/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar-level.css +0 -25
  188. package/dist/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar.css +0 -25
  189. package/dist/collection/components/input/pn-choice-button/pn-choice-button.css +0 -25
  190. package/dist/collection/components/input/pn-date-and-time/pn-date-and-time.css +0 -25
  191. package/dist/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.css +0 -25
  192. package/dist/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.js +6 -18
  193. package/dist/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.js.map +1 -1
  194. package/dist/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows-row.css +0 -25
  195. package/dist/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows.css +0 -25
  196. package/dist/collection/components/input/pn-filter-checkbox/pn-filter-checkbox.css +0 -25
  197. package/dist/collection/components/input/pn-marketweb-input/pn-marketweb-input.css +0 -25
  198. package/dist/collection/components/input/pn-marketweb-search/pn-marketweb-search.css +0 -25
  199. package/dist/collection/components/input/pn-marketweb-search/pn-marketweb-search.js +3 -4
  200. package/dist/collection/components/input/pn-marketweb-search/pn-marketweb-search.js.map +1 -1
  201. package/dist/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown-row.css +0 -25
  202. package/dist/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown.css +0 -25
  203. package/dist/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.css +0 -50
  204. package/dist/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js +1 -1
  205. package/dist/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js.map +1 -1
  206. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-linklist.css +0 -25
  207. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-links.css +0 -25
  208. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.css +0 -25
  209. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.js +0 -1
  210. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.js.map +1 -1
  211. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.css +0 -25
  212. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js +1 -1
  213. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js.map +1 -1
  214. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.css +0 -25
  215. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js +37 -1
  216. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js.map +1 -1
  217. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.css +6 -45
  218. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +4 -4
  219. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js +5 -32
  220. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js.map +1 -1
  221. package/dist/collection/components/media/pn-media-block/pn-media-block.css +0 -25
  222. package/dist/collection/components/media/pn-media-block/pn-media-block.js +8 -8
  223. package/dist/collection/components/media/pn-media-block/pn-media-block.js.map +1 -1
  224. package/dist/collection/components/media/pn-media-block/pn-media-block.stories.js +76 -76
  225. package/dist/collection/components/minor/pn-app-banner/pn-app-banner.css +0 -25
  226. package/dist/collection/components/minor/pn-app-banner/pn-app-banner.js +1 -1
  227. package/dist/collection/components/minor/pn-marketweb-icon/pn-marketweb-icon.css +0 -25
  228. package/dist/collection/components/minor/pn-marketweb-icon/pn-marketweb-icon.js +1 -1
  229. package/dist/collection/components/minor/pn-swan/pn-swan.css +0 -25
  230. package/dist/collection/components/minor/pn-swan/pn-swan.js +1 -1
  231. package/dist/collection/components/minor/pn-titletag/pn-titletag.css +0 -25
  232. package/dist/collection/components/minor/pn-titletag/pn-titletag.js +1 -1
  233. package/dist/collection/components/navigation/pn-language-selector/pn-language-selector-option.css +0 -50
  234. package/dist/collection/components/navigation/pn-language-selector/pn-language-selector-option.js +1 -1
  235. package/dist/collection/components/navigation/pn-language-selector/pn-language-selector.css +0 -50
  236. package/dist/collection/components/navigation/pn-language-selector/pn-language-selector.js +1 -1
  237. package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-level.css +0 -25
  238. package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-level.js +2 -2
  239. package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-link.css +0 -25
  240. package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-link.js +1 -1
  241. package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-list.css +0 -25
  242. package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-list.js +1 -1
  243. package/dist/collection/components/navigation/pn-mainnav/pn-mainnav.css +0 -25
  244. package/dist/collection/components/navigation/pn-mainnav/pn-mainnav.js +1 -1
  245. package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-level.css +0 -25
  246. package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-level.js +1 -1
  247. package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-link.css +0 -25
  248. package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-link.js +1 -1
  249. package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.css +0 -25
  250. package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.js +1 -1
  251. package/dist/collection/components/navigation/pn-sidenav/pn-sidenav.css +0 -25
  252. package/dist/collection/components/navigation/pn-sidenav/pn-sidenav.js +1 -1
  253. package/dist/collection/components/navigation/pn-site-footer/pn-site-footer-col.css +0 -50
  254. package/dist/collection/components/navigation/pn-site-footer/pn-site-footer-col.js +1 -1
  255. package/dist/collection/components/navigation/pn-site-footer/pn-site-footer.css +0 -50
  256. package/dist/collection/components/navigation/pn-site-footer/pn-site-footer.js +1 -1
  257. package/dist/collection/components/navigation/pn-site-selector/pn-site-selector-item.css +0 -25
  258. package/dist/collection/components/navigation/pn-site-selector/pn-site-selector-item.js +1 -1
  259. package/dist/collection/components/navigation/pn-site-selector/pn-site-selector.css +0 -25
  260. package/dist/collection/components/navigation/pn-site-selector/pn-site-selector.js +1 -1
  261. package/dist/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.css +0 -25
  262. package/dist/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.js +1 -1
  263. package/dist/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.css +0 -25
  264. package/dist/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.js +1 -1
  265. package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.css +0 -25
  266. package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.js +1 -1
  267. package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.css +0 -25
  268. package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.js +2 -2
  269. package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-type.css +0 -25
  270. package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-type.js +1 -1
  271. package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal.css +0 -25
  272. package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal.js +1 -1
  273. package/dist/collection/components/profile/pn-profile-selector/pn-profile-selector-option.css +0 -25
  274. package/dist/collection/components/profile/pn-profile-selector/pn-profile-selector-option.js +1 -1
  275. package/dist/collection/components/profile/pn-profile-selector/pn-profile-selector.css +0 -25
  276. package/dist/collection/components/profile/pn-profile-selector/pn-profile-selector.js +1 -1
  277. package/dist/collection/components/utilities/pn-breakpoints/pn-breakpoints.css +0 -25
  278. package/dist/collection/components/utilities/pn-breakpoints/pn-breakpoints.js +1 -1
  279. package/dist/collection/components/widgets/pn-find-price/pn-find-price-result.css +0 -25
  280. package/dist/collection/components/widgets/pn-find-price/pn-find-price-result.js +1 -1
  281. package/dist/collection/components/widgets/pn-find-price/pn-find-price.css +0 -25
  282. package/dist/collection/components/widgets/pn-find-price/pn-find-price.js +2 -2
  283. package/dist/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.css +0 -25
  284. package/dist/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.js +1 -1
  285. package/dist/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.css +0 -25
  286. package/dist/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.js +1 -1
  287. package/dist/collection/components/widgets/pn-hero-block-international/pn-hero-block-international.css +0 -25
  288. package/dist/collection/components/widgets/pn-hero-block-international/pn-hero-block-international.js +1 -1
  289. package/dist/collection/components/widgets/pn-link-list/pn-link-list.css +0 -25
  290. package/dist/collection/components/widgets/pn-link-list/pn-link-list.js +1 -1
  291. package/dist/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.css +0 -25
  292. package/dist/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.js +1 -1
  293. package/dist/collection/components/widgets/pn-product-card/pn-product-card-info.css +0 -25
  294. package/dist/collection/components/widgets/pn-product-card/pn-product-card-price.css +0 -25
  295. package/dist/collection/components/widgets/pn-product-card/pn-product-card.css +0 -25
  296. package/dist/collection/components/widgets/pn-product-card/pn-product-card.js +1 -1
  297. package/dist/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.css +0 -25
  298. package/dist/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.js +1 -1
  299. package/dist/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.css +0 -25
  300. package/dist/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.js +2 -2
  301. package/dist/collection/components/widgets/pn-product-tile/pn-product-tile-info.css +0 -25
  302. package/dist/collection/components/widgets/pn-product-tile/pn-product-tile-info.js +1 -1
  303. package/dist/collection/components/widgets/pn-product-tile/pn-product-tile-price.css +0 -25
  304. package/dist/collection/components/widgets/pn-product-tile/pn-product-tile.css +0 -25
  305. package/dist/collection/components/widgets/pn-product-tile/pn-product-tile.js +1 -1
  306. package/dist/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.css +0 -25
  307. package/dist/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.js +1 -1
  308. package/dist/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.css +0 -25
  309. package/dist/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.js +3 -3
  310. package/dist/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.css +0 -25
  311. package/dist/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.js +1 -1
  312. package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.css +0 -25
  313. package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.js +1 -1
  314. package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.css +0 -25
  315. package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.js +1 -1
  316. package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-pricelink.css +0 -25
  317. package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.css +0 -25
  318. package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.js +1 -1
  319. package/dist/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.css +0 -25
  320. package/dist/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.js +1 -1
  321. package/dist/collection/globals/HeadingTag.js +2 -2
  322. package/dist/collection/globals/HeadingTag.js.map +1 -1
  323. package/dist/collection/utils/utils.js +0 -11
  324. package/dist/collection/utils/utils.js.map +1 -1
  325. package/dist/components/FetchHelper.js +243 -1
  326. package/dist/components/FetchHelper.js.map +1 -1
  327. package/dist/components/pn-address-autofill.js +73 -50
  328. package/dist/components/pn-address-autofill.js.map +1 -1
  329. package/dist/components/pn-animated-tile.js +1 -1
  330. package/dist/components/pn-animated-tile.js.map +1 -1
  331. package/dist/components/pn-app-banner.js +2 -2
  332. package/dist/components/pn-app-banner.js.map +1 -1
  333. package/dist/components/pn-bonus-progressbar-level.js +1 -1
  334. package/dist/components/pn-bonus-progressbar-level.js.map +1 -1
  335. package/dist/components/pn-bonus-progressbar.js +1 -1
  336. package/dist/components/pn-bonus-progressbar.js.map +1 -1
  337. package/dist/components/pn-breakpoints.js +2 -2
  338. package/dist/components/pn-breakpoints.js.map +1 -1
  339. package/dist/components/pn-chart.js +1 -1
  340. package/dist/components/pn-chart.js.map +1 -1
  341. package/dist/components/pn-charts-card.js +1 -1
  342. package/dist/components/pn-charts-card.js.map +1 -1
  343. package/dist/components/pn-choice-button2.js +1 -1
  344. package/dist/components/pn-choice-button2.js.map +1 -1
  345. package/dist/components/pn-cta-block.js +1 -1
  346. package/dist/components/pn-cta-block.js.map +1 -1
  347. package/dist/components/pn-customernumber-selector-option.js +2 -2
  348. package/dist/components/pn-customernumber-selector-option.js.map +1 -1
  349. package/dist/components/pn-customernumber-selector.js +8 -3
  350. package/dist/components/pn-customernumber-selector.js.map +1 -1
  351. package/dist/components/pn-date-and-time.js +1 -1
  352. package/dist/components/pn-date-and-time.js.map +1 -1
  353. package/dist/components/pn-dropdown-choice-adds-row.js +7 -19
  354. package/dist/components/pn-dropdown-choice-adds-row.js.map +1 -1
  355. package/dist/components/pn-dropdown-with-multi-input-rows-row2.js +1 -1
  356. package/dist/components/pn-dropdown-with-multi-input-rows-row2.js.map +1 -1
  357. package/dist/components/pn-dropdown-with-multi-input-rows.js +1 -1
  358. package/dist/components/pn-dropdown-with-multi-input-rows.js.map +1 -1
  359. package/dist/components/pn-filter-checkbox2.js +1 -1
  360. package/dist/components/pn-filter-checkbox2.js.map +1 -1
  361. package/dist/components/pn-find-price-result2.js +2 -2
  362. package/dist/components/pn-find-price-result2.js.map +1 -1
  363. package/dist/components/pn-find-price.js +3 -3
  364. package/dist/components/pn-find-price.js.map +1 -1
  365. package/dist/components/pn-find-service-and-price-result2.js +2 -2
  366. package/dist/components/pn-find-service-and-price-result2.js.map +1 -1
  367. package/dist/components/pn-find-service-and-price.js +2 -2
  368. package/dist/components/pn-find-service-and-price.js.map +1 -1
  369. package/dist/components/pn-hero-block-international.js +2 -2
  370. package/dist/components/pn-hero-block-international.js.map +1 -1
  371. package/dist/components/pn-language-selector-option2.js +2 -2
  372. package/dist/components/pn-language-selector-option2.js.map +1 -1
  373. package/dist/components/pn-language-selector2.js +2 -2
  374. package/dist/components/pn-language-selector2.js.map +1 -1
  375. package/dist/components/pn-line-shape.js +1 -1
  376. package/dist/components/pn-line-shape.js.map +1 -1
  377. package/dist/components/pn-link-list.js +2 -2
  378. package/dist/components/pn-link-list.js.map +1 -1
  379. package/dist/components/pn-mainnav-level2.js +3 -3
  380. package/dist/components/pn-mainnav-level2.js.map +1 -1
  381. package/dist/components/pn-mainnav-link2.js +2 -2
  382. package/dist/components/pn-mainnav-link2.js.map +1 -1
  383. package/dist/components/pn-mainnav-list2.js +2 -2
  384. package/dist/components/pn-mainnav-list2.js.map +1 -1
  385. package/dist/components/pn-mainnav2.js +5 -3
  386. package/dist/components/pn-mainnav2.js.map +1 -1
  387. package/dist/components/pn-marketweb-icon.js +2 -2
  388. package/dist/components/pn-marketweb-icon.js.map +1 -1
  389. package/dist/components/pn-marketweb-input2.js +4 -2
  390. package/dist/components/pn-marketweb-input2.js.map +1 -1
  391. package/dist/components/pn-marketweb-search.js +4 -5
  392. package/dist/components/pn-marketweb-search.js.map +1 -1
  393. package/dist/components/pn-marketweb-sitefooter.js +9 -6
  394. package/dist/components/pn-marketweb-sitefooter.js.map +1 -1
  395. package/dist/components/pn-marketweb-siteheader-login-linklist2.js +1 -1
  396. package/dist/components/pn-marketweb-siteheader-login-linklist2.js.map +1 -1
  397. package/dist/components/pn-marketweb-siteheader-login-links2.js +1 -1
  398. package/dist/components/pn-marketweb-siteheader-login-links2.js.map +1 -1
  399. package/dist/components/pn-marketweb-siteheader-login-mypage-button.js +1 -34
  400. package/dist/components/pn-marketweb-siteheader-login-mypage-button.js.map +1 -1
  401. package/dist/components/pn-marketweb-siteheader-login-mypage-button2.js +38 -0
  402. package/dist/components/pn-marketweb-siteheader-login-mypage-button2.js.map +1 -0
  403. package/dist/components/pn-marketweb-siteheader-login-profileselection2.js +1 -2
  404. package/dist/components/pn-marketweb-siteheader-login-profileselection2.js.map +1 -1
  405. package/dist/components/pn-marketweb-siteheader-login2.js +14 -8
  406. package/dist/components/pn-marketweb-siteheader-login2.js.map +1 -1
  407. package/dist/components/pn-marketweb-siteheader-search2.js +1 -1
  408. package/dist/components/pn-marketweb-siteheader-search2.js.map +1 -1
  409. package/dist/components/pn-marketweb-siteheader-unified-login2.js +13 -3
  410. package/dist/components/pn-marketweb-siteheader-unified-login2.js.map +1 -1
  411. package/dist/components/pn-marketweb-siteheader.js +32 -27
  412. package/dist/components/pn-marketweb-siteheader.js.map +1 -1
  413. package/dist/components/pn-media-block.js +6 -6
  414. package/dist/components/pn-media-block.js.map +1 -1
  415. package/dist/components/pn-multi-row-connected-dropdown-row2.js +1 -1
  416. package/dist/components/pn-multi-row-connected-dropdown-row2.js.map +1 -1
  417. package/dist/components/pn-multi-row-connected-dropdown.js +1 -1
  418. package/dist/components/pn-multi-row-connected-dropdown.js.map +1 -1
  419. package/dist/components/pn-parcel-tracker.js +1 -1
  420. package/dist/components/pn-parcel-tracker.js.map +1 -1
  421. package/dist/components/pn-pex-pricefinder.js +2 -2
  422. package/dist/components/pn-pex-pricefinder.js.map +1 -1
  423. package/dist/components/pn-product-card-info2.js +1 -1
  424. package/dist/components/pn-product-card-info2.js.map +1 -1
  425. package/dist/components/pn-product-card-price2.js +1 -1
  426. package/dist/components/pn-product-card-price2.js.map +1 -1
  427. package/dist/components/pn-product-card2.js +2 -2
  428. package/dist/components/pn-product-card2.js.map +1 -1
  429. package/dist/components/pn-product-pricelist-result.js +2 -2
  430. package/dist/components/pn-product-pricelist-result.js.map +1 -1
  431. package/dist/components/pn-product-pricelist.js +3 -3
  432. package/dist/components/pn-product-pricelist.js.map +1 -1
  433. package/dist/components/pn-product-tile-info2.js +2 -2
  434. package/dist/components/pn-product-tile-info2.js.map +1 -1
  435. package/dist/components/pn-product-tile-price2.js +1 -1
  436. package/dist/components/pn-product-tile-price2.js.map +1 -1
  437. package/dist/components/pn-product-tile.js +2 -2
  438. package/dist/components/pn-product-tile.js.map +1 -1
  439. package/dist/components/pn-profile-modal-customernumber.js +2 -2
  440. package/dist/components/pn-profile-modal-customernumber.js.map +1 -1
  441. package/dist/components/pn-profile-modal-profile.js +3 -3
  442. package/dist/components/pn-profile-modal-profile.js.map +1 -1
  443. package/dist/components/pn-profile-modal-type.js +2 -2
  444. package/dist/components/pn-profile-modal-type.js.map +1 -1
  445. package/dist/components/pn-profile-modal.js +2 -2
  446. package/dist/components/pn-profile-modal.js.map +1 -1
  447. package/dist/components/pn-profile-selector-option.js +2 -2
  448. package/dist/components/pn-profile-selector-option.js.map +1 -1
  449. package/dist/components/pn-profile-selector.js +2 -2
  450. package/dist/components/pn-profile-selector.js.map +1 -1
  451. package/dist/components/pn-proxio-findprice-result2.js +2 -2
  452. package/dist/components/pn-proxio-findprice-result2.js.map +1 -1
  453. package/dist/components/pn-proxio-findprice.js +5 -6
  454. package/dist/components/pn-proxio-findprice.js.map +1 -1
  455. package/dist/components/pn-proxio-pricegroup.js +3 -4
  456. package/dist/components/pn-proxio-pricegroup.js.map +1 -1
  457. package/dist/components/pn-proxio-productcard-description2.js +2 -2
  458. package/dist/components/pn-proxio-productcard-description2.js.map +1 -1
  459. package/dist/components/pn-proxio-productcard-information2.js +2 -2
  460. package/dist/components/pn-proxio-productcard-information2.js.map +1 -1
  461. package/dist/components/pn-proxio-productcard-pricelink2.js +1 -1
  462. package/dist/components/pn-proxio-productcard-pricelink2.js.map +1 -1
  463. package/dist/components/pn-proxio-productcard2.js +2 -2
  464. package/dist/components/pn-proxio-productcard2.js.map +1 -1
  465. package/dist/components/pn-quick-cta.js +1 -1
  466. package/dist/components/pn-quick-cta.js.map +1 -1
  467. package/dist/components/pn-quote-card.js +1 -1
  468. package/dist/components/pn-quote-card.js.map +1 -1
  469. package/dist/components/pn-share-item2.js +1 -1
  470. package/dist/components/pn-share-item2.js.map +1 -1
  471. package/dist/components/pn-share.js +1 -1
  472. package/dist/components/pn-share.js.map +1 -1
  473. package/dist/components/pn-sidenav-level.js +2 -2
  474. package/dist/components/pn-sidenav-level.js.map +1 -1
  475. package/dist/components/pn-sidenav-link.js +2 -2
  476. package/dist/components/pn-sidenav-link.js.map +1 -1
  477. package/dist/components/pn-sidenav-togglebutton.js +2 -2
  478. package/dist/components/pn-sidenav-togglebutton.js.map +1 -1
  479. package/dist/components/pn-sidenav.js +2 -2
  480. package/dist/components/pn-sidenav.js.map +1 -1
  481. package/dist/components/pn-site-footer-col2.js +2 -2
  482. package/dist/components/pn-site-footer-col2.js.map +1 -1
  483. package/dist/components/pn-site-footer2.js +2 -2
  484. package/dist/components/pn-site-footer2.js.map +1 -1
  485. package/dist/components/pn-site-selector-item2.js +2 -2
  486. package/dist/components/pn-site-selector-item2.js.map +1 -1
  487. package/dist/components/pn-site-selector2.js +2 -2
  488. package/dist/components/pn-site-selector2.js.map +1 -1
  489. package/dist/components/pn-spotlight.js +1 -1
  490. package/dist/components/pn-spotlight.js.map +1 -1
  491. package/dist/components/pn-stats-info-data2.js +1 -1
  492. package/dist/components/pn-stats-info-data2.js.map +1 -1
  493. package/dist/components/pn-stats-info.js +1 -1
  494. package/dist/components/pn-stats-info.js.map +1 -1
  495. package/dist/components/pn-swan2.js +2 -2
  496. package/dist/components/pn-swan2.js.map +1 -1
  497. package/dist/components/pn-teaser-card.js +9 -5
  498. package/dist/components/pn-teaser-card.js.map +1 -1
  499. package/dist/components/pn-titletag2.js +2 -2
  500. package/dist/components/pn-titletag2.js.map +1 -1
  501. package/dist/components/pn-usp-promoter.js +2 -2
  502. package/dist/components/pn-usp-promoter.js.map +1 -1
  503. package/dist/components/pn-video-overlay2.js +1 -1
  504. package/dist/components/pn-video-overlay2.js.map +1 -1
  505. package/dist/{components/MarketWebContextService.js → esm/FetchHelper-746f2bb6.js} +82 -2
  506. package/dist/esm/FetchHelper-746f2bb6.js.map +1 -0
  507. package/dist/esm/{index-c311acd6.js → index-51d67461.js} +5 -53
  508. package/dist/esm/index-51d67461.js.map +1 -0
  509. package/dist/esm/{index-ae60ebec.js → index-89124075.js} +2 -2
  510. package/dist/esm/{index-ae60ebec.js.map → index-89124075.js.map} +1 -1
  511. package/dist/esm/index.js +1 -1
  512. package/dist/esm/loader.js +3 -3
  513. package/dist/esm/pn-address-autofill.entry.js +74 -50
  514. package/dist/esm/pn-address-autofill.entry.js.map +1 -1
  515. package/dist/esm/pn-animated-tile.entry.js +2 -2
  516. package/dist/esm/pn-animated-tile.entry.js.map +1 -1
  517. package/dist/esm/pn-app-banner.entry.js +3 -3
  518. package/dist/esm/pn-app-banner.entry.js.map +1 -1
  519. package/dist/esm/pn-bonus-progressbar-level.entry.js +2 -2
  520. package/dist/esm/pn-bonus-progressbar-level.entry.js.map +1 -1
  521. package/dist/esm/pn-bonus-progressbar.entry.js +2 -2
  522. package/dist/esm/pn-bonus-progressbar.entry.js.map +1 -1
  523. package/dist/esm/pn-breakpoints.entry.js +3 -3
  524. package/dist/esm/pn-breakpoints.entry.js.map +1 -1
  525. package/dist/esm/pn-chart.entry.js +2 -2
  526. package/dist/esm/pn-chart.entry.js.map +1 -1
  527. package/dist/esm/pn-charts-card.entry.js +2 -2
  528. package/dist/esm/pn-charts-card.entry.js.map +1 -1
  529. package/dist/esm/pn-choice-button.entry.js +2 -2
  530. package/dist/esm/pn-choice-button.entry.js.map +1 -1
  531. package/dist/esm/pn-cta-block.entry.js +2 -2
  532. package/dist/esm/pn-cta-block.entry.js.map +1 -1
  533. package/dist/esm/pn-customernumber-selector-option.entry.js +3 -3
  534. package/dist/esm/pn-customernumber-selector-option.entry.js.map +1 -1
  535. package/dist/esm/pn-customernumber-selector.entry.js +9 -4
  536. package/dist/esm/pn-customernumber-selector.entry.js.map +1 -1
  537. package/dist/esm/pn-date-and-time.entry.js +2 -2
  538. package/dist/esm/pn-date-and-time.entry.js.map +1 -1
  539. package/dist/esm/pn-dropdown-choice-adds-row.entry.js +8 -20
  540. package/dist/esm/pn-dropdown-choice-adds-row.entry.js.map +1 -1
  541. package/dist/esm/pn-dropdown-with-multi-input-rows-row.entry.js +2 -2
  542. package/dist/esm/pn-dropdown-with-multi-input-rows-row.entry.js.map +1 -1
  543. package/dist/esm/pn-dropdown-with-multi-input-rows.entry.js +2 -2
  544. package/dist/esm/pn-dropdown-with-multi-input-rows.entry.js.map +1 -1
  545. package/dist/esm/pn-filter-checkbox.entry.js +2 -2
  546. package/dist/esm/pn-filter-checkbox.entry.js.map +1 -1
  547. package/dist/esm/pn-find-price-result.entry.js +5 -5
  548. package/dist/esm/pn-find-price-result.entry.js.map +1 -1
  549. package/dist/esm/{pn-find-price-store-f97f2325.js → pn-find-price-store-c9a9d3d4.js} +2 -2
  550. package/dist/esm/{pn-find-price-store-f97f2325.js.map → pn-find-price-store-c9a9d3d4.js.map} +1 -1
  551. package/dist/esm/pn-find-price.entry.js +6 -6
  552. package/dist/esm/pn-find-price.entry.js.map +1 -1
  553. package/dist/esm/pn-find-service-and-price-result.entry.js +5 -5
  554. package/dist/esm/pn-find-service-and-price-result.entry.js.map +1 -1
  555. package/dist/esm/{pn-find-service-and-price-store-6553566d.js → pn-find-service-and-price-store-60aa5801.js} +2 -2
  556. package/dist/esm/{pn-find-service-and-price-store-6553566d.js.map → pn-find-service-and-price-store-60aa5801.js.map} +1 -1
  557. package/dist/esm/pn-find-service-and-price.entry.js +5 -5
  558. package/dist/esm/pn-find-service-and-price.entry.js.map +1 -1
  559. package/dist/esm/pn-hero-block-international.entry.js +3 -3
  560. package/dist/esm/pn-hero-block-international.entry.js.map +1 -1
  561. package/dist/esm/pn-language-selector_9.entry.js +27 -25
  562. package/dist/esm/pn-language-selector_9.entry.js.map +1 -1
  563. package/dist/esm/pn-line-shape.entry.js +2 -2
  564. package/dist/esm/pn-line-shape.entry.js.map +1 -1
  565. package/dist/esm/pn-link-list.entry.js +3 -3
  566. package/dist/esm/pn-link-list.entry.js.map +1 -1
  567. package/dist/esm/pn-mainnav-link.entry.js +5 -5
  568. package/dist/esm/pn-mainnav-link.entry.js.map +1 -1
  569. package/dist/esm/{pn-mainnav-store-23387019.js → pn-mainnav-store-9c42bc66.js} +2 -2
  570. package/dist/esm/{pn-mainnav-store-23387019.js.map → pn-mainnav-store-9c42bc66.js.map} +1 -1
  571. package/dist/esm/pn-market-web-components.js +3 -3
  572. package/dist/esm/pn-marketweb-icon.entry.js +3 -3
  573. package/dist/esm/pn-marketweb-icon.entry.js.map +1 -1
  574. package/dist/esm/pn-marketweb-input.entry.js +5 -3
  575. package/dist/esm/pn-marketweb-input.entry.js.map +1 -1
  576. package/dist/esm/pn-marketweb-search.entry.js +5 -6
  577. package/dist/esm/pn-marketweb-search.entry.js.map +1 -1
  578. package/dist/esm/pn-marketweb-sitefooter.entry.js +9 -6
  579. package/dist/esm/pn-marketweb-sitefooter.entry.js.map +1 -1
  580. package/dist/esm/{pn-marketweb-siteheader-login-button_4.entry.js → pn-marketweb-siteheader-login-button_5.entry.js} +26 -9
  581. package/dist/esm/pn-marketweb-siteheader-login-button_5.entry.js.map +1 -0
  582. package/dist/esm/pn-marketweb-siteheader-login-linklist.entry.js +4 -4
  583. package/dist/esm/pn-marketweb-siteheader-login-linklist.entry.js.map +1 -1
  584. package/dist/esm/{pn-marketweb-siteheader-store-f60eb1e4.js → pn-marketweb-siteheader-store-91f74255.js} +2 -2
  585. package/dist/esm/{pn-marketweb-siteheader-store-f60eb1e4.js.map → pn-marketweb-siteheader-store-91f74255.js.map} +1 -1
  586. package/dist/esm/pn-marketweb-siteheader.entry.js +9 -10
  587. package/dist/esm/pn-marketweb-siteheader.entry.js.map +1 -1
  588. package/dist/esm/pn-media-block.entry.js +6 -6
  589. package/dist/esm/pn-media-block.entry.js.map +1 -1
  590. package/dist/esm/pn-multi-row-connected-dropdown-row.entry.js +2 -2
  591. package/dist/esm/pn-multi-row-connected-dropdown-row.entry.js.map +1 -1
  592. package/dist/esm/pn-multi-row-connected-dropdown.entry.js +2 -2
  593. package/dist/esm/pn-multi-row-connected-dropdown.entry.js.map +1 -1
  594. package/dist/esm/pn-multiple-input.entry.js +1 -1
  595. package/dist/esm/pn-parcel-tracker.entry.js +2 -2
  596. package/dist/esm/pn-parcel-tracker.entry.js.map +1 -1
  597. package/dist/esm/pn-pex-pricefinder.entry.js +3 -3
  598. package/dist/esm/pn-pex-pricefinder.entry.js.map +1 -1
  599. package/dist/esm/pn-play-on-scroll.entry.js +1 -1
  600. package/dist/esm/pn-product-card_3.entry.js +5 -5
  601. package/dist/esm/pn-product-card_3.entry.js.map +1 -1
  602. package/dist/esm/pn-product-pricelist-result.entry.js +4 -4
  603. package/dist/esm/pn-product-pricelist-result.entry.js.map +1 -1
  604. package/dist/esm/pn-product-pricelist.entry.js +6 -6
  605. package/dist/esm/pn-product-pricelist.entry.js.map +1 -1
  606. package/dist/esm/pn-product-tile-info_2.entry.js +4 -4
  607. package/dist/esm/pn-product-tile-info_2.entry.js.map +1 -1
  608. package/dist/esm/pn-product-tile.entry.js +3 -3
  609. package/dist/esm/pn-product-tile.entry.js.map +1 -1
  610. package/dist/esm/pn-profile-modal-customernumber.entry.js +3 -3
  611. package/dist/esm/pn-profile-modal-customernumber.entry.js.map +1 -1
  612. package/dist/esm/pn-profile-modal-profile.entry.js +6 -6
  613. package/dist/esm/pn-profile-modal-profile.entry.js.map +1 -1
  614. package/dist/esm/{pn-profile-modal-store-5d651bd5.js → pn-profile-modal-store-4655b124.js} +2 -2
  615. package/dist/esm/{pn-profile-modal-store-5d651bd5.js.map → pn-profile-modal-store-4655b124.js.map} +1 -1
  616. package/dist/esm/pn-profile-modal-type.entry.js +5 -5
  617. package/dist/esm/pn-profile-modal-type.entry.js.map +1 -1
  618. package/dist/esm/pn-profile-modal.entry.js +5 -5
  619. package/dist/esm/pn-profile-modal.entry.js.map +1 -1
  620. package/dist/esm/pn-profile-selector-option.entry.js +3 -3
  621. package/dist/esm/pn-profile-selector-option.entry.js.map +1 -1
  622. package/dist/esm/pn-profile-selector.entry.js +3 -3
  623. package/dist/esm/pn-profile-selector.entry.js.map +1 -1
  624. package/dist/esm/pn-proxio-findprice-result.entry.js +3 -3
  625. package/dist/esm/pn-proxio-findprice-result.entry.js.map +1 -1
  626. package/dist/esm/pn-proxio-findprice.entry.js +7 -8
  627. package/dist/esm/pn-proxio-findprice.entry.js.map +1 -1
  628. package/dist/esm/pn-proxio-pricegroup.entry.js +4 -5
  629. package/dist/esm/pn-proxio-pricegroup.entry.js.map +1 -1
  630. package/dist/esm/pn-proxio-productcard_4.entry.js +8 -8
  631. package/dist/esm/pn-proxio-productcard_4.entry.js.map +1 -1
  632. package/dist/esm/pn-quick-cta.entry.js +2 -2
  633. package/dist/esm/pn-quick-cta.entry.js.map +1 -1
  634. package/dist/esm/pn-quote-card.entry.js +2 -2
  635. package/dist/esm/pn-quote-card.entry.js.map +1 -1
  636. package/dist/esm/pn-scroll_2.entry.js +2 -2
  637. package/dist/esm/pn-scroll_2.entry.js.map +1 -1
  638. package/dist/esm/pn-share-item.entry.js +2 -2
  639. package/dist/esm/pn-share-item.entry.js.map +1 -1
  640. package/dist/esm/pn-share.entry.js +2 -2
  641. package/dist/esm/pn-share.entry.js.map +1 -1
  642. package/dist/esm/pn-sidenav-level.entry.js +5 -5
  643. package/dist/esm/pn-sidenav-level.entry.js.map +1 -1
  644. package/dist/esm/pn-sidenav-link.entry.js +5 -5
  645. package/dist/esm/pn-sidenav-link.entry.js.map +1 -1
  646. package/dist/esm/{pn-sidenav-store-e2038d79.js → pn-sidenav-store-85bdb1e6.js} +2 -2
  647. package/dist/esm/{pn-sidenav-store-e2038d79.js.map → pn-sidenav-store-85bdb1e6.js.map} +1 -1
  648. package/dist/esm/pn-sidenav-togglebutton.entry.js +5 -5
  649. package/dist/esm/pn-sidenav-togglebutton.entry.js.map +1 -1
  650. package/dist/esm/pn-sidenav.entry.js +5 -5
  651. package/dist/esm/pn-sidenav.entry.js.map +1 -1
  652. package/dist/esm/pn-site-footer_3.entry.js +7 -7
  653. package/dist/esm/pn-site-footer_3.entry.js.map +1 -1
  654. package/dist/esm/pn-spotlight.entry.js +2 -2
  655. package/dist/esm/pn-spotlight.entry.js.map +1 -1
  656. package/dist/esm/pn-stats-info-data.entry.js +2 -2
  657. package/dist/esm/pn-stats-info-data.entry.js.map +1 -1
  658. package/dist/esm/pn-stats-info.entry.js +2 -2
  659. package/dist/esm/pn-stats-info.entry.js.map +1 -1
  660. package/dist/esm/pn-teaser-card.entry.js +9 -5
  661. package/dist/esm/pn-teaser-card.entry.js.map +1 -1
  662. package/dist/esm/pn-titletag.entry.js +3 -3
  663. package/dist/esm/pn-titletag.entry.js.map +1 -1
  664. package/dist/esm/pn-usp-promoter.entry.js +3 -3
  665. package/dist/esm/pn-usp-promoter.entry.js.map +1 -1
  666. package/dist/package.json +3 -5
  667. package/dist/pn-market-web-components/index.esm.js +1 -1
  668. package/dist/pn-market-web-components/index.esm.js.map +1 -1
  669. package/dist/pn-market-web-components/p-066e9db9.entry.js +2 -0
  670. package/dist/pn-market-web-components/{p-7b4f9fdf.entry.js.map → p-066e9db9.entry.js.map} +1 -1
  671. package/dist/pn-market-web-components/p-0ec8d040.entry.js +2 -0
  672. package/dist/pn-market-web-components/{p-65a046be.entry.js.map → p-0ec8d040.entry.js.map} +1 -1
  673. package/dist/pn-market-web-components/p-13190b30.js +2 -0
  674. package/dist/pn-market-web-components/{p-ad9a7633.entry.js → p-155c2049.entry.js} +2 -2
  675. package/dist/pn-market-web-components/p-190c6938.entry.js +2 -0
  676. package/dist/pn-market-web-components/{p-389a94e7.entry.js.map → p-190c6938.entry.js.map} +1 -1
  677. package/dist/pn-market-web-components/p-1ec21bd6.entry.js +2 -0
  678. package/dist/pn-market-web-components/{p-f4b14be8.entry.js.map → p-1ec21bd6.entry.js.map} +1 -1
  679. package/dist/pn-market-web-components/p-231b97e1.entry.js +2 -0
  680. package/dist/pn-market-web-components/{p-659a4db5.entry.js.map → p-231b97e1.entry.js.map} +1 -1
  681. package/dist/pn-market-web-components/p-23d69d70.entry.js +2 -0
  682. package/dist/pn-market-web-components/p-23d69d70.entry.js.map +1 -0
  683. package/dist/pn-market-web-components/p-24086c59.entry.js +2 -0
  684. package/dist/pn-market-web-components/{p-7b7629c5.entry.js.map → p-24086c59.entry.js.map} +1 -1
  685. package/dist/pn-market-web-components/{p-8836de82.js → p-2509d18d.js} +2 -2
  686. package/dist/pn-market-web-components/p-25d53df2.entry.js +2 -0
  687. package/dist/pn-market-web-components/{p-72f57a04.entry.js.map → p-25d53df2.entry.js.map} +1 -1
  688. package/dist/pn-market-web-components/p-25dfc349.entry.js +2 -0
  689. package/dist/pn-market-web-components/{p-84fc8e05.entry.js.map → p-25dfc349.entry.js.map} +1 -1
  690. package/dist/pn-market-web-components/{p-f0df7694.entry.js → p-278cda98.entry.js} +4 -4
  691. package/dist/pn-market-web-components/{p-f0df7694.entry.js.map → p-278cda98.entry.js.map} +1 -1
  692. package/dist/pn-market-web-components/p-27d138b4.entry.js +2 -0
  693. package/dist/pn-market-web-components/p-27d138b4.entry.js.map +1 -0
  694. package/dist/pn-market-web-components/p-2b03a4e1.entry.js +2 -0
  695. package/dist/pn-market-web-components/p-2b03a4e1.entry.js.map +1 -0
  696. package/dist/pn-market-web-components/p-3fb8e665.entry.js +2 -0
  697. package/dist/pn-market-web-components/{p-71db6836.entry.js.map → p-3fb8e665.entry.js.map} +1 -1
  698. package/dist/pn-market-web-components/p-45b8cadb.entry.js +2 -0
  699. package/dist/pn-market-web-components/{p-9454075f.entry.js.map → p-45b8cadb.entry.js.map} +1 -1
  700. package/dist/pn-market-web-components/p-45d1e1be.entry.js +2 -0
  701. package/dist/pn-market-web-components/{p-3d10bc37.entry.js.map → p-45d1e1be.entry.js.map} +1 -1
  702. package/dist/pn-market-web-components/p-4d2ca281.entry.js +2 -0
  703. package/dist/pn-market-web-components/{p-ad282b7c.entry.js.map → p-4d2ca281.entry.js.map} +1 -1
  704. package/dist/pn-market-web-components/p-4e3059dd.entry.js +2 -0
  705. package/dist/pn-market-web-components/{p-7db6ef34.entry.js.map → p-4e3059dd.entry.js.map} +1 -1
  706. package/dist/pn-market-web-components/p-4fa5bc85.entry.js +2 -0
  707. package/dist/pn-market-web-components/{p-0fc01d3f.entry.js.map → p-4fa5bc85.entry.js.map} +1 -1
  708. package/dist/pn-market-web-components/p-530274ae.entry.js +2 -0
  709. package/dist/pn-market-web-components/{p-39b75c62.entry.js.map → p-530274ae.entry.js.map} +1 -1
  710. package/dist/pn-market-web-components/p-545c24c0.entry.js +2 -0
  711. package/dist/pn-market-web-components/{p-da56370b.entry.js.map → p-545c24c0.entry.js.map} +1 -1
  712. package/dist/pn-market-web-components/p-55643d76.entry.js +2 -0
  713. package/dist/pn-market-web-components/{p-2a58d83b.entry.js.map → p-55643d76.entry.js.map} +1 -1
  714. package/dist/pn-market-web-components/{p-8a651698.entry.js → p-560e5291.entry.js} +2 -2
  715. package/dist/pn-market-web-components/p-572c4d81.entry.js +2 -0
  716. package/dist/pn-market-web-components/p-572c4d81.entry.js.map +1 -0
  717. package/dist/pn-market-web-components/p-59549c74.entry.js +2 -0
  718. package/dist/pn-market-web-components/{p-b9590d81.entry.js.map → p-59549c74.entry.js.map} +1 -1
  719. package/dist/pn-market-web-components/p-59cb7166.entry.js +2 -0
  720. package/dist/pn-market-web-components/p-59cb7166.entry.js.map +1 -0
  721. package/dist/pn-market-web-components/p-5a1b6e6d.entry.js +2 -0
  722. package/dist/pn-market-web-components/{p-c4e353b3.entry.js.map → p-5a1b6e6d.entry.js.map} +1 -1
  723. package/dist/pn-market-web-components/p-5d06e48f.entry.js +2 -0
  724. package/dist/pn-market-web-components/p-5d06e48f.entry.js.map +1 -0
  725. package/dist/pn-market-web-components/p-62cabd1e.entry.js +2 -0
  726. package/dist/pn-market-web-components/{p-66da6e15.entry.js.map → p-62cabd1e.entry.js.map} +1 -1
  727. package/dist/pn-market-web-components/p-64d0dbba.entry.js +2 -0
  728. package/dist/pn-market-web-components/{p-c9038b03.entry.js.map → p-64d0dbba.entry.js.map} +1 -1
  729. package/dist/pn-market-web-components/p-652f97b9.js +2 -0
  730. package/dist/pn-market-web-components/p-65ab3003.entry.js +2 -0
  731. package/dist/pn-market-web-components/{p-41cdac85.entry.js.map → p-65ab3003.entry.js.map} +1 -1
  732. package/dist/pn-market-web-components/{p-6b1d045c.js → p-65f243c1.js} +2 -2
  733. package/dist/pn-market-web-components/p-65f243c1.js.map +1 -0
  734. package/dist/pn-market-web-components/p-6647d2c4.entry.js +2 -0
  735. package/dist/pn-market-web-components/{p-79e4715c.entry.js.map → p-6647d2c4.entry.js.map} +1 -1
  736. package/dist/pn-market-web-components/p-6a5f7dee.entry.js +2 -0
  737. package/dist/pn-market-web-components/{p-3e197670.entry.js.map → p-6a5f7dee.entry.js.map} +1 -1
  738. package/dist/pn-market-web-components/p-6fdd5b5a.entry.js +2 -0
  739. package/dist/pn-market-web-components/{p-cbb1d57d.entry.js.map → p-6fdd5b5a.entry.js.map} +1 -1
  740. package/dist/pn-market-web-components/p-7076038b.entry.js +2 -0
  741. package/dist/pn-market-web-components/{p-daa74e60.entry.js.map → p-7076038b.entry.js.map} +1 -1
  742. package/dist/pn-market-web-components/p-725aba56.entry.js +2 -0
  743. package/dist/pn-market-web-components/p-725aba56.entry.js.map +1 -0
  744. package/dist/pn-market-web-components/p-72dbca40.entry.js +2 -0
  745. package/dist/pn-market-web-components/{p-2c19edca.entry.js.map → p-72dbca40.entry.js.map} +1 -1
  746. package/dist/pn-market-web-components/p-74fd7435.entry.js +2 -0
  747. package/dist/pn-market-web-components/{p-8d98f709.entry.js.map → p-74fd7435.entry.js.map} +1 -1
  748. package/dist/pn-market-web-components/p-758f1b53.entry.js +2 -0
  749. package/dist/pn-market-web-components/{p-95d32ab4.entry.js.map → p-758f1b53.entry.js.map} +1 -1
  750. package/dist/pn-market-web-components/p-76e6708b.entry.js +2 -0
  751. package/dist/pn-market-web-components/{p-292db484.entry.js.map → p-76e6708b.entry.js.map} +1 -1
  752. package/dist/pn-market-web-components/p-776f3d51.entry.js +2 -0
  753. package/dist/pn-market-web-components/{p-64851da0.entry.js.map → p-776f3d51.entry.js.map} +1 -1
  754. package/dist/pn-market-web-components/p-77a35f5e.entry.js +2 -0
  755. package/dist/pn-market-web-components/{p-542f949d.entry.js.map → p-77a35f5e.entry.js.map} +1 -1
  756. package/dist/pn-market-web-components/p-7c3091eb.entry.js +2 -0
  757. package/dist/pn-market-web-components/p-7c3091eb.entry.js.map +1 -0
  758. package/dist/pn-market-web-components/p-856c235c.entry.js +2 -0
  759. package/dist/pn-market-web-components/{p-f28059f4.entry.js.map → p-856c235c.entry.js.map} +1 -1
  760. package/dist/pn-market-web-components/{p-f9083b7a.js → p-8af1b914.js} +2 -2
  761. package/dist/pn-market-web-components/p-8c26b98d.entry.js +2 -0
  762. package/dist/pn-market-web-components/{p-61bd81d7.entry.js.map → p-8c26b98d.entry.js.map} +1 -1
  763. package/dist/pn-market-web-components/p-90242f18.entry.js +2 -0
  764. package/dist/pn-market-web-components/{p-f5d03222.entry.js.map → p-90242f18.entry.js.map} +1 -1
  765. package/dist/pn-market-web-components/p-94a69959.entry.js +2 -0
  766. package/dist/pn-market-web-components/p-94a69959.entry.js.map +1 -0
  767. package/dist/pn-market-web-components/p-95519556.entry.js +2 -0
  768. package/dist/pn-market-web-components/{p-c89cb749.entry.js.map → p-95519556.entry.js.map} +1 -1
  769. package/dist/pn-market-web-components/{p-930e2943.js → p-959a37d9.js} +2 -2
  770. package/dist/pn-market-web-components/p-a38118be.entry.js +2 -0
  771. package/dist/pn-market-web-components/{p-08b473e0.entry.js.map → p-a38118be.entry.js.map} +1 -1
  772. package/dist/pn-market-web-components/p-a419cd91.entry.js +2 -0
  773. package/dist/pn-market-web-components/{p-230ef9aa.entry.js.map → p-a419cd91.entry.js.map} +1 -1
  774. package/dist/pn-market-web-components/p-a54a298b.entry.js +2 -0
  775. package/dist/pn-market-web-components/p-a54a298b.entry.js.map +1 -0
  776. package/dist/pn-market-web-components/p-a6866467.entry.js +2 -0
  777. package/dist/pn-market-web-components/{p-619f2143.entry.js.map → p-a6866467.entry.js.map} +1 -1
  778. package/dist/pn-market-web-components/p-a72c2729.entry.js +2 -0
  779. package/dist/pn-market-web-components/{p-9088d3f5.entry.js.map → p-a72c2729.entry.js.map} +1 -1
  780. package/dist/pn-market-web-components/p-aeeabb32.entry.js +2 -0
  781. package/dist/pn-market-web-components/{p-4f639380.entry.js.map → p-aeeabb32.entry.js.map} +1 -1
  782. package/dist/pn-market-web-components/p-b35cdbac.entry.js +2 -0
  783. package/dist/pn-market-web-components/{p-5a981927.entry.js.map → p-b35cdbac.entry.js.map} +1 -1
  784. package/dist/pn-market-web-components/p-b5a0275d.entry.js +2 -0
  785. package/dist/pn-market-web-components/{p-8d874454.entry.js.map → p-b5a0275d.entry.js.map} +1 -1
  786. package/dist/pn-market-web-components/p-b693f78a.entry.js +2 -0
  787. package/dist/pn-market-web-components/{p-d17af75d.entry.js.map → p-b693f78a.entry.js.map} +1 -1
  788. package/dist/pn-market-web-components/p-b9340e9c.entry.js +2 -0
  789. package/dist/pn-market-web-components/p-b9340e9c.entry.js.map +1 -0
  790. package/dist/pn-market-web-components/p-b9505c69.entry.js +2 -0
  791. package/dist/pn-market-web-components/{p-e8622338.entry.js.map → p-b9505c69.entry.js.map} +1 -1
  792. package/dist/pn-market-web-components/p-bb1c965e.js +3 -0
  793. package/dist/pn-market-web-components/p-bb1c965e.js.map +1 -0
  794. package/dist/pn-market-web-components/p-c5772021.entry.js +2 -0
  795. package/dist/pn-market-web-components/{p-015127bf.entry.js.map → p-c5772021.entry.js.map} +1 -1
  796. package/dist/pn-market-web-components/{p-fb4cdf98.js → p-cafe11a9.js} +2 -2
  797. package/dist/pn-market-web-components/p-cf39491b.entry.js +2 -0
  798. package/dist/pn-market-web-components/{p-34a98554.entry.js.map → p-cf39491b.entry.js.map} +1 -1
  799. package/dist/pn-market-web-components/p-d0a085cc.entry.js +2 -0
  800. package/dist/pn-market-web-components/{p-d7170c0e.entry.js.map → p-d0a085cc.entry.js.map} +1 -1
  801. package/dist/pn-market-web-components/{p-793e1339.js → p-e09a907b.js} +2 -2
  802. package/dist/pn-market-web-components/p-e2e3ac2f.entry.js +2 -0
  803. package/dist/pn-market-web-components/{p-ce87ff8a.entry.js.map → p-e2e3ac2f.entry.js.map} +1 -1
  804. package/dist/pn-market-web-components/p-e5ae757f.entry.js +2 -0
  805. package/dist/pn-market-web-components/{p-d5c45da2.entry.js.map → p-e5ae757f.entry.js.map} +1 -1
  806. package/dist/pn-market-web-components/p-e6e012fb.entry.js +2 -0
  807. package/dist/pn-market-web-components/{p-35847eda.entry.js.map → p-e6e012fb.entry.js.map} +1 -1
  808. package/dist/pn-market-web-components/p-e8278e9e.entry.js +2 -0
  809. package/dist/pn-market-web-components/{p-85b42b44.entry.js.map → p-e8278e9e.entry.js.map} +1 -1
  810. package/dist/pn-market-web-components/p-e916e99d.entry.js +2 -0
  811. package/dist/pn-market-web-components/{p-60b77eed.entry.js.map → p-e916e99d.entry.js.map} +1 -1
  812. package/dist/pn-market-web-components/p-ea3d6f7e.entry.js +2 -0
  813. package/dist/pn-market-web-components/{p-19bbac6d.entry.js.map → p-ea3d6f7e.entry.js.map} +1 -1
  814. package/dist/pn-market-web-components/p-ea7b0d21.entry.js +2 -0
  815. package/dist/pn-market-web-components/{p-4aedb76c.entry.js.map → p-ea7b0d21.entry.js.map} +1 -1
  816. package/dist/pn-market-web-components/{p-a73e4811.entry.js → p-eaee1dd6.entry.js} +2 -2
  817. package/dist/pn-market-web-components/{p-a73e4811.entry.js.map → p-eaee1dd6.entry.js.map} +1 -1
  818. package/dist/pn-market-web-components/p-fc157a1e.entry.js +2 -0
  819. package/dist/pn-market-web-components/{p-763a4e13.entry.js.map → p-fc157a1e.entry.js.map} +1 -1
  820. package/dist/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  821. package/dist/pn-market-web-components/pn-market-web-components.esm.js.map +1 -1
  822. package/dist/types/components/cards/pn-teaser-card/pn-teaser-card.d.ts +1 -1
  823. package/dist/types/components/input/pn-address-autofill/pn-address-autofill.d.ts +3 -2
  824. package/dist/types/components/input/pn-address-autofill/translations.d.ts +0 -3
  825. package/dist/types/components/input/pn-marketweb-search/pn-marketweb-search.d.ts +1 -1
  826. package/dist/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.d.ts +2 -0
  827. package/dist/types/components/media/pn-media-block/pn-media-block.d.ts +1 -1
  828. package/dist/types/components.d.ts +8 -293
  829. package/dist/types/globals/HeadingTag.d.ts +1 -1
  830. package/dist/types/utils/utils.d.ts +0 -1
  831. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/bin/stencil +0 -0
  832. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/static/favicon.ico +0 -0
  833. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/templates/directory-index.html +0 -0
  834. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/xdg-open +0 -0
  835. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/core-js.js +0 -0
  836. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/dom.js +0 -0
  837. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/es5-html-element.js +0 -0
  838. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/index.js +0 -0
  839. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/system.js +0 -0
  840. package/dist/vscode-data.json +3 -535
  841. package/package.json +3 -5
  842. package/dist/cjs/FetchHelper-2d4c697c.js +0 -85
  843. package/dist/cjs/FetchHelper-2d4c697c.js.map +0 -1
  844. package/dist/cjs/HeadingTag-19376e1f.js +0 -12
  845. package/dist/cjs/HeadingTag-19376e1f.js.map +0 -1
  846. package/dist/cjs/LocalStorageService-e1ee3fac.js +0 -66
  847. package/dist/cjs/LocalStorageService-e1ee3fac.js.map +0 -1
  848. package/dist/cjs/MarketWebContextService-0fdc43c8.js.map +0 -1
  849. package/dist/cjs/alert_exclamation_circle-24f29a5b.js +0 -8
  850. package/dist/cjs/alert_exclamation_circle-24f29a5b.js.map +0 -1
  851. package/dist/cjs/angle_up-049ec1d8.js +0 -12
  852. package/dist/cjs/angle_up-049ec1d8.js.map +0 -1
  853. package/dist/cjs/close-9e014a80.js +0 -8
  854. package/dist/cjs/close-9e014a80.js.map +0 -1
  855. package/dist/cjs/index-b02670c2.js.map +0 -1
  856. package/dist/cjs/pn-chat-message_2.cjs.entry.js +0 -347
  857. package/dist/cjs/pn-chat-message_2.cjs.entry.js.map +0 -1
  858. package/dist/cjs/pn-chat.cjs.entry.js +0 -474
  859. package/dist/cjs/pn-chat.cjs.entry.js.map +0 -1
  860. package/dist/cjs/pn-chat.service-5a8d89b9.js +0 -155
  861. package/dist/cjs/pn-chat.service-5a8d89b9.js.map +0 -1
  862. package/dist/cjs/pn-level-up-modal.cjs.entry.js +0 -77
  863. package/dist/cjs/pn-level-up-modal.cjs.entry.js.map +0 -1
  864. package/dist/cjs/pn-level-up.cjs.entry.js +0 -139
  865. package/dist/cjs/pn-level-up.cjs.entry.js.map +0 -1
  866. package/dist/cjs/pn-level-up.service-0e8e67c2.js +0 -71
  867. package/dist/cjs/pn-level-up.service-0e8e67c2.js.map +0 -1
  868. package/dist/cjs/pn-marketweb-siteheader-login-button_4.cjs.entry.js.map +0 -1
  869. package/dist/cjs/pn-marketweb-siteheader-login-mypage-button.cjs.entry.js +0 -25
  870. package/dist/cjs/pn-marketweb-siteheader-login-mypage-button.cjs.entry.js.map +0 -1
  871. package/dist/cjs/pn-marketweb-table.cjs.entry.js +0 -467
  872. package/dist/cjs/pn-marketweb-table.cjs.entry.js.map +0 -1
  873. package/dist/cjs/pn-qr-code-generator.cjs.entry.js +0 -2945
  874. package/dist/cjs/pn-qr-code-generator.cjs.entry.js.map +0 -1
  875. package/dist/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.css +0 -146
  876. package/dist/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.js +0 -119
  877. package/dist/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.js.map +0 -1
  878. package/dist/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.js +0 -219
  879. package/dist/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.js.map +0 -1
  880. package/dist/collection/components/widgets/pn-chat/pn-chat-stories-constants.js +0 -103
  881. package/dist/collection/components/widgets/pn-chat/pn-chat-stories-constants.js.map +0 -1
  882. package/dist/collection/components/widgets/pn-chat/pn-chat.css +0 -238
  883. package/dist/collection/components/widgets/pn-chat/pn-chat.js +0 -840
  884. package/dist/collection/components/widgets/pn-chat/pn-chat.js.map +0 -1
  885. package/dist/collection/components/widgets/pn-chat/pn-chat.models.js +0 -2
  886. package/dist/collection/components/widgets/pn-chat/pn-chat.models.js.map +0 -1
  887. package/dist/collection/components/widgets/pn-chat/pn-chat.service.js +0 -149
  888. package/dist/collection/components/widgets/pn-chat/pn-chat.service.js.map +0 -1
  889. package/dist/collection/components/widgets/pn-chat/pn-chat.stories.js +0 -116
  890. package/dist/collection/components/widgets/pn-chat/pn-chat.stories.js.map +0 -1
  891. package/dist/collection/components/widgets/pn-chat/translations.js +0 -78
  892. package/dist/collection/components/widgets/pn-chat/translations.js.map +0 -1
  893. package/dist/collection/components/widgets/pn-chat/types.js +0 -2
  894. package/dist/collection/components/widgets/pn-chat/types.js.map +0 -1
  895. package/dist/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.css +0 -94
  896. package/dist/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.js +0 -262
  897. package/dist/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.js.map +0 -1
  898. package/dist/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.js +0 -31
  899. package/dist/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.js.map +0 -1
  900. package/dist/collection/components/widgets/pn-level-up/pn-level-up.css +0 -114
  901. package/dist/collection/components/widgets/pn-level-up/pn-level-up.js +0 -476
  902. package/dist/collection/components/widgets/pn-level-up/pn-level-up.js.map +0 -1
  903. package/dist/collection/components/widgets/pn-level-up/pn-level-up.models.js +0 -2
  904. package/dist/collection/components/widgets/pn-level-up/pn-level-up.models.js.map +0 -1
  905. package/dist/collection/components/widgets/pn-level-up/pn-level-up.service.js +0 -65
  906. package/dist/collection/components/widgets/pn-level-up/pn-level-up.service.js.map +0 -1
  907. package/dist/collection/components/widgets/pn-level-up/pn-level-up.stories.js +0 -88
  908. package/dist/collection/components/widgets/pn-level-up/pn-level-up.stories.js.map +0 -1
  909. package/dist/collection/components/widgets/pn-level-up/types.js +0 -2
  910. package/dist/collection/components/widgets/pn-level-up/types.js.map +0 -1
  911. package/dist/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.css +0 -96
  912. package/dist/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.js +0 -494
  913. package/dist/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.js.map +0 -1
  914. package/dist/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.js +0 -82
  915. package/dist/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.js.map +0 -1
  916. package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.css +0 -264
  917. package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.js +0 -701
  918. package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.js.map +0 -1
  919. package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.service.js +0 -38
  920. package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.service.js.map +0 -1
  921. package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.js +0 -158
  922. package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.js.map +0 -1
  923. package/dist/collection/components/widgets/pn-marketweb-table/translations.js +0 -81
  924. package/dist/collection/components/widgets/pn-marketweb-table/translations.js.map +0 -1
  925. package/dist/collection/components/widgets/pn-marketweb-table/types.js +0 -2
  926. package/dist/collection/components/widgets/pn-marketweb-table/types.js.map +0 -1
  927. package/dist/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.css +0 -61
  928. package/dist/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.js +0 -198
  929. package/dist/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.js.map +0 -1
  930. package/dist/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.js +0 -29
  931. package/dist/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.js.map +0 -1
  932. package/dist/collection/globals/LocalStorageService.js +0 -50
  933. package/dist/collection/globals/LocalStorageService.js.map +0 -1
  934. package/dist/collection/globals/ScreensizeDetect.js +0 -80
  935. package/dist/collection/globals/ScreensizeDetect.js.map +0 -1
  936. package/dist/collection/globals/types.js +0 -2
  937. package/dist/collection/globals/types.js.map +0 -1
  938. package/dist/components/HeadingTag.js +0 -10
  939. package/dist/components/HeadingTag.js.map +0 -1
  940. package/dist/components/LocalStorageService.js +0 -64
  941. package/dist/components/LocalStorageService.js.map +0 -1
  942. package/dist/components/MarketWebContextService.js.map +0 -1
  943. package/dist/components/alert_exclamation_circle.js +0 -6
  944. package/dist/components/alert_exclamation_circle.js.map +0 -1
  945. package/dist/components/angle_up.js +0 -9
  946. package/dist/components/angle_up.js.map +0 -1
  947. package/dist/components/close.js +0 -6
  948. package/dist/components/close.js.map +0 -1
  949. package/dist/components/pn-chat-message.d.ts +0 -11
  950. package/dist/components/pn-chat-message.js +0 -8
  951. package/dist/components/pn-chat-message.js.map +0 -1
  952. package/dist/components/pn-chat-message2.js +0 -70
  953. package/dist/components/pn-chat-message2.js.map +0 -1
  954. package/dist/components/pn-chat.d.ts +0 -11
  955. package/dist/components/pn-chat.js +0 -534
  956. package/dist/components/pn-chat.js.map +0 -1
  957. package/dist/components/pn-chat.service.js +0 -153
  958. package/dist/components/pn-chat.service.js.map +0 -1
  959. package/dist/components/pn-level-up-modal.d.ts +0 -11
  960. package/dist/components/pn-level-up-modal.js +0 -8
  961. package/dist/components/pn-level-up-modal.js.map +0 -1
  962. package/dist/components/pn-level-up-modal2.js +0 -170
  963. package/dist/components/pn-level-up-modal2.js.map +0 -1
  964. package/dist/components/pn-level-up.d.ts +0 -11
  965. package/dist/components/pn-level-up.js +0 -185
  966. package/dist/components/pn-level-up.js.map +0 -1
  967. package/dist/components/pn-marketweb-carousel.d.ts +0 -11
  968. package/dist/components/pn-marketweb-carousel.js +0 -8
  969. package/dist/components/pn-marketweb-carousel.js.map +0 -1
  970. package/dist/components/pn-marketweb-carousel2.js +0 -326
  971. package/dist/components/pn-marketweb-carousel2.js.map +0 -1
  972. package/dist/components/pn-marketweb-table.d.ts +0 -11
  973. package/dist/components/pn-marketweb-table.js +0 -510
  974. package/dist/components/pn-marketweb-table.js.map +0 -1
  975. package/dist/components/pn-qr-code-generator.d.ts +0 -11
  976. package/dist/components/pn-qr-code-generator.js +0 -8
  977. package/dist/components/pn-qr-code-generator.js.map +0 -1
  978. package/dist/components/pn-qr-code-generator2.js +0 -2967
  979. package/dist/components/pn-qr-code-generator2.js.map +0 -1
  980. package/dist/esm/FetchHelper-4789695a.js +0 -83
  981. package/dist/esm/FetchHelper-4789695a.js.map +0 -1
  982. package/dist/esm/HeadingTag-e20016ab.js +0 -10
  983. package/dist/esm/HeadingTag-e20016ab.js.map +0 -1
  984. package/dist/esm/LocalStorageService-78b1794d.js +0 -64
  985. package/dist/esm/LocalStorageService-78b1794d.js.map +0 -1
  986. package/dist/esm/MarketWebContextService-16c15670.js +0 -245
  987. package/dist/esm/MarketWebContextService-16c15670.js.map +0 -1
  988. package/dist/esm/alert_exclamation_circle-f0fe7c7b.js +0 -6
  989. package/dist/esm/alert_exclamation_circle-f0fe7c7b.js.map +0 -1
  990. package/dist/esm/angle_up-b5f955ea.js +0 -9
  991. package/dist/esm/angle_up-b5f955ea.js.map +0 -1
  992. package/dist/esm/close-9e7bd787.js +0 -6
  993. package/dist/esm/close-9e7bd787.js.map +0 -1
  994. package/dist/esm/index-c311acd6.js.map +0 -1
  995. package/dist/esm/pn-chat-message_2.entry.js +0 -342
  996. package/dist/esm/pn-chat-message_2.entry.js.map +0 -1
  997. package/dist/esm/pn-chat.entry.js +0 -470
  998. package/dist/esm/pn-chat.entry.js.map +0 -1
  999. package/dist/esm/pn-chat.service-0def5c4e.js +0 -153
  1000. package/dist/esm/pn-chat.service-0def5c4e.js.map +0 -1
  1001. package/dist/esm/pn-level-up-modal.entry.js +0 -73
  1002. package/dist/esm/pn-level-up-modal.entry.js.map +0 -1
  1003. package/dist/esm/pn-level-up.entry.js +0 -135
  1004. package/dist/esm/pn-level-up.entry.js.map +0 -1
  1005. package/dist/esm/pn-level-up.service-5c602f23.js +0 -69
  1006. package/dist/esm/pn-level-up.service-5c602f23.js.map +0 -1
  1007. package/dist/esm/pn-marketweb-siteheader-login-button_4.entry.js.map +0 -1
  1008. package/dist/esm/pn-marketweb-siteheader-login-mypage-button.entry.js +0 -21
  1009. package/dist/esm/pn-marketweb-siteheader-login-mypage-button.entry.js.map +0 -1
  1010. package/dist/esm/pn-marketweb-table.entry.js +0 -463
  1011. package/dist/esm/pn-marketweb-table.entry.js.map +0 -1
  1012. package/dist/esm/pn-qr-code-generator.entry.js +0 -2941
  1013. package/dist/esm/pn-qr-code-generator.entry.js.map +0 -1
  1014. package/dist/pn-market-web-components/p-015127bf.entry.js +0 -2
  1015. package/dist/pn-market-web-components/p-08b473e0.entry.js +0 -2
  1016. package/dist/pn-market-web-components/p-0b5a125d.entry.js +0 -2
  1017. package/dist/pn-market-web-components/p-0b5a125d.entry.js.map +0 -1
  1018. package/dist/pn-market-web-components/p-0b920554.js +0 -2
  1019. package/dist/pn-market-web-components/p-0b920554.js.map +0 -1
  1020. package/dist/pn-market-web-components/p-0fc01d3f.entry.js +0 -2
  1021. package/dist/pn-market-web-components/p-17c43a96.entry.js +0 -2
  1022. package/dist/pn-market-web-components/p-17c43a96.entry.js.map +0 -1
  1023. package/dist/pn-market-web-components/p-19bbac6d.entry.js +0 -2
  1024. package/dist/pn-market-web-components/p-230ef9aa.entry.js +0 -2
  1025. package/dist/pn-market-web-components/p-268dc1fa.entry.js +0 -2
  1026. package/dist/pn-market-web-components/p-268dc1fa.entry.js.map +0 -1
  1027. package/dist/pn-market-web-components/p-28d2f7fa.entry.js +0 -2
  1028. package/dist/pn-market-web-components/p-28d2f7fa.entry.js.map +0 -1
  1029. package/dist/pn-market-web-components/p-292db484.entry.js +0 -2
  1030. package/dist/pn-market-web-components/p-2a58d83b.entry.js +0 -2
  1031. package/dist/pn-market-web-components/p-2c19edca.entry.js +0 -2
  1032. package/dist/pn-market-web-components/p-3478f368.js +0 -2
  1033. package/dist/pn-market-web-components/p-3478f368.js.map +0 -1
  1034. package/dist/pn-market-web-components/p-34a98554.entry.js +0 -2
  1035. package/dist/pn-market-web-components/p-35847eda.entry.js +0 -2
  1036. package/dist/pn-market-web-components/p-366fd15a.js +0 -2
  1037. package/dist/pn-market-web-components/p-366fd15a.js.map +0 -1
  1038. package/dist/pn-market-web-components/p-389a94e7.entry.js +0 -2
  1039. package/dist/pn-market-web-components/p-39b75c62.entry.js +0 -2
  1040. package/dist/pn-market-web-components/p-3a936c5d.entry.js +0 -2
  1041. package/dist/pn-market-web-components/p-3a936c5d.entry.js.map +0 -1
  1042. package/dist/pn-market-web-components/p-3d10bc37.entry.js +0 -2
  1043. package/dist/pn-market-web-components/p-3e197670.entry.js +0 -2
  1044. package/dist/pn-market-web-components/p-40bce1b1.entry.js +0 -2
  1045. package/dist/pn-market-web-components/p-40bce1b1.entry.js.map +0 -1
  1046. package/dist/pn-market-web-components/p-41cdac85.entry.js +0 -2
  1047. package/dist/pn-market-web-components/p-4aedb76c.entry.js +0 -2
  1048. package/dist/pn-market-web-components/p-4e924d13.entry.js +0 -2
  1049. package/dist/pn-market-web-components/p-4e924d13.entry.js.map +0 -1
  1050. package/dist/pn-market-web-components/p-4f639380.entry.js +0 -2
  1051. package/dist/pn-market-web-components/p-51f136f3.entry.js +0 -2
  1052. package/dist/pn-market-web-components/p-51f136f3.entry.js.map +0 -1
  1053. package/dist/pn-market-web-components/p-542f949d.entry.js +0 -2
  1054. package/dist/pn-market-web-components/p-5a981927.entry.js +0 -2
  1055. package/dist/pn-market-web-components/p-5f4ccd8a.js +0 -2
  1056. package/dist/pn-market-web-components/p-5f4ccd8a.js.map +0 -1
  1057. package/dist/pn-market-web-components/p-60b77eed.entry.js +0 -2
  1058. package/dist/pn-market-web-components/p-619f2143.entry.js +0 -2
  1059. package/dist/pn-market-web-components/p-61bd81d7.entry.js +0 -2
  1060. package/dist/pn-market-web-components/p-64851da0.entry.js +0 -2
  1061. package/dist/pn-market-web-components/p-659a4db5.entry.js +0 -2
  1062. package/dist/pn-market-web-components/p-65a046be.entry.js +0 -2
  1063. package/dist/pn-market-web-components/p-66da6e15.entry.js +0 -2
  1064. package/dist/pn-market-web-components/p-6b1d045c.js.map +0 -1
  1065. package/dist/pn-market-web-components/p-6bec8d72.js +0 -2
  1066. package/dist/pn-market-web-components/p-6bec8d72.js.map +0 -1
  1067. package/dist/pn-market-web-components/p-71db6836.entry.js +0 -2
  1068. package/dist/pn-market-web-components/p-72828265.js +0 -2
  1069. package/dist/pn-market-web-components/p-72f57a04.entry.js +0 -2
  1070. package/dist/pn-market-web-components/p-763a4e13.entry.js +0 -2
  1071. package/dist/pn-market-web-components/p-76c2c01f.js +0 -2
  1072. package/dist/pn-market-web-components/p-76c2c01f.js.map +0 -1
  1073. package/dist/pn-market-web-components/p-79e4715c.entry.js +0 -2
  1074. package/dist/pn-market-web-components/p-7b4f9fdf.entry.js +0 -2
  1075. package/dist/pn-market-web-components/p-7b7629c5.entry.js +0 -2
  1076. package/dist/pn-market-web-components/p-7db6ef34.entry.js +0 -2
  1077. package/dist/pn-market-web-components/p-809ed802.entry.js +0 -2
  1078. package/dist/pn-market-web-components/p-809ed802.entry.js.map +0 -1
  1079. package/dist/pn-market-web-components/p-82546a44.js +0 -3
  1080. package/dist/pn-market-web-components/p-82546a44.js.map +0 -1
  1081. package/dist/pn-market-web-components/p-84fc8e05.entry.js +0 -2
  1082. package/dist/pn-market-web-components/p-85b42b44.entry.js +0 -2
  1083. package/dist/pn-market-web-components/p-8d78b631.js +0 -2
  1084. package/dist/pn-market-web-components/p-8d78b631.js.map +0 -1
  1085. package/dist/pn-market-web-components/p-8d874454.entry.js +0 -2
  1086. package/dist/pn-market-web-components/p-8d98f709.entry.js +0 -2
  1087. package/dist/pn-market-web-components/p-9088d3f5.entry.js +0 -2
  1088. package/dist/pn-market-web-components/p-920ce5f2.entry.js +0 -2
  1089. package/dist/pn-market-web-components/p-920ce5f2.entry.js.map +0 -1
  1090. package/dist/pn-market-web-components/p-923aa6d2.entry.js +0 -2
  1091. package/dist/pn-market-web-components/p-923aa6d2.entry.js.map +0 -1
  1092. package/dist/pn-market-web-components/p-9454075f.entry.js +0 -2
  1093. package/dist/pn-market-web-components/p-95d32ab4.entry.js +0 -2
  1094. package/dist/pn-market-web-components/p-a298a263.entry.js +0 -2
  1095. package/dist/pn-market-web-components/p-a298a263.entry.js.map +0 -1
  1096. package/dist/pn-market-web-components/p-ad282b7c.entry.js +0 -2
  1097. package/dist/pn-market-web-components/p-b9590d81.entry.js +0 -2
  1098. package/dist/pn-market-web-components/p-c4e353b3.entry.js +0 -2
  1099. package/dist/pn-market-web-components/p-c89cb749.entry.js +0 -2
  1100. package/dist/pn-market-web-components/p-c9038b03.entry.js +0 -2
  1101. package/dist/pn-market-web-components/p-cbb1d57d.entry.js +0 -2
  1102. package/dist/pn-market-web-components/p-cda742ba.entry.js +0 -2
  1103. package/dist/pn-market-web-components/p-cda742ba.entry.js.map +0 -1
  1104. package/dist/pn-market-web-components/p-ce87ff8a.entry.js +0 -2
  1105. package/dist/pn-market-web-components/p-cf8a1fb9.js +0 -2
  1106. package/dist/pn-market-web-components/p-cf8a1fb9.js.map +0 -1
  1107. package/dist/pn-market-web-components/p-d17af75d.entry.js +0 -2
  1108. package/dist/pn-market-web-components/p-d5c45da2.entry.js +0 -2
  1109. package/dist/pn-market-web-components/p-d7170c0e.entry.js +0 -2
  1110. package/dist/pn-market-web-components/p-d75a2f7c.entry.js +0 -2
  1111. package/dist/pn-market-web-components/p-d75a2f7c.entry.js.map +0 -1
  1112. package/dist/pn-market-web-components/p-da56370b.entry.js +0 -2
  1113. package/dist/pn-market-web-components/p-daa74e60.entry.js +0 -2
  1114. package/dist/pn-market-web-components/p-dc2ee6f8.entry.js +0 -2
  1115. package/dist/pn-market-web-components/p-dc2ee6f8.entry.js.map +0 -1
  1116. package/dist/pn-market-web-components/p-e8622338.entry.js +0 -2
  1117. package/dist/pn-market-web-components/p-eb21f772.entry.js +0 -2
  1118. package/dist/pn-market-web-components/p-eb21f772.entry.js.map +0 -1
  1119. package/dist/pn-market-web-components/p-efab81a9.entry.js +0 -2
  1120. package/dist/pn-market-web-components/p-efab81a9.entry.js.map +0 -1
  1121. package/dist/pn-market-web-components/p-f28059f4.entry.js +0 -2
  1122. package/dist/pn-market-web-components/p-f28d0971.entry.js +0 -2
  1123. package/dist/pn-market-web-components/p-f28d0971.entry.js.map +0 -1
  1124. package/dist/pn-market-web-components/p-f4b14be8.entry.js +0 -2
  1125. package/dist/pn-market-web-components/p-f5d03222.entry.js +0 -2
  1126. package/dist/pn-market-web-components/p-fe466661.js +0 -2
  1127. package/dist/types/components/widgets/pn-chat/pn-chat-message/pn-chat-message.d.ts +0 -11
  1128. package/dist/types/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.d.ts +0 -7
  1129. package/dist/types/components/widgets/pn-chat/pn-chat-stories-constants.d.ts +0 -43
  1130. package/dist/types/components/widgets/pn-chat/pn-chat.d.ts +0 -72
  1131. package/dist/types/components/widgets/pn-chat/pn-chat.models.d.ts +0 -22
  1132. package/dist/types/components/widgets/pn-chat/pn-chat.service.d.ts +0 -26
  1133. package/dist/types/components/widgets/pn-chat/pn-chat.stories.d.ts +0 -8
  1134. package/dist/types/components/widgets/pn-chat/translations.d.ts +0 -77
  1135. package/dist/types/components/widgets/pn-chat/types.d.ts +0 -68
  1136. package/dist/types/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.d.ts +0 -23
  1137. package/dist/types/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.d.ts +0 -5
  1138. package/dist/types/components/widgets/pn-level-up/pn-level-up.d.ts +0 -43
  1139. package/dist/types/components/widgets/pn-level-up/pn-level-up.models.d.ts +0 -22
  1140. package/dist/types/components/widgets/pn-level-up/pn-level-up.service.d.ts +0 -16
  1141. package/dist/types/components/widgets/pn-level-up/pn-level-up.stories.d.ts +0 -7
  1142. package/dist/types/components/widgets/pn-level-up/types.d.ts +0 -1
  1143. package/dist/types/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.d.ts +0 -48
  1144. package/dist/types/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.d.ts +0 -7
  1145. package/dist/types/components/widgets/pn-marketweb-table/pn-marketweb-table.d.ts +0 -55
  1146. package/dist/types/components/widgets/pn-marketweb-table/pn-marketweb-table.service.d.ts +0 -11
  1147. package/dist/types/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.d.ts +0 -26
  1148. package/dist/types/components/widgets/pn-marketweb-table/translations.d.ts +0 -80
  1149. package/dist/types/components/widgets/pn-marketweb-table/types.d.ts +0 -38
  1150. package/dist/types/components/widgets/pn-qr-code-generator/pn-qr-code-generator.d.ts +0 -23
  1151. package/dist/types/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.d.ts +0 -5
  1152. package/dist/types/globals/LocalStorageService.d.ts +0 -14
  1153. package/dist/types/globals/ScreensizeDetect.d.ts +0 -29
  1154. package/dist/types/globals/types.d.ts +0 -20
  1155. /package/dist/pn-market-web-components/{p-fe466661.js.map → p-13190b30.js.map} +0 -0
  1156. /package/dist/pn-market-web-components/{p-ad9a7633.entry.js.map → p-155c2049.entry.js.map} +0 -0
  1157. /package/dist/pn-market-web-components/{p-8836de82.js.map → p-2509d18d.js.map} +0 -0
  1158. /package/dist/pn-market-web-components/{p-8a651698.entry.js.map → p-560e5291.entry.js.map} +0 -0
  1159. /package/dist/pn-market-web-components/{p-72828265.js.map → p-652f97b9.js.map} +0 -0
  1160. /package/dist/pn-market-web-components/{p-f9083b7a.js.map → p-8af1b914.js.map} +0 -0
  1161. /package/dist/pn-market-web-components/{p-930e2943.js.map → p-959a37d9.js.map} +0 -0
  1162. /package/dist/pn-market-web-components/{p-fb4cdf98.js.map → p-cafe11a9.js.map} +0 -0
  1163. /package/dist/pn-market-web-components/{p-793e1339.js.map → p-e09a907b.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"names":["icon","map_marker","pnFindPriceResultCss","PnFindPriceResultStyle0","PnfindPriceResult","componentWillLoad","this","composeItems","item","additionalusp","x","split","Usp1","length","Usp2","Usp3","description","filter","showMeasurement","rulle","linkId","id","maxweight","sizecategory","name","toLocaleLowerCase","replace","showServicepointLink","ombudpurchase","shopLabel","state","i18n","ombudHeader","stampshopcta","shopUrl","market","servicePoint","stampShopUrl","shopId","render","h","Host","key","slot","illustration","infopagelink","href","target","highestrankusp","bolt","color","box_label","class","map","desc","info","note","paket","pricesenddirect","label","senddirectcta","amount","currency","url","sendDirectUrl","linkid","pricestamps","realPostcard","RealValues","showservicepointlink","servicePointLink","realPostcardMobile","src"],"sources":["node_modules/pn-design-assets/pn-assets/icons/map_marker.js","src/components/widgets/pn-find-price/pn-find-price-result.scss?tag=pn-find-price-result","src/components/widgets/pn-find-price/pn-find-price-result.tsx"],"sourcesContent":["const icon = '<svg class=\"pn-icon-svg\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\"><path fill=\"#000\" fill-rule=\"evenodd\" d=\"M12 2a8 8 0 0 0-6.857 12.124l.014.022 4.454 6.586a2.884 2.884 0 0 0 4.778 0l4.454-6.586.014-.022A8 8 0 0 0 12 2m-6 8a6 6 0 1 1 11.156 3.07l-4.424 6.541a.883.883 0 0 1-1.464 0L6.844 13.07A5.97 5.97 0 0 1 6 10m6-2.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5\" clip-rule=\"evenodd\"/></svg>';\nexport const map_marker = icon;\nexport const mapMarker = icon;\n","@import '../../../globals/main.scss';\n\npn-find-price-result {\n .test {\n margin: 3em 0;\n }\n}\n\n.resultcontent {\n display: flex;\n // flex-wrap: wrap;\n // flex-direction: row;\n //align-items: flex-start;\n justify-content: center;\n flex-grow: 1;\n}\n","import { Component, h, Prop, Host, Watch, State } from '@stencil/core';\nimport { ProductPriceItem } from './pn-find-price-types';\nimport { state } from './pn-find-price-store';\nimport { sendDirectUrl, stampShopUrl, RealValues } from './data.js';\nimport { bolt, box_label, map_marker } from 'pn-design-assets/pn-assets/icons.js';\n\n@Component({\n tag: 'pn-find-price-result',\n styleUrl: 'pn-find-price-result.scss',\n})\nexport class PnfindPriceResult {\n @Prop({ mutable: true }) item: ProductPriceItem = null;\n\n @Prop() shownitems: ProductPriceItem[] = [];\n @Prop() Usp1?: string;\n @Prop() Usp2?: string;\n @Prop() Usp3?: string;\n @Prop() description?: string[] = [];\n @Prop() showMeasurement?: boolean = false;\n @State() weightText = '';\n @State() linkId: string = '';\n @State() shopLabel: string = '';\n @State() shopUrl: string = '';\n @State() shopId: string = '';\n\n componentWillLoad() {\n this.composeItems();\n }\n\n @Watch('item')\n composeItems() {\n if (this.item.additionalusp) {\n var x = this.item.additionalusp.split('/');\n this.Usp1 = x.length > 0 ? x[0] : null;\n this.Usp2 = x.length > 1 ? x[1] : null;\n this.Usp3 = x.length > 2 ? x[2] : null;\n }\n if (this.item.description) {\n this.description = this.item.description.split('#bullet').filter(x => x !== '');\n }\n\n this.showMeasurement = this.item.maxmått !== null || this.item.rulle !== null;\n this.linkId = `${this.item.id}-${this.item.maxweight}-${this.item.sizecategory}-${this.item.name.toLocaleLowerCase().replace(/[^a-zA-Z0-9]/g, '')}`;\n\n var showServicepointLink = this.item.ombudpurchase === 'Yes';\n\n this.shopLabel = showServicepointLink ? state.i18n.ombudHeader : state.i18n.stampshopcta;\n this.shopUrl = showServicepointLink ? state.market.servicePoint : stampShopUrl;\n this.shopId = showServicepointLink ? '-servicepoint' : '-stampshop';\n }\n\n render() {\n return (\n <Host>\n {\n <pn-product-card data-productid={this.item.id}>\n <pn-illustration slot=\"illustration\" illustration={this.item.illustration}></pn-illustration>\n <div slot=\"title\">\n {this.item.infopagelink ? (\n <h2>\n <a href={this.item.infopagelink} target=\"_blank\">\n {this.item.name}\n </a>\n </h2>\n ) : (\n <h2>{this.item.name}</h2>\n )}\n {this.item.highestrankusp === 'Snabbast' ? (\n <pn-titletag slot=\"Snabbast\" icon={bolt} color=\"blue700\">\n {this.item.highestrankusp}\n </pn-titletag>\n ) : this.item.highestrankusp === 'Billigast' ? (\n <pn-titletag slot=\"Billigast\" icon={box_label} color=\"green700\">\n {this.item.highestrankusp}\n </pn-titletag>\n ) : null}\n </div>\n <div slot=\"content\">\n <div class=\"content\">\n {this.item.description ? (\n <div class=\"description\">\n {this.description.map(desc => (\n <li>{desc}</li>\n ))}\n </div>\n ) : null}\n {this.item.info ? <div class=\"description\">{this.item.info}</div> : null}\n </div>\n </div>\n {this.item.note ? (\n <div slot=\"note\">\n <p>{this.item.note}</p>\n </div>\n ) : null}\n {this.item.additionalusp ? (\n <div slot=\"additionalUSP\">\n {this.Usp1 ? <span>{this.Usp1}</span> : null}\n {this.Usp2 ? <span>{this.Usp2}</span> : null}\n {this.Usp3 ? <span>{this.Usp3}</span> : null}\n </div>\n ) : null}\n {this.showMeasurement ? <pn-product-card-info paket={this.item.maxmått} rulle={this.item.rulle}></pn-product-card-info> : null}\n <div slot=\"cardprice\">\n {this.item.pricesenddirect ? (\n <pn-product-card-price\n slot=\"sendDirectPrice\"\n label={state.i18n.senddirectcta}\n amount={this.item.pricesenddirect + ''}\n currency={state.market.currency}\n url={sendDirectUrl}\n linkid={this.linkId + '-portal'}\n ></pn-product-card-price>\n ) : null}\n {this.item.pricestamps ? (\n this.item.name.toLocaleLowerCase() !== 'riktiga vykort' ? (\n <pn-product-card-price\n slot=\"stampPrice\"\n label={this.shopLabel}\n amount={this.item.pricestamps + ''}\n currency={state.market.currency}\n url={this.shopUrl}\n linkid={this.linkId + this.shopId}\n ></pn-product-card-price>\n ) : (\n <pn-product-card-price\n slot=\"riktiga\"\n label={state.i18n.realPostcard}\n amount={this.item.pricestamps + ''}\n currency={state.market.currency}\n url={RealValues['WebUrl']}\n linkid={this.linkId + '-riktiga'}\n ></pn-product-card-price>\n )\n ) : null}\n </div>\n <div slot=\"servicepoint\">\n {this.item.showservicepointlink ? (\n <a href={state.market.servicePoint} target=\"_blank\">\n <pn-icon icon={map_marker} color=\"blue700\"></pn-icon>\n {state.i18n.servicePointLink}\n </a>\n ) : null}\n </div>\n\n <div slot=\"mobiledownload\">\n {this.item.name.toLocaleLowerCase() === 'riktiga vykort' ? (\n <div id=\"riktiga\">\n <h4>{state.i18n.realPostcardMobile}</h4>\n <div>\n <a href={RealValues['AndroidAppUrl']} target=\"_blank\">\n <img class=\"riktigaAndroidImg\" src={RealValues['AndroidImg']}></img>\n </a>\n <a href={RealValues['IosAppUrl']} target=\"_blank\">\n <img class=\"riktigaAppleImg\" src={RealValues['IosImg']}></img>\n </a>\n </div>\n </div>\n ) : null}\n </div>\n </pn-product-card>\n }\n </Host>\n );\n }\n}\n"],"mappings":"2MAAA,MAAMA,EAAO,8ZACN,MAAMC,EAAaD,ECD1B,MAAME,EAAuB,kgBAC7B,MAAAC,EAAeD,E,MCSFE,EAAiB,M,mCACsB,K,gBAET,G,6EAIR,G,qBACG,M,gBACd,G,YACI,G,eACG,G,aACF,G,YACD,E,CAE1B,iBAAAC,GACEC,KAAKC,c,CAIP,YAAAA,GACE,GAAID,KAAKE,KAAKC,cAAe,CAC3B,IAAIC,EAAIJ,KAAKE,KAAKC,cAAcE,MAAM,KACtCL,KAAKM,KAAOF,EAAEG,OAAS,EAAIH,EAAE,GAAK,KAClCJ,KAAKQ,KAAOJ,EAAEG,OAAS,EAAIH,EAAE,GAAK,KAClCJ,KAAKS,KAAOL,EAAEG,OAAS,EAAIH,EAAE,GAAK,I,CAEpC,GAAIJ,KAAKE,KAAKQ,YAAa,CACzBV,KAAKU,YAAcV,KAAKE,KAAKQ,YAAYL,MAAM,WAAWM,QAAOP,GAAKA,IAAM,I,CAG9EJ,KAAKY,gBAAkBZ,KAAKE,KAAK,UAAY,MAAQF,KAAKE,KAAKW,QAAU,KACzEb,KAAKc,OAAS,GAAGd,KAAKE,KAAKa,MAAMf,KAAKE,KAAKc,aAAahB,KAAKE,KAAKe,gBAAgBjB,KAAKE,KAAKgB,KAAKC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AAKC,sBAAwB,iBACtCe,EAAA,OAAKnB,GAAG,WACNmB,EAAA,UAAKV,EAAMC,KAAKwC,oBAChB/B,EAAA,WACEA,EAAA,KAAGM,KAAMsB,EAAW,iBAAkBrB,OAAO,UAC3CP,EAAA,OAAKY,MAAM,oBAAoBoB,IAAKJ,EAAW,iBAEjD5B,EAAA,KAAGM,KAAMsB,EAAW,aAAcrB,OAAO,UACvCP,EAAA,OAAKY,MAAM,kBAAkBoB,IAAKJ,EAAW,eAIjD,O","ignoreList":[]}
1
+ {"version":3,"names":["icon","map_marker","pnFindPriceResultCss","PnFindPriceResultStyle0","PnfindPriceResult","componentWillLoad","this","composeItems","item","additionalusp","x","split","Usp1","length","Usp2","Usp3","description","filter","showMeasurement","rulle","linkId","id","maxweight","sizecategory","name","toLocaleLowerCase","replace","showServicepointLink","ombudpurchase","shopLabel","state","i18n","ombudHeader","stampshopcta","shopUrl","market","servicePoint","stampShopUrl","shopId","render","h","Host","key","slot","illustration","infopagelink","href","target","highestrankusp","bolt","color","box_label","class","map","desc","info","note","paket","pricesenddirect","label","senddirectcta","amount","currency","url","sendDirectUrl","linkid","pricestamps","realPostcard","RealValues","showservicepointlink","servicePointLink","realPostcardMobile","src"],"sources":["node_modules/pn-design-assets/pn-assets/icons/map_marker.js","src/components/widgets/pn-find-price/pn-find-price-result.scss?tag=pn-find-price-result","src/components/widgets/pn-find-price/pn-find-price-result.tsx"],"sourcesContent":["const icon = '<svg class=\"pn-icon-svg\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\"><path fill=\"#000\" fill-rule=\"evenodd\" d=\"M12 2a8 8 0 0 0-6.857 12.124l.014.022 4.454 6.586a2.884 2.884 0 0 0 4.778 0l4.454-6.586.014-.022A8 8 0 0 0 12 2m-6 8a6 6 0 1 1 11.156 3.07l-4.424 6.541a.883.883 0 0 1-1.464 0L6.844 13.07A5.97 5.97 0 0 1 6 10m6-2.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5\" clip-rule=\"evenodd\"/></svg>';\nexport const map_marker = icon;\nexport const mapMarker = icon;\n","@import '../../../globals/main.scss';\n\npn-find-price-result {\n .test {\n margin: 3em 0;\n }\n}\n\n.resultcontent {\n display: flex;\n // flex-wrap: wrap;\n // flex-direction: row;\n //align-items: flex-start;\n justify-content: center;\n flex-grow: 1;\n}\n","import { Component, h, Prop, Host, Watch, State } from '@stencil/core';\nimport { ProductPriceItem } from './pn-find-price-types';\nimport { state } from './pn-find-price-store';\nimport { sendDirectUrl, stampShopUrl, RealValues } from './data.js';\nimport { bolt, box_label, map_marker } from 'pn-design-assets/pn-assets/icons.js';\n\n@Component({\n tag: 'pn-find-price-result',\n styleUrl: 'pn-find-price-result.scss',\n})\nexport class PnfindPriceResult {\n @Prop({ mutable: true }) item: ProductPriceItem = null;\n\n @Prop() shownitems: ProductPriceItem[] = [];\n @Prop() Usp1?: string;\n @Prop() Usp2?: string;\n @Prop() Usp3?: string;\n @Prop() description?: string[] = [];\n @Prop() showMeasurement?: boolean = false;\n @State() weightText = '';\n @State() linkId: string = '';\n @State() shopLabel: string = '';\n @State() shopUrl: string = '';\n @State() shopId: string = '';\n\n componentWillLoad() {\n this.composeItems();\n }\n\n @Watch('item')\n composeItems() {\n if (this.item.additionalusp) {\n var x = this.item.additionalusp.split('/');\n this.Usp1 = x.length > 0 ? x[0] : null;\n this.Usp2 = x.length > 1 ? x[1] : null;\n this.Usp3 = x.length > 2 ? x[2] : null;\n }\n if (this.item.description) {\n this.description = this.item.description.split('#bullet').filter(x => x !== '');\n }\n\n this.showMeasurement = this.item.maxmått !== null || this.item.rulle !== null;\n this.linkId = `${this.item.id}-${this.item.maxweight}-${this.item.sizecategory}-${this.item.name.toLocaleLowerCase().replace(/[^a-zA-Z0-9]/g, '')}`;\n\n var showServicepointLink = this.item.ombudpurchase === 'Yes';\n\n this.shopLabel = showServicepointLink ? state.i18n.ombudHeader : state.i18n.stampshopcta;\n this.shopUrl = showServicepointLink ? state.market.servicePoint : stampShopUrl;\n this.shopId = showServicepointLink ? '-servicepoint' : '-stampshop';\n }\n\n render() {\n return (\n <Host>\n {\n <pn-product-card data-productid={this.item.id}>\n <pn-illustration slot=\"illustration\" illustration={this.item.illustration}></pn-illustration>\n <div slot=\"title\">\n {this.item.infopagelink ? (\n <h2>\n <a href={this.item.infopagelink} target=\"_blank\">\n {this.item.name}\n </a>\n </h2>\n ) : (\n <h2>{this.item.name}</h2>\n )}\n {this.item.highestrankusp === 'Snabbast' ? (\n <pn-titletag slot=\"Snabbast\" icon={bolt} color=\"blue700\">\n {this.item.highestrankusp}\n </pn-titletag>\n ) : this.item.highestrankusp === 'Billigast' ? (\n <pn-titletag slot=\"Billigast\" icon={box_label} color=\"green700\">\n {this.item.highestrankusp}\n </pn-titletag>\n ) : null}\n </div>\n <div slot=\"content\">\n <div class=\"content\">\n {this.item.description ? (\n <div class=\"description\">\n {this.description.map(desc => (\n <li>{desc}</li>\n ))}\n </div>\n ) : null}\n {this.item.info ? <div class=\"description\">{this.item.info}</div> : null}\n </div>\n </div>\n {this.item.note ? (\n <div slot=\"note\">\n <p>{this.item.note}</p>\n </div>\n ) : null}\n {this.item.additionalusp ? (\n <div slot=\"additionalUSP\">\n {this.Usp1 ? <span>{this.Usp1}</span> : null}\n {this.Usp2 ? <span>{this.Usp2}</span> : null}\n {this.Usp3 ? <span>{this.Usp3}</span> : null}\n </div>\n ) : null}\n {this.showMeasurement ? <pn-product-card-info paket={this.item.maxmått} rulle={this.item.rulle}></pn-product-card-info> : null}\n <div slot=\"cardprice\">\n {this.item.pricesenddirect ? (\n <pn-product-card-price\n slot=\"sendDirectPrice\"\n label={state.i18n.senddirectcta}\n amount={this.item.pricesenddirect + ''}\n currency={state.market.currency}\n url={sendDirectUrl}\n linkid={this.linkId + '-portal'}\n ></pn-product-card-price>\n ) : null}\n {this.item.pricestamps ? (\n this.item.name.toLocaleLowerCase() !== 'riktiga vykort' ? (\n <pn-product-card-price\n slot=\"stampPrice\"\n label={this.shopLabel}\n amount={this.item.pricestamps + ''}\n currency={state.market.currency}\n url={this.shopUrl}\n linkid={this.linkId + this.shopId}\n ></pn-product-card-price>\n ) : (\n <pn-product-card-price\n slot=\"riktiga\"\n label={state.i18n.realPostcard}\n amount={this.item.pricestamps + ''}\n currency={state.market.currency}\n url={RealValues['WebUrl']}\n linkid={this.linkId + '-riktiga'}\n ></pn-product-card-price>\n )\n ) : null}\n </div>\n <div slot=\"servicepoint\">\n {this.item.showservicepointlink ? (\n <a href={state.market.servicePoint} target=\"_blank\">\n <pn-icon icon={map_marker} color=\"blue700\"></pn-icon>\n {state.i18n.servicePointLink}\n </a>\n ) : null}\n </div>\n\n <div slot=\"mobiledownload\">\n {this.item.name.toLocaleLowerCase() === 'riktiga vykort' ? (\n <div id=\"riktiga\">\n <h4>{state.i18n.realPostcardMobile}</h4>\n <div>\n <a href={RealValues['AndroidAppUrl']} target=\"_blank\">\n <img class=\"riktigaAndroidImg\" src={RealValues['AndroidImg']}></img>\n </a>\n <a href={RealValues['IosAppUrl']} target=\"_blank\">\n <img class=\"riktigaAppleImg\" src={RealValues['IosImg']}></img>\n </a>\n </div>\n </div>\n ) : null}\n </div>\n </pn-product-card>\n }\n </Host>\n );\n }\n}\n"],"mappings":"2MAAA,MAAMA,EAAO,8ZACN,MAAMC,EAAaD,ECD1B,MAAME,EAAuB,yLAC7B,MAAAC,EAAeD,E,MCSFE,EAAiB,M,mCACsB,K,gBAET,G,6EAIR,G,qBACG,M,gBACd,G,YACI,G,eACG,G,aACF,G,YACD,E,CAE1B,iBAAAC,GACEC,KAAKC,c,CAIP,YAAAA,GACE,GAAID,KAAKE,KAAKC,cAAe,CAC3B,IAAIC,EAAIJ,KAAKE,KAAKC,cAAcE,MAAM,KACtCL,KAAKM,KAAOF,EAAEG,OAAS,EAAIH,EAAE,GAAK,KAClCJ,KAAKQ,KAAOJ,EAAEG,OAAS,EAAIH,EAAE,GAAK,KAClCJ,KAAKS,KAAOL,EAAEG,OAA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MK,OAAO2B,SACvBC,IAAKK,EAAW,UAChBH,OAAQ3D,KAAKc,OAAS,aAGxB,MAENoB,EAAA,OAAAE,IAAA,2CAAKC,KAAK,gBACPrC,KAAKE,KAAK6D,qBACT7B,EAAA,KAAGM,KAAMhB,EAAMK,OAAOC,aAAcW,OAAO,UACzCP,EAAA,WAASxC,KAAMC,EAAYiD,MAAM,YAChCpB,EAAMC,KAAKuC,kBAEZ,MAGN9B,EAAA,OAAAE,IAAA,2CAAKC,KAAK,kBACPrC,KAAKE,KAAKgB,KAAKC,sBAAwB,iBACtCe,EAAA,OAAKnB,GAAG,WACNmB,EAAA,UAAKV,EAAMC,KAAKwC,oBAChB/B,EAAA,WACEA,EAAA,KAAGM,KAAMsB,EAAW,iBAAkBrB,OAAO,UAC3CP,EAAA,OAAKY,MAAM,oBAAoBoB,IAAKJ,EAAW,iBAEjD5B,EAAA,KAAGM,KAAMsB,EAAW,aAAcrB,OAAO,UACvCP,EAAA,OAAKY,MAAM,kBAAkBoB,IAAKJ,EAAW,eAIjD,O","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{c as a}from"./p-2509d18d.js";const{state:n,onChange:o}=a({loginManager:null});export{n as s};
2
+ //# sourceMappingURL=p-13190b30.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as i,g as e,h as n,d as s}from"./p-82546a44.js";import{d as l}from"./p-3e4d9396.js";import{m as p}from"./p-b2f2fbb6.js";import{p as o}from"./p-df8bfe03.js";import{v as a}from"./p-4ed69de7.js";const r="pn-multiple-input .multiple-input-generated-row,pn-multiple-input .multiple-input-row{display:flex;gap:1rem}pn-multiple-input .multiple-input-generated-row pn-marketweb-input,pn-multiple-input .multiple-input-row pn-marketweb-input{width:100%}pn-multiple-input .multiple-input-slot{display:flex;gap:1rem;flex-direction:column;margin-top:1rem;margin-bottom:1rem}";const u=r;const h=class{constructor(e){t(this,e);this.allFormValues=i(this,"allFormValues",7);this.label=null;this.placeholder=null;this.addRowButtonText=null;this.rowData=[]}get hostElement(){return e(this)}pnSlotElement=null;_formValues=[];allFormValues;componentWillLoad(){const t=this.generateUniqueId();const i={id:t,input:""};this.rowData=[...this.rowData,i]}componentDidLoad(){this.addEventHandlers()}componentDidUpdate(){this.addEventHandlers()}addEventHandlers(){const t=this.pnSlotElement.querySelectorAll("pn-marketweb-input");t.forEach((t=>{t.addEventListener("keyup",l(this.handleInput.bind(this),500))}))}generateUniqueId(){return a()}deleteRow(t){if(t<0){return}this.rowData.splice(t,1);this.rowData=[...this.rowData];this.emitValues()}addRow(){const t={id:this.generateUniqueId(),input:""};this.rowData=[...this.rowData,t];this.emitValues()}handleInput(t){const i=t.target;const e=i.closest("pn-marketweb-input");if(!e){return}const n=e.id;const s=i.value;const l=this.rowData.findIndex((t=>t.id===n));if(l<0){return}this.rowData[l]={...this.rowData[l],input:s};this.emitValues()}emitValues(){this._formValues=[];const t=this.label?this.label:"InputField";this.rowData.forEach((i=>{const e={row:[]};if(i.input){const n={name:t,value:i.input};e.row.push(n)}if(e.row.length===1){this._formValues.push(e)}}));if(this._formValues.length===this.rowData.length){const t=JSON.stringify(this._formValues);this.allFormValues.emit(t)}else{this.allFormValues.emit("")}}render(){return n(s,{key:"48f736322a59808e988448547708d373a68c3d9b"},n("div",{key:"b60bceaf70fed78ec61031965a905d0d400c93c2",ref:t=>this.pnSlotElement=t,class:"multiple-input-slot"},this.rowData?.map(((t,i)=>n("div",{class:"multiple-input-generated-row"},n("pn-marketweb-input",{label:this.label,type:"text",placeholder:this.placeholder,value:t.input,id:t.id}),i>0?n("pn-button",{arialabel:"Delete",icon:p,appearance:"warning",onClick:()=>{this.deleteRow(i)},index:i,id:t.id},"Delete"):null)))),n("dvi",{key:"d9c2836ea448178184bf973221d911b27508ba1f",class:"multiple-input-row"},n("pn-button",{key:"68681203a60d754fbbf4f4e27469b43928fa0d7e",tooltip:this.addRowButtonText?this.addRowButtonText:null,"left-icon":"true",arialabel:"Add",icon:o,appearance:"light",variant:"borderless",class:"connected-dropdown__button-right",onClick:()=>{this.addRow()}},this.addRowButtonText)))}};h.style=u;export{h as pn_multiple_input};
2
- //# sourceMappingURL=p-ad9a7633.entry.js.map
1
+ import{r as t,c as i,g as e,h as n,d as s}from"./p-bb1c965e.js";import{d as l}from"./p-3e4d9396.js";import{m as p}from"./p-b2f2fbb6.js";import{p as o}from"./p-df8bfe03.js";import{v as a}from"./p-4ed69de7.js";const r="pn-multiple-input .multiple-input-generated-row,pn-multiple-input .multiple-input-row{display:flex;gap:1rem}pn-multiple-input .multiple-input-generated-row pn-marketweb-input,pn-multiple-input .multiple-input-row pn-marketweb-input{width:100%}pn-multiple-input .multiple-input-slot{display:flex;gap:1rem;flex-direction:column;margin-top:1rem;margin-bottom:1rem}";const u=r;const h=class{constructor(e){t(this,e);this.allFormValues=i(this,"allFormValues",7);this.label=null;this.placeholder=null;this.addRowButtonText=null;this.rowData=[]}get hostElement(){return e(this)}pnSlotElement=null;_formValues=[];allFormValues;componentWillLoad(){const t=this.generateUniqueId();const i={id:t,input:""};this.rowData=[...this.rowData,i]}componentDidLoad(){this.addEventHandlers()}componentDidUpdate(){this.addEventHandlers()}addEventHandlers(){const t=this.pnSlotElement.querySelectorAll("pn-marketweb-input");t.forEach((t=>{t.addEventListener("keyup",l(this.handleInput.bind(this),500))}))}generateUniqueId(){return a()}deleteRow(t){if(t<0){return}this.rowData.splice(t,1);this.rowData=[...this.rowData];this.emitValues()}addRow(){const t={id:this.generateUniqueId(),input:""};this.rowData=[...this.rowData,t];this.emitValues()}handleInput(t){const i=t.target;const e=i.closest("pn-marketweb-input");if(!e){return}const n=e.id;const s=i.value;const l=this.rowData.findIndex((t=>t.id===n));if(l<0){return}this.rowData[l]={...this.rowData[l],input:s};this.emitValues()}emitValues(){this._formValues=[];const t=this.label?this.label:"InputField";this.rowData.forEach((i=>{const e={row:[]};if(i.input){const n={name:t,value:i.input};e.row.push(n)}if(e.row.length===1){this._formValues.push(e)}}));if(this._formValues.length===this.rowData.length){const t=JSON.stringify(this._formValues);this.allFormValues.emit(t)}else{this.allFormValues.emit("")}}render(){return n(s,{key:"48f736322a59808e988448547708d373a68c3d9b"},n("div",{key:"b60bceaf70fed78ec61031965a905d0d400c93c2",ref:t=>this.pnSlotElement=t,class:"multiple-input-slot"},this.rowData?.map(((t,i)=>n("div",{class:"multiple-input-generated-row"},n("pn-marketweb-input",{label:this.label,type:"text",placeholder:this.placeholder,value:t.input,id:t.id}),i>0?n("pn-button",{arialabel:"Delete",icon:p,appearance:"warning",onClick:()=>{this.deleteRow(i)},index:i,id:t.id},"Delete"):null)))),n("dvi",{key:"d9c2836ea448178184bf973221d911b27508ba1f",class:"multiple-input-row"},n("pn-button",{key:"68681203a60d754fbbf4f4e27469b43928fa0d7e",tooltip:this.addRowButtonText?this.addRowButtonText:null,"left-icon":"true",arialabel:"Add",icon:o,appearance:"light",variant:"borderless",class:"connected-dropdown__button-right",onClick:()=>{this.addRow()}},this.addRowButtonText)))}};h.style=u;export{h as pn_multiple_input};
2
+ //# sourceMappingURL=p-155c2049.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as i,h as t,d as o}from"./p-bb1c965e.js";import{F as r,M as e}from"./p-65f243c1.js";import{t as n}from"./p-6e056c20.js";import{a}from"./p-575f557a.js";import{a as s}from"./p-36b39340.js";const p='pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}pn-proxio-pricegroup div.proxio-pricegroup-container{max-width:99.4rem}pn-proxio-pricegroup div.weightcontainer{margin:2.8rem 0}pn-proxio-pricegroup div.weightvaluecontainer{display:flex;flex-direction:row;align-content:center;justify-content:space-between;align-items:flex-start}pn-proxio-pricegroup div.weightvaluecontainer pn-button{transform:translateY(-0.4rem)}pn-proxio-pricegroup div.weightvaluecontainer pn-button button::before{display:none}pn-proxio-pricegroup div.weightradios{display:flex;flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:wrap;color:#005d92;width:80%;margin:0 3.6rem;position:relative;width:0%}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end50]{width:45%;margin-left:auto;margin-right:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end50]{width:40%}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end75]{width:65%;margin-left:auto;margin-right:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end75]{margin-right:auto}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start50]{width:45%;margin-right:auto;margin-left:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start50]{width:40%}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start75]{width:65%;margin-right:auto;margin-left:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start75]{margin-left:auto}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=default]{flex:0 0 auto;width:80%}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=default]{width:65%}}pn-proxio-pricegroup div.weightdata{display:flex;flex-direction:column;align-items:center;align-content:center;flex-wrap:wrap;justify-content:space-between;gap:1.2rem;min-width:4rem;cursor:pointer}pn-proxio-pricegroup div.weightdata label{font-size:1.4rem;cursor:pointer}pn-proxio-pricegroup div.weightdata[data-carousel-position="0"]{font-size:2rem;font-weight:700}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightdata[data-carousel-position="2"],pn-proxio-pricegroup div.weightdata[data-carousel-position="-2"]{display:none}}pn-proxio-pricegroup div.weightdata[data-carousel-position=outside]{display:none}pn-proxio-pricegroup div.weightdata input[type=radio]{-webkit-appearance:none;-moz-appearance:none;width:1.2rem;height:1.2rem;background-color:#005d92;border-radius:50%;margin:0;cursor:pointer}pn-proxio-pricegroup div.weightdata input[type=radio]:checked{z-index:1;transform:translateY(-0.1rem);height:1.4rem;width:1.4rem;box-shadow:0 0 0 0.3rem #ffffff, 0 0 0 0.4rem #005d92}pn-proxio-pricegroup div.weightline{width:100%;background-color:#f3f2f2;z-index:-1;height:0.8rem;-webkit-transform:translateX(2.1rem) translateY(1.32rem);transform:translateX(2.1rem) translateY(1rem);border-radius:2rem;margin-right:3.5rem}pn-proxio-pricegroup pn-button[disabled=disabled]{opacity:0.2}pn-proxio-pricegroup pn-button[disabled=disabled] button{cursor:default}pn-proxio-pricegroup pn-button[disabled=disabled] button.pn-button-light .pn-button-bg:after{background-color:#ffffff}pn-proxio-pricegroup pn-button[disabled=disabled] button[data-tooltip-open]:before{display:none}pn-proxio-pricegroup pn-button button div.button-tooltip{display:none}pn-proxio-pricegroup pn-button button:focus .pn-button-bg{box-shadow:none}';const d=p;const c=class{constructor(t){i(this,t);this.endpoint=null;this.language="sv";this.market="se";this.tariffid="";this.cache=true;this.activeWeightIndex=0;this.data=null;this.i18n=n["sv"]}fetchHelper=new r("proxiopricegroup");componentWillLoad(){this.setInitialValues().then((()=>{this.init()}))}async setInitialValues(i=window.location.href){const t=new e(i);const o=await t.getEnvironmentName();if(!this.endpoint&&o?.indexOf("local")===-1){const i=await t.getMarket();this.endpoint=await t.getEndpoint(o,i)}if(!this.endpoint){this.endpoint=""}}init(){this.setLanguage();this.fetchData()}async fetchData(){if(!this.market||!this.language||!this.tariffid){return}const i=this.endpoint.lastIndexOf("/")===this.endpoint.length-1?this.endpoint.substring(0,this.endpoint.length-1):this.endpoint;const t=`${i}/api/proxio/price-list-group?tariffId=${this.tariffid}&market=${this.market}&language=${this.language}&cached=${this.cache}`;const o=await this.fetchHelper.fetchJson(t,{mode:"cors"},this.cache,this.onFetchData.bind(this));if(o?.proxioProduct){this.data=o}}onFetchData(i){this.data=i}setActiveWeightIndex(i){let t=0;let o=this.data.proxioProduct?.weightAndPriceList?.length-1??t;i=i>o?o:i;i=i<t?t:i;this.activeWeightIndex=i}setLanguage(){if(n[this.language]){this.i18n=n[this.language]}}getPriceString(i){let t=i.weightAndPriceList?i?.weightAndPriceList[this.activeWeightIndex]?.item2:"";return t?this.i18n.from+t:""}getProductLink(i,t){let o=t[this.activeWeightIndex]?.item2;let r=i.productLink?i?.productLink:"";return r?r+(o?"?productId="+o:""):""}isActive(i){return i===this.activeWeightIndex}getCarouselPosition(i){switch(i){case this.activeWeightIndex-2:{return-2}case this.activeWeightIndex-1:{return-1}case this.activeWeightIndex:{return 0}case this.activeWeightIndex+1:{return 1}case this.activeWeightIndex+2:{return 2}default:return"outside"}}getContainerPosition(){let i=this.data.proxioProduct.weightAndPriceList.length-1;switch(this.activeWeightIndex){case 0:{return"end50"}case 1:{return"end75"}case i-1:{return"start75"}case i:{return"start50"}default:{return"default"}}}render(){return t(o,{key:"e6562ca19944d9850ce1df29973f1a05a5505d6e"},this.data?.proxioProduct?t("div",{class:"proxio-pricegroup-container"},t("div",{class:"weightcontainer"},this.data.proxioProduct.weightAndPriceList?t("div",{class:"weightvaluecontainer"},t("pn-button",{disabled:this.activeWeightIndex===0?"disabled":null,icon:a,appearance:"light",small:"true",onClick:()=>this.setActiveWeightIndex(this.activeWeightIndex-1)}),t("div",{class:"weightradios ","data-carousel-container-position":this.getContainerPosition()},t("div",{class:"weightline"}),this.data.proxioProduct.weightAndPriceList.map(((i,o)=>this.getCarouselPosition(o)!==null?t("div",{class:"weightdata","data-carousel-position":this.getCarouselPosition(o),onClick:()=>this.setActiveWeightIndex(o)},t("input",{type:"radio",id:"weightradio"+o,name:"weightradio",value:o,checked:this.isActive(o)}),t("label",{htmlFor:"weightradio"+o},i.item1)):null))),t("pn-button",{disabled:this.activeWeightIndex===this.data.proxioProduct?.weightAndPriceList?.length-1?"disabled":null,icon:s,appearance:"light",small:"true",onClick:()=>this.setActiveWeightIndex(this.activeWeightIndex+1)})):null),t("pn-proxio-productcard",null,t("pn-illustration",{slot:"illustrationmobile",illustration:this.data.proxioProduct.productIcon}),t("h2",{slot:"title"},this.data.proxioProduct.productTitle),t("pn-proxio-productcard-description",{slot:"description",heading:this.data.proxioProduct.productPreamble,highlight:this.data.proxioProduct.deliveryDateInformation,list:this.data.proxioProduct.productDescriptionBulletListItems}),t("div",{slot:"information"},t("pn-proxio-productcard-information",{label:this.i18n.labelMaxDimensions,information:this.data.proxioProduct.productPackageDimensionsList}),t("pn-proxio-productcard-information",{label:this.i18n.labelMaxDimensionsRoll,information:this.data.proxioProduct.productRollDimensionsList})),t("div",{slot:"bottomtags"},this.data.proxioProduct.usp1?t("pn-titletag",{color:"gray50"},this.data.proxioProduct.usp1):null,this.data.proxioProduct.usp2?t("pn-titletag",{color:"gray50"},this.data.proxioProduct.usp2):null,this.data.proxioProduct.usp3?t("pn-titletag",{color:"gray50"},this.data.proxioProduct.usp3):null),t("pn-illustration",{slot:"illustration",illustration:this.data.proxioProduct.productIcon}),t("div",{slot:"pricelink"},t("pn-proxio-productcard-pricelink",{price:this.getPriceString(this.data.proxioProduct),link:this.getProductLink(this.data.proxioProduct,this.data.proxioProduct.productWeightGroupList),linktext:this.data.proxioProduct.productLinkText}),this.data.relatedProxioProducts?this.data.relatedProxioProducts.map((i=>t("pn-proxio-productcard-pricelink",{price:this.getPriceString(i),link:i.productLink,linktext:i.productLinkText}))):null))):null)}};c.style=d;export{c as pn_proxio_pricegroup};
2
+ //# sourceMappingURL=p-190c6938.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["pnProxioPricegroupCss","PnProxioPricegroupStyle0","PnProxioPricegroup","translations","fetchHelper","FetchHelper","componentWillLoad","this","setInitialValues","then","init","href","window","location","marketWebContextService","MarketWebContextService","environment","getEnvironmentName","endpoint","indexOf","market","getMarket","getEndpoint","setLanguage","fetchData","language","tariffid","lastIndexOf","length","substring","fetchUrl","cache","data","fetchJson","mode","onFetchData","bind","proxioProduct","setActiveWeightIndex","weightIndex","minIndex","maxIndex","weightAndPriceList","activeWeightIndex","i18n","getPriceString","product","price","item2","from","getProductLink","productWeightGroupList","productId","productLink","isActive","index","getCarouselPosition","getContainerPosition","render","h","Host","key","class","disabled","icon","arrow_left","appearance","small","onClick","map","weightItem","type","id","name","value","checked","htmlFor","item1","arrow_right","slot","illustration","productIcon","productTitle","heading","productPreamble","highlight","deliveryDateInformation","list","productDescriptionBulletListItems","label","labelMaxDimensions","information","productPackageDimensionsList","labelMaxDimensionsRoll","productRollDimensionsList","usp1","color","usp2","usp3","link","linktext","productLinkText","relatedProxioProducts"],"sources":["src/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.scss?tag=pn-proxio-pricegroup","src/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.tsx"],"sourcesContent":["@import '../../../globals/main.scss';\n@import './pn-proxio-pricegroup-common.scss';\n\npn-proxio-pricegroup {\n div.proxio-pricegroup-container {\n max-width: 99.4rem;\n }\n\n div.weightcontainer {\n margin: 2.8rem 0;\n }\n\n div.weightvaluecontainer {\n display: flex;\n flex-direction: row;\n align-content: center;\n justify-content: space-between;\n align-items: flex-start;\n\n pn-button {\n transform: translateY(-0.4rem);\n\n button::before {\n display: none;\n }\n }\n }\n\n div.weightradios {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n flex-wrap: wrap;\n color: $blue700;\n width: 80%;\n margin: 0 3.6rem;\n position: relative;\n width: 0%;\n\n &[data-carousel-container-position='end50'] {\n width: 45%;\n margin-left: auto;\n margin-right: 3.6rem;\n\n @media screen and (max-width: $productcard-media-tablet) {\n width: 40%;\n }\n }\n\n &[data-carousel-container-position='end75'] {\n width: 65%;\n margin-left: auto;\n margin-right: 3.6rem;\n\n @media screen and (max-width: $productcard-media-tablet) {\n margin-right: auto;\n }\n }\n\n &[data-carousel-container-position='start50'] {\n width: 45%;\n margin-right: auto;\n margin-left: 3.6rem;\n\n @media screen and (max-width: $productcard-media-tablet) {\n width: 40%;\n }\n }\n\n &[data-carousel-container-position='start75'] {\n width: 65%;\n margin-right: auto;\n margin-left: 3.6rem;\n\n @media screen and (max-width: $productcard-media-tablet) {\n margin-left: auto;\n }\n }\n\n &[data-carousel-container-position='default'] {\n flex: 0 0 auto;\n width: 80%;\n\n @media screen and (max-width: $productcard-media-tablet) {\n width: 65%;\n }\n }\n }\n\n div.weightdata {\n display: flex;\n flex-direction: column;\n align-items: center;\n align-content: center;\n flex-wrap: wrap;\n justify-content: space-between;\n gap: 1.2rem;\n min-width: 4rem;\n cursor: pointer;\n\n label {\n font-size: 1.4rem;\n cursor: pointer;\n }\n\n &[data-carousel-position='0'] {\n font-size: 2rem;\n font-weight: 700;\n }\n\n &[data-carousel-position='2'],\n &[data-carousel-position='-2'] {\n @media screen and (max-width: $productcard-media-tablet) {\n display: none;\n }\n }\n\n &[data-carousel-position='outside'] {\n display: none;\n }\n\n input[type='radio'] {\n -webkit-appearance: none;\n -moz-appearance: none;\n width: 1.2rem;\n height: 1.2rem;\n background-color: $blue700;\n border-radius: 50%;\n margin: 0;\n cursor: pointer;\n }\n\n input[type='radio']:checked {\n z-index: 1;\n transform: translateY(-0.1rem);\n height: 1.4rem;\n width: 1.4rem;\n box-shadow:\n 0 0 0 0.3rem $white,\n 0 0 0 0.4rem $blue700;\n }\n }\n\n div.weightline {\n width: 100%;\n background-color: $gray50;\n z-index: -1;\n height: 0.8rem;\n -webkit-transform: translateX(2.1rem) translateY(1.32rem);\n transform: translateX(2.1rem) translateY(1rem);\n border-radius: 2rem;\n margin-right: 3.5rem;\n }\n\n pn-button {\n &[disabled='disabled'] {\n opacity: 0.2;\n\n button {\n cursor: default;\n\n &.pn-button-light .pn-button-bg:after {\n background-color: $white;\n }\n\n &[data-tooltip-open]:before {\n display: none;\n }\n }\n }\n\n button div.button-tooltip {\n display: none;\n }\n\n button:focus .pn-button-bg {\n box-shadow: none;\n }\n }\n}\n","import { Component, h, Host, Listen, Prop, State } from '@stencil/core';\nimport { FetchHelper } from '../../../globals/FetchHelper';\nimport { MarketWebContextService } from '../../../globals/MarketWebContextService';\nimport { translations } from './translations';\nimport { ProductGenericItem, ProxioPriceGroupi18n, ProxioPriceListGroupResponse, ProxioProduct, ProductWeightGroupListItem } from './types';\nimport { arrow_left, arrow_right } from 'pn-design-assets/pn-assets/icons.js';\n\n@Component({\n tag: 'pn-proxio-pricegroup',\n styleUrl: 'pn-proxio-pricegroup.scss',\n})\nexport class PnProxioPricegroup {\n /** Specifies which endpoint domain we should load from */\n @Prop({ mutable: true }) endpoint: string = null;\n //@Prop() culture: string = \"sv-SE\";\n @Prop() language: string = 'sv';\n @Prop() market: string = 'se';\n @Prop() tariffid: string = '';\n @Prop() cache: boolean = true;\n\n @State() activeWeightIndex: number = 0;\n @State() data: ProxioPriceListGroupResponse = null;\n @State() i18n: ProxioPriceGroupi18n = translations['sv'];\n\n fetchHelper = new FetchHelper('proxiopricegroup');\n\n componentWillLoad() {\n this.setInitialValues().then(() => {\n this.init();\n });\n }\n\n async setInitialValues(href = window.location.href) {\n const marketWebContextService = new MarketWebContextService(href);\n const environment = await marketWebContextService.getEnvironmentName();\n\n if (!this.endpoint && environment?.indexOf('local') === -1) {\n const market = await marketWebContextService.getMarket();\n this.endpoint = await marketWebContextService.getEndpoint(environment, market);\n }\n\n if (!this.endpoint) {\n this.endpoint = '';\n }\n }\n\n init() {\n this.setLanguage();\n this.fetchData();\n }\n\n async fetchData() {\n if (!this.market || !this.language || !this.tariffid) {\n return;\n }\n const endpoint = this.endpoint.lastIndexOf('/') === this.endpoint.length - 1 ? this.endpoint.substring(0, this.endpoint.length - 1) : this.endpoint;\n const fetchUrl = `${endpoint}/api/proxio/price-list-group?tariffId=${this.tariffid}&market=${this.market}&language=${this.language}&cached=${this.cache}`;\n //const fetchUrl = `https://localhost:51547/api/proxio/price-list-group?tariffId=${this.tariffid}&market=${this.market}&language=${this.language}&cached=${this.cache}`;\n const data = (await this.fetchHelper.fetchJson(\n fetchUrl,\n {\n mode: 'cors',\n },\n this.cache,\n this.onFetchData.bind(this),\n )) as any;\n\n if (data?.proxioProduct) {\n this.data = data;\n }\n }\n\n onFetchData(data) {\n this.data = data;\n }\n\n @Listen('activeWeightIndex')\n setActiveWeightIndex(weightIndex: number) {\n let minIndex = 0;\n let maxIndex = this.data.proxioProduct?.weightAndPriceList?.length - 1 ?? minIndex;\n weightIndex = weightIndex > maxIndex ? maxIndex : weightIndex;\n weightIndex = weightIndex < minIndex ? minIndex : weightIndex;\n this.activeWeightIndex = weightIndex;\n }\n\n @Listen('language')\n setLanguage() {\n if (translations[this.language]) {\n this.i18n = translations[this.language] as ProxioPriceGroupi18n;\n }\n }\n\n getPriceString(product: ProxioProduct) {\n let price = product.weightAndPriceList ? product?.weightAndPriceList[this.activeWeightIndex]?.item2 : '';\n return price ? this.i18n.from + price : '';\n }\n\n getProductLink(product: ProxioProduct, productWeightGroupList: ProductWeightGroupListItem[]) {\n let productId = productWeightGroupList[this.activeWeightIndex]?.item2;\n let productLink = product.productLink ? product?.productLink : '';\n return productLink ? productLink + (productId ? '?productId=' + productId : '') : '';\n }\n\n isActive(index: number) {\n return index === this.activeWeightIndex;\n }\n\n getCarouselPosition(index: number) {\n switch (index) {\n case this.activeWeightIndex - 2: {\n return -2;\n }\n case this.activeWeightIndex - 1: {\n return -1;\n }\n case this.activeWeightIndex: {\n return 0;\n }\n case this.activeWeightIndex + 1: {\n return 1;\n }\n case this.activeWeightIndex + 2: {\n return 2;\n }\n default:\n return 'outside';\n }\n }\n\n getContainerPosition() {\n let maxIndex = this.data.proxioProduct.weightAndPriceList.length - 1;\n switch (this.activeWeightIndex) {\n case 0: {\n return 'end50';\n }\n case 1: {\n return 'end75';\n }\n case maxIndex - 1: {\n return 'start75';\n }\n case maxIndex: {\n return 'start50';\n }\n default: {\n return 'default';\n }\n }\n }\n\n render() {\n return (\n <Host>\n {this.data?.proxioProduct ? (\n <div class=\"proxio-pricegroup-container\">\n <div class=\"weightcontainer\">\n {this.data.proxioProduct.weightAndPriceList ? (\n <div class=\"weightvaluecontainer\">\n <pn-button\n disabled={this.activeWeightIndex === 0 ? 'disabled' : null}\n icon={arrow_left}\n appearance=\"light\"\n small=\"true\"\n onClick={() => this.setActiveWeightIndex(this.activeWeightIndex - 1)}\n ></pn-button>\n <div class=\"weightradios \" data-carousel-container-position={this.getContainerPosition()}>\n <div class=\"weightline\"></div>\n {this.data.proxioProduct.weightAndPriceList.map((weightItem, index) =>\n this.getCarouselPosition(index) !== null ? (\n <div class=\"weightdata\" data-carousel-position={this.getCarouselPosition(index)} onClick={() => this.setActiveWeightIndex(index)}>\n <input type=\"radio\" id={'weightradio' + index} name=\"weightradio\" value={index} checked={this.isActive(index)} />\n <label htmlFor={'weightradio' + index}>{weightItem.item1}</label>\n </div>\n ) : null,\n )}\n </div>\n <pn-button\n disabled={this.activeWeightIndex === this.data.proxioProduct?.weightAndPriceList?.length - 1 ? 'disabled' : null}\n icon={arrow_right}\n appearance=\"light\"\n small=\"true\"\n onClick={() => this.setActiveWeightIndex(this.activeWeightIndex + 1)}\n ></pn-button>\n </div>\n ) : null}\n </div>\n <pn-proxio-productcard>\n <pn-illustration slot=\"illustrationmobile\" illustration={this.data.proxioProduct.productIcon}></pn-illustration>\n <h2 slot=\"title\">{this.data.proxioProduct.productTitle}</h2>\n <pn-proxio-productcard-description\n slot=\"description\"\n heading={this.data.proxioProduct.productPreamble}\n highlight={this.data.proxioProduct.deliveryDateInformation}\n list={this.data.proxioProduct.productDescriptionBulletListItems}\n ></pn-proxio-productcard-description>\n <div slot=\"information\">\n <pn-proxio-productcard-information\n label={this.i18n.labelMaxDimensions}\n information={this.data.proxioProduct.productPackageDimensionsList as ProductGenericItem[]}\n ></pn-proxio-productcard-information>\n <pn-proxio-productcard-information\n label={this.i18n.labelMaxDimensionsRoll}\n information={this.data.proxioProduct.productRollDimensionsList as ProductGenericItem[]}\n ></pn-proxio-productcard-information>\n </div>\n <div slot=\"bottomtags\">\n {this.data.proxioProduct.usp1 ? <pn-titletag color=\"gray50\">{this.data.proxioProduct.usp1}</pn-titletag> : null}\n {this.data.proxioProduct.usp2 ? <pn-titletag color=\"gray50\">{this.data.proxioProduct.usp2}</pn-titletag> : null}\n {this.data.proxioProduct.usp3 ? <pn-titletag color=\"gray50\">{this.data.proxioProduct.usp3}</pn-titletag> : null}\n </div>\n <pn-illustration slot=\"illustration\" illustration={this.data.proxioProduct.productIcon}></pn-illustration>\n <div slot=\"pricelink\">\n <pn-proxio-productcard-pricelink\n price={this.getPriceString(this.data.proxioProduct)}\n link={this.getProductLink(this.data.proxioProduct, this.data.proxioProduct.productWeightGroupList)}\n linktext={this.data.proxioProduct.productLinkText}\n ></pn-proxio-productcard-pricelink>\n {this.data.relatedProxioProducts\n ? this.data.relatedProxioProducts.map(product => (\n <pn-proxio-productcard-pricelink\n price={this.getPriceString(product)}\n link={product.productLink}\n linktext={product.productLinkText}\n ></pn-proxio-productcard-pricelink>\n ))\n : null}\n </div>\n </pn-proxio-productcard>\n </div>\n ) : null}\n </Host>\n );\n }\n}\n"],"mappings":"iOAAA,MAAMA,EAAwB,i9HAC9B,MAAAC,EAAeD,E,MCUFE,EAAkB,M,uCAEe,K,cAEjB,K,YACF,K,cACE,G,WACF,K,uBAEY,E,UACS,K,UACRC,EAAa,K,CAEnDC,YAAc,IAAIC,EAAY,oBAE9B,iBAAAC,GACEC,KAAKC,mBAAmBC,MAAK,KAC3BF,KAAKG,MAAM,G,CAIf,sBAAMF,CAAiBG,EAAOC,OAAOC,SAASF,MAC5C,MAAMG,EAA0B,IAAIC,EAAwBJ,GAC5D,MAAMK,QAAoBF,EAAwBG,qBAElD,IAAKV,KAAKW,UAAYF,GAAaG,QAAQ,YAAc,EAAG,CAC1D,MAAMC,QAAeN,EAAwBO,YAC7Cd,KAAKW,eAAiBJ,EAAwBQ,YAAYN,EAAaI,E,CAGzE,IAAKb,KAAKW,SAAU,CAClBX,KAAKW,SAAW,E,EAIpB,IAAAR,GACEH,KAAKgB,cACLhB,KAAKiB,W,CAGP,eAAMA,GACJ,IAAKjB,KAAKa,SAAWb,KAAKkB,WAAalB,KAAKmB,SAAU,CACpD,M,CAEF,MAAMR,EAAWX,KAAKW,SAASS,YAAY,OAASpB,KAAKW,SAASU,OAAS,EAAIrB,KAAKW,SAASW,UAAU,EAAGtB,KAAKW,SAASU,OAAS,G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AKK,cAAcgE,kBAEnC9F,KAAKyB,KAAKsE,sBACP/F,KAAKyB,KAAKsE,sBAAsBjC,KAAIvB,GAClCa,EAAA,mCACEZ,MAAOxC,KAAKsC,eAAeC,GAC3BqD,KAAMrD,EAAQO,YACd+C,SAAUtD,EAAQuD,oBAGtB,QAIR,K","ignoreList":[]}
1
+ {"version":3,"names":["pnProxioPricegroupCss","PnProxioPricegroupStyle0","PnProxioPricegroup","translations","fetchHelper","FetchHelper","componentWillLoad","this","setInitialValues","then","init","href","window","location","marketWebContextService","MarketWebContextService","environment","getEnvironmentName","endpoint","indexOf","market","getMarket","getEndpoint","setLanguage","fetchData","language","tariffid","lastIndexOf","length","substring","fetchUrl","cache","data","fetchJson","mode","onFetchData","bind","proxioProduct","setActiveWeightIndex","weightIndex","minIndex","maxIndex","weightAndPriceList","activeWeightIndex","i18n","getPriceString","product","price","item2","from","getProductLink","productWeightGroupList","productId","productLink","isActive","index","getCarouselPosition","getContainerPosition","render","h","Host","key","class","disabled","icon","arrow_left","appearance","small","onClick","map","weightItem","type","id","name","value","checked","htmlFor","item1","arrow_right","slot","illustration","productIcon","productTitle","heading","productPreamble","highlight","deliveryDateInformation","list","productDescriptionBulletListItems","label","labelMaxDimensions","information","productPackageDimensionsList","labelMaxDimensionsRoll","productRollDimensionsList","usp1","color","usp2","usp3","link","linktext","productLinkText","relatedProxioProducts"],"sources":["src/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.scss?tag=pn-proxio-pricegroup","src/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.tsx"],"sourcesContent":["@import '../../../globals/main.scss';\n@import './pn-proxio-pricegroup-common.scss';\n\npn-proxio-pricegroup {\n div.proxio-pricegroup-container {\n max-width: 99.4rem;\n }\n\n div.weightcontainer {\n margin: 2.8rem 0;\n }\n\n div.weightvaluecontainer {\n display: flex;\n flex-direction: row;\n align-content: center;\n justify-content: space-between;\n align-items: flex-start;\n\n pn-button {\n transform: translateY(-0.4rem);\n\n button::before {\n display: none;\n }\n }\n }\n\n div.weightradios {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n flex-wrap: wrap;\n color: $blue700;\n width: 80%;\n margin: 0 3.6rem;\n position: relative;\n width: 0%;\n\n &[data-carousel-container-position='end50'] {\n width: 45%;\n margin-left: auto;\n margin-right: 3.6rem;\n\n @media screen and (max-width: $productcard-media-tablet) {\n width: 40%;\n }\n }\n\n &[data-carousel-container-position='end75'] {\n width: 65%;\n margin-left: auto;\n margin-right: 3.6rem;\n\n @media screen and (max-width: $productcard-media-tablet) {\n margin-right: auto;\n }\n }\n\n &[data-carousel-container-position='start50'] {\n width: 45%;\n margin-right: auto;\n margin-left: 3.6rem;\n\n @media screen and (max-width: $productcard-media-tablet) {\n width: 40%;\n }\n }\n\n &[data-carousel-container-position='start75'] {\n width: 65%;\n margin-right: auto;\n margin-left: 3.6rem;\n\n @media screen and (max-width: $productcard-media-tablet) {\n margin-left: auto;\n }\n }\n\n &[data-carousel-container-position='default'] {\n flex: 0 0 auto;\n width: 80%;\n\n @media screen and (max-width: $productcard-media-tablet) {\n width: 65%;\n }\n }\n }\n\n div.weightdata {\n display: flex;\n flex-direction: column;\n align-items: center;\n align-content: center;\n flex-wrap: wrap;\n justify-content: space-between;\n gap: 1.2rem;\n min-width: 4rem;\n cursor: pointer;\n\n label {\n font-size: 1.4rem;\n cursor: pointer;\n }\n\n &[data-carousel-position='0'] {\n font-size: 2rem;\n font-weight: 700;\n }\n\n &[data-carousel-position='2'],\n &[data-carousel-position='-2'] {\n @media screen and (max-width: $productcard-media-tablet) {\n display: none;\n }\n }\n\n &[data-carousel-position='outside'] {\n display: none;\n }\n\n input[type='radio'] {\n -webkit-appearance: none;\n -moz-appearance: none;\n width: 1.2rem;\n height: 1.2rem;\n background-color: $blue700;\n border-radius: 50%;\n margin: 0;\n cursor: pointer;\n }\n\n input[type='radio']:checked {\n z-index: 1;\n transform: translateY(-0.1rem);\n height: 1.4rem;\n width: 1.4rem;\n box-shadow:\n 0 0 0 0.3rem $white,\n 0 0 0 0.4rem $blue700;\n }\n }\n\n div.weightline {\n width: 100%;\n background-color: $gray50;\n z-index: -1;\n height: 0.8rem;\n -webkit-transform: translateX(2.1rem) translateY(1.32rem);\n transform: translateX(2.1rem) translateY(1rem);\n border-radius: 2rem;\n margin-right: 3.5rem;\n }\n\n pn-button {\n &[disabled='disabled'] {\n opacity: 0.2;\n\n button {\n cursor: default;\n\n &.pn-button-light .pn-button-bg:after {\n background-color: $white;\n }\n\n &[data-tooltip-open]:before {\n display: none;\n }\n }\n }\n\n button div.button-tooltip {\n display: none;\n }\n\n button:focus .pn-button-bg {\n box-shadow: none;\n }\n }\n}\n","import { Component, h, Host, Listen, Prop, State } from '@stencil/core';\nimport { FetchHelper } from '../../../globals/FetchHelper';\nimport { MarketWebContextService } from '../../../globals/MarketWebContextService';\nimport { translations } from './translations';\nimport { ProductGenericItem, ProxioPriceGroupi18n, ProxioPriceListGroupResponse, ProxioProduct, ProductWeightGroupListItem } from './types';\nimport { arrow_left, arrow_right } from 'pn-design-assets/pn-assets/icons.js';\n\n@Component({\n tag: 'pn-proxio-pricegroup',\n styleUrl: 'pn-proxio-pricegroup.scss',\n})\nexport class PnProxioPricegroup {\n /** Specifies which endpoint domain we should load from */\n @Prop({ mutable: true }) endpoint: string = null;\n //@Prop() culture: string = \"sv-SE\";\n @Prop() language: string = 'sv';\n @Prop() market: string = 'se';\n @Prop() tariffid: string = '';\n @Prop() cache: boolean = true;\n\n @State() activeWeightIndex: number = 0;\n @State() data: ProxioPriceListGroupResponse = null;\n @State() i18n: ProxioPriceGroupi18n = translations['sv'];\n\n fetchHelper = new FetchHelper('proxiopricegroup');\n\n componentWillLoad() {\n this.setInitialValues().then(() => {\n this.init();\n });\n }\n\n async setInitialValues(href = window.location.href) {\n const marketWebContextService = new MarketWebContextService(href);\n const environment = await marketWebContextService.getEnvironmentName();\n\n if (!this.endpoint && environment?.indexOf('local') === -1) {\n const market = await marketWebContextService.getMarket();\n this.endpoint = await marketWebContextService.getEndpoint(environment, market);\n }\n\n if (!this.endpoint) {\n this.endpoint = '';\n }\n }\n\n init() {\n this.setLanguage();\n this.fetchData();\n }\n\n async fetchData() {\n if (!this.market || !this.language || !this.tariffid) {\n return;\n }\n const endpoint = this.endpoint.lastIndexOf('/') === this.endpoint.length - 1 ? this.endpoint.substring(0, this.endpoint.length - 1) : this.endpoint;\n const fetchUrl = `${endpoint}/api/proxio/price-list-group?tariffId=${this.tariffid}&market=${this.market}&language=${this.language}&cached=${this.cache}`;\n //const fetchUrl = `https://localhost:51547/api/proxio/price-list-group?tariffId=${this.tariffid}&market=${this.market}&language=${this.language}&cached=${this.cache}`;\n const data = (await this.fetchHelper.fetchJson(\n fetchUrl,\n {\n mode: 'cors',\n },\n this.cache,\n this.onFetchData.bind(this),\n )) as any;\n\n if (data?.proxioProduct) {\n this.data = data;\n }\n }\n\n onFetchData(data) {\n this.data = data;\n }\n\n @Listen('activeWeightIndex')\n setActiveWeightIndex(weightIndex: number) {\n let minIndex = 0;\n let maxIndex = this.data.proxioProduct?.weightAndPriceList?.length - 1 ?? minIndex;\n weightIndex = weightIndex > maxIndex ? maxIndex : weightIndex;\n weightIndex = weightIndex < minIndex ? minIndex : weightIndex;\n this.activeWeightIndex = weightIndex;\n }\n\n @Listen('language')\n setLanguage() {\n if (translations[this.language]) {\n this.i18n = translations[this.language] as ProxioPriceGroupi18n;\n }\n }\n\n getPriceString(product: ProxioProduct) {\n let price = product.weightAndPriceList ? product?.weightAndPriceList[this.activeWeightIndex]?.item2 : '';\n return price ? this.i18n.from + price : '';\n }\n\n getProductLink(product: ProxioProduct, productWeightGroupList: ProductWeightGroupListItem[]) {\n let productId = productWeightGroupList[this.activeWeightIndex]?.item2;\n let productLink = product.productLink ? product?.productLink : '';\n return productLink ? productLink + (productId ? '?productId=' + productId : '') : '';\n }\n\n isActive(index: number) {\n return index === this.activeWeightIndex;\n }\n\n getCarouselPosition(index: number) {\n switch (index) {\n case this.activeWeightIndex - 2: {\n return -2;\n }\n case this.activeWeightIndex - 1: {\n return -1;\n }\n case this.activeWeightIndex: {\n return 0;\n }\n case this.activeWeightIndex + 1: {\n return 1;\n }\n case this.activeWeightIndex + 2: {\n return 2;\n }\n default:\n return 'outside';\n }\n }\n\n getContainerPosition() {\n let maxIndex = this.data.proxioProduct.weightAndPriceList.length - 1;\n switch (this.activeWeightIndex) {\n case 0: {\n return 'end50';\n }\n case 1: {\n return 'end75';\n }\n case maxIndex - 1: {\n return 'start75';\n }\n case maxIndex: {\n return 'start50';\n }\n default: {\n return 'default';\n }\n }\n }\n\n render() {\n return (\n <Host>\n {this.data?.proxioProduct ? (\n <div class=\"proxio-pricegroup-container\">\n <div class=\"weightcontainer\">\n {this.data.proxioProduct.weightAndPriceList ? (\n <div class=\"weightvaluecontainer\">\n <pn-button\n disabled={this.activeWeightIndex === 0 ? 'disabled' : null}\n icon={arrow_left}\n appearance=\"light\"\n small=\"true\"\n onClick={() => this.setActiveWeightIndex(this.activeWeightIndex - 1)}\n ></pn-button>\n <div class=\"weightradios \" data-carousel-container-position={this.getContainerPosition()}>\n <div class=\"weightline\"></div>\n {this.data.proxioProduct.weightAndPriceList.map((weightItem, index) =>\n this.getCarouselPosition(index) !== null ? (\n <div class=\"weightdata\" data-carousel-position={this.getCarouselPosition(index)} onClick={() => this.setActiveWeightIndex(index)}>\n <input type=\"radio\" id={'weightradio' + index} name=\"weightradio\" value={index} checked={this.isActive(index)} />\n <label htmlFor={'weightradio' + index}>{weightItem.item1}</label>\n </div>\n ) : null,\n )}\n </div>\n <pn-button\n disabled={this.activeWeightIndex === this.data.proxioProduct?.weightAndPriceList?.length - 1 ? 'disabled' : null}\n icon={arrow_right}\n appearance=\"light\"\n small=\"true\"\n onClick={() => this.setActiveWeightIndex(this.activeWeightIndex + 1)}\n ></pn-button>\n </div>\n ) : null}\n </div>\n <pn-proxio-productcard>\n <pn-illustration slot=\"illustrationmobile\" illustration={this.data.proxioProduct.productIcon}></pn-illustration>\n <h2 slot=\"title\">{this.data.proxioProduct.productTitle}</h2>\n <pn-proxio-productcard-description\n slot=\"description\"\n heading={this.data.proxioProduct.productPreamble}\n highlight={this.data.proxioProduct.deliveryDateInformation}\n list={this.data.proxioProduct.productDescriptionBulletListItems}\n ></pn-proxio-productcard-description>\n <div slot=\"information\">\n <pn-proxio-productcard-information\n label={this.i18n.labelMaxDimensions}\n information={this.data.proxioProduct.productPackageDimensionsList as ProductGenericItem[]}\n ></pn-proxio-productcard-information>\n <pn-proxio-productcard-information\n label={this.i18n.labelMaxDimensionsRoll}\n information={this.data.proxioProduct.productRollDimensionsList as ProductGenericItem[]}\n ></pn-proxio-productcard-information>\n </div>\n <div slot=\"bottomtags\">\n {this.data.proxioProduct.usp1 ? <pn-titletag color=\"gray50\">{this.data.proxioProduct.usp1}</pn-titletag> : null}\n {this.data.proxioProduct.usp2 ? <pn-titletag color=\"gray50\">{this.data.proxioProduct.usp2}</pn-titletag> : null}\n {this.data.proxioProduct.usp3 ? <pn-titletag color=\"gray50\">{this.data.proxioProduct.usp3}</pn-titletag> : null}\n </div>\n <pn-illustration slot=\"illustration\" illustration={this.data.proxioProduct.productIcon}></pn-illustration>\n <div slot=\"pricelink\">\n <pn-proxio-productcard-pricelink\n price={this.getPriceString(this.data.proxioProduct)}\n link={this.getProductLink(this.data.proxioProduct, this.data.proxioProduct.productWeightGroupList)}\n linktext={this.data.proxioProduct.productLinkText}\n ></pn-proxio-productcard-pricelink>\n {this.data.relatedProxioProducts\n ? this.data.relatedProxioProducts.map(product => (\n <pn-proxio-productcard-pricelink\n price={this.getPriceString(product)}\n link={product.productLink}\n linktext={product.productLinkText}\n ></pn-proxio-productcard-pricelink>\n ))\n : null}\n </div>\n </pn-proxio-productcard>\n </div>\n ) : null}\n </Host>\n );\n }\n}\n"],"mappings":"oMAAA,MAAMA,EAAwB,woHAC9B,MAAAC,EAAeD,E,MCUFE,EAAkB,M,uCAEe,K,cAEjB,K,YACF,K,cACE,G,WACF,K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qCACE8B,MAAOlF,KAAKqC,KAAKiD,uBACjBF,YAAapF,KAAKyB,KAAKK,cAAcyD,6BAGzCnC,EAAA,OAAKoB,KAAK,cACPxE,KAAKyB,KAAKK,cAAc0D,KAAOpC,EAAA,eAAaqC,MAAM,UAAUzF,KAAKyB,KAAKK,cAAc0D,MAAsB,KAC1GxF,KAAKyB,KAAKK,cAAc4D,KAAOtC,EAAA,eAAaqC,MAAM,UAAUzF,KAAKyB,KAAKK,cAAc4D,MAAsB,KAC1G1F,KAAKyB,KAAKK,cAAc6D,KAAOvC,EAAA,eAAaqC,MAAM,UAAUzF,KAAKyB,KAAKK,cAAc6D,MAAsB,MAE7GvC,EAAA,mBAAiBoB,KAAK,eAAeC,aAAczE,KAAKyB,KAAKK,cAAc4C,cAC3EtB,EAAA,OAAKoB,KAAK,aACRpB,EAAA,mCACEZ,MAAOxC,KAAKsC,eAAetC,KAAKyB,KAAKK,eACrC8D,KAAM5F,KAAK2C,eAAe3C,KAAKyB,KAAKK,cAAe9B,KAAKyB,KAAKK,cAAcc,wBAC3EiD,SAAU7F,KAAKyB,KAAKK,cAAcgE,kBAEnC9F,KAAKyB,KAAKsE,sBACP/F,KAAKyB,KAAKsE,sBAAsBjC,KAAIvB,GAClCa,EAAA,mCACEZ,MAAOxC,KAAKsC,eAAeC,GAC3BqD,KAAMrD,EAAQO,YACd+C,SAAUtD,EAAQuD,oBAGtB,QAIR,K","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as e,g as r,h as n,d as t}from"./p-bb1c965e.js";import{s as a}from"./p-66d71724.js";const c="pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}pn-spotlight .pn-spotlight__container:has(pn-parcel-tracker) [slot=mobile-heading]{color:#005d92}.pn-spotlight__container__wrapper__content [slot=content]:has(pn-parcel-tracker){padding-left:2rem}pn-parcel-tracker{width:100%}pn-parcel-tracker .pn-parcel-tracker__container form{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:1.6rem}pn-parcel-tracker .pn-parcel-tracker__container form .pn-parcel-tracker__container__heading{color:#005d92;font-weight:500;margin-bottom:0}@media screen and (max-width: 768px){pn-parcel-tracker .pn-parcel-tracker__container form .pn-parcel-tracker__container__heading{display:none}}@media screen and (min-width: 1640px){pn-parcel-tracker .pn-parcel-tracker__container form .pn-parcel-tracker__container__heading{font-size:2.4rem;font-weight:700}}pn-parcel-tracker .pn-parcel-tracker__container form pn-marketweb-input{flex-grow:1;max-width:80%}@media screen and (min-width: 768px){pn-parcel-tracker .pn-parcel-tracker__container form pn-marketweb-input{max-width:50%}}@media screen and (min-width: 992px){pn-parcel-tracker .pn-parcel-tracker__container form pn-marketweb-input{max-width:45%}}@media screen and (min-width: 1640px){pn-parcel-tracker .pn-parcel-tracker__container form pn-marketweb-input{max-width:35%}}pn-parcel-tracker .pn-parcel-tracker__container form pn-marketweb-input input{border-radius:6.4rem}";const p=c;const i=class{constructor(r){e(this,r);this.formActionUrl=null;this.heading="Track your parcel";this.buttonLabel=null;this.locale="en";this.placeholder="Enter shipment ID";this.inputName="shipmentID";this.currentWidth=window.innerWidth}get hostElement(){return r(this)}handleViewportSizeChange(e){this.currentWidth=e.target.innerWidth}render(){return n(t,{key:"1175ee79bdd43c697cff71530375a02bc7608382"},n("div",{key:"7d5059b7384060cf1937c45341b01998ec1220d7",class:"pn-parcel-tracker__container"},n("form",{key:"3a416b4c483e99a953c715e16f3f3ea83591570a",method:"GET",action:this.formActionUrl},n("h3",{key:"832541b313250e8960f93298f5c6e90e5af405c8",class:"pn-parcel-tracker__container__heading"},this.heading),n("pn-marketweb-input",{key:"73b2290a2ec9427faf6110ef97a2df0f5c7bd51f",name:this.inputName,placeholder:this.placeholder}),n("pn-button",{key:"1f99b01aba200dc0e863058d9df9ff3bd015f959",type:"submit",icon:a,tooltip:this.currentWidth<412?this.buttonLabel:null},this.currentWidth>=412&&this.buttonLabel))))}};i.style=p;export{i as pn_parcel_tracker};
2
+ //# sourceMappingURL=p-1ec21bd6.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["pnParcelTrackerCss","PnParcelTrackerStyle0","PnSpotlight","window","innerWidth","handleViewportSizeChange","event","this","currentWidth","target","render","h","Host","key","class","method","action","formActionUrl","heading","name","inputName","placeholder","type","icon","search","tooltip","buttonLabel"],"sources":["src/components/cta/pn-parcel-tracker/pn-parcel-tracker.scss?tag=pn-parcel-tracker","src/components/cta/pn-parcel-tracker/pn-parcel-tracker.tsx"],"sourcesContent":["@import '../../../globals/main.scss';\n\npn-spotlight .pn-spotlight__container:has(pn-parcel-tracker) {\n [slot='mobile-heading'] {\n color: $blue700;\n }\n}\n\n.pn-spotlight__container__wrapper__content [slot='content']:has(pn-parcel-tracker) {\n padding-left: 2rem;\n}\n\npn-parcel-tracker {\n width: 100%;\n\n .pn-parcel-tracker__container {\n form {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-end;\n gap: 1.6rem;\n\n .pn-parcel-tracker__container__heading {\n color: $blue700;\n font-weight: 500;\n margin-bottom: 0;\n\n @media screen and (max-width: $min-width-md) {\n display: none;\n }\n\n @media screen and (min-width: $min-width-xxl) {\n font-size: 2.4rem;\n font-weight: 700;\n }\n }\n\n pn-marketweb-input {\n flex-grow: 1;\n max-width: 80%;\n\n @media screen and (min-width: $min-width-sm) {\n }\n\n @media screen and (min-width: $min-width-md) {\n max-width: 50%;\n }\n\n @media screen and (min-width: $min-width-lg) {\n max-width: 45%;\n }\n\n @media screen and (min-width: $min-width-xxl) {\n max-width: 35%;\n }\n\n input {\n border-radius: 6.4rem;\n }\n }\n }\n }\n}\n","import { Component, Element, h, Host, Listen, Prop, State } from '@stencil/core';\nimport { search } from 'pn-design-assets/pn-assets/icons.js';\n\n@Component({\n tag: 'pn-parcel-tracker',\n styleUrl: 'pn-parcel-tracker.scss',\n})\nexport class PnSpotlight {\n @Element() hostElement: HTMLElement;\n @Prop() formActionUrl: string = null;\n @Prop() heading: string = 'Track your parcel';\n @Prop() buttonLabel: string = null;\n @Prop() locale: string = 'en';\n @Prop() placeholder: string = 'Enter shipment ID';\n @Prop() inputName: string = 'shipmentID';\n\n @State() currentWidth = window.innerWidth;\n\n @Listen('resize', { target: 'window' })\n handleViewportSizeChange(event: any) {\n this.currentWidth = event.target.innerWidth;\n }\n\n render() {\n return (\n <Host>\n <div class=\"pn-parcel-tracker__container\">\n <form method=\"GET\" action={this.formActionUrl}>\n <h3 class=\"pn-parcel-tracker__container__heading\">{this.heading}</h3>\n <pn-marketweb-input name={this.inputName} placeholder={this.placeholder} />\n <pn-button type=\"submit\" icon={search} tooltip={this.currentWidth < 412 ? this.buttonLabel : null}>\n {this.currentWidth >= 412 && this.buttonLabel}\n </pn-button>\n </form>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"6FAAA,MAAMA,EAAqB,+vDAC3B,MAAAC,EAAeD,E,MCMFE,EAAW,M,4CAEU,K,aACN,oB,iBACI,K,YACL,K,iBACK,oB,eACF,a,kBAEJC,OAAOC,U,kCAG/B,wBAAAC,CAAyBC,GACvBC,KAAKC,aAAeF,EAAMG,OAAOL,U,CAGnC,MAAAM,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,OAAAE,IAAA,2CAAKC,MAAM,gCACTH,EAAA,QAAAE,IAAA,2CAAME,OAAO,MAAMC,OAAQT,KAAKU,eAC9BN,EAAA,MAAAE,IAAA,2CAAIC,MAAM,yCAAyCP,KAAKW,SACxDP,EAAA,sBAAAE,IAAA,2CAAoBM,KAAMZ,KAAKa,UAAWC,YAAad,KAAKc,cAC5DV,EAAA,aAAAE,IAAA,2CAAWS,KAAK,SAASC,KAAMC,EAAQC,QAASlB,KAAKC,aAAe,IAAMD,KAAKmB,YAAc,MAC1FnB,KAAKC,cAAgB,KAAOD,KAAKmB,e","ignoreList":[]}
1
+ {"version":3,"names":["pnParcelTrackerCss","PnParcelTrackerStyle0","PnSpotlight","window","innerWidth","handleViewportSizeChange","event","this","currentWidth","target","render","h","Host","key","class","method","action","formActionUrl","heading","name","inputName","placeholder","type","icon","search","tooltip","buttonLabel"],"sources":["src/components/cta/pn-parcel-tracker/pn-parcel-tracker.scss?tag=pn-parcel-tracker","src/components/cta/pn-parcel-tracker/pn-parcel-tracker.tsx"],"sourcesContent":["@import '../../../globals/main.scss';\n\npn-spotlight .pn-spotlight__container:has(pn-parcel-tracker) {\n [slot='mobile-heading'] {\n color: $blue700;\n }\n}\n\n.pn-spotlight__container__wrapper__content [slot='content']:has(pn-parcel-tracker) {\n padding-left: 2rem;\n}\n\npn-parcel-tracker {\n width: 100%;\n\n .pn-parcel-tracker__container {\n form {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-end;\n gap: 1.6rem;\n\n .pn-parcel-tracker__container__heading {\n color: $blue700;\n font-weight: 500;\n margin-bottom: 0;\n\n @media screen and (max-width: $min-width-md) {\n display: none;\n }\n\n @media screen and (min-width: $min-width-xxl) {\n font-size: 2.4rem;\n font-weight: 700;\n }\n }\n\n pn-marketweb-input {\n flex-grow: 1;\n max-width: 80%;\n\n @media screen and (min-width: $min-width-sm) {\n }\n\n @media screen and (min-width: $min-width-md) {\n max-width: 50%;\n }\n\n @media screen and (min-width: $min-width-lg) {\n max-width: 45%;\n }\n\n @media screen and (min-width: $min-width-xxl) {\n max-width: 35%;\n }\n\n input {\n border-radius: 6.4rem;\n }\n }\n }\n }\n}\n","import { Component, Element, h, Host, Listen, Prop, State } from '@stencil/core';\nimport { search } from 'pn-design-assets/pn-assets/icons.js';\n\n@Component({\n tag: 'pn-parcel-tracker',\n styleUrl: 'pn-parcel-tracker.scss',\n})\nexport class PnSpotlight {\n @Element() hostElement: HTMLElement;\n @Prop() formActionUrl: string = null;\n @Prop() heading: string = 'Track your parcel';\n @Prop() buttonLabel: string = null;\n @Prop() locale: string = 'en';\n @Prop() placeholder: string = 'Enter shipment ID';\n @Prop() inputName: string = 'shipmentID';\n\n @State() currentWidth = window.innerWidth;\n\n @Listen('resize', { target: 'window' })\n handleViewportSizeChange(event: any) {\n this.currentWidth = event.target.innerWidth;\n }\n\n render() {\n return (\n <Host>\n <div class=\"pn-parcel-tracker__container\">\n <form method=\"GET\" action={this.formActionUrl}>\n <h3 class=\"pn-parcel-tracker__container__heading\">{this.heading}</h3>\n <pn-marketweb-input name={this.inputName} placeholder={this.placeholder} />\n <pn-button type=\"submit\" icon={search} tooltip={this.currentWidth < 412 ? this.buttonLabel : null}>\n {this.currentWidth >= 412 && this.buttonLabel}\n </pn-button>\n </form>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"6FAAA,MAAMA,EAAqB,s7CAC3B,MAAAC,EAAeD,E,MCMFE,EAAW,M,4CAEU,K,aACN,oB,iBACI,K,YACL,K,iBACK,oB,eACF,a,kBAEJC,OAAOC,U,kCAG/B,wBAAAC,CAAyBC,GACvBC,KAAKC,aAAeF,EAAMG,OAAOL,U,CAGnC,MAAAM,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,OAAAE,IAAA,2CAAKC,MAAM,gCACTH,EAAA,QAAAE,IAAA,2CAAME,OAAO,MAAMC,OAAQT,KAAKU,eAC9BN,EAAA,MAAAE,IAAA,2CAAIC,MAAM,yCAAyCP,KAAKW,SACxDP,EAAA,sBAAAE,IAAA,2CAAoBM,KAAMZ,KAAKa,UAAWC,YAAad,KAAKc,cAC5DV,EAAA,aAAAE,IAAA,2CAAWS,KAAK,SAASC,KAAMC,EAAQC,QAASlB,KAAKC,aAAe,IAAMD,KAAKmB,YAAc,MAC1FnB,KAAKC,cAAgB,KAAOD,KAAKmB,e","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,h as s,d as i}from"./p-bb1c965e.js";import{c as l}from"./p-2509d18d.js";import{s as n,a as e}from"./p-cd8db7cd.js";import{b as o,a}from"./p-4cb85336.js";const{state:r,onChange:c}=l({i18n:{maxweightlabel:"",weightlabel:"",maxmeasurementlabel:"",sizeheading:"",senddirectcta:"",stampshopcta:""},market:{currency:""}});const h="pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}";const p=h;const u=class{constructor(s){t(this,s);this.item=null;this.description=[];this.shownitems=[];this.showMeasurement=false;this.weightText=""}componentWillLoad(){this.composeItems()}composeItems(){if(this.item.description){this.description=this.item.description.split("#bullet").filter((t=>t!==""))}this.showMeasurement=this.item.maxmått!==null||this.item.rulle!==null;this.shownitems=[this.item]}render(){return s(i,{key:"7c81f4a3960e3068ac5e1c268e73a6967a12e2b2"},this.shownitems.map((t=>s("pn-product-card",{"data-productid":t.id},s("pn-illustration",{slot:"illustration",illustration:this.item.illustration}),s("div",{slot:"title"},s("h2",null,t.name," "),this.item.highestrankusp?this.item.highestrankusp==="Billigast"?s("pn-titletag",{slot:"Billigast",icon:o},this.item.highestrankusp):s("pn-titletag",{slot:"Snabbast",icon:a,color:"blue700"},this.item.highestrankusp):null),s("div",{slot:"content"},s("div",{class:"content"},this.item.description?s("div",{class:"description"},this.description.map((t=>s("li",null,t)))):null,this.item.info?s("div",{class:"description"},this.item.info):null)),this.item.note?s("small",{slot:"note"},s("p",null,this.item.note)):null,this.item.additionalusp?s("div",{slot:"additionalUSP"}):null,this.showMeasurement?s("pn-product-card-info",{paket:this.item.maxmått,rulle:this.item.rulle}):null,s("div",{slot:"cardprice"},this.item.pricesenddirect?s("pn-product-card-price",{slot:"sendDirectPrice",label:r.i18n.senddirectcta,amount:this.item.pricesenddirect+"",currency:r.market.currency,url:n,service:this.item.name+"-portal"}):null,this.item.pricestamps?s("pn-product-card-price",{slot:"stampPrice",label:r.i18n.stampshopcta,amount:this.item.pricestamps+"",currency:r.market.currency,url:e,service:this.item.name+"-eshop"}):null)))))}static get watchers(){return{item:["composeItems"]}}};u.style=p;export{u as pn_product_pricelist_result};
2
+ //# sourceMappingURL=p-231b97e1.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["state","onChange","createStore","i18n","maxweightlabel","weightlabel","maxmeasurementlabel","sizeheading","senddirectcta","stampshopcta","market","currency","pnProductPricelistResultCss","PnProductPricelistResultStyle0","PnFindProductPricelistResult","componentWillLoad","this","composeItems","item","description","split","filter","x","showMeasurement","rulle","shownitems","render","h","Host","key","map","id","slot","illustration","name","highestrankusp","icon","box_label","bolt","color","class","desc","info","note","additionalusp","paket","pricesenddirect","label","amount","url","sendDirectUrl","service","pricestamps","stampShopUrl"],"sources":["src/components/widgets/pn-product-pricelist/pn-product-pricelist-store.tsx","src/components/widgets/pn-product-pricelist/pn-product-pricelist-result.scss?tag=pn-product-pricelist-result","src/components/widgets/pn-product-pricelist/pn-product-pricelist-result.tsx"],"sourcesContent":["import { createStore } from '@stencil/store';\n// Read more about how stencil stores work here: https://stenciljs.com/docs/stencil-store\n\nconst { state, onChange } = createStore({\n i18n: {\n maxweightlabel: '',\n weightlabel: '',\n maxmeasurementlabel: '',\n sizeheading: '',\n senddirectcta: '',\n stampshopcta: '',\n },\n market: {\n currency: '',\n },\n});\n\nexport { state, onChange };\nexport default state;\n","@import '../../../globals/main.scss';\n\npn-find-service-and-price-result {\n}\n","import { Component, h, Prop, Host, State, Watch } from '@stencil/core';\nimport { ProductPriceItem } from '../../../globals/shared/productprice/product-price-types';\nimport { state } from './pn-product-pricelist-store';\nimport { sendDirectUrl, stampShopUrl } from './data.js';\nimport { bolt, box_label } from 'pn-design-assets/pn-assets/icons.js';\n\n@Component({\n tag: 'pn-product-pricelist-result',\n styleUrl: 'pn-product-pricelist-result.scss',\n})\nexport class PnFindProductPricelistResult {\n @Prop({ mutable: true }) item: ProductPriceItem = null;\n @Prop() description?: string[] = [];\n @Prop() shownitems: ProductPriceItem[] = [];\n @Prop() showMeasurement?: boolean = false;\n @State() weightText = '';\n componentWillLoad() {\n this.composeItems();\n }\n\n @Watch('item')\n composeItems() {\n if (this.item.description) {\n this.description = this.item.description.split('#bullet').filter(x => x !== '');\n }\n this.showMeasurement = this.item.maxmått !== null || this.item.rulle !== null;\n this.shownitems = [this.item];\n // if (this.item.pricestamps) {\n // this.shownitems.push({...this.item, priceagent: null, pricesenddirect: null});\n // }\n // if (this.item.priceagent) {\n // this.shownitems.push({...this.item, pricestamps: null, pricesenddirect: null});\n // }\n // if (this.item.pricesenddirect) {\n // this.shownitems.push({...this.item, pricestamps: null, priceagent: null});\n // }\n // // Parcels are always in KG. Letter KG must be converted from grams\n // this.weightText = (this.item.what === \"parcel\") ? this.item.maxweight + 'kg' :\n // (this.item.what === \"letter\" && this.item.maxweight > 999) ? Math.round(this.item.maxweight/1000) + \" kg\" : this.item.maxweight + \" g\";\n }\n\n render() {\n return (\n <Host>\n {this.shownitems.map(item => (\n <pn-product-card data-productid={item.id}>\n <pn-illustration slot=\"illustration\" illustration={this.item.illustration}></pn-illustration>\n <div slot=\"title\">\n <h2>{item.name} </h2>\n\n {this.item.highestrankusp ? (\n this.item.highestrankusp === 'Billigast' ? (\n <pn-titletag slot=\"Billigast\" icon={box_label}>\n {this.item.highestrankusp}\n </pn-titletag>\n ) : (\n <pn-titletag slot=\"Snabbast\" icon={bolt} color=\"blue700\">\n {this.item.highestrankusp}\n </pn-titletag>\n )\n ) : null}\n </div>\n <div slot=\"content\">\n <div class=\"content\">\n {this.item.description ? (\n <div class=\"description\">\n {this.description.map(desc => (\n <li>{desc}</li>\n ))}\n </div>\n ) : null}\n {this.item.info ? <div class=\"description\">{this.item.info}</div> : null}\n </div>\n </div>\n {this.item.note ? (\n <small slot=\"note\">\n <p>{this.item.note}</p>\n </small>\n ) : null}\n {this.item.additionalusp ? (\n <div slot=\"additionalUSP\">\n {/* {this.Usp1 ? (<span>{this.Usp1}</span>) : null } \n {this.Usp2 ? (<span>{this.Usp2}</span>) : null } \n {this.Usp3 ? (<span>{this.Usp3}</span>) : null } */}\n </div>\n ) : null}\n {this.showMeasurement ? <pn-product-card-info paket={this.item.maxmått} rulle={this.item.rulle}></pn-product-card-info> : null}\n <div slot=\"cardprice\">\n {this.item.pricesenddirect ? (\n <pn-product-card-price\n slot=\"sendDirectPrice\"\n label={state.i18n.senddirectcta}\n amount={this.item.pricesenddirect + ''}\n currency={state.market.currency}\n url={sendDirectUrl}\n service={this.item.name + '-portal'}\n ></pn-product-card-price>\n ) : null}\n {this.item.pricestamps ? (\n <pn-product-card-price\n slot=\"stampPrice\"\n label={state.i18n.stampshopcta}\n amount={this.item.pricestamps + ''}\n currency={state.market.currency}\n url={stampShopUrl}\n service={this.item.name + '-eshop'}\n ></pn-product-card-price>\n ) : null}\n </div>\n </pn-product-card>\n // <pn-product-tile>\n // <pn-illustration slot=\"illustration\" illustration={ item.illustration }></pn-illustration>\n // <div slot=\"content\">\n // <div class=\"content\">\n // <h3>{item.name}</h3>\n // {(item.description) ? (<div class=\"description\">{item.description}</div>) : null}\n // {(item.info) ? (<div class=\"description\">{item.info}</div>) : null}\n // </div>\n // </div>\n\n // { item.maxweight ? (<pn-product-tile-info label={state.i18n.maxweightlabel} text={this.weightText}></pn-product-tile-info>) : null }\n // {/* { item.maximummeasurements ? (<pn-product-tile-info label={state.i18n.maxmeasurementlabel} text={item.maximummeasurements}></pn-product-tile-info>) : null } */}\n // { item.pricestamps ? (<pn-product-tile-price slot=\"price\" label={state.i18n.stampshopcta} amount={item.pricestamps+''} currency={ state.market.currency }></pn-product-tile-price>) : null }\n // {/* { item.priceagent ? (<pn-product-tile-price slot=\"price\" label=\"\" amount={item.priceagent+''} currency={ state.market.currency } url=\"https://shop.postnord.se/ebutik/default.aspx\"></pn-product-tile-price>) : null } */}\n // { item.pricesenddirect ? (<pn-product-tile-price slot=\"price\" label={state.i18n.senddirectcta} amount={item.pricesenddirect+''} currency={ state.market.currency } url=\"https://portal.postnord.com/skickadirekt/\"></pn-product-tile-price>) : null }\n // { item.note ? (<small slot=\"note\"><p>{item.note}</p></small>) : null }\n // </pn-product-tile>\n ))}\n </Host>\n );\n }\n}\n"],"mappings":"uKAGA,MAAMA,MAAEA,EAAKC,SAAEA,GAAaC,EAAY,CACtCC,KAAM,CACJC,eAAgB,GAChBC,YAAa,GACbC,oBAAqB,GACrBC,YAAa,GACbC,cAAe,GACfC,aAAc,I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AAkBI,EAAA,wBAAsBkB,MAAO7B,KAAKE,KAAK,QAASM,MAAOR,KAAKE,KAAKM,QAAiC,KAC1HG,EAAA,OAAKK,KAAK,aACPhB,KAAKE,KAAK4B,gBACTnB,EAAA,yBACEK,KAAK,kBACLe,MAAO/C,EAAMG,KAAKK,cAClBwC,OAAQhC,KAAKE,KAAK4B,gBAAkB,GACpCnC,SAAUX,EAAMU,OAAOC,SACvBsC,IAAKC,EACLC,QAASnC,KAAKE,KAAKgB,KAAO,YAE1B,KACHlB,KAAKE,KAAKkC,YACTzB,EAAA,yBACEK,KAAK,aACLe,MAAO/C,EAAMG,KAAKM,aAClBuC,OAAQhC,KAAKE,KAAKkC,YAAc,GAChCzC,SAAUX,EAAMU,OAAOC,SACvBsC,IAAKI,EACLF,QAASnC,KAAKE,KAAKgB,KAAO,WAE1B,S","ignoreList":[]}
1
+ {"version":3,"names":["state","onChange","createStore","i18n","maxweightlabel","weightlabel","maxmeasurementlabel","sizeheading","senddirectcta","stampshopcta","market","currency","pnProductPricelistResultCss","PnProductPricelistResultStyle0","PnFindProductPricelistResult","componentWillLoad","this","composeItems","item","description","split","filter","x","showMeasurement","rulle","shownitems","render","h","Host","key","map","id","slot","illustration","name","highestrankusp","icon","box_label","bolt","color","class","desc","info","note","additionalusp","paket","pricesenddirect","label","amount","url","sendDirectUrl","service","pricestamps","stampShopUrl"],"sources":["src/components/widgets/pn-product-pricelist/pn-product-pricelist-store.tsx","src/components/widgets/pn-product-pricelist/pn-product-pricelist-result.scss?tag=pn-product-pricelist-result","src/components/widgets/pn-product-pricelist/pn-product-pricelist-result.tsx"],"sourcesContent":["import { createStore } from '@stencil/store';\n// Read more about how stencil stores work here: https://stenciljs.com/docs/stencil-store\n\nconst { state, onChange } = createStore({\n i18n: {\n maxweightlabel: '',\n weightlabel: '',\n maxmeasurementlabel: '',\n sizeheading: '',\n senddirectcta: '',\n stampshopcta: '',\n },\n market: {\n currency: '',\n },\n});\n\nexport { state, onChange };\nexport default state;\n","@import '../../../globals/main.scss';\n\npn-find-service-and-price-result {\n}\n","import { Component, h, Prop, Host, State, Watch } from '@stencil/core';\nimport { ProductPriceItem } from '../../../globals/shared/productprice/product-price-types';\nimport { state } from './pn-product-pricelist-store';\nimport { sendDirectUrl, stampShopUrl } from './data.js';\nimport { bolt, box_label } from 'pn-design-assets/pn-assets/icons.js';\n\n@Component({\n tag: 'pn-product-pricelist-result',\n styleUrl: 'pn-product-pricelist-result.scss',\n})\nexport class PnFindProductPricelistResult {\n @Prop({ mutable: true }) item: ProductPriceItem = null;\n @Prop() description?: string[] = [];\n @Prop() shownitems: ProductPriceItem[] = [];\n @Prop() showMeasurement?: boolean = false;\n @State() weightText = '';\n componentWillLoad() {\n this.composeItems();\n }\n\n @Watch('item')\n composeItems() {\n if (this.item.description) {\n this.description = this.item.description.split('#bullet').filter(x => x !== '');\n }\n this.showMeasurement = this.item.maxmått !== null || this.item.rulle !== null;\n this.shownitems = [this.item];\n // if (this.item.pricestamps) {\n // this.shownitems.push({...this.item, priceagent: null, pricesenddirect: null});\n // }\n // if (this.item.priceagent) {\n // this.shownitems.push({...this.item, pricestamps: null, pricesenddirect: null});\n // }\n // if (this.item.pricesenddirect) {\n // this.shownitems.push({...this.item, pricestamps: null, priceagent: null});\n // }\n // // Parcels are always in KG. Letter KG must be converted from grams\n // this.weightText = (this.item.what === \"parcel\") ? this.item.maxweight + 'kg' :\n // (this.item.what === \"letter\" && this.item.maxweight > 999) ? Math.round(this.item.maxweight/1000) + \" kg\" : this.item.maxweight + \" g\";\n }\n\n render() {\n return (\n <Host>\n {this.shownitems.map(item => (\n <pn-product-card data-productid={item.id}>\n <pn-illustration slot=\"illustration\" illustration={this.item.illustration}></pn-illustration>\n <div slot=\"title\">\n <h2>{item.name} </h2>\n\n {this.item.highestrankusp ? (\n this.item.highestrankusp === 'Billigast' ? (\n <pn-titletag slot=\"Billigast\" icon={box_label}>\n {this.item.highestrankusp}\n </pn-titletag>\n ) : (\n <pn-titletag slot=\"Snabbast\" icon={bolt} color=\"blue700\">\n {this.item.highestrankusp}\n </pn-titletag>\n )\n ) : null}\n </div>\n <div slot=\"content\">\n <div class=\"content\">\n {this.item.description ? (\n <div class=\"description\">\n {this.description.map(desc => (\n <li>{desc}</li>\n ))}\n </div>\n ) : null}\n {this.item.info ? <div class=\"description\">{this.item.info}</div> : null}\n </div>\n </div>\n {this.item.note ? (\n <small slot=\"note\">\n <p>{this.item.note}</p>\n </small>\n ) : null}\n {this.item.additionalusp ? (\n <div slot=\"additionalUSP\">\n {/* {this.Usp1 ? (<span>{this.Usp1}</span>) : null } \n {this.Usp2 ? (<span>{this.Usp2}</span>) : null } \n {this.Usp3 ? (<span>{this.Usp3}</span>) : null } */}\n </div>\n ) : null}\n {this.showMeasurement ? <pn-product-card-info paket={this.item.maxmått} rulle={this.item.rulle}></pn-product-card-info> : null}\n <div slot=\"cardprice\">\n {this.item.pricesenddirect ? (\n <pn-product-card-price\n slot=\"sendDirectPrice\"\n label={state.i18n.senddirectcta}\n amount={this.item.pricesenddirect + ''}\n currency={state.market.currency}\n url={sendDirectUrl}\n service={this.item.name + '-portal'}\n ></pn-product-card-price>\n ) : null}\n {this.item.pricestamps ? (\n <pn-product-card-price\n slot=\"stampPrice\"\n label={state.i18n.stampshopcta}\n amount={this.item.pricestamps + ''}\n currency={state.market.currency}\n url={stampShopUrl}\n service={this.item.name + '-eshop'}\n ></pn-product-card-price>\n ) : null}\n </div>\n </pn-product-card>\n // <pn-product-tile>\n // <pn-illustration slot=\"illustration\" illustration={ item.illustration }></pn-illustration>\n // <div slot=\"content\">\n // <div class=\"content\">\n // <h3>{item.name}</h3>\n // {(item.description) ? (<div class=\"description\">{item.description}</div>) : null}\n // {(item.info) ? (<div class=\"description\">{item.info}</div>) : null}\n // </div>\n // </div>\n\n // { item.maxweight ? (<pn-product-tile-info label={state.i18n.maxweightlabel} text={this.weightText}></pn-product-tile-info>) : null }\n // {/* { item.maximummeasurements ? (<pn-product-tile-info label={state.i18n.maxmeasurementlabel} text={item.maximummeasurements}></pn-product-tile-info>) : null } */}\n // { item.pricestamps ? (<pn-product-tile-price slot=\"price\" label={state.i18n.stampshopcta} amount={item.pricestamps+''} currency={ state.market.currency }></pn-product-tile-price>) : null }\n // {/* { item.priceagent ? (<pn-product-tile-price slot=\"price\" label=\"\" amount={item.priceagent+''} currency={ state.market.currency } url=\"https://shop.postnord.se/ebutik/default.aspx\"></pn-product-tile-price>) : null } */}\n // { item.pricesenddirect ? (<pn-product-tile-price slot=\"price\" label={state.i18n.senddirectcta} amount={item.pricesenddirect+''} currency={ state.market.currency } url=\"https://portal.postnord.com/skickadirekt/\"></pn-product-tile-price>) : null }\n // { item.note ? (<small slot=\"note\"><p>{item.note}</p></small>) : null }\n // </pn-product-tile>\n ))}\n </Host>\n );\n }\n}\n"],"mappings":"uKAGA,MAAMA,MAAEA,EAAKC,SAAEA,GAAaC,EAAY,CACtCC,KAAM,CACJC,eAAgB,GAChBC,YAAa,GACbC,oBAAqB,GACrBC,YAAa,GACbC,cAAe,GACfC,aAAc,IAEhBC,OAAQ,CACNC,SAAU,MCbd,MAAMC,EAA8B,kFACpC,MAAAC,EAAeD,E,MCSFE,EAA4B,M,mCACW,K,iBACjB,G,gBACQ,G,qBACL,M,gBACd,E,CACtB,iBAAAC,GACEC,KAAKC,c,CAIP,YAAAA,GACE,GAAID,KAAKE,KAAKC,YAAa,CACzBH,KAAKG,YAAcH,KAAKE,KAAKC,YAAYC,MAAM,WAAWC,QAAOC,GAAKA,IAAM,I,CAE9EN,KAAKO,gBAAkBP,KAAKE,KAAK,UAAY,MAAQF,KAAKE,KAAKM,QAAU,KACzER,KAAKS,WAAa,CAACT,KAAKE,K,CAe1B,MAAAQ,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACFb,KAAKS,WAAWK,KAAIZ,GACnBS,EAAA,oCAAiCT,EAAKa,IACpCJ,EAAA,mBAAiBK,KAAK,eAAeC,aAAcjB,KAAKE,KAAKe,eAC7DN,EAAA,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}from"./p-bb1c965e.js";import{s as o}from"./p-13190b30.js";import{a as s}from"./p-36b39340.js";import"./p-2509d18d.js";const r=(e,i)=>{const t="PRODUCTION";const n="https://atportal.postnord.com/api/unified-login/backend/authorization?redirectionUrl=";const o="https://portal.postnord.com/api/unified-login/backend/authorization?redirectionUrl=";const s="/login?returnUrl=";if(e){return s}else if(i.toUpperCase()!==t){return n}else{return o}};const l="";const a=l;const h=class{constructor(i){e(this,i);this.label="Log in";this.useMarketwebLogin=false;this.environment="local"}get hostElement(){return i(this)}loginUrl;componentWillLoad(){this.loginUrl=r(this.useMarketwebLogin,this.environment)}nagivateToLoginUrl(){const e=`${this.loginUrl}${encodeURIComponent(window.location.href)}`;return e}render(){return t(n,{key:"b8eddfc6326e8d5b0f3079294b60070cb76fe879"},t("pn-button",{key:"f4df113cc7b792da3f03dfb8f594472d14575891",href:this.nagivateToLoginUrl()},this.label))}};h.style=a;const c="pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}";const d=c;const p=class{constructor(i){e(this,i);this.loginDialog=null;this.idNamespace="";this.loggedin=false;this.username="";this.showUnifiedLogin=false}get hostElement(){return i(this)}componentWillLoad(){this.init()}async init(){this.adjustLoginLinks()}adjustLoginLinks(){if(!this.loginDialog){return}const e=(e,i)=>{if(!e.isLogoutLink){e.isLogoutLink=e.pageLink.indexOf("location.href")!==-1&&e.pageLink.indexOf("logout")!==-1}if(e.isLogoutLink){e.href=o.loginManager.getLogoutUrl(e.href)}e.href=e.href.replace("window.location.href",window.location.href);if(i===0&&!e.href){e.href=o.loginManager.getLoginUrl();e.linkType="primary"}if(e.primaryLinkApperance&&!e.linkType){e.linkType="primary"}};if(this.loginDialog?.loginMenuLinks){this.loginDialog?.loginMenuLinks.forEach(e)}if(this.loginDialog?.loggedInLinks){this.loginDialog?.loggedInLinks.forEach(e)}this.loginDialog.legacyLoginLinks=[{href:o.loginManager.getLoginUrl(this.loginDialog.loginUrl),linkText:this.loginDialog.loginLinkText,openInNewWindow:false,isLogoutLink:false,pageLink:null,linkType:"primary",primaryLinkApperance:true},{href:o.loginManager.getLoginUrl(this.loginDialog.registerUrl),linkText:this.loginDialog.createLoginLinkText,openInNewWindow:false,isLogoutLink:false,pageLink:null,primaryLinkApperance:false}]}render(){if(!this.loginDialog){return}let e={username:null,loggedin:false};if(this.username){e.username=this.username;e.loggedin=this.loggedin}return t(n,{...e},!this.loginDialog.overrideLoginMenu?t("div",{"data-loggedin":this.loggedin+""},this.loggedin?t("pn-marketweb-siteheader-login-linklist",{links:this.loginDialog.loggedInLinks,idNamespace:this.idNamespace}):t("div",null,this.loginDialog.loginMenuLinks?.length>0?t("pn-marketweb-siteheader-login-linklist",{heading:this.loginDialog.loginTitle,links:this.loginDialog.loginMenuLinks,idNamespace:this.idNamespace,showUnifiedLogin:this.showUnifiedLogin}):t("pn-marketweb-siteheader-login-linklist",{links:this.loginDialog.legacyLoginLinks,idNamespace:this.idNamespace}))):null,this.loginDialog.overrideLoginMenu?t("pn-marketweb-siteheader-login-linklist",{links:this.loginDialog.loginMenuLinks,idNamespace:this.idNamespace}):null)}static get watchers(){return{loginDialog:["init"]}}};p.style=d;const f="";const u=f;const m=class{constructor(i){e(this,i);this.label="Mina sidor!";this.myPageUrl=undefined}get hostElement(){return i(this)}render(){return t(n,{key:"5d4f6fda2eb4419e2b5b6cfa18a567afecc6be07"},t("pn-button",{key:"5fd285823e3eab3d734aa362cc5179ddaf1de1f3",href:this.myPageUrl},this.label))}};m.style=u;const b='pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.pn-marketweb-siteheader-login-profileselection-heading{display:block;padding:0.5rem 0 1rem}.pn-marketweb-siteheader-login-profileselection-user,.pn-marketweb-siteheader-login-profileselection-currentprofile{margin-top:1rem;margin-bottom:1rem}.pn-marketweb-siteheader-login-profileselection-user-name,.pn-marketweb-siteheader-login-profileselection-currentprofile-name{line-height:1}.pn-marketweb-siteheader-login-profileselection-user-description,.pn-marketweb-siteheader-login-profileselection-currentprofile-description{font-weight:400;white-space:normal;word-break:break-all;color:#5e554a;font-size:0.75em}.pn-marketweb-siteheader-login-profileselection-divider{height:1rem;width:100%;background:#00a0d6;position:relative;margin-left:-1em;margin-top:1.6rem;margin-bottom:1.6rem;border-radius:0 0.6em 0.6em 0;padding:0}.pn-marketweb-siteheader-login-profileselection-divider::after{content:"";width:0.6em;height:0.6em;border-radius:50%;position:absolute;right:0;top:0;background:inherit;transform:translateX(calc(100% + 0.2em))}.pn-marketweb-siteheader-login-profileselection-profileoption-link{display:flex;background:#ffffff;transition:background 0.15s ease-in-out;margin:0 -1em;padding:0.6rem 1.6rem;text-decoration:none;color:#005d92;align-items:center}.pn-marketweb-siteheader-login-profileselection-profileoption-link:hover,.pn-marketweb-siteheader-login-profileselection-profileoption-link:focus,.pn-marketweb-siteheader-login-profileselection-profileoption-link:active{background:#f3f2f2}.pn-marketweb-siteheader-login-profileselection-profileoption-content{flex-grow:1}.pn-marketweb-siteheader-login-profileselection-profileoption-name{font-weight:700}.pn-marketweb-siteheader-login-profileselection-profileoption-description{font-weight:400;white-space:normal;word-break:break-all;color:#5e554a;font-size:0.75em}.pn-marketweb-siteheader-login-profileselection-logout{padding:1.6rem;text-align:center;width:100%}.pn-marketweb-siteheader-login-profileselection-logout-link{display:inline-block;font-weight:500;color:#005d92;text-decoration:none}.pn-marketweb-siteheader-login-profileselection-logout-link:hover,.pn-marketweb-siteheader-login-profileselection-logout-link:focus,.pn-marketweb-siteheader-login-profileselection-logout-link:active{text-decoration:underline}';const g=b;const k=class{constructor(i){e(this,i);this.loginDialog=null;this.endpoint="";this.loggedin=false;this.idNamespace="";this.heading=null;this.i18n={searchlabel:"",searchplaceholder:"",searchbuttontext:"",menuHomeButton:"",menuGoBackButton:"",mainMenuButton:"",menuStartButton:"",profileSelectionFlyoutHeading:""};this.user=null;this.logoutLink=null;this.userName=null;this.userEmail="";this.currentProfile=null;this.profileoptions=[]}get hostElement(){return i(this)}componentWillLoad(){if(this.heading===null&&this.i18n?.profileSelectionFlyoutHeading){this.heading=this.i18n.profileSelectionFlyoutHeading}this.init()}init(){this.updateUserInfo();this.adjustLoginLinks();this.fetchProfiles()}async fetchProfiles(){if(!this.loggedin||this.profileoptions.length>0){return}let e=`${this.endpoint}${this.endpoint.lastIndexOf("/")>-1&&this.endpoint.lastIndexOf("/")===this.endpoint.length-1?"":"/"}api/user/parentorganizations`;const i=await fetch(e);const t=await i.json();const n={loggedin:true,organizations:[{name:"Forsheda Livs AB",customerNumber:"5564513603",id:"dbba867d-1dff-3dbb-b420-c57b4b828b73",selected:true,profiles:[{name:"Forsheda Livs AB",customerNumber:"20685482",id:"f757ba28-9a73-15a2-f128-4b394d970f3f",ssid:"",selected:false,customerGroup:"Business"},{name:"ICA MAXI KUNGSBACKA",customerNumber:"20831191",id:"5aea41df-32b0-3f7e-2946-78598360177d",ssid:"259686",selected:true,customerGroup:"Agent"}]},{name:"Hem Livs i Kungsbacka AB",customerNumber:"5565271250",id:"97ca363c-40ef-cca9-7a3c-9e7f025567c2",selected:false,profiles:[{name:"ICA KVANTUM KUNGSBACKA",customerNumber:"20831193",id:"fbd61ffd-41c6-2206-b88e-cfef91e1dc39",ssid:"259691",selected:false,customerGroup:"Agent"}]},{name:"ICA SUPERMARKET TORGET",customerNumber:"5568902679",id:"7cb76a94-e1a5-5f57-58fd-bc563851b28e",selected:false,profiles:[{name:"ICA SUPERMARKET TORGET",customerNumber:"20831212",id:"3a2db017-b68f-6fa0-fe70-542c08cd97ce",ssid:"",selected:false,customerGroup:"Agent"}]}]};const o=window.location.href.indexOf("localhost:6008")!==-1?n:t;if(!o||!o.organizations||!o.organizations.length){return}o.organizations.forEach((e=>{if(e.selected===true&&e.profiles){const i=e.profiles.filter((e=>e.selected===true));if(i&&i[0]&&i[0].customerGroup.toLocaleLowerCase()==="agent"&&i[0].ssid){e.customerNumber=i[0].ssid}}else{if(e.customerNumber.length===10&&e.customerNumber.substring(0,2)==="55"){e.customerNumber=e.customerNumber.substring(0,6)+"-"+e.customerNumber.substring(6)}this.profileoptions.push(e)}}));let s=o.organizations.filter((e=>e.selected===true))[0];const r={name:this.userName,customerNumber:"",id:"",selected:!s,profiles:[]};if(!s){s=r}if(s&&s.name){this.currentProfile=s}this.profileoptions.push(r)}adjustLoginLinks(){const e=(e,i)=>{if(!e.isLogoutLink){e.isLogoutLink=e.pageLink.indexOf("location.href")!==-1&&e.pageLink.indexOf("logout")!==-1}if(e.isLogoutLink){e.href=o.loginManager.getLogoutUrl(e.href)}if(i===0&&!e.href){e.href=o.loginManager.getLoginUrl();e.linkType="primary"}if(e.primaryLinkApperance&&!e.linkType){e.linkType="primary"}};if(this.loginDialog?.loggedInLinks){this.loginDialog?.loggedInLinks.forEach(e)}this.logoutLink=this.loginDialog?.loggedInLinks.filter((e=>e.isLogoutLink))[0]??null}updateUserInfo(){const e=o.loginManager.getUserInfo();this.user=e;if(!e){return}if(e&&e.email){this.userEmail=e.email}if(e&&e.given_name){this.userName=e.given_name+(e?.family_name?` ${e?.family_name}`:"")}if(e&&e.given_name){this.userName=e.given_name;return}if(e&&e.family_name){this.userName=e.family_name;return}if(e&&e.username){this.userName=e.username;return}}filterLogoutLink(e){return e.filter((e=>!e.isLogoutLink))}render(){if(!this.loginDialog){return}let e={};return t(n,{...e},this.heading?t("strong",{class:"pn-marketweb-siteheader-login-profileselection-heading"},this.heading):null,this.currentProfile!==null&&this.currentProfile.name?t("div",{class:"pn-marketweb-siteheader-login-profileselection-currentprofile"},t("div",{class:"pn-marketweb-siteheader-login-profileselection-currentprofile-name"},this.currentProfile.name),t("div",{class:"pn-marketweb-siteheader-login-profileselection-currentprofile-description"},this.currentProfile.customerNumber?this.currentProfile.customerNumber:this.userEmail)):null,t("pn-marketweb-siteheader-login-linklist",{links:this.filterLogoutLink(this.loginDialog.loggedInLinks),idNamespace:this.idNamespace}),t("div",{class:"pn-marketweb-siteheader-login-profileselection-divider"}),this.profileoptions.filter((e=>e.selected!==true)).map((e=>{let i=e.profiles.length>0?e.profiles[0].customerNumber:e.customerNumber;return t("div",{class:"pn-marketweb-siteheader-login-profileselection-profileoption"},t("a",{href:`${this.endpoint}/api/user/setprofile?customernumber=${i}&returnUrl=${encodeURIComponent(window.location.href)}`,class:"pn-marketweb-siteheader-login-profileselection-profileoption-link"},t("div",{class:"pn-marketweb-siteheader-login-profileselection-profileoption-content"},t("div",{class:"pn-marketweb-siteheader-login-profileselection-profileoption-name"},e.name),t("div",{class:"pn-marketweb-siteheader-login-profileselection-profileoption-description"},e.customerNumber?e.customerNumber:this.userEmail)),t("pn-icon",{icon:s,small:"false",color:"blue700"})))})),this.logoutLink?t("div",{class:"pn-marketweb-siteheader-login-profileselection-logout"},t("a",{href:this.logoutLink.href,rel:"nofollower noopener",id:"pn-marketweb-header-logoutlink",onClick:()=>o.loginManager.clearUserData(),class:"pn-marketweb-siteheader-login-profileselection-logout-link"},this.logoutLink.linkText)):null)}};k.style=g;const w="";const v=w;const L=class{constructor(i){e(this,i);this.loggedIn=false;this.myPageLabel=undefined;this.myPageUrl=undefined;this.logInLabel=undefined;this.useMarketwebLogin=undefined;this.environment=undefined}get hostElement(){return i(this)}render(){return t(n,{key:"9cb8c48aaaae6882faec3439aaa159fdc743bf92"},this.loggedIn?t("pn-marketweb-siteheader-login-mypage-button",{label:this.myPageLabel,myPageUrl:this.myPageUrl}):t("pn-marketweb-siteheader-login-button",{label:this.logInLabel,useMarketwebLogin:this.useMarketwebLogin,environment:this.environment}))}};L.style=v;export{h as pn_marketweb_siteheader_login_button,p as pn_marketweb_siteheader_login_links,m as pn_marketweb_siteheader_login_mypage_button,k as pn_marketweb_siteheader_login_profileselection,L as pn_marketweb_siteheader_unified_login};
2
+ //# sourceMappingURL=p-23d69d70.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["getLoginUrl","useMarketwebLogin","environment","environment_Production","devAuthUrl","prodAuthUrl","marketwebLoginUrl","toUpperCase","pnMarketwebSiteheaderLoginButtonCss","PnMarketwebSiteheaderLoginButtonStyle0","PnMarketwebSiteheaderLoginButton","loginUrl","componentWillLoad","this","nagivateToLoginUrl","navigationUrl","encodeURIComponent","window","location","href","render","h","Host","key","label","pnMarketwebSiteheaderLoginLinksCss","PnMarketwebSiteheaderLoginLinksStyle0","PnMarketwebSiteheaderLoginLinks","init","adjustLoginLinks","loginDialog","adjustLink","link","i","isLogoutLink","pageLink","indexOf","headerState","loginManager","getLogoutUrl","replace","linkType","primaryLinkApperance","loginMenuLinks","forEach","loggedInLinks","legacyLoginLinks","linkText","loginLinkText","openInNewWindow","registerUrl","createLoginLinkText","hostElementAttribute","username","loggedin","overrideLoginMenu","links","idNamespace","length","heading","loginTitle","showUnifiedLogin","pnMarketwebSiteheaderLoginMypageButtonCss","PnMarketwebSiteheaderLoginMypageButtonStyle0","PnMarketwebSiteheaderLoginMypageButton","myPageUrl","pnMarketwebSiteheaderLoginProfileselectionCss","PnMarketwebSiteheaderLoginProfileselectionStyle0","PnMarketwebSiteheaderLoginProfileselection","searchlabel","searchplaceholder","searchbuttontext","menuHomeButton","menuGoBackButton","mainMenuButton","menuStartButton","profileSelectionFlyoutHeading","i18n","updateUserInfo","fetchProfiles","profileoptions","apiUrl","endpoint","lastIndexOf","req","fetch","reqdata","json","fallbackData","organizations","name","customerNumber","id","selected","profiles","ssid","customerGroup","data","org","selectedProfile","filter","x","toLocaleLowerCase","substring","push","currentProfileObj","userProfileOption","userName","currentProfile","logoutLink","userInfo","getUserInfo","user","email","userEmail","given_name","family_name","filterLogoutLink","class","map","organization","icon","arrow_right","small","color","rel","onClick","clearUserData","pnMarketwebSiteheaderUnifiedLoginCss","PnMarketwebSiteheaderUnifiedLoginStyle0","PnMarketwebSiteheaderUnifiedLogin","loggedIn","myPageLabel","logInLabel"],"sources":["src/components/layout-components/pn-marketweb-siteheader/unifiedLoginHelper.ts","src/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-button.scss?tag=pn-marketweb-siteheader-login-button","src/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-button.tsx","src/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-links.scss?tag=pn-marketweb-siteheader-login-links","src/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-links.tsx","src/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-mypage-button.scss?tag=pn-marketweb-siteheader-login-mypage-button","src/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-mypage-button.tsx","src/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.scss?tag=pn-marketweb-siteheader-login-profileselection","src/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.tsx","src/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.scss?tag=pn-marketweb-siteheader-unified-login","src/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.tsx"],"sourcesContent":["export const getLoginUrl = (useMarketwebLogin:boolean, environment:string) => {\n\nconst environment_Production = \"PRODUCTION\";\n\nconst devAuthUrl = 'https://atportal.postnord.com/api/unified-login/backend/authorization?redirectionUrl=';\nconst prodAuthUrl = 'https://portal.postnord.com/api/unified-login/backend/authorization?redirectionUrl=';\nconst marketwebLoginUrl = '/login?returnUrl=';\n\nif(useMarketwebLogin)\n {\n return marketwebLoginUrl;\n }\n else if (environment.toUpperCase() !== environment_Production) {\n return devAuthUrl;\n } else {\n return prodAuthUrl;\n } \n };\n","pn-marketweb-siteheader-login-button {\n}\n","import { Component, Element, h, Host, Prop } from '@stencil/core';\n\nimport { getLoginUrl } from './unifiedLoginHelper';\n\n@Component({\n tag: 'pn-marketweb-siteheader-login-button',\n styleUrl: 'pn-marketweb-siteheader-login-button.scss',\n})\nexport class PnMarketwebSiteheaderLoginButton {\n @Element() hostElement: HTMLElement;\n @Prop() label: string = 'Log in';\n @Prop() useMarketwebLogin: boolean = false;\n @Prop() environment: string = 'local';\n \n loginUrl: string;\n\n componentWillLoad() {\n this.loginUrl = getLoginUrl(this.useMarketwebLogin, this.environment);\n }\n\n nagivateToLoginUrl() {\n const navigationUrl = `${this.loginUrl}${encodeURIComponent(window.location.href)}`;\n return navigationUrl;\n }\n\n render() {\n return (\n <Host>\n <pn-button href={this.nagivateToLoginUrl()}>{this.label}</pn-button>\n </Host>\n );\n }\n}\n","@import '../../../globals/main.scss';\n\n@import './pn-marketweb-siteheader-common.scss';\n\npn-marketweb-siteheader-login-links {\n}\n","import { Component, Element, h, Host, Prop, Watch } from '@stencil/core';\n\nimport { state as headerState } from './pn-marketweb-siteheader-store';\nimport { LoginDialog } from './pn-marketweb-siteheader-types';\n\n@Component({\n tag: 'pn-marketweb-siteheader-login-links',\n styleUrl: 'pn-marketweb-siteheader-login-links.scss',\n})\nexport class PnMarketwebSiteheaderLoginLinks {\n @Element() hostElement: HTMLElement;\n\n // Login dialog\n @Prop({ mutable: true }) loginDialog: LoginDialog = null;\n @Prop() idNamespace: string = '';\n @Prop({ reflect: true }) loggedin: boolean = false;\n @Prop() username: string = '';\n @Prop() showUnifiedLogin: boolean = false;\n\n componentWillLoad() {\n this.init();\n }\n\n @Watch('loginDialog')\n async init() {\n this.adjustLoginLinks();\n }\n adjustLoginLinks() {\n if (!this.loginDialog) {\n return;\n }\n\n const adjustLink = (link, i) => {\n if (!link.isLogoutLink) {\n link.isLogoutLink = link.pageLink.indexOf('location.href') !== -1 && link.pageLink.indexOf('logout') !== -1;\n }\n if (link.isLogoutLink) {\n link.href = headerState.loginManager.getLogoutUrl(link.href);\n }\n link.href = link.href.replace('window.location.href', window.location.href);\n if (i === 0 && !link.href) {\n link.href = headerState.loginManager.getLoginUrl();\n link.linkType = 'primary';\n }\n if (link.primaryLinkApperance && !link.linkType) {\n link.linkType = 'primary';\n }\n };\n\n if (this.loginDialog?.loginMenuLinks) {\n this.loginDialog?.loginMenuLinks.forEach(adjustLink);\n }\n if (this.loginDialog?.loggedInLinks) {\n this.loginDialog?.loggedInLinks.forEach(adjustLink);\n }\n\n this.loginDialog.legacyLoginLinks = [\n {\n href: headerState.loginManager.getLoginUrl(this.loginDialog.loginUrl),\n linkText: this.loginDialog.loginLinkText,\n openInNewWindow: false,\n isLogoutLink: false,\n pageLink: null,\n linkType: 'primary',\n primaryLinkApperance: true,\n },\n {\n href: headerState.loginManager.getLoginUrl(this.loginDialog.registerUrl),\n linkText: this.loginDialog.createLoginLinkText,\n openInNewWindow: false,\n isLogoutLink: false,\n pageLink: null,\n primaryLinkApperance: false,\n },\n ];\n }\n\n render() {\n if (!this.loginDialog) {\n return;\n }\n\n let hostElementAttribute = {\n username: null,\n loggedin: false,\n };\n if (this.username) {\n hostElementAttribute.username = this.username;\n hostElementAttribute.loggedin = this.loggedin;\n }\n return (\n <Host {...hostElementAttribute}>\n {!this.loginDialog.overrideLoginMenu ? (\n <div data-loggedin={this.loggedin + ''}>\n {this.loggedin ? (\n <pn-marketweb-siteheader-login-linklist links={this.loginDialog.loggedInLinks} idNamespace={this.idNamespace}></pn-marketweb-siteheader-login-linklist>\n ) : (\n <div>\n {/* Get login links from API */}\n {this.loginDialog.loginMenuLinks?.length > 0 ? (\n <pn-marketweb-siteheader-login-linklist\n heading={this.loginDialog.loginTitle}\n links={this.loginDialog.loginMenuLinks}\n idNamespace={this.idNamespace}\n showUnifiedLogin={this.showUnifiedLogin}\n ></pn-marketweb-siteheader-login-linklist>\n ) : (\n <pn-marketweb-siteheader-login-linklist links={this.loginDialog.legacyLoginLinks} idNamespace={this.idNamespace}></pn-marketweb-siteheader-login-linklist>\n )}\n </div>\n )}\n </div>\n ) : null}\n\n {/* Override the default logic for some markets such as DK */}\n {this.loginDialog.overrideLoginMenu ? (\n <pn-marketweb-siteheader-login-linklist links={this.loginDialog.loginMenuLinks} idNamespace={this.idNamespace}></pn-marketweb-siteheader-login-linklist>\n ) : null}\n </Host>\n );\n }\n}\n","pn-marketweb-siteheader-login-mypage-button {\n}\n","import { Component, Element, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'pn-marketweb-siteheader-login-mypage-button',\n styleUrl: 'pn-marketweb-siteheader-login-mypage-button.scss',\n})\nexport class PnMarketwebSiteheaderLoginMypageButton {\n @Element() hostElement: HTMLElement;\n @Prop() label: string = 'Mina sidor!';\n @Prop() myPageUrl: string;\n\n render() {\n return (\n <Host>\n <pn-button href={this.myPageUrl}>{this.label}</pn-button>\n </Host>\n );\n }\n}\n","@import '../../../globals/main.scss';\n\n@import './pn-marketweb-siteheader-common.scss';\n\npn-marketweb-siteheader-login-profileselection {\n}\n\n.pn-marketweb-siteheader-login-profileselection-heading {\n display: block;\n padding: 0.5rem 0 1rem;\n}\n\n.pn-marketweb-siteheader-login-profileselection-user,\n.pn-marketweb-siteheader-login-profileselection-currentprofile {\n margin-top: 1rem;\n margin-bottom: 1rem;\n}\n\n.pn-marketweb-siteheader-login-profileselection-user-name,\n.pn-marketweb-siteheader-login-profileselection-currentprofile-name {\n line-height: 1;\n}\n\n.pn-marketweb-siteheader-login-profileselection-user-description,\n.pn-marketweb-siteheader-login-profileselection-currentprofile-description {\n font-weight: 400;\n white-space: normal;\n word-break: break-all;\n color: $gray700;\n font-size: 0.75em;\n}\n\n.pn-marketweb-siteheader-login-profileselection-divider {\n height: 1rem;\n width: 100%;\n background: $blue400;\n position: relative;\n\n margin-left: -1em; // Negative positioning due to nav dropdown's padding\n margin-top: 1.6rem;\n margin-bottom: 1.6rem;\n border-radius: 0 0.6em 0.6em 0;\n padding: 0;\n &::after {\n content: '';\n width: 0.6em;\n height: 0.6em;\n border-radius: 50%;\n position: absolute;\n right: 0;\n top: 0;\n background: inherit;\n transform: translateX(calc(100% + 0.2em));\n }\n}\n\n.pn-marketweb-siteheader-login-profileselection-profileoption {\n}\n\n.pn-marketweb-siteheader-login-profileselection-profileoption-link {\n display: flex;\n background: $white;\n transition: background 0.15s ease-in-out;\n // width:100%;\n margin: 0 -1em; // Negative margin due to dropdown content padding\n padding: 0.6rem 1.6rem;\n text-decoration: none;\n color: $blue700;\n align-items: center;\n &:hover,\n &:focus,\n &:active {\n background: $gray50;\n }\n}\n\n.pn-marketweb-siteheader-login-profileselection-profileoption-content {\n flex-grow: 1;\n}\n.pn-marketweb-siteheader-login-profileselection-profileoption-name {\n font-weight: 700;\n}\n\n.pn-marketweb-siteheader-login-profileselection-profileoption-description {\n font-weight: 400;\n white-space: normal;\n word-break: break-all;\n color: $gray700;\n font-size: 0.75em;\n}\n\n.pn-marketweb-siteheader-login-profileselection-logout {\n padding: 1.6rem;\n text-align: center;\n width: 100%;\n}\n\n.pn-marketweb-siteheader-login-profileselection-logout-link {\n display: inline-block;\n font-weight: 500;\n color: $blue700;\n text-decoration: none;\n &:hover,\n &:focus,\n &:active {\n text-decoration: underline;\n }\n}\n","import { Component, Element, h, Host, Prop, State } from '@stencil/core';\n\nimport { IUserInfo } from '../../../globals/MarketWebLoginManager';\nimport { state as headerState } from './pn-marketweb-siteheader-store';\nimport { LoginDialog, LoginDialogLink, ProfileSelectorCustomerItem, ProfileSelectorOrganization, SiteHeaderI18N } from './pn-marketweb-siteheader-types';\nimport { arrow_right } from 'pn-design-assets/pn-assets/icons.js';\n\n@Component({\n tag: 'pn-marketweb-siteheader-login-profileselection',\n styleUrl: 'pn-marketweb-siteheader-login-profileselection.scss',\n})\nexport class PnMarketwebSiteheaderLoginProfileselection {\n @Element() hostElement: HTMLElement;\n\n // Login dialog\n @Prop({ mutable: true }) loginDialog: LoginDialog = null;\n @Prop() endpoint: string = '';\n @Prop() loggedin: boolean = false;\n @Prop() idNamespace: string = '';\n @Prop() heading: string = null;\n @Prop() i18n: SiteHeaderI18N = {\n searchlabel: '',\n searchplaceholder: '',\n searchbuttontext: '',\n menuHomeButton: '',\n menuGoBackButton: '',\n mainMenuButton: '',\n menuStartButton: '',\n profileSelectionFlyoutHeading: '',\n } as SiteHeaderI18N;\n\n @State() user: IUserInfo = null;\n\n @State() logoutLink: LoginDialogLink = null;\n @State() userName: string = null;\n @State() userEmail: string = '';\n\n @Prop({ mutable: true }) currentProfile: ProfileSelectorCustomerItem = null;\n @Prop({ mutable: true }) profileoptions: ProfileSelectorOrganization[] = [];\n\n componentWillLoad() {\n if (this.heading === null && this.i18n?.profileSelectionFlyoutHeading) {\n this.heading = this.i18n.profileSelectionFlyoutHeading;\n }\n this.init();\n }\n\n init() {\n this.updateUserInfo();\n this.adjustLoginLinks();\n this.fetchProfiles();\n }\n async fetchProfiles() {\n if (!this.loggedin || this.profileoptions.length > 0) {\n return;\n }\n let apiUrl = `${this.endpoint}${this.endpoint.lastIndexOf('/') > -1 && this.endpoint.lastIndexOf('/') === this.endpoint.length - 1 ? '' : '/'}api/user/parentorganizations`;\n const req = await fetch(apiUrl);\n const reqdata = await req.json();\n const fallbackData = {\n loggedin: true,\n organizations: [\n {\n name: 'Forsheda Livs AB',\n customerNumber: '5564513603',\n id: 'dbba867d-1dff-3dbb-b420-c57b4b828b73',\n selected: true,\n profiles: [\n {\n name: 'Forsheda Livs AB',\n customerNumber: '20685482',\n id: 'f757ba28-9a73-15a2-f128-4b394d970f3f',\n ssid: '',\n selected: false,\n customerGroup: 'Business',\n },\n {\n name: 'ICA MAXI KUNGSBACKA',\n customerNumber: '20831191',\n id: '5aea41df-32b0-3f7e-2946-78598360177d',\n ssid: '259686',\n selected: true,\n customerGroup: 'Agent',\n },\n ],\n },\n {\n name: 'Hem Livs i Kungsbacka AB',\n customerNumber: '5565271250',\n id: '97ca363c-40ef-cca9-7a3c-9e7f025567c2',\n selected: false,\n profiles: [\n {\n name: 'ICA KVANTUM KUNGSBACKA',\n customerNumber: '20831193',\n id: 'fbd61ffd-41c6-2206-b88e-cfef91e1dc39',\n ssid: '259691',\n selected: false,\n customerGroup: 'Agent',\n },\n ],\n },\n {\n name: 'ICA SUPERMARKET TORGET',\n customerNumber: '5568902679',\n id: '7cb76a94-e1a5-5f57-58fd-bc563851b28e',\n selected: false,\n profiles: [\n {\n name: 'ICA SUPERMARKET TORGET',\n customerNumber: '20831212',\n id: '3a2db017-b68f-6fa0-fe70-542c08cd97ce',\n ssid: '',\n selected: false,\n customerGroup: 'Agent',\n },\n ],\n },\n ],\n };\n const data = window.location.href.indexOf('localhost:6008') !== -1 ? fallbackData : reqdata;\n\n if (!data || !data.organizations || !data.organizations.length) {\n return;\n }\n\n (data.organizations as ProfileSelectorOrganization[]).forEach(org => {\n if (org.selected === true && org.profiles) {\n const selectedProfile = org.profiles.filter(x => x.selected === true);\n if (selectedProfile && selectedProfile[0] && selectedProfile[0].customerGroup.toLocaleLowerCase() === 'agent' && selectedProfile[0].ssid) {\n org.customerNumber = selectedProfile[0].ssid;\n }\n } else {\n if (org.customerNumber.length === 10 && org.customerNumber.substring(0, 2) === '55') {\n org.customerNumber = org.customerNumber.substring(0, 6) + '-' + org.customerNumber.substring(6);\n }\n this.profileoptions.push(org);\n }\n });\n\n let currentProfileObj = data.organizations.filter(x => x.selected === true)[0];\n const userProfileOption = {\n name: this.userName,\n customerNumber: '',\n id: '',\n selected: !currentProfileObj,\n profiles: [],\n };\n if (!currentProfileObj) {\n currentProfileObj = userProfileOption;\n }\n\n if (currentProfileObj && currentProfileObj.name) {\n this.currentProfile = currentProfileObj;\n }\n this.profileoptions.push(userProfileOption);\n }\n adjustLoginLinks() {\n const adjustLink = (link, i) => {\n if (!link.isLogoutLink) {\n link.isLogoutLink = link.pageLink.indexOf('location.href') !== -1 && link.pageLink.indexOf('logout') !== -1;\n }\n if (link.isLogoutLink) {\n link.href = headerState.loginManager.getLogoutUrl(link.href);\n }\n\n if (i === 0 && !link.href) {\n link.href = headerState.loginManager.getLoginUrl();\n link.linkType = 'primary';\n }\n if (link.primaryLinkApperance && !link.linkType) {\n link.linkType = 'primary';\n }\n };\n\n if (this.loginDialog?.loggedInLinks) {\n this.loginDialog?.loggedInLinks.forEach(adjustLink);\n }\n\n this.logoutLink = this.loginDialog?.loggedInLinks.filter(x => x.isLogoutLink)[0] ?? null;\n }\n updateUserInfo() {\n const userInfo: IUserInfo = headerState.loginManager.getUserInfo();\n this.user = userInfo;\n if (!userInfo) {\n return;\n }\n if (userInfo && userInfo.email) {\n this.userEmail = userInfo.email;\n }\n if (userInfo && userInfo.given_name) {\n this.userName = userInfo.given_name + (userInfo?.family_name ? ` ${userInfo?.family_name}` : '');\n }\n if (userInfo && userInfo.given_name) {\n this.userName = userInfo.given_name;\n return;\n }\n if (userInfo && userInfo.family_name) {\n this.userName = userInfo.family_name;\n return;\n }\n if (userInfo && userInfo.username) {\n this.userName = userInfo.username;\n return;\n }\n }\n\n filterLogoutLink(loggedInLinks: LoginDialogLink[]): LoginDialogLink[] {\n return loggedInLinks.filter((link: LoginDialogLink) => !link.isLogoutLink);\n }\n\n render() {\n if (!this.loginDialog) {\n return;\n }\n\n let hostElementAttribute = {};\n return (\n <Host {...hostElementAttribute}>\n {this.heading ? <strong class=\"pn-marketweb-siteheader-login-profileselection-heading\">{this.heading}</strong> : null}\n {this.currentProfile !== null && this.currentProfile.name ? (\n <div class=\"pn-marketweb-siteheader-login-profileselection-currentprofile\">\n <div class=\"pn-marketweb-siteheader-login-profileselection-currentprofile-name\">{this.currentProfile.name}</div>\n <div class=\"pn-marketweb-siteheader-login-profileselection-currentprofile-description\">\n {this.currentProfile.customerNumber ? this.currentProfile.customerNumber : this.userEmail}\n </div>\n </div>\n ) : null}\n\n <pn-marketweb-siteheader-login-linklist\n links={this.filterLogoutLink(this.loginDialog.loggedInLinks)}\n idNamespace={this.idNamespace}\n ></pn-marketweb-siteheader-login-linklist>\n\n <div class=\"pn-marketweb-siteheader-login-profileselection-divider\"></div>\n {this.profileoptions\n .filter(x => x.selected !== true)\n .map(organization => {\n let customerNumber = organization.profiles.length > 0 ? organization.profiles[0].customerNumber : organization.customerNumber;\n return (\n <div class=\"pn-marketweb-siteheader-login-profileselection-profileoption\">\n {/* /api/user/setprofile? profile=xxxxx */}\n <a\n href={`${this.endpoint}/api/user/setprofile?customernumber=${customerNumber}&returnUrl=${encodeURIComponent(window.location.href)}`}\n class=\"pn-marketweb-siteheader-login-profileselection-profileoption-link\"\n >\n <div class=\"pn-marketweb-siteheader-login-profileselection-profileoption-content\">\n <div class=\"pn-marketweb-siteheader-login-profileselection-profileoption-name\">{organization.name}</div>\n <div class=\"pn-marketweb-siteheader-login-profileselection-profileoption-description\">\n {organization.customerNumber ? organization.customerNumber : this.userEmail}\n </div>\n </div>\n <pn-icon icon={arrow_right} small=\"false\" color=\"blue700\"></pn-icon>\n </a>\n </div>\n );\n })}\n\n {this.logoutLink ? (\n <div class=\"pn-marketweb-siteheader-login-profileselection-logout\">\n {/* https://se-inte.postnord.com/UnifiedLogin/ExternalLoginCallback?returnUrl=https://se-inte.postnord.com/handla-online&profile=770e785b-702b-dc22-b1e9-4839eded4f83 */}\n <a\n href={this.logoutLink.href}\n rel=\"nofollower noopener\"\n id=\"pn-marketweb-header-logoutlink\"\n onClick={() => headerState.loginManager.clearUserData()}\n class=\"pn-marketweb-siteheader-login-profileselection-logout-link\"\n >\n {this.logoutLink.linkText}\n </a>\n </div>\n ) : null}\n </Host>\n );\n }\n}\n",null,"import { Component, Element, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'pn-marketweb-siteheader-unified-login',\n styleUrl: 'pn-marketweb-siteheader-unified-login.scss',\n})\nexport class PnMarketwebSiteheaderUnifiedLogin {\n @Element() hostElement: HTMLElement;\n @Prop() loggedIn: boolean = false;\n @Prop() myPageLabel: string;\n @Prop() myPageUrl: string;\n @Prop() logInLabel: string;\n @Prop() useMarketwebLogin: boolean;\n @Prop() environment: string;\n\n render() {\n return (\n <Host>\n {this.loggedIn ? (\n <pn-marketweb-siteheader-login-mypage-button label={this.myPageLabel} myPageUrl={this.myPageUrl} />\n ) : (\n <pn-marketweb-siteheader-login-button \n label={this.logInLabel} \n useMarketwebLogin={this.useMarketwebLogin} \n environment={this.environment}\n />\n )}\n </Host>\n );\n }\n}\n"],"mappings":"yJAAO,MAAMA,EAAc,CAACC,EAA2BC,KAEvD,MAAMC,EAAyB,aAE/B,MAAMC,EAAa,wFACnB,MAAMC,EAAc,sFACpB,MAA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MAAMiF,EAAuC,GAC7C,MAAAC,EAAeD,E,MCKFE,EAAiC,M,uCAEhB,M,2KAO5B,MAAA9G,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACFV,KAAKsH,SACJ9G,EAAA,+CAA6CG,MAAOX,KAAKuH,YAAanE,UAAWpD,KAAKoD,YAEtF5C,EAAA,wCACIG,MAAOX,KAAKwH,WACZpI,kBAAmBY,KAAKZ,kBACxBC,YAAaW,KAAKX,c","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,g as c,h as a,d as o}from"./p-bb1c965e.js";const n="pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}pn-cta-block{display:flex;justify-content:center}pn-cta-block .cta-block{display:flex;justify-content:space-between;flex-direction:column;border-radius:2.4rem;padding:3.2rem 2.4rem;width:100%}@media screen and (min-width: 768px){pn-cta-block .cta-block{flex-direction:row;padding:2.4rem}}@media screen and (min-width: 1140px){pn-cta-block .cta-block{margin-right:auto;margin-left:auto;max-width:95%}}@media screen and (min-width: 1440px){pn-cta-block .cta-block{max-width:90%}}pn-cta-block .cta-block[pn-background-color=blue25]{background-color:#effbff}pn-cta-block .cta-block[pn-background-color=coral50]{background-color:#fdefee}pn-cta-block .cta-block[pn-background-color=gray25]{background-color:#f9f8f8}pn-cta-block .cta-block[pn-background-color=green25]{background-color:#edfbf3}pn-cta-block .cta-block[pn-background-color=transparent]{padding:0 3.2rem}pn-cta-block .cta-block--content-top .cta-block__content{justify-content:flex-start}@media screen and (min-width: 768px){pn-cta-block .cta-block--large .cta-block__heading{font-size:3.6rem}}@media screen and (min-width: 768px){pn-cta-block .cta-block--large .cta-block__text{font-size:2rem}}pn-cta-block .cta-block--small{width:auto}@media screen and (min-width: 992px){pn-cta-block .cta-block--small{display:inline-flex;max-width:75%}pn-cta-block .cta-block--small.cta-block--center{max-width:66%}}pn-cta-block .cta-block--center{align-items:center;flex-direction:column;gap:1.6rem;text-align:center}@media screen and (min-width: 768px){pn-cta-block .cta-block--center{gap:2.4rem;padding:3.2rem}}@media screen and (min-width: 768px){pn-cta-block .cta-block--center .cta-block__content{max-width:74rem;padding:0}}pn-cta-block .cta-block--center .cta-block__action{margin-top:0.8rem}pn-cta-block .cta-block--center .cta-block__action>[slot=cta-button]{gap:0.8rem}@media screen and (min-width: 768px){pn-cta-block .cta-block--center .cta-block__action{flex-direction:row;gap:2.4rem;margin-top:1.6rem}pn-cta-block .cta-block--center .cta-block__action.cta-block__button{margin-bottom:0}pn-cta-block .cta-block--center .cta-block__action>[slot=cta-buttons]{flex-direction:row;align-items:center;gap:2.4rem}}@media screen and (min-width: 768px){pn-cta-block .cta-block--center .cta-block__image-wrapper{display:block}}pn-cta-block .cta-block--center .cta-block__image-wrapper>[slot=illustration]{padding-right:0}pn-cta-block .cta-block--center .cta-block__text{margin-bottom:0 !important}pn-cta-block .cta-block__image-wrapper{margin-bottom:1.6rem}pn-cta-block .cta-block__image-wrapper>[slot=illustration]>picture>img{border-radius:0.8rem;max-width:100%}@media screen and (min-width: 768px){pn-cta-block .cta-block__image-wrapper{display:none;max-width:20%}}@media screen and (min-width: 992px){pn-cta-block .cta-block__image-wrapper{display:block;margin-bottom:0}pn-cta-block .cta-block__image-wrapper>[slot=illustration]{padding-right:3.2rem}}pn-cta-block .cta-block__content{display:flex;flex:1;flex-direction:column;justify-content:center}@media screen and (min-width: 768px){pn-cta-block .cta-block__content{padding-right:2.4rem}}@media screen and (min-width: 768px){pn-cta-block .cta-block__content .cta-block__heading,pn-cta-block .cta-block__content .cta-block__text{max-width:74rem;text-wrap:balance}}pn-cta-block .cta-block__content .cta-block__text{margin-bottom:2.4rem}@media screen and (min-width: 768px){pn-cta-block .cta-block__content .cta-block__text{margin-bottom:0}}pn-cta-block .cta-block__heading{margin-bottom:0.8rem}pn-cta-block .cta-block__action{display:flex}pn-cta-block .cta-block__action>[slot=cta-buttons]{display:flex;flex-direction:column;row-gap:1.6rem;flex:1}@media screen and (min-width: 768px){pn-cta-block .cta-block__action>[slot=cta-buttons]{align-items:flex-end;justify-content:center;gap:1.6rem;margin-top:0}}pn-cta-block .cta-block__action>[slot=cta-buttons]>a{color:#005d92;font-weight:500;font-size:1.6rem;padding:0.1rem;text-decoration:none}pn-cta-block .cta-block__action>[slot=cta-buttons]>a pn-icon svg{transition:transform 0.3s ease-in-out}pn-cta-block .cta-block__action>[slot=cta-buttons]>a pn-icon svg path{fill:#005d92}pn-cta-block .cta-block__action>[slot=cta-buttons]>a:hover{color:#0d234b;text-decoration:underline}pn-cta-block .cta-block__action>[slot=cta-buttons]>a:hover pn-icon svg{transition:transform 0.3s ease-in-out;transform:translateX(0.3rem)}pn-cta-block .cta-block__action>[slot=cta-buttons]>a:hover pn-icon svg path{fill:#0d234b}";const e=n;const l=class{constructor(c){t(this,c);this.heading=null;this.bodyText=null;this.pnBackgroundColor=null;this.isLarge=false;this.isCentered=false;this.isSmall=false;this.contentTop=false}get hostElement(){return c(this)}render(){const t=this.hostElement.querySelector('[slot="illustration"]');const c=this.hostElement.querySelector('[slot="cta-buttons"]');return a(o,{key:"cd97d60c2c61e127f2e4deacab39fb7f773694ea"},a("div",{key:"b01ea2ef995dae9d741d1da0f5119ab612ade54a","pn-background-color":this.pnBackgroundColor,class:`cta-block ${this.isLarge?"cta-block--large":""} ${this.isCentered?"cta-block--center":""} ${this.isSmall?"cta-block--small":""} ${this.contentTop?"cta-block--content-top":""}`},t?a("div",{class:"cta-block__image-wrapper"},a("slot",{name:"illustration"})):null,a("div",{key:"2b94493d618cabd0205e5cecfd105cec3a695528",class:"cta-block__content"},this.heading?a("h2",{class:"cta-block__heading"},this.heading):null,this.bodyText?a("p",{class:"cta-block__text"},this.bodyText):null),c?a("div",{class:"cta-block__action"},a("slot",{name:"cta-buttons"})):null))}};l.style=e;export{l as pn_cta_block};
2
+ //# sourceMappingURL=p-24086c59.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["pnCtaBlockCss","PnCtaBlockStyle0","PnCtaBlock","render","hasImage","this","hostElement","querySelector","hasButtons","h","Host","key","pnBackgroundColor","class","isLarge","isCentered","isSmall","contentTop","name","heading","bodyText"],"sources":["src/components/cta/pn-cta-block/pn-cta-block.scss?tag=pn-cta-block","src/components/cta/pn-cta-block/pn-cta-block.tsx"],"sourcesContent":["@import '../../../globals/main.scss';\n\npn-cta-block {\n display: flex;\n justify-content: center;\n\n .cta-block {\n display: flex;\n justify-content: space-between;\n flex-direction: column;\n border-radius: 2.4rem;\n padding: 3.2rem 2.4rem;\n width: 100%;\n\n @media screen and (min-width: $min-width-md) {\n flex-direction: row;\n padding: 2.4rem;\n }\n\n @media screen and (min-width: $max-width-xl) {\n margin-right: auto;\n margin-left: auto;\n max-width: 95%;\n }\n\n @media screen and (min-width: $max-width-xxl) {\n max-width: 90%;\n }\n\n &[pn-background-color='blue25'] {\n background-color: $blue25;\n }\n\n &[pn-background-color='coral50'] {\n background-color: $coral50;\n }\n\n &[pn-background-color='gray25'] {\n background-color: $gray25;\n }\n\n &[pn-background-color='green25'] {\n background-color: $green25;\n }\n\n &[pn-background-color='transparent'] {\n padding: 0 3.2rem;\n }\n }\n\n .cta-block--content-top {\n .cta-block__content {\n justify-content: flex-start;\n }\n }\n\n .cta-block--large {\n .cta-block__heading {\n @media screen and (min-width: $min-width-md) {\n font-size: 3.6rem;\n }\n }\n\n .cta-block__text {\n @media screen and (min-width: $min-width-md) {\n font-size: 2rem;\n }\n }\n }\n\n .cta-block--small {\n width: auto;\n\n @media screen and (min-width:$min-width-lg) {\n display: inline-flex;\n max-width: 75%;\n\n &.cta-block--center {\n max-width: 66%;\n }\n }\n }\n\n .cta-block--center {\n align-items: center;\n flex-direction: column;\n gap: 1.6rem;\n text-align: center;\n\n @media screen and (min-width:$min-width-md) {\n gap: 2.4rem;\n padding: 3.2rem;\n }\n\n .cta-block__content {\n @media screen and (min-width: $min-width-md) {\n max-width: 74rem;\n padding: 0;\n }\n }\n\n .cta-block__action {\n margin-top: 0.8rem;\n\n &>[slot='cta-button'] {\n gap: 0.8rem;\n }\n\n @media screen and (min-width: $min-width-md) {\n flex-direction: row;\n gap: 2.4rem;\n margin-top: 1.6rem;\n\n &.cta-block__button {\n margin-bottom: 0;\n }\n\n &>[slot='cta-buttons'] {\n flex-direction: row;\n align-items: center;\n gap: 2.4rem;\n }\n }\n }\n\n .cta-block__image-wrapper {\n @media screen and (min-width: $min-width-md) {\n display: block;\n }\n\n & > [slot='illustration'] {\n padding-right: 0;\n }\n }\n\n .cta-block__text {\n margin-bottom: 0 !important;\n }\n }\n\n .cta-block__image-wrapper {\n margin-bottom: 1.6rem;\n\n &>[slot='illustration'] {\n &>picture>img {\n border-radius: 0.8rem;\n max-width: 100%;\n }\n }\n\n @media screen and (min-width:$min-width-md) {\n display: none;\n max-width: 20%;\n }\n\n @media screen and (min-width: $min-width-lg) {\n display: block;\n margin-bottom: 0;\n\n & > [slot='illustration'] {\n padding-right: 3.2rem;\n }\n }\n }\n\n .cta-block__content {\n display: flex;\n flex: 1;\n flex-direction: column;\n justify-content: center;\n\n @media screen and (min-width: $min-width-md) {\n padding-right: 2.4rem;\n }\n\n .cta-block__heading,\n .cta-block__text {\n @media screen and (min-width: $min-width-md) {\n max-width: 74rem;\n text-wrap: balance;\n }\n }\n\n .cta-block__text {\n margin-bottom: 2.4rem;\n\n @media screen and (min-width: $min-width-md) {\n margin-bottom: 0;\n }\n }\n }\n\n .cta-block__heading {\n margin-bottom: 0.8rem;\n }\n\n .cta-block__action {\n display: flex;\n\n &>[slot='cta-buttons'] {\n display: flex;\n flex-direction: column;\n row-gap: 1.6rem;\n flex: 1;\n\n @media screen and (min-width:$min-width-md) {\n align-items: flex-end;\n justify-content: center;\n gap: 1.6rem;\n margin-top: 0;\n }\n\n & > a {\n color: $blue700;\n font-weight: 500;\n font-size: 1.6rem;\n padding: 0.1rem;\n text-decoration: none;\n\n pn-icon svg {\n transition: transform 0.3s ease-in-out;\n\n path {\n fill: $blue700;\n }\n }\n\n &:hover {\n color: $blue900;\n text-decoration: underline;\n \n pn-icon svg {\n transition: transform 0.3s ease-in-out;\n transform: translateX(0.3rem);\n\n path {\n fill: $blue900;\n }\n }\n }\n }\n }\n }\n}\n","import { Component, Host, Prop, h, Element } from '@stencil/core';\n\n@Component({\n tag: 'pn-cta-block',\n styleUrl: 'pn-cta-block.scss',\n})\nexport class PnCtaBlock {\n @Element() hostElement: HTMLElement;\n\n @Prop() heading: string = null;\n @Prop() bodyText: string = null;\n\n @Prop() pnBackgroundColor: string = null;\n\n @Prop() isLarge: boolean = false;\n @Prop() isCentered: boolean = false;\n @Prop() isSmall: boolean = false;\n @Prop() contentTop: boolean = false;\n\n render() {\n const hasImage = this.hostElement.querySelector('[slot=\"illustration\"]');\n const hasButtons = this.hostElement.querySelector('[slot=\"cta-buttons\"]');\n return (\n <Host>\n <div pn-background-color={this.pnBackgroundColor} class={`cta-block ${this.isLarge ? 'cta-block--large' : ''} ${this.isCentered ? 'cta-block--center' : ''} ${(this.isSmall ? 'cta-block--small' : '')} ${this.contentTop ? 'cta-block--content-top' : ''}`}>\n {(hasImage ?\n <div class=\"cta-block__image-wrapper\">\n <slot name=\"illustration\" />\n </div> : null\n )}\n <div class=\"cta-block__content\">\n {(this.heading) ? <h2 class=\"cta-block__heading\">{this.heading}</h2> : null}\n {(this.bodyText) ? <p class=\"cta-block__text\">{this.bodyText}</p> : null}\n </div>\n {(hasButtons ?\n <div class=\"cta-block__action\">\n <slot name=\"cta-buttons\" />\n </div> : null\n )}\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAgB,iwJACtB,MAAAC,EAAeD,E,MCKFE,EAAU,M,sCAGK,K,cACC,K,uBAES,K,aAET,M,gBACG,M,aACH,M,gBACG,K,kCAE9B,MAAAC,GACE,MAAMC,EAAWC,KAAKC,YAAYC,cAAc,yBAChD,MAAMC,EAAaH,KAAKC,YAAYC,cAAc,wBAClD,OACEE,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,OAAAE,IAAA,iEAA0BN,KAAKO,kBAAmBC,MAAO,aAAaR,KAAKS,QAAU,mBAAqB,OAAOT,KAAKU,WAAa,oBAAsB,OAAQV,KAAKW,QAAU,mBAAqB,MAAOX,KAAKY,WAAa,yBAA2B,MACrPb,EACAK,EAAA,OAAKI,MAAM,4BACTJ,EAAA,QAAMS,KAAK,kBACJ,KAEXT,EAAA,OAAAE,IAAA,2CAAKE,MAAM,sBACPR,KAAY,QAAII,EAAA,MAAII,MAAM,sBAAsBR,KAAKc,SAAgB,KACrEd,KAAa,SAAII,EAAA,KAAGI,MAAM,mBAAmBR,KAAKe,UAAgB,MAEpEZ,EACAC,EAAA,OAAKI,MAAM,qBACTJ,EAAA,QAAMS,KAAK,iBACJ,M","ignoreList":[]}
1
+ {"version":3,"names":["pnCtaBlockCss","PnCtaBlockStyle0","PnCtaBlock","render","hasImage","this","hostElement","querySelector","hasButtons","h","Host","key","pnBackgroundColor","class","isLarge","isCentered","isSmall","contentTop","name","heading","bodyText"],"sources":["src/components/cta/pn-cta-block/pn-cta-block.scss?tag=pn-cta-block","src/components/cta/pn-cta-block/pn-cta-block.tsx"],"sourcesContent":["@import '../../../globals/main.scss';\n\npn-cta-block {\n display: flex;\n justify-content: center;\n\n .cta-block {\n display: flex;\n justify-content: space-between;\n flex-direction: column;\n border-radius: 2.4rem;\n padding: 3.2rem 2.4rem;\n width: 100%;\n\n @media screen and (min-width: $min-width-md) {\n flex-direction: row;\n padding: 2.4rem;\n }\n\n @media screen and (min-width: $max-width-xl) {\n margin-right: auto;\n margin-left: auto;\n max-width: 95%;\n }\n\n @media screen and (min-width: $max-width-xxl) {\n max-width: 90%;\n }\n\n &[pn-background-color='blue25'] {\n background-color: $blue25;\n }\n\n &[pn-background-color='coral50'] {\n background-color: $coral50;\n }\n\n &[pn-background-color='gray25'] {\n background-color: $gray25;\n }\n\n &[pn-background-color='green25'] {\n background-color: $green25;\n }\n\n &[pn-background-color='transparent'] {\n padding: 0 3.2rem;\n }\n }\n\n .cta-block--content-top {\n .cta-block__content {\n justify-content: flex-start;\n }\n }\n\n .cta-block--large {\n .cta-block__heading {\n @media screen and (min-width: $min-width-md) {\n font-size: 3.6rem;\n }\n }\n\n .cta-block__text {\n @media screen and (min-width: $min-width-md) {\n font-size: 2rem;\n }\n }\n }\n\n .cta-block--small {\n width: auto;\n\n @media screen and (min-width:$min-width-lg) {\n display: inline-flex;\n max-width: 75%;\n\n &.cta-block--center {\n max-width: 66%;\n }\n }\n }\n\n .cta-block--center {\n align-items: center;\n flex-direction: column;\n gap: 1.6rem;\n text-align: center;\n\n @media screen and (min-width:$min-width-md) {\n gap: 2.4rem;\n padding: 3.2rem;\n }\n\n .cta-block__content {\n @media screen and (min-width: $min-width-md) {\n max-width: 74rem;\n padding: 0;\n }\n }\n\n .cta-block__action {\n margin-top: 0.8rem;\n\n &>[slot='cta-button'] {\n gap: 0.8rem;\n }\n\n @media screen and (min-width: $min-width-md) {\n flex-direction: row;\n gap: 2.4rem;\n margin-top: 1.6rem;\n\n &.cta-block__button {\n margin-bottom: 0;\n }\n\n &>[slot='cta-buttons'] {\n flex-direction: row;\n align-items: center;\n gap: 2.4rem;\n }\n }\n }\n\n .cta-block__image-wrapper {\n @media screen and (min-width: $min-width-md) {\n display: block;\n }\n\n & > [slot='illustration'] {\n padding-right: 0;\n }\n }\n\n .cta-block__text {\n margin-bottom: 0 !important;\n }\n }\n\n .cta-block__image-wrapper {\n margin-bottom: 1.6rem;\n\n &>[slot='illustration'] {\n &>picture>img {\n border-radius: 0.8rem;\n max-width: 100%;\n }\n }\n\n @media screen and (min-width:$min-width-md) {\n display: none;\n max-width: 20%;\n }\n\n @media screen and (min-width: $min-width-lg) {\n display: block;\n margin-bottom: 0;\n\n & > [slot='illustration'] {\n padding-right: 3.2rem;\n }\n }\n }\n\n .cta-block__content {\n display: flex;\n flex: 1;\n flex-direction: column;\n justify-content: center;\n\n @media screen and (min-width: $min-width-md) {\n padding-right: 2.4rem;\n }\n\n .cta-block__heading,\n .cta-block__text {\n @media screen and (min-width: $min-width-md) {\n max-width: 74rem;\n text-wrap: balance;\n }\n }\n\n .cta-block__text {\n margin-bottom: 2.4rem;\n\n @media screen and (min-width: $min-width-md) {\n margin-bottom: 0;\n }\n }\n }\n\n .cta-block__heading {\n margin-bottom: 0.8rem;\n }\n\n .cta-block__action {\n display: flex;\n\n &>[slot='cta-buttons'] {\n display: flex;\n flex-direction: column;\n row-gap: 1.6rem;\n flex: 1;\n\n @media screen and (min-width:$min-width-md) {\n align-items: flex-end;\n justify-content: center;\n gap: 1.6rem;\n margin-top: 0;\n }\n\n & > a {\n color: $blue700;\n font-weight: 500;\n font-size: 1.6rem;\n padding: 0.1rem;\n text-decoration: none;\n\n pn-icon svg {\n transition: transform 0.3s ease-in-out;\n\n path {\n fill: $blue700;\n }\n }\n\n &:hover {\n color: $blue900;\n text-decoration: underline;\n \n pn-icon svg {\n transition: transform 0.3s ease-in-out;\n transform: translateX(0.3rem);\n\n path {\n fill: $blue900;\n }\n }\n }\n }\n }\n }\n}\n","import { Component, Host, Prop, h, Element } from '@stencil/core';\n\n@Component({\n tag: 'pn-cta-block',\n styleUrl: 'pn-cta-block.scss',\n})\nexport class PnCtaBlock {\n @Element() hostElement: HTMLElement;\n\n @Prop() heading: string = null;\n @Prop() bodyText: string = null;\n\n @Prop() pnBackgroundColor: string = null;\n\n @Prop() isLarge: boolean = false;\n @Prop() isCentered: boolean = false;\n @Prop() isSmall: boolean = false;\n @Prop() contentTop: boolean = false;\n\n render() {\n const hasImage = this.hostElement.querySelector('[slot=\"illustration\"]');\n const hasButtons = this.hostElement.querySelector('[slot=\"cta-buttons\"]');\n return (\n <Host>\n <div pn-background-color={this.pnBackgroundColor} class={`cta-block ${this.isLarge ? 'cta-block--large' : ''} ${this.isCentered ? 'cta-block--center' : ''} ${(this.isSmall ? 'cta-block--small' : '')} ${this.contentTop ? 'cta-block--content-top' : ''}`}>\n {(hasImage ?\n <div class=\"cta-block__image-wrapper\">\n <slot name=\"illustration\" />\n </div> : null\n )}\n <div class=\"cta-block__content\">\n {(this.heading) ? <h2 class=\"cta-block__heading\">{this.heading}</h2> : null}\n {(this.bodyText) ? <p class=\"cta-block__text\">{this.bodyText}</p> : null}\n </div>\n {(hasButtons ?\n <div class=\"cta-block__action\">\n <slot name=\"cta-buttons\" />\n </div> : null\n )}\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAgB,w7IACtB,MAAAC,EAAeD,E,MCKFE,EAAU,M,sCAGK,K,cACC,K,uBAES,K,aAET,M,gBACG,M,aACH,M,gBACG,K,kCAE9B,MAAAC,GACE,MAAMC,EAAWC,KAAKC,YAAYC,cAAc,yBAChD,MAAMC,EAAaH,KAAKC,YAAYC,cAAc,wBAClD,OACEE,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,OAAAE,IAAA,iEAA0BN,KAAKO,kBAAmBC,MAAO,aAAaR,KAAKS,QAAU,mBAAqB,OAAOT,KAAKU,WAAa,oBAAsB,OAAQV,KAAKW,QAAU,mBAAqB,MAAOX,KAAKY,WAAa,yBAA2B,MACrPb,EACAK,EAAA,OAAKI,MAAM,4BACTJ,EAAA,QAAMS,KAAK,kBACJ,KAEXT,EAAA,OAAAE,IAAA,2CAAKE,MAAM,sBACPR,KAAY,QAAII,EAAA,MAAII,MAAM,sBAAsBR,KAAKc,SAAgB,KACrEd,KAAa,SAAII,EAAA,KAAGI,MAAM,mBAAmBR,KAAKe,UAAgB,MAEpEZ,EACAC,EAAA,OAAKI,MAAM,qBACTJ,EAAA,QAAMS,KAAK,iBACJ,M","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{e as t,f as e}from"./p-82546a44.js";const n=(t,e,n)=>{const s=t.get(e);if(!s){t.set(e,[n])}else if(!s.includes(n)){s.push(n)}};const s=(t,e)=>{let n;return(...s)=>{if(n){clearTimeout(n)}n=setTimeout((()=>{n=0;t(...s)}),e)}};const o=t=>!("isConnected"in t)||t.isConnected;const r=s((t=>{for(let e of t.keys()){t.set(e,t.get(e).filter(o))}}),2e3);const c=()=>{if(typeof t!=="function"){return{}}const s=new Map;return{dispose:()=>s.clear(),get:e=>{const o=t();if(o){n(s,e,o)}},set:t=>{const n=s.get(t);if(n){s.set(t,n.filter(e))}r(s)},reset:()=>{s.forEach((t=>t.forEach(e)));r(s)}}};const i=t=>typeof t==="function"?t():t;const u=(t,e=((t,e)=>t!==e))=>{const n=i(t);let s=new Map(Object.entries(n!==null&&n!==void 0?n:{}));const o={dispose:[],get:[],set:[],reset:[]};const r=()=>{var e;s=new Map(Object.entries((e=i(t))!==null&&e!==void 0?e:{}));o.reset.forEach((t=>t()))};const c=()=>{o.dispose.forEach((t=>t()));r()};const u=t=>{o.get.forEach((e=>e(t)));return s.get(t)};const a=(t,n)=>{const r=s.get(t);if(e(n,r,t)){s.set(t,n);o.set.forEach((e=>e(t,n,r)))}};const p=typeof Proxy==="undefined"?{}:new Proxy(n,{get(t,e){return u(e)},ownKeys(t){return Array.from(s.keys())},getOwnPropertyDescriptor(){return{enumerable:true,configurable:true}},has(t,e){return s.has(e)},set(t,e,n){a(e,n);return true}});const l=(t,e)=>{o[t].push(e);return()=>{f(o[t],e)}};const d=(e,n)=>{const s=l("set",((t,s)=>{if(t===e){n(s)}}));const o=l("reset",(()=>n(i(t)[e])));return()=>{s();o()}};const g=(...t)=>{const e=t.reduce(((t,e)=>{if(e.set){t.push(l("set",e.set))}if(e.get){t.push(l("get",e.get))}if(e.reset){t.push(l("reset",e.reset))}if(e.dispose){t.push(l("dispose",e.dispose))}return t}),[]);return()=>e.forEach((t=>t()))};const y=t=>{const e=s.get(t);o.set.forEach((n=>n(t,e,e)))};return{state:p,get:u,set:a,on:l,onChange:d,use:g,dispose:c,reset:r,forceUpdate:y}};const f=(t,e)=>{const n=t.indexOf(e);if(n>=0){t[n]=t[t.length-1];t.length--}};const a=(t,e)=>{const n=u(t,e);n.use(c());return n};export{a as c};
2
- //# sourceMappingURL=p-8836de82.js.map
1
+ import{e as t,f as e}from"./p-bb1c965e.js";const n=(t,e,n)=>{const s=t.get(e);if(!s){t.set(e,[n])}else if(!s.includes(n)){s.push(n)}};const s=(t,e)=>{let n;return(...s)=>{if(n){clearTimeout(n)}n=setTimeout((()=>{n=0;t(...s)}),e)}};const o=t=>!("isConnected"in t)||t.isConnected;const r=s((t=>{for(let e of t.keys()){t.set(e,t.get(e).filter(o))}}),2e3);const c=()=>{if(typeof t!=="function"){return{}}const s=new Map;return{dispose:()=>s.clear(),get:e=>{const o=t();if(o){n(s,e,o)}},set:t=>{const n=s.get(t);if(n){s.set(t,n.filter(e))}r(s)},reset:()=>{s.forEach((t=>t.forEach(e)));r(s)}}};const i=t=>typeof t==="function"?t():t;const u=(t,e=((t,e)=>t!==e))=>{const n=i(t);let s=new Map(Object.entries(n!==null&&n!==void 0?n:{}));const o={dispose:[],get:[],set:[],reset:[]};const r=()=>{var e;s=new Map(Object.entries((e=i(t))!==null&&e!==void 0?e:{}));o.reset.forEach((t=>t()))};const c=()=>{o.dispose.forEach((t=>t()));r()};const u=t=>{o.get.forEach((e=>e(t)));return s.get(t)};const p=(t,n)=>{const r=s.get(t);if(e(n,r,t)){s.set(t,n);o.set.forEach((e=>e(t,n,r)))}};const a=typeof Proxy==="undefined"?{}:new Proxy(n,{get(t,e){return u(e)},ownKeys(t){return Array.from(s.keys())},getOwnPropertyDescriptor(){return{enumerable:true,configurable:true}},has(t,e){return s.has(e)},set(t,e,n){p(e,n);return true}});const l=(t,e)=>{o[t].push(e);return()=>{f(o[t],e)}};const d=(e,n)=>{const s=l("set",((t,s)=>{if(t===e){n(s)}}));const o=l("reset",(()=>n(i(t)[e])));return()=>{s();o()}};const g=(...t)=>{const e=t.reduce(((t,e)=>{if(e.set){t.push(l("set",e.set))}if(e.get){t.push(l("get",e.get))}if(e.reset){t.push(l("reset",e.reset))}if(e.dispose){t.push(l("dispose",e.dispose))}return t}),[]);return()=>e.forEach((t=>t()))};const y=t=>{const e=s.get(t);o.set.forEach((n=>n(t,e,e)))};return{state:a,get:u,set:p,on:l,onChange:d,use:g,dispose:c,reset:r,forceUpdate:y}};const f=(t,e)=>{const n=t.indexOf(e);if(n>=0){t[n]=t[t.length-1];t.length--}};const p=(t,e)=>{const n=u(t,e);n.use(c());return n};export{p as c};
2
+ //# sourceMappingURL=p-2509d18d.js.map
@@ -0,0 +1,2 @@
1
+ import{r as e,h as t,d as n}from"./p-bb1c965e.js";const o="pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}pn-product-tile{margin-bottom:1em;border:0.1rem solid #d3cecb;outline:none;background:white;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:flex;padding:1.5em;word-break:break-word;text-decoration:none;border-radius:0.8rem}pn-product-tile [slot=content] h3{display:flex;width:100%;justify-content:space-between;margin-bottom:0.5em}pn-product-tile>pn-illustration{min-width:8rem;width:8rem;height:8rem;margin-right:3rem;align-self:center}pn-product-tile .tilecontent{display:flex;flex-direction:row;justify-content:center;flex-grow:1}pn-product-tile .details{display:flex;flex-direction:column;justify-content:space-between;width:100%}pn-product-tile .info{display:flex;justify-content:space-between;flex-grow:1;max-width:66.6666666667%;flex-flow:wrap}pn-product-tile .info>*{min-width:6em;margin:0.2em 1em 0.2em 0}";const d=o;const c=class{constructor(t){e(this,t)}render(){return t(n,{key:"2e779ff732d7889af41b16b798ccecb066e99079"},t("slot",{key:"a6f6e2ac9a2fc0e80fc5ea5b814276c62a4bc720",name:"illustration"}),t("div",{key:"cf5485dd2de365f7a609917e82b38b7dc44db888",class:"tilecontent"},t("div",{key:"da9a01e6c21a20b524374fff9840473b7db5fc1d",class:"details"},t("slot",{key:"c2e0b122b0dedf7eb8fe79782f51c6bc93bbecc0",name:"content"}),t("div",{key:"ed2993024fa533c093326ee20fd1a5aedba1f6be",class:"info"},t("slot",{key:"d3d6d084a64ad599c39e03e201643c73e0fc649b"})),t("slot",{key:"13ec713f7663430c8af4e8f1c56685832856505d",name:"note"})),t("slot",{key:"33b0740de44a7d63c4fd2faf0822f331ea0b9fa2",name:"price"})))}};c.style=d;export{c as pn_product_tile};
2
+ //# sourceMappingURL=p-25d53df2.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["pnProductTileCss","PnProductTileStyle0","PnProductTile","render","h","Host","key","name","class"],"sources":["src/components/widgets/pn-product-tile/pn-product-tile.scss?tag=pn-product-tile","src/components/widgets/pn-product-tile/pn-product-tile.tsx"],"sourcesContent":["@import '../../../globals/main.scss';\n\npn-product-tile {\n margin-bottom: 1em;\n border: 0.1rem solid $gray200;\n outline: none;\n background: white;\n box-shadow:\n 0px 0.6px 1.8px rgba(0, 0, 0, 0.1),\n 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);\n display: flex;\n\n padding: 1.5em;\n word-break: break-word;\n text-decoration: none;\n border-radius: 0.8rem;\n\n [slot='content'] h3 {\n display: flex;\n width: 100%;\n justify-content: space-between;\n margin-bottom: 0.5em;\n }\n > pn-illustration {\n min-width: 8rem;\n width: 8rem;\n height: 8rem;\n margin-right: 3rem;\n align-self: center;\n }\n .tilecontent {\n display: flex;\n // flex-wrap: wrap;\n flex-direction: row;\n //align-items: flex-start;\n justify-content: center;\n flex-grow: 1;\n }\n\n .details {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n width: 100%;\n //align-items: center;\n }\n .info {\n display: flex;\n justify-content: space-between;\n flex-grow: 1;\n max-width: calc((100% / 3) * 2);\n flex-flow: wrap;\n > * {\n min-width: 6em;\n margin: 0.2em 1em 0.2em 0;\n }\n }\n}\n","import { Component, h, Host } from '@stencil/core';\n\n@Component({\n tag: 'pn-product-tile',\n styleUrl: 'pn-product-tile.scss',\n})\nexport class PnProductTile {\n render() {\n return (\n <Host>\n <slot name=\"illustration\" />\n <div class=\"tilecontent\">\n <div class=\"details\">\n <slot name=\"content\" />\n <div class=\"info\">\n <slot />\n </div>\n <slot name=\"note\" />\n </div>\n <slot name=\"price\" />\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAmB,ovCACzB,MAAAC,EAAeD,E,MCKFE,EAAa,M,yBACxB,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,QAAAE,IAAA,2CAAMC,KAAK,iBACXH,EAAA,OAAAE,IAAA,2CAAKE,MAAM,eACTJ,EAAA,OAAAE,IAAA,2CAAKE,MAAM,WACTJ,EAAA,QAAAE,IAAA,2CAAMC,KAAK,YACXH,EAAA,OAAAE,IAAA,2CAAKE,MAAM,QACTJ,EAAA,QAAAE,IAAA,8CAEFF,EAAA,QAAAE,IAAA,2CAAMC,KAAK,UAEbH,EAAA,QAAAE,IAAA,2CAAMC,KAAK,W","ignoreList":[]}
1
+ {"version":3,"names":["pnProductTileCss","PnProductTileStyle0","PnProductTile","render","h","Host","key","name","class"],"sources":["src/components/widgets/pn-product-tile/pn-product-tile.scss?tag=pn-product-tile","src/components/widgets/pn-product-tile/pn-product-tile.tsx"],"sourcesContent":["@import '../../../globals/main.scss';\n\npn-product-tile {\n margin-bottom: 1em;\n border: 0.1rem solid $gray200;\n outline: none;\n background: white;\n box-shadow:\n 0px 0.6px 1.8px rgba(0, 0, 0, 0.1),\n 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);\n display: flex;\n\n padding: 1.5em;\n word-break: break-word;\n text-decoration: none;\n border-radius: 0.8rem;\n\n [slot='content'] h3 {\n display: flex;\n width: 100%;\n justify-content: space-between;\n margin-bottom: 0.5em;\n }\n > pn-illustration {\n min-width: 8rem;\n width: 8rem;\n height: 8rem;\n margin-right: 3rem;\n align-self: center;\n }\n .tilecontent {\n display: flex;\n // flex-wrap: wrap;\n flex-direction: row;\n //align-items: flex-start;\n justify-content: center;\n flex-grow: 1;\n }\n\n .details {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n width: 100%;\n //align-items: center;\n }\n .info {\n display: flex;\n justify-content: space-between;\n flex-grow: 1;\n max-width: calc((100% / 3) * 2);\n flex-flow: wrap;\n > * {\n min-width: 6em;\n margin: 0.2em 1em 0.2em 0;\n }\n }\n}\n","import { Component, h, Host } from '@stencil/core';\n\n@Component({\n tag: 'pn-product-tile',\n styleUrl: 'pn-product-tile.scss',\n})\nexport class PnProductTile {\n render() {\n return (\n <Host>\n <slot name=\"illustration\" />\n <div class=\"tilecontent\">\n <div class=\"details\">\n <slot name=\"content\" />\n <div class=\"info\">\n <slot />\n </div>\n <slot name=\"note\" />\n </div>\n <slot name=\"price\" />\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAmB,26BACzB,MAAAC,EAAeD,E,MCKFE,EAAa,M,yBACxB,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,QAAAE,IAAA,2CAAMC,KAAK,iBACXH,EAAA,OAAAE,IAAA,2CAAKE,MAAM,eACTJ,EAAA,OAAAE,IAAA,2CAAKE,MAAM,WACTJ,EAAA,QAAAE,IAAA,2CAAMC,KAAK,YACXH,EAAA,OAAAE,IAAA,2CAAKE,MAAM,QACTJ,EAAA,QAAAE,IAAA,8CAEFF,EAAA,QAAAE,IAAA,2CAAMC,KAAK,UAEbH,EAAA,QAAAE,IAAA,2CAAMC,KAAK,W","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,g as o,h as e,d as n}from"./p-bb1c965e.js";const l="pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}pn-titletag{display:inline-flex;border-radius:0.4rem;min-height:2.5em;font-weight:normal;font-size:0.75em;text-align:center;vertical-align:bottom;padding:0.6rem;gap:0.6em}pn-titletag[color=green700],pn-titletag[color=green]{color:#005e41;background:#dcf6e7}pn-titletag[color=blue700],pn-titletag[color=blue]{background:#e0f8ff;color:#005d92}pn-titletag[color=coral700],pn-titletag[color=coral]{background:#fdefee;color:#9b1c2e}pn-titletag[color=gray900],pn-titletag[color=gray],pn-titletag[color=grey]{background:#d3cecb;color:#2d2013}pn-titletag[color=gray50],pn-titletag[color=lightgray],pn-titletag[color=lightgrey]{background:#f3f2f2;color:#2d2013}";const r=l;const a=class{constructor(o){t(this,o);this.icon=null;this.color="green700"}get hostElement(){return o(this)}render(){return e(n,{key:"01ea9f33d75dac321884aae478532c4df23c2390"},e("slot",{key:"5d9e6425f8f1b1efd3661f99f4d7735af71f667e"}),this.icon?e("pn-icon",{icon:this.icon,small:"false",color:this.color}):null)}};a.style=r;export{a as pn_titletag};
2
+ //# sourceMappingURL=p-25dfc349.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["pnTitletagCss","PnTitletagStyle0","PnTiletag","render","h","Host","key","this","icon","small","color"],"sources":["src/components/minor/pn-titletag/pn-titletag.scss?tag=pn-titletag","src/components/minor/pn-titletag/pn-titletag.tsx"],"sourcesContent":["@import '../../../globals/main.scss';\n\npn-titletag {\n display: inline-flex;\n border-radius: 0.4rem;\n min-height: 2.5em;\n font-weight: normal;\n font-size: 0.75em;\n text-align: center;\n vertical-align: bottom;\n padding: 0.6rem;\n gap: 0.6em;\n\n pn-icon {\n }\n\n &[color='green700'],\n &[color='green'] {\n color: $green700;\n background: $green50;\n }\n\n &[color='blue700'],\n &[color='blue'] {\n background: $blue50;\n color: $blue700;\n }\n\n &[color='coral700'],\n &[color='coral'] {\n background: $coral50;\n color: $coral700;\n }\n\n &[color='gray900'],\n &[color='gray'],\n &[color='grey'] {\n background: $gray200;\n color: $gray900;\n }\n\n &[color='gray50'],\n &[color='lightgray'],\n &[color='lightgrey'] {\n background: $gray50;\n color: $gray900;\n }\n}\n","import { Component, Prop, h, Host, Element, Listen } from '@stencil/core';\n\n@Component({\n tag: 'pn-titletag',\n styleUrl: 'pn-titletag.scss',\n})\nexport class PnTiletag {\n /** Icon of the tag */\n @Prop() icon: string = null;\n\n /** Icon of the tag */\n @Prop({ mutable: true, reflect: true }) color: string = 'green700';\n\n @Element() hostElement: HTMLElement;\n\n render() {\n return (\n <Host>\n <slot />\n {this.icon ? <pn-icon icon={this.icon} small=\"false\" color={this.color}></pn-icon> : null}\n </Host>\n );\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAgB,uiCACtB,MAAAC,EAAeD,E,MCKFE,EAAS,M,mCAEG,K,WAGiC,U,kCAIxD,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,QAAAE,IAAA,6CACCC,KAAKC,KAAOJ,EAAA,WAASI,KAAMD,KAAKC,KAAMC,MAAM,QAAQC,MAAOH,KAAKG,QAAoB,K","ignoreList":[]}
1
+ {"version":3,"names":["pnTitletagCss","PnTitletagStyle0","PnTiletag","render","h","Host","key","this","icon","small","color"],"sources":["src/components/minor/pn-titletag/pn-titletag.scss?tag=pn-titletag","src/components/minor/pn-titletag/pn-titletag.tsx"],"sourcesContent":["@import '../../../globals/main.scss';\n\npn-titletag {\n display: inline-flex;\n border-radius: 0.4rem;\n min-height: 2.5em;\n font-weight: normal;\n font-size: 0.75em;\n text-align: center;\n vertical-align: bottom;\n padding: 0.6rem;\n gap: 0.6em;\n\n pn-icon {\n }\n\n &[color='green700'],\n &[color='green'] {\n color: $green700;\n background: $green50;\n }\n\n &[color='blue700'],\n &[color='blue'] {\n background: $blue50;\n color: $blue700;\n }\n\n &[color='coral700'],\n &[color='coral'] {\n background: $coral50;\n color: $coral700;\n }\n\n &[color='gray900'],\n &[color='gray'],\n &[color='grey'] {\n background: $gray200;\n color: $gray900;\n }\n\n &[color='gray50'],\n &[color='lightgray'],\n &[color='lightgrey'] {\n background: $gray50;\n color: $gray900;\n }\n}\n","import { Component, Prop, h, Host, Element, Listen } from '@stencil/core';\n\n@Component({\n tag: 'pn-titletag',\n styleUrl: 'pn-titletag.scss',\n})\nexport class PnTiletag {\n /** Icon of the tag */\n @Prop() icon: string = null;\n\n /** Icon of the tag */\n @Prop({ mutable: true, reflect: true }) color: string = 'green700';\n\n @Element() hostElement: HTMLElement;\n\n render() {\n return (\n <Host>\n <slot />\n {this.icon ? <pn-icon icon={this.icon} small=\"false\" color={this.color}></pn-icon> : null}\n </Host>\n );\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAgB,8tBACtB,MAAAC,EAAeD,E,MCKFE,EAAS,M,mCAEG,K,WAGiC,U,kCAIxD,MAAAC,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,QAAAE,IAAA,6CACCC,KAAKC,KAAOJ,EAAA,WAASI,KAAMD,KAAKC,KAAMC,MAAM,QAAQC,MAAOH,KAAKG,QAAoB,K","ignoreList":[]}