@postnord/pn-marketweb-components 2.8.5 → 2.8.8
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-820d92a8.js → index-2e97451f.js} +1 -1
- package/cjs/{index-6d18c5e9.js → index-b3b6d3c1.js} +4 -2
- package/cjs/loader.cjs.js +2 -2
- package/cjs/pn-address-autofill.cjs.entry.js +1 -1
- package/cjs/pn-animated-tile.cjs.entry.js +1 -1
- package/cjs/pn-app-banner.cjs.entry.js +1 -1
- package/cjs/pn-bonus-progressbar-level.cjs.entry.js +1 -1
- package/cjs/pn-bonus-progressbar.cjs.entry.js +1 -1
- package/cjs/pn-breakpoints.cjs.entry.js +1 -1
- package/cjs/pn-chart.cjs.entry.js +1 -1
- package/cjs/pn-charts-card.cjs.entry.js +1 -1
- package/cjs/pn-choice-button.cjs.entry.js +1 -1
- package/cjs/pn-cta-block.cjs.entry.js +1 -7
- package/cjs/pn-customernumber-selector-option.cjs.entry.js +1 -1
- package/cjs/pn-customernumber-selector.cjs.entry.js +1 -1
- package/cjs/pn-date-and-time.cjs.entry.js +1 -1
- package/cjs/pn-dropdown-choice-adds-row.cjs.entry.js +1 -1
- package/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js +1 -1
- package/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js +1 -1
- package/cjs/pn-filter-checkbox.cjs.entry.js +1 -1
- package/cjs/pn-find-price-result.cjs.entry.js +3 -3
- package/cjs/{pn-find-price-store-e05a9145.js → pn-find-price-store-dca982f0.js} +1 -1
- package/cjs/pn-find-price.cjs.entry.js +3 -3
- package/cjs/pn-find-service-and-price-result.cjs.entry.js +3 -3
- package/cjs/{pn-find-service-and-price-store-3ffe0634.js → pn-find-service-and-price-store-9b8e28fe.js} +1 -1
- package/cjs/pn-find-service-and-price.cjs.entry.js +3 -3
- package/cjs/pn-language-selector_9.cjs.entry.js +4 -4
- package/cjs/pn-line-shape.cjs.entry.js +1 -1
- package/cjs/pn-link-list.cjs.entry.js +2 -3
- package/cjs/pn-mainnav-link.cjs.entry.js +3 -3
- package/cjs/{pn-mainnav-store-96e66f69.js → pn-mainnav-store-03d31f7e.js} +1 -1
- package/cjs/pn-market-web-components.cjs.js +2 -2
- package/cjs/pn-marketweb-input.cjs.entry.js +1 -1
- package/cjs/pn-marketweb-search.cjs.entry.js +1 -1
- package/cjs/pn-marketweb-sitefooter.cjs.entry.js +1 -1
- package/cjs/pn-marketweb-siteheader-login-button_5.cjs.entry.js +3 -3
- package/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js +3 -3
- package/cjs/{pn-marketweb-siteheader-store-ccf82b09.js → pn-marketweb-siteheader-store-22b4d42d.js} +1 -1
- package/cjs/pn-marketweb-siteheader.cjs.entry.js +3 -3
- package/cjs/pn-media-block.cjs.entry.js +5 -13
- package/cjs/pn-multi-formfield.cjs.entry.js +1 -1
- package/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js +1 -1
- package/cjs/pn-multi-row-connected-dropdown.cjs.entry.js +1 -1
- package/cjs/pn-multiple-input.cjs.entry.js +1 -1
- package/cjs/pn-parcel-tracker.cjs.entry.js +1 -1
- package/cjs/pn-pex-pricefinder.cjs.entry.js +1 -1
- package/cjs/pn-play-on-scroll.cjs.entry.js +1 -1
- package/cjs/pn-product-card_3.cjs.entry.js +1 -1
- package/cjs/pn-product-pricelist-result.cjs.entry.js +2 -2
- package/cjs/pn-product-pricelist.cjs.entry.js +3 -3
- package/cjs/pn-product-tile-info_2.cjs.entry.js +1 -1
- package/cjs/pn-product-tile.cjs.entry.js +1 -1
- package/cjs/pn-profile-modal-customernumber.cjs.entry.js +1 -1
- package/cjs/pn-profile-modal-profile.cjs.entry.js +3 -3
- package/cjs/{pn-profile-modal-store-14bc937f.js → pn-profile-modal-store-6f83ea6b.js} +1 -1
- package/cjs/pn-profile-modal-type.cjs.entry.js +3 -3
- package/cjs/pn-profile-modal.cjs.entry.js +3 -3
- package/cjs/pn-profile-selector-option.cjs.entry.js +1 -1
- package/cjs/pn-profile-selector.cjs.entry.js +1 -1
- package/cjs/pn-proxio-findprice-result.cjs.entry.js +1 -1
- package/cjs/pn-proxio-findprice.cjs.entry.js +2 -2
- package/cjs/pn-proxio-pricegroup.cjs.entry.js +1 -1
- package/cjs/pn-proxio-productcard_4.cjs.entry.js +1 -1
- package/cjs/pn-quick-cta.cjs.entry.js +1 -1
- package/cjs/pn-quote-card.cjs.entry.js +1 -1
- package/cjs/pn-scroll_2.cjs.entry.js +1 -1
- package/cjs/pn-share-item.cjs.entry.js +1 -1
- package/cjs/pn-share.cjs.entry.js +1 -1
- package/cjs/pn-sidenav-level.cjs.entry.js +3 -3
- package/cjs/pn-sidenav-link.cjs.entry.js +3 -3
- package/cjs/{pn-sidenav-store-d3f7bdfa.js → pn-sidenav-store-846a26c6.js} +1 -1
- package/cjs/pn-sidenav-togglebutton.cjs.entry.js +3 -3
- package/cjs/pn-sidenav.cjs.entry.js +3 -3
- package/cjs/pn-site-footer_3.cjs.entry.js +1 -1
- package/cjs/pn-spotlight.cjs.entry.js +1 -1
- package/cjs/pn-stats-info-data.cjs.entry.js +1 -1
- package/cjs/pn-stats-info.cjs.entry.js +1 -1
- package/cjs/pn-teaser-card.cjs.entry.js +1 -1
- package/cjs/pn-titletag.cjs.entry.js +1 -1
- package/cjs/pn-usp-promoter.cjs.entry.js +36 -0
- package/collection/collection-manifest.json +2 -1
- package/collection/components/cta/pn-cta-block/pn-cta-block.js +0 -12
- package/collection/components/media/pn-media-block/media-block.stories.js +1 -3
- package/collection/components/media/pn-media-block/pn-media-block.js +4 -48
- package/collection/components/widgets/pn-link-list/pn-link-list.css +5 -3
- package/collection/components/widgets/pn-link-list/pn-link-list.js +4 -5
- package/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.css +219 -0
- package/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.js +166 -0
- package/collection/components/widgets/pn-usp-promoter/usp-promoter.stories.js +183 -0
- package/components/index.d.ts +1 -0
- package/components/index.js +1 -0
- package/components/pn-cta-block.js +1 -9
- package/components/pn-link-list.js +2 -3
- package/components/pn-media-block.js +4 -14
- package/components/pn-usp-promoter.d.ts +11 -0
- package/components/pn-usp-promoter.js +58 -0
- package/esm/{index-6ee8c83f.js → index-6a2abc18.js} +1 -1
- package/esm/{index-70664d8e.js → index-6e611ed9.js} +4 -2
- package/esm/loader.js +3 -3
- package/esm/pn-address-autofill.entry.js +1 -1
- package/esm/pn-animated-tile.entry.js +1 -1
- package/esm/pn-app-banner.entry.js +1 -1
- package/esm/pn-bonus-progressbar-level.entry.js +1 -1
- package/esm/pn-bonus-progressbar.entry.js +1 -1
- package/esm/pn-breakpoints.entry.js +1 -1
- package/esm/pn-chart.entry.js +1 -1
- package/esm/pn-charts-card.entry.js +1 -1
- package/esm/pn-choice-button.entry.js +1 -1
- package/esm/pn-cta-block.entry.js +1 -7
- package/esm/pn-customernumber-selector-option.entry.js +1 -1
- package/esm/pn-customernumber-selector.entry.js +1 -1
- package/esm/pn-date-and-time.entry.js +1 -1
- package/esm/pn-dropdown-choice-adds-row.entry.js +1 -1
- package/esm/pn-dropdown-with-multi-input-rows-row.entry.js +1 -1
- package/esm/pn-dropdown-with-multi-input-rows.entry.js +1 -1
- package/esm/pn-filter-checkbox.entry.js +1 -1
- package/esm/pn-find-price-result.entry.js +3 -3
- package/esm/{pn-find-price-store-0835039f.js → pn-find-price-store-3577991d.js} +1 -1
- package/esm/pn-find-price.entry.js +3 -3
- package/esm/pn-find-service-and-price-result.entry.js +3 -3
- package/esm/{pn-find-service-and-price-store-ce4ca6e6.js → pn-find-service-and-price-store-a49d61f3.js} +1 -1
- package/esm/pn-find-service-and-price.entry.js +3 -3
- package/esm/pn-language-selector_9.entry.js +4 -4
- package/esm/pn-line-shape.entry.js +1 -1
- package/esm/pn-link-list.entry.js +2 -3
- package/esm/pn-mainnav-link.entry.js +3 -3
- package/esm/{pn-mainnav-store-054d67c4.js → pn-mainnav-store-3041a893.js} +1 -1
- package/esm/pn-market-web-components.js +3 -3
- package/esm/pn-marketweb-input.entry.js +1 -1
- package/esm/pn-marketweb-search.entry.js +1 -1
- package/esm/pn-marketweb-sitefooter.entry.js +1 -1
- package/esm/pn-marketweb-siteheader-login-button_5.entry.js +3 -3
- package/esm/pn-marketweb-siteheader-login-linklist.entry.js +3 -3
- package/esm/{pn-marketweb-siteheader-store-de85e557.js → pn-marketweb-siteheader-store-f31ee409.js} +1 -1
- package/esm/pn-marketweb-siteheader.entry.js +3 -3
- package/esm/pn-media-block.entry.js +5 -13
- package/esm/pn-multi-formfield.entry.js +1 -1
- package/esm/pn-multi-row-connected-dropdown-row.entry.js +1 -1
- package/esm/pn-multi-row-connected-dropdown.entry.js +1 -1
- package/esm/pn-multiple-input.entry.js +1 -1
- package/esm/pn-parcel-tracker.entry.js +1 -1
- package/esm/pn-pex-pricefinder.entry.js +1 -1
- package/esm/pn-play-on-scroll.entry.js +1 -1
- package/esm/pn-product-card_3.entry.js +1 -1
- package/esm/pn-product-pricelist-result.entry.js +2 -2
- package/esm/pn-product-pricelist.entry.js +3 -3
- package/esm/pn-product-tile-info_2.entry.js +1 -1
- package/esm/pn-product-tile.entry.js +1 -1
- package/esm/pn-profile-modal-customernumber.entry.js +1 -1
- package/esm/pn-profile-modal-profile.entry.js +3 -3
- package/esm/{pn-profile-modal-store-3424856b.js → pn-profile-modal-store-17855bd2.js} +1 -1
- package/esm/pn-profile-modal-type.entry.js +3 -3
- package/esm/pn-profile-modal.entry.js +3 -3
- package/esm/pn-profile-selector-option.entry.js +1 -1
- package/esm/pn-profile-selector.entry.js +1 -1
- package/esm/pn-proxio-findprice-result.entry.js +1 -1
- package/esm/pn-proxio-findprice.entry.js +2 -2
- package/esm/pn-proxio-pricegroup.entry.js +1 -1
- package/esm/pn-proxio-productcard_4.entry.js +1 -1
- package/esm/pn-quick-cta.entry.js +1 -1
- package/esm/pn-quote-card.entry.js +1 -1
- package/esm/pn-scroll_2.entry.js +1 -1
- package/esm/pn-share-item.entry.js +1 -1
- package/esm/pn-share.entry.js +1 -1
- package/esm/pn-sidenav-level.entry.js +3 -3
- package/esm/pn-sidenav-link.entry.js +3 -3
- package/esm/{pn-sidenav-store-e667e8ea.js → pn-sidenav-store-c4d92fd2.js} +1 -1
- package/esm/pn-sidenav-togglebutton.entry.js +3 -3
- package/esm/pn-sidenav.entry.js +3 -3
- package/esm/pn-site-footer_3.entry.js +1 -1
- package/esm/pn-spotlight.entry.js +1 -1
- package/esm/pn-stats-info-data.entry.js +1 -1
- package/esm/pn-stats-info.entry.js +1 -1
- package/esm/pn-teaser-card.entry.js +1 -1
- package/esm/pn-titletag.entry.js +1 -1
- package/esm/pn-usp-promoter.entry.js +32 -0
- package/esm-es5/{index-6ee8c83f.js → index-6a2abc18.js} +1 -1
- package/esm-es5/{index-70664d8e.js → index-6e611ed9.js} +1 -1
- package/esm-es5/loader.js +1 -1
- package/esm-es5/pn-address-autofill.entry.js +1 -1
- package/esm-es5/pn-animated-tile.entry.js +1 -1
- package/esm-es5/pn-app-banner.entry.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 +1 -1
- package/esm-es5/pn-charts-card.entry.js +1 -1
- package/esm-es5/pn-choice-button.entry.js +1 -1
- package/esm-es5/pn-cta-block.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-date-and-time.entry.js +1 -1
- package/esm-es5/pn-dropdown-choice-adds-row.entry.js +1 -1
- package/esm-es5/pn-dropdown-with-multi-input-rows-row.entry.js +1 -1
- package/esm-es5/pn-dropdown-with-multi-input-rows.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-0835039f.js → pn-find-price-store-3577991d.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-ce4ca6e6.js → pn-find-service-and-price-store-a49d61f3.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-link-list.entry.js +1 -1
- package/esm-es5/pn-mainnav-link.entry.js +1 -1
- package/esm-es5/{pn-mainnav-store-054d67c4.js → pn-mainnav-store-3041a893.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_5.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader-login-linklist.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader-store-f31ee409.js +1 -0
- package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
- package/esm-es5/pn-media-block.entry.js +1 -1
- package/esm-es5/pn-multi-formfield.entry.js +1 -1
- package/esm-es5/pn-multi-row-connected-dropdown-row.entry.js +1 -1
- package/esm-es5/pn-multi-row-connected-dropdown.entry.js +1 -1
- package/esm-es5/pn-multiple-input.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-play-on-scroll.entry.js +1 -1
- package/esm-es5/pn-product-card_3.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-3424856b.js → pn-profile-modal-store-17855bd2.js} +1 -1
- package/esm-es5/pn-profile-modal-type.entry.js +1 -1
- package/esm-es5/pn-profile-modal.entry.js +1 -1
- package/esm-es5/pn-profile-selector-option.entry.js +1 -1
- package/esm-es5/pn-profile-selector.entry.js +1 -1
- package/esm-es5/pn-proxio-findprice-result.entry.js +1 -1
- package/esm-es5/pn-proxio-findprice.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-scroll_2.entry.js +1 -1
- package/esm-es5/pn-share-item.entry.js +1 -1
- package/esm-es5/pn-share.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-e667e8ea.js → pn-sidenav-store-c4d92fd2.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_3.entry.js +1 -1
- package/esm-es5/pn-spotlight.entry.js +1 -1
- package/esm-es5/pn-stats-info-data.entry.js +1 -1
- package/esm-es5/pn-stats-info.entry.js +1 -1
- package/esm-es5/pn-teaser-card.entry.js +1 -1
- package/esm-es5/pn-titletag.entry.js +1 -1
- package/esm-es5/pn-usp-promoter.entry.js +1 -0
- package/package.json +5 -5
- package/pn-market-web-components/{p-e356a2cf.system.entry.js → p-02dba6d3.system.entry.js} +1 -1
- package/pn-market-web-components/{p-3d2ac1f6.system.entry.js → p-03593c2c.system.entry.js} +1 -1
- package/pn-market-web-components/{p-7e4b979c.entry.js → p-03981c36.entry.js} +1 -1
- package/pn-market-web-components/{p-e2f1add7.system.js → p-03f5acf3.system.js} +1 -1
- package/pn-market-web-components/{p-3cc00541.entry.js → p-07c04e4a.entry.js} +1 -1
- package/pn-market-web-components/{p-94ce23b4.system.js → p-0cb0317e.system.js} +1 -1
- package/pn-market-web-components/{p-96b7535f.entry.js → p-0ddc464c.entry.js} +1 -1
- package/pn-market-web-components/{p-4ef22c01.system.entry.js → p-16bb93bf.system.entry.js} +1 -1
- package/pn-market-web-components/{p-8bdad77d.system.entry.js → p-16f566e4.system.entry.js} +1 -1
- package/pn-market-web-components/{p-8e142421.entry.js → p-17e04222.entry.js} +1 -1
- package/pn-market-web-components/{p-fec6a09c.entry.js → p-1aa2008f.entry.js} +1 -1
- package/pn-market-web-components/{p-b8d4a319.system.entry.js → p-1c43dc8d.system.entry.js} +1 -1
- package/pn-market-web-components/p-1caef6e7.js +1 -0
- package/pn-market-web-components/p-1cd40ab8.js +1 -0
- package/pn-market-web-components/{p-a21e99fa.system.entry.js → p-1cfc9d10.system.entry.js} +1 -1
- package/pn-market-web-components/{p-2bc0fbd6.entry.js → p-1d088d9c.entry.js} +1 -1
- package/pn-market-web-components/{p-6fd874c0.entry.js → p-1d84acae.entry.js} +1 -1
- package/pn-market-web-components/{p-eb702bcd.system.js → p-20f09ba2.system.js} +1 -1
- package/pn-market-web-components/{p-92ebab4a.entry.js → p-21c6ed35.entry.js} +1 -1
- package/pn-market-web-components/{p-6f07da13.entry.js → p-24c54547.entry.js} +1 -1
- package/pn-market-web-components/{p-54ae554a.entry.js → p-250b0083.entry.js} +1 -1
- package/pn-market-web-components/{p-d435617c.system.entry.js → p-2b374219.system.entry.js} +1 -1
- package/pn-market-web-components/{p-3dad0ce4.entry.js → p-2c29062d.entry.js} +1 -1
- package/pn-market-web-components/{p-62603a41.system.entry.js → p-2ea64615.system.entry.js} +1 -1
- package/pn-market-web-components/{p-586991f8.system.entry.js → p-2ed45e96.system.entry.js} +1 -1
- package/pn-market-web-components/{p-85d8ccbd.system.entry.js → p-3076020a.system.entry.js} +1 -1
- package/pn-market-web-components/{p-a69bd189.system.entry.js → p-326d13ca.system.entry.js} +1 -1
- package/pn-market-web-components/p-326d57d0.entry.js +1 -0
- package/pn-market-web-components/p-346c3772.system.entry.js +1 -0
- package/pn-market-web-components/{p-d1f90b53.system.entry.js → p-3542525e.system.entry.js} +1 -1
- package/pn-market-web-components/{p-8986f45e.system.entry.js → p-376b860e.system.entry.js} +1 -1
- package/pn-market-web-components/{p-20a08e7a.entry.js → p-38b16c1a.entry.js} +1 -1
- package/pn-market-web-components/p-3a08bb08.entry.js +1 -0
- package/pn-market-web-components/{p-35a4aa56.entry.js → p-3b5df6ae.entry.js} +1 -1
- package/pn-market-web-components/{p-c4ec9a7f.entry.js → p-3f96b45f.entry.js} +1 -1
- package/pn-market-web-components/{p-52c91186.system.entry.js → p-404703bc.system.entry.js} +1 -1
- package/pn-market-web-components/p-40fc893a.js +1 -0
- package/pn-market-web-components/{p-1165f7d0.system.entry.js → p-412669a4.system.entry.js} +1 -1
- package/pn-market-web-components/{p-7e3b87bd.entry.js → p-46088d8c.entry.js} +1 -1
- package/pn-market-web-components/{p-b29adc65.system.entry.js → p-4c38b1b5.system.entry.js} +1 -1
- package/pn-market-web-components/p-4c4f7ab0.entry.js +1 -0
- package/pn-market-web-components/{p-abcde0d8.entry.js → p-4e7a470b.entry.js} +1 -1
- package/pn-market-web-components/{p-4a4d1f12.system.entry.js → p-4ee4767f.system.entry.js} +1 -1
- package/pn-market-web-components/{p-bfed70cc.entry.js → p-4f38aeea.entry.js} +1 -1
- package/pn-market-web-components/{p-52df172b.system.entry.js → p-4fe46903.system.entry.js} +1 -1
- package/pn-market-web-components/{p-77db84fd.system.entry.js → p-51fc7a64.system.entry.js} +1 -1
- package/pn-market-web-components/{p-5ee67059.entry.js → p-54dfc74e.entry.js} +1 -1
- package/pn-market-web-components/{p-9dd478d9.js → p-5a55d3ef.js} +1 -1
- package/pn-market-web-components/{p-23357475.system.entry.js → p-5a74b363.system.entry.js} +1 -1
- package/pn-market-web-components/{p-fa4c8587.entry.js → p-5b535af5.entry.js} +1 -1
- package/pn-market-web-components/{p-1a4194d3.system.entry.js → p-5cf6111c.system.entry.js} +1 -1
- package/pn-market-web-components/{p-d762d2eb.system.entry.js → p-5d253c27.system.entry.js} +1 -1
- package/pn-market-web-components/{p-4b05a2a7.entry.js → p-6131fdb9.entry.js} +1 -1
- package/pn-market-web-components/{p-2647f023.entry.js → p-613c6df4.entry.js} +1 -1
- package/pn-market-web-components/p-626a68dc.system.js +2 -0
- package/pn-market-web-components/{p-98bafa28.system.entry.js → p-6368e239.system.entry.js} +1 -1
- package/pn-market-web-components/{p-0010aad7.entry.js → p-64df1c4d.entry.js} +1 -1
- package/pn-market-web-components/{p-1dafb003.system.entry.js → p-65e9ed4b.system.entry.js} +1 -1
- package/pn-market-web-components/{p-4e9b9584.system.entry.js → p-66775d88.system.entry.js} +1 -1
- package/pn-market-web-components/{p-0ad6efd1.entry.js → p-68e68770.entry.js} +1 -1
- package/pn-market-web-components/{p-54548525.system.entry.js → p-6b98aefa.system.entry.js} +1 -1
- package/pn-market-web-components/{p-28f745d6.system.entry.js → p-6bdbfdf2.system.entry.js} +1 -1
- package/pn-market-web-components/{p-b14e29f1.entry.js → p-6c8fbcda.entry.js} +1 -1
- package/pn-market-web-components/{p-19be5eed.system.entry.js → p-6ca7eb0a.system.entry.js} +1 -1
- package/pn-market-web-components/{p-1fbdecfb.system.entry.js → p-70f338c2.system.entry.js} +1 -1
- package/pn-market-web-components/{p-3f74ef14.js → p-71a0acac.js} +1 -1
- package/pn-market-web-components/{p-225e581e.entry.js → p-72526890.entry.js} +1 -1
- package/pn-market-web-components/{p-7da9b27b.entry.js → p-726f1ba5.entry.js} +1 -1
- package/pn-market-web-components/{p-3a2f44d6.entry.js → p-732d5bf1.entry.js} +1 -1
- package/pn-market-web-components/{p-aaf31bc1.system.entry.js → p-739f296c.system.entry.js} +1 -1
- package/pn-market-web-components/{p-fa666ea0.system.entry.js → p-73ac15b9.system.entry.js} +1 -1
- package/pn-market-web-components/{p-caf88cd1.entry.js → p-745eef3e.entry.js} +1 -1
- package/pn-market-web-components/{p-9c22f141.entry.js → p-7480e40c.entry.js} +1 -1
- package/pn-market-web-components/{p-312ca954.entry.js → p-7542a277.entry.js} +1 -1
- package/pn-market-web-components/{p-87f9ac84.system.entry.js → p-7613b490.system.entry.js} +1 -1
- package/pn-market-web-components/p-76563549.entry.js +1 -0
- package/pn-market-web-components/{p-4e5efb81.system.entry.js → p-78ee80d4.system.entry.js} +1 -1
- package/pn-market-web-components/{p-154e2826.system.entry.js → p-7902d31a.system.entry.js} +1 -1
- package/pn-market-web-components/{p-fb84605d.system.js → p-79459743.system.js} +1 -1
- package/pn-market-web-components/{p-984a13ac.system.entry.js → p-7a2d4f1a.system.entry.js} +1 -1
- package/pn-market-web-components/{p-55095fd4.system.entry.js → p-7b7ca449.system.entry.js} +1 -1
- package/pn-market-web-components/{p-e96ed1ba.system.entry.js → p-7cee798b.system.entry.js} +1 -1
- package/pn-market-web-components/{p-6bc810e3.entry.js → p-819494d3.entry.js} +1 -1
- package/pn-market-web-components/{p-ba9c3757.system.entry.js → p-81b5430c.system.entry.js} +1 -1
- package/pn-market-web-components/{p-9f8c3f1a.system.entry.js → p-894178a2.system.entry.js} +1 -1
- package/pn-market-web-components/{p-05f643e4.system.entry.js → p-8a8fe9b8.system.entry.js} +1 -1
- package/pn-market-web-components/{p-9afa3afc.entry.js → p-8ab74cc4.entry.js} +1 -1
- package/pn-market-web-components/{p-a2b062a1.entry.js → p-8b189558.entry.js} +1 -1
- package/pn-market-web-components/{p-704058ed.entry.js → p-8b471f23.entry.js} +1 -1
- package/pn-market-web-components/{p-f840e5bb.entry.js → p-8c9da166.entry.js} +1 -1
- package/pn-market-web-components/{p-29d60871.entry.js → p-90dafa04.entry.js} +1 -1
- package/pn-market-web-components/{p-bc645d84.entry.js → p-93e3b8cc.entry.js} +1 -1
- package/pn-market-web-components/{p-a0ac3794.entry.js → p-93e4245f.entry.js} +1 -1
- package/pn-market-web-components/{p-f3f44a2c.system.entry.js → p-9508d1b3.system.entry.js} +1 -1
- package/pn-market-web-components/{p-32528f2e.system.entry.js → p-95189aa2.system.entry.js} +1 -1
- package/pn-market-web-components/{p-e15b72a3.entry.js → p-962292bf.entry.js} +1 -1
- package/pn-market-web-components/{p-e9884417.entry.js → p-97281fd6.entry.js} +1 -1
- package/pn-market-web-components/{p-69fc1fdb.system.entry.js → p-978a7be6.system.entry.js} +1 -1
- package/pn-market-web-components/{p-51e673f9.system.entry.js → p-97a9ce4f.system.entry.js} +1 -1
- package/pn-market-web-components/{p-963f55a9.entry.js → p-991eef67.entry.js} +1 -1
- package/pn-market-web-components/{p-b96dbfea.js → p-9a6ee73f.js} +1 -1
- package/pn-market-web-components/{p-83a8af5a.system.entry.js → p-9b758fa4.system.entry.js} +1 -1
- package/pn-market-web-components/{p-052508de.entry.js → p-9b9b9b56.entry.js} +1 -1
- package/pn-market-web-components/{p-0b071480.entry.js → p-9dc2163c.entry.js} +1 -1
- package/pn-market-web-components/{p-2248b584.system.entry.js → p-9f49664e.system.entry.js} +1 -1
- package/pn-market-web-components/{p-08fa8d4a.system.entry.js → p-a1294675.system.entry.js} +1 -1
- package/pn-market-web-components/{p-14a189d3.system.js → p-a179066e.system.js} +1 -1
- package/pn-market-web-components/{p-a93f2e9d.system.entry.js → p-a19b539f.system.entry.js} +1 -1
- package/pn-market-web-components/{p-1d69c613.entry.js → p-a1c5431f.entry.js} +1 -1
- package/pn-market-web-components/{p-d10b8ae0.entry.js → p-a544b937.entry.js} +1 -1
- package/pn-market-web-components/{p-ce2f007f.system.entry.js → p-a57848a9.system.entry.js} +1 -1
- package/pn-market-web-components/{p-7c8ad9cc.system.entry.js → p-a5eaa1b6.system.entry.js} +1 -1
- package/pn-market-web-components/{p-ae33ef56.entry.js → p-a69a0544.entry.js} +1 -1
- package/pn-market-web-components/{p-6caaf51b.system.js → p-a990da8b.system.js} +1 -1
- package/pn-market-web-components/{p-4905a61d.entry.js → p-a9e89ca3.entry.js} +1 -1
- package/pn-market-web-components/{p-d287cfdf.system.entry.js → p-aa42b255.system.entry.js} +1 -1
- package/pn-market-web-components/{p-b3871ac2.entry.js → p-abef3453.entry.js} +1 -1
- package/pn-market-web-components/{p-d1eacc9a.entry.js → p-ac275a13.entry.js} +1 -1
- package/pn-market-web-components/{p-04b382ae.system.entry.js → p-ad1f9612.system.entry.js} +1 -1
- package/pn-market-web-components/{p-42cde64b.entry.js → p-b18ce512.entry.js} +1 -1
- package/pn-market-web-components/{p-fe358a44.system.entry.js → p-b1b0f5e9.system.entry.js} +1 -1
- package/pn-market-web-components/{p-6ff2c262.system.entry.js → p-b7cdb982.system.entry.js} +1 -1
- package/pn-market-web-components/{p-2dca907e.entry.js → p-bc22cb7b.entry.js} +1 -1
- package/pn-market-web-components/{p-6107c744.js → p-bda66a3c.js} +1 -1
- package/pn-market-web-components/{p-820065a3.entry.js → p-be43040b.entry.js} +1 -1
- package/pn-market-web-components/{p-3a8410c6.entry.js → p-bea9522f.entry.js} +1 -1
- package/pn-market-web-components/{p-85c52e0c.system.entry.js → p-bf85df01.system.entry.js} +1 -1
- package/pn-market-web-components/{p-ef602321.system.entry.js → p-bfee099c.system.entry.js} +1 -1
- package/pn-market-web-components/p-c24770fa.system.entry.js +1 -0
- package/pn-market-web-components/p-c475abe8.system.js +1 -0
- package/pn-market-web-components/{p-a6cc80f6.entry.js → p-c6171d29.entry.js} +1 -1
- package/pn-market-web-components/{p-55a12ded.system.entry.js → p-c94586e5.system.entry.js} +1 -1
- package/pn-market-web-components/{p-68862e73.entry.js → p-cdf31352.entry.js} +1 -1
- package/pn-market-web-components/{p-260016e2.entry.js → p-ceddef4d.entry.js} +1 -1
- package/pn-market-web-components/{p-874d96b9.system.entry.js → p-d15bca21.system.entry.js} +1 -1
- package/pn-market-web-components/{p-8b42b65a.system.entry.js → p-d3d78acd.system.entry.js} +1 -1
- package/pn-market-web-components/{p-1f2d226e.entry.js → p-d8b3f505.entry.js} +1 -1
- package/pn-market-web-components/{p-af1af661.system.entry.js → p-d9292bd0.system.entry.js} +1 -1
- package/pn-market-web-components/{p-3410b18e.system.entry.js → p-d9d3078b.system.entry.js} +1 -1
- package/pn-market-web-components/{p-97825032.system.js → p-dc25c859.system.js} +1 -1
- package/pn-market-web-components/{p-e0c27b9f.entry.js → p-e0cb8b29.entry.js} +1 -1
- package/pn-market-web-components/{p-7b879f2c.system.entry.js → p-e11eb99c.system.entry.js} +1 -1
- package/pn-market-web-components/{p-7c167f65.entry.js → p-e197f20b.entry.js} +1 -1
- package/pn-market-web-components/{p-9a6b3f55.system.entry.js → p-e251b0c2.system.entry.js} +1 -1
- package/pn-market-web-components/{p-c5e35374.entry.js → p-e28fcf9c.entry.js} +1 -1
- package/pn-market-web-components/{p-812e4d0b.system.entry.js → p-e372332f.system.entry.js} +1 -1
- package/pn-market-web-components/{p-1aa1ccd2.entry.js → p-e56093da.entry.js} +1 -1
- package/pn-market-web-components/{p-3ab1bf8b.system.entry.js → p-ee42154f.system.entry.js} +1 -1
- package/pn-market-web-components/{p-e97ac85f.js → p-ef137f0d.js} +1 -1
- package/pn-market-web-components/{p-2ac346c8.system.entry.js → p-ef910604.system.entry.js} +1 -1
- package/pn-market-web-components/{p-191edfa8.entry.js → p-f550b051.entry.js} +1 -1
- package/pn-market-web-components/{p-a8cab386.system.entry.js → p-f91eb6a9.system.entry.js} +1 -1
- package/pn-market-web-components/p-f9e862db.entry.js +1 -0
- package/pn-market-web-components/{p-d28011f2.system.entry.js → p-fa4c3121.system.entry.js} +1 -1
- package/pn-market-web-components/{p-ead762ff.entry.js → p-fc27fb49.entry.js} +1 -1
- package/pn-market-web-components/{p-8bba7ba7.entry.js → p-fe877a0f.entry.js} +1 -1
- package/pn-market-web-components/{p-fe8172f7.entry.js → p-ffb197d9.entry.js} +1 -1
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/pn-market-web-components/pn-market-web-components.js +1 -1
- package/types/components/cta/pn-cta-block/pn-cta-block.d.ts +0 -3
- package/types/components/media/pn-media-block/pn-media-block.d.ts +0 -3
- package/types/components/widgets/pn-usp-promoter/pn-usp-promoter.d.ts +12 -0
- package/types/components.d.ts +27 -4
- package/esm-es5/pn-marketweb-siteheader-store-de85e557.js +0 -1
- package/pn-market-web-components/p-05f99c22.system.entry.js +0 -1
- package/pn-market-web-components/p-136f5395.entry.js +0 -1
- package/pn-market-web-components/p-17e61235.js +0 -1
- package/pn-market-web-components/p-441c6ecf.entry.js +0 -1
- package/pn-market-web-components/p-53d7aeb5.js +0 -1
- package/pn-market-web-components/p-986ed2b6.system.js +0 -1
- package/pn-market-web-components/p-a9930e79.entry.js +0 -1
- package/pn-market-web-components/p-c98ae4d8.js +0 -1
- package/pn-market-web-components/p-d17fb67d.system.js +0 -2
- package/pn-market-web-components/p-f3dbfe72.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as r,a as e,g as t}from"./p-
|
|
1
|
+
import{r as s,h as r,a as e,g as t}from"./p-5a55d3ef.js";const o=class{constructor(r){s(this,r),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}componentWillLoad(){this.setInitialValues(),this.setValuePercentage()}setInitialValues(){const s=Array.from(this.hostElement.querySelectorAll("pn-bonus-progressbar-level:not([current])"));if(this.currentLevelAdjustedValue=this.value,this.levelValues=s.map((s=>parseInt(s.getAttribute("value"),10))),!this.max&&this.levelValues&&this.levelValues.length>0){const s=this.levelValues.slice(-1)[0];let r=1.05;this.value>s&&(r=1.2),this.max=Math.floor(s*r)}this.value>this.max&&(this.currentLevelAdjustedValue=100)}setValuePercentage(){if(this.valuepercentage=this.value/this.max*100,this.progresspercentage=(this.value-this.min)/(this.max-this.min)*100,this.progresspercentage<0&&(this.min=this.levelValues&&this.levelValues.length&&this.levelValues[0]<this.value?Math.floor(.95*this.levelValues[0]):Math.floor(.95*this.value)),this.progresspercentage>100){this.progresspercentage=100;const s=this.levelValues.slice(-1)[0];let r=1.05;this.value>s&&(r=1.2),this.max=Math.floor(s*r)}}iconColor(){return"red"===this.theme?"coral700":"blue700"}render(){return r(e,null,r("div",{class:"bonusprogressbar-top"},this.icon?r("div",{class:"bonusprogressbar-top-icon"},r("pn-icon",{symbol:this.icon,small:"false",color:this.iconColor()})):{},r("div",{class:"bonusprogressbar-top-heading"},r("h4",{class:"bonusprogressbar-top-headline"},this.heading," ",r("strong",{class:"bonusprogressbar-top-percentage"},this.bonuspercentage)),this.sumtext?r("div",{class:"bonusprogressbar-sumtext"},this.sumtext):null)),r("div",{class:"bonusprogressbar-wrapper"},r("progress",{class:"bonusprogressbar-progress",value:this.progresspercentage,max:"100"}),r("slot",null)))}get hostElement(){return t(this)}static get watchers(){return{currentLevelAdjustedValue:["setValuePercentage"],value:["setValuePercentage"],min:["setValuePercentage"],max:["setValuePercentage"]}}};o.style="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}";export{o as pn_bonus_progressbar}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-0cb0317e.system.js"],(function(e){"use strict";var t;return{setters:[function(e){t=e.c}],execute:function(){var s=t({selectedUrl:"",selectedType:"",selectedProfile:"",i18n:{choosenCompanyText:"",toText:"",chooseCustomerNumberText:""}}),c=s.state,n=s.onChange;e("s",c)}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,a as l,g as e}from"./p-9dd478d9.js";import{F as o,M as h}from"./p-6a96db2f.js";import{d as n}from"./p-4e3d7a56.js";const a=class{constructor(s){t(this,s),this.addresscomplete=i(this,"addresscomplete",7),this.pnInputPostalCode=null,this.pnInputCity=null,this.pnInputStreetAddress=null,this.pnInputStreetNumber=null,this.postalCodeInputField=null,this.streetAddressInputField=null,this.streetNumberInputField=null,this.pnInputHiddenValue=null,this.endpointPath="/api/location/get-by-location",this._postalCodeProps=null,this._cityProps=null,this._streetAddressProps=null,this._streetNumberProps=null,this.fetchHelper=new o("PostalCodeCityAutofill"),this.filterStreetNames=t=>{const i=[];this.streetAdressArr=null,t.addresses.forEach((t=>{t.postalCode.postalCity!==this.city||i.includes(t.street)||i.push(t.street)})),this.streetAdressArr=i},this.filterStreetNumbers=t=>{const i=[];t.addresses.forEach((t=>{if(t.postalCode.postalCode===this.postalCode){const{numberFrom:s,numberTo:l}=t,e=parseInt(s),o=parseInt(l);for(let t=e;t<=o;t++){const s=t.toString();i.includes(s)||i.push(t.toString())}}})),this.streetNumberArr=i},this.market=null,this.environment=null,this.endpoint=null,this.cache=!0,this.countryCode=null,this.postalCodeProps=null,this.cityProps=null,this.streetAddressProps=null,this.streetNumberProps=null,this.streetAdressArr=null,this.streetNumberArr=null,this.city=null,this.postalCode=null,this.streetAddress=null,this.streetNumber=null,this.fullAddress=null}componentWillLoad(){this.setInitialValues(),this._postalCodeProps=this.setProps(this.postalCodeProps),this._cityProps=this.setProps(this.cityProps),this._streetAddressProps=this.setProps(this.streetAddressProps),this._streetNumberProps=this.setProps(this.streetNumberProps)}setProps(t){return"string"==typeof t?JSON.parse(t):t}componentDidLoad(){this.postalCodeInputField=this.pnInputPostalCode.querySelector("input"),this.streetAddressInputField=this.pnInputStreetAddress.querySelector("input"),this.streetNumberInputField=this.pnInputStreetNumber.querySelector("input"),this.addEventHandlers()}async setInitialValues(t=window.location.href){var i;const s=new h(t);this.environment||(this.environment=await s.getEnvironmentName()),this.endpoint||-1!==(null===(i=this.environment)||void 0===i?void 0:i.indexOf("local"))||(this.endpoint=await s.getEndpoint(this.environment,this.market)),this.endpoint||(this.endpoint="")}addEventHandlers(){const t=n.debounce(this.fetchData.bind(this,this.postalCodeInputField),1e3);this.postalCodeInputField.addEventListener("keyup",t),this.streetAddressInputField.addEventListener("keyup",this.handleStreetAddressDropdown.bind(this)),this.streetNumberInputField.addEventListener("focus",this.handleStreetNumberDropdown.bind(this)),this.addFormFieldEvent()}addFormFieldEvent(){this.hostElement.querySelectorAll("input").forEach((t=>{["keyup","change"].forEach((i=>{const s=n.debounce(this.updateHiddenValue.bind(this),1e3);t.addEventListener(i,s)}))}))}updateHiddenValue(t){t.target===this.streetNumberInputField&&(this.streetNumber=this.streetNumberInputField.value),this.fullAddress=this.postalCode&&this.city&&this.streetAddress&&this.streetNumber?`${this.streetAddress} ${this.streetNumber}, ${this.city} ${this.postalCode}`:"",this.addresscomplete.emit(this.fullAddress)}async fetchData(t,i){var s;if(i&&(i.preventDefault(),"Tab"===i.key&&this.city))return;let l="";const e=i&&i.target===this.postalCodeInputField,o=t===this.streetAddressInputField&&this.city&&this.city.length,h=t===this.streetNumberInputField&&this.city&&this.city.length&&this.streetAddress&&this.streetAddress.length;if(e&&(l=this.postalCodeInputField.value,this.streetAdressArr=null,this.streetAddressInputField.value="",this.streetNumberArr=null,this.streetNumberInputField.value="",this.city=null,this.streetAddress=null,this.streetNumber=null),o&&(l=`${this.streetAddressInputField.value}, ${this.city}`,this.streetNumberArr=null,this.streetNumberInputField.value="",this.streetNumber=null),h&&(this.streetAdressArr=null,l=`${this.streetAddress}, ${this.city}`),l.length>0){const t=`${this.endpoint.lastIndexOf("/")===this.endpoint.length-1?this.endpoint.substring(0,this.endpoint.length-1):this.endpoint}${this.endpointPath}?countryCode=${this.countryCode}&query=${l}`,i=await this.fetchHelper.fetchJson(t,{mode:"cors"},this.cache);i&&(e&&(this.city=i.postalCodes?null===(s=i.postalCodes[0])||void 0===s?void 0:s.postalCity:null),o&&i.addresses&&(this.postalCode=this.postalCodeInputField.value,this.filterStreetNames(i)),h&&i.addresses&&this.filterStreetNumbers(i))}}async handleStreetAddressDropdown(t){const i=t.target;i===this.streetAddressInputField&&i.value.length&&(this.streetAdressArr&&this.streetAdressArr.length||await this.fetchData(this.streetAddressInputField,null)),i.value&&i.value.length||(this.streetAdressArr=null),this.streetAdressArr&&this.streetAdressArr.length&&this.autoComplete(t,this.streetAdressArr)}async handleStreetNumberDropdown(t){t.preventDefault(),t.target===this.streetNumberInputField&&(this.streetNumberArr&&this.streetNumberArr.length||await this.fetchData(this.streetNumberInputField,null),this.streetNumberArr&&this.autoComplete(t,this.streetNumberArr))}autoComplete(t,i){const s=t.target;if(i.length<1)return;let l=0;s.addEventListener("input",(()=>{const t=s.value;if(this.closeAllLists(s),!t)return;l=-1;let e=document.createElement("div");e.setAttribute("id","autocomplete-list"+s.name),e.setAttribute("class","autocomplete-items"),s.parentElement.appendChild(e);for(let l=0;l<i.length;l++)if(i[l].substring(0,t.length).toUpperCase()==t.toUpperCase()){let o=document.createElement("div");o.innerHTML="<strong>"+i[l].substring(0,t.length)+"</strong>",o.innerHTML+=i[l].substring(t.length),o.innerHTML+="<input type='hidden' value='"+i[l]+"'>",o.addEventListener("click",(t=>{const i=s.closest("pn-marketweb-input");let l=t.target;"STRONG"===l.nodeName&&(l=l.parentElement),i.value=l.getElementsByTagName("input")[0].value,s===this.streetNumberInputField&&(this.streetNumber=i.value),s===this.streetAddressInputField&&(this.streetAddress=i.value),this.closeAllLists(t.target),s.focus()})),e.appendChild(o)}})),s.addEventListener("keydown",(t=>{const i=document.getElementById("autocomplete-list"+s.name);let e;e=i?i.getElementsByTagName("div"):i,40==t.keyCode&&(l++,this.addActive(e,l)),38==t.keyCode&&(l--,this.addActive(e,l)),13==t.keyCode&&(t.preventDefault(),l>-1&&e&&e[l].click())}))}closeAllLists(t){const i=document.getElementsByClassName("autocomplete-items");for(let s=0;s<i.length;s++)t!=i[s]&&i[s].parentNode.removeChild(i[s])}addActive(t,i){t&&(this.removeActive(t),i>=t.length&&(i=0),i<0&&(i=t.length-1),t[i].classList.add("autocomplete-active"))}removeActive(t){for(let i=0;i<t.length;i++)t[i].classList.remove("autocomplete-active")}render(){var t,i,e,o,h,n,a,u,d,r,p,c,m,v,f,b,w;return s(l,{class:"pn-address-autofill"},(null===(t=this._postalCodeProps)||void 0===t?void 0:t.postalCodeCityLabel)?s("div",{class:"label-container"},s("label",null,`${this._postalCodeProps.postalCodeCityLabel}`)):null,s("div",{class:"input-container-row"},s("pn-marketweb-input",{type:"text",name:null===(i=this._postalCodeProps)||void 0===i?void 0:i.postalCodeInputName,required:null===(e=this._postalCodeProps)||void 0===e?void 0:e.postalCodeInputRequired,placeholder:null===(o=this._postalCodeProps)||void 0===o?void 0:o.postalCodeInputPlaceholder,ref:t=>this.pnInputPostalCode=t,autocomplete:"off",helpertext:null===(h=this._postalCodeProps)||void 0===h?void 0:h.postalCodeInputHelpertext}),s("pn-marketweb-input",{type:"text",name:null===(n=this._cityProps)||void 0===n?void 0:n.cityInputName,disabled:!0,value:this.city,placeholder:null===(a=this._cityProps)||void 0===a?void 0:a.cityInputPlaceholder,autocomplete:"off",helpertext:null===(u=this._cityProps)||void 0===u?void 0:u.cityInputHelpertext})),(null===(d=this._streetAddressProps)||void 0===d?void 0:d.streetAddressNumberLabel)?s("div",{class:"label-container"},s("label",null,`${this._streetAddressProps.streetAddressNumberLabel}`)):null,s("div",{class:"input-container-row"},s("pn-marketweb-input",{type:"text",name:null===(r=this._streetAddressProps)||void 0===r?void 0:r.streetAddressInputName,required:null===(p=this._streetAddressProps)||void 0===p?void 0:p.streetAddressInputRequired,value:this.streetAddress,placeholder:null===(c=this._streetAddressProps)||void 0===c?void 0:c.streetAddressInputPlaceholder,ref:t=>this.pnInputStreetAddress=t,autocomplete:"off",helpertext:null===(m=this._streetAddressProps)||void 0===m?void 0:m.streetAddressInputHelpertext}),s("pn-marketweb-input",{type:"text",name:null===(v=this._streetNumberProps)||void 0===v?void 0:v.streetNumberInputName,required:null===(f=this._streetNumberProps)||void 0===f?void 0:f.streetNumberInputRequired,value:this.streetNumber,placeholder:null===(b=this._streetNumberProps)||void 0===b?void 0:b.streetNumberInputPlaceholder,ref:t=>this.pnInputStreetNumber=t,autocomplete:"off",helpertext:null===(w=this._streetNumberProps)||void 0===w?void 0:w.streetNumberInputHelpertext})))}get hostElement(){return e(this)}};a.style="pn-address-autofill pn-marketweb-input{width:50%}pn-address-autofill .input-container-row{display:-ms-flexbox;display:flex;gap:1rem;margin-bottom:1rem}pn-address-autofill .label-container{color:#5E554A;font-size:0.875em;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:end;align-items:flex-end}pn-address-autofill .autocomplete-items{position:absolute;border-radius:0.8rem;border:0.1rem solid #5E554A;width:100%;max-height:30rem;overflow-y:auto}pn-address-autofill .autocomplete-items:hover,pn-address-autofill .autocomplete-items :focus{border:0.1rem solid #00A0D6}pn-address-autofill .autocomplete-items div{padding:1.6rem;cursor:pointer;background-color:#fff;border:0.1rem solid transparent}pn-address-autofill .autocomplete-items div:first-child{border-radius:0.8rem 0.8rem 0 0}pn-address-autofill .autocomplete-items div:last-child{border-radius:0 0 0.8rem 0.8rem}pn-address-autofill .autocomplete-items div:hover{background-color:#e0f8ff}pn-address-autofill .autocomplete-items .autocomplete-active{background-color:#e0f8ff}";export{a as pn_address_autofill}
|
|
1
|
+
import{r as t,c as i,h as s,a as l,g as e}from"./p-5a55d3ef.js";import{F as o,M as h}from"./p-6a96db2f.js";import{d as n}from"./p-4e3d7a56.js";const a=class{constructor(s){t(this,s),this.addresscomplete=i(this,"addresscomplete",7),this.pnInputPostalCode=null,this.pnInputCity=null,this.pnInputStreetAddress=null,this.pnInputStreetNumber=null,this.postalCodeInputField=null,this.streetAddressInputField=null,this.streetNumberInputField=null,this.pnInputHiddenValue=null,this.endpointPath="/api/location/get-by-location",this._postalCodeProps=null,this._cityProps=null,this._streetAddressProps=null,this._streetNumberProps=null,this.fetchHelper=new o("PostalCodeCityAutofill"),this.filterStreetNames=t=>{const i=[];this.streetAdressArr=null,t.addresses.forEach((t=>{t.postalCode.postalCity!==this.city||i.includes(t.street)||i.push(t.street)})),this.streetAdressArr=i},this.filterStreetNumbers=t=>{const i=[];t.addresses.forEach((t=>{if(t.postalCode.postalCode===this.postalCode){const{numberFrom:s,numberTo:l}=t,e=parseInt(s),o=parseInt(l);for(let t=e;t<=o;t++){const s=t.toString();i.includes(s)||i.push(t.toString())}}})),this.streetNumberArr=i},this.market=null,this.environment=null,this.endpoint=null,this.cache=!0,this.countryCode=null,this.postalCodeProps=null,this.cityProps=null,this.streetAddressProps=null,this.streetNumberProps=null,this.streetAdressArr=null,this.streetNumberArr=null,this.city=null,this.postalCode=null,this.streetAddress=null,this.streetNumber=null,this.fullAddress=null}componentWillLoad(){this.setInitialValues(),this._postalCodeProps=this.setProps(this.postalCodeProps),this._cityProps=this.setProps(this.cityProps),this._streetAddressProps=this.setProps(this.streetAddressProps),this._streetNumberProps=this.setProps(this.streetNumberProps)}setProps(t){return"string"==typeof t?JSON.parse(t):t}componentDidLoad(){this.postalCodeInputField=this.pnInputPostalCode.querySelector("input"),this.streetAddressInputField=this.pnInputStreetAddress.querySelector("input"),this.streetNumberInputField=this.pnInputStreetNumber.querySelector("input"),this.addEventHandlers()}async setInitialValues(t=window.location.href){var i;const s=new h(t);this.environment||(this.environment=await s.getEnvironmentName()),this.endpoint||-1!==(null===(i=this.environment)||void 0===i?void 0:i.indexOf("local"))||(this.endpoint=await s.getEndpoint(this.environment,this.market)),this.endpoint||(this.endpoint="")}addEventHandlers(){const t=n.debounce(this.fetchData.bind(this,this.postalCodeInputField),1e3);this.postalCodeInputField.addEventListener("keyup",t),this.streetAddressInputField.addEventListener("keyup",this.handleStreetAddressDropdown.bind(this)),this.streetNumberInputField.addEventListener("focus",this.handleStreetNumberDropdown.bind(this)),this.addFormFieldEvent()}addFormFieldEvent(){this.hostElement.querySelectorAll("input").forEach((t=>{["keyup","change"].forEach((i=>{const s=n.debounce(this.updateHiddenValue.bind(this),1e3);t.addEventListener(i,s)}))}))}updateHiddenValue(t){t.target===this.streetNumberInputField&&(this.streetNumber=this.streetNumberInputField.value),this.fullAddress=this.postalCode&&this.city&&this.streetAddress&&this.streetNumber?`${this.streetAddress} ${this.streetNumber}, ${this.city} ${this.postalCode}`:"",this.addresscomplete.emit(this.fullAddress)}async fetchData(t,i){var s;if(i&&(i.preventDefault(),"Tab"===i.key&&this.city))return;let l="";const e=i&&i.target===this.postalCodeInputField,o=t===this.streetAddressInputField&&this.city&&this.city.length,h=t===this.streetNumberInputField&&this.city&&this.city.length&&this.streetAddress&&this.streetAddress.length;if(e&&(l=this.postalCodeInputField.value,this.streetAdressArr=null,this.streetAddressInputField.value="",this.streetNumberArr=null,this.streetNumberInputField.value="",this.city=null,this.streetAddress=null,this.streetNumber=null),o&&(l=`${this.streetAddressInputField.value}, ${this.city}`,this.streetNumberArr=null,this.streetNumberInputField.value="",this.streetNumber=null),h&&(this.streetAdressArr=null,l=`${this.streetAddress}, ${this.city}`),l.length>0){const t=`${this.endpoint.lastIndexOf("/")===this.endpoint.length-1?this.endpoint.substring(0,this.endpoint.length-1):this.endpoint}${this.endpointPath}?countryCode=${this.countryCode}&query=${l}`,i=await this.fetchHelper.fetchJson(t,{mode:"cors"},this.cache);i&&(e&&(this.city=i.postalCodes?null===(s=i.postalCodes[0])||void 0===s?void 0:s.postalCity:null),o&&i.addresses&&(this.postalCode=this.postalCodeInputField.value,this.filterStreetNames(i)),h&&i.addresses&&this.filterStreetNumbers(i))}}async handleStreetAddressDropdown(t){const i=t.target;i===this.streetAddressInputField&&i.value.length&&(this.streetAdressArr&&this.streetAdressArr.length||await this.fetchData(this.streetAddressInputField,null)),i.value&&i.value.length||(this.streetAdressArr=null),this.streetAdressArr&&this.streetAdressArr.length&&this.autoComplete(t,this.streetAdressArr)}async handleStreetNumberDropdown(t){t.preventDefault(),t.target===this.streetNumberInputField&&(this.streetNumberArr&&this.streetNumberArr.length||await this.fetchData(this.streetNumberInputField,null),this.streetNumberArr&&this.autoComplete(t,this.streetNumberArr))}autoComplete(t,i){const s=t.target;if(i.length<1)return;let l=0;s.addEventListener("input",(()=>{const t=s.value;if(this.closeAllLists(s),!t)return;l=-1;let e=document.createElement("div");e.setAttribute("id","autocomplete-list"+s.name),e.setAttribute("class","autocomplete-items"),s.parentElement.appendChild(e);for(let l=0;l<i.length;l++)if(i[l].substring(0,t.length).toUpperCase()==t.toUpperCase()){let o=document.createElement("div");o.innerHTML="<strong>"+i[l].substring(0,t.length)+"</strong>",o.innerHTML+=i[l].substring(t.length),o.innerHTML+="<input type='hidden' value='"+i[l]+"'>",o.addEventListener("click",(t=>{const i=s.closest("pn-marketweb-input");let l=t.target;"STRONG"===l.nodeName&&(l=l.parentElement),i.value=l.getElementsByTagName("input")[0].value,s===this.streetNumberInputField&&(this.streetNumber=i.value),s===this.streetAddressInputField&&(this.streetAddress=i.value),this.closeAllLists(t.target),s.focus()})),e.appendChild(o)}})),s.addEventListener("keydown",(t=>{const i=document.getElementById("autocomplete-list"+s.name);let e;e=i?i.getElementsByTagName("div"):i,40==t.keyCode&&(l++,this.addActive(e,l)),38==t.keyCode&&(l--,this.addActive(e,l)),13==t.keyCode&&(t.preventDefault(),l>-1&&e&&e[l].click())}))}closeAllLists(t){const i=document.getElementsByClassName("autocomplete-items");for(let s=0;s<i.length;s++)t!=i[s]&&i[s].parentNode.removeChild(i[s])}addActive(t,i){t&&(this.removeActive(t),i>=t.length&&(i=0),i<0&&(i=t.length-1),t[i].classList.add("autocomplete-active"))}removeActive(t){for(let i=0;i<t.length;i++)t[i].classList.remove("autocomplete-active")}render(){var t,i,e,o,h,n,a,u,d,r,p,c,m,v,f,b,w;return s(l,{class:"pn-address-autofill"},(null===(t=this._postalCodeProps)||void 0===t?void 0:t.postalCodeCityLabel)?s("div",{class:"label-container"},s("label",null,`${this._postalCodeProps.postalCodeCityLabel}`)):null,s("div",{class:"input-container-row"},s("pn-marketweb-input",{type:"text",name:null===(i=this._postalCodeProps)||void 0===i?void 0:i.postalCodeInputName,required:null===(e=this._postalCodeProps)||void 0===e?void 0:e.postalCodeInputRequired,placeholder:null===(o=this._postalCodeProps)||void 0===o?void 0:o.postalCodeInputPlaceholder,ref:t=>this.pnInputPostalCode=t,autocomplete:"off",helpertext:null===(h=this._postalCodeProps)||void 0===h?void 0:h.postalCodeInputHelpertext}),s("pn-marketweb-input",{type:"text",name:null===(n=this._cityProps)||void 0===n?void 0:n.cityInputName,disabled:!0,value:this.city,placeholder:null===(a=this._cityProps)||void 0===a?void 0:a.cityInputPlaceholder,autocomplete:"off",helpertext:null===(u=this._cityProps)||void 0===u?void 0:u.cityInputHelpertext})),(null===(d=this._streetAddressProps)||void 0===d?void 0:d.streetAddressNumberLabel)?s("div",{class:"label-container"},s("label",null,`${this._streetAddressProps.streetAddressNumberLabel}`)):null,s("div",{class:"input-container-row"},s("pn-marketweb-input",{type:"text",name:null===(r=this._streetAddressProps)||void 0===r?void 0:r.streetAddressInputName,required:null===(p=this._streetAddressProps)||void 0===p?void 0:p.streetAddressInputRequired,value:this.streetAddress,placeholder:null===(c=this._streetAddressProps)||void 0===c?void 0:c.streetAddressInputPlaceholder,ref:t=>this.pnInputStreetAddress=t,autocomplete:"off",helpertext:null===(m=this._streetAddressProps)||void 0===m?void 0:m.streetAddressInputHelpertext}),s("pn-marketweb-input",{type:"text",name:null===(v=this._streetNumberProps)||void 0===v?void 0:v.streetNumberInputName,required:null===(f=this._streetNumberProps)||void 0===f?void 0:f.streetNumberInputRequired,value:this.streetNumber,placeholder:null===(b=this._streetNumberProps)||void 0===b?void 0:b.streetNumberInputPlaceholder,ref:t=>this.pnInputStreetNumber=t,autocomplete:"off",helpertext:null===(w=this._streetNumberProps)||void 0===w?void 0:w.streetNumberInputHelpertext})))}get hostElement(){return e(this)}};a.style="pn-address-autofill pn-marketweb-input{width:50%}pn-address-autofill .input-container-row{display:-ms-flexbox;display:flex;gap:1rem;margin-bottom:1rem}pn-address-autofill .label-container{color:#5E554A;font-size:0.875em;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:end;align-items:flex-end}pn-address-autofill .autocomplete-items{position:absolute;border-radius:0.8rem;border:0.1rem solid #5E554A;width:100%;max-height:30rem;overflow-y:auto}pn-address-autofill .autocomplete-items:hover,pn-address-autofill .autocomplete-items :focus{border:0.1rem solid #00A0D6}pn-address-autofill .autocomplete-items div{padding:1.6rem;cursor:pointer;background-color:#fff;border:0.1rem solid transparent}pn-address-autofill .autocomplete-items div:first-child{border-radius:0.8rem 0.8rem 0 0}pn-address-autofill .autocomplete-items div:last-child{border-radius:0 0 0.8rem 0.8rem}pn-address-autofill .autocomplete-items div:hover{background-color:#e0f8ff}pn-address-autofill .autocomplete-items .autocomplete-active{background-color:#e0f8ff}";export{a as pn_address_autofill}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-626a68dc.system.js"],(function(n){"use strict";var e,t;return{setters:[function(n){e=n.e;t=n.f}],execute:function(){var r=function(n,e,t){var r=n.get(e);if(!r){n.set(e,[t])}else if(!r.includes(t)){r.push(t)}};var u=function(n,e){var t;return function(){var r=[];for(var u=0;u<arguments.length;u++){r[u]=arguments[u]}if(t){clearTimeout(t)}t=setTimeout((function(){t=0;n.apply(void 0,r)}),e)}};var i=function(n){return!("isConnected"in n)||n.isConnected};var o=u((function(n){for(var e=0,t=n.keys();e<t.length;e++){var r=t[e];n.set(r,n.get(r).filter(i))}}),2e3);var f=function(){if(typeof e!=="function"){return{}}var n=new Map;return{dispose:function(){return n.clear()},get:function(t){var u=e();if(u){r(n,t,u)}},set:function(e){var r=n.get(e);if(r){n.set(e,r.filter(t))}o(n)},reset:function(){n.forEach((function(n){return n.forEach(t)}));o(n)}}};var c=function(n,e){if(e===void 0){e=function(n,e){return n!==e}}var t=new Map(Object.entries(n!==null&&n!==void 0?n:{}));var r={dispose:[],get:[],set:[],reset:[]};var u=function(){t=new Map(Object.entries(n!==null&&n!==void 0?n:{}));r.reset.forEach((function(n){return n()}))};var i=function(){r.dispose.forEach((function(n){return n()}));u()};var o=function(n){r.get.forEach((function(e){return e(n)}));return t.get(n)};var f=function(n,u){var i=t.get(n);if(e(u,i,n)){t.set(n,u);r.set.forEach((function(e){return e(n,u,i)}))}};var c=typeof Proxy==="undefined"?{}:new Proxy(n,{get:function(n,e){return o(e)},ownKeys:function(n){return Array.from(t.keys())},getOwnPropertyDescriptor:function(){return{enumerable:true,configurable:true}},has:function(n,e){return t.has(e)},set:function(n,e,t){f(e,t);return true}});var a=function(n,e){r[n].push(e);return function(){s(r[n],e)}};var v=function(e,t){var r=a("set",(function(n,r){if(n===e){t(r)}}));var u=a("reset",(function(){return t(n[e])}));return function(){r();u()}};var p=function(){var n=[];for(var e=0;e<arguments.length;e++){n[e]=arguments[e]}var t=n.reduce((function(n,e){if(e.set){n.push(a("set",e.set))}if(e.get){n.push(a("get",e.get))}if(e.reset){n.push(a("reset",e.reset))}if(e.dispose){n.push(a("dispose",e.dispose))}return n}),[]);return function(){return t.forEach((function(n){return n()}))}};var g=function(n){var e=t.get(n);r.set.forEach((function(t){return t(n,e,e)}))};return{state:c,get:o,set:f,on:a,onChange:v,use:p,dispose:i,reset:u,forceUpdate:g}};var s=function(n,e){var t=n.indexOf(e);if(t>=0){n[t]=n[n.length-1];n.length--}};var a=n("c",(function(n,e){var t=c(n,e);t.use(f());return t}))}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as n,h as e,a as i,g as s}from"./p-
|
|
1
|
+
import{r as n,h as e,a as i,g as s}from"./p-5a55d3ef.js";import{s as t}from"./p-40fc893a.js";import"./p-9a6ee73f.js";const o=class{constructor(e){n(this,e),this.name="",this.href="",this.target=null,this.linkid=null,this.icon="",this.current=!1,this.levelId="",this.open=!1,this.hasChildren=!1}componentWillLoad(){this.hasChildren=this.hostElement.querySelectorAll("pn-sidenav-level").length>0;const n=this.name.toLowerCase().replace(/\W/gi,"_");this.hasChildren&&this.name&&(this.levelId=`sidenav-lvl2-${n}`),!this.linkid&&this.name&&(this.linkid=`sidenav-link-${n}`)}onExpandClick(){t.openLevel=t.openLevel+""==this.levelId+""?"":this.levelId}getTagName(){return this.href?"a":"button"}render(){const n=this.getTagName(),s={href:this.href,target:this.target,id:this.linkid,class:"pn-sidenav-link"};let o={"aria-controls":this.levelId,"aria-pressed":"","aria-label":(this.open?t.i18n.close:t.i18n.open)+" "+this.name,"aria-expanded":(t.openLevel+""==this.levelId+"")+"",onClick:this.onExpandClick.bind(this)};return e(i,{role:"listitem",name:this.name,href:this.href,linkid:this.linkid,current:this.current+""},e(n,Object.assign({},s,"button"===n&&Object.assign({},o)),this.icon?e("pn-icon",{symbol:this.icon,color:"blue700"}):null,e("span",null,this.name),this.hasChildren&&"button"===n?e("div",{class:"pn-sidenav-link-expand"},e("pn-icon",this.open?{class:"first-level_icon",symbol:"angle-small-up",color:"blue700"}:{class:"first-level_icon",symbol:"angle-small-down",color:"blue700"})):null),this.hasChildren&&"a"===n?e("button",Object.assign({},o,{class:"pn-sidenav-link-expand"}),e("pn-icon",this.open?{class:"first-level_icon",symbol:"angle-small-up",color:"blue700"}:{class:"first-level_icon",symbol:"angle-small-down",color:"blue700"})):null,e("slot",null))}get hostElement(){return s(this)}};o.style='pn-sidenav-link{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.pn-sidenav-link{font-weight:normal;position:relative;border:0 none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;background-color:transparent;color:#005D92;font-size:1em;padding:1.1rem 1.5rem 1.1rem;overflow:hidden;text-decoration:none;cursor:pointer;-ms-flex-positive:1;flex-grow:1}.pn-sidenav-link::before{content:"";display:block;width:0.4rem;border-top-right-radius:0.3rem;border-bottom-right-radius:0.3rem;height:100%;position:absolute;left:0;top:0;bottom:0;-webkit-transform:translateX(-0.4rem);transform:translateX(-0.4rem);background:#005D92;-webkit-transition:-webkit-transform linear 0.35s;transition:-webkit-transform linear 0.35s;transition:transform linear 0.35s;transition:transform linear 0.35s, -webkit-transform linear 0.35s}.pn-sidenav-link:hover,.pn-sidenav-link:focus,[current=true]>.pn-sidenav-link{background-color:#E0F8FF;color:#005D92;outline:0;-webkit-box-shadow:none;box-shadow:none}.pn-sidenav-link:hover::before,.pn-sidenav-link:focus::before,[current=true]>.pn-sidenav-link::before{-webkit-transform:none;transform:none}.pn-sidenav-link:active{background-color:#F3F2F2;color:#00A0D6;-webkit-box-shadow:none;box-shadow:none}.pn-sidenav-link>pn-icon{padding-right:1em}.pn-sidenav-link-expand{margin-left:auto;border:0;font-size:1em;background:transparent;outline:0;padding:0 1em 0 0.5em;cursor:pointer}.pn-sidenav-link-expand:hover,.pn-sidenav-link-expand:focus,[current=true]>.pn-sidenav-link-expand{background-color:#E0F8FF;color:#005D92;outline:0;-webkit-box-shadow:none;box-shadow:none}.pn-sidenav-link-expand:hover::before,.pn-sidenav-link-expand:focus::before,[current=true]>.pn-sidenav-link-expand::before{-webkit-transform:none;transform:none}button>.pn-sidenav-link-expand{padding-right:0}.pn-sidenav-link-expand pn-icon{width:14px}';export{o as pn_sidenav_link}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-626a68dc.system.js"],(function(e){"use strict";var t,i,n,a;return{setters:[function(e){t=e.r;i=e.h;n=e.a;a=e.g}],execute:function(){var r="pn-app-banner .pn-app-banner__wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;gap:1rem;background-color:#F3F2F2;padding:1rem;margin:0 auto}pn-app-banner .pn-app-banner__sticky{position:relative;top:0;width:100%;z-index:999}pn-app-banner .icon-close:hover{cursor:pointer}pn-app-banner .pn-app-banner__icon{height:3.2rem}pn-app-banner .pn-app-banner__text{font-size:1.2rem;line-height:1}pn-app-banner .pn-app-banner__text span{font-weight:600}pn-app-banner .pn-app-banner__cta{margin-left:auto}pn-app-banner[data-is-closed=true]{display:none}";var l=e("pn_app_banner",function(){function e(e){var i=this;t(this,e);this.CLOSED_STORAGE_KEY="SmartAppBannerClosed";this.CLOSED_COOKIE_EXPIRY_DAYS=7;this.handleOnClose=function(){i.isClosed=true;if(i.isLocalStorageAvailable){localStorage.setItem(i.CLOSED_STORAGE_KEY,"true")}else{var e=new Date;e.setDate(e.getDate()+i.CLOSED_COOKIE_EXPIRY_DAYS);document.cookie="".concat(i.CLOSED_STORAGE_KEY,"=true; expires=").concat(e.toUTCString())}};this.appName=undefined;this.appDescription=undefined;this.ctaText=undefined;this.appleStoreLink=undefined;this.googleStoreLink=undefined;this.isClosed=false;this.storeLink=undefined;this.isLocalStorageAvailable=true}e.prototype.checkLocalStorage=function(){try{var e="__test__";localStorage.setItem(e,e);localStorage.removeItem(e)}catch(t){this.isLocalStorageAvailable=false}};e.prototype.detectDeviceAndSetStoreLink=function(){var e=navigator.userAgent;if(e.match(/Android/i)){this.storeLink=this.googleStoreLink}else if(e.match(/iPhone|iPad|iPod/i)){this.storeLink=this.appleStoreLink}else{this.storeLink=null;this.isClosed=true}};e.prototype.componentWillLoad=function(){this.checkLocalStorage();if(this.isLocalStorageAvailable){this.isClosed=localStorage.getItem(this.CLOSED_STORAGE_KEY)==="true"}else{var e=document.cookie.split(";");for(var t=0,i=e;t<i.length;t++){var n=i[t];var a=n.trim().split("="),r=a[0],l=a[1];if(r===this.CLOSED_STORAGE_KEY&&l==="true"){this.isClosed=true;break}}}if(!this.isClosed){this.detectDeviceAndSetStoreLink()}};e.prototype.render=function(){return i(n,{"data-is-closed":this.isClosed?"true":"false"},i("div",{class:"pn-app-banner__wrapper pn-app-banner__sticky"},i("div",{class:"icon-close",onClick:this.handleOnClose},i("pn-icon",{symbol:"close-small",small:"false",color:"black"})),i("div",{class:"pn-app-banner__icon"},i("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i("g",{"clip-path":"url(#clip0_17800_45416)"},i("path",{d:"M23.875 0H8.125C3.63769 0 0 3.63769 0 8.125V23.875C0 28.3623 3.63769 32 8.125 32H23.875C28.3623 32 32 28.3623 32 23.875V8.125C32 3.63769 28.3623 0 23.875 0Z",fill:"#F18D8D"}),i("mask",{id:"mask0_17800_45416",style:{"mask-type":"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"32",height:"32"},i("path",{d:"M23.875 0H8.125C3.63769 0 0 3.63769 0 8.125V23.875C0 28.3623 3.63769 32 8.125 32H23.875C28.3623 32 32 28.3623 32 23.875V8.125C32 3.63769 28.3623 0 23.875 0Z",fill:"#0D234B"})),i("g",{mask:"url(#mask0_17800_45416)"},i("path",{d:"M23.875 0H8.125C3.63769 0 0 3.63769 0 8.125V23.875C0 28.3623 3.63769 32 8.125 32H23.875C28.3623 32 32 28.3623 32 23.875V8.125C32 3.63769 28.3623 0 23.875 0Z",fill:"#0D234B"}),i("path",{d:"M50.8125 14.1562H18.8125V46.1562H50.8125V14.1562Z",fill:"url(#paint0_linear_17800_45416)"}),i("path",{d:"M2.09375 31.375C2.09375 15.2379 15.1754 2.15625 31.3125 2.15625H31.9844V31.9844H2.09998C2.09583 31.7819 2.09375 31.5788 2.09375 31.375Z",fill:"#00A0D6"}),i("g",{filter:"url(#filter0_d_17800_45416)"},i("path",{d:"M7.40625 11.8062C7.40625 10.2661 7.40625 9.49603 7.70597 8.90778C7.96963 8.39034 8.39034 7.96963 8.90778 7.70597C9.49603 7.40625 10.2661 7.40625 11.8062 7.40625H20.1938C21.7339 7.40625 22.504 7.40625 23.0922 7.70597C23.6097 7.96963 24.0304 8.39034 24.294 8.90778C24.5938 9.49603 24.5938 10.2661 24.5938 11.8062V20.1938C24.5938 21.7339 24.5938 22.504 24.294 23.0922C24.0304 23.6097 23.6097 24.0304 23.0922 24.294C22.504 24.5938 21.7339 24.5938 20.1938 24.5938H11.8062C10.2661 24.5938 9.49603 24.5938 8.90778 24.294C8.39034 24.0304 7.96963 23.6097 7.70597 23.0922C7.40625 22.504 7.40625 21.7339 7.40625 20.1938V11.8062Z",fill:"#F1F7FA"}),i("path",{opacity:"0.6","fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.5938 10.0625C10.3176 10.0625 10.0938 10.2863 10.0938 10.5625C10.0938 10.8387 10.3176 11.0625 10.5938 11.0625H12.875C13.1512 11.0625 13.375 10.8387 13.375 10.5625C13.375 10.2863 13.1512 10.0625 12.875 10.0625H10.5938ZM10.5938 12.3125C10.3176 12.3125 10.0938 12.5363 10.0938 12.8125C10.0938 13.0887 10.3176 13.3125 10.5938 13.3125H15.3125C15.5887 13.3125 15.8125 13.0887 15.8125 12.8125C15.8125 12.5363 15.5887 12.3125 15.3125 12.3125H10.5938ZM10.0938 14.75C10.0938 14.4738 10.3176 14.25 10.5938 14.25H13.5625C13.8387 14.25 14.0625 14.4738 14.0625 14.75C14.0625 15.0262 13.8387 15.25 13.5625 15.25H10.5938C10.3176 15.25 10.0938 15.0262 10.0938 14.75ZM15.1875 14.25C14.9113 14.25 14.6875 14.4738 14.6875 14.75C14.6875 15.0262 14.9113 15.25 15.1875 15.25C15.4637 15.25 15.6875 15.0262 15.6875 14.75C15.6875 14.4738 15.4637 14.25 15.1875 14.25Z",fill:"#A5C0CA"}),i("path",{d:"M17.9375 10.5938C17.9375 10.3176 18.1613 10.0938 18.4375 10.0938H21.75C22.0262 10.0938 22.25 10.3176 22.25 10.5938C22.25 10.8699 22.0262 11.0938 21.75 11.0938H18.4375C18.1613 11.0938 17.9375 10.8699 17.9375 10.5938Z",fill:"#00A0D6"}),i("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.0938 19.3125C10.0938 18.8983 10.4295 18.5625 10.8438 18.5625C11.258 18.5625 11.5938 18.8983 11.5938 19.3125V21.25C11.5938 21.6642 11.258 22 10.8438 22C10.4295 22 10.0938 21.6642 10.0938 21.25V19.3125ZM19.3438 19.3125C19.3438 18.8983 19.6795 18.5625 20.0938 18.5625C20.508 18.5625 20.8438 18.8983 20.8438 19.3125V21.25C20.8438 21.6642 20.508 22 20.0938 22C19.6795 22 19.3438 21.6642 19.3438 21.25V19.3125ZM14.5938 18.5625C14.1795 18.5625 13.8438 18.8983 13.8438 19.3125V21.25C13.8438 21.6642 14.1795 22 14.5938 22C15.008 22 15.3438 21.6642 15.3438 21.25V19.3125C15.3438 18.8983 15.008 18.5625 14.5938 18.5625ZM12.5938 18.9375C12.5938 18.7304 12.7617 18.5625 12.9688 18.5625C13.1758 18.5625 13.3438 18.7304 13.3438 18.9375V21.625C13.3438 21.8321 13.1758 22 12.9688 22C12.7617 22 12.5938 21.8321 12.5938 21.625V18.9375ZM21.5938 18.5625C21.3867 18.5625 21.2188 18.7304 21.2188 18.9375V21.625C21.2188 21.8321 21.3867 22 21.5938 22C21.8008 22 21.9688 21.8321 21.9688 21.625V18.9375C21.9688 18.7304 21.8008 18.5625 21.5938 18.5625ZM17.5938 18.9375C17.5938 18.7304 17.7617 18.5625 17.9688 18.5625C18.1758 18.5625 18.3438 18.7304 18.3438 18.9375V21.625C18.3438 21.8321 18.1758 22 17.9688 22C17.7617 22 17.5938 21.8321 17.5938 21.625V18.9375ZM16.5938 18.5625C16.3176 18.5625 16.0938 18.7863 16.0938 19.0625V21.5C16.0938 21.7762 16.3176 22 16.5938 22C16.8699 22 17.0938 21.7762 17.0938 21.5V19.0625C17.0938 18.7863 16.8699 18.5625 16.5938 18.5625Z",fill:"#0D234B"})))),i("defs",null,i("filter",{id:"filter0_d_17800_45416",x:"-52.5938",y:"-48.5938",width:"137.188",height:"137.188",filterUnits:"userSpaceOnUse","color-interpolation-filters":"s-rGB"},i("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),i("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),i("feOffset",{dy:"4"}),i("feGaussianBlur",{stdDeviation:"30"}),i("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"}),i("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_17800_45416"}),i("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_17800_45416",result:"shape"})),i("linearGradient",{id:"paint0_linear_17800_45416",x1:"29.2305",y1:"44.3441",x2:"51.5694",y2:"15.1782",gradientUnits:"userSpaceOnUse"},i("stop",{offset:"0.0800778","stop-color":"#0D244C"}),i("stop",{offset:"1","stop-color":"#0D234B"})),i("clipPath",{id:"clip0_17800_45416"},i("rect",{width:"32",height:"32",fill:"white"}))))),i("div",{class:"pn-app-banner__text"},i("span",null,this.appName),i("br",null),this.appDescription),i("div",{class:"pn-app-banner__cta"},i("pn-button",{small:true,href:this.storeLink},this.ctaText))))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());l.style=r}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-626a68dc.system.js","./p-dc25c859.system.js","./p-9ad4e291.system.js","./p-0cb0317e.system.js"],(function(t){"use strict";var i,e,s,n,l,r,o;return{setters:[function(t){i=t.r;e=t.h;s=t.a},function(t){n=t.s},function(t){l=t.a;r=t.b;o=t.R},function(){}],execute:function(){var a="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 c=t("pn_find_price_result",function(){function t(t){i(this,t);this.item=null;this.shownitems=[];this.Usp1=undefined;this.Usp2=undefined;this.Usp3=undefined;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?n.i18n.ombudHeader:n.i18n.stampshopcta;this.shopUrl=i?n.market.servicePoint:l;this.shopId=i?"-servicepoint":"-stampshop"};t.prototype.render=function(){return e(s,null,e("pn-product-card",{"data-productid":this.item.id},e("pn-illustration",{slot:"illustration",illustration:this.item.illustration}),e("div",{slot:"title"},this.item.infopagelink?e("h2",null,e("a",{href:this.item.infopagelink,target:"_blank"},this.item.name)):e("h2",null,this.item.name),this.item.highestrankusp==="Snabbast"?e("pn-titletag",{slot:"Snabbast",icon:"bolt",color:"blue700"},this.item.highestrankusp):this.item.highestrankusp==="Billigast"?e("pn-titletag",{slot:"Billigast",icon:"box-label",color:"green700"},this.item.highestrankusp):null),e("div",{slot:"content"},e("div",{class:"content"},this.item.description?e("div",{class:"description"},this.description.map((function(t){return e("li",null,t)}))):null,this.item.info?e("div",{class:"description"},this.item.info):null)),this.item.note?e("div",{slot:"note"},e("p",null,this.item.note)):null,this.item.additionalusp?e("div",{slot:"additionalUSP"},this.Usp1?e("span",null,this.Usp1):null,this.Usp2?e("span",null,this.Usp2):null,this.Usp3?e("span",null,this.Usp3):null):null,this.showMeasurement?e("pn-product-card-info",{paket:this.item.maxmått,rulle:this.item.rulle}):null,e("div",{slot:"cardprice"},this.item.pricesenddirect?e("pn-product-card-price",{slot:"sendDirectPrice",label:n.i18n.senddirectcta,amount:this.item.pricesenddirect+"",currency:n.market.currency,url:r,linkid:this.linkId+"-portal"}):null,this.item.pricestamps?this.item.name.toLocaleLowerCase()!=="riktiga vykort"?e("pn-product-card-price",{slot:"stampPrice",label:this.shopLabel,amount:this.item.pricestamps+"",currency:n.market.currency,url:this.shopUrl,linkid:this.linkId+this.shopId}):e("pn-product-card-price",{slot:"riktiga",label:n.i18n.realPostcard,amount:this.item.pricestamps+"",currency:n.market.currency,url:o["WebUrl"],linkid:this.linkId+"-riktiga"}):null),e("div",{slot:"servicepoint"},this.item.showservicepointlink?e("a",{href:n.market.servicePoint,target:"_blank"},e("pn-icon",{symbol:"map-marker",color:"blue700"}),n.i18n.servicePointLink):null),e("div",{slot:"mobiledownload"},this.item.name.toLocaleLowerCase()==="riktiga vykort"?e("div",{id:"riktiga"},e("h4",null,n.i18n.realPostcardMobile),e("div",null,e("a",{href:o["AndroidAppUrl"],target:"_blank"},e("img",{class:"riktigaAndroidImg",src:o["AndroidImg"]})),e("a",{href:o["IosAppUrl"],target:"_blank"},e("img",{class:"riktigaAppleImg",src:o["IosImg"]})))):null)))};Object.defineProperty(t,"watchers",{get:function(){return{item:["composeItems"]}},enumerable:false,configurable:true});return t}());c.style=a}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as s,a as i,g as n}from"./p-
|
|
1
|
+
import{r as t,c as e,h as s,a as i,g as n}from"./p-5a55d3ef.js";import{v as l}from"./p-d3d7fec8.js";const a=class{constructor(s){t(this,s),this.allFormValues=e(this,"allFormValues",7),this._buttonValueName=null,this._firstDropdownValueName=null,this._secondDropdownValueName=null,this._inputValueName=null,this._dateValueName=null,this._defaultRow={id:this.generateUniqueId(),buttons:[],firstDropdown:[],secondDropdown:[],input:"",dates:"",dateRange:{days:[],startDate:"",endDate:""}},this.dropdownData=null,this.languageCode=null,this.label=null,this.firstDropdownLabel=null,this.secondDropdownLabel=null,this.dropdownPlaceholder=null,this.addRowText=null,this.inputFildLabel=null,this.inputFildPlaceholder=null,this.dateButtonText=null,this.datePlaceholder=null,this.dateDaysFromToday=null,this.allowMultipleRows=!1,this.allowMultipleDates=!1,this.startDateLabel=null,this.endDateLabel=null,this.multiDateHelperText=null,this.generateDatesButtonText=null,this.saveDateButtonText=null,this.noDatesText=null,this.yearsToAddToEndDate=null,this.rowCount=null,this.rowData=null,this.formValues=null}componentWillLoad(){var t,e,s,i,n;this.setDaysArr(),this.formValues=[],this.rowData=[this._defaultRow],this.rowCount=this.rowData.length,this._buttonValueName=(null===(t=this.label)||void 0===t?void 0:t.length)?this.label:"value0",this._firstDropdownValueName=(null===(e=this.firstDropdownLabel)||void 0===e?void 0:e.length)?this.firstDropdownLabel:"value1",this._secondDropdownValueName=(null===(s=this.secondDropdownLabel)||void 0===s?void 0:s.length)?this.secondDropdownLabel:"value2",this._inputValueName=(null===(i=this.inputFildLabel)||void 0===i?void 0:i.length)?this.inputFildLabel:"value3",this._dateValueName=(null===(n=this.dateButtonText)||void 0===n?void 0:n.length)?this.dateButtonText:"value4"}componentDidLoad(){}emittValuesIfValid(){if(this.formValues=[],this.rowData.forEach((t=>{const e={row:[]},s=t.buttons.find((t=>!0===t.selected));s&&e.row.push({name:this._buttonValueName,value:s.caption});const i=t.firstDropdown.find((t=>!0===t.selected));i&&e.row.push({name:this._firstDropdownValueName,value:i.caption});const n=t.secondDropdown.find((t=>!0===t.selected));n&&e.row.push({name:this._secondDropdownValueName,value:n.caption});const l=t.input;(null==l?void 0:l.length)&&e.row.push({name:this._inputValueName,value:l});const a=t.dates;(null==a?void 0:a.length)&&e.row.push({name:this._dateValueName,value:a}),5===e.row.length&&this.formValues.push(e)})),this.formValues.length===this.rowData.length){const t=JSON.stringify(this.formValues);this.allFormValues.emit(t)}else this.allFormValues.emit("")}predefinedValueChange(t){const e=this.rowData.findIndex((e=>e.id===t.detail.id)),s=t.detail;this.rowData[e]=Object.assign(Object.assign({},this.rowData[e]),{buttons:s.buttons,firstDropdown:s.firstDropdown,secondDropdown:s.secondDropdown,input:s.input,dates:s.dates,dateRange:s.dateRange}),this.emittValuesIfValid()}deleteRowEvent(t){const e=this.rowData.findIndex((e=>e.id===t.detail));this.rowData.splice(e,1),this.rowData=[...this.rowData],this.rowCount=this.rowData.length,this.emittValuesIfValid()}generateUniqueId(){return l()}addRow(){const t=this._defaultRow;t.id=this.generateUniqueId(),this.rowData=[...this.rowData,t],this.rowCount=this.rowData.length}setDaysArr(){switch(this.languageCode.toLowerCase()){case"en":default:this._defaultRow.dateRange.days=[{caption:"Monday",value:"1",selected:!1},{caption:"Tuesday",value:"2",selected:!1},{caption:"Wednesday",value:"3",selected:!1},{caption:"Thursday",value:"4",selected:!1},{caption:"Friday",value:"5",selected:!1}];break;case"sv":this._defaultRow.dateRange.days=[{caption:"Måndag",value:"1",selected:!1},{caption:"Tisdag",value:"2",selected:!1},{caption:"Onsdag",value:"3",selected:!1},{caption:"Torsdag",value:"4",selected:!1},{caption:"Fredag",value:"5",selected:!1}];break;case"da":case"no":this._defaultRow.dateRange.days=[{caption:"Mandag",value:"1",selected:!1},{caption:"Tirsdag",value:"2",selected:!1},{caption:"Onsdag",value:"3",selected:!1},{caption:"Torsdag",value:"4",selected:!1},{caption:"Fredag",value:"5",selected:!1}];break;case"fi":this._defaultRow.dateRange.days=[{caption:"Maanantai",value:"1",selected:!1},{caption:"Tiistai",value:"2",selected:!1},{caption:"Keskiviikko",value:"3",selected:!1},{caption:"Torstai",value:"4",selected:!1},{caption:"Perjantai",value:"5",selected:!1}]}}render(){var t;return s(i,null,null===(t=this.rowData)||void 0===t?void 0:t.map(((t,e)=>s("div",{class:"generated-row-"+e,id:"generated-row-connected-dropdown-"+e},s("pn-multi-row-connected-dropdown-row",{"dropdown-data":this.dropdownData,"language-code":this.languageCode,label:this.label,"first-dropdown-label":this.firstDropdownLabel,"second-dropdown-label":this.secondDropdownLabel,"dropdown-placeholder":this.dropdownPlaceholder,"add-row-text":this.addRowText,"input-fild-label":this.inputFildLabel,"input-fild-placeholder":this.inputFildPlaceholder,"date-button-text":this.dateButtonText,"date-placeholder":this.datePlaceholder,"date-days-from-today":this.dateDaysFromToday,"allow-multiple-dates":this.allowMultipleDates,"start-date-label":this.startDateLabel,"end-date-label":this.endDateLabel,"multi-date-helper-text":this.multiDateHelperText,"generate-dates-button-text":this.generateDatesButtonText,"save-date-button-text":this.saveDateButtonText,"no-dates-text":this.noDatesText,index:e,"predefined-value":JSON.stringify(t),"years-to-add-to-end-date":this.yearsToAddToEndDate})))),this.allowMultipleRows?s("div",{class:"connected-dropdown__row"},s("pn-button",{"icon-only":!this.addRowText,"left-icon":"true","aria-label":"Add",icon:"plus",appearance:"light",variant:"borderless",class:"connected-dropdown__button-right",onClick:()=>{this.addRow()}},this.addRowText)):null)}get hostElement(){return n(this)}};a.style="pn-multi-row-connected-dropdown{gap:1rem}pn-multi-row-connected-dropdown .connected-dropdown__row{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;gap:1rem;margin-bottom:1rem;-ms-flex-pack:justify;justify-content:space-between}pn-multi-row-connected-dropdown .connected-dropdown__row__no-margin{margin:0}pn-multi-row-connected-dropdown .connected-dropdown__button-right{margin-left:auto}";export{a as pn_multi_row_connected_dropdown}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as t,h as n,a as r,g as e}from"./p-
|
|
1
|
+
import{r as t,h as n,a as r,g as e}from"./p-5a55d3ef.js";import{g as i,c as a,a as o}from"./p-814af281.js";
|
|
2
2
|
//! moment.js
|
|
3
3
|
//! version : 2.29.4
|
|
4
4
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-626a68dc.system.js","./p-296637c0.system.js"],(function(t){"use strict";var e,n,i,s,r,o;return{setters:[function(t){e=t.r;n=t.c;i=t.h;s=t.a;r=t.g},function(t){o=t.d}],execute:function(){var u="pn-dropdown-with-multi-input-rows-row .input-element-row{display:-ms-flexbox;display:flex;gap:1rem;margin-bottom:1rem}pn-dropdown-with-multi-input-rows-row .input-element-row .input-container{width:30%}pn-dropdown-with-multi-input-rows-row .input-element-row .input-container pn-marketweb-input .input-container{width:100%}pn-dropdown-with-multi-input-rows-row .input-element-row .input-container pn-date-picker{width:100%}pn-dropdown-with-multi-input-rows-row .input-element-row .input-container .input-element-message-container{margin-top:0.3rem}pn-dropdown-with-multi-input-rows-row .input-element-row .input-container .input-element-message-container__error{color:red;line-height:1}pn-dropdown-with-multi-input-rows-row .input-element-row .input-container .input-element-message-container__warning{line-height:1}pn-dropdown-with-multi-input-rows-row .delete-button-contianer{margin-top:0.6rem}";var l=t("pn_dropdown_with_multi_input_rows_row",function(){function t(t){e(this,t);this.rowValueChange=n(this,"rowValueChange",7);this.deleteRowEvent=n(this,"deleteRowEvent",7);this.firstInputChange=n(this,"firstInputChange",7);this.secondInputChange=n(this,"secondInputChange",7);this.pnFirstInputField=null;this.pnSecondInputField=null;this.pnDatePicker=null;this.pnDeleteRowButton=null;this.languageCode=null;this.fristInputPlaceholder=null;this.firstInputMin=null;this.firstInputMax=null;this.firstInputWarning=null;this.firstInputWarningText=null;this.firstInputLowErrorText=null;this.firstInputHighErrorText=null;this.secondInputPlaceholder=null;this.secondInputMin=null;this.secondInputMax=null;this.secondInputWarning=null;this.secondInputWarningText=null;this.secondInputLowErrorText=null;this.secondInputHighErrorText=null;this.dateLabel=null;this.datePlaceholder=null;this.firstValidDate=null;this.lastValidDate=null;this.predefinedValue=null;this.rowIndex=null;this.minRowCount=null;this.showFirstInputWarning=false;this.showFirstInputLowError=false;this.showFirstInputHighError=false;this.showSecondInputWarning=false;this.showSecondInputLowError=false;this.showSecondInputHighError=false;this.firstInputValue="";this.secondInputValue="";this.dateValue=""}t.prototype.componentWillLoad=function(){this.getPredefinedValues();this.setInitialValues()};t.prototype.componentDidLoad=function(){this.addEventHandlers()};t.prototype.getPredefinedValues=function(){this._predefinedValue=JSON.parse(this.predefinedValue)};t.prototype.applyPredefinedValue=function(){var t,e;this.getPredefinedValues();this.setInitialValues();if((t=this.firstInputValue)===null||t===void 0?void 0:t.length){this.validateFirstInput(parseInt(this.firstInputValue))}if((e=this.secondInputValue)===null||e===void 0?void 0:e.length){this.validateSecondInput(parseInt(this.secondInputValue))}if(this.rowIndex>=this.minRowCount){this.pnDeleteRowButton.addEventListener("click",this.deleteRow.bind(this))}};t.prototype.setInitialValues=function(){this.firstInputValue=this._predefinedValue.firstInput;this.secondInputValue=this._predefinedValue.secondInput;this.dateValue=this._predefinedValue.date};t.prototype.addEventHandlers=function(){var t=o.debounce(this.emitRowValues.bind(this),500);this.pnFirstInputField.addEventListener("keyup",o.debounce(this.handleFirstInput.bind(this),500));this.pnSecondInputField.addEventListener("keyup",o.debounce(this.handleSecondInput.bind(this),500));this.pnDatePicker.addEventListener("dateselection",this.handleDateChange.bind(this));this.pnDatePicker.addEventListener("dateselection",t)};t.prototype.handleFirstInput=function(t){var e=t.target;var n=parseInt(e.value);if(n>0){this.firstInputValue=e.value;this.firstInputChange.emit({id:this._predefinedValue.id,firstInput:this.firstInputValue,secondInput:this.secondInputValue,date:this.dateValue})}this.validateFirstInput(n);this.emitRowValues()};t.prototype.handleSecondInput=function(t){var e=t.target;var n=parseInt(e.value);if(n>0){this.secondInputValue=e.value;this.secondInputChange.emit({id:this._predefinedValue.id,firstInput:this.firstInputValue,secondInput:this.secondInputValue,date:this.dateValue})}this.validateSecondInput(n);this.emitRowValues()};t.prototype.validateFirstInput=function(t){this.showFirstInputWarning=false;this.showFirstInputLowError=false;this.showFirstInputHighError=false;if(t<this.firstInputWarning){this.showFirstInputWarning=true}if(t<this.firstInputMin){this.showFirstInputWarning=false;this.showFirstInputLowError=true}if(t>this.firstInputMax){this.showFirstInputWarning=false;this.showFirstInputLowError=false;this.showFirstInputHighError=true}};t.prototype.validateSecondInput=function(t){this.showSecondInputWarning=false;this.showSecondInputLowError=false;this.showSecondInputHighError=false;if(t<this.secondInputWarning){this.showSecondInputWarning=true}if(t<this.secondInputMin){this.showSecondInputWarning=false;this.showSecondInputLowError=true}if(t>this.secondInputMax){this.showSecondInputWarning=false;this.showSecondInputLowError=false;this.showSecondInputHighError=true}};t.prototype.handleDateChange=function(t){var e=t.target;if(e===this.pnDatePicker){this.dateValue=t.detail}};t.prototype.emitRowValues=function(){this.rowValueChange.emit({id:this._predefinedValue.id,firstInput:this.firstInputValue,secondInput:this.secondInputValue,date:this.dateValue})};t.prototype.deleteRow=function(){this.deleteRowEvent.emit(this._predefinedValue.id)};t.prototype.render=function(){var t=this;var e;return i(s,null,i("div",{class:"input-element-row"},i("div",{class:"input-container"},i("pn-marketweb-input",{ref:function(e){return t.pnFirstInputField=e},type:"number",placeholder:this.fristInputPlaceholder,value:this.firstInputValue,min:"1"}),this.showFirstInputLowError||this.showFirstInputHighError||this.showFirstInputWarning?i("div",{class:"input-element-message-container"},this.showFirstInputLowError?i("div",{class:"input-element-message-container__error"},i("small",null,this.firstInputLowErrorText)):null,this.showFirstInputHighError?i("div",{class:"input-element-message-container__error"},i("small",null,this.firstInputHighErrorText)):null,this.showFirstInputWarning?i("div",{class:"input-element-message-container__warning"},i("small",null,this.firstInputWarningText)):null):null),i("div",{class:"input-container"},i("pn-marketweb-input",{ref:function(e){return t.pnSecondInputField=e},type:"number",placeholder:this.secondInputPlaceholder,value:this.secondInputValue,min:"1"}),this.showSecondInputLowError||this.showSecondInputHighError||this.showSecondInputWarning?i("div",{class:"input-element-message-container"},this.showSecondInputLowError?i("div",{class:"input-element-message-container__error"},i("small",null,this.secondInputLowErrorText)):null,this.showSecondInputHighError?i("div",{class:"input-element-message-container__error"},i("small",null,this.secondInputHighErrorText)):null,this.showSecondInputWarning?i("div",{class:"input-element-message-container__warning"},i("small",null,this.secondInputWarningText)):null):null),i("div",{class:"input-container"},i("pn-date-picker",{ref:function(e){return t.pnDatePicker=e},range:"false","disable-weekends":true,"min-date":this.firstValidDate,"max-date":this.lastValidDate,language:this.languageCode,placeholder:this.datePlaceholder,start:((e=this.dateValue)===null||e===void 0?void 0:e.length)?this.dateValue:null})),this.rowIndex>=this.minRowCount?i("div",{class:"delete-button-contianer"},i("pn-button",{ref:function(e){return t.pnDeleteRowButton=e},small:"true","icon-only":"true",icon:"minus",appearance:"warning",index:this.rowIndex,onClick:function(){t.deleteRow()}},"Delete")):null))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{predefinedValue:["applyPredefinedValue"]}},enumerable:false,configurable:true});return t}());l.style=u}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as a}from"./p-9a6ee73f.js";const{state:s}=a({loginManager:null});export{s}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as e}from"./p-9a6ee73f.js";const{state:t}=e({selectedUrl:"",selectedType:"",selectedProfile:"",i18n:{choosenCompanyText:"",toText:"",chooseCustomerNumberText:""}});export{t as s}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-626a68dc.system.js"],(function(e){"use strict";var n,r,i,l;return{setters:[function(e){n=e.r;r=e.h;i=e.a;l=e.g}],execute:function(){var t="pn-line-shape .pn-line-shape__container{display:-ms-flexbox;display:flex}pn-line-shape .pn-line-shape__line{border-style:solid;border-width:0.4rem;border-radius:1.6rem;border-color:#00A0D6}pn-line-shape .pn-line-shape__dot{width:0.8rem;border-style:solid;border-width:0.4rem;border-radius:1.6rem;height:0.8rem;border-color:#00A0D6}pn-line-shape[slot=horizontal-line] .pn-line-shape__container{-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:100%;gap:0.8rem;padding:2.4rem 0}pn-line-shape[slot=horizontal-line] .pn-line-shape__line{height:0.8rem;width:100%}pn-line-shape[slot=vertical-line] .pn-line-shape__container{height:100%;-ms-flex-direction:column;flex-direction:column;gap:0.8rem;padding:0.8rem 0.5rem}pn-line-shape[slot=vertical-line] .pn-line-shape__line{height:100%;width:0.8rem}";var s=e("pn_line_shape",function(){function e(e){n(this,e)}e.prototype.render=function(){return r(i,null,r("div",{class:"pn-line-shape__container"},r("canvas",{class:"pn-line-shape__line"}),r("canvas",{class:"pn-line-shape__dot"})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return l(this)},enumerable:false,configurable:true});return e}());s.style=t}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as n,h as i,a as s,g as o}from"./p-
|
|
1
|
+
import{r as t,c as n,h as i,a as s,g as o}from"./p-5a55d3ef.js";const e=class{constructor(i){t(this,i),this.search=n(this,"search",7),this.update=n(this,"update",7),this.disabled=!1,this.placeholder=null,this.inputid=null,this.name=null,this.autocomplete=null,this.list=null,this.value=null,this.label=null,this.loading=!1,this.button="",this.light=!1,this.suggestionObserver=null,this.hasClonedInput=!1,this.listSuggestion=[]}inputHandler(){this.update.emit(this.value)}emitSearch(t){("click"===t.type||"keydown"===t.type&&"Enter"===t.key)&&(t.preventDefault(),this.search.emit(this.value))}setVal(t){this.value=t.target.value}clearInput(){this.value="",this.update.emit(this.value),this.hostElement.querySelector("input").focus()}getClassNames(){let t="";return this.value&&(t+="searching "),this.loading&&(t+="loading "),["none","icon","icon-inline"].includes(this.button)&&(t+=`button-${this.button} `),t}componentWillRender(){this.cloneListContent(),this.autocompleteEventBinding()}onSuggestionUpdate(){this.cloneListContent()}autocompleteEventBinding(){if(null!==this.suggestionObserver||!this.list||!this.hostElement||!document.getElementById(this.list))return;const t=document.getElementById(this.list);this.suggestionObserver=new MutationObserver(this.onSuggestionUpdate.bind(this)),this.suggestionObserver.observe(t,{attributes:!0,childList:!0,subtree:!0})}cloneListContent(){if(!this.list||!this.hostElement||!document.getElementById(this.list))return;const t=[...document.getElementById(this.list).querySelectorAll("option")];this.listSuggestion=t.map((t=>t.hasAttribute("value")?t.getAttribute("value"):t.innerText))}render(){return i(s,null,i("div",{class:`input-container ${this.getClassNames()}`,"data-haslist":(null!==this.list)+""},i("input",{type:"search",value:this.value,id:this.inputid,name:this.name,placeholder:this.placeholder,disabled:this.disabled,autocomplete:this.autocomplete,list:this.list,onKeyDown:t=>this.emitSearch(t),onInput:t=>this.setVal(t)}),i("div",{class:"button-container"},("none"===this.button||"icon-inline"===this.button)&&i("button",{class:"search",tabindex:"icon-inline"===this.button?"0":"-1",onClick:t=>this.emitSearch(t),"aria-label":"search",title:"search"},i("pn-icon",{symbol:"search",color:"blue700"})),"icon-inline"!==this.button&&i("button",{class:"clear","aria-label":"clear",title:"clear search field",tabindex:!this.value||this.loading&&"none"===this.button?"-1":"0",onClick:()=>this.clearInput()},i("pn-icon",{symbol:"close-small",color:"blue700"})),"none"===this.button||"icon-inline"===this.button&&i("pn-spinner",null))),"none"!==this.button&&"icon-inline"!==this.button&&i("pn-button",{onClick:t=>this.emitSearch(t),loading:this.loading,icon:"search",appearance:this.light?"light":"dark","icon-only":"icon"===this.button},this.label),this.list&&i("datalist",{id:this.list},this.listSuggestion.map((t=>i("option",null,t)))))}get hostElement(){return o(this)}};e.style=":host{display:-ms-inline-flexbox;display:inline-flex}:host>pn-button{margin-left:0.35em}:host>pn-button button .pn-button-bg{-webkit-transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, left 0.2s, -webkit-box-shadow 0.1s, -webkit-transform 0.2s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, left 0.2s, -webkit-box-shadow 0.1s, -webkit-transform 0.2s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, left 0.2s, transform 0.2s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, left 0.2s, transform 0.2s, -webkit-box-shadow 0.1s, -webkit-transform 0.2s}:host>pn-button[data-loading=true] .pn-button-bg{left:0;-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, -webkit-box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, -webkit-box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s;transition:width 0.2s cubic-bezier(0.7, 0, 0.3, 1) 0.2s, background 0.1s, box-shadow 0.1s, -webkit-box-shadow 0.1s}:host>pn-button[data-loading=true] pn-spinner{left:0.75em}:host input{padding:0.75em;min-height:3em;font-size:1em;height:100%;font-weight:500;-webkit-font-smoothing:antialiased;outline:none;border-radius:3em;border:0.1rem solid #5E554A;-webkit-transition:border 0.15s, -webkit-box-shadow 0.15s;transition:border 0.15s, -webkit-box-shadow 0.15s;transition:box-shadow 0.15s, border 0.15s;transition:box-shadow 0.15s, border 0.15s, -webkit-box-shadow 0.15s;color:#000000;width:100%}:host input::-webkit-search-cancel-button{display:none}:host input::-webkit-input-placeholder{color:#969087;font-weight:normal}:host input::-moz-placeholder{color:#969087;font-weight:normal}:host input:-ms-input-placeholder{color:#969087;font-weight:normal}:host input::-ms-input-placeholder{color:#969087;font-weight:normal}:host input::placeholder{color:#969087;font-weight:normal}:host input:focus{border:0.1rem solid #005D92;-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92}:host input:hover{border:0.1rem solid #00A0D6}:host input:disabled{background:#F3F2F2;border:none}:host>.input-container{width:100%;position:relative}:host>.input-container .button-container{position:absolute;top:0;right:0;background:transparent;width:3em;height:100%;overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host[list] :host>.input-container .button-container{display:none}:host>.input-container button{position:absolute;left:50%;top:50%;-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%);background:#FFFFFF;border:none;color:#005D92;padding:0.3rem;margin:0;font-size:0.875em;border-radius:50%;outline:none;-webkit-transition:border 0.1s, background 0.2s, opacity 0.2s, -webkit-box-shadow 0.1s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:border 0.1s, background 0.2s, opacity 0.2s, -webkit-box-shadow 0.1s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:border 0.1s, background 0.2s, box-shadow 0.1s, transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s, opacity 0.2s;transition:border 0.1s, background 0.2s, box-shadow 0.1s, transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s, opacity 0.2s, -webkit-box-shadow 0.1s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;border:0.1rem solid transparent;-webkit-tap-highlight-color:transparent}:host>.input-container button.clear,:host>.input-container button.search{cursor:pointer}:host>.input-container button:focus{-webkit-box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.2rem #fff, 0 0 0 0.4rem #005D92}:host>.input-container button:hover,:host>.input-container button:focus{background:#E0F8FF}:host>.input-container button:active{background:#005D92}:host>.input-container button:active pn-icon svg,:host>.input-container button:active pn-icon svg path{fill:white}:host .searching button.search{-webkit-transform:translate(150%, -50%);transform:translate(150%, -50%)}:host .searching button.clear{-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}:host .button-none input,:host .button-icon-inline input{padding-right:3.3em}:host .button-none pn-spinner,:host .button-icon-inline pn-spinner{position:absolute;left:50%;top:50%;-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%);-webkit-transition:-webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:-webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s;transition:transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s, -webkit-transform cubic-bezier(0.7, 0, 0.3, 1) 0.2s}:host .button-none button.search,:host .button-icon-inline button.search{-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}:host .button-none.loading button,:host .button-icon-inline.loading button{-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%)}:host .button-none.loading pn-spinner,:host .button-icon-inline.loading pn-spinner{-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}:host .button-none.searching button.search{-webkit-transform:translate(100%, -50%);transform:translate(100%, -50%)}:host .button-icon>pn-button[data-loading=true] .pn-button-bg{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}";export{e as pn_marketweb_search}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,h as t,a as s}from"./p-
|
|
1
|
+
import{r as i,h as t,a as s}from"./p-5a55d3ef.js";import{t as o}from"./p-1694828e.js";const r=class{constructor(t){i(this,t),this.item=null,this.activeweight=null,this.shownitems=[],this.Usp1=void 0,this.Usp2=void 0,this.Usp3=void 0,this.description=[],this.showMeasurement=!1,this.showInternational=!1,this.selectedCountrycode="",this.market="",this.language="sv",this.weightText="",this.linkId="",this.shopLabel="",this.shopUrl="",this.shopId="",this.i18n=o[this.language]}componentWillLoad(){this.composeItems()}composeItems(){this.shownitems=[this.item]}getPriceString(i){var t,s;if(!i.productWeightGroupList)return null;const o=i.productWeightGroupList.findIndex((i=>i.item1===this.activeweight));let r="";if(this.showInternational&&this.selectedCountrycode&&this.selectedCountrycode!==this.market&&i.weightPriceCountryList){let s=i.weightPriceCountryList.filter((i=>i.item3.includes(this.selectedCountrycode.toUpperCase())));r=s?null===(t=s[o])||void 0===t?void 0:t.item2:""}else r=i.weightAndPriceList?null===(s=null==i?void 0:i.weightAndPriceList[o])||void 0===s?void 0:s.item2:"";return r?this.i18n.from+r:""}getProductLink(i,t){var s;if(i.productWeightGroupList){let o=null===(s=t[i.productWeightGroupList.findIndex((i=>i.item1===this.activeweight))])||void 0===s?void 0:s.item2,r=i.productLink?null==i?void 0:i.productLink:"";return r?r+(o?"?productId="+o:""):""}return null}getDeliveryInformation(i){var t,s;if(!this.showInternational||!i.deliveryDateInternationalInformation)return i.deliveryDateInformation;const o=null===(t=null==i?void 0:i.deliveryDateInternationalInformation)||void 0===t?void 0:t.find((i=>i.item1.toLowerCase()===this.selectedCountrycode.toLowerCase()));return null===(s=!(null==o?void 0:o.item2))||void 0===s||s?i.deliveryDateInformation:o.item2}getInsuranceAmountText(i){var t,s;if(!i.insuranceAmounts)return"";const o=null===(t=null==i?void 0:i.insuranceAmounts)||void 0===t?void 0:t.find((i=>i.item1.toLowerCase()===this.selectedCountrycode.toLowerCase()));return null===(s=!(null==o?void 0:o.item2))||void 0===s||s?"":o.item2}render(){return t(s,null,t("pn-proxio-productcard",null,t("pn-illustration",{slot:"illustrationmobile",illustration:this.item.proxioProduct.productIcon}),t("h2",{slot:"title"},this.item.proxioProduct.productTitle),t("pn-proxio-productcard-description",{slot:"description",heading:this.item.proxioProduct.productPreamble,highlight:this.getDeliveryInformation(this.item.proxioProduct),list:this.item.proxioProduct.productDescriptionBulletListItems}),t("div",{slot:"information"},t("pn-proxio-productcard-information",{label:this.i18n.labelMaxDimensions,information:this.item.proxioProduct.productPackageDimensionsList}),t("pn-proxio-productcard-information",{label:this.i18n.labelMaxDimensionsRoll,information:this.item.proxioProduct.productRollDimensionsList})),t("div",{slot:"bottomtags"},this.item.proxioProduct.usp1?t("pn-titletag",{color:"gray50"},this.item.proxioProduct.usp1):null,this.item.proxioProduct.usp2?t("pn-titletag",{color:"gray50"},this.item.proxioProduct.usp2):null,this.item.proxioProduct.usp3?t("pn-titletag",{color:"gray50"},this.item.proxioProduct.usp3):null),t("pn-illustration",{slot:"illustration",illustration:this.item.proxioProduct.productIcon}),t("div",{slot:"pricelink"},t("pn-proxio-productcard-pricelink",{price:this.getPriceString(this.item.proxioProduct),link:this.getProductLink(this.item.proxioProduct,this.item.proxioProduct.productWeightGroupList),linktext:this.item.proxioProduct.productLinkText}),this.item.relatedProxioProducts?this.item.relatedProxioProducts.map((i=>t("pn-proxio-productcard-pricelink",{price:this.getPriceString(i),link:i.productLink,linktext:i.productLinkText}))):null),this.getInsuranceAmountText(this.item.proxioProduct)?t("div",{slot:"insurance"},t("div",{class:"insurance-box"},this.getInsuranceAmountText(this.item.proxioProduct))):null))}static get watchers(){return{item:["composeItems"],activeweight:["getPriceString","getProductLink"]}}};r.style="pn-proxio-findprice-result [slot=insurance]{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}pn-proxio-findprice-result .insurance-box{padding:0.4rem 0.8rem;border-radius:0.8rem;background-color:#8EDDF9;text-align:center;font-size:1.2rem;font-weight:400;margin-bottom:2.4rem}";export{r as pn_proxio_findprice_result}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-0cb0317e.system.js"],(function(e){"use strict";var t;return{setters:[function(e){t=e.c}],execute:function(){var n=t({loginManager:null}),s=n.state,r=n.onChange;e("s",s)}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as c,a as n,g as a}from"./p-
|
|
1
|
+
import{r as t,h as c,a as n,g as a}from"./p-5a55d3ef.js";const e=class{constructor(c){t(this,c),this.heading=null,this.preamble=null}render(){return c(n,null,c("div",{class:"quick-cta__content"},c("h2",{class:"quick-cta__content__heading"},this.heading),c("p",{class:"quick-cta__content__preamble"},this.preamble),c("slot",{name:"quick-cta-cta"})))}get hostElement(){return a(this)}};e.style="pn-quick-cta{width:100%}pn-quick-cta .quick-cta__content{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;gap:2.4rem;width:100%}pn-quick-cta .quick-cta__content .quick-cta__content__heading{padding:0;margin:0;font-size:2.4rem;font-weight:500;color:#0D234B}@media screen and (max-width: 768px){pn-quick-cta .quick-cta__content .quick-cta__content__heading{display:none}}@media screen and (min-width: 1640px){pn-quick-cta .quick-cta__content .quick-cta__content__heading{font-size:2.8rem;font-weight:700}}pn-quick-cta .quick-cta__content .quick-cta__content__preamble{font-weight:400;font-size:1.6rem;line-height:140%;padding:0;margin:0;color:#2D2013}pn-quick-cta .quick-cta__content [slot=quick-cta-cta] a{white-space:nowrap}pn-quick-cta .quick-cta__content [slot=quick-cta-cta] a:hover{text-decoration:none}pn-spotlight[data-cta-color=business] .quick-cta__content__heading{color:#F06365}pn-spotlight[data-cta-color=business] .quick-cta__content__preamble{color:#EFFBFF}pn-spotlight[data-cta-color=private] .quick-cta__content__heading,pn-spotlight[data-cta-color=private] .quick-cta__content__preamble{color:#FFFFFF}pn-spotlight[data-cta-color=hybrid] .quick-cta__content__heading{color:#005D92}pn-spotlight[data-cta-color=hybrid] .quick-cta__content__preamble{color:#2D2013}";export{e as pn_quick_cta}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i,a as s}from"./p-
|
|
1
|
+
import{r as t,h as i,a as s}from"./p-5a55d3ef.js";import{s as l}from"./p-71a0acac.js";import{a as n,b as r,R as a}from"./p-0fe7d566.js";import"./p-9a6ee73f.js";const e=class{constructor(i){t(this,i),this.item=null,this.shownitems=[],this.Usp1=void 0,this.Usp2=void 0,this.Usp3=void 0,this.description=[],this.showMeasurement=!1,this.weightText="",this.linkId="",this.shopLabel="",this.shopUrl="",this.shopId=""}componentWillLoad(){this.composeItems()}composeItems(){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}this.item.description&&(this.description=this.item.description.split("#bullet").filter((t=>""!==t))),this.showMeasurement=null!==this.item.maxmått||null!==this.item.rulle,this.linkId=`${this.item.id}-${this.item.maxweight}-${this.item.sizecategory}-${this.item.name.toLocaleLowerCase().replace(/[^a-zA-Z0-9]/g,"")}`;var i="Yes"===this.item.ombudpurchase;this.shopLabel=i?l.i18n.ombudHeader:l.i18n.stampshopcta,this.shopUrl=i?l.market.servicePoint:n,this.shopId=i?"-servicepoint":"-stampshop"}render(){return i(s,null,i("pn-product-card",{"data-productid":this.item.id},i("pn-illustration",{slot:"illustration",illustration:this.item.illustration}),i("div",{slot:"title"},i("h2",null,this.item.infopagelink?i("a",{href:this.item.infopagelink,target:"_blank"},this.item.name):this.item.name),"Snabbast"===this.item.highestrankusp?i("pn-titletag",{slot:"Snabbast",icon:"bolt",color:"blue700"},this.item.highestrankusp):"Billigast"===this.item.highestrankusp?i("pn-titletag",{slot:"Billigast",icon:"box-label",color:"green700"},this.item.highestrankusp):null),i("div",{slot:"content"},i("div",{class:"content"},this.item.description?i("div",{class:"description"},this.description.map((t=>i("li",null,t)))):null,this.item.info?i("div",{class:"description"},this.item.info):null)),this.item.note?i("div",{slot:"note"},i("p",null,this.item.note)):null,this.item.additionalusp?i("div",{slot:"additionalUSP"},this.Usp1?i("span",null,this.Usp1):null,this.Usp2?i("span",null,this.Usp2):null,this.Usp3?i("span",null,this.Usp3):null):null,this.showMeasurement?i("pn-product-card-info",{paket:this.item.maxmått,rulle:this.item.rulle}):null,i("div",{slot:"cardprice"},this.item.pricesenddirect?i("pn-product-card-price",{slot:"sendDirectPrice",label:l.i18n.senddirectcta,amount:this.item.pricesenddirect+"",currency:l.market.currency,url:r,linkid:this.linkId+"-portal"}):null,this.item.pricestamps?"riktiga vykort"!==this.item.name.toLocaleLowerCase()?i("pn-product-card-price",{slot:"stampPrice",label:this.shopLabel,amount:this.item.pricestamps+"",currency:l.market.currency,url:this.shopUrl,linkid:this.linkId+this.shopId}):i("pn-product-card-price",{slot:"riktiga",label:l.i18n.realPostcard,amount:this.item.pricestamps+"",currency:l.market.currency,url:a.WebUrl,linkid:this.linkId+"-riktiga"}):null),i("div",{slot:"servicepoint"},this.item.showservicepointlink?i("a",{href:l.market.servicePoint,target:"_blank"},i("pn-icon",{symbol:"map-marker",color:"blue700"}),l.i18n.servicePointLink):null),i("div",{slot:"mobiledownload"},"riktiga vykort"===this.item.name.toLocaleLowerCase()?i("div",{id:"riktiga"},i("h4",null,l.i18n.realPostcardMobile),i("div",null,i("a",{href:a.AndroidAppUrl,target:"_blank"},i("img",{class:"riktigaAndroidImg",src:a.AndroidImg})),i("a",{href:a.IosAppUrl,target:"_blank"},i("img",{class:"riktigaAppleImg",src:a.IosImg})))):null)))}static get watchers(){return{item:["composeItems"]}}};e.style="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}";export{e as pn_find_price_result}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,a,g as o}from"./p-9dd478d9.js";const n=class{constructor(t){e(this,t),this.quote=null,this.name=null,this.occupation=null}render(){return t(a,null,t("div",{class:"pn-quote-card__section"},t("div",{class:"pn-quote-card__container"},t("slot",{name:"vertical-line"}," "),t("div",{class:"pn-quote-card__quote__container"},t("blockquote",{class:"pn-quote-card__quote"},t("svg",{width:"25",height:"18",viewBox:"0 0 25 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M10.483 0V7.391C10.483 13.095 6.752 16.961 1.5 18L0.505 15.849C2.937 14.932 4.5 12.211 4.5 10H0.5V0H10.483ZM24.5 0V7.391C24.5 13.095 20.752 16.962 15.5 18L14.504 15.849C16.937 14.932 18.5 12.211 18.5 10H14.517V0H24.5Z",fill:"white"})),this.quote),t("slot",{name:"horizontal-line"}),t("div",{class:"pn-quote-card__reference__container"},t("slot",{name:"illustration"}),t("div",{class:"pn-quote-card__reference"},t("span",{class:"pn-quote-card__reference__name"},this.name),t("span",{class:"pn-quote-card__reference__occupation"},this.occupation)))),t("div",{class:"pn-quote-card__large-photo"},t("slot",{name:"illustration-big"})))))}get hostElement(){return o(this)}};n.style="pn-quote-card .pn-quote-card__container{margin:0 auto;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;min-height:262px;padding:0 2.4rem}pn-quote-card .pn-quote-card__quote__container{padding:0 3.2rem}pn-quote-card .pn-quote-card__quote{position:relative;font-weight:400;font-size:2rem;line-height:140%;margin:0}pn-quote-card .pn-quote-card__quote svg{position:absolute;left:-3.2rem;top:0.2rem}pn-quote-card .pn-quote-card__reference__container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:start;justify-content:flex-start;gap:1.6rem;-ms-flex-align:center;align-items:center}pn-quote-card .pn-quote-card__reference__name{display:block;font-weight:400;font-size:2.4rem;line-height:2.9rem}pn-quote-card .pn-quote-card__reference__occupation{display:block;font-weight:400;font-size:1.4rem;line-height:1.7rem}pn-quote-card [slot=illustration]{padding:0}pn-quote-card [slot=illustration-big]{padding:0.8rem 0}pn-quote-card [slot=illustration],pn-quote-card [slot=illustration-big]{aspect-ratio:1/1}pn-quote-card [slot=illustration] picture,pn-quote-card [slot=illustration-big] picture{aspect-ratio:1/1}pn-quote-card [slot=illustration] picture img,pn-quote-card [slot=illustration-big] picture img{-webkit-clip-path:circle(50%);clip-path:circle(50%);max-width:unset}pn-quote-card [slot=horizontal-line],pn-quote-card [slot=vertical-line]{display:-ms-flexbox;display:flex}pn-quote-card[data-line-color=white] .pn-quote-card__section{background-color:#005D92;color:#FFFFFF}pn-quote-card[data-line-color=white] .pn-line-shape__line,pn-quote-card[data-line-color=white] .pn-line-shape__dot{border-color:#FFFFFF;background-color:#FFFFFF}pn-quote-card[data-line-color=white] .pn-quote-card__quote svg>path{fill:#FFFFFF}pn-quote-card[data-line-color=blue] .pn-quote-card__section{background-color:#FFFFFF}pn-quote-card[data-line-color=blue] .pn-line-shape__line,pn-quote-card[data-line-color=blue] .pn-line-shape__dot{border-color:#00A0D6;background-color:#00A0D6}pn-quote-card[data-line-color=blue] .pn-quote-card__quote svg>path{fill:#00A0D6}pn-quote-card[data-line-color=blue900] .pn-quote-card__section{background-color:#FFFFFF}pn-quote-card[data-line-color=blue900] .pn-line-shape__line,pn-quote-card[data-line-color=blue900] .pn-line-shape__dot{border-color:#0D234B;background-color:#0D234B}pn-quote-card[data-line-color=blue900] .pn-quote-card__quote svg>path{fill:#0D234B}pn-quote-card[data-card-style=standalone][data-line-color=white] .pn-quote-card__section{border-radius:2.4rem}pn-quote-card[data-card-style=standalone][data-line-color=white] .pn-quote-card__container{padding:2.4rem}pn-quote-card[data-card-style=standalone] .pn-quote-card__section{max-width:100%;margin:0 auto}@media screen and (min-width: 992px){pn-quote-card[data-card-style=standalone] .pn-quote-card__section{max-width:70%}}@media screen and (min-width: 1200px){pn-quote-card[data-card-style=standalone] .pn-quote-card__section{max-width:60%}}pn-quote-card[data-card-style=standalone] .pn-quote-card__container{min-height:unset;padding:0}@media screen and (min-width: 768px){pn-quote-card[data-card-style=standalone] .pn-quote-card__container{padding:0 2.4rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__quote__container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;gap:3.2rem;padding:2.4rem 1.6rem 1.6rem 1.6rem}@media screen and (min-width: 768px){pn-quote-card[data-card-style=standalone] .pn-quote-card__quote__container{padding:2.4rem 3.2rem 1.6rem 3.2rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__quote{font-size:1.6rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=standalone] .pn-quote-card__quote{font-size:2rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__quote svg{display:block;margin-bottom:0.8rem;position:relative;top:0;left:0}pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__container [slot=illustration] picture img{height:6rem;width:6rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__container [slot=illustration] picture img{height:9rem;width:9rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__name{font-size:1.6rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__name{font-size:2.4rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__occupation{font-size:1.2rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__occupation{font-size:1.4rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__large-photo{display:none}pn-quote-card[data-card-style=combo] .pn-quote-card__section{width:100%;margin:0 auto;padding-top:4rem;padding-bottom:4rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=combo] .pn-quote-card__section{padding-bottom:0}}@media screen and (min-width: 1200px){pn-quote-card[data-card-style=combo] .pn-quote-card__section{padding-top:10rem}}pn-quote-card[data-card-style=combo] .pn-quote-card__container{min-height:10rem;padding-bottom:0}@media screen and (min-width: 768px){pn-quote-card[data-card-style=combo] .pn-quote-card__container{max-width:90%;width:100%}}@media screen and (min-width: 992px){pn-quote-card[data-card-style=combo] .pn-quote-card__container{max-width:768px;width:100%}}@media screen and (min-width: 1200px){pn-quote-card[data-card-style=combo] .pn-quote-card__container{max-width:1140px;width:100%;padding:0 5.6rem}}@media screen and (min-width: 1640px){pn-quote-card[data-card-style=combo] .pn-quote-card__container{max-width:1440px;width:100%;padding:0 12rem}}pn-quote-card[data-card-style=combo] .pn-quote-card__quote__container{padding-bottom:0;padding-left:0;padding-right:0}@media screen and (min-width: 768px){pn-quote-card[data-card-style=combo] .pn-quote-card__quote__container{padding-left:2.4rem;padding-right:2.4rem}}pn-quote-card[data-card-style=combo] .pn-quote-card__quote{font-size:2rem;padding-left:2.4rem}pn-quote-card[data-card-style=combo] .pn-quote-card__quote svg{left:-0.8rem;top:0.2rem}@media screen and (min-width: 768px){pn-quote-card[data-card-style=combo] .pn-quote-card__quote{padding-left:4rem}pn-quote-card[data-card-style=combo] .pn-quote-card__quote svg{left:0}}@media screen and (min-width: 992px){pn-quote-card[data-card-style=combo] .pn-quote-card__quote{font-size:2.4rem}pn-quote-card[data-card-style=combo] .pn-quote-card__quote svg{left:0;top:0.4rem;scale:1.3}}@media screen and (min-width: 1200px){pn-quote-card[data-card-style=combo] .pn-quote-card__quote{padding-left:0;font-size:3.2rem}pn-quote-card[data-card-style=combo] .pn-quote-card__quote svg{left:-4.8rem;top:1rem;scale:1.4}}@media screen and (min-width: 1640px){pn-quote-card[data-card-style=combo] .pn-quote-card__quote{font-size:3.8rem}pn-quote-card[data-card-style=combo] .pn-quote-card__quote svg{left:-6.4rem;top:1.6rem;scale:1.8}}pn-quote-card[data-card-style=combo] .pn-quote-card__reference__container{-ms-flex-direction:row-reverse;flex-direction:row-reverse}pn-quote-card[data-card-style=combo] [slot=illustration] picture>img{max-width:6rem;max-height:6rem}@media screen and (min-width: 768px){pn-quote-card[data-card-style=combo] [slot=illustration] picture>img{max-width:10rem;max-height:10rem}}@media screen and (min-width: 1140px){pn-quote-card[data-card-style=combo] [slot=illustration]{display:none}}pn-quote-card[data-card-style=combo] .pn-quote-card__reference{text-align:right}pn-quote-card[data-card-style=combo] .pn-quote-card__reference__name{display:block;font-size:1.4rem}@media screen and (min-width: 768px){pn-quote-card[data-card-style=combo] .pn-quote-card__reference__name{font-size:1.6rem}}@media screen and (min-width: 992px){pn-quote-card[data-card-style=combo] .pn-quote-card__reference__name{font-size:2rem}}@media screen and (min-width: 1640px){pn-quote-card[data-card-style=combo] .pn-quote-card__reference__name{font-size:3.2rem;margin-bottom:1rem}}pn-quote-card[data-card-style=combo] .pn-quote-card__reference__occupation{display:block;font-size:1.2rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=combo] .pn-quote-card__reference__occupation{font-size:1.4rem}}@media screen and (min-width: 1640px){pn-quote-card[data-card-style=combo] .pn-quote-card__reference__occupation{font-size:1.6rem}}pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo{display:none}@media screen and (min-width: 1140px){pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo{display:block}pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo>[slot=illustration-big]{width:18rem;height:18rem}pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo>[slot=illustration-big] picture>img{width:18rem;height:18rem}}@media screen and (min-width: 1640px){pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo{display:block;width:24rem;height:24rem}pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo>[slot=illustration-big]{position:relative;z-index:1;width:24rem;height:24rem}pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo>[slot=illustration-big]>picture>img{width:24rem;height:24rem}}";export{n as pn_quote_card}
|
|
1
|
+
import{r as e,h as t,a,g as o}from"./p-5a55d3ef.js";const n=class{constructor(t){e(this,t),this.quote=null,this.name=null,this.occupation=null}render(){return t(a,null,t("div",{class:"pn-quote-card__section"},t("div",{class:"pn-quote-card__container"},t("slot",{name:"vertical-line"}," "),t("div",{class:"pn-quote-card__quote__container"},t("blockquote",{class:"pn-quote-card__quote"},t("svg",{width:"25",height:"18",viewBox:"0 0 25 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M10.483 0V7.391C10.483 13.095 6.752 16.961 1.5 18L0.505 15.849C2.937 14.932 4.5 12.211 4.5 10H0.5V0H10.483ZM24.5 0V7.391C24.5 13.095 20.752 16.962 15.5 18L14.504 15.849C16.937 14.932 18.5 12.211 18.5 10H14.517V0H24.5Z",fill:"white"})),this.quote),t("slot",{name:"horizontal-line"}),t("div",{class:"pn-quote-card__reference__container"},t("slot",{name:"illustration"}),t("div",{class:"pn-quote-card__reference"},t("span",{class:"pn-quote-card__reference__name"},this.name),t("span",{class:"pn-quote-card__reference__occupation"},this.occupation)))),t("div",{class:"pn-quote-card__large-photo"},t("slot",{name:"illustration-big"})))))}get hostElement(){return o(this)}};n.style="pn-quote-card .pn-quote-card__container{margin:0 auto;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;min-height:262px;padding:0 2.4rem}pn-quote-card .pn-quote-card__quote__container{padding:0 3.2rem}pn-quote-card .pn-quote-card__quote{position:relative;font-weight:400;font-size:2rem;line-height:140%;margin:0}pn-quote-card .pn-quote-card__quote svg{position:absolute;left:-3.2rem;top:0.2rem}pn-quote-card .pn-quote-card__reference__container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:start;justify-content:flex-start;gap:1.6rem;-ms-flex-align:center;align-items:center}pn-quote-card .pn-quote-card__reference__name{display:block;font-weight:400;font-size:2.4rem;line-height:2.9rem}pn-quote-card .pn-quote-card__reference__occupation{display:block;font-weight:400;font-size:1.4rem;line-height:1.7rem}pn-quote-card [slot=illustration]{padding:0}pn-quote-card [slot=illustration-big]{padding:0.8rem 0}pn-quote-card [slot=illustration],pn-quote-card [slot=illustration-big]{aspect-ratio:1/1}pn-quote-card [slot=illustration] picture,pn-quote-card [slot=illustration-big] picture{aspect-ratio:1/1}pn-quote-card [slot=illustration] picture img,pn-quote-card [slot=illustration-big] picture img{-webkit-clip-path:circle(50%);clip-path:circle(50%);max-width:unset}pn-quote-card [slot=horizontal-line],pn-quote-card [slot=vertical-line]{display:-ms-flexbox;display:flex}pn-quote-card[data-line-color=white] .pn-quote-card__section{background-color:#005D92;color:#FFFFFF}pn-quote-card[data-line-color=white] .pn-line-shape__line,pn-quote-card[data-line-color=white] .pn-line-shape__dot{border-color:#FFFFFF;background-color:#FFFFFF}pn-quote-card[data-line-color=white] .pn-quote-card__quote svg>path{fill:#FFFFFF}pn-quote-card[data-line-color=blue] .pn-quote-card__section{background-color:#FFFFFF}pn-quote-card[data-line-color=blue] .pn-line-shape__line,pn-quote-card[data-line-color=blue] .pn-line-shape__dot{border-color:#00A0D6;background-color:#00A0D6}pn-quote-card[data-line-color=blue] .pn-quote-card__quote svg>path{fill:#00A0D6}pn-quote-card[data-line-color=blue900] .pn-quote-card__section{background-color:#FFFFFF}pn-quote-card[data-line-color=blue900] .pn-line-shape__line,pn-quote-card[data-line-color=blue900] .pn-line-shape__dot{border-color:#0D234B;background-color:#0D234B}pn-quote-card[data-line-color=blue900] .pn-quote-card__quote svg>path{fill:#0D234B}pn-quote-card[data-card-style=standalone][data-line-color=white] .pn-quote-card__section{border-radius:2.4rem}pn-quote-card[data-card-style=standalone][data-line-color=white] .pn-quote-card__container{padding:2.4rem}pn-quote-card[data-card-style=standalone] .pn-quote-card__section{max-width:100%;margin:0 auto}@media screen and (min-width: 992px){pn-quote-card[data-card-style=standalone] .pn-quote-card__section{max-width:70%}}@media screen and (min-width: 1200px){pn-quote-card[data-card-style=standalone] .pn-quote-card__section{max-width:60%}}pn-quote-card[data-card-style=standalone] .pn-quote-card__container{min-height:unset;padding:0}@media screen and (min-width: 768px){pn-quote-card[data-card-style=standalone] .pn-quote-card__container{padding:0 2.4rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__quote__container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;gap:3.2rem;padding:2.4rem 1.6rem 1.6rem 1.6rem}@media screen and (min-width: 768px){pn-quote-card[data-card-style=standalone] .pn-quote-card__quote__container{padding:2.4rem 3.2rem 1.6rem 3.2rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__quote{font-size:1.6rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=standalone] .pn-quote-card__quote{font-size:2rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__quote svg{display:block;margin-bottom:0.8rem;position:relative;top:0;left:0}pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__container [slot=illustration] picture img{height:6rem;width:6rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__container [slot=illustration] picture img{height:9rem;width:9rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__name{font-size:1.6rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__name{font-size:2.4rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__occupation{font-size:1.2rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=standalone] .pn-quote-card__reference__occupation{font-size:1.4rem}}pn-quote-card[data-card-style=standalone] .pn-quote-card__large-photo{display:none}pn-quote-card[data-card-style=combo] .pn-quote-card__section{width:100%;margin:0 auto;padding-top:4rem;padding-bottom:4rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=combo] .pn-quote-card__section{padding-bottom:0}}@media screen and (min-width: 1200px){pn-quote-card[data-card-style=combo] .pn-quote-card__section{padding-top:10rem}}pn-quote-card[data-card-style=combo] .pn-quote-card__container{min-height:10rem;padding-bottom:0}@media screen and (min-width: 768px){pn-quote-card[data-card-style=combo] .pn-quote-card__container{max-width:90%;width:100%}}@media screen and (min-width: 992px){pn-quote-card[data-card-style=combo] .pn-quote-card__container{max-width:768px;width:100%}}@media screen and (min-width: 1200px){pn-quote-card[data-card-style=combo] .pn-quote-card__container{max-width:1140px;width:100%;padding:0 5.6rem}}@media screen and (min-width: 1640px){pn-quote-card[data-card-style=combo] .pn-quote-card__container{max-width:1440px;width:100%;padding:0 12rem}}pn-quote-card[data-card-style=combo] .pn-quote-card__quote__container{padding-bottom:0;padding-left:0;padding-right:0}@media screen and (min-width: 768px){pn-quote-card[data-card-style=combo] .pn-quote-card__quote__container{padding-left:2.4rem;padding-right:2.4rem}}pn-quote-card[data-card-style=combo] .pn-quote-card__quote{font-size:2rem;padding-left:2.4rem}pn-quote-card[data-card-style=combo] .pn-quote-card__quote svg{left:-0.8rem;top:0.2rem}@media screen and (min-width: 768px){pn-quote-card[data-card-style=combo] .pn-quote-card__quote{padding-left:4rem}pn-quote-card[data-card-style=combo] .pn-quote-card__quote svg{left:0}}@media screen and (min-width: 992px){pn-quote-card[data-card-style=combo] .pn-quote-card__quote{font-size:2.4rem}pn-quote-card[data-card-style=combo] .pn-quote-card__quote svg{left:0;top:0.4rem;scale:1.3}}@media screen and (min-width: 1200px){pn-quote-card[data-card-style=combo] .pn-quote-card__quote{padding-left:0;font-size:3.2rem}pn-quote-card[data-card-style=combo] .pn-quote-card__quote svg{left:-4.8rem;top:1rem;scale:1.4}}@media screen and (min-width: 1640px){pn-quote-card[data-card-style=combo] .pn-quote-card__quote{font-size:3.8rem}pn-quote-card[data-card-style=combo] .pn-quote-card__quote svg{left:-6.4rem;top:1.6rem;scale:1.8}}pn-quote-card[data-card-style=combo] .pn-quote-card__reference__container{-ms-flex-direction:row-reverse;flex-direction:row-reverse}pn-quote-card[data-card-style=combo] [slot=illustration] picture>img{max-width:6rem;max-height:6rem}@media screen and (min-width: 768px){pn-quote-card[data-card-style=combo] [slot=illustration] picture>img{max-width:10rem;max-height:10rem}}@media screen and (min-width: 1140px){pn-quote-card[data-card-style=combo] [slot=illustration]{display:none}}pn-quote-card[data-card-style=combo] .pn-quote-card__reference{text-align:right}pn-quote-card[data-card-style=combo] .pn-quote-card__reference__name{display:block;font-size:1.4rem}@media screen and (min-width: 768px){pn-quote-card[data-card-style=combo] .pn-quote-card__reference__name{font-size:1.6rem}}@media screen and (min-width: 992px){pn-quote-card[data-card-style=combo] .pn-quote-card__reference__name{font-size:2rem}}@media screen and (min-width: 1640px){pn-quote-card[data-card-style=combo] .pn-quote-card__reference__name{font-size:3.2rem;margin-bottom:1rem}}pn-quote-card[data-card-style=combo] .pn-quote-card__reference__occupation{display:block;font-size:1.2rem}@media screen and (min-width: 992px){pn-quote-card[data-card-style=combo] .pn-quote-card__reference__occupation{font-size:1.4rem}}@media screen and (min-width: 1640px){pn-quote-card[data-card-style=combo] .pn-quote-card__reference__occupation{font-size:1.6rem}}pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo{display:none}@media screen and (min-width: 1140px){pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo{display:block}pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo>[slot=illustration-big]{width:18rem;height:18rem}pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo>[slot=illustration-big] picture>img{width:18rem;height:18rem}}@media screen and (min-width: 1640px){pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo{display:block;width:24rem;height:24rem}pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo>[slot=illustration-big]{position:relative;z-index:1;width:24rem;height:24rem}pn-quote-card[data-card-style=combo] .pn-quote-card__large-photo>[slot=illustration-big]>picture>img{width:24rem;height:24rem}}";export{n as pn_quote_card}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-626a68dc.system.js","./p-a990da8b.system.js","./p-0cb0317e.system.js"],(function(t){"use strict";var e,n,i,s;return{setters:[function(t){e=t.r;n=t.h;i=t.a},function(t){s=t.s},function(){}],execute:function(){var r="";var o=t("pn_find_service_and_price_result",function(){function t(t){e(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 n(i,null,this.shownitems.map((function(e){return n("pn-product-card",null,n("pn-illustration",{slot:"illustration",illustration:e.illustration}),n("div",{slot:"content"},n("div",{class:"content"},n("h3",null,e.name),e.description?n("div",{class:"description"},e.description):null,e.info?n("div",{class:"description"},e.info):null)),e.maxweight?n("pn-product-tile-info",{label:s.i18n.maxweightlabel,text:t.weightText}):null,e.pricestamps?n("pn-product-tile-price",{slot:"price",label:s.i18n.stampshopcta,amount:e.pricestamps+"",currency:s.market.currency}):null,e.pricesenddirect?n("pn-product-tile-price",{slot:"price",label:s.i18n.senddirectcta,amount:e.pricesenddirect+"",currency:s.market.currency,url:"https://portal.postnord.com/skickadirekt/"}):null,e.note?n("small",{slot:"note"},n("p",null,e.note)):null)})))};Object.defineProperty(t,"watchers",{get:function(){return{item:["composeItems"]}},enumerable:false,configurable:true});return t}());o.style=r}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as s,a as i}from"./p-
|
|
1
|
+
import{r as t,h as s,a as i}from"./p-5a55d3ef.js";import{c as l}from"./p-9a6ee73f.js";import{s as e,a as r}from"./p-fd0d5f6c.js";const{state:a}=l({i18n:{maxweightlabel:"",weightlabel:"",maxmeasurementlabel:"",sizeheading:"",senddirectcta:"",stampshopcta:""},market:{currency:""}}),n=class{constructor(s){t(this,s),this.item=null,this.description=[],this.shownitems=[],this.showMeasurement=!1,this.weightText=""}componentWillLoad(){this.composeItems()}composeItems(){this.item.description&&(this.description=this.item.description.split("#bullet").filter((t=>""!==t))),this.showMeasurement=null!==this.item.maxmått||null!==this.item.rulle,this.shownitems=[this.item]}render(){return s(i,null,this.shownitems.map((t=>s("pn-product-card",{"data-productid":t.id},s("pn-illustration",{slot:"illustration",illustration:this.item.illustration}),s("div",{slot:"title"},s("h2",null,t.name," "),this.item.highestrankusp?s("pn-titletag","Billigast"===this.item.highestrankusp?{slot:"Billigast",icon:"box-label"}:{slot:"Snabbast",icon:"bolt",color:"blue700"},this.item.highestrankusp):null),s("div",{slot:"content"},s("div",{class:"content"},this.item.description?s("div",{class:"description"},this.description.map((t=>s("li",null,t)))):null,this.item.info?s("div",{class:"description"},this.item.info):null)),this.item.note?s("small",{slot:"note"},s("p",null,this.item.note)):null,this.item.additionalusp?s("div",{slot:"additionalUSP"}):null,this.showMeasurement?s("pn-product-card-info",{paket:this.item.maxmått,rulle:this.item.rulle}):null,s("div",{slot:"cardprice"},this.item.pricesenddirect?s("pn-product-card-price",{slot:"sendDirectPrice",label:a.i18n.senddirectcta,amount:this.item.pricesenddirect+"",currency:a.market.currency,url:e,service:this.item.name+"-portal"}):null,this.item.pricestamps?s("pn-product-card-price",{slot:"stampPrice",label:a.i18n.stampshopcta,amount:this.item.pricestamps+"",currency:a.market.currency,url:r,service:this.item.name+"-eshop"}):null)))))}static get watchers(){return{item:["composeItems"]}}};n.style="";export{n as pn_product_pricelist_result}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-626a68dc.system.js"],(function(n){"use strict";var t,e,l;return{setters:[function(n){t=n.r;e=n.h;l=n.a}],execute:function(){var i="pn-product-tile-info{-ms-flex-item-align:center;align-self:center}";var r=n("pn_product_tile_info",function(){function n(n){t(this,n);this.label=undefined;this.text=undefined;this.icon=undefined}n.prototype.render=function(){return e(l,null,this.label?e("p",null,e("small",null,this.label)):null,this.text?e("h3",null,this.text):null)};return n}());e("pn-icon",{symbol:"align-center",small:"false",color:"black"});r.style=i;var u="pn-product-tile-price{margin-top:1em;white-space:nowrap;text-align:right}pn-product-tile-price span{font-size:3em;font-size:clamp(2em, 6vw, 3em)}pn-product-tile-price span:last-child{display:inline-block;margin-left:0.2em}pn-product-tile-price+pn-product-tile-price{margin-left:1.5em}pn-product-tile-price pn-icon{display:inline-block;-ms-flex-item-align:center;align-self:center}pn-product-tile-price a{text-decoration:none;color:#005D92}pn-product-tile-price a h3{text-decoration:underline}";var c=n("pn_product_tile_price",function(){function n(n){t(this,n);this.label=undefined;this.amount=undefined;this.currency=undefined;this.url=undefined}n.prototype.render=function(){if(!this.amount){return}return this.url?e(l,null,e("h3",null,this.amount?e("span",null,this.amount):null,this.currency?e("span",null,this.currency):null),this.label?e("a",{href:this.url},e("pn-button",{small:"true",icon:"arrow-right"},this.label)):null):e(l,null,e("h3",null,this.amount?e("span",null,this.amount):null,this.currency?e("span",null,this.currency):null))};return n}());c.style=u}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{l(i.next(e))}catch(t){a(t)}}function s(e){try{l(i["throw"](e))}catch(t){a(t)}}function l(e){e.done?n(e.value):r(e.value).then(o,s)}l((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(s){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(n=0)),n)try{if(i=1,r&&(a=s[0]&2?r["return"]:s[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;if(r=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;r=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(l){s=[6,l];r=0}finally{i=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,n,i){function r(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function o(e){try{l(i.next(e))}catch(t){a(t)}}function s(e){try{l(i["throw"](e))}catch(t){a(t)}}function l(e){e.done?n(e.value):r(e.value).then(o,s)}l((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,r,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return l([e,t])}}function l(s){if(i)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(n=0)),n)try{if(i=1,r&&(a=s[0]&2?r["return"]:s[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,s[1])).done)return a;if(r=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;r=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(l){s=[6,l];r=0}finally{i=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-626a68dc.system.js"],(function(e){"use strict";var t,n,i,r,a;return{setters:[function(e){t=e.r;n=e.c;i=e.h;r=e.a;a=e.g}],execute:function(){var o="pn-date-and-time label{color:#5E554A;font-size:1.4rem}pn-date-and-time .time-separator{margin-top:auto;margin-bottom:auto}pn-date-and-time .date-and-time-group{margin-bottom:1rem}pn-date-and-time .date-and-time-row{display:-ms-flexbox;display:flex;gap:1rem}pn-date-and-time .helper-text{margin-top:0.2rem;color:#5E554A;display:block}pn-date-and-time .error-message{color:#a70707}";var s=e("pn_date_and_time",function(){function e(e){t(this,e);this.dateandtimerange=n(this,"dateandtimerange",7);this.pnDatePicker=null;this.pnTimeFromHourDropdown=null;this.pnTimeFromMinuteDropdown=null;this.pnTimeToHourDropdown=null;this.pnTimeToMinuteDropdown=null;this.languageCode=null;this.dateAndTimeLabel="";this.dateDaysFromToday=0;this.validTimeRangeMinutes=0;this.errorMessage="";this.dateHelperText="";this.timeHelperText="";this.disableWeekends=false;this.datePlacehodler="";this.language=null;this.hourArr=null;this.minuteArr=null;this.formValue=null;this.invalidTimespan=false;this.selectedDate=null;this.selectedFromHour=null;this.selectedFromMin=null;this.selectedToHour=null;this.selectedToMin=null;this.firstValidDateString="";this.lastValidDateString=""}e.prototype.componentWillLoad=function(){this.setInitialValues()};e.prototype.componentDidLoad=function(){this.setDefaultHiddenValue();this.addEventHandlers()};e.prototype.setInitialValues=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.setLangugaeCode();this.setFirstValidDate();this.hourArr=this.getNumbersAsStringArr(6,22,1);this.minuteArr=this.getNumbersAsStringArr(0,50,10);return[2]}))}))};e.prototype.setFirstValidDate=function(){var e;var t=new Date;t.setDate((e=t.getDate()+this.dateDaysFromToday)!==null&&e!==void 0?e:0);var n=t.getFullYear();var i=(t.getMonth()+1).toString().padStart(2,"0");var r=t.getDate().toString().padStart(2,"0");var a=n+2;this.firstValidDateString="".concat(n.toString(),"-").concat(i,"-").concat(r);this.lastValidDateString="".concat(a.toString(),"-").concat(i,"-").concat(r)};e.prototype.setLangugaeCode=function(){if(typeof this.languageCode==="string"&&this.languageCode.trim()===""){this.language=document.querySelector("html").lang}else{this.language=this.languageCode}};e.prototype.setDefaultHiddenValue=function(){this.selectedFromHour=parseInt(this.hourArr[8]);this.selectedFromMin=0;this.selectedToHour=parseInt(this.hourArr[12]);this.selectedToMin=0;this.updateHiddenValue()};e.prototype.addEventHandlers=function(){this.pnDatePicker.addEventListener("dateselection",this.handleChange.bind(this));this.pnTimeFromHourDropdown.addEventListener("selectchange",this.handleChange.bind(this));this.pnTimeFromMinuteDropdown.addEventListener("selectchange",this.handleChange.bind(this));this.pnTimeToHourDropdown.addEventListener("selectchange",this.handleChange.bind(this));this.pnTimeToMinuteDropdown.addEventListener("selectchange",this.handleChange.bind(this))};e.prototype.handleChange=function(e){var t=e.target;if(t===this.pnDatePicker){this.selectedDate=e.detail}if(t===this.pnTimeFromHourDropdown||t===this.pnTimeFromMinuteDropdown||t===this.pnTimeToHourDropdown||t===this.pnTimeToMinuteDropdown){this.handleTimeChange()}this.updateHiddenValue()};e.prototype.handleTimeChange=function(){var e,t,n,i;var r=(e=this.pnTimeFromHourDropdown.querySelector(".current-selection .pn-option-content"))===null||e===void 0?void 0:e.textContent;var a=(t=this.pnTimeFromMinuteDropdown.querySelector(".current-selection .pn-option-content"))===null||t===void 0?void 0:t.textContent;var o=(n=this.pnTimeToHourDropdown.querySelector(".current-selection .pn-option-content"))===null||n===void 0?void 0:n.textContent;var s=(i=this.pnTimeToMinuteDropdown.querySelector(".current-selection .pn-option-content"))===null||i===void 0?void 0:i.textContent;this.selectedFromHour=parseInt(r);this.selectedFromMin=parseInt(a);this.selectedToHour=parseInt(o);this.selectedToMin=parseInt(s)};e.prototype.updateHiddenValue=function(){var e=new Date;var t=new Date(e.getFullYear(),e.getMonth(),e.getDate(),this.selectedFromHour,this.selectedFromMin,0,0);var n=new Date(e.getFullYear(),e.getMonth(),e.getDate(),this.selectedToHour,this.selectedToMin,0,0);this.validateTimeRange(t.getTime(),n.getTime());if(this.invalidTimespan||!this.selectedDate){this.formValue=""}else{var i=this.selectedFromMin.toString().padStart(2,"0");var r=this.selectedToMin.toString().padStart(2,"0");this.formValue="".concat(this.selectedDate,", ").concat(this.selectedFromHour,":").concat(i,"-").concat(this.selectedToHour,":").concat(r)}this.dateandtimerange.emit(this.formValue)};e.prototype.validateTimeRange=function(e,t){var n=(t-e)/1e3;n/=60;this.invalidTimespan=n<this.validTimeRangeMinutes?true:false};e.prototype.getNumbersAsStringArr=function(e,t,n){var i=Array.from({length:(t-e)/n+1},(function(t,i){return e+i*n}));var r=[];i.forEach((function(e){var t=e.toString().padStart(2,"0");r.push(t)}));return r};e.prototype.removePnOptionSelected=function(){var e=this.hostElement.querySelectorAll("pn-option");e.forEach((function(e){e.removeAttribute("selected")}))};e.prototype.render=function(){var e=this;var t,n,a,o;return i(r,null,i("div",{class:"date-and-time-group"},this.dateAndTimeLabel?i("div",{class:"date-and-time-row"},i("label",null,this.dateAndTimeLabel)):null,i("div",{class:"date-and-time-row"},i("pn-date-picker",{ref:function(t){return e.pnDatePicker=t},range:"false","disable-weekends":this.disableWeekends,"min-date":this.firstValidDateString,"max-date":this.lastValidDateString,language:this.language,placeholder:this.datePlacehodler})),this.dateHelperText?i("small",{class:"date-and-time-row helper-text"},this.dateHelperText):null),i("div",{class:"date-and-time-group"},i("div",{class:"date-and-time-row"},i("pn-select",{ref:function(t){return e.pnTimeFromHourDropdown=t},name:"date-and-time-from-houre",placeholder:this.hourArr[8],class:"date-and-time-dropdown--time",invalid:this.invalidTimespan},(t=this.hourArr)===null||t===void 0?void 0:t.map((function(e){return i("pn-option",null,e)}))),i("pn-select",{ref:function(t){return e.pnTimeFromMinuteDropdown=t},name:"date-and-time-from-minute",placeholder:this.minuteArr[0],class:"date-and-time-dropdown--time",invalid:this.invalidTimespan},(n=this.minuteArr)===null||n===void 0?void 0:n.map((function(e){return i("pn-option",null,e)}))),i("div",{class:"time-separator"},i("span",null,"-")),i("pn-select",{ref:function(t){return e.pnTimeToHourDropdown=t},name:"date-and-time-to-hour",placeholder:this.hourArr[12],class:"date-and-time-dropdown--time",invalid:this.invalidTimespan},(a=this.hourArr)===null||a===void 0?void 0:a.map((function(e){return i("pn-option",null,e)}))),i("pn-select",{ref:function(t){return e.pnTimeToMinuteDropdown=t},name:"date-and-time-to-minute",placeholder:this.minuteArr[0],class:"date-and-time-dropdown--time",invalid:this.invalidTimespan},(o=this.minuteArr)===null||o===void 0?void 0:o.map((function(e){return i("pn-option",null,e)})))),this.timeHelperText?i("small",{class:"date-and-time-row helper-text"},this.timeHelperText):null,this.invalidTimespan&&this.errorMessage?i("small",{class:"date-and-time-row error-message"},i("pn-icon",{symbol:"alert-info-circle",small:"false",color:"warning"}),this.errorMessage):null))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());s.style=o}}}));
|