@postnord/pn-marketweb-components 3.5.2 → 4.0.0
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-2d4c697c.js +85 -0
- package/cjs/FetchHelper-2d4c697c.js.map +1 -0
- package/cjs/HeadingTag-19376e1f.js +12 -0
- package/cjs/HeadingTag-19376e1f.js.map +1 -0
- package/cjs/LocalStorageService-e1ee3fac.js +66 -0
- package/cjs/LocalStorageService-e1ee3fac.js.map +1 -0
- package/cjs/{FetchHelper-e951824f.js → MarketWebContextService-0fdc43c8.js} +1 -82
- package/cjs/MarketWebContextService-0fdc43c8.js.map +1 -0
- package/cjs/alert_exclamation_circle-24f29a5b.js +8 -0
- package/cjs/alert_exclamation_circle-24f29a5b.js.map +1 -0
- package/cjs/angle_up-049ec1d8.js +12 -0
- package/cjs/angle_up-049ec1d8.js.map +1 -0
- package/cjs/close-9e014a80.js +8 -0
- package/cjs/close-9e014a80.js.map +1 -0
- package/cjs/{index-1d8c9211.js → index-4067c6a5.js} +2 -2
- package/cjs/{index-1d8c9211.js.map → index-4067c6a5.js.map} +1 -1
- package/cjs/{index-34e1c673.js → index-b02670c2.js} +65 -8
- package/cjs/index-b02670c2.js.map +1 -0
- package/cjs/index.cjs.js +1 -1
- package/cjs/loader.cjs.js +2 -2
- package/cjs/pn-address-autofill.cjs.entry.js +51 -75
- package/cjs/pn-address-autofill.cjs.entry.js.map +1 -1
- package/cjs/pn-animated-tile.cjs.entry.js +2 -2
- package/cjs/pn-animated-tile.cjs.entry.js.map +1 -1
- package/cjs/pn-app-banner.cjs.entry.js +3 -3
- package/cjs/pn-app-banner.cjs.entry.js.map +1 -1
- package/cjs/pn-bonus-progressbar-level.cjs.entry.js +2 -2
- package/cjs/pn-bonus-progressbar-level.cjs.entry.js.map +1 -1
- package/cjs/pn-bonus-progressbar.cjs.entry.js +2 -2
- package/cjs/pn-bonus-progressbar.cjs.entry.js.map +1 -1
- package/cjs/pn-breakpoints.cjs.entry.js +3 -3
- package/cjs/pn-breakpoints.cjs.entry.js.map +1 -1
- package/cjs/pn-chart.cjs.entry.js +2 -2
- package/cjs/pn-chart.cjs.entry.js.map +1 -1
- package/cjs/pn-charts-card.cjs.entry.js +2 -2
- package/cjs/pn-charts-card.cjs.entry.js.map +1 -1
- package/cjs/pn-chat-message_2.cjs.entry.js +346 -0
- package/cjs/pn-chat-message_2.cjs.entry.js.map +1 -0
- package/cjs/pn-chat.cjs.entry.js +474 -0
- package/cjs/pn-chat.cjs.entry.js.map +1 -0
- package/cjs/pn-chat.service-eaf6ed50.js +157 -0
- package/cjs/pn-chat.service-eaf6ed50.js.map +1 -0
- package/cjs/pn-choice-button.cjs.entry.js +2 -2
- package/cjs/pn-choice-button.cjs.entry.js.map +1 -1
- package/cjs/pn-cta-block.cjs.entry.js +2 -2
- package/cjs/pn-cta-block.cjs.entry.js.map +1 -1
- package/cjs/pn-customernumber-selector-option.cjs.entry.js +3 -3
- package/cjs/pn-customernumber-selector-option.cjs.entry.js.map +1 -1
- package/cjs/pn-customernumber-selector.cjs.entry.js +4 -9
- package/cjs/pn-customernumber-selector.cjs.entry.js.map +1 -1
- package/cjs/pn-date-and-time.cjs.entry.js +2 -2
- package/cjs/pn-date-and-time.cjs.entry.js.map +1 -1
- package/cjs/pn-dropdown-choice-adds-row.cjs.entry.js +20 -8
- 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 +2 -2
- 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 +2 -2
- package/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js.map +1 -1
- package/cjs/pn-filter-checkbox.cjs.entry.js +2 -2
- package/cjs/pn-filter-checkbox.cjs.entry.js.map +1 -1
- package/cjs/pn-find-price-result.cjs.entry.js +5 -5
- package/cjs/pn-find-price-result.cjs.entry.js.map +1 -1
- package/cjs/{pn-find-price-store-051e931b.js → pn-find-price-store-0c8256c7.js} +2 -2
- package/cjs/{pn-find-price-store-051e931b.js.map → pn-find-price-store-0c8256c7.js.map} +1 -1
- package/cjs/pn-find-price.cjs.entry.js +6 -6
- package/cjs/pn-find-price.cjs.entry.js.map +1 -1
- package/cjs/pn-find-service-and-price-result.cjs.entry.js +5 -5
- package/cjs/pn-find-service-and-price-result.cjs.entry.js.map +1 -1
- package/cjs/{pn-find-service-and-price-store-3cec3d31.js → pn-find-service-and-price-store-13f060e0.js} +2 -2
- package/cjs/{pn-find-service-and-price-store-3cec3d31.js.map → pn-find-service-and-price-store-13f060e0.js.map} +1 -1
- package/cjs/pn-find-service-and-price.cjs.entry.js +5 -5
- 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 +25 -27
- package/cjs/pn-language-selector_9.cjs.entry.js.map +1 -1
- package/cjs/pn-level-up-modal.cjs.entry.js +77 -0
- package/cjs/pn-level-up-modal.cjs.entry.js.map +1 -0
- package/cjs/pn-level-up.cjs.entry.js +139 -0
- package/cjs/pn-level-up.cjs.entry.js.map +1 -0
- package/cjs/pn-level-up.service-0e8e67c2.js +71 -0
- package/cjs/pn-level-up.service-0e8e67c2.js.map +1 -0
- package/cjs/pn-line-shape.cjs.entry.js +2 -2
- package/cjs/pn-line-shape.cjs.entry.js.map +1 -1
- package/cjs/pn-link-list.cjs.entry.js +3 -3
- package/cjs/pn-link-list.cjs.entry.js.map +1 -1
- package/cjs/pn-mainnav-link.cjs.entry.js +5 -5
- package/cjs/pn-mainnav-link.cjs.entry.js.map +1 -1
- package/cjs/{pn-mainnav-store-1a8153fd.js → pn-mainnav-store-5732f3ca.js} +2 -2
- package/cjs/{pn-mainnav-store-1a8153fd.js.map → pn-mainnav-store-5732f3ca.js.map} +1 -1
- package/cjs/pn-market-web-components.cjs.js +2 -2
- package/cjs/pn-marketweb-icon.cjs.entry.js +3 -3
- package/cjs/pn-marketweb-icon.cjs.entry.js.map +1 -1
- package/cjs/pn-marketweb-input.cjs.entry.js +4 -6
- package/cjs/pn-marketweb-input.cjs.entry.js.map +1 -1
- package/cjs/pn-marketweb-search.cjs.entry.js +6 -5
- package/cjs/pn-marketweb-search.cjs.entry.js.map +1 -1
- package/cjs/pn-marketweb-sitefooter.cjs.entry.js +7 -10
- package/cjs/pn-marketweb-sitefooter.cjs.entry.js.map +1 -1
- package/cjs/{pn-marketweb-siteheader-login-button_5.cjs.entry.js → pn-marketweb-siteheader-login-button_4.cjs.entry.js} +8 -26
- package/cjs/pn-marketweb-siteheader-login-button_4.cjs.entry.js.map +1 -0
- package/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js +4 -4
- package/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js.map +1 -1
- package/cjs/pn-marketweb-siteheader-login-mypage-button.cjs.entry.js +25 -0
- package/cjs/pn-marketweb-siteheader-login-mypage-button.cjs.entry.js.map +1 -0
- package/cjs/{pn-marketweb-siteheader-store-75853609.js → pn-marketweb-siteheader-store-ce9d9ac7.js} +2 -2
- package/cjs/{pn-marketweb-siteheader-store-75853609.js.map → pn-marketweb-siteheader-store-ce9d9ac7.js.map} +1 -1
- package/cjs/pn-marketweb-siteheader.cjs.entry.js +11 -10
- package/cjs/pn-marketweb-siteheader.cjs.entry.js.map +1 -1
- package/cjs/pn-marketweb-table.cjs.entry.js +459 -0
- package/cjs/pn-marketweb-table.cjs.entry.js.map +1 -0
- package/cjs/pn-media-block.cjs.entry.js +6 -6
- package/cjs/pn-media-block.cjs.entry.js.map +1 -1
- package/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js +2 -2
- package/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js.map +1 -1
- package/cjs/pn-multi-row-connected-dropdown.cjs.entry.js +2 -2
- package/cjs/pn-multi-row-connected-dropdown.cjs.entry.js.map +1 -1
- package/cjs/pn-multiple-input.cjs.entry.js +1 -1
- package/cjs/pn-parcel-tracker.cjs.entry.js +2 -2
- package/cjs/pn-parcel-tracker.cjs.entry.js.map +1 -1
- package/cjs/pn-pex-pricefinder.cjs.entry.js +3 -3
- package/cjs/pn-pex-pricefinder.cjs.entry.js.map +1 -1
- package/cjs/pn-play-on-scroll.cjs.entry.js +1 -1
- package/cjs/pn-product-card_3.cjs.entry.js +5 -5
- package/cjs/pn-product-card_3.cjs.entry.js.map +1 -1
- package/cjs/pn-product-pricelist-result.cjs.entry.js +4 -4
- package/cjs/pn-product-pricelist-result.cjs.entry.js.map +1 -1
- package/cjs/pn-product-pricelist.cjs.entry.js +6 -6
- package/cjs/pn-product-pricelist.cjs.entry.js.map +1 -1
- package/cjs/pn-product-tile-info_2.cjs.entry.js +4 -4
- package/cjs/pn-product-tile-info_2.cjs.entry.js.map +1 -1
- package/cjs/pn-product-tile.cjs.entry.js +3 -3
- package/cjs/pn-product-tile.cjs.entry.js.map +1 -1
- package/cjs/pn-profile-modal-customernumber.cjs.entry.js +3 -3
- package/cjs/pn-profile-modal-customernumber.cjs.entry.js.map +1 -1
- package/cjs/pn-profile-modal-profile.cjs.entry.js +6 -6
- package/cjs/pn-profile-modal-profile.cjs.entry.js.map +1 -1
- package/cjs/{pn-profile-modal-store-3b6fea24.js → pn-profile-modal-store-16f8092a.js} +2 -2
- package/cjs/{pn-profile-modal-store-3b6fea24.js.map → pn-profile-modal-store-16f8092a.js.map} +1 -1
- package/cjs/pn-profile-modal-type.cjs.entry.js +5 -5
- package/cjs/pn-profile-modal-type.cjs.entry.js.map +1 -1
- package/cjs/pn-profile-modal.cjs.entry.js +5 -5
- package/cjs/pn-profile-modal.cjs.entry.js.map +1 -1
- package/cjs/pn-profile-selector-option.cjs.entry.js +3 -3
- package/cjs/pn-profile-selector-option.cjs.entry.js.map +1 -1
- package/cjs/pn-profile-selector.cjs.entry.js +3 -3
- package/cjs/pn-profile-selector.cjs.entry.js.map +1 -1
- package/cjs/pn-proxio-findprice-result.cjs.entry.js +3 -3
- package/cjs/pn-proxio-findprice-result.cjs.entry.js.map +1 -1
- package/cjs/pn-proxio-findprice.cjs.entry.js +9 -8
- package/cjs/pn-proxio-findprice.cjs.entry.js.map +1 -1
- package/cjs/pn-proxio-pricegroup.cjs.entry.js +6 -5
- package/cjs/pn-proxio-pricegroup.cjs.entry.js.map +1 -1
- package/cjs/pn-proxio-productcard_4.cjs.entry.js +8 -8
- package/cjs/pn-proxio-productcard_4.cjs.entry.js.map +1 -1
- package/cjs/pn-qr-code-generator.cjs.entry.js +2945 -0
- package/cjs/pn-qr-code-generator.cjs.entry.js.map +1 -0
- package/cjs/pn-quick-cta.cjs.entry.js +2 -2
- package/cjs/pn-quick-cta.cjs.entry.js.map +1 -1
- package/cjs/pn-quote-card.cjs.entry.js +2 -2
- package/cjs/pn-quote-card.cjs.entry.js.map +1 -1
- package/cjs/pn-scroll_2.cjs.entry.js +2 -2
- package/cjs/pn-scroll_2.cjs.entry.js.map +1 -1
- package/cjs/pn-search.cjs.entry.js +54 -0
- package/cjs/pn-search.cjs.entry.js.map +1 -0
- package/cjs/pn-share-item.cjs.entry.js +2 -2
- package/cjs/pn-share-item.cjs.entry.js.map +1 -1
- package/cjs/pn-share.cjs.entry.js +2 -2
- package/cjs/pn-share.cjs.entry.js.map +1 -1
- package/cjs/pn-sidenav-level.cjs.entry.js +5 -5
- package/cjs/pn-sidenav-level.cjs.entry.js.map +1 -1
- package/cjs/pn-sidenav-link.cjs.entry.js +5 -5
- package/cjs/pn-sidenav-link.cjs.entry.js.map +1 -1
- package/cjs/{pn-sidenav-store-cf9c4996.js → pn-sidenav-store-236c8806.js} +2 -2
- package/cjs/{pn-sidenav-store-cf9c4996.js.map → pn-sidenav-store-236c8806.js.map} +1 -1
- package/cjs/pn-sidenav-togglebutton.cjs.entry.js +5 -5
- package/cjs/pn-sidenav-togglebutton.cjs.entry.js.map +1 -1
- package/cjs/pn-sidenav.cjs.entry.js +5 -5
- package/cjs/pn-sidenav.cjs.entry.js.map +1 -1
- package/cjs/pn-site-footer_3.cjs.entry.js +7 -7
- package/cjs/pn-site-footer_3.cjs.entry.js.map +1 -1
- package/cjs/pn-spotlight.cjs.entry.js +2 -2
- package/cjs/pn-spotlight.cjs.entry.js.map +1 -1
- package/cjs/pn-stats-info-data.cjs.entry.js +2 -2
- package/cjs/pn-stats-info-data.cjs.entry.js.map +1 -1
- package/cjs/pn-stats-info.cjs.entry.js +2 -2
- package/cjs/pn-stats-info.cjs.entry.js.map +1 -1
- package/cjs/pn-teaser-card.cjs.entry.js +5 -9
- package/cjs/pn-teaser-card.cjs.entry.js.map +1 -1
- package/cjs/pn-titletag.cjs.entry.js +3 -3
- package/cjs/pn-titletag.cjs.entry.js.map +1 -1
- package/cjs/pn-usp-promoter.cjs.entry.js +3 -3
- package/cjs/pn-usp-promoter.cjs.entry.js.map +1 -1
- package/cjs/pn-usp-simple.cjs.entry.js +56 -0
- package/cjs/pn-usp-simple.cjs.entry.js.map +1 -0
- package/collection/collection-manifest.json +10 -1
- package/collection/components/animation/pn-animated-tile/pn-animated-tile.css +25 -0
- package/collection/components/animation/pn-play-on-scroll/pn-video-overlay/pn-video-overlay.css +25 -0
- package/collection/components/cards/pn-quote-card/pn-line-shape/pn-line-shape.css +25 -0
- package/collection/components/cards/pn-quote-card/pn-quote-card.css +25 -0
- package/collection/components/cards/pn-teaser-card/pn-teaser-card.css +25 -0
- package/collection/components/cards/pn-teaser-card/pn-teaser-card.js +8 -11
- package/collection/components/cards/pn-teaser-card/pn-teaser-card.js.map +1 -1
- package/collection/components/cards/pn-teaser-card/pn-teaser-card.stories.js +3 -3
- package/collection/components/charts/pn-chart/pn-chart.css +25 -0
- package/collection/components/charts/pn-charts-card/pn-charts-card.css +25 -0
- package/collection/components/cta/pn-cta-block/pn-cta-block.css +25 -0
- package/collection/components/cta/pn-parcel-tracker/pn-parcel-tracker.css +25 -0
- package/collection/components/cta/pn-quick-cta/pn-quick-cta.css +25 -0
- package/collection/components/cta/pn-share/pn-share-item.css +25 -0
- package/collection/components/cta/pn-share/pn-share.css +25 -0
- package/collection/components/cta/pn-spotlight/pn-spotlight.css +25 -0
- package/collection/components/data-visualization/pn-stats-info/pn-stats-info-data/pn-stats-info-data.css +25 -0
- package/collection/components/data-visualization/pn-stats-info/pn-stats-info.css +25 -0
- package/collection/components/input/pn-address-autofill/pn-address-autofill.css +31 -1
- package/collection/components/input/pn-address-autofill/pn-address-autofill.js +58 -68
- package/collection/components/input/pn-address-autofill/pn-address-autofill.js.map +1 -1
- package/collection/components/input/pn-address-autofill/pn-address-autofill.stories.js +2 -1
- package/collection/components/input/pn-address-autofill/translations.js +6 -3
- package/collection/components/input/pn-address-autofill/translations.js.map +1 -1
- package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar-level.css +25 -0
- package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar.css +25 -0
- package/collection/components/input/pn-choice-button/pn-choice-button.css +25 -0
- package/collection/components/input/pn-date-and-time/pn-date-and-time.css +25 -0
- package/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.css +25 -0
- package/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.js +18 -6
- package/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.js.map +1 -1
- package/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows-row.css +25 -0
- package/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows.css +25 -0
- package/collection/components/input/pn-filter-checkbox/pn-filter-checkbox.css +25 -0
- package/collection/components/input/pn-marketweb-input/pn-marketweb-input.css +25 -0
- package/collection/components/input/pn-marketweb-search/pn-marketweb-search.css +25 -0
- package/collection/components/input/pn-marketweb-search/pn-marketweb-search.js +4 -3
- 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.css +25 -0
- package/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown.css +25 -0
- package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.css +50 -0
- package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js +1 -1
- 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-linklist.css +25 -0
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-links.css +25 -0
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.css +25 -0
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.js +1 -0
- 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.css +25 -0
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js +1 -1
- 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.css +25 -0
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js +1 -37
- 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.css +25 -0
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +4 -4
- package/collection/components/media/pn-media-block/pn-media-block.css +25 -0
- package/collection/components/media/pn-media-block/pn-media-block.js +8 -8
- package/collection/components/media/pn-media-block/pn-media-block.js.map +1 -1
- package/collection/components/media/pn-media-block/pn-media-block.stories.js +76 -76
- package/collection/components/minor/pn-app-banner/pn-app-banner.css +25 -0
- package/collection/components/minor/pn-app-banner/pn-app-banner.js +1 -1
- package/collection/components/minor/pn-marketweb-icon/pn-marketweb-icon.css +25 -0
- package/collection/components/minor/pn-marketweb-icon/pn-marketweb-icon.js +1 -1
- package/collection/components/minor/pn-swan/pn-swan.css +25 -0
- package/collection/components/minor/pn-swan/pn-swan.js +1 -1
- package/collection/components/minor/pn-titletag/pn-titletag.css +25 -0
- package/collection/components/minor/pn-titletag/pn-titletag.js +1 -1
- package/collection/components/navigation/pn-language-selector/pn-language-selector-option.css +50 -0
- package/collection/components/navigation/pn-language-selector/pn-language-selector-option.js +1 -1
- package/collection/components/navigation/pn-language-selector/pn-language-selector.css +50 -0
- package/collection/components/navigation/pn-language-selector/pn-language-selector.js +1 -1
- package/collection/components/navigation/pn-mainnav/pn-mainnav-level.css +25 -0
- package/collection/components/navigation/pn-mainnav/pn-mainnav-level.js +2 -2
- package/collection/components/navigation/pn-mainnav/pn-mainnav-link.css +25 -0
- package/collection/components/navigation/pn-mainnav/pn-mainnav-link.js +1 -1
- package/collection/components/navigation/pn-mainnav/pn-mainnav-list.css +25 -0
- package/collection/components/navigation/pn-mainnav/pn-mainnav-list.js +1 -1
- package/collection/components/navigation/pn-mainnav/pn-mainnav.css +25 -0
- package/collection/components/navigation/pn-mainnav/pn-mainnav.js +1 -1
- package/collection/components/navigation/pn-sidenav/pn-sidenav-level.css +25 -0
- package/collection/components/navigation/pn-sidenav/pn-sidenav-level.js +1 -1
- package/collection/components/navigation/pn-sidenav/pn-sidenav-link.css +25 -0
- package/collection/components/navigation/pn-sidenav/pn-sidenav-link.js +1 -1
- package/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.css +25 -0
- package/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.js +1 -1
- package/collection/components/navigation/pn-sidenav/pn-sidenav.css +25 -0
- package/collection/components/navigation/pn-sidenav/pn-sidenav.js +1 -1
- package/collection/components/navigation/pn-site-footer/pn-site-footer-col.css +50 -0
- package/collection/components/navigation/pn-site-footer/pn-site-footer-col.js +1 -1
- package/collection/components/navigation/pn-site-footer/pn-site-footer.css +50 -0
- package/collection/components/navigation/pn-site-footer/pn-site-footer.js +1 -1
- package/collection/components/navigation/pn-site-selector/pn-site-selector-item.css +25 -0
- package/collection/components/navigation/pn-site-selector/pn-site-selector-item.js +1 -1
- package/collection/components/navigation/pn-site-selector/pn-site-selector.css +25 -0
- package/collection/components/navigation/pn-site-selector/pn-site-selector.js +1 -1
- package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.css +25 -0
- package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.js +1 -1
- package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.css +25 -0
- package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.js +1 -1
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.css +25 -0
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.js +1 -1
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.css +25 -0
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.js +2 -2
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-type.css +25 -0
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-type.js +1 -1
- package/collection/components/profile/pn-profile-modal/pn-profile-modal.css +25 -0
- package/collection/components/profile/pn-profile-modal/pn-profile-modal.js +1 -1
- package/collection/components/profile/pn-profile-selector/pn-profile-selector-option.css +25 -0
- package/collection/components/profile/pn-profile-selector/pn-profile-selector-option.js +1 -1
- package/collection/components/profile/pn-profile-selector/pn-profile-selector.css +25 -0
- package/collection/components/profile/pn-profile-selector/pn-profile-selector.js +1 -1
- package/collection/components/utilities/pn-breakpoints/pn-breakpoints.css +25 -0
- package/collection/components/utilities/pn-breakpoints/pn-breakpoints.js +1 -1
- package/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.css +146 -0
- package/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.js +118 -0
- package/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.js.map +1 -0
- package/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.js +219 -0
- package/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.js.map +1 -0
- package/collection/components/widgets/pn-chat/pn-chat-stories-constants.js +243 -0
- package/collection/components/widgets/pn-chat/pn-chat-stories-constants.js.map +1 -0
- package/collection/components/widgets/pn-chat/pn-chat.css +238 -0
- package/collection/components/widgets/pn-chat/pn-chat.js +840 -0
- package/collection/components/widgets/pn-chat/pn-chat.js.map +1 -0
- package/collection/components/widgets/pn-chat/pn-chat.models.js +2 -0
- package/collection/components/widgets/pn-chat/pn-chat.models.js.map +1 -0
- package/collection/components/widgets/pn-chat/pn-chat.service.js +151 -0
- package/collection/components/widgets/pn-chat/pn-chat.service.js.map +1 -0
- package/collection/components/widgets/pn-chat/pn-chat.stories.js +116 -0
- package/collection/components/widgets/pn-chat/pn-chat.stories.js.map +1 -0
- package/collection/components/widgets/pn-chat/translations.js +78 -0
- package/collection/components/widgets/pn-chat/translations.js.map +1 -0
- package/collection/components/widgets/pn-chat/types.js +2 -0
- package/collection/components/widgets/pn-chat/types.js.map +1 -0
- package/collection/components/widgets/pn-find-price/pn-find-price-result.css +25 -0
- package/collection/components/widgets/pn-find-price/pn-find-price-result.js +1 -1
- package/collection/components/widgets/pn-find-price/pn-find-price.css +25 -0
- package/collection/components/widgets/pn-find-price/pn-find-price.js +2 -2
- package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.css +25 -0
- package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.js +1 -1
- package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.css +25 -0
- package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.js +1 -1
- package/collection/components/widgets/pn-hero-block-international/pn-hero-block-international.css +25 -0
- package/collection/components/widgets/pn-hero-block-international/pn-hero-block-international.js +1 -1
- package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.css +94 -0
- package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.js +262 -0
- package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.js.map +1 -0
- package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.js +31 -0
- package/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.js.map +1 -0
- package/collection/components/widgets/pn-level-up/pn-level-up.css +114 -0
- package/collection/components/widgets/pn-level-up/pn-level-up.js +476 -0
- package/collection/components/widgets/pn-level-up/pn-level-up.js.map +1 -0
- package/collection/components/widgets/pn-level-up/pn-level-up.models.js +2 -0
- package/collection/components/widgets/pn-level-up/pn-level-up.models.js.map +1 -0
- package/collection/components/widgets/pn-level-up/pn-level-up.service.js +65 -0
- package/collection/components/widgets/pn-level-up/pn-level-up.service.js.map +1 -0
- package/collection/components/widgets/pn-level-up/pn-level-up.stories.js +88 -0
- package/collection/components/widgets/pn-level-up/pn-level-up.stories.js.map +1 -0
- package/collection/components/widgets/pn-level-up/types.js +2 -0
- package/collection/components/widgets/pn-level-up/types.js.map +1 -0
- package/collection/components/widgets/pn-link-list/pn-link-list.css +25 -0
- package/collection/components/widgets/pn-link-list/pn-link-list.js +1 -1
- package/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.css +96 -0
- package/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.js +494 -0
- package/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.js.map +1 -0
- package/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.js +82 -0
- package/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.js.map +1 -0
- package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.css +255 -0
- package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.js +701 -0
- package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.js.map +1 -0
- package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.service.js +38 -0
- package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.service.js.map +1 -0
- package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.js +122 -0
- package/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.js.map +1 -0
- package/collection/components/widgets/pn-marketweb-table/translations.js +73 -0
- package/collection/components/widgets/pn-marketweb-table/translations.js.map +1 -0
- package/collection/components/widgets/pn-marketweb-table/types.js +2 -0
- package/collection/components/widgets/pn-marketweb-table/types.js.map +1 -0
- package/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.css +25 -0
- package/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.js +1 -1
- package/collection/components/widgets/pn-product-card/pn-product-card-info.css +25 -0
- package/collection/components/widgets/pn-product-card/pn-product-card-price.css +25 -0
- package/collection/components/widgets/pn-product-card/pn-product-card.css +25 -0
- package/collection/components/widgets/pn-product-card/pn-product-card.js +1 -1
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.css +25 -0
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.js +1 -1
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.css +25 -0
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.js +2 -2
- package/collection/components/widgets/pn-product-tile/pn-product-tile-info.css +25 -0
- package/collection/components/widgets/pn-product-tile/pn-product-tile-info.js +1 -1
- package/collection/components/widgets/pn-product-tile/pn-product-tile-price.css +25 -0
- package/collection/components/widgets/pn-product-tile/pn-product-tile.css +25 -0
- package/collection/components/widgets/pn-product-tile/pn-product-tile.js +1 -1
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.css +25 -0
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.js +1 -1
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.css +25 -0
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.js +3 -3
- package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.css +25 -0
- package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.js +1 -1
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.css +25 -0
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.js +1 -1
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.css +25 -0
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.js +1 -1
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-pricelink.css +25 -0
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.css +25 -0
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.js +1 -1
- package/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.css +61 -0
- package/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.js +198 -0
- package/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.js.map +1 -0
- package/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.js +29 -0
- package/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.js.map +1 -0
- package/collection/components/widgets/pn-search/pn-search.css +140 -0
- package/collection/components/widgets/pn-search/pn-search.js +368 -0
- package/collection/components/widgets/pn-search/pn-search.js.map +1 -0
- package/collection/components/widgets/pn-search/pn-search.stories.js +54 -0
- package/collection/components/widgets/pn-search/pn-search.stories.js.map +1 -0
- package/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.css +25 -0
- package/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.js +1 -1
- package/collection/components/widgets/pn-usp-simple/pn-usp-simple.css +116 -0
- package/collection/components/widgets/pn-usp-simple/pn-usp-simple.js +269 -0
- package/collection/components/widgets/pn-usp-simple/pn-usp-simple.js.map +1 -0
- package/collection/components/widgets/pn-usp-simple/pn-usp-simple.stories.js +63 -0
- package/collection/components/widgets/pn-usp-simple/pn-usp-simple.stories.js.map +1 -0
- package/collection/globals/HeadingTag.js +2 -2
- package/collection/globals/HeadingTag.js.map +1 -1
- package/collection/globals/LocalStorageService.js +50 -0
- package/collection/globals/LocalStorageService.js.map +1 -0
- package/collection/globals/ScreensizeDetect.js +80 -0
- package/collection/globals/ScreensizeDetect.js.map +1 -0
- package/collection/globals/types.js +2 -0
- package/collection/globals/types.js.map +1 -0
- package/collection/utils/utils.js +11 -0
- package/collection/utils/utils.js.map +1 -1
- package/components/FetchHelper.js +1 -243
- package/components/FetchHelper.js.map +1 -1
- package/components/HeadingTag.js +10 -0
- package/components/HeadingTag.js.map +1 -0
- package/components/LocalStorageService.js +64 -0
- package/components/LocalStorageService.js.map +1 -0
- package/{esm/FetchHelper-746f2bb6.js → components/MarketWebContextService.js} +2 -82
- package/components/MarketWebContextService.js.map +1 -0
- package/components/alert_exclamation_circle.js +6 -0
- package/components/alert_exclamation_circle.js.map +1 -0
- package/components/angle_up.js +9 -0
- package/components/angle_up.js.map +1 -0
- package/components/close.js +6 -0
- package/components/close.js.map +1 -0
- package/components/pn-address-autofill.js +50 -73
- package/components/pn-address-autofill.js.map +1 -1
- package/components/pn-animated-tile.js +1 -1
- package/components/pn-animated-tile.js.map +1 -1
- package/components/pn-app-banner.js +2 -2
- 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 +2 -2
- package/components/pn-breakpoints.js.map +1 -1
- package/components/pn-chart.js +1 -1
- package/components/pn-chart.js.map +1 -1
- package/components/pn-charts-card.js +1 -1
- package/components/pn-charts-card.js.map +1 -1
- package/components/pn-chat-message.d.ts +11 -0
- package/components/pn-chat-message.js +8 -0
- package/components/pn-chat-message.js.map +1 -0
- package/components/pn-chat-message2.js +69 -0
- package/components/pn-chat-message2.js.map +1 -0
- package/components/pn-chat.d.ts +11 -0
- package/components/pn-chat.js +534 -0
- package/components/pn-chat.js.map +1 -0
- package/components/pn-chat.service.js +155 -0
- package/components/pn-chat.service.js.map +1 -0
- 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 +2 -2
- package/components/pn-customernumber-selector-option.js.map +1 -1
- package/components/pn-customernumber-selector.js +3 -8
- package/components/pn-customernumber-selector.js.map +1 -1
- package/components/pn-date-and-time.js +1 -1
- package/components/pn-date-and-time.js.map +1 -1
- package/components/pn-dropdown-choice-adds-row.js +19 -7
- package/components/pn-dropdown-choice-adds-row.js.map +1 -1
- package/components/pn-dropdown-with-multi-input-rows-row2.js +1 -1
- package/components/pn-dropdown-with-multi-input-rows-row2.js.map +1 -1
- package/components/pn-dropdown-with-multi-input-rows.js +1 -1
- package/components/pn-dropdown-with-multi-input-rows.js.map +1 -1
- package/components/pn-filter-checkbox2.js +1 -1
- package/components/pn-filter-checkbox2.js.map +1 -1
- package/components/pn-find-price-result2.js +2 -2
- package/components/pn-find-price-result2.js.map +1 -1
- package/components/pn-find-price.js +3 -3
- package/components/pn-find-price.js.map +1 -1
- package/components/pn-find-service-and-price-result2.js +2 -2
- package/components/pn-find-service-and-price-result2.js.map +1 -1
- package/components/pn-find-service-and-price.js +2 -2
- package/components/pn-find-service-and-price.js.map +1 -1
- package/components/pn-hero-block-international.js +2 -2
- package/components/pn-hero-block-international.js.map +1 -1
- package/components/pn-language-selector-option2.js +2 -2
- package/components/pn-language-selector-option2.js.map +1 -1
- package/components/pn-language-selector2.js +2 -2
- package/components/pn-language-selector2.js.map +1 -1
- package/components/pn-level-up-modal.d.ts +11 -0
- package/components/pn-level-up-modal.js +8 -0
- package/components/pn-level-up-modal.js.map +1 -0
- package/components/pn-level-up-modal2.js +170 -0
- package/components/pn-level-up-modal2.js.map +1 -0
- package/components/pn-level-up.d.ts +11 -0
- package/components/pn-level-up.js +185 -0
- package/components/pn-level-up.js.map +1 -0
- package/components/pn-line-shape.js +1 -1
- package/components/pn-line-shape.js.map +1 -1
- package/components/pn-link-list.js +2 -2
- package/components/pn-link-list.js.map +1 -1
- package/components/pn-mainnav-level2.js +3 -3
- 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 +2 -2
- package/components/pn-mainnav-list2.js.map +1 -1
- package/components/pn-mainnav2.js +3 -5
- package/components/pn-mainnav2.js.map +1 -1
- package/components/pn-marketweb-carousel.d.ts +11 -0
- package/components/pn-marketweb-carousel.js +8 -0
- package/components/pn-marketweb-carousel.js.map +1 -0
- package/components/pn-marketweb-carousel2.js +326 -0
- package/components/pn-marketweb-carousel2.js.map +1 -0
- package/components/pn-marketweb-icon.js +2 -2
- package/components/pn-marketweb-icon.js.map +1 -1
- package/components/pn-marketweb-input2.js +2 -4
- package/components/pn-marketweb-input2.js.map +1 -1
- package/components/pn-marketweb-search.js +1 -125
- package/components/pn-marketweb-search.js.map +1 -1
- package/components/pn-marketweb-search2.js +130 -0
- package/components/pn-marketweb-search2.js.map +1 -0
- package/components/pn-marketweb-sitefooter.js +6 -9
- package/components/pn-marketweb-sitefooter.js.map +1 -1
- package/components/pn-marketweb-siteheader-login-linklist2.js +1 -1
- package/components/pn-marketweb-siteheader-login-linklist2.js.map +1 -1
- package/components/pn-marketweb-siteheader-login-links2.js +1 -1
- package/components/pn-marketweb-siteheader-login-links2.js.map +1 -1
- package/components/pn-marketweb-siteheader-login-mypage-button.js +34 -1
- package/components/pn-marketweb-siteheader-login-mypage-button.js.map +1 -1
- package/components/pn-marketweb-siteheader-login-profileselection2.js +2 -1
- package/components/pn-marketweb-siteheader-login-profileselection2.js.map +1 -1
- package/components/pn-marketweb-siteheader-login2.js +8 -14
- package/components/pn-marketweb-siteheader-login2.js.map +1 -1
- package/components/pn-marketweb-siteheader-search2.js +1 -1
- package/components/pn-marketweb-siteheader-search2.js.map +1 -1
- package/components/pn-marketweb-siteheader-unified-login2.js +3 -13
- package/components/pn-marketweb-siteheader-unified-login2.js.map +1 -1
- package/components/pn-marketweb-siteheader.js +27 -32
- package/components/pn-marketweb-siteheader.js.map +1 -1
- package/components/pn-marketweb-table.d.ts +11 -0
- package/components/pn-marketweb-table.js +502 -0
- package/components/pn-marketweb-table.js.map +1 -0
- package/components/pn-media-block.js +6 -6
- package/components/pn-media-block.js.map +1 -1
- package/components/pn-multi-row-connected-dropdown-row2.js +1 -1
- package/components/pn-multi-row-connected-dropdown-row2.js.map +1 -1
- package/components/pn-multi-row-connected-dropdown.js +1 -1
- package/components/pn-multi-row-connected-dropdown.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 +2 -2
- package/components/pn-pex-pricefinder.js.map +1 -1
- package/components/pn-product-card-info2.js +1 -1
- package/components/pn-product-card-info2.js.map +1 -1
- package/components/pn-product-card-price2.js +1 -1
- package/components/pn-product-card-price2.js.map +1 -1
- package/components/pn-product-card2.js +2 -2
- package/components/pn-product-card2.js.map +1 -1
- package/components/pn-product-pricelist-result.js +2 -2
- package/components/pn-product-pricelist-result.js.map +1 -1
- package/components/pn-product-pricelist.js +3 -3
- package/components/pn-product-pricelist.js.map +1 -1
- package/components/pn-product-tile-info2.js +2 -2
- package/components/pn-product-tile-info2.js.map +1 -1
- package/components/pn-product-tile-price2.js +1 -1
- package/components/pn-product-tile-price2.js.map +1 -1
- package/components/pn-product-tile.js +2 -2
- package/components/pn-product-tile.js.map +1 -1
- package/components/pn-profile-modal-customernumber.js +2 -2
- package/components/pn-profile-modal-customernumber.js.map +1 -1
- package/components/pn-profile-modal-profile.js +3 -3
- package/components/pn-profile-modal-profile.js.map +1 -1
- package/components/pn-profile-modal-type.js +2 -2
- package/components/pn-profile-modal-type.js.map +1 -1
- package/components/pn-profile-modal.js +2 -2
- package/components/pn-profile-modal.js.map +1 -1
- package/components/pn-profile-selector-option.js +2 -2
- package/components/pn-profile-selector-option.js.map +1 -1
- package/components/pn-profile-selector.js +2 -2
- package/components/pn-profile-selector.js.map +1 -1
- package/components/pn-proxio-findprice-result2.js +2 -2
- package/components/pn-proxio-findprice-result2.js.map +1 -1
- package/components/pn-proxio-findprice.js +6 -5
- package/components/pn-proxio-findprice.js.map +1 -1
- package/components/pn-proxio-pricegroup.js +4 -3
- package/components/pn-proxio-pricegroup.js.map +1 -1
- package/components/pn-proxio-productcard-description2.js +2 -2
- package/components/pn-proxio-productcard-description2.js.map +1 -1
- package/components/pn-proxio-productcard-information2.js +2 -2
- package/components/pn-proxio-productcard-information2.js.map +1 -1
- package/components/pn-proxio-productcard-pricelink2.js +1 -1
- package/components/pn-proxio-productcard-pricelink2.js.map +1 -1
- package/components/pn-proxio-productcard2.js +2 -2
- package/components/pn-proxio-productcard2.js.map +1 -1
- package/components/pn-qr-code-generator.d.ts +11 -0
- package/components/pn-qr-code-generator.js +8 -0
- package/components/pn-qr-code-generator.js.map +1 -0
- package/components/pn-qr-code-generator2.js +2967 -0
- package/components/pn-qr-code-generator2.js.map +1 -0
- 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-search.d.ts +11 -0
- package/components/pn-search.js +91 -0
- package/components/pn-search.js.map +1 -0
- 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 +2 -2
- 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 +2 -2
- package/components/pn-sidenav-togglebutton.js.map +1 -1
- package/components/pn-sidenav.js +2 -2
- package/components/pn-sidenav.js.map +1 -1
- package/components/pn-site-footer-col2.js +2 -2
- package/components/pn-site-footer-col2.js.map +1 -1
- package/components/pn-site-footer2.js +2 -2
- package/components/pn-site-footer2.js.map +1 -1
- package/components/pn-site-selector-item2.js +2 -2
- package/components/pn-site-selector-item2.js.map +1 -1
- package/components/pn-site-selector2.js +2 -2
- 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 +1 -1
- package/components/pn-stats-info-data2.js.map +1 -1
- package/components/pn-stats-info.js +1 -1
- package/components/pn-stats-info.js.map +1 -1
- package/components/pn-swan2.js +2 -2
- package/components/pn-swan2.js.map +1 -1
- package/components/pn-teaser-card.js +5 -9
- package/components/pn-teaser-card.js.map +1 -1
- package/components/pn-titletag2.js +2 -2
- package/components/pn-titletag2.js.map +1 -1
- package/components/pn-usp-promoter.js +2 -2
- package/components/pn-usp-promoter.js.map +1 -1
- package/components/pn-usp-simple.d.ts +11 -0
- package/components/pn-usp-simple.js +82 -0
- package/components/pn-usp-simple.js.map +1 -0
- package/components/pn-video-overlay2.js +1 -1
- package/components/pn-video-overlay2.js.map +1 -1
- package/esm/FetchHelper-4789695a.js +83 -0
- package/esm/FetchHelper-4789695a.js.map +1 -0
- package/esm/HeadingTag-e20016ab.js +10 -0
- package/esm/HeadingTag-e20016ab.js.map +1 -0
- package/esm/LocalStorageService-78b1794d.js +64 -0
- package/esm/LocalStorageService-78b1794d.js.map +1 -0
- package/esm/MarketWebContextService-16c15670.js +245 -0
- package/esm/MarketWebContextService-16c15670.js.map +1 -0
- package/esm/alert_exclamation_circle-f0fe7c7b.js +6 -0
- package/esm/alert_exclamation_circle-f0fe7c7b.js.map +1 -0
- package/esm/angle_up-b5f955ea.js +9 -0
- package/esm/angle_up-b5f955ea.js.map +1 -0
- package/esm/close-9e7bd787.js +6 -0
- package/esm/close-9e7bd787.js.map +1 -0
- package/esm/{index-89124075.js → index-ae60ebec.js} +2 -2
- package/esm/{index-89124075.js.map → index-ae60ebec.js.map} +1 -1
- package/esm/{index-51d67461.js → index-c311acd6.js} +65 -9
- package/esm/index-c311acd6.js.map +1 -0
- package/esm/index.js +1 -1
- package/esm/loader.js +3 -3
- package/esm/pn-address-autofill.entry.js +50 -74
- package/esm/pn-address-autofill.entry.js.map +1 -1
- package/esm/pn-animated-tile.entry.js +2 -2
- package/esm/pn-animated-tile.entry.js.map +1 -1
- package/esm/pn-app-banner.entry.js +3 -3
- 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 +3 -3
- package/esm/pn-breakpoints.entry.js.map +1 -1
- package/esm/pn-chart.entry.js +2 -2
- package/esm/pn-chart.entry.js.map +1 -1
- package/esm/pn-charts-card.entry.js +2 -2
- package/esm/pn-charts-card.entry.js.map +1 -1
- package/esm/pn-chat-message_2.entry.js +341 -0
- package/esm/pn-chat-message_2.entry.js.map +1 -0
- package/esm/pn-chat.entry.js +470 -0
- package/esm/pn-chat.entry.js.map +1 -0
- package/esm/pn-chat.service-f4037d6f.js +155 -0
- package/esm/pn-chat.service-f4037d6f.js.map +1 -0
- 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 +3 -3
- package/esm/pn-customernumber-selector-option.entry.js.map +1 -1
- package/esm/pn-customernumber-selector.entry.js +4 -9
- package/esm/pn-customernumber-selector.entry.js.map +1 -1
- package/esm/pn-date-and-time.entry.js +2 -2
- package/esm/pn-date-and-time.entry.js.map +1 -1
- package/esm/pn-dropdown-choice-adds-row.entry.js +20 -8
- package/esm/pn-dropdown-choice-adds-row.entry.js.map +1 -1
- package/esm/pn-dropdown-with-multi-input-rows-row.entry.js +2 -2
- package/esm/pn-dropdown-with-multi-input-rows-row.entry.js.map +1 -1
- package/esm/pn-dropdown-with-multi-input-rows.entry.js +2 -2
- package/esm/pn-dropdown-with-multi-input-rows.entry.js.map +1 -1
- package/esm/pn-filter-checkbox.entry.js +2 -2
- package/esm/pn-filter-checkbox.entry.js.map +1 -1
- package/esm/pn-find-price-result.entry.js +5 -5
- package/esm/pn-find-price-result.entry.js.map +1 -1
- package/esm/{pn-find-price-store-c9a9d3d4.js → pn-find-price-store-f97f2325.js} +2 -2
- package/esm/{pn-find-price-store-c9a9d3d4.js.map → pn-find-price-store-f97f2325.js.map} +1 -1
- package/esm/pn-find-price.entry.js +6 -6
- package/esm/pn-find-price.entry.js.map +1 -1
- package/esm/pn-find-service-and-price-result.entry.js +5 -5
- package/esm/pn-find-service-and-price-result.entry.js.map +1 -1
- package/esm/{pn-find-service-and-price-store-60aa5801.js → pn-find-service-and-price-store-6553566d.js} +2 -2
- package/esm/{pn-find-service-and-price-store-60aa5801.js.map → pn-find-service-and-price-store-6553566d.js.map} +1 -1
- package/esm/pn-find-service-and-price.entry.js +5 -5
- package/esm/pn-find-service-and-price.entry.js.map +1 -1
- package/esm/pn-hero-block-international.entry.js +3 -3
- package/esm/pn-hero-block-international.entry.js.map +1 -1
- package/esm/pn-language-selector_9.entry.js +25 -27
- package/esm/pn-language-selector_9.entry.js.map +1 -1
- package/esm/pn-level-up-modal.entry.js +73 -0
- package/esm/pn-level-up-modal.entry.js.map +1 -0
- package/esm/pn-level-up.entry.js +135 -0
- package/esm/pn-level-up.entry.js.map +1 -0
- package/esm/pn-level-up.service-5c602f23.js +69 -0
- package/esm/pn-level-up.service-5c602f23.js.map +1 -0
- 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 +3 -3
- package/esm/pn-link-list.entry.js.map +1 -1
- package/esm/pn-mainnav-link.entry.js +5 -5
- package/esm/pn-mainnav-link.entry.js.map +1 -1
- package/esm/{pn-mainnav-store-9c42bc66.js → pn-mainnav-store-23387019.js} +2 -2
- package/esm/{pn-mainnav-store-9c42bc66.js.map → pn-mainnav-store-23387019.js.map} +1 -1
- package/esm/pn-market-web-components.js +3 -3
- package/esm/pn-marketweb-icon.entry.js +3 -3
- package/esm/pn-marketweb-icon.entry.js.map +1 -1
- package/esm/pn-marketweb-input.entry.js +3 -5
- package/esm/pn-marketweb-input.entry.js.map +1 -1
- package/esm/pn-marketweb-search.entry.js +6 -5
- package/esm/pn-marketweb-search.entry.js.map +1 -1
- package/esm/pn-marketweb-sitefooter.entry.js +6 -9
- package/esm/pn-marketweb-sitefooter.entry.js.map +1 -1
- package/esm/{pn-marketweb-siteheader-login-button_5.entry.js → pn-marketweb-siteheader-login-button_4.entry.js} +9 -26
- package/esm/pn-marketweb-siteheader-login-button_4.entry.js.map +1 -0
- package/esm/pn-marketweb-siteheader-login-linklist.entry.js +4 -4
- package/esm/pn-marketweb-siteheader-login-linklist.entry.js.map +1 -1
- package/esm/pn-marketweb-siteheader-login-mypage-button.entry.js +21 -0
- package/esm/pn-marketweb-siteheader-login-mypage-button.entry.js.map +1 -0
- package/esm/{pn-marketweb-siteheader-store-91f74255.js → pn-marketweb-siteheader-store-f60eb1e4.js} +2 -2
- package/esm/{pn-marketweb-siteheader-store-91f74255.js.map → pn-marketweb-siteheader-store-f60eb1e4.js.map} +1 -1
- package/esm/pn-marketweb-siteheader.entry.js +10 -9
- package/esm/pn-marketweb-siteheader.entry.js.map +1 -1
- package/esm/pn-marketweb-table.entry.js +455 -0
- package/esm/pn-marketweb-table.entry.js.map +1 -0
- package/esm/pn-media-block.entry.js +6 -6
- package/esm/pn-media-block.entry.js.map +1 -1
- package/esm/pn-multi-row-connected-dropdown-row.entry.js +2 -2
- package/esm/pn-multi-row-connected-dropdown-row.entry.js.map +1 -1
- package/esm/pn-multi-row-connected-dropdown.entry.js +2 -2
- package/esm/pn-multi-row-connected-dropdown.entry.js.map +1 -1
- package/esm/pn-multiple-input.entry.js +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 +3 -3
- package/esm/pn-pex-pricefinder.entry.js.map +1 -1
- package/esm/pn-play-on-scroll.entry.js +1 -1
- package/esm/pn-product-card_3.entry.js +5 -5
- package/esm/pn-product-card_3.entry.js.map +1 -1
- package/esm/pn-product-pricelist-result.entry.js +4 -4
- package/esm/pn-product-pricelist-result.entry.js.map +1 -1
- package/esm/pn-product-pricelist.entry.js +6 -6
- package/esm/pn-product-pricelist.entry.js.map +1 -1
- package/esm/pn-product-tile-info_2.entry.js +4 -4
- package/esm/pn-product-tile-info_2.entry.js.map +1 -1
- package/esm/pn-product-tile.entry.js +3 -3
- package/esm/pn-product-tile.entry.js.map +1 -1
- package/esm/pn-profile-modal-customernumber.entry.js +3 -3
- package/esm/pn-profile-modal-customernumber.entry.js.map +1 -1
- package/esm/pn-profile-modal-profile.entry.js +6 -6
- package/esm/pn-profile-modal-profile.entry.js.map +1 -1
- package/esm/{pn-profile-modal-store-4655b124.js → pn-profile-modal-store-5d651bd5.js} +2 -2
- package/esm/{pn-profile-modal-store-4655b124.js.map → pn-profile-modal-store-5d651bd5.js.map} +1 -1
- package/esm/pn-profile-modal-type.entry.js +5 -5
- package/esm/pn-profile-modal-type.entry.js.map +1 -1
- package/esm/pn-profile-modal.entry.js +5 -5
- package/esm/pn-profile-modal.entry.js.map +1 -1
- package/esm/pn-profile-selector-option.entry.js +3 -3
- package/esm/pn-profile-selector-option.entry.js.map +1 -1
- package/esm/pn-profile-selector.entry.js +3 -3
- package/esm/pn-profile-selector.entry.js.map +1 -1
- package/esm/pn-proxio-findprice-result.entry.js +3 -3
- package/esm/pn-proxio-findprice-result.entry.js.map +1 -1
- package/esm/pn-proxio-findprice.entry.js +8 -7
- package/esm/pn-proxio-findprice.entry.js.map +1 -1
- package/esm/pn-proxio-pricegroup.entry.js +5 -4
- package/esm/pn-proxio-pricegroup.entry.js.map +1 -1
- package/esm/pn-proxio-productcard_4.entry.js +8 -8
- package/esm/pn-proxio-productcard_4.entry.js.map +1 -1
- package/esm/pn-qr-code-generator.entry.js +2941 -0
- package/esm/pn-qr-code-generator.entry.js.map +1 -0
- 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 +2 -2
- package/esm/pn-scroll_2.entry.js.map +1 -1
- package/esm/pn-search.entry.js +50 -0
- package/esm/pn-search.entry.js.map +1 -0
- 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 +5 -5
- package/esm/pn-sidenav-level.entry.js.map +1 -1
- package/esm/pn-sidenav-link.entry.js +5 -5
- package/esm/pn-sidenav-link.entry.js.map +1 -1
- package/esm/{pn-sidenav-store-85bdb1e6.js → pn-sidenav-store-e2038d79.js} +2 -2
- package/esm/{pn-sidenav-store-85bdb1e6.js.map → pn-sidenav-store-e2038d79.js.map} +1 -1
- package/esm/pn-sidenav-togglebutton.entry.js +5 -5
- package/esm/pn-sidenav-togglebutton.entry.js.map +1 -1
- package/esm/pn-sidenav.entry.js +5 -5
- package/esm/pn-sidenav.entry.js.map +1 -1
- package/esm/pn-site-footer_3.entry.js +7 -7
- 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 +2 -2
- package/esm/pn-stats-info-data.entry.js.map +1 -1
- package/esm/pn-stats-info.entry.js +2 -2
- package/esm/pn-stats-info.entry.js.map +1 -1
- package/esm/pn-teaser-card.entry.js +5 -9
- package/esm/pn-teaser-card.entry.js.map +1 -1
- package/esm/pn-titletag.entry.js +3 -3
- package/esm/pn-titletag.entry.js.map +1 -1
- package/esm/pn-usp-promoter.entry.js +3 -3
- package/esm/pn-usp-promoter.entry.js.map +1 -1
- package/esm/pn-usp-simple.entry.js +52 -0
- package/esm/pn-usp-simple.entry.js.map +1 -0
- package/package.json +5 -3
- package/pn-market-web-components/index.esm.js +1 -1
- package/pn-market-web-components/index.esm.js.map +1 -1
- package/pn-market-web-components/p-015127bf.entry.js +2 -0
- package/pn-market-web-components/{p-c5772021.entry.js.map → p-015127bf.entry.js.map} +1 -1
- package/pn-market-web-components/p-04107723.entry.js +2 -0
- package/pn-market-web-components/p-04107723.entry.js.map +1 -0
- package/pn-market-web-components/p-08b473e0.entry.js +2 -0
- package/pn-market-web-components/{p-a38118be.entry.js.map → p-08b473e0.entry.js.map} +1 -1
- package/pn-market-web-components/p-0b5a125d.entry.js +2 -0
- package/pn-market-web-components/p-0b5a125d.entry.js.map +1 -0
- package/pn-market-web-components/p-0b920554.js +2 -0
- package/pn-market-web-components/p-0b920554.js.map +1 -0
- package/pn-market-web-components/p-0fc01d3f.entry.js +2 -0
- package/pn-market-web-components/{p-4fa5bc85.entry.js.map → p-0fc01d3f.entry.js.map} +1 -1
- package/pn-market-web-components/p-10776075.entry.js +2 -0
- package/pn-market-web-components/p-10776075.entry.js.map +1 -0
- package/pn-market-web-components/p-17c43a96.entry.js +2 -0
- package/pn-market-web-components/p-17c43a96.entry.js.map +1 -0
- package/pn-market-web-components/p-19bbac6d.entry.js +2 -0
- package/pn-market-web-components/{p-ea3d6f7e.entry.js.map → p-19bbac6d.entry.js.map} +1 -1
- package/pn-market-web-components/p-230ef9aa.entry.js +2 -0
- package/pn-market-web-components/{p-a419cd91.entry.js.map → p-230ef9aa.entry.js.map} +1 -1
- package/pn-market-web-components/p-268dc1fa.entry.js +2 -0
- package/pn-market-web-components/p-268dc1fa.entry.js.map +1 -0
- package/pn-market-web-components/p-28d2f7fa.entry.js +2 -0
- package/pn-market-web-components/p-28d2f7fa.entry.js.map +1 -0
- package/pn-market-web-components/p-292db484.entry.js +2 -0
- package/pn-market-web-components/{p-76e6708b.entry.js.map → p-292db484.entry.js.map} +1 -1
- package/pn-market-web-components/p-2a58d83b.entry.js +2 -0
- package/pn-market-web-components/{p-55643d76.entry.js.map → p-2a58d83b.entry.js.map} +1 -1
- package/pn-market-web-components/p-2c19edca.entry.js +2 -0
- package/pn-market-web-components/{p-72dbca40.entry.js.map → p-2c19edca.entry.js.map} +1 -1
- package/pn-market-web-components/p-2fd60147.entry.js +2 -0
- package/pn-market-web-components/p-2fd60147.entry.js.map +1 -0
- package/pn-market-web-components/p-3478f368.js +2 -0
- package/pn-market-web-components/p-3478f368.js.map +1 -0
- package/pn-market-web-components/p-34a98554.entry.js +2 -0
- package/pn-market-web-components/{p-cf39491b.entry.js.map → p-34a98554.entry.js.map} +1 -1
- package/pn-market-web-components/p-35847eda.entry.js +2 -0
- package/pn-market-web-components/{p-e6e012fb.entry.js.map → p-35847eda.entry.js.map} +1 -1
- package/pn-market-web-components/p-366fd15a.js +2 -0
- package/pn-market-web-components/p-366fd15a.js.map +1 -0
- package/pn-market-web-components/p-389a94e7.entry.js +2 -0
- package/pn-market-web-components/{p-190c6938.entry.js.map → p-389a94e7.entry.js.map} +1 -1
- package/pn-market-web-components/p-39b75c62.entry.js +2 -0
- package/pn-market-web-components/{p-530274ae.entry.js.map → p-39b75c62.entry.js.map} +1 -1
- package/pn-market-web-components/p-3d10bc37.entry.js +2 -0
- package/pn-market-web-components/{p-45d1e1be.entry.js.map → p-3d10bc37.entry.js.map} +1 -1
- package/pn-market-web-components/p-3e197670.entry.js +2 -0
- package/pn-market-web-components/{p-6a5f7dee.entry.js.map → p-3e197670.entry.js.map} +1 -1
- package/pn-market-web-components/p-40bce1b1.entry.js +2 -0
- package/pn-market-web-components/p-40bce1b1.entry.js.map +1 -0
- package/pn-market-web-components/p-41cdac85.entry.js +2 -0
- package/pn-market-web-components/{p-65ab3003.entry.js.map → p-41cdac85.entry.js.map} +1 -1
- package/pn-market-web-components/p-4aedb76c.entry.js +2 -0
- package/pn-market-web-components/{p-ea7b0d21.entry.js.map → p-4aedb76c.entry.js.map} +1 -1
- package/pn-market-web-components/p-4e924d13.entry.js +2 -0
- package/pn-market-web-components/p-4e924d13.entry.js.map +1 -0
- package/pn-market-web-components/p-4f639380.entry.js +2 -0
- package/pn-market-web-components/{p-aeeabb32.entry.js.map → p-4f639380.entry.js.map} +1 -1
- package/pn-market-web-components/p-51f136f3.entry.js +2 -0
- package/pn-market-web-components/p-51f136f3.entry.js.map +1 -0
- package/pn-market-web-components/p-542f949d.entry.js +2 -0
- package/pn-market-web-components/{p-77a35f5e.entry.js.map → p-542f949d.entry.js.map} +1 -1
- package/pn-market-web-components/p-5a981927.entry.js +2 -0
- package/pn-market-web-components/{p-b35cdbac.entry.js.map → p-5a981927.entry.js.map} +1 -1
- package/pn-market-web-components/p-5f4ccd8a.js +2 -0
- package/pn-market-web-components/p-5f4ccd8a.js.map +1 -0
- package/pn-market-web-components/p-60b77eed.entry.js +2 -0
- package/pn-market-web-components/{p-e916e99d.entry.js.map → p-60b77eed.entry.js.map} +1 -1
- package/pn-market-web-components/p-619f2143.entry.js +2 -0
- package/pn-market-web-components/{p-a6866467.entry.js.map → p-619f2143.entry.js.map} +1 -1
- package/pn-market-web-components/p-61bd81d7.entry.js +2 -0
- package/pn-market-web-components/{p-8c26b98d.entry.js.map → p-61bd81d7.entry.js.map} +1 -1
- package/pn-market-web-components/p-64851da0.entry.js +2 -0
- package/pn-market-web-components/{p-776f3d51.entry.js.map → p-64851da0.entry.js.map} +1 -1
- package/pn-market-web-components/p-659a4db5.entry.js +2 -0
- package/pn-market-web-components/{p-231b97e1.entry.js.map → p-659a4db5.entry.js.map} +1 -1
- package/pn-market-web-components/p-65a046be.entry.js +2 -0
- package/pn-market-web-components/{p-0ec8d040.entry.js.map → p-65a046be.entry.js.map} +1 -1
- package/pn-market-web-components/p-66da6e15.entry.js +2 -0
- package/pn-market-web-components/{p-62cabd1e.entry.js.map → p-66da6e15.entry.js.map} +1 -1
- package/pn-market-web-components/{p-65f243c1.js → p-6b1d045c.js} +2 -2
- package/pn-market-web-components/p-6b1d045c.js.map +1 -0
- package/pn-market-web-components/p-71db6836.entry.js +2 -0
- package/pn-market-web-components/{p-3fb8e665.entry.js.map → p-71db6836.entry.js.map} +1 -1
- package/pn-market-web-components/p-72828265.js +2 -0
- package/pn-market-web-components/p-72f57a04.entry.js +2 -0
- package/pn-market-web-components/{p-25d53df2.entry.js.map → p-72f57a04.entry.js.map} +1 -1
- package/pn-market-web-components/p-763a4e13.entry.js +2 -0
- package/pn-market-web-components/{p-fc157a1e.entry.js.map → p-763a4e13.entry.js.map} +1 -1
- package/pn-market-web-components/p-76c2c01f.js +2 -0
- package/pn-market-web-components/p-76c2c01f.js.map +1 -0
- package/pn-market-web-components/{p-e09a907b.js → p-793e1339.js} +2 -2
- package/pn-market-web-components/p-79e4715c.entry.js +2 -0
- package/pn-market-web-components/{p-6647d2c4.entry.js.map → p-79e4715c.entry.js.map} +1 -1
- package/pn-market-web-components/p-7b4f9fdf.entry.js +2 -0
- package/pn-market-web-components/{p-066e9db9.entry.js.map → p-7b4f9fdf.entry.js.map} +1 -1
- package/pn-market-web-components/p-7b7629c5.entry.js +2 -0
- package/pn-market-web-components/{p-24086c59.entry.js.map → p-7b7629c5.entry.js.map} +1 -1
- package/pn-market-web-components/p-7db6ef34.entry.js +2 -0
- package/pn-market-web-components/{p-4e3059dd.entry.js.map → p-7db6ef34.entry.js.map} +1 -1
- package/pn-market-web-components/p-809ed802.entry.js +2 -0
- package/pn-market-web-components/p-809ed802.entry.js.map +1 -0
- package/pn-market-web-components/p-82546a44.js +3 -0
- package/pn-market-web-components/p-82546a44.js.map +1 -0
- package/pn-market-web-components/p-84fc8e05.entry.js +2 -0
- package/pn-market-web-components/{p-25dfc349.entry.js.map → p-84fc8e05.entry.js.map} +1 -1
- package/pn-market-web-components/p-85b42b44.entry.js +2 -0
- package/pn-market-web-components/{p-e8278e9e.entry.js.map → p-85b42b44.entry.js.map} +1 -1
- package/pn-market-web-components/{p-2509d18d.js → p-8836de82.js} +2 -2
- package/pn-market-web-components/{p-560e5291.entry.js → p-8a651698.entry.js} +2 -2
- package/pn-market-web-components/p-8d78b631.js +2 -0
- package/pn-market-web-components/p-8d78b631.js.map +1 -0
- package/pn-market-web-components/p-8d874454.entry.js +2 -0
- package/pn-market-web-components/{p-b5a0275d.entry.js.map → p-8d874454.entry.js.map} +1 -1
- package/pn-market-web-components/p-8d98f709.entry.js +2 -0
- package/pn-market-web-components/{p-74fd7435.entry.js.map → p-8d98f709.entry.js.map} +1 -1
- package/pn-market-web-components/p-9088d3f5.entry.js +2 -0
- package/pn-market-web-components/{p-a72c2729.entry.js.map → p-9088d3f5.entry.js.map} +1 -1
- package/pn-market-web-components/p-920ce5f2.entry.js +2 -0
- package/pn-market-web-components/p-920ce5f2.entry.js.map +1 -0
- package/pn-market-web-components/{p-959a37d9.js → p-930e2943.js} +2 -2
- package/pn-market-web-components/p-9454075f.entry.js +2 -0
- package/pn-market-web-components/{p-45b8cadb.entry.js.map → p-9454075f.entry.js.map} +1 -1
- package/pn-market-web-components/p-95d32ab4.entry.js +2 -0
- package/pn-market-web-components/{p-758f1b53.entry.js.map → p-95d32ab4.entry.js.map} +1 -1
- package/pn-market-web-components/p-a079c496.js +2 -0
- package/pn-market-web-components/p-a079c496.js.map +1 -0
- package/pn-market-web-components/{p-eaee1dd6.entry.js → p-a73e4811.entry.js} +2 -2
- package/pn-market-web-components/{p-eaee1dd6.entry.js.map → p-a73e4811.entry.js.map} +1 -1
- package/pn-market-web-components/p-ad282b7c.entry.js +2 -0
- package/pn-market-web-components/{p-4d2ca281.entry.js.map → p-ad282b7c.entry.js.map} +1 -1
- package/pn-market-web-components/{p-155c2049.entry.js → p-ad9a7633.entry.js} +2 -2
- package/pn-market-web-components/p-b9590d81.entry.js +2 -0
- package/pn-market-web-components/{p-59549c74.entry.js.map → p-b9590d81.entry.js.map} +1 -1
- package/pn-market-web-components/p-c4e353b3.entry.js +2 -0
- package/pn-market-web-components/{p-5a1b6e6d.entry.js.map → p-c4e353b3.entry.js.map} +1 -1
- package/pn-market-web-components/p-c89cb749.entry.js +2 -0
- package/pn-market-web-components/{p-95519556.entry.js.map → p-c89cb749.entry.js.map} +1 -1
- package/pn-market-web-components/p-c9038b03.entry.js +2 -0
- package/pn-market-web-components/{p-64d0dbba.entry.js.map → p-c9038b03.entry.js.map} +1 -1
- package/pn-market-web-components/p-cbb1d57d.entry.js +2 -0
- package/pn-market-web-components/{p-6fdd5b5a.entry.js.map → p-cbb1d57d.entry.js.map} +1 -1
- package/pn-market-web-components/p-cc7c596e.entry.js +2 -0
- package/pn-market-web-components/p-cc7c596e.entry.js.map +1 -0
- package/pn-market-web-components/p-cda742ba.entry.js +2 -0
- package/pn-market-web-components/p-cda742ba.entry.js.map +1 -0
- package/pn-market-web-components/p-ce87ff8a.entry.js +2 -0
- package/pn-market-web-components/{p-e2e3ac2f.entry.js.map → p-ce87ff8a.entry.js.map} +1 -1
- package/pn-market-web-components/p-cf8a1fb9.js +2 -0
- package/pn-market-web-components/p-cf8a1fb9.js.map +1 -0
- package/pn-market-web-components/p-d17af75d.entry.js +2 -0
- package/pn-market-web-components/{p-b693f78a.entry.js.map → p-d17af75d.entry.js.map} +1 -1
- package/pn-market-web-components/p-d5c45da2.entry.js +2 -0
- package/pn-market-web-components/{p-e5ae757f.entry.js.map → p-d5c45da2.entry.js.map} +1 -1
- package/pn-market-web-components/p-d7170c0e.entry.js +2 -0
- package/pn-market-web-components/{p-d0a085cc.entry.js.map → p-d7170c0e.entry.js.map} +1 -1
- package/pn-market-web-components/p-d75a2f7c.entry.js +2 -0
- package/pn-market-web-components/p-d75a2f7c.entry.js.map +1 -0
- package/pn-market-web-components/p-daa74e60.entry.js +2 -0
- package/pn-market-web-components/{p-7076038b.entry.js.map → p-daa74e60.entry.js.map} +1 -1
- package/pn-market-web-components/p-dc2ee6f8.entry.js +2 -0
- package/pn-market-web-components/p-dc2ee6f8.entry.js.map +1 -0
- package/pn-market-web-components/p-e733f44f.entry.js +2 -0
- package/pn-market-web-components/p-e733f44f.entry.js.map +1 -0
- package/pn-market-web-components/p-e8622338.entry.js +2 -0
- package/pn-market-web-components/{p-b9505c69.entry.js.map → p-e8622338.entry.js.map} +1 -1
- package/pn-market-web-components/p-eb21f772.entry.js +2 -0
- package/pn-market-web-components/p-eb21f772.entry.js.map +1 -0
- package/pn-market-web-components/p-efab81a9.entry.js +2 -0
- package/pn-market-web-components/p-efab81a9.entry.js.map +1 -0
- package/pn-market-web-components/{p-278cda98.entry.js → p-f0df7694.entry.js} +4 -4
- package/pn-market-web-components/{p-278cda98.entry.js.map → p-f0df7694.entry.js.map} +1 -1
- package/pn-market-web-components/p-f21311ad.entry.js +2 -0
- package/pn-market-web-components/{p-545c24c0.entry.js.map → p-f21311ad.entry.js.map} +1 -1
- package/pn-market-web-components/p-f28059f4.entry.js +2 -0
- package/pn-market-web-components/{p-856c235c.entry.js.map → p-f28059f4.entry.js.map} +1 -1
- package/pn-market-web-components/p-f28d0971.entry.js +2 -0
- package/pn-market-web-components/{p-54f3a3b6.entry.js.map → p-f28d0971.entry.js.map} +1 -1
- package/pn-market-web-components/p-f4b14be8.entry.js +2 -0
- package/pn-market-web-components/{p-1ec21bd6.entry.js.map → p-f4b14be8.entry.js.map} +1 -1
- package/pn-market-web-components/p-f5d03222.entry.js +2 -0
- package/pn-market-web-components/{p-90242f18.entry.js.map → p-f5d03222.entry.js.map} +1 -1
- package/pn-market-web-components/{p-8af1b914.js → p-f9083b7a.js} +2 -2
- package/pn-market-web-components/{p-cafe11a9.js → p-fb4cdf98.js} +2 -2
- package/pn-market-web-components/p-fe466661.js +2 -0
- 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/cards/pn-teaser-card/pn-teaser-card.d.ts +1 -1
- package/types/components/input/pn-address-autofill/pn-address-autofill.d.ts +2 -3
- package/types/components/input/pn-address-autofill/translations.d.ts +3 -0
- package/types/components/input/pn-marketweb-search/pn-marketweb-search.d.ts +1 -1
- package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.d.ts +0 -2
- package/types/components/media/pn-media-block/pn-media-block.d.ts +1 -1
- package/types/components/widgets/pn-chat/pn-chat-message/pn-chat-message.d.ts +10 -0
- package/types/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.d.ts +7 -0
- package/types/components/widgets/pn-chat/pn-chat-stories-constants.d.ts +164 -0
- package/types/components/widgets/pn-chat/pn-chat.d.ts +72 -0
- package/types/components/widgets/pn-chat/pn-chat.models.d.ts +22 -0
- package/types/components/widgets/pn-chat/pn-chat.service.d.ts +26 -0
- package/types/components/widgets/pn-chat/pn-chat.stories.d.ts +8 -0
- package/types/components/widgets/pn-chat/translations.d.ts +77 -0
- package/types/components/widgets/pn-chat/types.d.ts +68 -0
- package/types/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.d.ts +23 -0
- package/types/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.d.ts +5 -0
- package/types/components/widgets/pn-level-up/pn-level-up.d.ts +43 -0
- package/types/components/widgets/pn-level-up/pn-level-up.models.d.ts +22 -0
- package/types/components/widgets/pn-level-up/pn-level-up.service.d.ts +16 -0
- package/types/components/widgets/pn-level-up/pn-level-up.stories.d.ts +7 -0
- package/types/components/widgets/pn-level-up/types.d.ts +1 -0
- package/types/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.d.ts +48 -0
- package/types/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.d.ts +7 -0
- package/types/components/widgets/pn-marketweb-table/pn-marketweb-table.d.ts +55 -0
- package/types/components/widgets/pn-marketweb-table/pn-marketweb-table.service.d.ts +11 -0
- package/types/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.d.ts +26 -0
- package/types/components/widgets/pn-marketweb-table/translations.d.ts +72 -0
- package/types/components/widgets/pn-marketweb-table/types.d.ts +38 -0
- package/types/components/widgets/pn-qr-code-generator/pn-qr-code-generator.d.ts +23 -0
- package/types/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.d.ts +5 -0
- package/types/components/widgets/pn-search/pn-search.d.ts +29 -0
- package/types/components/widgets/pn-search/pn-search.stories.d.ts +7 -0
- package/types/components/widgets/pn-usp-simple/pn-usp-simple.d.ts +19 -0
- package/types/components/widgets/pn-usp-simple/pn-usp-simple.stories.d.ts +7 -0
- package/types/components.d.ts +393 -8
- package/types/globals/HeadingTag.d.ts +1 -1
- package/types/globals/LocalStorageService.d.ts +14 -0
- package/types/globals/ScreensizeDetect.d.ts +29 -0
- package/types/globals/types.d.ts +18 -0
- package/types/utils/utils.d.ts +1 -0
- package/umd/pn-marketweb-init.js +1 -1
- package/umd/pn-marketweb-salesforce.js +1 -1
- package/vscode-data.json +677 -3
- package/cjs/FetchHelper-e951824f.js.map +0 -1
- package/cjs/index-34e1c673.js.map +0 -1
- package/cjs/pn-marketweb-siteheader-login-button_5.cjs.entry.js.map +0 -1
- package/components/pn-marketweb-siteheader-login-mypage-button2.js +0 -38
- package/components/pn-marketweb-siteheader-login-mypage-button2.js.map +0 -1
- package/esm/FetchHelper-746f2bb6.js.map +0 -1
- package/esm/index-51d67461.js.map +0 -1
- package/esm/pn-marketweb-siteheader-login-button_5.entry.js.map +0 -1
- package/pn-market-web-components/p-066e9db9.entry.js +0 -2
- package/pn-market-web-components/p-0ec8d040.entry.js +0 -2
- package/pn-market-web-components/p-13190b30.js +0 -2
- package/pn-market-web-components/p-190c6938.entry.js +0 -2
- package/pn-market-web-components/p-1ec21bd6.entry.js +0 -2
- package/pn-market-web-components/p-231b97e1.entry.js +0 -2
- package/pn-market-web-components/p-23d69d70.entry.js +0 -2
- package/pn-market-web-components/p-23d69d70.entry.js.map +0 -1
- package/pn-market-web-components/p-24086c59.entry.js +0 -2
- package/pn-market-web-components/p-25d53df2.entry.js +0 -2
- package/pn-market-web-components/p-25dfc349.entry.js +0 -2
- package/pn-market-web-components/p-2b03a4e1.entry.js +0 -2
- package/pn-market-web-components/p-2b03a4e1.entry.js.map +0 -1
- package/pn-market-web-components/p-3fb8e665.entry.js +0 -2
- package/pn-market-web-components/p-45b8cadb.entry.js +0 -2
- package/pn-market-web-components/p-45d1e1be.entry.js +0 -2
- package/pn-market-web-components/p-4d2ca281.entry.js +0 -2
- package/pn-market-web-components/p-4e3059dd.entry.js +0 -2
- package/pn-market-web-components/p-4fa5bc85.entry.js +0 -2
- package/pn-market-web-components/p-530274ae.entry.js +0 -2
- package/pn-market-web-components/p-545c24c0.entry.js +0 -2
- package/pn-market-web-components/p-54f3a3b6.entry.js +0 -2
- package/pn-market-web-components/p-55643d76.entry.js +0 -2
- package/pn-market-web-components/p-572c4d81.entry.js +0 -2
- package/pn-market-web-components/p-572c4d81.entry.js.map +0 -1
- package/pn-market-web-components/p-59549c74.entry.js +0 -2
- package/pn-market-web-components/p-59cb7166.entry.js +0 -2
- package/pn-market-web-components/p-59cb7166.entry.js.map +0 -1
- package/pn-market-web-components/p-5a1b6e6d.entry.js +0 -2
- package/pn-market-web-components/p-5d06e48f.entry.js +0 -2
- package/pn-market-web-components/p-5d06e48f.entry.js.map +0 -1
- package/pn-market-web-components/p-62cabd1e.entry.js +0 -2
- package/pn-market-web-components/p-64d0dbba.entry.js +0 -2
- package/pn-market-web-components/p-652f97b9.js +0 -2
- package/pn-market-web-components/p-65ab3003.entry.js +0 -2
- package/pn-market-web-components/p-65f243c1.js.map +0 -1
- package/pn-market-web-components/p-6647d2c4.entry.js +0 -2
- package/pn-market-web-components/p-6a5f7dee.entry.js +0 -2
- package/pn-market-web-components/p-6fdd5b5a.entry.js +0 -2
- package/pn-market-web-components/p-7076038b.entry.js +0 -2
- package/pn-market-web-components/p-725aba56.entry.js +0 -2
- package/pn-market-web-components/p-725aba56.entry.js.map +0 -1
- package/pn-market-web-components/p-72dbca40.entry.js +0 -2
- package/pn-market-web-components/p-74fd7435.entry.js +0 -2
- package/pn-market-web-components/p-758f1b53.entry.js +0 -2
- package/pn-market-web-components/p-76e6708b.entry.js +0 -2
- package/pn-market-web-components/p-776f3d51.entry.js +0 -2
- package/pn-market-web-components/p-77a35f5e.entry.js +0 -2
- package/pn-market-web-components/p-7c3091eb.entry.js +0 -2
- package/pn-market-web-components/p-7c3091eb.entry.js.map +0 -1
- package/pn-market-web-components/p-856c235c.entry.js +0 -2
- package/pn-market-web-components/p-8c26b98d.entry.js +0 -2
- package/pn-market-web-components/p-90242f18.entry.js +0 -2
- package/pn-market-web-components/p-94a69959.entry.js +0 -2
- package/pn-market-web-components/p-94a69959.entry.js.map +0 -1
- package/pn-market-web-components/p-95519556.entry.js +0 -2
- package/pn-market-web-components/p-a38118be.entry.js +0 -2
- package/pn-market-web-components/p-a419cd91.entry.js +0 -2
- package/pn-market-web-components/p-a54a298b.entry.js +0 -2
- package/pn-market-web-components/p-a54a298b.entry.js.map +0 -1
- package/pn-market-web-components/p-a6866467.entry.js +0 -2
- package/pn-market-web-components/p-a72c2729.entry.js +0 -2
- package/pn-market-web-components/p-aeeabb32.entry.js +0 -2
- package/pn-market-web-components/p-b35cdbac.entry.js +0 -2
- package/pn-market-web-components/p-b5a0275d.entry.js +0 -2
- package/pn-market-web-components/p-b693f78a.entry.js +0 -2
- package/pn-market-web-components/p-b9340e9c.entry.js +0 -2
- package/pn-market-web-components/p-b9340e9c.entry.js.map +0 -1
- package/pn-market-web-components/p-b9505c69.entry.js +0 -2
- package/pn-market-web-components/p-bb1c965e.js +0 -3
- package/pn-market-web-components/p-bb1c965e.js.map +0 -1
- package/pn-market-web-components/p-c5772021.entry.js +0 -2
- package/pn-market-web-components/p-cf39491b.entry.js +0 -2
- package/pn-market-web-components/p-d0a085cc.entry.js +0 -2
- package/pn-market-web-components/p-e2e3ac2f.entry.js +0 -2
- package/pn-market-web-components/p-e5ae757f.entry.js +0 -2
- package/pn-market-web-components/p-e6e012fb.entry.js +0 -2
- package/pn-market-web-components/p-e8278e9e.entry.js +0 -2
- package/pn-market-web-components/p-e916e99d.entry.js +0 -2
- package/pn-market-web-components/p-ea3d6f7e.entry.js +0 -2
- package/pn-market-web-components/p-ea7b0d21.entry.js +0 -2
- package/pn-market-web-components/p-fc157a1e.entry.js +0 -2
- /package/pn-market-web-components/{p-652f97b9.js.map → p-72828265.js.map} +0 -0
- /package/pn-market-web-components/{p-e09a907b.js.map → p-793e1339.js.map} +0 -0
- /package/pn-market-web-components/{p-2509d18d.js.map → p-8836de82.js.map} +0 -0
- /package/pn-market-web-components/{p-560e5291.entry.js.map → p-8a651698.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-959a37d9.js.map → p-930e2943.js.map} +0 -0
- /package/pn-market-web-components/{p-155c2049.entry.js.map → p-ad9a7633.entry.js.map} +0 -0
- /package/pn-market-web-components/{p-8af1b914.js.map → p-f9083b7a.js.map} +0 -0
- /package/pn-market-web-components/{p-cafe11a9.js.map → p-fb4cdf98.js.map} +0 -0
- /package/pn-market-web-components/{p-13190b30.js.map → p-fe466661.js.map} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { r as registerInstance, h, d as Host } from './index-
|
|
2
|
-
import { s as state } from './pn-find-price-store-
|
|
1
|
+
import { r as registerInstance, h, d as Host } from './index-c311acd6.js';
|
|
2
|
+
import { s as state } from './pn-find-price-store-f97f2325.js';
|
|
3
3
|
import { a as stampShopUrl, b as sendDirectUrl, R as RealValues } from './data-41504f34.js';
|
|
4
4
|
import { a as bolt, b as box_label } from './box_label-1f8ad335.js';
|
|
5
|
-
import './index-
|
|
5
|
+
import './index-ae60ebec.js';
|
|
6
6
|
|
|
7
7
|
const icon = '<svg class="pn-icon-svg" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="#000" fill-rule="evenodd" d="M12 2a8 8 0 0 0-6.857 12.124l.014.022 4.454 6.586a2.884 2.884 0 0 0 4.778 0l4.454-6.586.014-.022A8 8 0 0 0 12 2m-6 8a6 6 0 1 1 11.156 3.07l-4.424 6.541a.883.883 0 0 1-1.464 0L6.844 13.07A5.97 5.97 0 0 1 6 10m6-2.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5" clip-rule="evenodd"/></svg>';
|
|
8
8
|
const map_marker = icon;
|
|
9
9
|
|
|
10
|
-
const pnFindPriceResultCss = "pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}pn-find-price-result .test{margin:3em 0}.resultcontent{display:flex;justify-content:center;flex-grow:1}";
|
|
10
|
+
const pnFindPriceResultCss = "pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-find-price-result .test{margin:3em 0}.resultcontent{display:flex;justify-content:center;flex-grow:1}";
|
|
11
11
|
const PnFindPriceResultStyle0 = pnFindPriceResultCss;
|
|
12
12
|
|
|
13
13
|
const PnfindPriceResult = class {
|
|
@@ -47,7 +47,7 @@ const PnfindPriceResult = class {
|
|
|
47
47
|
this.shopId = showServicepointLink ? '-servicepoint' : '-stampshop';
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: '59f4be6bf01f3122234c85c78d4f9373dbe22131' }, h("pn-product-card", { key: '1d984dae6345bb05467989ef0705222d64e935fd', "data-productid": this.item.id }, h("pn-illustration", { key: 'f610a8204aaf096eeb09959913c0bafcb8dfe0f1', slot: "illustration", illustration: this.item.illustration }), h("div", { key: '45584134fe586e2f336c89162d1efd3124a49314', slot: "title" }, this.item.infopagelink ? (h("h2", null, h("a", { href: this.item.infopagelink, target: "_blank" }, this.item.name))) : (h("h2", null, this.item.name)), this.item.highestrankusp === 'Snabbast' ? (h("pn-titletag", { slot: "Snabbast", icon: bolt, color: "blue700" }, this.item.highestrankusp)) : this.item.highestrankusp === 'Billigast' ? (h("pn-titletag", { slot: "Billigast", icon: box_label, color: "green700" }, this.item.highestrankusp)) : null), h("div", { key: '524e826bdd0bcb6a5a56d3039ff6a4c1ee5f739c', slot: "content" }, h("div", { key: 'cb795559c19a0b54019dcf3cd8330a84082288b7', class: "content" }, this.item.description ? (h("div", { class: "description" }, this.description.map(desc => (h("li", null, desc))))) : null, this.item.info ? h("div", { class: "description" }, this.item.info) : null)), this.item.note ? (h("div", { slot: "note" }, h("p", null, this.item.note))) : null, this.item.additionalusp ? (h("div", { slot: "additionalUSP" }, this.Usp1 ? h("span", null, this.Usp1) : null, this.Usp2 ? h("span", null, this.Usp2) : null, this.Usp3 ? h("span", null, this.Usp3) : null)) : null, this.showMeasurement ? h("pn-product-card-info", { paket: this.item.maxmått, rulle: this.item.rulle }) : null, h("div", { key: '09427b8855ac9a1b844c4252d23a75e7470f0d88', slot: "cardprice" }, this.item.pricesenddirect ? (h("pn-product-card-price", { slot: "sendDirectPrice", label: state.i18n.senddirectcta, amount: this.item.pricesenddirect + '', currency: state.market.currency, url: sendDirectUrl, linkid: this.linkId + '-portal' })) : null, this.item.pricestamps ? (this.item.name.toLocaleLowerCase() !== 'riktiga vykort' ? (h("pn-product-card-price", { slot: "stampPrice", label: this.shopLabel, amount: this.item.pricestamps + '', currency: state.market.currency, url: this.shopUrl, linkid: this.linkId + this.shopId })) : (h("pn-product-card-price", { slot: "riktiga", label: state.i18n.realPostcard, amount: this.item.pricestamps + '', currency: state.market.currency, url: RealValues['WebUrl'], linkid: this.linkId + '-riktiga' }))) : null), h("div", { key: '1ab3389414f947a15608f90c4a03462de0a50a4f', slot: "servicepoint" }, this.item.showservicepointlink ? (h("a", { href: state.market.servicePoint, target: "_blank" }, h("pn-icon", { icon: map_marker, color: "blue700" }), state.i18n.servicePointLink)) : null), h("div", { key: '2e7072fd307f05839a20743e65e32b6be8941c95', slot: "mobiledownload" }, this.item.name.toLocaleLowerCase() === 'riktiga vykort' ? (h("div", { id: "riktiga" }, h("h4", null, state.i18n.realPostcardMobile), h("div", null, h("a", { href: RealValues['AndroidAppUrl'], target: "_blank" }, h("img", { class: "riktigaAndroidImg", src: RealValues['AndroidImg'] })), h("a", { href: RealValues['IosAppUrl'], target: "_blank" }, h("img", { class: "riktigaAppleImg", src: RealValues['IosImg'] }))))) : null))));
|
|
51
51
|
}
|
|
52
52
|
static get watchers() { return {
|
|
53
53
|
"item": ["composeItems"]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"pn-find-price-result.entry.js","mappings":";;;;;;AAAA,MAAM,IAAI,GAAG,6ZAA6Z,CAAC;AACpa,MAAM,UAAU,GAAG,IAAI;;ACD9B,MAAM,oBAAoB,GAAG,wLAAwL,CAAC;AACtN,gCAAe,oBAAoB;;MCStB,iBAAiB;;;oBACsB,IAAI;0BAEb,EAAE;;;;2BAIV,EAAE;+BACC,KAAK;0BACnB,EAAE;sBACE,EAAE;yBACC,EAAE;uBACJ,EAAE;sBACH,EAAE;;IAE5B,iBAAiB;QACf,IAAI,CAAC,YAAY,EAAE,CAAC;KACrB;IAGD,YAAY;QACV,IAAI,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE;YAC3B,IAAI,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC3C,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC,MAAM,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;YACvC,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC,MAAM,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;YACvC,IAAI,CAAC,IAAI,GAAG,CAAC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AC,QAAQ,CAAC,EACzB,MAAM,EAAE,IAAI,CAAC,MAAM,GAAG,UAAU,GACT,CAC1B,IACC,IAAI,CACJ,EACN,4DAAK,IAAI,EAAC,cAAc,IACrB,IAAI,CAAC,IAAI,CAAC,oBAAoB,IAC7B,SAAG,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,MAAM,EAAC,QAAQ,IACjD,eAAS,IAAI,EAAE,UAAU,EAAE,KAAK,EAAC,SAAS,GAAW,EACpD,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAC1B,IACF,IAAI,CACJ,EAEN,4DAAK,IAAI,EAAC,gBAAgB,IACvB,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,KAAK,gBAAgB,IACtD,WAAK,EAAE,EAAC,SAAS,IACf,cAAK,KAAK,CAAC,IAAI,CAAC,kBAAkB,CAAM,EACxC,eACE,SAAG,IAAI,EAAE,UAAU,CAAC,eAAe,CAAC,EAAE,MAAM,EAAC,QAAQ,IACnD,WAAK,KAAK,EAAC,mBAAmB,EAAC,GAAG,EAAE,UAAU,CAAC,YAAY,CAAC,GAAQ,CAClE,EACJ,SAAG,IAAI,EAAE,UAAU,CAAC,WAAW,CAAC,EAAE,MAAM,EAAC,QAAQ,IAC/C,WAAK,KAAK,EAAC,iBAAiB,EAAC,GAAG,EAAE,UAAU,CAAC,QAAQ,CAAC,GAAQ,CAC5D,CACA,CACF,IACJ,IAAI,CACJ,CACU,CAEf,EACP;KACH;;;;;;;;;","names":[],"sources":["node_modules/pn-design-assets/pn-assets/icons/map_marker.js","src/components/widgets/pn-find-price/pn-find-price-result.scss?tag=pn-find-price-result","src/components/widgets/pn-find-price/pn-find-price-result.tsx"],"sourcesContent":["const icon = '<svg class=\"pn-icon-svg\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\"><path fill=\"#000\" fill-rule=\"evenodd\" d=\"M12 2a8 8 0 0 0-6.857 12.124l.014.022 4.454 6.586a2.884 2.884 0 0 0 4.778 0l4.454-6.586.014-.022A8 8 0 0 0 12 2m-6 8a6 6 0 1 1 11.156 3.07l-4.424 6.541a.883.883 0 0 1-1.464 0L6.844 13.07A5.97 5.97 0 0 1 6 10m6-2.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5\" clip-rule=\"evenodd\"/></svg>';\nexport const map_marker = icon;\nexport const mapMarker = icon;\n","@import '../../../globals/main.scss';\n\npn-find-price-result {\n .test {\n margin: 3em 0;\n }\n}\n\n.resultcontent {\n display: flex;\n // flex-wrap: wrap;\n // flex-direction: row;\n //align-items: flex-start;\n justify-content: center;\n flex-grow: 1;\n}\n","import { Component, h, Prop, Host, Watch, State } from '@stencil/core';\nimport { ProductPriceItem } from './pn-find-price-types';\nimport { state } from './pn-find-price-store';\nimport { sendDirectUrl, stampShopUrl, RealValues } from './data.js';\nimport { bolt, box_label, map_marker } from 'pn-design-assets/pn-assets/icons.js';\n\n@Component({\n tag: 'pn-find-price-result',\n styleUrl: 'pn-find-price-result.scss',\n})\nexport class PnfindPriceResult {\n @Prop({ mutable: true }) item: ProductPriceItem = null;\n\n @Prop() shownitems: ProductPriceItem[] = [];\n @Prop() Usp1?: string;\n @Prop() Usp2?: string;\n @Prop() Usp3?: string;\n @Prop() description?: string[] = [];\n @Prop() showMeasurement?: boolean = false;\n @State() weightText = '';\n @State() linkId: string = '';\n @State() shopLabel: string = '';\n @State() shopUrl: string = '';\n @State() shopId: string = '';\n\n componentWillLoad() {\n this.composeItems();\n }\n\n @Watch('item')\n composeItems() {\n if (this.item.additionalusp) {\n var x = this.item.additionalusp.split('/');\n this.Usp1 = x.length > 0 ? x[0] : null;\n this.Usp2 = x.length > 1 ? x[1] : null;\n this.Usp3 = x.length > 2 ? x[2] : null;\n }\n if (this.item.description) {\n this.description = this.item.description.split('#bullet').filter(x => x !== '');\n }\n\n this.showMeasurement = this.item.maxmått !== null || this.item.rulle !== null;\n this.linkId = `${this.item.id}-${this.item.maxweight}-${this.item.sizecategory}-${this.item.name.toLocaleLowerCase().replace(/[^a-zA-Z0-9]/g, '')}`;\n\n var showServicepointLink = this.item.ombudpurchase === 'Yes';\n\n this.shopLabel = showServicepointLink ? state.i18n.ombudHeader : state.i18n.stampshopcta;\n this.shopUrl = showServicepointLink ? state.market.servicePoint : stampShopUrl;\n this.shopId = showServicepointLink ? '-servicepoint' : '-stampshop';\n }\n\n render() {\n return (\n <Host>\n {\n <pn-product-card data-productid={this.item.id}>\n <pn-illustration slot=\"illustration\" illustration={this.item.illustration}></pn-illustration>\n <div slot=\"title\">\n {this.item.infopagelink ? (\n <h2>\n <a href={this.item.infopagelink} target=\"_blank\">\n {this.item.name}\n </a>\n </h2>\n ) : (\n <h2>{this.item.name}</h2>\n )}\n {this.item.highestrankusp === 'Snabbast' ? (\n <pn-titletag slot=\"Snabbast\" icon={bolt} color=\"blue700\">\n {this.item.highestrankusp}\n </pn-titletag>\n ) : this.item.highestrankusp === 'Billigast' ? (\n <pn-titletag slot=\"Billigast\" icon={box_label} color=\"green700\">\n {this.item.highestrankusp}\n </pn-titletag>\n ) : null}\n </div>\n <div slot=\"content\">\n <div class=\"content\">\n {this.item.description ? (\n <div class=\"description\">\n {this.description.map(desc => (\n <li>{desc}</li>\n ))}\n </div>\n ) : null}\n {this.item.info ? <div class=\"description\">{this.item.info}</div> : null}\n </div>\n </div>\n {this.item.note ? (\n <div slot=\"note\">\n <p>{this.item.note}</p>\n </div>\n ) : null}\n {this.item.additionalusp ? (\n <div slot=\"additionalUSP\">\n {this.Usp1 ? <span>{this.Usp1}</span> : null}\n {this.Usp2 ? <span>{this.Usp2}</span> : null}\n {this.Usp3 ? <span>{this.Usp3}</span> : null}\n </div>\n ) : null}\n {this.showMeasurement ? <pn-product-card-info paket={this.item.maxmått} rulle={this.item.rulle}></pn-product-card-info> : null}\n <div slot=\"cardprice\">\n {this.item.pricesenddirect ? (\n <pn-product-card-price\n slot=\"sendDirectPrice\"\n label={state.i18n.senddirectcta}\n amount={this.item.pricesenddirect + ''}\n currency={state.market.currency}\n url={sendDirectUrl}\n linkid={this.linkId + '-portal'}\n ></pn-product-card-price>\n ) : null}\n {this.item.pricestamps ? (\n this.item.name.toLocaleLowerCase() !== 'riktiga vykort' ? (\n <pn-product-card-price\n slot=\"stampPrice\"\n label={this.shopLabel}\n amount={this.item.pricestamps + ''}\n currency={state.market.currency}\n url={this.shopUrl}\n linkid={this.linkId + this.shopId}\n ></pn-product-card-price>\n ) : (\n <pn-product-card-price\n slot=\"riktiga\"\n label={state.i18n.realPostcard}\n amount={this.item.pricestamps + ''}\n currency={state.market.currency}\n url={RealValues['WebUrl']}\n linkid={this.linkId + '-riktiga'}\n ></pn-product-card-price>\n )\n ) : null}\n </div>\n <div slot=\"servicepoint\">\n {this.item.showservicepointlink ? (\n <a href={state.market.servicePoint} target=\"_blank\">\n <pn-icon icon={map_marker} color=\"blue700\"></pn-icon>\n {state.i18n.servicePointLink}\n </a>\n ) : null}\n </div>\n\n <div slot=\"mobiledownload\">\n {this.item.name.toLocaleLowerCase() === 'riktiga vykort' ? (\n <div id=\"riktiga\">\n <h4>{state.i18n.realPostcardMobile}</h4>\n <div>\n <a href={RealValues['AndroidAppUrl']} target=\"_blank\">\n <img class=\"riktigaAndroidImg\" src={RealValues['AndroidImg']}></img>\n </a>\n <a href={RealValues['IosAppUrl']} target=\"_blank\">\n <img class=\"riktigaAppleImg\" src={RealValues['IosImg']}></img>\n </a>\n </div>\n </div>\n ) : null}\n </div>\n </pn-product-card>\n }\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"pn-find-price-result.entry.js","mappings":";;;;;;AAAA,MAAM,IAAI,GAAG,6ZAA6Z,CAAC;AACpa,MAAM,UAAU,GAAG,IAAI;;ACD9B,MAAM,oBAAoB,GAAG,igBAAigB,CAAC;AAC/hB,gCAAe,oBAAoB;;MCStB,iBAAiB;;;oBACsB,IAAI;0BAEb,EAAE;;;;2BAIV,EAAE;+BACC,KAAK;0B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AClE,EACJ,SAAG,IAAI,EAAE,UAAU,CAAC,WAAW,CAAC,EAAE,MAAM,EAAC,QAAQ,IAC/C,WAAK,KAAK,EAAC,iBAAiB,EAAC,GAAG,EAAE,UAAU,CAAC,QAAQ,CAAC,GAAQ,CAC5D,CACA,CACF,IACJ,IAAI,CACJ,CACU,CAEf,EACP;KACH;;;;;;;;;","names":[],"sources":["node_modules/pn-design-assets/pn-assets/icons/map_marker.js","src/components/widgets/pn-find-price/pn-find-price-result.scss?tag=pn-find-price-result","src/components/widgets/pn-find-price/pn-find-price-result.tsx"],"sourcesContent":["const icon = '<svg class=\"pn-icon-svg\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\"><path fill=\"#000\" fill-rule=\"evenodd\" d=\"M12 2a8 8 0 0 0-6.857 12.124l.014.022 4.454 6.586a2.884 2.884 0 0 0 4.778 0l4.454-6.586.014-.022A8 8 0 0 0 12 2m-6 8a6 6 0 1 1 11.156 3.07l-4.424 6.541a.883.883 0 0 1-1.464 0L6.844 13.07A5.97 5.97 0 0 1 6 10m6-2.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5\" clip-rule=\"evenodd\"/></svg>';\nexport const map_marker = icon;\nexport const mapMarker = icon;\n","@import '../../../globals/main.scss';\n\npn-find-price-result {\n .test {\n margin: 3em 0;\n }\n}\n\n.resultcontent {\n display: flex;\n // flex-wrap: wrap;\n // flex-direction: row;\n //align-items: flex-start;\n justify-content: center;\n flex-grow: 1;\n}\n","import { Component, h, Prop, Host, Watch, State } from '@stencil/core';\nimport { ProductPriceItem } from './pn-find-price-types';\nimport { state } from './pn-find-price-store';\nimport { sendDirectUrl, stampShopUrl, RealValues } from './data.js';\nimport { bolt, box_label, map_marker } from 'pn-design-assets/pn-assets/icons.js';\n\n@Component({\n tag: 'pn-find-price-result',\n styleUrl: 'pn-find-price-result.scss',\n})\nexport class PnfindPriceResult {\n @Prop({ mutable: true }) item: ProductPriceItem = null;\n\n @Prop() shownitems: ProductPriceItem[] = [];\n @Prop() Usp1?: string;\n @Prop() Usp2?: string;\n @Prop() Usp3?: string;\n @Prop() description?: string[] = [];\n @Prop() showMeasurement?: boolean = false;\n @State() weightText = '';\n @State() linkId: string = '';\n @State() shopLabel: string = '';\n @State() shopUrl: string = '';\n @State() shopId: string = '';\n\n componentWillLoad() {\n this.composeItems();\n }\n\n @Watch('item')\n composeItems() {\n if (this.item.additionalusp) {\n var x = this.item.additionalusp.split('/');\n this.Usp1 = x.length > 0 ? x[0] : null;\n this.Usp2 = x.length > 1 ? x[1] : null;\n this.Usp3 = x.length > 2 ? x[2] : null;\n }\n if (this.item.description) {\n this.description = this.item.description.split('#bullet').filter(x => x !== '');\n }\n\n this.showMeasurement = this.item.maxmått !== null || this.item.rulle !== null;\n this.linkId = `${this.item.id}-${this.item.maxweight}-${this.item.sizecategory}-${this.item.name.toLocaleLowerCase().replace(/[^a-zA-Z0-9]/g, '')}`;\n\n var showServicepointLink = this.item.ombudpurchase === 'Yes';\n\n this.shopLabel = showServicepointLink ? state.i18n.ombudHeader : state.i18n.stampshopcta;\n this.shopUrl = showServicepointLink ? state.market.servicePoint : stampShopUrl;\n this.shopId = showServicepointLink ? '-servicepoint' : '-stampshop';\n }\n\n render() {\n return (\n <Host>\n {\n <pn-product-card data-productid={this.item.id}>\n <pn-illustration slot=\"illustration\" illustration={this.item.illustration}></pn-illustration>\n <div slot=\"title\">\n {this.item.infopagelink ? (\n <h2>\n <a href={this.item.infopagelink} target=\"_blank\">\n {this.item.name}\n </a>\n </h2>\n ) : (\n <h2>{this.item.name}</h2>\n )}\n {this.item.highestrankusp === 'Snabbast' ? (\n <pn-titletag slot=\"Snabbast\" icon={bolt} color=\"blue700\">\n {this.item.highestrankusp}\n </pn-titletag>\n ) : this.item.highestrankusp === 'Billigast' ? (\n <pn-titletag slot=\"Billigast\" icon={box_label} color=\"green700\">\n {this.item.highestrankusp}\n </pn-titletag>\n ) : null}\n </div>\n <div slot=\"content\">\n <div class=\"content\">\n {this.item.description ? (\n <div class=\"description\">\n {this.description.map(desc => (\n <li>{desc}</li>\n ))}\n </div>\n ) : null}\n {this.item.info ? <div class=\"description\">{this.item.info}</div> : null}\n </div>\n </div>\n {this.item.note ? (\n <div slot=\"note\">\n <p>{this.item.note}</p>\n </div>\n ) : null}\n {this.item.additionalusp ? (\n <div slot=\"additionalUSP\">\n {this.Usp1 ? <span>{this.Usp1}</span> : null}\n {this.Usp2 ? <span>{this.Usp2}</span> : null}\n {this.Usp3 ? <span>{this.Usp3}</span> : null}\n </div>\n ) : null}\n {this.showMeasurement ? <pn-product-card-info paket={this.item.maxmått} rulle={this.item.rulle}></pn-product-card-info> : null}\n <div slot=\"cardprice\">\n {this.item.pricesenddirect ? (\n <pn-product-card-price\n slot=\"sendDirectPrice\"\n label={state.i18n.senddirectcta}\n amount={this.item.pricesenddirect + ''}\n currency={state.market.currency}\n url={sendDirectUrl}\n linkid={this.linkId + '-portal'}\n ></pn-product-card-price>\n ) : null}\n {this.item.pricestamps ? (\n this.item.name.toLocaleLowerCase() !== 'riktiga vykort' ? (\n <pn-product-card-price\n slot=\"stampPrice\"\n label={this.shopLabel}\n amount={this.item.pricestamps + ''}\n currency={state.market.currency}\n url={this.shopUrl}\n linkid={this.linkId + this.shopId}\n ></pn-product-card-price>\n ) : (\n <pn-product-card-price\n slot=\"riktiga\"\n label={state.i18n.realPostcard}\n amount={this.item.pricestamps + ''}\n currency={state.market.currency}\n url={RealValues['WebUrl']}\n linkid={this.linkId + '-riktiga'}\n ></pn-product-card-price>\n )\n ) : null}\n </div>\n <div slot=\"servicepoint\">\n {this.item.showservicepointlink ? (\n <a href={state.market.servicePoint} target=\"_blank\">\n <pn-icon icon={map_marker} color=\"blue700\"></pn-icon>\n {state.i18n.servicePointLink}\n </a>\n ) : null}\n </div>\n\n <div slot=\"mobiledownload\">\n {this.item.name.toLocaleLowerCase() === 'riktiga vykort' ? (\n <div id=\"riktiga\">\n <h4>{state.i18n.realPostcardMobile}</h4>\n <div>\n <a href={RealValues['AndroidAppUrl']} target=\"_blank\">\n <img class=\"riktigaAndroidImg\" src={RealValues['AndroidImg']}></img>\n </a>\n <a href={RealValues['IosAppUrl']} target=\"_blank\">\n <img class=\"riktigaAppleImg\" src={RealValues['IosImg']}></img>\n </a>\n </div>\n </div>\n ) : null}\n </div>\n </pn-product-card>\n }\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createStore } from './index-
|
|
1
|
+
import { c as createStore } from './index-ae60ebec.js';
|
|
2
2
|
|
|
3
3
|
// Read more about how stencil stores work here: https://stenciljs.com/docs/stencil-store
|
|
4
4
|
const { state, onChange } = createStore({
|
|
@@ -29,4 +29,4 @@ const { state, onChange } = createStore({
|
|
|
29
29
|
|
|
30
30
|
export { state as s };
|
|
31
31
|
|
|
32
|
-
//# sourceMappingURL=pn-find-price-store-
|
|
32
|
+
//# sourceMappingURL=pn-find-price-store-f97f2325.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"pn-find-price-store-
|
|
1
|
+
{"file":"pn-find-price-store-f97f2325.js","mappings":";;AACA;MAEM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,WAAW,CAAC;IACtC,IAAI,EAAE;QACJ,gBAAgB,EAAE,EAAE;QACpB,oBAAoB,EAAE,EAAE;QACxB,iBAAiB,EAAE,EAAE;QACrB,WAAW,EAAE,EAAE;QACf,aAAa,EAAE,EAAE;QACjB,WAAW,EAAE,EAAE;QACf,cAAc,EAAE,EAAE;QAClB,mBAAmB,EAAE,EAAE;QACvB,aAAa,EAAE,EAAE;QACjB,YAAY,EAAE,EAAE;QAChB,OAAO,EAAE,EAAE;QACX,kBAAkB,EAAE,EAAE;QACtB,gBAAgB,EAAE,EAAE;QACpB,YAAY,EAAE,EAAE;QAChB,kBAAkB,EAAE,EAAE;QACtB,WAAW,EAAE,EAAE;KAChB;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,EAAE;QACZ,OAAO,EAAE,EAAE;QACX,YAAY,EAAE,EAAE;KACjB;CACF;;;;","names":[],"sources":["src/components/widgets/pn-find-price/pn-find-price-store.tsx"],"sourcesContent":["import { createStore } from '@stencil/store';\n// Read more about how stencil stores work here: https://stenciljs.com/docs/stencil-store\n\nconst { state, onChange } = createStore({\n i18n: {\n componentheading: '',\n deliveryscopeheading: '',\n resultlistheading: '',\n sizeheading: '',\n weightheading: '',\n weightlabel: '',\n maxweightlabel: '',\n maxmeasurementlabel: '',\n senddirectcta: '',\n stampshopcta: '',\n message: '',\n servicePointHeader: '',\n servicePointLink: '',\n realPostcard: '',\n realPostcardMobile: '',\n ombudHeader: '',\n },\n market: {\n currency: '',\n country: '',\n servicePoint: '',\n },\n});\n\nexport { state, onChange };\nexport default state;\n"],"version":3}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-c311acd6.js';
|
|
2
2
|
import { f as fileLocation, s as sizeCategories, w as weights } from './data-41504f34.js';
|
|
3
3
|
import { c as convertFileForSizeCategogy } from './convert-9abeca02.js';
|
|
4
|
-
import { s as state } from './pn-find-price-store-
|
|
5
|
-
import './index-
|
|
4
|
+
import { s as state } from './pn-find-price-store-f97f2325.js';
|
|
5
|
+
import './index-ae60ebec.js';
|
|
6
6
|
|
|
7
7
|
const translations = {
|
|
8
8
|
sv: {
|
|
@@ -112,7 +112,7 @@ const postnordPerson1Svg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTA0IiBoZW
|
|
|
112
112
|
|
|
113
113
|
const cloudsSvg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjc4IiBoZWlnaHQ9IjU1IiB2aWV3Qm94PSIwIDAgMjc4IDU1IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMjQ3LjM1NSA0OS42ODE1QzI0Ny42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gwNDcgNDIuNzE1NFY0Ni4xMDIySDEyLjAzOTFaIiBmaWxsPSIjRTBGOEZGIi8+CjxwYXRoIGQ9Ik0xMzEuMDU2IDI2LjU4NjRDMTMxLjQ0OSAzMC4wNDIzIDEzMy45NDggMzIuNjg5NSAxMzYuOTkxIDMyLjY4OTVIMTYyLjg5MUMxNjYuMjA5IDMyLjY4OTUgMTY4Ljg4IDI5LjU0MjYgMTY4Ljg4IDI1LjYzMjhWMjUuNTM3NUMxNjguODggMjEuNjI3NyAxNjYuMjA5IDE4LjQ4MDggMTYyLjg5MSAxOC40ODA4SDE1OS45MDdDMTU4Ljc3NyAxMy44MDE1IDE1NS4zMyAxMC4zNzUzIDE1MS4yMzYgMTAuMzc1M0gxNDYuNDJDMTQ1Ljk3MSA0LjcwNTMzIDE0MS45MjEgMC4yNjcwOSAxMzYuOTkxIDAuMjY3MDlDMTMyLjA2MiAwLjI2NzA5IDEyOC4wMTIgNC43MDUzMyAxMjcuNTYzIDEwLjM3NTNIMTI0LjUyOEMxMTkuNTEgMTAuMzc1MyAxMTUuNDYzIDE1LjUyNDcgMTE1LjQ2MyAyMS44MTg0VjI2LjU4NjRIMTMxLjA1NloiIGZpbGw9IiNFMEY4RkYiLz4KPC9zdmc+Cg==';
|
|
114
114
|
|
|
115
|
-
const pnFindPriceCss = "@charset \"UTF-8\";pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}pn-find-price .sizeTable{background-color:transparent !important;border-style:none !important;border:0 !important;position:relative}pn-find-price .sizeTable>tr td{margin-bottom:1em;text-align:center;vertical-align:bottom;padding-right:1em;padding-top:1em}pn-find-price .sizeTable #clouds{position:absolute;top:0em;left:4em;z-index:-1}pn-find-price .firstCell{margin-right:0;margin-left:auto}pn-find-price .findprice-form{max-width:60em;margin:0em auto 3em auto}pn-find-price .findprice-form fieldset{border:none}pn-find-price [slot=title]{margin-bottom:1rem}pn-find-price h2{text-align:center}pn-find-price .heading{text-align:center;line-height:1.1;font-weight:bold;margin-bottom:1rem;color:#005d92}pn-find-price .resultHeading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:2em}pn-find-price .sizecategory{margin-top:1em;margin-bottom:3rem;font-size:0.9em;display:flex;align-items:center;justify-content:center}pn-find-price .weightoption{font-size:0.9em;max-width:41rem;margin:0 auto}pn-find-price .weightoption-content{text-align:center}pn-find-price .weightoption-content pn-choice-button{width:7em;line-height:3.3em;font-size:0.9em;vertical-align:bottom}pn-find-price .weightoption-content pn-choice-button>label{align-content:center;justify-content:center}pn-find-price .weightoption-content pn-choice-button ::before{content:\"Max \";font-weight:lighter}pn-find-price .resultlist{margin:3.2rem 0}pn-find-price .servicePoint{text-align:center}pn-find-price .servicePoint pn-illustration{display:block;max-width:5em;max-height:5em;margin:1.5em auto 0 auto}pn-find-price .servicePoint h3{margin-top:0.8em;margin-bottom:0.9em}pn-find-price .servicePoint a{color:#005d92;text-decoration:none}pn-find-price .servicePoint a:hover{color:#0d234b;text-decoration:underline}";
|
|
115
|
+
const pnFindPriceCss = "@charset \"UTF-8\";pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-find-price .sizeTable{background-color:transparent !important;border-style:none !important;border:0 !important;position:relative}pn-find-price .sizeTable>tr td{margin-bottom:1em;text-align:center;vertical-align:bottom;padding-right:1em;padding-top:1em}pn-find-price .sizeTable #clouds{position:absolute;top:0em;left:4em;z-index:-1}pn-find-price .firstCell{margin-right:0;margin-left:auto}pn-find-price .findprice-form{max-width:60em;margin:0em auto 3em auto}pn-find-price .findprice-form fieldset{border:none}pn-find-price [slot=title]{margin-bottom:1rem}pn-find-price h2{text-align:center}pn-find-price .heading{text-align:center;line-height:1.1;font-weight:bold;margin-bottom:1rem;color:#005d92}pn-find-price .resultHeading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:2em}pn-find-price .sizecategory{margin-top:1em;margin-bottom:3rem;font-size:0.9em;display:flex;align-items:center;justify-content:center}pn-find-price .weightoption{font-size:0.9em;max-width:41rem;margin:0 auto}pn-find-price .weightoption-content{text-align:center}pn-find-price .weightoption-content pn-choice-button{width:7em;line-height:3.3em;font-size:0.9em;vertical-align:bottom}pn-find-price .weightoption-content pn-choice-button>label{align-content:center;justify-content:center}pn-find-price .weightoption-content pn-choice-button ::before{content:\"Max \";font-weight:lighter}pn-find-price .resultlist{margin:3.2rem 0}pn-find-price .servicePoint{text-align:center}pn-find-price .servicePoint pn-illustration{display:block;max-width:5em;max-height:5em;margin:1.5em auto 0 auto}pn-find-price .servicePoint h3{margin-top:0.8em;margin-bottom:0.9em}pn-find-price .servicePoint a{color:#005d92;text-decoration:none}pn-find-price .servicePoint a:hover{color:#0d234b;text-decoration:underline}";
|
|
116
116
|
const PnFindPriceStyle0 = pnFindPriceCss;
|
|
117
117
|
|
|
118
118
|
const PnfindPrice = class {
|
|
@@ -203,11 +203,11 @@ const PnfindPrice = class {
|
|
|
203
203
|
this.filteredItems = weightFilteredData;
|
|
204
204
|
}
|
|
205
205
|
render() {
|
|
206
|
-
return (h("div", { key: '
|
|
206
|
+
return (h("div", { key: 'f905b0634bc06e41d7bd959e0fff9462b1b168da', class: "findprice-form" }, h("fieldset", { key: 'eb218cd4d546f67297b35327e6cc6082b77c81e6' }, h("legend", { key: 'e1bd485b4f129219fb3a883cf6d466244b210162', class: "heading" }, state.i18n.sizeheading), h("div", { key: 'b5efeb0832a14e7b77e9e4f0196aa07579dca2c7', class: "sizecategory" }, h("table", { key: '127474d40d75b7d24f5909c7af200024280b1540', class: "sizeTable" }, h("img", { key: 'b6a5e9ebdecf0a8b230d38386c2dc1d2989bbeba', id: "clouds", src: cloudsSvg }), h("tr", { key: '65a5e896096d2cb3365d74eb2375f503abddada7' }, h("td", { key: '9d50eb0443891868faf8154c11127f5ef18ecafb' }, h("img", { key: 'c924592e2f737141a06d3bab591bb2b300d08d63', class: "firstCell", src: postnordPerson1Svg })), h("td", { key: '5dca188e6cb05aa3dfb1f9ebf8e8c1e3fd387bc5' }, h("img", { key: 'e2f2d66cc90b95f43500bef802ae72a18b51a1b5', src: smallPackageSvg })), h("td", { key: 'c20fb170d3a20925992be1dd93dd99490b3b58e9' }, h("img", { key: 'eb4bc86caaea96967702632c8de19c6d16c123fb', src: mediumPackageSvg })), h("td", { key: 'c73045e6208d836be4499d945ab52517b86a76c7' }, h("img", { key: '027d4c3cc7683f24a3c56233ca704e6b9baaf591', src: largePackageSvg }))), h("tr", { key: '3ba6d9aaca95b5d80b76a4b410d9fb18bcf135f1' }, h("td", { key: '5e065c50e949135609001b050dcb7eea2dbe806a' }), sizeCategories.map(sizeCategory => (h("td", null, h("pn-radio-button", { id: 'findpricecategory-' + sizeCategory.value, radioid: sizeCategory.value, value: sizeCategory.value, name: "sizecategory", checked: sizeCategory.value === this.sizecategory.value, onChange: () => {
|
|
207
207
|
this.sizecategory = sizeCategories.filter(x => x.value === sizeCategory.value)[0];
|
|
208
208
|
this.weight = { value: 0, name: '' };
|
|
209
209
|
this.weightvalue = this.weight.value;
|
|
210
|
-
} })))))))), h("fieldset", { key: '
|
|
210
|
+
} })))))))), h("fieldset", { key: 'd92250abdec1d53b422c535196f1564ce2a340ed' }, h("legend", { key: 'c65f1411972556f0fec1463d06612a92e13c2978', class: "heading" }, state.i18n.weightheading), this.sizecategory.value && weights[this.sizecategory.unit] ? (h("div", { class: "weightoption" }, h("div", { class: "weightoption-content" }, weights[this.sizecategory.unit].map(wght => (h("pn-choice-button", { id: 'findpriceweight-' + wght.value, choiceid: this.sizecategory.value + wght.value, name: "weight", type: "radio", value: !this.weight.value ? 0 : weights[this.sizecategory.unit].findIndex(x => x.value === this.weightvalue), checked: wght.value === this.weight.value, onChange: () => {
|
|
211
211
|
this.weight = weights[this.sizecategory.unit].filter(x => x.value === wght.value)[0];
|
|
212
212
|
this.weightvalue = this.weight.value;
|
|
213
213
|
} }, wght.name)))))) : null, this.filteredItems && this.filteredItems.length > 0 ? (h("div", { class: "resultlist" }, state.i18n.resultlistheading ? h("div", { class: "resultHeading" }, state.i18n.resultlistheading) : null, this.filteredItems.map((item) => (h("div", null, h("pn-find-price-result", { item: item })))))) : null)));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"pn-find-price.entry.js","mappings":";;;;;;AAAO,MAAM,YAAY,GAAG;IAC1B,EAAE,EAAE;QACF,gBAAgB,EAAE,mFAAmF;QACrG,oBAAoB,EAAE,gCAAgC;QACtD,iBAAiB,EAAE,8BAA8B;QACjD,WAAW,EAAE,wCAAwC;QACrD,aAAa,EAAE,qCAAqC;QACpD,WAAW,EAAE,MAAM;QACnB,cAAc,EAAE,SAAS;QACzB,mBAAmB,EAAE,UAAU;QAC/B,aAAa,EAAE,YAAY;QAC3B,YAAY,EAAE,cAAc;QAC5B,OAAO,EAAE,6BAA6B;QACtC,kBAAkB,EAAE,oCAAoC;QACxD,gBAAgB,EAAE,qBAAqB;QACvC,YAAY,EAAE,oBAAoB;QAClC,kBAAkB,EAAE,iBAAiB;QACrC,WAAW,EAAE,eAAe;KAC7B;IACD,EAAE,EAAE;QACF,gBAAgB,EAAE,gGAAgG;QAClH,oBAAoB,EAAE,+BAA+B;QACrD,iBAAiB,EAAE,+BAA+B;QAClD,WAAW,EAAE,oCAAoC;QACjD,aAAa,EAAE,sCAAsC;QACrD,WAAW,EAAE,QAAQ;QACrB,cAAc,EAAE,YAAY;QAC5B,mBAAmB,EAAE,qBAAqB;QAC1C,aAAa,EAAE,YAAY;QAC3B,YAAY,EAAE,cAAc;QAC5B,OAAO,EAAE,4BAA4B;QACrC,kBAAkB,EAAE,oBAAoB;QACxC,gBAAgB,EAAE,oBAAoB;QACtC,YAAY,EAAE,eAAe;QAC7B,kB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,IAAI,CAAC,KAAK,EAC9C,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,GAAG,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,WAAW,CAAC,EAC5G,OAAO,EAAE,IAAI,CAAC,KAAK,KAAK,IAAI,CAAC,MAAM,CAAC,KAAK,EACzC,QAAQ,EAAE;gBACR,IAAI,CAAC,MAAM,GAAI,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,IAAI,CAAuB,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;gBAC5G,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC;aACtC,IAEA,IAAI,CAAC,IAAI,CACO,CACpB,CAAC,CACE,CAEJ,IACJ,IAAI,EAEP,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,IAClD,WAAK,KAAK,EAAC,YAAY,IACpB,KAAK,CAAC,IAAI,CAAC,iBAAiB,GAAG,WAAK,KAAK,EAAC,eAAe,IAAE,KAAK,CAAC,IAAI,CAAC,iBAAiB,CAAO,GAAG,IAAI,EACrG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,IAAsB,MAC7C,eACE,4BAAsB,IAAI,EAAE,IAAI,GAAyB,CACrD,CACP,CAAC,CACE,IACJ,IAAI,CACC,CACP,EACN;KACH;;;;;;;;;;;;","names":["clouds","person","small","medium","large"],"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 fieldset {\n border: none;\n }\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 <fieldset>\n <legend class=\"heading\">{state.i18n.sizeheading}</legend>\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 </fieldset>\n\n <fieldset>\n <legend class=\"heading\">{state.i18n.weightheading}</legend>\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 </fieldset>\n </div>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"pn-find-price.entry.js","mappings":";;;;;;AAAO,MAAM,YAAY,GAAG;IAC1B,EAAE,EAAE;QACF,gBAAgB,EAAE,mFAAmF;QACrG,oBAAoB,EAAE,gCAAgC;QACtD,iBAAiB,EAAE,8BAA8B;QACjD,WAAW,EAAE,wCAAwC;QACrD,aAAa,EAAE,qCAAqC;QACpD,WAAW,EAAE,MAAM;QACnB,cAAc,EAAE,SAAS;QACzB,mBAAmB,EAAE,UAAU;QAC/B,aAAa,EAAE,YAAY;QAC3B,YAAY,EAAE,cAAc;QAC5B,OAAO,EAAE,6BAA6B;QACtC,kBAAkB,EAAE,oCAAoC;Q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I,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,IAClD,WAAK,KAAK,EAAC,YAAY,IACpB,KAAK,CAAC,IAAI,CAAC,iBAAiB,GAAG,WAAK,KAAK,EAAC,eAAe,IAAE,KAAK,CAAC,IAAI,CAAC,iBAAiB,CAAO,GAAG,IAAI,EACrG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,IAAsB,MAC7C,eACE,4BAAsB,IAAI,EAAE,IAAI,GAAyB,CACrD,CACP,CAAC,CACE,IACJ,IAAI,CACC,CACP,EACN;KACH;;;;;;;;;;;;","names":["clouds","person","small","medium","large"],"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 fieldset {\n border: none;\n }\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 <fieldset>\n <legend class=\"heading\">{state.i18n.sizeheading}</legend>\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 </fieldset>\n\n <fieldset>\n <legend class=\"heading\">{state.i18n.weightheading}</legend>\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 </fieldset>\n </div>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, h, d as Host } from './index-
|
|
2
|
-
import { s as state } from './pn-find-service-and-price-store-
|
|
3
|
-
import './index-
|
|
1
|
+
import { r as registerInstance, h, d as Host } from './index-c311acd6.js';
|
|
2
|
+
import { s as state } from './pn-find-service-and-price-store-6553566d.js';
|
|
3
|
+
import './index-ae60ebec.js';
|
|
4
4
|
|
|
5
|
-
const pnFindServiceAndPriceResultCss = "pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}";
|
|
5
|
+
const pnFindServiceAndPriceResultCss = "pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}";
|
|
6
6
|
const PnFindServiceAndPriceResultStyle0 = pnFindServiceAndPriceResultCss;
|
|
7
7
|
|
|
8
8
|
const PnfindServiceAndPriceResult = class {
|
|
@@ -32,7 +32,7 @@ const PnfindServiceAndPriceResult = class {
|
|
|
32
32
|
// (this.item.what === "letter" && this.item.maxweight > 999) ? Math.round(this.item.maxweight/1000) + " kg" : this.item.maxweight + " g";
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: '47d8e3473abc44c2f33670ce759b589a3b2fd942' }, this.shownitems.map(item => (h("pn-product-card", null, h("pn-illustration", { slot: "illustration", illustration: item.illustration }), h("div", { slot: "content" }, h("div", { class: "content" }, h("h3", null, item.name), item.description ? h("div", { class: "description" }, item.description) : null, item.info ? h("div", { class: "description" }, item.info) : null)), item.maxweight ? h("pn-product-tile-info", { label: state.i18n.maxweightlabel, text: this.weightText }) : null, item.pricestamps ? (h("pn-product-tile-price", { slot: "price", label: state.i18n.stampshopcta, amount: item.pricestamps + '', currency: state.market.currency })) : null, item.pricesenddirect ? (h("pn-product-tile-price", { slot: "price", label: state.i18n.senddirectcta, amount: item.pricesenddirect + '', currency: state.market.currency, url: "https://portal.postnord.com/skickadirekt/" })) : null, item.note ? (h("small", { slot: "note" }, h("p", null, item.note))) : null)))));
|
|
36
36
|
}
|
|
37
37
|
static get watchers() { return {
|
|
38
38
|
"item": ["composeItems"]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"pn-find-service-and-price-result.entry.js","mappings":";;;;AAAA,MAAM,8BAA8B,GAAG,
|
|
1
|
+
{"file":"pn-find-service-and-price-result.entry.js","mappings":";;;;AAAA,MAAM,8BAA8B,GAAG,0ZAA0Z,CAAC;AAClc,0CAAe,8BAA8B;;MCOhC,2BAA2B;;;oBACY,IAAI;0BAEb,EAAE;0BACrB,EAAE;;IACxB,iBAAiB;QACf,IAAI,CAAC,YAAY,EAAE,CAAC;KACrB;IAGD,YAAY;QACV,IAAI,CAAC,UAAU,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;;;;;;;;;;KAc/B;IAED,MAAM;QACJ,QACE,EAAC,IAAI,uDACF,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,KACvB,2BACE,uBAAiB,IAAI,EAAC,cAAc,EAAC,YAAY,EAAE,IAAI,CAAC,YAAY,GAAoB,EACxF,WAAK,IAAI,EAAC,SAAS,IACjB,WAAK,KAAK,EAAC,SAAS,IAClB,cAAK,IAAI,CAAC,IAAI,CAAM,EACnB,IAAI,CAAC,WAAW,GAAG,WAAK,KAAK,EAAC,aAAa,IAAE,IAAI,CAAC,WAAW,CAAO,GAAG,IAAI,EAC3E,IAAI,CAAC,IAAI,GAAG,WAAK,KAAK,EAAC,aAAa,IAAE,IAAI,CAAC,IAAI,CAAO,GAAG,IAAI,CAC1D,CACF,EAEL,IAAI,CAAC,SAAS,GAAG,4BAAsB,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,cAAc,EAAE,IAAI,EAAE,IAAI,CAAC,UAAU,GAAyB,GAAG,IAAI,EAE9H,IAAI,CAAC,WAAW,IACf,6BAAuB,IAAI,EAAC,OAAO,EAAC,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,MAAM,EAAE,IAAI,CAAC,WAAW,GAAG,EAAE,EAAE,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,QAAQ,GAA0B,IAC1J,IAAI,EAEP,IAAI,CAAC,eAAe,IACnB,6BACE,IAAI,EAAC,OAAO,EACZ,KAAK,EAAE,KAAK,CAAC,IAAI,CAAC,aAAa,EAC/B,MAAM,EAAE,IAAI,CAAC,eAAe,GAAG,EAAE,EACjC,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,QAAQ,EAC/B,GAAG,EAAC,2CAA2C,GACxB,IACvB,IAAI,EACP,IAAI,CAAC,IAAI,IACR,aAAO,IAAI,EAAC,MAAM,IAChB,aAAI,IAAI,CAAC,IAAI,CAAK,CACZ,IACN,IAAI,CACQ,CACnB,CAAC,CACG,EACP;KACH;;;;;;;;;","names":[],"sources":["src/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.scss?tag=pn-find-service-and-price-result","src/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.tsx"],"sourcesContent":["@import '../../../globals/main.scss';\n\npn-find-service-and-price-result {\n}\n","import { Component, h, Prop, Host, Watch, State } from '@stencil/core';\nimport { ProductPriceItem } from '../../../globals/shared/productprice/product-price-types';\nimport { state } from './pn-find-service-and-price-store';\n\n@Component({\n tag: 'pn-find-service-and-price-result',\n styleUrl: 'pn-find-service-and-price-result.scss',\n})\nexport class PnfindServiceAndPriceResult {\n @Prop({ mutable: true }) item: ProductPriceItem = null;\n\n @Prop() shownitems: ProductPriceItem[] = [];\n @State() weightText = '';\n componentWillLoad() {\n this.composeItems();\n }\n\n @Watch('item')\n composeItems() {\n this.shownitems = [this.item];\n // this.shownitems = [];\n // if (this.item.pricestamps) {\n // this.shownitems.push({...this.item, priceagent: null, pricesenddirect: null});\n // }\n // if (this.item.priceagent) {\n // this.shownitems.push({...this.item, pricestamps: null, pricesenddirect: null});\n // }\n // if (this.item.pricesenddirect) {\n // this.shownitems.push({...this.item, pricestamps: null, priceagent: null});\n // }\n // Parcels are always in KG. Letter KG must be converted from grams\n // this.weightText = (this.item.what === \"parcel\") ? this.item.maxweight + 'kg' :\n // (this.item.what === \"letter\" && this.item.maxweight > 999) ? Math.round(this.item.maxweight/1000) + \" kg\" : this.item.maxweight + \" g\";\n }\n\n render() {\n return (\n <Host>\n {this.shownitems.map(item => (\n <pn-product-card>\n <pn-illustration slot=\"illustration\" illustration={item.illustration}></pn-illustration>\n <div slot=\"content\">\n <div class=\"content\">\n <h3>{item.name}</h3>\n {item.description ? <div class=\"description\">{item.description}</div> : null}\n {item.info ? <div class=\"description\">{item.info}</div> : null}\n </div>\n </div>\n\n {item.maxweight ? <pn-product-tile-info label={state.i18n.maxweightlabel} text={this.weightText}></pn-product-tile-info> : null}\n {/* { item.maximummeasurements ? (<pn-product-tile-info label={state.i18n.maxmeasurementlabel} text={item.maximummeasurements}></pn-product-tile-info>) : null } */}\n {item.pricestamps ? (\n <pn-product-tile-price slot=\"price\" label={state.i18n.stampshopcta} amount={item.pricestamps + ''} currency={state.market.currency}></pn-product-tile-price>\n ) : null}\n {/* { item.priceagent ? (<pn-product-tile-price slot=\"price\" label=\"\" amount={item.priceagent+''} currency={ state.market.currency } url=\"https://shop.postnord.se/ebutik/default.aspx\"></pn-product-tile-price>) : null } */}\n {item.pricesenddirect ? (\n <pn-product-tile-price\n slot=\"price\"\n label={state.i18n.senddirectcta}\n amount={item.pricesenddirect + ''}\n currency={state.market.currency}\n url=\"https://portal.postnord.com/skickadirekt/\"\n ></pn-product-tile-price>\n ) : null}\n {item.note ? (\n <small slot=\"note\">\n <p>{item.note}</p>\n </small>\n ) : null}\n </pn-product-card>\n ))}\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as createStore } from './index-
|
|
1
|
+
import { c as createStore } from './index-ae60ebec.js';
|
|
2
2
|
|
|
3
3
|
// Read more about how stencil stores work here: https://stenciljs.com/docs/stencil-store
|
|
4
4
|
const { state, onChange } = createStore({
|
|
@@ -20,4 +20,4 @@ const { state, onChange } = createStore({
|
|
|
20
20
|
|
|
21
21
|
export { state as s };
|
|
22
22
|
|
|
23
|
-
//# sourceMappingURL=pn-find-service-and-price-store-
|
|
23
|
+
//# sourceMappingURL=pn-find-service-and-price-store-6553566d.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"pn-find-service-and-price-store-
|
|
1
|
+
{"file":"pn-find-service-and-price-store-6553566d.js","mappings":";;AACA;MAEM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,WAAW,CAAC;IACtC,IAAI,EAAE;QACJ,gBAAgB,EAAE,EAAE;QACpB,oBAAoB,EAAE,EAAE;QACxB,WAAW,EAAE,EAAE;QACf,iBAAiB,EAAE,EAAE;QACrB,WAAW,EAAE,EAAE;QACf,cAAc,EAAE,EAAE;QAClB,mBAAmB,EAAE,EAAE;QACvB,aAAa,EAAE,EAAE;QACjB,YAAY,EAAE,EAAE;KACjB;IACD,MAAM,EAAE;QACN,QAAQ,EAAE,EAAE;KACb;CACF;;;;","names":[],"sources":["src/components/widgets/pn-find-service-and-price/pn-find-service-and-price-store.tsx"],"sourcesContent":["import { createStore } from '@stencil/store';\n// Read more about how stencil stores work here: https://stenciljs.com/docs/stencil-store\n\nconst { state, onChange } = createStore({\n i18n: {\n componentheading: '',\n deliveryscopeheading: '',\n sizeheading: '',\n resultlistheading: '',\n weightlabel: '',\n maxweightlabel: '',\n maxmeasurementlabel: '',\n senddirectcta: '',\n stampshopcta: '',\n },\n market: {\n currency: '',\n },\n});\n\nexport { state, onChange };\nexport default state;\n"],"version":3}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-c311acd6.js';
|
|
2
2
|
import { a as convertFileFromStream } from './convert-9abeca02.js';
|
|
3
|
-
import { s as state } from './pn-find-service-and-price-store-
|
|
4
|
-
import './index-
|
|
3
|
+
import { s as state } from './pn-find-service-and-price-store-6553566d.js';
|
|
4
|
+
import './index-ae60ebec.js';
|
|
5
5
|
|
|
6
6
|
const translations = {
|
|
7
7
|
sv: {
|
|
@@ -124,7 +124,7 @@ const weights = {
|
|
|
124
124
|
],
|
|
125
125
|
};
|
|
126
126
|
|
|
127
|
-
const pnFindServiceAndPriceCss = "pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}pn-find-service-and-price .findprice-form{max-width:50em;margin:0 auto}pn-find-service-and-price h2,pn-find-service-and-price .heading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:1rem}pn-find-service-and-price .postagetypes,pn-find-service-and-price .deliveryscope{text-align:center;margin-bottom:3rem}pn-find-service-and-price .weightoption{display:flex;gap:1em}pn-find-service-and-price .weightoption-input{width:5em;position:relative}pn-find-service-and-price .weightoption-input input::-webkit-outer-spin-button,pn-find-service-and-price .weightoption-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}pn-find-service-and-price .weightoption-input-abbreviation{position:absolute;top:50%;transform:translateY(-50%);right:1.2em;margin-top:1.55rem;font-weight:500}pn-find-service-and-price .weightoption-range{flex-grow:1;align-self:flex-end;position:relative;top:0.5em}pn-find-service-and-price .weightoption-range input{width:calc(100% - 1.5em)}pn-find-service-and-price .weightoption-range datalist{width:100%;display:flex;justify-content:space-between;font-size:0.75em}pn-find-service-and-price .resultlist{margin:3em 0}";
|
|
127
|
+
const pnFindServiceAndPriceCss = "pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-find-service-and-price .findprice-form{max-width:50em;margin:0 auto}pn-find-service-and-price h2,pn-find-service-and-price .heading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:1rem}pn-find-service-and-price .postagetypes,pn-find-service-and-price .deliveryscope{text-align:center;margin-bottom:3rem}pn-find-service-and-price .weightoption{display:flex;gap:1em}pn-find-service-and-price .weightoption-input{width:5em;position:relative}pn-find-service-and-price .weightoption-input input::-webkit-outer-spin-button,pn-find-service-and-price .weightoption-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}pn-find-service-and-price .weightoption-input-abbreviation{position:absolute;top:50%;transform:translateY(-50%);right:1.2em;margin-top:1.55rem;font-weight:500}pn-find-service-and-price .weightoption-range{flex-grow:1;align-self:flex-end;position:relative;top:0.5em}pn-find-service-and-price .weightoption-range input{width:calc(100% - 1.5em)}pn-find-service-and-price .weightoption-range datalist{width:100%;display:flex;justify-content:space-between;font-size:0.75em}pn-find-service-and-price .resultlist{margin:3em 0}";
|
|
128
128
|
const PnFindServiceAndPriceStyle0 = pnFindServiceAndPriceCss;
|
|
129
129
|
|
|
130
130
|
const PnfindServiceAndPrice = class {
|
|
@@ -213,7 +213,7 @@ const PnfindServiceAndPrice = class {
|
|
|
213
213
|
this.filteredItems = weightFilteredData;
|
|
214
214
|
}
|
|
215
215
|
render() {
|
|
216
|
-
return (h("div", { key: '
|
|
216
|
+
return (h("div", { key: '0de982c8ec40481b1a547375c6ebe90dd0793e68' }, h("div", { key: 'c91c7d40a40133f018332de72c9e2d01bb345be8', class: "findprice-form" }, state.i18n.componentheading ? h("h2", null, state.i18n.componentheading) : null, h("div", { key: '2806ec049ae3cad22813d139b57526faea25300b', class: "postagetypes" }, postagetypes.map(postagetype => (h("pn-choice-button", { choiceid: postagetype.value, value: postagetype.value, name: "postagetype", type: "radio", checked: postagetype.value === this.postagetype.value, onChange: () => {
|
|
217
217
|
this.postagetype = postagetypes.filter(x => x.value === postagetype.value)[0];
|
|
218
218
|
this.deliveryscope = { value: '', name: '', icon: '' };
|
|
219
219
|
this.weight = { value: 0, name: '' };
|