@postnord/pn-marketweb-components 4.0.2 → 4.0.4-test
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/dist/cjs/{MarketWebContextService-0fdc43c8.js → FetchHelper-e951824f.js} +82 -1
- package/dist/cjs/FetchHelper-e951824f.js.map +1 -0
- package/dist/cjs/{index-4067c6a5.js → index-1d8c9211.js} +2 -2
- package/dist/cjs/{index-4067c6a5.js.map → index-1d8c9211.js.map} +1 -1
- package/dist/cjs/{index-b02670c2.js → index-34e1c673.js} +4 -53
- package/dist/cjs/index-34e1c673.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/pn-address-autofill.cjs.entry.js +75 -51
- package/dist/cjs/pn-address-autofill.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-animated-tile.cjs.entry.js +2 -2
- package/dist/cjs/pn-animated-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-app-banner.cjs.entry.js +3 -3
- package/dist/cjs/pn-app-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-bonus-progressbar-level.cjs.entry.js +2 -2
- package/dist/cjs/pn-bonus-progressbar-level.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-bonus-progressbar.cjs.entry.js +2 -2
- package/dist/cjs/pn-bonus-progressbar.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-breakpoints.cjs.entry.js +3 -3
- package/dist/cjs/pn-breakpoints.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-chart.cjs.entry.js +2 -2
- package/dist/cjs/pn-chart.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-charts-card.cjs.entry.js +2 -2
- package/dist/cjs/pn-charts-card.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-choice-button.cjs.entry.js +2 -2
- package/dist/cjs/pn-choice-button.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-cta-block.cjs.entry.js +2 -2
- package/dist/cjs/pn-cta-block.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-customernumber-selector-option.cjs.entry.js +3 -3
- package/dist/cjs/pn-customernumber-selector-option.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-customernumber-selector.cjs.entry.js +9 -4
- package/dist/cjs/pn-customernumber-selector.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-date-and-time.cjs.entry.js +2 -2
- package/dist/cjs/pn-date-and-time.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-dropdown-choice-adds-row.cjs.entry.js +8 -20
- package/dist/cjs/pn-dropdown-choice-adds-row.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js +2 -2
- package/dist/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js +2 -2
- package/dist/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-filter-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/pn-filter-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-find-price-result.cjs.entry.js +5 -5
- package/dist/cjs/pn-find-price-result.cjs.entry.js.map +1 -1
- package/dist/cjs/{pn-find-price-store-0c8256c7.js → pn-find-price-store-051e931b.js} +2 -2
- package/dist/cjs/{pn-find-price-store-0c8256c7.js.map → pn-find-price-store-051e931b.js.map} +1 -1
- package/dist/cjs/pn-find-price.cjs.entry.js +6 -6
- package/dist/cjs/pn-find-price.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-find-service-and-price-result.cjs.entry.js +5 -5
- package/dist/cjs/pn-find-service-and-price-result.cjs.entry.js.map +1 -1
- package/dist/cjs/{pn-find-service-and-price-store-13f060e0.js → pn-find-service-and-price-store-3cec3d31.js} +2 -2
- package/dist/cjs/{pn-find-service-and-price-store-13f060e0.js.map → pn-find-service-and-price-store-3cec3d31.js.map} +1 -1
- package/dist/cjs/pn-find-service-and-price.cjs.entry.js +5 -5
- package/dist/cjs/pn-find-service-and-price.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-hero-block-international.cjs.entry.js +3 -3
- package/dist/cjs/pn-hero-block-international.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-language-selector_9.cjs.entry.js +27 -25
- package/dist/cjs/pn-language-selector_9.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-line-shape.cjs.entry.js +2 -2
- package/dist/cjs/pn-line-shape.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-link-list.cjs.entry.js +3 -3
- package/dist/cjs/pn-link-list.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-mainnav-link.cjs.entry.js +5 -5
- package/dist/cjs/pn-mainnav-link.cjs.entry.js.map +1 -1
- package/dist/cjs/{pn-mainnav-store-5732f3ca.js → pn-mainnav-store-1a8153fd.js} +2 -2
- package/dist/cjs/{pn-mainnav-store-5732f3ca.js.map → pn-mainnav-store-1a8153fd.js.map} +1 -1
- package/dist/cjs/pn-market-web-components.cjs.js +2 -2
- package/dist/cjs/pn-marketweb-icon.cjs.entry.js +3 -3
- package/dist/cjs/pn-marketweb-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-marketweb-input.cjs.entry.js +6 -4
- package/dist/cjs/pn-marketweb-input.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-marketweb-search.cjs.entry.js +5 -6
- package/dist/cjs/pn-marketweb-search.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-marketweb-sitefooter.cjs.entry.js +10 -7
- package/dist/cjs/pn-marketweb-sitefooter.cjs.entry.js.map +1 -1
- package/dist/cjs/{pn-marketweb-siteheader-login-button_4.cjs.entry.js → pn-marketweb-siteheader-login-button_5.cjs.entry.js} +26 -8
- package/dist/cjs/pn-marketweb-siteheader-login-button_5.cjs.entry.js.map +1 -0
- package/dist/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js +4 -4
- package/dist/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js.map +1 -1
- package/dist/cjs/{pn-marketweb-siteheader-store-ce9d9ac7.js → pn-marketweb-siteheader-store-75853609.js} +2 -2
- package/dist/cjs/{pn-marketweb-siteheader-store-ce9d9ac7.js.map → pn-marketweb-siteheader-store-75853609.js.map} +1 -1
- package/dist/cjs/pn-marketweb-siteheader.cjs.entry.js +10 -11
- package/dist/cjs/pn-marketweb-siteheader.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-media-block.cjs.entry.js +6 -6
- package/dist/cjs/pn-media-block.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js +2 -2
- package/dist/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-multi-row-connected-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/pn-multi-row-connected-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-multiple-input.cjs.entry.js +1 -1
- package/dist/cjs/pn-parcel-tracker.cjs.entry.js +2 -2
- package/dist/cjs/pn-parcel-tracker.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-pex-pricefinder.cjs.entry.js +3 -3
- package/dist/cjs/pn-pex-pricefinder.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-play-on-scroll.cjs.entry.js +1 -1
- package/dist/cjs/pn-product-card_3.cjs.entry.js +5 -5
- package/dist/cjs/pn-product-card_3.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-product-pricelist-result.cjs.entry.js +4 -4
- package/dist/cjs/pn-product-pricelist-result.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-product-pricelist.cjs.entry.js +6 -6
- package/dist/cjs/pn-product-pricelist.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-product-tile-info_2.cjs.entry.js +4 -4
- package/dist/cjs/pn-product-tile-info_2.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-product-tile.cjs.entry.js +3 -3
- package/dist/cjs/pn-product-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-profile-modal-customernumber.cjs.entry.js +3 -3
- package/dist/cjs/pn-profile-modal-customernumber.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-profile-modal-profile.cjs.entry.js +6 -6
- package/dist/cjs/pn-profile-modal-profile.cjs.entry.js.map +1 -1
- package/dist/cjs/{pn-profile-modal-store-16f8092a.js → pn-profile-modal-store-3b6fea24.js} +2 -2
- package/dist/cjs/{pn-profile-modal-store-16f8092a.js.map → pn-profile-modal-store-3b6fea24.js.map} +1 -1
- package/dist/cjs/pn-profile-modal-type.cjs.entry.js +5 -5
- package/dist/cjs/pn-profile-modal-type.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-profile-modal.cjs.entry.js +5 -5
- package/dist/cjs/pn-profile-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-profile-selector-option.cjs.entry.js +3 -3
- package/dist/cjs/pn-profile-selector-option.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-profile-selector.cjs.entry.js +3 -3
- package/dist/cjs/pn-profile-selector.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-proxio-findprice-result.cjs.entry.js +3 -3
- package/dist/cjs/pn-proxio-findprice-result.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-proxio-findprice.cjs.entry.js +8 -9
- package/dist/cjs/pn-proxio-findprice.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-proxio-pricegroup.cjs.entry.js +5 -6
- package/dist/cjs/pn-proxio-pricegroup.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-proxio-productcard_4.cjs.entry.js +8 -8
- package/dist/cjs/pn-proxio-productcard_4.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-quick-cta.cjs.entry.js +2 -2
- package/dist/cjs/pn-quick-cta.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-quote-card.cjs.entry.js +2 -2
- package/dist/cjs/pn-quote-card.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-scroll_2.cjs.entry.js +2 -2
- package/dist/cjs/pn-scroll_2.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-share-item.cjs.entry.js +2 -2
- package/dist/cjs/pn-share-item.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-share.cjs.entry.js +2 -2
- package/dist/cjs/pn-share.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-sidenav-level.cjs.entry.js +5 -5
- package/dist/cjs/pn-sidenav-level.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-sidenav-link.cjs.entry.js +5 -5
- package/dist/cjs/pn-sidenav-link.cjs.entry.js.map +1 -1
- package/dist/cjs/{pn-sidenav-store-236c8806.js → pn-sidenav-store-cf9c4996.js} +2 -2
- package/dist/cjs/{pn-sidenav-store-236c8806.js.map → pn-sidenav-store-cf9c4996.js.map} +1 -1
- package/dist/cjs/pn-sidenav-togglebutton.cjs.entry.js +5 -5
- package/dist/cjs/pn-sidenav-togglebutton.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-sidenav.cjs.entry.js +5 -5
- package/dist/cjs/pn-sidenav.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-site-footer_3.cjs.entry.js +7 -7
- package/dist/cjs/pn-site-footer_3.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-spotlight.cjs.entry.js +2 -2
- package/dist/cjs/pn-spotlight.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-stats-info-data.cjs.entry.js +2 -2
- package/dist/cjs/pn-stats-info-data.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-stats-info.cjs.entry.js +2 -2
- package/dist/cjs/pn-stats-info.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-teaser-card.cjs.entry.js +9 -5
- package/dist/cjs/pn-teaser-card.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-titletag.cjs.entry.js +3 -3
- package/dist/cjs/pn-titletag.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-usp-promoter.cjs.entry.js +3 -3
- package/dist/cjs/pn-usp-promoter.cjs.entry.js.map +1 -1
- package/dist/collection/collection-manifest.json +0 -7
- package/dist/collection/components/animation/pn-animated-tile/pn-animated-tile.css +0 -25
- package/dist/collection/components/animation/pn-play-on-scroll/pn-video-overlay/pn-video-overlay.css +0 -25
- package/dist/collection/components/cards/pn-quote-card/pn-line-shape/pn-line-shape.css +0 -25
- package/dist/collection/components/cards/pn-quote-card/pn-quote-card.css +0 -25
- package/dist/collection/components/cards/pn-teaser-card/pn-teaser-card.css +0 -25
- package/dist/collection/components/cards/pn-teaser-card/pn-teaser-card.js +11 -8
- package/dist/collection/components/cards/pn-teaser-card/pn-teaser-card.js.map +1 -1
- package/dist/collection/components/cards/pn-teaser-card/pn-teaser-card.stories.js +3 -3
- package/dist/collection/components/charts/pn-chart/pn-chart.css +0 -25
- package/dist/collection/components/charts/pn-charts-card/pn-charts-card.css +0 -25
- package/dist/collection/components/cta/pn-cta-block/pn-cta-block.css +0 -25
- package/dist/collection/components/cta/pn-parcel-tracker/pn-parcel-tracker.css +0 -25
- package/dist/collection/components/cta/pn-quick-cta/pn-quick-cta.css +0 -25
- package/dist/collection/components/cta/pn-share/pn-share-item.css +0 -25
- package/dist/collection/components/cta/pn-share/pn-share.css +0 -25
- package/dist/collection/components/cta/pn-spotlight/pn-spotlight.css +0 -25
- package/dist/collection/components/data-visualization/pn-stats-info/pn-stats-info-data/pn-stats-info-data.css +0 -25
- package/dist/collection/components/data-visualization/pn-stats-info/pn-stats-info.css +0 -25
- package/dist/collection/components/input/pn-address-autofill/pn-address-autofill.css +1 -31
- package/dist/collection/components/input/pn-address-autofill/pn-address-autofill.js +68 -58
- package/dist/collection/components/input/pn-address-autofill/pn-address-autofill.js.map +1 -1
- package/dist/collection/components/input/pn-address-autofill/pn-address-autofill.stories.js +1 -2
- package/dist/collection/components/input/pn-address-autofill/translations.js +3 -6
- package/dist/collection/components/input/pn-address-autofill/translations.js.map +1 -1
- package/dist/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar-level.css +0 -25
- package/dist/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar.css +0 -25
- package/dist/collection/components/input/pn-choice-button/pn-choice-button.css +0 -25
- package/dist/collection/components/input/pn-date-and-time/pn-date-and-time.css +0 -25
- package/dist/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.css +0 -25
- package/dist/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.js +6 -18
- package/dist/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.js.map +1 -1
- package/dist/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows-row.css +0 -25
- package/dist/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows.css +0 -25
- package/dist/collection/components/input/pn-filter-checkbox/pn-filter-checkbox.css +0 -25
- package/dist/collection/components/input/pn-marketweb-input/pn-marketweb-input.css +0 -25
- package/dist/collection/components/input/pn-marketweb-search/pn-marketweb-search.css +0 -25
- package/dist/collection/components/input/pn-marketweb-search/pn-marketweb-search.js +3 -4
- package/dist/collection/components/input/pn-marketweb-search/pn-marketweb-search.js.map +1 -1
- package/dist/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown-row.css +0 -25
- package/dist/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown.css +0 -25
- package/dist/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.css +0 -50
- package/dist/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js +1 -1
- package/dist/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js.map +1 -1
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-linklist.css +0 -25
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-links.css +0 -25
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.css +0 -25
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.js +0 -1
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.js.map +1 -1
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.css +0 -25
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js +1 -1
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js.map +1 -1
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.css +0 -25
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js +37 -1
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js.map +1 -1
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.css +6 -45
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +4 -4
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js +5 -32
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js.map +1 -1
- package/dist/collection/components/media/pn-media-block/pn-media-block.css +0 -25
- package/dist/collection/components/media/pn-media-block/pn-media-block.js +8 -8
- package/dist/collection/components/media/pn-media-block/pn-media-block.js.map +1 -1
- package/dist/collection/components/media/pn-media-block/pn-media-block.stories.js +76 -76
- package/dist/collection/components/minor/pn-app-banner/pn-app-banner.css +0 -25
- package/dist/collection/components/minor/pn-app-banner/pn-app-banner.js +1 -1
- package/dist/collection/components/minor/pn-marketweb-icon/pn-marketweb-icon.css +0 -25
- package/dist/collection/components/minor/pn-marketweb-icon/pn-marketweb-icon.js +1 -1
- package/dist/collection/components/minor/pn-swan/pn-swan.css +0 -25
- package/dist/collection/components/minor/pn-swan/pn-swan.js +1 -1
- package/dist/collection/components/minor/pn-titletag/pn-titletag.css +0 -25
- package/dist/collection/components/minor/pn-titletag/pn-titletag.js +1 -1
- package/dist/collection/components/navigation/pn-language-selector/pn-language-selector-option.css +0 -50
- package/dist/collection/components/navigation/pn-language-selector/pn-language-selector-option.js +1 -1
- package/dist/collection/components/navigation/pn-language-selector/pn-language-selector.css +0 -50
- package/dist/collection/components/navigation/pn-language-selector/pn-language-selector.js +1 -1
- package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-level.css +0 -25
- package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-level.js +2 -2
- package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-link.css +0 -25
- package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-link.js +1 -1
- package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-list.css +0 -25
- package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-list.js +1 -1
- package/dist/collection/components/navigation/pn-mainnav/pn-mainnav.css +0 -25
- package/dist/collection/components/navigation/pn-mainnav/pn-mainnav.js +1 -1
- package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-level.css +0 -25
- package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-level.js +1 -1
- package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-link.css +0 -25
- package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-link.js +1 -1
- package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.css +0 -25
- package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.js +1 -1
- package/dist/collection/components/navigation/pn-sidenav/pn-sidenav.css +0 -25
- package/dist/collection/components/navigation/pn-sidenav/pn-sidenav.js +1 -1
- package/dist/collection/components/navigation/pn-site-footer/pn-site-footer-col.css +0 -50
- package/dist/collection/components/navigation/pn-site-footer/pn-site-footer-col.js +1 -1
- package/dist/collection/components/navigation/pn-site-footer/pn-site-footer.css +0 -50
- package/dist/collection/components/navigation/pn-site-footer/pn-site-footer.js +1 -1
- package/dist/collection/components/navigation/pn-site-selector/pn-site-selector-item.css +0 -25
- package/dist/collection/components/navigation/pn-site-selector/pn-site-selector-item.js +1 -1
- package/dist/collection/components/navigation/pn-site-selector/pn-site-selector.css +0 -25
- package/dist/collection/components/navigation/pn-site-selector/pn-site-selector.js +1 -1
- package/dist/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.css +0 -25
- package/dist/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.js +1 -1
- package/dist/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.css +0 -25
- package/dist/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.js +1 -1
- package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.css +0 -25
- package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.js +1 -1
- package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.css +0 -25
- package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.js +2 -2
- package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-type.css +0 -25
- package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-type.js +1 -1
- package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal.css +0 -25
- package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal.js +1 -1
- package/dist/collection/components/profile/pn-profile-selector/pn-profile-selector-option.css +0 -25
- package/dist/collection/components/profile/pn-profile-selector/pn-profile-selector-option.js +1 -1
- package/dist/collection/components/profile/pn-profile-selector/pn-profile-selector.css +0 -25
- package/dist/collection/components/profile/pn-profile-selector/pn-profile-selector.js +1 -1
- package/dist/collection/components/utilities/pn-breakpoints/pn-breakpoints.css +0 -25
- package/dist/collection/components/utilities/pn-breakpoints/pn-breakpoints.js +1 -1
- package/dist/collection/components/widgets/pn-find-price/pn-find-price-result.css +0 -25
- package/dist/collection/components/widgets/pn-find-price/pn-find-price-result.js +1 -1
- package/dist/collection/components/widgets/pn-find-price/pn-find-price.css +0 -25
- package/dist/collection/components/widgets/pn-find-price/pn-find-price.js +2 -2
- package/dist/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.css +0 -25
- package/dist/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.js +1 -1
- package/dist/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.css +0 -25
- package/dist/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.js +1 -1
- package/dist/collection/components/widgets/pn-hero-block-international/pn-hero-block-international.css +0 -25
- package/dist/collection/components/widgets/pn-hero-block-international/pn-hero-block-international.js +1 -1
- package/dist/collection/components/widgets/pn-link-list/pn-link-list.css +0 -25
- package/dist/collection/components/widgets/pn-link-list/pn-link-list.js +1 -1
- package/dist/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.css +0 -25
- package/dist/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.js +1 -1
- package/dist/collection/components/widgets/pn-product-card/pn-product-card-info.css +0 -25
- package/dist/collection/components/widgets/pn-product-card/pn-product-card-price.css +0 -25
- package/dist/collection/components/widgets/pn-product-card/pn-product-card.css +0 -25
- package/dist/collection/components/widgets/pn-product-card/pn-product-card.js +1 -1
- package/dist/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.css +0 -25
- package/dist/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.js +1 -1
- package/dist/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.css +0 -25
- package/dist/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.js +2 -2
- package/dist/collection/components/widgets/pn-product-tile/pn-product-tile-info.css +0 -25
- package/dist/collection/components/widgets/pn-product-tile/pn-product-tile-info.js +1 -1
- package/dist/collection/components/widgets/pn-product-tile/pn-product-tile-price.css +0 -25
- package/dist/collection/components/widgets/pn-product-tile/pn-product-tile.css +0 -25
- package/dist/collection/components/widgets/pn-product-tile/pn-product-tile.js +1 -1
- package/dist/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.css +0 -25
- package/dist/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.js +1 -1
- package/dist/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.css +0 -25
- package/dist/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.js +3 -3
- package/dist/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.css +0 -25
- package/dist/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.js +1 -1
- package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.css +0 -25
- package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.js +1 -1
- package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.css +0 -25
- package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.js +1 -1
- package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-pricelink.css +0 -25
- package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.css +0 -25
- package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.js +1 -1
- package/dist/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.css +0 -25
- package/dist/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.js +1 -1
- package/dist/collection/globals/HeadingTag.js +2 -2
- package/dist/collection/globals/HeadingTag.js.map +1 -1
- package/dist/collection/utils/utils.js +0 -11
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/components/FetchHelper.js +243 -1
- package/dist/components/FetchHelper.js.map +1 -1
- package/dist/components/pn-address-autofill.js +73 -50
- package/dist/components/pn-address-autofill.js.map +1 -1
- package/dist/components/pn-animated-tile.js +1 -1
- package/dist/components/pn-animated-tile.js.map +1 -1
- package/dist/components/pn-app-banner.js +2 -2
- package/dist/components/pn-app-banner.js.map +1 -1
- package/dist/components/pn-bonus-progressbar-level.js +1 -1
- package/dist/components/pn-bonus-progressbar-level.js.map +1 -1
- package/dist/components/pn-bonus-progressbar.js +1 -1
- package/dist/components/pn-bonus-progressbar.js.map +1 -1
- package/dist/components/pn-breakpoints.js +2 -2
- package/dist/components/pn-breakpoints.js.map +1 -1
- package/dist/components/pn-chart.js +1 -1
- package/dist/components/pn-chart.js.map +1 -1
- package/dist/components/pn-charts-card.js +1 -1
- package/dist/components/pn-charts-card.js.map +1 -1
- package/dist/components/pn-choice-button2.js +1 -1
- package/dist/components/pn-choice-button2.js.map +1 -1
- package/dist/components/pn-cta-block.js +1 -1
- package/dist/components/pn-cta-block.js.map +1 -1
- package/dist/components/pn-customernumber-selector-option.js +2 -2
- package/dist/components/pn-customernumber-selector-option.js.map +1 -1
- package/dist/components/pn-customernumber-selector.js +8 -3
- package/dist/components/pn-customernumber-selector.js.map +1 -1
- package/dist/components/pn-date-and-time.js +1 -1
- package/dist/components/pn-date-and-time.js.map +1 -1
- package/dist/components/pn-dropdown-choice-adds-row.js +7 -19
- package/dist/components/pn-dropdown-choice-adds-row.js.map +1 -1
- package/dist/components/pn-dropdown-with-multi-input-rows-row2.js +1 -1
- package/dist/components/pn-dropdown-with-multi-input-rows-row2.js.map +1 -1
- package/dist/components/pn-dropdown-with-multi-input-rows.js +1 -1
- package/dist/components/pn-dropdown-with-multi-input-rows.js.map +1 -1
- package/dist/components/pn-filter-checkbox2.js +1 -1
- package/dist/components/pn-filter-checkbox2.js.map +1 -1
- package/dist/components/pn-find-price-result2.js +2 -2
- package/dist/components/pn-find-price-result2.js.map +1 -1
- package/dist/components/pn-find-price.js +3 -3
- package/dist/components/pn-find-price.js.map +1 -1
- package/dist/components/pn-find-service-and-price-result2.js +2 -2
- package/dist/components/pn-find-service-and-price-result2.js.map +1 -1
- package/dist/components/pn-find-service-and-price.js +2 -2
- package/dist/components/pn-find-service-and-price.js.map +1 -1
- package/dist/components/pn-hero-block-international.js +2 -2
- package/dist/components/pn-hero-block-international.js.map +1 -1
- package/dist/components/pn-language-selector-option2.js +2 -2
- package/dist/components/pn-language-selector-option2.js.map +1 -1
- package/dist/components/pn-language-selector2.js +2 -2
- package/dist/components/pn-language-selector2.js.map +1 -1
- package/dist/components/pn-line-shape.js +1 -1
- package/dist/components/pn-line-shape.js.map +1 -1
- package/dist/components/pn-link-list.js +2 -2
- package/dist/components/pn-link-list.js.map +1 -1
- package/dist/components/pn-mainnav-level2.js +3 -3
- package/dist/components/pn-mainnav-level2.js.map +1 -1
- package/dist/components/pn-mainnav-link2.js +2 -2
- package/dist/components/pn-mainnav-link2.js.map +1 -1
- package/dist/components/pn-mainnav-list2.js +2 -2
- package/dist/components/pn-mainnav-list2.js.map +1 -1
- package/dist/components/pn-mainnav2.js +5 -3
- package/dist/components/pn-mainnav2.js.map +1 -1
- package/dist/components/pn-marketweb-icon.js +2 -2
- package/dist/components/pn-marketweb-icon.js.map +1 -1
- package/dist/components/pn-marketweb-input2.js +4 -2
- package/dist/components/pn-marketweb-input2.js.map +1 -1
- package/dist/components/pn-marketweb-search.js +4 -5
- package/dist/components/pn-marketweb-search.js.map +1 -1
- package/dist/components/pn-marketweb-sitefooter.js +9 -6
- package/dist/components/pn-marketweb-sitefooter.js.map +1 -1
- package/dist/components/pn-marketweb-siteheader-login-linklist2.js +1 -1
- package/dist/components/pn-marketweb-siteheader-login-linklist2.js.map +1 -1
- package/dist/components/pn-marketweb-siteheader-login-links2.js +1 -1
- package/dist/components/pn-marketweb-siteheader-login-links2.js.map +1 -1
- package/dist/components/pn-marketweb-siteheader-login-mypage-button.js +1 -34
- package/dist/components/pn-marketweb-siteheader-login-mypage-button.js.map +1 -1
- package/dist/components/pn-marketweb-siteheader-login-mypage-button2.js +38 -0
- package/dist/components/pn-marketweb-siteheader-login-mypage-button2.js.map +1 -0
- package/dist/components/pn-marketweb-siteheader-login-profileselection2.js +1 -2
- package/dist/components/pn-marketweb-siteheader-login-profileselection2.js.map +1 -1
- package/dist/components/pn-marketweb-siteheader-login2.js +14 -8
- package/dist/components/pn-marketweb-siteheader-login2.js.map +1 -1
- package/dist/components/pn-marketweb-siteheader-search2.js +1 -1
- package/dist/components/pn-marketweb-siteheader-search2.js.map +1 -1
- package/dist/components/pn-marketweb-siteheader-unified-login2.js +13 -3
- package/dist/components/pn-marketweb-siteheader-unified-login2.js.map +1 -1
- package/dist/components/pn-marketweb-siteheader.js +32 -27
- package/dist/components/pn-marketweb-siteheader.js.map +1 -1
- package/dist/components/pn-media-block.js +6 -6
- package/dist/components/pn-media-block.js.map +1 -1
- package/dist/components/pn-multi-row-connected-dropdown-row2.js +1 -1
- package/dist/components/pn-multi-row-connected-dropdown-row2.js.map +1 -1
- package/dist/components/pn-multi-row-connected-dropdown.js +1 -1
- package/dist/components/pn-multi-row-connected-dropdown.js.map +1 -1
- package/dist/components/pn-parcel-tracker.js +1 -1
- package/dist/components/pn-parcel-tracker.js.map +1 -1
- package/dist/components/pn-pex-pricefinder.js +2 -2
- package/dist/components/pn-pex-pricefinder.js.map +1 -1
- package/dist/components/pn-product-card-info2.js +1 -1
- package/dist/components/pn-product-card-info2.js.map +1 -1
- package/dist/components/pn-product-card-price2.js +1 -1
- package/dist/components/pn-product-card-price2.js.map +1 -1
- package/dist/components/pn-product-card2.js +2 -2
- package/dist/components/pn-product-card2.js.map +1 -1
- package/dist/components/pn-product-pricelist-result.js +2 -2
- package/dist/components/pn-product-pricelist-result.js.map +1 -1
- package/dist/components/pn-product-pricelist.js +3 -3
- package/dist/components/pn-product-pricelist.js.map +1 -1
- package/dist/components/pn-product-tile-info2.js +2 -2
- package/dist/components/pn-product-tile-info2.js.map +1 -1
- package/dist/components/pn-product-tile-price2.js +1 -1
- package/dist/components/pn-product-tile-price2.js.map +1 -1
- package/dist/components/pn-product-tile.js +2 -2
- package/dist/components/pn-product-tile.js.map +1 -1
- package/dist/components/pn-profile-modal-customernumber.js +2 -2
- package/dist/components/pn-profile-modal-customernumber.js.map +1 -1
- package/dist/components/pn-profile-modal-profile.js +3 -3
- package/dist/components/pn-profile-modal-profile.js.map +1 -1
- package/dist/components/pn-profile-modal-type.js +2 -2
- package/dist/components/pn-profile-modal-type.js.map +1 -1
- package/dist/components/pn-profile-modal.js +2 -2
- package/dist/components/pn-profile-modal.js.map +1 -1
- package/dist/components/pn-profile-selector-option.js +2 -2
- package/dist/components/pn-profile-selector-option.js.map +1 -1
- package/dist/components/pn-profile-selector.js +2 -2
- package/dist/components/pn-profile-selector.js.map +1 -1
- package/dist/components/pn-proxio-findprice-result2.js +2 -2
- package/dist/components/pn-proxio-findprice-result2.js.map +1 -1
- package/dist/components/pn-proxio-findprice.js +5 -6
- package/dist/components/pn-proxio-findprice.js.map +1 -1
- package/dist/components/pn-proxio-pricegroup.js +3 -4
- package/dist/components/pn-proxio-pricegroup.js.map +1 -1
- package/dist/components/pn-proxio-productcard-description2.js +2 -2
- package/dist/components/pn-proxio-productcard-description2.js.map +1 -1
- package/dist/components/pn-proxio-productcard-information2.js +2 -2
- package/dist/components/pn-proxio-productcard-information2.js.map +1 -1
- package/dist/components/pn-proxio-productcard-pricelink2.js +1 -1
- package/dist/components/pn-proxio-productcard-pricelink2.js.map +1 -1
- package/dist/components/pn-proxio-productcard2.js +2 -2
- package/dist/components/pn-proxio-productcard2.js.map +1 -1
- package/dist/components/pn-quick-cta.js +1 -1
- package/dist/components/pn-quick-cta.js.map +1 -1
- package/dist/components/pn-quote-card.js +1 -1
- package/dist/components/pn-quote-card.js.map +1 -1
- package/dist/components/pn-share-item2.js +1 -1
- package/dist/components/pn-share-item2.js.map +1 -1
- package/dist/components/pn-share.js +1 -1
- package/dist/components/pn-share.js.map +1 -1
- package/dist/components/pn-sidenav-level.js +2 -2
- package/dist/components/pn-sidenav-level.js.map +1 -1
- package/dist/components/pn-sidenav-link.js +2 -2
- package/dist/components/pn-sidenav-link.js.map +1 -1
- package/dist/components/pn-sidenav-togglebutton.js +2 -2
- package/dist/components/pn-sidenav-togglebutton.js.map +1 -1
- package/dist/components/pn-sidenav.js +2 -2
- package/dist/components/pn-sidenav.js.map +1 -1
- package/dist/components/pn-site-footer-col2.js +2 -2
- package/dist/components/pn-site-footer-col2.js.map +1 -1
- package/dist/components/pn-site-footer2.js +2 -2
- package/dist/components/pn-site-footer2.js.map +1 -1
- package/dist/components/pn-site-selector-item2.js +2 -2
- package/dist/components/pn-site-selector-item2.js.map +1 -1
- package/dist/components/pn-site-selector2.js +2 -2
- package/dist/components/pn-site-selector2.js.map +1 -1
- package/dist/components/pn-spotlight.js +1 -1
- package/dist/components/pn-spotlight.js.map +1 -1
- package/dist/components/pn-stats-info-data2.js +1 -1
- package/dist/components/pn-stats-info-data2.js.map +1 -1
- package/dist/components/pn-stats-info.js +1 -1
- package/dist/components/pn-stats-info.js.map +1 -1
- package/dist/components/pn-swan2.js +2 -2
- package/dist/components/pn-swan2.js.map +1 -1
- package/dist/components/pn-teaser-card.js +9 -5
- package/dist/components/pn-teaser-card.js.map +1 -1
- package/dist/components/pn-titletag2.js +2 -2
- package/dist/components/pn-titletag2.js.map +1 -1
- package/dist/components/pn-usp-promoter.js +2 -2
- package/dist/components/pn-usp-promoter.js.map +1 -1
- package/dist/components/pn-video-overlay2.js +1 -1
- package/dist/components/pn-video-overlay2.js.map +1 -1
- package/dist/{components/MarketWebContextService.js → esm/FetchHelper-746f2bb6.js} +82 -2
- package/dist/esm/FetchHelper-746f2bb6.js.map +1 -0
- package/dist/esm/{index-c311acd6.js → index-51d67461.js} +5 -53
- package/dist/esm/index-51d67461.js.map +1 -0
- package/dist/esm/{index-ae60ebec.js → index-89124075.js} +2 -2
- package/dist/esm/{index-ae60ebec.js.map → index-89124075.js.map} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/pn-address-autofill.entry.js +74 -50
- package/dist/esm/pn-address-autofill.entry.js.map +1 -1
- package/dist/esm/pn-animated-tile.entry.js +2 -2
- package/dist/esm/pn-animated-tile.entry.js.map +1 -1
- package/dist/esm/pn-app-banner.entry.js +3 -3
- package/dist/esm/pn-app-banner.entry.js.map +1 -1
- package/dist/esm/pn-bonus-progressbar-level.entry.js +2 -2
- package/dist/esm/pn-bonus-progressbar-level.entry.js.map +1 -1
- package/dist/esm/pn-bonus-progressbar.entry.js +2 -2
- package/dist/esm/pn-bonus-progressbar.entry.js.map +1 -1
- package/dist/esm/pn-breakpoints.entry.js +3 -3
- package/dist/esm/pn-breakpoints.entry.js.map +1 -1
- package/dist/esm/pn-chart.entry.js +2 -2
- package/dist/esm/pn-chart.entry.js.map +1 -1
- package/dist/esm/pn-charts-card.entry.js +2 -2
- package/dist/esm/pn-charts-card.entry.js.map +1 -1
- package/dist/esm/pn-choice-button.entry.js +2 -2
- package/dist/esm/pn-choice-button.entry.js.map +1 -1
- package/dist/esm/pn-cta-block.entry.js +2 -2
- package/dist/esm/pn-cta-block.entry.js.map +1 -1
- package/dist/esm/pn-customernumber-selector-option.entry.js +3 -3
- package/dist/esm/pn-customernumber-selector-option.entry.js.map +1 -1
- package/dist/esm/pn-customernumber-selector.entry.js +9 -4
- package/dist/esm/pn-customernumber-selector.entry.js.map +1 -1
- package/dist/esm/pn-date-and-time.entry.js +2 -2
- package/dist/esm/pn-date-and-time.entry.js.map +1 -1
- package/dist/esm/pn-dropdown-choice-adds-row.entry.js +8 -20
- package/dist/esm/pn-dropdown-choice-adds-row.entry.js.map +1 -1
- package/dist/esm/pn-dropdown-with-multi-input-rows-row.entry.js +2 -2
- package/dist/esm/pn-dropdown-with-multi-input-rows-row.entry.js.map +1 -1
- package/dist/esm/pn-dropdown-with-multi-input-rows.entry.js +2 -2
- package/dist/esm/pn-dropdown-with-multi-input-rows.entry.js.map +1 -1
- package/dist/esm/pn-filter-checkbox.entry.js +2 -2
- package/dist/esm/pn-filter-checkbox.entry.js.map +1 -1
- package/dist/esm/pn-find-price-result.entry.js +5 -5
- package/dist/esm/pn-find-price-result.entry.js.map +1 -1
- package/dist/esm/{pn-find-price-store-f97f2325.js → pn-find-price-store-c9a9d3d4.js} +2 -2
- package/dist/esm/{pn-find-price-store-f97f2325.js.map → pn-find-price-store-c9a9d3d4.js.map} +1 -1
- package/dist/esm/pn-find-price.entry.js +6 -6
- package/dist/esm/pn-find-price.entry.js.map +1 -1
- package/dist/esm/pn-find-service-and-price-result.entry.js +5 -5
- package/dist/esm/pn-find-service-and-price-result.entry.js.map +1 -1
- package/dist/esm/{pn-find-service-and-price-store-6553566d.js → pn-find-service-and-price-store-60aa5801.js} +2 -2
- package/dist/esm/{pn-find-service-and-price-store-6553566d.js.map → pn-find-service-and-price-store-60aa5801.js.map} +1 -1
- package/dist/esm/pn-find-service-and-price.entry.js +5 -5
- package/dist/esm/pn-find-service-and-price.entry.js.map +1 -1
- package/dist/esm/pn-hero-block-international.entry.js +3 -3
- package/dist/esm/pn-hero-block-international.entry.js.map +1 -1
- package/dist/esm/pn-language-selector_9.entry.js +27 -25
- package/dist/esm/pn-language-selector_9.entry.js.map +1 -1
- package/dist/esm/pn-line-shape.entry.js +2 -2
- package/dist/esm/pn-line-shape.entry.js.map +1 -1
- package/dist/esm/pn-link-list.entry.js +3 -3
- package/dist/esm/pn-link-list.entry.js.map +1 -1
- package/dist/esm/pn-mainnav-link.entry.js +5 -5
- package/dist/esm/pn-mainnav-link.entry.js.map +1 -1
- package/dist/esm/{pn-mainnav-store-23387019.js → pn-mainnav-store-9c42bc66.js} +2 -2
- package/dist/esm/{pn-mainnav-store-23387019.js.map → pn-mainnav-store-9c42bc66.js.map} +1 -1
- package/dist/esm/pn-market-web-components.js +3 -3
- package/dist/esm/pn-marketweb-icon.entry.js +3 -3
- package/dist/esm/pn-marketweb-icon.entry.js.map +1 -1
- package/dist/esm/pn-marketweb-input.entry.js +5 -3
- package/dist/esm/pn-marketweb-input.entry.js.map +1 -1
- package/dist/esm/pn-marketweb-search.entry.js +5 -6
- package/dist/esm/pn-marketweb-search.entry.js.map +1 -1
- package/dist/esm/pn-marketweb-sitefooter.entry.js +9 -6
- package/dist/esm/pn-marketweb-sitefooter.entry.js.map +1 -1
- package/dist/esm/{pn-marketweb-siteheader-login-button_4.entry.js → pn-marketweb-siteheader-login-button_5.entry.js} +26 -9
- package/dist/esm/pn-marketweb-siteheader-login-button_5.entry.js.map +1 -0
- package/dist/esm/pn-marketweb-siteheader-login-linklist.entry.js +4 -4
- package/dist/esm/pn-marketweb-siteheader-login-linklist.entry.js.map +1 -1
- package/dist/esm/{pn-marketweb-siteheader-store-f60eb1e4.js → pn-marketweb-siteheader-store-91f74255.js} +2 -2
- package/dist/esm/{pn-marketweb-siteheader-store-f60eb1e4.js.map → pn-marketweb-siteheader-store-91f74255.js.map} +1 -1
- package/dist/esm/pn-marketweb-siteheader.entry.js +9 -10
- package/dist/esm/pn-marketweb-siteheader.entry.js.map +1 -1
- package/dist/esm/pn-media-block.entry.js +6 -6
- package/dist/esm/pn-media-block.entry.js.map +1 -1
- package/dist/esm/pn-multi-row-connected-dropdown-row.entry.js +2 -2
- package/dist/esm/pn-multi-row-connected-dropdown-row.entry.js.map +1 -1
- package/dist/esm/pn-multi-row-connected-dropdown.entry.js +2 -2
- package/dist/esm/pn-multi-row-connected-dropdown.entry.js.map +1 -1
- package/dist/esm/pn-multiple-input.entry.js +1 -1
- package/dist/esm/pn-parcel-tracker.entry.js +2 -2
- package/dist/esm/pn-parcel-tracker.entry.js.map +1 -1
- package/dist/esm/pn-pex-pricefinder.entry.js +3 -3
- package/dist/esm/pn-pex-pricefinder.entry.js.map +1 -1
- package/dist/esm/pn-play-on-scroll.entry.js +1 -1
- package/dist/esm/pn-product-card_3.entry.js +5 -5
- package/dist/esm/pn-product-card_3.entry.js.map +1 -1
- package/dist/esm/pn-product-pricelist-result.entry.js +4 -4
- package/dist/esm/pn-product-pricelist-result.entry.js.map +1 -1
- package/dist/esm/pn-product-pricelist.entry.js +6 -6
- package/dist/esm/pn-product-pricelist.entry.js.map +1 -1
- package/dist/esm/pn-product-tile-info_2.entry.js +4 -4
- package/dist/esm/pn-product-tile-info_2.entry.js.map +1 -1
- package/dist/esm/pn-product-tile.entry.js +3 -3
- package/dist/esm/pn-product-tile.entry.js.map +1 -1
- package/dist/esm/pn-profile-modal-customernumber.entry.js +3 -3
- package/dist/esm/pn-profile-modal-customernumber.entry.js.map +1 -1
- package/dist/esm/pn-profile-modal-profile.entry.js +6 -6
- package/dist/esm/pn-profile-modal-profile.entry.js.map +1 -1
- package/dist/esm/{pn-profile-modal-store-5d651bd5.js → pn-profile-modal-store-4655b124.js} +2 -2
- package/dist/esm/{pn-profile-modal-store-5d651bd5.js.map → pn-profile-modal-store-4655b124.js.map} +1 -1
- package/dist/esm/pn-profile-modal-type.entry.js +5 -5
- package/dist/esm/pn-profile-modal-type.entry.js.map +1 -1
- package/dist/esm/pn-profile-modal.entry.js +5 -5
- package/dist/esm/pn-profile-modal.entry.js.map +1 -1
- package/dist/esm/pn-profile-selector-option.entry.js +3 -3
- package/dist/esm/pn-profile-selector-option.entry.js.map +1 -1
- package/dist/esm/pn-profile-selector.entry.js +3 -3
- package/dist/esm/pn-profile-selector.entry.js.map +1 -1
- package/dist/esm/pn-proxio-findprice-result.entry.js +3 -3
- package/dist/esm/pn-proxio-findprice-result.entry.js.map +1 -1
- package/dist/esm/pn-proxio-findprice.entry.js +7 -8
- package/dist/esm/pn-proxio-findprice.entry.js.map +1 -1
- package/dist/esm/pn-proxio-pricegroup.entry.js +4 -5
- package/dist/esm/pn-proxio-pricegroup.entry.js.map +1 -1
- package/dist/esm/pn-proxio-productcard_4.entry.js +8 -8
- package/dist/esm/pn-proxio-productcard_4.entry.js.map +1 -1
- package/dist/esm/pn-quick-cta.entry.js +2 -2
- package/dist/esm/pn-quick-cta.entry.js.map +1 -1
- package/dist/esm/pn-quote-card.entry.js +2 -2
- package/dist/esm/pn-quote-card.entry.js.map +1 -1
- package/dist/esm/pn-scroll_2.entry.js +2 -2
- package/dist/esm/pn-scroll_2.entry.js.map +1 -1
- package/dist/esm/pn-share-item.entry.js +2 -2
- package/dist/esm/pn-share-item.entry.js.map +1 -1
- package/dist/esm/pn-share.entry.js +2 -2
- package/dist/esm/pn-share.entry.js.map +1 -1
- package/dist/esm/pn-sidenav-level.entry.js +5 -5
- package/dist/esm/pn-sidenav-level.entry.js.map +1 -1
- package/dist/esm/pn-sidenav-link.entry.js +5 -5
- package/dist/esm/pn-sidenav-link.entry.js.map +1 -1
- package/dist/esm/{pn-sidenav-store-e2038d79.js → pn-sidenav-store-85bdb1e6.js} +2 -2
- package/dist/esm/{pn-sidenav-store-e2038d79.js.map → pn-sidenav-store-85bdb1e6.js.map} +1 -1
- package/dist/esm/pn-sidenav-togglebutton.entry.js +5 -5
- package/dist/esm/pn-sidenav-togglebutton.entry.js.map +1 -1
- package/dist/esm/pn-sidenav.entry.js +5 -5
- package/dist/esm/pn-sidenav.entry.js.map +1 -1
- package/dist/esm/pn-site-footer_3.entry.js +7 -7
- package/dist/esm/pn-site-footer_3.entry.js.map +1 -1
- package/dist/esm/pn-spotlight.entry.js +2 -2
- package/dist/esm/pn-spotlight.entry.js.map +1 -1
- package/dist/esm/pn-stats-info-data.entry.js +2 -2
- package/dist/esm/pn-stats-info-data.entry.js.map +1 -1
- package/dist/esm/pn-stats-info.entry.js +2 -2
- package/dist/esm/pn-stats-info.entry.js.map +1 -1
- package/dist/esm/pn-teaser-card.entry.js +9 -5
- package/dist/esm/pn-teaser-card.entry.js.map +1 -1
- package/dist/esm/pn-titletag.entry.js +3 -3
- package/dist/esm/pn-titletag.entry.js.map +1 -1
- package/dist/esm/pn-usp-promoter.entry.js +3 -3
- package/dist/esm/pn-usp-promoter.entry.js.map +1 -1
- package/dist/package.json +3 -5
- package/dist/pn-market-web-components/index.esm.js +1 -1
- package/dist/pn-market-web-components/index.esm.js.map +1 -1
- package/dist/pn-market-web-components/p-066e9db9.entry.js +2 -0
- package/dist/pn-market-web-components/{p-7b4f9fdf.entry.js.map → p-066e9db9.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-0ec8d040.entry.js +2 -0
- package/dist/pn-market-web-components/{p-65a046be.entry.js.map → p-0ec8d040.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-13190b30.js +2 -0
- package/dist/pn-market-web-components/{p-ad9a7633.entry.js → p-155c2049.entry.js} +2 -2
- package/dist/pn-market-web-components/p-190c6938.entry.js +2 -0
- package/dist/pn-market-web-components/{p-389a94e7.entry.js.map → p-190c6938.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-1ec21bd6.entry.js +2 -0
- package/dist/pn-market-web-components/{p-f4b14be8.entry.js.map → p-1ec21bd6.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-231b97e1.entry.js +2 -0
- package/dist/pn-market-web-components/{p-659a4db5.entry.js.map → p-231b97e1.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-23d69d70.entry.js +2 -0
- package/dist/pn-market-web-components/p-23d69d70.entry.js.map +1 -0
- package/dist/pn-market-web-components/p-24086c59.entry.js +2 -0
- package/dist/pn-market-web-components/{p-7b7629c5.entry.js.map → p-24086c59.entry.js.map} +1 -1
- package/dist/pn-market-web-components/{p-8836de82.js → p-2509d18d.js} +2 -2
- package/dist/pn-market-web-components/p-25d53df2.entry.js +2 -0
- package/dist/pn-market-web-components/{p-72f57a04.entry.js.map → p-25d53df2.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-25dfc349.entry.js +2 -0
- package/dist/pn-market-web-components/{p-84fc8e05.entry.js.map → p-25dfc349.entry.js.map} +1 -1
- package/dist/pn-market-web-components/{p-f0df7694.entry.js → p-278cda98.entry.js} +4 -4
- package/dist/pn-market-web-components/{p-f0df7694.entry.js.map → p-278cda98.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-27d138b4.entry.js +2 -0
- package/dist/pn-market-web-components/p-27d138b4.entry.js.map +1 -0
- package/dist/pn-market-web-components/p-2b03a4e1.entry.js +2 -0
- package/dist/pn-market-web-components/p-2b03a4e1.entry.js.map +1 -0
- package/dist/pn-market-web-components/p-3fb8e665.entry.js +2 -0
- package/dist/pn-market-web-components/{p-71db6836.entry.js.map → p-3fb8e665.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-45b8cadb.entry.js +2 -0
- package/dist/pn-market-web-components/{p-9454075f.entry.js.map → p-45b8cadb.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-45d1e1be.entry.js +2 -0
- package/dist/pn-market-web-components/{p-3d10bc37.entry.js.map → p-45d1e1be.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-4d2ca281.entry.js +2 -0
- package/dist/pn-market-web-components/{p-ad282b7c.entry.js.map → p-4d2ca281.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-4e3059dd.entry.js +2 -0
- package/dist/pn-market-web-components/{p-7db6ef34.entry.js.map → p-4e3059dd.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-4fa5bc85.entry.js +2 -0
- package/dist/pn-market-web-components/{p-0fc01d3f.entry.js.map → p-4fa5bc85.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-530274ae.entry.js +2 -0
- package/dist/pn-market-web-components/{p-39b75c62.entry.js.map → p-530274ae.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-545c24c0.entry.js +2 -0
- package/dist/pn-market-web-components/{p-da56370b.entry.js.map → p-545c24c0.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-55643d76.entry.js +2 -0
- package/dist/pn-market-web-components/{p-2a58d83b.entry.js.map → p-55643d76.entry.js.map} +1 -1
- package/dist/pn-market-web-components/{p-8a651698.entry.js → p-560e5291.entry.js} +2 -2
- package/dist/pn-market-web-components/p-572c4d81.entry.js +2 -0
- package/dist/pn-market-web-components/p-572c4d81.entry.js.map +1 -0
- package/dist/pn-market-web-components/p-59549c74.entry.js +2 -0
- package/dist/pn-market-web-components/{p-b9590d81.entry.js.map → p-59549c74.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-59cb7166.entry.js +2 -0
- package/dist/pn-market-web-components/p-59cb7166.entry.js.map +1 -0
- package/dist/pn-market-web-components/p-5a1b6e6d.entry.js +2 -0
- package/dist/pn-market-web-components/{p-c4e353b3.entry.js.map → p-5a1b6e6d.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-5d06e48f.entry.js +2 -0
- package/dist/pn-market-web-components/p-5d06e48f.entry.js.map +1 -0
- package/dist/pn-market-web-components/p-62cabd1e.entry.js +2 -0
- package/dist/pn-market-web-components/{p-66da6e15.entry.js.map → p-62cabd1e.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-64d0dbba.entry.js +2 -0
- package/dist/pn-market-web-components/{p-c9038b03.entry.js.map → p-64d0dbba.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-652f97b9.js +2 -0
- package/dist/pn-market-web-components/p-65ab3003.entry.js +2 -0
- package/dist/pn-market-web-components/{p-41cdac85.entry.js.map → p-65ab3003.entry.js.map} +1 -1
- package/dist/pn-market-web-components/{p-6b1d045c.js → p-65f243c1.js} +2 -2
- package/dist/pn-market-web-components/p-65f243c1.js.map +1 -0
- package/dist/pn-market-web-components/p-6647d2c4.entry.js +2 -0
- package/dist/pn-market-web-components/{p-79e4715c.entry.js.map → p-6647d2c4.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-6a5f7dee.entry.js +2 -0
- package/dist/pn-market-web-components/{p-3e197670.entry.js.map → p-6a5f7dee.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-6fdd5b5a.entry.js +2 -0
- package/dist/pn-market-web-components/{p-cbb1d57d.entry.js.map → p-6fdd5b5a.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-7076038b.entry.js +2 -0
- package/dist/pn-market-web-components/{p-daa74e60.entry.js.map → p-7076038b.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-725aba56.entry.js +2 -0
- package/dist/pn-market-web-components/p-725aba56.entry.js.map +1 -0
- package/dist/pn-market-web-components/p-72dbca40.entry.js +2 -0
- package/dist/pn-market-web-components/{p-2c19edca.entry.js.map → p-72dbca40.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-74fd7435.entry.js +2 -0
- package/dist/pn-market-web-components/{p-8d98f709.entry.js.map → p-74fd7435.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-758f1b53.entry.js +2 -0
- package/dist/pn-market-web-components/{p-95d32ab4.entry.js.map → p-758f1b53.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-76e6708b.entry.js +2 -0
- package/dist/pn-market-web-components/{p-292db484.entry.js.map → p-76e6708b.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-776f3d51.entry.js +2 -0
- package/dist/pn-market-web-components/{p-64851da0.entry.js.map → p-776f3d51.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-77a35f5e.entry.js +2 -0
- package/dist/pn-market-web-components/{p-542f949d.entry.js.map → p-77a35f5e.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-7c3091eb.entry.js +2 -0
- package/dist/pn-market-web-components/p-7c3091eb.entry.js.map +1 -0
- package/dist/pn-market-web-components/p-856c235c.entry.js +2 -0
- package/dist/pn-market-web-components/{p-f28059f4.entry.js.map → p-856c235c.entry.js.map} +1 -1
- package/dist/pn-market-web-components/{p-f9083b7a.js → p-8af1b914.js} +2 -2
- package/dist/pn-market-web-components/p-8c26b98d.entry.js +2 -0
- package/dist/pn-market-web-components/{p-61bd81d7.entry.js.map → p-8c26b98d.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-90242f18.entry.js +2 -0
- package/dist/pn-market-web-components/{p-f5d03222.entry.js.map → p-90242f18.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-94a69959.entry.js +2 -0
- package/dist/pn-market-web-components/p-94a69959.entry.js.map +1 -0
- package/dist/pn-market-web-components/p-95519556.entry.js +2 -0
- package/dist/pn-market-web-components/{p-c89cb749.entry.js.map → p-95519556.entry.js.map} +1 -1
- package/dist/pn-market-web-components/{p-930e2943.js → p-959a37d9.js} +2 -2
- package/dist/pn-market-web-components/p-a38118be.entry.js +2 -0
- package/dist/pn-market-web-components/{p-08b473e0.entry.js.map → p-a38118be.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-a419cd91.entry.js +2 -0
- package/dist/pn-market-web-components/{p-230ef9aa.entry.js.map → p-a419cd91.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-a54a298b.entry.js +2 -0
- package/dist/pn-market-web-components/p-a54a298b.entry.js.map +1 -0
- package/dist/pn-market-web-components/p-a6866467.entry.js +2 -0
- package/dist/pn-market-web-components/{p-619f2143.entry.js.map → p-a6866467.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-a72c2729.entry.js +2 -0
- package/dist/pn-market-web-components/{p-9088d3f5.entry.js.map → p-a72c2729.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-aeeabb32.entry.js +2 -0
- package/dist/pn-market-web-components/{p-4f639380.entry.js.map → p-aeeabb32.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-b35cdbac.entry.js +2 -0
- package/dist/pn-market-web-components/{p-5a981927.entry.js.map → p-b35cdbac.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-b5a0275d.entry.js +2 -0
- package/dist/pn-market-web-components/{p-8d874454.entry.js.map → p-b5a0275d.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-b693f78a.entry.js +2 -0
- package/dist/pn-market-web-components/{p-d17af75d.entry.js.map → p-b693f78a.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-b9340e9c.entry.js +2 -0
- package/dist/pn-market-web-components/p-b9340e9c.entry.js.map +1 -0
- package/dist/pn-market-web-components/p-b9505c69.entry.js +2 -0
- package/dist/pn-market-web-components/{p-e8622338.entry.js.map → p-b9505c69.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-bb1c965e.js +3 -0
- package/dist/pn-market-web-components/p-bb1c965e.js.map +1 -0
- package/dist/pn-market-web-components/p-c5772021.entry.js +2 -0
- package/dist/pn-market-web-components/{p-015127bf.entry.js.map → p-c5772021.entry.js.map} +1 -1
- package/dist/pn-market-web-components/{p-fb4cdf98.js → p-cafe11a9.js} +2 -2
- package/dist/pn-market-web-components/p-cf39491b.entry.js +2 -0
- package/dist/pn-market-web-components/{p-34a98554.entry.js.map → p-cf39491b.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-d0a085cc.entry.js +2 -0
- package/dist/pn-market-web-components/{p-d7170c0e.entry.js.map → p-d0a085cc.entry.js.map} +1 -1
- package/dist/pn-market-web-components/{p-793e1339.js → p-e09a907b.js} +2 -2
- package/dist/pn-market-web-components/p-e2e3ac2f.entry.js +2 -0
- package/dist/pn-market-web-components/{p-ce87ff8a.entry.js.map → p-e2e3ac2f.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-e5ae757f.entry.js +2 -0
- package/dist/pn-market-web-components/{p-d5c45da2.entry.js.map → p-e5ae757f.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-e6e012fb.entry.js +2 -0
- package/dist/pn-market-web-components/{p-35847eda.entry.js.map → p-e6e012fb.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-e8278e9e.entry.js +2 -0
- package/dist/pn-market-web-components/{p-85b42b44.entry.js.map → p-e8278e9e.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-e916e99d.entry.js +2 -0
- package/dist/pn-market-web-components/{p-60b77eed.entry.js.map → p-e916e99d.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-ea3d6f7e.entry.js +2 -0
- package/dist/pn-market-web-components/{p-19bbac6d.entry.js.map → p-ea3d6f7e.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-ea7b0d21.entry.js +2 -0
- package/dist/pn-market-web-components/{p-4aedb76c.entry.js.map → p-ea7b0d21.entry.js.map} +1 -1
- package/dist/pn-market-web-components/{p-a73e4811.entry.js → p-eaee1dd6.entry.js} +2 -2
- package/dist/pn-market-web-components/{p-a73e4811.entry.js.map → p-eaee1dd6.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-fc157a1e.entry.js +2 -0
- package/dist/pn-market-web-components/{p-763a4e13.entry.js.map → p-fc157a1e.entry.js.map} +1 -1
- package/dist/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/dist/pn-market-web-components/pn-market-web-components.esm.js.map +1 -1
- package/dist/types/components/cards/pn-teaser-card/pn-teaser-card.d.ts +1 -1
- package/dist/types/components/input/pn-address-autofill/pn-address-autofill.d.ts +3 -2
- package/dist/types/components/input/pn-address-autofill/translations.d.ts +0 -3
- package/dist/types/components/input/pn-marketweb-search/pn-marketweb-search.d.ts +1 -1
- package/dist/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.d.ts +2 -0
- package/dist/types/components/media/pn-media-block/pn-media-block.d.ts +1 -1
- package/dist/types/components.d.ts +8 -293
- package/dist/types/globals/HeadingTag.d.ts +1 -1
- package/dist/types/utils/utils.d.ts +0 -1
- package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/bin/stencil +0 -0
- package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/static/favicon.ico +0 -0
- package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/templates/directory-index.html +0 -0
- package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/xdg-open +0 -0
- package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/core-js.js +0 -0
- package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/dom.js +0 -0
- package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/es5-html-element.js +0 -0
- package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/index.js +0 -0
- package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/system.js +0 -0
- package/dist/vscode-data.json +3 -535
- package/package.json +3 -5
- package/dist/cjs/FetchHelper-2d4c697c.js +0 -85
- package/dist/cjs/FetchHelper-2d4c697c.js.map +0 -1
- package/dist/cjs/HeadingTag-19376e1f.js +0 -12
- package/dist/cjs/HeadingTag-19376e1f.js.map +0 -1
- package/dist/cjs/LocalStorageService-e1ee3fac.js +0 -66
- package/dist/cjs/LocalStorageService-e1ee3fac.js.map +0 -1
- package/dist/cjs/MarketWebContextService-0fdc43c8.js.map +0 -1
- package/dist/cjs/alert_exclamation_circle-24f29a5b.js +0 -8
- package/dist/cjs/alert_exclamation_circle-24f29a5b.js.map +0 -1
- package/dist/cjs/angle_up-049ec1d8.js +0 -12
- package/dist/cjs/angle_up-049ec1d8.js.map +0 -1
- package/dist/cjs/close-9e014a80.js +0 -8
- package/dist/cjs/close-9e014a80.js.map +0 -1
- package/dist/cjs/index-b02670c2.js.map +0 -1
- package/dist/cjs/pn-chat-message_2.cjs.entry.js +0 -347
- package/dist/cjs/pn-chat-message_2.cjs.entry.js.map +0 -1
- package/dist/cjs/pn-chat.cjs.entry.js +0 -474
- package/dist/cjs/pn-chat.cjs.entry.js.map +0 -1
- package/dist/cjs/pn-chat.service-5a8d89b9.js +0 -155
- package/dist/cjs/pn-chat.service-5a8d89b9.js.map +0 -1
- package/dist/cjs/pn-level-up-modal.cjs.entry.js +0 -77
- package/dist/cjs/pn-level-up-modal.cjs.entry.js.map +0 -1
- package/dist/cjs/pn-level-up.cjs.entry.js +0 -139
- package/dist/cjs/pn-level-up.cjs.entry.js.map +0 -1
- package/dist/cjs/pn-level-up.service-0e8e67c2.js +0 -71
- package/dist/cjs/pn-level-up.service-0e8e67c2.js.map +0 -1
- package/dist/cjs/pn-marketweb-siteheader-login-button_4.cjs.entry.js.map +0 -1
- package/dist/cjs/pn-marketweb-siteheader-login-mypage-button.cjs.entry.js +0 -25
- package/dist/cjs/pn-marketweb-siteheader-login-mypage-button.cjs.entry.js.map +0 -1
- package/dist/cjs/pn-marketweb-table.cjs.entry.js +0 -467
- package/dist/cjs/pn-marketweb-table.cjs.entry.js.map +0 -1
- package/dist/cjs/pn-qr-code-generator.cjs.entry.js +0 -2945
- package/dist/cjs/pn-qr-code-generator.cjs.entry.js.map +0 -1
- package/dist/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.css +0 -146
- package/dist/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.js +0 -119
- package/dist/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.js.map +0 -1
- package/dist/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.js +0 -219
- package/dist/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.js.map +0 -1
- package/dist/collection/components/widgets/pn-chat/pn-chat-stories-constants.js +0 -103
- package/dist/collection/components/widgets/pn-chat/pn-chat-stories-constants.js.map +0 -1
- package/dist/collection/components/widgets/pn-chat/pn-chat.css +0 -238
- package/dist/collection/components/widgets/pn-chat/pn-chat.js +0 -840
- package/dist/collection/components/widgets/pn-chat/pn-chat.js.map +0 -1
- package/dist/collection/components/widgets/pn-chat/pn-chat.models.js +0 -2
- package/dist/collection/components/widgets/pn-chat/pn-chat.models.js.map +0 -1
- package/dist/collection/components/widgets/pn-chat/pn-chat.service.js +0 -149
- package/dist/collection/components/widgets/pn-chat/pn-chat.service.js.map +0 -1
- package/dist/collection/components/widgets/pn-chat/pn-chat.stories.js +0 -116
- package/dist/collection/components/widgets/pn-chat/pn-chat.stories.js.map +0 -1
- package/dist/collection/components/widgets/pn-chat/translations.js +0 -78
- package/dist/collection/components/widgets/pn-chat/translations.js.map +0 -1
- package/dist/collection/components/widgets/pn-chat/types.js +0 -2
- package/dist/collection/components/widgets/pn-chat/types.js.map +0 -1
- package/dist/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.css +0 -94
- package/dist/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.js +0 -262
- package/dist/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.js.map +0 -1
- package/dist/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.js +0 -31
- package/dist/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.js.map +0 -1
- package/dist/collection/components/widgets/pn-level-up/pn-level-up.css +0 -114
- package/dist/collection/components/widgets/pn-level-up/pn-level-up.js +0 -476
- package/dist/collection/components/widgets/pn-level-up/pn-level-up.js.map +0 -1
- package/dist/collection/components/widgets/pn-level-up/pn-level-up.models.js +0 -2
- package/dist/collection/components/widgets/pn-level-up/pn-level-up.models.js.map +0 -1
- package/dist/collection/components/widgets/pn-level-up/pn-level-up.service.js +0 -65
- package/dist/collection/components/widgets/pn-level-up/pn-level-up.service.js.map +0 -1
- package/dist/collection/components/widgets/pn-level-up/pn-level-up.stories.js +0 -88
- package/dist/collection/components/widgets/pn-level-up/pn-level-up.stories.js.map +0 -1
- package/dist/collection/components/widgets/pn-level-up/types.js +0 -2
- package/dist/collection/components/widgets/pn-level-up/types.js.map +0 -1
- package/dist/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.css +0 -96
- package/dist/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.js +0 -494
- package/dist/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.js.map +0 -1
- package/dist/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.js +0 -82
- package/dist/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.js.map +0 -1
- package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.css +0 -264
- package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.js +0 -701
- package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.js.map +0 -1
- package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.service.js +0 -38
- package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.service.js.map +0 -1
- package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.js +0 -158
- package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.js.map +0 -1
- package/dist/collection/components/widgets/pn-marketweb-table/translations.js +0 -81
- package/dist/collection/components/widgets/pn-marketweb-table/translations.js.map +0 -1
- package/dist/collection/components/widgets/pn-marketweb-table/types.js +0 -2
- package/dist/collection/components/widgets/pn-marketweb-table/types.js.map +0 -1
- package/dist/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.css +0 -61
- package/dist/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.js +0 -198
- package/dist/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.js.map +0 -1
- package/dist/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.js +0 -29
- package/dist/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.js.map +0 -1
- package/dist/collection/globals/LocalStorageService.js +0 -50
- package/dist/collection/globals/LocalStorageService.js.map +0 -1
- package/dist/collection/globals/ScreensizeDetect.js +0 -80
- package/dist/collection/globals/ScreensizeDetect.js.map +0 -1
- package/dist/collection/globals/types.js +0 -2
- package/dist/collection/globals/types.js.map +0 -1
- package/dist/components/HeadingTag.js +0 -10
- package/dist/components/HeadingTag.js.map +0 -1
- package/dist/components/LocalStorageService.js +0 -64
- package/dist/components/LocalStorageService.js.map +0 -1
- package/dist/components/MarketWebContextService.js.map +0 -1
- package/dist/components/alert_exclamation_circle.js +0 -6
- package/dist/components/alert_exclamation_circle.js.map +0 -1
- package/dist/components/angle_up.js +0 -9
- package/dist/components/angle_up.js.map +0 -1
- package/dist/components/close.js +0 -6
- package/dist/components/close.js.map +0 -1
- package/dist/components/pn-chat-message.d.ts +0 -11
- package/dist/components/pn-chat-message.js +0 -8
- package/dist/components/pn-chat-message.js.map +0 -1
- package/dist/components/pn-chat-message2.js +0 -70
- package/dist/components/pn-chat-message2.js.map +0 -1
- package/dist/components/pn-chat.d.ts +0 -11
- package/dist/components/pn-chat.js +0 -534
- package/dist/components/pn-chat.js.map +0 -1
- package/dist/components/pn-chat.service.js +0 -153
- package/dist/components/pn-chat.service.js.map +0 -1
- package/dist/components/pn-level-up-modal.d.ts +0 -11
- package/dist/components/pn-level-up-modal.js +0 -8
- package/dist/components/pn-level-up-modal.js.map +0 -1
- package/dist/components/pn-level-up-modal2.js +0 -170
- package/dist/components/pn-level-up-modal2.js.map +0 -1
- package/dist/components/pn-level-up.d.ts +0 -11
- package/dist/components/pn-level-up.js +0 -185
- package/dist/components/pn-level-up.js.map +0 -1
- package/dist/components/pn-marketweb-carousel.d.ts +0 -11
- package/dist/components/pn-marketweb-carousel.js +0 -8
- package/dist/components/pn-marketweb-carousel.js.map +0 -1
- package/dist/components/pn-marketweb-carousel2.js +0 -326
- package/dist/components/pn-marketweb-carousel2.js.map +0 -1
- package/dist/components/pn-marketweb-table.d.ts +0 -11
- package/dist/components/pn-marketweb-table.js +0 -510
- package/dist/components/pn-marketweb-table.js.map +0 -1
- package/dist/components/pn-qr-code-generator.d.ts +0 -11
- package/dist/components/pn-qr-code-generator.js +0 -8
- package/dist/components/pn-qr-code-generator.js.map +0 -1
- package/dist/components/pn-qr-code-generator2.js +0 -2967
- package/dist/components/pn-qr-code-generator2.js.map +0 -1
- package/dist/esm/FetchHelper-4789695a.js +0 -83
- package/dist/esm/FetchHelper-4789695a.js.map +0 -1
- package/dist/esm/HeadingTag-e20016ab.js +0 -10
- package/dist/esm/HeadingTag-e20016ab.js.map +0 -1
- package/dist/esm/LocalStorageService-78b1794d.js +0 -64
- package/dist/esm/LocalStorageService-78b1794d.js.map +0 -1
- package/dist/esm/MarketWebContextService-16c15670.js +0 -245
- package/dist/esm/MarketWebContextService-16c15670.js.map +0 -1
- package/dist/esm/alert_exclamation_circle-f0fe7c7b.js +0 -6
- package/dist/esm/alert_exclamation_circle-f0fe7c7b.js.map +0 -1
- package/dist/esm/angle_up-b5f955ea.js +0 -9
- package/dist/esm/angle_up-b5f955ea.js.map +0 -1
- package/dist/esm/close-9e7bd787.js +0 -6
- package/dist/esm/close-9e7bd787.js.map +0 -1
- package/dist/esm/index-c311acd6.js.map +0 -1
- package/dist/esm/pn-chat-message_2.entry.js +0 -342
- package/dist/esm/pn-chat-message_2.entry.js.map +0 -1
- package/dist/esm/pn-chat.entry.js +0 -470
- package/dist/esm/pn-chat.entry.js.map +0 -1
- package/dist/esm/pn-chat.service-0def5c4e.js +0 -153
- package/dist/esm/pn-chat.service-0def5c4e.js.map +0 -1
- package/dist/esm/pn-level-up-modal.entry.js +0 -73
- package/dist/esm/pn-level-up-modal.entry.js.map +0 -1
- package/dist/esm/pn-level-up.entry.js +0 -135
- package/dist/esm/pn-level-up.entry.js.map +0 -1
- package/dist/esm/pn-level-up.service-5c602f23.js +0 -69
- package/dist/esm/pn-level-up.service-5c602f23.js.map +0 -1
- package/dist/esm/pn-marketweb-siteheader-login-button_4.entry.js.map +0 -1
- package/dist/esm/pn-marketweb-siteheader-login-mypage-button.entry.js +0 -21
- package/dist/esm/pn-marketweb-siteheader-login-mypage-button.entry.js.map +0 -1
- package/dist/esm/pn-marketweb-table.entry.js +0 -463
- package/dist/esm/pn-marketweb-table.entry.js.map +0 -1
- package/dist/esm/pn-qr-code-generator.entry.js +0 -2941
- package/dist/esm/pn-qr-code-generator.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-015127bf.entry.js +0 -2
- package/dist/pn-market-web-components/p-08b473e0.entry.js +0 -2
- package/dist/pn-market-web-components/p-0b5a125d.entry.js +0 -2
- package/dist/pn-market-web-components/p-0b5a125d.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-0b920554.js +0 -2
- package/dist/pn-market-web-components/p-0b920554.js.map +0 -1
- package/dist/pn-market-web-components/p-0fc01d3f.entry.js +0 -2
- package/dist/pn-market-web-components/p-17c43a96.entry.js +0 -2
- package/dist/pn-market-web-components/p-17c43a96.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-19bbac6d.entry.js +0 -2
- package/dist/pn-market-web-components/p-230ef9aa.entry.js +0 -2
- package/dist/pn-market-web-components/p-268dc1fa.entry.js +0 -2
- package/dist/pn-market-web-components/p-268dc1fa.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-28d2f7fa.entry.js +0 -2
- package/dist/pn-market-web-components/p-28d2f7fa.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-292db484.entry.js +0 -2
- package/dist/pn-market-web-components/p-2a58d83b.entry.js +0 -2
- package/dist/pn-market-web-components/p-2c19edca.entry.js +0 -2
- package/dist/pn-market-web-components/p-3478f368.js +0 -2
- package/dist/pn-market-web-components/p-3478f368.js.map +0 -1
- package/dist/pn-market-web-components/p-34a98554.entry.js +0 -2
- package/dist/pn-market-web-components/p-35847eda.entry.js +0 -2
- package/dist/pn-market-web-components/p-366fd15a.js +0 -2
- package/dist/pn-market-web-components/p-366fd15a.js.map +0 -1
- package/dist/pn-market-web-components/p-389a94e7.entry.js +0 -2
- package/dist/pn-market-web-components/p-39b75c62.entry.js +0 -2
- package/dist/pn-market-web-components/p-3a936c5d.entry.js +0 -2
- package/dist/pn-market-web-components/p-3a936c5d.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-3d10bc37.entry.js +0 -2
- package/dist/pn-market-web-components/p-3e197670.entry.js +0 -2
- package/dist/pn-market-web-components/p-40bce1b1.entry.js +0 -2
- package/dist/pn-market-web-components/p-40bce1b1.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-41cdac85.entry.js +0 -2
- package/dist/pn-market-web-components/p-4aedb76c.entry.js +0 -2
- package/dist/pn-market-web-components/p-4e924d13.entry.js +0 -2
- package/dist/pn-market-web-components/p-4e924d13.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-4f639380.entry.js +0 -2
- package/dist/pn-market-web-components/p-51f136f3.entry.js +0 -2
- package/dist/pn-market-web-components/p-51f136f3.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-542f949d.entry.js +0 -2
- package/dist/pn-market-web-components/p-5a981927.entry.js +0 -2
- package/dist/pn-market-web-components/p-5f4ccd8a.js +0 -2
- package/dist/pn-market-web-components/p-5f4ccd8a.js.map +0 -1
- package/dist/pn-market-web-components/p-60b77eed.entry.js +0 -2
- package/dist/pn-market-web-components/p-619f2143.entry.js +0 -2
- package/dist/pn-market-web-components/p-61bd81d7.entry.js +0 -2
- package/dist/pn-market-web-components/p-64851da0.entry.js +0 -2
- package/dist/pn-market-web-components/p-659a4db5.entry.js +0 -2
- package/dist/pn-market-web-components/p-65a046be.entry.js +0 -2
- package/dist/pn-market-web-components/p-66da6e15.entry.js +0 -2
- package/dist/pn-market-web-components/p-6b1d045c.js.map +0 -1
- package/dist/pn-market-web-components/p-6bec8d72.js +0 -2
- package/dist/pn-market-web-components/p-6bec8d72.js.map +0 -1
- package/dist/pn-market-web-components/p-71db6836.entry.js +0 -2
- package/dist/pn-market-web-components/p-72828265.js +0 -2
- package/dist/pn-market-web-components/p-72f57a04.entry.js +0 -2
- package/dist/pn-market-web-components/p-763a4e13.entry.js +0 -2
- package/dist/pn-market-web-components/p-76c2c01f.js +0 -2
- package/dist/pn-market-web-components/p-76c2c01f.js.map +0 -1
- package/dist/pn-market-web-components/p-79e4715c.entry.js +0 -2
- package/dist/pn-market-web-components/p-7b4f9fdf.entry.js +0 -2
- package/dist/pn-market-web-components/p-7b7629c5.entry.js +0 -2
- package/dist/pn-market-web-components/p-7db6ef34.entry.js +0 -2
- package/dist/pn-market-web-components/p-809ed802.entry.js +0 -2
- package/dist/pn-market-web-components/p-809ed802.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-82546a44.js +0 -3
- package/dist/pn-market-web-components/p-82546a44.js.map +0 -1
- package/dist/pn-market-web-components/p-84fc8e05.entry.js +0 -2
- package/dist/pn-market-web-components/p-85b42b44.entry.js +0 -2
- package/dist/pn-market-web-components/p-8d78b631.js +0 -2
- package/dist/pn-market-web-components/p-8d78b631.js.map +0 -1
- package/dist/pn-market-web-components/p-8d874454.entry.js +0 -2
- package/dist/pn-market-web-components/p-8d98f709.entry.js +0 -2
- package/dist/pn-market-web-components/p-9088d3f5.entry.js +0 -2
- package/dist/pn-market-web-components/p-920ce5f2.entry.js +0 -2
- package/dist/pn-market-web-components/p-920ce5f2.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-923aa6d2.entry.js +0 -2
- package/dist/pn-market-web-components/p-923aa6d2.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-9454075f.entry.js +0 -2
- package/dist/pn-market-web-components/p-95d32ab4.entry.js +0 -2
- package/dist/pn-market-web-components/p-a298a263.entry.js +0 -2
- package/dist/pn-market-web-components/p-a298a263.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-ad282b7c.entry.js +0 -2
- package/dist/pn-market-web-components/p-b9590d81.entry.js +0 -2
- package/dist/pn-market-web-components/p-c4e353b3.entry.js +0 -2
- package/dist/pn-market-web-components/p-c89cb749.entry.js +0 -2
- package/dist/pn-market-web-components/p-c9038b03.entry.js +0 -2
- package/dist/pn-market-web-components/p-cbb1d57d.entry.js +0 -2
- package/dist/pn-market-web-components/p-cda742ba.entry.js +0 -2
- package/dist/pn-market-web-components/p-cda742ba.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-ce87ff8a.entry.js +0 -2
- package/dist/pn-market-web-components/p-cf8a1fb9.js +0 -2
- package/dist/pn-market-web-components/p-cf8a1fb9.js.map +0 -1
- package/dist/pn-market-web-components/p-d17af75d.entry.js +0 -2
- package/dist/pn-market-web-components/p-d5c45da2.entry.js +0 -2
- package/dist/pn-market-web-components/p-d7170c0e.entry.js +0 -2
- package/dist/pn-market-web-components/p-d75a2f7c.entry.js +0 -2
- package/dist/pn-market-web-components/p-d75a2f7c.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-da56370b.entry.js +0 -2
- package/dist/pn-market-web-components/p-daa74e60.entry.js +0 -2
- package/dist/pn-market-web-components/p-dc2ee6f8.entry.js +0 -2
- package/dist/pn-market-web-components/p-dc2ee6f8.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-e8622338.entry.js +0 -2
- package/dist/pn-market-web-components/p-eb21f772.entry.js +0 -2
- package/dist/pn-market-web-components/p-eb21f772.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-efab81a9.entry.js +0 -2
- package/dist/pn-market-web-components/p-efab81a9.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-f28059f4.entry.js +0 -2
- package/dist/pn-market-web-components/p-f28d0971.entry.js +0 -2
- package/dist/pn-market-web-components/p-f28d0971.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-f4b14be8.entry.js +0 -2
- package/dist/pn-market-web-components/p-f5d03222.entry.js +0 -2
- package/dist/pn-market-web-components/p-fe466661.js +0 -2
- package/dist/types/components/widgets/pn-chat/pn-chat-message/pn-chat-message.d.ts +0 -11
- package/dist/types/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.d.ts +0 -7
- package/dist/types/components/widgets/pn-chat/pn-chat-stories-constants.d.ts +0 -43
- package/dist/types/components/widgets/pn-chat/pn-chat.d.ts +0 -72
- package/dist/types/components/widgets/pn-chat/pn-chat.models.d.ts +0 -22
- package/dist/types/components/widgets/pn-chat/pn-chat.service.d.ts +0 -26
- package/dist/types/components/widgets/pn-chat/pn-chat.stories.d.ts +0 -8
- package/dist/types/components/widgets/pn-chat/translations.d.ts +0 -77
- package/dist/types/components/widgets/pn-chat/types.d.ts +0 -68
- package/dist/types/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.d.ts +0 -23
- package/dist/types/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.d.ts +0 -5
- package/dist/types/components/widgets/pn-level-up/pn-level-up.d.ts +0 -43
- package/dist/types/components/widgets/pn-level-up/pn-level-up.models.d.ts +0 -22
- package/dist/types/components/widgets/pn-level-up/pn-level-up.service.d.ts +0 -16
- package/dist/types/components/widgets/pn-level-up/pn-level-up.stories.d.ts +0 -7
- package/dist/types/components/widgets/pn-level-up/types.d.ts +0 -1
- package/dist/types/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.d.ts +0 -48
- package/dist/types/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.d.ts +0 -7
- package/dist/types/components/widgets/pn-marketweb-table/pn-marketweb-table.d.ts +0 -55
- package/dist/types/components/widgets/pn-marketweb-table/pn-marketweb-table.service.d.ts +0 -11
- package/dist/types/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.d.ts +0 -26
- package/dist/types/components/widgets/pn-marketweb-table/translations.d.ts +0 -80
- package/dist/types/components/widgets/pn-marketweb-table/types.d.ts +0 -38
- package/dist/types/components/widgets/pn-qr-code-generator/pn-qr-code-generator.d.ts +0 -23
- package/dist/types/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.d.ts +0 -5
- package/dist/types/globals/LocalStorageService.d.ts +0 -14
- package/dist/types/globals/ScreensizeDetect.d.ts +0 -29
- package/dist/types/globals/types.d.ts +0 -20
- /package/dist/pn-market-web-components/{p-fe466661.js.map → p-13190b30.js.map} +0 -0
- /package/dist/pn-market-web-components/{p-ad9a7633.entry.js.map → p-155c2049.entry.js.map} +0 -0
- /package/dist/pn-market-web-components/{p-8836de82.js.map → p-2509d18d.js.map} +0 -0
- /package/dist/pn-market-web-components/{p-8a651698.entry.js.map → p-560e5291.entry.js.map} +0 -0
- /package/dist/pn-market-web-components/{p-72828265.js.map → p-652f97b9.js.map} +0 -0
- /package/dist/pn-market-web-components/{p-f9083b7a.js.map → p-8af1b914.js.map} +0 -0
- /package/dist/pn-market-web-components/{p-930e2943.js.map → p-959a37d9.js.map} +0 -0
- /package/dist/pn-market-web-components/{p-fb4cdf98.js.map → p-cafe11a9.js.map} +0 -0
- /package/dist/pn-market-web-components/{p-793e1339.js.map → p-e09a907b.js.map} +0 -0
|
@@ -118,7 +118,7 @@ export class PnProxioPricegroup {
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
render() {
|
|
121
|
-
return (h(Host, { key: '
|
|
121
|
+
return (h(Host, { key: 'e6562ca19944d9850ce1df29973f1a05a5505d6e' }, this.data?.proxioProduct ? (h("div", { class: "proxio-pricegroup-container" }, h("div", { class: "weightcontainer" }, this.data.proxioProduct.weightAndPriceList ? (h("div", { class: "weightvaluecontainer" }, h("pn-button", { disabled: this.activeWeightIndex === 0 ? 'disabled' : null, icon: arrow_left, appearance: "light", small: "true", onClick: () => this.setActiveWeightIndex(this.activeWeightIndex - 1) }), h("div", { class: "weightradios ", "data-carousel-container-position": this.getContainerPosition() }, h("div", { class: "weightline" }), this.data.proxioProduct.weightAndPriceList.map((weightItem, index) => this.getCarouselPosition(index) !== null ? (h("div", { class: "weightdata", "data-carousel-position": this.getCarouselPosition(index), onClick: () => this.setActiveWeightIndex(index) }, h("input", { type: "radio", id: 'weightradio' + index, name: "weightradio", value: index, checked: this.isActive(index) }), h("label", { htmlFor: 'weightradio' + index }, weightItem.item1))) : null)), h("pn-button", { disabled: this.activeWeightIndex === this.data.proxioProduct?.weightAndPriceList?.length - 1 ? 'disabled' : null, icon: arrow_right, appearance: "light", small: "true", onClick: () => this.setActiveWeightIndex(this.activeWeightIndex + 1) }))) : null), h("pn-proxio-productcard", null, h("pn-illustration", { slot: "illustrationmobile", illustration: this.data.proxioProduct.productIcon }), h("h2", { slot: "title" }, this.data.proxioProduct.productTitle), h("pn-proxio-productcard-description", { slot: "description", heading: this.data.proxioProduct.productPreamble, highlight: this.data.proxioProduct.deliveryDateInformation, list: this.data.proxioProduct.productDescriptionBulletListItems }), h("div", { slot: "information" }, h("pn-proxio-productcard-information", { label: this.i18n.labelMaxDimensions, information: this.data.proxioProduct.productPackageDimensionsList }), h("pn-proxio-productcard-information", { label: this.i18n.labelMaxDimensionsRoll, information: this.data.proxioProduct.productRollDimensionsList })), h("div", { slot: "bottomtags" }, this.data.proxioProduct.usp1 ? h("pn-titletag", { color: "gray50" }, this.data.proxioProduct.usp1) : null, this.data.proxioProduct.usp2 ? h("pn-titletag", { color: "gray50" }, this.data.proxioProduct.usp2) : null, this.data.proxioProduct.usp3 ? h("pn-titletag", { color: "gray50" }, this.data.proxioProduct.usp3) : null), h("pn-illustration", { slot: "illustration", illustration: this.data.proxioProduct.productIcon }), h("div", { slot: "pricelink" }, h("pn-proxio-productcard-pricelink", { price: this.getPriceString(this.data.proxioProduct), link: this.getProductLink(this.data.proxioProduct, this.data.proxioProduct.productWeightGroupList), linktext: this.data.proxioProduct.productLinkText }), this.data.relatedProxioProducts
|
|
122
122
|
? this.data.relatedProxioProducts.map(product => (h("pn-proxio-productcard-pricelink", { price: this.getPriceString(product), link: product.productLink, linktext: product.productLinkText })))
|
|
123
123
|
: null)))) : null));
|
|
124
124
|
}
|
|
@@ -2,31 +2,6 @@ pn-button-dropdown .pn-button-dropdown > pn-button > .pn-button {
|
|
|
2
2
|
min-height: initial;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
.sr-only {
|
|
6
|
-
position: absolute;
|
|
7
|
-
width: 1px;
|
|
8
|
-
height: 1px;
|
|
9
|
-
padding: 0;
|
|
10
|
-
margin: -1px;
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
clip: rect(0, 0, 0, 0);
|
|
13
|
-
white-space: nowrap;
|
|
14
|
-
border-width: 0;
|
|
15
|
-
}
|
|
16
|
-
@media screen and (max-width: 767px) {
|
|
17
|
-
.sr-only-mobile {
|
|
18
|
-
position: absolute;
|
|
19
|
-
width: 1px;
|
|
20
|
-
height: 1px;
|
|
21
|
-
padding: 0;
|
|
22
|
-
margin: -1px;
|
|
23
|
-
overflow: hidden;
|
|
24
|
-
clip: rect(0, 0, 0, 0);
|
|
25
|
-
white-space: nowrap;
|
|
26
|
-
border-width: 0;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
5
|
pn-proxio-productcard-description h3 {
|
|
31
6
|
font-size: 1.6rem;
|
|
32
7
|
}
|
|
@@ -7,7 +7,7 @@ export class PnProxioProductcardDescription {
|
|
|
7
7
|
this.list = [];
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '8a407eb3650b011fa56efd51440333d3a20980e4' }, this.heading ? h("h3", null, this.heading) : null, this.highlight ? h("h3", { class: "highlight" }, this.highlight) : null, this.description ? h("span", null, this.description) : null, this.list ? (h("ul", null, this.list.map(text => {
|
|
11
11
|
return h("li", null, text);
|
|
12
12
|
}))) : null));
|
|
13
13
|
}
|
|
@@ -2,31 +2,6 @@ pn-button-dropdown .pn-button-dropdown > pn-button > .pn-button {
|
|
|
2
2
|
min-height: initial;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
.sr-only {
|
|
6
|
-
position: absolute;
|
|
7
|
-
width: 1px;
|
|
8
|
-
height: 1px;
|
|
9
|
-
padding: 0;
|
|
10
|
-
margin: -1px;
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
clip: rect(0, 0, 0, 0);
|
|
13
|
-
white-space: nowrap;
|
|
14
|
-
border-width: 0;
|
|
15
|
-
}
|
|
16
|
-
@media screen and (max-width: 767px) {
|
|
17
|
-
.sr-only-mobile {
|
|
18
|
-
position: absolute;
|
|
19
|
-
width: 1px;
|
|
20
|
-
height: 1px;
|
|
21
|
-
padding: 0;
|
|
22
|
-
margin: -1px;
|
|
23
|
-
overflow: hidden;
|
|
24
|
-
clip: rect(0, 0, 0, 0);
|
|
25
|
-
white-space: nowrap;
|
|
26
|
-
border-width: 0;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
5
|
pn-proxio-productcard-information p.cardinfocontent-title {
|
|
31
6
|
margin-bottom: 0.4rem;
|
|
32
7
|
}
|
|
@@ -5,7 +5,7 @@ export class PnProxioProductcardInformation {
|
|
|
5
5
|
this.information = [];
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: 'b404bb5b6dee088fe2c4d1f78207717633613d91' }, h("div", { key: '7a6f90aa91c57d71a61d3fdc58dc97b976b681f5', class: "cardinfocontent" }, this.information && this.information.length > 0 && this.label ? (h("div", { class: "cardinfocontent-item" }, this.label ? (h("p", { class: "cardinfocontent-title" }, h("strong", null, this.label))) : null, this.information.map(item => item ? (h("p", null, h("strong", { class: "cardinfocontent-label" }, item.item1, ":"), " ", item.item2)) : null))) : null)));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "pn-proxio-productcard-information"; }
|
|
11
11
|
static get originalStyleUrls() {
|
package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-pricelink.css
CHANGED
|
@@ -2,31 +2,6 @@ pn-button-dropdown .pn-button-dropdown > pn-button > .pn-button {
|
|
|
2
2
|
min-height: initial;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
.sr-only {
|
|
6
|
-
position: absolute;
|
|
7
|
-
width: 1px;
|
|
8
|
-
height: 1px;
|
|
9
|
-
padding: 0;
|
|
10
|
-
margin: -1px;
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
clip: rect(0, 0, 0, 0);
|
|
13
|
-
white-space: nowrap;
|
|
14
|
-
border-width: 0;
|
|
15
|
-
}
|
|
16
|
-
@media screen and (max-width: 767px) {
|
|
17
|
-
.sr-only-mobile {
|
|
18
|
-
position: absolute;
|
|
19
|
-
width: 1px;
|
|
20
|
-
height: 1px;
|
|
21
|
-
padding: 0;
|
|
22
|
-
margin: -1px;
|
|
23
|
-
overflow: hidden;
|
|
24
|
-
clip: rect(0, 0, 0, 0);
|
|
25
|
-
white-space: nowrap;
|
|
26
|
-
border-width: 0;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
5
|
pn-proxio-productcard-pricelink {
|
|
31
6
|
align-self: center;
|
|
32
7
|
display: flex;
|
|
@@ -2,31 +2,6 @@ pn-button-dropdown .pn-button-dropdown > pn-button > .pn-button {
|
|
|
2
2
|
min-height: initial;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
.sr-only {
|
|
6
|
-
position: absolute;
|
|
7
|
-
width: 1px;
|
|
8
|
-
height: 1px;
|
|
9
|
-
padding: 0;
|
|
10
|
-
margin: -1px;
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
clip: rect(0, 0, 0, 0);
|
|
13
|
-
white-space: nowrap;
|
|
14
|
-
border-width: 0;
|
|
15
|
-
}
|
|
16
|
-
@media screen and (max-width: 767px) {
|
|
17
|
-
.sr-only-mobile {
|
|
18
|
-
position: absolute;
|
|
19
|
-
width: 1px;
|
|
20
|
-
height: 1px;
|
|
21
|
-
padding: 0;
|
|
22
|
-
margin: -1px;
|
|
23
|
-
overflow: hidden;
|
|
24
|
-
clip: rect(0, 0, 0, 0);
|
|
25
|
-
white-space: nowrap;
|
|
26
|
-
border-width: 0;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
5
|
pn-proxio-productcard .cardcontent {
|
|
31
6
|
display: flex;
|
|
32
7
|
flex-direction: row;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class PnProxioProductcard {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '0b26ae1aa1292357c5030498adeb5f1e7f87d85d' }, h("div", { key: '9a0b5646b320dd48dfbab0f7801fcf010b189071', class: "cardcontent" }, h("div", { key: 'd858b0a8ce5078004e0bd4ba4dc60d3d658a4672', class: "carddetails" }, h("slot", { key: 'b94aa9596d36c92b9d2fb441a85d61418654c484', name: "illustrationmobile" }), h("div", { key: '7fbb7c981dc47668aef3e98e8e1cd84ddb6dcc6d', class: "heading" }, h("slot", { key: '4abe626da56d671cc091627b10f6b9af57705408', name: "title" }), h("slot", { key: '8a3b9650d82f7f3d746546bdd71597d8b44a8d17', name: "uppertags" })), h("slot", { key: '61d5bbe10032d715e9dd879c68e3e856edbadcec', name: "description" }), h("slot", { key: 'd16c7591857d86b855f12b7dbe5f7a41772c7d91', name: "information" }), h("slot", { key: '6671fb2c6925f5ff0b3db66e337329924f9ed43f', name: "bottomtags" })), h("div", { key: '3882ae15afcd9b3b2bbd385cba386843a648a5c4', class: "cardcalltoactions" }, h("slot", { key: 'd171da455aee350507418b360cef353e92a184b9', name: "illustration" }), h("slot", { key: 'bcec30db741fa30195ee4091fa4b45aa20498813', name: "pricelink" }), h("slot", { key: '841fa07224456488d1ec67f3c5752276627e0a19', name: "insurance" })))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "pn-proxio-productcard"; }
|
|
7
7
|
static get originalStyleUrls() {
|
|
@@ -2,31 +2,6 @@ pn-button-dropdown .pn-button-dropdown > pn-button > .pn-button {
|
|
|
2
2
|
min-height: initial;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
.sr-only {
|
|
6
|
-
position: absolute;
|
|
7
|
-
width: 1px;
|
|
8
|
-
height: 1px;
|
|
9
|
-
padding: 0;
|
|
10
|
-
margin: -1px;
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
clip: rect(0, 0, 0, 0);
|
|
13
|
-
white-space: nowrap;
|
|
14
|
-
border-width: 0;
|
|
15
|
-
}
|
|
16
|
-
@media screen and (max-width: 767px) {
|
|
17
|
-
.sr-only-mobile {
|
|
18
|
-
position: absolute;
|
|
19
|
-
width: 1px;
|
|
20
|
-
height: 1px;
|
|
21
|
-
padding: 0;
|
|
22
|
-
margin: -1px;
|
|
23
|
-
overflow: hidden;
|
|
24
|
-
clip: rect(0, 0, 0, 0);
|
|
25
|
-
white-space: nowrap;
|
|
26
|
-
border-width: 0;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
5
|
pn-usp-promoter {
|
|
31
6
|
width: 80%;
|
|
32
7
|
}
|
|
@@ -25,7 +25,7 @@ export class PnUspPromoter {
|
|
|
25
25
|
rightAlign ? "usp-promoter--right-align" : "",
|
|
26
26
|
].join(' ');
|
|
27
27
|
const hasHeadingExtension = this.headingExtension ? "usp-promoter__heading-extension" : "";
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '264c4f6da6ddee9569089074fc08ccf9e5c371ba' }, h("div", { key: 'c832ef39dcfece93643964f6994c91c79f7f8ea0', class: ` ${classes} ${this.centerMobileContent()}`, style: { 'background': `${this.backgroundGradient}` } }, h("div", { key: '41f8995ae12546fd008a8eec5b5de0a9482d3312', class: "usp-promoter__content" }, h("slot", { key: '3a967323a69ec83ed03d619ba6a2fa9115fa2a90', name: "illustration" }), h("div", { key: 'ed9bcfb59255d8369b41386b834b773b8aad3a71', class: "usp-promoter__content-wrapper" }, h("h2", { key: '58eb3a2d9650920070c25a65e699d21cfba8b118', class: `usp-promoter__content-heading ${hasHeadingExtension}` }, h("span", { key: '08fc4b8dcc49746a699033c7ad1009ade8d46e71' }, this.heading), this.headingExtension ? h("span", null, this.headingExtension) : null), h("p", { key: '9452a7544e7255842331591f1d9178018c594524', class: "usp-promoter__content-text" }, this.bodyText), h("slot", { key: 'd1eee8f90dd6280de590e288ac7f11beb1aa5dd1', name: "app-store" }), h("slot", { key: 'cf45783c7d093218e4aeb5707da2b742225a4594', name: "usp-buttons" }))))));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "pn-usp-promoter"; }
|
|
31
31
|
static get originalStyleUrls() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
export const HeadingTag = ({
|
|
2
|
+
export const HeadingTag = ({ heading, level, cssClass, additionalProps }) => {
|
|
3
3
|
const Tag = level;
|
|
4
|
-
return h(Tag, {
|
|
4
|
+
return (h(Tag, { className: cssClass, ...additionalProps }, heading));
|
|
5
5
|
};
|
|
6
6
|
//# sourceMappingURL=HeadingTag.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeadingTag.js","sourceRoot":"","sources":["../../src/globals/HeadingTag.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAuB,MAAM,eAAe,CAAC;AASvD,MAAM,CAAC,MAAM,UAAU,GAAyC,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"HeadingTag.js","sourceRoot":"","sources":["../../src/globals/HeadingTag.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAuB,MAAM,eAAe,CAAC;AASvD,MAAM,CAAC,MAAM,UAAU,GAAyC,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,EAAE,EAAE;IAChH,MAAM,GAAG,GAAG,KAAK,CAAC;IAElB,OAAO,CACL,EAAC,GAAG,IAAC,SAAS,EAAE,QAAQ,KAAM,eAAe,IAC1C,OAAO,CACJ,CACP,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { h, FunctionalComponent } from '@stencil/core';\n\ninterface HeadingTagProps {\n heading: string;\n level: string;\n cssClass?: string;\n additionalProps?: { [key: string]: string };\n}\n\nexport const HeadingTag: FunctionalComponent<HeadingTagProps> = ({ heading, level, cssClass, additionalProps }) => {\n const Tag = level;\n\n return (\n <Tag className={cssClass} {...additionalProps}>\n {heading}\n </Tag>\n );\n};\n"]}
|
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
export function format(first, middle, last) {
|
|
2
2
|
return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');
|
|
3
3
|
}
|
|
4
|
-
export function isLocalStorageAvailable() {
|
|
5
|
-
try {
|
|
6
|
-
const testKey = '__storage_test__';
|
|
7
|
-
localStorage.setItem(testKey, testKey);
|
|
8
|
-
localStorage.removeItem(testKey);
|
|
9
|
-
return true;
|
|
10
|
-
}
|
|
11
|
-
catch (error) {
|
|
12
|
-
return false;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
4
|
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils/utils.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,MAAM,CAAC,KAAa,EAAE,MAAc,EAAE,IAAY;IAChE,OAAO,CAAC,KAAK,IAAI,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AACjF,CAAC
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils/utils.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,MAAM,CAAC,KAAa,EAAE,MAAc,EAAE,IAAY;IAChE,OAAO,CAAC,KAAK,IAAI,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AACjF,CAAC","sourcesContent":["export function format(first: string, middle: string, last: string): string {\n return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');\n}\n"]}
|
|
@@ -1,3 +1,245 @@
|
|
|
1
|
+
class MarketWebContextService {
|
|
2
|
+
href = '';
|
|
3
|
+
market = '';
|
|
4
|
+
language = '';
|
|
5
|
+
environment = '';
|
|
6
|
+
url = null;
|
|
7
|
+
allowedLanguages = ['sv', 'da', 'fi', 'no', 'en', 'de', 'zh', 'fr', 'es', 'it', 'nl'];
|
|
8
|
+
allowedMarkets = ['se', 'dk', 'fi', 'no', 'com', 'de', 'tpl', 'group'];
|
|
9
|
+
wwwMarkets = ['se', 'dk', 'fi', 'no', 'de', 'com'];
|
|
10
|
+
developmentDomains = ['localhost', '.local', 'local.', '.dev', 'dev.'];
|
|
11
|
+
markets = {
|
|
12
|
+
se: {
|
|
13
|
+
fallbackLanguage: 'sv',
|
|
14
|
+
integration: 'se-inte.postnord.com',
|
|
15
|
+
preproduction: 'se-prep.postnord.com',
|
|
16
|
+
production: 'se-prod.postnord.com',
|
|
17
|
+
live: 'www.postnord.se',
|
|
18
|
+
},
|
|
19
|
+
dk: {
|
|
20
|
+
fallbackLanguage: 'da',
|
|
21
|
+
integration: 'dk-inte.postnord.com',
|
|
22
|
+
preproduction: 'dk-prep.postnord.com',
|
|
23
|
+
production: 'dk-prod.postnord.com',
|
|
24
|
+
live: 'www.postnord.dk',
|
|
25
|
+
},
|
|
26
|
+
fi: {
|
|
27
|
+
fallbackLanguage: 'fi',
|
|
28
|
+
integration: 'fi-inte.postnord.com',
|
|
29
|
+
preproduction: 'fi-prep.postnord.com',
|
|
30
|
+
production: 'fi-prod.postnord.com',
|
|
31
|
+
live: 'www.postnord.fi',
|
|
32
|
+
},
|
|
33
|
+
no: {
|
|
34
|
+
fallbackLanguage: 'no',
|
|
35
|
+
integration: 'no-inte.postnord.com',
|
|
36
|
+
preproduction: 'no-prep.postnord.com',
|
|
37
|
+
production: 'no-prod.postnord.com',
|
|
38
|
+
live: 'www.postnord.no',
|
|
39
|
+
},
|
|
40
|
+
com: {
|
|
41
|
+
fallbackLanguage: 'en',
|
|
42
|
+
integration: 'com-inte.postnord.com',
|
|
43
|
+
preproduction: 'com-prep.postnord.com',
|
|
44
|
+
production: 'com-prod.postnord.com',
|
|
45
|
+
live: 'www.postnord.com',
|
|
46
|
+
},
|
|
47
|
+
de: {
|
|
48
|
+
fallbackLanguage: 'en',
|
|
49
|
+
integration: 'de-inte.postnord.com',
|
|
50
|
+
preproduction: 'de-prep.postnord.com',
|
|
51
|
+
production: 'de-prod.postnord.com',
|
|
52
|
+
live: 'www.postnord.de',
|
|
53
|
+
},
|
|
54
|
+
tpl: {
|
|
55
|
+
fallbackLanguage: 'sv',
|
|
56
|
+
integration: 'tpl-inte.postnord.com',
|
|
57
|
+
preproduction: 'tpl-prep.postnord.com',
|
|
58
|
+
production: 'tpl-prod.postnord.com',
|
|
59
|
+
live: 'www.tpl.postnord.com',
|
|
60
|
+
},
|
|
61
|
+
group: {
|
|
62
|
+
fallbackLanguage: 'en',
|
|
63
|
+
integration: 'group-inte.postnord.com',
|
|
64
|
+
preproduction: 'group-prep.postnord.com',
|
|
65
|
+
production: 'group-prod.postnord.com',
|
|
66
|
+
live: 'group.postnord.com',
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
environmentTypes = ['integration', 'preproduction', 'production', 'inte', 'prep', 'prod'];
|
|
70
|
+
environments = {
|
|
71
|
+
production: {
|
|
72
|
+
name: 'production',
|
|
73
|
+
url: 'https://www.postnord.xx/',
|
|
74
|
+
},
|
|
75
|
+
preproduction: {
|
|
76
|
+
name: 'preproduction',
|
|
77
|
+
url: 'https://com-prep.postnord.com/',
|
|
78
|
+
},
|
|
79
|
+
integration: {
|
|
80
|
+
name: 'integration',
|
|
81
|
+
url: 'https://com-inte.postnord.com/',
|
|
82
|
+
},
|
|
83
|
+
};
|
|
84
|
+
constructor(href = window.location.href) {
|
|
85
|
+
this.href = href;
|
|
86
|
+
this.url = new URL(this.href);
|
|
87
|
+
}
|
|
88
|
+
async getLanguage() {
|
|
89
|
+
if (this.language) {
|
|
90
|
+
return this.language;
|
|
91
|
+
}
|
|
92
|
+
await this.resolveLanguage();
|
|
93
|
+
return this.language;
|
|
94
|
+
}
|
|
95
|
+
async getMarket() {
|
|
96
|
+
if (this.market) {
|
|
97
|
+
return this.market;
|
|
98
|
+
}
|
|
99
|
+
await this.resolveMarket();
|
|
100
|
+
return this.market;
|
|
101
|
+
}
|
|
102
|
+
async getEndpoint(environmentName, marketName = '') {
|
|
103
|
+
let url = this.environments.production.url;
|
|
104
|
+
if (this.markets[marketName] && this.markets[marketName][environmentName]) {
|
|
105
|
+
if (environmentName === 'production' && window.location.hostname.indexOf(this.markets[marketName]['live']) === 0) {
|
|
106
|
+
// If the environment is production and we're on the www domain we'll use that
|
|
107
|
+
return `https://` + this.markets[marketName]['live'];
|
|
108
|
+
}
|
|
109
|
+
if (window.location.hostname.indexOf(this.markets[marketName][environmentName]) === 0) {
|
|
110
|
+
return `https://` + this.markets[marketName][environmentName];
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
// Old solution to match URLs. Not bulletproof
|
|
114
|
+
if (this.environments[environmentName]) {
|
|
115
|
+
url = this.environments[environmentName].url;
|
|
116
|
+
if (environmentName === this.environments.production.name) {
|
|
117
|
+
if (this.wwwMarkets.indexOf(marketName) !== -1) {
|
|
118
|
+
// Handles www.postnord.xx domains
|
|
119
|
+
url = url.replace('.xx', '.' + marketName);
|
|
120
|
+
}
|
|
121
|
+
else {
|
|
122
|
+
url = url.replace('.xx', '.com'); // Expect URL to end in postnord.com
|
|
123
|
+
url = url.replace('www.', marketName + '.');
|
|
124
|
+
if (marketName === 'tpl') {
|
|
125
|
+
url = url.replace('tpl.', 'www.tpl.');
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
return url;
|
|
131
|
+
}
|
|
132
|
+
async getEnvironmentName() {
|
|
133
|
+
const likelyEnvironment = this.environmentTypes.filter(x => this.url.hostname.indexOf('-' + x) !== -1)[0];
|
|
134
|
+
if (likelyEnvironment) {
|
|
135
|
+
this.environment = likelyEnvironment;
|
|
136
|
+
return this.environment;
|
|
137
|
+
}
|
|
138
|
+
if (this.url.hostname.indexOf('www.') !== -1) {
|
|
139
|
+
this.environment = this.environments.production.name;
|
|
140
|
+
return this.environment;
|
|
141
|
+
}
|
|
142
|
+
this.environment = this.environments.integration.name;
|
|
143
|
+
return this.environment;
|
|
144
|
+
}
|
|
145
|
+
isDevEnvironment() {
|
|
146
|
+
const matchedDevEnvironment = this.developmentDomains.filter(x => this.url.hostname.indexOf(x) !== -1)[0];
|
|
147
|
+
return matchedDevEnvironment.length > 0;
|
|
148
|
+
}
|
|
149
|
+
async resolveMarket() {
|
|
150
|
+
// Resolve market from www domains
|
|
151
|
+
if (this.href.indexOf('//www.') !== -1) {
|
|
152
|
+
const domainRoot = this.url.hostname.substring(this.url.hostname.lastIndexOf('.') + 1, this.url.hostname.length);
|
|
153
|
+
if (domainRoot && this.markets[domainRoot]) {
|
|
154
|
+
this.market = domainRoot;
|
|
155
|
+
}
|
|
156
|
+
else {
|
|
157
|
+
console.warn('Unable to define market from www. domain', this.href);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
// Check if domains are on one of the integration/preproduction/production environments urls
|
|
161
|
+
const likelyEnvironment = this.environmentTypes.filter(x => this.url.hostname.indexOf('-' + x) !== -1);
|
|
162
|
+
if (!this.market && likelyEnvironment && likelyEnvironment.length > 0) {
|
|
163
|
+
const matchedEnvironment = likelyEnvironment[0];
|
|
164
|
+
const marketPrefix = this.url.hostname.substring(0, this.url.hostname.indexOf('-' + matchedEnvironment));
|
|
165
|
+
if (marketPrefix && this.markets[marketPrefix]) {
|
|
166
|
+
this.market = marketPrefix;
|
|
167
|
+
}
|
|
168
|
+
else {
|
|
169
|
+
console.warn('Unable to define market from preset environment names', this.href);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
if (!this.market) {
|
|
173
|
+
if (this.url.hostname.indexOf('www') === -1 && this.url.hostname.indexOf('.postnord.') > 0) {
|
|
174
|
+
const start = this.url.hostname.indexOf('.') !== this.url.hostname.indexOf('.postnord') ? this.url.hostname.indexOf('.') : 0;
|
|
175
|
+
const potentialMarket = this.url.hostname.substring(start, this.url.hostname.indexOf('.postnord.'));
|
|
176
|
+
// Break down the subdomain to the word closest to .postnord. and take that word.
|
|
177
|
+
// Supports sub-sub domain down to 1 level.
|
|
178
|
+
if (this.allowedMarkets.indexOf(potentialMarket) !== -1) {
|
|
179
|
+
this.market = potentialMarket;
|
|
180
|
+
return;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
// Check if we're on a development environment
|
|
185
|
+
if (!this.market) {
|
|
186
|
+
const matchedDevEnvironment = this.developmentDomains.filter(x => this.url.hostname.indexOf(x) !== -1)[0];
|
|
187
|
+
if (!matchedDevEnvironment) {
|
|
188
|
+
// Fallback to first allowed market
|
|
189
|
+
this.market = this.allowedMarkets[0];
|
|
190
|
+
return;
|
|
191
|
+
}
|
|
192
|
+
const urlWithoutDomain = this.href.replace(matchedDevEnvironment, '');
|
|
193
|
+
// We see if the dev environment contains something like /dk
|
|
194
|
+
let matchedMarket = this.allowedMarkets.filter(x => {
|
|
195
|
+
const typesOfFallback = ['.' + x, x + '.', '/' + x + '/']; // Ex /dk, dk.html, /dk/
|
|
196
|
+
const matchedTypeOfFallback = typesOfFallback.filter(y => urlWithoutDomain.indexOf(y) !== -1);
|
|
197
|
+
return matchedTypeOfFallback.length > 0;
|
|
198
|
+
})[0];
|
|
199
|
+
if (matchedMarket) {
|
|
200
|
+
this.market = matchedMarket;
|
|
201
|
+
}
|
|
202
|
+
else {
|
|
203
|
+
// We do a similar filter for subpaths but for language this time
|
|
204
|
+
let filteredMarket = Object.entries(this.markets).filter(item => {
|
|
205
|
+
const typesOfFallback = ['.' + item[1].fallbackLanguage, item[1].fallbackLanguage + '.', '/' + item[1].fallbackLanguage + '/']; // Ex /dk, dk.html, /dk/
|
|
206
|
+
const matchedTypeOfFallback = typesOfFallback.filter(y => urlWithoutDomain.indexOf(y) !== -1);
|
|
207
|
+
return matchedTypeOfFallback.length > 0;
|
|
208
|
+
})[0];
|
|
209
|
+
if (filteredMarket && filteredMarket[0]) {
|
|
210
|
+
this.market = filteredMarket[0];
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
if (!this.market) {
|
|
215
|
+
console.info('Was unable to detect market, used fallback');
|
|
216
|
+
this.market = this.allowedMarkets[0];
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
async resolveLanguage() {
|
|
220
|
+
if (this.language) {
|
|
221
|
+
return;
|
|
222
|
+
}
|
|
223
|
+
const potentialLanguages = [
|
|
224
|
+
document.querySelector('html[lang]')?.getAttribute('lang'), // Get HTML tag language
|
|
225
|
+
document.querySelector('[http-equiv="content-language"][content]')?.getAttribute('content'), // Obsolute tag but might still be used
|
|
226
|
+
document.querySelector('[property="og:locale"][content]')?.getAttribute('content'), // Get open graph share language
|
|
227
|
+
document.querySelector('[lang]')?.getAttribute('lang'), // Find any tag with a lang attribute
|
|
228
|
+
];
|
|
229
|
+
potentialLanguages
|
|
230
|
+
.filter(x => x)
|
|
231
|
+
.forEach(language => {
|
|
232
|
+
if (this.allowedLanguages.indexOf(language)) {
|
|
233
|
+
this.language = language;
|
|
234
|
+
return;
|
|
235
|
+
}
|
|
236
|
+
});
|
|
237
|
+
if (!this.language && this.market) {
|
|
238
|
+
this.language = this.markets[this.market].fallbackLanguage;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
1
243
|
class FetchHelper {
|
|
2
244
|
storagePrefix = '';
|
|
3
245
|
constructor(namespace = '') {
|
|
@@ -78,6 +320,6 @@ class FetchHelper {
|
|
|
78
320
|
};
|
|
79
321
|
}
|
|
80
322
|
|
|
81
|
-
export { FetchHelper as F };
|
|
323
|
+
export { FetchHelper as F, MarketWebContextService as M };
|
|
82
324
|
|
|
83
325
|
//# sourceMappingURL=FetchHelper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"FetchHelper.js","mappings":"AAAA,MAAM,WAAW;IACf,aAAa,GAAG,EAAE,CAAC;IACnB,YAAY,SAAS,GAAG,EAAE;QACxB,IAAI,CAAC,aAAa,GAAG,SAAS,CAAC;KAChC;IAEH,MAAM,SAAS,CAAC,KAAkB,EAAE,OAAoB,EAAE,EAAE,QAAQ,GAAG,KAAK,EAAE,iBAA2B,IAAI;QAC3G,MAAM,GAAG,GAAG,OAAO,KAAK,KAAK,QAAQ,GAAG,KAAK,GAAI,KAAiB,CAAC,GAAG,CAAC;QACvE,MAAM,QAAQ,GAAG,GAAG,CAAC;QACrB,IAAI,QAAQ,GAAG,IAAI,CAAC;QACpB,IAAI,UAAU,GAAG,IAAI,CAAC;QAEtB,IAAI,QAAQ,EAAE;YACZ,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;YACtC,IAAI,UAAU,IAAI,CAAC,UAAU,CAAC,SAAS,EAAE;gBACvC,IAAI,UAAU,CAAC,IAAI,EAAE;oBACnB,OAAO,UAAU,CAAC,IAAI,CAAC;iBACxB;aACF;SACF;QAED,IAAI;YACF,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;YAC1C,QAAQ,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;YAEjC,IAAI,QAAQ,EAAE;gBACZ,IAAI,OAAO,cAAc,KAAK,UAAU,IAAI,UAAU,IAAI,IAAI,EAAE;oBAC9D,cAAc,CAAC,QAAQ,CAAC,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CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE;gBAC5B,IAAI;oBACF,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;iBAC1B;gBAAC,OAAO,CAAC,EAAE,GAAE;aACf;YACD,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE;gBAC7B,OAAO,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;aACzB;YACD,OAAO,KAAK,CAAC;SACd;QACD,GAAG,EAAE,CAAC,GAAW,EAAE,KAAU,EAAE,SAAS,GAAG,KAAK;YAC9C,MAAM,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAC,YAAY,GAAG,MAAM,CAAC,cAAc,CAAC;YACzE,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,OAAO,KAAK,CAAC,MAAM,KAAK,WAAW,EAAE;gBACpE,QAAQ,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,aAAa,IAAI,GAAG,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;gBACxE,OAAO;aACR;YACD,QAAQ,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,aAAa,IAAI,GAAG,EAAE,EAAE,KAAK,CAAC,CAAC;SACzD;QACD,MAAM,EAAE,CAAC,GAAW;YAClB,MAAM,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,aAAa,IAAI,GAAG,EAAE,CAAC,CAAC;SAClE;KACF,CAAC;;;;;","names":[],"sources":["src/globals/FetchHelper.ts"],"sourcesContent":["class FetchHelper {\n storagePrefix = '';\n constructor(namespace = '') {\n this.storagePrefix = namespace;\n }\n\nasync fetchJson(input: RequestInfo, init: RequestInit = {}, useCache = false, onCacheUpdated: Function = null) {\n const url = typeof input === 'string' ? input : (input as Request).url;\n const cacheKey = url;\n let jsonData = null;\n let cachedData = null;\n\n if (useCache) {\n cachedData = this.store.get(cacheKey);\n if (cachedData && !cachedData.permanent) {\n if (cachedData.data) {\n return cachedData.data;\n }\n }\n }\n\n try {\n const response = await fetch(input, init);\n jsonData = await response.json();\n\n if (useCache) {\n if (typeof onCacheUpdated === 'function' && cachedData != null) {\n onCacheUpdated(jsonData);\n }\n this.store.set(cacheKey, this.wrapJson(jsonData, true), true);\n this.store.set(cacheKey, this.wrapJson(jsonData, false), false);\n }\n\n return jsonData;\n } catch (error) {\n console.error(error);\n return null;\n }\n}\n\n wrapJson(data: any, permanent = false) {\n const now = new Date();\n return {\n timestamp: now.getTime(),\n time: now.toISOString(),\n data: data,\n permanent: permanent,\n };\n }\n\n store = {\n get: (key: string, permanentStorageFirst = false) => {\n const firstProfider = permanentStorageFirst ? window.localStorage : window.sessionStorage;\n const secondProvider = permanentStorageFirst ? window.sessionStorage : window.localStorage;\n let value = firstProfider.getItem(`${this.storagePrefix}-${key}`);\n if (!value) {\n value = secondProvider.getItem(`${this.storagePrefix}-${key}`);\n }\n if (!value) {\n return value;\n }\n if (value.indexOf('{') === 0) {\n try {\n return JSON.parse(value);\n } catch (e) {}\n }\n if (value.indexOf(',') !== -1) {\n return value.split(',');\n }\n return value;\n },\n set: (key: string, value: any, permanent = false) => {\n const provider = permanent ? window.localStorage : window.sessionStorage;\n if (typeof value === 'object' && typeof value.length === 'undefined') {\n provider.setItem(`${this.storagePrefix}-${key}`, JSON.stringify(value));\n return;\n }\n provider.setItem(`${this.storagePrefix}-${key}`, value);\n },\n remove: (key: string) => {\n window.sessionStorage.removeItem(`${this.storagePrefix}-${key}`);\n },\n };\n}\n\nexport { FetchHelper };\n"],"version":3}
|
|
1
|
+
{"file":"FetchHelper.js","mappings":"AAAA,MAAM,uBAAuB;IAC3B,IAAI,GAAG,EAAE,CAAC;IACV,MAAM,GAAG,EAAE,CAAC;IACZ,QAAQ,GAAG,EAAE,CAAC;IACd,WAAW,GAAG,EAAE,CAAC;IACjB,GAAG,GAAG,IAAI,CAAC;IACX,gBAAgB,GAAG,CAAC,IAAI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AO,KAAK,CAAC,MAAM,KAAK,WAAW,EAAE;gBACpE,QAAQ,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,aAAa,IAAI,GAAG,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC;gBACxE,OAAO;aACR;YACD,QAAQ,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,aAAa,IAAI,GAAG,EAAE,EAAE,KAAK,CAAC,CAAC;SACzD;QACD,MAAM,EAAE,CAAC,GAAW;YAClB,MAAM,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,aAAa,IAAI,GAAG,EAAE,CAAC,CAAC;SAClE;KACF,CAAC;;;;;","names":[],"sources":["src/globals/MarketWebContextService.ts","src/globals/FetchHelper.ts"],"sourcesContent":["class MarketWebContextService {\n href = '';\n market = '';\n language = '';\n environment = '';\n url = null;\n allowedLanguages = ['sv', 'da', 'fi', 'no', 'en', 'de', 'zh', 'fr', 'es', 'it', 'nl'];\n allowedMarkets = ['se', 'dk', 'fi', 'no', 'com', 'de', 'tpl', 'group'];\n wwwMarkets = ['se', 'dk', 'fi', 'no', 'de', 'com'];\n developmentDomains = ['localhost', '.local', 'local.', '.dev', 'dev.'];\n\n markets = {\n se: {\n fallbackLanguage: 'sv',\n integration: 'se-inte.postnord.com',\n preproduction: 'se-prep.postnord.com',\n production: 'se-prod.postnord.com',\n live: 'www.postnord.se',\n },\n dk: {\n fallbackLanguage: 'da',\n integration: 'dk-inte.postnord.com',\n preproduction: 'dk-prep.postnord.com',\n production: 'dk-prod.postnord.com',\n live: 'www.postnord.dk',\n },\n fi: {\n fallbackLanguage: 'fi',\n integration: 'fi-inte.postnord.com',\n preproduction: 'fi-prep.postnord.com',\n production: 'fi-prod.postnord.com',\n live: 'www.postnord.fi',\n },\n no: {\n fallbackLanguage: 'no',\n integration: 'no-inte.postnord.com',\n preproduction: 'no-prep.postnord.com',\n production: 'no-prod.postnord.com',\n live: 'www.postnord.no',\n },\n com: {\n fallbackLanguage: 'en',\n integration: 'com-inte.postnord.com',\n preproduction: 'com-prep.postnord.com',\n production: 'com-prod.postnord.com',\n live: 'www.postnord.com',\n },\n de: {\n fallbackLanguage: 'en',\n integration: 'de-inte.postnord.com',\n preproduction: 'de-prep.postnord.com',\n production: 'de-prod.postnord.com',\n live: 'www.postnord.de',\n },\n tpl: {\n fallbackLanguage: 'sv',\n integration: 'tpl-inte.postnord.com',\n preproduction: 'tpl-prep.postnord.com',\n production: 'tpl-prod.postnord.com',\n live: 'www.tpl.postnord.com',\n },\n group: {\n fallbackLanguage: 'en',\n integration: 'group-inte.postnord.com',\n preproduction: 'group-prep.postnord.com',\n production: 'group-prod.postnord.com',\n live: 'group.postnord.com',\n },\n };\n environmentTypes = ['integration', 'preproduction', 'production', 'inte', 'prep', 'prod'];\n environments = {\n production: {\n name: 'production',\n url: 'https://www.postnord.xx/',\n },\n preproduction: {\n name: 'preproduction',\n url: 'https://com-prep.postnord.com/',\n },\n integration: {\n name: 'integration',\n url: 'https://com-inte.postnord.com/',\n },\n };\n\n constructor(href = window.location.href) {\n this.href = href;\n this.url = new URL(this.href);\n }\n\n async getLanguage() {\n if (this.language) {\n return this.language;\n }\n await this.resolveLanguage();\n return this.language;\n }\n\n async getMarket() {\n if (this.market) {\n return this.market;\n }\n await this.resolveMarket();\n return this.market;\n }\n\n async getEndpoint(environmentName, marketName = '') {\n let url = this.environments.production.url;\n if (this.markets[marketName] && this.markets[marketName][environmentName]) {\n if (environmentName === 'production' && window.location.hostname.indexOf(this.markets[marketName]['live']) === 0) {\n // If the environment is production and we're on the www domain we'll use that\n return `https://` + this.markets[marketName]['live'];\n }\n if (window.location.hostname.indexOf(this.markets[marketName][environmentName]) === 0) {\n return `https://` + this.markets[marketName][environmentName];\n }\n }\n\n // Old solution to match URLs. Not bulletproof\n if (this.environments[environmentName]) {\n url = this.environments[environmentName].url;\n if (environmentName === this.environments.production.name) {\n if (this.wwwMarkets.indexOf(marketName) !== -1) {\n // Handles www.postnord.xx domains\n url = url.replace('.xx', '.' + marketName);\n } else {\n url = url.replace('.xx', '.com'); // Expect URL to end in postnord.com\n url = url.replace('www.', marketName + '.');\n\n if (marketName === 'tpl') {\n url = url.replace('tpl.', 'www.tpl.');\n }\n }\n }\n }\n return url;\n }\n\n async getEnvironmentName() {\n const likelyEnvironment = this.environmentTypes.filter(x => this.url.hostname.indexOf('-' + x) !== -1)[0];\n\n if (likelyEnvironment) {\n this.environment = likelyEnvironment;\n return this.environment;\n }\n if (this.url.hostname.indexOf('www.') !== -1) {\n this.environment = this.environments.production.name;\n return this.environment;\n }\n\n this.environment = this.environments.integration.name;\n return this.environment;\n }\n\n isDevEnvironment() {\n const matchedDevEnvironment = this.developmentDomains.filter(x => this.url.hostname.indexOf(x) !== -1)[0];\n return matchedDevEnvironment.length > 0;\n }\n\n async resolveMarket() {\n // Resolve market from www domains\n if (this.href.indexOf('//www.') !== -1) {\n const domainRoot = this.url.hostname.substring(this.url.hostname.lastIndexOf('.') + 1, this.url.hostname.length);\n if (domainRoot && this.markets[domainRoot]) {\n this.market = domainRoot;\n } else {\n console.warn('Unable to define market from www. domain', this.href);\n }\n }\n\n // Check if domains are on one of the integration/preproduction/production environments urls\n const likelyEnvironment = this.environmentTypes.filter(x => this.url.hostname.indexOf('-' + x) !== -1);\n if (!this.market && likelyEnvironment && likelyEnvironment.length > 0) {\n const matchedEnvironment = likelyEnvironment[0];\n const marketPrefix = this.url.hostname.substring(0, this.url.hostname.indexOf('-' + matchedEnvironment));\n if (marketPrefix && this.markets[marketPrefix]) {\n this.market = marketPrefix;\n } else {\n console.warn('Unable to define market from preset environment names', this.href);\n }\n }\n\n if (!this.market) {\n if (this.url.hostname.indexOf('www') === -1 && this.url.hostname.indexOf('.postnord.') > 0) {\n const start = this.url.hostname.indexOf('.') !== this.url.hostname.indexOf('.postnord') ? this.url.hostname.indexOf('.') : 0;\n const potentialMarket = this.url.hostname.substring(start, this.url.hostname.indexOf('.postnord.'));\n // Break down the subdomain to the word closest to .postnord. and take that word.\n // Supports sub-sub domain down to 1 level.\n\n if (this.allowedMarkets.indexOf(potentialMarket) !== -1) {\n this.market = potentialMarket;\n return;\n }\n }\n }\n\n // Check if we're on a development environment\n if (!this.market) {\n const matchedDevEnvironment = this.developmentDomains.filter(x => this.url.hostname.indexOf(x) !== -1)[0];\n if (!matchedDevEnvironment) {\n // Fallback to first allowed market\n this.market = this.allowedMarkets[0];\n return;\n }\n\n const urlWithoutDomain = this.href.replace(matchedDevEnvironment, '');\n\n // We see if the dev environment contains something like /dk\n let matchedMarket = this.allowedMarkets.filter(x => {\n const typesOfFallback = ['.' + x, x + '.', '/' + x + '/']; // Ex /dk, dk.html, /dk/\n const matchedTypeOfFallback = typesOfFallback.filter(y => urlWithoutDomain.indexOf(y) !== -1);\n return matchedTypeOfFallback.length > 0;\n })[0];\n\n if (matchedMarket) {\n this.market = matchedMarket;\n } else {\n // We do a similar filter for subpaths but for language this time\n let filteredMarket = Object.entries(this.markets).filter(item => {\n const typesOfFallback = ['.' + item[1].fallbackLanguage, item[1].fallbackLanguage + '.', '/' + item[1].fallbackLanguage + '/']; // Ex /dk, dk.html, /dk/\n const matchedTypeOfFallback = typesOfFallback.filter(y => urlWithoutDomain.indexOf(y) !== -1);\n return matchedTypeOfFallback.length > 0;\n })[0];\n if (filteredMarket && filteredMarket[0]) {\n this.market = filteredMarket[0];\n }\n }\n }\n\n if (!this.market) {\n console.info('Was unable to detect market, used fallback');\n this.market = this.allowedMarkets[0];\n }\n }\n\n async resolveLanguage() {\n if (this.language) {\n return;\n }\n\n const potentialLanguages = [\n document.querySelector('html[lang]')?.getAttribute('lang'), // Get HTML tag language\n document.querySelector('[http-equiv=\"content-language\"][content]')?.getAttribute('content'), // Obsolute tag but might still be used\n document.querySelector('[property=\"og:locale\"][content]')?.getAttribute('content'), // Get open graph share language\n document.querySelector('[lang]')?.getAttribute('lang'), // Find any tag with a lang attribute\n ];\n potentialLanguages\n .filter(x => x)\n .forEach(language => {\n if (this.allowedLanguages.indexOf(language)) {\n this.language = language;\n return;\n }\n });\n if (!this.language && this.market) {\n this.language = this.markets[this.market].fallbackLanguage;\n }\n }\n}\n\nexport { MarketWebContextService };\n","class FetchHelper {\n storagePrefix = '';\n constructor(namespace = '') {\n this.storagePrefix = namespace;\n }\n\nasync fetchJson(input: RequestInfo, init: RequestInit = {}, useCache = false, onCacheUpdated: Function = null) {\n const url = typeof input === 'string' ? input : (input as Request).url;\n const cacheKey = url;\n let jsonData = null;\n let cachedData = null;\n\n if (useCache) {\n cachedData = this.store.get(cacheKey);\n if (cachedData && !cachedData.permanent) {\n if (cachedData.data) {\n return cachedData.data;\n }\n }\n }\n\n try {\n const response = await fetch(input, init);\n jsonData = await response.json();\n\n if (useCache) {\n if (typeof onCacheUpdated === 'function' && cachedData != null) {\n onCacheUpdated(jsonData);\n }\n this.store.set(cacheKey, this.wrapJson(jsonData, true), true);\n this.store.set(cacheKey, this.wrapJson(jsonData, false), false);\n }\n\n return jsonData;\n } catch (error) {\n console.error(error);\n return null;\n }\n}\n\n wrapJson(data: any, permanent = false) {\n const now = new Date();\n return {\n timestamp: now.getTime(),\n time: now.toISOString(),\n data: data,\n permanent: permanent,\n };\n }\n\n store = {\n get: (key: string, permanentStorageFirst = false) => {\n const firstProfider = permanentStorageFirst ? window.localStorage : window.sessionStorage;\n const secondProvider = permanentStorageFirst ? window.sessionStorage : window.localStorage;\n let value = firstProfider.getItem(`${this.storagePrefix}-${key}`);\n if (!value) {\n value = secondProvider.getItem(`${this.storagePrefix}-${key}`);\n }\n if (!value) {\n return value;\n }\n if (value.indexOf('{') === 0) {\n try {\n return JSON.parse(value);\n } catch (e) {}\n }\n if (value.indexOf(',') !== -1) {\n return value.split(',');\n }\n return value;\n },\n set: (key: string, value: any, permanent = false) => {\n const provider = permanent ? window.localStorage : window.sessionStorage;\n if (typeof value === 'object' && typeof value.length === 'undefined') {\n provider.setItem(`${this.storagePrefix}-${key}`, JSON.stringify(value));\n return;\n }\n provider.setItem(`${this.storagePrefix}-${key}`, value);\n },\n remove: (key: string) => {\n window.sessionStorage.removeItem(`${this.storagePrefix}-${key}`);\n },\n };\n}\n\nexport { FetchHelper };\n"],"version":3}
|