@postnord/pn-marketweb-components 2.0.149 → 2.0.150-test1
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/{data-b5ef4f7c.js → data-4fa6b08d.js} +2 -2
- package/cjs/{index-95e5b7f9.js → index-28bbc937.js} +1 -1
- package/cjs/{index-4199ff85.js → index-e3e27c79.js} +278 -595
- package/cjs/loader.cjs.js +3 -4
- package/cjs/pn-bonus-progressbar-level.cjs.entry.js +2 -2
- package/cjs/pn-bonus-progressbar.cjs.entry.js +2 -2
- package/cjs/pn-breakpoints.cjs.entry.js +2 -2
- package/cjs/pn-chart.cjs.entry.js +2 -3
- package/cjs/pn-charts-card.cjs.entry.js +2 -9
- package/cjs/pn-choice-button.cjs.entry.js +2 -5
- package/cjs/pn-customernumber-selector-option.cjs.entry.js +2 -2
- package/cjs/pn-customernumber-selector.cjs.entry.js +2 -2
- package/cjs/pn-filter-checkbox.cjs.entry.js +2 -5
- package/cjs/pn-find-price-result.cjs.entry.js +7 -10
- package/cjs/{pn-find-price-store-6b418730.js → pn-find-price-store-a91ce3f6.js} +3 -3
- package/cjs/pn-find-price.cjs.entry.js +10 -10
- package/cjs/pn-find-service-and-price-result.cjs.entry.js +4 -4
- package/cjs/{pn-find-service-and-price-store-6e26630d.js → pn-find-service-and-price-store-16a7936c.js} +1 -1
- package/cjs/pn-find-service-and-price.cjs.entry.js +4 -4
- package/cjs/pn-language-selector_9.cjs.entry.js +66 -35
- package/cjs/pn-line-shape.cjs.entry.js +2 -2
- package/cjs/pn-mainnav-link.cjs.entry.js +10 -4
- package/cjs/{pn-mainnav-store-8c337865.js → pn-mainnav-store-61a75ea0.js} +1 -1
- package/cjs/pn-market-web-components.cjs.js +3 -7
- package/cjs/pn-marketweb-input.cjs.entry.js +7 -2
- package/cjs/pn-marketweb-search.cjs.entry.js +6 -2
- package/cjs/pn-marketweb-sitefooter.cjs.entry.js +15 -10
- package/cjs/{pn-marketweb-siteheader-login-links_2.cjs.entry.js → pn-marketweb-siteheader-login-button_3.cjs.entry.js} +39 -5
- package/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js +4 -4
- package/cjs/{pn-marketweb-siteheader-store-5ced6902.js → pn-marketweb-siteheader-store-e29ad918.js} +1 -1
- package/cjs/pn-marketweb-siteheader.cjs.entry.js +37 -10
- package/cjs/pn-parcel-tracker.cjs.entry.js +2 -2
- package/cjs/pn-pex-pricefinder.cjs.entry.js +5 -2
- package/cjs/{pn-product-card_4.cjs.entry.js → pn-product-card_3.cjs.entry.js} +4 -31
- package/cjs/pn-product-pricelist-result.cjs.entry.js +3 -3
- package/cjs/pn-product-pricelist.cjs.entry.js +4 -4
- package/cjs/pn-product-tile-info_2.cjs.entry.js +3 -10
- package/cjs/pn-product-tile.cjs.entry.js +2 -2
- package/cjs/pn-profile-modal-customernumber.cjs.entry.js +2 -2
- package/cjs/pn-profile-modal-profile.cjs.entry.js +4 -4
- package/cjs/{pn-profile-modal-store-947b08ae.js → pn-profile-modal-store-6117e304.js} +1 -1
- package/cjs/pn-profile-modal-type.cjs.entry.js +4 -4
- package/cjs/pn-profile-modal.cjs.entry.js +4 -4
- package/cjs/pn-profile-selector-option.cjs.entry.js +2 -2
- package/cjs/pn-profile-selector.cjs.entry.js +5 -5
- package/cjs/pn-proxio-findprice-result.cjs.entry.js +63 -0
- package/cjs/pn-proxio-findprice.cjs.entry.js +311 -0
- package/cjs/pn-proxio-pricegroup.cjs.entry.js +11 -25
- package/cjs/pn-proxio-productcard_4.cjs.entry.js +5 -12
- package/cjs/pn-quick-cta.cjs.entry.js +2 -2
- package/cjs/pn-quote-card.cjs.entry.js +3 -2
- package/cjs/pn-sidenav-level.cjs.entry.js +4 -4
- package/cjs/pn-sidenav-link.cjs.entry.js +12 -4
- package/cjs/{pn-sidenav-store-d2389306.js → pn-sidenav-store-d9bd9e00.js} +1 -1
- package/cjs/pn-sidenav-togglebutton.cjs.entry.js +5 -4
- package/cjs/pn-sidenav.cjs.entry.js +6 -4
- package/cjs/pn-site-footer_2.cjs.entry.js +4 -3
- package/cjs/pn-spotlight.cjs.entry.js +2 -2
- package/cjs/pn-stats-info-data.cjs.entry.js +8 -8
- package/cjs/pn-stats-info.cjs.entry.js +2 -2
- package/cjs/pn-teaser-card.cjs.entry.js +4 -3
- package/cjs/pn-titletag.cjs.entry.js +24 -0
- package/cjs/translations-585711ff.js +21 -0
- package/collection/collection-manifest.json +5 -2
- package/collection/components/cards/pn-quote-card/pn-line-shape/pn-line-shape.js +11 -12
- package/collection/components/cards/pn-quote-card/pn-quote-card.js +79 -68
- package/collection/components/cards/pn-teaser-card/pn-teaser-card.js +113 -109
- package/collection/components/charts/pn-chart/pn-chart.js +74 -83
- package/collection/components/charts/pn-charts-card/pn-charts-card.js +146 -142
- package/collection/components/cta/pn-parcel-tracker/pn-parcel-tracker.js +128 -133
- package/collection/components/cta/pn-quick-cta/pn-quick-cta.js +49 -51
- package/collection/components/cta/pn-spotlight/pn-spotlight.js +51 -51
- package/collection/components/data-visualization/pn-stats-info/pn-stats-info-data/pn-stats-info-data.js +115 -120
- package/collection/components/data-visualization/pn-stats-info/pn-stats-info.js +79 -82
- package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar-level.js +87 -93
- package/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar.js +195 -193
- package/collection/components/input/pn-choice-button/pn-choice-button.js +137 -145
- package/collection/components/input/pn-filter-checkbox/pn-filter-checkbox.js +122 -128
- package/collection/components/input/pn-marketweb-input/pn-marketweb-input.js +355 -347
- package/collection/components/input/pn-marketweb-search/pn-marketweb-search.js +260 -258
- package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter-types.js +3 -0
- package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js +221 -201
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-button.css +3 -0
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-button.js +69 -0
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-linklist.js +71 -76
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-links.js +98 -103
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.js +183 -176
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js +248 -244
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.js +172 -170
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +541 -491
- package/collection/components/minor/pn-titletag/pn-titletag.js +49 -51
- package/collection/components/navigation/pn-language-selector/pn-language-selector-option.js +123 -119
- package/collection/components/navigation/pn-language-selector/pn-language-selector.js +64 -71
- package/collection/components/navigation/pn-mainnav/pn-mainnav-level.js +58 -58
- package/collection/components/navigation/pn-mainnav/pn-mainnav-link.js +97 -92
- package/collection/components/navigation/pn-mainnav/pn-mainnav-list.js +33 -39
- package/collection/components/navigation/pn-mainnav/pn-mainnav.js +183 -182
- package/collection/components/navigation/pn-sidenav/pn-sidenav-level.js +22 -29
- package/collection/components/navigation/pn-sidenav/pn-sidenav-link.js +134 -128
- package/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.js +34 -39
- package/collection/components/navigation/pn-sidenav/pn-sidenav.js +66 -71
- package/collection/components/navigation/pn-site-footer/pn-site-footer-col.js +29 -34
- package/collection/components/navigation/pn-site-footer/pn-site-footer.js +75 -68
- package/collection/components/navigation/pn-site-selector/pn-site-selector-item.js +89 -85
- package/collection/components/navigation/pn-site-selector/pn-site-selector.js +73 -73
- package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.js +67 -68
- package/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.js +90 -90
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.js +79 -85
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.js +188 -182
- package/collection/components/profile/pn-profile-modal/pn-profile-modal-type.js +84 -91
- package/collection/components/profile/pn-profile-modal/pn-profile-modal.js +115 -116
- package/collection/components/profile/pn-profile-selector/pn-profile-selector-option.js +67 -68
- package/collection/components/profile/pn-profile-selector/pn-profile-selector.js +76 -78
- package/collection/components/utilities/pn-breakpoints/pn-breakpoints.js +42 -48
- package/collection/components/widgets/pn-find-price/data.js +2 -2
- package/collection/components/widgets/pn-find-price/pn-find-price-result.js +180 -164
- package/collection/components/widgets/pn-find-price/pn-find-price-store.js +2 -2
- package/collection/components/widgets/pn-find-price/pn-find-price-translations.js +5 -5
- package/collection/components/widgets/pn-find-price/pn-find-price.js +113 -99
- package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.js +67 -66
- package/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.js +148 -133
- package/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.js +102 -87
- package/collection/components/widgets/pn-product-card/pn-product-card-info.js +94 -92
- package/collection/components/widgets/pn-product-card/pn-product-card-price.js +131 -138
- package/collection/components/widgets/pn-product-card/pn-product-card.js +21 -12
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.js +108 -101
- package/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.js +140 -137
- package/collection/components/widgets/pn-product-tile/pn-product-tile-info.js +62 -70
- package/collection/components/widgets/pn-product-tile/pn-product-tile-price.js +83 -87
- package/collection/components/widgets/pn-product-tile/pn-product-tile.js +16 -12
- package/collection/components/widgets/pn-proxio-findprice/data.js +52 -0
- package/collection/components/widgets/pn-proxio-findprice/find-price.stories.js +27 -0
- package/collection/components/widgets/pn-proxio-findprice/img/clouds.svg +5 -0
- package/collection/components/widgets/pn-proxio-findprice/img/large-package.svg +9 -0
- package/collection/components/widgets/pn-proxio-findprice/img/medium-package.svg +9 -0
- package/collection/components/widgets/pn-proxio-findprice/img/postnord-person1.svg +52 -0
- package/collection/components/widgets/pn-proxio-findprice/img/postnord-person2.svg +56 -0
- package/collection/components/widgets/pn-proxio-findprice/img/small-package.svg +23 -0
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.css +9 -0
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.js +234 -0
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-store.js +29 -0
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-translations.js +106 -0
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-types.js +1 -0
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.css +105 -0
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.js +250 -0
- package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.css +3 -0
- package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.js +146 -130
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.js +82 -87
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.js +57 -55
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-pricelink.js +61 -70
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.js +20 -12
- package/custom-elements/index.d.ts +18 -0
- package/custom-elements/index.js +771 -314
- package/esm/{data-9c9c5f41.js → data-059c2a58.js} +2 -2
- package/esm/{index-c118284d.js → index-5397620b.js} +279 -595
- package/esm/{index-7f77b0ba.js → index-7b21ecff.js} +1 -1
- package/esm/loader.js +3 -4
- package/esm/pn-bonus-progressbar-level.entry.js +2 -2
- package/esm/pn-bonus-progressbar.entry.js +2 -2
- package/esm/pn-breakpoints.entry.js +2 -2
- package/esm/pn-chart.entry.js +2 -3
- package/esm/pn-charts-card.entry.js +2 -9
- package/esm/pn-choice-button.entry.js +2 -5
- package/esm/pn-customernumber-selector-option.entry.js +2 -2
- package/esm/pn-customernumber-selector.entry.js +2 -2
- package/esm/pn-filter-checkbox.entry.js +2 -5
- package/esm/pn-find-price-result.entry.js +7 -10
- package/esm/{pn-find-price-store-2cef65c5.js → pn-find-price-store-bde5071d.js} +3 -3
- package/esm/pn-find-price.entry.js +10 -10
- package/esm/pn-find-service-and-price-result.entry.js +4 -4
- package/esm/{pn-find-service-and-price-store-f09ca219.js → pn-find-service-and-price-store-65df46a0.js} +1 -1
- package/esm/pn-find-service-and-price.entry.js +4 -4
- package/esm/pn-language-selector_9.entry.js +66 -35
- package/esm/pn-line-shape.entry.js +2 -2
- package/esm/pn-mainnav-link.entry.js +10 -4
- package/esm/{pn-mainnav-store-5d91f523.js → pn-mainnav-store-28571e54.js} +1 -1
- package/esm/pn-market-web-components.js +3 -4
- package/esm/pn-marketweb-input.entry.js +7 -2
- package/esm/pn-marketweb-search.entry.js +6 -2
- package/esm/pn-marketweb-sitefooter.entry.js +15 -10
- package/esm/{pn-marketweb-siteheader-login-links_2.entry.js → pn-marketweb-siteheader-login-button_3.entry.js} +39 -6
- package/esm/pn-marketweb-siteheader-login-linklist.entry.js +4 -4
- package/esm/{pn-marketweb-siteheader-store-9df5290d.js → pn-marketweb-siteheader-store-cd0a1dab.js} +1 -1
- package/esm/pn-marketweb-siteheader.entry.js +37 -10
- package/esm/pn-parcel-tracker.entry.js +2 -2
- package/esm/pn-pex-pricefinder.entry.js +5 -2
- package/esm/{pn-product-card_4.entry.js → pn-product-card_3.entry.js} +5 -31
- package/esm/pn-product-pricelist-result.entry.js +3 -3
- package/esm/pn-product-pricelist.entry.js +4 -4
- package/esm/pn-product-tile-info_2.entry.js +3 -10
- package/esm/pn-product-tile.entry.js +2 -2
- package/esm/pn-profile-modal-customernumber.entry.js +2 -2
- package/esm/pn-profile-modal-profile.entry.js +4 -4
- package/esm/{pn-profile-modal-store-81f53310.js → pn-profile-modal-store-ae9e0d5a.js} +1 -1
- package/esm/pn-profile-modal-type.entry.js +4 -4
- package/esm/pn-profile-modal.entry.js +4 -4
- package/esm/pn-profile-selector-option.entry.js +2 -2
- package/esm/pn-profile-selector.entry.js +5 -5
- package/esm/pn-proxio-findprice-result.entry.js +59 -0
- package/esm/pn-proxio-findprice.entry.js +307 -0
- package/esm/pn-proxio-pricegroup.entry.js +8 -22
- package/esm/pn-proxio-productcard_4.entry.js +5 -12
- package/esm/pn-quick-cta.entry.js +2 -2
- package/esm/pn-quote-card.entry.js +3 -2
- package/esm/pn-sidenav-level.entry.js +4 -4
- package/esm/pn-sidenav-link.entry.js +12 -4
- package/esm/{pn-sidenav-store-94be19c8.js → pn-sidenav-store-50b186d6.js} +1 -1
- package/esm/pn-sidenav-togglebutton.entry.js +5 -4
- package/esm/pn-sidenav.entry.js +6 -4
- package/esm/pn-site-footer_2.entry.js +4 -3
- package/esm/pn-spotlight.entry.js +2 -2
- package/esm/pn-stats-info-data.entry.js +8 -8
- package/esm/pn-stats-info.entry.js +2 -2
- package/esm/pn-teaser-card.entry.js +4 -3
- package/esm/pn-titletag.entry.js +20 -0
- package/esm/polyfills/css-shim.js +1 -1
- package/esm/translations-022fefa0.js +19 -0
- package/esm-es5/MarketWebContextService-872043cc.js +1 -1
- package/esm-es5/convert-f6377d13.js +1 -1
- package/esm-es5/{data-9c9c5f41.js → data-059c2a58.js} +1 -1
- package/esm-es5/index-5397620b.js +1 -0
- package/esm-es5/{index-7f77b0ba.js → index-7b21ecff.js} +1 -1
- package/esm-es5/loader.js +1 -1
- package/esm-es5/pn-bonus-progressbar-level.entry.js +1 -1
- package/esm-es5/pn-bonus-progressbar.entry.js +1 -1
- package/esm-es5/pn-breakpoints.entry.js +1 -1
- package/esm-es5/pn-chart.entry.js +2 -2
- package/esm-es5/pn-charts-card.entry.js +1 -1
- package/esm-es5/pn-choice-button.entry.js +1 -1
- package/esm-es5/pn-customernumber-selector-option.entry.js +1 -1
- package/esm-es5/pn-customernumber-selector.entry.js +1 -1
- package/esm-es5/pn-filter-checkbox.entry.js +1 -1
- package/esm-es5/pn-find-price-result.entry.js +1 -1
- package/esm-es5/pn-find-price-store-bde5071d.js +1 -0
- package/esm-es5/pn-find-price.entry.js +1 -1
- package/esm-es5/pn-find-service-and-price-result.entry.js +1 -1
- package/esm-es5/{pn-find-service-and-price-store-f09ca219.js → pn-find-service-and-price-store-65df46a0.js} +1 -1
- package/esm-es5/pn-find-service-and-price.entry.js +1 -1
- package/esm-es5/pn-language-selector_9.entry.js +1 -1
- package/esm-es5/pn-line-shape.entry.js +1 -1
- package/esm-es5/pn-mainnav-link.entry.js +1 -1
- package/esm-es5/{pn-mainnav-store-5d91f523.js → pn-mainnav-store-28571e54.js} +1 -1
- package/esm-es5/pn-market-web-components.js +1 -1
- package/esm-es5/pn-marketweb-input.entry.js +1 -1
- package/esm-es5/pn-marketweb-search.entry.js +1 -1
- package/esm-es5/pn-marketweb-sitefooter.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader-login-button_3.entry.js +1 -0
- package/esm-es5/pn-marketweb-siteheader-login-linklist.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader-store-cd0a1dab.js +1 -0
- package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
- package/esm-es5/pn-parcel-tracker.entry.js +1 -1
- package/esm-es5/pn-pex-pricefinder.entry.js +1 -1
- package/esm-es5/pn-product-card_3.entry.js +1 -0
- package/esm-es5/pn-product-pricelist-result.entry.js +1 -1
- package/esm-es5/pn-product-pricelist.entry.js +1 -1
- package/esm-es5/pn-product-tile-info_2.entry.js +1 -1
- package/esm-es5/pn-product-tile.entry.js +1 -1
- package/esm-es5/pn-profile-modal-customernumber.entry.js +1 -1
- package/esm-es5/pn-profile-modal-profile.entry.js +1 -1
- package/esm-es5/{pn-profile-modal-store-81f53310.js → pn-profile-modal-store-ae9e0d5a.js} +1 -1
- package/esm-es5/pn-profile-modal-type.entry.js +1 -1
- package/esm-es5/pn-profile-modal.entry.js +1 -1
- package/esm-es5/pn-profile-selector-option.entry.js +1 -1
- package/esm-es5/pn-profile-selector.entry.js +1 -1
- package/esm-es5/pn-proxio-findprice-result.entry.js +1 -0
- package/esm-es5/pn-proxio-findprice.entry.js +1 -0
- package/esm-es5/pn-proxio-pricegroup.entry.js +1 -1
- package/esm-es5/pn-proxio-productcard_4.entry.js +1 -1
- package/esm-es5/pn-quick-cta.entry.js +1 -1
- package/esm-es5/pn-quote-card.entry.js +1 -1
- package/esm-es5/pn-sidenav-level.entry.js +1 -1
- package/esm-es5/pn-sidenav-link.entry.js +1 -1
- package/esm-es5/{pn-sidenav-store-94be19c8.js → pn-sidenav-store-50b186d6.js} +1 -1
- package/esm-es5/pn-sidenav-togglebutton.entry.js +1 -1
- package/esm-es5/pn-sidenav.entry.js +1 -1
- package/esm-es5/pn-site-footer_2.entry.js +1 -1
- package/esm-es5/pn-spotlight.entry.js +1 -1
- package/esm-es5/pn-stats-info-data.entry.js +1 -1
- package/esm-es5/pn-stats-info.entry.js +1 -1
- package/esm-es5/pn-teaser-card.entry.js +1 -1
- package/esm-es5/pn-titletag.entry.js +1 -0
- package/esm-es5/translations-022fefa0.js +1 -0
- package/package.json +2 -3
- package/pn-market-web-components/{p-6f1d6a1a.system.js → p-02ea55ad.system.js} +1 -1
- package/pn-market-web-components/p-0796f9b2.entry.js +1 -0
- package/pn-market-web-components/p-0862b4b6.entry.js +1 -0
- package/pn-market-web-components/{p-a1a58fe4.js → p-0cacf9fb.js} +1 -1
- package/pn-market-web-components/p-10eafcd7.entry.js +1 -0
- package/pn-market-web-components/{p-f7cb2ef9.system.entry.js → p-1151bf60.system.entry.js} +1 -1
- package/pn-market-web-components/p-15112837.entry.js +1 -0
- package/pn-market-web-components/p-16c4bc50.entry.js +1 -0
- package/pn-market-web-components/p-17c4004f.entry.js +1 -0
- package/pn-market-web-components/{p-0c46847e.system.entry.js → p-1c38553b.system.entry.js} +1 -1
- package/pn-market-web-components/p-1ca41ab1.entry.js +1 -0
- package/pn-market-web-components/{p-1fb4eae4.system.entry.js → p-1ce871c5.system.entry.js} +1 -1
- package/pn-market-web-components/p-227e1d46.entry.js +1 -0
- package/pn-market-web-components/p-249964b5.entry.js +1 -0
- package/pn-market-web-components/{p-abfed655.system.entry.js → p-2718b89a.system.entry.js} +1 -1
- package/pn-market-web-components/p-27bcc4a1.system.entry.js +1 -0
- package/pn-market-web-components/{p-7d463116.system.entry.js → p-28c4b4d9.system.entry.js} +1 -1
- package/pn-market-web-components/{p-853e6559.system.entry.js → p-290d5824.system.entry.js} +1 -1
- package/pn-market-web-components/p-2a598ee8.entry.js +1 -0
- package/pn-market-web-components/p-2da8e5e8.system.entry.js +1 -0
- package/pn-market-web-components/p-31fd7a95.system.js +1 -1
- package/pn-market-web-components/p-35fcd76c.system.entry.js +1 -0
- package/pn-market-web-components/p-36654f2a.system.js +1 -0
- package/pn-market-web-components/{p-e4961116.system.entry.js → p-36a1b8e1.system.entry.js} +1 -1
- package/pn-market-web-components/p-3738a2df.system.js +1 -0
- package/pn-market-web-components/p-381b3ec0.entry.js +1 -0
- package/pn-market-web-components/p-3969ec4d.entry.js +1 -0
- package/pn-market-web-components/{p-c576ac3e.system.entry.js → p-447ef543.system.entry.js} +1 -1
- package/pn-market-web-components/{p-8ca063a9.system.entry.js → p-450cbe76.system.entry.js} +1 -1
- package/pn-market-web-components/p-479b970a.entry.js +1 -0
- package/pn-market-web-components/p-499bb3ac.entry.js +1 -0
- package/pn-market-web-components/p-4a026c9d.system.entry.js +1 -0
- package/pn-market-web-components/p-4a03854b.system.entry.js +1 -0
- package/pn-market-web-components/p-4bef1bf3.entry.js +1 -0
- package/pn-market-web-components/{p-9f95b3c9.system.entry.js → p-4f67721e.system.entry.js} +1 -1
- package/pn-market-web-components/p-557328e3.system.entry.js +1 -0
- package/pn-market-web-components/{p-66b4a71f.system.entry.js → p-5703e89b.system.entry.js} +1 -1
- package/pn-market-web-components/p-5882d613.entry.js +1 -0
- package/pn-market-web-components/{p-8fee0115.system.entry.js → p-58a57436.system.entry.js} +1 -1
- package/pn-market-web-components/p-58e8d7d5.js +1 -0
- package/pn-market-web-components/p-59be826b.system.entry.js +1 -0
- package/pn-market-web-components/p-61dbe832.entry.js +1 -0
- package/pn-market-web-components/{p-b890f3f9.system.entry.js → p-625fb7fb.system.entry.js} +1 -1
- package/pn-market-web-components/p-67380aa4.entry.js +1 -0
- package/pn-market-web-components/p-67887512.system.js +1 -0
- package/pn-market-web-components/{p-8a834594.system.entry.js → p-679ebd2a.system.entry.js} +1 -1
- package/pn-market-web-components/p-6b33db5b.system.entry.js +1 -0
- package/pn-market-web-components/{p-4d561de4.system.entry.js → p-7079df88.system.entry.js} +1 -1
- package/pn-market-web-components/p-715d1ef7.entry.js +1 -0
- package/pn-market-web-components/{p-5a506356.system.entry.js → p-723b9901.system.entry.js} +1 -1
- package/pn-market-web-components/{p-545a40a7.system.entry.js → p-74d35edf.system.entry.js} +1 -1
- package/pn-market-web-components/{p-6d050c3a.system.entry.js → p-7b9fb94f.system.entry.js} +1 -1
- package/pn-market-web-components/p-7ce41d14.entry.js +1 -0
- package/pn-market-web-components/p-7fd8b012.entry.js +1 -0
- package/pn-market-web-components/{p-2145d5e0.system.entry.js → p-80dce81e.system.entry.js} +1 -1
- package/pn-market-web-components/{p-68324e6f.system.entry.js → p-8117b79e.system.entry.js} +1 -1
- package/pn-market-web-components/p-81426cd9.entry.js +1 -0
- package/pn-market-web-components/p-81d764a0.entry.js +1 -0
- package/pn-market-web-components/{p-d34c9be2.system.js → p-825b8fb8.system.js} +1 -1
- package/pn-market-web-components/{p-c5727e83.js → p-84699999.js} +1 -1
- package/pn-market-web-components/{p-ecaad0c1.js → p-86f06e26.js} +1 -1
- package/pn-market-web-components/p-8766fa86.system.js +1 -1
- package/pn-market-web-components/p-88185835.entry.js +1 -0
- package/pn-market-web-components/p-885bc8d7.system.entry.js +1 -0
- package/pn-market-web-components/p-8a05dbb6.entry.js +1 -0
- package/pn-market-web-components/p-8afa354b.system.entry.js +1 -0
- package/pn-market-web-components/p-8b684578.entry.js +1 -0
- package/pn-market-web-components/p-8e146205.entry.js +1 -0
- package/pn-market-web-components/p-8e38c337.entry.js +1 -0
- package/pn-market-web-components/p-8e4d292f.entry.js +1 -0
- package/pn-market-web-components/p-8ef45246.entry.js +1 -0
- package/pn-market-web-components/p-92fd28e6.entry.js +1 -0
- package/pn-market-web-components/p-9344cd23.js +1 -0
- package/pn-market-web-components/{p-e737c51d.system.entry.js → p-93cecc43.system.entry.js} +1 -1
- package/pn-market-web-components/{p-3a450371.system.js → p-94958580.system.js} +1 -1
- package/pn-market-web-components/p-951861fa.entry.js +1 -0
- package/pn-market-web-components/p-98a7ddd1.system.entry.js +1 -0
- package/pn-market-web-components/p-996d8a6a.entry.js +1 -0
- package/pn-market-web-components/p-9aa09635.entry.js +1 -0
- package/pn-market-web-components/p-9b855b11.entry.js +24 -0
- package/pn-market-web-components/{p-8cefd900.system.entry.js → p-9edaf6b6.system.entry.js} +1 -1
- package/pn-market-web-components/p-a119cb8e.entry.js +1 -0
- package/pn-market-web-components/p-a120063f.js +1 -0
- package/pn-market-web-components/p-a247058b.system.entry.js +1 -0
- package/pn-market-web-components/{p-6e43a937.system.entry.js → p-a275bffb.system.entry.js} +1 -1
- package/pn-market-web-components/{p-396b254a.system.js → p-a5f75560.system.js} +1 -1
- package/pn-market-web-components/p-a7bb94a0.entry.js +1 -0
- package/pn-market-web-components/p-a921d3fd.system.entry.js +1 -0
- package/pn-market-web-components/{p-9010c32a.system.entry.js → p-aa271997.system.entry.js} +1 -1
- package/pn-market-web-components/{p-441249d9.system.js → p-add7d76c.system.js} +1 -1
- package/pn-market-web-components/{p-ca1f0abc.system.entry.js → p-af415c1a.system.entry.js} +1 -1
- package/pn-market-web-components/p-b501b216.system.js +1 -0
- package/pn-market-web-components/{p-ffe18938.system.entry.js → p-b88337dd.system.entry.js} +1 -1
- package/pn-market-web-components/p-b9a84e67.entry.js +1 -0
- package/pn-market-web-components/p-bb626ab4.js +1 -0
- package/pn-market-web-components/p-bd22aaac.entry.js +1 -0
- package/pn-market-web-components/p-bfe239ca.js +1 -1
- package/pn-market-web-components/{p-5a41c1bb.system.entry.js → p-c62a91ba.system.entry.js} +1 -1
- package/pn-market-web-components/p-c714a790.entry.js +1 -0
- package/pn-market-web-components/{p-2e507907.system.entry.js → p-c9fb0f01.system.entry.js} +2 -2
- package/pn-market-web-components/p-d0155ddf.entry.js +1 -0
- package/pn-market-web-components/p-d11a5fbb.system.entry.js +1 -0
- package/pn-market-web-components/{p-5bdcc423.system.entry.js → p-d542a52b.system.entry.js} +1 -1
- package/pn-market-web-components/p-d57f4246.system.entry.js +1 -0
- package/pn-market-web-components/p-d775d725.entry.js +1 -0
- package/pn-market-web-components/p-d7e3d918.entry.js +1 -0
- package/pn-market-web-components/{p-ad836c55.system.js → p-dbe032f7.system.js} +1 -1
- package/pn-market-web-components/{p-a62ddaaa.system.entry.js → p-def0a6a2.system.entry.js} +1 -1
- package/pn-market-web-components/p-e0b034c2.entry.js +1 -0
- package/pn-market-web-components/p-e32dc098.entry.js +1 -0
- package/pn-market-web-components/p-e397e11b.entry.js +1 -0
- package/pn-market-web-components/{p-ef721555.system.entry.js → p-e6fa11ad.system.entry.js} +1 -1
- package/pn-market-web-components/p-e9576f26.entry.js +1 -0
- package/pn-market-web-components/p-e9fe5c54.entry.js +1 -0
- package/pn-market-web-components/p-ecdf2b69.system.entry.js +1 -0
- package/pn-market-web-components/{p-939b5792.system.entry.js → p-f312ff98.system.entry.js} +1 -1
- package/pn-market-web-components/p-f58bde56.js +1 -0
- package/pn-market-web-components/p-f61342c3.js +1 -0
- package/pn-market-web-components/{p-4b85fd2b.system.entry.js → p-f6ea7c38.system.entry.js} +1 -1
- package/pn-market-web-components/p-f774e2cc.entry.js +1 -0
- package/pn-market-web-components/p-f782ce94.system.entry.js +1 -0
- package/pn-market-web-components/{p-1d50340b.system.entry.js → p-fc1083d2.system.entry.js} +1 -1
- package/pn-market-web-components/p-fc974bca.entry.js +1 -0
- package/pn-market-web-components/p-fea72975.entry.js +1 -0
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/pn-market-web-components/pn-market-web-components.js +1 -2
- package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-button.d.ts +9 -0
- package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.d.ts +2 -2
- package/types/components/widgets/pn-find-price/pn-find-price-store.d.ts +4 -4
- package/types/components/widgets/pn-find-price/pn-find-price-translations.d.ts +5 -5
- package/types/components/widgets/pn-find-price/pn-find-price-types.d.ts +2 -2
- package/types/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.d.ts +22 -0
- package/types/components/widgets/pn-proxio-findprice/pn-proxio-findprice-store.d.ts +51 -0
- package/types/components/widgets/pn-proxio-findprice/pn-proxio-findprice-translations.d.ts +106 -0
- package/types/components/widgets/pn-proxio-findprice/pn-proxio-findprice-types.d.ts +39 -0
- package/types/components/widgets/pn-proxio-findprice/pn-proxio-findprice.d.ts +24 -0
- package/types/components/widgets/pn-proxio-pricegroup/types.d.ts +1 -1
- package/types/components.d.ts +89 -54
- package/types/stencil-public-runtime.d.ts +7 -79
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/LICENSE.md +27 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/bin/stencil +57 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/config-flags.d.ts +122 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.cjs +2609 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.d.ts +19 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/index.js +2583 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/cli/package.json +14 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.d.ts +24 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.dom.d.ts +18505 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.dom.iterable.d.ts +341 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.collection.d.ts +150 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.core.d.ts +559 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.d.ts +30 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.generator.d.ts +79 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.iterable.d.ts +498 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.promise.d.ts +83 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.proxy.d.ts +130 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.reflect.d.ts +146 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.symbol.d.ts +48 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2015.symbol.wellknown.d.ts +324 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2016.array.include.d.ts +118 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2016.d.ts +22 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2016.full.d.ts +25 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.d.ts +26 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.full.d.ts +25 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.intl.d.ts +47 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.object.d.ts +51 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.sharedmemory.d.ts +137 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.string.d.ts +47 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2017.typedarrays.d.ts +55 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.asyncgenerator.d.ts +79 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.asynciterable.d.ts +45 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.d.ts +26 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.full.d.ts +25 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.intl.d.ts +73 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.promise.d.ts +32 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2018.regexp.d.ts +39 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.array.d.ts +85 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.d.ts +26 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.full.d.ts +25 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.intl.d.ts +25 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.object.d.ts +35 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.string.d.ts +39 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2019.symbol.d.ts +26 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.bigint.d.ts +730 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.d.ts +29 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.date.d.ts +44 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.full.d.ts +25 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.intl.d.ts +433 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.number.d.ts +30 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.promise.d.ts +49 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.sharedmemory.d.ts +99 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.string.d.ts +30 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2020.symbol.wellknown.d.ts +39 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.d.ts +25 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.full.d.ts +25 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.intl.d.ts +154 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.promise.d.ts +50 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.string.d.ts +35 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2021.weakref.d.ts +75 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.array.d.ts +123 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.d.ts +27 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.error.d.ts +75 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.full.d.ts +25 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.intl.d.ts +111 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.object.d.ts +28 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.sharedmemory.d.ts +27 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es2022.string.d.ts +27 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es5.d.ts +4526 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.es6.d.ts +25 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.d.ts +22 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.full.d.ts +25 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.intl.d.ts +30 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.promise.d.ts +43 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.string.d.ts +35 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.esnext.weakref.d.ts +75 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.scripthost.d.ts +327 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.webworker.d.ts +6192 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.webworker.importscripts.d.ts +26 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/lib.webworker.iterable.d.ts +175 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/package.json +8 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.d.ts +73 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.js +70673 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/stencil.min.js +4 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/sys/in-memory-fs.d.ts +218 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/compiler/transpile.d.ts +32 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dependencies.json +120 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/app-error.d.ts +18 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/events.d.ts +6 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-components.d.ts +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-external-styles.d.ts +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-images.d.ts +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-inline-styles.d.ts +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-util.d.ts +9 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/hmr-window.d.ts +10 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/index.d.ts +6 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/index.js +808 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/logger.d.ts +5 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/package.json +8 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/progress.d.ts +3 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/status.d.ts +4 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/test/hmr-util.spec.d.ts +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/client/test/status.spec.d.ts +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/connector.html +6 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/index.d.ts +3 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/index.js +264 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/open-in-editor-api.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/package.json +8 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/server-process.js +1799 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/server-worker-thread.js +39 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/static/favicon.ico +0 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/templates/directory-index.html +132 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/templates/initial-load.html +160 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/visualstudio.vbs +82 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/ws.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/xdg-open +1066 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/index.cjs +92 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/index.d.ts +4 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/index.js +88 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/app-data/package.json +15 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/css-shim.js +4 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/dom.js +73 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/index.js +3371 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/package.json +8 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/patch-browser.js +142 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/patch-esm.js +23 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/core-js.js +11 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/css-shim.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/dom.js +79 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/es5-html-element.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/index.js +34 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/system.js +6 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/shadow-css.js +387 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/index.js +1143 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/package.json +7 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/runner.d.ts +217 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/runner.js +777 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/hydrate/shadow-css.js +143 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/index.d.ts +4 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/index.js +2 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/package.json +9 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.cjs +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.d.ts +51 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-core/index.js +16 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-ext-modules.d.ts +41 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-private.d.ts +2268 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-compiler.d.ts +2338 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-docs.d.ts +140 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/stencil-public-runtime.d.ts +1637 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/index.js +1105 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/package.json +7 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/testing/shadow-css.js +143 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.cjs +4858 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.d.ts +1020 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/index.js +4822 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/mock-doc/package.json +15 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/package.json +190 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/readme.md +99 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/assets/favicon.ico +0 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/assets/logo.png +0 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/app.css +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/app.esm.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/app.js +33 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/index.esm.js +0 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-081b0641.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-227a1e18.entry.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-2c298727.entry.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-5479268c.entry.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-573ec8a4.entry.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-6ba08604.entry.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-6bc63295.entry.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-7a3759fd.entry.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-7b4e3ba7.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-988eb362.css +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-9b6a9315.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-b4cc611c.entry.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-d1bf53f5.entry.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-e2efe0df.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-e8ca6d97.entry.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-ec2f13e0.entry.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-f0b99977.entry.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-f4745c2f.entry.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/build/p-fbbae598.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/host.config.json +15 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/index.html +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/compare/manifest.json +13 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/connector.js +2 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/index.js +661 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/local-connector.js +2 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/package.json +15 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/screenshot/pixel-match.js +2807 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/autoprefixer.js +8 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/glob.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/graceful-fs.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/index.d.ts +22 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/index.js +6121 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/node-fetch.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/package.json +8 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/prompts.js +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/sys/node/worker.js +52 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/index.d.ts +12 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/index.js +4155 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-config.d.ts +16 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-environment.d.ts +15 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-preprocessor.d.ts +59 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-runner.d.ts +10 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-screenshot.d.ts +2 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-serializer.d.ts +4 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/jest-setup-test-framework.d.ts +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-config.spec.d.ts +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-preprocessor.spec.d.ts +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-runner.spec.d.ts +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest/test/jest-serializer.spec.d.ts +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-environment.js +3 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-preprocessor.js +3 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-preset.js +37 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-runner.js +3 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/jest-setuptestframework.js +3 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/attributes.d.ts +14 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/class-list.d.ts +12 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/events.d.ts +21 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/html.d.ts +12 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/index.d.ts +23 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/screenshot.d.ts +5 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/matchers/text.d.ts +4 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/mock-fetch.d.ts +11 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/mocks.d.ts +56 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/package.json +8 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/index.d.ts +2 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-browser.d.ts +6 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-declarations.d.ts +429 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-element.d.ts +67 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-emulate.d.ts +2 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-events.d.ts +21 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-page.d.ts +2 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/puppeteer/puppeteer-screenshot.d.ts +4 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/reset-build-conditionals.d.ts +2 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/spec-page.d.ts +2 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/test/testing-utils.spec.d.ts +1 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/test-transpile.d.ts +2 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing-logger.d.ts +25 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing-sys.d.ts +6 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing-utils.d.ts +79 -0
- package/umd/modules/@postnord/web-components/node_modules/@stencil/core/testing/testing.d.ts +2 -0
- package/umd/pn-marketweb-init.js +1 -1
- package/umd/pn-marketweb-salesforce.js +2 -2
- package/esm-es5/index-c118284d.js +0 -2
- package/esm-es5/pn-find-price-store-2cef65c5.js +0 -1
- package/esm-es5/pn-marketweb-siteheader-login-links_2.entry.js +0 -1
- package/esm-es5/pn-marketweb-siteheader-store-9df5290d.js +0 -1
- package/esm-es5/pn-product-card_4.entry.js +0 -1
- package/pn-market-web-components/p-0fbcacf3.system.entry.js +0 -1
- package/pn-market-web-components/p-1545fb34.entry.js +0 -1
- package/pn-market-web-components/p-156fedd7.entry.js +0 -1
- package/pn-market-web-components/p-15e680a8.entry.js +0 -1
- package/pn-market-web-components/p-17fb8d9e.entry.js +0 -1
- package/pn-market-web-components/p-19db5c15.entry.js +0 -1
- package/pn-market-web-components/p-1a9b2a0e.system.entry.js +0 -1
- package/pn-market-web-components/p-1c382898.entry.js +0 -1
- package/pn-market-web-components/p-1f8423d6.entry.js +0 -1
- package/pn-market-web-components/p-247cd393.entry.js +0 -1
- package/pn-market-web-components/p-2967a563.entry.js +0 -1
- package/pn-market-web-components/p-2e4361e7.entry.js +0 -1
- package/pn-market-web-components/p-34c0b146.entry.js +0 -1
- package/pn-market-web-components/p-36ebd0f4.entry.js +0 -1
- package/pn-market-web-components/p-37d26cef.entry.js +0 -1
- package/pn-market-web-components/p-38f135fd.entry.js +0 -1
- package/pn-market-web-components/p-3e3298fe.entry.js +0 -1
- package/pn-market-web-components/p-41b34b21.entry.js +0 -1
- package/pn-market-web-components/p-44c05fba.entry.js +0 -1
- package/pn-market-web-components/p-44f58f15.js +0 -1
- package/pn-market-web-components/p-4653f5db.system.entry.js +0 -1
- package/pn-market-web-components/p-47d717a3.entry.js +0 -1
- package/pn-market-web-components/p-48c74c53.entry.js +0 -1
- package/pn-market-web-components/p-49f60496.entry.js +0 -1
- package/pn-market-web-components/p-4a8e35d3.system.entry.js +0 -1
- package/pn-market-web-components/p-4ccf1b55.system.entry.js +0 -1
- package/pn-market-web-components/p-4ef54288.entry.js +0 -1
- package/pn-market-web-components/p-507f8886.entry.js +0 -1
- package/pn-market-web-components/p-5a6761da.js +0 -1
- package/pn-market-web-components/p-61a28efa.system.entry.js +0 -1
- package/pn-market-web-components/p-73ee3141.entry.js +0 -1
- package/pn-market-web-components/p-773b59c0.entry.js +0 -24
- package/pn-market-web-components/p-7c1b31e8.js +0 -2
- package/pn-market-web-components/p-7d992089.entry.js +0 -1
- package/pn-market-web-components/p-7dff99ed.entry.js +0 -1
- package/pn-market-web-components/p-8079dfd5.system.entry.js +0 -1
- package/pn-market-web-components/p-82db879c.entry.js +0 -1
- package/pn-market-web-components/p-8301eb4e.entry.js +0 -1
- package/pn-market-web-components/p-833bab34.entry.js +0 -1
- package/pn-market-web-components/p-8b28ac30.entry.js +0 -1
- package/pn-market-web-components/p-8f0a682f.entry.js +0 -1
- package/pn-market-web-components/p-9a6af82e.entry.js +0 -1
- package/pn-market-web-components/p-a3b8ec51.system.entry.js +0 -1
- package/pn-market-web-components/p-a5faec68.system.js +0 -2
- package/pn-market-web-components/p-a781c8dd.entry.js +0 -1
- package/pn-market-web-components/p-a799fee1.entry.js +0 -1
- package/pn-market-web-components/p-ad1f57dc.entry.js +0 -1
- package/pn-market-web-components/p-ad308a5e.entry.js +0 -1
- package/pn-market-web-components/p-b0102ff6.entry.js +0 -1
- package/pn-market-web-components/p-be1e1c64.system.entry.js +0 -1
- package/pn-market-web-components/p-beefd9f7.entry.js +0 -1
- package/pn-market-web-components/p-c0db1ffd.js +0 -1
- package/pn-market-web-components/p-c668f453.entry.js +0 -1
- package/pn-market-web-components/p-c7e8ab14.entry.js +0 -1
- package/pn-market-web-components/p-cd6b402e.system.entry.js +0 -1
- package/pn-market-web-components/p-d295ef71.system.js +0 -1
- package/pn-market-web-components/p-d5ae9797.entry.js +0 -1
- package/pn-market-web-components/p-d70e685c.entry.js +0 -1
- package/pn-market-web-components/p-dbd7837e.entry.js +0 -1
- package/pn-market-web-components/p-dc598ef8.entry.js +0 -1
- package/pn-market-web-components/p-e0e45eb0.system.entry.js +0 -1
- package/pn-market-web-components/p-e1513762.entry.js +0 -1
- package/pn-market-web-components/p-e4754d3b.system.entry.js +0 -1
- package/pn-market-web-components/p-e4fbd06c.entry.js +0 -1
- package/pn-market-web-components/p-eb8e21c2.system.entry.js +0 -1
- package/pn-market-web-components/p-ed5e91eb.system.entry.js +0 -1
- package/pn-market-web-components/p-f04afb39.js +0 -1
- package/pn-market-web-components/p-f4a6d005.system.js +0 -1
- package/pn-market-web-components/p-fba88e93.entry.js +0 -1
- package/pn-market-web-components/p-ff975b67.entry.js +0 -1
- /package/pn-market-web-components/{p-bfa7c83f.system.js → p-1534926e.system.js} +0 -0
- /package/pn-market-web-components/{p-86b52823.js → p-a07906d5.js} +0 -0
package/custom-elements/index.js
CHANGED
|
@@ -3,7 +3,7 @@ export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client'
|
|
|
3
3
|
|
|
4
4
|
const pnBonusProgressbarCss = "pn-bonus-progressbar{width:100%}.bonusprogressbar-top{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-bottom:1.6rem}.bonusprogressbar-top-icon{border-radius:100%;height:5rem;width:5rem;padding:1rem;display:-ms-inline-flexbox;display:inline-flex;margin-right:1em;margin-left:0.5em;background-color:#E0F8FF}[theme=red] .bonusprogressbar-top-icon{background-color:#FBC2C1}.bonusprogressbar-top-icon pn-icon svg{width:100%;height:100%}.bonusprogressbar-sumtext{margin-top:0.4rem;font-size:1.3rem;color:#5E554A}.bonusprogressbar-top-percentage{margin-left:0.8rem;padding:0}.bonusprogressbar-wrapper{position:relative;display:-ms-flexbox;display:flex;min-height:5em;-ms-flex-align:center;align-items:center}.bonusprogressbar-currentlevel{position:absolute}.bonusprogressbar-progress[value]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:1.7rem;border:0.1rem solid #00A0D6;border-radius:1.7rem;padding:0;margin:0;overflow:hidden}[theme=red] .bonusprogressbar-progress[value]{border-color:#F06365}.bonusprogressbar-progress[value]::-webkit-progress-bar{border:0;border-radius:1.7rem;margin:0;padding:0;background:#E0F8FF}[theme=red] .bonusprogressbar-progress[value]::-webkit-progress-bar{background:#FDEFEE}.bonusprogressbar-progress[value]::-webkit-progress-value{margin:0;padding:0;border-radius:1.7rem;background:#00A0D6}[theme=red] .bonusprogressbar-progress[value]::-webkit-progress-value{background:#F06365}";
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
let PnBonusProgressbar$1 = class extends HTMLElement {
|
|
7
7
|
constructor() {
|
|
8
8
|
super();
|
|
9
9
|
this.__registerHost();
|
|
@@ -97,7 +97,7 @@ const PnBonusProgressbar$1 = class extends HTMLElement {
|
|
|
97
97
|
|
|
98
98
|
const pnBonusProgressbarLevelCss = "pn-bonus-progressbar-level{position:absolute;width:0.1rem;left:50%}pn-bonus-progressbar-level::after{content:\"\";width:0.1rem;position:absolute;left:0;border-left:1px dashed #9B1C2E;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);height:3rem}pn-bonus-progressbar-level:not([current]):nth-child(odd)::after{height:7rem;margin-top:0.6rem}.progressbar-level-percentage{font-size:0.75em;position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);top:-3.2rem}[current]>.progressbar-level-percentage{display:none}pn-bonus-progressbar-level:not([current]):nth-child(odd) .progressbar-level-percentage{top:-4.8rem}.progressbar-level-value{font-size:0.75em;white-space:nowrap;position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);top:2.3rem}[current]>.progressbar-level-value{top:-3.2rem}pn-bonus-progressbar-level:not([current]):nth-child(odd) .progressbar-level-value{top:4.2rem}";
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
let PnBonusProgressbarLevel$1 = class extends HTMLElement {
|
|
101
101
|
constructor() {
|
|
102
102
|
super();
|
|
103
103
|
this.__registerHost();
|
|
@@ -133,7 +133,7 @@ const PnBonusProgressbarLevel$1 = class extends HTMLElement {
|
|
|
133
133
|
|
|
134
134
|
const pnBreakpointsCss = "pn-breakpoints{width:100%}pn-breakpoints .breakpoints--dotcom{width:100%;background-color:aliceblue;text-align:center;margin-bottom:2.4rem;background-color:aliceblue}pn-breakpoints .breakpoints--dotcom .reference::before{content:\"less than 321\"}@media screen and (min-width: 321px){pn-breakpoints .breakpoints--dotcom{background-color:yellow}pn-breakpoints .breakpoints--dotcom .reference::before{content:\"321 (xs)\"}}@media screen and (min-width: 576px){pn-breakpoints .breakpoints--dotcom{background-color:aqua}pn-breakpoints .breakpoints--dotcom .reference::before{content:\"576 (sm)\"}}@media screen and (min-width: 768px){pn-breakpoints .breakpoints--dotcom{background-color:red;color:#fff}pn-breakpoints .breakpoints--dotcom .reference::before{content:\"768 (md)\"}}@media screen and (min-width: 992px){pn-breakpoints .breakpoints--dotcom{background-color:green;color:#fff}pn-breakpoints .breakpoints--dotcom .reference::before{content:\"992 (lg)\"}}@media screen and (min-width: 1200px){pn-breakpoints .breakpoints--dotcom{background-color:blue;color:#fff}pn-breakpoints .breakpoints--dotcom .reference::before{content:\"1200 (xl)\"}}@media screen and (min-width: 1640px){pn-breakpoints .breakpoints--dotcom{background-color:pink}pn-breakpoints .breakpoints--dotcom .reference::before{content:\"1640 (xxl)\"}}@media screen and (min-width: 1920px){pn-breakpoints .breakpoints--dotcom{background-color:orange}pn-breakpoints .breakpoints--dotcom .reference::before{content:\"1920 (fhd)\"}}";
|
|
135
135
|
|
|
136
|
-
|
|
136
|
+
let PnBreakpoints$1 = class extends HTMLElement {
|
|
137
137
|
constructor() {
|
|
138
138
|
super();
|
|
139
139
|
this.__registerHost();
|
|
@@ -22270,14 +22270,13 @@ const dataSetProps = (set, dataChartType) => {
|
|
|
22270
22270
|
|
|
22271
22271
|
const pnChartCss = "pn-chart{display:-ms-flexbox;display:flex;height:100%;width:100%}pn-chart .chart-wrapper{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:relative;width:100vw;height:30vh;padding:1.6rem 0}@media screen and (min-width: 1640px){pn-chart .chart-wrapper{padding:2.4rem 0}}pn-chart canvas.pnChart{width:100% !important}pn-chart[data-chart-type=bar] .chart-wrapper,pn-chart[data-chart-type=line] .chart-wrapper{min-height:100%;max-width:100%;min-width:100%}@media screen and (min-width: 768px){.fullwidth pn-chart{-ms-flex-pack:center;justify-content:center}}@media screen and (min-width: 768px){.fullwidth pn-chart .chart-wrapper{height:40vh;width:30vw}}";
|
|
22272
22272
|
|
|
22273
|
-
|
|
22273
|
+
let PnChart$1 = class extends HTMLElement {
|
|
22274
22274
|
constructor() {
|
|
22275
22275
|
super();
|
|
22276
22276
|
this.__registerHost();
|
|
22277
22277
|
this.labels = null;
|
|
22278
22278
|
this.dataSets = null;
|
|
22279
22279
|
this.dataChartType = 'doughnut';
|
|
22280
|
-
this.myChartCtxRef = undefined;
|
|
22281
22280
|
}
|
|
22282
22281
|
dataChangeHandler() {
|
|
22283
22282
|
this.parsedDataSets = JSON.parse(this.dataSets);
|
|
@@ -22311,18 +22310,11 @@ const PnChart$1 = class extends HTMLElement {
|
|
|
22311
22310
|
|
|
22312
22311
|
const pnChartsCardCss = "pn-charts-card{width:100%;height:100%;display:-ms-flexbox;display:flex}pn-charts-card .pn-charts-card__wrapper{width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:#EFFBFF;border-radius:2.4rem;padding:2.4rem}@media screen and (min-width: 1200px){pn-charts-card .pn-charts-card__wrapper{padding:3.2rem}}pn-charts-card .pn-charts-card__heading__wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;gap:0.8rem}pn-charts-card .pn-charts-card__heading{font-weight:700;font-size:2.4rem;line-height:110%}@media screen and (min-width: 1640px){pn-charts-card .pn-charts-card__heading{font-size:3.2rem}}pn-charts-card .pn-charts-card__heading__highlight{font-weight:700;font-size:2.4rem;line-height:110%;color:#005D92}@media screen and (min-width: 1640px){pn-charts-card .pn-charts-card__heading__highlight{font-size:3.2rem}}pn-charts-card .pn-charts-card__content__wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%}pn-charts-card .pn-charts-card__text__container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;height:100%}pn-charts-card .pn-charts-card__heading__wrapper--horizontal{display:none}pn-charts-card .pn-charts-card__text__wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between}pn-charts-card .pn-charts-card__text__wrapper span{display:block;margin-bottom:5.4rem}pn-charts-card .pn-charts-card__preamble{font-weight:400;font-size:1.6rem;line-height:140%;-ms-flex-positive:1;flex-grow:1;margin-bottom:1.6rem}@media screen and (min-width: 1640px){pn-charts-card .pn-charts-card__preamble{font-size:2rem}}pn-charts-card .pn-charts-card__source{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-charts-card .pn-charts-card__source label{background-color:#00A0D6;color:#FFFFFF;border-radius:0.4rem;font-weight:400;font-size:1rem;line-height:1;text-transform:uppercase;padding:0.4rem;margin-bottom:0.6rem;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}@media screen and (min-width: 1640px){pn-charts-card .pn-charts-card__source label{font-size:1.2rem;padding:0.6rem}}pn-charts-card .pn-charts-card__source .pn-chart-card__text__heading{font-weight:400;font-size:1.6rem;line-height:140%;color:#005D92;margin-bottom:0}@media screen and (min-width: 1640px){pn-charts-card .pn-charts-card__source .pn-chart-card__text__heading{font-size:2rem}}pn-charts-card .pn-charts-card__source a{text-decoration:none;color:#005D92;font-weight:500;font-size:1.6rem;text-decoration:none;color:#005D92;font-weight:400}pn-charts-card .pn-charts-card__source a:hover{text-decoration:underline}@media screen and (min-width: 1640px){pn-charts-card .pn-charts-card__source a{font-size:2rem}}pn-charts-card .pn-charts-card__source a pn-icon svg path{fill:#005D92}pn-charts-card .pn-charts-card__source a[target=_blank]:not(.pn-button):after{display:none}.fullwidth pn-charts-card .pn-charts-card__wrapper{padding:2.4rem}@media screen and (min-width: 992px){.fullwidth pn-charts-card .pn-charts-card__wrapper{padding:4rem}}.fullwidth pn-charts-card .pn-charts-card__heading__wrapper{margin-bottom:3.2rem;gap:1.6rem}@media screen and (min-width: 768px){.fullwidth pn-charts-card .pn-charts-card__heading__wrapper{-ms-flex-pack:start;justify-content:flex-start}}.fullwidth pn-charts-card .pn-charts-card__heading,.fullwidth pn-charts-card .pn-charts-card__heading__highlight{font-size:2.4rem}@media screen and (min-width: 768px){.fullwidth pn-charts-card .pn-charts-card__heading,.fullwidth pn-charts-card .pn-charts-card__heading__highlight{font-size:3.2rem}}.fullwidth pn-charts-card .pn-charts-card__content__wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between}@media screen and (min-width: 992px){.fullwidth pn-charts-card .pn-charts-card__content__wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse;gap:5.6rem}}@media screen and (min-width: 1200px){.fullwidth pn-charts-card .pn-charts-card__content__wrapper{gap:4rem}}@media screen and (min-width: 1640px){.fullwidth pn-charts-card .pn-charts-card__content__wrapper{gap:3.2rem}}.fullwidth pn-charts-card .pn-charts-card__text__container{-ms-flex-pack:center;justify-content:center}@media screen and (min-width: 768px){.fullwidth pn-charts-card .pn-charts-card__text__container{width:100%}}.fullwidth pn-charts-card .pn-charts-card__heading__wrapper--vertical{display:-ms-flexbox;display:flex}@media screen and (min-width: 992px){.fullwidth pn-charts-card .pn-charts-card__heading__wrapper--vertical{display:none}}.fullwidth pn-charts-card .pn-charts-card__heading__wrapper--horizontal{display:none}@media screen and (min-width: 992px){.fullwidth pn-charts-card .pn-charts-card__heading__wrapper--horizontal{display:-ms-flexbox;display:flex}}@media screen and (min-width: 768px){.fullwidth pn-charts-card .pn-charts-card__preamble{-ms-flex-positive:0;flex-grow:0;font-size:2rem}}pn-charts-card[data-chart-color=coral]>.pn-charts-card__wrapper{background-color:#FDEFEE}pn-charts-card[data-chart-color=green]>.pn-charts-card__wrapper{background-color:#DCF6E7}pn-charts-card[data-chart-color=white]>.pn-charts-card__wrapper{background-color:#FFFFFF}pn-charts-card[data-chart-color=gray]>.pn-charts-card__wrapper{background-color:#F9F8F8}";
|
|
22313
22312
|
|
|
22314
|
-
|
|
22313
|
+
let PnChartsCard$1 = class extends HTMLElement {
|
|
22315
22314
|
constructor() {
|
|
22316
22315
|
super();
|
|
22317
22316
|
this.__registerHost();
|
|
22318
|
-
this.header = undefined;
|
|
22319
|
-
this.highlight = undefined;
|
|
22320
|
-
this.preamble = undefined;
|
|
22321
|
-
this.label = undefined;
|
|
22322
|
-
this.source = undefined;
|
|
22323
|
-
this.sourceUrl = undefined;
|
|
22324
22317
|
this.openInNewWindow = false;
|
|
22325
|
-
this.someState = undefined;
|
|
22326
22318
|
}
|
|
22327
22319
|
render() {
|
|
22328
22320
|
return (h(Host, null, h("slot", { name: "clickable-block-wrapper" }), h("div", { class: "pn-charts-card__wrapper" }, h("div", { class: "pn-charts-card__heading__wrapper pn-charts-card__heading__wrapper--vertical" }, h("div", { class: "pn-charts-card__heading" }, this.header), h("div", { class: "pn-charts-card__heading__highlight" }, this.highlight)), h("div", { class: "pn-charts-card__content__wrapper" }, h("slot", { name: "chart" }), h("div", { class: "pn-charts-card__text__container" }, h("div", { class: "pn-charts-card__heading__wrapper pn-charts-card__heading__wrapper--horizontal" }, h("div", { class: "pn-charts-card__heading pn-charts-card__heading" }, this.header), h("div", { class: "pn-charts-card__heading__highlight" }, this.highlight)), h("span", { class: "pn-charts-card__preamble" }, this.preamble), h("div", { class: "pn-charts-card__text__wrapper" }, h("div", { class: "pn-charts-card__source" }, h("label", null, this.label), h("h3", { class: "pn-chart-card__text__heading" }, this.source), h("a", { class: "link--animated", href: this.sourceUrl, rel: this.openInNewWindow ? 'noopener nofollower noreferrer' : null, target: this.openInNewWindow ? '_blank' : null }, "Read the report ", h("pn-icon", { symbol: "arrow-right" }, " ")))))))));
|
|
@@ -22333,13 +22325,10 @@ const PnChartsCard$1 = class extends HTMLElement {
|
|
|
22333
22325
|
|
|
22334
22326
|
const pnChoiceButtonCss = "pn-choice-button{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:none;display:inline-block;background:#fff;position:relative;margin:0.2em 0.4em}pn-choice-button input{opacity:0;position:absolute;top:0;left:0;pointer-events:none;margin:0;width:100%;height:100%}pn-choice-button label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:0.4rem 0.8rem;border:0.1rem solid #D3CECB;color:#005D92;font-weight:500;border-radius:0.8rem;text-align:center;cursor:pointer;-webkit-transition:background 0.2s, -webkit-box-shadow 0.1s;transition:background 0.2s, -webkit-box-shadow 0.1s;transition:box-shadow 0.1s, background 0.2s;transition:box-shadow 0.1s, background 0.2s, -webkit-box-shadow 0.1s}pn-choice-button label pn-illustration{display:inline-block;width:3rem;height:3rem;margin-right:0.9rem}pn-choice-button>input:checked+label.pn-choice-button{background:#E0F8FF;color:#005D92;border-color:#005D92;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13)}pn-choice-button>input:indeterminate+label.pn-choice-button{background:#FFFFFF;color:#005D92}pn-choice-button>input:hover+label.pn-choice-button{background:#E0F8FF}pn-choice-button>input:focus+label.pn-choice-button,pn-choice-button>input:active+label.pn-choice-button{-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92}pn-choice-button>input:active+label.pn-choice-button{background:#8EDDF9}pn-choice-button>input:disabled+label.pn-choice-button{background-color:#D3CECB}pn-choice-button>input:checked+label.pn-choice-button:hover{background:#8EDDF9}pn-choice-button>input:checked+label.pn-choice-button:active{background:#8EDDF9;border:0.1rem solid #00A0D6}";
|
|
22335
22327
|
|
|
22336
|
-
|
|
22328
|
+
let PnChoiceButton$1 = class extends HTMLElement {
|
|
22337
22329
|
constructor() {
|
|
22338
22330
|
super();
|
|
22339
22331
|
this.__registerHost();
|
|
22340
|
-
this.value = undefined;
|
|
22341
|
-
this.name = undefined;
|
|
22342
|
-
this.choiceid = undefined;
|
|
22343
22332
|
this.type = "checkbox";
|
|
22344
22333
|
this.disabled = false;
|
|
22345
22334
|
this.checked = false;
|
|
@@ -22367,7 +22356,7 @@ const PnChoiceButton$1 = class extends HTMLElement {
|
|
|
22367
22356
|
static get style() { return pnChoiceButtonCss; }
|
|
22368
22357
|
};
|
|
22369
22358
|
|
|
22370
|
-
const translations$
|
|
22359
|
+
const translations$c = {
|
|
22371
22360
|
'sv': {
|
|
22372
22361
|
'toggleLinkTitleText': `Välj kundnummer`,
|
|
22373
22362
|
},
|
|
@@ -22390,7 +22379,7 @@ const translations$b = {
|
|
|
22390
22379
|
|
|
22391
22380
|
const pnCustomernumberSelectorCss = ".customernumber-container{position:relative;padding:0;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border-radius:0.8rem;border:0.1rem solid #969087;-webkit-transition:border 0.15s ease;transition:border 0.15s ease}.customernumber-container:hover,pn-customernumber-selector[open] .customernumber-container{border-color:#005D92}pn-customernumber-selector[open] .customernumber-container{border-bottom-left-radius:0;border-bottom-right-radius:0}.customernumber-toggle{display:-ms-flexbox;display:flex;z-index:11;position:relative;margin:0;border-radius:0.8rem;padding:1rem;border:0;background:transparent;font-size:1em;text-align:left;outline:0;cursor:pointer}.customernumber-toggle pn-icon{-ms-flex-item-align:center;align-self:center}.customernumber-selected{-ms-flex-positive:1;flex-grow:1;max-width:calc(100% - 2.4rem);overflow:hidden}.customernumber-selected-title{color:#005D92}.customernumber-selected-description{font-size:0.875em;width:100%;overflow:hidden;text-overflow:ellipsis}.customernumber-options{position:absolute;z-index:10;left:-0.1rem;right:-0.1rem;top:100%;border:0.1rem solid #005D92;border-bottom-left-radius:0.8rem;border-bottom-right-radius:0.8rem;max-height:0;opacity:0;-webkit-transform-origin:top left;transform-origin:top left;-webkit-transition:opacity 0.1s linear, max-height 0.1s ease, -webkit-transform 0.2s cubic-bezier(0.6, 0, 0.4, 1) 0.15s;transition:opacity 0.1s linear, max-height 0.1s ease, -webkit-transform 0.2s cubic-bezier(0.6, 0, 0.4, 1) 0.15s;transition:transform 0.2s cubic-bezier(0.6, 0, 0.4, 1) 0.15s, opacity 0.1s linear, max-height 0.1s ease;transition:transform 0.2s cubic-bezier(0.6, 0, 0.4, 1) 0.15s, opacity 0.1s linear, max-height 0.1s ease, -webkit-transform 0.2s cubic-bezier(0.6, 0, 0.4, 1) 0.15s;overflow-y:auto}pn-customernumber-selector[open] .customernumber-options{opacity:1;-webkit-transition-delay:0s;transition-delay:0s;max-height:500rem}";
|
|
22392
22381
|
|
|
22393
|
-
|
|
22382
|
+
let PnCustomernumberSelector$1 = class extends HTMLElement {
|
|
22394
22383
|
constructor() {
|
|
22395
22384
|
super();
|
|
22396
22385
|
this.__registerHost();
|
|
@@ -22398,7 +22387,7 @@ const PnCustomernumberSelector$1 = class extends HTMLElement {
|
|
|
22398
22387
|
this.open = false;
|
|
22399
22388
|
this.heading = "";
|
|
22400
22389
|
this.description = "";
|
|
22401
|
-
this.i18n = translations$
|
|
22390
|
+
this.i18n = translations$c["en"];
|
|
22402
22391
|
}
|
|
22403
22392
|
componentWillLoad() {
|
|
22404
22393
|
this.init();
|
|
@@ -22407,8 +22396,8 @@ const PnCustomernumberSelector$1 = class extends HTMLElement {
|
|
|
22407
22396
|
this.setTranslations();
|
|
22408
22397
|
}
|
|
22409
22398
|
setTranslations() {
|
|
22410
|
-
if (this.language && translations$
|
|
22411
|
-
this.i18n = translations$
|
|
22399
|
+
if (this.language && translations$c[this.language]) {
|
|
22400
|
+
this.i18n = translations$c[this.language];
|
|
22412
22401
|
}
|
|
22413
22402
|
}
|
|
22414
22403
|
render() {
|
|
@@ -22420,7 +22409,7 @@ const PnCustomernumberSelector$1 = class extends HTMLElement {
|
|
|
22420
22409
|
|
|
22421
22410
|
const pnCustomernumberSelectorOptionCss = "pn-customernumber-selector-option{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:100%;overflow:hidden}pn-customernumber-selector-option:last-of-type{border-bottom-left-radius:0.8rem;border-bottom-right-radius:0.8rem}.customernumberoption{overflow:hidden;max-width:100%;text-decoration:none;background:#FFFFFF;-webkit-transition:background 0.15s ease;transition:background 0.15s ease;padding:1.6rem 1rem}.customernumberoption:hover,.customernumberoption:focus,.customernumberoption:active{background:#E0F8FF;text-decoration:none}.customernumberoption-text{font-weight:700;color:#2D2013}.customernumberoption-title{display:block;font-size:1em;color:#005D92;font-weight:700}.customernumberoption-description{font-size:0.75em;color:#5E554A;font-weight:normal}";
|
|
22422
22411
|
|
|
22423
|
-
|
|
22412
|
+
let PnProfileSelectorOption$2 = class extends HTMLElement {
|
|
22424
22413
|
constructor() {
|
|
22425
22414
|
super();
|
|
22426
22415
|
this.__registerHost();
|
|
@@ -22437,14 +22426,11 @@ const PnProfileSelectorOption$2 = class extends HTMLElement {
|
|
|
22437
22426
|
|
|
22438
22427
|
const pnFilterCheckboxCss = ":host{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host input{opacity:0;position:absolute}:host input[type=checkbox]+label.pn-checkbox{width:1.5em;min-width:1.5em;height:1.5em;min-height:1.5em;background:#fff;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:relative;border:0.1rem solid #969087;cursor:pointer;border-radius:0.4rem;cursor:pointer;-webkit-transition-duration:220ms;transition-duration:220ms;-webkit-transition-timing-function:cubic-bezier(0.79, 0.14, 0.15, 0.86);transition-timing-function:cubic-bezier(0.79, 0.14, 0.15, 0.86);-webkit-transition-property:border, background, -webkit-box-shadow;transition-property:border, background, -webkit-box-shadow;transition-property:border, background, box-shadow;transition-property:border, background, box-shadow, -webkit-box-shadow}:host input[type=checkbox]+label.pn-checkbox svg{width:80%;fill:none}:host input[type=checkbox]+label.pn-checkbox svg polyline{stroke:#FFF;-webkit-transform-origin:0 0;transform-origin:0 0;stroke-linecap:round;stroke-dasharray:23;stroke-dashoffset:23;-webkit-transition-delay:none;transition-delay:none;-webkit-transition:stroke-dashoffset 180ms cubic-bezier(0.79, 0.14, 0.15, 0.86);transition:stroke-dashoffset 180ms cubic-bezier(0.79, 0.14, 0.15, 0.86)}:host input[type=checkbox]:hover+label.pn-checkbox{border:0.1rem solid #005D92;background:#E0F8FF}:host input[type=checkbox]:checked+label.pn-checkbox,:host input[type=checkbox]:indeterminate+label.pn-checkbox{background:#005D92;border:0.1rem solid #005D92}:host input[type=checkbox]:checked+label.pn-checkbox svg polyline,:host input[type=checkbox]:indeterminate+label.pn-checkbox svg polyline{-webkit-transition-delay:220ms;transition-delay:220ms}:host input[type=checkbox]:checked+label.pn-checkbox svg polyline.checkmark-path{stroke-dashoffset:0}:host input[type=checkbox]:indeterminate+label.pn-checkbox svg polyline.indeterminate-path{stroke-dashoffset:0}:host input[type=checkbox]:focus+label.pn-checkbox,:host input[type=checkbox]:active+label.pn-checkbox{-webkit-box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92;box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92}:host input[type=checkbox]:disabled+label.pn-checkbox{background-color:#D3CECB;border:0.1rem solid #969087;cursor:not-allowed}:host input[type=checkbox]:disabled+label.pn-checkbox svg polyline{stroke:#969087}:host input[type=checkbox]:disabled:checked+label.pn-checkbox{border:0.1rem solid transparent}:host input[type=checkbox]:disabled:active+label.pn-checkbox{-webkit-box-shadow:none;box-shadow:none}";
|
|
22439
22428
|
|
|
22440
|
-
|
|
22429
|
+
let PnFilterCheckbox$1 = class extends HTMLElement {
|
|
22441
22430
|
constructor() {
|
|
22442
22431
|
super();
|
|
22443
22432
|
this.__registerHost();
|
|
22444
22433
|
this.__attachShadow();
|
|
22445
|
-
this.value = undefined;
|
|
22446
|
-
this.name = undefined;
|
|
22447
|
-
this.checkboxid = undefined;
|
|
22448
22434
|
this.disabled = false;
|
|
22449
22435
|
this.checked = false;
|
|
22450
22436
|
this.indeterminate = false;
|
|
@@ -22501,7 +22487,7 @@ const PnFilterCheckbox$1 = class extends HTMLElement {
|
|
|
22501
22487
|
static get style() { return pnFilterCheckboxCss; }
|
|
22502
22488
|
};
|
|
22503
22489
|
|
|
22504
|
-
const translations$
|
|
22490
|
+
const translations$b = {
|
|
22505
22491
|
'sv': {
|
|
22506
22492
|
'componentheading': 'Våra priser och villkor för inrikesförsändelser för dig som direktbetalande kund?',
|
|
22507
22493
|
'deliveryscopeheading': 'Endast leveranser inom Sverige',
|
|
@@ -22516,8 +22502,8 @@ const translations$a = {
|
|
|
22516
22502
|
'message': '*Vid köp hos valfritt ombud',
|
|
22517
22503
|
'servicePointHeader': 'Eller hitta närmaste serviceställe',
|
|
22518
22504
|
'servicePointLink': 'Hitta Serviceställe',
|
|
22519
|
-
'
|
|
22520
|
-
'
|
|
22505
|
+
'realPostcard': 'Köp Riktiga Vykort',
|
|
22506
|
+
'realPostcardMobile': 'Ladda ner appen',
|
|
22521
22507
|
'ombudHeader': 'Köp via ombud'
|
|
22522
22508
|
},
|
|
22523
22509
|
'en': {
|
|
@@ -22534,8 +22520,8 @@ const translations$a = {
|
|
|
22534
22520
|
'message': 'When buying from any agent',
|
|
22535
22521
|
'servicePointHeader': 'Find service point',
|
|
22536
22522
|
'servicePointLink': 'Find service point',
|
|
22537
|
-
'
|
|
22538
|
-
'
|
|
22523
|
+
'realPostcard': 'Buy Postcards',
|
|
22524
|
+
'realPostcardMobile': 'Download the app',
|
|
22539
22525
|
'ombudHeader': 'Purchase by agent'
|
|
22540
22526
|
},
|
|
22541
22527
|
'da': {
|
|
@@ -22552,7 +22538,7 @@ const translations$a = {
|
|
|
22552
22538
|
'message': 'When buying from any agent',
|
|
22553
22539
|
'servicePointHeader': 'Find nærmeste servicested',
|
|
22554
22540
|
'servicePointLink': 'Find nærmeste servicested',
|
|
22555
|
-
'
|
|
22541
|
+
'realPostcard': 'Køb Riktiga Vykort',
|
|
22556
22542
|
'ombudHeader': 'Køb af agent'
|
|
22557
22543
|
},
|
|
22558
22544
|
'no': {
|
|
@@ -22576,7 +22562,7 @@ const translations$a = {
|
|
|
22576
22562
|
'stampshopcta': 'Order home stamps from the webshop',
|
|
22577
22563
|
}
|
|
22578
22564
|
};
|
|
22579
|
-
const markets$
|
|
22565
|
+
const markets$3 = {
|
|
22580
22566
|
'se': {
|
|
22581
22567
|
"currency": "kr",
|
|
22582
22568
|
"country": "Sweden",
|
|
@@ -22599,13 +22585,13 @@ const markets$2 = {
|
|
|
22599
22585
|
}
|
|
22600
22586
|
};
|
|
22601
22587
|
|
|
22602
|
-
const sizeCategories = [
|
|
22588
|
+
const sizeCategories$1 = [
|
|
22603
22589
|
{ name: "Small", value: "Small", illustration: "eli1n", unit: "small" },
|
|
22604
22590
|
{ name: "Medium", value: "Medium", illustration: "medium-package", unit: "medium"},
|
|
22605
22591
|
{ name: "Large", value: "Large", illustration: "large-package", unit: "large"},
|
|
22606
22592
|
];
|
|
22607
22593
|
|
|
22608
|
-
const weights$
|
|
22594
|
+
const weights$3 = {
|
|
22609
22595
|
"small": [
|
|
22610
22596
|
{ name: "50 g", abbreviation: 'g', value: 50 },
|
|
22611
22597
|
{ name: "100 g", abbreviation: 'g', value: 100 },
|
|
@@ -22634,7 +22620,7 @@ const weights$2 = {
|
|
|
22634
22620
|
|
|
22635
22621
|
|
|
22636
22622
|
|
|
22637
|
-
const
|
|
22623
|
+
const RealValues =
|
|
22638
22624
|
{
|
|
22639
22625
|
WebUrl: "https://riktigavykort.postnord.se/sv",
|
|
22640
22626
|
AndroidAppUrl: "https://play.google.com/store/apps/details?id=se.posten.riktigavykort&hl=sv",
|
|
@@ -24656,7 +24642,7 @@ const createStore = (defaultState, shouldUpdate) => {
|
|
|
24656
24642
|
};
|
|
24657
24643
|
|
|
24658
24644
|
// Read more about how stencil stores work here: https://stenciljs.com/docs/stencil-store
|
|
24659
|
-
const { state: state$
|
|
24645
|
+
const { state: state$8, onChange: onChange$8 } = createStore({
|
|
24660
24646
|
i18n: {
|
|
24661
24647
|
componentheading: '',
|
|
24662
24648
|
deliveryscopeheading: '',
|
|
@@ -24671,8 +24657,8 @@ const { state: state$7, onChange: onChange$7 } = createStore({
|
|
|
24671
24657
|
message: '',
|
|
24672
24658
|
servicePointHeader: '',
|
|
24673
24659
|
servicePointLink: '',
|
|
24674
|
-
|
|
24675
|
-
|
|
24660
|
+
realPostcard: '',
|
|
24661
|
+
realPostcardMobile: '',
|
|
24676
24662
|
ombudHeader: ''
|
|
24677
24663
|
},
|
|
24678
24664
|
market: {
|
|
@@ -24682,19 +24668,19 @@ const { state: state$7, onChange: onChange$7 } = createStore({
|
|
|
24682
24668
|
}
|
|
24683
24669
|
});
|
|
24684
24670
|
|
|
24685
|
-
const smallPackageSvg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTQiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCA1NCAzOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQ0LjM4NDggMzhINTAuMzAxN0M1MS45MzM5IDM4IDUzLjMxMTEgMzYuMjM1NyA1My4zMTExIDMzLjk5NjRWNC4wMDM1N0M1My4zMTExIDEuODMyMTQgNTEuOTg0OSAwIDUwLjMwMTcgMEg0NC4zODQ4VjM4WiIgZmlsbD0iIzAwNUQ5MiIvPgo8cGF0aCBkPSJNNDcuMzQzMyAzOEgxMy4zMjFDMTEuNjg4NyAzOCAxMC4zMTE1IDM2LjIzNTcgMTAuMzExNSAzMy45OTY0VjQuMDAzNTdDMTAuMzExNSAxLjgzMjE0IDExLjYzNzcgMCAxMy4zMjEgMEg0NC44NDM5QzQ2LjIyMTEgMCA0Ny4zNDMzIDEuNDkyODYgNDcuMzQzMyAzLjMyNVYzOFoiIGZpbGw9IiMwMEEwRDYiLz4KPHBhdGggZD0iTTQzLjMxNDMgMTAuNzg5NUM0My4zMTQzIDEyLjk2MDkgNDEuOTg4MSAxNC43MjUyIDQwLjM1NTkgMTQuNzI1MkgzNS45NjkyQzM0LjMzNjkgMTQuNzI1MiAzMy4wMTA3IDEyLjk2MDkgMzMuMDEwNyAxMC43ODk1QzMzLjAxMDcgOC42MTgwNCAzNC4zMzY5IDYuODUzNzYgMzUuOTY5MiA2Ljg1Mzc2SDQwLjM1NTlDNDIuMDM5MSA2LjkyMTYyIDQzLjMxNDMgOC42MTgwNCA0My4z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NC41ODcyIDI2LjMyODMgMzQuNTg3MkgyMi45MTc5QzIyLjYwMDQgMzAuNTU5NyAxOS43MzI3IDI3LjQwNzEgMTYuMjQyMSAyNy40MDcxQzEyLjc1MTQgMjcuNDA3MSA5Ljg4MzcxIDMwLjU1OTcgOS41NjYyMiAzNC41ODcySDcuNDE2NThDMy44NjM0NiAzNC41ODcyIDAuOTk4MDQ3IDM4LjI0NDggMC45OTgwNDcgNDIuNzE1NFY0Ni4xMDIySDEyLjAzOTFaIiBmaWxsPSIjRTBGOEZGIi8+CjxwYXRoIGQ9Ik0xMzEuMDU2IDI2LjU4NjRDMTMxLjQ0OSAzMC4wNDIzIDEzMy45NDggMzIuNjg5NSAxMzYuOTkxIDMyLjY4OTVIMTYyLjg5MUMxNjYuMjA5IDMyLjY4OTUgMTY4Ljg4IDI5LjU0MjYgMTY4Ljg4IDI1LjYzMjhWMjUuNTM3NUMxNjguODggMjEuNjI3NyAxNjYuMjA5IDE4LjQ4MDggMTYyLjg5MSAxOC40ODA4SDE1OS45MDdDMTU4Ljc3NyAxMy44MDE1IDE1NS4zMyAxMC4zNzUzIDE1MS4yMzYgMTAuMzc1M0gxNDYuNDJDMTQ1Ljk3MSA0LjcwNTMzIDE0MS45MjEgMC4yNjcwOSAxMzYuOTkxIDAuMjY3MDlDMTMyLjA2MiAwLjI2NzA5IDEyOC4wMTIgNC43MDUzMyAxMjcuNTYzIDEwLjM3NTNIMTI0LjUyOEMxMTkuNTEgMTAuMzc1MyAxMTUuNDYzIDE1LjUyNDcgMTE1LjQ2MyAyMS44MTg0VjI2LjU4NjRIMTMxLjA1NloiIGZpbGw9IiNFMEY4RkYiLz4KPC9zdmc+Cg==';
|
|
24694
24680
|
|
|
24695
24681
|
const pnFindPriceCss = "@charset \"UTF-8\";pn-find-price .sizeTable{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 [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:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack: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{-ms-flex-line-pack:center;align-content:center;-ms-flex-pack: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}";
|
|
24696
24682
|
|
|
24697
|
-
|
|
24683
|
+
let PnfindPrice = class extends HTMLElement {
|
|
24698
24684
|
constructor() {
|
|
24699
24685
|
super();
|
|
24700
24686
|
this.__registerHost();
|
|
@@ -24719,7 +24705,7 @@ const PnfindPrice = class extends HTMLElement {
|
|
|
24719
24705
|
const convertedData = await convertFileForSizeCategogy(reqbody);
|
|
24720
24706
|
this.sourceData = convertedData;
|
|
24721
24707
|
//for keeping small value preselected
|
|
24722
|
-
this.sizecategory = sizeCategories.filter(x => x.value === "Small")[0];
|
|
24708
|
+
this.sizecategory = sizeCategories$1.filter(x => x.value === "Small")[0];
|
|
24723
24709
|
this.filterItems();
|
|
24724
24710
|
}
|
|
24725
24711
|
catch (e) {
|
|
@@ -24728,10 +24714,10 @@ const PnfindPrice = class extends HTMLElement {
|
|
|
24728
24714
|
}
|
|
24729
24715
|
setState() {
|
|
24730
24716
|
if (this.market) {
|
|
24731
|
-
state$
|
|
24717
|
+
state$8.market = markets$3[this.market];
|
|
24732
24718
|
}
|
|
24733
|
-
if (this.language && translations$
|
|
24734
|
-
state$
|
|
24719
|
+
if (this.language && translations$b[this.language]) {
|
|
24720
|
+
state$8.i18n = translations$b[this.language];
|
|
24735
24721
|
}
|
|
24736
24722
|
}
|
|
24737
24723
|
filterItems() {
|
|
@@ -24741,7 +24727,7 @@ const PnfindPrice = class extends HTMLElement {
|
|
|
24741
24727
|
return;
|
|
24742
24728
|
}
|
|
24743
24729
|
//to handle withing country search
|
|
24744
|
-
const deliveryScopeData = this.sourceData.data.filter((x) => x.deliveryscope.toLocaleLowerCase() === state$
|
|
24730
|
+
const deliveryScopeData = this.sourceData.data.filter((x) => x.deliveryscope.toLocaleLowerCase() === state$8.market.country.toLocaleLowerCase());
|
|
24745
24731
|
if (!this.sizecategory) {
|
|
24746
24732
|
return;
|
|
24747
24733
|
}
|
|
@@ -24781,14 +24767,14 @@ const PnfindPrice = class extends HTMLElement {
|
|
|
24781
24767
|
this.filteredItems = weightFilteredData;
|
|
24782
24768
|
}
|
|
24783
24769
|
render() {
|
|
24784
|
-
return (h("div", { class: "findprice-form" }, h("div", null, h("h4", { class: "heading" }, state$
|
|
24785
|
-
this.sizecategory = sizeCategories.filter(x => x.value === sizeCategory.value)[0];
|
|
24770
|
+
return (h("div", { class: "findprice-form" }, h("div", null, h("h4", { class: "heading" }, state$8.i18n.sizeheading), h("div", { class: "sizecategory" }, h("table", { class: "sizeTable" }, h("img", { id: "clouds", src: cloudsSvg$1 }), h("tr", null, h("td", null, h("img", { class: "firstCell", src: postnordPerson1Svg })), h("td", null, h("img", { src: smallPackageSvg$1 })), h("td", null, h("img", { src: mediumPackageSvg$1 })), h("td", null, h("img", { src: largePackageSvg$1 }))), h("tr", null, h("td", null), sizeCategories$1.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: () => {
|
|
24771
|
+
this.sizecategory = sizeCategories$1.filter(x => x.value === sizeCategory.value)[0];
|
|
24786
24772
|
this.weight = { value: 0, name: "" };
|
|
24787
24773
|
this.weightvalue = this.weight.value;
|
|
24788
|
-
} })))))))), h("h4", { class: "heading" }, state$
|
|
24789
|
-
this.weight = weights$
|
|
24774
|
+
} })))))))), h("h4", { class: "heading" }, state$8.i18n.weightheading), (this.sizecategory.value && weights$3[this.sizecategory.unit]) ? (h("div", { class: "weightoption" }, h("div", { class: "weightoption-content" }, weights$3[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$3[this.sizecategory.unit].findIndex((x) => x.value === this.weightvalue), checked: wght.value === this.weight.value, onChange: () => {
|
|
24775
|
+
this.weight = weights$3[this.sizecategory.unit].filter(x => x.value === wght.value)[0];
|
|
24790
24776
|
this.weightvalue = this.weight.value;
|
|
24791
|
-
} }, wght.name)))))) : null, (this.filteredItems && this.filteredItems.length > 0) ? (h("div", { class: "resultlist" }, (state$
|
|
24777
|
+
} }, wght.name)))))) : null, (this.filteredItems && this.filteredItems.length > 0) ? (h("div", { class: "resultlist" }, (state$8.i18n.resultlistheading) ? (h("div", { class: "resultHeading" }, state$8.i18n.resultlistheading)) : null, this.filteredItems.map((item) => (h("div", null, h("pn-find-price-result", { item: item })))))) : null));
|
|
24792
24778
|
}
|
|
24793
24779
|
static get watchers() { return {
|
|
24794
24780
|
"market": ["setState"],
|
|
@@ -24801,15 +24787,12 @@ const PnfindPrice = class extends HTMLElement {
|
|
|
24801
24787
|
|
|
24802
24788
|
const pnFindPriceResultCss = "pn-find-price-result .test{margin:3em 0}.resultcontent{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}";
|
|
24803
24789
|
|
|
24804
|
-
|
|
24790
|
+
let PnfindPriceResult = class extends HTMLElement {
|
|
24805
24791
|
constructor() {
|
|
24806
24792
|
super();
|
|
24807
24793
|
this.__registerHost();
|
|
24808
24794
|
this.item = null;
|
|
24809
24795
|
this.shownitems = [];
|
|
24810
|
-
this.Usp1 = undefined;
|
|
24811
|
-
this.Usp2 = undefined;
|
|
24812
|
-
this.Usp3 = undefined;
|
|
24813
24796
|
this.description = [];
|
|
24814
24797
|
this.showMeasurement = false;
|
|
24815
24798
|
this.weightText = "";
|
|
@@ -24834,8 +24817,8 @@ const PnfindPriceResult = class extends HTMLElement {
|
|
|
24834
24817
|
this.showMeasurement = (this.item.maxmått !== null) || (this.item.rulle !== null);
|
|
24835
24818
|
this.linkId = `${this.item.id}-${this.item.maxweight}-${this.item.sizecategory}-${this.item.name.toLocaleLowerCase().replace(/[^a-zA-Z0-9]/g, '')}`;
|
|
24836
24819
|
var showServicepointLink = (this.item.ombudpurchase === "Yes");
|
|
24837
|
-
this.shopLabel = showServicepointLink ? state$
|
|
24838
|
-
this.shopUrl = showServicepointLink ? state$
|
|
24820
|
+
this.shopLabel = showServicepointLink ? state$8.i18n.ombudHeader : state$8.i18n.stampshopcta;
|
|
24821
|
+
this.shopUrl = showServicepointLink ? state$8.market.servicePoint : stampShopUrl$1;
|
|
24839
24822
|
this.shopId = showServicepointLink ? '-servicepoint' : '-stampshop';
|
|
24840
24823
|
}
|
|
24841
24824
|
render() {
|
|
@@ -24846,10 +24829,10 @@ const PnfindPriceResult = class extends HTMLElement {
|
|
|
24846
24829
|
: (this.item.highestrankusp === "Billigast") ?
|
|
24847
24830
|
(h("pn-titletag", { slot: "Billigast", icon: "box-label", color: "green700" }, this.item.highestrankusp))
|
|
24848
24831
|
: null), h("div", { slot: "content" }, h("div", { 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 ?
|
|
24849
|
-
(h("pn-product-card-info", { paket: this.item.maxmått, rulle: this.item.rulle })) : null, h("div", { slot: "cardprice" }, this.item.pricesenddirect ? (h("pn-product-card-price", { slot: "sendDirectPrice", label: state$
|
|
24850
|
-
(h("pn-product-card-price", { slot: "stampPrice", label: this.shopLabel, amount: this.item.pricestamps + '', currency: state$
|
|
24851
|
-
(h("pn-product-card-price", { slot: "riktiga", label: state$
|
|
24852
|
-
(h("div", { id: "riktiga" }, h("h4", null, state$
|
|
24832
|
+
(h("pn-product-card-info", { paket: this.item.maxmått, rulle: this.item.rulle })) : null, h("div", { slot: "cardprice" }, this.item.pricesenddirect ? (h("pn-product-card-price", { slot: "sendDirectPrice", label: state$8.i18n.senddirectcta, amount: this.item.pricesenddirect + '', currency: state$8.market.currency, url: sendDirectUrl$1, linkid: this.linkId + '-portal' })) : null, this.item.pricestamps ? ((this.item.name.toLocaleLowerCase() !== "riktiga vykort") ?
|
|
24833
|
+
(h("pn-product-card-price", { slot: "stampPrice", label: this.shopLabel, amount: this.item.pricestamps + '', currency: state$8.market.currency, url: this.shopUrl, linkid: this.linkId + this.shopId })) :
|
|
24834
|
+
(h("pn-product-card-price", { slot: "riktiga", label: state$8.i18n.realPostcard, amount: this.item.pricestamps + '', currency: state$8.market.currency, url: RealValues["WebUrl"], linkid: this.linkId + '-riktiga' }))) : null), h("div", { slot: "servicepoint" }, (this.item.showservicepointlink) ? (h("a", { href: state$8.market.servicePoint, target: "_blank" }, h("pn-icon", { symbol: "map-marker", color: "blue700" }), state$8.i18n.servicePointLink)) : null), h("div", { slot: "mobiledownload" }, (this.item.name.toLocaleLowerCase() === "riktiga vykort") ?
|
|
24835
|
+
(h("div", { id: "riktiga" }, h("h4", null, state$8.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))));
|
|
24853
24836
|
}
|
|
24854
24837
|
static get watchers() { return {
|
|
24855
24838
|
"item": ["composeItems"]
|
|
@@ -24857,7 +24840,7 @@ const PnfindPriceResult = class extends HTMLElement {
|
|
|
24857
24840
|
static get style() { return pnFindPriceResultCss; }
|
|
24858
24841
|
};
|
|
24859
24842
|
|
|
24860
|
-
const translations$
|
|
24843
|
+
const translations$a = {
|
|
24861
24844
|
'sv': {
|
|
24862
24845
|
'componentheading': 'Vad vill du skicka?',
|
|
24863
24846
|
'deliveryscopeheading': 'Hit eller dit?',
|
|
@@ -24914,7 +24897,7 @@ const translations$9 = {
|
|
|
24914
24897
|
'stampshopcta': 'Order home stamps from the webshop',
|
|
24915
24898
|
}
|
|
24916
24899
|
};
|
|
24917
|
-
const markets$
|
|
24900
|
+
const markets$2 = {
|
|
24918
24901
|
'se': {
|
|
24919
24902
|
"currency": "kr",
|
|
24920
24903
|
},
|
|
@@ -24947,7 +24930,7 @@ const deliveryscopes = {
|
|
|
24947
24930
|
]
|
|
24948
24931
|
};
|
|
24949
24932
|
|
|
24950
|
-
const weights$
|
|
24933
|
+
const weights$2 = {
|
|
24951
24934
|
"letter": [
|
|
24952
24935
|
{ name: "50g", abbreviation: 'g', value: 50 },
|
|
24953
24936
|
{ name: "100g", abbreviation: 'g', value: 100 },
|
|
@@ -24980,7 +24963,7 @@ const weights$1 = {
|
|
|
24980
24963
|
};
|
|
24981
24964
|
|
|
24982
24965
|
// Read more about how stencil stores work here: https://stenciljs.com/docs/stencil-store
|
|
24983
|
-
const { state: state$
|
|
24966
|
+
const { state: state$7, onChange: onChange$7 } = createStore({
|
|
24984
24967
|
i18n: {
|
|
24985
24968
|
componentheading: '',
|
|
24986
24969
|
deliveryscopeheading: '',
|
|
@@ -24999,7 +24982,7 @@ const { state: state$6, onChange: onChange$6 } = createStore({
|
|
|
24999
24982
|
|
|
25000
24983
|
const pnFindServiceAndPriceCss = "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:-ms-flexbox;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%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:1.2em;margin-top:1.55rem;font-weight:500}pn-find-service-and-price .weightoption-range{-ms-flex-positive:1;flex-grow:1;-ms-flex-item-align:end;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:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75em}pn-find-service-and-price .resultlist{margin:3em 0}";
|
|
25001
24984
|
|
|
25002
|
-
|
|
24985
|
+
let PnfindServiceAndPrice = class extends HTMLElement {
|
|
25003
24986
|
constructor() {
|
|
25004
24987
|
super();
|
|
25005
24988
|
this.__registerHost();
|
|
@@ -25038,10 +25021,10 @@ const PnfindServiceAndPrice = class extends HTMLElement {
|
|
|
25038
25021
|
}
|
|
25039
25022
|
setState() {
|
|
25040
25023
|
if (this.market) {
|
|
25041
|
-
state$
|
|
25024
|
+
state$7.market = markets$2[this.market];
|
|
25042
25025
|
}
|
|
25043
|
-
if (this.language && translations$
|
|
25044
|
-
state$
|
|
25026
|
+
if (this.language && translations$a[this.language]) {
|
|
25027
|
+
state$7.i18n = translations$a[this.language];
|
|
25045
25028
|
}
|
|
25046
25029
|
}
|
|
25047
25030
|
filterItems() {
|
|
@@ -25079,22 +25062,22 @@ const PnfindServiceAndPrice = class extends HTMLElement {
|
|
|
25079
25062
|
this.filteredItems = weightFilteredData;
|
|
25080
25063
|
}
|
|
25081
25064
|
render() {
|
|
25082
|
-
return (h("div", null, h("div", { class: "findprice-form" }, (state$
|
|
25065
|
+
return (h("div", null, h("div", { class: "findprice-form" }, (state$7.i18n.componentheading) ? (h("h2", null, state$7.i18n.componentheading)) : null, h("div", { 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: () => {
|
|
25083
25066
|
this.postagetype = postagetypes.filter(x => x.value === postagetype.value)[0];
|
|
25084
25067
|
this.deliveryscope = { value: "", name: "", icon: "" };
|
|
25085
25068
|
this.weight = { value: 0, name: "" };
|
|
25086
25069
|
this.weightvalue = this.weight.value;
|
|
25087
|
-
} }, h("pn-illustration", { illustration: postagetype.illustration }), " ", postagetype.name)))), this.postagetype.value && deliveryscopes[this.postagetype.value] ? (h("div", null, (state$
|
|
25070
|
+
} }, h("pn-illustration", { illustration: postagetype.illustration }), " ", postagetype.name)))), this.postagetype.value && deliveryscopes[this.postagetype.value] ? (h("div", null, (state$7.i18n.deliveryscopeheading) ? (h("div", { class: "heading" }, state$7.i18n.deliveryscopeheading)) : null, h("div", { class: "deliveryscope" }, deliveryscopes[this.postagetype.value].map((deliveryscope) => (h("pn-choice-button", { choiceid: this.postagetype.value + deliveryscope.value, value: deliveryscope.value, name: "deliveryscope", type: "radio", checked: deliveryscope.value === this.deliveryscope.value, onChange: () => {
|
|
25088
25071
|
this.deliveryscope = deliveryscopes[this.postagetype.value].filter(x => x.value === deliveryscope.value)[0];
|
|
25089
25072
|
if (this.weight.value === 0) {
|
|
25090
|
-
this.weight = weights$
|
|
25073
|
+
this.weight = weights$2[this.postagetype.value][0];
|
|
25091
25074
|
this.weightvalue = this.weight.value;
|
|
25092
25075
|
}
|
|
25093
|
-
} }, h("pn-illustration", { illustration: deliveryscope.illustration }), " ", deliveryscope.name)))))) : null, (this.postagetype.value && weights$
|
|
25076
|
+
} }, h("pn-illustration", { illustration: deliveryscope.illustration }), " ", deliveryscope.name)))))) : null, (this.postagetype.value && weights$2[this.postagetype.value] && this.deliveryscope.value) ? (h("div", null, (state$7.i18n.sizeheading) ? (h("div", { class: "heading" }, state$7.i18n.sizeheading)) : null, h("div", { class: "weightoption" }, h("div", { class: "weightoption-input" }, h("pn-input", { inputid: "weightvalue", name: "weightvalue", type: "number", label: state$7.i18n.weightlabel, value: this.weightvalue, onChange: (e) => {
|
|
25094
25077
|
if (e && e.target && e.target.value) {
|
|
25095
25078
|
const weightNum = parseInt(e.target.value, 10);
|
|
25096
25079
|
if (!isNaN(weightNum)) {
|
|
25097
|
-
let matchingWeights = weights$
|
|
25080
|
+
let matchingWeights = weights$2[this.postagetype.value].filter((x) => {
|
|
25098
25081
|
let weightInGrams = (x.abbreviation === "kg") ? x.value * 1000 : x.value;
|
|
25099
25082
|
return weightInGrams >= weightNum;
|
|
25100
25083
|
});
|
|
@@ -25104,19 +25087,19 @@ const PnfindServiceAndPrice = class extends HTMLElement {
|
|
|
25104
25087
|
}
|
|
25105
25088
|
}
|
|
25106
25089
|
}
|
|
25107
|
-
} }), h("span", { class: "weightoption-input-abbreviation" }, this.weight.abbreviation)), h("div", { class: "weightoption-range" }, h("input", { type: "range", id: "weightrange", name: "weightrange", list: "weightlist", value: (!this.weight.value) ? 0 : weights$
|
|
25090
|
+
} }), h("span", { class: "weightoption-input-abbreviation" }, this.weight.abbreviation)), h("div", { class: "weightoption-range" }, h("input", { type: "range", id: "weightrange", name: "weightrange", list: "weightlist", value: (!this.weight.value) ? 0 : weights$2[this.postagetype.value].findIndex((x) => x.value === this.weightvalue), onChange: (e) => {
|
|
25108
25091
|
const value = e.target.value;
|
|
25109
|
-
this.weight = weights$
|
|
25092
|
+
this.weight = weights$2[this.postagetype.value][value];
|
|
25110
25093
|
this.weightvalue = this.weight.value;
|
|
25111
25094
|
}, min: "0",
|
|
25112
25095
|
// max={ weights[this.postagetype.value][weights[this.postagetype.value].length - 1].value }
|
|
25113
|
-
max: weights$
|
|
25096
|
+
max: weights$2[this.postagetype.value].length - 1 }), h("datalist", { id: "weightlist" }, weights$2[this.postagetype.value].map((weight, weightindex) => {
|
|
25114
25097
|
let labelText = weight.name;
|
|
25115
|
-
if (weights$
|
|
25116
|
-
labelText = (weightindex % 5 === 0 || weightindex === 0 || weightindex === weights$
|
|
25098
|
+
if (weights$2[this.postagetype.value].length > 6) {
|
|
25099
|
+
labelText = (weightindex % 5 === 0 || weightindex === 0 || weightindex === weights$2[this.postagetype.value].length - 1) ? weight.name : '';
|
|
25117
25100
|
}
|
|
25118
25101
|
return (h("option", Object.assign({ value: weightindex }, (labelText ? { label: labelText } : {}))));
|
|
25119
|
-
})))))) : null), (this.filteredItems && this.filteredItems.length > 0) ? (h("div", { class: "resultlist" }, (state$
|
|
25102
|
+
})))))) : null), (this.filteredItems && this.filteredItems.length > 0) ? (h("div", { class: "resultlist" }, (state$7.i18n.resultlistheading) ? (h("div", { class: "heading" }, state$7.i18n.resultlistheading)) : null, this.filteredItems.map((item) => (h("div", null, h("pn-find-service-and-price-result", { item: item })))))) : null));
|
|
25120
25103
|
}
|
|
25121
25104
|
static get watchers() { return {
|
|
25122
25105
|
"market": ["setState"],
|
|
@@ -25130,7 +25113,7 @@ const PnfindServiceAndPrice = class extends HTMLElement {
|
|
|
25130
25113
|
|
|
25131
25114
|
const pnFindServiceAndPriceResultCss = "";
|
|
25132
25115
|
|
|
25133
|
-
|
|
25116
|
+
let PnfindServiceAndPriceResult = class extends HTMLElement {
|
|
25134
25117
|
constructor() {
|
|
25135
25118
|
super();
|
|
25136
25119
|
this.__registerHost();
|
|
@@ -25158,7 +25141,7 @@ const PnfindServiceAndPriceResult = class extends HTMLElement {
|
|
|
25158
25141
|
// (this.item.what === "letter" && this.item.maxweight > 999) ? Math.round(this.item.maxweight/1000) + " kg" : this.item.maxweight + " g";
|
|
25159
25142
|
}
|
|
25160
25143
|
render() {
|
|
25161
|
-
return (h(Host, null, 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$
|
|
25144
|
+
return (h(Host, null, 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$7.i18n.maxweightlabel, text: this.weightText })) : null, item.pricestamps ? (h("pn-product-tile-price", { slot: "price", label: state$7.i18n.stampshopcta, amount: item.pricestamps + '', currency: state$7.market.currency })) : null, item.pricesenddirect ? (h("pn-product-tile-price", { slot: "price", label: state$7.i18n.senddirectcta, amount: item.pricesenddirect + '', currency: state$7.market.currency, url: "https://portal.postnord.com/skickadirekt/" })) : null, item.note ? (h("small", { slot: "note" }, h("p", null, item.note))) : null)))));
|
|
25162
25145
|
}
|
|
25163
25146
|
static get watchers() { return {
|
|
25164
25147
|
"item": ["composeItems"]
|
|
@@ -25166,7 +25149,7 @@ const PnfindServiceAndPriceResult = class extends HTMLElement {
|
|
|
25166
25149
|
static get style() { return pnFindServiceAndPriceResultCss; }
|
|
25167
25150
|
};
|
|
25168
25151
|
|
|
25169
|
-
const translations$
|
|
25152
|
+
const translations$9 = {
|
|
25170
25153
|
'sv': {
|
|
25171
25154
|
"heading": "Språk",
|
|
25172
25155
|
},
|
|
@@ -25189,15 +25172,15 @@ const translations$8 = {
|
|
|
25189
25172
|
|
|
25190
25173
|
const pnLanguageSelectorCss = "pn-language-selector{max-height:5.2rem}pn-language-selector pn-nav-dropdown:not([data-open]) .nav-dropdown-content-container,pn-language-selector pn-nav-dropdown[data-open=false] .nav-dropdown-content-container{display:none}pn-language-selector pn-nav-dropdown{display:block}.languageselector{position:relative}.languageselector-togglebtn{cursor:pointer;border:0;padding:0.64rem 0;background-color:#FFFFFF;color:#005D92;font-size:1.6rem}.languageselector-togglebtn:hover,.languageselector-togglebtn:focus,.languageselector-togglebtn:active{color:#0D234B;text-decoration:underline}.languageselector-togglebtn svg{width:1.9rem;height:1.9rem}.languageselector-title{padding:0.8rem 1.6rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.languageselector-list{margin:0;padding:0;list-style:none}";
|
|
25191
25174
|
|
|
25192
|
-
|
|
25175
|
+
let PnlanguageSelector = class extends HTMLElement {
|
|
25193
25176
|
constructor() {
|
|
25194
25177
|
super();
|
|
25195
25178
|
this.__registerHost();
|
|
25196
25179
|
this.setLanguage = createEvent(this, "setLanguage", 7);
|
|
25180
|
+
/* Current language code */
|
|
25197
25181
|
this.value = "";
|
|
25198
25182
|
this.selectedLanguageName = "";
|
|
25199
25183
|
this.options = [];
|
|
25200
|
-
this.i18n = undefined;
|
|
25201
25184
|
}
|
|
25202
25185
|
componentWillLoad() {
|
|
25203
25186
|
this.setInitialSelectedLanguageName();
|
|
@@ -25251,8 +25234,8 @@ const PnlanguageSelector = class extends HTMLElement {
|
|
|
25251
25234
|
this.setLanguage.emit(this.value);
|
|
25252
25235
|
}
|
|
25253
25236
|
setTranslations() {
|
|
25254
|
-
if (translations$
|
|
25255
|
-
this.i18n = translations$
|
|
25237
|
+
if (translations$9[this.value]) {
|
|
25238
|
+
this.i18n = translations$9[this.value];
|
|
25256
25239
|
}
|
|
25257
25240
|
}
|
|
25258
25241
|
onValueChange() {
|
|
@@ -25279,16 +25262,16 @@ const PnlanguageSelector = class extends HTMLElement {
|
|
|
25279
25262
|
|
|
25280
25263
|
const pnLanguageSelectorOptionCss = "pn-language-selector-option{margin:0;padding:0;list-style:none}.languageselector-button,.languageselector-link{width:100%;padding:1.1rem 1.6rem 1.1rem 1.4rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;position:relative;text-decoration:none;border:0;cursor:pointer;background-color:#FFFFFF;color:#005D92;font-size:1.6rem;font-weight:bold;border-radius:0}.languageselector-button:hover,.languageselector-button:focus,.languageselector-button:active,.languageselector-link:hover,.languageselector-link:focus,.languageselector-link:active{color:#0D234B;text-decoration:underline;-webkit-box-shadow:none;box-shadow:none;background-color:#F3F2F2;color:#005D92;outline:none}.languageselector-itemtext{display:inline-block;margin-left:1rem}.languageselector-radio-outer{background:#fff;border:0.1em solid #D3CECB;border-radius:50%;height:1.5em;width:1.5em;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, -webkit-box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, -webkit-box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.1s;transition:border 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.1s, -webkit-box-shadow 0.1s;cursor:pointer}.languageselector-radio-outer:focus>.languageselector-radio-outer,.languageselector-radio-outer:active>.languageselector-radio-outer{-webkit-box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92;box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92}.languageselector-radio-outer:hover>.languageselector-radio-outer{border:0.1rem solid #005D92;background:#E0F8FF}[selected=true] .languageselector-radio-outer{border:0.1rem solid #005D92}.languageselector-radio-inner{-webkit-transform:scale(0);transform:scale(0);height:1em;width:1em;background-color:#005D92;border-radius:50%;-webkit-transform-origin:center center;transform-origin:center center;-webkit-transition:-webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:-webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92), -webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92)}[selected=true] .languageselector-radio-inner{-webkit-transform:scale(1);transform:scale(1)}";
|
|
25281
25264
|
|
|
25282
|
-
|
|
25265
|
+
let PnlanguageSelectorOption = class extends HTMLElement {
|
|
25283
25266
|
constructor() {
|
|
25284
25267
|
super();
|
|
25285
25268
|
this.__registerHost();
|
|
25286
25269
|
this.setCurrentLanguage = createEvent(this, "setCurrentLanguage", 7);
|
|
25270
|
+
/** What you write in the comment block above each prop is what ends up in the description fields in the prop table in the documentation */
|
|
25287
25271
|
this.name = "";
|
|
25288
25272
|
this.code = "";
|
|
25289
25273
|
this.url = "";
|
|
25290
25274
|
this.selected = false;
|
|
25291
|
-
this.currentLanguage = undefined;
|
|
25292
25275
|
}
|
|
25293
25276
|
onOptionClick() {
|
|
25294
25277
|
const currentlanguage = {
|
|
@@ -25307,7 +25290,7 @@ const PnlanguageSelectorOption = class extends HTMLElement {
|
|
|
25307
25290
|
|
|
25308
25291
|
const pnLineShapeCss = "pn-line-shape .pn-line-shape__container{display:-ms-flexbox;display:flex}pn-line-shape .pn-line-shape__line{border-style:solid;border-width:0.4rem;border-radius:1.6rem;border-color:#00A0D6}pn-line-shape .pn-line-shape__dot{width:0.8rem;border-style:solid;border-width:0.4rem;border-radius:1.6rem;height:0.8rem;border-color:#00A0D6}pn-line-shape[slot=horizontal-line] .pn-line-shape__container{-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:100%;gap:0.8rem;padding:2.4rem 0}pn-line-shape[slot=horizontal-line] .pn-line-shape__line{height:0.8rem;width:100%}pn-line-shape[slot=vertical-line] .pn-line-shape__container{height:100%;-ms-flex-direction:column;flex-direction:column;gap:0.8rem;padding:0.8rem 0.5rem}pn-line-shape[slot=vertical-line] .pn-line-shape__line{height:100%;width:0.8rem}";
|
|
25309
25292
|
|
|
25310
|
-
|
|
25293
|
+
let PnLineShape$1 = class extends HTMLElement {
|
|
25311
25294
|
constructor() {
|
|
25312
25295
|
super();
|
|
25313
25296
|
this.__registerHost();
|
|
@@ -25320,7 +25303,7 @@ const PnLineShape$1 = class extends HTMLElement {
|
|
|
25320
25303
|
static get style() { return pnLineShapeCss; }
|
|
25321
25304
|
};
|
|
25322
25305
|
|
|
25323
|
-
const translations$
|
|
25306
|
+
const translations$8 = {
|
|
25324
25307
|
'sv': {
|
|
25325
25308
|
"menuHomeButton": "Hem",
|
|
25326
25309
|
"menuGoBackButton": "Gå tillbaka",
|
|
@@ -25359,7 +25342,7 @@ const translations$7 = {
|
|
|
25359
25342
|
};
|
|
25360
25343
|
|
|
25361
25344
|
// Read more about how stencil stores work here: https://stenciljs.com/docs/stencil-store
|
|
25362
|
-
const { state: state$
|
|
25345
|
+
const { state: state$6, onChange: onChange$6 } = createStore({
|
|
25363
25346
|
openLevel: '',
|
|
25364
25347
|
currentLevel: 1,
|
|
25365
25348
|
openMenu: false,
|
|
@@ -25374,17 +25357,22 @@ const { state: state$5, onChange: onChange$5 } = createStore({
|
|
|
25374
25357
|
|
|
25375
25358
|
const pnMainnavCss = "pn-mainnav{display:-ms-flexbox;display:flex;-ms-flex-flow:row-reverse;flex-flow:row-reverse;position:relative;width:100%;min-height:5.1rem}@media screen and (min-width: 48em){pn-mainnav{-ms-flex-flow:row;flex-flow:row}}@media screen and (min-width: 64em){pn-mainnav{-ms-flex-flow:column;flex-flow:column}}@media screen and (min-width: 64em){pn-mainnav [slot=footer]{display:none}}pn-mainnav>nav{height:auto;width:100vw;background-color:#FFFFFF;z-index:2;-webkit-transform:translateX(100vw);transform:translateX(100vw);-webkit-transition:-webkit-transform 0.2s 0s;transition:-webkit-transform 0.2s 0s;transition:transform 0.2s 0s;transition:transform 0.2s 0s, -webkit-transform 0.2s 0s;-webkit-transition-property:visibility, -webkit-transform;transition-property:visibility, -webkit-transform;transition-property:transform, visibility;transition-property:transform, visibility, -webkit-transform;display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;visibility:hidden;position:fixed;top:3em;bottom:0;left:0}@media screen and (min-width: 48em){pn-mainnav>nav{top:6.5em}}pn-mainnav>nav[data-menu-open=true]{visibility:visible;-webkit-transform:translateX(0);transform:translateX(0)}@media screen and (min-width: 64em){pn-mainnav>nav{-ms-flex-flow:row-reverse;flex-flow:row-reverse;top:0;position:static;height:auto;width:100%;-ms-flex-pack:justify;justify-content:space-between;visibility:visible;-webkit-transform:translateX(0);transform:translateX(0)}}pn-mainnav>nav a{text-decoration:none}pn-mainnav>nav button{cursor:pointer}.mainnav-toggle{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-item-align:center;align-self:center}@media screen and (min-width: 64em){.mainnav-toggle{display:none}}.mainnav-toggle>button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:#005D92;color:#FFFFFF;border-radius:2.4rem;border:none;padding:0.6rem 1.6rem;cursor:pointer;font-size:1.6rem}.mainnav-toggle>button:focus{outline:0}.mainnav-toggle>button pn-icon{margin-left:0.8rem;display:block}.mainnav-toggle>button svg{display:block;margin:-0.2rem -0.5rem -0.2rem 0;height:1.9rem;width:1.9rem}";
|
|
25376
25359
|
|
|
25377
|
-
|
|
25360
|
+
let PnMainnav$1 = class extends HTMLElement {
|
|
25378
25361
|
constructor() {
|
|
25379
25362
|
super();
|
|
25380
25363
|
this.__registerHost();
|
|
25381
25364
|
this.menuLanguageChange = createEvent(this, "menuLanguageChange", 7);
|
|
25382
25365
|
this.marketChange = createEvent(this, "marketChange", 7);
|
|
25383
25366
|
this.menuOpenChange = createEvent(this, "menuOpenChange", 7);
|
|
25367
|
+
/** Specifies which market we want to fetch navigation for (se,dk,fi,no,com) */
|
|
25384
25368
|
this.market = "se";
|
|
25369
|
+
/** Specifies which language we want to show navigation in (sv,da,fi,no,en) */
|
|
25385
25370
|
this.language = "sv";
|
|
25371
|
+
/** Specifies which endpoint we should read information from */
|
|
25386
25372
|
this.navigationId = "mainnav";
|
|
25373
|
+
/** Specifies which endpoint we should read information from */
|
|
25387
25374
|
this.openMenu = false;
|
|
25375
|
+
/** Sets the label of the navigation (Required if multiple nav elements are on a page) */
|
|
25388
25376
|
this.navLabel = "";
|
|
25389
25377
|
}
|
|
25390
25378
|
componentWillLoad() {
|
|
@@ -25399,7 +25387,7 @@ const PnMainnav$1 = class extends HTMLElement {
|
|
|
25399
25387
|
_onClickOutside(event) {
|
|
25400
25388
|
const clickedOutside = !this.hostElement.contains(event.target);
|
|
25401
25389
|
if (clickedOutside) {
|
|
25402
|
-
state$
|
|
25390
|
+
state$6.openLevel = "";
|
|
25403
25391
|
}
|
|
25404
25392
|
}
|
|
25405
25393
|
setLanguage() {
|
|
@@ -25409,22 +25397,22 @@ const PnMainnav$1 = class extends HTMLElement {
|
|
|
25409
25397
|
this.marketChange.emit(this.market);
|
|
25410
25398
|
}
|
|
25411
25399
|
onLanguageChange(event) {
|
|
25412
|
-
if (translations$
|
|
25413
|
-
state$
|
|
25400
|
+
if (translations$8[event.detail]) {
|
|
25401
|
+
state$6.i18n = translations$8[event.detail];
|
|
25414
25402
|
if (!this.navLabel) {
|
|
25415
|
-
this.navLabel = state$
|
|
25403
|
+
this.navLabel = state$6.i18n.navLabel;
|
|
25416
25404
|
}
|
|
25417
25405
|
}
|
|
25418
25406
|
}
|
|
25419
25407
|
setMenuOpenState() {
|
|
25420
|
-
state$
|
|
25421
|
-
this.menuOpenChange.emit(state$
|
|
25408
|
+
state$6.openMenu = (!state$6.openMenu);
|
|
25409
|
+
this.menuOpenChange.emit(state$6.openMenu);
|
|
25422
25410
|
}
|
|
25423
25411
|
onOpenMenuLevelChange(event) {
|
|
25424
|
-
state$
|
|
25412
|
+
state$6.openLevel = event.detail;
|
|
25425
25413
|
}
|
|
25426
25414
|
render() {
|
|
25427
|
-
return (h(Host, null, h("div", { class: "mainnav-toggle" }, h("button", { "aria-controls": this.navigationId, "aria-expanded": state$
|
|
25415
|
+
return (h(Host, null, h("div", { class: "mainnav-toggle" }, h("button", { "aria-controls": this.navigationId, "aria-expanded": state$6.openMenu + '', onClick: this.setMenuOpenState.bind(this) }, state$6.i18n.mainMenuButton, h("pn-icon", { symbol: state$6.openMenu ? "close" : "bars", color: "white" }))), h("nav", { class: "mainnav", "aria-label": this.navLabel, "data-menu-open": state$6.openMenu + '', "data-menu-currentlevel": state$6.currentLevel, id: this.navigationId }, h("slot", null))));
|
|
25428
25416
|
}
|
|
25429
25417
|
get hostElement() { return this; }
|
|
25430
25418
|
static get style() { return pnMainnavCss; }
|
|
@@ -25432,7 +25420,7 @@ const PnMainnav$1 = class extends HTMLElement {
|
|
|
25432
25420
|
|
|
25433
25421
|
const pnMainnavLevelCss = "pn-mainnav-level{display:block}pn-mainnav-level:not(.hydrated){max-height:5.6rem;overflow:hidden}pn-mainnav-level[data-level=\"1\"]{width:100%;right:0;overflow-y:scroll;overflow-x:hidden;-ms-flex:1;flex:1}@media screen and (min-width: 64em){pn-mainnav-level[data-level=\"1\"]{width:auto;overflow:initial}pn-mainnav-level[data-level=\"1\"]::-webkit-scrollbar{display:none}}pn-mainnav-level[data-level=\"2\"]{position:absolute;top:0;bottom:0;left:0;width:100vw;padding:0;background-color:#FFFFFF;z-index:1;-webkit-transform:translateX(100vw);transform:translateX(100vw);-webkit-transition:-webkit-transform 0.2s 0s;transition:-webkit-transform 0.2s 0s;transition:transform 0.2s 0s;transition:transform 0.2s 0s, -webkit-transform 0.2s 0s;-webkit-transition-property:visibility, -webkit-transform;transition-property:visibility, -webkit-transform;transition-property:transform, visibility;transition-property:transform, visibility, -webkit-transform;overflow:scroll;visibility:hidden}@media screen and (min-width: 64em){pn-mainnav-level[data-level=\"2\"]{left:0;top:calc(100% + 1rem);bottom:auto;border-radius:1.6rem;width:auto;padding:1.6rem 1.6rem 0 1.6rem;-webkit-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);-moz-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);height:auto;z-index:3;display:none}pn-mainnav-level[data-level=\"2\"][data-menuitem-rightaligned=true]{right:0;left:unset}}@media screen and (max-height: 33.125em){pn-mainnav-level[data-level=\"2\"]{-ms-overflow-style:none;scrollbar-width:none}pn-mainnav-level[data-level=\"2\"]::-webkit-scrollbar{display:none}}pn-mainnav-level[data-level=\"2\"][aria-hidden=false]{-webkit-transform:translateX(0);transform:translateX(0);visibility:visible}@media screen and (min-width: 64em){pn-mainnav-level[data-level=\"2\"][aria-hidden=false]{display:block;overflow:visible}pn-mainnav-level[data-level=\"2\"][aria-hidden=false]:not([data-level-listcount=\"1\"]){display:grid;grid-template-columns:minmax(12em, 20em) 1fr;grid-template-rows:auto auto;gap:0px 1.6rem;grid-template-areas:\"top top\" \"left right\"}}@media screen and (min-width: 64em){pn-mainnav-level[data-level=\"2\"][data-level-alignment=left]{right:0;left:unset}}@media screen and (min-width: 64em){pn-mainnav-level[data-level=\"2\"][data-level-alignment=center]{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}}pn-mainnav-level[data-level=\"2\"] a{color:#005D92;text-decoration:none}pn-mainnav-level [slot=top]{display:-ms-flexbox;display:flex}@media screen and (min-width: 48em){pn-mainnav-level [slot=top]{display:none}}[data-menu-currentlevel=\"2\"] pn-mainnav-level [slot=footer]{display:none;-ms-scroll-chaining:none;overscroll-behavior:contain}.mainnav-level-header{grid-area:top}.mainnav-level-header>label{position:absolute;width:0.1rem;height:0.1rem;padding:0;margin:-0.1rem;overflow:hidden;clip:rect(0, 0, 0, 0);border:0;white-space:nowrap}.mainnav-level-header>button{display:block;position:relative;border:none;background-color:transparent;color:#005D92;padding:2.4rem 0 2.4rem 6.2rem;width:100%;text-align:left}@media screen and (min-width: 64em){.mainnav-level-header>button{display:none;speak:none}}.mainnav-level-header>button>pn-icon{speak:none;position:absolute;height:2.4rem;width:2.4rem;left:3rem;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}[data-level=\"2\"] .mainnav-level-header>pn-mainnav-link>a{font-size:2.4rem}";
|
|
25434
25422
|
|
|
25435
|
-
|
|
25423
|
+
let PnMainnavLevel$1 = class extends HTMLElement {
|
|
25436
25424
|
constructor() {
|
|
25437
25425
|
super();
|
|
25438
25426
|
this.__registerHost();
|
|
@@ -25448,7 +25436,7 @@ const PnMainnavLevel$1 = class extends HTMLElement {
|
|
|
25448
25436
|
}
|
|
25449
25437
|
async componentWillLoad() {
|
|
25450
25438
|
this.setState();
|
|
25451
|
-
onChange$
|
|
25439
|
+
onChange$6("openLevel", () => {
|
|
25452
25440
|
this.onChangeOpenLevel();
|
|
25453
25441
|
});
|
|
25454
25442
|
}
|
|
@@ -25496,14 +25484,14 @@ const PnMainnavLevel$1 = class extends HTMLElement {
|
|
|
25496
25484
|
}
|
|
25497
25485
|
}
|
|
25498
25486
|
onChangeOpenLevel() {
|
|
25499
|
-
this.isOpen = state$
|
|
25500
|
-
state$
|
|
25487
|
+
this.isOpen = state$6.openLevel === this.levelId;
|
|
25488
|
+
state$6.currentLevel = this.level;
|
|
25501
25489
|
}
|
|
25502
25490
|
render() {
|
|
25503
|
-
return (h(Host, Object.assign({ role: "navigation" }, ((this.level > 1 && this.levelId) ? { 'aria-hidden': (!this.isOpen) + '' } : {}), { "data-level-listcount": this.listCount + '', "data-level-alignment": this.alignment, "data-level": this.level + '' }, (this.levelId ? { id: this.levelId } : {})), (this.level > 1) ? (h("div", { class: "mainnav-level-header" }, h("label", { htmlFor: this.levelId }, state$
|
|
25504
|
-
state$
|
|
25505
|
-
state$
|
|
25506
|
-
}, "aria-expanded": (state$
|
|
25491
|
+
return (h(Host, Object.assign({ role: "navigation" }, ((this.level > 1 && this.levelId) ? { 'aria-hidden': (!this.isOpen) + '' } : {}), { "data-level-listcount": this.listCount + '', "data-level-alignment": this.alignment, "data-level": this.level + '' }, (this.levelId ? { id: this.levelId } : {})), (this.level > 1) ? (h("div", { class: "mainnav-level-header" }, h("label", { htmlFor: this.levelId }, state$6.i18n.menuGoBackButton), h("button", { class: "secondlevel-backbtn", onClick: () => {
|
|
25492
|
+
state$6.openLevel = '';
|
|
25493
|
+
state$6.currentLevel = 1;
|
|
25494
|
+
}, "aria-expanded": (state$6.openLevel === this.levelId) + '' }, h("pn-icon", { symbol: "arrow-left", color: "blue700" }), state$6.i18n.menuStartButton), (this.parentHref && this.label) ? h("pn-mainnav-link", { href: this.parentHref, name: this.label, linkid: this.parentLinkId }) : null)) : null, h("slot", { name: "top" }), h("slot", null), h("slot", { name: "additional" }), h("slot", { name: "footer" })));
|
|
25507
25495
|
}
|
|
25508
25496
|
get hostElement() { return this; }
|
|
25509
25497
|
static get watchers() { return {
|
|
@@ -25515,15 +25503,21 @@ const PnMainnavLevel$1 = class extends HTMLElement {
|
|
|
25515
25503
|
|
|
25516
25504
|
const pnMainnavLinkCss = "pn-mainnav-link{display:block}pn-mainnav-link button,pn-mainnav-link a{font-weight:normal;position:relative;border:0 none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:transparent;color:#005D92}pn-mainnav-link button:hover,pn-mainnav-link button:focus,pn-mainnav-link a:hover,pn-mainnav-link a:focus{background-color:#FFFFFF;color:#005D92;outline:0;-webkit-box-shadow:none;box-shadow:none}pn-mainnav-link button:active,pn-mainnav-link a:active{background-color:#F3F2F2;color:#00A0D6;-webkit-box-shadow:none;box-shadow:none}@media screen and (min-width: 64em){[data-level=\"1\"] pn-mainnav-link{height:100%;padding-left:0;position:relative;scroll-snap-align:center}}[data-level=\"1\"] pn-mainnav-link:first-child{border-top:0.1rem solid #F3F2F2}@media screen and (min-width: 64em){[data-level=\"1\"] pn-mainnav-link:first-child{border:0}}[data-level=\"1\"] pn-mainnav-link>button,[data-level=\"1\"] pn-mainnav-link>a{font-size:2rem;width:100%;border-bottom:0.1rem solid #F3F2F2;height:auto;padding:1.9rem 0 1.9rem 3rem}@media screen and (min-width: 64em){[data-level=\"1\"] pn-mainnav-link>button,[data-level=\"1\"] pn-mainnav-link>a{height:100%;border:0;font-size:1.6rem;font-weight:normal;position:relative;outline:0;overflow:hidden;padding:1.6rem 1.6rem;white-space:nowrap}[data-level=\"1\"] pn-mainnav-link>button::before,[data-level=\"1\"] pn-mainnav-link>a::before{content:\"\";background-color:#00A0D6;position:absolute;bottom:0;left:0;width:100%;height:0.5em;border-radius:0.5em 0.5em 0 0;-webkit-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:-webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92), -webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92)}[data-level=\"1\"] pn-mainnav-link>button:hover::before,[data-level=\"1\"] pn-mainnav-link>button:focus::before,[data-level=\"1\"] pn-mainnav-link>a:hover::before,[data-level=\"1\"] pn-mainnav-link>a:focus::before{-webkit-transform:translateY(0);transform:translateY(0)}[data-level=\"1\"] pn-mainnav-link>button:active,[data-level=\"1\"] pn-mainnav-link>a:active{outline:0;-webkit-box-shadow:none;box-shadow:none;color:#005D92}[data-level=\"1\"] pn-mainnav-link>button:active::before,[data-level=\"1\"] pn-mainnav-link>a:active::before{background-color:#8EDDF9;-webkit-transform:translateY(0);transform:translateY(0)}}@media screen and (min-width: 64em){[data-level=\"1\"] pn-mainnav-link>button:hover,[data-level=\"1\"] pn-mainnav-link>button:focus,[data-level=\"1\"] pn-mainnav-link>a:hover,[data-level=\"1\"] pn-mainnav-link>a:focus{text-decoration:none}}@media screen and (min-width: 64em){[data-level=\"1\"] pn-mainnav-link>button[aria-expanded=true]::before,[data-level=\"1\"] pn-mainnav-link>a[aria-expanded=true]::before{content:\"\";background-color:#00A0D6;position:absolute;bottom:0;left:0;width:100%;height:0.5em;border-radius:0.5em 0.5em 0 0;-webkit-transform:translateY(0);transform:translateY(0);-webkit-transition:-webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:-webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92);transition:transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92), -webkit-transform 0.1s cubic-bezier(0.64, 0.01, 0.67, 0.92)}}[data-level=\"1\"] pn-mainnav-link [aria-expanded=true] .first-level_icon{-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}[data-level=\"1\"] pn-mainnav-link pn-icon.first-level_icon{-webkit-transition:0.25s linear transform;transition:0.25s linear transform;width:1.92rem;height:1.92rem;display:none}@media screen and (min-width: 64em){[data-level=\"1\"] pn-mainnav-link pn-icon.first-level_icon{display:block}}[data-level=\"1\"] pn-mainnav-link pn-icon.first-level_arrow{display:block;position:absolute;height:2.4rem;width:2.4rem;right:2.4rem;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}@media screen and (min-width: 64em){[data-level=\"1\"] pn-mainnav-link pn-icon.first-level_arrow{display:none}}[data-level=\"1\"] pn-mainnav-link pn-icon svg{pointer-events:none;speak:none;width:100%;height:100%}@media screen and (min-width: 64em){pn-mainnav-level[data-level=\"2\"]:not([data-level-listcount=\"1\"]) pn-mainnav-list:last-child pn-mainnav-link>a{min-width:unset}}[data-level=\"2\"] pn-mainnav-link{position:static;display:inline-block;width:100%;height:auto}@media screen and (min-width: 64em){[data-level=\"2\"] pn-mainnav-link{padding-left:0;margin-bottom:1.6rem}}[data-level=\"2\"] pn-mainnav-link>a{font-size:1.6rem;border-bottom:0.1rem solid #F3F2F2;padding:2.2rem 0 2.2rem 3rem;white-space:normal}@media screen and (min-width: 64em){[data-level=\"2\"] pn-mainnav-link>a{min-width:16em;border:0;border-radius:1rem;padding:1.4rem 1.6rem}}[data-level=\"2\"] pn-mainnav-link>a:hover{background-color:#FFFFFF;color:#005D92}[data-level=\"2\"] pn-mainnav-link>a:hover,[data-level=\"2\"] pn-mainnav-link>a:focus{-webkit-box-shadow:none;box-shadow:none}@media screen and (min-width: 64em){[data-level=\"2\"] pn-mainnav-link>a:hover,[data-level=\"2\"] pn-mainnav-link>a:focus{background-color:#F3F2F2;color:#005D92;text-decoration:underline;outline:0}}[data-level=\"2\"] pn-mainnav-link>a:hover::before,[data-level=\"2\"] pn-mainnav-link>a:focus::before{content:none}[data-level=\"2\"] pn-mainnav-link>a:active{-webkit-box-shadow:none;box-shadow:none}@media screen and (min-width: 64em){[data-level=\"2\"] pn-mainnav-link>a:active{background-color:#F3F2F2;color:#00A0D6;outline:0}}[data-level=\"2\"] pn-mainnav-link>a:active::before{content:none}[data-level=\"2\"] pn-mainnav-link pn-icon{display:inline-block;margin-left:0.2em;min-width:1.5rem;width:1.5rem;height:1.5rem}";
|
|
25517
25505
|
|
|
25518
|
-
|
|
25506
|
+
let PnMainnavLink$1 = class extends HTMLElement {
|
|
25519
25507
|
constructor() {
|
|
25520
25508
|
super();
|
|
25521
25509
|
this.__registerHost();
|
|
25510
|
+
/** Name */
|
|
25522
25511
|
this.name = "";
|
|
25512
|
+
/** Href */
|
|
25523
25513
|
this.href = "";
|
|
25514
|
+
/** Target */
|
|
25524
25515
|
this.target = "";
|
|
25516
|
+
/** Link id */
|
|
25525
25517
|
this.linkid = "";
|
|
25518
|
+
/** Level ID that we control toggle on */
|
|
25526
25519
|
this.levelId = "";
|
|
25520
|
+
/** Menu item is open */
|
|
25527
25521
|
this.open = false;
|
|
25528
25522
|
this.hasChildren = false;
|
|
25529
25523
|
}
|
|
@@ -25535,10 +25529,10 @@ const PnMainnavLink$1 = class extends HTMLElement {
|
|
|
25535
25529
|
}
|
|
25536
25530
|
}
|
|
25537
25531
|
setOpenMenuLevel() {
|
|
25538
|
-
state$
|
|
25532
|
+
state$6.openLevel = (state$6.openLevel + "" === this.levelId + "") ? '' : this.levelId;
|
|
25539
25533
|
}
|
|
25540
25534
|
render() {
|
|
25541
|
-
return (h(Host, { role: "listitem", name: this.name, href: this.href, linkid: this.linkid }, this.hasChildren ? (h("button", { onClick: this.setOpenMenuLevel.bind(this), "aria-controls": this.levelId, "aria-pressed": "", "aria-expanded": ((state$
|
|
25535
|
+
return (h(Host, { role: "listitem", name: this.name, href: this.href, linkid: this.linkid }, this.hasChildren ? (h("button", { onClick: this.setOpenMenuLevel.bind(this), "aria-controls": this.levelId, "aria-pressed": "", "aria-expanded": ((state$6.openLevel + "" === this.levelId + "")) + '' }, this.name, h("pn-icon", { class: "first-level_icon", symbol: "angle-small-down", color: "blue700" }), h("pn-icon", { class: "first-level_arrow", symbol: "arrow-right", color: "blue700" }))) : (h("a", Object.assign({ href: this.href }, (this.target ? { target: this.target } : {}), (this.target === "_blank" ? { rel: "nofollow noopener" } : {}), (this.linkid ? { id: this.linkid } : {})), this.name, this.target === "_blank" ? (h("pn-icon", { symbol: "open-in-new", color: "blue700" })) : null)), h("slot", null)));
|
|
25542
25536
|
}
|
|
25543
25537
|
get hostElement() { return this; }
|
|
25544
25538
|
static get style() { return pnMainnavLinkCss; }
|
|
@@ -25546,7 +25540,7 @@ const PnMainnavLink$1 = class extends HTMLElement {
|
|
|
25546
25540
|
|
|
25547
25541
|
const pnMainnavListCss = "pn-mainnav-list{display:block;overflow:visible;list-style:none;margin:0;padding:0;grid-area:right}@media screen and (min-width: 64em){pn-mainnav-list+pn-mainnav-list{grid-area:left;border-right:0.1rem solid #D3CECB;margin-bottom:1.6rem;margin-right:-0.7rem;padding-right:0.7rem}}[data-level=\"1\"]>pn-mainnav-list{overflow:scroll;-webkit-overflow-scrolling:touch}@media screen and (min-width: 64em){[data-level=\"1\"]>pn-mainnav-list{height:100%;display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row;overflow:visible;padding:0}}@media screen and (min-width: 64em){[data-level=\"2\"]>pn-mainnav-list[data-navlist-showcolumns=true]{-webkit-column-count:2;-moz-column-count:2;column-count:2;-webkit-column-gap:1.6rem;-moz-column-gap:1.6rem;column-gap:1.6rem;padding-bottom:1.6rem}}.mainnav-list-heading{display:none;font-weight:bold;-webkit-column-span:all;-moz-column-span:all;column-span:all;font-size:1.8rem;padding:1.4rem 1.4rem 1.4rem 4.8rem}@media screen and (min-width: 64em){.mainnav-list-heading{display:block;padding:0 1.4rem 1.4rem 1.4rem}}";
|
|
25548
25542
|
|
|
25549
|
-
|
|
25543
|
+
let PnMainnavList$1 = class extends HTMLElement {
|
|
25550
25544
|
constructor() {
|
|
25551
25545
|
super();
|
|
25552
25546
|
this.__registerHost();
|
|
@@ -25565,14 +25559,18 @@ const PnMainnavList$1 = class extends HTMLElement {
|
|
|
25565
25559
|
|
|
25566
25560
|
const pnMarketwebInputCss = "pn--marketweb-input{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}pn-marketweb-input input{padding:0.75em;font-size:1em;font-weight:500;-webkit-font-smoothing:antialiased;outline:none;border-radius:0.8rem;border:0.1rem solid #5E554A;-webkit-transition:border 0.15s, -webkit-box-shadow 0.15s;transition:border 0.15s, -webkit-box-shadow 0.15s;transition:box-shadow 0.15s, border 0.15s;transition:box-shadow 0.15s, border 0.15s, -webkit-box-shadow 0.15s;color:#000000;width:100%}pn-marketweb-input input::-webkit-input-placeholder{color:#969087;font-weight:normal}pn-marketweb-input input::-moz-placeholder{color:#969087;font-weight:normal}pn-marketweb-input input:-ms-input-placeholder{color:#969087;font-weight:normal}pn-marketweb-input input::-ms-input-placeholder{color:#969087;font-weight:normal}pn-marketweb-input input::placeholder{color:#969087;font-weight:normal}pn-marketweb-input input:focus{border:0.1rem solid #005D92;-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92}pn-marketweb-input input:hover{border:0.1rem solid #00A0D6}pn-marketweb-input input:disabled{background:#F3F2F2;border:none}pn-marketweb-input>.input-container{position:relative}pn-marketweb-input>.input-container>button{position:absolute;right:1.2rem;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);background:none;border:none;cursor:pointer;color:#005D92;padding:0.6rem;border-radius:0.8rem;outline:none;-webkit-transition:border 0.1s, background 0.2s, color 0.1s;transition:border 0.1s, background 0.2s, color 0.1s;border:0.1rem solid transparent}pn-marketweb-input>.input-container>button:focus{border:0.1rem solid #005D92}pn-marketweb-input>.input-container>button:hover{background:#E0F8FF}pn-marketweb-input>.input-container>button:active{background:#005D92;color:white}pn-marketweb-input>.input-container>svg{position:absolute;right:0.75em;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);height:1.5em;width:1.5em;pointer-events:none}pn-marketweb-input>.input-container>svg polyline{stroke-linecap:round;-webkit-transition:stroke-dashoffset 0.2s cubic-bezier(0.79, 0.14, 0.15, 0.86);transition:stroke-dashoffset 0.2s cubic-bezier(0.79, 0.14, 0.15, 0.86)}pn-marketweb-input>.input-container>svg.pn-input-checkmark polyline{stroke:#005E41;stroke-dashoffset:23;stroke-dasharray:23}pn-marketweb-input .label-container{margin-bottom:0.4rem;color:#5E554A;font-size:0.875em;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:end;align-items:flex-end}pn-marketweb-input .label-container label{cursor:pointer;-webkit-transition:color 0.2s;transition:color 0.2s}.label-container label.char-count{-ms-flex-negative:0;flex-shrink:0;padding-left:0.5em}pn-marketweb-input small{font-size:0.75em;font-size:max(.6em, 1.2rem);-webkit-transition:-webkit-transform 0.2s cubic-bezier(0.79, 0.14, 0.15, 0.86);transition:-webkit-transform 0.2s cubic-bezier(0.79, 0.14, 0.15, 0.86);transition:transform 0.2s cubic-bezier(0.79, 0.14, 0.15, 0.86);transition:transform 0.2s cubic-bezier(0.79, 0.14, 0.15, 0.86), -webkit-transform 0.2s cubic-bezier(0.79, 0.14, 0.15, 0.86);margin-top:0.5em;color:#5E554A}pn-input.error{color:#A70707}pn-input.error label{color:#A70707}pn-input.error small{color:#A70707}pn-input.error small>pn-icon{margin-right:0.25em}pn-input.error input{border:0.1rem solid #A70707}pn-input.error input:focus{border:0.1rem solid #A70707;-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #A70707;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #A70707}pn-input.error input:hover{border:0.1rem solid #F06365}pn-input.valid{color:#005E41}pn-input.valid .input-container>svg.pn-input-checkmark polyline{stroke-dashoffset:0}pn-input.valid label{color:#005E41}pn-input.valid input{border:0.1rem solid #005E41}pn-input.valid input:focus{border:0.1rem solid #005E41;-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005E41;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005E41}pn-input.valid input:hover{border:0.1rem solid #5EC584}pn-marketweb-input.password input{padding-right:4em}pn-marketweb-input.icon input{padding-right:2.3em}";
|
|
25567
25561
|
|
|
25568
|
-
|
|
25562
|
+
let PnMarketwebInput$1 = class extends HTMLElement {
|
|
25569
25563
|
constructor() {
|
|
25570
25564
|
super();
|
|
25571
25565
|
this.__registerHost();
|
|
25572
25566
|
this.disabled = false;
|
|
25567
|
+
/** Error message; will take precedence over helpertext if both are provided (applies invalid styles automatically) */
|
|
25573
25568
|
this.error = '';
|
|
25569
|
+
/** Error state without message (If you want to control the error messaging on your own) */
|
|
25574
25570
|
this.invalid = false;
|
|
25571
|
+
/** Text message placed underneath the input field */
|
|
25575
25572
|
this.helpertext = '';
|
|
25573
|
+
/** Text label placed above the input field */
|
|
25576
25574
|
this.label = '';
|
|
25577
25575
|
this.placeholder = '';
|
|
25578
25576
|
this.inputid = `${Math.random()}`;
|
|
@@ -25582,6 +25580,7 @@ const PnMarketwebInput$1 = class extends HTMLElement {
|
|
|
25582
25580
|
this.autocomplete = '';
|
|
25583
25581
|
this.valid = null;
|
|
25584
25582
|
this.value = '';
|
|
25583
|
+
/** The maximum number of characters the user should be able to add, also adds a visible counter */
|
|
25585
25584
|
this.maxlength = '';
|
|
25586
25585
|
this.min = '';
|
|
25587
25586
|
this.max = '';
|
|
@@ -25630,7 +25629,7 @@ const PnMarketwebInput$1 = class extends HTMLElement {
|
|
|
25630
25629
|
|
|
25631
25630
|
const pnMarketwebSearchCss = ":host{display:-ms-inline-flexbox;display:inline-flex}:host>pn-button{margin-left:0.35em}:host>pn-button button .pn-button-bg{-webkit-transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, left 0.2s, -webkit-box-shadow 0.1s, -webkit-transform 0.2s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, left 0.2s, -webkit-box-shadow 0.1s, -webkit-transform 0.2s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, left 0.2s, transform 0.2s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, left 0.2s, transform 0.2s, -webkit-box-shadow 0.1s, -webkit-transform 0.2s}:host>pn-button[data-loading=true] .pn-button-bg{left:0;-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, -webkit-box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, -webkit-box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, -webkit-box-shadow 0.1s}:host>pn-button[data-loading=true] pn-spinner{left:0.75em}:host input{padding:0.75em;min-height:3em;font-size:1em;height:100%;font-weight:500;-webkit-font-smoothing:antialiased;outline:none;border-radius:3em;border:0.1rem solid #5E554A;-webkit-transition:border 0.15s, -webkit-box-shadow 0.15s;transition:border 0.15s, -webkit-box-shadow 0.15s;transition:box-shadow 0.15s, border 0.15s;transition:box-shadow 0.15s, border 0.15s, -webkit-box-shadow 0.15s;color:#000000;width:100%}:host input::-webkit-search-cancel-button{display:none}:host input::-webkit-input-placeholder{color:#969087;font-weight:normal}:host input::-moz-placeholder{color:#969087;font-weight:normal}:host input:-ms-input-placeholder{color:#969087;font-weight:normal}:host input::-ms-input-placeholder{color:#969087;font-weight:normal}:host input::placeholder{color:#969087;font-weight:normal}:host input:focus{border:0.1rem solid #005D92;-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92}:host input:hover{border:0.1rem solid #00A0D6}:host input:disabled{background:#F3F2F2;border:none}:host>.input-container{width:100%;position:relative}:host>.input-container .button-container{position:absolute;top:0;right:0;background:transparent;width:3em;height:100%;overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host[list] :host>.input-container .button-container{display:none}:host>.input-container button{position:absolute;left:50%;top:50%;-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%);background:#FFFFFF;border:none;color:#005D92;padding:0.3rem;margin:0;font-size:0.875em;border-radius:50%;outline:none;-webkit-transition:border 0.1s, background 0.2s, opacity 0.2s, -webkit-box-shadow 0.1s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:border 0.1s, background 0.2s, opacity 0.2s, -webkit-box-shadow 0.1s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:border 0.1s, background 0.2s, box-shadow 0.1s, transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s, opacity 0.2s;transition:border 0.1s, background 0.2s, box-shadow 0.1s, transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s, opacity 0.2s, -webkit-box-shadow 0.1s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;border:0.1rem solid transparent;-webkit-tap-highlight-color:transparent}:host>.input-container button.clear,:host>.input-container button.search{cursor:pointer}:host>.input-container button:focus{-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92}:host>.input-container button:hover,:host>.input-container button:focus{background:#E0F8FF}:host>.input-container button:active{background:#005D92}:host>.input-container button:active pn-icon svg,:host>.input-container button:active pn-icon svg path{fill:white}:host .searching button.search{-webkit-transform:translate(150%, -50%);transform:translate(150%, -50%)}:host .searching button.clear{-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}:host .button-none input,:host .button-icon-inline input{padding-right:3.3em}:host .button-none pn-spinner,:host .button-icon-inline pn-spinner{position:absolute;left:50%;top:50%;-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%);-webkit-transition:-webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:-webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s}:host .button-none button.search,:host .button-icon-inline button.search{-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}:host .button-none.loading button,:host .button-icon-inline.loading button{-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%)}:host .button-none.loading pn-spinner,:host .button-icon-inline.loading pn-spinner{-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}:host .button-none.searching button.search{-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%)}:host .button-icon>pn-button[data-loading=true] .pn-button-bg{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}";
|
|
25632
25631
|
|
|
25633
|
-
|
|
25632
|
+
let PnMarketwebSearch$1 = class extends HTMLElement {
|
|
25634
25633
|
constructor() {
|
|
25635
25634
|
super();
|
|
25636
25635
|
this.__registerHost();
|
|
@@ -25644,9 +25643,13 @@ const PnMarketwebSearch$1 = class extends HTMLElement {
|
|
|
25644
25643
|
this.autocomplete = null;
|
|
25645
25644
|
this.list = null;
|
|
25646
25645
|
this.value = null;
|
|
25646
|
+
/** Label for the button */
|
|
25647
25647
|
this.label = null;
|
|
25648
|
+
/** Loading animation */
|
|
25648
25649
|
this.loading = false;
|
|
25650
|
+
/** Button type, options are 'none' for no button, 'icon' for a labelless button with just a search icon and 'icon-inline' for a search button inside of the search field (this last option disables the clear field button) */
|
|
25649
25651
|
this.button = '';
|
|
25652
|
+
/** Light instead of dark search button */
|
|
25650
25653
|
this.light = false;
|
|
25651
25654
|
this.suggestionObserver = null;
|
|
25652
25655
|
this.hasClonedInput = false;
|
|
@@ -26079,7 +26082,7 @@ const getSocialMediaIconsByType = (linkType = '', fill = '#005D92') => {
|
|
|
26079
26082
|
}
|
|
26080
26083
|
};
|
|
26081
26084
|
|
|
26082
|
-
const translations$
|
|
26085
|
+
const translations$7 = {
|
|
26083
26086
|
'sv': {
|
|
26084
26087
|
"searchlabel": "Sök",
|
|
26085
26088
|
"searchplaceholder": "Vad letar du efter?",
|
|
@@ -26129,27 +26132,32 @@ const translations$6 = {
|
|
|
26129
26132
|
|
|
26130
26133
|
const pnMarketwebSitefooterCss = "pn-marketweb-sitefooter .social-media a[target=_blank]:not(.pn-button):after{content:none}@media screen and (min-width: 60em){pn-marketweb-sitefooter:not([theme=dotcom]) pn-site-footer-col:has(div[slot=bottomsocialmediadesktop]){display:-ms-flexbox;display:flex;-ms-flex-line-pack:start;align-content:flex-start;-ms-flex-align:start;align-items:flex-start;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content}pn-marketweb-sitefooter:not([theme=dotcom]) pn-site-footer-col:has(div[slot=bottomsocialmediadesktop]) div[slot=bottomsocialmediadesktop]{display:block;margin-top:auto;margin-bottom:1.6rem}pn-marketweb-sitefooter:not([theme=dotcom]) pn-site-footer-col:has(div[slot=bottomsocialmediadesktop]) div[slot=bottomsocialmediadesktop] .trustpilot-widget{display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start}}pn-marketweb-sitefooter:not([theme=dotcom]) [slot=bottomsocialmediamobile]{display:block;margin-top:1rem;margin-bottom:2.3rem}pn-marketweb-sitefooter:not([theme=dotcom]) [slot=bottomsocialmediamobile] .trustpilot-widget{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}@media screen and (min-width: 33.125em){pn-marketweb-sitefooter:not([theme=dotcom]) [slot=bottomsocialmediamobile] .trustpilot-widget{-ms-flex-pack:start;justify-content:flex-start}}@media screen and (min-width: 60em){pn-marketweb-sitefooter:not([theme=dotcom]) [slot=bottomsocialmediamobile]{display:none}}div[slot=middle-extra-mobile],div[slot=middle-extra]{display:none}pn-marketweb-sitefooter[theme=dotcom]{width:100%}pn-marketweb-sitefooter[theme=dotcom] div[slot=bottomsocialmediamobile],pn-marketweb-sitefooter[theme=dotcom] div[slot=bottomsocialmediadesktop]{display:none}pn-marketweb-sitefooter[theme=dotcom] div[slot=middle-extra-mobile]{display:block;width:100%;text-align:-webkit-center;margin:2.4rem 0}@media screen and (min-width: 1024px){pn-marketweb-sitefooter[theme=dotcom] div[slot=middle-extra-mobile]{display:none}pn-marketweb-sitefooter[theme=dotcom] div[slot=middle-extra]{display:block;width:100%;text-align:-webkit-center;margin:3.2rem 0}}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=darkestblue] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] svg path{fill:#FFFFFF}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom]{background-color:#005D92}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] .pn-sitefooter-top,pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom{background-color:#005D92}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom]>svg path{fill:#005D92}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom .social-media{border-top:0.1rem solid #D3CECB;border-bottom:0.1rem solid #D3CECB}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom .social-media>ul>li:hover svg>circle{fill:#8EDDF9}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] svg path{fill:#FFFFFF}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom]{background-color:#F3F2F2}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom]>svg path{fill:#F3F2F2}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-top,pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom{background-color:#F3F2F2}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom .social-media{border-top:0.1rem solid #D3CECB;border-bottom:0.1rem solid #D3CECB}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom .social-media li svg circle{fill:#005D92}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom>[slot=bottom]>.copyright *{color:#0D234B}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] *{color:#0D234B}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] * svg path{fill:#0D234B}pn-marketweb-sitefooter[theme=tpl] pn-site-footer{background-color:#0D234B;padding-top:6rem}@media screen and (max-width: 33.125em){pn-marketweb-sitefooter[theme=tpl] pn-site-footer{padding-left:2.6rem;padding-right:2.6rem}}pn-marketweb-sitefooter[theme=tpl] pn-site-footer>svg{display:none}pn-marketweb-sitefooter[theme=tpl] div.pn-sitefooter-bottom{background-color:#0D234B;color:#FFFFFF;margin:2.5rem 0}pn-marketweb-sitefooter[theme=tpl] div.pn-sitefooter-bottom div[slot=bottom]{border-top:1px solid #005D92;border-bottom:1px solid #005D92}pn-marketweb-sitefooter[theme=tpl] div.pn-sitefooter-bottom a{color:#FFFFFF}pn-marketweb-sitefooter[theme=tpl] div.pn-sitefooter-bottom a:hover{text-decoration:underline;color:#FFFFFF}pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top,pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-logo{background-color:#0D234B;color:#FFFFFF}pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top a,pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-logo a{color:#FBC2C1}pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top a:hover,pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-logo a:hover{text-decoration:underline;color:#FBC2C1}@media screen and (max-width: 60em){pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top .pn-sitefooter-cols{padding:0 8rem}}@media screen and (max-width: 60em){pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top .pn-sitefooter-cols{padding:0 5rem}}@media screen and (max-width: 48em){pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top .pn-sitefooter-cols{padding:0 3rem}}@media screen and (min-width: 33.125em){pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top .pn-sitefooter-cols{width:114rem;-ms-flex-pack:justify;justify-content:space-between}}pn-marketweb-sitefooter[theme=tpl] div.pn-sitefooter-logo a svg path{fill:#00A0D6}@media screen and (min-width: 33.125em){pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col{width:unset;min-width:unset}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col:first-child{min-width:45%}}@media screen and (max-width: 60em){pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col:first-child{min-width:100%;padding-top:0}}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a{display:-ms-inline-flexbox;display:inline-flex;gap:0.7rem;-ms-flex-align:start;align-items:flex-start}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a h3{color:#FFFFFF}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a span.footer-tpl-links{display:none}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a:hover{text-decoration:underline;color:#FBC2C1}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a pn-icon svg{background-color:#FBC2C1;border-radius:0.3rem;height:1.7rem;width:1.7rem;margin-top:0.3rem}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a pn-icon svg path{fill:#0D234B}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col h3{margin-bottom:3.5rem}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media{-ms-flex-direction:column;flex-direction:column;gap:0.5rem;row-gap:0rem}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media li{max-height:4rem}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media a{-ms-flex-align:center;align-items:center;gap:0}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media a circle{display:none}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media a span.footer-tpl-links{display:block}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media a svg{height:3.7rem;width:3.7rem}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media a svg path{fill:#FBC2C1}";
|
|
26131
26134
|
|
|
26132
|
-
|
|
26135
|
+
let PnMarketwebSiteheader$2 = class extends HTMLElement {
|
|
26133
26136
|
constructor() {
|
|
26134
26137
|
super();
|
|
26135
26138
|
this.__registerHost();
|
|
26136
|
-
|
|
26137
|
-
this.fetchHelper = new FetchHelper('sitefooter');
|
|
26138
|
-
//endpoint
|
|
26139
|
-
this.endpointPath = '/api/footer/footer';
|
|
26139
|
+
/** Specifies which market we want to show (se,dk,fi,no,com) */
|
|
26140
26140
|
this.market = 'se';
|
|
26141
|
+
/** Specifies which language we want to show (sv,da,fi,no,en) */
|
|
26141
26142
|
this.language = 'sv';
|
|
26142
|
-
|
|
26143
|
+
/** Specifies which environment we're fetching data from. (production, preproduction, integration, localhost) */
|
|
26144
|
+
this.environment = null; //sv
|
|
26145
|
+
/** Specifies which endpoint domain we should load from */
|
|
26143
26146
|
this.endpoint = null;
|
|
26147
|
+
/** Adjusts the menus URLs */
|
|
26144
26148
|
this.siteDomainInUrls = false;
|
|
26149
|
+
/** If the component should use cached requests */
|
|
26145
26150
|
this.cache = false;
|
|
26151
|
+
/** dotcom prop */
|
|
26146
26152
|
this.theme = 'default';
|
|
26153
|
+
/** dotcom backgroundcolor */
|
|
26147
26154
|
this.backgroundcolor = 'darkestblue';
|
|
26148
|
-
this.siteDefinition = undefined;
|
|
26149
|
-
this.footerContent = undefined;
|
|
26150
|
-
this.i18n = undefined;
|
|
26151
26155
|
this.gotData = false;
|
|
26152
26156
|
this.fetchingData = false;
|
|
26157
|
+
// FetchHelper
|
|
26158
|
+
this.fetchHelper = new FetchHelper('sitefooter');
|
|
26159
|
+
//endpoint
|
|
26160
|
+
this.endpointPath = '/api/footer/footer';
|
|
26153
26161
|
}
|
|
26154
26162
|
componentWillLoad() {
|
|
26155
26163
|
this.setInitialValues().then(() => {
|
|
@@ -26182,8 +26190,8 @@ const PnMarketwebSiteheader$2 = class extends HTMLElement {
|
|
|
26182
26190
|
await this.fetchData();
|
|
26183
26191
|
}
|
|
26184
26192
|
setTranslations() {
|
|
26185
|
-
if (this.language && translations$
|
|
26186
|
-
this.i18n = translations$
|
|
26193
|
+
if (this.language && translations$7[this.language]) {
|
|
26194
|
+
this.i18n = translations$7[this.language];
|
|
26187
26195
|
}
|
|
26188
26196
|
}
|
|
26189
26197
|
onLanguageChange() {
|
|
@@ -26326,11 +26334,11 @@ const PnMarketwebSiteheader$2 = class extends HTMLElement {
|
|
|
26326
26334
|
};
|
|
26327
26335
|
|
|
26328
26336
|
// Read more about how stencil stores work here: https://stenciljs.com/docs/stencil-store
|
|
26329
|
-
const { state: state$
|
|
26337
|
+
const { state: state$5, onChange: onChange$5 } = createStore({
|
|
26330
26338
|
loginManager: null
|
|
26331
26339
|
});
|
|
26332
26340
|
|
|
26333
|
-
const translations$
|
|
26341
|
+
const translations$6 = {
|
|
26334
26342
|
'sv': {
|
|
26335
26343
|
"searchlabel": "Sök",
|
|
26336
26344
|
"searchplaceholder": "Vad letar du efter?",
|
|
@@ -26395,35 +26403,56 @@ const translations$5 = {
|
|
|
26395
26403
|
|
|
26396
26404
|
const pnMarketwebSiteheaderCss = "body[data-siteheader-menuopen=true]{max-height:100vh;overflow:hidden}@media screen and (min-width: 60em){body[data-siteheader-menuopen=true]{max-height:initial;overflow:initial}}pn-marketweb-siteheader{display:block;background:#FFFFFF}pn-marketweb-siteheader header{position:relative;z-index:1000;display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;-webkit-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}@media screen and (min-width: 48em){pn-marketweb-siteheader header{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:initial;justify-content:initial}}pn-marketweb-siteheader .siteheader-row{display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row;-ms-flex-align:center;align-items:center;width:100%;padding:0 1.6rem;min-height:2em}pn-marketweb-siteheader .siteheader-row:not(:last-child){border-bottom:0.1rem solid #F3F2F2}@media screen and (min-width: 48em){pn-marketweb-siteheader .siteheader-row{-ms-flex-pack:justify;justify-content:space-between;min-height:3.2em}}pn-marketweb-siteheader .siteheader-topright{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}pn-marketweb-siteheader .siteheader-logocontainer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;position:relative;min-height:3em;background:#FFFFFF;z-index:1}@media screen and (min-width: 48em){pn-marketweb-siteheader .siteheader-logocontainer{position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}}pn-marketweb-siteheader .siteheader-logolink{height:100%;max-height:6.4rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}pn-marketweb-siteheader .siteheader-logolink:hover,pn-marketweb-siteheader .siteheader-logolink:focus,pn-marketweb-siteheader .siteheader-logolink:active{-webkit-box-shadow:none;box-shadow:none}pn-marketweb-siteheader .siteheader-row>pn-marketweb-siteheader-search{display:none}@media screen and (min-width: 48em){pn-marketweb-siteheader .siteheader-row>pn-marketweb-siteheader-search{display:block;max-width:30rem;min-width:23.3rem;width:100%}}pn-marketweb-siteheader pn-spinner{display:none}pn-marketweb-siteheader pn-nav-dropdown:not(.hydrated) .nav-dropdown-content-container{display:none}.siteheader-topleft pn-site-selector{padding:1rem 0;display:none}@media screen and (min-width: 48em){.siteheader-topleft pn-site-selector{display:block}}@media screen and (min-width: 60em){.siteheader-topleft pn-site-selector{margin-left:1.3rem}}.siteheader-topleft pn-site-selector .pn-nav-dropdown-label,.siteheader-topleft pn-site-selector:is(a){font-size:0}.siteheader-topleft pn-site-selector .pn-nav-dropdown-label pn-icon,.siteheader-topleft pn-site-selector:is(a) pn-icon{font-size:initial;margin-left:0}@media screen and (min-width: 60em){.siteheader-topleft pn-site-selector .pn-nav-dropdown-label,.siteheader-topleft pn-site-selector:is(a){font-size:initial}.siteheader-topleft pn-site-selector .pn-nav-dropdown-label pn-icon,.siteheader-topleft pn-site-selector:is(a) pn-icon{margin-left:0.4em}}@media screen and (min-width: 60em){.siteheader-topright{margin-right:1.6rem}}.siteheader-topright>pn-language-selector,.siteheader-topright>pn-marketweb-siteheader-login,.siteheader-topright>a{padding:1rem 0;display:none;-ms-flex-item-align:center;align-self:center}@media screen and (min-width: 48em){.siteheader-topright>pn-language-selector,.siteheader-topright>pn-marketweb-siteheader-login,.siteheader-topright>a{display:block;margin-left:1rem}}@media screen and (min-width: 60em){.siteheader-topright>pn-language-selector,.siteheader-topright>pn-marketweb-siteheader-login,.siteheader-topright>a{margin-left:1.6rem}}.siteheader-topright>pn-language-selector .pn-nav-dropdown-label,.siteheader-topright>pn-language-selector:is(a),.siteheader-topright>pn-marketweb-siteheader-login .pn-nav-dropdown-label,.siteheader-topright>pn-marketweb-siteheader-login:is(a),.siteheader-topright>a .pn-nav-dropdown-label,.siteheader-topright>a:is(a){font-size:0}.siteheader-topright>pn-language-selector .pn-nav-dropdown-label pn-icon,.siteheader-topright>pn-language-selector:is(a) pn-icon,.siteheader-topright>pn-marketweb-siteheader-login .pn-nav-dropdown-label pn-icon,.siteheader-topright>pn-marketweb-siteheader-login:is(a) pn-icon,.siteheader-topright>a .pn-nav-dropdown-label pn-icon,.siteheader-topright>a:is(a) pn-icon{font-size:initial;margin-left:0}@media screen and (min-width: 60em){.siteheader-topright>pn-language-selector .pn-nav-dropdown-label,.siteheader-topright>pn-language-selector:is(a),.siteheader-topright>pn-marketweb-siteheader-login .pn-nav-dropdown-label,.siteheader-topright>pn-marketweb-siteheader-login:is(a),.siteheader-topright>a .pn-nav-dropdown-label,.siteheader-topright>a:is(a){font-size:initial}.siteheader-topright>pn-language-selector .pn-nav-dropdown-label pn-icon,.siteheader-topright>pn-language-selector:is(a) pn-icon,.siteheader-topright>pn-marketweb-siteheader-login .pn-nav-dropdown-label pn-icon,.siteheader-topright>pn-marketweb-siteheader-login:is(a) pn-icon,.siteheader-topright>a .pn-nav-dropdown-label pn-icon,.siteheader-topright>a:is(a) pn-icon{margin-left:0.4em}}.siteheader-menu{max-width:100%;width:100%;overflow:visible;overflow-x:clip}@media screen and (min-width: 60em){.siteheader-menu{margin-top:auto;overflow:visible}}.siteheader-menu pn-mainnav-link a[target]::after{content:none}.siteheader-menu pn-marketweb-siteheader-search{padding:0.3rem 1.6rem;width:100%}.siteheader-menu [slot=top] pn-search-field{width:100%}.siteheader-menu-footer{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.siteheader-menu-footer>*{margin:1.6rem}header[data-header-theme=dotcom]>pn-marketweb-siteheader pn-button a{text-decoration:none}header[data-header-theme=dotcom]>pn-marketweb-siteheader pn-button a:hover{text-decoration:none}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header{background-color:#0D234B;-webkit-box-shadow:none;box-shadow:none}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-row:not(:last-child){border-bottom:0.1rem solid #0D234B}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-topleft pn-site-selector .pn-nav-dropdown-label{color:#FFFFFF}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-topleft pn-site-selector .pn-nav-dropdown-label pn-icon svg>path{fill:#FFFFFF}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-topleft button.pn-nav-dropdown-label:hover{background-color:#005D92}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-topleft button.pn-nav-dropdown-label:active{background-color:#00A0D6}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-topleft button.pn-nav-dropdown-label:focus{background-color:#00A0D6}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-logocontainer{background-color:#0D234B}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-logocontainer svg.siteheader-logo>path{fill:#FFFFFF}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-topright .siteheader-logindialog svg>path{fill:#FFFFFF}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-topright pn-language-selector pn-icon svg>path{fill:#FFFFFF}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-topright button{color:#FFFFFF}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-topright button:hover{background-color:#005D92}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-topright button:active{background-color:#00A0D6}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-topright button:focus{background-color:#00A0D6}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-topright [slot=toprightend]{-ms-flex-item-align:center;align-self:center;margin-left:1rem}@media screen and (max-width: 48em){header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-topright [slot=toprightend]{display:none}}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-menu .mainnav-toggle button{background-color:#005D92}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-menu .first-level_icon svg>path{fill:#FFFFFF}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-search form pn-search-field input{background-color:#FFFFFF;color:#0D234B;border:0.1rem solid #FFFFFF;padding:0.65rem 1.5rem}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-search form pn-search-field input:hover{border-color:#FFFFFF}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-search form pn-search-field input::-webkit-input-placeholder{color:#0D234B}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-search form pn-search-field input::-moz-placeholder{color:#0D234B}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-search form pn-search-field input:-ms-input-placeholder{color:#0D234B}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-search form pn-search-field input::-ms-input-placeholder{color:#0D234B}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-search form pn-search-field input::placeholder{color:#0D234B}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header nav.mainnav{background-color:#0D234B}@media screen and (min-width: 48em){header[data-header-theme=dotcom]>pn-marketweb-siteheader>header nav.mainnav{top:6.4em}}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header nav.mainnav a{color:#FFFFFF}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header nav.mainnav pn-mainnav-level [slot=top].siteheader-menu-top pn-marketweb-siteheader-search{padding-bottom:0.5rem;background-color:#0D234B}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header nav.mainnav pn-mainnav-level [slot=top].siteheader-menu-top pn-marketweb-siteheader-search .button-container{border-top:1px solid #FFFFFF;border-bottom:1px solid #FFFFFF;border-right:1px solid #FFFFFF;border-top-right-radius:50%;border-bottom-right-radius:50%}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header nav.mainnav pn-mainnav-level [slot=top].siteheader-menu-top pn-marketweb-siteheader-search .button-container button.clear{border:2px solid #FFFFFF;border-radius:50%;padding:0.5rem}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header nav.mainnav pn-mainnav-level .mainnav-level-header .secondlevel-backbtn pn-icon svg>path{fill:#FFFFFF}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header nav.mainnav pn-mainnav-level pn-mainnav-level[data-level=\"2\"] .mainnav-level-header pn-mainnav-link>a:hover{background-color:#00A0D6}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header nav.mainnav pn-mainnav-level pn-mainnav-list>pn-mainnav-link button,header[data-header-theme=dotcom]>pn-marketweb-siteheader>header nav.mainnav pn-mainnav-level pn-mainnav-list>pn-mainnav-link a{background-color:#0D234B;border-bottom:0.1rem solid rgba(0, 93, 146, 0.5)}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header nav.mainnav pn-mainnav-level pn-mainnav-list>pn-mainnav-link button:hover,header[data-header-theme=dotcom]>pn-marketweb-siteheader>header nav.mainnav pn-mainnav-level pn-mainnav-list>pn-mainnav-link a:hover{text-decoration:none}@media screen and (min-width: 1024px){header[data-header-theme=dotcom]>pn-marketweb-siteheader>header nav.mainnav pn-mainnav-level pn-mainnav-list>pn-mainnav-link button,header[data-header-theme=dotcom]>pn-marketweb-siteheader>header nav.mainnav pn-mainnav-level pn-mainnav-list>pn-mainnav-link a{border-bottom:none}}@media screen and (max-width: 1023px){header[data-header-theme=dotcom]>pn-marketweb-siteheader>header nav.mainnav pn-mainnav-level[data-level=\"1\"] pn-mainnav-list>pn-mainnav-link:first-child{border-top:0.1rem solid rgba(0, 93, 146, 0.5)}}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header nav.mainnav pn-mainnav-level[data-level=\"1\"] pn-mainnav-list>pn-mainnav-link a,header[data-header-theme=dotcom]>pn-marketweb-siteheader>header nav.mainnav pn-mainnav-level[data-level=\"1\"] pn-mainnav-list>pn-mainnav-link button{color:#FFFFFF}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header nav.mainnav pn-mainnav-level[data-level=\"1\"] pn-mainnav-list>pn-mainnav-link a:focus,header[data-header-theme=dotcom]>pn-marketweb-siteheader>header nav.mainnav pn-mainnav-level[data-level=\"1\"] pn-mainnav-list>pn-mainnav-link button:focus{outline:none}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header nav.mainnav pn-mainnav-level:not([data-level=\"1\"]){background-color:#0D234B}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header nav.mainnav pn-mainnav-level:not([data-level=\"1\"]) pn-mainnav-list{color:#FFFFFF}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header nav.mainnav pn-mainnav-level:not([data-level=\"1\"]) pn-mainnav-list pn-mainnav-link>a:hover{background-color:#00A0D6;text-decoration:none}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header [data-level=\"1\"] pn-mainnav-link pn-icon.first-level_arrow svg>path{fill:#FFFFFF}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-menu-footer button{color:#FFFFFF}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-menu-footer button:hover{background-color:#005D92}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-menu-footer button:active{background-color:#00A0D6}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-menu-footer button:focus{background-color:#00A0D6}header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-menu-footer button svg>path{fill:#FFFFFF}@media screen and (min-width: 48em){header[data-header-theme=dotcom]>pn-marketweb-siteheader>header .siteheader-menu-footer [slot=menu-footer-cta]{display:none}}.siteheader-menu-top-search{display:none}header[data-header-theme=tpl]>pn-marketweb-siteheader pn-button a{text-decoration:none}header[data-header-theme=tpl]>pn-marketweb-siteheader pn-button a:hover{text-decoration:none}@media screen and (max-width: 48em){header[data-header-theme=tpl]>pn-marketweb-siteheader [slot=header-bottom-button]{display:none}}header[data-header-theme=tpl]>pn-marketweb-siteheader [slot=header-bottom-button] a{color:#0D234B;font-weight:500;font-size:1.6rem;padding:0.8rem 2.4rem}header[data-header-theme=tpl]>pn-marketweb-siteheader [slot=header-bottom-button] a .pn-button-bg{background-color:#FBC2C1}header[data-header-theme=tpl]>pn-marketweb-siteheader [slot=header-bottom-button] a .pn-button-content pn-icon svg>path{fill:#0D234B}header[data-header-theme=tpl]>pn-marketweb-siteheader [slot=header-bottom-button] a:hover{color:#FFFFFF}header[data-header-theme=tpl]>pn-marketweb-siteheader [slot=header-bottom-button] a:hover .pn-button-bg{background-color:#0D234B;-webkit-transition:backgrond-color linear 1s;transition:backgrond-color linear 1s}header[data-header-theme=tpl]>pn-marketweb-siteheader [slot=header-bottom-button] a:hover .pn-button-content pn-icon svg>path{fill:#FFFFFF}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-row:not(:last-child){background-color:#0D234B;border-bottom:0.1rem solid #0D234B}@media screen and (max-width: 48em){header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-row:last-child{background-color:#0D234B}}@media screen and (min-width: 60em){header[data-header-theme=tpl]>pn-marketweb-siteheader>header [data-level=\"1\"] pn-mainnav-link>button::before,header[data-header-theme=tpl]>pn-marketweb-siteheader>header [data-level=\"1\"] pn-mainnav-link>a::before{background-color:#FBC2C1}}header[data-header-theme=tpl]>pn-marketweb-siteheader>header [slot=siteheader-menu-top-button]{background:#0D234B;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}@media screen and (min-width: 48em){header[data-header-theme=tpl]>pn-marketweb-siteheader>header [slot=siteheader-menu-top-button]{display:none}}@media screen and (max-width: 415px){header[data-header-theme=tpl]>pn-marketweb-siteheader>header [slot=siteheader-menu-top-button]{display:none}}header[data-header-theme=tpl]>pn-marketweb-siteheader>header [slot=siteheader-menu-top-button] a{color:#0D234B;font-weight:500}header[data-header-theme=tpl]>pn-marketweb-siteheader>header [slot=siteheader-menu-top-button] a .pn-button-bg{background-color:#FBC2C1}header[data-header-theme=tpl]>pn-marketweb-siteheader>header [slot=siteheader-menu-top-button] a .pn-button-content pn-icon svg>path{fill:#0D234B}header[data-header-theme=tpl]>pn-marketweb-siteheader>header [slot=siteheader-menu-top-button] a:hover{color:#FFFFFF}header[data-header-theme=tpl]>pn-marketweb-siteheader>header [slot=siteheader-menu-top-button] a:hover .pn-button-bg{background-color:#0D234B;-webkit-transition:backgrond-color linear 1s;transition:backgrond-color linear 1s}header[data-header-theme=tpl]>pn-marketweb-siteheader>header [slot=siteheader-menu-top-button] a:hover .pn-button-content pn-icon svg>path{fill:#FFFFFF}header[data-header-theme=tpl]>pn-marketweb-siteheader>header a{color:#0D234B}header[data-header-theme=tpl]>pn-marketweb-siteheader>header pn-mainnav-link button{color:#0D234B}header[data-header-theme=tpl]>pn-marketweb-siteheader>header pn-mainnav-link button pn-icon svg path{fill:#0D234B}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-topleft pn-site-selector .pn-nav-dropdown-label{color:#FFFFFF}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-topleft pn-site-selector .pn-nav-dropdown-label pn-icon svg>path{fill:#FFFFFF}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-topleft pn-site-selector .pn-nav-dropdown-label:hover{background:#00A0D6}header[data-header-theme=tpl]>pn-marketweb-siteheader>header button.pn-nav-dropdown-label:hover{background-color:#0D234B}header[data-header-theme=tpl]>pn-marketweb-siteheader>header button.pn-nav-dropdown-label:active{background-color:#0D234B}header[data-header-theme=tpl]>pn-marketweb-siteheader>header button.pn-nav-dropdown-label:focus{background-color:#0D234B}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-logocontainer{background-color:#0D234B}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-logocontainer svg.siteheader-logo>path{fill:#00A0D6}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-topright{margin-right:0;-ms-flex-item-align:center;align-self:center;margin-left:1rem}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-topright .siteheader-logindialog svg>path{fill:#FFFFFF}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-topright pn-language-selector pn-icon svg>path{fill:#FFFFFF}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-topright button{color:#FFFFFF}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-topright button:hover{background-color:#00A0D6}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-topright button:active,header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-topright button:focus{background-color:#0D234B}header[data-header-theme=tpl]>pn-marketweb-siteheader>header div.siteheader-menu-top-search{display:inline-block;margin-top:auto;margin-bottom:auto;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}@media screen and (max-width: 48em){header[data-header-theme=tpl]>pn-marketweb-siteheader>header div.siteheader-menu-top-search{display:none}}header[data-header-theme=tpl]>pn-marketweb-siteheader>header div.siteheader-menu-top-search pn-search-field{-ms-flex-pack:end;justify-content:flex-end;min-width:inherit}header[data-header-theme=tpl]>pn-marketweb-siteheader>header div.siteheader-menu-top-search form{margin-right:0}header[data-header-theme=tpl]>pn-marketweb-siteheader>header div.siteheader-menu-top-search form:not(:focus-within) .input-container{position:absolute;width:100%}header[data-header-theme=tpl]>pn-marketweb-siteheader>header div.siteheader-menu-top-search form:not(:focus-within) .input-container input{cursor:pointer;background-color:transparent;color:transparent;border:none;position:relative;z-index:3;border-radius:0}header[data-header-theme=tpl]>pn-marketweb-siteheader>header div.siteheader-menu-top-search form:not(:focus-within) .input-container input::-webkit-input-placeholder{color:transparent}header[data-header-theme=tpl]>pn-marketweb-siteheader>header div.siteheader-menu-top-search form:not(:focus-within) .input-container input::-moz-placeholder{color:transparent}header[data-header-theme=tpl]>pn-marketweb-siteheader>header div.siteheader-menu-top-search form:not(:focus-within) .input-container input:-ms-input-placeholder{color:transparent}header[data-header-theme=tpl]>pn-marketweb-siteheader>header div.siteheader-menu-top-search form:not(:focus-within) .input-container input::-ms-input-placeholder{color:transparent}header[data-header-theme=tpl]>pn-marketweb-siteheader>header div.siteheader-menu-top-search form:not(:focus-within) .input-container input::placeholder{color:transparent}header[data-header-theme=tpl]>pn-marketweb-siteheader>header div.siteheader-menu-top-search .input-container:focus-within{margin-left:2rem}header[data-header-theme=tpl]>pn-marketweb-siteheader>header div.siteheader-menu-top-search .input-container:focus-within input{background-color:#FFFFFF;color:#0D234B}header[data-header-theme=tpl]>pn-marketweb-siteheader>header div.siteheader-menu-top-search .siteheader-search pn-button button{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:1rem 1.9rem}header[data-header-theme=tpl]>pn-marketweb-siteheader>header div.siteheader-menu-top-search .siteheader-search pn-button button .pn-button-bg{background:#0D234B}@media screen and (min-width: 48em){header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-row:last-child pn-marketweb-siteheader-search{display:none}}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-search form pn-search-field input{background-color:#FFFFFF;color:#0D234B}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-search form pn-search-field input:hover{border-color:#FFFFFF}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-search form pn-search-field input::-webkit-input-placeholder{color:#0D234B}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-search form pn-search-field input::-moz-placeholder{color:#0D234B}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-search form pn-search-field input:-ms-input-placeholder{color:#0D234B}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-search form pn-search-field input::-ms-input-placeholder{color:#0D234B}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-search form pn-search-field input::placeholder{color:#0D234B}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-menu-footer [slot=menu-footer-cta]{display:none}@media screen and (max-width: 415px){header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-menu-footer [slot=menu-footer-cta]{display:block;color:#0D234B}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-menu-footer [slot=menu-footer-cta] .pn-button-bg{background-color:#FBC2C1}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-menu-footer [slot=menu-footer-cta] .pn-button-content{font-weight:500;color:#0D234B}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-menu-footer [slot=menu-footer-cta] .pn-button-content pn-icon svg>path{fill:#0D234B}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-menu-footer [slot=menu-footer-cta] a:hover{color:#FFFFFF}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-menu-footer [slot=menu-footer-cta] a:hover .pn-button-bg{background-color:#0D234B;-webkit-transition:backgrond-color linear 1s;transition:backgrond-color linear 1s}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-menu-footer [slot=menu-footer-cta] a:hover .pn-button-content pn-icon svg>path{fill:#FFFFFF}}@media screen and (max-width: 1024px){header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-menu-footer pn-nav-dropdown button:focus,header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-menu-footer pn-nav-dropdown button:hover{color:#FFFFFF;background-color:#00A0D6;-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #00A0D6;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #00A0D6}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-menu-footer pn-nav-dropdown button:focus svg>path,header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-menu-footer pn-nav-dropdown button:hover svg>path{fill:#FFFFFF}}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-menu-footer button{color:#FFFFFF}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-menu-footer button:hover{background-color:#005D92}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-menu-footer button:active{background-color:#00A0D6}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-menu-footer button:focus{background-color:#00A0D6}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-menu-footer button svg>path{fill:#FFFFFF}@media screen and (max-width: 1024px){header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-menu-footer button{color:#0D234B}header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-menu-footer button pn-icon svg>path{fill:#0D234B}}@media screen and (min-width: 48em){header[data-header-theme=tpl]>pn-marketweb-siteheader>header .siteheader-menu-footer [slot=menu-footer-cta]{display:none}}";
|
|
26397
26405
|
|
|
26398
|
-
|
|
26406
|
+
let PnMarketwebSiteheader$1 = class extends HTMLElement {
|
|
26399
26407
|
constructor() {
|
|
26400
26408
|
super();
|
|
26401
26409
|
this.__registerHost();
|
|
26402
26410
|
this.changeLanguage = createEvent(this, "changeLanguage", 7);
|
|
26403
26411
|
this.changeMarket = createEvent(this, "changeMarket", 7);
|
|
26404
26412
|
this.endpointPath = '/api/navigation/header';
|
|
26405
|
-
//
|
|
26406
|
-
|
|
26407
|
-
|
|
26408
|
-
this.
|
|
26413
|
+
// allowedLanguages = ["sv","da","fi","no","en"];
|
|
26414
|
+
// allowedMarkets = ["se","dk","fi","no","com", "tpl"];
|
|
26415
|
+
/** Specifies which market we want to show (se,dk,fi,no,com) */
|
|
26416
|
+
this.market = null; //se
|
|
26417
|
+
/** Specifies which language we want to show (sv,da,fi,no,en) */
|
|
26418
|
+
this.language = null; //sv
|
|
26419
|
+
/** Specifies the current site id (guid) */
|
|
26409
26420
|
this.siteid = null;
|
|
26410
|
-
|
|
26421
|
+
/** Specifies which environment we're fetching data from. (production, preproduction, integration, localhost) */
|
|
26422
|
+
this.environment = null; //sv
|
|
26423
|
+
/** Access token passed from backend */
|
|
26411
26424
|
this.userToken = '';
|
|
26425
|
+
/** User Fullname */
|
|
26412
26426
|
this.userFullname = '';
|
|
26427
|
+
/** User Logged in state from the backend */
|
|
26413
26428
|
this.userLoggedin = false;
|
|
26429
|
+
/** Specifies which endpoint domain we should load from */
|
|
26414
26430
|
this.endpoint = null;
|
|
26431
|
+
/** Hides the site selector if set to true*/
|
|
26415
26432
|
this.hideSiteSelector = false;
|
|
26433
|
+
/** Hides the "home" menu item in the navigation if set to true*/
|
|
26416
26434
|
this.hideHomeMenuItem = false;
|
|
26435
|
+
/** Hides the language selector if set to true*/
|
|
26417
26436
|
this.hideLanguageSelector = false;
|
|
26437
|
+
/** Hides the search form if set to true*/
|
|
26418
26438
|
this.hideSearch = false;
|
|
26439
|
+
/** Hides the login if set to true*/
|
|
26419
26440
|
this.hideLogin = false;
|
|
26441
|
+
/** If this is selected we will show the new profile selection dropdown instead of the login version */
|
|
26420
26442
|
this.showProfileSelection = false;
|
|
26443
|
+
/** Adjusts the menus URLs */
|
|
26421
26444
|
this.siteDomainInUrls = false;
|
|
26445
|
+
/** Autocomplete endpoint */
|
|
26422
26446
|
this.AutocompleteEndpoint = '';
|
|
26447
|
+
/** Forward session to backend */
|
|
26423
26448
|
this.sessionForward = false;
|
|
26449
|
+
/** If the component should use cached requests */
|
|
26424
26450
|
this.cache = false;
|
|
26451
|
+
/** Header search placeholder */
|
|
26425
26452
|
this.searchPlaceholder = '';
|
|
26453
|
+
/** Event based only language switch */
|
|
26426
26454
|
this.spaMode = false;
|
|
26455
|
+
/** Continiously check if a user is logged in **/
|
|
26427
26456
|
this.checkUserLoggedInStateInterval = 0;
|
|
26428
26457
|
this.i18n = {
|
|
26429
26458
|
searchlabel: '',
|
|
@@ -26438,15 +26467,21 @@ const PnMarketwebSiteheader$1 = class extends HTMLElement {
|
|
|
26438
26467
|
this.gotData = false;
|
|
26439
26468
|
this.fetchingData = false;
|
|
26440
26469
|
this.homePageLink = '/';
|
|
26470
|
+
// Menu state
|
|
26441
26471
|
this.menuItems = [];
|
|
26442
|
-
|
|
26472
|
+
// Search
|
|
26443
26473
|
this.search = { AutocompleteEndpoint: this.AutocompleteEndpoint };
|
|
26474
|
+
// Site selector
|
|
26444
26475
|
this.siteSelector = null;
|
|
26476
|
+
// Language Selector
|
|
26445
26477
|
this.languageSelector = null;
|
|
26446
26478
|
this.languageOptions = [];
|
|
26479
|
+
// Login dialog
|
|
26447
26480
|
this.loginDialog = null;
|
|
26448
26481
|
this.minimizeSearch = false;
|
|
26449
26482
|
this.loggedIn = false;
|
|
26483
|
+
// FetchHelper
|
|
26484
|
+
this.fetchHelper = new FetchHelper('siteheader');
|
|
26450
26485
|
}
|
|
26451
26486
|
componentWillLoad() {
|
|
26452
26487
|
this.setInitialValues().then(() => {
|
|
@@ -26482,8 +26517,8 @@ const PnMarketwebSiteheader$1 = class extends HTMLElement {
|
|
|
26482
26517
|
}, 50);
|
|
26483
26518
|
}
|
|
26484
26519
|
setTranslations() {
|
|
26485
|
-
if (this.language && translations$
|
|
26486
|
-
this.i18n = translations$
|
|
26520
|
+
if (this.language && translations$6[this.language]) {
|
|
26521
|
+
this.i18n = translations$6[this.language];
|
|
26487
26522
|
}
|
|
26488
26523
|
if (this.searchPlaceholder) {
|
|
26489
26524
|
this.i18n.searchplaceholder = this.searchPlaceholder;
|
|
@@ -26534,8 +26569,8 @@ const PnMarketwebSiteheader$1 = class extends HTMLElement {
|
|
|
26534
26569
|
}
|
|
26535
26570
|
// Set site definition
|
|
26536
26571
|
this.siteDefinition = data.sitedefinition;
|
|
26537
|
-
if (state$
|
|
26538
|
-
state$
|
|
26572
|
+
if (state$5.loginManager) {
|
|
26573
|
+
state$5.loginManager.setSiteUrl(this.siteDefinition.url);
|
|
26539
26574
|
}
|
|
26540
26575
|
let updatedMenuItems = [];
|
|
26541
26576
|
// Set navigation information
|
|
@@ -26684,8 +26719,8 @@ const PnMarketwebSiteheader$1 = class extends HTMLElement {
|
|
|
26684
26719
|
if (matchedHref.length === 0) {
|
|
26685
26720
|
return href;
|
|
26686
26721
|
}
|
|
26687
|
-
if (state$
|
|
26688
|
-
return state$
|
|
26722
|
+
if (state$5.loginManager) {
|
|
26723
|
+
return state$5.loginManager.getLoginUrl(href);
|
|
26689
26724
|
}
|
|
26690
26725
|
return href;
|
|
26691
26726
|
}
|
|
@@ -27070,49 +27105,64 @@ class MarketWebLoginManager {
|
|
|
27070
27105
|
|
|
27071
27106
|
const pnMarketwebSiteheaderLoginCss = "pn-marketweb-siteheader-login{padding:1rem 0;max-height:5.2rem;position:relative}pn-marketweb-siteheader-login pn-nav-dropdown{display:none}pn-marketweb-siteheader-login.hydrated pn-nav-dropdown{display:block}";
|
|
27072
27107
|
|
|
27073
|
-
|
|
27108
|
+
let PnMarketwebSiteheaderLogin$1 = class extends HTMLElement {
|
|
27074
27109
|
constructor() {
|
|
27075
27110
|
super();
|
|
27076
27111
|
this.__registerHost();
|
|
27077
27112
|
this.loginStateChange = createEvent(this, "loginStateChange", 7);
|
|
27078
27113
|
var _a;
|
|
27079
|
-
|
|
27080
|
-
this.
|
|
27081
|
-
|
|
27114
|
+
/** Specifies which endpoint domain we should load from */
|
|
27115
|
+
this.endpoint = '';
|
|
27116
|
+
/** Access token passed from backend */
|
|
27117
|
+
this.token = '';
|
|
27118
|
+
this.i18n = {
|
|
27119
|
+
searchlabel: '',
|
|
27120
|
+
searchplaceholder: '',
|
|
27121
|
+
searchbuttontext: '',
|
|
27122
|
+
menuHomeButton: '',
|
|
27123
|
+
menuGoBackButton: '',
|
|
27124
|
+
mainMenuButton: '',
|
|
27125
|
+
menuStartButton: '',
|
|
27126
|
+
profileSelectionFlyoutHeading: '',
|
|
27127
|
+
};
|
|
27082
27128
|
this.siteUrl = '';
|
|
27083
27129
|
this.emitEvents = true;
|
|
27130
|
+
// Login dialog
|
|
27084
27131
|
this.loginDialog = null;
|
|
27085
|
-
|
|
27132
|
+
/** User Fullname */
|
|
27133
|
+
this.fullname = '';
|
|
27086
27134
|
this.loggedin = false;
|
|
27135
|
+
/** If this is selected we will show the new profile selection dropdown instead of the login version */
|
|
27087
27136
|
this.showProfileSelection = false;
|
|
27137
|
+
/** Continiously check if a user is logged in **/
|
|
27088
27138
|
this.checkUserLoggedInStateInterval = 0;
|
|
27089
|
-
this.
|
|
27090
|
-
this.toggleButtonText = (((_a = this.loginDialog) === null || _a === void 0 ? void 0 : _a.loginMenuLinkText) ? this.loginDialog.loginMenuLinkText : "");
|
|
27139
|
+
this.toggleButtonText = ((_a = this.loginDialog) === null || _a === void 0 ? void 0 : _a.loginMenuLinkText) ? this.loginDialog.loginMenuLinkText : '';
|
|
27091
27140
|
this.username = this.fullname;
|
|
27092
27141
|
}
|
|
27093
27142
|
componentWillLoad() {
|
|
27094
27143
|
const userInfo = this.loggedin && this.fullname ? { given_name: this.fullname } : null;
|
|
27095
|
-
state$
|
|
27144
|
+
state$5.loginManager = new MarketWebLoginManager({
|
|
27096
27145
|
endpoint: this.endpoint,
|
|
27097
27146
|
eventTarget: this.hostElement,
|
|
27098
27147
|
checkUserLoggedInStateInterval: this.checkUserLoggedInStateInterval,
|
|
27099
|
-
userInfo
|
|
27148
|
+
userInfo,
|
|
27100
27149
|
});
|
|
27101
|
-
state$
|
|
27102
|
-
this.hostElement[
|
|
27150
|
+
state$5.loginManager.setSiteUrl(this.siteUrl);
|
|
27151
|
+
this.hostElement['loginmanager'] = state$5.loginManager;
|
|
27103
27152
|
if (this.token) {
|
|
27104
|
-
state$
|
|
27153
|
+
state$5.loginManager.registerToken(this.token, 'backend');
|
|
27105
27154
|
}
|
|
27106
|
-
else if (this.emitEvents) {
|
|
27107
|
-
|
|
27155
|
+
else if (this.emitEvents) {
|
|
27156
|
+
// The primary login instance
|
|
27157
|
+
state$5.loginManager.invalidateTokenOfType('backend');
|
|
27108
27158
|
}
|
|
27109
|
-
this.hostElement.addEventListener(state$
|
|
27159
|
+
this.hostElement.addEventListener(state$5.loginManager.events.loginstatechange, this.onLoginStateChange.bind(this));
|
|
27110
27160
|
this.init();
|
|
27111
27161
|
this.setUserName();
|
|
27112
27162
|
this.setToggleButtonText();
|
|
27113
27163
|
}
|
|
27114
27164
|
async init() {
|
|
27115
|
-
state$
|
|
27165
|
+
state$5.loginManager.init(this.emitEvents);
|
|
27116
27166
|
this.setToggleButtonText();
|
|
27117
27167
|
this.adjustLoginLinks();
|
|
27118
27168
|
}
|
|
@@ -27123,13 +27173,13 @@ const PnMarketwebSiteheaderLogin$1 = class extends HTMLElement {
|
|
|
27123
27173
|
}
|
|
27124
27174
|
const adjustLink = (link, i) => {
|
|
27125
27175
|
if (!link.isLogoutLink) {
|
|
27126
|
-
link.isLogoutLink =
|
|
27176
|
+
link.isLogoutLink = link.pageLink.indexOf('location.href') !== -1 && link.pageLink.indexOf('logout') !== -1;
|
|
27127
27177
|
}
|
|
27128
27178
|
if (link.isLogoutLink) {
|
|
27129
|
-
link.href = state$
|
|
27179
|
+
link.href = state$5.loginManager.getLogoutUrl(link.href);
|
|
27130
27180
|
}
|
|
27131
27181
|
if (i === 0 && !link.href) {
|
|
27132
|
-
link.href = state$
|
|
27182
|
+
link.href = state$5.loginManager.getLoginUrl();
|
|
27133
27183
|
link.linkType = 'primary';
|
|
27134
27184
|
}
|
|
27135
27185
|
if (link.primaryLinkApperance && !link.linkType) {
|
|
@@ -27143,32 +27193,32 @@ const PnMarketwebSiteheaderLogin$1 = class extends HTMLElement {
|
|
|
27143
27193
|
}
|
|
27144
27194
|
this.loginDialog.legacyLoginLinks = [
|
|
27145
27195
|
{
|
|
27146
|
-
href: state$
|
|
27196
|
+
href: state$5.loginManager.getLoginUrl(this.loginDialog.loginUrl),
|
|
27147
27197
|
linkText: this.loginDialog.loginLinkText,
|
|
27148
27198
|
openInNewWindow: false,
|
|
27149
27199
|
isLogoutLink: false,
|
|
27150
27200
|
pageLink: null,
|
|
27151
27201
|
linkType: 'primary',
|
|
27152
|
-
primaryLinkApperance: true
|
|
27202
|
+
primaryLinkApperance: true,
|
|
27153
27203
|
},
|
|
27154
27204
|
{
|
|
27155
|
-
href: state$
|
|
27205
|
+
href: state$5.loginManager.getLoginUrl(this.loginDialog.registerUrl),
|
|
27156
27206
|
linkText: this.loginDialog.createLoginLinkText,
|
|
27157
27207
|
openInNewWindow: false,
|
|
27158
27208
|
isLogoutLink: false,
|
|
27159
27209
|
pageLink: null,
|
|
27160
|
-
primaryLinkApperance: false
|
|
27161
|
-
}
|
|
27210
|
+
primaryLinkApperance: false,
|
|
27211
|
+
},
|
|
27162
27212
|
];
|
|
27163
27213
|
}
|
|
27164
27214
|
setUserName() {
|
|
27165
|
-
const userInfo = state$
|
|
27166
|
-
let name =
|
|
27215
|
+
const userInfo = state$5.loginManager.getUserInfo();
|
|
27216
|
+
let name = '';
|
|
27167
27217
|
if (!this.loggedin || !userInfo) {
|
|
27168
27218
|
this.username = name;
|
|
27169
27219
|
}
|
|
27170
27220
|
if (userInfo && userInfo.given_name) {
|
|
27171
|
-
name = userInfo.given_name + ((userInfo === null || userInfo === void 0 ? void 0 : userInfo.family_name) ? ` ${userInfo === null || userInfo === void 0 ? void 0 : userInfo.family_name}` :
|
|
27221
|
+
name = userInfo.given_name + ((userInfo === null || userInfo === void 0 ? void 0 : userInfo.family_name) ? ` ${userInfo === null || userInfo === void 0 ? void 0 : userInfo.family_name}` : '');
|
|
27172
27222
|
}
|
|
27173
27223
|
if (!name && userInfo && userInfo.email) {
|
|
27174
27224
|
name = userInfo.email;
|
|
@@ -27192,7 +27242,7 @@ const PnMarketwebSiteheaderLogin$1 = class extends HTMLElement {
|
|
|
27192
27242
|
onLoginStateChange(e) {
|
|
27193
27243
|
if (this.loggedin !== e.detail && this.emitEvents) {
|
|
27194
27244
|
this.loggedin = e.detail;
|
|
27195
|
-
this.loginStateChange.emit({ loggedIn: this.loggedin, token: state$
|
|
27245
|
+
this.loginStateChange.emit({ loggedIn: this.loggedin, token: state$5.loginManager.getToken() });
|
|
27196
27246
|
this.setUserName();
|
|
27197
27247
|
this.setToggleButtonText();
|
|
27198
27248
|
}
|
|
@@ -27209,10 +27259,7 @@ const PnMarketwebSiteheaderLogin$1 = class extends HTMLElement {
|
|
|
27209
27259
|
hostElementAttribute.username = this.username;
|
|
27210
27260
|
hostElementAttribute.loggedin = this.loggedin + '';
|
|
27211
27261
|
}
|
|
27212
|
-
return (h(Host, Object.assign({}, hostElementAttribute), h("pn-nav-dropdown", { label: this.toggleButtonText, icon: "user", class: "siteheader-logindialog" }, this.loggedin && this.showProfileSelection ?
|
|
27213
|
-
h("pn-marketweb-siteheader-login-profileselection", { loginDialog: this.loginDialog, loggedin: this.loggedin, i18n: this.i18n, idNamespace: this.emitEvents ? '1' : '2', endpoint: this.endpoint })
|
|
27214
|
-
:
|
|
27215
|
-
h("pn-marketweb-siteheader-login-links", { loginDialog: this.loginDialog, loggedin: this.loggedin, idNamespace: this.emitEvents ? '1' : '2', username: this.username }))));
|
|
27262
|
+
return (h(Host, Object.assign({}, hostElementAttribute), h("pn-nav-dropdown", { label: this.toggleButtonText, icon: "user", class: "siteheader-logindialog" }, !this.loggedin && h("pn-marketweb-siteheader-login-button", { label: 'test console' }), !this.loggedin && h("pn-marketweb-siteheader-login-button", { active: true, label: 'test redirect' }), this.loggedin && this.showProfileSelection ? (h("pn-marketweb-siteheader-login-profileselection", { loginDialog: this.loginDialog, loggedin: this.loggedin, i18n: this.i18n, idNamespace: this.emitEvents ? '1' : '2', endpoint: this.endpoint })) : (h("pn-marketweb-siteheader-login-links", { loginDialog: this.loginDialog, loggedin: this.loggedin, idNamespace: this.emitEvents ? '1' : '2', username: this.username })))));
|
|
27216
27263
|
}
|
|
27217
27264
|
get hostElement() { return this; }
|
|
27218
27265
|
static get watchers() { return {
|
|
@@ -27222,9 +27269,41 @@ const PnMarketwebSiteheaderLogin$1 = class extends HTMLElement {
|
|
|
27222
27269
|
static get style() { return pnMarketwebSiteheaderLoginCss; }
|
|
27223
27270
|
};
|
|
27224
27271
|
|
|
27272
|
+
const pnMarketwebSiteheaderLoginButtonCss = "pn-marketweb-siteheader-login-button button{background-color:red}";
|
|
27273
|
+
|
|
27274
|
+
let PnMarketwebSiteheaderLoginButton$1 = class extends HTMLElement {
|
|
27275
|
+
constructor() {
|
|
27276
|
+
super();
|
|
27277
|
+
this.__registerHost();
|
|
27278
|
+
}
|
|
27279
|
+
createLoginUrl() {
|
|
27280
|
+
const base = window.location.origin;
|
|
27281
|
+
console.log('base: ', window.location.origin);
|
|
27282
|
+
if (base.includes('portal')) {
|
|
27283
|
+
return base.concat(`/api/unified-login/backend/authorization?redirectionUrl=${window.location.href}`);
|
|
27284
|
+
}
|
|
27285
|
+
return base.concat(`/login?returnUrl=${window.location.href}`);
|
|
27286
|
+
}
|
|
27287
|
+
navigateToLogin() {
|
|
27288
|
+
this.loginUrl = this.createLoginUrl();
|
|
27289
|
+
//temp test
|
|
27290
|
+
if (this.active) {
|
|
27291
|
+
location.href = this.loginUrl;
|
|
27292
|
+
}
|
|
27293
|
+
else {
|
|
27294
|
+
console.log('loginurl with its redirect: ', this.loginUrl);
|
|
27295
|
+
}
|
|
27296
|
+
}
|
|
27297
|
+
render() {
|
|
27298
|
+
return (h(Host, null, h("pn-button", { onClick: () => this.navigateToLogin() }, this.label)));
|
|
27299
|
+
}
|
|
27300
|
+
get hostElement() { return this; }
|
|
27301
|
+
static get style() { return pnMarketwebSiteheaderLoginButtonCss; }
|
|
27302
|
+
};
|
|
27303
|
+
|
|
27225
27304
|
const pnMarketwebSiteheaderLoginLinklistCss = "pn-marketweb-siteheader-login-linklist{padding:1rem 0;max-height:5.2rem;position:relative}pn-marketweb-siteheader-login-linklist strong{padding:0.8rem 1.6rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}pn-marketweb-siteheader-login-linklist ul,pn-marketweb-siteheader-login-linklist li{list-style:none;margin:0;padding:0}pn-marketweb-siteheader-login-linklist li{padding:0.8rem 1.6rem}pn-marketweb-siteheader-login-linklist li pn-button{display:block;width:100%}";
|
|
27226
27305
|
|
|
27227
|
-
|
|
27306
|
+
let PnMarketwebSiteheaderLoginLinklist$1 = class extends HTMLElement {
|
|
27228
27307
|
constructor() {
|
|
27229
27308
|
super();
|
|
27230
27309
|
this.__registerHost();
|
|
@@ -27278,7 +27357,7 @@ const PnMarketwebSiteheaderLoginLinklist$1 = class extends HTMLElement {
|
|
|
27278
27357
|
return (h(Host, null, this.heading ? h("strong", null, this.heading) : null, h("ul", null, this.links.map((link) => {
|
|
27279
27358
|
return (h("li", null, h("pn-button", Object.assign({ href: link.href, id: this.uniqueId(link.linkText) }, (link.openInNewWindow && { target: '_blank' }), this.linkAppearanceAttributes(link), { onClick: () => {
|
|
27280
27359
|
if (link.isLogoutLink) {
|
|
27281
|
-
state$
|
|
27360
|
+
state$5.loginManager.clearUserData();
|
|
27282
27361
|
}
|
|
27283
27362
|
} }), link.linkText)));
|
|
27284
27363
|
}))));
|
|
@@ -27289,10 +27368,11 @@ const PnMarketwebSiteheaderLoginLinklist$1 = class extends HTMLElement {
|
|
|
27289
27368
|
|
|
27290
27369
|
const pnMarketwebSiteheaderLoginLinksCss = "";
|
|
27291
27370
|
|
|
27292
|
-
|
|
27371
|
+
let PnMarketwebSiteheaderLoginLinks$1 = class extends HTMLElement {
|
|
27293
27372
|
constructor() {
|
|
27294
27373
|
super();
|
|
27295
27374
|
this.__registerHost();
|
|
27375
|
+
// Login dialog
|
|
27296
27376
|
this.loginDialog = null;
|
|
27297
27377
|
this.idNamespace = "";
|
|
27298
27378
|
this.loggedin = false;
|
|
@@ -27314,11 +27394,11 @@ const PnMarketwebSiteheaderLoginLinks$1 = class extends HTMLElement {
|
|
|
27314
27394
|
link.isLogoutLink = (link.pageLink.indexOf('location.href') !== -1 && link.pageLink.indexOf('logout') !== -1);
|
|
27315
27395
|
}
|
|
27316
27396
|
if (link.isLogoutLink) {
|
|
27317
|
-
link.href = state$
|
|
27397
|
+
link.href = state$5.loginManager.getLogoutUrl(link.href);
|
|
27318
27398
|
}
|
|
27319
27399
|
link.href = link.href.replace("window.location.href", window.location.href);
|
|
27320
27400
|
if (i === 0 && !link.href) {
|
|
27321
|
-
link.href = state$
|
|
27401
|
+
link.href = state$5.loginManager.getLoginUrl();
|
|
27322
27402
|
link.linkType = 'primary';
|
|
27323
27403
|
}
|
|
27324
27404
|
if (link.primaryLinkApperance && !link.linkType) {
|
|
@@ -27333,7 +27413,7 @@ const PnMarketwebSiteheaderLoginLinks$1 = class extends HTMLElement {
|
|
|
27333
27413
|
}
|
|
27334
27414
|
this.loginDialog.legacyLoginLinks = [
|
|
27335
27415
|
{
|
|
27336
|
-
href: state$
|
|
27416
|
+
href: state$5.loginManager.getLoginUrl(this.loginDialog.loginUrl),
|
|
27337
27417
|
linkText: this.loginDialog.loginLinkText,
|
|
27338
27418
|
openInNewWindow: false,
|
|
27339
27419
|
isLogoutLink: false,
|
|
@@ -27342,7 +27422,7 @@ const PnMarketwebSiteheaderLoginLinks$1 = class extends HTMLElement {
|
|
|
27342
27422
|
primaryLinkApperance: true
|
|
27343
27423
|
},
|
|
27344
27424
|
{
|
|
27345
|
-
href: state$
|
|
27425
|
+
href: state$5.loginManager.getLoginUrl(this.loginDialog.registerUrl),
|
|
27346
27426
|
linkText: this.loginDialog.createLoginLinkText,
|
|
27347
27427
|
openInNewWindow: false,
|
|
27348
27428
|
isLogoutLink: false,
|
|
@@ -27385,10 +27465,11 @@ const PnMarketwebSiteheaderLoginLinks$1 = class extends HTMLElement {
|
|
|
27385
27465
|
|
|
27386
27466
|
const pnMarketwebSiteheaderLoginProfileselectionCss = ".pn-marketweb-siteheader-login-profileselection-heading{display:block;padding:0.5rem 0 1rem}.pn-marketweb-siteheader-login-profileselection-user,.pn-marketweb-siteheader-login-profileselection-currentprofile{margin-top:1rem;margin-bottom:1rem}.pn-marketweb-siteheader-login-profileselection-user-name,.pn-marketweb-siteheader-login-profileselection-currentprofile-name{line-height:1}.pn-marketweb-siteheader-login-profileselection-user-description,.pn-marketweb-siteheader-login-profileselection-currentprofile-description{font-weight:400;white-space:normal;word-break:break-all;color:#5E554A;font-size:0.75em}.pn-marketweb-siteheader-login-profileselection-divider{height:1rem;width:100%;background:#00A0D6;position:relative;margin-left:-1em;margin-top:1.6rem;margin-bottom:1.6rem;border-radius:0 0.6em 0.6em 0;padding:0}.pn-marketweb-siteheader-login-profileselection-divider::after{content:\"\";width:0.6em;height:0.6em;border-radius:50%;position:absolute;right:0;top:0;background:inherit;-webkit-transform:translateX(calc(100% + 0.2em));transform:translateX(calc(100% + 0.2em))}.pn-marketweb-siteheader-login-profileselection-profileoption-link{display:-ms-flexbox;display:flex;background:#FFFFFF;-webkit-transition:background 0.15s ease-in-out;transition:background 0.15s ease-in-out;margin:0 -1em;padding:0.6rem 1.6rem;text-decoration:none;color:#005D92;-ms-flex-align:center;align-items:center}.pn-marketweb-siteheader-login-profileselection-profileoption-link:hover,.pn-marketweb-siteheader-login-profileselection-profileoption-link:focus,.pn-marketweb-siteheader-login-profileselection-profileoption-link:active{background:#F3F2F2}.pn-marketweb-siteheader-login-profileselection-profileoption-content{-ms-flex-positive:1;flex-grow:1}.pn-marketweb-siteheader-login-profileselection-profileoption-name{font-weight:700}.pn-marketweb-siteheader-login-profileselection-profileoption-description{font-weight:400;white-space:normal;word-break:break-all;color:#5E554A;font-size:0.75em}.pn-marketweb-siteheader-login-profileselection-logout{padding:1.6rem;text-align:center;width:100%}.pn-marketweb-siteheader-login-profileselection-logout-link{display:inline-block;font-weight:500;color:#005D92;text-decoration:none}.pn-marketweb-siteheader-login-profileselection-logout-link:hover,.pn-marketweb-siteheader-login-profileselection-logout-link:focus,.pn-marketweb-siteheader-login-profileselection-logout-link:active{text-decoration:underline}";
|
|
27387
27467
|
|
|
27388
|
-
|
|
27468
|
+
let PnMarketwebSiteheaderLoginProfileselection$1 = class extends HTMLElement {
|
|
27389
27469
|
constructor() {
|
|
27390
27470
|
super();
|
|
27391
27471
|
this.__registerHost();
|
|
27472
|
+
// Login dialog
|
|
27392
27473
|
this.loginDialog = null;
|
|
27393
27474
|
this.endpoint = "";
|
|
27394
27475
|
this.loggedin = false;
|
|
@@ -27523,10 +27604,10 @@ const PnMarketwebSiteheaderLoginProfileselection$1 = class extends HTMLElement {
|
|
|
27523
27604
|
link.isLogoutLink = (link.pageLink.indexOf('location.href') !== -1 && link.pageLink.indexOf('logout') !== -1);
|
|
27524
27605
|
}
|
|
27525
27606
|
if (link.isLogoutLink) {
|
|
27526
|
-
link.href = state$
|
|
27607
|
+
link.href = state$5.loginManager.getLogoutUrl(link.href);
|
|
27527
27608
|
}
|
|
27528
27609
|
if (i === 0 && !link.href) {
|
|
27529
|
-
link.href = state$
|
|
27610
|
+
link.href = state$5.loginManager.getLoginUrl();
|
|
27530
27611
|
link.linkType = 'primary';
|
|
27531
27612
|
}
|
|
27532
27613
|
if (link.primaryLinkApperance && !link.linkType) {
|
|
@@ -27539,7 +27620,7 @@ const PnMarketwebSiteheaderLoginProfileselection$1 = class extends HTMLElement {
|
|
|
27539
27620
|
this.logoutLink = (_d = (_c = this.loginDialog) === null || _c === void 0 ? void 0 : _c.loggedInLinks.filter(x => x.isLogoutLink)[0]) !== null && _d !== void 0 ? _d : null;
|
|
27540
27621
|
}
|
|
27541
27622
|
updateUserInfo() {
|
|
27542
|
-
const userInfo = state$
|
|
27623
|
+
const userInfo = state$5.loginManager.getUserInfo();
|
|
27543
27624
|
this.user = userInfo;
|
|
27544
27625
|
if (!userInfo) {
|
|
27545
27626
|
return;
|
|
@@ -27574,7 +27655,7 @@ const PnMarketwebSiteheaderLoginProfileselection$1 = class extends HTMLElement {
|
|
|
27574
27655
|
let customerNumber = (organization.profiles.length > 0) ? organization.profiles[0].customerNumber : organization.customerNumber;
|
|
27575
27656
|
return (h("div", { class: "pn-marketweb-siteheader-login-profileselection-profileoption" }, h("a", { href: `${this.endpoint}/api/user/setprofile?customernumber=${customerNumber}&returnUrl=${window.location.href}`, class: "pn-marketweb-siteheader-login-profileselection-profileoption-link" }, h("div", { class: "pn-marketweb-siteheader-login-profileselection-profileoption-content" }, h("div", { class: "pn-marketweb-siteheader-login-profileselection-profileoption-name" }, organization.name), h("div", { class: "pn-marketweb-siteheader-login-profileselection-profileoption-description" }, organization.customerNumber ? organization.customerNumber : this.userEmail)), h("pn-icon", { symbol: "arrow-right", small: "false", color: "blue700" }))));
|
|
27576
27657
|
}), this.logoutLink ?
|
|
27577
|
-
h("div", { class: "pn-marketweb-siteheader-login-profileselection-logout" }, h("a", { href: this.logoutLink.href, rel: "nofollower noopener", id: "pn-marketweb-header-logoutlink", onClick: () => state$
|
|
27658
|
+
h("div", { class: "pn-marketweb-siteheader-login-profileselection-logout" }, h("a", { href: this.logoutLink.href, rel: "nofollower noopener", id: "pn-marketweb-header-logoutlink", onClick: () => state$5.loginManager.clearUserData(), class: "pn-marketweb-siteheader-login-profileselection-logout-link" }, this.logoutLink.linkText))
|
|
27578
27659
|
: null));
|
|
27579
27660
|
}
|
|
27580
27661
|
get hostElement() { return this; }
|
|
@@ -27582,7 +27663,7 @@ const PnMarketwebSiteheaderLoginProfileselection$1 = class extends HTMLElement {
|
|
|
27582
27663
|
};
|
|
27583
27664
|
|
|
27584
27665
|
// Read more about how stencil stores work here: https://stenciljs.com/docs/stencil-store
|
|
27585
|
-
const { state: state$
|
|
27666
|
+
const { state: state$4, onChange: onChange$4 } = createStore({
|
|
27586
27667
|
searchValue: '',
|
|
27587
27668
|
autocompleteSuggestions: {},
|
|
27588
27669
|
requestAbortController: new AbortController()
|
|
@@ -27590,30 +27671,37 @@ const { state: state$3, onChange: onChange$3 } = createStore({
|
|
|
27590
27671
|
|
|
27591
27672
|
const pnMarketwebSiteheaderSearchCss = ".siteheader-search a{display:none}@media screen and (min-width: 48em){.siteheader-search a{display:block}}.siteheader-search pn-search-field>.input-container button{background:#FFFFFF}.siteheader-search pn-search-field.button-icon pn-button,.siteheader-search pn-button{display:-ms-inline-flexbox;display:inline-flex}.siteheader-search pn-search-field.button-icon pn-button button,.siteheader-search pn-button button{-ms-flex-item-align:center;align-self:center;padding:0;height:2.3em;width:2.3em;line-height:0;min-height:unset;min-width:unset}.siteheader-search pn-search-field.button-icon pn-button pn-icon,.siteheader-search pn-button pn-icon{margin-left:0}.siteheader-search form{-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:stretch;align-items:stretch;width:auto;-ms-flex:none;flex:none;display:-ms-flexbox;display:flex;padding:0;margin:0 0 0 0.4rem;position:relative;-ms-flex-direction:column;flex-direction:column}@media screen and (min-width: 60em){.siteheader-search form{margin-right:1.6rem}}.siteheader-search form pn-search-field{min-width:13.5em}.siteheader-search form pn-search-field .input-container{-ms-flex-item-align:center;align-self:center}.siteheader-search form pn-search-field input{height:auto;min-height:1em;padding:0.6em 0.75em}";
|
|
27592
27673
|
|
|
27593
|
-
|
|
27674
|
+
let PnMarketwebSiteheaderSearch$1 = class extends HTMLElement {
|
|
27594
27675
|
constructor() {
|
|
27595
27676
|
super();
|
|
27596
27677
|
this.__registerHost();
|
|
27597
|
-
|
|
27678
|
+
// Display option, show only link
|
|
27598
27679
|
this.showOnlyLink = false;
|
|
27680
|
+
// Hide search option
|
|
27599
27681
|
this.hideSearch = false;
|
|
27682
|
+
/** Specifies which language we want to show (sv,da,fi,no,en) */
|
|
27600
27683
|
this.language = null;
|
|
27684
|
+
/** Specifies the current site id (guid)*/
|
|
27601
27685
|
this.siteid = null;
|
|
27686
|
+
// Search data
|
|
27602
27687
|
this.search = {};
|
|
27688
|
+
// Is this the primary instance?
|
|
27603
27689
|
this.primary = false;
|
|
27690
|
+
// Only Show icon as search button?
|
|
27604
27691
|
this.icononly = true;
|
|
27692
|
+
// Autocomplete options
|
|
27605
27693
|
this.autoCompleteOptions = [];
|
|
27606
27694
|
}
|
|
27607
27695
|
onSearchValueUpdate() {
|
|
27608
|
-
this.getAutocomplete(state$
|
|
27696
|
+
this.getAutocomplete(state$4.searchValue);
|
|
27609
27697
|
}
|
|
27610
27698
|
async getAutocomplete(prefix) {
|
|
27611
27699
|
if (!this.search.AutocompleteEndpoint || (prefix.length < 2)) {
|
|
27612
27700
|
this.autoCompleteOptions = [];
|
|
27613
27701
|
return;
|
|
27614
27702
|
}
|
|
27615
|
-
if (state$
|
|
27616
|
-
this.setAutocompleteSuggestions(state$
|
|
27703
|
+
if (state$4.autocompleteSuggestions[prefix]) {
|
|
27704
|
+
this.setAutocompleteSuggestions(state$4.autocompleteSuggestions[prefix]);
|
|
27617
27705
|
return;
|
|
27618
27706
|
}
|
|
27619
27707
|
let autocompleteUrl = `${this.search.AutocompleteEndpoint}?prefix=${prefix}&size=10`;
|
|
@@ -27629,7 +27717,7 @@ const PnMarketwebSiteheaderSearch$1 = class extends HTMLElement {
|
|
|
27629
27717
|
autocompleteUrl += `siteid:${this.siteid}`;
|
|
27630
27718
|
}
|
|
27631
27719
|
}
|
|
27632
|
-
const req = await fetch(autocompleteUrl, { signal: state$
|
|
27720
|
+
const req = await fetch(autocompleteUrl, { signal: state$4.requestAbortController.signal }).catch((e) => {
|
|
27633
27721
|
console.warn('Unable to fetch autocomplete suggestions', e);
|
|
27634
27722
|
});
|
|
27635
27723
|
if (!req) {
|
|
@@ -27643,7 +27731,7 @@ const PnMarketwebSiteheaderSearch$1 = class extends HTMLElement {
|
|
|
27643
27731
|
return item.query;
|
|
27644
27732
|
});
|
|
27645
27733
|
// Store query in store
|
|
27646
|
-
state$
|
|
27734
|
+
state$4.autocompleteSuggestions[prefix] = suggestions;
|
|
27647
27735
|
this.setAutocompleteSuggestions(suggestions);
|
|
27648
27736
|
}
|
|
27649
27737
|
setAutocompleteSuggestions(suggestions) {
|
|
@@ -27653,7 +27741,7 @@ const PnMarketwebSiteheaderSearch$1 = class extends HTMLElement {
|
|
|
27653
27741
|
this.autoCompleteOptions = suggestions;
|
|
27654
27742
|
}
|
|
27655
27743
|
componentWillLoad() {
|
|
27656
|
-
onChange$
|
|
27744
|
+
onChange$4("searchValue", () => {
|
|
27657
27745
|
this.onSearchValueUpdate();
|
|
27658
27746
|
});
|
|
27659
27747
|
}
|
|
@@ -27670,7 +27758,7 @@ const PnMarketwebSiteheaderSearch$1 = class extends HTMLElement {
|
|
|
27670
27758
|
const autocompleteAttribute = (this.search.AutocompleteEndpoint) ? { "list": "siteheader-search-autocomplete" } : {};
|
|
27671
27759
|
return (h("div", { class: "siteheader-search" }, (this.showOnlyLink) ? (h("a", { href: this.search.formActionUrl, title: this.i18n.searchlabel }, h("pn-button", { appearance: "light", icon: "search" }))) :
|
|
27672
27760
|
(h("form", { method: "get", action: this.search.formActionUrl, role: "search" }, h("pn-search-field", Object.assign({ label: this.i18n.searchlabel, name: "q", button: this.icononly ? "icon" : null }, autocompleteAttribute, { onUpdate: (e) => {
|
|
27673
|
-
state$
|
|
27761
|
+
state$4.searchValue = e.detail;
|
|
27674
27762
|
}, onSearch: () => {
|
|
27675
27763
|
const form = this.hostElement.querySelector('form');
|
|
27676
27764
|
if (form) {
|
|
@@ -27686,7 +27774,7 @@ const PnMarketwebSiteheaderSearch$1 = class extends HTMLElement {
|
|
|
27686
27774
|
|
|
27687
27775
|
const pnParcelTrackerCss = "pn-spotlight .pn-spotlight__container:has(pn-parcel-tracker) [slot=mobile-heading]{color:#005D92}.pn-spotlight__container__wrapper__content [slot=content]:has(pn-parcel-tracker){padding-left:2rem}pn-parcel-tracker{width:100%}pn-parcel-tracker .pn-parcel-tracker__container form{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;gap:1.6rem}pn-parcel-tracker .pn-parcel-tracker__container form .pn-parcel-tracker__container__heading{color:#005D92;font-weight:500;margin-bottom:0}@media screen and (max-width: 768px){pn-parcel-tracker .pn-parcel-tracker__container form .pn-parcel-tracker__container__heading{display:none}}@media screen and (min-width: 1640px){pn-parcel-tracker .pn-parcel-tracker__container form .pn-parcel-tracker__container__heading{font-size:2.4rem;font-weight:700}}pn-parcel-tracker .pn-parcel-tracker__container form pn-marketweb-input{-ms-flex-positive:1;flex-grow:1;max-width:80%}@media screen and (min-width: 768px){pn-parcel-tracker .pn-parcel-tracker__container form pn-marketweb-input{max-width:50%}}@media screen and (min-width: 992px){pn-parcel-tracker .pn-parcel-tracker__container form pn-marketweb-input{max-width:45%}}@media screen and (min-width: 1640px){pn-parcel-tracker .pn-parcel-tracker__container form pn-marketweb-input{max-width:35%}}pn-parcel-tracker .pn-parcel-tracker__container form pn-marketweb-input input{border-radius:6.4rem}";
|
|
27688
27776
|
|
|
27689
|
-
|
|
27777
|
+
let PnSpotlight$2 = class extends HTMLElement {
|
|
27690
27778
|
constructor() {
|
|
27691
27779
|
super();
|
|
27692
27780
|
this.__registerHost();
|
|
@@ -27708,7 +27796,7 @@ const PnSpotlight$2 = class extends HTMLElement {
|
|
|
27708
27796
|
static get style() { return pnParcelTrackerCss; }
|
|
27709
27797
|
};
|
|
27710
27798
|
|
|
27711
|
-
const translations$
|
|
27799
|
+
const translations$5 = {
|
|
27712
27800
|
'sv': {
|
|
27713
27801
|
"heading": "Prisindikation med PEX Bud",
|
|
27714
27802
|
"labelFrom": "Från postkod",
|
|
@@ -27733,14 +27821,17 @@ const translations$4 = {
|
|
|
27733
27821
|
|
|
27734
27822
|
const pnPexPricefinderCss = ".pex-pricefinder-top{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.pex-pricefinder-top pn-illustration{width:5.5rem;height:5.5rem;margin-right:1.6rem}.pex-pricefinder-form{margin:1.6rem 0 0 0;padding:0;border:0}.pex-pricefinder-form fieldset{margin:0;padding:0;border:0}.pex-pricefinder-form fieldset+fieldset{margin-top:1.6rem}.pex-pricefinder-form fieldset>div{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:1em}.pex-pricefinder-form fieldset>div>*{-ms-flex-positive:1;flex-grow:1;width:100%}.pex-pricefinder-form pn-button{-ms-flex-item-align:end;align-self:end;margin-left:auto}.pex-pricefinder-form .datepicker{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column}.pex-pricefinder-form .datepicker label{margin-bottom:0.4rem;color:#5E554A;font-size:0.875em;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:end;align-items:flex-end;cursor:pointer;-webkit-transition:color 0.2s;transition:color 0.2s}.pex-pricefinder-form .datepicker pn-date-picker{width:100%}.pex-pricefinder-response{margin-top:2.4rem;text-align:center;font-size:2.4em}";
|
|
27735
27823
|
|
|
27736
|
-
|
|
27824
|
+
let PnPexPricefinder$1 = class extends HTMLElement {
|
|
27737
27825
|
constructor() {
|
|
27738
27826
|
super();
|
|
27739
27827
|
this.__registerHost();
|
|
27828
|
+
/** Specifies which language we want to show component in (sv,da,fi,no,en) */
|
|
27740
27829
|
this.language = "sv";
|
|
27830
|
+
/** Currency (Kr, €)*/
|
|
27741
27831
|
this.currency = "Kr";
|
|
27832
|
+
/** API Url */
|
|
27742
27833
|
this.apiUrl = "/api/pex/order";
|
|
27743
|
-
this.i18n = translations$
|
|
27834
|
+
this.i18n = translations$5.sv;
|
|
27744
27835
|
this.fromzip = null;
|
|
27745
27836
|
this.tozip = null;
|
|
27746
27837
|
this.weight = 1;
|
|
@@ -27775,8 +27866,8 @@ const PnPexPricefinder$1 = class extends HTMLElement {
|
|
|
27775
27866
|
});
|
|
27776
27867
|
}
|
|
27777
27868
|
setLanguage() {
|
|
27778
|
-
if (translations$
|
|
27779
|
-
this.i18n = translations$
|
|
27869
|
+
if (translations$5[this.language]) {
|
|
27870
|
+
this.i18n = translations$5[this.language];
|
|
27780
27871
|
}
|
|
27781
27872
|
}
|
|
27782
27873
|
onSubmit(e) {
|
|
@@ -27830,7 +27921,7 @@ const PnPexPricefinder$1 = class extends HTMLElement {
|
|
|
27830
27921
|
|
|
27831
27922
|
const pnProductCardCss = "pn-product-card{border:0.1rem solid #D3CECB;outline:none;background:#FFFFFF;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);display:-ms-flexbox;display:flex;word-break:break-word;text-decoration:none;border-radius:0.8rem;position:relative;padding:11rem 2.4rem 2.4rem;margin-bottom:1.6rem}@media screen and (min-width: 36em){pn-product-card{padding:2.4rem}}pn-product-card [slot=title]{display:-ms-flexbox;display:flex;width:100%;margin-bottom:0.8rem;gap:1.6rem;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}@media screen and (min-width: 36em){pn-product-card [slot=title]{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:inherit;align-items:inherit}}pn-product-card [slot=title] h2{width:100%}@media screen and (min-width: 36em){pn-product-card [slot=title] h2{width:auto}}pn-product-card [slot=title] h2>a{color:#000000}pn-product-card [slot=title] h2>a::after{content:\"\" !important}pn-product-card [slot=note]{margin-top:1em;margin-bottom:1em;font-size:0.8em}pn-product-card [slot=additionalUSP]{display:-ms-flexbox;display:flex}pn-product-card [slot=additionalUSP] :first-child{margin-left:0em}pn-product-card [slot=additionalUSP] span{margin-left:1em;background:#D3CECB;color:#2D2013;border-radius:0.25em;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:0.3em;margin-top:0.5em;font-size:0.75em}pn-product-card>pn-illustration{min-width:8rem;width:8rem;height:8rem;-ms-flex-item-align:center;align-self:center;position:absolute;top:1.6rem;-webkit-transform:translateX(-50%);transform:translateX(-50%);left:50%;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);border-radius:100%}@media screen and (min-width: 36em){pn-product-card>pn-illustration{-webkit-box-shadow:none;box-shadow:none;top:1.6rem;right:1.6rem;left:auto;-webkit-transform:none;transform:none}}@media screen and (min-width: 48em){pn-product-card>pn-illustration{position:static;top:auto;right:auto;margin-right:3rem}}pn-product-card .cardcontent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 48em){pn-product-card .cardcontent{-ms-flex-direction:row;flex-direction:row;gap:1.6rem}}pn-product-card [slot=cardprice]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding:0.6em;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 36em){pn-product-card [slot=cardprice]{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 48em){pn-product-card [slot=cardprice]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:end;align-items:flex-end}}pn-product-card [slot=mobiledownload]{margin-top:1rem;white-space:nowrap;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-product-card [slot=mobiledownload] #riktiga{-ms-flex-order:4;order:4;margin-top:1em}pn-product-card [slot=mobiledownload] #riktiga>div>a::after{content:\"\" !important}pn-product-card [slot=mobiledownload] .riktigaAndroidImg{width:6em;margin:0.5em}pn-product-card [slot=mobiledownload] .riktigaAppleImg{width:5.6em;margin:0.5em}pn-product-card [slot=mobiledownload] a{text-decoration:none;color:#005D92}pn-product-card [slot=mobiledownload] a h3{text-decoration:underline}pn-product-card [slot=servicepoint]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:2;flex-grow:2;-ms-flex-align:end;align-items:flex-end;text-align:center}@media screen and (min-width: 36em){pn-product-card [slot=servicepoint]{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 48em){pn-product-card [slot=servicepoint]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:end;align-items:flex-end}}pn-product-card .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:100%}pn-product-card .info{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;-ms-flex-flow:wrap;flex-flow:wrap;padding:0 1em 0 0}pn-product-card .info>*{min-width:6em;margin:0.5em 1em 0.5em 0}";
|
|
27832
27923
|
|
|
27833
|
-
|
|
27924
|
+
let PnProductCard$1 = class extends HTMLElement {
|
|
27834
27925
|
constructor() {
|
|
27835
27926
|
super();
|
|
27836
27927
|
this.__registerHost();
|
|
@@ -27843,14 +27934,10 @@ const PnProductCard$1 = class extends HTMLElement {
|
|
|
27843
27934
|
|
|
27844
27935
|
const pnProductCardInfoCss = "pn-product-card-info{-ms-flex-item-align:center;align-self:center}.cardinfocontent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;font-size:0.875em;gap:1.6rem}@media screen and (min-width: 36em){.cardinfocontent{-ms-flex-direction:row;flex-direction:row}}.cardinfocontent>div p{margin:0.25em 0.25em 0 0}.cardinfocontent-item{margin-top:0.5em}[slot=formatPre]{font-family:\"PostNordSans\", \"Verdana\";margin:0.5em 3em 0 0}[slot=formatPre]>strong{font-weight:bold}.cardinfoprice{display:-ms-flexbox;display:flex;font-size:1em;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}";
|
|
27845
27936
|
|
|
27846
|
-
|
|
27937
|
+
let PnProductCardInfo$1 = class extends HTMLElement {
|
|
27847
27938
|
constructor() {
|
|
27848
27939
|
super();
|
|
27849
27940
|
this.__registerHost();
|
|
27850
|
-
this.rulle = undefined;
|
|
27851
|
-
this.paket = undefined;
|
|
27852
|
-
this.label = undefined;
|
|
27853
|
-
this.text = undefined;
|
|
27854
27941
|
}
|
|
27855
27942
|
render() {
|
|
27856
27943
|
return (this.label) ? (h(Host, null, h("div", { class: "cardinfocontent" }, (this.text) ? (h("pre", { slot: "formatPre" }, this.text)) : null))) : (h(Host, null, h("div", { class: "cardinfocontent" }, (this.paket) ? (h("div", { class: "cardinfocontent-item" }, h("strong", null, "Maxm\u00E5tt"), this.paket.split("/").map((item) => ((item.split(":").length > 1) ?
|
|
@@ -27866,17 +27953,10 @@ h("pn-icon", { symbol: "align-center", small: "false", color: "black" });
|
|
|
27866
27953
|
|
|
27867
27954
|
const pnProductCardPriceCss = "pn-product-card-price{margin-top:1rem;white-space:nowrap;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-product-card-price span:last-child{display:inline-block;margin-left:0.2em}pn-product-card-price+pn-product-card-price{margin-right:0}pn-product-card-price pn-icon{display:inline-block;-ms-flex-item-align:center;align-self:center}pn-product-card-price .price{font-size:2.5em;font-weight:bold;-ms-flex-order:1;order:1}pn-product-card-price pn-button{min-width:12.8em;font-size:1.25;-ms-flex-order:2;order:2}@media screen and (min-width: 48em){pn-product-card-price pn-button{-ms-flex-order:3;order:3;margin-bottom:1.6rem}}pn-product-card-price p{font-weight:lighter;font-size:0.875em;-ms-flex-item-align:center;align-self:center;margin-top:0.8rem;-ms-flex-order:3;order:3}@media screen and (min-width: 48em){pn-product-card-price p{-ms-flex-order:2;order:2}}";
|
|
27868
27955
|
|
|
27869
|
-
|
|
27956
|
+
let PnProductCardPrice$1 = class extends HTMLElement {
|
|
27870
27957
|
constructor() {
|
|
27871
27958
|
super();
|
|
27872
27959
|
this.__registerHost();
|
|
27873
|
-
this.label = undefined;
|
|
27874
|
-
this.amount = undefined;
|
|
27875
|
-
this.currency = undefined;
|
|
27876
|
-
this.note = undefined;
|
|
27877
|
-
this.url = undefined;
|
|
27878
|
-
this.service = undefined;
|
|
27879
|
-
this.linkid = undefined;
|
|
27880
27960
|
}
|
|
27881
27961
|
render() {
|
|
27882
27962
|
if (!this.amount) {
|
|
@@ -27887,7 +27967,7 @@ const PnProductCardPrice$1 = class extends HTMLElement {
|
|
|
27887
27967
|
static get style() { return pnProductCardPriceCss; }
|
|
27888
27968
|
};
|
|
27889
27969
|
|
|
27890
|
-
const translations$
|
|
27970
|
+
const translations$4 = {
|
|
27891
27971
|
'sv': {
|
|
27892
27972
|
'componentheading': 'Våra priser och villkor för inrikesförsändelser för dig som direktbetalande kund?',
|
|
27893
27973
|
'deliveryscopeheading': 'Endast leveranser inom Sverige',
|
|
@@ -27945,7 +28025,7 @@ const translations$3 = {
|
|
|
27945
28025
|
'stampshopcta': 'Order home stamps from the webshop',
|
|
27946
28026
|
}
|
|
27947
28027
|
};
|
|
27948
|
-
const markets = {
|
|
28028
|
+
const markets$1 = {
|
|
27949
28029
|
'se': {
|
|
27950
28030
|
"currency": "kr",
|
|
27951
28031
|
},
|
|
@@ -27960,7 +28040,7 @@ const markets = {
|
|
|
27960
28040
|
}
|
|
27961
28041
|
};
|
|
27962
28042
|
|
|
27963
|
-
const weights = {
|
|
28043
|
+
const weights$1 = {
|
|
27964
28044
|
"letter": [
|
|
27965
28045
|
{ name: "50g", abbreviation: 'g', value: 50 },
|
|
27966
28046
|
{ name: "100g", abbreviation: 'g', value: 100 },
|
|
@@ -27998,7 +28078,7 @@ const stampShopUrl = "https://shop.postnord.se/ebutik/default.aspx";
|
|
|
27998
28078
|
|
|
27999
28079
|
const pnProductPricelistCss = "pn-product-pricelist pn-spinner{margin:1em auto}pn-product-pricelist h2,pn-product-pricelist .heading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:1rem}pn-product-pricelist .content,pn-product-pricelist .weightselection,pn-product-pricelist .resultlist{max-width:50em;margin:0 auto 1.6rem}pn-product-pricelist .weightoption{display:-ms-flexbox;display:flex;gap:1.6rem}pn-product-pricelist .weightoption-input{width:5em;position:relative;display:none}pn-product-pricelist .weightoption-input input::-webkit-outer-spin-button,pn-product-pricelist .weightoption-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}pn-product-pricelist .weightoption-input-abbreviation{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);right:1.2em;margin-top:1.55rem;font-weight:500}pn-product-pricelist .weightoption-range{-ms-flex-positive:1;flex-grow:1;-ms-flex-item-align:end;align-self:flex-end;position:relative;top:0.5em}pn-product-pricelist .weightoption-range input{width:calc(100% - 1.5em)}pn-product-pricelist .weightoption-range datalist{width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;font-size:0.75em}pn-product-pricelist .resultlist:not([data-list-count=\"0\"]){margin-top:2em}";
|
|
28000
28080
|
|
|
28001
|
-
|
|
28081
|
+
let PnFindProductPricelist = class extends HTMLElement {
|
|
28002
28082
|
constructor() {
|
|
28003
28083
|
super();
|
|
28004
28084
|
this.__registerHost();
|
|
@@ -28020,10 +28100,10 @@ const PnFindProductPricelist = class extends HTMLElement {
|
|
|
28020
28100
|
}
|
|
28021
28101
|
setState() {
|
|
28022
28102
|
if (this.market) {
|
|
28023
|
-
state$
|
|
28103
|
+
state$8.market = markets$1[this.market];
|
|
28024
28104
|
}
|
|
28025
|
-
if (this.language && translations$
|
|
28026
|
-
state$
|
|
28105
|
+
if (this.language && translations$4[this.language]) {
|
|
28106
|
+
state$8.i18n = translations$4[this.language];
|
|
28027
28107
|
}
|
|
28028
28108
|
}
|
|
28029
28109
|
async getDataSource() {
|
|
@@ -28056,11 +28136,11 @@ const PnFindProductPricelist = class extends HTMLElement {
|
|
|
28056
28136
|
return;
|
|
28057
28137
|
}
|
|
28058
28138
|
this.postagetype.value = productIdItems[0].what;
|
|
28059
|
-
if (!weights[this.postagetype.value] || weights[this.postagetype.value].length === 0) {
|
|
28139
|
+
if (!weights$1[this.postagetype.value] || weights$1[this.postagetype.value].length === 0) {
|
|
28060
28140
|
return;
|
|
28061
28141
|
}
|
|
28062
28142
|
if (this.weightvalue === 0) {
|
|
28063
|
-
this.weight = weights[this.postagetype.value][0];
|
|
28143
|
+
this.weight = weights$1[this.postagetype.value][0];
|
|
28064
28144
|
this.weightvalue = this.weight.value;
|
|
28065
28145
|
}
|
|
28066
28146
|
// For letters we use grams. Otherwise we use KG
|
|
@@ -28081,11 +28161,11 @@ const PnFindProductPricelist = class extends HTMLElement {
|
|
|
28081
28161
|
this.gotData = this.filteredItems.length > 0;
|
|
28082
28162
|
}
|
|
28083
28163
|
render() {
|
|
28084
|
-
return (h(Host, null, h("div", { class: "content" }, h("slot", null)), this.loading ? (h("pn-spinner", null)) : null, (this.postagetype.value && weights[this.postagetype.value]) ? (h("div", { class: "weightselection" }, h("div", { class: "weightoption" }, h("div", { class: "weightoption-input" }, h("pn-input", { inputid: "weightvalue", name: "weightvalue", type: "number", label: state$
|
|
28164
|
+
return (h(Host, null, h("div", { class: "content" }, h("slot", null)), this.loading ? (h("pn-spinner", null)) : null, (this.postagetype.value && weights$1[this.postagetype.value]) ? (h("div", { class: "weightselection" }, h("div", { class: "weightoption" }, h("div", { class: "weightoption-input" }, h("pn-input", { inputid: "weightvalue", name: "weightvalue", type: "number", label: state$8.i18n.weightlabel, value: this.weightvalue, onChange: (e) => {
|
|
28085
28165
|
if (e && e.target && e.target.value) {
|
|
28086
28166
|
const weightNum = parseInt(e.target.value, 10);
|
|
28087
28167
|
if (!isNaN(weightNum)) {
|
|
28088
|
-
let matchingWeights = weights[this.postagetype.value].filter((x) => {
|
|
28168
|
+
let matchingWeights = weights$1[this.postagetype.value].filter((x) => {
|
|
28089
28169
|
let weightInGrams = (x.abbreviation === "kg") ? x.value * 1000 : x.value;
|
|
28090
28170
|
return weightInGrams >= weightNum;
|
|
28091
28171
|
});
|
|
@@ -28095,16 +28175,16 @@ const PnFindProductPricelist = class extends HTMLElement {
|
|
|
28095
28175
|
}
|
|
28096
28176
|
}
|
|
28097
28177
|
}
|
|
28098
|
-
} }), h("span", { class: "weightoption-input-abbreviation" }, this.weight.abbreviation)), h("div", { class: "weightoption-range" }, h("input", { type: "range", id: "weightrange", name: "weightrange", list: "weightlist", value: (!this.weight.value) ? 0 : weights[this.postagetype.value].findIndex((x) => x.value === this.weightvalue), onChange: (e) => {
|
|
28178
|
+
} }), h("span", { class: "weightoption-input-abbreviation" }, this.weight.abbreviation)), h("div", { class: "weightoption-range" }, h("input", { type: "range", id: "weightrange", name: "weightrange", list: "weightlist", value: (!this.weight.value) ? 0 : weights$1[this.postagetype.value].findIndex((x) => x.value === this.weightvalue), onChange: (e) => {
|
|
28099
28179
|
const value = e.target.value;
|
|
28100
|
-
this.weight = weights[this.postagetype.value][value];
|
|
28180
|
+
this.weight = weights$1[this.postagetype.value][value];
|
|
28101
28181
|
this.weightvalue = this.weight.value;
|
|
28102
28182
|
}, min: "0",
|
|
28103
28183
|
// max={ weights[this.postagetype.value][weights[this.postagetype.value].length - 1].value }
|
|
28104
|
-
max: weights[this.postagetype.value].length - 1 }), h("datalist", { id: "weightlist" }, weights[this.postagetype.value].map((weight, weightindex) => {
|
|
28184
|
+
max: weights$1[this.postagetype.value].length - 1 }), h("datalist", { id: "weightlist" }, weights$1[this.postagetype.value].map((weight, weightindex) => {
|
|
28105
28185
|
let labelText = weight.name;
|
|
28106
|
-
if (weights[this.postagetype.value].length > 6) {
|
|
28107
|
-
labelText = (weightindex % 5 === 0 || weightindex === 0 || weightindex === weights[this.postagetype.value].length - 1) ? weight.name : '';
|
|
28186
|
+
if (weights$1[this.postagetype.value].length > 6) {
|
|
28187
|
+
labelText = (weightindex % 5 === 0 || weightindex === 0 || weightindex === weights$1[this.postagetype.value].length - 1) ? weight.name : '';
|
|
28108
28188
|
}
|
|
28109
28189
|
return (h("option", Object.assign({ value: weightindex }, (labelText ? { label: labelText } : {}))));
|
|
28110
28190
|
})))))) : null, h("div", { class: "resultlist", "data-list-count": this.filteredItems.length }, this.filteredItems.map((item) => (h("div", null, h("pn-find-price-result", { item: item })))))));
|
|
@@ -28119,7 +28199,7 @@ const PnFindProductPricelist = class extends HTMLElement {
|
|
|
28119
28199
|
};
|
|
28120
28200
|
|
|
28121
28201
|
// Read more about how stencil stores work here: https://stenciljs.com/docs/stencil-store
|
|
28122
|
-
const { state: state$
|
|
28202
|
+
const { state: state$3, onChange: onChange$3 } = createStore({
|
|
28123
28203
|
i18n: {
|
|
28124
28204
|
maxweightlabel: '',
|
|
28125
28205
|
weightlabel: '',
|
|
@@ -28135,7 +28215,7 @@ const { state: state$2, onChange: onChange$2 } = createStore({
|
|
|
28135
28215
|
|
|
28136
28216
|
const pnProductPricelistResultCss = "";
|
|
28137
28217
|
|
|
28138
|
-
|
|
28218
|
+
let PnFindProductPricelistResult = class extends HTMLElement {
|
|
28139
28219
|
constructor() {
|
|
28140
28220
|
super();
|
|
28141
28221
|
this.__registerHost();
|
|
@@ -28171,7 +28251,7 @@ const PnFindProductPricelistResult = class extends HTMLElement {
|
|
|
28171
28251
|
return (h(Host, null, this.shownitems.map((item) => (h("pn-product-card", { "data-productid": item.id }, h("pn-illustration", { slot: "illustration", illustration: this.item.illustration }), h("div", { slot: "title" }, h("h2", null, item.name, " "), (this.item.highestrankusp) ?
|
|
28172
28252
|
(this.item.highestrankusp === "Billigast") ?
|
|
28173
28253
|
(h("pn-titletag", { slot: "Billigast", icon: "box-label" }, this.item.highestrankusp))
|
|
28174
|
-
: (h("pn-titletag", { slot: "Snabbast", icon: "bolt", color: "blue700" }, this.item.highestrankusp)) : null), h("div", { slot: "content" }, h("div", { 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("small", { slot: "note" }, h("p", null, this.item.note))) : null, this.item.additionalusp ? (h("div", { slot: "additionalUSP" })) : null, this.showMeasurement ? (h("pn-product-card-info", { paket: this.item.maxmått, rulle: this.item.rulle })) : null, h("div", { slot: "cardprice" }, this.item.pricesenddirect ? (h("pn-product-card-price", { slot: "sendDirectPrice", label: state$
|
|
28254
|
+
: (h("pn-titletag", { slot: "Snabbast", icon: "bolt", color: "blue700" }, this.item.highestrankusp)) : null), h("div", { slot: "content" }, h("div", { 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("small", { slot: "note" }, h("p", null, this.item.note))) : null, this.item.additionalusp ? (h("div", { slot: "additionalUSP" })) : null, this.showMeasurement ? (h("pn-product-card-info", { paket: this.item.maxmått, rulle: this.item.rulle })) : null, h("div", { slot: "cardprice" }, this.item.pricesenddirect ? (h("pn-product-card-price", { slot: "sendDirectPrice", label: state$3.i18n.senddirectcta, amount: this.item.pricesenddirect + '', currency: state$3.market.currency, url: sendDirectUrl, service: this.item.name + "-portal" })) : null, this.item.pricestamps ? (h("pn-product-card-price", { slot: "stampPrice", label: state$3.i18n.stampshopcta, amount: this.item.pricestamps + '', currency: state$3.market.currency, url: stampShopUrl, service: this.item.name + "-eshop" })) : null))
|
|
28175
28255
|
// <pn-product-tile>
|
|
28176
28256
|
// <pn-illustration slot="illustration" illustration={ item.illustration }></pn-illustration>
|
|
28177
28257
|
// <div slot="content">
|
|
@@ -28198,7 +28278,7 @@ const PnFindProductPricelistResult = class extends HTMLElement {
|
|
|
28198
28278
|
|
|
28199
28279
|
const pnProductTileCss = "pn-product-tile{margin-bottom:1em;border:0.1rem solid #D3CECB;outline:none;background:white;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);display:-ms-flexbox;display:flex;padding:1.5em;word-break:break-word;text-decoration:none;border-radius:0.8rem}pn-product-tile [slot=content] h3{display:-ms-flexbox;display:flex;width:100%;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:0.5em}pn-product-tile>pn-illustration{min-width:8rem;width:8rem;height:8rem;margin-right:3rem;-ms-flex-item-align:center;align-self:center}pn-product-tile .tilecontent{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}pn-product-tile .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:100%}pn-product-tile .info{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;max-width:66.6666666667%;-ms-flex-flow:wrap;flex-flow:wrap}pn-product-tile .info>*{min-width:6em;margin:0.2em 1em 0.2em 0}";
|
|
28200
28280
|
|
|
28201
|
-
|
|
28281
|
+
let PnProductTile$1 = class extends HTMLElement {
|
|
28202
28282
|
constructor() {
|
|
28203
28283
|
super();
|
|
28204
28284
|
this.__registerHost();
|
|
@@ -28211,13 +28291,10 @@ const PnProductTile$1 = class extends HTMLElement {
|
|
|
28211
28291
|
|
|
28212
28292
|
const pnProductTileInfoCss = "pn-product-tile-info{-ms-flex-item-align:center;align-self:center}";
|
|
28213
28293
|
|
|
28214
|
-
|
|
28294
|
+
let PnProductTileInfo$1 = class extends HTMLElement {
|
|
28215
28295
|
constructor() {
|
|
28216
28296
|
super();
|
|
28217
28297
|
this.__registerHost();
|
|
28218
|
-
this.label = undefined;
|
|
28219
|
-
this.text = undefined;
|
|
28220
|
-
this.icon = undefined;
|
|
28221
28298
|
}
|
|
28222
28299
|
render() {
|
|
28223
28300
|
return (h(Host, null, (this.label) ? (h("p", null, h("small", null, this.label))) : null, (this.text) ? (h("h3", null, this.text)) : null));
|
|
@@ -28228,14 +28305,10 @@ h("pn-icon", { symbol: "align-center", small: "false", color: "black" });
|
|
|
28228
28305
|
|
|
28229
28306
|
const pnProductTilePriceCss = "pn-product-tile-price{margin-top:1em;white-space:nowrap;text-align:right}pn-product-tile-price span{font-size:3em;font-size:clamp(2em, 6vw, 3em)}pn-product-tile-price span:last-child{display:inline-block;margin-left:0.2em}pn-product-tile-price+pn-product-tile-price{margin-left:1.5em}pn-product-tile-price pn-icon{display:inline-block;-ms-flex-item-align:center;align-self:center}pn-product-tile-price a{text-decoration:none;color:#005D92}pn-product-tile-price a h3{text-decoration:underline}";
|
|
28230
28307
|
|
|
28231
|
-
|
|
28308
|
+
let PnProductTilePrice$1 = class extends HTMLElement {
|
|
28232
28309
|
constructor() {
|
|
28233
28310
|
super();
|
|
28234
28311
|
this.__registerHost();
|
|
28235
|
-
this.label = undefined;
|
|
28236
|
-
this.amount = undefined;
|
|
28237
|
-
this.currency = undefined;
|
|
28238
|
-
this.url = undefined;
|
|
28239
28312
|
}
|
|
28240
28313
|
render() {
|
|
28241
28314
|
if (!this.amount) {
|
|
@@ -28247,7 +28320,7 @@ const PnProductTilePrice$1 = class extends HTMLElement {
|
|
|
28247
28320
|
};
|
|
28248
28321
|
|
|
28249
28322
|
// Read more about how stencil stores work here: https://stenciljs.com/docs/stencil-store
|
|
28250
|
-
const { state: state$
|
|
28323
|
+
const { state: state$2, onChange: onChange$2 } = createStore({
|
|
28251
28324
|
selectedUrl: '',
|
|
28252
28325
|
selectedType: '',
|
|
28253
28326
|
selectedProfile: '',
|
|
@@ -28260,7 +28333,7 @@ const { state: state$1, onChange: onChange$1 } = createStore({
|
|
|
28260
28333
|
|
|
28261
28334
|
const pnProfileModalCss = "pn-profile-modal{margin:1em auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:42.4rem;max-width:38.4rem;width:100%;padding:1.6rem;border-radius:8px;background:#FFFFFF}.profilemodal-container{padding:3.2rem;border-radius:8px;-webkit-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);border:0.1rem solid #F3F2F2;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.profilemodal-logo{display:none}.profilemodal-logo svg{display:block;margin:0 auto 2.4rem}.profilemodal-heading{text-align:center;font-weight:700}.profilemodal-content{margin:1.6rem 0 0}.profilemodal-content pn-segmented-control{-webkit-transform:translateZ(0) translateX(-50%);transform:translateZ(0) translateX(-50%);left:50%}.profilemodal-cta{margin:1.6rem 0 0;-webkit-transition:max-height 0.15s ease, opacity 0.15s ease;transition:max-height 0.15s ease, opacity 0.15s ease;overflow:hidden;opacity:1}.profilemodal-cta[aria-hidden=true]{max-height:0;opacity:1}.profilemodal-cta>pn-button{width:100%}";
|
|
28262
28335
|
|
|
28263
|
-
|
|
28336
|
+
let PnProfileModal$1 = class extends HTMLElement {
|
|
28264
28337
|
constructor() {
|
|
28265
28338
|
super();
|
|
28266
28339
|
this.__registerHost();
|
|
@@ -28276,12 +28349,12 @@ const PnProfileModal$1 = class extends HTMLElement {
|
|
|
28276
28349
|
this.bindEvents();
|
|
28277
28350
|
}
|
|
28278
28351
|
populateState() {
|
|
28279
|
-
state$
|
|
28280
|
-
state$
|
|
28281
|
-
state$
|
|
28352
|
+
state$2.i18n.chooseCustomerNumberText = this.chooseCustomerNumberText;
|
|
28353
|
+
state$2.i18n.choosenCompanyText = this.choosenCompanyText;
|
|
28354
|
+
state$2.i18n.toText = this.toText;
|
|
28282
28355
|
const selectedType = this.hostElement.querySelector('pn-profile-modal-type[selected="true"]');
|
|
28283
28356
|
if (selectedType) {
|
|
28284
|
-
state$
|
|
28357
|
+
state$2.selectedType = selectedType.getAttribute("name");
|
|
28285
28358
|
}
|
|
28286
28359
|
}
|
|
28287
28360
|
bindEvents() {
|
|
@@ -28301,7 +28374,7 @@ const PnProfileModal$1 = class extends HTMLElement {
|
|
|
28301
28374
|
}
|
|
28302
28375
|
}
|
|
28303
28376
|
onCTAClick() {
|
|
28304
|
-
if (!state$
|
|
28377
|
+
if (!state$2.selectedUrl) {
|
|
28305
28378
|
console.log('no Url as been selected, will not continue');
|
|
28306
28379
|
}
|
|
28307
28380
|
}
|
|
@@ -28309,14 +28382,14 @@ const PnProfileModal$1 = class extends HTMLElement {
|
|
|
28309
28382
|
if (!e || !e.detail) {
|
|
28310
28383
|
return;
|
|
28311
28384
|
}
|
|
28312
|
-
state$
|
|
28385
|
+
state$2.selectedUrl = e.detail;
|
|
28313
28386
|
const ctaBtn = this.hostElement.querySelector('.profilemodal-cta pn-button');
|
|
28314
28387
|
if (ctaBtn) {
|
|
28315
28388
|
ctaBtn.scrollIntoView({ block: "start", inline: "nearest", behavior: 'smooth' });
|
|
28316
28389
|
}
|
|
28317
28390
|
}
|
|
28318
28391
|
render() {
|
|
28319
|
-
return (h(Host, null, h("div", { class: "profilemodal-container" }, h("div", { class: "profilemodal-logo" }, h("svg", { viewBox: "0 0 133 26", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "17.1rem", height: "3.2rem" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", fill: "#00A0D6", d: "M132.749 0.333618V20.9198H126.976V19.3809C126.976 19.3809 125.475 21.4316 122.191 21.4316C117.381 21.4316 114.662 17.7015 114.662 13.0327C114.662 8.47612 117.776 4.7187 122.617 4.7187C125.589 4.7187 126.976 6.19924 126.976 6.19924V1.47206L132.749 0.333618ZM54.2322 1.67091H60.0055V5.20216H65.3564L62.7235 10.0999H60.0055V20.9198H54.2322V1.67091ZM28.2484 21.4023C32.8051 21.4023 37.6446 18.8974 37.6446 12.9187C37.6446 7.16616 32.9746 4.69042 28.4461 4.69042C23.8042 4.69042 19.049 7.25192 19.049 13.175C19.049 18.9549 23.7199 21.4023 28.2484 21.4023ZM28.3327 9.78608C30.2294 9.78608 31.5032 11.1243 31.5032 13.0902C31.5032 14.9392 30.2575 16.3076 28.3327 16.3076C26.437 16.3076 25.1351 14.9392 25.1351 13.0902C25.1351 11.1243 26.4089 9.78608 28.3327 9.78608ZM47.0708 10.8963C46.8158 10.8574 46.5804 10.8239 46.3639 10.7931C44.9938 10.5979 44.3827 10.5108 44.3827 9.87279C44.3827 9.24608 45.146 8.9888 46.6465 8.9888C49.1941 8.9888 51.4298 9.84357 51.4298 9.84357L52.4488 5.43022C52.4488 5.43022 49.9865 4.71869 46.7027 4.71869C41.1841 4.71869 38.2965 6.85422 38.2965 10.2705C38.2965 12.9187 39.8532 14.485 44.4108 15.0825C46.3355 15.3388 47.0427 15.4519 47.0427 16.1644C47.0427 16.8486 46.2784 17.0757 44.9484 17.0757C42.0608 17.0757 39.3437 15.8515 39.3437 15.8515L38.1832 20.4081C38.1832 20.4081 40.9003 21.375 44.4389 21.375C50.3826 21.375 53.1279 19.2668 53.1279 15.8223C53.1279 13.0902 51.6555 11.6087 47.0708 10.8963ZM76.1968 4.69042C72.8287 4.69042 71.6111 6.74018 71.6111 6.74018V5.20216H65.8369V20.9198H71.6111V12.8612C71.6111 10.8689 72.3483 9.95666 74.1297 9.95666C75.913 9.95666 76.1687 11.4381 76.1687 13.3173V20.9198H81.9982V11.2666C81.9982 6.93903 79.9339 4.69042 76.1968 4.69042ZM123.948 9.8153C125.843 9.8153 127.144 11.1818 127.144 13.0327C127.144 14.9958 125.87 16.335 123.948 16.335C122.051 16.335 120.778 14.9958 120.778 13.0327C120.778 11.1818 122.024 9.8153 123.948 9.8153ZM112.456 10.213C110.53 10.213 109.088 10.9537 109.088 13.3456V20.9198H103.313V5.20216H109.088V7.02479C109.088 7.02479 109.965 4.97409 113.191 4.97409C114.181 4.97409 114.55 5.14467 114.55 5.14467L114.408 10.4976C114.408 10.4976 113.643 10.213 112.456 10.213ZM11.9728 13.0902C11.9728 11.1243 10.699 9.78608 8.80235 9.78608C6.87853 9.78608 5.6038 11.1243 5.6038 13.0902C5.6038 14.9392 6.9057 16.3076 8.80235 16.3076C10.728 16.3076 11.9728 14.9392 11.9728 13.0902ZM10.1333 21.4023C14.9728 21.4023 18.0871 17.6468 18.0871 13.0902C18.0871 8.41958 15.3699 4.69042 10.5576 4.69042C7.27472 4.69042 5.77426 6.74018 5.77426 6.74018V5.20216H0V25.4453H5.77426V19.9227C5.77426 19.9227 7.16139 21.4023 10.1333 21.4023ZM95.7984 13.0902C95.7984 11.1243 94.5246 9.78608 92.6279 9.78608C90.7032 9.78608 89.4284 11.1243 89.4284 13.0902C89.4284 14.9392 90.7322 16.3076 92.6279 16.3076C94.5536 16.3076 95.7984 14.9392 95.7984 13.0902ZM92.5427 21.4023C97.0994 21.4023 101.94 18.8974 101.94 12.9187C101.94 7.16616 97.2698 4.69042 92.7413 4.69042C88.0984 4.69042 83.3442 7.25192 83.3442 13.175C83.3442 18.9549 88.0142 21.4023 92.5427 21.4023Z" }))), this.heading === "" ? null : (h("div", { class: "profilemodal-heading" }, this.heading)), h("div", { class: "profilemodal-content" }, h("slot", null)), this.continueCtaText ? (h("div", { class: "profilemodal-cta", "aria-hidden": (!state$
|
|
28392
|
+
return (h(Host, null, h("div", { class: "profilemodal-container" }, h("div", { class: "profilemodal-logo" }, h("svg", { viewBox: "0 0 133 26", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "17.1rem", height: "3.2rem" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", fill: "#00A0D6", d: "M132.749 0.333618V20.9198H126.976V19.3809C126.976 19.3809 125.475 21.4316 122.191 21.4316C117.381 21.4316 114.662 17.7015 114.662 13.0327C114.662 8.47612 117.776 4.7187 122.617 4.7187C125.589 4.7187 126.976 6.19924 126.976 6.19924V1.47206L132.749 0.333618ZM54.2322 1.67091H60.0055V5.20216H65.3564L62.7235 10.0999H60.0055V20.9198H54.2322V1.67091ZM28.2484 21.4023C32.8051 21.4023 37.6446 18.8974 37.6446 12.9187C37.6446 7.16616 32.9746 4.69042 28.4461 4.69042C23.8042 4.69042 19.049 7.25192 19.049 13.175C19.049 18.9549 23.7199 21.4023 28.2484 21.4023ZM28.3327 9.78608C30.2294 9.78608 31.5032 11.1243 31.5032 13.0902C31.5032 14.9392 30.2575 16.3076 28.3327 16.3076C26.437 16.3076 25.1351 14.9392 25.1351 13.0902C25.1351 11.1243 26.4089 9.78608 28.3327 9.78608ZM47.0708 10.8963C46.8158 10.8574 46.5804 10.8239 46.3639 10.7931C44.9938 10.5979 44.3827 10.5108 44.3827 9.87279C44.3827 9.24608 45.146 8.9888 46.6465 8.9888C49.1941 8.9888 51.4298 9.84357 51.4298 9.84357L52.4488 5.43022C52.4488 5.43022 49.9865 4.71869 46.7027 4.71869C41.1841 4.71869 38.2965 6.85422 38.2965 10.2705C38.2965 12.9187 39.8532 14.485 44.4108 15.0825C46.3355 15.3388 47.0427 15.4519 47.0427 16.1644C47.0427 16.8486 46.2784 17.0757 44.9484 17.0757C42.0608 17.0757 39.3437 15.8515 39.3437 15.8515L38.1832 20.4081C38.1832 20.4081 40.9003 21.375 44.4389 21.375C50.3826 21.375 53.1279 19.2668 53.1279 15.8223C53.1279 13.0902 51.6555 11.6087 47.0708 10.8963ZM76.1968 4.69042C72.8287 4.69042 71.6111 6.74018 71.6111 6.74018V5.20216H65.8369V20.9198H71.6111V12.8612C71.6111 10.8689 72.3483 9.95666 74.1297 9.95666C75.913 9.95666 76.1687 11.4381 76.1687 13.3173V20.9198H81.9982V11.2666C81.9982 6.93903 79.9339 4.69042 76.1968 4.69042ZM123.948 9.8153C125.843 9.8153 127.144 11.1818 127.144 13.0327C127.144 14.9958 125.87 16.335 123.948 16.335C122.051 16.335 120.778 14.9958 120.778 13.0327C120.778 11.1818 122.024 9.8153 123.948 9.8153ZM112.456 10.213C110.53 10.213 109.088 10.9537 109.088 13.3456V20.9198H103.313V5.20216H109.088V7.02479C109.088 7.02479 109.965 4.97409 113.191 4.97409C114.181 4.97409 114.55 5.14467 114.55 5.14467L114.408 10.4976C114.408 10.4976 113.643 10.213 112.456 10.213ZM11.9728 13.0902C11.9728 11.1243 10.699 9.78608 8.80235 9.78608C6.87853 9.78608 5.6038 11.1243 5.6038 13.0902C5.6038 14.9392 6.9057 16.3076 8.80235 16.3076C10.728 16.3076 11.9728 14.9392 11.9728 13.0902ZM10.1333 21.4023C14.9728 21.4023 18.0871 17.6468 18.0871 13.0902C18.0871 8.41958 15.3699 4.69042 10.5576 4.69042C7.27472 4.69042 5.77426 6.74018 5.77426 6.74018V5.20216H0V25.4453H5.77426V19.9227C5.77426 19.9227 7.16139 21.4023 10.1333 21.4023ZM95.7984 13.0902C95.7984 11.1243 94.5246 9.78608 92.6279 9.78608C90.7032 9.78608 89.4284 11.1243 89.4284 13.0902C89.4284 14.9392 90.7322 16.3076 92.6279 16.3076C94.5536 16.3076 95.7984 14.9392 95.7984 13.0902ZM92.5427 21.4023C97.0994 21.4023 101.94 18.8974 101.94 12.9187C101.94 7.16616 97.2698 4.69042 92.7413 4.69042C88.0984 4.69042 83.3442 7.25192 83.3442 13.175C83.3442 18.9549 88.0142 21.4023 92.5427 21.4023Z" }))), this.heading === "" ? null : (h("div", { class: "profilemodal-heading" }, this.heading)), h("div", { class: "profilemodal-content" }, h("slot", null)), this.continueCtaText ? (h("div", { class: "profilemodal-cta", "aria-hidden": (!state$2.selectedUrl) + '' }, h("pn-button", { onclick: this.onCTAClick, href: state$2.selectedUrl, icon: "arrow-right" }, this.continueCtaText))) : null)));
|
|
28320
28393
|
}
|
|
28321
28394
|
get hostElement() { return this; }
|
|
28322
28395
|
static get style() { return pnProfileModalCss; }
|
|
@@ -28324,7 +28397,7 @@ const PnProfileModal$1 = class extends HTMLElement {
|
|
|
28324
28397
|
|
|
28325
28398
|
const pnProfileModalCustomernumberCss = ".pn-profile-modal-customernumber-button{display:block;border:0;margin:0;background:#fff;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;outline:0;padding:0.8rem;font-weight:400;font-size:1.4rem;border-radius:0.8rem;line-height:1.4;-webkit-transition:background 0.15s ease;transition:background 0.15s ease;text-align:left;width:100%}.pn-profile-modal-customernumber-button:hover,.pn-profile-modal-customernumber-button:focus,.pn-profile-modal-customernumber-button:active{background:#EFFBFF}";
|
|
28326
28399
|
|
|
28327
|
-
|
|
28400
|
+
let PnProfileModalCustomernumber$1 = class extends HTMLElement {
|
|
28328
28401
|
constructor() {
|
|
28329
28402
|
super();
|
|
28330
28403
|
this.__registerHost();
|
|
@@ -28346,7 +28419,7 @@ const PnProfileModalCustomernumber$1 = class extends HTMLElement {
|
|
|
28346
28419
|
|
|
28347
28420
|
const pnProfileModalProfileCss = "pn-profile-modal-type[selected=true]:not([selected-profile=\"\"]) pn-profile-modal-profile[selected=false]{display:none}.pn-profile-modal-profile-listitem{overflow:hidden;max-height:10rem;-webkit-transition:max-height 0.15s ease;transition:max-height 0.15s ease;opacity:1}.pn-profile-modal-profile-listitem[aria-hidden=true]{max-height:0;opacity:0}.pn-profile-modal-profile-listitem-button{padding:0.8rem;margin:0;background:#FFFFFF;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;cursor:pointer;border-radius:0.8rem;-webkit-transition:background 0.15s ease;transition:background 0.15s ease;text-align:left;width:100%}.pn-profile-modal-profile-listitem-button:hover,.pn-profile-modal-profile-listitem-button:focus,.pn-profile-modal-profile-listitem-button:active{background:#EFFBFF}.pn-profile-modal-profile-listitem[aria-hidden=true] .pn-profile-modal-profile-listitem-button{display:none}.pn-profile-modal-profile-listitem-heading{color:#005D92;font-weight:700;font-size:1.6rem}.pn-profile-modal-profile-listitem-description{color:#5E554A;font-weight:400;font-size:1.2rem}.pn-profile-modal-profile-details{max-height:300rem;-webkit-transition:max-height 0.15s ease;transition:max-height 0.15s ease;opacity:1}.pn-profile-modal-profile-details[aria-hidden=true]{max-height:0;opacity:0;overflow:hidden}.pn-profile-modal-profile-details>pn-button{position:relative;margin-left:-1.2rem}.pn-profile-modal-profile-details>pn-button .pn-button-content{font-weight:500}.pn-profile-modal-profile-details-company{border-top:1px solid #D3CECB;border-bottom:1px solid #D3CECB;padding:0.8rem 0.8rem;margin:1.6rem 0}.pn-profile-modal-profile-details-label{font-size:1.4rem;font-weight:500;margin-bottom:1.2rem}.pn-profile-modal-profile-details-company-heading{font-weight:700;font-size:1.6rem}.pn-profile-modal-profile-details-company-description{color:#5E554A;font-weight:400;font-size:1.2rem}.pn-profile-modal-profile-details-list{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:1.6rem;padding:0 0}.pn-profile-modal-profile-details-list-label{font-size:1.4rem;font-weight:500;margin:0 0 0 0.8rem}";
|
|
28348
28421
|
|
|
28349
|
-
|
|
28422
|
+
let PnProfileModalProfile$1 = class extends HTMLElement {
|
|
28350
28423
|
constructor() {
|
|
28351
28424
|
super();
|
|
28352
28425
|
this.__registerHost();
|
|
@@ -28372,14 +28445,14 @@ const PnProfileModalProfile$1 = class extends HTMLElement {
|
|
|
28372
28445
|
}
|
|
28373
28446
|
else {
|
|
28374
28447
|
// TODO: Open customer number selection
|
|
28375
|
-
state$
|
|
28448
|
+
state$2.selectedProfile = this.identifier;
|
|
28376
28449
|
}
|
|
28377
28450
|
}
|
|
28378
28451
|
render() {
|
|
28379
|
-
return (h(Host, { selected: this.selected + '' }, h("div", { class: "pn-profile-modal-profile-listitem", "aria-hidden": (!!(state$
|
|
28452
|
+
return (h(Host, { selected: this.selected + '' }, h("div", { class: "pn-profile-modal-profile-listitem", "aria-hidden": (!!(state$2.selectedProfile) + '') }, h("button", { class: "pn-profile-modal-profile-listitem-button", onClick: this.onProfileOptionClick.bind(this) }, h("div", { class: "pn-profile-modal-profile-listitem-heading" }, this.heading), h("div", { class: "pn-profile-modal-profile-listitem-description" }, this.description))), h("div", { class: "pn-profile-modal-profile-details", "aria-hidden": (!(state$2.selectedProfile === this.identifier)) + '' }, h("pn-button", { appearance: "light", variant: "borderless", icon: "arrow-left", "left-icon": "true", small: "true", onClick: () => {
|
|
28380
28453
|
this.selected = false;
|
|
28381
|
-
state$
|
|
28382
|
-
} }, state$
|
|
28454
|
+
state$2.selectedProfile = '';
|
|
28455
|
+
} }, state$2.i18n.toText, " ", state$2.selectedType), h("div", { class: "pn-profile-modal-profile-details-company" }, h("div", { class: "pn-profile-modal-profile-details-label" }, state$2.i18n.choosenCompanyText), h("div", { class: "pn-profile-modal-profile-details-company-heading" }, this.heading), h("div", { class: "pn-profile-modal-profile-details-company-description" }, this.description)), h("div", { class: "pn-profile-modal-profile-details-list" }, h("div", { class: "pn-profile-modal-profile-details-list-label" }, this.pleaseSelectText), h("slot", null)))));
|
|
28383
28456
|
}
|
|
28384
28457
|
get hostElement() { return this; }
|
|
28385
28458
|
static get style() { return pnProfileModalProfileCss; }
|
|
@@ -28387,7 +28460,7 @@ const PnProfileModalProfile$1 = class extends HTMLElement {
|
|
|
28387
28460
|
|
|
28388
28461
|
const pnProfileModalTypeCss = "pn-profile-modal-type{display:-ms-flexbox;display:flex;width:100%;padding:3.2rem 0 1.2rem;-ms-flex-direction:column;flex-direction:column;gap:1.6rem;display:none}pn-profile-modal-type:first-of-type{margin-top:2.4rem}pn-profile-modal-type:last-of-type{border-bottom:0;padding-bottom:0}pn-profile-modal-type:last-of-type .profileselectoroption{padding-bottom:0}pn-profile-modal-type[selected=true]{display:-ms-flexbox;display:flex;opacity:1}";
|
|
28389
28462
|
|
|
28390
|
-
|
|
28463
|
+
let PnProfileModalType$1 = class extends HTMLElement {
|
|
28391
28464
|
constructor() {
|
|
28392
28465
|
super();
|
|
28393
28466
|
this.__registerHost();
|
|
@@ -28398,15 +28471,15 @@ const PnProfileModalType$1 = class extends HTMLElement {
|
|
|
28398
28471
|
}
|
|
28399
28472
|
onSelectedChange() {
|
|
28400
28473
|
if (this.selected) {
|
|
28401
|
-
state$
|
|
28474
|
+
state$2.selectedType = this.name;
|
|
28402
28475
|
}
|
|
28403
|
-
state$
|
|
28476
|
+
state$2.selectedProfile = '';
|
|
28404
28477
|
[...this.hostElement.querySelectorAll('pn-profile-modal-profile')].map((x) => {
|
|
28405
28478
|
x.setAttribute("selected", 'false');
|
|
28406
28479
|
});
|
|
28407
28480
|
}
|
|
28408
28481
|
render() {
|
|
28409
|
-
return (h(Host, { selected: (state$
|
|
28482
|
+
return (h(Host, { selected: (state$2.selectedType === this.name) + '', "selected-profile": state$2.selectedProfile + '' }, h("slot", null)));
|
|
28410
28483
|
}
|
|
28411
28484
|
get hostElement() { return this; }
|
|
28412
28485
|
static get watchers() { return {
|
|
@@ -28415,7 +28488,7 @@ const PnProfileModalType$1 = class extends HTMLElement {
|
|
|
28415
28488
|
static get style() { return pnProfileModalTypeCss; }
|
|
28416
28489
|
};
|
|
28417
28490
|
|
|
28418
|
-
const translations$
|
|
28491
|
+
const translations$3 = {
|
|
28419
28492
|
'sv': {
|
|
28420
28493
|
'introMessage': `Välj ombud du vill agera som?`,
|
|
28421
28494
|
},
|
|
@@ -28438,14 +28511,14 @@ const translations$2 = {
|
|
|
28438
28511
|
|
|
28439
28512
|
const pnProfileSelectorCss = "pn-profile-selector{margin:1em auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:42.4rem;max-width:38.4rem;width:100%;padding:1.6rem;border-radius:8px;background:#FFFFFF}.profileselector-container{padding:3.2rem;border-radius:8px;-webkit-box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);box-shadow:0 0.06rem 0.18rem rgba(0, 0, 0, 0.1), 0 0.32rem 0.72rem rgba(0, 0, 0, 0.13);border:0.1rem solid #F3F2F2;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.profileselector-logo svg{display:block;margin:0 auto 2.4rem}.profileselector-intromessage{text-align:center;font-weight:700}";
|
|
28440
28513
|
|
|
28441
|
-
|
|
28514
|
+
let PnProfileSelector$1 = class extends HTMLElement {
|
|
28442
28515
|
constructor() {
|
|
28443
28516
|
super();
|
|
28444
28517
|
this.__registerHost();
|
|
28445
|
-
this.language = "sv";
|
|
28446
|
-
this.returnUrl = "/";
|
|
28447
|
-
this.heading = null;
|
|
28448
|
-
this.i18n = translations$
|
|
28518
|
+
this.language = "sv"; //sv
|
|
28519
|
+
this.returnUrl = "/"; //sv
|
|
28520
|
+
this.heading = null; //sv
|
|
28521
|
+
this.i18n = translations$3["en"];
|
|
28449
28522
|
this.isLoading = true;
|
|
28450
28523
|
this.numberOfProfiles = 1;
|
|
28451
28524
|
}
|
|
@@ -28456,8 +28529,8 @@ const PnProfileSelector$1 = class extends HTMLElement {
|
|
|
28456
28529
|
this.setTranslations();
|
|
28457
28530
|
}
|
|
28458
28531
|
setTranslations() {
|
|
28459
|
-
if (this.language && translations$
|
|
28460
|
-
this.i18n = translations$
|
|
28532
|
+
if (this.language && translations$3[this.language]) {
|
|
28533
|
+
this.i18n = translations$3[this.language];
|
|
28461
28534
|
}
|
|
28462
28535
|
}
|
|
28463
28536
|
render() {
|
|
@@ -28469,7 +28542,7 @@ const PnProfileSelector$1 = class extends HTMLElement {
|
|
|
28469
28542
|
|
|
28470
28543
|
const pnProfileSelectorOptionCss = "pn-profile-selector-option{display:-ms-flexbox;display:flex;width:100%;border-bottom:1px solid #D3CECB;padding:1.2rem 0}pn-profile-selector-option:first-of-type{margin-top:2.4rem}pn-profile-selector-option:last-of-type{border-bottom:0;padding-bottom:0}pn-profile-selector-option:last-of-type .profileselectoroption{padding-bottom:0}.profileselectoroption{display:-ms-flexbox;display:flex;width:100%;padding:1.2rem 0;text-decoration:none}.profileselectoroption pn-icon{-ms-flex-item-align:center;align-self:center;position:relative;-webkit-transform:translateX(-1rem);transform:translateX(-1rem);-webkit-transition:-webkit-transform 0.25s linear;transition:-webkit-transform 0.25s linear;transition:transform 0.25s linear;transition:transform 0.25s linear, -webkit-transform 0.25s linear}.profileselectoroption:hover .profileselectoroption-name,.profileselectoroption:focus .profileselectoroption-name,.profileselectoroption:active .profileselectoroption-name{text-decoration:underline}.profileselectoroption:hover pn-icon,.profileselectoroption:focus pn-icon,.profileselectoroption:active pn-icon{-webkit-transform:none;transform:none;-webkit-transition-timing-function:ease;transition-timing-function:ease}.profileselectoroption-text{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.profileselectoroption-title{font-size:1em;color:#005D92;font-weight:700}.profileselectoroption-description{font-size:0.75em;color:#5E554A;font-weight:normal}";
|
|
28471
28544
|
|
|
28472
|
-
|
|
28545
|
+
let PnProfileSelectorOption$1 = class extends HTMLElement {
|
|
28473
28546
|
constructor() {
|
|
28474
28547
|
super();
|
|
28475
28548
|
this.__registerHost();
|
|
@@ -28484,6 +28557,309 @@ const PnProfileSelectorOption$1 = class extends HTMLElement {
|
|
|
28484
28557
|
static get style() { return pnProfileSelectorOptionCss; }
|
|
28485
28558
|
};
|
|
28486
28559
|
|
|
28560
|
+
const translations$2 = {
|
|
28561
|
+
'sv': {
|
|
28562
|
+
'componentheading': 'Våra priser och villkor för inrikesförsändelser för dig som direktbetalande kund?',
|
|
28563
|
+
'deliveryscopeheading': 'Endast leveranser inom Sverige',
|
|
28564
|
+
'resultlistheading': 'Några bra alternativ för dig',
|
|
28565
|
+
'sizeheading': 'Uppskatta storleken på din försändelse',
|
|
28566
|
+
'weightheading': 'Uppskatta vikten på din försändelse',
|
|
28567
|
+
'weightlabel': 'Vikt',
|
|
28568
|
+
'maxweightlabel': 'Maxvikt',
|
|
28569
|
+
'maxmeasurementlabel': 'Maxvolym',
|
|
28570
|
+
'senddirectcta': 'Köp online',
|
|
28571
|
+
'stampshopcta': 'Till butiken',
|
|
28572
|
+
'message': '*Vid köp hos valfritt ombud',
|
|
28573
|
+
'servicePointHeader': 'Eller hitta närmaste serviceställe',
|
|
28574
|
+
'servicePointLink': 'Hitta Serviceställe',
|
|
28575
|
+
'realPostcard': 'Köp Riktiga Vykort',
|
|
28576
|
+
'realPostcardMobile': 'Ladda ner appen',
|
|
28577
|
+
'ombudHeader': 'Köp via ombud',
|
|
28578
|
+
"from": "Från ",
|
|
28579
|
+
"labelMaxDimensionsRoll": "Rulle",
|
|
28580
|
+
"labelMaxDimensions": "Maxmått"
|
|
28581
|
+
},
|
|
28582
|
+
'en': {
|
|
28583
|
+
'componentheading': 'Our prices and terms and conditions for domestic shipments for you as a direct paying customer',
|
|
28584
|
+
'deliveryscopeheading': 'Deliveries within Sweden only',
|
|
28585
|
+
'resultlistheading': 'Some suitable options for you',
|
|
28586
|
+
'sizeheading': 'Estimate the size of your shipment',
|
|
28587
|
+
'weightheading': 'Estimate the weight of your shipment',
|
|
28588
|
+
'weightlabel': 'Weight',
|
|
28589
|
+
'maxweightlabel': 'Max weight',
|
|
28590
|
+
'maxmeasurementlabel': 'Maximum measurement',
|
|
28591
|
+
'senddirectcta': 'Buy Online',
|
|
28592
|
+
'stampshopcta': 'To the Store',
|
|
28593
|
+
'message': 'When buying from any agent',
|
|
28594
|
+
'servicePointHeader': 'Find service point',
|
|
28595
|
+
'servicePointLink': 'Find service point',
|
|
28596
|
+
'realPostcard': 'Buy Postcards',
|
|
28597
|
+
'realPostcardMobile': 'Download the app',
|
|
28598
|
+
'ombudHeader': 'Purchase by agent',
|
|
28599
|
+
"from": "From ",
|
|
28600
|
+
"labelMaxDimensionsRoll": "Roll",
|
|
28601
|
+
"labelMaxDimensions": "Maximum dimensions"
|
|
28602
|
+
},
|
|
28603
|
+
'da': {
|
|
28604
|
+
'componentheading': 'Vad vill du skicka?',
|
|
28605
|
+
'deliveryscopeheading': 'Kun leveringer indenfor Sverige',
|
|
28606
|
+
'resultlistheading': 'Nogle passende muligheder for dig',
|
|
28607
|
+
'sizeheading': 'Anslå størrelsen på din forsendelse',
|
|
28608
|
+
'weightheading': 'Anslå vægten af din forsendelse',
|
|
28609
|
+
'weightlabel': 'Vægt',
|
|
28610
|
+
'maxweightlabel': 'Max vægt',
|
|
28611
|
+
'maxmeasurementlabel': 'Maks. Volumen',
|
|
28612
|
+
'senddirectcta': 'Køb Online',
|
|
28613
|
+
'stampshopcta': 'Til butikken',
|
|
28614
|
+
'message': 'When buying from any agent',
|
|
28615
|
+
'servicePointHeader': 'Find nærmeste servicested',
|
|
28616
|
+
'servicePointLink': 'Find nærmeste servicested',
|
|
28617
|
+
'realPostcard': 'Køb Riktiga Vykort',
|
|
28618
|
+
'ombudHeader': 'Køb af agent',
|
|
28619
|
+
"from": "Från ",
|
|
28620
|
+
"labelMaxDimensionsRoll": "Rulle",
|
|
28621
|
+
"labelMaxDimensions": "Maks måle"
|
|
28622
|
+
},
|
|
28623
|
+
'no': {
|
|
28624
|
+
'componentheading': 'Vad vill du skicka?',
|
|
28625
|
+
'deliveryscopeheading': 'Kun leveranser innen Sverige',
|
|
28626
|
+
'resultlistheading': 'Some suitable options for you',
|
|
28627
|
+
'weightlabel': 'Vekt',
|
|
28628
|
+
'maxweightlabel': 'Maks vekt',
|
|
28629
|
+
'maxmeasurementlabel': 'Maks volum',
|
|
28630
|
+
'senddirectcta': 'Buy shipping in Send Direct',
|
|
28631
|
+
'stampshopcta': 'Order home stamps from the webshop',
|
|
28632
|
+
},
|
|
28633
|
+
'fi': {
|
|
28634
|
+
'componentheading': 'Vad vill du skicka?',
|
|
28635
|
+
'deliveryscopeheading': 'Toimitukset vain Ruotsin sisällä',
|
|
28636
|
+
'resultlistheading': 'Some suitable options for you',
|
|
28637
|
+
'weightlabel': 'Paino',
|
|
28638
|
+
'maxweightlabel': 'Max paino',
|
|
28639
|
+
'maxmeasurementlabel': 'Max äänenvoimakkuus',
|
|
28640
|
+
'senddirectcta': 'Buy shipping in Send Direct',
|
|
28641
|
+
'stampshopcta': 'Order home stamps from the webshop',
|
|
28642
|
+
}
|
|
28643
|
+
};
|
|
28644
|
+
const markets = {
|
|
28645
|
+
'se': {
|
|
28646
|
+
"currency": "kr",
|
|
28647
|
+
"country": "Sweden",
|
|
28648
|
+
"servicePoint": "https://www.postnord.se/vara-verktyg/sok-brevlada-eller-servicestalle",
|
|
28649
|
+
},
|
|
28650
|
+
'dk': {
|
|
28651
|
+
"currency": "dk",
|
|
28652
|
+
"country": "Denmark",
|
|
28653
|
+
"servicePoint": "https://www.postnord.dk/varktojer/find-os",
|
|
28654
|
+
},
|
|
28655
|
+
'fi': {
|
|
28656
|
+
"currency": " €",
|
|
28657
|
+
"country": "Finland",
|
|
28658
|
+
"servicePoint": "",
|
|
28659
|
+
},
|
|
28660
|
+
'no': {
|
|
28661
|
+
"currency": "kr",
|
|
28662
|
+
"country": "Norway",
|
|
28663
|
+
"servicePoint": "",
|
|
28664
|
+
}
|
|
28665
|
+
};
|
|
28666
|
+
|
|
28667
|
+
const sizeCategories = [
|
|
28668
|
+
{ name: "S", value: "S", illustration: "eli1n", unit: "S" },
|
|
28669
|
+
{ name: "M", value: "M", illustration: "medium-package", unit: "M"},
|
|
28670
|
+
{ name: "L", value: "L", illustration: "large-package", unit: "L"},
|
|
28671
|
+
];
|
|
28672
|
+
|
|
28673
|
+
const weights = {
|
|
28674
|
+
"S": [
|
|
28675
|
+
{ name: "50 g", abbreviation: 'g', value: 50 },
|
|
28676
|
+
{ name: "100 g", abbreviation: 'g', value: 100 },
|
|
28677
|
+
{ name: "250 g", abbreviation: 'g', value: 250 },
|
|
28678
|
+
{ name: "500 g", abbreviation: 'g', value: 500 },
|
|
28679
|
+
{ name: "1 kg", abbreviation: 'kg', value: 1000 },
|
|
28680
|
+
{ name: "2 kg", abbreviation: 'kg', value: 2000 },
|
|
28681
|
+
],
|
|
28682
|
+
"M": [
|
|
28683
|
+
{ name: "1 kg", abbreviation: 'kg', value: 1000 },
|
|
28684
|
+
{ name: "2 kg", abbreviation: 'kg', value: 2000},
|
|
28685
|
+
{ name: "3 kg", abbreviation: 'kg', value: 3000 },
|
|
28686
|
+
{ name: "5 kg", abbreviation: 'kg', value: 5000 },
|
|
28687
|
+
{ name: "10 kg", abbreviation: 'kg', value: 10000 },
|
|
28688
|
+
{ name: "15 kg", abbreviation: 'kg', value: 15000 },
|
|
28689
|
+
{ name: "20 kg", abbreviation: 'kg', value: 20000 },
|
|
28690
|
+
],
|
|
28691
|
+
"L": [
|
|
28692
|
+
{ name: "3 kg", abbreviation: 'kg', value: 3000 },
|
|
28693
|
+
{ name: "5 kg", abbreviation: 'kg', value: 5000 },
|
|
28694
|
+
{ name: "10 kg", abbreviation: 'kg', value: 10000 },
|
|
28695
|
+
{ name: "15 kg", abbreviation: 'kg', value: 15000 },
|
|
28696
|
+
{ name: "20 kg", abbreviation: 'kg', value: 20000 },
|
|
28697
|
+
]
|
|
28698
|
+
};
|
|
28699
|
+
|
|
28700
|
+
// Read more about how stencil stores work here: https://stenciljs.com/docs/stencil-store
|
|
28701
|
+
const { state: state$1, onChange: onChange$1 } = createStore({
|
|
28702
|
+
i18n: {
|
|
28703
|
+
componentheading: '',
|
|
28704
|
+
deliveryscopeheading: '',
|
|
28705
|
+
resultlistheading: '',
|
|
28706
|
+
sizeheading: '',
|
|
28707
|
+
weightheading: '',
|
|
28708
|
+
weightlabel: '',
|
|
28709
|
+
maxweightlabel: '',
|
|
28710
|
+
maxmeasurementlabel: '',
|
|
28711
|
+
senddirectcta: '',
|
|
28712
|
+
stampshopcta: '',
|
|
28713
|
+
message: '',
|
|
28714
|
+
servicePointHeader: '',
|
|
28715
|
+
servicePointLink: '',
|
|
28716
|
+
realPostcard: '',
|
|
28717
|
+
realPostcardMobile: '',
|
|
28718
|
+
ombudHeader: ''
|
|
28719
|
+
},
|
|
28720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LjUyOEMxMTkuNTEgMTAuMzc1MyAxMTUuNDYzIDE1LjUyNDcgMTE1LjQ2MyAyMS44MTg0VjI2LjU4NjRIMTMxLjA1NloiIGZpbGw9IiNFMEY4RkYiLz4KPC9zdmc+Cg==';
|
|
28736
|
+
|
|
28737
|
+
const pnProxioFindpriceCss = "@charset \"UTF-8\";pn-proxio-findprice .findprice-form{margin:0em auto 3em auto}pn-proxio-findprice .findprice-form-wrapper{background-color:#EFFBFF;padding:3.2rem 0}pn-proxio-findprice .sizeTable{border-style:none !important;border:0 !important;position:relative}pn-proxio-findprice .sizeTable>tr td{margin-bottom:1em;text-align:center;vertical-align:bottom;padding-right:1em;padding-top:1em}pn-proxio-findprice .sizeTable #clouds{position:absolute;top:0em;left:4em;z-index:-1}pn-proxio-findprice .firstCell{margin-right:0;margin-left:auto}pn-proxio-findprice [slot=title]{margin-bottom:1rem}pn-proxio-findprice h2{text-align:center}pn-proxio-findprice .heading{text-align:center;line-height:1.1;font-weight:bold;margin-bottom:1rem;color:#000000}pn-proxio-findprice .resultHeading{text-align:center;font-size:1.5em;line-height:1.1;font-weight:bold;margin-bottom:2em}pn-proxio-findprice .sizecategory{margin-top:1em;margin-bottom:3rem;font-size:0.9em;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}pn-proxio-findprice .weightoption{font-size:0.9em;margin:0 auto}pn-proxio-findprice .weightoption-content{text-align:center}pn-proxio-findprice .weightoption-content pn-choice-button{width:7em;line-height:3.3em;font-size:0.9em;vertical-align:bottom}pn-proxio-findprice .weightoption-content pn-choice-button>label{-ms-flex-line-pack:center;align-content:center;-ms-flex-pack:center;justify-content:center}pn-proxio-findprice .weightoption-content pn-choice-button ::before{content:\"Max \";font-weight:lighter}pn-proxio-findprice .resultlist{max-width:60em;margin:3.2rem auto 3.2rem auto}pn-proxio-findprice .servicePoint{text-align:center}pn-proxio-findprice .servicePoint pn-illustration{display:block;max-width:5em;max-height:5em;margin:1.5em auto 0 auto}pn-proxio-findprice .servicePoint h3{margin-top:0.8em;margin-bottom:0.9em}pn-proxio-findprice .servicePoint a{color:#005D92;text-decoration:none}pn-proxio-findprice .servicePoint a:hover{color:#0D234B;text-decoration:underline}";
|
|
28738
|
+
|
|
28739
|
+
let PnProxioFindPrice = class extends HTMLElement {
|
|
28740
|
+
constructor() {
|
|
28741
|
+
super();
|
|
28742
|
+
this.__registerHost();
|
|
28743
|
+
this.endpoint = null;
|
|
28744
|
+
this.language = "da";
|
|
28745
|
+
this.market = "dk";
|
|
28746
|
+
this.cache = false;
|
|
28747
|
+
this.filteredItems = [];
|
|
28748
|
+
this.weight = { value: 0, name: "" };
|
|
28749
|
+
this.weightvalue = 0;
|
|
28750
|
+
this.sizecategory = { value: "", name: "", icon: "", unit: "" };
|
|
28751
|
+
this.data = { proxioProducts: [] };
|
|
28752
|
+
this.fetchHelper = new FetchHelper("proxiopricegroups");
|
|
28753
|
+
}
|
|
28754
|
+
componentWillLoad() {
|
|
28755
|
+
this.setInitialValues().then(() => {
|
|
28756
|
+
this.init();
|
|
28757
|
+
});
|
|
28758
|
+
}
|
|
28759
|
+
async setInitialValues(href = window.location.href) {
|
|
28760
|
+
const marketWebContextService = new MarketWebContextService(href);
|
|
28761
|
+
const environment = await marketWebContextService.getEnvironmentName();
|
|
28762
|
+
if ((!this.endpoint && (environment === null || environment === void 0 ? void 0 : environment.indexOf('local')) === -1)) {
|
|
28763
|
+
const market = await marketWebContextService.getMarket();
|
|
28764
|
+
this.endpoint = await marketWebContextService.getEndpoint(environment, market);
|
|
28765
|
+
}
|
|
28766
|
+
if (!this.endpoint) {
|
|
28767
|
+
this.endpoint = "";
|
|
28768
|
+
}
|
|
28769
|
+
}
|
|
28770
|
+
init() {
|
|
28771
|
+
this.setState();
|
|
28772
|
+
this.getDataSource();
|
|
28773
|
+
this.fetchData();
|
|
28774
|
+
}
|
|
28775
|
+
async getDataSource() {
|
|
28776
|
+
try {
|
|
28777
|
+
//for keeping small value preselected
|
|
28778
|
+
this.sizecategory = sizeCategories.filter(x => x.value === "S")[0];
|
|
28779
|
+
console.log(this.sizecategory);
|
|
28780
|
+
this.filterItems();
|
|
28781
|
+
}
|
|
28782
|
+
catch (e) {
|
|
28783
|
+
console.log('Unable to parse data');
|
|
28784
|
+
}
|
|
28785
|
+
}
|
|
28786
|
+
async fetchData() {
|
|
28787
|
+
if (!this.market || !this.language) {
|
|
28788
|
+
return;
|
|
28789
|
+
}
|
|
28790
|
+
const endpoint = (this.endpoint.lastIndexOf("/") === this.endpoint.length - 1) ? this.endpoint.substring(0, this.endpoint.length - 1) : this.endpoint;
|
|
28791
|
+
const fetchUrl = `${endpoint}/api/proxio/price-list-groups?market=${this.market}&language=${this.language}&cached=${this.cache}`;
|
|
28792
|
+
//const fetchUrl = `http://localhost:51444/api/proxio/price-list-groups?market=${this.market}&language=${this.language}&cached=${this.cache}`;
|
|
28793
|
+
const data = await this.fetchHelper.fetchJson(fetchUrl, {
|
|
28794
|
+
'mode': 'cors',
|
|
28795
|
+
}, this.cache, this.onFetchData.bind(this));
|
|
28796
|
+
if (data) {
|
|
28797
|
+
this.data.proxioProducts = data;
|
|
28798
|
+
}
|
|
28799
|
+
this.filterItems();
|
|
28800
|
+
}
|
|
28801
|
+
onFetchData(data) {
|
|
28802
|
+
this.data = data;
|
|
28803
|
+
}
|
|
28804
|
+
setState() {
|
|
28805
|
+
this.market = "dk";
|
|
28806
|
+
if (this.market) {
|
|
28807
|
+
state$1.market = markets[this.market];
|
|
28808
|
+
}
|
|
28809
|
+
if (this.language && translations$2[this.language]) {
|
|
28810
|
+
state$1.i18n = translations$2[this.language];
|
|
28811
|
+
}
|
|
28812
|
+
}
|
|
28813
|
+
filterItems() {
|
|
28814
|
+
if (!this.data) {
|
|
28815
|
+
console.log('Data has not yet been loaded');
|
|
28816
|
+
return;
|
|
28817
|
+
}
|
|
28818
|
+
console.log("data ", this.data);
|
|
28819
|
+
const sizeItemData = this.data.proxioProducts.filter(item => {
|
|
28820
|
+
return item.proxioProduct.productWeightGroupList.some(weightGroup => {
|
|
28821
|
+
return weightGroup.item3.includes(this.sizecategory.value);
|
|
28822
|
+
});
|
|
28823
|
+
});
|
|
28824
|
+
console.log("sizeItemData ", sizeItemData);
|
|
28825
|
+
if (!this.weight) {
|
|
28826
|
+
return;
|
|
28827
|
+
}
|
|
28828
|
+
const comparisonWeight = this.weight.value;
|
|
28829
|
+
let weightFilteredData = sizeItemData.filter(item => {
|
|
28830
|
+
return item.proxioProduct.productWeightGroupList.some(weightGroup => {
|
|
28831
|
+
return weightGroup.item1 === comparisonWeight;
|
|
28832
|
+
});
|
|
28833
|
+
});
|
|
28834
|
+
console.log("weightFilteredData ", weightFilteredData);
|
|
28835
|
+
if (weightFilteredData.length === 0 && this.weightvalue !== 0) {
|
|
28836
|
+
weightFilteredData = sizeItemData.filter(item => {
|
|
28837
|
+
return item.proxioProduct.productWeightGroupList.some(weightGroup => {
|
|
28838
|
+
return weightGroup.item1 === comparisonWeight;
|
|
28839
|
+
});
|
|
28840
|
+
});
|
|
28841
|
+
}
|
|
28842
|
+
this.filteredItems = weightFilteredData;
|
|
28843
|
+
}
|
|
28844
|
+
render() {
|
|
28845
|
+
return (h("div", { class: "findprice-form" }, h("div", { class: "findprice-form-wrapper" }, h("h4", { class: "heading" }, state$1.i18n.sizeheading), h("div", { class: "sizecategory" }, h("table", { class: "sizeTable" }, h("img", { id: "clouds", src: cloudsSvg }), h("tr", null, h("td", null, h("img", { class: "firstCell", src: postnordPerson2Svg })), h("td", null, h("img", { src: smallPackageSvg })), h("td", null, h("img", { src: mediumPackageSvg })), h("td", null, h("img", { src: largePackageSvg }))), h("tr", null, h("td", null), 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: () => {
|
|
28846
|
+
this.sizecategory = sizeCategories.filter(x => x.value === sizeCategory.value)[0];
|
|
28847
|
+
this.weight = { value: 0, name: "" };
|
|
28848
|
+
this.weightvalue = this.weight.value;
|
|
28849
|
+
} }))))))), h("h4", { class: "heading" }, state$1.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: () => {
|
|
28850
|
+
this.weight = weights[this.sizecategory.unit].filter(x => x.value === wght.value)[0];
|
|
28851
|
+
this.weightvalue = this.weight.value;
|
|
28852
|
+
} }, wght.name)))))) : null), (this.filteredItems && this.filteredItems.length > 0) ? (h("div", { class: "resultlist" }, (state$1.i18n.resultlistheading) ? (h("div", { class: "resultHeading" }, state$1.i18n.resultlistheading)) : null, this.filteredItems.map((item) => (h("div", null, h("pn-proxio-findprice-result", { activeweight: this.weight.value, item: item })))))) : null));
|
|
28853
|
+
}
|
|
28854
|
+
static get watchers() { return {
|
|
28855
|
+
"market": ["setState"],
|
|
28856
|
+
"language": ["setState"],
|
|
28857
|
+
"sizecategory": ["filterItems"],
|
|
28858
|
+
"weightvalue": ["filterItems"]
|
|
28859
|
+
}; }
|
|
28860
|
+
static get style() { return pnProxioFindpriceCss; }
|
|
28861
|
+
};
|
|
28862
|
+
|
|
28487
28863
|
const translations$1 = {
|
|
28488
28864
|
'sv': {
|
|
28489
28865
|
"from": "Från ",
|
|
@@ -28502,14 +28878,71 @@ const translations$1 = {
|
|
|
28502
28878
|
}
|
|
28503
28879
|
};
|
|
28504
28880
|
|
|
28505
|
-
const
|
|
28881
|
+
const pnProxioFindpriceResultCss = "pn-proxio-find-price-result .test{margin:3em 0}.resultcontent{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}";
|
|
28506
28882
|
|
|
28507
|
-
|
|
28883
|
+
let PnProxioFindPriceResult = class extends HTMLElement {
|
|
28508
28884
|
constructor() {
|
|
28509
28885
|
super();
|
|
28510
28886
|
this.__registerHost();
|
|
28511
|
-
this.
|
|
28887
|
+
this.item = null;
|
|
28888
|
+
this.activeweight = null;
|
|
28889
|
+
this.shownitems = [];
|
|
28890
|
+
this.description = [];
|
|
28891
|
+
this.showMeasurement = false;
|
|
28892
|
+
this.weightText = "";
|
|
28893
|
+
this.linkId = '';
|
|
28894
|
+
this.shopLabel = '';
|
|
28895
|
+
this.shopUrl = '';
|
|
28896
|
+
this.shopId = '';
|
|
28897
|
+
this.i18n = translations$1["sv"];
|
|
28898
|
+
}
|
|
28899
|
+
componentWillLoad() {
|
|
28900
|
+
this.composeItems();
|
|
28901
|
+
}
|
|
28902
|
+
composeItems() {
|
|
28903
|
+
this.shownitems = [this.item];
|
|
28904
|
+
}
|
|
28905
|
+
getPriceString(product) {
|
|
28906
|
+
var _a;
|
|
28907
|
+
if (product.productWeightGroupList) {
|
|
28908
|
+
const activeIndex = product.productWeightGroupList.findIndex((item) => item.item1 === this.activeweight);
|
|
28909
|
+
let price = product.weightAndPriceList ? (_a = product === null || product === void 0 ? void 0 : product.weightAndPriceList[activeIndex]) === null || _a === void 0 ? void 0 : _a.item2 : '';
|
|
28910
|
+
return price ? this.i18n.from + price : '';
|
|
28911
|
+
}
|
|
28912
|
+
return null;
|
|
28913
|
+
}
|
|
28914
|
+
getProductLink(product, productWeightGroupList) {
|
|
28915
|
+
var _a;
|
|
28916
|
+
if (product.productWeightGroupList) {
|
|
28917
|
+
const activeIndex = product.productWeightGroupList.findIndex((item) => item.item1 === this.activeweight);
|
|
28918
|
+
let productId = (_a = productWeightGroupList[activeIndex]) === null || _a === void 0 ? void 0 : _a.item2;
|
|
28919
|
+
let productLink = product.productLink ? product === null || product === void 0 ? void 0 : product.productLink : '';
|
|
28920
|
+
return productLink ? productLink + (productId ? "?productId=" + productId : '') : '';
|
|
28921
|
+
}
|
|
28922
|
+
return null;
|
|
28923
|
+
}
|
|
28924
|
+
render() {
|
|
28925
|
+
return (h(Host, null, h("pn-proxio-productcard", null, h("pn-illustration", { slot: "illustrationmobile", illustration: this.item.proxioProduct.productIcon }), h("h2", { slot: "title" }, this.item.proxioProduct.productTitle), h("pn-proxio-productcard-description", { slot: "description", heading: this.item.proxioProduct.productPreamble, highlight: this.item.proxioProduct.deliveryDateInformation, list: this.item.proxioProduct.productDescriptionBulletListItems }), h("div", { slot: "information" }, h("pn-proxio-productcard-information", { label: this.i18n.labelMaxDimensions, information: this.item.proxioProduct.productPackageDimensionsList }), h("pn-proxio-productcard-information", { label: this.i18n.labelMaxDimensionsRoll, information: this.item.proxioProduct.productRollDimensionsList })), h("div", { slot: "bottomtags" }, this.item.proxioProduct.usp1 ?
|
|
28926
|
+
(h("pn-titletag", { color: "gray50" }, this.item.proxioProduct.usp1)) : (null), this.item.proxioProduct.usp2 ?
|
|
28927
|
+
(h("pn-titletag", { color: "gray50" }, this.item.proxioProduct.usp2)) : (null), this.item.proxioProduct.usp3 ?
|
|
28928
|
+
(h("pn-titletag", { color: "gray50" }, this.item.proxioProduct.usp3)) : (null)), h("pn-illustration", { slot: "illustration", illustration: this.item.proxioProduct.productIcon }), h("div", { slot: "pricelink" }, h("pn-proxio-productcard-pricelink", { price: this.getPriceString(this.item.proxioProduct), link: this.getProductLink(this.item.proxioProduct, this.item.proxioProduct.productWeightGroupList), linktext: this.item.proxioProduct.productLinkText }), this.item.relatedProxioProducts ? (this.item.relatedProxioProducts.map((product) => (h("pn-proxio-productcard-pricelink", { price: this.getPriceString(product), link: product.productLink, linktext: product.productLinkText })))) : (null)))));
|
|
28929
|
+
}
|
|
28930
|
+
static get watchers() { return {
|
|
28931
|
+
"item": ["composeItems"],
|
|
28932
|
+
"activeweight": ["getPriceString", "getProductLink"]
|
|
28933
|
+
}; }
|
|
28934
|
+
static get style() { return pnProxioFindpriceResultCss; }
|
|
28935
|
+
};
|
|
28936
|
+
|
|
28937
|
+
const pnProxioPricegroupCss = "pn-proxio-pricegroup div.proxio-pricegroup-container{max-width:99.4rem}pn-proxio-pricegroup div.weightcontainer{margin:2.8rem 0}pn-proxio-pricegroup div.weightvaluecontainer{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:center;align-content:center;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:start;align-items:flex-start}pn-proxio-pricegroup div.weightvaluecontainer pn-button{-webkit-transform:translateY(-0.4rem);transform:translateY(-0.4rem)}pn-proxio-pricegroup div.weightvaluecontainer pn-button button::before{display:none}pn-proxio-pricegroup div.weightradios{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;color:#005D92;width:80%;margin:0 3.6rem;position:relative;width:0%}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end50]{width:45%;margin-left:auto;margin-right:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end50]{width:40%}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end75]{width:65%;margin-left:auto;margin-right:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end75]{margin-right:auto}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start50]{width:45%;margin-right:auto;margin-left:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start50]{width:40%}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start75]{width:65%;margin-right:auto;margin-left:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start75]{margin-left:auto}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=default]{-ms-flex:0 0 auto;flex:0 0 auto;width:80%}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=default]{width:65%}}pn-proxio-pricegroup div.weightdata{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:justify;justify-content:space-between;gap:1.2rem;min-width:4rem;cursor:pointer}pn-proxio-pricegroup div.weightdata label{font-size:1.4rem;cursor:pointer}pn-proxio-pricegroup div.weightdata[data-carousel-position=\"0\"]{font-size:2rem;font-weight:700}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightdata[data-carousel-position=\"2\"],pn-proxio-pricegroup div.weightdata[data-carousel-position=\"-2\"]{display:none}}pn-proxio-pricegroup div.weightdata[data-carousel-position=outside]{display:none}pn-proxio-pricegroup div.weightdata input[type=radio]{-webkit-appearance:none;-moz-appearance:none;width:1.2rem;height:1.2rem;background-color:#005D92;border-radius:50%;margin:0;cursor:pointer}pn-proxio-pricegroup div.weightdata input[type=radio]:checked{z-index:1;-webkit-transform:translateY(-0.1rem);transform:translateY(-0.1rem);height:1.4rem;width:1.4rem;-webkit-box-shadow:0 0 0 0.3rem #FFFFFF, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.3rem #FFFFFF, 0 0 0 0.4rem #005D92}pn-proxio-pricegroup div.weightline{width:100%;background-color:#F3F2F2;z-index:-1;height:0.8rem;-webkit-transform:translateX(2.1rem) translateY(1.32rem);transform:translateX(2.1rem) translateY(1rem);border-radius:2rem;margin-right:3.5rem}pn-proxio-pricegroup pn-button[disabled=disabled]{opacity:0.2}pn-proxio-pricegroup pn-button[disabled=disabled] button{cursor:default}pn-proxio-pricegroup pn-button[disabled=disabled] button.pn-button-light .pn-button-bg:after{background-color:#FFFFFF}pn-proxio-pricegroup pn-button[disabled=disabled] button[data-tooltip-open]:before{display:none}pn-proxio-pricegroup pn-button button div.button-tooltip{display:none}pn-proxio-pricegroup pn-button button:focus .pn-button-bg{-webkit-box-shadow:none;box-shadow:none}";
|
|
28938
|
+
|
|
28939
|
+
let PnProxioPricegroup$1 = class extends HTMLElement {
|
|
28940
|
+
constructor() {
|
|
28941
|
+
super();
|
|
28942
|
+
this.__registerHost();
|
|
28943
|
+
/** Specifies which endpoint domain we should load from */
|
|
28512
28944
|
this.endpoint = null;
|
|
28945
|
+
//@Prop() culture: string = "sv-SE";
|
|
28513
28946
|
this.language = "sv";
|
|
28514
28947
|
this.market = "se";
|
|
28515
28948
|
this.tariffid = "";
|
|
@@ -28517,6 +28950,7 @@ const PnProxioPricegroup$1 = class extends HTMLElement {
|
|
|
28517
28950
|
this.activeWeightIndex = 0;
|
|
28518
28951
|
this.data = null;
|
|
28519
28952
|
this.i18n = translations$1["sv"];
|
|
28953
|
+
this.fetchHelper = new FetchHelper("proxiopricegroup");
|
|
28520
28954
|
}
|
|
28521
28955
|
componentWillLoad() {
|
|
28522
28956
|
this.setInitialValues().then(() => {
|
|
@@ -28544,6 +28978,7 @@ const PnProxioPricegroup$1 = class extends HTMLElement {
|
|
|
28544
28978
|
}
|
|
28545
28979
|
const endpoint = (this.endpoint.lastIndexOf("/") === this.endpoint.length - 1) ? this.endpoint.substring(0, this.endpoint.length - 1) : this.endpoint;
|
|
28546
28980
|
const fetchUrl = `${endpoint}/api/proxio/price-list-group?tariffId=${this.tariffid}&market=${this.market}&language=${this.language}&cached=${this.cache}`;
|
|
28981
|
+
//const fetchUrl = `http://localhost:51444/api/proxio/price-list-group?tariffId=${this.tariffid}&market=${this.market}&language=${this.language}&cached=${this.cache}`;
|
|
28547
28982
|
const data = await this.fetchHelper.fetchJson(fetchUrl, {
|
|
28548
28983
|
'mode': 'cors',
|
|
28549
28984
|
}, this.cache, this.onFetchData.bind(this));
|
|
@@ -28636,7 +29071,7 @@ const PnProxioPricegroup$1 = class extends HTMLElement {
|
|
|
28636
29071
|
|
|
28637
29072
|
const pnProxioProductcardCss = "pn-proxio-productcard .cardcontent{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;border:solid 0.1rem #F9F8F8;border-radius:0.8rem;overflow:hidden;margin-left:auto;margin-right:auto;margin-bottom:1.6rem}@media screen and (max-width: 48em){pn-proxio-productcard .cardcontent{-ms-flex-direction:column;flex-direction:column}}pn-proxio-productcard .carddetails{min-width:70%;padding:2.4rem;display:-ms-flexbox;display:flex;gap:0.8rem;-ms-flex-direction:column;flex-direction:column}@media screen and (max-width: 48em){pn-proxio-productcard .carddetails{gap:1.6rem;margin-bottom:0.8rem}}pn-proxio-productcard .carddetails pn-illustration[slot=illustrationmobile]{display:none}@media screen and (max-width: 48em){pn-proxio-productcard .carddetails pn-illustration[slot=illustrationmobile]{margin-top:1.6rem;display:block}pn-proxio-productcard .carddetails pn-illustration[slot=illustrationmobile] .pn-illustration{max-width:8rem;height:8rem;margin-left:auto;margin-right:auto}}pn-proxio-productcard .cardcalltoactions{min-width:30%;background-color:#EFFBFF;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-line-pack:center;align-content:center}@media screen and (max-width: 48em){pn-proxio-productcard .cardcalltoactions pn-illustration[slot=illustration]{display:none}}pn-proxio-productcard .cardcalltoactions pn-illustration[slot=illustration] .pn-illustration{max-width:8rem;margin-left:auto;margin-right:auto;margin-top:4rem}pn-proxio-productcard [slot=information]{display:-ms-flexbox;display:flex;gap:1rem}@media screen and (max-width: 48em){pn-proxio-productcard [slot=information]{-ms-flex-direction:column;flex-direction:column;gap:1.6rem}}pn-proxio-productcard [slot=uppertags]{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;gap:2rem}pn-proxio-productcard [slot=bottomtags]{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;gap:2rem;margin:0.8rem 0}pn-proxio-productcard .heading{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:row;flex-direction:row}pn-proxio-productcard [slot=title]{text-decoration:underline}@media screen and (max-width: 48em){pn-proxio-productcard [slot=title]{text-decoration:none}}";
|
|
28638
29073
|
|
|
28639
|
-
|
|
29074
|
+
let PnProxioProductcard$1 = class extends HTMLElement {
|
|
28640
29075
|
constructor() {
|
|
28641
29076
|
super();
|
|
28642
29077
|
this.__registerHost();
|
|
@@ -28649,13 +29084,10 @@ const PnProxioProductcard$1 = class extends HTMLElement {
|
|
|
28649
29084
|
|
|
28650
29085
|
const pnProxioProductcardDescriptionCss = "pn-proxio-productcard-description h3{font-size:1.6rem}pn-proxio-productcard-description ul{padding-left:2.5rem}pn-proxio-productcard-description li{font-size:1.6rem;line-height:2.2rem}pn-proxio-productcard-description .highlight{color:#0AA85C}";
|
|
28651
29086
|
|
|
28652
|
-
|
|
29087
|
+
let PnProxioProductcardDescription$1 = class extends HTMLElement {
|
|
28653
29088
|
constructor() {
|
|
28654
29089
|
super();
|
|
28655
29090
|
this.__registerHost();
|
|
28656
|
-
this.heading = undefined;
|
|
28657
|
-
this.highlight = undefined;
|
|
28658
|
-
this.description = undefined;
|
|
28659
29091
|
this.list = [];
|
|
28660
29092
|
}
|
|
28661
29093
|
render() {
|
|
@@ -28670,11 +29102,10 @@ const PnProxioProductcardDescription$1 = class extends HTMLElement {
|
|
|
28670
29102
|
|
|
28671
29103
|
const pnProxioProductcardInformationCss = "pn-proxio-productcard-information p.cardinfocontent-title{margin-bottom:0.4rem}pn-proxio-productcard-information p strong.cardinfocontent-label{font-size:1.4rem;font-weight:500}";
|
|
28672
29104
|
|
|
28673
|
-
|
|
29105
|
+
let PnProxioProductcardInformation$1 = class extends HTMLElement {
|
|
28674
29106
|
constructor() {
|
|
28675
29107
|
super();
|
|
28676
29108
|
this.__registerHost();
|
|
28677
|
-
this.label = undefined;
|
|
28678
29109
|
this.information = [];
|
|
28679
29110
|
}
|
|
28680
29111
|
render() {
|
|
@@ -28687,13 +29118,10 @@ const PnProxioProductcardInformation$1 = class extends HTMLElement {
|
|
|
28687
29118
|
|
|
28688
29119
|
const pnProxioProductcardPricelinkCss = "pn-proxio-productcard-pricelink{-ms-flex-item-align:center;align-self:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;margin:2rem 1rem;gap:0.8rem;-ms-flex-line-pack:center;align-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap}@media screen and (max-width: 48em){pn-proxio-productcard-pricelink{margin:2.4rem 1rem}}pn-proxio-productcard-pricelink h3{font-size:2rem}pn-proxio-productcard-pricelink pn-button{min-width:17.3rem}pn-proxio-productcard-pricelink pn-button a .pn-button-content{font-size:1.4rem;font-weight:500}@media screen and (max-width: 48em){pn-proxio-productcard-pricelink pn-button{min-width:30rem}}";
|
|
28689
29120
|
|
|
28690
|
-
|
|
29121
|
+
let PnProxioProductcardPricelink$1 = class extends HTMLElement {
|
|
28691
29122
|
constructor() {
|
|
28692
29123
|
super();
|
|
28693
29124
|
this.__registerHost();
|
|
28694
|
-
this.price = undefined;
|
|
28695
|
-
this.link = undefined;
|
|
28696
|
-
this.linktext = undefined;
|
|
28697
29125
|
}
|
|
28698
29126
|
render() {
|
|
28699
29127
|
return this.link && this.linktext ?
|
|
@@ -28704,7 +29132,7 @@ const PnProxioProductcardPricelink$1 = class extends HTMLElement {
|
|
|
28704
29132
|
|
|
28705
29133
|
const pnQuickCtaCss = "pn-quick-cta{width:100%}pn-quick-cta .quick-cta__content{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;gap:2.4rem;width:100%}pn-quick-cta .quick-cta__content .quick-cta__content__heading{padding:0;margin:0;font-size:2.4rem;font-weight:500;color:#0D234B}@media screen and (max-width: 768px){pn-quick-cta .quick-cta__content .quick-cta__content__heading{display:none}}@media screen and (min-width: 1640px){pn-quick-cta .quick-cta__content .quick-cta__content__heading{font-size:2.8rem;font-weight:700}}pn-quick-cta .quick-cta__content .quick-cta__content__preamble{font-weight:400;font-size:1.6rem;line-height:140%;padding:0;margin:0;color:#2D2013}pn-quick-cta .quick-cta__content [slot=quick-cta-cta] a{white-space:nowrap}pn-quick-cta .quick-cta__content [slot=quick-cta-cta] a:hover{text-decoration:none}";
|
|
28706
29134
|
|
|
28707
|
-
|
|
29135
|
+
let PnQuickCta$1 = class extends HTMLElement {
|
|
28708
29136
|
constructor() {
|
|
28709
29137
|
super();
|
|
28710
29138
|
this.__registerHost();
|
|
@@ -28720,10 +29148,11 @@ const PnQuickCta$1 = class extends HTMLElement {
|
|
|
28720
29148
|
|
|
28721
29149
|
const pnQuoteCardCss = "pn-quote-card .pn-quote-card__container{margin:0 auto;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;min-height:262px;padding:0 2.4rem}pn-quote-card .pn-quote-card__quote__container{padding:0 3.2rem}pn-quote-card .pn-quote-card__quote{position:relative;font-weight:400;font-size:2rem;line-height:140%;margin:0}pn-quote-card .pn-quote-card__quote svg{position:absolute;left:-3.2rem;top:0.2rem}pn-quote-card .pn-quote-card__reference__container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:start;justify-content:flex-start;gap:1.6rem;-ms-flex-align:center;align-items:center}pn-quote-card .pn-quote-card__reference__name{display:block;font-weight:400;font-size:2.4rem;line-height:2.9rem}pn-quote-card .pn-quote-card__reference__occupation{display:block;font-weight:400;font-size:1.4rem;line-height:1.7rem}pn-quote-card [slot=illustration]{padding:0}pn-quote-card [slot=illustration-big]{padding:0.8rem 0}pn-quote-card [slot=illustration],pn-quote-card [slot=illustration-big]{aspect-ratio:1/1}pn-quote-card [slot=illustration] picture,pn-quote-card [slot=illustration-big] picture{aspect-ratio:1/1}pn-quote-card [slot=illustration] picture img,pn-quote-card [slot=illustration-big] picture img{-webkit-clip-path:circle(50%);clip-path:circle(50%)}pn-quote-card [slot=horizontal-line],pn-quote-card [slot=vertical-line]{display:-ms-flexbox;display:flex}pn-quote-card[data-line-color=white] .pn-quote-card__section{background-color:#005D92;color:#FFFFFF}pn-quote-card[data-line-color=white] .pn-line-shape__line,pn-quote-card[data-line-color=white] .pn-line-shape__dot{border-color:#FFFFFF}pn-quote-card[data-line-color=white] .pn-quote-card__quote svg>path{fill:#FFFFFF}pn-quote-card[data-line-color=blue] .pn-quote-card__section{background-color:#FFFFFF}pn-quote-card[data-line-color=blue] .pn-line-shape__line,pn-quote-card[data-line-color=blue] .pn-line-shape__dot{border-color:#00A0D6}pn-quote-card[data-line-color=blue] .pn-quote-card__quote svg>path{fill:#00A0D6}pn-quote-card[data-card-style=standalone][data-line-color=white] .pn-quote-card__section{border-radius:2.4rem}pn-quote-card[data-card-style=standalone][data-line-color=white] .pn-quote-card__container{padding:2.4rem}pn-quote-card[data-card-style=standalone] .pn-quote-card__section{max-width:100%;margin:0 auto}@media screen and (min-width: 992px){pn-quote-card[data-card-style=standalone] .pn-quote-card__section{max-width:70%}}@media screen and (min-width: 1200px){pn-quote-card[data-card-style=standalone] .pn-quote-card__section{max-width:60%}}pn-quote-card[data-card-style=standalone] .pn-quote-card__container{min-height:unset;padding:0}@media screen and (min-width: 768px){pn-quote-card[data-card-style=standalone] .pn-quote-card__container{padding:0 2.4rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__quote__container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;gap:3.2rem;padding:2.4rem 1.6rem 1.6rem 1.6rem}@media screen and (min-width: 768px){pn-quote-card[data-card-style=standalone] .pn-quote-card__quote__container{padding:2.4rem 3.2rem 1.6rem 3.2rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__quote{font-size:1.6rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=standalone] .pn-quote-card__quote{font-size:2rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__quote svg{display:block;margin-bottom:0.8rem;position:relative;top:0;left:0}pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__container [slot=illustration] picture img{height:60px;width:60px}@media screen and (min-width: 992px){pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__container [slot=illustration] picture img{height:90px;width:90px}}pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__name{font-size:1.6rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__name{font-size:2.4rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__occupation{font-size:1.2rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__occupation{font-size:1.4rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__large-photo{display:none}pn-quote-card[data-card-style=combo] .pn-quote-card__section{width:100%;margin:0 auto;padding-top:4rem;padding-bottom:4rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=combo] .pn-quote-card__section{padding-bottom:0}}@media screen and (min-width: 1200px){pn-quote-card[data-card-style=combo] .pn-quote-card__section{padding-top:10rem}}pn-quote-card[data-card-style=combo] .pn-quote-card__container{min-height:10rem;padding-bottom:0}@media screen and (min-width: 768px){pn-quote-card[data-card-style=combo] .pn-quote-card__container{max-width:90%;width:100%}}@media screen and (min-width: 992px){pn-quote-card[data-card-style=combo] .pn-quote-card__container{max-width:768px;width:100%}}@media screen and (min-width: 1200px){pn-quote-card[data-card-style=combo] .pn-quote-card__container{max-width:1140px;width:100%;padding:0 5.6rem}}@media screen and (min-width: 1640px){pn-quote-card[data-card-style=combo] .pn-quote-card__container{max-width:1440px;width:100%;padding:0 12rem}}pn-quote-card[data-card-style=combo] .pn-quote-card__quote__container{padding-bottom:0;padding-left:0;padding-right:0}@media screen and (min-width: 768px){pn-quote-card[data-card-style=combo] .pn-quote-card__quote__container{padding-left:2.4rem;padding-right:2.4rem}}pn-quote-card[data-card-style=combo] .pn-quote-card__quote{font-size:2rem;padding-left:2.4rem}pn-quote-card[data-card-style=combo] .pn-quote-card__quote svg{left:-0.8rem;top:0.2rem}@media screen and (min-width: 768px){pn-quote-card[data-card-style=combo] .pn-quote-card__quote{padding-left:4rem}pn-quote-card[data-card-style=combo] .pn-quote-card__quote svg{left:0}}@media screen and (min-width: 992px){pn-quote-card[data-card-style=combo] .pn-quote-card__quote{font-size:2.4rem}pn-quote-card[data-card-style=combo] .pn-quote-card__quote svg{left:0;top:0.4rem;scale:1.3}}@media screen and (min-width: 1200px){pn-quote-card[data-card-style=combo] .pn-quote-card__quote{padding-left:0;font-size:3.2rem}pn-quote-card[data-card-style=combo] .pn-quote-card__quote svg{left:-4.8rem;top:1rem;scale:1.4}}@media screen and (min-width: 1640px){pn-quote-card[data-card-style=combo] .pn-quote-card__quote{font-size:4rem}pn-quote-card[data-card-style=combo] .pn-quote-card__quote svg{left:-6.4rem;top:1.6rem;scale:1.8}}pn-quote-card[data-card-style=combo] .pn-quote-card__reference__container{-ms-flex-direction:row-reverse;flex-direction:row-reverse}pn-quote-card[data-card-style=combo] [slot=illustration] picture>img{max-width:6rem;max-height:6rem}@media screen and (min-width: 768px){pn-quote-card[data-card-style=combo] [slot=illustration] picture>img{max-width:10rem;max-height:10rem}}@media screen and (min-width: 1140px){pn-quote-card[data-card-style=combo] [slot=illustration]{display:none}}pn-quote-card[data-card-style=combo] .pn-quote-card__reference{text-align:right}pn-quote-card[data-card-style=combo] .pn-quote-card__reference__name{display:block;font-size:1.4rem}@media screen and (min-width: 768px){pn-quote-card[data-card-style=combo] .pn-quote-card__reference__name{font-size:1.6rem}}@media screen and (min-width: 992px){pn-quote-card[data-card-style=combo] .pn-quote-card__reference__name{font-size:2rem}}@media screen and (min-width: 1640px){pn-quote-card[data-card-style=combo] .pn-quote-card__reference__name{font-size:3.2rem;margin-bottom:1rem}}pn-quote-card[data-card-style=combo] .pn-quote-card__reference__occupation{display:block;font-size:1.2rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=combo] .pn-quote-card__reference__occupation{font-size:1.4rem}}@media screen and (min-width: 1640px){pn-quote-card[data-card-style=combo] .pn-quote-card__reference__occupation{font-size:2rem}}pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo{display:none}@media screen and (min-width: 1140px){pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo{display:block}pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo>[slot=illustration-big]{width:18rem;height:18rem}pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo>[slot=illustration-big] picture>img{width:18rem;height:18rem}}@media screen and (min-width: 1640px){pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo{display:block;width:24rem;height:24rem}pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo>[slot=illustration-big]{width:24rem;height:24rem}pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo>[slot=illustration-big]>picture>img{width:24rem;height:24rem}}";
|
|
28722
29150
|
|
|
28723
|
-
|
|
29151
|
+
let PnQuoteCard$1 = class extends HTMLElement {
|
|
28724
29152
|
constructor() {
|
|
28725
29153
|
super();
|
|
28726
29154
|
this.__registerHost();
|
|
29155
|
+
//props
|
|
28727
29156
|
this.quote = null;
|
|
28728
29157
|
this.name = null;
|
|
28729
29158
|
this.occupation = null;
|
|
@@ -28781,11 +29210,13 @@ const { state, onChange } = createStore({
|
|
|
28781
29210
|
|
|
28782
29211
|
const pnSidenavCss = "body[data-siteheader-sidemenuopen=true]{max-height:100vh;overflow:hidden}@media screen and (min-width: 60em){body[data-siteheader-sidemenuopen=true]{max-height:initial;overflow:initial}}pn-sidenav{display:block;height:auto;width:100vw;padding:0 1.6rem;background-color:#FFFFFF;z-index:6;-webkit-transform:translateX(-100vw);transform:translateX(-100vw);-webkit-transition:-webkit-transform 0.2s 0s;transition:-webkit-transform 0.2s 0s;transition:transform 0.2s 0s;transition:transform 0.2s 0s, -webkit-transform 0.2s 0s;-webkit-transition-property:visibility, -webkit-transform;transition-property:visibility, -webkit-transform;transition-property:transform, visibility;transition-property:transform, visibility, -webkit-transform;-ms-flex-flow:column;flex-flow:column;visibility:hidden;position:fixed;top:10.2rem;bottom:0;left:0}pn-sidenav[open=true]{visibility:visible;-webkit-transform:none;transform:none}@media screen and (min-width: 48em){pn-sidenav{top:15.3rem}}@media screen and (min-width: 64em){pn-sidenav{position:relative;-webkit-transform:none;transform:none;visibility:visible;top:0;z-index:inherit;width:100%;padding:0;height:auto;bottom:auto;left:auto}}";
|
|
28783
29212
|
|
|
28784
|
-
|
|
29213
|
+
let PnSidenav$1 = class extends HTMLElement {
|
|
28785
29214
|
constructor() {
|
|
28786
29215
|
super();
|
|
28787
29216
|
this.__registerHost();
|
|
29217
|
+
/** Specifies which language we want to show navigation in (sv,da,fi,no,en) */
|
|
28788
29218
|
this.language = "sv";
|
|
29219
|
+
/** Sets the label of the navigation (Required if multiple nav elements are on a page) */
|
|
28789
29220
|
this.navLabel = "";
|
|
28790
29221
|
this.i18n = { open: '', close: '', navLabel: '' };
|
|
28791
29222
|
}
|
|
@@ -28818,7 +29249,7 @@ const PnSidenav$1 = class extends HTMLElement {
|
|
|
28818
29249
|
|
|
28819
29250
|
const pnSidenavLevelCss = "pn-sidenav-level{display:block;-ms-flex-preferred-size:100%;flex-basis:100%}pn-sidenav-level[data-level=\"2\"]{padding-left:2.5em;overflow:hidden;-webkit-transition:max-height ease 0.2s;transition:max-height ease 0.2s;max-height:40em}pn-sidenav-level[data-level=\"2\"][aria-hidden=true]{max-height:0}";
|
|
28820
29251
|
|
|
28821
|
-
|
|
29252
|
+
let PnSidenavLevel$1 = class extends HTMLElement {
|
|
28822
29253
|
constructor() {
|
|
28823
29254
|
super();
|
|
28824
29255
|
this.__registerHost();
|
|
@@ -28873,17 +29304,25 @@ const PnSidenavLevel$1 = class extends HTMLElement {
|
|
|
28873
29304
|
|
|
28874
29305
|
const pnSidenavLinkCss = "pn-sidenav-link{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.pn-sidenav-link{font-weight:normal;position:relative;border:0 none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:transparent;color:#005D92;font-size:1em;padding:1.1rem 1.5rem 1.1rem;overflow:hidden;text-decoration:none;cursor:pointer;-ms-flex-positive:1;flex-grow:1}.pn-sidenav-link::before{content:\"\";display:block;width:0.4rem;border-top-right-radius:0.3rem;border-bottom-right-radius:0.3rem;height:100%;position:absolute;left:0;top:0;bottom:0;-webkit-transform:translateX(-0.4rem);transform:translateX(-0.4rem);background:#005D92;-webkit-transition:-webkit-transform linear 0.35s;transition:-webkit-transform linear 0.35s;transition:transform linear 0.35s;transition:transform linear 0.35s, -webkit-transform linear 0.35s}.pn-sidenav-link:hover,.pn-sidenav-link:focus,[current=true]>.pn-sidenav-link{background-color:#E0F8FF;color:#005D92;outline:0;-webkit-box-shadow:none;box-shadow:none}.pn-sidenav-link:hover::before,.pn-sidenav-link:focus::before,[current=true]>.pn-sidenav-link::before{-webkit-transform:none;transform:none}.pn-sidenav-link:active{background-color:#F3F2F2;color:#00A0D6;-webkit-box-shadow:none;box-shadow:none}.pn-sidenav-link>pn-icon{padding-right:1em}.pn-sidenav-link-expand{margin-left:auto;border:0;font-size:1em;background:transparent;outline:0;padding:0 1em 0 0.5em;cursor:pointer}.pn-sidenav-link-expand:hover,.pn-sidenav-link-expand:focus,[current=true]>.pn-sidenav-link-expand{background-color:#E0F8FF;color:#005D92;outline:0;-webkit-box-shadow:none;box-shadow:none}.pn-sidenav-link-expand:hover::before,.pn-sidenav-link-expand:focus::before,[current=true]>.pn-sidenav-link-expand::before{-webkit-transform:none;transform:none}button>.pn-sidenav-link-expand{padding-right:0}.pn-sidenav-link-expand pn-icon{width:14px}";
|
|
28875
29306
|
|
|
28876
|
-
|
|
29307
|
+
let PnSidenavLink$1 = class extends HTMLElement {
|
|
28877
29308
|
constructor() {
|
|
28878
29309
|
super();
|
|
28879
29310
|
this.__registerHost();
|
|
29311
|
+
/** Name */
|
|
28880
29312
|
this.name = "";
|
|
29313
|
+
/** Href */
|
|
28881
29314
|
this.href = "";
|
|
29315
|
+
/** Target */
|
|
28882
29316
|
this.target = null;
|
|
29317
|
+
/** Link id */
|
|
28883
29318
|
this.linkid = null;
|
|
29319
|
+
/** Icon */
|
|
28884
29320
|
this.icon = "";
|
|
29321
|
+
/** Currently selected */
|
|
28885
29322
|
this.current = false;
|
|
29323
|
+
/** Level ID that we control toggle on */
|
|
28886
29324
|
this.levelId = "";
|
|
29325
|
+
/** Menu item is open */
|
|
28887
29326
|
this.open = false;
|
|
28888
29327
|
this.hasChildren = false;
|
|
28889
29328
|
}
|
|
@@ -28929,10 +29368,11 @@ const PnSidenavLink$1 = class extends HTMLElement {
|
|
|
28929
29368
|
|
|
28930
29369
|
const pnSidenavTogglebuttonCss = "pn-sidenav-togglebutton{display:block;width:100%;padding:0.8rem 1.6rem;background:#EFFBFF}@media screen and (min-width: 64em){pn-sidenav-togglebutton{display:none}}";
|
|
28931
29370
|
|
|
28932
|
-
|
|
29371
|
+
let PnSidenavTogglebutton$1 = class extends HTMLElement {
|
|
28933
29372
|
constructor() {
|
|
28934
29373
|
super();
|
|
28935
29374
|
this.__registerHost();
|
|
29375
|
+
/** Specifies which language we want to show navigation in (sv,da,fi,no,en) */
|
|
28936
29376
|
this.label = "";
|
|
28937
29377
|
this.i18n = { open: '', close: '', navLabel: '' };
|
|
28938
29378
|
}
|
|
@@ -28950,10 +29390,11 @@ const PnSidenavTogglebutton$1 = class extends HTMLElement {
|
|
|
28950
29390
|
|
|
28951
29391
|
const pnSiteFooterCss = "pn-site-footer:not([theme=dotcom]){display:block;line-height:1.5}pn-site-footer:not([theme=dotcom]) a{color:#005D92}pn-site-footer:not([theme=dotcom]) a:hover{color:#0D234B;text-decoration:underline}pn-site-footer:not([theme=dotcom]) h3{font-size:2.4rem;margin-bottom:0.5rem;line-height:1.2}pn-site-footer:not([theme=dotcom]) p{font-size:1.6rem}pn-site-footer:not([theme=dotcom]) pn-site-footer-col ul.social-media{display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row;gap:1.6rem;row-gap:1.2rem;margin-bottom:1.6rem;-ms-flex-wrap:wrap;flex-wrap:wrap}pn-site-footer:not([theme=dotcom]) pn-site-footer-col ul.social-media li{margin-bottom:0}pn-site-footer:not([theme=dotcom])>svg{display:block}pn-site-footer:not([theme=dotcom])>div{background:#F3F2F2}pn-site-footer:not([theme=dotcom]) .pn-sitefooter-top{display:-ms-flexbox;display:flex}pn-site-footer:not([theme=dotcom]) .pn-sitefooter-cols{-ms-flex-item-align:center;align-self:center;-ms-flex-pack:center;justify-content:center;display:block;-ms-flex-flow:row wrap;flex-flow:row wrap;margin:0 auto;max-width:90em}@media screen and (min-width: 33.125em){pn-site-footer:not([theme=dotcom]) .pn-sitefooter-cols{display:-ms-flexbox;display:flex}}pn-site-footer:not([theme=dotcom]) .pn-sitefooter-bottom [slot=bottom]{max-width:90em;margin:0 auto;padding:1.6rem 0;display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row;-ms-flex-pack:center;justify-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap;border-top:1px solid #D3CECB;border-bottom:1px solid #D3CECB}pn-site-footer:not([theme=dotcom]) .pn-sitefooter-bottom [slot=bottom] span,pn-site-footer:not([theme=dotcom]) .pn-sitefooter-bottom [slot=bottom] a{line-height:2;margin:0 1.6rem;text-decoration:none}pn-site-footer:not([theme=dotcom]) .pn-sitefooter-bottom [slot=bottom] li{line-height:2em;margin:0 1.6rem}pn-site-footer:not([theme=dotcom]) .pn-sitefooter-logo{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;padding:3rem}pn-site-footer:not([theme=dotcom]) .pn-sitefooter-logo svg{display:block;width:13.3rem;height:2.6rem}pn-site-footer:not([theme=dotcom]) .pn-sitefooter-logo:has(div) a slot-fb{display:none}pn-site-footer[theme=dotcom]{width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:#0D234B;margin:0 auto}pn-site-footer[theme=dotcom]>svg{background-color:#FFFFFF}pn-site-footer[theme=dotcom]>svg path{fill:#0D234B}pn-site-footer[theme=dotcom] .pn-sitefooter-top{width:100%;position:relative;top:-1px;background-color:#0D234B}pn-site-footer[theme=dotcom] .pn-sitefooter-top .pn-sitefooter-cols{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-top:4.8rem;padding-left:3rem;padding-right:3rem;margin:0 auto}@media screen and (min-width: 768px){pn-site-footer[theme=dotcom] .pn-sitefooter-top .pn-sitefooter-cols{max-width:72rem}}@media screen and (min-width: 992px){pn-site-footer[theme=dotcom] .pn-sitefooter-top .pn-sitefooter-cols{max-width:96rem;padding-left:0;padding-right:0}}@media screen and (min-width: 1200px){pn-site-footer[theme=dotcom] .pn-sitefooter-top .pn-sitefooter-cols{max-width:114rem}}@media screen and (min-width: 1640px){pn-site-footer[theme=dotcom] .pn-sitefooter-top .pn-sitefooter-cols{max-width:144rem}}pn-site-footer[theme=dotcom] .pn-sitefooter-top .pn-sitefooter-cols h3{font-weight:500}pn-site-footer[theme=dotcom] .pn-sitefooter-top .pn-sitefooter-cols a:hover{text-decoration:underline;color:#FFFFFF}pn-site-footer[theme=dotcom] .pn-sitefooter-bottom{width:100%;padding:0.8rem 0;background-color:#0D234B}pn-site-footer[theme=dotcom] .pn-sitefooter-bottom>[slot=bottom]{max-width:120rem;margin:0 auto;padding-left:3rem;padding-right:3rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:2.4rem}pn-site-footer[theme=dotcom] .pn-sitefooter-bottom>[slot=bottom]>.social-media{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;padding:1.6rem 0;border-top:1px solid #005d924d;border-bottom:1px solid #005d924d}pn-site-footer[theme=dotcom] .pn-sitefooter-bottom>[slot=bottom]>.social-media>ul{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:2.4rem;margin:0;padding:0;list-style-type:none}pn-site-footer[theme=dotcom] .pn-sitefooter-bottom>[slot=bottom]>.social-media>ul>li:hover svg>circle{fill:#005D92}pn-site-footer[theme=dotcom] .pn-sitefooter-bottom>[slot=bottom]>.copyright{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;gap:2.4rem}pn-site-footer[theme=dotcom] .pn-sitefooter-bottom>[slot=bottom]>.copyright *{color:#FFFFFF;font-weight:400;font-size:1.4rem;line-height:1.96rem}pn-site-footer[theme=dotcom] .pn-sitefooter-bottom>[slot=bottom]>.copyright>ul{margin:0;padding:0}pn-site-footer[theme=dotcom] .pn-sitefooter-bottom>[slot=bottom]>.copyright>ul>li{display:inline;margin-left:2.4rem}pn-site-footer[theme=dotcom] .pn-sitefooter-bottom>[slot=bottom]>.copyright>ul>li:first-child{margin-left:0}pn-site-footer[theme=dotcom] .pn-sitefooter-logo{padding:3rem;margin:0 auto}pn-site-footer[theme=dotcom] .pn-sitefooter-logo [name=logo]>svg{display:block;width:13.3rem;height:2.6rem}pn-site-footer[theme=dotcom] .pn-sitefooter-logo [name=logo]>svg>path{fill:#00A0D6}";
|
|
28952
29392
|
|
|
28953
|
-
|
|
29393
|
+
let PnSiteFooter$1 = class extends HTMLElement {
|
|
28954
29394
|
constructor() {
|
|
28955
29395
|
super();
|
|
28956
29396
|
this.__registerHost();
|
|
29397
|
+
/** What you write in the comment block above each prop is what ends up in the description fields in the prop table in the documentation */
|
|
28957
29398
|
this.url = '#';
|
|
28958
29399
|
this.linktitle = 'PostNord';
|
|
28959
29400
|
this.theme = null;
|
|
@@ -28967,7 +29408,7 @@ const PnSiteFooter$1 = class extends HTMLElement {
|
|
|
28967
29408
|
|
|
28968
29409
|
const pnSiteFooterColCss = "pn-site-footer-col:not([theme=dotcom]){min-width:15em;padding:2.5em 1.5rem 0;width:100%}@media screen and (min-width: 33.125em){pn-site-footer-col:not([theme=dotcom]){width:50%}}@media screen and (min-width: 60em){pn-site-footer-col:not([theme=dotcom]){max-width:25%}}pn-site-footer-col:not([theme=dotcom]) ul{list-style-type:none;padding:0;margin:0}pn-site-footer-col:not([theme=dotcom]) li{margin-bottom:1.6rem}pn-site-footer-col:not([theme=dotcom]) a{text-decoration:none;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}pn-site-footer-col:not([theme=dotcom]) a h3{color:#000000}pn-site-footer-col:not([theme=dotcom]) p{margin-top:0;margin-bottom:1rem}pn-site-footer-col[theme=dotcom]{width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-site-footer-col[theme=dotcom] *{color:#FFFFFF}@media screen and (min-width: 768px){pn-site-footer-col[theme=dotcom]{width:33%;padding-left:0.8rem;padding-right:0.8rem}pn-site-footer-col[theme=dotcom]:nth-child(1),pn-site-footer-col[theme=dotcom]:nth-child(4){padding-left:0}pn-site-footer-col[theme=dotcom]:nth-child(3),pn-site-footer-col[theme=dotcom]:nth-child(5){padding-right:0}}@media screen and (min-width: 1024px){pn-site-footer-col[theme=dotcom]{width:20%;padding-left:1.6rem;padding-right:1.6rem}pn-site-footer-col[theme=dotcom]:nth-child(1){width:20%;padding-left:0}pn-site-footer-col[theme=dotcom]:nth-child(4){padding-left:1.6rem}pn-site-footer-col[theme=dotcom]:nth-child(3){padding-right:1.6rem}pn-site-footer-col[theme=dotcom]:nth-child(5){padding-right:0}}pn-site-footer-col[theme=dotcom] h3{margin-bottom:1rem;font-weight:700;font-size:2rem;line-height:2.2rem}@media screen and (min-width: 1200px){pn-site-footer-col[theme=dotcom] h3{font-size:2.4rem;line-height:2.64rem}}pn-site-footer-col[theme=dotcom] ul{list-style-type:none;padding:0;margin:0;margin-bottom:1.4rem}pn-site-footer-col[theme=dotcom] ul li{margin-bottom:1rem}pn-site-footer-col[theme=dotcom] a{text-decoration:none;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;font-weight:400;font-size:1.6rem;line-height:2.24rem}pn-site-footer-col[theme=dotcom] a h3{color:#FFFFFF}pn-site-footer-col[theme=dotcom] p{margin-top:0;margin-bottom:1rem}pn-site-footer-col[theme=dotcom] div{min-height:150px;margin-bottom:1.4rem}pn-site-footer-col[theme=dotcom] div p:nth-child(odd){font-weight:500}";
|
|
28969
29410
|
|
|
28970
|
-
|
|
29411
|
+
let PnSiteFooterCol$1 = class extends HTMLElement {
|
|
28971
29412
|
constructor() {
|
|
28972
29413
|
super();
|
|
28973
29414
|
this.__registerHost();
|
|
@@ -29002,12 +29443,15 @@ const languageData = {
|
|
|
29002
29443
|
|
|
29003
29444
|
const pnSiteSelectorCss = "pn-site-selector{display:-ms-flexbox;display:flex;position:relative;-ms-flex-pack:center;justify-content:center;max-height:5.2rem}@media screen and (min-width: 75em){pn-site-selector{display:block}}.siteselector-heading{display:block;padding:0;margin-bottom:1.6rem}@media screen and (min-width: 75em){.siteselector-heading{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-top:0.8rem}}.siteselector-list{list-style:none;margin:0;padding:0}";
|
|
29004
29445
|
|
|
29005
|
-
|
|
29446
|
+
let PnSiteSelector$1 = class extends HTMLElement {
|
|
29006
29447
|
constructor() {
|
|
29007
29448
|
super();
|
|
29008
29449
|
this.__registerHost();
|
|
29450
|
+
/* Site selector Button text */
|
|
29009
29451
|
this.buttontext = "postnord";
|
|
29452
|
+
/* Site selector flyout title */
|
|
29010
29453
|
this.heading = "PostNord";
|
|
29454
|
+
/** Specifies which language we want to show navigation in (sv,da,fi,no,en) */
|
|
29011
29455
|
this.language = "sv";
|
|
29012
29456
|
this.i18n = { navlabel: "Site selector" };
|
|
29013
29457
|
}
|
|
@@ -29028,13 +29472,17 @@ const PnSiteSelector$1 = class extends HTMLElement {
|
|
|
29028
29472
|
|
|
29029
29473
|
const pnSiteSelectorItemCss = "pn-site-selector-item{display:block}pn-site-selector-item>div,pn-site-selector-item>a{padding:0.8rem 0;display:-ms-flexbox;display:flex;-ms-flex-flow:column;flex-flow:column;position:relative}.siteselector-item-link{border-radius:0;text-decoration:none;color:#005D92;-ms-flex-direction:row;flex-direction:row}.siteselector-item-link:hover,.siteselector-item-link:focus{background-color:#F3F2F2;color:#005D92;text-decoration:underline;outline:none;-webkit-box-shadow:none;box-shadow:none}.siteselector-item-link:active{background-color:#F3F2F2;color:#00A0D6;outline:none}.siteselector-item-link>span{-ms-flex-positive:1;flex-grow:1}.siteselector-item-link pn-icon{right:3.2rem;height:1.9rem;width:1.9rem;-ms-flex-item-align:center;align-self:center}.siteselector-item-link pn-icon svg{width:100%;height:auto}.siteselector-item-title{display:block}.siteselector-item-description{color:#2D2013;font-size:1.28rem}a:hover>.siteselector-item-description,a:focus>.siteselector-item-description{background-color:#F3F2F2;color:#005D92;text-decoration:underline;outline:none}a:active>.siteselector-item-description{background-color:#F3F2F2;color:#00A0D6;outline:none}";
|
|
29030
29474
|
|
|
29031
|
-
|
|
29475
|
+
let PnSiteSelectorItem$1 = class extends HTMLElement {
|
|
29032
29476
|
constructor() {
|
|
29033
29477
|
super();
|
|
29034
29478
|
this.__registerHost();
|
|
29479
|
+
/* Link URL */
|
|
29035
29480
|
this.url = "";
|
|
29481
|
+
/* Link title */
|
|
29036
29482
|
this.heading = "";
|
|
29483
|
+
/* Link description */
|
|
29037
29484
|
this.description = "";
|
|
29485
|
+
/* Open link in new window */
|
|
29038
29486
|
this.newwindow = false;
|
|
29039
29487
|
}
|
|
29040
29488
|
render() {
|
|
@@ -29045,7 +29493,7 @@ const PnSiteSelectorItem$1 = class extends HTMLElement {
|
|
|
29045
29493
|
|
|
29046
29494
|
const pnSpotlightCss = "pn-spotlight .pn-spotlight__container{overflow:hidden}@media screen and (max-width: 991px){pn-spotlight .pn-spotlight__container{margin-left:calc(-50vw + 50%);margin-right:calc(-50vw + 50%)}}pn-spotlight [slot=mobile-heading]{text-align:center;padding-bottom:1.6rem;font-weight:500;color:#0D234B}@media screen and (min-width: 769px){pn-spotlight [slot=mobile-heading]{display:none}}pn-spotlight .pn-spotlight__container__wrapper{position:relative;max-width:100%}@media screen and (min-width: 992px){pn-spotlight .pn-spotlight__container__wrapper{max-width:90%;margin:0 auto}}@media screen and (min-width: 1640px){pn-spotlight .pn-spotlight__container__wrapper{max-width:80%}}pn-spotlight .pn-spotlight__container__wrapper__content{position:relative;margin:0 auto;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;left:-57.5px;width:calc(100% + 57.5px)}@media screen and (min-width: 768px){pn-spotlight .pn-spotlight__container__wrapper__content{left:-50px;width:calc(100% + 50px)}}@media screen and (min-width: 992px){pn-spotlight .pn-spotlight__container__wrapper__content{left:0;width:100%}}pn-spotlight .pn-spotlight__container__wrapper__content__ball{border-radius:50%;min-height:75px;aspect-ratio:1/1;margin-right:1.5rem}@media screen and (min-width: 768px){pn-spotlight .pn-spotlight__container__wrapper__content__ball{min-height:85px;margin-right:2.5rem}}pn-spotlight [slot=content]{display:-ms-flexbox;display:flex;border-top-left-radius:10rem;border-bottom-left-radius:10rem;-ms-flex-align:center;align-items:center;-ms-flex-pack:right;justify-content:right;padding:0 1.5rem;padding-left:50px;width:100%}@media screen and (min-width: 992px){pn-spotlight [slot=content]{padding:0 2rem;border-radius:10rem}}pn-spotlight[data-cta-color=green] [slot=content]{background-color:#DCF6E7}pn-spotlight[data-cta-color=green] .pn-spotlight__container__wrapper__content__ball{background-color:#DCF6E7}pn-spotlight[data-cta-color=coral] [slot=content]{background-color:#FDEFEE}pn-spotlight[data-cta-color=coral] .pn-spotlight__container__wrapper__content__ball{background-color:#FDEFEE}pn-spotlight[data-cta-color=blue] [slot=content]{background-color:#EFFBFF}pn-spotlight[data-cta-color=blue] .pn-spotlight__container__wrapper__content__ball{background-color:#EFFBFF}";
|
|
29047
29495
|
|
|
29048
|
-
|
|
29496
|
+
let PnSpotlight$1 = class extends HTMLElement {
|
|
29049
29497
|
constructor() {
|
|
29050
29498
|
super();
|
|
29051
29499
|
this.__registerHost();
|
|
@@ -29062,7 +29510,7 @@ const PnSpotlight$1 = class extends HTMLElement {
|
|
|
29062
29510
|
const pnStatsInfoCss = "pn-stats-info .pn-stats-info__container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center}pn-stats-info .pn-stats-info__container__map{display:none}pn-stats-info .pn-stats-info-image-container{display:none}pn-stats-info .pn-stats-info__container__content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;padding:2.4rem 2.4rem 1.6rem;width:100%;background-color:#0D234B;border-radius:2.4rem}@media screen and (min-width: 992px){pn-stats-info .pn-stats-info__container__content{padding:4rem 2.4rem 1.6rem}}@media screen and (min-width: 1200px){pn-stats-info .pn-stats-info__container__content{padding:5.6rem 2.4rem 3.2rem}}pn-stats-info .pn-stats-info__container__content__heading{color:#F06365;margin-bottom:2.4rem;-ms-flex-item-align:center;align-self:center;text-align:center;font-size:3rem;line-height:110%}@media screen and (min-width: 1200px){pn-stats-info .pn-stats-info__container__content__heading{font-weight:700;font-size:4.8rem}}pn-stats-info .pn-stats-info__container__content__data{height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap;width:100%}pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(2n),pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(2n)~pn-stats-info-data{width:50%}@media screen and (min-width: 768px){pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(1){width:100%}pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(2),pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(2)~pn-stats-info-data{width:50%}pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(3n),pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(3n)~pn-stats-info-data{width:33%}pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(8),pn-stats-info .pn-stats-info__container__content__data pn-stats-info-data:first-child:nth-last-child(8)~pn-stats-info-data{width:25%}}pn-stats-info .pn-stats-info__container__content__data .pn-stats-info-data__container{-ms-flex-pack:start;justify-content:flex-start;min-height:0;padding:2.4rem}@media screen and (min-width: 768px){pn-stats-info .pn-stats-info__container__content__data .pn-stats-info-data__container{min-height:0}}@media screen and (min-width: 992px){pn-stats-info .pn-stats-info__container__content__data .pn-stats-info-data__container{min-height:0}}@media screen and (min-width: 1200px){pn-stats-info .pn-stats-info__container__content__data .pn-stats-info-data__container{min-height:0}}pn-stats-info[data-stats-image=background] .pn-stats-info__container__map{display:none;border-top-left-radius:2.4rem;border-bottom-left-radius:2.4rem}@media screen and (min-width: 768px){pn-stats-info[data-stats-image=background] .pn-stats-info__container__map{display:block;max-width:46rem;width:100%;background-color:#0D234B;background-repeat:no-repeat;background-position:bottom center;background-size:55%}}@media screen and (min-width: 1200px){pn-stats-info[data-stats-image=background] .pn-stats-info__container__map{background-size:contain}}pn-stats-info[data-stats-image=background] .pn-stats-info-image-container{display:none}pn-stats-info[data-stats-image=background] .pn-stats-info__container__content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;width:100%;background-color:#0D234B;background-repeat:no-repeat;background-position:bottom left;background-size:50%;background-blend-mode:overlay;border-radius:2.4rem}@media screen and (min-width: 768px){pn-stats-info[data-stats-image=background] .pn-stats-info__container__content{border-top-left-radius:0;border-bottom-left-radius:0;max-width:54rem;background-position:-999px -999px;background-size:0}}@media screen and (min-width: 1200px){pn-stats-info[data-stats-image=background] .pn-stats-info__container__content{max-width:100%}}pn-stats-info[data-stats-image=background] .pn-stats-info__container__content__data{min-height:0}pn-stats-info[data-stats-image=image] .pn-stats-info__container{-ms-flex-direction:column;flex-direction:column;padding-top:0}@media screen and (min-width: 992px){pn-stats-info[data-stats-image=image] .pn-stats-info__container{-ms-flex-direction:row;flex-direction:row}}pn-stats-info[data-stats-image=image] .pn-stats-info__container__map{display:none}pn-stats-info[data-stats-image=image] .pn-stats-info-image-container{display:block;position:relative}pn-stats-info[data-stats-image=image] .pn-stats-info-image-container [slot=illustration]{border-top-left-radius:2.4rem;border-top-right-radius:2.4rem}pn-stats-info[data-stats-image=image] .pn-stats-info-image-container [slot=illustration]>picture>img{width:100%;height:auto;border-top-left-radius:2.4rem;border-top-right-radius:2.4rem;border-bottom-left-radius:0;border-bottom-right-radius:0}@media screen and (min-width: 992px){pn-stats-info[data-stats-image=image] .pn-stats-info-image-container{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:#0D234B;padding-left:4rem;border-top-left-radius:2.4rem;border-bottom-left-radius:2.4rem}pn-stats-info[data-stats-image=image] .pn-stats-info-image-container [slot=illustration] img{-webkit-clip-path:circle(50%);clip-path:circle(50%);-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;aspect-ratio:1;max-width:45rem}}pn-stats-info[data-stats-image=image] .pn-stats-info__container__content{width:100%;max-width:100%;border-bottom-right-radius:2.4rem;border-bottom-left-radius:2.4rem;border-top-right-radius:0;border-top-left-radius:0}@media screen and (min-width: 768px){pn-stats-info[data-stats-image=image] .pn-stats-info__container__content{-ms-flex-pack:center;justify-content:center}}@media screen and (min-width: 992px){pn-stats-info[data-stats-image=image] .pn-stats-info__container__content{border-top-right-radius:2.4rem;border-bottom-right-radius:2.4rem;border-bottom-left-radius:0;max-width:100%}}@media screen and (min-width: 992px){pn-stats-info[data-stats-image=image] .pn-stats-info__container__content__heading{font-size:4.8rem}}pn-stats-info[data-stats-image=image] .pn-stats-info__container__content__data{width:100%;height:auto;min-height:0}pn-stats-info[data-stats-image=image] .pn-stats-info__container__content__data .pn-stats-info-data__container{-ms-flex-pack:start;justify-content:flex-start;min-height:5.6rem}@media screen and (min-width: 768px){pn-stats-info[data-stats-image=image] .pn-stats-info__container__content__data .pn-stats-info-data__container{min-height:5.6rem;padding:2.4rem}}@media screen and (min-width: 1200px){pn-stats-info[data-stats-image=image] .pn-stats-info__container__content__data .pn-stats-info-data__container{min-height:5rem}}@media screen and (min-width: 992px){pn-stats-info[data-stats-image=image] .pn-stats-info__container__content__data .pn-stats-info-data__container__content__data{font-size:5.6rem}}@media screen and (min-width: 992px){pn-stats-info[data-stats-image=image] .pn-stats-info__container__content__data .pn-stats-info-data__container__content__unit{font-size:5.6rem}}.bleed-container:has(pn-stats-info){padding:0;margin-bottom:3rem;overflow:hidden}.bleed-container:has(pn-stats-info) .container>.mb-5{margin-bottom:0 !important}.bleed-container:has(pn-stats-info) .statsblock{margin-bottom:0 !important}.comboquotestatsblock pn-stats-info{width:100%}.comboquotestatsblock pn-stats-info .pn-stats-info__container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;padding-top:2rem}@media screen and (min-width: 768px){.comboquotestatsblock pn-stats-info .pn-stats-info__container{padding-top:6rem}}@media screen and (min-width: 1200px){.comboquotestatsblock pn-stats-info .pn-stats-info__container{padding-top:8rem}}.comboquotestatsblock pn-stats-info .pn-stats-info__container__map{display:none}@media screen and (min-width: 768px){.comboquotestatsblock pn-stats-info .pn-stats-info__container__map{display:block;max-width:46rem;width:100%;background-color:#0D234B;background-repeat:no-repeat;background-position:bottom center;background-size:55%}}@media screen and (min-width: 1200px){.comboquotestatsblock pn-stats-info .pn-stats-info__container__map{background-size:contain}}.comboquotestatsblock pn-stats-info .pn-stats-info-image-container{display:none}.comboquotestatsblock pn-stats-info .pn-stats-info__container__content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;padding:1rem;width:100%;background-color:#0D234B;background-repeat:no-repeat;background-position:bottom left;background-size:50%;background-blend-mode:overlay;padding-bottom:2rem}@media screen and (min-width: 768px){.comboquotestatsblock pn-stats-info .pn-stats-info__container__content{max-width:54rem;background-position:-999px -999px;background-size:0;padding-bottom:4rem;padding-right:4rem}}@media screen and (min-width: 1200px){.comboquotestatsblock pn-stats-info .pn-stats-info__container__content{max-width:100%;padding-bottom:6rem;padding-right:6rem}}.comboquotestatsblock pn-stats-info .pn-stats-info__container__content__heading{color:#F06365;margin-bottom:2.4rem;-ms-flex-item-align:center;align-self:center;text-align:center;font-size:3rem;line-height:110%}@media screen and (min-width: 1200px){.comboquotestatsblock pn-stats-info .pn-stats-info__container__content__heading{font-weight:700;font-size:4.8rem}}.comboquotestatsblock pn-stats-info .pn-stats-info__container__content__data{height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;min-height:20rem}@media screen and (min-width: 1640px){.comboquotestatsblock pn-stats-info .pn-stats-info__container__content__data{width:65rem}}pn-stats-info[data-stats-background-color=bluedarkest] .pn-stats-info__container__content,pn-stats-info[data-stats-background-color=bluedarkest] .pn-stats-info__container__map{background-color:#0D234B}pn-stats-info[data-stats-background-color=bluedarkest] .pn-stats-info-image-container{background-color:transparent}pn-stats-info[data-stats-background-color=bluedarkest] .pn-stats-info-image-container [slot=illustration]{background-color:#0D234B}@media screen and (min-width: 992px){pn-stats-info[data-stats-background-color=bluedarkest] .pn-stats-info-image-container{background-color:#0D234B}}pn-stats-info[data-stats-background-color=bluedarkest] .pn-stats-info__container__content__heading,pn-stats-info[data-stats-background-color=bluedarkest] .pn-stats-info-data__container__content{color:#F06365}pn-stats-info[data-stats-background-color=bluedarkest] .pn-stats-info-data__container__content__preamble{color:#FFFFFF}pn-stats-info[data-stats-background-color=greendarkest] .pn-stats-info__container__content,pn-stats-info[data-stats-background-color=greendarkest] .pn-stats-info__container__map{background-color:#005E41}pn-stats-info[data-stats-background-color=greendarkest] .pn-stats-info-image-container{background-color:transparent}pn-stats-info[data-stats-background-color=greendarkest] .pn-stats-info-image-container [slot=illustration]{background-color:#005E41}@media screen and (min-width: 992px){pn-stats-info[data-stats-background-color=greendarkest] .pn-stats-info-image-container{background-color:#005E41}}pn-stats-info[data-stats-background-color=greendarkest] .pn-stats-info__container__content__heading,pn-stats-info[data-stats-background-color=greendarkest] .pn-stats-info-data__container__content{color:#FFFFFF}pn-stats-info[data-stats-background-color=greendarkest] .pn-stats-info-data__container__content__preamble{color:#FFFFFF}pn-stats-info[data-stats-background-color=greenlightest] .pn-stats-info__container__content,pn-stats-info[data-stats-background-color=greenlightest] .pn-stats-info__container__map{background-color:#EDFBF3}pn-stats-info[data-stats-background-color=greenlightest] .pn-stats-info-image-container{background-color:transparent}pn-stats-info[data-stats-background-color=greenlightest] .pn-stats-info-image-container [slot=illustration]{background-color:#EDFBF3}@media screen and (min-width: 992px){pn-stats-info[data-stats-background-color=greenlightest] .pn-stats-info-image-container{background-color:#EDFBF3}}pn-stats-info[data-stats-background-color=greenlightest] .pn-stats-info__container__content__heading,pn-stats-info[data-stats-background-color=greenlightest] .pn-stats-info-data__container__content{color:#005D92}pn-stats-info[data-stats-background-color=greenlightest] .pn-stats-info-data__container__content__preamble{color:#0D234B}";
|
|
29063
29511
|
|
|
29064
29512
|
const mockStringArray = '[ { "preamble": "Million parcels", "data": 226, "unit": null, "duration": 1000 }, { "preamble": "Million parcels", "data": 226, "unit": null, "duration": 1000 },{"preamble": "carbon dioxide emissions since 2009", "data": -44, "unit": "%", "duration": 2000 }, { "preamble": "Million parcels", "data": 226, "unit": null, "duration": 1000 }, {"preamble": "carbon dioxide emissions since 2009", "data": -44, "unit": "%", "duration": 2000 }, { "preamble": "Million parcels", "data": 226, "unit": null, "duration": 1000 }]';
|
|
29065
|
-
|
|
29513
|
+
let PnStatsInfo$1 = class extends HTMLElement {
|
|
29066
29514
|
constructor() {
|
|
29067
29515
|
super();
|
|
29068
29516
|
this.__registerHost();
|
|
@@ -29176,22 +29624,22 @@ const inViewport = (entries, toggleClass, isEntryIntersectingCallBack) => {
|
|
|
29176
29624
|
|
|
29177
29625
|
const pnStatsInfoDataCss = "pn-stats-info-data{width:50%}pn-stats-info-data .pn-stats-info-data__container{width:100%;background-color:transparent;color:#F06365;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;padding:2rem}@media screen and (min-width: 768px){pn-stats-info-data .pn-stats-info-data__container{-ms-flex-pack:center;justify-content:center;min-height:102px;padding:0 2rem}}@media screen and (min-width: 1200px){pn-stats-info-data .pn-stats-info-data__container{min-height:125px}}pn-stats-info-data .pn-stats-info-data__container__content{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center}pn-stats-info-data .pn-stats-info-data__container__content__data{font-weight:700;font-size:3rem;line-height:110%}@media screen and (min-width: 1200px){pn-stats-info-data .pn-stats-info-data__container__content__data{font-size:5.6rem}}pn-stats-info-data .pn-stats-info-data__container__content__unit{font-weight:700;font-size:3rem;line-height:110%}@media screen and (min-width: 1200px){pn-stats-info-data .pn-stats-info-data__container__content__unit{font-size:5.6rem}}pn-stats-info-data .pn-stats-info-data__container__content__preamble{text-align:center;font-weight:400;font-size:1.4rem;line-height:110%;color:#FFFFFF}";
|
|
29178
29626
|
|
|
29179
|
-
|
|
29627
|
+
let PnStatsInfoData$1 = class extends HTMLElement {
|
|
29180
29628
|
constructor() {
|
|
29181
29629
|
super();
|
|
29182
29630
|
this.__registerHost();
|
|
29183
|
-
this.inViewPortCallback = (entry) => {
|
|
29184
|
-
if (entry.isIntersecting) {
|
|
29185
|
-
this.hasBeenShown = true;
|
|
29186
|
-
}
|
|
29187
|
-
};
|
|
29188
29631
|
this.data = 0;
|
|
29189
29632
|
this.unit = null;
|
|
29190
29633
|
this.preamble = null;
|
|
29191
|
-
this.duration = 1000;
|
|
29634
|
+
this.duration = 1000; //ms;
|
|
29192
29635
|
this.index = null;
|
|
29193
29636
|
this.hasBeenShown = false;
|
|
29194
29637
|
this.compId = null;
|
|
29638
|
+
this.inViewPortCallback = (entry) => {
|
|
29639
|
+
if (entry.isIntersecting) {
|
|
29640
|
+
this.hasBeenShown = true;
|
|
29641
|
+
}
|
|
29642
|
+
};
|
|
29195
29643
|
}
|
|
29196
29644
|
generateUniqueId() {
|
|
29197
29645
|
return v4();
|
|
@@ -29221,17 +29669,18 @@ const PnStatsInfoData$1 = class extends HTMLElement {
|
|
|
29221
29669
|
|
|
29222
29670
|
const pnTeaserCardCss = ".block.teasercardblock a[data-block-clickable-link=true]{z-index:1}pn-teaser-card{width:100%;height:100%;display:-ms-flexbox;display:flex}pn-teaser-card .pn-teaser-card__container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:start;justify-content:flex-start;border-radius:2.4rem;width:100%}pn-teaser-card .pn-teaser-card__container__image__container{width:100%;position:relative}pn-teaser-card .pn-teaser-card__container__image__container>[slot=illustration]{-webkit-clip-path:ellipse(100% 90% at 50% 0%);clip-path:ellipse(100% 90% at 50% 0%);height:100%;overflow:hidden;border-top-left-radius:2.4rem;border-top-right-radius:2.4rem}pn-teaser-card .pn-teaser-card__container__image__container>[slot=illustration]>picture>img{width:100%;height:auto;-webkit-transition:0.4s ease-in-out;transition:0.4s ease-in-out;-webkit-transform:scale(1);transform:scale(1);aspect-ratio:16/9;-o-object-fit:cover;object-fit:cover;-o-object-position:50% 0;object-position:50% 0}pn-teaser-card .pn-teaser-card__container__content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;-ms-flex:1 1 100%;flex:1 1 100%;gap:3.2rem;padding:2.4rem 2.4rem;padding-top:0}pn-teaser-card .pn-teaser-card__container__content__text__container__heading{font-weight:700;font-size:2.4rem;line-height:2.64rem;margin-bottom:0}pn-teaser-card .pn-teaser-card__container__content__text__container__preamble{padding-top:1.6rem;font-weight:400;font-size:1.6rem;line-height:2.24rem;margin-bottom:0}pn-teaser-card .pn-teaser-card__container__content__text__container__label{display:block;margin-bottom:1.6rem;font-weight:400;font-size:1.2rem;line-height:140%}pn-teaser-card .pn-teaser-card__container__content__cta>pn-button{-ms-flex-item-align:end;align-self:flex-end;width:100%}pn-teaser-card .pn-teaser-card__container__content__cta>pn-button a:hover{text-decoration:none}pn-teaser-card .pn-teaser-card__container__content__cta>pn-button>button>.pn-button-bg,pn-teaser-card .pn-teaser-card__container__content__cta>pn-button>a>.pn-button-bg{-webkit-transition:0.4s ease-in-out;transition:0.4s ease-in-out}@media screen and (min-width: 768px){pn-teaser-card .pn-teaser-card__container__content__cta>pn-button{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}}pn-teaser-card .pn-teaser-card__container__content__cta .secondary-link--animated{font-weight:500;font-size:1.6rem;text-decoration:none;color:#005D92}pn-teaser-card .pn-teaser-card__container__content__cta .secondary-link--animated pn-icon svg{-webkit-transition:0.3s ease-in-out;transition:0.3s ease-in-out;position:relative;left:-0.3rem}pn-teaser-card .pn-teaser-card__container__content__cta .secondary-link--animated pn-icon svg path{fill:#005D92}pn-teaser-card .pn-teaser-card__container__content__cta .secondary-link--animated[target=_blank]:not(.pn-button):after{display:none}pn-teaser-card[data-card-color=coral]>.pn-teaser-card__container{background-color:#FDEFEE}pn-teaser-card[data-card-color=green]>.pn-teaser-card__container{background-color:#DCF6E7}pn-teaser-card[data-card-color=blue]>.pn-teaser-card__container{background-color:#EFFBFF}pn-teaser-card[data-card-color=white]>.pn-teaser-card__container{background-color:#FFFFFF}.teasercardlistblock .teasercardblock.has-bg{background-color:transparent;background:transparent}@media screen and (min-width: 1200px){.onequarterwidth .pn-teaser-card__container__content__text__container__label{margin-bottom:0.8rem}}.onethirdwidth pn-teaser-card .pn-teaser-card__container__image__container--no-image,.onequarterwidth pn-teaser-card .pn-teaser-card__container__image__container--no-image{padding-top:2.4rem}.onethirdwidth .pn-teaser-card__container__content__cta .secondary-link--animated,.onequarterwidth .pn-teaser-card__container__content__cta .secondary-link--animated{font-weight:400}.halfwidth pn-teaser-card .pn-teaser-card__container__content__cta .secondary-link--animated{font-weight:400}.halfwidth pn-teaser-card .pn-teaser-card__container__image__container--no-image{padding-top:2.4rem}@media screen and (min-width: 992px){.halfwidth pn-teaser-card .pn-teaser-card__container__content__cta .secondary-link--animated{font-weight:500}}@media screen and (min-width: 1200px){.halfwidth pn-teaser-card .pn-teaser-card__container__image__container--no-image{padding-top:4rem}.halfwidth pn-teaser-card .pn-teaser-card__container__content{padding:0 4rem 4rem}.halfwidth pn-teaser-card .pn-teaser-card__container__content__text__container__heading{font-weight:700;font-size:3.2rem;line-height:3.52rem}.halfwidth pn-teaser-card .pn-teaser-card__container__content__text__container__preamble{font-weight:400;font-size:2rem;line-height:2.8rem}}@media screen and (min-width: 1640px){.halfwidth pn-teaser-card .pn-teaser-card__container__image__container--no-image{padding-top:5.6rem}.halfwidth pn-teaser-card .pn-teaser-card__container__content{padding:0 5.6rem 5.6rem}}.fullwidth pn-teaser-card .pn-teaser-card__container__content__cta .secondary-link--animated{font-weight:400}.fullwidth pn-teaser-card .pn-teaser-card__container__image__container--no-image{width:auto;padding-top:2.4rem}@media screen and (min-width: 768px){.fullwidth pn-teaser-card{min-height:35rem}.fullwidth pn-teaser-card .pn-teaser-card__container__content__cta .secondary-link--animated{font-weight:500}.fullwidth pn-teaser-card .pn-teaser-card__container{-ms-flex-direction:row;flex-direction:row}.fullwidth pn-teaser-card .pn-teaser-card__container__content{-ms-flex-item-align:center;align-self:center;gap:2.4rem;padding:3.2rem 3.2rem 3.2rem 2.4rem}.fullwidth pn-teaser-card .pn-teaser-card__container__image__container>[slot=illustration]{border-top-left-radius:2.4rem;border-bottom-left-radius:2.4rem;-webkit-clip-path:ellipse(100% 100% at 0% 50%);clip-path:ellipse(100% 100% at 0% 50%)}.fullwidth pn-teaser-card .pn-teaser-card__container__image__container>[slot=illustration]>picture>img{height:100%;-o-object-fit:cover;object-fit:cover}}@media screen and (min-width: 1200px){.fullwidth pn-teaser-card{min-height:52rem}.fullwidth pn-teaser-card .pn-teaser-card__container__content{padding:4rem 4rem 4rem 3.2rem}.fullwidth pn-teaser-card .pn-teaser-card__container__content__text__container__heading{font-weight:700;font-size:4.8rem;line-height:5.28rem}.fullwidth pn-teaser-card .pn-teaser-card__container__content__text__container__preamble{font-size:2rem;line-height:2.8rem}}@media screen and (min-width: 768px){.fullwidth pn-teaser-card[data-card-alignment=right] .pn-teaser-card__container{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.fullwidth pn-teaser-card[data-card-alignment=right] .pn-teaser-card__container__content{padding:3.2rem 2.4rem 3.2rem 3.2rem}.fullwidth pn-teaser-card[data-card-alignment=right] .pn-teaser-card__container__image__container>[slot=illustration]{border-bottom-right-radius:2.4rem;-webkit-clip-path:ellipse(100% 100% at 100% 50%);clip-path:ellipse(100% 100% at 100% 50%)}}@media screen and (min-width: 1200px){.fullwidth pn-teaser-card[data-card-alignment=right] .pn-teaser-card__container__content{padding:4rem 3.2rem 4rem 4rem}}pn-teaser-card.teaser-card--hover-effect:hover{cursor:pointer}pn-teaser-card.teaser-card--hover-effect:hover .pn-teaser-card__container__image__container [slot=illustration] picture>img{-webkit-transform:scale(1.02);transform:scale(1.02);-webkit-filter:brightness(0.85);filter:brightness(0.85)}pn-teaser-card.teaser-card--hover-effect:hover .secondary-link--animated{text-decoration:underline}pn-teaser-card.teaser-card--hover-effect:hover .secondary-link--animated pn-icon svg{left:0}pn-teaser-card.teaser-card--hover-effect:hover pn-button button .pn-button-bg,pn-teaser-card.teaser-card--hover-effect:hover pn-button a .pn-button-bg{background-color:#0D234B}";
|
|
29223
29671
|
|
|
29224
|
-
|
|
29672
|
+
let PnTeaserCard$1 = class extends HTMLElement {
|
|
29225
29673
|
constructor() {
|
|
29226
29674
|
super();
|
|
29227
29675
|
this.__registerHost();
|
|
29228
29676
|
var _a;
|
|
29229
|
-
|
|
29677
|
+
//props
|
|
29230
29678
|
this.text = null;
|
|
29231
29679
|
this.heading = null;
|
|
29232
29680
|
this.label = null;
|
|
29233
29681
|
this.dataCardColor = 'coral';
|
|
29234
29682
|
this.dataCardAlignment = 'left';
|
|
29683
|
+
this.labelToCapitals = (_a = this.label) === null || _a === void 0 ? void 0 : _a.toUpperCase();
|
|
29235
29684
|
this.hasCtaSlotContent = false;
|
|
29236
29685
|
this.hasIllustrationSlot = true;
|
|
29237
29686
|
}
|
|
@@ -29249,11 +29698,13 @@ const PnTeaserCard$1 = class extends HTMLElement {
|
|
|
29249
29698
|
|
|
29250
29699
|
const pnTitletagCss = "pn-titletag{display:-ms-inline-flexbox;display:inline-flex;border-radius:0.4rem;min-height:2.5em;font-weight:normal;font-size:0.75em;text-align:center;vertical-align:bottom;padding:0.6rem;gap:0.6em}pn-titletag[color=green700],pn-titletag[color=green]{color:#005E41;background:#DCF6E7}pn-titletag[color=blue700],pn-titletag[color=blue]{background:#E0F8FF;color:#005D92}pn-titletag[color=coral700],pn-titletag[color=coral]{background:#FDEFEE;color:#9B1C2E}pn-titletag[color=gray900],pn-titletag[color=gray],pn-titletag[color=grey]{background:#D3CECB;color:#2D2013}pn-titletag[color=gray50],pn-titletag[color=lightgray],pn-titletag[color=lightgrey]{background:#F3F2F2;color:#2D2013}";
|
|
29251
29700
|
|
|
29252
|
-
|
|
29701
|
+
let PnTiletag = class extends HTMLElement {
|
|
29253
29702
|
constructor() {
|
|
29254
29703
|
super();
|
|
29255
29704
|
this.__registerHost();
|
|
29705
|
+
/** Icon of the tag */
|
|
29256
29706
|
this.icon = null;
|
|
29707
|
+
/** Icon of the tag */
|
|
29257
29708
|
this.color = "green700";
|
|
29258
29709
|
}
|
|
29259
29710
|
render() {
|
|
@@ -29288,6 +29739,7 @@ const PnMarketwebSearch = /*@__PURE__*/proxyCustomElement(PnMarketwebSearch$1, [
|
|
|
29288
29739
|
const PnMarketwebSitefooter = /*@__PURE__*/proxyCustomElement(PnMarketwebSiteheader$2, [4,"pn-marketweb-sitefooter",{"market":[1537],"language":[1537],"environment":[1537],"endpoint":[1],"siteDomainInUrls":[4,"site-domain-in-urls"],"cache":[4],"theme":[513],"backgroundcolor":[513],"siteDefinition":[32],"footerContent":[32],"i18n":[32],"gotData":[32],"fetchingData":[32]}]);
|
|
29289
29740
|
const PnMarketwebSiteheader = /*@__PURE__*/proxyCustomElement(PnMarketwebSiteheader$1, [4,"pn-marketweb-siteheader",{"market":[1537],"language":[1537],"siteid":[1],"environment":[1537],"userToken":[1,"user-token"],"userFullname":[1,"user-fullname"],"userLoggedin":[516,"user-loggedin"],"endpoint":[1],"hideSiteSelector":[1540,"hide-site-selector"],"hideHomeMenuItem":[1540,"hide-home-menu-item"],"hideLanguageSelector":[1540,"hide-language-selector"],"hideSearch":[1540,"hide-search"],"hideLogin":[1540,"hide-login"],"showProfileSelection":[1540,"show-profile-selection"],"siteDomainInUrls":[4,"site-domain-in-urls"],"AutocompleteEndpoint":[1,"autocomplete-endpoint"],"sessionForward":[4,"session-forward"],"cache":[4],"searchPlaceholder":[1,"search-placeholder"],"spaMode":[4,"spa-mode"],"checkUserLoggedInStateInterval":[2,"check-user-logged-in-state-interval"],"i18n":[32],"gotData":[32],"fetchingData":[32],"homePageLink":[32],"menuItems":[32],"siteDefinition":[32],"search":[32],"siteSelector":[32],"languageSelector":[32],"languageOptions":[32],"loginDialog":[32],"minimizeSearch":[32],"loggedIn":[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]);
|
|
29290
29741
|
const PnMarketwebSiteheaderLogin = /*@__PURE__*/proxyCustomElement(PnMarketwebSiteheaderLogin$1, [0,"pn-marketweb-siteheader-login",{"endpoint":[1],"token":[1],"i18n":[16],"siteUrl":[1,"site-url"],"emitEvents":[4,"emit-events"],"loginDialog":[1040],"fullname":[1],"loggedin":[4],"showProfileSelection":[1028,"show-profile-selection"],"checkUserLoggedInStateInterval":[2,"check-user-logged-in-state-interval"],"loginLinks":[32],"toggleButtonText":[32],"username":[32]}]);
|
|
29742
|
+
const PnMarketwebSiteheaderLoginButton = /*@__PURE__*/proxyCustomElement(PnMarketwebSiteheaderLoginButton$1, [0,"pn-marketweb-siteheader-login-button",{"label":[8],"active":[4]}]);
|
|
29291
29743
|
const PnMarketwebSiteheaderLoginLinklist = /*@__PURE__*/proxyCustomElement(PnMarketwebSiteheaderLoginLinklist$1, [0,"pn-marketweb-siteheader-login-linklist",{"heading":[1],"links":[16],"idNamespace":[1,"id-namespace"]}]);
|
|
29292
29744
|
const PnMarketwebSiteheaderLoginLinks = /*@__PURE__*/proxyCustomElement(PnMarketwebSiteheaderLoginLinks$1, [0,"pn-marketweb-siteheader-login-links",{"loginDialog":[1040],"idNamespace":[1,"id-namespace"],"loggedin":[516],"username":[1]}]);
|
|
29293
29745
|
const PnMarketwebSiteheaderLoginProfileselection = /*@__PURE__*/proxyCustomElement(PnMarketwebSiteheaderLoginProfileselection$1, [0,"pn-marketweb-siteheader-login-profileselection",{"loginDialog":[1040],"endpoint":[1],"loggedin":[4],"idNamespace":[1,"id-namespace"],"heading":[1],"i18n":[16],"currentProfile":[1040],"profileoptions":[1040],"user":[32],"logoutLink":[32],"userName":[32],"userEmail":[32]}]);
|
|
@@ -29308,6 +29760,8 @@ const PnProfileModalProfile = /*@__PURE__*/proxyCustomElement(PnProfileModalProf
|
|
|
29308
29760
|
const PnProfileModalType = /*@__PURE__*/proxyCustomElement(PnProfileModalType$1, [4,"pn-profile-modal-type",{"typeid":[513],"name":[1025],"selected":[1028],"selectedprofile":[1025]}]);
|
|
29309
29761
|
const PnProfileSelector = /*@__PURE__*/proxyCustomElement(PnProfileSelector$1, [4,"pn-profile-selector",{"language":[1537],"returnUrl":[1,"return-url"],"heading":[1],"i18n":[32],"isLoading":[32],"numberOfProfiles":[32]}]);
|
|
29310
29762
|
const PnProfileSelectorOption = /*@__PURE__*/proxyCustomElement(PnProfileSelectorOption$1, [0,"pn-profile-selector-option",{"heading":[1],"description":[1],"url":[1]}]);
|
|
29763
|
+
const PnProxioFindprice = /*@__PURE__*/proxyCustomElement(PnProxioFindPrice, [0,"pn-proxio-findprice",{"endpoint":[1025],"language":[1025],"market":[1025],"cache":[4],"filteredItems":[32],"weight":[32],"weightvalue":[32],"sizecategory":[32],"data":[32]}]);
|
|
29764
|
+
const PnProxioFindpriceResult = /*@__PURE__*/proxyCustomElement(PnProxioFindPriceResult, [0,"pn-proxio-findprice-result",{"item":[1040],"activeweight":[1026],"shownitems":[16],"Usp1":[1,"usp-1"],"Usp2":[1,"usp-2"],"Usp3":[1,"usp-3"],"description":[16],"showMeasurement":[4,"show-measurement"],"weightText":[32],"linkId":[32],"shopLabel":[32],"shopUrl":[32],"shopId":[32],"i18n":[32]}]);
|
|
29311
29765
|
const PnProxioPricegroup = /*@__PURE__*/proxyCustomElement(PnProxioPricegroup$1, [0,"pn-proxio-pricegroup",{"endpoint":[1025],"language":[1],"market":[1],"tariffid":[1],"cache":[4],"activeWeightIndex":[32],"data":[32],"i18n":[32]},[[0,"activeWeightIndex","setActiveWeightIndex"],[0,"language","setLanguage"]]]);
|
|
29312
29766
|
const PnProxioProductcard = /*@__PURE__*/proxyCustomElement(PnProxioProductcard$1, [4,"pn-proxio-productcard"]);
|
|
29313
29767
|
const PnProxioProductcardDescription = /*@__PURE__*/proxyCustomElement(PnProxioProductcardDescription$1, [0,"pn-proxio-productcard-description",{"heading":[1],"highlight":[1],"description":[1],"list":[1040]}]);
|
|
@@ -29356,6 +29810,7 @@ const defineCustomElements = (opts) => {
|
|
|
29356
29810
|
PnMarketwebSitefooter,
|
|
29357
29811
|
PnMarketwebSiteheader,
|
|
29358
29812
|
PnMarketwebSiteheaderLogin,
|
|
29813
|
+
PnMarketwebSiteheaderLoginButton,
|
|
29359
29814
|
PnMarketwebSiteheaderLoginLinklist,
|
|
29360
29815
|
PnMarketwebSiteheaderLoginLinks,
|
|
29361
29816
|
PnMarketwebSiteheaderLoginProfileselection,
|
|
@@ -29376,6 +29831,8 @@ const defineCustomElements = (opts) => {
|
|
|
29376
29831
|
PnProfileModalType,
|
|
29377
29832
|
PnProfileSelector,
|
|
29378
29833
|
PnProfileSelectorOption,
|
|
29834
|
+
PnProxioFindprice,
|
|
29835
|
+
PnProxioFindpriceResult,
|
|
29379
29836
|
PnProxioPricegroup,
|
|
29380
29837
|
PnProxioProductcard,
|
|
29381
29838
|
PnProxioProductcardDescription,
|
|
@@ -29404,4 +29861,4 @@ const defineCustomElements = (opts) => {
|
|
|
29404
29861
|
}
|
|
29405
29862
|
};
|
|
29406
29863
|
|
|
29407
|
-
export { PnBonusProgressbar, PnBonusProgressbarLevel, PnBreakpoints, PnChart, PnChartsCard, PnChoiceButton, PnCustomernumberSelector, PnCustomernumberSelectorOption, PnFilterCheckbox, PnFindPrice, PnFindPriceResult, PnFindServiceAndPrice, PnFindServiceAndPriceResult, PnLanguageSelector, PnLanguageSelectorOption, PnLineShape, PnMainnav, PnMainnavLevel, PnMainnavLink, PnMainnavList, PnMarketwebInput, PnMarketwebSearch, PnMarketwebSitefooter, PnMarketwebSiteheader, PnMarketwebSiteheaderLogin, PnMarketwebSiteheaderLoginLinklist, PnMarketwebSiteheaderLoginLinks, PnMarketwebSiteheaderLoginProfileselection, PnMarketwebSiteheaderSearch, PnParcelTracker, PnPexPricefinder, PnProductCard, PnProductCardInfo, PnProductCardPrice, PnProductPricelist, PnProductPricelistResult, PnProductTile, PnProductTileInfo, PnProductTilePrice, PnProfileModal, PnProfileModalCustomernumber, PnProfileModalProfile, PnProfileModalType, PnProfileSelector, PnProfileSelectorOption, PnProxioPricegroup, PnProxioProductcard, PnProxioProductcardDescription, PnProxioProductcardInformation, PnProxioProductcardPricelink, PnQuickCta, PnQuoteCard, PnSidenav, PnSidenavLevel, PnSidenavLink, PnSidenavTogglebutton, PnSiteFooter, PnSiteFooterCol, PnSiteSelector, PnSiteSelectorItem, PnSpotlight, PnStatsInfo, PnStatsInfoData, PnTeaserCard, PnTitletag, defineCustomElements };
|
|
29864
|
+
export { PnBonusProgressbar, PnBonusProgressbarLevel, PnBreakpoints, PnChart, PnChartsCard, PnChoiceButton, PnCustomernumberSelector, PnCustomernumberSelectorOption, PnFilterCheckbox, PnFindPrice, PnFindPriceResult, PnFindServiceAndPrice, PnFindServiceAndPriceResult, PnLanguageSelector, PnLanguageSelectorOption, PnLineShape, PnMainnav, PnMainnavLevel, PnMainnavLink, PnMainnavList, PnMarketwebInput, PnMarketwebSearch, PnMarketwebSitefooter, PnMarketwebSiteheader, PnMarketwebSiteheaderLogin, PnMarketwebSiteheaderLoginButton, PnMarketwebSiteheaderLoginLinklist, PnMarketwebSiteheaderLoginLinks, PnMarketwebSiteheaderLoginProfileselection, PnMarketwebSiteheaderSearch, PnParcelTracker, PnPexPricefinder, PnProductCard, PnProductCardInfo, PnProductCardPrice, PnProductPricelist, PnProductPricelistResult, PnProductTile, PnProductTileInfo, PnProductTilePrice, PnProfileModal, PnProfileModalCustomernumber, PnProfileModalProfile, PnProfileModalType, PnProfileSelector, PnProfileSelectorOption, PnProxioFindprice, PnProxioFindpriceResult, PnProxioPricegroup, PnProxioProductcard, PnProxioProductcardDescription, PnProxioProductcardInformation, PnProxioProductcardPricelink, PnQuickCta, PnQuoteCard, PnSidenav, PnSidenavLevel, PnSidenavLink, PnSidenavTogglebutton, PnSiteFooter, PnSiteFooterCol, PnSiteSelector, PnSiteSelectorItem, PnSpotlight, PnStatsInfo, PnStatsInfoData, PnTeaserCard, PnTitletag, defineCustomElements };
|