@postnord/pn-marketweb-components 2.3.12 → 2.3.14
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/{MarketWebContextService-f77b4a5f.js → MarketWebContextService-17053565.js} +1 -1
- 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 +75 -72
- 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 +79 -57
- 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 +35 -39
- 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 +5 -5
- package/cjs/pn-proxio-pricegroup.cjs.entry.js +4 -6
- 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 +12 -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 +44 -31
- 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-share/translations.js +9 -0
- 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-sitefooter/translations.js +72 -45
- 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-marketweb-siteheader/pn-marketweb-siteheader.stories.js +3 -1
- package/collection/components/layout-components/pn-marketweb-siteheader/translations.js +24 -0
- 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-language-selector/translations.js +6 -0
- 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-mainnav/translations.js +55 -34
- 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-sidenav/translations.js +45 -30
- 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/collection/globals/MarketWebContextService.js +1 -1
- package/{esm/MarketWebContextService-3ed3fe80.js → components/MarketWebContextService.js} +1 -1
- 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 +148 -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 +141 -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 +362 -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 +584 -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 +98 -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 +110 -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/MarketWebContextService-f6a33f17.js +318 -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 +75 -72
- 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 +79 -57
- 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 +35 -39
- 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 +5 -5
- package/esm/pn-proxio-pricegroup.entry.js +4 -6
- 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 +12 -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 +44 -31
- 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-f6a33f17.js +1 -0
- 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-0ba1df3b.entry.js +1 -0
- package/pn-market-web-components/p-0d4d15ca.entry.js +1 -0
- 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-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-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-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-33322417.system.js +1 -0
- package/pn-market-web-components/p-34c0b146.entry.js +1 -0
- package/pn-market-web-components/p-37d26cef.entry.js +1 -0
- package/pn-market-web-components/p-386d72ea.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-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-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-5d21372b.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-6b176af7.entry.js +1 -0
- 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-71895c6f.entry.js +1 -0
- 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-773b59c0.entry.js +24 -0
- package/pn-market-web-components/p-78543a18.system.entry.js +1 -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-864fe276.entry.js +1 -0
- 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-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-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-9f0f1dd8.system.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-b6bebd40.system.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-c1565c47.entry.js +1 -0
- package/pn-market-web-components/p-c1d9a064.entry.js +1 -0
- package/pn-market-web-components/p-c5643358.system.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-ca3d998d.system.entry.js +1 -0
- 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-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-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-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-ea4ec1db.system.entry.js +1 -0
- package/pn-market-web-components/{p-86f06e26.js → p-ecaad0c1.js} +1 -1
- package/pn-market-web-components/p-ed81a6d6.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/cta/pn-share/translations.d.ts +9 -0
- package/types/components/layout-components/pn-marketweb-sitefooter/translations.d.ts +27 -0
- package/types/components/layout-components/pn-marketweb-siteheader/translations.d.ts +24 -0
- package/types/components/navigation/pn-language-selector/translations.d.ts +6 -0
- package/types/components/navigation/pn-mainnav/translations.d.ts +21 -0
- package/types/components/navigation/pn-sidenav/translations.d.ts +15 -0
- 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/MarketWebContextService-3ed3fe80.js +0 -1
- 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-086a72ca.system.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-783b4892.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-cb53b67f.system.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
package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/runner.js
DELETED
|
@@ -1,777 +0,0 @@
|
|
|
1
|
-
function createWindowFromHtml(e, t) {
|
|
2
|
-
let r = templateWindows.get(t);
|
|
3
|
-
return null == r && (r = new MockWindow(e), templateWindows.set(t, r)), cloneWindow(r);
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
function inspectElement(e, t, r) {
|
|
7
|
-
const s = t.children;
|
|
8
|
-
for (let t = 0, n = s.length; t < n; t++) {
|
|
9
|
-
const n = s[t], o = n.nodeName.toLowerCase();
|
|
10
|
-
if (o.includes("-")) {
|
|
11
|
-
const t = e.components.find((e => e.tag === o));
|
|
12
|
-
null != t && (t.count++, r > t.depth && (t.depth = r));
|
|
13
|
-
} else switch (o) {
|
|
14
|
-
case "a":
|
|
15
|
-
const t = collectAttributes(n);
|
|
16
|
-
t.href = n.href, "string" == typeof t.href && (e.anchors.some((e => e.href === t.href)) || e.anchors.push(t));
|
|
17
|
-
break;
|
|
18
|
-
|
|
19
|
-
case "img":
|
|
20
|
-
const r = collectAttributes(n);
|
|
21
|
-
r.src = n.src, "string" == typeof r.src && (e.imgs.some((e => e.src === r.src)) || e.imgs.push(r));
|
|
22
|
-
break;
|
|
23
|
-
|
|
24
|
-
case "link":
|
|
25
|
-
const s = collectAttributes(n);
|
|
26
|
-
s.href = n.href, "string" == typeof s.rel && "stylesheet" === s.rel.toLowerCase() && "string" == typeof s.href && (e.styles.some((e => e.link === s.href)) || (delete s.rel,
|
|
27
|
-
delete s.type, e.styles.push(s)));
|
|
28
|
-
break;
|
|
29
|
-
|
|
30
|
-
case "script":
|
|
31
|
-
const o = collectAttributes(n);
|
|
32
|
-
if (n.hasAttribute("src")) o.src = n.src, "string" == typeof o.src && (e.scripts.some((e => e.src === o.src)) || e.scripts.push(o)); else {
|
|
33
|
-
const t = n.getAttribute("data-stencil-static");
|
|
34
|
-
t && e.staticData.push({
|
|
35
|
-
id: t,
|
|
36
|
-
type: n.getAttribute("type"),
|
|
37
|
-
content: n.textContent
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
inspectElement(e, n, ++r);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
function collectAttributes(e) {
|
|
46
|
-
const t = {}, r = e.attributes;
|
|
47
|
-
for (let e = 0, s = r.length; e < s; e++) {
|
|
48
|
-
const s = r.item(e), n = s.nodeName.toLowerCase();
|
|
49
|
-
if (SKIP_ATTRS.has(n)) continue;
|
|
50
|
-
const o = s.nodeValue;
|
|
51
|
-
"class" === n && "" === o || (t[n] = o);
|
|
52
|
-
}
|
|
53
|
-
return t;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
function patchDomImplementation(e, t) {
|
|
57
|
-
let r;
|
|
58
|
-
if (null != e.defaultView ? (t.destroyWindow = !0, patchWindow(e.defaultView), r = e.defaultView) : (t.destroyWindow = !0,
|
|
59
|
-
t.destroyDocument = !1, r = new MockWindow(!1)), r.document !== e && (r.document = e),
|
|
60
|
-
e.defaultView !== r && (e.defaultView = r), "function" != typeof e.documentElement.constructor.prototype.getRootNode && (e.createElement("unknown-element").constructor.prototype.getRootNode = getRootNode),
|
|
61
|
-
"function" == typeof e.createEvent) {
|
|
62
|
-
const t = e.createEvent("CustomEvent").constructor;
|
|
63
|
-
r.CustomEvent !== t && (r.CustomEvent = t);
|
|
64
|
-
}
|
|
65
|
-
try {
|
|
66
|
-
e.baseURI;
|
|
67
|
-
} catch (t) {
|
|
68
|
-
Object.defineProperty(e, "baseURI", {
|
|
69
|
-
get() {
|
|
70
|
-
const t = e.querySelector("base[href]");
|
|
71
|
-
return t ? new URL(t.getAttribute("href"), r.location.href).href : r.location.href;
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
return r;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
function getRootNode(e) {
|
|
79
|
-
const t = null != e && !0 === e.composed;
|
|
80
|
-
let r = this;
|
|
81
|
-
for (;null != r.parentNode; ) r = r.parentNode, !0 === t && null == r.parentNode && null != r.host && (r = r.host);
|
|
82
|
-
return r;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
function normalizeHydrateOptions(e) {
|
|
86
|
-
const t = Object.assign({
|
|
87
|
-
serializeToHtml: !1,
|
|
88
|
-
destroyWindow: !1,
|
|
89
|
-
destroyDocument: !1
|
|
90
|
-
}, e || {});
|
|
91
|
-
return "boolean" != typeof t.clientHydrateAnnotations && (t.clientHydrateAnnotations = !0),
|
|
92
|
-
"boolean" != typeof t.constrainTimeouts && (t.constrainTimeouts = !0), "number" != typeof t.maxHydrateCount && (t.maxHydrateCount = 300),
|
|
93
|
-
"boolean" != typeof t.runtimeLogging && (t.runtimeLogging = !1), "number" != typeof t.timeout && (t.timeout = 15e3),
|
|
94
|
-
Array.isArray(t.excludeComponents) ? t.excludeComponents = t.excludeComponents.filter(filterValidTags).map(mapValidTags) : t.excludeComponents = [],
|
|
95
|
-
Array.isArray(t.staticComponents) ? t.staticComponents = t.staticComponents.filter(filterValidTags).map(mapValidTags) : t.staticComponents = [],
|
|
96
|
-
t;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
function filterValidTags(e) {
|
|
100
|
-
return "string" == typeof e && e.includes("-");
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
function mapValidTags(e) {
|
|
104
|
-
return e.trim().toLowerCase();
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
function generateHydrateResults(e) {
|
|
108
|
-
"string" != typeof e.url && (e.url = "https://hydrate.stenciljs.com/"), "string" != typeof e.buildId && (e.buildId = createHydrateBuildId());
|
|
109
|
-
const t = {
|
|
110
|
-
buildId: e.buildId,
|
|
111
|
-
diagnostics: [],
|
|
112
|
-
url: e.url,
|
|
113
|
-
host: null,
|
|
114
|
-
hostname: null,
|
|
115
|
-
href: null,
|
|
116
|
-
pathname: null,
|
|
117
|
-
port: null,
|
|
118
|
-
search: null,
|
|
119
|
-
hash: null,
|
|
120
|
-
html: null,
|
|
121
|
-
httpStatus: null,
|
|
122
|
-
hydratedCount: 0,
|
|
123
|
-
anchors: [],
|
|
124
|
-
components: [],
|
|
125
|
-
imgs: [],
|
|
126
|
-
scripts: [],
|
|
127
|
-
staticData: [],
|
|
128
|
-
styles: [],
|
|
129
|
-
title: null
|
|
130
|
-
};
|
|
131
|
-
try {
|
|
132
|
-
const r = new URL(e.url, "https://hydrate.stenciljs.com/");
|
|
133
|
-
t.url = r.href, t.host = r.host, t.hostname = r.hostname, t.href = r.href, t.port = r.port,
|
|
134
|
-
t.pathname = r.pathname, t.search = r.search, t.hash = r.hash;
|
|
135
|
-
} catch (e) {
|
|
136
|
-
renderCatchError(t, e);
|
|
137
|
-
}
|
|
138
|
-
return t;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
function renderBuildDiagnostic(e, t, r, s) {
|
|
142
|
-
const n = {
|
|
143
|
-
level: t,
|
|
144
|
-
type: "build",
|
|
145
|
-
header: r,
|
|
146
|
-
messageText: s,
|
|
147
|
-
relFilePath: null,
|
|
148
|
-
absFilePath: null,
|
|
149
|
-
lines: []
|
|
150
|
-
};
|
|
151
|
-
return e.pathname ? "/" !== e.pathname && (n.header += ": " + e.pathname) : e.url && (n.header += ": " + e.url),
|
|
152
|
-
e.diagnostics.push(n), n;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
function renderBuildError(e, t) {
|
|
156
|
-
return renderBuildDiagnostic(e, "error", "Hydrate Error", t);
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
function renderCatchError(e, t) {
|
|
160
|
-
const r = renderBuildError(e, null);
|
|
161
|
-
return null != t && (null != t.stack ? r.messageText = t.stack.toString() : null != t.message ? r.messageText = t.message.toString() : r.messageText = t.toString()),
|
|
162
|
-
r;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
function runtimeLog(e, t, r) {
|
|
166
|
-
global.console[t].apply(global.console, [ `[ ${e} ${t} ] `, ...r ]);
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
function renderToString(e, t) {
|
|
170
|
-
const r = normalizeHydrateOptions(t);
|
|
171
|
-
return r.serializeToHtml = !0, new Promise((t => {
|
|
172
|
-
let s;
|
|
173
|
-
const n = generateHydrateResults(r);
|
|
174
|
-
if (hasError(n.diagnostics)) t(n); else if ("string" == typeof e) try {
|
|
175
|
-
r.destroyWindow = !0, r.destroyDocument = !0, s = new MockWindow(e), render(s, r, n, t);
|
|
176
|
-
} catch (e) {
|
|
177
|
-
s && s.close && s.close(), s = null, renderCatchError(n, e), t(n);
|
|
178
|
-
} else if (isValidDocument(e)) try {
|
|
179
|
-
r.destroyDocument = !1, s = patchDomImplementation(e, r), render(s, r, n, t);
|
|
180
|
-
} catch (e) {
|
|
181
|
-
s && s.close && s.close(), s = null, renderCatchError(n, e), t(n);
|
|
182
|
-
} else renderBuildError(n, 'Invalid html or document. Must be either a valid "html" string, or DOM "document".'),
|
|
183
|
-
t(n);
|
|
184
|
-
}));
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
function hydrateDocument(e, t) {
|
|
188
|
-
const r = normalizeHydrateOptions(t);
|
|
189
|
-
return r.serializeToHtml = !1, new Promise((t => {
|
|
190
|
-
let s;
|
|
191
|
-
const n = generateHydrateResults(r);
|
|
192
|
-
if (hasError(n.diagnostics)) t(n); else if ("string" == typeof e) try {
|
|
193
|
-
r.destroyWindow = !0, r.destroyDocument = !0, s = new MockWindow(e), render(s, r, n, t);
|
|
194
|
-
} catch (e) {
|
|
195
|
-
s && s.close && s.close(), s = null, renderCatchError(n, e), t(n);
|
|
196
|
-
} else if (isValidDocument(e)) try {
|
|
197
|
-
r.destroyDocument = !1, s = patchDomImplementation(e, r), render(s, r, n, t);
|
|
198
|
-
} catch (e) {
|
|
199
|
-
s && s.close && s.close(), s = null, renderCatchError(n, e), t(n);
|
|
200
|
-
} else renderBuildError(n, 'Invalid html or document. Must be either a valid "html" string, or DOM "document".'),
|
|
201
|
-
t(n);
|
|
202
|
-
}));
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
function render(e, t, r, s) {
|
|
206
|
-
if (process.__stencilErrors || (process.__stencilErrors = !0, process.on("unhandledRejection", (e => {
|
|
207
|
-
console.log("unhandledRejection", e);
|
|
208
|
-
}))), function n(e, t, r, s) {
|
|
209
|
-
try {
|
|
210
|
-
e.location.href = r.url;
|
|
211
|
-
} catch (e) {
|
|
212
|
-
renderCatchError(s, e);
|
|
213
|
-
}
|
|
214
|
-
if ("string" == typeof r.userAgent) try {
|
|
215
|
-
e.navigator.userAgent = r.userAgent;
|
|
216
|
-
} catch (e) {}
|
|
217
|
-
if ("string" == typeof r.cookie) try {
|
|
218
|
-
t.cookie = r.cookie;
|
|
219
|
-
} catch (e) {}
|
|
220
|
-
if ("string" == typeof r.referrer) try {
|
|
221
|
-
t.referrer = r.referrer;
|
|
222
|
-
} catch (e) {}
|
|
223
|
-
if ("string" == typeof r.direction) try {
|
|
224
|
-
t.documentElement.setAttribute("dir", r.direction);
|
|
225
|
-
} catch (e) {}
|
|
226
|
-
if ("string" == typeof r.language) try {
|
|
227
|
-
t.documentElement.setAttribute("lang", r.language);
|
|
228
|
-
} catch (e) {}
|
|
229
|
-
if ("string" == typeof r.buildId) try {
|
|
230
|
-
t.documentElement.setAttribute("data-stencil-build", r.buildId);
|
|
231
|
-
} catch (e) {}
|
|
232
|
-
try {
|
|
233
|
-
e.customElements = null;
|
|
234
|
-
} catch (e) {}
|
|
235
|
-
return r.constrainTimeouts && constrainTimeouts(e), function n(e, t, r) {
|
|
236
|
-
try {
|
|
237
|
-
const s = e.location.pathname;
|
|
238
|
-
e.console.error = (...e) => {
|
|
239
|
-
const n = e.reduce(((e, t) => {
|
|
240
|
-
if (t) {
|
|
241
|
-
if (null != t.stack) return e + " " + String(t.stack);
|
|
242
|
-
if (null != t.message) return e + " " + String(t.message);
|
|
243
|
-
}
|
|
244
|
-
return String(t);
|
|
245
|
-
}), "").trim();
|
|
246
|
-
"" !== n && (renderCatchError(r, n), t.runtimeLogging && runtimeLog(s, "error", [ n ]));
|
|
247
|
-
}, e.console.debug = (...e) => {
|
|
248
|
-
renderBuildDiagnostic(r, "debug", "Hydrate Debug", [ ...e ].join(", ")), t.runtimeLogging && runtimeLog(s, "debug", e);
|
|
249
|
-
}, t.runtimeLogging && [ "log", "warn", "assert", "info", "trace" ].forEach((t => {
|
|
250
|
-
e.console[t] = (...e) => {
|
|
251
|
-
runtimeLog(s, t, e);
|
|
252
|
-
};
|
|
253
|
-
}));
|
|
254
|
-
} catch (e) {
|
|
255
|
-
renderCatchError(r, e);
|
|
256
|
-
}
|
|
257
|
-
}(e, r, s), e;
|
|
258
|
-
}(e, e.document, t, r), "function" == typeof t.beforeHydrate) try {
|
|
259
|
-
const n = t.beforeHydrate(e.document);
|
|
260
|
-
isPromise(n) ? n.then((() => {
|
|
261
|
-
hydrateFactory(e, t, r, afterHydrate, s);
|
|
262
|
-
})) : hydrateFactory(e, t, r, afterHydrate, s);
|
|
263
|
-
} catch (n) {
|
|
264
|
-
renderCatchError(r, n), finalizeHydrate(e, e.document, t, r, s);
|
|
265
|
-
} else hydrateFactory(e, t, r, afterHydrate, s);
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
function afterHydrate(e, t, r, s) {
|
|
269
|
-
if ("function" == typeof t.afterHydrate) try {
|
|
270
|
-
const n = t.afterHydrate(e.document);
|
|
271
|
-
isPromise(n) ? n.then((() => {
|
|
272
|
-
finalizeHydrate(e, e.document, t, r, s);
|
|
273
|
-
})) : finalizeHydrate(e, e.document, t, r, s);
|
|
274
|
-
} catch (n) {
|
|
275
|
-
renderCatchError(r, n), finalizeHydrate(e, e.document, t, r, s);
|
|
276
|
-
} else finalizeHydrate(e, e.document, t, r, s);
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
function finalizeHydrate(e, t, r, s, n) {
|
|
280
|
-
try {
|
|
281
|
-
if (inspectElement(s, t.documentElement, 0), !1 !== r.removeUnusedStyles) try {
|
|
282
|
-
((e, t) => {
|
|
283
|
-
try {
|
|
284
|
-
const r = e.head.querySelectorAll("style[data-styles]"), s = r.length;
|
|
285
|
-
if (s > 0) {
|
|
286
|
-
const n = (e => {
|
|
287
|
-
const t = {
|
|
288
|
-
attrs: new Set,
|
|
289
|
-
classNames: new Set,
|
|
290
|
-
ids: new Set,
|
|
291
|
-
tags: new Set
|
|
292
|
-
};
|
|
293
|
-
return collectUsedSelectors(t, e), t;
|
|
294
|
-
})(e.documentElement);
|
|
295
|
-
for (let e = 0; e < s; e++) removeUnusedStyleText(n, t, r[e]);
|
|
296
|
-
}
|
|
297
|
-
} catch (e) {
|
|
298
|
-
((e, t, r) => {
|
|
299
|
-
const s = {
|
|
300
|
-
level: "error",
|
|
301
|
-
type: "build",
|
|
302
|
-
header: "Build Error",
|
|
303
|
-
messageText: "build error",
|
|
304
|
-
relFilePath: null,
|
|
305
|
-
absFilePath: null,
|
|
306
|
-
lines: []
|
|
307
|
-
};
|
|
308
|
-
null != t && (null != t.stack ? s.messageText = t.stack.toString() : null != t.message ? s.messageText = t.message.length ? t.message : "UNKNOWN ERROR" : s.messageText = t.toString()),
|
|
309
|
-
null == e || shouldIgnoreError(s.messageText) || e.push(s);
|
|
310
|
-
})(t, e);
|
|
311
|
-
}
|
|
312
|
-
})(t, s.diagnostics);
|
|
313
|
-
} catch (e) {
|
|
314
|
-
renderCatchError(s, e);
|
|
315
|
-
}
|
|
316
|
-
if ("string" == typeof r.title) try {
|
|
317
|
-
t.title = r.title;
|
|
318
|
-
} catch (e) {
|
|
319
|
-
renderCatchError(s, e);
|
|
320
|
-
}
|
|
321
|
-
s.title = t.title, r.removeScripts && removeScripts(t.documentElement);
|
|
322
|
-
try {
|
|
323
|
-
((e, t) => {
|
|
324
|
-
let r = e.head.querySelector('link[rel="canonical"]');
|
|
325
|
-
"string" == typeof t ? (null == r && (r = e.createElement("link"), r.setAttribute("rel", "canonical"),
|
|
326
|
-
e.head.appendChild(r)), r.setAttribute("href", t)) : null != r && (r.getAttribute("href") || r.parentNode.removeChild(r));
|
|
327
|
-
})(t, r.canonicalUrl);
|
|
328
|
-
} catch (e) {
|
|
329
|
-
renderCatchError(s, e);
|
|
330
|
-
}
|
|
331
|
-
try {
|
|
332
|
-
(e => {
|
|
333
|
-
const t = e.head;
|
|
334
|
-
let r = t.querySelector("meta[charset]");
|
|
335
|
-
null == r ? (r = e.createElement("meta"), r.setAttribute("charset", "utf-8")) : r.remove(),
|
|
336
|
-
t.insertBefore(r, t.firstChild);
|
|
337
|
-
})(t);
|
|
338
|
-
} catch (e) {}
|
|
339
|
-
hasError(s.diagnostics) || (s.httpStatus = 200);
|
|
340
|
-
try {
|
|
341
|
-
const e = t.head.querySelector('meta[http-equiv="status"]');
|
|
342
|
-
if (null != e) {
|
|
343
|
-
const t = e.getAttribute("content");
|
|
344
|
-
t && t.length > 0 && (s.httpStatus = parseInt(t, 10));
|
|
345
|
-
}
|
|
346
|
-
} catch (e) {}
|
|
347
|
-
r.clientHydrateAnnotations && t.documentElement.classList.add("hydrated"), r.serializeToHtml && (s.html = serializeDocumentToString(t, r));
|
|
348
|
-
} catch (e) {
|
|
349
|
-
renderCatchError(s, e);
|
|
350
|
-
}
|
|
351
|
-
if (r.destroyWindow) try {
|
|
352
|
-
r.destroyDocument || (e.document = null, t.defaultView = null), e.close && e.close();
|
|
353
|
-
} catch (e) {
|
|
354
|
-
renderCatchError(s, e);
|
|
355
|
-
}
|
|
356
|
-
n(s);
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
function serializeDocumentToString(e, t) {
|
|
360
|
-
return serializeNodeToHtml(e, {
|
|
361
|
-
approximateLineWidth: t.approximateLineWidth,
|
|
362
|
-
outerHtml: !1,
|
|
363
|
-
prettyHtml: t.prettyHtml,
|
|
364
|
-
removeAttributeQuotes: t.removeAttributeQuotes,
|
|
365
|
-
removeBooleanAttributeQuotes: t.removeBooleanAttributeQuotes,
|
|
366
|
-
removeEmptyAttributes: t.removeEmptyAttributes,
|
|
367
|
-
removeHtmlComments: t.removeHtmlComments,
|
|
368
|
-
serializeShadowRoot: !1
|
|
369
|
-
});
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
function isValidDocument(e) {
|
|
373
|
-
return null != e && 9 === e.nodeType && null != e.documentElement && 1 === e.documentElement.nodeType && null != e.body && 1 === e.body.nodeType;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
function removeScripts(e) {
|
|
377
|
-
const t = e.children;
|
|
378
|
-
for (let e = t.length - 1; e >= 0; e--) {
|
|
379
|
-
const r = t[e];
|
|
380
|
-
removeScripts(r), ("SCRIPT" === r.nodeName || "LINK" === r.nodeName && "modulepreload" === r.getAttribute("rel")) && r.remove();
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
import { MockWindow, cloneWindow, patchWindow, constrainTimeouts, serializeNodeToHtml } from "@stencil/core/mock-doc";
|
|
385
|
-
|
|
386
|
-
import { hydrateFactory } from "@stencil/core/hydrate-factory";
|
|
387
|
-
|
|
388
|
-
const templateWindows = new Map, isPromise = e => !!e && ("object" == typeof e || "function" == typeof e) && "function" == typeof e.then, hasError = e => null != e && 0 !== e.length && e.some((e => "error" === e.level && "runtime" !== e.type)), shouldIgnoreError = e => e === TASK_CANCELED_MSG, TASK_CANCELED_MSG = "task canceled", parseCss = (e, t) => {
|
|
389
|
-
let r = 1, s = 1;
|
|
390
|
-
const n = [], o = e => {
|
|
391
|
-
const t = e.match(/\n/g);
|
|
392
|
-
t && (r += t.length);
|
|
393
|
-
const n = e.lastIndexOf("\n");
|
|
394
|
-
s = ~n ? e.length - n : s + e.length;
|
|
395
|
-
}, i = () => {
|
|
396
|
-
const e = {
|
|
397
|
-
line: r,
|
|
398
|
-
column: s
|
|
399
|
-
};
|
|
400
|
-
return t => (t.position = new z(e), m(), t);
|
|
401
|
-
}, a = o => {
|
|
402
|
-
const i = e.split("\n"), a = {
|
|
403
|
-
level: "error",
|
|
404
|
-
type: "css",
|
|
405
|
-
language: "css",
|
|
406
|
-
header: "CSS Parse",
|
|
407
|
-
messageText: o,
|
|
408
|
-
absFilePath: t,
|
|
409
|
-
lines: [ {
|
|
410
|
-
lineIndex: r - 1,
|
|
411
|
-
lineNumber: r,
|
|
412
|
-
errorCharStart: s,
|
|
413
|
-
text: e[r - 1]
|
|
414
|
-
} ]
|
|
415
|
-
};
|
|
416
|
-
if (r > 1) {
|
|
417
|
-
const t = {
|
|
418
|
-
lineIndex: r - 1,
|
|
419
|
-
lineNumber: r - 1,
|
|
420
|
-
text: e[r - 2],
|
|
421
|
-
errorCharStart: -1,
|
|
422
|
-
errorLength: -1
|
|
423
|
-
};
|
|
424
|
-
a.lines.unshift(t);
|
|
425
|
-
}
|
|
426
|
-
if (r + 2 < i.length) {
|
|
427
|
-
const e = {
|
|
428
|
-
lineIndex: r,
|
|
429
|
-
lineNumber: r + 1,
|
|
430
|
-
text: i[r],
|
|
431
|
-
errorCharStart: -1,
|
|
432
|
-
errorLength: -1
|
|
433
|
-
};
|
|
434
|
-
a.lines.push(e);
|
|
435
|
-
}
|
|
436
|
-
return n.push(a), null;
|
|
437
|
-
}, l = () => u(/^{\s*/), c = () => u(/^}/), u = t => {
|
|
438
|
-
const r = t.exec(e);
|
|
439
|
-
if (!r) return;
|
|
440
|
-
const s = r[0];
|
|
441
|
-
return o(s), e = e.slice(s.length), r;
|
|
442
|
-
}, d = () => {
|
|
443
|
-
let t;
|
|
444
|
-
const r = [];
|
|
445
|
-
for (m(), h(r); e.length && "}" !== e.charAt(0) && (t = w() || A()); ) r.push(t),
|
|
446
|
-
h(r);
|
|
447
|
-
return r;
|
|
448
|
-
}, m = () => u(/^\s*/), h = e => {
|
|
449
|
-
let t;
|
|
450
|
-
for (e = e || []; t = p(); ) e.push(t);
|
|
451
|
-
return e;
|
|
452
|
-
}, p = () => {
|
|
453
|
-
const t = i();
|
|
454
|
-
if ("/" !== e.charAt(0) || "*" !== e.charAt(1)) return null;
|
|
455
|
-
let r = 2;
|
|
456
|
-
for (;"" !== e.charAt(r) && ("*" !== e.charAt(r) || "/" !== e.charAt(r + 1)); ) ++r;
|
|
457
|
-
if (r += 2, "" === e.charAt(r - 1)) return a("End of comment missing");
|
|
458
|
-
const n = e.slice(2, r - 2);
|
|
459
|
-
return s += 2, o(n), e = e.slice(r), s += 2, t({
|
|
460
|
-
type: 1,
|
|
461
|
-
comment: n
|
|
462
|
-
});
|
|
463
|
-
}, f = () => {
|
|
464
|
-
const e = u(/^([^{]+)/);
|
|
465
|
-
return e ? trim(e[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g, "").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g, (function(e) {
|
|
466
|
-
return e.replace(/,/g, "");
|
|
467
|
-
})).split(/\s*(?![^(]*\)),\s*/).map((function(e) {
|
|
468
|
-
return e.replace(/\u200C/g, ",");
|
|
469
|
-
})) : null;
|
|
470
|
-
}, g = () => {
|
|
471
|
-
const e = i();
|
|
472
|
-
let t = u(/^(\*?[-#\/\*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);
|
|
473
|
-
if (!t) return null;
|
|
474
|
-
if (t = trim(t[0]), !u(/^:\s*/)) return a("property missing ':'");
|
|
475
|
-
const r = u(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+)/), s = e({
|
|
476
|
-
type: 4,
|
|
477
|
-
property: t.replace(commentre, ""),
|
|
478
|
-
value: r ? trim(r[0]).replace(commentre, "") : ""
|
|
479
|
-
});
|
|
480
|
-
return u(/^[;\s]*/), s;
|
|
481
|
-
}, y = () => {
|
|
482
|
-
const e = [];
|
|
483
|
-
if (!l()) return a("missing '{'");
|
|
484
|
-
let t;
|
|
485
|
-
for (h(e); t = g(); ) e.push(t), h(e);
|
|
486
|
-
return c() ? e : a("missing '}'");
|
|
487
|
-
}, C = () => {
|
|
488
|
-
let e;
|
|
489
|
-
const t = [], r = i();
|
|
490
|
-
for (;e = u(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/); ) t.push(e[1]), u(/^,\s*/);
|
|
491
|
-
return t.length ? r({
|
|
492
|
-
type: 9,
|
|
493
|
-
values: t,
|
|
494
|
-
declarations: y()
|
|
495
|
-
}) : null;
|
|
496
|
-
}, S = (e, t) => {
|
|
497
|
-
const r = new RegExp("^@" + e + "\\s*([^;]+);");
|
|
498
|
-
return () => {
|
|
499
|
-
const s = i(), n = u(r);
|
|
500
|
-
if (!n) return null;
|
|
501
|
-
const o = {
|
|
502
|
-
type: t
|
|
503
|
-
};
|
|
504
|
-
return o[e] = n[1].trim(), s(o);
|
|
505
|
-
};
|
|
506
|
-
}, E = S("import", 7), b = S("charset", 0), T = S("namespace", 11), w = () => "@" !== e[0] ? null : (() => {
|
|
507
|
-
const e = i();
|
|
508
|
-
let t = u(/^@([-\w]+)?keyframes\s*/);
|
|
509
|
-
if (!t) return null;
|
|
510
|
-
const r = t[1];
|
|
511
|
-
if (t = u(/^([-\w]+)\s*/), !t) return a("@keyframes missing name");
|
|
512
|
-
const s = t[1];
|
|
513
|
-
if (!l()) return a("@keyframes missing '{'");
|
|
514
|
-
let n, o = h();
|
|
515
|
-
for (;n = C(); ) o.push(n), o = o.concat(h());
|
|
516
|
-
return c() ? e({
|
|
517
|
-
type: 8,
|
|
518
|
-
name: s,
|
|
519
|
-
vendor: r,
|
|
520
|
-
keyframes: o
|
|
521
|
-
}) : a("@keyframes missing '}'");
|
|
522
|
-
})() || (() => {
|
|
523
|
-
const e = i(), t = u(/^@media *([^{]+)/);
|
|
524
|
-
if (!t) return null;
|
|
525
|
-
const r = trim(t[1]);
|
|
526
|
-
if (!l()) return a("@media missing '{'");
|
|
527
|
-
const s = h().concat(d());
|
|
528
|
-
return c() ? e({
|
|
529
|
-
type: 10,
|
|
530
|
-
media: r,
|
|
531
|
-
rules: s
|
|
532
|
-
}) : a("@media missing '}'");
|
|
533
|
-
})() || (() => {
|
|
534
|
-
const e = i(), t = u(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);
|
|
535
|
-
return t ? e({
|
|
536
|
-
type: 2,
|
|
537
|
-
name: trim(t[1]),
|
|
538
|
-
media: trim(t[2])
|
|
539
|
-
}) : null;
|
|
540
|
-
})() || (() => {
|
|
541
|
-
const e = i(), t = u(/^@supports *([^{]+)/);
|
|
542
|
-
if (!t) return null;
|
|
543
|
-
const r = trim(t[1]);
|
|
544
|
-
if (!l()) return a("@supports missing '{'");
|
|
545
|
-
const s = h().concat(d());
|
|
546
|
-
return c() ? e({
|
|
547
|
-
type: 15,
|
|
548
|
-
supports: r,
|
|
549
|
-
rules: s
|
|
550
|
-
}) : a("@supports missing '}'");
|
|
551
|
-
})() || E() || b() || T() || (() => {
|
|
552
|
-
const e = i(), t = u(/^@([-\w]+)?document *([^{]+)/);
|
|
553
|
-
if (!t) return null;
|
|
554
|
-
const r = trim(t[1]), s = trim(t[2]);
|
|
555
|
-
if (!l()) return a("@document missing '{'");
|
|
556
|
-
const n = h().concat(d());
|
|
557
|
-
return c() ? e({
|
|
558
|
-
type: 3,
|
|
559
|
-
document: s,
|
|
560
|
-
vendor: r,
|
|
561
|
-
rules: n
|
|
562
|
-
}) : a("@document missing '}'");
|
|
563
|
-
})() || (() => {
|
|
564
|
-
const e = i();
|
|
565
|
-
if (!u(/^@page */)) return null;
|
|
566
|
-
const t = f() || [];
|
|
567
|
-
if (!l()) return a("@page missing '{'");
|
|
568
|
-
let r, s = h();
|
|
569
|
-
for (;r = g(); ) s.push(r), s = s.concat(h());
|
|
570
|
-
return c() ? e({
|
|
571
|
-
type: 12,
|
|
572
|
-
selectors: t,
|
|
573
|
-
declarations: s
|
|
574
|
-
}) : a("@page missing '}'");
|
|
575
|
-
})() || (() => {
|
|
576
|
-
const e = i();
|
|
577
|
-
if (!u(/^@host\s*/)) return null;
|
|
578
|
-
if (!l()) return a("@host missing '{'");
|
|
579
|
-
const t = h().concat(d());
|
|
580
|
-
return c() ? e({
|
|
581
|
-
type: 6,
|
|
582
|
-
rules: t
|
|
583
|
-
}) : a("@host missing '}'");
|
|
584
|
-
})() || (() => {
|
|
585
|
-
const e = i();
|
|
586
|
-
if (!u(/^@font-face\s*/)) return null;
|
|
587
|
-
if (!l()) return a("@font-face missing '{'");
|
|
588
|
-
let t, r = h();
|
|
589
|
-
for (;t = g(); ) r.push(t), r = r.concat(h());
|
|
590
|
-
return c() ? e({
|
|
591
|
-
type: 5,
|
|
592
|
-
declarations: r
|
|
593
|
-
}) : a("@font-face missing '}'");
|
|
594
|
-
})(), A = () => {
|
|
595
|
-
const e = i(), t = f();
|
|
596
|
-
return t ? (h(), e({
|
|
597
|
-
type: 13,
|
|
598
|
-
selectors: t,
|
|
599
|
-
declarations: y()
|
|
600
|
-
})) : a("selector missing");
|
|
601
|
-
};
|
|
602
|
-
class z {
|
|
603
|
-
constructor(e) {
|
|
604
|
-
this.start = e, this.end = {
|
|
605
|
-
line: r,
|
|
606
|
-
column: s
|
|
607
|
-
}, this.source = t;
|
|
608
|
-
}
|
|
609
|
-
}
|
|
610
|
-
return z.prototype.content = e, {
|
|
611
|
-
diagnostics: n,
|
|
612
|
-
...addParent((() => {
|
|
613
|
-
const e = d();
|
|
614
|
-
return {
|
|
615
|
-
type: 14,
|
|
616
|
-
stylesheet: {
|
|
617
|
-
source: t,
|
|
618
|
-
rules: e
|
|
619
|
-
}
|
|
620
|
-
};
|
|
621
|
-
})())
|
|
622
|
-
};
|
|
623
|
-
}, trim = e => e ? e.trim() : "", addParent = (e, t) => {
|
|
624
|
-
const r = e && "string" == typeof e.type, s = r ? e : t;
|
|
625
|
-
for (const t in e) {
|
|
626
|
-
const r = e[t];
|
|
627
|
-
Array.isArray(r) ? r.forEach((function(e) {
|
|
628
|
-
addParent(e, s);
|
|
629
|
-
})) : r && "object" == typeof r && addParent(r, s);
|
|
630
|
-
}
|
|
631
|
-
return r && Object.defineProperty(e, "parent", {
|
|
632
|
-
configurable: !0,
|
|
633
|
-
writable: !0,
|
|
634
|
-
enumerable: !1,
|
|
635
|
-
value: t || null
|
|
636
|
-
}), e;
|
|
637
|
-
}, commentre = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, getCssSelectors = e => {
|
|
638
|
-
SELECTORS.all.length = SELECTORS.tags.length = SELECTORS.classNames.length = SELECTORS.ids.length = SELECTORS.attrs.length = 0;
|
|
639
|
-
const t = (e = e.replace(/\./g, " .").replace(/\#/g, " #").replace(/\[/g, " [").replace(/\>/g, " > ").replace(/\+/g, " + ").replace(/\~/g, " ~ ").replace(/\*/g, " * ").replace(/\:not\((.*?)\)/g, " ")).split(" ");
|
|
640
|
-
for (let e = 0, r = t.length; e < r; e++) t[e] = t[e].split(":")[0], 0 !== t[e].length && ("." === t[e].charAt(0) ? SELECTORS.classNames.push(t[e].slice(1)) : "#" === t[e].charAt(0) ? SELECTORS.ids.push(t[e].slice(1)) : "[" === t[e].charAt(0) ? (t[e] = t[e].slice(1).split("=")[0].split("]")[0].trim(),
|
|
641
|
-
SELECTORS.attrs.push(t[e].toLowerCase())) : /[a-z]/g.test(t[e].charAt(0)) && SELECTORS.tags.push(t[e].toLowerCase()));
|
|
642
|
-
return SELECTORS.classNames = SELECTORS.classNames.sort(((e, t) => e.length < t.length ? -1 : e.length > t.length ? 1 : 0)),
|
|
643
|
-
SELECTORS;
|
|
644
|
-
}, SELECTORS = {
|
|
645
|
-
all: [],
|
|
646
|
-
tags: [],
|
|
647
|
-
classNames: [],
|
|
648
|
-
ids: [],
|
|
649
|
-
attrs: []
|
|
650
|
-
}, serializeCssVisitNode = (e, t, r, s) => {
|
|
651
|
-
const n = t.type;
|
|
652
|
-
return 4 === n ? serializeCssDeclaration(t, r, s) : 13 === n ? serializeCssRule(e, t) : 1 === n ? "!" === t.comment[0] ? `/*${t.comment}*/` : "" : 10 === n ? serializeCssMedia(e, t) : 8 === n ? serializeCssKeyframes(e, t) : 9 === n ? serializeCssKeyframe(e, t) : 5 === n ? serializeCssFontFace(e, t) : 15 === n ? serializeCssSupports(e, t) : 7 === n ? "@import " + t.import + ";" : 0 === n ? "@charset " + t.charset + ";" : 12 === n ? serializeCssPage(e, t) : 6 === n ? "@host{" + serializeCssMapVisit(e, t.rules) + "}" : 2 === n ? "@custom-media " + t.name + " " + t.media + ";" : 3 === n ? serializeCssDocument(e, t) : 11 === n ? "@namespace " + t.namespace + ";" : "";
|
|
653
|
-
}, serializeCssRule = (e, t) => {
|
|
654
|
-
const r = t.declarations, s = e.usedSelectors, n = t.selectors.slice();
|
|
655
|
-
if (null == r || 0 === r.length) return "";
|
|
656
|
-
if (s) {
|
|
657
|
-
let t, r, o = !0;
|
|
658
|
-
for (t = n.length - 1; t >= 0; t--) {
|
|
659
|
-
const i = getCssSelectors(n[t]);
|
|
660
|
-
o = !0;
|
|
661
|
-
let a = i.classNames.length;
|
|
662
|
-
if (a > 0 && e.hasUsedClassNames) for (r = 0; r < a; r++) if (!s.classNames.has(i.classNames[r])) {
|
|
663
|
-
o = !1;
|
|
664
|
-
break;
|
|
665
|
-
}
|
|
666
|
-
if (o && e.hasUsedTags && (a = i.tags.length, a > 0)) for (r = 0; r < a; r++) if (!s.tags.has(i.tags[r])) {
|
|
667
|
-
o = !1;
|
|
668
|
-
break;
|
|
669
|
-
}
|
|
670
|
-
if (o && e.hasUsedAttrs && (a = i.attrs.length, a > 0)) for (r = 0; r < a; r++) if (!s.attrs.has(i.attrs[r])) {
|
|
671
|
-
o = !1;
|
|
672
|
-
break;
|
|
673
|
-
}
|
|
674
|
-
if (o && e.hasUsedIds && (a = i.ids.length, a > 0)) for (r = 0; r < a; r++) if (!s.ids.has(i.ids[r])) {
|
|
675
|
-
o = !1;
|
|
676
|
-
break;
|
|
677
|
-
}
|
|
678
|
-
o || n.splice(t, 1);
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
if (0 === n.length) return "";
|
|
682
|
-
const o = [];
|
|
683
|
-
let i = "";
|
|
684
|
-
for (const e of t.selectors) i = removeSelectorWhitespace(e), o.includes(i) || o.push(i);
|
|
685
|
-
return `${o}{${serializeCssMapVisit(e, r)}}`;
|
|
686
|
-
}, serializeCssDeclaration = (e, t, r) => "" === e.value ? "" : r - 1 === t ? e.property + ":" + e.value : e.property + ":" + e.value + ";", serializeCssMedia = (e, t) => {
|
|
687
|
-
const r = serializeCssMapVisit(e, t.rules);
|
|
688
|
-
return "" === r ? "" : "@media " + removeMediaWhitespace(t.media) + "{" + r + "}";
|
|
689
|
-
}, serializeCssKeyframes = (e, t) => {
|
|
690
|
-
const r = serializeCssMapVisit(e, t.keyframes);
|
|
691
|
-
return "" === r ? "" : "@" + (t.vendor || "") + "keyframes " + t.name + "{" + r + "}";
|
|
692
|
-
}, serializeCssKeyframe = (e, t) => t.values.join(",") + "{" + serializeCssMapVisit(e, t.declarations) + "}", serializeCssFontFace = (e, t) => {
|
|
693
|
-
const r = serializeCssMapVisit(e, t.declarations);
|
|
694
|
-
return "" === r ? "" : "@font-face{" + r + "}";
|
|
695
|
-
}, serializeCssSupports = (e, t) => {
|
|
696
|
-
const r = serializeCssMapVisit(e, t.rules);
|
|
697
|
-
return "" === r ? "" : "@supports " + t.supports + "{" + r + "}";
|
|
698
|
-
}, serializeCssPage = (e, t) => "@page " + t.selectors.join(", ") + "{" + serializeCssMapVisit(e, t.declarations) + "}", serializeCssDocument = (e, t) => {
|
|
699
|
-
const r = serializeCssMapVisit(e, t.rules), s = "@" + (t.vendor || "") + "document " + t.document;
|
|
700
|
-
return "" === r ? "" : s + "{" + r + "}";
|
|
701
|
-
}, serializeCssMapVisit = (e, t) => {
|
|
702
|
-
let r = "";
|
|
703
|
-
if (t) for (let s = 0, n = t.length; s < n; s++) r += serializeCssVisitNode(e, t[s], s, n);
|
|
704
|
-
return r;
|
|
705
|
-
}, removeSelectorWhitespace = e => {
|
|
706
|
-
let t = "", r = "", s = !1;
|
|
707
|
-
for (let n = 0, o = (e = e.trim()).length; n < o; n++) if (r = e[n], "[" === r && "\\" !== t[t.length - 1] ? s = !0 : "]" === r && "\\" !== t[t.length - 1] && (s = !1),
|
|
708
|
-
!s && CSS_WS_REG.test(r)) {
|
|
709
|
-
if (CSS_NEXT_CHAR_REG.test(e[n + 1])) continue;
|
|
710
|
-
if (CSS_PREV_CHAR_REG.test(t[t.length - 1])) continue;
|
|
711
|
-
t += " ";
|
|
712
|
-
} else t += r;
|
|
713
|
-
return t;
|
|
714
|
-
}, removeMediaWhitespace = e => {
|
|
715
|
-
let t = "", r = "";
|
|
716
|
-
for (let s = 0, n = (e = e.trim()).length; s < n; s++) if (r = e[s], CSS_WS_REG.test(r)) {
|
|
717
|
-
if (CSS_WS_REG.test(t[t.length - 1])) continue;
|
|
718
|
-
t += " ";
|
|
719
|
-
} else t += r;
|
|
720
|
-
return t;
|
|
721
|
-
}, CSS_WS_REG = /\s/, CSS_NEXT_CHAR_REG = /[>\(\)\~\,\+\s]/, CSS_PREV_CHAR_REG = /[>\(\~\,\+]/, collectUsedSelectors = (e, t) => {
|
|
722
|
-
if (null != t && 1 === t.nodeType) {
|
|
723
|
-
const r = t.children, s = t.nodeName.toLowerCase();
|
|
724
|
-
e.tags.add(s);
|
|
725
|
-
const n = t.attributes;
|
|
726
|
-
for (let r = 0, s = n.length; r < s; r++) {
|
|
727
|
-
const s = n.item(r), o = s.name.toLowerCase();
|
|
728
|
-
if (e.attrs.add(o), "class" === o) {
|
|
729
|
-
const r = t.classList;
|
|
730
|
-
for (let t = 0, s = r.length; t < s; t++) e.classNames.add(r.item(t));
|
|
731
|
-
} else "id" === o && e.ids.add(s.value);
|
|
732
|
-
}
|
|
733
|
-
if (r) for (let t = 0, s = r.length; t < s; t++) collectUsedSelectors(e, r[t]);
|
|
734
|
-
}
|
|
735
|
-
}, removeUnusedStyleText = (e, t, r) => {
|
|
736
|
-
try {
|
|
737
|
-
const s = parseCss(r.innerHTML);
|
|
738
|
-
if (t.push(...s.diagnostics), hasError(t)) return;
|
|
739
|
-
try {
|
|
740
|
-
r.innerHTML = ((e, t) => {
|
|
741
|
-
const r = t.usedSelectors || null, s = {
|
|
742
|
-
usedSelectors: r || null,
|
|
743
|
-
hasUsedAttrs: !!r && r.attrs.size > 0,
|
|
744
|
-
hasUsedClassNames: !!r && r.classNames.size > 0,
|
|
745
|
-
hasUsedIds: !!r && r.ids.size > 0,
|
|
746
|
-
hasUsedTags: !!r && r.tags.size > 0
|
|
747
|
-
}, n = e.rules;
|
|
748
|
-
if (!n) return "";
|
|
749
|
-
const o = n.length, i = [];
|
|
750
|
-
for (let e = 0; e < o; e++) i.push(serializeCssVisitNode(s, n[e], e, o));
|
|
751
|
-
return i.join("");
|
|
752
|
-
})(s.stylesheet, {
|
|
753
|
-
usedSelectors: e
|
|
754
|
-
});
|
|
755
|
-
} catch (e) {
|
|
756
|
-
t.push({
|
|
757
|
-
level: "warn",
|
|
758
|
-
type: "css",
|
|
759
|
-
header: "CSS Stringify",
|
|
760
|
-
messageText: e
|
|
761
|
-
});
|
|
762
|
-
}
|
|
763
|
-
} catch (e) {
|
|
764
|
-
t.push({
|
|
765
|
-
level: "warn",
|
|
766
|
-
type: "css",
|
|
767
|
-
header: "CSS Parse",
|
|
768
|
-
messageText: e
|
|
769
|
-
});
|
|
770
|
-
}
|
|
771
|
-
}, SKIP_ATTRS = new Set([ "s-id", "c-id" ]), createHydrateBuildId = () => {
|
|
772
|
-
let e = "abcdefghijklmnopqrstuvwxyz", t = "";
|
|
773
|
-
for (;t.length < 8; ) t += e[Math.floor(Math.random() * e.length)], 1 === t.length && (e += "0123456789");
|
|
774
|
-
return t;
|
|
775
|
-
};
|
|
776
|
-
|
|
777
|
-
export { createWindowFromHtml, hydrateDocument, renderToString, serializeDocumentToString };
|