@oiz/stzh-components 4.6.0 → 4.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{app-globals-237b22c8.js → app-globals-c14f30c8.js} +2 -2
- package/dist/cjs/{app-globals-237b22c8.js.map → app-globals-c14f30c8.js.map} +1 -1
- package/dist/cjs/index.cjs.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 +1 -1
- package/dist/cjs/stzh-audio.cjs.entry.js +3 -3
- package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-banner.cjs.entry.js +2 -2
- package/dist/cjs/stzh-banner.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-bathstatus-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-bathstatus-list.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-superteaser.cjs.entry.js +1 -1
- package/dist/cjs/stzh-cardlist_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-cardlist_3.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-chipselect.cjs.entry.js +11 -6
- package/dist/cjs/stzh-chipselect.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 +1 -1
- package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dropdown.cjs.entry.js +11 -4
- package/dist/cjs/stzh-dropdown.cjs.entry.js.map +1 -1
- 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 +24 -16
- package/dist/cjs/stzh-geo-ref-data.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-ghettobox_3.cjs.entry.js +2 -2
- package/dist/cjs/stzh-ghettobox_3.cjs.entry.js.map +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-linklist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/cjs/stzh-pi-menu.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pi-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
- package/dist/cjs/stzh-poicard.cjs.entry.js +1 -1
- package/dist/cjs/stzh-poilist.cjs.entry.js +1 -1
- 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-upload.cjs.entry.js +45 -10
- package/dist/cjs/stzh-upload.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +46 -4
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +4 -2
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js.map +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/CMS/PKZH/stzh-pkzh-qr/stzh-pkzh-qr.stories.js +1 -3
- package/dist/collection/components/CMS/VBZ/stzh-vbz-carousel/stzh-vbz-carousel.stories.js +1 -3
- package/dist/collection/components/CMS/VBZ/stzh-vbz-connection-finder/stzh-vbz-connection-finder.stories.js +1 -6
- package/dist/collection/components/CMS/VBZ/stzh-vbz-intro/stzh-vbz-intro.stories.js +1 -3
- package/dist/collection/components/CMS/VBZ/stzh-vbz-linechip/stzh-vbz-linechip.js +48 -3
- package/dist/collection/components/CMS/VBZ/stzh-vbz-linechip/stzh-vbz-linechip.js.map +1 -1
- package/dist/collection/components/CMS/VBZ/stzh-vbz-linechip/stzh-vbz-linechip.stories.js +1 -11
- package/dist/collection/components/CMS/VBZ/stzh-vbz-majorticker/stzh-vbz-majorticker.stories.js +1 -6
- package/dist/collection/components/CMS/VBZ/stzh-vbz-ticker/stzh-vbz-ticker.js +22 -2
- package/dist/collection/components/CMS/VBZ/stzh-vbz-ticker/stzh-vbz-ticker.js.map +1 -1
- package/dist/collection/components/CMS/VBZ/stzh-vbz-ticker/stzh-vbz-ticker.stories.js +2 -6
- package/dist/collection/components/CMS/stzh-archivelist/stzh-archivelist.stories.js +3 -5
- package/dist/collection/components/CMS/stzh-bathstatus-item/stzh-bathstatus-item.js +1 -1
- package/dist/collection/components/CMS/stzh-bathstatus-item/stzh-bathstatus-item.stories.js +1 -3
- package/dist/collection/components/CMS/stzh-bathstatus-list/stzh-bathstatus-list.js +1 -1
- package/dist/collection/components/CMS/stzh-bathstatus-list/stzh-bathstatus-list.stories.js +1 -3
- package/dist/collection/components/CMS/stzh-card-superteaser/stzh-card-superteaser.js +1 -1
- package/dist/collection/components/CMS/stzh-card-superteaser/stzh-card-superteaser.stories.js +3 -5
- package/dist/collection/components/CMS/stzh-contact/stzh-contact.js +1 -1
- package/dist/collection/components/CMS/stzh-contact/stzh-contact.stories.js +1 -3
- package/dist/collection/components/CMS/stzh-contact-cv/stzh-contact-cv.js +1 -1
- package/dist/collection/components/CMS/stzh-contact-cv/stzh-contact-cv.stories.js +1 -3
- package/dist/collection/components/CMS/stzh-disturber/stzh-disturber.js +1 -1
- package/dist/collection/components/CMS/stzh-disturber/stzh-disturber.stories.js +3 -5
- package/dist/collection/components/CMS/stzh-editor/stzh-editor.js +1 -1
- package/dist/collection/components/CMS/stzh-editor/stzh-editor.stories.js +1 -3
- package/dist/collection/components/CMS/stzh-eventdata/stzh-eventdata.js +1 -1
- package/dist/collection/components/CMS/stzh-eventdata/stzh-eventdata.stories.js +1 -3
- package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.js +1 -1
- package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.stories.js +1 -3
- package/dist/collection/components/CMS/stzh-feedreader/stzh-feedreader.js +1 -1
- package/dist/collection/components/CMS/stzh-feedreader/stzh-feedreader.stories.js +3 -5
- package/dist/collection/components/CMS/stzh-feedreader-item/stzh-feedreader-item.js +1 -1
- package/dist/collection/components/CMS/stzh-feedreader-item/stzh-feedreader-item.stories.js +1 -3
- package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js +24 -16
- package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js.map +1 -1
- package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.stories.js +1 -6
- package/dist/collection/components/CMS/stzh-ghettobox/stzh-ghettobox.css +3 -3
- package/dist/collection/components/CMS/stzh-ghettobox/stzh-ghettobox.js +1 -1
- package/dist/collection/components/CMS/stzh-ghettobox/stzh-ghettobox.stories.js +3 -5
- package/dist/collection/components/CMS/stzh-homepage-search/stzh-homepage-search.js +1 -1
- package/dist/collection/components/CMS/stzh-homepage-search/stzh-homepage-search.stories.js +3 -5
- package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js +2 -2
- package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.stories.js +1 -3
- package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.js +1 -1
- package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.stories.js +1 -6
- package/dist/collection/components/CMS/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
- package/dist/collection/components/CMS/stzh-microsite-teaserlist/stzh-microsite-teaserlist.stories.js +1 -11
- package/dist/collection/components/CMS/stzh-page-skiplinks/stzh-page-skiplinks.js +1 -1
- package/dist/collection/components/CMS/stzh-page-skiplinks/stzh-page-skiplinks.stories.js +1 -6
- package/dist/collection/components/CMS/stzh-pagebottom/stzh-pagebottom.js +1 -1
- package/dist/collection/components/CMS/stzh-pagebottom/stzh-pagebottom.stories.js +1 -9
- package/dist/collection/components/CMS/stzh-pagecontent/stzh-pagecontent.js +1 -1
- package/dist/collection/components/CMS/stzh-pagecontent/stzh-pagecontent.stories.js +1 -6
- package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.js +1 -1
- package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.stories.js +1 -3
- package/dist/collection/components/CMS/stzh-pagetitle-hero/stzh-pagetitle-hero.js +1 -1
- package/dist/collection/components/CMS/stzh-pagetitle-hero/stzh-pagetitle-hero.stories.js +1 -3
- package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.js +1 -1
- package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.stories.js +1 -3
- package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.js +1 -1
- package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.stories.js +3 -5
- package/dist/collection/components/CMS/stzh-pi-menu/stzh-pi-menu.css +0 -1
- package/dist/collection/components/CMS/stzh-pi-menu/stzh-pi-menu.js +1 -1
- package/dist/collection/components/CMS/stzh-pi-menu/stzh-pi-menu.stories.js +3 -5
- package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.css +3 -0
- package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.js +1 -1
- package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.stories.js +1 -3
- package/dist/collection/components/CMS/stzh-pi-quote/stzh-pi-quote.js +1 -1
- package/dist/collection/components/CMS/stzh-pi-quote/stzh-pi-quote.stories.js +1 -4
- package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js +1 -1
- package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.stories.js +3 -5
- package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.stories.js +3 -6
- package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js +1 -1
- package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.stories.js +3 -5
- package/dist/collection/components/CMS/stzh-poicard/stzh-poicard.js +1 -1
- package/dist/collection/components/CMS/stzh-poicard/stzh-poicard.stories.js +1 -3
- package/dist/collection/components/CMS/stzh-poilist/stzh-poilist.js +1 -1
- package/dist/collection/components/CMS/stzh-poilist/stzh-poilist.stories.js +1 -3
- package/dist/collection/components/CMS/stzh-print/stzh-print.js +1 -1
- package/dist/collection/components/CMS/stzh-print/stzh-print.stories.js +1 -3
- package/dist/collection/components/CMS/stzh-search/stzh-search.js +2 -2
- package/dist/collection/components/CMS/stzh-search/stzh-search.stories.js +1 -3
- package/dist/collection/components/CMS/stzh-sitemap/stzh-sitemap.js +1 -1
- package/dist/collection/components/CMS/stzh-sitemap/stzh-sitemap.stories.js +2 -3
- package/dist/collection/components/CMS/stzh-socialmediastream/stzh-socialmediastream.js +1 -1
- package/dist/collection/components/CMS/stzh-socialmediastream/stzh-socialmediastream.stories.js +1 -3
- package/dist/collection/components/CMS/stzh-socialmediastream-item/stzh-socialmediastream-item.js +1 -1
- package/dist/collection/components/CMS/stzh-socialmediastream-item/stzh-socialmediastream-item.stories.js +1 -3
- package/dist/collection/components/CMS/stzh-textandimage/stzh-textandimage.js +1 -1
- package/dist/collection/components/CMS/stzh-textandimage/stzh-textandimage.stories.js +1 -3
- package/dist/collection/components/CMS/stzh-twocolumns/stzh-twocolumns.js +1 -1
- package/dist/collection/components/CMS/stzh-twocolumns/stzh-twocolumns.stories.js +1 -3
- package/dist/collection/components/stzh-accordion/stzh-accordion.js +1 -1
- package/dist/collection/components/stzh-accordion/stzh-accordion.stories.js +3 -6
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.stories.js +4 -7
- package/dist/collection/components/stzh-actions/stzh-actions.js +1 -1
- package/dist/collection/components/stzh-actions/stzh-actions.stories.js +3 -5
- package/dist/collection/components/stzh-actionset/stzh-actionset.js +5 -5
- package/dist/collection/components/stzh-actionset/stzh-actionset.stories.js +3 -5
- package/dist/collection/components/stzh-amount/stzh-amount.js +1 -1
- package/dist/collection/components/stzh-amount/stzh-amount.stories.js +3 -4
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.stories.js +3 -4
- package/dist/collection/components/stzh-app-nav/stzh-app-nav.js +1 -1
- package/dist/collection/components/stzh-app-nav/stzh-app-nav.stories.js +3 -5
- package/dist/collection/components/stzh-appointments/stzh-appointments.js +1 -1
- package/dist/collection/components/stzh-appointments/stzh-appointments.stories.js +17 -14
- package/dist/collection/components/stzh-audio/stzh-audio.js +3 -3
- package/dist/collection/components/stzh-audio/stzh-audio.stories.js +3 -5
- package/dist/collection/components/stzh-badge/stzh-badge.js +1 -1
- package/dist/collection/components/stzh-badge/stzh-badge.stories.js +3 -5
- package/dist/collection/components/{CMS/stzh-banner → stzh-banner}/stzh-banner.css +1 -1
- package/dist/collection/components/{CMS/stzh-banner → stzh-banner}/stzh-banner.e2e.js +2 -2
- package/dist/collection/components/stzh-banner/stzh-banner.e2e.js.map +1 -0
- package/dist/collection/components/{CMS/stzh-banner → stzh-banner}/stzh-banner.js +4 -4
- package/dist/collection/components/stzh-banner/stzh-banner.js.map +1 -0
- package/dist/collection/components/stzh-banner/stzh-banner.localization.js.map +1 -0
- package/dist/collection/components/{CMS/stzh-banner → stzh-banner}/stzh-banner.stories.js +6 -8
- package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.stories.js +3 -5
- package/dist/collection/components/stzh-button/stzh-button.stories.js +4 -6
- package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.stories.js +4 -3
- package/dist/collection/components/stzh-calendar/stzh-calendar.stories.js +3 -5
- package/dist/collection/components/stzh-card/stzh-card.stories.js +14 -17
- package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.stories.js +3 -5
- package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.stories.js +3 -5
- package/dist/collection/components/stzh-cardlist/stzh-cardlist.css +7 -6
- package/dist/collection/components/stzh-cardlist/stzh-cardlist.stories.js +3 -5
- package/dist/collection/components/stzh-carousel/stzh-carousel.stories.js +3 -5
- package/dist/collection/components/stzh-cell/stzh-cell.stories.js +3 -4
- package/dist/collection/components/stzh-chart/stzh-chart.stories.js +1 -3
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.stories.js +7 -10
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.stories.js +5 -9
- package/dist/collection/components/stzh-chip/stzh-chip.stories.js +3 -5
- package/dist/collection/components/stzh-chipgroup/stzh-chipgroup.stories.js +1 -3
- package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +11 -6
- package/dist/collection/components/stzh-chipselect/stzh-chipselect.js.map +1 -1
- package/dist/collection/components/stzh-chipselect/stzh-chipselect.stories.js +4 -6
- package/dist/collection/components/stzh-clamp/stzh-clamp.stories.js +3 -4
- package/dist/collection/components/stzh-company-logo/stzh-company-logo.stories.js +1 -6
- package/dist/collection/components/stzh-container/stzh-container.stories.js +1 -3
- package/dist/collection/components/stzh-content/stzh-content.stories.js +1 -6
- package/dist/collection/components/stzh-cspace/stzh-cspace.stories.js +1 -6
- package/dist/collection/components/stzh-cta/stzh-cta.stories.js +3 -5
- package/dist/collection/components/stzh-datalist/stzh-datalist.stories.js +3 -5
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.stories.js +3 -5
- package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.stories.js +1 -3
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.stories.js +3 -5
- package/dist/collection/components/stzh-datatable/stzh-datatable.stories.js +3 -5
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.stories.js +3 -5
- package/dist/collection/components/stzh-daterange/stzh-daterange.stories.js +1 -6
- package/dist/collection/components/stzh-details/stzh-details.stories.js +3 -5
- package/dist/collection/components/stzh-dialog/stzh-dialog.stories.js +3 -5
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +11 -4
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js.map +1 -1
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.stories.js +4 -6
- package/dist/collection/components/stzh-fieldset/stzh-fieldset.stories.js +6 -11
- package/dist/collection/components/stzh-figure/stzh-figure.stories.js +1 -3
- package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.stories.js +1 -3
- package/dist/collection/components/stzh-footer/stzh-footer.stories.js +1 -3
- package/dist/collection/components/stzh-gallery/stzh-gallery.stories.js +1 -3
- package/dist/collection/components/stzh-header/stzh-header.stories.js +3 -5
- package/dist/collection/components/stzh-heading/stzh-heading.stories.js +1 -6
- package/dist/collection/components/stzh-hr/stzh-hr.stories.js +1 -3
- package/dist/collection/components/stzh-hspace/stzh-hspace.stories.js +1 -6
- package/dist/collection/components/stzh-http-error/stzh-http-error.stories.js +1 -6
- package/dist/collection/components/stzh-icon/stzh-icon.stories.js +1 -6
- package/dist/collection/components/stzh-iframe/stzh-iframe.stories.js +3 -5
- package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.stories.js +3 -5
- package/dist/collection/components/stzh-input/stzh-input.stories.js +6 -8
- package/dist/collection/components/stzh-invert/stzh-invert.stories.js +1 -3
- package/dist/collection/components/stzh-link/stzh-link.stories.js +3 -4
- package/dist/collection/components/stzh-list/stzh-list.stories.js +1 -3
- package/dist/collection/components/stzh-loader/stzh-loader.stories.js +1 -6
- package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.stories.js +1 -3
- package/dist/collection/components/stzh-menu/stzh-menu.stories.js +1 -6
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.stories.js +3 -5
- package/dist/collection/components/stzh-message/stzh-message.stories.js +3 -5
- package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.stories.js +3 -4
- package/dist/collection/components/stzh-offline-indicator/stzh-offline-indicator.stories.js +1 -3
- package/dist/collection/components/stzh-olmap/stzh-olmap.stories.js +3 -5
- package/dist/collection/components/stzh-overlay/stzh-overlay.stories.js +3 -5
- package/dist/collection/components/stzh-pagination/stzh-pagination.stories.js +3 -5
- package/dist/collection/components/stzh-panorama/stzh-panorama.stories.js +3 -5
- package/dist/collection/components/stzh-popover/stzh-popover.stories.js +5 -8
- package/dist/collection/components/stzh-quote/stzh-quote.stories.js +1 -4
- package/dist/collection/components/stzh-radio/stzh-radio.stories.js +7 -11
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.stories.js +6 -9
- package/dist/collection/components/stzh-rating/stzh-rating.stories.js +16 -23
- package/dist/collection/components/stzh-ratio/stzh-ratio.stories.js +1 -3
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.stories.js +1 -3
- package/dist/collection/components/stzh-richtext/stzh-richtext.stories.js +1 -6
- package/dist/collection/components/stzh-row/stzh-row.stories.js +1 -5
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.stories.js +3 -5
- package/dist/collection/components/stzh-scrollup/stzh-scrollup.stories.js +1 -17
- package/dist/collection/components/stzh-section/stzh-section.stories.js +1 -3
- package/dist/collection/components/stzh-share/stzh-share.stories.js +1 -3
- package/dist/collection/components/stzh-show/stzh-show.stories.js +1 -3
- package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.stories.js +1 -6
- package/dist/collection/components/stzh-skin-storybook-preview/stzh-skin-storybook-preview.stories.js +1 -6
- package/dist/collection/components/stzh-skiplink/stzh-skiplink.stories.js +1 -6
- package/dist/collection/components/stzh-sortable/stzh-sortable.stories.js +3 -5
- package/dist/collection/components/stzh-space/stzh-space.stories.js +1 -6
- package/dist/collection/components/stzh-status/stzh-status.stories.js +1 -3
- package/dist/collection/components/stzh-stepper/stzh-stepper.stories.js +4 -7
- package/dist/collection/components/stzh-stepper-item/stzh-stepper-item.stories.js +4 -7
- package/dist/collection/components/stzh-sticky/stzh-sticky.stories.js +3 -5
- package/dist/collection/components/stzh-sticky-actions/stzh-sticky-actions.stories.js +1 -3
- package/dist/collection/components/stzh-table/stzh-table.stories.js +1 -3
- package/dist/collection/components/stzh-tag/stzh-tag.stories.js +3 -5
- package/dist/collection/components/stzh-text/stzh-text.stories.js +5 -7
- package/dist/collection/components/stzh-timeline/stzh-timeline.stories.js +3 -5
- package/dist/collection/components/stzh-timeline-item/stzh-timeline-item.stories.js +3 -5
- package/dist/collection/components/stzh-timepicker/stzh-timepicker.stories.js +3 -5
- package/dist/collection/components/stzh-toast/stzh-toast.stories.js +3 -5
- package/dist/collection/components/stzh-toastbar/stzh-toastbar.stories.js +1 -2
- package/dist/collection/components/stzh-toggle/stzh-toggle.stories.js +3 -5
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.stories.js +3 -5
- package/dist/collection/components/stzh-upload/stzh-upload.js +46 -11
- package/dist/collection/components/stzh-upload/stzh-upload.js.map +1 -1
- package/dist/collection/components/stzh-upload/stzh-upload.stories.js +13 -12
- package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.stories.js +1 -6
- package/dist/collection/components/stzh-vspace/stzh-vspace.stories.js +1 -6
- package/dist/collection/components/stzh-youtube/stzh-youtube.stories.js +1 -3
- package/dist/collection/index.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-79436c88.js → p-05fe3259.js} +2 -2
- package/dist/components/{p-79436c88.js.map → p-05fe3259.js.map} +1 -1
- package/dist/components/{p-0b630cac.js → p-06e3cf2d.js} +16 -11
- package/dist/components/p-06e3cf2d.js.map +1 -0
- package/dist/components/{p-27bf6b87.js → p-0e787824.js} +4 -4
- package/dist/components/{p-27bf6b87.js.map → p-0e787824.js.map} +1 -1
- package/dist/components/{p-cb0898ca.js → p-139d2041.js} +4 -4
- package/dist/components/{p-cb0898ca.js.map → p-139d2041.js.map} +1 -1
- package/dist/components/{p-a792adae.js → p-17e8405b.js} +3 -3
- package/dist/components/{p-a792adae.js.map → p-17e8405b.js.map} +1 -1
- package/dist/components/{p-db160bc1.js → p-1c6e00e3.js} +4 -4
- package/dist/components/{p-db160bc1.js.map → p-1c6e00e3.js.map} +1 -1
- package/dist/components/{p-95960509.js → p-1e18dc1d.js} +4 -4
- package/dist/components/{p-95960509.js.map → p-1e18dc1d.js.map} +1 -1
- package/dist/components/{p-5c7c4130.js → p-2b549cf6.js} +2 -2
- package/dist/components/{p-5c7c4130.js.map → p-2b549cf6.js.map} +1 -1
- package/dist/components/{p-2d80d228.js → p-31108932.js} +2 -2
- package/dist/components/{p-2d80d228.js.map → p-31108932.js.map} +1 -1
- package/dist/components/{p-2c27e000.js → p-33bb9ae6.js} +9 -9
- package/dist/components/{p-2c27e000.js.map → p-33bb9ae6.js.map} +1 -1
- package/dist/components/{p-78ad1fb5.js → p-349fbfd7.js} +2 -2
- package/dist/components/{p-78ad1fb5.js.map → p-349fbfd7.js.map} +1 -1
- package/dist/components/{p-31a89409.js → p-363adb38.js} +5 -5
- package/dist/components/{p-31a89409.js.map → p-363adb38.js.map} +1 -1
- package/dist/components/p-37c9ec06.js.map +1 -1
- package/dist/components/{p-7969eeb6.js → p-38e34484.js} +2 -2
- package/dist/components/{p-7969eeb6.js.map → p-38e34484.js.map} +1 -1
- package/dist/components/{p-c4637521.js → p-3ee4c2ec.js} +3 -3
- package/dist/components/{p-c4637521.js.map → p-3ee4c2ec.js.map} +1 -1
- package/dist/components/{p-1ec35678.js → p-4bdf2c0e.js} +5 -5
- package/dist/components/{p-1ec35678.js.map → p-4bdf2c0e.js.map} +1 -1
- package/dist/components/{p-2d2bf07d.js → p-5fe404aa.js} +49 -5
- package/dist/components/p-5fe404aa.js.map +1 -0
- package/dist/components/{p-1f315034.js → p-626168f9.js} +4 -4
- package/dist/components/{p-1f315034.js.map → p-626168f9.js.map} +1 -1
- package/dist/components/{p-b8fda153.js → p-6a1a040f.js} +2 -2
- package/dist/components/{p-b8fda153.js.map → p-6a1a040f.js.map} +1 -1
- package/dist/components/{p-bafc325d.js → p-74f1fb8a.js} +3 -3
- package/dist/components/{p-bafc325d.js.map → p-74f1fb8a.js.map} +1 -1
- package/dist/components/{p-ec5e2f2a.js → p-775cca3b.js} +2 -2
- package/dist/components/{p-ec5e2f2a.js.map → p-775cca3b.js.map} +1 -1
- package/dist/components/{p-c9320f27.js → p-804c5a42.js} +4 -4
- package/dist/components/{p-c9320f27.js.map → p-804c5a42.js.map} +1 -1
- package/dist/components/{p-28548919.js → p-8c402b5e.js} +3 -3
- package/dist/components/{p-28548919.js.map → p-8c402b5e.js.map} +1 -1
- package/dist/components/{p-e25baa50.js → p-8e42dbab.js} +3 -3
- package/dist/components/{p-e25baa50.js.map → p-8e42dbab.js.map} +1 -1
- package/dist/components/{p-c8267c9e.js → p-999b8661.js} +4 -4
- package/dist/components/p-999b8661.js.map +1 -0
- package/dist/components/{p-258d7bde.js → p-9a88d047.js} +3 -3
- package/dist/components/{p-258d7bde.js.map → p-9a88d047.js.map} +1 -1
- package/dist/components/{p-51253a86.js → p-a94140df.js} +3 -3
- package/dist/components/{p-51253a86.js.map → p-a94140df.js.map} +1 -1
- package/dist/components/{p-c484e7ca.js → p-af574b36.js} +2 -2
- package/dist/components/{p-c484e7ca.js.map → p-af574b36.js.map} +1 -1
- package/dist/components/{p-a3e94f5e.js → p-b379f4ca.js} +6 -6
- package/dist/components/{p-a3e94f5e.js.map → p-b379f4ca.js.map} +1 -1
- package/dist/components/{p-cac39de3.js → p-b38507d2.js} +2 -2
- package/dist/components/{p-cac39de3.js.map → p-b38507d2.js.map} +1 -1
- package/dist/components/{p-04567f95.js → p-b392fbfe.js} +4 -4
- package/dist/components/{p-04567f95.js.map → p-b392fbfe.js.map} +1 -1
- package/dist/components/{p-cccc2b32.js → p-bb5dd9ca.js} +6 -6
- package/dist/components/{p-cccc2b32.js.map → p-bb5dd9ca.js.map} +1 -1
- package/dist/components/{p-27688347.js → p-bec99b6c.js} +4 -4
- package/dist/components/{p-27688347.js.map → p-bec99b6c.js.map} +1 -1
- package/dist/components/{p-dc031c55.js → p-c16c2ca7.js} +6 -6
- package/dist/components/{p-dc031c55.js.map → p-c16c2ca7.js.map} +1 -1
- package/dist/components/{p-9dccba17.js → p-cac3a53e.js} +3 -3
- package/dist/components/{p-9dccba17.js.map → p-cac3a53e.js.map} +1 -1
- package/dist/components/{p-1462b0ac.js → p-e961f0da.js} +3 -3
- package/dist/components/{p-1462b0ac.js.map → p-e961f0da.js.map} +1 -1
- package/dist/components/{p-3d9ce94f.js → p-f07fda42.js} +12 -5
- package/dist/components/p-f07fda42.js.map +1 -0
- 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 +8 -8
- 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 +4 -4
- package/dist/components/stzh-banner.js.map +1 -1
- package/dist/components/stzh-bathstatus-item.js +1 -1
- package/dist/components/stzh-bathstatus-list.js +4 -4
- package/dist/components/stzh-button.js +1 -1
- package/dist/components/stzh-calendar.js +1 -1
- package/dist/components/stzh-card-searchresult.js +7 -7
- package/dist/components/stzh-card-superteaser.js +8 -8
- 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 +5 -5
- 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-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 +3 -3
- package/dist/components/stzh-dropdown.js +1 -1
- 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 +36 -28
- package/dist/components/stzh-geo-ref-data.js.map +1 -1
- 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 +2 -2
- 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-linklist.js +5 -5
- package/dist/components/stzh-menu-item.js +1 -1
- package/dist/components/stzh-message.js +1 -1
- package/dist/components/stzh-microsite-teaserlist.js +11 -11
- package/dist/components/stzh-monthyearpicker.js +1 -1
- 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 +1 -1
- 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 +4 -4
- package/dist/components/stzh-pi-content-navigation.js +1 -1
- package/dist/components/stzh-pi-menu.js +2 -2
- package/dist/components/stzh-pi-menu.js.map +1 -1
- package/dist/components/stzh-pi-pagetitle.js +2 -2
- package/dist/components/stzh-pi-pagetitle.js.map +1 -1
- package/dist/components/stzh-pi-quote.js +1 -1
- package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
- package/dist/components/stzh-pi-teaser-layout.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 +10 -10
- 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-timepicker.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 +52 -17
- package/dist/components/stzh-upload.js.map +1 -1
- package/dist/components/stzh-vbz-intro.js +2 -2
- package/dist/components/stzh-vbz-linechip.js +1 -1
- package/dist/components/stzh-vbz-majorticker.js +3 -3
- package/dist/components/stzh-vbz-ticker.js +8 -5
- package/dist/components/stzh-vbz-ticker.js.map +1 -1
- package/dist/components/stzh-youtube.js +3 -3
- package/dist/esm/{app-globals-a962cea2.js → app-globals-a7ad59a2.js} +2 -2
- package/dist/esm/{app-globals-a962cea2.js.map → app-globals-a7ad59a2.js.map} +1 -1
- package/dist/esm/index.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 +1 -1
- package/dist/esm/stzh-audio.entry.js +3 -3
- package/dist/esm/stzh-badge_3.entry.js +1 -1
- package/dist/esm/stzh-banner.entry.js +2 -2
- package/dist/esm/stzh-banner.entry.js.map +1 -1
- package/dist/esm/stzh-bathstatus-item.entry.js +1 -1
- package/dist/esm/stzh-bathstatus-list.entry.js +1 -1
- package/dist/esm/stzh-card-superteaser.entry.js +1 -1
- package/dist/esm/stzh-cardlist_3.entry.js +1 -1
- package/dist/esm/stzh-cardlist_3.entry.js.map +1 -1
- package/dist/esm/stzh-chipselect.entry.js +11 -6
- package/dist/esm/stzh-chipselect.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 +1 -1
- package/dist/esm/stzh-disturber.entry.js +1 -1
- package/dist/esm/stzh-dropdown.entry.js +11 -4
- package/dist/esm/stzh-dropdown.entry.js.map +1 -1
- 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 +24 -16
- package/dist/esm/stzh-geo-ref-data.entry.js.map +1 -1
- package/dist/esm/stzh-ghettobox_3.entry.js +2 -2
- package/dist/esm/stzh-ghettobox_3.entry.js.map +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-linklist.entry.js +1 -1
- package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/esm/stzh-pi-menu.entry.js +2 -2
- package/dist/esm/stzh-pi-menu.entry.js.map +1 -1
- package/dist/esm/stzh-pi-pagetitle.entry.js +2 -2
- package/dist/esm/stzh-pi-pagetitle.entry.js.map +1 -1
- package/dist/esm/stzh-pi-quote.entry.js +1 -1
- package/dist/esm/stzh-pi-teaser-layout-item.entry.js +1 -1
- package/dist/esm/stzh-pi-teaser.entry.js +1 -1
- package/dist/esm/stzh-poicard.entry.js +1 -1
- package/dist/esm/stzh-poilist.entry.js +1 -1
- 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-upload.entry.js +45 -10
- package/dist/esm/stzh-upload.entry.js.map +1 -1
- package/dist/esm/stzh-vbz-linechip.entry.js +46 -4
- package/dist/esm/stzh-vbz-linechip.entry.js.map +1 -1
- package/dist/esm/stzh-vbz-ticker.entry.js +4 -2
- package/dist/esm/stzh-vbz-ticker.entry.js.map +1 -1
- package/dist/stzh-components/index.esm.js.map +1 -1
- package/dist/stzh-components/{p-50a81b5c.entry.js → p-0cf78c66.entry.js} +2 -2
- package/dist/stzh-components/{p-9b858b7e.entry.js → p-1047debc.entry.js} +2 -2
- package/dist/stzh-components/{p-d0e8b48e.entry.js → p-126e6d91.entry.js} +2 -2
- package/dist/stzh-components/{p-3064f4b9.entry.js → p-1724d14c.entry.js} +2 -2
- package/dist/stzh-components/{p-21c8ffbe.entry.js → p-1a926012.entry.js} +2 -2
- package/dist/stzh-components/{p-0585149c.entry.js → p-1b517ef0.entry.js} +2 -2
- package/dist/stzh-components/p-3677f45f.entry.js +2 -0
- package/dist/stzh-components/p-3677f45f.entry.js.map +1 -0
- package/dist/stzh-components/{p-2925f080.entry.js → p-37f3a254.entry.js} +2 -2
- package/dist/stzh-components/{p-6dd89068.entry.js → p-3e6c40f3.entry.js} +2 -2
- package/dist/stzh-components/{p-0585ce30.entry.js → p-40b71f43.entry.js} +2 -2
- package/dist/stzh-components/p-4248810c.entry.js +2 -0
- package/dist/stzh-components/p-4248810c.entry.js.map +1 -0
- package/dist/stzh-components/{p-b4743671.entry.js → p-49d1df6c.entry.js} +2 -2
- package/dist/stzh-components/{p-c58f66b7.entry.js → p-4c34707b.entry.js} +2 -2
- package/dist/stzh-components/{p-9dc09551.entry.js → p-4cc22e58.entry.js} +2 -2
- package/dist/stzh-components/p-53356df0.entry.js +2 -0
- package/dist/stzh-components/p-53356df0.entry.js.map +1 -0
- package/dist/stzh-components/{p-0c40b74a.entry.js → p-57350e0f.entry.js} +2 -2
- package/dist/stzh-components/{p-9868d9ae.entry.js → p-582dce2a.entry.js} +2 -2
- package/dist/stzh-components/{p-6e273ca9.entry.js → p-59f148b6.entry.js} +2 -2
- package/dist/stzh-components/{p-a06207b8.entry.js → p-5c6e3a8d.entry.js} +2 -2
- package/dist/stzh-components/p-64d9db0e.entry.js +2 -0
- package/dist/stzh-components/{p-08a557a9.entry.js.map → p-64d9db0e.entry.js.map} +1 -1
- package/dist/stzh-components/{p-f4a72255.entry.js → p-68eac8f8.entry.js} +2 -2
- package/dist/stzh-components/{p-71a0881e.entry.js → p-6caa57d2.entry.js} +2 -2
- package/dist/stzh-components/{p-51b68c35.entry.js → p-6f9d0b16.entry.js} +2 -2
- package/dist/stzh-components/{p-30190507.entry.js → p-75cb1777.entry.js} +5 -5
- package/dist/stzh-components/p-75cb1777.entry.js.map +1 -0
- package/dist/stzh-components/{p-53fbd93e.entry.js → p-7659680e.entry.js} +2 -2
- package/dist/stzh-components/{p-7c4475b1.entry.js → p-7a89cb17.entry.js} +2 -2
- package/dist/stzh-components/{p-a3227cea.entry.js → p-7cbdff42.entry.js} +2 -2
- package/dist/stzh-components/{p-8b77de57.entry.js → p-7cc03903.entry.js} +2 -2
- package/dist/stzh-components/{p-94c29a35.entry.js → p-7e2ccf70.entry.js} +2 -2
- package/dist/stzh-components/p-7e2ccf70.entry.js.map +1 -0
- package/dist/stzh-components/{p-c820956f.entry.js → p-80ad40e0.entry.js} +2 -2
- package/dist/stzh-components/{p-0d7b090a.entry.js → p-81223fd0.entry.js} +2 -2
- package/dist/stzh-components/{p-0504563f.entry.js → p-81cedb07.entry.js} +2 -2
- package/dist/stzh-components/{p-ff5abecf.entry.js → p-88771be4.entry.js} +2 -2
- package/dist/stzh-components/{p-51e9d435.entry.js → p-920fce3c.entry.js} +2 -2
- package/dist/stzh-components/{p-aca1cbd6.entry.js → p-93ec64d8.entry.js} +2 -2
- package/dist/stzh-components/{p-42ec2ee3.entry.js → p-a34af577.entry.js} +2 -2
- package/dist/stzh-components/p-a34af577.entry.js.map +1 -0
- package/dist/stzh-components/{p-54ba4496.entry.js → p-a406f00b.entry.js} +2 -2
- package/dist/stzh-components/{p-3a5acc86.entry.js → p-b0216e1c.entry.js} +2 -2
- package/dist/stzh-components/{p-e45aaf19.entry.js → p-b1f7a965.entry.js} +2 -2
- package/dist/stzh-components/{p-3a0112f4.entry.js → p-b2577810.entry.js} +2 -2
- package/dist/stzh-components/{p-d68f208f.js → p-b381bb3f.js} +2 -2
- package/dist/stzh-components/p-beb1274a.entry.js +2 -0
- package/dist/stzh-components/{p-24daddfd.entry.js.map → p-beb1274a.entry.js.map} +1 -1
- package/dist/stzh-components/{p-38570073.entry.js → p-beeb3c30.entry.js} +2 -2
- package/dist/stzh-components/{p-0edd3842.entry.js → p-c8319cd5.entry.js} +2 -2
- package/dist/stzh-components/{p-70805ea3.entry.js → p-c8d80b05.entry.js} +2 -2
- package/dist/stzh-components/{p-8de194c8.entry.js → p-ceb4aac5.entry.js} +2 -2
- package/dist/stzh-components/p-ceb4aac5.entry.js.map +1 -0
- package/dist/stzh-components/{p-15f3c6a1.entry.js → p-dbe28f96.entry.js} +2 -2
- package/dist/stzh-components/{p-3f4afd76.entry.js → p-de4b1f2b.entry.js} +2 -2
- package/dist/stzh-components/{p-13881ff2.entry.js → p-de8c2229.entry.js} +2 -2
- package/dist/stzh-components/{p-ee9f0975.entry.js → p-def94196.entry.js} +2 -2
- package/dist/stzh-components/p-def94196.entry.js.map +1 -0
- package/dist/stzh-components/p-e437fcf8.entry.js +2 -0
- package/dist/stzh-components/p-e437fcf8.entry.js.map +1 -0
- package/dist/stzh-components/{p-b1695c60.entry.js → p-e55ed246.entry.js} +2 -2
- package/dist/stzh-components/{p-9c552bd1.entry.js → p-f06def5a.entry.js} +2 -2
- package/dist/stzh-components/{p-380d1021.entry.js → p-f4a3b35e.entry.js} +2 -2
- package/dist/stzh-components/{p-380d1021.entry.js.map → p-f4a3b35e.entry.js.map} +1 -1
- package/dist/stzh-components/p-fe46e220.entry.js +2 -0
- package/dist/stzh-components/p-fe46e220.entry.js.map +1 -0
- 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-linechip/stzh-vbz-linechip.d.ts +10 -2
- package/dist/types/components/CMS/VBZ/stzh-vbz-ticker/stzh-vbz-ticker.d.ts +4 -2
- package/dist/types/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.d.ts +1 -0
- package/dist/types/components/{CMS/stzh-banner → stzh-banner}/stzh-banner.d.ts +2 -2
- package/dist/types/components/{CMS/stzh-banner → stzh-banner}/stzh-banner.localization.d.ts +1 -1
- package/dist/types/components.d.ts +28 -4
- package/dist/types/index.d.ts +22 -1
- package/dist/vscode-data.json +32 -0
- package/package.json +13 -24
- package/dist/collection/components/CMS/stzh-banner/stzh-banner.e2e.js.map +0 -1
- package/dist/collection/components/CMS/stzh-banner/stzh-banner.js.map +0 -1
- package/dist/collection/components/CMS/stzh-banner/stzh-banner.localization.js.map +0 -1
- package/dist/components/p-0b630cac.js.map +0 -1
- package/dist/components/p-2d2bf07d.js.map +0 -1
- package/dist/components/p-3d9ce94f.js.map +0 -1
- package/dist/components/p-c8267c9e.js.map +0 -1
- package/dist/stzh-components/p-08a557a9.entry.js +0 -2
- package/dist/stzh-components/p-24daddfd.entry.js +0 -2
- package/dist/stzh-components/p-30190507.entry.js.map +0 -1
- package/dist/stzh-components/p-357ce1c2.entry.js +0 -2
- package/dist/stzh-components/p-357ce1c2.entry.js.map +0 -1
- package/dist/stzh-components/p-42ec2ee3.entry.js.map +0 -1
- package/dist/stzh-components/p-520572a4.entry.js +0 -2
- package/dist/stzh-components/p-520572a4.entry.js.map +0 -1
- package/dist/stzh-components/p-7157b3d2.entry.js +0 -2
- package/dist/stzh-components/p-7157b3d2.entry.js.map +0 -1
- package/dist/stzh-components/p-7254baa2.entry.js +0 -2
- package/dist/stzh-components/p-7254baa2.entry.js.map +0 -1
- package/dist/stzh-components/p-846c28e5.entry.js +0 -2
- package/dist/stzh-components/p-846c28e5.entry.js.map +0 -1
- package/dist/stzh-components/p-8de194c8.entry.js.map +0 -1
- package/dist/stzh-components/p-94c29a35.entry.js.map +0 -1
- package/dist/stzh-components/p-ee9f0975.entry.js.map +0 -1
- /package/dist/collection/components/{CMS/stzh-banner → stzh-banner}/stzh-banner.localization.js +0 -0
- /package/dist/stzh-components/{p-50a81b5c.entry.js.map → p-0cf78c66.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9b858b7e.entry.js.map → p-1047debc.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d0e8b48e.entry.js.map → p-126e6d91.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3064f4b9.entry.js.map → p-1724d14c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-21c8ffbe.entry.js.map → p-1a926012.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0585149c.entry.js.map → p-1b517ef0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2925f080.entry.js.map → p-37f3a254.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6dd89068.entry.js.map → p-3e6c40f3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0585ce30.entry.js.map → p-40b71f43.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b4743671.entry.js.map → p-49d1df6c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c58f66b7.entry.js.map → p-4c34707b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9dc09551.entry.js.map → p-4cc22e58.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0c40b74a.entry.js.map → p-57350e0f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9868d9ae.entry.js.map → p-582dce2a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6e273ca9.entry.js.map → p-59f148b6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a06207b8.entry.js.map → p-5c6e3a8d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f4a72255.entry.js.map → p-68eac8f8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-71a0881e.entry.js.map → p-6caa57d2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-51b68c35.entry.js.map → p-6f9d0b16.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-53fbd93e.entry.js.map → p-7659680e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7c4475b1.entry.js.map → p-7a89cb17.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a3227cea.entry.js.map → p-7cbdff42.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8b77de57.entry.js.map → p-7cc03903.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c820956f.entry.js.map → p-80ad40e0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0d7b090a.entry.js.map → p-81223fd0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0504563f.entry.js.map → p-81cedb07.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ff5abecf.entry.js.map → p-88771be4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-51e9d435.entry.js.map → p-920fce3c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-aca1cbd6.entry.js.map → p-93ec64d8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-54ba4496.entry.js.map → p-a406f00b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3a5acc86.entry.js.map → p-b0216e1c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e45aaf19.entry.js.map → p-b1f7a965.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3a0112f4.entry.js.map → p-b2577810.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d68f208f.js.map → p-b381bb3f.js.map} +0 -0
- /package/dist/stzh-components/{p-38570073.entry.js.map → p-beeb3c30.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0edd3842.entry.js.map → p-c8319cd5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-70805ea3.entry.js.map → p-c8d80b05.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-15f3c6a1.entry.js.map → p-dbe28f96.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3f4afd76.entry.js.map → p-de4b1f2b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-13881ff2.entry.js.map → p-de8c2229.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b1695c60.entry.js.map → p-e55ed246.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9c552bd1.entry.js.map → p-f06def5a.entry.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stzh-vbz-ticker.js","sourceRoot":"","sources":["../../../../../../src/components/CMS/VBZ/stzh-vbz-ticker/stzh-vbz-ticker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEnF,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,GAAG,EAAyD,MAAM,mBAAmB,CAAC;AAI/F;;GAEG;AAMH,MAAM,OAAO,aAAa;;QAwBhB,uBAAkB,GAA2B,EAAE,CAAC;QAChD,0BAAqB,GAAoB,EAAE,CAAC;QAC5C,2BAAsB,GAAoB,EAAE,CAAC;QAG7C,YAAO,GA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AC,uBAAuB,EAAC,IAAI,EAAC,cAAc,GAAa;oCACxE,IAAI,CAAC,YAAY,CAAC,kBAAkB,CACjC,CACF,CACF;wBACN,4DAAK,KAAK,EAAC,wBAAwB;4BACjC,4DAAK,KAAK,EAAC,wBAAwB,EAAC,IAAI,EAAC,MAAM,IAC5C,IAAI,CAAC,sBAAsB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CACvC,WAAK,KAAK,EAAC,uBAAuB,EAAC,IAAI,EAAC,UAAU;gCAChD,oBAAc,KAAK,EAAC,0BAA0B;oCAC5C,yBAAmB,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,CAAC,KAAK,GAAsB;oCAC3E,WAAK,KAAK,EAAC,kCAAkC,EAAC,IAAI,EAAC,SAAS,IACzD,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC,CACtE,CACO,CACX,CACP,CAAC,CACE,CACF,CACG,CACZ;oBAED,4DAAK,KAAK,EAAC,uBAAuB;wBAChC,6DAAM,IAAI,EAAC,MAAM,GAAQ,CACrB,CACF,CACF,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Fragment, h, Host, Prop, Watch } from \"@stencil/core\";\n\nimport axios from \"axios\";\n\nimport { StzhLocaleAdapter } from \"../../../../index\";\n\nimport { VBZ, VbzTickerDisturbance, VbzTickerInfoUrl, VbzTickerLine } from \"../../../../index\";\n\nimport { StzhVbzTickerLocalizedText } from \"./stzh-vbz-ticker.localization\";\n\n/**\n * @slot link - Optional link to traffic situation\n */\n@Component({\n tag: \"stzh-vbz-ticker\",\n styleUrl: \"stzh-vbz-ticker.scss\",\n scoped: true,\n})\nexport class StzhVbzTicker {\n /** API URL (`{lang}` is replaced in the URL) */\n @Prop() api: string =\n \"https://fpbe.zvv.ch/restproxy/himsearch?format=json&accessId=unic&channels=ticker&additionalfields=tickers:VBZ&orderBy=LMOD_DESC&lang={lang}\";\n\n /** Data to pass in directly (alternative for API call) */\n @Prop() data: any = \"\";\n private _data: any;\n\n /** More info link (`{lang}` and `{id}` are replaced in the URL) */\n @Prop() moreInfoLink: string = \"https://zvv.ch/{lang}/fahrplan-und-informationen/verkehrslage.html?himIds={id}\";\n\n /**\n * Date adapter, for custom parsing/formatting.\n * Must be object with a `parse` function which accepts a `string` and returns a `Date`,\n * and a `format` function which accepts a `Date` and returns a `string`.\n */\n @Prop() dateAdapter: StzhLocaleAdapter;\n\n /** Translation strings. */\n @Prop() localization: StzhVbzTickerLocalizedText;\n\n @Element() element: HTMLStzhVbzTickerElement;\n\n private globalDisturbances: VbzTickerDisturbance[] = [];\n private linesWithDisturbances: VbzTickerLine[] = [];\n private linesWithConstructions: VbzTickerLine[] = [];\n private collator: Intl.Collator;\n\n private counter = {\n [`${VBZ.DISTURBANCE_GLOBAL}`]: 0,\n [`${VBZ.DISTURBANCE_INFORMATION}`]: 0,\n [`${VBZ.DISTURBANCE_CONSTRUCTION}`]: 0,\n [`${VBZ.DISTURBANCE_NORMAL}`]: 0,\n [`${VBZ.DISTURBANCE_EVENT}`]: 0,\n [`${VBZ.DISTURBANCE_BUS}`]: 0,\n };\n\n @Watch(\"localization\")\n localizationWatcher() {\n this.collator = new Intl.Collator(this.localization.$locale, {\n numeric: true,\n });\n }\n\n @Watch(\"api\")\n async apiWatcher(newValue: string) {\n if (!newValue) {\n return;\n }\n\n let apiUrl = this.api.replace(/\\{lang\\}/, this.localization.$locale);\n apiUrl = apiUrl + (apiUrl.includes(\"?\") ? \"&\" : \"?\") + Date.now();\n\n // load data from API\n const { data } = await axios.get(apiUrl);\n\n this.data = data;\n }\n\n @Watch(\"dateAdapter\")\n dateAdapterWatcher(newValue: StzhLocaleAdapter) {\n if (!newValue) {\n this.dateAdapter = window.stzhComponents.utils.createFormatParseAdapter(\n this.localization.$formats,\n this.localization.$globals,\n );\n }\n }\n\n @Watch(\"data\")\n async dataWatcher(newValue: any) {\n if (typeof newValue === \"string\") {\n this._data = JSON.parse(newValue);\n } else {\n this._data = newValue;\n }\n\n const linesToDisplay: { [key: string]: VbzTickerLine } = {};\n\n this._data?.Message?.forEach(message => {\n const urls: VbzTickerInfoUrl[] = message.channel\n .filter(channel => channel.name === VBZ.CHANNEL_TICKER && channel.url)\n .map(channel => channel.url)\n .reduce((a, b) => a.concat(b), []);\n\n const infoUrl = urls.find(url => url.url.indexOf(VBZ.CHANNEL_INFO_URL_FILTER) !== -1);\n\n if (message.baseType === VBZ.BASE_TYPE_GLOBAL) {\n this.counter[VBZ.DISTURBANCE_GLOBAL]++;\n\n this.globalDisturbances.push({\n id: message.id,\n head: message.head,\n category: message.category,\n baseType: message.baseType,\n startDate: new Date(`${message.sDate}T${message.sTime}+02:00`),\n endDate: new Date(`${message.eDate}T${message.eTime}+02:00`),\n altStart: message.altStart,\n altEnd: message.altEnd,\n infoUrl: infoUrl,\n });\n } else {\n this.counter[message.category]++;\n }\n\n // don't add to linesWithDisturbances if no line/product has been linked to\n // or if it is a information disturbance or global\n if (\n message.affectedProduct &&\n message.category !== VBZ.DISTURBANCE_INFORMATION &&\n message.baseType !== VBZ.BASE_TYPE_GLOBAL\n ) {\n const affectedLines = [];\n\n message.affectedProduct.forEach(product => {\n if (typeof linesToDisplay[product.lineId] === \"undefined\") {\n linesToDisplay[product.lineId] = {\n line: product.line,\n name: product.name,\n category: product.cls,\n disturbances: [],\n alert: false,\n };\n }\n\n if (message.category === VBZ.DISTURBANCE_EVENT || message.category === VBZ.DISTURBANCE_GLOBAL) {\n linesToDisplay[product.lineId].alert = true;\n }\n\n // only add disturbance message to line if it was not already added (avoiding same message twice)\n if (!affectedLines.includes(product.lineId)) {\n affectedLines.push(product.lineId);\n\n linesToDisplay[product.lineId].disturbances.push({\n id: message.id,\n head: message.head,\n category: message.category,\n baseType: message.baseType,\n startDate: new Date(`${message.sDate}T${message.sTime}+02:00`),\n endDate: new Date(`${message.eDate}T${message.eTime}+02:00`),\n altStart: message.altStart,\n altEnd: message.altEnd,\n infoUrl: infoUrl,\n });\n }\n });\n }\n });\n\n this.linesWithDisturbances = Object.keys(linesToDisplay)\n .map(key => linesToDisplay[key])\n .filter(\n line => line.disturbances.findIndex(disturbance => disturbance.category !== VBZ.DISTURBANCE_CONSTRUCTION) > -1,\n );\n\n this.linesWithConstructions = Object.keys(linesToDisplay)\n .map(key => linesToDisplay[key])\n .filter(\n line => line.disturbances.findIndex(disturbance => disturbance.category === VBZ.DISTURBANCE_CONSTRUCTION) > -1,\n );\n\n // sort by line name\n this.linesWithDisturbances.sort((a, b) => this.collator.compare(a.line, b.line));\n this.linesWithConstructions.sort((a, b) => this.collator.compare(a.line, b.line));\n }\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"vbz-ticker\");\n this.localizationWatcher();\n }\n\n this.dateAdapterWatcher(this.dateAdapter);\n\n if (this.data) {\n await this.dataWatcher(this.data);\n } else {\n await this.apiWatcher(this.api);\n }\n }\n\n renderDisturbance(disturbance: VbzTickerDisturbance) {\n return (\n <div\n class={{\n \"stzh-vbz-ticker__disturbance\": true,\n [`stzh-vbz-ticker__disturbance--type${disturbance.category}`]: !!disturbance.category,\n }}\n >\n <div class=\"stzh-vbz-ticker__disturbance-text\">\n <div class=\"stzh-vbz-ticker__disturbance-title\">{disturbance.head}</div>\n\n <div class=\"stzh-vbz-ticker__disturbance-date\">\n {this.dateAdapter.formatSpan(\n disturbance.altStart || disturbance.startDate,\n disturbance.altEnd || disturbance.endDate,\n \"date\",\n )}\n </div>\n\n {disturbance.infoUrl ? (\n <stzh-link class=\"stzh-vbz-ticker__disturbance-link\" size=\"small\" href={disturbance.infoUrl.url}>\n {this.localization.moreInfo}\n </stzh-link>\n ) : (\n <stzh-link\n class=\"stzh-vbz-ticker__disturbance-link\"\n size=\"small\"\n target=\"_blank\"\n icon=\"external-link\"\n href={this.moreInfoLink.replace(/\\{lang\\}/, this.localization.$locale).replace(/\\{id\\}/, disturbance.id)}\n >\n {this.localization.moreInfo}\n </stzh-link>\n )}\n </div>\n </div>\n );\n }\n\n render() {\n const classes = {\n \"stzh-vbz-ticker\": true,\n };\n\n return (\n <Host>\n <div class={classes}>\n <div class=\"stzh-vbz-ticker__content\">\n {/* TODO: Old stuff currently in verification whether to redesign or remove. */}\n\n {/*{this.linesWithDisturbances.length === 0 && this.counter[VBZ.DISTURBANCE_GLOBAL] === 0 && (*/}\n {/* <div class=\"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--no-disturbances\">*/}\n {/* <stzh-icon class=\"stzh-vbz-ticker__icon\" name=\"checkmark-circle\"></stzh-icon>*/}\n {/* {this.localization.noDisturbances}*/}\n {/* </div>*/}\n {/*)}*/}\n\n {/*{this.counter[DISTURBANCE_GLOBAL] > 0 && (*/}\n {/* <div class=\"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--major-events\">*/}\n {/* <stzh-icon class=\"stzh-vbz-ticker__icon\" name=\"important-warning\"></stzh-icon>*/}\n {/* {this.localization.majorEventTitle}*/}\n {/* </div>*/}\n {/*)}*/}\n\n {/*<div class=\"stzh-vbz-ticker__description\">*/}\n {/* {this.counter[VBZ.DISTURBANCE_GLOBAL] > 0*/}\n {/* ? this.localization.globalDisturbance*/}\n {/* : this.localization.affectedLines}*/}\n {/*</div>*/}\n\n {/*{this.counter[VBZ.DISTURBANCE_GLOBAL] > 0 && (*/}\n {/* <div class=\"stzh-vbz-ticker__chip\" role=\"listitem\">*/}\n {/* <stzh-tooltip class=\"stzh-vbz-ticker__tooltip\">*/}\n {/* <stzh-vbz-linechip global></stzh-vbz-linechip>*/}\n {/* <div class=\"stzh-vbz-ticker__tooltip-content\" slot=\"content\">*/}\n {/* {this.globalDisturbances.map(disturbance => this.renderDisturbance(disturbance))}*/}\n {/* </div>*/}\n {/* </stzh-tooltip>*/}\n {/* </div>*/}\n {/*)}*/}\n\n {this.counter[VBZ.DISTURBANCE_NORMAL] > 0 && (\n <Fragment>\n <div class=\"stzh-vbz-ticker__title\">\n <div class=\"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--disturbances\">\n <stzh-icon class=\"stzh-vbz-ticker__icon\" name=\"warning\"></stzh-icon>\n {this.localization.disturbancesTitle}\n </div>\n </div>\n <div class=\"stzh-vbz-ticket__lines\">\n <div class=\"stzh-vbz-ticker__chips\" role=\"list\">\n {this.linesWithDisturbances.map(line => (\n <div class=\"stzh-vbz-ticker__chip\" role=\"listitem\">\n <stzh-tooltip class=\"stzh-vbz-ticker__tooltip\">\n <stzh-vbz-linechip line={line.line} alert={line.alert}></stzh-vbz-linechip>\n <div class=\"stzh-vbz-ticker__tooltip-content\" slot=\"content\">\n {line.disturbances.map(disturbance => this.renderDisturbance(disturbance))}\n </div>\n </stzh-tooltip>\n </div>\n ))}\n </div>\n </div>\n </Fragment>\n )}\n\n {/* Constructions etc. */}\n {(this.counter[VBZ.DISTURBANCE_CONSTRUCTION] > 0 ||\n this.counter[VBZ.DISTURBANCE_EVENT] > 0 ||\n this.counter[VBZ.DISTURBANCE_BUS] > 0) && (\n <Fragment>\n <div class=\"stzh-vbz-ticker__title\">\n <div class=\"stzh-vbz-ticker__title-parts\">\n <div class=\"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--others\">\n <stzh-icon class=\"stzh-vbz-ticker__icon\" name=\"construction\"></stzh-icon>\n {this.localization.constructionsTitle}\n </div>\n </div>\n </div>\n <div class=\"stzh-vbz-ticket__lines\">\n <div class=\"stzh-vbz-ticker__chips\" role=\"list\">\n {this.linesWithConstructions.map(line => (\n <div class=\"stzh-vbz-ticker__chip\" role=\"listitem\">\n <stzh-tooltip class=\"stzh-vbz-ticker__tooltip\">\n <stzh-vbz-linechip line={line.line} alert={line.alert}></stzh-vbz-linechip>\n <div class=\"stzh-vbz-ticker__tooltip-content\" slot=\"content\">\n {line.disturbances.map(disturbance => this.renderDisturbance(disturbance))}\n </div>\n </stzh-tooltip>\n </div>\n ))}\n </div>\n </div>\n </Fragment>\n )}\n\n <div class=\"stzh-vbz-ticker__link\">\n <slot name=\"link\"></slot>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"stzh-vbz-ticker.js","sourceRoot":"","sources":["../../../../../../src/components/CMS/VBZ/stzh-vbz-ticker/stzh-vbz-ticker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEnF,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAqB,GAAG,EAAyD,MAAM,mBAAmB,CAAC;AAIlH;;GAEG;AAMH,MAAM,OAAO,aAAa;;QA4BhB,uBAAkB,GAA2B,EAAE,CAAC;QAChD,0BAAqB,GAAoB,EAAE,CAAC;QAC5C,2BAAsB,GAAoB,EAAE,CAAC;QAG7C,YAAO,GAAG;YAChB,CAAC,GAAG,GAAG,CAAC,kBAAkB,EAAE,CAAC,EAAE,CAAC;YAChC,CAAC,GAAG,GAAG,CAAC,uBAAuB,EAAE,CAAC,EAAE,CAAC;YACrC,CAAC,GAAG,GAAG,CAAC,wBAAwB,EAAE,CAAC,EAAE,CAAC;YACtC,CAAC,GAAG,GAAG,CAAC,kBAAkB,EAAE,CAAC,EAAE,CAAC;YAChC,CAAC,GAAG,GAAG,CAAC,iBAAiB,EAAE,CAAC,EAAE,CAAC;YAC/B,CAAC,GAAG,GAAG,CAAC,eAAe,EAAE,CAAC,EAAE,CAAC;SAC9B,CAAC;mBArCA,8IAA8I;oBAG5H,EAAE;gCAK+B,KAAK;4BAG3B,gFAAgF;;;;IA6B/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C,0BAA0B;oCAC5C,yBACE,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,GACpB;oCACrB,WAAK,KAAK,EAAC,kCAAkC,EAAC,IAAI,EAAC,SAAS,IACzD,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC,CACtE,CACO,CACX,CACP,CAAC,CACE,CACF,CACG,CACZ;oBAED,4DAAK,KAAK,EAAC,uBAAuB;wBAChC,6DAAM,IAAI,EAAC,MAAM,GAAQ,CACrB,CACF,CACF,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Fragment, h, Host, Prop, Watch } from \"@stencil/core\";\n\nimport axios from \"axios\";\n\nimport { StzhLocaleAdapter, VBZ, VbzTickerDisturbance, VbzTickerInfoUrl, VbzTickerLine } from \"../../../../index\";\n\nimport { StzhVbzTickerLocalizedText } from \"./stzh-vbz-ticker.localization\";\n\n/**\n * @slot link - Optional link to traffic situation\n */\n@Component({\n tag: \"stzh-vbz-ticker\",\n styleUrl: \"stzh-vbz-ticker.scss\",\n scoped: true,\n})\nexport class StzhVbzTicker {\n /** API URL (`{lang}` is replaced in the URL) */\n @Prop() api: string =\n \"https://fpbe.zvv.ch/restproxy/himsearch?format=json&accessId=unic&channels=ticker&additionalfields=tickers:VBZ&orderBy=LMOD_DESC&lang={lang}\";\n\n /** Data to pass in directly (alternative for API call) */\n @Prop() data: any = \"\";\n private _data: any;\n\n /** Whether to use local color definitions (from line-colors.json) or remote color definitions (from API). If API color definitions\n * are being used, local ones are still used as fallback. */\n @Prop({ reflect: true }) useApiLineColors: boolean = false;\n\n /** More info link (`{lang}` and `{id}` are replaced in the URL) */\n @Prop() moreInfoLink: string = \"https://zvv.ch/{lang}/fahrplan-und-informationen/verkehrslage.html?himIds={id}\";\n\n /**\n * Date adapter, for custom parsing/formatting.\n * Must be object with a `parse` function which accepts a `string` and returns a `Date`,\n * and a `format` function which accepts a `Date` and returns a `string`.\n */\n @Prop() dateAdapter: StzhLocaleAdapter;\n\n /** Translation strings. */\n @Prop() localization: StzhVbzTickerLocalizedText;\n\n @Element() element: HTMLStzhVbzTickerElement;\n\n private globalDisturbances: VbzTickerDisturbance[] = [];\n private linesWithDisturbances: VbzTickerLine[] = [];\n private linesWithConstructions: VbzTickerLine[] = [];\n private collator: Intl.Collator;\n\n private counter = {\n [`${VBZ.DISTURBANCE_GLOBAL}`]: 0,\n [`${VBZ.DISTURBANCE_INFORMATION}`]: 0,\n [`${VBZ.DISTURBANCE_CONSTRUCTION}`]: 0,\n [`${VBZ.DISTURBANCE_NORMAL}`]: 0,\n [`${VBZ.DISTURBANCE_EVENT}`]: 0,\n [`${VBZ.DISTURBANCE_BUS}`]: 0,\n };\n\n @Watch(\"localization\")\n localizationWatcher() {\n this.collator = new Intl.Collator(this.localization.$locale, {\n numeric: true,\n });\n }\n\n @Watch(\"api\")\n async apiWatcher(newValue: string) {\n if (!newValue) {\n return;\n }\n\n let apiUrl = this.api.replace(/\\{lang\\}/, this.localization.$locale);\n apiUrl = apiUrl + (apiUrl.includes(\"?\") ? \"&\" : \"?\") + Date.now();\n\n // load data from API\n const { data } = await axios.get(apiUrl);\n\n this.data = data;\n }\n\n @Watch(\"dateAdapter\")\n dateAdapterWatcher(newValue: StzhLocaleAdapter) {\n if (!newValue) {\n this.dateAdapter = window.stzhComponents.utils.createFormatParseAdapter(\n this.localization.$formats,\n this.localization.$globals,\n );\n }\n }\n\n @Watch(\"data\")\n async dataWatcher(newValue: any) {\n if (typeof newValue === \"string\") {\n this._data = JSON.parse(newValue);\n } else {\n this._data = newValue;\n }\n\n const linesToDisplay: { [key: string]: VbzTickerLine } = {};\n\n this._data?.Message?.forEach(message => {\n const urls: VbzTickerInfoUrl[] = message.channel\n .filter(channel => channel.name === VBZ.CHANNEL_TICKER && channel.url)\n .map(channel => channel.url)\n .reduce((a, b) => a.concat(b), []);\n\n const infoUrl = urls.find(url => url.url.indexOf(VBZ.CHANNEL_INFO_URL_FILTER) !== -1);\n\n if (message.baseType === VBZ.BASE_TYPE_GLOBAL) {\n this.counter[VBZ.DISTURBANCE_GLOBAL]++;\n\n this.globalDisturbances.push({\n id: message.id,\n head: message.head,\n category: message.category,\n baseType: message.baseType,\n startDate: new Date(`${message.sDate}T${message.sTime}+02:00`),\n endDate: new Date(`${message.eDate}T${message.eTime}+02:00`),\n altStart: message.altStart,\n altEnd: message.altEnd,\n infoUrl: infoUrl,\n });\n } else {\n this.counter[message.category]++;\n }\n\n // don't add to linesWithDisturbances if no line/product has been linked to\n // or if it is a information disturbance or global\n if (\n message.affectedProduct &&\n message.category !== VBZ.DISTURBANCE_INFORMATION &&\n message.baseType !== VBZ.BASE_TYPE_GLOBAL\n ) {\n const affectedLines = [];\n\n message.affectedProduct.forEach(product => {\n if (typeof linesToDisplay[product.lineId] === \"undefined\") {\n linesToDisplay[product.lineId] = {\n line: product.line,\n icon: product.icon,\n name: product.name,\n category: product.cls,\n disturbances: [],\n alert: false,\n };\n }\n\n if (message.category === VBZ.DISTURBANCE_EVENT || message.category === VBZ.DISTURBANCE_GLOBAL) {\n linesToDisplay[product.lineId].alert = true;\n }\n\n // only add disturbance message to line if it was not already added (avoiding same message twice)\n if (!affectedLines.includes(product.lineId)) {\n affectedLines.push(product.lineId);\n\n linesToDisplay[product.lineId].disturbances.push({\n id: message.id,\n head: message.head,\n category: message.category,\n baseType: message.baseType,\n startDate: new Date(`${message.sDate}T${message.sTime}+02:00`),\n endDate: new Date(`${message.eDate}T${message.eTime}+02:00`),\n altStart: message.altStart,\n altEnd: message.altEnd,\n infoUrl: infoUrl,\n });\n }\n });\n }\n });\n\n this.linesWithDisturbances = Object.keys(linesToDisplay)\n .map(key => linesToDisplay[key])\n .filter(\n line => line.disturbances.findIndex(disturbance => disturbance.category !== VBZ.DISTURBANCE_CONSTRUCTION) > -1,\n );\n\n this.linesWithConstructions = Object.keys(linesToDisplay)\n .map(key => linesToDisplay[key])\n .filter(\n line => line.disturbances.findIndex(disturbance => disturbance.category === VBZ.DISTURBANCE_CONSTRUCTION) > -1,\n );\n\n // sort by line name\n this.linesWithDisturbances.sort((a, b) => this.collator.compare(a.line, b.line));\n this.linesWithConstructions.sort((a, b) => this.collator.compare(a.line, b.line));\n }\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"vbz-ticker\");\n this.localizationWatcher();\n }\n\n this.dateAdapterWatcher(this.dateAdapter);\n\n if (this.data) {\n await this.dataWatcher(this.data);\n } else {\n await this.apiWatcher(this.api);\n }\n }\n\n renderDisturbance(disturbance: VbzTickerDisturbance) {\n return (\n <div\n class={{\n \"stzh-vbz-ticker__disturbance\": true,\n [`stzh-vbz-ticker__disturbance--type${disturbance.category}`]: !!disturbance.category,\n }}\n >\n <div class=\"stzh-vbz-ticker__disturbance-text\">\n <div class=\"stzh-vbz-ticker__disturbance-title\">{disturbance.head}</div>\n\n <div class=\"stzh-vbz-ticker__disturbance-date\">\n {this.dateAdapter.formatSpan(\n disturbance.altStart || disturbance.startDate,\n disturbance.altEnd || disturbance.endDate,\n \"date\",\n )}\n </div>\n\n {disturbance.infoUrl ? (\n <stzh-link class=\"stzh-vbz-ticker__disturbance-link\" size=\"small\" href={disturbance.infoUrl.url}>\n {this.localization.moreInfo}\n </stzh-link>\n ) : (\n <stzh-link\n class=\"stzh-vbz-ticker__disturbance-link\"\n size=\"small\"\n target=\"_blank\"\n icon=\"external-link\"\n href={this.moreInfoLink.replace(/\\{lang\\}/, this.localization.$locale).replace(/\\{id\\}/, disturbance.id)}\n >\n {this.localization.moreInfo}\n </stzh-link>\n )}\n </div>\n </div>\n );\n }\n\n render() {\n const classes = {\n \"stzh-vbz-ticker\": true,\n };\n\n return (\n <Host>\n <div class={classes}>\n <div class=\"stzh-vbz-ticker__content\">\n {/* TODO: Old stuff currently in verification whether to redesign or remove. */}\n\n {/*{this.linesWithDisturbances.length === 0 && this.counter[VBZ.DISTURBANCE_GLOBAL] === 0 && (*/}\n {/* <div class=\"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--no-disturbances\">*/}\n {/* <stzh-icon class=\"stzh-vbz-ticker__icon\" name=\"checkmark-circle\"></stzh-icon>*/}\n {/* {this.localization.noDisturbances}*/}\n {/* </div>*/}\n {/*)}*/}\n\n {/*{this.counter[DISTURBANCE_GLOBAL] > 0 && (*/}\n {/* <div class=\"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--major-events\">*/}\n {/* <stzh-icon class=\"stzh-vbz-ticker__icon\" name=\"important-warning\"></stzh-icon>*/}\n {/* {this.localization.majorEventTitle}*/}\n {/* </div>*/}\n {/*)}*/}\n\n {/*<div class=\"stzh-vbz-ticker__description\">*/}\n {/* {this.counter[VBZ.DISTURBANCE_GLOBAL] > 0*/}\n {/* ? this.localization.globalDisturbance*/}\n {/* : this.localization.affectedLines}*/}\n {/*</div>*/}\n\n {/*{this.counter[VBZ.DISTURBANCE_GLOBAL] > 0 && (*/}\n {/* <div class=\"stzh-vbz-ticker__chip\" role=\"listitem\">*/}\n {/* <stzh-tooltip class=\"stzh-vbz-ticker__tooltip\">*/}\n {/* <stzh-vbz-linechip global></stzh-vbz-linechip>*/}\n {/* <div class=\"stzh-vbz-ticker__tooltip-content\" slot=\"content\">*/}\n {/* {this.globalDisturbances.map(disturbance => this.renderDisturbance(disturbance))}*/}\n {/* </div>*/}\n {/* </stzh-tooltip>*/}\n {/* </div>*/}\n {/*)}*/}\n\n {this.counter[VBZ.DISTURBANCE_NORMAL] > 0 && (\n <Fragment>\n <div class=\"stzh-vbz-ticker__title\">\n <div class=\"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--disturbances\">\n <stzh-icon class=\"stzh-vbz-ticker__icon\" name=\"warning\"></stzh-icon>\n {this.localization.disturbancesTitle}\n </div>\n </div>\n <div class=\"stzh-vbz-ticket__lines\">\n <div class=\"stzh-vbz-ticker__chips\" role=\"list\">\n {this.linesWithDisturbances.map(line => (\n <div class=\"stzh-vbz-ticker__chip\" role=\"listitem\">\n <stzh-tooltip class=\"stzh-vbz-ticker__tooltip\">\n <stzh-vbz-linechip\n line={line.line}\n alert={line.alert}\n icon={line.icon}\n useApiLineColors={this.useApiLineColors}\n ></stzh-vbz-linechip>\n <div class=\"stzh-vbz-ticker__tooltip-content\" slot=\"content\">\n {line.disturbances.map(disturbance => this.renderDisturbance(disturbance))}\n </div>\n </stzh-tooltip>\n </div>\n ))}\n </div>\n </div>\n </Fragment>\n )}\n\n {/* Constructions etc. */}\n {(this.counter[VBZ.DISTURBANCE_CONSTRUCTION] > 0 ||\n this.counter[VBZ.DISTURBANCE_EVENT] > 0 ||\n this.counter[VBZ.DISTURBANCE_BUS] > 0) && (\n <Fragment>\n <div class=\"stzh-vbz-ticker__title\">\n <div class=\"stzh-vbz-ticker__title-parts\">\n <div class=\"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--others\">\n <stzh-icon class=\"stzh-vbz-ticker__icon\" name=\"construction\"></stzh-icon>\n {this.localization.constructionsTitle}\n </div>\n </div>\n </div>\n <div class=\"stzh-vbz-ticket__lines\">\n <div class=\"stzh-vbz-ticker__chips\" role=\"list\">\n {this.linesWithConstructions.map(line => (\n <div class=\"stzh-vbz-ticker__chip\" role=\"listitem\">\n <stzh-tooltip class=\"stzh-vbz-ticker__tooltip\">\n <stzh-vbz-linechip\n line={line.line}\n alert={line.alert}\n icon={line.icon}\n useApiLineColors={this.useApiLineColors}\n ></stzh-vbz-linechip>\n <div class=\"stzh-vbz-ticker__tooltip-content\" slot=\"content\">\n {line.disturbances.map(disturbance => this.renderDisturbance(disturbance))}\n </div>\n </stzh-tooltip>\n </div>\n ))}\n </div>\n </div>\n </Fragment>\n )}\n\n <div class=\"stzh-vbz-ticker__link\">\n <slot name=\"link\"></slot>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { createComponentStory } from '../../../../utils/story-utils';
|
|
2
|
-
import { withActions } from '@storybook/addon-actions/decorator';
|
|
3
2
|
import readme from './readme.md?raw';
|
|
4
3
|
|
|
5
4
|
// import { getFigmaLink } from '../../../figma';
|
|
@@ -22,9 +21,6 @@ export default {
|
|
|
22
21
|
component: 'stzh-vbz-ticker',
|
|
23
22
|
parameters: {
|
|
24
23
|
layout: 'padded',
|
|
25
|
-
actions: {
|
|
26
|
-
handles: []
|
|
27
|
-
},
|
|
28
24
|
docs: {
|
|
29
25
|
description: {
|
|
30
26
|
component: readme
|
|
@@ -35,13 +31,13 @@ export default {
|
|
|
35
31
|
url: getFigmaLink('vbz_ticker', 'EgegIml8Pz4neEpF8KLaDF'),
|
|
36
32
|
allowFullscreen: true
|
|
37
33
|
}
|
|
38
|
-
}
|
|
39
|
-
decorators: [withActions]
|
|
34
|
+
}
|
|
40
35
|
};
|
|
41
36
|
|
|
42
37
|
export const Local = {
|
|
43
38
|
render: (args) => story(args, TEMPLATE),
|
|
44
39
|
args: {
|
|
40
|
+
api: '',
|
|
45
41
|
data: TestResponse
|
|
46
42
|
}
|
|
47
43
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { createComponentStory } from '../../../utils/story-utils';
|
|
2
|
-
import { withActions } from '@storybook/addon-actions/decorator';
|
|
3
2
|
import readme from './readme.md?raw';
|
|
4
3
|
|
|
5
4
|
import { getFigmaLink } from '../../../../figma';
|
|
@@ -16,8 +15,8 @@ export default {
|
|
|
16
15
|
component: COMPONENT_NAME,
|
|
17
16
|
parameters: {
|
|
18
17
|
layout: 'padded',
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
stzhActions: {
|
|
19
|
+
events: ['stzhItemClick']
|
|
21
20
|
},
|
|
22
21
|
docs: {
|
|
23
22
|
description: {
|
|
@@ -29,8 +28,7 @@ export default {
|
|
|
29
28
|
url: getFigmaLink('archivelist'),
|
|
30
29
|
allowFullscreen: true
|
|
31
30
|
}
|
|
32
|
-
}
|
|
33
|
-
decorators: [withActions]
|
|
31
|
+
}
|
|
34
32
|
};
|
|
35
33
|
|
|
36
34
|
const itemsOnlyLink = [
|
|
@@ -61,7 +61,7 @@ export class StzhBathstatusItem {
|
|
|
61
61
|
"stzh-bathstatus-item": true,
|
|
62
62
|
[`stzh-bathstatus-item--${this.variant}`]: true,
|
|
63
63
|
};
|
|
64
|
-
return (h(Host, { key: '
|
|
64
|
+
return (h(Host, { key: '496723ede68faa084f028757800646bdb6d0efe5' }, h("div", { key: 'f964111a68fe87f325983a6cba18ad2e5e3a6822', class: classes }, !!this._item.description && h("div", { key: 'fcff4560326baecc20fe33318405cfec8001ce39', class: "stzh-bathstatus-item__description" }, this._item.description), h("div", { key: '312ba9f35912c9b0f10b027b4ba45011c84dc328', class: "stzh-bathstatus-item-container" }, h("stzh-link", { key: '9f44c9a983562d21fd3c236b39602174c38e4f68', class: "stzh-bathstatus-item__title", size: "default", textAlign: "left", href: this._item.url, label: this._item.title }), !!this._item.temp && (h(Fragment, { key: '9f5707749b2d45751f613b44b66d53cce88062da' }, h("div", { key: 'a82f2637155056bd56516f90c63deba5a8f1513d', class: "stzh-bathstatus-item-key" }, this.localization.temperature), h("div", { key: '55580e766b16ca9468671fb25adb6844a27f49cf', class: "stzh-bathstatus-item-value" }, this._item.temp))), !!this._item.statusMessage && (h(Fragment, { key: '68dbe0674fedf8368b91d6ed0af4fbe4cf23d6a3' }, h("div", { key: 'd8a01718ba91c0d39a6acdee5fb026be43c57cc5', class: "stzh-bathstatus-item-key" }, this.localization.status), h("div", { key: 'f6f0ed954a73ca41d033b0efdb1df98e2a1ffb99', class: "stzh-bathstatus-item-value" }, this._item.statusMessage))), !!this._item.lastUpdate && (h(Fragment, { key: '0b08d1badca10127a3aa9d1c8c37390f057c6da6' }, h("div", { key: 'bf907c9d6a91ae8517fd7acff92a2edc4b6d7436', class: "stzh-bathstatus-item-key" }, this.localization.lastUpdate), h("div", { key: '493c1714b655cdfc47ce64af428730fc32df0a7d', class: "stzh-bathstatus-item-value" }, this.isMedium ? (h(Fragment, null, this.dateAdapter.format(this.getParsedDate(this._item.lastUpdate), "datetimeLong"))) : (h(Fragment, null, this.dateAdapter.format(this.getParsedDate(this._item.lastUpdate), "dateInput"), " ", this.dateAdapter.format(this.getParsedDate(this._item.lastUpdate), "time")))))), !!this._item.uvIndexPrediction && (h(Fragment, { key: '3299590f8fc202bed2614a89222e53953145acc4' }, h("div", { key: '1c0efe42467f9a6281eb1ef34c8372bba53ff465', class: "stzh-bathstatus-item-key" }, this.localization.uvIndexPrediction), h("div", { key: '7a1920a5ff79d5c04a55131260e7972b925a3d7a', class: "stzh-bathstatus-item-value stzh-bathstatus-item-uv-index-prediction" }, h("img", { key: '138c3757b4ac5f239078c5bf22f7b48d664d5914', src: `${window.stzhComponents.pathMedia}/uvindex/uvindex_${this._item.uvIndexPrediction}.gif`, alt: "UV Index" + this._item.uvIndexPrediction }))))))));
|
|
65
65
|
}
|
|
66
66
|
static get is() { return "stzh-bathstatus-item"; }
|
|
67
67
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { createComponentStory } from '../../../utils/story-utils';
|
|
2
|
-
import { withActions } from '@storybook/addon-actions/decorator';
|
|
3
2
|
import readme from './readme.md?raw';
|
|
4
3
|
|
|
5
4
|
import { getFigmaLink } from '../../../../figma';
|
|
@@ -26,8 +25,7 @@ export default {
|
|
|
26
25
|
url: getFigmaLink('bathstatus'),
|
|
27
26
|
allowFullscreen: true
|
|
28
27
|
}
|
|
29
|
-
}
|
|
30
|
-
decorators: [withActions]
|
|
28
|
+
}
|
|
31
29
|
};
|
|
32
30
|
|
|
33
31
|
export const Teaser = {
|
|
@@ -46,7 +46,7 @@ export class StzhBathstatusList {
|
|
|
46
46
|
const classes = {
|
|
47
47
|
"stzh-bathstatus-list": true,
|
|
48
48
|
};
|
|
49
|
-
return (h(Host, { key: '
|
|
49
|
+
return (h(Host, { key: '3235d24fdb96e731f5c69cd047cb93c6cc9591c4' }, h("div", { key: '0b0a5057591bc6b42d1ea0b21d39d0f0792b1825', class: classes }, h("stzh-overlay", { key: '101a29f2f84ebd779cd7dfc0fafa641041f43007', open: this.isLoading }, h("stzh-loader", { key: 'dd42ccca1e95bfd94d0538cdf1f6703dd8800b62', label: this.loadingText })), h("div", { key: 'ac6f1edc4dc9ccf87ac39b13badf7c0c2b1758f2', class: "stzh-bathstatus-list__header" }, h("div", { key: 'ab5a79808a6a402ac11b387ad15531525f111d6b', class: "stzh-bathstatus-list__column-name" }, this.localization.bath), h("div", { key: '47ccc622355e4e6e9e2e1e257019b81054554753', class: "stzh-bathstatus-list__column-name" }, this.localization.water), h("div", { key: '85fed10dafc95e26a6aa3693ef5c4330f8f676c8', class: "stzh-bathstatus-list__column-name" }, this.localization.status), h("div", { key: 'ac1b7e59b54d2b6f5374fca7de73784cb155d110', class: "stzh-bathstatus-list__column-name" }, this.localization.lastUpdate)), h("div", { key: '1f0a7c7aeacf1fee9df240d484773dfa89ea9d06', class: "stzh-bathstatus-list__list", role: "list" }, h("slot", { key: 'c719f099bc318a3608419e2c49d7e1187c3b2445' }), this.items.length > 0 && (h(Fragment, { key: 'fa9d43202adf7f76864f28b4844e826af079937c' }, this.items.map(item => (h("stzh-bathstatus-item", { item: item, variant: "list" })))))))));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "stzh-bathstatus-list"; }
|
|
52
52
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { createComponentStory } from '../../../utils/story-utils';
|
|
2
|
-
import { withActions } from '@storybook/addon-actions/decorator';
|
|
3
2
|
import readme from './readme.md?raw';
|
|
4
3
|
|
|
5
4
|
const COMPONENT_NAME = 'stzh-bathstatus-list';
|
|
@@ -38,8 +37,7 @@ export default {
|
|
|
38
37
|
component: readme
|
|
39
38
|
}
|
|
40
39
|
}
|
|
41
|
-
}
|
|
42
|
-
decorators: [withActions]
|
|
40
|
+
}
|
|
43
41
|
};
|
|
44
42
|
|
|
45
43
|
export const WithApi = {
|
|
@@ -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: '5245e138f4b81ffb187fe51e3155fdee27947c66', "has-image": hasImage }, h("article", { key: 'c6613a4e654f576be4f0955aaf88906084f24b6e', class: classes, "aria-label": this.heading, role: "listitem" }, this.tag && h("stzh-tag", { key: '063bf7197a15ca8634181e947a61cc177ea3baea', class: "stzh-card-superteaser__tag", label: this.tag, nonInteractive: true }), h("div", { key: '89de45450e9d783999ab5399107b21d62c5951d5', class: "stzh-card-superteaser__heading-wrapper" }, this.breadcrumbItems && (h("stzh-breadcrumb", { key: '92cf3e4a99eefd42df9a392ad1feddcee7b820b0', class: "stzh-card-superteaser__breadcrumb", items: this.breadcrumbItems, variant: "teaser" })), this.dateline && h("div", { key: '1b80cba9903a04e7350e1463c5e7da6e057af10e', class: "stzh-card-superteaser__dateline" }, this.dateline), this.topic && h("div", { key: 'a64ef101161aa9ff154e4920c2b627af658d9681', class: "stzh-card-superteaser__topic" }, this.topic), h(Heading, { key: 'd874ccd312a1c7f741b4c0890ce3d69e63e756ad', class: `stzh-card-superteaser__heading ${hasSlot(this.element, "heading") ? "stzh-card-superteaser__heading--slotted" : ""}` }, h(HeadingLink, { key: '0a50a5cb89cab3a224f853fd84d70f053e99994b', 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: '0aa278f12ea65d12d5fe9734a08f09b2b97430d2', class: "stzh-card-superteaser__description-wrapper" }, (eventDateStart || this.eventLocation) && (h("div", { key: '81acfe34018cb2480f43b1c72a64a017938ea2e5', class: "stzh-card-superteaser__event-infos" }, eventDateStart && (h("div", { key: '74f580895437ce87c342c87bb4feafbb6c06a7a8', class: "stzh-card-superteaser__event-date" }, h("span", { key: '76f769c55a9764ea3dbcc57bd2f0fa86e93e5f87' }, this.dateAdapter.format(eventDateStart, "dateLong")), this.hasProperStartAndOrEndDate(eventDateStart, eventDateEnd) && (h("span", { key: '99ecc1f86eccd583cf51b8b2929c0f5fdc84702c' }, !this.isOnHomepage && h("span", { key: '447370b6bb41cbd454082cce0f6468f11bcc4b98' }, ",\u00A0"), this.dateAdapter.formatSpan(eventDateStart, eventDateEnd, "time"))))), this.eventLocation && h("div", { key: 'aac3854ca21a2722c019e7adb21d9adcf8f191cb', class: "stzh-card-superteaser__event-location" }, this.eventLocation))), h("div", { key: 'df4517459f1b1b4dec38dfe92487aba03fd5f44b', 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: '497d53d2fa56e32797dba0060881bee0a1bb67dd', class: "stzh-card-superteaser__image" }, eventDateStart && (h("div", { key: 'c653466d2e71ce9f3b619a612aa16e83c0203e5a', class: "stzh-card-superteaser__event-date-teaser" }, h("div", { key: '909af11c3a7ac1a34051b03cdce753a10c27ad51', class: "stzh-card-superteaser__event-date-teaser-day-name" }, this.localization.$globals.dayNamesShort[eventDateStart.getDay()]), h("div", { key: 'a3f059a03ded1c2889d78777583a1094a09dbf41', class: "stzh-card-superteaser__event-date-teaser-day" }, eventDateStart.getDate() < 10 && "0", eventDateStart.getDate()), h("div", { key: '208913a664710ce9b5aaa2e9645658ba480fe220', class: "stzh-card-superteaser__event-date-teaser-month" }, this.localization.$globals.monthNamesShort[eventDateStart.getMonth()]))), this.service && h("div", { key: 'ad9242d67c859ba4d2c5fed3d3b3f6fbb59581a1', class: "stzh-card-superteaser__service" }, this.service), h("slot", { key: '00463aae0648705918c63fb808cbc82a10761694', name: "image" }), this.placeholderImageEnabled && !hasImageSlot && (h("stzh-ratio", { key: '4064134ef853017f4fa059daca447372d213c0b2', ratio: "2:1" }, h("div", { key: '453d4385f91b8e0216626a3ce186fb8f164c8d4c', class: "stzh-card-superteaser__image-placeholder", innerHTML: PlaceholderImage })))), (this._meta.length > 0 || this.datalistItems || !!this.downloadHeading || this._downloadMeta.length > 0) && (h("div", { key: 'de452159c99b43aee0ad15bc8a8c9184c6dc75b0', class: "stzh-card-superteaser__meta-wrapper" }, this.datalistItems && (h("stzh-datalist", { key: 'f193f54bba19d97ba295fa7c8be6082df96ed4cd', class: "stzh-card-searchresult__datalist", items: this.datalistItems })), this._meta.length > 0 && (h("div", { key: '38bc118f5fbf031a768e38818671abf539462c79', class: "stzh-card-superteaser__meta" }, h("div", { key: '490e9a78baa4ac470d56c6389adccee0a6651ae9', 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: '8978cc5afac406bb40e78973db170ab0ad054502', class: "stzh-card-superteaser__download" }, h("div", { key: '977bb9149a8efe4305103e930362d5c654f27bd2', class: "stzh-card-superteaser__download-data" }, this.downloadHeading && (h("div", { key: '61ae2dc917b5b401198ac1ad1cd2a5434c20e7c6', class: "stzh-card-superteaser__download-heading" }, this.downloadHeading)), this._downloadMeta.length > 0 && (h("div", { key: '03e2fd4a618d1be3776ae9bb1c03195904263c25', 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: '4e21b06bc0d47eff647e0a0d5a93877298ce9837', class: "stzh-card-superteaser__download-button" }, h("stzh-icon", { key: '6ba567d0c88b27cd24c4d85af91a5ad683537477', 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"; }
|
package/dist/collection/components/CMS/stzh-card-superteaser/stzh-card-superteaser.stories.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { createComponentStory } from '../../../utils/story-utils';
|
|
2
|
-
import { withActions } from '@storybook/addon-actions/decorator';
|
|
3
2
|
import readme from './readme.md?raw';
|
|
4
3
|
|
|
5
4
|
import { getFigmaLink } from '../../../../figma';
|
|
@@ -30,8 +29,8 @@ export default {
|
|
|
30
29
|
component: COMPONENT_NAME,
|
|
31
30
|
parameters: {
|
|
32
31
|
layout: 'padded',
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
stzhActions: {
|
|
33
|
+
events: ['stzhClick']
|
|
35
34
|
},
|
|
36
35
|
docs: {
|
|
37
36
|
description: {
|
|
@@ -43,8 +42,7 @@ export default {
|
|
|
43
42
|
url: getFigmaLink('card-superteaser'),
|
|
44
43
|
allowFullscreen: true
|
|
45
44
|
}
|
|
46
|
-
}
|
|
47
|
-
decorators: [withActions]
|
|
45
|
+
}
|
|
48
46
|
};
|
|
49
47
|
|
|
50
48
|
export const Media = {
|
|
@@ -147,7 +147,7 @@ export class StzhContact {
|
|
|
147
147
|
const isPerson = this.type === "Person";
|
|
148
148
|
const isOrganization = this.type === "Organization";
|
|
149
149
|
const hasMainHeading = !!this.mainHeading || hasSlot(this.element, "main-heading");
|
|
150
|
-
return (h(Host, { key: '
|
|
150
|
+
return (h(Host, { key: 'bf25ad93a131e157c8864ab9f2bd4dd879e0e606', "has-availability": !!this.availability ? "true" : "false" }, h("div", { key: '3b447e2c45a068e9ca65b3122556de9c2d1c0ec1', class: classes, itemscope: true, itemtype: `http://schema.org/${this.type}` }, h("div", { key: '55b8ad35e08235920c17f4a2ce8ba3f3c0e3391c', class: "stzh-contact__main-heading", itemprop: (isOrganization && !this.heading) || (isPerson && !this.name) ? "name" : null }, hasMainHeading && (h("div", { key: 'f12d78e085e96b56bf3c9f6d7afa2e090f8fa9ab', class: "stzh-contact__main-heading-section" }, this.mainHeading ? (h("stzh-heading", { level: this.mainHeadingLevel, htmlContent: this.mainHeading })) : (h("slot", { name: "main-heading" })))), h("div", { key: 'fd8e05cd628a2cf92d0007fce0f46243e5454ea1', class: isPerson && "stzh-contact__main-heading-text" }, this.personRole && isPerson && (h("stzh-heading", { key: 'cddded3e2fa37b1e7c5764513b4f07276ed91a8a', curve: "h3", level: "3" }, h("span", { key: 'b370f4bfba87a11e3e0390e3e9b10827763ea7c2', class: "stzh-contact__role" }, this.personRole))), this.cityLabel && isOrganization && (h("stzh-heading", { key: '6730ccc397c7f8b45830dc8f82bc4fed633043ae', curve: "h3", level: "3" }, h("span", { key: '2e7b9c876a4e748c37f46b1046f9ad39fa594ca7', class: "stzh-contact__departament" }, this.cityLabel))), this.departament && isOrganization && (h("stzh-heading", { key: '36a33a603c8cbbbbdcfb2265b78773419af2e301', curve: "h3", level: "3" }, h("span", { key: '21757c0c447187f65bd7a1a7ebc34be6e9dabcaf', class: "stzh-contact__departament" }, this.departament))), ((isPerson && this.name) || (isOrganization && this.heading)) && (h("div", { key: '47d6a781a8e9a74d84a2bef798c732d4c5a251d8', class: "stzh-contact__main-heading-type" }, this.name && isPerson && h("stzh-heading", { key: '715ce5b13e007d8b9682af28b8a3e30fc0fd0502', level: "3", curve: "h3", htmlContent: this.name }), this.heading && isOrganization && (h("stzh-heading", { key: '4079e5ca61a0cf906d86b8b17829e60306327a46', level: this.headingLevel, htmlContent: this.heading }))))), isPerson && (h("div", { key: '72916339a3d962e73a88d24ca555a05bba0cccc8', class: "stzh-contact__image-wrapper" }, h("div", { key: '2baf4c9fc505e31b09fb5406a200c9f33ad6eb31', class: "stzh-contact__image" }, h("slot", { key: 'ec9b40a777e52c218e24316a4f286e6dccc2e4b7', name: "image" }))))), h("div", { key: 'f098563592ef9574ba91dd15142568c33b245526', class: "stzh-contact__responsibility" }, this.responsibilityTitle && (h(HeadingLevel, { key: '15e3cb269447d33bff4801c5fa878fc9a4e4c6b9', class: "stzh-contact__heading", itemprop: this.responsibilityTitle, innerHTML: this.responsibilityTitle })), this.responsibility && (h("stzh-text", { key: '935e68f51a0ab25732d4172eb495cf58b048bf6a', class: "stzh-contact__responsibility-text" }, this.responsibility))), h("div", { key: '9b68c3768e1afe50577e5e4691979cf6ddbfd755', class: "stzh-contact__contact-form" }, h("slot", { key: '391cc7caf910529414e5a7dab070737f9eaf841c', name: "contact-form" })), h("div", { key: '5938f237d5d2f9669cc781b90dae54d162d62d54', class: "stzh-contact__additional" }, h("slot", { key: '23725f1a2af406f17ba156355324c35aac9c53ca' })), h("div", { key: '2e1e56fe05e7416a566767350b04182dff8f6039', class: "stzh-contact__info" }, this.contactTitle && (h(AvailabilityTitleElement, { key: '8a3ea58301037501a03ef4c158205717bc222bf9', class: "stzh-contact__availability-title" }, this.contactTitle)), h("div", { key: '68ed8a7fe6f4735eb5737184b357e6e152ca23fb', class: "stzh-contact__address", itemprop: "address", itemscope: true, itemtype: "http://schema.org/PostalAddress", innerHTML: this.address }, !this.address && (h(Fragment, { key: '3d541c083a663cceef90bac63a05e58537b83f2c' }, this._street.length > 0 && (h("div", { key: '37f8e3393ec34c2602c6135fde2148cda29f9f89', class: "stzh-contact__street", itemprop: "streetAddress" }, this._street.map((street) => (h(Fragment, null, street, h("br", null)))), this._streetInfo.length > 0 && (h(Fragment, { key: 'cf65ef6f96133623144496698121519ff469b210' }, h("br", { key: '7ed101ca88620f4faaeb9439c10502428c3f6566' }), " ", this._streetInfo.map((streetInfo) => (h(Fragment, null, streetInfo, h("br", null)))))))), this.postalCode && (h("span", { key: '349153e65a33426a71acb7ccfa1f1301a643b2fe', class: "stzh-contact__postal-code", itemprop: "postalCode" }, this.postalCode, "\u00A0")), this.location && (h("span", { key: 'ec60c015ee75fa578705a53c2231b1116f54aab8', class: "stzh-contact__locality", itemprop: "addressLocality" }, this.location)), h("slot", { key: '55087fad059c1ddfba16cbbcb3d7de4460085838', name: "address" })))), this._numbers.length > 0 && (h("div", { key: '7c84acb77f087a34eeb70e6b33e506f8f2f971e7', 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: 'ccbc9b0af8537514099157d86297b08c99677144', 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))))))), this.websites && (h("div", { key: 'a747f8c8d665f70147c54ee7266a0965582048c2', class: "stzh-contact__websites" }, this._websites.map(website => (h("div", { class: "stzh-contact__website" }, h("span", null, website.label, "\u00A0"), h("stzh-datalist-item", { href: website.href, value: website.text, rel: website.rel })))))), h("div", { key: 'b78a674a69669dcb03b036f91006c27a04c3dbd5', class: "stzh-contact__pobox", innerHTML: this.pobox }, !this.pobox && (h(Fragment, { key: 'cf25742b636cfb796dfbb5c389ef5d0079368bf8' }, this.poboxHeading && h("div", { key: 'ca14098c9afdcee223d4764aad8340a47287d7b1', class: "stzh-contact__pobox-heading" }, this.poboxHeading), this.poboxTitle && h("div", { key: '54e0766f51d8b09b6d08915737cc691b75b45517', class: "stzh-contact__pobox-title" }, this.poboxTitle), this.poboxPostalCode && (h("span", { key: 'dfd98bec8858a88b130d03765b41e1a88f9bd5f6', class: "stzh-contact__pobox-postal-code" }, this.poboxPostalCode, "\u00A0")), this.poboxLocation && h("span", { key: '400735002cf640b7900b6f70975f8909484db699', class: "stzh-contact__pobox-locality" }, this.poboxLocation), h("slot", { key: '67fd686cd53e1535f6b37bcf36b9b57a63a2dd7a', name: "pobox" })))), h("div", { key: '992875b06112f5e2b45644df9d4d0110e561d244', class: "stzh-contact__additional-information", innerHTML: this.additionalInformation })), this.availability && (h("div", { key: '60fed68aa68a9bfbe97c35d58d2a57e92aa30006', class: "stzh-contact__availability" }, this.availabilityTitle && (h(AvailabilityTitleElement, { key: '03705dc74e0dca0625b4607800ccd11482d79b39', class: "stzh-contact__availability-title" }, this.availabilityTitle)), this._availability.length > 0 && (h("ul", { key: 'f3444c5968f576979cb1075395f90670df98b20c', 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" })))))))))))))))));
|
|
151
151
|
}
|
|
152
152
|
static get is() { return "stzh-contact"; }
|
|
153
153
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { createComponentStory } from '../../../utils/story-utils';
|
|
2
|
-
import { withActions } from '@storybook/addon-actions/decorator';
|
|
3
2
|
import readme from './readme.md?raw';
|
|
4
3
|
import { Default as Contactform_Default } from '../../../patterns/CMS/contactform/contactform.stories';
|
|
5
4
|
|
|
@@ -63,8 +62,7 @@ export default {
|
|
|
63
62
|
url: getFigmaLink('contact'),
|
|
64
63
|
allowFullscreen: true
|
|
65
64
|
}
|
|
66
|
-
}
|
|
67
|
-
decorators: [withActions]
|
|
65
|
+
}
|
|
68
66
|
};
|
|
69
67
|
|
|
70
68
|
const numbers = [
|
|
@@ -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: '8466d32d09d3c011a69223619e781da2e088da0a' }, h("div", { key: '558bb0afcf909b6207c8674b59473d470c766628', class: classes }, h("div", { key: '3a51fdacc4c2d522d692aa03d6910cdff30efe27', class: "stzh-contact-cv__content-wrapper" }, h("stzh-text", { key: '6b7697590c006bb59ff7bac84fa286132e82c108', class: "stzh-contact-cv__content-block" }, h("p", { key: 'bec0a0b7d25f0f13239639124b58d38a42c2adfb', class: "stzh-contact-cv__content-title" }, this.localization.jobtitle), h("span", { key: '90cc00c2e58c0f6b6b47962e05747813e7485222' }, this.jobtitle)), h("stzh-text", { key: 'd14d18d2803083cf3d39e89506277578db302f18', class: "stzh-contact-cv__content-block" }, h("p", { key: '2187062fac27fa5529421ace4f3a3219166713e3', class: "stzh-contact-cv__content-title" }, this.localization.responsibilities), h("span", { key: '3dbd9abb5b23c965c360513efa23da81b919cf56' }, this.responsibilities)), h("stzh-text", { key: '6af3fb5c4d99e2a1fe0779ff613fa54ba68ffcd5', class: "stzh-contact-cv__content-block" }, h("p", { key: '6722c85c9fb70e286456b99528e92784c095c8e9', class: "stzh-contact-cv__content-title" }, this.localization.trainings), h("stzh-list", { key: '957cf2abb0b660d210d0ad3bd3c93e61482c6eb0' }, this._trainings.map(training => (h("stzh-list-item", null, training))))), h("stzh-text", { key: '1597178300f9f6c771a4c77fd44fac9d9c80ff25', class: "stzh-contact-cv__content-block" }, h("p", { key: '0f87ae74514dc6dab15c5f9d9f41efdbb429c51e', class: "stzh-contact-cv__content-title" }, this.localization.hobbies), h("stzh-list", { key: '4217583b4969179fb1a5771991ee232c17c31dfa' }, this._hobbies.map(hobby => (h("stzh-list-item", null, hobby))))), h("div", { key: '289ffce07c60875edc258c2d8c971189438fd5fd', class: "stzh-contact-cv__favorite-links" }, h("stzh-text", { key: 'fa94866d8d0acf524609425c0922567ab7848fe4', class: "stzh-contact-cv__content-block" }, h("p", { key: '48253aa57da577592b61eacd97e5163a191ab08a', class: "stzh-contact-cv__content-title" }, this.localization.favoriteLinks), h("slot", { key: '6abffb6d53acbeedc6396de446cea75d0259deea', name: "favorite-links" })))))));
|
|
46
46
|
}
|
|
47
47
|
static get is() { return "stzh-contact-cv"; }
|
|
48
48
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { createComponentStory } from '../../../utils/story-utils';
|
|
2
|
-
import { withActions } from '@storybook/addon-actions/decorator';
|
|
3
2
|
import readme from './readme.md?raw';
|
|
4
3
|
|
|
5
4
|
import { getFigmaLink } from '../../../../figma';
|
|
@@ -37,8 +36,7 @@ export default {
|
|
|
37
36
|
url: getFigmaLink('contact'),
|
|
38
37
|
allowFullscreen: true
|
|
39
38
|
}
|
|
40
|
-
}
|
|
41
|
-
decorators: [withActions]
|
|
39
|
+
}
|
|
42
40
|
};
|
|
43
41
|
|
|
44
42
|
export const Default = {
|
|
@@ -174,7 +174,7 @@ 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: '
|
|
177
|
+
return (h(Host, { key: '97d010263138b52246eda3fba22f23b38f9c9772' }, h("div", { key: '643fb5773565de82266cea9caf5192f419238f91', ref: el => (this.rootElement = el), class: classes }, h("div", { key: 'b935f54c0b0dfbbfbf56fff1953ae11c703ec8ee', class: "stzh-disturber__content" }, h("div", { key: 'ca4c150638c0e3bbedec70fdab1654bfc71d06c4', class: "stzh-disturber__label" }, this.label ? this.label : h("slot", { name: "label" })), h("div", { key: 'b57310beb4865afb85a59a39ae2af29f8c68cea7', class: "stzh-disturber__link" }, h("slot", { key: '239a121b6895b4eb9286d24859e48e357309c8e6', name: "link", onSlotchange: this.handleLinkSlotchange }))), !this.hideClose && (h("div", { key: '5e0b3be486b2480dcdd3a8aabe25a0575742afd1', class: "stzh-disturber__close-wrapper" }, h("stzh-button", { key: 'c38bcc08bc208b79fa8a0062d2774b17d7c68bbf', class: "stzh-disturber__close", onClick: this.onCloseButtonClick, label: this.localization.close, variant: "tertiary", size: "small", iconOnly: true, icon: "close-big" }))))));
|
|
178
178
|
}
|
|
179
179
|
static get is() { return "stzh-disturber"; }
|
|
180
180
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { createComponentStory } from '../../../utils/story-utils';
|
|
2
|
-
import { withActions } from '@storybook/addon-actions/decorator';
|
|
3
2
|
import readme from './readme.md?raw';
|
|
4
3
|
|
|
5
4
|
import { getFigmaLink } from '../../../../figma';
|
|
@@ -34,8 +33,8 @@ export default {
|
|
|
34
33
|
component: COMPONENT_NAME,
|
|
35
34
|
parameters: {
|
|
36
35
|
layout: 'padded',
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
stzhActions: {
|
|
37
|
+
events: ['stzhOpen', 'stzhOpened', 'stzhClose', 'stzhClosed']
|
|
39
38
|
},
|
|
40
39
|
docs: {
|
|
41
40
|
description: {
|
|
@@ -47,8 +46,7 @@ export default {
|
|
|
47
46
|
url: getFigmaLink('disturber'),
|
|
48
47
|
allowFullscreen: true
|
|
49
48
|
}
|
|
50
|
-
}
|
|
51
|
-
decorators: [withActions]
|
|
49
|
+
}
|
|
52
50
|
};
|
|
53
51
|
|
|
54
52
|
export const Default = {
|
|
@@ -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: '3826654e931bb9a17d5f3229e56daa1ec2bc06ce' }, h("div", { key: 'c8f1b6e6214af8a3574f1a5fbbcbfa7a88bac7de', class: classes }, h("div", { key: 'ff15e64c77544e297ee9f596edb17db0a21e9a6e', class: "stzh-editor__wrapper" }, h("h2", { key: '1c66be8867d2c7e6eb0dd0f8a7ffafe9ee40125c', class: "stzh-editor__heading" }, typeof this.heading === "string" ? this.heading : this.localization.heading), h("ul", { key: '6799a33c02e07ad6bc39294a427b5d0d45d72a52', 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"; }
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { createComponentStory } from '../../../utils/story-utils';
|
|
2
|
-
import { withActions } from '@storybook/addon-actions/decorator';
|
|
3
2
|
import readme from './readme.md?raw';
|
|
4
3
|
|
|
5
4
|
import { getFigmaLink } from '../../../../figma';
|
|
@@ -26,8 +25,7 @@ export default {
|
|
|
26
25
|
url: getFigmaLink('editor'),
|
|
27
26
|
allowFullscreen: true
|
|
28
27
|
}
|
|
29
|
-
}
|
|
30
|
-
decorators: [withActions]
|
|
28
|
+
}
|
|
31
29
|
};
|
|
32
30
|
|
|
33
31
|
const items = [
|
|
@@ -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: 'ce5e8b171a540fd4bfac3afa5256befa4a5fa4fc' }, h("div", { key: '429543c584e5fc2ef19318777dc714421d44e24a', class: classes }, h("div", { key: '0b79200e04ccbcd5a8ce0a53b189b51d0b0ae906', class: "stzh-eventdata__label" }, this.label ? this.label : h("slot", { name: "label" })), h("div", { key: '59b14e62d15fa3697a46012a7392a85f27c2b500', class: "stzh-eventdata__content" }, h("slot", { key: '0d5efb5a2a28ab970f17dcedf53d551b775216b1' })))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "stzh-eventdata"; }
|
|
17
17
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { createComponentStory } from '../../../utils/story-utils';
|
|
2
|
-
import { withActions } from '@storybook/addon-actions/decorator';
|
|
3
2
|
import readme from './readme.md?raw';
|
|
4
3
|
|
|
5
4
|
import { getFigmaLink } from '../../../../figma';
|
|
@@ -29,8 +28,7 @@ export default {
|
|
|
29
28
|
url: getFigmaLink('eventdata'),
|
|
30
29
|
allowFullscreen: true
|
|
31
30
|
}
|
|
32
|
-
}
|
|
33
|
-
decorators: [withActions]
|
|
31
|
+
}
|
|
34
32
|
};
|
|
35
33
|
|
|
36
34
|
export const Default = {
|
|
@@ -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: '7123eaff9442dac3b7cee5ed3b903f28c1a6627e' }, h("div", { key: '9256802da8c2da6ae052db7208a352f36853dc95', class: classes }, h("div", { key: '873fe6135c02c5170a96ae5c8b3adc4562973712', class: "stzh-eventinfo__left" }, h("div", { key: '15725a688ca12e709d79878c550c828f214fafb6', class: "stzh-eventinfo__main-event-day-name" }, this.localization.$globals.dayNamesShort[startDate.getDay()]), h("div", { key: 'a55993760f699d534da61a7feac3caef7535c372', class: "stzh-eventinfo__main-event-day" }, startDate.getDate() < 10 && "0", startDate.getDate()), h("div", { key: '6eba8e7a5859c8f3db8d3f624d6be238715f5e0c', class: "stzh-eventinfo__main-event-month" }, this.localization.$globals.monthNamesShort[startDate.getMonth()])), h("div", { key: '9dd6bb5c5625500784347a86b2072f3d3e8dfd43', class: "stzh-eventinfo__right" }, h("div", { key: 'a5db5609779a1dbe41be4480d26d5b6f10ae57a0' }, h("div", { key: '8e3ac956886c15a8d1b10b5278f77dcd8c098a9f', class: "stzh-eventinfo__head" }, h("div", { key: 'c934fa78f5cf525f07940f9fc3a47603caed3334', class: "stzh-eventinfo__main-date" }, h("span", { key: '795b2f2a8cd211f36c1c010fb6ebc4671749d83a' }, this.localization.$globals.dayNames[startDate.getDay()]), h("span", { key: 'dd96f5b1a72d67e615521b74490ddc61768c1bc0' }, this.dateAdapter.format(startDate, "date")), this.hasProperStartAndOrEndDate(startDate, endDate) && (h("span", { key: 'b20c0addc2f779951d79672ee7a797a0b1fd8af0' }, this.dateAdapter.formatSpan(startDate, endDate, "time")))), this.calendarUrl && (h("div", { key: '0ab6f6e068b9d692aab15649a5ff52bba64cfb8c', class: "stzh-eventinfo__main-event-link" }, h("stzh-link", { key: '55ca03c24cd40cca7a83441d3ae01d37ae4f8688', href: this.calendarUrl, label: this.calendarLabel || this.localization.addToCalendar, size: "inherit" })))), h("div", { key: '84f9f7cf9fe6b091d14d4ae47e0a3a82a26c0c8e', class: "stzh-eventinfo__text" }, h("div", { key: '50daf625986948f1e89274fa2a51dedca4874749', class: "stzh-eventinfo__location" }, h("slot", { key: '94551ccd7547206f6e263625ad319a766daeb298', name: "location" })), h("div", { key: '5d335494a9420133b5d57b97dbc29b30f9093797', class: "stzh-eventinfo__additional-info" }, h("slot", { key: '828b41e43af9cc0b857f88dbf7ec666e8cc225c3', name: "additional-info" })))), this._itemsGroupedByMonth.length > 0 && (h("div", { key: '91152ed111969be4397a1bc0096f43e9b57601de', class: "stzh-eventinfo__details-wrapper" }, h("stzh-details", { key: 'e525e01ceeacaf9a6f67086f5c8ea69986d0e821', class: "stzh-eventinfo__details" }, h("stzh-link", { key: '54b566ba03c9a8537c57e5af74afb395d7332732', class: "stzh-eventinfo__details-link", icon: "calendar", size: "inherit" }, h("span", { key: '395398d471df34a351bf8d3bdf3607e8b624c622', class: "stzh-eventinfo__details-link-expand" }, this.localization.expandMoreDates), h("span", { key: '9f4f8f2e1f2a213e3edb1cfd3664977e38db17b0', class: "stzh-eventinfo__details-link-collapse" }, this.localization.collapseMoreDates)), h("ul", { key: '1ba434c2f4aac1bc0b62a710d87e171f12cfca01', 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"; }
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { createComponentStory } from '../../../utils/story-utils';
|
|
2
|
-
import { withActions } from '@storybook/addon-actions/decorator';
|
|
3
2
|
import readme from './readme.md?raw';
|
|
4
3
|
|
|
5
4
|
import { getFigmaLink } from '../../../../figma';
|
|
@@ -36,8 +35,7 @@ export default {
|
|
|
36
35
|
url: getFigmaLink('eventinfo'),
|
|
37
36
|
allowFullscreen: true
|
|
38
37
|
}
|
|
39
|
-
}
|
|
40
|
-
decorators: [withActions]
|
|
38
|
+
}
|
|
41
39
|
};
|
|
42
40
|
|
|
43
41
|
const items = [
|
|
@@ -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: '5fb6fc37385c006e6d4d88c7a4760a57f325e93f' }, h("div", { key: '641d6061d423ee8a48e7fa40b3e0c3278ee72ba1', class: classes }, h("div", { key: '64cfcdb723c86d6e72b58d1d430627ac46fddbf4', class: "stzh-feedreader__container" }, h("div", { key: '71ef744bf51a0169c7f2fb80daa0245336624d9a', class: "stzh-feedreader__header" }, h("stzh-heading", { key: '4835e5ecc29ad1d33cc2d16b3b4a3a43286f0713', level: this.headingLevel }, this.heading), h("stzh-text", { key: '49b1a1cbf3afab87bf43e8a29370267854e20b82' }, this.description)), (subscribeFeedSlotUsed || subscribeProxySlotUsed) && (h("div", { key: '1d3f2aeb4c9ce483396e5718b97fe27242074cac', class: "stzh-feedreader__subscribe" }, h("slot", { key: '49c62d2b212bee9c8904b4fbbc079eb15617f079', name: "subscribe-feed" }), h("slot", { key: 'e9576dbd9cbed7acefb0f346df611ec2d607df4e', name: "subscribe-proxy" }))), !this.hasItems && !connectionErrorSlotUsed && (h("stzh-message", { key: '84305c6172f7abc9bdbf3e5dc15cc53396b2c6c3', label: this.noItemsText, hideClose: true }, !!this.noItemsLink && (h("stzh-link", { key: 'b8eae8d77784089a5928993d91ebc07b17df5f17', slot: "link", href: this.noItemsLink }, this.localization.moreInfo)))), connectionErrorSlotUsed && (h("div", { key: '05bb9ff7a16d133ce91304d33d0dfa019d9ddda7', class: "stzh-feedreader__connection-error" }, h("slot", { key: '0cbc250821ebb055029a96d0382607229ef57069', name: "connection-error" }))), h("div", { key: 'fdce0fddeb11bf90b688045715c2ec7be243b658', class: "stzh-feedreader__items", ref: el => (this.itemsWrapperElement = el) }, h("slot", { key: 'ed2dcce3771c25c4c21a2035f5016f059722f87c' }))))));
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "stzh-feedreader"; }
|
|
42
42
|
static get encapsulation() { return "scoped"; }
|