@postnord/pn-marketweb-components 2.3.12 → 2.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/{index-e3e27c79.js → index-4199ff85.js} +828 -278
- package/cjs/{index-28bbc937.js → index-95e5b7f9.js} +1 -1
- package/cjs/loader.cjs.js +3 -2
- package/cjs/pn-animated-tile.cjs.entry.js +5 -5
- package/cjs/pn-bonus-progressbar-level.cjs.entry.js +2 -2
- package/cjs/pn-bonus-progressbar.cjs.entry.js +2 -2
- package/cjs/pn-breakpoints.cjs.entry.js +2 -2
- package/cjs/pn-chart.cjs.entry.js +3 -2
- package/cjs/pn-charts-card.cjs.entry.js +10 -3
- package/cjs/pn-choice-button.cjs.entry.js +5 -2
- package/cjs/pn-customernumber-selector-option.cjs.entry.js +2 -2
- package/cjs/pn-customernumber-selector.cjs.entry.js +2 -2
- package/cjs/pn-filter-checkbox.cjs.entry.js +5 -2
- package/cjs/pn-find-price-result.cjs.entry.js +7 -4
- package/cjs/{pn-find-price-store-a91ce3f6.js → pn-find-price-store-e0d1e412.js} +1 -1
- package/cjs/pn-find-price.cjs.entry.js +4 -4
- package/cjs/pn-find-service-and-price-result.cjs.entry.js +4 -4
- package/cjs/{pn-find-service-and-price-store-16a7936c.js → pn-find-service-and-price-store-6e26630d.js} +1 -1
- package/cjs/pn-find-service-and-price.cjs.entry.js +4 -4
- package/cjs/pn-language-selector_9.cjs.entry.js +18 -42
- package/cjs/pn-line-shape.cjs.entry.js +2 -2
- package/cjs/pn-mainnav-link.cjs.entry.js +4 -10
- package/cjs/{pn-mainnav-store-61a75ea0.js → pn-mainnav-store-8c337865.js} +1 -1
- package/cjs/pn-market-web-components.cjs.js +6 -2
- package/cjs/pn-marketweb-input.cjs.entry.js +2 -7
- package/cjs/pn-marketweb-search.cjs.entry.js +2 -6
- package/cjs/pn-marketweb-sitefooter.cjs.entry.js +10 -15
- package/cjs/pn-marketweb-siteheader-login-button_5.cjs.entry.js +12 -10
- package/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js +4 -4
- package/cjs/{pn-marketweb-siteheader-store-e29ad918.js → pn-marketweb-siteheader-store-5ced6902.js} +1 -1
- package/cjs/pn-marketweb-siteheader.cjs.entry.js +10 -38
- package/cjs/pn-multi-formfield.cjs.entry.js +10 -10
- package/cjs/pn-parcel-tracker.cjs.entry.js +2 -2
- package/cjs/pn-pex-pricefinder.cjs.entry.js +2 -5
- package/cjs/pn-product-card_3.cjs.entry.js +15 -4
- package/cjs/pn-product-pricelist-result.cjs.entry.js +3 -3
- package/cjs/pn-product-pricelist.cjs.entry.js +4 -4
- package/cjs/pn-product-tile-info_2.cjs.entry.js +10 -3
- package/cjs/pn-product-tile.cjs.entry.js +2 -2
- package/cjs/pn-profile-modal-customernumber.cjs.entry.js +2 -2
- package/cjs/pn-profile-modal-profile.cjs.entry.js +4 -4
- package/cjs/{pn-profile-modal-store-6117e304.js → pn-profile-modal-store-947b08ae.js} +1 -1
- package/cjs/pn-profile-modal-type.cjs.entry.js +4 -4
- package/cjs/pn-profile-modal.cjs.entry.js +4 -4
- package/cjs/pn-profile-selector-option.cjs.entry.js +2 -2
- package/cjs/pn-profile-selector.cjs.entry.js +5 -5
- package/cjs/pn-proxio-findprice-result.cjs.entry.js +5 -2
- package/cjs/pn-proxio-findprice.cjs.entry.js +4 -4
- package/cjs/pn-proxio-pricegroup.cjs.entry.js +3 -5
- package/cjs/pn-proxio-productcard_4.cjs.entry.js +12 -5
- package/cjs/pn-quick-cta.cjs.entry.js +2 -2
- package/cjs/pn-quote-card.cjs.entry.js +2 -3
- package/cjs/pn-scroll.cjs.entry.js +2 -2
- package/cjs/pn-share-item.cjs.entry.js +2 -2
- package/cjs/pn-share.cjs.entry.js +3 -2
- package/cjs/pn-sidenav-level.cjs.entry.js +4 -4
- package/cjs/pn-sidenav-link.cjs.entry.js +4 -12
- package/cjs/{pn-sidenav-store-d9bd9e00.js → pn-sidenav-store-d2389306.js} +1 -1
- package/cjs/pn-sidenav-togglebutton.cjs.entry.js +4 -5
- package/cjs/pn-sidenav.cjs.entry.js +4 -6
- package/cjs/pn-site-footer_2.cjs.entry.js +3 -4
- package/cjs/pn-spotlight.cjs.entry.js +2 -2
- package/cjs/pn-stats-info-data.cjs.entry.js +8 -8
- package/cjs/pn-stats-info.cjs.entry.js +3 -2
- package/cjs/pn-teaser-card.cjs.entry.js +3 -4
- package/cjs/pn-titletag.cjs.entry.js +2 -4
- package/collection/collection-manifest.json +2 -2
- package/collection/components/animation/pn-animated-tile/pn-animated-tile.js +28 -26
- package/collection/components/animation/pn-scroll/pn-scroll.js +92 -86
- package/collection/components/cards/pn-quote-card/pn-line-shape/pn-line-shape.js +12 -11
- package/collection/components/cards/pn-quote-card/pn-quote-card.js +68 -79
- package/collection/components/cards/pn-teaser-card/pn-teaser-card.js +109 -113
- package/collection/components/charts/pn-chart/pn-chart.js +83 -74
- package/collection/components/charts/pn-charts-card/pn-charts-card.js +162 -169
- package/collection/components/cta/pn-parcel-tracker/pn-parcel-tracker.js +133 -128
- package/collection/components/cta/pn-quick-cta/pn-quick-cta.js +51 -49
- package/collection/components/cta/pn-share/pn-share-item.js +51 -50
- package/collection/components/cta/pn-share/pn-share.js +65 -60
- package/collection/components/cta/pn-spotlight/pn-spotlight.js +73 -71
- package/collection/components/data-visualization/pn-stats-info/pn-stats-info-data/pn-stats-info-data.js +120 -115
- package/collection/components/data-visualization/pn-stats-info/pn-stats-info.js +82 -78
- package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar-level.js +93 -87
- package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar.js +193 -195
- package/collection/components/input/pn-choice-button/pn-choice-button.js +145 -137
- package/collection/components/input/pn-filter-checkbox/pn-filter-checkbox.js +128 -122
- package/collection/components/input/pn-marketweb-input/pn-marketweb-input.js +347 -355
- package/collection/components/input/pn-marketweb-search/pn-marketweb-search.js +258 -260
- package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter-types.js +0 -3
- package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js +201 -221
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-button.js +34 -29
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-linklist.js +101 -101
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-links.js +110 -105
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-mypage-button.js +51 -45
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.js +174 -181
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js +259 -256
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.js +170 -172
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js +84 -75
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +509 -560
- package/collection/components/layout-components/pn-multi-formfield/pn-multi-formfield.js +105 -99
- package/collection/components/minor/pn-titletag/pn-titletag.js +51 -49
- package/collection/components/navigation/pn-language-selector/pn-language-selector-option.js +119 -123
- package/collection/components/navigation/pn-language-selector/pn-language-selector.js +71 -64
- package/collection/components/navigation/pn-mainnav/pn-mainnav-level.js +58 -58
- package/collection/components/navigation/pn-mainnav/pn-mainnav-link.js +92 -97
- package/collection/components/navigation/pn-mainnav/pn-mainnav-list.js +39 -33
- package/collection/components/navigation/pn-mainnav/pn-mainnav.js +182 -183
- package/collection/components/navigation/pn-sidenav/pn-sidenav-level.js +29 -22
- package/collection/components/navigation/pn-sidenav/pn-sidenav-link.js +128 -134
- package/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.js +39 -34
- package/collection/components/navigation/pn-sidenav/pn-sidenav.js +71 -66
- package/collection/components/navigation/pn-site-footer/pn-site-footer-col.js +34 -29
- package/collection/components/navigation/pn-site-footer/pn-site-footer.js +68 -75
- package/collection/components/navigation/pn-site-selector/pn-site-selector-item.js +85 -89
- package/collection/components/navigation/pn-site-selector/pn-site-selector.js +73 -73
- package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.js +68 -67
- package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.js +90 -90
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.js +85 -79
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.js +182 -188
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-type.js +91 -84
- package/collection/components/profile/pn-profile-modal/pn-profile-modal.js +116 -115
- package/collection/components/profile/pn-profile-selector/pn-profile-selector-option.js +68 -67
- package/collection/components/profile/pn-profile-selector/pn-profile-selector.js +78 -76
- package/collection/components/utilities/pn-breakpoints/pn-breakpoints.js +48 -42
- package/collection/components/widgets/pn-find-price/pn-find-price-result.js +163 -179
- package/collection/components/widgets/pn-find-price/pn-find-price.js +99 -113
- package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.js +66 -67
- package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.js +133 -148
- package/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.js +87 -102
- package/collection/components/widgets/pn-product-card/pn-product-card-info.js +92 -94
- package/collection/components/widgets/pn-product-card/pn-product-card-price.js +138 -131
- package/collection/components/widgets/pn-product-card/pn-product-card.js +12 -21
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.js +101 -108
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.js +137 -140
- package/collection/components/widgets/pn-product-tile/pn-product-tile-info.js +70 -62
- package/collection/components/widgets/pn-product-tile/pn-product-tile-price.js +87 -83
- package/collection/components/widgets/pn-product-tile/pn-product-tile.js +12 -16
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.js +205 -206
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.js +134 -152
- package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.js +130 -145
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.js +87 -82
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.js +55 -57
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-pricelink.js +85 -81
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.js +12 -20
- package/components/MarketWebContextService.js +318 -0
- package/components/_commonjsHelpers.js +32 -0
- package/components/convert.js +1823 -0
- package/components/data.js +37 -0
- package/components/index.d.ts +105 -0
- package/components/index.js +76 -0
- package/components/index2.js +59 -0
- package/components/index3.js +187 -0
- package/components/pn-animated-tile.d.ts +11 -0
- package/components/pn-animated-tile.js +52 -0
- package/components/pn-bonus-progressbar-level.d.ts +11 -0
- package/components/pn-bonus-progressbar-level.js +65 -0
- package/components/pn-bonus-progressbar.d.ts +11 -0
- package/components/pn-bonus-progressbar.js +128 -0
- package/components/pn-breakpoints.d.ts +11 -0
- package/components/pn-breakpoints.js +45 -0
- package/components/pn-chart.d.ts +11 -0
- package/components/pn-chart.js +22151 -0
- package/components/pn-charts-card.d.ts +11 -0
- package/components/pn-charts-card.js +57 -0
- package/components/pn-choice-button.d.ts +11 -0
- package/components/pn-choice-button.js +6 -0
- package/components/pn-choice-button2.js +61 -0
- package/components/pn-customernumber-selector-option.d.ts +11 -0
- package/components/pn-customernumber-selector-option.js +41 -0
- package/components/pn-customernumber-selector.d.ts +11 -0
- package/components/pn-customernumber-selector.js +77 -0
- package/components/pn-filter-checkbox.d.ts +11 -0
- package/components/pn-filter-checkbox.js +93 -0
- package/components/pn-find-price-result.d.ts +11 -0
- package/components/pn-find-price-result.js +6 -0
- package/components/pn-find-price-result2.js +192 -0
- package/components/pn-find-price.d.ts +11 -0
- package/components/pn-find-price.js +281 -0
- package/components/pn-find-service-and-price-result.d.ts +11 -0
- package/components/pn-find-service-and-price-result.js +6 -0
- package/components/pn-find-service-and-price-result2.js +96 -0
- package/components/pn-find-service-and-price.d.ts +11 -0
- package/components/pn-find-service-and-price.js +314 -0
- package/components/pn-language-selector-option.d.ts +11 -0
- package/components/pn-language-selector-option.js +6 -0
- package/components/pn-language-selector-option2.js +51 -0
- package/components/pn-language-selector.d.ts +11 -0
- package/components/pn-language-selector.js +6 -0
- package/components/pn-language-selector2.js +142 -0
- package/components/pn-line-shape.d.ts +11 -0
- package/components/pn-line-shape.js +35 -0
- package/components/pn-mainnav-level.d.ts +11 -0
- package/components/pn-mainnav-level.js +6 -0
- package/components/pn-mainnav-level2.js +117 -0
- package/components/pn-mainnav-link.d.ts +11 -0
- package/components/pn-mainnav-link.js +6 -0
- package/components/pn-mainnav-link2.js +57 -0
- package/components/pn-mainnav-list.d.ts +11 -0
- package/components/pn-mainnav-list.js +6 -0
- package/components/pn-mainnav-list2.js +39 -0
- package/{esm/pn-mainnav-store-28571e54.js → components/pn-mainnav-store.js} +1 -1
- package/components/pn-mainnav.d.ts +11 -0
- package/components/pn-mainnav.js +6 -0
- package/components/pn-mainnav2.js +120 -0
- package/components/pn-marketweb-input.d.ts +11 -0
- package/components/pn-marketweb-input.js +6 -0
- package/components/pn-marketweb-input2.js +102 -0
- package/components/pn-marketweb-search.d.ts +11 -0
- package/components/pn-marketweb-search.js +129 -0
- package/components/pn-marketweb-sitefooter.d.ts +11 -0
- package/components/pn-marketweb-sitefooter.js +335 -0
- package/components/pn-marketweb-siteheader-login-button.d.ts +11 -0
- package/components/pn-marketweb-siteheader-login-button.js +6 -0
- package/components/pn-marketweb-siteheader-login-button2.js +79 -0
- package/components/pn-marketweb-siteheader-login-linklist.d.ts +11 -0
- package/components/pn-marketweb-siteheader-login-linklist.js +6 -0
- package/components/pn-marketweb-siteheader-login-linklist2.js +105 -0
- package/components/pn-marketweb-siteheader-login-links.d.ts +11 -0
- package/components/pn-marketweb-siteheader-login-links.js +6 -0
- package/components/pn-marketweb-siteheader-login-links2.js +116 -0
- package/components/pn-marketweb-siteheader-login-mypage-button.d.ts +11 -0
- package/components/pn-marketweb-siteheader-login-mypage-button.js +6 -0
- package/components/pn-marketweb-siteheader-login-mypage-button2.js +36 -0
- package/components/pn-marketweb-siteheader-login-profileselection.d.ts +11 -0
- package/components/pn-marketweb-siteheader-login-profileselection.js +6 -0
- package/components/pn-marketweb-siteheader-login-profileselection2.js +244 -0
- package/components/pn-marketweb-siteheader-login.d.ts +11 -0
- package/components/pn-marketweb-siteheader-login.js +6 -0
- package/components/pn-marketweb-siteheader-login2.js +589 -0
- package/components/pn-marketweb-siteheader-search.d.ts +11 -0
- package/components/pn-marketweb-siteheader-search.js +6 -0
- package/components/pn-marketweb-siteheader-search2.js +131 -0
- package/components/pn-marketweb-siteheader-unified-login.d.ts +11 -0
- package/components/pn-marketweb-siteheader-unified-login.js +6 -0
- package/components/pn-marketweb-siteheader-unified-login2.js +52 -0
- package/components/pn-marketweb-siteheader.d.ts +11 -0
- package/components/pn-marketweb-siteheader.js +560 -0
- package/components/pn-multi-formfield.d.ts +11 -0
- package/components/pn-multi-formfield.js +277 -0
- package/components/pn-parcel-tracker.d.ts +11 -0
- package/components/pn-parcel-tracker.js +58 -0
- package/components/pn-pex-pricefinder.d.ts +11 -0
- package/components/pn-pex-pricefinder.js +156 -0
- package/components/pn-product-card-info.d.ts +11 -0
- package/components/pn-product-card-info.js +6 -0
- package/components/pn-product-card-info2.js +45 -0
- package/components/pn-product-card-price.d.ts +11 -0
- package/components/pn-product-card-price.js +6 -0
- package/components/pn-product-card-price2.js +48 -0
- package/components/pn-product-card.d.ts +11 -0
- package/components/pn-product-card.js +6 -0
- package/components/pn-product-card2.js +30 -0
- package/components/pn-product-pricelist-result.d.ts +11 -0
- package/components/pn-product-pricelist-result.js +130 -0
- package/components/pn-product-pricelist.d.ts +11 -0
- package/components/pn-product-pricelist.js +259 -0
- package/components/pn-product-tile-info.d.ts +11 -0
- package/components/pn-product-tile-info.js +6 -0
- package/components/pn-product-tile-info2.js +38 -0
- package/components/pn-product-tile-price.d.ts +11 -0
- package/components/pn-product-tile-price.js +6 -0
- package/components/pn-product-tile-price2.js +42 -0
- package/components/pn-product-tile.d.ts +11 -0
- package/components/pn-product-tile.js +33 -0
- package/components/pn-profile-modal-customernumber.d.ts +11 -0
- package/components/pn-profile-modal-customernumber.js +46 -0
- package/components/pn-profile-modal-profile.d.ts +11 -0
- package/components/pn-profile-modal-profile.js +71 -0
- package/{esm/pn-profile-modal-store-ae9e0d5a.js → components/pn-profile-modal-store.js} +1 -1
- package/components/pn-profile-modal-type.d.ts +11 -0
- package/components/pn-profile-modal-type.js +56 -0
- package/components/pn-profile-modal.d.ts +11 -0
- package/components/pn-profile-modal.js +92 -0
- package/components/pn-profile-selector-option.d.ts +11 -0
- package/components/pn-profile-selector-option.js +41 -0
- package/components/pn-profile-selector.d.ts +11 -0
- package/components/pn-profile-selector.js +79 -0
- package/components/pn-proxio-findprice-result.d.ts +11 -0
- package/components/pn-proxio-findprice-result.js +6 -0
- package/components/pn-proxio-findprice-result2.js +124 -0
- package/components/pn-proxio-findprice.d.ts +11 -0
- package/components/pn-proxio-findprice.js +454 -0
- package/components/pn-proxio-pricegroup.d.ts +11 -0
- package/components/pn-proxio-pricegroup.js +194 -0
- package/components/pn-proxio-productcard-description.d.ts +11 -0
- package/components/pn-proxio-productcard-description.js +6 -0
- package/components/pn-proxio-productcard-description2.js +43 -0
- package/components/pn-proxio-productcard-information.d.ts +11 -0
- package/components/pn-proxio-productcard-information.js +6 -0
- package/components/pn-proxio-productcard-information2.js +37 -0
- package/components/pn-proxio-productcard-pricelink.d.ts +11 -0
- package/components/pn-proxio-productcard-pricelink.js +6 -0
- package/components/pn-proxio-productcard-pricelink2.js +40 -0
- package/components/pn-proxio-productcard.d.ts +11 -0
- package/components/pn-proxio-productcard.js +6 -0
- package/components/pn-proxio-productcard2.js +30 -0
- package/components/pn-quick-cta.d.ts +11 -0
- package/components/pn-quick-cta.js +39 -0
- package/components/pn-quote-card.d.ts +11 -0
- package/components/pn-quote-card.js +41 -0
- package/components/pn-scroll.d.ts +11 -0
- package/components/pn-scroll.js +79 -0
- package/components/pn-share-item.d.ts +11 -0
- package/components/pn-share-item.js +6 -0
- package/components/pn-share-item2.js +36 -0
- package/components/pn-share.d.ts +11 -0
- package/components/pn-share.js +89 -0
- package/components/pn-sidenav-level.d.ts +11 -0
- package/components/pn-sidenav-level.js +84 -0
- package/components/pn-sidenav-link.d.ts +11 -0
- package/components/pn-sidenav-link.js +87 -0
- package/{esm/pn-sidenav-store-50b186d6.js → components/pn-sidenav-store.js} +1 -1
- package/components/pn-sidenav-togglebutton.d.ts +11 -0
- package/components/pn-sidenav-togglebutton.js +45 -0
- package/components/pn-sidenav.d.ts +11 -0
- package/components/pn-sidenav.js +95 -0
- package/components/pn-site-footer-col.d.ts +11 -0
- package/components/pn-site-footer-col.js +6 -0
- package/components/pn-site-footer-col2.js +33 -0
- package/components/pn-site-footer.d.ts +11 -0
- package/components/pn-site-footer.js +6 -0
- package/components/pn-site-footer2.js +38 -0
- package/components/pn-site-selector-item.d.ts +11 -0
- package/components/pn-site-selector-item.js +6 -0
- package/components/pn-site-selector-item2.js +39 -0
- package/components/pn-site-selector.d.ts +11 -0
- package/components/pn-site-selector.js +6 -0
- package/components/pn-site-selector2.js +69 -0
- package/components/pn-spotlight.d.ts +11 -0
- package/components/pn-spotlight.js +47 -0
- package/components/pn-stats-info-data.d.ts +11 -0
- package/components/pn-stats-info-data.js +6 -0
- package/components/pn-stats-info-data2.js +93 -0
- package/components/pn-stats-info.d.ts +11 -0
- package/components/pn-stats-info.js +59 -0
- package/components/pn-teaser-card.d.ts +11 -0
- package/components/pn-teaser-card.js +56 -0
- package/components/pn-titletag.d.ts +11 -0
- package/components/pn-titletag.js +6 -0
- package/components/pn-titletag2.js +36 -0
- package/components/translations.js +19 -0
- package/components/v4.js +66 -0
- package/esm/{index-7b21ecff.js → index-7f77b0ba.js} +1 -1
- package/esm/{index-5397620b.js → index-c118284d.js} +828 -279
- package/esm/loader.js +3 -2
- package/esm/pn-animated-tile.entry.js +5 -5
- package/esm/pn-bonus-progressbar-level.entry.js +2 -2
- package/esm/pn-bonus-progressbar.entry.js +2 -2
- package/esm/pn-breakpoints.entry.js +2 -2
- package/esm/pn-chart.entry.js +3 -2
- package/esm/pn-charts-card.entry.js +10 -3
- package/esm/pn-choice-button.entry.js +5 -2
- package/esm/pn-customernumber-selector-option.entry.js +2 -2
- package/esm/pn-customernumber-selector.entry.js +2 -2
- package/esm/pn-filter-checkbox.entry.js +5 -2
- package/esm/pn-find-price-result.entry.js +7 -4
- package/esm/{pn-find-price-store-bde5071d.js → pn-find-price-store-e13b6651.js} +1 -1
- package/esm/pn-find-price.entry.js +4 -4
- package/esm/pn-find-service-and-price-result.entry.js +4 -4
- package/esm/{pn-find-service-and-price-store-65df46a0.js → pn-find-service-and-price-store-f09ca219.js} +1 -1
- package/esm/pn-find-service-and-price.entry.js +4 -4
- package/esm/pn-language-selector_9.entry.js +18 -42
- package/esm/pn-line-shape.entry.js +2 -2
- package/esm/pn-mainnav-link.entry.js +4 -10
- package/esm/pn-mainnav-store-5d91f523.js +17 -0
- package/esm/pn-market-web-components.js +3 -2
- package/esm/pn-marketweb-input.entry.js +2 -7
- package/esm/pn-marketweb-search.entry.js +2 -6
- package/esm/pn-marketweb-sitefooter.entry.js +10 -15
- package/esm/pn-marketweb-siteheader-login-button_5.entry.js +12 -10
- package/esm/pn-marketweb-siteheader-login-linklist.entry.js +4 -4
- package/esm/{pn-marketweb-siteheader-store-cd0a1dab.js → pn-marketweb-siteheader-store-9df5290d.js} +1 -1
- package/esm/pn-marketweb-siteheader.entry.js +10 -38
- package/esm/pn-multi-formfield.entry.js +10 -10
- package/esm/pn-parcel-tracker.entry.js +2 -2
- package/esm/pn-pex-pricefinder.entry.js +2 -5
- package/esm/pn-product-card_3.entry.js +15 -4
- package/esm/pn-product-pricelist-result.entry.js +3 -3
- package/esm/pn-product-pricelist.entry.js +4 -4
- package/esm/pn-product-tile-info_2.entry.js +10 -3
- package/esm/pn-product-tile.entry.js +2 -2
- package/esm/pn-profile-modal-customernumber.entry.js +2 -2
- package/esm/pn-profile-modal-profile.entry.js +4 -4
- package/esm/pn-profile-modal-store-81f53310.js +15 -0
- package/esm/pn-profile-modal-type.entry.js +4 -4
- package/esm/pn-profile-modal.entry.js +4 -4
- package/esm/pn-profile-selector-option.entry.js +2 -2
- package/esm/pn-profile-selector.entry.js +5 -5
- package/esm/pn-proxio-findprice-result.entry.js +5 -2
- package/esm/pn-proxio-findprice.entry.js +4 -4
- package/esm/pn-proxio-pricegroup.entry.js +3 -5
- package/esm/pn-proxio-productcard_4.entry.js +12 -5
- package/esm/pn-quick-cta.entry.js +2 -2
- package/esm/pn-quote-card.entry.js +2 -3
- package/esm/pn-scroll.entry.js +2 -2
- package/esm/pn-share-item.entry.js +2 -2
- package/esm/pn-share.entry.js +3 -2
- package/esm/pn-sidenav-level.entry.js +4 -4
- package/esm/pn-sidenav-link.entry.js +4 -12
- package/esm/pn-sidenav-store-94be19c8.js +14 -0
- package/esm/pn-sidenav-togglebutton.entry.js +4 -5
- package/esm/pn-sidenav.entry.js +4 -6
- package/esm/pn-site-footer_2.entry.js +3 -4
- package/esm/pn-spotlight.entry.js +2 -2
- package/esm/pn-stats-info-data.entry.js +8 -8
- package/esm/pn-stats-info.entry.js +3 -2
- package/esm/pn-teaser-card.entry.js +3 -4
- package/esm/pn-titletag.entry.js +2 -4
- package/esm/polyfills/css-shim.js +1 -1
- package/esm-es5/MarketWebContextService-3ed3fe80.js +1 -1
- package/esm-es5/convert-f6377d13.js +1 -1
- package/esm-es5/{index-7b21ecff.js → index-7f77b0ba.js} +1 -1
- package/esm-es5/index-c118284d.js +1 -0
- package/esm-es5/loader.js +1 -1
- package/esm-es5/pn-animated-tile.entry.js +1 -1
- package/esm-es5/pn-bonus-progressbar-level.entry.js +1 -1
- package/esm-es5/pn-bonus-progressbar.entry.js +1 -1
- package/esm-es5/pn-breakpoints.entry.js +1 -1
- package/esm-es5/pn-chart.entry.js +2 -2
- package/esm-es5/pn-charts-card.entry.js +1 -1
- package/esm-es5/pn-choice-button.entry.js +1 -1
- package/esm-es5/pn-customernumber-selector-option.entry.js +1 -1
- package/esm-es5/pn-customernumber-selector.entry.js +1 -1
- package/esm-es5/pn-filter-checkbox.entry.js +1 -1
- package/esm-es5/pn-find-price-result.entry.js +1 -1
- package/esm-es5/{pn-find-price-store-bde5071d.js → pn-find-price-store-e13b6651.js} +1 -1
- package/esm-es5/pn-find-price.entry.js +1 -1
- package/esm-es5/pn-find-service-and-price-result.entry.js +1 -1
- package/esm-es5/{pn-find-service-and-price-store-65df46a0.js → pn-find-service-and-price-store-f09ca219.js} +1 -1
- package/esm-es5/pn-find-service-and-price.entry.js +1 -1
- package/esm-es5/pn-language-selector_9.entry.js +1 -1
- package/esm-es5/pn-line-shape.entry.js +1 -1
- package/esm-es5/pn-mainnav-link.entry.js +1 -1
- package/esm-es5/{pn-mainnav-store-28571e54.js → pn-mainnav-store-5d91f523.js} +1 -1
- package/esm-es5/pn-market-web-components.js +1 -1
- package/esm-es5/pn-marketweb-input.entry.js +1 -1
- package/esm-es5/pn-marketweb-search.entry.js +1 -1
- package/esm-es5/pn-marketweb-sitefooter.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader-login-button_5.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader-login-linklist.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader-store-9df5290d.js +1 -0
- package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
- package/esm-es5/pn-multi-formfield.entry.js +1 -1
- package/esm-es5/pn-parcel-tracker.entry.js +1 -1
- package/esm-es5/pn-pex-pricefinder.entry.js +1 -1
- package/esm-es5/pn-product-card_3.entry.js +1 -1
- package/esm-es5/pn-product-pricelist-result.entry.js +1 -1
- package/esm-es5/pn-product-pricelist.entry.js +1 -1
- package/esm-es5/pn-product-tile-info_2.entry.js +1 -1
- package/esm-es5/pn-product-tile.entry.js +1 -1
- package/esm-es5/pn-profile-modal-customernumber.entry.js +1 -1
- package/esm-es5/pn-profile-modal-profile.entry.js +1 -1
- package/esm-es5/{pn-profile-modal-store-ae9e0d5a.js → pn-profile-modal-store-81f53310.js} +1 -1
- package/esm-es5/pn-profile-modal-type.entry.js +1 -1
- package/esm-es5/pn-profile-modal.entry.js +1 -1
- package/esm-es5/pn-profile-selector-option.entry.js +1 -1
- package/esm-es5/pn-profile-selector.entry.js +1 -1
- package/esm-es5/pn-proxio-findprice-result.entry.js +1 -1
- package/esm-es5/pn-proxio-findprice.entry.js +1 -1
- package/esm-es5/pn-proxio-pricegroup.entry.js +1 -1
- package/esm-es5/pn-proxio-productcard_4.entry.js +1 -1
- package/esm-es5/pn-quick-cta.entry.js +1 -1
- package/esm-es5/pn-quote-card.entry.js +1 -1
- package/esm-es5/pn-scroll.entry.js +1 -1
- package/esm-es5/pn-share-item.entry.js +1 -1
- package/esm-es5/pn-share.entry.js +1 -1
- package/esm-es5/pn-sidenav-level.entry.js +1 -1
- package/esm-es5/pn-sidenav-link.entry.js +1 -1
- package/esm-es5/{pn-sidenav-store-50b186d6.js → pn-sidenav-store-94be19c8.js} +1 -1
- package/esm-es5/pn-sidenav-togglebutton.entry.js +1 -1
- package/esm-es5/pn-sidenav.entry.js +1 -1
- package/esm-es5/pn-site-footer_2.entry.js +1 -1
- package/esm-es5/pn-spotlight.entry.js +1 -1
- package/esm-es5/pn-stats-info-data.entry.js +1 -1
- package/esm-es5/pn-stats-info.entry.js +1 -1
- package/esm-es5/pn-teaser-card.entry.js +1 -1
- package/esm-es5/pn-titletag.entry.js +1 -1
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +21 -0
- package/loader/index.es2017.js +3 -0
- package/{umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/es5-html-element.js → loader/index.js} +4 -1
- package/loader/package.json +11 -0
- package/package.json +7 -5
- package/pn-market-web-components/{p-3d05a6c1.system.entry.js → p-0159804c.system.entry.js} +1 -1
- package/pn-market-web-components/{p-13baed17.system.entry.js → p-02632961.system.entry.js} +1 -1
- package/pn-market-web-components/p-0f1115aa.entry.js +1 -0
- package/pn-market-web-components/p-0fbcacf3.system.entry.js +1 -0
- package/pn-market-web-components/p-12f461db.entry.js +1 -0
- package/pn-market-web-components/{p-3738a2df.system.js → p-13d2d138.system.js} +1 -1
- package/pn-market-web-components/p-14d288d5.entry.js +1 -0
- package/pn-market-web-components/p-1545fb34.entry.js +1 -0
- package/pn-market-web-components/p-156fedd7.entry.js +1 -0
- package/pn-market-web-components/p-15e680a8.entry.js +1 -0
- package/pn-market-web-components/p-1646c170.system.entry.js +1 -0
- package/pn-market-web-components/p-17fb8d9e.entry.js +1 -0
- package/pn-market-web-components/p-186266ae.system.entry.js +1 -0
- package/pn-market-web-components/p-18abec91.entry.js +1 -0
- package/pn-market-web-components/p-1a064ded.entry.js +1 -0
- package/pn-market-web-components/p-1a9b2a0e.system.entry.js +1 -0
- package/pn-market-web-components/p-1c382898.entry.js +1 -0
- package/pn-market-web-components/{p-fc1083d2.system.entry.js → p-1d50340b.system.entry.js} +1 -1
- package/pn-market-web-components/p-1d9de480.system.entry.js +1 -0
- package/pn-market-web-components/{p-1ce871c5.system.entry.js → p-1fb4eae4.system.entry.js} +1 -1
- package/pn-market-web-components/{p-80dce81e.system.entry.js → p-2145d5e0.system.entry.js} +1 -1
- package/pn-market-web-components/{p-a1cf4618.system.entry.js → p-2844f3b2.system.entry.js} +1 -1
- package/pn-market-web-components/{p-8e890ab1.system.entry.js → p-29d0ec91.system.entry.js} +1 -1
- package/pn-market-web-components/p-2a5cd298.entry.js +1 -0
- package/pn-market-web-components/{p-c9fb0f01.system.entry.js → p-2e507907.system.entry.js} +2 -2
- package/pn-market-web-components/p-31b703f9.entry.js +1 -0
- package/pn-market-web-components/p-34c0b146.entry.js +1 -0
- package/pn-market-web-components/p-368dbf3c.system.entry.js +1 -0
- package/pn-market-web-components/p-37d26cef.entry.js +1 -0
- package/pn-market-web-components/p-38f135fd.entry.js +1 -0
- package/pn-market-web-components/{p-a5f75560.system.js → p-396b254a.system.js} +1 -1
- package/pn-market-web-components/{p-94958580.system.js → p-3a450371.system.js} +1 -1
- package/pn-market-web-components/p-3d8925bd.entry.js +1 -0
- package/pn-market-web-components/p-3d89445b.entry.js +1 -0
- package/pn-market-web-components/{p-add7d76c.system.js → p-441249d9.system.js} +1 -1
- package/pn-market-web-components/p-44c05fba.entry.js +1 -0
- package/pn-market-web-components/p-44f58f15.js +1 -0
- package/pn-market-web-components/p-47d717a3.entry.js +1 -0
- package/pn-market-web-components/p-48c74c53.entry.js +1 -0
- package/pn-market-web-components/p-49f60496.entry.js +1 -0
- package/pn-market-web-components/p-4b2e76e9.entry.js +1 -0
- package/pn-market-web-components/{p-7079df88.system.entry.js → p-4d561de4.system.entry.js} +1 -1
- package/pn-market-web-components/p-4ef54288.entry.js +1 -0
- package/pn-market-web-components/p-507f8886.entry.js +1 -0
- package/pn-market-web-components/p-530be6fe.entry.js +1 -0
- package/pn-market-web-components/p-54544560.system.entry.js +1 -0
- package/pn-market-web-components/{p-74d35edf.system.entry.js → p-545a40a7.system.entry.js} +1 -1
- package/pn-market-web-components/p-5521aeaa.entry.js +1 -0
- package/pn-market-web-components/{p-4a03854b.system.entry.js → p-589a9a4c.system.entry.js} +1 -1
- package/pn-market-web-components/p-59024d31.entry.js +1 -0
- package/pn-market-web-components/{p-c62a91ba.system.entry.js → p-5a41c1bb.system.entry.js} +1 -1
- package/pn-market-web-components/{p-723b9901.system.entry.js → p-5a506356.system.entry.js} +1 -1
- package/pn-market-web-components/p-5a6761da.js +1 -0
- package/pn-market-web-components/p-5e768b73.entry.js +1 -0
- package/pn-market-web-components/{p-f782ce94.system.entry.js → p-658f6ff7.system.entry.js} +1 -1
- package/pn-market-web-components/{p-8117b79e.system.entry.js → p-68324e6f.system.entry.js} +1 -1
- package/pn-market-web-components/{p-9c3de760.system.entry.js → p-6a4ae9af.system.entry.js} +1 -1
- package/pn-market-web-components/p-6b5ff47f.entry.js +1 -0
- package/pn-market-web-components/{p-7b9fb94f.system.entry.js → p-6d050c3a.system.entry.js} +1 -1
- package/pn-market-web-components/{p-02ea55ad.system.js → p-6f1d6a1a.system.js} +1 -1
- package/pn-market-web-components/p-73ee3141.entry.js +1 -0
- package/pn-market-web-components/{p-ecf712bb.system.entry.js → p-752616b7.system.entry.js} +1 -1
- package/pn-market-web-components/p-7620beb6.entry.js +1 -0
- package/pn-market-web-components/p-773b59c0.entry.js +24 -0
- package/pn-market-web-components/p-7c1b31e8.js +2 -0
- package/pn-market-web-components/p-7d992089.entry.js +1 -0
- package/pn-market-web-components/p-7dff99ed.entry.js +1 -0
- package/pn-market-web-components/p-8079dfd5.system.entry.js +1 -0
- package/pn-market-web-components/p-82db879c.entry.js +1 -0
- package/pn-market-web-components/p-833bab34.entry.js +1 -0
- package/pn-market-web-components/{p-290d5824.system.entry.js → p-853e6559.system.entry.js} +1 -1
- package/pn-market-web-components/{p-f58bde56.js → p-8666d14d.js} +1 -1
- package/pn-market-web-components/p-8766fa86.system.js +1 -1
- package/pn-market-web-components/p-87fd21d8.entry.js +1 -0
- package/pn-market-web-components/{p-054f8b3a.system.entry.js → p-8805bc30.system.entry.js} +1 -1
- package/pn-market-web-components/{p-086a72ca.system.entry.js → p-893a4a26.system.entry.js} +1 -1
- package/pn-market-web-components/{p-450cbe76.system.entry.js → p-8ca063a9.system.entry.js} +1 -1
- package/pn-market-web-components/{p-9edaf6b6.system.entry.js → p-8cefd900.system.entry.js} +1 -1
- package/pn-market-web-components/p-8e62ef84.system.entry.js +1 -0
- package/pn-market-web-components/p-8f32fa2b.system.entry.js +1 -0
- package/pn-market-web-components/{p-58a57436.system.entry.js → p-8fee0115.system.entry.js} +1 -1
- package/pn-market-web-components/{p-aa271997.system.entry.js → p-9010c32a.system.entry.js} +1 -1
- package/pn-market-web-components/{p-f312ff98.system.entry.js → p-939b5792.system.entry.js} +1 -1
- package/pn-market-web-components/p-97564852.entry.js +1 -0
- package/pn-market-web-components/p-9a1c267d.entry.js +1 -0
- package/pn-market-web-components/p-9ed7a18f.entry.js +1 -0
- package/pn-market-web-components/{p-4f67721e.system.entry.js → p-9f95b3c9.system.entry.js} +1 -1
- package/pn-market-web-components/{p-0cacf9fb.js → p-a1a58fe4.js} +1 -1
- package/pn-market-web-components/p-a5faec68.system.js +2 -0
- package/pn-market-web-components/p-a799fee1.entry.js +1 -0
- package/pn-market-web-components/p-aaa94bee.system.entry.js +1 -0
- package/pn-market-web-components/{p-2718b89a.system.entry.js → p-abfed655.system.entry.js} +1 -1
- package/pn-market-web-components/p-ac62dc33.entry.js +1 -0
- package/pn-market-web-components/p-ad1f57dc.entry.js +1 -0
- package/pn-market-web-components/{p-dbe032f7.system.js → p-ad836c55.system.js} +1 -1
- package/pn-market-web-components/p-b0102ff6.entry.js +1 -0
- package/pn-market-web-components/{p-625fb7fb.system.entry.js → p-b890f3f9.system.entry.js} +1 -1
- package/pn-market-web-components/{p-d790293c.system.entry.js → p-bab17118.system.entry.js} +1 -1
- package/pn-market-web-components/p-bdd1ec55.entry.js +1 -0
- package/pn-market-web-components/p-beefd9f7.entry.js +1 -0
- package/pn-market-web-components/p-bfe239ca.js +1 -1
- package/pn-market-web-components/p-c0db1ffd.js +1 -0
- package/pn-market-web-components/p-c1d9a064.entry.js +1 -0
- package/pn-market-web-components/{p-84699999.js → p-c5727e83.js} +1 -1
- package/pn-market-web-components/{p-447ef543.system.entry.js → p-c576ac3e.system.entry.js} +1 -1
- package/pn-market-web-components/p-c668f453.entry.js +1 -0
- package/pn-market-web-components/p-cb53b67f.system.js +1 -1
- package/pn-market-web-components/{p-879c0887.system.entry.js → p-cccb53f2.system.entry.js} +1 -1
- package/pn-market-web-components/p-d295ef71.system.js +1 -0
- package/pn-market-web-components/{p-825b8fb8.system.js → p-d34c9be2.system.js} +1 -1
- package/pn-market-web-components/p-d3c1d6f0.entry.js +1 -0
- package/pn-market-web-components/p-d5ae9797.entry.js +1 -0
- package/pn-market-web-components/p-d6ee168b.system.entry.js +1 -0
- package/pn-market-web-components/p-d70e685c.entry.js +1 -0
- package/pn-market-web-components/p-dbd7837e.entry.js +1 -0
- package/pn-market-web-components/p-dc598ef8.entry.js +1 -0
- package/pn-market-web-components/p-dce8a335.system.entry.js +1 -0
- package/pn-market-web-components/p-e0e45eb0.system.entry.js +1 -0
- package/pn-market-web-components/p-e2abebd7.entry.js +1 -0
- package/pn-market-web-components/{p-36a1b8e1.system.entry.js → p-e4961116.system.entry.js} +1 -1
- package/pn-market-web-components/p-e4fbd06c.entry.js +1 -0
- package/pn-market-web-components/p-e54c80d8.system.entry.js +1 -0
- package/pn-market-web-components/{p-93cecc43.system.entry.js → p-e737c51d.system.entry.js} +1 -1
- package/pn-market-web-components/p-e7f43cc2.entry.js +1 -0
- package/pn-market-web-components/{p-86f06e26.js → p-ecaad0c1.js} +1 -1
- package/pn-market-web-components/p-ed5e91eb.system.entry.js +1 -0
- package/pn-market-web-components/{p-e6fa11ad.system.entry.js → p-ef721555.system.entry.js} +1 -1
- package/pn-market-web-components/{p-41220f82.system.entry.js → p-f2817445.system.entry.js} +1 -1
- package/pn-market-web-components/{p-1151bf60.system.entry.js → p-f7cb2ef9.system.entry.js} +1 -1
- package/pn-market-web-components/{p-a864fbed.system.entry.js → p-fca11f16.system.entry.js} +1 -1
- package/pn-market-web-components/{p-47f4f5b5.system.entry.js → p-fe0d832d.system.entry.js} +1 -1
- package/pn-market-web-components/{p-b88337dd.system.entry.js → p-ffe18938.system.entry.js} +1 -1
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/pn-market-web-components/pn-market-web-components.js +2 -1
- package/types/components.d.ts +58 -22
- package/types/stencil-public-runtime.d.ts +79 -7
- package/custom-elements/index.d.ts +0 -489
- package/custom-elements/index.js +0 -30532
- package/esm-es5/index-5397620b.js +0 -1
- package/esm-es5/pn-marketweb-siteheader-store-cd0a1dab.js +0 -1
- package/pn-market-web-components/p-0796f9b2.entry.js +0 -1
- package/pn-market-web-components/p-07ca420d.entry.js +0 -1
- package/pn-market-web-components/p-138b1e76.entry.js +0 -1
- package/pn-market-web-components/p-15112837.entry.js +0 -1
- package/pn-market-web-components/p-16c4bc50.entry.js +0 -1
- package/pn-market-web-components/p-17c4004f.entry.js +0 -1
- package/pn-market-web-components/p-1ca41ab1.entry.js +0 -1
- package/pn-market-web-components/p-21c01c47.entry.js +0 -1
- package/pn-market-web-components/p-227e1d46.entry.js +0 -1
- package/pn-market-web-components/p-2da8e5e8.system.entry.js +0 -1
- package/pn-market-web-components/p-2e2dfb79.entry.js +0 -1
- package/pn-market-web-components/p-2e3bde56.entry.js +0 -1
- package/pn-market-web-components/p-3343610e.entry.js +0 -1
- package/pn-market-web-components/p-35fcd76c.system.entry.js +0 -1
- package/pn-market-web-components/p-36654f2a.system.js +0 -1
- package/pn-market-web-components/p-381b3ec0.entry.js +0 -1
- package/pn-market-web-components/p-381c034b.entry.js +0 -1
- package/pn-market-web-components/p-3969ec4d.entry.js +0 -1
- package/pn-market-web-components/p-397514bc.system.entry.js +0 -1
- package/pn-market-web-components/p-3f4a0538.entry.js +0 -1
- package/pn-market-web-components/p-468025b2.system.entry.js +0 -1
- package/pn-market-web-components/p-479b970a.entry.js +0 -1
- package/pn-market-web-components/p-499bb3ac.entry.js +0 -1
- package/pn-market-web-components/p-4bef1bf3.entry.js +0 -1
- package/pn-market-web-components/p-4de40b15.entry.js +0 -1
- package/pn-market-web-components/p-557328e3.system.entry.js +0 -1
- package/pn-market-web-components/p-5776275b.entry.js +0 -1
- package/pn-market-web-components/p-58e8d7d5.js +0 -1
- package/pn-market-web-components/p-5f0acbbd.entry.js +0 -1
- package/pn-market-web-components/p-61dbe832.entry.js +0 -1
- package/pn-market-web-components/p-67380aa4.entry.js +0 -1
- package/pn-market-web-components/p-67887512.system.js +0 -1
- package/pn-market-web-components/p-6f28cfba.entry.js +0 -1
- package/pn-market-web-components/p-715d1ef7.entry.js +0 -1
- package/pn-market-web-components/p-77c907d9.entry.js +0 -1
- package/pn-market-web-components/p-7ce41d14.entry.js +0 -1
- package/pn-market-web-components/p-81d764a0.entry.js +0 -1
- package/pn-market-web-components/p-861def61.entry.js +0 -1
- package/pn-market-web-components/p-88185835.entry.js +0 -1
- package/pn-market-web-components/p-885bc8d7.system.entry.js +0 -1
- package/pn-market-web-components/p-8b684578.entry.js +0 -1
- package/pn-market-web-components/p-8e146205.entry.js +0 -1
- package/pn-market-web-components/p-8e4d292f.entry.js +0 -1
- package/pn-market-web-components/p-8f1b7c70.system.entry.js +0 -1
- package/pn-market-web-components/p-906719be.system.entry.js +0 -1
- package/pn-market-web-components/p-91c5cd79.entry.js +0 -1
- package/pn-market-web-components/p-9344cd23.js +0 -1
- package/pn-market-web-components/p-93d454ea.entry.js +0 -1
- package/pn-market-web-components/p-951861fa.entry.js +0 -1
- package/pn-market-web-components/p-98a7ddd1.system.entry.js +0 -1
- package/pn-market-web-components/p-996d8a6a.entry.js +0 -1
- package/pn-market-web-components/p-9b855b11.entry.js +0 -24
- package/pn-market-web-components/p-9c2c1aa2.entry.js +0 -1
- package/pn-market-web-components/p-a247058b.system.entry.js +0 -1
- package/pn-market-web-components/p-a5171cb9.system.entry.js +0 -1
- package/pn-market-web-components/p-a7bb94a0.entry.js +0 -1
- package/pn-market-web-components/p-a921d3fd.system.entry.js +0 -1
- package/pn-market-web-components/p-b1474b9e.entry.js +0 -1
- package/pn-market-web-components/p-b9a84e67.entry.js +0 -1
- package/pn-market-web-components/p-bb4f0673.system.entry.js +0 -1
- package/pn-market-web-components/p-bb626ab4.js +0 -1
- package/pn-market-web-components/p-bd22aaac.entry.js +0 -1
- package/pn-market-web-components/p-c2e55f38.entry.js +0 -1
- package/pn-market-web-components/p-c5179a9b.system.entry.js +0 -1
- package/pn-market-web-components/p-c714a790.entry.js +0 -1
- package/pn-market-web-components/p-d0155ddf.entry.js +0 -1
- package/pn-market-web-components/p-d7e3d918.entry.js +0 -1
- package/pn-market-web-components/p-e32dc098.entry.js +0 -1
- package/pn-market-web-components/p-e9576f26.entry.js +0 -1
- package/pn-market-web-components/p-e9fe5c54.entry.js +0 -1
- package/pn-market-web-components/p-ecdf2b69.system.entry.js +0 -1
- package/pn-market-web-components/p-ee589138.entry.js +0 -1
- package/pn-market-web-components/p-f008015e.system.entry.js +0 -1
- package/pn-market-web-components/p-f61342c3.js +0 -1
- package/pn-market-web-components/p-f774e2cc.entry.js +0 -1
- package/pn-market-web-components/p-f82c5d08.entry.js +0 -1
- package/pn-market-web-components/p-fc974bca.entry.js +0 -1
- package/pn-market-web-components/p-fea72975.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/LICENSE.md +0 -27
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/bin/stencil +0 -57
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/config-flags.d.ts +0 -122
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.cjs +0 -2609
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.d.ts +0 -19
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.js +0 -2583
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/package.json +0 -14
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.d.ts +0 -24
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.dom.d.ts +0 -18505
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.dom.iterable.d.ts +0 -341
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.collection.d.ts +0 -150
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.core.d.ts +0 -559
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.d.ts +0 -30
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.generator.d.ts +0 -79
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.iterable.d.ts +0 -498
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.promise.d.ts +0 -83
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.proxy.d.ts +0 -130
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.reflect.d.ts +0 -146
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.symbol.d.ts +0 -48
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.symbol.wellknown.d.ts +0 -324
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2016.array.include.d.ts +0 -118
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2016.d.ts +0 -22
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2016.full.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.d.ts +0 -26
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.full.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.intl.d.ts +0 -47
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.object.d.ts +0 -51
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.sharedmemory.d.ts +0 -137
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.string.d.ts +0 -47
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.typedarrays.d.ts +0 -55
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.asyncgenerator.d.ts +0 -79
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.asynciterable.d.ts +0 -45
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.d.ts +0 -26
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.full.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.intl.d.ts +0 -73
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.promise.d.ts +0 -32
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.regexp.d.ts +0 -39
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.array.d.ts +0 -85
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.d.ts +0 -26
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.full.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.intl.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.object.d.ts +0 -35
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.string.d.ts +0 -39
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.symbol.d.ts +0 -26
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.bigint.d.ts +0 -730
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.d.ts +0 -29
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.date.d.ts +0 -44
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.full.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.intl.d.ts +0 -433
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.number.d.ts +0 -30
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.promise.d.ts +0 -49
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.sharedmemory.d.ts +0 -99
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.string.d.ts +0 -30
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.symbol.wellknown.d.ts +0 -39
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.full.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.intl.d.ts +0 -154
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.promise.d.ts +0 -50
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.string.d.ts +0 -35
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.weakref.d.ts +0 -75
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.array.d.ts +0 -123
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.d.ts +0 -27
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.error.d.ts +0 -75
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.full.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.intl.d.ts +0 -111
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.object.d.ts +0 -28
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.sharedmemory.d.ts +0 -27
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.string.d.ts +0 -27
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es5.d.ts +0 -4526
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es6.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.d.ts +0 -22
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.full.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.intl.d.ts +0 -30
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.promise.d.ts +0 -43
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.string.d.ts +0 -35
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.weakref.d.ts +0 -75
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.scripthost.d.ts +0 -327
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.webworker.d.ts +0 -6192
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.webworker.importscripts.d.ts +0 -26
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.webworker.iterable.d.ts +0 -175
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/package.json +0 -8
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.d.ts +0 -73
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.js +0 -70673
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.min.js +0 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/sys/in-memory-fs.d.ts +0 -218
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/transpile.d.ts +0 -32
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dependencies.json +0 -120
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/app-error.d.ts +0 -18
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/events.d.ts +0 -6
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-components.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-external-styles.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-images.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-inline-styles.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-util.d.ts +0 -9
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-window.d.ts +0 -10
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/index.d.ts +0 -6
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/index.js +0 -808
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/logger.d.ts +0 -5
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/package.json +0 -8
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/progress.d.ts +0 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/status.d.ts +0 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/test/hmr-util.spec.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/test/status.spec.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/connector.html +0 -6
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/index.d.ts +0 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/index.js +0 -264
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/open-in-editor-api.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/package.json +0 -8
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/server-process.js +0 -1799
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/server-worker-thread.js +0 -39
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/static/favicon.ico +0 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/templates/directory-index.html +0 -132
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/templates/initial-load.html +0 -160
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/visualstudio.vbs +0 -82
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/ws.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/xdg-open +0 -1066
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/index.cjs +0 -92
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/index.d.ts +0 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/index.js +0 -88
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/package.json +0 -15
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/css-shim.js +0 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/dom.js +0 -73
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/index.js +0 -3371
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/package.json +0 -8
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/patch-browser.js +0 -142
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/patch-esm.js +0 -23
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/core-js.js +0 -11
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/css-shim.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/dom.js +0 -79
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/index.js +0 -34
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/system.js +0 -6
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/shadow-css.js +0 -387
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/index.js +0 -1143
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/package.json +0 -7
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/runner.d.ts +0 -217
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/runner.js +0 -777
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/shadow-css.js +0 -143
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/index.d.ts +0 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/index.js +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/package.json +0 -9
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.cjs +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.d.ts +0 -51
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.js +0 -16
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-ext-modules.d.ts +0 -41
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-private.d.ts +0 -2268
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-compiler.d.ts +0 -2338
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-docs.d.ts +0 -140
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-runtime.d.ts +0 -1637
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/index.js +0 -1105
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/package.json +0 -7
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/shadow-css.js +0 -143
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.cjs +0 -4858
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.d.ts +0 -1020
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.js +0 -4822
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/package.json +0 -15
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/package.json +0 -190
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/readme.md +0 -99
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/assets/favicon.ico +0 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/assets/logo.png +0 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/app.css +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/app.esm.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/app.js +0 -33
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/index.esm.js +0 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-081b0641.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-227a1e18.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-2c298727.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-5479268c.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-573ec8a4.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-6ba08604.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-6bc63295.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-7a3759fd.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-7b4e3ba7.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-988eb362.css +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-9b6a9315.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-b4cc611c.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-d1bf53f5.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-e2efe0df.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-e8ca6d97.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-ec2f13e0.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-f0b99977.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-f4745c2f.entry.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-fbbae598.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/host.config.json +0 -15
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/index.html +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/manifest.json +0 -13
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/connector.js +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/index.js +0 -661
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/local-connector.js +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/package.json +0 -15
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/pixel-match.js +0 -2807
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/autoprefixer.js +0 -8
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/glob.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/graceful-fs.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/index.d.ts +0 -22
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/index.js +0 -6121
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/node-fetch.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/package.json +0 -8
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/prompts.js +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/worker.js +0 -52
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/index.d.ts +0 -12
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/index.js +0 -4155
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-config.d.ts +0 -16
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-environment.d.ts +0 -15
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-preprocessor.d.ts +0 -59
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-runner.d.ts +0 -10
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-screenshot.d.ts +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-serializer.d.ts +0 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-setup-test-framework.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-config.spec.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-preprocessor.spec.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-runner.spec.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-serializer.spec.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-environment.js +0 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-preprocessor.js +0 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-preset.js +0 -37
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-runner.js +0 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-setuptestframework.js +0 -3
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/attributes.d.ts +0 -14
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/class-list.d.ts +0 -12
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/events.d.ts +0 -21
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/html.d.ts +0 -12
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/index.d.ts +0 -23
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/screenshot.d.ts +0 -5
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/text.d.ts +0 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/mock-fetch.d.ts +0 -11
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/mocks.d.ts +0 -56
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/package.json +0 -8
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/index.d.ts +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-browser.d.ts +0 -6
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-declarations.d.ts +0 -429
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-element.d.ts +0 -67
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-emulate.d.ts +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-events.d.ts +0 -21
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-page.d.ts +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-screenshot.d.ts +0 -4
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/reset-build-conditionals.d.ts +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/spec-page.d.ts +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/test/testing-utils.spec.d.ts +0 -1
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/test-transpile.d.ts +0 -2
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing-logger.d.ts +0 -25
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing-sys.d.ts +0 -6
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing-utils.d.ts +0 -79
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing.d.ts +0 -2
- /package/{custom-elements → components}/mockresponse.js +0 -0
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
const NAMESPACE = 'pn-market-web-components';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* Virtual DOM patching algorithm based on Snabbdom by
|
|
5
|
+
* Simon Friis Vindum (@paldepind)
|
|
6
|
+
* Licensed under the MIT License
|
|
7
|
+
* https://github.com/snabbdom/snabbdom/blob/master/LICENSE
|
|
8
|
+
*
|
|
9
|
+
* Modified for Stencil's renderer and slot projection
|
|
10
|
+
*/
|
|
3
11
|
let scopeId;
|
|
4
12
|
let contentRef;
|
|
5
13
|
let hostTagName;
|
|
@@ -9,66 +17,6 @@ let checkSlotRelocate = false;
|
|
|
9
17
|
let isSvgMode = false;
|
|
10
18
|
let renderingRef = null;
|
|
11
19
|
let queuePending = false;
|
|
12
|
-
const win = typeof window !== 'undefined' ? window : {};
|
|
13
|
-
const doc = win.document || { head: {} };
|
|
14
|
-
const H = (win.HTMLElement || class {
|
|
15
|
-
});
|
|
16
|
-
const plt = {
|
|
17
|
-
$flags$: 0,
|
|
18
|
-
$resourcesUrl$: '',
|
|
19
|
-
jmp: (h) => h(),
|
|
20
|
-
raf: (h) => requestAnimationFrame(h),
|
|
21
|
-
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
22
|
-
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
23
|
-
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
24
|
-
};
|
|
25
|
-
const supportsShadow = true;
|
|
26
|
-
const promiseResolve = (v) => Promise.resolve(v);
|
|
27
|
-
const supportsConstructibleStylesheets = /*@__PURE__*/ (() => {
|
|
28
|
-
try {
|
|
29
|
-
new CSSStyleSheet();
|
|
30
|
-
return typeof new CSSStyleSheet().replace === 'function';
|
|
31
|
-
}
|
|
32
|
-
catch (e) { }
|
|
33
|
-
return false;
|
|
34
|
-
})()
|
|
35
|
-
;
|
|
36
|
-
const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
|
|
37
|
-
if (listeners) {
|
|
38
|
-
listeners.map(([flags, name, method]) => {
|
|
39
|
-
const target = getHostListenerTarget(elm, flags) ;
|
|
40
|
-
const handler = hostListenerProxy(hostRef, method);
|
|
41
|
-
const opts = hostListenerOpts(flags);
|
|
42
|
-
plt.ael(target, name, handler, opts);
|
|
43
|
-
(hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
const hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
48
|
-
try {
|
|
49
|
-
{
|
|
50
|
-
if (hostRef.$flags$ & 256 /* isListenReady */) {
|
|
51
|
-
// instance is ready, let's call it's member method for this event
|
|
52
|
-
hostRef.$lazyInstance$[methodName](ev);
|
|
53
|
-
}
|
|
54
|
-
else {
|
|
55
|
-
(hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
catch (e) {
|
|
60
|
-
consoleError(e);
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
const getHostListenerTarget = (elm, flags) => {
|
|
64
|
-
if (flags & 8 /* TargetWindow */)
|
|
65
|
-
return win;
|
|
66
|
-
return elm;
|
|
67
|
-
};
|
|
68
|
-
// prettier-ignore
|
|
69
|
-
const hostListenerOpts = (flags) => (flags & 2 /* Capture */) !== 0;
|
|
70
|
-
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
71
|
-
const XLINK_NS = 'http://www.w3.org/1999/xlink';
|
|
72
20
|
const createTime = (fnName, tagName = '') => {
|
|
73
21
|
{
|
|
74
22
|
return () => {
|
|
@@ -83,71 +31,8 @@ const uniqueTime = (key, measureText) => {
|
|
|
83
31
|
};
|
|
84
32
|
}
|
|
85
33
|
};
|
|
86
|
-
const
|
|
87
|
-
const
|
|
88
|
-
let style = styles.get(scopeId);
|
|
89
|
-
if (supportsConstructibleStylesheets && allowCS) {
|
|
90
|
-
style = (style || new CSSStyleSheet());
|
|
91
|
-
style.replace(cssText);
|
|
92
|
-
}
|
|
93
|
-
else {
|
|
94
|
-
style = cssText;
|
|
95
|
-
}
|
|
96
|
-
styles.set(scopeId, style);
|
|
97
|
-
};
|
|
98
|
-
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
99
|
-
let scopeId = getScopeId(cmpMeta);
|
|
100
|
-
let style = styles.get(scopeId);
|
|
101
|
-
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
102
|
-
// so the fallback is to always use the document for the root node in those cases
|
|
103
|
-
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
104
|
-
if (style) {
|
|
105
|
-
if (typeof style === 'string') {
|
|
106
|
-
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
107
|
-
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
108
|
-
let styleElm;
|
|
109
|
-
if (!appliedStyles) {
|
|
110
|
-
rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
|
|
111
|
-
}
|
|
112
|
-
if (!appliedStyles.has(scopeId)) {
|
|
113
|
-
{
|
|
114
|
-
{
|
|
115
|
-
styleElm = doc.createElement('style');
|
|
116
|
-
styleElm.innerHTML = style;
|
|
117
|
-
}
|
|
118
|
-
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
119
|
-
}
|
|
120
|
-
if (appliedStyles) {
|
|
121
|
-
appliedStyles.add(scopeId);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
126
|
-
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
return scopeId;
|
|
130
|
-
};
|
|
131
|
-
const attachStyles = (hostRef) => {
|
|
132
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
133
|
-
const elm = hostRef.$hostElement$;
|
|
134
|
-
const flags = cmpMeta.$flags$;
|
|
135
|
-
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
136
|
-
const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
137
|
-
if (flags & 10 /* needsScopedEncapsulation */) {
|
|
138
|
-
// only required when we're NOT using native shadow dom (slot)
|
|
139
|
-
// or this browser doesn't support native shadow dom
|
|
140
|
-
// and this host element was NOT created with SSR
|
|
141
|
-
// let's pick out the inner content for slot projection
|
|
142
|
-
// create a node to represent where the original
|
|
143
|
-
// content was first placed, which is useful later on
|
|
144
|
-
// DOM WRITE!!
|
|
145
|
-
elm['s-sc'] = scopeId;
|
|
146
|
-
elm.classList.add(scopeId + '-h');
|
|
147
|
-
}
|
|
148
|
-
endAttachStyles();
|
|
149
|
-
};
|
|
150
|
-
const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
34
|
+
const HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';
|
|
35
|
+
const XLINK_NS = 'http://www.w3.org/1999/xlink';
|
|
151
36
|
/**
|
|
152
37
|
* Default style mode id
|
|
153
38
|
*/
|
|
@@ -167,6 +52,18 @@ const isComplexType = (o) => {
|
|
|
167
52
|
o = typeof o;
|
|
168
53
|
return o === 'object' || o === 'function';
|
|
169
54
|
};
|
|
55
|
+
/**
|
|
56
|
+
* Helper method for querying a `meta` tag that contains a nonce value
|
|
57
|
+
* out of a DOM's head.
|
|
58
|
+
*
|
|
59
|
+
* @param doc The DOM containing the `head` to query against
|
|
60
|
+
* @returns The content of the meta tag representing the nonce value, or `undefined` if no tag
|
|
61
|
+
* exists or the tag has no content.
|
|
62
|
+
*/
|
|
63
|
+
function queryNonceMetaTagContent(doc) {
|
|
64
|
+
var _a, _b, _c;
|
|
65
|
+
return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;
|
|
66
|
+
}
|
|
170
67
|
/**
|
|
171
68
|
* Production h() function based on Preact by
|
|
172
69
|
* Jason Miller (@developit)
|
|
@@ -175,7 +72,6 @@ const isComplexType = (o) => {
|
|
|
175
72
|
*
|
|
176
73
|
* Modified for Stencil's compiler and vdom
|
|
177
74
|
*/
|
|
178
|
-
// const stack: any[] = [];
|
|
179
75
|
// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;
|
|
180
76
|
// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;
|
|
181
77
|
const h = (nodeName, vnodeData, ...children) => {
|
|
@@ -184,7 +80,7 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
184
80
|
let slotName = null;
|
|
185
81
|
let simple = false;
|
|
186
82
|
let lastSimple = false;
|
|
187
|
-
|
|
83
|
+
const vNodeChildren = [];
|
|
188
84
|
const walk = (c) => {
|
|
189
85
|
for (let i = 0; i < c.length; i++) {
|
|
190
86
|
child = c[i];
|
|
@@ -245,6 +141,14 @@ const h = (nodeName, vnodeData, ...children) => {
|
|
|
245
141
|
}
|
|
246
142
|
return vnode;
|
|
247
143
|
};
|
|
144
|
+
/**
|
|
145
|
+
* A utility function for creating a virtual DOM node from a tag and some
|
|
146
|
+
* possible text content.
|
|
147
|
+
*
|
|
148
|
+
* @param tag the tag for this element
|
|
149
|
+
* @param text possible text content for the node
|
|
150
|
+
* @returns a newly-minted virtual DOM node
|
|
151
|
+
*/
|
|
248
152
|
const newVNode = (tag, text) => {
|
|
249
153
|
const vnode = {
|
|
250
154
|
$flags$: 0,
|
|
@@ -265,11 +169,31 @@ const newVNode = (tag, text) => {
|
|
|
265
169
|
return vnode;
|
|
266
170
|
};
|
|
267
171
|
const Host = {};
|
|
172
|
+
/**
|
|
173
|
+
* Check whether a given node is a Host node or not
|
|
174
|
+
*
|
|
175
|
+
* @param node the virtual DOM node to check
|
|
176
|
+
* @returns whether it's a Host node or not
|
|
177
|
+
*/
|
|
268
178
|
const isHost = (node) => node && node.$tag$ === Host;
|
|
179
|
+
/**
|
|
180
|
+
* Implementation of {@link d.FunctionalUtilities} for Stencil's VDom.
|
|
181
|
+
*
|
|
182
|
+
* Note that these functions convert from {@link d.VNode} to
|
|
183
|
+
* {@link d.ChildNode} to give functional component developers a friendly
|
|
184
|
+
* interface.
|
|
185
|
+
*/
|
|
269
186
|
const vdomFnUtils = {
|
|
270
187
|
forEach: (children, cb) => children.map(convertToPublic).forEach(cb),
|
|
271
188
|
map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate),
|
|
272
189
|
};
|
|
190
|
+
/**
|
|
191
|
+
* Convert a {@link d.VNode} to a {@link d.ChildNode} in order to present a
|
|
192
|
+
* friendlier public interface (hence, 'convertToPublic').
|
|
193
|
+
*
|
|
194
|
+
* @param node the virtual DOM node to convert
|
|
195
|
+
* @returns a converted child node
|
|
196
|
+
*/
|
|
273
197
|
const convertToPublic = (node) => ({
|
|
274
198
|
vattrs: node.$attrs$,
|
|
275
199
|
vchildren: node.$children$,
|
|
@@ -278,6 +202,15 @@ const convertToPublic = (node) => ({
|
|
|
278
202
|
vtag: node.$tag$,
|
|
279
203
|
vtext: node.$text$,
|
|
280
204
|
});
|
|
205
|
+
/**
|
|
206
|
+
* Convert a {@link d.ChildNode} back to an equivalent {@link d.VNode} in
|
|
207
|
+
* order to use the resulting object in the virtual DOM. The initial object was
|
|
208
|
+
* likely created as part of presenting a public API, so converting it back
|
|
209
|
+
* involved making it 'private' again (hence, `convertToPrivate`).
|
|
210
|
+
*
|
|
211
|
+
* @param node the child node to convert
|
|
212
|
+
* @returns a converted virtual DOM node
|
|
213
|
+
*/
|
|
281
214
|
const convertToPrivate = (node) => {
|
|
282
215
|
if (typeof node.vtag === 'function') {
|
|
283
216
|
const vnodeData = Object.assign({}, node.vattrs);
|
|
@@ -296,6 +229,155 @@ const convertToPrivate = (node) => {
|
|
|
296
229
|
vnode.$name$ = node.vname;
|
|
297
230
|
return vnode;
|
|
298
231
|
};
|
|
232
|
+
/**
|
|
233
|
+
* Parse a new property value for a given property type.
|
|
234
|
+
*
|
|
235
|
+
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
236
|
+
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
237
|
+
* 1. `any`, the type given to `propValue` in the function signature
|
|
238
|
+
* 2. the type stored from `propType`.
|
|
239
|
+
*
|
|
240
|
+
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
241
|
+
*
|
|
242
|
+
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
243
|
+
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
244
|
+
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
245
|
+
* ```tsx
|
|
246
|
+
* <my-cmp prop-val={0}></my-cmp>
|
|
247
|
+
* ```
|
|
248
|
+
*
|
|
249
|
+
* HTML prop values on the other hand, will always a string
|
|
250
|
+
*
|
|
251
|
+
* @param propValue the new value to coerce to some type
|
|
252
|
+
* @param propType the type of the prop, expressed as a binary number
|
|
253
|
+
* @returns the parsed/coerced value
|
|
254
|
+
*/
|
|
255
|
+
const parsePropertyValue = (propValue, propType) => {
|
|
256
|
+
// ensure this value is of the correct prop type
|
|
257
|
+
if (propValue != null && !isComplexType(propValue)) {
|
|
258
|
+
if (propType & 4 /* MEMBER_FLAGS.Boolean */) {
|
|
259
|
+
// per the HTML spec, any string value means it is a boolean true value
|
|
260
|
+
// but we'll cheat here and say that the string "false" is the boolean false
|
|
261
|
+
return propValue === 'false' ? false : propValue === '' || !!propValue;
|
|
262
|
+
}
|
|
263
|
+
if (propType & 2 /* MEMBER_FLAGS.Number */) {
|
|
264
|
+
// force it to be a number
|
|
265
|
+
return parseFloat(propValue);
|
|
266
|
+
}
|
|
267
|
+
if (propType & 1 /* MEMBER_FLAGS.String */) {
|
|
268
|
+
// could have been passed as a number or boolean
|
|
269
|
+
// but we still want it as a string
|
|
270
|
+
return String(propValue);
|
|
271
|
+
}
|
|
272
|
+
// redundant return here for better minification
|
|
273
|
+
return propValue;
|
|
274
|
+
}
|
|
275
|
+
// not sure exactly what type we want
|
|
276
|
+
// so no need to change to a different type
|
|
277
|
+
return propValue;
|
|
278
|
+
};
|
|
279
|
+
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
280
|
+
const createEvent = (ref, name, flags) => {
|
|
281
|
+
const elm = getElement(ref);
|
|
282
|
+
return {
|
|
283
|
+
emit: (detail) => {
|
|
284
|
+
return emitEvent(elm, name, {
|
|
285
|
+
bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),
|
|
286
|
+
composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),
|
|
287
|
+
cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),
|
|
288
|
+
detail,
|
|
289
|
+
});
|
|
290
|
+
},
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
/**
|
|
294
|
+
* Helper function to create & dispatch a custom Event on a provided target
|
|
295
|
+
* @param elm the target of the Event
|
|
296
|
+
* @param name the name to give the custom Event
|
|
297
|
+
* @param opts options for configuring a custom Event
|
|
298
|
+
* @returns the custom Event
|
|
299
|
+
*/
|
|
300
|
+
const emitEvent = (elm, name, opts) => {
|
|
301
|
+
const ev = plt.ce(name, opts);
|
|
302
|
+
elm.dispatchEvent(ev);
|
|
303
|
+
return ev;
|
|
304
|
+
};
|
|
305
|
+
const rootAppliedStyles = /*@__PURE__*/ new WeakMap();
|
|
306
|
+
const registerStyle = (scopeId, cssText, allowCS) => {
|
|
307
|
+
let style = styles.get(scopeId);
|
|
308
|
+
if (supportsConstructableStylesheets && allowCS) {
|
|
309
|
+
style = (style || new CSSStyleSheet());
|
|
310
|
+
if (typeof style === 'string') {
|
|
311
|
+
style = cssText;
|
|
312
|
+
}
|
|
313
|
+
else {
|
|
314
|
+
style.replaceSync(cssText);
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
else {
|
|
318
|
+
style = cssText;
|
|
319
|
+
}
|
|
320
|
+
styles.set(scopeId, style);
|
|
321
|
+
};
|
|
322
|
+
const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
323
|
+
var _a;
|
|
324
|
+
let scopeId = getScopeId(cmpMeta);
|
|
325
|
+
const style = styles.get(scopeId);
|
|
326
|
+
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
327
|
+
// so the fallback is to always use the document for the root node in those cases
|
|
328
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;
|
|
329
|
+
if (style) {
|
|
330
|
+
if (typeof style === 'string') {
|
|
331
|
+
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
332
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
333
|
+
let styleElm;
|
|
334
|
+
if (!appliedStyles) {
|
|
335
|
+
rootAppliedStyles.set(styleContainerNode, (appliedStyles = new Set()));
|
|
336
|
+
}
|
|
337
|
+
if (!appliedStyles.has(scopeId)) {
|
|
338
|
+
{
|
|
339
|
+
{
|
|
340
|
+
styleElm = doc.createElement('style');
|
|
341
|
+
styleElm.innerHTML = style;
|
|
342
|
+
}
|
|
343
|
+
// Apply CSP nonce to the style tag if it exists
|
|
344
|
+
const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
|
|
345
|
+
if (nonce != null) {
|
|
346
|
+
styleElm.setAttribute('nonce', nonce);
|
|
347
|
+
}
|
|
348
|
+
styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));
|
|
349
|
+
}
|
|
350
|
+
if (appliedStyles) {
|
|
351
|
+
appliedStyles.add(scopeId);
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
356
|
+
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
return scopeId;
|
|
360
|
+
};
|
|
361
|
+
const attachStyles = (hostRef) => {
|
|
362
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
363
|
+
const elm = hostRef.$hostElement$;
|
|
364
|
+
const flags = cmpMeta.$flags$;
|
|
365
|
+
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
366
|
+
const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
367
|
+
if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
|
|
368
|
+
// only required when we're NOT using native shadow dom (slot)
|
|
369
|
+
// or this browser doesn't support native shadow dom
|
|
370
|
+
// and this host element was NOT created with SSR
|
|
371
|
+
// let's pick out the inner content for slot projection
|
|
372
|
+
// create a node to represent where the original
|
|
373
|
+
// content was first placed, which is useful later on
|
|
374
|
+
// DOM WRITE!!
|
|
375
|
+
elm['s-sc'] = scopeId;
|
|
376
|
+
elm.classList.add(scopeId + '-h');
|
|
377
|
+
}
|
|
378
|
+
endAttachStyles();
|
|
379
|
+
};
|
|
380
|
+
const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
299
381
|
/**
|
|
300
382
|
* Production setAccessor() function based on Preact by
|
|
301
383
|
* Jason Miller (@developit)
|
|
@@ -393,7 +475,7 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
393
475
|
if ((isProp || (isComplex && newValue !== null)) && !isSvg) {
|
|
394
476
|
try {
|
|
395
477
|
if (!elm.tagName.includes('-')) {
|
|
396
|
-
|
|
478
|
+
const n = newValue == null ? '' : newValue;
|
|
397
479
|
// Workaround for Safari, moving the <input> caret when re-assigning the same valued
|
|
398
480
|
if (memberName === 'list') {
|
|
399
481
|
isProp = false;
|
|
@@ -432,7 +514,7 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
432
514
|
}
|
|
433
515
|
}
|
|
434
516
|
}
|
|
435
|
-
else if ((!isProp || flags & 4 /* isHost */ || isSvg) && !isComplex) {
|
|
517
|
+
else if ((!isProp || flags & 4 /* VNODE_FLAGS.isHost */ || isSvg) && !isComplex) {
|
|
436
518
|
newValue = newValue === true ? '' : newValue;
|
|
437
519
|
if (xlink) {
|
|
438
520
|
elm.setAttributeNS(XLINK_NS, memberName, newValue);
|
|
@@ -450,7 +532,7 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
|
|
|
450
532
|
// if the element passed in is a shadow root, which is a document fragment
|
|
451
533
|
// then we want to be adding attrs/props to the shadow root's "host" element
|
|
452
534
|
// if it's not a shadow root, then we add attrs/props to the same element
|
|
453
|
-
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host
|
|
535
|
+
const elm = newVnode.$elm$.nodeType === 11 /* NODE_TYPE.DocumentFragment */ && newVnode.$elm$.host
|
|
454
536
|
? newVnode.$elm$.host
|
|
455
537
|
: newVnode.$elm$;
|
|
456
538
|
const oldVnodeAttrs = (oldVnode && oldVnode.$attrs$) || EMPTY_OBJ;
|
|
@@ -468,9 +550,19 @@ const updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {
|
|
|
468
550
|
setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);
|
|
469
551
|
}
|
|
470
552
|
};
|
|
553
|
+
/**
|
|
554
|
+
* Create a DOM Node corresponding to one of the children of a given VNode.
|
|
555
|
+
*
|
|
556
|
+
* @param oldParentVNode the parent VNode from the previous render
|
|
557
|
+
* @param newParentVNode the parent VNode from the current render
|
|
558
|
+
* @param childIndex the index of the VNode, in the _new_ parent node's
|
|
559
|
+
* children, for which we will create a new DOM node
|
|
560
|
+
* @param parentElm the parent DOM node which our new node will be a child of
|
|
561
|
+
* @returns the newly created node
|
|
562
|
+
*/
|
|
471
563
|
const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
472
564
|
// tslint:disable-next-line: prefer-const
|
|
473
|
-
|
|
565
|
+
const newVNode = newParentVNode.$children$[childIndex];
|
|
474
566
|
let i = 0;
|
|
475
567
|
let elm;
|
|
476
568
|
let childNode;
|
|
@@ -485,16 +577,16 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
485
577
|
}
|
|
486
578
|
newVNode.$flags$ |= newVNode.$children$
|
|
487
579
|
? // slot element has fallback content
|
|
488
|
-
2 /* isSlotFallback */
|
|
580
|
+
2 /* VNODE_FLAGS.isSlotFallback */
|
|
489
581
|
: // slot element does not have fallback content
|
|
490
|
-
1 /* isSlotReference */;
|
|
582
|
+
1 /* VNODE_FLAGS.isSlotReference */;
|
|
491
583
|
}
|
|
492
584
|
}
|
|
493
585
|
if (newVNode.$text$ !== null) {
|
|
494
586
|
// create text node
|
|
495
587
|
elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);
|
|
496
588
|
}
|
|
497
|
-
else if (newVNode.$flags$ & 1 /* isSlotReference */) {
|
|
589
|
+
else if (newVNode.$flags$ & 1 /* VNODE_FLAGS.isSlotReference */) {
|
|
498
590
|
// create a slot reference node
|
|
499
591
|
elm = newVNode.$elm$ =
|
|
500
592
|
doc.createTextNode('');
|
|
@@ -504,7 +596,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
504
596
|
isSvgMode = newVNode.$tag$ === 'svg';
|
|
505
597
|
}
|
|
506
598
|
// create element
|
|
507
|
-
elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* isSlotFallback */
|
|
599
|
+
elm = newVNode.$elm$ = (doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, newVNode.$flags$ & 2 /* VNODE_FLAGS.isSlotFallback */
|
|
508
600
|
? 'slot-fb'
|
|
509
601
|
: newVNode.$tag$)
|
|
510
602
|
);
|
|
@@ -544,7 +636,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
544
636
|
}
|
|
545
637
|
{
|
|
546
638
|
elm['s-hn'] = hostTagName;
|
|
547
|
-
if (newVNode.$flags$ & (2 /* isSlotFallback */ | 1 /* isSlotReference */)) {
|
|
639
|
+
if (newVNode.$flags$ & (2 /* VNODE_FLAGS.isSlotFallback */ | 1 /* VNODE_FLAGS.isSlotReference */)) {
|
|
548
640
|
// remember the content reference comment
|
|
549
641
|
elm['s-sr'] = true;
|
|
550
642
|
// remember the content reference comment
|
|
@@ -563,7 +655,7 @@ const createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
563
655
|
return elm;
|
|
564
656
|
};
|
|
565
657
|
const putBackInOriginalLocation = (parentElm, recursive) => {
|
|
566
|
-
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
658
|
+
plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
567
659
|
const oldSlotChildNodes = parentElm.childNodes;
|
|
568
660
|
for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {
|
|
569
661
|
const childNode = oldSlotChildNodes[i];
|
|
@@ -584,8 +676,23 @@ const putBackInOriginalLocation = (parentElm, recursive) => {
|
|
|
584
676
|
putBackInOriginalLocation(childNode, recursive);
|
|
585
677
|
}
|
|
586
678
|
}
|
|
587
|
-
plt.$flags$ &= ~1 /* isTmpDisconnected */;
|
|
679
|
+
plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
588
680
|
};
|
|
681
|
+
/**
|
|
682
|
+
* Create DOM nodes corresponding to a list of {@link d.Vnode} objects and
|
|
683
|
+
* add them to the DOM in the appropriate place.
|
|
684
|
+
*
|
|
685
|
+
* @param parentElm the DOM node which should be used as a parent for the new
|
|
686
|
+
* DOM nodes
|
|
687
|
+
* @param before a child of the `parentElm` which the new children should be
|
|
688
|
+
* inserted before (optional)
|
|
689
|
+
* @param parentVNode the parent virtual DOM node
|
|
690
|
+
* @param vnodes the new child virtual DOM nodes to produce DOM nodes for
|
|
691
|
+
* @param startIdx the index in the child virtual DOM nodes at which to start
|
|
692
|
+
* creating DOM nodes (inclusive)
|
|
693
|
+
* @param endIdx the index in the child virtual DOM nodes at which to stop
|
|
694
|
+
* creating DOM nodes (inclusive)
|
|
695
|
+
*/
|
|
589
696
|
const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
|
|
590
697
|
let containerElm = ((parentElm['s-cr'] && parentElm['s-cr'].parentNode) || parentElm);
|
|
591
698
|
let childNode;
|
|
@@ -602,6 +709,19 @@ const addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) =>
|
|
|
602
709
|
}
|
|
603
710
|
}
|
|
604
711
|
};
|
|
712
|
+
/**
|
|
713
|
+
* Remove the DOM elements corresponding to a list of {@link d.VNode} objects.
|
|
714
|
+
* This can be used to, for instance, clean up after a list of children which
|
|
715
|
+
* should no longer be shown.
|
|
716
|
+
*
|
|
717
|
+
* This function also handles some of Stencil's slot relocation logic.
|
|
718
|
+
*
|
|
719
|
+
* @param vnodes a list of virtual DOM nodes to remove
|
|
720
|
+
* @param startIdx the index at which to start removing nodes (inclusive)
|
|
721
|
+
* @param endIdx the index at which to stop removing nodes (inclusive)
|
|
722
|
+
* @param vnode a VNode
|
|
723
|
+
* @param elm an element
|
|
724
|
+
*/
|
|
605
725
|
const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
|
|
606
726
|
for (; startIdx <= endIdx; ++startIdx) {
|
|
607
727
|
if ((vnode = vnodes[startIdx])) {
|
|
@@ -626,6 +746,74 @@ const removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {
|
|
|
626
746
|
}
|
|
627
747
|
}
|
|
628
748
|
};
|
|
749
|
+
/**
|
|
750
|
+
* Reconcile the children of a new VNode with the children of an old VNode by
|
|
751
|
+
* traversing the two collections of children, identifying nodes that are
|
|
752
|
+
* conserved or changed, calling out to `patch` to make any necessary
|
|
753
|
+
* updates to the DOM, and rearranging DOM nodes as needed.
|
|
754
|
+
*
|
|
755
|
+
* The algorithm for reconciling children works by analyzing two 'windows' onto
|
|
756
|
+
* the two arrays of children (`oldCh` and `newCh`). We keep track of the
|
|
757
|
+
* 'windows' by storing start and end indices and references to the
|
|
758
|
+
* corresponding array entries. Initially the two 'windows' are basically equal
|
|
759
|
+
* to the entire array, but we progressively narrow the windows until there are
|
|
760
|
+
* no children left to update by doing the following:
|
|
761
|
+
*
|
|
762
|
+
* 1. Skip any `null` entries at the beginning or end of the two arrays, so
|
|
763
|
+
* that if we have an initial array like the following we'll end up dealing
|
|
764
|
+
* only with a window bounded by the highlighted elements:
|
|
765
|
+
*
|
|
766
|
+
* [null, null, VNode1 , ... , VNode2, null, null]
|
|
767
|
+
* ^^^^^^ ^^^^^^
|
|
768
|
+
*
|
|
769
|
+
* 2. Check to see if the elements at the head and tail positions are equal
|
|
770
|
+
* across the windows. This will basically detect elements which haven't
|
|
771
|
+
* been added, removed, or changed position, i.e. if you had the following
|
|
772
|
+
* VNode elements (represented as HTML):
|
|
773
|
+
*
|
|
774
|
+
* oldVNode: `<div><p><span>HEY</span></p></div>`
|
|
775
|
+
* newVNode: `<div><p><span>THERE</span></p></div>`
|
|
776
|
+
*
|
|
777
|
+
* Then when comparing the children of the `<div>` tag we check the equality
|
|
778
|
+
* of the VNodes corresponding to the `<p>` tags and, since they are the
|
|
779
|
+
* same tag in the same position, we'd be able to avoid completely
|
|
780
|
+
* re-rendering the subtree under them with a new DOM element and would just
|
|
781
|
+
* call out to `patch` to handle reconciling their children and so on.
|
|
782
|
+
*
|
|
783
|
+
* 3. Check, for both windows, to see if the element at the beginning of the
|
|
784
|
+
* window corresponds to the element at the end of the other window. This is
|
|
785
|
+
* a heuristic which will let us identify _some_ situations in which
|
|
786
|
+
* elements have changed position, for instance it _should_ detect that the
|
|
787
|
+
* children nodes themselves have not changed but merely moved in the
|
|
788
|
+
* following example:
|
|
789
|
+
*
|
|
790
|
+
* oldVNode: `<div><element-one /><element-two /></div>`
|
|
791
|
+
* newVNode: `<div><element-two /><element-one /></div>`
|
|
792
|
+
*
|
|
793
|
+
* If we find cases like this then we also need to move the concrete DOM
|
|
794
|
+
* elements corresponding to the moved children to write the re-order to the
|
|
795
|
+
* DOM.
|
|
796
|
+
*
|
|
797
|
+
* 4. Finally, if VNodes have the `key` attribute set on them we check for any
|
|
798
|
+
* nodes in the old children which have the same key as the first element in
|
|
799
|
+
* our window on the new children. If we find such a node we handle calling
|
|
800
|
+
* out to `patch`, moving relevant DOM nodes, and so on, in accordance with
|
|
801
|
+
* what we find.
|
|
802
|
+
*
|
|
803
|
+
* Finally, once we've narrowed our 'windows' to the point that either of them
|
|
804
|
+
* collapse (i.e. they have length 0) we then handle any remaining VNode
|
|
805
|
+
* insertion or deletion that needs to happen to get a DOM state that correctly
|
|
806
|
+
* reflects the new child VNodes. If, for instance, after our window on the old
|
|
807
|
+
* children has collapsed we still have more nodes on the new children that
|
|
808
|
+
* we haven't dealt with yet then we need to add them, or if the new children
|
|
809
|
+
* collapse but we still have unhandled _old_ children then we need to make
|
|
810
|
+
* sure the corresponding DOM nodes are removed.
|
|
811
|
+
*
|
|
812
|
+
* @param parentElm the node into which the parent VNode is rendered
|
|
813
|
+
* @param oldCh the old children of the parent node
|
|
814
|
+
* @param newVNode the new VNode which will replace the parent
|
|
815
|
+
* @param newCh the new children of the parent node
|
|
816
|
+
*/
|
|
629
817
|
const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
630
818
|
let oldStartIdx = 0;
|
|
631
819
|
let newStartIdx = 0;
|
|
@@ -641,7 +829,7 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
641
829
|
let elmToMove;
|
|
642
830
|
while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
|
|
643
831
|
if (oldStartVnode == null) {
|
|
644
|
-
//
|
|
832
|
+
// VNode might have been moved left
|
|
645
833
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
646
834
|
}
|
|
647
835
|
else if (oldEndVnode == null) {
|
|
@@ -654,37 +842,100 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
654
842
|
newEndVnode = newCh[--newEndIdx];
|
|
655
843
|
}
|
|
656
844
|
else if (isSameVnode(oldStartVnode, newStartVnode)) {
|
|
845
|
+
// if the start nodes are the same then we should patch the new VNode
|
|
846
|
+
// onto the old one, and increment our `newStartIdx` and `oldStartIdx`
|
|
847
|
+
// indices to reflect that. We don't need to move any DOM Nodes around
|
|
848
|
+
// since things are matched up in order.
|
|
657
849
|
patch(oldStartVnode, newStartVnode);
|
|
658
850
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
659
851
|
newStartVnode = newCh[++newStartIdx];
|
|
660
852
|
}
|
|
661
853
|
else if (isSameVnode(oldEndVnode, newEndVnode)) {
|
|
854
|
+
// likewise, if the end nodes are the same we patch new onto old and
|
|
855
|
+
// decrement our end indices, and also likewise in this case we don't
|
|
856
|
+
// need to move any DOM Nodes.
|
|
662
857
|
patch(oldEndVnode, newEndVnode);
|
|
663
858
|
oldEndVnode = oldCh[--oldEndIdx];
|
|
664
859
|
newEndVnode = newCh[--newEndIdx];
|
|
665
860
|
}
|
|
666
861
|
else if (isSameVnode(oldStartVnode, newEndVnode)) {
|
|
667
|
-
// Vnode moved right
|
|
862
|
+
// case: "Vnode moved right"
|
|
863
|
+
//
|
|
864
|
+
// We've found that the last node in our window on the new children is
|
|
865
|
+
// the same VNode as the _first_ node in our window on the old children
|
|
866
|
+
// we're dealing with now. Visually, this is the layout of these two
|
|
867
|
+
// nodes:
|
|
868
|
+
//
|
|
869
|
+
// newCh: [..., newStartVnode , ... , newEndVnode , ...]
|
|
870
|
+
// ^^^^^^^^^^^
|
|
871
|
+
// oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
|
|
872
|
+
// ^^^^^^^^^^^^^
|
|
873
|
+
//
|
|
874
|
+
// In this situation we need to patch `newEndVnode` onto `oldStartVnode`
|
|
875
|
+
// and move the DOM element for `oldStartVnode`.
|
|
668
876
|
if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
|
|
669
877
|
putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
|
|
670
878
|
}
|
|
671
879
|
patch(oldStartVnode, newEndVnode);
|
|
880
|
+
// We need to move the element for `oldStartVnode` into a position which
|
|
881
|
+
// will be appropriate for `newEndVnode`. For this we can use
|
|
882
|
+
// `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a
|
|
883
|
+
// sibling for `oldEndVnode.$elm$` then we want to move the DOM node for
|
|
884
|
+
// `oldStartVnode` between `oldEndVnode` and it's sibling, like so:
|
|
885
|
+
//
|
|
886
|
+
// <old-start-node />
|
|
887
|
+
// <some-intervening-node />
|
|
888
|
+
// <old-end-node />
|
|
889
|
+
// <!-- -> <-- `oldStartVnode.$elm$` should be inserted here
|
|
890
|
+
// <next-sibling />
|
|
891
|
+
//
|
|
892
|
+
// If instead `oldEndVnode.$elm$` has no sibling then we just want to put
|
|
893
|
+
// the node for `oldStartVnode` at the end of the children of
|
|
894
|
+
// `parentElm`. Luckily, `Node.nextSibling` will return `null` if there
|
|
895
|
+
// aren't any siblings, and passing `null` to `Node.insertBefore` will
|
|
896
|
+
// append it to the children of the parent element.
|
|
672
897
|
parentElm.insertBefore(oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
|
|
673
898
|
oldStartVnode = oldCh[++oldStartIdx];
|
|
674
899
|
newEndVnode = newCh[--newEndIdx];
|
|
675
900
|
}
|
|
676
901
|
else if (isSameVnode(oldEndVnode, newStartVnode)) {
|
|
677
|
-
// Vnode moved left
|
|
902
|
+
// case: "Vnode moved left"
|
|
903
|
+
//
|
|
904
|
+
// We've found that the first node in our window on the new children is
|
|
905
|
+
// the same VNode as the _last_ node in our window on the old children.
|
|
906
|
+
// Visually, this is the layout of these two nodes:
|
|
907
|
+
//
|
|
908
|
+
// newCh: [..., newStartVnode , ... , newEndVnode , ...]
|
|
909
|
+
// ^^^^^^^^^^^^^
|
|
910
|
+
// oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]
|
|
911
|
+
// ^^^^^^^^^^^
|
|
912
|
+
//
|
|
913
|
+
// In this situation we need to patch `newStartVnode` onto `oldEndVnode`
|
|
914
|
+
// (which will handle updating any changed attributes, reconciling their
|
|
915
|
+
// children etc) but we also need to move the DOM node to which
|
|
916
|
+
// `oldEndVnode` corresponds.
|
|
678
917
|
if ((oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {
|
|
679
918
|
putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
|
|
680
919
|
}
|
|
681
920
|
patch(oldEndVnode, newStartVnode);
|
|
921
|
+
// We've already checked above if `oldStartVnode` and `newStartVnode` are
|
|
922
|
+
// the same node, so since we're here we know that they are not. Thus we
|
|
923
|
+
// can move the element for `oldEndVnode` _before_ the element for
|
|
924
|
+
// `oldStartVnode`, leaving `oldStartVnode` to be reconciled in the
|
|
925
|
+
// future.
|
|
682
926
|
parentElm.insertBefore(oldEndVnode.$elm$, oldStartVnode.$elm$);
|
|
683
927
|
oldEndVnode = oldCh[--oldEndIdx];
|
|
684
928
|
newStartVnode = newCh[++newStartIdx];
|
|
685
929
|
}
|
|
686
930
|
else {
|
|
687
|
-
//
|
|
931
|
+
// Here we do some checks to match up old and new nodes based on the
|
|
932
|
+
// `$key$` attribute, which is set by putting a `key="my-key"` attribute
|
|
933
|
+
// in the JSX for a DOM element in the implementation of a Stencil
|
|
934
|
+
// component.
|
|
935
|
+
//
|
|
936
|
+
// First we check to see if there are any nodes in the array of old
|
|
937
|
+
// children which have the same key as the first node in the new
|
|
938
|
+
// children.
|
|
688
939
|
idxInOld = -1;
|
|
689
940
|
{
|
|
690
941
|
for (i = oldStartIdx; i <= oldEndIdx; ++i) {
|
|
@@ -695,23 +946,32 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
695
946
|
}
|
|
696
947
|
}
|
|
697
948
|
if (idxInOld >= 0) {
|
|
949
|
+
// We found a node in the old children which matches up with the first
|
|
950
|
+
// node in the new children! So let's deal with that
|
|
698
951
|
elmToMove = oldCh[idxInOld];
|
|
699
952
|
if (elmToMove.$tag$ !== newStartVnode.$tag$) {
|
|
953
|
+
// the tag doesn't match so we'll need a new DOM element
|
|
700
954
|
node = createElm(oldCh && oldCh[newStartIdx], newVNode, idxInOld, parentElm);
|
|
701
955
|
}
|
|
702
956
|
else {
|
|
703
957
|
patch(elmToMove, newStartVnode);
|
|
958
|
+
// invalidate the matching old node so that we won't try to update it
|
|
959
|
+
// again later on
|
|
704
960
|
oldCh[idxInOld] = undefined;
|
|
705
961
|
node = elmToMove.$elm$;
|
|
706
962
|
}
|
|
707
963
|
newStartVnode = newCh[++newStartIdx];
|
|
708
964
|
}
|
|
709
965
|
else {
|
|
710
|
-
//
|
|
966
|
+
// We either didn't find an element in the old children that matches
|
|
967
|
+
// the key of the first new child OR the build is not using `key`
|
|
968
|
+
// attributes at all. In either case we need to create a new element
|
|
969
|
+
// for the new node.
|
|
711
970
|
node = createElm(oldCh && oldCh[newStartIdx], newVNode, newStartIdx, parentElm);
|
|
712
971
|
newStartVnode = newCh[++newStartIdx];
|
|
713
972
|
}
|
|
714
973
|
if (node) {
|
|
974
|
+
// if we created a new node then handle inserting it to the DOM
|
|
715
975
|
{
|
|
716
976
|
parentReferenceNode(oldStartVnode.$elm$).insertBefore(node, referenceNode(oldStartVnode.$elm$));
|
|
717
977
|
}
|
|
@@ -719,21 +979,44 @@ const updateChildren = (parentElm, oldCh, newVNode, newCh) => {
|
|
|
719
979
|
}
|
|
720
980
|
}
|
|
721
981
|
if (oldStartIdx > oldEndIdx) {
|
|
982
|
+
// we have some more new nodes to add which don't match up with old nodes
|
|
722
983
|
addVnodes(parentElm, newCh[newEndIdx + 1] == null ? null : newCh[newEndIdx + 1].$elm$, newVNode, newCh, newStartIdx, newEndIdx);
|
|
723
984
|
}
|
|
724
985
|
else if (newStartIdx > newEndIdx) {
|
|
986
|
+
// there are nodes in the `oldCh` array which no longer correspond to nodes
|
|
987
|
+
// in the new array, so lets remove them (which entails cleaning up the
|
|
988
|
+
// relevant DOM nodes)
|
|
725
989
|
removeVnodes(oldCh, oldStartIdx, oldEndIdx);
|
|
726
990
|
}
|
|
727
991
|
};
|
|
728
|
-
|
|
992
|
+
/**
|
|
993
|
+
* Compare two VNodes to determine if they are the same
|
|
994
|
+
*
|
|
995
|
+
* **NB**: This function is an equality _heuristic_ based on the available
|
|
996
|
+
* information set on the two VNodes and can be misleading under certain
|
|
997
|
+
* circumstances. In particular, if the two nodes do not have `key` attrs
|
|
998
|
+
* (available under `$key$` on VNodes) then the function falls back on merely
|
|
999
|
+
* checking that they have the same tag.
|
|
1000
|
+
*
|
|
1001
|
+
* So, in other words, if `key` attrs are not set on VNodes which may be
|
|
1002
|
+
* changing order within a `children` array or something along those lines then
|
|
1003
|
+
* we could obtain a false negative and then have to do needless re-rendering
|
|
1004
|
+
* (i.e. we'd say two VNodes aren't equal when in fact they should be).
|
|
1005
|
+
*
|
|
1006
|
+
* @param leftVNode the first VNode to check
|
|
1007
|
+
* @param rightVNode the second VNode to check
|
|
1008
|
+
* @returns whether they're equal or not
|
|
1009
|
+
*/
|
|
1010
|
+
const isSameVnode = (leftVNode, rightVNode) => {
|
|
729
1011
|
// compare if two vnode to see if they're "technically" the same
|
|
730
1012
|
// need to have the same element tag, and same key to be the same
|
|
731
|
-
if (
|
|
732
|
-
if (
|
|
733
|
-
return
|
|
1013
|
+
if (leftVNode.$tag$ === rightVNode.$tag$) {
|
|
1014
|
+
if (leftVNode.$tag$ === 'slot') {
|
|
1015
|
+
return leftVNode.$name$ === rightVNode.$name$;
|
|
734
1016
|
}
|
|
1017
|
+
// this will be set if components in the build have `key` attrs set on them
|
|
735
1018
|
{
|
|
736
|
-
return
|
|
1019
|
+
return leftVNode.$key$ === rightVNode.$key$;
|
|
737
1020
|
}
|
|
738
1021
|
}
|
|
739
1022
|
return false;
|
|
@@ -746,6 +1029,14 @@ const referenceNode = (node) => {
|
|
|
746
1029
|
return (node && node['s-ol']) || node;
|
|
747
1030
|
};
|
|
748
1031
|
const parentReferenceNode = (node) => (node['s-ol'] ? node['s-ol'] : node).parentNode;
|
|
1032
|
+
/**
|
|
1033
|
+
* Handle reconciling an outdated VNode with a new one which corresponds to
|
|
1034
|
+
* it. This function handles flushing updates to the DOM and reconciling the
|
|
1035
|
+
* children of the two nodes (if any).
|
|
1036
|
+
*
|
|
1037
|
+
* @param oldVNode an old VNode whose DOM element and children we want to update
|
|
1038
|
+
* @param newVNode a new VNode representing an updated version of the old one
|
|
1039
|
+
*/
|
|
749
1040
|
const patch = (oldVNode, newVNode) => {
|
|
750
1041
|
const elm = (newVNode.$elm$ = oldVNode.$elm$);
|
|
751
1042
|
const oldChildren = oldVNode.$children$;
|
|
@@ -759,7 +1050,6 @@ const patch = (oldVNode, newVNode) => {
|
|
|
759
1050
|
// only add this to the when the compiler sees we're using an svg somewhere
|
|
760
1051
|
isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
|
|
761
1052
|
}
|
|
762
|
-
// element node
|
|
763
1053
|
{
|
|
764
1054
|
if (tag === 'slot')
|
|
765
1055
|
;
|
|
@@ -772,6 +1062,7 @@ const patch = (oldVNode, newVNode) => {
|
|
|
772
1062
|
}
|
|
773
1063
|
if (oldChildren !== null && newChildren !== null) {
|
|
774
1064
|
// looks like there's child vnodes for both the old and new vnodes
|
|
1065
|
+
// so we need to call `updateChildren` to reconcile them
|
|
775
1066
|
updateChildren(elm, oldChildren, newVNode, newChildren);
|
|
776
1067
|
}
|
|
777
1068
|
else if (newChildren !== null) {
|
|
@@ -803,7 +1094,7 @@ const patch = (oldVNode, newVNode) => {
|
|
|
803
1094
|
};
|
|
804
1095
|
const updateFallbackSlotVisibility = (elm) => {
|
|
805
1096
|
// tslint:disable-next-line: prefer-const
|
|
806
|
-
|
|
1097
|
+
const childNodes = elm.childNodes;
|
|
807
1098
|
let childNode;
|
|
808
1099
|
let i;
|
|
809
1100
|
let ilen;
|
|
@@ -812,7 +1103,7 @@ const updateFallbackSlotVisibility = (elm) => {
|
|
|
812
1103
|
let nodeType;
|
|
813
1104
|
for (i = 0, ilen = childNodes.length; i < ilen; i++) {
|
|
814
1105
|
childNode = childNodes[i];
|
|
815
|
-
if (childNode.nodeType === 1 /* ElementNode */) {
|
|
1106
|
+
if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
816
1107
|
if (childNode['s-sr']) {
|
|
817
1108
|
// this is a slot fallback node
|
|
818
1109
|
// get the slot name for this slot reference node
|
|
@@ -824,7 +1115,7 @@ const updateFallbackSlotVisibility = (elm) => {
|
|
|
824
1115
|
nodeType = childNodes[j].nodeType;
|
|
825
1116
|
if (childNodes[j]['s-hn'] !== childNode['s-hn'] || slotNameAttr !== '') {
|
|
826
1117
|
// this sibling node is from a different component OR is a named fallback slot node
|
|
827
|
-
if (nodeType === 1 /* ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {
|
|
1118
|
+
if (nodeType === 1 /* NODE_TYPE.ElementNode */ && slotNameAttr === childNodes[j].getAttribute('slot')) {
|
|
828
1119
|
childNode.hidden = true;
|
|
829
1120
|
break;
|
|
830
1121
|
}
|
|
@@ -833,8 +1124,8 @@ const updateFallbackSlotVisibility = (elm) => {
|
|
|
833
1124
|
// this is a default fallback slot node
|
|
834
1125
|
// any element or text node (with content)
|
|
835
1126
|
// should hide the default fallback slot node
|
|
836
|
-
if (nodeType === 1 /* ElementNode */ ||
|
|
837
|
-
(nodeType === 3 /* TextNode */ && childNodes[j].textContent.trim() !== '')) {
|
|
1127
|
+
if (nodeType === 1 /* NODE_TYPE.ElementNode */ ||
|
|
1128
|
+
(nodeType === 3 /* NODE_TYPE.TextNode */ && childNodes[j].textContent.trim() !== '')) {
|
|
838
1129
|
childNode.hidden = true;
|
|
839
1130
|
break;
|
|
840
1131
|
}
|
|
@@ -856,8 +1147,8 @@ const relocateSlotContent = (elm) => {
|
|
|
856
1147
|
let relocateNodeData;
|
|
857
1148
|
let j;
|
|
858
1149
|
let i = 0;
|
|
859
|
-
|
|
860
|
-
|
|
1150
|
+
const childNodes = elm.childNodes;
|
|
1151
|
+
const ilen = childNodes.length;
|
|
861
1152
|
for (; i < ilen; i++) {
|
|
862
1153
|
childNode = childNodes[i];
|
|
863
1154
|
if (childNode['s-sr'] && (node = childNode['s-cr']) && node.parentNode) {
|
|
@@ -912,13 +1203,13 @@ const relocateSlotContent = (elm) => {
|
|
|
912
1203
|
}
|
|
913
1204
|
}
|
|
914
1205
|
}
|
|
915
|
-
if (childNode.nodeType === 1 /* ElementNode */) {
|
|
1206
|
+
if (childNode.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
916
1207
|
relocateSlotContent(childNode);
|
|
917
1208
|
}
|
|
918
1209
|
}
|
|
919
1210
|
};
|
|
920
1211
|
const isNodeLocatedInSlot = (nodeToRelocate, slotNameAttr) => {
|
|
921
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
1212
|
+
if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
922
1213
|
if (nodeToRelocate.getAttribute('slot') === null && slotNameAttr === '') {
|
|
923
1214
|
return true;
|
|
924
1215
|
}
|
|
@@ -938,6 +1229,18 @@ const callNodeRefs = (vNode) => {
|
|
|
938
1229
|
vNode.$children$ && vNode.$children$.map(callNodeRefs);
|
|
939
1230
|
}
|
|
940
1231
|
};
|
|
1232
|
+
/**
|
|
1233
|
+
* The main entry point for Stencil's virtual DOM-based rendering engine
|
|
1234
|
+
*
|
|
1235
|
+
* Given a {@link d.HostRef} container and some virtual DOM nodes, this
|
|
1236
|
+
* function will handle creating a virtual DOM tree with a single root, patching
|
|
1237
|
+
* the current virtual DOM tree onto an old one (if any), dealing with slot
|
|
1238
|
+
* relocation, and reflecting attributes.
|
|
1239
|
+
*
|
|
1240
|
+
* @param hostRef data needed to root and render the virtual DOM tree, such as
|
|
1241
|
+
* the DOM node into which it should be rendered.
|
|
1242
|
+
* @param renderFnResults the virtual DOM nodes to be rendered
|
|
1243
|
+
*/
|
|
941
1244
|
const renderVdom = (hostRef, renderFnResults) => {
|
|
942
1245
|
const hostElm = hostRef.$hostElement$;
|
|
943
1246
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
@@ -949,7 +1252,7 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
949
1252
|
cmpMeta.$attrsToReflect$.map(([propName, attribute]) => (rootVnode.$attrs$[attribute] = hostElm[propName]));
|
|
950
1253
|
}
|
|
951
1254
|
rootVnode.$tag$ = null;
|
|
952
|
-
rootVnode.$flags$ |= 4 /* isHost */;
|
|
1255
|
+
rootVnode.$flags$ |= 4 /* VNODE_FLAGS.isHost */;
|
|
953
1256
|
hostRef.$vnode$ = rootVnode;
|
|
954
1257
|
rootVnode.$elm$ = oldVNode.$elm$ = (hostElm.shadowRoot || hostElm );
|
|
955
1258
|
{
|
|
@@ -957,7 +1260,7 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
957
1260
|
}
|
|
958
1261
|
{
|
|
959
1262
|
contentRef = hostElm['s-cr'];
|
|
960
|
-
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
|
|
1263
|
+
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) !== 0;
|
|
961
1264
|
// always reset
|
|
962
1265
|
checkSlotFallbackVisibility = false;
|
|
963
1266
|
}
|
|
@@ -966,7 +1269,7 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
966
1269
|
{
|
|
967
1270
|
// while we're moving nodes around existing nodes, temporarily disable
|
|
968
1271
|
// the disconnectCallback from working
|
|
969
|
-
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
1272
|
+
plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
970
1273
|
if (checkSlotRelocate) {
|
|
971
1274
|
relocateSlotContent(rootVnode.$elm$);
|
|
972
1275
|
let relocateData;
|
|
@@ -1024,7 +1327,7 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
1024
1327
|
}
|
|
1025
1328
|
else {
|
|
1026
1329
|
// this node doesn't have a slot home to go to, so let's hide it
|
|
1027
|
-
if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
|
|
1330
|
+
if (nodeToRelocate.nodeType === 1 /* NODE_TYPE.ElementNode */) {
|
|
1028
1331
|
nodeToRelocate.hidden = true;
|
|
1029
1332
|
}
|
|
1030
1333
|
}
|
|
@@ -1035,37 +1338,11 @@ const renderVdom = (hostRef, renderFnResults) => {
|
|
|
1035
1338
|
}
|
|
1036
1339
|
// done moving nodes around
|
|
1037
1340
|
// allow the disconnect callback to work again
|
|
1038
|
-
plt.$flags$ &= ~1 /* isTmpDisconnected */;
|
|
1341
|
+
plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;
|
|
1039
1342
|
// always reset
|
|
1040
1343
|
relocateNodes.length = 0;
|
|
1041
1344
|
}
|
|
1042
1345
|
};
|
|
1043
|
-
const getElement = (ref) => (getHostRef(ref).$hostElement$ );
|
|
1044
|
-
const createEvent = (ref, name, flags) => {
|
|
1045
|
-
const elm = getElement(ref);
|
|
1046
|
-
return {
|
|
1047
|
-
emit: (detail) => {
|
|
1048
|
-
return emitEvent(elm, name, {
|
|
1049
|
-
bubbles: !!(flags & 4 /* Bubbles */),
|
|
1050
|
-
composed: !!(flags & 2 /* Composed */),
|
|
1051
|
-
cancelable: !!(flags & 1 /* Cancellable */),
|
|
1052
|
-
detail,
|
|
1053
|
-
});
|
|
1054
|
-
},
|
|
1055
|
-
};
|
|
1056
|
-
};
|
|
1057
|
-
/**
|
|
1058
|
-
* Helper function to create & dispatch a custom Event on a provided target
|
|
1059
|
-
* @param elm the target of the Event
|
|
1060
|
-
* @param name the name to give the custom Event
|
|
1061
|
-
* @param opts options for configuring a custom Event
|
|
1062
|
-
* @returns the custom Event
|
|
1063
|
-
*/
|
|
1064
|
-
const emitEvent = (elm, name, opts) => {
|
|
1065
|
-
const ev = plt.ce(name, opts);
|
|
1066
|
-
elm.dispatchEvent(ev);
|
|
1067
|
-
return ev;
|
|
1068
|
-
};
|
|
1069
1346
|
const attachToAncestor = (hostRef, ancestorComponent) => {
|
|
1070
1347
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent['s-p']) {
|
|
1071
1348
|
ancestorComponent['s-p'].push(new Promise((r) => (hostRef.$onRenderResolve$ = r)));
|
|
@@ -1073,10 +1350,10 @@ const attachToAncestor = (hostRef, ancestorComponent) => {
|
|
|
1073
1350
|
};
|
|
1074
1351
|
const scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
1075
1352
|
{
|
|
1076
|
-
hostRef.$flags$ |= 16 /* isQueuedForUpdate */;
|
|
1353
|
+
hostRef.$flags$ |= 16 /* HOST_FLAGS.isQueuedForUpdate */;
|
|
1077
1354
|
}
|
|
1078
|
-
if (hostRef.$flags$ & 4 /* isWaitingForChildren */) {
|
|
1079
|
-
hostRef.$flags$ |= 512 /* needsRerender */;
|
|
1355
|
+
if (hostRef.$flags$ & 4 /* HOST_FLAGS.isWaitingForChildren */) {
|
|
1356
|
+
hostRef.$flags$ |= 512 /* HOST_FLAGS.needsRerender */;
|
|
1080
1357
|
return;
|
|
1081
1358
|
}
|
|
1082
1359
|
attachToAncestor(hostRef, hostRef.$ancestorComponent$);
|
|
@@ -1092,7 +1369,7 @@ const dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
1092
1369
|
let promise;
|
|
1093
1370
|
if (isInitialLoad) {
|
|
1094
1371
|
{
|
|
1095
|
-
hostRef.$flags$ |= 256 /* isListenReady */;
|
|
1372
|
+
hostRef.$flags$ |= 256 /* HOST_FLAGS.isListenReady */;
|
|
1096
1373
|
if (hostRef.$queuedListeners$) {
|
|
1097
1374
|
hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
|
|
1098
1375
|
hostRef.$queuedListeners$ = null;
|
|
@@ -1138,7 +1415,7 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
1138
1415
|
}
|
|
1139
1416
|
else {
|
|
1140
1417
|
Promise.all(childrenPromises).then(postUpdate);
|
|
1141
|
-
hostRef.$flags$ |= 4 /* isWaitingForChildren */;
|
|
1418
|
+
hostRef.$flags$ |= 4 /* HOST_FLAGS.isWaitingForChildren */;
|
|
1142
1419
|
childrenPromises.length = 0;
|
|
1143
1420
|
}
|
|
1144
1421
|
}
|
|
@@ -1148,10 +1425,10 @@ const callRender = (hostRef, instance, elm) => {
|
|
|
1148
1425
|
renderingRef = instance;
|
|
1149
1426
|
instance = instance.render() ;
|
|
1150
1427
|
{
|
|
1151
|
-
hostRef.$flags$ &= ~16 /* isQueuedForUpdate */;
|
|
1428
|
+
hostRef.$flags$ &= ~16 /* HOST_FLAGS.isQueuedForUpdate */;
|
|
1152
1429
|
}
|
|
1153
1430
|
{
|
|
1154
|
-
hostRef.$flags$ |= 2 /* hasRendered */;
|
|
1431
|
+
hostRef.$flags$ |= 2 /* HOST_FLAGS.hasRendered */;
|
|
1155
1432
|
}
|
|
1156
1433
|
{
|
|
1157
1434
|
{
|
|
@@ -1180,8 +1457,8 @@ const postUpdateComponent = (hostRef) => {
|
|
|
1180
1457
|
{
|
|
1181
1458
|
safeCall(instance, 'componentDidRender');
|
|
1182
1459
|
}
|
|
1183
|
-
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
1184
|
-
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
1460
|
+
if (!(hostRef.$flags$ & 64 /* HOST_FLAGS.hasLoadedComponent */)) {
|
|
1461
|
+
hostRef.$flags$ |= 64 /* HOST_FLAGS.hasLoadedComponent */;
|
|
1185
1462
|
{
|
|
1186
1463
|
// DOM WRITE!
|
|
1187
1464
|
addHydratedFlag(elm);
|
|
@@ -1210,10 +1487,10 @@ const postUpdateComponent = (hostRef) => {
|
|
|
1210
1487
|
hostRef.$onRenderResolve$();
|
|
1211
1488
|
hostRef.$onRenderResolve$ = undefined;
|
|
1212
1489
|
}
|
|
1213
|
-
if (hostRef.$flags$ & 512 /* needsRerender */) {
|
|
1490
|
+
if (hostRef.$flags$ & 512 /* HOST_FLAGS.needsRerender */) {
|
|
1214
1491
|
nextTick(() => scheduleUpdate(hostRef, false));
|
|
1215
1492
|
}
|
|
1216
|
-
hostRef.$flags$ &= ~(4 /* isWaitingForChildren */ | 512 /* needsRerender */);
|
|
1493
|
+
hostRef.$flags$ &= ~(4 /* HOST_FLAGS.isWaitingForChildren */ | 512 /* HOST_FLAGS.needsRerender */);
|
|
1217
1494
|
}
|
|
1218
1495
|
// ( •_•)
|
|
1219
1496
|
// ( •_•)>⌐■-■
|
|
@@ -1224,7 +1501,7 @@ const forceUpdate = (ref) => {
|
|
|
1224
1501
|
const hostRef = getHostRef(ref);
|
|
1225
1502
|
const isConnected = hostRef.$hostElement$.isConnected;
|
|
1226
1503
|
if (isConnected &&
|
|
1227
|
-
(hostRef.$flags$ & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
1504
|
+
(hostRef.$flags$ & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
|
|
1228
1505
|
scheduleUpdate(hostRef, false);
|
|
1229
1506
|
}
|
|
1230
1507
|
// Returns "true" when the forced update was successfully scheduled
|
|
@@ -1255,53 +1532,6 @@ const then = (promise, thenFn) => {
|
|
|
1255
1532
|
};
|
|
1256
1533
|
const addHydratedFlag = (elm) => elm.classList.add('hydrated')
|
|
1257
1534
|
;
|
|
1258
|
-
/**
|
|
1259
|
-
* Parse a new property value for a given property type.
|
|
1260
|
-
*
|
|
1261
|
-
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
1262
|
-
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
1263
|
-
* 1. `any`, the type given to `propValue` in the function signature
|
|
1264
|
-
* 2. the type stored from `propType`.
|
|
1265
|
-
*
|
|
1266
|
-
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
1267
|
-
*
|
|
1268
|
-
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
1269
|
-
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
1270
|
-
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
1271
|
-
* ```tsx
|
|
1272
|
-
* <my-cmp prop-val={0}></my-cmp>
|
|
1273
|
-
* ```
|
|
1274
|
-
*
|
|
1275
|
-
* HTML prop values on the other hand, will always a string
|
|
1276
|
-
*
|
|
1277
|
-
* @param propValue the new value to coerce to some type
|
|
1278
|
-
* @param propType the type of the prop, expressed as a binary number
|
|
1279
|
-
* @returns the parsed/coerced value
|
|
1280
|
-
*/
|
|
1281
|
-
const parsePropertyValue = (propValue, propType) => {
|
|
1282
|
-
// ensure this value is of the correct prop type
|
|
1283
|
-
if (propValue != null && !isComplexType(propValue)) {
|
|
1284
|
-
if (propType & 4 /* Boolean */) {
|
|
1285
|
-
// per the HTML spec, any string value means it is a boolean true value
|
|
1286
|
-
// but we'll cheat here and say that the string "false" is the boolean false
|
|
1287
|
-
return propValue === 'false' ? false : propValue === '' || !!propValue;
|
|
1288
|
-
}
|
|
1289
|
-
if (propType & 2 /* Number */) {
|
|
1290
|
-
// force it to be a number
|
|
1291
|
-
return parseFloat(propValue);
|
|
1292
|
-
}
|
|
1293
|
-
if (propType & 1 /* String */) {
|
|
1294
|
-
// could have been passed as a number or boolean
|
|
1295
|
-
// but we still want it as a string
|
|
1296
|
-
return String(propValue);
|
|
1297
|
-
}
|
|
1298
|
-
// redundant return here for better minification
|
|
1299
|
-
return propValue;
|
|
1300
|
-
}
|
|
1301
|
-
// not sure exactly what type we want
|
|
1302
|
-
// so no need to change to a different type
|
|
1303
|
-
return propValue;
|
|
1304
|
-
};
|
|
1305
1535
|
const getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
1306
1536
|
const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
1307
1537
|
// check our new property value against our internal value
|
|
@@ -1311,13 +1541,16 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1311
1541
|
const flags = hostRef.$flags$;
|
|
1312
1542
|
const instance = hostRef.$lazyInstance$ ;
|
|
1313
1543
|
newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
|
|
1314
|
-
|
|
1544
|
+
// explicitly check for NaN on both sides, as `NaN === NaN` is always false
|
|
1545
|
+
const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
|
|
1546
|
+
const didValueChange = newVal !== oldVal && !areBothNaN;
|
|
1547
|
+
if ((!(flags & 8 /* HOST_FLAGS.isConstructingInstance */) || oldVal === undefined) && didValueChange) {
|
|
1315
1548
|
// gadzooks! the property's value has changed!!
|
|
1316
1549
|
// set our new value!
|
|
1317
1550
|
hostRef.$instanceValues$.set(propName, newVal);
|
|
1318
1551
|
if (instance) {
|
|
1319
1552
|
// get an array of method names of watch functions to call
|
|
1320
|
-
if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
|
|
1553
|
+
if (cmpMeta.$watchers$ && flags & 128 /* HOST_FLAGS.isWatchReady */) {
|
|
1321
1554
|
const watchMethods = cmpMeta.$watchers$[propName];
|
|
1322
1555
|
if (watchMethods) {
|
|
1323
1556
|
// this instance is watching for when this property changed
|
|
@@ -1332,7 +1565,7 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1332
1565
|
});
|
|
1333
1566
|
}
|
|
1334
1567
|
}
|
|
1335
|
-
if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
|
|
1568
|
+
if ((flags & (2 /* HOST_FLAGS.hasRendered */ | 16 /* HOST_FLAGS.isQueuedForUpdate */)) === 2 /* HOST_FLAGS.hasRendered */) {
|
|
1336
1569
|
// looks like this value actually changed, so we've got work to do!
|
|
1337
1570
|
// but only if we've already rendered, otherwise just chill out
|
|
1338
1571
|
// queue that we need to do an update, but don't worry about queuing
|
|
@@ -1342,6 +1575,16 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
1342
1575
|
}
|
|
1343
1576
|
}
|
|
1344
1577
|
};
|
|
1578
|
+
/**
|
|
1579
|
+
* Attach a series of runtime constructs to a compiled Stencil component
|
|
1580
|
+
* constructor, including getters and setters for the `@Prop` and `@State`
|
|
1581
|
+
* decorators, callbacks for when attributes change, and so on.
|
|
1582
|
+
*
|
|
1583
|
+
* @param Cstr the constructor for a component that we need to process
|
|
1584
|
+
* @param cmpMeta metadata collected previously about the component
|
|
1585
|
+
* @param flags a number used to store a series of bit flags
|
|
1586
|
+
* @returns a reference to the same constructor passed in (but now mutated)
|
|
1587
|
+
*/
|
|
1345
1588
|
const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
1346
1589
|
if (cmpMeta.$members$) {
|
|
1347
1590
|
if (Cstr.watchers) {
|
|
@@ -1351,8 +1594,8 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1351
1594
|
const members = Object.entries(cmpMeta.$members$);
|
|
1352
1595
|
const prototype = Cstr.prototype;
|
|
1353
1596
|
members.map(([memberName, [memberFlags]]) => {
|
|
1354
|
-
if ((memberFlags & 31 /* Prop */ ||
|
|
1355
|
-
((flags & 2 /* proxyState */) && memberFlags & 32 /* State */))) {
|
|
1597
|
+
if ((memberFlags & 31 /* MEMBER_FLAGS.Prop */ ||
|
|
1598
|
+
((flags & 2 /* PROXY_FLAGS.proxyState */) && memberFlags & 32 /* MEMBER_FLAGS.State */))) {
|
|
1356
1599
|
// proxyComponent - prop
|
|
1357
1600
|
Object.defineProperty(prototype, memberName, {
|
|
1358
1601
|
get() {
|
|
@@ -1368,7 +1611,7 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1368
1611
|
});
|
|
1369
1612
|
}
|
|
1370
1613
|
});
|
|
1371
|
-
if ((flags & 1 /* isElementConstructor */)) {
|
|
1614
|
+
if ((flags & 1 /* PROXY_FLAGS.isElementConstructor */)) {
|
|
1372
1615
|
const attrNameToPropName = new Map();
|
|
1373
1616
|
prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
|
|
1374
1617
|
plt.jmp(() => {
|
|
@@ -1424,11 +1667,11 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1424
1667
|
// create an array of attributes to observe
|
|
1425
1668
|
// and also create a map of html attribute name to js property name
|
|
1426
1669
|
Cstr.observedAttributes = members
|
|
1427
|
-
.filter(([_, m]) => m[0] & 15 /* HasAttribute */) // filter to only keep props that should match attributes
|
|
1670
|
+
.filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */) // filter to only keep props that should match attributes
|
|
1428
1671
|
.map(([propName, m]) => {
|
|
1429
1672
|
const attrName = m[1] || propName;
|
|
1430
1673
|
attrNameToPropName.set(attrName, propName);
|
|
1431
|
-
if (m[0] & 512 /* ReflectAttr */) {
|
|
1674
|
+
if (m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {
|
|
1432
1675
|
cmpMeta.$attrsToReflect$.push([propName, attrName]);
|
|
1433
1676
|
}
|
|
1434
1677
|
return attrName;
|
|
@@ -1439,10 +1682,10 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1439
1682
|
};
|
|
1440
1683
|
const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {
|
|
1441
1684
|
// initializeComponent
|
|
1442
|
-
if ((hostRef.$flags$ & 32 /* hasInitializedComponent */) === 0) {
|
|
1685
|
+
if ((hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {
|
|
1443
1686
|
{
|
|
1444
1687
|
// we haven't initialized this element yet
|
|
1445
|
-
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1688
|
+
hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;
|
|
1446
1689
|
// lazy loaded components
|
|
1447
1690
|
// request the component's implementation to be
|
|
1448
1691
|
// wired up with the host element
|
|
@@ -1460,7 +1703,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1460
1703
|
{
|
|
1461
1704
|
cmpMeta.$watchers$ = Cstr.watchers;
|
|
1462
1705
|
}
|
|
1463
|
-
proxyComponent(Cstr, cmpMeta, 2 /* proxyState */);
|
|
1706
|
+
proxyComponent(Cstr, cmpMeta, 2 /* PROXY_FLAGS.proxyState */);
|
|
1464
1707
|
Cstr.isProxied = true;
|
|
1465
1708
|
}
|
|
1466
1709
|
const endNewInstance = createTime('createInstance', cmpMeta.$tagName$);
|
|
@@ -1468,7 +1711,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1468
1711
|
// but let's keep track of when we start and stop
|
|
1469
1712
|
// so that the getters/setters don't incorrectly step on data
|
|
1470
1713
|
{
|
|
1471
|
-
hostRef.$flags$ |= 8 /* isConstructingInstance */;
|
|
1714
|
+
hostRef.$flags$ |= 8 /* HOST_FLAGS.isConstructingInstance */;
|
|
1472
1715
|
}
|
|
1473
1716
|
// construct the lazy-loaded component implementation
|
|
1474
1717
|
// passing the hostRef is very important during
|
|
@@ -1481,10 +1724,10 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1481
1724
|
consoleError(e);
|
|
1482
1725
|
}
|
|
1483
1726
|
{
|
|
1484
|
-
hostRef.$flags$ &= ~8 /* isConstructingInstance */;
|
|
1727
|
+
hostRef.$flags$ &= ~8 /* HOST_FLAGS.isConstructingInstance */;
|
|
1485
1728
|
}
|
|
1486
1729
|
{
|
|
1487
|
-
hostRef.$flags$ |= 128 /* isWatchReady */;
|
|
1730
|
+
hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */;
|
|
1488
1731
|
}
|
|
1489
1732
|
endNewInstance();
|
|
1490
1733
|
}
|
|
@@ -1494,7 +1737,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1494
1737
|
const scopeId = getScopeId(cmpMeta);
|
|
1495
1738
|
if (!styles.has(scopeId)) {
|
|
1496
1739
|
const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);
|
|
1497
|
-
registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */));
|
|
1740
|
+
registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */));
|
|
1498
1741
|
endRegisterStyles();
|
|
1499
1742
|
}
|
|
1500
1743
|
}
|
|
@@ -1516,19 +1759,19 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1516
1759
|
}
|
|
1517
1760
|
};
|
|
1518
1761
|
const connectedCallback = (elm) => {
|
|
1519
|
-
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
1762
|
+
if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
|
|
1520
1763
|
const hostRef = getHostRef(elm);
|
|
1521
1764
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
1522
1765
|
const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);
|
|
1523
|
-
if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
|
|
1766
|
+
if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {
|
|
1524
1767
|
// first time this component has connected
|
|
1525
|
-
hostRef.$flags$ |= 1 /* hasConnected */;
|
|
1768
|
+
hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;
|
|
1526
1769
|
{
|
|
1527
1770
|
// initUpdate
|
|
1528
1771
|
// if the slot polyfill is required we'll need to put some nodes
|
|
1529
1772
|
// in here to act as original content anchors as we move nodes around
|
|
1530
1773
|
// host element has been connected to the DOM
|
|
1531
|
-
if ((cmpMeta.$flags$ & (4 /* hasSlotRelocation */ | 8 /* needsShadowDomShim */))) {
|
|
1774
|
+
if ((cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */))) {
|
|
1532
1775
|
setContentReference(elm);
|
|
1533
1776
|
}
|
|
1534
1777
|
}
|
|
@@ -1551,7 +1794,7 @@ const connectedCallback = (elm) => {
|
|
|
1551
1794
|
// https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties
|
|
1552
1795
|
if (cmpMeta.$members$) {
|
|
1553
1796
|
Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {
|
|
1554
|
-
if (memberFlags & 31 /* Prop */ && elm.hasOwnProperty(memberName)) {
|
|
1797
|
+
if (memberFlags & 31 /* MEMBER_FLAGS.Prop */ && elm.hasOwnProperty(memberName)) {
|
|
1555
1798
|
const value = elm[memberName];
|
|
1556
1799
|
delete elm[memberName];
|
|
1557
1800
|
elm[memberName] = value;
|
|
@@ -1583,7 +1826,7 @@ const setContentReference = (elm) => {
|
|
|
1583
1826
|
elm.insertBefore(contentRefElm, elm.firstChild);
|
|
1584
1827
|
};
|
|
1585
1828
|
const disconnectedCallback = (elm) => {
|
|
1586
|
-
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
1829
|
+
if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
|
|
1587
1830
|
const hostRef = getHostRef(elm);
|
|
1588
1831
|
{
|
|
1589
1832
|
if (hostRef.$rmListeners$) {
|
|
@@ -1602,7 +1845,7 @@ const patchCloneNode = (HostElementPrototype) => {
|
|
|
1602
1845
|
if (!isShadowDom && deep) {
|
|
1603
1846
|
let i = 0;
|
|
1604
1847
|
let slotted, nonStencilNode;
|
|
1605
|
-
|
|
1848
|
+
const stencilPrivates = [
|
|
1606
1849
|
's-id',
|
|
1607
1850
|
's-cr',
|
|
1608
1851
|
's-lr',
|
|
@@ -1639,7 +1882,7 @@ const patchChildSlotNodes = (elm, cmpMeta) => {
|
|
|
1639
1882
|
return this[n];
|
|
1640
1883
|
}
|
|
1641
1884
|
}
|
|
1642
|
-
if (cmpMeta.$flags$ & 8 /* needsShadowDomShim */) {
|
|
1885
|
+
if (cmpMeta.$flags$ & 8 /* CMP_FLAGS.needsShadowDomShim */) {
|
|
1643
1886
|
const childNodesFn = elm.__lookupGetter__('childNodes');
|
|
1644
1887
|
Object.defineProperty(elm, 'children', {
|
|
1645
1888
|
get() {
|
|
@@ -1654,8 +1897,8 @@ const patchChildSlotNodes = (elm, cmpMeta) => {
|
|
|
1654
1897
|
Object.defineProperty(elm, 'childNodes', {
|
|
1655
1898
|
get() {
|
|
1656
1899
|
const childNodes = childNodesFn.call(this);
|
|
1657
|
-
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0 &&
|
|
1658
|
-
getHostRef(this).$flags$ & 2 /* hasRendered */) {
|
|
1900
|
+
if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0 &&
|
|
1901
|
+
getHostRef(this).$flags$ & 2 /* HOST_FLAGS.hasRendered */) {
|
|
1659
1902
|
const result = new FakeNodeList();
|
|
1660
1903
|
for (let i = 0; i < childNodes.length; i++) {
|
|
1661
1904
|
const slot = childNodes[i]['s-nr'];
|
|
@@ -1671,6 +1914,7 @@ const patchChildSlotNodes = (elm, cmpMeta) => {
|
|
|
1671
1914
|
}
|
|
1672
1915
|
};
|
|
1673
1916
|
const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
1917
|
+
var _a;
|
|
1674
1918
|
const endBootstrap = createTime();
|
|
1675
1919
|
const cmpTags = [];
|
|
1676
1920
|
const exclude = options.exclude || [];
|
|
@@ -1711,7 +1955,7 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1711
1955
|
super(self);
|
|
1712
1956
|
self = this;
|
|
1713
1957
|
registerHost(self, cmpMeta);
|
|
1714
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1958
|
+
if (cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {
|
|
1715
1959
|
// this component is using shadow dom
|
|
1716
1960
|
// and this browser supports shadow dom
|
|
1717
1961
|
// add the read-only property "shadowRoot" to the host element
|
|
@@ -1752,13 +1996,18 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1752
1996
|
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
1753
1997
|
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
|
|
1754
1998
|
cmpTags.push(tagName);
|
|
1755
|
-
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
|
|
1999
|
+
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* PROXY_FLAGS.isElementConstructor */));
|
|
1756
2000
|
}
|
|
1757
2001
|
});
|
|
1758
2002
|
});
|
|
1759
2003
|
{
|
|
1760
2004
|
visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
|
|
1761
2005
|
visibilityStyle.setAttribute('data-styles', '');
|
|
2006
|
+
// Apply CSP nonce to the style tag if it exists
|
|
2007
|
+
const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
|
|
2008
|
+
if (nonce != null) {
|
|
2009
|
+
visibilityStyle.setAttribute('nonce', nonce);
|
|
2010
|
+
}
|
|
1762
2011
|
head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);
|
|
1763
2012
|
}
|
|
1764
2013
|
// Process deferred connectedCallbacks now all components have been registered
|
|
@@ -1774,7 +2023,48 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1774
2023
|
// Fallback appLoad event
|
|
1775
2024
|
endBootstrap();
|
|
1776
2025
|
};
|
|
1777
|
-
const
|
|
2026
|
+
const addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {
|
|
2027
|
+
if (listeners) {
|
|
2028
|
+
listeners.map(([flags, name, method]) => {
|
|
2029
|
+
const target = getHostListenerTarget(elm, flags) ;
|
|
2030
|
+
const handler = hostListenerProxy(hostRef, method);
|
|
2031
|
+
const opts = hostListenerOpts(flags);
|
|
2032
|
+
plt.ael(target, name, handler, opts);
|
|
2033
|
+
(hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));
|
|
2034
|
+
});
|
|
2035
|
+
}
|
|
2036
|
+
};
|
|
2037
|
+
const hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
2038
|
+
try {
|
|
2039
|
+
{
|
|
2040
|
+
if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {
|
|
2041
|
+
// instance is ready, let's call it's member method for this event
|
|
2042
|
+
hostRef.$lazyInstance$[methodName](ev);
|
|
2043
|
+
}
|
|
2044
|
+
else {
|
|
2045
|
+
(hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);
|
|
2046
|
+
}
|
|
2047
|
+
}
|
|
2048
|
+
}
|
|
2049
|
+
catch (e) {
|
|
2050
|
+
consoleError(e);
|
|
2051
|
+
}
|
|
2052
|
+
};
|
|
2053
|
+
const getHostListenerTarget = (elm, flags) => {
|
|
2054
|
+
if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
|
|
2055
|
+
return win;
|
|
2056
|
+
return elm;
|
|
2057
|
+
};
|
|
2058
|
+
// prettier-ignore
|
|
2059
|
+
const hostListenerOpts = (flags) => (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;
|
|
2060
|
+
/**
|
|
2061
|
+
* Assigns the given value to the nonce property on the runtime platform object.
|
|
2062
|
+
* During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.
|
|
2063
|
+
* @param nonce The value to be assigned to the platform nonce property.
|
|
2064
|
+
* @returns void
|
|
2065
|
+
*/
|
|
2066
|
+
const setNonce = (nonce) => (plt.$nonce$ = nonce);
|
|
2067
|
+
const hostRefs = /*@__PURE__*/ new WeakMap();
|
|
1778
2068
|
const getHostRef = (ref) => hostRefs.get(ref);
|
|
1779
2069
|
const registerInstance = (lazyInstance, hostRef) => hostRefs.set((hostRef.$lazyInstance$ = lazyInstance), hostRef);
|
|
1780
2070
|
const registerHost = (elm, cmpMeta) => {
|
|
@@ -1803,7 +2093,242 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1803
2093
|
if (module) {
|
|
1804
2094
|
return module[exportName];
|
|
1805
2095
|
}
|
|
2096
|
+
|
|
2097
|
+
if (!hmrVersionId || !BUILD.hotModuleReplacement) {
|
|
2098
|
+
const processMod = importedModule => {
|
|
2099
|
+
cmpModules.set(bundleId, importedModule);
|
|
2100
|
+
return importedModule[exportName];
|
|
2101
|
+
}
|
|
2102
|
+
switch(bundleId) {
|
|
2103
|
+
|
|
2104
|
+
case 'pn-animated-tile':
|
|
2105
|
+
return import(
|
|
2106
|
+
/* webpackMode: "lazy" */
|
|
2107
|
+
'./pn-animated-tile.entry.js').then(processMod, consoleError);
|
|
2108
|
+
case 'pn-bonus-progressbar':
|
|
2109
|
+
return import(
|
|
2110
|
+
/* webpackMode: "lazy" */
|
|
2111
|
+
'./pn-bonus-progressbar.entry.js').then(processMod, consoleError);
|
|
2112
|
+
case 'pn-bonus-progressbar-level':
|
|
2113
|
+
return import(
|
|
2114
|
+
/* webpackMode: "lazy" */
|
|
2115
|
+
'./pn-bonus-progressbar-level.entry.js').then(processMod, consoleError);
|
|
2116
|
+
case 'pn-breakpoints':
|
|
2117
|
+
return import(
|
|
2118
|
+
/* webpackMode: "lazy" */
|
|
2119
|
+
'./pn-breakpoints.entry.js').then(processMod, consoleError);
|
|
2120
|
+
case 'pn-chart':
|
|
2121
|
+
return import(
|
|
2122
|
+
/* webpackMode: "lazy" */
|
|
2123
|
+
'./pn-chart.entry.js').then(processMod, consoleError);
|
|
2124
|
+
case 'pn-charts-card':
|
|
2125
|
+
return import(
|
|
2126
|
+
/* webpackMode: "lazy" */
|
|
2127
|
+
'./pn-charts-card.entry.js').then(processMod, consoleError);
|
|
2128
|
+
case 'pn-customernumber-selector':
|
|
2129
|
+
return import(
|
|
2130
|
+
/* webpackMode: "lazy" */
|
|
2131
|
+
'./pn-customernumber-selector.entry.js').then(processMod, consoleError);
|
|
2132
|
+
case 'pn-customernumber-selector-option':
|
|
2133
|
+
return import(
|
|
2134
|
+
/* webpackMode: "lazy" */
|
|
2135
|
+
'./pn-customernumber-selector-option.entry.js').then(processMod, consoleError);
|
|
2136
|
+
case 'pn-filter-checkbox':
|
|
2137
|
+
return import(
|
|
2138
|
+
/* webpackMode: "lazy" */
|
|
2139
|
+
'./pn-filter-checkbox.entry.js').then(processMod, consoleError);
|
|
2140
|
+
case 'pn-find-price':
|
|
2141
|
+
return import(
|
|
2142
|
+
/* webpackMode: "lazy" */
|
|
2143
|
+
'./pn-find-price.entry.js').then(processMod, consoleError);
|
|
2144
|
+
case 'pn-find-service-and-price':
|
|
2145
|
+
return import(
|
|
2146
|
+
/* webpackMode: "lazy" */
|
|
2147
|
+
'./pn-find-service-and-price.entry.js').then(processMod, consoleError);
|
|
2148
|
+
case 'pn-line-shape':
|
|
2149
|
+
return import(
|
|
2150
|
+
/* webpackMode: "lazy" */
|
|
2151
|
+
'./pn-line-shape.entry.js').then(processMod, consoleError);
|
|
2152
|
+
case 'pn-marketweb-search':
|
|
2153
|
+
return import(
|
|
2154
|
+
/* webpackMode: "lazy" */
|
|
2155
|
+
'./pn-marketweb-search.entry.js').then(processMod, consoleError);
|
|
2156
|
+
case 'pn-marketweb-sitefooter':
|
|
2157
|
+
return import(
|
|
2158
|
+
/* webpackMode: "lazy" */
|
|
2159
|
+
'./pn-marketweb-sitefooter.entry.js').then(processMod, consoleError);
|
|
2160
|
+
case 'pn-marketweb-siteheader':
|
|
2161
|
+
return import(
|
|
2162
|
+
/* webpackMode: "lazy" */
|
|
2163
|
+
'./pn-marketweb-siteheader.entry.js').then(processMod, consoleError);
|
|
2164
|
+
case 'pn-multi-formfield':
|
|
2165
|
+
return import(
|
|
2166
|
+
/* webpackMode: "lazy" */
|
|
2167
|
+
'./pn-multi-formfield.entry.js').then(processMod, consoleError);
|
|
2168
|
+
case 'pn-parcel-tracker':
|
|
2169
|
+
return import(
|
|
2170
|
+
/* webpackMode: "lazy" */
|
|
2171
|
+
'./pn-parcel-tracker.entry.js').then(processMod, consoleError);
|
|
2172
|
+
case 'pn-pex-pricefinder':
|
|
2173
|
+
return import(
|
|
2174
|
+
/* webpackMode: "lazy" */
|
|
2175
|
+
'./pn-pex-pricefinder.entry.js').then(processMod, consoleError);
|
|
2176
|
+
case 'pn-product-pricelist':
|
|
2177
|
+
return import(
|
|
2178
|
+
/* webpackMode: "lazy" */
|
|
2179
|
+
'./pn-product-pricelist.entry.js').then(processMod, consoleError);
|
|
2180
|
+
case 'pn-product-pricelist-result':
|
|
2181
|
+
return import(
|
|
2182
|
+
/* webpackMode: "lazy" */
|
|
2183
|
+
'./pn-product-pricelist-result.entry.js').then(processMod, consoleError);
|
|
2184
|
+
case 'pn-product-tile':
|
|
2185
|
+
return import(
|
|
2186
|
+
/* webpackMode: "lazy" */
|
|
2187
|
+
'./pn-product-tile.entry.js').then(processMod, consoleError);
|
|
2188
|
+
case 'pn-profile-modal':
|
|
2189
|
+
return import(
|
|
2190
|
+
/* webpackMode: "lazy" */
|
|
2191
|
+
'./pn-profile-modal.entry.js').then(processMod, consoleError);
|
|
2192
|
+
case 'pn-profile-modal-customernumber':
|
|
2193
|
+
return import(
|
|
2194
|
+
/* webpackMode: "lazy" */
|
|
2195
|
+
'./pn-profile-modal-customernumber.entry.js').then(processMod, consoleError);
|
|
2196
|
+
case 'pn-profile-modal-profile':
|
|
2197
|
+
return import(
|
|
2198
|
+
/* webpackMode: "lazy" */
|
|
2199
|
+
'./pn-profile-modal-profile.entry.js').then(processMod, consoleError);
|
|
2200
|
+
case 'pn-profile-modal-type':
|
|
2201
|
+
return import(
|
|
2202
|
+
/* webpackMode: "lazy" */
|
|
2203
|
+
'./pn-profile-modal-type.entry.js').then(processMod, consoleError);
|
|
2204
|
+
case 'pn-profile-selector':
|
|
2205
|
+
return import(
|
|
2206
|
+
/* webpackMode: "lazy" */
|
|
2207
|
+
'./pn-profile-selector.entry.js').then(processMod, consoleError);
|
|
2208
|
+
case 'pn-profile-selector-option':
|
|
2209
|
+
return import(
|
|
2210
|
+
/* webpackMode: "lazy" */
|
|
2211
|
+
'./pn-profile-selector-option.entry.js').then(processMod, consoleError);
|
|
2212
|
+
case 'pn-proxio-findprice':
|
|
2213
|
+
return import(
|
|
2214
|
+
/* webpackMode: "lazy" */
|
|
2215
|
+
'./pn-proxio-findprice.entry.js').then(processMod, consoleError);
|
|
2216
|
+
case 'pn-proxio-pricegroup':
|
|
2217
|
+
return import(
|
|
2218
|
+
/* webpackMode: "lazy" */
|
|
2219
|
+
'./pn-proxio-pricegroup.entry.js').then(processMod, consoleError);
|
|
2220
|
+
case 'pn-quick-cta':
|
|
2221
|
+
return import(
|
|
2222
|
+
/* webpackMode: "lazy" */
|
|
2223
|
+
'./pn-quick-cta.entry.js').then(processMod, consoleError);
|
|
2224
|
+
case 'pn-quote-card':
|
|
2225
|
+
return import(
|
|
2226
|
+
/* webpackMode: "lazy" */
|
|
2227
|
+
'./pn-quote-card.entry.js').then(processMod, consoleError);
|
|
2228
|
+
case 'pn-scroll':
|
|
2229
|
+
return import(
|
|
2230
|
+
/* webpackMode: "lazy" */
|
|
2231
|
+
'./pn-scroll.entry.js').then(processMod, consoleError);
|
|
2232
|
+
case 'pn-share':
|
|
2233
|
+
return import(
|
|
2234
|
+
/* webpackMode: "lazy" */
|
|
2235
|
+
'./pn-share.entry.js').then(processMod, consoleError);
|
|
2236
|
+
case 'pn-sidenav':
|
|
2237
|
+
return import(
|
|
2238
|
+
/* webpackMode: "lazy" */
|
|
2239
|
+
'./pn-sidenav.entry.js').then(processMod, consoleError);
|
|
2240
|
+
case 'pn-sidenav-level':
|
|
2241
|
+
return import(
|
|
2242
|
+
/* webpackMode: "lazy" */
|
|
2243
|
+
'./pn-sidenav-level.entry.js').then(processMod, consoleError);
|
|
2244
|
+
case 'pn-sidenav-link':
|
|
2245
|
+
return import(
|
|
2246
|
+
/* webpackMode: "lazy" */
|
|
2247
|
+
'./pn-sidenav-link.entry.js').then(processMod, consoleError);
|
|
2248
|
+
case 'pn-sidenav-togglebutton':
|
|
2249
|
+
return import(
|
|
2250
|
+
/* webpackMode: "lazy" */
|
|
2251
|
+
'./pn-sidenav-togglebutton.entry.js').then(processMod, consoleError);
|
|
2252
|
+
case 'pn-spotlight':
|
|
2253
|
+
return import(
|
|
2254
|
+
/* webpackMode: "lazy" */
|
|
2255
|
+
'./pn-spotlight.entry.js').then(processMod, consoleError);
|
|
2256
|
+
case 'pn-stats-info':
|
|
2257
|
+
return import(
|
|
2258
|
+
/* webpackMode: "lazy" */
|
|
2259
|
+
'./pn-stats-info.entry.js').then(processMod, consoleError);
|
|
2260
|
+
case 'pn-teaser-card':
|
|
2261
|
+
return import(
|
|
2262
|
+
/* webpackMode: "lazy" */
|
|
2263
|
+
'./pn-teaser-card.entry.js').then(processMod, consoleError);
|
|
2264
|
+
case 'pn-find-service-and-price-result':
|
|
2265
|
+
return import(
|
|
2266
|
+
/* webpackMode: "lazy" */
|
|
2267
|
+
'./pn-find-service-and-price-result.entry.js').then(processMod, consoleError);
|
|
2268
|
+
case 'pn-language-selector_9':
|
|
2269
|
+
return import(
|
|
2270
|
+
/* webpackMode: "lazy" */
|
|
2271
|
+
'./pn-language-selector_9.entry.js').then(processMod, consoleError);
|
|
2272
|
+
case 'pn-proxio-findprice-result':
|
|
2273
|
+
return import(
|
|
2274
|
+
/* webpackMode: "lazy" */
|
|
2275
|
+
'./pn-proxio-findprice-result.entry.js').then(processMod, consoleError);
|
|
2276
|
+
case 'pn-share-item':
|
|
2277
|
+
return import(
|
|
2278
|
+
/* webpackMode: "lazy" */
|
|
2279
|
+
'./pn-share-item.entry.js').then(processMod, consoleError);
|
|
2280
|
+
case 'pn-site-footer_2':
|
|
2281
|
+
return import(
|
|
2282
|
+
/* webpackMode: "lazy" */
|
|
2283
|
+
'./pn-site-footer_2.entry.js').then(processMod, consoleError);
|
|
2284
|
+
case 'pn-stats-info-data':
|
|
2285
|
+
return import(
|
|
2286
|
+
/* webpackMode: "lazy" */
|
|
2287
|
+
'./pn-stats-info-data.entry.js').then(processMod, consoleError);
|
|
2288
|
+
case 'pn-find-price-result':
|
|
2289
|
+
return import(
|
|
2290
|
+
/* webpackMode: "lazy" */
|
|
2291
|
+
'./pn-find-price-result.entry.js').then(processMod, consoleError);
|
|
2292
|
+
case 'pn-mainnav-link':
|
|
2293
|
+
return import(
|
|
2294
|
+
/* webpackMode: "lazy" */
|
|
2295
|
+
'./pn-mainnav-link.entry.js').then(processMod, consoleError);
|
|
2296
|
+
case 'pn-marketweb-input':
|
|
2297
|
+
return import(
|
|
2298
|
+
/* webpackMode: "lazy" */
|
|
2299
|
+
'./pn-marketweb-input.entry.js').then(processMod, consoleError);
|
|
2300
|
+
case 'pn-marketweb-siteheader-login-button_5':
|
|
2301
|
+
return import(
|
|
2302
|
+
/* webpackMode: "lazy" */
|
|
2303
|
+
'./pn-marketweb-siteheader-login-button_5.entry.js').then(processMod, consoleError);
|
|
2304
|
+
case 'pn-product-tile-info_2':
|
|
2305
|
+
return import(
|
|
2306
|
+
/* webpackMode: "lazy" */
|
|
2307
|
+
'./pn-product-tile-info_2.entry.js').then(processMod, consoleError);
|
|
2308
|
+
case 'pn-choice-button':
|
|
2309
|
+
return import(
|
|
2310
|
+
/* webpackMode: "lazy" */
|
|
2311
|
+
'./pn-choice-button.entry.js').then(processMod, consoleError);
|
|
2312
|
+
case 'pn-proxio-productcard_4':
|
|
2313
|
+
return import(
|
|
2314
|
+
/* webpackMode: "lazy" */
|
|
2315
|
+
'./pn-proxio-productcard_4.entry.js').then(processMod, consoleError);
|
|
2316
|
+
case 'pn-marketweb-siteheader-login-linklist':
|
|
2317
|
+
return import(
|
|
2318
|
+
/* webpackMode: "lazy" */
|
|
2319
|
+
'./pn-marketweb-siteheader-login-linklist.entry.js').then(processMod, consoleError);
|
|
2320
|
+
case 'pn-product-card_3':
|
|
2321
|
+
return import(
|
|
2322
|
+
/* webpackMode: "lazy" */
|
|
2323
|
+
'./pn-product-card_3.entry.js').then(processMod, consoleError);
|
|
2324
|
+
case 'pn-titletag':
|
|
2325
|
+
return import(
|
|
2326
|
+
/* webpackMode: "lazy" */
|
|
2327
|
+
'./pn-titletag.entry.js').then(processMod, consoleError);
|
|
2328
|
+
}
|
|
2329
|
+
}
|
|
1806
2330
|
return import(
|
|
2331
|
+
/* @vite-ignore */
|
|
1807
2332
|
/* webpackInclude: /\.entry\.js$/ */
|
|
1808
2333
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
1809
2334
|
/* webpackMode: "lazy" */
|
|
@@ -1814,14 +2339,38 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1814
2339
|
return importedModule[exportName];
|
|
1815
2340
|
}, consoleError);
|
|
1816
2341
|
};
|
|
1817
|
-
const styles = new Map();
|
|
2342
|
+
const styles = /*@__PURE__*/ new Map();
|
|
2343
|
+
const win = typeof window !== 'undefined' ? window : {};
|
|
2344
|
+
const doc = win.document || { head: {} };
|
|
2345
|
+
const H = (win.HTMLElement || class {
|
|
2346
|
+
});
|
|
2347
|
+
const plt = {
|
|
2348
|
+
$flags$: 0,
|
|
2349
|
+
$resourcesUrl$: '',
|
|
2350
|
+
jmp: (h) => h(),
|
|
2351
|
+
raf: (h) => requestAnimationFrame(h),
|
|
2352
|
+
ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),
|
|
2353
|
+
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
2354
|
+
ce: (eventName, opts) => new CustomEvent(eventName, opts),
|
|
2355
|
+
};
|
|
2356
|
+
const supportsShadow = true;
|
|
2357
|
+
const promiseResolve = (v) => Promise.resolve(v);
|
|
2358
|
+
const supportsConstructableStylesheets = /*@__PURE__*/ (() => {
|
|
2359
|
+
try {
|
|
2360
|
+
new CSSStyleSheet();
|
|
2361
|
+
return typeof new CSSStyleSheet().replaceSync === 'function';
|
|
2362
|
+
}
|
|
2363
|
+
catch (e) { }
|
|
2364
|
+
return false;
|
|
2365
|
+
})()
|
|
2366
|
+
;
|
|
1818
2367
|
const queueDomReads = [];
|
|
1819
2368
|
const queueDomWrites = [];
|
|
1820
2369
|
const queueTask = (queue, write) => (cb) => {
|
|
1821
2370
|
queue.push(cb);
|
|
1822
2371
|
if (!queuePending) {
|
|
1823
2372
|
queuePending = true;
|
|
1824
|
-
if (write && plt.$flags$ & 4 /* queueSync */) {
|
|
2373
|
+
if (write && plt.$flags$ & 4 /* PLATFORM_FLAGS.queueSync */) {
|
|
1825
2374
|
nextTick(flush);
|
|
1826
2375
|
}
|
|
1827
2376
|
else {
|
|
@@ -1858,4 +2407,4 @@ const flush = () => {
|
|
|
1858
2407
|
const nextTick = /*@__PURE__*/ (cb) => promiseResolve().then(cb);
|
|
1859
2408
|
const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
1860
2409
|
|
|
1861
|
-
export { H, NAMESPACE as N, Host as a, bootstrapLazy as b, getRenderingRef as c, doc as d, createEvent as e, forceUpdate as f, getElement as g, h, promiseResolve as p, registerInstance as r, win as w };
|
|
2410
|
+
export { H, NAMESPACE as N, Host as a, bootstrapLazy as b, getRenderingRef as c, doc as d, createEvent as e, forceUpdate as f, getElement as g, h, promiseResolve as p, registerInstance as r, setNonce as s, win as w };
|