@postnord/pn-marketweb-components 2.1.9 → 2.2.1

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 (920) 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 +39 -11
  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.css +1 -4
  98. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +560 -509
  99. package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js +1 -1
  100. package/collection/components/minor/pn-titletag/pn-titletag.js +49 -51
  101. package/collection/components/navigation/pn-language-selector/pn-language-selector-option.js +123 -119
  102. package/collection/components/navigation/pn-language-selector/pn-language-selector.js +64 -71
  103. package/collection/components/navigation/pn-mainnav/pn-mainnav-level.js +58 -58
  104. package/collection/components/navigation/pn-mainnav/pn-mainnav-link.js +97 -92
  105. package/collection/components/navigation/pn-mainnav/pn-mainnav-list.js +33 -39
  106. package/collection/components/navigation/pn-mainnav/pn-mainnav.js +183 -182
  107. package/collection/components/navigation/pn-sidenav/pn-sidenav-level.js +22 -29
  108. package/collection/components/navigation/pn-sidenav/pn-sidenav-link.js +134 -128
  109. package/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.js +34 -39
  110. package/collection/components/navigation/pn-sidenav/pn-sidenav.js +66 -71
  111. package/collection/components/navigation/pn-site-footer/pn-site-footer-col.js +29 -34
  112. package/collection/components/navigation/pn-site-footer/pn-site-footer.js +75 -68
  113. package/collection/components/navigation/pn-site-selector/pn-site-selector-item.js +89 -85
  114. package/collection/components/navigation/pn-site-selector/pn-site-selector.js +73 -73
  115. package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.js +67 -68
  116. package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.js +90 -90
  117. package/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.js +79 -85
  118. package/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.js +188 -182
  119. package/collection/components/profile/pn-profile-modal/pn-profile-modal-type.js +84 -91
  120. package/collection/components/profile/pn-profile-modal/pn-profile-modal.js +115 -116
  121. package/collection/components/profile/pn-profile-selector/pn-profile-selector-option.js +67 -68
  122. package/collection/components/profile/pn-profile-selector/pn-profile-selector.js +76 -78
  123. package/collection/components/utilities/pn-breakpoints/pn-breakpoints.js +42 -48
  124. package/collection/components/widgets/pn-find-price/pn-find-price-result.js +179 -163
  125. package/collection/components/widgets/pn-find-price/pn-find-price.js +113 -99
  126. package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.js +67 -66
  127. package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.js +148 -133
  128. package/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.js +102 -87
  129. package/collection/components/widgets/pn-product-card/pn-product-card-info.js +94 -92
  130. package/collection/components/widgets/pn-product-card/pn-product-card-price.js +131 -138
  131. package/collection/components/widgets/pn-product-card/pn-product-card.js +21 -12
  132. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.js +108 -101
  133. package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.js +140 -137
  134. package/collection/components/widgets/pn-product-tile/pn-product-tile-info.js +62 -70
  135. package/collection/components/widgets/pn-product-tile/pn-product-tile-price.js +83 -87
  136. package/collection/components/widgets/pn-product-tile/pn-product-tile.js +16 -12
  137. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.js +188 -187
  138. package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.js +131 -117
  139. package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.js +145 -130
  140. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.js +82 -87
  141. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.js +57 -55
  142. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-pricelink.js +61 -70
  143. package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.js +20 -12
  144. package/custom-elements/index.d.ts +471 -0
  145. package/custom-elements/index.js +30034 -0
  146. package/esm/{index-c118284d.js → index-5397620b.js} +279 -808
  147. package/esm/{index-7f77b0ba.js → index-7b21ecff.js} +1 -1
  148. package/esm/loader.js +3 -4
  149. package/esm/pn-bonus-progressbar-level.entry.js +2 -2
  150. package/esm/pn-bonus-progressbar.entry.js +2 -2
  151. package/esm/pn-breakpoints.entry.js +2 -2
  152. package/esm/pn-chart.entry.js +2 -3
  153. package/esm/pn-charts-card.entry.js +2 -9
  154. package/esm/pn-choice-button.entry.js +2 -5
  155. package/esm/pn-customernumber-selector-option.entry.js +2 -2
  156. package/esm/pn-customernumber-selector.entry.js +2 -2
  157. package/esm/pn-filter-checkbox.entry.js +2 -5
  158. package/esm/pn-find-price-result.entry.js +4 -7
  159. package/esm/{pn-find-price-store-e13b6651.js → pn-find-price-store-bde5071d.js} +1 -1
  160. package/esm/pn-find-price.entry.js +4 -4
  161. package/esm/pn-find-service-and-price-result.entry.js +4 -4
  162. package/esm/{pn-find-service-and-price-store-f09ca219.js → pn-find-service-and-price-store-65df46a0.js} +1 -1
  163. package/esm/pn-find-service-and-price.entry.js +4 -4
  164. package/esm/pn-language-selector_9.entry.js +42 -18
  165. package/esm/pn-line-shape.entry.js +2 -2
  166. package/esm/pn-mainnav-link.entry.js +10 -4
  167. package/{components/pn-mainnav-store.js → esm/pn-mainnav-store-28571e54.js} +1 -1
  168. package/esm/pn-market-web-components.js +3 -4
  169. package/esm/pn-marketweb-input.entry.js +7 -2
  170. package/esm/pn-marketweb-search.entry.js +6 -2
  171. package/esm/pn-marketweb-sitefooter.entry.js +15 -10
  172. package/esm/pn-marketweb-siteheader-login-button_5.entry.js +78 -70
  173. package/esm/pn-marketweb-siteheader-login-linklist.entry.js +4 -4
  174. package/esm/{pn-marketweb-siteheader-store-9df5290d.js → pn-marketweb-siteheader-store-cd0a1dab.js} +1 -1
  175. package/esm/pn-marketweb-siteheader.entry.js +39 -11
  176. package/esm/pn-parcel-tracker.entry.js +2 -2
  177. package/esm/pn-pex-pricefinder.entry.js +5 -2
  178. package/esm/pn-product-card_3.entry.js +4 -15
  179. package/esm/pn-product-pricelist-result.entry.js +3 -3
  180. package/esm/pn-product-pricelist.entry.js +4 -4
  181. package/esm/pn-product-tile-info_2.entry.js +3 -10
  182. package/esm/pn-product-tile.entry.js +2 -2
  183. package/esm/pn-profile-modal-customernumber.entry.js +2 -2
  184. package/esm/pn-profile-modal-profile.entry.js +4 -4
  185. package/{components/pn-profile-modal-store.js → esm/pn-profile-modal-store-ae9e0d5a.js} +1 -1
  186. package/esm/pn-profile-modal-type.entry.js +4 -4
  187. package/esm/pn-profile-modal.entry.js +4 -4
  188. package/esm/pn-profile-selector-option.entry.js +2 -2
  189. package/esm/pn-profile-selector.entry.js +5 -5
  190. package/esm/pn-proxio-findprice-result.entry.js +2 -5
  191. package/esm/pn-proxio-findprice.entry.js +4 -4
  192. package/esm/pn-proxio-pricegroup.entry.js +5 -3
  193. package/esm/pn-proxio-productcard_4.entry.js +5 -12
  194. package/esm/pn-quick-cta.entry.js +2 -2
  195. package/esm/pn-quote-card.entry.js +3 -2
  196. package/esm/pn-share-item.entry.js +18 -0
  197. package/esm/pn-share.entry.js +60 -0
  198. package/esm/pn-sidenav-level.entry.js +4 -4
  199. package/esm/pn-sidenav-link.entry.js +12 -4
  200. package/{components/pn-sidenav-store.js → esm/pn-sidenav-store-50b186d6.js} +1 -1
  201. package/esm/pn-sidenav-togglebutton.entry.js +5 -4
  202. package/esm/pn-sidenav.entry.js +6 -4
  203. package/esm/pn-site-footer_2.entry.js +4 -3
  204. package/esm/pn-spotlight.entry.js +2 -2
  205. package/esm/pn-stats-info-data.entry.js +8 -8
  206. package/esm/pn-stats-info.entry.js +2 -2
  207. package/esm/pn-teaser-card.entry.js +4 -3
  208. package/esm/pn-titletag.entry.js +4 -2
  209. package/esm/polyfills/css-shim.js +1 -1
  210. package/esm-es5/MarketWebContextService-872043cc.js +1 -1
  211. package/esm-es5/convert-f6377d13.js +1 -1
  212. package/esm-es5/index-5397620b.js +1 -0
  213. package/esm-es5/{index-7f77b0ba.js → index-7b21ecff.js} +1 -1
  214. package/esm-es5/loader.js +1 -1
  215. package/esm-es5/pn-bonus-progressbar-level.entry.js +1 -1
  216. package/esm-es5/pn-bonus-progressbar.entry.js +1 -1
  217. package/esm-es5/pn-breakpoints.entry.js +1 -1
  218. package/esm-es5/pn-chart.entry.js +2 -2
  219. package/esm-es5/pn-charts-card.entry.js +1 -1
  220. package/esm-es5/pn-choice-button.entry.js +1 -1
  221. package/esm-es5/pn-customernumber-selector-option.entry.js +1 -1
  222. package/esm-es5/pn-customernumber-selector.entry.js +1 -1
  223. package/esm-es5/pn-filter-checkbox.entry.js +1 -1
  224. package/esm-es5/pn-find-price-result.entry.js +1 -1
  225. package/esm-es5/{pn-find-price-store-e13b6651.js → pn-find-price-store-bde5071d.js} +1 -1
  226. package/esm-es5/pn-find-price.entry.js +1 -1
  227. package/esm-es5/pn-find-service-and-price-result.entry.js +1 -1
  228. package/esm-es5/{pn-find-service-and-price-store-f09ca219.js → pn-find-service-and-price-store-65df46a0.js} +1 -1
  229. package/esm-es5/pn-find-service-and-price.entry.js +1 -1
  230. package/esm-es5/pn-language-selector_9.entry.js +1 -1
  231. package/esm-es5/pn-line-shape.entry.js +1 -1
  232. package/esm-es5/pn-mainnav-link.entry.js +1 -1
  233. package/esm-es5/{pn-mainnav-store-5d91f523.js → pn-mainnav-store-28571e54.js} +1 -1
  234. package/esm-es5/pn-market-web-components.js +1 -1
  235. package/esm-es5/pn-marketweb-input.entry.js +1 -1
  236. package/esm-es5/pn-marketweb-search.entry.js +1 -1
  237. package/esm-es5/pn-marketweb-sitefooter.entry.js +1 -1
  238. package/esm-es5/pn-marketweb-siteheader-login-button_5.entry.js +1 -1
  239. package/esm-es5/pn-marketweb-siteheader-login-linklist.entry.js +1 -1
  240. package/esm-es5/pn-marketweb-siteheader-store-cd0a1dab.js +1 -0
  241. package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
  242. package/esm-es5/pn-parcel-tracker.entry.js +1 -1
  243. package/esm-es5/pn-pex-pricefinder.entry.js +1 -1
  244. package/esm-es5/pn-product-card_3.entry.js +1 -1
  245. package/esm-es5/pn-product-pricelist-result.entry.js +1 -1
  246. package/esm-es5/pn-product-pricelist.entry.js +1 -1
  247. package/esm-es5/pn-product-tile-info_2.entry.js +1 -1
  248. package/esm-es5/pn-product-tile.entry.js +1 -1
  249. package/esm-es5/pn-profile-modal-customernumber.entry.js +1 -1
  250. package/esm-es5/pn-profile-modal-profile.entry.js +1 -1
  251. package/esm-es5/{pn-profile-modal-store-81f53310.js → pn-profile-modal-store-ae9e0d5a.js} +1 -1
  252. package/esm-es5/pn-profile-modal-type.entry.js +1 -1
  253. package/esm-es5/pn-profile-modal.entry.js +1 -1
  254. package/esm-es5/pn-profile-selector-option.entry.js +1 -1
  255. package/esm-es5/pn-profile-selector.entry.js +1 -1
  256. package/esm-es5/pn-proxio-findprice-result.entry.js +1 -1
  257. package/esm-es5/pn-proxio-findprice.entry.js +1 -1
  258. package/esm-es5/pn-proxio-pricegroup.entry.js +1 -1
  259. package/esm-es5/pn-proxio-productcard_4.entry.js +1 -1
  260. package/esm-es5/pn-quick-cta.entry.js +1 -1
  261. package/esm-es5/pn-quote-card.entry.js +1 -1
  262. package/esm-es5/pn-share-item.entry.js +1 -0
  263. package/esm-es5/pn-share.entry.js +1 -0
  264. package/esm-es5/pn-sidenav-level.entry.js +1 -1
  265. package/esm-es5/pn-sidenav-link.entry.js +1 -1
  266. package/esm-es5/{pn-sidenav-store-94be19c8.js → pn-sidenav-store-50b186d6.js} +1 -1
  267. package/esm-es5/pn-sidenav-togglebutton.entry.js +1 -1
  268. package/esm-es5/pn-sidenav.entry.js +1 -1
  269. package/esm-es5/pn-site-footer_2.entry.js +1 -1
  270. package/esm-es5/pn-spotlight.entry.js +1 -1
  271. package/esm-es5/pn-stats-info-data.entry.js +1 -1
  272. package/esm-es5/pn-stats-info.entry.js +1 -1
  273. package/esm-es5/pn-teaser-card.entry.js +1 -1
  274. package/esm-es5/pn-titletag.entry.js +1 -1
  275. package/package.json +5 -7
  276. package/pn-market-web-components/{p-6f1d6a1a.system.js → p-02ea55ad.system.js} +1 -1
  277. package/pn-market-web-components/p-0796f9b2.entry.js +1 -0
  278. package/pn-market-web-components/p-0862b4b6.entry.js +1 -0
  279. package/pn-market-web-components/p-086a72ca.system.entry.js +1 -0
  280. package/pn-market-web-components/{p-a1a58fe4.js → p-0cacf9fb.js} +1 -1
  281. package/pn-market-web-components/p-10eafcd7.entry.js +1 -0
  282. package/pn-market-web-components/{p-4bd540a4.system.entry.js → p-110e50b3.system.entry.js} +1 -1
  283. package/pn-market-web-components/{p-f7cb2ef9.system.entry.js → p-1151bf60.system.entry.js} +1 -1
  284. package/pn-market-web-components/p-138b1e76.entry.js +1 -0
  285. package/pn-market-web-components/{p-02632961.system.entry.js → p-13baed17.system.entry.js} +1 -1
  286. package/pn-market-web-components/p-15112837.entry.js +1 -0
  287. package/pn-market-web-components/p-16c4bc50.entry.js +1 -0
  288. package/pn-market-web-components/p-17c4004f.entry.js +1 -0
  289. package/pn-market-web-components/{p-0c46847e.system.entry.js → p-1c38553b.system.entry.js} +1 -1
  290. package/pn-market-web-components/p-1ca41ab1.entry.js +1 -0
  291. package/pn-market-web-components/{p-1fb4eae4.system.entry.js → p-1ce871c5.system.entry.js} +1 -1
  292. package/pn-market-web-components/p-21c01c47.entry.js +1 -0
  293. package/pn-market-web-components/p-227e1d46.entry.js +1 -0
  294. package/pn-market-web-components/p-2423d620.system.entry.js +1 -0
  295. package/pn-market-web-components/p-249964b5.entry.js +1 -0
  296. package/pn-market-web-components/{p-abfed655.system.entry.js → p-2718b89a.system.entry.js} +1 -1
  297. package/pn-market-web-components/{p-7d463116.system.entry.js → p-28c4b4d9.system.entry.js} +1 -1
  298. package/pn-market-web-components/{p-853e6559.system.entry.js → p-290d5824.system.entry.js} +1 -1
  299. package/pn-market-web-components/p-2a598ee8.entry.js +1 -0
  300. package/pn-market-web-components/p-2c7ba802.entry.js +1 -0
  301. package/pn-market-web-components/p-2da8e5e8.system.entry.js +1 -0
  302. package/pn-market-web-components/p-2e3bde56.entry.js +1 -0
  303. package/pn-market-web-components/p-31fd7a95.system.js +1 -1
  304. package/pn-market-web-components/p-35fcd76c.system.entry.js +1 -0
  305. package/pn-market-web-components/p-36654f2a.system.js +1 -0
  306. package/pn-market-web-components/{p-e4961116.system.entry.js → p-36a1b8e1.system.entry.js} +1 -1
  307. package/pn-market-web-components/{p-13d2d138.system.js → p-3738a2df.system.js} +1 -1
  308. package/pn-market-web-components/p-381b3ec0.entry.js +1 -0
  309. package/pn-market-web-components/p-381c034b.entry.js +1 -0
  310. package/pn-market-web-components/p-3969ec4d.entry.js +1 -0
  311. package/pn-market-web-components/{p-c576ac3e.system.entry.js → p-447ef543.system.entry.js} +1 -1
  312. package/pn-market-web-components/{p-8ca063a9.system.entry.js → p-450cbe76.system.entry.js} +1 -1
  313. package/pn-market-web-components/p-479b970a.entry.js +1 -0
  314. package/pn-market-web-components/p-499bb3ac.entry.js +1 -0
  315. package/pn-market-web-components/{p-589a9a4c.system.entry.js → p-4a03854b.system.entry.js} +1 -1
  316. package/pn-market-web-components/p-4a928837.entry.js +1 -0
  317. package/pn-market-web-components/p-4bef1bf3.entry.js +1 -0
  318. package/pn-market-web-components/{p-9f95b3c9.system.entry.js → p-4f67721e.system.entry.js} +1 -1
  319. package/pn-market-web-components/p-557328e3.system.entry.js +1 -0
  320. package/pn-market-web-components/{p-8fee0115.system.entry.js → p-58a57436.system.entry.js} +1 -1
  321. package/pn-market-web-components/p-58e8d7d5.js +1 -0
  322. package/pn-market-web-components/p-59be826b.system.entry.js +1 -0
  323. package/pn-market-web-components/p-61dbe832.entry.js +1 -0
  324. package/pn-market-web-components/{p-b890f3f9.system.entry.js → p-625fb7fb.system.entry.js} +1 -1
  325. package/pn-market-web-components/p-67380aa4.entry.js +1 -0
  326. package/pn-market-web-components/p-67887512.system.js +1 -0
  327. package/pn-market-web-components/{p-4d561de4.system.entry.js → p-7079df88.system.entry.js} +1 -1
  328. package/pn-market-web-components/p-715d1ef7.entry.js +1 -0
  329. package/pn-market-web-components/{p-5a506356.system.entry.js → p-723b9901.system.entry.js} +1 -1
  330. package/pn-market-web-components/{p-545a40a7.system.entry.js → p-74d35edf.system.entry.js} +1 -1
  331. package/pn-market-web-components/p-756b0a84.entry.js +1 -0
  332. package/pn-market-web-components/{p-6d050c3a.system.entry.js → p-7b9fb94f.system.entry.js} +1 -1
  333. package/pn-market-web-components/{p-5b5f4a52.system.entry.js → p-7cc57591.system.entry.js} +1 -1
  334. package/pn-market-web-components/p-7ce41d14.entry.js +1 -0
  335. package/pn-market-web-components/p-7fd8b012.entry.js +1 -0
  336. package/pn-market-web-components/{p-2145d5e0.system.entry.js → p-80dce81e.system.entry.js} +1 -1
  337. package/pn-market-web-components/{p-68324e6f.system.entry.js → p-8117b79e.system.entry.js} +1 -1
  338. package/pn-market-web-components/p-81d764a0.entry.js +1 -0
  339. package/pn-market-web-components/{p-d34c9be2.system.js → p-825b8fb8.system.js} +1 -1
  340. package/pn-market-web-components/p-84193b02.system.entry.js +1 -0
  341. package/pn-market-web-components/{p-c5727e83.js → p-84699999.js} +1 -1
  342. package/pn-market-web-components/{p-ecaad0c1.js → p-86f06e26.js} +1 -1
  343. package/pn-market-web-components/p-8766fa86.system.js +1 -1
  344. package/pn-market-web-components/p-88185835.entry.js +1 -0
  345. package/pn-market-web-components/p-885bc8d7.system.entry.js +1 -0
  346. package/pn-market-web-components/p-8afa354b.system.entry.js +1 -0
  347. package/pn-market-web-components/p-8b684578.entry.js +1 -0
  348. package/pn-market-web-components/p-8e146205.entry.js +1 -0
  349. package/pn-market-web-components/p-8e38c337.entry.js +1 -0
  350. package/pn-market-web-components/p-8e4d292f.entry.js +1 -0
  351. package/pn-market-web-components/p-8ef45246.entry.js +1 -0
  352. package/pn-market-web-components/p-9344cd23.js +1 -0
  353. package/pn-market-web-components/{p-e737c51d.system.entry.js → p-93cecc43.system.entry.js} +1 -1
  354. package/pn-market-web-components/{p-3a450371.system.js → p-94958580.system.js} +1 -1
  355. package/pn-market-web-components/p-951861fa.entry.js +1 -0
  356. package/pn-market-web-components/p-98a7ddd1.system.entry.js +1 -0
  357. package/pn-market-web-components/p-996d8a6a.entry.js +1 -0
  358. package/pn-market-web-components/p-9b855b11.entry.js +24 -0
  359. package/pn-market-web-components/p-9c18464d.system.entry.js +1 -0
  360. package/pn-market-web-components/{p-6a4ae9af.system.entry.js → p-9c3de760.system.entry.js} +1 -1
  361. package/pn-market-web-components/{p-8cefd900.system.entry.js → p-9edaf6b6.system.entry.js} +1 -1
  362. package/pn-market-web-components/p-a247058b.system.entry.js +1 -0
  363. package/pn-market-web-components/{p-6e43a937.system.entry.js → p-a275bffb.system.entry.js} +1 -1
  364. package/pn-market-web-components/p-a5171cb9.system.entry.js +1 -0
  365. package/pn-market-web-components/{p-396b254a.system.js → p-a5f75560.system.js} +1 -1
  366. package/pn-market-web-components/p-a7bb94a0.entry.js +1 -0
  367. package/pn-market-web-components/p-a921d3fd.system.entry.js +1 -0
  368. package/pn-market-web-components/{p-9010c32a.system.entry.js → p-aa271997.system.entry.js} +1 -1
  369. package/pn-market-web-components/{p-441249d9.system.js → p-add7d76c.system.js} +1 -1
  370. package/pn-market-web-components/{p-ca1f0abc.system.entry.js → p-af415c1a.system.entry.js} +1 -1
  371. package/pn-market-web-components/p-b3bf353f.entry.js +1 -0
  372. package/pn-market-web-components/{p-ffe18938.system.entry.js → p-b88337dd.system.entry.js} +1 -1
  373. package/pn-market-web-components/p-b9a84e67.entry.js +1 -0
  374. package/pn-market-web-components/p-bb626ab4.js +1 -0
  375. package/pn-market-web-components/p-bd22aaac.entry.js +1 -0
  376. package/pn-market-web-components/p-bfe239ca.js +1 -1
  377. package/pn-market-web-components/{p-5a41c1bb.system.entry.js → p-c62a91ba.system.entry.js} +1 -1
  378. package/pn-market-web-components/p-c714a790.entry.js +1 -0
  379. package/pn-market-web-components/{p-2e507907.system.entry.js → p-c9fb0f01.system.entry.js} +2 -2
  380. package/pn-market-web-components/p-d0155ddf.entry.js +1 -0
  381. package/pn-market-web-components/p-d57f4246.system.entry.js +1 -0
  382. package/pn-market-web-components/p-d7e3d918.entry.js +1 -0
  383. package/pn-market-web-components/{p-ad836c55.system.js → p-dbe032f7.system.js} +1 -1
  384. package/pn-market-web-components/p-dc714241.entry.js +1 -0
  385. package/pn-market-web-components/p-e32dc098.entry.js +1 -0
  386. package/pn-market-web-components/p-e397e11b.entry.js +1 -0
  387. package/pn-market-web-components/{p-ef721555.system.entry.js → p-e6fa11ad.system.entry.js} +1 -1
  388. package/pn-market-web-components/p-e9576f26.entry.js +1 -0
  389. package/pn-market-web-components/p-e9fe5c54.entry.js +1 -0
  390. package/pn-market-web-components/p-ecdf2b69.system.entry.js +1 -0
  391. package/pn-market-web-components/p-ecf712bb.system.entry.js +1 -0
  392. package/pn-market-web-components/p-ee589138.entry.js +1 -0
  393. package/pn-market-web-components/{p-939b5792.system.entry.js → p-f312ff98.system.entry.js} +1 -1
  394. package/pn-market-web-components/{p-8666d14d.js → p-f58bde56.js} +1 -1
  395. package/pn-market-web-components/p-f61342c3.js +1 -0
  396. package/pn-market-web-components/{p-4b85fd2b.system.entry.js → p-f6ea7c38.system.entry.js} +1 -1
  397. package/pn-market-web-components/p-f774e2cc.entry.js +1 -0
  398. package/pn-market-web-components/{p-658f6ff7.system.entry.js → p-f782ce94.system.entry.js} +1 -1
  399. package/pn-market-web-components/{p-1d50340b.system.entry.js → p-fc1083d2.system.entry.js} +1 -1
  400. package/pn-market-web-components/p-fc974bca.entry.js +1 -0
  401. package/pn-market-web-components/p-fea72975.entry.js +1 -0
  402. package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  403. package/pn-market-web-components/pn-market-web-components.js +1 -2
  404. package/types/components/cta/pn-share/pn-share-item.d.ts +6 -0
  405. package/types/components/cta/pn-share/pn-share.d.ts +10 -0
  406. package/types/components/cta/pn-share/translations.d.ts +17 -0
  407. package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.d.ts +3 -2
  408. package/types/components.d.ts +55 -53
  409. package/types/stencil-public-runtime.d.ts +7 -79
  410. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/LICENSE.md +27 -0
  411. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/bin/stencil +57 -0
  412. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/config-flags.d.ts +122 -0
  413. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.cjs +2609 -0
  414. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.d.ts +19 -0
  415. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.js +2583 -0
  416. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/package.json +14 -0
  417. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.d.ts +24 -0
  418. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.dom.d.ts +18505 -0
  419. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.dom.iterable.d.ts +341 -0
  420. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.collection.d.ts +150 -0
  421. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.core.d.ts +559 -0
  422. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.d.ts +30 -0
  423. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.generator.d.ts +79 -0
  424. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.iterable.d.ts +498 -0
  425. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.promise.d.ts +83 -0
  426. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.proxy.d.ts +130 -0
  427. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.reflect.d.ts +146 -0
  428. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.symbol.d.ts +48 -0
  429. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.symbol.wellknown.d.ts +324 -0
  430. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2016.array.include.d.ts +118 -0
  431. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2016.d.ts +22 -0
  432. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2016.full.d.ts +25 -0
  433. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.d.ts +26 -0
  434. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.full.d.ts +25 -0
  435. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.intl.d.ts +47 -0
  436. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.object.d.ts +51 -0
  437. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.sharedmemory.d.ts +137 -0
  438. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.string.d.ts +47 -0
  439. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.typedarrays.d.ts +55 -0
  440. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.asyncgenerator.d.ts +79 -0
  441. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.asynciterable.d.ts +45 -0
  442. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.d.ts +26 -0
  443. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.full.d.ts +25 -0
  444. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.intl.d.ts +73 -0
  445. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.promise.d.ts +32 -0
  446. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.regexp.d.ts +39 -0
  447. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.array.d.ts +85 -0
  448. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.d.ts +26 -0
  449. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.full.d.ts +25 -0
  450. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.intl.d.ts +25 -0
  451. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.object.d.ts +35 -0
  452. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.string.d.ts +39 -0
  453. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.symbol.d.ts +26 -0
  454. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.bigint.d.ts +730 -0
  455. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.d.ts +29 -0
  456. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.date.d.ts +44 -0
  457. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.full.d.ts +25 -0
  458. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.intl.d.ts +433 -0
  459. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.number.d.ts +30 -0
  460. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.promise.d.ts +49 -0
  461. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.sharedmemory.d.ts +99 -0
  462. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.string.d.ts +30 -0
  463. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.symbol.wellknown.d.ts +39 -0
  464. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.d.ts +25 -0
  465. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.full.d.ts +25 -0
  466. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.intl.d.ts +154 -0
  467. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.promise.d.ts +50 -0
  468. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.string.d.ts +35 -0
  469. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.weakref.d.ts +75 -0
  470. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.array.d.ts +123 -0
  471. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.d.ts +27 -0
  472. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.error.d.ts +75 -0
  473. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.full.d.ts +25 -0
  474. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.intl.d.ts +111 -0
  475. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.object.d.ts +28 -0
  476. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.sharedmemory.d.ts +27 -0
  477. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.string.d.ts +27 -0
  478. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es5.d.ts +4526 -0
  479. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es6.d.ts +25 -0
  480. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.d.ts +22 -0
  481. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.full.d.ts +25 -0
  482. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.intl.d.ts +30 -0
  483. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.promise.d.ts +43 -0
  484. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.string.d.ts +35 -0
  485. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.weakref.d.ts +75 -0
  486. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.scripthost.d.ts +327 -0
  487. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.webworker.d.ts +6192 -0
  488. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.webworker.importscripts.d.ts +26 -0
  489. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.webworker.iterable.d.ts +175 -0
  490. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/package.json +8 -0
  491. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.d.ts +73 -0
  492. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.js +70673 -0
  493. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.min.js +4 -0
  494. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/sys/in-memory-fs.d.ts +218 -0
  495. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/transpile.d.ts +32 -0
  496. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dependencies.json +120 -0
  497. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/app-error.d.ts +18 -0
  498. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/events.d.ts +6 -0
  499. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-components.d.ts +1 -0
  500. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-external-styles.d.ts +1 -0
  501. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-images.d.ts +1 -0
  502. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-inline-styles.d.ts +1 -0
  503. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-util.d.ts +9 -0
  504. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-window.d.ts +10 -0
  505. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/index.d.ts +6 -0
  506. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/index.js +808 -0
  507. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/logger.d.ts +5 -0
  508. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/package.json +8 -0
  509. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/progress.d.ts +3 -0
  510. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/status.d.ts +4 -0
  511. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/test/hmr-util.spec.d.ts +1 -0
  512. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/test/status.spec.d.ts +1 -0
  513. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/connector.html +6 -0
  514. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/index.d.ts +3 -0
  515. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/index.js +264 -0
  516. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/open-in-editor-api.js +1 -0
  517. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/package.json +8 -0
  518. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/server-process.js +1799 -0
  519. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/server-worker-thread.js +39 -0
  520. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/static/favicon.ico +0 -0
  521. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/templates/directory-index.html +132 -0
  522. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/templates/initial-load.html +160 -0
  523. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/visualstudio.vbs +82 -0
  524. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/ws.js +1 -0
  525. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/xdg-open +1066 -0
  526. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/index.cjs +92 -0
  527. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/index.d.ts +4 -0
  528. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/index.js +88 -0
  529. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/package.json +15 -0
  530. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/css-shim.js +4 -0
  531. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/dom.js +73 -0
  532. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/index.js +3371 -0
  533. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/package.json +8 -0
  534. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/patch-browser.js +142 -0
  535. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/patch-esm.js +23 -0
  536. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/core-js.js +11 -0
  537. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/css-shim.js +1 -0
  538. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/dom.js +79 -0
  539. package/{loader/index.js → umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/es5-html-element.js} +1 -4
  540. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/index.js +34 -0
  541. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/system.js +6 -0
  542. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/shadow-css.js +387 -0
  543. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/index.js +1143 -0
  544. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/package.json +7 -0
  545. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/runner.d.ts +217 -0
  546. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/runner.js +777 -0
  547. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/shadow-css.js +143 -0
  548. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/index.d.ts +4 -0
  549. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/index.js +2 -0
  550. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/package.json +9 -0
  551. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.cjs +1 -0
  552. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.d.ts +51 -0
  553. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.js +16 -0
  554. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-ext-modules.d.ts +41 -0
  555. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-private.d.ts +2268 -0
  556. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-compiler.d.ts +2338 -0
  557. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-docs.d.ts +140 -0
  558. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-runtime.d.ts +1637 -0
  559. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/index.js +1105 -0
  560. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/package.json +7 -0
  561. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/shadow-css.js +143 -0
  562. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.cjs +4858 -0
  563. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.d.ts +1020 -0
  564. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.js +4822 -0
  565. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/package.json +15 -0
  566. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/package.json +190 -0
  567. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/readme.md +99 -0
  568. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/assets/favicon.ico +0 -0
  569. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/assets/logo.png +0 -0
  570. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/app.css +1 -0
  571. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/app.esm.js +1 -0
  572. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/app.js +33 -0
  573. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/index.esm.js +0 -0
  574. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-081b0641.js +1 -0
  575. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-227a1e18.entry.js +1 -0
  576. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-2c298727.entry.js +1 -0
  577. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-5479268c.entry.js +1 -0
  578. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-573ec8a4.entry.js +1 -0
  579. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-6ba08604.entry.js +1 -0
  580. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-6bc63295.entry.js +1 -0
  581. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-7a3759fd.entry.js +1 -0
  582. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-7b4e3ba7.js +1 -0
  583. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-988eb362.css +1 -0
  584. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-9b6a9315.js +1 -0
  585. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-b4cc611c.entry.js +1 -0
  586. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-d1bf53f5.entry.js +1 -0
  587. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-e2efe0df.js +1 -0
  588. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-e8ca6d97.entry.js +1 -0
  589. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-ec2f13e0.entry.js +1 -0
  590. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-f0b99977.entry.js +1 -0
  591. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-f4745c2f.entry.js +1 -0
  592. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-fbbae598.js +1 -0
  593. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/host.config.json +15 -0
  594. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/index.html +1 -0
  595. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/manifest.json +13 -0
  596. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/connector.js +2 -0
  597. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/index.js +661 -0
  598. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/local-connector.js +2 -0
  599. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/package.json +15 -0
  600. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/pixel-match.js +2807 -0
  601. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/autoprefixer.js +8 -0
  602. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/glob.js +1 -0
  603. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/graceful-fs.js +1 -0
  604. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/index.d.ts +22 -0
  605. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/index.js +6121 -0
  606. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/node-fetch.js +1 -0
  607. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/package.json +8 -0
  608. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/prompts.js +1 -0
  609. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/worker.js +52 -0
  610. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/index.d.ts +12 -0
  611. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/index.js +4155 -0
  612. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-config.d.ts +16 -0
  613. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-environment.d.ts +15 -0
  614. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-preprocessor.d.ts +59 -0
  615. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-runner.d.ts +10 -0
  616. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-screenshot.d.ts +2 -0
  617. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-serializer.d.ts +4 -0
  618. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-setup-test-framework.d.ts +1 -0
  619. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-config.spec.d.ts +1 -0
  620. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-preprocessor.spec.d.ts +1 -0
  621. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-runner.spec.d.ts +1 -0
  622. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-serializer.spec.d.ts +1 -0
  623. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-environment.js +3 -0
  624. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-preprocessor.js +3 -0
  625. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-preset.js +37 -0
  626. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-runner.js +3 -0
  627. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-setuptestframework.js +3 -0
  628. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/attributes.d.ts +14 -0
  629. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/class-list.d.ts +12 -0
  630. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/events.d.ts +21 -0
  631. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/html.d.ts +12 -0
  632. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/index.d.ts +23 -0
  633. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/screenshot.d.ts +5 -0
  634. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/text.d.ts +4 -0
  635. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/mock-fetch.d.ts +11 -0
  636. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/mocks.d.ts +56 -0
  637. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/package.json +8 -0
  638. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/index.d.ts +2 -0
  639. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-browser.d.ts +6 -0
  640. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-declarations.d.ts +429 -0
  641. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-element.d.ts +67 -0
  642. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-emulate.d.ts +2 -0
  643. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-events.d.ts +21 -0
  644. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-page.d.ts +2 -0
  645. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-screenshot.d.ts +4 -0
  646. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/reset-build-conditionals.d.ts +2 -0
  647. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/spec-page.d.ts +2 -0
  648. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/test/testing-utils.spec.d.ts +1 -0
  649. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/test-transpile.d.ts +2 -0
  650. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing-logger.d.ts +25 -0
  651. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing-sys.d.ts +6 -0
  652. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing-utils.d.ts +79 -0
  653. package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing.d.ts +2 -0
  654. package/umd/pn-marketweb-init.js +1 -1
  655. package/umd/pn-marketweb-salesforce.js +2 -2
  656. package/components/MarketWebContextService.js +0 -316
  657. package/components/_commonjsHelpers.js +0 -32
  658. package/components/convert.js +0 -1823
  659. package/components/data.js +0 -37
  660. package/components/index.d.ts +0 -100
  661. package/components/index.js +0 -71
  662. package/components/index2.js +0 -187
  663. package/components/pn-bonus-progressbar-level.d.ts +0 -11
  664. package/components/pn-bonus-progressbar-level.js +0 -65
  665. package/components/pn-bonus-progressbar.d.ts +0 -11
  666. package/components/pn-bonus-progressbar.js +0 -128
  667. package/components/pn-breakpoints.d.ts +0 -11
  668. package/components/pn-breakpoints.js +0 -45
  669. package/components/pn-chart.d.ts +0 -11
  670. package/components/pn-chart.js +0 -22151
  671. package/components/pn-charts-card.d.ts +0 -11
  672. package/components/pn-charts-card.js +0 -51
  673. package/components/pn-choice-button.d.ts +0 -11
  674. package/components/pn-choice-button.js +0 -6
  675. package/components/pn-choice-button2.js +0 -61
  676. package/components/pn-customernumber-selector-option.d.ts +0 -11
  677. package/components/pn-customernumber-selector-option.js +0 -41
  678. package/components/pn-customernumber-selector.d.ts +0 -11
  679. package/components/pn-customernumber-selector.js +0 -77
  680. package/components/pn-filter-checkbox.d.ts +0 -11
  681. package/components/pn-filter-checkbox.js +0 -93
  682. package/components/pn-find-price-result.d.ts +0 -11
  683. package/components/pn-find-price-result.js +0 -6
  684. package/components/pn-find-price-result2.js +0 -192
  685. package/components/pn-find-price.d.ts +0 -11
  686. package/components/pn-find-price.js +0 -281
  687. package/components/pn-find-service-and-price-result.d.ts +0 -11
  688. package/components/pn-find-service-and-price-result.js +0 -6
  689. package/components/pn-find-service-and-price-result2.js +0 -96
  690. package/components/pn-find-service-and-price.d.ts +0 -11
  691. package/components/pn-find-service-and-price.js +0 -314
  692. package/components/pn-language-selector-option.d.ts +0 -11
  693. package/components/pn-language-selector-option.js +0 -6
  694. package/components/pn-language-selector-option2.js +0 -51
  695. package/components/pn-language-selector.d.ts +0 -11
  696. package/components/pn-language-selector.js +0 -6
  697. package/components/pn-language-selector2.js +0 -133
  698. package/components/pn-line-shape.d.ts +0 -11
  699. package/components/pn-line-shape.js +0 -35
  700. package/components/pn-mainnav-level.d.ts +0 -11
  701. package/components/pn-mainnav-level.js +0 -6
  702. package/components/pn-mainnav-level2.js +0 -117
  703. package/components/pn-mainnav-link.d.ts +0 -11
  704. package/components/pn-mainnav-link.js +0 -6
  705. package/components/pn-mainnav-link2.js +0 -57
  706. package/components/pn-mainnav-list.d.ts +0 -11
  707. package/components/pn-mainnav-list.js +0 -6
  708. package/components/pn-mainnav-list2.js +0 -39
  709. package/components/pn-mainnav.d.ts +0 -11
  710. package/components/pn-mainnav.js +0 -6
  711. package/components/pn-mainnav2.js +0 -120
  712. package/components/pn-marketweb-input.d.ts +0 -11
  713. package/components/pn-marketweb-input.js +0 -6
  714. package/components/pn-marketweb-input2.js +0 -102
  715. package/components/pn-marketweb-search.d.ts +0 -11
  716. package/components/pn-marketweb-search.js +0 -129
  717. package/components/pn-marketweb-sitefooter.d.ts +0 -11
  718. package/components/pn-marketweb-sitefooter.js +0 -335
  719. package/components/pn-marketweb-siteheader-login-button.d.ts +0 -11
  720. package/components/pn-marketweb-siteheader-login-button.js +0 -6
  721. package/components/pn-marketweb-siteheader-login-button2.js +0 -79
  722. package/components/pn-marketweb-siteheader-login-linklist.d.ts +0 -11
  723. package/components/pn-marketweb-siteheader-login-linklist.js +0 -6
  724. package/components/pn-marketweb-siteheader-login-linklist2.js +0 -105
  725. package/components/pn-marketweb-siteheader-login-links.d.ts +0 -11
  726. package/components/pn-marketweb-siteheader-login-links.js +0 -6
  727. package/components/pn-marketweb-siteheader-login-links2.js +0 -116
  728. package/components/pn-marketweb-siteheader-login-mypage-button.d.ts +0 -11
  729. package/components/pn-marketweb-siteheader-login-mypage-button.js +0 -6
  730. package/components/pn-marketweb-siteheader-login-mypage-button2.js +0 -36
  731. package/components/pn-marketweb-siteheader-login-profileselection.d.ts +0 -11
  732. package/components/pn-marketweb-siteheader-login-profileselection.js +0 -6
  733. package/components/pn-marketweb-siteheader-login-profileselection2.js +0 -234
  734. package/components/pn-marketweb-siteheader-login.d.ts +0 -11
  735. package/components/pn-marketweb-siteheader-login.js +0 -6
  736. package/components/pn-marketweb-siteheader-login2.js +0 -589
  737. package/components/pn-marketweb-siteheader-search.d.ts +0 -11
  738. package/components/pn-marketweb-siteheader-search.js +0 -6
  739. package/components/pn-marketweb-siteheader-search2.js +0 -131
  740. package/components/pn-marketweb-siteheader-unified-login.d.ts +0 -11
  741. package/components/pn-marketweb-siteheader-unified-login.js +0 -6
  742. package/components/pn-marketweb-siteheader-unified-login2.js +0 -52
  743. package/components/pn-marketweb-siteheader.d.ts +0 -11
  744. package/components/pn-marketweb-siteheader.js +0 -551
  745. package/components/pn-parcel-tracker.d.ts +0 -11
  746. package/components/pn-parcel-tracker.js +0 -58
  747. package/components/pn-pex-pricefinder.d.ts +0 -11
  748. package/components/pn-pex-pricefinder.js +0 -156
  749. package/components/pn-product-card-info.d.ts +0 -11
  750. package/components/pn-product-card-info.js +0 -6
  751. package/components/pn-product-card-info2.js +0 -45
  752. package/components/pn-product-card-price.d.ts +0 -11
  753. package/components/pn-product-card-price.js +0 -6
  754. package/components/pn-product-card-price2.js +0 -48
  755. package/components/pn-product-card.d.ts +0 -11
  756. package/components/pn-product-card.js +0 -6
  757. package/components/pn-product-card2.js +0 -30
  758. package/components/pn-product-pricelist-result.d.ts +0 -11
  759. package/components/pn-product-pricelist-result.js +0 -130
  760. package/components/pn-product-pricelist.d.ts +0 -11
  761. package/components/pn-product-pricelist.js +0 -259
  762. package/components/pn-product-tile-info.d.ts +0 -11
  763. package/components/pn-product-tile-info.js +0 -6
  764. package/components/pn-product-tile-info2.js +0 -38
  765. package/components/pn-product-tile-price.d.ts +0 -11
  766. package/components/pn-product-tile-price.js +0 -6
  767. package/components/pn-product-tile-price2.js +0 -42
  768. package/components/pn-product-tile.d.ts +0 -11
  769. package/components/pn-product-tile.js +0 -33
  770. package/components/pn-profile-modal-customernumber.d.ts +0 -11
  771. package/components/pn-profile-modal-customernumber.js +0 -46
  772. package/components/pn-profile-modal-profile.d.ts +0 -11
  773. package/components/pn-profile-modal-profile.js +0 -71
  774. package/components/pn-profile-modal-type.d.ts +0 -11
  775. package/components/pn-profile-modal-type.js +0 -56
  776. package/components/pn-profile-modal.d.ts +0 -11
  777. package/components/pn-profile-modal.js +0 -92
  778. package/components/pn-profile-selector-option.d.ts +0 -11
  779. package/components/pn-profile-selector-option.js +0 -41
  780. package/components/pn-profile-selector.d.ts +0 -11
  781. package/components/pn-profile-selector.js +0 -79
  782. package/components/pn-proxio-findprice-result.d.ts +0 -11
  783. package/components/pn-proxio-findprice-result.js +0 -6
  784. package/components/pn-proxio-findprice-result2.js +0 -122
  785. package/components/pn-proxio-findprice.d.ts +0 -11
  786. package/components/pn-proxio-findprice.js +0 -374
  787. package/components/pn-proxio-pricegroup.d.ts +0 -11
  788. package/components/pn-proxio-pricegroup.js +0 -194
  789. package/components/pn-proxio-productcard-description.d.ts +0 -11
  790. package/components/pn-proxio-productcard-description.js +0 -6
  791. package/components/pn-proxio-productcard-description2.js +0 -43
  792. package/components/pn-proxio-productcard-information.d.ts +0 -11
  793. package/components/pn-proxio-productcard-information.js +0 -6
  794. package/components/pn-proxio-productcard-information2.js +0 -37
  795. package/components/pn-proxio-productcard-pricelink.d.ts +0 -11
  796. package/components/pn-proxio-productcard-pricelink.js +0 -6
  797. package/components/pn-proxio-productcard-pricelink2.js +0 -38
  798. package/components/pn-proxio-productcard.d.ts +0 -11
  799. package/components/pn-proxio-productcard.js +0 -6
  800. package/components/pn-proxio-productcard2.js +0 -30
  801. package/components/pn-quick-cta.d.ts +0 -11
  802. package/components/pn-quick-cta.js +0 -39
  803. package/components/pn-quote-card.d.ts +0 -11
  804. package/components/pn-quote-card.js +0 -41
  805. package/components/pn-sidenav-level.d.ts +0 -11
  806. package/components/pn-sidenav-level.js +0 -84
  807. package/components/pn-sidenav-link.d.ts +0 -11
  808. package/components/pn-sidenav-link.js +0 -87
  809. package/components/pn-sidenav-togglebutton.d.ts +0 -11
  810. package/components/pn-sidenav-togglebutton.js +0 -45
  811. package/components/pn-sidenav.d.ts +0 -11
  812. package/components/pn-sidenav.js +0 -95
  813. package/components/pn-site-footer-col.d.ts +0 -11
  814. package/components/pn-site-footer-col.js +0 -6
  815. package/components/pn-site-footer-col2.js +0 -33
  816. package/components/pn-site-footer.d.ts +0 -11
  817. package/components/pn-site-footer.js +0 -6
  818. package/components/pn-site-footer2.js +0 -38
  819. package/components/pn-site-selector-item.d.ts +0 -11
  820. package/components/pn-site-selector-item.js +0 -6
  821. package/components/pn-site-selector-item2.js +0 -39
  822. package/components/pn-site-selector.d.ts +0 -11
  823. package/components/pn-site-selector.js +0 -6
  824. package/components/pn-site-selector2.js +0 -69
  825. package/components/pn-spotlight.d.ts +0 -11
  826. package/components/pn-spotlight.js +0 -39
  827. package/components/pn-stats-info-data.d.ts +0 -11
  828. package/components/pn-stats-info-data.js +0 -6
  829. package/components/pn-stats-info-data2.js +0 -157
  830. package/components/pn-stats-info.d.ts +0 -11
  831. package/components/pn-stats-info.js +0 -59
  832. package/components/pn-teaser-card.d.ts +0 -11
  833. package/components/pn-teaser-card.js +0 -56
  834. package/components/pn-titletag.d.ts +0 -11
  835. package/components/pn-titletag.js +0 -6
  836. package/components/pn-titletag2.js +0 -36
  837. package/components/translations.js +0 -19
  838. package/esm/pn-mainnav-store-5d91f523.js +0 -17
  839. package/esm/pn-profile-modal-store-81f53310.js +0 -15
  840. package/esm/pn-sidenav-store-94be19c8.js +0 -14
  841. package/esm-es5/index-c118284d.js +0 -1
  842. package/esm-es5/pn-marketweb-siteheader-store-9df5290d.js +0 -1
  843. package/loader/cdn.js +0 -3
  844. package/loader/index.cjs.js +0 -3
  845. package/loader/index.d.ts +0 -21
  846. package/loader/index.es2017.js +0 -3
  847. package/loader/package.json +0 -11
  848. package/pn-market-web-components/p-0f1115aa.entry.js +0 -1
  849. package/pn-market-web-components/p-0fbcacf3.system.entry.js +0 -1
  850. package/pn-market-web-components/p-1545fb34.entry.js +0 -1
  851. package/pn-market-web-components/p-156fedd7.entry.js +0 -1
  852. package/pn-market-web-components/p-15e680a8.entry.js +0 -1
  853. package/pn-market-web-components/p-1646c170.system.entry.js +0 -1
  854. package/pn-market-web-components/p-17fb8d9e.entry.js +0 -1
  855. package/pn-market-web-components/p-18abec91.entry.js +0 -1
  856. package/pn-market-web-components/p-1a9b2a0e.system.entry.js +0 -1
  857. package/pn-market-web-components/p-1c382898.entry.js +0 -1
  858. package/pn-market-web-components/p-247cd393.entry.js +0 -1
  859. package/pn-market-web-components/p-34c0b146.entry.js +0 -1
  860. package/pn-market-web-components/p-37d26cef.entry.js +0 -1
  861. package/pn-market-web-components/p-38f135fd.entry.js +0 -1
  862. package/pn-market-web-components/p-3f37d2e3.entry.js +0 -1
  863. package/pn-market-web-components/p-4410d66d.system.entry.js +0 -1
  864. package/pn-market-web-components/p-44c05fba.entry.js +0 -1
  865. package/pn-market-web-components/p-44f58f15.js +0 -1
  866. package/pn-market-web-components/p-47d717a3.entry.js +0 -1
  867. package/pn-market-web-components/p-48c74c53.entry.js +0 -1
  868. package/pn-market-web-components/p-498e7738.system.entry.js +0 -1
  869. package/pn-market-web-components/p-49f60496.entry.js +0 -1
  870. package/pn-market-web-components/p-4ef54288.entry.js +0 -1
  871. package/pn-market-web-components/p-507f8886.entry.js +0 -1
  872. package/pn-market-web-components/p-5a6761da.js +0 -1
  873. package/pn-market-web-components/p-5e768b73.entry.js +0 -1
  874. package/pn-market-web-components/p-6b5ff47f.entry.js +0 -1
  875. package/pn-market-web-components/p-73ee3141.entry.js +0 -1
  876. package/pn-market-web-components/p-773b59c0.entry.js +0 -24
  877. package/pn-market-web-components/p-7c1b31e8.js +0 -2
  878. package/pn-market-web-components/p-7d992089.entry.js +0 -1
  879. package/pn-market-web-components/p-7dff99ed.entry.js +0 -1
  880. package/pn-market-web-components/p-8079dfd5.system.entry.js +0 -1
  881. package/pn-market-web-components/p-82db879c.entry.js +0 -1
  882. package/pn-market-web-components/p-833bab34.entry.js +0 -1
  883. package/pn-market-web-components/p-85513296.entry.js +0 -1
  884. package/pn-market-web-components/p-8d4dfd26.entry.js +0 -1
  885. package/pn-market-web-components/p-8f0a682f.entry.js +0 -1
  886. package/pn-market-web-components/p-8f32fa2b.system.entry.js +0 -1
  887. package/pn-market-web-components/p-8fe65c6a.entry.js +0 -1
  888. package/pn-market-web-components/p-924ca115.entry.js +0 -1
  889. package/pn-market-web-components/p-9407ee64.system.entry.js +0 -1
  890. package/pn-market-web-components/p-9429ca78.entry.js +0 -1
  891. package/pn-market-web-components/p-9826ba22.system.entry.js +0 -1
  892. package/pn-market-web-components/p-9a1c267d.entry.js +0 -1
  893. package/pn-market-web-components/p-a5faec68.system.js +0 -2
  894. package/pn-market-web-components/p-a799fee1.entry.js +0 -1
  895. package/pn-market-web-components/p-ac62dc33.entry.js +0 -1
  896. package/pn-market-web-components/p-ad1f57dc.entry.js +0 -1
  897. package/pn-market-web-components/p-b0102ff6.entry.js +0 -1
  898. package/pn-market-web-components/p-b5587c0d.entry.js +0 -1
  899. package/pn-market-web-components/p-beefd9f7.entry.js +0 -1
  900. package/pn-market-web-components/p-c0db1ffd.js +0 -1
  901. package/pn-market-web-components/p-c1d9a064.entry.js +0 -1
  902. package/pn-market-web-components/p-c668f453.entry.js +0 -1
  903. package/pn-market-web-components/p-c7e8ab14.entry.js +0 -1
  904. package/pn-market-web-components/p-c9742318.entry.js +0 -1
  905. package/pn-market-web-components/p-cd6b402e.system.entry.js +0 -1
  906. package/pn-market-web-components/p-d295ef71.system.js +0 -1
  907. package/pn-market-web-components/p-d5ae9797.entry.js +0 -1
  908. package/pn-market-web-components/p-d5c7420f.system.entry.js +0 -1
  909. package/pn-market-web-components/p-d6ee168b.system.entry.js +0 -1
  910. package/pn-market-web-components/p-d70e685c.entry.js +0 -1
  911. package/pn-market-web-components/p-dbd7837e.entry.js +0 -1
  912. package/pn-market-web-components/p-dc598ef8.entry.js +0 -1
  913. package/pn-market-web-components/p-e0e45eb0.system.entry.js +0 -1
  914. package/pn-market-web-components/p-e1513762.entry.js +0 -1
  915. package/pn-market-web-components/p-e4fbd06c.entry.js +0 -1
  916. package/pn-market-web-components/p-ebb7b59b.system.entry.js +0 -1
  917. package/pn-market-web-components/p-ed5e91eb.system.entry.js +0 -1
  918. package/pn-market-web-components/p-fba88e93.entry.js +0 -1
  919. package/pn-market-web-components/p-ff975b67.entry.js +0 -1
  920. /package/{components → custom-elements}/mockresponse.js +0 -0
