@postnord/pn-marketweb-components 4.0.2 → 4.0.4-test
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{MarketWebContextService-0fdc43c8.js → FetchHelper-e951824f.js} +82 -1
- package/dist/cjs/FetchHelper-e951824f.js.map +1 -0
- package/dist/cjs/{index-4067c6a5.js → index-1d8c9211.js} +2 -2
- package/dist/cjs/{index-4067c6a5.js.map → index-1d8c9211.js.map} +1 -1
- package/dist/cjs/{index-b02670c2.js → index-34e1c673.js} +4 -53
- package/dist/cjs/index-34e1c673.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/pn-address-autofill.cjs.entry.js +75 -51
- package/dist/cjs/pn-address-autofill.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-animated-tile.cjs.entry.js +2 -2
- package/dist/cjs/pn-animated-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-app-banner.cjs.entry.js +3 -3
- package/dist/cjs/pn-app-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-bonus-progressbar-level.cjs.entry.js +2 -2
- package/dist/cjs/pn-bonus-progressbar-level.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-bonus-progressbar.cjs.entry.js +2 -2
- package/dist/cjs/pn-bonus-progressbar.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-breakpoints.cjs.entry.js +3 -3
- package/dist/cjs/pn-breakpoints.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-chart.cjs.entry.js +2 -2
- package/dist/cjs/pn-chart.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-charts-card.cjs.entry.js +2 -2
- package/dist/cjs/pn-charts-card.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-choice-button.cjs.entry.js +2 -2
- package/dist/cjs/pn-choice-button.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-cta-block.cjs.entry.js +2 -2
- package/dist/cjs/pn-cta-block.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-customernumber-selector-option.cjs.entry.js +3 -3
- package/dist/cjs/pn-customernumber-selector-option.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-customernumber-selector.cjs.entry.js +9 -4
- package/dist/cjs/pn-customernumber-selector.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-date-and-time.cjs.entry.js +2 -2
- package/dist/cjs/pn-date-and-time.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-dropdown-choice-adds-row.cjs.entry.js +8 -20
- package/dist/cjs/pn-dropdown-choice-adds-row.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js +2 -2
- package/dist/cjs/pn-dropdown-with-multi-input-rows-row.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js +2 -2
- package/dist/cjs/pn-dropdown-with-multi-input-rows.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-filter-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/pn-filter-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-find-price-result.cjs.entry.js +5 -5
- package/dist/cjs/pn-find-price-result.cjs.entry.js.map +1 -1
- package/dist/cjs/{pn-find-price-store-0c8256c7.js → pn-find-price-store-051e931b.js} +2 -2
- package/dist/cjs/{pn-find-price-store-0c8256c7.js.map → pn-find-price-store-051e931b.js.map} +1 -1
- package/dist/cjs/pn-find-price.cjs.entry.js +6 -6
- package/dist/cjs/pn-find-price.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-find-service-and-price-result.cjs.entry.js +5 -5
- package/dist/cjs/pn-find-service-and-price-result.cjs.entry.js.map +1 -1
- package/dist/cjs/{pn-find-service-and-price-store-13f060e0.js → pn-find-service-and-price-store-3cec3d31.js} +2 -2
- package/dist/cjs/{pn-find-service-and-price-store-13f060e0.js.map → pn-find-service-and-price-store-3cec3d31.js.map} +1 -1
- package/dist/cjs/pn-find-service-and-price.cjs.entry.js +5 -5
- package/dist/cjs/pn-find-service-and-price.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-hero-block-international.cjs.entry.js +3 -3
- package/dist/cjs/pn-hero-block-international.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-language-selector_9.cjs.entry.js +27 -25
- package/dist/cjs/pn-language-selector_9.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-line-shape.cjs.entry.js +2 -2
- package/dist/cjs/pn-line-shape.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-link-list.cjs.entry.js +3 -3
- package/dist/cjs/pn-link-list.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-mainnav-link.cjs.entry.js +5 -5
- package/dist/cjs/pn-mainnav-link.cjs.entry.js.map +1 -1
- package/dist/cjs/{pn-mainnav-store-5732f3ca.js → pn-mainnav-store-1a8153fd.js} +2 -2
- package/dist/cjs/{pn-mainnav-store-5732f3ca.js.map → pn-mainnav-store-1a8153fd.js.map} +1 -1
- package/dist/cjs/pn-market-web-components.cjs.js +2 -2
- package/dist/cjs/pn-marketweb-icon.cjs.entry.js +3 -3
- package/dist/cjs/pn-marketweb-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-marketweb-input.cjs.entry.js +6 -4
- package/dist/cjs/pn-marketweb-input.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-marketweb-search.cjs.entry.js +5 -6
- package/dist/cjs/pn-marketweb-search.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-marketweb-sitefooter.cjs.entry.js +10 -7
- package/dist/cjs/pn-marketweb-sitefooter.cjs.entry.js.map +1 -1
- package/dist/cjs/{pn-marketweb-siteheader-login-button_4.cjs.entry.js → pn-marketweb-siteheader-login-button_5.cjs.entry.js} +26 -8
- package/dist/cjs/pn-marketweb-siteheader-login-button_5.cjs.entry.js.map +1 -0
- package/dist/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js +4 -4
- package/dist/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js.map +1 -1
- package/dist/cjs/{pn-marketweb-siteheader-store-ce9d9ac7.js → pn-marketweb-siteheader-store-75853609.js} +2 -2
- package/dist/cjs/{pn-marketweb-siteheader-store-ce9d9ac7.js.map → pn-marketweb-siteheader-store-75853609.js.map} +1 -1
- package/dist/cjs/pn-marketweb-siteheader.cjs.entry.js +10 -11
- package/dist/cjs/pn-marketweb-siteheader.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-media-block.cjs.entry.js +6 -6
- package/dist/cjs/pn-media-block.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js +2 -2
- package/dist/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-multi-row-connected-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/pn-multi-row-connected-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-multiple-input.cjs.entry.js +1 -1
- package/dist/cjs/pn-parcel-tracker.cjs.entry.js +2 -2
- package/dist/cjs/pn-parcel-tracker.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-pex-pricefinder.cjs.entry.js +3 -3
- package/dist/cjs/pn-pex-pricefinder.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-play-on-scroll.cjs.entry.js +1 -1
- package/dist/cjs/pn-product-card_3.cjs.entry.js +5 -5
- package/dist/cjs/pn-product-card_3.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-product-pricelist-result.cjs.entry.js +4 -4
- package/dist/cjs/pn-product-pricelist-result.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-product-pricelist.cjs.entry.js +6 -6
- package/dist/cjs/pn-product-pricelist.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-product-tile-info_2.cjs.entry.js +4 -4
- package/dist/cjs/pn-product-tile-info_2.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-product-tile.cjs.entry.js +3 -3
- package/dist/cjs/pn-product-tile.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-profile-modal-customernumber.cjs.entry.js +3 -3
- package/dist/cjs/pn-profile-modal-customernumber.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-profile-modal-profile.cjs.entry.js +6 -6
- package/dist/cjs/pn-profile-modal-profile.cjs.entry.js.map +1 -1
- package/dist/cjs/{pn-profile-modal-store-16f8092a.js → pn-profile-modal-store-3b6fea24.js} +2 -2
- package/dist/cjs/{pn-profile-modal-store-16f8092a.js.map → pn-profile-modal-store-3b6fea24.js.map} +1 -1
- package/dist/cjs/pn-profile-modal-type.cjs.entry.js +5 -5
- package/dist/cjs/pn-profile-modal-type.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-profile-modal.cjs.entry.js +5 -5
- package/dist/cjs/pn-profile-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-profile-selector-option.cjs.entry.js +3 -3
- package/dist/cjs/pn-profile-selector-option.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-profile-selector.cjs.entry.js +3 -3
- package/dist/cjs/pn-profile-selector.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-proxio-findprice-result.cjs.entry.js +3 -3
- package/dist/cjs/pn-proxio-findprice-result.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-proxio-findprice.cjs.entry.js +8 -9
- package/dist/cjs/pn-proxio-findprice.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-proxio-pricegroup.cjs.entry.js +5 -6
- package/dist/cjs/pn-proxio-pricegroup.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-proxio-productcard_4.cjs.entry.js +8 -8
- package/dist/cjs/pn-proxio-productcard_4.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-quick-cta.cjs.entry.js +2 -2
- package/dist/cjs/pn-quick-cta.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-quote-card.cjs.entry.js +2 -2
- package/dist/cjs/pn-quote-card.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-scroll_2.cjs.entry.js +2 -2
- package/dist/cjs/pn-scroll_2.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-share-item.cjs.entry.js +2 -2
- package/dist/cjs/pn-share-item.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-share.cjs.entry.js +2 -2
- package/dist/cjs/pn-share.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-sidenav-level.cjs.entry.js +5 -5
- package/dist/cjs/pn-sidenav-level.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-sidenav-link.cjs.entry.js +5 -5
- package/dist/cjs/pn-sidenav-link.cjs.entry.js.map +1 -1
- package/dist/cjs/{pn-sidenav-store-236c8806.js → pn-sidenav-store-cf9c4996.js} +2 -2
- package/dist/cjs/{pn-sidenav-store-236c8806.js.map → pn-sidenav-store-cf9c4996.js.map} +1 -1
- package/dist/cjs/pn-sidenav-togglebutton.cjs.entry.js +5 -5
- package/dist/cjs/pn-sidenav-togglebutton.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-sidenav.cjs.entry.js +5 -5
- package/dist/cjs/pn-sidenav.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-site-footer_3.cjs.entry.js +7 -7
- package/dist/cjs/pn-site-footer_3.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-spotlight.cjs.entry.js +2 -2
- package/dist/cjs/pn-spotlight.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-stats-info-data.cjs.entry.js +2 -2
- package/dist/cjs/pn-stats-info-data.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-stats-info.cjs.entry.js +2 -2
- package/dist/cjs/pn-stats-info.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-teaser-card.cjs.entry.js +9 -5
- package/dist/cjs/pn-teaser-card.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-titletag.cjs.entry.js +3 -3
- package/dist/cjs/pn-titletag.cjs.entry.js.map +1 -1
- package/dist/cjs/pn-usp-promoter.cjs.entry.js +3 -3
- package/dist/cjs/pn-usp-promoter.cjs.entry.js.map +1 -1
- package/dist/collection/collection-manifest.json +0 -7
- package/dist/collection/components/animation/pn-animated-tile/pn-animated-tile.css +0 -25
- package/dist/collection/components/animation/pn-play-on-scroll/pn-video-overlay/pn-video-overlay.css +0 -25
- package/dist/collection/components/cards/pn-quote-card/pn-line-shape/pn-line-shape.css +0 -25
- package/dist/collection/components/cards/pn-quote-card/pn-quote-card.css +0 -25
- package/dist/collection/components/cards/pn-teaser-card/pn-teaser-card.css +0 -25
- package/dist/collection/components/cards/pn-teaser-card/pn-teaser-card.js +11 -8
- package/dist/collection/components/cards/pn-teaser-card/pn-teaser-card.js.map +1 -1
- package/dist/collection/components/cards/pn-teaser-card/pn-teaser-card.stories.js +3 -3
- package/dist/collection/components/charts/pn-chart/pn-chart.css +0 -25
- package/dist/collection/components/charts/pn-charts-card/pn-charts-card.css +0 -25
- package/dist/collection/components/cta/pn-cta-block/pn-cta-block.css +0 -25
- package/dist/collection/components/cta/pn-parcel-tracker/pn-parcel-tracker.css +0 -25
- package/dist/collection/components/cta/pn-quick-cta/pn-quick-cta.css +0 -25
- package/dist/collection/components/cta/pn-share/pn-share-item.css +0 -25
- package/dist/collection/components/cta/pn-share/pn-share.css +0 -25
- package/dist/collection/components/cta/pn-spotlight/pn-spotlight.css +0 -25
- package/dist/collection/components/data-visualization/pn-stats-info/pn-stats-info-data/pn-stats-info-data.css +0 -25
- package/dist/collection/components/data-visualization/pn-stats-info/pn-stats-info.css +0 -25
- package/dist/collection/components/input/pn-address-autofill/pn-address-autofill.css +1 -31
- package/dist/collection/components/input/pn-address-autofill/pn-address-autofill.js +68 -58
- package/dist/collection/components/input/pn-address-autofill/pn-address-autofill.js.map +1 -1
- package/dist/collection/components/input/pn-address-autofill/pn-address-autofill.stories.js +1 -2
- package/dist/collection/components/input/pn-address-autofill/translations.js +3 -6
- package/dist/collection/components/input/pn-address-autofill/translations.js.map +1 -1
- package/dist/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar-level.css +0 -25
- package/dist/collection/components/input/pn-bonus-progressbar/pn-bonus-progressbar.css +0 -25
- package/dist/collection/components/input/pn-choice-button/pn-choice-button.css +0 -25
- package/dist/collection/components/input/pn-date-and-time/pn-date-and-time.css +0 -25
- package/dist/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.css +0 -25
- package/dist/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.js +6 -18
- package/dist/collection/components/input/pn-dropdown-choice-adds-row/pn-dropdown-choice-adds-row.js.map +1 -1
- package/dist/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows-row.css +0 -25
- package/dist/collection/components/input/pn-dropdown-with-multi-input-rows/pn-dropdown-with-multi-input-rows.css +0 -25
- package/dist/collection/components/input/pn-filter-checkbox/pn-filter-checkbox.css +0 -25
- package/dist/collection/components/input/pn-marketweb-input/pn-marketweb-input.css +0 -25
- package/dist/collection/components/input/pn-marketweb-search/pn-marketweb-search.css +0 -25
- package/dist/collection/components/input/pn-marketweb-search/pn-marketweb-search.js +3 -4
- package/dist/collection/components/input/pn-marketweb-search/pn-marketweb-search.js.map +1 -1
- package/dist/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown-row.css +0 -25
- package/dist/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown.css +0 -25
- package/dist/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.css +0 -50
- package/dist/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js +1 -1
- package/dist/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js.map +1 -1
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-linklist.css +0 -25
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-links.css +0 -25
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.css +0 -25
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.js +0 -1
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection.js.map +1 -1
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.css +0 -25
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js +1 -1
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js.map +1 -1
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.css +0 -25
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js +37 -1
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js.map +1 -1
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.css +6 -45
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +4 -4
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js +5 -32
- package/dist/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js.map +1 -1
- package/dist/collection/components/media/pn-media-block/pn-media-block.css +0 -25
- package/dist/collection/components/media/pn-media-block/pn-media-block.js +8 -8
- package/dist/collection/components/media/pn-media-block/pn-media-block.js.map +1 -1
- package/dist/collection/components/media/pn-media-block/pn-media-block.stories.js +76 -76
- package/dist/collection/components/minor/pn-app-banner/pn-app-banner.css +0 -25
- package/dist/collection/components/minor/pn-app-banner/pn-app-banner.js +1 -1
- package/dist/collection/components/minor/pn-marketweb-icon/pn-marketweb-icon.css +0 -25
- package/dist/collection/components/minor/pn-marketweb-icon/pn-marketweb-icon.js +1 -1
- package/dist/collection/components/minor/pn-swan/pn-swan.css +0 -25
- package/dist/collection/components/minor/pn-swan/pn-swan.js +1 -1
- package/dist/collection/components/minor/pn-titletag/pn-titletag.css +0 -25
- package/dist/collection/components/minor/pn-titletag/pn-titletag.js +1 -1
- package/dist/collection/components/navigation/pn-language-selector/pn-language-selector-option.css +0 -50
- package/dist/collection/components/navigation/pn-language-selector/pn-language-selector-option.js +1 -1
- package/dist/collection/components/navigation/pn-language-selector/pn-language-selector.css +0 -50
- package/dist/collection/components/navigation/pn-language-selector/pn-language-selector.js +1 -1
- package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-level.css +0 -25
- package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-level.js +2 -2
- package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-link.css +0 -25
- package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-link.js +1 -1
- package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-list.css +0 -25
- package/dist/collection/components/navigation/pn-mainnav/pn-mainnav-list.js +1 -1
- package/dist/collection/components/navigation/pn-mainnav/pn-mainnav.css +0 -25
- package/dist/collection/components/navigation/pn-mainnav/pn-mainnav.js +1 -1
- package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-level.css +0 -25
- package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-level.js +1 -1
- package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-link.css +0 -25
- package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-link.js +1 -1
- package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.css +0 -25
- package/dist/collection/components/navigation/pn-sidenav/pn-sidenav-togglebutton.js +1 -1
- package/dist/collection/components/navigation/pn-sidenav/pn-sidenav.css +0 -25
- package/dist/collection/components/navigation/pn-sidenav/pn-sidenav.js +1 -1
- package/dist/collection/components/navigation/pn-site-footer/pn-site-footer-col.css +0 -50
- package/dist/collection/components/navigation/pn-site-footer/pn-site-footer-col.js +1 -1
- package/dist/collection/components/navigation/pn-site-footer/pn-site-footer.css +0 -50
- package/dist/collection/components/navigation/pn-site-footer/pn-site-footer.js +1 -1
- package/dist/collection/components/navigation/pn-site-selector/pn-site-selector-item.css +0 -25
- package/dist/collection/components/navigation/pn-site-selector/pn-site-selector-item.js +1 -1
- package/dist/collection/components/navigation/pn-site-selector/pn-site-selector.css +0 -25
- package/dist/collection/components/navigation/pn-site-selector/pn-site-selector.js +1 -1
- package/dist/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.css +0 -25
- package/dist/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector-option.js +1 -1
- package/dist/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.css +0 -25
- package/dist/collection/components/profile/pn-customernumber-selector/pn-customernumber-selector.js +1 -1
- package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.css +0 -25
- package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-customernumber.js +1 -1
- package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.css +0 -25
- package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-profile.js +2 -2
- package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-type.css +0 -25
- package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal-type.js +1 -1
- package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal.css +0 -25
- package/dist/collection/components/profile/pn-profile-modal/pn-profile-modal.js +1 -1
- package/dist/collection/components/profile/pn-profile-selector/pn-profile-selector-option.css +0 -25
- package/dist/collection/components/profile/pn-profile-selector/pn-profile-selector-option.js +1 -1
- package/dist/collection/components/profile/pn-profile-selector/pn-profile-selector.css +0 -25
- package/dist/collection/components/profile/pn-profile-selector/pn-profile-selector.js +1 -1
- package/dist/collection/components/utilities/pn-breakpoints/pn-breakpoints.css +0 -25
- package/dist/collection/components/utilities/pn-breakpoints/pn-breakpoints.js +1 -1
- package/dist/collection/components/widgets/pn-find-price/pn-find-price-result.css +0 -25
- package/dist/collection/components/widgets/pn-find-price/pn-find-price-result.js +1 -1
- package/dist/collection/components/widgets/pn-find-price/pn-find-price.css +0 -25
- package/dist/collection/components/widgets/pn-find-price/pn-find-price.js +2 -2
- package/dist/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.css +0 -25
- package/dist/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price-result.js +1 -1
- package/dist/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.css +0 -25
- package/dist/collection/components/widgets/pn-find-service-and-price/pn-find-service-and-price.js +1 -1
- package/dist/collection/components/widgets/pn-hero-block-international/pn-hero-block-international.css +0 -25
- package/dist/collection/components/widgets/pn-hero-block-international/pn-hero-block-international.js +1 -1
- package/dist/collection/components/widgets/pn-link-list/pn-link-list.css +0 -25
- package/dist/collection/components/widgets/pn-link-list/pn-link-list.js +1 -1
- package/dist/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.css +0 -25
- package/dist/collection/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder.js +1 -1
- package/dist/collection/components/widgets/pn-product-card/pn-product-card-info.css +0 -25
- package/dist/collection/components/widgets/pn-product-card/pn-product-card-price.css +0 -25
- package/dist/collection/components/widgets/pn-product-card/pn-product-card.css +0 -25
- package/dist/collection/components/widgets/pn-product-card/pn-product-card.js +1 -1
- package/dist/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.css +0 -25
- package/dist/collection/components/widgets/pn-product-pricelist/pn-product-pricelist-result.js +1 -1
- package/dist/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.css +0 -25
- package/dist/collection/components/widgets/pn-product-pricelist/pn-product-pricelist.js +2 -2
- package/dist/collection/components/widgets/pn-product-tile/pn-product-tile-info.css +0 -25
- package/dist/collection/components/widgets/pn-product-tile/pn-product-tile-info.js +1 -1
- package/dist/collection/components/widgets/pn-product-tile/pn-product-tile-price.css +0 -25
- package/dist/collection/components/widgets/pn-product-tile/pn-product-tile.css +0 -25
- package/dist/collection/components/widgets/pn-product-tile/pn-product-tile.js +1 -1
- package/dist/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.css +0 -25
- package/dist/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.js +1 -1
- package/dist/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.css +0 -25
- package/dist/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.js +3 -3
- package/dist/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.css +0 -25
- package/dist/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.js +1 -1
- package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.css +0 -25
- package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.js +1 -1
- package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.css +0 -25
- package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.js +1 -1
- package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-pricelink.css +0 -25
- package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.css +0 -25
- package/dist/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.js +1 -1
- package/dist/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.css +0 -25
- package/dist/collection/components/widgets/pn-usp-promoter/pn-usp-promoter.js +1 -1
- package/dist/collection/globals/HeadingTag.js +2 -2
- package/dist/collection/globals/HeadingTag.js.map +1 -1
- package/dist/collection/utils/utils.js +0 -11
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/components/FetchHelper.js +243 -1
- package/dist/components/FetchHelper.js.map +1 -1
- package/dist/components/pn-address-autofill.js +73 -50
- package/dist/components/pn-address-autofill.js.map +1 -1
- package/dist/components/pn-animated-tile.js +1 -1
- package/dist/components/pn-animated-tile.js.map +1 -1
- package/dist/components/pn-app-banner.js +2 -2
- package/dist/components/pn-app-banner.js.map +1 -1
- package/dist/components/pn-bonus-progressbar-level.js +1 -1
- package/dist/components/pn-bonus-progressbar-level.js.map +1 -1
- package/dist/components/pn-bonus-progressbar.js +1 -1
- package/dist/components/pn-bonus-progressbar.js.map +1 -1
- package/dist/components/pn-breakpoints.js +2 -2
- package/dist/components/pn-breakpoints.js.map +1 -1
- package/dist/components/pn-chart.js +1 -1
- package/dist/components/pn-chart.js.map +1 -1
- package/dist/components/pn-charts-card.js +1 -1
- package/dist/components/pn-charts-card.js.map +1 -1
- package/dist/components/pn-choice-button2.js +1 -1
- package/dist/components/pn-choice-button2.js.map +1 -1
- package/dist/components/pn-cta-block.js +1 -1
- package/dist/components/pn-cta-block.js.map +1 -1
- package/dist/components/pn-customernumber-selector-option.js +2 -2
- package/dist/components/pn-customernumber-selector-option.js.map +1 -1
- package/dist/components/pn-customernumber-selector.js +8 -3
- package/dist/components/pn-customernumber-selector.js.map +1 -1
- package/dist/components/pn-date-and-time.js +1 -1
- package/dist/components/pn-date-and-time.js.map +1 -1
- package/dist/components/pn-dropdown-choice-adds-row.js +7 -19
- package/dist/components/pn-dropdown-choice-adds-row.js.map +1 -1
- package/dist/components/pn-dropdown-with-multi-input-rows-row2.js +1 -1
- package/dist/components/pn-dropdown-with-multi-input-rows-row2.js.map +1 -1
- package/dist/components/pn-dropdown-with-multi-input-rows.js +1 -1
- package/dist/components/pn-dropdown-with-multi-input-rows.js.map +1 -1
- package/dist/components/pn-filter-checkbox2.js +1 -1
- package/dist/components/pn-filter-checkbox2.js.map +1 -1
- package/dist/components/pn-find-price-result2.js +2 -2
- package/dist/components/pn-find-price-result2.js.map +1 -1
- package/dist/components/pn-find-price.js +3 -3
- package/dist/components/pn-find-price.js.map +1 -1
- package/dist/components/pn-find-service-and-price-result2.js +2 -2
- package/dist/components/pn-find-service-and-price-result2.js.map +1 -1
- package/dist/components/pn-find-service-and-price.js +2 -2
- package/dist/components/pn-find-service-and-price.js.map +1 -1
- package/dist/components/pn-hero-block-international.js +2 -2
- package/dist/components/pn-hero-block-international.js.map +1 -1
- package/dist/components/pn-language-selector-option2.js +2 -2
- package/dist/components/pn-language-selector-option2.js.map +1 -1
- package/dist/components/pn-language-selector2.js +2 -2
- package/dist/components/pn-language-selector2.js.map +1 -1
- package/dist/components/pn-line-shape.js +1 -1
- package/dist/components/pn-line-shape.js.map +1 -1
- package/dist/components/pn-link-list.js +2 -2
- package/dist/components/pn-link-list.js.map +1 -1
- package/dist/components/pn-mainnav-level2.js +3 -3
- package/dist/components/pn-mainnav-level2.js.map +1 -1
- package/dist/components/pn-mainnav-link2.js +2 -2
- package/dist/components/pn-mainnav-link2.js.map +1 -1
- package/dist/components/pn-mainnav-list2.js +2 -2
- package/dist/components/pn-mainnav-list2.js.map +1 -1
- package/dist/components/pn-mainnav2.js +5 -3
- package/dist/components/pn-mainnav2.js.map +1 -1
- package/dist/components/pn-marketweb-icon.js +2 -2
- package/dist/components/pn-marketweb-icon.js.map +1 -1
- package/dist/components/pn-marketweb-input2.js +4 -2
- package/dist/components/pn-marketweb-input2.js.map +1 -1
- package/dist/components/pn-marketweb-search.js +4 -5
- package/dist/components/pn-marketweb-search.js.map +1 -1
- package/dist/components/pn-marketweb-sitefooter.js +9 -6
- package/dist/components/pn-marketweb-sitefooter.js.map +1 -1
- package/dist/components/pn-marketweb-siteheader-login-linklist2.js +1 -1
- package/dist/components/pn-marketweb-siteheader-login-linklist2.js.map +1 -1
- package/dist/components/pn-marketweb-siteheader-login-links2.js +1 -1
- package/dist/components/pn-marketweb-siteheader-login-links2.js.map +1 -1
- package/dist/components/pn-marketweb-siteheader-login-mypage-button.js +1 -34
- package/dist/components/pn-marketweb-siteheader-login-mypage-button.js.map +1 -1
- package/dist/components/pn-marketweb-siteheader-login-mypage-button2.js +38 -0
- package/dist/components/pn-marketweb-siteheader-login-mypage-button2.js.map +1 -0
- package/dist/components/pn-marketweb-siteheader-login-profileselection2.js +1 -2
- package/dist/components/pn-marketweb-siteheader-login-profileselection2.js.map +1 -1
- package/dist/components/pn-marketweb-siteheader-login2.js +14 -8
- package/dist/components/pn-marketweb-siteheader-login2.js.map +1 -1
- package/dist/components/pn-marketweb-siteheader-search2.js +1 -1
- package/dist/components/pn-marketweb-siteheader-search2.js.map +1 -1
- package/dist/components/pn-marketweb-siteheader-unified-login2.js +13 -3
- package/dist/components/pn-marketweb-siteheader-unified-login2.js.map +1 -1
- package/dist/components/pn-marketweb-siteheader.js +32 -27
- package/dist/components/pn-marketweb-siteheader.js.map +1 -1
- package/dist/components/pn-media-block.js +6 -6
- package/dist/components/pn-media-block.js.map +1 -1
- package/dist/components/pn-multi-row-connected-dropdown-row2.js +1 -1
- package/dist/components/pn-multi-row-connected-dropdown-row2.js.map +1 -1
- package/dist/components/pn-multi-row-connected-dropdown.js +1 -1
- package/dist/components/pn-multi-row-connected-dropdown.js.map +1 -1
- package/dist/components/pn-parcel-tracker.js +1 -1
- package/dist/components/pn-parcel-tracker.js.map +1 -1
- package/dist/components/pn-pex-pricefinder.js +2 -2
- package/dist/components/pn-pex-pricefinder.js.map +1 -1
- package/dist/components/pn-product-card-info2.js +1 -1
- package/dist/components/pn-product-card-info2.js.map +1 -1
- package/dist/components/pn-product-card-price2.js +1 -1
- package/dist/components/pn-product-card-price2.js.map +1 -1
- package/dist/components/pn-product-card2.js +2 -2
- package/dist/components/pn-product-card2.js.map +1 -1
- package/dist/components/pn-product-pricelist-result.js +2 -2
- package/dist/components/pn-product-pricelist-result.js.map +1 -1
- package/dist/components/pn-product-pricelist.js +3 -3
- package/dist/components/pn-product-pricelist.js.map +1 -1
- package/dist/components/pn-product-tile-info2.js +2 -2
- package/dist/components/pn-product-tile-info2.js.map +1 -1
- package/dist/components/pn-product-tile-price2.js +1 -1
- package/dist/components/pn-product-tile-price2.js.map +1 -1
- package/dist/components/pn-product-tile.js +2 -2
- package/dist/components/pn-product-tile.js.map +1 -1
- package/dist/components/pn-profile-modal-customernumber.js +2 -2
- package/dist/components/pn-profile-modal-customernumber.js.map +1 -1
- package/dist/components/pn-profile-modal-profile.js +3 -3
- package/dist/components/pn-profile-modal-profile.js.map +1 -1
- package/dist/components/pn-profile-modal-type.js +2 -2
- package/dist/components/pn-profile-modal-type.js.map +1 -1
- package/dist/components/pn-profile-modal.js +2 -2
- package/dist/components/pn-profile-modal.js.map +1 -1
- package/dist/components/pn-profile-selector-option.js +2 -2
- package/dist/components/pn-profile-selector-option.js.map +1 -1
- package/dist/components/pn-profile-selector.js +2 -2
- package/dist/components/pn-profile-selector.js.map +1 -1
- package/dist/components/pn-proxio-findprice-result2.js +2 -2
- package/dist/components/pn-proxio-findprice-result2.js.map +1 -1
- package/dist/components/pn-proxio-findprice.js +5 -6
- package/dist/components/pn-proxio-findprice.js.map +1 -1
- package/dist/components/pn-proxio-pricegroup.js +3 -4
- package/dist/components/pn-proxio-pricegroup.js.map +1 -1
- package/dist/components/pn-proxio-productcard-description2.js +2 -2
- package/dist/components/pn-proxio-productcard-description2.js.map +1 -1
- package/dist/components/pn-proxio-productcard-information2.js +2 -2
- package/dist/components/pn-proxio-productcard-information2.js.map +1 -1
- package/dist/components/pn-proxio-productcard-pricelink2.js +1 -1
- package/dist/components/pn-proxio-productcard-pricelink2.js.map +1 -1
- package/dist/components/pn-proxio-productcard2.js +2 -2
- package/dist/components/pn-proxio-productcard2.js.map +1 -1
- package/dist/components/pn-quick-cta.js +1 -1
- package/dist/components/pn-quick-cta.js.map +1 -1
- package/dist/components/pn-quote-card.js +1 -1
- package/dist/components/pn-quote-card.js.map +1 -1
- package/dist/components/pn-share-item2.js +1 -1
- package/dist/components/pn-share-item2.js.map +1 -1
- package/dist/components/pn-share.js +1 -1
- package/dist/components/pn-share.js.map +1 -1
- package/dist/components/pn-sidenav-level.js +2 -2
- package/dist/components/pn-sidenav-level.js.map +1 -1
- package/dist/components/pn-sidenav-link.js +2 -2
- package/dist/components/pn-sidenav-link.js.map +1 -1
- package/dist/components/pn-sidenav-togglebutton.js +2 -2
- package/dist/components/pn-sidenav-togglebutton.js.map +1 -1
- package/dist/components/pn-sidenav.js +2 -2
- package/dist/components/pn-sidenav.js.map +1 -1
- package/dist/components/pn-site-footer-col2.js +2 -2
- package/dist/components/pn-site-footer-col2.js.map +1 -1
- package/dist/components/pn-site-footer2.js +2 -2
- package/dist/components/pn-site-footer2.js.map +1 -1
- package/dist/components/pn-site-selector-item2.js +2 -2
- package/dist/components/pn-site-selector-item2.js.map +1 -1
- package/dist/components/pn-site-selector2.js +2 -2
- package/dist/components/pn-site-selector2.js.map +1 -1
- package/dist/components/pn-spotlight.js +1 -1
- package/dist/components/pn-spotlight.js.map +1 -1
- package/dist/components/pn-stats-info-data2.js +1 -1
- package/dist/components/pn-stats-info-data2.js.map +1 -1
- package/dist/components/pn-stats-info.js +1 -1
- package/dist/components/pn-stats-info.js.map +1 -1
- package/dist/components/pn-swan2.js +2 -2
- package/dist/components/pn-swan2.js.map +1 -1
- package/dist/components/pn-teaser-card.js +9 -5
- package/dist/components/pn-teaser-card.js.map +1 -1
- package/dist/components/pn-titletag2.js +2 -2
- package/dist/components/pn-titletag2.js.map +1 -1
- package/dist/components/pn-usp-promoter.js +2 -2
- package/dist/components/pn-usp-promoter.js.map +1 -1
- package/dist/components/pn-video-overlay2.js +1 -1
- package/dist/components/pn-video-overlay2.js.map +1 -1
- package/dist/{components/MarketWebContextService.js → esm/FetchHelper-746f2bb6.js} +82 -2
- package/dist/esm/FetchHelper-746f2bb6.js.map +1 -0
- package/dist/esm/{index-c311acd6.js → index-51d67461.js} +5 -53
- package/dist/esm/index-51d67461.js.map +1 -0
- package/dist/esm/{index-ae60ebec.js → index-89124075.js} +2 -2
- package/dist/esm/{index-ae60ebec.js.map → index-89124075.js.map} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/pn-address-autofill.entry.js +74 -50
- package/dist/esm/pn-address-autofill.entry.js.map +1 -1
- package/dist/esm/pn-animated-tile.entry.js +2 -2
- package/dist/esm/pn-animated-tile.entry.js.map +1 -1
- package/dist/esm/pn-app-banner.entry.js +3 -3
- package/dist/esm/pn-app-banner.entry.js.map +1 -1
- package/dist/esm/pn-bonus-progressbar-level.entry.js +2 -2
- package/dist/esm/pn-bonus-progressbar-level.entry.js.map +1 -1
- package/dist/esm/pn-bonus-progressbar.entry.js +2 -2
- package/dist/esm/pn-bonus-progressbar.entry.js.map +1 -1
- package/dist/esm/pn-breakpoints.entry.js +3 -3
- package/dist/esm/pn-breakpoints.entry.js.map +1 -1
- package/dist/esm/pn-chart.entry.js +2 -2
- package/dist/esm/pn-chart.entry.js.map +1 -1
- package/dist/esm/pn-charts-card.entry.js +2 -2
- package/dist/esm/pn-charts-card.entry.js.map +1 -1
- package/dist/esm/pn-choice-button.entry.js +2 -2
- package/dist/esm/pn-choice-button.entry.js.map +1 -1
- package/dist/esm/pn-cta-block.entry.js +2 -2
- package/dist/esm/pn-cta-block.entry.js.map +1 -1
- package/dist/esm/pn-customernumber-selector-option.entry.js +3 -3
- package/dist/esm/pn-customernumber-selector-option.entry.js.map +1 -1
- package/dist/esm/pn-customernumber-selector.entry.js +9 -4
- package/dist/esm/pn-customernumber-selector.entry.js.map +1 -1
- package/dist/esm/pn-date-and-time.entry.js +2 -2
- package/dist/esm/pn-date-and-time.entry.js.map +1 -1
- package/dist/esm/pn-dropdown-choice-adds-row.entry.js +8 -20
- package/dist/esm/pn-dropdown-choice-adds-row.entry.js.map +1 -1
- package/dist/esm/pn-dropdown-with-multi-input-rows-row.entry.js +2 -2
- package/dist/esm/pn-dropdown-with-multi-input-rows-row.entry.js.map +1 -1
- package/dist/esm/pn-dropdown-with-multi-input-rows.entry.js +2 -2
- package/dist/esm/pn-dropdown-with-multi-input-rows.entry.js.map +1 -1
- package/dist/esm/pn-filter-checkbox.entry.js +2 -2
- package/dist/esm/pn-filter-checkbox.entry.js.map +1 -1
- package/dist/esm/pn-find-price-result.entry.js +5 -5
- package/dist/esm/pn-find-price-result.entry.js.map +1 -1
- package/dist/esm/{pn-find-price-store-f97f2325.js → pn-find-price-store-c9a9d3d4.js} +2 -2
- package/dist/esm/{pn-find-price-store-f97f2325.js.map → pn-find-price-store-c9a9d3d4.js.map} +1 -1
- package/dist/esm/pn-find-price.entry.js +6 -6
- package/dist/esm/pn-find-price.entry.js.map +1 -1
- package/dist/esm/pn-find-service-and-price-result.entry.js +5 -5
- package/dist/esm/pn-find-service-and-price-result.entry.js.map +1 -1
- package/dist/esm/{pn-find-service-and-price-store-6553566d.js → pn-find-service-and-price-store-60aa5801.js} +2 -2
- package/dist/esm/{pn-find-service-and-price-store-6553566d.js.map → pn-find-service-and-price-store-60aa5801.js.map} +1 -1
- package/dist/esm/pn-find-service-and-price.entry.js +5 -5
- package/dist/esm/pn-find-service-and-price.entry.js.map +1 -1
- package/dist/esm/pn-hero-block-international.entry.js +3 -3
- package/dist/esm/pn-hero-block-international.entry.js.map +1 -1
- package/dist/esm/pn-language-selector_9.entry.js +27 -25
- package/dist/esm/pn-language-selector_9.entry.js.map +1 -1
- package/dist/esm/pn-line-shape.entry.js +2 -2
- package/dist/esm/pn-line-shape.entry.js.map +1 -1
- package/dist/esm/pn-link-list.entry.js +3 -3
- package/dist/esm/pn-link-list.entry.js.map +1 -1
- package/dist/esm/pn-mainnav-link.entry.js +5 -5
- package/dist/esm/pn-mainnav-link.entry.js.map +1 -1
- package/dist/esm/{pn-mainnav-store-23387019.js → pn-mainnav-store-9c42bc66.js} +2 -2
- package/dist/esm/{pn-mainnav-store-23387019.js.map → pn-mainnav-store-9c42bc66.js.map} +1 -1
- package/dist/esm/pn-market-web-components.js +3 -3
- package/dist/esm/pn-marketweb-icon.entry.js +3 -3
- package/dist/esm/pn-marketweb-icon.entry.js.map +1 -1
- package/dist/esm/pn-marketweb-input.entry.js +5 -3
- package/dist/esm/pn-marketweb-input.entry.js.map +1 -1
- package/dist/esm/pn-marketweb-search.entry.js +5 -6
- package/dist/esm/pn-marketweb-search.entry.js.map +1 -1
- package/dist/esm/pn-marketweb-sitefooter.entry.js +9 -6
- package/dist/esm/pn-marketweb-sitefooter.entry.js.map +1 -1
- package/dist/esm/{pn-marketweb-siteheader-login-button_4.entry.js → pn-marketweb-siteheader-login-button_5.entry.js} +26 -9
- package/dist/esm/pn-marketweb-siteheader-login-button_5.entry.js.map +1 -0
- package/dist/esm/pn-marketweb-siteheader-login-linklist.entry.js +4 -4
- package/dist/esm/pn-marketweb-siteheader-login-linklist.entry.js.map +1 -1
- package/dist/esm/{pn-marketweb-siteheader-store-f60eb1e4.js → pn-marketweb-siteheader-store-91f74255.js} +2 -2
- package/dist/esm/{pn-marketweb-siteheader-store-f60eb1e4.js.map → pn-marketweb-siteheader-store-91f74255.js.map} +1 -1
- package/dist/esm/pn-marketweb-siteheader.entry.js +9 -10
- package/dist/esm/pn-marketweb-siteheader.entry.js.map +1 -1
- package/dist/esm/pn-media-block.entry.js +6 -6
- package/dist/esm/pn-media-block.entry.js.map +1 -1
- package/dist/esm/pn-multi-row-connected-dropdown-row.entry.js +2 -2
- package/dist/esm/pn-multi-row-connected-dropdown-row.entry.js.map +1 -1
- package/dist/esm/pn-multi-row-connected-dropdown.entry.js +2 -2
- package/dist/esm/pn-multi-row-connected-dropdown.entry.js.map +1 -1
- package/dist/esm/pn-multiple-input.entry.js +1 -1
- package/dist/esm/pn-parcel-tracker.entry.js +2 -2
- package/dist/esm/pn-parcel-tracker.entry.js.map +1 -1
- package/dist/esm/pn-pex-pricefinder.entry.js +3 -3
- package/dist/esm/pn-pex-pricefinder.entry.js.map +1 -1
- package/dist/esm/pn-play-on-scroll.entry.js +1 -1
- package/dist/esm/pn-product-card_3.entry.js +5 -5
- package/dist/esm/pn-product-card_3.entry.js.map +1 -1
- package/dist/esm/pn-product-pricelist-result.entry.js +4 -4
- package/dist/esm/pn-product-pricelist-result.entry.js.map +1 -1
- package/dist/esm/pn-product-pricelist.entry.js +6 -6
- package/dist/esm/pn-product-pricelist.entry.js.map +1 -1
- package/dist/esm/pn-product-tile-info_2.entry.js +4 -4
- package/dist/esm/pn-product-tile-info_2.entry.js.map +1 -1
- package/dist/esm/pn-product-tile.entry.js +3 -3
- package/dist/esm/pn-product-tile.entry.js.map +1 -1
- package/dist/esm/pn-profile-modal-customernumber.entry.js +3 -3
- package/dist/esm/pn-profile-modal-customernumber.entry.js.map +1 -1
- package/dist/esm/pn-profile-modal-profile.entry.js +6 -6
- package/dist/esm/pn-profile-modal-profile.entry.js.map +1 -1
- package/dist/esm/{pn-profile-modal-store-5d651bd5.js → pn-profile-modal-store-4655b124.js} +2 -2
- package/dist/esm/{pn-profile-modal-store-5d651bd5.js.map → pn-profile-modal-store-4655b124.js.map} +1 -1
- package/dist/esm/pn-profile-modal-type.entry.js +5 -5
- package/dist/esm/pn-profile-modal-type.entry.js.map +1 -1
- package/dist/esm/pn-profile-modal.entry.js +5 -5
- package/dist/esm/pn-profile-modal.entry.js.map +1 -1
- package/dist/esm/pn-profile-selector-option.entry.js +3 -3
- package/dist/esm/pn-profile-selector-option.entry.js.map +1 -1
- package/dist/esm/pn-profile-selector.entry.js +3 -3
- package/dist/esm/pn-profile-selector.entry.js.map +1 -1
- package/dist/esm/pn-proxio-findprice-result.entry.js +3 -3
- package/dist/esm/pn-proxio-findprice-result.entry.js.map +1 -1
- package/dist/esm/pn-proxio-findprice.entry.js +7 -8
- package/dist/esm/pn-proxio-findprice.entry.js.map +1 -1
- package/dist/esm/pn-proxio-pricegroup.entry.js +4 -5
- package/dist/esm/pn-proxio-pricegroup.entry.js.map +1 -1
- package/dist/esm/pn-proxio-productcard_4.entry.js +8 -8
- package/dist/esm/pn-proxio-productcard_4.entry.js.map +1 -1
- package/dist/esm/pn-quick-cta.entry.js +2 -2
- package/dist/esm/pn-quick-cta.entry.js.map +1 -1
- package/dist/esm/pn-quote-card.entry.js +2 -2
- package/dist/esm/pn-quote-card.entry.js.map +1 -1
- package/dist/esm/pn-scroll_2.entry.js +2 -2
- package/dist/esm/pn-scroll_2.entry.js.map +1 -1
- package/dist/esm/pn-share-item.entry.js +2 -2
- package/dist/esm/pn-share-item.entry.js.map +1 -1
- package/dist/esm/pn-share.entry.js +2 -2
- package/dist/esm/pn-share.entry.js.map +1 -1
- package/dist/esm/pn-sidenav-level.entry.js +5 -5
- package/dist/esm/pn-sidenav-level.entry.js.map +1 -1
- package/dist/esm/pn-sidenav-link.entry.js +5 -5
- package/dist/esm/pn-sidenav-link.entry.js.map +1 -1
- package/dist/esm/{pn-sidenav-store-e2038d79.js → pn-sidenav-store-85bdb1e6.js} +2 -2
- package/dist/esm/{pn-sidenav-store-e2038d79.js.map → pn-sidenav-store-85bdb1e6.js.map} +1 -1
- package/dist/esm/pn-sidenav-togglebutton.entry.js +5 -5
- package/dist/esm/pn-sidenav-togglebutton.entry.js.map +1 -1
- package/dist/esm/pn-sidenav.entry.js +5 -5
- package/dist/esm/pn-sidenav.entry.js.map +1 -1
- package/dist/esm/pn-site-footer_3.entry.js +7 -7
- package/dist/esm/pn-site-footer_3.entry.js.map +1 -1
- package/dist/esm/pn-spotlight.entry.js +2 -2
- package/dist/esm/pn-spotlight.entry.js.map +1 -1
- package/dist/esm/pn-stats-info-data.entry.js +2 -2
- package/dist/esm/pn-stats-info-data.entry.js.map +1 -1
- package/dist/esm/pn-stats-info.entry.js +2 -2
- package/dist/esm/pn-stats-info.entry.js.map +1 -1
- package/dist/esm/pn-teaser-card.entry.js +9 -5
- package/dist/esm/pn-teaser-card.entry.js.map +1 -1
- package/dist/esm/pn-titletag.entry.js +3 -3
- package/dist/esm/pn-titletag.entry.js.map +1 -1
- package/dist/esm/pn-usp-promoter.entry.js +3 -3
- package/dist/esm/pn-usp-promoter.entry.js.map +1 -1
- package/dist/package.json +3 -5
- package/dist/pn-market-web-components/index.esm.js +1 -1
- package/dist/pn-market-web-components/index.esm.js.map +1 -1
- package/dist/pn-market-web-components/p-066e9db9.entry.js +2 -0
- package/dist/pn-market-web-components/{p-7b4f9fdf.entry.js.map → p-066e9db9.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-0ec8d040.entry.js +2 -0
- package/dist/pn-market-web-components/{p-65a046be.entry.js.map → p-0ec8d040.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-13190b30.js +2 -0
- package/dist/pn-market-web-components/{p-ad9a7633.entry.js → p-155c2049.entry.js} +2 -2
- package/dist/pn-market-web-components/p-190c6938.entry.js +2 -0
- package/dist/pn-market-web-components/{p-389a94e7.entry.js.map → p-190c6938.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-1ec21bd6.entry.js +2 -0
- package/dist/pn-market-web-components/{p-f4b14be8.entry.js.map → p-1ec21bd6.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-231b97e1.entry.js +2 -0
- package/dist/pn-market-web-components/{p-659a4db5.entry.js.map → p-231b97e1.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-23d69d70.entry.js +2 -0
- package/dist/pn-market-web-components/p-23d69d70.entry.js.map +1 -0
- package/dist/pn-market-web-components/p-24086c59.entry.js +2 -0
- package/dist/pn-market-web-components/{p-7b7629c5.entry.js.map → p-24086c59.entry.js.map} +1 -1
- package/dist/pn-market-web-components/{p-8836de82.js → p-2509d18d.js} +2 -2
- package/dist/pn-market-web-components/p-25d53df2.entry.js +2 -0
- package/dist/pn-market-web-components/{p-72f57a04.entry.js.map → p-25d53df2.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-25dfc349.entry.js +2 -0
- package/dist/pn-market-web-components/{p-84fc8e05.entry.js.map → p-25dfc349.entry.js.map} +1 -1
- package/dist/pn-market-web-components/{p-f0df7694.entry.js → p-278cda98.entry.js} +4 -4
- package/dist/pn-market-web-components/{p-f0df7694.entry.js.map → p-278cda98.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-27d138b4.entry.js +2 -0
- package/dist/pn-market-web-components/p-27d138b4.entry.js.map +1 -0
- package/dist/pn-market-web-components/p-2b03a4e1.entry.js +2 -0
- package/dist/pn-market-web-components/p-2b03a4e1.entry.js.map +1 -0
- package/dist/pn-market-web-components/p-3fb8e665.entry.js +2 -0
- package/dist/pn-market-web-components/{p-71db6836.entry.js.map → p-3fb8e665.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-45b8cadb.entry.js +2 -0
- package/dist/pn-market-web-components/{p-9454075f.entry.js.map → p-45b8cadb.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-45d1e1be.entry.js +2 -0
- package/dist/pn-market-web-components/{p-3d10bc37.entry.js.map → p-45d1e1be.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-4d2ca281.entry.js +2 -0
- package/dist/pn-market-web-components/{p-ad282b7c.entry.js.map → p-4d2ca281.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-4e3059dd.entry.js +2 -0
- package/dist/pn-market-web-components/{p-7db6ef34.entry.js.map → p-4e3059dd.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-4fa5bc85.entry.js +2 -0
- package/dist/pn-market-web-components/{p-0fc01d3f.entry.js.map → p-4fa5bc85.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-530274ae.entry.js +2 -0
- package/dist/pn-market-web-components/{p-39b75c62.entry.js.map → p-530274ae.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-545c24c0.entry.js +2 -0
- package/dist/pn-market-web-components/{p-da56370b.entry.js.map → p-545c24c0.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-55643d76.entry.js +2 -0
- package/dist/pn-market-web-components/{p-2a58d83b.entry.js.map → p-55643d76.entry.js.map} +1 -1
- package/dist/pn-market-web-components/{p-8a651698.entry.js → p-560e5291.entry.js} +2 -2
- package/dist/pn-market-web-components/p-572c4d81.entry.js +2 -0
- package/dist/pn-market-web-components/p-572c4d81.entry.js.map +1 -0
- package/dist/pn-market-web-components/p-59549c74.entry.js +2 -0
- package/dist/pn-market-web-components/{p-b9590d81.entry.js.map → p-59549c74.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-59cb7166.entry.js +2 -0
- package/dist/pn-market-web-components/p-59cb7166.entry.js.map +1 -0
- package/dist/pn-market-web-components/p-5a1b6e6d.entry.js +2 -0
- package/dist/pn-market-web-components/{p-c4e353b3.entry.js.map → p-5a1b6e6d.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-5d06e48f.entry.js +2 -0
- package/dist/pn-market-web-components/p-5d06e48f.entry.js.map +1 -0
- package/dist/pn-market-web-components/p-62cabd1e.entry.js +2 -0
- package/dist/pn-market-web-components/{p-66da6e15.entry.js.map → p-62cabd1e.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-64d0dbba.entry.js +2 -0
- package/dist/pn-market-web-components/{p-c9038b03.entry.js.map → p-64d0dbba.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-652f97b9.js +2 -0
- package/dist/pn-market-web-components/p-65ab3003.entry.js +2 -0
- package/dist/pn-market-web-components/{p-41cdac85.entry.js.map → p-65ab3003.entry.js.map} +1 -1
- package/dist/pn-market-web-components/{p-6b1d045c.js → p-65f243c1.js} +2 -2
- package/dist/pn-market-web-components/p-65f243c1.js.map +1 -0
- package/dist/pn-market-web-components/p-6647d2c4.entry.js +2 -0
- package/dist/pn-market-web-components/{p-79e4715c.entry.js.map → p-6647d2c4.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-6a5f7dee.entry.js +2 -0
- package/dist/pn-market-web-components/{p-3e197670.entry.js.map → p-6a5f7dee.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-6fdd5b5a.entry.js +2 -0
- package/dist/pn-market-web-components/{p-cbb1d57d.entry.js.map → p-6fdd5b5a.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-7076038b.entry.js +2 -0
- package/dist/pn-market-web-components/{p-daa74e60.entry.js.map → p-7076038b.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-725aba56.entry.js +2 -0
- package/dist/pn-market-web-components/p-725aba56.entry.js.map +1 -0
- package/dist/pn-market-web-components/p-72dbca40.entry.js +2 -0
- package/dist/pn-market-web-components/{p-2c19edca.entry.js.map → p-72dbca40.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-74fd7435.entry.js +2 -0
- package/dist/pn-market-web-components/{p-8d98f709.entry.js.map → p-74fd7435.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-758f1b53.entry.js +2 -0
- package/dist/pn-market-web-components/{p-95d32ab4.entry.js.map → p-758f1b53.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-76e6708b.entry.js +2 -0
- package/dist/pn-market-web-components/{p-292db484.entry.js.map → p-76e6708b.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-776f3d51.entry.js +2 -0
- package/dist/pn-market-web-components/{p-64851da0.entry.js.map → p-776f3d51.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-77a35f5e.entry.js +2 -0
- package/dist/pn-market-web-components/{p-542f949d.entry.js.map → p-77a35f5e.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-7c3091eb.entry.js +2 -0
- package/dist/pn-market-web-components/p-7c3091eb.entry.js.map +1 -0
- package/dist/pn-market-web-components/p-856c235c.entry.js +2 -0
- package/dist/pn-market-web-components/{p-f28059f4.entry.js.map → p-856c235c.entry.js.map} +1 -1
- package/dist/pn-market-web-components/{p-f9083b7a.js → p-8af1b914.js} +2 -2
- package/dist/pn-market-web-components/p-8c26b98d.entry.js +2 -0
- package/dist/pn-market-web-components/{p-61bd81d7.entry.js.map → p-8c26b98d.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-90242f18.entry.js +2 -0
- package/dist/pn-market-web-components/{p-f5d03222.entry.js.map → p-90242f18.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-94a69959.entry.js +2 -0
- package/dist/pn-market-web-components/p-94a69959.entry.js.map +1 -0
- package/dist/pn-market-web-components/p-95519556.entry.js +2 -0
- package/dist/pn-market-web-components/{p-c89cb749.entry.js.map → p-95519556.entry.js.map} +1 -1
- package/dist/pn-market-web-components/{p-930e2943.js → p-959a37d9.js} +2 -2
- package/dist/pn-market-web-components/p-a38118be.entry.js +2 -0
- package/dist/pn-market-web-components/{p-08b473e0.entry.js.map → p-a38118be.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-a419cd91.entry.js +2 -0
- package/dist/pn-market-web-components/{p-230ef9aa.entry.js.map → p-a419cd91.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-a54a298b.entry.js +2 -0
- package/dist/pn-market-web-components/p-a54a298b.entry.js.map +1 -0
- package/dist/pn-market-web-components/p-a6866467.entry.js +2 -0
- package/dist/pn-market-web-components/{p-619f2143.entry.js.map → p-a6866467.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-a72c2729.entry.js +2 -0
- package/dist/pn-market-web-components/{p-9088d3f5.entry.js.map → p-a72c2729.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-aeeabb32.entry.js +2 -0
- package/dist/pn-market-web-components/{p-4f639380.entry.js.map → p-aeeabb32.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-b35cdbac.entry.js +2 -0
- package/dist/pn-market-web-components/{p-5a981927.entry.js.map → p-b35cdbac.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-b5a0275d.entry.js +2 -0
- package/dist/pn-market-web-components/{p-8d874454.entry.js.map → p-b5a0275d.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-b693f78a.entry.js +2 -0
- package/dist/pn-market-web-components/{p-d17af75d.entry.js.map → p-b693f78a.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-b9340e9c.entry.js +2 -0
- package/dist/pn-market-web-components/p-b9340e9c.entry.js.map +1 -0
- package/dist/pn-market-web-components/p-b9505c69.entry.js +2 -0
- package/dist/pn-market-web-components/{p-e8622338.entry.js.map → p-b9505c69.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-bb1c965e.js +3 -0
- package/dist/pn-market-web-components/p-bb1c965e.js.map +1 -0
- package/dist/pn-market-web-components/p-c5772021.entry.js +2 -0
- package/dist/pn-market-web-components/{p-015127bf.entry.js.map → p-c5772021.entry.js.map} +1 -1
- package/dist/pn-market-web-components/{p-fb4cdf98.js → p-cafe11a9.js} +2 -2
- package/dist/pn-market-web-components/p-cf39491b.entry.js +2 -0
- package/dist/pn-market-web-components/{p-34a98554.entry.js.map → p-cf39491b.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-d0a085cc.entry.js +2 -0
- package/dist/pn-market-web-components/{p-d7170c0e.entry.js.map → p-d0a085cc.entry.js.map} +1 -1
- package/dist/pn-market-web-components/{p-793e1339.js → p-e09a907b.js} +2 -2
- package/dist/pn-market-web-components/p-e2e3ac2f.entry.js +2 -0
- package/dist/pn-market-web-components/{p-ce87ff8a.entry.js.map → p-e2e3ac2f.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-e5ae757f.entry.js +2 -0
- package/dist/pn-market-web-components/{p-d5c45da2.entry.js.map → p-e5ae757f.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-e6e012fb.entry.js +2 -0
- package/dist/pn-market-web-components/{p-35847eda.entry.js.map → p-e6e012fb.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-e8278e9e.entry.js +2 -0
- package/dist/pn-market-web-components/{p-85b42b44.entry.js.map → p-e8278e9e.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-e916e99d.entry.js +2 -0
- package/dist/pn-market-web-components/{p-60b77eed.entry.js.map → p-e916e99d.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-ea3d6f7e.entry.js +2 -0
- package/dist/pn-market-web-components/{p-19bbac6d.entry.js.map → p-ea3d6f7e.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-ea7b0d21.entry.js +2 -0
- package/dist/pn-market-web-components/{p-4aedb76c.entry.js.map → p-ea7b0d21.entry.js.map} +1 -1
- package/dist/pn-market-web-components/{p-a73e4811.entry.js → p-eaee1dd6.entry.js} +2 -2
- package/dist/pn-market-web-components/{p-a73e4811.entry.js.map → p-eaee1dd6.entry.js.map} +1 -1
- package/dist/pn-market-web-components/p-fc157a1e.entry.js +2 -0
- package/dist/pn-market-web-components/{p-763a4e13.entry.js.map → p-fc157a1e.entry.js.map} +1 -1
- package/dist/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/dist/pn-market-web-components/pn-market-web-components.esm.js.map +1 -1
- package/dist/types/components/cards/pn-teaser-card/pn-teaser-card.d.ts +1 -1
- package/dist/types/components/input/pn-address-autofill/pn-address-autofill.d.ts +3 -2
- package/dist/types/components/input/pn-address-autofill/translations.d.ts +0 -3
- package/dist/types/components/input/pn-marketweb-search/pn-marketweb-search.d.ts +1 -1
- package/dist/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.d.ts +2 -0
- package/dist/types/components/media/pn-media-block/pn-media-block.d.ts +1 -1
- package/dist/types/components.d.ts +8 -293
- package/dist/types/globals/HeadingTag.d.ts +1 -1
- package/dist/types/utils/utils.d.ts +0 -1
- package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/bin/stencil +0 -0
- package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/static/favicon.ico +0 -0
- package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/templates/directory-index.html +0 -0
- package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/dev-server/xdg-open +0 -0
- package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/core-js.js +0 -0
- package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/dom.js +0 -0
- package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/es5-html-element.js +0 -0
- package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/index.js +0 -0
- package/dist/umd/modules/@postnord/web-components/node_modules/@stencil/core/internal/client/polyfills/system.js +0 -0
- package/dist/vscode-data.json +3 -535
- package/package.json +3 -5
- package/dist/cjs/FetchHelper-2d4c697c.js +0 -85
- package/dist/cjs/FetchHelper-2d4c697c.js.map +0 -1
- package/dist/cjs/HeadingTag-19376e1f.js +0 -12
- package/dist/cjs/HeadingTag-19376e1f.js.map +0 -1
- package/dist/cjs/LocalStorageService-e1ee3fac.js +0 -66
- package/dist/cjs/LocalStorageService-e1ee3fac.js.map +0 -1
- package/dist/cjs/MarketWebContextService-0fdc43c8.js.map +0 -1
- package/dist/cjs/alert_exclamation_circle-24f29a5b.js +0 -8
- package/dist/cjs/alert_exclamation_circle-24f29a5b.js.map +0 -1
- package/dist/cjs/angle_up-049ec1d8.js +0 -12
- package/dist/cjs/angle_up-049ec1d8.js.map +0 -1
- package/dist/cjs/close-9e014a80.js +0 -8
- package/dist/cjs/close-9e014a80.js.map +0 -1
- package/dist/cjs/index-b02670c2.js.map +0 -1
- package/dist/cjs/pn-chat-message_2.cjs.entry.js +0 -347
- package/dist/cjs/pn-chat-message_2.cjs.entry.js.map +0 -1
- package/dist/cjs/pn-chat.cjs.entry.js +0 -474
- package/dist/cjs/pn-chat.cjs.entry.js.map +0 -1
- package/dist/cjs/pn-chat.service-5a8d89b9.js +0 -155
- package/dist/cjs/pn-chat.service-5a8d89b9.js.map +0 -1
- package/dist/cjs/pn-level-up-modal.cjs.entry.js +0 -77
- package/dist/cjs/pn-level-up-modal.cjs.entry.js.map +0 -1
- package/dist/cjs/pn-level-up.cjs.entry.js +0 -139
- package/dist/cjs/pn-level-up.cjs.entry.js.map +0 -1
- package/dist/cjs/pn-level-up.service-0e8e67c2.js +0 -71
- package/dist/cjs/pn-level-up.service-0e8e67c2.js.map +0 -1
- package/dist/cjs/pn-marketweb-siteheader-login-button_4.cjs.entry.js.map +0 -1
- package/dist/cjs/pn-marketweb-siteheader-login-mypage-button.cjs.entry.js +0 -25
- package/dist/cjs/pn-marketweb-siteheader-login-mypage-button.cjs.entry.js.map +0 -1
- package/dist/cjs/pn-marketweb-table.cjs.entry.js +0 -467
- package/dist/cjs/pn-marketweb-table.cjs.entry.js.map +0 -1
- package/dist/cjs/pn-qr-code-generator.cjs.entry.js +0 -2945
- package/dist/cjs/pn-qr-code-generator.cjs.entry.js.map +0 -1
- package/dist/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.css +0 -146
- package/dist/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.js +0 -119
- package/dist/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.js.map +0 -1
- package/dist/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.js +0 -219
- package/dist/collection/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.js.map +0 -1
- package/dist/collection/components/widgets/pn-chat/pn-chat-stories-constants.js +0 -103
- package/dist/collection/components/widgets/pn-chat/pn-chat-stories-constants.js.map +0 -1
- package/dist/collection/components/widgets/pn-chat/pn-chat.css +0 -238
- package/dist/collection/components/widgets/pn-chat/pn-chat.js +0 -840
- package/dist/collection/components/widgets/pn-chat/pn-chat.js.map +0 -1
- package/dist/collection/components/widgets/pn-chat/pn-chat.models.js +0 -2
- package/dist/collection/components/widgets/pn-chat/pn-chat.models.js.map +0 -1
- package/dist/collection/components/widgets/pn-chat/pn-chat.service.js +0 -149
- package/dist/collection/components/widgets/pn-chat/pn-chat.service.js.map +0 -1
- package/dist/collection/components/widgets/pn-chat/pn-chat.stories.js +0 -116
- package/dist/collection/components/widgets/pn-chat/pn-chat.stories.js.map +0 -1
- package/dist/collection/components/widgets/pn-chat/translations.js +0 -78
- package/dist/collection/components/widgets/pn-chat/translations.js.map +0 -1
- package/dist/collection/components/widgets/pn-chat/types.js +0 -2
- package/dist/collection/components/widgets/pn-chat/types.js.map +0 -1
- package/dist/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.css +0 -94
- package/dist/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.js +0 -262
- package/dist/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.js.map +0 -1
- package/dist/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.js +0 -31
- package/dist/collection/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.js.map +0 -1
- package/dist/collection/components/widgets/pn-level-up/pn-level-up.css +0 -114
- package/dist/collection/components/widgets/pn-level-up/pn-level-up.js +0 -476
- package/dist/collection/components/widgets/pn-level-up/pn-level-up.js.map +0 -1
- package/dist/collection/components/widgets/pn-level-up/pn-level-up.models.js +0 -2
- package/dist/collection/components/widgets/pn-level-up/pn-level-up.models.js.map +0 -1
- package/dist/collection/components/widgets/pn-level-up/pn-level-up.service.js +0 -65
- package/dist/collection/components/widgets/pn-level-up/pn-level-up.service.js.map +0 -1
- package/dist/collection/components/widgets/pn-level-up/pn-level-up.stories.js +0 -88
- package/dist/collection/components/widgets/pn-level-up/pn-level-up.stories.js.map +0 -1
- package/dist/collection/components/widgets/pn-level-up/types.js +0 -2
- package/dist/collection/components/widgets/pn-level-up/types.js.map +0 -1
- package/dist/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.css +0 -96
- package/dist/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.js +0 -494
- package/dist/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.js.map +0 -1
- package/dist/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.js +0 -82
- package/dist/collection/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.js.map +0 -1
- package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.css +0 -264
- package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.js +0 -701
- package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.js.map +0 -1
- package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.service.js +0 -38
- package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.service.js.map +0 -1
- package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.js +0 -158
- package/dist/collection/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.js.map +0 -1
- package/dist/collection/components/widgets/pn-marketweb-table/translations.js +0 -81
- package/dist/collection/components/widgets/pn-marketweb-table/translations.js.map +0 -1
- package/dist/collection/components/widgets/pn-marketweb-table/types.js +0 -2
- package/dist/collection/components/widgets/pn-marketweb-table/types.js.map +0 -1
- package/dist/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.css +0 -61
- package/dist/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.js +0 -198
- package/dist/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.js.map +0 -1
- package/dist/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.js +0 -29
- package/dist/collection/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.js.map +0 -1
- package/dist/collection/globals/LocalStorageService.js +0 -50
- package/dist/collection/globals/LocalStorageService.js.map +0 -1
- package/dist/collection/globals/ScreensizeDetect.js +0 -80
- package/dist/collection/globals/ScreensizeDetect.js.map +0 -1
- package/dist/collection/globals/types.js +0 -2
- package/dist/collection/globals/types.js.map +0 -1
- package/dist/components/HeadingTag.js +0 -10
- package/dist/components/HeadingTag.js.map +0 -1
- package/dist/components/LocalStorageService.js +0 -64
- package/dist/components/LocalStorageService.js.map +0 -1
- package/dist/components/MarketWebContextService.js.map +0 -1
- package/dist/components/alert_exclamation_circle.js +0 -6
- package/dist/components/alert_exclamation_circle.js.map +0 -1
- package/dist/components/angle_up.js +0 -9
- package/dist/components/angle_up.js.map +0 -1
- package/dist/components/close.js +0 -6
- package/dist/components/close.js.map +0 -1
- package/dist/components/pn-chat-message.d.ts +0 -11
- package/dist/components/pn-chat-message.js +0 -8
- package/dist/components/pn-chat-message.js.map +0 -1
- package/dist/components/pn-chat-message2.js +0 -70
- package/dist/components/pn-chat-message2.js.map +0 -1
- package/dist/components/pn-chat.d.ts +0 -11
- package/dist/components/pn-chat.js +0 -534
- package/dist/components/pn-chat.js.map +0 -1
- package/dist/components/pn-chat.service.js +0 -153
- package/dist/components/pn-chat.service.js.map +0 -1
- package/dist/components/pn-level-up-modal.d.ts +0 -11
- package/dist/components/pn-level-up-modal.js +0 -8
- package/dist/components/pn-level-up-modal.js.map +0 -1
- package/dist/components/pn-level-up-modal2.js +0 -170
- package/dist/components/pn-level-up-modal2.js.map +0 -1
- package/dist/components/pn-level-up.d.ts +0 -11
- package/dist/components/pn-level-up.js +0 -185
- package/dist/components/pn-level-up.js.map +0 -1
- package/dist/components/pn-marketweb-carousel.d.ts +0 -11
- package/dist/components/pn-marketweb-carousel.js +0 -8
- package/dist/components/pn-marketweb-carousel.js.map +0 -1
- package/dist/components/pn-marketweb-carousel2.js +0 -326
- package/dist/components/pn-marketweb-carousel2.js.map +0 -1
- package/dist/components/pn-marketweb-table.d.ts +0 -11
- package/dist/components/pn-marketweb-table.js +0 -510
- package/dist/components/pn-marketweb-table.js.map +0 -1
- package/dist/components/pn-qr-code-generator.d.ts +0 -11
- package/dist/components/pn-qr-code-generator.js +0 -8
- package/dist/components/pn-qr-code-generator.js.map +0 -1
- package/dist/components/pn-qr-code-generator2.js +0 -2967
- package/dist/components/pn-qr-code-generator2.js.map +0 -1
- package/dist/esm/FetchHelper-4789695a.js +0 -83
- package/dist/esm/FetchHelper-4789695a.js.map +0 -1
- package/dist/esm/HeadingTag-e20016ab.js +0 -10
- package/dist/esm/HeadingTag-e20016ab.js.map +0 -1
- package/dist/esm/LocalStorageService-78b1794d.js +0 -64
- package/dist/esm/LocalStorageService-78b1794d.js.map +0 -1
- package/dist/esm/MarketWebContextService-16c15670.js +0 -245
- package/dist/esm/MarketWebContextService-16c15670.js.map +0 -1
- package/dist/esm/alert_exclamation_circle-f0fe7c7b.js +0 -6
- package/dist/esm/alert_exclamation_circle-f0fe7c7b.js.map +0 -1
- package/dist/esm/angle_up-b5f955ea.js +0 -9
- package/dist/esm/angle_up-b5f955ea.js.map +0 -1
- package/dist/esm/close-9e7bd787.js +0 -6
- package/dist/esm/close-9e7bd787.js.map +0 -1
- package/dist/esm/index-c311acd6.js.map +0 -1
- package/dist/esm/pn-chat-message_2.entry.js +0 -342
- package/dist/esm/pn-chat-message_2.entry.js.map +0 -1
- package/dist/esm/pn-chat.entry.js +0 -470
- package/dist/esm/pn-chat.entry.js.map +0 -1
- package/dist/esm/pn-chat.service-0def5c4e.js +0 -153
- package/dist/esm/pn-chat.service-0def5c4e.js.map +0 -1
- package/dist/esm/pn-level-up-modal.entry.js +0 -73
- package/dist/esm/pn-level-up-modal.entry.js.map +0 -1
- package/dist/esm/pn-level-up.entry.js +0 -135
- package/dist/esm/pn-level-up.entry.js.map +0 -1
- package/dist/esm/pn-level-up.service-5c602f23.js +0 -69
- package/dist/esm/pn-level-up.service-5c602f23.js.map +0 -1
- package/dist/esm/pn-marketweb-siteheader-login-button_4.entry.js.map +0 -1
- package/dist/esm/pn-marketweb-siteheader-login-mypage-button.entry.js +0 -21
- package/dist/esm/pn-marketweb-siteheader-login-mypage-button.entry.js.map +0 -1
- package/dist/esm/pn-marketweb-table.entry.js +0 -463
- package/dist/esm/pn-marketweb-table.entry.js.map +0 -1
- package/dist/esm/pn-qr-code-generator.entry.js +0 -2941
- package/dist/esm/pn-qr-code-generator.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-015127bf.entry.js +0 -2
- package/dist/pn-market-web-components/p-08b473e0.entry.js +0 -2
- package/dist/pn-market-web-components/p-0b5a125d.entry.js +0 -2
- package/dist/pn-market-web-components/p-0b5a125d.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-0b920554.js +0 -2
- package/dist/pn-market-web-components/p-0b920554.js.map +0 -1
- package/dist/pn-market-web-components/p-0fc01d3f.entry.js +0 -2
- package/dist/pn-market-web-components/p-17c43a96.entry.js +0 -2
- package/dist/pn-market-web-components/p-17c43a96.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-19bbac6d.entry.js +0 -2
- package/dist/pn-market-web-components/p-230ef9aa.entry.js +0 -2
- package/dist/pn-market-web-components/p-268dc1fa.entry.js +0 -2
- package/dist/pn-market-web-components/p-268dc1fa.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-28d2f7fa.entry.js +0 -2
- package/dist/pn-market-web-components/p-28d2f7fa.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-292db484.entry.js +0 -2
- package/dist/pn-market-web-components/p-2a58d83b.entry.js +0 -2
- package/dist/pn-market-web-components/p-2c19edca.entry.js +0 -2
- package/dist/pn-market-web-components/p-3478f368.js +0 -2
- package/dist/pn-market-web-components/p-3478f368.js.map +0 -1
- package/dist/pn-market-web-components/p-34a98554.entry.js +0 -2
- package/dist/pn-market-web-components/p-35847eda.entry.js +0 -2
- package/dist/pn-market-web-components/p-366fd15a.js +0 -2
- package/dist/pn-market-web-components/p-366fd15a.js.map +0 -1
- package/dist/pn-market-web-components/p-389a94e7.entry.js +0 -2
- package/dist/pn-market-web-components/p-39b75c62.entry.js +0 -2
- package/dist/pn-market-web-components/p-3a936c5d.entry.js +0 -2
- package/dist/pn-market-web-components/p-3a936c5d.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-3d10bc37.entry.js +0 -2
- package/dist/pn-market-web-components/p-3e197670.entry.js +0 -2
- package/dist/pn-market-web-components/p-40bce1b1.entry.js +0 -2
- package/dist/pn-market-web-components/p-40bce1b1.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-41cdac85.entry.js +0 -2
- package/dist/pn-market-web-components/p-4aedb76c.entry.js +0 -2
- package/dist/pn-market-web-components/p-4e924d13.entry.js +0 -2
- package/dist/pn-market-web-components/p-4e924d13.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-4f639380.entry.js +0 -2
- package/dist/pn-market-web-components/p-51f136f3.entry.js +0 -2
- package/dist/pn-market-web-components/p-51f136f3.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-542f949d.entry.js +0 -2
- package/dist/pn-market-web-components/p-5a981927.entry.js +0 -2
- package/dist/pn-market-web-components/p-5f4ccd8a.js +0 -2
- package/dist/pn-market-web-components/p-5f4ccd8a.js.map +0 -1
- package/dist/pn-market-web-components/p-60b77eed.entry.js +0 -2
- package/dist/pn-market-web-components/p-619f2143.entry.js +0 -2
- package/dist/pn-market-web-components/p-61bd81d7.entry.js +0 -2
- package/dist/pn-market-web-components/p-64851da0.entry.js +0 -2
- package/dist/pn-market-web-components/p-659a4db5.entry.js +0 -2
- package/dist/pn-market-web-components/p-65a046be.entry.js +0 -2
- package/dist/pn-market-web-components/p-66da6e15.entry.js +0 -2
- package/dist/pn-market-web-components/p-6b1d045c.js.map +0 -1
- package/dist/pn-market-web-components/p-6bec8d72.js +0 -2
- package/dist/pn-market-web-components/p-6bec8d72.js.map +0 -1
- package/dist/pn-market-web-components/p-71db6836.entry.js +0 -2
- package/dist/pn-market-web-components/p-72828265.js +0 -2
- package/dist/pn-market-web-components/p-72f57a04.entry.js +0 -2
- package/dist/pn-market-web-components/p-763a4e13.entry.js +0 -2
- package/dist/pn-market-web-components/p-76c2c01f.js +0 -2
- package/dist/pn-market-web-components/p-76c2c01f.js.map +0 -1
- package/dist/pn-market-web-components/p-79e4715c.entry.js +0 -2
- package/dist/pn-market-web-components/p-7b4f9fdf.entry.js +0 -2
- package/dist/pn-market-web-components/p-7b7629c5.entry.js +0 -2
- package/dist/pn-market-web-components/p-7db6ef34.entry.js +0 -2
- package/dist/pn-market-web-components/p-809ed802.entry.js +0 -2
- package/dist/pn-market-web-components/p-809ed802.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-82546a44.js +0 -3
- package/dist/pn-market-web-components/p-82546a44.js.map +0 -1
- package/dist/pn-market-web-components/p-84fc8e05.entry.js +0 -2
- package/dist/pn-market-web-components/p-85b42b44.entry.js +0 -2
- package/dist/pn-market-web-components/p-8d78b631.js +0 -2
- package/dist/pn-market-web-components/p-8d78b631.js.map +0 -1
- package/dist/pn-market-web-components/p-8d874454.entry.js +0 -2
- package/dist/pn-market-web-components/p-8d98f709.entry.js +0 -2
- package/dist/pn-market-web-components/p-9088d3f5.entry.js +0 -2
- package/dist/pn-market-web-components/p-920ce5f2.entry.js +0 -2
- package/dist/pn-market-web-components/p-920ce5f2.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-923aa6d2.entry.js +0 -2
- package/dist/pn-market-web-components/p-923aa6d2.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-9454075f.entry.js +0 -2
- package/dist/pn-market-web-components/p-95d32ab4.entry.js +0 -2
- package/dist/pn-market-web-components/p-a298a263.entry.js +0 -2
- package/dist/pn-market-web-components/p-a298a263.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-ad282b7c.entry.js +0 -2
- package/dist/pn-market-web-components/p-b9590d81.entry.js +0 -2
- package/dist/pn-market-web-components/p-c4e353b3.entry.js +0 -2
- package/dist/pn-market-web-components/p-c89cb749.entry.js +0 -2
- package/dist/pn-market-web-components/p-c9038b03.entry.js +0 -2
- package/dist/pn-market-web-components/p-cbb1d57d.entry.js +0 -2
- package/dist/pn-market-web-components/p-cda742ba.entry.js +0 -2
- package/dist/pn-market-web-components/p-cda742ba.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-ce87ff8a.entry.js +0 -2
- package/dist/pn-market-web-components/p-cf8a1fb9.js +0 -2
- package/dist/pn-market-web-components/p-cf8a1fb9.js.map +0 -1
- package/dist/pn-market-web-components/p-d17af75d.entry.js +0 -2
- package/dist/pn-market-web-components/p-d5c45da2.entry.js +0 -2
- package/dist/pn-market-web-components/p-d7170c0e.entry.js +0 -2
- package/dist/pn-market-web-components/p-d75a2f7c.entry.js +0 -2
- package/dist/pn-market-web-components/p-d75a2f7c.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-da56370b.entry.js +0 -2
- package/dist/pn-market-web-components/p-daa74e60.entry.js +0 -2
- package/dist/pn-market-web-components/p-dc2ee6f8.entry.js +0 -2
- package/dist/pn-market-web-components/p-dc2ee6f8.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-e8622338.entry.js +0 -2
- package/dist/pn-market-web-components/p-eb21f772.entry.js +0 -2
- package/dist/pn-market-web-components/p-eb21f772.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-efab81a9.entry.js +0 -2
- package/dist/pn-market-web-components/p-efab81a9.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-f28059f4.entry.js +0 -2
- package/dist/pn-market-web-components/p-f28d0971.entry.js +0 -2
- package/dist/pn-market-web-components/p-f28d0971.entry.js.map +0 -1
- package/dist/pn-market-web-components/p-f4b14be8.entry.js +0 -2
- package/dist/pn-market-web-components/p-f5d03222.entry.js +0 -2
- package/dist/pn-market-web-components/p-fe466661.js +0 -2
- package/dist/types/components/widgets/pn-chat/pn-chat-message/pn-chat-message.d.ts +0 -11
- package/dist/types/components/widgets/pn-chat/pn-chat-message/pn-chat-message.stories.d.ts +0 -7
- package/dist/types/components/widgets/pn-chat/pn-chat-stories-constants.d.ts +0 -43
- package/dist/types/components/widgets/pn-chat/pn-chat.d.ts +0 -72
- package/dist/types/components/widgets/pn-chat/pn-chat.models.d.ts +0 -22
- package/dist/types/components/widgets/pn-chat/pn-chat.service.d.ts +0 -26
- package/dist/types/components/widgets/pn-chat/pn-chat.stories.d.ts +0 -8
- package/dist/types/components/widgets/pn-chat/translations.d.ts +0 -77
- package/dist/types/components/widgets/pn-chat/types.d.ts +0 -68
- package/dist/types/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.d.ts +0 -23
- package/dist/types/components/widgets/pn-level-up/pn-level-up-modal/pn-level-up-modal.stories.d.ts +0 -5
- package/dist/types/components/widgets/pn-level-up/pn-level-up.d.ts +0 -43
- package/dist/types/components/widgets/pn-level-up/pn-level-up.models.d.ts +0 -22
- package/dist/types/components/widgets/pn-level-up/pn-level-up.service.d.ts +0 -16
- package/dist/types/components/widgets/pn-level-up/pn-level-up.stories.d.ts +0 -7
- package/dist/types/components/widgets/pn-level-up/types.d.ts +0 -1
- package/dist/types/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.d.ts +0 -48
- package/dist/types/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.stories.d.ts +0 -7
- package/dist/types/components/widgets/pn-marketweb-table/pn-marketweb-table.d.ts +0 -55
- package/dist/types/components/widgets/pn-marketweb-table/pn-marketweb-table.service.d.ts +0 -11
- package/dist/types/components/widgets/pn-marketweb-table/pn-marketweb-table.stories.d.ts +0 -26
- package/dist/types/components/widgets/pn-marketweb-table/translations.d.ts +0 -80
- package/dist/types/components/widgets/pn-marketweb-table/types.d.ts +0 -38
- package/dist/types/components/widgets/pn-qr-code-generator/pn-qr-code-generator.d.ts +0 -23
- package/dist/types/components/widgets/pn-qr-code-generator/pn-qr-code-generator.stories.d.ts +0 -5
- package/dist/types/globals/LocalStorageService.d.ts +0 -14
- package/dist/types/globals/ScreensizeDetect.d.ts +0 -29
- package/dist/types/globals/types.d.ts +0 -20
- /package/dist/pn-market-web-components/{p-fe466661.js.map → p-13190b30.js.map} +0 -0
- /package/dist/pn-market-web-components/{p-ad9a7633.entry.js.map → p-155c2049.entry.js.map} +0 -0
- /package/dist/pn-market-web-components/{p-8836de82.js.map → p-2509d18d.js.map} +0 -0
- /package/dist/pn-market-web-components/{p-8a651698.entry.js.map → p-560e5291.entry.js.map} +0 -0
- /package/dist/pn-market-web-components/{p-72828265.js.map → p-652f97b9.js.map} +0 -0
- /package/dist/pn-market-web-components/{p-f9083b7a.js.map → p-8af1b914.js.map} +0 -0
- /package/dist/pn-market-web-components/{p-930e2943.js.map → p-959a37d9.js.map} +0 -0
- /package/dist/pn-market-web-components/{p-fb4cdf98.js.map → p-cafe11a9.js.map} +0 -0
- /package/dist/pn-market-web-components/{p-793e1339.js.map → p-e09a907b.js.map} +0 -0
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { H as HeadingTag } from './HeadingTag.js';
|
|
3
|
-
import { P as PnLevelUpService, d as defineCustomElement$3 } from './pn-level-up-modal2.js';
|
|
4
|
-
import { L as LocalStorageService } from './LocalStorageService.js';
|
|
5
|
-
import { d as defineCustomElement$2 } from './pn-qr-code-generator2.js';
|
|
6
|
-
|
|
7
|
-
const icon = '<svg class="pn-icon-svg" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path fill="#000" fill-rule="evenodd" d="M23.591 9.136c.93-5.875-2.801-8.22-8.152-8.22H9.531L8.744 5.91h1.003c.55 0 1.07-.252 1.293-.616a.6.6 0 0 0 .104-.319c0-.207-.141-.363-.283-.467-.386-.29-.468-.593-.468-.809q-.002-.064.008-.118c.082-.527.795-1.098 1.739-1.098.564 0 .995.133 1.256.378.23.215.32.52.252.838-.082.379-.46.69-.676.846-.572.4-.498.75-.46.853.118.312.572.512.92.512h1.524v.007c2.08.015 3.195.972 2.846 3.198-.327 2.07-1.917 2.96-3.812 2.974l-.75 4.778h1.107c4.674 0 8.494-2.997 9.244-7.73M7.666 12.489l.981-6.172H7.6c-.49 0-1.122-.274-1.307-.779-.06-.17-.201-.757.609-1.328.29-.2.475-.423.513-.593a.46.46 0 0 0-.134-.453c-.178-.17-.528-.267-.974-.267-.75 0-1.278.43-1.33.742-.037.23.141.415.297.534.469.349.58.853.29 1.328-.297.49-.943.809-1.635.816h-1.07c-.05.343-.547 3.494-.985 6.27v.002c-.329 2.085-.624 3.958-.672 4.27h5.804l.103-.664c.12-.77.327-2.103.58-3.706zM.89 18.988h2.37c1.011 0 1.256.511 1.182.979-.06.378-.32.66-.765.846.564.215.787.548.706 1.075-.104.66-.677 1.15-1.427 1.15H.257zm1.568 1.676c.46 0 .676-.245.72-.534.045-.312-.096-.527-.557-.527h-.408l-.164 1.061zm-.253 1.75c.476 0 .75-.192.818-.585.052-.341-.141-.542-.602-.542h-.468l-.179 1.135h.431zm4.437.364c.148.267.446.334 1.062.29l.357-.831c-.35-.008-.364-.104-.312-.416l.141-.89c.12-.786-.52-1.083-1.24-1.083-.566 0-1.056.17-1.561.534l-.142.92c.588-.4.93-.534 1.338-.534.35 0 .46.104.431.386-.167.113-.452.185-.75.26-.364.09-.747.187-.96.37a.9.9 0 0 0-.319.534c-.067.4.179.764.877.764.387 0 .75-.104 1.078-.304m-.411-.949c.145-.042.291-.085.403-.156l-.067.445c-.022.141-.03.215-.014.29a1.17 1.17 0 0 1-.625.214c-.2 0-.327-.148-.297-.348.044-.283.322-.364.6-.445M8.855 19.9h1.234l-.067.408c.394-.334.69-.46 1.077-.46.691 0 1.011.423.9 1.113l-.32 2.07h-1.234l.268-1.714c.052-.312-.045-.46-.282-.46-.194 0-.372.104-.543.334l-.282 1.832H8.372zm5.336-.912h-1.234l-.631 4.043h1.233l.223-1.447h.015l.936 1.447h1.553l-1.218-1.796 1.516-1.335H15.06l-1.181 1.076zm3.135 0h1.42l-.624 4.043h-1.42zm4.14 0h-2.029l-.631 4.043h2.288c1.375 0 2.104-1.046 2.245-1.966.148-.942-.305-2.078-1.873-2.078m.468 2.017c-.111.72-.49 1.061-1.181 1.061h-.372l.327-2.121h.379c.765 0 .929.526.847 1.06" clip-rule="evenodd"/></svg>';
|
|
8
|
-
const bankid = icon;
|
|
9
|
-
|
|
10
|
-
const pnLevelUpCss = "pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}:root{--usp-preamble-margin:clamp(1.5rem, 3vw, 1.8rem)}pn-level-up .pn-level-up{background:linear-gradient(90deg, #ffffff 0%, #effbff 17.44%);color:#2d2013;display:flex;flex-direction:column-reverse;max-width:100%;padding:clamp(2rem, 5vw, 5rem)}pn-level-up .pn-level-up .heading{font-size:clamp(2rem, 4vw, 3rem);font-weight:700;margin-bottom:1rem}pn-level-up .pn-level-up .preamble{font-size:clamp(1rem, 4vw, 1.6rem);margin-top:var(--usp-preamble-margin);margin-bottom:var(--usp-preamble-margin)}pn-level-up .pn-level-up .cta{display:flex;font-size:clamp(1rem, 4vw, 1.6rem);flex-direction:column;gap:clamp(1rem, 4vw, 1.2rem)}pn-level-up .pn-level-up .image-container{display:flex;align-items:center;justify-content:center;margin-bottom:2rem}pn-level-up .pn-level-up .image-container .graphics{--pn-width:12rem !important;--pn-height:12rem !important}pn-level-up .pn-level-up .image-container .image{border-radius:50%;width:20rem;height:20rem;object-fit:cover}@media (min-width: 768px){pn-level-up .pn-level-up{flex-direction:row;align-items:center;justify-content:space-between}pn-level-up .pn-level-up .content{max-width:70%}pn-level-up .pn-level-up .cta{flex-direction:row;gap:clamp(2rem, 3vw, 3rem);padding:0}pn-level-up .pn-level-up .image-container{margin-bottom:0}pn-level-up .pn-level-up .image-container .graphics{--pn-width:15rem;--pn-height:15rem}}@media (min-width: 1200px){pn-level-up .pn-level-up{max-width:1140px;margin:0 auto}pn-level-up .pn-level-up .image-container .graphics{--pn-width:18rem;--pn-height:18rem}}@media (min-width: 1640px){pn-level-up .pn-level-up{max-width:1440px}pn-level-up .pn-level-up .image-container .graphics{--pn-width:20rem;--pn-height:20rem}}";
|
|
11
|
-
const PnLevelUpStyle0 = pnLevelUpCss;
|
|
12
|
-
|
|
13
|
-
const PnLevelUp$1 = /*@__PURE__*/ proxyCustomElement(class PnLevelUp extends HTMLElement {
|
|
14
|
-
constructor() {
|
|
15
|
-
super();
|
|
16
|
-
this.__registerHost();
|
|
17
|
-
this.heading = undefined;
|
|
18
|
-
this.headingLevel = 'h2';
|
|
19
|
-
this.preamble = undefined;
|
|
20
|
-
this.imageUrl = undefined;
|
|
21
|
-
this.imageAltText = undefined;
|
|
22
|
-
this.endpoint = undefined;
|
|
23
|
-
this.webModalContinueOtherDeviceLabel = undefined;
|
|
24
|
-
this.webModalContinueThisDeviceLabel = undefined;
|
|
25
|
-
this.mobileModalContinueThisDeviceLabel = undefined;
|
|
26
|
-
this.mobileModalContinueOtherDeviceLabel = undefined;
|
|
27
|
-
this.modalInstructionPhoneLineOne = undefined;
|
|
28
|
-
this.modalInstructionPhoneLineTwo = undefined;
|
|
29
|
-
this.modalInstructionPhoneLineThree = undefined;
|
|
30
|
-
this.modalHeadingText = undefined;
|
|
31
|
-
this.modalOutdatedQRMessage = undefined;
|
|
32
|
-
this.modalExpiresInMessage = undefined;
|
|
33
|
-
this.qrAriaLabel = undefined;
|
|
34
|
-
this.leveledupMessage = undefined;
|
|
35
|
-
this.isLeveledUp = false;
|
|
36
|
-
this.isLoading = false;
|
|
37
|
-
this.isRecentLeveledUp = false;
|
|
38
|
-
this.errorMessage = undefined;
|
|
39
|
-
}
|
|
40
|
-
_android = 'android';
|
|
41
|
-
_ios = 'ios';
|
|
42
|
-
_web = 'web';
|
|
43
|
-
levelupLocalStorageKey = 'levelup';
|
|
44
|
-
_system;
|
|
45
|
-
_levelupService;
|
|
46
|
-
_storage = new LocalStorageService();
|
|
47
|
-
componentWillLoad() {
|
|
48
|
-
if (!this.isLeveledUp) {
|
|
49
|
-
this.checkRecentLevelUp();
|
|
50
|
-
}
|
|
51
|
-
this._levelupService = new PnLevelUpService(this.endpoint);
|
|
52
|
-
this._system = this.getDeviceType();
|
|
53
|
-
}
|
|
54
|
-
getDeviceType() {
|
|
55
|
-
const userAgent = navigator.userAgent;
|
|
56
|
-
if (/android/i.test(userAgent)) {
|
|
57
|
-
return this._android;
|
|
58
|
-
}
|
|
59
|
-
if (/iPad|iPhone|iPod/.test(userAgent) && !window.MSStream) {
|
|
60
|
-
return this._ios;
|
|
61
|
-
}
|
|
62
|
-
return this._web;
|
|
63
|
-
}
|
|
64
|
-
openLocalApp = async () => {
|
|
65
|
-
this.isLoading = true;
|
|
66
|
-
let authResponse = await this._levelupService.levelupAuthorize(this._system, null);
|
|
67
|
-
window.location.href = authResponse.url;
|
|
68
|
-
this.isLoading = false;
|
|
69
|
-
await this._levelupService.levelupTokenGrant(authResponse.id, '30', null).then((response) => {
|
|
70
|
-
if (response.code === 200) {
|
|
71
|
-
this._levelupService.newLevelupUser();
|
|
72
|
-
this.isRecentLeveledUp = true;
|
|
73
|
-
this.errorMessage = null;
|
|
74
|
-
}
|
|
75
|
-
else {
|
|
76
|
-
this.errorMessage = response.customMessage;
|
|
77
|
-
}
|
|
78
|
-
});
|
|
79
|
-
};
|
|
80
|
-
openModal() {
|
|
81
|
-
let levelUpModal = document.getElementsByTagName('pn-level-up-modal')[0];
|
|
82
|
-
let openAttributeValue = levelUpModal.getAttribute('open');
|
|
83
|
-
if (openAttributeValue === 'open') {
|
|
84
|
-
levelUpModal.setAttribute('open', 'close');
|
|
85
|
-
}
|
|
86
|
-
levelUpModal.setAttribute('open', 'open');
|
|
87
|
-
}
|
|
88
|
-
renderWebButtonOptions() {
|
|
89
|
-
return (h("div", { class: "cta", role: "group" }, this.webModalContinueOtherDeviceLabel &&
|
|
90
|
-
h("pn-button", { icon: bankid, "left-icon": 'true', appearance: 'default', label: this.webModalContinueOtherDeviceLabel, onClick: () => this.openModal() }), this.webModalContinueThisDeviceLabel &&
|
|
91
|
-
h("pn-button", { icon: bankid, "left-icon": 'true', appearance: 'light', variant: 'outlined', label: this.webModalContinueThisDeviceLabel, onClick: () => this.openLocalApp(), loading: this.isLoading })));
|
|
92
|
-
}
|
|
93
|
-
renderMobileButtonOptions() {
|
|
94
|
-
return (h("div", { class: "cta", role: "group" }, this.mobileModalContinueThisDeviceLabel &&
|
|
95
|
-
h("pn-button", { icon: bankid, "left-icon": 'true', appearance: 'default', label: this.mobileModalContinueThisDeviceLabel, onClick: () => this.openLocalApp(), loading: this.isLoading }), this.mobileModalContinueOtherDeviceLabel &&
|
|
96
|
-
h("pn-button", { icon: bankid, "left-icon": 'true', appearance: 'light', variant: 'outlined', label: this.mobileModalContinueOtherDeviceLabel, onClick: () => this.openModal() })));
|
|
97
|
-
}
|
|
98
|
-
presentResult() {
|
|
99
|
-
if (this.isLeveledUp) {
|
|
100
|
-
return null;
|
|
101
|
-
}
|
|
102
|
-
return (h("pn-toast", { text: this.leveledupMessage, appearance: 'success' }));
|
|
103
|
-
}
|
|
104
|
-
checkRecentLevelUp() {
|
|
105
|
-
let levelupStorage = this._storage.get(this.levelupLocalStorageKey);
|
|
106
|
-
if (levelupStorage === null) {
|
|
107
|
-
this.isRecentLeveledUp = false;
|
|
108
|
-
}
|
|
109
|
-
else if (levelupStorage.expire > Date.now()) {
|
|
110
|
-
this.isRecentLeveledUp = true;
|
|
111
|
-
}
|
|
112
|
-
else {
|
|
113
|
-
this._storage.remove(this.levelupLocalStorageKey);
|
|
114
|
-
this.isRecentLeveledUp = false;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
get hasButtonTexts() {
|
|
118
|
-
if (this._system === this._web) {
|
|
119
|
-
return Boolean(this.webModalContinueOtherDeviceLabel) && Boolean(this.webModalContinueThisDeviceLabel);
|
|
120
|
-
}
|
|
121
|
-
else {
|
|
122
|
-
return Boolean(this.mobileModalContinueOtherDeviceLabel) && Boolean(this.mobileModalContinueThisDeviceLabel);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
render() {
|
|
126
|
-
const headingId = 'pn-level-up-heading';
|
|
127
|
-
return (h(Host, { key: 'f48ec4a1e559a8967176b29c1229f0e9db250ee0' }, this.isLeveledUp || this.isRecentLeveledUp
|
|
128
|
-
? (this.presentResult())
|
|
129
|
-
: (h("div", { class: "pn-level-up", role: "region", "aria-labelledby": this.heading ? headingId : undefined }, h("div", { class: "content" }, this.heading && (h(HeadingTag, { id: headingId, level: this.headingLevel, cssClass: "heading" }, this.heading)), this.preamble && (h("div", { class: "preamble" }, this.preamble)), this.hasButtonTexts && this._system === this._web && this.renderWebButtonOptions(), this.hasButtonTexts && this._system !== this._web && this.renderMobileButtonOptions()), h("div", { class: "image-container", "aria-hidden": !this.imageAltText }, this.imageUrl && h("img", { class: "image graphics", src: this.imageUrl, alt: this.imageAltText || '', loading: "lazy" })))), this.errorMessage && h("pn-toast", { key: 'a6f9a66b2a8d9007a8aed5e7f07a34f19f3c31b5', text: this.errorMessage, appearance: 'warning' }), h("pn-level-up-modal", { key: '73cafdd318db53a36a048b6b237234c443466a91', open: 'close', endpoint: this.endpoint, "instruction-phone-line-one": this.modalInstructionPhoneLineOne, "instruction-phone-line-two": this.modalInstructionPhoneLineTwo, "instruction-phone-line-three": this.modalInstructionPhoneLineThree, "heading-text": this.modalHeadingText, "outdated-q-r-message": this.modalOutdatedQRMessage, "expires-in-message": this.modalExpiresInMessage, "qr-aria-label": this.qrAriaLabel, system: this._android })));
|
|
130
|
-
}
|
|
131
|
-
static get style() { return PnLevelUpStyle0; }
|
|
132
|
-
}, [0, "pn-level-up", {
|
|
133
|
-
"heading": [1],
|
|
134
|
-
"headingLevel": [8, "heading-level"],
|
|
135
|
-
"preamble": [1],
|
|
136
|
-
"imageUrl": [1, "image-url"],
|
|
137
|
-
"imageAltText": [1, "image-alt-text"],
|
|
138
|
-
"endpoint": [1],
|
|
139
|
-
"webModalContinueOtherDeviceLabel": [1, "web-modal-continue-other-device-label"],
|
|
140
|
-
"webModalContinueThisDeviceLabel": [1, "web-modal-continue-this-device-label"],
|
|
141
|
-
"mobileModalContinueThisDeviceLabel": [1, "mobile-modal-continue-this-device-label"],
|
|
142
|
-
"mobileModalContinueOtherDeviceLabel": [1, "mobile-modal-continue-other-device-label"],
|
|
143
|
-
"modalInstructionPhoneLineOne": [1, "modal-instruction-phone-line-one"],
|
|
144
|
-
"modalInstructionPhoneLineTwo": [1, "modal-instruction-phone-line-two"],
|
|
145
|
-
"modalInstructionPhoneLineThree": [1, "modal-instruction-phone-line-three"],
|
|
146
|
-
"modalHeadingText": [1, "modal-heading-text"],
|
|
147
|
-
"modalOutdatedQRMessage": [1, "modal-outdated-q-r-message"],
|
|
148
|
-
"modalExpiresInMessage": [1, "modal-expires-in-message"],
|
|
149
|
-
"qrAriaLabel": [1, "qr-aria-label"],
|
|
150
|
-
"leveledupMessage": [1, "leveledup-message"],
|
|
151
|
-
"isLeveledUp": [4, "is-leveled-up"],
|
|
152
|
-
"isLoading": [32],
|
|
153
|
-
"isRecentLeveledUp": [32],
|
|
154
|
-
"errorMessage": [32]
|
|
155
|
-
}]);
|
|
156
|
-
function defineCustomElement$1() {
|
|
157
|
-
if (typeof customElements === "undefined") {
|
|
158
|
-
return;
|
|
159
|
-
}
|
|
160
|
-
const components = ["pn-level-up", "pn-level-up-modal", "pn-qr-code-generator"];
|
|
161
|
-
components.forEach(tagName => { switch (tagName) {
|
|
162
|
-
case "pn-level-up":
|
|
163
|
-
if (!customElements.get(tagName)) {
|
|
164
|
-
customElements.define(tagName, PnLevelUp$1);
|
|
165
|
-
}
|
|
166
|
-
break;
|
|
167
|
-
case "pn-level-up-modal":
|
|
168
|
-
if (!customElements.get(tagName)) {
|
|
169
|
-
defineCustomElement$3();
|
|
170
|
-
}
|
|
171
|
-
break;
|
|
172
|
-
case "pn-qr-code-generator":
|
|
173
|
-
if (!customElements.get(tagName)) {
|
|
174
|
-
defineCustomElement$2();
|
|
175
|
-
}
|
|
176
|
-
break;
|
|
177
|
-
} });
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
const PnLevelUp = PnLevelUp$1;
|
|
181
|
-
const defineCustomElement = defineCustomElement$1;
|
|
182
|
-
|
|
183
|
-
export { PnLevelUp, defineCustomElement };
|
|
184
|
-
|
|
185
|
-
//# sourceMappingURL=pn-level-up.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"pn-level-up.js","mappings":";;;;;;AAAA,MAAM,IAAI,GAAG,8uEAA8uE,CAAC;AACrvE,MAAM,MAAM,GAAG,IAAI;;ACD1B,MAAM,YAAY,GAAG,gjEAAgjE,CAAC;AACtkE,wBAAe,YAAY;;MCWdA,WAAS;;;;;4BAEiB,IAAI;;;;;;;;;;;;;;;;;2BAiBV,KAAK;yBAEE,KAAK;iCACG,KAAK;;;IAGlC,QAAQ,GAAe,SAAS,CAAC;IACjC,IAAI,GAAe,KAAK,CAAC;IACzB,IAAI,GAAe,KAAK,CAAC;IACzB,sBAAsB,GAAG,SAAS,CAAC;IAE5C,OAAO,CAAa;IACpB,eAAe,CAAmB;IAClC,QAAQ,GAAwB,IAAI,mBAAmB,EAAE,CAAC;IAElE,iBAAiB;QACf,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE;YACrB,IAAI,CAAC,kBAAkB,EAAE,CAAC;SAC3B;QAED,IAAI,CAAC,eAAe,GAAG,IAAI,gBAAgB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC3D,IAAI,CAAC,OAAO,GAAG,IAAI,CA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up.scss?tag=pn-level-up","src/components/widgets/pn-level-up/pn-level-up.tsx"],"sourcesContent":["const icon = '<svg class=\"pn-icon-svg\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\"><path fill=\"#000\" fill-rule=\"evenodd\" d=\"M23.591 9.136c.93-5.875-2.801-8.22-8.152-8.22H9.531L8.744 5.91h1.003c.55 0 1.07-.252 1.293-.616a.6.6 0 0 0 .104-.319c0-.207-.141-.363-.283-.467-.386-.29-.468-.593-.468-.809q-.002-.064.008-.118c.082-.527.795-1.098 1.739-1.098.564 0 .995.133 1.256.378.23.215.32.52.252.838-.082.379-.46.69-.676.846-.572.4-.498.75-.46.853.118.312.572.512.92.512h1.524v.007c2.08.015 3.195.972 2.846 3.198-.327 2.07-1.917 2.96-3.812 2.974l-.75 4.778h1.107c4.674 0 8.494-2.997 9.244-7.73M7.666 12.489l.981-6.172H7.6c-.49 0-1.122-.274-1.307-.779-.06-.17-.201-.757.609-1.328.29-.2.475-.423.513-.593a.46.46 0 0 0-.134-.453c-.178-.17-.528-.267-.974-.267-.75 0-1.278.43-1.33.742-.037.23.141.415.297.534.469.349.58.853.29 1.328-.297.49-.943.809-1.635.816h-1.07c-.05.343-.547 3.494-.985 6.27v.002c-.329 2.085-.624 3.958-.672 4.27h5.804l.103-.664c.12-.77.327-2.103.58-3.706zM.89 18.988h2.37c1.011 0 1.256.511 1.182.979-.06.378-.32.66-.765.846.564.215.787.548.706 1.075-.104.66-.677 1.15-1.427 1.15H.257zm1.568 1.676c.46 0 .676-.245.72-.534.045-.312-.096-.527-.557-.527h-.408l-.164 1.061zm-.253 1.75c.476 0 .75-.192.818-.585.052-.341-.141-.542-.602-.542h-.468l-.179 1.135h.431zm4.437.364c.148.267.446.334 1.062.29l.357-.831c-.35-.008-.364-.104-.312-.416l.141-.89c.12-.786-.52-1.083-1.24-1.083-.566 0-1.056.17-1.561.534l-.142.92c.588-.4.93-.534 1.338-.534.35 0 .46.104.431.386-.167.113-.452.185-.75.26-.364.09-.747.187-.96.37a.9.9 0 0 0-.319.534c-.067.4.179.764.877.764.387 0 .75-.104 1.078-.304m-.411-.949c.145-.042.291-.085.403-.156l-.067.445c-.022.141-.03.215-.014.29a1.17 1.17 0 0 1-.625.214c-.2 0-.327-.148-.297-.348.044-.283.322-.364.6-.445M8.855 19.9h1.234l-.067.408c.394-.334.69-.46 1.077-.46.691 0 1.011.423.9 1.113l-.32 2.07h-1.234l.268-1.714c.052-.312-.045-.46-.282-.46-.194 0-.372.104-.543.334l-.282 1.832H8.372zm5.336-.912h-1.234l-.631 4.043h1.233l.223-1.447h.015l.936 1.447h1.553l-1.218-1.796 1.516-1.335H15.06l-1.181 1.076zm3.135 0h1.42l-.624 4.043h-1.42zm4.14 0h-2.029l-.631 4.043h2.288c1.375 0 2.104-1.046 2.245-1.966.148-.942-.305-2.078-1.873-2.078m.468 2.017c-.111.72-.49 1.061-1.181 1.061h-.372l.327-2.121h.379c.765 0 .929.526.847 1.06\" clip-rule=\"evenodd\"/></svg>';\nexport const bankid = icon;\n","@import '../../../globals/main.scss';\n\n:root {\n --usp-preamble-margin: clamp(1.5rem, 3vw, 1.8rem);\n}\n\npn-level-up {\n .pn-level-up {\n background: linear-gradient(90deg, $white 0%, $blue25 17.44%);\n color: $gray900;\n display: flex;\n flex-direction: column-reverse;\n max-width: 100%;\n padding: clamp(2rem, 5vw, 5rem);\n\n .heading {\n font-size: clamp(2rem, 4vw, 3rem);\n font-weight: 700;\n margin-bottom: 1rem;\n }\n\n .preamble {\n font-size: clamp(1rem, 4vw, 1.6rem);\n margin-top: var(--usp-preamble-margin);\n margin-bottom: var(--usp-preamble-margin);\n }\n\n .cta {\n display: flex;\n font-size: clamp(1rem, 4vw, 1.6rem);\n flex-direction: column;\n gap: clamp(1rem, 4vw, 1.2rem);\n }\n\n .image-container {\n display: flex;\n align-items: center;\n justify-content: center;\n margin-bottom: 2rem;\n\n .graphics {\n --pn-width: #{$graphicsWidth} !important;\n --pn-height: #{$graphicsWidth} !important;\n }\n\n .image {\n border-radius: 50%;\n width: 20rem;\n height: 20rem;\n object-fit: cover;\n }\n }\n\n @media (min-width: $min-width-md) {\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n\n .content {\n max-width: 70%;\n }\n\n .cta {\n flex-direction: row;\n gap: clamp(2rem, 3vw, 3rem);\n padding: 0;\n }\n\n .image-container {\n margin-bottom: 0;\n\n .graphics {\n --pn-width: #{$graphicsWidthMd};\n --pn-height: #{$graphicsWidthMd};\n }\n }\n }\n\n @media (min-width: $min-width-xl) {\n max-width: $max-width-xl;\n margin: 0 auto;\n\n .image-container {\n .graphics {\n --pn-width: #{$graphicsWidthXl};\n --pn-height: #{$graphicsWidthXl};\n }\n }\n }\n\n @media (min-width: $min-width-xxl) {\n max-width: $max-width-xxl;\n\n .image-container {\n .graphics {\n --pn-width: #{$graphicsWidthXxl};\n --pn-height: #{$graphicsWidthXxl};\n }\n }\n }\n }\n}","import { HeadingLevel } from '@/components';\nimport { HeadingTag } from '@/globals/HeadingTag';\nimport { Component, Host, Prop, h, State } from '@stencil/core';\nimport { bankid } from 'pn-design-assets/pn-assets/icons.js';\nimport { DeviceType } from './types';\nimport { PnLevelUpService } from './pn-level-up.service';\nimport { LocalStorageService } from '@/globals/LocalStorageService';\n\n@Component({\n tag: 'pn-level-up',\n styleUrl: 'pn-level-up.scss'\n})\nexport class PnLevelUp {\n @Prop() heading?: string;\n @Prop() headingLevel: HeadingLevel = 'h2';\n @Prop() preamble?: string;\n @Prop() imageUrl?: string;\n @Prop() imageAltText?: string;\n @Prop() endpoint: string;\n @Prop() webModalContinueOtherDeviceLabel: string;\n @Prop() webModalContinueThisDeviceLabel: string;\n @Prop() mobileModalContinueThisDeviceLabel: string;\n @Prop() mobileModalContinueOtherDeviceLabel: string;\n @Prop() modalInstructionPhoneLineOne: string;\n @Prop() modalInstructionPhoneLineTwo: string;\n @Prop() modalInstructionPhoneLineThree: string;\n @Prop() modalHeadingText: string;\n @Prop() modalOutdatedQRMessage: string;\n @Prop() modalExpiresInMessage: string;\n @Prop() qrAriaLabel: string;\n @Prop() leveledupMessage: string;\n @Prop() isLeveledUp: boolean = false;\n\n @State() private isLoading: boolean = false;\n @State() private isRecentLeveledUp: boolean = false;\n @State() private errorMessage: string;\n\n private readonly _android: DeviceType = 'android';\n private readonly _ios: DeviceType = 'ios';\n private readonly _web: DeviceType = 'web';\n private readonly levelupLocalStorageKey = 'levelup';\n\n private _system: DeviceType;\n private _levelupService: PnLevelUpService;\n private _storage: LocalStorageService = new LocalStorageService();\n\n componentWillLoad() {\n if (!this.isLeveledUp) {\n this.checkRecentLevelUp();\n }\n\n this._levelupService = new PnLevelUpService(this.endpoint);\n this._system = this.getDeviceType();\n }\n\n getDeviceType(): DeviceType {\n const userAgent = navigator.userAgent;\n \n if (/android/i.test(userAgent)) {\n return this._android;\n }\n \n if (/iPad|iPhone|iPod/.test(userAgent) && !(window as any).MSStream) {\n return this._ios;\n }\n \n return this._web;\n }\n\n private openLocalApp = async () => {\n this.isLoading = true;\n let authResponse = await this._levelupService.levelupAuthorize(this._system, null)\n window.location.href = authResponse.url;\n this.isLoading = false;\n await this._levelupService.levelupTokenGrant(authResponse.id, '30', null).then((response) => {\n if (response.code === 200) {\n this._levelupService.newLevelupUser();\n this.isRecentLeveledUp = true;\n this.errorMessage = null;\n }\n else {\n this.errorMessage = response.customMessage;\n }\n });\n }\n\n private openModal() {\n let levelUpModal = document.getElementsByTagName('pn-level-up-modal')[0];\n let openAttributeValue = levelUpModal.getAttribute('open');\n\n if (openAttributeValue === 'open') {\n levelUpModal.setAttribute('open', 'close');\n }\n\n levelUpModal.setAttribute('open', 'open');\n }\n\n private renderWebButtonOptions() {\n return ( \n <div class=\"cta\" role=\"group\">\n {this.webModalContinueOtherDeviceLabel &&\n <pn-button\n icon={bankid}\n left-icon='true'\n appearance='default'\n label={this.webModalContinueOtherDeviceLabel}\n onClick={() => this.openModal()}>\n </pn-button>}\n {this.webModalContinueThisDeviceLabel &&\n <pn-button\n icon={bankid}\n left-icon='true'\n appearance='light'\n variant='outlined'\n label={this.webModalContinueThisDeviceLabel}\n onClick={() => this.openLocalApp()}\n loading={this.isLoading}>\n </pn-button>}\n </div>);\n }\n\n private renderMobileButtonOptions() {\n return (\n <div class=\"cta\" role=\"group\">\n {this.mobileModalContinueThisDeviceLabel &&\n <pn-button\n icon={bankid}\n left-icon='true'\n appearance='default'\n label={this.mobileModalContinueThisDeviceLabel}\n onClick={() => this.openLocalApp()}\n loading={this.isLoading}>\n </pn-button>}\n {this.mobileModalContinueOtherDeviceLabel &&\n <pn-button\n icon={bankid}\n left-icon='true'\n appearance='light'\n variant='outlined'\n label={this.mobileModalContinueOtherDeviceLabel}\n onClick={() => this.openModal()}>\n </pn-button>}\n </div>);\n }\n\n private presentResult() {\n if (this.isLeveledUp) {\n return null;\n }\n\n return (<pn-toast text={this.leveledupMessage} appearance='success'></pn-toast>);\n }\n\n private checkRecentLevelUp() {\n let levelupStorage = this._storage.get(this.levelupLocalStorageKey);\n if (levelupStorage === null) {\n this.isRecentLeveledUp = false;\n }\n else if (levelupStorage.expire > Date.now()) {\n this.isRecentLeveledUp = true;\n }\n else {\n this._storage.remove(this.levelupLocalStorageKey);\n this.isRecentLeveledUp = false;\n }\n }\n\n private get hasButtonTexts(): boolean {\n if (this._system === this._web) {\n return Boolean(this.webModalContinueOtherDeviceLabel) && Boolean(this.webModalContinueThisDeviceLabel);\n }\n else {\n return Boolean(this.mobileModalContinueOtherDeviceLabel) && Boolean(this.mobileModalContinueThisDeviceLabel);\n }\n }\n\n render() {\n const headingId = 'pn-level-up-heading';\n return (\n <Host>\n {this.isLeveledUp || this.isRecentLeveledUp \n ? (this.presentResult()) \n : (<div class=\"pn-level-up\" role=\"region\" aria-labelledby={this.heading ? headingId : undefined}>\n <div class=\"content\">\n {this.heading && (\n <HeadingTag id={headingId} level={this.headingLevel} cssClass=\"heading\">\n {this.heading}\n </HeadingTag>\n )}\n {this.preamble && (\n <div class=\"preamble\">\n {this.preamble}\n </div>\n )}\n {this.hasButtonTexts && this._system === this._web && this.renderWebButtonOptions()}\n {this.hasButtonTexts && this._system !== this._web && this.renderMobileButtonOptions()}\n </div>\n <div class=\"image-container\" aria-hidden={!this.imageAltText}>\n {this.imageUrl && <img class=\"image graphics\" src={this.imageUrl} alt={this.imageAltText || ''} loading=\"lazy\" />}\n </div>\n </div>\n )}\n {this.errorMessage && <pn-toast text={this.errorMessage} appearance='warning'></pn-toast>}\n <pn-level-up-modal\n open='close'\n endpoint={this.endpoint}\n instruction-phone-line-one={this.modalInstructionPhoneLineOne}\n instruction-phone-line-two={this.modalInstructionPhoneLineTwo}\n instruction-phone-line-three={this.modalInstructionPhoneLineThree}\n heading-text={this.modalHeadingText}\n outdated-q-r-message={this.modalOutdatedQRMessage}\n expires-in-message={this.modalExpiresInMessage}\n qr-aria-label={this.qrAriaLabel}\n system={this._android}>\n </pn-level-up-modal>\n </Host>\n );\n }\n}\n\n"],"version":3}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface PnMarketwebCarousel extends Components.PnMarketwebCarousel, HTMLElement {}
|
|
4
|
-
export const PnMarketwebCarousel: {
|
|
5
|
-
prototype: PnMarketwebCarousel;
|
|
6
|
-
new (): PnMarketwebCarousel;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { P as PnMarketwebCarousel$1, d as defineCustomElement$1 } from './pn-marketweb-carousel2.js';
|
|
2
|
-
|
|
3
|
-
const PnMarketwebCarousel = PnMarketwebCarousel$1;
|
|
4
|
-
const defineCustomElement = defineCustomElement$1;
|
|
5
|
-
|
|
6
|
-
export { PnMarketwebCarousel, defineCustomElement };
|
|
7
|
-
|
|
8
|
-
//# sourceMappingURL=pn-marketweb-carousel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"pn-marketweb-carousel.js","mappings":";;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
|
@@ -1,326 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { a as arrow_left } from './arrow_left.js';
|
|
3
|
-
import { a as arrow_right } from './arrow_right.js';
|
|
4
|
-
|
|
5
|
-
const pnMarketwebCarouselCss = "pn-button-dropdown .pn-button-dropdown>pn-button>.pn-button{min-height:initial}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media screen and (max-width: 767px){.sr-only-mobile{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}}pn-marketweb-carousel{display:inline-block}pn-marketweb-carousel .pn-marketweb-carousel .slider-wrapper{margin:1rem;overflow:hidden;position:relative;touch-action:pan-y pinch-zoom}pn-marketweb-carousel .pn-marketweb-carousel .slides-container{display:flex;width:100%;list-style:none;margin:0;padding:0;overflow:hidden;position:relative;touch-action:none;transition:transform 0.5s ease-in-out;user-select:none}pn-marketweb-carousel .pn-marketweb-carousel .slides-container[data-partial=false] .slide{width:100%}pn-marketweb-carousel .pn-marketweb-carousel [data-slide]{flex:0 0 auto;transition:transform 0.5s ease-in-out}pn-marketweb-carousel .pn-marketweb-carousel .nav-button{cursor:pointer;display:flex;position:absolute;top:0;bottom:0;transform:translateY(-50%);height:2rem;margin:auto;padding:0;opacity:0.85;transition:opacity 200ms;z-index:1}pn-marketweb-carousel .pn-marketweb-carousel .nav-button.invisible{opacity:0}pn-marketweb-carousel .pn-marketweb-carousel .nav-button[data-show=false]{display:none}pn-marketweb-carousel .pn-marketweb-carousel .nav-button:hover,pn-marketweb-carousel .pn-marketweb-carousel .nav-button:focus{opacity:1}pn-marketweb-carousel .pn-marketweb-carousel [data-nav-button-prev]{left:1.75rem;border-radius:0 2rem 2rem 0}pn-marketweb-carousel .pn-marketweb-carousel [data-nav-button-next]{right:1.75rem;border-radius:2rem 0 0 2rem}@media (prefers-reduced-motion: reduce){pn-marketweb-carousel .slides-container{transition:none}pn-marketweb-carousel [data-slide]{transition:none}}";
|
|
6
|
-
const PnMarketwebCarouselStyle0 = pnMarketwebCarouselCss;
|
|
7
|
-
|
|
8
|
-
const PnMarketwebCarousel = /*@__PURE__*/ proxyCustomElement(class PnMarketwebCarousel extends HTMLElement {
|
|
9
|
-
constructor() {
|
|
10
|
-
super();
|
|
11
|
-
this.__registerHost();
|
|
12
|
-
this.previousButtonLabel = undefined;
|
|
13
|
-
this.nextButtonLabel = undefined;
|
|
14
|
-
this.ariaNavigationLabel = undefined;
|
|
15
|
-
this.source = undefined;
|
|
16
|
-
this.slidesToShow = 1;
|
|
17
|
-
this.showCarouselButtons = true;
|
|
18
|
-
this.showFirstSlidePrevButton = false;
|
|
19
|
-
this.showLastSlideNextButton = false;
|
|
20
|
-
this.slidesData = [];
|
|
21
|
-
this.currentSlide = 0;
|
|
22
|
-
this.isDragging = false;
|
|
23
|
-
this.slideWidth = 0;
|
|
24
|
-
}
|
|
25
|
-
static DEFAULTS = {
|
|
26
|
-
SWIPE_THRESHOLD_PX: 50,
|
|
27
|
-
ANIMATION_DURATION_MS: 300,
|
|
28
|
-
OVERSCROLL_LIMIT_PERCENT: 30,
|
|
29
|
-
};
|
|
30
|
-
get hostElement() { return this; }
|
|
31
|
-
slides = null;
|
|
32
|
-
slidesContainer = null;
|
|
33
|
-
totalSlides = 0;
|
|
34
|
-
prevButton = null;
|
|
35
|
-
nextButton = null;
|
|
36
|
-
dragStartX = 0;
|
|
37
|
-
listeners = [];
|
|
38
|
-
memoizedSlideWidth = null;
|
|
39
|
-
componentWillLoad() {
|
|
40
|
-
this.setInitialValues();
|
|
41
|
-
}
|
|
42
|
-
componentDidLoad() {
|
|
43
|
-
this.setupCarousel();
|
|
44
|
-
window.addEventListener('resize', this.handleResize);
|
|
45
|
-
}
|
|
46
|
-
disconnectedCallback() {
|
|
47
|
-
this.cleanup();
|
|
48
|
-
window.removeEventListener('resize', this.handleResize);
|
|
49
|
-
}
|
|
50
|
-
async goToSlide(index) {
|
|
51
|
-
if (index >= 0 && index < this.totalSlides) {
|
|
52
|
-
this.currentSlide = index;
|
|
53
|
-
this.moveSlides();
|
|
54
|
-
this.updateNavButtons();
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
async getCurrentSlide() {
|
|
58
|
-
return this.currentSlide;
|
|
59
|
-
}
|
|
60
|
-
handleSourceChange(newValue) {
|
|
61
|
-
if (newValue) {
|
|
62
|
-
this.setInitialValues();
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
setInitialValues() {
|
|
66
|
-
if (!this.source?.trim()) {
|
|
67
|
-
console.warn('No source provided for carousel');
|
|
68
|
-
return;
|
|
69
|
-
}
|
|
70
|
-
try {
|
|
71
|
-
const parsedData = JSON.parse(this.source);
|
|
72
|
-
if (!parsedData?.slides) {
|
|
73
|
-
throw new Error('Invalid slides data structure');
|
|
74
|
-
}
|
|
75
|
-
if (Array.isArray(parsedData.slides)) {
|
|
76
|
-
this.slidesData = parsedData.slides;
|
|
77
|
-
this.showCarouselButtons = this.slidesData.length > 1;
|
|
78
|
-
}
|
|
79
|
-
else {
|
|
80
|
-
throw new Error('Slides data is not an array');
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
catch (error) {
|
|
84
|
-
console.error('Error parsing carousel source:', error instanceof Error ? error.message : 'Unknown error');
|
|
85
|
-
this.slidesData = [];
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
setupCarousel() {
|
|
89
|
-
this.initializeElements();
|
|
90
|
-
this.attachEventListeners();
|
|
91
|
-
this.updateNavButtons();
|
|
92
|
-
}
|
|
93
|
-
initializeElements() {
|
|
94
|
-
this.slidesContainer = this.hostElement.querySelector('[data-slides-container]');
|
|
95
|
-
this.slides = this.hostElement.querySelectorAll('[data-slide]');
|
|
96
|
-
this.totalSlides = this.slides?.length ?? 0;
|
|
97
|
-
if (this.showCarouselButtons) {
|
|
98
|
-
this.prevButton = this.hostElement.querySelector('[data-nav-button-prev]');
|
|
99
|
-
this.nextButton = this.hostElement.querySelector('[data-nav-button-next]');
|
|
100
|
-
}
|
|
101
|
-
this.slideWidth = 100 / this.slidesToShow;
|
|
102
|
-
}
|
|
103
|
-
attachEventListeners() {
|
|
104
|
-
if (!this.slidesContainer)
|
|
105
|
-
return;
|
|
106
|
-
const addListener = (element, event, handler, options) => {
|
|
107
|
-
element.addEventListener(event, handler, options);
|
|
108
|
-
this.listeners.push({ element, event, handler });
|
|
109
|
-
};
|
|
110
|
-
// Touch events
|
|
111
|
-
addListener(this.slidesContainer, 'touchstart', this.handleTouchStart, { passive: true });
|
|
112
|
-
addListener(this.slidesContainer, 'touchmove', this.handleTouchMove, { passive: false });
|
|
113
|
-
addListener(this.slidesContainer, 'touchend', this.handleTouchEnd, { passive: true });
|
|
114
|
-
// Mouse events
|
|
115
|
-
addListener(this.slidesContainer, 'mousedown', this.handleTouchStart);
|
|
116
|
-
addListener(this.slidesContainer, 'mousemove', this.handleTouchMove);
|
|
117
|
-
addListener(this.slidesContainer, 'mouseup', this.handleTouchEnd);
|
|
118
|
-
addListener(this.slidesContainer, 'mouseleave', this.handleTouchEnd);
|
|
119
|
-
if (this.showCarouselButtons) {
|
|
120
|
-
this.nextButton && addListener(this.nextButton, 'click', this.handleNextClick);
|
|
121
|
-
this.prevButton && addListener(this.prevButton, 'click', this.handlePrevClick);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
cleanup() {
|
|
125
|
-
this.listeners.forEach(({ element, event, handler }) => {
|
|
126
|
-
element.removeEventListener(event, handler);
|
|
127
|
-
});
|
|
128
|
-
this.listeners = [];
|
|
129
|
-
}
|
|
130
|
-
handleResize = () => {
|
|
131
|
-
this.memoizedSlideWidth = null;
|
|
132
|
-
};
|
|
133
|
-
getSlideWidth() {
|
|
134
|
-
if (!this.memoizedSlideWidth && this.slidesContainer) {
|
|
135
|
-
this.memoizedSlideWidth = this.slidesContainer.offsetWidth;
|
|
136
|
-
}
|
|
137
|
-
return this.memoizedSlideWidth ?? 0;
|
|
138
|
-
}
|
|
139
|
-
handleNextClick = (e) => {
|
|
140
|
-
e.stopPropagation();
|
|
141
|
-
this.nextSlide();
|
|
142
|
-
};
|
|
143
|
-
handlePrevClick = (e) => {
|
|
144
|
-
e.stopPropagation();
|
|
145
|
-
this.prevSlide();
|
|
146
|
-
};
|
|
147
|
-
handleTouchStart = (e) => {
|
|
148
|
-
if (e.target.classList.contains('nav-button'))
|
|
149
|
-
return;
|
|
150
|
-
this.isDragging = true;
|
|
151
|
-
this.dragStartX = 'touches' in e ? e.touches[0].clientX : e.clientX;
|
|
152
|
-
};
|
|
153
|
-
handleTouchMove = (e) => {
|
|
154
|
-
if (!this.isDragging)
|
|
155
|
-
return;
|
|
156
|
-
if ('touches' in e) {
|
|
157
|
-
e.preventDefault();
|
|
158
|
-
}
|
|
159
|
-
const currentPosition = 'touches' in e ? e.touches[0].clientX : e.clientX;
|
|
160
|
-
const diff = currentPosition - this.dragStartX;
|
|
161
|
-
const percentMove = (diff / this.getSlideWidth()) * 100;
|
|
162
|
-
this.moveSlides(percentMove);
|
|
163
|
-
};
|
|
164
|
-
handleTouchEnd = (e) => {
|
|
165
|
-
if (!this.isDragging)
|
|
166
|
-
return;
|
|
167
|
-
this.isDragging = false;
|
|
168
|
-
const currentPosition = 'changedTouches' in e ? e.changedTouches[0].clientX : e.clientX;
|
|
169
|
-
const diff = currentPosition - this.dragStartX;
|
|
170
|
-
if (Math.abs(diff) > PnMarketwebCarousel.DEFAULTS.SWIPE_THRESHOLD_PX) {
|
|
171
|
-
if (diff > 0 && this.currentSlide > 0) {
|
|
172
|
-
this.currentSlide--;
|
|
173
|
-
}
|
|
174
|
-
else if (diff < 0 && this.currentSlide < this.totalSlides - 1) {
|
|
175
|
-
this.currentSlide++;
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
this.moveSlides();
|
|
179
|
-
this.updateNavButtons();
|
|
180
|
-
};
|
|
181
|
-
calculateProportionalTranslation() {
|
|
182
|
-
// Calculate proportional translation based on slidesToShow
|
|
183
|
-
return -200 + (this.slidesToShow - 1) * 100;
|
|
184
|
-
}
|
|
185
|
-
moveSlides(extraTranslate = 0) {
|
|
186
|
-
if (!this.slides || !this.slidesContainer) {
|
|
187
|
-
return;
|
|
188
|
-
}
|
|
189
|
-
try {
|
|
190
|
-
this.slides.forEach((slide, index) => {
|
|
191
|
-
if (slide) {
|
|
192
|
-
// Set each slide's width
|
|
193
|
-
slide.style.width = `${this.slideWidth}%`;
|
|
194
|
-
let translation = 0;
|
|
195
|
-
if (this.slidesToShow === 1) {
|
|
196
|
-
// Full slide view
|
|
197
|
-
translation = -100 * this.currentSlide;
|
|
198
|
-
}
|
|
199
|
-
else {
|
|
200
|
-
// Partial slide view
|
|
201
|
-
if (this.totalSlides === 2) {
|
|
202
|
-
// Special case for 2 slides
|
|
203
|
-
if (this.currentSlide === 1) {
|
|
204
|
-
translation = -50; // Both slides move by -50%
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
else {
|
|
208
|
-
// 3 or more slides
|
|
209
|
-
if (this.currentSlide === 1) {
|
|
210
|
-
// Second slide showing - all slides move -100%
|
|
211
|
-
translation = -100;
|
|
212
|
-
}
|
|
213
|
-
else if (this.currentSlide === 2) {
|
|
214
|
-
// Third slide showing
|
|
215
|
-
if (index === 0) {
|
|
216
|
-
translation = -100; // First slide stays at -100%
|
|
217
|
-
}
|
|
218
|
-
else {
|
|
219
|
-
// Calculate proportional translation
|
|
220
|
-
translation = this.calculateProportionalTranslation();
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
// Add any extra translation from dragging
|
|
226
|
-
translation += extraTranslate;
|
|
227
|
-
slide.style.transform = `translateX(${translation}%)`;
|
|
228
|
-
slide.style.position = 'relative';
|
|
229
|
-
// Update visibility for screen readers
|
|
230
|
-
let isVisible;
|
|
231
|
-
if (this.slidesToShow === 1) {
|
|
232
|
-
isVisible = index === this.currentSlide;
|
|
233
|
-
}
|
|
234
|
-
else {
|
|
235
|
-
isVisible =
|
|
236
|
-
this.currentSlide === 0 || // First slide showing
|
|
237
|
-
this.totalSlides === 2 || // Two slides - both visible
|
|
238
|
-
(this.currentSlide === 1 && translation === -100) || // Second slide showing
|
|
239
|
-
(this.currentSlide === 2 &&
|
|
240
|
-
((index === 0 && translation === -100) || // First slide still visible
|
|
241
|
-
index > 0)); // Second and third slides visible
|
|
242
|
-
}
|
|
243
|
-
slide.setAttribute('aria-hidden', (!isVisible).toString());
|
|
244
|
-
}
|
|
245
|
-
});
|
|
246
|
-
}
|
|
247
|
-
catch (error) {
|
|
248
|
-
console.error('Error moving slides:', error);
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
updateNavButtons() {
|
|
252
|
-
if (!this.showCarouselButtons)
|
|
253
|
-
return;
|
|
254
|
-
const isFirstSlide = this.currentSlide === 0;
|
|
255
|
-
const isLastSlide = this.currentSlide === this.totalSlides - 1;
|
|
256
|
-
if (this.prevButton) {
|
|
257
|
-
this.prevButton.classList.toggle('invisible', isFirstSlide && !this.showFirstSlidePrevButton);
|
|
258
|
-
this.prevButton.dataset.show = isFirstSlide ? `${this.showFirstSlidePrevButton}` : 'true';
|
|
259
|
-
}
|
|
260
|
-
if (this.nextButton) {
|
|
261
|
-
this.nextButton.classList.toggle('invisible', isLastSlide && !this.showLastSlideNextButton);
|
|
262
|
-
this.nextButton.dataset.show = isLastSlide ? `${this.showLastSlideNextButton}` : 'true';
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
nextSlide() {
|
|
266
|
-
if (this.currentSlide >= this.totalSlides - 1) {
|
|
267
|
-
this.currentSlide = 0;
|
|
268
|
-
}
|
|
269
|
-
else {
|
|
270
|
-
this.currentSlide++;
|
|
271
|
-
}
|
|
272
|
-
this.moveSlides();
|
|
273
|
-
this.updateNavButtons();
|
|
274
|
-
}
|
|
275
|
-
prevSlide() {
|
|
276
|
-
if (this.currentSlide <= 0) {
|
|
277
|
-
this.currentSlide = this.totalSlides - 1;
|
|
278
|
-
}
|
|
279
|
-
else {
|
|
280
|
-
this.currentSlide--;
|
|
281
|
-
}
|
|
282
|
-
this.moveSlides();
|
|
283
|
-
this.updateNavButtons();
|
|
284
|
-
}
|
|
285
|
-
render() {
|
|
286
|
-
return (h(Host, { key: 'c80db60a09f02cfeec55338910211c5a27ebedab' }, h("div", { key: '836a9635ebfbadddadfececd8e7f1f94f355f89b', class: "pn-marketweb-carousel" }, h("section", { key: '838b05eb1e8db65b84011b16ba7409dcf23b5eb3', class: "slider-wrapper" }, this.showCarouselButtons && (h("div", { key: '3a3fe23b4a586f047b5391b5b8406e02884d1620', class: "nav-buttons", role: "group", "aria-label": this.ariaNavigationLabel }, h("pn-button", { key: '9d47e97795ad23bf118b54e2e72730e1819b9d3b', appearance: "light", icon: arrow_left, "icon-only": "true", tooltip: this.previousButtonLabel, class: `nav-button ${this.currentSlide === 0 && !this.showFirstSlidePrevButton ? 'invisible' : ''}`, "data-nav-button-prev": true, "area-label": this.previousButtonLabel, "aria-disabled": this.currentSlide === 0 && !this.showFirstSlidePrevButton }), h("pn-button", { key: '58e1c0363129d693f052ec59bd1a3b427db9bc56', appearance: "light", icon: arrow_right, "icon-only": "true", tooltip: this.nextButtonLabel, class: "nav-button", "data-nav-button-next": true, "area-label": this.nextButtonLabel, "aria-disabled": this.currentSlide === this.totalSlides - 1 && !this.showLastSlideNextButton }))), this.slidesData && (h("ul", { key: '1c942f7d043a65e1b73a1bec69fbfdc3691c92f7', class: "slides-container", "data-slides-container": true, "data-partial": this.slidesToShow === 1 ? 'false' : 'true', "aria-live": "polite", style: { display: 'flex', transform: 'none' } }, this.slidesData.map((slide, index) => (h("li", { class: "slide", "data-slide": true, innerHTML: slide, style: { width: this.slideWidth + '%' }, "aria-hidden": index !== this.currentSlide })))))))));
|
|
287
|
-
}
|
|
288
|
-
static get watchers() { return {
|
|
289
|
-
"source": ["handleSourceChange"]
|
|
290
|
-
}; }
|
|
291
|
-
static get style() { return PnMarketwebCarouselStyle0; }
|
|
292
|
-
}, [0, "pn-marketweb-carousel", {
|
|
293
|
-
"previousButtonLabel": [1, "previous-button-label"],
|
|
294
|
-
"nextButtonLabel": [1, "next-button-label"],
|
|
295
|
-
"ariaNavigationLabel": [1, "aria-navigation-label"],
|
|
296
|
-
"source": [1],
|
|
297
|
-
"slidesToShow": [2, "slides-to-show"],
|
|
298
|
-
"showCarouselButtons": [4, "show-carousel-buttons"],
|
|
299
|
-
"showFirstSlidePrevButton": [4, "show-first-slide-prev-button"],
|
|
300
|
-
"showLastSlideNextButton": [4, "show-last-slide-next-button"],
|
|
301
|
-
"slidesData": [32],
|
|
302
|
-
"currentSlide": [32],
|
|
303
|
-
"isDragging": [32],
|
|
304
|
-
"slideWidth": [32],
|
|
305
|
-
"goToSlide": [64],
|
|
306
|
-
"getCurrentSlide": [64]
|
|
307
|
-
}, undefined, {
|
|
308
|
-
"source": ["handleSourceChange"]
|
|
309
|
-
}]);
|
|
310
|
-
function defineCustomElement() {
|
|
311
|
-
if (typeof customElements === "undefined") {
|
|
312
|
-
return;
|
|
313
|
-
}
|
|
314
|
-
const components = ["pn-marketweb-carousel"];
|
|
315
|
-
components.forEach(tagName => { switch (tagName) {
|
|
316
|
-
case "pn-marketweb-carousel":
|
|
317
|
-
if (!customElements.get(tagName)) {
|
|
318
|
-
customElements.define(tagName, PnMarketwebCarousel);
|
|
319
|
-
}
|
|
320
|
-
break;
|
|
321
|
-
} });
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
export { PnMarketwebCarousel as P, defineCustomElement as d };
|
|
325
|
-
|
|
326
|
-
//# sourceMappingURL=pn-marketweb-carousel2.js.map
|
|
@@ -1 +0,0 @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,EAClB,IAAI,EAAE,UAAU,eACN,MAAM,EAChB,OAAO,EAAE,IAAI,CAAC,mBAAmB,EACjC,KAAK,EAAE,cAAc,IAAI,CAAC,YAAY,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,wBAAwB,GAAG,WAAW,GAAG,EAAE,EAAE,8CAEvF,IAAI,CAAC,mBAAmB,mBACrB,IAAI,CAAC,YAAY,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,wBAAwB,GAC9D,EACZ,kEACE,UAAU,EAAC,OAAO,EAClB,IAAI,EAAE,WAAW,eACP,MAAM,EAChB,OAAO,EAAE,IAAI,CAAC,eAAe,EAC7B,KAAK,EAAC,YAAY,8CAEN,IAAI,CAAC,eAAe,mBACjB,IAAI,CAAC,YAAY,KAAK,IAAI,CAAC,WAAW,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,uBAAuB,GAChF,CACR,CACP,EACA,IAAI,CAAC,UAAU,KACd,2DACE,KAAK,EAAC,kBAAkB,iDAEV,IAAI,CAAC,YAAY,KAAK,CAAC,GAAG,OAAO,GAAG,MAAM,eAC9C,QAAQ,EAClB,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAE5C,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,KAAK,MAChC,UAAI,KAAK,EAAC,OAAO,sBAAY,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,GAAG,GAAG,EAAE,iBAAe,KAAK,KAAK,IAAI,CAAC,YAAY,GAAO,CACxI,CAAC,CACC,CACN,CACO,CACN,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.scss?tag=pn-marketweb-carousel","src/components/widgets/pn-marketweb-carousel/pn-marketweb-carousel.tsx"],"sourcesContent":["@import '../../../globals/main.scss';\n\npn-marketweb-carousel {\n display: inline-block;\n\n .pn-marketweb-carousel {\n .slider-wrapper {\n margin: 1rem;\n overflow: hidden;\n position: relative;\n touch-action: pan-y pinch-zoom;\n }\n\n .slides-container {\n display: flex;\n width: 100%;\n list-style: none;\n margin: 0;\n padding: 0;\n overflow: hidden;\n position: relative;\n touch-action: none;\n transition: transform 0.5s ease-in-out;\n user-select: none;\n\n &[data-partial='false'] .slide {\n width: 100%;\n }\n }\n\n [data-slide] {\n flex: 0 0 auto;\n transition: transform 0.5s ease-in-out;\n }\n\n .nav-button {\n cursor: pointer;\n display: flex;\n position: absolute;\n top: 0;\n bottom: 0;\n transform: translateY(-50%);\n height: 2rem;\n margin: auto;\n padding: 0;\n opacity: 0.85;\n transition: opacity 200ms;\n z-index: 1;\n\n &.invisible {\n opacity: 0;\n }\n\n &[data-show='false'] {\n display: none;\n }\n\n &:hover,\n &:focus {\n opacity: 1;\n }\n }\n\n [data-nav-button-prev] {\n left: 1.75rem;\n border-radius: 0 2rem 2rem 0;\n }\n\n [data-nav-button-next] {\n right: 1.75rem;\n border-radius: 2rem 0 0 2rem;\n }\n }\n\n @media (prefers-reduced-motion: reduce) {\n .slides-container {\n transition: none;\n }\n\n [data-slide] {\n transition: none;\n }\n }\n}\n","import { Component, Host, Prop, Element, State, h, Watch, Method } from '@stencil/core';\nimport { arrow_left, arrow_right } from 'pn-design-assets/pn-assets/icons.js';\n\ninterface CarouselData {\n slides: string[];\n}\n\ninterface EventListenerConfig {\n element: HTMLElement;\n event: string;\n handler: EventListener;\n}\n\n@Component({\n tag: 'pn-marketweb-carousel',\n styleUrl: 'pn-marketweb-carousel.scss',\n})\nexport class PnMarketwebCarousel {\n private static readonly DEFAULTS = {\n SWIPE_THRESHOLD_PX: 50,\n ANIMATION_DURATION_MS: 300,\n OVERSCROLL_LIMIT_PERCENT: 30,\n } as const;\n\n @Element() private hostElement!: HTMLElement;\n\n @Prop() previousButtonLabel!: string;\n @Prop() nextButtonLabel!: string;\n @Prop() ariaNavigationLabel!: string;\n @Prop() source!: string;\n @Prop() slidesToShow: number = 1;\n @Prop() showCarouselButtons: boolean = true;\n @Prop() showFirstSlidePrevButton: boolean = false;\n @Prop() showLastSlideNextButton: boolean = false;\n\n @State() private slidesData: string[] = [];\n @State() private currentSlide: number = 0;\n @State() private isDragging: boolean = false;\n @State() private slideWidth: number = 0;\n\n private slides: NodeListOf<HTMLElement> | null = null;\n private slidesContainer: HTMLElement | null = null;\n private totalSlides: number = 0;\n private prevButton: HTMLElement | null = null;\n private nextButton: HTMLElement | null = null;\n private dragStartX: number = 0;\n private listeners: EventListenerConfig[] = [];\n private memoizedSlideWidth: number | null = null;\n\n componentWillLoad(): void {\n this.setInitialValues();\n }\n\n componentDidLoad(): void {\n this.setupCarousel();\n window.addEventListener('resize', this.handleResize);\n }\n\n disconnectedCallback(): void {\n this.cleanup();\n window.removeEventListener('resize', this.handleResize);\n }\n\n @Method()\n async goToSlide(index: number): Promise<void> {\n if (index >= 0 && index < this.totalSlides) {\n this.currentSlide = index;\n this.moveSlides();\n this.updateNavButtons();\n }\n }\n\n @Method()\n async getCurrentSlide(): Promise<number> {\n return this.currentSlide;\n }\n\n @Watch('source')\n handleSourceChange(newValue: string): void {\n if (newValue) {\n this.setInitialValues();\n }\n }\n\n private setInitialValues(): void {\n if (!this.source?.trim()) {\n console.warn('No source provided for carousel');\n return;\n }\n\n try {\n const parsedData = JSON.parse(this.source) as CarouselData;\n\n if (!parsedData?.slides) {\n throw new Error('Invalid slides data structure');\n }\n\n if (Array.isArray(parsedData.slides)) {\n this.slidesData = parsedData.slides;\n this.showCarouselButtons = this.slidesData.length > 1;\n } else {\n throw new Error('Slides data is not an array');\n }\n } catch (error) {\n console.error('Error parsing carousel source:', error instanceof Error ? error.message : 'Unknown error');\n this.slidesData = [];\n }\n }\n\n private setupCarousel(): void {\n this.initializeElements();\n this.attachEventListeners();\n this.updateNavButtons();\n }\n\n private initializeElements(): void {\n this.slidesContainer = this.hostElement.querySelector<HTMLElement>('[data-slides-container]');\n this.slides = this.hostElement.querySelectorAll<HTMLElement>('[data-slide]');\n this.totalSlides = this.slides?.length ?? 0;\n\n if (this.showCarouselButtons) {\n this.prevButton = this.hostElement.querySelector<HTMLElement>('[data-nav-button-prev]');\n this.nextButton = this.hostElement.querySelector<HTMLElement>('[data-nav-button-next]');\n }\n\n this.slideWidth = 100 / this.slidesToShow;\n }\n\n private attachEventListeners(): void {\n if (!this.slidesContainer) return;\n\n const addListener = (element: HTMLElement, event: string, handler: EventListener, options?: AddEventListenerOptions) => {\n element.addEventListener(event, handler, options);\n this.listeners.push({ element, event, handler });\n };\n\n // Touch events\n addListener(this.slidesContainer, 'touchstart', this.handleTouchStart as EventListener, { passive: true });\n addListener(this.slidesContainer, 'touchmove', this.handleTouchMove as EventListener, { passive: false });\n addListener(this.slidesContainer, 'touchend', this.handleTouchEnd as EventListener, { passive: true });\n\n // Mouse events\n addListener(this.slidesContainer, 'mousedown', this.handleTouchStart as EventListener);\n addListener(this.slidesContainer, 'mousemove', this.handleTouchMove as EventListener);\n addListener(this.slidesContainer, 'mouseup', this.handleTouchEnd as EventListener);\n addListener(this.slidesContainer, 'mouseleave', this.handleTouchEnd as EventListener);\n\n if (this.showCarouselButtons) {\n this.nextButton && addListener(this.nextButton, 'click', this.handleNextClick);\n this.prevButton && addListener(this.prevButton, 'click', this.handlePrevClick);\n }\n }\n\n private cleanup(): void {\n this.listeners.forEach(({ element, event, handler }) => {\n element.removeEventListener(event, handler);\n });\n this.listeners = [];\n }\n\n private handleResize = (): void => {\n this.memoizedSlideWidth = null;\n };\n\n private getSlideWidth(): number {\n if (!this.memoizedSlideWidth && this.slidesContainer) {\n this.memoizedSlideWidth = this.slidesContainer.offsetWidth;\n }\n return this.memoizedSlideWidth ?? 0;\n }\n\n private handleNextClick = (e: Event): void => {\n e.stopPropagation();\n this.nextSlide();\n };\n\n private handlePrevClick = (e: Event): void => {\n e.stopPropagation();\n this.prevSlide();\n };\n\n private handleTouchStart = (e: TouchEvent | MouseEvent): void => {\n if ((e.target as HTMLElement).classList.contains('nav-button')) return;\n\n this.isDragging = true;\n this.dragStartX = 'touches' in e ? e.touches[0].clientX : e.clientX;\n };\n\n private handleTouchMove = (e: TouchEvent | MouseEvent): void => {\n if (!this.isDragging) return;\n\n if ('touches' in e) {\n e.preventDefault();\n }\n\n const currentPosition = 'touches' in e ? e.touches[0].clientX : e.clientX;\n const diff = currentPosition - this.dragStartX;\n const percentMove = (diff / this.getSlideWidth()) * 100;\n\n this.moveSlides(percentMove);\n };\n\n private handleTouchEnd = (e: TouchEvent | MouseEvent): void => {\n if (!this.isDragging) return;\n\n this.isDragging = false;\n\n const currentPosition = 'changedTouches' in e ? e.changedTouches[0].clientX : e.clientX;\n const diff = currentPosition - this.dragStartX;\n\n if (Math.abs(diff) > PnMarketwebCarousel.DEFAULTS.SWIPE_THRESHOLD_PX) {\n if (diff > 0 && this.currentSlide > 0) {\n this.currentSlide--;\n } else if (diff < 0 && this.currentSlide < this.totalSlides - 1) {\n this.currentSlide++;\n }\n }\n\n this.moveSlides();\n this.updateNavButtons();\n };\n\n private calculateProportionalTranslation(): number {\n // Calculate proportional translation based on slidesToShow\n return -200 + (this.slidesToShow - 1) * 100;\n }\n\n private moveSlides(extraTranslate: number = 0): void {\n if (!this.slides || !this.slidesContainer) {\n return;\n }\n\n try {\n this.slides.forEach((slide, index) => {\n if (slide) {\n // Set each slide's width\n slide.style.width = `${this.slideWidth}%`;\n\n let translation = 0;\n\n if (this.slidesToShow === 1) {\n // Full slide view\n translation = -100 * this.currentSlide;\n } else {\n // Partial slide view\n if (this.totalSlides === 2) {\n // Special case for 2 slides\n if (this.currentSlide === 1) {\n translation = -50; // Both slides move by -50%\n }\n } else {\n // 3 or more slides\n if (this.currentSlide === 1) {\n // Second slide showing - all slides move -100%\n translation = -100;\n } else if (this.currentSlide === 2) {\n // Third slide showing\n if (index === 0) {\n translation = -100; // First slide stays at -100%\n } else {\n // Calculate proportional translation\n translation = this.calculateProportionalTranslation();\n }\n }\n }\n }\n\n // Add any extra translation from dragging\n translation += extraTranslate;\n\n slide.style.transform = `translateX(${translation}%)`;\n slide.style.position = 'relative';\n\n // Update visibility for screen readers\n let isVisible;\n\n if (this.slidesToShow === 1) {\n isVisible = index === this.currentSlide;\n } else {\n isVisible =\n this.currentSlide === 0 || // First slide showing\n this.totalSlides === 2 || // Two slides - both visible\n (this.currentSlide === 1 && translation === -100) || // Second slide showing\n (this.currentSlide === 2 &&\n ((index === 0 && translation === -100) || // First slide still visible\n index > 0)); // Second and third slides visible\n }\n\n slide.setAttribute('aria-hidden', (!isVisible).toString());\n }\n });\n } catch (error) {\n console.error('Error moving slides:', error);\n }\n }\n\n private updateNavButtons(): void {\n if (!this.showCarouselButtons) return;\n\n const isFirstSlide = this.currentSlide === 0;\n const isLastSlide = this.currentSlide === this.totalSlides - 1;\n\n if (this.prevButton) {\n this.prevButton.classList.toggle('invisible', isFirstSlide && !this.showFirstSlidePrevButton);\n this.prevButton.dataset.show = isFirstSlide ? `${this.showFirstSlidePrevButton}` : 'true';\n }\n\n if (this.nextButton) {\n this.nextButton.classList.toggle('invisible', isLastSlide && !this.showLastSlideNextButton);\n this.nextButton.dataset.show = isLastSlide ? `${this.showLastSlideNextButton}` : 'true';\n }\n }\n\n private nextSlide(): void {\n if (this.currentSlide >= this.totalSlides - 1) {\n this.currentSlide = 0;\n } else {\n this.currentSlide++;\n }\n this.moveSlides();\n this.updateNavButtons();\n }\n\n private prevSlide(): void {\n if (this.currentSlide <= 0) {\n this.currentSlide = this.totalSlides - 1;\n } else {\n this.currentSlide--;\n }\n this.moveSlides();\n this.updateNavButtons();\n }\n\n render() {\n return (\n <Host>\n <div class=\"pn-marketweb-carousel\">\n <section class=\"slider-wrapper\">\n {this.showCarouselButtons && (\n <div class=\"nav-buttons\" role=\"group\" aria-label={this.ariaNavigationLabel}>\n <pn-button\n appearance=\"light\"\n icon={arrow_left}\n icon-only=\"true\"\n tooltip={this.previousButtonLabel}\n class={`nav-button ${this.currentSlide === 0 && !this.showFirstSlidePrevButton ? 'invisible' : ''}`}\n data-nav-button-prev\n area-label={this.previousButtonLabel}\n aria-disabled={this.currentSlide === 0 && !this.showFirstSlidePrevButton}>\n </pn-button>\n <pn-button\n appearance=\"light\"\n icon={arrow_right}\n icon-only=\"true\"\n tooltip={this.nextButtonLabel}\n class=\"nav-button\"\n data-nav-button-next\n area-label={this.nextButtonLabel}\n aria-disabled={this.currentSlide === this.totalSlides - 1 && !this.showLastSlideNextButton}>\n </pn-button>\n </div>\n )}\n {this.slidesData && (\n <ul\n class=\"slides-container\"\n data-slides-container\n data-partial={this.slidesToShow === 1 ? 'false' : 'true'}\n aria-live=\"polite\"\n style={{ display: 'flex', transform: 'none' }}\n >\n {this.slidesData.map((slide, index) => (\n <li class=\"slide\" data-slide innerHTML={slide} style={{ width: this.slideWidth + '%' }} aria-hidden={index !== this.currentSlide}></li>\n ))}\n </ul>\n )}\n </section>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|