@oiz/stzh-components 4.3.0 → 4.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{app-globals-8ce8837c.js → app-globals-e1e74ca4.js} +2 -2
- package/dist/cjs/{app-globals-8ce8837c.js.map → app-globals-e1e74ca4.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-actions_6.cjs.entry.js +1 -1
- package/dist/cjs/stzh-actionset.cjs.entry.js +5 -5
- package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
- package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-appointments.cjs.entry.js +6 -6
- package/dist/cjs/stzh-audio.cjs.entry.js +3 -3
- package/dist/cjs/stzh-badge_3.cjs.entry.js +2 -2
- package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-navigation.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-searchresult.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-card-superteaser.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card.cjs.entry.js +9 -24
- package/dist/cjs/stzh-card.cjs.entry.js.map +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 +5 -6
- package/dist/cjs/stzh-contact.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-datatable.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-disturber.cjs.entry.js +2 -2
- package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
- package/dist/cjs/stzh-eventdata.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-geo-ref-data.cjs.entry.js +3 -3
- package/dist/cjs/stzh-ghettobox_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
- package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +2 -2
- package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +3 -3
- package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pi-menu.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
- package/dist/cjs/stzh-poicard.cjs.entry.js +2 -2
- package/dist/cjs/stzh-poilist.cjs.entry.js +2 -2
- package/dist/cjs/stzh-print_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-search.cjs.entry.js +2 -2
- package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
- package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
- package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
- package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js +8 -1
- package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js.map +1 -1
- package/dist/collection/assets/i18n/en.json +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/CMS/VBZ/stzh-vbz-connection-finder/stzh-vbz-connection-finder.js +26 -1
- package/dist/collection/components/CMS/VBZ/stzh-vbz-connection-finder/stzh-vbz-connection-finder.js.map +1 -1
- package/dist/collection/components/CMS/stzh-card-superteaser/stzh-card-superteaser.js +1 -1
- package/dist/collection/components/CMS/stzh-contact/stzh-contact.js +5 -6
- package/dist/collection/components/CMS/stzh-contact/stzh-contact.js.map +1 -1
- package/dist/collection/components/CMS/stzh-contact-cv/stzh-contact-cv.js +1 -1
- package/dist/collection/components/CMS/stzh-disturber/stzh-disturber.js +2 -2
- package/dist/collection/components/CMS/stzh-editor/stzh-editor.js +1 -1
- package/dist/collection/components/CMS/stzh-eventdata/stzh-eventdata.js +1 -1
- package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.js +1 -1
- package/dist/collection/components/CMS/stzh-feedreader/stzh-feedreader.js +1 -1
- package/dist/collection/components/CMS/stzh-feedreader-item/stzh-feedreader-item.js +1 -1
- package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js +3 -3
- package/dist/collection/components/CMS/stzh-ghettobox/stzh-ghettobox.js +1 -1
- package/dist/collection/components/CMS/stzh-homepage-search/stzh-homepage-search.js +1 -1
- package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js +2 -2
- package/dist/collection/components/CMS/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +3 -3
- package/dist/collection/components/CMS/stzh-page-skiplinks/stzh-page-skiplinks.js +1 -1
- package/dist/collection/components/CMS/stzh-pagebottom/stzh-pagebottom.js +1 -1
- package/dist/collection/components/CMS/stzh-pagecontent/stzh-pagecontent.js +1 -1
- package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.js +1 -1
- package/dist/collection/components/CMS/stzh-pagetitle-hero/stzh-pagetitle-hero.js +2 -2
- package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.js +1 -1
- package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.js +2 -2
- package/dist/collection/components/CMS/stzh-pi-menu/stzh-pi-menu.js +2 -2
- package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.js +1 -1
- package/dist/collection/components/CMS/stzh-pi-quote/stzh-pi-quote.js +1 -1
- package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js +1 -1
- package/dist/collection/components/CMS/stzh-poicard/stzh-poicard.js +2 -2
- package/dist/collection/components/CMS/stzh-poilist/stzh-poilist.js +2 -2
- package/dist/collection/components/CMS/stzh-print/stzh-print.js +1 -1
- package/dist/collection/components/CMS/stzh-search/stzh-search.js +2 -2
- package/dist/collection/components/CMS/stzh-sitemap/stzh-sitemap.js +1 -1
- package/dist/collection/components/CMS/stzh-socialmediastream/stzh-socialmediastream.js +1 -1
- package/dist/collection/components/CMS/stzh-socialmediastream-item/stzh-socialmediastream-item.js +1 -1
- package/dist/collection/components/CMS/stzh-textandimage/stzh-textandimage.js +1 -1
- package/dist/collection/components/CMS/stzh-twocolumns/stzh-twocolumns.js +1 -1
- package/dist/collection/components/stzh-accordion/stzh-accordion.js +1 -1
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
- package/dist/collection/components/stzh-actions/stzh-actions.js +1 -1
- package/dist/collection/components/stzh-actionset/stzh-actionset.js +5 -5
- package/dist/collection/components/stzh-amount/stzh-amount.js +1 -1
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
- package/dist/collection/components/stzh-app-nav/stzh-app-nav.js +1 -1
- package/dist/collection/components/stzh-appointments/stzh-appointments.js +6 -6
- package/dist/collection/components/stzh-audio/stzh-audio.js +3 -3
- package/dist/collection/components/stzh-badge/stzh-badge.js +1 -1
- package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.js +1 -1
- package/dist/collection/components/stzh-button/stzh-button.js +1 -1
- package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.js +1 -1
- package/dist/collection/components/stzh-card/stzh-card.e2e.js +1 -0
- package/dist/collection/components/stzh-card/stzh-card.e2e.js.map +1 -1
- package/dist/collection/components/stzh-card/stzh-card.js +11 -26
- package/dist/collection/components/stzh-card/stzh-card.js.map +1 -1
- package/dist/collection/components/stzh-card/stzh-card.stories.js +148 -12
- package/dist/collection/components/{CMS/stzh-card-navigation → stzh-card-navigation}/stzh-card-navigation.e2e.js +2 -2
- package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.e2e.js.map +1 -0
- package/dist/collection/components/{CMS/stzh-card-navigation → stzh-card-navigation}/stzh-card-navigation.js +3 -3
- package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js.map +1 -0
- package/dist/collection/components/{CMS/stzh-card-navigation → stzh-card-navigation}/stzh-card-navigation.stories.js +3 -3
- package/dist/collection/components/{CMS/stzh-card-searchresult → stzh-card-searchresult}/stzh-card-searchresult.e2e.js +2 -2
- package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.e2e.js.map +1 -0
- package/dist/collection/components/{CMS/stzh-card-searchresult → stzh-card-searchresult}/stzh-card-searchresult.js +7 -7
- package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js.map +1 -0
- package/dist/collection/components/{CMS/stzh-card-searchresult → stzh-card-searchresult}/stzh-card-searchresult.stories.js +3 -3
- package/dist/collection/components/stzh-datatable/stzh-datatable.js +1 -1
- package/dist/collection/components/stzh-datatable/stzh-datatable.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-02dde838.js → p-0315f0e6.js} +3 -3
- package/dist/components/{p-02dde838.js.map → p-0315f0e6.js.map} +1 -1
- package/dist/components/{p-022b1add.js → p-0bed6703.js} +3 -3
- package/dist/components/{p-022b1add.js.map → p-0bed6703.js.map} +1 -1
- package/dist/components/{p-75de2b52.js → p-12654708.js} +5 -5
- package/dist/components/{p-75de2b52.js.map → p-12654708.js.map} +1 -1
- package/dist/components/{p-6eb9fbaf.js → p-12c55d67.js} +3 -3
- package/dist/components/{p-6eb9fbaf.js.map → p-12c55d67.js.map} +1 -1
- package/dist/components/{p-60bfdfcf.js → p-1dc83d62.js} +2 -2
- package/dist/components/{p-60bfdfcf.js.map → p-1dc83d62.js.map} +1 -1
- package/dist/components/{p-78ff471a.js → p-21e55e49.js} +3 -3
- package/dist/components/{p-78ff471a.js.map → p-21e55e49.js.map} +1 -1
- package/dist/components/{p-61e8a4c8.js → p-26475e68.js} +2 -2
- package/dist/components/{p-61e8a4c8.js.map → p-26475e68.js.map} +1 -1
- package/dist/components/{p-2e58848d.js → p-318eb8ce.js} +7 -7
- package/dist/components/{p-2e58848d.js.map → p-318eb8ce.js.map} +1 -1
- package/dist/components/{p-bc35e5a1.js → p-3be733b1.js} +4 -4
- package/dist/components/{p-bc35e5a1.js.map → p-3be733b1.js.map} +1 -1
- package/dist/components/{p-fc1aafb5.js → p-3c92a168.js} +2 -2
- package/dist/components/{p-fc1aafb5.js.map → p-3c92a168.js.map} +1 -1
- package/dist/components/{p-ae438bdc.js → p-46b3c290.js} +3 -3
- package/dist/components/{p-ae438bdc.js.map → p-46b3c290.js.map} +1 -1
- package/dist/components/{p-7733b8ca.js → p-54e44cdb.js} +4 -4
- package/dist/components/{p-7733b8ca.js.map → p-54e44cdb.js.map} +1 -1
- package/dist/components/{p-ec047685.js → p-5d6829ef.js} +6 -6
- package/dist/components/{p-ec047685.js.map → p-5d6829ef.js.map} +1 -1
- package/dist/components/{p-ffec300d.js → p-5e30852c.js} +3 -3
- package/dist/components/{p-ffec300d.js.map → p-5e30852c.js.map} +1 -1
- package/dist/components/{p-fb02e9f7.js → p-652ae542.js} +2 -2
- package/dist/components/{p-fb02e9f7.js.map → p-652ae542.js.map} +1 -1
- package/dist/components/{p-3ec7da5f.js → p-65d498b6.js} +3 -3
- package/dist/components/{p-3ec7da5f.js.map → p-65d498b6.js.map} +1 -1
- package/dist/components/{p-b9b2eb1b.js → p-80a893df.js} +2 -2
- package/dist/components/{p-b9b2eb1b.js.map → p-80a893df.js.map} +1 -1
- package/dist/components/{p-fbdd0f8f.js → p-83a7ac2c.js} +3 -3
- package/dist/components/{p-fbdd0f8f.js.map → p-83a7ac2c.js.map} +1 -1
- package/dist/components/{p-f87105bb.js → p-8c662622.js} +2 -2
- package/dist/components/{p-f87105bb.js.map → p-8c662622.js.map} +1 -1
- package/dist/components/{p-2dc162f9.js → p-8c9e8d25.js} +5 -5
- package/dist/components/{p-2dc162f9.js.map → p-8c9e8d25.js.map} +1 -1
- package/dist/components/{p-b1d32805.js → p-9187b0ea.js} +3 -3
- package/dist/components/{p-b1d32805.js.map → p-9187b0ea.js.map} +1 -1
- package/dist/components/{p-8e4c1a5e.js → p-9da09a5b.js} +2 -2
- package/dist/components/{p-8e4c1a5e.js.map → p-9da09a5b.js.map} +1 -1
- package/dist/components/{p-f35400e1.js → p-a0c79a46.js} +2 -2
- package/dist/components/{p-f35400e1.js.map → p-a0c79a46.js.map} +1 -1
- package/dist/components/{p-6eaf5218.js → p-a81a3a4c.js} +3 -3
- package/dist/components/{p-6eaf5218.js.map → p-a81a3a4c.js.map} +1 -1
- package/dist/components/{p-2a972be2.js → p-ba5a005c.js} +4 -4
- package/dist/components/{p-2a972be2.js.map → p-ba5a005c.js.map} +1 -1
- package/dist/components/{p-907db6a9.js → p-bb4f4ffc.js} +5 -5
- package/dist/components/{p-907db6a9.js.map → p-bb4f4ffc.js.map} +1 -1
- package/dist/components/{p-55350e52.js → p-bd503085.js} +3 -3
- package/dist/components/{p-55350e52.js.map → p-bd503085.js.map} +1 -1
- package/dist/components/{p-0c2de460.js → p-c16c49ca.js} +4 -4
- package/dist/components/{p-0c2de460.js.map → p-c16c49ca.js.map} +1 -1
- package/dist/components/{p-07da844f.js → p-c3216aa7.js} +3 -3
- package/dist/components/{p-07da844f.js.map → p-c3216aa7.js.map} +1 -1
- package/dist/components/{p-4eb35d23.js → p-c6550ae3.js} +4 -4
- package/dist/components/{p-4eb35d23.js.map → p-c6550ae3.js.map} +1 -1
- package/dist/components/{p-8054dcb8.js → p-c8b4046a.js} +9 -9
- package/dist/components/{p-8054dcb8.js.map → p-c8b4046a.js.map} +1 -1
- package/dist/components/{p-273d413c.js → p-dbe86180.js} +14 -29
- package/dist/components/p-dbe86180.js.map +1 -0
- package/dist/components/{p-aa78661e.js → p-dd7410cb.js} +4 -4
- package/dist/components/{p-aa78661e.js.map → p-dd7410cb.js.map} +1 -1
- package/dist/components/{p-8b1537d5.js → p-f4ff43ee.js} +2 -2
- package/dist/components/{p-8b1537d5.js.map → p-f4ff43ee.js.map} +1 -1
- package/dist/components/{p-e6d206c1.js → p-fcde2fcb.js} +3 -3
- package/dist/components/{p-e6d206c1.js.map → p-fcde2fcb.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 +4 -4
- package/dist/components/stzh-app-nav.js +1 -1
- package/dist/components/stzh-appointments.js +12 -12
- package/dist/components/stzh-archivelist.js +4 -4
- package/dist/components/stzh-audio.js +3 -3
- package/dist/components/stzh-badge.js +1 -1
- package/dist/components/stzh-banner.js +2 -2
- 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-buttongroup.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-navigation.js.map +1 -1
- package/dist/components/stzh-card-searchresult.js +9 -9
- package/dist/components/stzh-card-searchresult.js.map +1 -1
- package/dist/components/stzh-card-superteaser.js +9 -9
- package/dist/components/stzh-card.js +1 -1
- package/dist/components/stzh-cardlist.js +1 -1
- 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 +1 -1
- package/dist/components/stzh-contact.js +7 -8
- package/dist/components/stzh-contact.js.map +1 -1
- 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 +9 -9
- package/dist/components/stzh-datatable.js.map +1 -1
- package/dist/components/stzh-datepicker.js +1 -1
- package/dist/components/stzh-daterange.js +2 -2
- package/dist/components/stzh-dialog.js +1 -1
- package/dist/components/stzh-disturber.js +4 -4
- package/dist/components/stzh-editor.js +3 -3
- package/dist/components/stzh-eventdata.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 +5 -5
- package/dist/components/stzh-footer.js +2 -2
- package/dist/components/stzh-gallery.js +2 -2
- 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-homepage-search.js +1 -1
- package/dist/components/stzh-homepage-service-highlights.js +4 -4
- 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 +13 -13
- package/dist/components/stzh-offline-indicator.js +4 -4
- package/dist/components/stzh-page-skiplinks.js +1 -1
- package/dist/components/stzh-pagebottom.js +5 -5
- package/dist/components/stzh-pagecontent.js +1 -1
- package/dist/components/stzh-pagetitle-hero.js +2 -2
- package/dist/components/stzh-pagetitle-home.js +1 -1
- package/dist/components/stzh-pagetitle.js +1 -1
- package/dist/components/stzh-pagination.js +1 -1
- package/dist/components/stzh-panorama.js +3 -3
- package/dist/components/stzh-pi-content-navigation.js +2 -2
- package/dist/components/stzh-pi-menu.js +2 -2
- package/dist/components/stzh-pi-pagetitle.js +1 -1
- package/dist/components/stzh-pi-quote.js +1 -1
- package/dist/components/stzh-pi-teaser.js +1 -1
- package/dist/components/stzh-pkzh-qr.js +7 -7
- package/dist/components/stzh-poicard.js +1 -1
- package/dist/components/stzh-poilist.js +10 -10
- package/dist/components/stzh-print.js +1 -1
- package/dist/components/stzh-readspeaker.js +2 -2
- package/dist/components/stzh-saptcha.js +3 -3
- package/dist/components/stzh-search.js +9 -9
- package/dist/components/stzh-share.js +1 -1
- package/dist/components/stzh-sitemap.js +5 -5
- package/dist/components/stzh-socialmediastream-item.js +1 -1
- package/dist/components/stzh-socialmediastream.js +2 -2
- package/dist/components/stzh-tag.js +1 -1
- package/dist/components/stzh-textandimage.js +1 -1
- package/dist/components/stzh-timeline-item.js +1 -1
- package/dist/components/stzh-toast.js +1 -1
- package/dist/components/stzh-toastbar.js +1 -1
- package/dist/components/stzh-twocolumns.js +1 -1
- package/dist/components/stzh-upload.js +7 -7
- package/dist/components/stzh-vbz-connection-finder.js +10 -2
- package/dist/components/stzh-vbz-connection-finder.js.map +1 -1
- package/dist/components/stzh-vbz-intro.js +2 -2
- package/dist/components/stzh-vbz-majorticker.js +3 -3
- package/dist/components/stzh-vbz-ticker.js +2 -2
- package/dist/components/stzh-youtube.js +3 -3
- package/dist/esm/{app-globals-c92f16c0.js → app-globals-a68db587.js} +2 -2
- package/dist/esm/{app-globals-c92f16c0.js.map → app-globals-a68db587.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-actions_6.entry.js +1 -1
- package/dist/esm/stzh-actionset.entry.js +5 -5
- package/dist/esm/stzh-amount.entry.js +1 -1
- package/dist/esm/stzh-anchornav.entry.js +1 -1
- package/dist/esm/stzh-app-nav.entry.js +1 -1
- package/dist/esm/stzh-appointments.entry.js +6 -6
- package/dist/esm/stzh-audio.entry.js +3 -3
- package/dist/esm/stzh-badge_3.entry.js +2 -2
- package/dist/esm/stzh-breadcrumb_2.entry.js +1 -1
- package/dist/esm/stzh-buttongroup.entry.js +1 -1
- package/dist/esm/stzh-card-navigation.entry.js +1 -1
- package/dist/esm/stzh-card-navigation.entry.js.map +1 -1
- package/dist/esm/stzh-card-searchresult.entry.js +1 -1
- package/dist/esm/stzh-card-searchresult.entry.js.map +1 -1
- package/dist/esm/stzh-card-superteaser.entry.js +1 -1
- package/dist/esm/stzh-card.entry.js +9 -24
- package/dist/esm/stzh-card.entry.js.map +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 +5 -6
- package/dist/esm/stzh-contact.entry.js.map +1 -1
- package/dist/esm/stzh-datatable.entry.js.map +1 -1
- package/dist/esm/stzh-disturber.entry.js +2 -2
- package/dist/esm/stzh-editor.entry.js +1 -1
- package/dist/esm/stzh-eventdata.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-geo-ref-data.entry.js +3 -3
- package/dist/esm/stzh-ghettobox_3.entry.js +1 -1
- package/dist/esm/stzh-homepage-search.entry.js +1 -1
- package/dist/esm/stzh-homepage-service-highlights.entry.js +2 -2
- package/dist/esm/stzh-microsite-teaserlist.entry.js +3 -3
- package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
- package/dist/esm/stzh-pagebottom.entry.js +1 -1
- package/dist/esm/stzh-pagecontent.entry.js +1 -1
- package/dist/esm/stzh-pagetitle-hero.entry.js +2 -2
- package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
- package/dist/esm/stzh-pagetitle.entry.js +1 -1
- package/dist/esm/stzh-pi-content-navigation.entry.js +2 -2
- package/dist/esm/stzh-pi-menu.entry.js +2 -2
- package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
- package/dist/esm/stzh-pi-quote.entry.js +1 -1
- package/dist/esm/stzh-pi-teaser.entry.js +1 -1
- package/dist/esm/stzh-poicard.entry.js +2 -2
- package/dist/esm/stzh-poilist.entry.js +2 -2
- package/dist/esm/stzh-print_2.entry.js +1 -1
- package/dist/esm/stzh-search.entry.js +2 -2
- package/dist/esm/stzh-sitemap.entry.js +1 -1
- package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
- package/dist/esm/stzh-socialmediastream.entry.js +1 -1
- package/dist/esm/stzh-textandimage.entry.js +1 -1
- package/dist/esm/stzh-twocolumns.entry.js +1 -1
- package/dist/esm/stzh-vbz-connection-finder.entry.js +8 -1
- package/dist/esm/stzh-vbz-connection-finder.entry.js.map +1 -1
- package/dist/stzh-components/assets/i18n/en.json +1 -1
- package/dist/stzh-components/{p-466ce2ed.entry.js → p-1a4b1e07.entry.js} +2 -2
- package/dist/stzh-components/{p-fc532b6d.entry.js → p-2abd5e52.entry.js} +2 -2
- package/dist/stzh-components/{p-dc677b81.js → p-30632dd5.js} +2 -2
- package/dist/stzh-components/{p-04ad66ce.entry.js → p-3099c1a4.entry.js} +2 -2
- package/dist/stzh-components/p-3356301f.entry.js +2 -0
- package/dist/stzh-components/{p-001a94ff.entry.js.map → p-3356301f.entry.js.map} +1 -1
- package/dist/stzh-components/{p-19e9cfcb.entry.js → p-33776d2d.entry.js} +2 -2
- package/dist/stzh-components/{p-03f81303.entry.js → p-34ae771d.entry.js} +2 -2
- package/dist/stzh-components/{p-712e88e4.entry.js → p-3ea25700.entry.js} +2 -2
- package/dist/stzh-components/{p-f0950d01.entry.js → p-44027d66.entry.js} +2 -2
- package/dist/stzh-components/{p-d230175b.entry.js → p-49385921.entry.js} +2 -2
- package/dist/stzh-components/{p-dd0da396.entry.js → p-496d3d37.entry.js} +2 -2
- package/dist/stzh-components/{p-89eb7d18.entry.js → p-4bb9dbd6.entry.js} +2 -2
- package/dist/stzh-components/{p-23ae4720.entry.js → p-5460b0ab.entry.js} +2 -2
- package/dist/stzh-components/{p-85fc1586.entry.js → p-57e17a51.entry.js} +2 -2
- package/dist/stzh-components/{p-89a10196.entry.js → p-5b1ce6b8.entry.js} +2 -2
- package/dist/stzh-components/{p-28d64550.entry.js → p-5c15d9a0.entry.js} +2 -2
- package/dist/stzh-components/{p-65ac1df7.entry.js → p-5cf0212b.entry.js} +2 -2
- package/dist/stzh-components/{p-10afcbfe.entry.js → p-5e098dcd.entry.js} +2 -2
- package/dist/stzh-components/{p-d8f7f464.entry.js → p-5ebdee72.entry.js} +2 -2
- package/dist/stzh-components/p-5ebdee72.entry.js.map +1 -0
- package/dist/stzh-components/{p-4eb4bbfb.entry.js → p-6d494b4b.entry.js} +2 -2
- package/dist/stzh-components/{p-18faf89f.entry.js → p-759bf70a.entry.js} +2 -2
- package/dist/stzh-components/{p-c79d559d.entry.js → p-78d27630.entry.js} +2 -2
- package/dist/stzh-components/{p-70602177.entry.js → p-7a5ae4fe.entry.js} +2 -2
- package/dist/stzh-components/{p-b1cf7284.entry.js → p-7ba43dfe.entry.js} +2 -2
- package/dist/stzh-components/{p-129e3895.entry.js → p-82a2a943.entry.js} +2 -2
- package/dist/stzh-components/{p-b20a4d1f.entry.js → p-8908ff04.entry.js} +2 -2
- package/dist/stzh-components/{p-a0864a0b.entry.js → p-895a053d.entry.js} +2 -2
- package/dist/stzh-components/{p-c73ce503.entry.js → p-8d2022f7.entry.js} +2 -2
- package/dist/stzh-components/{p-71c33a68.entry.js → p-90cd0105.entry.js} +2 -2
- package/dist/stzh-components/{p-5d4a0fd1.entry.js → p-91ff396d.entry.js} +2 -2
- package/dist/stzh-components/p-91ff396d.entry.js.map +1 -0
- package/dist/stzh-components/{p-daddb702.entry.js → p-98ebe720.entry.js} +2 -2
- package/dist/stzh-components/{p-e9cc01e3.entry.js → p-9aea8195.entry.js} +2 -2
- package/dist/stzh-components/{p-5c85487e.entry.js → p-9f47ab4a.entry.js} +2 -2
- package/dist/stzh-components/p-9f47ab4a.entry.js.map +1 -0
- package/dist/stzh-components/{p-2c2896a5.entry.js → p-a22d71d8.entry.js} +2 -2
- package/dist/stzh-components/{p-8493a7ab.entry.js → p-a250a770.entry.js} +2 -2
- package/dist/stzh-components/p-a250a770.entry.js.map +1 -0
- package/dist/stzh-components/{p-5970ced7.entry.js → p-a46ae0cd.entry.js} +2 -2
- package/dist/stzh-components/{p-2a0bf4cb.entry.js → p-a7d9f6f1.entry.js} +2 -2
- package/dist/stzh-components/{p-f5b5b83e.entry.js → p-ac2efdad.entry.js} +2 -2
- package/dist/stzh-components/{p-e81765c0.entry.js → p-af507306.entry.js} +2 -2
- package/dist/stzh-components/{p-3642d44b.entry.js → p-bd11c719.entry.js} +2 -2
- package/dist/stzh-components/p-bed50961.entry.js.map +1 -1
- package/dist/stzh-components/{p-838776fd.entry.js → p-c421e3a8.entry.js} +2 -2
- package/dist/stzh-components/{p-5083e7fb.entry.js → p-c7fb2e0b.entry.js} +2 -2
- package/dist/stzh-components/{p-aea128ba.entry.js → p-d274a5af.entry.js} +2 -2
- package/dist/stzh-components/{p-6dd3708b.entry.js → p-d745c0fc.entry.js} +2 -2
- package/dist/stzh-components/{p-95ed49c6.entry.js → p-e18672e6.entry.js} +2 -2
- package/dist/stzh-components/{p-0fd8221a.entry.js → p-e2546fd2.entry.js} +2 -2
- package/dist/stzh-components/{p-99b217dc.entry.js → p-e40e6c83.entry.js} +2 -2
- package/dist/stzh-components/{p-acec3687.entry.js → p-ee07bb5c.entry.js} +2 -2
- package/dist/stzh-components/{p-588eaf19.entry.js → p-fd1d7e46.entry.js} +2 -2
- package/dist/stzh-components/p-fd1d7e46.entry.js.map +1 -0
- package/dist/stzh-components/{p-44c77ad6.entry.js → p-fedaf68c.entry.js} +2 -2
- 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/VBZ/stzh-vbz-connection-finder/stzh-vbz-connection-finder.d.ts +3 -0
- package/dist/types/components/stzh-card/stzh-card.d.ts +2 -10
- package/dist/types/components/{CMS/stzh-card-navigation → stzh-card-navigation}/stzh-card-navigation.d.ts +2 -2
- package/dist/types/components/{CMS/stzh-card-searchresult → stzh-card-searchresult}/stzh-card-searchresult.d.ts +2 -2
- package/dist/types/components/stzh-datatable/stzh-datatable.d.ts +1 -1
- package/dist/types/components.d.ts +13 -5
- package/dist/vscode-data.json +14 -2
- package/package.json +1 -1
- package/dist/collection/components/CMS/stzh-card-navigation/stzh-card-navigation.e2e.js.map +0 -1
- package/dist/collection/components/CMS/stzh-card-navigation/stzh-card-navigation.js.map +0 -1
- package/dist/collection/components/CMS/stzh-card-searchresult/stzh-card-searchresult.e2e.js.map +0 -1
- package/dist/collection/components/CMS/stzh-card-searchresult/stzh-card-searchresult.js.map +0 -1
- package/dist/components/p-273d413c.js.map +0 -1
- package/dist/stzh-components/p-001a94ff.entry.js +0 -2
- package/dist/stzh-components/p-588eaf19.entry.js.map +0 -1
- package/dist/stzh-components/p-5c85487e.entry.js.map +0 -1
- package/dist/stzh-components/p-5d4a0fd1.entry.js.map +0 -1
- package/dist/stzh-components/p-8493a7ab.entry.js.map +0 -1
- package/dist/stzh-components/p-d8f7f464.entry.js.map +0 -1
- /package/dist/collection/components/{CMS/stzh-card-navigation → stzh-card-navigation}/stzh-card-navigation.css +0 -0
- /package/dist/collection/components/{CMS/stzh-card-searchresult → stzh-card-searchresult}/assets/placeholder-image.svg +0 -0
- /package/dist/collection/components/{CMS/stzh-card-searchresult → stzh-card-searchresult}/stzh-card-searchresult.css +0 -0
- /package/dist/stzh-components/{p-466ce2ed.entry.js.map → p-1a4b1e07.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fc532b6d.entry.js.map → p-2abd5e52.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-dc677b81.js.map → p-30632dd5.js.map} +0 -0
- /package/dist/stzh-components/{p-04ad66ce.entry.js.map → p-3099c1a4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-19e9cfcb.entry.js.map → p-33776d2d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-03f81303.entry.js.map → p-34ae771d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-712e88e4.entry.js.map → p-3ea25700.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f0950d01.entry.js.map → p-44027d66.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d230175b.entry.js.map → p-49385921.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-dd0da396.entry.js.map → p-496d3d37.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-89eb7d18.entry.js.map → p-4bb9dbd6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-23ae4720.entry.js.map → p-5460b0ab.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-85fc1586.entry.js.map → p-57e17a51.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-89a10196.entry.js.map → p-5b1ce6b8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-28d64550.entry.js.map → p-5c15d9a0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-65ac1df7.entry.js.map → p-5cf0212b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-10afcbfe.entry.js.map → p-5e098dcd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4eb4bbfb.entry.js.map → p-6d494b4b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-18faf89f.entry.js.map → p-759bf70a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c79d559d.entry.js.map → p-78d27630.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-70602177.entry.js.map → p-7a5ae4fe.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b1cf7284.entry.js.map → p-7ba43dfe.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-129e3895.entry.js.map → p-82a2a943.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b20a4d1f.entry.js.map → p-8908ff04.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a0864a0b.entry.js.map → p-895a053d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c73ce503.entry.js.map → p-8d2022f7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-71c33a68.entry.js.map → p-90cd0105.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-daddb702.entry.js.map → p-98ebe720.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e9cc01e3.entry.js.map → p-9aea8195.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2c2896a5.entry.js.map → p-a22d71d8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5970ced7.entry.js.map → p-a46ae0cd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2a0bf4cb.entry.js.map → p-a7d9f6f1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f5b5b83e.entry.js.map → p-ac2efdad.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e81765c0.entry.js.map → p-af507306.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3642d44b.entry.js.map → p-bd11c719.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-838776fd.entry.js.map → p-c421e3a8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5083e7fb.entry.js.map → p-c7fb2e0b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-aea128ba.entry.js.map → p-d274a5af.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6dd3708b.entry.js.map → p-d745c0fc.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-95ed49c6.entry.js.map → p-e18672e6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0fd8221a.entry.js.map → p-e2546fd2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-99b217dc.entry.js.map → p-e40e6c83.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-acec3687.entry.js.map → p-ee07bb5c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-44c77ad6.entry.js.map → p-fedaf68c.entry.js.map} +0 -0
|
@@ -11,15 +11,22 @@ const StzhVbzConnectionFinder = class {
|
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
this.zvvScript = "https://fpcdn.zvv.ch/cdn/v1/searchmask.min.js";
|
|
14
|
+
this.language = "en";
|
|
14
15
|
}
|
|
15
16
|
getIconPath(name) {
|
|
16
17
|
return `${window.stzhComponents.pathMedia}/icons/mono/${name}.svg`;
|
|
17
18
|
}
|
|
19
|
+
connectedCallback() {
|
|
20
|
+
const activeLanguage = window.stzhComponents.utils.getLocale(this.element);
|
|
21
|
+
if (activeLanguage === "de" || activeLanguage === "en") {
|
|
22
|
+
this.language = activeLanguage;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
18
25
|
render() {
|
|
19
26
|
const classes = {
|
|
20
27
|
"stzh-vbz-connection-finder": true,
|
|
21
28
|
};
|
|
22
|
-
return (index.h(index.Host, { key: '
|
|
29
|
+
return (index.h(index.Host, { key: '0001260ea3d1783d9678517d7ac0d51339cf7c6e' }, index.h("div", { key: '0bab124b33664c1367cd6b365b1accf99e66eb93', class: classes }, index.h("script", { key: 'b9b4585a00cc973ca10469b4c56aedaaf5d47f5d', src: this.zvvScript }), index.h("div", { key: '6b7c01befe23df79ae62a91c067f18fc11f5bf73', id: "zvv-searchmask", "data-draw-input-placeholder-outside": "true", "data-toggle-style-variant": "inside", "data-hide-refresh-button": "true", "data-background-color": "#ffffff", "data-accent-color": "#ffffff", "data-input-border-color": "#7C7C7C", "data-input-border-radius": "0px", "data-input-border-width": "2px", "data-input-placeholder-color": "#034C67", "data-input-text-color": "#000000", "data-button-color": "#FFFFFF", "data-button-background-color": "#057FAC", "data-button-hover-color": "#ffffff", "data-button-hover-background-color": "#034C67", "data-button-border-radius": "0px", "data-language": this.language, "data-font-family": "'HelveticaNeueLTW01_55Roman','Helvetica Neue','Helvetica,Arial',sans-serif;", "data-calendar-icon": this.getIconPath("calendar"), "data-info-icon": this.getIconPath("info-help") }))));
|
|
23
30
|
}
|
|
24
31
|
get element() { return index.getElement(this); }
|
|
25
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"stzh-vbz-connection-finder.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,0BAA0B,GAAG,kzEAAkzE,CAAC;AACt1E,sCAAe,0BAA0B;;MCS5B,uBAAuB;;;yBAEN,+CAA+C;;
|
|
1
|
+
{"file":"stzh-vbz-connection-finder.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,0BAA0B,GAAG,kzEAAkzE,CAAC;AACt1E,sCAAe,0BAA0B;;MCS5B,uBAAuB;;;yBAEN,+CAA+C;wBAG3C,IAAI;;IAI5B,WAAW,CAAC,IAAY;QAC9B,OAAO,GAAG,MAAM,CAAC,cAAc,CAAC,SAAS,eAAe,IAAI,MAAM,CAAC;KACpE;IAED,iBAAiB;QACf,MAAM,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC3E,IAAI,cAAc,KAAK,IAAI,IAAI,cAAc,KAAK,IAAI,EAAE;YACtD,IAAI,CAAC,QAAQ,GAAG,cAAc,CAAC;SAChC;KACF;IAED,MAAM;QACJ,MAAM,OAAO,GAAG;YACd,4BAA4B,EAAE,IAAI;SACnC,CAAC;QAEF,QACEA,QAACC,UAAI,uDACHD,kEAAK,KAAK,EAAE,OAAO,IACjBA,qEAAQ,GAAG,EAAE,IAAI,CAAC,SAAS,GAAW,EACtCA,kEACE,EAAE,EAAC,gBAAgB,yCACiB,MAAM,+BAChB,QAAQ,8BACT,MAAM,2BACT,SAAS,uBACb,SAAS,6BACH,SAAS,8BACR,KAAK,6BACN,KAAK,kCACA,SAAS,2BAChB,SAAS,uBACb,SAAS,kCACE,SAAS,6BACd,SAAS,wCACE,SAAS,+BAClB,KAAK,mBAChB,IAAI,CAAC,QAAQ,sBACX,6EAA6E,wBAC1E,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,oBAChC,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,GACxC,CACH,CACD,EACP;KACH;;;;;;;","names":["h","Host"],"sources":["src/components/CMS/VBZ/stzh-vbz-connection-finder/stzh-vbz-connection-finder.scss?tag=stzh-vbz-connection-finder&encapsulation=scoped","src/components/CMS/VBZ/stzh-vbz-connection-finder/stzh-vbz-connection-finder.tsx"],"sourcesContent":[":host {\n width: 100%;\n}\n\n.stzh-vbz-connection-finder {\n @include spaceCurve('padding-top', 'medium');\n @include spaceCurve('padding-bottom', 'medium');\n}\n\n\n","import { Component, Element, h, Host, Prop } from \"@stencil/core\";\n\n/**\n *\n */\n@Component({\n tag: \"stzh-vbz-connection-finder\",\n styleUrl: \"stzh-vbz-connection-finder.scss\",\n scoped: true,\n})\nexport class StzhVbzConnectionFinder {\n /** Searchmask Script of ZVV */\n @Prop() zvvScript: string = \"https://fpcdn.zvv.ch/cdn/v1/searchmask.min.js\";\n\n /** Language */\n @Prop() language: \"de\" | \"en\" = \"en\";\n\n @Element() element: HTMLStzhVbzConnectionFinderElement;\n\n private getIconPath(name: string) {\n return `${window.stzhComponents.pathMedia}/icons/mono/${name}.svg`;\n }\n\n connectedCallback() {\n const activeLanguage = window.stzhComponents.utils.getLocale(this.element);\n if (activeLanguage === \"de\" || activeLanguage === \"en\") {\n this.language = activeLanguage;\n }\n }\n\n render() {\n const classes = {\n \"stzh-vbz-connection-finder\": true,\n };\n\n return (\n <Host>\n <div class={classes}>\n <script src={this.zvvScript}></script>\n <div\n id=\"zvv-searchmask\"\n data-draw-input-placeholder-outside=\"true\"\n data-toggle-style-variant=\"inside\"\n data-hide-refresh-button=\"true\"\n data-background-color=\"#ffffff\"\n data-accent-color=\"#ffffff\"\n data-input-border-color=\"#7C7C7C\"\n data-input-border-radius=\"0px\"\n data-input-border-width=\"2px\"\n data-input-placeholder-color=\"#034C67\"\n data-input-text-color=\"#000000\"\n data-button-color=\"#FFFFFF\"\n data-button-background-color=\"#057FAC\"\n data-button-hover-color=\"#ffffff\"\n data-button-hover-background-color=\"#034C67\"\n data-button-border-radius=\"0px\"\n data-language={this.language}\n data-font-family=\"'HelveticaNeueLTW01_55Roman','Helvetica Neue','Helvetica,Arial',sans-serif;\"\n data-calendar-icon={this.getIconPath(\"calendar\")}\n data-info-icon={this.getIconPath(\"info-help\")}\n ></div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -11,8 +11,6 @@
|
|
|
11
11
|
"components/CMS/stzh-banner/stzh-banner.js",
|
|
12
12
|
"components/CMS/stzh-bathstatus-item/stzh-bathstatus-item.js",
|
|
13
13
|
"components/CMS/stzh-bathstatus-list/stzh-bathstatus-list.js",
|
|
14
|
-
"components/CMS/stzh-card-navigation/stzh-card-navigation.js",
|
|
15
|
-
"components/CMS/stzh-card-searchresult/stzh-card-searchresult.js",
|
|
16
14
|
"components/CMS/stzh-card-superteaser/stzh-card-superteaser.js",
|
|
17
15
|
"components/CMS/stzh-contact/stzh-contact.js",
|
|
18
16
|
"components/CMS/stzh-contact-cv/stzh-contact-cv.js",
|
|
@@ -62,6 +60,8 @@
|
|
|
62
60
|
"components/stzh-buttongroup/stzh-buttongroup.js",
|
|
63
61
|
"components/stzh-calendar/stzh-calendar.js",
|
|
64
62
|
"components/stzh-card/stzh-card.js",
|
|
63
|
+
"components/stzh-card-navigation/stzh-card-navigation.js",
|
|
64
|
+
"components/stzh-card-searchresult/stzh-card-searchresult.js",
|
|
65
65
|
"components/stzh-cardlist/stzh-cardlist.js",
|
|
66
66
|
"components/stzh-carousel/stzh-carousel.js",
|
|
67
67
|
"components/stzh-cell/stzh-cell.js",
|
package/dist/collection/components/CMS/VBZ/stzh-vbz-connection-finder/stzh-vbz-connection-finder.js
CHANGED
|
@@ -5,15 +5,22 @@ import { h, Host } from "@stencil/core";
|
|
|
5
5
|
export class StzhVbzConnectionFinder {
|
|
6
6
|
constructor() {
|
|
7
7
|
this.zvvScript = "https://fpcdn.zvv.ch/cdn/v1/searchmask.min.js";
|
|
8
|
+
this.language = "en";
|
|
8
9
|
}
|
|
9
10
|
getIconPath(name) {
|
|
10
11
|
return `${window.stzhComponents.pathMedia}/icons/mono/${name}.svg`;
|
|
11
12
|
}
|
|
13
|
+
connectedCallback() {
|
|
14
|
+
const activeLanguage = window.stzhComponents.utils.getLocale(this.element);
|
|
15
|
+
if (activeLanguage === "de" || activeLanguage === "en") {
|
|
16
|
+
this.language = activeLanguage;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
12
19
|
render() {
|
|
13
20
|
const classes = {
|
|
14
21
|
"stzh-vbz-connection-finder": true,
|
|
15
22
|
};
|
|
16
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '0001260ea3d1783d9678517d7ac0d51339cf7c6e' }, h("div", { key: '0bab124b33664c1367cd6b365b1accf99e66eb93', class: classes }, h("script", { key: 'b9b4585a00cc973ca10469b4c56aedaaf5d47f5d', src: this.zvvScript }), h("div", { key: '6b7c01befe23df79ae62a91c067f18fc11f5bf73', id: "zvv-searchmask", "data-draw-input-placeholder-outside": "true", "data-toggle-style-variant": "inside", "data-hide-refresh-button": "true", "data-background-color": "#ffffff", "data-accent-color": "#ffffff", "data-input-border-color": "#7C7C7C", "data-input-border-radius": "0px", "data-input-border-width": "2px", "data-input-placeholder-color": "#034C67", "data-input-text-color": "#000000", "data-button-color": "#FFFFFF", "data-button-background-color": "#057FAC", "data-button-hover-color": "#ffffff", "data-button-hover-background-color": "#034C67", "data-button-border-radius": "0px", "data-language": this.language, "data-font-family": "'HelveticaNeueLTW01_55Roman','Helvetica Neue','Helvetica,Arial',sans-serif;", "data-calendar-icon": this.getIconPath("calendar"), "data-info-icon": this.getIconPath("info-help") }))));
|
|
17
24
|
}
|
|
18
25
|
static get is() { return "stzh-vbz-connection-finder"; }
|
|
19
26
|
static get encapsulation() { return "scoped"; }
|
|
@@ -46,6 +53,24 @@ export class StzhVbzConnectionFinder {
|
|
|
46
53
|
"attribute": "zvv-script",
|
|
47
54
|
"reflect": false,
|
|
48
55
|
"defaultValue": "\"https://fpcdn.zvv.ch/cdn/v1/searchmask.min.js\""
|
|
56
|
+
},
|
|
57
|
+
"language": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"mutable": false,
|
|
60
|
+
"complexType": {
|
|
61
|
+
"original": "\"de\" | \"en\"",
|
|
62
|
+
"resolved": "\"de\" | \"en\"",
|
|
63
|
+
"references": {}
|
|
64
|
+
},
|
|
65
|
+
"required": false,
|
|
66
|
+
"optional": false,
|
|
67
|
+
"docs": {
|
|
68
|
+
"tags": [],
|
|
69
|
+
"text": "Language"
|
|
70
|
+
},
|
|
71
|
+
"attribute": "language",
|
|
72
|
+
"reflect": false,
|
|
73
|
+
"defaultValue": "\"en\""
|
|
49
74
|
}
|
|
50
75
|
};
|
|
51
76
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stzh-vbz-connection-finder.js","sourceRoot":"","sources":["../../../../../../src/components/CMS/VBZ/stzh-vbz-connection-finder/stzh-vbz-connection-finder.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAElE;;GAEG;AAMH,MAAM,OAAO,uBAAuB;;yBAEN,+CAA+C;;
|
|
1
|
+
{"version":3,"file":"stzh-vbz-connection-finder.js","sourceRoot":"","sources":["../../../../../../src/components/CMS/VBZ/stzh-vbz-connection-finder/stzh-vbz-connection-finder.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAElE;;GAEG;AAMH,MAAM,OAAO,uBAAuB;;yBAEN,+CAA+C;wBAG3C,IAAI;;IAI5B,WAAW,CAAC,IAAY;QAC9B,OAAO,GAAG,MAAM,CAAC,cAAc,CAAC,SAAS,eAAe,IAAI,MAAM,CAAC;IACrE,CAAC;IAED,iBAAiB;QACf,MAAM,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC3E,IAAI,cAAc,KAAK,IAAI,IAAI,cAAc,KAAK,IAAI,EAAE,CAAC;YACvD,IAAI,CAAC,QAAQ,GAAG,cAAc,CAAC;QACjC,CAAC;IACH,CAAC;IAED,MAAM;QACJ,MAAM,OAAO,GAAG;YACd,4BAA4B,EAAE,IAAI;SACnC,CAAC;QAEF,OAAO,CACL,EAAC,IAAI;YACH,4DAAK,KAAK,EAAE,OAAO;gBACjB,+DAAQ,GAAG,EAAE,IAAI,CAAC,SAAS,GAAW;gBACtC,4DACE,EAAE,EAAC,gBAAgB,yCACiB,MAAM,+BAChB,QAAQ,8BACT,MAAM,2BACT,SAAS,uBACb,SAAS,6BACH,SAAS,8BACR,KAAK,6BACN,KAAK,kCACA,SAAS,2BAChB,SAAS,uBACb,SAAS,kCACE,SAAS,6BACd,SAAS,wCACE,SAAS,+BAClB,KAAK,mBAChB,IAAI,CAAC,QAAQ,sBACX,6EAA6E,wBAC1E,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,oBAChC,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,GACxC,CACH,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Host, Prop } from \"@stencil/core\";\n\n/**\n *\n */\n@Component({\n tag: \"stzh-vbz-connection-finder\",\n styleUrl: \"stzh-vbz-connection-finder.scss\",\n scoped: true,\n})\nexport class StzhVbzConnectionFinder {\n /** Searchmask Script of ZVV */\n @Prop() zvvScript: string = \"https://fpcdn.zvv.ch/cdn/v1/searchmask.min.js\";\n\n /** Language */\n @Prop() language: \"de\" | \"en\" = \"en\";\n\n @Element() element: HTMLStzhVbzConnectionFinderElement;\n\n private getIconPath(name: string) {\n return `${window.stzhComponents.pathMedia}/icons/mono/${name}.svg`;\n }\n\n connectedCallback() {\n const activeLanguage = window.stzhComponents.utils.getLocale(this.element);\n if (activeLanguage === \"de\" || activeLanguage === \"en\") {\n this.language = activeLanguage;\n }\n }\n\n render() {\n const classes = {\n \"stzh-vbz-connection-finder\": true,\n };\n\n return (\n <Host>\n <div class={classes}>\n <script src={this.zvvScript}></script>\n <div\n id=\"zvv-searchmask\"\n data-draw-input-placeholder-outside=\"true\"\n data-toggle-style-variant=\"inside\"\n data-hide-refresh-button=\"true\"\n data-background-color=\"#ffffff\"\n data-accent-color=\"#ffffff\"\n data-input-border-color=\"#7C7C7C\"\n data-input-border-radius=\"0px\"\n data-input-border-width=\"2px\"\n data-input-placeholder-color=\"#034C67\"\n data-input-text-color=\"#000000\"\n data-button-color=\"#FFFFFF\"\n data-button-background-color=\"#057FAC\"\n data-button-hover-color=\"#ffffff\"\n data-button-hover-background-color=\"#034C67\"\n data-button-border-radius=\"0px\"\n data-language={this.language}\n data-font-family=\"'HelveticaNeueLTW01_55Roman','Helvetica Neue','Helvetica,Arial',sans-serif;\"\n data-calendar-icon={this.getIconPath(\"calendar\")}\n data-info-icon={this.getIconPath(\"info-help\")}\n ></div>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -126,7 +126,7 @@ export class StzhCardSuperteaser {
|
|
|
126
126
|
};
|
|
127
127
|
const Heading = `h${this.headingLevel}`;
|
|
128
128
|
const HeadingLink = this.href ? 'a' : 'div';
|
|
129
|
-
return (h(Host, { key: '
|
|
129
|
+
return (h(Host, { key: '4a755207f1eb529c29bbcb293f830351bf85dd0b', "has-image": hasImage }, h("article", { key: 'f7e85d2a50410333d200b620e22f5836962ba13e', class: classes, "aria-label": this.heading, role: "listitem" }, this.tag && h("stzh-tag", { key: '9d84bd2e1c52973e98506c1d8cd8772aa3517e19', class: "stzh-card-superteaser__tag", label: this.tag, nonInteractive: true }), h("div", { key: 'c20f09e9cb5f654f13f259582950353d2f7f3e7f', class: "stzh-card-superteaser__heading-wrapper" }, this.breadcrumbItems && (h("stzh-breadcrumb", { key: 'a18da51bab5547792821234e82d3963696ae56cf', class: "stzh-card-superteaser__breadcrumb", items: this.breadcrumbItems, variant: "teaser" })), this.dateline && h("div", { key: 'cabeb6345a5c5f1384aa44267a4aed9fe3875e38', class: "stzh-card-superteaser__dateline" }, this.dateline), this.topic && h("div", { key: '0ddc07cc825450fd328f712ac18642ddf2ac5e76', class: "stzh-card-superteaser__topic" }, this.topic), h(Heading, { key: 'd3b95485099bf097fb612260f38a0b1f56e69a60', class: `stzh-card-superteaser__heading ${hasSlot(this.element, 'heading') ? 'stzh-card-superteaser__heading--slotted' : ''}` }, h(HeadingLink, { key: '89b8fdfb5dc84a1c6d14240355d723b9b8cbf010', ref: el => (this.headingLinkElement = el), class: "stzh-card-superteaser__heading-link", href: this.href, target: this.target, download: this.download, onClick: this.handleCardClick }, this.heading ? (h("div", { class: "stzh-card-superteaser__heading-link-text", ref: el => (this.headingTextElement = el), innerHTML: this.heading })) : (h("div", { class: "stzh-card-superteaser__heading-link-text", ref: el => (this.headingTextElement = el) }, h("slot", { name: "heading" })))))), h("div", { key: '6dda86a14003e7025f6f2b996e975b7bddd20b38', class: "stzh-card-superteaser__description-wrapper" }, (eventDateStart || this.eventLocation) && (h("div", { key: '9aaa7ef623dc0ce9eb7dca07941baf36721d824b', class: "stzh-card-superteaser__event-infos" }, eventDateStart && (h("div", { key: 'a9d383f55a7b0fdb2bc68e3f702c9bb7f89fe31d', class: "stzh-card-superteaser__event-date" }, h("span", { key: 'be021c66b64eff2127074909b4fa83f349740597' }, this.dateAdapter.format(eventDateStart, 'dateLong')), this.hasProperStartAndOrEndDate(eventDateStart, eventDateEnd) && (h("span", { key: 'f865eef810accebb8a8b26144c9ca2a33715d45d' }, !this.isOnHomepage && h("span", { key: '9880c25baf82442fbacb19352f28904dbec09c16' }, ",\u00A0"), this.dateAdapter.formatSpan(eventDateStart, eventDateEnd, 'time'))))), this.eventLocation && h("div", { key: 'c89de6c38da582da23179adbc0428483c7e5c239', class: "stzh-card-superteaser__event-location" }, this.eventLocation))), h("div", { key: 'a5225e44a5384de5b1b5e0ce30b5bac648c8dcb9', class: `stzh-card-superteaser__description ${hasSlot(this.element, 'heading') ? 'stzh-card-superteaser__description--slotted' : ''}` }, this.description ? this.description : h("slot", { name: "description" }))), h("div", { key: 'ea9df0616e204643a1aee4891e3e97eec51c2a49', class: "stzh-card-superteaser__image" }, eventDateStart && (h("div", { key: '8a2f0eec8f4009bb8c8bcabc582110ec8a249e5b', class: "stzh-card-superteaser__event-date-teaser" }, h("div", { key: '8b9a2cea1dd19134c28105382f75417aae0472b4', class: "stzh-card-superteaser__event-date-teaser-day-name" }, this.localization.$globals.dayNamesShort[eventDateStart.getDay()]), h("div", { key: '5ee0649ccd3750ec9a870a7e920e1fd69a0f988a', class: "stzh-card-superteaser__event-date-teaser-day" }, eventDateStart.getDate() < 10 && '0', eventDateStart.getDate()), h("div", { key: '7a39a5e27a622e6b782e389541e9cd2c94259772', class: "stzh-card-superteaser__event-date-teaser-month" }, this.localization.$globals.monthNamesShort[eventDateStart.getMonth()]))), this.service && h("div", { key: 'c7e266a0aca96414ed84d95636d28769fc0ad9af', class: "stzh-card-superteaser__service" }, this.service), h("slot", { key: '7c7881dee9ceabc452cfa1605cf184fdb8bf0bfa', name: "image" }), this.placeholderImageEnabled && !hasImageSlot && (h("stzh-ratio", { key: 'b0cfca0dc30972e63531e6c90fd57792b0749448', ratio: "2:1" }, h("div", { key: '0dbd0798db3ac63f2eabbc569032468147ec9bf3', class: "stzh-card-superteaser__image-placeholder", innerHTML: PlaceholderImage })))), (this._meta.length > 0 || this.datalistItems || !!this.downloadHeading || this._downloadMeta.length > 0) && (h("div", { key: '1316eb65043cf43566d30bc51cf8640294ef70f6', class: "stzh-card-superteaser__meta-wrapper" }, this.datalistItems && (h("stzh-datalist", { key: '89b8e1afdcf36fe36bbee5487162ea253975312c', class: "stzh-card-searchresult__datalist", items: this.datalistItems })), this._meta.length > 0 && (h("div", { key: 'c95f985b9f1b8962e89c34d1b5e4811818d3528f', class: "stzh-card-superteaser__meta" }, h("div", { key: '6dd18341abd87c8e35df1435d8940c6c6db397e1', class: "stzh-card-superteaser__meta-list" }, this._meta.map(meta => (h(Fragment, null, h("div", { class: "stzh-card-superteaser__meta-list-item" }, meta))))))), (!!this.downloadHeading || this._downloadMeta.length > 0) && (h("div", { key: '6da754acec74375d3cc32a646daa86160bdfbb29', class: "stzh-card-superteaser__download" }, h("div", { key: 'c4c72e13f888507d9479a5efe3ecb917d8f2e5cb', class: "stzh-card-superteaser__download-data" }, this.downloadHeading && (h("div", { key: 'c7ed18eae260c2191c3c5759d2568542f94d9e85', class: "stzh-card-superteaser__download-heading" }, this.downloadHeading)), this._downloadMeta.length > 0 && (h("div", { key: 'b9a0f3cb751af92d249654ed17c3f0d30a994643', class: "stzh-card-superteaser__download-meta-list" }, this._downloadMeta.map(meta => (h(Fragment, null, h("div", { class: "stzh-card-superteaser__download-meta-list-item" }, meta))))))), h("div", { key: '5a63eef74476703e37ca5eee61f6958b2c955501', class: "stzh-card-superteaser__download-button" }, h("stzh-icon", { key: '3d740d96e78a6f0ab392a4cf6b38ba66f4868c70', class: "stzh-card-superteaser__download-icon", name: "download" })))))))));
|
|
130
130
|
}
|
|
131
131
|
static get is() { return "stzh-card-superteaser"; }
|
|
132
132
|
static get encapsulation() { return "scoped"; }
|
|
@@ -128,14 +128,13 @@ export class StzhContact {
|
|
|
128
128
|
const AvailabilityTitleElement = `h${this.availabilityTitleLevel}`;
|
|
129
129
|
const isPerson = this.type === 'Person';
|
|
130
130
|
const isOrganization = this.type === 'Organization';
|
|
131
|
-
return (h(Host, { key: '
|
|
131
|
+
return (h(Host, { key: '93d4945533708c5f54155ec09d869697c5dfbb9d', "has-availability": !!this.availability ? 'true' : 'false' }, h("div", { key: '21fbb484c0fbd69c73b6139f7259e0ecbde636b5', class: classes, itemscope: true, itemtype: `http://schema.org/${this.type}` }, h("div", { key: 'df9824b44ba53745df9e21348dd1954bf67c71b7', class: "stzh-contact__main-heading", itemprop: (isOrganization && !this.heading) ||
|
|
132
132
|
(isPerson && !this.name)
|
|
133
133
|
? 'name'
|
|
134
|
-
: null }, h("div", { key: '
|
|
135
|
-
? h("stzh-heading", { level: this.mainHeadingLevel
|
|
136
|
-
: h("slot", { name: "main-heading" })), h("div", { key: '
|
|
137
|
-
(h("div", { key: '
|
|
138
|
-
h("div", { key: 'e871e95220c2561327b01d9ca9c2a934315988b8', class: "stzh-contact__image-wrapper" }, h("div", { key: 'dfe4ed39beeff76c1141968f977129fe28f9ca76', class: "stzh-contact__image" }, h("slot", { key: '6ff4ad3afb9b72c31f13a7bbbe7db2f23485beb3', name: "image" })))), h("div", { key: '291ab81adec9944d09c6c0de0b591f33caf49224', class: "stzh-contact__responsibility" }, this.responsibilityTitle && (h(HeadingLevel, { key: '8ef29b08b5e4f2cd328363a4c9428cebe4e603b6', class: "stzh-contact__heading", itemprop: this.responsibilityTitle, innerHTML: this.responsibilityTitle })), this.responsibility && (h("stzh-text", { key: '4bc9e6c6e7de53dc01b3504a324c5ac433d34b30', class: "stzh-contact__responsibility-text" }, this.responsibility))), h("div", { key: 'af235727b2c031b0e3d8dc7dd7720e936517e81a', class: "stzh-contact__additional" }, h("slot", { key: '7ffb069fc22db12de0e04054dd8cf58534b86eb4' })), h("div", { key: 'aff858962b2ce4463fc9959a57c9d7af1622dc55', class: "stzh-contact__info" }, this.contactTitle && (h(AvailabilityTitleElement, { key: 'c394aefa71aff5d7d62004291d98922a4e7df53a', class: "stzh-contact__availability-title" }, this.contactTitle)), h("div", { key: '426337259b75b06a82c5198a1c9543a3ad71427c', class: "stzh-contact__address", itemprop: "address", itemscope: true, itemtype: "http://schema.org/PostalAddress", innerHTML: this.address }, !this.address && (h(Fragment, { key: '17268dc31944cdd90d2754e437e1d60c09bdf3ec' }, this._street.length > 0 && (h("div", { key: '5e6270964c6964a0b6c2008a738efee28ac69b1a', class: "stzh-contact__street", itemprop: "streetAddress" }, this._street.map((street) => (h(Fragment, null, street, h("br", null)))), this._streetInfo.length > 0 && (h(Fragment, { key: 'd2045a6ef5657a783d6518aa5305ea7f716cda4c' }, h("br", { key: '7fae58b05722abcbdc71db94b83e96a217c444aa' }), ' ', this._streetInfo.map((streetInfo) => (h(Fragment, null, streetInfo, h("br", null)))))))), this.postalCode && (h("span", { key: '60b2b7bd58dcb5744b56b04b16e8fae352f5bc46', class: "stzh-contact__postal-code", itemprop: "postalCode" }, this.postalCode, "\u00A0")), this.location && (h("span", { key: '87629752284a1cff677d5b6d023ecb143ff4b668', class: "stzh-contact__locality", itemprop: "addressLocality" }, this.location)), h("slot", { key: 'b9b87cc58667da786ab3c4dc353fec4da5e06699', name: "address" })))), this._numbers.length > 0 && (h("div", { key: '23b08eddaac0ee37575966710cd069991a4c836a', class: "stzh-contact__numbers" }, this._numbers.map((number) => (h("div", { class: "stzh-contact__number" }, h("span", null, number.label, "\u00A0"), h("stzh-link", { size: "inherit", height: "auto", class: "stzh-contact__number-link", href: `${number.type}:${formatTel(number.number)}`, analyticsId: number.analyticsId || `${number.label} ${number.number}`, itemprop: number.type === 'fax' ? 'faxNumber' : 'telephone' }, number.number)))))), this._emails.length > 0 && (h("div", { key: '44059220e4cc3c0624edb1581928b8f1bced2861', class: "stzh-contact__emails" }, this._emails.map((email) => (h("div", { class: "stzh-contact__email" }, h("span", null, email.label, "\u00A0"), email.href ? (h("stzh-link", { size: "inherit", height: "auto", class: "stzh-container__email-link", href: `mailto:${email.href}`, analyticsId: email.analyticsId || `${email.label} ${email.text}`, itemprop: "email" }, email.text)) : (h("span", { class: "stzh-container__email-link", itemprop: "email" }, email.text))))))), h("div", { key: 'cd56eeaa0fd06b56f359a542eb2ec2dc2169dc3c', class: "stzh-contact__pobox", innerHTML: this.pobox }, !this.pobox && (h(Fragment, { key: '7aeff13d49a47ae5af8852c28f85cfadba07b769' }, this.poboxHeading && (h("div", { key: '11c88ecbf1dd8797019f8aa36e79e306ad7caffd', class: "stzh-contact__pobox-heading" }, this.poboxHeading)), this.poboxTitle && (h("div", { key: '0c001a205f0b9c5aac4586821075bdd4e13a17e0', class: "stzh-contact__pobox-title" }, this.poboxTitle)), this.poboxPostalCode && (h("span", { key: 'dc4871fad9ca21139aac00c278d4ffb5f7c6f384', class: "stzh-contact__pobox-postal-code" }, this.poboxPostalCode, "\u00A0")), this.poboxLocation && (h("span", { key: 'c3aeb4691276de4d14db7472cf24e62f22e0d1a2', class: "stzh-contact__pobox-locality" }, this.poboxLocation)), h("slot", { key: '6567429810cd01d6373a1d2b933566b7cd77b37d', name: "pobox" })))), h("div", { key: '1e4f6714a7af441aa41126537268cafe926b6012', class: "stzh-contact__additional-information", innerHTML: this.additionalInformation })), this.availability && (h("div", { key: 'fa36566c87980d7d759157959694e395fee2f54e', class: "stzh-contact__availability" }, this.availabilityTitle && (h(AvailabilityTitleElement, { key: 'b4232d73295a0a61225a55f081237b3fa320e4dd', class: "stzh-contact__availability-title" }, this.availabilityTitle)), this._availability.length > 0 && (h("ul", { key: '621ed0fae705ba1dbc820dab1716b0d4bcad636b', class: "stzh-contact__availability-list" }, this._availability.map((item) => (h("li", { class: "stzh-contact__availability-list-item" }, h("div", { class: "stzh-contact__availability-weekday" }, item.weekday), item.hours.length > 0 && (h("div", { class: "stzh-contact__availability-hours" }, item.hours.map((hour, index) => (h(Fragment, null, h("div", { class: "stzh-contact__availability-hour" }, hour), index < item.hours.length - 1 && (h("div", { class: "stzh-contact__availability-hours-separator" })))))))))))))))));
|
|
134
|
+
: null }, h("div", { key: 'a0a9e0d01078091fe6bfe1925f199f2a78a7ebf8', class: "stzh-contact__main-heading-section" }, this.mainHeading
|
|
135
|
+
? h("stzh-heading", { level: this.mainHeadingLevel, htmlContent: this.mainHeading })
|
|
136
|
+
: h("slot", { name: "main-heading" })), h("div", { key: '26d6ad6756f8129d7d4e45741db89b25592b609e', class: isPerson && "stzh-contact__main-heading-text" }, this.personRole && isPerson && (h("stzh-heading", { key: '049ba30d9ac80f4db06aa3f6364b58c5a9e95923', curve: 'h3', level: "3" }, h("span", { key: '079c690b01c708e988d0a75e85563d48fbb79309', class: "stzh-contact__role" }, this.personRole))), (isPerson && this.name || isOrganization && this.heading) && (h("div", { key: '3e12f29a5e60fe99bc44d398f13507d9be71b856', class: "stzh-contact__main-heading-type" }, this.name && isPerson && (h("stzh-heading", { key: '473db1cf026895d46852e9094bb7d4768f8eb7f8', level: '3', curve: 'h3', htmlContent: this.name })), this.heading && isOrganization && (h("stzh-heading", { key: 'bbb9b4938f5815add217db20195958bd4be07108', level: this.headingLevel, htmlContent: this.heading }))))), isPerson &&
|
|
137
|
+
h("div", { key: 'f9effa7cdd17d256281d898bad5194e157f6fa8e', class: "stzh-contact__image-wrapper" }, h("div", { key: '1e68373b7d0e16982ba3baf8f66ffd401c7e48c4', class: "stzh-contact__image" }, h("slot", { key: '83c5431b52277c0506fe95562c91459c6f17b576', name: "image" })))), h("div", { key: '642b9cb1ec65d41b2d107bb1f387329a3faa1cf0', class: "stzh-contact__responsibility" }, this.responsibilityTitle && (h(HeadingLevel, { key: '2e1b6f5588b65b3fa056f7e17663d81e3b9f32d1', class: "stzh-contact__heading", itemprop: this.responsibilityTitle, innerHTML: this.responsibilityTitle })), this.responsibility && (h("stzh-text", { key: 'ed48acd6a159fb2cb690c4079cec3d84fbd00497', class: "stzh-contact__responsibility-text" }, this.responsibility))), h("div", { key: '43a7446f969151c3e21d90e3f600028db8c05e16', class: "stzh-contact__additional" }, h("slot", { key: '1a150cc4eed26b87a2ca08d4408f8caed124bcc9' })), h("div", { key: 'cc919ad3fe2e89466c74186f3cf0f8148063b543', class: "stzh-contact__info" }, this.contactTitle && (h(AvailabilityTitleElement, { key: 'efd9578deb0ad609d62a0ef07561101af4557877', class: "stzh-contact__availability-title" }, this.contactTitle)), h("div", { key: 'cc78788563933b1d5859987c15bd89848ca68d5c', class: "stzh-contact__address", itemprop: "address", itemscope: true, itemtype: "http://schema.org/PostalAddress", innerHTML: this.address }, !this.address && (h(Fragment, { key: '2002678bcea2922f5620815f178d8aa723c3aba4' }, this._street.length > 0 && (h("div", { key: '06a3a190526dab590d730bf6b5fb050b2d7fb9a0', class: "stzh-contact__street", itemprop: "streetAddress" }, this._street.map((street) => (h(Fragment, null, street, h("br", null)))), this._streetInfo.length > 0 && (h(Fragment, { key: 'f133c4af6da56efc2de25a22fc8f33962c0897dc' }, h("br", { key: 'a1d46b45f61021828848d53731518bfeef2355df' }), ' ', this._streetInfo.map((streetInfo) => (h(Fragment, null, streetInfo, h("br", null)))))))), this.postalCode && (h("span", { key: '2806f448f9417793e4d5520ce05b80484552709b', class: "stzh-contact__postal-code", itemprop: "postalCode" }, this.postalCode, "\u00A0")), this.location && (h("span", { key: '99593cb7744ac09fd867027812fb6d0c0cc80aad', class: "stzh-contact__locality", itemprop: "addressLocality" }, this.location)), h("slot", { key: '65ae05ec65680f1db093e4d960d5ec16ed44af73', name: "address" })))), this._numbers.length > 0 && (h("div", { key: 'edf3676c5dfae6767c826eaf48d1eb3e33fd7a5d', class: "stzh-contact__numbers" }, this._numbers.map((number) => (h("div", { class: "stzh-contact__number" }, h("span", null, number.label, "\u00A0"), h("stzh-link", { size: "inherit", height: "auto", class: "stzh-contact__number-link", href: `${number.type}:${formatTel(number.number)}`, analyticsId: number.analyticsId || `${number.label} ${number.number}`, itemprop: number.type === 'fax' ? 'faxNumber' : 'telephone' }, number.number)))))), this._emails.length > 0 && (h("div", { key: 'ce89c2b9a98dc95cbcee2f84edc11d04eb7b8609', class: "stzh-contact__emails" }, this._emails.map((email) => (h("div", { class: "stzh-contact__email" }, h("span", null, email.label, "\u00A0"), email.href ? (h("stzh-link", { size: "inherit", height: "auto", class: "stzh-container__email-link", href: `mailto:${email.href}`, analyticsId: email.analyticsId || `${email.label} ${email.text}`, itemprop: "email" }, email.text)) : (h("span", { class: "stzh-container__email-link", itemprop: "email" }, email.text))))))), h("div", { key: '4b561bd1ed2b46f95a8f7b95432fe95e1390dddd', class: "stzh-contact__pobox", innerHTML: this.pobox }, !this.pobox && (h(Fragment, { key: '60fa5340056627cb308228c8b58376673c1524d9' }, this.poboxHeading && (h("div", { key: 'cc2e3fd70029606c4e96a8f59051c5d5ca56bb3a', class: "stzh-contact__pobox-heading" }, this.poboxHeading)), this.poboxTitle && (h("div", { key: 'ea19b8d89b032c88f1fb8f4981c58e1499c29189', class: "stzh-contact__pobox-title" }, this.poboxTitle)), this.poboxPostalCode && (h("span", { key: 'f77806ea195d5480d13cdf11289561bc29e23c44', class: "stzh-contact__pobox-postal-code" }, this.poboxPostalCode, "\u00A0")), this.poboxLocation && (h("span", { key: 'c224395b559279075a38b1c36c87655c7887f0b8', class: "stzh-contact__pobox-locality" }, this.poboxLocation)), h("slot", { key: '01b76f256b385765d1db26103f87f3b932cc9bc3', name: "pobox" })))), h("div", { key: 'af3b869df99b64e45751386e81a0d43c7be6c73f', class: "stzh-contact__additional-information", innerHTML: this.additionalInformation })), this.availability && (h("div", { key: '7df16ac63cfe7a03d068a80a04eab0072d068319', class: "stzh-contact__availability" }, this.availabilityTitle && (h(AvailabilityTitleElement, { key: '368dc0f38f8ffa5d4172d512b87a1e603c1d7dba', class: "stzh-contact__availability-title" }, this.availabilityTitle)), this._availability.length > 0 && (h("ul", { key: '5b7bded566fc0226ad8ef3e10d2b3b4d1c09c5c9', class: "stzh-contact__availability-list" }, this._availability.map((item) => (h("li", { class: "stzh-contact__availability-list-item" }, h("div", { class: "stzh-contact__availability-weekday" }, item.weekday), item.hours.length > 0 && (h("div", { class: "stzh-contact__availability-hours" }, item.hours.map((hour, index) => (h(Fragment, null, h("div", { class: "stzh-contact__availability-hour" }, hour), index < item.hours.length - 1 && (h("div", { class: "stzh-contact__availability-hours-separator" })))))))))))))))));
|
|
139
138
|
}
|
|
140
139
|
static get is() { return "stzh-contact"; }
|
|
141
140
|
static get encapsulation() { return "scoped"; }
|
|
@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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Element,\n Fragment,\n h,\n Host,\n Prop,\n Watch,\n} from '@stencil/core'\n\nimport {\n ContactEmail,\n ContactNumber,\n StzhContactAvailabilityItem,\n} from '../../../index'\n\nimport { hasSlot } from '../../../utils/utils'\n\nfunction formatTel(tel: string) {\n return tel.replace(/\\s/g, '')\n}\n\n/**\n * @slot main-heading - slot for main heading\n * @slot image - slot for image\n * @slot address - slot for address (alternative for `address` property or separate properties `street`, `streetInfo`, `postalCode` & `location`)\n * @slot pobox - slot for pobox (alternative for `pobox` property or separate properties `poboxHeading`, `poboxTitle`, `poboxPostalCode` & `poboxLocation`)\n * @slot slot for additional (e.g. accordion with contact form, map or datalist)\n */\n@Component({\n tag: 'stzh-contact',\n styleUrl: 'stzh-contact.scss',\n scoped: true,\n})\nexport class StzhContact {\n /** Type */\n @Prop() type: 'Organization' | 'Person' = 'Organization'\n\n /** Main heading */\n @Prop() mainHeading: string\n\n /** Sub heading */\n @Prop() subHeading: string\n\n /** Main heading level */\n @Prop() mainHeadingLevel: '1' | '2' | '3' | '4' = '2'\n\n /** Heading */\n @Prop() heading: string\n\n /** Resposibility title */\n @Prop() responsibilityTitle: string\n\n /** Resposibility title */\n @Prop() responsibility: string\n\n /** Heading level */\n @Prop() headingLevel: '1' | '2' | '3' | '4' = '3'\n\n /** Name */\n @Prop() name: string\n\n /** Person role */\n @Prop() personRole: string\n\n /** Address (alternative for address slot or separate properties `street`, `streetInfo`, `postalCode` & `location`) */\n @Prop() address: string\n\n /** Street */\n @Prop() street: string | string[]\n private _street: string[] = []\n\n /** Additional street info */\n @Prop() streetInfo: string | string[]\n private _streetInfo: string[] = []\n\n /** Postal code */\n @Prop() postalCode: string\n\n /** Location / city */\n @Prop() location: string\n\n /**\n * Numbers\n * Array of objects that can include the attributes `type` = `tel`|`fax`, `label`, `number`\n * and optionally `analyticsId` for setting `s-object-id` to the link element\n * (for Adobe Analytics, default value is `label` and `number`).\n */\n @Prop() numbers: ContactNumber[] | string = []\n private _numbers: ContactNumber[] = []\n\n /**\n * Numbers\n * Array of objects that can include the attributes `label`, `number`, `text`, `href`\n * and optionally `analyticsId` for setting `s-object-id` to the link element\n * (for Adobe Analytics, default value is `label` and `text`).\n */\n @Prop() emails: ContactEmail[] | string = []\n private _emails: ContactEmail[] = []\n\n /** Pobox (alternative for pobox slot or separate properties `poboxHeading`, `poboxTitle`, `poboxPostalCode` & `poboxLocation`) */\n @Prop() pobox: string\n\n /** Post office box heading */\n @Prop() poboxHeading: string\n\n /** Post office box title */\n @Prop() poboxTitle: string\n\n /** Post office box postal code */\n @Prop() poboxPostalCode: string\n\n /** Post office box location / city */\n @Prop() poboxLocation: string\n\n /** Availability title */\n @Prop() availabilityTitle: string\n\n /** Contact title */\n @Prop() contactTitle: string\n\n /** Availability title level */\n @Prop() availabilityTitleLevel: '1' | '2' | '3' | '4' = '3'\n\n /** Availability times */\n @Prop() availability: string | StzhContactAvailabilityItem[]\n private _availability: StzhContactAvailabilityItem[] = []\n\n /** Additional freetext */\n @Prop() additionalInformation: string;\n\n @Watch('availability')\n availabilityWatcher(newValue: string | StzhContactAvailabilityItem[]) {\n if (typeof newValue === 'string') {\n this._availability = JSON.parse(newValue)\n } else {\n this._availability = newValue\n }\n }\n\n @Watch('numbers')\n numbersWatcher(newValue: ContactNumber[] | string) {\n if (typeof newValue === \"string\") {\n try {\n this._numbers = JSON.parse(newValue);\n } catch (jsonParseException) {\n // Nothing to do here, just catching to prevent component from dying.\n }\n } else {\n this._numbers = newValue\n }\n }\n\n @Watch('emails')\n emailsWatcher(newValue: ContactEmail[] | string) {\n if (typeof newValue === \"string\") {\n try {\n this._emails = JSON.parse(newValue);\n } catch (jsonParseException) {\n // Nothing to do here, just catching to prevent component from dying.\n }\n } else {\n this._emails = newValue\n }\n }\n\n @Watch('street')\n streetWatcher(newValue: string[] | string) {\n if (typeof newValue === 'string') {\n try {\n this._street = JSON.parse(newValue)\n } catch (noArrayException) {\n this._street = [newValue]\n }\n } else if (newValue) {\n this._street = newValue\n }\n }\n\n @Watch('streetInfo')\n streetInfoWatcher(newValue: string[] | string) {\n if (typeof newValue === 'string') {\n try {\n this._streetInfo = JSON.parse(newValue)\n } catch (noArrayException) {\n this._streetInfo = [newValue]\n }\n } else if (newValue) {\n this._streetInfo = newValue\n }\n }\n\n @Element() element: HTMLStzhFigureElement\n\n async componentWillLoad() {\n this.numbersWatcher(this.numbers)\n this.emailsWatcher(this.emails)\n this.availabilityWatcher(this.availability)\n this.streetWatcher(this.street)\n this.streetInfoWatcher(this.streetInfo)\n }\n\n render() {\n const hasImage = hasSlot(this.element, 'image')\n const hasAddress = !!this.address || hasSlot(this.element, 'address')\n const hasAddons = hasSlot(this.element, 'addons')\n const hasLinks = hasSlot(this.element, 'links')\n\n const classes = {\n 'stzh-contact': true,\n 'stzh-contact--has-image': hasImage,\n 'stzh-contact--has-address': hasAddress,\n 'stzh-contact--has-addons': hasAddons,\n 'stzh-contact--has-links': hasLinks,\n }\n\n const HeadingLevel = `h${this.headingLevel}`\n const AvailabilityTitleElement = `h${this.availabilityTitleLevel}`\n const isPerson = this.type === 'Person';\n const isOrganization = this.type === 'Organization';\n\n return (\n <Host has-availability={!!this.availability ? 'true' : 'false'}>\n <div class={classes} itemscope itemtype={`http://schema.org/${this.type}`}>\n\n <div class=\"stzh-contact__main-heading\"\n itemprop={\n (isOrganization && !this.heading) ||\n (isPerson && !this.name)\n ? 'name'\n : null\n }\n >\n <div class=\"stzh-contact__main-heading-section\">\n {this.mainHeading\n ? <stzh-heading level={this.mainHeadingLevel}>\n {this.mainHeading}\n </stzh-heading>\n : <slot name=\"main-heading\"></slot>\n }\n </div>\n <div class={isPerson && \"stzh-contact__main-heading-text\"}>\n {this.personRole && isPerson && (\n <stzh-heading curve='h3' level=\"3\" >\n <span class=\"stzh-contact__role\">\n {this.personRole}\n </span>\n </stzh-heading>\n )}\n {\n (isPerson && this.name || isOrganization && this.heading) &&\n (\n <div class=\"stzh-contact__main-heading-type\">\n {this.name && isPerson && (\n <stzh-heading level='3' curve='h3'>\n {this.name}\n </stzh-heading>\n )}\n {this.heading && isOrganization && (\n <stzh-heading level='3' curve='h3'>\n {this.heading}\n </stzh-heading>\n )}\n </div>\n )\n }\n </div>\n {isPerson &&\n <div class=\"stzh-contact__image-wrapper\">\n <div class=\"stzh-contact__image\">\n <slot name=\"image\"></slot>\n </div>\n </div>\n }\n </div>\n\n <div class=\"stzh-contact__responsibility\">\n {this.responsibilityTitle && (\n <HeadingLevel\n class=\"stzh-contact__heading\"\n itemprop={this.responsibilityTitle}\n innerHTML={this.responsibilityTitle}\n />\n )}\n {this.responsibility && (\n <stzh-text class=\"stzh-contact__responsibility-text\">\n {this.responsibility}\n </stzh-text>\n )}\n </div>\n\n <div class=\"stzh-contact__additional\">\n <slot></slot>\n </div>\n\n <div class=\"stzh-contact__info\">\n\n {this.contactTitle && (\n <AvailabilityTitleElement class=\"stzh-contact__availability-title\">\n {this.contactTitle}\n </AvailabilityTitleElement>\n )}\n\n\n <div\n class=\"stzh-contact__address\"\n itemprop=\"address\"\n itemscope\n itemtype=\"http://schema.org/PostalAddress\"\n innerHTML={this.address}\n >\n {!this.address && (\n <Fragment>\n {this._street.length > 0 && (\n <div class=\"stzh-contact__street\" itemprop=\"streetAddress\">\n {this._street.map((street: string) => (\n <Fragment>\n {street}\n <br />\n </Fragment>\n ))}\n {this._streetInfo.length > 0 && (\n <Fragment>\n <br />{' '}\n {this._streetInfo.map((streetInfo: string) => (\n <Fragment>\n {streetInfo}\n <br />\n </Fragment>\n ))}\n </Fragment>\n )}\n </div>\n )}\n\n {this.postalCode && (\n <span\n class=\"stzh-contact__postal-code\"\n itemprop=\"postalCode\"\n >\n {this.postalCode} \n </span>\n )}\n\n {this.location && (\n <span\n class=\"stzh-contact__locality\"\n itemprop=\"addressLocality\"\n >\n {this.location}\n </span>\n )}\n\n <slot name=\"address\"></slot>\n </Fragment>\n )}\n </div>\n\n {this._numbers.length > 0 && (\n <div class=\"stzh-contact__numbers\">\n {this._numbers.map((number) => (\n <div class=\"stzh-contact__number\">\n <span>{number.label} </span>\n <stzh-link\n size=\"inherit\"\n height=\"auto\"\n class=\"stzh-contact__number-link\"\n href={`${number.type}:${formatTel(number.number)}`}\n analyticsId={\n number.analyticsId || `${number.label} ${number.number}`\n }\n itemprop={\n number.type === 'fax' ? 'faxNumber' : 'telephone'\n }\n >\n {number.number}\n </stzh-link>\n </div>\n ))}\n </div>\n )}\n\n {this._emails.length > 0 && (\n <div class=\"stzh-contact__emails\">\n {this._emails.map((email) => (\n <div class=\"stzh-contact__email\">\n <span>{email.label} </span>\n {email.href ? (\n <stzh-link\n size=\"inherit\"\n height=\"auto\"\n class=\"stzh-container__email-link\"\n href={`mailto:${email.href}`}\n analyticsId={\n email.analyticsId || `${email.label} ${email.text}`\n }\n itemprop=\"email\"\n >\n {email.text}\n </stzh-link>\n ) : (\n <span class=\"stzh-container__email-link\" itemprop=\"email\">\n {email.text}\n </span>\n )}\n </div>\n ))}\n </div>\n )}\n\n <div class=\"stzh-contact__pobox\" innerHTML={this.pobox}>\n {!this.pobox && (\n <Fragment>\n {this.poboxHeading && (\n <div class=\"stzh-contact__pobox-heading\">\n {this.poboxHeading}\n </div>\n )}\n {this.poboxTitle && (\n <div class=\"stzh-contact__pobox-title\">\n {this.poboxTitle}\n </div>\n )}\n {this.poboxPostalCode && (\n <span class=\"stzh-contact__pobox-postal-code\">\n {this.poboxPostalCode} \n </span>\n )}\n {this.poboxLocation && (\n <span class=\"stzh-contact__pobox-locality\">\n {this.poboxLocation}\n </span>\n )}\n <slot name=\"pobox\"></slot>\n </Fragment>\n )}\n </div>\n\n <div class=\"stzh-contact__additional-information\" innerHTML={this.additionalInformation}></div>\n </div>\n\n {this.availability && (\n <div class=\"stzh-contact__availability\">\n {this.availabilityTitle && (\n <AvailabilityTitleElement class=\"stzh-contact__availability-title\">\n {this.availabilityTitle}\n </AvailabilityTitleElement>\n )}\n\n {this._availability.length > 0 && (\n <ul class=\"stzh-contact__availability-list\">\n {this._availability.map((item) => (\n <li class=\"stzh-contact__availability-list-item\">\n <div class=\"stzh-contact__availability-weekday\">\n {item.weekday}\n </div>\n {item.hours.length > 0 && (\n <div class=\"stzh-contact__availability-hours\">\n {item.hours.map((hour, index) => (\n <Fragment>\n <div class=\"stzh-contact__availability-hour\">\n {hour}\n </div>\n {index < item.hours.length - 1 && (\n <div class=\"stzh-contact__availability-hours-separator\"></div>\n )}\n </Fragment>\n ))}\n </div>\n )}\n </li>\n ))}\n </ul>\n )}\n </div>\n )}\n </div>\n </Host>\n )\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"stzh-contact.js","sourceRoot":"","sources":["../../../../../src/components/CMS/stzh-contact/stzh-contact.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,OAAO,EACP,QAAQ,EACR,CAAC,EACD,IAAI,EACJ,IAAI,EACJ,KAAK,GACN,MAAM,eAAe,CAAA;AAQtB,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAA;AAE9C,SAAS,SAAS,CAAC,GAAW;IAC5B,OAAO,GAAG,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAA;AAC/B,CAAC;AAED;;;;;;GAMG;AAMH,MAAM,OAAO,WAAW;;QAoCd,YAAO,GAAa,EAAE,CAAA;QAItB,gBAAW,GAAa,EAAE,CAAA;QAe1B,aAAQ,GAAoB,EAAE,CAAA;QAS9B,YAAO,GAAmB,EAAE,CAAA;QA4B5B,kBAAa,GAAkC,EAAE,CAAA;oBA1Ff,cAAc;;;gCASN,GAAG;;;;4BAYP,GAAG;;;;;;;;uBA+BL,EAAE;sBASJ,EAAE;;;;;;;;sCAyBY,GAAG;;;;IAU3D,mBAAmB,CAAC,QAAgD;QAClE,IAAI,OAAO,Q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A;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Element,\n Fragment,\n h,\n Host,\n Prop,\n Watch,\n} from '@stencil/core'\n\nimport {\n ContactEmail,\n ContactNumber,\n StzhContactAvailabilityItem,\n} from '../../../index'\n\nimport { hasSlot } from '../../../utils/utils'\n\nfunction formatTel(tel: string) {\n return tel.replace(/\\s/g, '')\n}\n\n/**\n * @slot main-heading - slot for main heading\n * @slot image - slot for image\n * @slot address - slot for address (alternative for `address` property or separate properties `street`, `streetInfo`, `postalCode` & `location`)\n * @slot pobox - slot for pobox (alternative for `pobox` property or separate properties `poboxHeading`, `poboxTitle`, `poboxPostalCode` & `poboxLocation`)\n * @slot slot for additional (e.g. accordion with contact form, map or datalist)\n */\n@Component({\n tag: 'stzh-contact',\n styleUrl: 'stzh-contact.scss',\n scoped: true,\n})\nexport class StzhContact {\n /** Type */\n @Prop() type: 'Organization' | 'Person' = 'Organization'\n\n /** Main heading */\n @Prop() mainHeading: string\n\n /** Sub heading */\n @Prop() subHeading: string\n\n /** Main heading level */\n @Prop() mainHeadingLevel: '1' | '2' | '3' | '4' = '2'\n\n /** Heading */\n @Prop() heading: string\n\n /** Resposibility title */\n @Prop() responsibilityTitle: string\n\n /** Resposibility title */\n @Prop() responsibility: string\n\n /** Heading level */\n @Prop() headingLevel: '1' | '2' | '3' | '4' = '3'\n\n /** Name */\n @Prop() name: string\n\n /** Person role */\n @Prop() personRole: string\n\n /** Address (alternative for address slot or separate properties `street`, `streetInfo`, `postalCode` & `location`) */\n @Prop() address: string\n\n /** Street */\n @Prop() street: string | string[]\n private _street: string[] = []\n\n /** Additional street info */\n @Prop() streetInfo: string | string[]\n private _streetInfo: string[] = []\n\n /** Postal code */\n @Prop() postalCode: string\n\n /** Location / city */\n @Prop() location: string\n\n /**\n * Numbers\n * Array of objects that can include the attributes `type` = `tel`|`fax`, `label`, `number`\n * and optionally `analyticsId` for setting `s-object-id` to the link element\n * (for Adobe Analytics, default value is `label` and `number`).\n */\n @Prop() numbers: ContactNumber[] | string = []\n private _numbers: ContactNumber[] = []\n\n /**\n * Numbers\n * Array of objects that can include the attributes `label`, `number`, `text`, `href`\n * and optionally `analyticsId` for setting `s-object-id` to the link element\n * (for Adobe Analytics, default value is `label` and `text`).\n */\n @Prop() emails: ContactEmail[] | string = []\n private _emails: ContactEmail[] = []\n\n /** Pobox (alternative for pobox slot or separate properties `poboxHeading`, `poboxTitle`, `poboxPostalCode` & `poboxLocation`) */\n @Prop() pobox: string\n\n /** Post office box heading */\n @Prop() poboxHeading: string\n\n /** Post office box title */\n @Prop() poboxTitle: string\n\n /** Post office box postal code */\n @Prop() poboxPostalCode: string\n\n /** Post office box location / city */\n @Prop() poboxLocation: string\n\n /** Availability title */\n @Prop() availabilityTitle: string\n\n /** Contact title */\n @Prop() contactTitle: string\n\n /** Availability title level */\n @Prop() availabilityTitleLevel: '1' | '2' | '3' | '4' = '3'\n\n /** Availability times */\n @Prop() availability: string | StzhContactAvailabilityItem[]\n private _availability: StzhContactAvailabilityItem[] = []\n\n /** Additional freetext */\n @Prop() additionalInformation: string;\n\n @Watch('availability')\n availabilityWatcher(newValue: string | StzhContactAvailabilityItem[]) {\n if (typeof newValue === 'string') {\n this._availability = JSON.parse(newValue)\n } else {\n this._availability = newValue\n }\n }\n\n @Watch('numbers')\n numbersWatcher(newValue: ContactNumber[] | string) {\n if (typeof newValue === \"string\") {\n try {\n this._numbers = JSON.parse(newValue);\n } catch (jsonParseException) {\n // Nothing to do here, just catching to prevent component from dying.\n }\n } else {\n this._numbers = newValue\n }\n }\n\n @Watch('emails')\n emailsWatcher(newValue: ContactEmail[] | string) {\n if (typeof newValue === \"string\") {\n try {\n this._emails = JSON.parse(newValue);\n } catch (jsonParseException) {\n // Nothing to do here, just catching to prevent component from dying.\n }\n } else {\n this._emails = newValue\n }\n }\n\n @Watch('street')\n streetWatcher(newValue: string[] | string) {\n if (typeof newValue === 'string') {\n try {\n this._street = JSON.parse(newValue)\n } catch (noArrayException) {\n this._street = [newValue]\n }\n } else if (newValue) {\n this._street = newValue\n }\n }\n\n @Watch('streetInfo')\n streetInfoWatcher(newValue: string[] | string) {\n if (typeof newValue === 'string') {\n try {\n this._streetInfo = JSON.parse(newValue)\n } catch (noArrayException) {\n this._streetInfo = [newValue]\n }\n } else if (newValue) {\n this._streetInfo = newValue\n }\n }\n\n @Element() element: HTMLStzhFigureElement\n\n async componentWillLoad() {\n this.numbersWatcher(this.numbers)\n this.emailsWatcher(this.emails)\n this.availabilityWatcher(this.availability)\n this.streetWatcher(this.street)\n this.streetInfoWatcher(this.streetInfo)\n }\n\n render() {\n const hasImage = hasSlot(this.element, 'image')\n const hasAddress = !!this.address || hasSlot(this.element, 'address')\n const hasAddons = hasSlot(this.element, 'addons')\n const hasLinks = hasSlot(this.element, 'links')\n\n const classes = {\n 'stzh-contact': true,\n 'stzh-contact--has-image': hasImage,\n 'stzh-contact--has-address': hasAddress,\n 'stzh-contact--has-addons': hasAddons,\n 'stzh-contact--has-links': hasLinks,\n }\n\n const HeadingLevel = `h${this.headingLevel}`\n const AvailabilityTitleElement = `h${this.availabilityTitleLevel}`\n const isPerson = this.type === 'Person';\n const isOrganization = this.type === 'Organization';\n\n return (\n <Host has-availability={!!this.availability ? 'true' : 'false'}>\n <div class={classes} itemscope itemtype={`http://schema.org/${this.type}`}>\n\n <div class=\"stzh-contact__main-heading\"\n itemprop={\n (isOrganization && !this.heading) ||\n (isPerson && !this.name)\n ? 'name'\n : null\n }\n >\n <div class=\"stzh-contact__main-heading-section\">\n {this.mainHeading\n ? <stzh-heading level={this.mainHeadingLevel} htmlContent={this.mainHeading}/>\n : <slot name=\"main-heading\"></slot>\n }\n </div>\n <div class={isPerson && \"stzh-contact__main-heading-text\"}>\n {this.personRole && isPerson && (\n <stzh-heading curve='h3' level=\"3\" >\n <span class=\"stzh-contact__role\">\n {this.personRole}\n </span>\n </stzh-heading>\n )}\n {\n (isPerson && this.name || isOrganization && this.heading) && (\n <div class=\"stzh-contact__main-heading-type\">\n {this.name && isPerson && (\n <stzh-heading level='3' curve='h3' htmlContent={this.name}/>\n )}\n {this.heading && isOrganization && (\n <stzh-heading level={this.headingLevel} htmlContent={this.heading} />\n )}\n </div>\n )\n }\n </div>\n {isPerson &&\n <div class=\"stzh-contact__image-wrapper\">\n <div class=\"stzh-contact__image\">\n <slot name=\"image\"></slot>\n </div>\n </div>\n }\n </div>\n\n <div class=\"stzh-contact__responsibility\">\n {this.responsibilityTitle && (\n <HeadingLevel\n class=\"stzh-contact__heading\"\n itemprop={this.responsibilityTitle}\n innerHTML={this.responsibilityTitle}\n />\n )}\n {this.responsibility && (\n <stzh-text class=\"stzh-contact__responsibility-text\">\n {this.responsibility}\n </stzh-text>\n )}\n </div>\n\n <div class=\"stzh-contact__additional\">\n <slot></slot>\n </div>\n\n <div class=\"stzh-contact__info\">\n\n {this.contactTitle && (\n <AvailabilityTitleElement class=\"stzh-contact__availability-title\">\n {this.contactTitle}\n </AvailabilityTitleElement>\n )}\n\n\n <div\n class=\"stzh-contact__address\"\n itemprop=\"address\"\n itemscope\n itemtype=\"http://schema.org/PostalAddress\"\n innerHTML={this.address}\n >\n {!this.address && (\n <Fragment>\n {this._street.length > 0 && (\n <div class=\"stzh-contact__street\" itemprop=\"streetAddress\">\n {this._street.map((street: string) => (\n <Fragment>\n {street}\n <br />\n </Fragment>\n ))}\n {this._streetInfo.length > 0 && (\n <Fragment>\n <br />{' '}\n {this._streetInfo.map((streetInfo: string) => (\n <Fragment>\n {streetInfo}\n <br />\n </Fragment>\n ))}\n </Fragment>\n )}\n </div>\n )}\n\n {this.postalCode && (\n <span\n class=\"stzh-contact__postal-code\"\n itemprop=\"postalCode\"\n >\n {this.postalCode} \n </span>\n )}\n\n {this.location && (\n <span\n class=\"stzh-contact__locality\"\n itemprop=\"addressLocality\"\n >\n {this.location}\n </span>\n )}\n\n <slot name=\"address\"></slot>\n </Fragment>\n )}\n </div>\n\n {this._numbers.length > 0 && (\n <div class=\"stzh-contact__numbers\">\n {this._numbers.map((number) => (\n <div class=\"stzh-contact__number\">\n <span>{number.label} </span>\n <stzh-link\n size=\"inherit\"\n height=\"auto\"\n class=\"stzh-contact__number-link\"\n href={`${number.type}:${formatTel(number.number)}`}\n analyticsId={\n number.analyticsId || `${number.label} ${number.number}`\n }\n itemprop={\n number.type === 'fax' ? 'faxNumber' : 'telephone'\n }\n >\n {number.number}\n </stzh-link>\n </div>\n ))}\n </div>\n )}\n\n {this._emails.length > 0 && (\n <div class=\"stzh-contact__emails\">\n {this._emails.map((email) => (\n <div class=\"stzh-contact__email\">\n <span>{email.label} </span>\n {email.href ? (\n <stzh-link\n size=\"inherit\"\n height=\"auto\"\n class=\"stzh-container__email-link\"\n href={`mailto:${email.href}`}\n analyticsId={\n email.analyticsId || `${email.label} ${email.text}`\n }\n itemprop=\"email\"\n >\n {email.text}\n </stzh-link>\n ) : (\n <span class=\"stzh-container__email-link\" itemprop=\"email\">\n {email.text}\n </span>\n )}\n </div>\n ))}\n </div>\n )}\n\n <div class=\"stzh-contact__pobox\" innerHTML={this.pobox}>\n {!this.pobox && (\n <Fragment>\n {this.poboxHeading && (\n <div class=\"stzh-contact__pobox-heading\">\n {this.poboxHeading}\n </div>\n )}\n {this.poboxTitle && (\n <div class=\"stzh-contact__pobox-title\">\n {this.poboxTitle}\n </div>\n )}\n {this.poboxPostalCode && (\n <span class=\"stzh-contact__pobox-postal-code\">\n {this.poboxPostalCode} \n </span>\n )}\n {this.poboxLocation && (\n <span class=\"stzh-contact__pobox-locality\">\n {this.poboxLocation}\n </span>\n )}\n <slot name=\"pobox\"></slot>\n </Fragment>\n )}\n </div>\n\n <div class=\"stzh-contact__additional-information\" innerHTML={this.additionalInformation}></div>\n </div>\n\n {this.availability && (\n <div class=\"stzh-contact__availability\">\n {this.availabilityTitle && (\n <AvailabilityTitleElement class=\"stzh-contact__availability-title\">\n {this.availabilityTitle}\n </AvailabilityTitleElement>\n )}\n\n {this._availability.length > 0 && (\n <ul class=\"stzh-contact__availability-list\">\n {this._availability.map((item) => (\n <li class=\"stzh-contact__availability-list-item\">\n <div class=\"stzh-contact__availability-weekday\">\n {item.weekday}\n </div>\n {item.hours.length > 0 && (\n <div class=\"stzh-contact__availability-hours\">\n {item.hours.map((hour, index) => (\n <Fragment>\n <div class=\"stzh-contact__availability-hour\">\n {hour}\n </div>\n {index < item.hours.length - 1 && (\n <div class=\"stzh-contact__availability-hours-separator\"></div>\n )}\n </Fragment>\n ))}\n </div>\n )}\n </li>\n ))}\n </ul>\n )}\n </div>\n )}\n </div>\n </Host>\n )\n }\n}\n"]}
|
|
@@ -42,7 +42,7 @@ export class StzhContactCv {
|
|
|
42
42
|
"stzh-contact-cv": true,
|
|
43
43
|
"stzh-contact-cv--has-favorite-links": hasFavoriteLinks,
|
|
44
44
|
};
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: 'e16951bb0beda26760541d8b8f115d2615202706' }, h("div", { key: '95971ca90f81ab1a9c0835fe3838e4f68fbdce54', class: classes }, h("div", { key: '99b30cff2cd8b6776b1cc5bb0485daac0e9a802f', class: "stzh-contact-cv__content-wrapper" }, h("stzh-text", { key: '88218f0189832c1ccaca1938886b8902a47036ee', class: "stzh-contact-cv__content-block" }, h("p", { key: '31135a4f006f14c3ff7a94ce546fdf22bd13f14c', class: "stzh-contact-cv__content-title" }, this.localization.jobtitle), h("span", { key: '6b3eb21ff7bc086bb3845e2f1315f5754c7ff590' }, this.jobtitle)), h("stzh-text", { key: '28cb5107869c8631732ce991daa8853e0678325a', class: "stzh-contact-cv__content-block" }, h("p", { key: '42f7e387aa82a763469c9fe584c312e1fc8eb41c', class: "stzh-contact-cv__content-title" }, this.localization.responsibilities), h("span", { key: '08179ea1eb051afb9c6cf98a08c6a05162d7d8be' }, this.responsibilities)), h("stzh-text", { key: '2957f5a119adc8bed39dba78158c95590fa88ec6', class: "stzh-contact-cv__content-block" }, h("p", { key: '050cacf27cf533b085d3dc239c0cf52d986e8a4d', class: "stzh-contact-cv__content-title" }, this.localization.trainings), h("stzh-list", { key: '0ae1d6771673e384a5652b3f9a15ae25193cafb1' }, this._trainings.map(training => (h("stzh-list-item", null, training))))), h("stzh-text", { key: '173c090b1b6c2f14da0226a918b0b030d39d2998', class: "stzh-contact-cv__content-block" }, h("p", { key: '0d0fa261265c264808ccf6d321018cf1469d2ccc', class: "stzh-contact-cv__content-title" }, this.localization.hobbies), h("stzh-list", { key: '54e808f6e66e4baed46b277a3121f97d63510d19' }, this._hobbies.map(hobby => (h("stzh-list-item", null, hobby))))), h("div", { key: '476440d209858efc05ca9b28dac85a33165cac17', class: "stzh-contact-cv__favorite-links" }, h("stzh-text", { key: '63da7fd65a798739047bf0578bbea10141cc80b5', class: "stzh-contact-cv__content-block" }, h("p", { key: '1c44eacd3debd9f806b39e1a632892206bc90892', class: "stzh-contact-cv__content-title" }, this.localization.favoriteLinks), h("slot", { key: '03c5cabcc3d5ff7ab740096f2c8e77570d0b8794', name: "favorite-links" })))))));
|
|
46
46
|
}
|
|
47
47
|
static get is() { return "stzh-contact-cv"; }
|
|
48
48
|
static get encapsulation() { return "scoped"; }
|
|
@@ -174,8 +174,8 @@ export class StzhDisturber {
|
|
|
174
174
|
"stzh-disturber--has-link": linkUsed,
|
|
175
175
|
"stzh-disturber--has-close-hidden": this.hideClose
|
|
176
176
|
};
|
|
177
|
-
return (h(Host, { key: '
|
|
178
|
-
h("div", { key: '
|
|
177
|
+
return (h(Host, { key: 'ef8f11aa878df4fe70f0323cadc9cc21fcaa0fff' }, h("div", { key: '89c86ff1e32168dc15da6aeeb2f884c3c7879d40', ref: (el) => (this.rootElement = el), class: classes }, h("div", { key: '1709376ad71fbc2df9da13f65372deb9045d99dc', class: "stzh-disturber__content" }, h("div", { key: 'a375a27667fa0f0f74d2984b0c6a69e5fdf10ef8', class: "stzh-disturber__label" }, this.label ? this.label : h("slot", { name: "label" })), h("div", { key: '5c543890dbb90fbc9e96bf330c0202b0b2f17c85', class: "stzh-disturber__link" }, h("slot", { key: 'ba9f49521037e8067417730320b9f49436a16f37', name: "link", onSlotchange: this.handleLinkSlotchange }))), !this.hideClose &&
|
|
178
|
+
h("div", { key: '0ddddac9b52737143c25e339edd44da44dfc82fc', class: "stzh-disturber__close-wrapper" }, h("stzh-button", { key: '0502416ae1277ed41c2c22ea40d234a4add4c8ab', class: "stzh-disturber__close", onClick: this.onCloseButtonClick, label: this.localization.close, variant: "tertiary", size: "small", iconOnly: true, icon: "close-big" })))));
|
|
179
179
|
}
|
|
180
180
|
static get is() { return "stzh-disturber"; }
|
|
181
181
|
static get encapsulation() { return "shadow"; }
|
|
@@ -26,7 +26,7 @@ export class StzhEditor {
|
|
|
26
26
|
const classes = {
|
|
27
27
|
"stzh-editor": true
|
|
28
28
|
};
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: '0a34ed79102cf455695330437757c7354fef97c8' }, h("div", { key: '432621edd0b16cff1ea2244587b6cc3c41f9df9c', class: classes }, h("div", { key: 'ff66d9bc3d82df1416b00c38588aa230e1aa1c49', class: "stzh-editor__wrapper" }, h("h2", { key: 'c606f8e258d0c360ef4092e68a248cdcd67f1757', class: "stzh-editor__heading" }, typeof this.heading === "string" ? this.heading : this.localization.heading), h("ul", { key: 'af9ed073afd124860345594dbc94a8334e87f0ff', class: "stzh-editor__link-list" }, this._items.map((link) => h("li", { class: "stzh-editor__link-item" }, h("stzh-link", Object.assign({ class: "stzh-editor__link" }, link, { icon: typeof link.icon === "undefined" ? "arrow-right" : link.icon, iconPosition: "right" })))))))));
|
|
30
30
|
}
|
|
31
31
|
static get is() { return "stzh-editor"; }
|
|
32
32
|
static get encapsulation() { return "scoped"; }
|
|
@@ -11,7 +11,7 @@ export class StzhEventdata {
|
|
|
11
11
|
const classes = {
|
|
12
12
|
"stzh-eventdata": true
|
|
13
13
|
};
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'a9a9a2edb82e113cdaeac572f1d01497d7875f59' }, h("div", { key: 'c22f13d852b3cf487fe3b883582023453cbc288f', class: classes }, h("div", { key: '95ab6ed4457b0a6fa04299b2280d5c63d40ec6d4', class: "stzh-eventdata__label" }, this.label ? this.label : h("slot", { name: "label" })), h("div", { key: '098238aea1d45366acaf1c8214a35110ec22d41c', class: "stzh-eventdata__content" }, h("slot", { key: '4a071cad11cd508d75677d6e47b808a821d50fd3' })))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "stzh-eventdata"; }
|
|
17
17
|
static get encapsulation() { return "scoped"; }
|
|
@@ -109,7 +109,7 @@ export class StzhEventinfo {
|
|
|
109
109
|
const startDate = this.start && new Date(this.start);
|
|
110
110
|
const endDate = this.end && new Date(this.end);
|
|
111
111
|
const MonthHeading = `h${this.monthHeadingLevel}`;
|
|
112
|
-
return (h(Host, { key: '
|
|
112
|
+
return (h(Host, { key: '60461fa0123cc87044bc5c68a292957bbefe13bc' }, h("div", { key: '0154935dae022f66c736ef696e534b38a3141a6c', class: classes }, h("div", { key: '752627e7917df52bc3d6ea836b81273753306468', class: "stzh-eventinfo__left" }, h("div", { key: '3fdaf0fd44a5215451f8f73411dc9928bc42616e', class: "stzh-eventinfo__main-event-day-name" }, this.localization.$globals.dayNamesShort[startDate.getDay()]), h("div", { key: 'b4cf3c67cd132175585162869df6459f46928723', class: "stzh-eventinfo__main-event-day" }, startDate.getDate() < 10 && "0", startDate.getDate()), h("div", { key: '0d5a21cdf4daf2db7ca5e59bf87cea0305623744', class: "stzh-eventinfo__main-event-month" }, this.localization.$globals.monthNamesShort[startDate.getMonth()])), h("div", { key: '10081e6d81bddbea523a3d34edda7461a1803145', class: "stzh-eventinfo__right" }, h("div", { key: 'fa4b8346d357f5ba0421594a7305bb9fa7f076ad' }, h("div", { key: '005e0743b7d811e23dcd9c8767a323513d67bbaa', class: "stzh-eventinfo__head" }, h("div", { key: '8f41bd5112785bef682114eeec3cbe27aa6ea41b', class: "stzh-eventinfo__main-date" }, h("span", { key: '9a4e7f116eedfabeea18b99f735c207a78f35e02' }, this.localization.$globals.dayNames[startDate.getDay()]), h("span", { key: '6a49a09c383cd9ddae567e3f6d2ee414d31ffaf1' }, this.dateAdapter.format(startDate, "date")), this.hasProperStartAndOrEndDate(startDate, endDate) && (h("span", { key: 'af652c17641873b1adac004fd85050eed774f9a1' }, this.dateAdapter.formatSpan(startDate, endDate, "time")))), this.calendarUrl && (h("div", { key: '5a61927703a1910796aff39ae78d0751c0a0a91e', class: "stzh-eventinfo__main-event-link" }, h("stzh-link", { key: '943e6de908571191fc813a24bc577673d2e2daf6', href: this.calendarUrl, label: this.calendarLabel || this.localization.addToCalendar, size: "inherit" })))), h("div", { key: '715e680b432c95d417f8d6e4a7b73b092805f4aa', class: "stzh-eventinfo__text" }, h("div", { key: '6fa9ea39e3d622911fa3d89281ab552cda7bf7d1', class: "stzh-eventinfo__location" }, h("slot", { key: '2b2a831e3f1263700bb265af6746c9d295c9777e', name: "location" })), h("div", { key: 'd91e3b594b275adaa74a931da88de7b0b1a545b4', class: "stzh-eventinfo__additional-info" }, h("slot", { key: '6f2e31c8dccc2273695d4ca83758658c0c36a331', name: "additional-info" })))), this._itemsGroupedByMonth.length > 0 && (h("div", { key: '787ec2174422221276a9732bf5792f7dae56df4b', class: "stzh-eventinfo__details-wrapper" }, h("stzh-details", { key: '96c790423052ed8926dd2857c988fef83ad6e988', class: "stzh-eventinfo__details" }, h("stzh-link", { key: '47f8fdc030dc3648c9db55ef6f3c427c6bcf86cd', class: "stzh-eventinfo__details-link", icon: "calendar", size: "inherit" }, h("span", { key: 'bd6bb9bae8aaad7b5ab403b9c2832282ff1b7ba6', class: "stzh-eventinfo__details-link-expand" }, this.localization.expandMoreDates), h("span", { key: '0328770a0775a0305bec7e8457529a9b7b3ef299', class: "stzh-eventinfo__details-link-collapse" }, this.localization.collapseMoreDates)), h("ul", { key: 'f5b83ede5b326a295137229a0eda3360f8f49f5d', slot: "content", class: "stzh-eventinfo__month-list" }, this._itemsGroupedByMonth.map(groupedItems => (h("li", { class: "stzh-eventinfo__month-list-item" }, h(MonthHeading, { class: "stzh-eventinfo__heading" }, groupedItems.name), groupedItems.events.length > 0 && (h("ul", { class: "stzh-eventinfo__event-list" }, groupedItems.events.map(event => (h("li", { class: "stzh-eventinfo__event-list-item" }, h("span", { class: "stzh-eventinfo__event-datetime-wrapper" }, h("span", { class: "stzh-eventinfo__event-date-wrapper" }, h("span", { class: "stzh-eventinfo__event-weekday" }, this.localization.$globals.dayNames[event.start.getDay()]), h("span", { class: "stzh-eventinfo__event-date" }, this.dateAdapter.format(event.start, "date"))), h("span", { class: "stzh-eventinfo__event-time" }, this.hasProperStartAndOrEndDate(event.start, event.end) &&
|
|
113
113
|
this.dateAdapter.formatSpan(event.start, event.end, "time"))), h("span", { class: "stzh-eventinfo__event-link" }, event.calendarUrl && (h("stzh-link", { href: event.calendarUrl, label: event.calendarLabel || this.localization.addToCalendar })))))))))))))))))));
|
|
114
114
|
}
|
|
115
115
|
static get is() { return "stzh-eventinfo"; }
|
|
@@ -36,7 +36,7 @@ export class StzhFeedreader {
|
|
|
36
36
|
const subscribeFeedSlotUsed = hasSlot(this.element, "subscribe-feed");
|
|
37
37
|
const subscribeProxySlotUsed = hasSlot(this.element, "subscribe-proxy");
|
|
38
38
|
const connectionErrorSlotUsed = hasSlot(this.element, "connection-error");
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '4fddeb3b91af2d91461b40d88661dc884b17b6e4' }, h("div", { key: '9227290aa77e8d03b2be5a18b8d6805463f69fd9', class: classes }, h("div", { key: '1482c365c6e576150c2475a4500da7197d854c72', class: "stzh-feedreader__container" }, h("div", { key: '45e2b2ce0cbd8ca8b7c5291ed3d4c072d5052bf3', class: "stzh-feedreader__header" }, h("stzh-heading", { key: '5d59a16aadaf4e8815bc7975368a1aa74c784655', level: this.headingLevel }, this.heading), h("stzh-text", { key: 'a72bb80f2052e88a5672443c0513be25eb2cba49' }, this.description)), (subscribeFeedSlotUsed || subscribeProxySlotUsed) && (h("div", { key: 'baed340d9ee8cccd2c905d1f59787f9ccab2c1d7', class: "stzh-feedreader__subscribe" }, h("slot", { key: 'fe9aea81a5565fbf7c4a958495fe787d30d935c3', name: "subscribe-feed" }), h("slot", { key: '549037abcceadd1974188a32001662a4affdd231', name: "subscribe-proxy" }))), !this.hasItems && !connectionErrorSlotUsed && (h("stzh-message", { key: 'a0ac628418432cb64061fa85123aad97f828a995', label: this.noItemsText, hideClose: true }, !!this.noItemsLink && (h("stzh-link", { key: 'f32fbf583e099290677176f599aba1857ac1ded3', slot: "link", href: this.noItemsLink }, this.localization.moreInfo)))), connectionErrorSlotUsed && (h("div", { key: 'c19eff15660796105f03ca7ffcd6df90e994857b', class: "stzh-feedreader__connection-error" }, h("slot", { key: 'b66c461ea362f91019df29137c840fe97f1c6c75', name: "connection-error" }))), h("div", { key: '37b495f59a6a9e3685e3b828f56876fa86614993', class: "stzh-feedreader__items", ref: el => (this.itemsWrapperElement = el) }, h("slot", { key: 'c8277c4cab10080ed83d936ffe4cd3340ea826a0' }))))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "stzh-feedreader"; }
|
|
42
42
|
static get encapsulation() { return "scoped"; }
|
|
@@ -35,7 +35,7 @@ export class StzhFeedreaderItem {
|
|
|
35
35
|
"stzh-feedreader-item--has-link": !!this.link,
|
|
36
36
|
[`stzh-feedreader-item--${this.variant}`]: true,
|
|
37
37
|
};
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '660f5e0c3ade0f4a801c19422f69f5fa8540d760', variant: this.variant }, !!this.link ? (h("a", { class: classes, href: this.link, target: this.target }, this.renderInner())) : (h("div", { class: classes }, this.renderInner()))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "stzh-feedreader-item"; }
|
|
41
41
|
static get encapsulation() { return "scoped"; }
|
|
@@ -494,12 +494,12 @@ export class GeoRefData {
|
|
|
494
494
|
"stzh-geo-ref-data--is-open": this.isOpen,
|
|
495
495
|
"stzh-geo-ref-data--has-filters": this._availableTags.length > 0
|
|
496
496
|
};
|
|
497
|
-
return (h(Host, { key: '
|
|
497
|
+
return (h(Host, { key: '18473cc6deb7e4a5c00c4ad91e3d01d7dabf6ad1' }, h("stzh-toastbar", { key: 'e1a894e475b4c535127c2086d0579dc652a8dfe9', ref: el => (this.toastbarElement = el) }), h("div", { key: 'f502e3d4b32026048945bc8705283a4702b20f44', class: "stzh-geo-ref-data__trigger", onClick: () => this.initializeAndOpenMap() }, h("slot", { key: '24d1794dd2d4c4124e30dd23adc0ad09e99c8e63', name: "trigger" })), h("stzh-overlay", { key: '2a95e5903a815f5e20bbf7efabd8625c5620804a', open: this.isLoading }, h("stzh-loader", { key: 'c66cca5785d2eefc58edfeabb39dfc53be8b0488', label: "Daten werden geladen..." })), h("div", { key: '5109d3b3329e9b4d3cbccadd1d2885aca3055965', class: classes }, h("div", { key: '936007f41c2853d22255c78b73ea74105427713f', class: "stzh-geo-ref-data__header-wrapper" }, h("stzh-header", { key: 'a6c7182859bc671b83a770726ebed0a4f5f4f27c', class: "stzh-geo-ref-data__header", "hide-metabar": true, sticky: "disabled" }, h("slot", { key: '71b6599eaaa9944c7cef1d72dfcdc786496ea7d8', name: "logo", slot: "logo" })), h("div", { key: 'a120fb37db85d708f8649de3d4ac27d68f6bb354', class: "stzh-geo-ref-data__heading stzh-geo-ref-data--content-padding" }, h("stzh-heading", { key: '987d5c3b16299497b22d3416728bffa7ed7fbc8f', class: "stzh-geo-ref-data__heading-heading", curve: "h2" }, this.heading), h("stzh-button", { key: '16cc785fe4a099077ff95c2b87450ccad0565b03', class: "stzh-geo-ref-data__overlay-close", icon: "close", iconOnly: true, size: "small", variant: "tertiary", onClick: this.handleOverlayCloseClick }))), h("div", { key: '5e5648b2f0d855e0dde0fbc9d94097851d804449', class: "stzh-geo-ref-data__content" }, h("div", { key: 'b0a997dca4a86e6aebdba48626bab675053453c6', class: "stzh-geo-ref-data__meta-wrapper stzh-geo-ref-data--content-padding", ref: el => (this.metaWrapperElement = el) }, h("div", { key: '38dd57ed0fe7272329ed65bf5928ead9c509a589', class: "stzh-geo-ref-data__filters" }, this._availableTags.length > 0 && (h("div", { key: 'ff0b2c6d4bd9f0425a5c1694b2741058b833439b', class: "stzh-geo-ref-data__filters-toggle" }, h("stzh-chip", { key: 'f74f5605e1e437fb1c899eac62591d65c62c0aec', label: this.isViewportMedium ? "Filter" : "", variant: "filter", icon: "filtering", onStzhClick: this.handleFilterToggleClick }))), h("div", { key: 'f2a188bd1b5f4e17880e888bfcce2291d42a613b', class: {
|
|
498
498
|
"stzh-geo-ref-data__filters-content": true,
|
|
499
499
|
"stzh-geo-ref-data__filters-content--visible": !this.isViewportLarge && this.isFiltersContentOpen
|
|
500
|
-
} }, h("stzh-chipselect", { key: '
|
|
500
|
+
} }, h("stzh-chipselect", { key: '3d200e8e7747a30f8903162cda88261c6ff27c27', "label-hidden": true, label: "Tags", data: this.enhancedTags, onStzhChange: this.handleFilterChange, multiple: true, defaultValue: this.appliedFilters, value: this.appliedFilters }), h("div", { key: '486384a375900c69eff551f4dcd025845e9d9017', class: "stzh-geo-ref-data__filters-apply-button" }, h("stzh-button", { key: '6925fb8c1bac3b9b8235c06b15d1e943c3483d48', size: "small", fullwidth: true, onStzhClick: this.handleApplyFilterClick }, "Anwenden")))), h("div", { key: 'cf4332234b7f6183bac9b2608bbe123460c20aba', class: "stzh-geo-ref-data__search" }, h("stzh-input", { key: '65060e3f4061ac38aeff113e0e87a83cc1270d0e', name: "stzh-datatable-search", onStzhChange: this.handleSearchChange, hideOptional: true, label: "Suche", type: "search" })), h("div", { key: '6233175616f172ed67c991c59025f8e9d7fef207', class: "stzh-geo-ref-data__results-toggle" }, h("stzh-chip", { key: '33a15d8f0b751a52656bfae182c0eb46612b6929', onStzhClick: this.toggleViewMode, label: this.viewmode === "map" ? "Liste" : "Karte", icon: this.viewmode === "map" ? "bulleted-list" : "map", variant: "filter" }))), h("div", { key: '44e7eea0fc5bd2f56069af085fcbb9db4f43065b', class: "stzh-geo-ref-data__results-wrapper" }, h("div", { key: '3fe18ef6bb8f5fdd691359a44d303eb85273cb6a', class: `stzh-geo-ref-data__results-map ${this.viewmode === "map" ? "active" : "inactive"}` }, h("stzh-olmap", { key: 'e2203e1b59910214d7fb90d949fbf9407d7f8036', class: "stzh-geo-ref-data__ol-map", centerMarker: this.centerMarker, zoom: this.zoom, zoomLocation: this.zoomLocation, writeExtentToUrlEnabled: this.isOpen, locationControl: this.locationControl, pinchRotateThreshold: this.pinchRotateThreshold, ref: el => (this.mapElement = el) }), h("div", { key: '8fffe3931315c9540d502b55e7f6d6387604b399', class: "stzh-geo-ref-data__map-controls" }, h("stzh-checkbox", { key: '38e29d132613e03055f9f7a5713e41c9cdab5fe6', label: "Treffer an Kartenausschnitt anpassen", checked: this.showOnlyResultsForCurrentExtent, hideOptional: true, onStzhChange: this.handleExtentVisibilityChange }))), h("div", { key: '5d2f822f4c7a505b8bf23cb2ee67012bf3ef001d', class: `stzh-geo-ref-data__results-list ${this.viewmode === "list" ? "active" : "inactive"}`, ref: el => (this.resultsListElement = el) }, this.finalResults && (h(Fragment, { key: '0781f6aaf6ee00c881e8c19115b6680aaa5d0d7b' }, h("div", { key: '0ca95c5c2408b0551ba1e9b78224699a4f837cdd', class: "stzh-geo-ref-data__list-search" }, h("stzh-input", { key: '6124026068e524551fa55120ddaba77b4786af92', name: "stzh-datatable-search", onStzhChange: this.handleSearchChange, hideOptional: true, label: "Suche", type: "search" })), h("stzh-text", { key: '49741f166ce0f0f52d8f9d7d754bdf247330586b', class: "stzh-geo-ref-data__results-list-heading" }, this.finalResults.length, " Treffer"), h("div", { key: '7de23ed68b1ff948d2bb3c099a2188aeaa77a456', class: "stzh-geo-ref-data__teaser-list" }, this.finalResultsPaginatedList.map(item => (h("div", { class: "stzh-poi-teaser", onMouseEnter: () => this.handlePoiTeaserMouseEnter(item), onMouseLeave: () => this.handlePoiTeaserMouseLeave(item) }, h("a", { class: "stzh-poi-teaser-link", href: this.baseUrlOverride + item.path }), h("div", { class: "stzh-poi-teaser-content" }, h("stzh-heading", { curve: "lead" }, item.poiname), item.description && h("stzh-text", { size: "micro" }, item.description), item.data &&
|
|
501
501
|
item.data.length > 0 &&
|
|
502
|
-
item.data.map(item => (h("div", { class: "stzh-poi-teaser-list-item" }, h("stzh-icon", { name: item.icon }), h("stzh-text", { size: "micro" }, item.text))))), item.image && (h("div", { class: "stzh-poi-teaser__image-wrapper" }, h("stzh-ratio", { ratio: "2:1", "ratio-large": "5:4", "ratio-ultra": "1:1", portrait: this.isViewportLarge, class: "stzh-poi-teaser__ratio" }), h("div", { class: "stzh-poi-teaser__image-inner-wrapper" }, h("img", { src: this.baseUrlOverride + item.image, alt: "Foto von " + item.poiname })))))))), this.canLoadMore && (h("div", { key: '
|
|
502
|
+
item.data.map(item => (h("div", { class: "stzh-poi-teaser-list-item" }, h("stzh-icon", { name: item.icon }), h("stzh-text", { size: "micro" }, item.text))))), item.image && (h("div", { class: "stzh-poi-teaser__image-wrapper" }, h("stzh-ratio", { ratio: "2:1", "ratio-large": "5:4", "ratio-ultra": "1:1", portrait: this.isViewportLarge, class: "stzh-poi-teaser__ratio" }), h("div", { class: "stzh-poi-teaser__image-inner-wrapper" }, h("img", { src: this.baseUrlOverride + item.image, alt: "Foto von " + item.poiname })))))))), this.canLoadMore && (h("div", { key: '9f0b93e01b0379f87c71c3839fa3d3971a25d57b', class: "stzh-geo-ref-data__teaser-load-more" }, h("stzh-button", { key: '1674b7a841234cfeeece957aeaa04ca61d697b07', onStzhClick: () => this.loadMore() }, "Weitere laden")))))))))));
|
|
503
503
|
}
|
|
504
504
|
static get is() { return "stzh-geo-ref-data"; }
|
|
505
505
|
static get encapsulation() { return "shadow"; }
|
|
@@ -65,7 +65,7 @@ export class StzhGhettobox {
|
|
|
65
65
|
"stzh-ghettobox--has-close-button": !this.hideClose,
|
|
66
66
|
};
|
|
67
67
|
// TODO: Temporary workaround/bugfix for readspeaker class "rs_skip" can be removed once Readspeaker update with bugfix has arrived (ETA end of 2024).
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: 'b74b60c8b41d3b65508e792fb359e3f842f334af', hidden: !this.open }, h("div", { key: '0e0f3a73c2e30ed233ae1f9ec66d62bee4589c11', class: Object.assign(Object.assign({}, classes), { rs_skip: !this.open }), "aria-hidden": this.open ? "false" : "true" }, h("div", { key: '3ef7d62fc5537b7552fddc1317edbf38fed4ed6c', class: "stzh-ghettobox__container" }, h("h1", { key: '96e1e292c359a2c9d267ee84acbde23abb6a96b1', class: "stzh-ghettobox__hidden-title" }, this.hiddenTitle || this.localization.hiddenTitle), h("div", { key: '191c5f20b5188c38960c93af573dfbd20a469f7f', class: "stzh-ghettobox__message" }, h("div", { key: '81e8aa3c1cb7db8786a37e252979899ed2024289', class: "stzh-ghettobox__text" }, h("h2", { key: 'b489a7c4120c771ebfae7ee5b160c4c767f83c04', class: "stzh-ghettobox__main-title" }, this.mainTitle), h("div", { key: 'cf8ccfd66a293dd62e5bc39d1af1190c3c37cc0b', class: "stzh-ghettobox__description" }, this.description ? this.description : h("slot", null))), h("div", { key: '6afd859ff9926c3985419c70aac00bd4e9814e96', class: "stzh-ghettobox__button" }, h("slot", { key: '0a2a804f0cc68b786e1e1480e03eb0941a9751a4', name: "button" }))), !this.hideClose && (h("stzh-button", { key: 'b52c73f2e09b79459a3c089e2e4cdb80a0cd9491', class: "stzh-ghettobox__close", onClick: this.onCloseButtonClick, a11yLabel: this.localization.close, variant: "tertiary", size: "small", iconOnly: true, icon: "close-big" }))))));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "stzh-ghettobox"; }
|
|
71
71
|
static get encapsulation() { return "scoped"; }
|