@swisspost/internet-header 10.1.0 → 10.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-E6EPRPpB.js → package-Bk3UBVSc.js} +3 -2
- package/dist/cjs/{package-MGiZpKVI.js → package-uiAqYqcY.js} +1 -1
- package/dist/cjs/post-accordion_4.cjs.entry.js +1 -1
- package/dist/cjs/post-autocomplete.cjs.entry.js +11 -2
- package/dist/cjs/post-avatar.cjs.entry.js +1 -1
- package/dist/cjs/post-back-to-top.cjs.entry.js +1 -1
- package/dist/cjs/post-banner.cjs.entry.js +1 -1
- package/dist/cjs/post-breadcrumb-item.cjs.entry.js +2 -2
- package/dist/cjs/post-breadcrumbs.cjs.entry.js +1 -1
- package/dist/cjs/post-closebutton.cjs.entry.js +1 -1
- package/dist/cjs/post-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/post-footer.cjs.entry.js +31 -13
- package/dist/cjs/post-header.cjs.entry.js +13 -4
- package/dist/cjs/post-icon.cjs.entry.js +1 -1
- package/dist/cjs/post-language-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/post-language-menu.cjs.entry.js +1 -1
- package/dist/cjs/post-linkarea.cjs.entry.js +1 -1
- package/dist/cjs/post-listbox-option.cjs.entry.js +3 -3
- package/dist/cjs/post-listbox.cjs.entry.js +3 -3
- package/dist/cjs/post-logo.cjs.entry.js +2 -2
- package/dist/cjs/post-mainnavigation.cjs.entry.js +2 -2
- package/dist/cjs/post-megadropdown-trigger.cjs.entry.js +2 -2
- package/dist/cjs/post-megadropdown.cjs.entry.js +8 -8
- package/dist/cjs/post-menu-item.cjs.entry.js +1 -1
- package/dist/cjs/post-menu_2.cjs.entry.js +3 -3
- package/dist/cjs/post-number-input.cjs.entry.js +3 -3
- package/dist/cjs/post-pagination.cjs.entry.js +76 -26
- package/dist/cjs/post-popover-trigger.cjs.entry.js +2 -2
- package/dist/cjs/post-popover.cjs.entry.js +3 -3
- package/dist/cjs/post-popovercontainer.cjs.entry.js +3 -3
- package/dist/cjs/post-progressbar.cjs.entry.js +1 -1
- package/dist/cjs/post-rating.cjs.entry.js +2 -2
- package/dist/cjs/post-side-navigation-trigger.cjs.entry.js +2 -2
- package/dist/cjs/post-side-navigation.cjs.entry.js +2 -2
- package/dist/cjs/post-stepper-item.cjs.entry.js +3 -3
- package/dist/cjs/post-stepper.cjs.entry.js +2 -2
- package/dist/cjs/post-tab-item.cjs.entry.js +2 -2
- package/dist/cjs/post-tab-panel.cjs.entry.js +2 -2
- package/dist/cjs/post-tabs.cjs.entry.js +4 -4
- package/dist/cjs/post-togglebutton.cjs.entry.js +2 -2
- package/dist/cjs/post-tooltip-trigger.cjs.entry.js +2 -2
- package/dist/cjs/post-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/swisspost-internet-footer.cjs.entry.js +1 -1
- package/dist/cjs/swisspost-internet-header.cjs.entry.js +87 -3
- package/dist/cjs/swisspost-internet-header.cjs.js +1 -1
- package/dist/collection/components/internal/Link.js +1 -1
- package/dist/collection/components/post-internet-header/post-internet-header.js +26 -3
- package/dist/collection/data/store.js +1 -0
- package/dist/collection/services/alternate-link.service.js +61 -0
- package/dist/components/package.js +1 -1
- package/dist/components/package2.js +1 -1
- package/dist/components/post-autocomplete.js +1 -1
- package/dist/components/post-breadcrumb-item.js +1 -1
- package/dist/components/post-footer2.js +1 -1
- package/dist/components/post-header2.js +1 -1
- package/dist/components/post-language-menu-item2.js +1 -1
- package/dist/components/post-listbox-option.js +1 -1
- package/dist/components/post-listbox.js +1 -1
- package/dist/components/post-logo2.js +1 -1
- package/dist/components/post-mainnavigation2.js +1 -1
- package/dist/components/post-megadropdown-trigger.js +1 -1
- package/dist/components/post-megadropdown.js +1 -1
- package/dist/components/post-menu-trigger2.js +1 -1
- package/dist/components/post-menu2.js +1 -1
- package/dist/components/post-number-input.js +1 -1
- package/dist/components/post-pagination.js +1 -1
- package/dist/components/post-popover-trigger.js +1 -1
- package/dist/components/post-popover.js +1 -1
- package/dist/components/post-popovercontainer2.js +1 -1
- package/dist/components/post-progressbar.js +1 -1
- package/dist/components/post-rating.js +1 -1
- package/dist/components/post-side-navigation-trigger.js +1 -1
- package/dist/components/post-side-navigation.js +1 -1
- package/dist/components/post-stepper-item.js +1 -1
- package/dist/components/post-stepper.js +1 -1
- package/dist/components/post-tab-item.js +1 -1
- package/dist/components/post-tab-panel.js +1 -1
- package/dist/components/post-tabs.js +1 -1
- package/dist/components/post-togglebutton2.js +1 -1
- package/dist/components/post-tooltip-trigger.js +1 -1
- package/dist/components/post-tooltip.js +1 -1
- package/dist/components/swisspost-internet-header.js +1 -1
- package/dist/docs.json +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-jK9tFtoG.js → package-D9jUbrFT.js} +1 -1
- package/dist/esm/{package-ClQfdhMK.js → package-Dheuk3S-.js} +3 -2
- package/dist/esm/post-accordion_4.entry.js +1 -1
- package/dist/esm/post-autocomplete.entry.js +11 -2
- package/dist/esm/post-avatar.entry.js +1 -1
- package/dist/esm/post-back-to-top.entry.js +1 -1
- package/dist/esm/post-banner.entry.js +1 -1
- package/dist/esm/post-breadcrumb-item.entry.js +2 -2
- package/dist/esm/post-breadcrumbs.entry.js +1 -1
- package/dist/esm/post-closebutton.entry.js +1 -1
- package/dist/esm/post-date-picker.entry.js +1 -1
- package/dist/esm/post-footer.entry.js +31 -13
- package/dist/esm/post-header.entry.js +13 -4
- package/dist/esm/post-icon.entry.js +1 -1
- package/dist/esm/post-language-menu-item.entry.js +2 -2
- package/dist/esm/post-language-menu.entry.js +1 -1
- package/dist/esm/post-linkarea.entry.js +1 -1
- package/dist/esm/post-listbox-option.entry.js +3 -3
- package/dist/esm/post-listbox.entry.js +3 -3
- package/dist/esm/post-logo.entry.js +2 -2
- package/dist/esm/post-mainnavigation.entry.js +2 -2
- package/dist/esm/post-megadropdown-trigger.entry.js +2 -2
- package/dist/esm/post-megadropdown.entry.js +8 -8
- package/dist/esm/post-menu-item.entry.js +1 -1
- package/dist/esm/post-menu_2.entry.js +3 -3
- package/dist/esm/post-number-input.entry.js +3 -3
- package/dist/esm/post-pagination.entry.js +76 -26
- package/dist/esm/post-popover-trigger.entry.js +2 -2
- package/dist/esm/post-popover.entry.js +3 -3
- package/dist/esm/post-popovercontainer.entry.js +3 -3
- package/dist/esm/post-progressbar.entry.js +1 -1
- package/dist/esm/post-rating.entry.js +2 -2
- package/dist/esm/post-side-navigation-trigger.entry.js +2 -2
- package/dist/esm/post-side-navigation.entry.js +2 -2
- package/dist/esm/post-stepper-item.entry.js +3 -3
- package/dist/esm/post-stepper.entry.js +2 -2
- package/dist/esm/post-tab-item.entry.js +2 -2
- package/dist/esm/post-tab-panel.entry.js +2 -2
- package/dist/esm/post-tabs.entry.js +4 -4
- package/dist/esm/post-togglebutton.entry.js +2 -2
- package/dist/esm/post-tooltip-trigger.entry.js +2 -2
- package/dist/esm/post-tooltip.entry.js +2 -2
- package/dist/esm/swisspost-internet-footer.entry.js +1 -1
- package/dist/esm/swisspost-internet-header.entry.js +87 -3
- package/dist/esm/swisspost-internet-header.js +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/package-D9jUbrFT.js +1 -0
- package/dist/esm-es5/{package-ClQfdhMK.js → package-Dheuk3S-.js} +1 -1
- package/dist/esm-es5/post-accordion_4.entry.js +1 -1
- package/dist/esm-es5/post-autocomplete.entry.js +1 -1
- package/dist/esm-es5/post-avatar.entry.js +1 -1
- package/dist/esm-es5/post-back-to-top.entry.js +1 -1
- package/dist/esm-es5/post-banner.entry.js +1 -1
- package/dist/esm-es5/post-breadcrumb-item.entry.js +1 -1
- package/dist/esm-es5/post-breadcrumbs.entry.js +1 -1
- package/dist/esm-es5/post-closebutton.entry.js +1 -1
- package/dist/esm-es5/post-date-picker.entry.js +1 -1
- package/dist/esm-es5/post-footer.entry.js +1 -1
- package/dist/esm-es5/post-header.entry.js +1 -1
- package/dist/esm-es5/post-icon.entry.js +1 -1
- package/dist/esm-es5/post-language-menu-item.entry.js +1 -1
- package/dist/esm-es5/post-language-menu.entry.js +1 -1
- package/dist/esm-es5/post-linkarea.entry.js +1 -1
- package/dist/esm-es5/post-listbox-option.entry.js +1 -1
- package/dist/esm-es5/post-listbox.entry.js +1 -1
- package/dist/esm-es5/post-logo.entry.js +1 -1
- package/dist/esm-es5/post-mainnavigation.entry.js +1 -1
- package/dist/esm-es5/post-megadropdown-trigger.entry.js +1 -1
- package/dist/esm-es5/post-megadropdown.entry.js +1 -1
- package/dist/esm-es5/post-menu-item.entry.js +1 -1
- package/dist/esm-es5/post-menu_2.entry.js +1 -1
- package/dist/esm-es5/post-number-input.entry.js +1 -1
- package/dist/esm-es5/post-pagination.entry.js +1 -1
- package/dist/esm-es5/post-popover-trigger.entry.js +1 -1
- package/dist/esm-es5/post-popover.entry.js +1 -1
- package/dist/esm-es5/post-popovercontainer.entry.js +1 -1
- package/dist/esm-es5/post-progressbar.entry.js +1 -1
- package/dist/esm-es5/post-rating.entry.js +1 -1
- package/dist/esm-es5/post-side-navigation-trigger.entry.js +1 -1
- package/dist/esm-es5/post-side-navigation.entry.js +1 -1
- package/dist/esm-es5/post-stepper-item.entry.js +1 -1
- package/dist/esm-es5/post-stepper.entry.js +1 -1
- package/dist/esm-es5/post-tab-item.entry.js +1 -1
- package/dist/esm-es5/post-tab-panel.entry.js +1 -1
- package/dist/esm-es5/post-tabs.entry.js +1 -1
- package/dist/esm-es5/post-togglebutton.entry.js +1 -1
- package/dist/esm-es5/post-tooltip-trigger.entry.js +1 -1
- package/dist/esm-es5/post-tooltip.entry.js +1 -1
- package/dist/esm-es5/swisspost-internet-footer.entry.js +1 -1
- package/dist/esm-es5/swisspost-internet-header.entry.js +1 -1
- package/dist/esm-es5/swisspost-internet-header.js +1 -1
- package/dist/swisspost-internet-header/index.esm.js +1 -1
- package/dist/swisspost-internet-header/{p-ef183dab.entry.js → p-043b0295.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-0708d2ae.entry.js +1 -0
- package/dist/swisspost-internet-header/p-091d408b.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-fe6a6a22.entry.js → p-0a1276dc.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-ec3c17b7.system.entry.js → p-0a3325bd.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-0e3b3739.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-1b9a5275.system.entry.js → p-0fdc3e18.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-a5705a24.entry.js → p-10dbaad3.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-13bae547.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-67889b8a.system.entry.js → p-145e9419.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-45af06c6.entry.js → p-15564bd8.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-d2599e7b.entry.js → p-1ad88e06.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-4107bc25.system.entry.js → p-2069109d.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-45d5a353.entry.js → p-20ded6e8.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-23fa3342.entry.js → p-26e94f0f.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-d42d1570.entry.js → p-26f99143.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-27b2a48e.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-fcf9631e.entry.js → p-2affed30.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-bebf0896.entry.js → p-2bbec1fa.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-31b363d3.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-779e1686.entry.js → p-324bb578.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-ca000634.system.entry.js → p-324f6a1d.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-cd2583f5.entry.js → p-32d8756e.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-4f70afb5.system.entry.js → p-38b3e48b.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-3b5b5f43.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-9776463e.entry.js → p-3ce5350e.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-3e0d2f8e.entry.js +1 -0
- package/dist/swisspost-internet-header/p-3fb06291.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-2d1355fa.system.entry.js → p-4615095e.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-468c06f1.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-b94bcb65.system.entry.js → p-48b9d8af.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-c6e57a0c.system.entry.js → p-51c1b282.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-f606f337.system.entry.js → p-522b6a34.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-f986d587.entry.js → p-53627d54.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-9c5c32af.system.entry.js → p-56b1fbff.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-d604cf73.system.entry.js → p-5937df91.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-97eaecab.entry.js → p-5c73925e.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-1386d1d4.system.entry.js → p-62e15c37.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-ad91f6c0.system.entry.js → p-6dd426a3.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-fc6ef72b.system.entry.js → p-6df1fef1.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-77199d61.system.entry.js → p-701461bc.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-ea8c458a.entry.js → p-715fd00a.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-da88d37e.system.entry.js → p-77075637.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-2a8e1e33.entry.js → p-77955468.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-7f0d52e1.entry.js → p-7a4d48c8.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-7e85acba.system.entry.js +1 -0
- package/dist/swisspost-internet-header/p-89dbe69c.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-786e11c5.entry.js → p-8a3118d3.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-1c40acd2.entry.js → p-8aec6b71.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-6427c6b0.system.entry.js → p-8f560878.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-806b3bb9.entry.js → p-9119d1d2.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-ad77e312.entry.js → p-941c9d63.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-9482fbdf.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-aa4ed181.entry.js → p-9510033c.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-15820529.system.entry.js → p-9bead48d.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-20a0a7e7.system.entry.js → p-9dbc65e6.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-BEtiMUfS.system.js → p-B2xXTEH5.system.js} +1 -1
- package/dist/swisspost-internet-header/{p-CNZqHwmo.js → p-B86vJMfc.js} +1 -1
- package/dist/swisspost-internet-header/{p-tBnwOTPV.system.js → p-CUgd8XDw.system.js} +1 -1
- package/dist/swisspost-internet-header/{p-CDL0cxX6.system.js → p-CVe9fdUw.system.js} +1 -1
- package/dist/swisspost-internet-header/p-D9jUbrFT.js +1 -0
- package/dist/swisspost-internet-header/p-R5BnOD0U.system.js +1 -1
- package/dist/swisspost-internet-header/{p-cccfd211.entry.js → p-a2b590f1.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-a3640c54.entry.js +1 -0
- package/dist/swisspost-internet-header/p-a5c32bd3.entry.js +1 -0
- package/dist/swisspost-internet-header/p-a79db979.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-e9ae044e.entry.js → p-abd1654a.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-9d0b4493.entry.js → p-b266f922.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-dc287805.system.entry.js → p-b67b88ee.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-6b19deb1.system.entry.js → p-b6f7469f.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-f074310f.entry.js → p-b98bd035.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-d4f8cba4.entry.js → p-b9e4f3a1.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-ba60d0f6.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-a1b94999.entry.js → p-c792d22e.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-18a84bc1.system.entry.js → p-ce4549eb.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-ce5265e7.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-64428c96.system.entry.js → p-d102dd8f.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-d586b0b6.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-c16adcb7.entry.js → p-dbe1d696.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-faca91f3.system.entry.js → p-e053e1b5.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-4d49c5ef.system.entry.js → p-e4b30e68.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-68dcd52c.system.entry.js → p-e711377e.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-5329e0b0.system.entry.js → p-e9c6db2d.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-0bf25ebc.system.entry.js → p-ea3a2c74.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-d2fa80e5.entry.js → p-f5bc81a7.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-73d21f06.system.entry.js → p-f917f79a.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-5daa12df.entry.js → p-fc839150.entry.js} +1 -1
- package/dist/swisspost-internet-header/p-fcf9da41.system.entry.js +1 -0
- package/dist/swisspost-internet-header/{p-e655c88c.system.entry.js → p-fde0e9e3.system.entry.js} +1 -1
- package/dist/swisspost-internet-header/{p-dfbe1d02.entry.js → p-ff4b3e95.entry.js} +1 -1
- package/dist/swisspost-internet-header/swisspost-internet-header.esm.js +1 -1
- package/dist/types/components/post-internet-header/post-internet-header.d.ts +9 -0
- package/dist/types/data/store.d.ts +1 -0
- package/dist/types/services/alternate-link.service.d.ts +13 -0
- package/package.json +4 -4
- package/dist/esm-es5/package-jK9tFtoG.js +0 -1
- package/dist/swisspost-internet-header/p-01f39bb3.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-05cab026.entry.js +0 -1
- package/dist/swisspost-internet-header/p-10bdbca2.entry.js +0 -1
- package/dist/swisspost-internet-header/p-200dc938.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-3028df9f.entry.js +0 -1
- package/dist/swisspost-internet-header/p-50d3eb3c.entry.js +0 -1
- package/dist/swisspost-internet-header/p-520d3f06.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-5ae377df.entry.js +0 -1
- package/dist/swisspost-internet-header/p-63b15be9.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-72187f34.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-7cdf89dc.entry.js +0 -1
- package/dist/swisspost-internet-header/p-8bd09f9e.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-8f06d58d.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-99c19dd2.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-b5665fc8.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-ba63e3e0.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-bff2014b.entry.js +0 -1
- package/dist/swisspost-internet-header/p-d558b697.entry.js +0 -1
- package/dist/swisspost-internet-header/p-e25b4f0b.entry.js +0 -1
- package/dist/swisspost-internet-header/p-fec8e79e.system.entry.js +0 -1
- package/dist/swisspost-internet-header/p-jK9tFtoG.js +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-B5ypPkK3.js');
|
|
4
|
-
var _package = require('./package-
|
|
4
|
+
var _package = require('./package-uiAqYqcY.js');
|
|
5
5
|
var eventFrom = require('./event-from-CwMw19f8.js');
|
|
6
6
|
|
|
7
|
-
const postListboxCss = () => `post-popovercontainer{border-radius:4px;overflow:hidden;-webkit-box-shadow:var(--post-device-elevation-300);box-shadow:var(--post-device-elevation-300)}div[role=listbox]{max-height:384px;overflow:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}
|
|
7
|
+
const postListboxCss = () => `post-popovercontainer{border-radius:4px;overflow:hidden;-webkit-box-shadow:var(--post-device-elevation-300);box-shadow:var(--post-device-elevation-300)}div[role=listbox]{max-height:384px;overflow:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}`;
|
|
8
8
|
|
|
9
9
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
10
10
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -136,7 +136,7 @@ const PostListbox = class {
|
|
|
136
136
|
this.updateSelection(event.detail);
|
|
137
137
|
}
|
|
138
138
|
render() {
|
|
139
|
-
return (index.h(index.Host, { key: 'd9008aa55aca4e0a65fdffd67485d74ddc4069f6', "data-version": _package.version, role: "listbox" }, index.h("post-popovercontainer", { key: '5ba4d68483581101ca4bf6fea04102fa883b71d1', placement: "bottom-start", ref: el => (this.popoverContainer = el) },
|
|
139
|
+
return (index.h(index.Host, { key: 'd9008aa55aca4e0a65fdffd67485d74ddc4069f6', "data-version": _package.version, role: "listbox" }, index.h("post-popovercontainer", { key: '5ba4d68483581101ca4bf6fea04102fa883b71d1', placement: "bottom-start", ref: el => (this.popoverContainer = el) }, index.h("slot", { key: '286a31eff1b70ec35efcfa745103933598589f2a', name: "blank-slate" }), index.h("slot", { key: '4cebce7de3143c3eb1deafa57209f7295aa6ec44' }))));
|
|
140
140
|
}
|
|
141
141
|
get host() { return index.getElement(this); }
|
|
142
142
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-B5ypPkK3.js');
|
|
4
|
-
var _package = require('./package-
|
|
4
|
+
var _package = require('./package-uiAqYqcY.js');
|
|
5
5
|
var url = require('./url-Cykxre4X.js');
|
|
6
6
|
require('./create-validator-decorator-CJK3Xf77.js');
|
|
7
7
|
|
|
@@ -32,7 +32,7 @@ const PostLogo = class {
|
|
|
32
32
|
render() {
|
|
33
33
|
const logoLink = this.url && (typeof this.url === 'string' ? this.url : this.url.href);
|
|
34
34
|
const LogoTag = logoLink ? 'a' : 'span';
|
|
35
|
-
return (index.h(index.Host, { key: '
|
|
35
|
+
return (index.h(index.Host, { key: '84ece8e71d7dec66aa634d9a8a37d6bf3197c1b6', "data-version": _package.version }, index.h(LogoTag, { key: '1531c6e8f32d42e63f5482d2983f18e4c9a23b1a', class: `logo ${logoLink ? 'logo-link' : ''}`, ...(logoLink ? { href: logoLink } : {}) }, index.h("span", { key: 'd45d33329e30de0de9de56f2d588995a7f97d01e', class: "description" }, index.h("slot", { key: 'e8665c8d739dc2a2968bf1193c26ba1d1e731b38', onSlotchange: () => this.checkDescription() })), index.h("svg", { key: 'bb3f534952e29e2e43816c5a5dd55541d05bee26', xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 72 72", "aria-hidden": "true" }, index.h("g", { key: '9ca05c263f6c9f41cc5406ccfd030a713ffe0254', id: "Logo" }, index.h("rect", { key: '30a59adc0eec11af2d90180da1f5a95b03175d21', fill: "#ffcc00", x: "0", y: "0", width: "72", height: "72" }), index.h("polygon", { key: 'b1cbe7c575d36cf26a1cc41c9124625c2d1e5ef1', fill: "#ff0000", points: "34,32.3 34,19 19.7,19 19.7,29.1 10,29.1 10,42.9 19.7,42.9 19.7,53 34,53 34,39.7 30.6,39.7 30.6,49.8 23.1,49.8 23.1,39.7 13.4,39.7 13.4,32.3 23.1,32.3 23.1,22.2 30.6,22.2 30.6,32.3" }), index.h("path", { key: '398027f23c8c9a4cf2bc7f8d7c8aa4ec0466f0be', d: "M53.56234,31.10526c0,2.41272-1.99154,4.29475-4.51723,4.29475H45.2v-8.3h3.84511C51.66802,27.1,53.56234,28.78889,53.56234,31.10526z M50.69666,19H36v34h9.2V42.9h5.49666c6.75131,0,11.9971-5.15137,11.9971-11.8057C62.69376,24.39136,57.35099,19,50.69666,19z" }))))));
|
|
36
36
|
}
|
|
37
37
|
get host() { return index.getElement(this); }
|
|
38
38
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-B5ypPkK3.js');
|
|
4
|
-
var _package = require('./package-
|
|
4
|
+
var _package = require('./package-uiAqYqcY.js');
|
|
5
5
|
var required = require('./required-_r1rzbps.js');
|
|
6
6
|
var type = require('./type-CAeEC3oM.js');
|
|
7
7
|
require('./create-validator-decorator-CJK3Xf77.js');
|
|
@@ -137,7 +137,7 @@ const PostMainnavigation = class {
|
|
|
137
137
|
}, NAVBAR_DISABLE_DURATION);
|
|
138
138
|
}
|
|
139
139
|
render() {
|
|
140
|
-
return (index.h(index.Host, { key: '
|
|
140
|
+
return (index.h(index.Host, { key: '2e9f2361426298f620411b1d064e166992ba326e', version: _package.version, class: this.canScroll ? 'scrollable' : '' }, index.h("div", { key: '10103d153e37fd591c2ce062ef7455228adbf5b9', "aria-hidden": "true", class: { 'scroll-control scroll-left': true, 'd-none': !this.canScrollLeft }, onMouseDown: e => this.handleScrollButtonClick(e, 'left') }, index.h("post-icon", { key: '8bb9b82626d05c1fe8f4fd1bb9f8e6d6be59ad8a', "aria-hidden": "true", name: "chevronleft" })), index.h("nav", { key: '6905afe8c2dfcf0f2411b45237b52d63f187d2c9', ref: el => (this.navbar = el), "aria-label": this.textMain }, index.h("slot", { key: '2db905e52b1604d9c6097734d055100a58625f09' })), index.h("div", { key: 'f8ec4f906f1c99fec2198bb350ac1735c2de8469', "aria-hidden": "true", class: { 'scroll-control scroll-right': true, 'd-none': !this.canScrollRight }, onMouseDown: e => this.handleScrollButtonClick(e, 'right') }, index.h("post-icon", { key: 'afed8c1778691ca5b849d78ee20d51a4b8c02fe6', "aria-hidden": "true", name: "chevronright" }))));
|
|
141
141
|
}
|
|
142
142
|
get host() { return index.getElement(this); }
|
|
143
143
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-B5ypPkK3.js');
|
|
4
|
-
var _package = require('./package-
|
|
4
|
+
var _package = require('./package-uiAqYqcY.js');
|
|
5
5
|
var required = require('./required-_r1rzbps.js');
|
|
6
6
|
var type = require('./type-CAeEC3oM.js');
|
|
7
7
|
var eventFrom = require('./event-from-CwMw19f8.js');
|
|
@@ -78,7 +78,7 @@ const PostMegadropdownTrigger = class {
|
|
|
78
78
|
this.megadropdown.toggle();
|
|
79
79
|
}
|
|
80
80
|
render() {
|
|
81
|
-
return (index.h(index.Host, { key: '
|
|
81
|
+
return (index.h(index.Host, { key: '40d8afcb6b0ec482c0a13f7b78493a66243e03a5', "data-version": _package.version }, index.h("button", { key: '6c1362cd4e1af22d26cf9ae74af4092cd083360c', ref: el => (this.interactiveButton = el), type: "button", "aria-haspopup": "menu", "aria-expanded": this.isMegadropdownExpanded.toString(), onClick: this.onClick.bind(this), onKeyDown: this.onKeyDown.bind(this), class: { active: this.active } }, index.h("span", { key: '6bd7d94da2055c1c6fb933402f2478a3cee12cc7' }, index.h("span", { key: '8109bdcc23c4a0f8c0861b774a974dde75b464f3', innerHTML: this.slottedContent }), index.h("span", { key: 'edd54adde0d7af4eb9cf7796183d01705d217500', "aria-hidden": "true" }, index.h("slot", { key: 'dbcc08bb882273f1074dd8963a4b86f67deb0c0a' }))), index.h("post-icon", { key: '7437573a492181cc3e5ddd59ac3695dc94d43e09', name: "chevrondown" }))));
|
|
82
82
|
}
|
|
83
83
|
get host() { return index.getElement(this); }
|
|
84
84
|
};
|
|
@@ -4,7 +4,7 @@ var index = require('./index-B5ypPkK3.js');
|
|
|
4
4
|
var fadeSlide = require('./fade-slide-dPhQa-I1.js');
|
|
5
5
|
var breakpoints = require('./breakpoints-CI0Xuh1L.js');
|
|
6
6
|
var getFocusableChildren = require('./get-focusable-children-BGVgg7Te.js');
|
|
7
|
-
var _package = require('./package-
|
|
7
|
+
var _package = require('./package-uiAqYqcY.js');
|
|
8
8
|
var utils = require('./utils-s05L2ulk.js');
|
|
9
9
|
var required = require('./required-_r1rzbps.js');
|
|
10
10
|
var type = require('./type-CAeEC3oM.js');
|
|
@@ -76,6 +76,10 @@ const PostMegadropdown = class {
|
|
|
76
76
|
this.trigger = false;
|
|
77
77
|
/** Holds the current animation class. */
|
|
78
78
|
this.animationClass = null;
|
|
79
|
+
this.breakpointChange = (e) => {
|
|
80
|
+
this.device = e.detail;
|
|
81
|
+
this.cancelAnimation();
|
|
82
|
+
};
|
|
79
83
|
this.handleClickOutside = async (event) => {
|
|
80
84
|
if (this.device !== 'desktop')
|
|
81
85
|
return;
|
|
@@ -103,7 +107,7 @@ const PostMegadropdown = class {
|
|
|
103
107
|
this.handleClickOutside = this.handleClickOutside.bind(this);
|
|
104
108
|
}
|
|
105
109
|
connectedCallback() {
|
|
106
|
-
globalThis.addEventListener('postBreakpoint:device', this.breakpointChange
|
|
110
|
+
globalThis.addEventListener('postBreakpoint:device', this.breakpointChange);
|
|
107
111
|
}
|
|
108
112
|
componentDidRender() {
|
|
109
113
|
this.getFocusableElements();
|
|
@@ -114,7 +118,7 @@ const PostMegadropdown = class {
|
|
|
114
118
|
this.handleAriaCurrentChange([]);
|
|
115
119
|
}
|
|
116
120
|
disconnectedCallback() {
|
|
117
|
-
globalThis.removeEventListener('postBreakpoint:device', this.breakpointChange
|
|
121
|
+
globalThis.removeEventListener('postBreakpoint:device', this.breakpointChange);
|
|
118
122
|
if (PostMegadropdown.activeDropdown === this)
|
|
119
123
|
PostMegadropdown.activeDropdown = null;
|
|
120
124
|
this.removeListeners();
|
|
@@ -242,10 +246,6 @@ const PostMegadropdown = class {
|
|
|
242
246
|
this.currentAnimation?.cancel();
|
|
243
247
|
this.currentAnimation = null;
|
|
244
248
|
}
|
|
245
|
-
breakpointChange(e) {
|
|
246
|
-
this.device = e.detail;
|
|
247
|
-
this.cancelAnimation();
|
|
248
|
-
}
|
|
249
249
|
addListeners() {
|
|
250
250
|
this.host.addEventListener('keydown', this.keyboardHandler);
|
|
251
251
|
document.addEventListener('keyup', this.handleTabOutside);
|
|
@@ -333,7 +333,7 @@ const PostMegadropdown = class {
|
|
|
333
333
|
}
|
|
334
334
|
render() {
|
|
335
335
|
const containerStyle = this.isVisible ? {} : { display: 'none' };
|
|
336
|
-
return (index.h(index.Host, { key: '
|
|
336
|
+
return (index.h(index.Host, { key: '355f69ea10cd4c3c058e4c1e6818f1c9da7d4102', version: _package.version }, index.h("div", { key: '9c2b9b31aa450c1e1b4257066a38bd3660e834ef', ref: el => (this.animatedContainer = el), class: "megadropdown", style: containerStyle }, index.h("div", { key: '7fe7f257bb41b43b72cda39f1614c5ba4726b940', class: "section" }, this.device !== 'desktop' && this.megadropdownTitle && (index.h("p", { key: '09ffb0ce4a56453d33d4366ce30c0bce09395f93', class: "megadropdown-title" }, this.megadropdownTitle)), index.h("div", { key: 'd88fb0218c8788981dd7f3213979eba5ab7ff333', class: "megadropdown-content" }, index.h("slot", { key: 'ab64e771770bd42c4f077ebe5e05685cb285134f' })), this.device === 'desktop' ? (index.h("post-closebutton", { onClick: () => this.hide(true), class: "close-button", size: "small", placement: "manual" }, this.textClose)) : (index.h("button", { onClick: () => this.hide(true), class: "back-button" }, index.h("post-icon", { name: "arrowleft" }), this.textBack))))));
|
|
337
337
|
}
|
|
338
338
|
get host() { return index.getElement(this); }
|
|
339
339
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-B5ypPkK3.js');
|
|
4
|
-
var _package = require('./package-
|
|
4
|
+
var _package = require('./package-uiAqYqcY.js');
|
|
5
5
|
|
|
6
6
|
const postMenuItemCss = () => `post-menu-item button{padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:button;-moz-appearance:button;appearance:button;width:100%}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){post-menu-item button{background-color:ButtonFace !important}post-menu-item button:hover{background-color:Highlight !important}}post-menu-item a{text-decoration:none}post-menu-item button,post-menu-item a{position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:.5rem .75rem .5rem 1rem;gap:.75rem;font-size:.875rem;color:#050400;border-radius:0}post-menu-item button post-icon,post-menu-item a post-icon{width:1rem;height:1rem;margin-block:.25rem}@media screen and (min-width: 780px){post-menu-item button,post-menu-item a{font-size:1rem;padding-block:.75rem;gap:1rem}post-menu-item button post-icon,post-menu-item a post-icon{width:1.5rem;height:1.5rem;margin:0}}@media screen and (min-width: 1024px){post-menu-item button,post-menu-item a{font-size:1.25rem;padding-block:.8125rem}}post-menu-item button:focus-visible,post-menu-item a:focus-visible{outline-offset:2px !important;border-radius:4px}post-menu-item button:hover,post-menu-item a:hover{background-color:#504f4b;color:#fff}`;
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-B5ypPkK3.js');
|
|
4
|
-
var _package = require('./package-
|
|
4
|
+
var _package = require('./package-uiAqYqcY.js');
|
|
5
5
|
var getRoot = require('./get-root-B1FnQ50K.js');
|
|
6
6
|
var getFocusableChildren = require('./get-focusable-children-BGVgg7Te.js');
|
|
7
7
|
var oneOf = require('./one-of-7TSi182P.js');
|
|
@@ -191,7 +191,7 @@ const PostMenu = class {
|
|
|
191
191
|
]));
|
|
192
192
|
}
|
|
193
193
|
render() {
|
|
194
|
-
return (index.h(index.Host, { key: '
|
|
194
|
+
return (index.h(index.Host, { key: '31142d851d591bc46a43f36b553b6c7abee90674', "data-version": _package.version }, index.h("post-popovercontainer", { key: '6b4b2a04b25904115fe1c337e73e382a4e162259', onPostShow: this.handlePostShown.bind(this), onPostBeforeToggle: this.handlePostBeforeToggle.bind(this), placement: this.placement, ref: e => (this.popoverRef = e) }, index.h("div", { key: '1284650d5796455201d55e1ecad3507518c7c32c', part: "post-menu" }, index.h("slot", { key: 'b2dbd125a631c06a591e67c52fd61524bcf037ea', name: "header" }), index.h("slot", { key: '3b15ec3ad5a25e2e22b6e26e17d9d2d76e9f64fb' })))));
|
|
195
195
|
}
|
|
196
196
|
get host() { return index.getElement(this); }
|
|
197
197
|
};
|
|
@@ -277,7 +277,7 @@ const PostMenuTrigger = class {
|
|
|
277
277
|
return null;
|
|
278
278
|
}
|
|
279
279
|
render() {
|
|
280
|
-
return (index.h(index.Host, { key: '
|
|
280
|
+
return (index.h(index.Host, { key: '8f43fe80dd56550141481f157a06caf559494291', "data-version": _package.version }, index.h("slot", { key: '1b5d220cff9894918aedc54b0585df75095dcb0e' })));
|
|
281
281
|
}
|
|
282
282
|
get host() { return index.getElement(this); }
|
|
283
283
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-B5ypPkK3.js');
|
|
4
|
-
var _package = require('./package-
|
|
4
|
+
var _package = require('./package-uiAqYqcY.js');
|
|
5
5
|
var index$1 = require('./index-CggFmZ8n.js');
|
|
6
6
|
|
|
7
7
|
function getSlottedElement(host, selector) {
|
|
@@ -128,10 +128,10 @@ const PostNumberInput = class {
|
|
|
128
128
|
}
|
|
129
129
|
render() {
|
|
130
130
|
const areButtonsShown = !!this.input;
|
|
131
|
-
return (index.h(index.Host, { key: '
|
|
131
|
+
return (index.h(index.Host, { key: '59cbe12c66b0eabbff15a3110ee847396df2d261', "data-version": _package.version, class: {
|
|
132
132
|
'number-input-sm': this.small,
|
|
133
133
|
'disabled': this.isDisabled,
|
|
134
|
-
} }, areButtonsShown && (index.h("div", { key: '
|
|
134
|
+
} }, areButtonsShown && (index.h("div", { key: '43fca97c040104786ab528b04f3e0dd576f29025', "aria-hidden": "true", onPointerDown: () => this.step('down'), class: { 'step-button': true, 'disabled': this.isDecrementDisabled } }, index.h("post-icon", { key: '1b41c236beb802d98f60776827928335d00599c4', name: "minus" }))), index.h("div", { key: '8342d335e0a84f78514edac5052ffea081fb40c7', class: "input-container" }, index.h("slot", { key: 'd2f8eae0656faaab31358cd3582c873d4a491e73', onSlotchange: () => this.setupInput() })), areButtonsShown && (index.h("div", { key: '0055b317ed6ec64f2451640c436d169bb0b07626', "aria-hidden": "true", onPointerDown: () => this.step('up'), class: { 'step-button': true, 'disabled': this.isIncrementDisabled } }, index.h("post-icon", { key: 'dafe4a65f6d5d6ba4f54229c55506d5cf14fe126', name: "plus" })))));
|
|
135
135
|
}
|
|
136
136
|
get host() { return index.getElement(this); }
|
|
137
137
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-B5ypPkK3.js');
|
|
4
|
-
var _package = require('./package-
|
|
4
|
+
var _package = require('./package-uiAqYqcY.js');
|
|
5
5
|
var debounce = require('./debounce-BsIBi_-2.js');
|
|
6
6
|
var nanoid = require('./nanoid-CmjyF1Cm.js');
|
|
7
7
|
var type = require('./type-CAeEC3oM.js');
|
|
@@ -190,7 +190,7 @@ const PostPagination = class {
|
|
|
190
190
|
updatePagesWithValidation() {
|
|
191
191
|
const totalPages = this.getTotalPages();
|
|
192
192
|
this.page = this.clampPageToValidRange(totalPages);
|
|
193
|
-
this.
|
|
193
|
+
this.generateItems(totalPages);
|
|
194
194
|
}
|
|
195
195
|
/**
|
|
196
196
|
* Calculates the total number of pages.
|
|
@@ -408,21 +408,37 @@ const PostPagination = class {
|
|
|
408
408
|
/**
|
|
409
409
|
* Generates the page numbers array with ellipsis based on available space.
|
|
410
410
|
*/
|
|
411
|
-
generatePages(totalPages) {
|
|
412
|
-
const maxVisible = this.maxVisiblePages;
|
|
413
|
-
const currentPage = this.page;
|
|
411
|
+
generatePages(totalPages, maxVisible, currentPage) {
|
|
414
412
|
if (totalPages <= maxVisible) {
|
|
415
|
-
|
|
416
|
-
return;
|
|
413
|
+
return this.buildAllPages(totalPages);
|
|
417
414
|
}
|
|
418
415
|
// Use simplified logic for small slot counts
|
|
419
416
|
if (maxVisible <= 4) {
|
|
420
|
-
|
|
421
|
-
return;
|
|
417
|
+
return this.generateSmallPagination(currentPage, totalPages);
|
|
422
418
|
}
|
|
423
419
|
// Use full algorithm for larger slot counts
|
|
424
420
|
const { startPage, endPage } = this.calculatePageRange(currentPage, totalPages, maxVisible);
|
|
425
|
-
|
|
421
|
+
return this.buildPaginationItems(startPage, endPage, totalPages);
|
|
422
|
+
}
|
|
423
|
+
/**
|
|
424
|
+
* Generates the full list of pagination items including controls and pages.
|
|
425
|
+
*/
|
|
426
|
+
generateItems(totalPages) {
|
|
427
|
+
const maxVisible = this.maxVisiblePages;
|
|
428
|
+
const currentPage = this.page;
|
|
429
|
+
this.items = [
|
|
430
|
+
{
|
|
431
|
+
type: 'control',
|
|
432
|
+
action: 'previous',
|
|
433
|
+
disabled: currentPage <= 1,
|
|
434
|
+
},
|
|
435
|
+
...this.generatePages(totalPages, maxVisible, currentPage),
|
|
436
|
+
{
|
|
437
|
+
type: 'control',
|
|
438
|
+
action: 'next',
|
|
439
|
+
disabled: currentPage >= totalPages,
|
|
440
|
+
},
|
|
441
|
+
];
|
|
426
442
|
}
|
|
427
443
|
/**
|
|
428
444
|
* Emit page change event and update page
|
|
@@ -479,11 +495,34 @@ const PostPagination = class {
|
|
|
479
495
|
}
|
|
480
496
|
return `${this.textPage} ${pageNumber}`;
|
|
481
497
|
}
|
|
498
|
+
/**
|
|
499
|
+
* Builds the attributes for a control button based on the action type.
|
|
500
|
+
*/
|
|
501
|
+
buildControlAttributes(action) {
|
|
502
|
+
switch (action) {
|
|
503
|
+
case 'previous':
|
|
504
|
+
return {
|
|
505
|
+
key: 'prev',
|
|
506
|
+
icon: 'chevronleftwide',
|
|
507
|
+
label: this.textPrevious,
|
|
508
|
+
className: 'prev-button',
|
|
509
|
+
onClick: () => this.handlePrevious(),
|
|
510
|
+
};
|
|
511
|
+
case 'next':
|
|
512
|
+
return {
|
|
513
|
+
key: 'next',
|
|
514
|
+
icon: 'chevronrightwide',
|
|
515
|
+
label: this.textNext,
|
|
516
|
+
className: 'next-button',
|
|
517
|
+
onClick: () => this.handleNext(),
|
|
518
|
+
};
|
|
519
|
+
}
|
|
520
|
+
}
|
|
482
521
|
/**
|
|
483
522
|
* Renders an ellipsis item.
|
|
484
523
|
*/
|
|
485
|
-
renderEllipsis(
|
|
486
|
-
return (index.h("li", { class: "pagination-item pagination-ellipsis", key:
|
|
524
|
+
renderEllipsis(index$1) {
|
|
525
|
+
return (index.h("li", { class: "pagination-item pagination-ellipsis", key: `ellipsis-${index$1}`, "aria-hidden": "true" }, index.h("span", { class: "pagination-ellipsis-content" }, ELLIPSIS)));
|
|
487
526
|
}
|
|
488
527
|
/**
|
|
489
528
|
* Renders a page button.
|
|
@@ -495,29 +534,44 @@ const PostPagination = class {
|
|
|
495
534
|
'pagination-link-active': isCurrent,
|
|
496
535
|
}, "aria-label": this.buildPageLabel(pageNumber), "aria-current": isCurrent ? 'page' : undefined, onClick: () => this.handlePageClick(pageNumber), onKeyDown: e => this.handleKeyDown(e, () => this.handlePageClick(pageNumber)), tabIndex: 0 }, index.h("span", { "aria-hidden": "true" }, pageNumber))));
|
|
497
536
|
}
|
|
537
|
+
/**
|
|
538
|
+
* Renders a control button.
|
|
539
|
+
*/
|
|
540
|
+
renderControlButton(action, disabled) {
|
|
541
|
+
const attributes = this.buildControlAttributes(action);
|
|
542
|
+
return (index.h("li", { class: "pagination-item pagination-control", key: attributes.key }, index.h("button", { type: "button", class: `pagination-control-button btn btn-icon btn-secondary ${attributes.className}`, "aria-label": attributes.label, onClick: attributes.onClick, onKeyDown: e => this.handleKeyDown(e, attributes.onClick), tabIndex: disabled ? -1 : 0, disabled: disabled }, index.h("post-icon", { name: attributes.icon, "aria-hidden": "true" }), index.h("span", { class: "visually-hidden" }, attributes.label))));
|
|
543
|
+
}
|
|
498
544
|
/**
|
|
499
545
|
* Renders a pagination item.
|
|
500
546
|
*/
|
|
501
547
|
renderItem(item, index) {
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
548
|
+
switch (item.type) {
|
|
549
|
+
case 'page':
|
|
550
|
+
return this.renderPageButton(item.page);
|
|
551
|
+
case 'control':
|
|
552
|
+
return this.renderControlButton(item.action, item.disabled);
|
|
553
|
+
case 'ellipsis':
|
|
554
|
+
return this.renderEllipsis(index);
|
|
555
|
+
}
|
|
505
556
|
}
|
|
506
557
|
/**
|
|
507
|
-
* Renders control button
|
|
558
|
+
* Renders a minimal control button for measurement.
|
|
508
559
|
*/
|
|
509
|
-
|
|
510
|
-
|
|
560
|
+
renderHiddenControlButton(action) {
|
|
561
|
+
const attributes = this.buildControlAttributes(action);
|
|
562
|
+
return (index.h("button", { key: `hidden-${attributes.key}`, class: "pagination-link pagination-control-button hidden-control-button", disabled: true }, index.h("post-icon", { name: attributes.icon, "aria-hidden": "true" })));
|
|
511
563
|
}
|
|
512
564
|
/**
|
|
513
565
|
* Renders minimal hidden items for measurement
|
|
514
566
|
*/
|
|
515
|
-
renderHiddenItems(totalPages
|
|
567
|
+
renderHiddenItems(totalPages) {
|
|
568
|
+
const first = this.items.at(0);
|
|
569
|
+
const last = this.items.at(-1);
|
|
516
570
|
return [
|
|
517
|
-
|
|
571
|
+
first?.type === 'control' && this.renderHiddenControlButton(first.action),
|
|
518
572
|
index.h("button", { key: "hidden-page", class: "pagination-link pagination-control-button hidden-page-button", "aria-label": this.buildPageLabel(totalPages), disabled: true }, index.h("span", { "aria-hidden": "true" }, totalPages)),
|
|
519
573
|
index.h("span", { key: "hidden-ellipsis", class: "pagination-ellipsis-content hidden-ellipsis", "aria-hidden": "true" }, ELLIPSIS),
|
|
520
|
-
|
|
574
|
+
last?.type === 'control' && this.renderHiddenControlButton(last.action),
|
|
521
575
|
];
|
|
522
576
|
}
|
|
523
577
|
render() {
|
|
@@ -525,11 +579,7 @@ const PostPagination = class {
|
|
|
525
579
|
if (totalPages <= 1) {
|
|
526
580
|
return null;
|
|
527
581
|
}
|
|
528
|
-
|
|
529
|
-
const isNextHidden = this.page >= totalPages;
|
|
530
|
-
return (index.h(index.Host, { slot: "post-pagination", "data-version": _package.version }, index.h("nav", { class: "pagination", "aria-label": this.label, id: this.paginationId, ref: el => (this.navRef = el) }, index.h("ul", { class: "pagination-list", role: "list" }, !isPrevHidden &&
|
|
531
|
-
this.renderControlButton('chevronleftwide', true, this.textPrevious, () => this.handlePrevious()), this.items.map((item, index) => this.renderItem(item, index)), !isNextHidden &&
|
|
532
|
-
this.renderControlButton('chevronrightwide', false, this.textNext, () => this.handleNext())), index.h("div", { class: "hidden-items", "aria-hidden": "true", ref: el => (this.hiddenItemsRef = el) }, this.renderHiddenItems(totalPages, isPrevHidden, isNextHidden)))));
|
|
582
|
+
return (index.h(index.Host, { slot: "post-pagination", "data-version": _package.version }, index.h("nav", { class: "pagination", "aria-label": this.label, id: this.paginationId, ref: el => (this.navRef = el) }, index.h("ul", { class: "pagination-list", role: "list" }, this.items.map((item, index) => this.renderItem(item, index))), index.h("div", { class: "hidden-items", "aria-hidden": "true", ref: el => (this.hiddenItemsRef = el) }, this.renderHiddenItems(totalPages)))));
|
|
533
583
|
}
|
|
534
584
|
get host() { return index.getElement(this); }
|
|
535
585
|
static get watchers() { return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-B5ypPkK3.js');
|
|
4
|
-
var _package = require('./package-
|
|
4
|
+
var _package = require('./package-uiAqYqcY.js');
|
|
5
5
|
var focusable = require('./focusable-COT2uiEV.js');
|
|
6
6
|
var type = require('./type-CAeEC3oM.js');
|
|
7
7
|
require('./_commonjsHelpers-BJu3ubxk.js');
|
|
@@ -115,7 +115,7 @@ const PostPopoverTrigger = class {
|
|
|
115
115
|
this.popover?.removeEventListener('postToggle', this.boundHandlePostToggle);
|
|
116
116
|
}
|
|
117
117
|
render() {
|
|
118
|
-
return (index.h(index.Host, { key: '
|
|
118
|
+
return (index.h(index.Host, { key: '009495ba354321f2b0162c4a0c4fcb1e165074e7', "data-version": _package.version }, index.h("slot", { key: 'f0e5ef7851b4bc9916382b0910d9500db52668d4', onSlotchange: () => this.setupTrigger() })));
|
|
119
119
|
}
|
|
120
120
|
get host() { return index.getElement(this); }
|
|
121
121
|
static get watchers() { return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-B5ypPkK3.js');
|
|
4
|
-
var _package = require('./package-
|
|
4
|
+
var _package = require('./package-uiAqYqcY.js');
|
|
5
5
|
var getFocusableChildren = require('./get-focusable-children-BGVgg7Te.js');
|
|
6
6
|
var placement = require('./placement-qEFR9hmI.js');
|
|
7
7
|
var oneOf = require('./one-of-7TSi182P.js');
|
|
@@ -91,10 +91,10 @@ const PostPopover = class {
|
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
render() {
|
|
94
|
-
return (index.h(index.Host, { key: '
|
|
94
|
+
return (index.h(index.Host, { key: 'f4f8be88b1cd844bcc3517dec2d0468de703ed8f', "data-version": _package.version }, index.h("post-popovercontainer", { key: 'da00d26e57d94519fc779953101596d20562c9f5', arrow: this.arrow, placement: this.placement, edgeGap: this.edgeGap, ref: e => {
|
|
95
95
|
if (e)
|
|
96
96
|
this.popoverRef = e;
|
|
97
|
-
} }, index.h("div", { key: '
|
|
97
|
+
} }, index.h("div", { key: 'addb4760c6c815a874798bde52387141ca261d20', class: "popover-container" }, index.h("div", { key: '18ce8f7a597a0c7b5d3f07cef8333f78b5c30f4c', class: "popover-content" }, index.h("slot", { key: '05980996b118f6a16ac49fc0efa52b87d44b5f43' })), index.h("post-closebutton", { key: '161dff07e96811be00f08de379df7882319e07cb', onClick: () => this.hide() }, this.textClose)))));
|
|
98
98
|
}
|
|
99
99
|
get host() { return index.getElement(this); }
|
|
100
100
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-B5ypPkK3.js');
|
|
4
|
-
var _package = require('./package-
|
|
4
|
+
var _package = require('./package-uiAqYqcY.js');
|
|
5
5
|
var oneOf = require('./one-of-7TSi182P.js');
|
|
6
6
|
var placement = require('./placement-qEFR9hmI.js');
|
|
7
7
|
var type = require('./type-CAeEC3oM.js');
|
|
@@ -3088,9 +3088,9 @@ const PostPopovercontainer = class {
|
|
|
3088
3088
|
}
|
|
3089
3089
|
}
|
|
3090
3090
|
render() {
|
|
3091
|
-
return (index.h(index.Host, { key: '
|
|
3091
|
+
return (index.h(index.Host, { key: 'be9f32a35f247f5b2cb54599b96e715ce1a5a1f1', "data-version": _package.version, popover: "auto" }, index.h("div", { key: 'ad2616c15dfec83e1e53ad14cb145aee2d625c9a', part: "post-popovercontainer-content", class: "popover-content" }, this.arrow && (index.h("span", { key: '293ba9d1ba2a7b57297cd4aa716ba1369b2f8988', "dynamic-placement": this.dynamicPlacement, class: "arrow", ref: el => {
|
|
3092
3092
|
this.arrowRef = el;
|
|
3093
|
-
} })), index.h("span", { key: '
|
|
3093
|
+
} })), index.h("span", { key: '7b9d47b53a4d4a672490eccdc88a7eb0552b5574', part: "post-popovercontainer-border-mask" }), index.h("slot", { key: '4b4249d6ebe1c247634bbb76b08ec01e73dc7d4b' }))));
|
|
3094
3094
|
}
|
|
3095
3095
|
get host() { return index.getElement(this); }
|
|
3096
3096
|
};
|
|
@@ -125,7 +125,7 @@ const PostProgressbar = class {
|
|
|
125
125
|
const max = this.getEffectiveMax();
|
|
126
126
|
const value = this.getEffectiveValue(min, max);
|
|
127
127
|
const percentage = ((value - min) / (max - min)) * 100;
|
|
128
|
-
return (index.h(index.Host, { key: '
|
|
128
|
+
return (index.h(index.Host, { key: '26bdbb5219393e8b44e2fe5395d8a4cd8aa7e18a', role: "progressbar", "aria-valuenow": value, "aria-valuemin": min, "aria-valuemax": max }, index.h("div", { key: '65b81479fac7aa6024556ef6589064f997f4394e', class: "progress-value", style: { '--post-progressbar-value': `${percentage}%` } })));
|
|
129
129
|
}
|
|
130
130
|
get host() { return index.getElement(this); }
|
|
131
131
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-B5ypPkK3.js');
|
|
4
|
-
var _package = require('./package-
|
|
4
|
+
var _package = require('./package-uiAqYqcY.js');
|
|
5
5
|
var required = require('./required-_r1rzbps.js');
|
|
6
6
|
var type = require('./type-CAeEC3oM.js');
|
|
7
7
|
require('./create-validator-decorator-CJK3Xf77.js');
|
|
@@ -93,7 +93,7 @@ const PostRating = class {
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
render() {
|
|
96
|
-
return (index.h(index.Host, { key: '
|
|
96
|
+
return (index.h(index.Host, { key: 'c793abbf5e0d01bb19dc4464ebd75249959a1717', "data-version": _package.version }, index.h("div", { key: '357946df40a3d3a85ece2d0ac6ecc761951d9471', role: "slider", class: "rating", tabindex: "0", "aria-label": this.label, "aria-valuemin": "0", "aria-valuemax": this.stars, "aria-valuenow": this.currentRating, "aria-valuetext": `${this.currentRating} / ${this.stars}`, "aria-readonly": this.readonly ? 'true' : 'false', onKeyDown: this.keydownHandler, onBlur: this.blurHandler }, Array.from({ length: this.stars }).map((v, i) => (index.h("div", { key: `star-${v}`, "aria-hidden": "true", class: {
|
|
97
97
|
'star': true,
|
|
98
98
|
'before-hover': i < this.hoveredIndex,
|
|
99
99
|
'active': i < Math.round(this.currentRating),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-B5ypPkK3.js');
|
|
4
|
-
var _package = require('./package-
|
|
4
|
+
var _package = require('./package-uiAqYqcY.js');
|
|
5
5
|
var getRoot = require('./get-root-B1FnQ50K.js');
|
|
6
6
|
var required = require('./required-_r1rzbps.js');
|
|
7
7
|
var type = require('./type-CAeEC3oM.js');
|
|
@@ -92,7 +92,7 @@ const PostSideNavigationTrigger = class {
|
|
|
92
92
|
await this.sideNavigation?.toggle();
|
|
93
93
|
}
|
|
94
94
|
render() {
|
|
95
|
-
return (index.h(index.Host, { key: '
|
|
95
|
+
return (index.h(index.Host, { key: '2822a6c7246da96de537eff3e3fbf5a2db400547', "data-version": _package.version }, index.h("slot", { key: '0bb02d90c7916a4dbfe6dd7fc0f4325509939a80' })));
|
|
96
96
|
}
|
|
97
97
|
get host() { return index.getElement(this); }
|
|
98
98
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-B5ypPkK3.js');
|
|
4
|
-
var _package = require('./package-
|
|
4
|
+
var _package = require('./package-uiAqYqcY.js');
|
|
5
5
|
var breakpoints = require('./breakpoints-CI0Xuh1L.js');
|
|
6
6
|
var getFocusableChildren = require('./get-focusable-children-BGVgg7Te.js');
|
|
7
7
|
var required = require('./required-_r1rzbps.js');
|
|
@@ -131,7 +131,7 @@ const PostSideNavigation = class {
|
|
|
131
131
|
} }, index.h("slot", null), index.h("post-closebutton", { onClick: () => this.hide() }, this.textClose)));
|
|
132
132
|
}
|
|
133
133
|
render() {
|
|
134
|
-
return (index.h(index.Host, { key: '
|
|
134
|
+
return (index.h(index.Host, { key: 'b551854e6db686783086a7a9d82a6847bf2a04b9', "data-version": _package.version }, this.device === 'desktop' ? this.renderNav() : this.renderDialog()));
|
|
135
135
|
}
|
|
136
136
|
get host() { return index.getElement(this); }
|
|
137
137
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-B5ypPkK3.js');
|
|
4
|
-
var _package = require('./package-
|
|
4
|
+
var _package = require('./package-uiAqYqcY.js');
|
|
5
5
|
|
|
6
|
-
const postStepperItemCss = () => `:host{grid-row:1;position:relative;-webkit-padding-start:0;padding-inline-start:0}:host::before,:host::after{content:"";display:block;position:absolute;inset-block-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - 2px)/2);height:2px;background-color:var(--post-scheme-color-interactive-primary-disabled-bg4);inset-inline:0}:host(:not(:first-of-type)){-webkit-padding-start:calc(var(--post-device-sizing-interactive-stepper-indicator) / 2);padding-inline-start:calc(var(--post-device-sizing-interactive-stepper-indicator) / 2)}:host(:not(:last-of-type)){-webkit-padding-end:calc(var(--post-device-sizing-interactive-stepper-indicator) / 2);padding-inline-end:calc(var(--post-device-sizing-interactive-stepper-indicator) / 2);grid-column:span 2}:host(:not(:first-of-type,:last-of-type))::before{inset-inline-end:50%}:host(:not(:first-of-type,:last-of-type))::after{inset-inline-start:50%}:host(.stepper-item-current:not(:last-of-type))::after,:host(.stepper-item-current:first-of-type)::before,:host(.stepper-item-after-current)::before,:host(.stepper-item-after-current:last-of-type)::after{background-color:var(--post-scheme-color-interactive-primary-enabled-fg1)}:host(.stepper-item-current:not(:first-of-type))::before,:host(.stepper-item-current:last-of-type)::after,:host(.stepper-item-completed)::before,:host(.stepper-item-completed)::after{background-color:var(--post-scheme-color-interactive-primary-selected-bg2);z-index:1}.stepper-item-content{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;position:relative;z-index:2;overflow:hidden;text-decoration:none;color:var(--post-scheme-color-interactive-primary-disabled-fg1);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;word-break:break-word;font-size:var(--post-device-font-size-7)}:host(:not(:first-of-type,:last-of-type))>.stepper-item-content{margin-inline:auto;text-align:center}:host(:last-of-type)>.stepper-item-content{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:-20px;margin-inline-end:-20px;text-align:end}:host(.stepper-item-completed)>.stepper-item-content{color:var(--post-scheme-color-interactive-primary-enabled-fg1)}:host(.stepper-item-selected)>.stepper-item-content{font-weight:var(--post-device-font-weight-bold)}:host(.stepper-item-selected)>.stepper-item-content::before{font-weight:var(--post-device-font-weight-regular)}:host(.stepper-item-current)>.stepper-item-content{color:var(--post-scheme-color-interactive-primary-enabled-fg1)}:host(.stepper-item-current)>.stepper-item-content::before{color:var(--post-scheme-color-interactive-primary-enabled-fg3)}.stepper-item-content::before{content:var(--step-number, "?");display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;z-index:1;height:var(--post-device-sizing-interactive-stepper-indicator);width:var(--post-device-sizing-interactive-stepper-indicator);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-margin-after:var(--post-device-spacing-gap-1);margin-block-end:var(--post-device-spacing-gap-1);color:var(--post-scheme-color-interactive-primary-disabled-fg3);background-color:var(--post-scheme-color-interactive-primary-disabled-bg4);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-disabled-stroke3);border-radius:var(--post-device-border-radius-round);text-indent:initial}:host(:not(:first-of-type,:last-of-type))>.stepper-item-content::before{margin-inline:auto}:host(:last-of-type)>.stepper-item-content::before{-webkit-margin-start:auto;margin-inline-start:auto}:host(.stepper-item-completed)>.stepper-item-content::before{color:rgba(0,0,0,0);background-color:var(--post-scheme-color-interactive-primary-selected-bg2);border-color:var(--post-scheme-color-interactive-primary-selected-stroke3)}:host(.stepper-item-current)>.stepper-item-content::before{color:var(--post-scheme-color-interactive-primary-enabled-fg3);background-color:var(--post-scheme-color-interactive-primary-enabled-bg2);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-enabled-stroke3)}.stepper-item-content::after{display:block;position:absolute;inset-block-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size7))/2);z-index:1;-webkit-mask-image:var(--post-icon-checkmark-solid);mask-image:var(--post-icon-checkmark-solid);background-color:currentColor;width:var(--post-device-sizing-interactive-icon-size7);height:var(--post-device-sizing-interactive-icon-size7);background-color:var(--post-scheme-color-interactive-primary-enabled-fg3)}:root,:host{--post-icon-checkmark-solid:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktY2hlY2ttYXJrLXNvbGlkIj48c3ltYm9sIGlkPSJzMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0ibTcuNDkgMTIuOTktMy42NC0zLjljLS40Ny0uNS0uNDQtMS4zLjA2LTEuNzdzMS4yOS0uNDQgMS43Ny4wNmwxLjQ4IDEuNTggMy4wNS00LjYyYy4zOC0uNTggMS4xNi0uNzQgMS43My0uMzUuNTguMzguNzQgMS4xNi4zNSAxLjczeiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InMyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJtMTEuMTggMTguODgtNS4xNC01LjUxYTEuNSAxLjUgMCAwIDEgLjA3LTIuMTJjLjYtLjU2IDEuNTUtLjUzIDIuMTIuMDdsMi41NCAyLjcyIDQuODQtNy4zM2MuNDYtLjY5IDEuMzktLjg4IDIuMDgtLjQzLjY5LjQ2Ljg4IDEuMzkuNDMgMi4wOGwtNi45NCAxMC41MVoiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTTE0Ljg3IDI0LjgxIDguMjMgMTcuN2MtLjY2LS43MS0uNjItMS44MS4wOC0yLjQ3LjcxLS42NiAxLjgxLS42MiAyLjQ3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PHVzZSBzdHlsZT0iZGlzcGxheTogdmFyKC0tczQwLCBub25lKSIgaHJlZj0iI3M0MCIvPjx1c2Ugc3R5bGU9ImRpc3BsYXk6IHZhcigtLXM0OCwgbm9uZSkiIGhyZWY9IiNzNDgiLz48dXNlIHN0eWxlPSJkaXNwbGF5OiB2YXIoLS1zNjQsIG5vbmUpIiBocmVmPSIjczY0Ii8+PC9zeW1ib2w+PC9kZWZzPjxzdHlsZT5AbWVkaWEgKG1heC13aWR0aDogMjMuOThweCkge2d7LS1zMTY6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogMjRweCkgYW5kIChtYXgtd2lkdGg6IDMxLjk4cHgpIHtney0tczI0OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDMycHgpIGFuZCAobWF4LXdpZHRoOiAzOS45OHB4KSB7Z3stLXMzMjpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiA0MHB4KSBhbmQgKG1heC13aWR0aDogNDcuOThweCkge2d7LS1zNDA6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogNDhweCkgYW5kIChtYXgtd2lkdGg6IDYzLjk4cHgpIHtney0tczQ4OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDY0cHgpIHtney0tczY0OmJsb2NrO319PC9zdHlsZT48Zz48dXNlIGhyZWY9IiNpLWNoZWNrbWFyay1zb2xpZCIvPjwvZz48L3N2Zz4=")}:host(:first-of-type)>.stepper-item-content::after{inset-inline-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size7))/2)}:host(:not(:first-of-type,:last-of-type))>.stepper-item-content::after{inset-inline-start:calc(50% - var(--post-device-sizing-interactive-icon-size7)/2)}:host(:last-of-type)>.stepper-item-content::after{inset-inline-end:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size7))/2)}:host(.stepper-item-completed)>.stepper-item-content::after{content:""}:host([aria-current=step])>.stepper-item-content::after{-webkit-mask-image:var(--post-icon-edit-solid);mask-image:var(--post-icon-edit-solid);background-color:currentColor;width:var(--post-device-sizing-interactive-icon-size4);height:var(--post-device-sizing-interactive-icon-size4);background-color:var(--post-scheme-color-interactive-primary-enabled-fg3);inset-block-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size4))/2)}:root,:host{--post-icon-edit-solid:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktZWRpdC1zb2xpZCI+PHN5bWJvbCBpZD0iczE2IiB2aWV3Qm94PSIwIDAgMTYgMTYiPjxwYXRoIGQ9Im0xLjUgMTAuOTkgOC41LTguNXMuMDMuMDUuMDUuMDdsMy41IDMuNDUtOC41MiA4LjUxem0tLjkyIDEuMi0uNTYgMy44IDMuODEtLjU2LTMuMjQtMy4yNFptMTUuMjUtOS4zN0wxMy4xOS4xOGEuNjMuNjMgMCAwIDAtLjg4IDBsLTEuMjcgMS4yN3MuMDQuMDIuMDYuMDRsMy41IDMuNDUgMS4yMy0xLjIzYy4yNC0uMjQuMjQtLjY0IDAtLjg4WiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InMyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNNS44NCAyMy4xNS4wMiAyNGwuODUtNS44MnptMS40MS0xLjA4TDIwLjQ5IDguODNsLTUuMjUtNS4xN3MtLjA0LS4wNy0uMDctLjFMMS45NSAxNi43OGw1LjMgNS4zWm0xNi41LTE3LjgzTDE5Ljc4LjI3YS45MzYuOTM2IDAgMCAwLTEuMzMgMGwtMi4wOSAyLjA5cy4wNi4wMy4wOS4wNmw1LjI2IDUuMTggMi4wMy0yLjAzYy4zNy0uMzcuMzctLjk2IDAtMS4zM1oiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0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DogNDcuOThweCkge2d7LS1zNDA6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogNDhweCkgYW5kIChtYXgtd2lkdGg6IDYzLjk4cHgpIHtney0tczQ4OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDY0cHgpIHtney0tczY0OmJsb2NrO319PC9zdHlsZT48Zz48dXNlIGhyZWY9IiNpLWVkaXQtc29saWQiLz48L2c+PC9zdmc+")}:host([aria-current=step]:first-of-type)>.stepper-item-content::after{inset-inline-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size4))/2)}:host([aria-current=step]:not(:first-of-type,:last-of-type))>.stepper-item-content::after{inset-inline-start:calc(50% - var(--post-device-sizing-interactive-icon-size4)/2)}:host([aria-current=step]:last-of-type)>.stepper-item-content::after{inset-inline-end:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size4))/2)}@media screen and (max-width: 779.98px){:host{-ms-flex-positive:1;flex-grow:1;margin-inline:0;padding:0 !important}:host::before{content:unset}:host::after{inset-inline-start:0 !important}:host(:last-of-type){-ms-flex:0 0 32px;flex:0 0 32px}:host(:last-of-type)::after{content:unset}.stepper-item-content{margin-inline:0 !important}.label{display:none}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host::before,:host::after{background-color:CanvasText !important}:host(.stepper-item-current:not(:first-of-type))::before,:host(.stepper-item-current:last-of-type)::after,:host(.stepper-item-completed)::after,:host(.stepper-item-completed)::before{background-color:Highlight !important}.stepper-item-content::before{forced-color-adjust:none}:host(.stepper-item-current) .stepper-item-content::before{background-color:Canvas;color:CanvasText}:host(.stepper-item-completed) .stepper-item-content::before,:host(.stepper-item-inactive) .stepper-item-content::before{border-color:Canvas;background-color:CanvasText}:host(.stepper-item-inactive) .stepper-item-content::before{color:Canvas}.stepper-item-content::after{color:Canvas}}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}`;
|
|
6
|
+
const postStepperItemCss = () => `:host{grid-row:1;position:relative;-webkit-padding-start:0;padding-inline-start:0}:host::before,:host::after{content:"";display:block;position:absolute;inset-block-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - 2px)/2);height:2px;background-color:var(--post-scheme-color-interactive-primary-disabled-bg4);inset-inline:0}:host(:not(:first-of-type)){-webkit-padding-start:calc(var(--post-device-sizing-interactive-stepper-indicator) / 2);padding-inline-start:calc(var(--post-device-sizing-interactive-stepper-indicator) / 2)}:host(:not(:last-of-type)){-webkit-padding-end:calc(var(--post-device-sizing-interactive-stepper-indicator) / 2);padding-inline-end:calc(var(--post-device-sizing-interactive-stepper-indicator) / 2);grid-column:span 2}:host(:not(:first-of-type,:last-of-type))::before{inset-inline-end:50%}:host(:not(:first-of-type,:last-of-type))::after{inset-inline-start:50%}:host(.stepper-item-current:not(:last-of-type))::after,:host(.stepper-item-current:first-of-type)::before,:host(.stepper-item-after-current)::before,:host(.stepper-item-after-current:last-of-type)::after{background-color:var(--post-scheme-color-interactive-primary-enabled-fg1)}:host(.stepper-item-current:not(:first-of-type))::before,:host(.stepper-item-current:last-of-type)::after,:host(.stepper-item-completed)::before,:host(.stepper-item-completed)::after{background-color:var(--post-scheme-color-interactive-primary-selected-bg2);z-index:1}.stepper-item-content{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;position:relative;z-index:2;overflow:hidden;text-decoration:none;color:var(--post-scheme-color-interactive-primary-disabled-fg1);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;overflow-wrap:anywhere;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;line-break:strict;font-size:var(--post-device-font-size-7)}:host(:not(:first-of-type,:last-of-type))>.stepper-item-content{margin-inline:auto;text-align:center}:host(:last-of-type)>.stepper-item-content{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:-20px;margin-inline-end:-20px;text-align:end}:host(.stepper-item-completed)>.stepper-item-content{color:var(--post-scheme-color-interactive-primary-enabled-fg1)}:host(.stepper-item-selected)>.stepper-item-content{font-weight:var(--post-device-font-weight-bold)}:host(.stepper-item-selected)>.stepper-item-content::before{font-weight:var(--post-device-font-weight-regular)}:host(.stepper-item-current)>.stepper-item-content{color:var(--post-scheme-color-interactive-primary-enabled-fg1)}:host(.stepper-item-current)>.stepper-item-content::before{color:var(--post-scheme-color-interactive-primary-enabled-fg3)}.stepper-item-content::before{content:var(--step-number, "?");display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;z-index:1;height:var(--post-device-sizing-interactive-stepper-indicator);width:var(--post-device-sizing-interactive-stepper-indicator);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-margin-after:var(--post-device-spacing-gap-1);margin-block-end:var(--post-device-spacing-gap-1);color:var(--post-scheme-color-interactive-primary-disabled-fg3);background-color:var(--post-scheme-color-interactive-primary-disabled-bg4);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-disabled-stroke3);border-radius:var(--post-device-border-radius-round);text-indent:initial}:host(:not(:first-of-type,:last-of-type))>.stepper-item-content::before{margin-inline:auto}:host(:last-of-type)>.stepper-item-content::before{-webkit-margin-start:auto;margin-inline-start:auto}:host(.stepper-item-completed)>.stepper-item-content::before{color:rgba(0,0,0,0);background-color:var(--post-scheme-color-interactive-primary-selected-bg2);border-color:var(--post-scheme-color-interactive-primary-selected-stroke3)}:host(.stepper-item-current)>.stepper-item-content::before{color:var(--post-scheme-color-interactive-primary-enabled-fg3);background-color:var(--post-scheme-color-interactive-primary-enabled-bg2);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-enabled-stroke3)}.stepper-item-content::after{display:block;position:absolute;inset-block-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size7))/2);z-index:1;-webkit-mask-image:var(--post-icon-checkmark-solid);mask-image:var(--post-icon-checkmark-solid);background-color:currentColor;width:var(--post-device-sizing-interactive-icon-size7);height:var(--post-device-sizing-interactive-icon-size7);background-color:var(--post-scheme-color-interactive-primary-enabled-fg3)}:root,:host{--post-icon-checkmark-solid:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxzeW1ib2wgaWQ9ImktY2hlY2ttYXJrLXNvbGlkIj48c3ltYm9sIGlkPSJzMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZD0ibTcuNDkgMTIuOTktMy42NC0zLjljLS40Ny0uNS0uNDQtMS4zLjA2LTEuNzdzMS4yOS0uNDQgMS43Ny4wNmwxLjQ4IDEuNTggMy4wNS00LjYyYy4zOC0uNTggMS4xNi0uNzQgMS43My0uMzUuNTguMzguNzQgMS4xNi4zNSAxLjczeiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InMyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJtMTEuMTggMTguODgtNS4xNC01LjUxYTEuNSAxLjUgMCAwIDEgLjA3LTIuMTJjLjYtLjU2IDEuNTUtLjUzIDIuMTIuMDdsMi41NCAyLjcyIDQuODQtNy4zM2MuNDYtLjY5IDEuMzktLjg4IDIuMDgtLjQzLjY5LjQ2Ljg4IDEuMzkuNDMgMi4wOGwtNi45NCAxMC41MVoiLz48L3N5bWJvbD48c3ltYm9sIGlkPSJzMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTTE0Ljg3IDI0LjgxIDguMjMgMTcuN2MtLjY2LS43MS0uNjItMS44MS4wOC0yLjQ3LjcxLS42NiAxLjgxLS42MiAyLjQ3LjA4bDMuNjEgMy44NiA2LjYyLTEwLjA0Yy41My0uODEgMS42Mi0xLjAzIDIuNDItLjUuODEuNTMgMS4wMyAxLjYyLjUgMi40MkwxNC44NiAyNC44WiIvPjwvc3ltYm9sPjxzeW1ib2wgaWQ9InM0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48cGF0aC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G5vbmUpIiBocmVmPSIjczY0Ii8+PC9zeW1ib2w+PC9kZWZzPjxzdHlsZT5AbWVkaWEgKG1heC13aWR0aDogMjMuOThweCkge2d7LS1zMTY6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogMjRweCkgYW5kIChtYXgtd2lkdGg6IDMxLjk4cHgpIHtney0tczI0OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDMycHgpIGFuZCAobWF4LXdpZHRoOiAzOS45OHB4KSB7Z3stLXMzMjpibG9jazt9fUBtZWRpYSAobWluLXdpZHRoOiA0MHB4KSBhbmQgKG1heC13aWR0aDogNDcuOThweCkge2d7LS1zNDA6YmxvY2s7fX1AbWVkaWEgKG1pbi13aWR0aDogNDhweCkgYW5kIChtYXgtd2lkdGg6IDYzLjk4cHgpIHtney0tczQ4OmJsb2NrO319QG1lZGlhIChtaW4td2lkdGg6IDY0cHgpIHtney0tczY0OmJsb2NrO319PC9zdHlsZT48Zz48dXNlIGhyZWY9IiNpLWNoZWNrbWFyay1zb2xpZCIvPjwvZz48L3N2Zz4=")}:host(:first-of-type)>.stepper-item-content::after{inset-inline-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size7))/2)}:host(:not(:first-of-type,:last-of-type))>.stepper-item-content::after{inset-inline-start:calc(50% - var(--post-device-sizing-interactive-icon-size7)/2)}:host(:last-of-type)>.stepper-item-content::after{inset-inline-end:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size7))/2)}:host(.stepper-item-completed)>.stepper-item-content::after{content:""}:host([aria-current=step])>.stepper-item-content::after{-webkit-mask-image:var(--post-icon-edit-solid);mask-image:var(--post-icon-edit-solid);background-color:currentColor;width:var(--post-device-sizing-interactive-icon-size4);height:var(--post-device-sizing-interactive-icon-size4);background-color:var(--post-scheme-color-interactive-primary-enabled-fg3);inset-block-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size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Zz48dXNlIGhyZWY9IiNpLWVkaXQtc29saWQiLz48L2c+PC9zdmc+")}:host([aria-current=step]:first-of-type)>.stepper-item-content::after{inset-inline-start:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size4))/2)}:host([aria-current=step]:not(:first-of-type,:last-of-type))>.stepper-item-content::after{inset-inline-start:calc(50% - var(--post-device-sizing-interactive-icon-size4)/2)}:host([aria-current=step]:last-of-type)>.stepper-item-content::after{inset-inline-end:calc((var(--post-device-sizing-interactive-stepper-indicator) - var(--post-device-sizing-interactive-icon-size4))/2)}@media screen and (max-width: 779.98px){:host{-ms-flex-positive:1;flex-grow:1;margin-inline:0;padding:0 !important}:host::before{content:unset}:host::after{inset-inline-start:0 !important}:host(:last-of-type){-ms-flex:0 0 32px;flex:0 0 32px}:host(:last-of-type)::after{content:unset}.stepper-item-content{margin-inline:0 !important}.label{display:none}}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host::before,:host::after{background-color:CanvasText !important}:host(.stepper-item-current:not(:first-of-type))::before,:host(.stepper-item-current:last-of-type)::after,:host(.stepper-item-completed)::after,:host(.stepper-item-completed)::before{background-color:Highlight !important}.stepper-item-content::before{forced-color-adjust:none}:host(.stepper-item-current) .stepper-item-content::before{background-color:Canvas;color:CanvasText}:host(.stepper-item-completed) .stepper-item-content::before,:host(.stepper-item-inactive) .stepper-item-content::before{border-color:Canvas;background-color:CanvasText}:host(.stepper-item-inactive) .stepper-item-content::before{color:Canvas}.stepper-item-content::after{color:Canvas}}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}`;
|
|
7
7
|
|
|
8
8
|
const PostStepperItem = class {
|
|
9
9
|
constructor(hostRef) {
|
|
10
10
|
index.registerInstance(this, hostRef);
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (index.h(index.Host, { key: '
|
|
13
|
+
return (index.h(index.Host, { key: '53b052a2b68a93df9fda7f80f23d602d8a8efc56', "data-version": _package.version, role: "listitem" }, index.h("span", { key: 'e06841841e7fad42ff9de3e39dadf5fab96b9952', class: "stepper-item-content" }, index.h("span", { key: 'f934ef19fbdd65111b7cf561dcc9297122d62595', class: "step-hidden-label visually-hidden" }), index.h("span", { key: '213db918f5ab854225974678c50176bb565ac2b1', class: "label" }, index.h("slot", { key: 'd8e067ea304700e37edb996a4c715d41e209b8d8' })))));
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
PostStepperItem.style = postStepperItemCss();
|