@oiz/stzh-components 4.1.0 → 4.1.1-beta
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/.build/test/utils.js +8 -3
- package/dist/.build/test/utils.js.map +1 -1
- package/dist/cjs/{app-globals-b0a11ad2.js → app-globals-07208237.js} +2 -2
- package/dist/cjs/{app-globals-b0a11ad2.js.map → app-globals-07208237.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/stzh-accordion_3.cjs.entry.js +2 -2
- package/dist/cjs/stzh-accordion_3.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-actions.cjs.entry.js +1 -1
- package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-anchornav.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
- package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
- package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-bathstatus-list.cjs.entry.js +1 -1
- package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-superteaser.cjs.entry.js +2 -2
- package/dist/cjs/stzh-card-superteaser.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-card.cjs.entry.js +1 -1
- package/dist/cjs/stzh-carousel.cjs.entry.js +1 -1
- package/dist/cjs/stzh-checkbox_3.cjs.entry.js +2 -2
- package/dist/cjs/stzh-checkbox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-contact-cv.cjs.entry.js +1 -1
- package/dist/cjs/stzh-contact.cjs.entry.js +1 -1
- package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datalist_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-daterange.cjs.entry.js +1 -1
- package/dist/cjs/stzh-details.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
- package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/stzh-eventinfo.cjs.entry.js +1 -1
- package/dist/cjs/stzh-feedreader-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-feedreader.cjs.entry.js +1 -1
- package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
- package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
- package/dist/cjs/stzh-ghettobox_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
- package/dist/cjs/stzh-heading.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +17 -8
- package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +1 -1
- package/dist/cjs/stzh-link.cjs.entry.js +1 -1
- package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +22 -12
- package/dist/cjs/stzh-pagetitle-home.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
- package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
- package/dist/cjs/stzh-print_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-search.cjs.entry.js +1 -1
- package/dist/cjs/stzh-section.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
- package/dist/cjs/stzh-table.cjs.entry.js +1 -1
- package/dist/cjs/stzh-text.cjs.entry.js +1 -1
- package/dist/cjs/stzh-text.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
- package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-toast_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-toggle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
- package/dist/cjs/stzh-upload.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-intro.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-intro.cjs.entry.js.map +1 -1
- package/dist/cjs/{utils-5a53d7eb.js → utils-c0aaa7ec.js} +6 -53
- package/dist/cjs/utils-c0aaa7ec.js.map +1 -0
- package/dist/collection/components/CMS/VBZ/stzh-vbz-intro/stzh-vbz-intro.css +4 -4
- package/dist/collection/components/CMS/stzh-card-superteaser/stzh-card-superteaser.css +13 -5
- package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.css +17 -9
- package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js +20 -7
- package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js.map +1 -1
- package/dist/collection/components/CMS/stzh-page-skiplinks/stzh-page-skiplinks.e2e.js +1 -1
- package/dist/collection/components/CMS/stzh-page-skiplinks/stzh-page-skiplinks.e2e.js.map +1 -1
- package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.css +4 -4
- package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.js +21 -11
- package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.js.map +1 -1
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +6 -2
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +8 -1
- package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.css +1 -1
- package/dist/collection/components/stzh-header/stzh-header.css +16 -9
- package/dist/collection/components/stzh-heading/stzh-heading.css +33 -0
- package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.css +181 -77
- package/dist/collection/components/stzh-text/stzh-text.css +33 -0
- package/dist/collection/pages/CMS/PKZH/pkzh.e2e.js +18 -0
- package/dist/collection/pages/CMS/PKZH/pkzh.e2e.js.map +1 -0
- package/dist/collection/utils/utils.js +4 -52
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-bf205f26.js → p-167acbe1.js} +5 -5
- package/dist/components/{p-bf205f26.js.map → p-167acbe1.js.map} +1 -1
- package/dist/components/{p-f0a46fac.js → p-1b9eaa71.js} +5 -5
- package/dist/components/{p-f0a46fac.js.map → p-1b9eaa71.js.map} +1 -1
- package/dist/components/{p-d1f98854.js → p-1c261255.js} +6 -54
- package/dist/components/p-1c261255.js.map +1 -0
- package/dist/components/{p-eb282891.js → p-1fa6272f.js} +2 -2
- package/dist/components/{p-eb282891.js.map → p-1fa6272f.js.map} +1 -1
- package/dist/components/{p-483a5750.js → p-250a1491.js} +2 -2
- package/dist/components/{p-483a5750.js.map → p-250a1491.js.map} +1 -1
- package/dist/components/{p-1d1ed4be.js → p-2d6ea1ff.js} +2 -2
- package/dist/components/{p-1d1ed4be.js.map → p-2d6ea1ff.js.map} +1 -1
- package/dist/components/{p-1a89c45a.js → p-2e72ad15.js} +5 -5
- package/dist/components/{p-1a89c45a.js.map → p-2e72ad15.js.map} +1 -1
- package/dist/components/{p-00414366.js → p-32847b38.js} +2 -2
- package/dist/components/{p-00414366.js.map → p-32847b38.js.map} +1 -1
- package/dist/components/{p-d0b793f2.js → p-3a5a5b65.js} +3 -3
- package/dist/components/{p-d0b793f2.js.map → p-3a5a5b65.js.map} +1 -1
- package/dist/components/{p-1cb87437.js → p-3bb470ce.js} +2 -2
- package/dist/components/{p-1cb87437.js.map → p-3bb470ce.js.map} +1 -1
- package/dist/components/{p-24ec14c6.js → p-3dffb214.js} +2 -2
- package/dist/components/{p-24ec14c6.js.map → p-3dffb214.js.map} +1 -1
- package/dist/components/{p-0d9775f9.js → p-411f8f60.js} +4 -4
- package/dist/components/{p-0d9775f9.js.map → p-411f8f60.js.map} +1 -1
- package/dist/components/{p-fb0977f0.js → p-4640fde3.js} +4 -4
- package/dist/components/{p-fb0977f0.js.map → p-4640fde3.js.map} +1 -1
- package/dist/components/{p-a6a7fe17.js → p-5959959c.js} +5 -5
- package/dist/components/{p-a6a7fe17.js.map → p-5959959c.js.map} +1 -1
- package/dist/components/{p-c28490de.js → p-5a4e00c6.js} +8 -8
- package/dist/components/p-5a4e00c6.js.map +1 -0
- package/dist/components/{p-5e0a644a.js → p-66c944a4.js} +4 -4
- package/dist/components/{p-5e0a644a.js.map → p-66c944a4.js.map} +1 -1
- package/dist/components/{p-630a1165.js → p-71b15229.js} +3 -3
- package/dist/components/{p-630a1165.js.map → p-71b15229.js.map} +1 -1
- package/dist/components/{p-d8730e10.js → p-71f94b81.js} +2 -2
- package/dist/components/{p-d8730e10.js.map → p-71f94b81.js.map} +1 -1
- package/dist/components/{p-c522aec2.js → p-8063d484.js} +2 -2
- package/dist/components/{p-c522aec2.js.map → p-8063d484.js.map} +1 -1
- package/dist/components/{p-71668a26.js → p-839b43f8.js} +2 -2
- package/dist/components/{p-71668a26.js.map → p-839b43f8.js.map} +1 -1
- package/dist/components/{p-9562b4bd.js → p-978cf208.js} +2 -2
- package/dist/components/{p-9562b4bd.js.map → p-978cf208.js.map} +1 -1
- package/dist/components/{p-4c350868.js → p-a46dcfa3.js} +2 -2
- package/dist/components/{p-4c350868.js.map → p-a46dcfa3.js.map} +1 -1
- package/dist/components/{p-b3ca3adb.js → p-a8384df3.js} +2 -2
- package/dist/components/{p-b3ca3adb.js.map → p-a8384df3.js.map} +1 -1
- package/dist/components/{p-047a8cfd.js → p-b1b69ae9.js} +2 -2
- package/dist/components/p-b1b69ae9.js.map +1 -0
- package/dist/components/{p-e9868942.js → p-b1c378de.js} +6 -6
- package/dist/components/{p-e9868942.js.map → p-b1c378de.js.map} +1 -1
- package/dist/components/{p-bcc02189.js → p-b51c7e54.js} +2 -2
- package/dist/components/p-b51c7e54.js.map +1 -0
- package/dist/components/{p-f62b89ed.js → p-b9a4f7b2.js} +3 -3
- package/dist/components/{p-f62b89ed.js.map → p-b9a4f7b2.js.map} +1 -1
- package/dist/components/{p-57d566ab.js → p-b9b96873.js} +5 -5
- package/dist/components/{p-57d566ab.js.map → p-b9b96873.js.map} +1 -1
- package/dist/components/{p-292d0fcd.js → p-b9d5a920.js} +8 -8
- package/dist/components/{p-292d0fcd.js.map → p-b9d5a920.js.map} +1 -1
- package/dist/components/{p-3eb3db1e.js → p-ba74cae2.js} +4 -4
- package/dist/components/{p-3eb3db1e.js.map → p-ba74cae2.js.map} +1 -1
- package/dist/components/{p-234a6c0a.js → p-beefcccd.js} +6 -6
- package/dist/components/{p-234a6c0a.js.map → p-beefcccd.js.map} +1 -1
- package/dist/components/{p-af8a3a03.js → p-c087b441.js} +2 -2
- package/dist/components/{p-af8a3a03.js.map → p-c087b441.js.map} +1 -1
- package/dist/components/{p-5ff5bde3.js → p-c1795d8b.js} +5 -5
- package/dist/components/{p-5ff5bde3.js.map → p-c1795d8b.js.map} +1 -1
- package/dist/components/{p-dca85cea.js → p-c6e9ea56.js} +3 -3
- package/dist/components/p-c6e9ea56.js.map +1 -0
- package/dist/components/{p-8f5849c3.js → p-c8b9cba7.js} +8 -8
- package/dist/components/{p-8f5849c3.js.map → p-c8b9cba7.js.map} +1 -1
- package/dist/components/{p-f39503f3.js → p-cbee9daa.js} +2 -2
- package/dist/components/{p-f39503f3.js.map → p-cbee9daa.js.map} +1 -1
- package/dist/components/{p-05e1fb77.js → p-ccbd3cdf.js} +3 -3
- package/dist/components/{p-05e1fb77.js.map → p-ccbd3cdf.js.map} +1 -1
- package/dist/components/{p-d5254d48.js → p-d1badd5b.js} +2 -2
- package/dist/components/{p-d5254d48.js.map → p-d1badd5b.js.map} +1 -1
- package/dist/components/{p-7de53368.js → p-d99aa7e6.js} +6 -6
- package/dist/components/{p-7de53368.js.map → p-d99aa7e6.js.map} +1 -1
- package/dist/components/{p-93c4bf04.js → p-e4568321.js} +3 -3
- package/dist/components/{p-93c4bf04.js.map → p-e4568321.js.map} +1 -1
- package/dist/components/{p-d2858a06.js → p-e973d4dc.js} +2 -2
- package/dist/components/{p-d2858a06.js.map → p-e973d4dc.js.map} +1 -1
- package/dist/components/{p-cd56033a.js → p-ea55bd3b.js} +2 -2
- package/dist/components/{p-cd56033a.js.map → p-ea55bd3b.js.map} +1 -1
- package/dist/components/{p-e9c5a9aa.js → p-ee40eddf.js} +2 -2
- package/dist/components/{p-e9c5a9aa.js.map → p-ee40eddf.js.map} +1 -1
- package/dist/components/{p-4480cb87.js → p-ee851c65.js} +3 -3
- package/dist/components/{p-4480cb87.js.map → p-ee851c65.js.map} +1 -1
- package/dist/components/{p-cc02c4c8.js → p-fd043b82.js} +4 -4
- package/dist/components/{p-cc02c4c8.js.map → p-fd043b82.js.map} +1 -1
- package/dist/components/stzh-accordion-item.js +1 -1
- package/dist/components/stzh-accordion.js +1 -1
- package/dist/components/stzh-actions.js +1 -1
- package/dist/components/stzh-actionset.js +1 -1
- package/dist/components/stzh-amount.js +5 -5
- package/dist/components/stzh-anchornav.js +3 -3
- package/dist/components/stzh-anchornav.js.map +1 -1
- package/dist/components/stzh-app-nav.js +1 -1
- package/dist/components/stzh-appointments.js +11 -11
- package/dist/components/stzh-archivelist.js +4 -4
- package/dist/components/stzh-audio.js +3 -3
- package/dist/components/stzh-banner.js +1 -1
- package/dist/components/stzh-bathstatus-item.js +1 -1
- package/dist/components/stzh-bathstatus-list.js +3 -3
- package/dist/components/stzh-breadcrumb.js +1 -1
- package/dist/components/stzh-button.js +1 -1
- package/dist/components/stzh-calendar.js +1 -1
- package/dist/components/stzh-card-navigation.js +1 -1
- package/dist/components/stzh-card-searchresult.js +10 -10
- package/dist/components/stzh-card-superteaser.js +11 -11
- package/dist/components/stzh-card-superteaser.js.map +1 -1
- package/dist/components/stzh-card.js +1 -1
- package/dist/components/stzh-cardlist.js +1 -1
- package/dist/components/stzh-carousel.js +1 -1
- package/dist/components/stzh-checkbox.js +1 -1
- package/dist/components/stzh-checkboxgroup.js +3 -3
- package/dist/components/stzh-chip.js +1 -1
- package/dist/components/stzh-chipselect.js +1 -1
- package/dist/components/stzh-clamp.js +1 -1
- package/dist/components/stzh-contact-cv.js +2 -2
- package/dist/components/stzh-contact.js +3 -3
- package/dist/components/stzh-cspace.js +1 -1
- package/dist/components/stzh-cta.js +2 -2
- package/dist/components/stzh-datalist-item.js +1 -1
- package/dist/components/stzh-datalist.js +1 -1
- package/dist/components/stzh-datamessagelist-item.js +6 -6
- package/dist/components/stzh-datatable.js +13 -13
- package/dist/components/stzh-datepicker.js +1 -1
- package/dist/components/stzh-daterange.js +2 -2
- package/dist/components/stzh-details.js +1 -1
- package/dist/components/stzh-dialog.js +1 -1
- package/dist/components/stzh-disturber.js +2 -2
- package/dist/components/stzh-dropdown.js +1 -1
- package/dist/components/stzh-editor.js +1 -1
- package/dist/components/stzh-eventinfo.js +3 -3
- package/dist/components/stzh-feedreader-item.js +1 -1
- package/dist/components/stzh-feedreader.js +6 -6
- package/dist/components/stzh-fieldset.js +1 -1
- package/dist/components/stzh-figure.js +1 -1
- package/dist/components/stzh-footer.js +2 -2
- package/dist/components/stzh-gallery.js +3 -3
- package/dist/components/stzh-geo-ref-data.js +15 -15
- package/dist/components/stzh-ghettobox.js +1 -1
- package/dist/components/stzh-header.js +1 -1
- package/dist/components/stzh-heading.js +1 -1
- package/dist/components/stzh-homepage-service-highlights.js +21 -12
- package/dist/components/stzh-homepage-service-highlights.js.map +1 -1
- package/dist/components/stzh-http-error.js +3 -3
- package/dist/components/stzh-iframe.js +1 -1
- package/dist/components/stzh-input.js +1 -1
- package/dist/components/stzh-link.js +1 -1
- package/dist/components/stzh-menu-item.js +1 -1
- package/dist/components/stzh-message.js +1 -1
- package/dist/components/stzh-microsite-teaserlist.js +12 -12
- package/dist/components/stzh-monthyearpicker.js +3 -3
- package/dist/components/stzh-offline-indicator.js +3 -3
- package/dist/components/stzh-pagebottom.js +5 -5
- package/dist/components/stzh-pagecontent.js +1 -1
- package/dist/components/stzh-pagetitle-hero.js +1 -1
- package/dist/components/stzh-pagetitle-home.js +22 -12
- package/dist/components/stzh-pagetitle-home.js.map +1 -1
- package/dist/components/stzh-pagetitle.js +1 -1
- package/dist/components/stzh-pagination.js +1 -1
- package/dist/components/stzh-panorama.js +7 -7
- package/dist/components/stzh-pi-content-navigation.js +1 -1
- package/dist/components/stzh-pi-pagetitle.js +1 -1
- package/dist/components/stzh-pi-teaser.js +1 -1
- package/dist/components/stzh-poicard.js +1 -1
- package/dist/components/stzh-poilist.js +11 -11
- package/dist/components/stzh-popover.js +1 -1
- package/dist/components/stzh-print.js +1 -1
- package/dist/components/stzh-radio.js +1 -1
- package/dist/components/stzh-radiogroup.js +1 -1
- package/dist/components/stzh-readspeaker.js +2 -2
- package/dist/components/stzh-saptcha.js +4 -4
- package/dist/components/stzh-scrollup.js +1 -1
- package/dist/components/stzh-search.js +12 -12
- package/dist/components/stzh-section.js +1 -1
- package/dist/components/stzh-share.js +1 -1
- package/dist/components/stzh-sitemap.js +5 -5
- package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
- package/dist/components/stzh-skin-portal-mitwirken.js.map +1 -1
- package/dist/components/stzh-socialmediastream-item.js +1 -1
- package/dist/components/stzh-socialmediastream.js +4 -4
- package/dist/components/stzh-sticky-actions.js +2 -2
- package/dist/components/stzh-sticky.js +1 -1
- package/dist/components/stzh-table.js +1 -1
- package/dist/components/stzh-tag.js +1 -1
- package/dist/components/stzh-text.js +1 -1
- package/dist/components/stzh-textandimage.js +1 -1
- package/dist/components/stzh-timeline-item.js +1 -1
- package/dist/components/stzh-timepicker.js +3 -3
- package/dist/components/stzh-toast.js +1 -1
- package/dist/components/stzh-toastbar.js +1 -1
- package/dist/components/stzh-toggle.js +3 -3
- package/dist/components/stzh-tooltip.js +1 -1
- package/dist/components/stzh-twocolumns.js +1 -1
- package/dist/components/stzh-upload.js +10 -10
- package/dist/components/stzh-vbz-carousel.js +1 -1
- package/dist/components/stzh-vbz-intro.js +3 -3
- package/dist/components/stzh-vbz-intro.js.map +1 -1
- package/dist/components/stzh-vbz-majorticker.js +3 -3
- package/dist/components/stzh-vbz-ticker.js +3 -3
- package/dist/components/stzh-youtube.js +2 -2
- package/dist/esm/{app-globals-dc4e2dd7.js → app-globals-993885c2.js} +2 -2
- package/dist/esm/{app-globals-dc4e2dd7.js.map → app-globals-993885c2.js.map} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/stzh-accordion_3.entry.js +2 -2
- package/dist/esm/stzh-accordion_3.entry.js.map +1 -1
- package/dist/esm/stzh-actions.entry.js +1 -1
- package/dist/esm/stzh-anchornav.entry.js +1 -1
- package/dist/esm/stzh-anchornav.entry.js.map +1 -1
- package/dist/esm/stzh-appointments.entry.js +1 -1
- package/dist/esm/stzh-audio.entry.js +1 -1
- package/dist/esm/stzh-badge_3.entry.js +1 -1
- package/dist/esm/stzh-bathstatus-list.entry.js +1 -1
- package/dist/esm/stzh-breadcrumb_2.entry.js +1 -1
- package/dist/esm/stzh-breadcrumb_2.entry.js.map +1 -1
- package/dist/esm/stzh-card-navigation.entry.js +1 -1
- package/dist/esm/stzh-card-searchresult.entry.js +1 -1
- package/dist/esm/stzh-card-superteaser.entry.js +2 -2
- package/dist/esm/stzh-card-superteaser.entry.js.map +1 -1
- package/dist/esm/stzh-card.entry.js +1 -1
- package/dist/esm/stzh-carousel.entry.js +1 -1
- package/dist/esm/stzh-checkbox_3.entry.js +2 -2
- package/dist/esm/stzh-checkbox_3.entry.js.map +1 -1
- package/dist/esm/stzh-checkboxgroup.entry.js +1 -1
- package/dist/esm/stzh-components.js +2 -2
- package/dist/esm/stzh-contact-cv.entry.js +1 -1
- package/dist/esm/stzh-contact.entry.js +1 -1
- package/dist/esm/stzh-cspace.entry.js +1 -1
- package/dist/esm/stzh-cta.entry.js +1 -1
- package/dist/esm/stzh-datalist_2.entry.js +1 -1
- package/dist/esm/stzh-datatable.entry.js +1 -1
- package/dist/esm/stzh-datepicker_3.entry.js +1 -1
- package/dist/esm/stzh-daterange.entry.js +1 -1
- package/dist/esm/stzh-details.entry.js +1 -1
- package/dist/esm/stzh-dialog.entry.js +1 -1
- package/dist/esm/stzh-disturber.entry.js +1 -1
- package/dist/esm/stzh-dropdown.entry.js +1 -1
- package/dist/esm/stzh-eventinfo.entry.js +1 -1
- package/dist/esm/stzh-feedreader-item.entry.js +1 -1
- package/dist/esm/stzh-feedreader.entry.js +1 -1
- package/dist/esm/stzh-figure.entry.js +1 -1
- package/dist/esm/stzh-footer.entry.js +1 -1
- package/dist/esm/stzh-ghettobox_3.entry.js +1 -1
- package/dist/esm/stzh-heading.entry.js +1 -1
- package/dist/esm/stzh-heading.entry.js.map +1 -1
- package/dist/esm/stzh-homepage-service-highlights.entry.js +17 -8
- package/dist/esm/stzh-homepage-service-highlights.entry.js.map +1 -1
- package/dist/esm/stzh-input.entry.js +1 -1
- package/dist/esm/stzh-link.entry.js +1 -1
- package/dist/esm/stzh-menu_2.entry.js +1 -1
- package/dist/esm/stzh-pagecontent.entry.js +1 -1
- package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
- package/dist/esm/stzh-pagetitle-home.entry.js +22 -12
- package/dist/esm/stzh-pagetitle-home.entry.js.map +1 -1
- package/dist/esm/stzh-pagetitle.entry.js +1 -1
- package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
- package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
- package/dist/esm/stzh-pi-teaser.entry.js +1 -1
- package/dist/esm/stzh-popover.entry.js +1 -1
- package/dist/esm/stzh-print_2.entry.js +1 -1
- package/dist/esm/stzh-readspeaker.entry.js +1 -1
- package/dist/esm/stzh-scrollup.entry.js +1 -1
- package/dist/esm/stzh-search.entry.js +1 -1
- package/dist/esm/stzh-section.entry.js +1 -1
- package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
- package/dist/esm/stzh-skin-portal-mitwirken.entry.js.map +1 -1
- package/dist/esm/stzh-socialmediastream.entry.js +1 -1
- package/dist/esm/stzh-sticky-actions.entry.js +1 -1
- package/dist/esm/stzh-sticky.entry.js +1 -1
- package/dist/esm/stzh-table.entry.js +1 -1
- package/dist/esm/stzh-text.entry.js +1 -1
- package/dist/esm/stzh-text.entry.js.map +1 -1
- package/dist/esm/stzh-textandimage.entry.js +1 -1
- package/dist/esm/stzh-timeline-item.entry.js +1 -1
- package/dist/esm/stzh-toast_2.entry.js +1 -1
- package/dist/esm/stzh-toggle.entry.js +1 -1
- package/dist/esm/stzh-tooltip.entry.js +1 -1
- package/dist/esm/stzh-twocolumns.entry.js +1 -1
- package/dist/esm/stzh-upload.entry.js +1 -1
- package/dist/esm/stzh-vbz-intro.entry.js +1 -1
- package/dist/esm/stzh-vbz-intro.entry.js.map +1 -1
- package/dist/esm/{utils-a756a0c9.js → utils-2ad42b77.js} +6 -54
- package/dist/esm/utils-2ad42b77.js.map +1 -0
- package/dist/stzh-components/{p-c804ddf2.entry.js → p-020bc473.entry.js} +2 -2
- package/dist/stzh-components/p-06a4df88.entry.js +2 -0
- package/dist/stzh-components/{p-c32b673d.entry.js.map → p-06a4df88.entry.js.map} +1 -1
- package/dist/stzh-components/{p-24caf6c1.js → p-09b5eb01.js} +2 -2
- package/dist/stzh-components/p-09b5eb01.js.map +1 -0
- package/dist/stzh-components/p-0e4fb1f6.entry.js +2 -0
- package/dist/stzh-components/p-0e4fb1f6.entry.js.map +1 -0
- package/dist/stzh-components/{p-003bfdda.entry.js → p-10a74052.entry.js} +2 -2
- package/dist/stzh-components/{p-4840a0f7.entry.js → p-13a77a74.entry.js} +2 -2
- package/dist/stzh-components/{p-98c1b82e.entry.js → p-16e70122.entry.js} +2 -2
- package/dist/stzh-components/{p-1ca34f18.entry.js → p-1f2a3ae6.entry.js} +2 -2
- package/dist/stzh-components/p-221194a4.js +2 -0
- package/dist/stzh-components/{p-19d6b43e.js.map → p-221194a4.js.map} +1 -1
- package/dist/stzh-components/{p-d4d8e3b8.entry.js → p-23aa2f5e.entry.js} +2 -2
- package/dist/stzh-components/{p-1f741338.entry.js → p-26aee6b2.entry.js} +2 -2
- package/dist/stzh-components/p-26aee6b2.entry.js.map +1 -0
- package/dist/stzh-components/p-2b59864c.entry.js +2 -0
- package/dist/stzh-components/p-2b59864c.entry.js.map +1 -0
- package/dist/stzh-components/{p-8485a36a.entry.js → p-2d453802.entry.js} +2 -2
- package/dist/stzh-components/{p-20b8f661.entry.js → p-3221e8e5.entry.js} +2 -2
- package/dist/stzh-components/{p-645f4d03.entry.js → p-34c56740.entry.js} +2 -2
- package/dist/stzh-components/{p-0d166cca.entry.js → p-3ef0956b.entry.js} +2 -2
- package/dist/stzh-components/{p-21a029ec.entry.js → p-41778942.entry.js} +2 -2
- package/dist/stzh-components/{p-d9dd1c3e.entry.js → p-429af819.entry.js} +2 -2
- package/dist/stzh-components/{p-caa73f07.entry.js → p-44018d4b.entry.js} +2 -2
- package/dist/stzh-components/{p-aa045255.entry.js → p-47e10f01.entry.js} +2 -2
- package/dist/stzh-components/p-47e10f01.entry.js.map +1 -0
- package/dist/stzh-components/{p-f9a412d8.entry.js → p-50e8431f.entry.js} +2 -2
- package/dist/stzh-components/{p-970c4474.entry.js → p-5178ea62.entry.js} +2 -2
- package/dist/stzh-components/{p-7f1b1ac4.entry.js → p-5939a40a.entry.js} +2 -2
- package/dist/stzh-components/{p-7f1b1ac4.entry.js.map → p-5939a40a.entry.js.map} +1 -1
- package/dist/stzh-components/{p-e45134ff.entry.js → p-59984acf.entry.js} +2 -2
- package/dist/stzh-components/{p-66fc9e64.entry.js → p-5b715075.entry.js} +2 -2
- package/dist/stzh-components/{p-a9ae4450.entry.js → p-5c6ec1b8.entry.js} +2 -2
- package/dist/stzh-components/p-5dc20152.entry.js +2 -0
- package/dist/stzh-components/p-5dc20152.entry.js.map +1 -0
- package/dist/stzh-components/{p-4c24fe27.entry.js → p-7a3be0f1.entry.js} +2 -2
- package/dist/stzh-components/{p-a1202b5f.entry.js → p-82c0d7be.entry.js} +2 -2
- package/dist/stzh-components/{p-dd5d4c39.entry.js → p-8516eea3.entry.js} +2 -2
- package/dist/stzh-components/{p-e945b00e.entry.js → p-8a0e7cdd.entry.js} +2 -2
- package/dist/stzh-components/{p-27fe663d.entry.js → p-94764282.entry.js} +2 -2
- package/dist/stzh-components/{p-ad754693.entry.js → p-95a0a398.entry.js} +2 -2
- package/dist/stzh-components/{p-111800e9.entry.js → p-9a776f85.entry.js} +2 -2
- package/dist/stzh-components/{p-70707b8e.entry.js → p-a28b5894.entry.js} +2 -2
- package/dist/stzh-components/{p-61be006b.entry.js → p-a5709e94.entry.js} +2 -2
- package/dist/stzh-components/{p-61be006b.entry.js.map → p-a5709e94.entry.js.map} +1 -1
- package/dist/stzh-components/{p-0bfc528d.entry.js → p-a5d557ac.entry.js} +2 -2
- package/dist/stzh-components/{p-1ce029b5.entry.js → p-a61538b1.entry.js} +2 -2
- package/dist/stzh-components/{p-adde0fce.entry.js → p-ac14e15c.entry.js} +2 -2
- package/dist/stzh-components/p-ae029763.entry.js +2 -0
- package/dist/stzh-components/p-ae029763.entry.js.map +1 -0
- package/dist/stzh-components/{p-fecffdfc.entry.js → p-b6ea1a1c.entry.js} +2 -2
- package/dist/stzh-components/{p-8adab188.entry.js → p-b7363fe1.entry.js} +2 -2
- package/dist/stzh-components/{p-aafeeae9.entry.js → p-ba551ad7.entry.js} +2 -2
- package/dist/stzh-components/{p-909e12d3.entry.js → p-bed50961.entry.js} +2 -2
- package/dist/stzh-components/{p-aefe968c.entry.js → p-c27e6b43.entry.js} +2 -2
- package/dist/stzh-components/{p-b26ca94e.entry.js → p-c80885e9.entry.js} +2 -2
- package/dist/stzh-components/{p-29fd8bc1.entry.js → p-cd5641a5.entry.js} +2 -2
- package/dist/stzh-components/{p-0460eba4.entry.js → p-cde3a344.entry.js} +2 -2
- package/dist/stzh-components/{p-77e044d8.entry.js → p-d5206c53.entry.js} +2 -2
- package/dist/stzh-components/{p-fb22b090.entry.js → p-da489363.entry.js} +2 -2
- package/dist/stzh-components/p-db4fddd7.entry.js +2 -0
- package/dist/stzh-components/p-db4fddd7.entry.js.map +1 -0
- package/dist/stzh-components/{p-52cbf6d6.entry.js → p-dbc45bd8.entry.js} +2 -2
- package/dist/stzh-components/{p-8421ff45.entry.js → p-dd9feb46.entry.js} +2 -2
- package/dist/stzh-components/{p-2b35e2a8.entry.js → p-e2f24462.entry.js} +2 -2
- package/dist/stzh-components/{p-0d5b8b1e.entry.js → p-e63a6dce.entry.js} +2 -2
- package/dist/stzh-components/{p-cb5740f3.entry.js → p-eccdd8b7.entry.js} +2 -2
- package/dist/stzh-components/{p-37ada736.entry.js → p-ee83fbac.entry.js} +2 -2
- package/dist/stzh-components/{p-f4122c15.entry.js → p-ef2e8303.entry.js} +2 -2
- package/dist/stzh-components/{p-c7ef6356.entry.js → p-f109bce4.entry.js} +2 -2
- package/dist/stzh-components/{p-2944edb9.entry.js → p-f36a7102.entry.js} +2 -2
- package/dist/stzh-components/{p-60964d4f.entry.js → p-f4bd536b.entry.js} +2 -2
- package/dist/stzh-components/{p-34ce5dc9.entry.js → p-f53341ce.entry.js} +2 -2
- package/dist/stzh-components/{p-b61dd422.entry.js → p-f91f7483.entry.js} +2 -2
- package/dist/stzh-components/{p-828b7874.entry.js → p-f94a05c6.entry.js} +2 -2
- package/dist/stzh-components/{p-85d44b8a.entry.js → p-fabd85ee.entry.js} +2 -2
- package/dist/stzh-components/{p-8854272d.entry.js → p-fbde302d.entry.js} +2 -2
- package/dist/stzh-components/p-ffb0f6e6.entry.js +2 -0
- package/dist/stzh-components/p-ffb0f6e6.entry.js.map +1 -0
- package/dist/stzh-components/stzh-components.css +181 -77
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/stzh-components/stzh-components.esm.js.map +1 -1
- package/dist/types/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.d.ts +3 -1
- package/dist/types/utils/utils.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/utils-5a53d7eb.js.map +0 -1
- package/dist/components/p-047a8cfd.js.map +0 -1
- package/dist/components/p-bcc02189.js.map +0 -1
- package/dist/components/p-c28490de.js.map +0 -1
- package/dist/components/p-d1f98854.js.map +0 -1
- package/dist/components/p-dca85cea.js.map +0 -1
- package/dist/esm/utils-a756a0c9.js.map +0 -1
- package/dist/stzh-components/p-1784d8e9.entry.js +0 -2
- package/dist/stzh-components/p-1784d8e9.entry.js.map +0 -1
- package/dist/stzh-components/p-19d6b43e.js +0 -2
- package/dist/stzh-components/p-1f741338.entry.js.map +0 -1
- package/dist/stzh-components/p-24caf6c1.js.map +0 -1
- package/dist/stzh-components/p-7265a57d.entry.js +0 -2
- package/dist/stzh-components/p-7265a57d.entry.js.map +0 -1
- package/dist/stzh-components/p-aa045255.entry.js.map +0 -1
- package/dist/stzh-components/p-c32b673d.entry.js +0 -2
- package/dist/stzh-components/p-c568ad41.entry.js +0 -2
- package/dist/stzh-components/p-c568ad41.entry.js.map +0 -1
- package/dist/stzh-components/p-d40c54da.entry.js +0 -2
- package/dist/stzh-components/p-d40c54da.entry.js.map +0 -1
- package/dist/stzh-components/p-ea7f260b.entry.js +0 -2
- package/dist/stzh-components/p-ea7f260b.entry.js.map +0 -1
- package/dist/stzh-components/p-eb6e4974.entry.js +0 -2
- package/dist/stzh-components/p-eb6e4974.entry.js.map +0 -1
- /package/dist/stzh-components/{p-c804ddf2.entry.js.map → p-020bc473.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-003bfdda.entry.js.map → p-10a74052.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4840a0f7.entry.js.map → p-13a77a74.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-98c1b82e.entry.js.map → p-16e70122.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1ca34f18.entry.js.map → p-1f2a3ae6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d4d8e3b8.entry.js.map → p-23aa2f5e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8485a36a.entry.js.map → p-2d453802.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-20b8f661.entry.js.map → p-3221e8e5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-645f4d03.entry.js.map → p-34c56740.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0d166cca.entry.js.map → p-3ef0956b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-21a029ec.entry.js.map → p-41778942.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d9dd1c3e.entry.js.map → p-429af819.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-caa73f07.entry.js.map → p-44018d4b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f9a412d8.entry.js.map → p-50e8431f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-970c4474.entry.js.map → p-5178ea62.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e45134ff.entry.js.map → p-59984acf.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-66fc9e64.entry.js.map → p-5b715075.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a9ae4450.entry.js.map → p-5c6ec1b8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4c24fe27.entry.js.map → p-7a3be0f1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a1202b5f.entry.js.map → p-82c0d7be.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-dd5d4c39.entry.js.map → p-8516eea3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e945b00e.entry.js.map → p-8a0e7cdd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-27fe663d.entry.js.map → p-94764282.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ad754693.entry.js.map → p-95a0a398.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-111800e9.entry.js.map → p-9a776f85.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-70707b8e.entry.js.map → p-a28b5894.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0bfc528d.entry.js.map → p-a5d557ac.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1ce029b5.entry.js.map → p-a61538b1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-adde0fce.entry.js.map → p-ac14e15c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fecffdfc.entry.js.map → p-b6ea1a1c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8adab188.entry.js.map → p-b7363fe1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-aafeeae9.entry.js.map → p-ba551ad7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-909e12d3.entry.js.map → p-bed50961.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-aefe968c.entry.js.map → p-c27e6b43.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b26ca94e.entry.js.map → p-c80885e9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-29fd8bc1.entry.js.map → p-cd5641a5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0460eba4.entry.js.map → p-cde3a344.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-77e044d8.entry.js.map → p-d5206c53.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fb22b090.entry.js.map → p-da489363.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-52cbf6d6.entry.js.map → p-dbc45bd8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8421ff45.entry.js.map → p-dd9feb46.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2b35e2a8.entry.js.map → p-e2f24462.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0d5b8b1e.entry.js.map → p-e63a6dce.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-cb5740f3.entry.js.map → p-eccdd8b7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-37ada736.entry.js.map → p-ee83fbac.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f4122c15.entry.js.map → p-ef2e8303.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c7ef6356.entry.js.map → p-f109bce4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2944edb9.entry.js.map → p-f36a7102.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-60964d4f.entry.js.map → p-f4bd536b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-34ce5dc9.entry.js.map → p-f53341ce.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b61dd422.entry.js.map → p-f91f7483.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-828b7874.entry.js.map → p-f94a05c6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-85d44b8a.entry.js.map → p-fabd85ee.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8854272d.entry.js.map → p-fbde302d.entry.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, h, a as Host, g as getElement } from './index-d8813b10.js';
|
|
2
2
|
|
|
3
|
-
const stzhVbzIntroCss = ".sc-stzh-vbz-intro-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-vbz-intro-h,[stzh-hidden].sc-stzh-vbz-intro-h{display:none}.sc-stzh-vbz-intro-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-vbz-intro-h *.sc-stzh-vbz-intro,.sc-stzh-vbz-intro-h *.sc-stzh-vbz-intro::before,.sc-stzh-vbz-intro-h *.sc-stzh-vbz-intro::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-vbz-intro-h .has-focus.sc-stzh-vbz-intro{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-vbz-intro-h .stzh-fylingfocus-focused.sc-stzh-vbz-intro{outline-style:none !important}.sc-stzh-vbz-intro-h .stzh-fylingfocus-focused.sc-stzh-vbz-intro::-moz-focus-inner{border:0 !important}.sc-stzh-vbz-intro-h{--background-color
|
|
3
|
+
const stzhVbzIntroCss = ".sc-stzh-vbz-intro-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-vbz-intro-h,[stzh-hidden].sc-stzh-vbz-intro-h{display:none}.sc-stzh-vbz-intro-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-vbz-intro-h *.sc-stzh-vbz-intro,.sc-stzh-vbz-intro-h *.sc-stzh-vbz-intro::before,.sc-stzh-vbz-intro-h *.sc-stzh-vbz-intro::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-vbz-intro-h .has-focus.sc-stzh-vbz-intro{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-vbz-intro-h .stzh-fylingfocus-focused.sc-stzh-vbz-intro{outline-style:none !important}.sc-stzh-vbz-intro-h .stzh-fylingfocus-focused.sc-stzh-vbz-intro::-moz-focus-inner{border:0 !important}.sc-stzh-vbz-intro-h{--mostsearched-background-color:var(--stzh-mostsearched-background-color);--topnews-background-color:var(--stzh-topnews-background-color);--topnews-item-subtitle-color:var(--stzh-vbz-intro-topnews-item-subtitle-color, var(--stzh-color-primary70));--topnews-item-subtitle-font:var(--stzh-vbz-intro-topnews-subtitle-font, var(--stzh-font-family-medium));--topnews-item-subtitle-highlighted-color:var(--stzh-vbz-intro-topnews-item-subtitle-highlighted-color, var(--stzh-color-primary60));--grid-template-areas:\"ticker ticker ticker ticker\" \"quicklinks quicklinks quicklinks quicklinks\"}@media screen and (min-width: 900px){.sc-stzh-vbz-intro-h{--grid-template-areas:\"ticker ticker ticker ticker ticker quicklinks quicklinks quicklinks\"}}@media screen and (min-width: 1260px){.sc-stzh-vbz-intro-h{--grid-template-areas:\"ticker ticker ticker ticker ticker ticker ticker ticker quicklinks quicklinks quicklinks quicklinks\"}}.stzh-vbz-intro.sc-stzh-vbz-intro{column-gap:var(--stzh-grid-gutter);display:grid;grid-template-columns:repeat(4, minmax(0, 1fr));grid-template-areas:var(--grid-template-areas)}@media screen and (min-width: 600px){.stzh-vbz-intro.sc-stzh-vbz-intro{column-gap:var(--stzh-grid-gutter-small)}}@media screen and (min-width: 900px){.stzh-vbz-intro.sc-stzh-vbz-intro{column-gap:var(--stzh-grid-gutter-medium)}}@media screen and (min-width: 1260px){.stzh-vbz-intro.sc-stzh-vbz-intro{column-gap:var(--stzh-grid-gutter-large)}}@media screen and (min-width: 1600px){.stzh-vbz-intro.sc-stzh-vbz-intro{column-gap:var(--stzh-grid-gutter-ultra)}}@media screen and (min-width: 900px){.stzh-vbz-intro.sc-stzh-vbz-intro{grid-template-columns:repeat(8, minmax(0, 1fr))}}@media screen and (min-width: 1260px){.stzh-vbz-intro.sc-stzh-vbz-intro{grid-template-columns:repeat(12, minmax(0, 1fr))}}.stzh-vbz-intro__ticker.sc-stzh-vbz-intro,.stzh-vbz-intro__quicklinks.sc-stzh-vbz-intro{display:flex;flex-direction:column;padding-top:var(--stzh-space-medium);padding-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-vbz-intro__ticker.sc-stzh-vbz-intro,.stzh-vbz-intro__quicklinks.sc-stzh-vbz-intro{padding-top:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-vbz-intro__ticker.sc-stzh-vbz-intro,.stzh-vbz-intro__quicklinks.sc-stzh-vbz-intro{padding-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-vbz-intro__ticker.sc-stzh-vbz-intro,.stzh-vbz-intro__quicklinks.sc-stzh-vbz-intro{padding-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 600px){.stzh-vbz-intro__ticker.sc-stzh-vbz-intro,.stzh-vbz-intro__quicklinks.sc-stzh-vbz-intro{padding-bottom:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-vbz-intro__ticker.sc-stzh-vbz-intro,.stzh-vbz-intro__quicklinks.sc-stzh-vbz-intro{padding-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-vbz-intro__ticker.sc-stzh-vbz-intro,.stzh-vbz-intro__quicklinks.sc-stzh-vbz-intro{padding-bottom:var(--stzh-space-xxlarge)}}.stzh-vbz-intro__ticker.sc-stzh-vbz-intro{grid-area:ticker}@media screen and (min-width: 1600px){.stzh-vbz-intro__ticker.sc-stzh-vbz-intro{padding-left:0}}.stzh-vbz-intro__quicklinks.sc-stzh-vbz-intro{grid-area:quicklinks;background-color:var(--stzh-color-primary60);padding-left:var(--stzh-space-large);margin-left:-1.25rem;padding-right:var(--stzh-space-large);margin-right:-1.25rem}@media screen and (min-width: 600px){.stzh-vbz-intro__quicklinks.sc-stzh-vbz-intro{display:grid;gap:0 var(--stzh-space-large);grid-template-columns:repeat(2, minmax(0, 1fr));padding-left:2rem;margin-left:-2rem;padding-right:2rem;margin-right:-2rem}}@media screen and (min-width: 900px){.stzh-vbz-intro__quicklinks.sc-stzh-vbz-intro{display:flex;gap:inherit;grid-template-columns:inherit;padding-left:2.5rem;margin-left:inherit;padding-right:2.5rem;margin-right:-2.5rem}}@media screen and (min-width: 1260px){.stzh-vbz-intro__quicklinks.sc-stzh-vbz-intro{padding-right:4rem;margin-right:-4rem}}@media screen and (min-width: 1600px){.stzh-vbz-intro__quicklinks.sc-stzh-vbz-intro{margin-right:calc((100vw - 84.25rem - var(--stzh-scrollbar-width, 0px)) * -0.5)}}.stzh-vbz-intro.sc-stzh-vbz-intro .stzh-vbz-intro-quicklinks__heading.sc-stzh-vbz-intro{--color:var(--stzh-color-white);margin-bottom:var(--stzh-space-xsmall)}.stzh-vbz-intro.sc-stzh-vbz-intro .stzh-vbz-intro-quicklink__link.sc-stzh-vbz-intro{--text-decoration-line:none;--color:var(--stzh-color-white);--hover-text-decoration-line:none;--hover-color:var(--stzh-color-white);transition:transform 150ms ease;padding-top:var(--stzh-space-xsmall);padding-bottom:var(--stzh-space-xsmall)}.stzh-vbz-intro.sc-stzh-vbz-intro .stzh-vbz-intro-quicklink__link.sc-stzh-vbz-intro:hover{transform:translateX(0.625rem)}@media screen and (min-width: 900px){.stzh-vbz-intro.sc-stzh-vbz-intro .stzh-vbz-intro-quicklink__link.sc-stzh-vbz-intro:hover{transform:translateX(1.25rem)}}";
|
|
4
4
|
const StzhVbzIntroStyle0 = stzhVbzIntroCss;
|
|
5
5
|
|
|
6
6
|
const StzhVbzIntro = class {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"stzh-vbz-intro.entry.js","mappings":";;AAAA,MAAM,eAAe,GAAG,s8LAAs8L,CAAC;AAC/9L,2BAAe,eAAe;;MCWjB,YAAY;;;QAQf,gBAAW,GAA2B,EAAE,CAAC;QAiBzC,SAAI,GAAG;YACb,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;SACzC,CAAC;;0BApBgD,EAAE;;IAIpD,iBAAiB,CAAC,QAAqC;QACrD,IAAI,CAAC,QAAQ,EAAE;YACb,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;SACvB;aAAM,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;YACvC,IAAI;gBACF,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;aACzC;YAAC,OAAO,CAAC,EAAE;gBACV,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;aACvB;SACF;aAAM;YACL,IAAI,CAAC,WAAW,GAAG,QAAQ,CAAC;SAC7B;KACF;IAMD,MAAM,iBAAiB;QACrB,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE;YACtB,IAAI,CAAC,YAAY,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,iBAAiB,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACpG;KACF;IAED,iBAAiB;QACf,IAAI,CAAC,IAAI,EAAE,CAAC;KACb;IAED,MAAM;QACJ,MAAM,OAAO,GAAG;YACd,gBAAgB,EAAE,IAAI;SACvB,CAAC;QAEF,QACE,EAAC,IAAI,uDACH,4DAAK,KAAK,EAAE,OAAO,IACjB,4DAAK,KAAK,EAAC,wBAAwB,IACjC,6DAAM,IAAI,EAAC,QAAQ,GAAQ,CACvB,EACL,IAAI,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,KAC1B,4DAAK,KAAK,EAAC,4BAA4B,IACrC,qEAAc,KAAK,EAAC,oCAAoC,IACrD,IAAI,CAAC,YAAY,CAAC,iBAAiB,CACvB,EACd,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,KACxB,WAAK,KAAK,EAAC,0BAA0B,IACnC,iBAAW,KAAK,EAAC,gCAAgC,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,aAAa,IACnF,IAAI,CAAC,KAAK,CACD,CACR,CACP,CAAC,CACE,CACP,CACG,CACD,EACP;KACH;;;;;;;;;;","names":[],"sources":["src/components/CMS/VBZ/stzh-vbz-intro/stzh-vbz-intro.scss?tag=stzh-vbz-intro&encapsulation=scoped","src/components/CMS/VBZ/stzh-vbz-intro/stzh-vbz-intro.tsx"],"sourcesContent":["/**\n * @prop --background-color: Background color of top news section\n * @prop --background-color
|
|
1
|
+
{"file":"stzh-vbz-intro.entry.js","mappings":";;AAAA,MAAM,eAAe,GAAG,s8LAAs8L,CAAC;AAC/9L,2BAAe,eAAe;;MCWjB,YAAY;;;QAQf,gBAAW,GAA2B,EAAE,CAAC;QAiBzC,SAAI,GAAG;YACb,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;SACzC,CAAC;;0BApBgD,EAAE;;IAIpD,iBAAiB,CAAC,QAAqC;QACrD,IAAI,CAAC,QAAQ,EAAE;YACb,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;SACvB;aAAM,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;YACvC,IAAI;gBACF,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;aACzC;YAAC,OAAO,CAAC,EAAE;gBACV,IAAI,CAAC,WAAW,GAAG,EAAE,CAAC;aACvB;SACF;aAAM;YACL,IAAI,CAAC,WAAW,GAAG,QAAQ,CAAC;SAC7B;KACF;IAMD,MAAM,iBAAiB;QACrB,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE;YACtB,IAAI,CAAC,YAAY,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,iBAAiB,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;SACpG;KACF;IAED,iBAAiB;QACf,IAAI,CAAC,IAAI,EAAE,CAAC;KACb;IAED,MAAM;QACJ,MAAM,OAAO,GAAG;YACd,gBAAgB,EAAE,IAAI;SACvB,CAAC;QAEF,QACE,EAAC,IAAI,uDACH,4DAAK,KAAK,EAAE,OAAO,IACjB,4DAAK,KAAK,EAAC,wBAAwB,IACjC,6DAAM,IAAI,EAAC,QAAQ,GAAQ,CACvB,EACL,IAAI,CAAC,WAAW,CAAC,MAAM,GAAG,CAAC,KAC1B,4DAAK,KAAK,EAAC,4BAA4B,IACrC,qEAAc,KAAK,EAAC,oCAAoC,IACrD,IAAI,CAAC,YAAY,CAAC,iBAAiB,CACvB,EACd,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,IAAI,KACxB,WAAK,KAAK,EAAC,0BAA0B,IACnC,iBAAW,KAAK,EAAC,gCAAgC,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,aAAa,IACnF,IAAI,CAAC,KAAK,CACD,CACR,CACP,CAAC,CACE,CACP,CACG,CACD,EACP;KACH;;;;;;;;;;","names":[],"sources":["src/components/CMS/VBZ/stzh-vbz-intro/stzh-vbz-intro.scss?tag=stzh-vbz-intro&encapsulation=scoped","src/components/CMS/VBZ/stzh-vbz-intro/stzh-vbz-intro.tsx"],"sourcesContent":["/**\n * @prop --background-color: Background color of top news section\n * @prop --mostsearched-background-color: Background color of top most searched section\n *\n * @prop --stzh-vbz-intro-subtitle-font: **Global**: Font of the topnews subtitle\n * @prop --stzh-vbz-intro-topnews-item-subtitle-color: **Global**: Color of the topnews subtitle\n * @prop --stzh-vbz-intro-topnews-item-subtitle-highlighted-color: **Global**: Color of the topnews subtitle (highlighted variant)\n */\n\n:host {\n --mostsearched-background-color: #{$mostsearchedBackgroundColor};\n --topnews-background-color: #{$topnewsBackgroundColor};\n --topnews-item-subtitle-color: var(--stzh-vbz-intro-topnews-item-subtitle-color, #{$colorPrimary70});\n --topnews-item-subtitle-font: var(--stzh-vbz-intro-topnews-subtitle-font, #{$topnewsSubtitleFont});\n --topnews-item-subtitle-highlighted-color: var(--stzh-vbz-intro-topnews-item-subtitle-highlighted-color, #{$colorPrimary60});\n\n --grid-template-areas: \"ticker ticker ticker ticker\" \"quicklinks quicklinks quicklinks quicklinks\";\n\n @include mq($from: medium) {\n --grid-template-areas: \"ticker ticker ticker ticker ticker quicklinks quicklinks quicklinks\";\n }\n\n @include mq($from: large) {\n --grid-template-areas: \"ticker ticker ticker ticker ticker ticker ticker ticker quicklinks quicklinks quicklinks quicklinks\";\n }\n}\n\n.stzh-vbz-intro {\n @include grid;\n grid-template-areas: var(--grid-template-areas);\n\n &__ticker,\n &__quicklinks {\n display: flex;\n flex-direction: column;\n @include spaceCurve('padding-top', 'regular');\n @include spaceCurve('padding-bottom', 'regular');\n }\n\n &__ticker {\n grid-area: ticker;\n\n @include mq($from: ultra) {\n padding-left: 0;\n }\n }\n\n /**\n * Quick links.\n */\n &__quicklinks {\n grid-area: quicklinks;\n background-color: var(--stzh-color-primary60);\n padding-left: space('large');\n margin-left: $containerMargin * -1;\n padding-right: space('large');\n margin-right: $containerMargin * -1;\n\n @include mq($from: small) {\n display: grid;\n gap: 0 space('large');\n grid-template-columns: repeat(2, minmax(0, 1fr));\n padding-left: $containerMarginSmall;\n margin-left: $containerMarginSmall * -1;\n padding-right: $containerMarginSmall;\n margin-right: $containerMarginSmall * -1;\n }\n\n @include mq($from: medium) {\n display: flex;\n gap: inherit;\n grid-template-columns: inherit;\n padding-left: $containerMarginMedium;\n margin-left: inherit;\n padding-right: $containerMarginMedium;\n margin-right: $containerMarginMedium * -1;\n }\n\n @include mq($from: large) {\n padding-right: $containerMarginLarge;\n margin-right: $containerMarginLarge * -1;\n }\n\n @include mq($from: ultra) {\n margin-right: calc(((100vw - #{$containerMaxWidth} - var(--stzh-scrollbar-width, 0px)) * -0.5));\n }\n }\n\n .stzh-vbz-intro-quicklinks__heading {\n --color: var(--stzh-color-white);\n margin-bottom: space('xsmall');\n }\n\n .stzh-vbz-intro-quicklink__link {\n --text-decoration-line: none;\n --color: var(--stzh-color-white);\n --hover-text-decoration-line: none;\n --hover-color: var(--stzh-color-white);\n\n transition: transform 150ms ease;\n padding-top: space('xsmall');\n padding-bottom: space('xsmall');\n\n &:hover, {\n transform: translateX(10px);\n\n @include mq($from: medium) {\n transform: translateX(20px);\n }\n }\n }\n}\n","import { Component, Element, h, Host, Prop, Watch } from \"@stencil/core\";\nimport { StzhMostsearchedItem, StzhVbzQuicklink } from \"../../../../index\";\nimport { StzhVbzIntroLocalizedText } from \"./stzh-vbz-intro.localization\";\n\n/**\n * @slot ticker - slot for ticker content \n */\n@Component({\n tag: \"stzh-vbz-intro\",\n styleUrl: \"stzh-vbz-intro.scss\",\n scoped: true,\n})\nexport class StzhVbzIntro {\n @Element() element: HTMLStzhVbzIntroElement;\n\n /** Translation strings. */\n @Prop() localization: StzhVbzIntroLocalizedText;\n\n /** Most searched items */\n @Prop() quicklinks: StzhVbzQuicklink[] | string = [];\n private _quicklinks: StzhMostsearchedItem[] = [];\n\n @Watch(\"quicklinks\")\n quicklinksWatcher(newValue: StzhVbzQuicklink[] | string) {\n if (!newValue) {\n this._quicklinks = [];\n } else if (typeof newValue === \"string\") {\n try {\n this._quicklinks = JSON.parse(newValue);\n } catch (e) {\n this._quicklinks = [];\n }\n } else {\n this._quicklinks = newValue;\n }\n }\n\n private init = () => {\n this.quicklinksWatcher(this.quicklinks);\n };\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"vbz-intro\");\n }\n }\n\n connectedCallback() {\n this.init();\n }\n\n render() {\n const classes = {\n \"stzh-vbz-intro\": true,\n };\n\n return (\n <Host>\n <div class={classes}>\n <div class=\"stzh-vbz-intro__ticker\">\n <slot name=\"ticker\"></slot>\n </div>\n {this._quicklinks.length > 0 && (\n <div class=\"stzh-vbz-intro__quicklinks\">\n <stzh-heading class=\"stzh-vbz-intro-quicklinks__heading\">\n {this.localization.quicklinksHeading}\n </stzh-heading>\n {this._quicklinks.map(item => (\n <div class=\"stzh-vbz-intro-quicklink\">\n <stzh-link class=\"stzh-vbz-intro-quicklink__link\" href={item.href} icon={\"arrow-right\"}>\n {item.label}\n </stzh-link>\n </div>\n ))}\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -128,59 +128,11 @@ function addWordBreakToLinks(links) {
|
|
|
128
128
|
}
|
|
129
129
|
});
|
|
130
130
|
}
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
// return childNodes(node).map((n: any) => n.nodeType === 1);
|
|
136
|
-
// }
|
|
137
|
-
// const nativeCloneNodeFn = Node.prototype.cloneNode;
|
|
138
|
-
// export function cloneElement(node: Element, deep: boolean) {
|
|
139
|
-
// const clonedNode = nativeCloneNodeFn.call(node, false);
|
|
140
|
-
// const srcChildNodes = childNodes(node);
|
|
141
|
-
// if (deep) {
|
|
142
|
-
// for (let i = 0; i < srcChildNodes.length; i++) {
|
|
143
|
-
// if (srcChildNodes[i].nodeType !== 2) {
|
|
144
|
-
// const childClone = cloneElement(srcChildNodes[i], true);
|
|
145
|
-
// clonedNode.appendChild(childClone);
|
|
146
|
-
// }
|
|
147
|
-
// }
|
|
148
|
-
// }
|
|
149
|
-
// return clonedNode;
|
|
150
|
-
// }
|
|
151
|
-
// // Clone an stzh-* element that is using stencil polyfilled slots (no shadow dom)
|
|
152
|
-
// // and potentially wrapped in normal elements (e.g. angular component)
|
|
153
|
-
// export function cloneWrappedStzhElement(elementToClone: Element): [Element, Element, Element] {
|
|
154
|
-
// let clonedElement: Element;
|
|
155
|
-
// let clonedStzhElement: Element;
|
|
156
|
-
// let originalStzhElement: Element;
|
|
157
|
-
// if (isStzhElement(elementToClone)) {
|
|
158
|
-
// clonedElement = cloneElement(elementToClone, true);
|
|
159
|
-
// clonedStzhElement = clonedElement;
|
|
160
|
-
// originalStzhElement = elementToClone;
|
|
161
|
-
// } else {
|
|
162
|
-
// clonedElement = elementToClone.cloneNode() as Element;
|
|
163
|
-
// let clonedInnerElementLast: Element = clonedElement;
|
|
164
|
-
// let originalInnerElementLast: Element = elementToClone;
|
|
165
|
-
// // clone inner root elements separately until we find a stzh element
|
|
166
|
-
// while (originalInnerElementLast.children.length === 1 && !isStzhElement(originalInnerElementLast.children[0])) {
|
|
167
|
-
// originalInnerElementLast = originalInnerElementLast.children[0];
|
|
168
|
-
// const clonedInnerElementCurrent = originalInnerElementLast.cloneNode() as Element;
|
|
169
|
-
// clonedInnerElementLast.appendChild(clonedInnerElementCurrent);
|
|
170
|
-
// clonedInnerElementLast = clonedInnerElementCurrent;
|
|
171
|
-
// }
|
|
172
|
-
// if (isStzhElement(originalInnerElementLast.children[0])) {
|
|
173
|
-
// clonedStzhElement = cloneElement(originalInnerElementLast.children[0], true);
|
|
174
|
-
// originalStzhElement = originalInnerElementLast.children[0];
|
|
175
|
-
// clonedInnerElementLast.appendChild(clonedStzhElement);
|
|
176
|
-
// } else {
|
|
177
|
-
// // no root stzh element found, so we give up and just deep clone the root
|
|
178
|
-
// clonedElement = cloneElement(elementToClone, true);
|
|
179
|
-
// }
|
|
180
|
-
// }
|
|
181
|
-
// return [clonedElement, clonedStzhElement, originalStzhElement];
|
|
182
|
-
// }
|
|
131
|
+
function getTheme() {
|
|
132
|
+
const htmlElement = document.documentElement;
|
|
133
|
+
return Array.from(htmlElement.classList).find(className => className.startsWith("stzh-theme-"));
|
|
134
|
+
}
|
|
183
135
|
|
|
184
|
-
export { setProps as a,
|
|
136
|
+
export { setProps as a, getStzhEnvironment as b, getMeta as c, isVisible as d, addWordBreakToLinks as e, getTheme as g, hasSlot as h, isStzhElement as i, offset as o, raf as r, setPropsIfNull as s };
|
|
185
137
|
|
|
186
|
-
//# sourceMappingURL=utils-
|
|
138
|
+
//# sourceMappingURL=utils-2ad42b77.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"utils-2ad42b77.js","mappings":";;AAEA;AACA;SACgB,OAAO,CAAC,EAAe,EAAE,IAAa;;IAEpD,IAAI,IAAI,EAAE;QACR,OAAO,EAAE,CAAC,aAAa,CAAC,UAAU,IAAI,IAAI,CAAC,KAAK,IAAI,CAAC;KACtD;;IAGD,OAAO,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI;QAC1C,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;YACtE,OAAO,IAAI,CAAC;SACb;QAED,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,CAAC,YAAY,EAAE;YACvC,MAAM,EAAE,GAAG,IAAmB,CAAC;YAC/B,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,MAAM,CAAC,EAAE;gBAC5B,OAAO,IAAI,CAAC;aACb;SACF;QAED,OAAO,KAAK,CAAC;KACd,CAAC,CAAC;AACL,CAAC;SAEe,cAAc,CAAC,OAAgB,EAAE,UAAe;IAC9D,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,CAAC,SAAS;QACxC,IAAI,OAAO,CAAC,YAAY,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,KAAK,IAAI,EAAE;YACtD,OAAO,CAAC,SAAS,CAAC,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC;SAC5C;KACF,CAAC,CAAC;AACL,CAAC;SAEe,QAAQ,CAAC,OAAgB,EAAE,UAAe;IACxD,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,CAAC,SAAS;QACxC,OAAO,CAAC,SAAS,CAAC,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC;KAC5C,CAAC,CAAC;AACL,CAAC;SAEe,aAAa,CAAC,OAAgB;IAC5C,IAAI,CAAC,OAAO,IAAI,OAAO,CAAC,QAAQ,KAAK,CAAC,EAAE;QACtC,OAAO,KAAK,CAAC;KACd;IAED,OAAO,OAAO,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAC9D,CAAC;AAED;SACgB,OAAO,CAAC,IAAI;IAC1B,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CACjC,cAAc,IAAI,iBAAiB,IAAI,IAAI,CAC5C,CAAC;IACF,OAAO,IAAI,GAAG,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC;AAClD,CAAC;SAae,UAAU,CAAC,IAAa;IACtC,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;;;IAInC,IAAI,IAAI,CAAC,MAAM,CAAC,EAAE;QAChB,MAAM,MAAM,GAAG,EAAE,CAAC;QAElB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YAC1C,MAAM,IAAI,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;YAEnC,IAAI,IAAI,EAAE;gBACR,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACnB;SACF;QAED,OAAO,MAAM,CAAC;KACf;IAED,OAAO,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;AAChC,CAAC;SAEe,SAAS,CAAC,OAAoB;;IAE5C,IAAI,OAAO,OAAO,CAAC,eAAe,KAAK,WAAW,EAAE;;QAElD,OAAO,OAAO,CAAC,eAAe,CAAC;YAC7B,YAAY,EAAE,KAAK;YACnB,kBAAkB,EAAE,KAAK;SAC1B,CAAC,CAAC;KACJ;SAAM;QACL,OAAO,CAAC,EACN,OAAO,CAAC,WAAW;YACnB,OAAO,CAAC,YAAY;YACpB,OAAO,CAAC,cAAc,EAAE,CAAC,MAAM,CAChC,CAAC;KACH;AACH,CAAC;SAEe,MAAM,CAAC,OAAO;IAC5B,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,MAAM,EAAE;QACpC,OAAO,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC;KAC5B;IAED,IAAI,IAAI,GAAG,OAAO,CAAC,qBAAqB,EAAE,CAAC;IAC3C,IAAI,GAAG,GAAG,OAAO,CAAC,aAAa,CAAC,WAAW,CAAC;IAE5C,OAAO;QACL,GAAG,EAAE,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,WAAW;KAClC,CAAC;AACJ,CAAC;AAEM,eAAe,GAAG;IACvB,OAAO,IAAI,OAAO,CAAO,CAAC,OAAO;QAC/B,qBAAqB,CAAC;YACpB,OAAO,EAAE,CAAC;SACX,CAAC,CAAC;KACJ,CAAC,CAAC;AACL,CAAC;AAUD,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,kCAAW,CAAA;IACX,kCAAW,CAAA;IACX,oCAAa,CAAA;AACf,CAAC,EALW,mBAAmB,KAAnB,mBAAmB,QAK9B;SAEe,kBAAkB;IAChC,MAAM,GAAG,GAAG,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC;IACjC,IACE,GAAG,CAAC,QAAQ,CAAC,wBAAwB,CAAC;QACtC,GAAG,CAAC,KAAK,CAAC,sBAAsB,CAAC,EACjC;QACA,OAAO,mBAAmB,CAAC,GAAG,CAAC;KAChC;SAAM,IACL,GAAG,CAAC,QAAQ,CAAC,wBAAwB,CAAC;QACtC,GAAG,CAAC,QAAQ,CAAC,oCAAoC,CAAC;QAClD,GAAG,CAAC,KAAK,CAAC,sBAAsB,CAAC,EACjC;QACA,OAAO,mBAAmB,CAAC,GAAG,CAAC;KAChC;SAAM,IACL,GAAG,CAAC,QAAQ,CAAC,8BAA8B,CAAC;QAC5C,GAAG,CAAC,QAAQ,CAAC,+BAA+B,CAAC;QAC7C,GAAG,CAAC,KAAK,CAAC,iBAAiB,CAAC,EAC5B;QACA,OAAO,mBAAmB,CAAC,IAAI,CAAC;KACjC;SAAM;QACL,OAAO,mBAAmB,CAAC,OAAO,CAAC;KACpC;AACH,CAAC;SAEe,mBAAmB,CAAC,KAAoB;IACtD,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI;;QACjB,IAAI,MAAA,IAAI,CAAC,WAAW,0CAAE,QAAQ,CAAC,GAAG,CAAC,EAAE;YACnC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;SAC3D;KACF,CAAC,CAAC;AACL,CAAC;SAEe,QAAQ;IACtB,MAAM,WAAW,GAAG,QAAQ,CAAC,eAAe,CAAC;IAC7C,OAAO,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,SAAS,IAAI,SAAS,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;AAClG;;;;","names":[],"sources":["src/utils/utils.ts"],"sourcesContent":["import { dashCase } from \"./string-utils\";\n\n// Determines whether an element has a slot. If name is specified, the function will look for a corresponding named\n// slot, otherwise it will look for a \"default\" slot (e.g. a non-empty text node or an element with no slot attribute).\nexport function hasSlot(el: HTMLElement, name?: string) {\n // Look for a named slot\n if (name) {\n return el.querySelector(`[slot=\"${name}\"]`) !== null;\n }\n\n // Look for a default slot\n return Array.from(childNodes(el)).some((node) => {\n if (node.nodeType === node.TEXT_NODE && node.textContent.trim() !== \"\") {\n return true;\n }\n\n if (node.nodeType === node.ELEMENT_NODE) {\n const el = node as HTMLElement;\n if (!el.hasAttribute(\"slot\")) {\n return true;\n }\n }\n\n return false;\n });\n}\n\nexport function setPropsIfNull(element: Element, attributes: any) {\n Object.keys(attributes).forEach((attribute) => {\n if (element.getAttribute(dashCase(attribute)) === null) {\n element[attribute] = attributes[attribute];\n }\n });\n}\n\nexport function setProps(element: Element, attributes: any) {\n Object.keys(attributes).forEach((attribute) => {\n element[attribute] = attributes[attribute];\n });\n}\n\nexport function isStzhElement(element: Element) {\n if (!element || element.nodeType !== 1) {\n return false;\n }\n\n return element.tagName.toLowerCase().indexOf(\"stzh-\") === 0;\n}\n\n// returns content of <meta name=\"\" content=\"\"> tags or '' if empty/non existant\nexport function getMeta(name) {\n const meta = document.querySelector(\n `meta[name=\"${name}\"],[property=\"${name}\"]`\n );\n return meta ? meta.getAttribute(\"content\") : \"\";\n}\n\nexport function parents(node: Element | Node) {\n const parents = [];\n\n while (node) {\n parents.unshift(node);\n node = node.parentNode;\n }\n\n return parents;\n}\n\nexport function childNodes(node: Element) {\n const childNodes = node.childNodes;\n\n // check if element is stencil element without shadow dom\n // and then detect elements that were slotted into the element\n if (node[\"s-sc\"]) {\n const result = [];\n\n for (let i = 0; i < childNodes.length; i++) {\n const slot = childNodes[i][\"s-nr\"];\n\n if (slot) {\n result.push(slot);\n }\n }\n\n return result;\n }\n\n return Array.from(childNodes);\n}\n\nexport function isVisible(element: HTMLElement): boolean {\n // @ts-ignore\n if (typeof element.checkVisibility !== \"undefined\") {\n // @ts-ignore\n return element.checkVisibility({\n checkOpacity: false,\n checkVisibilityCSS: false\n });\n } else {\n return !!(\n element.offsetWidth ||\n element.offsetHeight ||\n element.getClientRects().length\n );\n }\n}\n\nexport function offset(element): { top: number; left: number } {\n if (!element.getClientRects().length) {\n return { top: 0, left: 0 };\n }\n\n let rect = element.getBoundingClientRect();\n let win = element.ownerDocument.defaultView;\n\n return {\n top: rect.top + win.pageYOffset,\n left: rect.left + win.pageXOffset\n };\n}\n\nexport async function raf() {\n return new Promise<void>((resolve) => {\n requestAnimationFrame(() => {\n resolve();\n });\n });\n}\n\nexport async function setTimeout(time: number) {\n return new Promise<void>((resolve) => {\n window.setTimeout(() => {\n resolve();\n }, time);\n });\n}\n\nexport enum StzhEnvironmentEnum {\n UNKNOWN = \"UNKNOWN\",\n DEV = \"DEV\",\n UAT = \"UAT\",\n PROD = \"PROD\",\n}\n\nexport function getStzhEnvironment(): StzhEnvironmentEnum {\n const url = window.location.href;\n if (\n url.includes(\"test.stadt-zuerich.loc\") ||\n url.match(/\\.dev\\.cmp\\.szh\\.loc/)\n ) {\n return StzhEnvironmentEnum.DEV;\n } else if (\n url.includes(\"integ.stadt-zuerich.ch\") ||\n url.includes(\"stzh-desi-unic-preview.netlify.app\") ||\n url.match(/\\.uat\\.cmp\\.szh\\.loc/)\n ) {\n return StzhEnvironmentEnum.UAT;\n } else if (\n url.includes(\"https://www.stadt-zuerich.ch\") ||\n url.includes(\"designsystem.stadt-zuerich.ch\") ||\n url.match(/\\.cmp\\.szh\\.loc/)\n ) {\n return StzhEnvironmentEnum.PROD;\n } else {\n return StzhEnvironmentEnum.UNKNOWN;\n }\n}\n\nexport function addWordBreakToLinks(links: HTMLElement[]) {\n links.forEach((link) => {\n if (link.textContent?.includes(\"_\")) {\n link.innerHTML = link.textContent.replace(/_/g, \"_<wbr>\");\n }\n });\n}\n\nexport function getTheme() {\n const htmlElement = document.documentElement;\n return Array.from(htmlElement.classList).find(className => className.startsWith(\"stzh-theme-\"));\n}\n"],"version":3}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as e,h as t,a as n,g as s}from"./p-ef5985a3.js";import{s as i}from"./p-24caf6c1.js";import"./p-dae15605.js";const a=".sc-stzh-eventinfo-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-eventinfo-h,[stzh-hidden].sc-stzh-eventinfo-h{display:none}.sc-stzh-eventinfo-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-eventinfo-h *.sc-stzh-eventinfo,.sc-stzh-eventinfo-h *.sc-stzh-eventinfo::before,.sc-stzh-eventinfo-h *.sc-stzh-eventinfo::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-eventinfo-h .has-focus.sc-stzh-eventinfo{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-eventinfo-h .stzh-fylingfocus-focused.sc-stzh-eventinfo{outline-style:none !important}.sc-stzh-eventinfo-h .stzh-fylingfocus-focused.sc-stzh-eventinfo::-moz-focus-inner{border:0 !important}.stzh-eventinfo.sc-stzh-eventinfo{display:flex}.stzh-eventinfo__left.sc-stzh-eventinfo{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);flex-shrink:0;text-transform:uppercase;display:flex;flex-direction:column;align-items:center;color:var(--stzh-color-black);background-color:var(--stzh-color-secondary30);padding-top:var(--stzh-space-small);width:4.5rem}@media screen and (min-width: 600px){.stzh-eventinfo__left.sc-stzh-eventinfo{width:5.5rem}}.stzh-eventinfo__main-event-day.sc-stzh-eventinfo{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-hecto-font-size);line-height:var(--stzh-font-hecto-text-line-height);letter-spacing:var(--stzh-font-hecto-text-letter-spacing);color:var(--stzh-color-primary70);margin-top:-0.4375rem;margin-bottom:-0.4375rem}.stzh-eventinfo__right.sc-stzh-eventinfo{font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);flex-grow:1;color:var(--stzh-color-grey80);background-color:var(--stzh-color-grey10);padding-top:var(--stzh-space-small);padding-bottom:var(--stzh-space-medium);padding-left:var(--stzh-space-small);padding-right:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-eventinfo__right.sc-stzh-eventinfo{padding-left:var(--stzh-space-xlarge);padding-right:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.stzh-eventinfo__right.sc-stzh-eventinfo{padding-top:var(--stzh-space-medium);padding-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-eventinfo__right.sc-stzh-eventinfo{padding-top:var(--stzh-space-large);padding-bottom:var(--stzh-space-xlarge)}}.stzh-eventinfo__head.sc-stzh-eventinfo{display:flex;flex-direction:column;column-gap:var(--stzh-space-large)}@media screen and (min-width: 900px){.stzh-eventinfo__head.sc-stzh-eventinfo{flex-direction:row;justify-content:space-between}}.stzh-eventinfo__main-date.sc-stzh-eventinfo{display:flex;column-gap:var(--stzh-space-medium);flex-wrap:wrap}.stzh-eventinfo__main-event-link.sc-stzh-eventinfo{flex-shrink:0}.stzh-eventinfo__text.sc-stzh-eventinfo{display:flex;flex-direction:column;row-gap:var(--stzh-space-medium);column-gap:var(--stzh-space-large);margin-top:var(--stzh-space-medium)}@media screen and (min-width: 900px){.stzh-eventinfo__text.sc-stzh-eventinfo{margin-top:var(--stzh-space-xxsmall)}}@media screen and (min-width: 900px) and (min-width: 900px){.stzh-eventinfo__text.sc-stzh-eventinfo{margin-top:var(--stzh-space-xsmall)}}@media screen and (min-width: 900px) and (min-width: 1260px){.stzh-eventinfo__text.sc-stzh-eventinfo{margin-top:var(--stzh-space-small)}}.stzh-eventinfo__details-wrapper.sc-stzh-eventinfo{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 900px){.stzh-eventinfo__details-wrapper.sc-stzh-eventinfo{margin-top:var(--stzh-space-xxsmall)}}@media screen and (min-width: 900px) and (min-width: 900px){.stzh-eventinfo__details-wrapper.sc-stzh-eventinfo{margin-top:var(--stzh-space-xsmall)}}@media screen and (min-width: 900px) and (min-width: 1260px){.stzh-eventinfo__details-wrapper.sc-stzh-eventinfo{margin-top:var(--stzh-space-small)}}.stzh-eventinfo__details.sc-stzh-eventinfo{color:inherit}.stzh-eventinfo__details-link-collapse.sc-stzh-eventinfo{display:none}.stzh-eventinfo__details-link[a11y-expanded].sc-stzh-eventinfo:not([a11y-expanded=false]) .stzh-eventinfo__details-link-collapse.sc-stzh-eventinfo{display:block}.stzh-eventinfo__details-link[a11y-expanded].sc-stzh-eventinfo:not([a11y-expanded=false]) .stzh-eventinfo__details-link-expand.sc-stzh-eventinfo{display:none}.stzh-eventinfo__month-list.sc-stzh-eventinfo,.stzh-eventinfo__event-list.sc-stzh-eventinfo{list-style:none;margin:0;padding:0}.stzh-eventinfo__month-list.sc-stzh-eventinfo{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);display:grid;column-gap:var(--stzh-space-small)}@media screen and (min-width: 900px){.stzh-eventinfo__month-list.sc-stzh-eventinfo{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}@media screen and (min-width: 600px){.stzh-eventinfo__month-list.sc-stzh-eventinfo{grid-template-columns:minmax(0, 1fr) auto}}@media screen and (min-width: 900px){.stzh-eventinfo__month-list.sc-stzh-eventinfo{column-gap:var(--stzh-space-xxlarge);grid-template-columns:minmax(6.25rem, auto) minmax(11.25rem, auto) minmax(0, 1fr) auto}}.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:not(:first-child) .stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:not(:first-child) .stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:not(:first-child) .stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:not(:first-child) .stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:var(--stzh-space-xxlarge)}}.stzh-eventinfo__month-list-item.sc-stzh-eventinfo{display:contents}.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-weekday.sc-stzh-eventinfo,.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-date.sc-stzh-eventinfo,.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-time.sc-stzh-eventinfo,.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-link.sc-stzh-eventinfo,.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-datetime-wrapper.sc-stzh-eventinfo{margin-bottom:0px}.stzh-eventinfo__heading.sc-stzh-eventinfo{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-style:var(--stzh-font-style-title);font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-heading-line-height);letter-spacing:var(--stzh-font-curve---heading-letter-spacing);margin-bottom:var(--stzh-space-xxsmall);margin-top:0;color:var(--stzh-color-primary70)}@media screen and (min-width: 900px){.stzh-eventinfo__heading.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){.stzh-eventinfo__heading.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 600px){.stzh-eventinfo__heading.sc-stzh-eventinfo{grid-column:1/3}}@media screen and (min-width: 900px){.stzh-eventinfo__heading.sc-stzh-eventinfo{grid-column:1/5}}.stzh-eventinfo__event-list.sc-stzh-eventinfo{display:contents}.stzh-eventinfo__event-list-item.sc-stzh-eventinfo{display:contents}@media screen and (min-width: 900px){.stzh-eventinfo__event-weekday.sc-stzh-eventinfo,.stzh-eventinfo__event-date.sc-stzh-eventinfo,.stzh-eventinfo__event-time.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 1260px){.stzh-eventinfo__event-weekday.sc-stzh-eventinfo,.stzh-eventinfo__event-date.sc-stzh-eventinfo,.stzh-eventinfo__event-time.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-medium)}}.stzh-eventinfo__event-link.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 900px){.stzh-eventinfo__event-link.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 1260px){.stzh-eventinfo__event-link.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-medium)}}.stzh-eventinfo__event-datetime-wrapper.sc-stzh-eventinfo{display:grid}@media screen and (min-width: 600px) and (max-width: 899px){.stzh-eventinfo__event-datetime-wrapper.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 900px){.stzh-eventinfo__event-datetime-wrapper.sc-stzh-eventinfo{display:contents}}.stzh-eventinfo__event-date-wrapper.sc-stzh-eventinfo{display:flex;flex-direction:column;column-gap:var(--stzh-space-xxlarge)}@media screen and (min-width: 900px){.stzh-eventinfo__event-date-wrapper.sc-stzh-eventinfo{display:contents}}@media screen and (min-width: 600px) and (max-width: 899px){.stzh-eventinfo__event-weekday.sc-stzh-eventinfo{min-width:5.625rem}}";const h=a;const o=class{constructor(t){e(this,t);this._items=[];this._itemsGroupedByMonth=[];this.init=()=>{const e=this.element.querySelectorAll('stzh-text[slot="location"], [slot="location"] stzh-text');const t=this.element.querySelectorAll('stzh-text[slot="additional-info"], [slot="additional-info"] stzh-text');e.forEach((e=>{i(e,{color:"inherit",curve:"none"})}));t.forEach((e=>{i(e,{color:"inherit",curve:"none"})}))};this.localization=undefined;this.monthHeadingLevel="4";this.start=undefined;this.end=undefined;this.calendarUrl=undefined;this.calendarLabel=undefined;this.itemsSortDirection="descending";this.items=undefined;this.dateAdapter=undefined}itemsWatcher(){if(!this.dateAdapter){return}const e=typeof this.items==="string"?JSON.parse(this.items):this.items;if(!e){return}const t=this.itemsSortDirection==="ascending";this._items=e.map((e=>Object.assign(Object.assign({},e),{start:e.start?new Date(e.start):undefined,end:e.end?new Date(e.end):undefined}))).sort(((e,n)=>{try{const s=e.start.getTime()-n.start.getTime();return t?s:-s}catch(e){return 1}}));const n=this._items.reduce(((e,n)=>{const s=(n.start.getMonth()+1).toString().padStart(2,"0");const i=`${n.start.getFullYear()}-${s}`;if(!e[i]){e[i]={name:this.localization.$globals.monthNames[n.start.getMonth()]+" "+n.start.getFullYear(),events:[]}}e[i].events.push(n);e[i].events.sort(((e,n)=>{const s=e.start.getTime()-n.start.getTime();return t?s:-s}));return e}),{});this._itemsGroupedByMonth=Object.values(n)}hasProperStartAndOrEndDate(e,t){return!(!!e&&e.getHours()===0&&!t)}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"eventinfo")}if(!this.dateAdapter){this.dateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formats,this.localization.$globals)}this.itemsWatcher()}connectedCallback(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})}disconnectedCallback(){if(this.observer){this.observer.disconnect()}}render(){const e={"stzh-eventinfo":true};const s=this.start&&new Date(this.start);const i=this.end&&new Date(this.end);const a=`h${this.monthHeadingLevel}`;return t(n,{key:"b6a671877e3a0765241fc438185e1a4d81cdf1a9"},t("div",{key:"646ac5bca744f9a988567126eba97ab821d0ef9d",class:e},t("div",{key:"2469a4616d61a6e56641c58888d2b1d790ea5ba9",class:"stzh-eventinfo__left"},t("div",{key:"27079753241fc56e3e84fe9600dc202128e8cd9c",class:"stzh-eventinfo__main-event-day-name"},this.localization.$globals.dayNamesShort[s.getDay()]),t("div",{key:"3da1f0962cf6be4f8720b3d1169951bccdd7b17d",class:"stzh-eventinfo__main-event-day"},s.getDate()<10&&"0",s.getDate()),t("div",{key:"5bc72243a4e4cc6cefadfe9c691d65a71b3301a2",class:"stzh-eventinfo__main-event-month"},this.localization.$globals.monthNamesShort[s.getMonth()])),t("div",{key:"9affa54750aeed4ea93f79141303554e9c8bc01f",class:"stzh-eventinfo__right"},t("div",{key:"f160d31a3db8d247506c4a35b44d9b243e0d99d4"},t("div",{key:"f6b811fd0d1b280fe7c12262414d482242f19c53",class:"stzh-eventinfo__head"},t("div",{key:"8ad8a2ff232091dcbc7824f38e0a041b5727beb1",class:"stzh-eventinfo__main-date"},t("span",{key:"d4785e12895a4715519ee678d31c1b84f08b8116"},this.localization.$globals.dayNames[s.getDay()]),t("span",{key:"17e16ce63a3b201751eb1a506f951de1fa0ab140"},this.dateAdapter.format(s,"date")),this.hasProperStartAndOrEndDate(s,i)&&t("span",{key:"c08388ef678b8e9f67f13c89306d6a9d83f5caef"},this.dateAdapter.formatSpan(s,i,"time"))),this.calendarUrl&&t("div",{key:"814371d8c70c8e8cb3831ae8db6549a97b658da3",class:"stzh-eventinfo__main-event-link"},t("stzh-link",{key:"12e95da3ae3aa84797a2f835daccc760c08aff89",href:this.calendarUrl,label:this.calendarLabel||this.localization.addToCalendar,size:"inherit"}))),t("div",{key:"4323dd0fde0b4f05c97248155860cdf485a27c79",class:"stzh-eventinfo__text"},t("div",{key:"42ebf2ec47e3599a83ff76f957f302cc0570c744",class:"stzh-eventinfo__location"},t("slot",{key:"c86896119537fe08d46b42ff7fee6cb6dffa37b4",name:"location"})),t("div",{key:"550c9240fde34aeb7f37d73638cb243704e7e74b",class:"stzh-eventinfo__additional-info"},t("slot",{key:"483eb47c1c654130eb44de7918b9349767d76225",name:"additional-info"})))),this._itemsGroupedByMonth.length>0&&t("div",{key:"bec5d63de4ca271de113be04dc04a6461582de6b",class:"stzh-eventinfo__details-wrapper"},t("stzh-details",{key:"8824b2c78fc0bc414677c09bcacd5900419ca2c7",class:"stzh-eventinfo__details"},t("stzh-link",{key:"3b78c0515f381a86398534315c6043222affc000",class:"stzh-eventinfo__details-link",icon:"calendar",size:"inherit"},t("span",{key:"cda6591cd586b2f55a46928693643571529b9fee",class:"stzh-eventinfo__details-link-expand"},this.localization.expandMoreDates),t("span",{key:"cf4c68bc80b237ab60d9e8e8b4ff1fc3a9a2352d",class:"stzh-eventinfo__details-link-collapse"},this.localization.collapseMoreDates)),t("ul",{key:"0ca5fdd9e6b358249ef8585f52f702a649fb824f",slot:"content",class:"stzh-eventinfo__month-list"},this._itemsGroupedByMonth.map((e=>t("li",{class:"stzh-eventinfo__month-list-item"},t(a,{class:"stzh-eventinfo__heading"},e.name),e.events.length>0&&t("ul",{class:"stzh-eventinfo__event-list"},e.events.map((e=>t("li",{class:"stzh-eventinfo__event-list-item"},t("span",{class:"stzh-eventinfo__event-datetime-wrapper"},t("span",{class:"stzh-eventinfo__event-date-wrapper"},t("span",{class:"stzh-eventinfo__event-weekday"},this.localization.$globals.dayNames[e.start.getDay()]),t("span",{class:"stzh-eventinfo__event-date"},this.dateAdapter.format(e.start,"date"))),t("span",{class:"stzh-eventinfo__event-time"},this.hasProperStartAndOrEndDate(e.start,e.end)&&this.dateAdapter.formatSpan(e.start,e.end,"time"))),t("span",{class:"stzh-eventinfo__event-link"},e.calendarUrl&&t("stzh-link",{href:e.calendarUrl,label:e.calendarLabel||this.localization.addToCalendar})))))))))))))))}get element(){return s(this)}static get watchers(){return{items:["itemsWatcher"],dateAdapter:["itemsWatcher"]}}};o.style=h;export{o as stzh_eventinfo};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as e,h as t,a as n,g as s}from"./p-ef5985a3.js";import{s as i}from"./p-09b5eb01.js";import"./p-dae15605.js";const a=".sc-stzh-eventinfo-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-eventinfo-h,[stzh-hidden].sc-stzh-eventinfo-h{display:none}.sc-stzh-eventinfo-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-eventinfo-h *.sc-stzh-eventinfo,.sc-stzh-eventinfo-h *.sc-stzh-eventinfo::before,.sc-stzh-eventinfo-h *.sc-stzh-eventinfo::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-eventinfo-h .has-focus.sc-stzh-eventinfo{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-eventinfo-h .stzh-fylingfocus-focused.sc-stzh-eventinfo{outline-style:none !important}.sc-stzh-eventinfo-h .stzh-fylingfocus-focused.sc-stzh-eventinfo::-moz-focus-inner{border:0 !important}.stzh-eventinfo.sc-stzh-eventinfo{display:flex}.stzh-eventinfo__left.sc-stzh-eventinfo{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);flex-shrink:0;text-transform:uppercase;display:flex;flex-direction:column;align-items:center;color:var(--stzh-color-black);background-color:var(--stzh-color-secondary30);padding-top:var(--stzh-space-small);width:4.5rem}@media screen and (min-width: 600px){.stzh-eventinfo__left.sc-stzh-eventinfo{width:5.5rem}}.stzh-eventinfo__main-event-day.sc-stzh-eventinfo{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-hecto-font-size);line-height:var(--stzh-font-hecto-text-line-height);letter-spacing:var(--stzh-font-hecto-text-letter-spacing);color:var(--stzh-color-primary70);margin-top:-0.4375rem;margin-bottom:-0.4375rem}.stzh-eventinfo__right.sc-stzh-eventinfo{font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);flex-grow:1;color:var(--stzh-color-grey80);background-color:var(--stzh-color-grey10);padding-top:var(--stzh-space-small);padding-bottom:var(--stzh-space-medium);padding-left:var(--stzh-space-small);padding-right:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-eventinfo__right.sc-stzh-eventinfo{padding-left:var(--stzh-space-xlarge);padding-right:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.stzh-eventinfo__right.sc-stzh-eventinfo{padding-top:var(--stzh-space-medium);padding-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-eventinfo__right.sc-stzh-eventinfo{padding-top:var(--stzh-space-large);padding-bottom:var(--stzh-space-xlarge)}}.stzh-eventinfo__head.sc-stzh-eventinfo{display:flex;flex-direction:column;column-gap:var(--stzh-space-large)}@media screen and (min-width: 900px){.stzh-eventinfo__head.sc-stzh-eventinfo{flex-direction:row;justify-content:space-between}}.stzh-eventinfo__main-date.sc-stzh-eventinfo{display:flex;column-gap:var(--stzh-space-medium);flex-wrap:wrap}.stzh-eventinfo__main-event-link.sc-stzh-eventinfo{flex-shrink:0}.stzh-eventinfo__text.sc-stzh-eventinfo{display:flex;flex-direction:column;row-gap:var(--stzh-space-medium);column-gap:var(--stzh-space-large);margin-top:var(--stzh-space-medium)}@media screen and (min-width: 900px){.stzh-eventinfo__text.sc-stzh-eventinfo{margin-top:var(--stzh-space-xxsmall)}}@media screen and (min-width: 900px) and (min-width: 900px){.stzh-eventinfo__text.sc-stzh-eventinfo{margin-top:var(--stzh-space-xsmall)}}@media screen and (min-width: 900px) and (min-width: 1260px){.stzh-eventinfo__text.sc-stzh-eventinfo{margin-top:var(--stzh-space-small)}}.stzh-eventinfo__details-wrapper.sc-stzh-eventinfo{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 900px){.stzh-eventinfo__details-wrapper.sc-stzh-eventinfo{margin-top:var(--stzh-space-xxsmall)}}@media screen and (min-width: 900px) and (min-width: 900px){.stzh-eventinfo__details-wrapper.sc-stzh-eventinfo{margin-top:var(--stzh-space-xsmall)}}@media screen and (min-width: 900px) and (min-width: 1260px){.stzh-eventinfo__details-wrapper.sc-stzh-eventinfo{margin-top:var(--stzh-space-small)}}.stzh-eventinfo__details.sc-stzh-eventinfo{color:inherit}.stzh-eventinfo__details-link-collapse.sc-stzh-eventinfo{display:none}.stzh-eventinfo__details-link[a11y-expanded].sc-stzh-eventinfo:not([a11y-expanded=false]) .stzh-eventinfo__details-link-collapse.sc-stzh-eventinfo{display:block}.stzh-eventinfo__details-link[a11y-expanded].sc-stzh-eventinfo:not([a11y-expanded=false]) .stzh-eventinfo__details-link-expand.sc-stzh-eventinfo{display:none}.stzh-eventinfo__month-list.sc-stzh-eventinfo,.stzh-eventinfo__event-list.sc-stzh-eventinfo{list-style:none;margin:0;padding:0}.stzh-eventinfo__month-list.sc-stzh-eventinfo{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);display:grid;column-gap:var(--stzh-space-small)}@media screen and (min-width: 900px){.stzh-eventinfo__month-list.sc-stzh-eventinfo{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}@media screen and (min-width: 600px){.stzh-eventinfo__month-list.sc-stzh-eventinfo{grid-template-columns:minmax(0, 1fr) auto}}@media screen and (min-width: 900px){.stzh-eventinfo__month-list.sc-stzh-eventinfo{column-gap:var(--stzh-space-xxlarge);grid-template-columns:minmax(6.25rem, auto) minmax(11.25rem, auto) minmax(0, 1fr) auto}}.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:not(:first-child) .stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:not(:first-child) .stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:not(:first-child) .stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:not(:first-child) .stzh-eventinfo__heading.sc-stzh-eventinfo{margin-top:var(--stzh-space-xxlarge)}}.stzh-eventinfo__month-list-item.sc-stzh-eventinfo{display:contents}.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-weekday.sc-stzh-eventinfo,.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-date.sc-stzh-eventinfo,.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-time.sc-stzh-eventinfo,.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-link.sc-stzh-eventinfo,.stzh-eventinfo__month-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-list-item.sc-stzh-eventinfo:last-child .stzh-eventinfo__event-datetime-wrapper.sc-stzh-eventinfo{margin-bottom:0px}.stzh-eventinfo__heading.sc-stzh-eventinfo{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-style:var(--stzh-font-style-title);font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-heading-line-height);letter-spacing:var(--stzh-font-curve---heading-letter-spacing);margin-bottom:var(--stzh-space-xxsmall);margin-top:0;color:var(--stzh-color-primary70)}@media screen and (min-width: 900px){.stzh-eventinfo__heading.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){.stzh-eventinfo__heading.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 600px){.stzh-eventinfo__heading.sc-stzh-eventinfo{grid-column:1/3}}@media screen and (min-width: 900px){.stzh-eventinfo__heading.sc-stzh-eventinfo{grid-column:1/5}}.stzh-eventinfo__event-list.sc-stzh-eventinfo{display:contents}.stzh-eventinfo__event-list-item.sc-stzh-eventinfo{display:contents}@media screen and (min-width: 900px){.stzh-eventinfo__event-weekday.sc-stzh-eventinfo,.stzh-eventinfo__event-date.sc-stzh-eventinfo,.stzh-eventinfo__event-time.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 1260px){.stzh-eventinfo__event-weekday.sc-stzh-eventinfo,.stzh-eventinfo__event-date.sc-stzh-eventinfo,.stzh-eventinfo__event-time.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-medium)}}.stzh-eventinfo__event-link.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 900px){.stzh-eventinfo__event-link.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 1260px){.stzh-eventinfo__event-link.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-medium)}}.stzh-eventinfo__event-datetime-wrapper.sc-stzh-eventinfo{display:grid}@media screen and (min-width: 600px) and (max-width: 899px){.stzh-eventinfo__event-datetime-wrapper.sc-stzh-eventinfo{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 900px){.stzh-eventinfo__event-datetime-wrapper.sc-stzh-eventinfo{display:contents}}.stzh-eventinfo__event-date-wrapper.sc-stzh-eventinfo{display:flex;flex-direction:column;column-gap:var(--stzh-space-xxlarge)}@media screen and (min-width: 900px){.stzh-eventinfo__event-date-wrapper.sc-stzh-eventinfo{display:contents}}@media screen and (min-width: 600px) and (max-width: 899px){.stzh-eventinfo__event-weekday.sc-stzh-eventinfo{min-width:5.625rem}}";const h=a;const o=class{constructor(t){e(this,t);this._items=[];this._itemsGroupedByMonth=[];this.init=()=>{const e=this.element.querySelectorAll('stzh-text[slot="location"], [slot="location"] stzh-text');const t=this.element.querySelectorAll('stzh-text[slot="additional-info"], [slot="additional-info"] stzh-text');e.forEach((e=>{i(e,{color:"inherit",curve:"none"})}));t.forEach((e=>{i(e,{color:"inherit",curve:"none"})}))};this.localization=undefined;this.monthHeadingLevel="4";this.start=undefined;this.end=undefined;this.calendarUrl=undefined;this.calendarLabel=undefined;this.itemsSortDirection="descending";this.items=undefined;this.dateAdapter=undefined}itemsWatcher(){if(!this.dateAdapter){return}const e=typeof this.items==="string"?JSON.parse(this.items):this.items;if(!e){return}const t=this.itemsSortDirection==="ascending";this._items=e.map((e=>Object.assign(Object.assign({},e),{start:e.start?new Date(e.start):undefined,end:e.end?new Date(e.end):undefined}))).sort(((e,n)=>{try{const s=e.start.getTime()-n.start.getTime();return t?s:-s}catch(e){return 1}}));const n=this._items.reduce(((e,n)=>{const s=(n.start.getMonth()+1).toString().padStart(2,"0");const i=`${n.start.getFullYear()}-${s}`;if(!e[i]){e[i]={name:this.localization.$globals.monthNames[n.start.getMonth()]+" "+n.start.getFullYear(),events:[]}}e[i].events.push(n);e[i].events.sort(((e,n)=>{const s=e.start.getTime()-n.start.getTime();return t?s:-s}));return e}),{});this._itemsGroupedByMonth=Object.values(n)}hasProperStartAndOrEndDate(e,t){return!(!!e&&e.getHours()===0&&!t)}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"eventinfo")}if(!this.dateAdapter){this.dateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formats,this.localization.$globals)}this.itemsWatcher()}connectedCallback(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})}disconnectedCallback(){if(this.observer){this.observer.disconnect()}}render(){const e={"stzh-eventinfo":true};const s=this.start&&new Date(this.start);const i=this.end&&new Date(this.end);const a=`h${this.monthHeadingLevel}`;return t(n,{key:"b6a671877e3a0765241fc438185e1a4d81cdf1a9"},t("div",{key:"646ac5bca744f9a988567126eba97ab821d0ef9d",class:e},t("div",{key:"2469a4616d61a6e56641c58888d2b1d790ea5ba9",class:"stzh-eventinfo__left"},t("div",{key:"27079753241fc56e3e84fe9600dc202128e8cd9c",class:"stzh-eventinfo__main-event-day-name"},this.localization.$globals.dayNamesShort[s.getDay()]),t("div",{key:"3da1f0962cf6be4f8720b3d1169951bccdd7b17d",class:"stzh-eventinfo__main-event-day"},s.getDate()<10&&"0",s.getDate()),t("div",{key:"5bc72243a4e4cc6cefadfe9c691d65a71b3301a2",class:"stzh-eventinfo__main-event-month"},this.localization.$globals.monthNamesShort[s.getMonth()])),t("div",{key:"9affa54750aeed4ea93f79141303554e9c8bc01f",class:"stzh-eventinfo__right"},t("div",{key:"f160d31a3db8d247506c4a35b44d9b243e0d99d4"},t("div",{key:"f6b811fd0d1b280fe7c12262414d482242f19c53",class:"stzh-eventinfo__head"},t("div",{key:"8ad8a2ff232091dcbc7824f38e0a041b5727beb1",class:"stzh-eventinfo__main-date"},t("span",{key:"d4785e12895a4715519ee678d31c1b84f08b8116"},this.localization.$globals.dayNames[s.getDay()]),t("span",{key:"17e16ce63a3b201751eb1a506f951de1fa0ab140"},this.dateAdapter.format(s,"date")),this.hasProperStartAndOrEndDate(s,i)&&t("span",{key:"c08388ef678b8e9f67f13c89306d6a9d83f5caef"},this.dateAdapter.formatSpan(s,i,"time"))),this.calendarUrl&&t("div",{key:"814371d8c70c8e8cb3831ae8db6549a97b658da3",class:"stzh-eventinfo__main-event-link"},t("stzh-link",{key:"12e95da3ae3aa84797a2f835daccc760c08aff89",href:this.calendarUrl,label:this.calendarLabel||this.localization.addToCalendar,size:"inherit"}))),t("div",{key:"4323dd0fde0b4f05c97248155860cdf485a27c79",class:"stzh-eventinfo__text"},t("div",{key:"42ebf2ec47e3599a83ff76f957f302cc0570c744",class:"stzh-eventinfo__location"},t("slot",{key:"c86896119537fe08d46b42ff7fee6cb6dffa37b4",name:"location"})),t("div",{key:"550c9240fde34aeb7f37d73638cb243704e7e74b",class:"stzh-eventinfo__additional-info"},t("slot",{key:"483eb47c1c654130eb44de7918b9349767d76225",name:"additional-info"})))),this._itemsGroupedByMonth.length>0&&t("div",{key:"bec5d63de4ca271de113be04dc04a6461582de6b",class:"stzh-eventinfo__details-wrapper"},t("stzh-details",{key:"8824b2c78fc0bc414677c09bcacd5900419ca2c7",class:"stzh-eventinfo__details"},t("stzh-link",{key:"3b78c0515f381a86398534315c6043222affc000",class:"stzh-eventinfo__details-link",icon:"calendar",size:"inherit"},t("span",{key:"cda6591cd586b2f55a46928693643571529b9fee",class:"stzh-eventinfo__details-link-expand"},this.localization.expandMoreDates),t("span",{key:"cf4c68bc80b237ab60d9e8e8b4ff1fc3a9a2352d",class:"stzh-eventinfo__details-link-collapse"},this.localization.collapseMoreDates)),t("ul",{key:"0ca5fdd9e6b358249ef8585f52f702a649fb824f",slot:"content",class:"stzh-eventinfo__month-list"},this._itemsGroupedByMonth.map((e=>t("li",{class:"stzh-eventinfo__month-list-item"},t(a,{class:"stzh-eventinfo__heading"},e.name),e.events.length>0&&t("ul",{class:"stzh-eventinfo__event-list"},e.events.map((e=>t("li",{class:"stzh-eventinfo__event-list-item"},t("span",{class:"stzh-eventinfo__event-datetime-wrapper"},t("span",{class:"stzh-eventinfo__event-date-wrapper"},t("span",{class:"stzh-eventinfo__event-weekday"},this.localization.$globals.dayNames[e.start.getDay()]),t("span",{class:"stzh-eventinfo__event-date"},this.dateAdapter.format(e.start,"date"))),t("span",{class:"stzh-eventinfo__event-time"},this.hasProperStartAndOrEndDate(e.start,e.end)&&this.dateAdapter.formatSpan(e.start,e.end,"time"))),t("span",{class:"stzh-eventinfo__event-link"},e.calendarUrl&&t("stzh-link",{href:e.calendarUrl,label:e.calendarLabel||this.localization.addToCalendar})))))))))))))))}get element(){return s(this)}static get watchers(){return{items:["itemsWatcher"],dateAdapter:["itemsWatcher"]}}};o.style=h;export{o as stzh_eventinfo};
|
|
2
|
+
//# sourceMappingURL=p-020bc473.entry.js.map
|