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