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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1163) hide show
  1. package/dist/cjs/{MarketWebContextService-0fdc43c8.js → FetchHelper-e951824f.js} +82 -1
  2. package/dist/cjs/FetchHelper-e951824f.js.map +1 -0
  3. package/dist/cjs/{index-4067c6a5.js → index-1d8c9211.js} +2 -2
  4. package/dist/cjs/{index-4067c6a5.js.map → index-1d8c9211.js.map} +1 -1
  5. package/dist/cjs/{index-b02670c2.js → index-34e1c673.js} +4 -53
  6. package/dist/cjs/index-34e1c673.js.map +1 -0
  7. package/dist/cjs/index.cjs.js +1 -1
  8. package/dist/cjs/loader.cjs.js +2 -2
  9. package/dist/cjs/pn-address-autofill.cjs.entry.js +75 -51
  10. package/dist/cjs/pn-address-autofill.cjs.entry.js.map +1 -1
  11. package/dist/cjs/pn-animated-tile.cjs.entry.js +2 -2
  12. package/dist/cjs/pn-animated-tile.cjs.entry.js.map +1 -1
  13. package/dist/cjs/pn-app-banner.cjs.entry.js +3 -3
  14. package/dist/cjs/pn-app-banner.cjs.entry.js.map +1 -1
  15. package/dist/cjs/pn-bonus-progressbar-level.cjs.entry.js +2 -2
  16. package/dist/cjs/pn-bonus-progressbar-level.cjs.entry.js.map +1 -1
  17. package/dist/cjs/pn-bonus-progressbar.cjs.entry.js +2 -2
  18. package/dist/cjs/pn-bonus-progressbar.cjs.entry.js.map +1 -1
  19. package/dist/cjs/pn-breakpoints.cjs.entry.js +3 -3
  20. package/dist/cjs/pn-breakpoints.cjs.entry.js.map +1 -1
  21. package/dist/cjs/pn-chart.cjs.entry.js +2 -2
  22. package/dist/cjs/pn-chart.cjs.entry.js.map +1 -1
  23. package/dist/cjs/pn-charts-card.cjs.entry.js +2 -2
  24. package/dist/cjs/pn-charts-card.cjs.entry.js.map +1 -1
  25. package/dist/cjs/pn-choice-button.cjs.entry.js +2 -2
  26. package/dist/cjs/pn-choice-button.cjs.entry.js.map +1 -1
  27. package/dist/cjs/pn-cta-block.cjs.entry.js +2 -2
  28. package/dist/cjs/pn-cta-block.cjs.entry.js.map +1 -1
  29. package/dist/cjs/pn-customernumber-selector-option.cjs.entry.js +3 -3
  30. package/dist/cjs/pn-customernumber-selector-option.cjs.entry.js.map +1 -1
  31. package/dist/cjs/pn-customernumber-selector.cjs.entry.js +9 -4
  32. package/dist/cjs/pn-customernumber-selector.cjs.entry.js.map +1 -1
  33. package/dist/cjs/pn-date-and-time.cjs.entry.js +2 -2
  34. package/dist/cjs/pn-date-and-time.cjs.entry.js.map +1 -1
  35. package/dist/cjs/pn-dropdown-choice-adds-row.cjs.entry.js +8 -20
  36. package/dist/cjs/pn-dropdown-choice-adds-row.cjs.entry.js.map +1 -1
  37. package/dist/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js +2 -2
  38. package/dist/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js.map +1 -1
  39. package/dist/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js +2 -2
  40. package/dist/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js.map +1 -1
  41. package/dist/cjs/pn-filter-checkbox.cjs.entry.js +2 -2
  42. package/dist/cjs/pn-filter-checkbox.cjs.entry.js.map +1 -1
  43. package/dist/cjs/pn-find-price-result.cjs.entry.js +5 -5
  44. package/dist/cjs/pn-find-price-result.cjs.entry.js.map +1 -1
  45. package/dist/cjs/{pn-find-price-store-0c8256c7.js → pn-find-price-store-051e931b.js} +2 -2
  46. package/dist/cjs/{pn-find-price-store-0c8256c7.js.map → pn-find-price-store-051e931b.js.map} +1 -1
  47. package/dist/cjs/pn-find-price.cjs.entry.js +6 -6
  48. package/dist/cjs/pn-find-price.cjs.entry.js.map +1 -1
  49. package/dist/cjs/pn-find-service-and-price-result.cjs.entry.js +5 -5
  50. package/dist/cjs/pn-find-service-and-price-result.cjs.entry.js.map +1 -1
  51. package/dist/cjs/{pn-find-service-and-price-store-13f060e0.js → pn-find-service-and-price-store-3cec3d31.js} +2 -2
  52. package/dist/cjs/{pn-find-service-and-price-store-13f060e0.js.map → pn-find-service-and-price-store-3cec3d31.js.map} +1 -1
  53. package/dist/cjs/pn-find-service-and-price.cjs.entry.js +5 -5
  54. package/dist/cjs/pn-find-service-and-price.cjs.entry.js.map +1 -1
  55. package/dist/cjs/pn-hero-block-international.cjs.entry.js +3 -3
  56. package/dist/cjs/pn-hero-block-international.cjs.entry.js.map +1 -1
  57. package/dist/cjs/pn-language-selector_9.cjs.entry.js +27 -25
  58. package/dist/cjs/pn-language-selector_9.cjs.entry.js.map +1 -1
  59. package/dist/cjs/pn-line-shape.cjs.entry.js +2 -2
  60. package/dist/cjs/pn-line-shape.cjs.entry.js.map +1 -1
  61. package/dist/cjs/pn-link-list.cjs.entry.js +3 -3
  62. package/dist/cjs/pn-link-list.cjs.entry.js.map +1 -1
  63. package/dist/cjs/pn-mainnav-link.cjs.entry.js +5 -5
  64. package/dist/cjs/pn-mainnav-link.cjs.entry.js.map +1 -1
  65. package/dist/cjs/{pn-mainnav-store-5732f3ca.js → pn-mainnav-store-1a8153fd.js} +2 -2
  66. package/dist/cjs/{pn-mainnav-store-5732f3ca.js.map → pn-mainnav-store-1a8153fd.js.map} +1 -1
  67. package/dist/cjs/pn-market-web-components.cjs.js +2 -2
  68. package/dist/cjs/pn-marketweb-icon.cjs.entry.js +3 -3
  69. package/dist/cjs/pn-marketweb-icon.cjs.entry.js.map +1 -1
  70. package/dist/cjs/pn-marketweb-input.cjs.entry.js +6 -4
  71. package/dist/cjs/pn-marketweb-input.cjs.entry.js.map +1 -1
  72. package/dist/cjs/pn-marketweb-search.cjs.entry.js +5 -6
  73. package/dist/cjs/pn-marketweb-search.cjs.entry.js.map +1 -1
  74. package/dist/cjs/pn-marketweb-sitefooter.cjs.entry.js +10 -7
  75. package/dist/cjs/pn-marketweb-sitefooter.cjs.entry.js.map +1 -1
  76. package/dist/cjs/{pn-marketweb-siteheader-login-button_4.cjs.entry.js → pn-marketweb-siteheader-login-button_5.cjs.entry.js} +26 -8
  77. package/dist/cjs/pn-marketweb-siteheader-login-button_5.cjs.entry.js.map +1 -0
  78. package/dist/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js +4 -4
  79. package/dist/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js.map +1 -1
  80. package/dist/cjs/{pn-marketweb-siteheader-store-ce9d9ac7.js → pn-marketweb-siteheader-store-75853609.js} +2 -2
  81. package/dist/cjs/{pn-marketweb-siteheader-store-ce9d9ac7.js.map → pn-marketweb-siteheader-store-75853609.js.map} +1 -1
  82. package/dist/cjs/pn-marketweb-siteheader.cjs.entry.js +10 -11
  83. package/dist/cjs/pn-marketweb-siteheader.cjs.entry.js.map +1 -1
  84. package/dist/cjs/pn-media-block.cjs.entry.js +6 -6
  85. package/dist/cjs/pn-media-block.cjs.entry.js.map +1 -1
  86. package/dist/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js +2 -2
  87. package/dist/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js.map +1 -1
  88. package/dist/cjs/pn-multi-row-connected-dropdown.cjs.entry.js +2 -2
  89. package/dist/cjs/pn-multi-row-connected-dropdown.cjs.entry.js.map +1 -1
  90. package/dist/cjs/pn-multiple-input.cjs.entry.js +1 -1
  91. package/dist/cjs/pn-parcel-tracker.cjs.entry.js +2 -2
  92. package/dist/cjs/pn-parcel-tracker.cjs.entry.js.map +1 -1
  93. package/dist/cjs/pn-pex-pricefinder.cjs.entry.js +3 -3
  94. package/dist/cjs/pn-pex-pricefinder.cjs.entry.js.map +1 -1
  95. package/dist/cjs/pn-play-on-scroll.cjs.entry.js +1 -1
  96. package/dist/cjs/pn-product-card_3.cjs.entry.js +5 -5
  97. package/dist/cjs/pn-product-card_3.cjs.entry.js.map +1 -1
  98. package/dist/cjs/pn-product-pricelist-result.cjs.entry.js +4 -4
  99. package/dist/cjs/pn-product-pricelist-result.cjs.entry.js.map +1 -1
  100. package/dist/cjs/pn-product-pricelist.cjs.entry.js +6 -6
  101. package/dist/cjs/pn-product-pricelist.cjs.entry.js.map +1 -1
  102. package/dist/cjs/pn-product-tile-info_2.cjs.entry.js +4 -4
  103. package/dist/cjs/pn-product-tile-info_2.cjs.entry.js.map +1 -1
  104. package/dist/cjs/pn-product-tile.cjs.entry.js +3 -3
  105. package/dist/cjs/pn-product-tile.cjs.entry.js.map +1 -1
  106. package/dist/cjs/pn-profile-modal-customernumber.cjs.entry.js +3 -3
  107. package/dist/cjs/pn-profile-modal-customernumber.cjs.entry.js.map +1 -1
  108. package/dist/cjs/pn-profile-modal-profile.cjs.entry.js +6 -6
  109. package/dist/cjs/pn-profile-modal-profile.cjs.entry.js.map +1 -1
  110. package/dist/cjs/{pn-profile-modal-store-16f8092a.js → pn-profile-modal-store-3b6fea24.js} +2 -2
  111. package/dist/cjs/{pn-profile-modal-store-16f8092a.js.map → pn-profile-modal-store-3b6fea24.js.map} +1 -1
  112. package/dist/cjs/pn-profile-modal-type.cjs.entry.js +5 -5
  113. package/dist/cjs/pn-profile-modal-type.cjs.entry.js.map +1 -1
  114. package/dist/cjs/pn-profile-modal.cjs.entry.js +5 -5
  115. package/dist/cjs/pn-profile-modal.cjs.entry.js.map +1 -1
  116. package/dist/cjs/pn-profile-selector-option.cjs.entry.js +3 -3
  117. package/dist/cjs/pn-profile-selector-option.cjs.entry.js.map +1 -1
  118. package/dist/cjs/pn-profile-selector.cjs.entry.js +3 -3
  119. package/dist/cjs/pn-profile-selector.cjs.entry.js.map +1 -1
  120. package/dist/cjs/pn-proxio-findprice-result.cjs.entry.js +3 -3
  121. package/dist/cjs/pn-proxio-findprice-result.cjs.entry.js.map +1 -1
  122. package/dist/cjs/pn-proxio-findprice.cjs.entry.js +8 -9
  123. package/dist/cjs/pn-proxio-findprice.cjs.entry.js.map +1 -1
  124. package/dist/cjs/pn-proxio-pricegroup.cjs.entry.js +5 -6
  125. package/dist/cjs/pn-proxio-pricegroup.cjs.entry.js.map +1 -1
  126. package/dist/cjs/pn-proxio-productcard_4.cjs.entry.js +8 -8
  127. package/dist/cjs/pn-proxio-productcard_4.cjs.entry.js.map +1 -1
  128. package/dist/cjs/pn-quick-cta.cjs.entry.js +2 -2
  129. package/dist/cjs/pn-quick-cta.cjs.entry.js.map +1 -1
  130. package/dist/cjs/pn-quote-card.cjs.entry.js +2 -2
  131. package/dist/cjs/pn-quote-card.cjs.entry.js.map +1 -1
  132. package/dist/cjs/pn-scroll_2.cjs.entry.js +2 -2
  133. package/dist/cjs/pn-scroll_2.cjs.entry.js.map +1 -1
  134. package/dist/cjs/pn-share-item.cjs.entry.js +2 -2
  135. package/dist/cjs/pn-share-item.cjs.entry.js.map +1 -1
  136. package/dist/cjs/pn-share.cjs.entry.js +2 -2
  137. package/dist/cjs/pn-share.cjs.entry.js.map +1 -1
  138. package/dist/cjs/pn-sidenav-level.cjs.entry.js +5 -5
  139. package/dist/cjs/pn-sidenav-level.cjs.entry.js.map +1 -1
  140. package/dist/cjs/pn-sidenav-link.cjs.entry.js +5 -5
  141. package/dist/cjs/pn-sidenav-link.cjs.entry.js.map +1 -1
  142. package/dist/cjs/{pn-sidenav-store-236c8806.js → pn-sidenav-store-cf9c4996.js} +2 -2
  143. package/dist/cjs/{pn-sidenav-store-236c8806.js.map → pn-sidenav-store-cf9c4996.js.map} +1 -1
  144. package/dist/cjs/pn-sidenav-togglebutton.cjs.entry.js +5 -5
  145. package/dist/cjs/pn-sidenav-togglebutton.cjs.entry.js.map +1 -1
  146. package/dist/cjs/pn-sidenav.cjs.entry.js +5 -5
  147. package/dist/cjs/pn-sidenav.cjs.entry.js.map +1 -1
  148. package/dist/cjs/pn-site-footer_3.cjs.entry.js +7 -7
  149. package/dist/cjs/pn-site-footer_3.cjs.entry.js.map +1 -1
  150. package/dist/cjs/pn-spotlight.cjs.entry.js +2 -2
  151. package/dist/cjs/pn-spotlight.cjs.entry.js.map +1 -1
  152. package/dist/cjs/pn-stats-info-data.cjs.entry.js +2 -2
  153. package/dist/cjs/pn-stats-info-data.cjs.entry.js.map +1 -1
  154. package/dist/cjs/pn-stats-info.cjs.entry.js +2 -2
  155. package/dist/cjs/pn-stats-info.cjs.entry.js.map +1 -1
  156. package/dist/cjs/pn-teaser-card.cjs.entry.js +9 -5
  157. package/dist/cjs/pn-teaser-card.cjs.entry.js.map +1 -1
  158. package/dist/cjs/pn-titletag.cjs.entry.js +3 -3
  159. package/dist/cjs/pn-titletag.cjs.entry.js.map +1 -1
  160. package/dist/cjs/pn-usp-promoter.cjs.entry.js +3 -3
  161. package/dist/cjs/pn-usp-promoter.cjs.entry.js.map +1 -1
  162. package/dist/collection/collection-manifest.json +0 -7
  163. package/dist/collection/components/animation/pn-animated-tile/pn-animated-tile.css +0 -25
  164. package/dist/collection/components/animation/pn-play-on-scroll/pn-video-overlay/pn-video-overlay.css +0 -25
  165. package/dist/collection/components/cards/pn-quote-card/pn-line-shape/pn-line-shape.css +0 -25
  166. package/dist/collection/components/cards/pn-quote-card/pn-quote-card.css +0 -25
  167. package/dist/collection/components/cards/pn-teaser-card/pn-teaser-card.css +0 -25
  168. package/dist/collection/components/cards/pn-teaser-card/pn-teaser-card.js +11 -8
  169. package/dist/collection/components/cards/pn-teaser-card/pn-teaser-card.js.map +1 -1
  170. package/dist/collection/components/cards/pn-teaser-card/pn-teaser-card.stories.js +3 -3
  171. package/dist/collection/components/charts/pn-chart/pn-chart.css +0 -25
  172. package/dist/collection/components/charts/pn-charts-card/pn-charts-card.css +0 -25
  173. package/dist/collection/components/cta/pn-cta-block/pn-cta-block.css +0 -25
  174. package/dist/collection/components/cta/pn-parcel-tracker/pn-parcel-tracker.css +0 -25
  175. package/dist/collection/components/cta/pn-quick-cta/pn-quick-cta.css +0 -25
  176. package/dist/collection/components/cta/pn-share/pn-share-item.css +0 -25
  177. package/dist/collection/components/cta/pn-share/pn-share.css +0 -25
  178. package/dist/collection/components/cta/pn-spotlight/pn-spotlight.css +0 -25
  179. package/dist/collection/components/data-visualization/pn-stats-info/pn-stats-info-data/pn-stats-info-data.css +0 -25
  180. package/dist/collection/components/data-visualization/pn-stats-info/pn-stats-info.css +0 -25
  181. package/dist/collection/components/input/pn-address-autofill/pn-address-autofill.css +1 -31
  182. package/dist/collection/components/input/pn-address-autofill/pn-address-autofill.js +68 -58
  183. package/dist/collection/components/input/pn-address-autofill/pn-address-autofill.js.map +1 -1
  184. package/dist/collection/components/input/pn-address-autofill/pn-address-autofill.stories.js +1 -2
  185. package/dist/collection/components/input/pn-address-autofill/translations.js +3 -6
  186. package/dist/collection/components/input/pn-address-autofill/translations.js.map +1 -1
  187. package/dist/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar-level.css +0 -25
  188. package/dist/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar.css +0 -25
  189. package/dist/collection/components/input/pn-choice-button/pn-choice-button.css +0 -25
  190. package/dist/collection/components/input/pn-date-and-time/pn-date-and-time.css +0 -25
  191. package/dist/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.css +0 -25
  192. package/dist/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.js +6 -18
  193. package/dist/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.js.map +1 -1
  194. package/dist/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows-row.css +0 -25
  195. package/dist/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows.css +0 -25
  196. package/dist/collection/components/input/pn-filter-checkbox/pn-filter-checkbox.css +0 -25
  197. package/dist/collection/components/input/pn-marketweb-input/pn-marketweb-input.css +0 -25
  198. package/dist/collection/components/input/pn-marketweb-search/pn-marketweb-search.css +0 -25
  199. package/dist/collection/components/input/pn-marketweb-search/pn-marketweb-search.js +3 -4
  200. package/dist/collection/components/input/pn-marketweb-search/pn-marketweb-search.js.map +1 -1
  201. package/dist/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown-row.css +0 -25
  202. package/dist/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown.css +0 -25
  203. package/dist/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.css +0 -50
  204. package/dist/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js +1 -1
  205. package/dist/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js.map +1 -1
  206. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-linklist.css +0 -25
  207. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-links.css +0 -25
  208. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.css +0 -25
  209. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.js +0 -1
  210. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.js.map +1 -1
  211. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.css +0 -25
  212. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js +1 -1
  213. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js.map +1 -1
  214. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.css +0 -25
  215. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js +37 -1
  216. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js.map +1 -1
  217. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.css +6 -45
  218. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +4 -4
  219. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js +5 -32
  220. package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js.map +1 -1
  221. package/dist/collection/components/media/pn-media-block/pn-media-block.css +0 -25
  222. package/dist/collection/components/media/pn-media-block/pn-media-block.js +8 -8
  223. package/dist/collection/components/media/pn-media-block/pn-media-block.js.map +1 -1
  224. package/dist/collection/components/media/pn-media-block/pn-media-block.stories.js +76 -76
  225. package/dist/collection/components/minor/pn-app-banner/pn-app-banner.css +0 -25
  226. package/dist/collection/components/minor/pn-app-banner/pn-app-banner.js +1 -1
  227. package/dist/collection/components/minor/pn-marketweb-icon/pn-marketweb-icon.css +0 -25
  228. package/dist/collection/components/minor/pn-marketweb-icon/pn-marketweb-icon.js +1 -1
  229. package/dist/collection/components/minor/pn-swan/pn-swan.css +0 -25
  230. package/dist/collection/components/minor/pn-swan/pn-swan.js +1 -1
  231. package/dist/collection/components/minor/pn-titletag/pn-titletag.css +0 -25
  232. package/dist/collection/components/minor/pn-titletag/pn-titletag.js +1 -1
  233. package/dist/collection/components/navigation/pn-language-selector/pn-language-selector-option.css +0 -50
  234. package/dist/collection/components/navigation/pn-language-selector/pn-language-selector-option.js +1 -1
  235. package/dist/collection/components/navigation/pn-language-selector/pn-language-selector.css +0 -50
  236. package/dist/collection/components/navigation/pn-language-selector/pn-language-selector.js +1 -1
  237. package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-level.css +0 -25
  238. package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-level.js +2 -2
  239. package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-link.css +0 -25
  240. package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-link.js +1 -1
  241. package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-list.css +0 -25
  242. package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-list.js +1 -1
  243. package/dist/collection/components/navigation/pn-mainnav/pn-mainnav.css +0 -25
  244. package/dist/collection/components/navigation/pn-mainnav/pn-mainnav.js +1 -1
  245. package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-level.css +0 -25
  246. package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-level.js +1 -1
  247. package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-link.css +0 -25
  248. package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-link.js +1 -1
  249. package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.css +0 -25
  250. package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.js +1 -1
  251. package/dist/collection/components/navigation/pn-sidenav/pn-sidenav.css +0 -25
  252. package/dist/collection/components/navigation/pn-sidenav/pn-sidenav.js +1 -1
  253. package/dist/collection/components/navigation/pn-site-footer/pn-site-footer-col.css +0 -50
  254. package/dist/collection/components/navigation/pn-site-footer/pn-site-footer-col.js +1 -1
  255. package/dist/collection/components/navigation/pn-site-footer/pn-site-footer.css +0 -50
  256. package/dist/collection/components/navigation/pn-site-footer/pn-site-footer.js +1 -1
  257. package/dist/collection/components/navigation/pn-site-selector/pn-site-selector-item.css +0 -25
  258. package/dist/collection/components/navigation/pn-site-selector/pn-site-selector-item.js +1 -1
  259. package/dist/collection/components/navigation/pn-site-selector/pn-site-selector.css +0 -25
  260. package/dist/collection/components/navigation/pn-site-selector/pn-site-selector.js +1 -1
  261. package/dist/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.css +0 -25
  262. package/dist/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.js +1 -1
  263. package/dist/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.css +0 -25
  264. package/dist/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.js +1 -1
  265. package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.css +0 -25
  266. package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.js +1 -1
  267. package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.css +0 -25
  268. package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.js +2 -2
  269. package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-type.css +0 -25
  270. package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-type.js +1 -1
  271. package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal.css +0 -25
  272. package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal.js +1 -1
  273. package/dist/collection/components/profile/pn-profile-selector/pn-profile-selector-option.css +0 -25
  274. package/dist/collection/components/profile/pn-profile-selector/pn-profile-selector-option.js +1 -1
  275. package/dist/collection/components/profile/pn-profile-selector/pn-profile-selector.css +0 -25
  276. package/dist/collection/components/profile/pn-profile-selector/pn-profile-selector.js +1 -1
  277. package/dist/collection/components/utilities/pn-breakpoints/pn-breakpoints.css +0 -25
  278. package/dist/collection/components/utilities/pn-breakpoints/pn-breakpoints.js +1 -1
  279. package/dist/collection/components/widgets/pn-find-price/pn-find-price-result.css +0 -25
  280. package/dist/collection/components/widgets/pn-find-price/pn-find-price-result.js +1 -1
  281. package/dist/collection/components/widgets/pn-find-price/pn-find-price.css +0 -25
  282. package/dist/collection/components/widgets/pn-find-price/pn-find-price.js +2 -2
  283. package/dist/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.css +0 -25
  284. package/dist/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.js +1 -1
  285. package/dist/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.css +0 -25
  286. package/dist/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.js +1 -1
  287. package/dist/collection/components/widgets/pn-hero-block-international/pn-hero-block-international.css +0 -25
  288. package/dist/collection/components/widgets/pn-hero-block-international/pn-hero-block-international.js +1 -1
  289. package/dist/collection/components/widgets/pn-link-list/pn-link-list.css +0 -25
  290. package/dist/collection/components/widgets/pn-link-list/pn-link-list.js +1 -1
  291. package/dist/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.css +0 -25
  292. package/dist/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.js +1 -1
  293. package/dist/collection/components/widgets/pn-product-card/pn-product-card-info.css +0 -25
  294. package/dist/collection/components/widgets/pn-product-card/pn-product-card-price.css +0 -25
  295. package/dist/collection/components/widgets/pn-product-card/pn-product-card.css +0 -25
  296. package/dist/collection/components/widgets/pn-product-card/pn-product-card.js +1 -1
  297. package/dist/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.css +0 -25
  298. package/dist/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.js +1 -1
  299. package/dist/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.css +0 -25
  300. package/dist/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.js +2 -2
  301. package/dist/collection/components/widgets/pn-product-tile/pn-product-tile-info.css +0 -25
  302. package/dist/collection/components/widgets/pn-product-tile/pn-product-tile-info.js +1 -1
  303. package/dist/collection/components/widgets/pn-product-tile/pn-product-tile-price.css +0 -25
  304. package/dist/collection/components/widgets/pn-product-tile/pn-product-tile.css +0 -25
  305. package/dist/collection/components/widgets/pn-product-tile/pn-product-tile.js +1 -1
  306. package/dist/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.css +0 -25
  307. package/dist/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.js +1 -1
  308. package/dist/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.css +0 -25
  309. package/dist/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.js +3 -3
  310. package/dist/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.css +0 -25
  311. package/dist/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.js +1 -1
  312. package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.css +0 -25
  313. package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.js +1 -1
  314. package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.css +0 -25
  315. package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.js +1 -1
  316. package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-pricelink.css +0 -25
  317. package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.css +0 -25
  318. package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.js +1 -1
  319. package/dist/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.css +0 -25
  320. package/dist/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.js +1 -1
  321. package/dist/collection/globals/HeadingTag.js +2 -2
  322. package/dist/collection/globals/HeadingTag.js.map +1 -1
  323. package/dist/collection/utils/utils.js +0 -11
  324. package/dist/collection/utils/utils.js.map +1 -1
  325. package/dist/components/FetchHelper.js +243 -1
  326. package/dist/components/FetchHelper.js.map +1 -1
  327. package/dist/components/pn-address-autofill.js +73 -50
  328. package/dist/components/pn-address-autofill.js.map +1 -1
  329. package/dist/components/pn-animated-tile.js +1 -1
  330. package/dist/components/pn-animated-tile.js.map +1 -1
  331. package/dist/components/pn-app-banner.js +2 -2
  332. package/dist/components/pn-app-banner.js.map +1 -1
  333. package/dist/components/pn-bonus-progressbar-level.js +1 -1
  334. package/dist/components/pn-bonus-progressbar-level.js.map +1 -1
  335. package/dist/components/pn-bonus-progressbar.js +1 -1
  336. package/dist/components/pn-bonus-progressbar.js.map +1 -1
  337. package/dist/components/pn-breakpoints.js +2 -2
  338. package/dist/components/pn-breakpoints.js.map +1 -1
  339. package/dist/components/pn-chart.js +1 -1
  340. package/dist/components/pn-chart.js.map +1 -1
  341. package/dist/components/pn-charts-card.js +1 -1
  342. package/dist/components/pn-charts-card.js.map +1 -1
  343. package/dist/components/pn-choice-button2.js +1 -1
  344. package/dist/components/pn-choice-button2.js.map +1 -1
  345. package/dist/components/pn-cta-block.js +1 -1
  346. package/dist/components/pn-cta-block.js.map +1 -1
  347. package/dist/components/pn-customernumber-selector-option.js +2 -2
  348. package/dist/components/pn-customernumber-selector-option.js.map +1 -1
  349. package/dist/components/pn-customernumber-selector.js +8 -3
  350. package/dist/components/pn-customernumber-selector.js.map +1 -1
  351. package/dist/components/pn-date-and-time.js +1 -1
  352. package/dist/components/pn-date-and-time.js.map +1 -1
  353. package/dist/components/pn-dropdown-choice-adds-row.js +7 -19
  354. package/dist/components/pn-dropdown-choice-adds-row.js.map +1 -1
  355. package/dist/components/pn-dropdown-with-multi-input-rows-row2.js +1 -1
  356. package/dist/components/pn-dropdown-with-multi-input-rows-row2.js.map +1 -1
  357. package/dist/components/pn-dropdown-with-multi-input-rows.js +1 -1
  358. package/dist/components/pn-dropdown-with-multi-input-rows.js.map +1 -1
  359. package/dist/components/pn-filter-checkbox2.js +1 -1
  360. package/dist/components/pn-filter-checkbox2.js.map +1 -1
  361. package/dist/components/pn-find-price-result2.js +2 -2
  362. package/dist/components/pn-find-price-result2.js.map +1 -1
  363. package/dist/components/pn-find-price.js +3 -3
  364. package/dist/components/pn-find-price.js.map +1 -1
  365. package/dist/components/pn-find-service-and-price-result2.js +2 -2
  366. package/dist/components/pn-find-service-and-price-result2.js.map +1 -1
  367. package/dist/components/pn-find-service-and-price.js +2 -2
  368. package/dist/components/pn-find-service-and-price.js.map +1 -1
  369. package/dist/components/pn-hero-block-international.js +2 -2
  370. package/dist/components/pn-hero-block-international.js.map +1 -1
  371. package/dist/components/pn-language-selector-option2.js +2 -2
  372. package/dist/components/pn-language-selector-option2.js.map +1 -1
  373. package/dist/components/pn-language-selector2.js +2 -2
  374. package/dist/components/pn-language-selector2.js.map +1 -1
  375. package/dist/components/pn-line-shape.js +1 -1
  376. package/dist/components/pn-line-shape.js.map +1 -1
  377. package/dist/components/pn-link-list.js +2 -2
  378. package/dist/components/pn-link-list.js.map +1 -1
  379. package/dist/components/pn-mainnav-level2.js +3 -3
  380. package/dist/components/pn-mainnav-level2.js.map +1 -1
  381. package/dist/components/pn-mainnav-link2.js +2 -2
  382. package/dist/components/pn-mainnav-link2.js.map +1 -1
  383. package/dist/components/pn-mainnav-list2.js +2 -2
  384. package/dist/components/pn-mainnav-list2.js.map +1 -1
  385. package/dist/components/pn-mainnav2.js +5 -3
  386. package/dist/components/pn-mainnav2.js.map +1 -1
  387. package/dist/components/pn-marketweb-icon.js +2 -2
  388. package/dist/components/pn-marketweb-icon.js.map +1 -1
  389. package/dist/components/pn-marketweb-input2.js +4 -2
  390. package/dist/components/pn-marketweb-input2.js.map +1 -1
  391. package/dist/components/pn-marketweb-search.js +4 -5
  392. package/dist/components/pn-marketweb-search.js.map +1 -1
  393. package/dist/components/pn-marketweb-sitefooter.js +9 -6
  394. package/dist/components/pn-marketweb-sitefooter.js.map +1 -1
  395. package/dist/components/pn-marketweb-siteheader-login-linklist2.js +1 -1
  396. package/dist/components/pn-marketweb-siteheader-login-linklist2.js.map +1 -1
  397. package/dist/components/pn-marketweb-siteheader-login-links2.js +1 -1
  398. package/dist/components/pn-marketweb-siteheader-login-links2.js.map +1 -1
  399. package/dist/components/pn-marketweb-siteheader-login-mypage-button.js +1 -34
  400. package/dist/components/pn-marketweb-siteheader-login-mypage-button.js.map +1 -1
  401. package/dist/components/pn-marketweb-siteheader-login-mypage-button2.js +38 -0
  402. package/dist/components/pn-marketweb-siteheader-login-mypage-button2.js.map +1 -0
  403. package/dist/components/pn-marketweb-siteheader-login-profileselection2.js +1 -2
  404. package/dist/components/pn-marketweb-siteheader-login-profileselection2.js.map +1 -1
  405. package/dist/components/pn-marketweb-siteheader-login2.js +14 -8
  406. package/dist/components/pn-marketweb-siteheader-login2.js.map +1 -1
  407. package/dist/components/pn-marketweb-siteheader-search2.js +1 -1
  408. package/dist/components/pn-marketweb-siteheader-search2.js.map +1 -1
  409. package/dist/components/pn-marketweb-siteheader-unified-login2.js +13 -3
  410. package/dist/components/pn-marketweb-siteheader-unified-login2.js.map +1 -1
  411. package/dist/components/pn-marketweb-siteheader.js +32 -27
  412. package/dist/components/pn-marketweb-siteheader.js.map +1 -1
  413. package/dist/components/pn-media-block.js +6 -6
  414. package/dist/components/pn-media-block.js.map +1 -1
  415. package/dist/components/pn-multi-row-connected-dropdown-row2.js +1 -1
  416. package/dist/components/pn-multi-row-connected-dropdown-row2.js.map +1 -1
  417. package/dist/components/pn-multi-row-connected-dropdown.js +1 -1
  418. package/dist/components/pn-multi-row-connected-dropdown.js.map +1 -1
  419. package/dist/components/pn-parcel-tracker.js +1 -1
  420. package/dist/components/pn-parcel-tracker.js.map +1 -1
  421. package/dist/components/pn-pex-pricefinder.js +2 -2
  422. package/dist/components/pn-pex-pricefinder.js.map +1 -1
  423. package/dist/components/pn-product-card-info2.js +1 -1
  424. package/dist/components/pn-product-card-info2.js.map +1 -1
  425. package/dist/components/pn-product-card-price2.js +1 -1
  426. package/dist/components/pn-product-card-price2.js.map +1 -1
  427. package/dist/components/pn-product-card2.js +2 -2
  428. package/dist/components/pn-product-card2.js.map +1 -1
  429. package/dist/components/pn-product-pricelist-result.js +2 -2
  430. package/dist/components/pn-product-pricelist-result.js.map +1 -1
  431. package/dist/components/pn-product-pricelist.js +3 -3
  432. package/dist/components/pn-product-pricelist.js.map +1 -1
  433. package/dist/components/pn-product-tile-info2.js +2 -2
  434. package/dist/components/pn-product-tile-info2.js.map +1 -1
  435. package/dist/components/pn-product-tile-price2.js +1 -1
  436. package/dist/components/pn-product-tile-price2.js.map +1 -1
  437. package/dist/components/pn-product-tile.js +2 -2
  438. package/dist/components/pn-product-tile.js.map +1 -1
  439. package/dist/components/pn-profile-modal-customernumber.js +2 -2
  440. package/dist/components/pn-profile-modal-customernumber.js.map +1 -1
  441. package/dist/components/pn-profile-modal-profile.js +3 -3
  442. package/dist/components/pn-profile-modal-profile.js.map +1 -1
  443. package/dist/components/pn-profile-modal-type.js +2 -2
  444. package/dist/components/pn-profile-modal-type.js.map +1 -1
  445. package/dist/components/pn-profile-modal.js +2 -2
  446. package/dist/components/pn-profile-modal.js.map +1 -1
  447. package/dist/components/pn-profile-selector-option.js +2 -2
  448. package/dist/components/pn-profile-selector-option.js.map +1 -1
  449. package/dist/components/pn-profile-selector.js +2 -2
  450. package/dist/components/pn-profile-selector.js.map +1 -1
  451. package/dist/components/pn-proxio-findprice-result2.js +2 -2
  452. package/dist/components/pn-proxio-findprice-result2.js.map +1 -1
  453. package/dist/components/pn-proxio-findprice.js +5 -6
  454. package/dist/components/pn-proxio-findprice.js.map +1 -1
  455. package/dist/components/pn-proxio-pricegroup.js +3 -4
  456. package/dist/components/pn-proxio-pricegroup.js.map +1 -1
  457. package/dist/components/pn-proxio-productcard-description2.js +2 -2
  458. package/dist/components/pn-proxio-productcard-description2.js.map +1 -1
  459. package/dist/components/pn-proxio-productcard-information2.js +2 -2
  460. package/dist/components/pn-proxio-productcard-information2.js.map +1 -1
  461. package/dist/components/pn-proxio-productcard-pricelink2.js +1 -1
  462. package/dist/components/pn-proxio-productcard-pricelink2.js.map +1 -1
  463. package/dist/components/pn-proxio-productcard2.js +2 -2
  464. package/dist/components/pn-proxio-productcard2.js.map +1 -1
  465. package/dist/components/pn-quick-cta.js +1 -1
  466. package/dist/components/pn-quick-cta.js.map +1 -1
  467. package/dist/components/pn-quote-card.js +1 -1
  468. package/dist/components/pn-quote-card.js.map +1 -1
  469. package/dist/components/pn-share-item2.js +1 -1
  470. package/dist/components/pn-share-item2.js.map +1 -1
  471. package/dist/components/pn-share.js +1 -1
  472. package/dist/components/pn-share.js.map +1 -1
  473. package/dist/components/pn-sidenav-level.js +2 -2
  474. package/dist/components/pn-sidenav-level.js.map +1 -1
  475. package/dist/components/pn-sidenav-link.js +2 -2
  476. package/dist/components/pn-sidenav-link.js.map +1 -1
  477. package/dist/components/pn-sidenav-togglebutton.js +2 -2
  478. package/dist/components/pn-sidenav-togglebutton.js.map +1 -1
  479. package/dist/components/pn-sidenav.js +2 -2
  480. package/dist/components/pn-sidenav.js.map +1 -1
  481. package/dist/components/pn-site-footer-col2.js +2 -2
  482. package/dist/components/pn-site-footer-col2.js.map +1 -1
  483. package/dist/components/pn-site-footer2.js +2 -2
  484. package/dist/components/pn-site-footer2.js.map +1 -1
  485. package/dist/components/pn-site-selector-item2.js +2 -2
  486. package/dist/components/pn-site-selector-item2.js.map +1 -1
  487. package/dist/components/pn-site-selector2.js +2 -2
  488. package/dist/components/pn-site-selector2.js.map +1 -1
  489. package/dist/components/pn-spotlight.js +1 -1
  490. package/dist/components/pn-spotlight.js.map +1 -1
  491. package/dist/components/pn-stats-info-data2.js +1 -1
  492. package/dist/components/pn-stats-info-data2.js.map +1 -1
  493. package/dist/components/pn-stats-info.js +1 -1
  494. package/dist/components/pn-stats-info.js.map +1 -1
  495. package/dist/components/pn-swan2.js +2 -2
  496. package/dist/components/pn-swan2.js.map +1 -1
  497. package/dist/components/pn-teaser-card.js +9 -5
  498. package/dist/components/pn-teaser-card.js.map +1 -1
  499. package/dist/components/pn-titletag2.js +2 -2
  500. package/dist/components/pn-titletag2.js.map +1 -1
  501. package/dist/components/pn-usp-promoter.js +2 -2
  502. package/dist/components/pn-usp-promoter.js.map +1 -1
  503. package/dist/components/pn-video-overlay2.js +1 -1
  504. package/dist/components/pn-video-overlay2.js.map +1 -1
  505. package/dist/{components/MarketWebContextService.js → esm/FetchHelper-746f2bb6.js} +82 -2
  506. package/dist/esm/FetchHelper-746f2bb6.js.map +1 -0
  507. package/dist/esm/{index-c311acd6.js → index-51d67461.js} +5 -53
  508. package/dist/esm/index-51d67461.js.map +1 -0
  509. package/dist/esm/{index-ae60ebec.js → index-89124075.js} +2 -2
  510. package/dist/esm/{index-ae60ebec.js.map → index-89124075.js.map} +1 -1
  511. package/dist/esm/index.js +1 -1
  512. package/dist/esm/loader.js +3 -3
  513. package/dist/esm/pn-address-autofill.entry.js +74 -50
  514. package/dist/esm/pn-address-autofill.entry.js.map +1 -1
  515. package/dist/esm/pn-animated-tile.entry.js +2 -2
  516. package/dist/esm/pn-animated-tile.entry.js.map +1 -1
  517. package/dist/esm/pn-app-banner.entry.js +3 -3
  518. package/dist/esm/pn-app-banner.entry.js.map +1 -1
  519. package/dist/esm/pn-bonus-progressbar-level.entry.js +2 -2
  520. package/dist/esm/pn-bonus-progressbar-level.entry.js.map +1 -1
  521. package/dist/esm/pn-bonus-progressbar.entry.js +2 -2
  522. package/dist/esm/pn-bonus-progressbar.entry.js.map +1 -1
  523. package/dist/esm/pn-breakpoints.entry.js +3 -3
  524. package/dist/esm/pn-breakpoints.entry.js.map +1 -1
  525. package/dist/esm/pn-chart.entry.js +2 -2
  526. package/dist/esm/pn-chart.entry.js.map +1 -1
  527. package/dist/esm/pn-charts-card.entry.js +2 -2
  528. package/dist/esm/pn-charts-card.entry.js.map +1 -1
  529. package/dist/esm/pn-choice-button.entry.js +2 -2
  530. package/dist/esm/pn-choice-button.entry.js.map +1 -1
  531. package/dist/esm/pn-cta-block.entry.js +2 -2
  532. package/dist/esm/pn-cta-block.entry.js.map +1 -1
  533. package/dist/esm/pn-customernumber-selector-option.entry.js +3 -3
  534. package/dist/esm/pn-customernumber-selector-option.entry.js.map +1 -1
  535. package/dist/esm/pn-customernumber-selector.entry.js +9 -4
  536. package/dist/esm/pn-customernumber-selector.entry.js.map +1 -1
  537. package/dist/esm/pn-date-and-time.entry.js +2 -2
  538. package/dist/esm/pn-date-and-time.entry.js.map +1 -1
  539. package/dist/esm/pn-dropdown-choice-adds-row.entry.js +8 -20
  540. package/dist/esm/pn-dropdown-choice-adds-row.entry.js.map +1 -1
  541. package/dist/esm/pn-dropdown-with-multi-input-rows-row.entry.js +2 -2
  542. package/dist/esm/pn-dropdown-with-multi-input-rows-row.entry.js.map +1 -1
  543. package/dist/esm/pn-dropdown-with-multi-input-rows.entry.js +2 -2
  544. package/dist/esm/pn-dropdown-with-multi-input-rows.entry.js.map +1 -1
  545. package/dist/esm/pn-filter-checkbox.entry.js +2 -2
  546. package/dist/esm/pn-filter-checkbox.entry.js.map +1 -1
  547. package/dist/esm/pn-find-price-result.entry.js +5 -5
  548. package/dist/esm/pn-find-price-result.entry.js.map +1 -1
  549. package/dist/esm/{pn-find-price-store-f97f2325.js → pn-find-price-store-c9a9d3d4.js} +2 -2
  550. package/dist/esm/{pn-find-price-store-f97f2325.js.map → pn-find-price-store-c9a9d3d4.js.map} +1 -1
  551. package/dist/esm/pn-find-price.entry.js +6 -6
  552. package/dist/esm/pn-find-price.entry.js.map +1 -1
  553. package/dist/esm/pn-find-service-and-price-result.entry.js +5 -5
  554. package/dist/esm/pn-find-service-and-price-result.entry.js.map +1 -1
  555. package/dist/esm/{pn-find-service-and-price-store-6553566d.js → pn-find-service-and-price-store-60aa5801.js} +2 -2
  556. package/dist/esm/{pn-find-service-and-price-store-6553566d.js.map → pn-find-service-and-price-store-60aa5801.js.map} +1 -1
  557. package/dist/esm/pn-find-service-and-price.entry.js +5 -5
  558. package/dist/esm/pn-find-service-and-price.entry.js.map +1 -1
  559. package/dist/esm/pn-hero-block-international.entry.js +3 -3
  560. package/dist/esm/pn-hero-block-international.entry.js.map +1 -1
  561. package/dist/esm/pn-language-selector_9.entry.js +27 -25
  562. package/dist/esm/pn-language-selector_9.entry.js.map +1 -1
  563. package/dist/esm/pn-line-shape.entry.js +2 -2
  564. package/dist/esm/pn-line-shape.entry.js.map +1 -1
  565. package/dist/esm/pn-link-list.entry.js +3 -3
  566. package/dist/esm/pn-link-list.entry.js.map +1 -1
  567. package/dist/esm/pn-mainnav-link.entry.js +5 -5
  568. package/dist/esm/pn-mainnav-link.entry.js.map +1 -1
  569. package/dist/esm/{pn-mainnav-store-23387019.js → pn-mainnav-store-9c42bc66.js} +2 -2
  570. package/dist/esm/{pn-mainnav-store-23387019.js.map → pn-mainnav-store-9c42bc66.js.map} +1 -1
  571. package/dist/esm/pn-market-web-components.js +3 -3
  572. package/dist/esm/pn-marketweb-icon.entry.js +3 -3
  573. package/dist/esm/pn-marketweb-icon.entry.js.map +1 -1
  574. package/dist/esm/pn-marketweb-input.entry.js +5 -3
  575. package/dist/esm/pn-marketweb-input.entry.js.map +1 -1
  576. package/dist/esm/pn-marketweb-search.entry.js +5 -6
  577. package/dist/esm/pn-marketweb-search.entry.js.map +1 -1
  578. package/dist/esm/pn-marketweb-sitefooter.entry.js +9 -6
  579. package/dist/esm/pn-marketweb-sitefooter.entry.js.map +1 -1
  580. package/dist/esm/{pn-marketweb-siteheader-login-button_4.entry.js → pn-marketweb-siteheader-login-button_5.entry.js} +26 -9
  581. package/dist/esm/pn-marketweb-siteheader-login-button_5.entry.js.map +1 -0
  582. package/dist/esm/pn-marketweb-siteheader-login-linklist.entry.js +4 -4
  583. package/dist/esm/pn-marketweb-siteheader-login-linklist.entry.js.map +1 -1
  584. package/dist/esm/{pn-marketweb-siteheader-store-f60eb1e4.js → pn-marketweb-siteheader-store-91f74255.js} +2 -2
  585. package/dist/esm/{pn-marketweb-siteheader-store-f60eb1e4.js.map → pn-marketweb-siteheader-store-91f74255.js.map} +1 -1
  586. package/dist/esm/pn-marketweb-siteheader.entry.js +9 -10
  587. package/dist/esm/pn-marketweb-siteheader.entry.js.map +1 -1
  588. package/dist/esm/pn-media-block.entry.js +6 -6
  589. package/dist/esm/pn-media-block.entry.js.map +1 -1
  590. package/dist/esm/pn-multi-row-connected-dropdown-row.entry.js +2 -2
  591. package/dist/esm/pn-multi-row-connected-dropdown-row.entry.js.map +1 -1
  592. package/dist/esm/pn-multi-row-connected-dropdown.entry.js +2 -2
  593. package/dist/esm/pn-multi-row-connected-dropdown.entry.js.map +1 -1
  594. package/dist/esm/pn-multiple-input.entry.js +1 -1
  595. package/dist/esm/pn-parcel-tracker.entry.js +2 -2
  596. package/dist/esm/pn-parcel-tracker.entry.js.map +1 -1
  597. package/dist/esm/pn-pex-pricefinder.entry.js +3 -3
  598. package/dist/esm/pn-pex-pricefinder.entry.js.map +1 -1
  599. package/dist/esm/pn-play-on-scroll.entry.js +1 -1
  600. package/dist/esm/pn-product-card_3.entry.js +5 -5
  601. package/dist/esm/pn-product-card_3.entry.js.map +1 -1
  602. package/dist/esm/pn-product-pricelist-result.entry.js +4 -4
  603. package/dist/esm/pn-product-pricelist-result.entry.js.map +1 -1
  604. package/dist/esm/pn-product-pricelist.entry.js +6 -6
  605. package/dist/esm/pn-product-pricelist.entry.js.map +1 -1
  606. package/dist/esm/pn-product-tile-info_2.entry.js +4 -4
  607. package/dist/esm/pn-product-tile-info_2.entry.js.map +1 -1
  608. package/dist/esm/pn-product-tile.entry.js +3 -3
  609. package/dist/esm/pn-product-tile.entry.js.map +1 -1
  610. package/dist/esm/pn-profile-modal-customernumber.entry.js +3 -3
  611. package/dist/esm/pn-profile-modal-customernumber.entry.js.map +1 -1
  612. package/dist/esm/pn-profile-modal-profile.entry.js +6 -6
  613. package/dist/esm/pn-profile-modal-profile.entry.js.map +1 -1
  614. package/dist/esm/{pn-profile-modal-store-5d651bd5.js → pn-profile-modal-store-4655b124.js} +2 -2
  615. package/dist/esm/{pn-profile-modal-store-5d651bd5.js.map → pn-profile-modal-store-4655b124.js.map} +1 -1
  616. package/dist/esm/pn-profile-modal-type.entry.js +5 -5
  617. package/dist/esm/pn-profile-modal-type.entry.js.map +1 -1
  618. package/dist/esm/pn-profile-modal.entry.js +5 -5
  619. package/dist/esm/pn-profile-modal.entry.js.map +1 -1
  620. package/dist/esm/pn-profile-selector-option.entry.js +3 -3
  621. package/dist/esm/pn-profile-selector-option.entry.js.map +1 -1
  622. package/dist/esm/pn-profile-selector.entry.js +3 -3
  623. package/dist/esm/pn-profile-selector.entry.js.map +1 -1
  624. package/dist/esm/pn-proxio-findprice-result.entry.js +3 -3
  625. package/dist/esm/pn-proxio-findprice-result.entry.js.map +1 -1
  626. package/dist/esm/pn-proxio-findprice.entry.js +7 -8
  627. package/dist/esm/pn-proxio-findprice.entry.js.map +1 -1
  628. package/dist/esm/pn-proxio-pricegroup.entry.js +4 -5
  629. package/dist/esm/pn-proxio-pricegroup.entry.js.map +1 -1
  630. package/dist/esm/pn-proxio-productcard_4.entry.js +8 -8
  631. package/dist/esm/pn-proxio-productcard_4.entry.js.map +1 -1
  632. package/dist/esm/pn-quick-cta.entry.js +2 -2
  633. package/dist/esm/pn-quick-cta.entry.js.map +1 -1
  634. package/dist/esm/pn-quote-card.entry.js +2 -2
  635. package/dist/esm/pn-quote-card.entry.js.map +1 -1
  636. package/dist/esm/pn-scroll_2.entry.js +2 -2
  637. package/dist/esm/pn-scroll_2.entry.js.map +1 -1
  638. package/dist/esm/pn-share-item.entry.js +2 -2
  639. package/dist/esm/pn-share-item.entry.js.map +1 -1
  640. package/dist/esm/pn-share.entry.js +2 -2
  641. package/dist/esm/pn-share.entry.js.map +1 -1
  642. package/dist/esm/pn-sidenav-level.entry.js +5 -5
  643. package/dist/esm/pn-sidenav-level.entry.js.map +1 -1
  644. package/dist/esm/pn-sidenav-link.entry.js +5 -5
  645. package/dist/esm/pn-sidenav-link.entry.js.map +1 -1
  646. package/dist/esm/{pn-sidenav-store-e2038d79.js → pn-sidenav-store-85bdb1e6.js} +2 -2
  647. package/dist/esm/{pn-sidenav-store-e2038d79.js.map → pn-sidenav-store-85bdb1e6.js.map} +1 -1
  648. package/dist/esm/pn-sidenav-togglebutton.entry.js +5 -5
  649. package/dist/esm/pn-sidenav-togglebutton.entry.js.map +1 -1
  650. package/dist/esm/pn-sidenav.entry.js +5 -5
  651. package/dist/esm/pn-sidenav.entry.js.map +1 -1
  652. package/dist/esm/pn-site-footer_3.entry.js +7 -7
  653. package/dist/esm/pn-site-footer_3.entry.js.map +1 -1
  654. package/dist/esm/pn-spotlight.entry.js +2 -2
  655. package/dist/esm/pn-spotlight.entry.js.map +1 -1
  656. package/dist/esm/pn-stats-info-data.entry.js +2 -2
  657. package/dist/esm/pn-stats-info-data.entry.js.map +1 -1
  658. package/dist/esm/pn-stats-info.entry.js +2 -2
  659. package/dist/esm/pn-stats-info.entry.js.map +1 -1
  660. package/dist/esm/pn-teaser-card.entry.js +9 -5
  661. package/dist/esm/pn-teaser-card.entry.js.map +1 -1
  662. package/dist/esm/pn-titletag.entry.js +3 -3
  663. package/dist/esm/pn-titletag.entry.js.map +1 -1
  664. package/dist/esm/pn-usp-promoter.entry.js +3 -3
  665. package/dist/esm/pn-usp-promoter.entry.js.map +1 -1
  666. package/dist/package.json +3 -5
  667. package/dist/pn-market-web-components/index.esm.js +1 -1
  668. package/dist/pn-market-web-components/index.esm.js.map +1 -1
  669. package/dist/pn-market-web-components/p-066e9db9.entry.js +2 -0
  670. package/dist/pn-market-web-components/{p-7b4f9fdf.entry.js.map → p-066e9db9.entry.js.map} +1 -1
  671. package/dist/pn-market-web-components/p-0ec8d040.entry.js +2 -0
  672. package/dist/pn-market-web-components/{p-65a046be.entry.js.map → p-0ec8d040.entry.js.map} +1 -1
  673. package/dist/pn-market-web-components/p-13190b30.js +2 -0
  674. package/dist/pn-market-web-components/{p-ad9a7633.entry.js → p-155c2049.entry.js} +2 -2
  675. package/dist/pn-market-web-components/p-190c6938.entry.js +2 -0
  676. package/dist/pn-market-web-components/{p-389a94e7.entry.js.map → p-190c6938.entry.js.map} +1 -1
  677. package/dist/pn-market-web-components/p-1ec21bd6.entry.js +2 -0
  678. package/dist/pn-market-web-components/{p-f4b14be8.entry.js.map → p-1ec21bd6.entry.js.map} +1 -1
  679. package/dist/pn-market-web-components/p-231b97e1.entry.js +2 -0
  680. package/dist/pn-market-web-components/{p-659a4db5.entry.js.map → p-231b97e1.entry.js.map} +1 -1
  681. package/dist/pn-market-web-components/p-23d69d70.entry.js +2 -0
  682. package/dist/pn-market-web-components/p-23d69d70.entry.js.map +1 -0
  683. package/dist/pn-market-web-components/p-24086c59.entry.js +2 -0
  684. package/dist/pn-market-web-components/{p-7b7629c5.entry.js.map → p-24086c59.entry.js.map} +1 -1
  685. package/dist/pn-market-web-components/{p-8836de82.js → p-2509d18d.js} +2 -2
  686. package/dist/pn-market-web-components/p-25d53df2.entry.js +2 -0
  687. package/dist/pn-market-web-components/{p-72f57a04.entry.js.map → p-25d53df2.entry.js.map} +1 -1
  688. package/dist/pn-market-web-components/p-25dfc349.entry.js +2 -0
  689. package/dist/pn-market-web-components/{p-84fc8e05.entry.js.map → p-25dfc349.entry.js.map} +1 -1
  690. package/dist/pn-market-web-components/{p-f0df7694.entry.js → p-278cda98.entry.js} +4 -4
  691. package/dist/pn-market-web-components/{p-f0df7694.entry.js.map → p-278cda98.entry.js.map} +1 -1
  692. package/dist/pn-market-web-components/p-27d138b4.entry.js +2 -0
  693. package/dist/pn-market-web-components/p-27d138b4.entry.js.map +1 -0
  694. package/dist/pn-market-web-components/p-2b03a4e1.entry.js +2 -0
  695. package/dist/pn-market-web-components/p-2b03a4e1.entry.js.map +1 -0
  696. package/dist/pn-market-web-components/p-3fb8e665.entry.js +2 -0
  697. package/dist/pn-market-web-components/{p-71db6836.entry.js.map → p-3fb8e665.entry.js.map} +1 -1
  698. package/dist/pn-market-web-components/p-45b8cadb.entry.js +2 -0
  699. package/dist/pn-market-web-components/{p-9454075f.entry.js.map → p-45b8cadb.entry.js.map} +1 -1
  700. package/dist/pn-market-web-components/p-45d1e1be.entry.js +2 -0
  701. package/dist/pn-market-web-components/{p-3d10bc37.entry.js.map → p-45d1e1be.entry.js.map} +1 -1
  702. package/dist/pn-market-web-components/p-4d2ca281.entry.js +2 -0
  703. package/dist/pn-market-web-components/{p-ad282b7c.entry.js.map → p-4d2ca281.entry.js.map} +1 -1
  704. package/dist/pn-market-web-components/p-4e3059dd.entry.js +2 -0
  705. package/dist/pn-market-web-components/{p-7db6ef34.entry.js.map → p-4e3059dd.entry.js.map} +1 -1
  706. package/dist/pn-market-web-components/p-4fa5bc85.entry.js +2 -0
  707. package/dist/pn-market-web-components/{p-0fc01d3f.entry.js.map → p-4fa5bc85.entry.js.map} +1 -1
  708. package/dist/pn-market-web-components/p-530274ae.entry.js +2 -0
  709. package/dist/pn-market-web-components/{p-39b75c62.entry.js.map → p-530274ae.entry.js.map} +1 -1
  710. package/dist/pn-market-web-components/p-545c24c0.entry.js +2 -0
  711. package/dist/pn-market-web-components/{p-da56370b.entry.js.map → p-545c24c0.entry.js.map} +1 -1
  712. package/dist/pn-market-web-components/p-55643d76.entry.js +2 -0
  713. package/dist/pn-market-web-components/{p-2a58d83b.entry.js.map → p-55643d76.entry.js.map} +1 -1
  714. package/dist/pn-market-web-components/{p-8a651698.entry.js → p-560e5291.entry.js} +2 -2
  715. package/dist/pn-market-web-components/p-572c4d81.entry.js +2 -0
  716. package/dist/pn-market-web-components/p-572c4d81.entry.js.map +1 -0
  717. package/dist/pn-market-web-components/p-59549c74.entry.js +2 -0
  718. package/dist/pn-market-web-components/{p-b9590d81.entry.js.map → p-59549c74.entry.js.map} +1 -1
  719. package/dist/pn-market-web-components/p-59cb7166.entry.js +2 -0
  720. package/dist/pn-market-web-components/p-59cb7166.entry.js.map +1 -0
  721. package/dist/pn-market-web-components/p-5a1b6e6d.entry.js +2 -0
  722. package/dist/pn-market-web-components/{p-c4e353b3.entry.js.map → p-5a1b6e6d.entry.js.map} +1 -1
  723. package/dist/pn-market-web-components/p-5d06e48f.entry.js +2 -0
  724. package/dist/pn-market-web-components/p-5d06e48f.entry.js.map +1 -0
  725. package/dist/pn-market-web-components/p-62cabd1e.entry.js +2 -0
  726. package/dist/pn-market-web-components/{p-66da6e15.entry.js.map → p-62cabd1e.entry.js.map} +1 -1
  727. package/dist/pn-market-web-components/p-64d0dbba.entry.js +2 -0
  728. package/dist/pn-market-web-components/{p-c9038b03.entry.js.map → p-64d0dbba.entry.js.map} +1 -1
  729. package/dist/pn-market-web-components/p-652f97b9.js +2 -0
  730. package/dist/pn-market-web-components/p-65ab3003.entry.js +2 -0
  731. package/dist/pn-market-web-components/{p-41cdac85.entry.js.map → p-65ab3003.entry.js.map} +1 -1
  732. package/dist/pn-market-web-components/{p-6b1d045c.js → p-65f243c1.js} +2 -2
  733. package/dist/pn-market-web-components/p-65f243c1.js.map +1 -0
  734. package/dist/pn-market-web-components/p-6647d2c4.entry.js +2 -0
  735. package/dist/pn-market-web-components/{p-79e4715c.entry.js.map → p-6647d2c4.entry.js.map} +1 -1
  736. package/dist/pn-market-web-components/p-6a5f7dee.entry.js +2 -0
  737. package/dist/pn-market-web-components/{p-3e197670.entry.js.map → p-6a5f7dee.entry.js.map} +1 -1
  738. package/dist/pn-market-web-components/p-6fdd5b5a.entry.js +2 -0
  739. package/dist/pn-market-web-components/{p-cbb1d57d.entry.js.map → p-6fdd5b5a.entry.js.map} +1 -1
  740. package/dist/pn-market-web-components/p-7076038b.entry.js +2 -0
  741. package/dist/pn-market-web-components/{p-daa74e60.entry.js.map → p-7076038b.entry.js.map} +1 -1
  742. package/dist/pn-market-web-components/p-725aba56.entry.js +2 -0
  743. package/dist/pn-market-web-components/p-725aba56.entry.js.map +1 -0
  744. package/dist/pn-market-web-components/p-72dbca40.entry.js +2 -0
  745. package/dist/pn-market-web-components/{p-2c19edca.entry.js.map → p-72dbca40.entry.js.map} +1 -1
  746. package/dist/pn-market-web-components/p-74fd7435.entry.js +2 -0
  747. package/dist/pn-market-web-components/{p-8d98f709.entry.js.map → p-74fd7435.entry.js.map} +1 -1
  748. package/dist/pn-market-web-components/p-758f1b53.entry.js +2 -0
  749. package/dist/pn-market-web-components/{p-95d32ab4.entry.js.map → p-758f1b53.entry.js.map} +1 -1
  750. package/dist/pn-market-web-components/p-76e6708b.entry.js +2 -0
  751. package/dist/pn-market-web-components/{p-292db484.entry.js.map → p-76e6708b.entry.js.map} +1 -1
  752. package/dist/pn-market-web-components/p-776f3d51.entry.js +2 -0
  753. package/dist/pn-market-web-components/{p-64851da0.entry.js.map → p-776f3d51.entry.js.map} +1 -1
  754. package/dist/pn-market-web-components/p-77a35f5e.entry.js +2 -0
  755. package/dist/pn-market-web-components/{p-542f949d.entry.js.map → p-77a35f5e.entry.js.map} +1 -1
  756. package/dist/pn-market-web-components/p-7c3091eb.entry.js +2 -0
  757. package/dist/pn-market-web-components/p-7c3091eb.entry.js.map +1 -0
  758. package/dist/pn-market-web-components/p-856c235c.entry.js +2 -0
  759. package/dist/pn-market-web-components/{p-f28059f4.entry.js.map → p-856c235c.entry.js.map} +1 -1
  760. package/dist/pn-market-web-components/{p-f9083b7a.js → p-8af1b914.js} +2 -2
  761. package/dist/pn-market-web-components/p-8c26b98d.entry.js +2 -0
  762. package/dist/pn-market-web-components/{p-61bd81d7.entry.js.map → p-8c26b98d.entry.js.map} +1 -1
  763. package/dist/pn-market-web-components/p-90242f18.entry.js +2 -0
  764. package/dist/pn-market-web-components/{p-f5d03222.entry.js.map → p-90242f18.entry.js.map} +1 -1
  765. package/dist/pn-market-web-components/p-94a69959.entry.js +2 -0
  766. package/dist/pn-market-web-components/p-94a69959.entry.js.map +1 -0
  767. package/dist/pn-market-web-components/p-95519556.entry.js +2 -0
  768. package/dist/pn-market-web-components/{p-c89cb749.entry.js.map → p-95519556.entry.js.map} +1 -1
  769. package/dist/pn-market-web-components/{p-930e2943.js → p-959a37d9.js} +2 -2
  770. package/dist/pn-market-web-components/p-a38118be.entry.js +2 -0
  771. package/dist/pn-market-web-components/{p-08b473e0.entry.js.map → p-a38118be.entry.js.map} +1 -1
  772. package/dist/pn-market-web-components/p-a419cd91.entry.js +2 -0
  773. package/dist/pn-market-web-components/{p-230ef9aa.entry.js.map → p-a419cd91.entry.js.map} +1 -1
  774. package/dist/pn-market-web-components/p-a54a298b.entry.js +2 -0
  775. package/dist/pn-market-web-components/p-a54a298b.entry.js.map +1 -0
  776. package/dist/pn-market-web-components/p-a6866467.entry.js +2 -0
  777. package/dist/pn-market-web-components/{p-619f2143.entry.js.map → p-a6866467.entry.js.map} +1 -1
  778. package/dist/pn-market-web-components/p-a72c2729.entry.js +2 -0
  779. package/dist/pn-market-web-components/{p-9088d3f5.entry.js.map → p-a72c2729.entry.js.map} +1 -1
  780. package/dist/pn-market-web-components/p-aeeabb32.entry.js +2 -0
  781. package/dist/pn-market-web-components/{p-4f639380.entry.js.map → p-aeeabb32.entry.js.map} +1 -1
  782. package/dist/pn-market-web-components/p-b35cdbac.entry.js +2 -0
  783. package/dist/pn-market-web-components/{p-5a981927.entry.js.map → p-b35cdbac.entry.js.map} +1 -1
  784. package/dist/pn-market-web-components/p-b5a0275d.entry.js +2 -0
  785. package/dist/pn-market-web-components/{p-8d874454.entry.js.map → p-b5a0275d.entry.js.map} +1 -1
  786. package/dist/pn-market-web-components/p-b693f78a.entry.js +2 -0
  787. package/dist/pn-market-web-components/{p-d17af75d.entry.js.map → p-b693f78a.entry.js.map} +1 -1
  788. package/dist/pn-market-web-components/p-b9340e9c.entry.js +2 -0
  789. package/dist/pn-market-web-components/p-b9340e9c.entry.js.map +1 -0
  790. package/dist/pn-market-web-components/p-b9505c69.entry.js +2 -0
  791. package/dist/pn-market-web-components/{p-e8622338.entry.js.map → p-b9505c69.entry.js.map} +1 -1
  792. package/dist/pn-market-web-components/p-bb1c965e.js +3 -0
  793. package/dist/pn-market-web-components/p-bb1c965e.js.map +1 -0
  794. package/dist/pn-market-web-components/p-c5772021.entry.js +2 -0
  795. package/dist/pn-market-web-components/{p-015127bf.entry.js.map → p-c5772021.entry.js.map} +1 -1
  796. package/dist/pn-market-web-components/{p-fb4cdf98.js → p-cafe11a9.js} +2 -2
  797. package/dist/pn-market-web-components/p-cf39491b.entry.js +2 -0
  798. package/dist/pn-market-web-components/{p-34a98554.entry.js.map → p-cf39491b.entry.js.map} +1 -1
  799. package/dist/pn-market-web-components/p-d0a085cc.entry.js +2 -0
  800. package/dist/pn-market-web-components/{p-d7170c0e.entry.js.map → p-d0a085cc.entry.js.map} +1 -1
  801. package/dist/pn-market-web-components/{p-793e1339.js → p-e09a907b.js} +2 -2
  802. package/dist/pn-market-web-components/p-e2e3ac2f.entry.js +2 -0
  803. package/dist/pn-market-web-components/{p-ce87ff8a.entry.js.map → p-e2e3ac2f.entry.js.map} +1 -1
  804. package/dist/pn-market-web-components/p-e5ae757f.entry.js +2 -0
  805. package/dist/pn-market-web-components/{p-d5c45da2.entry.js.map → p-e5ae757f.entry.js.map} +1 -1
  806. package/dist/pn-market-web-components/p-e6e012fb.entry.js +2 -0
  807. package/dist/pn-market-web-components/{p-35847eda.entry.js.map → p-e6e012fb.entry.js.map} +1 -1
  808. package/dist/pn-market-web-components/p-e8278e9e.entry.js +2 -0
  809. package/dist/pn-market-web-components/{p-85b42b44.entry.js.map → p-e8278e9e.entry.js.map} +1 -1
  810. package/dist/pn-market-web-components/p-e916e99d.entry.js +2 -0
  811. package/dist/pn-market-web-components/{p-60b77eed.entry.js.map → p-e916e99d.entry.js.map} +1 -1
  812. package/dist/pn-market-web-components/p-ea3d6f7e.entry.js +2 -0
  813. package/dist/pn-market-web-components/{p-19bbac6d.entry.js.map → p-ea3d6f7e.entry.js.map} +1 -1
  814. package/dist/pn-market-web-components/p-ea7b0d21.entry.js +2 -0
  815. package/dist/pn-market-web-components/{p-4aedb76c.entry.js.map → p-ea7b0d21.entry.js.map} +1 -1
  816. package/dist/pn-market-web-components/{p-a73e4811.entry.js → p-eaee1dd6.entry.js} +2 -2
  817. package/dist/pn-market-web-components/{p-a73e4811.entry.js.map → p-eaee1dd6.entry.js.map} +1 -1
  818. package/dist/pn-market-web-components/p-fc157a1e.entry.js +2 -0
  819. package/dist/pn-market-web-components/{p-763a4e13.entry.js.map → p-fc157a1e.entry.js.map} +1 -1
  820. package/dist/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  821. package/dist/pn-market-web-components/pn-market-web-components.esm.js.map +1 -1
  822. package/dist/types/components/cards/pn-teaser-card/pn-teaser-card.d.ts +1 -1
  823. package/dist/types/components/input/pn-address-autofill/pn-address-autofill.d.ts +3 -2
  824. package/dist/types/components/input/pn-address-autofill/translations.d.ts +0 -3
  825. package/dist/types/components/input/pn-marketweb-search/pn-marketweb-search.d.ts +1 -1
  826. package/dist/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.d.ts +2 -0
  827. package/dist/types/components/media/pn-media-block/pn-media-block.d.ts +1 -1
  828. package/dist/types/components.d.ts +8 -293
  829. package/dist/types/globals/HeadingTag.d.ts +1 -1
  830. package/dist/types/utils/utils.d.ts +0 -1
  831. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/bin/stencil +0 -0
  832. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/static/favicon.ico +0 -0
  833. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/templates/directory-index.html +0 -0
  834. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/xdg-open +0 -0
  835. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/core-js.js +0 -0
  836. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/dom.js +0 -0
  837. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/es5-html-element.js +0 -0
  838. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/index.js +0 -0
  839. package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/system.js +0 -0
  840. package/dist/vscode-data.json +3 -535
  841. package/package.json +3 -5
  842. package/dist/cjs/FetchHelper-2d4c697c.js +0 -85
  843. package/dist/cjs/FetchHelper-2d4c697c.js.map +0 -1
  844. package/dist/cjs/HeadingTag-19376e1f.js +0 -12
  845. package/dist/cjs/HeadingTag-19376e1f.js.map +0 -1
  846. package/dist/cjs/LocalStorageService-e1ee3fac.js +0 -66
  847. package/dist/cjs/LocalStorageService-e1ee3fac.js.map +0 -1
  848. package/dist/cjs/MarketWebContextService-0fdc43c8.js.map +0 -1
  849. package/dist/cjs/alert_exclamation_circle-24f29a5b.js +0 -8
  850. package/dist/cjs/alert_exclamation_circle-24f29a5b.js.map +0 -1
  851. package/dist/cjs/angle_up-049ec1d8.js +0 -12
  852. package/dist/cjs/angle_up-049ec1d8.js.map +0 -1
  853. package/dist/cjs/close-9e014a80.js +0 -8
  854. package/dist/cjs/close-9e014a80.js.map +0 -1
  855. package/dist/cjs/index-b02670c2.js.map +0 -1
  856. package/dist/cjs/pn-chat-message_2.cjs.entry.js +0 -347
  857. package/dist/cjs/pn-chat-message_2.cjs.entry.js.map +0 -1
  858. package/dist/cjs/pn-chat.cjs.entry.js +0 -474
  859. package/dist/cjs/pn-chat.cjs.entry.js.map +0 -1
  860. package/dist/cjs/pn-chat.service-5a8d89b9.js +0 -155
  861. package/dist/cjs/pn-chat.service-5a8d89b9.js.map +0 -1
  862. package/dist/cjs/pn-level-up-modal.cjs.entry.js +0 -77
  863. package/dist/cjs/pn-level-up-modal.cjs.entry.js.map +0 -1
  864. package/dist/cjs/pn-level-up.cjs.entry.js +0 -139
  865. package/dist/cjs/pn-level-up.cjs.entry.js.map +0 -1
  866. package/dist/cjs/pn-level-up.service-0e8e67c2.js +0 -71
  867. package/dist/cjs/pn-level-up.service-0e8e67c2.js.map +0 -1
  868. package/dist/cjs/pn-marketweb-siteheader-login-button_4.cjs.entry.js.map +0 -1
  869. package/dist/cjs/pn-marketweb-siteheader-login-mypage-button.cjs.entry.js +0 -25
  870. package/dist/cjs/pn-marketweb-siteheader-login-mypage-button.cjs.entry.js.map +0 -1
  871. package/dist/cjs/pn-marketweb-table.cjs.entry.js +0 -467
  872. package/dist/cjs/pn-marketweb-table.cjs.entry.js.map +0 -1
  873. package/dist/cjs/pn-qr-code-generator.cjs.entry.js +0 -2945
  874. package/dist/cjs/pn-qr-code-generator.cjs.entry.js.map +0 -1
  875. package/dist/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.css +0 -146
  876. package/dist/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.js +0 -119
  877. package/dist/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.js.map +0 -1
  878. package/dist/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.js +0 -219
  879. package/dist/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.js.map +0 -1
  880. package/dist/collection/components/widgets/pn-chat/pn-chat-stories-constants.js +0 -103
  881. package/dist/collection/components/widgets/pn-chat/pn-chat-stories-constants.js.map +0 -1
  882. package/dist/collection/components/widgets/pn-chat/pn-chat.css +0 -238
  883. package/dist/collection/components/widgets/pn-chat/pn-chat.js +0 -840
  884. package/dist/collection/components/widgets/pn-chat/pn-chat.js.map +0 -1
  885. package/dist/collection/components/widgets/pn-chat/pn-chat.models.js +0 -2
  886. package/dist/collection/components/widgets/pn-chat/pn-chat.models.js.map +0 -1
  887. package/dist/collection/components/widgets/pn-chat/pn-chat.service.js +0 -149
  888. package/dist/collection/components/widgets/pn-chat/pn-chat.service.js.map +0 -1
  889. package/dist/collection/components/widgets/pn-chat/pn-chat.stories.js +0 -116
  890. package/dist/collection/components/widgets/pn-chat/pn-chat.stories.js.map +0 -1
  891. package/dist/collection/components/widgets/pn-chat/translations.js +0 -78
  892. package/dist/collection/components/widgets/pn-chat/translations.js.map +0 -1
  893. package/dist/collection/components/widgets/pn-chat/types.js +0 -2
  894. package/dist/collection/components/widgets/pn-chat/types.js.map +0 -1
  895. package/dist/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.css +0 -94
  896. package/dist/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.js +0 -262
  897. package/dist/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.js.map +0 -1
  898. package/dist/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.js +0 -31
  899. package/dist/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.js.map +0 -1
  900. package/dist/collection/components/widgets/pn-level-up/pn-level-up.css +0 -114
  901. package/dist/collection/components/widgets/pn-level-up/pn-level-up.js +0 -476
  902. package/dist/collection/components/widgets/pn-level-up/pn-level-up.js.map +0 -1
  903. package/dist/collection/components/widgets/pn-level-up/pn-level-up.models.js +0 -2
  904. package/dist/collection/components/widgets/pn-level-up/pn-level-up.models.js.map +0 -1
  905. package/dist/collection/components/widgets/pn-level-up/pn-level-up.service.js +0 -65
  906. package/dist/collection/components/widgets/pn-level-up/pn-level-up.service.js.map +0 -1
  907. package/dist/collection/components/widgets/pn-level-up/pn-level-up.stories.js +0 -88
  908. package/dist/collection/components/widgets/pn-level-up/pn-level-up.stories.js.map +0 -1
  909. package/dist/collection/components/widgets/pn-level-up/types.js +0 -2
  910. package/dist/collection/components/widgets/pn-level-up/types.js.map +0 -1
  911. package/dist/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.css +0 -96
  912. package/dist/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.js +0 -494
  913. package/dist/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.js.map +0 -1
  914. package/dist/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.js +0 -82
  915. package/dist/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.js.map +0 -1
  916. package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.css +0 -264
  917. package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.js +0 -701
  918. package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.js.map +0 -1
  919. package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.service.js +0 -38
  920. package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.service.js.map +0 -1
  921. package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.js +0 -158
  922. package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.js.map +0 -1
  923. package/dist/collection/components/widgets/pn-marketweb-table/translations.js +0 -81
  924. package/dist/collection/components/widgets/pn-marketweb-table/translations.js.map +0 -1
  925. package/dist/collection/components/widgets/pn-marketweb-table/types.js +0 -2
  926. package/dist/collection/components/widgets/pn-marketweb-table/types.js.map +0 -1
  927. package/dist/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.css +0 -61
  928. package/dist/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.js +0 -198
  929. package/dist/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.js.map +0 -1
  930. package/dist/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.js +0 -29
  931. package/dist/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.js.map +0 -1
  932. package/dist/collection/globals/LocalStorageService.js +0 -50
  933. package/dist/collection/globals/LocalStorageService.js.map +0 -1
  934. package/dist/collection/globals/ScreensizeDetect.js +0 -80
  935. package/dist/collection/globals/ScreensizeDetect.js.map +0 -1
  936. package/dist/collection/globals/types.js +0 -2
  937. package/dist/collection/globals/types.js.map +0 -1
  938. package/dist/components/HeadingTag.js +0 -10
  939. package/dist/components/HeadingTag.js.map +0 -1
  940. package/dist/components/LocalStorageService.js +0 -64
  941. package/dist/components/LocalStorageService.js.map +0 -1
  942. package/dist/components/MarketWebContextService.js.map +0 -1
  943. package/dist/components/alert_exclamation_circle.js +0 -6
  944. package/dist/components/alert_exclamation_circle.js.map +0 -1
  945. package/dist/components/angle_up.js +0 -9
  946. package/dist/components/angle_up.js.map +0 -1
  947. package/dist/components/close.js +0 -6
  948. package/dist/components/close.js.map +0 -1
  949. package/dist/components/pn-chat-message.d.ts +0 -11
  950. package/dist/components/pn-chat-message.js +0 -8
  951. package/dist/components/pn-chat-message.js.map +0 -1
  952. package/dist/components/pn-chat-message2.js +0 -70
  953. package/dist/components/pn-chat-message2.js.map +0 -1
  954. package/dist/components/pn-chat.d.ts +0 -11
  955. package/dist/components/pn-chat.js +0 -534
  956. package/dist/components/pn-chat.js.map +0 -1
  957. package/dist/components/pn-chat.service.js +0 -153
  958. package/dist/components/pn-chat.service.js.map +0 -1
  959. package/dist/components/pn-level-up-modal.d.ts +0 -11
  960. package/dist/components/pn-level-up-modal.js +0 -8
  961. package/dist/components/pn-level-up-modal.js.map +0 -1
  962. package/dist/components/pn-level-up-modal2.js +0 -170
  963. package/dist/components/pn-level-up-modal2.js.map +0 -1
  964. package/dist/components/pn-level-up.d.ts +0 -11
  965. package/dist/components/pn-level-up.js +0 -185
  966. package/dist/components/pn-level-up.js.map +0 -1
  967. package/dist/components/pn-marketweb-carousel.d.ts +0 -11
  968. package/dist/components/pn-marketweb-carousel.js +0 -8
  969. package/dist/components/pn-marketweb-carousel.js.map +0 -1
  970. package/dist/components/pn-marketweb-carousel2.js +0 -326
  971. package/dist/components/pn-marketweb-carousel2.js.map +0 -1
  972. package/dist/components/pn-marketweb-table.d.ts +0 -11
  973. package/dist/components/pn-marketweb-table.js +0 -510
  974. package/dist/components/pn-marketweb-table.js.map +0 -1
  975. package/dist/components/pn-qr-code-generator.d.ts +0 -11
  976. package/dist/components/pn-qr-code-generator.js +0 -8
  977. package/dist/components/pn-qr-code-generator.js.map +0 -1
  978. package/dist/components/pn-qr-code-generator2.js +0 -2967
  979. package/dist/components/pn-qr-code-generator2.js.map +0 -1
  980. package/dist/esm/FetchHelper-4789695a.js +0 -83
  981. package/dist/esm/FetchHelper-4789695a.js.map +0 -1
  982. package/dist/esm/HeadingTag-e20016ab.js +0 -10
  983. package/dist/esm/HeadingTag-e20016ab.js.map +0 -1
  984. package/dist/esm/LocalStorageService-78b1794d.js +0 -64
  985. package/dist/esm/LocalStorageService-78b1794d.js.map +0 -1
  986. package/dist/esm/MarketWebContextService-16c15670.js +0 -245
  987. package/dist/esm/MarketWebContextService-16c15670.js.map +0 -1
  988. package/dist/esm/alert_exclamation_circle-f0fe7c7b.js +0 -6
  989. package/dist/esm/alert_exclamation_circle-f0fe7c7b.js.map +0 -1
  990. package/dist/esm/angle_up-b5f955ea.js +0 -9
  991. package/dist/esm/angle_up-b5f955ea.js.map +0 -1
  992. package/dist/esm/close-9e7bd787.js +0 -6
  993. package/dist/esm/close-9e7bd787.js.map +0 -1
  994. package/dist/esm/index-c311acd6.js.map +0 -1
  995. package/dist/esm/pn-chat-message_2.entry.js +0 -342
  996. package/dist/esm/pn-chat-message_2.entry.js.map +0 -1
  997. package/dist/esm/pn-chat.entry.js +0 -470
  998. package/dist/esm/pn-chat.entry.js.map +0 -1
  999. package/dist/esm/pn-chat.service-0def5c4e.js +0 -153
  1000. package/dist/esm/pn-chat.service-0def5c4e.js.map +0 -1
  1001. package/dist/esm/pn-level-up-modal.entry.js +0 -73
  1002. package/dist/esm/pn-level-up-modal.entry.js.map +0 -1
  1003. package/dist/esm/pn-level-up.entry.js +0 -135
  1004. package/dist/esm/pn-level-up.entry.js.map +0 -1
  1005. package/dist/esm/pn-level-up.service-5c602f23.js +0 -69
  1006. package/dist/esm/pn-level-up.service-5c602f23.js.map +0 -1
  1007. package/dist/esm/pn-marketweb-siteheader-login-button_4.entry.js.map +0 -1
  1008. package/dist/esm/pn-marketweb-siteheader-login-mypage-button.entry.js +0 -21
  1009. package/dist/esm/pn-marketweb-siteheader-login-mypage-button.entry.js.map +0 -1
  1010. package/dist/esm/pn-marketweb-table.entry.js +0 -463
  1011. package/dist/esm/pn-marketweb-table.entry.js.map +0 -1
  1012. package/dist/esm/pn-qr-code-generator.entry.js +0 -2941
  1013. package/dist/esm/pn-qr-code-generator.entry.js.map +0 -1
  1014. package/dist/pn-market-web-components/p-015127bf.entry.js +0 -2
  1015. package/dist/pn-market-web-components/p-08b473e0.entry.js +0 -2
  1016. package/dist/pn-market-web-components/p-0b5a125d.entry.js +0 -2
  1017. package/dist/pn-market-web-components/p-0b5a125d.entry.js.map +0 -1
  1018. package/dist/pn-market-web-components/p-0b920554.js +0 -2
  1019. package/dist/pn-market-web-components/p-0b920554.js.map +0 -1
  1020. package/dist/pn-market-web-components/p-0fc01d3f.entry.js +0 -2
  1021. package/dist/pn-market-web-components/p-17c43a96.entry.js +0 -2
  1022. package/dist/pn-market-web-components/p-17c43a96.entry.js.map +0 -1
  1023. package/dist/pn-market-web-components/p-19bbac6d.entry.js +0 -2
  1024. package/dist/pn-market-web-components/p-230ef9aa.entry.js +0 -2
  1025. package/dist/pn-market-web-components/p-268dc1fa.entry.js +0 -2
  1026. package/dist/pn-market-web-components/p-268dc1fa.entry.js.map +0 -1
  1027. package/dist/pn-market-web-components/p-28d2f7fa.entry.js +0 -2
  1028. package/dist/pn-market-web-components/p-28d2f7fa.entry.js.map +0 -1
  1029. package/dist/pn-market-web-components/p-292db484.entry.js +0 -2
  1030. package/dist/pn-market-web-components/p-2a58d83b.entry.js +0 -2
  1031. package/dist/pn-market-web-components/p-2c19edca.entry.js +0 -2
  1032. package/dist/pn-market-web-components/p-3478f368.js +0 -2
  1033. package/dist/pn-market-web-components/p-3478f368.js.map +0 -1
  1034. package/dist/pn-market-web-components/p-34a98554.entry.js +0 -2
  1035. package/dist/pn-market-web-components/p-35847eda.entry.js +0 -2
  1036. package/dist/pn-market-web-components/p-366fd15a.js +0 -2
  1037. package/dist/pn-market-web-components/p-366fd15a.js.map +0 -1
  1038. package/dist/pn-market-web-components/p-389a94e7.entry.js +0 -2
  1039. package/dist/pn-market-web-components/p-39b75c62.entry.js +0 -2
  1040. package/dist/pn-market-web-components/p-3a936c5d.entry.js +0 -2
  1041. package/dist/pn-market-web-components/p-3a936c5d.entry.js.map +0 -1
  1042. package/dist/pn-market-web-components/p-3d10bc37.entry.js +0 -2
  1043. package/dist/pn-market-web-components/p-3e197670.entry.js +0 -2
  1044. package/dist/pn-market-web-components/p-40bce1b1.entry.js +0 -2
  1045. package/dist/pn-market-web-components/p-40bce1b1.entry.js.map +0 -1
  1046. package/dist/pn-market-web-components/p-41cdac85.entry.js +0 -2
  1047. package/dist/pn-market-web-components/p-4aedb76c.entry.js +0 -2
  1048. package/dist/pn-market-web-components/p-4e924d13.entry.js +0 -2
  1049. package/dist/pn-market-web-components/p-4e924d13.entry.js.map +0 -1
  1050. package/dist/pn-market-web-components/p-4f639380.entry.js +0 -2
  1051. package/dist/pn-market-web-components/p-51f136f3.entry.js +0 -2
  1052. package/dist/pn-market-web-components/p-51f136f3.entry.js.map +0 -1
  1053. package/dist/pn-market-web-components/p-542f949d.entry.js +0 -2
  1054. package/dist/pn-market-web-components/p-5a981927.entry.js +0 -2
  1055. package/dist/pn-market-web-components/p-5f4ccd8a.js +0 -2
  1056. package/dist/pn-market-web-components/p-5f4ccd8a.js.map +0 -1
  1057. package/dist/pn-market-web-components/p-60b77eed.entry.js +0 -2
  1058. package/dist/pn-market-web-components/p-619f2143.entry.js +0 -2
  1059. package/dist/pn-market-web-components/p-61bd81d7.entry.js +0 -2
  1060. package/dist/pn-market-web-components/p-64851da0.entry.js +0 -2
  1061. package/dist/pn-market-web-components/p-659a4db5.entry.js +0 -2
  1062. package/dist/pn-market-web-components/p-65a046be.entry.js +0 -2
  1063. package/dist/pn-market-web-components/p-66da6e15.entry.js +0 -2
  1064. package/dist/pn-market-web-components/p-6b1d045c.js.map +0 -1
  1065. package/dist/pn-market-web-components/p-6bec8d72.js +0 -2
  1066. package/dist/pn-market-web-components/p-6bec8d72.js.map +0 -1
  1067. package/dist/pn-market-web-components/p-71db6836.entry.js +0 -2
  1068. package/dist/pn-market-web-components/p-72828265.js +0 -2
  1069. package/dist/pn-market-web-components/p-72f57a04.entry.js +0 -2
  1070. package/dist/pn-market-web-components/p-763a4e13.entry.js +0 -2
  1071. package/dist/pn-market-web-components/p-76c2c01f.js +0 -2
  1072. package/dist/pn-market-web-components/p-76c2c01f.js.map +0 -1
  1073. package/dist/pn-market-web-components/p-79e4715c.entry.js +0 -2
  1074. package/dist/pn-market-web-components/p-7b4f9fdf.entry.js +0 -2
  1075. package/dist/pn-market-web-components/p-7b7629c5.entry.js +0 -2
  1076. package/dist/pn-market-web-components/p-7db6ef34.entry.js +0 -2
  1077. package/dist/pn-market-web-components/p-809ed802.entry.js +0 -2
  1078. package/dist/pn-market-web-components/p-809ed802.entry.js.map +0 -1
  1079. package/dist/pn-market-web-components/p-82546a44.js +0 -3
  1080. package/dist/pn-market-web-components/p-82546a44.js.map +0 -1
  1081. package/dist/pn-market-web-components/p-84fc8e05.entry.js +0 -2
  1082. package/dist/pn-market-web-components/p-85b42b44.entry.js +0 -2
  1083. package/dist/pn-market-web-components/p-8d78b631.js +0 -2
  1084. package/dist/pn-market-web-components/p-8d78b631.js.map +0 -1
  1085. package/dist/pn-market-web-components/p-8d874454.entry.js +0 -2
  1086. package/dist/pn-market-web-components/p-8d98f709.entry.js +0 -2
  1087. package/dist/pn-market-web-components/p-9088d3f5.entry.js +0 -2
  1088. package/dist/pn-market-web-components/p-920ce5f2.entry.js +0 -2
  1089. package/dist/pn-market-web-components/p-920ce5f2.entry.js.map +0 -1
  1090. package/dist/pn-market-web-components/p-923aa6d2.entry.js +0 -2
  1091. package/dist/pn-market-web-components/p-923aa6d2.entry.js.map +0 -1
  1092. package/dist/pn-market-web-components/p-9454075f.entry.js +0 -2
  1093. package/dist/pn-market-web-components/p-95d32ab4.entry.js +0 -2
  1094. package/dist/pn-market-web-components/p-a298a263.entry.js +0 -2
  1095. package/dist/pn-market-web-components/p-a298a263.entry.js.map +0 -1
  1096. package/dist/pn-market-web-components/p-ad282b7c.entry.js +0 -2
  1097. package/dist/pn-market-web-components/p-b9590d81.entry.js +0 -2
  1098. package/dist/pn-market-web-components/p-c4e353b3.entry.js +0 -2
  1099. package/dist/pn-market-web-components/p-c89cb749.entry.js +0 -2
  1100. package/dist/pn-market-web-components/p-c9038b03.entry.js +0 -2
  1101. package/dist/pn-market-web-components/p-cbb1d57d.entry.js +0 -2
  1102. package/dist/pn-market-web-components/p-cda742ba.entry.js +0 -2
  1103. package/dist/pn-market-web-components/p-cda742ba.entry.js.map +0 -1
  1104. package/dist/pn-market-web-components/p-ce87ff8a.entry.js +0 -2
  1105. package/dist/pn-market-web-components/p-cf8a1fb9.js +0 -2
  1106. package/dist/pn-market-web-components/p-cf8a1fb9.js.map +0 -1
  1107. package/dist/pn-market-web-components/p-d17af75d.entry.js +0 -2
  1108. package/dist/pn-market-web-components/p-d5c45da2.entry.js +0 -2
  1109. package/dist/pn-market-web-components/p-d7170c0e.entry.js +0 -2
  1110. package/dist/pn-market-web-components/p-d75a2f7c.entry.js +0 -2
  1111. package/dist/pn-market-web-components/p-d75a2f7c.entry.js.map +0 -1
  1112. package/dist/pn-market-web-components/p-da56370b.entry.js +0 -2
  1113. package/dist/pn-market-web-components/p-daa74e60.entry.js +0 -2
  1114. package/dist/pn-market-web-components/p-dc2ee6f8.entry.js +0 -2
  1115. package/dist/pn-market-web-components/p-dc2ee6f8.entry.js.map +0 -1
  1116. package/dist/pn-market-web-components/p-e8622338.entry.js +0 -2
  1117. package/dist/pn-market-web-components/p-eb21f772.entry.js +0 -2
  1118. package/dist/pn-market-web-components/p-eb21f772.entry.js.map +0 -1
  1119. package/dist/pn-market-web-components/p-efab81a9.entry.js +0 -2
  1120. package/dist/pn-market-web-components/p-efab81a9.entry.js.map +0 -1
  1121. package/dist/pn-market-web-components/p-f28059f4.entry.js +0 -2
  1122. package/dist/pn-market-web-components/p-f28d0971.entry.js +0 -2
  1123. package/dist/pn-market-web-components/p-f28d0971.entry.js.map +0 -1
  1124. package/dist/pn-market-web-components/p-f4b14be8.entry.js +0 -2
  1125. package/dist/pn-market-web-components/p-f5d03222.entry.js +0 -2
  1126. package/dist/pn-market-web-components/p-fe466661.js +0 -2
  1127. package/dist/types/components/widgets/pn-chat/pn-chat-message/pn-chat-message.d.ts +0 -11
  1128. package/dist/types/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.d.ts +0 -7
  1129. package/dist/types/components/widgets/pn-chat/pn-chat-stories-constants.d.ts +0 -43
  1130. package/dist/types/components/widgets/pn-chat/pn-chat.d.ts +0 -72
  1131. package/dist/types/components/widgets/pn-chat/pn-chat.models.d.ts +0 -22
  1132. package/dist/types/components/widgets/pn-chat/pn-chat.service.d.ts +0 -26
  1133. package/dist/types/components/widgets/pn-chat/pn-chat.stories.d.ts +0 -8
  1134. package/dist/types/components/widgets/pn-chat/translations.d.ts +0 -77
  1135. package/dist/types/components/widgets/pn-chat/types.d.ts +0 -68
  1136. package/dist/types/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.d.ts +0 -23
  1137. package/dist/types/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.d.ts +0 -5
  1138. package/dist/types/components/widgets/pn-level-up/pn-level-up.d.ts +0 -43
  1139. package/dist/types/components/widgets/pn-level-up/pn-level-up.models.d.ts +0 -22
  1140. package/dist/types/components/widgets/pn-level-up/pn-level-up.service.d.ts +0 -16
  1141. package/dist/types/components/widgets/pn-level-up/pn-level-up.stories.d.ts +0 -7
  1142. package/dist/types/components/widgets/pn-level-up/types.d.ts +0 -1
  1143. package/dist/types/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.d.ts +0 -48
  1144. package/dist/types/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.d.ts +0 -7
  1145. package/dist/types/components/widgets/pn-marketweb-table/pn-marketweb-table.d.ts +0 -55
  1146. package/dist/types/components/widgets/pn-marketweb-table/pn-marketweb-table.service.d.ts +0 -11
  1147. package/dist/types/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.d.ts +0 -26
  1148. package/dist/types/components/widgets/pn-marketweb-table/translations.d.ts +0 -80
  1149. package/dist/types/components/widgets/pn-marketweb-table/types.d.ts +0 -38
  1150. package/dist/types/components/widgets/pn-qr-code-generator/pn-qr-code-generator.d.ts +0 -23
  1151. package/dist/types/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.d.ts +0 -5
  1152. package/dist/types/globals/LocalStorageService.d.ts +0 -14
  1153. package/dist/types/globals/ScreensizeDetect.d.ts +0 -29
  1154. package/dist/types/globals/types.d.ts +0 -20
  1155. /package/dist/pn-market-web-components/{p-fe466661.js.map → p-13190b30.js.map} +0 -0
  1156. /package/dist/pn-market-web-components/{p-ad9a7633.entry.js.map → p-155c2049.entry.js.map} +0 -0
  1157. /package/dist/pn-market-web-components/{p-8836de82.js.map → p-2509d18d.js.map} +0 -0
  1158. /package/dist/pn-market-web-components/{p-8a651698.entry.js.map → p-560e5291.entry.js.map} +0 -0
  1159. /package/dist/pn-market-web-components/{p-72828265.js.map → p-652f97b9.js.map} +0 -0
  1160. /package/dist/pn-market-web-components/{p-f9083b7a.js.map → p-8af1b914.js.map} +0 -0
  1161. /package/dist/pn-market-web-components/{p-930e2943.js.map → p-959a37d9.js.map} +0 -0
  1162. /package/dist/pn-market-web-components/{p-fb4cdf98.js.map → p-cafe11a9.js.map} +0 -0
  1163. /package/dist/pn-market-web-components/{p-793e1339.js.map → p-e09a907b.js.map} +0 -0
