@postnord/pn-marketweb-components 3.5.3 → 4.0.0

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 (1509) hide show
  1. package/cjs/FetchHelper-2d4c697c.js +85 -0
  2. package/cjs/FetchHelper-2d4c697c.js.map +1 -0
  3. package/cjs/HeadingTag-19376e1f.js +12 -0
  4. package/cjs/HeadingTag-19376e1f.js.map +1 -0
  5. package/cjs/LocalStorageService-e1ee3fac.js +66 -0
  6. package/cjs/LocalStorageService-e1ee3fac.js.map +1 -0
  7. package/cjs/{FetchHelper-e951824f.js → MarketWebContextService-0fdc43c8.js} +1 -82
  8. package/cjs/MarketWebContextService-0fdc43c8.js.map +1 -0
  9. package/cjs/angle_up-049ec1d8.js +12 -0
  10. package/cjs/angle_up-049ec1d8.js.map +1 -0
  11. package/cjs/close-9e014a80.js +8 -0
  12. package/cjs/close-9e014a80.js.map +1 -0
  13. package/cjs/{index-1d8c9211.js → index-4067c6a5.js} +2 -2
  14. package/cjs/{index-1d8c9211.js.map → index-4067c6a5.js.map} +1 -1
  15. package/cjs/{index-34e1c673.js → index-b02670c2.js} +65 -8
  16. package/cjs/index-b02670c2.js.map +1 -0
  17. package/cjs/index.cjs.js +1 -1
  18. package/cjs/loader.cjs.js +2 -2
  19. package/cjs/pn-address-autofill.cjs.entry.js +5 -4
  20. package/cjs/pn-address-autofill.cjs.entry.js.map +1 -1
  21. package/cjs/pn-animated-tile.cjs.entry.js +2 -2
  22. package/cjs/pn-animated-tile.cjs.entry.js.map +1 -1
  23. package/cjs/pn-app-banner.cjs.entry.js +3 -3
  24. package/cjs/pn-app-banner.cjs.entry.js.map +1 -1
  25. package/cjs/pn-bonus-progressbar-level.cjs.entry.js +2 -2
  26. package/cjs/pn-bonus-progressbar-level.cjs.entry.js.map +1 -1
  27. package/cjs/pn-bonus-progressbar.cjs.entry.js +2 -2
  28. package/cjs/pn-bonus-progressbar.cjs.entry.js.map +1 -1
  29. package/cjs/pn-breakpoints.cjs.entry.js +3 -3
  30. package/cjs/pn-breakpoints.cjs.entry.js.map +1 -1
  31. package/cjs/pn-chart.cjs.entry.js +2 -2
  32. package/cjs/pn-chart.cjs.entry.js.map +1 -1
  33. package/cjs/pn-charts-card.cjs.entry.js +2 -2
  34. package/cjs/pn-charts-card.cjs.entry.js.map +1 -1
  35. package/cjs/pn-chat-message_2.cjs.entry.js +346 -0
  36. package/cjs/pn-chat-message_2.cjs.entry.js.map +1 -0
  37. package/cjs/pn-chat.cjs.entry.js +474 -0
  38. package/cjs/pn-chat.cjs.entry.js.map +1 -0
  39. package/cjs/pn-chat.service-eaf6ed50.js +157 -0
  40. package/cjs/pn-chat.service-eaf6ed50.js.map +1 -0
  41. package/cjs/pn-choice-button.cjs.entry.js +2 -2
  42. package/cjs/pn-choice-button.cjs.entry.js.map +1 -1
  43. package/cjs/pn-cta-block.cjs.entry.js +2 -2
  44. package/cjs/pn-cta-block.cjs.entry.js.map +1 -1
  45. package/cjs/pn-customernumber-selector-option.cjs.entry.js +3 -3
  46. package/cjs/pn-customernumber-selector-option.cjs.entry.js.map +1 -1
  47. package/cjs/pn-customernumber-selector.cjs.entry.js +4 -9
  48. package/cjs/pn-customernumber-selector.cjs.entry.js.map +1 -1
  49. package/cjs/pn-date-and-time.cjs.entry.js +2 -2
  50. package/cjs/pn-date-and-time.cjs.entry.js.map +1 -1
  51. package/cjs/pn-dropdown-choice-adds-row.cjs.entry.js +2 -2
  52. package/cjs/pn-dropdown-choice-adds-row.cjs.entry.js.map +1 -1
  53. package/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js +2 -2
  54. package/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js.map +1 -1
  55. package/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js +2 -2
  56. package/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js.map +1 -1
  57. package/cjs/pn-filter-checkbox.cjs.entry.js +2 -2
  58. package/cjs/pn-filter-checkbox.cjs.entry.js.map +1 -1
  59. package/cjs/pn-find-price-result.cjs.entry.js +5 -5
  60. package/cjs/pn-find-price-result.cjs.entry.js.map +1 -1
  61. package/cjs/{pn-find-price-store-051e931b.js → pn-find-price-store-0c8256c7.js} +2 -2
  62. package/cjs/{pn-find-price-store-051e931b.js.map → pn-find-price-store-0c8256c7.js.map} +1 -1
  63. package/cjs/pn-find-price.cjs.entry.js +6 -6
  64. package/cjs/pn-find-price.cjs.entry.js.map +1 -1
  65. package/cjs/pn-find-service-and-price-result.cjs.entry.js +5 -5
  66. package/cjs/pn-find-service-and-price-result.cjs.entry.js.map +1 -1
  67. package/cjs/{pn-find-service-and-price-store-3cec3d31.js → pn-find-service-and-price-store-13f060e0.js} +2 -2
  68. package/cjs/{pn-find-service-and-price-store-3cec3d31.js.map → pn-find-service-and-price-store-13f060e0.js.map} +1 -1
  69. package/cjs/pn-find-service-and-price.cjs.entry.js +5 -5
  70. package/cjs/pn-find-service-and-price.cjs.entry.js.map +1 -1
  71. package/cjs/pn-hero-block-international.cjs.entry.js +3 -3
  72. package/cjs/pn-hero-block-international.cjs.entry.js.map +1 -1
  73. package/cjs/pn-language-selector_9.cjs.entry.js +25 -27
  74. package/cjs/pn-language-selector_9.cjs.entry.js.map +1 -1
  75. package/cjs/pn-level-up-modal.cjs.entry.js +77 -0
  76. package/cjs/pn-level-up-modal.cjs.entry.js.map +1 -0
  77. package/cjs/pn-level-up.cjs.entry.js +139 -0
  78. package/cjs/pn-level-up.cjs.entry.js.map +1 -0
  79. package/cjs/pn-level-up.service-0e8e67c2.js +71 -0
  80. package/cjs/pn-level-up.service-0e8e67c2.js.map +1 -0
  81. package/cjs/pn-line-shape.cjs.entry.js +2 -2
  82. package/cjs/pn-line-shape.cjs.entry.js.map +1 -1
  83. package/cjs/pn-link-list.cjs.entry.js +3 -3
  84. package/cjs/pn-link-list.cjs.entry.js.map +1 -1
  85. package/cjs/pn-mainnav-link.cjs.entry.js +5 -5
  86. package/cjs/pn-mainnav-link.cjs.entry.js.map +1 -1
  87. package/cjs/{pn-mainnav-store-1a8153fd.js → pn-mainnav-store-5732f3ca.js} +2 -2
  88. package/cjs/{pn-mainnav-store-1a8153fd.js.map → pn-mainnav-store-5732f3ca.js.map} +1 -1
  89. package/cjs/pn-market-web-components.cjs.js +2 -2
  90. package/cjs/pn-marketweb-icon.cjs.entry.js +3 -3
  91. package/cjs/pn-marketweb-icon.cjs.entry.js.map +1 -1
  92. package/cjs/pn-marketweb-input.cjs.entry.js +2 -2
  93. package/cjs/pn-marketweb-input.cjs.entry.js.map +1 -1
  94. package/cjs/pn-marketweb-search.cjs.entry.js +6 -5
  95. package/cjs/pn-marketweb-search.cjs.entry.js.map +1 -1
  96. package/cjs/pn-marketweb-sitefooter.cjs.entry.js +7 -10
  97. package/cjs/pn-marketweb-sitefooter.cjs.entry.js.map +1 -1
  98. package/cjs/{pn-marketweb-siteheader-login-button_5.cjs.entry.js → pn-marketweb-siteheader-login-button_4.cjs.entry.js} +8 -26
  99. package/cjs/pn-marketweb-siteheader-login-button_4.cjs.entry.js.map +1 -0
  100. package/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js +4 -4
  101. package/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js.map +1 -1
  102. package/cjs/pn-marketweb-siteheader-login-mypage-button.cjs.entry.js +25 -0
  103. package/cjs/pn-marketweb-siteheader-login-mypage-button.cjs.entry.js.map +1 -0
  104. package/cjs/{pn-marketweb-siteheader-store-75853609.js → pn-marketweb-siteheader-store-ce9d9ac7.js} +2 -2
  105. package/cjs/{pn-marketweb-siteheader-store-75853609.js.map → pn-marketweb-siteheader-store-ce9d9ac7.js.map} +1 -1
  106. package/cjs/pn-marketweb-siteheader.cjs.entry.js +11 -10
  107. package/cjs/pn-marketweb-siteheader.cjs.entry.js.map +1 -1
  108. package/cjs/pn-marketweb-table.cjs.entry.js +459 -0
  109. package/cjs/pn-marketweb-table.cjs.entry.js.map +1 -0
  110. package/cjs/pn-media-block.cjs.entry.js +6 -6
  111. package/cjs/pn-media-block.cjs.entry.js.map +1 -1
  112. package/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js +2 -2
  113. package/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js.map +1 -1
  114. package/cjs/pn-multi-row-connected-dropdown.cjs.entry.js +2 -2
  115. package/cjs/pn-multi-row-connected-dropdown.cjs.entry.js.map +1 -1
  116. package/cjs/pn-multiple-input.cjs.entry.js +1 -1
  117. package/cjs/pn-parcel-tracker.cjs.entry.js +2 -2
  118. package/cjs/pn-parcel-tracker.cjs.entry.js.map +1 -1
  119. package/cjs/pn-pex-pricefinder.cjs.entry.js +3 -3
  120. package/cjs/pn-pex-pricefinder.cjs.entry.js.map +1 -1
  121. package/cjs/pn-play-on-scroll.cjs.entry.js +1 -1
  122. package/cjs/pn-product-card_3.cjs.entry.js +5 -5
  123. package/cjs/pn-product-card_3.cjs.entry.js.map +1 -1
  124. package/cjs/pn-product-pricelist-result.cjs.entry.js +4 -4
  125. package/cjs/pn-product-pricelist-result.cjs.entry.js.map +1 -1
  126. package/cjs/pn-product-pricelist.cjs.entry.js +6 -6
  127. package/cjs/pn-product-pricelist.cjs.entry.js.map +1 -1
  128. package/cjs/pn-product-tile-info_2.cjs.entry.js +4 -4
  129. package/cjs/pn-product-tile-info_2.cjs.entry.js.map +1 -1
  130. package/cjs/pn-product-tile.cjs.entry.js +3 -3
  131. package/cjs/pn-product-tile.cjs.entry.js.map +1 -1
  132. package/cjs/pn-profile-modal-customernumber.cjs.entry.js +3 -3
  133. package/cjs/pn-profile-modal-customernumber.cjs.entry.js.map +1 -1
  134. package/cjs/pn-profile-modal-profile.cjs.entry.js +6 -6
  135. package/cjs/pn-profile-modal-profile.cjs.entry.js.map +1 -1
  136. package/cjs/{pn-profile-modal-store-3b6fea24.js → pn-profile-modal-store-16f8092a.js} +2 -2
  137. package/cjs/{pn-profile-modal-store-3b6fea24.js.map → pn-profile-modal-store-16f8092a.js.map} +1 -1
  138. package/cjs/pn-profile-modal-type.cjs.entry.js +5 -5
  139. package/cjs/pn-profile-modal-type.cjs.entry.js.map +1 -1
  140. package/cjs/pn-profile-modal.cjs.entry.js +5 -5
  141. package/cjs/pn-profile-modal.cjs.entry.js.map +1 -1
  142. package/cjs/pn-profile-selector-option.cjs.entry.js +3 -3
  143. package/cjs/pn-profile-selector-option.cjs.entry.js.map +1 -1
  144. package/cjs/pn-profile-selector.cjs.entry.js +3 -3
  145. package/cjs/pn-profile-selector.cjs.entry.js.map +1 -1
  146. package/cjs/pn-proxio-findprice-result.cjs.entry.js +3 -3
  147. package/cjs/pn-proxio-findprice-result.cjs.entry.js.map +1 -1
  148. package/cjs/pn-proxio-findprice.cjs.entry.js +9 -8
  149. package/cjs/pn-proxio-findprice.cjs.entry.js.map +1 -1
  150. package/cjs/pn-proxio-pricegroup.cjs.entry.js +6 -5
  151. package/cjs/pn-proxio-pricegroup.cjs.entry.js.map +1 -1
  152. package/cjs/pn-proxio-productcard_4.cjs.entry.js +8 -8
  153. package/cjs/pn-proxio-productcard_4.cjs.entry.js.map +1 -1
  154. package/cjs/pn-qr-code-generator.cjs.entry.js +2945 -0
  155. package/cjs/pn-qr-code-generator.cjs.entry.js.map +1 -0
  156. package/cjs/pn-quick-cta.cjs.entry.js +2 -2
  157. package/cjs/pn-quick-cta.cjs.entry.js.map +1 -1
  158. package/cjs/pn-quote-card.cjs.entry.js +2 -2
  159. package/cjs/pn-quote-card.cjs.entry.js.map +1 -1
  160. package/cjs/pn-scroll_2.cjs.entry.js +2 -2
  161. package/cjs/pn-scroll_2.cjs.entry.js.map +1 -1
  162. package/cjs/pn-search.cjs.entry.js +54 -0
  163. package/cjs/pn-search.cjs.entry.js.map +1 -0
  164. package/cjs/pn-share-item.cjs.entry.js +2 -2
  165. package/cjs/pn-share-item.cjs.entry.js.map +1 -1
  166. package/cjs/pn-share.cjs.entry.js +2 -2
  167. package/cjs/pn-share.cjs.entry.js.map +1 -1
  168. package/cjs/pn-sidenav-level.cjs.entry.js +5 -5
  169. package/cjs/pn-sidenav-level.cjs.entry.js.map +1 -1
  170. package/cjs/pn-sidenav-link.cjs.entry.js +5 -5
  171. package/cjs/pn-sidenav-link.cjs.entry.js.map +1 -1
  172. package/cjs/{pn-sidenav-store-cf9c4996.js → pn-sidenav-store-236c8806.js} +2 -2
  173. package/cjs/{pn-sidenav-store-cf9c4996.js.map → pn-sidenav-store-236c8806.js.map} +1 -1
  174. package/cjs/pn-sidenav-togglebutton.cjs.entry.js +5 -5
  175. package/cjs/pn-sidenav-togglebutton.cjs.entry.js.map +1 -1
  176. package/cjs/pn-sidenav.cjs.entry.js +5 -5
  177. package/cjs/pn-sidenav.cjs.entry.js.map +1 -1
  178. package/cjs/pn-site-footer_3.cjs.entry.js +7 -7
  179. package/cjs/pn-site-footer_3.cjs.entry.js.map +1 -1
  180. package/cjs/pn-spotlight.cjs.entry.js +2 -2
  181. package/cjs/pn-spotlight.cjs.entry.js.map +1 -1
  182. package/cjs/pn-stats-info-data.cjs.entry.js +2 -2
  183. package/cjs/pn-stats-info-data.cjs.entry.js.map +1 -1
  184. package/cjs/pn-stats-info.cjs.entry.js +2 -2
  185. package/cjs/pn-stats-info.cjs.entry.js.map +1 -1
  186. package/cjs/pn-teaser-card.cjs.entry.js +5 -9
  187. package/cjs/pn-teaser-card.cjs.entry.js.map +1 -1
  188. package/cjs/pn-titletag.cjs.entry.js +3 -3
  189. package/cjs/pn-titletag.cjs.entry.js.map +1 -1
  190. package/cjs/pn-usp-promoter.cjs.entry.js +3 -3
  191. package/cjs/pn-usp-promoter.cjs.entry.js.map +1 -1
  192. package/cjs/pn-usp-simple.cjs.entry.js +56 -0
  193. package/cjs/pn-usp-simple.cjs.entry.js.map +1 -0
  194. package/collection/collection-manifest.json +10 -1
  195. package/collection/components/animation/pn-animated-tile/pn-animated-tile.css +25 -0
  196. package/collection/components/animation/pn-play-on-scroll/pn-video-overlay/pn-video-overlay.css +25 -0
  197. package/collection/components/cards/pn-quote-card/pn-line-shape/pn-line-shape.css +25 -0
  198. package/collection/components/cards/pn-quote-card/pn-quote-card.css +25 -0
  199. package/collection/components/cards/pn-teaser-card/pn-teaser-card.css +25 -0
  200. package/collection/components/cards/pn-teaser-card/pn-teaser-card.js +8 -11
  201. package/collection/components/cards/pn-teaser-card/pn-teaser-card.js.map +1 -1
  202. package/collection/components/cards/pn-teaser-card/pn-teaser-card.stories.js +3 -3
  203. package/collection/components/charts/pn-chart/pn-chart.css +25 -0
  204. package/collection/components/charts/pn-charts-card/pn-charts-card.css +25 -0
  205. package/collection/components/cta/pn-cta-block/pn-cta-block.css +25 -0
  206. package/collection/components/cta/pn-parcel-tracker/pn-parcel-tracker.css +25 -0
  207. package/collection/components/cta/pn-quick-cta/pn-quick-cta.css +25 -0
  208. package/collection/components/cta/pn-share/pn-share-item.css +25 -0
  209. package/collection/components/cta/pn-share/pn-share.css +25 -0
  210. package/collection/components/cta/pn-spotlight/pn-spotlight.css +25 -0
  211. package/collection/components/data-visualization/pn-stats-info/pn-stats-info-data/pn-stats-info-data.css +25 -0
  212. package/collection/components/data-visualization/pn-stats-info/pn-stats-info.css +25 -0
  213. package/collection/components/input/pn-address-autofill/pn-address-autofill.css +25 -0
  214. package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar-level.css +25 -0
  215. package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar.css +25 -0
  216. package/collection/components/input/pn-choice-button/pn-choice-button.css +25 -0
  217. package/collection/components/input/pn-date-and-time/pn-date-and-time.css +25 -0
  218. package/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.css +25 -0
  219. package/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows-row.css +25 -0
  220. package/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows.css +25 -0
  221. package/collection/components/input/pn-filter-checkbox/pn-filter-checkbox.css +25 -0
  222. package/collection/components/input/pn-marketweb-input/pn-marketweb-input.css +25 -0
  223. package/collection/components/input/pn-marketweb-search/pn-marketweb-search.css +25 -0
  224. package/collection/components/input/pn-marketweb-search/pn-marketweb-search.js +4 -3
  225. package/collection/components/input/pn-marketweb-search/pn-marketweb-search.js.map +1 -1
  226. package/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown-row.css +25 -0
  227. package/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown.css +25 -0
  228. package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.css +50 -0
  229. package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js +1 -1
  230. package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js.map +1 -1
  231. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-linklist.css +25 -0
  232. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-links.css +25 -0
  233. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.css +25 -0
  234. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.js +1 -0
  235. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.js.map +1 -1
  236. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.css +25 -0
  237. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js +1 -1
  238. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js.map +1 -1
  239. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.css +25 -0
  240. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js +1 -37
  241. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js.map +1 -1
  242. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.css +25 -0
  243. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +4 -4
  244. package/collection/components/media/pn-media-block/pn-media-block.css +25 -0
  245. package/collection/components/media/pn-media-block/pn-media-block.js +8 -8
  246. package/collection/components/media/pn-media-block/pn-media-block.js.map +1 -1
  247. package/collection/components/media/pn-media-block/pn-media-block.stories.js +76 -76
  248. package/collection/components/minor/pn-app-banner/pn-app-banner.css +25 -0
  249. package/collection/components/minor/pn-app-banner/pn-app-banner.js +1 -1
  250. package/collection/components/minor/pn-marketweb-icon/pn-marketweb-icon.css +25 -0
  251. package/collection/components/minor/pn-marketweb-icon/pn-marketweb-icon.js +1 -1
  252. package/collection/components/minor/pn-swan/pn-swan.css +25 -0
  253. package/collection/components/minor/pn-swan/pn-swan.js +1 -1
  254. package/collection/components/minor/pn-titletag/pn-titletag.css +25 -0
  255. package/collection/components/minor/pn-titletag/pn-titletag.js +1 -1
  256. package/collection/components/navigation/pn-language-selector/pn-language-selector-option.css +50 -0
  257. package/collection/components/navigation/pn-language-selector/pn-language-selector-option.js +1 -1
  258. package/collection/components/navigation/pn-language-selector/pn-language-selector.css +50 -0
  259. package/collection/components/navigation/pn-language-selector/pn-language-selector.js +1 -1
  260. package/collection/components/navigation/pn-mainnav/pn-mainnav-level.css +25 -0
  261. package/collection/components/navigation/pn-mainnav/pn-mainnav-level.js +2 -2
  262. package/collection/components/navigation/pn-mainnav/pn-mainnav-link.css +25 -0
  263. package/collection/components/navigation/pn-mainnav/pn-mainnav-link.js +1 -1
  264. package/collection/components/navigation/pn-mainnav/pn-mainnav-list.css +25 -0
  265. package/collection/components/navigation/pn-mainnav/pn-mainnav-list.js +1 -1
  266. package/collection/components/navigation/pn-mainnav/pn-mainnav.css +25 -0
  267. package/collection/components/navigation/pn-mainnav/pn-mainnav.js +1 -1
  268. package/collection/components/navigation/pn-sidenav/pn-sidenav-level.css +25 -0
  269. package/collection/components/navigation/pn-sidenav/pn-sidenav-level.js +1 -1
  270. package/collection/components/navigation/pn-sidenav/pn-sidenav-link.css +25 -0
  271. package/collection/components/navigation/pn-sidenav/pn-sidenav-link.js +1 -1
  272. package/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.css +25 -0
  273. package/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.js +1 -1
  274. package/collection/components/navigation/pn-sidenav/pn-sidenav.css +25 -0
  275. package/collection/components/navigation/pn-sidenav/pn-sidenav.js +1 -1
  276. package/collection/components/navigation/pn-site-footer/pn-site-footer-col.css +50 -0
  277. package/collection/components/navigation/pn-site-footer/pn-site-footer-col.js +1 -1
  278. package/collection/components/navigation/pn-site-footer/pn-site-footer.css +50 -0
  279. package/collection/components/navigation/pn-site-footer/pn-site-footer.js +1 -1
  280. package/collection/components/navigation/pn-site-selector/pn-site-selector-item.css +25 -0
  281. package/collection/components/navigation/pn-site-selector/pn-site-selector-item.js +1 -1
  282. package/collection/components/navigation/pn-site-selector/pn-site-selector.css +25 -0
  283. package/collection/components/navigation/pn-site-selector/pn-site-selector.js +1 -1
  284. package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.css +25 -0
  285. package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.js +1 -1
  286. package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.css +25 -0
  287. package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.js +1 -1
  288. package/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.css +25 -0
  289. package/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.js +1 -1
  290. package/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.css +25 -0
  291. package/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.js +2 -2
  292. package/collection/components/profile/pn-profile-modal/pn-profile-modal-type.css +25 -0
  293. package/collection/components/profile/pn-profile-modal/pn-profile-modal-type.js +1 -1
  294. package/collection/components/profile/pn-profile-modal/pn-profile-modal.css +25 -0
  295. package/collection/components/profile/pn-profile-modal/pn-profile-modal.js +1 -1
  296. package/collection/components/profile/pn-profile-selector/pn-profile-selector-option.css +25 -0
  297. package/collection/components/profile/pn-profile-selector/pn-profile-selector-option.js +1 -1
  298. package/collection/components/profile/pn-profile-selector/pn-profile-selector.css +25 -0
  299. package/collection/components/profile/pn-profile-selector/pn-profile-selector.js +1 -1
  300. package/collection/components/utilities/pn-breakpoints/pn-breakpoints.css +25 -0
  301. package/collection/components/utilities/pn-breakpoints/pn-breakpoints.js +1 -1
  302. package/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.css +146 -0
  303. package/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.js +118 -0
  304. package/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.js.map +1 -0
  305. package/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.js +219 -0
  306. package/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.js.map +1 -0
  307. package/collection/components/widgets/pn-chat/pn-chat-stories-constants.js +243 -0
  308. package/collection/components/widgets/pn-chat/pn-chat-stories-constants.js.map +1 -0
  309. package/collection/components/widgets/pn-chat/pn-chat.css +238 -0
  310. package/collection/components/widgets/pn-chat/pn-chat.js +840 -0
  311. package/collection/components/widgets/pn-chat/pn-chat.js.map +1 -0
  312. package/collection/components/widgets/pn-chat/pn-chat.models.js +2 -0
  313. package/collection/components/widgets/pn-chat/pn-chat.models.js.map +1 -0
  314. package/collection/components/widgets/pn-chat/pn-chat.service.js +151 -0
  315. package/collection/components/widgets/pn-chat/pn-chat.service.js.map +1 -0
  316. package/collection/components/widgets/pn-chat/pn-chat.stories.js +116 -0
  317. package/collection/components/widgets/pn-chat/pn-chat.stories.js.map +1 -0
  318. package/collection/components/widgets/pn-chat/translations.js +78 -0
  319. package/collection/components/widgets/pn-chat/translations.js.map +1 -0
  320. package/collection/components/widgets/pn-chat/types.js +2 -0
  321. package/collection/components/widgets/pn-chat/types.js.map +1 -0
  322. package/collection/components/widgets/pn-find-price/pn-find-price-result.css +25 -0
  323. package/collection/components/widgets/pn-find-price/pn-find-price-result.js +1 -1
  324. package/collection/components/widgets/pn-find-price/pn-find-price.css +25 -0
  325. package/collection/components/widgets/pn-find-price/pn-find-price.js +2 -2
  326. package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.css +25 -0
  327. package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.js +1 -1
  328. package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.css +25 -0
  329. package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.js +1 -1
  330. package/collection/components/widgets/pn-hero-block-international/pn-hero-block-international.css +25 -0
  331. package/collection/components/widgets/pn-hero-block-international/pn-hero-block-international.js +1 -1
  332. package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.css +94 -0
  333. package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.js +262 -0
  334. package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.js.map +1 -0
  335. package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.js +31 -0
  336. package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.js.map +1 -0
  337. package/collection/components/widgets/pn-level-up/pn-level-up.css +114 -0
  338. package/collection/components/widgets/pn-level-up/pn-level-up.js +476 -0
  339. package/collection/components/widgets/pn-level-up/pn-level-up.js.map +1 -0
  340. package/collection/components/widgets/pn-level-up/pn-level-up.models.js +2 -0
  341. package/collection/components/widgets/pn-level-up/pn-level-up.models.js.map +1 -0
  342. package/collection/components/widgets/pn-level-up/pn-level-up.service.js +65 -0
  343. package/collection/components/widgets/pn-level-up/pn-level-up.service.js.map +1 -0
  344. package/collection/components/widgets/pn-level-up/pn-level-up.stories.js +88 -0
  345. package/collection/components/widgets/pn-level-up/pn-level-up.stories.js.map +1 -0
  346. package/collection/components/widgets/pn-level-up/types.js +2 -0
  347. package/collection/components/widgets/pn-level-up/types.js.map +1 -0
  348. package/collection/components/widgets/pn-link-list/pn-link-list.css +25 -0
  349. package/collection/components/widgets/pn-link-list/pn-link-list.js +1 -1
  350. package/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.css +96 -0
  351. package/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.js +494 -0
  352. package/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.js.map +1 -0
  353. package/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.js +82 -0
  354. package/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.js.map +1 -0
  355. package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.css +255 -0
  356. package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.js +701 -0
  357. package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.js.map +1 -0
  358. package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.service.js +38 -0
  359. package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.service.js.map +1 -0
  360. package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.js +122 -0
  361. package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.js.map +1 -0
  362. package/collection/components/widgets/pn-marketweb-table/translations.js +73 -0
  363. package/collection/components/widgets/pn-marketweb-table/translations.js.map +1 -0
  364. package/collection/components/widgets/pn-marketweb-table/types.js +2 -0
  365. package/collection/components/widgets/pn-marketweb-table/types.js.map +1 -0
  366. package/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.css +25 -0
  367. package/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.js +1 -1
  368. package/collection/components/widgets/pn-product-card/pn-product-card-info.css +25 -0
  369. package/collection/components/widgets/pn-product-card/pn-product-card-price.css +25 -0
  370. package/collection/components/widgets/pn-product-card/pn-product-card.css +25 -0
  371. package/collection/components/widgets/pn-product-card/pn-product-card.js +1 -1
  372. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.css +25 -0
  373. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.js +1 -1
  374. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.css +25 -0
  375. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.js +2 -2
  376. package/collection/components/widgets/pn-product-tile/pn-product-tile-info.css +25 -0
  377. package/collection/components/widgets/pn-product-tile/pn-product-tile-info.js +1 -1
  378. package/collection/components/widgets/pn-product-tile/pn-product-tile-price.css +25 -0
  379. package/collection/components/widgets/pn-product-tile/pn-product-tile.css +25 -0
  380. package/collection/components/widgets/pn-product-tile/pn-product-tile.js +1 -1
  381. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.css +25 -0
  382. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.js +1 -1
  383. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.css +25 -0
  384. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.js +3 -3
  385. package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.css +25 -0
  386. package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.js +1 -1
  387. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.css +25 -0
  388. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.js +1 -1
  389. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.css +25 -0
  390. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.js +1 -1
  391. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-pricelink.css +25 -0
  392. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.css +25 -0
  393. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.js +1 -1
  394. package/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.css +61 -0
  395. package/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.js +198 -0
  396. package/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.js.map +1 -0
  397. package/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.js +29 -0
  398. package/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.js.map +1 -0
  399. package/collection/components/widgets/pn-search/pn-search.css +140 -0
  400. package/collection/components/widgets/pn-search/pn-search.js +368 -0
  401. package/collection/components/widgets/pn-search/pn-search.js.map +1 -0
  402. package/collection/components/widgets/pn-search/pn-search.stories.js +54 -0
  403. package/collection/components/widgets/pn-search/pn-search.stories.js.map +1 -0
  404. package/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.css +25 -0
  405. package/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.js +1 -1
  406. package/collection/components/widgets/pn-usp-simple/pn-usp-simple.css +116 -0
  407. package/collection/components/widgets/pn-usp-simple/pn-usp-simple.js +269 -0
  408. package/collection/components/widgets/pn-usp-simple/pn-usp-simple.js.map +1 -0
  409. package/collection/components/widgets/pn-usp-simple/pn-usp-simple.stories.js +63 -0
  410. package/collection/components/widgets/pn-usp-simple/pn-usp-simple.stories.js.map +1 -0
  411. package/collection/globals/HeadingTag.js +2 -2
  412. package/collection/globals/HeadingTag.js.map +1 -1
  413. package/collection/globals/LocalStorageService.js +50 -0
  414. package/collection/globals/LocalStorageService.js.map +1 -0
  415. package/collection/globals/ScreensizeDetect.js +80 -0
  416. package/collection/globals/ScreensizeDetect.js.map +1 -0
  417. package/collection/globals/types.js +2 -0
  418. package/collection/globals/types.js.map +1 -0
  419. package/collection/utils/utils.js +11 -0
  420. package/collection/utils/utils.js.map +1 -1
  421. package/components/FetchHelper.js +1 -243
  422. package/components/FetchHelper.js.map +1 -1
  423. package/components/HeadingTag.js +10 -0
  424. package/components/HeadingTag.js.map +1 -0
  425. package/components/LocalStorageService.js +64 -0
  426. package/components/LocalStorageService.js.map +1 -0
  427. package/{esm/FetchHelper-746f2bb6.js → components/MarketWebContextService.js} +2 -82
  428. package/components/MarketWebContextService.js.map +1 -0
  429. package/components/angle_up.js +9 -0
  430. package/components/angle_up.js.map +1 -0
  431. package/components/close.js +6 -0
  432. package/components/close.js.map +1 -0
  433. package/components/pn-address-autofill.js +3 -2
  434. package/components/pn-address-autofill.js.map +1 -1
  435. package/components/pn-animated-tile.js +1 -1
  436. package/components/pn-animated-tile.js.map +1 -1
  437. package/components/pn-app-banner.js +2 -2
  438. package/components/pn-app-banner.js.map +1 -1
  439. package/components/pn-bonus-progressbar-level.js +1 -1
  440. package/components/pn-bonus-progressbar-level.js.map +1 -1
  441. package/components/pn-bonus-progressbar.js +1 -1
  442. package/components/pn-bonus-progressbar.js.map +1 -1
  443. package/components/pn-breakpoints.js +2 -2
  444. package/components/pn-breakpoints.js.map +1 -1
  445. package/components/pn-chart.js +1 -1
  446. package/components/pn-chart.js.map +1 -1
  447. package/components/pn-charts-card.js +1 -1
  448. package/components/pn-charts-card.js.map +1 -1
  449. package/components/pn-chat-message.d.ts +11 -0
  450. package/components/pn-chat-message.js +8 -0
  451. package/components/pn-chat-message.js.map +1 -0
  452. package/components/pn-chat-message2.js +69 -0
  453. package/components/pn-chat-message2.js.map +1 -0
  454. package/components/pn-chat.d.ts +11 -0
  455. package/components/pn-chat.js +534 -0
  456. package/components/pn-chat.js.map +1 -0
  457. package/components/pn-chat.service.js +155 -0
  458. package/components/pn-chat.service.js.map +1 -0
  459. package/components/pn-choice-button2.js +1 -1
  460. package/components/pn-choice-button2.js.map +1 -1
  461. package/components/pn-cta-block.js +1 -1
  462. package/components/pn-cta-block.js.map +1 -1
  463. package/components/pn-customernumber-selector-option.js +2 -2
  464. package/components/pn-customernumber-selector-option.js.map +1 -1
  465. package/components/pn-customernumber-selector.js +3 -8
  466. package/components/pn-customernumber-selector.js.map +1 -1
  467. package/components/pn-date-and-time.js +1 -1
  468. package/components/pn-date-and-time.js.map +1 -1
  469. package/components/pn-dropdown-choice-adds-row.js +1 -1
  470. package/components/pn-dropdown-choice-adds-row.js.map +1 -1
  471. package/components/pn-dropdown-with-multi-input-rows-row2.js +1 -1
  472. package/components/pn-dropdown-with-multi-input-rows-row2.js.map +1 -1
  473. package/components/pn-dropdown-with-multi-input-rows.js +1 -1
  474. package/components/pn-dropdown-with-multi-input-rows.js.map +1 -1
  475. package/components/pn-filter-checkbox2.js +1 -1
  476. package/components/pn-filter-checkbox2.js.map +1 -1
  477. package/components/pn-find-price-result2.js +2 -2
  478. package/components/pn-find-price-result2.js.map +1 -1
  479. package/components/pn-find-price.js +3 -3
  480. package/components/pn-find-price.js.map +1 -1
  481. package/components/pn-find-service-and-price-result2.js +2 -2
  482. package/components/pn-find-service-and-price-result2.js.map +1 -1
  483. package/components/pn-find-service-and-price.js +2 -2
  484. package/components/pn-find-service-and-price.js.map +1 -1
  485. package/components/pn-hero-block-international.js +2 -2
  486. package/components/pn-hero-block-international.js.map +1 -1
  487. package/components/pn-language-selector-option2.js +2 -2
  488. package/components/pn-language-selector-option2.js.map +1 -1
  489. package/components/pn-language-selector2.js +2 -2
  490. package/components/pn-language-selector2.js.map +1 -1
  491. package/components/pn-level-up-modal.d.ts +11 -0
  492. package/components/pn-level-up-modal.js +8 -0
  493. package/components/pn-level-up-modal.js.map +1 -0
  494. package/components/pn-level-up-modal2.js +170 -0
  495. package/components/pn-level-up-modal2.js.map +1 -0
  496. package/components/pn-level-up.d.ts +11 -0
  497. package/components/pn-level-up.js +185 -0
  498. package/components/pn-level-up.js.map +1 -0
  499. package/components/pn-line-shape.js +1 -1
  500. package/components/pn-line-shape.js.map +1 -1
  501. package/components/pn-link-list.js +2 -2
  502. package/components/pn-link-list.js.map +1 -1
  503. package/components/pn-mainnav-level2.js +3 -3
  504. package/components/pn-mainnav-level2.js.map +1 -1
  505. package/components/pn-mainnav-link2.js +2 -2
  506. package/components/pn-mainnav-link2.js.map +1 -1
  507. package/components/pn-mainnav-list2.js +2 -2
  508. package/components/pn-mainnav-list2.js.map +1 -1
  509. package/components/pn-mainnav2.js +3 -5
  510. package/components/pn-mainnav2.js.map +1 -1
  511. package/components/pn-marketweb-carousel.d.ts +11 -0
  512. package/components/pn-marketweb-carousel.js +8 -0
  513. package/components/pn-marketweb-carousel.js.map +1 -0
  514. package/components/pn-marketweb-carousel2.js +326 -0
  515. package/components/pn-marketweb-carousel2.js.map +1 -0
  516. package/components/pn-marketweb-icon.js +2 -2
  517. package/components/pn-marketweb-icon.js.map +1 -1
  518. package/components/pn-marketweb-input2.js +1 -1
  519. package/components/pn-marketweb-input2.js.map +1 -1
  520. package/components/pn-marketweb-search.js +1 -125
  521. package/components/pn-marketweb-search.js.map +1 -1
  522. package/components/pn-marketweb-search2.js +130 -0
  523. package/components/pn-marketweb-search2.js.map +1 -0
  524. package/components/pn-marketweb-sitefooter.js +6 -9
  525. package/components/pn-marketweb-sitefooter.js.map +1 -1
  526. package/components/pn-marketweb-siteheader-login-linklist2.js +1 -1
  527. package/components/pn-marketweb-siteheader-login-linklist2.js.map +1 -1
  528. package/components/pn-marketweb-siteheader-login-links2.js +1 -1
  529. package/components/pn-marketweb-siteheader-login-links2.js.map +1 -1
  530. package/components/pn-marketweb-siteheader-login-mypage-button.js +34 -1
  531. package/components/pn-marketweb-siteheader-login-mypage-button.js.map +1 -1
  532. package/components/pn-marketweb-siteheader-login-profileselection2.js +2 -1
  533. package/components/pn-marketweb-siteheader-login-profileselection2.js.map +1 -1
  534. package/components/pn-marketweb-siteheader-login2.js +8 -14
  535. package/components/pn-marketweb-siteheader-login2.js.map +1 -1
  536. package/components/pn-marketweb-siteheader-search2.js +1 -1
  537. package/components/pn-marketweb-siteheader-search2.js.map +1 -1
  538. package/components/pn-marketweb-siteheader-unified-login2.js +3 -13
  539. package/components/pn-marketweb-siteheader-unified-login2.js.map +1 -1
  540. package/components/pn-marketweb-siteheader.js +27 -32
  541. package/components/pn-marketweb-siteheader.js.map +1 -1
  542. package/components/pn-marketweb-table.d.ts +11 -0
  543. package/components/pn-marketweb-table.js +502 -0
  544. package/components/pn-marketweb-table.js.map +1 -0
  545. package/components/pn-media-block.js +6 -6
  546. package/components/pn-media-block.js.map +1 -1
  547. package/components/pn-multi-row-connected-dropdown-row2.js +1 -1
  548. package/components/pn-multi-row-connected-dropdown-row2.js.map +1 -1
  549. package/components/pn-multi-row-connected-dropdown.js +1 -1
  550. package/components/pn-multi-row-connected-dropdown.js.map +1 -1
  551. package/components/pn-parcel-tracker.js +1 -1
  552. package/components/pn-parcel-tracker.js.map +1 -1
  553. package/components/pn-pex-pricefinder.js +2 -2
  554. package/components/pn-pex-pricefinder.js.map +1 -1
  555. package/components/pn-product-card-info2.js +1 -1
  556. package/components/pn-product-card-info2.js.map +1 -1
  557. package/components/pn-product-card-price2.js +1 -1
  558. package/components/pn-product-card-price2.js.map +1 -1
  559. package/components/pn-product-card2.js +2 -2
  560. package/components/pn-product-card2.js.map +1 -1
  561. package/components/pn-product-pricelist-result.js +2 -2
  562. package/components/pn-product-pricelist-result.js.map +1 -1
  563. package/components/pn-product-pricelist.js +3 -3
  564. package/components/pn-product-pricelist.js.map +1 -1
  565. package/components/pn-product-tile-info2.js +2 -2
  566. package/components/pn-product-tile-info2.js.map +1 -1
  567. package/components/pn-product-tile-price2.js +1 -1
  568. package/components/pn-product-tile-price2.js.map +1 -1
  569. package/components/pn-product-tile.js +2 -2
  570. package/components/pn-product-tile.js.map +1 -1
  571. package/components/pn-profile-modal-customernumber.js +2 -2
  572. package/components/pn-profile-modal-customernumber.js.map +1 -1
  573. package/components/pn-profile-modal-profile.js +3 -3
  574. package/components/pn-profile-modal-profile.js.map +1 -1
  575. package/components/pn-profile-modal-type.js +2 -2
  576. package/components/pn-profile-modal-type.js.map +1 -1
  577. package/components/pn-profile-modal.js +2 -2
  578. package/components/pn-profile-modal.js.map +1 -1
  579. package/components/pn-profile-selector-option.js +2 -2
  580. package/components/pn-profile-selector-option.js.map +1 -1
  581. package/components/pn-profile-selector.js +2 -2
  582. package/components/pn-profile-selector.js.map +1 -1
  583. package/components/pn-proxio-findprice-result2.js +2 -2
  584. package/components/pn-proxio-findprice-result2.js.map +1 -1
  585. package/components/pn-proxio-findprice.js +6 -5
  586. package/components/pn-proxio-findprice.js.map +1 -1
  587. package/components/pn-proxio-pricegroup.js +4 -3
  588. package/components/pn-proxio-pricegroup.js.map +1 -1
  589. package/components/pn-proxio-productcard-description2.js +2 -2
  590. package/components/pn-proxio-productcard-description2.js.map +1 -1
  591. package/components/pn-proxio-productcard-information2.js +2 -2
  592. package/components/pn-proxio-productcard-information2.js.map +1 -1
  593. package/components/pn-proxio-productcard-pricelink2.js +1 -1
  594. package/components/pn-proxio-productcard-pricelink2.js.map +1 -1
  595. package/components/pn-proxio-productcard2.js +2 -2
  596. package/components/pn-proxio-productcard2.js.map +1 -1
  597. package/components/pn-qr-code-generator.d.ts +11 -0
  598. package/components/pn-qr-code-generator.js +8 -0
  599. package/components/pn-qr-code-generator.js.map +1 -0
  600. package/components/pn-qr-code-generator2.js +2967 -0
  601. package/components/pn-qr-code-generator2.js.map +1 -0
  602. package/components/pn-quick-cta.js +1 -1
  603. package/components/pn-quick-cta.js.map +1 -1
  604. package/components/pn-quote-card.js +1 -1
  605. package/components/pn-quote-card.js.map +1 -1
  606. package/components/pn-search.d.ts +11 -0
  607. package/components/pn-search.js +91 -0
  608. package/components/pn-search.js.map +1 -0
  609. package/components/pn-share-item2.js +1 -1
  610. package/components/pn-share-item2.js.map +1 -1
  611. package/components/pn-share.js +1 -1
  612. package/components/pn-share.js.map +1 -1
  613. package/components/pn-sidenav-level.js +2 -2
  614. package/components/pn-sidenav-level.js.map +1 -1
  615. package/components/pn-sidenav-link.js +2 -2
  616. package/components/pn-sidenav-link.js.map +1 -1
  617. package/components/pn-sidenav-togglebutton.js +2 -2
  618. package/components/pn-sidenav-togglebutton.js.map +1 -1
  619. package/components/pn-sidenav.js +2 -2
  620. package/components/pn-sidenav.js.map +1 -1
  621. package/components/pn-site-footer-col2.js +2 -2
  622. package/components/pn-site-footer-col2.js.map +1 -1
  623. package/components/pn-site-footer2.js +2 -2
  624. package/components/pn-site-footer2.js.map +1 -1
  625. package/components/pn-site-selector-item2.js +2 -2
  626. package/components/pn-site-selector-item2.js.map +1 -1
  627. package/components/pn-site-selector2.js +2 -2
  628. package/components/pn-site-selector2.js.map +1 -1
  629. package/components/pn-spotlight.js +1 -1
  630. package/components/pn-spotlight.js.map +1 -1
  631. package/components/pn-stats-info-data2.js +1 -1
  632. package/components/pn-stats-info-data2.js.map +1 -1
  633. package/components/pn-stats-info.js +1 -1
  634. package/components/pn-stats-info.js.map +1 -1
  635. package/components/pn-swan2.js +2 -2
  636. package/components/pn-swan2.js.map +1 -1
  637. package/components/pn-teaser-card.js +5 -9
  638. package/components/pn-teaser-card.js.map +1 -1
  639. package/components/pn-titletag2.js +2 -2
  640. package/components/pn-titletag2.js.map +1 -1
  641. package/components/pn-usp-promoter.js +2 -2
  642. package/components/pn-usp-promoter.js.map +1 -1
  643. package/components/pn-usp-simple.d.ts +11 -0
  644. package/components/pn-usp-simple.js +82 -0
  645. package/components/pn-usp-simple.js.map +1 -0
  646. package/components/pn-video-overlay2.js +1 -1
  647. package/components/pn-video-overlay2.js.map +1 -1
  648. package/esm/FetchHelper-4789695a.js +83 -0
  649. package/esm/FetchHelper-4789695a.js.map +1 -0
  650. package/esm/HeadingTag-e20016ab.js +10 -0
  651. package/esm/HeadingTag-e20016ab.js.map +1 -0
  652. package/esm/LocalStorageService-78b1794d.js +64 -0
  653. package/esm/LocalStorageService-78b1794d.js.map +1 -0
  654. package/esm/MarketWebContextService-16c15670.js +245 -0
  655. package/esm/MarketWebContextService-16c15670.js.map +1 -0
  656. package/esm/angle_up-b5f955ea.js +9 -0
  657. package/esm/angle_up-b5f955ea.js.map +1 -0
  658. package/esm/close-9e7bd787.js +6 -0
  659. package/esm/close-9e7bd787.js.map +1 -0
  660. package/esm/{index-89124075.js → index-ae60ebec.js} +2 -2
  661. package/esm/{index-89124075.js.map → index-ae60ebec.js.map} +1 -1
  662. package/esm/{index-51d67461.js → index-c311acd6.js} +65 -9
  663. package/esm/index-c311acd6.js.map +1 -0
  664. package/esm/index.js +1 -1
  665. package/esm/loader.js +3 -3
  666. package/esm/pn-address-autofill.entry.js +4 -3
  667. package/esm/pn-address-autofill.entry.js.map +1 -1
  668. package/esm/pn-animated-tile.entry.js +2 -2
  669. package/esm/pn-animated-tile.entry.js.map +1 -1
  670. package/esm/pn-app-banner.entry.js +3 -3
  671. package/esm/pn-app-banner.entry.js.map +1 -1
  672. package/esm/pn-bonus-progressbar-level.entry.js +2 -2
  673. package/esm/pn-bonus-progressbar-level.entry.js.map +1 -1
  674. package/esm/pn-bonus-progressbar.entry.js +2 -2
  675. package/esm/pn-bonus-progressbar.entry.js.map +1 -1
  676. package/esm/pn-breakpoints.entry.js +3 -3
  677. package/esm/pn-breakpoints.entry.js.map +1 -1
  678. package/esm/pn-chart.entry.js +2 -2
  679. package/esm/pn-chart.entry.js.map +1 -1
  680. package/esm/pn-charts-card.entry.js +2 -2
  681. package/esm/pn-charts-card.entry.js.map +1 -1
  682. package/esm/pn-chat-message_2.entry.js +341 -0
  683. package/esm/pn-chat-message_2.entry.js.map +1 -0
  684. package/esm/pn-chat.entry.js +470 -0
  685. package/esm/pn-chat.entry.js.map +1 -0
  686. package/esm/pn-chat.service-f4037d6f.js +155 -0
  687. package/esm/pn-chat.service-f4037d6f.js.map +1 -0
  688. package/esm/pn-choice-button.entry.js +2 -2
  689. package/esm/pn-choice-button.entry.js.map +1 -1
  690. package/esm/pn-cta-block.entry.js +2 -2
  691. package/esm/pn-cta-block.entry.js.map +1 -1
  692. package/esm/pn-customernumber-selector-option.entry.js +3 -3
  693. package/esm/pn-customernumber-selector-option.entry.js.map +1 -1
  694. package/esm/pn-customernumber-selector.entry.js +4 -9
  695. package/esm/pn-customernumber-selector.entry.js.map +1 -1
  696. package/esm/pn-date-and-time.entry.js +2 -2
  697. package/esm/pn-date-and-time.entry.js.map +1 -1
  698. package/esm/pn-dropdown-choice-adds-row.entry.js +2 -2
  699. package/esm/pn-dropdown-choice-adds-row.entry.js.map +1 -1
  700. package/esm/pn-dropdown-with-multi-input-rows-row.entry.js +2 -2
  701. package/esm/pn-dropdown-with-multi-input-rows-row.entry.js.map +1 -1
  702. package/esm/pn-dropdown-with-multi-input-rows.entry.js +2 -2
  703. package/esm/pn-dropdown-with-multi-input-rows.entry.js.map +1 -1
  704. package/esm/pn-filter-checkbox.entry.js +2 -2
  705. package/esm/pn-filter-checkbox.entry.js.map +1 -1
  706. package/esm/pn-find-price-result.entry.js +5 -5
  707. package/esm/pn-find-price-result.entry.js.map +1 -1
  708. package/esm/{pn-find-price-store-c9a9d3d4.js → pn-find-price-store-f97f2325.js} +2 -2
  709. package/esm/{pn-find-price-store-c9a9d3d4.js.map → pn-find-price-store-f97f2325.js.map} +1 -1
  710. package/esm/pn-find-price.entry.js +6 -6
  711. package/esm/pn-find-price.entry.js.map +1 -1
  712. package/esm/pn-find-service-and-price-result.entry.js +5 -5
  713. package/esm/pn-find-service-and-price-result.entry.js.map +1 -1
  714. package/esm/{pn-find-service-and-price-store-60aa5801.js → pn-find-service-and-price-store-6553566d.js} +2 -2
  715. package/esm/{pn-find-service-and-price-store-60aa5801.js.map → pn-find-service-and-price-store-6553566d.js.map} +1 -1
  716. package/esm/pn-find-service-and-price.entry.js +5 -5
  717. package/esm/pn-find-service-and-price.entry.js.map +1 -1
  718. package/esm/pn-hero-block-international.entry.js +3 -3
  719. package/esm/pn-hero-block-international.entry.js.map +1 -1
  720. package/esm/pn-language-selector_9.entry.js +25 -27
  721. package/esm/pn-language-selector_9.entry.js.map +1 -1
  722. package/esm/pn-level-up-modal.entry.js +73 -0
  723. package/esm/pn-level-up-modal.entry.js.map +1 -0
  724. package/esm/pn-level-up.entry.js +135 -0
  725. package/esm/pn-level-up.entry.js.map +1 -0
  726. package/esm/pn-level-up.service-5c602f23.js +69 -0
  727. package/esm/pn-level-up.service-5c602f23.js.map +1 -0
  728. package/esm/pn-line-shape.entry.js +2 -2
  729. package/esm/pn-line-shape.entry.js.map +1 -1
  730. package/esm/pn-link-list.entry.js +3 -3
  731. package/esm/pn-link-list.entry.js.map +1 -1
  732. package/esm/pn-mainnav-link.entry.js +5 -5
  733. package/esm/pn-mainnav-link.entry.js.map +1 -1
  734. package/esm/{pn-mainnav-store-9c42bc66.js → pn-mainnav-store-23387019.js} +2 -2
  735. package/esm/{pn-mainnav-store-9c42bc66.js.map → pn-mainnav-store-23387019.js.map} +1 -1
  736. package/esm/pn-market-web-components.js +3 -3
  737. package/esm/pn-marketweb-icon.entry.js +3 -3
  738. package/esm/pn-marketweb-icon.entry.js.map +1 -1
  739. package/esm/pn-marketweb-input.entry.js +2 -2
  740. package/esm/pn-marketweb-input.entry.js.map +1 -1
  741. package/esm/pn-marketweb-search.entry.js +6 -5
  742. package/esm/pn-marketweb-search.entry.js.map +1 -1
  743. package/esm/pn-marketweb-sitefooter.entry.js +6 -9
  744. package/esm/pn-marketweb-sitefooter.entry.js.map +1 -1
  745. package/esm/{pn-marketweb-siteheader-login-button_5.entry.js → pn-marketweb-siteheader-login-button_4.entry.js} +9 -26
  746. package/esm/pn-marketweb-siteheader-login-button_4.entry.js.map +1 -0
  747. package/esm/pn-marketweb-siteheader-login-linklist.entry.js +4 -4
  748. package/esm/pn-marketweb-siteheader-login-linklist.entry.js.map +1 -1
  749. package/esm/pn-marketweb-siteheader-login-mypage-button.entry.js +21 -0
  750. package/esm/pn-marketweb-siteheader-login-mypage-button.entry.js.map +1 -0
  751. package/esm/{pn-marketweb-siteheader-store-91f74255.js → pn-marketweb-siteheader-store-f60eb1e4.js} +2 -2
  752. package/esm/{pn-marketweb-siteheader-store-91f74255.js.map → pn-marketweb-siteheader-store-f60eb1e4.js.map} +1 -1
  753. package/esm/pn-marketweb-siteheader.entry.js +10 -9
  754. package/esm/pn-marketweb-siteheader.entry.js.map +1 -1
  755. package/esm/pn-marketweb-table.entry.js +455 -0
  756. package/esm/pn-marketweb-table.entry.js.map +1 -0
  757. package/esm/pn-media-block.entry.js +6 -6
  758. package/esm/pn-media-block.entry.js.map +1 -1
  759. package/esm/pn-multi-row-connected-dropdown-row.entry.js +2 -2
  760. package/esm/pn-multi-row-connected-dropdown-row.entry.js.map +1 -1
  761. package/esm/pn-multi-row-connected-dropdown.entry.js +2 -2
  762. package/esm/pn-multi-row-connected-dropdown.entry.js.map +1 -1
  763. package/esm/pn-multiple-input.entry.js +1 -1
  764. package/esm/pn-parcel-tracker.entry.js +2 -2
  765. package/esm/pn-parcel-tracker.entry.js.map +1 -1
  766. package/esm/pn-pex-pricefinder.entry.js +3 -3
  767. package/esm/pn-pex-pricefinder.entry.js.map +1 -1
  768. package/esm/pn-play-on-scroll.entry.js +1 -1
  769. package/esm/pn-product-card_3.entry.js +5 -5
  770. package/esm/pn-product-card_3.entry.js.map +1 -1
  771. package/esm/pn-product-pricelist-result.entry.js +4 -4
  772. package/esm/pn-product-pricelist-result.entry.js.map +1 -1
  773. package/esm/pn-product-pricelist.entry.js +6 -6
  774. package/esm/pn-product-pricelist.entry.js.map +1 -1
  775. package/esm/pn-product-tile-info_2.entry.js +4 -4
  776. package/esm/pn-product-tile-info_2.entry.js.map +1 -1
  777. package/esm/pn-product-tile.entry.js +3 -3
  778. package/esm/pn-product-tile.entry.js.map +1 -1
  779. package/esm/pn-profile-modal-customernumber.entry.js +3 -3
  780. package/esm/pn-profile-modal-customernumber.entry.js.map +1 -1
  781. package/esm/pn-profile-modal-profile.entry.js +6 -6
  782. package/esm/pn-profile-modal-profile.entry.js.map +1 -1
  783. package/esm/{pn-profile-modal-store-4655b124.js → pn-profile-modal-store-5d651bd5.js} +2 -2
  784. package/esm/{pn-profile-modal-store-4655b124.js.map → pn-profile-modal-store-5d651bd5.js.map} +1 -1
  785. package/esm/pn-profile-modal-type.entry.js +5 -5
  786. package/esm/pn-profile-modal-type.entry.js.map +1 -1
  787. package/esm/pn-profile-modal.entry.js +5 -5
  788. package/esm/pn-profile-modal.entry.js.map +1 -1
  789. package/esm/pn-profile-selector-option.entry.js +3 -3
  790. package/esm/pn-profile-selector-option.entry.js.map +1 -1
  791. package/esm/pn-profile-selector.entry.js +3 -3
  792. package/esm/pn-profile-selector.entry.js.map +1 -1
  793. package/esm/pn-proxio-findprice-result.entry.js +3 -3
  794. package/esm/pn-proxio-findprice-result.entry.js.map +1 -1
  795. package/esm/pn-proxio-findprice.entry.js +8 -7
  796. package/esm/pn-proxio-findprice.entry.js.map +1 -1
  797. package/esm/pn-proxio-pricegroup.entry.js +5 -4
  798. package/esm/pn-proxio-pricegroup.entry.js.map +1 -1
  799. package/esm/pn-proxio-productcard_4.entry.js +8 -8
  800. package/esm/pn-proxio-productcard_4.entry.js.map +1 -1
  801. package/esm/pn-qr-code-generator.entry.js +2941 -0
  802. package/esm/pn-qr-code-generator.entry.js.map +1 -0
  803. package/esm/pn-quick-cta.entry.js +2 -2
  804. package/esm/pn-quick-cta.entry.js.map +1 -1
  805. package/esm/pn-quote-card.entry.js +2 -2
  806. package/esm/pn-quote-card.entry.js.map +1 -1
  807. package/esm/pn-scroll_2.entry.js +2 -2
  808. package/esm/pn-scroll_2.entry.js.map +1 -1
  809. package/esm/pn-search.entry.js +50 -0
  810. package/esm/pn-search.entry.js.map +1 -0
  811. package/esm/pn-share-item.entry.js +2 -2
  812. package/esm/pn-share-item.entry.js.map +1 -1
  813. package/esm/pn-share.entry.js +2 -2
  814. package/esm/pn-share.entry.js.map +1 -1
  815. package/esm/pn-sidenav-level.entry.js +5 -5
  816. package/esm/pn-sidenav-level.entry.js.map +1 -1
  817. package/esm/pn-sidenav-link.entry.js +5 -5
  818. package/esm/pn-sidenav-link.entry.js.map +1 -1
  819. package/esm/{pn-sidenav-store-85bdb1e6.js → pn-sidenav-store-e2038d79.js} +2 -2
  820. package/esm/{pn-sidenav-store-85bdb1e6.js.map → pn-sidenav-store-e2038d79.js.map} +1 -1
  821. package/esm/pn-sidenav-togglebutton.entry.js +5 -5
  822. package/esm/pn-sidenav-togglebutton.entry.js.map +1 -1
  823. package/esm/pn-sidenav.entry.js +5 -5
  824. package/esm/pn-sidenav.entry.js.map +1 -1
  825. package/esm/pn-site-footer_3.entry.js +7 -7
  826. package/esm/pn-site-footer_3.entry.js.map +1 -1
  827. package/esm/pn-spotlight.entry.js +2 -2
  828. package/esm/pn-spotlight.entry.js.map +1 -1
  829. package/esm/pn-stats-info-data.entry.js +2 -2
  830. package/esm/pn-stats-info-data.entry.js.map +1 -1
  831. package/esm/pn-stats-info.entry.js +2 -2
  832. package/esm/pn-stats-info.entry.js.map +1 -1
  833. package/esm/pn-teaser-card.entry.js +5 -9
  834. package/esm/pn-teaser-card.entry.js.map +1 -1
  835. package/esm/pn-titletag.entry.js +3 -3
  836. package/esm/pn-titletag.entry.js.map +1 -1
  837. package/esm/pn-usp-promoter.entry.js +3 -3
  838. package/esm/pn-usp-promoter.entry.js.map +1 -1
  839. package/esm/pn-usp-simple.entry.js +52 -0
  840. package/esm/pn-usp-simple.entry.js.map +1 -0
  841. package/package.json +5 -3
  842. package/pn-market-web-components/index.esm.js +1 -1
  843. package/pn-market-web-components/index.esm.js.map +1 -1
  844. package/pn-market-web-components/p-015127bf.entry.js +2 -0
  845. package/pn-market-web-components/{p-c5772021.entry.js.map → p-015127bf.entry.js.map} +1 -1
  846. package/pn-market-web-components/p-04107723.entry.js +2 -0
  847. package/pn-market-web-components/p-04107723.entry.js.map +1 -0
  848. package/pn-market-web-components/p-08b473e0.entry.js +2 -0
  849. package/pn-market-web-components/{p-a38118be.entry.js.map → p-08b473e0.entry.js.map} +1 -1
  850. package/pn-market-web-components/p-0b5a125d.entry.js +2 -0
  851. package/pn-market-web-components/p-0b5a125d.entry.js.map +1 -0
  852. package/pn-market-web-components/p-0b920554.js +2 -0
  853. package/pn-market-web-components/p-0b920554.js.map +1 -0
  854. package/pn-market-web-components/p-0fc01d3f.entry.js +2 -0
  855. package/pn-market-web-components/{p-4fa5bc85.entry.js.map → p-0fc01d3f.entry.js.map} +1 -1
  856. package/pn-market-web-components/p-10776075.entry.js +2 -0
  857. package/pn-market-web-components/p-10776075.entry.js.map +1 -0
  858. package/pn-market-web-components/p-17c43a96.entry.js +2 -0
  859. package/pn-market-web-components/p-17c43a96.entry.js.map +1 -0
  860. package/pn-market-web-components/p-19bbac6d.entry.js +2 -0
  861. package/pn-market-web-components/{p-ea3d6f7e.entry.js.map → p-19bbac6d.entry.js.map} +1 -1
  862. package/pn-market-web-components/p-230ef9aa.entry.js +2 -0
  863. package/pn-market-web-components/{p-a419cd91.entry.js.map → p-230ef9aa.entry.js.map} +1 -1
  864. package/pn-market-web-components/p-268dc1fa.entry.js +2 -0
  865. package/pn-market-web-components/p-268dc1fa.entry.js.map +1 -0
  866. package/pn-market-web-components/p-28d2f7fa.entry.js +2 -0
  867. package/pn-market-web-components/p-28d2f7fa.entry.js.map +1 -0
  868. package/pn-market-web-components/p-292db484.entry.js +2 -0
  869. package/pn-market-web-components/{p-76e6708b.entry.js.map → p-292db484.entry.js.map} +1 -1
  870. package/pn-market-web-components/p-2a58d83b.entry.js +2 -0
  871. package/pn-market-web-components/{p-55643d76.entry.js.map → p-2a58d83b.entry.js.map} +1 -1
  872. package/pn-market-web-components/p-2c19edca.entry.js +2 -0
  873. package/pn-market-web-components/{p-72dbca40.entry.js.map → p-2c19edca.entry.js.map} +1 -1
  874. package/pn-market-web-components/p-2fd60147.entry.js +2 -0
  875. package/pn-market-web-components/p-2fd60147.entry.js.map +1 -0
  876. package/pn-market-web-components/p-3478f368.js +2 -0
  877. package/pn-market-web-components/p-3478f368.js.map +1 -0
  878. package/pn-market-web-components/p-34a98554.entry.js +2 -0
  879. package/pn-market-web-components/{p-cf39491b.entry.js.map → p-34a98554.entry.js.map} +1 -1
  880. package/pn-market-web-components/p-35847eda.entry.js +2 -0
  881. package/pn-market-web-components/{p-e6e012fb.entry.js.map → p-35847eda.entry.js.map} +1 -1
  882. package/pn-market-web-components/p-366fd15a.js +2 -0
  883. package/pn-market-web-components/p-366fd15a.js.map +1 -0
  884. package/pn-market-web-components/p-389a94e7.entry.js +2 -0
  885. package/pn-market-web-components/{p-190c6938.entry.js.map → p-389a94e7.entry.js.map} +1 -1
  886. package/pn-market-web-components/p-39b75c62.entry.js +2 -0
  887. package/pn-market-web-components/{p-530274ae.entry.js.map → p-39b75c62.entry.js.map} +1 -1
  888. package/pn-market-web-components/p-3d10bc37.entry.js +2 -0
  889. package/pn-market-web-components/{p-45d1e1be.entry.js.map → p-3d10bc37.entry.js.map} +1 -1
  890. package/pn-market-web-components/p-3e197670.entry.js +2 -0
  891. package/pn-market-web-components/{p-6a5f7dee.entry.js.map → p-3e197670.entry.js.map} +1 -1
  892. package/pn-market-web-components/p-40bce1b1.entry.js +2 -0
  893. package/pn-market-web-components/p-40bce1b1.entry.js.map +1 -0
  894. package/pn-market-web-components/p-41cdac85.entry.js +2 -0
  895. package/pn-market-web-components/{p-65ab3003.entry.js.map → p-41cdac85.entry.js.map} +1 -1
  896. package/pn-market-web-components/p-4aedb76c.entry.js +2 -0
  897. package/pn-market-web-components/{p-ea7b0d21.entry.js.map → p-4aedb76c.entry.js.map} +1 -1
  898. package/pn-market-web-components/p-4e924d13.entry.js +2 -0
  899. package/pn-market-web-components/p-4e924d13.entry.js.map +1 -0
  900. package/pn-market-web-components/p-4f639380.entry.js +2 -0
  901. package/pn-market-web-components/{p-aeeabb32.entry.js.map → p-4f639380.entry.js.map} +1 -1
  902. package/pn-market-web-components/p-51f136f3.entry.js +2 -0
  903. package/pn-market-web-components/p-51f136f3.entry.js.map +1 -0
  904. package/pn-market-web-components/p-542f949d.entry.js +2 -0
  905. package/pn-market-web-components/{p-77a35f5e.entry.js.map → p-542f949d.entry.js.map} +1 -1
  906. package/pn-market-web-components/p-5a981927.entry.js +2 -0
  907. package/pn-market-web-components/{p-b35cdbac.entry.js.map → p-5a981927.entry.js.map} +1 -1
  908. package/pn-market-web-components/p-5f4ccd8a.js +2 -0
  909. package/pn-market-web-components/p-5f4ccd8a.js.map +1 -0
  910. package/pn-market-web-components/p-60b77eed.entry.js +2 -0
  911. package/pn-market-web-components/{p-e916e99d.entry.js.map → p-60b77eed.entry.js.map} +1 -1
  912. package/pn-market-web-components/p-619f2143.entry.js +2 -0
  913. package/pn-market-web-components/{p-a6866467.entry.js.map → p-619f2143.entry.js.map} +1 -1
  914. package/pn-market-web-components/p-61bd81d7.entry.js +2 -0
  915. package/pn-market-web-components/{p-8c26b98d.entry.js.map → p-61bd81d7.entry.js.map} +1 -1
  916. package/pn-market-web-components/p-64851da0.entry.js +2 -0
  917. package/pn-market-web-components/{p-776f3d51.entry.js.map → p-64851da0.entry.js.map} +1 -1
  918. package/pn-market-web-components/p-659a4db5.entry.js +2 -0
  919. package/pn-market-web-components/{p-231b97e1.entry.js.map → p-659a4db5.entry.js.map} +1 -1
  920. package/pn-market-web-components/p-65a046be.entry.js +2 -0
  921. package/pn-market-web-components/{p-0ec8d040.entry.js.map → p-65a046be.entry.js.map} +1 -1
  922. package/pn-market-web-components/p-66da6e15.entry.js +2 -0
  923. package/pn-market-web-components/{p-62cabd1e.entry.js.map → p-66da6e15.entry.js.map} +1 -1
  924. package/pn-market-web-components/{p-65f243c1.js → p-6b1d045c.js} +2 -2
  925. package/pn-market-web-components/p-6b1d045c.js.map +1 -0
  926. package/pn-market-web-components/p-71db6836.entry.js +2 -0
  927. package/pn-market-web-components/{p-3fb8e665.entry.js.map → p-71db6836.entry.js.map} +1 -1
  928. package/pn-market-web-components/p-72828265.js +2 -0
  929. package/pn-market-web-components/p-72f57a04.entry.js +2 -0
  930. package/pn-market-web-components/{p-25d53df2.entry.js.map → p-72f57a04.entry.js.map} +1 -1
  931. package/pn-market-web-components/p-763a4e13.entry.js +2 -0
  932. package/pn-market-web-components/{p-fc157a1e.entry.js.map → p-763a4e13.entry.js.map} +1 -1
  933. package/pn-market-web-components/{p-e09a907b.js → p-793e1339.js} +2 -2
  934. package/pn-market-web-components/p-79e4715c.entry.js +2 -0
  935. package/pn-market-web-components/{p-6647d2c4.entry.js.map → p-79e4715c.entry.js.map} +1 -1
  936. package/pn-market-web-components/p-7b4f9fdf.entry.js +2 -0
  937. package/pn-market-web-components/{p-066e9db9.entry.js.map → p-7b4f9fdf.entry.js.map} +1 -1
  938. package/pn-market-web-components/p-7b7629c5.entry.js +2 -0
  939. package/pn-market-web-components/{p-24086c59.entry.js.map → p-7b7629c5.entry.js.map} +1 -1
  940. package/pn-market-web-components/p-7db6ef34.entry.js +2 -0
  941. package/pn-market-web-components/{p-4e3059dd.entry.js.map → p-7db6ef34.entry.js.map} +1 -1
  942. package/pn-market-web-components/p-809ed802.entry.js +2 -0
  943. package/pn-market-web-components/p-809ed802.entry.js.map +1 -0
  944. package/pn-market-web-components/p-82546a44.js +3 -0
  945. package/pn-market-web-components/p-82546a44.js.map +1 -0
  946. package/pn-market-web-components/p-84fc8e05.entry.js +2 -0
  947. package/pn-market-web-components/{p-25dfc349.entry.js.map → p-84fc8e05.entry.js.map} +1 -1
  948. package/pn-market-web-components/p-85b42b44.entry.js +2 -0
  949. package/pn-market-web-components/{p-e8278e9e.entry.js.map → p-85b42b44.entry.js.map} +1 -1
  950. package/pn-market-web-components/{p-2509d18d.js → p-8836de82.js} +2 -2
  951. package/pn-market-web-components/{p-560e5291.entry.js → p-8a651698.entry.js} +2 -2
  952. package/pn-market-web-components/p-8d78b631.js +2 -0
  953. package/pn-market-web-components/p-8d78b631.js.map +1 -0
  954. package/pn-market-web-components/p-8d874454.entry.js +2 -0
  955. package/pn-market-web-components/{p-b5a0275d.entry.js.map → p-8d874454.entry.js.map} +1 -1
  956. package/pn-market-web-components/p-8d98f709.entry.js +2 -0
  957. package/pn-market-web-components/{p-74fd7435.entry.js.map → p-8d98f709.entry.js.map} +1 -1
  958. package/pn-market-web-components/p-9088d3f5.entry.js +2 -0
  959. package/pn-market-web-components/{p-a72c2729.entry.js.map → p-9088d3f5.entry.js.map} +1 -1
  960. package/pn-market-web-components/p-920ce5f2.entry.js +2 -0
  961. package/pn-market-web-components/{p-15d70aaf.entry.js.map → p-920ce5f2.entry.js.map} +1 -1
  962. package/pn-market-web-components/{p-959a37d9.js → p-930e2943.js} +2 -2
  963. package/pn-market-web-components/p-9454075f.entry.js +2 -0
  964. package/pn-market-web-components/{p-45b8cadb.entry.js.map → p-9454075f.entry.js.map} +1 -1
  965. package/pn-market-web-components/p-95d32ab4.entry.js +2 -0
  966. package/pn-market-web-components/{p-758f1b53.entry.js.map → p-95d32ab4.entry.js.map} +1 -1
  967. package/pn-market-web-components/p-a079c496.js +2 -0
  968. package/pn-market-web-components/p-a079c496.js.map +1 -0
  969. package/pn-market-web-components/{p-eaee1dd6.entry.js → p-a73e4811.entry.js} +2 -2
  970. package/pn-market-web-components/{p-eaee1dd6.entry.js.map → p-a73e4811.entry.js.map} +1 -1
  971. package/pn-market-web-components/p-ad282b7c.entry.js +2 -0
  972. package/pn-market-web-components/{p-4d2ca281.entry.js.map → p-ad282b7c.entry.js.map} +1 -1
  973. package/pn-market-web-components/{p-155c2049.entry.js → p-ad9a7633.entry.js} +2 -2
  974. package/pn-market-web-components/p-b9590d81.entry.js +2 -0
  975. package/pn-market-web-components/{p-59549c74.entry.js.map → p-b9590d81.entry.js.map} +1 -1
  976. package/pn-market-web-components/p-c4e353b3.entry.js +2 -0
  977. package/pn-market-web-components/{p-5a1b6e6d.entry.js.map → p-c4e353b3.entry.js.map} +1 -1
  978. package/pn-market-web-components/p-c89cb749.entry.js +2 -0
  979. package/pn-market-web-components/{p-95519556.entry.js.map → p-c89cb749.entry.js.map} +1 -1
  980. package/pn-market-web-components/p-c9038b03.entry.js +2 -0
  981. package/pn-market-web-components/{p-64d0dbba.entry.js.map → p-c9038b03.entry.js.map} +1 -1
  982. package/pn-market-web-components/p-cbb1d57d.entry.js +2 -0
  983. package/pn-market-web-components/{p-6fdd5b5a.entry.js.map → p-cbb1d57d.entry.js.map} +1 -1
  984. package/pn-market-web-components/p-cc7c596e.entry.js +2 -0
  985. package/pn-market-web-components/p-cc7c596e.entry.js.map +1 -0
  986. package/pn-market-web-components/p-cda742ba.entry.js +2 -0
  987. package/pn-market-web-components/p-cda742ba.entry.js.map +1 -0
  988. package/pn-market-web-components/p-ce87ff8a.entry.js +2 -0
  989. package/pn-market-web-components/{p-e2e3ac2f.entry.js.map → p-ce87ff8a.entry.js.map} +1 -1
  990. package/pn-market-web-components/p-cf8a1fb9.js +2 -0
  991. package/pn-market-web-components/p-cf8a1fb9.js.map +1 -0
  992. package/pn-market-web-components/p-d17af75d.entry.js +2 -0
  993. package/pn-market-web-components/{p-b693f78a.entry.js.map → p-d17af75d.entry.js.map} +1 -1
  994. package/pn-market-web-components/p-d5c45da2.entry.js +2 -0
  995. package/pn-market-web-components/{p-e5ae757f.entry.js.map → p-d5c45da2.entry.js.map} +1 -1
  996. package/pn-market-web-components/p-d7170c0e.entry.js +2 -0
  997. package/pn-market-web-components/{p-d0a085cc.entry.js.map → p-d7170c0e.entry.js.map} +1 -1
  998. package/pn-market-web-components/p-d75a2f7c.entry.js +2 -0
  999. package/pn-market-web-components/{p-0ac30ee9.entry.js.map → p-d75a2f7c.entry.js.map} +1 -1
  1000. package/pn-market-web-components/p-daa74e60.entry.js +2 -0
  1001. package/pn-market-web-components/{p-7076038b.entry.js.map → p-daa74e60.entry.js.map} +1 -1
  1002. package/pn-market-web-components/p-dc2ee6f8.entry.js +2 -0
  1003. package/pn-market-web-components/p-dc2ee6f8.entry.js.map +1 -0
  1004. package/pn-market-web-components/p-e733f44f.entry.js +2 -0
  1005. package/pn-market-web-components/p-e733f44f.entry.js.map +1 -0
  1006. package/pn-market-web-components/p-e8622338.entry.js +2 -0
  1007. package/pn-market-web-components/{p-b9505c69.entry.js.map → p-e8622338.entry.js.map} +1 -1
  1008. package/pn-market-web-components/p-eb21f772.entry.js +2 -0
  1009. package/pn-market-web-components/p-eb21f772.entry.js.map +1 -0
  1010. package/pn-market-web-components/p-efab81a9.entry.js +2 -0
  1011. package/pn-market-web-components/{p-a11fdf9f.entry.js.map → p-efab81a9.entry.js.map} +1 -1
  1012. package/pn-market-web-components/{p-278cda98.entry.js → p-f0df7694.entry.js} +4 -4
  1013. package/pn-market-web-components/{p-278cda98.entry.js.map → p-f0df7694.entry.js.map} +1 -1
  1014. package/pn-market-web-components/p-f21311ad.entry.js +2 -0
  1015. package/pn-market-web-components/{p-545c24c0.entry.js.map → p-f21311ad.entry.js.map} +1 -1
  1016. package/pn-market-web-components/p-f28059f4.entry.js +2 -0
  1017. package/pn-market-web-components/{p-856c235c.entry.js.map → p-f28059f4.entry.js.map} +1 -1
  1018. package/pn-market-web-components/p-f28d0971.entry.js +2 -0
  1019. package/pn-market-web-components/{p-54f3a3b6.entry.js.map → p-f28d0971.entry.js.map} +1 -1
  1020. package/pn-market-web-components/p-f4b14be8.entry.js +2 -0
  1021. package/pn-market-web-components/{p-1ec21bd6.entry.js.map → p-f4b14be8.entry.js.map} +1 -1
  1022. package/pn-market-web-components/p-f5d03222.entry.js +2 -0
  1023. package/pn-market-web-components/{p-90242f18.entry.js.map → p-f5d03222.entry.js.map} +1 -1
  1024. package/pn-market-web-components/{p-8af1b914.js → p-f9083b7a.js} +2 -2
  1025. package/pn-market-web-components/{p-cafe11a9.js → p-fb4cdf98.js} +2 -2
  1026. package/pn-market-web-components/p-fe466661.js +2 -0
  1027. package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  1028. package/pn-market-web-components/pn-market-web-components.esm.js.map +1 -1
  1029. package/types/components/cards/pn-teaser-card/pn-teaser-card.d.ts +1 -1
  1030. package/types/components/input/pn-marketweb-search/pn-marketweb-search.d.ts +1 -1
  1031. package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.d.ts +0 -2
  1032. package/types/components/media/pn-media-block/pn-media-block.d.ts +1 -1
  1033. package/types/components/widgets/pn-chat/pn-chat-message/pn-chat-message.d.ts +10 -0
  1034. package/types/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.d.ts +7 -0
  1035. package/types/components/widgets/pn-chat/pn-chat-stories-constants.d.ts +164 -0
  1036. package/types/components/widgets/pn-chat/pn-chat.d.ts +72 -0
  1037. package/types/components/widgets/pn-chat/pn-chat.models.d.ts +22 -0
  1038. package/types/components/widgets/pn-chat/pn-chat.service.d.ts +26 -0
  1039. package/types/components/widgets/pn-chat/pn-chat.stories.d.ts +8 -0
  1040. package/types/components/widgets/pn-chat/translations.d.ts +77 -0
  1041. package/types/components/widgets/pn-chat/types.d.ts +68 -0
  1042. package/types/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.d.ts +23 -0
  1043. package/types/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.d.ts +5 -0
  1044. package/types/components/widgets/pn-level-up/pn-level-up.d.ts +43 -0
  1045. package/types/components/widgets/pn-level-up/pn-level-up.models.d.ts +22 -0
  1046. package/types/components/widgets/pn-level-up/pn-level-up.service.d.ts +16 -0
  1047. package/types/components/widgets/pn-level-up/pn-level-up.stories.d.ts +7 -0
  1048. package/types/components/widgets/pn-level-up/types.d.ts +1 -0
  1049. package/types/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.d.ts +48 -0
  1050. package/types/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.d.ts +7 -0
  1051. package/types/components/widgets/pn-marketweb-table/pn-marketweb-table.d.ts +55 -0
  1052. package/types/components/widgets/pn-marketweb-table/pn-marketweb-table.service.d.ts +11 -0
  1053. package/types/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.d.ts +26 -0
  1054. package/types/components/widgets/pn-marketweb-table/translations.d.ts +72 -0
  1055. package/types/components/widgets/pn-marketweb-table/types.d.ts +38 -0
  1056. package/types/components/widgets/pn-qr-code-generator/pn-qr-code-generator.d.ts +23 -0
  1057. package/types/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.d.ts +5 -0
  1058. package/types/components/widgets/pn-search/pn-search.d.ts +29 -0
  1059. package/types/components/widgets/pn-search/pn-search.stories.d.ts +7 -0
  1060. package/types/components/widgets/pn-usp-simple/pn-usp-simple.d.ts +19 -0
  1061. package/types/components/widgets/pn-usp-simple/pn-usp-simple.stories.d.ts +7 -0
  1062. package/types/components.d.ts +391 -8
  1063. package/types/globals/HeadingTag.d.ts +1 -1
  1064. package/types/globals/LocalStorageService.d.ts +14 -0
  1065. package/types/globals/ScreensizeDetect.d.ts +29 -0
  1066. package/types/globals/types.d.ts +18 -0
  1067. package/types/utils/utils.d.ts +1 -0
  1068. package/umd/modules/@postnord/web-components/cjs/{chevron_down-83e72319.js → angle_down-0b63ebde.js} +3 -3
  1069. package/umd/modules/@postnord/web-components/cjs/angle_down-0b63ebde.js.map +1 -0
  1070. package/umd/modules/@postnord/web-components/cjs/{chevron_right-aeb6aef3.js → angle_right-c8c55b43.js} +5 -5
  1071. package/umd/modules/@postnord/web-components/cjs/angle_right-c8c55b43.js.map +1 -0
  1072. package/umd/modules/@postnord/web-components/cjs/loader.cjs.js +1 -1
  1073. package/umd/modules/@postnord/web-components/cjs/pn-accordion-row.cjs.entry.js +2 -2
  1074. package/umd/modules/@postnord/web-components/cjs/pn-accordion-row.cjs.entry.js.map +1 -1
  1075. package/umd/modules/@postnord/web-components/cjs/pn-action-menu.cjs.entry.js +12 -42
  1076. package/umd/modules/@postnord/web-components/cjs/pn-action-menu.cjs.entry.js.map +1 -1
  1077. package/umd/modules/@postnord/web-components/cjs/pn-button_2.cjs.entry.js +1 -1
  1078. package/umd/modules/@postnord/web-components/cjs/pn-card.cjs.entry.js +1 -1
  1079. package/umd/modules/@postnord/web-components/cjs/pn-checkbox.cjs.entry.js +1 -1
  1080. package/umd/modules/@postnord/web-components/cjs/pn-choice-chip.cjs.entry.js +1 -1
  1081. package/umd/modules/@postnord/web-components/cjs/pn-counter.cjs.entry.js +1 -1
  1082. package/umd/modules/@postnord/web-components/cjs/pn-date-picker.cjs.entry.js +6 -22
  1083. package/umd/modules/@postnord/web-components/cjs/pn-date-picker.cjs.entry.js.map +1 -1
  1084. package/umd/modules/@postnord/web-components/cjs/pn-fieldset.cjs.entry.js +1 -1
  1085. package/umd/modules/@postnord/web-components/cjs/pn-file-upload.cjs.entry.js +1 -1
  1086. package/umd/modules/@postnord/web-components/cjs/pn-footer.cjs.entry.js +1 -1
  1087. package/umd/modules/@postnord/web-components/cjs/pn-header.cjs.entry.js +1 -1
  1088. package/umd/modules/@postnord/web-components/cjs/pn-input.cjs.entry.js +2 -2
  1089. package/umd/modules/@postnord/web-components/cjs/pn-modal.cjs.entry.js +7 -21
  1090. package/umd/modules/@postnord/web-components/cjs/pn-modal.cjs.entry.js.map +1 -1
  1091. package/umd/modules/@postnord/web-components/cjs/pn-multiselect.cjs.entry.js +2 -2
  1092. package/umd/modules/@postnord/web-components/cjs/pn-multiselect.cjs.entry.js.map +1 -1
  1093. package/umd/modules/@postnord/web-components/cjs/pn-ocr-search.cjs.entry.js +1 -1
  1094. package/umd/modules/@postnord/web-components/cjs/pn-page-nav-dropdown-item.cjs.entry.js +1 -1
  1095. package/umd/modules/@postnord/web-components/cjs/pn-page-nav-item.cjs.entry.js +1 -1
  1096. package/umd/modules/@postnord/web-components/cjs/pn-page-nav.cjs.entry.js +2 -2
  1097. package/umd/modules/@postnord/web-components/cjs/pn-page-nav.cjs.entry.js.map +1 -1
  1098. package/umd/modules/@postnord/web-components/cjs/pn-pagination.cjs.entry.js +1 -1
  1099. package/umd/modules/@postnord/web-components/cjs/pn-progress-bar.cjs.entry.js +1 -1
  1100. package/umd/modules/@postnord/web-components/cjs/pn-progress-indicator-step.cjs.entry.js +1 -1
  1101. package/umd/modules/@postnord/web-components/cjs/pn-progress-indicator-step.cjs.entry.js.map +1 -1
  1102. package/umd/modules/@postnord/web-components/cjs/pn-progress-indicator.cjs.entry.js +1 -1
  1103. package/umd/modules/@postnord/web-components/cjs/pn-progress-indicator.cjs.entry.js.map +1 -1
  1104. package/umd/modules/@postnord/web-components/cjs/pn-progress-stepper.cjs.entry.js +41 -26
  1105. package/umd/modules/@postnord/web-components/cjs/pn-progress-stepper.cjs.entry.js.map +1 -1
  1106. package/umd/modules/@postnord/web-components/cjs/pn-radio-button.cjs.entry.js +1 -1
  1107. package/umd/modules/@postnord/web-components/cjs/pn-search-field.cjs.entry.js +1 -1
  1108. package/umd/modules/@postnord/web-components/cjs/pn-segment.cjs.entry.js +1 -1
  1109. package/umd/modules/@postnord/web-components/cjs/pn-segmented-control.cjs.entry.js +1 -1
  1110. package/umd/modules/@postnord/web-components/cjs/pn-select.cjs.entry.js +2 -2
  1111. package/umd/modules/@postnord/web-components/cjs/pn-select.cjs.entry.js.map +1 -1
  1112. package/umd/modules/@postnord/web-components/cjs/pn-tab.cjs.entry.js +1 -1
  1113. package/umd/modules/@postnord/web-components/cjs/pn-tablist.cjs.entry.js +2 -2
  1114. package/umd/modules/@postnord/web-components/cjs/pn-tablist.cjs.entry.js.map +1 -1
  1115. package/umd/modules/@postnord/web-components/cjs/pn-text-link.cjs.entry.js +1 -1
  1116. package/umd/modules/@postnord/web-components/cjs/pn-textarea.cjs.entry.js +1 -1
  1117. package/umd/modules/@postnord/web-components/cjs/pn-tile.cjs.entry.js +1 -1
  1118. package/umd/modules/@postnord/web-components/cjs/pn-toast.cjs.entry.js +16 -25
  1119. package/umd/modules/@postnord/web-components/cjs/pn-toast.cjs.entry.js.map +1 -1
  1120. package/umd/modules/@postnord/web-components/cjs/pn-toggle-switch.cjs.entry.js +1 -1
  1121. package/umd/modules/@postnord/web-components/cjs/pn-tooltip.cjs.entry.js +1 -1
  1122. package/umd/modules/@postnord/web-components/cjs/pn-zipcode-search.cjs.entry.js +1 -1
  1123. package/umd/modules/@postnord/web-components/cjs/postnord-web-components.cjs.js +1 -1
  1124. package/umd/modules/@postnord/web-components/collection/components/buttons/pn-action-menu/pn-action-menu.js +11 -41
  1125. package/umd/modules/@postnord/web-components/collection/components/buttons/pn-action-menu/pn-action-menu.js.map +1 -1
  1126. package/umd/modules/@postnord/web-components/collection/components/content/pn-accordion/row/pn-accordion-row.js +2 -2
  1127. package/umd/modules/@postnord/web-components/collection/components/content/pn-accordion/row/pn-accordion-row.js.map +1 -1
  1128. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-modal/pn-modal.css +40 -92
  1129. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-modal/pn-modal.js +9 -35
  1130. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-modal/pn-modal.js.map +1 -1
  1131. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-bar/pn-progress-bar.js +1 -1
  1132. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-indicator/pn-progress-indicator-step/pn-progress-indicator-step.js +1 -5
  1133. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-indicator/pn-progress-indicator-step/pn-progress-indicator-step.js.map +1 -1
  1134. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-indicator/pn-progress-indicator.js +1 -5
  1135. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-indicator/pn-progress-indicator.js.map +1 -1
  1136. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-stepper/pn-progress-stepper.css +9 -85
  1137. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-stepper/pn-progress-stepper.js +97 -100
  1138. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-progress-stepper/pn-progress-stepper.js.map +1 -1
  1139. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-spinner/pn-spinner.js +1 -1
  1140. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-toast/pn-toast.css +1 -0
  1141. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-toast/pn-toast.js +15 -24
  1142. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-toast/pn-toast.js.map +1 -1
  1143. package/umd/modules/@postnord/web-components/collection/components/feedback/pn-tooltip/pn-tooltip.js +1 -1
  1144. package/umd/modules/@postnord/web-components/collection/components/input/pn-checkbox/pn-checkbox.js +1 -1
  1145. package/umd/modules/@postnord/web-components/collection/components/input/pn-choice-chip/pn-choice-chip.js +1 -1
  1146. package/umd/modules/@postnord/web-components/collection/components/input/pn-counter/pn-counter.js +1 -1
  1147. package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker/pn-date-picker.css +3 -2
  1148. package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker/pn-date-picker.js +6 -22
  1149. package/umd/modules/@postnord/web-components/collection/components/input/pn-date-picker/pn-date-picker.js.map +1 -1
  1150. package/umd/modules/@postnord/web-components/collection/components/input/pn-fieldset/pn-fieldset.js +1 -1
  1151. package/umd/modules/@postnord/web-components/collection/components/input/pn-file-upload/pn-file-upload.js +1 -1
  1152. package/umd/modules/@postnord/web-components/collection/components/input/pn-input/pn-input.js +2 -2
  1153. package/umd/modules/@postnord/web-components/collection/components/input/pn-multiselect/pn-multiselect.js +2 -2
  1154. package/umd/modules/@postnord/web-components/collection/components/input/pn-multiselect/pn-multiselect.js.map +1 -1
  1155. package/umd/modules/@postnord/web-components/collection/components/input/pn-radio-button/pn-radio-button.js +1 -1
  1156. package/umd/modules/@postnord/web-components/collection/components/input/pn-search-field/pn-search-field.js +1 -1
  1157. package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/pn-segmented-control.js +1 -1
  1158. package/umd/modules/@postnord/web-components/collection/components/input/pn-segmented-control/segment/pn-segment.js +1 -1
  1159. package/umd/modules/@postnord/web-components/collection/components/input/pn-select/pn-select.js +2 -2
  1160. package/umd/modules/@postnord/web-components/collection/components/input/pn-select/pn-select.js.map +1 -1
  1161. package/umd/modules/@postnord/web-components/collection/components/input/pn-textarea/pn-textarea.js +1 -1
  1162. package/umd/modules/@postnord/web-components/collection/components/input/pn-toggle-switch/pn-toggle-switch.js +1 -1
  1163. package/umd/modules/@postnord/web-components/collection/components/layout/pn-header/pn-header.js +1 -1
  1164. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-card/pn-card.js +1 -1
  1165. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-footer/pn-footer.js +1 -1
  1166. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/dropdown-item/pn-page-nav-dropdown-item.js +1 -1
  1167. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/item/pn-page-nav-item.js +1 -1
  1168. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/menu/pn-page-nav.js +2 -2
  1169. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-page-nav/menu/pn-page-nav.js.map +1 -1
  1170. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-pagination/pn-pagination.js +1 -1
  1171. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/pn-tablist.js +2 -2
  1172. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/pn-tablist.js.map +1 -1
  1173. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tablist/tab/pn-tab.js +1 -1
  1174. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-text-link/pn-text-link.js +1 -1
  1175. package/umd/modules/@postnord/web-components/collection/components/navigation/pn-tile/pn-tile.js +1 -1
  1176. package/umd/modules/@postnord/web-components/collection/components/web-components/pn-ocr-search/pn-ocr-search.js +1 -1
  1177. package/umd/modules/@postnord/web-components/collection/components/web-components/pn-zipcode-search/pn-zipcode-search.js +1 -1
  1178. package/umd/modules/@postnord/web-components/collection/globals/types.js.map +1 -1
  1179. package/umd/modules/@postnord/web-components/components/{chevron_down.js → angle_down.js} +3 -3
  1180. package/umd/modules/@postnord/web-components/components/angle_down.js.map +1 -0
  1181. package/umd/modules/@postnord/web-components/components/{chevron_right.js → angle_right.js} +4 -4
  1182. package/umd/modules/@postnord/web-components/components/angle_right.js.map +1 -0
  1183. package/umd/modules/@postnord/web-components/components/pn-accordion-row.js +2 -2
  1184. package/umd/modules/@postnord/web-components/components/pn-accordion-row.js.map +1 -1
  1185. package/umd/modules/@postnord/web-components/components/pn-action-menu.js +12 -42
  1186. package/umd/modules/@postnord/web-components/components/pn-action-menu.js.map +1 -1
  1187. package/umd/modules/@postnord/web-components/components/pn-card.js +1 -1
  1188. package/umd/modules/@postnord/web-components/components/pn-checkbox.js +1 -1
  1189. package/umd/modules/@postnord/web-components/components/pn-choice-chip.js +1 -1
  1190. package/umd/modules/@postnord/web-components/components/pn-counter.js +1 -1
  1191. package/umd/modules/@postnord/web-components/components/pn-date-picker.js +7 -23
  1192. package/umd/modules/@postnord/web-components/components/pn-date-picker.js.map +1 -1
  1193. package/umd/modules/@postnord/web-components/components/pn-fieldset.js +1 -1
  1194. package/umd/modules/@postnord/web-components/components/pn-file-upload.js +1 -1
  1195. package/umd/modules/@postnord/web-components/components/pn-footer.js +1 -1
  1196. package/umd/modules/@postnord/web-components/components/pn-header.js +1 -1
  1197. package/umd/modules/@postnord/web-components/components/pn-input.js +2 -2
  1198. package/umd/modules/@postnord/web-components/components/pn-modal.js +10 -25
  1199. package/umd/modules/@postnord/web-components/components/pn-modal.js.map +1 -1
  1200. package/umd/modules/@postnord/web-components/components/pn-multiselect.js +2 -2
  1201. package/umd/modules/@postnord/web-components/components/pn-multiselect.js.map +1 -1
  1202. package/umd/modules/@postnord/web-components/components/pn-ocr-search.js +1 -1
  1203. package/umd/modules/@postnord/web-components/components/pn-page-nav-dropdown-item.js +1 -1
  1204. package/umd/modules/@postnord/web-components/components/pn-page-nav-item.js +1 -1
  1205. package/umd/modules/@postnord/web-components/components/pn-page-nav.js +2 -2
  1206. package/umd/modules/@postnord/web-components/components/pn-page-nav.js.map +1 -1
  1207. package/umd/modules/@postnord/web-components/components/pn-pagination.js +1 -1
  1208. package/umd/modules/@postnord/web-components/components/pn-progress-bar2.js +1 -1
  1209. package/umd/modules/@postnord/web-components/components/pn-progress-indicator-step.js +1 -1
  1210. package/umd/modules/@postnord/web-components/components/pn-progress-indicator-step.js.map +1 -1
  1211. package/umd/modules/@postnord/web-components/components/pn-progress-indicator.js +1 -1
  1212. package/umd/modules/@postnord/web-components/components/pn-progress-indicator.js.map +1 -1
  1213. package/umd/modules/@postnord/web-components/components/pn-progress-stepper.js +48 -34
  1214. package/umd/modules/@postnord/web-components/components/pn-progress-stepper.js.map +1 -1
  1215. package/umd/modules/@postnord/web-components/components/pn-radio-button.js +1 -1
  1216. package/umd/modules/@postnord/web-components/components/pn-search-field2.js +1 -1
  1217. package/umd/modules/@postnord/web-components/components/pn-segment.js +1 -1
  1218. package/umd/modules/@postnord/web-components/components/pn-segmented-control.js +1 -1
  1219. package/umd/modules/@postnord/web-components/components/pn-select2.js +2 -2
  1220. package/umd/modules/@postnord/web-components/components/pn-select2.js.map +1 -1
  1221. package/umd/modules/@postnord/web-components/components/pn-spinner2.js +1 -1
  1222. package/umd/modules/@postnord/web-components/components/pn-tab.js +1 -1
  1223. package/umd/modules/@postnord/web-components/components/pn-tablist.js +2 -2
  1224. package/umd/modules/@postnord/web-components/components/pn-tablist.js.map +1 -1
  1225. package/umd/modules/@postnord/web-components/components/pn-text-link2.js +1 -1
  1226. package/umd/modules/@postnord/web-components/components/pn-textarea.js +1 -1
  1227. package/umd/modules/@postnord/web-components/components/pn-tile.js +1 -1
  1228. package/umd/modules/@postnord/web-components/components/pn-toast.js +16 -25
  1229. package/umd/modules/@postnord/web-components/components/pn-toast.js.map +1 -1
  1230. package/umd/modules/@postnord/web-components/components/pn-toggle-switch.js +1 -1
  1231. package/umd/modules/@postnord/web-components/components/pn-tooltip.js +1 -1
  1232. package/umd/modules/@postnord/web-components/components/pn-zipcode-search.js +1 -1
  1233. package/umd/modules/@postnord/web-components/esm/{chevron_down-6e3fb42f.js → angle_down-d788f691.js} +3 -3
  1234. package/umd/modules/@postnord/web-components/esm/angle_down-d788f691.js.map +1 -0
  1235. package/umd/modules/@postnord/web-components/esm/{chevron_right-9d9305e8.js → angle_right-b52095c9.js} +4 -4
  1236. package/umd/modules/@postnord/web-components/esm/angle_right-b52095c9.js.map +1 -0
  1237. package/umd/modules/@postnord/web-components/esm/loader.js +1 -1
  1238. package/umd/modules/@postnord/web-components/esm/pn-accordion-row.entry.js +2 -2
  1239. package/umd/modules/@postnord/web-components/esm/pn-accordion-row.entry.js.map +1 -1
  1240. package/umd/modules/@postnord/web-components/esm/pn-action-menu.entry.js +12 -42
  1241. package/umd/modules/@postnord/web-components/esm/pn-action-menu.entry.js.map +1 -1
  1242. package/umd/modules/@postnord/web-components/esm/pn-button_2.entry.js +1 -1
  1243. package/umd/modules/@postnord/web-components/esm/pn-card.entry.js +1 -1
  1244. package/umd/modules/@postnord/web-components/esm/pn-checkbox.entry.js +1 -1
  1245. package/umd/modules/@postnord/web-components/esm/pn-choice-chip.entry.js +1 -1
  1246. package/umd/modules/@postnord/web-components/esm/pn-counter.entry.js +1 -1
  1247. package/umd/modules/@postnord/web-components/esm/pn-date-picker.entry.js +7 -23
  1248. package/umd/modules/@postnord/web-components/esm/pn-date-picker.entry.js.map +1 -1
  1249. package/umd/modules/@postnord/web-components/esm/pn-fieldset.entry.js +1 -1
  1250. package/umd/modules/@postnord/web-components/esm/pn-file-upload.entry.js +1 -1
  1251. package/umd/modules/@postnord/web-components/esm/pn-footer.entry.js +1 -1
  1252. package/umd/modules/@postnord/web-components/esm/pn-header.entry.js +1 -1
  1253. package/umd/modules/@postnord/web-components/esm/pn-input.entry.js +2 -2
  1254. package/umd/modules/@postnord/web-components/esm/pn-modal.entry.js +8 -22
  1255. package/umd/modules/@postnord/web-components/esm/pn-modal.entry.js.map +1 -1
  1256. package/umd/modules/@postnord/web-components/esm/pn-multiselect.entry.js +2 -2
  1257. package/umd/modules/@postnord/web-components/esm/pn-multiselect.entry.js.map +1 -1
  1258. package/umd/modules/@postnord/web-components/esm/pn-ocr-search.entry.js +1 -1
  1259. package/umd/modules/@postnord/web-components/esm/pn-page-nav-dropdown-item.entry.js +1 -1
  1260. package/umd/modules/@postnord/web-components/esm/pn-page-nav-item.entry.js +1 -1
  1261. package/umd/modules/@postnord/web-components/esm/pn-page-nav.entry.js +2 -2
  1262. package/umd/modules/@postnord/web-components/esm/pn-page-nav.entry.js.map +1 -1
  1263. package/umd/modules/@postnord/web-components/esm/pn-pagination.entry.js +1 -1
  1264. package/umd/modules/@postnord/web-components/esm/pn-progress-bar.entry.js +1 -1
  1265. package/umd/modules/@postnord/web-components/esm/pn-progress-indicator-step.entry.js +1 -1
  1266. package/umd/modules/@postnord/web-components/esm/pn-progress-indicator-step.entry.js.map +1 -1
  1267. package/umd/modules/@postnord/web-components/esm/pn-progress-indicator.entry.js +1 -1
  1268. package/umd/modules/@postnord/web-components/esm/pn-progress-indicator.entry.js.map +1 -1
  1269. package/umd/modules/@postnord/web-components/esm/pn-progress-stepper.entry.js +41 -26
  1270. package/umd/modules/@postnord/web-components/esm/pn-progress-stepper.entry.js.map +1 -1
  1271. package/umd/modules/@postnord/web-components/esm/pn-radio-button.entry.js +1 -1
  1272. package/umd/modules/@postnord/web-components/esm/pn-search-field.entry.js +1 -1
  1273. package/umd/modules/@postnord/web-components/esm/pn-segment.entry.js +1 -1
  1274. package/umd/modules/@postnord/web-components/esm/pn-segmented-control.entry.js +1 -1
  1275. package/umd/modules/@postnord/web-components/esm/pn-select.entry.js +2 -2
  1276. package/umd/modules/@postnord/web-components/esm/pn-select.entry.js.map +1 -1
  1277. package/umd/modules/@postnord/web-components/esm/pn-tab.entry.js +1 -1
  1278. package/umd/modules/@postnord/web-components/esm/pn-tablist.entry.js +2 -2
  1279. package/umd/modules/@postnord/web-components/esm/pn-tablist.entry.js.map +1 -1
  1280. package/umd/modules/@postnord/web-components/esm/pn-text-link.entry.js +1 -1
  1281. package/umd/modules/@postnord/web-components/esm/pn-textarea.entry.js +1 -1
  1282. package/umd/modules/@postnord/web-components/esm/pn-tile.entry.js +1 -1
  1283. package/umd/modules/@postnord/web-components/esm/pn-toast.entry.js +16 -25
  1284. package/umd/modules/@postnord/web-components/esm/pn-toast.entry.js.map +1 -1
  1285. package/umd/modules/@postnord/web-components/esm/pn-toggle-switch.entry.js +1 -1
  1286. package/umd/modules/@postnord/web-components/esm/pn-tooltip.entry.js +1 -1
  1287. package/umd/modules/@postnord/web-components/esm/pn-zipcode-search.entry.js +1 -1
  1288. package/umd/modules/@postnord/web-components/esm/postnord-web-components.js +1 -1
  1289. package/umd/modules/@postnord/web-components/hydrate/index.js +137 -204
  1290. package/umd/modules/@postnord/web-components/hydrate/index.mjs +137 -204
  1291. package/umd/modules/@postnord/web-components/package.json +14 -16
  1292. package/umd/modules/@postnord/web-components/postnord-web-components/{p-23fdc4b6.entry.js → p-203ad7de.entry.js} +2 -2
  1293. package/umd/modules/@postnord/web-components/postnord-web-components/p-203ad7de.entry.js.map +1 -0
  1294. package/umd/modules/@postnord/web-components/postnord-web-components/p-2615282e.entry.js +6 -0
  1295. package/umd/modules/@postnord/web-components/postnord-web-components/p-2615282e.entry.js.map +1 -0
  1296. package/umd/modules/@postnord/web-components/postnord-web-components/p-3bd59ac8.entry.js +6 -0
  1297. package/umd/modules/@postnord/web-components/postnord-web-components/p-3bd59ac8.entry.js.map +1 -0
  1298. package/umd/modules/@postnord/web-components/postnord-web-components/{p-eee2d131.entry.js → p-412fc8d6.entry.js} +2 -2
  1299. package/umd/modules/@postnord/web-components/postnord-web-components/{p-28357e12.entry.js → p-4f67fffa.entry.js} +2 -2
  1300. package/umd/modules/@postnord/web-components/postnord-web-components/p-4f67fffa.entry.js.map +1 -0
  1301. package/umd/modules/@postnord/web-components/postnord-web-components/p-514107a5.entry.js +6 -0
  1302. package/umd/modules/@postnord/web-components/postnord-web-components/p-514107a5.entry.js.map +1 -0
  1303. package/umd/modules/@postnord/web-components/postnord-web-components/{p-363f578a.entry.js → p-5b0000e9.entry.js} +2 -2
  1304. package/umd/modules/@postnord/web-components/postnord-web-components/{p-a440734f.entry.js → p-605d99df.entry.js} +2 -2
  1305. package/umd/modules/@postnord/web-components/postnord-web-components/p-6a30576b.entry.js +6 -0
  1306. package/umd/modules/@postnord/web-components/postnord-web-components/p-6a30576b.entry.js.map +1 -0
  1307. package/umd/modules/@postnord/web-components/postnord-web-components/{p-d2f7b4a9.entry.js → p-76b020f0.entry.js} +2 -2
  1308. package/umd/modules/@postnord/web-components/postnord-web-components/p-7ae9c053.entry.js +6 -0
  1309. package/umd/modules/@postnord/web-components/postnord-web-components/{p-240f6613.entry.js.map → p-7ae9c053.entry.js.map} +1 -1
  1310. package/umd/modules/@postnord/web-components/postnord-web-components/{p-8eaa2540.entry.js → p-7bd6d804.entry.js} +2 -2
  1311. package/umd/modules/@postnord/web-components/postnord-web-components/{p-01472170.entry.js → p-7e88df1f.entry.js} +2 -2
  1312. package/umd/modules/@postnord/web-components/postnord-web-components/{p-cebe3a25.entry.js → p-81f9f367.entry.js} +2 -2
  1313. package/umd/modules/@postnord/web-components/postnord-web-components/{p-10532427.entry.js → p-8773152d.entry.js} +2 -2
  1314. package/umd/modules/@postnord/web-components/postnord-web-components/p-8bc8f614.entry.js +6 -0
  1315. package/umd/modules/@postnord/web-components/postnord-web-components/p-8bc8f614.entry.js.map +1 -0
  1316. package/umd/modules/@postnord/web-components/postnord-web-components/{p-ae04e001.entry.js → p-936ed2a1.entry.js} +2 -2
  1317. package/umd/modules/@postnord/web-components/postnord-web-components/p-936ed2a1.entry.js.map +1 -0
  1318. package/umd/modules/@postnord/web-components/postnord-web-components/{p-6f9a21be.entry.js → p-9bc1d14f.entry.js} +2 -2
  1319. package/umd/modules/@postnord/web-components/postnord-web-components/{p-b202a599.entry.js → p-a4df55c4.entry.js} +2 -2
  1320. package/umd/modules/@postnord/web-components/postnord-web-components/{p-4eaab357.entry.js → p-ab29b9c0.entry.js} +2 -2
  1321. package/umd/modules/@postnord/web-components/postnord-web-components/{p-1e7c31ed.entry.js → p-adc6404b.entry.js} +2 -2
  1322. package/umd/modules/@postnord/web-components/postnord-web-components/p-adc6404b.entry.js.map +1 -0
  1323. package/umd/modules/@postnord/web-components/postnord-web-components/{p-4d371963.entry.js → p-b556b835.entry.js} +2 -2
  1324. package/umd/modules/@postnord/web-components/postnord-web-components/{p-ab553e80.entry.js → p-b9a494ae.entry.js} +2 -2
  1325. package/umd/modules/@postnord/web-components/postnord-web-components/{p-49f5fdd2.entry.js → p-bc95d4b0.entry.js} +2 -2
  1326. package/umd/modules/@postnord/web-components/postnord-web-components/p-bc95d4b0.entry.js.map +1 -0
  1327. package/umd/modules/@postnord/web-components/postnord-web-components/{p-8e07bc17.entry.js → p-bd14cdca.entry.js} +2 -2
  1328. package/umd/modules/@postnord/web-components/postnord-web-components/{p-699b7bde.entry.js → p-bf015c0f.entry.js} +2 -2
  1329. package/umd/modules/@postnord/web-components/postnord-web-components/{p-99600bc7.js → p-bf967b50.js} +2 -2
  1330. package/umd/modules/@postnord/web-components/postnord-web-components/p-bf967b50.js.map +1 -0
  1331. package/umd/modules/@postnord/web-components/postnord-web-components/{p-37297b9a.entry.js → p-c0d19737.entry.js} +2 -2
  1332. package/umd/modules/@postnord/web-components/postnord-web-components/{p-1fe6fc61.entry.js → p-c2bbbcaa.entry.js} +2 -2
  1333. package/umd/modules/@postnord/web-components/postnord-web-components/{p-e8050420.entry.js → p-c45dc75d.entry.js} +2 -2
  1334. package/umd/modules/@postnord/web-components/postnord-web-components/{p-2f7bb5e8.js → p-c96ff403.js} +2 -2
  1335. package/umd/modules/@postnord/web-components/postnord-web-components/p-c96ff403.js.map +1 -0
  1336. package/umd/modules/@postnord/web-components/postnord-web-components/{p-fb5d6d47.entry.js → p-d3521b5d.entry.js} +2 -2
  1337. package/umd/modules/@postnord/web-components/postnord-web-components/{p-1cd57319.entry.js → p-d74ccbb2.entry.js} +2 -2
  1338. package/umd/modules/@postnord/web-components/postnord-web-components/{p-5ed7e9b7.entry.js → p-da713fc1.entry.js} +2 -2
  1339. package/umd/modules/@postnord/web-components/postnord-web-components/{p-63aa3911.entry.js → p-e087c5c5.entry.js} +2 -2
  1340. package/umd/modules/@postnord/web-components/postnord-web-components/{p-06c7e91b.entry.js → p-ed4271af.entry.js} +2 -2
  1341. package/umd/modules/@postnord/web-components/postnord-web-components/p-ed4271af.entry.js.map +1 -0
  1342. package/umd/modules/@postnord/web-components/postnord-web-components/p-fc5f9092.entry.js +6 -0
  1343. package/umd/modules/@postnord/web-components/postnord-web-components/p-fc5f9092.entry.js.map +1 -0
  1344. package/umd/modules/@postnord/web-components/postnord-web-components/{p-bdb9bdc3.entry.js → p-fcd5028f.entry.js} +2 -2
  1345. package/umd/modules/@postnord/web-components/postnord-web-components/{p-9cecd28d.entry.js → p-ff068744.entry.js} +2 -2
  1346. package/umd/modules/@postnord/web-components/postnord-web-components/{p-11ef58ab.entry.js → p-ffe79fa4.entry.js} +2 -2
  1347. package/umd/modules/@postnord/web-components/postnord-web-components/postnord-web-components.esm.js +1 -1
  1348. package/umd/modules/@postnord/web-components/postnord-web-components/postnord-web-components.esm.js.map +1 -1
  1349. package/umd/modules/@postnord/web-components/readme.md +32 -0
  1350. package/umd/modules/@postnord/web-components/types/components/buttons/pn-action-menu/pn-action-menu.d.ts +0 -3
  1351. package/umd/modules/@postnord/web-components/types/components/feedback/pn-modal/pn-modal.d.ts +2 -12
  1352. package/umd/modules/@postnord/web-components/types/components/feedback/pn-progress-indicator/pn-progress-indicator-step/pn-progress-indicator-step.d.ts +0 -4
  1353. package/umd/modules/@postnord/web-components/types/components/feedback/pn-progress-indicator/pn-progress-indicator.d.ts +0 -4
  1354. package/umd/modules/@postnord/web-components/types/components/feedback/pn-progress-stepper/pn-progress-stepper.d.ts +22 -27
  1355. package/umd/modules/@postnord/web-components/types/components/feedback/pn-toast/pn-toast.d.ts +1 -2
  1356. package/umd/modules/@postnord/web-components/types/components.d.ts +12 -60
  1357. package/umd/modules/@postnord/web-components/types/globals/types.d.ts +1 -2
  1358. package/umd/modules/@postnord/web-components/vscode-data.json +3 -7
  1359. package/umd/pn-marketweb-init.js +1 -1
  1360. package/umd/pn-marketweb-salesforce.js +1 -1
  1361. package/vscode-data.json +673 -3
  1362. package/cjs/FetchHelper-e951824f.js.map +0 -1
  1363. package/cjs/index-34e1c673.js.map +0 -1
  1364. package/cjs/pn-marketweb-siteheader-login-button_5.cjs.entry.js.map +0 -1
  1365. package/components/pn-marketweb-siteheader-login-mypage-button2.js +0 -38
  1366. package/components/pn-marketweb-siteheader-login-mypage-button2.js.map +0 -1
  1367. package/esm/FetchHelper-746f2bb6.js.map +0 -1
  1368. package/esm/index-51d67461.js.map +0 -1
  1369. package/esm/pn-marketweb-siteheader-login-button_5.entry.js.map +0 -1
  1370. package/pn-market-web-components/p-066e9db9.entry.js +0 -2
  1371. package/pn-market-web-components/p-0ac30ee9.entry.js +0 -2
  1372. package/pn-market-web-components/p-0ec8d040.entry.js +0 -2
  1373. package/pn-market-web-components/p-13190b30.js +0 -2
  1374. package/pn-market-web-components/p-15d70aaf.entry.js +0 -2
  1375. package/pn-market-web-components/p-190c6938.entry.js +0 -2
  1376. package/pn-market-web-components/p-1ec21bd6.entry.js +0 -2
  1377. package/pn-market-web-components/p-231b97e1.entry.js +0 -2
  1378. package/pn-market-web-components/p-23d69d70.entry.js +0 -2
  1379. package/pn-market-web-components/p-23d69d70.entry.js.map +0 -1
  1380. package/pn-market-web-components/p-24086c59.entry.js +0 -2
  1381. package/pn-market-web-components/p-25d53df2.entry.js +0 -2
  1382. package/pn-market-web-components/p-25dfc349.entry.js +0 -2
  1383. package/pn-market-web-components/p-2b03a4e1.entry.js +0 -2
  1384. package/pn-market-web-components/p-2b03a4e1.entry.js.map +0 -1
  1385. package/pn-market-web-components/p-3fb8e665.entry.js +0 -2
  1386. package/pn-market-web-components/p-45b8cadb.entry.js +0 -2
  1387. package/pn-market-web-components/p-45d1e1be.entry.js +0 -2
  1388. package/pn-market-web-components/p-4d2ca281.entry.js +0 -2
  1389. package/pn-market-web-components/p-4e3059dd.entry.js +0 -2
  1390. package/pn-market-web-components/p-4fa5bc85.entry.js +0 -2
  1391. package/pn-market-web-components/p-530274ae.entry.js +0 -2
  1392. package/pn-market-web-components/p-545c24c0.entry.js +0 -2
  1393. package/pn-market-web-components/p-54f3a3b6.entry.js +0 -2
  1394. package/pn-market-web-components/p-55643d76.entry.js +0 -2
  1395. package/pn-market-web-components/p-572c4d81.entry.js +0 -2
  1396. package/pn-market-web-components/p-572c4d81.entry.js.map +0 -1
  1397. package/pn-market-web-components/p-59549c74.entry.js +0 -2
  1398. package/pn-market-web-components/p-5a1b6e6d.entry.js +0 -2
  1399. package/pn-market-web-components/p-5d06e48f.entry.js +0 -2
  1400. package/pn-market-web-components/p-5d06e48f.entry.js.map +0 -1
  1401. package/pn-market-web-components/p-62cabd1e.entry.js +0 -2
  1402. package/pn-market-web-components/p-64d0dbba.entry.js +0 -2
  1403. package/pn-market-web-components/p-652f97b9.js +0 -2
  1404. package/pn-market-web-components/p-65ab3003.entry.js +0 -2
  1405. package/pn-market-web-components/p-65f243c1.js.map +0 -1
  1406. package/pn-market-web-components/p-6647d2c4.entry.js +0 -2
  1407. package/pn-market-web-components/p-6a5f7dee.entry.js +0 -2
  1408. package/pn-market-web-components/p-6fdd5b5a.entry.js +0 -2
  1409. package/pn-market-web-components/p-7076038b.entry.js +0 -2
  1410. package/pn-market-web-components/p-725aba56.entry.js +0 -2
  1411. package/pn-market-web-components/p-725aba56.entry.js.map +0 -1
  1412. package/pn-market-web-components/p-72dbca40.entry.js +0 -2
  1413. package/pn-market-web-components/p-74fd7435.entry.js +0 -2
  1414. package/pn-market-web-components/p-758f1b53.entry.js +0 -2
  1415. package/pn-market-web-components/p-76e6708b.entry.js +0 -2
  1416. package/pn-market-web-components/p-776f3d51.entry.js +0 -2
  1417. package/pn-market-web-components/p-77a35f5e.entry.js +0 -2
  1418. package/pn-market-web-components/p-856c235c.entry.js +0 -2
  1419. package/pn-market-web-components/p-8c26b98d.entry.js +0 -2
  1420. package/pn-market-web-components/p-90242f18.entry.js +0 -2
  1421. package/pn-market-web-components/p-95519556.entry.js +0 -2
  1422. package/pn-market-web-components/p-a11fdf9f.entry.js +0 -2
  1423. package/pn-market-web-components/p-a38118be.entry.js +0 -2
  1424. package/pn-market-web-components/p-a419cd91.entry.js +0 -2
  1425. package/pn-market-web-components/p-a54a298b.entry.js +0 -2
  1426. package/pn-market-web-components/p-a54a298b.entry.js.map +0 -1
  1427. package/pn-market-web-components/p-a6866467.entry.js +0 -2
  1428. package/pn-market-web-components/p-a72c2729.entry.js +0 -2
  1429. package/pn-market-web-components/p-aeeabb32.entry.js +0 -2
  1430. package/pn-market-web-components/p-b35cdbac.entry.js +0 -2
  1431. package/pn-market-web-components/p-b5a0275d.entry.js +0 -2
  1432. package/pn-market-web-components/p-b693f78a.entry.js +0 -2
  1433. package/pn-market-web-components/p-b9340e9c.entry.js +0 -2
  1434. package/pn-market-web-components/p-b9340e9c.entry.js.map +0 -1
  1435. package/pn-market-web-components/p-b9505c69.entry.js +0 -2
  1436. package/pn-market-web-components/p-bb1c965e.js +0 -3
  1437. package/pn-market-web-components/p-bb1c965e.js.map +0 -1
  1438. package/pn-market-web-components/p-c5772021.entry.js +0 -2
  1439. package/pn-market-web-components/p-cf39491b.entry.js +0 -2
  1440. package/pn-market-web-components/p-d0a085cc.entry.js +0 -2
  1441. package/pn-market-web-components/p-e2e3ac2f.entry.js +0 -2
  1442. package/pn-market-web-components/p-e5ae757f.entry.js +0 -2
  1443. package/pn-market-web-components/p-e6e012fb.entry.js +0 -2
  1444. package/pn-market-web-components/p-e8278e9e.entry.js +0 -2
  1445. package/pn-market-web-components/p-e916e99d.entry.js +0 -2
  1446. package/pn-market-web-components/p-ea3d6f7e.entry.js +0 -2
  1447. package/pn-market-web-components/p-ea7b0d21.entry.js +0 -2
  1448. package/pn-market-web-components/p-fc157a1e.entry.js +0 -2
  1449. package/umd/modules/@postnord/web-components/cjs/chevron_down-83e72319.js.map +0 -1
  1450. package/umd/modules/@postnord/web-components/cjs/chevron_right-aeb6aef3.js.map +0 -1
  1451. package/umd/modules/@postnord/web-components/components/chevron_down.js.map +0 -1
  1452. package/umd/modules/@postnord/web-components/components/chevron_right.js.map +0 -1
  1453. package/umd/modules/@postnord/web-components/esm/chevron_down-6e3fb42f.js.map +0 -1
  1454. package/umd/modules/@postnord/web-components/esm/chevron_right-9d9305e8.js.map +0 -1
  1455. package/umd/modules/@postnord/web-components/postnord-web-components/p-06c7e91b.entry.js.map +0 -1
  1456. package/umd/modules/@postnord/web-components/postnord-web-components/p-16fb83d9.entry.js +0 -6
  1457. package/umd/modules/@postnord/web-components/postnord-web-components/p-16fb83d9.entry.js.map +0 -1
  1458. package/umd/modules/@postnord/web-components/postnord-web-components/p-1e7c31ed.entry.js.map +0 -1
  1459. package/umd/modules/@postnord/web-components/postnord-web-components/p-23fdc4b6.entry.js.map +0 -1
  1460. package/umd/modules/@postnord/web-components/postnord-web-components/p-240f6613.entry.js +0 -6
  1461. package/umd/modules/@postnord/web-components/postnord-web-components/p-28357e12.entry.js.map +0 -1
  1462. package/umd/modules/@postnord/web-components/postnord-web-components/p-2f7bb5e8.js.map +0 -1
  1463. package/umd/modules/@postnord/web-components/postnord-web-components/p-49a39ea1.entry.js +0 -6
  1464. package/umd/modules/@postnord/web-components/postnord-web-components/p-49a39ea1.entry.js.map +0 -1
  1465. package/umd/modules/@postnord/web-components/postnord-web-components/p-49f5fdd2.entry.js.map +0 -1
  1466. package/umd/modules/@postnord/web-components/postnord-web-components/p-617a946d.entry.js +0 -6
  1467. package/umd/modules/@postnord/web-components/postnord-web-components/p-617a946d.entry.js.map +0 -1
  1468. package/umd/modules/@postnord/web-components/postnord-web-components/p-65ae6360.entry.js +0 -6
  1469. package/umd/modules/@postnord/web-components/postnord-web-components/p-65ae6360.entry.js.map +0 -1
  1470. package/umd/modules/@postnord/web-components/postnord-web-components/p-75c5fb41.entry.js +0 -6
  1471. package/umd/modules/@postnord/web-components/postnord-web-components/p-75c5fb41.entry.js.map +0 -1
  1472. package/umd/modules/@postnord/web-components/postnord-web-components/p-99600bc7.js.map +0 -1
  1473. package/umd/modules/@postnord/web-components/postnord-web-components/p-ae04e001.entry.js.map +0 -1
  1474. package/umd/modules/@postnord/web-components/postnord-web-components/p-b83e6373.entry.js +0 -6
  1475. package/umd/modules/@postnord/web-components/postnord-web-components/p-b83e6373.entry.js.map +0 -1
  1476. /package/pn-market-web-components/{p-652f97b9.js.map → p-72828265.js.map} +0 -0
  1477. /package/pn-market-web-components/{p-e09a907b.js.map → p-793e1339.js.map} +0 -0
  1478. /package/pn-market-web-components/{p-2509d18d.js.map → p-8836de82.js.map} +0 -0
  1479. /package/pn-market-web-components/{p-560e5291.entry.js.map → p-8a651698.entry.js.map} +0 -0
  1480. /package/pn-market-web-components/{p-959a37d9.js.map → p-930e2943.js.map} +0 -0
  1481. /package/pn-market-web-components/{p-155c2049.entry.js.map → p-ad9a7633.entry.js.map} +0 -0
  1482. /package/pn-market-web-components/{p-8af1b914.js.map → p-f9083b7a.js.map} +0 -0
  1483. /package/pn-market-web-components/{p-cafe11a9.js.map → p-fb4cdf98.js.map} +0 -0
  1484. /package/pn-market-web-components/{p-13190b30.js.map → p-fe466661.js.map} +0 -0
  1485. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-eee2d131.entry.js.map → p-412fc8d6.entry.js.map} +0 -0
  1486. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-363f578a.entry.js.map → p-5b0000e9.entry.js.map} +0 -0
  1487. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-a440734f.entry.js.map → p-605d99df.entry.js.map} +0 -0
  1488. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-d2f7b4a9.entry.js.map → p-76b020f0.entry.js.map} +0 -0
  1489. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-8eaa2540.entry.js.map → p-7bd6d804.entry.js.map} +0 -0
  1490. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-01472170.entry.js.map → p-7e88df1f.entry.js.map} +0 -0
  1491. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-cebe3a25.entry.js.map → p-81f9f367.entry.js.map} +0 -0
  1492. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-10532427.entry.js.map → p-8773152d.entry.js.map} +0 -0
  1493. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-6f9a21be.entry.js.map → p-9bc1d14f.entry.js.map} +0 -0
  1494. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-b202a599.entry.js.map → p-a4df55c4.entry.js.map} +0 -0
  1495. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-4eaab357.entry.js.map → p-ab29b9c0.entry.js.map} +0 -0
  1496. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-4d371963.entry.js.map → p-b556b835.entry.js.map} +0 -0
  1497. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-ab553e80.entry.js.map → p-b9a494ae.entry.js.map} +0 -0
  1498. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-8e07bc17.entry.js.map → p-bd14cdca.entry.js.map} +0 -0
  1499. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-699b7bde.entry.js.map → p-bf015c0f.entry.js.map} +0 -0
  1500. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-37297b9a.entry.js.map → p-c0d19737.entry.js.map} +0 -0
  1501. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-1fe6fc61.entry.js.map → p-c2bbbcaa.entry.js.map} +0 -0
  1502. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-e8050420.entry.js.map → p-c45dc75d.entry.js.map} +0 -0
  1503. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-fb5d6d47.entry.js.map → p-d3521b5d.entry.js.map} +0 -0
  1504. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-1cd57319.entry.js.map → p-d74ccbb2.entry.js.map} +0 -0
  1505. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-5ed7e9b7.entry.js.map → p-da713fc1.entry.js.map} +0 -0
  1506. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-63aa3911.entry.js.map → p-e087c5c5.entry.js.map} +0 -0
  1507. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-bdb9bdc3.entry.js.map → p-fcd5028f.entry.js.map} +0 -0
  1508. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-9cecd28d.entry.js.map → p-ff068744.entry.js.map} +0 -0
  1509. /package/umd/modules/@postnord/web-components/postnord-web-components/{p-11ef58ab.entry.js.map → p-ffe79fa4.entry.js.map} +0 -0