@@ -0,0 +1,2268 @@
1
+ import type { InMemoryFileSystem } from '../compiler/sys/in-memory-fs';
2
+ import type { BuildEvents, BuildLog, BuildResultsComponentGraph, CompilerBuildResults, CompilerBuildStart, CompilerFsStats, CompilerRequestResponse, CompilerSystem, Config, CopyResults, DevServerConfig, DevServerEditor, Diagnostic, Logger, LoggerLineUpdater, LoggerTimeSpan, OptimizeCssInput, OptimizeCssOutput, OutputTargetWww, PageReloadStrategy, PrerenderConfig, StyleDoc, TaskCommand } from './stencil-public-compiler';
3
+ import type { ComponentInterface, ListenOptions, ListenTargetOptions, VNode, VNodeData } from './stencil-public-runtime';
4
+ export interface SourceMap {
5
+ file: string;
6
+ mappings: string;
7
+ names: string[];
8
+ sourceRoot?: string;
9
+ sources: string[];
10
+ sourcesContent?: string[];
11
+ version: number;
12
+ }
13
+ export interface PrintLine {
14
+ lineIndex: number;
15
+ lineNumber: number;
16
+ text?: string;
17
+ errorCharStart: number;
18
+ errorLength?: number;
19
+ }
20
+ export interface AssetsMeta {
21
+ absolutePath: string;
22
+ cmpRelativePath: string;
23
+ originalComponentPath: string;
24
+ }
25
+ export interface ParsedImport {
26
+ importPath: string;
27
+ basename: string;
28
+ ext: string;
29
+ data: ImportData;
30
+ }
31
+ export interface ImportData {
32
+ tag?: string;
33
+ encapsulation?: string;
34
+ mode?: string;
35
+ }
36
+ export interface SerializeImportData extends ImportData {
37
+ importeePath: string;
38
+ importerPath?: string;
39
+ }
40
+ export interface BuildFeatures {
41
+ style: boolean;
42
+ mode: boolean;
43
+ shadowDom: boolean;
44
+ shadowDelegatesFocus: boolean;
45
+ scoped: boolean;
46
+ /**
47
+ * Every component has a render function
48
+ */
49
+ allRenderFn: boolean;
50
+ /**
51
+ * At least one component has a render function
52
+ */
53
+ hasRenderFn: boolean;
54
+ vdomRender: boolean;
55
+ vdomAttribute: boolean;
56
+ vdomClass: boolean;
57
+ vdomFunctional: boolean;
58
+ vdomKey: boolean;
59
+ vdomListener: boolean;
60
+ vdomPropOrAttr: boolean;
61
+ vdomRef: boolean;
62
+ vdomStyle: boolean;
63
+ vdomText: boolean;
64
+ vdomXlink: boolean;
65
+ slotRelocation: boolean;
66
+ slot: boolean;
67
+ svg: boolean;
68
+ element: boolean;
69
+ event: boolean;
70
+ hostListener: boolean;
71
+ hostListenerTargetWindow: boolean;
72
+ hostListenerTargetDocument: boolean;
73
+ hostListenerTargetBody: boolean;
74
+ /**
75
+ * @deprecated Prevented from new apps, but left in for older collections
76
+ */
77
+ hostListenerTargetParent: boolean;
78
+ hostListenerTarget: boolean;
79
+ method: boolean;
80
+ prop: boolean;
81
+ propMutable: boolean;
82
+ state: boolean;
83
+ watchCallback: boolean;
84
+ member: boolean;
85
+ updatable: boolean;
86
+ propBoolean: boolean;
87
+ propNumber: boolean;
88
+ propString: boolean;
89
+ lifecycle: boolean;
90
+ cmpDidLoad: boolean;
91
+ cmpShouldUpdate: boolean;
92
+ cmpWillLoad: boolean;
93
+ cmpDidUpdate: boolean;
94
+ cmpWillUpdate: boolean;
95
+ cmpWillRender: boolean;
96
+ cmpDidRender: boolean;
97
+ cmpDidUnload: boolean;
98
+ connectedCallback: boolean;
99
+ disconnectedCallback: boolean;
100
+ asyncLoading: boolean;
101
+ observeAttribute: boolean;
102
+ reflect: boolean;
103
+ taskQueue: boolean;
104
+ }
105
+ export interface BuildConditionals extends Partial<BuildFeatures> {
106
+ hotModuleReplacement?: boolean;
107
+ isDebug?: boolean;
108
+ isTesting?: boolean;
109
+ isDev?: boolean;
110
+ devTools?: boolean;
111
+ invisiblePrehydration?: boolean;
112
+ hydrateServerSide?: boolean;
113
+ hydrateClientSide?: boolean;
114
+ lifecycleDOMEvents?: boolean;
115
+ cssAnnotations?: boolean;
116
+ lazyLoad?: boolean;
117
+ profile?: boolean;
118
+ cssVarShim?: boolean;
119
+ constructableCSS?: boolean;
120
+ appendChildSlotFix?: boolean;
121
+ slotChildNodesFix?: boolean;
122
+ scopedSlotTextContentFix?: boolean;
123
+ cloneNodeFix?: boolean;
124
+ dynamicImportShim?: boolean;
125
+ hydratedAttribute?: boolean;
126
+ hydratedClass?: boolean;
127
+ initializeNextTick?: boolean;
128
+ safari10?: boolean;
129
+ scriptDataOpts?: boolean;
130
+ shadowDomShim?: boolean;
131
+ asyncQueue?: boolean;
132
+ transformTagName?: boolean;
133
+ attachStyles?: boolean;
134
+ }
135
+ export type ModuleFormat = 'amd' | 'cjs' | 'es' | 'iife' | 'system' | 'umd' | 'commonjs' | 'esm' | 'module' | 'systemjs';
136
+ export interface RollupResultModule {
137
+ id: string;
138
+ }
139
+ export interface RollupResults {
140
+ modules: RollupResultModule[];
141
+ }
142
+ export interface UpdatedLazyBuildCtx {
143
+ name: 'esm-browser' | 'esm' | 'cjs' | 'system';
144
+ buildCtx: BuildCtx;
145
+ }
146
+ export interface BuildCtx {
147
+ buildId: number;
148
+ buildResults: CompilerBuildResults;
149
+ buildStats?: CompilerBuildStats | {
150
+ diagnostics: Diagnostic[];
151
+ };
152
+ buildMessages: string[];
153
+ bundleBuildCount: number;
154
+ collections: Collection[];
155
+ compilerCtx: CompilerCtx;
156
+ esmBrowserComponentBundle: ReadonlyArray<BundleModule>;
157
+ esmComponentBundle: ReadonlyArray<BundleModule>;
158
+ es5ComponentBundle: ReadonlyArray<BundleModule>;
159
+ systemComponentBundle: ReadonlyArray<BundleModule>;
160
+ commonJsComponentBundle: ReadonlyArray<BundleModule>;
161
+ components: ComponentCompilerMeta[];
162
+ componentGraph: Map<string, string[]>;
163
+ config: Config;
164
+ createTimeSpan(msg: string, debug?: boolean): LoggerTimeSpan;
165
+ data: any;
166
+ debug: (msg: string) => void;
167
+ diagnostics: Diagnostic[];
168
+ dirsAdded: string[];
169
+ dirsDeleted: string[];
170
+ entryModules: EntryModule[];
171
+ filesAdded: string[];
172
+ filesChanged: string[];
173
+ filesDeleted: string[];
174
+ filesUpdated: string[];
175
+ filesWritten: string[];
176
+ globalStyle: string | undefined;
177
+ hasConfigChanges: boolean;
178
+ hasError: boolean;
179
+ hasFinished: boolean;
180
+ hasHtmlChanges: boolean;
181
+ hasPrintedResults: boolean;
182
+ hasServiceWorkerChanges: boolean;
183
+ hasScriptChanges: boolean;
184
+ hasStyleChanges: boolean;
185
+ hasWarning: boolean;
186
+ hydrateAppFilePath: string;
187
+ indexBuildCount: number;
188
+ indexDoc: Document;
189
+ isRebuild: boolean;
190
+ moduleFiles: Module[];
191
+ packageJson: PackageJsonData;
192
+ pendingCopyTasks: Promise<CopyResults>[];
193
+ progress(task: BuildTask): void;
194
+ requiresFullBuild: boolean;
195
+ rollupResults?: RollupResults;
196
+ scriptsAdded: string[];
197
+ scriptsDeleted: string[];
198
+ startTime: number;
199
+ styleBuildCount: number;
200
+ stylesPromise: Promise<void>;
201
+ stylesUpdated: BuildStyleUpdate[];
202
+ timeSpan: LoggerTimeSpan;
203
+ timestamp: string;
204
+ transpileBuildCount: number;
205
+ validateTypesBuild?(): Promise<void>;
206
+ validateTypesHandler?: (results: any) => Promise<void>;
207
+ validateTypesPromise?: Promise<any>;
208
+ }
209
+ export interface BuildStyleUpdate {
210
+ styleTag: string;
211
+ styleText: string;
212
+ styleMode: string;
213
+ }
214
+ export type BuildTask = any;
215
+ export type BuildStatus = 'pending' | 'error' | 'disabled' | 'default';
216
+ export interface CompilerBuildStats {
217
+ timestamp: string;
218
+ compiler: {
219
+ name: string;
220
+ version: string;
221
+ };
222
+ app: {
223
+ namespace: string;
224
+ fsNamespace: string;
225
+ components: number;
226
+ entries: number;
227
+ bundles: number;
228
+ outputs: any;
229
+ };
230
+ options: {
231
+ minifyJs: boolean;
232
+ minifyCss: boolean;
233
+ hashFileNames: boolean;
234
+ hashedFileNameLength: number;
235
+ buildEs5: boolean | 'prod';
236
+ };
237
+ formats: {
238
+ esmBrowser: ReadonlyArray<CompilerBuildStatBundle>;
239
+ esm: ReadonlyArray<CompilerBuildStatBundle>;
240
+ es5: ReadonlyArray<CompilerBuildStatBundle>;
241
+ system: ReadonlyArray<CompilerBuildStatBundle>;
242
+ commonjs: ReadonlyArray<CompilerBuildStatBundle>;
243
+ };
244
+ components: BuildComponent[];
245
+ entries: EntryModule[];
246
+ rollupResults: RollupResults;
247
+ sourceGraph?: BuildSourceGraph;
248
+ componentGraph: BuildResultsComponentGraph;
249
+ collections: {
250
+ name: string;
251
+ source: string;
252
+ tags: string[];
253
+ }[];
254
+ }
255
+ export interface CompilerBuildStatBundle {
256
+ key: string;
257
+ components: string[];
258
+ bundleId: string;
259
+ fileName: string;
260
+ imports: string[];
261
+ originalByteSize: number;
262
+ }
263
+ export interface BuildEntry {
264
+ entryId: string;
265
+ components: BuildComponent[];
266
+ bundles: BuildBundle[];
267
+ inputs: string[];
268
+ modes?: string[];
269
+ encapsulations: Encapsulation[];
270
+ }
271
+ export interface BuildBundle {
272
+ fileName: string;
273
+ outputs: string[];
274
+ size?: number;
275
+ mode?: string;
276
+ scopedStyles?: boolean;
277
+ target?: string;
278
+ }
279
+ export interface BuildSourceGraph {
280
+ [filePath: string]: string[];
281
+ }
282
+ export interface BuildComponent {
283
+ tag: string;
284
+ dependencyOf?: string[];
285
+ dependencies?: string[];
286
+ }
287
+ export interface BundleOutputChunk {
288
+ code: string;
289
+ fileName: string;
290
+ isDynamicEntry: boolean;
291
+ isEntry: boolean;
292
+ map: any;
293
+ dynamicImports: string[];
294
+ imports: string[];
295
+ exports: string[];
296
+ modules: {
297
+ [modulePath: string]: {
298
+ renderedExports: string[];
299
+ removedExports: string[];
300
+ renderedLength: number;
301
+ originalLength: number;
302
+ };
303
+ };
304
+ name: string;
305
+ }
306
+ export type SourceTarget = 'es5' | 'es2017' | 'latest';
307
+ export interface BundleEntryInputs {
308
+ [entryKey: string]: string;
309
+ }
310
+ /**
311
+ * A note regarding Rollup types:
312
+ * As of this writing, there is no great way to import external types for packages that are directly embedded in the
313
+ * Stencil source. As a result, some types are duplicated here for Rollup that will be used within the codebase.
314
+ * Updates to rollup may require these typings to be updated.
315
+ */
316
+ export type RollupResult = RollupChunkResult | RollupAssetResult;
317
+ export interface RollupAssetResult {
318
+ type: 'asset';
319
+ fileName: string;
320
+ content: string;
321
+ }
322
+ export interface RollupChunkResult {
323
+ type: 'chunk';
324
+ entryKey: string;
325
+ fileName: string;
326
+ code: string;
327
+ isEntry: boolean;
328
+ isComponent: boolean;
329
+ isCore: boolean;
330
+ isIndex: boolean;
331
+ isBrowserLoader: boolean;
332
+ imports: string[];
333
+ moduleFormat: ModuleFormat;
334
+ map?: RollupSourceMap;
335
+ }
336
+ export interface RollupSourceMap {
337
+ file: string;
338
+ mappings: string;
339
+ names: string[];
340
+ sources: string[];
341
+ sourcesContent: string[];
342
+ version: number;
343
+ toString(): string;
344
+ toUrl(): string;
345
+ }
346
+ /**
347
+ * Result of Stencil compressing, mangling, and otherwise 'minifying' JavaScript
348
+ */
349
+ export type OptimizeJsResult = {
350
+ output: string;
351
+ diagnostics: Diagnostic[];
352
+ sourceMap?: SourceMap;
353
+ };
354
+ export interface BundleModule {
355
+ entryKey: string;
356
+ rollupResult: RollupChunkResult;
357
+ cmps: ComponentCompilerMeta[];
358
+ output: BundleModuleOutput;
359
+ }
360
+ export interface BundleModuleOutput {
361
+ bundleId: string;
362
+ fileName: string;
363
+ code: string;
364
+ }
365
+ export interface Cache {
366
+ get(key: string): Promise<string>;
367
+ put(key: string, value: string): Promise<boolean>;
368
+ has(key: string): Promise<boolean>;
369
+ createKey(domain: string, ...args: any[]): Promise<string>;
370
+ commit(): Promise<void>;
371
+ clear(): void;
372
+ clearDiskCache(): Promise<void>;
373
+ getMemoryStats(): string;
374
+ initCacheDir(): Promise<void>;
375
+ }
376
+ export interface CollectionCompilerMeta {
377
+ collectionName?: string;
378
+ moduleId?: string;
379
+ moduleDir?: string;
380
+ moduleFiles?: Module[];
381
+ global?: Module;
382
+ compiler?: CollectionCompilerVersion;
383
+ isInitialized?: boolean;
384
+ hasExports?: boolean;
385
+ dependencies?: string[];
386
+ bundles?: {
387
+ components: string[];
388
+ }[];
389
+ }
390
+ export interface CollectionCompilerVersion {
391
+ name: string;
392
+ version: string;
393
+ typescriptVersion?: string;
394
+ }
395
+ export interface CollectionManifest {
396
+ entries?: CollectionComponentEntryPath[];
397
+ collections?: CollectionDependencyManifest[];
398
+ global?: string;
399
+ compiler?: CollectionCompilerVersion;
400
+ bundles?: CollectionBundleManifest[];
401
+ }
402
+ export type CollectionComponentEntryPath = string;
403
+ export interface CollectionBundleManifest {
404
+ components: string[];
405
+ }
406
+ export interface CollectionDependencyManifest {
407
+ name: string;
408
+ tags: string[];
409
+ }
410
+ /** OLD WAY */
411
+ export interface Collection {
412
+ collectionName?: string;
413
+ moduleDir?: string;
414
+ moduleFiles?: any[];
415
+ global?: any;
416
+ compiler?: CollectionCompiler;
417
+ isInitialized?: boolean;
418
+ hasExports?: boolean;
419
+ dependencies?: string[];
420
+ bundles?: {
421
+ components: string[];
422
+ }[];
423
+ }
424
+ export interface CollectionCompiler {
425
+ name: string;
426
+ version: string;
427
+ typescriptVersion?: string;
428
+ }
429
+ export interface AppRegistry {
430
+ namespace?: string;
431
+ fsNamespace?: string;
432
+ loader?: string;
433
+ core?: string;
434
+ corePolyfilled?: string;
435
+ global?: string;
436
+ components?: AppRegistryComponents;
437
+ }
438
+ export interface AppRegistryComponents {
439
+ [tagName: string]: {
440
+ bundleIds: ModeBundleIds;
441
+ encapsulation?: 'shadow' | 'scoped';
442
+ };
443
+ }
444
+ /** OLD WAY */
445
+ export interface ModuleFile {
446
+ sourceFilePath: string;
447
+ jsFilePath?: string;
448
+ dtsFilePath?: string;
449
+ cmpMeta?: any;
450
+ isCollectionDependency?: boolean;
451
+ excludeFromCollection?: boolean;
452
+ originalCollectionComponentPath?: string;
453
+ externalImports?: string[];
454
+ localImports?: string[];
455
+ potentialCmpRefs?: string[];
456
+ hasSlot?: boolean;
457
+ hasSvg?: boolean;
458
+ }
459
+ export interface ModuleBundles {
460
+ [bundleId: string]: string;
461
+ }
462
+ export interface CollectionData {
463
+ components?: ComponentData[];
464
+ collections?: CollectionDependencyData[];
465
+ global?: string;
466
+ modules?: string[];
467
+ compiler?: {
468
+ name: string;
469
+ version: string;
470
+ typescriptVersion?: string;
471
+ };
472
+ bundles?: CollectionBundle[];
473
+ }
474
+ export interface CollectionBundle {
475
+ components: string[];
476
+ }
477
+ export interface CollectionDependencyData {
478
+ name: string;
479
+ tags: string[];
480
+ }
481
+ export interface ComponentData {
482
+ tag?: string;
483
+ componentPath?: string;
484
+ componentClass?: string;
485
+ dependencies?: string[];
486
+ styles?: StylesData;
487
+ props?: PropData[];
488
+ states?: StateData[];
489
+ listeners?: ListenerData[];
490
+ methods?: MethodData[];
491
+ events?: EventData[];
492
+ connect?: ConnectData[];
493
+ context?: ContextData[];
494
+ hostElement?: HostElementData;
495
+ host?: any;
496
+ assetPaths?: string[];
497
+ slot?: 'hasSlots' | 'hasNamedSlots';
498
+ shadow?: boolean;
499
+ scoped?: boolean;
500
+ priority?: 'low';
501
+ }
502
+ export interface StylesData {
503
+ [modeName: string]: StyleData;
504
+ }
505
+ export interface StyleData {
506
+ stylePaths?: string[];
507
+ style?: string;
508
+ }
509
+ export interface PropData {
510
+ name?: string;
511
+ type?: 'Boolean' | 'Number' | 'String' | 'Any';
512
+ mutable?: boolean;
513
+ attr?: string;
514
+ reflectToAttr?: boolean;
515
+ watch?: string[];
516
+ }
517
+ export interface StateData {
518
+ name: string;
519
+ }
520
+ export interface ListenerData {
521
+ event: string;
522
+ method: string;
523
+ capture?: boolean;
524
+ passive?: boolean;
525
+ enabled?: boolean;
526
+ }
527
+ export interface MethodData {
528
+ name: string;
529
+ }
530
+ export interface EventData {
531
+ event: string;
532
+ method?: string;
533
+ bubbles?: boolean;
534
+ cancelable?: boolean;
535
+ composed?: boolean;
536
+ }
537
+ export interface ConnectData {
538
+ name: string;
539
+ tag?: string;
540
+ }
541
+ export interface ContextData {
542
+ name: string;
543
+ id?: string;
544
+ }
545
+ export interface HostElementData {
546
+ name: string;
547
+ }
548
+ export interface BuildOutputFile {
549
+ name: string;
550
+ content: string;
551
+ }
552
+ export type OnCallback = (buildStart: CompilerBuildStart) => void;
553
+ export type RemoveCallback = () => boolean;
554
+ export interface CompilerCtx {
555
+ version: number;
556
+ activeBuildId: number;
557
+ activeDirsAdded: string[];
558
+ activeDirsDeleted: string[];
559
+ activeFilesAdded: string[];
560
+ activeFilesDeleted: string[];
561
+ activeFilesUpdated: string[];
562
+ addWatchDir: (path: string, recursive: boolean) => void;
563
+ addWatchFile: (path: string) => void;
564
+ cache: Cache;
565
+ cssModuleImports: Map<string, string[]>;
566
+ cachedGlobalStyle: string;
567
+ collections: CollectionCompilerMeta[];
568
+ compilerOptions: any;
569
+ events: BuildEvents;
570
+ fs: InMemoryFileSystem;
571
+ hasSuccessfulBuild: boolean;
572
+ isActivelyBuilding: boolean;
573
+ lastBuildResults: CompilerBuildResults;
574
+ moduleMap: ModuleMap;
575
+ nodeMap: NodeMap;
576
+ resolvedCollections: Set<string>;
577
+ rollupCacheHydrate: any;
578
+ rollupCacheLazy: any;
579
+ rollupCacheNative: any;
580
+ styleModeNames: Set<string>;
581
+ changedModules: Set<string>;
582
+ changedFiles: Set<string>;
583
+ worker?: CompilerWorkerContext;
584
+ rollupCache: Map<string, any>;
585
+ reset(): void;
586
+ }
587
+ export type NodeMap = WeakMap<any, ComponentCompilerMeta>;
588
+ /** Must be serializable to JSON!! */
589
+ export interface ComponentCompilerFeatures {
590
+ hasAttribute: boolean;
591
+ hasAttributeChangedCallbackFn: boolean;
592
+ hasComponentWillLoadFn: boolean;
593
+ hasComponentDidLoadFn: boolean;
594
+ hasComponentShouldUpdateFn: boolean;
595
+ hasComponentWillUpdateFn: boolean;
596
+ hasComponentDidUpdateFn: boolean;
597
+ hasComponentWillRenderFn: boolean;
598
+ hasComponentDidRenderFn: boolean;
599
+ hasComponentDidUnloadFn: boolean;
600
+ hasConnectedCallbackFn: boolean;
601
+ hasDisconnectedCallbackFn: boolean;
602
+ hasElement: boolean;
603
+ hasEvent: boolean;
604
+ hasLifecycle: boolean;
605
+ hasListener: boolean;
606
+ hasListenerTarget: boolean;
607
+ hasListenerTargetWindow: boolean;
608
+ hasListenerTargetDocument: boolean;
609
+ hasListenerTargetBody: boolean;
610
+ /**
611
+ * @deprecated Prevented from new apps, but left in for older collections
612
+ */
613
+ hasListenerTargetParent: boolean;
614
+ hasMember: boolean;
615
+ hasMethod: boolean;
616
+ hasMode: boolean;
617
+ hasProp: boolean;
618
+ hasPropBoolean: boolean;
619
+ hasPropNumber: boolean;
620
+ hasPropString: boolean;
621
+ hasPropMutable: boolean;
622
+ hasReflect: boolean;
623
+ hasRenderFn: boolean;
624
+ hasState: boolean;
625
+ hasStyle: boolean;
626
+ hasVdomAttribute: boolean;
627
+ hasVdomClass: boolean;
628
+ hasVdomFunctional: boolean;
629
+ hasVdomKey: boolean;
630
+ hasVdomListener: boolean;
631
+ hasVdomPropOrAttr: boolean;
632
+ hasVdomRef: boolean;
633
+ hasVdomRender: boolean;
634
+ hasVdomStyle: boolean;
635
+ hasVdomText: boolean;
636
+ hasVdomXlink: boolean;
637
+ hasWatchCallback: boolean;
638
+ htmlAttrNames: string[];
639
+ htmlTagNames: string[];
640
+ htmlParts: string[];
641
+ isUpdateable: boolean;
642
+ isPlain: boolean;
643
+ potentialCmpRefs: string[];
644
+ }
645
+ /** Must be serializable to JSON!! */
646
+ export interface ComponentCompilerMeta extends ComponentCompilerFeatures {
647
+ assetsDirs: CompilerAssetDir[];
648
+ componentClassName: string;
649
+ elementRef: string;
650
+ encapsulation: Encapsulation;
651
+ shadowDelegatesFocus: boolean;
652
+ excludeFromCollection: boolean;
653
+ isCollectionDependency: boolean;
654
+ docs: CompilerJsDoc;
655
+ jsFilePath: string;
656
+ sourceMapPath: string;
657
+ listeners: ComponentCompilerListener[];
658
+ events: ComponentCompilerEvent[];
659
+ methods: ComponentCompilerMethod[];
660
+ virtualProperties: ComponentCompilerVirtualProperty[];
661
+ properties: ComponentCompilerProperty[];
662
+ watchers: ComponentCompilerWatch[];
663
+ sourceFilePath: string;
664
+ states: ComponentCompilerState[];
665
+ styleDocs: CompilerStyleDoc[];
666
+ styles: StyleCompiler[];
667
+ tagName: string;
668
+ internal: boolean;
669
+ legacyConnect: ComponentCompilerLegacyConnect[];
670
+ legacyContext: ComponentCompilerLegacyContext[];
671
+ dependencies?: string[];
672
+ dependents?: string[];
673
+ directDependencies?: string[];
674
+ directDependents?: string[];
675
+ }
676
+ export interface ComponentCompilerLegacyConnect {
677
+ name: string;
678
+ connect: string;
679
+ }
680
+ export interface ComponentCompilerLegacyContext {
681
+ name: string;
682
+ context: string;
683
+ }
684
+ export type Encapsulation = 'shadow' | 'scoped' | 'none';
685
+ /**
686
+ * Intermediate Representation (IR) of a static property on a Stencil component
687
+ */
688
+ export interface ComponentCompilerStaticProperty {
689
+ mutable: boolean;
690
+ optional: boolean;
691
+ required: boolean;
692
+ type: ComponentCompilerPropertyType;
693
+ complexType: ComponentCompilerPropertyComplexType;
694
+ attribute?: string;
695
+ reflect?: boolean;
696
+ docs: CompilerJsDoc;
697
+ defaultValue?: string;
698
+ }
699
+ /**
700
+ * Intermediate Representation (IR) of a property on a Stencil component
701
+ */
702
+ export interface ComponentCompilerProperty extends ComponentCompilerStaticProperty {
703
+ name: string;
704
+ internal: boolean;
705
+ }
706
+ export interface ComponentCompilerVirtualProperty {
707
+ name: string;
708
+ type: string;
709
+ docs: string;
710
+ }
711
+ export type ComponentCompilerPropertyType = 'any' | 'string' | 'boolean' | 'number' | 'unknown';
712
+ export interface ComponentCompilerPropertyComplexType {
713
+ original: string;
714
+ resolved: string;
715
+ references: ComponentCompilerTypeReferences;
716
+ }
717
+ /**
718
+ * A record of `ComponentCompilerTypeReference` entities.
719
+ *
720
+ * Each key in this record is intended to be the names of the types used by a component. However, this is not enforced
721
+ * by the type system (I.E. any string can be used as a key).
722
+ *
723
+ * Note any key can be a user defined type or a TypeScript standard type.
724
+ */
725
+ export type ComponentCompilerTypeReferences = Record<string, ComponentCompilerTypeReference>;
726
+ /**
727
+ * Describes a reference to a type used by a component.
728
+ */
729
+ export interface ComponentCompilerTypeReference {
730
+ /**
731
+ * A type may be defined:
732
+ * - locally (in the same file as the component that uses it)
733
+ * - globally
734
+ * - by importing it into a file (and is defined elsewhere)
735
+ */
736
+ location: 'local' | 'global' | 'import';
737
+ /**
738
+ * The path to the type reference, if applicable (global types should not need a path associated with them)
739
+ */
740
+ path?: string;
741
+ }
742
+ export interface ComponentCompilerStaticEvent {
743
+ name: string;
744
+ method: string;
745
+ bubbles: boolean;
746
+ cancelable: boolean;
747
+ composed: boolean;
748
+ docs: CompilerJsDoc;
749
+ complexType: ComponentCompilerEventComplexType;
750
+ }
751
+ export interface ComponentCompilerEvent extends ComponentCompilerStaticEvent {
752
+ internal: boolean;
753
+ }
754
+ export interface ComponentCompilerEventComplexType {
755
+ original: string;
756
+ resolved: string;
757
+ references: ComponentCompilerTypeReferences;
758
+ }
759
+ export interface ComponentCompilerListener {
760
+ name: string;
761
+ method: string;
762
+ capture: boolean;
763
+ passive: boolean;
764
+ target: ListenTargetOptions | undefined;
765
+ }
766
+ export interface ComponentCompilerStaticMethod {
767
+ docs: CompilerJsDoc;
768
+ complexType: ComponentCompilerMethodComplexType;
769
+ }
770
+ export interface ComponentCompilerMethodComplexType {
771
+ signature: string;
772
+ parameters: CompilerJsDoc[];
773
+ references: ComponentCompilerTypeReferences;
774
+ return: string;
775
+ }
776
+ export interface ComponentCompilerWatch {
777
+ propName: string;
778
+ methodName: string;
779
+ }
780
+ export interface ComponentCompilerMethod extends ComponentCompilerStaticMethod {
781
+ name: string;
782
+ internal: boolean;
783
+ }
784
+ export interface ComponentCompilerState {
785
+ name: string;
786
+ }
787
+ /**
788
+ * Representation of JSDoc that is pulled off a node in the AST
789
+ */
790
+ export interface CompilerJsDoc {
791
+ /**
792
+ * The text associated with the JSDoc
793
+ */
794
+ text: string;
795
+ /**
796
+ * Tags included in the JSDoc
797
+ */
798
+ tags: CompilerJsDocTagInfo[];
799
+ }
800
+ /**
801
+ * Representation of a tag that exists in a JSDoc
802
+ */
803
+ export interface CompilerJsDocTagInfo {
804
+ /**
805
+ * The name of the tag - e.g. `@deprecated`
806
+ */
807
+ name: string;
808
+ /**
809
+ * Additional text that is associated with the tag - e.g. `@deprecated use v2 of this API`
810
+ */
811
+ text?: string;
812
+ }
813
+ export interface CompilerStyleDoc {
814
+ name: string;
815
+ docs: string;
816
+ annotation: 'prop';
817
+ }
818
+ export interface CompilerAssetDir {
819
+ absolutePath?: string;
820
+ cmpRelativePath?: string;
821
+ originalComponentPath?: string;
822
+ }
823
+ export interface ComponentCompilerData {
824
+ exportLine: string;
825
+ filePath: string;
826
+ cmp: ComponentCompilerMeta;
827
+ uniqueComponentClassName?: string;
828
+ importLine?: string;
829
+ }
830
+ export interface ComponentConstructor {
831
+ is?: string;
832
+ properties?: ComponentConstructorProperties;
833
+ watchers?: ComponentConstructorWatchers;
834
+ events?: ComponentConstructorEvent[];
835
+ listeners?: ComponentConstructorListener[];
836
+ style?: string;
837
+ styleId?: string;
838
+ encapsulation?: ComponentConstructorEncapsulation;
839
+ observedAttributes?: string[];
840
+ cmpMeta?: ComponentRuntimeMeta;
841
+ isProxied?: boolean;
842
+ isStyleRegistered?: boolean;
843
+ }
844
+ /**
845
+ * A mapping from class member names to a list of methods which are watching
846
+ * them.
847
+ */
848
+ export interface ComponentConstructorWatchers {
849
+ [propName: string]: string[];
850
+ }
851
+ export interface ComponentTestingConstructor extends ComponentConstructor {
852
+ COMPILER_META: ComponentCompilerMeta;
853
+ prototype?: {
854
+ componentWillLoad?: Function;
855
+ componentWillUpdate?: Function;
856
+ componentWillRender?: Function;
857
+ __componentWillLoad?: Function | null;
858
+ __componentWillUpdate?: Function | null;
859
+ __componentWillRender?: Function | null;
860
+ };
861
+ }
862
+ export interface ComponentNativeConstructor extends ComponentConstructor {
863
+ cmpMeta: ComponentRuntimeMeta;
864
+ }
865
+ export type ComponentConstructorEncapsulation = 'shadow' | 'scoped' | 'none';
866
+ export interface ComponentConstructorProperties {
867
+ [propName: string]: ComponentConstructorProperty;
868
+ }
869
+ export interface ComponentConstructorProperty {
870
+ attribute?: string;
871
+ elementRef?: boolean;
872
+ method?: boolean;
873
+ mutable?: boolean;
874
+ reflect?: boolean;
875
+ state?: boolean;
876
+ type?: ComponentConstructorPropertyType;
877
+ watchCallbacks?: string[];
878
+ }
879
+ export type ComponentConstructorPropertyType = StringConstructor | BooleanConstructor | NumberConstructor | 'string' | 'boolean' | 'number';
880
+ export interface ComponentConstructorEvent {
881
+ name: string;
882
+ method: string;
883
+ bubbles: boolean;
884
+ cancelable: boolean;
885
+ composed: boolean;
886
+ }
887
+ export interface ComponentConstructorListener {
888
+ name: string;
889
+ method: string;
890
+ capture?: boolean;
891
+ passive?: boolean;
892
+ }
893
+ export interface HostConfig {
894
+ hosting?: {
895
+ rules?: HostRule[];
896
+ };
897
+ }
898
+ export interface HostRule {
899
+ include: string;
900
+ headers: HostRuleHeader[];
901
+ }
902
+ export interface HostRuleHeader {
903
+ name?: string;
904
+ value?: string;
905
+ }
906
+ export interface CssVarShim {
907
+ i(): Promise<any>;
908
+ addLink(linkEl: HTMLLinkElement): Promise<any>;
909
+ addGlobalStyle(styleEl: HTMLStyleElement): void;
910
+ createHostStyle(hostEl: HTMLElement, templateName: string, cssText: string, isScoped: boolean): HTMLStyleElement;
911
+ removeHost(hostEl: HTMLElement): void;
912
+ updateHost(hostEl: HTMLElement): void;
913
+ updateGlobal(): void;
914
+ }
915
+ export interface DevClientWindow extends Window {
916
+ ['s-dev-server']: boolean;
917
+ ['s-initial-load']: boolean;
918
+ ['s-build-id']: number;
919
+ WebSocket: new (socketUrl: string, protos: string[]) => WebSocket;
920
+ devServerConfig?: DevClientConfig;
921
+ }
922
+ export interface DevClientConfig {
923
+ basePath: string;
924
+ editors: DevServerEditor[];
925
+ reloadStrategy: PageReloadStrategy;
926
+ socketUrl?: string;
927
+ }
928
+ export interface HttpRequest {
929
+ method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'HEAD' | 'OPTIONS';
930
+ acceptHeader: string;
931
+ url: URL;
932
+ searchParams: URLSearchParams;
933
+ pathname?: string;
934
+ filePath?: string;
935
+ stats?: CompilerFsStats;
936
+ headers?: {
937
+ [name: string]: string;
938
+ };
939
+ host?: string;
940
+ }
941
+ export interface DevServerMessage {
942
+ startServer?: DevServerConfig;
943
+ closeServer?: boolean;
944
+ serverStarted?: DevServerConfig;
945
+ serverClosed?: boolean;
946
+ buildStart?: boolean;
947
+ buildLog?: BuildLog;
948
+ buildResults?: CompilerBuildResults;
949
+ requestBuildResults?: boolean;
950
+ error?: {
951
+ message?: string;
952
+ type?: string;
953
+ stack?: any;
954
+ };
955
+ isActivelyBuilding?: boolean;
956
+ compilerRequestPath?: string;
957
+ compilerRequestResults?: CompilerRequestResponse;
958
+ requestLog?: {
959
+ method: string;
960
+ url: string;
961
+ status: number;
962
+ };
963
+ }
964
+ export type DevServerSendMessage = (msg: DevServerMessage) => void;
965
+ export interface DevServerContext {
966
+ connectorHtml: string;
967
+ dirTemplate: string;
968
+ getBuildResults: () => Promise<CompilerBuildResults>;
969
+ getCompilerRequest: (path: string) => Promise<CompilerRequestResponse>;
970
+ isServerListening: boolean;
971
+ logRequest: (req: HttpRequest, status: number) => void;
972
+ prerenderConfig: PrerenderConfig;
973
+ serve302: (req: any, res: any, pathname?: string) => void;
974
+ serve404: (req: any, res: any, xSource: string, content?: string) => void;
975
+ serve500: (req: any, res: any, error: any, xSource: string) => void;
976
+ sys: CompilerSystem;
977
+ }
978
+ export type InitServerProcess = (sendMsg: (msg: DevServerMessage) => void) => (msg: DevServerMessage) => void;
979
+ export interface DevResponseHeaders {
980
+ 'cache-control'?: string;
981
+ expires?: string;
982
+ 'content-type'?: string;
983
+ 'content-length'?: number;
984
+ date?: string;
985
+ 'access-control-allow-origin'?: string;
986
+ 'access-control-expose-headers'?: string;
987
+ 'content-encoding'?: 'gzip';
988
+ vary?: 'Accept-Encoding';
989
+ server?: string;
990
+ 'x-directory-index'?: string;
991
+ 'x-source'?: string;
992
+ }
993
+ export interface OpenInEditorData {
994
+ file?: string;
995
+ line?: number;
996
+ column?: number;
997
+ open?: string;
998
+ editor?: string;
999
+ exists?: boolean;
1000
+ error?: string;
1001
+ }
1002
+ export interface EntryModule {
1003
+ entryKey: string;
1004
+ cmps: ComponentCompilerMeta[];
1005
+ }
1006
+ export interface EntryBundle {
1007
+ fileName: string;
1008
+ text: string;
1009
+ outputs: string[];
1010
+ modeName: string;
1011
+ isScopedStyles: boolean;
1012
+ sourceTarget: string;
1013
+ }
1014
+ export interface EntryComponent {
1015
+ tag: string;
1016
+ dependencyOf?: string[];
1017
+ }
1018
+ export interface ComponentRef {
1019
+ tag: string;
1020
+ filePath: string;
1021
+ }
1022
+ export interface ModuleGraph {
1023
+ filePath: string;
1024
+ importPaths: string[];
1025
+ }
1026
+ export interface AddEventListener {
1027
+ (elm: Element | Document | Window, eventName: string, cb: EventListenerCallback, opts?: ListenOptions): Function;
1028
+ }
1029
+ export interface EventListenerCallback {
1030
+ (ev?: any): void;
1031
+ }
1032
+ export interface EventEmitterData<T = any> {
1033
+ detail?: T;
1034
+ bubbles?: boolean;
1035
+ cancelable?: boolean;
1036
+ composed?: boolean;
1037
+ }
1038
+ export interface HostElement extends HTMLElement {
1039
+ connectedCallback?: () => void;
1040
+ attributeChangedCallback?: (attribName: string, oldVal: string, newVal: string, namespace: string) => void;
1041
+ disconnectedCallback?: () => void;
1042
+ host?: Element;
1043
+ forceUpdate?: () => void;
1044
+ /**
1045
+ * Unique stencil id for this element
1046
+ */
1047
+ ['s-id']?: string;
1048
+ /**
1049
+ * Content Reference:
1050
+ * Reference to the HTML Comment that's placed inside of the
1051
+ * host element's original content. This comment is used to
1052
+ * always represent where host element's light dom is.
1053
+ */
1054
+ ['s-cr']?: RenderNode;
1055
+ /**
1056
+ * Lifecycle ready
1057
+ */
1058
+ ['s-lr']?: boolean;
1059
+ /**
1060
+ * On Render Callbacks:
1061
+ * Array of callbacks to fire off after it has rendered.
1062
+ */
1063
+ ['s-rc']?: (() => void)[];
1064
+ /**
1065
+ * Scope Id
1066
+ * The scope id of this component when using scoped css encapsulation
1067
+ * or using shadow dom but the browser doesn't support it
1068
+ */
1069
+ ['s-sc']?: string;
1070
+ /**
1071
+ * Hot Module Replacement, dev mode only
1072
+ */
1073
+ ['s-hmr']?: (versionId: string) => void;
1074
+ /**
1075
+ * Callback method for when HMR finishes
1076
+ */
1077
+ ['s-hmr-load']?: () => void;
1078
+ ['s-p']?: Promise<void>[];
1079
+ componentOnReady?: () => Promise<this>;
1080
+ }
1081
+ export interface HydrateResults {
1082
+ buildId: string;
1083
+ diagnostics: Diagnostic[];
1084
+ url: string;
1085
+ host: string;
1086
+ hostname: string;
1087
+ href: string;
1088
+ port: string;
1089
+ pathname: string;
1090
+ search: string;
1091
+ hash: string;
1092
+ html: string;
1093
+ components: HydrateComponent[];
1094
+ anchors: HydrateAnchorElement[];
1095
+ imgs: HydrateImgElement[];
1096
+ scripts: HydrateScriptElement[];
1097
+ styles: HydrateStyleElement[];
1098
+ staticData: HydrateStaticData[];
1099
+ title: string;
1100
+ hydratedCount: number;
1101
+ httpStatus: number;
1102
+ }
1103
+ export interface HydrateComponent {
1104
+ tag: string;
1105
+ mode: string;
1106
+ count: number;
1107
+ depth: number;
1108
+ }
1109
+ export interface HydrateElement {
1110
+ [attrName: string]: string | undefined;
1111
+ }
1112
+ export interface HydrateAnchorElement extends HydrateElement {
1113
+ href?: string;
1114
+ target?: string;
1115
+ }
1116
+ export interface HydrateImgElement extends HydrateElement {
1117
+ src?: string;
1118
+ }
1119
+ export interface HydrateScriptElement extends HydrateElement {
1120
+ src?: string;
1121
+ type?: string;
1122
+ }
1123
+ export interface HydrateStyleElement extends HydrateElement {
1124
+ href?: string;
1125
+ }
1126
+ export interface HydrateStaticData {
1127
+ id: string;
1128
+ type: string;
1129
+ content: string;
1130
+ }
1131
+ export interface JsDoc {
1132
+ name: string;
1133
+ documentation: string;
1134
+ type: string;
1135
+ tags: JSDocTagInfo[];
1136
+ default?: string;
1137
+ parameters?: JsDoc[];
1138
+ returns?: {
1139
+ type: string;
1140
+ documentation: string;
1141
+ };
1142
+ }
1143
+ export interface JSDocTagInfo {
1144
+ name: string;
1145
+ text?: string;
1146
+ }
1147
+ export interface MinifyJsResult {
1148
+ code: string;
1149
+ sourceMap: any;
1150
+ error: {
1151
+ message: string;
1152
+ filename: string;
1153
+ line: number;
1154
+ col: number;
1155
+ pos: number;
1156
+ };
1157
+ }
1158
+ export type ModuleMap = Map<string, Module>;
1159
+ /**
1160
+ * Stencil's Intermediate Representation (IR) of a module, bundling together
1161
+ * various pieces of information like the classes declared within it, the path
1162
+ * to the original source file, HTML tag names defined in the file, and so on.
1163
+ *
1164
+ * Note that this gets serialized/parsed as JSON and therefore cannot be a
1165
+ * `Map` or a `Set`.
1166
+ */
1167
+ export interface Module {
1168
+ cmps: ComponentCompilerMeta[];
1169
+ coreRuntimeApis: string[];
1170
+ collectionName: string;
1171
+ dtsFilePath: string;
1172
+ excludeFromCollection: boolean;
1173
+ externalImports: string[];
1174
+ htmlAttrNames: string[];
1175
+ htmlTagNames: string[];
1176
+ htmlParts: string[];
1177
+ isCollectionDependency: boolean;
1178
+ isLegacy: boolean;
1179
+ jsFilePath: string;
1180
+ localImports: string[];
1181
+ originalImports: string[];
1182
+ originalCollectionComponentPath: string;
1183
+ potentialCmpRefs: string[];
1184
+ sourceFilePath: string;
1185
+ staticSourceFile: any;
1186
+ staticSourceFileText: string;
1187
+ sourceMapPath: string;
1188
+ sourceMapFileText: string;
1189
+ hasVdomAttribute: boolean;
1190
+ hasVdomClass: boolean;
1191
+ hasVdomFunctional: boolean;
1192
+ hasVdomKey: boolean;
1193
+ hasVdomListener: boolean;
1194
+ hasVdomPropOrAttr: boolean;
1195
+ hasVdomRef: boolean;
1196
+ hasVdomRender: boolean;
1197
+ hasVdomStyle: boolean;
1198
+ hasVdomText: boolean;
1199
+ hasVdomXlink: boolean;
1200
+ }
1201
+ export interface Plugin {
1202
+ name?: string;
1203
+ pluginType?: string;
1204
+ load?: (id: string, context: PluginCtx) => Promise<string> | string;
1205
+ resolveId?: (importee: string, importer: string, context: PluginCtx) => Promise<string> | string;
1206
+ transform?: (sourceText: string, id: string, context: PluginCtx) => Promise<PluginTransformResults> | PluginTransformResults | string;
1207
+ }
1208
+ export interface PluginTransformResults {
1209
+ code?: string;
1210
+ map?: string;
1211
+ id?: string;
1212
+ diagnostics?: Diagnostic[];
1213
+ dependencies?: string[];
1214
+ }
1215
+ export interface PluginCtx {
1216
+ config: Config;
1217
+ sys: CompilerSystem;
1218
+ fs: InMemoryFileSystem;
1219
+ cache: Cache;
1220
+ diagnostics: Diagnostic[];
1221
+ }
1222
+ export interface PrerenderUrlResults {
1223
+ anchorUrls: string[];
1224
+ diagnostics: Diagnostic[];
1225
+ filePath: string;
1226
+ }
1227
+ export interface PrerenderUrlRequest {
1228
+ appDir: string;
1229
+ buildId: string;
1230
+ baseUrl: string;
1231
+ componentGraphPath: string;
1232
+ devServerHostUrl: string;
1233
+ hydrateAppFilePath: string;
1234
+ isDebug: boolean;
1235
+ prerenderConfigPath: string;
1236
+ staticSite: boolean;
1237
+ templateId: string;
1238
+ url: string;
1239
+ writeToFilePath: string;
1240
+ }
1241
+ export interface PrerenderManager {
1242
+ config: Config;
1243
+ prerenderUrlWorker: (prerenderRequest: PrerenderUrlRequest) => Promise<PrerenderUrlResults>;
1244
+ devServerHostUrl: string;
1245
+ diagnostics: Diagnostic[];
1246
+ hydrateAppFilePath: string;
1247
+ isDebug: boolean;
1248
+ logCount: number;
1249
+ outputTarget: OutputTargetWww;
1250
+ prerenderConfig: PrerenderConfig;
1251
+ prerenderConfigPath: string;
1252
+ progressLogger?: LoggerLineUpdater;
1253
+ resolve: Function;
1254
+ staticSite: boolean;
1255
+ templateId: string;
1256
+ componentGraphPath: string;
1257
+ urlsProcessing: Set<string>;
1258
+ urlsPending: Set<string>;
1259
+ urlsCompleted: Set<string>;
1260
+ maxConcurrency: number;
1261
+ }
1262
+ /**
1263
+ * Generic node that represents all of the
1264
+ * different types of nodes we'd see when rendering
1265
+ */
1266
+ export interface RenderNode extends HostElement {
1267
+ /**
1268
+ * Shadow root's host
1269
+ */
1270
+ host?: Element;
1271
+ /**
1272
+ * Is Content Reference Node:
1273
+ * This node is a content reference node.
1274
+ */
1275
+ ['s-cn']?: boolean;
1276
+ /**
1277
+ * Is a slot reference node:
1278
+ * This is a node that represents where a slot
1279
+ * was originally located.
1280
+ */
1281
+ ['s-sr']?: boolean;
1282
+ /**
1283
+ * Slot name
1284
+ */
1285
+ ['s-sn']?: string;
1286
+ /**
1287
+ * Host element tag name:
1288
+ * The tag name of the host element that this
1289
+ * node was created in.
1290
+ */
1291
+ ['s-hn']?: string;
1292
+ /**
1293
+ * Original Location Reference:
1294
+ * A reference pointing to the comment
1295
+ * which represents the original location
1296
+ * before it was moved to its slot.
1297
+ */
1298
+ ['s-ol']?: RenderNode;
1299
+ /**
1300
+ * Node reference:
1301
+ * This is a reference for a original location node
1302
+ * back to the node that's been moved around.
1303
+ */
1304
+ ['s-nr']?: RenderNode;
1305
+ /**
1306
+ * Scope Id
1307
+ */
1308
+ ['s-si']?: string;
1309
+ /**
1310
+ * Host Id (hydrate only)
1311
+ */
1312
+ ['s-host-id']?: number;
1313
+ /**
1314
+ * Node Id (hydrate only)
1315
+ */
1316
+ ['s-node-id']?: number;
1317
+ /**
1318
+ * Used to know the components encapsulation.
1319
+ * empty "" for shadow, "c" from scoped
1320
+ */
1321
+ ['s-en']?: '' | /*shadow*/ 'c';
1322
+ }
1323
+ export type LazyBundlesRuntimeData = LazyBundleRuntimeData[];
1324
+ export type LazyBundleRuntimeData = [
1325
+ /** bundleIds */
1326
+ string,
1327
+ ComponentRuntimeMetaCompact[]
1328
+ ];
1329
+ export type ComponentRuntimeMetaCompact = [
1330
+ /** flags */
1331
+ number,
1332
+ /** tagname */
1333
+ string,
1334
+ /** members */
1335
+ {
1336
+ [memberName: string]: ComponentRuntimeMember;
1337
+ }?,
1338
+ /** listeners */
1339
+ ComponentRuntimeHostListener[]?
1340
+ ];
1341
+ /**
1342
+ * Runtime metadata for a Stencil component
1343
+ */
1344
+ export interface ComponentRuntimeMeta {
1345
+ /**
1346
+ * This number is used to hold a series of bitflags for various features we
1347
+ * support on components. The flags which this value is intended to store are
1348
+ * documented in the {@link CMP_FLAGS} enum.
1349
+ */
1350
+ $flags$: number;
1351
+ /**
1352
+ * Just what it says on the tin - the tag name for the component, as set in
1353
+ * the `@Component` decorator.
1354
+ */
1355
+ $tagName$: string;
1356
+ /**
1357
+ * A map of the component's members, which could include fields decorated
1358
+ * with `@Prop`, `@State`, etc as well as methods.
1359
+ */
1360
+ $members$?: ComponentRuntimeMembers;
1361
+ /**
1362
+ * Information about listeners on the component.
1363
+ */
1364
+ $listeners$?: ComponentRuntimeHostListener[];
1365
+ /**
1366
+ * Tuples containing information about `@Prop` fields on the component which
1367
+ * are set to be reflected (i.e. kept in sync) as HTML attributes when
1368
+ * updated.
1369
+ */
1370
+ $attrsToReflect$?: ComponentRuntimeReflectingAttr[];
1371
+ /**
1372
+ * Information about which class members have watchers attached on the component.
1373
+ */
1374
+ $watchers$?: ComponentConstructorWatchers;
1375
+ /**
1376
+ * A bundle ID used for lazy loading.
1377
+ */
1378
+ $lazyBundleId$?: string;
1379
+ }
1380
+ /**
1381
+ * A mapping of the names of members on the component to some runtime-specific
1382
+ * information about them.
1383
+ */
1384
+ export interface ComponentRuntimeMembers {
1385
+ [memberName: string]: ComponentRuntimeMember;
1386
+ }
1387
+ /**
1388
+ * A tuple with information about a class member that's relevant at runtime.
1389
+ * The fields are:
1390
+ *
1391
+ * 1. A number used to hold bitflags for component members. The bit flags which
1392
+ * this is intended to store are documented in the {@link MEMBER_FLAGS} enum.
1393
+ * 2. The attribute name to observe.
1394
+ */
1395
+ export type ComponentRuntimeMember = [number, string?];
1396
+ /**
1397
+ * A tuple holding information about a host listener which is relevant at
1398
+ * runtime. The field are:
1399
+ *
1400
+ * 1. A number used to hold bitflags for listeners. The bit flags which this is
1401
+ * intended to store are documented in the {@link LISTENER_FLAGS} enum.
1402
+ * 2. The event name.
1403
+ * 3. The method name.
1404
+ */
1405
+ export type ComponentRuntimeHostListener = [number, string, string];
1406
+ /**
1407
+ * A tuple containing information about props which are "reflected" at runtime,
1408
+ * meaning that HTML attributes on the component instance are kept in sync with
1409
+ * the prop value.
1410
+ *
1411
+ * The fields are:
1412
+ *
1413
+ * 1. the prop name
1414
+ * 2. the prop attribute.
1415
+ */
1416
+ export type ComponentRuntimeReflectingAttr = [string, string | undefined];
1417
+ export type ModeBundleId = ModeBundleIds | string;
1418
+ export interface ModeBundleIds {
1419
+ [modeName: string]: string;
1420
+ }
1421
+ export type RuntimeRef = HostElement | {};
1422
+ /**
1423
+ * Interface used to track an Element, it's virtual Node (`VNode`), and other data
1424
+ */
1425
+ export interface HostRef {
1426
+ $ancestorComponent$?: HostElement;
1427
+ $flags$: number;
1428
+ $cmpMeta$: ComponentRuntimeMeta;
1429
+ $hostElement$?: HostElement;
1430
+ $instanceValues$?: Map<string, any>;
1431
+ $lazyInstance$?: ComponentInterface;
1432
+ $onReadyPromise$?: Promise<any>;
1433
+ $onReadyResolve$?: (elm: any) => void;
1434
+ $onInstancePromise$?: Promise<any>;
1435
+ $onInstanceResolve$?: (elm: any) => void;
1436
+ $onRenderResolve$?: () => void;
1437
+ $vnode$?: VNode;
1438
+ $queuedListeners$?: [string, any][];
1439
+ $rmListeners$?: (() => void)[];
1440
+ $modeName$?: string;
1441
+ $renderCount$?: number;
1442
+ }
1443
+ export interface PlatformRuntime {
1444
+ $cssShim$?: CssVarShim;
1445
+ $flags$: number;
1446
+ $orgLocNodes$?: Map<string, RenderNode>;
1447
+ $resourcesUrl$: string;
1448
+ /**
1449
+ * The nonce value to be applied to all script/style tags at runtime.
1450
+ * If `null`, the nonce attribute will not be applied.
1451
+ */
1452
+ $nonce$?: string | null;
1453
+ jmp: (c: Function) => any;
1454
+ raf: (c: FrameRequestCallback) => number;
1455
+ ael: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
1456
+ rel: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
1457
+ ce: (eventName: string, opts?: any) => CustomEvent;
1458
+ }
1459
+ export type RefMap = WeakMap<any, HostRef>;
1460
+ export type StyleMap = Map<string, CSSStyleSheet | string>;
1461
+ export type RootAppliedStyleMap = WeakMap<Element, Set<string>>;
1462
+ export type AppliedStyleMap = Set<string>;
1463
+ export type ActivelyProcessingCmpMap = Set<Element>;
1464
+ export interface ScreenshotConnector {
1465
+ initBuild(opts: ScreenshotConnectorOptions): Promise<void>;
1466
+ completeBuild(masterBuild: ScreenshotBuild): Promise<ScreenshotBuildResults>;
1467
+ getMasterBuild(): Promise<ScreenshotBuild>;
1468
+ pullMasterBuild(): Promise<void>;
1469
+ publishBuild(buildResults: ScreenshotBuildResults): Promise<ScreenshotBuildResults>;
1470
+ getScreenshotCache(): Promise<ScreenshotCache>;
1471
+ updateScreenshotCache(screenshotCache: ScreenshotCache, buildResults: ScreenshotBuildResults): Promise<ScreenshotCache>;
1472
+ generateJsonpDataUris(build: ScreenshotBuild): Promise<void>;
1473
+ sortScreenshots(screenshots: Screenshot[]): Screenshot[];
1474
+ toJson(masterBuild: ScreenshotBuild, screenshotCache: ScreenshotCache): string;
1475
+ }
1476
+ export interface ScreenshotBuildResults {
1477
+ appNamespace: string;
1478
+ masterBuild: ScreenshotBuild;
1479
+ currentBuild: ScreenshotBuild;
1480
+ compare: ScreenshotCompareResults;
1481
+ }
1482
+ export interface ScreenshotCompareResults {
1483
+ id: string;
1484
+ a: {
1485
+ id: string;
1486
+ message: string;
1487
+ author: string;
1488
+ url: string;
1489
+ previewUrl: string;
1490
+ };
1491
+ b: {
1492
+ id: string;
1493
+ message: string;
1494
+ author: string;
1495
+ url: string;
1496
+ previewUrl: string;
1497
+ };
1498
+ timestamp: number;
1499
+ url: string;
1500
+ appNamespace: string;
1501
+ diffs: ScreenshotDiff[];
1502
+ }
1503
+ export interface ScreenshotConnectorOptions {
1504
+ buildId: string;
1505
+ buildMessage: string;
1506
+ buildAuthor?: string;
1507
+ buildUrl?: string;
1508
+ previewUrl?: string;
1509
+ appNamespace: string;
1510
+ buildTimestamp: number;
1511
+ logger: Logger;
1512
+ rootDir: string;
1513
+ cacheDir: string;
1514
+ packageDir: string;
1515
+ screenshotDirName?: string;
1516
+ imagesDirName?: string;
1517
+ buildsDirName?: string;
1518
+ currentBuildDir?: string;
1519
+ updateMaster?: boolean;
1520
+ allowableMismatchedPixels?: number;
1521
+ allowableMismatchedRatio?: number;
1522
+ pixelmatchThreshold?: number;
1523
+ waitBeforeScreenshot?: number;
1524
+ pixelmatchModulePath?: string;
1525
+ }
1526
+ export interface ScreenshotBuildData {
1527
+ buildId: string;
1528
+ rootDir: string;
1529
+ screenshotDir: string;
1530
+ imagesDir: string;
1531
+ buildsDir: string;
1532
+ currentBuildDir: string;
1533
+ updateMaster: boolean;
1534
+ allowableMismatchedPixels: number;
1535
+ allowableMismatchedRatio: number;
1536
+ pixelmatchThreshold: number;
1537
+ masterScreenshots: {
1538
+ [screenshotId: string]: string;
1539
+ };
1540
+ cache: {
1541
+ [cacheKey: string]: number;
1542
+ };
1543
+ timeoutBeforeScreenshot: number;
1544
+ pixelmatchModulePath: string;
1545
+ }
1546
+ export interface PixelMatchInput {
1547
+ imageAPath: string;
1548
+ imageBPath: string;
1549
+ width: number;
1550
+ height: number;
1551
+ pixelmatchThreshold: number;
1552
+ }
1553
+ export interface ScreenshotBuild {
1554
+ id: string;
1555
+ message: string;
1556
+ author?: string;
1557
+ url?: string;
1558
+ previewUrl?: string;
1559
+ appNamespace: string;
1560
+ timestamp: number;
1561
+ screenshots: Screenshot[];
1562
+ }
1563
+ export interface ScreenshotCache {
1564
+ timestamp?: number;
1565
+ lastBuildId?: string;
1566
+ size?: number;
1567
+ items?: {
1568
+ /**
1569
+ * Cache key
1570
+ */
1571
+ key: string;
1572
+ /**
1573
+ * Timestamp used to remove the oldest data
1574
+ */
1575
+ ts: number;
1576
+ /**
1577
+ * Mismatched pixels
1578
+ */
1579
+ mp: number;
1580
+ }[];
1581
+ }
1582
+ export interface Screenshot {
1583
+ id: string;
1584
+ desc?: string;
1585
+ image: string;
1586
+ device?: string;
1587
+ userAgent?: string;
1588
+ width?: number;
1589
+ height?: number;
1590
+ deviceScaleFactor?: number;
1591
+ hasTouch?: boolean;
1592
+ isLandscape?: boolean;
1593
+ isMobile?: boolean;
1594
+ testPath?: string;
1595
+ diff?: ScreenshotDiff;
1596
+ }
1597
+ export interface ScreenshotDiff {
1598
+ mismatchedPixels: number;
1599
+ id?: string;
1600
+ desc?: string;
1601
+ imageA?: string;
1602
+ imageB?: string;
1603
+ device?: string;
1604
+ userAgent?: string;
1605
+ width?: number;
1606
+ height?: number;
1607
+ deviceScaleFactor?: number;
1608
+ hasTouch?: boolean;
1609
+ isLandscape?: boolean;
1610
+ isMobile?: boolean;
1611
+ allowableMismatchedPixels: number;
1612
+ allowableMismatchedRatio: number;
1613
+ testPath?: string;
1614
+ cacheKey?: string;
1615
+ }
1616
+ export interface ScreenshotOptions {
1617
+ /**
1618
+ * When true, takes a screenshot of the full scrollable page.
1619
+ * Default: `false`
1620
+ */
1621
+ fullPage?: boolean;
1622
+ /**
1623
+ * An object which specifies clipping region of the page.
1624
+ */
1625
+ clip?: ScreenshotBoundingBox;
1626
+ /**
1627
+ * Hides default white background and allows capturing screenshots with transparency.
1628
+ * Default: `false`
1629
+ */
1630
+ omitBackground?: boolean;
1631
+ /**
1632
+ * Matching threshold, ranges from `0` to 1. Smaller values make the comparison
1633
+ * more sensitive. Defaults to the testing config `pixelmatchThreshold` value;
1634
+ */
1635
+ pixelmatchThreshold?: number;
1636
+ }
1637
+ export interface ScreenshotBoundingBox {
1638
+ /**
1639
+ * The x-coordinate of top-left corner.
1640
+ */
1641
+ x: number;
1642
+ /**
1643
+ * The y-coordinate of top-left corner.
1644
+ */
1645
+ y: number;
1646
+ /**
1647
+ * The width in pixels.
1648
+ */
1649
+ width: number;
1650
+ /**
1651
+ * The height in pixels.
1652
+ */
1653
+ height: number;
1654
+ }
1655
+ export interface ServerConfigInput {
1656
+ app: ExpressApp;
1657
+ configPath?: string;
1658
+ }
1659
+ export interface ServerConfigOutput {
1660
+ config: Config;
1661
+ logger: Logger;
1662
+ wwwDir: string;
1663
+ destroy?: () => void;
1664
+ }
1665
+ export interface ExpressApp {
1666
+ use?: Function;
1667
+ }
1668
+ export interface MiddlewareConfig {
1669
+ config: string | Config;
1670
+ destroy?: () => void;
1671
+ }
1672
+ export interface StyleCompiler {
1673
+ modeName: string;
1674
+ styleId: string;
1675
+ styleStr: string;
1676
+ styleIdentifier: string;
1677
+ externalStyles: ExternalStyleCompiler[];
1678
+ }
1679
+ export interface ExternalStyleCompiler {
1680
+ absolutePath: string;
1681
+ relativePath: string;
1682
+ originalComponentPath: string;
1683
+ }
1684
+ export interface CompilerModeStyles {
1685
+ [modeName: string]: string[];
1686
+ }
1687
+ export interface CssImportData {
1688
+ srcImport: string;
1689
+ updatedImport?: string;
1690
+ url: string;
1691
+ filePath: string;
1692
+ altFilePath?: string;
1693
+ styleText?: string | null;
1694
+ }
1695
+ export interface CssToEsmImportData {
1696
+ srcImportText: string;
1697
+ varName: string;
1698
+ url: string;
1699
+ filePath: string;
1700
+ }
1701
+ /**
1702
+ * Input CSS to be transformed into ESM
1703
+ */
1704
+ export interface TransformCssToEsmInput {
1705
+ input: string;
1706
+ module?: 'cjs' | 'esm' | string;
1707
+ file?: string;
1708
+ tag?: string;
1709
+ encapsulation?: string;
1710
+ mode?: string;
1711
+ commentOriginalSelector?: boolean;
1712
+ sourceMap?: boolean;
1713
+ minify?: boolean;
1714
+ docs?: boolean;
1715
+ autoprefixer?: any;
1716
+ styleImportData?: string;
1717
+ }
1718
+ export interface TransformCssToEsmOutput {
1719
+ styleText: string;
1720
+ output: string;
1721
+ map: any;
1722
+ diagnostics: Diagnostic[];
1723
+ defaultVarName: string;
1724
+ styleDocs: StyleDoc[];
1725
+ imports: {
1726
+ varName: string;
1727
+ importPath: string;
1728
+ }[];
1729
+ }
1730
+ export interface PackageJsonData {
1731
+ name?: string;
1732
+ version?: string;
1733
+ main?: string;
1734
+ description?: string;
1735
+ bin?: {
1736
+ [key: string]: string;
1737
+ };
1738
+ browser?: string;
1739
+ module?: string;
1740
+ 'jsnext:main'?: string;
1741
+ 'collection:main'?: string;
1742
+ unpkg?: string;
1743
+ collection?: string;
1744
+ types?: string;
1745
+ files?: string[];
1746
+ ['dist-tags']?: {
1747
+ latest: string;
1748
+ };
1749
+ dependencies?: {
1750
+ [moduleId: string]: string;
1751
+ };
1752
+ devDependencies?: {
1753
+ [moduleId: string]: string;
1754
+ };
1755
+ repository?: {
1756
+ type?: string;
1757
+ url?: string;
1758
+ };
1759
+ private?: boolean;
1760
+ scripts?: {
1761
+ [runName: string]: string;
1762
+ };
1763
+ license?: string;
1764
+ keywords?: string[];
1765
+ }
1766
+ export interface Workbox {
1767
+ generateSW(swConfig: any): Promise<any>;
1768
+ generateFileManifest(): Promise<any>;
1769
+ getFileManifestEntries(): Promise<any>;
1770
+ injectManifest(swConfig: any): Promise<any>;
1771
+ copyWorkboxLibraries(wwwDir: string): Promise<any>;
1772
+ }
1773
+ export interface Url {
1774
+ href?: string;
1775
+ protocol?: string;
1776
+ auth?: string;
1777
+ hostname?: string;
1778
+ host?: string;
1779
+ port?: string;
1780
+ pathname?: string;
1781
+ path?: string;
1782
+ search?: string;
1783
+ query?: string | any;
1784
+ hash?: string;
1785
+ }
1786
+ declare global {
1787
+ namespace jest {
1788
+ interface Matchers<R, T> {
1789
+ /**
1790
+ * Compares HTML, but first normalizes the HTML so all
1791
+ * whitespace, attribute order and css class order are
1792
+ * the same. When given an element, it will compare
1793
+ * the element's `outerHTML`. When given a Document Fragment,
1794
+ * such as a Shadow Root, it'll compare its `innerHTML`.
1795
+ * Otherwise it'll compare two strings representing HTML.
1796
+ */
1797
+ toEqualHtml(expectHtml: string): void;
1798
+ /**
1799
+ * Compares HTML light DOKM only, but first normalizes the HTML so all
1800
+ * whitespace, attribute order and css class order are
1801
+ * the same. When given an element, it will compare
1802
+ * the element's `outerHTML`. When given a Document Fragment,
1803
+ * such as a Shadow Root, it'll compare its `innerHTML`.
1804
+ * Otherwise it'll compare two strings representing HTML.
1805
+ */
1806
+ toEqualLightHtml(expectLightHtml: string): void;
1807
+ /**
1808
+ * When given an element, it'll compare the element's
1809
+ * `textContent`. Otherwise it'll compare two strings. This
1810
+ * matcher will also `trim()` each string before comparing.
1811
+ */
1812
+ toEqualText(expectTextContent: string): void;
1813
+ /**
1814
+ * Checks if an element simply has the attribute. It does
1815
+ * not check any values of the attribute
1816
+ */
1817
+ toHaveAttribute(expectAttrName: string): void;
1818
+ /**
1819
+ * Checks if an element's attribute value equals the expect value.
1820
+ */
1821
+ toEqualAttribute(expectAttrName: string, expectAttrValue: any): void;
1822
+ /**
1823
+ * Checks if an element's has each of the expected attribute
1824
+ * names and values.
1825
+ */
1826
+ toEqualAttributes(expectAttrs: {
1827
+ [attrName: string]: any;
1828
+ }): void;
1829
+ /**
1830
+ * Checks if an element has the expected css class.
1831
+ */
1832
+ toHaveClass(expectClassName: string): void;
1833
+ /**
1834
+ * Checks if an element has each of the expected css classes
1835
+ * in the array.
1836
+ */
1837
+ toHaveClasses(expectClassNames: string[]): void;
1838
+ /**
1839
+ * Checks if an element has the exact same css classes
1840
+ * as the expected array of css classes.
1841
+ */
1842
+ toMatchClasses(expectClassNames: string[]): void;
1843
+ /**
1844
+ * When given an EventSpy, checks if the event has been
1845
+ * received or not.
1846
+ */
1847
+ toHaveReceivedEvent(): void;
1848
+ /**
1849
+ * When given an EventSpy, checks how many times the
1850
+ * event has been received.
1851
+ */
1852
+ toHaveReceivedEventTimes(count: number): void;
1853
+ /**
1854
+ * When given an EventSpy, checks the event has
1855
+ * received the correct custom event `detail` data.
1856
+ */
1857
+ toHaveReceivedEventDetail(eventDetail: any): void;
1858
+ /**
1859
+ * When given an EventSpy, checks the first event has
1860
+ * received the correct custom event `detail` data.
1861
+ */
1862
+ toHaveFirstReceivedEventDetail(eventDetail: any): void;
1863
+ /**
1864
+ * When given an EventSpy, checks the event at an index
1865
+ * has received the correct custom event `detail` data.
1866
+ */
1867
+ toHaveNthReceivedEventDetail(index: number, eventDetail: any): void;
1868
+ /**
1869
+ * Used to evaluate the results of `compareScreenshot()`, such as
1870
+ * `expect(compare).toMatchScreenshot()`. The `allowableMismatchedRatio`
1871
+ * value from the testing config is used by default if
1872
+ * `MatchScreenshotOptions` were not provided.
1873
+ */
1874
+ toMatchScreenshot(opts?: MatchScreenshotOptions): void;
1875
+ }
1876
+ }
1877
+ }
1878
+ export interface MatchScreenshotOptions {
1879
+ /**
1880
+ * The `allowableMismatchedPixels` value is the total number of pixels
1881
+ * that can be mismatched until the test fails. For example, if the value
1882
+ * is `100`, and if there were `101` pixels that were mismatched then the
1883
+ * test would fail. If the `allowableMismatchedRatio` is provided it will
1884
+ * take precedence, otherwise `allowableMismatchedPixels` will be used.
1885
+ */
1886
+ allowableMismatchedPixels?: number;
1887
+ /**
1888
+ * The `allowableMismatchedRatio` ranges from `0` to `1` and is used to
1889
+ * determine an acceptable ratio of pixels that can be mismatched before
1890
+ * the image is considered to have changes. Realistically, two screenshots
1891
+ * representing the same content may have a small number of pixels that
1892
+ * are not identical due to anti-aliasing, which is perfectly normal. The
1893
+ * `allowableMismatchedRatio` is the number of pixels that were mismatched,
1894
+ * divided by the total number of pixels in the screenshot. For example,
1895
+ * a ratio value of `0.06` means 6% of the pixels can be mismatched before
1896
+ * the image is considered to have changes. If the `allowableMismatchedRatio`
1897
+ * is provided it will take precedence, otherwise `allowableMismatchedPixels`
1898
+ * will be used.
1899
+ */
1900
+ allowableMismatchedRatio?: number;
1901
+ }
1902
+ export interface EventSpy {
1903
+ events: SerializedEvent[];
1904
+ eventName: string;
1905
+ firstEvent: SerializedEvent;
1906
+ lastEvent: SerializedEvent;
1907
+ length: number;
1908
+ next(): Promise<{
1909
+ done: boolean;
1910
+ value: SerializedEvent;
1911
+ }>;
1912
+ }
1913
+ export interface SerializedEvent {
1914
+ bubbles: boolean;
1915
+ cancelBubble: boolean;
1916
+ cancelable: boolean;
1917
+ composed: boolean;
1918
+ currentTarget: any;
1919
+ defaultPrevented: boolean;
1920
+ detail: any;
1921
+ eventPhase: any;
1922
+ isTrusted: boolean;
1923
+ returnValue: any;
1924
+ srcElement: any;
1925
+ target: any;
1926
+ timeStamp: number;
1927
+ type: string;
1928
+ isSerializedEvent: boolean;
1929
+ }
1930
+ export interface EventInitDict {
1931
+ bubbles?: boolean;
1932
+ cancelable?: boolean;
1933
+ composed?: boolean;
1934
+ detail?: any;
1935
+ }
1936
+ export interface JestEnvironmentGlobal {
1937
+ __NEW_TEST_PAGE__: () => Promise<any>;
1938
+ __CLOSE_OPEN_PAGES__: () => Promise<any>;
1939
+ Context: any;
1940
+ loadTestWindow: (testWindow: any) => Promise<void>;
1941
+ h: any;
1942
+ resourcesUrl: string;
1943
+ currentSpec?: {
1944
+ id: string;
1945
+ description: string;
1946
+ fullName: string;
1947
+ testPath: string;
1948
+ };
1949
+ env: {
1950
+ [prop: string]: string;
1951
+ };
1952
+ screenshotDescriptions: Set<string>;
1953
+ }
1954
+ export interface E2EProcessEnv {
1955
+ STENCIL_COMMIT_ID?: string;
1956
+ STENCIL_COMMIT_MESSAGE?: string;
1957
+ STENCIL_REPO_URL?: string;
1958
+ STENCIL_SCREENSHOT_CONNECTOR?: string;
1959
+ STENCIL_SCREENSHOT_SERVER?: string;
1960
+ __STENCIL_EMULATE_CONFIGS__?: string;
1961
+ __STENCIL_ENV__?: string;
1962
+ __STENCIL_EMULATE__?: string;
1963
+ __STENCIL_BROWSER_URL__?: string;
1964
+ __STENCIL_APP_SCRIPT_URL__?: string;
1965
+ __STENCIL_APP_STYLE_URL__?: string;
1966
+ __STENCIL_BROWSER_WS_ENDPOINT__?: string;
1967
+ __STENCIL_BROWSER_WAIT_UNTIL?: string;
1968
+ __STENCIL_SCREENSHOT__?: 'true';
1969
+ __STENCIL_SCREENSHOT_BUILD__?: string;
1970
+ __STENCIL_E2E_TESTS__?: 'true';
1971
+ __STENCIL_E2E_DEVTOOLS__?: 'true';
1972
+ __STENCIL_SPEC_TESTS__?: 'true';
1973
+ __STENCIL_PUPPETEER_MODULE__?: string;
1974
+ __STENCIL_DEFAULT_TIMEOUT__?: string;
1975
+ }
1976
+ export interface AnyHTMLElement extends HTMLElement {
1977
+ [key: string]: any;
1978
+ }
1979
+ export interface SpecPage {
1980
+ /**
1981
+ * Mocked testing `document.body`.
1982
+ */
1983
+ body: HTMLBodyElement;
1984
+ /**
1985
+ * Mocked testing `document`.
1986
+ */
1987
+ doc: HTMLDocument;
1988
+ /**
1989
+ * The first component found within the mocked `document.body`. If a component isn't found, then it'll return `document.body.firstElementChild`.
1990
+ */
1991
+ root?: AnyHTMLElement;
1992
+ /**
1993
+ * Similar to `root`, except returns the component instance. If a root component was not found it'll return `null`.
1994
+ */
1995
+ rootInstance?: any;
1996
+ /**
1997
+ * Convenience function to set `document.body.innerHTML` and `waitForChanges()`. Function argument should be an html string.
1998
+ */
1999
+ setContent: (html: string) => Promise<any>;
2000
+ /**
2001
+ * After changes have been made to a component, such as a update to a property or attribute, the test page does not automatically apply the changes. In order to wait for, and apply the update, call `await page.waitForChanges()`.
2002
+ */
2003
+ waitForChanges: () => Promise<any>;
2004
+ /**
2005
+ * Mocked testing `window`.
2006
+ */
2007
+ win: Window;
2008
+ build: BuildConditionals;
2009
+ flushLoadModule: (bundleId?: string) => Promise<any>;
2010
+ flushQueue: () => Promise<any>;
2011
+ styles: Map<string, string>;
2012
+ }
2013
+ export interface NewSpecPageOptions {
2014
+ /**
2015
+ * An array of components to test. Component classes can be imported into the spec file, then their reference should be added to the `component` array in order to be used throughout the test.
2016
+ */
2017
+ components: any[];
2018
+ /**
2019
+ * Sets the mocked `document.cookie`.
2020
+ */
2021
+ cookie?: string;
2022
+ /**
2023
+ * Sets the mocked `dir` attribute on `<html>`.
2024
+ */
2025
+ direction?: string;
2026
+ flushQueue?: boolean;
2027
+ /**
2028
+ * The initial HTML used to generate the test. This can be useful to construct a collection of components working together, and assign HTML attributes. This value sets the mocked `document.body.innerHTML`.
2029
+ */
2030
+ html?: string;
2031
+ /**
2032
+ * The initial JSX used to generate the test.
2033
+ * Use `template` when you want to initialize a component using their properties, instead of their HTML attributes.
2034
+ * It will render the specified template (JSX) into `document.body`.
2035
+ */
2036
+ template?: () => any;
2037
+ /**
2038
+ * Sets the mocked `lang` attribute on `<html>`.
2039
+ */
2040
+ language?: string;
2041
+ /**
2042
+ * Useful for debugging hydrating components client-side. Sets that the `html` option already includes annotated prerender attributes and comments.
2043
+ */
2044
+ hydrateClientSide?: boolean;
2045
+ /**
2046
+ * Useful for debugging hydrating components server-side. The output HTML will also include prerender annotations.
2047
+ */
2048
+ hydrateServerSide?: boolean;
2049
+ /**
2050
+ * Sets the mocked `document.referrer`.
2051
+ */
2052
+ referrer?: string;
2053
+ /**
2054
+ * Manually set if the mocked document supports Shadow DOM or not. Default is `true`.
2055
+ */
2056
+ supportsShadowDom?: boolean;
2057
+ /**
2058
+ * When a component is prerendered it includes HTML annotations, such as `s-id` attributes and `<!-t.0->` comments. This information is used by clientside hydrating. Default is `false`.
2059
+ */
2060
+ includeAnnotations?: boolean;
2061
+ /**
2062
+ * Sets the mocked browser's `location.href`.
2063
+ */
2064
+ url?: string;
2065
+ /**
2066
+ * Sets the mocked browser's `navigator.userAgent`.
2067
+ */
2068
+ userAgent?: string;
2069
+ /**
2070
+ * By default, any changes to component properties and attributes must `page.waitForChanges()` in order to test the updates. As an option, `autoAppluChanges` continuously flushes the queue on the background. Default is `false`.
2071
+ */
2072
+ autoApplyChanges?: boolean;
2073
+ /**
2074
+ * By default, styles are not attached to the DOM and they are not reflected in the serialized HTML.
2075
+ * Setting this option to `true` will include the component's styles in the serializable output.
2076
+ */
2077
+ attachStyles?: boolean;
2078
+ strictBuild?: boolean;
2079
+ /**
2080
+ * Default values to be set on the platform runtime object (@see PlatformRuntime) when creating
2081
+ * the spec page.
2082
+ */
2083
+ platform?: Partial<PlatformRuntime>;
2084
+ }
2085
+ /**
2086
+ * A record of `TypesMemberNameData` entities.
2087
+ *
2088
+ * Each key in this record is intended to be the path to a file that declares one or more types used by a component.
2089
+ * However, this is not enforced by the type system - users of this interface should not make any assumptions regarding
2090
+ * the format of the path used as a key (relative vs. absolute)
2091
+ */
2092
+ export interface TypesImportData {
2093
+ [key: string]: TypesMemberNameData[];
2094
+ }
2095
+ /**
2096
+ * A type describing how Stencil may alias an imported type to avoid naming collisions when performing operations such
2097
+ * as generating `components.d.ts` files.
2098
+ */
2099
+ export interface TypesMemberNameData {
2100
+ /**
2101
+ * The name of the type as it's used within a file.
2102
+ */
2103
+ localName: string;
2104
+ /**
2105
+ * An alias that Stencil may apply to the `localName` to avoid naming collisions. This name does not appear in the
2106
+ * file that is using `localName`.
2107
+ */
2108
+ importName?: string;
2109
+ }
2110
+ export interface TypesModule {
2111
+ isDep: boolean;
2112
+ tagName: string;
2113
+ tagNameAsPascal: string;
2114
+ htmlElementName: string;
2115
+ component: string;
2116
+ jsx: string;
2117
+ element: string;
2118
+ }
2119
+ export type TypeInfo = {
2120
+ name: string;
2121
+ type: string;
2122
+ optional: boolean;
2123
+ required: boolean;
2124
+ internal: boolean;
2125
+ jsdoc?: string;
2126
+ }[];
2127
+ export interface Hyperscript {
2128
+ (sel: any): VNode;
2129
+ (sel: Node, data: VNodeData): VNode;
2130
+ (sel: any, data: VNodeData): VNode;
2131
+ (sel: any, text: string): VNode;
2132
+ (sel: any, children: Array<VNode | undefined | null>): VNode;
2133
+ (sel: any, data: VNodeData, text: string): VNode;
2134
+ (sel: any, data: VNodeData, children: Array<VNode | undefined | null>): VNode;
2135
+ (sel: any, data: VNodeData, children: VNode): VNode;
2136
+ }
2137
+ export type ChildType = VNode | number | string;
2138
+ export type PropsType = VNodeProdData | number | string | null;
2139
+ export interface VNodeProdData {
2140
+ key?: string | number;
2141
+ class?: {
2142
+ [className: string]: boolean;
2143
+ } | string;
2144
+ className?: {
2145
+ [className: string]: boolean;
2146
+ } | string;
2147
+ style?: any;
2148
+ [key: string]: any;
2149
+ }
2150
+ export interface CompilerWorkerContext {
2151
+ optimizeCss(inputOpts: OptimizeCssInput): Promise<OptimizeCssOutput>;
2152
+ prepareModule(input: string, minifyOpts: any, transpile: boolean, inlineHelpers: boolean): Promise<{
2153
+ output: string;
2154
+ diagnostics: Diagnostic[];
2155
+ sourceMap?: SourceMap;
2156
+ }>;
2157
+ prerenderWorker(prerenderRequest: PrerenderUrlRequest): Promise<PrerenderUrlResults>;
2158
+ transformCssToEsm(input: TransformCssToEsmInput): Promise<TransformCssToEsmOutput>;
2159
+ }
2160
+ export interface MsgToWorker {
2161
+ stencilId: number;
2162
+ args: any[];
2163
+ }
2164
+ export interface MsgFromWorker {
2165
+ stencilId?: number;
2166
+ stencilRtnValue: any;
2167
+ stencilRtnError: string;
2168
+ }
2169
+ export interface CompilerWorkerTask {
2170
+ stencilId?: number;
2171
+ inputArgs?: any[];
2172
+ resolve: (val: any) => any;
2173
+ reject: (msg: string) => any;
2174
+ retries?: number;
2175
+ }
2176
+ export type WorkerMsgHandler = (msgToWorker: MsgToWorker) => Promise<any>;
2177
+ export interface WorkerTask {
2178
+ taskId: number;
2179
+ method: string;
2180
+ args: any[];
2181
+ resolve: (val: any) => any;
2182
+ reject: (msg: string) => any;
2183
+ retries: number;
2184
+ isLongRunningTask: boolean;
2185
+ workerKey: string;
2186
+ }
2187
+ export interface WorkerMessage {
2188
+ taskId?: number;
2189
+ method?: string;
2190
+ args?: any[];
2191
+ value?: any;
2192
+ error?: string;
2193
+ exit?: boolean;
2194
+ }
2195
+ export type WorkerRunner = (methodName: string, args: any[]) => Promise<any>;
2196
+ export interface WorkerRunnerOptions {
2197
+ isLongRunningTask?: boolean;
2198
+ workerKey?: string;
2199
+ }
2200
+ export interface WorkerContext {
2201
+ tsHost?: any;
2202
+ tsProgram?: any;
2203
+ }
2204
+ export interface TranspileModuleResults {
2205
+ sourceFilePath: string;
2206
+ code: string;
2207
+ map: any;
2208
+ diagnostics: Diagnostic[];
2209
+ moduleFile: Module;
2210
+ }
2211
+ export interface ValidateTypesResults {
2212
+ diagnostics: Diagnostic[];
2213
+ dirPaths: string[];
2214
+ filePaths: string[];
2215
+ }
2216
+ export interface TerminalInfo {
2217
+ /**
2218
+ * Whether this is in CI or not.
2219
+ */
2220
+ readonly ci: boolean;
2221
+ /**
2222
+ * Whether the terminal is an interactive TTY or not.
2223
+ */
2224
+ readonly tty: boolean;
2225
+ }
2226
+ /**
2227
+ * The task to run in order to collect the duration data point.
2228
+ */
2229
+ export type TelemetryCallback = (...args: any[]) => void | Promise<void>;
2230
+ /**
2231
+ * The model for the data that's tracked.
2232
+ */
2233
+ export interface TrackableData {
2234
+ arguments: string[];
2235
+ build: string;
2236
+ component_count?: number;
2237
+ config: Config;
2238
+ cpu_model: string | undefined;
2239
+ duration_ms: number | undefined;
2240
+ has_app_pwa_config: boolean;
2241
+ is_browser_env: boolean;
2242
+ os_name: string | undefined;
2243
+ os_version: string | undefined;
2244
+ packages: string[];
2245
+ packages_no_versions?: string[];
2246
+ rollup: string;
2247
+ stencil: string;
2248
+ system: string;
2249
+ system_major?: string;
2250
+ targets: string[];
2251
+ task: TaskCommand | null;
2252
+ typescript: string;
2253
+ yarn: boolean;
2254
+ }
2255
+ /**
2256
+ * Used as the object sent to the server. Value is the data tracked.
2257
+ */
2258
+ export interface Metric {
2259
+ name: string;
2260
+ timestamp: string;
2261
+ source: 'stencil_cli';
2262
+ value: TrackableData;
2263
+ session_id: string;
2264
+ }
2265
+ export interface TelemetryConfig {
2266
+ 'telemetry.stencil'?: boolean;
2267
+ 'tokens.telemetry'?: string;
2268
+ }