@postnord/pn-marketweb-components 2.0.149 → 2.0.150-test
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +4 -7
- package/cjs/{pn-find-price-store-6b418730.js → pn-find-price-store-0b8c195c.js} +1 -1
- package/cjs/pn-find-price.cjs.entry.js +4 -4
- package/cjs/pn-find-service-and-price-result.cjs.entry.js +4 -4
- package/cjs/{pn-find-service-and-price-store-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 +7 -16
- 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-pricegroup.cjs.entry.js +5 -3
- 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/collection/collection-manifest.json +3 -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/pn-find-price-result.js +179 -163
- 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-pricegroup/pn-proxio-pricegroup.js +145 -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 +6 -0
- package/custom-elements/index.js +248 -155
- 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 +4 -7
- package/esm/{pn-find-price-store-2cef65c5.js → pn-find-price-store-b4556c9b.js} +1 -1
- package/esm/pn-find-price.entry.js +4 -4
- package/esm/pn-find-service-and-price-result.entry.js +4 -4
- package/esm/{pn-find-service-and-price-store-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 +7 -16
- 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-pricegroup.entry.js +5 -3
- 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/polyfills/css-shim.js +1 -1
- package/esm-es5/MarketWebContextService-872043cc.js +1 -1
- package/esm-es5/convert-f6377d13.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-2cef65c5.js → pn-find-price-store-b4556c9b.js} +1 -1
- package/esm-es5/pn-find-price.entry.js +1 -1
- package/esm-es5/pn-find-service-and-price-result.entry.js +1 -1
- package/esm-es5/{pn-find-service-and-price-store-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_4.entry.js +1 -1
- package/esm-es5/pn-product-pricelist-result.entry.js +1 -1
- package/esm-es5/pn-product-pricelist.entry.js +1 -1
- package/esm-es5/pn-product-tile-info_2.entry.js +1 -1
- package/esm-es5/pn-product-tile.entry.js +1 -1
- package/esm-es5/pn-profile-modal-customernumber.entry.js +1 -1
- package/esm-es5/pn-profile-modal-profile.entry.js +1 -1
- package/esm-es5/{pn-profile-modal-store-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-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/package.json +2 -3
- package/pn-market-web-components/p-022d9a78.entry.js +1 -0
- 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-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-4ccf1b55.system.entry.js → p-198d9c77.system.entry.js} +1 -1
- 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-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-332e9005.entry.js +1 -0
- 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-f4a6d005.system.js → p-37017f68.system.js} +1 -1
- package/pn-market-web-components/p-381b3ec0.entry.js +1 -0
- package/pn-market-web-components/p-3ae38e63.entry.js +1 -0
- package/pn-market-web-components/p-3c0d63fb.system.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-4a026c9d.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-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-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-736e5b84.system.entry.js +1 -0
- package/pn-market-web-components/{p-545a40a7.system.entry.js → p-74d35edf.system.entry.js} +1 -1
- package/pn-market-web-components/p-77557da8.entry.js +1 -0
- 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-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-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-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-aab2e28f.entry.js +1 -0
- package/pn-market-web-components/p-ac0e3c22.system.entry.js +1 -0
- 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-ffe18938.system.entry.js → p-b88337dd.system.entry.js} +1 -1
- 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-f04afb39.js → p-c4254e9e.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-e32dc098.entry.js +1 -0
- package/pn-market-web-components/p-e4a4e68f.system.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-939b5792.system.entry.js → p-f312ff98.system.entry.js} +1 -1
- 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-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.d.ts +38 -53
- 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-marketweb-siteheader-login-links_2.entry.js +0 -1
- package/esm-es5/pn-marketweb-siteheader-store-9df5290d.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-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-fba88e93.entry.js +0 -1
- package/pn-market-web-components/p-ff975b67.entry.js +0 -1
package/esm-es5/loader.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as promiseResolve,b as bootstrapLazy}from"./index-c118284d.js";export{s as setNonce}from"./index-c118284d.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(e,n){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){return bootstrapLazy(JSON.parse('[["pn-marketweb-siteheader",[[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"]]]]],["pn-find-price",[[0,"pn-find-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"weight":[32],"weightvalue":[32],"sourceData":[32],"sizecategory":[32]}]]],["pn-find-service-and-price",[[0,"pn-find-service-and-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"postagetype":[32],"weight":[32],"weightvalue":[32],"deliveryscope":[32],"sourceData":[32]}]]],["pn-product-pricelist",[[4,"pn-product-pricelist",{"source":[1],"language":[1025],"market":[1025],"productid":[1],"filteredItems":[32],"sourceData":[32],"gotData":[32],"loading":[32],"postagetype":[32],"weight":[32],"weightvalue":[32]}]]],["pn-proxio-pricegroup",[[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"]]]]],["pn-product-pricelist-result",[[0,"pn-product-pricelist-result",{"item":[1040],"description":[16],"shownitems":[16],"showMeasurement":[4,"show-measurement"],"weightText":[32]}]]],["pn-marketweb-sitefooter",[[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]}]]],["pn-parcel-tracker",[[0,"pn-parcel-tracker",{"formActionUrl":[1,"form-action-url"],"heading":[1],"buttonLabel":[1,"button-label"],"locale":[1],"placeholder":[1],"inputName":[1,"input-name"],"currentWidth":[32]},[[9,"resize","handleViewportSizeChange"]]]]],["pn-pex-pricefinder",[[0,"pn-pex-pricefinder",{"language":[1],"currency":[1],"apiUrl":[1,"api-url"],"i18n":[32],"fromzip":[32],"tozip":[32],"weight":[32],"when":[32],"response":[32]},[[0,"language","setLanguage"]]]]],["pn-stats-info",[[4,"pn-stats-info",{"heading":[1],"dataArray":[1,"data-array"],"backgroundUrl":[1,"background-url"],"myParsedArray":[32]}]]],["pn-bonus-progressbar",[[4,"pn-bonus-progressbar",{"icon":[1],"heading":[1],"sumtext":[513],"theme":[513],"bonuspercentage":[1],"currency":[513],"value":[1538],"min":[1538],"max":[1538],"valuepercentage":[32],"progresspercentage":[32],"levelValues":[32],"currentLevelAdjustedValue":[32]}]]],["pn-bonus-progressbar-level",[[0,"pn-bonus-progressbar-level",{"current":[516],"value":[1538],"bonuspercentage":[1537],"visualpercentage":[1538],"percentage":[32],"max":[32],"min":[32],"currency":[32]}]]],["pn-breakpoints",[[0,"pn-breakpoints",{"breakPointClass":[1,"break-point-class"],"currentWidth":[32]},[[9,"resize","handleViewportSizeChange"]]]]],["pn-chart",[[0,"pn-chart",{"labels":[1],"dataSets":[1,"data-sets"],"dataChartType":[8,"data-chart-type"],"myChartCtxRef":[32]}]]],["pn-charts-card",[[4,"pn-charts-card",{"header":[1],"highlight":[1],"preamble":[1],"label":[1],"source":[1],"sourceUrl":[1,"source-url"],"openInNewWindow":[4,"open-in-new-window"],"someState":[32]}]]],["pn-customernumber-selector",[[4,"pn-customernumber-selector",{"language":[1537],"open":[1540],"heading":[1],"description":[1],"i18n":[32]}]]],["pn-customernumber-selector-option",[[4,"pn-customernumber-selector-option",{"heading":[1],"description":[1],"url":[1]}]]],["pn-filter-checkbox",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-line-shape",[[0,"pn-line-shape"]]],["pn-marketweb-search",[[1,"pn-marketweb-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"list":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4],"suggestionObserver":[32],"hasClonedInput":[32],"listSuggestion":[32]},[[0,"input","inputHandler"]]]]],["pn-product-tile",[[4,"pn-product-tile"]]],["pn-profile-modal",[[4,"pn-profile-modal",{"heading":[1],"continueCtaText":[1,"continue-cta-text"],"choosenCompanyText":[1,"choosen-company-text"],"toText":[1,"to-text"],"chooseCustomerNumberText":[1,"choose-customer-number-text"],"isLoading":[32]},[[0,"urlSelected","onUrlSelected"]]]]],["pn-profile-modal-customernumber",[[4,"pn-profile-modal-customernumber",{"url":[513],"customernumber":[513],"selected":[516]}]]],["pn-profile-modal-profile",[[4,"pn-profile-modal-profile",{"heading":[513],"description":[513],"url":[513],"selected":[1028],"showCustomerNumbers":[516,"show-customer-numbers"],"pleaseSelectText":[513,"please-select-text"],"visible":[1540],"identifier":[32]}]]],["pn-profile-modal-type",[[4,"pn-profile-modal-type",{"typeid":[513],"name":[1025],"selected":[1028],"selectedprofile":[1025]}]]],["pn-profile-selector",[[4,"pn-profile-selector",{"language":[1537],"returnUrl":[1,"return-url"],"heading":[1],"i18n":[32],"isLoading":[32],"numberOfProfiles":[32]}]]],["pn-profile-selector-option",[[0,"pn-profile-selector-option",{"heading":[1],"description":[1],"url":[1]}]]],["pn-quick-cta",[[4,"pn-quick-cta",{"heading":[1],"preamble":[1]}]]],["pn-quote-card",[[4,"pn-quote-card",{"quote":[1],"name":[1],"occupation":[1]}]]],["pn-sidenav",[[4,"pn-sidenav",{"language":[1],"navLabel":[1,"nav-label"],"i18n":[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["pn-sidenav-level",[[4,"pn-sidenav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"alignment":[32]}]]],["pn-sidenav-link",[[4,"pn-sidenav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"icon":[1],"current":[4],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-sidenav-togglebutton",[[4,"pn-sidenav-togglebutton",{"label":[1],"i18n":[32]}]]],["pn-spotlight",[[4,"pn-spotlight",{"heading":[1],"preamble":[1]}]]],["pn-teaser-card",[[4,"pn-teaser-card",{"text":[1],"heading":[1],"label":[1],"dataCardColor":[513,"data-card-color"],"dataCardAlignment":[513,"data-card-alignment"],"hasCtaSlotContent":[32],"hasIllustrationSlot":[32]}]]],["pn-product-card_4",[[0,"pn-product-card-info",{"rulle":[1],"paket":[1],"label":[1],"text":[1]}],[0,"pn-product-card-price",{"label":[1],"amount":[1],"currency":[1],"note":[1],"url":[1],"service":[1],"linkid":[1]}],[4,"pn-titletag",{"icon":[1],"color":[1537]}],[4,"pn-product-card"]]],["pn-find-service-and-price-result",[[0,"pn-find-service-and-price-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]]],["pn-stats-info-data",[[0,"pn-stats-info-data",{"data":[2],"unit":[1],"preamble":[1],"duration":[2],"index":[2],"hasBeenShown":[32],"compId":[32]}]]],["pn-find-price-result",[[0,"pn-find-price-result",{"item":[1040],"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]}]]],["pn-site-footer_2",[[4,"pn-site-footer",{"url":[1],"linktitle":[1],"theme":[513]}],[4,"pn-site-footer-col",{"theme":[513]}]]],["pn-choice-button",[[4,"pn-choice-button",{"value":[520],"name":[1],"choiceid":[1],"type":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-mainnav-link",[[4,"pn-mainnav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-marketweb-input",[[0,"pn-marketweb-input",{"disabled":[4],"error":[1],"invalid":[4],"helpertext":[1],"label":[1],"placeholder":[1],"inputid":[1],"name":[1],"required":[4],"type":[1025],"autocomplete":[1],"valid":[4],"value":[1],"maxlength":[1],"min":[1],"max":[1],"step":[1],"pattern":[1],"showText":[32]}]]],["pn-marketweb-siteheader-login-links_2",[[0,"pn-marketweb-siteheader-login-links",{"loginDialog":[1040],"idNamespace":[1,"id-namespace"],"loggedin":[516],"username":[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]}]]],["pn-proxio-productcard_4",[[4,"pn-proxio-productcard"],[0,"pn-proxio-productcard-description",{"heading":[1],"highlight":[1],"description":[1],"list":[1040]}],[0,"pn-proxio-productcard-information",{"label":[1],"information":[16]}],[0,"pn-proxio-productcard-pricelink",{"price":[1],"link":[1],"linktext":[1]}]]],["pn-product-tile-info_2",[[0,"pn-product-tile-info",{"label":[1],"text":[1],"icon":[1]}],[0,"pn-product-tile-price",{"label":[1],"amount":[1],"currency":[1],"url":[1]}]]],["pn-marketweb-siteheader-login-linklist",[[0,"pn-marketweb-siteheader-login-linklist",{"heading":[1],"links":[16],"idNamespace":[1,"id-namespace"]}]]],["pn-language-selector_9",[[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]}],[4,"pn-mainnav-level",{"label":[1537],"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"listCount":[32],"alignment":[32]}],[4,"pn-language-selector",{"value":[1537],"selectedLanguageName":[32],"options":[32],"i18n":[32]}],[0,"pn-language-selector-option",{"name":[1],"code":[1],"url":[1],"selected":[4],"currentLanguage":[1,"current-language"]}],[4,"pn-mainnav",{"market":[1],"language":[1],"navigationId":[1,"navigation-id"],"openMenu":[1028,"open-menu"],"navLabel":[1,"nav-label"]},[[0,"language","setLanguage"],[0,"market","setMarket"],[0,"menuLanguageChange","onLanguageChange"],[0,"setmenuopenstate","setMenuOpenState"],[0,"openMenuLevelChange","onOpenMenuLevelChange"]]],[4,"pn-mainnav-list",{"heading":[1],"linkCount":[32]}],[0,"pn-marketweb-siteheader-search",{"i18n":[8,"i-1-8n"],"showOnlyLink":[1028,"show-only-link"],"hideSearch":[1028,"hide-search"],"language":[1537],"siteid":[1],"search":[1040],"primary":[4],"icononly":[4],"autoCompleteOptions":[32]}],[4,"pn-site-selector",{"buttontext":[1537],"heading":[1537],"language":[1537],"i18n":[32]}],[0,"pn-site-selector-item",{"url":[1],"heading":[1],"description":[1],"newwindow":[4]}]]]]'),n)}))};export{defineCustomElements};
|
|
1
|
+
import{p as promiseResolve,b as bootstrapLazy}from"./index-5397620b.js";var patchEsm=function(){return promiseResolve()};var defineCustomElements=function(e,n){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){return bootstrapLazy(JSON.parse('[["pn-marketweb-siteheader",[[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"]]]]],["pn-find-price",[[0,"pn-find-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"weight":[32],"weightvalue":[32],"sourceData":[32],"sizecategory":[32]}]]],["pn-find-service-and-price",[[0,"pn-find-service-and-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"postagetype":[32],"weight":[32],"weightvalue":[32],"deliveryscope":[32],"sourceData":[32]}]]],["pn-product-pricelist",[[4,"pn-product-pricelist",{"source":[1],"language":[1025],"market":[1025],"productid":[1],"filteredItems":[32],"sourceData":[32],"gotData":[32],"loading":[32],"postagetype":[32],"weight":[32],"weightvalue":[32]}]]],["pn-proxio-pricegroup",[[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"]]]]],["pn-product-pricelist-result",[[0,"pn-product-pricelist-result",{"item":[1040],"description":[16],"shownitems":[16],"showMeasurement":[4,"show-measurement"],"weightText":[32]}]]],["pn-marketweb-sitefooter",[[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]}]]],["pn-parcel-tracker",[[0,"pn-parcel-tracker",{"formActionUrl":[1,"form-action-url"],"heading":[1],"buttonLabel":[1,"button-label"],"locale":[1],"placeholder":[1],"inputName":[1,"input-name"],"currentWidth":[32]},[[9,"resize","handleViewportSizeChange"]]]]],["pn-pex-pricefinder",[[0,"pn-pex-pricefinder",{"language":[1],"currency":[1],"apiUrl":[1,"api-url"],"i18n":[32],"fromzip":[32],"tozip":[32],"weight":[32],"when":[32],"response":[32]},[[0,"language","setLanguage"]]]]],["pn-stats-info",[[4,"pn-stats-info",{"heading":[1],"dataArray":[1,"data-array"],"backgroundUrl":[1,"background-url"],"myParsedArray":[32]}]]],["pn-bonus-progressbar",[[4,"pn-bonus-progressbar",{"icon":[1],"heading":[1],"sumtext":[513],"theme":[513],"bonuspercentage":[1],"currency":[513],"value":[1538],"min":[1538],"max":[1538],"valuepercentage":[32],"progresspercentage":[32],"levelValues":[32],"currentLevelAdjustedValue":[32]}]]],["pn-bonus-progressbar-level",[[0,"pn-bonus-progressbar-level",{"current":[516],"value":[1538],"bonuspercentage":[1537],"visualpercentage":[1538],"percentage":[32],"max":[32],"min":[32],"currency":[32]}]]],["pn-breakpoints",[[0,"pn-breakpoints",{"breakPointClass":[1,"break-point-class"],"currentWidth":[32]},[[9,"resize","handleViewportSizeChange"]]]]],["pn-chart",[[0,"pn-chart",{"labels":[1],"dataSets":[1,"data-sets"],"dataChartType":[8,"data-chart-type"],"myChartCtxRef":[32]}]]],["pn-charts-card",[[4,"pn-charts-card",{"header":[1],"highlight":[1],"preamble":[1],"label":[1],"source":[1],"sourceUrl":[1,"source-url"],"openInNewWindow":[4,"open-in-new-window"],"someState":[32]}]]],["pn-customernumber-selector",[[4,"pn-customernumber-selector",{"language":[1537],"open":[1540],"heading":[1],"description":[1],"i18n":[32]}]]],["pn-customernumber-selector-option",[[4,"pn-customernumber-selector-option",{"heading":[1],"description":[1],"url":[1]}]]],["pn-filter-checkbox",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-line-shape",[[0,"pn-line-shape"]]],["pn-marketweb-search",[[1,"pn-marketweb-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"list":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4],"suggestionObserver":[32],"hasClonedInput":[32],"listSuggestion":[32]},[[0,"input","inputHandler"]]]]],["pn-product-tile",[[4,"pn-product-tile"]]],["pn-profile-modal",[[4,"pn-profile-modal",{"heading":[1],"continueCtaText":[1,"continue-cta-text"],"choosenCompanyText":[1,"choosen-company-text"],"toText":[1,"to-text"],"chooseCustomerNumberText":[1,"choose-customer-number-text"],"isLoading":[32]},[[0,"urlSelected","onUrlSelected"]]]]],["pn-profile-modal-customernumber",[[4,"pn-profile-modal-customernumber",{"url":[513],"customernumber":[513],"selected":[516]}]]],["pn-profile-modal-profile",[[4,"pn-profile-modal-profile",{"heading":[513],"description":[513],"url":[513],"selected":[1028],"showCustomerNumbers":[516,"show-customer-numbers"],"pleaseSelectText":[513,"please-select-text"],"visible":[1540],"identifier":[32]}]]],["pn-profile-modal-type",[[4,"pn-profile-modal-type",{"typeid":[513],"name":[1025],"selected":[1028],"selectedprofile":[1025]}]]],["pn-profile-selector",[[4,"pn-profile-selector",{"language":[1537],"returnUrl":[1,"return-url"],"heading":[1],"i18n":[32],"isLoading":[32],"numberOfProfiles":[32]}]]],["pn-profile-selector-option",[[0,"pn-profile-selector-option",{"heading":[1],"description":[1],"url":[1]}]]],["pn-quick-cta",[[4,"pn-quick-cta",{"heading":[1],"preamble":[1]}]]],["pn-quote-card",[[4,"pn-quote-card",{"quote":[1],"name":[1],"occupation":[1]}]]],["pn-sidenav",[[4,"pn-sidenav",{"language":[1],"navLabel":[1,"nav-label"],"i18n":[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["pn-sidenav-level",[[4,"pn-sidenav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"alignment":[32]}]]],["pn-sidenav-link",[[4,"pn-sidenav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"icon":[1],"current":[4],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-sidenav-togglebutton",[[4,"pn-sidenav-togglebutton",{"label":[1],"i18n":[32]}]]],["pn-spotlight",[[4,"pn-spotlight",{"heading":[1],"preamble":[1]}]]],["pn-teaser-card",[[4,"pn-teaser-card",{"text":[1],"heading":[1],"label":[1],"dataCardColor":[513,"data-card-color"],"dataCardAlignment":[513,"data-card-alignment"],"hasCtaSlotContent":[32],"hasIllustrationSlot":[32]}]]],["pn-product-card_4",[[0,"pn-product-card-info",{"rulle":[1],"paket":[1],"label":[1],"text":[1]}],[0,"pn-product-card-price",{"label":[1],"amount":[1],"currency":[1],"note":[1],"url":[1],"service":[1],"linkid":[1]}],[4,"pn-titletag",{"icon":[1],"color":[1537]}],[4,"pn-product-card"]]],["pn-find-service-and-price-result",[[0,"pn-find-service-and-price-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]]],["pn-stats-info-data",[[0,"pn-stats-info-data",{"data":[2],"unit":[1],"preamble":[1],"duration":[2],"index":[2],"hasBeenShown":[32],"compId":[32]}]]],["pn-find-price-result",[[0,"pn-find-price-result",{"item":[1040],"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]}]]],["pn-site-footer_2",[[4,"pn-site-footer",{"url":[1],"linktitle":[1],"theme":[513]}],[4,"pn-site-footer-col",{"theme":[513]}]]],["pn-choice-button",[[4,"pn-choice-button",{"value":[520],"name":[1],"choiceid":[1],"type":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-mainnav-link",[[4,"pn-mainnav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-marketweb-input",[[0,"pn-marketweb-input",{"disabled":[4],"error":[1],"invalid":[4],"helpertext":[1],"label":[1],"placeholder":[1],"inputid":[1],"name":[1],"required":[4],"type":[1025],"autocomplete":[1],"valid":[4],"value":[1],"maxlength":[1],"min":[1],"max":[1],"step":[1],"pattern":[1],"showText":[32]}]]],["pn-proxio-productcard_4",[[4,"pn-proxio-productcard"],[0,"pn-proxio-productcard-description",{"heading":[1],"highlight":[1],"description":[1],"list":[1040]}],[0,"pn-proxio-productcard-information",{"label":[1],"information":[16]}],[0,"pn-proxio-productcard-pricelink",{"price":[1],"link":[1],"linktext":[1]}]]],["pn-product-tile-info_2",[[0,"pn-product-tile-info",{"label":[1],"text":[1],"icon":[1]}],[0,"pn-product-tile-price",{"label":[1],"amount":[1],"currency":[1],"url":[1]}]]],["pn-marketweb-siteheader-login-linklist",[[0,"pn-marketweb-siteheader-login-linklist",{"heading":[1],"links":[16],"idNamespace":[1,"id-namespace"]}]]],["pn-marketweb-siteheader-login-button_3",[[0,"pn-marketweb-siteheader-login-links",{"loginDialog":[1040],"idNamespace":[1,"id-namespace"],"loggedin":[516],"username":[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]}],[0,"pn-marketweb-siteheader-login-button",{"label":[8],"active":[4]}]]],["pn-language-selector_9",[[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]}],[4,"pn-mainnav-level",{"label":[1537],"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"listCount":[32],"alignment":[32]}],[4,"pn-language-selector",{"value":[1537],"selectedLanguageName":[32],"options":[32],"i18n":[32]}],[0,"pn-language-selector-option",{"name":[1],"code":[1],"url":[1],"selected":[4],"currentLanguage":[1,"current-language"]}],[4,"pn-mainnav",{"market":[1],"language":[1],"navigationId":[1,"navigation-id"],"openMenu":[1028,"open-menu"],"navLabel":[1,"nav-label"]},[[0,"language","setLanguage"],[0,"market","setMarket"],[0,"menuLanguageChange","onLanguageChange"],[0,"setmenuopenstate","setMenuOpenState"],[0,"openMenuLevelChange","onOpenMenuLevelChange"]]],[4,"pn-mainnav-list",{"heading":[1],"linkCount":[32]}],[0,"pn-marketweb-siteheader-search",{"i18n":[8,"i-1-8n"],"showOnlyLink":[1028,"show-only-link"],"hideSearch":[1028,"hide-search"],"language":[1537],"siteid":[1],"search":[1040],"primary":[4],"icononly":[4],"autoCompleteOptions":[32]}],[4,"pn-site-selector",{"buttontext":[1537],"heading":[1537],"language":[1537],"i18n":[32]}],[0,"pn-site-selector-item",{"url":[1],"heading":[1],"description":[1],"newwindow":[4]}]]]]'),n)}))};export{defineCustomElements};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,a as Host,g as getElement}from"./index-
|
|
1
|
+
import{r as registerInstance,h,a as Host,g as getElement}from"./index-5397620b.js";var 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}';var PnBonusProgressbarLevel=function(){function e(e){registerInstance(this,e);this.current=false;this.value=0;this.bonuspercentage="";this.visualpercentage=0;this.percentage=0;this.max=0;this.min=0;this.currency=""}e.prototype.componentWillLoad=function(){this.max=parseInt(this.hostElement.parentElement.parentElement.getAttribute("max"),10);this.min=parseInt(this.hostElement.parentElement.parentElement.getAttribute("min"),10);this.currency=this.hostElement.parentElement.parentElement.getAttribute("currency");this.percentage=this.value/this.max*100;if(this.visualpercentage>0){return}this.visualpercentage=this.value===0?0:(this.value-this.min)/(this.max-this.min)*100};e.prototype.formatValue=function(){return"".concat(this.value.toLocaleString("sv-SE",{maximumFractionDigits:0})," ").concat(this.currency)};e.prototype.render=function(){return h(Host,{style:{left:"".concat(this.visualpercentage,"%")}},h("div",{class:"progressbar-level-percentage"},this.bonuspercentage),h("div",{class:"progressbar-level-value"},this.formatValue()))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnBonusProgressbarLevel.style=pnBonusProgressbarLevelCss;export{PnBonusProgressbarLevel as pn_bonus_progressbar_level};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,a as Host,g as getElement}from"./index-
|
|
1
|
+
import{r as registerInstance,h,a as Host,g as getElement}from"./index-5397620b.js";var 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}";var PnBonusProgressbar=function(){function e(e){registerInstance(this,e);this.icon=null;this.heading="";this.sumtext=null;this.theme="blue";this.bonuspercentage="0%";this.currency="kr";this.value=0;this.min=0;this.max=0;this.valuepercentage=0;this.progresspercentage=0;this.levelValues=[];this.currentLevelAdjustedValue=0}e.prototype.componentWillLoad=function(){this.setInitialValues();this.setValuePercentage()};e.prototype.setInitialValues=function(){var e=Array.from(this.hostElement.querySelectorAll("pn-bonus-progressbar-level:not([current])"));this.currentLevelAdjustedValue=this.value;this.levelValues=e.map((function(e){return parseInt(e.getAttribute("value"),10)}));if(!this.max){if(this.levelValues&&this.levelValues.length>0){var r=this.levelValues.slice(-1)[0];var s=1.05;if(this.value>r){s=1.2}this.max=Math.floor(r*s)}}if(this.value>this.max){this.currentLevelAdjustedValue=100}};e.prototype.setValuePercentage=function(){this.valuepercentage=this.value/this.max*100;this.progresspercentage=(this.value-this.min)/(this.max-this.min)*100;if(this.progresspercentage<0){if(this.levelValues&&this.levelValues.length&&this.levelValues[0]<this.value){this.min=Math.floor(this.levelValues[0]*.95)}else{this.min=Math.floor(this.value*.95)}}if(this.progresspercentage>100){this.progresspercentage=100;var e=this.levelValues.slice(-1)[0];var r=1.05;if(this.value>e){r=1.2}this.max=Math.floor(e*r)}};e.prototype.iconColor=function(){switch(this.theme){case"red":return"coral700";case"blue":default:return"blue700"}};e.prototype.render=function(){return h(Host,null,h("div",{class:"bonusprogressbar-top"},this.icon?h("div",{class:"bonusprogressbar-top-icon"},h("pn-icon",{symbol:this.icon,small:"false",color:this.iconColor()})):{},h("div",{class:"bonusprogressbar-top-heading"},h("h4",{class:"bonusprogressbar-top-headline"},this.heading," ",h("strong",{class:"bonusprogressbar-top-percentage"},this.bonuspercentage)),this.sumtext?h("div",{class:"bonusprogressbar-sumtext"},this.sumtext):null)),h("div",{class:"bonusprogressbar-wrapper"},h("progress",{class:"bonusprogressbar-progress",value:this.progresspercentage,max:"100"}),h("slot",null)))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{currentLevelAdjustedValue:["setValuePercentage"],value:["setValuePercentage"],min:["setValuePercentage"],max:["setValuePercentage"]}},enumerable:false,configurable:true});return e}();PnBonusProgressbar.style=pnBonusProgressbarCss;export{PnBonusProgressbar as pn_bonus_progressbar};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,a as Host,g as getElement}from"./index-
|
|
1
|
+
import{r as registerInstance,h,a as Host,g as getElement}from"./index-5397620b.js";var 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)"}}';var PnBreakpoints=function(){function e(e){registerInstance(this,e);this.currentWidth=window.innerWidth;this.breakPointClass="dotcom"}e.prototype.handleViewportSizeChange=function(e){this.currentWidth=e.target.innerWidth};e.prototype.createBreakpointClass=function(){return"breakpoints--".concat(this.breakPointClass)};e.prototype.render=function(){return h(Host,null,h("div",{class:"breakpoints ".concat(this.createBreakpointClass()," ")},"".concat(this.currentWidth," px")," min-width: ",h("span",{class:"reference"}," px")))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnBreakpoints.style=pnBreakpointsCss;export{PnBreakpoints as pn_breakpoints};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as registerInstance,h,a as Host,g as getElement}from"./index-
|
|
1
|
+
import{r as registerInstance,h,a as Host,g as getElement}from"./index-5397620b.js";import{g as getAugmentedNamespace,c as createCommonjsModule,a as commonjsGlobal}from"./_commonjsHelpers-27f122dd.js";
|
|
2
2
|
//! moment.js
|
|
3
3
|
//! version : 2.29.4
|
|
4
4
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
@@ -21,4 +21,4 @@ hooks.version="2.29.4";setHookCallback(createLocal);hooks.fn=proto;hooks.min=min
|
|
|
21
21
|
* (c) 2016-2021 chartjs-plugin-deferred contributors
|
|
22
22
|
* Released under the MIT license
|
|
23
23
|
*/
|
|
24
|
-
(function(e,t){t(Chart)})(commonjsGlobal,(function(e){e=e&&e.hasOwnProperty("default")?e["default"]:e;var t=e.helpers;var a="$chartjs_deferred";var r="$deferred";e.defaults.global.plugins.deferred={xOffset:0,yOffset:0,delay:0};function n(e,a){if(a){window.setTimeout(e,a)}else{t.requestAnimFrame.call(window,e)}}function i(e,t){var a=parseInt(e,10);if(isNaN(a)){return 0}else if(typeof e==="string"&&e.indexOf("%")!==-1){return a/100*t}return a}function o(e){var t=e[r].options;var a=e.chart.canvas;if(!a||a.offsetParent===null){return false}var n=a.getBoundingClientRect();var o=i(t.yOffset||0,n.height);var s=i(t.xOffset||0,n.width);return n.right-s>=0&&n.bottom-o>=0&&n.left+s<=window.innerWidth&&n.top+o<=window.innerHeight}function s(e){var t=e.target;var i=t[a];if(i.ticking){return}i.ticking=true;n((function(){var e=i.charts.slice();var t=e.length;var a,n;for(n=0;n<t;++n){a=e[n];if(o(a)){d(a);a[r].appeared=true;a.update()}}i.ticking=false}))}function l(e){var a=e.nodeType;if(a===Node.ELEMENT_NODE){var r=t.getStyle(e,"overflow-x");var n=t.getStyle(e,"overflow-y");return r==="auto"||r==="scroll"||n==="auto"||n==="scroll"}return e.nodeType===Node.DOCUMENT_NODE}function u(e){var n=e.chart.canvas;var i=n.parentElement;var o,u;while(i){if(l(i)){o=i[a]||(i[a]={});u=o.charts||(o.charts=[]);if(u.length===0){t.addEvent(i,"scroll",s)}u.push(e);e[r].elements.push(i)}i=i.parentElement||i.ownerDocument}}function d(e){e[r].elements.forEach((function(r){var n=r[a].charts;n.splice(n.indexOf(e),1);if(!n.length){t.removeEvent(r,"scroll",s);delete r[a]}}));e[r].elements=[]}e.plugins.register({id:"deferred",beforeInit:function(e,t){e[r]={options:t,appeared:false,delayed:false,loaded:false,elements:[]};u(e)},beforeDatasetsUpdate:function(e,t){var a=e[r];if(!a.loaded){if(!a.appeared&&!o(e)){return false}a.appeared=true;a.loaded=true;d(e);if(t.delay>0){a.delayed=true;n((function(){if(e.ctx){a.delayed=false;e.update()}}),t.delay);return false}}if(a.delayed){return false}},destroy:function(e){d(e)}})}))}));var chartCfg=function(e,t,a){if(a===void 0){a=false}var r={type:e,data:t,options:{responsive:true,maintainAspectRatio:false,aspectRatio:1,legend:{display:a,position:"bottom",labels:{boxWidth:20,fontFamily:"sans-serif"}},tooltip:{enabled:true},plugins:{deferred:{enabled:true,yOffset:"50%",delay:300}}}};if(e==="bar"){return Object.assign(Object.assign({},r),{options:Object.assign(Object.assign({},r.options),{scales:{yAxes:[{ticks:{beginAtZero:true}}]}})})}if(e==="doughnut"||e==="pie"){return Object.assign(Object.assign({},r),{options:Object.assign(Object.assign({},r.options),{legend:Object.assign(Object.assign({},r.options.legend),{display:true})})})}return r};var dataSetProps=function(e,t){var a={datalabels:{color:"#FFF",font:{size:22,weight:600}}};var r={};if(t==="doughnut"||t==="pie"){r=Object.assign(Object.assign({},a),{borderColor:e.borderColor?e.borderColor:"transparent",datalabels:Object.assign(Object.assign({},a.datalabels),{color:"#000000"})})}else if(t==="line"){r=Object.assign(Object.assign({},a),{fill:false})}else if(t==="bar"){r=Object.assign({},a)}return Object.assign(Object.assign({},e),r)};var 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}}";var PnChart=function(){function e(e){registerInstance(this,e);this.labels=null;this.dataSets=null;this.dataChartType="doughnut"
|
|
24
|
+
(function(e,t){t(Chart)})(commonjsGlobal,(function(e){e=e&&e.hasOwnProperty("default")?e["default"]:e;var t=e.helpers;var a="$chartjs_deferred";var r="$deferred";e.defaults.global.plugins.deferred={xOffset:0,yOffset:0,delay:0};function n(e,a){if(a){window.setTimeout(e,a)}else{t.requestAnimFrame.call(window,e)}}function i(e,t){var a=parseInt(e,10);if(isNaN(a)){return 0}else if(typeof e==="string"&&e.indexOf("%")!==-1){return a/100*t}return a}function o(e){var t=e[r].options;var a=e.chart.canvas;if(!a||a.offsetParent===null){return false}var n=a.getBoundingClientRect();var o=i(t.yOffset||0,n.height);var s=i(t.xOffset||0,n.width);return n.right-s>=0&&n.bottom-o>=0&&n.left+s<=window.innerWidth&&n.top+o<=window.innerHeight}function s(e){var t=e.target;var i=t[a];if(i.ticking){return}i.ticking=true;n((function(){var e=i.charts.slice();var t=e.length;var a,n;for(n=0;n<t;++n){a=e[n];if(o(a)){d(a);a[r].appeared=true;a.update()}}i.ticking=false}))}function l(e){var a=e.nodeType;if(a===Node.ELEMENT_NODE){var r=t.getStyle(e,"overflow-x");var n=t.getStyle(e,"overflow-y");return r==="auto"||r==="scroll"||n==="auto"||n==="scroll"}return e.nodeType===Node.DOCUMENT_NODE}function u(e){var n=e.chart.canvas;var i=n.parentElement;var o,u;while(i){if(l(i)){o=i[a]||(i[a]={});u=o.charts||(o.charts=[]);if(u.length===0){t.addEvent(i,"scroll",s)}u.push(e);e[r].elements.push(i)}i=i.parentElement||i.ownerDocument}}function d(e){e[r].elements.forEach((function(r){var n=r[a].charts;n.splice(n.indexOf(e),1);if(!n.length){t.removeEvent(r,"scroll",s);delete r[a]}}));e[r].elements=[]}e.plugins.register({id:"deferred",beforeInit:function(e,t){e[r]={options:t,appeared:false,delayed:false,loaded:false,elements:[]};u(e)},beforeDatasetsUpdate:function(e,t){var a=e[r];if(!a.loaded){if(!a.appeared&&!o(e)){return false}a.appeared=true;a.loaded=true;d(e);if(t.delay>0){a.delayed=true;n((function(){if(e.ctx){a.delayed=false;e.update()}}),t.delay);return false}}if(a.delayed){return false}},destroy:function(e){d(e)}})}))}));var chartCfg=function(e,t,a){if(a===void 0){a=false}var r={type:e,data:t,options:{responsive:true,maintainAspectRatio:false,aspectRatio:1,legend:{display:a,position:"bottom",labels:{boxWidth:20,fontFamily:"sans-serif"}},tooltip:{enabled:true},plugins:{deferred:{enabled:true,yOffset:"50%",delay:300}}}};if(e==="bar"){return Object.assign(Object.assign({},r),{options:Object.assign(Object.assign({},r.options),{scales:{yAxes:[{ticks:{beginAtZero:true}}]}})})}if(e==="doughnut"||e==="pie"){return Object.assign(Object.assign({},r),{options:Object.assign(Object.assign({},r.options),{legend:Object.assign(Object.assign({},r.options.legend),{display:true})})})}return r};var dataSetProps=function(e,t){var a={datalabels:{color:"#FFF",font:{size:22,weight:600}}};var r={};if(t==="doughnut"||t==="pie"){r=Object.assign(Object.assign({},a),{borderColor:e.borderColor?e.borderColor:"transparent",datalabels:Object.assign(Object.assign({},a.datalabels),{color:"#000000"})})}else if(t==="line"){r=Object.assign(Object.assign({},a),{fill:false})}else if(t==="bar"){r=Object.assign({},a)}return Object.assign(Object.assign({},e),r)};var 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}}";var PnChart=function(){function e(e){registerInstance(this,e);this.labels=null;this.dataSets=null;this.dataChartType="doughnut"}e.prototype.dataChangeHandler=function(){var e=this;this.parsedDataSets=JSON.parse(this.dataSets);this.numberOfSetsGreaterThanOne=this.parsedDataSets.length>1;this.parsedDatasetWithDataParsed=this.parsedDataSets.map((function(t){return dataSetProps(t,e.dataChartType)}));this.data=Object.assign(Object.assign({},this.data),{datasets:this.parsedDatasetWithDataParsed})};e.prototype.labelsChangeHandler=function(){this.parsedLabels=JSON.parse(this.labels);this.data=Object.assign(Object.assign({},this.data),{labels:this.parsedLabels})};e.prototype.componentWillLoad=function(){this.dataChangeHandler();this.labelsChangeHandler()};e.prototype.componentDidLoad=function(){Chart.Chart.plugins.register(chartjsPluginDeferred);this.myChartCtxRef=this.element.querySelector("#chart-canvas");this.myChart=new Chart.Chart(this.myChartCtxRef,chartCfg(this.dataChartType,this.data,this.numberOfSetsGreaterThanOne))};e.prototype.render=function(){return h(Host,null,h("div",{class:"chart-wrapper"},h("canvas",{id:"chart-canvas",class:"pnChart"})))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{dataSets:["dataChangeHandler"],labels:["labelsChangeHandler"]}},enumerable:false,configurable:true});return e}();PnChart.style=pnChartCss;export{PnChart as pn_chart};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,a as Host,g as getElement}from"./index-
|
|
1
|
+
import{r as registerInstance,h,a as Host,g as getElement}from"./index-5397620b.js";var 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}";var PnChartsCard=function(){function r(r){registerInstance(this,r);this.openInNewWindow=false}r.prototype.render=function(){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"}," "))))))))};Object.defineProperty(r.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return r}();PnChartsCard.style=pnChartsCardCss;export{PnChartsCard as pn_charts_card};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,a as Host,g as getElement}from"./index-
|
|
1
|
+
import{r as registerInstance,h,a as Host,g as getElement}from"./index-5397620b.js";var 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}";var PnChoiceButton=function(){function e(e){registerInstance(this,e);this.type="checkbox";this.disabled=false;this.checked=false;this.indeterminate=false}e.prototype.handlechange=function(){this.indeterminate=false};e.prototype.componentDidLoad=function(){this.checkAndSetIndeterminateState()};e.prototype.componentDidUpdate=function(){this.checkAndSetIndeterminateState()};e.prototype.checkAndSetIndeterminateState=function(){var e=this.hostElement.querySelector("#".concat(this.choiceid));if(e){e.indeterminate=this.indeterminate}};e.prototype.render=function(){return h(Host,null,h("input",{type:this.type,id:this.choiceid,value:this.value,name:this.name||this.choiceid,disabled:this.disabled,checked:this.checked}),h("label",{htmlFor:this.choiceid,class:"pn-choice-button"},h("slot",null)))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnChoiceButton.style=pnChoiceButtonCss;export{PnChoiceButton as pn_choice_button};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,a as Host,g as getElement}from"./index-
|
|
1
|
+
import{r as registerInstance,h,a as Host,g as getElement}from"./index-5397620b.js";var 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}";var PnProfileSelectorOption=function(){function e(e){registerInstance(this,e);this.heading="";this.description="";this.url=""}e.prototype.render=function(){return h(Host,null,h("a",{class:"customernumberoption",href:this.url},h("span",{class:"customernumberoption-text"},h("span",{class:"customernumberoption-title"},this.heading),h("span",{class:"customernumberoption-description"},this.description),h("slot",null))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnProfileSelectorOption.style=pnCustomernumberSelectorOptionCss;export{PnProfileSelectorOption as pn_customernumber_selector_option};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,a as Host,g as getElement}from"./index-
|
|
1
|
+
import{r as registerInstance,h,a as Host,g as getElement}from"./index-5397620b.js";var translations={sv:{toggleLinkTitleText:"Välj kundnummer"},en:{toggleLinkTitleText:"Choose customernumber"},da:{toggleLinkTitleText:"Vælg kundenummer"},no:{toggleLinkTitleText:"Velg kundenummer"},fi:{toggleLinkTitleText:"Valitse asiakasnumero"},de:{toggleLinkTitleText:"Kundennummer auswählen"}};var 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}";var PnCustomernumberSelector=function(){function e(e){registerInstance(this,e);this.language="sv";this.open=false;this.heading="";this.description="";this.i18n=translations["en"]}e.prototype.componentWillLoad=function(){this.init()};e.prototype.init=function(){this.setTranslations()};e.prototype.setTranslations=function(){if(this.language&&translations[this.language]){this.i18n=translations[this.language]}};e.prototype.render=function(){var e=this;return h(Host,null,h("div",{class:"customernumber-container"},h("button",{class:"customernumber-toggle","aria-label":this.i18n.toggleLinkTitleText,onClick:function(){return e.open=!e.open}},h("div",{class:"customernumber-selected"},h("strong",{class:"customernumber-selected-title"},this.heading),h("div",{class:"customernumber-selected-description"},this.description)),h("pn-icon",{symbol:this.open?"angle-up":"angle-down",small:"false",color:"blue700"})),h("div",{class:"customernumber-options"},h("slot",null))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnCustomernumberSelector.style=pnCustomernumberSelectorCss;export{PnCustomernumberSelector as pn_customernumber_selector};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,a as Host,g as getElement}from"./index-
|
|
1
|
+
import{r as registerInstance,h,a as Host,g as getElement}from"./index-5397620b.js";var 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}";var PnFilterCheckbox=function(){function e(e){registerInstance(this,e);this.disabled=false;this.checked=false;this.indeterminate=false}e.prototype.handlechange=function(){this.indeterminate=false};e.prototype.componentDidLoad=function(){this.checkAndSetIndeterminateState();this.bindEvents()};e.prototype.componentDidUpdate=function(){this.checkAndSetIndeterminateState()};e.prototype.bindEvents=function(){var e=this;var t=document.querySelectorAll('label[for="'+this.checkboxid+'"]');t.forEach((function(t){t.addEventListener("click",(function(){e.hostElement.shadowRoot.querySelector("label").click()}))}));var o=this.hostElement.shadowRoot.querySelector("input");o.addEventListener("change",this.onCheckboxChange.bind(this,o))};e.prototype.onCheckboxChange=function(e){var t=this.hostElement.querySelector("input.hidden-"+this.checkboxid);if(t){t.value=e.checked?this.value:"";t.dispatchEvent(new CustomEvent("change",{detail:t}))}};e.prototype.checkAndSetIndeterminateState=function(){var e=this.hostElement.querySelector("#".concat(this.checkboxid));if(e){e.indeterminate=this.indeterminate}};e.prototype.renderInputOutsideShadowRoot=function(){var e;var t=this.hostElement.querySelector("input.hidden-"+this.checkboxid);if(!t){t=this.hostElement.ownerDocument.createElement("input");t.type="hidden";t.classList.add("hidden-"+this.checkboxid);this.hostElement.appendChild(t)}t.name=(e=this.name)!==null&&e!==void 0?e:this.checkboxid};e.prototype.render=function(){this.renderInputOutsideShadowRoot();return h(Host,{checked:this.checked,id:this.checkboxid},h("input",{type:"checkbox",id:this.checkboxid,value:this.value,name:this.name||this.checkboxid,disabled:this.disabled,checked:this.checked}),h("label",{htmlFor:this.checkboxid,class:"pn-checkbox"},h("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none"},h("polyline",{class:"checkmark-path",points:"4,12 9,17 20,6","stroke-width":"3"}),h("polyline",{class:"indeterminate-path",points:"4,12 20,12","stroke-width":"3"}))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnFilterCheckbox.style=pnFilterCheckboxCss;export{PnFilterCheckbox as pn_filter_checkbox};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,a as Host}from"./index-
|
|
1
|
+
import{r as registerInstance,h,a as Host}from"./index-5397620b.js";import{s as state}from"./pn-find-price-store-b4556c9b.js";import{a as stampShopUrl,b as sendDirectUrl,R as RiktigaValues}from"./data-9c9c5f41.js";import"./index-7b21ecff.js";var 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}";var PnfindPriceResult=function(){function t(t){registerInstance(this,t);this.item=null;this.shownitems=[];this.description=[];this.showMeasurement=false;this.weightText="";this.linkId="";this.shopLabel="";this.shopUrl="";this.shopId=""}t.prototype.componentWillLoad=function(){this.composeItems()};t.prototype.composeItems=function(){if(this.item.additionalusp){var t=this.item.additionalusp.split("/");this.Usp1=t.length>0?t[0]:null;this.Usp2=t.length>1?t[1]:null;this.Usp3=t.length>2?t[2]:null}if(this.item.description){this.description=this.item.description.split("#bullet").filter((function(t){return t!==""}))}this.showMeasurement=this.item.maxmått!==null||this.item.rulle!==null;this.linkId="".concat(this.item.id,"-").concat(this.item.maxweight,"-").concat(this.item.sizecategory,"-").concat(this.item.name.toLocaleLowerCase().replace(/[^a-zA-Z0-9]/g,""));var i=this.item.ombudpurchase==="Yes";this.shopLabel=i?state.i18n.ombudHeader:state.i18n.stampshopcta;this.shopUrl=i?state.market.servicePoint:stampShopUrl;this.shopId=i?"-servicepoint":"-stampshop"};t.prototype.render=function(){return h(Host,null,h("pn-product-card",{"data-productid":this.item.id},h("pn-illustration",{slot:"illustration",illustration:this.item.illustration}),h("div",{slot:"title"},this.item.infopagelink?h("h2",null,h("a",{href:this.item.infopagelink,target:"_blank"},this.item.name)):h("h2",null,this.item.name),this.item.highestrankusp==="Snabbast"?h("pn-titletag",{slot:"Snabbast",icon:"bolt",color:"blue700"},this.item.highestrankusp):this.item.highestrankusp==="Billigast"?h("pn-titletag",{slot:"Billigast",icon:"box-label",color:"green700"},this.item.highestrankusp):null),h("div",{slot:"content"},h("div",{class:"content"},this.item.description?h("div",{class:"description"},this.description.map((function(t){return h("li",null,t)}))):null,this.item.info?h("div",{class:"description"},this.item.info):null)),this.item.note?h("div",{slot:"note"},h("p",null,this.item.note)):null,this.item.additionalusp?h("div",{slot:"additionalUSP"},this.Usp1?h("span",null,this.Usp1):null,this.Usp2?h("span",null,this.Usp2):null,this.Usp3?h("span",null,this.Usp3):null):null,this.showMeasurement?h("pn-product-card-info",{paket:this.item.maxmått,rulle:this.item.rulle}):null,h("div",{slot:"cardprice"},this.item.pricesenddirect?h("pn-product-card-price",{slot:"sendDirectPrice",label:state.i18n.senddirectcta,amount:this.item.pricesenddirect+"",currency:state.market.currency,url:sendDirectUrl,linkid:this.linkId+"-portal"}):null,this.item.pricestamps?this.item.name.toLocaleLowerCase()!=="riktiga vykort"?h("pn-product-card-price",{slot:"stampPrice",label:this.shopLabel,amount:this.item.pricestamps+"",currency:state.market.currency,url:this.shopUrl,linkid:this.linkId+this.shopId}):h("pn-product-card-price",{slot:"riktiga",label:state.i18n.riktigaVykort,amount:this.item.pricestamps+"",currency:state.market.currency,url:RiktigaValues["WebUrl"],linkid:this.linkId+"-riktiga"}):null),h("div",{slot:"servicepoint"},this.item.showservicepointlink?h("a",{href:state.market.servicePoint,target:"_blank"},h("pn-icon",{symbol:"map-marker",color:"blue700"}),state.i18n.servicePointLink):null),h("div",{slot:"mobiledownload"},this.item.name.toLocaleLowerCase()==="riktiga vykort"?h("div",{id:"riktiga"},h("h4",null,state.i18n.riktigaVykortMobile),h("div",null,h("a",{href:RiktigaValues["AndroidAppUrl"],target:"_blank"},h("img",{class:"riktigaAndroidImg",src:RiktigaValues["AndroidImg"]})),h("a",{href:RiktigaValues["IosAppUrl"],target:"_blank"},h("img",{class:"riktigaAppleImg",src:RiktigaValues["IosImg"]})))):null)))};Object.defineProperty(t,"watchers",{get:function(){return{item:["composeItems"]}},enumerable:false,configurable:true});return t}();PnfindPriceResult.style=pnFindPriceResultCss;export{PnfindPriceResult as pn_find_price_result};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as createStore}from"./index-
|
|
1
|
+
import{c as createStore}from"./index-7b21ecff.js";var _a=createStore({i18n:{componentheading:"",deliveryscopeheading:"",resultlistheading:"",sizeheading:"",weightheading:"",weightlabel:"",maxweightlabel:"",maxmeasurementlabel:"",senddirectcta:"",stampshopcta:"",message:"",servicePointHeader:"",servicePointLink:"",riktigaVykort:"",riktigaVykortMobile:"",ombudHeader:""},market:{currency:"",country:"",servicePoint:""}}),state=_a.state,onChange=_a.onChange;export{state as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(M,i,I,N){function D(M){return M instanceof I?M:new I((function(i){i(M)}))}return new(I||(I=Promise))((function(I,g){function j(M){try{z(N.next(M))}catch(i){g(i)}}function e(M){try{z(N["throw"](M))}catch(i){g(i)}}function z(M){M.done?I(M.value):D(M.value).then(j,e)}z((N=N.apply(M,i||[])).next())}))};var __generator=this&&this.__generator||function(M,i){var I={label:0,sent:function(){if(g[0]&1)throw g[1];return g[1]},trys:[],ops:[]},N,D,g,j;return j={next:e(0),throw:e(1),return:e(2)},typeof Symbol==="function"&&(j[Symbol.iterator]=function(){return this}),j;function e(M){return function(i){return z([M,i])}}function z(e){if(N)throw new TypeError("Generator is already executing.");while(j&&(j=0,e[0]&&(I=0)),I)try{if(N=1,D&&(g=e[0]&2?D["return"]:e[0]?D["throw"]||((g=D["return"])&&g.call(D),0):D.next)&&!(g=g.call(D,e[1])).done)return g;if(D=0,g)e=[e[0]&2,g.value];switch(e[0]){case 0:case 1:g=e;break;case 4:I.label++;return{value:e[1],done:false};case 5:I.label++;D=e[1];e=[0];continue;case 7:e=I.ops.pop();I.trys.pop();continue;default:if(!(g=I.trys,g=g.length>0&&g[g.length-1])&&(e[0]===6||e[0]===2)){I=0;continue}if(e[0]===3&&(!g||e[1]>g[0]&&e[1]<g[3])){I.label=e[1];break}if(e[0]===6&&I.label<g[1]){I.label=g[1];g=e;break}if(g&&I.label<g[2]){I.label=g[2];I.ops.push(e);break}if(g[2])I.ops.pop();I.trys.pop();continue}e=i.call(M,I)}catch(z){e=[6,z];D=0}finally{N=g=0}if(e[0]&5)throw e[1];return{value:e[0]?e[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(M,i,I){if(I||arguments.length===2)for(var N=0,D=i.length,g;N<D;N++){if(g||!(N in i)){if(!g)g=Array.prototype.slice.call(i,0,N);g[N]=i[N]}}return M.concat(g||Array.prototype.slice.call(i))};import{r as registerInstance,h}from"./index-c118284d.js";import{f as fileLocation,s as sizeCategories,w as weights}from"./data-9c9c5f41.js";import{c as convertFileForSizeCategogy}from"./convert-f6377d13.js";import{s as state}from"./pn-find-price-store-2cef65c5.js";import"./_commonjsHelpers-27f122dd.js";import"./index-7f77b0ba.js";var translations={sv:{componentheading:"Våra priser och villkor för inrikesförsändelser för dig som direktbetalande kund?",deliveryscopeheading:"Endast leveranser inom Sverige",resultlistheading:"Några bra alternativ för dig",sizeheading:"Uppskatta storleken på din försändelse",weightheading:"Uppskatta vikten på din försändelse",weightlabel:"Vikt",maxweightlabel:"Maxvikt",maxmeasurementlabel:"Maxvolym",senddirectcta:"Köp online",stampshopcta:"Till butiken",message:"*Vid köp hos valfritt ombud",servicePointHeader:"Eller hitta närmaste serviceställe",servicePointLink:"Hitta Serviceställe",riktigaVykort:"Köp Riktiga Vykort",riktigaVykortMobile:"Ladda ner appen",ombudHeader:"Köp via ombud"},en:{componentheading:"Our prices and terms and conditions for domestic shipments for you as a direct paying customer",deliveryscopeheading:"Deliveries within Sweden only",resultlistheading:"Some suitable options for you",sizeheading:"Estimate the size of your shipment",weightheading:"Estimate the weight of your shipment",weightlabel:"Weight",maxweightlabel:"Max weight",maxmeasurementlabel:"Maximum measurement",senddirectcta:"Buy Online",stampshopcta:"To the Store",message:"When buying from any agent",servicePointHeader:"Find service point",servicePointLink:"Find service point",riktigaVykort:"Buy Postcards",riktigaVykortMobile:"Download the app",ombudHeader:"Purchase by agent"},da:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveringer indenfor Sverige",resultlistheading:"Nogle passende muligheder for dig",sizeheading:"Anslå størrelsen på din forsendelse",weightheading:"Anslå vægten af din forsendelse",weightlabel:"Vægt",maxweightlabel:"Max vægt",maxmeasurementlabel:"Maks. Volumen",senddirectcta:"Køb Online",stampshopcta:"Til butikken",message:"When buying from any agent",servicePointHeader:"Find nærmeste servicested",servicePointLink:"Find nærmeste servicested",riktigaVykort:"Køb Riktiga Vykort",ombudHeader:"Køb af agent"},no:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveranser innen Sverige",resultlistheading:"Some suitable options for you",weightlabel:"Vekt",maxweightlabel:"Maks vekt",maxmeasurementlabel:"Maks volum",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},fi:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Toimitukset vain Ruotsin sisällä",resultlistheading:"Some suitable options for you",weightlabel:"Paino",maxweightlabel:"Max paino",maxmeasurementlabel:"Max äänenvoimakkuus",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"}};var markets={se:{currency:"kr",country:"Sweden",servicePoint:"https://www.postnord.se/vara-verktyg/sok-brevlada-eller-servicestalle"},dk:{currency:"dk",country:"Denmark",servicePoint:"https://www.postnord.dk/varktojer/find-os"},fi:{currency:" €",country:"Finland",servicePoint:""},no:{currency:"kr",country:"Norway",servicePoint:""}};var smallPackageSvg="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTQiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCA1NCAzOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQ0LjM4NDggMzhINTAuMzAxN0M1MS45MzM5IDM4IDUzLjMxMTEgMzYuMjM1NyA1My4zMTExIDMzLjk5NjRWNC4wMDM1N0M1My4zM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AzMC4wNDIzIDEzMy45NDggMzIuNjg5NSAxMzYuOTkxIDMyLjY4OTVIMTYyLjg5MUMxNjYuMjA5IDMyLjY4OTUgMTY4Ljg4IDI5LjU0MjYgMTY4Ljg4IDI1LjYzMjhWMjUuNTM3NUMxNjguODggMjEuNjI3NyAxNjYuMjA5IDE4LjQ4MDggMTYyLjg5MSAxOC40ODA4SDE1OS45MDdDMTU4Ljc3NyAxMy44MDE1IDE1NS4zMyAxMC4zNzUzIDE1MS4yMzYgMTAuMzc1M0gxNDYuNDJDMTQ1Ljk3MSA0LjcwNTMzIDE0MS45MjEgMC4yNjcwOSAxMzYuOTkxIDAuMjY3MDlDMTMyLjA2MiAwLjI2NzA5IDEyOC4wMTIgNC43MDUzMyAxMjcuNTYzIDEwLjM3NTNIMTI0LjUyOEMxMTkuNTEgMTAuMzc1MyAxMTUuNDYzIDE1LjUyNDcgMTE1LjQ2MyAyMS44MTg0VjI2LjU4NjRIMTMxLjA1NloiIGZpbGw9IiNFMEY4RkYiLz4KPC9zdmc+Cg==";var 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}';var PnfindPrice=function(){function M(M){registerInstance(this,M);this.source=fileLocation;this.language="sv";this.market="se";this.filteredItems=[];this.weight={value:0,name:""};this.weightvalue=0;this.sourceData={types:[],data:[]};this.sizecategory={value:"",name:"",icon:"",unit:""}}M.prototype.componentWillLoad=function(){this.setState();this.getDataSource()};M.prototype.getDataSource=function(){return __awaiter(this,void 0,void 0,(function(){var M,i,I,N,D;return __generator(this,(function(g){switch(g.label){case 0:M="?cache=".concat(Math.floor(Math.random()*(1e4-1)+1));return[4,fetch(this.source+M)];case 1:i=g.sent();return[4,i.blob()];case 2:I=g.sent();g.label=3;case 3:g.trys.push([3,5,,6]);return[4,convertFileForSizeCategogy(I)];case 4:N=g.sent();this.sourceData=N;this.sizecategory=sizeCategories.filter((function(M){return M.value==="Small"}))[0];this.filterItems();return[3,6];case 5:D=g.sent();console.log("Unable to parse data");return[3,6];case 6:return[2]}}))}))};M.prototype.setState=function(){if(this.market){state.market=markets[this.market]}if(this.language&&translations[this.language]){state.i18n=translations[this.language]}};M.prototype.filterItems=function(){var M=this;var i;if(!((i=this.sourceData)===null||i===void 0?void 0:i.data)){console.log("Data has not yet been loaded");return}var I=this.sourceData.data.filter((function(M){return M.deliveryscope.toLocaleLowerCase()===state.market.country.toLocaleLowerCase()}));if(!this.sizecategory){return}var N=I.filter((function(i){return i.sizecategory.toLocaleLowerCase()===M.sizecategory.value.toLocaleLowerCase()}));if(!this.weight){return}var D=this.weight.value<=20?this.weight.value*1e3:this.weight.value;var g=N.filter((function(M){return(M.maxweight<=20?M.maxweight*1e3:M.maxweight)===D}));if(this.weightvalue!==0){var j=N.filter((function(M){return M.maxweight.toString().includes("upto")})).filter((function(M){return Number(M.maxweight.toString().toLocaleLowerCase().replace("upto",""))-D>=0}));g=g.concat(j)}if(g.length===0&&this.weightvalue!==0){g=N.filter((function(M){return(M.maxweight<=20?M.maxweight*1e3:M.maxweight)>=D}));if(g.length>0){g.sort((function(M,i){return M.maxweight-i.maxweight}));var e=__spreadArray([],new Map(g.reverse().map((function(M){return[M["id"],M]}))).values(),true);if(e.length>0){g=e}}}g.sort((function(M,i){var I=M.rank?M.rank:1e4;var N=i.rank?i.rank:1e4;var D=M.highestrankusp?M.highestrankusp:"z";var g=i.highestrankusp?i.highestrankusp:"z";var j=D.localeCompare(g);var e=I-N;return j||e}));this.filteredItems=g};M.prototype.render=function(){var M=this;return h("div",{class:"findprice-form"},h("div",null,h("h4",{class:"heading"},state.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:postnordPerson1Svg})),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((function(i){return h("td",null,h("pn-radio-button",{id:"findpricecategory-"+i.value,radioid:i.value,value:i.value,name:"sizecategory",checked:i.value===M.sizecategory.value,onChange:function(){M.sizecategory=sizeCategories.filter((function(M){return M.value===i.value}))[0];M.weight={value:0,name:""};M.weightvalue=M.weight.value}}))})))))),h("h4",{class:"heading"},state.i18n.weightheading),this.sizecategory.value&&weights[this.sizecategory.unit]?h("div",{class:"weightoption"},h("div",{class:"weightoption-content"},weights[this.sizecategory.unit].map((function(i){return h("pn-choice-button",{id:"findpriceweight-"+i.value,choiceid:M.sizecategory.value+i.value,name:"weight",type:"radio",value:!M.weight.value?0:weights[M.sizecategory.unit].findIndex((function(i){return i.value===M.weightvalue})),checked:i.value===M.weight.value,onChange:function(){M.weight=weights[M.sizecategory.unit].filter((function(M){return M.value===i.value}))[0];M.weightvalue=M.weight.value}},i.name)})))):null,this.filteredItems&&this.filteredItems.length>0?h("div",{class:"resultlist"},state.i18n.resultlistheading?h("div",{class:"resultHeading"},state.i18n.resultlistheading):null,this.filteredItems.map((function(M){return h("div",null,h("pn-find-price-result",{item:M}))}))):null)};Object.defineProperty(M,"watchers",{get:function(){return{market:["setState"],language:["setState"],sizecategory:["filterItems"],weightvalue:["filterItems"]}},enumerable:false,configurable:true});return M}();PnfindPrice.style=pnFindPriceCss;export{PnfindPrice as pn_find_price};
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(M,i,I,N){function D(M){return M instanceof I?M:new I((function(i){i(M)}))}return new(I||(I=Promise))((function(I,g){function j(M){try{z(N.next(M))}catch(i){g(i)}}function e(M){try{z(N["throw"](M))}catch(i){g(i)}}function z(M){M.done?I(M.value):D(M.value).then(j,e)}z((N=N.apply(M,i||[])).next())}))};var __generator=this&&this.__generator||function(M,i){var I={label:0,sent:function(){if(g[0]&1)throw g[1];return g[1]},trys:[],ops:[]},N,D,g,j;return j={next:e(0),throw:e(1),return:e(2)},typeof Symbol==="function"&&(j[Symbol.iterator]=function(){return this}),j;function e(M){return function(i){return z([M,i])}}function z(j){if(N)throw new TypeError("Generator is already executing.");while(I)try{if(N=1,D&&(g=j[0]&2?D["return"]:j[0]?D["throw"]||((g=D["return"])&&g.call(D),0):D.next)&&!(g=g.call(D,j[1])).done)return g;if(D=0,g)j=[j[0]&2,g.value];switch(j[0]){case 0:case 1:g=j;break;case 4:I.label++;return{value:j[1],done:false};case 5:I.label++;D=j[1];j=[0];continue;case 7:j=I.ops.pop();I.trys.pop();continue;default:if(!(g=I.trys,g=g.length>0&&g[g.length-1])&&(j[0]===6||j[0]===2)){I=0;continue}if(j[0]===3&&(!g||j[1]>g[0]&&j[1]<g[3])){I.label=j[1];break}if(j[0]===6&&I.label<g[1]){I.label=g[1];g=j;break}if(g&&I.label<g[2]){I.label=g[2];I.ops.push(j);break}if(g[2])I.ops.pop();I.trys.pop();continue}j=i.call(M,I)}catch(e){j=[6,e];D=0}finally{N=g=0}if(j[0]&5)throw j[1];return{value:j[0]?j[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(M,i,I){if(I||arguments.length===2)for(var N=0,D=i.length,g;N<D;N++){if(g||!(N in i)){if(!g)g=Array.prototype.slice.call(i,0,N);g[N]=i[N]}}return M.concat(g||Array.prototype.slice.call(i))};import{r as registerInstance,h}from"./index-5397620b.js";import{f as fileLocation,s as sizeCategories,w as weights}from"./data-9c9c5f41.js";import{c as convertFileForSizeCategogy}from"./convert-f6377d13.js";import{s as state}from"./pn-find-price-store-b4556c9b.js";import"./_commonjsHelpers-27f122dd.js";import"./index-7b21ecff.js";var translations={sv:{componentheading:"Våra priser och villkor för inrikesförsändelser för dig som direktbetalande kund?",deliveryscopeheading:"Endast leveranser inom Sverige",resultlistheading:"Några bra alternativ för dig",sizeheading:"Uppskatta storleken på din försändelse",weightheading:"Uppskatta vikten på din försändelse",weightlabel:"Vikt",maxweightlabel:"Maxvikt",maxmeasurementlabel:"Maxvolym",senddirectcta:"Köp online",stampshopcta:"Till butiken",message:"*Vid köp hos valfritt ombud",servicePointHeader:"Eller hitta närmaste serviceställe",servicePointLink:"Hitta Serviceställe",riktigaVykort:"Köp Riktiga Vykort",riktigaVykortMobile:"Ladda ner appen",ombudHeader:"Köp via ombud"},en:{componentheading:"Our prices and terms and conditions for domestic shipments for you as a direct paying customer",deliveryscopeheading:"Deliveries within Sweden only",resultlistheading:"Some suitable options for you",sizeheading:"Estimate the size of your shipment",weightheading:"Estimate the weight of your shipment",weightlabel:"Weight",maxweightlabel:"Max weight",maxmeasurementlabel:"Maximum measurement",senddirectcta:"Buy Online",stampshopcta:"To the Store",message:"When buying from any agent",servicePointHeader:"Find service point",servicePointLink:"Find service point",riktigaVykort:"Buy Postcards",riktigaVykortMobile:"Download the app",ombudHeader:"Purchase by agent"},da:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveringer indenfor Sverige",resultlistheading:"Nogle passende muligheder for dig",sizeheading:"Anslå størrelsen på din forsendelse",weightheading:"Anslå vægten af din forsendelse",weightlabel:"Vægt",maxweightlabel:"Max vægt",maxmeasurementlabel:"Maks. Volumen",senddirectcta:"Køb Online",stampshopcta:"Til butikken",message:"When buying from any agent",servicePointHeader:"Find nærmeste servicested",servicePointLink:"Find nærmeste servicested",riktigaVykort:"Køb Riktiga Vykort",ombudHeader:"Køb af agent"},no:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Kun leveranser innen Sverige",resultlistheading:"Some suitable options for you",weightlabel:"Vekt",maxweightlabel:"Maks vekt",maxmeasurementlabel:"Maks volum",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},fi:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Toimitukset vain Ruotsin sisällä",resultlistheading:"Some suitable options for you",weightlabel:"Paino",maxweightlabel:"Max paino",maxmeasurementlabel:"Max äänenvoimakkuus",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"}};var markets={se:{currency:"kr",country:"Sweden",servicePoint:"https://www.postnord.se/vara-verktyg/sok-brevlada-eller-servicestalle"},dk:{currency:"dk",country:"Denmark",servicePoint:"https://www.postnord.dk/varktojer/find-os"},fi:{currency:" €",country:"Finland",servicePoint:""},no:{currency:"kr",country:"Norway",servicePoint:""}};var smallPackageSvg="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTQiIGhlaWdodD0iMzgiIHZpZXdCb3g9IjAgMCA1NCAzOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub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IDM4LjI0NDggMC45OTgwNDcgNDIuNzE1NFY0Ni4xMDIySDEyLjAzOTFaIiBmaWxsPSIjRTBGOEZGIi8+CjxwYXRoIGQ9Ik0xMzEuMDU2IDI2LjU4NjRDMTMxLjQ0OSAzMC4wNDIzIDEzMy45NDggMzIuNjg5NSAxMzYuOTkxIDMyLjY4OTVIMTYyLjg5MUMxNjYuMjA5IDMyLjY4OTUgMTY4Ljg4IDI5LjU0MjYgMTY4Ljg4IDI1LjYzMjhWMjUuNTM3NUMxNjguODggMjEuNjI3NyAxNjYuMjA5IDE4LjQ4MDggMTYyLjg5MSAxOC40ODA4SDE1OS45MDdDMTU4Ljc3NyAxMy44MDE1IDE1NS4zMyAxMC4zNzUzIDE1MS4yMzYgMTAuMzc1M0gxNDYuNDJDMTQ1Ljk3MSA0LjcwNTMzIDE0MS45MjEgMC4yNjcwOSAxMzYuOTkxIDAuMjY3MDlDMTMyLjA2MiAwLjI2NzA5IDEyOC4wMTIgNC43MDUzMyAxMjcuNTYzIDEwLjM3NTNIMTI0LjUyOEMxMTkuNTEgMTAuMzc1MyAxMTUuNDYzIDE1LjUyNDcgMTE1LjQ2MyAyMS44MTg0VjI2LjU4NjRIMTMxLjA1NloiIGZpbGw9IiNFMEY4RkYiLz4KPC9zdmc+Cg==";var 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}';var PnfindPrice=function(){function M(M){registerInstance(this,M);this.source=fileLocation;this.language="sv";this.market="se";this.filteredItems=[];this.weight={value:0,name:""};this.weightvalue=0;this.sourceData={types:[],data:[]};this.sizecategory={value:"",name:"",icon:"",unit:""}}M.prototype.componentWillLoad=function(){this.setState();this.getDataSource()};M.prototype.getDataSource=function(){return __awaiter(this,void 0,void 0,(function(){var M,i,I,N,D;return __generator(this,(function(g){switch(g.label){case 0:M="?cache=".concat(Math.floor(Math.random()*(1e4-1)+1));return[4,fetch(this.source+M)];case 1:i=g.sent();return[4,i.blob()];case 2:I=g.sent();g.label=3;case 3:g.trys.push([3,5,,6]);return[4,convertFileForSizeCategogy(I)];case 4:N=g.sent();this.sourceData=N;this.sizecategory=sizeCategories.filter((function(M){return M.value==="Small"}))[0];this.filterItems();return[3,6];case 5:D=g.sent();console.log("Unable to parse data");return[3,6];case 6:return[2]}}))}))};M.prototype.setState=function(){if(this.market){state.market=markets[this.market]}if(this.language&&translations[this.language]){state.i18n=translations[this.language]}};M.prototype.filterItems=function(){var M=this;var i;if(!((i=this.sourceData)===null||i===void 0?void 0:i.data)){console.log("Data has not yet been loaded");return}var I=this.sourceData.data.filter((function(M){return M.deliveryscope.toLocaleLowerCase()===state.market.country.toLocaleLowerCase()}));if(!this.sizecategory){return}var N=I.filter((function(i){return i.sizecategory.toLocaleLowerCase()===M.sizecategory.value.toLocaleLowerCase()}));if(!this.weight){return}var D=this.weight.value<=20?this.weight.value*1e3:this.weight.value;var g=N.filter((function(M){return(M.maxweight<=20?M.maxweight*1e3:M.maxweight)===D}));if(this.weightvalue!==0){var j=N.filter((function(M){return M.maxweight.toString().includes("upto")})).filter((function(M){return Number(M.maxweight.toString().toLocaleLowerCase().replace("upto",""))-D>=0}));g=g.concat(j)}if(g.length===0&&this.weightvalue!==0){g=N.filter((function(M){return(M.maxweight<=20?M.maxweight*1e3:M.maxweight)>=D}));if(g.length>0){g.sort((function(M,i){return M.maxweight-i.maxweight}));var e=__spreadArray([],new Map(g.reverse().map((function(M){return[M["id"],M]}))).values(),true);if(e.length>0){g=e}}}g.sort((function(M,i){var I=M.rank?M.rank:1e4;var N=i.rank?i.rank:1e4;var D=M.highestrankusp?M.highestrankusp:"z";var g=i.highestrankusp?i.highestrankusp:"z";var j=D.localeCompare(g);var e=I-N;return j||e}));this.filteredItems=g};M.prototype.render=function(){var M=this;return h("div",{class:"findprice-form"},h("div",null,h("h4",{class:"heading"},state.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:postnordPerson1Svg})),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((function(i){return h("td",null,h("pn-radio-button",{id:"findpricecategory-"+i.value,radioid:i.value,value:i.value,name:"sizecategory",checked:i.value===M.sizecategory.value,onChange:function(){M.sizecategory=sizeCategories.filter((function(M){return M.value===i.value}))[0];M.weight={value:0,name:""};M.weightvalue=M.weight.value}}))})))))),h("h4",{class:"heading"},state.i18n.weightheading),this.sizecategory.value&&weights[this.sizecategory.unit]?h("div",{class:"weightoption"},h("div",{class:"weightoption-content"},weights[this.sizecategory.unit].map((function(i){return h("pn-choice-button",{id:"findpriceweight-"+i.value,choiceid:M.sizecategory.value+i.value,name:"weight",type:"radio",value:!M.weight.value?0:weights[M.sizecategory.unit].findIndex((function(i){return i.value===M.weightvalue})),checked:i.value===M.weight.value,onChange:function(){M.weight=weights[M.sizecategory.unit].filter((function(M){return M.value===i.value}))[0];M.weightvalue=M.weight.value}},i.name)})))):null,this.filteredItems&&this.filteredItems.length>0?h("div",{class:"resultlist"},state.i18n.resultlistheading?h("div",{class:"resultHeading"},state.i18n.resultlistheading):null,this.filteredItems.map((function(M){return h("div",null,h("pn-find-price-result",{item:M}))}))):null)};Object.defineProperty(M,"watchers",{get:function(){return{market:["setState"],language:["setState"],sizecategory:["filterItems"],weightvalue:["filterItems"]}},enumerable:false,configurable:true});return M}();PnfindPrice.style=pnFindPriceCss;export{PnfindPrice as pn_find_price};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,a as Host}from"./index-
|
|
1
|
+
import{r as registerInstance,h,a as Host}from"./index-5397620b.js";import{s as state}from"./pn-find-service-and-price-store-65df46a0.js";import"./index-7b21ecff.js";var pnFindServiceAndPriceResultCss="";var PnfindServiceAndPriceResult=function(){function t(t){registerInstance(this,t);this.item=null;this.shownitems=[];this.weightText=""}t.prototype.componentWillLoad=function(){this.composeItems()};t.prototype.composeItems=function(){this.shownitems=[this.item]};t.prototype.render=function(){var t=this;return h(Host,null,this.shownitems.map((function(e){return h("pn-product-card",null,h("pn-illustration",{slot:"illustration",illustration:e.illustration}),h("div",{slot:"content"},h("div",{class:"content"},h("h3",null,e.name),e.description?h("div",{class:"description"},e.description):null,e.info?h("div",{class:"description"},e.info):null)),e.maxweight?h("pn-product-tile-info",{label:state.i18n.maxweightlabel,text:t.weightText}):null,e.pricestamps?h("pn-product-tile-price",{slot:"price",label:state.i18n.stampshopcta,amount:e.pricestamps+"",currency:state.market.currency}):null,e.pricesenddirect?h("pn-product-tile-price",{slot:"price",label:state.i18n.senddirectcta,amount:e.pricesenddirect+"",currency:state.market.currency,url:"https://portal.postnord.com/skickadirekt/"}):null,e.note?h("small",{slot:"note"},h("p",null,e.note)):null)})))};Object.defineProperty(t,"watchers",{get:function(){return{item:["composeItems"]}},enumerable:false,configurable:true});return t}();PnfindServiceAndPriceResult.style=pnFindServiceAndPriceResultCss;export{PnfindServiceAndPriceResult as pn_find_service_and_price_result};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as createStore}from"./index-
|
|
1
|
+
import{c as createStore}from"./index-7b21ecff.js";var _a=createStore({i18n:{componentheading:"",deliveryscopeheading:"",sizeheading:"",resultlistheading:"",weightlabel:"",maxweightlabel:"",maxmeasurementlabel:"",senddirectcta:"",stampshopcta:""},market:{currency:""}}),state=_a.state,onChange=_a.onChange;export{state as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,i,a){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,r){function s(e){try{o(a.next(e))}catch(t){r(t)}}function l(e){try{o(a["throw"](e))}catch(t){r(t)}}function o(e){e.done?i(e.value):n(e.value).then(s,l)}o((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,n,r,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(e){return function(t){return o([e,t])}}function o(l){if(a)throw new TypeError("Generator is already executing.");while(s&&(s=0,l[0]&&(i=0)),i)try{if(a=1,n&&(r=l[0]&2?n["return"]:l[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,l[1])).done)return r;if(n=0,r)l=[l[0]&2,r.value];switch(l[0]){case 0:case 1:r=l;break;case 4:i.label++;return{value:l[1],done:false};case 5:i.label++;n=l[1];l=[0];continue;case 7:l=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){i=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){i.label=l[1];break}if(l[0]===6&&i.label<r[1]){i.label=r[1];r=l;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(l);break}if(r[2])i.ops.pop();i.trys.pop();continue}l=t.call(e,i)}catch(o){l=[6,o];n=0}finally{a=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var a=0,n=t.length,r;a<n;a++){if(r||!(a in t)){if(!r)r=Array.prototype.slice.call(t,0,a);r[a]=t[a]}}return e.concat(r||Array.prototype.slice.call(t))};import{r as registerInstance,h}from"./index-c118284d.js";import{a as convertFileFromStream}from"./convert-f6377d13.js";import{s as state}from"./pn-find-service-and-price-store-f09ca219.js";import"./_commonjsHelpers-27f122dd.js";import"./index-7f77b0ba.js";var translations={sv:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Hit eller dit?",sizeheading:"Hur mycket väger det?",resultlistheading:"Några utvalda val",weightlabel:"Vikt",maxweightlabel:"Maxvikt",maxmeasurementlabel:"Maxvolym",senddirectcta:"Köp frakt via Skicka Direkt",stampshopcta:"Köp frimärken via vår webshop"},en:{componentheading:"What do you want to send?",deliveryscopeheading:"Here or there?",sizeheading:"How much does it weigh?",resultlistheading:"Some suitable options for you",weightlabel:"Weight",maxweightlabel:"Max weight",maxmeasurementlabel:"Maximum measurement",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},da:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Here or there?",sizeheading:"How much does it weigh?",resultlistheading:"Some suitable options for you",weightlabel:"Vægt",maxweightlabel:"Max vægt",maxmeasurementlabel:"Maks. Volumen",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},no:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Here or there?",sizeheading:"How much does it weigh?",resultlistheading:"Some suitable options for you",weightlabel:"Vekt",maxweightlabel:"Maks vekt",maxmeasurementlabel:"Maks volum",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},fi:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Here or there?",sizeheading:"How much does it weigh?",resultlistheading:"Some suitable options for you",weightlabel:"Paino",maxweightlabel:"Max paino",maxmeasurementlabel:"Max äänenvoimakkuus",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"}};var markets={se:{currency:"kr"},dk:{currency:"dk"},fi:{currency:" €"},no:{currency:"kr"}};var postagetypes=[{name:"Brev",value:"letter",illustration:"letterbox-reply-letter-plants"},{name:"Paket",value:"parcel",illustration:"tracking"}];var deliveryscopes={letter:[{name:"Sweden",value:"sweden",illustration:"letterboxes"},{name:"Abroad",value:"abroad",illustration:"character-box-letters-globe"}],parcel:[{name:"Sweden",value:"sweden",illustration:"letterboxes"},{name:"Within Europe",value:"withineurope",illustration:"character-box-letters-globe"},{name:"Outside Europe",value:"outsideeurope",illustration:"discover"}]};var weights={letter:[{name:"50g",abbreviation:"g",value:50},{name:"100g",abbreviation:"g",value:100},{name:"250g",abbreviation:"g",value:250},{name:"500g",abbreviation:"g",value:500},{name:"1kg",abbreviation:"kg",value:1},{name:"2kg",abbreviation:"kg",value:2}],parcel:[{name:"1kg",abbreviation:"kg",value:1},{name:"2kg",abbreviation:"kg",value:2},{name:"3kg",abbreviation:"kg",value:3},{name:"4kg",abbreviation:"kg",value:4},{name:"5kg",abbreviation:"kg",value:5},{name:"6kg",abbreviation:"kg",value:6},{name:"7Kg",abbreviation:"kg",value:7},{name:"8kg",abbreviation:"kg",value:8},{name:"9kg",abbreviation:"kg",value:9},{name:"10kg",abbreviation:"kg",value:10},{name:"11kg",abbreviation:"kg",value:11},{name:"12kg",abbreviation:"kg",value:12},{name:"13kg",abbreviation:"kg",value:13},{name:"14kg",abbreviation:"kg",value:14},{name:"15kg",abbreviation:"kg",value:15},{name:"16kg",abbreviation:"kg",value:16},{name:"17kg",abbreviation:"kg",value:17},{name:"18kg",abbreviation:"kg",value:18},{name:"20kg",abbreviation:"kg",value:20}]};var 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}";var PnfindServiceAndPrice=function(){function e(e){registerInstance(this,e);this.source="https://com-integration.postnord.com/globalassets/global/prices/sv-se-findprice.xlsx";this.language="sv";this.market="se";this.filteredItems=[];this.postagetype={value:"",name:"",icon:""};this.weight={value:0,name:""};this.weightvalue=0;this.deliveryscope={value:"",name:"",icon:""};this.sourceData={types:[],data:[]}}e.prototype.componentWillLoad=function(){this.setState();this.getDataSource()};e.prototype.getDataSource=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,i,a,n;return __generator(this,(function(r){switch(r.label){case 0:e="?cache=".concat(Math.floor(Math.random()*(1e4-1)+1));return[4,fetch(this.source+e)];case 1:t=r.sent();return[4,t.blob()];case 2:i=r.sent();r.label=3;case 3:r.trys.push([3,5,,6]);return[4,convertFileFromStream(i)];case 4:a=r.sent();this.sourceData=a;this.filterItems();return[3,6];case 5:n=r.sent();console.log("Unable to parse data");return[3,6];case 6:return[2]}}))}))};e.prototype.setState=function(){if(this.market){state.market=markets[this.market]}if(this.language&&translations[this.language]){state.i18n=translations[this.language]}};e.prototype.filterItems=function(){var e=this;var t;if(!((t=this.sourceData)===null||t===void 0?void 0:t.data)){console.log("Data has not yet been loaded");return}if(!this.postagetype){return}var i=this.sourceData.data.filter((function(t){return t.what===e.postagetype.value}));if(!this.deliveryscope){return}var a=i.filter((function(t){return t.deliveryscope===e.deliveryscope.value}));if(!this.weight||!this.weight.value){return}var n=this.weight.abbreviation.toLocaleLowerCase()==="kg"&&this.postagetype.value==="letter"?this.weight.value*1e3:this.weight.value;var r=a.filter((function(e){return e.maxweight===n}));if(r.length===0){r=a.filter((function(e){return e.maxweight>=n}));if(r.length>0){var s=__spreadArray([],new Map(r.reverse().map((function(e){return[e["id"],e]}))).values(),true);if(s.length>0){r=s}}}this.filteredItems=r};e.prototype.render=function(){var e=this;return h("div",null,h("div",{class:"findprice-form"},state.i18n.componentheading?h("h2",null,state.i18n.componentheading):null,h("div",{class:"postagetypes"},postagetypes.map((function(t){return h("pn-choice-button",{choiceid:t.value,value:t.value,name:"postagetype",type:"radio",checked:t.value===e.postagetype.value,onChange:function(){e.postagetype=postagetypes.filter((function(e){return e.value===t.value}))[0];e.deliveryscope={value:"",name:"",icon:""};e.weight={value:0,name:""};e.weightvalue=e.weight.value}},h("pn-illustration",{illustration:t.illustration})," ",t.name)}))),this.postagetype.value&&deliveryscopes[this.postagetype.value]?h("div",null,state.i18n.deliveryscopeheading?h("div",{class:"heading"},state.i18n.deliveryscopeheading):null,h("div",{class:"deliveryscope"},deliveryscopes[this.postagetype.value].map((function(t){return h("pn-choice-button",{choiceid:e.postagetype.value+t.value,value:t.value,name:"deliveryscope",type:"radio",checked:t.value===e.deliveryscope.value,onChange:function(){e.deliveryscope=deliveryscopes[e.postagetype.value].filter((function(e){return e.value===t.value}))[0];if(e.weight.value===0){e.weight=weights[e.postagetype.value][0];e.weightvalue=e.weight.value}}},h("pn-illustration",{illustration:t.illustration})," ",t.name)})))):null,this.postagetype.value&&weights[this.postagetype.value]&&this.deliveryscope.value?h("div",null,state.i18n.sizeheading?h("div",{class:"heading"},state.i18n.sizeheading):null,h("div",{class:"weightoption"},h("div",{class:"weightoption-input"},h("pn-input",{inputid:"weightvalue",name:"weightvalue",type:"number",label:state.i18n.weightlabel,value:this.weightvalue,onChange:function(t){if(t&&t.target&&t.target.value){var i=parseInt(t.target.value,10);if(!isNaN(i)){var a=weights[e.postagetype.value].filter((function(e){var t=e.abbreviation==="kg"?e.value*1e3:e.value;return t>=i}));if(a&&a.length>0){e.weight=a[0];e.weightvalue=e.weight.value}}}}}),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((function(t){return t.value===e.weightvalue})),onChange:function(t){var i=t.target.value;e.weight=weights[e.postagetype.value][i];e.weightvalue=e.weight.value},min:"0",max:weights[this.postagetype.value].length-1}),h("datalist",{id:"weightlist"},weights[this.postagetype.value].map((function(t,i){var a=t.name;if(weights[e.postagetype.value].length>6){a=i%5===0||i===0||i===weights[e.postagetype.value].length-1?t.name:""}return h("option",Object.assign({value:i},a?{label:a}:{}))})))))):null),this.filteredItems&&this.filteredItems.length>0?h("div",{class:"resultlist"},state.i18n.resultlistheading?h("div",{class:"heading"},state.i18n.resultlistheading):null,this.filteredItems.map((function(e){return h("div",null,h("pn-find-service-and-price-result",{item:e}))}))):null)};Object.defineProperty(e,"watchers",{get:function(){return{market:["setState"],language:["setState"],postagetype:["filterItems"],deliveryscope:["filterItems"],weightvalue:["filterItems"]}},enumerable:false,configurable:true});return e}();PnfindServiceAndPrice.style=pnFindServiceAndPriceCss;export{PnfindServiceAndPrice as pn_find_service_and_price};
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,i,a){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,r){function s(e){try{o(a.next(e))}catch(t){r(t)}}function l(e){try{o(a["throw"](e))}catch(t){r(t)}}function o(e){e.done?i(e.value):n(e.value).then(s,l)}o((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,n,r,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(e){return function(t){return o([e,t])}}function o(s){if(a)throw new TypeError("Generator is already executing.");while(i)try{if(a=1,n&&(r=s[0]&2?n["return"]:s[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,s[1])).done)return r;if(n=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;n=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){i.label=s[1];break}if(s[0]===6&&i.label<r[1]){i.label=r[1];r=s;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(s);break}if(r[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(l){s=[6,l];n=0}finally{a=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var a=0,n=t.length,r;a<n;a++){if(r||!(a in t)){if(!r)r=Array.prototype.slice.call(t,0,a);r[a]=t[a]}}return e.concat(r||Array.prototype.slice.call(t))};import{r as registerInstance,h}from"./index-5397620b.js";import{a as convertFileFromStream}from"./convert-f6377d13.js";import{s as state}from"./pn-find-service-and-price-store-65df46a0.js";import"./_commonjsHelpers-27f122dd.js";import"./index-7b21ecff.js";var translations={sv:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Hit eller dit?",sizeheading:"Hur mycket väger det?",resultlistheading:"Några utvalda val",weightlabel:"Vikt",maxweightlabel:"Maxvikt",maxmeasurementlabel:"Maxvolym",senddirectcta:"Köp frakt via Skicka Direkt",stampshopcta:"Köp frimärken via vår webshop"},en:{componentheading:"What do you want to send?",deliveryscopeheading:"Here or there?",sizeheading:"How much does it weigh?",resultlistheading:"Some suitable options for you",weightlabel:"Weight",maxweightlabel:"Max weight",maxmeasurementlabel:"Maximum measurement",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},da:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Here or there?",sizeheading:"How much does it weigh?",resultlistheading:"Some suitable options for you",weightlabel:"Vægt",maxweightlabel:"Max vægt",maxmeasurementlabel:"Maks. Volumen",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},no:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Here or there?",sizeheading:"How much does it weigh?",resultlistheading:"Some suitable options for you",weightlabel:"Vekt",maxweightlabel:"Maks vekt",maxmeasurementlabel:"Maks volum",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"},fi:{componentheading:"Vad vill du skicka?",deliveryscopeheading:"Here or there?",sizeheading:"How much does it weigh?",resultlistheading:"Some suitable options for you",weightlabel:"Paino",maxweightlabel:"Max paino",maxmeasurementlabel:"Max äänenvoimakkuus",senddirectcta:"Buy shipping in Send Direct",stampshopcta:"Order home stamps from the webshop"}};var markets={se:{currency:"kr"},dk:{currency:"dk"},fi:{currency:" €"},no:{currency:"kr"}};var postagetypes=[{name:"Brev",value:"letter",illustration:"letterbox-reply-letter-plants"},{name:"Paket",value:"parcel",illustration:"tracking"}];var deliveryscopes={letter:[{name:"Sweden",value:"sweden",illustration:"letterboxes"},{name:"Abroad",value:"abroad",illustration:"character-box-letters-globe"}],parcel:[{name:"Sweden",value:"sweden",illustration:"letterboxes"},{name:"Within Europe",value:"withineurope",illustration:"character-box-letters-globe"},{name:"Outside Europe",value:"outsideeurope",illustration:"discover"}]};var weights={letter:[{name:"50g",abbreviation:"g",value:50},{name:"100g",abbreviation:"g",value:100},{name:"250g",abbreviation:"g",value:250},{name:"500g",abbreviation:"g",value:500},{name:"1kg",abbreviation:"kg",value:1},{name:"2kg",abbreviation:"kg",value:2}],parcel:[{name:"1kg",abbreviation:"kg",value:1},{name:"2kg",abbreviation:"kg",value:2},{name:"3kg",abbreviation:"kg",value:3},{name:"4kg",abbreviation:"kg",value:4},{name:"5kg",abbreviation:"kg",value:5},{name:"6kg",abbreviation:"kg",value:6},{name:"7Kg",abbreviation:"kg",value:7},{name:"8kg",abbreviation:"kg",value:8},{name:"9kg",abbreviation:"kg",value:9},{name:"10kg",abbreviation:"kg",value:10},{name:"11kg",abbreviation:"kg",value:11},{name:"12kg",abbreviation:"kg",value:12},{name:"13kg",abbreviation:"kg",value:13},{name:"14kg",abbreviation:"kg",value:14},{name:"15kg",abbreviation:"kg",value:15},{name:"16kg",abbreviation:"kg",value:16},{name:"17kg",abbreviation:"kg",value:17},{name:"18kg",abbreviation:"kg",value:18},{name:"20kg",abbreviation:"kg",value:20}]};var 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}";var PnfindServiceAndPrice=function(){function e(e){registerInstance(this,e);this.source="https://com-integration.postnord.com/globalassets/global/prices/sv-se-findprice.xlsx";this.language="sv";this.market="se";this.filteredItems=[];this.postagetype={value:"",name:"",icon:""};this.weight={value:0,name:""};this.weightvalue=0;this.deliveryscope={value:"",name:"",icon:""};this.sourceData={types:[],data:[]}}e.prototype.componentWillLoad=function(){this.setState();this.getDataSource()};e.prototype.getDataSource=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,i,a,n;return __generator(this,(function(r){switch(r.label){case 0:e="?cache=".concat(Math.floor(Math.random()*(1e4-1)+1));return[4,fetch(this.source+e)];case 1:t=r.sent();return[4,t.blob()];case 2:i=r.sent();r.label=3;case 3:r.trys.push([3,5,,6]);return[4,convertFileFromStream(i)];case 4:a=r.sent();this.sourceData=a;this.filterItems();return[3,6];case 5:n=r.sent();console.log("Unable to parse data");return[3,6];case 6:return[2]}}))}))};e.prototype.setState=function(){if(this.market){state.market=markets[this.market]}if(this.language&&translations[this.language]){state.i18n=translations[this.language]}};e.prototype.filterItems=function(){var e=this;var t;if(!((t=this.sourceData)===null||t===void 0?void 0:t.data)){console.log("Data has not yet been loaded");return}if(!this.postagetype){return}var i=this.sourceData.data.filter((function(t){return t.what===e.postagetype.value}));if(!this.deliveryscope){return}var a=i.filter((function(t){return t.deliveryscope===e.deliveryscope.value}));if(!this.weight||!this.weight.value){return}var n=this.weight.abbreviation.toLocaleLowerCase()==="kg"&&this.postagetype.value==="letter"?this.weight.value*1e3:this.weight.value;var r=a.filter((function(e){return e.maxweight===n}));if(r.length===0){r=a.filter((function(e){return e.maxweight>=n}));if(r.length>0){var s=__spreadArray([],new Map(r.reverse().map((function(e){return[e["id"],e]}))).values(),true);if(s.length>0){r=s}}}this.filteredItems=r};e.prototype.render=function(){var e=this;return h("div",null,h("div",{class:"findprice-form"},state.i18n.componentheading?h("h2",null,state.i18n.componentheading):null,h("div",{class:"postagetypes"},postagetypes.map((function(t){return h("pn-choice-button",{choiceid:t.value,value:t.value,name:"postagetype",type:"radio",checked:t.value===e.postagetype.value,onChange:function(){e.postagetype=postagetypes.filter((function(e){return e.value===t.value}))[0];e.deliveryscope={value:"",name:"",icon:""};e.weight={value:0,name:""};e.weightvalue=e.weight.value}},h("pn-illustration",{illustration:t.illustration})," ",t.name)}))),this.postagetype.value&&deliveryscopes[this.postagetype.value]?h("div",null,state.i18n.deliveryscopeheading?h("div",{class:"heading"},state.i18n.deliveryscopeheading):null,h("div",{class:"deliveryscope"},deliveryscopes[this.postagetype.value].map((function(t){return h("pn-choice-button",{choiceid:e.postagetype.value+t.value,value:t.value,name:"deliveryscope",type:"radio",checked:t.value===e.deliveryscope.value,onChange:function(){e.deliveryscope=deliveryscopes[e.postagetype.value].filter((function(e){return e.value===t.value}))[0];if(e.weight.value===0){e.weight=weights[e.postagetype.value][0];e.weightvalue=e.weight.value}}},h("pn-illustration",{illustration:t.illustration})," ",t.name)})))):null,this.postagetype.value&&weights[this.postagetype.value]&&this.deliveryscope.value?h("div",null,state.i18n.sizeheading?h("div",{class:"heading"},state.i18n.sizeheading):null,h("div",{class:"weightoption"},h("div",{class:"weightoption-input"},h("pn-input",{inputid:"weightvalue",name:"weightvalue",type:"number",label:state.i18n.weightlabel,value:this.weightvalue,onChange:function(t){if(t&&t.target&&t.target.value){var i=parseInt(t.target.value,10);if(!isNaN(i)){var a=weights[e.postagetype.value].filter((function(e){var t=e.abbreviation==="kg"?e.value*1e3:e.value;return t>=i}));if(a&&a.length>0){e.weight=a[0];e.weightvalue=e.weight.value}}}}}),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((function(t){return t.value===e.weightvalue})),onChange:function(t){var i=t.target.value;e.weight=weights[e.postagetype.value][i];e.weightvalue=e.weight.value},min:"0",max:weights[this.postagetype.value].length-1}),h("datalist",{id:"weightlist"},weights[this.postagetype.value].map((function(t,i){var a=t.name;if(weights[e.postagetype.value].length>6){a=i%5===0||i===0||i===weights[e.postagetype.value].length-1?t.name:""}return h("option",Object.assign({value:i},a?{label:a}:{}))})))))):null),this.filteredItems&&this.filteredItems.length>0?h("div",{class:"resultlist"},state.i18n.resultlistheading?h("div",{class:"heading"},state.i18n.resultlistheading):null,this.filteredItems.map((function(e){return h("div",null,h("pn-find-service-and-price-result",{item:e}))}))):null)};Object.defineProperty(e,"watchers",{get:function(){return{market:["setState"],language:["setState"],postagetype:["filterItems"],deliveryscope:["filterItems"],weightvalue:["filterItems"]}},enumerable:false,configurable:true});return e}();PnfindServiceAndPrice.style=pnFindServiceAndPriceCss;export{PnfindServiceAndPrice as pn_find_service_and_price};
|