@@ -0,0 +1,170 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+ import { F as FetchHelper } from './FetchHelper.js';
3
+ import { L as LocalStorageService } from './LocalStorageService.js';
4
+ import { d as defineCustomElement$1 } from './pn-qr-code-generator2.js';
5
+
6
+ class PnLevelUpService {
7
+ _endpoint;
8
+ _levelupAuthorizePath = `/api/levelup/level-up-authorize`;
9
+ _levelupTokenGrantPath = `/api/levelup/level-up-token-grant`;
10
+ levelupLocalStorageKey = 'levelup';
11
+ fetchHelper = new FetchHelper('PnLevelUpService');
12
+ _storage = new LocalStorageService();
13
+ constructor(endpoint) {
14
+ this._endpoint = this.formatEndpoint(endpoint);
15
+ }
16
+ newLevelupUser() {
17
+ let threeMinutesInMilliseconds = 180000;
18
+ this._storage.set(this.levelupLocalStorageKey, { expire: Date.now() + threeMinutesInMilliseconds });
19
+ }
20
+ async levelupAuthorize(system, defaultReturn) {
21
+ if (!system) {
22
+ return defaultReturn;
23
+ }
24
+ let model = {
25
+ system: system
26
+ };
27
+ const fetchUrl = this._endpoint + this._levelupAuthorizePath;
28
+ const data = (await this.fetchHelper.fetchJson(fetchUrl, this.getRequestInit(model), false));
29
+ return this.handleResponse(data, defaultReturn);
30
+ }
31
+ async levelupTokenGrant(id, loopSeconds, defaultReturn) {
32
+ if (!id) {
33
+ return defaultReturn;
34
+ }
35
+ let model = {
36
+ id: id,
37
+ loopSeconds: loopSeconds
38
+ };
39
+ const fetchUrl = this._endpoint + this._levelupTokenGrantPath;
40
+ const data = (await this.fetchHelper.fetchJson(fetchUrl, this.getRequestInit(model), false));
41
+ return this.handleResponse(data, defaultReturn);
42
+ }
43
+ formatEndpoint(endpoint) {
44
+ return endpoint.lastIndexOf('/') === endpoint.length - 1 ? endpoint.substring(0, endpoint.length - 1) : endpoint;
45
+ }
46
+ handleResponse(data, defaultReturn, checkForArray = false) {
47
+ if (!data) {
48
+ return defaultReturn;
49
+ }
50
+ let parsedData = JSON.parse(data);
51
+ if (!parsedData || checkForArray && !Array.isArray(parsedData)) {
52
+ return defaultReturn;
53
+ }
54
+ return parsedData;
55
+ }
56
+ getRequestInit(model, method = 'POST', mode = 'cors', contentTypes = 'application/json') {
57
+ return {
58
+ mode: mode,
59
+ method: method,
60
+ headers: {
61
+ 'Content-Type': contentTypes,
62
+ 'CustomValidateAntiForgeryToken': "0111000001101110011000110110000101110100"
63
+ },
64
+ body: JSON.stringify(model)
65
+ };
66
+ }
67
+ }
68
+
69
+ const pnLevelUpModalCss = "pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-level-up-modal .pn-modal-header{z-index:0}pn-level-up-modal .pn-modal{max-width:63.1rem}@media screen and (max-width: 768px){pn-level-up-modal .pn-modal{height:100%;max-height:100%}}pn-level-up-modal .level-up-computer-modal .pn-modal-content .modal-content{justify-self:center;display:flex;flex-wrap:wrap;flex-direction:column;gap:2em;margin:2em;width:max-content;align-content:space-around}pn-level-up-modal .pn-modal-label{margin:2.2rem 0}@media screen and (max-width: 768px){pn-level-up-modal .pn-modal-label{justify-self:center}}@media screen and (max-width: 768px){pn-level-up-modal .level-up-phone-modal .pn-modal-content{height:100%;align-content:center;align-items:center}}pn-level-up-modal .level-up-phone-modal .pn-modal-content pn-spinner{justify-self:center}pn-level-up-modal .level-up-phone-modal .pn-modal-content .modal-content-container{display:flex;flex-direction:row;align-items:center;gap:1em}@media screen and (max-width: 768px){pn-level-up-modal .level-up-phone-modal .pn-modal-content .modal-content-container{flex-direction:column}}pn-level-up-modal .level-up-phone-modal .pn-modal-content .modal-content-list ol{font-size:1.8rem;line-height:1.6;margin-left:2rem;padding-left:2rem}pn-level-up-modal .level-up-phone-modal .pn-modal-content .modal-content-list li{margin-bottom:1rem}@media screen and (max-width: 768px){pn-level-up-modal .level-up-phone-modal .pn-modal-content .modal-content-list ol{font-size:1.6rem}}";
70
+ const PnLevelUpModalStyle0 = pnLevelUpModalCss;
71
+
72
+ const PnLevelUpModal = /*@__PURE__*/ proxyCustomElement(class PnLevelUpModal extends HTMLElement {
73
+ constructor() {
74
+ super();
75
+ this.__registerHost();
76
+ this.open = undefined;
77
+ this.endpoint = undefined;
78
+ this.instructionPhoneLineOne = undefined;
79
+ this.instructionPhoneLineTwo = undefined;
80
+ this.instructionPhoneLineThree = undefined;
81
+ this.headingText = undefined;
82
+ this.outdatedQRMessage = undefined;
83
+ this.expiresInMessage = undefined;
84
+ this.system = undefined;
85
+ this.qrAriaLabel = undefined;
86
+ this.openModalToggle = undefined;
87
+ this.isLoading = true;
88
+ }
89
+ _bankIDUrl;
90
+ _levelupService;
91
+ _levelUpModal;
92
+ componentWillLoad() {
93
+ this._levelupService = new PnLevelUpService(this.endpoint);
94
+ this.updateOpen();
95
+ }
96
+ updateBankIDUrl = async () => {
97
+ this.isLoading = true;
98
+ let authResponse = await this._levelupService.levelupAuthorize(this.system, null);
99
+ this.isLoading = false;
100
+ this._bankIDUrl = authResponse.url;
101
+ await this._levelupService.levelupTokenGrant(authResponse.id, '30', null).then((response) => {
102
+ if (response.code === 200) {
103
+ this._levelupService.newLevelupUser();
104
+ }
105
+ });
106
+ };
107
+ updateOpen() {
108
+ if (this.open === 'open') {
109
+ this.handleOpen();
110
+ this.openModalToggle = true;
111
+ if (this._levelUpModal) {
112
+ if (this._levelUpModal.open === true) {
113
+ this._levelUpModal.open = false;
114
+ }
115
+ this._levelUpModal.open = true;
116
+ }
117
+ }
118
+ else {
119
+ this.openModalToggle = false;
120
+ }
121
+ }
122
+ handleOpen = async () => {
123
+ await this.updateBankIDUrl();
124
+ };
125
+ render() {
126
+ return (h(Host, { key: '0431f6d5caf8183d3e1c432a3ad663fa8648b1b4' }, h("pn-modal", { key: 'bb6f2be2f52908943154e99c02e7c3f7b9e648b6', ref: el => this._levelUpModal = el, open: this.openModalToggle, class: "level-up-phone-modal", "allow-overflow": 'true', label: this.headingText }, this.isLoading ?
127
+ (h("pn-spinner", { light: "false", size: "1.5" })) : (h("div", { class: "modal-content-container" }, h("div", { class: "modal-content-qr" }, h("pn-qr-code-generator", { url: this._bankIDUrl, "countdown-seconds": "30", "outdated-message": this.outdatedQRMessage, "expires-in-message": this.expiresInMessage, "update-code-every-second": true, "aria-label": this.qrAriaLabel })), h("div", { class: "modal-content-list" }, h("ol", null, this.instructionPhoneLineOne && h("li", null, this.instructionPhoneLineOne), this.instructionPhoneLineTwo && h("li", null, this.instructionPhoneLineTwo), this.instructionPhoneLineThree && h("li", null, this.instructionPhoneLineThree))))))));
128
+ }
129
+ static get watchers() { return {
130
+ "open": ["updateOpen"]
131
+ }; }
132
+ static get style() { return PnLevelUpModalStyle0; }
133
+ }, [0, "pn-level-up-modal", {
134
+ "open": [513],
135
+ "endpoint": [1],
136
+ "instructionPhoneLineOne": [1, "instruction-phone-line-one"],
137
+ "instructionPhoneLineTwo": [1, "instruction-phone-line-two"],
138
+ "instructionPhoneLineThree": [1, "instruction-phone-line-three"],
139
+ "headingText": [1, "heading-text"],
140
+ "outdatedQRMessage": [1, "outdated-q-r-message"],
141
+ "expiresInMessage": [1, "expires-in-message"],
142
+ "system": [1],
143
+ "qrAriaLabel": [1, "qr-aria-label"],
144
+ "openModalToggle": [32],
145
+ "isLoading": [32]
146
+ }, undefined, {
147
+ "open": ["updateOpen"]
148
+ }]);
149
+ function defineCustomElement() {
150
+ if (typeof customElements === "undefined") {
151
+ return;
152
+ }
153
+ const components = ["pn-level-up-modal", "pn-qr-code-generator"];
154
+ components.forEach(tagName => { switch (tagName) {
155
+ case "pn-level-up-modal":
156
+ if (!customElements.get(tagName)) {
157
+ customElements.define(tagName, PnLevelUpModal);
158
+ }
159
+ break;
160
+ case "pn-qr-code-generator":
161
+ if (!customElements.get(tagName)) {
162
+ defineCustomElement$1();
163
+ }
164
+ break;
165
+ } });
166
+ }
167
+
168
+ export { PnLevelUpService as P, PnLevelUpModal as a, defineCustomElement as d };
169
+
170
+ //# sourceMappingURL=pn-level-up-modal2.js.map
@@ -0,0 +1 @@
1
+ {"file":"pn-level-up-modal2.js","mappings":"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","names":[],"sources":["src/components/widgets/pn-level-up/pn-level-up.service.ts","src/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.scss?tag=pn-level-up-modal","src/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.tsx"],"sourcesContent":["import { FetchHelper } from '@/globals/FetchHelper';\nimport { LevelUpAuthorizeParameters, LevelUpAuthResponse, LevelUpTokenGrantParameters, LevelUpTokenGrantResponse } from './pn-level-up.models';\nimport { LocalStorageService } from '@/globals/LocalStorageService';\n\nexport class PnLevelUpService {\n private readonly _endpoint;\n private readonly _levelupAuthorizePath = `/api/levelup/level-up-authorize`;\n private readonly _levelupTokenGrantPath = `/api/levelup/level-up-token-grant`;\n private readonly levelupLocalStorageKey = 'levelup';\n \n private fetchHelper = new FetchHelper('PnLevelUpService');\n private _storage: LocalStorageService = new LocalStorageService();\n\n constructor(endpoint: string) {\n this._endpoint = this.formatEndpoint(endpoint);\n }\n\n public newLevelupUser() {\n let threeMinutesInMilliseconds = 180000;\n this._storage.set(this.levelupLocalStorageKey, { expire: Date.now() + threeMinutesInMilliseconds });\n }\n\n public async levelupAuthorize(system: string, defaultReturn: LevelUpAuthResponse) : Promise<LevelUpAuthResponse> {\n if (!system) {\n return defaultReturn;\n }\n\n let model: LevelUpAuthorizeParameters = {\n system: system\n };\n\n const fetchUrl = this._endpoint + this._levelupAuthorizePath;\n const data = (await this.fetchHelper.fetchJson(\n fetchUrl,\n this.getRequestInit(model),\n false,\n )) as string;\n\n return this.handleResponse<LevelUpAuthResponse>(data, defaultReturn);\n }\n \n public async levelupTokenGrant(id: string, loopSeconds: string, defaultReturn: LevelUpTokenGrantResponse) : Promise<LevelUpTokenGrantResponse> {\n if (!id) {\n return defaultReturn;\n }\n\n let model: LevelUpTokenGrantParameters = {\n id: id,\n loopSeconds: loopSeconds\n };\n\n const fetchUrl = this._endpoint + this._levelupTokenGrantPath;\n const data = (await this.fetchHelper.fetchJson(\n fetchUrl,\n this.getRequestInit(model),\n false,\n )) as string;\n\n return this.handleResponse<LevelUpTokenGrantResponse>(data, defaultReturn);\n }\n \n private formatEndpoint(endpoint: string) : string {\n return endpoint.lastIndexOf('/') === endpoint.length - 1 ? endpoint.substring(0, endpoint.length - 1) : endpoint;\n }\n\n private handleResponse<T>(data : any, defaultReturn : any, checkForArray: boolean = false) {\n if (!data) {\n return defaultReturn;\n }\n\n let parsedData = JSON.parse(data) as T;\n if (!parsedData || checkForArray && !Array.isArray(parsedData)) {\n return defaultReturn;\n }\n\n return parsedData;\n }\n \n private getRequestInit(model: any, method: string = 'POST', mode: RequestMode = 'cors', contentTypes: string = 'application/json'): RequestInit {\n return {\n mode: mode,\n method: method,\n headers: \n {\n 'Content-Type': contentTypes,\n 'CustomValidateAntiForgeryToken': \"0111000001101110011000110110000101110100\"\n },\n body: JSON.stringify(model)\n };\n }\n}","@import \"../../../../globals/main.scss\";\n\npn-level-up-modal {\n .pn-modal-header {\n z-index: 0;\n }\n\n .pn-modal {\n max-width: 63.1rem;\n\n @media screen and (max-width: $min-width-md) {\n height: 100%;\n max-height: 100%;\n }\n }\n\n .level-up-computer-modal .pn-modal-content .modal-content {\n justify-self: center;\n display: flex;\n flex-wrap: wrap;\n flex-direction: column;\n gap: 2em;\n margin: 2em;\n width: max-content;\n align-content: space-around;\n }\n\n .pn-modal-label {\n margin: 2.2rem 0;\n\n @media screen and (max-width: $min-width-md) {\n justify-self: center;\n }\n }\n\n .level-up-phone-modal .pn-modal-content {\n @media screen and (max-width: $min-width-md) {\n height: 100%;\n align-content: center;\n align-items: center;\n }\n \n pn-spinner {\n justify-self: center;\n }\n\n .modal-content-container {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 1em;\n\n @media screen and (max-width: $min-width-md) {\n flex-direction: column;\n }\n }\n\n .modal-content-list {\n ol {\n font-size: 1.8rem;\n line-height: 1.6;\n margin-left: 2rem;\n padding-left: 2rem;\n }\n\n li {\n margin-bottom: 1rem;\n }\n\n @media screen and (max-width: $min-width-md) {\n ol {\n font-size: 1.6rem;\n }\n }\n }\n }\n}","import { Component, Host, Prop, h, State, Watch } from '@stencil/core';\nimport { DeviceType } from '../types';\nimport { PnLevelUpService } from '../pn-level-up.service';\n\n@Component({\n tag: 'pn-level-up-modal',\n styleUrl: 'pn-level-up-modal.scss',\n})\n\nexport class PnLevelUpModal {\n @Prop({ reflect: true }) open: 'open' | 'close';\n @Prop() endpoint: string;\n @Prop() instructionPhoneLineOne: string;\n @Prop() instructionPhoneLineTwo: string;\n @Prop() instructionPhoneLineThree: string;\n @Prop() headingText: string;\n @Prop() outdatedQRMessage: string;\n @Prop() expiresInMessage: string;\n @Prop() system: DeviceType;\n @Prop() qrAriaLabel: string;\n\n @State() private openModalToggle: boolean;\n @State() private isLoading: boolean = true;\n\n private _bankIDUrl: string;\n private _levelupService: PnLevelUpService;\n private _levelUpModal: HTMLElement;\n \n componentWillLoad() { \n this._levelupService = new PnLevelUpService(this.endpoint);\n this.updateOpen();\n }\n\n private updateBankIDUrl = async () => {\n this.isLoading = true;\n let authResponse = await this._levelupService.levelupAuthorize(this.system, null);\n this.isLoading = false;\n this._bankIDUrl = authResponse.url;\n await this._levelupService.levelupTokenGrant(authResponse.id, '30', null).then((response) => {\n if(response.code === 200) {\n this._levelupService.newLevelupUser();\n }\n });\n }\n\n @Watch('open')\n updateOpen () {\n if (this.open === 'open') {\n this.handleOpen();\n this.openModalToggle = true;\n if (this._levelUpModal) {\n if ((this._levelUpModal as any).open === true) {\n (this._levelUpModal as any).open = false;\n }\n (this._levelUpModal as any).open = true;\n }\n }\n else {\n this.openModalToggle = false;\n }\n }\n\n private handleOpen = async () => {\n await this.updateBankIDUrl();\n }\n\n render() {\n return (\n <Host>\n <pn-modal\n ref={el => this._levelUpModal = el as HTMLElement}\n open={this.openModalToggle}\n class=\"level-up-phone-modal\"\n allow-overflow='true'\n label={this.headingText}>\n {this.isLoading ?\n (<pn-spinner light=\"false\" size=\"1.5\"></pn-spinner>) : (\n <div class=\"modal-content-container\">\n <div class=\"modal-content-qr\">\n <pn-qr-code-generator\n url={this._bankIDUrl}\n countdown-seconds=\"30\"\n outdated-message={this.outdatedQRMessage}\n expires-in-message={this.expiresInMessage}\n update-code-every-second={true}\n aria-label={this.qrAriaLabel}>\n </pn-qr-code-generator>\n </div>\n <div class=\"modal-content-list\">\n <ol>\n {this.instructionPhoneLineOne && <li>{this.instructionPhoneLineOne}</li>}\n {this.instructionPhoneLineTwo && <li>{this.instructionPhoneLineTwo}</li>}\n {this.instructionPhoneLineThree && <li>{this.instructionPhoneLineThree}</li>}\n </ol>\n </div>\n </div>\n )}\n </pn-modal>\n </Host>\n );\n }\n}"],"version":3}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PnLevelUp extends Components.PnLevelUp, HTMLElement {}
4
+ export const PnLevelUp: {
5
+ prototype: PnLevelUp;
6
+ new (): PnLevelUp;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,185 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+ import { H as HeadingTag } from './HeadingTag.js';
3
+ import { P as PnLevelUpService, d as defineCustomElement$3 } from './pn-level-up-modal2.js';
4
+ import { L as LocalStorageService } from './LocalStorageService.js';
5
+ import { d as defineCustomElement$2 } from './pn-qr-code-generator2.js';
6
+
7
+ 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="M23.591 9.136c.93-5.875-2.801-8.22-8.152-8.22H9.531L8.744 5.91h1.003c.55 0 1.07-.252 1.293-.616a.6.6 0 0 0 .104-.319c0-.207-.141-.363-.283-.467-.386-.29-.468-.593-.468-.809q-.002-.064.008-.118c.082-.527.795-1.098 1.739-1.098.564 0 .995.133 1.256.378.23.215.32.52.252.838-.082.379-.46.69-.676.846-.572.4-.498.75-.46.853.118.312.572.512.92.512h1.524v.007c2.08.015 3.195.972 2.846 3.198-.327 2.07-1.917 2.96-3.812 2.974l-.75 4.778h1.107c4.674 0 8.494-2.997 9.244-7.73M7.666 12.489l.981-6.172H7.6c-.49 0-1.122-.274-1.307-.779-.06-.17-.201-.757.609-1.328.29-.2.475-.423.513-.593a.46.46 0 0 0-.134-.453c-.178-.17-.528-.267-.974-.267-.75 0-1.278.43-1.33.742-.037.23.141.415.297.534.469.349.58.853.29 1.328-.297.49-.943.809-1.635.816h-1.07c-.05.343-.547 3.494-.985 6.27v.002c-.329 2.085-.624 3.958-.672 4.27h5.804l.103-.664c.12-.77.327-2.103.58-3.706zM.89 18.988h2.37c1.011 0 1.256.511 1.182.979-.06.378-.32.66-.765.846.564.215.787.548.706 1.075-.104.66-.677 1.15-1.427 1.15H.257zm1.568 1.676c.46 0 .676-.245.72-.534.045-.312-.096-.527-.557-.527h-.408l-.164 1.061zm-.253 1.75c.476 0 .75-.192.818-.585.052-.341-.141-.542-.602-.542h-.468l-.179 1.135h.431zm4.437.364c.148.267.446.334 1.062.29l.357-.831c-.35-.008-.364-.104-.312-.416l.141-.89c.12-.786-.52-1.083-1.24-1.083-.566 0-1.056.17-1.561.534l-.142.92c.588-.4.93-.534 1.338-.534.35 0 .46.104.431.386-.167.113-.452.185-.75.26-.364.09-.747.187-.96.37a.9.9 0 0 0-.319.534c-.067.4.179.764.877.764.387 0 .75-.104 1.078-.304m-.411-.949c.145-.042.291-.085.403-.156l-.067.445c-.022.141-.03.215-.014.29a1.17 1.17 0 0 1-.625.214c-.2 0-.327-.148-.297-.348.044-.283.322-.364.6-.445M8.855 19.9h1.234l-.067.408c.394-.334.69-.46 1.077-.46.691 0 1.011.423.9 1.113l-.32 2.07h-1.234l.268-1.714c.052-.312-.045-.46-.282-.46-.194 0-.372.104-.543.334l-.282 1.832H8.372zm5.336-.912h-1.234l-.631 4.043h1.233l.223-1.447h.015l.936 1.447h1.553l-1.218-1.796 1.516-1.335H15.06l-1.181 1.076zm3.135 0h1.42l-.624 4.043h-1.42zm4.14 0h-2.029l-.631 4.043h2.288c1.375 0 2.104-1.046 2.245-1.966.148-.942-.305-2.078-1.873-2.078m.468 2.017c-.111.72-.49 1.061-1.181 1.061h-.372l.327-2.121h.379c.765 0 .929.526.847 1.06" clip-rule="evenodd"/></svg>';
8
+ const bankid = icon;
9
+
10
+ const pnLevelUpCss = "pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}:root{--usp-preamble-margin:clamp(1.5rem, 3vw, 1.8rem)}pn-level-up .pn-level-up{background:linear-gradient(90deg, #ffffff 0%, #effbff 17.44%);color:#2d2013;display:flex;flex-direction:column-reverse;max-width:100%;padding:clamp(2rem, 5vw, 5rem)}pn-level-up .pn-level-up .heading{font-size:clamp(2rem, 4vw, 3rem);font-weight:700;margin-bottom:1rem}pn-level-up .pn-level-up .preamble{font-size:clamp(1rem, 4vw, 1.6rem);margin-top:var(--usp-preamble-margin);margin-bottom:var(--usp-preamble-margin)}pn-level-up .pn-level-up .cta{display:flex;font-size:clamp(1rem, 4vw, 1.6rem);flex-direction:column;gap:clamp(1rem, 4vw, 1.2rem)}pn-level-up .pn-level-up .image-container{display:flex;align-items:center;justify-content:center;margin-bottom:2rem}pn-level-up .pn-level-up .image-container .graphics{--pn-width:12rem !important;--pn-height:12rem !important}pn-level-up .pn-level-up .image-container .image{border-radius:50%;width:20rem;height:20rem;object-fit:cover}@media (min-width: 768px){pn-level-up .pn-level-up{flex-direction:row;align-items:center;justify-content:space-between}pn-level-up .pn-level-up .content{max-width:70%}pn-level-up .pn-level-up .cta{flex-direction:row;gap:clamp(2rem, 3vw, 3rem);padding:0}pn-level-up .pn-level-up .image-container{margin-bottom:0}pn-level-up .pn-level-up .image-container .graphics{--pn-width:15rem;--pn-height:15rem}}@media (min-width: 1200px){pn-level-up .pn-level-up{max-width:1140px;margin:0 auto}pn-level-up .pn-level-up .image-container .graphics{--pn-width:18rem;--pn-height:18rem}}@media (min-width: 1640px){pn-level-up .pn-level-up{max-width:1440px}pn-level-up .pn-level-up .image-container .graphics{--pn-width:20rem;--pn-height:20rem}}";
11
+ const PnLevelUpStyle0 = pnLevelUpCss;
12
+
13
+ const PnLevelUp$1 = /*@__PURE__*/ proxyCustomElement(class PnLevelUp extends HTMLElement {
14
+ constructor() {
15
+ super();
16
+ this.__registerHost();
17
+ this.heading = undefined;
18
+ this.headingLevel = 'h2';
19
+ this.preamble = undefined;
20
+ this.imageUrl = undefined;
21
+ this.imageAltText = undefined;
22
+ this.endpoint = undefined;
23
+ this.webModalContinueOtherDeviceLabel = undefined;
24
+ this.webModalContinueThisDeviceLabel = undefined;
25
+ this.mobileModalContinueThisDeviceLabel = undefined;
26
+ this.mobileModalContinueOtherDeviceLabel = undefined;
27
+ this.modalInstructionPhoneLineOne = undefined;
28
+ this.modalInstructionPhoneLineTwo = undefined;
29
+ this.modalInstructionPhoneLineThree = undefined;
30
+ this.modalHeadingText = undefined;
31
+ this.modalOutdatedQRMessage = undefined;
32
+ this.modalExpiresInMessage = undefined;
33
+ this.qrAriaLabel = undefined;
34
+ this.leveledupMessage = undefined;
35
+ this.isLeveledUp = false;
36
+ this.isLoading = false;
37
+ this.isRecentLeveledUp = false;
38
+ this.errorMessage = undefined;
39
+ }
40
+ _android = 'android';
41
+ _ios = 'ios';
42
+ _web = 'web';
43
+ levelupLocalStorageKey = 'levelup';
44
+ _system;
45
+ _levelupService;
46
+ _storage = new LocalStorageService();
47
+ componentWillLoad() {
48
+ if (!this.isLeveledUp) {
49
+ this.checkRecentLevelUp();
50
+ }
51
+ this._levelupService = new PnLevelUpService(this.endpoint);
52
+ this._system = this.getDeviceType();
53
+ }
54
+ getDeviceType() {
55
+ const userAgent = navigator.userAgent;
56
+ if (/android/i.test(userAgent)) {
57
+ return this._android;
58
+ }
59
+ if (/iPad|iPhone|iPod/.test(userAgent) && !window.MSStream) {
60
+ return this._ios;
61
+ }
62
+ return this._web;
63
+ }
64
+ openLocalApp = async () => {
65
+ this.isLoading = true;
66
+ let authResponse = await this._levelupService.levelupAuthorize(this._system, null);
67
+ window.location.href = authResponse.url;
68
+ this.isLoading = false;
69
+ await this._levelupService.levelupTokenGrant(authResponse.id, '30', null).then((response) => {
70
+ if (response.code === 200) {
71
+ this._levelupService.newLevelupUser();
72
+ this.isRecentLeveledUp = true;
73
+ this.errorMessage = null;
74
+ }
75
+ else {
76
+ this.errorMessage = response.customMessage;
77
+ }
78
+ });
79
+ };
80
+ openModal() {
81
+ let levelUpModal = document.getElementsByTagName('pn-level-up-modal')[0];
82
+ let openAttributeValue = levelUpModal.getAttribute('open');
83
+ if (openAttributeValue === 'open') {
84
+ levelUpModal.setAttribute('open', 'close');
85
+ }
86
+ levelUpModal.setAttribute('open', 'open');
87
+ }
88
+ renderWebButtonOptions() {
89
+ return (h("div", { class: "cta", role: "group" }, this.webModalContinueOtherDeviceLabel &&
90
+ h("pn-button", { icon: bankid, "left-icon": 'true', appearance: 'default', label: this.webModalContinueOtherDeviceLabel, onClick: () => this.openModal() }), this.webModalContinueThisDeviceLabel &&
91
+ h("pn-button", { icon: bankid, "left-icon": 'true', appearance: 'light', variant: 'outlined', label: this.webModalContinueThisDeviceLabel, onClick: () => this.openLocalApp(), loading: this.isLoading })));
92
+ }
93
+ renderMobileButtonOptions() {
94
+ return (h("div", { class: "cta", role: "group" }, this.mobileModalContinueThisDeviceLabel &&
95
+ h("pn-button", { icon: bankid, "left-icon": 'true', appearance: 'default', label: this.mobileModalContinueThisDeviceLabel, onClick: () => this.openLocalApp(), loading: this.isLoading }), this.mobileModalContinueOtherDeviceLabel &&
96
+ h("pn-button", { icon: bankid, "left-icon": 'true', appearance: 'light', variant: 'outlined', label: this.mobileModalContinueOtherDeviceLabel, onClick: () => this.openModal() })));
97
+ }
98
+ presentResult() {
99
+ if (this.isLeveledUp) {
100
+ return null;
101
+ }
102
+ return (h("pn-toast", { text: this.leveledupMessage, appearance: 'success' }));
103
+ }
104
+ checkRecentLevelUp() {
105
+ let levelupStorage = this._storage.get(this.levelupLocalStorageKey);
106
+ if (levelupStorage === null) {
107
+ this.isRecentLeveledUp = false;
108
+ }
109
+ else if (levelupStorage.expire > Date.now()) {
110
+ this.isRecentLeveledUp = true;
111
+ }
112
+ else {
113
+ this._storage.remove(this.levelupLocalStorageKey);
114
+ this.isRecentLeveledUp = false;
115
+ }
116
+ }
117
+ get hasButtonTexts() {
118
+ if (this._system === this._web) {
119
+ return Boolean(this.webModalContinueOtherDeviceLabel) && Boolean(this.webModalContinueThisDeviceLabel);
120
+ }
121
+ else {
122
+ return Boolean(this.mobileModalContinueOtherDeviceLabel) && Boolean(this.mobileModalContinueThisDeviceLabel);
123
+ }
124
+ }
125
+ render() {
126
+ const headingId = 'pn-level-up-heading';
127
+ return (h(Host, { key: 'f48ec4a1e559a8967176b29c1229f0e9db250ee0' }, this.isLeveledUp || this.isRecentLeveledUp
128
+ ? (this.presentResult())
129
+ : (h("div", { class: "pn-level-up", role: "region", "aria-labelledby": this.heading ? headingId : undefined }, h("div", { class: "content" }, this.heading && (h(HeadingTag, { id: headingId, level: this.headingLevel, cssClass: "heading" }, this.heading)), this.preamble && (h("div", { class: "preamble" }, this.preamble)), this.hasButtonTexts && this._system === this._web && this.renderWebButtonOptions(), this.hasButtonTexts && this._system !== this._web && this.renderMobileButtonOptions()), h("div", { class: "image-container", "aria-hidden": !this.imageAltText }, this.imageUrl && h("img", { class: "image graphics", src: this.imageUrl, alt: this.imageAltText || '', loading: "lazy" })))), this.errorMessage && h("pn-toast", { key: 'a6f9a66b2a8d9007a8aed5e7f07a34f19f3c31b5', text: this.errorMessage, appearance: 'warning' }), h("pn-level-up-modal", { key: '73cafdd318db53a36a048b6b237234c443466a91', open: 'close', endpoint: this.endpoint, "instruction-phone-line-one": this.modalInstructionPhoneLineOne, "instruction-phone-line-two": this.modalInstructionPhoneLineTwo, "instruction-phone-line-three": this.modalInstructionPhoneLineThree, "heading-text": this.modalHeadingText, "outdated-q-r-message": this.modalOutdatedQRMessage, "expires-in-message": this.modalExpiresInMessage, "qr-aria-label": this.qrAriaLabel, system: this._android })));
130
+ }
131
+ static get style() { return PnLevelUpStyle0; }
132
+ }, [0, "pn-level-up", {
133
+ "heading": [1],
134
+ "headingLevel": [8, "heading-level"],
135
+ "preamble": [1],
136
+ "imageUrl": [1, "image-url"],
137
+ "imageAltText": [1, "image-alt-text"],
138
+ "endpoint": [1],
139
+ "webModalContinueOtherDeviceLabel": [1, "web-modal-continue-other-device-label"],
140
+ "webModalContinueThisDeviceLabel": [1, "web-modal-continue-this-device-label"],
141
+ "mobileModalContinueThisDeviceLabel": [1, "mobile-modal-continue-this-device-label"],
142
+ "mobileModalContinueOtherDeviceLabel": [1, "mobile-modal-continue-other-device-label"],
143
+ "modalInstructionPhoneLineOne": [1, "modal-instruction-phone-line-one"],
144
+ "modalInstructionPhoneLineTwo": [1, "modal-instruction-phone-line-two"],
145
+ "modalInstructionPhoneLineThree": [1, "modal-instruction-phone-line-three"],
146
+ "modalHeadingText": [1, "modal-heading-text"],
147
+ "modalOutdatedQRMessage": [1, "modal-outdated-q-r-message"],
148
+ "modalExpiresInMessage": [1, "modal-expires-in-message"],
149
+ "qrAriaLabel": [1, "qr-aria-label"],
150
+ "leveledupMessage": [1, "leveledup-message"],
151
+ "isLeveledUp": [4, "is-leveled-up"],
152
+ "isLoading": [32],
153
+ "isRecentLeveledUp": [32],
154
+ "errorMessage": [32]
155
+ }]);
156
+ function defineCustomElement$1() {
157
+ if (typeof customElements === "undefined") {
158
+ return;
159
+ }
160
+ const components = ["pn-level-up", "pn-level-up-modal", "pn-qr-code-generator"];
161
+ components.forEach(tagName => { switch (tagName) {
162
+ case "pn-level-up":
163
+ if (!customElements.get(tagName)) {
164
+ customElements.define(tagName, PnLevelUp$1);
165
+ }
166
+ break;
167
+ case "pn-level-up-modal":
168
+ if (!customElements.get(tagName)) {
169
+ defineCustomElement$3();
170
+ }
171
+ break;
172
+ case "pn-qr-code-generator":
173
+ if (!customElements.get(tagName)) {
174
+ defineCustomElement$2();
175
+ }
176
+ break;
177
+ } });
178
+ }
179
+
180
+ const PnLevelUp = PnLevelUp$1;
181
+ const defineCustomElement = defineCustomElement$1;
182
+
183
+ export { PnLevelUp, defineCustomElement };
184
+
185
+ //# sourceMappingURL=pn-level-up.js.map
@@ -0,0 +1 @@
1
+ {"file":"pn-level-up.js","mappings":"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","names":["PnLevelUp"],"sources":["node_modules/pn-design-assets/pn-assets/icons/bankid.js","src/components/widgets/pn-level-up/pn-level-up.scss?tag=pn-level-up","src/components/widgets/pn-level-up/pn-level-up.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=\"M23.591 9.136c.93-5.875-2.801-8.22-8.152-8.22H9.531L8.744 5.91h1.003c.55 0 1.07-.252 1.293-.616a.6.6 0 0 0 .104-.319c0-.207-.141-.363-.283-.467-.386-.29-.468-.593-.468-.809q-.002-.064.008-.118c.082-.527.795-1.098 1.739-1.098.564 0 .995.133 1.256.378.23.215.32.52.252.838-.082.379-.46.69-.676.846-.572.4-.498.75-.46.853.118.312.572.512.92.512h1.524v.007c2.08.015 3.195.972 2.846 3.198-.327 2.07-1.917 2.96-3.812 2.974l-.75 4.778h1.107c4.674 0 8.494-2.997 9.244-7.73M7.666 12.489l.981-6.172H7.6c-.49 0-1.122-.274-1.307-.779-.06-.17-.201-.757.609-1.328.29-.2.475-.423.513-.593a.46.46 0 0 0-.134-.453c-.178-.17-.528-.267-.974-.267-.75 0-1.278.43-1.33.742-.037.23.141.415.297.534.469.349.58.853.29 1.328-.297.49-.943.809-1.635.816h-1.07c-.05.343-.547 3.494-.985 6.27v.002c-.329 2.085-.624 3.958-.672 4.27h5.804l.103-.664c.12-.77.327-2.103.58-3.706zM.89 18.988h2.37c1.011 0 1.256.511 1.182.979-.06.378-.32.66-.765.846.564.215.787.548.706 1.075-.104.66-.677 1.15-1.427 1.15H.257zm1.568 1.676c.46 0 .676-.245.72-.534.045-.312-.096-.527-.557-.527h-.408l-.164 1.061zm-.253 1.75c.476 0 .75-.192.818-.585.052-.341-.141-.542-.602-.542h-.468l-.179 1.135h.431zm4.437.364c.148.267.446.334 1.062.29l.357-.831c-.35-.008-.364-.104-.312-.416l.141-.89c.12-.786-.52-1.083-1.24-1.083-.566 0-1.056.17-1.561.534l-.142.92c.588-.4.93-.534 1.338-.534.35 0 .46.104.431.386-.167.113-.452.185-.75.26-.364.09-.747.187-.96.37a.9.9 0 0 0-.319.534c-.067.4.179.764.877.764.387 0 .75-.104 1.078-.304m-.411-.949c.145-.042.291-.085.403-.156l-.067.445c-.022.141-.03.215-.014.29a1.17 1.17 0 0 1-.625.214c-.2 0-.327-.148-.297-.348.044-.283.322-.364.6-.445M8.855 19.9h1.234l-.067.408c.394-.334.69-.46 1.077-.46.691 0 1.011.423.9 1.113l-.32 2.07h-1.234l.268-1.714c.052-.312-.045-.46-.282-.46-.194 0-.372.104-.543.334l-.282 1.832H8.372zm5.336-.912h-1.234l-.631 4.043h1.233l.223-1.447h.015l.936 1.447h1.553l-1.218-1.796 1.516-1.335H15.06l-1.181 1.076zm3.135 0h1.42l-.624 4.043h-1.42zm4.14 0h-2.029l-.631 4.043h2.288c1.375 0 2.104-1.046 2.245-1.966.148-.942-.305-2.078-1.873-2.078m.468 2.017c-.111.72-.49 1.061-1.181 1.061h-.372l.327-2.121h.379c.765 0 .929.526.847 1.06\" clip-rule=\"evenodd\"/></svg>';\nexport const bankid = icon;\n","@import '../../../globals/main.scss';\n\n:root {\n --usp-preamble-margin: clamp(1.5rem, 3vw, 1.8rem);\n}\n\npn-level-up {\n .pn-level-up {\n background: linear-gradient(90deg, $white 0%, $blue25 17.44%);\n color: $gray900;\n display: flex;\n flex-direction: column-reverse;\n max-width: 100%;\n padding: clamp(2rem, 5vw, 5rem);\n\n .heading {\n font-size: clamp(2rem, 4vw, 3rem);\n font-weight: 700;\n margin-bottom: 1rem;\n }\n\n .preamble {\n font-size: clamp(1rem, 4vw, 1.6rem);\n margin-top: var(--usp-preamble-margin);\n margin-bottom: var(--usp-preamble-margin);\n }\n\n .cta {\n display: flex;\n font-size: clamp(1rem, 4vw, 1.6rem);\n flex-direction: column;\n gap: clamp(1rem, 4vw, 1.2rem);\n }\n\n .image-container {\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 2rem;\n\n .graphics {\n --pn-width: #{$graphicsWidth} !important;\n --pn-height: #{$graphicsWidth} !important;\n }\n\n .image {\n border-radius: 50%;\n width: 20rem;\n height: 20rem;\n object-fit: cover;\n }\n }\n\n @media (min-width: $min-width-md) {\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n\n .content {\n max-width: 70%;\n }\n\n .cta {\n flex-direction: row;\n gap: clamp(2rem, 3vw, 3rem);\n padding: 0;\n }\n\n .image-container {\n margin-bottom: 0;\n\n .graphics {\n --pn-width: #{$graphicsWidthMd};\n --pn-height: #{$graphicsWidthMd};\n }\n }\n }\n\n @media (min-width: $min-width-xl) {\n max-width: $max-width-xl;\n margin: 0 auto;\n\n .image-container {\n .graphics {\n --pn-width: #{$graphicsWidthXl};\n --pn-height: #{$graphicsWidthXl};\n }\n }\n }\n\n @media (min-width: $min-width-xxl) {\n max-width: $max-width-xxl;\n\n .image-container {\n .graphics {\n --pn-width: #{$graphicsWidthXxl};\n --pn-height: #{$graphicsWidthXxl};\n }\n }\n }\n }\n}","import { HeadingLevel } from '@/components';\nimport { HeadingTag } from '@/globals/HeadingTag';\nimport { Component, Host, Prop, h, State } from '@stencil/core';\nimport { bankid } from 'pn-design-assets/pn-assets/icons.js';\nimport { DeviceType } from './types';\nimport { PnLevelUpService } from './pn-level-up.service';\nimport { LocalStorageService } from '@/globals/LocalStorageService';\n\n@Component({\n tag: 'pn-level-up',\n styleUrl: 'pn-level-up.scss'\n})\nexport class PnLevelUp {\n @Prop() heading?: string;\n @Prop() headingLevel: HeadingLevel = 'h2';\n @Prop() preamble?: string;\n @Prop() imageUrl?: string;\n @Prop() imageAltText?: string;\n @Prop() endpoint: string;\n @Prop() webModalContinueOtherDeviceLabel: string;\n @Prop() webModalContinueThisDeviceLabel: string;\n @Prop() mobileModalContinueThisDeviceLabel: string;\n @Prop() mobileModalContinueOtherDeviceLabel: string;\n @Prop() modalInstructionPhoneLineOne: string;\n @Prop() modalInstructionPhoneLineTwo: string;\n @Prop() modalInstructionPhoneLineThree: string;\n @Prop() modalHeadingText: string;\n @Prop() modalOutdatedQRMessage: string;\n @Prop() modalExpiresInMessage: string;\n @Prop() qrAriaLabel: string;\n @Prop() leveledupMessage: string;\n @Prop() isLeveledUp: boolean = false;\n\n @State() private isLoading: boolean = false;\n @State() private isRecentLeveledUp: boolean = false;\n @State() private errorMessage: string;\n\n private readonly _android: DeviceType = 'android';\n private readonly _ios: DeviceType = 'ios';\n private readonly _web: DeviceType = 'web';\n private readonly levelupLocalStorageKey = 'levelup';\n\n private _system: DeviceType;\n private _levelupService: PnLevelUpService;\n private _storage: LocalStorageService = new LocalStorageService();\n\n componentWillLoad() {\n if (!this.isLeveledUp) {\n this.checkRecentLevelUp();\n }\n\n this._levelupService = new PnLevelUpService(this.endpoint);\n this._system = this.getDeviceType();\n }\n\n getDeviceType(): DeviceType {\n const userAgent = navigator.userAgent;\n \n if (/android/i.test(userAgent)) {\n return this._android;\n }\n \n if (/iPad|iPhone|iPod/.test(userAgent) && !(window as any).MSStream) {\n return this._ios;\n }\n \n return this._web;\n }\n\n private openLocalApp = async () => {\n this.isLoading = true;\n let authResponse = await this._levelupService.levelupAuthorize(this._system, null)\n window.location.href = authResponse.url;\n this.isLoading = false;\n await this._levelupService.levelupTokenGrant(authResponse.id, '30', null).then((response) => {\n if (response.code === 200) {\n this._levelupService.newLevelupUser();\n this.isRecentLeveledUp = true;\n this.errorMessage = null;\n }\n else {\n this.errorMessage = response.customMessage;\n }\n });\n }\n\n private openModal() {\n let levelUpModal = document.getElementsByTagName('pn-level-up-modal')[0];\n let openAttributeValue = levelUpModal.getAttribute('open');\n\n if (openAttributeValue === 'open') {\n levelUpModal.setAttribute('open', 'close');\n }\n\n levelUpModal.setAttribute('open', 'open');\n }\n\n private renderWebButtonOptions() {\n return ( \n <div class=\"cta\" role=\"group\">\n {this.webModalContinueOtherDeviceLabel &&\n <pn-button\n icon={bankid}\n left-icon='true'\n appearance='default'\n label={this.webModalContinueOtherDeviceLabel}\n onClick={() => this.openModal()}>\n </pn-button>}\n {this.webModalContinueThisDeviceLabel &&\n <pn-button\n icon={bankid}\n left-icon='true'\n appearance='light'\n variant='outlined'\n label={this.webModalContinueThisDeviceLabel}\n onClick={() => this.openLocalApp()}\n loading={this.isLoading}>\n </pn-button>}\n </div>);\n }\n\n private renderMobileButtonOptions() {\n return (\n <div class=\"cta\" role=\"group\">\n {this.mobileModalContinueThisDeviceLabel &&\n <pn-button\n icon={bankid}\n left-icon='true'\n appearance='default'\n label={this.mobileModalContinueThisDeviceLabel}\n onClick={() => this.openLocalApp()}\n loading={this.isLoading}>\n </pn-button>}\n {this.mobileModalContinueOtherDeviceLabel &&\n <pn-button\n icon={bankid}\n left-icon='true'\n appearance='light'\n variant='outlined'\n label={this.mobileModalContinueOtherDeviceLabel}\n onClick={() => this.openModal()}>\n </pn-button>}\n </div>);\n }\n\n private presentResult() {\n if (this.isLeveledUp) {\n return null;\n }\n\n return (<pn-toast text={this.leveledupMessage} appearance='success'></pn-toast>);\n }\n\n private checkRecentLevelUp() {\n let levelupStorage = this._storage.get(this.levelupLocalStorageKey);\n if (levelupStorage === null) {\n this.isRecentLeveledUp = false;\n }\n else if (levelupStorage.expire > Date.now()) {\n this.isRecentLeveledUp = true;\n }\n else {\n this._storage.remove(this.levelupLocalStorageKey);\n this.isRecentLeveledUp = false;\n }\n }\n\n private get hasButtonTexts(): boolean {\n if (this._system === this._web) {\n return Boolean(this.webModalContinueOtherDeviceLabel) && Boolean(this.webModalContinueThisDeviceLabel);\n }\n else {\n return Boolean(this.mobileModalContinueOtherDeviceLabel) && Boolean(this.mobileModalContinueThisDeviceLabel);\n }\n }\n\n render() {\n const headingId = 'pn-level-up-heading';\n return (\n <Host>\n {this.isLeveledUp || this.isRecentLeveledUp \n ? (this.presentResult()) \n : (<div class=\"pn-level-up\" role=\"region\" aria-labelledby={this.heading ? headingId : undefined}>\n <div class=\"content\">\n {this.heading && (\n <HeadingTag id={headingId} level={this.headingLevel} cssClass=\"heading\">\n {this.heading}\n </HeadingTag>\n )}\n {this.preamble && (\n <div class=\"preamble\">\n {this.preamble}\n </div>\n )}\n {this.hasButtonTexts && this._system === this._web && this.renderWebButtonOptions()}\n {this.hasButtonTexts && this._system !== this._web && this.renderMobileButtonOptions()}\n </div>\n <div class=\"image-container\" aria-hidden={!this.imageAltText}>\n {this.imageUrl && <img class=\"image graphics\" src={this.imageUrl} alt={this.imageAltText || ''} loading=\"lazy\" />}\n </div>\n </div>\n )}\n {this.errorMessage && <pn-toast text={this.errorMessage} appearance='warning'></pn-toast>}\n <pn-level-up-modal\n open='close'\n endpoint={this.endpoint}\n instruction-phone-line-one={this.modalInstructionPhoneLineOne}\n instruction-phone-line-two={this.modalInstructionPhoneLineTwo}\n instruction-phone-line-three={this.modalInstructionPhoneLineThree}\n heading-text={this.modalHeadingText}\n outdated-q-r-message={this.modalOutdatedQRMessage}\n expires-in-message={this.modalExpiresInMessage}\n qr-aria-label={this.qrAriaLabel}\n system={this._android}>\n </pn-level-up-modal>\n </Host>\n );\n }\n}\n\n"],"version":3}
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
 
3
- const pnLineShapeCss = "pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}pn-line-shape .pn-line-shape__container{display:flex}pn-line-shape .pn-line-shape__line{border-style:solid;border-width:0.4rem;border-radius:1.6rem;border-color:#00a0d6}pn-line-shape .pn-line-shape__dot{width:0.8rem;border-style:solid;border-width:0.4rem;border-radius:1.6rem;height:0.8rem;border-color:#00a0d6}pn-line-shape[slot=horizontal-line] .pn-line-shape__container{flex-direction:row;flex-wrap:nowrap;width:100%;gap:0.8rem;padding:2.4rem 0}pn-line-shape[slot=horizontal-line] .pn-line-shape__line{height:0.8rem;width:100%}pn-line-shape[slot=vertical-line] .pn-line-shape__container{height:100%;flex-direction:column;gap:0.8rem;padding:0.8rem 0.5rem}pn-line-shape[slot=vertical-line] .pn-line-shape__line{height:100%;width:0.8rem}";
3
+ const pnLineShapeCss = "pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-line-shape .pn-line-shape__container{display:flex}pn-line-shape .pn-line-shape__line{border-style:solid;border-width:0.4rem;border-radius:1.6rem;border-color:#00a0d6}pn-line-shape .pn-line-shape__dot{width:0.8rem;border-style:solid;border-width:0.4rem;border-radius:1.6rem;height:0.8rem;border-color:#00a0d6}pn-line-shape[slot=horizontal-line] .pn-line-shape__container{flex-direction:row;flex-wrap:nowrap;width:100%;gap:0.8rem;padding:2.4rem 0}pn-line-shape[slot=horizontal-line] .pn-line-shape__line{height:0.8rem;width:100%}pn-line-shape[slot=vertical-line] .pn-line-shape__container{height:100%;flex-direction:column;gap:0.8rem;padding:0.8rem 0.5rem}pn-line-shape[slot=vertical-line] .pn-line-shape__line{height:100%;width:0.8rem}";
4
4
  const PnLineShapeStyle0 = pnLineShapeCss;
5
5
 
6
6
  const PnLineShape$1 = /*@__PURE__*/ proxyCustomElement(class PnLineShape extends HTMLElement {
@@ -1 +1 @@
1
- {"file":"pn-line-shape.js","mappings":";;AAAA,MAAM,cAAc,GAAG,kzBAAkzB,CAAC;AAC10B,0BAAe,cAAc;;MCKhBA,aAAW;;;;;;;IAItB,MAAM;QACJ,QACE,EAAC,IAAI,uDACH,4DAAK,KAAK,EAAC,0BAA0B,IACnC,+DAAQ,KAAK,EAAC,qBAAqB,GAAU,EAC7C,+DAAQ,KAAK,EAAC,oBAAoB,GAAU,CACxC,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;","names":["PnLineShape"],"sources":["src/components/cards/pn-quote-card/pn-line-shape/pn-line-shape.scss?tag=pn-line-shape","src/components/cards/pn-quote-card/pn-line-shape/pn-line-shape.tsx"],"sourcesContent":["@import '../../../../globals/main';\n\npn-line-shape {\n .pn-line-shape__container {\n display: flex;\n }\n\n .pn-line-shape__line {\n border-style: solid;\n border-width: 0.4rem;\n border-radius: 1.6rem;\n\n border-color: $blue400;\n }\n\n .pn-line-shape__dot {\n width: 0.8rem;\n border-style: solid;\n border-width: 0.4rem;\n border-radius: 1.6rem;\n height: 0.8rem;\n border-color: $blue400;\n }\n}\n\npn-line-shape[slot='horizontal-line'] {\n .pn-line-shape__container {\n flex-direction: row;\n flex-wrap: nowrap;\n width: 100%;\n gap: 0.8rem;\n padding: 2.4rem 0;\n }\n\n .pn-line-shape__line {\n height: 0.8rem;\n width: 100%;\n }\n .pn-line-shape__dot {\n }\n}\n\npn-line-shape[slot='vertical-line'] {\n .pn-line-shape__container {\n height: 100%;\n flex-direction: column;\n gap: 0.8rem;\n padding: 0.8rem 0.5rem;\n }\n\n .pn-line-shape__line {\n height: 100%;\n width: 0.8rem;\n }\n}\n","import { Component, Element, h, Host } from '@stencil/core';\n\n@Component({\n tag: 'pn-line-shape',\n styleUrl: 'pn-line-shape.scss',\n})\nexport class PnLineShape {\n @Element() hostElement: HTMLElement;\n //props\n\n render() {\n return (\n <Host>\n <div class=\"pn-line-shape__container\">\n <canvas class=\"pn-line-shape__line\"></canvas>\n <canvas class=\"pn-line-shape__dot\"></canvas>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"pn-line-shape.js","mappings":";;AAAA,MAAM,cAAc,GAAG,2nCAA2nC,CAAC;AACnpC,0BAAe,cAAc;;MCKhBA,aAAW;;;;;;;IAItB,MAAM;QACJ,QACE,EAAC,IAAI,uDACH,4DAAK,KAAK,EAAC,0BAA0B,IACnC,+DAAQ,KAAK,EAAC,qBAAqB,GAAU,EAC7C,+DAAQ,KAAK,EAAC,oBAAoB,GAAU,CACxC,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;","names":["PnLineShape"],"sources":["src/components/cards/pn-quote-card/pn-line-shape/pn-line-shape.scss?tag=pn-line-shape","src/components/cards/pn-quote-card/pn-line-shape/pn-line-shape.tsx"],"sourcesContent":["@import '../../../../globals/main';\n\npn-line-shape {\n .pn-line-shape__container {\n display: flex;\n }\n\n .pn-line-shape__line {\n border-style: solid;\n border-width: 0.4rem;\n border-radius: 1.6rem;\n\n border-color: $blue400;\n }\n\n .pn-line-shape__dot {\n width: 0.8rem;\n border-style: solid;\n border-width: 0.4rem;\n border-radius: 1.6rem;\n height: 0.8rem;\n border-color: $blue400;\n }\n}\n\npn-line-shape[slot='horizontal-line'] {\n .pn-line-shape__container {\n flex-direction: row;\n flex-wrap: nowrap;\n width: 100%;\n gap: 0.8rem;\n padding: 2.4rem 0;\n }\n\n .pn-line-shape__line {\n height: 0.8rem;\n width: 100%;\n }\n .pn-line-shape__dot {\n }\n}\n\npn-line-shape[slot='vertical-line'] {\n .pn-line-shape__container {\n height: 100%;\n flex-direction: column;\n gap: 0.8rem;\n padding: 0.8rem 0.5rem;\n }\n\n .pn-line-shape__line {\n height: 100%;\n width: 0.8rem;\n }\n}\n","import { Component, Element, h, Host } from '@stencil/core';\n\n@Component({\n tag: 'pn-line-shape',\n styleUrl: 'pn-line-shape.scss',\n})\nexport class PnLineShape {\n @Element() hostElement: HTMLElement;\n //props\n\n render() {\n return (\n <Host>\n <div class=\"pn-line-shape__container\">\n <canvas class=\"pn-line-shape__line\"></canvas>\n <canvas class=\"pn-line-shape__dot\"></canvas>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
 
3
- const pnLinkListCss = "pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}pn-link-list .link-list__header{display:flex;justify-content:center;flex-direction:column;align-items:center;margin-bottom:0.8rem}pn-link-list .link-list__heading{margin-bottom:0.8rem}@media screen and (min-width: 1140px){pn-link-list .link-list__heading{font-size:3.2rem}}pn-link-list .link-list__preamble{max-width:85rem;text-align:center;margin-bottom:0}@media screen and (min-width: 1140px){pn-link-list .link-list__preamble{text-wrap:balance}}pn-link-list .link-list{display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;margin:0;margin-bottom:2.4rem;padding:0}pn-link-list .link-list__container{overflow-x:auto;text-align:center;white-space:nowrap}pn-link-list .link-list__container.link-list__active a,pn-link-list .link-list__container.link-list__active li,pn-link-list .link-list__container.link-list__active ul{cursor:grab;cursor:-webkit-grab}pn-link-list .link-list__container::-webkit-scrollbar{height:0.4rem;margin-top:2rem;-webkit-appearance:none}@media screen and (min-width: 768px){pn-link-list .link-list__container::-webkit-scrollbar{height:0.6rem}}pn-link-list .link-list__container::-webkit-scrollbar-thumb{background:#005d92;border-radius:2rem}pn-link-list .link-list__container::-webkit-scrollbar-track{background:#d3cecb;border-radius:2rem;width:100%;margin:0 5rem}@media screen and (min-width: 768px){pn-link-list .link-list__container::-webkit-scrollbar-track{margin:0 10rem}}@media screen and (min-width: 1140px){pn-link-list .link-list__container::-webkit-scrollbar-track{margin:0 15rem}}@media screen and (min-width: 1440px){pn-link-list .link-list__container::-webkit-scrollbar-track{margin:0 20rem}}pn-link-list .link-list__container::-webkit-resizer{display:none}pn-link-list .link-list__container::before,pn-link-list .link-list__container::after{content:\"\";position:absolute;top:0;bottom:0;height:85%;width:10%}pn-link-list .link-list__container::before{background:linear-gradient(270deg, rgba(255, 255, 255, 0) 50%, #fff 95%);left:0}pn-link-list .link-list__container::after{background:linear-gradient(90deg, rgba(255, 255, 255, 0) 50%, #fff 95%);right:0}pn-link-list .link-list__scrollable{display:inline-block;padding:2rem 0 1rem}@media screen and (min-width: 992px){pn-link-list .link-list__scrollable{padding:0.5rem 2rem 1rem}}pn-link-list [slot=linklist] ul{display:flex;list-style:none;margin:0;padding:0 1.6rem}pn-link-list [slot=linklist] li>a{display:block;color:#2d2013;font-size:1.4rem;font-weight:500;line-height:140%;text-decoration:none;cursor:pointer;background-color:#ffffff;border:0.1rem solid #d3cecb;border-radius:0.8rem;margin:0 0.8rem;padding:1rem}@media screen and (min-width: 1410px){pn-link-list [slot=linklist] li>a{font-size:1.6rem}}pn-link-list [slot=linklist] li>a:hover,pn-link-list [slot=linklist] li>a:active,pn-link-list [slot=linklist] li>a:focus{color:#fff}pn-link-list [slot=linklist] li>a:hover,pn-link-list [slot=linklist] li>a:focus{background-color:#005d92}pn-link-list [slot=linklist] li>a:active{background-color:#0d234b}pn-link-list [slot=linklist] li>a:focus{outline:2px solid #005d92;outline-offset:2px}pn-link-list .link-list__button{display:flex;justify-content:center}@-moz-document url-prefix(){pn-link-list .link-list__container{scrollbar-color:#005d92 #d3cecb}pn-link-list .link-list__scrollable{padding:0.5rem 2rem 2rem}}";
3
+ const pnLinkListCss = "pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-link-list .link-list__header{display:flex;justify-content:center;flex-direction:column;align-items:center;margin-bottom:0.8rem}pn-link-list .link-list__heading{margin-bottom:0.8rem}@media screen and (min-width: 1140px){pn-link-list .link-list__heading{font-size:3.2rem}}pn-link-list .link-list__preamble{max-width:85rem;text-align:center;margin-bottom:0}@media screen and (min-width: 1140px){pn-link-list .link-list__preamble{text-wrap:balance}}pn-link-list .link-list{display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;margin:0;margin-bottom:2.4rem;padding:0}pn-link-list .link-list__container{overflow-x:auto;text-align:center;white-space:nowrap}pn-link-list .link-list__container.link-list__active a,pn-link-list .link-list__container.link-list__active li,pn-link-list .link-list__container.link-list__active ul{cursor:grab;cursor:-webkit-grab}pn-link-list .link-list__container::-webkit-scrollbar{height:0.4rem;margin-top:2rem;-webkit-appearance:none}@media screen and (min-width: 768px){pn-link-list .link-list__container::-webkit-scrollbar{height:0.6rem}}pn-link-list .link-list__container::-webkit-scrollbar-thumb{background:#005d92;border-radius:2rem}pn-link-list .link-list__container::-webkit-scrollbar-track{background:#d3cecb;border-radius:2rem;width:100%;margin:0 5rem}@media screen and (min-width: 768px){pn-link-list .link-list__container::-webkit-scrollbar-track{margin:0 10rem}}@media screen and (min-width: 1140px){pn-link-list .link-list__container::-webkit-scrollbar-track{margin:0 15rem}}@media screen and (min-width: 1440px){pn-link-list .link-list__container::-webkit-scrollbar-track{margin:0 20rem}}pn-link-list .link-list__container::-webkit-resizer{display:none}pn-link-list .link-list__container::before,pn-link-list .link-list__container::after{content:\"\";position:absolute;top:0;bottom:0;height:85%;width:10%}pn-link-list .link-list__container::before{background:linear-gradient(270deg, rgba(255, 255, 255, 0) 50%, #fff 95%);left:0}pn-link-list .link-list__container::after{background:linear-gradient(90deg, rgba(255, 255, 255, 0) 50%, #fff 95%);right:0}pn-link-list .link-list__scrollable{display:inline-block;padding:2rem 0 1rem}@media screen and (min-width: 992px){pn-link-list .link-list__scrollable{padding:0.5rem 2rem 1rem}}pn-link-list [slot=linklist] ul{display:flex;list-style:none;margin:0;padding:0 1.6rem}pn-link-list [slot=linklist] li>a{display:block;color:#2d2013;font-size:1.4rem;font-weight:500;line-height:140%;text-decoration:none;cursor:pointer;background-color:#ffffff;border:0.1rem solid #d3cecb;border-radius:0.8rem;margin:0 0.8rem;padding:1rem}@media screen and (min-width: 1410px){pn-link-list [slot=linklist] li>a{font-size:1.6rem}}pn-link-list [slot=linklist] li>a:hover,pn-link-list [slot=linklist] li>a:active,pn-link-list [slot=linklist] li>a:focus{color:#fff}pn-link-list [slot=linklist] li>a:hover,pn-link-list [slot=linklist] li>a:focus{background-color:#005d92}pn-link-list [slot=linklist] li>a:active{background-color:#0d234b}pn-link-list [slot=linklist] li>a:focus{outline:2px solid #005d92;outline-offset:2px}pn-link-list .link-list__button{display:flex;justify-content:center}@-moz-document url-prefix(){pn-link-list .link-list__container{scrollbar-color:#005d92 #d3cecb}pn-link-list .link-list__scrollable{padding:0.5rem 2rem 2rem}}";
4
4
  const PnLinkListStyle0 = pnLinkListCss;
5
5
 
6
6
  const PnLinkList$1 = /*@__PURE__*/ proxyCustomElement(class PnLinkList extends HTMLElement {
@@ -51,7 +51,7 @@ const PnLinkList$1 = /*@__PURE__*/ proxyCustomElement(class PnLinkList extends H
51
51
  }
52
52
  };
53
53
  render() {
54
- return (h(Host, { key: '0cfb80f2de46eeae8943f13868ca744c54974a09' }, (this.heading || this.preamble) && (h("div", { key: 'a396fea209035c911b5f545919ae1b1c9ff77e79', class: "link-list__header" }, this.heading && h("h2", { key: 'fbf8d3282fe16b7acc4b1568357e1db099597262', class: "link-list__heading" }, this.heading), this.preamble && h("p", { key: '06ee3ced935e335782f258a214b76de728978481', class: "link-list__preamble" }, this.preamble))), h("div", { key: 'c5a5d02539b7c687d4024d8ef97c68a16f9c8227', class: "link-list" }, h("div", { key: '7e77c23f6c72c0fe9ce14d39aef88223c4af00a4', class: "link-list__container", onMouseDown: this.handleMouseDown, onMouseUp: this.handleMouseUp, onMouseLeave: this.handleMouseLeave, onMouseMove: this.handleMouseMove }, h("div", { key: 'd0948943177059f1aa66f079574a02a7a23ee79b', class: "link-list__scrollable" }, h("slot", { key: '52c2ed2c68dc45f5ee0c75b986f84183a9bc7dc5', name: "linklist" })))), this.showMoreUrl ? (h("div", { class: "link-list__button" }, h("pn-button", { appearance: "light", href: this.showMoreUrl }, this.showMoreLabel), ' ')) : ('')));
54
+ return (h(Host, { key: '294904b3412b9e53557ec4d9f2743de25c646e21' }, (this.heading || this.preamble) && (h("div", { key: 'e51721d8f30bd637fb872bceaf3e63d63cf60faa', class: "link-list__header" }, this.heading && h("h2", { key: 'e7fab15c721d47c6baea3b7d2ddec452e2448445', class: "link-list__heading" }, this.heading), this.preamble && h("p", { key: 'd631a6a3c6e239e9325064f936bb9e3a216659d9', class: "link-list__preamble" }, this.preamble))), h("div", { key: '1337466d68dbccb1183ffb864cd36cdbf1af3017', class: "link-list" }, h("div", { key: '5934a9b4c3c4846f5988c2cbf20e8c268d6970a9', class: "link-list__container", onMouseDown: this.handleMouseDown, onMouseUp: this.handleMouseUp, onMouseLeave: this.handleMouseLeave, onMouseMove: this.handleMouseMove }, h("div", { key: 'ae387d9591953a3867d22633c245931d215a1ccb', class: "link-list__scrollable" }, h("slot", { key: '2548751e6d2161de5236694e32fde16d2140fd88', name: "linklist" })))), this.showMoreUrl ? (h("div", { class: "link-list__button" }, h("pn-button", { appearance: "light", href: this.showMoreUrl }, this.showMoreLabel), ' ')) : ('')));
55
55
  }
56
56
  static get style() { return PnLinkListStyle0; }
57
57
  }, [4, "pn-link-list", {
@@ -1 +1 @@
1
- {"file":"pn-link-list.js","mappings":"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","names":["PnLinkList"],"sources":["src/components/widgets/pn-link-list/pn-link-list.scss?tag=pn-link-list","src/components/widgets/pn-link-list/pn-link-list.tsx"],"sourcesContent":["@import '../../../globals/main.scss';\n\npn-link-list {\n .link-list__header {\n display: flex;\n justify-content: center;\n flex-direction: column;\n align-items: center;\n margin-bottom: 0.8rem;\n }\n\n .link-list__heading {\n margin-bottom: 0.8rem;\n\n @media screen and (min-width: $max-width-xl) {\n font-size: 3.2rem;\n }\n }\n\n .link-list__preamble {\n max-width: 85rem;\n text-align: center;\n margin-bottom: 0;\n\n @media screen and (min-width: $max-width-xl) {\n text-wrap: balance;\n }\n }\n\n .link-list {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n overflow: hidden;\n\n margin: 0;\n margin-bottom: 2.4rem;\n padding: 0;\n }\n\n .link-list__container {\n overflow-x: auto;\n text-align: center;\n white-space: nowrap;\n\n &.link-list__active {\n a,\n li,\n ul {\n cursor: grab;\n cursor: -webkit-grab;\n }\n }\n\n &::-webkit-scrollbar {\n height: 0.4rem;\n margin-top: 2rem;\n -webkit-appearance: none;\n\n @media screen and (min-width: $min-width-md) {\n height: 0.6rem;\n }\n }\n\n &::-webkit-scrollbar-thumb {\n background: $blue700;\n border-radius: 2rem;\n }\n\n &::-webkit-scrollbar-track {\n background: #d3cecb;\n border-radius: 2rem;\n width: 100%;\n margin: 0 5rem;\n\n @media screen and (min-width: $min-width-md) {\n margin: 0 10rem;\n }\n\n @media screen and (min-width: $max-width-xl) {\n margin: 0 15rem;\n }\n\n @media screen and (min-width: $max-width-xxl) {\n margin: 0 20rem;\n }\n }\n\n &::-webkit-resizer {\n display: none;\n }\n\n &::before,\n &::after {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n height: 85%;\n width: 10%;\n }\n\n &::before {\n background: linear-gradient(270deg, rgba(255, 255, 255, 0) 50%, #fff 95%);\n left: 0;\n }\n\n &::after {\n background: linear-gradient(90deg, rgba(255, 255, 255, 0) 50%, #fff 95%);\n right: 0;\n }\n }\n\n .link-list__scrollable {\n display: inline-block;\n padding: 2rem 0 1rem;\n\n @media screen and (min-width: $min-width-lg) {\n padding: 0.5rem 2rem 1rem;\n }\n }\n\n [slot='linklist'] {\n ul {\n display: flex;\n list-style: none;\n margin: 0;\n padding: 0 1.6rem;\n }\n\n li {\n & > a {\n display: block;\n color: $gray900;\n font-size: 1.4rem;\n font-weight: 500;\n line-height: 140%;\n text-decoration: none;\n cursor: pointer;\n\n background-color: $white;\n border: 0.1rem solid $gray200;\n border-radius: 0.8rem;\n margin: 0 0.8rem;\n padding: 1rem;\n\n @media screen and (min-width: 1410px) {\n font-size: 1.6rem;\n }\n\n &:hover,\n &:active,\n &:focus {\n color: #fff;\n }\n\n &:hover,\n &:focus {\n background-color: $blue700;\n }\n\n &:active {\n background-color: $blue900;\n }\n\n &:focus {\n outline: 2px solid $blue700;\n outline-offset: 2px;\n }\n }\n }\n }\n\n .link-list__button {\n display: flex;\n justify-content: center;\n }\n\n @-moz-document url-prefix() {\n .link-list__container {\n scrollbar-color: $blue700 #d3cecb;\n }\n\n .link-list__scrollable {\n padding: 0.5rem 2rem 2rem;\n }\n }\n}\n","import { Component, Host, Prop, h } from '@stencil/core';\n\n@Component({\n tag: 'pn-link-list',\n styleUrl: 'pn-link-list.scss',\n})\nexport class PnLinkList {\n @Prop() heading: string = null;\n @Prop() label: string = null;\n @Prop() preamble: string = null;\n @Prop() url: string = null;\n @Prop() showMoreLabel: string = null;\n @Prop() showMoreUrl: string = null;\n\n private slider: HTMLElement = null;\n private isDragging = false;\n private startX = 0;\n private scrollLeft = 0;\n\n componentDidLoad() {\n this.slider = document.querySelector('.link-list__container') as HTMLElement;\n }\n\n private handleMouseDown = (e: MouseEvent) => {\n const target = e.target as HTMLElement;\n\n const isContainerClick = target.classList.contains('link-list__container');\n const isLinkClick = target.tagName === 'A';\n\n if (isContainerClick || isLinkClick) {\n this.isDragging = true;\n this.slider?.classList.add('link-list__active');\n this.startX = e.pageX - this.slider?.offsetLeft;\n this.scrollLeft = this.slider?.scrollLeft;\n\n if (isLinkClick) {\n e.preventDefault();\n }\n }\n };\n\n private handleMouseLeave = () => {\n this.isDragging = false;\n this.slider?.classList.remove('link-list__active');\n };\n\n private handleMouseUp = () => {\n this.isDragging = false;\n this.slider?.classList.remove('link-list__active');\n };\n\n private handleMouseMove = (e: MouseEvent) => {\n if (this.isDragging) {\n const x = e.pageX - this.slider?.offsetLeft;\n const move = (x - this.startX) * 2;\n this.slider.scrollLeft = this.scrollLeft - move;\n }\n };\n\n render() {\n return (\n <Host>\n {(this.heading || this.preamble) && (\n <div class=\"link-list__header\">\n {this.heading && <h2 class=\"link-list__heading\">{this.heading}</h2>}\n {this.preamble && <p class=\"link-list__preamble\">{this.preamble}</p>}\n </div>\n )}\n <div class=\"link-list\">\n <div\n class=\"link-list__container\"\n onMouseDown={this.handleMouseDown}\n onMouseUp={this.handleMouseUp}\n onMouseLeave={this.handleMouseLeave}\n onMouseMove={this.handleMouseMove}\n >\n <div class=\"link-list__scrollable\">\n <slot name=\"linklist\" />\n </div>\n </div>\n </div>\n {this.showMoreUrl ? (\n <div class=\"link-list__button\">\n <pn-button appearance=\"light\" href={this.showMoreUrl}>\n {this.showMoreLabel}\n </pn-button>{' '}\n </div>\n ) : (\n ''\n )}\n </Host>\n );\n }\n}\n"],"version":3}
1
+ {"file":"pn-link-list.js","mappings":";;AAAA,MAAM,aAAa,GAAG,yqHAAyqH,CAAC;AAChsH,yBAAe,aAAa;;MCKfA,YAAU;;;;uBACK,IAAI;qBACN,IAAI;wBACD,IAAI;mBACT,IAAI;6BACM,IAAI;2BACN,IAAI;;IAE1B,MAAM,GAAgB,IAAI,CAAC;IAC3B,UAAU,GAAG,KAAK,CAAC;IACnB,MAAM,GAAG,CAAC,CAAC;IACX,UAAU,GAAG,CAAC,CAAC;IAEvB,gBAAgB;QACd,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC,uBAAuB,CAAgB,CAAC;KAC9E;IAEO,eAAe,GAAG,CAAC,CAAa;QACtC,MAAM,MAAM,GAAG,CAAC,CAAC,MAAqB,CAAC;QAEvC,MAAM,gBAAgB,GAAG,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,sBAAsB,CAAC,CAAC;QAC3E,MAAM,WAAW,GAAG,MAAM,CAAC,OAAO,KAAK,GAAG,CAAC;QAE3C,IAAI,gBAAgB,IAAI,WAAW,EAAE;YACnC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;YACvB,IAAI,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;YAChD,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,GAAG,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC;YAChD,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC;YAE1C,IAAI,WAAW,EAAE;gBACf,CAAC,CAAC,cAAc,EAAE,CAAC;aACpB;SACF;KACF,CAAC;IAEM,gBAAgB,GAAG;QACzB,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;QACxB,IAAI,CAAC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC;KACpD,CAAC;IAEM,aAAa,GAAG;QACtB,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;QACxB,IAAI,CAAC,MAAM,EAAE,SAAS,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAAC;KACpD,CAAC;IAEM,eAAe,GAAG,CAAC,CAAa;QACtC,IAAI,IAAI,CAAC,UAAU,EAAE;YACnB,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,GAAG,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC;YAC5C,MAAM,IAAI,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,MAAM,IAAI,CAAC,CAAC;YACnC,IAAI,CAAC,MAAM,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;SACjD;KACF,CAAC;IAEF,MAAM;QACJ,QACE,EAAC,IAAI,uDACF,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,QAAQ,MAC7B,4DAAK,KAAK,EAAC,mBAAmB,IAC3B,IAAI,CAAC,OAAO,IAAI,2DAAI,KAAK,EAAC,oBAAoB,IAAE,IAAI,CAAC,OAAO,CAAM,EAClE,IAAI,CAAC,QAAQ,IAAI,0DAAG,KAAK,EAAC,qBAAqB,IAAE,IAAI,CAAC,QAAQ,CAAK,CAChE,CACP,EACD,4DAAK,KAAK,EAAC,WAAW,IACpB,4DACE,KAAK,EAAC,sBAAsB,EAC5B,WAAW,EAAE,IAAI,CAAC,eAAe,EACjC,SAAS,EAAE,IAAI,CAAC,aAAa,EAC7B,YAAY,EAAE,IAAI,CAAC,gBAAgB,EACnC,WAAW,EAAE,IAAI,CAAC,eAAe,IAEjC,4DAAK,KAAK,EAAC,uBAAuB,IAChC,6DAAM,IAAI,EAAC,UAAU,GAAG,CACpB,CACF,CACF,EACL,IAAI,CAAC,WAAW,IACf,WAAK,KAAK,EAAC,mBAAmB,IAC5B,iBAAW,UAAU,EAAC,OAAO,EAAC,IAAI,EAAE,IAAI,CAAC,WAAW,IACjD,IAAI,CAAC,aAAa,CACT,EAAC,GAAG,CACZ,KAEN,EAAE,CACH,CACI,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["PnLinkList"],"sources":["src/components/widgets/pn-link-list/pn-link-list.scss?tag=pn-link-list","src/components/widgets/pn-link-list/pn-link-list.tsx"],"sourcesContent":["@import '../../../globals/main.scss';\n\npn-link-list {\n .link-list__header {\n display: flex;\n justify-content: center;\n flex-direction: column;\n align-items: center;\n margin-bottom: 0.8rem;\n }\n\n .link-list__heading {\n margin-bottom: 0.8rem;\n\n @media screen and (min-width: $max-width-xl) {\n font-size: 3.2rem;\n }\n }\n\n .link-list__preamble {\n max-width: 85rem;\n text-align: center;\n margin-bottom: 0;\n\n @media screen and (min-width: $max-width-xl) {\n text-wrap: balance;\n }\n }\n\n .link-list {\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n overflow: hidden;\n\n margin: 0;\n margin-bottom: 2.4rem;\n padding: 0;\n }\n\n .link-list__container {\n overflow-x: auto;\n text-align: center;\n white-space: nowrap;\n\n &.link-list__active {\n a,\n li,\n ul {\n cursor: grab;\n cursor: -webkit-grab;\n }\n }\n\n &::-webkit-scrollbar {\n height: 0.4rem;\n margin-top: 2rem;\n -webkit-appearance: none;\n\n @media screen and (min-width: $min-width-md) {\n height: 0.6rem;\n }\n }\n\n &::-webkit-scrollbar-thumb {\n background: $blue700;\n border-radius: 2rem;\n }\n\n &::-webkit-scrollbar-track {\n background: #d3cecb;\n border-radius: 2rem;\n width: 100%;\n margin: 0 5rem;\n\n @media screen and (min-width: $min-width-md) {\n margin: 0 10rem;\n }\n\n @media screen and (min-width: $max-width-xl) {\n margin: 0 15rem;\n }\n\n @media screen and (min-width: $max-width-xxl) {\n margin: 0 20rem;\n }\n }\n\n &::-webkit-resizer {\n display: none;\n }\n\n &::before,\n &::after {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n height: 85%;\n width: 10%;\n }\n\n &::before {\n background: linear-gradient(270deg, rgba(255, 255, 255, 0) 50%, #fff 95%);\n left: 0;\n }\n\n &::after {\n background: linear-gradient(90deg, rgba(255, 255, 255, 0) 50%, #fff 95%);\n right: 0;\n }\n }\n\n .link-list__scrollable {\n display: inline-block;\n padding: 2rem 0 1rem;\n\n @media screen and (min-width: $min-width-lg) {\n padding: 0.5rem 2rem 1rem;\n }\n }\n\n [slot='linklist'] {\n ul {\n display: flex;\n list-style: none;\n margin: 0;\n padding: 0 1.6rem;\n }\n\n li {\n & > a {\n display: block;\n color: $gray900;\n font-size: 1.4rem;\n font-weight: 500;\n line-height: 140%;\n text-decoration: none;\n cursor: pointer;\n\n background-color: $white;\n border: 0.1rem solid $gray200;\n border-radius: 0.8rem;\n margin: 0 0.8rem;\n padding: 1rem;\n\n @media screen and (min-width: 1410px) {\n font-size: 1.6rem;\n }\n\n &:hover,\n &:active,\n &:focus {\n color: #fff;\n }\n\n &:hover,\n &:focus {\n background-color: $blue700;\n }\n\n &:active {\n background-color: $blue900;\n }\n\n &:focus {\n outline: 2px solid $blue700;\n outline-offset: 2px;\n }\n }\n }\n }\n\n .link-list__button {\n display: flex;\n justify-content: center;\n }\n\n @-moz-document url-prefix() {\n .link-list__container {\n scrollbar-color: $blue700 #d3cecb;\n }\n\n .link-list__scrollable {\n padding: 0.5rem 2rem 2rem;\n }\n }\n}\n","import { Component, Host, Prop, h } from '@stencil/core';\n\n@Component({\n tag: 'pn-link-list',\n styleUrl: 'pn-link-list.scss',\n})\nexport class PnLinkList {\n @Prop() heading: string = null;\n @Prop() label: string = null;\n @Prop() preamble: string = null;\n @Prop() url: string = null;\n @Prop() showMoreLabel: string = null;\n @Prop() showMoreUrl: string = null;\n\n private slider: HTMLElement = null;\n private isDragging = false;\n private startX = 0;\n private scrollLeft = 0;\n\n componentDidLoad() {\n this.slider = document.querySelector('.link-list__container') as HTMLElement;\n }\n\n private handleMouseDown = (e: MouseEvent) => {\n const target = e.target as HTMLElement;\n\n const isContainerClick = target.classList.contains('link-list__container');\n const isLinkClick = target.tagName === 'A';\n\n if (isContainerClick || isLinkClick) {\n this.isDragging = true;\n this.slider?.classList.add('link-list__active');\n this.startX = e.pageX - this.slider?.offsetLeft;\n this.scrollLeft = this.slider?.scrollLeft;\n\n if (isLinkClick) {\n e.preventDefault();\n }\n }\n };\n\n private handleMouseLeave = () => {\n this.isDragging = false;\n this.slider?.classList.remove('link-list__active');\n };\n\n private handleMouseUp = () => {\n this.isDragging = false;\n this.slider?.classList.remove('link-list__active');\n };\n\n private handleMouseMove = (e: MouseEvent) => {\n if (this.isDragging) {\n const x = e.pageX - this.slider?.offsetLeft;\n const move = (x - this.startX) * 2;\n this.slider.scrollLeft = this.scrollLeft - move;\n }\n };\n\n render() {\n return (\n <Host>\n {(this.heading || this.preamble) && (\n <div class=\"link-list__header\">\n {this.heading && <h2 class=\"link-list__heading\">{this.heading}</h2>}\n {this.preamble && <p class=\"link-list__preamble\">{this.preamble}</p>}\n </div>\n )}\n <div class=\"link-list\">\n <div\n class=\"link-list__container\"\n onMouseDown={this.handleMouseDown}\n onMouseUp={this.handleMouseUp}\n onMouseLeave={this.handleMouseLeave}\n onMouseMove={this.handleMouseMove}\n >\n <div class=\"link-list__scrollable\">\n <slot name=\"linklist\" />\n </div>\n </div>\n </div>\n {this.showMoreUrl ? (\n <div class=\"link-list__button\">\n <pn-button appearance=\"light\" href={this.showMoreUrl}>\n {this.showMoreLabel}\n </pn-button>{' '}\n </div>\n ) : (\n ''\n )}\n </Host>\n );\n }\n}\n"],"version":3}
@@ -3,7 +3,7 @@ import { o as onChange, s as state } from './pn-mainnav-store.js';
3
3
  import { a as arrow_left } from './arrow_left.js';
4
4
  import { d as defineCustomElement$1 } from './pn-mainnav-link2.js';
5
5
 
6
- const pnMainnavLevelCss = "pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}pn-mainnav-level{display:block}pn-mainnav-level:not(.hydrated){max-height:5.6rem;overflow:hidden}pn-mainnav-level[data-level=\"1\"]{width:100%;right:0;overflow-y:scroll;overflow-x:hidden;flex:1}@media screen and (min-width: 64em){pn-mainnav-level[data-level=\"1\"]{width:auto;overflow:initial}pn-mainnav-level[data-level=\"1\"]::-webkit-scrollbar{display:none}}pn-mainnav-level[data-level=\"2\"]{position:absolute;top:0;bottom:0;left:0;width:100vw;padding:0;background-color:#ffffff;z-index:1;transform:translateX(100vw);transition:transform 0.2s 0s;transition-property:transform, visibility;overflow:scroll;visibility:hidden}@media screen and (min-width: 64em){pn-mainnav-level[data-level=\"2\"]{left:0;top:calc(100% + 1rem);bottom:auto;border-radius:1.6rem;width:auto;padding:1.6rem 1.6rem 0 1.6rem;-webkit-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);-moz-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);height:auto;z-index:3;display:none}pn-mainnav-level[data-level=\"2\"][data-menuitem-rightaligned=true]{right:0;left:unset}}@media screen and (max-height: 33.125em){pn-mainnav-level[data-level=\"2\"]{-ms-overflow-style:none;scrollbar-width:none}pn-mainnav-level[data-level=\"2\"]::-webkit-scrollbar{display:none}}pn-mainnav-level[data-level=\"2\"][aria-hidden=false]{transform:translateX(0);visibility:visible}@media screen and (min-width: 64em){pn-mainnav-level[data-level=\"2\"][aria-hidden=false]{display:block;overflow:visible}pn-mainnav-level[data-level=\"2\"][aria-hidden=false]:not([data-level-listcount=\"1\"]){display:grid;grid-template-columns:minmax(12em, 20em) 1fr;grid-template-rows:auto auto;gap:0px 1.6rem;grid-template-areas:\"top top\" \"left right\"}}@media screen and (min-width: 64em){pn-mainnav-level[data-level=\"2\"][data-level-alignment=left]{right:0;left:unset}}@media screen and (min-width: 64em){pn-mainnav-level[data-level=\"2\"][data-level-alignment=center]{left:50%;transform:translateX(-50%)}}pn-mainnav-level[data-level=\"2\"] a{color:#005d92;text-decoration:none}pn-mainnav-level [slot=top]{display:flex}@media screen and (min-width: 48em){pn-mainnav-level [slot=top]{display:none}}[data-menu-currentlevel=\"2\"] pn-mainnav-level [slot=footer]{display:none;overscroll-behavior:contain}.mainnav-level-header{grid-area:top}.mainnav-level-header>label{position:absolute;width:0.1rem;height:0.1rem;padding:0;margin:-0.1rem;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;white-space:nowrap}.mainnav-level-header>button{display:block;position:relative;border:none;background-color:transparent;color:#005d92;padding:2.4rem 0 2.4rem 6.2rem;width:100%;text-align:left}@media screen and (min-width: 64em){.mainnav-level-header>button{display:none;speak:none}}.mainnav-level-header>button>pn-icon{speak:none;position:absolute;height:2.4rem;width:2.4rem;left:3rem;top:50%;transform:translateY(-50%)}[data-level=\"2\"] .mainnav-level-header>pn-mainnav-link>a{font-size:2.4rem}";
6
+ const pnMainnavLevelCss = "pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-mainnav-level{display:block}pn-mainnav-level:not(.hydrated){max-height:5.6rem;overflow:hidden}pn-mainnav-level[data-level=\"1\"]{width:100%;right:0;overflow-y:scroll;overflow-x:hidden;flex:1}@media screen and (min-width: 64em){pn-mainnav-level[data-level=\"1\"]{width:auto;overflow:initial}pn-mainnav-level[data-level=\"1\"]::-webkit-scrollbar{display:none}}pn-mainnav-level[data-level=\"2\"]{position:absolute;top:0;bottom:0;left:0;width:100vw;padding:0;background-color:#ffffff;z-index:1;transform:translateX(100vw);transition:transform 0.2s 0s;transition-property:transform, visibility;overflow:scroll;visibility:hidden}@media screen and (min-width: 64em){pn-mainnav-level[data-level=\"2\"]{left:0;top:calc(100% + 1rem);bottom:auto;border-radius:1.6rem;width:auto;padding:1.6rem 1.6rem 0 1.6rem;-webkit-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);-moz-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);height:auto;z-index:3;display:none}pn-mainnav-level[data-level=\"2\"][data-menuitem-rightaligned=true]{right:0;left:unset}}@media screen and (max-height: 33.125em){pn-mainnav-level[data-level=\"2\"]{-ms-overflow-style:none;scrollbar-width:none}pn-mainnav-level[data-level=\"2\"]::-webkit-scrollbar{display:none}}pn-mainnav-level[data-level=\"2\"][aria-hidden=false]{transform:translateX(0);visibility:visible}@media screen and (min-width: 64em){pn-mainnav-level[data-level=\"2\"][aria-hidden=false]{display:block;overflow:visible}pn-mainnav-level[data-level=\"2\"][aria-hidden=false]:not([data-level-listcount=\"1\"]){display:grid;grid-template-columns:minmax(12em, 20em) 1fr;grid-template-rows:auto auto;gap:0px 1.6rem;grid-template-areas:\"top top\" \"left right\"}}@media screen and (min-width: 64em){pn-mainnav-level[data-level=\"2\"][data-level-alignment=left]{right:0;left:unset}}@media screen and (min-width: 64em){pn-mainnav-level[data-level=\"2\"][data-level-alignment=center]{left:50%;transform:translateX(-50%)}}pn-mainnav-level[data-level=\"2\"] a{color:#005d92;text-decoration:none}pn-mainnav-level [slot=top]{display:flex}@media screen and (min-width: 48em){pn-mainnav-level [slot=top]{display:none}}[data-menu-currentlevel=\"2\"] pn-mainnav-level [slot=footer]{display:none;overscroll-behavior:contain}.mainnav-level-header{grid-area:top}.mainnav-level-header>label{position:absolute;width:0.1rem;height:0.1rem;padding:0;margin:-0.1rem;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;white-space:nowrap}.mainnav-level-header>button{display:block;position:relative;border:none;background-color:transparent;color:#005d92;padding:2.4rem 0 2.4rem 6.2rem;width:100%;text-align:left}@media screen and (min-width: 64em){.mainnav-level-header>button{display:none;speak:none}}.mainnav-level-header>button>pn-icon{speak:none;position:absolute;height:2.4rem;width:2.4rem;left:3rem;top:50%;transform:translateY(-50%)}[data-level=\"2\"] .mainnav-level-header>pn-mainnav-link>a{font-size:2.4rem}";
7
7
  const PnMainnavLevelStyle0 = pnMainnavLevelCss;
8
8
 
9
9
  const PnMainnavLevel = /*@__PURE__*/ proxyCustomElement(class PnMainnavLevel extends HTMLElement {
@@ -75,10 +75,10 @@ const PnMainnavLevel = /*@__PURE__*/ proxyCustomElement(class PnMainnavLevel ext
75
75
  state.currentLevel = this.level;
76
76
  }
77
77
  render() {
78
- return (h(Host, { key: '958273aebbba919ab0d6ee0433e52458e8f02154', ...(this.level > 1 && this.levelId ? { 'aria-hidden': !this.isOpen + '' } : {}), "data-level-listcount": this.listCount + '', "data-level-alignment": this.alignment, "data-level": this.level + '', ...(this.levelId ? { id: this.levelId } : {}) }, this.level > 1 ? (h("div", { class: "mainnav-level-header" }, h("label", { htmlFor: this.levelId }, state.i18n.menuGoBackButton), h("button", { class: "secondlevel-backbtn", onClick: () => {
78
+ return (h(Host, { key: '9180729eeb1dcc992e511bd17d22e10ed4b199c4', ...(this.level > 1 && this.levelId ? { 'aria-hidden': !this.isOpen + '' } : {}), "data-level-listcount": this.listCount + '', "data-level-alignment": this.alignment, "data-level": this.level + '', ...(this.levelId ? { id: this.levelId } : {}) }, this.level > 1 ? (h("div", { class: "mainnav-level-header" }, h("label", { htmlFor: this.levelId }, state.i18n.menuGoBackButton), h("button", { class: "secondlevel-backbtn", onClick: () => {
79
79
  state.openLevel = '';
80
80
  state.currentLevel = 1;
81
- }, "aria-expanded": (state.openLevel === this.levelId) + '' }, h("pn-icon", { icon: arrow_left, color: "blue700" }), state.i18n.menuStartButton), this.parentHref && this.label ? h("pn-mainnav-link", { href: this.parentHref, name: this.label, linkid: this.parentLinkId }) : null)) : null, h("slot", { key: '735b57f1186701a77f96afdef6fb764c9a340047', name: "top" }), h("slot", { key: '9c3a1c428914201857e0f18400338c16cd7c6735' }), h("slot", { key: '216b4e06d42804bbfa299d6793ee321435eeb804', name: "additional" }), h("slot", { key: '09bae4c5d31896ede61403fef0488688330c6cd1', name: "footer" })));
81
+ }, "aria-expanded": (state.openLevel === this.levelId) + '' }, h("pn-icon", { icon: arrow_left, color: "blue700" }), state.i18n.menuStartButton), this.parentHref && this.label ? h("pn-mainnav-link", { href: this.parentHref, name: this.label, linkid: this.parentLinkId }) : null)) : null, h("slot", { key: '36c7b3d76ed1a3fcbaa70309d0cf08c1fcc3127e', name: "top" }), h("slot", { key: '23bddc8fbbad8faa5543953305685f37b85f64d4' }), h("slot", { key: '7e7072650fe7e5634281fcd4669c776deb99870b', name: "additional" }), h("slot", { key: 'c309dc0f87c9ba0c24d4d1948fdc72ad5097eca1', name: "footer" })));
82
82
  }
83
83
  static get watchers() { return {
84
84
  "label": ["setState"],