@postnord/pn-marketweb-components 2.1.9 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (918) hide show
  1. package/cjs/{index-95e5b7f9.js → index-28bbc937.js} +1 -1
  2. package/cjs/{index-4199ff85.js → index-e3e27c79.js} +278 -808
  3. package/cjs/loader.cjs.js +3 -4
  4. package/cjs/pn-bonus-progressbar-level.cjs.entry.js +2 -2
  5. package/cjs/pn-bonus-progressbar.cjs.entry.js +2 -2
  6. package/cjs/pn-breakpoints.cjs.entry.js +2 -2
  7. package/cjs/pn-chart.cjs.entry.js +2 -3
  8. package/cjs/pn-charts-card.cjs.entry.js +2 -9
  9. package/cjs/pn-choice-button.cjs.entry.js +2 -5
  10. package/cjs/pn-customernumber-selector-option.cjs.entry.js +2 -2
  11. package/cjs/pn-customernumber-selector.cjs.entry.js +2 -2
  12. package/cjs/pn-filter-checkbox.cjs.entry.js +2 -5
  13. package/cjs/pn-find-price-result.cjs.entry.js +4 -7
  14. package/cjs/{pn-find-price-store-e0d1e412.js → pn-find-price-store-a91ce3f6.js} +1 -1
  15. package/cjs/pn-find-price.cjs.entry.js +4 -4
  16. package/cjs/pn-find-service-and-price-result.cjs.entry.js +4 -4
  17. package/cjs/{pn-find-service-and-price-store-6e26630d.js → pn-find-service-and-price-store-16a7936c.js} +1 -1
  18. package/cjs/pn-find-service-and-price.cjs.entry.js +4 -4
  19. package/cjs/pn-language-selector_9.cjs.entry.js +42 -18
  20. package/cjs/pn-line-shape.cjs.entry.js +2 -2
  21. package/cjs/pn-mainnav-link.cjs.entry.js +10 -4
  22. package/cjs/{pn-mainnav-store-8c337865.js → pn-mainnav-store-61a75ea0.js} +1 -1
  23. package/cjs/pn-market-web-components.cjs.js +3 -7
  24. package/cjs/pn-marketweb-input.cjs.entry.js +7 -2
  25. package/cjs/pn-marketweb-search.cjs.entry.js +6 -2
  26. package/cjs/pn-marketweb-sitefooter.cjs.entry.js +15 -10
  27. package/cjs/pn-marketweb-siteheader-login-button_5.cjs.entry.js +78 -70
  28. package/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js +4 -4
  29. package/cjs/{pn-marketweb-siteheader-store-5ced6902.js → pn-marketweb-siteheader-store-e29ad918.js} +1 -1
  30. package/cjs/pn-marketweb-siteheader.cjs.entry.js +38 -10
  31. package/cjs/pn-parcel-tracker.cjs.entry.js +2 -2
  32. package/cjs/pn-pex-pricefinder.cjs.entry.js +5 -2
  33. package/cjs/pn-product-card_3.cjs.entry.js +4 -15
  34. package/cjs/pn-product-pricelist-result.cjs.entry.js +3 -3
  35. package/cjs/pn-product-pricelist.cjs.entry.js +4 -4
  36. package/cjs/pn-product-tile-info_2.cjs.entry.js +3 -10
  37. package/cjs/pn-product-tile.cjs.entry.js +2 -2
  38. package/cjs/pn-profile-modal-customernumber.cjs.entry.js +2 -2
  39. package/cjs/pn-profile-modal-profile.cjs.entry.js +4 -4
  40. package/cjs/{pn-profile-modal-store-947b08ae.js → pn-profile-modal-store-6117e304.js} +1 -1
  41. package/cjs/pn-profile-modal-type.cjs.entry.js +4 -4
  42. package/cjs/pn-profile-modal.cjs.entry.js +4 -4
  43. package/cjs/pn-profile-selector-option.cjs.entry.js +2 -2
  44. package/cjs/pn-profile-selector.cjs.entry.js +5 -5
  45. package/cjs/pn-proxio-findprice-result.cjs.entry.js +2 -5
  46. package/cjs/pn-proxio-findprice.cjs.entry.js +4 -4
  47. package/cjs/pn-proxio-pricegroup.cjs.entry.js +5 -3
  48. package/cjs/pn-proxio-productcard_4.cjs.entry.js +5 -12
  49. package/cjs/pn-quick-cta.cjs.entry.js +2 -2
  50. package/cjs/pn-quote-card.cjs.entry.js +3 -2
  51. package/cjs/pn-share-item.cjs.entry.js +22 -0
  52. package/cjs/pn-share.cjs.entry.js +64 -0
  53. package/cjs/pn-sidenav-level.cjs.entry.js +4 -4
  54. package/cjs/pn-sidenav-link.cjs.entry.js +12 -4
  55. package/cjs/{pn-sidenav-store-d2389306.js → pn-sidenav-store-d9bd9e00.js} +1 -1
  56. package/cjs/pn-sidenav-togglebutton.cjs.entry.js +5 -4
  57. package/cjs/pn-sidenav.cjs.entry.js +6 -4
  58. package/cjs/pn-site-footer_2.cjs.entry.js +4 -3
  59. package/cjs/pn-spotlight.cjs.entry.js +2 -2
  60. package/cjs/pn-stats-info-data.cjs.entry.js +8 -8
  61. package/cjs/pn-stats-info.cjs.entry.js +2 -2
  62. package/cjs/pn-teaser-card.cjs.entry.js +4 -3
  63. package/cjs/pn-titletag.cjs.entry.js +4 -2
  64. package/collection/collection-manifest.json +4 -2
  65. package/collection/components/cards/pn-quote-card/pn-line-shape/pn-line-shape.js +11 -12
  66. package/collection/components/cards/pn-quote-card/pn-quote-card.js +79 -68
  67. package/collection/components/cards/pn-teaser-card/pn-teaser-card.js +113 -109
  68. package/collection/components/charts/pn-chart/pn-chart.js +74 -83
  69. package/collection/components/charts/pn-charts-card/pn-charts-card.js +146 -142
  70. package/collection/components/cta/pn-parcel-tracker/pn-parcel-tracker.js +128 -133
  71. package/collection/components/cta/pn-quick-cta/pn-quick-cta.js +49 -51
  72. package/collection/components/cta/pn-share/pn-share-item.css +42 -0
  73. package/collection/components/cta/pn-share/pn-share-item.js +61 -0
  74. package/collection/components/cta/pn-share/pn-share.css +23 -0
  75. package/collection/components/cta/pn-share/pn-share.js +91 -0
  76. package/collection/components/cta/pn-share/pn-share.stories.js +22 -0
  77. package/collection/components/cta/pn-share/translations.js +17 -0
  78. package/collection/components/cta/pn-spotlight/pn-spotlight.js +51 -51
  79. package/collection/components/data-visualization/pn-stats-info/pn-stats-info-data/pn-stats-info-data.js +115 -120
  80. package/collection/components/data-visualization/pn-stats-info/pn-stats-info.js +79 -82
  81. package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar-level.js +87 -93
  82. package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar.js +195 -193
  83. package/collection/components/input/pn-choice-button/pn-choice-button.js +137 -145
  84. package/collection/components/input/pn-filter-checkbox/pn-filter-checkbox.js +122 -128
  85. package/collection/components/input/pn-marketweb-input/pn-marketweb-input.js +355 -347
  86. package/collection/components/input/pn-marketweb-search/pn-marketweb-search.js +260 -258
  87. package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter-types.js +3 -0
  88. package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js +221 -201
  89. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-button.js +29 -34
  90. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-linklist.js +101 -101
  91. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-links.js +105 -110
  92. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-mypage-button.js +45 -51
  93. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.js +245 -228
  94. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js +256 -259
  95. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.js +172 -170
  96. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js +75 -84
  97. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +560 -509
  98. package/collection/components/minor/pn-titletag/pn-titletag.js +49 -51
  99. package/collection/components/navigation/pn-language-selector/pn-language-selector-option.js +123 -119
  100. package/collection/components/navigation/pn-language-selector/pn-language-selector.js +64 -71
  101. package/collection/components/navigation/pn-mainnav/pn-mainnav-level.js +58 -58
  102. package/collection/components/navigation/pn-mainnav/pn-mainnav-link.js +97 -92
  103. package/collection/components/navigation/pn-mainnav/pn-mainnav-list.js +33 -39
  104. package/collection/components/navigation/pn-mainnav/pn-mainnav.js +183 -182
  105. package/collection/components/navigation/pn-sidenav/pn-sidenav-level.js +22 -29
  106. package/collection/components/navigation/pn-sidenav/pn-sidenav-link.js +134 -128
  107. package/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.js +34 -39
  108. package/collection/components/navigation/pn-sidenav/pn-sidenav.js +66 -71
  109. package/collection/components/navigation/pn-site-footer/pn-site-footer-col.js +29 -34
  110. package/collection/components/navigation/pn-site-footer/pn-site-footer.js +75 -68
  111. package/collection/components/navigation/pn-site-selector/pn-site-selector-item.js +89 -85
  112. package/collection/components/navigation/pn-site-selector/pn-site-selector.js +73 -73
  113. package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.js +67 -68
  114. package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.js +90 -90
  115. package/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.js +79 -85
  116. package/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.js +188 -182
  117. package/collection/components/profile/pn-profile-modal/pn-profile-modal-type.js +84 -91
  118. package/collection/components/profile/pn-profile-modal/pn-profile-modal.js +115 -116
  119. package/collection/components/profile/pn-profile-selector/pn-profile-selector-option.js +67 -68
  120. package/collection/components/profile/pn-profile-selector/pn-profile-selector.js +76 -78
  121. package/collection/components/utilities/pn-breakpoints/pn-breakpoints.js +42 -48
  122. package/collection/components/widgets/pn-find-price/pn-find-price-result.js +179 -163
  123. package/collection/components/widgets/pn-find-price/pn-find-price.js +113 -99
  124. package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.js +67 -66
  125. package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.js +148 -133
  126. package/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.js +102 -87
  127. package/collection/components/widgets/pn-product-card/pn-product-card-info.js +94 -92
  128. package/collection/components/widgets/pn-product-card/pn-product-card-price.js +131 -138
  129. package/collection/components/widgets/pn-product-card/pn-product-card.js +21 -12
  130. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.js +108 -101
  131. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.js +140 -137
  132. package/collection/components/widgets/pn-product-tile/pn-product-tile-info.js +62 -70
  133. package/collection/components/widgets/pn-product-tile/pn-product-tile-price.js +83 -87
  134. package/collection/components/widgets/pn-product-tile/pn-product-tile.js +16 -12
  135. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.js +188 -187
  136. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.js +131 -117
  137. package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.js +145 -130
  138. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.js +82 -87
  139. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.js +57 -55
  140. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-pricelink.js +61 -70
  141. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.js +20 -12
  142. package/custom-elements/index.d.ts +471 -0
  143. package/custom-elements/index.js +30034 -0
  144. package/esm/{index-c118284d.js → index-5397620b.js} +279 -808
  145. package/esm/{index-7f77b0ba.js → index-7b21ecff.js} +1 -1
  146. package/esm/loader.js +3 -4
  147. package/esm/pn-bonus-progressbar-level.entry.js +2 -2
  148. package/esm/pn-bonus-progressbar.entry.js +2 -2
  149. package/esm/pn-breakpoints.entry.js +2 -2
  150. package/esm/pn-chart.entry.js +2 -3
  151. package/esm/pn-charts-card.entry.js +2 -9
  152. package/esm/pn-choice-button.entry.js +2 -5
  153. package/esm/pn-customernumber-selector-option.entry.js +2 -2
  154. package/esm/pn-customernumber-selector.entry.js +2 -2
  155. package/esm/pn-filter-checkbox.entry.js +2 -5
  156. package/esm/pn-find-price-result.entry.js +4 -7
  157. package/esm/{pn-find-price-store-e13b6651.js → pn-find-price-store-bde5071d.js} +1 -1
  158. package/esm/pn-find-price.entry.js +4 -4
  159. package/esm/pn-find-service-and-price-result.entry.js +4 -4
  160. package/esm/{pn-find-service-and-price-store-f09ca219.js → pn-find-service-and-price-store-65df46a0.js} +1 -1
  161. package/esm/pn-find-service-and-price.entry.js +4 -4
  162. package/esm/pn-language-selector_9.entry.js +42 -18
  163. package/esm/pn-line-shape.entry.js +2 -2
  164. package/esm/pn-mainnav-link.entry.js +10 -4
  165. package/{components/pn-mainnav-store.js → esm/pn-mainnav-store-28571e54.js} +1 -1
  166. package/esm/pn-market-web-components.js +3 -4
  167. package/esm/pn-marketweb-input.entry.js +7 -2
  168. package/esm/pn-marketweb-search.entry.js +6 -2
  169. package/esm/pn-marketweb-sitefooter.entry.js +15 -10
  170. package/esm/pn-marketweb-siteheader-login-button_5.entry.js +78 -70
  171. package/esm/pn-marketweb-siteheader-login-linklist.entry.js +4 -4
  172. package/esm/{pn-marketweb-siteheader-store-9df5290d.js → pn-marketweb-siteheader-store-cd0a1dab.js} +1 -1
  173. package/esm/pn-marketweb-siteheader.entry.js +38 -10
  174. package/esm/pn-parcel-tracker.entry.js +2 -2
  175. package/esm/pn-pex-pricefinder.entry.js +5 -2
  176. package/esm/pn-product-card_3.entry.js +4 -15
  177. package/esm/pn-product-pricelist-result.entry.js +3 -3
  178. package/esm/pn-product-pricelist.entry.js +4 -4
  179. package/esm/pn-product-tile-info_2.entry.js +3 -10
  180. package/esm/pn-product-tile.entry.js +2 -2
  181. package/esm/pn-profile-modal-customernumber.entry.js +2 -2
  182. package/esm/pn-profile-modal-profile.entry.js +4 -4
  183. package/{components/pn-profile-modal-store.js → esm/pn-profile-modal-store-ae9e0d5a.js} +1 -1
  184. package/esm/pn-profile-modal-type.entry.js +4 -4
  185. package/esm/pn-profile-modal.entry.js +4 -4
  186. package/esm/pn-profile-selector-option.entry.js +2 -2
  187. package/esm/pn-profile-selector.entry.js +5 -5
  188. package/esm/pn-proxio-findprice-result.entry.js +2 -5
  189. package/esm/pn-proxio-findprice.entry.js +4 -4
  190. package/esm/pn-proxio-pricegroup.entry.js +5 -3
  191. package/esm/pn-proxio-productcard_4.entry.js +5 -12
  192. package/esm/pn-quick-cta.entry.js +2 -2
  193. package/esm/pn-quote-card.entry.js +3 -2
  194. package/esm/pn-share-item.entry.js +18 -0
  195. package/esm/pn-share.entry.js +60 -0
  196. package/esm/pn-sidenav-level.entry.js +4 -4
  197. package/esm/pn-sidenav-link.entry.js +12 -4
  198. package/{components/pn-sidenav-store.js → esm/pn-sidenav-store-50b186d6.js} +1 -1
  199. package/esm/pn-sidenav-togglebutton.entry.js +5 -4
  200. package/esm/pn-sidenav.entry.js +6 -4
  201. package/esm/pn-site-footer_2.entry.js +4 -3
  202. package/esm/pn-spotlight.entry.js +2 -2
  203. package/esm/pn-stats-info-data.entry.js +8 -8
  204. package/esm/pn-stats-info.entry.js +2 -2
  205. package/esm/pn-teaser-card.entry.js +4 -3
  206. package/esm/pn-titletag.entry.js +4 -2
  207. package/esm/polyfills/css-shim.js +1 -1
  208. package/esm-es5/MarketWebContextService-872043cc.js +1 -1
  209. package/esm-es5/convert-f6377d13.js +1 -1
  210. package/esm-es5/index-5397620b.js +1 -0
  211. package/esm-es5/{index-7f77b0ba.js → index-7b21ecff.js} +1 -1
  212. package/esm-es5/loader.js +1 -1
  213. package/esm-es5/pn-bonus-progressbar-level.entry.js +1 -1
  214. package/esm-es5/pn-bonus-progressbar.entry.js +1 -1
  215. package/esm-es5/pn-breakpoints.entry.js +1 -1
  216. package/esm-es5/pn-chart.entry.js +2 -2
  217. package/esm-es5/pn-charts-card.entry.js +1 -1
  218. package/esm-es5/pn-choice-button.entry.js +1 -1
  219. package/esm-es5/pn-customernumber-selector-option.entry.js +1 -1
  220. package/esm-es5/pn-customernumber-selector.entry.js +1 -1
  221. package/esm-es5/pn-filter-checkbox.entry.js +1 -1
  222. package/esm-es5/pn-find-price-result.entry.js +1 -1
  223. package/esm-es5/{pn-find-price-store-e13b6651.js → pn-find-price-store-bde5071d.js} +1 -1
  224. package/esm-es5/pn-find-price.entry.js +1 -1
  225. package/esm-es5/pn-find-service-and-price-result.entry.js +1 -1
  226. package/esm-es5/{pn-find-service-and-price-store-f09ca219.js → pn-find-service-and-price-store-65df46a0.js} +1 -1
  227. package/esm-es5/pn-find-service-and-price.entry.js +1 -1
  228. package/esm-es5/pn-language-selector_9.entry.js +1 -1
  229. package/esm-es5/pn-line-shape.entry.js +1 -1
  230. package/esm-es5/pn-mainnav-link.entry.js +1 -1
  231. package/esm-es5/{pn-mainnav-store-5d91f523.js → pn-mainnav-store-28571e54.js} +1 -1
  232. package/esm-es5/pn-market-web-components.js +1 -1
  233. package/esm-es5/pn-marketweb-input.entry.js +1 -1
  234. package/esm-es5/pn-marketweb-search.entry.js +1 -1
  235. package/esm-es5/pn-marketweb-sitefooter.entry.js +1 -1
  236. package/esm-es5/pn-marketweb-siteheader-login-button_5.entry.js +1 -1
  237. package/esm-es5/pn-marketweb-siteheader-login-linklist.entry.js +1 -1
  238. package/esm-es5/pn-marketweb-siteheader-store-cd0a1dab.js +1 -0
  239. package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
  240. package/esm-es5/pn-parcel-tracker.entry.js +1 -1
  241. package/esm-es5/pn-pex-pricefinder.entry.js +1 -1
  242. package/esm-es5/pn-product-card_3.entry.js +1 -1
  243. package/esm-es5/pn-product-pricelist-result.entry.js +1 -1
  244. package/esm-es5/pn-product-pricelist.entry.js +1 -1
  245. package/esm-es5/pn-product-tile-info_2.entry.js +1 -1
  246. package/esm-es5/pn-product-tile.entry.js +1 -1
  247. package/esm-es5/pn-profile-modal-customernumber.entry.js +1 -1
  248. package/esm-es5/pn-profile-modal-profile.entry.js +1 -1
  249. package/esm-es5/{pn-profile-modal-store-81f53310.js → pn-profile-modal-store-ae9e0d5a.js} +1 -1
  250. package/esm-es5/pn-profile-modal-type.entry.js +1 -1
  251. package/esm-es5/pn-profile-modal.entry.js +1 -1
  252. package/esm-es5/pn-profile-selector-option.entry.js +1 -1
  253. package/esm-es5/pn-profile-selector.entry.js +1 -1
  254. package/esm-es5/pn-proxio-findprice-result.entry.js +1 -1
  255. package/esm-es5/pn-proxio-findprice.entry.js +1 -1
  256. package/esm-es5/pn-proxio-pricegroup.entry.js +1 -1
  257. package/esm-es5/pn-proxio-productcard_4.entry.js +1 -1
  258. package/esm-es5/pn-quick-cta.entry.js +1 -1
  259. package/esm-es5/pn-quote-card.entry.js +1 -1
  260. package/esm-es5/pn-share-item.entry.js +1 -0
  261. package/esm-es5/pn-share.entry.js +1 -0
  262. package/esm-es5/pn-sidenav-level.entry.js +1 -1
  263. package/esm-es5/pn-sidenav-link.entry.js +1 -1
  264. package/esm-es5/{pn-sidenav-store-94be19c8.js → pn-sidenav-store-50b186d6.js} +1 -1
  265. package/esm-es5/pn-sidenav-togglebutton.entry.js +1 -1
  266. package/esm-es5/pn-sidenav.entry.js +1 -1
  267. package/esm-es5/pn-site-footer_2.entry.js +1 -1
  268. package/esm-es5/pn-spotlight.entry.js +1 -1
  269. package/esm-es5/pn-stats-info-data.entry.js +1 -1
  270. package/esm-es5/pn-stats-info.entry.js +1 -1
  271. package/esm-es5/pn-teaser-card.entry.js +1 -1
  272. package/esm-es5/pn-titletag.entry.js +1 -1
  273. package/package.json +5 -7
  274. package/pn-market-web-components/{p-6f1d6a1a.system.js → p-02ea55ad.system.js} +1 -1
  275. package/pn-market-web-components/p-0796f9b2.entry.js +1 -0
  276. package/pn-market-web-components/p-0862b4b6.entry.js +1 -0
  277. package/pn-market-web-components/p-086a72ca.system.entry.js +1 -0
  278. package/pn-market-web-components/{p-a1a58fe4.js → p-0cacf9fb.js} +1 -1
  279. package/pn-market-web-components/p-10eafcd7.entry.js +1 -0
  280. package/pn-market-web-components/{p-4bd540a4.system.entry.js → p-110e50b3.system.entry.js} +1 -1
  281. package/pn-market-web-components/{p-f7cb2ef9.system.entry.js → p-1151bf60.system.entry.js} +1 -1
  282. package/pn-market-web-components/p-138b1e76.entry.js +1 -0
  283. package/pn-market-web-components/{p-02632961.system.entry.js → p-13baed17.system.entry.js} +1 -1
  284. package/pn-market-web-components/p-15112837.entry.js +1 -0
  285. package/pn-market-web-components/p-16c4bc50.entry.js +1 -0
  286. package/pn-market-web-components/p-17c4004f.entry.js +1 -0
  287. package/pn-market-web-components/{p-0c46847e.system.entry.js → p-1c38553b.system.entry.js} +1 -1
  288. package/pn-market-web-components/p-1ca41ab1.entry.js +1 -0
  289. package/pn-market-web-components/{p-1fb4eae4.system.entry.js → p-1ce871c5.system.entry.js} +1 -1
  290. package/pn-market-web-components/p-21c01c47.entry.js +1 -0
  291. package/pn-market-web-components/p-227e1d46.entry.js +1 -0
  292. package/pn-market-web-components/p-2423d620.system.entry.js +1 -0
  293. package/pn-market-web-components/p-249964b5.entry.js +1 -0
  294. package/pn-market-web-components/p-25496649.system.entry.js +1 -0
  295. package/pn-market-web-components/{p-abfed655.system.entry.js → p-2718b89a.system.entry.js} +1 -1
  296. package/pn-market-web-components/{p-7d463116.system.entry.js → p-28c4b4d9.system.entry.js} +1 -1
  297. package/pn-market-web-components/{p-853e6559.system.entry.js → p-290d5824.system.entry.js} +1 -1
  298. package/pn-market-web-components/p-2a598ee8.entry.js +1 -0
  299. package/pn-market-web-components/p-2c7ba802.entry.js +1 -0
  300. package/pn-market-web-components/p-2da8e5e8.system.entry.js +1 -0
  301. package/pn-market-web-components/p-2e3bde56.entry.js +1 -0
  302. package/pn-market-web-components/p-31fd7a95.system.js +1 -1
  303. package/pn-market-web-components/p-35fcd76c.system.entry.js +1 -0
  304. package/pn-market-web-components/p-36654f2a.system.js +1 -0
  305. package/pn-market-web-components/{p-e4961116.system.entry.js → p-36a1b8e1.system.entry.js} +1 -1
  306. package/pn-market-web-components/{p-13d2d138.system.js → p-3738a2df.system.js} +1 -1
  307. package/pn-market-web-components/p-381b3ec0.entry.js +1 -0
  308. package/pn-market-web-components/p-381c034b.entry.js +1 -0
  309. package/pn-market-web-components/p-3969ec4d.entry.js +1 -0
  310. package/pn-market-web-components/{p-c576ac3e.system.entry.js → p-447ef543.system.entry.js} +1 -1
  311. package/pn-market-web-components/{p-8ca063a9.system.entry.js → p-450cbe76.system.entry.js} +1 -1
  312. package/pn-market-web-components/p-479b970a.entry.js +1 -0
  313. package/pn-market-web-components/p-499bb3ac.entry.js +1 -0
  314. package/pn-market-web-components/{p-589a9a4c.system.entry.js → p-4a03854b.system.entry.js} +1 -1
  315. package/pn-market-web-components/p-4a928837.entry.js +1 -0
  316. package/pn-market-web-components/p-4bef1bf3.entry.js +1 -0
  317. package/pn-market-web-components/{p-9f95b3c9.system.entry.js → p-4f67721e.system.entry.js} +1 -1
  318. package/pn-market-web-components/p-557328e3.system.entry.js +1 -0
  319. package/pn-market-web-components/{p-8fee0115.system.entry.js → p-58a57436.system.entry.js} +1 -1
  320. package/pn-market-web-components/p-58e8d7d5.js +1 -0
  321. package/pn-market-web-components/p-59be826b.system.entry.js +1 -0
  322. package/pn-market-web-components/p-61dbe832.entry.js +1 -0
  323. package/pn-market-web-components/{p-b890f3f9.system.entry.js → p-625fb7fb.system.entry.js} +1 -1
  324. package/pn-market-web-components/p-67380aa4.entry.js +1 -0
  325. package/pn-market-web-components/p-67887512.system.js +1 -0
  326. package/pn-market-web-components/{p-4d561de4.system.entry.js → p-7079df88.system.entry.js} +1 -1
  327. package/pn-market-web-components/p-715d1ef7.entry.js +1 -0
  328. package/pn-market-web-components/{p-5a506356.system.entry.js → p-723b9901.system.entry.js} +1 -1
  329. package/pn-market-web-components/{p-545a40a7.system.entry.js → p-74d35edf.system.entry.js} +1 -1
  330. package/pn-market-web-components/p-756b0a84.entry.js +1 -0
  331. package/pn-market-web-components/{p-6d050c3a.system.entry.js → p-7b9fb94f.system.entry.js} +1 -1
  332. package/pn-market-web-components/{p-5b5f4a52.system.entry.js → p-7cc57591.system.entry.js} +1 -1
  333. package/pn-market-web-components/p-7ce41d14.entry.js +1 -0
  334. package/pn-market-web-components/p-7fd8b012.entry.js +1 -0
  335. package/pn-market-web-components/{p-2145d5e0.system.entry.js → p-80dce81e.system.entry.js} +1 -1
  336. package/pn-market-web-components/{p-68324e6f.system.entry.js → p-8117b79e.system.entry.js} +1 -1
  337. package/pn-market-web-components/p-81d764a0.entry.js +1 -0
  338. package/pn-market-web-components/{p-d34c9be2.system.js → p-825b8fb8.system.js} +1 -1
  339. package/pn-market-web-components/p-84193b02.system.entry.js +1 -0
  340. package/pn-market-web-components/{p-c5727e83.js → p-84699999.js} +1 -1
  341. package/pn-market-web-components/{p-ecaad0c1.js → p-86f06e26.js} +1 -1
  342. package/pn-market-web-components/p-8766fa86.system.js +1 -1
  343. package/pn-market-web-components/p-88185835.entry.js +1 -0
  344. package/pn-market-web-components/p-885bc8d7.system.entry.js +1 -0
  345. package/pn-market-web-components/p-8afa354b.system.entry.js +1 -0
  346. package/pn-market-web-components/p-8b684578.entry.js +1 -0
  347. package/pn-market-web-components/p-8e146205.entry.js +1 -0
  348. package/pn-market-web-components/p-8e38c337.entry.js +1 -0
  349. package/pn-market-web-components/p-8e4d292f.entry.js +1 -0
  350. package/pn-market-web-components/p-8ef45246.entry.js +1 -0
  351. package/pn-market-web-components/p-9344cd23.js +1 -0
  352. package/pn-market-web-components/{p-e737c51d.system.entry.js → p-93cecc43.system.entry.js} +1 -1
  353. package/pn-market-web-components/{p-3a450371.system.js → p-94958580.system.js} +1 -1
  354. package/pn-market-web-components/p-951861fa.entry.js +1 -0
  355. package/pn-market-web-components/p-98a7ddd1.system.entry.js +1 -0
  356. package/pn-market-web-components/p-996d8a6a.entry.js +1 -0
  357. package/pn-market-web-components/p-9b855b11.entry.js +24 -0
  358. package/pn-market-web-components/{p-6a4ae9af.system.entry.js → p-9c3de760.system.entry.js} +1 -1
  359. package/pn-market-web-components/{p-8cefd900.system.entry.js → p-9edaf6b6.system.entry.js} +1 -1
  360. package/pn-market-web-components/p-a247058b.system.entry.js +1 -0
  361. package/pn-market-web-components/{p-6e43a937.system.entry.js → p-a275bffb.system.entry.js} +1 -1
  362. package/pn-market-web-components/p-a5171cb9.system.entry.js +1 -0
  363. package/pn-market-web-components/{p-396b254a.system.js → p-a5f75560.system.js} +1 -1
  364. package/pn-market-web-components/p-a7bb94a0.entry.js +1 -0
  365. package/pn-market-web-components/p-a921d3fd.system.entry.js +1 -0
  366. package/pn-market-web-components/{p-9010c32a.system.entry.js → p-aa271997.system.entry.js} +1 -1
  367. package/pn-market-web-components/{p-441249d9.system.js → p-add7d76c.system.js} +1 -1
  368. package/pn-market-web-components/{p-ca1f0abc.system.entry.js → p-af415c1a.system.entry.js} +1 -1
  369. package/pn-market-web-components/p-b3bf353f.entry.js +1 -0
  370. package/pn-market-web-components/p-b5fde443.entry.js +1 -0
  371. package/pn-market-web-components/{p-ffe18938.system.entry.js → p-b88337dd.system.entry.js} +1 -1
  372. package/pn-market-web-components/p-b9a84e67.entry.js +1 -0
  373. package/pn-market-web-components/p-bb626ab4.js +1 -0
  374. package/pn-market-web-components/p-bd22aaac.entry.js +1 -0
  375. package/pn-market-web-components/p-bfe239ca.js +1 -1
  376. package/pn-market-web-components/{p-5a41c1bb.system.entry.js → p-c62a91ba.system.entry.js} +1 -1
  377. package/pn-market-web-components/p-c714a790.entry.js +1 -0
  378. package/pn-market-web-components/{p-2e507907.system.entry.js → p-c9fb0f01.system.entry.js} +2 -2
  379. package/pn-market-web-components/p-d0155ddf.entry.js +1 -0
  380. package/pn-market-web-components/p-d57f4246.system.entry.js +1 -0
  381. package/pn-market-web-components/p-d7e3d918.entry.js +1 -0
  382. package/pn-market-web-components/{p-ad836c55.system.js → p-dbe032f7.system.js} +1 -1
  383. package/pn-market-web-components/p-e32dc098.entry.js +1 -0
  384. package/pn-market-web-components/p-e397e11b.entry.js +1 -0
  385. package/pn-market-web-components/{p-ef721555.system.entry.js → p-e6fa11ad.system.entry.js} +1 -1
  386. package/pn-market-web-components/p-e9576f26.entry.js +1 -0
  387. package/pn-market-web-components/p-e9fe5c54.entry.js +1 -0
  388. package/pn-market-web-components/p-ecdf2b69.system.entry.js +1 -0
  389. package/pn-market-web-components/p-ecf712bb.system.entry.js +1 -0
  390. package/pn-market-web-components/p-ee589138.entry.js +1 -0
  391. package/pn-market-web-components/{p-939b5792.system.entry.js → p-f312ff98.system.entry.js} +1 -1
  392. package/pn-market-web-components/{p-8666d14d.js → p-f58bde56.js} +1 -1
  393. package/pn-market-web-components/p-f61342c3.js +1 -0
  394. package/pn-market-web-components/{p-4b85fd2b.system.entry.js → p-f6ea7c38.system.entry.js} +1 -1
  395. package/pn-market-web-components/p-f774e2cc.entry.js +1 -0
  396. package/pn-market-web-components/{p-658f6ff7.system.entry.js → p-f782ce94.system.entry.js} +1 -1
  397. package/pn-market-web-components/{p-1d50340b.system.entry.js → p-fc1083d2.system.entry.js} +1 -1
  398. package/pn-market-web-components/p-fc974bca.entry.js +1 -0
  399. package/pn-market-web-components/p-fea72975.entry.js +1 -0
  400. package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  401. package/pn-market-web-components/pn-market-web-components.js +1 -2
  402. package/types/components/cta/pn-share/pn-share-item.d.ts +6 -0
  403. package/types/components/cta/pn-share/pn-share.d.ts +10 -0
  404. package/types/components/cta/pn-share/translations.d.ts +17 -0
  405. package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.d.ts +3 -2
  406. package/types/components.d.ts +55 -53
  407. package/types/stencil-public-runtime.d.ts +7 -79
  408. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/LICENSE.md +27 -0
  409. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/bin/stencil +57 -0
  410. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/config-flags.d.ts +122 -0
  411. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.cjs +2609 -0
  412. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.d.ts +19 -0
  413. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.js +2583 -0
  414. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/package.json +14 -0
  415. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.d.ts +24 -0
  416. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.dom.d.ts +18505 -0
  417. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.dom.iterable.d.ts +341 -0
  418. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.collection.d.ts +150 -0
  419. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.core.d.ts +559 -0
  420. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.d.ts +30 -0
  421. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.generator.d.ts +79 -0
  422. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.iterable.d.ts +498 -0
  423. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.promise.d.ts +83 -0
  424. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.proxy.d.ts +130 -0
  425. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.reflect.d.ts +146 -0
  426. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.symbol.d.ts +48 -0
  427. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.symbol.wellknown.d.ts +324 -0
  428. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2016.array.include.d.ts +118 -0
  429. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2016.d.ts +22 -0
  430. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2016.full.d.ts +25 -0
  431. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.d.ts +26 -0
  432. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.full.d.ts +25 -0
  433. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.intl.d.ts +47 -0
  434. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.object.d.ts +51 -0
  435. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.sharedmemory.d.ts +137 -0
  436. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.string.d.ts +47 -0
  437. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.typedarrays.d.ts +55 -0
  438. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.asyncgenerator.d.ts +79 -0
  439. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.asynciterable.d.ts +45 -0
  440. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.d.ts +26 -0
  441. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.full.d.ts +25 -0
  442. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.intl.d.ts +73 -0
  443. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.promise.d.ts +32 -0
  444. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.regexp.d.ts +39 -0
  445. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.array.d.ts +85 -0
  446. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.d.ts +26 -0
  447. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.full.d.ts +25 -0
  448. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.intl.d.ts +25 -0
  449. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.object.d.ts +35 -0
  450. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.string.d.ts +39 -0
  451. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.symbol.d.ts +26 -0
  452. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.bigint.d.ts +730 -0
  453. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.d.ts +29 -0
  454. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.date.d.ts +44 -0
  455. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.full.d.ts +25 -0
  456. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.intl.d.ts +433 -0
  457. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.number.d.ts +30 -0
  458. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.promise.d.ts +49 -0
  459. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.sharedmemory.d.ts +99 -0
  460. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.string.d.ts +30 -0
  461. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.symbol.wellknown.d.ts +39 -0
  462. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.d.ts +25 -0
  463. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.full.d.ts +25 -0
  464. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.intl.d.ts +154 -0
  465. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.promise.d.ts +50 -0
  466. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.string.d.ts +35 -0
  467. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.weakref.d.ts +75 -0
  468. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.array.d.ts +123 -0
  469. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.d.ts +27 -0
  470. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.error.d.ts +75 -0
  471. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.full.d.ts +25 -0
  472. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.intl.d.ts +111 -0
  473. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.object.d.ts +28 -0
  474. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.sharedmemory.d.ts +27 -0
  475. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.string.d.ts +27 -0
  476. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es5.d.ts +4526 -0
  477. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es6.d.ts +25 -0
  478. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.d.ts +22 -0
  479. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.full.d.ts +25 -0
  480. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.intl.d.ts +30 -0
  481. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.promise.d.ts +43 -0
  482. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.string.d.ts +35 -0
  483. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.weakref.d.ts +75 -0
  484. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.scripthost.d.ts +327 -0
  485. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.webworker.d.ts +6192 -0
  486. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.webworker.importscripts.d.ts +26 -0
  487. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.webworker.iterable.d.ts +175 -0
  488. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/package.json +8 -0
  489. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.d.ts +73 -0
  490. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.js +70673 -0
  491. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.min.js +4 -0
  492. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/sys/in-memory-fs.d.ts +218 -0
  493. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/transpile.d.ts +32 -0
  494. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dependencies.json +120 -0
  495. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/app-error.d.ts +18 -0
  496. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/events.d.ts +6 -0
  497. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-components.d.ts +1 -0
  498. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-external-styles.d.ts +1 -0
  499. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-images.d.ts +1 -0
  500. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-inline-styles.d.ts +1 -0
  501. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-util.d.ts +9 -0
  502. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-window.d.ts +10 -0
  503. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/index.d.ts +6 -0
  504. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/index.js +808 -0
  505. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/logger.d.ts +5 -0
  506. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/package.json +8 -0
  507. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/progress.d.ts +3 -0
  508. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/status.d.ts +4 -0
  509. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/test/hmr-util.spec.d.ts +1 -0
  510. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/test/status.spec.d.ts +1 -0
  511. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/connector.html +6 -0
  512. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/index.d.ts +3 -0
  513. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/index.js +264 -0
  514. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/open-in-editor-api.js +1 -0
  515. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/package.json +8 -0
  516. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/server-process.js +1799 -0
  517. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/server-worker-thread.js +39 -0
  518. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/static/favicon.ico +0 -0
  519. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/templates/directory-index.html +132 -0
  520. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/templates/initial-load.html +160 -0
  521. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/visualstudio.vbs +82 -0
  522. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/ws.js +1 -0
  523. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/xdg-open +1066 -0
  524. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/index.cjs +92 -0
  525. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/index.d.ts +4 -0
  526. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/index.js +88 -0
  527. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/package.json +15 -0
  528. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/css-shim.js +4 -0
  529. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/dom.js +73 -0
  530. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/index.js +3371 -0
  531. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/package.json +8 -0
  532. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/patch-browser.js +142 -0
  533. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/patch-esm.js +23 -0
  534. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/core-js.js +11 -0
  535. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/css-shim.js +1 -0
  536. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/dom.js +79 -0
  537. package/{loader/index.js → umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/es5-html-element.js} +1 -4
  538. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/index.js +34 -0
  539. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/system.js +6 -0
  540. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/shadow-css.js +387 -0
  541. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/index.js +1143 -0
  542. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/package.json +7 -0
  543. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/runner.d.ts +217 -0
  544. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/runner.js +777 -0
  545. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/shadow-css.js +143 -0
  546. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/index.d.ts +4 -0
  547. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/index.js +2 -0
  548. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/package.json +9 -0
  549. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.cjs +1 -0
  550. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.d.ts +51 -0
  551. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.js +16 -0
  552. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-ext-modules.d.ts +41 -0
  553. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-private.d.ts +2268 -0
  554. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-compiler.d.ts +2338 -0
  555. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-docs.d.ts +140 -0
  556. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-runtime.d.ts +1637 -0
  557. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/index.js +1105 -0
  558. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/package.json +7 -0
  559. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/shadow-css.js +143 -0
  560. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.cjs +4858 -0
  561. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.d.ts +1020 -0
  562. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.js +4822 -0
  563. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/package.json +15 -0
  564. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/package.json +190 -0
  565. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/readme.md +99 -0
  566. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/assets/favicon.ico +0 -0
  567. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/assets/logo.png +0 -0
  568. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/app.css +1 -0
  569. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/app.esm.js +1 -0
  570. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/app.js +33 -0
  571. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/index.esm.js +0 -0
  572. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-081b0641.js +1 -0
  573. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-227a1e18.entry.js +1 -0
  574. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-2c298727.entry.js +1 -0
  575. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-5479268c.entry.js +1 -0
  576. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-573ec8a4.entry.js +1 -0
  577. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-6ba08604.entry.js +1 -0
  578. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-6bc63295.entry.js +1 -0
  579. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-7a3759fd.entry.js +1 -0
  580. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-7b4e3ba7.js +1 -0
  581. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-988eb362.css +1 -0
  582. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-9b6a9315.js +1 -0
  583. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-b4cc611c.entry.js +1 -0
  584. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-d1bf53f5.entry.js +1 -0
  585. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-e2efe0df.js +1 -0
  586. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-e8ca6d97.entry.js +1 -0
  587. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-ec2f13e0.entry.js +1 -0
  588. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-f0b99977.entry.js +1 -0
  589. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-f4745c2f.entry.js +1 -0
  590. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-fbbae598.js +1 -0
  591. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/host.config.json +15 -0
  592. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/index.html +1 -0
  593. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/manifest.json +13 -0
  594. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/connector.js +2 -0
  595. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/index.js +661 -0
  596. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/local-connector.js +2 -0
  597. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/package.json +15 -0
  598. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/pixel-match.js +2807 -0
  599. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/autoprefixer.js +8 -0
  600. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/glob.js +1 -0
  601. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/graceful-fs.js +1 -0
  602. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/index.d.ts +22 -0
  603. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/index.js +6121 -0
  604. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/node-fetch.js +1 -0
  605. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/package.json +8 -0
  606. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/prompts.js +1 -0
  607. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/worker.js +52 -0
  608. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/index.d.ts +12 -0
  609. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/index.js +4155 -0
  610. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-config.d.ts +16 -0
  611. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-environment.d.ts +15 -0
  612. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-preprocessor.d.ts +59 -0
  613. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-runner.d.ts +10 -0
  614. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-screenshot.d.ts +2 -0
  615. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-serializer.d.ts +4 -0
  616. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-setup-test-framework.d.ts +1 -0
  617. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-config.spec.d.ts +1 -0
  618. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-preprocessor.spec.d.ts +1 -0
  619. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-runner.spec.d.ts +1 -0
  620. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-serializer.spec.d.ts +1 -0
  621. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-environment.js +3 -0
  622. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-preprocessor.js +3 -0
  623. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-preset.js +37 -0
  624. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-runner.js +3 -0
  625. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-setuptestframework.js +3 -0
  626. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/attributes.d.ts +14 -0
  627. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/class-list.d.ts +12 -0
  628. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/events.d.ts +21 -0
  629. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/html.d.ts +12 -0
  630. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/index.d.ts +23 -0
  631. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/screenshot.d.ts +5 -0
  632. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/text.d.ts +4 -0
  633. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/mock-fetch.d.ts +11 -0
  634. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/mocks.d.ts +56 -0
  635. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/package.json +8 -0
  636. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/index.d.ts +2 -0
  637. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-browser.d.ts +6 -0
  638. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-declarations.d.ts +429 -0
  639. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-element.d.ts +67 -0
  640. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-emulate.d.ts +2 -0
  641. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-events.d.ts +21 -0
  642. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-page.d.ts +2 -0
  643. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-screenshot.d.ts +4 -0
  644. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/reset-build-conditionals.d.ts +2 -0
  645. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/spec-page.d.ts +2 -0
  646. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/test/testing-utils.spec.d.ts +1 -0
  647. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/test-transpile.d.ts +2 -0
  648. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing-logger.d.ts +25 -0
  649. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing-sys.d.ts +6 -0
  650. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing-utils.d.ts +79 -0
  651. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing.d.ts +2 -0
  652. package/umd/pn-marketweb-init.js +1 -1
  653. package/umd/pn-marketweb-salesforce.js +2 -2
  654. package/components/MarketWebContextService.js +0 -316
  655. package/components/_commonjsHelpers.js +0 -32
  656. package/components/convert.js +0 -1823
  657. package/components/data.js +0 -37
  658. package/components/index.d.ts +0 -100
  659. package/components/index.js +0 -71
  660. package/components/index2.js +0 -187
  661. package/components/pn-bonus-progressbar-level.d.ts +0 -11
  662. package/components/pn-bonus-progressbar-level.js +0 -65
  663. package/components/pn-bonus-progressbar.d.ts +0 -11
  664. package/components/pn-bonus-progressbar.js +0 -128
  665. package/components/pn-breakpoints.d.ts +0 -11
  666. package/components/pn-breakpoints.js +0 -45
  667. package/components/pn-chart.d.ts +0 -11
  668. package/components/pn-chart.js +0 -22151
  669. package/components/pn-charts-card.d.ts +0 -11
  670. package/components/pn-charts-card.js +0 -51
  671. package/components/pn-choice-button.d.ts +0 -11
  672. package/components/pn-choice-button.js +0 -6
  673. package/components/pn-choice-button2.js +0 -61
  674. package/components/pn-customernumber-selector-option.d.ts +0 -11
  675. package/components/pn-customernumber-selector-option.js +0 -41
  676. package/components/pn-customernumber-selector.d.ts +0 -11
  677. package/components/pn-customernumber-selector.js +0 -77
  678. package/components/pn-filter-checkbox.d.ts +0 -11
  679. package/components/pn-filter-checkbox.js +0 -93
  680. package/components/pn-find-price-result.d.ts +0 -11
  681. package/components/pn-find-price-result.js +0 -6
  682. package/components/pn-find-price-result2.js +0 -192
  683. package/components/pn-find-price.d.ts +0 -11
  684. package/components/pn-find-price.js +0 -281
  685. package/components/pn-find-service-and-price-result.d.ts +0 -11
  686. package/components/pn-find-service-and-price-result.js +0 -6
  687. package/components/pn-find-service-and-price-result2.js +0 -96
  688. package/components/pn-find-service-and-price.d.ts +0 -11
  689. package/components/pn-find-service-and-price.js +0 -314
  690. package/components/pn-language-selector-option.d.ts +0 -11
  691. package/components/pn-language-selector-option.js +0 -6
  692. package/components/pn-language-selector-option2.js +0 -51
  693. package/components/pn-language-selector.d.ts +0 -11
  694. package/components/pn-language-selector.js +0 -6
  695. package/components/pn-language-selector2.js +0 -133
  696. package/components/pn-line-shape.d.ts +0 -11
  697. package/components/pn-line-shape.js +0 -35
  698. package/components/pn-mainnav-level.d.ts +0 -11
  699. package/components/pn-mainnav-level.js +0 -6
  700. package/components/pn-mainnav-level2.js +0 -117
  701. package/components/pn-mainnav-link.d.ts +0 -11
  702. package/components/pn-mainnav-link.js +0 -6
  703. package/components/pn-mainnav-link2.js +0 -57
  704. package/components/pn-mainnav-list.d.ts +0 -11
  705. package/components/pn-mainnav-list.js +0 -6
  706. package/components/pn-mainnav-list2.js +0 -39
  707. package/components/pn-mainnav.d.ts +0 -11
  708. package/components/pn-mainnav.js +0 -6
  709. package/components/pn-mainnav2.js +0 -120
  710. package/components/pn-marketweb-input.d.ts +0 -11
  711. package/components/pn-marketweb-input.js +0 -6
  712. package/components/pn-marketweb-input2.js +0 -102
  713. package/components/pn-marketweb-search.d.ts +0 -11
  714. package/components/pn-marketweb-search.js +0 -129
  715. package/components/pn-marketweb-sitefooter.d.ts +0 -11
  716. package/components/pn-marketweb-sitefooter.js +0 -335
  717. package/components/pn-marketweb-siteheader-login-button.d.ts +0 -11
  718. package/components/pn-marketweb-siteheader-login-button.js +0 -6
  719. package/components/pn-marketweb-siteheader-login-button2.js +0 -79
  720. package/components/pn-marketweb-siteheader-login-linklist.d.ts +0 -11
  721. package/components/pn-marketweb-siteheader-login-linklist.js +0 -6
  722. package/components/pn-marketweb-siteheader-login-linklist2.js +0 -105
  723. package/components/pn-marketweb-siteheader-login-links.d.ts +0 -11
  724. package/components/pn-marketweb-siteheader-login-links.js +0 -6
  725. package/components/pn-marketweb-siteheader-login-links2.js +0 -116
  726. package/components/pn-marketweb-siteheader-login-mypage-button.d.ts +0 -11
  727. package/components/pn-marketweb-siteheader-login-mypage-button.js +0 -6
  728. package/components/pn-marketweb-siteheader-login-mypage-button2.js +0 -36
  729. package/components/pn-marketweb-siteheader-login-profileselection.d.ts +0 -11
  730. package/components/pn-marketweb-siteheader-login-profileselection.js +0 -6
  731. package/components/pn-marketweb-siteheader-login-profileselection2.js +0 -234
  732. package/components/pn-marketweb-siteheader-login.d.ts +0 -11
  733. package/components/pn-marketweb-siteheader-login.js +0 -6
  734. package/components/pn-marketweb-siteheader-login2.js +0 -589
  735. package/components/pn-marketweb-siteheader-search.d.ts +0 -11
  736. package/components/pn-marketweb-siteheader-search.js +0 -6
  737. package/components/pn-marketweb-siteheader-search2.js +0 -131
  738. package/components/pn-marketweb-siteheader-unified-login.d.ts +0 -11
  739. package/components/pn-marketweb-siteheader-unified-login.js +0 -6
  740. package/components/pn-marketweb-siteheader-unified-login2.js +0 -52
  741. package/components/pn-marketweb-siteheader.d.ts +0 -11
  742. package/components/pn-marketweb-siteheader.js +0 -551
  743. package/components/pn-parcel-tracker.d.ts +0 -11
  744. package/components/pn-parcel-tracker.js +0 -58
  745. package/components/pn-pex-pricefinder.d.ts +0 -11
  746. package/components/pn-pex-pricefinder.js +0 -156
  747. package/components/pn-product-card-info.d.ts +0 -11
  748. package/components/pn-product-card-info.js +0 -6
  749. package/components/pn-product-card-info2.js +0 -45
  750. package/components/pn-product-card-price.d.ts +0 -11
  751. package/components/pn-product-card-price.js +0 -6
  752. package/components/pn-product-card-price2.js +0 -48
  753. package/components/pn-product-card.d.ts +0 -11
  754. package/components/pn-product-card.js +0 -6
  755. package/components/pn-product-card2.js +0 -30
  756. package/components/pn-product-pricelist-result.d.ts +0 -11
  757. package/components/pn-product-pricelist-result.js +0 -130
  758. package/components/pn-product-pricelist.d.ts +0 -11
  759. package/components/pn-product-pricelist.js +0 -259
  760. package/components/pn-product-tile-info.d.ts +0 -11
  761. package/components/pn-product-tile-info.js +0 -6
  762. package/components/pn-product-tile-info2.js +0 -38
  763. package/components/pn-product-tile-price.d.ts +0 -11
  764. package/components/pn-product-tile-price.js +0 -6
  765. package/components/pn-product-tile-price2.js +0 -42
  766. package/components/pn-product-tile.d.ts +0 -11
  767. package/components/pn-product-tile.js +0 -33
  768. package/components/pn-profile-modal-customernumber.d.ts +0 -11
  769. package/components/pn-profile-modal-customernumber.js +0 -46
  770. package/components/pn-profile-modal-profile.d.ts +0 -11
  771. package/components/pn-profile-modal-profile.js +0 -71
  772. package/components/pn-profile-modal-type.d.ts +0 -11
  773. package/components/pn-profile-modal-type.js +0 -56
  774. package/components/pn-profile-modal.d.ts +0 -11
  775. package/components/pn-profile-modal.js +0 -92
  776. package/components/pn-profile-selector-option.d.ts +0 -11
  777. package/components/pn-profile-selector-option.js +0 -41
  778. package/components/pn-profile-selector.d.ts +0 -11
  779. package/components/pn-profile-selector.js +0 -79
  780. package/components/pn-proxio-findprice-result.d.ts +0 -11
  781. package/components/pn-proxio-findprice-result.js +0 -6
  782. package/components/pn-proxio-findprice-result2.js +0 -122
  783. package/components/pn-proxio-findprice.d.ts +0 -11
  784. package/components/pn-proxio-findprice.js +0 -374
  785. package/components/pn-proxio-pricegroup.d.ts +0 -11
  786. package/components/pn-proxio-pricegroup.js +0 -194
  787. package/components/pn-proxio-productcard-description.d.ts +0 -11
  788. package/components/pn-proxio-productcard-description.js +0 -6
  789. package/components/pn-proxio-productcard-description2.js +0 -43
  790. package/components/pn-proxio-productcard-information.d.ts +0 -11
  791. package/components/pn-proxio-productcard-information.js +0 -6
  792. package/components/pn-proxio-productcard-information2.js +0 -37
  793. package/components/pn-proxio-productcard-pricelink.d.ts +0 -11
  794. package/components/pn-proxio-productcard-pricelink.js +0 -6
  795. package/components/pn-proxio-productcard-pricelink2.js +0 -38
  796. package/components/pn-proxio-productcard.d.ts +0 -11
  797. package/components/pn-proxio-productcard.js +0 -6
  798. package/components/pn-proxio-productcard2.js +0 -30
  799. package/components/pn-quick-cta.d.ts +0 -11
  800. package/components/pn-quick-cta.js +0 -39
  801. package/components/pn-quote-card.d.ts +0 -11
  802. package/components/pn-quote-card.js +0 -41
  803. package/components/pn-sidenav-level.d.ts +0 -11
  804. package/components/pn-sidenav-level.js +0 -84
  805. package/components/pn-sidenav-link.d.ts +0 -11
  806. package/components/pn-sidenav-link.js +0 -87
  807. package/components/pn-sidenav-togglebutton.d.ts +0 -11
  808. package/components/pn-sidenav-togglebutton.js +0 -45
  809. package/components/pn-sidenav.d.ts +0 -11
  810. package/components/pn-sidenav.js +0 -95
  811. package/components/pn-site-footer-col.d.ts +0 -11
  812. package/components/pn-site-footer-col.js +0 -6
  813. package/components/pn-site-footer-col2.js +0 -33
  814. package/components/pn-site-footer.d.ts +0 -11
  815. package/components/pn-site-footer.js +0 -6
  816. package/components/pn-site-footer2.js +0 -38
  817. package/components/pn-site-selector-item.d.ts +0 -11
  818. package/components/pn-site-selector-item.js +0 -6
  819. package/components/pn-site-selector-item2.js +0 -39
  820. package/components/pn-site-selector.d.ts +0 -11
  821. package/components/pn-site-selector.js +0 -6
  822. package/components/pn-site-selector2.js +0 -69
  823. package/components/pn-spotlight.d.ts +0 -11
  824. package/components/pn-spotlight.js +0 -39
  825. package/components/pn-stats-info-data.d.ts +0 -11
  826. package/components/pn-stats-info-data.js +0 -6
  827. package/components/pn-stats-info-data2.js +0 -157
  828. package/components/pn-stats-info.d.ts +0 -11
  829. package/components/pn-stats-info.js +0 -59
  830. package/components/pn-teaser-card.d.ts +0 -11
  831. package/components/pn-teaser-card.js +0 -56
  832. package/components/pn-titletag.d.ts +0 -11
  833. package/components/pn-titletag.js +0 -6
  834. package/components/pn-titletag2.js +0 -36
  835. package/components/translations.js +0 -19
  836. package/esm/pn-mainnav-store-5d91f523.js +0 -17
  837. package/esm/pn-profile-modal-store-81f53310.js +0 -15
  838. package/esm/pn-sidenav-store-94be19c8.js +0 -14
  839. package/esm-es5/index-c118284d.js +0 -1
  840. package/esm-es5/pn-marketweb-siteheader-store-9df5290d.js +0 -1
  841. package/loader/cdn.js +0 -3
  842. package/loader/index.cjs.js +0 -3
  843. package/loader/index.d.ts +0 -21
  844. package/loader/index.es2017.js +0 -3
  845. package/loader/package.json +0 -11
  846. package/pn-market-web-components/p-0f1115aa.entry.js +0 -1
  847. package/pn-market-web-components/p-0fbcacf3.system.entry.js +0 -1
  848. package/pn-market-web-components/p-1545fb34.entry.js +0 -1
  849. package/pn-market-web-components/p-156fedd7.entry.js +0 -1
  850. package/pn-market-web-components/p-15e680a8.entry.js +0 -1
  851. package/pn-market-web-components/p-1646c170.system.entry.js +0 -1
  852. package/pn-market-web-components/p-17fb8d9e.entry.js +0 -1
  853. package/pn-market-web-components/p-18abec91.entry.js +0 -1
  854. package/pn-market-web-components/p-1a9b2a0e.system.entry.js +0 -1
  855. package/pn-market-web-components/p-1c382898.entry.js +0 -1
  856. package/pn-market-web-components/p-247cd393.entry.js +0 -1
  857. package/pn-market-web-components/p-34c0b146.entry.js +0 -1
  858. package/pn-market-web-components/p-37d26cef.entry.js +0 -1
  859. package/pn-market-web-components/p-38f135fd.entry.js +0 -1
  860. package/pn-market-web-components/p-3f37d2e3.entry.js +0 -1
  861. package/pn-market-web-components/p-4410d66d.system.entry.js +0 -1
  862. package/pn-market-web-components/p-44c05fba.entry.js +0 -1
  863. package/pn-market-web-components/p-44f58f15.js +0 -1
  864. package/pn-market-web-components/p-47d717a3.entry.js +0 -1
  865. package/pn-market-web-components/p-48c74c53.entry.js +0 -1
  866. package/pn-market-web-components/p-498e7738.system.entry.js +0 -1
  867. package/pn-market-web-components/p-49f60496.entry.js +0 -1
  868. package/pn-market-web-components/p-4ef54288.entry.js +0 -1
  869. package/pn-market-web-components/p-507f8886.entry.js +0 -1
  870. package/pn-market-web-components/p-5a6761da.js +0 -1
  871. package/pn-market-web-components/p-5e768b73.entry.js +0 -1
  872. package/pn-market-web-components/p-6b5ff47f.entry.js +0 -1
  873. package/pn-market-web-components/p-73ee3141.entry.js +0 -1
  874. package/pn-market-web-components/p-773b59c0.entry.js +0 -24
  875. package/pn-market-web-components/p-7c1b31e8.js +0 -2
  876. package/pn-market-web-components/p-7d992089.entry.js +0 -1
  877. package/pn-market-web-components/p-7dff99ed.entry.js +0 -1
  878. package/pn-market-web-components/p-8079dfd5.system.entry.js +0 -1
  879. package/pn-market-web-components/p-82db879c.entry.js +0 -1
  880. package/pn-market-web-components/p-833bab34.entry.js +0 -1
  881. package/pn-market-web-components/p-85513296.entry.js +0 -1
  882. package/pn-market-web-components/p-8d4dfd26.entry.js +0 -1
  883. package/pn-market-web-components/p-8f0a682f.entry.js +0 -1
  884. package/pn-market-web-components/p-8f32fa2b.system.entry.js +0 -1
  885. package/pn-market-web-components/p-8fe65c6a.entry.js +0 -1
  886. package/pn-market-web-components/p-924ca115.entry.js +0 -1
  887. package/pn-market-web-components/p-9407ee64.system.entry.js +0 -1
  888. package/pn-market-web-components/p-9429ca78.entry.js +0 -1
  889. package/pn-market-web-components/p-9826ba22.system.entry.js +0 -1
  890. package/pn-market-web-components/p-9a1c267d.entry.js +0 -1
  891. package/pn-market-web-components/p-a5faec68.system.js +0 -2
  892. package/pn-market-web-components/p-a799fee1.entry.js +0 -1
  893. package/pn-market-web-components/p-ac62dc33.entry.js +0 -1
  894. package/pn-market-web-components/p-ad1f57dc.entry.js +0 -1
  895. package/pn-market-web-components/p-b0102ff6.entry.js +0 -1
  896. package/pn-market-web-components/p-b5587c0d.entry.js +0 -1
  897. package/pn-market-web-components/p-beefd9f7.entry.js +0 -1
  898. package/pn-market-web-components/p-c0db1ffd.js +0 -1
  899. package/pn-market-web-components/p-c1d9a064.entry.js +0 -1
  900. package/pn-market-web-components/p-c668f453.entry.js +0 -1
  901. package/pn-market-web-components/p-c7e8ab14.entry.js +0 -1
  902. package/pn-market-web-components/p-c9742318.entry.js +0 -1
  903. package/pn-market-web-components/p-cd6b402e.system.entry.js +0 -1
  904. package/pn-market-web-components/p-d295ef71.system.js +0 -1
  905. package/pn-market-web-components/p-d5ae9797.entry.js +0 -1
  906. package/pn-market-web-components/p-d5c7420f.system.entry.js +0 -1
  907. package/pn-market-web-components/p-d6ee168b.system.entry.js +0 -1
  908. package/pn-market-web-components/p-d70e685c.entry.js +0 -1
  909. package/pn-market-web-components/p-dbd7837e.entry.js +0 -1
  910. package/pn-market-web-components/p-dc598ef8.entry.js +0 -1
  911. package/pn-market-web-components/p-e0e45eb0.system.entry.js +0 -1
  912. package/pn-market-web-components/p-e1513762.entry.js +0 -1
  913. package/pn-market-web-components/p-e4fbd06c.entry.js +0 -1
  914. package/pn-market-web-components/p-ebb7b59b.system.entry.js +0 -1
  915. package/pn-market-web-components/p-ed5e91eb.system.entry.js +0 -1
  916. package/pn-market-web-components/p-fba88e93.entry.js +0 -1
  917. package/pn-market-web-components/p-ff975b67.entry.js +0 -1
  918. /package/{components → custom-elements}/mockresponse.js +0 -0
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "Screenshot",
3
+ "short_name": "Screenshot",
4
+ "start_url": "/",
5
+ "display": "standalone",
6
+ "icons": [{
7
+ "src": "/assets/favicon.ico",
8
+ "sizes": "192x192",
9
+ "type": "image/x-icon"
10
+ }],
11
+ "background_color": "#488aff",
12
+ "theme_color": "#488aff"
13
+ }
@@ -0,0 +1,2 @@
1
+ const { ScreenshotConnector } = require('./index.js');
2
+ module.exports = ScreenshotConnector;
@@ -0,0 +1,661 @@
1
+ 'use strict';
2
+
3
+ const os = require('os');
4
+ const path = require('path');
5
+ const fs = require('fs');
6
+
7
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
+
9
+ const path__default = /*#__PURE__*/_interopDefaultLegacy(path);
10
+ const fs__default = /*#__PURE__*/_interopDefaultLegacy(fs);
11
+
12
+ function fileExists(filePath) {
13
+ return new Promise((resolve) => {
14
+ fs__default['default'].access(filePath, (err) => resolve(!err));
15
+ });
16
+ }
17
+ function readFile(filePath) {
18
+ return new Promise((resolve, reject) => {
19
+ fs__default['default'].readFile(filePath, 'utf-8', (err, data) => {
20
+ if (err) {
21
+ reject(err);
22
+ }
23
+ else {
24
+ resolve(data);
25
+ }
26
+ });
27
+ });
28
+ }
29
+ function readFileBuffer(filePath) {
30
+ return new Promise((resolve, reject) => {
31
+ fs__default['default'].readFile(filePath, (err, data) => {
32
+ if (err) {
33
+ reject(err);
34
+ }
35
+ else {
36
+ resolve(data);
37
+ }
38
+ });
39
+ });
40
+ }
41
+ function writeFile(filePath, data) {
42
+ return new Promise((resolve, reject) => {
43
+ fs__default['default'].writeFile(filePath, data, (err) => {
44
+ if (err) {
45
+ reject(err);
46
+ }
47
+ else {
48
+ resolve();
49
+ }
50
+ });
51
+ });
52
+ }
53
+ function mkDir(filePath) {
54
+ return new Promise((resolve) => {
55
+ fs__default['default'].mkdir(filePath, () => {
56
+ resolve();
57
+ });
58
+ });
59
+ }
60
+ function rmDir(filePath) {
61
+ return new Promise((resolve) => {
62
+ fs__default['default'].rmdir(filePath, () => {
63
+ resolve();
64
+ });
65
+ });
66
+ }
67
+ async function emptyDir(dir) {
68
+ const files = await readDir(dir);
69
+ const promises = files.map(async (fileName) => {
70
+ const filePath = path__default['default'].join(dir, fileName);
71
+ const isDirFile = await isFile(filePath);
72
+ if (isDirFile) {
73
+ await unlink(filePath);
74
+ }
75
+ });
76
+ await Promise.all(promises);
77
+ }
78
+ async function readDir(dir) {
79
+ return new Promise((resolve) => {
80
+ fs__default['default'].readdir(dir, (err, files) => {
81
+ if (err) {
82
+ resolve([]);
83
+ }
84
+ else {
85
+ resolve(files);
86
+ }
87
+ });
88
+ });
89
+ }
90
+ async function isFile(itemPath) {
91
+ return new Promise((resolve) => {
92
+ fs__default['default'].stat(itemPath, (err, stat) => {
93
+ if (err) {
94
+ resolve(false);
95
+ }
96
+ else {
97
+ resolve(stat.isFile());
98
+ }
99
+ });
100
+ });
101
+ }
102
+ async function unlink(filePath) {
103
+ return new Promise((resolve) => {
104
+ fs__default['default'].unlink(filePath, () => {
105
+ resolve();
106
+ });
107
+ });
108
+ }
109
+
110
+ class ScreenshotConnector {
111
+ constructor() {
112
+ this.screenshotDirName = 'screenshot';
113
+ this.imagesDirName = 'images';
114
+ this.buildsDirName = 'builds';
115
+ this.masterBuildFileName = 'master.json';
116
+ this.screenshotCacheFileName = 'screenshot-cache.json';
117
+ }
118
+ async initBuild(opts) {
119
+ this.logger = opts.logger;
120
+ this.buildId = opts.buildId;
121
+ this.buildMessage = opts.buildMessage || '';
122
+ this.buildAuthor = opts.buildAuthor;
123
+ this.buildUrl = opts.buildUrl;
124
+ this.previewUrl = opts.previewUrl;
125
+ (this.buildTimestamp = typeof opts.buildTimestamp === 'number' ? opts.buildTimestamp : Date.now()),
126
+ (this.cacheDir = opts.cacheDir);
127
+ this.packageDir = opts.packageDir;
128
+ this.rootDir = opts.rootDir;
129
+ this.appNamespace = opts.appNamespace;
130
+ this.waitBeforeScreenshot = opts.waitBeforeScreenshot;
131
+ this.pixelmatchModulePath = opts.pixelmatchModulePath;
132
+ if (!opts.logger) {
133
+ throw new Error(`logger option required`);
134
+ }
135
+ if (typeof opts.buildId !== 'string') {
136
+ throw new Error(`buildId option required`);
137
+ }
138
+ if (typeof opts.cacheDir !== 'string') {
139
+ throw new Error(`cacheDir option required`);
140
+ }
141
+ if (typeof opts.packageDir !== 'string') {
142
+ throw new Error(`packageDir option required`);
143
+ }
144
+ if (typeof opts.rootDir !== 'string') {
145
+ throw new Error(`rootDir option required`);
146
+ }
147
+ this.updateMaster = !!opts.updateMaster;
148
+ this.allowableMismatchedPixels = opts.allowableMismatchedPixels;
149
+ this.allowableMismatchedRatio = opts.allowableMismatchedRatio;
150
+ this.pixelmatchThreshold = opts.pixelmatchThreshold;
151
+ this.logger.debug(`screenshot build: ${this.buildId}, ${this.buildMessage}, updateMaster: ${this.updateMaster}`);
152
+ this.logger.debug(`screenshot, allowableMismatchedPixels: ${this.allowableMismatchedPixels}, allowableMismatchedRatio: ${this.allowableMismatchedRatio}, pixelmatchThreshold: ${this.pixelmatchThreshold}`);
153
+ if (typeof opts.screenshotDirName === 'string') {
154
+ this.screenshotDirName = opts.screenshotDirName;
155
+ }
156
+ if (typeof opts.imagesDirName === 'string') {
157
+ this.imagesDirName = opts.imagesDirName;
158
+ }
159
+ if (typeof opts.buildsDirName === 'string') {
160
+ this.buildsDirName = opts.buildsDirName;
161
+ }
162
+ this.screenshotDir = path.join(this.rootDir, this.screenshotDirName);
163
+ this.imagesDir = path.join(this.screenshotDir, this.imagesDirName);
164
+ this.buildsDir = path.join(this.screenshotDir, this.buildsDirName);
165
+ this.masterBuildFilePath = path.join(this.buildsDir, this.masterBuildFileName);
166
+ this.screenshotCacheFilePath = path.join(this.cacheDir, this.screenshotCacheFileName);
167
+ this.currentBuildDir = path.join(os.tmpdir(), 'screenshot-build-' + this.buildId);
168
+ this.logger.debug(`screenshotDirPath: ${this.screenshotDir}`);
169
+ this.logger.debug(`imagesDirPath: ${this.imagesDir}`);
170
+ this.logger.debug(`buildsDirPath: ${this.buildsDir}`);
171
+ this.logger.debug(`currentBuildDir: ${this.currentBuildDir}`);
172
+ this.logger.debug(`cacheDir: ${this.cacheDir}`);
173
+ await mkDir(this.screenshotDir);
174
+ await Promise.all([
175
+ mkDir(this.imagesDir),
176
+ mkDir(this.buildsDir),
177
+ mkDir(this.currentBuildDir),
178
+ mkDir(this.cacheDir),
179
+ ]);
180
+ }
181
+ async pullMasterBuild() {
182
+ /**/
183
+ }
184
+ async getMasterBuild() {
185
+ let masterBuild = null;
186
+ try {
187
+ masterBuild = JSON.parse(await readFile(this.masterBuildFilePath));
188
+ }
189
+ catch (e) { }
190
+ return masterBuild;
191
+ }
192
+ async completeBuild(masterBuild) {
193
+ const filePaths = (await readDir(this.currentBuildDir))
194
+ .map((f) => path.join(this.currentBuildDir, f))
195
+ .filter((f) => f.endsWith('.json'));
196
+ const screenshots = await Promise.all(filePaths.map(async (f) => JSON.parse(await readFile(f))));
197
+ this.sortScreenshots(screenshots);
198
+ if (!masterBuild) {
199
+ masterBuild = {
200
+ id: this.buildId,
201
+ message: this.buildMessage,
202
+ author: this.buildAuthor,
203
+ url: this.buildUrl,
204
+ previewUrl: this.previewUrl,
205
+ appNamespace: this.appNamespace,
206
+ timestamp: this.buildTimestamp,
207
+ screenshots: screenshots,
208
+ };
209
+ }
210
+ const results = {
211
+ appNamespace: this.appNamespace,
212
+ masterBuild: masterBuild,
213
+ currentBuild: {
214
+ id: this.buildId,
215
+ message: this.buildMessage,
216
+ author: this.buildAuthor,
217
+ url: this.buildUrl,
218
+ previewUrl: this.previewUrl,
219
+ appNamespace: this.appNamespace,
220
+ timestamp: this.buildTimestamp,
221
+ screenshots: screenshots,
222
+ },
223
+ compare: {
224
+ id: `${masterBuild.id}-${this.buildId}`,
225
+ a: {
226
+ id: masterBuild.id,
227
+ message: masterBuild.message,
228
+ author: masterBuild.author,
229
+ url: masterBuild.url,
230
+ previewUrl: masterBuild.previewUrl,
231
+ },
232
+ b: {
233
+ id: this.buildId,
234
+ message: this.buildMessage,
235
+ author: this.buildAuthor,
236
+ url: this.buildUrl,
237
+ previewUrl: this.previewUrl,
238
+ },
239
+ url: null,
240
+ appNamespace: this.appNamespace,
241
+ timestamp: this.buildTimestamp,
242
+ diffs: [],
243
+ },
244
+ };
245
+ results.currentBuild.screenshots.forEach((screenshot) => {
246
+ screenshot.diff.device = screenshot.diff.device || screenshot.diff.userAgent;
247
+ results.compare.diffs.push(screenshot.diff);
248
+ delete screenshot.diff;
249
+ });
250
+ this.sortCompares(results.compare.diffs);
251
+ await emptyDir(this.currentBuildDir);
252
+ await rmDir(this.currentBuildDir);
253
+ return results;
254
+ }
255
+ async publishBuild(results) {
256
+ return results;
257
+ }
258
+ async generateJsonpDataUris(build) {
259
+ if (build && Array.isArray(build.screenshots)) {
260
+ for (let i = 0; i < build.screenshots.length; i++) {
261
+ const screenshot = build.screenshots[i];
262
+ const jsonpFileName = `screenshot_${screenshot.image}.js`;
263
+ const jsonFilePath = path.join(this.cacheDir, jsonpFileName);
264
+ const jsonpExists = await fileExists(jsonFilePath);
265
+ if (!jsonpExists) {
266
+ const imageFilePath = path.join(this.imagesDir, screenshot.image);
267
+ const imageBuf = await readFileBuffer(imageFilePath);
268
+ const jsonpContent = `loadScreenshot("${screenshot.image}","data:image/png;base64,${imageBuf.toString('base64')}");`;
269
+ await writeFile(jsonFilePath, jsonpContent);
270
+ }
271
+ }
272
+ }
273
+ }
274
+ async getScreenshotCache() {
275
+ return null;
276
+ }
277
+ async updateScreenshotCache(screenshotCache, buildResults) {
278
+ screenshotCache = screenshotCache || {};
279
+ screenshotCache.timestamp = this.buildTimestamp;
280
+ screenshotCache.lastBuildId = this.buildId;
281
+ screenshotCache.size = 0;
282
+ screenshotCache.items = screenshotCache.items || [];
283
+ if (buildResults && buildResults.compare && Array.isArray(buildResults.compare.diffs)) {
284
+ buildResults.compare.diffs.forEach((diff) => {
285
+ if (typeof diff.cacheKey !== 'string') {
286
+ return;
287
+ }
288
+ if (diff.imageA === diff.imageB) {
289
+ // no need to cache identical matches
290
+ return;
291
+ }
292
+ const existingItem = screenshotCache.items.find((i) => i.key === diff.cacheKey);
293
+ if (existingItem) {
294
+ // already have this cached, but update its timestamp
295
+ existingItem.ts = this.buildTimestamp;
296
+ }
297
+ else {
298
+ // add this item to the cache
299
+ screenshotCache.items.push({
300
+ key: diff.cacheKey,
301
+ ts: this.buildTimestamp,
302
+ mp: diff.mismatchedPixels,
303
+ });
304
+ }
305
+ });
306
+ }
307
+ // sort so the newest items are on top
308
+ screenshotCache.items.sort((a, b) => {
309
+ if (a.ts > b.ts)
310
+ return -1;
311
+ if (a.ts < b.ts)
312
+ return 1;
313
+ if (a.mp > b.mp)
314
+ return -1;
315
+ if (a.mp < b.mp)
316
+ return 1;
317
+ return 0;
318
+ });
319
+ // keep only the most recent items
320
+ screenshotCache.items = screenshotCache.items.slice(0, 1000);
321
+ screenshotCache.size = screenshotCache.items.length;
322
+ return screenshotCache;
323
+ }
324
+ toJson(masterBuild, screenshotCache) {
325
+ const masterScreenshots = {};
326
+ if (masterBuild && Array.isArray(masterBuild.screenshots)) {
327
+ masterBuild.screenshots.forEach((masterScreenshot) => {
328
+ masterScreenshots[masterScreenshot.id] = masterScreenshot.image;
329
+ });
330
+ }
331
+ const mismatchCache = {};
332
+ if (screenshotCache && Array.isArray(screenshotCache.items)) {
333
+ screenshotCache.items.forEach((cacheItem) => {
334
+ mismatchCache[cacheItem.key] = cacheItem.mp;
335
+ });
336
+ }
337
+ const screenshotBuild = {
338
+ buildId: this.buildId,
339
+ rootDir: this.rootDir,
340
+ screenshotDir: this.screenshotDir,
341
+ imagesDir: this.imagesDir,
342
+ buildsDir: this.buildsDir,
343
+ masterScreenshots: masterScreenshots,
344
+ cache: mismatchCache,
345
+ currentBuildDir: this.currentBuildDir,
346
+ updateMaster: this.updateMaster,
347
+ allowableMismatchedPixels: this.allowableMismatchedPixels,
348
+ allowableMismatchedRatio: this.allowableMismatchedRatio,
349
+ pixelmatchThreshold: this.pixelmatchThreshold,
350
+ timeoutBeforeScreenshot: this.waitBeforeScreenshot,
351
+ pixelmatchModulePath: this.pixelmatchModulePath,
352
+ };
353
+ return JSON.stringify(screenshotBuild);
354
+ }
355
+ sortScreenshots(screenshots) {
356
+ return screenshots.sort((a, b) => {
357
+ if (a.desc && b.desc) {
358
+ if (a.desc.toLowerCase() < b.desc.toLowerCase())
359
+ return -1;
360
+ if (a.desc.toLowerCase() > b.desc.toLowerCase())
361
+ return 1;
362
+ }
363
+ if (a.device && b.device) {
364
+ if (a.device.toLowerCase() < b.device.toLowerCase())
365
+ return -1;
366
+ if (a.device.toLowerCase() > b.device.toLowerCase())
367
+ return 1;
368
+ }
369
+ if (a.userAgent && b.userAgent) {
370
+ if (a.userAgent.toLowerCase() < b.userAgent.toLowerCase())
371
+ return -1;
372
+ if (a.userAgent.toLowerCase() > b.userAgent.toLowerCase())
373
+ return 1;
374
+ }
375
+ if (a.width < b.width)
376
+ return -1;
377
+ if (a.width > b.width)
378
+ return 1;
379
+ if (a.height < b.height)
380
+ return -1;
381
+ if (a.height > b.height)
382
+ return 1;
383
+ if (a.id < b.id)
384
+ return -1;
385
+ if (a.id > b.id)
386
+ return 1;
387
+ return 0;
388
+ });
389
+ }
390
+ sortCompares(compares) {
391
+ return compares.sort((a, b) => {
392
+ if (a.allowableMismatchedPixels > b.allowableMismatchedPixels)
393
+ return -1;
394
+ if (a.allowableMismatchedPixels < b.allowableMismatchedPixels)
395
+ return 1;
396
+ if (a.allowableMismatchedRatio > b.allowableMismatchedRatio)
397
+ return -1;
398
+ if (a.allowableMismatchedRatio < b.allowableMismatchedRatio)
399
+ return 1;
400
+ if (a.desc && b.desc) {
401
+ if (a.desc.toLowerCase() < b.desc.toLowerCase())
402
+ return -1;
403
+ if (a.desc.toLowerCase() > b.desc.toLowerCase())
404
+ return 1;
405
+ }
406
+ if (a.device && b.device) {
407
+ if (a.device.toLowerCase() < b.device.toLowerCase())
408
+ return -1;
409
+ if (a.device.toLowerCase() > b.device.toLowerCase())
410
+ return 1;
411
+ }
412
+ if (a.userAgent && b.userAgent) {
413
+ if (a.userAgent.toLowerCase() < b.userAgent.toLowerCase())
414
+ return -1;
415
+ if (a.userAgent.toLowerCase() > b.userAgent.toLowerCase())
416
+ return 1;
417
+ }
418
+ if (a.width < b.width)
419
+ return -1;
420
+ if (a.width > b.width)
421
+ return 1;
422
+ if (a.height < b.height)
423
+ return -1;
424
+ if (a.height > b.height)
425
+ return 1;
426
+ if (a.id < b.id)
427
+ return -1;
428
+ if (a.id > b.id)
429
+ return 1;
430
+ return 0;
431
+ });
432
+ }
433
+ }
434
+
435
+ /**
436
+ * Convert Windows backslash paths to slash paths: foo\\bar ➔ foo/bar
437
+ * Forward-slash paths can be used in Windows as long as they're not
438
+ * extended-length paths and don't contain any non-ascii characters.
439
+ * This was created since the path methods in Node.js outputs \\ paths on Windows.
440
+ * @param path the Windows-based path to convert
441
+ * @returns the converted path
442
+ */
443
+ const normalizePath = (path) => {
444
+ if (typeof path !== 'string') {
445
+ throw new Error(`invalid path to normalize`);
446
+ }
447
+ path = normalizeSlashes(path.trim());
448
+ const components = pathComponents(path, getRootLength(path));
449
+ const reducedComponents = reducePathComponents(components);
450
+ const rootPart = reducedComponents[0];
451
+ const secondPart = reducedComponents[1];
452
+ const normalized = rootPart + reducedComponents.slice(1).join('/');
453
+ if (normalized === '') {
454
+ return '.';
455
+ }
456
+ if (rootPart === '' &&
457
+ secondPart &&
458
+ path.includes('/') &&
459
+ !secondPart.startsWith('.') &&
460
+ !secondPart.startsWith('@')) {
461
+ return './' + normalized;
462
+ }
463
+ return normalized;
464
+ };
465
+ const normalizeSlashes = (path) => path.replace(backslashRegExp, '/');
466
+ const altDirectorySeparator = '\\';
467
+ const urlSchemeSeparator = '://';
468
+ const backslashRegExp = /\\/g;
469
+ const reducePathComponents = (components) => {
470
+ if (!Array.isArray(components) || components.length === 0) {
471
+ return [];
472
+ }
473
+ const reduced = [components[0]];
474
+ for (let i = 1; i < components.length; i++) {
475
+ const component = components[i];
476
+ if (!component)
477
+ continue;
478
+ if (component === '.')
479
+ continue;
480
+ if (component === '..') {
481
+ if (reduced.length > 1) {
482
+ if (reduced[reduced.length - 1] !== '..') {
483
+ reduced.pop();
484
+ continue;
485
+ }
486
+ }
487
+ else if (reduced[0])
488
+ continue;
489
+ }
490
+ reduced.push(component);
491
+ }
492
+ return reduced;
493
+ };
494
+ const getRootLength = (path) => {
495
+ const rootLength = getEncodedRootLength(path);
496
+ return rootLength < 0 ? ~rootLength : rootLength;
497
+ };
498
+ const getEncodedRootLength = (path) => {
499
+ if (!path)
500
+ return 0;
501
+ const ch0 = path.charCodeAt(0);
502
+ // POSIX or UNC
503
+ if (ch0 === 47 /* CharacterCodes.slash */ || ch0 === 92 /* CharacterCodes.backslash */) {
504
+ if (path.charCodeAt(1) !== ch0)
505
+ return 1; // POSIX: "/" (or non-normalized "\")
506
+ const p1 = path.indexOf(ch0 === 47 /* CharacterCodes.slash */ ? '/' : altDirectorySeparator, 2);
507
+ if (p1 < 0)
508
+ return path.length; // UNC: "//server" or "\\server"
509
+ return p1 + 1; // UNC: "//server/" or "\\server\"
510
+ }
511
+ // DOS
512
+ if (isVolumeCharacter(ch0) && path.charCodeAt(1) === 58 /* CharacterCodes.colon */) {
513
+ const ch2 = path.charCodeAt(2);
514
+ if (ch2 === 47 /* CharacterCodes.slash */ || ch2 === 92 /* CharacterCodes.backslash */)
515
+ return 3; // DOS: "c:/" or "c:\"
516
+ if (path.length === 2)
517
+ return 2; // DOS: "c:" (but not "c:d")
518
+ }
519
+ // URL
520
+ const schemeEnd = path.indexOf(urlSchemeSeparator);
521
+ if (schemeEnd !== -1) {
522
+ const authorityStart = schemeEnd + urlSchemeSeparator.length;
523
+ const authorityEnd = path.indexOf('/', authorityStart);
524
+ if (authorityEnd !== -1) {
525
+ // URL: "file:///", "file://server/", "file://server/path"
526
+ // For local "file" URLs, include the leading DOS volume (if present).
527
+ // Per https://www.ietf.org/rfc/rfc1738.txt, a host of "" or "localhost" is a
528
+ // special case interpreted as "the machine from which the URL is being interpreted".
529
+ const scheme = path.slice(0, schemeEnd);
530
+ const authority = path.slice(authorityStart, authorityEnd);
531
+ if (scheme === 'file' &&
532
+ (authority === '' || authority === 'localhost') &&
533
+ isVolumeCharacter(path.charCodeAt(authorityEnd + 1))) {
534
+ const volumeSeparatorEnd = getFileUrlVolumeSeparatorEnd(path, authorityEnd + 2);
535
+ if (volumeSeparatorEnd !== -1) {
536
+ if (path.charCodeAt(volumeSeparatorEnd) === 47 /* CharacterCodes.slash */) {
537
+ // URL: "file:///c:/", "file://localhost/c:/", "file:///c%3a/", "file://localhost/c%3a/"
538
+ return ~(volumeSeparatorEnd + 1);
539
+ }
540
+ if (volumeSeparatorEnd === path.length) {
541
+ // URL: "file:///c:", "file://localhost/c:", "file:///c$3a", "file://localhost/c%3a"
542
+ // but not "file:///c:d" or "file:///c%3ad"
543
+ return ~volumeSeparatorEnd;
544
+ }
545
+ }
546
+ }
547
+ return ~(authorityEnd + 1); // URL: "file://server/", "http://server/"
548
+ }
549
+ return ~path.length; // URL: "file://server", "http://server"
550
+ }
551
+ // relative
552
+ return 0;
553
+ };
554
+ const isVolumeCharacter = (charCode) => (charCode >= 97 /* CharacterCodes.a */ && charCode <= 122 /* CharacterCodes.z */) ||
555
+ (charCode >= 65 /* CharacterCodes.A */ && charCode <= 90 /* CharacterCodes.Z */);
556
+ const getFileUrlVolumeSeparatorEnd = (url, start) => {
557
+ const ch0 = url.charCodeAt(start);
558
+ if (ch0 === 58 /* CharacterCodes.colon */)
559
+ return start + 1;
560
+ if (ch0 === 37 /* CharacterCodes.percent */ && url.charCodeAt(start + 1) === 51 /* CharacterCodes._3 */) {
561
+ const ch2 = url.charCodeAt(start + 2);
562
+ if (ch2 === 97 /* CharacterCodes.a */ || ch2 === 65 /* CharacterCodes.A */)
563
+ return start + 3;
564
+ }
565
+ return -1;
566
+ };
567
+ const pathComponents = (path, rootLength) => {
568
+ const root = path.substring(0, rootLength);
569
+ const rest = path.substring(rootLength).split('/');
570
+ const restLen = rest.length;
571
+ if (restLen > 0 && !rest[restLen - 1]) {
572
+ rest.pop();
573
+ }
574
+ return [root, ...rest];
575
+ };
576
+
577
+ class ScreenshotLocalConnector extends ScreenshotConnector {
578
+ async publishBuild(results) {
579
+ if (this.updateMaster || !results.masterBuild) {
580
+ results.masterBuild = {
581
+ id: 'master',
582
+ message: 'Master',
583
+ appNamespace: this.appNamespace,
584
+ timestamp: Date.now(),
585
+ screenshots: [],
586
+ };
587
+ }
588
+ results.currentBuild.screenshots.forEach((currentScreenshot) => {
589
+ const masterHasScreenshot = results.masterBuild.screenshots.some((masterScreenshot) => {
590
+ return currentScreenshot.id === masterScreenshot.id;
591
+ });
592
+ if (!masterHasScreenshot) {
593
+ results.masterBuild.screenshots.push(Object.assign({}, currentScreenshot));
594
+ }
595
+ });
596
+ this.sortScreenshots(results.masterBuild.screenshots);
597
+ await writeFile(this.masterBuildFilePath, JSON.stringify(results.masterBuild, null, 2));
598
+ await this.generateJsonpDataUris(results.currentBuild);
599
+ const compareAppSourceDir = path.join(this.packageDir, 'screenshot', 'compare');
600
+ const appSrcUrl = normalizePath(path.relative(this.screenshotDir, compareAppSourceDir));
601
+ const imagesUrl = normalizePath(path.relative(this.screenshotDir, this.imagesDir));
602
+ const jsonpUrl = normalizePath(path.relative(this.screenshotDir, this.cacheDir));
603
+ const compareAppHtml = createLocalCompareApp(this.appNamespace, appSrcUrl, imagesUrl, jsonpUrl, results.masterBuild, results.currentBuild);
604
+ const compareAppFileName = 'compare.html';
605
+ const compareAppFilePath = path.join(this.screenshotDir, compareAppFileName);
606
+ await writeFile(compareAppFilePath, compareAppHtml);
607
+ const gitIgnorePath = path.join(this.screenshotDir, '.gitignore');
608
+ const gitIgnoreExists = await fileExists(gitIgnorePath);
609
+ if (!gitIgnoreExists) {
610
+ const content = [this.imagesDirName, this.buildsDirName, compareAppFileName];
611
+ await writeFile(gitIgnorePath, content.join('\n'));
612
+ }
613
+ const url = new URL(`file://${compareAppFilePath}`);
614
+ results.compare.url = url.href;
615
+ return results;
616
+ }
617
+ async getScreenshotCache() {
618
+ let screenshotCache = null;
619
+ try {
620
+ screenshotCache = JSON.parse(await readFile(this.screenshotCacheFilePath));
621
+ }
622
+ catch (e) { }
623
+ return screenshotCache;
624
+ }
625
+ async updateScreenshotCache(cache, buildResults) {
626
+ cache = await super.updateScreenshotCache(cache, buildResults);
627
+ await writeFile(this.screenshotCacheFilePath, JSON.stringify(cache, null, 2));
628
+ return cache;
629
+ }
630
+ }
631
+ function createLocalCompareApp(namespace, appSrcUrl, imagesUrl, jsonpUrl, a, b) {
632
+ return `<!doctype html>
633
+ <html dir="ltr" lang="en">
634
+ <head>
635
+ <meta charset="utf-8">
636
+ <title>Local ${namespace || ''} - Stencil Screenshot Visual Diff</title>
637
+ <meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
638
+ <meta http-equiv="x-ua-compatible" content="IE=Edge">
639
+ <link href="${appSrcUrl}/build/app.css" rel="stylesheet">
640
+ <script type="module" src="${appSrcUrl}/build/app.esm.js"></script>
641
+ <script nomodule src="${appSrcUrl}/build/app.js"></script>
642
+ <link rel="icon" type="image/x-icon" href="${appSrcUrl}/assets/favicon.ico">
643
+ </head>
644
+ <body>
645
+ <script>
646
+ (function() {
647
+ var app = document.createElement('screenshot-compare');
648
+ app.appSrcUrl = '${appSrcUrl}';
649
+ app.imagesUrl = '${imagesUrl}/';
650
+ app.jsonpUrl = '${jsonpUrl}/';
651
+ app.a = ${JSON.stringify(a)};
652
+ app.b = ${JSON.stringify(b)};
653
+ document.body.appendChild(app);
654
+ })();
655
+ </script>
656
+ </body>
657
+ </html>`;
658
+ }
659
+
660
+ exports.ScreenshotConnector = ScreenshotConnector;
661
+ exports.ScreenshotLocalConnector = ScreenshotLocalConnector;
@@ -0,0 +1,2 @@
1
+ const { ScreenshotLocalConnector } = require('./index.js');
2
+ module.exports = ScreenshotLocalConnector;