@postnord/pn-marketweb-components 3.0.2 → 3.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/{FetchHelper-8d537d38.js → FetchHelper-dcfe4038.js} +122 -123
- package/cjs/FetchHelper-dcfe4038.js.map +1 -0
- package/cjs/loader.cjs.js +1 -1
- package/cjs/pn-address-autofill.cjs.entry.js +47 -49
- package/cjs/pn-address-autofill.cjs.entry.js.map +1 -1
- package/cjs/pn-animated-tile.cjs.entry.js +4 -4
- package/cjs/pn-animated-tile.cjs.entry.js.map +1 -1
- package/cjs/pn-app-banner.cjs.entry.js +15 -15
- package/cjs/pn-app-banner.cjs.entry.js.map +1 -1
- package/cjs/pn-bonus-progressbar-level.cjs.entry.js +1 -1
- package/cjs/pn-bonus-progressbar-level.cjs.entry.js.map +1 -1
- package/cjs/pn-bonus-progressbar.cjs.entry.js +1 -1
- package/cjs/pn-bonus-progressbar.cjs.entry.js.map +1 -1
- package/cjs/pn-breakpoints.cjs.entry.js +1 -1
- package/cjs/pn-breakpoints.cjs.entry.js.map +1 -1
- package/cjs/pn-chart.cjs.entry.js +47 -10
- package/cjs/pn-chart.cjs.entry.js.map +1 -1
- package/cjs/pn-charts-card.cjs.entry.js +7 -7
- package/cjs/pn-charts-card.cjs.entry.js.map +1 -1
- package/cjs/pn-choice-button.cjs.entry.js +1 -1
- package/cjs/pn-choice-button.cjs.entry.js.map +1 -1
- package/cjs/pn-cta-block.cjs.entry.js +1 -1
- package/cjs/pn-cta-block.cjs.entry.js.map +1 -1
- package/cjs/pn-customernumber-selector-option.cjs.entry.js +1 -1
- package/cjs/pn-customernumber-selector-option.cjs.entry.js.map +1 -1
- package/cjs/pn-customernumber-selector.cjs.entry.js +1 -1
- package/cjs/pn-customernumber-selector.cjs.entry.js.map +1 -1
- package/cjs/pn-date-and-time.cjs.entry.js +13 -15
- package/cjs/pn-date-and-time.cjs.entry.js.map +1 -1
- package/cjs/pn-dropdown-choice-adds-row.cjs.entry.js +33 -36
- package/cjs/pn-dropdown-choice-adds-row.cjs.entry.js.map +1 -1
- package/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js +13 -10
- package/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js.map +1 -1
- package/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js +46 -40
- package/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js.map +1 -1
- package/cjs/pn-filter-checkbox.cjs.entry.js +2 -3
- package/cjs/pn-filter-checkbox.cjs.entry.js.map +1 -1
- package/cjs/pn-find-price.cjs.entry.js +1 -2
- package/cjs/pn-find-price.cjs.entry.js.map +1 -1
- package/cjs/pn-find-service-and-price.cjs.entry.js +2 -3
- package/cjs/pn-find-service-and-price.cjs.entry.js.map +1 -1
- package/cjs/pn-hero-block-international.cjs.entry.js +3 -3
- package/cjs/pn-hero-block-international.cjs.entry.js.map +1 -1
- package/cjs/pn-language-selector_9.cjs.entry.js +83 -79
- package/cjs/pn-language-selector_9.cjs.entry.js.map +1 -1
- package/cjs/pn-line-shape.cjs.entry.js +1 -1
- package/cjs/pn-line-shape.cjs.entry.js.map +1 -1
- package/cjs/pn-link-list.cjs.entry.js +33 -37
- package/cjs/pn-link-list.cjs.entry.js.map +1 -1
- package/cjs/pn-mainnav-link.cjs.entry.js +2 -2
- package/cjs/pn-mainnav-link.cjs.entry.js.map +1 -1
- package/cjs/pn-market-web-components.cjs.js +1 -1
- package/cjs/pn-marketweb-input.cjs.entry.js +1 -2
- package/cjs/pn-marketweb-input.cjs.entry.js.map +1 -1
- package/cjs/pn-marketweb-search.cjs.entry.js +5 -1
- package/cjs/pn-marketweb-search.cjs.entry.js.map +1 -1
- package/cjs/pn-marketweb-sitefooter.cjs.entry.js +18 -24
- package/cjs/pn-marketweb-sitefooter.cjs.entry.js.map +1 -1
- package/cjs/pn-marketweb-siteheader-login-button_5.cjs.entry.js +17 -20
- package/cjs/pn-marketweb-siteheader-login-button_5.cjs.entry.js.map +1 -1
- package/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js +5 -5
- package/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js.map +1 -1
- package/cjs/pn-marketweb-siteheader.cjs.entry.js +22 -27
- package/cjs/pn-marketweb-siteheader.cjs.entry.js.map +1 -1
- package/cjs/pn-media-block.cjs.entry.js +31 -29
- package/cjs/pn-media-block.cjs.entry.js.map +1 -1
- package/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js +37 -45
- package/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js.map +1 -1
- package/cjs/pn-multi-row-connected-dropdown.cjs.entry.js +40 -34
- package/cjs/pn-multi-row-connected-dropdown.cjs.entry.js.map +1 -1
- package/cjs/pn-multiple-input.cjs.entry.js +9 -6
- package/cjs/pn-multiple-input.cjs.entry.js.map +1 -1
- package/cjs/pn-parcel-tracker.cjs.entry.js +1 -1
- package/cjs/pn-parcel-tracker.cjs.entry.js.map +1 -1
- package/cjs/pn-pex-pricefinder.cjs.entry.js +1 -1
- package/cjs/pn-pex-pricefinder.cjs.entry.js.map +1 -1
- package/cjs/pn-play-on-scroll.cjs.entry.js +19 -17
- package/cjs/pn-play-on-scroll.cjs.entry.js.map +1 -1
- package/cjs/pn-product-pricelist.cjs.entry.js +2 -3
- package/cjs/pn-product-pricelist.cjs.entry.js.map +1 -1
- package/cjs/pn-profile-modal-customernumber.cjs.entry.js +2 -1
- package/cjs/pn-profile-modal-customernumber.cjs.entry.js.map +1 -1
- package/cjs/pn-profile-modal-profile.cjs.entry.js +3 -1
- package/cjs/pn-profile-modal-profile.cjs.entry.js.map +1 -1
- package/cjs/pn-profile-modal-type.cjs.entry.js +1 -1
- package/cjs/pn-profile-modal-type.cjs.entry.js.map +1 -1
- package/cjs/pn-profile-modal.cjs.entry.js +1 -1
- package/cjs/pn-profile-modal.cjs.entry.js.map +1 -1
- package/cjs/pn-profile-selector-option.cjs.entry.js +1 -1
- package/cjs/pn-profile-selector-option.cjs.entry.js.map +1 -1
- package/cjs/pn-profile-selector.cjs.entry.js +1 -1
- package/cjs/pn-profile-selector.cjs.entry.js.map +1 -1
- package/cjs/pn-proxio-findprice-result.cjs.entry.js +8 -12
- package/cjs/pn-proxio-findprice-result.cjs.entry.js.map +1 -1
- package/cjs/pn-proxio-findprice.cjs.entry.js +16 -23
- package/cjs/pn-proxio-findprice.cjs.entry.js.map +1 -1
- package/cjs/pn-proxio-pricegroup.cjs.entry.js +9 -13
- package/cjs/pn-proxio-pricegroup.cjs.entry.js.map +1 -1
- package/cjs/pn-quick-cta.cjs.entry.js +1 -1
- package/cjs/pn-quick-cta.cjs.entry.js.map +1 -1
- package/cjs/pn-quote-card.cjs.entry.js +1 -1
- package/cjs/pn-quote-card.cjs.entry.js.map +1 -1
- package/cjs/pn-scroll_2.cjs.entry.js +16 -15
- package/cjs/pn-scroll_2.cjs.entry.js.map +1 -1
- package/cjs/pn-share-item.cjs.entry.js +1 -1
- package/cjs/pn-share-item.cjs.entry.js.map +1 -1
- package/cjs/pn-share.cjs.entry.js +1 -1
- package/cjs/pn-share.cjs.entry.js.map +1 -1
- package/cjs/pn-sidenav-level.cjs.entry.js +3 -4
- package/cjs/pn-sidenav-level.cjs.entry.js.map +1 -1
- package/cjs/pn-sidenav-link.cjs.entry.js +2 -2
- package/cjs/pn-sidenav-link.cjs.entry.js.map +1 -1
- package/cjs/pn-sidenav-togglebutton.cjs.entry.js +1 -1
- package/cjs/pn-sidenav-togglebutton.cjs.entry.js.map +1 -1
- package/cjs/pn-sidenav.cjs.entry.js +1 -1
- package/cjs/pn-sidenav.cjs.entry.js.map +1 -1
- package/cjs/pn-site-footer_3.cjs.entry.js +1 -1
- package/cjs/pn-site-footer_3.cjs.entry.js.map +1 -1
- package/cjs/pn-spotlight.cjs.entry.js +1 -1
- package/cjs/pn-spotlight.cjs.entry.js.map +1 -1
- package/cjs/pn-stats-info-data.cjs.entry.js +5 -5
- package/cjs/pn-stats-info-data.cjs.entry.js.map +1 -1
- package/cjs/pn-teaser-card.cjs.entry.js +2 -3
- package/cjs/pn-teaser-card.cjs.entry.js.map +1 -1
- package/cjs/pn-titletag.cjs.entry.js +1 -1
- package/cjs/pn-titletag.cjs.entry.js.map +1 -1
- package/cjs/pn-usp-promoter.cjs.entry.js +1 -1
- package/cjs/pn-usp-promoter.cjs.entry.js.map +1 -1
- package/collection/components/animation/pn-animated-tile/pn-animated-tile.js +4 -3
- package/collection/components/animation/pn-animated-tile/pn-animated-tile.js.map +1 -1
- package/collection/components/animation/pn-play-on-scroll/pn-play-on-scroll.js +19 -16
- package/collection/components/animation/pn-play-on-scroll/pn-play-on-scroll.js.map +1 -1
- package/collection/components/animation/pn-play-on-scroll/pn-video-overlay/pn-video-overlay.js +11 -9
- package/collection/components/animation/pn-play-on-scroll/pn-video-overlay/pn-video-overlay.js.map +1 -1
- package/collection/components/animation/pn-scroll/pn-scroll.js +5 -4
- package/collection/components/animation/pn-scroll/pn-scroll.js.map +1 -1
- package/collection/components/cards/pn-quote-card/pn-line-shape/pn-line-shape.js +1 -0
- package/collection/components/cards/pn-quote-card/pn-line-shape/pn-line-shape.js.map +1 -1
- package/collection/components/cards/pn-quote-card/pn-quote-card.js +1 -0
- package/collection/components/cards/pn-quote-card/pn-quote-card.js.map +1 -1
- package/collection/components/cards/pn-teaser-card/pn-teaser-card.js +2 -2
- package/collection/components/cards/pn-teaser-card/pn-teaser-card.js.map +1 -1
- package/collection/components/charts/pn-chart/pn-chart-helper.js +32 -7
- package/collection/components/charts/pn-chart/pn-chart-helper.js.map +1 -1
- package/collection/components/charts/pn-chart/pn-chart.js +15 -2
- package/collection/components/charts/pn-chart/pn-chart.js.map +1 -1
- package/collection/components/charts/pn-charts-card/pn-charts-card.js +7 -6
- package/collection/components/charts/pn-charts-card/pn-charts-card.js.map +1 -1
- package/collection/components/cta/pn-cta-block/pn-cta-block.js +1 -0
- package/collection/components/cta/pn-cta-block/pn-cta-block.js.map +1 -1
- package/collection/components/cta/pn-parcel-tracker/pn-parcel-tracker.js +1 -0
- package/collection/components/cta/pn-parcel-tracker/pn-parcel-tracker.js.map +1 -1
- package/collection/components/cta/pn-quick-cta/pn-quick-cta.js +1 -0
- package/collection/components/cta/pn-quick-cta/pn-quick-cta.js.map +1 -1
- package/collection/components/cta/pn-share/pn-share-item.js +1 -0
- package/collection/components/cta/pn-share/pn-share-item.js.map +1 -1
- package/collection/components/cta/pn-share/pn-share.js +1 -0
- package/collection/components/cta/pn-share/pn-share.js.map +1 -1
- package/collection/components/cta/pn-spotlight/pn-spotlight.js +1 -0
- package/collection/components/cta/pn-spotlight/pn-spotlight.js.map +1 -1
- package/collection/components/data-visualization/pn-stats-info/pn-stats-info-data/pn-stats-info-data.js +5 -5
- package/collection/components/data-visualization/pn-stats-info/pn-stats-info-data/pn-stats-info-data.js.map +1 -1
- package/collection/components/input/pn-address-autofill/pn-address-autofill.js +46 -47
- package/collection/components/input/pn-address-autofill/pn-address-autofill.js.map +1 -1
- package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar-level.js +1 -0
- package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar-level.js.map +1 -1
- package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar.js +1 -0
- package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar.js.map +1 -1
- package/collection/components/input/pn-choice-button/pn-choice-button.js +1 -0
- package/collection/components/input/pn-choice-button/pn-choice-button.js.map +1 -1
- package/collection/components/input/pn-date-and-time/pn-date-and-time.js +13 -14
- package/collection/components/input/pn-date-and-time/pn-date-and-time.js.map +1 -1
- package/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.js +51 -35
- package/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.js.map +1 -1
- package/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.stories.js +1 -1
- package/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows-row.js +13 -9
- package/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows-row.js.map +1 -1
- package/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows.js +46 -39
- package/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows.js.map +1 -1
- package/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows.stories.js +1 -1
- package/collection/components/input/pn-filter-checkbox/pn-filter-checkbox.js +2 -2
- package/collection/components/input/pn-filter-checkbox/pn-filter-checkbox.js.map +1 -1
- package/collection/components/input/pn-marketweb-input/pn-marketweb-input.js +1 -2
- package/collection/components/input/pn-marketweb-input/pn-marketweb-input.js.map +1 -1
- package/collection/components/input/pn-marketweb-search/pn-marketweb-search.js +5 -0
- package/collection/components/input/pn-marketweb-search/pn-marketweb-search.js.map +1 -1
- package/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown-row.js +37 -44
- package/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown-row.js.map +1 -1
- package/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown.js +40 -33
- package/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown.js.map +1 -1
- package/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown.stories.js +1 -1
- package/collection/components/input/pn-multiple-input/pn-multiple-input.js +9 -5
- package/collection/components/input/pn-multiple-input/pn-multiple-input.js.map +1 -1
- package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js +17 -22
- package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js.map +1 -1
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-button.js +2 -0
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-button.js.map +1 -1
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-linklist.js +5 -4
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-linklist.js.map +1 -1
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-links.js +6 -7
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-links.js.map +1 -1
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-mypage-button.js +1 -0
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-mypage-button.js.map +1 -1
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.js +7 -8
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.js.map +1 -1
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js +7 -6
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js.map +1 -1
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.js +3 -2
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.js.map +1 -1
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js +1 -0
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js.map +1 -1
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +21 -25
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js.map +1 -1
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js +5 -22
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js.map +1 -1
- package/collection/components/media/pn-media-block/pn-media-block.js +31 -28
- package/collection/components/media/pn-media-block/pn-media-block.js.map +1 -1
- package/collection/components/minor/pn-app-banner/pn-app-banner.js +15 -14
- package/collection/components/minor/pn-app-banner/pn-app-banner.js.map +1 -1
- package/collection/components/minor/pn-swan/pn-swan.js +1 -0
- package/collection/components/minor/pn-swan/pn-swan.js.map +1 -1
- package/collection/components/minor/pn-titletag/pn-titletag.js +1 -0
- package/collection/components/minor/pn-titletag/pn-titletag.js.map +1 -1
- package/collection/components/navigation/pn-language-selector/pn-language-selector-option.js +1 -0
- package/collection/components/navigation/pn-language-selector/pn-language-selector-option.js.map +1 -1
- package/collection/components/navigation/pn-language-selector/pn-language-selector.js +4 -2
- package/collection/components/navigation/pn-language-selector/pn-language-selector.js.map +1 -1
- package/collection/components/navigation/pn-mainnav/pn-mainnav-level.js +2 -1
- package/collection/components/navigation/pn-mainnav/pn-mainnav-level.js.map +1 -1
- package/collection/components/navigation/pn-mainnav/pn-mainnav-link.js +2 -1
- package/collection/components/navigation/pn-mainnav/pn-mainnav-link.js.map +1 -1
- package/collection/components/navigation/pn-mainnav/pn-mainnav-list.js +1 -0
- package/collection/components/navigation/pn-mainnav/pn-mainnav-list.js.map +1 -1
- package/collection/components/navigation/pn-mainnav/pn-mainnav.js +4 -0
- package/collection/components/navigation/pn-mainnav/pn-mainnav.js.map +1 -1
- package/collection/components/navigation/pn-sidenav/pn-sidenav-level.js +3 -3
- package/collection/components/navigation/pn-sidenav/pn-sidenav-level.js.map +1 -1
- package/collection/components/navigation/pn-sidenav/pn-sidenav-link.js +2 -1
- package/collection/components/navigation/pn-sidenav/pn-sidenav-link.js.map +1 -1
- package/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.js +1 -0
- package/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.js.map +1 -1
- package/collection/components/navigation/pn-sidenav/pn-sidenav.js +1 -0
- package/collection/components/navigation/pn-sidenav/pn-sidenav.js.map +1 -1
- package/collection/components/navigation/pn-site-selector/pn-site-selector.js +1 -0
- package/collection/components/navigation/pn-site-selector/pn-site-selector.js.map +1 -1
- package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.js +1 -0
- package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.js.map +1 -1
- package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.js +1 -0
- package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.js.map +1 -1
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.js +2 -0
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.js.map +1 -1
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.js +3 -0
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.js.map +1 -1
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-type.js +1 -0
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-type.js.map +1 -1
- package/collection/components/profile/pn-profile-modal/pn-profile-modal.js +1 -0
- package/collection/components/profile/pn-profile-modal/pn-profile-modal.js.map +1 -1
- package/collection/components/profile/pn-profile-selector/pn-profile-selector-option.js +1 -0
- package/collection/components/profile/pn-profile-selector/pn-profile-selector-option.js.map +1 -1
- package/collection/components/profile/pn-profile-selector/pn-profile-selector.js +1 -0
- package/collection/components/profile/pn-profile-selector/pn-profile-selector.js.map +1 -1
- package/collection/components/utilities/pn-breakpoints/pn-breakpoints.js +1 -0
- package/collection/components/utilities/pn-breakpoints/pn-breakpoints.js.map +1 -1
- package/collection/components/widgets/pn-find-price/pn-find-price.js +1 -2
- package/collection/components/widgets/pn-find-price/pn-find-price.js.map +1 -1
- package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.js +2 -3
- package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.js.map +1 -1
- package/collection/components/widgets/pn-hero-block-international/pn-hero-block-international.js +3 -2
- package/collection/components/widgets/pn-hero-block-international/pn-hero-block-international.js.map +1 -1
- package/collection/components/widgets/pn-link-list/pn-link-list.js +33 -37
- package/collection/components/widgets/pn-link-list/pn-link-list.js.map +1 -1
- package/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.js +1 -0
- package/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.js.map +1 -1
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.js +2 -3
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.js.map +1 -1
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.js +8 -12
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.js.map +1 -1
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.js +15 -22
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.js.map +1 -1
- package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.js +8 -12
- package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.js.map +1 -1
- package/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.js +1 -0
- package/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.js.map +1 -1
- package/collection/globals/FetchHelper.js +35 -35
- package/collection/globals/FetchHelper.js.map +1 -1
- package/collection/globals/MarketWebContextService.js +86 -87
- package/collection/globals/MarketWebContextService.js.map +1 -1
- package/collection/globals/MarketWebLoginManager.js +60 -61
- package/collection/globals/MarketWebLoginManager.js.map +1 -1
- package/components/FetchHelper.js +121 -122
- package/components/FetchHelper.js.map +1 -1
- package/components/pn-address-autofill.js +46 -48
- package/components/pn-address-autofill.js.map +1 -1
- package/components/pn-animated-tile.js +4 -4
- package/components/pn-animated-tile.js.map +1 -1
- package/components/pn-app-banner.js +15 -15
- package/components/pn-app-banner.js.map +1 -1
- package/components/pn-bonus-progressbar-level.js +1 -1
- package/components/pn-bonus-progressbar-level.js.map +1 -1
- package/components/pn-bonus-progressbar.js +1 -1
- package/components/pn-bonus-progressbar.js.map +1 -1
- package/components/pn-breakpoints.js +1 -1
- package/components/pn-breakpoints.js.map +1 -1
- package/components/pn-chart.js +47 -10
- package/components/pn-chart.js.map +1 -1
- package/components/pn-charts-card.js +7 -7
- package/components/pn-charts-card.js.map +1 -1
- package/components/pn-choice-button2.js +1 -1
- package/components/pn-choice-button2.js.map +1 -1
- package/components/pn-cta-block.js +1 -1
- package/components/pn-cta-block.js.map +1 -1
- package/components/pn-customernumber-selector-option.js +1 -1
- package/components/pn-customernumber-selector-option.js.map +1 -1
- package/components/pn-customernumber-selector.js +1 -1
- package/components/pn-customernumber-selector.js.map +1 -1
- package/components/pn-date-and-time.js +13 -15
- package/components/pn-date-and-time.js.map +1 -1
- package/components/pn-dropdown-choice-adds-row.js +34 -36
- package/components/pn-dropdown-choice-adds-row.js.map +1 -1
- package/components/pn-dropdown-with-multi-input-rows-row2.js +13 -10
- package/components/pn-dropdown-with-multi-input-rows-row2.js.map +1 -1
- package/components/pn-dropdown-with-multi-input-rows.js +46 -40
- package/components/pn-dropdown-with-multi-input-rows.js.map +1 -1
- package/components/pn-filter-checkbox2.js +2 -3
- package/components/pn-filter-checkbox2.js.map +1 -1
- package/components/pn-find-price.js +1 -2
- package/components/pn-find-price.js.map +1 -1
- package/components/pn-find-service-and-price.js +2 -3
- package/components/pn-find-service-and-price.js.map +1 -1
- package/components/pn-hero-block-international.js +3 -3
- package/components/pn-hero-block-international.js.map +1 -1
- package/components/pn-language-selector-option2.js +1 -0
- package/components/pn-language-selector-option2.js.map +1 -1
- package/components/pn-language-selector2.js +4 -3
- package/components/pn-language-selector2.js.map +1 -1
- package/components/pn-line-shape.js +1 -1
- package/components/pn-line-shape.js.map +1 -1
- package/components/pn-link-list.js +33 -37
- package/components/pn-link-list.js.map +1 -1
- package/components/pn-mainnav-level2.js +2 -2
- package/components/pn-mainnav-level2.js.map +1 -1
- package/components/pn-mainnav-link2.js +2 -2
- package/components/pn-mainnav-link2.js.map +1 -1
- package/components/pn-mainnav-list2.js +1 -1
- package/components/pn-mainnav-list2.js.map +1 -1
- package/components/pn-mainnav2.js +4 -1
- package/components/pn-mainnav2.js.map +1 -1
- package/components/pn-marketweb-input2.js +1 -2
- package/components/pn-marketweb-input2.js.map +1 -1
- package/components/pn-marketweb-search.js +5 -1
- package/components/pn-marketweb-search.js.map +1 -1
- package/components/pn-marketweb-sitefooter.js +17 -23
- package/components/pn-marketweb-sitefooter.js.map +1 -1
- package/components/pn-marketweb-siteheader-login-button2.js +2 -1
- package/components/pn-marketweb-siteheader-login-button2.js.map +1 -1
- package/components/pn-marketweb-siteheader-login-linklist2.js +5 -5
- package/components/pn-marketweb-siteheader-login-linklist2.js.map +1 -1
- package/components/pn-marketweb-siteheader-login-links2.js +6 -8
- package/components/pn-marketweb-siteheader-login-links2.js.map +1 -1
- package/components/pn-marketweb-siteheader-login-mypage-button2.js +1 -1
- package/components/pn-marketweb-siteheader-login-mypage-button2.js.map +1 -1
- package/components/pn-marketweb-siteheader-login-profileselection2.js +7 -9
- package/components/pn-marketweb-siteheader-login-profileselection2.js.map +1 -1
- package/components/pn-marketweb-siteheader-login2.js +67 -68
- package/components/pn-marketweb-siteheader-login2.js.map +1 -1
- package/components/pn-marketweb-siteheader-search2.js +3 -3
- package/components/pn-marketweb-siteheader-search2.js.map +1 -1
- package/components/pn-marketweb-siteheader-unified-login2.js +1 -1
- package/components/pn-marketweb-siteheader-unified-login2.js.map +1 -1
- package/components/pn-marketweb-siteheader.js +21 -26
- package/components/pn-marketweb-siteheader.js.map +1 -1
- package/components/pn-media-block.js +31 -29
- package/components/pn-media-block.js.map +1 -1
- package/components/pn-multi-row-connected-dropdown-row2.js +37 -45
- package/components/pn-multi-row-connected-dropdown-row2.js.map +1 -1
- package/components/pn-multi-row-connected-dropdown.js +40 -34
- package/components/pn-multi-row-connected-dropdown.js.map +1 -1
- package/components/pn-multiple-input.js +9 -6
- package/components/pn-multiple-input.js.map +1 -1
- package/components/pn-parcel-tracker.js +1 -1
- package/components/pn-parcel-tracker.js.map +1 -1
- package/components/pn-pex-pricefinder.js +1 -1
- package/components/pn-pex-pricefinder.js.map +1 -1
- package/components/pn-play-on-scroll2.js +19 -17
- package/components/pn-play-on-scroll2.js.map +1 -1
- package/components/pn-product-pricelist.js +2 -3
- package/components/pn-product-pricelist.js.map +1 -1
- package/components/pn-profile-modal-customernumber.js +2 -1
- package/components/pn-profile-modal-customernumber.js.map +1 -1
- package/components/pn-profile-modal-profile.js +3 -1
- package/components/pn-profile-modal-profile.js.map +1 -1
- package/components/pn-profile-modal-type.js +1 -1
- package/components/pn-profile-modal-type.js.map +1 -1
- package/components/pn-profile-modal.js +1 -1
- package/components/pn-profile-modal.js.map +1 -1
- package/components/pn-profile-selector-option.js +1 -1
- package/components/pn-profile-selector-option.js.map +1 -1
- package/components/pn-profile-selector.js +1 -1
- package/components/pn-profile-selector.js.map +1 -1
- package/components/pn-proxio-findprice-result2.js +8 -12
- package/components/pn-proxio-findprice-result2.js.map +1 -1
- package/components/pn-proxio-findprice.js +15 -22
- package/components/pn-proxio-findprice.js.map +1 -1
- package/components/pn-proxio-pricegroup.js +8 -12
- package/components/pn-proxio-pricegroup.js.map +1 -1
- package/components/pn-quick-cta.js +1 -1
- package/components/pn-quick-cta.js.map +1 -1
- package/components/pn-quote-card.js +1 -1
- package/components/pn-quote-card.js.map +1 -1
- package/components/pn-scroll2.js +5 -5
- package/components/pn-scroll2.js.map +1 -1
- package/components/pn-share-item2.js +1 -1
- package/components/pn-share-item2.js.map +1 -1
- package/components/pn-share.js +1 -1
- package/components/pn-share.js.map +1 -1
- package/components/pn-sidenav-level.js +3 -4
- package/components/pn-sidenav-level.js.map +1 -1
- package/components/pn-sidenav-link.js +2 -2
- package/components/pn-sidenav-link.js.map +1 -1
- package/components/pn-sidenav-togglebutton.js +1 -1
- package/components/pn-sidenav-togglebutton.js.map +1 -1
- package/components/pn-sidenav.js +1 -1
- package/components/pn-sidenav.js.map +1 -1
- package/components/pn-site-selector2.js +1 -1
- package/components/pn-site-selector2.js.map +1 -1
- package/components/pn-spotlight.js +1 -1
- package/components/pn-spotlight.js.map +1 -1
- package/components/pn-stats-info-data2.js +5 -5
- package/components/pn-stats-info-data2.js.map +1 -1
- package/components/pn-swan2.js +1 -1
- package/components/pn-swan2.js.map +1 -1
- package/components/pn-teaser-card.js +2 -3
- package/components/pn-teaser-card.js.map +1 -1
- package/components/pn-titletag2.js +1 -1
- package/components/pn-titletag2.js.map +1 -1
- package/components/pn-usp-promoter.js +1 -1
- package/components/pn-usp-promoter.js.map +1 -1
- package/components/pn-video-overlay2.js +11 -10
- package/components/pn-video-overlay2.js.map +1 -1
- package/esm/{FetchHelper-03b37a44.js → FetchHelper-da579b12.js} +122 -123
- package/esm/FetchHelper-da579b12.js.map +1 -0
- package/esm/loader.js +1 -1
- package/esm/pn-address-autofill.entry.js +48 -50
- package/esm/pn-address-autofill.entry.js.map +1 -1
- package/esm/pn-animated-tile.entry.js +5 -5
- package/esm/pn-animated-tile.entry.js.map +1 -1
- package/esm/pn-app-banner.entry.js +16 -16
- package/esm/pn-app-banner.entry.js.map +1 -1
- package/esm/pn-bonus-progressbar-level.entry.js +2 -2
- package/esm/pn-bonus-progressbar-level.entry.js.map +1 -1
- package/esm/pn-bonus-progressbar.entry.js +2 -2
- package/esm/pn-bonus-progressbar.entry.js.map +1 -1
- package/esm/pn-breakpoints.entry.js +2 -2
- package/esm/pn-breakpoints.entry.js.map +1 -1
- package/esm/pn-chart.entry.js +48 -11
- package/esm/pn-chart.entry.js.map +1 -1
- package/esm/pn-charts-card.entry.js +8 -8
- package/esm/pn-charts-card.entry.js.map +1 -1
- package/esm/pn-choice-button.entry.js +2 -2
- package/esm/pn-choice-button.entry.js.map +1 -1
- package/esm/pn-cta-block.entry.js +2 -2
- package/esm/pn-cta-block.entry.js.map +1 -1
- package/esm/pn-customernumber-selector-option.entry.js +2 -2
- package/esm/pn-customernumber-selector-option.entry.js.map +1 -1
- package/esm/pn-customernumber-selector.entry.js +2 -2
- package/esm/pn-customernumber-selector.entry.js.map +1 -1
- package/esm/pn-date-and-time.entry.js +14 -16
- package/esm/pn-date-and-time.entry.js.map +1 -1
- package/esm/pn-dropdown-choice-adds-row.entry.js +34 -37
- package/esm/pn-dropdown-choice-adds-row.entry.js.map +1 -1
- package/esm/pn-dropdown-with-multi-input-rows-row.entry.js +14 -11
- package/esm/pn-dropdown-with-multi-input-rows-row.entry.js.map +1 -1
- package/esm/pn-dropdown-with-multi-input-rows.entry.js +47 -41
- package/esm/pn-dropdown-with-multi-input-rows.entry.js.map +1 -1
- package/esm/pn-filter-checkbox.entry.js +3 -4
- package/esm/pn-filter-checkbox.entry.js.map +1 -1
- package/esm/pn-find-price.entry.js +1 -2
- package/esm/pn-find-price.entry.js.map +1 -1
- package/esm/pn-find-service-and-price.entry.js +2 -3
- package/esm/pn-find-service-and-price.entry.js.map +1 -1
- package/esm/pn-hero-block-international.entry.js +4 -4
- package/esm/pn-hero-block-international.entry.js.map +1 -1
- package/esm/pn-language-selector_9.entry.js +84 -80
- package/esm/pn-language-selector_9.entry.js.map +1 -1
- package/esm/pn-line-shape.entry.js +2 -2
- package/esm/pn-line-shape.entry.js.map +1 -1
- package/esm/pn-link-list.entry.js +33 -37
- package/esm/pn-link-list.entry.js.map +1 -1
- package/esm/pn-mainnav-link.entry.js +3 -3
- package/esm/pn-mainnav-link.entry.js.map +1 -1
- package/esm/pn-market-web-components.js +1 -1
- package/esm/pn-marketweb-input.entry.js +1 -2
- package/esm/pn-marketweb-input.entry.js.map +1 -1
- package/esm/pn-marketweb-search.entry.js +6 -2
- package/esm/pn-marketweb-search.entry.js.map +1 -1
- package/esm/pn-marketweb-sitefooter.entry.js +19 -25
- package/esm/pn-marketweb-sitefooter.entry.js.map +1 -1
- package/esm/pn-marketweb-siteheader-login-button_5.entry.js +18 -21
- package/esm/pn-marketweb-siteheader-login-button_5.entry.js.map +1 -1
- package/esm/pn-marketweb-siteheader-login-linklist.entry.js +6 -6
- package/esm/pn-marketweb-siteheader-login-linklist.entry.js.map +1 -1
- package/esm/pn-marketweb-siteheader.entry.js +23 -28
- package/esm/pn-marketweb-siteheader.entry.js.map +1 -1
- package/esm/pn-media-block.entry.js +32 -30
- package/esm/pn-media-block.entry.js.map +1 -1
- package/esm/pn-multi-row-connected-dropdown-row.entry.js +38 -46
- package/esm/pn-multi-row-connected-dropdown-row.entry.js.map +1 -1
- package/esm/pn-multi-row-connected-dropdown.entry.js +41 -35
- package/esm/pn-multi-row-connected-dropdown.entry.js.map +1 -1
- package/esm/pn-multiple-input.entry.js +10 -7
- package/esm/pn-multiple-input.entry.js.map +1 -1
- package/esm/pn-parcel-tracker.entry.js +2 -2
- package/esm/pn-parcel-tracker.entry.js.map +1 -1
- package/esm/pn-pex-pricefinder.entry.js +2 -2
- package/esm/pn-pex-pricefinder.entry.js.map +1 -1
- package/esm/pn-play-on-scroll.entry.js +20 -18
- package/esm/pn-play-on-scroll.entry.js.map +1 -1
- package/esm/pn-product-pricelist.entry.js +2 -3
- package/esm/pn-product-pricelist.entry.js.map +1 -1
- package/esm/pn-profile-modal-customernumber.entry.js +3 -2
- package/esm/pn-profile-modal-customernumber.entry.js.map +1 -1
- package/esm/pn-profile-modal-profile.entry.js +4 -2
- package/esm/pn-profile-modal-profile.entry.js.map +1 -1
- package/esm/pn-profile-modal-type.entry.js +2 -2
- package/esm/pn-profile-modal-type.entry.js.map +1 -1
- package/esm/pn-profile-modal.entry.js +2 -2
- package/esm/pn-profile-modal.entry.js.map +1 -1
- package/esm/pn-profile-selector-option.entry.js +2 -2
- package/esm/pn-profile-selector-option.entry.js.map +1 -1
- package/esm/pn-profile-selector.entry.js +2 -2
- package/esm/pn-profile-selector.entry.js.map +1 -1
- package/esm/pn-proxio-findprice-result.entry.js +8 -12
- package/esm/pn-proxio-findprice-result.entry.js.map +1 -1
- package/esm/pn-proxio-findprice.entry.js +16 -23
- package/esm/pn-proxio-findprice.entry.js.map +1 -1
- package/esm/pn-proxio-pricegroup.entry.js +9 -13
- package/esm/pn-proxio-pricegroup.entry.js.map +1 -1
- package/esm/pn-quick-cta.entry.js +2 -2
- package/esm/pn-quick-cta.entry.js.map +1 -1
- package/esm/pn-quote-card.entry.js +2 -2
- package/esm/pn-quote-card.entry.js.map +1 -1
- package/esm/pn-scroll_2.entry.js +17 -16
- package/esm/pn-scroll_2.entry.js.map +1 -1
- package/esm/pn-share-item.entry.js +2 -2
- package/esm/pn-share-item.entry.js.map +1 -1
- package/esm/pn-share.entry.js +2 -2
- package/esm/pn-share.entry.js.map +1 -1
- package/esm/pn-sidenav-level.entry.js +4 -5
- package/esm/pn-sidenav-level.entry.js.map +1 -1
- package/esm/pn-sidenav-link.entry.js +3 -3
- package/esm/pn-sidenav-link.entry.js.map +1 -1
- package/esm/pn-sidenav-togglebutton.entry.js +2 -2
- package/esm/pn-sidenav-togglebutton.entry.js.map +1 -1
- package/esm/pn-sidenav.entry.js +2 -2
- package/esm/pn-sidenav.entry.js.map +1 -1
- package/esm/pn-site-footer_3.entry.js +1 -1
- package/esm/pn-site-footer_3.entry.js.map +1 -1
- package/esm/pn-spotlight.entry.js +2 -2
- package/esm/pn-spotlight.entry.js.map +1 -1
- package/esm/pn-stats-info-data.entry.js +5 -5
- package/esm/pn-stats-info-data.entry.js.map +1 -1
- package/esm/pn-teaser-card.entry.js +3 -4
- package/esm/pn-teaser-card.entry.js.map +1 -1
- package/esm/pn-titletag.entry.js +2 -2
- package/esm/pn-titletag.entry.js.map +1 -1
- package/esm/pn-usp-promoter.entry.js +2 -2
- package/esm/pn-usp-promoter.entry.js.map +1 -1
- package/package.json +1 -2
- package/pn-market-web-components/{p-8ca34ec3.entry.js → p-0247c553.entry.js} +2 -2
- package/pn-market-web-components/p-0247c553.entry.js.map +1 -0
- package/pn-market-web-components/{p-3f50be05.entry.js → p-09b9cc06.entry.js} +2 -2
- package/pn-market-web-components/{p-3f50be05.entry.js.map → p-09b9cc06.entry.js.map} +1 -1
- package/pn-market-web-components/{p-03dfc155.entry.js → p-0a522476.entry.js} +2 -2
- package/pn-market-web-components/{p-03dfc155.entry.js.map → p-0a522476.entry.js.map} +1 -1
- package/pn-market-web-components/{p-2b2b615e.entry.js → p-1317587f.entry.js} +4 -4
- package/pn-market-web-components/{p-2b2b615e.entry.js.map → p-1317587f.entry.js.map} +1 -1
- package/pn-market-web-components/p-1535a09f.entry.js +2 -0
- package/pn-market-web-components/p-1535a09f.entry.js.map +1 -0
- package/pn-market-web-components/{p-470ca6e7.entry.js → p-1578e02e.entry.js} +2 -2
- package/pn-market-web-components/{p-470ca6e7.entry.js.map → p-1578e02e.entry.js.map} +1 -1
- package/pn-market-web-components/p-16f70311.entry.js +2 -0
- package/pn-market-web-components/{p-b7a5fb1b.entry.js.map → p-16f70311.entry.js.map} +1 -1
- package/pn-market-web-components/{p-c8bbdd96.entry.js → p-190c671b.entry.js} +2 -2
- package/pn-market-web-components/{p-c8bbdd96.entry.js.map → p-190c671b.entry.js.map} +1 -1
- package/pn-market-web-components/{p-3e4208bb.entry.js → p-1bd5fa26.entry.js} +2 -2
- package/pn-market-web-components/{p-3e4208bb.entry.js.map → p-1bd5fa26.entry.js.map} +1 -1
- package/pn-market-web-components/{p-e74e962e.entry.js → p-2044eddc.entry.js} +2 -2
- package/pn-market-web-components/{p-e74e962e.entry.js.map → p-2044eddc.entry.js.map} +1 -1
- package/pn-market-web-components/p-370829c6.entry.js +2 -0
- package/pn-market-web-components/p-370829c6.entry.js.map +1 -0
- package/pn-market-web-components/p-391970af.entry.js +2 -0
- package/pn-market-web-components/p-391970af.entry.js.map +1 -0
- package/pn-market-web-components/{p-49fd7182.entry.js → p-40538914.entry.js} +2 -2
- package/pn-market-web-components/{p-49fd7182.entry.js.map → p-40538914.entry.js.map} +1 -1
- package/pn-market-web-components/{p-fa9ea740.entry.js → p-4372d10e.entry.js} +2 -2
- package/pn-market-web-components/p-4372d10e.entry.js.map +1 -0
- package/pn-market-web-components/p-4ea1409d.entry.js +2 -0
- package/pn-market-web-components/p-4ea1409d.entry.js.map +1 -0
- package/pn-market-web-components/{p-66981606.entry.js → p-56bd346e.entry.js} +2 -2
- package/pn-market-web-components/{p-66981606.entry.js.map → p-56bd346e.entry.js.map} +1 -1
- package/pn-market-web-components/p-586a1e3c.entry.js +2 -0
- package/pn-market-web-components/{p-f8eb860b.entry.js.map → p-586a1e3c.entry.js.map} +1 -1
- package/pn-market-web-components/{p-baa28521.entry.js → p-5a467ca6.entry.js} +2 -2
- package/pn-market-web-components/{p-baa28521.entry.js.map → p-5a467ca6.entry.js.map} +1 -1
- package/pn-market-web-components/p-5ac23b38.entry.js +2 -0
- package/pn-market-web-components/p-5ac23b38.entry.js.map +1 -0
- package/pn-market-web-components/{p-7fdc49d1.entry.js → p-63505736.entry.js} +2 -2
- package/pn-market-web-components/p-63505736.entry.js.map +1 -0
- package/pn-market-web-components/{p-3696ebf8.entry.js → p-67d862ac.entry.js} +2 -2
- package/pn-market-web-components/{p-3696ebf8.entry.js.map → p-67d862ac.entry.js.map} +1 -1
- package/pn-market-web-components/{p-3d3f0648.entry.js → p-68aa55f7.entry.js} +2 -2
- package/pn-market-web-components/{p-3d3f0648.entry.js.map → p-68aa55f7.entry.js.map} +1 -1
- package/pn-market-web-components/{p-d2109ea6.entry.js → p-6e9875e5.entry.js} +2 -2
- package/pn-market-web-components/p-6e9875e5.entry.js.map +1 -0
- package/pn-market-web-components/p-7021985c.entry.js +2 -0
- package/pn-market-web-components/{p-c64cb117.entry.js.map → p-7021985c.entry.js.map} +1 -1
- package/pn-market-web-components/{p-716165d2.entry.js → p-721598b8.entry.js} +2 -2
- package/pn-market-web-components/p-721598b8.entry.js.map +1 -0
- package/pn-market-web-components/p-73cef33c.js +2 -0
- package/pn-market-web-components/p-73cef33c.js.map +1 -0
- package/pn-market-web-components/p-74203d3e.entry.js +2 -0
- package/pn-market-web-components/{p-545ea4ef.entry.js.map → p-74203d3e.entry.js.map} +1 -1
- package/pn-market-web-components/p-781ef432.entry.js +2 -0
- package/pn-market-web-components/p-781ef432.entry.js.map +1 -0
- package/pn-market-web-components/{p-3a08299c.entry.js → p-78fbc88c.entry.js} +2 -2
- package/pn-market-web-components/{p-3a08299c.entry.js.map → p-78fbc88c.entry.js.map} +1 -1
- package/pn-market-web-components/{p-22a65c3e.entry.js → p-796ebfee.entry.js} +2 -2
- package/pn-market-web-components/p-796ebfee.entry.js.map +1 -0
- package/pn-market-web-components/p-7b05d7c7.entry.js +2 -0
- package/pn-market-web-components/p-7b05d7c7.entry.js.map +1 -0
- package/pn-market-web-components/{p-6b2009dc.entry.js → p-81b3e038.entry.js} +2 -2
- package/pn-market-web-components/{p-6b2009dc.entry.js.map → p-81b3e038.entry.js.map} +1 -1
- package/pn-market-web-components/p-828449da.entry.js +2 -0
- package/pn-market-web-components/{p-db2f3f6d.entry.js.map → p-828449da.entry.js.map} +1 -1
- package/pn-market-web-components/p-85d57c9d.entry.js +2 -0
- package/pn-market-web-components/p-85d57c9d.entry.js.map +1 -0
- package/pn-market-web-components/p-90ba1d8e.entry.js +2 -0
- package/pn-market-web-components/{p-655e6f71.entry.js.map → p-90ba1d8e.entry.js.map} +1 -1
- package/pn-market-web-components/{p-eee5ec0a.entry.js → p-931d3a9b.entry.js} +2 -2
- package/pn-market-web-components/{p-eee5ec0a.entry.js.map → p-931d3a9b.entry.js.map} +1 -1
- package/pn-market-web-components/{p-9a93bcd0.entry.js → p-95c10b7e.entry.js} +2 -2
- package/pn-market-web-components/{p-9a93bcd0.entry.js.map → p-95c10b7e.entry.js.map} +1 -1
- package/pn-market-web-components/{p-138ecede.entry.js → p-95e054fd.entry.js} +2 -2
- package/pn-market-web-components/{p-138ecede.entry.js.map → p-95e054fd.entry.js.map} +1 -1
- package/pn-market-web-components/p-9776a1c5.entry.js +2 -0
- package/pn-market-web-components/p-9776a1c5.entry.js.map +1 -0
- package/pn-market-web-components/{p-db2e2762.entry.js → p-9998c29d.entry.js} +2 -2
- package/pn-market-web-components/p-9998c29d.entry.js.map +1 -0
- package/pn-market-web-components/p-9a7abcee.entry.js +2 -0
- package/pn-market-web-components/p-9a7abcee.entry.js.map +1 -0
- package/pn-market-web-components/{p-0dca82de.entry.js → p-9be27d72.entry.js} +2 -2
- package/pn-market-web-components/{p-0dca82de.entry.js.map → p-9be27d72.entry.js.map} +1 -1
- package/pn-market-web-components/{p-48f6e683.entry.js → p-a8220c88.entry.js} +2 -2
- package/pn-market-web-components/{p-48f6e683.entry.js.map → p-a8220c88.entry.js.map} +1 -1
- package/pn-market-web-components/p-a9d2f528.entry.js +2 -0
- package/pn-market-web-components/p-a9d2f528.entry.js.map +1 -0
- package/pn-market-web-components/p-acbe60df.entry.js +2 -0
- package/pn-market-web-components/p-acbe60df.entry.js.map +1 -0
- package/pn-market-web-components/{p-5666f0e7.entry.js → p-ade7ffcf.entry.js} +2 -2
- package/pn-market-web-components/p-ade7ffcf.entry.js.map +1 -0
- package/pn-market-web-components/p-b2dcce7c.entry.js +2 -0
- package/pn-market-web-components/p-b2dcce7c.entry.js.map +1 -0
- package/pn-market-web-components/{p-10a3c6f4.entry.js → p-b765e4a9.entry.js} +2 -2
- package/pn-market-web-components/p-b765e4a9.entry.js.map +1 -0
- package/pn-market-web-components/{p-914e1d15.entry.js → p-c224d7c4.entry.js} +2 -2
- package/pn-market-web-components/p-c224d7c4.entry.js.map +1 -0
- package/pn-market-web-components/{p-787e20a1.entry.js → p-c5856c0b.entry.js} +2 -2
- package/pn-market-web-components/{p-787e20a1.entry.js.map → p-c5856c0b.entry.js.map} +1 -1
- package/pn-market-web-components/p-c696bedf.entry.js +2 -0
- package/pn-market-web-components/{p-012ee486.entry.js.map → p-c696bedf.entry.js.map} +1 -1
- package/pn-market-web-components/p-c9f21ea3.entry.js +2 -0
- package/pn-market-web-components/{p-03cb46c2.entry.js.map → p-c9f21ea3.entry.js.map} +1 -1
- package/pn-market-web-components/{p-87aa1f73.entry.js → p-d07cf4c8.entry.js} +2 -2
- package/pn-market-web-components/{p-87aa1f73.entry.js.map → p-d07cf4c8.entry.js.map} +1 -1
- package/pn-market-web-components/p-d40ff187.entry.js +2 -0
- package/pn-market-web-components/p-d40ff187.entry.js.map +1 -0
- package/pn-market-web-components/{p-f21fdae0.entry.js → p-e42f0fbe.entry.js} +2 -2
- package/pn-market-web-components/{p-f21fdae0.entry.js.map → p-e42f0fbe.entry.js.map} +1 -1
- package/pn-market-web-components/{p-4f2a7d41.entry.js → p-e4c7aaec.entry.js} +2 -2
- package/pn-market-web-components/{p-4f2a7d41.entry.js.map → p-e4c7aaec.entry.js.map} +1 -1
- package/pn-market-web-components/{p-107568aa.entry.js → p-e5345c69.entry.js} +2 -2
- package/pn-market-web-components/p-e5345c69.entry.js.map +1 -0
- package/pn-market-web-components/p-e9501c6f.entry.js +2 -0
- package/pn-market-web-components/p-e9501c6f.entry.js.map +1 -0
- package/pn-market-web-components/{p-fa3ccbfb.entry.js → p-ebaeee5e.entry.js} +2 -2
- package/pn-market-web-components/{p-fa3ccbfb.entry.js.map → p-ebaeee5e.entry.js.map} +1 -1
- package/pn-market-web-components/{p-9de267ec.entry.js → p-f2d0d0cc.entry.js} +2 -2
- package/pn-market-web-components/{p-9de267ec.entry.js.map → p-f2d0d0cc.entry.js.map} +1 -1
- package/pn-market-web-components/{p-da953848.entry.js → p-f62879f6.entry.js} +2 -2
- package/pn-market-web-components/p-f62879f6.entry.js.map +1 -0
- package/pn-market-web-components/{p-ec3fcbf9.entry.js → p-fbc07c7a.entry.js} +2 -2
- package/pn-market-web-components/{p-ec3fcbf9.entry.js.map → p-fbc07c7a.entry.js.map} +1 -1
- package/pn-market-web-components/p-fbe70284.entry.js +2 -0
- package/pn-market-web-components/{p-663e4bb8.entry.js.map → p-fbe70284.entry.js.map} +1 -1
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/pn-market-web-components/pn-market-web-components.esm.js.map +1 -1
- package/types/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.d.ts +1 -0
- package/types/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.d.ts +1 -1
- package/types/components.d.ts +2 -0
- package/umd/standalone-loader-salesforce.js +3 -3
- package/umd/standalone-loader.js +2 -2
- package/cjs/FetchHelper-8d537d38.js.map +0 -1
- package/esm/FetchHelper-03b37a44.js.map +0 -1
- package/pn-market-web-components/p-012ee486.entry.js +0 -2
- package/pn-market-web-components/p-03cb46c2.entry.js +0 -2
- package/pn-market-web-components/p-07253be3.entry.js +0 -2
- package/pn-market-web-components/p-07253be3.entry.js.map +0 -1
- package/pn-market-web-components/p-08a64973.entry.js +0 -2
- package/pn-market-web-components/p-08a64973.entry.js.map +0 -1
- package/pn-market-web-components/p-107568aa.entry.js.map +0 -1
- package/pn-market-web-components/p-10a3c6f4.entry.js.map +0 -1
- package/pn-market-web-components/p-161970d1.entry.js +0 -2
- package/pn-market-web-components/p-161970d1.entry.js.map +0 -1
- package/pn-market-web-components/p-22a65c3e.entry.js.map +0 -1
- package/pn-market-web-components/p-23916c49.entry.js +0 -2
- package/pn-market-web-components/p-23916c49.entry.js.map +0 -1
- package/pn-market-web-components/p-2ac83614.entry.js +0 -2
- package/pn-market-web-components/p-2ac83614.entry.js.map +0 -1
- package/pn-market-web-components/p-2fd40198.entry.js +0 -2
- package/pn-market-web-components/p-2fd40198.entry.js.map +0 -1
- package/pn-market-web-components/p-545ea4ef.entry.js +0 -2
- package/pn-market-web-components/p-5666f0e7.entry.js.map +0 -1
- package/pn-market-web-components/p-655e6f71.entry.js +0 -2
- package/pn-market-web-components/p-657957fc.entry.js +0 -2
- package/pn-market-web-components/p-657957fc.entry.js.map +0 -1
- package/pn-market-web-components/p-663e4bb8.entry.js +0 -2
- package/pn-market-web-components/p-67089fc8.entry.js +0 -2
- package/pn-market-web-components/p-67089fc8.entry.js.map +0 -1
- package/pn-market-web-components/p-716165d2.entry.js.map +0 -1
- package/pn-market-web-components/p-7fdc49d1.entry.js.map +0 -1
- package/pn-market-web-components/p-8ca34ec3.entry.js.map +0 -1
- package/pn-market-web-components/p-914e1d15.entry.js.map +0 -1
- package/pn-market-web-components/p-b7a5fb1b.entry.js +0 -2
- package/pn-market-web-components/p-be6e903e.entry.js +0 -2
- package/pn-market-web-components/p-be6e903e.entry.js.map +0 -1
- package/pn-market-web-components/p-bece6791.entry.js +0 -2
- package/pn-market-web-components/p-bece6791.entry.js.map +0 -1
- package/pn-market-web-components/p-c64cb117.entry.js +0 -2
- package/pn-market-web-components/p-c95def57.js +0 -2
- package/pn-market-web-components/p-c95def57.js.map +0 -1
- package/pn-market-web-components/p-d2109ea6.entry.js.map +0 -1
- package/pn-market-web-components/p-da0c533f.entry.js +0 -2
- package/pn-market-web-components/p-da0c533f.entry.js.map +0 -1
- package/pn-market-web-components/p-da953848.entry.js.map +0 -1
- package/pn-market-web-components/p-db2e2762.entry.js.map +0 -1
- package/pn-market-web-components/p-db2f3f6d.entry.js +0 -2
- package/pn-market-web-components/p-e0f4dc3d.entry.js +0 -2
- package/pn-market-web-components/p-e0f4dc3d.entry.js.map +0 -1
- package/pn-market-web-components/p-e8189227.entry.js +0 -2
- package/pn-market-web-components/p-e8189227.entry.js.map +0 -1
- package/pn-market-web-components/p-e9088d97.entry.js +0 -2
- package/pn-market-web-components/p-e9088d97.entry.js.map +0 -1
- package/pn-market-web-components/p-f8eb860b.entry.js +0 -2
- package/pn-market-web-components/p-fa9ea740.entry.js.map +0 -1
- package/pn-market-web-components/p-fd639f58.entry.js +0 -2
- package/pn-market-web-components/p-fd639f58.entry.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["translations","sv","componentheading","deliveryscopeheading","resultlistheading","sizeheading","weightheading","weightlabel","maxweightlabel","maxmeasurementlabel","senddirectcta","stampshopcta","message","servicePointHeader","servicePointLink","realPostcard","realPostcardMobile","ombudHeader","en","da","no","fi","markets","se","currency","country","servicePoint","dk","smallPackageSvg","mediumPackageSvg","largePackageSvg","postnordPerson1Svg","cloudsSvg","pnFindPriceCss","PnFindPriceStyle0","PnfindPrice","fileLocation","value","name","types","data","icon","unit","componentWillLoad","this","setState","getDataSource","cacheBusting","Math","floor","random","req","fetch","source","reqbody","blob","convertedData","convertFileForSizeCategogy","sourceData","sizecategory","sizeCategories","filter","x","filterItems","e","console","log","market","state","language","i18n","_a","deliveryScopeData","deliveryscope","toLocaleLowerCase","sizeItemData","weight","comparisonWeight","weightFilteredData","maxweight","weightvalue","clubbedProducts","toString","includes","Number","replace","concat","length","sort","a","b","uniqueWeightOptions","Map","reverse","map","item","values","ra","rank","rb","ua","highestrankusp","ub","compareUsp","localeCompare","compareRank","filteredItems","render","h","key","class","id","src","clouds","person","small","medium","large","sizeCategory","radioid","checked","onChange","weights","wght","choiceid","type","findIndex"],"sources":["src/components/widgets/pn-find-price/pn-find-price-translations.ts","src/components/widgets/pn-find-price/img/small-package.svg","src/components/widgets/pn-find-price/img/medium-package.svg","src/components/widgets/pn-find-price/img/large-package.svg","src/components/widgets/pn-find-price/img/postnord-person1.svg","src/components/widgets/pn-find-price/img/clouds.svg","src/components/widgets/pn-find-price/pn-find-price.scss?tag=pn-find-price","src/components/widgets/pn-find-price/pn-find-price.tsx"],"sourcesContent":["export const translations = {\n sv: {\n componentheading: 'Våra priser och villkor för inrikesförsändelser för dig som direktbetalande kund?',\n deliveryscopeheading: 'Endast leveranser inom Sverige',\n resultlistheading: 'Några bra alternativ för dig',\n sizeheading: 'Uppskatta storleken på din försändelse',\n weightheading: 'Uppskatta vikten på din försändelse',\n weightlabel: 'Vikt',\n maxweightlabel: 'Maxvikt',\n maxmeasurementlabel: 'Maxvolym',\n senddirectcta: 'Köp online',\n stampshopcta: 'Till butiken',\n message: '*Vid köp hos valfritt ombud',\n servicePointHeader: 'Eller hitta närmaste serviceställe',\n servicePointLink: 'Hitta Serviceställe',\n realPostcard: 'Köp Riktiga Vykort',\n realPostcardMobile: 'Ladda ner appen',\n ombudHeader: 'Köp via ombud',\n },\n en: {\n componentheading: 'Our prices and terms and conditions for domestic shipments for you as a direct paying customer',\n deliveryscopeheading: 'Deliveries within Sweden only',\n resultlistheading: 'Some suitable options for you',\n sizeheading: 'Estimate the size of your shipment',\n weightheading: 'Estimate the weight of your shipment',\n weightlabel: 'Weight',\n maxweightlabel: 'Max weight',\n maxmeasurementlabel: 'Maximum measurement',\n senddirectcta: 'Buy Online',\n stampshopcta: 'To the Store',\n message: 'When buying from any agent',\n servicePointHeader: 'Find service point',\n servicePointLink: 'Find service point',\n realPostcard: 'Buy Postcards',\n realPostcardMobile: 'Download the app',\n ombudHeader: 'Purchase by agent',\n },\n da: {\n componentheading: 'Vad vill du skicka?',\n deliveryscopeheading: 'Kun leveringer indenfor Sverige',\n resultlistheading: 'Nogle passende muligheder for dig',\n sizeheading: 'Anslå størrelsen på din forsendelse',\n weightheading: 'Anslå vægten af din forsendelse',\n weightlabel: 'Vægt',\n maxweightlabel: 'Max vægt',\n maxmeasurementlabel: 'Maks. Volumen',\n senddirectcta: 'Køb Online',\n stampshopcta: 'Til butikken',\n message: 'When buying from any agent',\n servicePointHeader: 'Find nærmeste servicested',\n servicePointLink: 'Find nærmeste servicested',\n realPostcard: 'Køb Riktiga Vykort',\n ombudHeader: 'Køb af agent',\n },\n no: {\n componentheading: 'Vad vill du skicka?',\n deliveryscopeheading: 'Kun leveranser innen Sverige',\n resultlistheading: 'Some suitable options for you',\n weightlabel: 'Vekt',\n maxweightlabel: 'Maks vekt',\n maxmeasurementlabel: 'Maks volum',\n senddirectcta: 'Buy shipping in Send Direct',\n stampshopcta: 'Order home stamps from the webshop',\n },\n fi: {\n componentheading: 'Vad vill du skicka?',\n deliveryscopeheading: 'Toimitukset vain Ruotsin sisällä',\n resultlistheading: 'Some suitable options for you',\n weightlabel: 'Paino',\n maxweightlabel: 'Max paino',\n maxmeasurementlabel: 'Max äänenvoimakkuus',\n senddirectcta: 'Buy shipping in Send Direct',\n stampshopcta: 'Order home stamps from the webshop',\n },\n};\n\nexport const markets = {\n se: {\n currency: 'kr',\n country: 'Sweden',\n servicePoint: 'https://www.postnord.se/vara-verktyg/sok-brevlada-eller-servicestalle',\n },\n dk: {\n currency: 'dk',\n country: 'Denmark',\n servicePoint: 'https://www.postnord.dk/varktojer/find-os',\n },\n fi: {\n currency: ' €',\n country: 'Finland',\n servicePoint: '',\n },\n no: {\n currency: 'kr',\n country: 'Norway',\n servicePoint: '',\n },\n};\n","<svg width=\"54\" height=\"38\" viewBox=\"0 0 54 38\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M44.3848 38H50.3017C51.9339 38 53.3111 36.2357 53.3111 33.9964V4.00357C53.3111 1.83214 51.9849 0 50.3017 0H44.3848V38Z\" fill=\"#005D92\"/>\n<path d=\"M47.3433 38H13.321C11.6887 38 10.3115 36.2357 10.3115 33.9964V4.00357C10.3115 1.83214 11.6377 0 13.321 0H44.8439C46.2211 0 47.3433 1.49286 47.3433 3.325V38Z\" fill=\"#00A0D6\"/>\n<path d=\"M43.3143 10.7895C43.3143 12.9609 41.9881 14.7252 40.3559 14.7252H35.9692C34.3369 14.7252 33.0107 12.9609 33.0107 10.7895C33.0107 8.61804 34.3369 6.85376 35.9692 6.85376H40.3559C42.0391 6.92162 43.3143 8.61804 43.3143 10.7895Z\" fill=\"#8EDDF9\"/>\n<g clip-path=\"url(#clip0_1246_34703)\">\n<path d=\"M23.3114 32.6772H0.688477V23.2348L10.3784 13.4694C11.3047 12.5358 12.7849 12.5389 13.7074 13.4763L23.3114 23.2348V32.6772Z\" fill=\"#005D92\"/>\n<path d=\"M5.28627 17.0176H18.7132C19.3401 17.0176 19.9414 17.2013 20.3847 17.5284C20.828 17.8555 21.0771 18.2991 21.0771 18.7617V33.3734H2.92285V18.7617C2.92285 18.2991 3.1719 17.8555 3.61521 17.5284C4.05852 17.2013 4.65978 17.0176 5.28671 17.0176H5.28627Z\" fill=\"#F9F8F8\"/>\n<path d=\"M12.0776 23.7432H7.41657C7.19891 23.7432 7.02246 23.9256 7.02246 24.1507V24.1508C7.02246 24.3759 7.19891 24.5583 7.41657 24.5583H12.0776C12.2952 24.5583 12.4717 24.3759 12.4717 24.1508V24.1507C12.4717 23.9256 12.2952 23.7432 12.0776 23.7432Z\" fill=\"#D3CECB\"/>\n<path d=\"M16.987 25.761H7.41657C7.19891 25.761 7.02246 25.9434 7.02246 26.1685V26.1686C7.02246 26.3937 7.19891 26.5762 7.41657 26.5762H16.987C17.2046 26.5762 17.3811 26.3937 17.3811 26.1686V26.1685C17.3811 25.9434 17.2046 25.761 16.987 25.761Z\" fill=\"#D3CECB\"/>\n<path d=\"M16.987 27.6598H7.41657C7.19891 27.6598 7.02246 27.8422 7.02246 28.0673V28.0674C7.02246 28.2925 7.19891 28.475 7.41657 28.475H16.987C17.2046 28.475 17.3811 28.2925 17.3811 28.0674V28.0673C17.3811 27.8422 17.2046 27.6598 16.987 27.6598Z\" fill=\"#D3CECB\"/>\n<path d=\"M10.3217 30.2231H7.41657C7.19891 30.2231 7.02246 30.4056 7.02246 30.6307V30.6308C7.02246 30.8559 7.19891 31.0383 7.41657 31.0383H10.3217C10.5394 31.0383 10.7158 30.8559 10.7158 30.6308V30.6307C10.7158 30.4056 10.5394 30.2231 10.3217 30.2231Z\" fill=\"#D3CECB\"/>\n<path d=\"M0.688813 23.2346L19.8537 37.9165H3.10689C1.77124 37.9165 0.688477 36.7997 0.688477 35.4219L0.688813 23.2346Z\" fill=\"#00A0D6\"/>\n<path d=\"M23.3119 23.3242L4.13477 37.9161H20.8934C22.2291 37.9161 23.3119 36.7993 23.3119 35.4215V23.3242Z\" fill=\"#8EDDF9\"/>\n<path d=\"M12.0378 21.9537C12.9492 21.9537 13.6881 21.1916 13.6881 20.2513C13.6881 19.3111 12.9489 18.549 12.0378 18.549C11.1267 18.549 10.3877 19.3111 10.3877 20.2513C10.3877 21.1916 11.1265 21.9537 12.0378 21.9537Z\" fill=\"#005D92\"/>\n<path d=\"M13.6778 20.0662C13.4119 20.1936 13.1318 20.3163 12.8714 20.4306C12.3538 20.6581 11.865 20.8728 11.5107 21.0907C11.3925 21.1632 11.1087 21.3375 10.9971 21.5725C11.0876 21.6481 11.1857 21.7135 11.2896 21.7677C11.2888 21.6813 11.4305 21.5431 11.6825 21.3883C12.0173 21.1828 12.4961 20.9725 13.003 20.7498C13.233 20.6486 13.4597 20.5487 13.6758 20.4487C13.691 20.3218 13.6916 20.1935 13.6774 20.0665L13.6778 20.0662Z\" fill=\"#00A0D6\"/>\n<path d=\"M13.2568 19.3703C13.2131 19.2881 13.1603 19.2102 13.0992 19.1378C12.7291 19.3731 12.2814 19.6447 11.7601 19.8243C11.2262 20.0084 10.8085 20.0936 10.4639 20.0738C10.4729 20.1672 10.4928 20.2594 10.5231 20.3489C10.9281 20.3572 11.3749 20.2487 11.8664 20.0793C12.4144 19.8904 12.8755 19.6122 13.2568 19.3703Z\" fill=\"#00A0D6\"/>\n</g>\n<defs>\n<clipPath id=\"clip0_1246_34703\">\n<rect width=\"22.623\" height=\"27.5625\" fill=\"white\" transform=\"translate(0.688477 10.3541)\"/>\n</clipPath>\n</defs>\n</svg>\n","<svg width=\"67\" height=\"60\" viewBox=\"0 0 67 60\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M8.03842 59.9998H47.8903V8.18823H4.0293V55.1448C4.0293 57.8259 5.82442 59.9998 8.03842 59.9998Z\" fill=\"#00A0D6\"/>\n<path d=\"M58.2437 60H46.7549V6.52173H62.911V54.2753C62.911 57.4637 60.8167 60 58.2437 60Z\" fill=\"#005D92\"/>\n<path d=\"M4.44928 16.1593H47.4726C49.6866 16.1593 51.4218 13.9854 51.4218 11.3767C51.4218 8.69556 49.6267 6.59412 47.4726 6.59412H4.44928C2.23529 6.59412 0.5 8.76803 0.5 11.3767C0.5 13.9854 2.23529 16.1593 4.44928 16.1593Z\" fill=\"#00A0D6\"/>\n<path d=\"M62.5511 16.1591H56.1485C53.9345 16.1591 52.1992 13.9852 52.1992 11.3765C52.1992 8.69532 53.9944 6.59387 56.1485 6.59387H62.5511C64.7651 6.59387 66.5004 8.76778 66.5004 11.3765C66.5004 13.9852 64.7053 16.1591 62.5511 16.1591Z\" fill=\"#005D92\"/>\n<path d=\"M4.0293 16.8839L46.7534 24.7825V16.1593H4.0293V16.8839Z\" fill=\"#005D92\"/>\n<path d=\"M18.5703 60H17.6727V6.88406C17.4932 6.88406 17.3736 6.81159 17.2539 6.73913C15.8776 5.94203 14.8005 3.26087 15.1596 1.5942C15.3391 0.579711 16.0571 0 17.0145 0C17.6727 0 18.1514 0.362319 18.5105 0.869566C18.9293 1.52174 19.049 2.53623 18.9892 3.47826C20.1261 1.88406 21.6819 0.869566 22.7589 1.01449C23.477 1.15942 23.9557 1.73913 24.0155 2.68116C24.0754 3.33333 23.8959 4.34783 22.8188 5.21739C21.7417 6.15942 19.9466 6.73913 18.6302 6.81159V60H18.5703ZM16.8949 1.08696C16.2366 1.08696 16.0571 1.52174 15.9973 1.81159C15.7579 3.04348 16.6555 5.21739 17.6129 5.72464C17.6727 5.72464 17.6727 5.72464 17.7326 5.7971C17.9719 4.71014 18.2711 2.46377 17.7326 1.52174C17.5531 1.23188 17.3137 1.08696 16.8949 1.08696C16.9547 1.08696 16.8949 1.08696 16.8949 1.08696ZM22.4598 2.10145C21.4425 2.10145 19.5876 3.62319 18.7498 5.7971C19.7671 5.65217 21.263 5.21739 22.2204 4.42029C22.8188 3.91304 23.118 3.4058 23.0581 2.82609C22.9983 2.24638 22.8188 2.17391 22.5794 2.10145C22.5196 2.10145 22.5196 2.10145 22.4598 2.10145Z\" fill=\"#005D92\"/>\n<path d=\"M50.4035 32.6086H4.0293V33.6956H50.4035V32.6086Z\" fill=\"#005D92\"/>\n</svg>\n","<svg width=\"97\" height=\"121\" viewBox=\"0 0 97 121\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M12.5998 120.224H69.3265V16.1737H5.80371V108.774C5.80371 115.104 8.84529 120.224 12.5998 120.224Z\" fill=\"#005D92\"/>\n<path d=\"M84.3612 120.224H67.7275V12.754H91.1573V108.784C91.1573 115.104 88.1157 120.224 84.3612 120.224Z\" fill=\"#0D234B\"/>\n<path d=\"M6.36867 32.114H68.7687C71.941 32.114 74.5192 27.784 74.5192 22.434C74.5192 17.094 71.947 12.754 68.7687 12.754H6.36867C3.19639 12.754 0.618164 17.084 0.618164 22.434C0.618164 27.774 3.19639 32.114 6.36867 32.114Z\" fill=\"#005D92\"/>\n<path d=\"M90.6312 32.114H81.2866C78.1143 32.114 75.5361 27.784 75.5361 22.434C75.5361 17.094 78.1084 12.754 81.2866 12.754H90.6312C93.8035 12.754 96.3817 17.084 96.3817 22.434C96.3817 27.774 93.8094 32.114 90.6312 32.114Z\" fill=\"#0D234B\"/>\n<path d=\"M5.80371 33.6439L67.7285 49.3939V32.1139H5.80371V33.6439Z\" fill=\"#0D234B\"/>\n<path d=\"M26.6381 120.224H25.747V13.2038C25.438 13.1538 25.1826 13.0638 25.0044 12.9138C23.139 11.4138 21.6063 6.17382 22.0757 2.89382C22.236 1.78382 22.7529 -0.0961666 24.541 0.00383339C25.4083 0.0438334 26.0856 0.603826 26.543 1.68383C27.2024 3.22383 27.2737 5.60383 27.1608 7.73383C28.8004 4.13383 31.2183 1.80383 32.8104 2.13383C33.7549 2.33383 34.349 3.44382 34.4381 5.19382C34.5272 6.97382 33.9569 8.64383 32.7747 10.0238C31.0995 11.9838 28.4381 13.0938 26.6321 13.2238V120.224H26.6381ZM24.4341 1.50383C23.5965 1.50383 23.1093 2.07383 22.943 3.25383C22.5747 5.86383 23.8994 10.3638 25.3905 11.5638C25.4856 11.6438 25.6341 11.6938 25.8182 11.7238C26.1687 9.63383 26.7331 4.69383 25.8182 2.56383C25.5272 1.88383 25.0994 1.53383 24.5173 1.51383C24.4875 1.50383 24.4638 1.50383 24.4341 1.50383ZM32.4955 3.59382C30.8975 3.59382 27.9866 6.96383 26.7925 11.7138C28.343 11.5238 30.7252 10.5938 32.2757 8.78383C33.1906 7.71383 33.6183 6.55383 33.5589 5.31383C33.4876 3.93383 33.0361 3.68383 32.7094 3.61383C32.6381 3.60383 32.5668 3.59382 32.4955 3.59382Z\" fill=\"#0D234B\"/>\n<path d=\"M70.4917 65.704H5.81055V67.2041H70.4917V65.704Z\" fill=\"#0D234B\"/>\n</svg>\n","<svg width=\"104\" height=\"162\" viewBox=\"0 0 104 162\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M29.0016 143.399H19.6016V152.199H29.0016V143.399Z\" fill=\"#99290A\"/>\n<path d=\"M19.6 152.2L17 159H32L28.9 150.3L19.6 152.2Z\" fill=\"#0D234B\"/>\n<path d=\"M49.1 147.5H39V154.8H49.1V147.5Z\" fill=\"#99290A\"/>\n<path d=\"M39 152.9V159.2H65.5L49.1 151.5V149.3L39 152.9Z\" fill=\"#0D234B\"/>\n<path d=\"M65.5 159.199H39V161.799H65.5V159.199Z\" fill=\"white\"/>\n<path d=\"M44.5016 157.1C45.5509 157.1 46.4016 156.249 46.4016 155.2C46.4016 154.15 45.5509 153.3 44.5016 153.3C43.4522 153.3 42.6016 154.15 42.6016 155.2C42.6016 156.249 43.4522 157.1 44.5016 157.1Z\" fill=\"#005D92\"/>\n<path d=\"M29.0016 143.399H19.6016V152.199H29.0016V143.399Z\" fill=\"#99290A\"/>\n<path d=\"M19.6 152.2L17 159H32L28.9 150.3L19.6 152.2Z\" fill=\"#0D234B\"/>\n<path d=\"M49.1 147.5H39V154.8H49.1V147.5Z\" fill=\"#99290A\"/>\n<path d=\"M11.6016 84.4992L12.8016 86.8992C13.7016 88.6992 15.3016 89.9992 17.2016 90.4992L18.2016 90.7992L15.2016 83.1992L11.6016 84.4992Z\" fill=\"#99290A\"/>\n<path d=\"M39 152.9V159H65.5L49.1 151.5V149.3L39 152.9Z\" fill=\"#0D234B\"/>\n<path d=\"M20.6 85.1H12.3C11.3 85.1 10.5 84.3 10.5 83.3V62H20.6V85.1Z\" fill=\"#FBC2C1\"/>\n<path d=\"M33.3984 65.6992V147.899H14.8984V89.5992C14.8984 80.9992 17.3984 72.8992 22.0984 65.6992H33.3984Z\" fill=\"#005D92\"/>\n<path d=\"M33.8992 65.6992H44.4992L55.1992 103.699C55.8992 106.099 56.2992 108.699 56.2992 111.199V147.899H38.9992V111.599L32.6992 86.7992V65.6992H33.8992Z\" fill=\"#005D92\"/>\n<path opacity=\"0.2\" d=\"M37.8 82.5L39 111.6L33.5 89.9L33.6 84.2L34.2 83.6L37.8 82.5Z\" fill=\"#0D234B\"/>\n<path d=\"M28.3984 35.1H16.3984V19.3C16.3984 15 19.8984 11.5 24.1984 11.5H28.4984V35.1H28.3984Z\" fill=\"black\"/>\n<path d=\"M42.5 35.0996H20V12.3996C20 6.19961 25 1.09961 31.3 1.09961C37.5 1.19961 42.5 6.19961 42.5 12.3996V35.0996Z\" fill=\"black\"/>\n<path d=\"M33.599 25.6992H32.299C28.099 25.5992 24.699 21.9992 24.899 17.7992L25.099 12.4992C25.199 8.29921 28.799 4.89921 32.999 5.09921C37.199 5.19921 40.599 8.79921 40.399 12.9992L40.199 19.6992C39.999 23.0992 37.099 25.7992 33.599 25.6992Z\" fill=\"#99290A\"/>\n<path d=\"M25.8008 15.4992H27.5008C28.7008 15.4992 29.7008 14.4992 29.7008 13.2992V11.5992C34.3008 14.0992 41.8008 12.6992 41.8008 12.6992L40.1008 6.19922L28.8008 7.99922L25.8008 15.4992Z\" fill=\"black\"/>\n<path d=\"M25.8 15.4998H21.5L25.8 4.7998L31.6 3.2998L37.9 4.3998L39.8 8.7998L28.3 9.39981L25.8 15.4998Z\" fill=\"black\"/>\n<path d=\"M24.4992 18.6996C25.7695 18.6996 26.7992 17.6699 26.7992 16.3996C26.7992 15.1294 25.7695 14.0996 24.4992 14.0996C23.229 14.0996 22.1992 15.1294 22.1992 16.3996C22.1992 17.6699 23.229 18.6996 24.4992 18.6996Z\" fill=\"#99290A\"/>\n<path d=\"M34.7016 31.4H26.1016L26.9016 22.5L34.7016 23.8V31.4Z\" fill=\"#99290A\"/>\n<path d=\"M34.5 25.6994C34.5 25.6994 31.7 26.0994 29.5 24.8994\" stroke=\"#4F1600\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"/>\n<path d=\"M65.5 159H39V162H65.5V159Z\" fill=\"#005D92\"/>\n<path d=\"M32 159H17V162H32V159Z\" fill=\"#005D92\"/>\n<path d=\"M45.5 66.4098L10.5 65.6098V39.3098C10.5 34.1098 14.7 30.0098 19.8 30.0098H41L45.5 40.3098V66.4098Z\" fill=\"#FBC2C1\"/>\n<path d=\"M37.2008 72.1992H21.1008C18.7008 72.1992 16.8008 69.8992 17.4008 67.4992L23.7008 46.8992L37.2008 46.1992V72.1992Z\" fill=\"#FBC2C1\"/>\n<path d=\"M46.4016 49.8994L46.5016 72.7994H15.6016V47.3994L46.4016 49.8994Z\" fill=\"#FBC2C1\"/>\n<path d=\"M33.6016 90.5998V83.7998\" stroke=\"#0D234B\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M33.6016 83.8L37.8016 82.5\" stroke=\"#0D234B\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M37.4016 27.1992H24.1016V35.2992H37.4016V27.1992Z\" fill=\"#FBC2C1\"/>\n<path d=\"M33.3984 141.8H14.8984V148H33.3984V141.8Z\" fill=\"#005D92\"/>\n<path d=\"M56.2 141.8H39V148H56.2V141.8Z\" fill=\"#005D92\"/>\n<path d=\"M44.5016 157.1C45.5509 157.1 46.4016 156.249 46.4016 155.2C46.4016 154.15 45.5509 153.3 44.5016 153.3C43.4522 153.3 42.6016 154.15 42.6016 155.2C42.6016 156.249 43.4522 157.1 44.5016 157.1Z\" fill=\"#005D92\"/>\n<path d=\"M56.2 143.399H39\" stroke=\"#0D234B\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M33.3984 143.399H14.8984\" stroke=\"#0D234B\" stroke-width=\"0.5\" stroke-miterlimit=\"10\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path opacity=\"0.3\" d=\"M26.1016 28.3994V31.5994\" stroke=\"#F06365\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"/>\n<path opacity=\"0.3\" d=\"M28.5 28.3994V31.5994\" stroke=\"#F06365\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"/>\n<path opacity=\"0.3\" d=\"M30.8008 28.3994V31.5994\" stroke=\"#F06365\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"/>\n<path opacity=\"0.3\" d=\"M33.1016 28.3994V31.5994\" stroke=\"#F06365\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"/>\n<path opacity=\"0.3\" d=\"M35.5 28.3994V31.5994\" stroke=\"#F06365\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"/>\n<path d=\"M30.6016 80.7998L15.6016 76.3998V72.7998H32.6016L30.6016 80.7998Z\" fill=\"white\"/>\n<path d=\"M49.8016 78.9992L35.6016 78.7992L32.6016 72.7992L46.6016 72.6992L49.8016 78.9992Z\" fill=\"white\"/>\n<path d=\"M15.6016 72.7994V47.3994\" stroke=\"#2D2013\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M48.0013 55.0993L36.3013 40.0993C34.0013 37.3993 34.5013 33.2993 37.3013 31.2993C40.1013 29.0993 44.1013 29.7993 46.0013 32.7993L56.0013 49.0993L48.0013 55.0993Z\" fill=\"#FBC2C1\"/>\n<path d=\"M46.3984 53.3992V47.1992\" stroke=\"#2D2013\" stroke-width=\"0.7\" stroke-miterlimit=\"10\" stroke-linecap=\"round\"/>\n<path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M84.1511 48.8L74.696 47C74.696 47 74.4969 47 74.3974 47H52V57L74.1983 52.1C75.0941 51.9 75.4922 51.6 75.7908 50.8L83.753 51.2C84.3501 51.2 84.7483 50.9 84.9473 50.3C85.0468 49.8 85.0468 49.3 84.5492 49C84.4497 48.9 84.3501 48.9 84.1511 48.8Z\" fill=\"#99290A\"/>\n<path d=\"M69.6192 55.2919L52 57V47H72.0002L71.5041 53.0877C71.4049 54.2423 70.6113 55.1869 69.6192 55.2919Z\" fill=\"#FBC2C1\"/>\n<rect x=\"47\" y=\"47\" width=\"10\" height=\"10\" rx=\"5\" fill=\"#FBC2C1\"/>\n<path opacity=\"0.2\" d=\"M54.5 47L53 50L57 47H54.5Z\" fill=\"#E5474C\"/>\n</svg>\n","<svg width=\"278\" height=\"55\" viewBox=\"0 0 278 55\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M247.355 49.6815C247.694 52.479 249.722 54.6261 252.181 54.6261H272.926C275.62 54.6261 277.798 52.0522 277.798 48.8686V48.8008C277.798 45.6173 275.62 43.0433 272.926 43.0433H270.537C269.608 39.2439 266.846 36.473 263.585 36.473H259.717C259.373 31.841 256.101 28.2092 252.124 28.2092C248.146 28.2092 244.88 31.841 244.53 36.473H242.095C238.083 36.473 234.816 40.6726 234.816 45.8205V49.6815H247.355Z\" fill=\"#E0F8FF\"/>\n<path d=\"M12.0391 46.1022C12.3176 48.5569 14.0867 50.4373 16.2421 50.4373H34.5807C36.9304 50.4373 38.8216 48.202 38.8216 45.4248V45.3571C38.8216 42.5799 36.9304 40.3446 34.5807 40.3446H32.4684C31.6678 37.0209 29.227 34.5872 26.3283 34.5872H22.9179C22.6004 30.5597 19.7327 27.4071 16.2421 27.4071C12.7514 27.4071 9.88371 30.5597 9.56622 34.5872H7.41658C3.86346 34.5872 0.998047 38.2448 0.998047 42.7154V46.1022H12.0391Z\" fill=\"#E0F8FF\"/>\n<path d=\"M131.056 26.5864C131.449 30.0423 133.948 32.6895 136.991 32.6895H162.891C166.209 32.6895 168.88 29.5426 168.88 25.6328V25.5375C168.88 21.6277 166.209 18.4808 162.891 18.4808H159.907C158.777 13.8015 155.33 10.3753 151.236 10.3753H146.42C145.971 4.70533 141.921 0.26709 136.991 0.26709C132.062 0.26709 128.012 4.70533 127.563 10.3753H124.528C119.51 10.3753 115.463 15.5247 115.463 21.8184V26.5864H131.056Z\" fill=\"#E0F8FF\"/>\n</svg>\n","@import '../../../globals/main.scss';\n\npn-find-price {\n .sizeTable {\n background-color: transparent !important;\n border-style: none !important;\n border: 0 !important;\n position: relative;\n\n > tr td {\n margin-bottom: 1em;\n text-align: center;\n vertical-align: bottom;\n padding-right: 1em;\n padding-top: 1em;\n }\n\n #clouds {\n position: absolute;\n top: 0em;\n left: 4em;\n z-index: -1;\n }\n }\n\n .firstCell {\n margin-right: 0;\n margin-left: auto;\n }\n\n .findprice-form {\n max-width: 60em;\n margin: 0em auto 3em auto;\n }\n [slot='title'] {\n margin-bottom: 1rem;\n }\n h2 {\n text-align: center;\n }\n .heading {\n text-align: center;\n line-height: 1.1;\n font-weight: bold;\n margin-bottom: 1rem;\n color: $blue700;\n }\n\n .resultHeading {\n text-align: center;\n font-size: 1.5em;\n line-height: 1.1;\n font-weight: bold;\n margin-bottom: 2em;\n }\n\n .sizecategory {\n margin-top: 1em;\n margin-bottom: 3rem;\n font-size: 0.9em;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .weightoption {\n font-size: 0.9em;\n\n max-width: 41rem;\n margin: 0 auto;\n }\n .weightoption-content {\n text-align: center;\n pn-choice-button {\n width: 7em;\n line-height: 3.3em;\n font-size: 0.9em;\n vertical-align: bottom;\n > label {\n align-content: center;\n justify-content: center;\n }\n ::before {\n content: 'Max \\a0';\n font-weight: lighter;\n }\n }\n }\n\n .resultlist {\n margin: 3.2rem 0;\n }\n\n .servicePoint {\n text-align: center;\n\n pn-illustration {\n display: block;\n max-width: 5em;\n max-height: 5em;\n margin: 1.5em auto 0 auto;\n }\n\n h3 {\n margin-top: 0.8em;\n margin-bottom: 0.9em;\n }\n\n a {\n color: $blue700;\n text-decoration: none;\n &:hover {\n color: $blue900;\n text-decoration: underline;\n }\n }\n }\n}\n","import { Component, h, Prop, State, Watch } from '@stencil/core';\nimport { translations, markets } from './pn-find-price-translations';\nimport { ProductPriceSourceData, ProductPriceItem, FindPriceWeight, PnfindPriceMarket, PnfindPricei18n, FindPriceSizeCategory } from './pn-find-price-types';\nimport { weights, sizeCategories, fileLocation } from './data.js';\nimport { convertFileForSizeCategogy } from '../../../globals/shared/productprice/convert.js';\nimport { state } from './pn-find-price-store';\nimport small from './img/small-package.svg';\nimport medium from './img/medium-package.svg';\nimport large from './img/large-package.svg';\nimport person from './img/postnord-person1.svg';\nimport clouds from './img/clouds.svg';\n\n@Component({\n tag: 'pn-find-price',\n styleUrl: 'pn-find-price.scss',\n})\nexport class PnfindPrice {\n @Prop() source: string = fileLocation;\n @Prop({ mutable: true }) language: string = 'sv';\n @Prop({ mutable: true }) market: string = 'se';\n\n @State() filteredItems: ProductPriceItem[] = [];\n @State() weight: FindPriceWeight = { value: 0, name: '' } as FindPriceWeight;\n @State() weightvalue: number = 0;\n @State() sourceData: ProductPriceSourceData = { types: [], data: [] };\n @State() sizecategory: FindPriceSizeCategory = { value: '', name: '', icon: '', unit: '' } as FindPriceSizeCategory;\n\n componentWillLoad() {\n this.setState();\n this.getDataSource();\n }\n\n async getDataSource() {\n const cacheBusting = `?cache=${Math.floor(Math.random() * (10000 - 1) + 1)}`;\n const req = await fetch(this.source + cacheBusting);\n const reqbody = await req.blob();\n try {\n const convertedData = await convertFileForSizeCategogy(reqbody);\n this.sourceData = convertedData;\n\n //for keeping small value preselected\n this.sizecategory = (sizeCategories as FindPriceSizeCategory[]).filter(x => x.value === 'Small')[0];\n\n this.filterItems();\n } catch (e) {\n console.log('Unable to parse data');\n }\n }\n\n @Watch('market')\n @Watch('language')\n setState() {\n if (this.market) {\n state.market = markets[this.market] as PnfindPriceMarket;\n }\n if (this.language && translations[this.language]) {\n state.i18n = translations[this.language] as PnfindPricei18n;\n }\n }\n\n @Watch('sizecategory')\n @Watch('weightvalue')\n filterItems() {\n if (!this.sourceData?.data) {\n console.log('Data has not yet been loaded');\n return;\n }\n\n //to handle withing country search\n const deliveryScopeData = this.sourceData.data.filter(x => x.deliveryscope.toLocaleLowerCase() === state.market.country.toLocaleLowerCase());\n if (!this.sizecategory) {\n return;\n }\n\n const sizeItemData = deliveryScopeData.filter(x => x.sizecategory.toLocaleLowerCase() === this.sizecategory.value.toLocaleLowerCase());\n\n if (!this.weight) {\n return;\n }\n const comparisonWeight = this.weight.value <= 20 ? this.weight.value * 1000 : this.weight.value;\n\n let weightFilteredData = sizeItemData.filter(x => (x.maxweight <= 20 ? x.maxweight * 1000 : x.maxweight) === comparisonWeight);\n\n if (this.weightvalue !== 0) {\n let clubbedProducts = sizeItemData\n .filter(x => x.maxweight.toString().includes('upto'))\n .filter(x => Number(x.maxweight.toString().toLocaleLowerCase().replace('upto', '')) - comparisonWeight >= 0);\n weightFilteredData = weightFilteredData.concat(clubbedProducts);\n }\n\n if (weightFilteredData.length === 0 && this.weightvalue !== 0) {\n weightFilteredData = sizeItemData.filter(x => (x.maxweight <= 20 ? x.maxweight * 1000 : x.maxweight) >= comparisonWeight);\n\n if (weightFilteredData.length > 0) {\n //sort based on the maxvalue\n weightFilteredData.sort((a, b) => {\n return a.maxweight - b.maxweight;\n });\n\n // map to get the next unique item\n const uniqueWeightOptions = [...new Map(weightFilteredData.reverse().map(item => [item['id'], item])).values()];\n if (uniqueWeightOptions.length > 0) {\n weightFilteredData = uniqueWeightOptions;\n }\n }\n }\n\n //10000 to handle the null values in the rank column, to keep such products at the end of the list\n weightFilteredData.sort((a, b) => {\n var ra = a.rank ? a.rank : 10000;\n var rb = b.rank ? b.rank : 10000;\n\n var ua = a.highestrankusp ? a.highestrankusp : 'z';\n var ub = b.highestrankusp ? b.highestrankusp : 'z';\n\n const compareUsp = ua.localeCompare(ub);\n const compareRank = ra - rb;\n\n return compareUsp || compareRank;\n });\n\n this.filteredItems = weightFilteredData;\n }\n\n render() {\n return (\n <div class=\"findprice-form\">\n <div>\n <h4 class=\"heading\">{state.i18n.sizeheading}</h4>\n <div class=\"sizecategory\">\n <table class=\"sizeTable\">\n <img id=\"clouds\" src={clouds}></img>\n <tr>\n <td>\n <img class=\"firstCell\" src={person}></img>\n </td>\n <td>\n <img src={small}></img>\n </td>\n <td>\n <img src={medium}></img>\n </td>\n <td>\n <img src={large}></img>\n </td>\n </tr>\n <tr>\n <td></td>\n {sizeCategories.map(sizeCategory => (\n <td>\n <pn-radio-button\n id={'findpricecategory-' + sizeCategory.value}\n radioid={sizeCategory.value}\n value={sizeCategory.value}\n name=\"sizecategory\"\n checked={sizeCategory.value === this.sizecategory.value}\n onChange={() => {\n this.sizecategory = (sizeCategories as FindPriceSizeCategory[]).filter(x => x.value === sizeCategory.value)[0];\n\n this.weight = { value: 0, name: '' } as FindPriceWeight;\n this.weightvalue = this.weight.value;\n }}\n ></pn-radio-button>\n </td>\n ))}\n </tr>\n </table>\n </div>\n </div>\n\n <h4 class=\"heading\">{state.i18n.weightheading}</h4>\n {this.sizecategory.value && weights[this.sizecategory.unit] ? (\n <div class=\"weightoption\">\n {\n <div class=\"weightoption-content\">\n {weights[this.sizecategory.unit].map(wght => (\n <pn-choice-button\n id={'findpriceweight-' + wght.value}\n choiceid={this.sizecategory.value + wght.value}\n name=\"weight\"\n type=\"radio\"\n value={!this.weight.value ? 0 : weights[this.sizecategory.unit].findIndex(x => x.value === this.weightvalue)}\n checked={wght.value === this.weight.value}\n onChange={() => {\n this.weight = (weights[this.sizecategory.unit] as FindPriceWeight[]).filter(x => x.value === wght.value)[0];\n this.weightvalue = this.weight.value;\n }}\n >\n {wght.name}\n </pn-choice-button>\n ))}\n </div>\n }\n </div>\n ) : null}\n\n {this.filteredItems && this.filteredItems.length > 0 ? (\n <div class=\"resultlist\">\n {state.i18n.resultlistheading ? <div class=\"resultHeading\">{state.i18n.resultlistheading}</div> : null}\n {this.filteredItems.map((item: ProductPriceItem) => (\n <div>\n <pn-find-price-result item={item}></pn-find-price-result>\n </div>\n ))}\n </div>\n ) : null}\n </div>\n );\n }\n}\n"],"mappings":"6LAAO,MAAMA,EAAe,CAC1BC,GAAI,CACFC,iBAAkB,oFAClBC,qBAAsB,iCACtBC,kBAAmB,+BACnBC,YAAa,yCACbC,cAAe,sCACfC,YAAa,OACbC,eAAgB,UAChBC,o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,aAAatB,MAAQsF,EAAKtF,MACzCC,KAAK,SACLuF,KAAK,QACLxF,OAAQO,KAAKgC,OAAOvC,MAAQ,EAAIqF,EAAQ9E,KAAKe,aAAajB,MAAMoF,WAAUhE,GAAKA,EAAEzB,QAAUO,KAAKoC,cAChGwC,QAASG,EAAKtF,QAAUO,KAAKgC,OAAOvC,MACpCoF,SAAU,KACR7E,KAAKgC,OAAU8C,EAAQ9E,KAAKe,aAAajB,MAA4BmB,QAAOC,GAAKA,EAAEzB,QAAUsF,EAAKtF,QAAO,GACzGO,KAAKoC,YAAcpC,KAAKgC,OAAOvC,KAAK,GAGrCsF,EAAKrF,UAMd,KAEHM,KAAK8D,eAAiB9D,KAAK8D,cAAcnB,OAAS,EACjDqB,EAAA,OAAKE,MAAM,cACR1C,EAAME,KAAKlE,kBAAoBwG,EAAA,OAAKE,MAAM,iBAAiB1C,EAAME,KAAKlE,mBAA2B,KACjGwC,KAAK8D,cAAcZ,KAAKC,GACvBa,EAAA,WACEA,EAAA,wBAAsBb,KAAMA,QAIhC,K","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,d as e,g as l}from"./p-06555615.js";import{F as o,M as h}from"./p-c95def57.js";import{d as n}from"./p-aed52bc1.js";const a="pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}pn-address-autofill pn-marketweb-input{width:50%}pn-address-autofill .input-container-row{display:flex;gap:1rem;margin-bottom:1rem}pn-address-autofill .label-container{color:#5e554a;font-size:0.875em;display:flex;justify-content:space-between;align-items:flex-end}pn-address-autofill .autocomplete-items{position:absolute;border-radius:0.8rem;border:0.1rem solid #5e554a;width:100%;max-height:30rem;overflow-y:auto}pn-address-autofill .autocomplete-items:hover,pn-address-autofill .autocomplete-items :focus{border:0.1rem solid #00a0d6}pn-address-autofill .autocomplete-items div{padding:1.6rem;cursor:pointer;background-color:#fff;border:0.1rem solid transparent}pn-address-autofill .autocomplete-items div:first-child{border-radius:0.8rem 0.8rem 0 0}pn-address-autofill .autocomplete-items div:last-child{border-radius:0 0 0.8rem 0.8rem}pn-address-autofill .autocomplete-items div:hover{background-color:#e0f8ff}pn-address-autofill .autocomplete-items .autocomplete-active{background-color:#e0f8ff}";const d=a;const u=class{constructor(s){t(this,s);this.addresscomplete=i(this,"addresscomplete",7);this.pnInputPostalCode=null;this.pnInputCity=null;this.pnInputStreetAddress=null;this.pnInputStreetNumber=null;this.postalCodeInputField=null;this.streetAddressInputField=null;this.streetNumberInputField=null;this.pnInputHiddenValue=null;this.endpointPath="/api/location/get-by-location";this._postalCodeProps=null;this._cityProps=null;this._streetAddressProps=null;this._streetNumberProps=null;this.fetchHelper=new o("PostalCodeCityAutofill");this.filterStreetNames=t=>{const i=[];this.streetAdressArr=null;t.addresses.forEach((t=>{if(t.postalCode.postalCity===this.city&&!i.includes(t.street)){i.push(t.street)}}));this.streetAdressArr=i};this.filterStreetNumbers=t=>{const i=[];t.addresses.forEach((t=>{if(t.postalCode.postalCode===this.postalCode){const{numberFrom:s,numberTo:e}=t;const l=parseInt(s);const o=parseInt(e);for(let t=l;t<=o;t++){const s=t.toString();if(!i.includes(s)){i.push(t.toString())}}}}));this.streetNumberArr=i};this.market=null;this.environment=null;this.endpoint=null;this.cache=true;this.countryCode=null;this.postalCodeProps=null;this.cityProps=null;this.streetAddressProps=null;this.streetNumberProps=null;this.streetAdressArr=null;this.streetNumberArr=null;this.city=null;this.postalCode=null;this.streetAddress=null;this.streetNumber=null;this.fullAddress=null}componentWillLoad(){this.setInitialValues();this._postalCodeProps=this.setProps(this.postalCodeProps);this._cityProps=this.setProps(this.cityProps);this._streetAddressProps=this.setProps(this.streetAddressProps);this._streetNumberProps=this.setProps(this.streetNumberProps)}setProps(t){if(typeof t==="string"){return JSON.parse(t)}else{return t}}componentDidLoad(){this.postalCodeInputField=this.pnInputPostalCode.querySelector("input");this.streetAddressInputField=this.pnInputStreetAddress.querySelector("input");this.streetNumberInputField=this.pnInputStreetNumber.querySelector("input");this.addEventHandlers()}async setInitialValues(t=window.location.href){var i;const s=new h(t);if(!this.environment){this.environment=await s.getEnvironmentName()}if(!this.endpoint&&((i=this.environment)===null||i===void 0?void 0:i.indexOf("local"))===-1){this.endpoint=await s.getEndpoint(this.environment,this.market)}if(!this.endpoint){this.endpoint=""}}addEventHandlers(){const t=n(this.fetchData.bind(this,this.postalCodeInputField),1e3);this.postalCodeInputField.addEventListener("keyup",t);this.streetAddressInputField.addEventListener("keyup",this.handleStreetAddressDropdown.bind(this));this.streetNumberInputField.addEventListener("focus",this.handleStreetNumberDropdown.bind(this));this.addFormFieldEvent()}addFormFieldEvent(){const t=this.hostElement.querySelectorAll("input");t.forEach((t=>{["keyup","change"].forEach((i=>{const s=n(this.updateHiddenValue.bind(this),1e3);t.addEventListener(i,s)}))}))}updateHiddenValue(t){if(t.target===this.streetNumberInputField){this.streetNumber=this.streetNumberInputField.value}if(this.postalCode&&this.city&&this.streetAddress&&this.streetNumber){this.fullAddress=`${this.streetAddress} ${this.streetNumber}, ${this.city} ${this.postalCode}`}else{this.fullAddress=""}this.addresscomplete.emit(this.fullAddress)}async fetchData(t,i){var s;if(i){i.preventDefault();if(i.key==="Tab"){if(this.city){return}}}let e="";const l=i&&i.target===this.postalCodeInputField;const o=t===this.streetAddressInputField&&this.city&&this.city.length;const h=t===this.streetNumberInputField&&this.city&&this.city.length&&this.streetAddress&&this.streetAddress.length;if(l){e=this.postalCodeInputField.value;this.streetAdressArr=null;this.streetAddressInputField.value="";this.streetNumberArr=null;this.streetNumberInputField.value="";this.city=null;this.streetAddress=null;this.streetNumber=null}if(o){e=`${this.streetAddressInputField.value}, ${this.city}`;this.streetNumberArr=null;this.streetNumberInputField.value="";this.streetNumber=null}if(h){this.streetAdressArr=null;e=`${this.streetAddress}, ${this.city}`}if(e.length>0){const t=this.endpoint.lastIndexOf("/")===this.endpoint.length-1?this.endpoint.substring(0,this.endpoint.length-1):this.endpoint;const i=`${t}${this.endpointPath}?countryCode=${this.countryCode}&query=${e}`;const n=await this.fetchHelper.fetchJson(i,{mode:"cors"},this.cache);if(n){if(l){this.city=n.postalCodes?(s=n.postalCodes[0])===null||s===void 0?void 0:s.postalCity:null}if(o&&n.addresses){this.postalCode=this.postalCodeInputField.value;this.filterStreetNames(n)}if(h&&n.addresses){this.filterStreetNumbers(n)}}}}async handleStreetAddressDropdown(t){const i=t.target;if(i===this.streetAddressInputField&&i.value.length){if(!this.streetAdressArr||!this.streetAdressArr.length){await this.fetchData(this.streetAddressInputField,null)}}if(!i.value||!i.value.length){this.streetAdressArr=null}if(this.streetAdressArr&&this.streetAdressArr.length){this.autoComplete(t,this.streetAdressArr)}}async handleStreetNumberDropdown(t){t.preventDefault();const i=t.target;if(i===this.streetNumberInputField){if(!this.streetNumberArr||!this.streetNumberArr.length){await this.fetchData(this.streetNumberInputField,null)}if(this.streetNumberArr){this.autoComplete(t,this.streetNumberArr)}}}autoComplete(t,i){const s=t.target;if(i.length<1){return}let e=0;s.addEventListener("input",(()=>{const t=s.value;this.closeAllLists(s);if(!t){return}e=-1;let l=document.createElement("div");l.setAttribute("id","autocomplete-list"+s.name);l.setAttribute("class","autocomplete-items");s.parentElement.appendChild(l);for(let e=0;e<i.length;e++){if(i[e].substring(0,t.length).toUpperCase()==t.toUpperCase()){let o=document.createElement("div");o.innerHTML="<strong>"+i[e].substring(0,t.length)+"</strong>";o.innerHTML+=i[e].substring(t.length);o.innerHTML+="<input type='hidden' value='"+i[e]+"'>";o.addEventListener("click",(t=>{const i=s.closest("pn-marketweb-input");let e=t.target;if(e.nodeName==="STRONG"){e=e.parentElement}i.value=e.getElementsByTagName("input")[0].value;if(s===this.streetNumberInputField){this.streetNumber=i.value}if(s===this.streetAddressInputField){this.streetAddress=i.value}this.closeAllLists(t.target);s.focus()}));l.appendChild(o)}}}));s.addEventListener("keydown",(t=>{const i=document.getElementById("autocomplete-list"+s.name);let l;if(i){l=i.getElementsByTagName("div")}else{l=i}if(t.keyCode==40){e++;this.addActive(l,e)}if(t.keyCode==38){e--;this.addActive(l,e)}if(t.keyCode==13){t.preventDefault();if(e>-1){if(l){l[e].click()}}}}))}closeAllLists(t){const i=document.getElementsByClassName("autocomplete-items");for(let s=0;s<i.length;s++){if(t!=i[s]){i[s].parentNode.removeChild(i[s])}}}addActive(t,i){if(!t)return;this.removeActive(t);if(i>=t.length)i=0;if(i<0)i=t.length-1;t[i].classList.add("autocomplete-active")}removeActive(t){for(let i=0;i<t.length;i++){t[i].classList.remove("autocomplete-active")}}render(){var t,i,l,o,h,n,a,d,u,r,f,c,p,m,v,b,y;return s(e,{key:"31d54cc786afb2a8b9ea3f0122fc146e837e8e97",class:"pn-address-autofill"},((t=this._postalCodeProps)===null||t===void 0?void 0:t.postalCodeCityLabel)?s("div",{class:"label-container"},s("label",null,`${this._postalCodeProps.postalCodeCityLabel}`)):null,s("div",{key:"b4ec3793c6895ba3b52795e80891b842973d6545",class:"input-container-row"},s("pn-marketweb-input",{key:"e1c3e2f0623a2c012c11db7d197f041dbffebcd6",type:"text",name:(i=this._postalCodeProps)===null||i===void 0?void 0:i.postalCodeInputName,required:(l=this._postalCodeProps)===null||l===void 0?void 0:l.postalCodeInputRequired,placeholder:(o=this._postalCodeProps)===null||o===void 0?void 0:o.postalCodeInputPlaceholder,ref:t=>this.pnInputPostalCode=t,autocomplete:"off",helpertext:(h=this._postalCodeProps)===null||h===void 0?void 0:h.postalCodeInputHelpertext}),s("pn-marketweb-input",{key:"3c88411b408874109fc7014b2306549d6f75cfcd",type:"text",name:(n=this._cityProps)===null||n===void 0?void 0:n.cityInputName,disabled:true,value:this.city,placeholder:(a=this._cityProps)===null||a===void 0?void 0:a.cityInputPlaceholder,autocomplete:"off",helpertext:(d=this._cityProps)===null||d===void 0?void 0:d.cityInputHelpertext})),((u=this._streetAddressProps)===null||u===void 0?void 0:u.streetAddressNumberLabel)?s("div",{class:"label-container"},s("label",null,`${this._streetAddressProps.streetAddressNumberLabel}`)):null,s("div",{key:"1f3f232bebd83bff4d31b3b79a86d03117e2136d",class:"input-container-row"},s("pn-marketweb-input",{key:"3fae08f0de34286a23b145ffdf02d63ba63981ab",type:"text",name:(r=this._streetAddressProps)===null||r===void 0?void 0:r.streetAddressInputName,required:(f=this._streetAddressProps)===null||f===void 0?void 0:f.streetAddressInputRequired,value:this.streetAddress,placeholder:(c=this._streetAddressProps)===null||c===void 0?void 0:c.streetAddressInputPlaceholder,ref:t=>this.pnInputStreetAddress=t,autocomplete:"off",helpertext:(p=this._streetAddressProps)===null||p===void 0?void 0:p.streetAddressInputHelpertext}),s("pn-marketweb-input",{key:"9293d6d05fea0fb4df8bfb9a45d608efa6feb202",type:"text",name:(m=this._streetNumberProps)===null||m===void 0?void 0:m.streetNumberInputName,required:(v=this._streetNumberProps)===null||v===void 0?void 0:v.streetNumberInputRequired,value:this.streetNumber,placeholder:(b=this._streetNumberProps)===null||b===void 0?void 0:b.streetNumberInputPlaceholder,ref:t=>this.pnInputStreetNumber=t,autocomplete:"off",helpertext:(y=this._streetNumberProps)===null||y===void 0?void 0:y.streetNumberInputHelpertext})))}get hostElement(){return l(this)}};u.style=d;export{u as pn_address_autofill};
|
|
2
|
-
//# sourceMappingURL=p-fd639f58.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["pnAddressAutofillCss","PnAddressAutofillStyle0","PnAddressAutofill","this","pnInputPostalCode","pnInputCity","pnInputStreetAddress","pnInputStreetNumber","postalCodeInputField","streetAddressInputField","streetNumberInputField","pnInputHiddenValue","endpointPath","_postalCodeProps","_cityProps","_streetAddressProps","_streetNumberProps","fetchHelper","FetchHelper","filterStreetNames","data","addresses","streetAdressArr","forEach","item","postalCode","postalCity","city","includes","street","push","filterStreetNumbers","streetNumbersResult","numberFrom","numberTo","from","parseInt","to","i","nrString","toString","streetNumberArr","componentWillLoad","setInitialValues","setProps","postalCodeProps","cityProps","streetAddressProps","streetNumberProps","props","JSON","parse","componentDidLoad","querySelector","addEventHandlers","href","window","location","marketWebContextService","MarketWebContextService","environment","getEnvironmentName","endpoint","_a","indexOf","getEndpoint","market","postalCodeSearch","debounce","fetchData","bind","addEventListener","handleStreetAddressDropdown","handleStreetNumberDropdown","addFormFieldEvent","allInputs","hostElement","querySelectorAll","element","eventName","debounceUpdate","updateHiddenValue","e","target","streetNumber","value","streetAddress","fullAddress","addresscomplete","emit","field","preventDefault","key","query","isPostalCodeSearch","isStreetAddressSearch","length","isStreetNumberSearch","endpointBase","lastIndexOf","substring","fetchUrl","countryCode","fetchJson","mode","cache","postalCodes","autoComplete","arr","inputField","currentFocus","val","closeAllLists","list","document","createElement","setAttribute","name","parentElement","appendChild","toUpperCase","option","innerHTML","clickEvent","inputParrent","closest","eventTarget","nodeName","getElementsByTagName","focus","keydownEvent","listElement","getElementById","keyCode","addActive","click","elmnt","lists","getElementsByClassName","parentNode","removeChild","removeActive","classList","add","remove","render","h","Host","class","postalCodeCityLabel","type","_b","postalCodeInputName","required","_c","postalCodeInputRequired","placeholder","_d","postalCodeInputPlaceholder","ref","el","autocomplete","helpertext","_e","postalCodeInputHelpertext","_f","cityInputName","disabled","_g","cityInputPlaceholder","_h","cityInputHelpertext","_j","streetAddressNumberLabel","_k","streetAddressInputName","_l","streetAddressInputRequired","_m","streetAddressInputPlaceholder","_o","streetAddressInputHelpertext","_p","streetNumberInputName","_q","streetNumberInputRequired","_r","streetNumberInputPlaceholder","_s","streetNumberInputHelpertext"],"sources":["src/components/input/pn-address-autofill/pn-address-autofill.scss?tag=pn-address-autofill","src/components/input/pn-address-autofill/pn-address-autofill.tsx"],"sourcesContent":["@import '../../../globals/main.scss';\n\npn-address-autofill {\n pn-marketweb-input {\n width: 50%;\n }\n\n .input-container-row {\n display: flex;\n //flex-grow: 1;\n gap: 1rem;\n margin-bottom: 1rem;\n }\n\n .label-container {\n color: $gray700;\n font-size: 0.875em;\n display: flex;\n justify-content: space-between;\n align-items: flex-end;\n }\n\n .autocomplete-items {\n position: absolute;\n border-radius: 0.8rem;\n border: 0.1rem solid $gray700;\n width: 100%;\n max-height: 30rem;\n overflow-y: auto;\n\n &:hover,\n :focus {\n border: 0.1rem solid $blue400;\n }\n\n div {\n padding: 1.6rem;\n cursor: pointer;\n background-color: #fff;\n border: 0.1rem solid transparent;\n\n &:first-child {\n border-radius: 0.8rem 0.8rem 0 0;\n }\n\n &:last-child {\n border-radius: 0 0 0.8rem 0.8rem;\n }\n\n &:hover {\n background-color: #e0f8ff;\n }\n }\n\n .autocomplete-active {\n background-color: #e0f8ff;\n }\n }\n}\n","import { Component, Prop, h, Element, State, Host, EventEmitter, Event } from '@stencil/core';\nimport { MarketWebContextService } from '../../../globals/MarketWebContextService';\nimport { FetchHelper } from '../../../globals/FetchHelper';\nimport { Root, PostalCodeProps, CityProps, StreetAddressProps, StreetNumberProps } from './types';\nimport debounce from 'debounce';\n\n@Component({\n tag: 'pn-address-autofill',\n styleUrl: 'pn-address-autofill.scss',\n})\nexport class PnAddressAutofill {\n @Element() hostElement: Element;\n pnInputPostalCode: HTMLElement = null;\n pnInputCity: HTMLElement = null;\n pnInputStreetAddress: HTMLElement = null;\n pnInputStreetNumber: HTMLElement = null;\n postalCodeInputField: HTMLInputElement = null;\n streetAddressInputField: HTMLInputElement = null;\n streetNumberInputField: HTMLInputElement = null;\n pnInputHiddenValue: HTMLElement = null;\n endpointPath = '/api/location/get-by-location';\n private _postalCodeProps: PostalCodeProps = null;\n private _cityProps: CityProps = null;\n private _streetAddressProps: StreetAddressProps = null;\n private _streetNumberProps: StreetNumberProps = null;\n\n /** Specifies which market we want to show (se,dk,fi,no,com) */\n @Prop({ mutable: true, reflect: true }) market: string = null; //se\n /** Specifies which environment we're fetching data from. (production, preproduction, integration, localhost) */\n @Prop({ mutable: true, reflect: true }) environment: string = null; //sv\n @Prop() endpoint: string = null;\n @Prop() cache: boolean = true;\n @Prop() countryCode: string = null;\n @Prop() postalCodeProps: string | PostalCodeProps = null;\n @Prop() cityProps: string | CityProps = null;\n @Prop() streetAddressProps: string | StreetAddressProps = null;\n @Prop() streetNumberProps: string | StreetNumberProps = null;\n\n @State() streetAdressArr: string[] = null;\n @State() streetNumberArr: string[] = null;\n @State() city: string = null;\n @State() postalCode: string = null;\n @State() streetAddress: string = null;\n @State() streetNumber: string = null;\n @State() fullAddress: string = null;\n\n @Event() addresscomplete: EventEmitter<string>;\n\n fetchHelper = new FetchHelper('PostalCodeCityAutofill');\n\n componentWillLoad() {\n this.setInitialValues();\n this._postalCodeProps = this.setProps(this.postalCodeProps);\n this._cityProps = this.setProps(this.cityProps);\n this._streetAddressProps = this.setProps(this.streetAddressProps);\n this._streetNumberProps = this.setProps(this.streetNumberProps);\n }\n\n setProps(props) {\n if (typeof props === 'string') {\n return JSON.parse(props);\n } else {\n return props;\n }\n }\n\n componentDidLoad() {\n this.postalCodeInputField = this.pnInputPostalCode.querySelector('input');\n this.streetAddressInputField = this.pnInputStreetAddress.querySelector('input');\n this.streetNumberInputField = this.pnInputStreetNumber.querySelector('input');\n this.addEventHandlers();\n }\n\n async setInitialValues(href = window.location.href) {\n const marketWebContextService = new MarketWebContextService(href);\n if (!this.environment) {\n this.environment = await marketWebContextService.getEnvironmentName();\n }\n\n if (!this.endpoint && this.environment?.indexOf('local') === -1) {\n this.endpoint = await marketWebContextService.getEndpoint(this.environment, this.market);\n }\n\n if (!this.endpoint) {\n this.endpoint = '';\n }\n }\n\n addEventHandlers() {\n const postalCodeSearch = debounce(this.fetchData.bind(this, this.postalCodeInputField), 1000);\n this.postalCodeInputField.addEventListener('keyup', postalCodeSearch);\n this.streetAddressInputField.addEventListener('keyup', this.handleStreetAddressDropdown.bind(this));\n this.streetNumberInputField.addEventListener('focus', this.handleStreetNumberDropdown.bind(this));\n this.addFormFieldEvent();\n }\n\n addFormFieldEvent() {\n const allInputs = this.hostElement.querySelectorAll('input');\n allInputs.forEach(element => {\n ['keyup', 'change'].forEach(eventName => {\n const debounceUpdate = debounce(this.updateHiddenValue.bind(this), 1000);\n element.addEventListener(eventName, debounceUpdate);\n });\n });\n }\n\n updateHiddenValue(e) {\n if (e.target === this.streetNumberInputField) {\n this.streetNumber = this.streetNumberInputField.value;\n }\n\n if (this.postalCode && this.city && this.streetAddress && this.streetNumber) {\n this.fullAddress = `${this.streetAddress} ${this.streetNumber}, ${this.city} ${this.postalCode}`;\n } else {\n this.fullAddress = '';\n }\n\n this.addresscomplete.emit(this.fullAddress);\n }\n\n async fetchData(field, e: KeyboardEvent) {\n if (e) {\n e.preventDefault();\n\n if (e.key === 'Tab') {\n if (this.city) {\n return;\n }\n }\n }\n\n let query = '';\n const isPostalCodeSearch = e && e.target === this.postalCodeInputField;\n const isStreetAddressSearch = field === this.streetAddressInputField && this.city && this.city.length;\n const isStreetNumberSearch = field === this.streetNumberInputField && this.city && this.city.length && this.streetAddress && this.streetAddress.length;\n\n if (isPostalCodeSearch) {\n query = this.postalCodeInputField.value;\n this.streetAdressArr = null;\n this.streetAddressInputField.value = '';\n this.streetNumberArr = null;\n this.streetNumberInputField.value = '';\n this.city = null;\n this.streetAddress = null;\n this.streetNumber = null;\n }\n if (isStreetAddressSearch) {\n query = `${this.streetAddressInputField.value}, ${this.city}`;\n this.streetNumberArr = null;\n this.streetNumberInputField.value = '';\n this.streetNumber = null;\n }\n if (isStreetNumberSearch) {\n this.streetAdressArr = null;\n query = `${this.streetAddress}, ${this.city}`;\n }\n\n if (query.length > 0) {\n const endpointBase = this.endpoint.lastIndexOf('/') === this.endpoint.length - 1 ? this.endpoint.substring(0, this.endpoint.length - 1) : this.endpoint;\n const fetchUrl = `${endpointBase}${this.endpointPath}?countryCode=${this.countryCode}&query=${query}`;\n const data = (await this.fetchHelper.fetchJson(\n fetchUrl,\n {\n mode: 'cors',\n },\n this.cache,\n )) as Root;\n\n if (data) {\n if (isPostalCodeSearch) {\n this.city = data.postalCodes ? data.postalCodes[0]?.postalCity : null;\n }\n\n if (isStreetAddressSearch && data.addresses) {\n this.postalCode = this.postalCodeInputField.value;\n this.filterStreetNames(data);\n }\n\n if (isStreetNumberSearch && data.addresses) {\n this.filterStreetNumbers(data);\n }\n }\n }\n }\n\n filterStreetNames = (data: Root) => {\n const addresses: string[] = [];\n this.streetAdressArr = null;\n data.addresses.forEach(item => {\n if (item.postalCode.postalCity === this.city && !addresses.includes(item.street)) {\n addresses.push(item.street);\n }\n });\n this.streetAdressArr = addresses;\n };\n\n filterStreetNumbers = (data: Root) => {\n const streetNumbersResult: string[] = [];\n data.addresses.forEach(item => {\n if (item.postalCode.postalCode === this.postalCode) {\n const { numberFrom, numberTo } = item;\n const from = parseInt(numberFrom);\n const to = parseInt(numberTo);\n\n for (let i = from; i <= to; i++) {\n const nrString = i.toString();\n if (!streetNumbersResult.includes(nrString)) {\n streetNumbersResult.push(i.toString());\n }\n }\n }\n });\n this.streetNumberArr = streetNumbersResult;\n };\n\n async handleStreetAddressDropdown(e) {\n const target = e.target;\n\n if (target === this.streetAddressInputField && target.value.length) {\n if (!this.streetAdressArr || !this.streetAdressArr.length) {\n await this.fetchData(this.streetAddressInputField, null);\n }\n }\n\n if (!target.value || !target.value.length) {\n this.streetAdressArr = null;\n }\n\n if (this.streetAdressArr && this.streetAdressArr.length) {\n this.autoComplete(e, this.streetAdressArr);\n }\n }\n\n async handleStreetNumberDropdown(e) {\n e.preventDefault();\n const target = e.target;\n\n if (target === this.streetNumberInputField) {\n if (!this.streetNumberArr || !this.streetNumberArr.length) {\n await this.fetchData(this.streetNumberInputField, null);\n }\n if (this.streetNumberArr) {\n this.autoComplete(e, this.streetNumberArr);\n }\n }\n }\n\n autoComplete(e, arr: string[]) {\n const inputField = e.target;\n if (arr.length < 1) {\n return;\n }\n\n let currentFocus = 0;\n\n inputField.addEventListener('input', () => {\n const val = inputField.value;\n this.closeAllLists(inputField);\n\n if (!val) {\n return;\n }\n\n currentFocus = -1;\n let list = document.createElement('div');\n list.setAttribute('id', 'autocomplete-list' + inputField.name);\n list.setAttribute('class', 'autocomplete-items');\n inputField.parentElement.appendChild(list);\n for (let i = 0; i < arr.length; i++) {\n if (arr[i].substring(0, val.length).toUpperCase() == val.toUpperCase()) {\n let option = document.createElement('div');\n option.innerHTML = '<strong>' + arr[i].substring(0, val.length) + '</strong>';\n option.innerHTML += arr[i].substring(val.length);\n option.innerHTML += \"<input type='hidden' value='\" + arr[i] + \"'>\";\n option.addEventListener('click', clickEvent => {\n const inputParrent = inputField.closest('pn-marketweb-input');\n let eventTarget = clickEvent.target as HTMLElement;\n if (eventTarget.nodeName === 'STRONG') {\n eventTarget = eventTarget.parentElement;\n }\n inputParrent.value = eventTarget.getElementsByTagName('input')[0].value;\n\n if (inputField === this.streetNumberInputField) {\n this.streetNumber = inputParrent.value;\n }\n if (inputField === this.streetAddressInputField) {\n this.streetAddress = inputParrent.value;\n }\n\n this.closeAllLists(clickEvent.target);\n inputField.focus();\n });\n\n list.appendChild(option);\n }\n }\n });\n\n inputField.addEventListener('keydown', keydownEvent => {\n const listElement = document.getElementById('autocomplete-list' + inputField.name);\n let element;\n if (listElement) {\n element = listElement.getElementsByTagName('div');\n } else {\n element = listElement;\n }\n\n //If arrow DOWN key is pressed\n if (keydownEvent.keyCode == 40) {\n currentFocus++;\n this.addActive(element, currentFocus);\n }\n\n //If the arrow UP key is pressed\n if (keydownEvent.keyCode == 38) {\n currentFocus--;\n this.addActive(element, currentFocus);\n }\n\n //If the ENTER key is pressed\n if (keydownEvent.keyCode == 13) {\n keydownEvent.preventDefault();\n if (currentFocus > -1) {\n if (element) {\n element[currentFocus].click();\n }\n }\n }\n });\n }\n\n //close all autocomplete lists in the document, except the one passed as an argument:\n closeAllLists(elmnt) {\n const lists = document.getElementsByClassName('autocomplete-items');\n for (let i = 0; i < lists.length; i++) {\n if (elmnt != lists[i]) {\n lists[i].parentNode.removeChild(lists[i]);\n }\n }\n }\n\n //a function to classify an item as \"active\":\n addActive(elmnt, currentFocus) {\n if (!elmnt) return;\n this.removeActive(elmnt);\n if (currentFocus >= elmnt.length) currentFocus = 0;\n if (currentFocus < 0) currentFocus = elmnt.length - 1;\n elmnt[currentFocus].classList.add('autocomplete-active');\n }\n\n //a function to remove the \"active\" class from all autocomplete items:\n removeActive(elmnt) {\n for (let i = 0; i < elmnt.length; i++) {\n elmnt[i].classList.remove('autocomplete-active');\n }\n }\n\n render() {\n return (\n <Host class=\"pn-address-autofill\">\n {this._postalCodeProps?.postalCodeCityLabel ? (\n <div class=\"label-container\">\n <label>{`${this._postalCodeProps.postalCodeCityLabel}`}</label>\n </div>\n ) : null}\n <div class=\"input-container-row\">\n <pn-marketweb-input\n type=\"text\"\n name={this._postalCodeProps?.postalCodeInputName}\n required={this._postalCodeProps?.postalCodeInputRequired}\n placeholder={this._postalCodeProps?.postalCodeInputPlaceholder}\n ref={el => (this.pnInputPostalCode = el as HTMLElement)}\n autocomplete=\"off\"\n helpertext={this._postalCodeProps?.postalCodeInputHelpertext}\n ></pn-marketweb-input>\n\n <pn-marketweb-input\n type=\"text\"\n name={this._cityProps?.cityInputName}\n disabled\n value={this.city}\n placeholder={this._cityProps?.cityInputPlaceholder}\n autocomplete=\"off\"\n helpertext={this._cityProps?.cityInputHelpertext}\n ></pn-marketweb-input>\n </div>\n\n {this._streetAddressProps?.streetAddressNumberLabel ? (\n <div class=\"label-container\">\n <label>{`${this._streetAddressProps.streetAddressNumberLabel}`}</label>\n </div>\n ) : null}\n <div class=\"input-container-row\">\n <pn-marketweb-input\n type=\"text\"\n name={this._streetAddressProps?.streetAddressInputName}\n required={this._streetAddressProps?.streetAddressInputRequired}\n value={this.streetAddress}\n placeholder={this._streetAddressProps?.streetAddressInputPlaceholder}\n ref={el => (this.pnInputStreetAddress = el as HTMLElement)}\n autocomplete=\"off\"\n helpertext={this._streetAddressProps?.streetAddressInputHelpertext}\n ></pn-marketweb-input>\n\n <pn-marketweb-input\n type=\"text\"\n name={this._streetNumberProps?.streetNumberInputName}\n required={this._streetNumberProps?.streetNumberInputRequired}\n value={this.streetNumber}\n placeholder={this._streetNumberProps?.streetNumberInputPlaceholder}\n ref={el => (this.pnInputStreetNumber = el as HTMLElement)}\n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