@@ -2,31 +2,6 @@ pn-button-dropdown .pn-button-dropdown > pn-button > .pn-button {
2
2
  min-height: initial;
3
3
  }
4
4
 
5
- .sr-only {
6
- position: absolute;
7
- width: 1px;
8
- height: 1px;
9
- padding: 0;
10
- margin: -1px;
11
- overflow: hidden;
12
- clip: rect(0, 0, 0, 0);
13
- white-space: nowrap;
14
- border-width: 0;
15
- }
16
- @media screen and (max-width: 767px) {
17
- .sr-only-mobile {
18
- position: absolute;
19
- width: 1px;
20
- height: 1px;
21
- padding: 0;
22
- margin: -1px;
23
- overflow: hidden;
24
- clip: rect(0, 0, 0, 0);
25
- white-space: nowrap;
26
- border-width: 0;
27
- }
28
- }
29
-
30
5
  pn-quick-cta {
31
6
  width: 100%;
32
7
  }
@@ -2,31 +2,6 @@ pn-button-dropdown .pn-button-dropdown > pn-button > .pn-button {
2
2
  min-height: initial;
3
3
  }
4
4
 
5
- .sr-only {
6
- position: absolute;
7
- width: 1px;
8
- height: 1px;
9
- padding: 0;
10
- margin: -1px;
11
- overflow: hidden;
12
- clip: rect(0, 0, 0, 0);
13
- white-space: nowrap;
14
- border-width: 0;
15
- }
16
- @media screen and (max-width: 767px) {
17
- .sr-only-mobile {
18
- position: absolute;
19
- width: 1px;
20
- height: 1px;
21
- padding: 0;
22
- margin: -1px;
23
- overflow: hidden;
24
- clip: rect(0, 0, 0, 0);
25
- white-space: nowrap;
26
- border-width: 0;
27
- }
28
- }
29
-
30
5
  pn-share-item .pn-share-item__container {
31
6
  padding: 0.3rem 0.6rem;
32
7
  border: 1px solid #d3cecb;
@@ -2,31 +2,6 @@ pn-button-dropdown .pn-button-dropdown > pn-button > .pn-button {
2
2
  min-height: initial;
3
3
  }
4
4
 
5
- .sr-only {
6
- position: absolute;
7
- width: 1px;
8
- height: 1px;
9
- padding: 0;
10
- margin: -1px;
11
- overflow: hidden;
12
- clip: rect(0, 0, 0, 0);
13
- white-space: nowrap;
14
- border-width: 0;
15
- }
16
- @media screen and (max-width: 767px) {
17
- .sr-only-mobile {
18
- position: absolute;
19
- width: 1px;
20
- height: 1px;
21
- padding: 0;
22
- margin: -1px;
23
- overflow: hidden;
24
- clip: rect(0, 0, 0, 0);
25
- white-space: nowrap;
26
- border-width: 0;
27
- }
28
- }
29
-
30
5
  pn-share .pn-share__container {
31
6
  display: flex;
32
7
  flex-direction: column;
@@ -2,31 +2,6 @@ pn-button-dropdown .pn-button-dropdown > pn-button > .pn-button {
2
2
  min-height: initial;
3
3
  }
4
4
 
5
- .sr-only {
6
- position: absolute;
7
- width: 1px;
8
- height: 1px;
9
- padding: 0;
10
- margin: -1px;
11
- overflow: hidden;
12
- clip: rect(0, 0, 0, 0);
13
- white-space: nowrap;
14
- border-width: 0;
15
- }
16
- @media screen and (max-width: 767px) {
17
- .sr-only-mobile {
18
- position: absolute;
19
- width: 1px;
20
- height: 1px;
21
- padding: 0;
22
- margin: -1px;
23
- overflow: hidden;
24
- clip: rect(0, 0, 0, 0);
25
- white-space: nowrap;
26
- border-width: 0;
27
- }
28
- }
29
-
30
5
  pn-spotlight .pn-spotlight__container {
31
6
  overflow: hidden;
32
7
  }
@@ -2,31 +2,6 @@ pn-button-dropdown .pn-button-dropdown > pn-button > .pn-button {
2
2
  min-height: initial;
3
3
  }
4
4
 
5
- .sr-only {
6
- position: absolute;
7
- width: 1px;
8
- height: 1px;
9
- padding: 0;
10
- margin: -1px;
11
- overflow: hidden;
12
- clip: rect(0, 0, 0, 0);
13
- white-space: nowrap;
14
- border-width: 0;
15
- }
16
- @media screen and (max-width: 767px) {
17
- .sr-only-mobile {
18
- position: absolute;
19
- width: 1px;
20
- height: 1px;
21
- padding: 0;
22
- margin: -1px;
23
- overflow: hidden;
24
- clip: rect(0, 0, 0, 0);
25
- white-space: nowrap;
26
- border-width: 0;
27
- }
28
- }
29
-
30
5
  pn-stats-info-data {
31
6
  width: 50%;
32
7
  }
@@ -2,31 +2,6 @@ pn-button-dropdown .pn-button-dropdown > pn-button > .pn-button {
2
2
  min-height: initial;
3
3
  }
4
4
 
5
- .sr-only {
6
- position: absolute;
7
- width: 1px;
8
- height: 1px;
9
- padding: 0;
10
- margin: -1px;
11
- overflow: hidden;
12
- clip: rect(0, 0, 0, 0);
13
- white-space: nowrap;
14
- border-width: 0;
15
- }
16
- @media screen and (max-width: 767px) {
17
- .sr-only-mobile {
18
- position: absolute;
19
- width: 1px;
20
- height: 1px;
21
- padding: 0;
22
- margin: -1px;
23
- overflow: hidden;
24
- clip: rect(0, 0, 0, 0);
25
- white-space: nowrap;
26
- border-width: 0;
27
- }
28
- }
29
-
30
5
  pn-stats-info .pn-stats-info__container {
31
6
  display: flex;
32
7
  flex-direction: row;
@@ -2,37 +2,7 @@ pn-button-dropdown .pn-button-dropdown > pn-button > .pn-button {
2
2
  min-height: initial;
3
3
  }
4
4
 
5
- .sr-only {
6
- position: absolute;
7
- width: 1px;
8
- height: 1px;
9
- padding: 0;
10
- margin: -1px;
11
- overflow: hidden;
12
- clip: rect(0, 0, 0, 0);
13
- white-space: nowrap;
14
- border-width: 0;
15
- }
16
- @media screen and (max-width: 767px) {
17
- .sr-only-mobile {
18
- position: absolute;
19
- width: 1px;
20
- height: 1px;
21
- padding: 0;
22
- margin: -1px;
23
- overflow: hidden;
24
- clip: rect(0, 0, 0, 0);
25
- white-space: nowrap;
26
- border-width: 0;
27
- }
28
- }
29
-
30
- pn-address-autofill {
31
- display: flex;
32
- flex-direction: column;
33
- width: 50rem;
34
- }
35
- pn-address-autofill pn-input {
5
+ pn-address-autofill pn-marketweb-input {
36
6
  width: 50%;
37
7
  }
38
8
  pn-address-autofill .input-container-row {
@@ -3,7 +3,6 @@ import { MarketWebContextService } from "../../../globals/MarketWebContextServic
3
3
  import { FetchHelper } from "../../../globals/FetchHelper";
4
4
  import debounce from "debounce";
5
5
  import { translations } from "./translations";
6
- import { alert_exclamation_circle } from "pn-design-assets/pn-assets/icons";
7
6
  export class PnAddressAutofill {
8
7
  constructor() {
9
8
  this.market = null;
@@ -16,12 +15,11 @@ export class PnAddressAutofill {
16
15
  this.cityProps = null;
17
16
  this.streetAddressProps = null;
18
17
  this.streetNumberProps = null;
19
- this.addressNotFoundError = null;
20
18
  this.postalCode = null;
21
19
  this.city = null;
22
20
  this.streetAddress = null;
23
21
  this.streetNumber = null;
24
- this.validAddress = true;
22
+ this.validAddress = false;
25
23
  this.translation = undefined;
26
24
  this.postalCodeRequiredLabel = null;
27
25
  this.streetRequiredLabel = null;
@@ -38,6 +36,7 @@ export class PnAddressAutofill {
38
36
  streetNumberInputField = null;
39
37
  pnInputHiddenValue = null;
40
38
  endpointPath = '/api/location/get-by-postalcode';
39
+ locationEndpointPath = '/api/location/get-by-location';
41
40
  _postalCodeProps = null;
42
41
  _cityProps = null;
43
42
  _streetAddressProps = null;
@@ -99,15 +98,15 @@ export class PnAddressAutofill {
99
98
  }
100
99
  addEventHandlers() {
101
100
  let debounceTimeout;
102
- this.postalCodeInputField.addEventListener('input', (e) => {
101
+ this.postalCodeInputField.addEventListener('keyup', (e) => {
103
102
  this.isLoading = true;
104
103
  clearTimeout(debounceTimeout);
105
104
  debounceTimeout = window.setTimeout(() => {
106
105
  this.fetchPostalCodeData(e);
107
106
  }, 300);
108
107
  });
109
- this.streetNumberInputField.addEventListener('input', debounce(this.fetchAddress.bind(this), 300));
110
- this.streetAddressInputField.addEventListener('keydown', () => { this.streetNumberInputField.value = ''; });
108
+ this.streetAddressInputField.addEventListener('blur', this.handleAddressDropdown.bind(this));
109
+ this.streetNumberInputField.addEventListener('blur', this.handleAddressDropdown.bind(this));
111
110
  this.addFormFieldEvent();
112
111
  }
113
112
  addFormFieldEvent() {
@@ -147,11 +146,6 @@ export class PnAddressAutofill {
147
146
  this.resetFields();
148
147
  this.postalCode = postalCode;
149
148
  var data = (await this.fetchPostalCode(postalCode));
150
- if (!data || !data.addresses) {
151
- this.city = null;
152
- this.isLoading = true;
153
- return;
154
- }
155
149
  const cityInfo = data.addresses?.find(addr => addr.postalCode === postalCode);
156
150
  this.city = cityInfo?.city || null;
157
151
  this.isLoading = false;
@@ -175,6 +169,24 @@ export class PnAddressAutofill {
175
169
  return null;
176
170
  }
177
171
  }
172
+ async fetchAddress() {
173
+ const endpointBase = this.endpoint.endsWith('/')
174
+ ? this.endpoint.slice(0, -1)
175
+ : this.endpoint;
176
+ //merge street and number
177
+ var locationSearch = this.streetAddress + ' ' + this.streetNumber;
178
+ //this is Air search api which will return the address, without postcode, postalcode verification is done in handleAddressDropdown
179
+ const fetchUrl = `${endpointBase}${this.locationEndpointPath}?countryCode=${this.countryCode}&query=${locationSearch}`;
180
+ try {
181
+ const data = await this.fetchHelper.fetchJson(fetchUrl, { mode: 'cors' }, this.cache);
182
+ return data;
183
+ }
184
+ catch (error) {
185
+ console.error("Error fetching address data:", error);
186
+ this.isLoading = true;
187
+ return null;
188
+ }
189
+ }
178
190
  resetFields() {
179
191
  this.streetAddressInputField.value = '';
180
192
  this.streetNumberInputField.value = '';
@@ -187,45 +199,61 @@ export class PnAddressAutofill {
187
199
  element.removeAttribute('error');
188
200
  });
189
201
  }
190
- async fetchAddress() {
191
- const streetAddress = this.streetAddressInputField.value.trim();
192
- const streetNumber = this.streetNumberInputField.value.trim();
193
- if (!streetAddress || !streetNumber) {
194
- this.validAddress = false;
202
+ async handleAddressDropdown(e) {
203
+ const streetAddress = this.streetAddressInputField.value;
204
+ const streetNumber = this.streetNumberInputField.value;
205
+ //no data fetching if both the inputs are empty
206
+ if (!streetAddress && !streetNumber) {
195
207
  return;
196
208
  }
197
- const endpointBase = this.endpoint.endsWith('/')
198
- ? this.endpoint.slice(0, -1)
199
- : this.endpoint;
200
- const fetchUrl = `${endpointBase}${this.endpointPath}?countryCode=${this.countryCode}&postalCode=${this.postalCodeInputField.value}&address=${streetAddress + " " + streetNumber}`;
201
- try {
202
- const data = await this.fetchHelper.fetchJson(fetchUrl, { mode: 'cors' }, this.cache);
203
- if (!data?.addresses?.length) {
204
- this.validAddress = false;
205
- }
206
- else {
207
- const inputStreetAddress = this.normalizeChar(streetAddress);
208
- const inputStreetNumber = this.normalizeChar(streetNumber);
209
- const addressFound = data.addresses.some(addr => this.normalizeChar(addr.street) === inputStreetAddress &&
210
- this.normalizeChar(addr.houseNumber) === inputStreetNumber &&
211
- addr.postalCode === this.postalCodeInputField.value);
212
- this.validAddress = addressFound;
213
- }
214
- }
215
- catch (error) {
216
- console.error("Error fetching address data:", error);
217
- this.isLoading = true;
218
- this.validAddress = false;
219
- }
209
+ //skip the data fetch if there is no change in input
220
210
  if (this.streetAddress === streetAddress && this.streetNumber === streetNumber) {
221
211
  return;
222
212
  }
213
+ //set the values
223
214
  if (streetAddress) {
224
215
  this.streetAddress = streetAddress;
225
216
  }
226
217
  if (streetNumber) {
227
218
  this.streetNumber = streetNumber;
228
219
  }
220
+ //fetch data
221
+ var data = await this.fetchAddress();
222
+ //verify the error
223
+ var showStreetAddressError = false;
224
+ var showStreetNumberError = false;
225
+ if (!data?.addresses?.length) {
226
+ if (e.target === this.streetAddressInputField) {
227
+ showStreetAddressError = true;
228
+ }
229
+ if (e.target === this.streetNumberInputField) {
230
+ showStreetNumberError = true;
231
+ }
232
+ }
233
+ else {
234
+ if (this.streetAddress && !data.addresses.find(addr => this.normalizeChar(addr.street) === this.normalizeChar(this.streetAddress) && addr.postalCode === this.postalCode)) {
235
+ showStreetAddressError = true;
236
+ }
237
+ if (this.streetNumber && !data.addresses.find(addr => addr.houseNumber.toLowerCase() === this.streetNumber.toLowerCase() && addr.postalCode === this.postalCode)) {
238
+ showStreetNumberError = true;
239
+ }
240
+ }
241
+ //helpertext changes are temp fix to show the error text, this can be removed once the upgrade is done and fixes this issue.
242
+ this.pnInputStreetAddress.removeAttribute('error');
243
+ this.pnInputStreetAddress.setAttribute('helpertext', this._streetAddressProps.streetAddressInputHelpertext);
244
+ this.pnInputStreetNumber.removeAttribute('error');
245
+ this.pnInputStreetNumber.setAttribute('helpertext', this._streetNumberProps.streetNumberInputHelpertext);
246
+ this.validAddress = true;
247
+ if (showStreetAddressError) {
248
+ this.pnInputStreetAddress.setAttribute('error', this._streetAddressProps.streetAddressInputError);
249
+ this.pnInputStreetAddress.setAttribute('helpertext', this._streetAddressProps.streetAddressInputError);
250
+ this.validAddress = false;
251
+ }
252
+ if (showStreetNumberError) {
253
+ this.pnInputStreetNumber.setAttribute('error', this._streetNumberProps.streetNumberInputError);
254
+ this.pnInputStreetNumber.setAttribute('helpertext', this._streetNumberProps.streetNumberInputError);
255
+ this.validAddress = false;
256
+ }
229
257
  }
230
258
  //this function is added to compare the street input values if entered without special characters like é, ø ect
231
259
  normalizeChar(str) {
@@ -242,7 +270,7 @@ export class PnAddressAutofill {
242
270
  return str1;
243
271
  }
244
272
  render() {
245
- return (h(Host, { key: '6e09c78bcd1117bbcdbcec1fc65444772636036d', class: "pn-address-autofill" }, this._postalCodeProps?.postalCodeCityLabel ? (h("div", { class: "label-container" }, h("label", null, `${this._postalCodeProps.postalCodeCityLabel + ' ' + this.postalCodeRequiredLabel}`))) : null, h("div", { key: '8f5a0760096e3618436b7554a6a5c89c1b0bab0a', class: "input-container-row" }, h("pn-input", { key: '2490a7c926f9c693cf67dabbd60e56297aee44aa', type: "number", name: this._postalCodeProps?.postalCodeInputName, required: this._postalCodeProps?.postalCodeInputRequired, placeholder: this._postalCodeProps?.postalCodeInputPlaceholder, ref: el => (this.pnInputPostalCode = el), autocomplete: "off", helpertext: this._postalCodeProps?.postalCodeInputHelpertext }), h("pn-input", { key: '49bc2fdedb78d9ce11c973bd0d2ab127603ab148', type: "text", name: this._cityProps?.cityInputName, disabled: true, value: this.city, placeholder: this._cityProps?.cityInputPlaceholder, autocomplete: "off", helpertext: this._cityProps?.cityInputHelpertext })), this._streetAddressProps?.streetAddressNumberLabel ? (h("div", { class: "label-container" }, h("label", null, `${this._streetAddressProps.streetAddressNumberLabel + ' ' + this.streetRequiredLabel}`))) : null, h("div", { key: 'fed64c4457c27593bf6a22dea066f029fcd4a53d', class: "input-container-row" }, h("pn-input", { key: '7d7667465f4cad869cf8274158611aa32b7a8975', type: "text", name: this._streetAddressProps?.streetAddressInputName, required: this._streetAddressProps?.streetAddressInputRequired, value: this.streetAddress, placeholder: this._streetAddressProps?.streetAddressInputPlaceholder, ref: el => (this.pnInputStreetAddress = el), autocomplete: "off", helpertext: this._streetAddressProps?.streetAddressInputHelpertext, disabled: this.isLoading }), h("pn-input", { key: '8bc6498685c92de3e53034dcf4fe7078e171e41f', type: "text", name: this._streetNumberProps?.streetNumberInputName, required: this._streetNumberProps?.streetNumberInputRequired, value: this.streetNumber, placeholder: this._streetNumberProps?.streetNumberInputPlaceholder, ref: el => (this.pnInputStreetNumber = el), autocomplete: "off", helpertext: this._streetNumberProps?.streetNumberInputHelpertext, disabled: this.isLoading })), (!this.validAddress && this.streetAddressInputField.value && this.streetNumberInputField.value) ? (h("div", { class: "toast-container" }, h("pn-toast", { text: this.addressNotFoundError ?? this.translation.addressNotFound, appearance: "warning", icon: alert_exclamation_circle }))) : null));
273
+ return (h(Host, { key: '144d390d30ab4ed791c6e1c89753cf185ec22528', class: "pn-address-autofill" }, this._postalCodeProps?.postalCodeCityLabel ? (h("div", { class: "label-container" }, h("label", null, `${this._postalCodeProps.postalCodeCityLabel + ' ' + this.postalCodeRequiredLabel}`))) : null, h("div", { key: 'f50c6de42b8c582769e6c6f03736106462e1023d', class: "input-container-row" }, h("pn-input", { key: 'c777d9f11e090940d8fad9471027200116c79fec', type: "number", name: this._postalCodeProps?.postalCodeInputName, required: this._postalCodeProps?.postalCodeInputRequired, placeholder: this._postalCodeProps?.postalCodeInputPlaceholder, ref: el => (this.pnInputPostalCode = el), autocomplete: "off", helpertext: this._postalCodeProps?.postalCodeInputHelpertext }), h("pn-input", { key: '317888fa29d61168e8fac41f58adf3bab7a5d16c', type: "text", name: this._cityProps?.cityInputName, disabled: true, value: this.city, placeholder: this._cityProps?.cityInputPlaceholder, autocomplete: "off", helpertext: this._cityProps?.cityInputHelpertext })), this._streetAddressProps?.streetAddressNumberLabel ? (h("div", { class: "label-container" }, h("label", null, `${this._streetAddressProps.streetAddressNumberLabel + ' ' + this.streetRequiredLabel}`))) : null, h("div", { key: 'df079570278fe8910dd5e6bccf8f04585ad14243', class: "input-container-row" }, h("pn-input", { key: '3ebdce3b0a90fba067c023c80d5c6d2374885082', type: "text", name: this._streetAddressProps?.streetAddressInputName, required: this._streetAddressProps?.streetAddressInputRequired, value: this.streetAddress, placeholder: this._streetAddressProps?.streetAddressInputPlaceholder, ref: el => (this.pnInputStreetAddress = el), autocomplete: "off", helpertext: this._streetAddressProps?.streetAddressInputHelpertext, disabled: this.isLoading }), h("pn-input", { key: 'd48f305425656296711248b2c808b5a259e9730e', type: "text", name: this._streetNumberProps?.streetNumberInputName, required: this._streetNumberProps?.streetNumberInputRequired, value: this.streetNumber, placeholder: this._streetNumberProps?.streetNumberInputPlaceholder, ref: el => (this.pnInputStreetNumber = el), autocomplete: "off", helpertext: this._streetNumberProps?.streetNumberInputHelpertext, disabled: this.isLoading }))));
246
274
  }
247
275
  static get is() { return "pn-address-autofill"; }
248
276
  static get originalStyleUrls() {
@@ -460,24 +488,6 @@ export class PnAddressAutofill {
460
488
  "attribute": "street-number-props",
461
489
  "reflect": false,
462
490
  "defaultValue": "null"
463
- },
464
- "addressNotFoundError": {
465
- "type": "string",
466
- "mutable": false,
467
- "complexType": {
468
- "original": "string",
469
- "resolved": "string",
470
- "references": {}
471
- },
472
- "required": false,
473
- "optional": false,
474
- "docs": {
475
- "tags": [],
476
- "text": ""
477
- },
478
- "attribute": "address-not-found-error",
479
- "reflect": false,
480
- "defaultValue": "null"
481
491
  }
482
492
  };
483
493
  }
@@ -1 +1 @@
1
- {"version":3,"file":"pn-address-autofill.js","sourceRoot":"","sources":["../../../../src/components/input/pn-address-autofill/pn-address-autofill.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAgB,KAAK,EAAE,MAAM,eAAe,CAAC;AAC9F,OAAO,EAAE,uBAAuB,EAAE,MAAM,0CAA0C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,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,uBAAuB,CAAC,KAAK,IAAI,IAAI,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CACjG,WAAK,KAAK,EAAC,iBAAiB;gBAC1B,gBAAU,IAAI,EAAE,IAAI,CAAC,oBAAoB,IAAI,IAAI,CAAC,WAAW,CAAC,eAAe,EAAE,UAAU,EAAC,SAAS,EAAC,IAAI,EAAE,wBAAwB,GAAa,CAC3I,CACP,CAAC,CAAC,CAAC,IAAI,CACH,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h, Element, State, Host, EventEmitter, Event } from '@stencil/core';\nimport { MarketWebContextService } from '../../../globals/MarketWebContextService';\nimport { FetchHelper } from '../../../globals/FetchHelper';\nimport { Root, PostalCodeProps, CityProps, StreetAddressProps, StreetNumberProps } from './types';\nimport debounce from 'debounce';\nimport { translations } from './translations';\nimport { alert_exclamation_circle } from 'pn-design-assets/pn-assets/icons';\n\n@Component({\n tag: 'pn-address-autofill',\n styleUrl: 'pn-address-autofill.scss',\n})\nexport class PnAddressAutofill {\n @Element() hostElement: Element;\n pnInputPostalCode: HTMLElement = null;\n pnInputCity: HTMLElement = null;\n pnInputStreetAddress: HTMLElement = null;\n pnInputStreetNumber: HTMLElement = null;\n postalCodeInputField: HTMLInputElement = null;\n streetAddressInputField: HTMLInputElement = null;\n streetNumberInputField: HTMLInputElement = null;\n pnInputHiddenValue: HTMLElement = null;\n endpointPath = '/api/location/get-by-postalcode';\n private _postalCodeProps: PostalCodeProps = null;\n private _cityProps: CityProps = null;\n private _streetAddressProps: StreetAddressProps = null;\n private _streetNumberProps: StreetNumberProps = null;\n\n /** Specifies which market we want to show (se,dk,fi,no,com) */\n @Prop({ mutable: true, reflect: true }) market: string = null; //se\n /** Specifies which environment we're fetching data from. (production, preproduction, integration, localhost) */\n @Prop({ mutable: true, reflect: true }) environment: string = null; //sv\n @Prop() endpoint: string = null;\n @Prop() cache: boolean = true;\n @Prop() countryCode: string = null;\n @Prop() language: string = null;\n\n @Prop() postalCodeProps: string | PostalCodeProps = null;\n @Prop() cityProps: string | CityProps = null;\n @Prop() streetAddressProps: string | StreetAddressProps = null;\n @Prop() streetNumberProps: string | StreetNumberProps = null;\n @Prop() addressNotFoundError: string = null;\n\n @State() postalCode: string = null;\n @State() city: string = null;\n @State() streetAddress: string = null;\n @State() streetNumber: string = null;\n @State() validAddress: boolean = true;\n @State() translation: any;\n @State() postalCodeRequiredLabel: string = null;\n @State() streetRequiredLabel: string = null;\n\n @State() fullAddress: string = null;\n @State() isLoading: boolean = true;\n\n @Event() addresscomplete: EventEmitter<string>;\n\n fetchHelper = new FetchHelper('PostalCodeCityAutofill');\n\n componentWillLoad() {\n this.setInitialValues();\n this._postalCodeProps = this.setProps(this.postalCodeProps);\n this._cityProps = this.setProps(this.cityProps);\n this._streetAddressProps = this.setProps(this.streetAddressProps);\n this._streetNumberProps = this.setProps(this.streetNumberProps);\n }\n\n setProps(props) {\n if (typeof props === 'string') {\n return JSON.parse(props);\n } else {\n return props;\n }\n }\n\n componentDidLoad() {\n this.postalCodeInputField = this.pnInputPostalCode.querySelector('input');\n this.streetAddressInputField = this.pnInputStreetAddress.querySelector('input');\n this.streetNumberInputField = this.pnInputStreetNumber.querySelector('input');\n\n this.addEventHandlers();\n }\n\n async setInitialValues(href = window.location.href) {\n const marketWebContextService = new MarketWebContextService(href);\n\n if (!this.environment) {\n this.environment = await marketWebContextService.getEnvironmentName();\n }\n\n if (!this.endpoint && this.environment?.indexOf('local') === -1) {\n this.endpoint = await marketWebContextService.getEndpoint(this.environment, this.market);\n }\n\n if (!this.endpoint) {\n this.endpoint = '';\n }\n\n if (!this.language) {\n this.language = await marketWebContextService.getLanguage();\n }\n\n this.setTranslations()\n\n this.postalCodeRequiredLabel = \"\";\n this.streetRequiredLabel = \"\";\n\n if (this._postalCodeProps.postalCodeInputRequired === true) {\n this.postalCodeRequiredLabel = \" (\" + this.translation.required + \")\";\n }\n\n if (this._streetAddressProps.streetAddressInputRequired === true) {\n this.streetRequiredLabel = \" (\" + this.translation.required + \")\";\n }\n }\n\n setTranslations() {\n if (this.language === 'nb') {\n this.language = 'no';\n }\n if (this.language && translations[this.language]) {\n this.translation = translations[this.language];\n }\n }\n\n addEventHandlers() {\n let debounceTimeout: number | undefined;\n\n this.postalCodeInputField.addEventListener('input', (e) => {\n this.isLoading = true;\n clearTimeout(debounceTimeout);\n debounceTimeout = window.setTimeout(() => {\n this.fetchPostalCodeData(e);\n }, 300);\n });\n\n this.streetNumberInputField.addEventListener('input', debounce(this.fetchAddress.bind(this), 300));\n this.streetAddressInputField.addEventListener('keydown', () => { this.streetNumberInputField.value = '' });\n this.addFormFieldEvent();\n }\n\n addFormFieldEvent() {\n const allInputs = this.hostElement.querySelectorAll('input');\n allInputs.forEach(element => {\n ['keyup', 'change', 'blur'].forEach(eventName => {\n const debounceUpdate = debounce(this.updateHiddenValue.bind(this), 1000);\n element.addEventListener(eventName, debounceUpdate);\n });\n });\n }\n\n updateHiddenValue(e) {\n if (e.target === this.streetNumberInputField) {\n this.streetNumber = this.streetNumberInputField.value;\n }\n\n if (this.validAddress && this.postalCode && this.city && this.streetAddress && this.streetNumber) {\n this.fullAddress = `${this.streetAddress} ${this.streetNumber}, ${this.city} ${this.postalCode}`;\n } else {\n this.fullAddress = '';\n }\n\n this.addresscomplete.emit(this.fullAddress);\n }\n\n async fetchPostalCodeData(e: Event) {\n if (!e) {\n return;\n }\n const postalCode = this.postalCodeInputField.value;\n\n var postalCodeLength = 4;\n\n if (postalCode.length < postalCodeLength) {\n this.resetFields();\n return;\n }\n\n if (this.postalCode === postalCode) {\n return;\n }\n\n this.resetFields();\n this.postalCode = postalCode;\n\n var data = (await this.fetchPostalCode(postalCode));\n\n if (!data || !data.addresses) {\n this.city = null;\n this.isLoading = true;\n return;\n }\n\n const cityInfo = data.addresses?.find(addr => addr.postalCode === postalCode);\n this.city = cityInfo?.city || null;\n\n this.isLoading = false;\n }\n\n\n async fetchPostalCode(postalCode) {\n const endpointBase = this.endpoint.endsWith('/')\n ? this.endpoint.slice(0, -1)\n : this.endpoint;\n\n const fetchUrl = `${endpointBase}${this.endpointPath}?countryCode=${this.countryCode}&postalCode=${postalCode}`;\n\n try {\n const data = await this.fetchHelper.fetchJson(fetchUrl, { mode: 'cors' }, this.cache) as Root;\n\n if (!data?.addresses?.length) {\n this.pnInputPostalCode.setAttribute('error', this._postalCodeProps.postalCodeInputError);\n return;\n }\n return data;\n }\n catch (error) {\n console.error(\"Error fetching address data:\", error);\n this.isLoading = true;\n return null;\n }\n }\n\n private resetFields() {\n this.streetAddressInputField.value = '';\n this.streetNumberInputField.value = '';\n this.city = null;\n this.streetAddress = null;\n this.streetNumber = null;\n this.validAddress = false;\n\n let inputs = document.getElementsByTagName('pn-input');\n\n Array.from(inputs).forEach(element => {\n element.removeAttribute('error');\n });\n }\n\n async fetchAddress() {\n const streetAddress = this.streetAddressInputField.value.trim();\n const streetNumber = this.streetNumberInputField.value.trim();\n\n if (!streetAddress || !streetNumber) {\n this.validAddress = false;\n return;\n }\n\n const endpointBase = this.endpoint.endsWith('/')\n ? this.endpoint.slice(0, -1)\n : this.endpoint;\n\n const fetchUrl = `${endpointBase}${this.endpointPath}?countryCode=${this.countryCode}&postalCode=${this.postalCodeInputField.value}&address=${streetAddress + \" \" + streetNumber}`;\n\n try {\n const data = await this.fetchHelper.fetchJson(fetchUrl, { mode: 'cors' }, this.cache) as Root;\n\n if (!data?.addresses?.length) {\n this.validAddress = false;\n } else {\n const inputStreetAddress = this.normalizeChar(streetAddress);\n const inputStreetNumber = this.normalizeChar(streetNumber);\n\n const addressFound = data.addresses.some(addr =>\n this.normalizeChar(addr.street) === inputStreetAddress &&\n this.normalizeChar(addr.houseNumber) === inputStreetNumber &&\n addr.postalCode === this.postalCodeInputField.value\n );\n\n this.validAddress = addressFound;\n }\n } catch (error) {\n console.error(\"Error fetching address data:\", error);\n this.isLoading = true;\n this.validAddress = false;\n }\n\n if (this.streetAddress === streetAddress && this.streetNumber === streetNumber) {\n return;\n }\n\n if (streetAddress) {\n this.streetAddress = streetAddress;\n }\n if (streetNumber) {\n this.streetNumber = streetNumber;\n }\n }\n //this function is added to compare the street input values if entered without special characters like é, ø ect\n normalizeChar(str) {\n\n const specialCharMap = {\n 'ø': 'o',\n 'Ø': 'o',\n 'æ': 'ae',\n 'Æ': 'ae',\n // Add more as needed\n };\n\n var str1 = str.normalize(\"NFD\").replace(/[\\u0300-\\u036f]/g, \"\")\n .split('').map(char => specialCharMap[char] || char)\n .join('').toLowerCase()\n return str1;\n }\n\n render() {\n return (\n <Host class=\"pn-address-autofill\">\n {this._postalCodeProps?.postalCodeCityLabel ? (\n <div class=\"label-container\">\n <label>{`${this._postalCodeProps.postalCodeCityLabel + ' ' + this.postalCodeRequiredLabel}`}</label>\n </div>\n ) : null}\n <div class=\"input-container-row\">\n <pn-input\n type=\"number\"\n name={this._postalCodeProps?.postalCodeInputName}\n required={this._postalCodeProps?.postalCodeInputRequired}\n placeholder={this._postalCodeProps?.postalCodeInputPlaceholder}\n ref={el => (this.pnInputPostalCode = el as HTMLElement)}\n autocomplete=\"off\"\n helpertext={this._postalCodeProps?.postalCodeInputHelpertext}\n ></pn-input>\n\n <pn-input\n type=\"text\"\n name={this._cityProps?.cityInputName}\n disabled\n value={this.city}\n placeholder={this._cityProps?.cityInputPlaceholder}\n autocomplete=\"off\"\n helpertext={this._cityProps?.cityInputHelpertext}\n ></pn-input>\n </div>\n\n {this._streetAddressProps?.streetAddressNumberLabel ? (\n <div class=\"label-container\">\n <label>{`${this._streetAddressProps.streetAddressNumberLabel + ' ' + this.streetRequiredLabel}`}</label>\n </div>\n ) : null}\n <div class=\"input-container-row\">\n <pn-input\n type=\"text\"\n name={this._streetAddressProps?.streetAddressInputName}\n required={this._streetAddressProps?.streetAddressInputRequired}\n value={this.streetAddress}\n placeholder={this._streetAddressProps?.streetAddressInputPlaceholder}\n ref={el => (this.pnInputStreetAddress = el as HTMLElement)}\n autocomplete=\"off\"\n helpertext={this._streetAddressProps?.streetAddressInputHelpertext}\n disabled={this.isLoading}\n ></pn-input>\n\n <pn-input\n type=\"text\"\n name={this._streetNumberProps?.streetNumberInputName}\n required={this._streetNumberProps?.streetNumberInputRequired}\n value={this.streetNumber}\n placeholder={this._streetNumberProps?.streetNumberInputPlaceholder}\n ref={el => (this.pnInputStreetNumber = el as HTMLElement)}\n autocomplete=\"off\"\n helpertext={this._streetNumberProps?.streetNumberInputHelpertext}\n disabled={this.isLoading}\n ></pn-input>\n </div>\n {(!this.validAddress && this.streetAddressInputField.value && this.streetNumberInputField.value) ? (\n <div class=\"toast-container\">\n <pn-toast text={this.addressNotFoundError ?? this.translation.addressNotFound} appearance=\"warning\" icon={alert_exclamation_circle}></pn-toast>\n </div>\n ) : null}\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"pn-address-autofill.js","sourceRoot":"","sources":["../../../../src/components/input/pn-address-autofill/pn-address-autofill.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAgB,KAAK,EAAE,MAAM,eAAe,CAAC;AAC9F,OAAO,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE3D,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h, Element, State, Host, EventEmitter, Event } from '@stencil/core';\nimport { MarketWebContextService } from '../../../globals/MarketWebContextService';\nimport { FetchHelper } from '../../../globals/FetchHelper';\nimport { Root, PostalCodeProps, CityProps, StreetAddressProps, StreetNumberProps } from './types';\nimport debounce from 'debounce';\nimport { translations } from './translations';\n\n@Component({\n tag: 'pn-address-autofill',\n styleUrl: 'pn-address-autofill.scss',\n})\nexport class PnAddressAutofill {\n @Element() hostElement: Element;\n pnInputPostalCode: HTMLElement = null;\n pnInputCity: HTMLElement = null;\n pnInputStreetAddress: HTMLElement = null;\n pnInputStreetNumber: HTMLElement = null;\n postalCodeInputField: HTMLInputElement = null;\n streetAddressInputField: HTMLInputElement = null;\n streetNumberInputField: HTMLInputElement = null;\n pnInputHiddenValue: HTMLElement = null;\n endpointPath = '/api/location/get-by-postalcode';\n locationEndpointPath = '/api/location/get-by-location';\n private _postalCodeProps: PostalCodeProps = null;\n private _cityProps: CityProps = null;\n private _streetAddressProps: StreetAddressProps = null;\n private _streetNumberProps: StreetNumberProps = null;\n\n /** Specifies which market we want to show (se,dk,fi,no,com) */\n @Prop({ mutable: true, reflect: true }) market: string = null; //se\n /** Specifies which environment we're fetching data from. (production, preproduction, integration, localhost) */\n @Prop({ mutable: true, reflect: true }) environment: string = null; //sv\n @Prop() endpoint: string = null;\n @Prop() cache: boolean = true;\n @Prop() countryCode: string = null;\n @Prop() language: string = null;\n\n @Prop() postalCodeProps: string | PostalCodeProps = null;\n @Prop() cityProps: string | CityProps = null;\n @Prop() streetAddressProps: string | StreetAddressProps = null;\n @Prop() streetNumberProps: string | StreetNumberProps = null;\n\n @State() postalCode: string = null;\n @State() city: string = null;\n @State() streetAddress: string = null;\n @State() streetNumber: string = null;\n @State() validAddress: boolean = false;\n @State() translation: any;\n @State() postalCodeRequiredLabel: string = null;\n @State() streetRequiredLabel: string = null;\n\n @State() fullAddress: string = null;\n @State() isLoading: boolean = true;\n\n @Event() addresscomplete: EventEmitter<string>;\n\n fetchHelper = new FetchHelper('PostalCodeCityAutofill');\n\n componentWillLoad() {\n this.setInitialValues();\n this._postalCodeProps = this.setProps(this.postalCodeProps);\n this._cityProps = this.setProps(this.cityProps);\n this._streetAddressProps = this.setProps(this.streetAddressProps);\n this._streetNumberProps = this.setProps(this.streetNumberProps);\n }\n\n setProps(props) {\n if (typeof props === 'string') {\n return JSON.parse(props);\n } else {\n return props;\n }\n }\n\n componentDidLoad() {\n this.postalCodeInputField = this.pnInputPostalCode.querySelector('input');\n this.streetAddressInputField = this.pnInputStreetAddress.querySelector('input');\n this.streetNumberInputField = this.pnInputStreetNumber.querySelector('input');\n\n this.addEventHandlers();\n }\n\n async setInitialValues(href = window.location.href) {\n const marketWebContextService = new MarketWebContextService(href);\n\n if (!this.environment) {\n this.environment = await marketWebContextService.getEnvironmentName();\n }\n\n if (!this.endpoint && this.environment?.indexOf('local') === -1) {\n this.endpoint = await marketWebContextService.getEndpoint(this.environment, this.market);\n }\n\n if (!this.endpoint) {\n this.endpoint = '';\n }\n\n if (!this.language) {\n this.language = await marketWebContextService.getLanguage();\n }\n\n this.setTranslations()\n\n this.postalCodeRequiredLabel = \"\";\n this.streetRequiredLabel = \"\";\n\n if(this._postalCodeProps.postalCodeInputRequired === true) {\n this.postalCodeRequiredLabel = \" (\" + this.translation.required + \")\"; \n }\n\n if(this._streetAddressProps.streetAddressInputRequired === true) {\n this.streetRequiredLabel = \" (\" + this.translation.required + \")\"; \n }\n }\n\n setTranslations() {\n if (this.language === 'nb') {\n this.language = 'no';\n }\n if (this.language && translations[this.language]) {\n this.translation = translations[this.language];\n }\n }\n\n addEventHandlers() {\n let debounceTimeout: number | undefined;\n\n this.postalCodeInputField.addEventListener('keyup', (e) => {\n this.isLoading = true;\n clearTimeout(debounceTimeout);\n debounceTimeout = window.setTimeout(() => {\n this.fetchPostalCodeData(e);\n }, 300);\n });\n\n this.streetAddressInputField.addEventListener('blur', this.handleAddressDropdown.bind(this));\n this.streetNumberInputField.addEventListener('blur', this.handleAddressDropdown.bind(this));\n this.addFormFieldEvent();\n }\n\n addFormFieldEvent() {\n const allInputs = this.hostElement.querySelectorAll('input');\n allInputs.forEach(element => {\n ['keyup', 'change', 'blur'].forEach(eventName => {\n const debounceUpdate = debounce(this.updateHiddenValue.bind(this), 1000);\n element.addEventListener(eventName, debounceUpdate);\n });\n });\n }\n\n updateHiddenValue(e) {\n if (e.target === this.streetNumberInputField) {\n this.streetNumber = this.streetNumberInputField.value;\n }\n\n if (this.validAddress && this.postalCode && this.city && this.streetAddress && this.streetNumber) {\n this.fullAddress = `${this.streetAddress} ${this.streetNumber}, ${this.city} ${this.postalCode}`;\n } else {\n this.fullAddress = '';\n }\n\n this.addresscomplete.emit(this.fullAddress);\n }\n\n async fetchPostalCodeData(e: Event) {\n if (!e) {\n return;\n }\n const postalCode = this.postalCodeInputField.value;\n\n var postalCodeLength = 4;\n\n if (postalCode.length < postalCodeLength) {\n this.resetFields();\n return;\n }\n\n if (this.postalCode === postalCode) {\n return;\n }\n\n this.resetFields();\n this.postalCode = postalCode;\n\n var data = (await this.fetchPostalCode(postalCode));\n\n const cityInfo = data.addresses?.find(addr => addr.postalCode === postalCode);\n this.city = cityInfo?.city || null;\n\n this.isLoading = false;\n }\n\n\n async fetchPostalCode(postalCode) {\n const endpointBase = this.endpoint.endsWith('/')\n ? this.endpoint.slice(0, -1)\n : this.endpoint;\n\n const fetchUrl = `${endpointBase}${this.endpointPath}?countryCode=${this.countryCode}&postalCode=${postalCode}`;\n\n try {\n const data = await this.fetchHelper.fetchJson(fetchUrl, { mode: 'cors' }, this.cache) as Root;\n\n if (!data?.addresses?.length) {\n this.pnInputPostalCode.setAttribute('error', this._postalCodeProps.postalCodeInputError);\n return;\n }\n return data;\n }\n catch (error) {\n console.error(\"Error fetching address data:\", error);\n this.isLoading = true;\n return null;\n }\n }\n\n\n async fetchAddress() {\n const endpointBase = this.endpoint.endsWith('/')\n ? this.endpoint.slice(0, -1)\n : this.endpoint;\n\n //merge street and number\n var locationSearch = this.streetAddress + ' ' + this.streetNumber;\n\n //this is Air search api which will return the address, without postcode, postalcode verification is done in handleAddressDropdown\n const fetchUrl = `${endpointBase}${this.locationEndpointPath}?countryCode=${this.countryCode}&query=${locationSearch}`;\n\n try {\n const data = await this.fetchHelper.fetchJson(fetchUrl, { mode: 'cors' }, this.cache) as Root;\n return data;\n }\n catch (error) {\n console.error(\"Error fetching address data:\", error);\n this.isLoading = true;\n return null;\n }\n\n }\n\n private resetFields() {\n this.streetAddressInputField.value = '';\n this.streetNumberInputField.value = '';\n this.city = null;\n this.streetAddress = null;\n this.streetNumber = null;\n this.validAddress = false;\n\n let inputs = document.getElementsByTagName('pn-input');\n\n Array.from(inputs).forEach(element => {\n element.removeAttribute('error');\n });\n }\n\n async handleAddressDropdown(e: Event) {\n const streetAddress = this.streetAddressInputField.value;\n const streetNumber = this.streetNumberInputField.value;\n\n //no data fetching if both the inputs are empty\n if (!streetAddress && !streetNumber) {\n return;\n }\n\n //skip the data fetch if there is no change in input\n if (this.streetAddress === streetAddress && this.streetNumber === streetNumber) {\n return;\n }\n\n //set the values\n if (streetAddress) {\n this.streetAddress = streetAddress;\n }\n if (streetNumber) {\n this.streetNumber = streetNumber;\n }\n\n //fetch data\n var data = await this.fetchAddress();\n\n //verify the error\n var showStreetAddressError = false;\n var showStreetNumberError = false;\n\n if (!data?.addresses?.length) {\n if (e.target === this.streetAddressInputField) {\n showStreetAddressError = true;\n }\n if (e.target === this.streetNumberInputField) {\n showStreetNumberError = true;\n }\n } else {\n if (this.streetAddress && !data.addresses.find(addr => this.normalizeChar(addr.street) === this.normalizeChar(this.streetAddress) && addr.postalCode === this.postalCode)) {\n showStreetAddressError = true;\n }\n if (this.streetNumber && !data.addresses.find(addr => addr.houseNumber.toLowerCase() === this.streetNumber.toLowerCase() && addr.postalCode === this.postalCode)) {\n showStreetNumberError = true;\n }\n }\n\n //helpertext changes are temp fix to show the error text, this can be removed once the upgrade is done and fixes this issue.\n this.pnInputStreetAddress.removeAttribute('error');\n this.pnInputStreetAddress.setAttribute('helpertext', this._streetAddressProps.streetAddressInputHelpertext);\n\n this.pnInputStreetNumber.removeAttribute('error');\n this.pnInputStreetNumber.setAttribute('helpertext', this._streetNumberProps.streetNumberInputHelpertext);\n\n this.validAddress = true;\n\n if (showStreetAddressError) {\n this.pnInputStreetAddress.setAttribute('error', this._streetAddressProps.streetAddressInputError);\n this.pnInputStreetAddress.setAttribute('helpertext', this._streetAddressProps.streetAddressInputError);\n this.validAddress = false;\n }\n if (showStreetNumberError) {\n this.pnInputStreetNumber.setAttribute('error', this._streetNumberProps.streetNumberInputError);\n this.pnInputStreetNumber.setAttribute('helpertext', this._streetNumberProps.streetNumberInputError);\n this.validAddress = false;\n }\n }\n\n //this function is added to compare the street input values if entered without special characters like é, ø ect\n normalizeChar(str) {\n\n const specialCharMap = {\n 'ø': 'o',\n 'Ø': 'o',\n 'æ': 'ae',\n 'Æ': 'ae',\n // Add more as needed\n };\n\n var str1 = str.normalize(\"NFD\").replace(/[\\u0300-\\u036f]/g, \"\")\n .split('').map(char => specialCharMap[char] || char)\n .join('').toLowerCase()\n return str1;\n }\n\n render() {\n return (\n <Host class=\"pn-address-autofill\">\n {this._postalCodeProps?.postalCodeCityLabel ? (\n <div class=\"label-container\">\n <label>{`${this._postalCodeProps.postalCodeCityLabel + ' ' + this.postalCodeRequiredLabel}`}</label>\n </div>\n ) : null}\n <div class=\"input-container-row\">\n <pn-input\n type=\"number\"\n name={this._postalCodeProps?.postalCodeInputName}\n required={this._postalCodeProps?.postalCodeInputRequired}\n placeholder={this._postalCodeProps?.postalCodeInputPlaceholder}\n ref={el => (this.pnInputPostalCode = el as HTMLElement)}\n autocomplete=\"off\"\n helpertext={this._postalCodeProps?.postalCodeInputHelpertext}\n ></pn-input>\n\n <pn-input\n type=\"text\"\n name={this._cityProps?.cityInputName}\n disabled\n value={this.city}\n placeholder={this._cityProps?.cityInputPlaceholder}\n autocomplete=\"off\"\n helpertext={this._cityProps?.cityInputHelpertext}\n ></pn-input>\n </div>\n\n {this._streetAddressProps?.streetAddressNumberLabel ? (\n <div class=\"label-container\">\n <label>{`${this._streetAddressProps.streetAddressNumberLabel + ' ' + this.streetRequiredLabel}`}</label>\n </div>\n ) : null}\n <div class=\"input-container-row\">\n <pn-input\n type=\"text\"\n name={this._streetAddressProps?.streetAddressInputName}\n required={this._streetAddressProps?.streetAddressInputRequired}\n value={this.streetAddress}\n placeholder={this._streetAddressProps?.streetAddressInputPlaceholder}\n ref={el => (this.pnInputStreetAddress = el as HTMLElement)}\n autocomplete=\"off\"\n helpertext={this._streetAddressProps?.streetAddressInputHelpertext}\n disabled={this.isLoading}\n ></pn-input>\n\n <pn-input\n type=\"text\"\n name={this._streetNumberProps?.streetNumberInputName}\n required={this._streetNumberProps?.streetNumberInputRequired}\n value={this.streetNumber}\n placeholder={this._streetNumberProps?.streetNumberInputPlaceholder}\n ref={el => (this.pnInputStreetNumber = el as HTMLElement)}\n autocomplete=\"off\"\n helpertext={this._streetNumberProps?.streetNumberInputHelpertext}\n disabled={this.isLoading}\n ></pn-input>\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -21,7 +21,7 @@ const Template = ({ ...args }) => {
21
21
  street-address-props='${args.streetAddressProps}'
22
22
  street-number-props='${args.streetNumberProps}'
23
23
  endpoint='${args.endpoint}'
24
- address-not-found-error="${args.addressNotFoundError}"
24
+ empty-error-message="This is an empty error message"
25
25
  >
26
26
  </pn-address-autofill>`;
27
27
  };
@@ -34,7 +34,6 @@ Primary.args = {
34
34
  endpoint: 'https://localhost:51547/',
35
35
  cache: true,
36
36
  countryCode: 'se',
37
- addressNotFoundError: "Address not found in storybook",
38
37
  postalCodeProps:
39
38
  '{"postalCodeCityLabel":"Postal Code and city labe","postalCodeInputName":"__postalcode","postalCodeInputPlaceholder":"Postal Code","postalCodeInputRequired":true,"postalCodeInputHelpertext":"Postal Code Helpertext", "postalCodeInputError":"Too low"}',
40
39
  cityProps: '{"cityInputName":"__city","cityInputPlaceholder":"City","cityInputHelpertext":"City Helpertext"}',
@@ -2,20 +2,17 @@ export const translations = {
2
2
  'sv': {
3
3
  errorEmpty: 'Får inte vara tom',
4
4
  errorPostalCode: 'Kan inte hitta postkoden',
5
- required: 'obligatoriskt',
6
- addressNotFound: 'Adressen hittades inte'
5
+ required: 'obligatoriskt'
7
6
  },
8
7
  'en': {
9
8
  errorEmpty: 'Cannot be empty',
10
9
  errorPostalCode: 'Could not find postalcode',
11
- required: 'required',
12
- addressNotFound: 'Address not found'
10
+ required: 'required'
13
11
  },
14
12
  'da': {
15
13
  errorEmpty: 'Kan ikke være tom',
16
14
  errorPostalCode: 'Kunne ikke finde postnummeret',
17
- required: 'påkrævet',
18
- addressNotFound: 'Adressen blev ikke fundet'
15
+ required: 'påkrævet'
19
16
  },
20
17
  'no': {
21
18
  errorEmpty: 'Cannot be empty',
@@ -1 +1 @@
1
- {"version":3,"file":"translations.js","sourceRoot":"","sources":["../../../../src/components/input/pn-address-autofill/translations.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,IAAI,EAAE;QACJ,UAAU,EAAE,mBAAmB;QAC/B,eAAe,EAAE,0BAA0B;QAC3C,QAAQ,EAAE,eAAe;QACzB,eAAe,EAAE,wBAAwB;KAC1C;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;QAC5C,QAAQ,EAAE,UAAU;QACpB,eAAe,EAAE,mBAAmB;KACrC;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,mBAAmB;QAC/B,eAAe,EAAE,+BAA+B;QAChD,QAAQ,EAAE,UAAU;QACpB,eAAe,EAAE,2BAA2B;KAC7C;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;KAC7C;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;QAC5C,QAAQ,EAAE,YAAY;KACvB;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;KAC7C;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;KAC7C;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;KAC7C;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;KAC7C;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;KAC7C;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;KAC7C;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;KAC7C;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;KAC7C;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;KAC7C;IACD,OAAO,EAAE;QACP,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;KAC7C;CACF,CAAC","sourcesContent":["export const translations = {\n 'sv': {\n errorEmpty: 'Får inte vara tom',\n errorPostalCode: 'Kan inte hitta postkoden',\n required: 'obligatoriskt',\n addressNotFound: 'Adressen hittades inte'\n },\n 'en': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n required: 'required',\n addressNotFound: 'Address not found'\n },\n 'da': {\n errorEmpty: 'Kan ikke være tom',\n errorPostalCode: 'Kunne ikke finde postnummeret',\n required: 'påkrævet',\n addressNotFound: 'Adressen blev ikke fundet'\n },\n 'no': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n },\n 'fi': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n required: 'pakollinen'\n },\n 'de': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n },\n 'zh': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n },\n 'fr': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n },\n 'es': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n },\n 'nl': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n },\n 'it': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n },\n 'tr': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n },\n 'pl': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n },\n 'pt': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n },\n 'pt-BR': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n },\n};\n"]}
1
+ {"version":3,"file":"translations.js","sourceRoot":"","sources":["../../../../src/components/input/pn-address-autofill/translations.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,IAAI,EAAE;QACJ,UAAU,EAAE,mBAAmB;QAC/B,eAAe,EAAE,0BAA0B;QAC3C,QAAQ,EAAE,eAAe;KAC1B;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;QAC5C,QAAQ,EAAE,UAAU;KAErB;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,mBAAmB;QAC/B,eAAe,EAAE,+BAA+B;QAChD,QAAQ,EAAE,UAAU;KACrB;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;KAC7C;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;QAC5C,QAAQ,EAAE,YAAY;KACvB;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;KAC7C;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;KAC7C;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;KAC7C;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;KAC7C;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;KAC7C;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;KAC7C;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;KAC7C;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;KAC7C;IACD,IAAI,EAAE;QACJ,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;KAC7C;IACD,OAAO,EAAE;QACP,UAAU,EAAE,iBAAiB;QAC7B,eAAe,EAAE,2BAA2B;KAC7C;CACF,CAAC","sourcesContent":["export const translations = {\n 'sv': {\n errorEmpty: 'Får inte vara tom',\n errorPostalCode: 'Kan inte hitta postkoden',\n required: 'obligatoriskt'\n },\n 'en': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n required: 'required'\n\n },\n 'da': {\n errorEmpty: 'Kan ikke være tom',\n errorPostalCode: 'Kunne ikke finde postnummeret',\n required: 'påkrævet'\n },\n 'no': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n },\n 'fi': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n required: 'pakollinen'\n },\n 'de': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n },\n 'zh': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n },\n 'fr': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n },\n 'es': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n },\n 'nl': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n },\n 'it': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n },\n 'tr': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n },\n 'pl': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n },\n 'pt': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n },\n 'pt-BR': {\n errorEmpty: 'Cannot be empty',\n errorPostalCode: 'Could not find postalcode',\n },\n};\n"]}