@postnord/pn-marketweb-components 2.3.12 → 2.3.13
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.
- package/cjs/{index-e3e27c79.js → index-4199ff85.js} +828 -278
- package/cjs/{index-28bbc937.js → index-95e5b7f9.js} +1 -1
- package/cjs/loader.cjs.js +3 -2
- package/cjs/pn-animated-tile.cjs.entry.js +5 -5
- package/cjs/pn-bonus-progressbar-level.cjs.entry.js +2 -2
- package/cjs/pn-bonus-progressbar.cjs.entry.js +2 -2
- package/cjs/pn-breakpoints.cjs.entry.js +2 -2
- package/cjs/pn-chart.cjs.entry.js +3 -2
- package/cjs/pn-charts-card.cjs.entry.js +10 -3
- package/cjs/pn-choice-button.cjs.entry.js +5 -2
- package/cjs/pn-customernumber-selector-option.cjs.entry.js +2 -2
- package/cjs/pn-customernumber-selector.cjs.entry.js +2 -2
- package/cjs/pn-filter-checkbox.cjs.entry.js +5 -2
- package/cjs/pn-find-price-result.cjs.entry.js +7 -4
- package/cjs/{pn-find-price-store-a91ce3f6.js → pn-find-price-store-e0d1e412.js} +1 -1
- package/cjs/pn-find-price.cjs.entry.js +4 -4
- package/cjs/pn-find-service-and-price-result.cjs.entry.js +4 -4
- package/cjs/{pn-find-service-and-price-store-16a7936c.js → pn-find-service-and-price-store-6e26630d.js} +1 -1
- package/cjs/pn-find-service-and-price.cjs.entry.js +4 -4
- package/cjs/pn-language-selector_9.cjs.entry.js +18 -42
- package/cjs/pn-line-shape.cjs.entry.js +2 -2
- package/cjs/pn-mainnav-link.cjs.entry.js +4 -10
- package/cjs/{pn-mainnav-store-61a75ea0.js → pn-mainnav-store-8c337865.js} +1 -1
- package/cjs/pn-market-web-components.cjs.js +6 -2
- package/cjs/pn-marketweb-input.cjs.entry.js +2 -7
- package/cjs/pn-marketweb-search.cjs.entry.js +2 -6
- package/cjs/pn-marketweb-sitefooter.cjs.entry.js +10 -15
- package/cjs/pn-marketweb-siteheader-login-button_5.cjs.entry.js +12 -10
- package/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js +4 -4
- package/cjs/{pn-marketweb-siteheader-store-e29ad918.js → pn-marketweb-siteheader-store-5ced6902.js} +1 -1
- package/cjs/pn-marketweb-siteheader.cjs.entry.js +10 -38
- package/cjs/pn-multi-formfield.cjs.entry.js +10 -10
- package/cjs/pn-parcel-tracker.cjs.entry.js +2 -2
- package/cjs/pn-pex-pricefinder.cjs.entry.js +2 -5
- package/cjs/pn-product-card_3.cjs.entry.js +15 -4
- package/cjs/pn-product-pricelist-result.cjs.entry.js +3 -3
- package/cjs/pn-product-pricelist.cjs.entry.js +4 -4
- package/cjs/pn-product-tile-info_2.cjs.entry.js +10 -3
- package/cjs/pn-product-tile.cjs.entry.js +2 -2
- package/cjs/pn-profile-modal-customernumber.cjs.entry.js +2 -2
- package/cjs/pn-profile-modal-profile.cjs.entry.js +4 -4
- package/cjs/{pn-profile-modal-store-6117e304.js → pn-profile-modal-store-947b08ae.js} +1 -1
- package/cjs/pn-profile-modal-type.cjs.entry.js +4 -4
- package/cjs/pn-profile-modal.cjs.entry.js +4 -4
- package/cjs/pn-profile-selector-option.cjs.entry.js +2 -2
- package/cjs/pn-profile-selector.cjs.entry.js +5 -5
- package/cjs/pn-proxio-findprice-result.cjs.entry.js +5 -2
- package/cjs/pn-proxio-findprice.cjs.entry.js +4 -4
- package/cjs/pn-proxio-pricegroup.cjs.entry.js +3 -5
- package/cjs/pn-proxio-productcard_4.cjs.entry.js +12 -5
- package/cjs/pn-quick-cta.cjs.entry.js +2 -2
- package/cjs/pn-quote-card.cjs.entry.js +2 -3
- package/cjs/pn-scroll.cjs.entry.js +2 -2
- package/cjs/pn-share-item.cjs.entry.js +2 -2
- package/cjs/pn-share.cjs.entry.js +3 -2
- package/cjs/pn-sidenav-level.cjs.entry.js +4 -4
- package/cjs/pn-sidenav-link.cjs.entry.js +4 -12
- package/cjs/{pn-sidenav-store-d9bd9e00.js → pn-sidenav-store-d2389306.js} +1 -1
- package/cjs/pn-sidenav-togglebutton.cjs.entry.js +4 -5
- package/cjs/pn-sidenav.cjs.entry.js +4 -6
- package/cjs/pn-site-footer_2.cjs.entry.js +3 -4
- package/cjs/pn-spotlight.cjs.entry.js +2 -2
- package/cjs/pn-stats-info-data.cjs.entry.js +8 -8
- package/cjs/pn-stats-info.cjs.entry.js +3 -2
- package/cjs/pn-teaser-card.cjs.entry.js +3 -4
- package/cjs/pn-titletag.cjs.entry.js +2 -4
- package/collection/collection-manifest.json +2 -2
- package/collection/components/animation/pn-animated-tile/pn-animated-tile.js +28 -26
- package/collection/components/animation/pn-scroll/pn-scroll.js +92 -86
- package/collection/components/cards/pn-quote-card/pn-line-shape/pn-line-shape.js +12 -11
- package/collection/components/cards/pn-quote-card/pn-quote-card.js +68 -79
- package/collection/components/cards/pn-teaser-card/pn-teaser-card.js +109 -113
- package/collection/components/charts/pn-chart/pn-chart.js +83 -74
- package/collection/components/charts/pn-charts-card/pn-charts-card.js +162 -169
- package/collection/components/cta/pn-parcel-tracker/pn-parcel-tracker.js +133 -128
- package/collection/components/cta/pn-quick-cta/pn-quick-cta.js +51 -49
- package/collection/components/cta/pn-share/pn-share-item.js +51 -50
- package/collection/components/cta/pn-share/pn-share.js +65 -60
- package/collection/components/cta/pn-spotlight/pn-spotlight.js +73 -71
- package/collection/components/data-visualization/pn-stats-info/pn-stats-info-data/pn-stats-info-data.js +120 -115
- package/collection/components/data-visualization/pn-stats-info/pn-stats-info.js +82 -78
- package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar-level.js +93 -87
- package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar.js +193 -195
- package/collection/components/input/pn-choice-button/pn-choice-button.js +145 -137
- package/collection/components/input/pn-filter-checkbox/pn-filter-checkbox.js +128 -122
- package/collection/components/input/pn-marketweb-input/pn-marketweb-input.js +347 -355
- package/collection/components/input/pn-marketweb-search/pn-marketweb-search.js +258 -260
- package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter-types.js +0 -3
- package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js +201 -221
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-button.js +34 -29
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-linklist.js +101 -101
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-links.js +110 -105
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-mypage-button.js +51 -45
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.js +174 -181
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js +259 -256
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.js +170 -172
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js +84 -75
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +509 -560
- package/collection/components/layout-components/pn-multi-formfield/pn-multi-formfield.js +105 -99
- package/collection/components/minor/pn-titletag/pn-titletag.js +51 -49
- package/collection/components/navigation/pn-language-selector/pn-language-selector-option.js +119 -123
- package/collection/components/navigation/pn-language-selector/pn-language-selector.js +71 -64
- package/collection/components/navigation/pn-mainnav/pn-mainnav-level.js +58 -58
- package/collection/components/navigation/pn-mainnav/pn-mainnav-link.js +92 -97
- package/collection/components/navigation/pn-mainnav/pn-mainnav-list.js +39 -33
- package/collection/components/navigation/pn-mainnav/pn-mainnav.js +182 -183
- package/collection/components/navigation/pn-sidenav/pn-sidenav-level.js +29 -22
- package/collection/components/navigation/pn-sidenav/pn-sidenav-link.js +128 -134
- package/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.js +39 -34
- package/collection/components/navigation/pn-sidenav/pn-sidenav.js +71 -66
- package/collection/components/navigation/pn-site-footer/pn-site-footer-col.js +34 -29
- package/collection/components/navigation/pn-site-footer/pn-site-footer.js +68 -75
- package/collection/components/navigation/pn-site-selector/pn-site-selector-item.js +85 -89
- package/collection/components/navigation/pn-site-selector/pn-site-selector.js +73 -73
- package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.js +68 -67
- package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.js +90 -90
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.js +85 -79
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.js +182 -188
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-type.js +91 -84
- package/collection/components/profile/pn-profile-modal/pn-profile-modal.js +116 -115
- package/collection/components/profile/pn-profile-selector/pn-profile-selector-option.js +68 -67
- package/collection/components/profile/pn-profile-selector/pn-profile-selector.js +78 -76
- package/collection/components/utilities/pn-breakpoints/pn-breakpoints.js +48 -42
- package/collection/components/widgets/pn-find-price/pn-find-price-result.js +163 -179
- package/collection/components/widgets/pn-find-price/pn-find-price.js +99 -113
- package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.js +66 -67
- package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.js +133 -148
- package/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.js +87 -102
- package/collection/components/widgets/pn-product-card/pn-product-card-info.js +92 -94
- package/collection/components/widgets/pn-product-card/pn-product-card-price.js +138 -131
- package/collection/components/widgets/pn-product-card/pn-product-card.js +12 -21
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.js +101 -108
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.js +137 -140
- package/collection/components/widgets/pn-product-tile/pn-product-tile-info.js +70 -62
- package/collection/components/widgets/pn-product-tile/pn-product-tile-price.js +87 -83
- package/collection/components/widgets/pn-product-tile/pn-product-tile.js +12 -16
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.js +205 -206
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.js +134 -152
- package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.js +130 -145
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.js +87 -82
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.js +55 -57
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-pricelink.js +85 -81
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.js +12 -20
- package/components/MarketWebContextService.js +318 -0
- package/components/_commonjsHelpers.js +32 -0
- package/components/convert.js +1823 -0
- package/components/data.js +37 -0
- package/components/index.d.ts +105 -0
- package/components/index.js +76 -0
- package/components/index2.js +59 -0
- package/components/index3.js +187 -0
- package/components/pn-animated-tile.d.ts +11 -0
- package/components/pn-animated-tile.js +52 -0
- package/components/pn-bonus-progressbar-level.d.ts +11 -0
- package/components/pn-bonus-progressbar-level.js +65 -0
- package/components/pn-bonus-progressbar.d.ts +11 -0
- package/components/pn-bonus-progressbar.js +128 -0
- package/components/pn-breakpoints.d.ts +11 -0
- package/components/pn-breakpoints.js +45 -0
- package/components/pn-chart.d.ts +11 -0
- package/components/pn-chart.js +22151 -0
- package/components/pn-charts-card.d.ts +11 -0
- package/components/pn-charts-card.js +57 -0
- package/components/pn-choice-button.d.ts +11 -0
- package/components/pn-choice-button.js +6 -0
- package/components/pn-choice-button2.js +61 -0
- package/components/pn-customernumber-selector-option.d.ts +11 -0
- package/components/pn-customernumber-selector-option.js +41 -0
- package/components/pn-customernumber-selector.d.ts +11 -0
- package/components/pn-customernumber-selector.js +77 -0
- package/components/pn-filter-checkbox.d.ts +11 -0
- package/components/pn-filter-checkbox.js +93 -0
- package/components/pn-find-price-result.d.ts +11 -0
- package/components/pn-find-price-result.js +6 -0
- package/components/pn-find-price-result2.js +192 -0
- package/components/pn-find-price.d.ts +11 -0
- package/components/pn-find-price.js +281 -0
- package/components/pn-find-service-and-price-result.d.ts +11 -0
- package/components/pn-find-service-and-price-result.js +6 -0
- package/components/pn-find-service-and-price-result2.js +96 -0
- package/components/pn-find-service-and-price.d.ts +11 -0
- package/components/pn-find-service-and-price.js +314 -0
- package/components/pn-language-selector-option.d.ts +11 -0
- package/components/pn-language-selector-option.js +6 -0
- package/components/pn-language-selector-option2.js +51 -0
- package/components/pn-language-selector.d.ts +11 -0
- package/components/pn-language-selector.js +6 -0
- package/components/pn-language-selector2.js +142 -0
- package/components/pn-line-shape.d.ts +11 -0
- package/components/pn-line-shape.js +35 -0
- package/components/pn-mainnav-level.d.ts +11 -0
- package/components/pn-mainnav-level.js +6 -0
- package/components/pn-mainnav-level2.js +117 -0
- package/components/pn-mainnav-link.d.ts +11 -0
- package/components/pn-mainnav-link.js +6 -0
- package/components/pn-mainnav-link2.js +57 -0
- package/components/pn-mainnav-list.d.ts +11 -0
- package/components/pn-mainnav-list.js +6 -0
- package/components/pn-mainnav-list2.js +39 -0
- package/{esm/pn-mainnav-store-28571e54.js → components/pn-mainnav-store.js} +1 -1
- package/components/pn-mainnav.d.ts +11 -0
- package/components/pn-mainnav.js +6 -0
- package/components/pn-mainnav2.js +120 -0
- package/components/pn-marketweb-input.d.ts +11 -0
- package/components/pn-marketweb-input.js +6 -0
- package/components/pn-marketweb-input2.js +102 -0
- package/components/pn-marketweb-search.d.ts +11 -0
- package/components/pn-marketweb-search.js +129 -0
- package/components/pn-marketweb-sitefooter.d.ts +11 -0
- package/components/pn-marketweb-sitefooter.js +335 -0
- package/components/pn-marketweb-siteheader-login-button.d.ts +11 -0
- package/components/pn-marketweb-siteheader-login-button.js +6 -0
- package/components/pn-marketweb-siteheader-login-button2.js +79 -0
- package/components/pn-marketweb-siteheader-login-linklist.d.ts +11 -0
- package/components/pn-marketweb-siteheader-login-linklist.js +6 -0
- package/components/pn-marketweb-siteheader-login-linklist2.js +105 -0
- package/components/pn-marketweb-siteheader-login-links.d.ts +11 -0
- package/components/pn-marketweb-siteheader-login-links.js +6 -0
- package/components/pn-marketweb-siteheader-login-links2.js +116 -0
- package/components/pn-marketweb-siteheader-login-mypage-button.d.ts +11 -0
- package/components/pn-marketweb-siteheader-login-mypage-button.js +6 -0
- package/components/pn-marketweb-siteheader-login-mypage-button2.js +36 -0
- package/components/pn-marketweb-siteheader-login-profileselection.d.ts +11 -0
- package/components/pn-marketweb-siteheader-login-profileselection.js +6 -0
- package/components/pn-marketweb-siteheader-login-profileselection2.js +244 -0
- package/components/pn-marketweb-siteheader-login.d.ts +11 -0
- package/components/pn-marketweb-siteheader-login.js +6 -0
- package/components/pn-marketweb-siteheader-login2.js +589 -0
- package/components/pn-marketweb-siteheader-search.d.ts +11 -0
- package/components/pn-marketweb-siteheader-search.js +6 -0
- package/components/pn-marketweb-siteheader-search2.js +131 -0
- package/components/pn-marketweb-siteheader-unified-login.d.ts +11 -0
- package/components/pn-marketweb-siteheader-unified-login.js +6 -0
- package/components/pn-marketweb-siteheader-unified-login2.js +52 -0
- package/components/pn-marketweb-siteheader.d.ts +11 -0
- package/components/pn-marketweb-siteheader.js +560 -0
- package/components/pn-multi-formfield.d.ts +11 -0
- package/components/pn-multi-formfield.js +277 -0
- package/components/pn-parcel-tracker.d.ts +11 -0
- package/components/pn-parcel-tracker.js +58 -0
- package/components/pn-pex-pricefinder.d.ts +11 -0
- package/components/pn-pex-pricefinder.js +156 -0
- package/components/pn-product-card-info.d.ts +11 -0
- package/components/pn-product-card-info.js +6 -0
- package/components/pn-product-card-info2.js +45 -0
- package/components/pn-product-card-price.d.ts +11 -0
- package/components/pn-product-card-price.js +6 -0
- package/components/pn-product-card-price2.js +48 -0
- package/components/pn-product-card.d.ts +11 -0
- package/components/pn-product-card.js +6 -0
- package/components/pn-product-card2.js +30 -0
- package/components/pn-product-pricelist-result.d.ts +11 -0
- package/components/pn-product-pricelist-result.js +130 -0
- package/components/pn-product-pricelist.d.ts +11 -0
- package/components/pn-product-pricelist.js +259 -0
- package/components/pn-product-tile-info.d.ts +11 -0
- package/components/pn-product-tile-info.js +6 -0
- package/components/pn-product-tile-info2.js +38 -0
- package/components/pn-product-tile-price.d.ts +11 -0
- package/components/pn-product-tile-price.js +6 -0
- package/components/pn-product-tile-price2.js +42 -0
- package/components/pn-product-tile.d.ts +11 -0
- package/components/pn-product-tile.js +33 -0
- package/components/pn-profile-modal-customernumber.d.ts +11 -0
- package/components/pn-profile-modal-customernumber.js +46 -0
- package/components/pn-profile-modal-profile.d.ts +11 -0
- package/components/pn-profile-modal-profile.js +71 -0
- package/{esm/pn-profile-modal-store-ae9e0d5a.js → components/pn-profile-modal-store.js} +1 -1
- package/components/pn-profile-modal-type.d.ts +11 -0
- package/components/pn-profile-modal-type.js +56 -0
- package/components/pn-profile-modal.d.ts +11 -0
- package/components/pn-profile-modal.js +92 -0
- package/components/pn-profile-selector-option.d.ts +11 -0
- package/components/pn-profile-selector-option.js +41 -0
- package/components/pn-profile-selector.d.ts +11 -0
- package/components/pn-profile-selector.js +79 -0
- package/components/pn-proxio-findprice-result.d.ts +11 -0
- package/components/pn-proxio-findprice-result.js +6 -0
- package/components/pn-proxio-findprice-result2.js +124 -0
- package/components/pn-proxio-findprice.d.ts +11 -0
- package/components/pn-proxio-findprice.js +454 -0
- package/components/pn-proxio-pricegroup.d.ts +11 -0
- package/components/pn-proxio-pricegroup.js +194 -0
- package/components/pn-proxio-productcard-description.d.ts +11 -0
- package/components/pn-proxio-productcard-description.js +6 -0
- package/components/pn-proxio-productcard-description2.js +43 -0
- package/components/pn-proxio-productcard-information.d.ts +11 -0
- package/components/pn-proxio-productcard-information.js +6 -0
- package/components/pn-proxio-productcard-information2.js +37 -0
- package/components/pn-proxio-productcard-pricelink.d.ts +11 -0
- package/components/pn-proxio-productcard-pricelink.js +6 -0
- package/components/pn-proxio-productcard-pricelink2.js +40 -0
- package/components/pn-proxio-productcard.d.ts +11 -0
- package/components/pn-proxio-productcard.js +6 -0
- package/components/pn-proxio-productcard2.js +30 -0
- package/components/pn-quick-cta.d.ts +11 -0
- package/components/pn-quick-cta.js +39 -0
- package/components/pn-quote-card.d.ts +11 -0
- package/components/pn-quote-card.js +41 -0
- package/components/pn-scroll.d.ts +11 -0
- package/components/pn-scroll.js +79 -0
- package/components/pn-share-item.d.ts +11 -0
- package/components/pn-share-item.js +6 -0
- package/components/pn-share-item2.js +36 -0
- package/components/pn-share.d.ts +11 -0
- package/components/pn-share.js +89 -0
- package/components/pn-sidenav-level.d.ts +11 -0
- package/components/pn-sidenav-level.js +84 -0
- package/components/pn-sidenav-link.d.ts +11 -0
- package/components/pn-sidenav-link.js +87 -0
- package/{esm/pn-sidenav-store-50b186d6.js → components/pn-sidenav-store.js} +1 -1
- package/components/pn-sidenav-togglebutton.d.ts +11 -0
- package/components/pn-sidenav-togglebutton.js +45 -0
- package/components/pn-sidenav.d.ts +11 -0
- package/components/pn-sidenav.js +95 -0
- package/components/pn-site-footer-col.d.ts +11 -0
- package/components/pn-site-footer-col.js +6 -0
- package/components/pn-site-footer-col2.js +33 -0
- package/components/pn-site-footer.d.ts +11 -0
- package/components/pn-site-footer.js +6 -0
- package/components/pn-site-footer2.js +38 -0
- package/components/pn-site-selector-item.d.ts +11 -0
- package/components/pn-site-selector-item.js +6 -0
- package/components/pn-site-selector-item2.js +39 -0
- package/components/pn-site-selector.d.ts +11 -0
- package/components/pn-site-selector.js +6 -0
- package/components/pn-site-selector2.js +69 -0
- package/components/pn-spotlight.d.ts +11 -0
- package/components/pn-spotlight.js +47 -0
- package/components/pn-stats-info-data.d.ts +11 -0
- package/components/pn-stats-info-data.js +6 -0
- package/components/pn-stats-info-data2.js +93 -0
- package/components/pn-stats-info.d.ts +11 -0
- package/components/pn-stats-info.js +59 -0
- package/components/pn-teaser-card.d.ts +11 -0
- package/components/pn-teaser-card.js +56 -0
- package/components/pn-titletag.d.ts +11 -0
- package/components/pn-titletag.js +6 -0
- package/components/pn-titletag2.js +36 -0
- package/components/translations.js +19 -0
- package/components/v4.js +66 -0
- package/esm/{index-7b21ecff.js → index-7f77b0ba.js} +1 -1
- package/esm/{index-5397620b.js → index-c118284d.js} +828 -279
- package/esm/loader.js +3 -2
- package/esm/pn-animated-tile.entry.js +5 -5
- package/esm/pn-bonus-progressbar-level.entry.js +2 -2
- package/esm/pn-bonus-progressbar.entry.js +2 -2
- package/esm/pn-breakpoints.entry.js +2 -2
- package/esm/pn-chart.entry.js +3 -2
- package/esm/pn-charts-card.entry.js +10 -3
- package/esm/pn-choice-button.entry.js +5 -2
- package/esm/pn-customernumber-selector-option.entry.js +2 -2
- package/esm/pn-customernumber-selector.entry.js +2 -2
- package/esm/pn-filter-checkbox.entry.js +5 -2
- package/esm/pn-find-price-result.entry.js +7 -4
- package/esm/{pn-find-price-store-bde5071d.js → pn-find-price-store-e13b6651.js} +1 -1
- package/esm/pn-find-price.entry.js +4 -4
- package/esm/pn-find-service-and-price-result.entry.js +4 -4
- package/esm/{pn-find-service-and-price-store-65df46a0.js → pn-find-service-and-price-store-f09ca219.js} +1 -1
- package/esm/pn-find-service-and-price.entry.js +4 -4
- package/esm/pn-language-selector_9.entry.js +18 -42
- package/esm/pn-line-shape.entry.js +2 -2
- package/esm/pn-mainnav-link.entry.js +4 -10
- package/esm/pn-mainnav-store-5d91f523.js +17 -0
- package/esm/pn-market-web-components.js +3 -2
- package/esm/pn-marketweb-input.entry.js +2 -7
- package/esm/pn-marketweb-search.entry.js +2 -6
- package/esm/pn-marketweb-sitefooter.entry.js +10 -15
- package/esm/pn-marketweb-siteheader-login-button_5.entry.js +12 -10
- package/esm/pn-marketweb-siteheader-login-linklist.entry.js +4 -4
- package/esm/{pn-marketweb-siteheader-store-cd0a1dab.js → pn-marketweb-siteheader-store-9df5290d.js} +1 -1
- package/esm/pn-marketweb-siteheader.entry.js +10 -38
- package/esm/pn-multi-formfield.entry.js +10 -10
- package/esm/pn-parcel-tracker.entry.js +2 -2
- package/esm/pn-pex-pricefinder.entry.js +2 -5
- package/esm/pn-product-card_3.entry.js +15 -4
- package/esm/pn-product-pricelist-result.entry.js +3 -3
- package/esm/pn-product-pricelist.entry.js +4 -4
- package/esm/pn-product-tile-info_2.entry.js +10 -3
- package/esm/pn-product-tile.entry.js +2 -2
- package/esm/pn-profile-modal-customernumber.entry.js +2 -2
- package/esm/pn-profile-modal-profile.entry.js +4 -4
- package/esm/pn-profile-modal-store-81f53310.js +15 -0
- package/esm/pn-profile-modal-type.entry.js +4 -4
- package/esm/pn-profile-modal.entry.js +4 -4
- package/esm/pn-profile-selector-option.entry.js +2 -2
- package/esm/pn-profile-selector.entry.js +5 -5
- package/esm/pn-proxio-findprice-result.entry.js +5 -2
- package/esm/pn-proxio-findprice.entry.js +4 -4
- package/esm/pn-proxio-pricegroup.entry.js +3 -5
- package/esm/pn-proxio-productcard_4.entry.js +12 -5
- package/esm/pn-quick-cta.entry.js +2 -2
- package/esm/pn-quote-card.entry.js +2 -3
- package/esm/pn-scroll.entry.js +2 -2
- package/esm/pn-share-item.entry.js +2 -2
- package/esm/pn-share.entry.js +3 -2
- package/esm/pn-sidenav-level.entry.js +4 -4
- package/esm/pn-sidenav-link.entry.js +4 -12
- package/esm/pn-sidenav-store-94be19c8.js +14 -0
- package/esm/pn-sidenav-togglebutton.entry.js +4 -5
- package/esm/pn-sidenav.entry.js +4 -6
- package/esm/pn-site-footer_2.entry.js +3 -4
- package/esm/pn-spotlight.entry.js +2 -2
- package/esm/pn-stats-info-data.entry.js +8 -8
- package/esm/pn-stats-info.entry.js +3 -2
- package/esm/pn-teaser-card.entry.js +3 -4
- package/esm/pn-titletag.entry.js +2 -4
- package/esm/polyfills/css-shim.js +1 -1
- package/esm-es5/MarketWebContextService-3ed3fe80.js +1 -1
- package/esm-es5/convert-f6377d13.js +1 -1
- package/esm-es5/{index-7b21ecff.js → index-7f77b0ba.js} +1 -1
- package/esm-es5/index-c118284d.js +1 -0
- package/esm-es5/loader.js +1 -1
- package/esm-es5/pn-animated-tile.entry.js +1 -1
- package/esm-es5/pn-bonus-progressbar-level.entry.js +1 -1
- package/esm-es5/pn-bonus-progressbar.entry.js +1 -1
- package/esm-es5/pn-breakpoints.entry.js +1 -1
- package/esm-es5/pn-chart.entry.js +2 -2
- package/esm-es5/pn-charts-card.entry.js +1 -1
- package/esm-es5/pn-choice-button.entry.js +1 -1
- package/esm-es5/pn-customernumber-selector-option.entry.js +1 -1
- package/esm-es5/pn-customernumber-selector.entry.js +1 -1
- package/esm-es5/pn-filter-checkbox.entry.js +1 -1
- package/esm-es5/pn-find-price-result.entry.js +1 -1
- package/esm-es5/{pn-find-price-store-bde5071d.js → pn-find-price-store-e13b6651.js} +1 -1
- package/esm-es5/pn-find-price.entry.js +1 -1
- package/esm-es5/pn-find-service-and-price-result.entry.js +1 -1
- package/esm-es5/{pn-find-service-and-price-store-65df46a0.js → pn-find-service-and-price-store-f09ca219.js} +1 -1
- package/esm-es5/pn-find-service-and-price.entry.js +1 -1
- package/esm-es5/pn-language-selector_9.entry.js +1 -1
- package/esm-es5/pn-line-shape.entry.js +1 -1
- package/esm-es5/pn-mainnav-link.entry.js +1 -1
- package/esm-es5/{pn-mainnav-store-28571e54.js → pn-mainnav-store-5d91f523.js} +1 -1
- package/esm-es5/pn-market-web-components.js +1 -1
- package/esm-es5/pn-marketweb-input.entry.js +1 -1
- package/esm-es5/pn-marketweb-search.entry.js +1 -1
- package/esm-es5/pn-marketweb-sitefooter.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader-login-button_5.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader-login-linklist.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader-store-9df5290d.js +1 -0
- package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
- package/esm-es5/pn-multi-formfield.entry.js +1 -1
- package/esm-es5/pn-parcel-tracker.entry.js +1 -1
- package/esm-es5/pn-pex-pricefinder.entry.js +1 -1
- package/esm-es5/pn-product-card_3.entry.js +1 -1
- package/esm-es5/pn-product-pricelist-result.entry.js +1 -1
- package/esm-es5/pn-product-pricelist.entry.js +1 -1
- package/esm-es5/pn-product-tile-info_2.entry.js +1 -1
- package/esm-es5/pn-product-tile.entry.js +1 -1
- package/esm-es5/pn-profile-modal-customernumber.entry.js +1 -1
- package/esm-es5/pn-profile-modal-profile.entry.js +1 -1
- package/esm-es5/{pn-profile-modal-store-ae9e0d5a.js → pn-profile-modal-store-81f53310.js} +1 -1
- package/esm-es5/pn-profile-modal-type.entry.js +1 -1
- package/esm-es5/pn-profile-modal.entry.js +1 -1
- package/esm-es5/pn-profile-selector-option.entry.js +1 -1
- package/esm-es5/pn-profile-selector.entry.js +1 -1
- package/esm-es5/pn-proxio-findprice-result.entry.js +1 -1
- package/esm-es5/pn-proxio-findprice.entry.js +1 -1
- package/esm-es5/pn-proxio-pricegroup.entry.js +1 -1
- package/esm-es5/pn-proxio-productcard_4.entry.js +1 -1
- package/esm-es5/pn-quick-cta.entry.js +1 -1
- package/esm-es5/pn-quote-card.entry.js +1 -1
- package/esm-es5/pn-scroll.entry.js +1 -1
- package/esm-es5/pn-share-item.entry.js +1 -1
- package/esm-es5/pn-share.entry.js +1 -1
- package/esm-es5/pn-sidenav-level.entry.js +1 -1
- package/esm-es5/pn-sidenav-link.entry.js +1 -1
- package/esm-es5/{pn-sidenav-store-50b186d6.js → pn-sidenav-store-94be19c8.js} +1 -1
- package/esm-es5/pn-sidenav-togglebutton.entry.js +1 -1
- package/esm-es5/pn-sidenav.entry.js +1 -1
- package/esm-es5/pn-site-footer_2.entry.js +1 -1
- package/esm-es5/pn-spotlight.entry.js +1 -1
- package/esm-es5/pn-stats-info-data.entry.js +1 -1
- package/esm-es5/pn-stats-info.entry.js +1 -1
- package/esm-es5/pn-teaser-card.entry.js +1 -1
- package/esm-es5/pn-titletag.entry.js +1 -1
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +21 -0
- package/loader/index.es2017.js +3 -0
- package/{umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/es5-html-element.js → loader/index.js} +4 -1
- package/loader/package.json +11 -0
- package/package.json +7 -5
- package/pn-market-web-components/{p-3d05a6c1.system.entry.js → p-0159804c.system.entry.js} +1 -1
- package/pn-market-web-components/{p-13baed17.system.entry.js → p-02632961.system.entry.js} +1 -1
- package/pn-market-web-components/p-0f1115aa.entry.js +1 -0
- package/pn-market-web-components/p-0fbcacf3.system.entry.js +1 -0
- package/pn-market-web-components/p-12f461db.entry.js +1 -0
- package/pn-market-web-components/{p-3738a2df.system.js → p-13d2d138.system.js} +1 -1
- package/pn-market-web-components/p-14d288d5.entry.js +1 -0
- package/pn-market-web-components/p-1545fb34.entry.js +1 -0
- package/pn-market-web-components/p-156fedd7.entry.js +1 -0
- package/pn-market-web-components/p-15e680a8.entry.js +1 -0
- package/pn-market-web-components/p-1646c170.system.entry.js +1 -0
- package/pn-market-web-components/p-17fb8d9e.entry.js +1 -0
- package/pn-market-web-components/p-186266ae.system.entry.js +1 -0
- package/pn-market-web-components/p-18abec91.entry.js +1 -0
- package/pn-market-web-components/p-1a064ded.entry.js +1 -0
- package/pn-market-web-components/p-1a9b2a0e.system.entry.js +1 -0
- package/pn-market-web-components/p-1c382898.entry.js +1 -0
- package/pn-market-web-components/{p-fc1083d2.system.entry.js → p-1d50340b.system.entry.js} +1 -1
- package/pn-market-web-components/p-1d9de480.system.entry.js +1 -0
- package/pn-market-web-components/{p-1ce871c5.system.entry.js → p-1fb4eae4.system.entry.js} +1 -1
- package/pn-market-web-components/{p-80dce81e.system.entry.js → p-2145d5e0.system.entry.js} +1 -1
- package/pn-market-web-components/{p-a1cf4618.system.entry.js → p-2844f3b2.system.entry.js} +1 -1
- package/pn-market-web-components/{p-8e890ab1.system.entry.js → p-29d0ec91.system.entry.js} +1 -1
- package/pn-market-web-components/p-2a5cd298.entry.js +1 -0
- package/pn-market-web-components/{p-c9fb0f01.system.entry.js → p-2e507907.system.entry.js} +2 -2
- package/pn-market-web-components/p-31b703f9.entry.js +1 -0
- package/pn-market-web-components/p-34c0b146.entry.js +1 -0
- package/pn-market-web-components/p-368dbf3c.system.entry.js +1 -0
- package/pn-market-web-components/p-37d26cef.entry.js +1 -0
- package/pn-market-web-components/p-38f135fd.entry.js +1 -0
- package/pn-market-web-components/{p-a5f75560.system.js → p-396b254a.system.js} +1 -1
- package/pn-market-web-components/{p-94958580.system.js → p-3a450371.system.js} +1 -1
- package/pn-market-web-components/p-3d8925bd.entry.js +1 -0
- package/pn-market-web-components/p-3d89445b.entry.js +1 -0
- package/pn-market-web-components/{p-add7d76c.system.js → p-441249d9.system.js} +1 -1
- package/pn-market-web-components/p-44c05fba.entry.js +1 -0
- package/pn-market-web-components/p-44f58f15.js +1 -0
- package/pn-market-web-components/p-47d717a3.entry.js +1 -0
- package/pn-market-web-components/p-48c74c53.entry.js +1 -0
- package/pn-market-web-components/p-49f60496.entry.js +1 -0
- package/pn-market-web-components/p-4b2e76e9.entry.js +1 -0
- package/pn-market-web-components/{p-7079df88.system.entry.js → p-4d561de4.system.entry.js} +1 -1
- package/pn-market-web-components/p-4ef54288.entry.js +1 -0
- package/pn-market-web-components/p-507f8886.entry.js +1 -0
- package/pn-market-web-components/p-530be6fe.entry.js +1 -0
- package/pn-market-web-components/p-54544560.system.entry.js +1 -0
- package/pn-market-web-components/{p-74d35edf.system.entry.js → p-545a40a7.system.entry.js} +1 -1
- package/pn-market-web-components/p-5521aeaa.entry.js +1 -0
- package/pn-market-web-components/{p-4a03854b.system.entry.js → p-589a9a4c.system.entry.js} +1 -1
- package/pn-market-web-components/p-59024d31.entry.js +1 -0
- package/pn-market-web-components/{p-c62a91ba.system.entry.js → p-5a41c1bb.system.entry.js} +1 -1
- package/pn-market-web-components/{p-723b9901.system.entry.js → p-5a506356.system.entry.js} +1 -1
- package/pn-market-web-components/p-5a6761da.js +1 -0
- package/pn-market-web-components/p-5e768b73.entry.js +1 -0
- package/pn-market-web-components/{p-f782ce94.system.entry.js → p-658f6ff7.system.entry.js} +1 -1
- package/pn-market-web-components/{p-8117b79e.system.entry.js → p-68324e6f.system.entry.js} +1 -1
- package/pn-market-web-components/{p-9c3de760.system.entry.js → p-6a4ae9af.system.entry.js} +1 -1
- package/pn-market-web-components/p-6b5ff47f.entry.js +1 -0
- package/pn-market-web-components/{p-7b9fb94f.system.entry.js → p-6d050c3a.system.entry.js} +1 -1
- package/pn-market-web-components/{p-02ea55ad.system.js → p-6f1d6a1a.system.js} +1 -1
- package/pn-market-web-components/p-73ee3141.entry.js +1 -0
- package/pn-market-web-components/{p-ecf712bb.system.entry.js → p-752616b7.system.entry.js} +1 -1
- package/pn-market-web-components/p-7620beb6.entry.js +1 -0
- package/pn-market-web-components/p-773b59c0.entry.js +24 -0
- package/pn-market-web-components/p-7c1b31e8.js +2 -0
- package/pn-market-web-components/p-7d992089.entry.js +1 -0
- package/pn-market-web-components/p-7dff99ed.entry.js +1 -0
- package/pn-market-web-components/p-8079dfd5.system.entry.js +1 -0
- package/pn-market-web-components/p-82db879c.entry.js +1 -0
- package/pn-market-web-components/p-833bab34.entry.js +1 -0
- package/pn-market-web-components/{p-290d5824.system.entry.js → p-853e6559.system.entry.js} +1 -1
- package/pn-market-web-components/{p-f58bde56.js → p-8666d14d.js} +1 -1
- package/pn-market-web-components/p-8766fa86.system.js +1 -1
- package/pn-market-web-components/p-87fd21d8.entry.js +1 -0
- package/pn-market-web-components/{p-054f8b3a.system.entry.js → p-8805bc30.system.entry.js} +1 -1
- package/pn-market-web-components/{p-086a72ca.system.entry.js → p-893a4a26.system.entry.js} +1 -1
- package/pn-market-web-components/{p-450cbe76.system.entry.js → p-8ca063a9.system.entry.js} +1 -1
- package/pn-market-web-components/{p-9edaf6b6.system.entry.js → p-8cefd900.system.entry.js} +1 -1
- package/pn-market-web-components/p-8e62ef84.system.entry.js +1 -0
- package/pn-market-web-components/p-8f32fa2b.system.entry.js +1 -0
- package/pn-market-web-components/{p-58a57436.system.entry.js → p-8fee0115.system.entry.js} +1 -1
- package/pn-market-web-components/{p-aa271997.system.entry.js → p-9010c32a.system.entry.js} +1 -1
- package/pn-market-web-components/{p-f312ff98.system.entry.js → p-939b5792.system.entry.js} +1 -1
- package/pn-market-web-components/p-97564852.entry.js +1 -0
- package/pn-market-web-components/p-9a1c267d.entry.js +1 -0
- package/pn-market-web-components/p-9ed7a18f.entry.js +1 -0
- package/pn-market-web-components/{p-4f67721e.system.entry.js → p-9f95b3c9.system.entry.js} +1 -1
- package/pn-market-web-components/{p-0cacf9fb.js → p-a1a58fe4.js} +1 -1
- package/pn-market-web-components/p-a5faec68.system.js +2 -0
- package/pn-market-web-components/p-a799fee1.entry.js +1 -0
- package/pn-market-web-components/p-aaa94bee.system.entry.js +1 -0
- package/pn-market-web-components/{p-2718b89a.system.entry.js → p-abfed655.system.entry.js} +1 -1
- package/pn-market-web-components/p-ac62dc33.entry.js +1 -0
- package/pn-market-web-components/p-ad1f57dc.entry.js +1 -0
- package/pn-market-web-components/{p-dbe032f7.system.js → p-ad836c55.system.js} +1 -1
- package/pn-market-web-components/p-b0102ff6.entry.js +1 -0
- package/pn-market-web-components/{p-625fb7fb.system.entry.js → p-b890f3f9.system.entry.js} +1 -1
- package/pn-market-web-components/{p-d790293c.system.entry.js → p-bab17118.system.entry.js} +1 -1
- package/pn-market-web-components/p-bdd1ec55.entry.js +1 -0
- package/pn-market-web-components/p-beefd9f7.entry.js +1 -0
- package/pn-market-web-components/p-bfe239ca.js +1 -1
- package/pn-market-web-components/p-c0db1ffd.js +1 -0
- package/pn-market-web-components/p-c1d9a064.entry.js +1 -0
- package/pn-market-web-components/{p-84699999.js → p-c5727e83.js} +1 -1
- package/pn-market-web-components/{p-447ef543.system.entry.js → p-c576ac3e.system.entry.js} +1 -1
- package/pn-market-web-components/p-c668f453.entry.js +1 -0
- package/pn-market-web-components/p-cb53b67f.system.js +1 -1
- package/pn-market-web-components/{p-879c0887.system.entry.js → p-cccb53f2.system.entry.js} +1 -1
- package/pn-market-web-components/p-d295ef71.system.js +1 -0
- package/pn-market-web-components/{p-825b8fb8.system.js → p-d34c9be2.system.js} +1 -1
- package/pn-market-web-components/p-d3c1d6f0.entry.js +1 -0
- package/pn-market-web-components/p-d5ae9797.entry.js +1 -0
- package/pn-market-web-components/p-d6ee168b.system.entry.js +1 -0
- package/pn-market-web-components/p-d70e685c.entry.js +1 -0
- package/pn-market-web-components/p-dbd7837e.entry.js +1 -0
- package/pn-market-web-components/p-dc598ef8.entry.js +1 -0
- package/pn-market-web-components/p-dce8a335.system.entry.js +1 -0
- package/pn-market-web-components/p-e0e45eb0.system.entry.js +1 -0
- package/pn-market-web-components/p-e2abebd7.entry.js +1 -0
- package/pn-market-web-components/{p-36a1b8e1.system.entry.js → p-e4961116.system.entry.js} +1 -1
- package/pn-market-web-components/p-e4fbd06c.entry.js +1 -0
- package/pn-market-web-components/p-e54c80d8.system.entry.js +1 -0
- package/pn-market-web-components/{p-93cecc43.system.entry.js → p-e737c51d.system.entry.js} +1 -1
- package/pn-market-web-components/p-e7f43cc2.entry.js +1 -0
- package/pn-market-web-components/{p-86f06e26.js → p-ecaad0c1.js} +1 -1
- package/pn-market-web-components/p-ed5e91eb.system.entry.js +1 -0
- package/pn-market-web-components/{p-e6fa11ad.system.entry.js → p-ef721555.system.entry.js} +1 -1
- package/pn-market-web-components/{p-41220f82.system.entry.js → p-f2817445.system.entry.js} +1 -1
- package/pn-market-web-components/{p-1151bf60.system.entry.js → p-f7cb2ef9.system.entry.js} +1 -1
- package/pn-market-web-components/{p-a864fbed.system.entry.js → p-fca11f16.system.entry.js} +1 -1
- package/pn-market-web-components/{p-47f4f5b5.system.entry.js → p-fe0d832d.system.entry.js} +1 -1
- package/pn-market-web-components/{p-b88337dd.system.entry.js → p-ffe18938.system.entry.js} +1 -1
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/pn-market-web-components/pn-market-web-components.js +2 -1
- package/types/components.d.ts +58 -22
- package/types/stencil-public-runtime.d.ts +79 -7
- package/custom-elements/index.d.ts +0 -489
- package/custom-elements/index.js +0 -30532
- package/esm-es5/index-5397620b.js +0 -1
- package/esm-es5/pn-marketweb-siteheader-store-cd0a1dab.js +0 -1
- package/pn-market-web-components/p-0796f9b2.entry.js +0 -1
- package/pn-market-web-components/p-07ca420d.entry.js +0 -1
- package/pn-market-web-components/p-138b1e76.entry.js +0 -1
- package/pn-market-web-components/p-15112837.entry.js +0 -1
- package/pn-market-web-components/p-16c4bc50.entry.js +0 -1
- package/pn-market-web-components/p-17c4004f.entry.js +0 -1
- package/pn-market-web-components/p-1ca41ab1.entry.js +0 -1
- package/pn-market-web-components/p-21c01c47.entry.js +0 -1
- package/pn-market-web-components/p-227e1d46.entry.js +0 -1
- package/pn-market-web-components/p-2da8e5e8.system.entry.js +0 -1
- package/pn-market-web-components/p-2e2dfb79.entry.js +0 -1
- package/pn-market-web-components/p-2e3bde56.entry.js +0 -1
- package/pn-market-web-components/p-3343610e.entry.js +0 -1
- package/pn-market-web-components/p-35fcd76c.system.entry.js +0 -1
- package/pn-market-web-components/p-36654f2a.system.js +0 -1
- package/pn-market-web-components/p-381b3ec0.entry.js +0 -1
- package/pn-market-web-components/p-381c034b.entry.js +0 -1
- package/pn-market-web-components/p-3969ec4d.entry.js +0 -1
- package/pn-market-web-components/p-397514bc.system.entry.js +0 -1
- package/pn-market-web-components/p-3f4a0538.entry.js +0 -1
- package/pn-market-web-components/p-468025b2.system.entry.js +0 -1
- package/pn-market-web-components/p-479b970a.entry.js +0 -1
- package/pn-market-web-components/p-499bb3ac.entry.js +0 -1
- package/pn-market-web-components/p-4bef1bf3.entry.js +0 -1
- package/pn-market-web-components/p-4de40b15.entry.js +0 -1
- package/pn-market-web-components/p-557328e3.system.entry.js +0 -1
- package/pn-market-web-components/p-5776275b.entry.js +0 -1
- package/pn-market-web-components/p-58e8d7d5.js +0 -1
- package/pn-market-web-components/p-5f0acbbd.entry.js +0 -1
- package/pn-market-web-components/p-61dbe832.entry.js +0 -1
- package/pn-market-web-components/p-67380aa4.entry.js +0 -1
- package/pn-market-web-components/p-67887512.system.js +0 -1
- package/pn-market-web-components/p-6f28cfba.entry.js +0 -1
- package/pn-market-web-components/p-715d1ef7.entry.js +0 -1
- package/pn-market-web-components/p-77c907d9.entry.js +0 -1
- package/pn-market-web-components/p-7ce41d14.entry.js +0 -1
- package/pn-market-web-components/p-81d764a0.entry.js +0 -1
- package/pn-market-web-components/p-861def61.entry.js +0 -1
- package/pn-market-web-components/p-88185835.entry.js +0 -1
- package/pn-market-web-components/p-885bc8d7.system.entry.js +0 -1
- package/pn-market-web-components/p-8b684578.entry.js +0 -1
- package/pn-market-web-components/p-8e146205.entry.js +0 -1
- package/pn-market-web-components/p-8e4d292f.entry.js +0 -1
- package/pn-market-web-components/p-8f1b7c70.system.entry.js +0 -1
- package/pn-market-web-components/p-906719be.system.entry.js +0 -1
- package/pn-market-web-components/p-91c5cd79.entry.js +0 -1
- package/pn-market-web-components/p-9344cd23.js +0 -1
- package/pn-market-web-components/p-93d454ea.entry.js +0 -1
- package/pn-market-web-components/p-951861fa.entry.js +0 -1
- package/pn-market-web-components/p-98a7ddd1.system.entry.js +0 -1
- package/pn-market-web-components/p-996d8a6a.entry.js +0 -1
- package/pn-market-web-components/p-9b855b11.entry.js +0 -24
- package/pn-market-web-components/p-9c2c1aa2.entry.js +0 -1
- package/pn-market-web-components/p-a247058b.system.entry.js +0 -1
- package/pn-market-web-components/p-a5171cb9.system.entry.js +0 -1
- package/pn-market-web-components/p-a7bb94a0.entry.js +0 -1
- package/pn-market-web-components/p-a921d3fd.system.entry.js +0 -1
- package/pn-market-web-components/p-b1474b9e.entry.js +0 -1
- package/pn-market-web-components/p-b9a84e67.entry.js +0 -1
- package/pn-market-web-components/p-bb4f0673.system.entry.js +0 -1
- package/pn-market-web-components/p-bb626ab4.js +0 -1
- package/pn-market-web-components/p-bd22aaac.entry.js +0 -1
- package/pn-market-web-components/p-c2e55f38.entry.js +0 -1
- package/pn-market-web-components/p-c5179a9b.system.entry.js +0 -1
- package/pn-market-web-components/p-c714a790.entry.js +0 -1
- package/pn-market-web-components/p-d0155ddf.entry.js +0 -1
- package/pn-market-web-components/p-d7e3d918.entry.js +0 -1
- package/pn-market-web-components/p-e32dc098.entry.js +0 -1
- package/pn-market-web-components/p-e9576f26.entry.js +0 -1
- package/pn-market-web-components/p-e9fe5c54.entry.js +0 -1
- package/pn-market-web-components/p-ecdf2b69.system.entry.js +0 -1
- package/pn-market-web-components/p-ee589138.entry.js +0 -1
- package/pn-market-web-components/p-f008015e.system.entry.js +0 -1
- package/pn-market-web-components/p-f61342c3.js +0 -1
- package/pn-market-web-components/p-f774e2cc.entry.js +0 -1
- package/pn-market-web-components/p-f82c5d08.entry.js +0 -1
- package/pn-market-web-components/p-fc974bca.entry.js +0 -1
- package/pn-market-web-components/p-fea72975.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/LICENSE.md +0 -27
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/bin/stencil +0 -57
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/config-flags.d.ts +0 -122
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.cjs +0 -2609
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.d.ts +0 -19
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.js +0 -2583
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/package.json +0 -14
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.d.ts +0 -24
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.dom.d.ts +0 -18505
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.dom.iterable.d.ts +0 -341
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.collection.d.ts +0 -150
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.core.d.ts +0 -559
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.d.ts +0 -30
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.generator.d.ts +0 -79
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.iterable.d.ts +0 -498
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.promise.d.ts +0 -83
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.proxy.d.ts +0 -130
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.reflect.d.ts +0 -146
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.symbol.d.ts +0 -48
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.symbol.wellknown.d.ts +0 -324
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2016.array.include.d.ts +0 -118
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2016.d.ts +0 -22
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2016.full.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.d.ts +0 -26
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.full.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.intl.d.ts +0 -47
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.object.d.ts +0 -51
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.sharedmemory.d.ts +0 -137
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.string.d.ts +0 -47
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.typedarrays.d.ts +0 -55
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.asyncgenerator.d.ts +0 -79
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.asynciterable.d.ts +0 -45
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.d.ts +0 -26
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.full.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.intl.d.ts +0 -73
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.promise.d.ts +0 -32
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.regexp.d.ts +0 -39
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.array.d.ts +0 -85
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.d.ts +0 -26
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.full.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.intl.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.object.d.ts +0 -35
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.string.d.ts +0 -39
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.symbol.d.ts +0 -26
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.bigint.d.ts +0 -730
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.d.ts +0 -29
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.date.d.ts +0 -44
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.full.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.intl.d.ts +0 -433
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.number.d.ts +0 -30
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.promise.d.ts +0 -49
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.sharedmemory.d.ts +0 -99
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.string.d.ts +0 -30
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.symbol.wellknown.d.ts +0 -39
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.full.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.intl.d.ts +0 -154
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.promise.d.ts +0 -50
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.string.d.ts +0 -35
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.weakref.d.ts +0 -75
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.array.d.ts +0 -123
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.d.ts +0 -27
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.error.d.ts +0 -75
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.full.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.intl.d.ts +0 -111
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.object.d.ts +0 -28
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.sharedmemory.d.ts +0 -27
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.string.d.ts +0 -27
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es5.d.ts +0 -4526
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es6.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.d.ts +0 -22
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.full.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.intl.d.ts +0 -30
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.promise.d.ts +0 -43
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.string.d.ts +0 -35
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.weakref.d.ts +0 -75
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.scripthost.d.ts +0 -327
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.webworker.d.ts +0 -6192
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.webworker.importscripts.d.ts +0 -26
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.webworker.iterable.d.ts +0 -175
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/package.json +0 -8
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.d.ts +0 -73
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.js +0 -70673
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.min.js +0 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/sys/in-memory-fs.d.ts +0 -218
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/transpile.d.ts +0 -32
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dependencies.json +0 -120
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/app-error.d.ts +0 -18
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/events.d.ts +0 -6
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-components.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-external-styles.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-images.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-inline-styles.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-util.d.ts +0 -9
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-window.d.ts +0 -10
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/index.d.ts +0 -6
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/index.js +0 -808
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/logger.d.ts +0 -5
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/package.json +0 -8
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/progress.d.ts +0 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/status.d.ts +0 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/test/hmr-util.spec.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/test/status.spec.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/connector.html +0 -6
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/index.d.ts +0 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/index.js +0 -264
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/open-in-editor-api.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/package.json +0 -8
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/server-process.js +0 -1799
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/server-worker-thread.js +0 -39
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/static/favicon.ico +0 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/templates/directory-index.html +0 -132
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/templates/initial-load.html +0 -160
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/visualstudio.vbs +0 -82
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/ws.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/xdg-open +0 -1066
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/index.cjs +0 -92
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/index.d.ts +0 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/index.js +0 -88
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/package.json +0 -15
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/css-shim.js +0 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/dom.js +0 -73
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/index.js +0 -3371
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/package.json +0 -8
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/patch-browser.js +0 -142
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/patch-esm.js +0 -23
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/core-js.js +0 -11
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/css-shim.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/dom.js +0 -79
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/index.js +0 -34
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/system.js +0 -6
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/shadow-css.js +0 -387
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/index.js +0 -1143
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/package.json +0 -7
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/runner.d.ts +0 -217
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/runner.js +0 -777
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/shadow-css.js +0 -143
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/index.d.ts +0 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/index.js +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/package.json +0 -9
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.cjs +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.d.ts +0 -51
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.js +0 -16
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-ext-modules.d.ts +0 -41
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-private.d.ts +0 -2268
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-compiler.d.ts +0 -2338
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-docs.d.ts +0 -140
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-runtime.d.ts +0 -1637
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/index.js +0 -1105
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/package.json +0 -7
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/shadow-css.js +0 -143
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.cjs +0 -4858
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.d.ts +0 -1020
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.js +0 -4822
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/package.json +0 -15
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/package.json +0 -190
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/readme.md +0 -99
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/assets/favicon.ico +0 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/assets/logo.png +0 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/app.css +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/app.esm.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/app.js +0 -33
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/index.esm.js +0 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-081b0641.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-227a1e18.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-2c298727.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-5479268c.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-573ec8a4.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-6ba08604.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-6bc63295.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-7a3759fd.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-7b4e3ba7.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-988eb362.css +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-9b6a9315.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-b4cc611c.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-d1bf53f5.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-e2efe0df.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-e8ca6d97.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-ec2f13e0.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-f0b99977.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-f4745c2f.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-fbbae598.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/host.config.json +0 -15
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/index.html +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/manifest.json +0 -13
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/connector.js +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/index.js +0 -661
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/local-connector.js +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/package.json +0 -15
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/pixel-match.js +0 -2807
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/autoprefixer.js +0 -8
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/glob.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/graceful-fs.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/index.d.ts +0 -22
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/index.js +0 -6121
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/node-fetch.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/package.json +0 -8
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/prompts.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/worker.js +0 -52
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/index.d.ts +0 -12
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/index.js +0 -4155
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-config.d.ts +0 -16
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-environment.d.ts +0 -15
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-preprocessor.d.ts +0 -59
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-runner.d.ts +0 -10
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-screenshot.d.ts +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-serializer.d.ts +0 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-setup-test-framework.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-config.spec.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-preprocessor.spec.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-runner.spec.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-serializer.spec.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-environment.js +0 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-preprocessor.js +0 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-preset.js +0 -37
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-runner.js +0 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-setuptestframework.js +0 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/attributes.d.ts +0 -14
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/class-list.d.ts +0 -12
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/events.d.ts +0 -21
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/html.d.ts +0 -12
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/index.d.ts +0 -23
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/screenshot.d.ts +0 -5
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/text.d.ts +0 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/mock-fetch.d.ts +0 -11
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/mocks.d.ts +0 -56
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/package.json +0 -8
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/index.d.ts +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-browser.d.ts +0 -6
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-declarations.d.ts +0 -429
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-element.d.ts +0 -67
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-emulate.d.ts +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-events.d.ts +0 -21
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-page.d.ts +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-screenshot.d.ts +0 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/reset-build-conditionals.d.ts +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/spec-page.d.ts +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/test/testing-utils.spec.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/test-transpile.d.ts +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing-logger.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing-sys.d.ts +0 -6
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing-utils.d.ts +0 -79
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing.d.ts +0 -2
- /package/{custom-elements → components}/mockresponse.js +0 -0
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "Screenshot",
|
|
3
|
-
"short_name": "Screenshot",
|
|
4
|
-
"start_url": "/",
|
|
5
|
-
"display": "standalone",
|
|
6
|
-
"icons": [{
|
|
7
|
-
"src": "/assets/favicon.ico",
|
|
8
|
-
"sizes": "192x192",
|
|
9
|
-
"type": "image/x-icon"
|
|
10
|
-
}],
|
|
11
|
-
"background_color": "#488aff",
|
|
12
|
-
"theme_color": "#488aff"
|
|
13
|
-
}
|
|
@@ -1,661 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const os = require('os');
|
|
4
|
-
const path = require('path');
|
|
5
|
-
const fs = require('fs');
|
|
6
|
-
|
|
7
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
|
-
|
|
9
|
-
const path__default = /*#__PURE__*/_interopDefaultLegacy(path);
|
|
10
|
-
const fs__default = /*#__PURE__*/_interopDefaultLegacy(fs);
|
|
11
|
-
|
|
12
|
-
function fileExists(filePath) {
|
|
13
|
-
return new Promise((resolve) => {
|
|
14
|
-
fs__default['default'].access(filePath, (err) => resolve(!err));
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
function readFile(filePath) {
|
|
18
|
-
return new Promise((resolve, reject) => {
|
|
19
|
-
fs__default['default'].readFile(filePath, 'utf-8', (err, data) => {
|
|
20
|
-
if (err) {
|
|
21
|
-
reject(err);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
resolve(data);
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
function readFileBuffer(filePath) {
|
|
30
|
-
return new Promise((resolve, reject) => {
|
|
31
|
-
fs__default['default'].readFile(filePath, (err, data) => {
|
|
32
|
-
if (err) {
|
|
33
|
-
reject(err);
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
resolve(data);
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
function writeFile(filePath, data) {
|
|
42
|
-
return new Promise((resolve, reject) => {
|
|
43
|
-
fs__default['default'].writeFile(filePath, data, (err) => {
|
|
44
|
-
if (err) {
|
|
45
|
-
reject(err);
|
|
46
|
-
}
|
|
47
|
-
else {
|
|
48
|
-
resolve();
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
function mkDir(filePath) {
|
|
54
|
-
return new Promise((resolve) => {
|
|
55
|
-
fs__default['default'].mkdir(filePath, () => {
|
|
56
|
-
resolve();
|
|
57
|
-
});
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
function rmDir(filePath) {
|
|
61
|
-
return new Promise((resolve) => {
|
|
62
|
-
fs__default['default'].rmdir(filePath, () => {
|
|
63
|
-
resolve();
|
|
64
|
-
});
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
async function emptyDir(dir) {
|
|
68
|
-
const files = await readDir(dir);
|
|
69
|
-
const promises = files.map(async (fileName) => {
|
|
70
|
-
const filePath = path__default['default'].join(dir, fileName);
|
|
71
|
-
const isDirFile = await isFile(filePath);
|
|
72
|
-
if (isDirFile) {
|
|
73
|
-
await unlink(filePath);
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
await Promise.all(promises);
|
|
77
|
-
}
|
|
78
|
-
async function readDir(dir) {
|
|
79
|
-
return new Promise((resolve) => {
|
|
80
|
-
fs__default['default'].readdir(dir, (err, files) => {
|
|
81
|
-
if (err) {
|
|
82
|
-
resolve([]);
|
|
83
|
-
}
|
|
84
|
-
else {
|
|
85
|
-
resolve(files);
|
|
86
|
-
}
|
|
87
|
-
});
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
async function isFile(itemPath) {
|
|
91
|
-
return new Promise((resolve) => {
|
|
92
|
-
fs__default['default'].stat(itemPath, (err, stat) => {
|
|
93
|
-
if (err) {
|
|
94
|
-
resolve(false);
|
|
95
|
-
}
|
|
96
|
-
else {
|
|
97
|
-
resolve(stat.isFile());
|
|
98
|
-
}
|
|
99
|
-
});
|
|
100
|
-
});
|
|
101
|
-
}
|
|
102
|
-
async function unlink(filePath) {
|
|
103
|
-
return new Promise((resolve) => {
|
|
104
|
-
fs__default['default'].unlink(filePath, () => {
|
|
105
|
-
resolve();
|
|
106
|
-
});
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
class ScreenshotConnector {
|
|
111
|
-
constructor() {
|
|
112
|
-
this.screenshotDirName = 'screenshot';
|
|
113
|
-
this.imagesDirName = 'images';
|
|
114
|
-
this.buildsDirName = 'builds';
|
|
115
|
-
this.masterBuildFileName = 'master.json';
|
|
116
|
-
this.screenshotCacheFileName = 'screenshot-cache.json';
|
|
117
|
-
}
|
|
118
|
-
async initBuild(opts) {
|
|
119
|
-
this.logger = opts.logger;
|
|
120
|
-
this.buildId = opts.buildId;
|
|
121
|
-
this.buildMessage = opts.buildMessage || '';
|
|
122
|
-
this.buildAuthor = opts.buildAuthor;
|
|
123
|
-
this.buildUrl = opts.buildUrl;
|
|
124
|
-
this.previewUrl = opts.previewUrl;
|
|
125
|
-
(this.buildTimestamp = typeof opts.buildTimestamp === 'number' ? opts.buildTimestamp : Date.now()),
|
|
126
|
-
(this.cacheDir = opts.cacheDir);
|
|
127
|
-
this.packageDir = opts.packageDir;
|
|
128
|
-
this.rootDir = opts.rootDir;
|
|
129
|
-
this.appNamespace = opts.appNamespace;
|
|
130
|
-
this.waitBeforeScreenshot = opts.waitBeforeScreenshot;
|
|
131
|
-
this.pixelmatchModulePath = opts.pixelmatchModulePath;
|
|
132
|
-
if (!opts.logger) {
|
|
133
|
-
throw new Error(`logger option required`);
|
|
134
|
-
}
|
|
135
|
-
if (typeof opts.buildId !== 'string') {
|
|
136
|
-
throw new Error(`buildId option required`);
|
|
137
|
-
}
|
|
138
|
-
if (typeof opts.cacheDir !== 'string') {
|
|
139
|
-
throw new Error(`cacheDir option required`);
|
|
140
|
-
}
|
|
141
|
-
if (typeof opts.packageDir !== 'string') {
|
|
142
|
-
throw new Error(`packageDir option required`);
|
|
143
|
-
}
|
|
144
|
-
if (typeof opts.rootDir !== 'string') {
|
|
145
|
-
throw new Error(`rootDir option required`);
|
|
146
|
-
}
|
|
147
|
-
this.updateMaster = !!opts.updateMaster;
|
|
148
|
-
this.allowableMismatchedPixels = opts.allowableMismatchedPixels;
|
|
149
|
-
this.allowableMismatchedRatio = opts.allowableMismatchedRatio;
|
|
150
|
-
this.pixelmatchThreshold = opts.pixelmatchThreshold;
|
|
151
|
-
this.logger.debug(`screenshot build: ${this.buildId}, ${this.buildMessage}, updateMaster: ${this.updateMaster}`);
|
|
152
|
-
this.logger.debug(`screenshot, allowableMismatchedPixels: ${this.allowableMismatchedPixels}, allowableMismatchedRatio: ${this.allowableMismatchedRatio}, pixelmatchThreshold: ${this.pixelmatchThreshold}`);
|
|
153
|
-
if (typeof opts.screenshotDirName === 'string') {
|
|
154
|
-
this.screenshotDirName = opts.screenshotDirName;
|
|
155
|
-
}
|
|
156
|
-
if (typeof opts.imagesDirName === 'string') {
|
|
157
|
-
this.imagesDirName = opts.imagesDirName;
|
|
158
|
-
}
|
|
159
|
-
if (typeof opts.buildsDirName === 'string') {
|
|
160
|
-
this.buildsDirName = opts.buildsDirName;
|
|
161
|
-
}
|
|
162
|
-
this.screenshotDir = path.join(this.rootDir, this.screenshotDirName);
|
|
163
|
-
this.imagesDir = path.join(this.screenshotDir, this.imagesDirName);
|
|
164
|
-
this.buildsDir = path.join(this.screenshotDir, this.buildsDirName);
|
|
165
|
-
this.masterBuildFilePath = path.join(this.buildsDir, this.masterBuildFileName);
|
|
166
|
-
this.screenshotCacheFilePath = path.join(this.cacheDir, this.screenshotCacheFileName);
|
|
167
|
-
this.currentBuildDir = path.join(os.tmpdir(), 'screenshot-build-' + this.buildId);
|
|
168
|
-
this.logger.debug(`screenshotDirPath: ${this.screenshotDir}`);
|
|
169
|
-
this.logger.debug(`imagesDirPath: ${this.imagesDir}`);
|
|
170
|
-
this.logger.debug(`buildsDirPath: ${this.buildsDir}`);
|
|
171
|
-
this.logger.debug(`currentBuildDir: ${this.currentBuildDir}`);
|
|
172
|
-
this.logger.debug(`cacheDir: ${this.cacheDir}`);
|
|
173
|
-
await mkDir(this.screenshotDir);
|
|
174
|
-
await Promise.all([
|
|
175
|
-
mkDir(this.imagesDir),
|
|
176
|
-
mkDir(this.buildsDir),
|
|
177
|
-
mkDir(this.currentBuildDir),
|
|
178
|
-
mkDir(this.cacheDir),
|
|
179
|
-
]);
|
|
180
|
-
}
|
|
181
|
-
async pullMasterBuild() {
|
|
182
|
-
/**/
|
|
183
|
-
}
|
|
184
|
-
async getMasterBuild() {
|
|
185
|
-
let masterBuild = null;
|
|
186
|
-
try {
|
|
187
|
-
masterBuild = JSON.parse(await readFile(this.masterBuildFilePath));
|
|
188
|
-
}
|
|
189
|
-
catch (e) { }
|
|
190
|
-
return masterBuild;
|
|
191
|
-
}
|
|
192
|
-
async completeBuild(masterBuild) {
|
|
193
|
-
const filePaths = (await readDir(this.currentBuildDir))
|
|
194
|
-
.map((f) => path.join(this.currentBuildDir, f))
|
|
195
|
-
.filter((f) => f.endsWith('.json'));
|
|
196
|
-
const screenshots = await Promise.all(filePaths.map(async (f) => JSON.parse(await readFile(f))));
|
|
197
|
-
this.sortScreenshots(screenshots);
|
|
198
|
-
if (!masterBuild) {
|
|
199
|
-
masterBuild = {
|
|
200
|
-
id: this.buildId,
|
|
201
|
-
message: this.buildMessage,
|
|
202
|
-
author: this.buildAuthor,
|
|
203
|
-
url: this.buildUrl,
|
|
204
|
-
previewUrl: this.previewUrl,
|
|
205
|
-
appNamespace: this.appNamespace,
|
|
206
|
-
timestamp: this.buildTimestamp,
|
|
207
|
-
screenshots: screenshots,
|
|
208
|
-
};
|
|
209
|
-
}
|
|
210
|
-
const results = {
|
|
211
|
-
appNamespace: this.appNamespace,
|
|
212
|
-
masterBuild: masterBuild,
|
|
213
|
-
currentBuild: {
|
|
214
|
-
id: this.buildId,
|
|
215
|
-
message: this.buildMessage,
|
|
216
|
-
author: this.buildAuthor,
|
|
217
|
-
url: this.buildUrl,
|
|
218
|
-
previewUrl: this.previewUrl,
|
|
219
|
-
appNamespace: this.appNamespace,
|
|
220
|
-
timestamp: this.buildTimestamp,
|
|
221
|
-
screenshots: screenshots,
|
|
222
|
-
},
|
|
223
|
-
compare: {
|
|
224
|
-
id: `${masterBuild.id}-${this.buildId}`,
|
|
225
|
-
a: {
|
|
226
|
-
id: masterBuild.id,
|
|
227
|
-
message: masterBuild.message,
|
|
228
|
-
author: masterBuild.author,
|
|
229
|
-
url: masterBuild.url,
|
|
230
|
-
previewUrl: masterBuild.previewUrl,
|
|
231
|
-
},
|
|
232
|
-
b: {
|
|
233
|
-
id: this.buildId,
|
|
234
|
-
message: this.buildMessage,
|
|
235
|
-
author: this.buildAuthor,
|
|
236
|
-
url: this.buildUrl,
|
|
237
|
-
previewUrl: this.previewUrl,
|
|
238
|
-
},
|
|
239
|
-
url: null,
|
|
240
|
-
appNamespace: this.appNamespace,
|
|
241
|
-
timestamp: this.buildTimestamp,
|
|
242
|
-
diffs: [],
|
|
243
|
-
},
|
|
244
|
-
};
|
|
245
|
-
results.currentBuild.screenshots.forEach((screenshot) => {
|
|
246
|
-
screenshot.diff.device = screenshot.diff.device || screenshot.diff.userAgent;
|
|
247
|
-
results.compare.diffs.push(screenshot.diff);
|
|
248
|
-
delete screenshot.diff;
|
|
249
|
-
});
|
|
250
|
-
this.sortCompares(results.compare.diffs);
|
|
251
|
-
await emptyDir(this.currentBuildDir);
|
|
252
|
-
await rmDir(this.currentBuildDir);
|
|
253
|
-
return results;
|
|
254
|
-
}
|
|
255
|
-
async publishBuild(results) {
|
|
256
|
-
return results;
|
|
257
|
-
}
|
|
258
|
-
async generateJsonpDataUris(build) {
|
|
259
|
-
if (build && Array.isArray(build.screenshots)) {
|
|
260
|
-
for (let i = 0; i < build.screenshots.length; i++) {
|
|
261
|
-
const screenshot = build.screenshots[i];
|
|
262
|
-
const jsonpFileName = `screenshot_${screenshot.image}.js`;
|
|
263
|
-
const jsonFilePath = path.join(this.cacheDir, jsonpFileName);
|
|
264
|
-
const jsonpExists = await fileExists(jsonFilePath);
|
|
265
|
-
if (!jsonpExists) {
|
|
266
|
-
const imageFilePath = path.join(this.imagesDir, screenshot.image);
|
|
267
|
-
const imageBuf = await readFileBuffer(imageFilePath);
|
|
268
|
-
const jsonpContent = `loadScreenshot("${screenshot.image}","data:image/png;base64,${imageBuf.toString('base64')}");`;
|
|
269
|
-
await writeFile(jsonFilePath, jsonpContent);
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
async getScreenshotCache() {
|
|
275
|
-
return null;
|
|
276
|
-
}
|
|
277
|
-
async updateScreenshotCache(screenshotCache, buildResults) {
|
|
278
|
-
screenshotCache = screenshotCache || {};
|
|
279
|
-
screenshotCache.timestamp = this.buildTimestamp;
|
|
280
|
-
screenshotCache.lastBuildId = this.buildId;
|
|
281
|
-
screenshotCache.size = 0;
|
|
282
|
-
screenshotCache.items = screenshotCache.items || [];
|
|
283
|
-
if (buildResults && buildResults.compare && Array.isArray(buildResults.compare.diffs)) {
|
|
284
|
-
buildResults.compare.diffs.forEach((diff) => {
|
|
285
|
-
if (typeof diff.cacheKey !== 'string') {
|
|
286
|
-
return;
|
|
287
|
-
}
|
|
288
|
-
if (diff.imageA === diff.imageB) {
|
|
289
|
-
// no need to cache identical matches
|
|
290
|
-
return;
|
|
291
|
-
}
|
|
292
|
-
const existingItem = screenshotCache.items.find((i) => i.key === diff.cacheKey);
|
|
293
|
-
if (existingItem) {
|
|
294
|
-
// already have this cached, but update its timestamp
|
|
295
|
-
existingItem.ts = this.buildTimestamp;
|
|
296
|
-
}
|
|
297
|
-
else {
|
|
298
|
-
// add this item to the cache
|
|
299
|
-
screenshotCache.items.push({
|
|
300
|
-
key: diff.cacheKey,
|
|
301
|
-
ts: this.buildTimestamp,
|
|
302
|
-
mp: diff.mismatchedPixels,
|
|
303
|
-
});
|
|
304
|
-
}
|
|
305
|
-
});
|
|
306
|
-
}
|
|
307
|
-
// sort so the newest items are on top
|
|
308
|
-
screenshotCache.items.sort((a, b) => {
|
|
309
|
-
if (a.ts > b.ts)
|
|
310
|
-
return -1;
|
|
311
|
-
if (a.ts < b.ts)
|
|
312
|
-
return 1;
|
|
313
|
-
if (a.mp > b.mp)
|
|
314
|
-
return -1;
|
|
315
|
-
if (a.mp < b.mp)
|
|
316
|
-
return 1;
|
|
317
|
-
return 0;
|
|
318
|
-
});
|
|
319
|
-
// keep only the most recent items
|
|
320
|
-
screenshotCache.items = screenshotCache.items.slice(0, 1000);
|
|
321
|
-
screenshotCache.size = screenshotCache.items.length;
|
|
322
|
-
return screenshotCache;
|
|
323
|
-
}
|
|
324
|
-
toJson(masterBuild, screenshotCache) {
|
|
325
|
-
const masterScreenshots = {};
|
|
326
|
-
if (masterBuild && Array.isArray(masterBuild.screenshots)) {
|
|
327
|
-
masterBuild.screenshots.forEach((masterScreenshot) => {
|
|
328
|
-
masterScreenshots[masterScreenshot.id] = masterScreenshot.image;
|
|
329
|
-
});
|
|
330
|
-
}
|
|
331
|
-
const mismatchCache = {};
|
|
332
|
-
if (screenshotCache && Array.isArray(screenshotCache.items)) {
|
|
333
|
-
screenshotCache.items.forEach((cacheItem) => {
|
|
334
|
-
mismatchCache[cacheItem.key] = cacheItem.mp;
|
|
335
|
-
});
|
|
336
|
-
}
|
|
337
|
-
const screenshotBuild = {
|
|
338
|
-
buildId: this.buildId,
|
|
339
|
-
rootDir: this.rootDir,
|
|
340
|
-
screenshotDir: this.screenshotDir,
|
|
341
|
-
imagesDir: this.imagesDir,
|
|
342
|
-
buildsDir: this.buildsDir,
|
|
343
|
-
masterScreenshots: masterScreenshots,
|
|
344
|
-
cache: mismatchCache,
|
|
345
|
-
currentBuildDir: this.currentBuildDir,
|
|
346
|
-
updateMaster: this.updateMaster,
|
|
347
|
-
allowableMismatchedPixels: this.allowableMismatchedPixels,
|
|
348
|
-
allowableMismatchedRatio: this.allowableMismatchedRatio,
|
|
349
|
-
pixelmatchThreshold: this.pixelmatchThreshold,
|
|
350
|
-
timeoutBeforeScreenshot: this.waitBeforeScreenshot,
|
|
351
|
-
pixelmatchModulePath: this.pixelmatchModulePath,
|
|
352
|
-
};
|
|
353
|
-
return JSON.stringify(screenshotBuild);
|
|
354
|
-
}
|
|
355
|
-
sortScreenshots(screenshots) {
|
|
356
|
-
return screenshots.sort((a, b) => {
|
|
357
|
-
if (a.desc && b.desc) {
|
|
358
|
-
if (a.desc.toLowerCase() < b.desc.toLowerCase())
|
|
359
|
-
return -1;
|
|
360
|
-
if (a.desc.toLowerCase() > b.desc.toLowerCase())
|
|
361
|
-
return 1;
|
|
362
|
-
}
|
|
363
|
-
if (a.device && b.device) {
|
|
364
|
-
if (a.device.toLowerCase() < b.device.toLowerCase())
|
|
365
|
-
return -1;
|
|
366
|
-
if (a.device.toLowerCase() > b.device.toLowerCase())
|
|
367
|
-
return 1;
|
|
368
|
-
}
|
|
369
|
-
if (a.userAgent && b.userAgent) {
|
|
370
|
-
if (a.userAgent.toLowerCase() < b.userAgent.toLowerCase())
|
|
371
|
-
return -1;
|
|
372
|
-
if (a.userAgent.toLowerCase() > b.userAgent.toLowerCase())
|
|
373
|
-
return 1;
|
|
374
|
-
}
|
|
375
|
-
if (a.width < b.width)
|
|
376
|
-
return -1;
|
|
377
|
-
if (a.width > b.width)
|
|
378
|
-
return 1;
|
|
379
|
-
if (a.height < b.height)
|
|
380
|
-
return -1;
|
|
381
|
-
if (a.height > b.height)
|
|
382
|
-
return 1;
|
|
383
|
-
if (a.id < b.id)
|
|
384
|
-
return -1;
|
|
385
|
-
if (a.id > b.id)
|
|
386
|
-
return 1;
|
|
387
|
-
return 0;
|
|
388
|
-
});
|
|
389
|
-
}
|
|
390
|
-
sortCompares(compares) {
|
|
391
|
-
return compares.sort((a, b) => {
|
|
392
|
-
if (a.allowableMismatchedPixels > b.allowableMismatchedPixels)
|
|
393
|
-
return -1;
|
|
394
|
-
if (a.allowableMismatchedPixels < b.allowableMismatchedPixels)
|
|
395
|
-
return 1;
|
|
396
|
-
if (a.allowableMismatchedRatio > b.allowableMismatchedRatio)
|
|
397
|
-
return -1;
|
|
398
|
-
if (a.allowableMismatchedRatio < b.allowableMismatchedRatio)
|
|
399
|
-
return 1;
|
|
400
|
-
if (a.desc && b.desc) {
|
|
401
|
-
if (a.desc.toLowerCase() < b.desc.toLowerCase())
|
|
402
|
-
return -1;
|
|
403
|
-
if (a.desc.toLowerCase() > b.desc.toLowerCase())
|
|
404
|
-
return 1;
|
|
405
|
-
}
|
|
406
|
-
if (a.device && b.device) {
|
|
407
|
-
if (a.device.toLowerCase() < b.device.toLowerCase())
|
|
408
|
-
return -1;
|
|
409
|
-
if (a.device.toLowerCase() > b.device.toLowerCase())
|
|
410
|
-
return 1;
|
|
411
|
-
}
|
|
412
|
-
if (a.userAgent && b.userAgent) {
|
|
413
|
-
if (a.userAgent.toLowerCase() < b.userAgent.toLowerCase())
|
|
414
|
-
return -1;
|
|
415
|
-
if (a.userAgent.toLowerCase() > b.userAgent.toLowerCase())
|
|
416
|
-
return 1;
|
|
417
|
-
}
|
|
418
|
-
if (a.width < b.width)
|
|
419
|
-
return -1;
|
|
420
|
-
if (a.width > b.width)
|
|
421
|
-
return 1;
|
|
422
|
-
if (a.height < b.height)
|
|
423
|
-
return -1;
|
|
424
|
-
if (a.height > b.height)
|
|
425
|
-
return 1;
|
|
426
|
-
if (a.id < b.id)
|
|
427
|
-
return -1;
|
|
428
|
-
if (a.id > b.id)
|
|
429
|
-
return 1;
|
|
430
|
-
return 0;
|
|
431
|
-
});
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
/**
|
|
436
|
-
* Convert Windows backslash paths to slash paths: foo\\bar ➔ foo/bar
|
|
437
|
-
* Forward-slash paths can be used in Windows as long as they're not
|
|
438
|
-
* extended-length paths and don't contain any non-ascii characters.
|
|
439
|
-
* This was created since the path methods in Node.js outputs \\ paths on Windows.
|
|
440
|
-
* @param path the Windows-based path to convert
|
|
441
|
-
* @returns the converted path
|
|
442
|
-
*/
|
|
443
|
-
const normalizePath = (path) => {
|
|
444
|
-
if (typeof path !== 'string') {
|
|
445
|
-
throw new Error(`invalid path to normalize`);
|
|
446
|
-
}
|
|
447
|
-
path = normalizeSlashes(path.trim());
|
|
448
|
-
const components = pathComponents(path, getRootLength(path));
|
|
449
|
-
const reducedComponents = reducePathComponents(components);
|
|
450
|
-
const rootPart = reducedComponents[0];
|
|
451
|
-
const secondPart = reducedComponents[1];
|
|
452
|
-
const normalized = rootPart + reducedComponents.slice(1).join('/');
|
|
453
|
-
if (normalized === '') {
|
|
454
|
-
return '.';
|
|
455
|
-
}
|
|
456
|
-
if (rootPart === '' &&
|
|
457
|
-
secondPart &&
|
|
458
|
-
path.includes('/') &&
|
|
459
|
-
!secondPart.startsWith('.') &&
|
|
460
|
-
!secondPart.startsWith('@')) {
|
|
461
|
-
return './' + normalized;
|
|
462
|
-
}
|
|
463
|
-
return normalized;
|
|
464
|
-
};
|
|
465
|
-
const normalizeSlashes = (path) => path.replace(backslashRegExp, '/');
|
|
466
|
-
const altDirectorySeparator = '\\';
|
|
467
|
-
const urlSchemeSeparator = '://';
|
|
468
|
-
const backslashRegExp = /\\/g;
|
|
469
|
-
const reducePathComponents = (components) => {
|
|
470
|
-
if (!Array.isArray(components) || components.length === 0) {
|
|
471
|
-
return [];
|
|
472
|
-
}
|
|
473
|
-
const reduced = [components[0]];
|
|
474
|
-
for (let i = 1; i < components.length; i++) {
|
|
475
|
-
const component = components[i];
|
|
476
|
-
if (!component)
|
|
477
|
-
continue;
|
|
478
|
-
if (component === '.')
|
|
479
|
-
continue;
|
|
480
|
-
if (component === '..') {
|
|
481
|
-
if (reduced.length > 1) {
|
|
482
|
-
if (reduced[reduced.length - 1] !== '..') {
|
|
483
|
-
reduced.pop();
|
|
484
|
-
continue;
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
else if (reduced[0])
|
|
488
|
-
continue;
|
|
489
|
-
}
|
|
490
|
-
reduced.push(component);
|
|
491
|
-
}
|
|
492
|
-
return reduced;
|
|
493
|
-
};
|
|
494
|
-
const getRootLength = (path) => {
|
|
495
|
-
const rootLength = getEncodedRootLength(path);
|
|
496
|
-
return rootLength < 0 ? ~rootLength : rootLength;
|
|
497
|
-
};
|
|
498
|
-
const getEncodedRootLength = (path) => {
|
|
499
|
-
if (!path)
|
|
500
|
-
return 0;
|
|
501
|
-
const ch0 = path.charCodeAt(0);
|
|
502
|
-
// POSIX or UNC
|
|
503
|
-
if (ch0 === 47 /* CharacterCodes.slash */ || ch0 === 92 /* CharacterCodes.backslash */) {
|
|
504
|
-
if (path.charCodeAt(1) !== ch0)
|
|
505
|
-
return 1; // POSIX: "/" (or non-normalized "\")
|
|
506
|
-
const p1 = path.indexOf(ch0 === 47 /* CharacterCodes.slash */ ? '/' : altDirectorySeparator, 2);
|
|
507
|
-
if (p1 < 0)
|
|
508
|
-
return path.length; // UNC: "//server" or "\\server"
|
|
509
|
-
return p1 + 1; // UNC: "//server/" or "\\server\"
|
|
510
|
-
}
|
|
511
|
-
// DOS
|
|
512
|
-
if (isVolumeCharacter(ch0) && path.charCodeAt(1) === 58 /* CharacterCodes.colon */) {
|
|
513
|
-
const ch2 = path.charCodeAt(2);
|
|
514
|
-
if (ch2 === 47 /* CharacterCodes.slash */ || ch2 === 92 /* CharacterCodes.backslash */)
|
|
515
|
-
return 3; // DOS: "c:/" or "c:\"
|
|
516
|
-
if (path.length === 2)
|
|
517
|
-
return 2; // DOS: "c:" (but not "c:d")
|
|
518
|
-
}
|
|
519
|
-
// URL
|
|
520
|
-
const schemeEnd = path.indexOf(urlSchemeSeparator);
|
|
521
|
-
if (schemeEnd !== -1) {
|
|
522
|
-
const authorityStart = schemeEnd + urlSchemeSeparator.length;
|
|
523
|
-
const authorityEnd = path.indexOf('/', authorityStart);
|
|
524
|
-
if (authorityEnd !== -1) {
|
|
525
|
-
// URL: "file:///", "file://server/", "file://server/path"
|
|
526
|
-
// For local "file" URLs, include the leading DOS volume (if present).
|
|
527
|
-
// Per https://www.ietf.org/rfc/rfc1738.txt, a host of "" or "localhost" is a
|
|
528
|
-
// special case interpreted as "the machine from which the URL is being interpreted".
|
|
529
|
-
const scheme = path.slice(0, schemeEnd);
|
|
530
|
-
const authority = path.slice(authorityStart, authorityEnd);
|
|
531
|
-
if (scheme === 'file' &&
|
|
532
|
-
(authority === '' || authority === 'localhost') &&
|
|
533
|
-
isVolumeCharacter(path.charCodeAt(authorityEnd + 1))) {
|
|
534
|
-
const volumeSeparatorEnd = getFileUrlVolumeSeparatorEnd(path, authorityEnd + 2);
|
|
535
|
-
if (volumeSeparatorEnd !== -1) {
|
|
536
|
-
if (path.charCodeAt(volumeSeparatorEnd) === 47 /* CharacterCodes.slash */) {
|
|
537
|
-
// URL: "file:///c:/", "file://localhost/c:/", "file:///c%3a/", "file://localhost/c%3a/"
|
|
538
|
-
return ~(volumeSeparatorEnd + 1);
|
|
539
|
-
}
|
|
540
|
-
if (volumeSeparatorEnd === path.length) {
|
|
541
|
-
// URL: "file:///c:", "file://localhost/c:", "file:///c$3a", "file://localhost/c%3a"
|
|
542
|
-
// but not "file:///c:d" or "file:///c%3ad"
|
|
543
|
-
return ~volumeSeparatorEnd;
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
return ~(authorityEnd + 1); // URL: "file://server/", "http://server/"
|
|
548
|
-
}
|
|
549
|
-
return ~path.length; // URL: "file://server", "http://server"
|
|
550
|
-
}
|
|
551
|
-
// relative
|
|
552
|
-
return 0;
|
|
553
|
-
};
|
|
554
|
-
const isVolumeCharacter = (charCode) => (charCode >= 97 /* CharacterCodes.a */ && charCode <= 122 /* CharacterCodes.z */) ||
|
|
555
|
-
(charCode >= 65 /* CharacterCodes.A */ && charCode <= 90 /* CharacterCodes.Z */);
|
|
556
|
-
const getFileUrlVolumeSeparatorEnd = (url, start) => {
|
|
557
|
-
const ch0 = url.charCodeAt(start);
|
|
558
|
-
if (ch0 === 58 /* CharacterCodes.colon */)
|
|
559
|
-
return start + 1;
|
|
560
|
-
if (ch0 === 37 /* CharacterCodes.percent */ && url.charCodeAt(start + 1) === 51 /* CharacterCodes._3 */) {
|
|
561
|
-
const ch2 = url.charCodeAt(start + 2);
|
|
562
|
-
if (ch2 === 97 /* CharacterCodes.a */ || ch2 === 65 /* CharacterCodes.A */)
|
|
563
|
-
return start + 3;
|
|
564
|
-
}
|
|
565
|
-
return -1;
|
|
566
|
-
};
|
|
567
|
-
const pathComponents = (path, rootLength) => {
|
|
568
|
-
const root = path.substring(0, rootLength);
|
|
569
|
-
const rest = path.substring(rootLength).split('/');
|
|
570
|
-
const restLen = rest.length;
|
|
571
|
-
if (restLen > 0 && !rest[restLen - 1]) {
|
|
572
|
-
rest.pop();
|
|
573
|
-
}
|
|
574
|
-
return [root, ...rest];
|
|
575
|
-
};
|
|
576
|
-
|
|
577
|
-
class ScreenshotLocalConnector extends ScreenshotConnector {
|
|
578
|
-
async publishBuild(results) {
|
|
579
|
-
if (this.updateMaster || !results.masterBuild) {
|
|
580
|
-
results.masterBuild = {
|
|
581
|
-
id: 'master',
|
|
582
|
-
message: 'Master',
|
|
583
|
-
appNamespace: this.appNamespace,
|
|
584
|
-
timestamp: Date.now(),
|
|
585
|
-
screenshots: [],
|
|
586
|
-
};
|
|
587
|
-
}
|
|
588
|
-
results.currentBuild.screenshots.forEach((currentScreenshot) => {
|
|
589
|
-
const masterHasScreenshot = results.masterBuild.screenshots.some((masterScreenshot) => {
|
|
590
|
-
return currentScreenshot.id === masterScreenshot.id;
|
|
591
|
-
});
|
|
592
|
-
if (!masterHasScreenshot) {
|
|
593
|
-
results.masterBuild.screenshots.push(Object.assign({}, currentScreenshot));
|
|
594
|
-
}
|
|
595
|
-
});
|
|
596
|
-
this.sortScreenshots(results.masterBuild.screenshots);
|
|
597
|
-
await writeFile(this.masterBuildFilePath, JSON.stringify(results.masterBuild, null, 2));
|
|
598
|
-
await this.generateJsonpDataUris(results.currentBuild);
|
|
599
|
-
const compareAppSourceDir = path.join(this.packageDir, 'screenshot', 'compare');
|
|
600
|
-
const appSrcUrl = normalizePath(path.relative(this.screenshotDir, compareAppSourceDir));
|
|
601
|
-
const imagesUrl = normalizePath(path.relative(this.screenshotDir, this.imagesDir));
|
|
602
|
-
const jsonpUrl = normalizePath(path.relative(this.screenshotDir, this.cacheDir));
|
|
603
|
-
const compareAppHtml = createLocalCompareApp(this.appNamespace, appSrcUrl, imagesUrl, jsonpUrl, results.masterBuild, results.currentBuild);
|
|
604
|
-
const compareAppFileName = 'compare.html';
|
|
605
|
-
const compareAppFilePath = path.join(this.screenshotDir, compareAppFileName);
|
|
606
|
-
await writeFile(compareAppFilePath, compareAppHtml);
|
|
607
|
-
const gitIgnorePath = path.join(this.screenshotDir, '.gitignore');
|
|
608
|
-
const gitIgnoreExists = await fileExists(gitIgnorePath);
|
|
609
|
-
if (!gitIgnoreExists) {
|
|
610
|
-
const content = [this.imagesDirName, this.buildsDirName, compareAppFileName];
|
|
611
|
-
await writeFile(gitIgnorePath, content.join('\n'));
|
|
612
|
-
}
|
|
613
|
-
const url = new URL(`file://${compareAppFilePath}`);
|
|
614
|
-
results.compare.url = url.href;
|
|
615
|
-
return results;
|
|
616
|
-
}
|
|
617
|
-
async getScreenshotCache() {
|
|
618
|
-
let screenshotCache = null;
|
|
619
|
-
try {
|
|
620
|
-
screenshotCache = JSON.parse(await readFile(this.screenshotCacheFilePath));
|
|
621
|
-
}
|
|
622
|
-
catch (e) { }
|
|
623
|
-
return screenshotCache;
|
|
624
|
-
}
|
|
625
|
-
async updateScreenshotCache(cache, buildResults) {
|
|
626
|
-
cache = await super.updateScreenshotCache(cache, buildResults);
|
|
627
|
-
await writeFile(this.screenshotCacheFilePath, JSON.stringify(cache, null, 2));
|
|
628
|
-
return cache;
|
|
629
|
-
}
|
|
630
|
-
}
|
|
631
|
-
function createLocalCompareApp(namespace, appSrcUrl, imagesUrl, jsonpUrl, a, b) {
|
|
632
|
-
return `<!doctype html>
|
|
633
|
-
<html dir="ltr" lang="en">
|
|
634
|
-
<head>
|
|
635
|
-
<meta charset="utf-8">
|
|
636
|
-
<title>Local ${namespace || ''} - Stencil Screenshot Visual Diff</title>
|
|
637
|
-
<meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
638
|
-
<meta http-equiv="x-ua-compatible" content="IE=Edge">
|
|
639
|
-
<link href="${appSrcUrl}/build/app.css" rel="stylesheet">
|
|
640
|
-
<script type="module" src="${appSrcUrl}/build/app.esm.js"></script>
|
|
641
|
-
<script nomodule src="${appSrcUrl}/build/app.js"></script>
|
|
642
|
-
<link rel="icon" type="image/x-icon" href="${appSrcUrl}/assets/favicon.ico">
|
|
643
|
-
</head>
|
|
644
|
-
<body>
|
|
645
|
-
<script>
|
|
646
|
-
(function() {
|
|
647
|
-
var app = document.createElement('screenshot-compare');
|
|
648
|
-
app.appSrcUrl = '${appSrcUrl}';
|
|
649
|
-
app.imagesUrl = '${imagesUrl}/';
|
|
650
|
-
app.jsonpUrl = '${jsonpUrl}/';
|
|
651
|
-
app.a = ${JSON.stringify(a)};
|
|
652
|
-
app.b = ${JSON.stringify(b)};
|
|
653
|
-
document.body.appendChild(app);
|
|
654
|
-
})();
|
|
655
|
-
</script>
|
|
656
|
-
</body>
|
|
657
|
-
</html>`;
|
|
658
|
-
}
|
|
659
|
-
|
|
660
|
-
exports.ScreenshotConnector = ScreenshotConnector;
|
|
661
|
-
exports.ScreenshotLocalConnector = ScreenshotLocalConnector;
|