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