@oiz/stzh-components 4.10.0-beta1 → 4.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-44C7OsiK.js → index-Br_Y6IzY.js} +3 -3
- package/dist/cjs/{index-44C7OsiK.js.map → index-Br_Y6IzY.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 +1 -1
- package/dist/cjs/stzh-actions_6.cjs.entry.js +1 -1
- package/dist/cjs/stzh-actionset.cjs.entry.js +1 -1
- 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 +2 -2
- package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
- package/dist/cjs/stzh-archivelist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
- package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-banner.cjs.entry.js +4 -2
- package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-buttongroup.cjs.entry.js +7 -7
- package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-superteaser.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-carousel.cjs.entry.js +1 -1
- package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
- package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -2
- package/dist/cjs/stzh-chip_2.cjs.entry.js +32 -42
- package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
- package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-contact-cv.cjs.entry.js +1 -1
- package/dist/cjs/stzh-contact.cjs.entry.js +1 -1
- package/dist/cjs/stzh-container_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-content.cjs.entry.js +1 -1
- package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datalist_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +2 -2
- package/dist/cjs/stzh-daterange.cjs.entry.js +1 -1
- package/dist/cjs/stzh-details.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
- package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dropdown.cjs.entry.js +7 -7
- 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-figure.cjs.entry.js +1 -1
- package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
- package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
- package/dist/cjs/stzh-gallery.cjs.entry.js +5 -3
- package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +4 -4
- package/dist/cjs/stzh-ghettobox_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-header_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
- package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
- package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
- package/dist/cjs/stzh-iframe.cjs.entry.js +1 -1
- package/dist/cjs/stzh-imagecomparison.cjs.entry.js +1 -1
- package/dist/cjs/{stzh-input-description-Csg5ez4Q.js → stzh-input-description-BszhfY9d.js} +3 -3
- package/dist/cjs/{stzh-input-description-Csg5ez4Q.js.map → stzh-input-description-BszhfY9d.js.map} +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +2 -2
- package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
- package/dist/cjs/stzh-link.cjs.entry.js +1 -1
- package/dist/cjs/stzh-linklist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-list_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-loader.cjs.entry.js +1 -1
- package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-message.cjs.entry.js +1 -1
- package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-offline-indicator.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-panorama.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 +1 -1
- package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pkzh-qr.cjs.entry.js +3 -3
- package/dist/cjs/stzh-popover.cjs.entry.js +5 -2
- package/dist/cjs/stzh-print_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
- package/dist/cjs/stzh-rating.cjs.entry.js +2 -2
- package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
- package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-search.cjs.entry.js +1 -1
- package/dist/cjs/stzh-section.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skiplink.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-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-stepper.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
- package/dist/cjs/stzh-table.cjs.entry.js +1 -1
- package/dist/cjs/stzh-text.cjs.entry.js +1 -1
- package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
- package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
- package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-toast_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-toggle.cjs.entry.js +2 -2
- package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
- package/dist/cjs/stzh-upload.cjs.entry.js +2 -2
- package/dist/cjs/stzh-vbz-carousel.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-intro.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
- package/dist/collection/components/CMS/PKZH/stzh-pkzh-qr/stzh-pkzh-qr.js +2 -2
- package/dist/collection/components/CMS/PKZH/stzh-pkzh-qr/stzh-pkzh-qr.js.map +1 -1
- package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js +3 -3
- package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js.map +1 -1
- package/dist/collection/components/stzh-accordion/stzh-accordion.stories.js +1 -1
- package/dist/collection/components/stzh-amount/stzh-amount.stories.js +5 -12
- package/dist/collection/components/stzh-app-nav/stzh-app-nav.js +1 -1
- package/dist/collection/components/stzh-app-nav/stzh-app-nav.js.map +1 -1
- package/dist/collection/components/stzh-banner/stzh-banner.css +3 -1
- package/dist/collection/components/stzh-button/stzh-button.stories.js +1 -1
- package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.js +6 -6
- package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.js.map +1 -1
- package/dist/collection/components/stzh-chipselect/stzh-chipselect.css +12 -1
- package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +29 -39
- package/dist/collection/components/stzh-chipselect/stzh-chipselect.js.map +1 -1
- package/dist/collection/components/stzh-chipselect/stzh-chipselect.stories.js +60 -0
- package/dist/collection/components/stzh-details/stzh-details.js.map +1 -1
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +5 -5
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js.map +1 -1
- package/dist/collection/components/stzh-gallery/stzh-gallery.js +4 -2
- package/dist/collection/components/stzh-gallery/stzh-gallery.js.map +1 -1
- package/dist/collection/components/stzh-header/stzh-header.stories.js +184 -94
- package/dist/collection/components/stzh-popover/stzh-popover.css +4 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/{p-DIFqNsF1.js → p-19VfXOay.js} +3 -3
- package/dist/components/{p-DIFqNsF1.js.map → p-19VfXOay.js.map} +1 -1
- package/dist/components/{p-CR_uLfdV.js → p-5BslSTpf.js} +8 -5
- package/dist/components/p-5BslSTpf.js.map +1 -0
- package/dist/components/{p-CGoecBDY.js → p-6nWAZpXe.js} +4 -4
- package/dist/components/{p-CGoecBDY.js.map → p-6nWAZpXe.js.map} +1 -1
- package/dist/components/{p-3lUBnCHI.js → p-8FqKNq0v.js} +3 -3
- package/dist/components/{p-3lUBnCHI.js.map → p-8FqKNq0v.js.map} +1 -1
- package/dist/components/{p-C-JPpiBg.js → p-B1bydx3d.js} +4 -4
- package/dist/components/{p-C-JPpiBg.js.map → p-B1bydx3d.js.map} +1 -1
- package/dist/components/{p-CaGMMl7h.js → p-BALx46q6.js} +3 -3
- package/dist/components/{p-CaGMMl7h.js.map → p-BALx46q6.js.map} +1 -1
- package/dist/components/{p-DZamHD_l.js → p-BCaGFZC8.js} +6 -6
- package/dist/components/{p-DZamHD_l.js.map → p-BCaGFZC8.js.map} +1 -1
- package/dist/components/{p-dax2kiNX.js → p-BGEGvpL5.js} +43 -53
- package/dist/components/p-BGEGvpL5.js.map +1 -0
- package/dist/components/{p-d8VDcitV.js → p-BGS_EDCX.js} +3 -3
- package/dist/components/{p-d8VDcitV.js.map → p-BGS_EDCX.js.map} +1 -1
- package/dist/components/{p-BIrHEJY9.js → p-BKaUJsFB.js} +10 -10
- package/dist/components/{p-BIrHEJY9.js.map → p-BKaUJsFB.js.map} +1 -1
- package/dist/components/{p-BfqihN6x.js → p-BPs3afuZ.js} +3 -3
- package/dist/components/{p-BfqihN6x.js.map → p-BPs3afuZ.js.map} +1 -1
- package/dist/components/{p-B1xDyMh8.js → p-BZD4OY2C.js} +7 -7
- package/dist/components/{p-B1xDyMh8.js.map → p-BZD4OY2C.js.map} +1 -1
- package/dist/components/{p-Ck4dL21N.js → p-Bck1KAhE.js} +7 -7
- package/dist/components/{p-Ck4dL21N.js.map → p-Bck1KAhE.js.map} +1 -1
- package/dist/components/{p-CV45nlCD.js → p-BpEa7mua.js} +4 -4
- package/dist/components/{p-CV45nlCD.js.map → p-BpEa7mua.js.map} +1 -1
- package/dist/components/{p-oNphYUn4.js → p-BrqF6tbl.js} +7 -7
- package/dist/components/{p-oNphYUn4.js.map → p-BrqF6tbl.js.map} +1 -1
- package/dist/components/{p-C9mpmdY7.js → p-BsssrLnt.js} +3 -3
- package/dist/components/{p-C9mpmdY7.js.map → p-BsssrLnt.js.map} +1 -1
- package/dist/components/{p-CgsV1M3w.js → p-BuxRPGuq.js} +3 -3
- package/dist/components/{p-CgsV1M3w.js.map → p-BuxRPGuq.js.map} +1 -1
- package/dist/components/{p-BYQabW7z.js → p-C1G4-fBK.js} +9 -9
- package/dist/components/p-C1G4-fBK.js.map +1 -0
- package/dist/components/{p-CdoioB5a.js → p-CG9ycBNk.js} +10 -10
- package/dist/components/{p-CdoioB5a.js.map → p-CG9ycBNk.js.map} +1 -1
- package/dist/components/{p-B4ZyBtbE.js → p-CI-BeKbw.js} +3 -3
- package/dist/components/{p-B4ZyBtbE.js.map → p-CI-BeKbw.js.map} +1 -1
- package/dist/components/{p-B5b0cZrZ.js → p-CIVShc7i.js} +6 -6
- package/dist/components/{p-B5b0cZrZ.js.map → p-CIVShc7i.js.map} +1 -1
- package/dist/components/{p-VlIs_0mL.js → p-CPibi_C6.js} +3 -3
- package/dist/components/{p-VlIs_0mL.js.map → p-CPibi_C6.js.map} +1 -1
- package/dist/components/{p-45Ty4zpd.js → p-CRnP18MI.js} +3 -3
- package/dist/components/{p-45Ty4zpd.js.map → p-CRnP18MI.js.map} +1 -1
- package/dist/components/{p-Buh91n-u.js → p-CWKzk5Dy.js} +5 -5
- package/dist/components/{p-Buh91n-u.js.map → p-CWKzk5Dy.js.map} +1 -1
- package/dist/components/{p-DgJY72Xq.js → p-CYQEBKQj.js} +3 -3
- package/dist/components/{p-DgJY72Xq.js.map → p-CYQEBKQj.js.map} +1 -1
- package/dist/components/{p-CyTP66-5.js → p-CaLhvLbO.js} +3 -3
- package/dist/components/{p-CyTP66-5.js.map → p-CaLhvLbO.js.map} +1 -1
- package/dist/components/{p-xIHszt2i.js → p-Cg3Ak7yk.js} +7 -7
- package/dist/components/{p-xIHszt2i.js.map → p-Cg3Ak7yk.js.map} +1 -1
- package/dist/components/{p-BLNtZ0vP.js → p-ChkFy7hA.js} +4 -4
- package/dist/components/{p-BLNtZ0vP.js.map → p-ChkFy7hA.js.map} +1 -1
- package/dist/components/{p-29jzXFRt.js → p-CiEcvFWc.js} +5 -5
- package/dist/components/{p-29jzXFRt.js.map → p-CiEcvFWc.js.map} +1 -1
- package/dist/components/{p-B9POtTlS.js → p-Covl24Oh.js} +7 -7
- package/dist/components/{p-B9POtTlS.js.map → p-Covl24Oh.js.map} +1 -1
- package/dist/components/{p-DLFjdAqn.js → p-CtNit8M7.js} +4 -4
- package/dist/components/p-CtNit8M7.js.map +1 -0
- package/dist/components/{p-D-kokQzu.js → p-CunX3wR8.js} +6 -6
- package/dist/components/{p-D-kokQzu.js.map → p-CunX3wR8.js.map} +1 -1
- package/dist/components/{p-CWcbfJk_.js → p-Czf9tl8J.js} +3 -3
- package/dist/components/{p-CWcbfJk_.js.map → p-Czf9tl8J.js.map} +1 -1
- package/dist/components/{p-Dii3YRL8.js → p-D5fsVLBd.js} +7 -7
- package/dist/components/p-D5fsVLBd.js.map +1 -0
- package/dist/components/{p-B2d5L01N.js → p-D6yVsUPX.js} +3 -3
- package/dist/components/{p-B2d5L01N.js.map → p-D6yVsUPX.js.map} +1 -1
- package/dist/components/{p-B-HLuLv9.js → p-D7BPM8cN.js} +3 -3
- package/dist/components/{p-B-HLuLv9.js.map → p-D7BPM8cN.js.map} +1 -1
- package/dist/components/{p-B3Xwu-yM.js → p-D9Oa_RMc.js} +3 -3
- package/dist/components/{p-B3Xwu-yM.js.map → p-D9Oa_RMc.js.map} +1 -1
- package/dist/components/{p-BTB-TZKh.js → p-DAmGIV8s.js} +4 -4
- package/dist/components/{p-BTB-TZKh.js.map → p-DAmGIV8s.js.map} +1 -1
- package/dist/components/{p-4xjLemRb.js → p-DDFSjhu_.js} +12 -12
- package/dist/components/{p-4xjLemRb.js.map → p-DDFSjhu_.js.map} +1 -1
- package/dist/components/{p-qjhZOAlu.js → p-DDrQ-GDv.js} +3 -3
- package/dist/components/{p-qjhZOAlu.js.map → p-DDrQ-GDv.js.map} +1 -1
- package/dist/components/{p-BSXs_Q74.js → p-DF4gVlfp.js} +12 -12
- package/dist/components/{p-BSXs_Q74.js.map → p-DF4gVlfp.js.map} +1 -1
- package/dist/components/{p-DUQhW916.js → p-DJk-2ioO.js} +3 -3
- package/dist/components/{p-DUQhW916.js.map → p-DJk-2ioO.js.map} +1 -1
- package/dist/components/{p-D4_n-2Ms.js → p-DRx_UYls.js} +7 -7
- package/dist/components/{p-D4_n-2Ms.js.map → p-DRx_UYls.js.map} +1 -1
- package/dist/components/{p-lUUPgNcQ.js → p-DT-jsCLe.js} +3 -3
- package/dist/components/{p-lUUPgNcQ.js.map → p-DT-jsCLe.js.map} +1 -1
- package/dist/components/{p-mgGUqooi.js → p-DUQ-gRxd.js} +6 -6
- package/dist/components/{p-mgGUqooi.js.map → p-DUQ-gRxd.js.map} +1 -1
- package/dist/components/{p-Cs-rg2dx.js → p-DUhK-jhY.js} +11 -11
- package/dist/components/p-DUhK-jhY.js.map +1 -0
- package/dist/components/{p-DJhPOyNd.js → p-DZwaDoTV.js} +11 -11
- package/dist/components/{p-DJhPOyNd.js.map → p-DZwaDoTV.js.map} +1 -1
- package/dist/components/{p-Do7Cqwk9.js → p-Da6Pvdri.js} +3 -3
- package/dist/components/{p-Do7Cqwk9.js.map → p-Da6Pvdri.js.map} +1 -1
- package/dist/components/{p-DlUjW_k8.js → p-DaY6mRgd.js} +3 -3
- package/dist/components/{p-DlUjW_k8.js.map → p-DaY6mRgd.js.map} +1 -1
- package/dist/components/{p-BvVEbhsj.js → p-DcitYu_B.js} +6 -6
- package/dist/components/{p-BvVEbhsj.js.map → p-DcitYu_B.js.map} +1 -1
- package/dist/components/{p-DpZTt4Z2.js → p-DeIgrcHw.js} +6 -6
- package/dist/components/{p-DpZTt4Z2.js.map → p-DeIgrcHw.js.map} +1 -1
- package/dist/components/{p-CvZI8O_m.js → p-DjUfFf-R.js} +3 -3
- package/dist/components/p-DjUfFf-R.js.map +1 -0
- package/dist/components/{p-BcCp3tOb.js → p-DnZfjilC.js} +7 -7
- package/dist/components/{p-BcCp3tOb.js.map → p-DnZfjilC.js.map} +1 -1
- package/dist/components/{p-C6vp9SBX.js → p-DpeJpDc8.js} +3 -3
- package/dist/components/{p-C6vp9SBX.js.map → p-DpeJpDc8.js.map} +1 -1
- package/dist/components/{p-CylWZljZ.js → p-DwP4TJHm.js} +8 -8
- package/dist/components/{p-CylWZljZ.js.map → p-DwP4TJHm.js.map} +1 -1
- package/dist/components/{p-ChukRxdO.js → p-DxnT0K8v.js} +5 -5
- package/dist/components/{p-ChukRxdO.js.map → p-DxnT0K8v.js.map} +1 -1
- package/dist/components/{p-B_r0ozbU.js → p-JOhIAgHk.js} +3 -3
- package/dist/components/{p-B_r0ozbU.js.map → p-JOhIAgHk.js.map} +1 -1
- package/dist/components/{p-BtKGUmZA.js → p-K2FhSkA6.js} +5 -5
- package/dist/components/{p-BtKGUmZA.js.map → p-K2FhSkA6.js.map} +1 -1
- package/dist/components/{p-BJ3jiUO1.js → p-KXfvITXr.js} +3 -3
- package/dist/components/{p-BJ3jiUO1.js.map → p-KXfvITXr.js.map} +1 -1
- package/dist/components/{p-bJjqNxwb.js → p-NmZZNRMg.js} +9 -9
- package/dist/components/{p-bJjqNxwb.js.map → p-NmZZNRMg.js.map} +1 -1
- package/dist/components/{p-ClyMeCj6.js → p-PFaTABew.js} +11 -11
- package/dist/components/{p-ClyMeCj6.js.map → p-PFaTABew.js.map} +1 -1
- package/dist/components/{p-ADDMMKkm.js → p-S3RSvRX7.js} +5 -5
- package/dist/components/{p-ADDMMKkm.js.map → p-S3RSvRX7.js.map} +1 -1
- package/dist/components/{p-DriV35S7.js → p-SbO4yTDL.js} +3 -3
- package/dist/components/{p-DriV35S7.js.map → p-SbO4yTDL.js.map} +1 -1
- package/dist/components/{p-DPbYSVpa.js → p-_URfdwj0.js} +9 -9
- package/dist/components/{p-DPbYSVpa.js.map → p-_URfdwj0.js.map} +1 -1
- package/dist/components/{p-f-gxuhc1.js → p-a6yYbN7G.js} +3 -3
- package/dist/components/{p-f-gxuhc1.js.map → p-a6yYbN7G.js.map} +1 -1
- package/dist/components/{p-D1C6erqJ.js → p-blZtYtHM.js} +3 -3
- package/dist/components/{p-D1C6erqJ.js.map → p-blZtYtHM.js.map} +1 -1
- package/dist/components/{p-D-6EO5vG.js → p-cNTFnDJ9.js} +3 -3
- package/dist/components/{p-D-6EO5vG.js.map → p-cNTFnDJ9.js.map} +1 -1
- package/dist/components/{p-0jHblgpi.js → p-d0uOMlu3.js} +4 -4
- package/dist/components/{p-0jHblgpi.js.map → p-d0uOMlu3.js.map} +1 -1
- package/dist/components/{p-CW1-Bxhz.js → p-oafMGboU.js} +9 -9
- package/dist/components/{p-CW1-Bxhz.js.map → p-oafMGboU.js.map} +1 -1
- package/dist/components/{p-CdqGCyz7.js → p-qHThZaqH.js} +8 -8
- package/dist/components/{p-CdqGCyz7.js.map → p-qHThZaqH.js.map} +1 -1
- package/dist/components/p-uD4ilJut.js.map +1 -1
- package/dist/components/stzh-accordion-item.js +1 -1
- package/dist/components/stzh-accordion.js +1 -1
- package/dist/components/stzh-actions.js +1 -1
- package/dist/components/stzh-actionset.js +1 -1
- package/dist/components/stzh-amount.js +9 -9
- package/dist/components/stzh-anchornav.js +5 -5
- package/dist/components/stzh-app-nav.js +1 -1
- package/dist/components/stzh-appointments.js +13 -13
- package/dist/components/stzh-archivelist.js +7 -7
- package/dist/components/stzh-audio.js +5 -5
- package/dist/components/stzh-badge.js +1 -1
- package/dist/components/stzh-banner.js +7 -5
- package/dist/components/stzh-banner.js.map +1 -1
- package/dist/components/stzh-breadcrumb.js +1 -1
- package/dist/components/stzh-button.js +1 -1
- package/dist/components/stzh-buttongroup.js +1 -1
- package/dist/components/stzh-calendar.js +1 -1
- package/dist/components/stzh-card-navigation.js +2 -2
- package/dist/components/stzh-card-searchresult.js +14 -14
- package/dist/components/stzh-card-superteaser.js +14 -14
- package/dist/components/stzh-card.js +1 -1
- package/dist/components/stzh-cardlist.js +1 -1
- package/dist/components/stzh-carousel.js +1 -1
- package/dist/components/stzh-cell.js +1 -1
- package/dist/components/stzh-chart.js +1 -1
- package/dist/components/stzh-checkbox.js +1 -1
- package/dist/components/stzh-checkboxgroup.js +5 -5
- package/dist/components/stzh-chip.js +1 -1
- package/dist/components/stzh-chipgroup.js +1 -1
- package/dist/components/stzh-chipselect.js +1 -1
- package/dist/components/stzh-clamp.js +1 -1
- package/dist/components/stzh-company-logo.js +1 -1
- package/dist/components/stzh-contact-cv.js +4 -4
- package/dist/components/stzh-contact.js +10 -10
- package/dist/components/stzh-container.js +1 -1
- package/dist/components/stzh-content.js +1 -1
- package/dist/components/stzh-cspace.js +1 -1
- package/dist/components/stzh-cta.js +3 -3
- package/dist/components/stzh-datalist-item.js +1 -1
- package/dist/components/stzh-datalist.js +1 -1
- package/dist/components/stzh-datamessagelist-item.js +11 -11
- package/dist/components/stzh-datamessagelist.js +1 -1
- package/dist/components/stzh-datatable.js +17 -17
- package/dist/components/stzh-datepicker.js +1 -1
- package/dist/components/stzh-daterange.js +4 -4
- package/dist/components/stzh-details.js +1 -1
- package/dist/components/stzh-dialog.js +1 -1
- package/dist/components/stzh-disturber.js +4 -4
- package/dist/components/stzh-dropdown.js +1 -1
- package/dist/components/stzh-editor.js +4 -4
- package/dist/components/stzh-eventdata.js +1 -1
- package/dist/components/stzh-eventinfo.js +5 -5
- package/dist/components/stzh-feedreader-item.js +2 -2
- package/dist/components/stzh-feedreader.js +8 -8
- package/dist/components/stzh-fieldset.js +1 -1
- package/dist/components/stzh-figure.js +1 -1
- package/dist/components/stzh-flyingfocus.js +1 -1
- package/dist/components/stzh-footer.js +4 -4
- package/dist/components/stzh-gallery.js +12 -10
- package/dist/components/stzh-gallery.js.map +1 -1
- package/dist/components/stzh-geo-ref-data.js +27 -27
- 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-heading.js +1 -1
- package/dist/components/stzh-homepage-search.js +2 -2
- package/dist/components/stzh-homepage-service-highlights.js +6 -6
- package/dist/components/stzh-hr.js +1 -1
- package/dist/components/stzh-hspace.js +1 -1
- package/dist/components/stzh-http-error.js +7 -7
- package/dist/components/stzh-icon.js +1 -1
- package/dist/components/stzh-iframe.js +1 -1
- package/dist/components/stzh-imagecomparison.js +2 -2
- package/dist/components/stzh-input.js +1 -1
- package/dist/components/stzh-invert.js +1 -1
- package/dist/components/stzh-link.js +1 -1
- package/dist/components/stzh-linklist.js +10 -10
- package/dist/components/stzh-list-item.js +1 -1
- package/dist/components/stzh-list.js +1 -1
- package/dist/components/stzh-loader.js +1 -1
- package/dist/components/stzh-loadingbar.js +1 -1
- package/dist/components/stzh-menu-item.js +1 -1
- package/dist/components/stzh-menu.js +1 -1
- package/dist/components/stzh-message.js +1 -1
- package/dist/components/stzh-microsite-teaserlist.js +20 -20
- package/dist/components/stzh-monthyearpicker.js +5 -5
- package/dist/components/stzh-offline-indicator.js +6 -6
- package/dist/components/stzh-olmap.js +1 -1
- package/dist/components/stzh-overlay.js +1 -1
- package/dist/components/stzh-page-skiplinks.js +1 -1
- package/dist/components/stzh-pagebottom.js +8 -8
- package/dist/components/stzh-pagecontent.js +1 -1
- package/dist/components/stzh-pagetitle-hero.js +1 -1
- package/dist/components/stzh-pagetitle-home.js +2 -2
- package/dist/components/stzh-pagetitle.js +2 -2
- package/dist/components/stzh-pagination.js +1 -1
- package/dist/components/stzh-panorama.js +11 -11
- package/dist/components/stzh-pi-content-navigation.js +3 -3
- package/dist/components/stzh-pi-menu.js +3 -3
- package/dist/components/stzh-pi-pagetitle.js +2 -2
- 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 +2 -2
- package/dist/components/stzh-pi-teaser.js +2 -2
- package/dist/components/stzh-pkzh-qr.js +22 -22
- package/dist/components/stzh-pkzh-qr.js.map +1 -1
- package/dist/components/stzh-popover.js +1 -1
- package/dist/components/stzh-print.js +1 -1
- package/dist/components/stzh-quote.js +1 -1
- package/dist/components/stzh-radio.js +1 -1
- package/dist/components/stzh-radiogroup.js +1 -1
- package/dist/components/stzh-rating.js +5 -5
- package/dist/components/stzh-rating.js.map +1 -1
- package/dist/components/stzh-ratio.js +1 -1
- package/dist/components/stzh-readspeaker.js +4 -4
- package/dist/components/stzh-richtext.js +1 -1
- package/dist/components/stzh-row.js +1 -1
- package/dist/components/stzh-saptcha.js +7 -7
- package/dist/components/stzh-scrollup.js +1 -1
- package/dist/components/stzh-search.js +16 -16
- package/dist/components/stzh-section.js +1 -1
- package/dist/components/stzh-share.js +1 -1
- package/dist/components/stzh-show.js +1 -1
- package/dist/components/stzh-sitemap.js +9 -9
- package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
- package/dist/components/stzh-skin-storybook-preview.js +1 -1
- package/dist/components/stzh-skiplink.js +1 -1
- package/dist/components/stzh-socialmediastream-item.js +1 -1
- package/dist/components/stzh-socialmediastream.js +6 -6
- package/dist/components/stzh-sortable.js +1 -1
- package/dist/components/stzh-space.js +1 -1
- package/dist/components/stzh-status.js +1 -1
- package/dist/components/stzh-stepper-item.js +1 -1
- package/dist/components/stzh-stepper.js +3 -3
- package/dist/components/stzh-sticky-actions.js +2 -2
- package/dist/components/stzh-sticky.js +1 -1
- package/dist/components/stzh-table.js +1 -1
- package/dist/components/stzh-tag.js +1 -1
- package/dist/components/stzh-text.js +1 -1
- package/dist/components/stzh-textandimage.js +1 -1
- package/dist/components/stzh-timeline-item.js +3 -3
- package/dist/components/stzh-timeline.js +1 -1
- package/dist/components/stzh-timepicker.js +5 -5
- package/dist/components/stzh-toast.js +1 -1
- package/dist/components/stzh-toastbar.js +1 -1
- package/dist/components/stzh-toggle.js +5 -5
- package/dist/components/stzh-tooltip.js +1 -1
- package/dist/components/stzh-twocolumns.js +1 -1
- package/dist/components/stzh-upload.js +13 -13
- package/dist/components/stzh-upload.js.map +1 -1
- package/dist/components/stzh-vbz-carousel.js +2 -2
- package/dist/components/stzh-vbz-connection-finder.js +1 -1
- package/dist/components/stzh-vbz-intro.js +5 -5
- package/dist/components/stzh-vbz-linechip.js +1 -1
- package/dist/components/stzh-vbz-majorticker.js +7 -7
- package/dist/components/stzh-vbz-ticker.js +7 -7
- package/dist/components/stzh-visuallyhidden.js +1 -1
- package/dist/components/stzh-vspace.js +1 -1
- package/dist/components/stzh-youtube.js +6 -6
- package/dist/esm/{index-BQiZz3hq.js → index-Boyybvcm.js} +3 -3
- package/dist/esm/{index-BQiZz3hq.js.map → index-Boyybvcm.js.map} +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/stzh-accordion_3.entry.js +1 -1
- package/dist/esm/stzh-actions_6.entry.js +1 -1
- package/dist/esm/stzh-actionset.entry.js +1 -1
- 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 +2 -2
- package/dist/esm/stzh-app-nav.entry.js.map +1 -1
- package/dist/esm/stzh-appointments.entry.js +1 -1
- package/dist/esm/stzh-archivelist.entry.js +1 -1
- package/dist/esm/stzh-audio.entry.js +1 -1
- package/dist/esm/stzh-badge_3.entry.js +1 -1
- package/dist/esm/stzh-banner.entry.js +4 -2
- package/dist/esm/stzh-banner.entry.js.map +1 -1
- package/dist/esm/stzh-breadcrumb_2.entry.js +1 -1
- package/dist/esm/stzh-buttongroup.entry.js +7 -7
- package/dist/esm/stzh-buttongroup.entry.js.map +1 -1
- package/dist/esm/stzh-calendar.entry.js +1 -1
- package/dist/esm/stzh-card-navigation.entry.js +1 -1
- package/dist/esm/stzh-card-searchresult.entry.js +1 -1
- package/dist/esm/stzh-card-superteaser.entry.js +1 -1
- package/dist/esm/stzh-card_2.entry.js +1 -1
- package/dist/esm/stzh-carousel.entry.js +1 -1
- package/dist/esm/stzh-chart.entry.js +1 -1
- package/dist/esm/stzh-checkbox.entry.js +2 -2
- package/dist/esm/stzh-checkboxgroup.entry.js +2 -2
- package/dist/esm/stzh-chip_2.entry.js +32 -42
- package/dist/esm/stzh-chipgroup.entry.js +1 -1
- package/dist/esm/stzh-clamp.entry.js +1 -1
- package/dist/esm/stzh-company-logo.entry.js +1 -1
- package/dist/esm/stzh-components.js +3 -3
- package/dist/esm/stzh-contact-cv.entry.js +1 -1
- package/dist/esm/stzh-contact.entry.js +1 -1
- package/dist/esm/stzh-container_2.entry.js +1 -1
- package/dist/esm/stzh-content.entry.js +1 -1
- package/dist/esm/stzh-cta.entry.js +1 -1
- package/dist/esm/stzh-datalist_3.entry.js +1 -1
- package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm/stzh-datatable.entry.js +1 -1
- package/dist/esm/stzh-datepicker_3.entry.js +2 -2
- package/dist/esm/stzh-daterange.entry.js +1 -1
- package/dist/esm/stzh-details.entry.js +1 -1
- package/dist/esm/stzh-details.entry.js.map +1 -1
- package/dist/esm/stzh-dialog.entry.js +1 -1
- package/dist/esm/stzh-disturber.entry.js +1 -1
- package/dist/esm/stzh-dropdown.entry.js +7 -7
- 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-figure.entry.js +1 -1
- package/dist/esm/stzh-flyingfocus.entry.js +1 -1
- package/dist/esm/stzh-footer.entry.js +1 -1
- package/dist/esm/stzh-gallery.entry.js +5 -3
- package/dist/esm/stzh-gallery.entry.js.map +1 -1
- package/dist/esm/stzh-geo-ref-data.entry.js +4 -4
- package/dist/esm/stzh-geo-ref-data.entry.js.map +1 -1
- package/dist/esm/stzh-ghettobox_3.entry.js +1 -1
- package/dist/esm/stzh-header_3.entry.js +1 -1
- package/dist/esm/stzh-heading.entry.js +1 -1
- package/dist/esm/stzh-homepage-search.entry.js +1 -1
- package/dist/esm/stzh-homepage-service-highlights.entry.js +1 -1
- package/dist/esm/stzh-hr.entry.js +1 -1
- package/dist/esm/stzh-hspace.entry.js +1 -1
- package/dist/esm/stzh-http-error.entry.js +1 -1
- package/dist/esm/stzh-iframe.entry.js +1 -1
- package/dist/esm/stzh-imagecomparison.entry.js +1 -1
- package/dist/esm/{stzh-input-description-1QVd_Xa1.js → stzh-input-description-D7avZ-wq.js} +3 -3
- package/dist/esm/{stzh-input-description-1QVd_Xa1.js.map → stzh-input-description-D7avZ-wq.js.map} +1 -1
- package/dist/esm/stzh-input.entry.js +2 -2
- package/dist/esm/stzh-invert.entry.js +1 -1
- package/dist/esm/stzh-link.entry.js +1 -1
- package/dist/esm/stzh-linklist.entry.js +1 -1
- package/dist/esm/stzh-list_2.entry.js +1 -1
- package/dist/esm/stzh-loader.entry.js +1 -1
- package/dist/esm/stzh-loadingbar.entry.js +1 -1
- package/dist/esm/stzh-menu_2.entry.js +1 -1
- package/dist/esm/stzh-message.entry.js +1 -1
- package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
- package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
- package/dist/esm/stzh-offline-indicator.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-panorama.entry.js +1 -1
- package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
- package/dist/esm/stzh-pi-menu.entry.js +1 -1
- package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
- package/dist/esm/stzh-pi-quote.entry.js +1 -1
- package/dist/esm/stzh-pi-teaser-layout-item.entry.js +1 -1
- package/dist/esm/stzh-pi-teaser-layout.entry.js +1 -1
- package/dist/esm/stzh-pi-teaser.entry.js +1 -1
- package/dist/esm/stzh-pkzh-qr.entry.js +3 -3
- package/dist/esm/stzh-pkzh-qr.entry.js.map +1 -1
- package/dist/esm/stzh-popover.entry.js +5 -2
- package/dist/esm/stzh-popover.entry.js.map +1 -1
- package/dist/esm/stzh-print_2.entry.js +1 -1
- package/dist/esm/stzh-quote.entry.js +1 -1
- package/dist/esm/stzh-rating.entry.js +2 -2
- package/dist/esm/stzh-rating.entry.js.map +1 -1
- package/dist/esm/stzh-ratio.entry.js +1 -1
- package/dist/esm/stzh-readspeaker.entry.js +1 -1
- package/dist/esm/stzh-saptcha.entry.js +1 -1
- package/dist/esm/stzh-scrollup.entry.js +1 -1
- package/dist/esm/stzh-search.entry.js +1 -1
- package/dist/esm/stzh-section.entry.js +1 -1
- package/dist/esm/stzh-sitemap.entry.js +1 -1
- package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
- package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
- package/dist/esm/stzh-skiplink.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-stepper-item.entry.js +1 -1
- package/dist/esm/stzh-stepper-item.entry.js.map +1 -1
- package/dist/esm/stzh-stepper.entry.js +1 -1
- package/dist/esm/stzh-sticky-actions.entry.js +1 -1
- package/dist/esm/stzh-sticky.entry.js +1 -1
- package/dist/esm/stzh-table.entry.js +1 -1
- package/dist/esm/stzh-text.entry.js +1 -1
- package/dist/esm/stzh-textandimage.entry.js +1 -1
- package/dist/esm/stzh-timeline-item.entry.js +1 -1
- package/dist/esm/stzh-timeline.entry.js +1 -1
- package/dist/esm/stzh-timepicker.entry.js +1 -1
- package/dist/esm/stzh-toast_2.entry.js +1 -1
- package/dist/esm/stzh-toggle.entry.js +2 -2
- package/dist/esm/stzh-tooltip.entry.js +1 -1
- package/dist/esm/stzh-twocolumns.entry.js +1 -1
- package/dist/esm/stzh-upload.entry.js +2 -2
- package/dist/esm/stzh-upload.entry.js.map +1 -1
- package/dist/esm/stzh-vbz-carousel.entry.js +1 -1
- package/dist/esm/stzh-vbz-connection-finder.entry.js +1 -1
- package/dist/esm/stzh-vbz-intro.entry.js +1 -1
- package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
- package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
- package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
- package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm/stzh-vspace.entry.js +1 -1
- package/dist/esm/stzh-youtube.entry.js +1 -1
- package/dist/stzh-components/index.esm.js.map +1 -1
- package/dist/stzh-components/{p-1fb6d525.entry.js → p-02c6c25f.entry.js} +2 -2
- package/dist/stzh-components/{p-17b1a96e.entry.js → p-0326f9e5.entry.js} +2 -2
- package/dist/stzh-components/{p-027a4896.entry.js → p-04b91cbe.entry.js} +2 -2
- package/dist/stzh-components/{p-98b58539.entry.js → p-06a85017.entry.js} +2 -2
- package/dist/stzh-components/p-09c5b4f4.entry.js +2 -0
- package/dist/stzh-components/{p-badd991a.entry.js.map → p-09c5b4f4.entry.js.map} +1 -1
- package/dist/stzh-components/{p-c864da30.entry.js → p-0c6f2548.entry.js} +2 -2
- package/dist/stzh-components/{p-863760db.entry.js → p-0dad8cce.entry.js} +2 -2
- package/dist/stzh-components/{p-855f5edc.entry.js → p-0dbdd066.entry.js} +2 -2
- package/dist/stzh-components/{p-d406920a.entry.js → p-0e124317.entry.js} +2 -2
- package/dist/stzh-components/{p-10173c7f.entry.js → p-0e7b9556.entry.js} +2 -2
- package/dist/stzh-components/p-0e7b9556.entry.js.map +1 -0
- package/dist/stzh-components/{p-299ed934.entry.js → p-112e5a75.entry.js} +2 -2
- package/dist/stzh-components/{p-b34ab266.entry.js → p-1268e055.entry.js} +2 -2
- package/dist/stzh-components/{p-ff7f1cb8.entry.js → p-1278339e.entry.js} +2 -2
- package/dist/stzh-components/{p-04539966.entry.js → p-13aceed6.entry.js} +2 -2
- package/dist/stzh-components/{p-d057e2ad.entry.js → p-162ea47b.entry.js} +2 -2
- package/dist/stzh-components/{p-5314c3ed.entry.js → p-18e9eaff.entry.js} +2 -2
- package/dist/stzh-components/{p-b63b0c91.entry.js → p-1948c6be.entry.js} +2 -2
- package/dist/stzh-components/{p-2f49c8f7.entry.js → p-1f36d924.entry.js} +2 -2
- package/dist/stzh-components/{p-686fee54.entry.js → p-20381eb6.entry.js} +2 -2
- package/dist/stzh-components/{p-ff753a9e.entry.js → p-2096b5e5.entry.js} +2 -2
- package/dist/stzh-components/{p-88e52580.entry.js → p-21864dc6.entry.js} +2 -2
- package/dist/stzh-components/{p-1a619dcb.entry.js → p-22728170.entry.js} +2 -2
- package/dist/stzh-components/{p-18658450.entry.js → p-228836b8.entry.js} +2 -2
- package/dist/stzh-components/{p-0d20d5af.entry.js → p-23399476.entry.js} +2 -2
- package/dist/stzh-components/{p-296b6210.entry.js → p-24a4865a.entry.js} +2 -2
- package/dist/stzh-components/{p-4da2cfb3.entry.js → p-2c27df73.entry.js} +2 -2
- package/dist/stzh-components/{p-3b8f9063.entry.js → p-2f5f9451.entry.js} +2 -2
- package/dist/stzh-components/{p-8f403273.entry.js → p-30a29924.entry.js} +2 -2
- package/dist/stzh-components/{p-82d8d7d3.entry.js → p-3290c743.entry.js} +2 -2
- package/dist/stzh-components/{p-3c6a6923.entry.js → p-337a614c.entry.js} +2 -2
- package/dist/stzh-components/{p-87dfa240.entry.js → p-3589f0fe.entry.js} +2 -2
- package/dist/stzh-components/{p-7a3ecd1b.entry.js → p-370cec66.entry.js} +2 -2
- package/dist/stzh-components/{p-f70d4c62.entry.js → p-375e9039.entry.js} +2 -2
- package/dist/stzh-components/{p-27a84a6e.entry.js → p-3f32f5b8.entry.js} +2 -2
- package/dist/stzh-components/{p-da4f5180.entry.js → p-3f6c5da7.entry.js} +2 -2
- package/dist/stzh-components/{p-3e5f8f85.entry.js → p-3fc6b229.entry.js} +2 -2
- package/dist/stzh-components/{p-91f04fc1.entry.js → p-43d22663.entry.js} +2 -2
- package/dist/stzh-components/{p-60cb6129.entry.js → p-4409b388.entry.js} +2 -2
- package/dist/stzh-components/{p-293158ae.entry.js → p-496db660.entry.js} +2 -2
- package/dist/stzh-components/{p-033c474e.entry.js → p-4980cac6.entry.js} +6 -6
- package/dist/stzh-components/{p-95bdc9c5.entry.js → p-4b70f6d5.entry.js} +2 -2
- package/dist/stzh-components/{p-16a48308.entry.js → p-4c6a88dd.entry.js} +3 -3
- package/dist/stzh-components/{p-16a48308.entry.js.map → p-4c6a88dd.entry.js.map} +1 -1
- package/dist/stzh-components/{p-e46c11f5.entry.js → p-4e5ead8e.entry.js} +2 -2
- package/dist/stzh-components/{p-4d0a2874.entry.js → p-51c08340.entry.js} +2 -2
- package/dist/stzh-components/{p-82cdb1d8.entry.js → p-52680e35.entry.js} +2 -2
- package/dist/stzh-components/{p-73fc93a8.entry.js → p-54f536d9.entry.js} +2 -2
- package/dist/stzh-components/{p-60721c92.entry.js → p-5525834e.entry.js} +2 -2
- package/dist/stzh-components/{p-4640b18c.entry.js → p-573017fb.entry.js} +2 -2
- package/dist/stzh-components/{p-78a3b449.entry.js → p-57d3f5c6.entry.js} +3 -3
- package/dist/stzh-components/{p-7b783078.entry.js → p-58bc8ad5.entry.js} +2 -2
- package/dist/stzh-components/{p-cc76d724.entry.js → p-59263627.entry.js} +2 -2
- package/dist/stzh-components/{p-8790ece9.entry.js → p-59b64110.entry.js} +2 -2
- package/dist/stzh-components/{p-b1cfaf65.entry.js → p-5ef55c3a.entry.js} +2 -2
- package/dist/stzh-components/{p-fc107269.entry.js → p-614801db.entry.js} +2 -2
- package/dist/stzh-components/{p-42742579.entry.js → p-67134205.entry.js} +3 -3
- package/dist/stzh-components/{p-42a99591.entry.js → p-673449d3.entry.js} +2 -2
- package/dist/stzh-components/{p-4019079e.entry.js → p-683bdcfc.entry.js} +2 -2
- package/dist/stzh-components/{p-aa0c6582.entry.js → p-6a51235e.entry.js} +2 -2
- package/dist/stzh-components/{p-4c685dac.entry.js → p-6c2f5f67.entry.js} +2 -2
- package/dist/stzh-components/{p-21f6dbca.entry.js → p-722c343d.entry.js} +2 -2
- package/dist/stzh-components/{p-b027bd3c.entry.js → p-7c9f2c2f.entry.js} +2 -2
- package/dist/stzh-components/{p-ccb86e6b.entry.js → p-7ff56bd0.entry.js} +2 -2
- package/dist/stzh-components/{p-81e96281.entry.js → p-8494bb21.entry.js} +2 -2
- package/dist/stzh-components/{p-a7e3e8cd.entry.js → p-85329854.entry.js} +2 -2
- package/dist/stzh-components/{p-327a905a.entry.js → p-8547dd85.entry.js} +2 -2
- package/dist/stzh-components/{p-327a905a.entry.js.map → p-8547dd85.entry.js.map} +1 -1
- package/dist/stzh-components/{p-66fd88a3.entry.js → p-86c62790.entry.js} +2 -2
- package/dist/stzh-components/{p-1dc548a4.entry.js → p-8a2c72fc.entry.js} +2 -2
- package/dist/stzh-components/{p-76329746.entry.js → p-8b53f9f5.entry.js} +2 -2
- package/dist/stzh-components/{p-69474c30.entry.js → p-8cd52c56.entry.js} +2 -2
- package/dist/stzh-components/{p-d2048456.entry.js → p-8d475272.entry.js} +2 -2
- package/dist/stzh-components/{p-7e988fd5.entry.js → p-8f4d7f52.entry.js} +2 -2
- package/dist/stzh-components/{p-8b9437b1.entry.js → p-8f4fd7e8.entry.js} +2 -2
- package/dist/stzh-components/{p-d6938dee.entry.js → p-92718c89.entry.js} +2 -2
- package/dist/stzh-components/{p-8bc4bf60.entry.js → p-92d44643.entry.js} +2 -2
- package/dist/stzh-components/{p-3b9e6083.entry.js → p-937ecec3.entry.js} +2 -2
- package/dist/stzh-components/{p-bb6a2441.entry.js → p-95f80efd.entry.js} +2 -2
- package/dist/stzh-components/{p-c6dcd53e.entry.js → p-99e09fed.entry.js} +2 -2
- package/dist/stzh-components/p-9a42bf5a.entry.js +2 -0
- package/dist/stzh-components/{p-6d1b6f60.entry.js.map → p-9a42bf5a.entry.js.map} +1 -1
- package/dist/stzh-components/{p-a527b072.entry.js → p-9ac7c945.entry.js} +8 -8
- package/dist/stzh-components/{p-103f702c.entry.js → p-9d3d5478.entry.js} +2 -2
- package/dist/stzh-components/{p-017d7972.entry.js → p-9daed123.entry.js} +2 -2
- package/dist/stzh-components/{p-b8b12244.entry.js → p-9f35f6d1.entry.js} +2 -2
- package/dist/stzh-components/p-Boyybvcm.js +3 -0
- package/dist/stzh-components/{p-BQiZz3hq.js.map → p-Boyybvcm.js.map} +1 -1
- package/dist/stzh-components/p-DS4xgN66.js +2 -0
- package/dist/stzh-components/{p-wQYjVTpY.js.map → p-DS4xgN66.js.map} +1 -1
- package/dist/stzh-components/{p-4b81c2d3.entry.js → p-a1a810cc.entry.js} +2 -2
- package/dist/stzh-components/{p-c8770c93.entry.js → p-a5d5cf67.entry.js} +2 -2
- package/dist/stzh-components/{p-f4a4fa26.entry.js → p-a66dd9ac.entry.js} +2 -2
- package/dist/stzh-components/{p-44a5d62d.entry.js → p-a6bb650c.entry.js} +2 -2
- package/dist/stzh-components/{p-a53a9180.entry.js → p-a78cf7a9.entry.js} +2 -2
- package/dist/stzh-components/{p-28bcc5d2.entry.js → p-a8edfd35.entry.js} +2 -2
- package/dist/stzh-components/{p-9e6e44cc.entry.js → p-aa915d5b.entry.js} +2 -2
- package/dist/stzh-components/{p-8ec2529b.entry.js → p-ab37318f.entry.js} +2 -2
- package/dist/stzh-components/{p-37903b87.entry.js → p-ab655ced.entry.js} +2 -2
- package/dist/stzh-components/{p-48830a3b.entry.js → p-ac23e33d.entry.js} +2 -2
- package/dist/stzh-components/{p-183f58ec.entry.js → p-aee3740b.entry.js} +2 -2
- package/dist/stzh-components/{p-f1fe46ec.entry.js → p-b139f88e.entry.js} +2 -2
- package/dist/stzh-components/{p-6953ea26.entry.js → p-b1c1f676.entry.js} +2 -2
- package/dist/stzh-components/{p-4013e943.entry.js → p-b24ad8a1.entry.js} +2 -2
- package/dist/stzh-components/{p-41ae3508.entry.js → p-b5186a60.entry.js} +2 -2
- package/dist/stzh-components/{p-10827ace.entry.js → p-b672e1ac.entry.js} +2 -2
- package/dist/stzh-components/{p-89a708f4.entry.js → p-b914d9d8.entry.js} +2 -2
- package/dist/stzh-components/{p-8354aff6.entry.js → p-ba0f9d98.entry.js} +2 -2
- package/dist/stzh-components/{p-8dbaa5f9.entry.js → p-baf12327.entry.js} +2 -2
- package/dist/stzh-components/{p-8596abc3.entry.js → p-bc041233.entry.js} +2 -2
- package/dist/stzh-components/{p-ff26df15.entry.js → p-bce8c218.entry.js} +2 -2
- package/dist/stzh-components/{p-5e8a4ce9.entry.js → p-bdabc422.entry.js} +2 -2
- package/dist/stzh-components/{p-e4356710.entry.js → p-bf422149.entry.js} +2 -2
- package/dist/stzh-components/{p-eaaf50e5.entry.js → p-c062dbd8.entry.js} +2 -2
- package/dist/stzh-components/{p-f16e444d.entry.js → p-c33308b1.entry.js} +2 -2
- package/dist/stzh-components/{p-31c96628.entry.js → p-c6237f22.entry.js} +2 -2
- package/dist/stzh-components/{p-23dfbfab.entry.js → p-c73057b5.entry.js} +2 -2
- package/dist/stzh-components/{p-5ec0e4f1.entry.js → p-cb74e537.entry.js} +2 -2
- package/dist/stzh-components/{p-d96a3ff4.entry.js → p-cf998c9e.entry.js} +2 -2
- package/dist/stzh-components/{p-f589b3e4.entry.js → p-d2cdcc47.entry.js} +2 -2
- package/dist/stzh-components/{p-9cc4168e.entry.js → p-d2f17cf4.entry.js} +2 -2
- package/dist/stzh-components/{p-7a05cb17.entry.js → p-d7ee95d1.entry.js} +2 -2
- package/dist/stzh-components/{p-63e70153.entry.js → p-dbdf2dda.entry.js} +2 -2
- package/dist/stzh-components/{p-5b3725d1.entry.js → p-dd60db54.entry.js} +2 -2
- package/dist/stzh-components/{p-16cf8be6.entry.js → p-defcf957.entry.js} +2 -2
- package/dist/stzh-components/{p-aa1042b6.entry.js → p-df16dc97.entry.js} +2 -2
- package/dist/stzh-components/{p-17fc51fd.entry.js → p-e7943c14.entry.js} +2 -2
- package/dist/stzh-components/{p-339b48da.entry.js → p-ec23c3e0.entry.js} +2 -2
- package/dist/stzh-components/{p-2d295ba4.entry.js → p-ef78a7e8.entry.js} +2 -2
- package/dist/stzh-components/{p-b6621fd9.entry.js → p-f278ac2e.entry.js} +2 -2
- package/dist/stzh-components/{p-b6621fd9.entry.js.map → p-f278ac2e.entry.js.map} +1 -1
- package/dist/stzh-components/{p-d08c73d8.entry.js → p-f34cb4d3.entry.js} +2 -2
- package/dist/stzh-components/{p-f0ae61bf.entry.js → p-f3ca18ab.entry.js} +2 -2
- package/dist/stzh-components/{p-3deaa0a9.entry.js → p-f5b4cb97.entry.js} +2 -2
- package/dist/stzh-components/{p-d1173be6.entry.js → p-f6193b21.entry.js} +3 -3
- package/dist/stzh-components/{p-b4359a31.entry.js → p-f7095605.entry.js} +2 -2
- package/dist/stzh-components/{p-f55b8b36.entry.js → p-fe5cfbfd.entry.js} +2 -2
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/types/components/stzh-buttongroup/stzh-buttongroup.d.ts +1 -1
- package/dist/types/components/stzh-chipselect/stzh-chipselect.d.ts +7 -20
- package/dist/types/index.d.ts +17 -0
- package/package.json +5 -6
- package/dist/components/p-BYQabW7z.js.map +0 -1
- package/dist/components/p-CR_uLfdV.js.map +0 -1
- package/dist/components/p-Cs-rg2dx.js.map +0 -1
- package/dist/components/p-CvZI8O_m.js.map +0 -1
- package/dist/components/p-DLFjdAqn.js.map +0 -1
- package/dist/components/p-Dii3YRL8.js.map +0 -1
- package/dist/components/p-dax2kiNX.js.map +0 -1
- package/dist/stzh-components/p-10173c7f.entry.js.map +0 -1
- package/dist/stzh-components/p-6d1b6f60.entry.js +0 -2
- package/dist/stzh-components/p-BQiZz3hq.js +0 -3
- package/dist/stzh-components/p-badd991a.entry.js +0 -2
- package/dist/stzh-components/p-wQYjVTpY.js +0 -2
- /package/dist/stzh-components/{p-1fb6d525.entry.js.map → p-02c6c25f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-17b1a96e.entry.js.map → p-0326f9e5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-027a4896.entry.js.map → p-04b91cbe.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-98b58539.entry.js.map → p-06a85017.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c864da30.entry.js.map → p-0c6f2548.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-863760db.entry.js.map → p-0dad8cce.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-855f5edc.entry.js.map → p-0dbdd066.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d406920a.entry.js.map → p-0e124317.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-299ed934.entry.js.map → p-112e5a75.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b34ab266.entry.js.map → p-1268e055.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ff7f1cb8.entry.js.map → p-1278339e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-04539966.entry.js.map → p-13aceed6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d057e2ad.entry.js.map → p-162ea47b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5314c3ed.entry.js.map → p-18e9eaff.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b63b0c91.entry.js.map → p-1948c6be.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2f49c8f7.entry.js.map → p-1f36d924.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-686fee54.entry.js.map → p-20381eb6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ff753a9e.entry.js.map → p-2096b5e5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-88e52580.entry.js.map → p-21864dc6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1a619dcb.entry.js.map → p-22728170.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-18658450.entry.js.map → p-228836b8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0d20d5af.entry.js.map → p-23399476.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-296b6210.entry.js.map → p-24a4865a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4da2cfb3.entry.js.map → p-2c27df73.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3b8f9063.entry.js.map → p-2f5f9451.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8f403273.entry.js.map → p-30a29924.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-82d8d7d3.entry.js.map → p-3290c743.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3c6a6923.entry.js.map → p-337a614c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-87dfa240.entry.js.map → p-3589f0fe.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7a3ecd1b.entry.js.map → p-370cec66.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f70d4c62.entry.js.map → p-375e9039.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-27a84a6e.entry.js.map → p-3f32f5b8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-da4f5180.entry.js.map → p-3f6c5da7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3e5f8f85.entry.js.map → p-3fc6b229.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-91f04fc1.entry.js.map → p-43d22663.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-60cb6129.entry.js.map → p-4409b388.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-293158ae.entry.js.map → p-496db660.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-033c474e.entry.js.map → p-4980cac6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-95bdc9c5.entry.js.map → p-4b70f6d5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e46c11f5.entry.js.map → p-4e5ead8e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4d0a2874.entry.js.map → p-51c08340.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-82cdb1d8.entry.js.map → p-52680e35.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-73fc93a8.entry.js.map → p-54f536d9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-60721c92.entry.js.map → p-5525834e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4640b18c.entry.js.map → p-573017fb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-78a3b449.entry.js.map → p-57d3f5c6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7b783078.entry.js.map → p-58bc8ad5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-cc76d724.entry.js.map → p-59263627.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8790ece9.entry.js.map → p-59b64110.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b1cfaf65.entry.js.map → p-5ef55c3a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fc107269.entry.js.map → p-614801db.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-42742579.entry.js.map → p-67134205.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-42a99591.entry.js.map → p-673449d3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4019079e.entry.js.map → p-683bdcfc.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-aa0c6582.entry.js.map → p-6a51235e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4c685dac.entry.js.map → p-6c2f5f67.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-21f6dbca.entry.js.map → p-722c343d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b027bd3c.entry.js.map → p-7c9f2c2f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ccb86e6b.entry.js.map → p-7ff56bd0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-81e96281.entry.js.map → p-8494bb21.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a7e3e8cd.entry.js.map → p-85329854.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-66fd88a3.entry.js.map → p-86c62790.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1dc548a4.entry.js.map → p-8a2c72fc.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-76329746.entry.js.map → p-8b53f9f5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-69474c30.entry.js.map → p-8cd52c56.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d2048456.entry.js.map → p-8d475272.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7e988fd5.entry.js.map → p-8f4d7f52.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8b9437b1.entry.js.map → p-8f4fd7e8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d6938dee.entry.js.map → p-92718c89.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8bc4bf60.entry.js.map → p-92d44643.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3b9e6083.entry.js.map → p-937ecec3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bb6a2441.entry.js.map → p-95f80efd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c6dcd53e.entry.js.map → p-99e09fed.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a527b072.entry.js.map → p-9ac7c945.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-103f702c.entry.js.map → p-9d3d5478.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-017d7972.entry.js.map → p-9daed123.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b8b12244.entry.js.map → p-9f35f6d1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4b81c2d3.entry.js.map → p-a1a810cc.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c8770c93.entry.js.map → p-a5d5cf67.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f4a4fa26.entry.js.map → p-a66dd9ac.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-44a5d62d.entry.js.map → p-a6bb650c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a53a9180.entry.js.map → p-a78cf7a9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-28bcc5d2.entry.js.map → p-a8edfd35.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9e6e44cc.entry.js.map → p-aa915d5b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8ec2529b.entry.js.map → p-ab37318f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-37903b87.entry.js.map → p-ab655ced.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-48830a3b.entry.js.map → p-ac23e33d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-183f58ec.entry.js.map → p-aee3740b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f1fe46ec.entry.js.map → p-b139f88e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6953ea26.entry.js.map → p-b1c1f676.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4013e943.entry.js.map → p-b24ad8a1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-41ae3508.entry.js.map → p-b5186a60.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-10827ace.entry.js.map → p-b672e1ac.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-89a708f4.entry.js.map → p-b914d9d8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8354aff6.entry.js.map → p-ba0f9d98.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8dbaa5f9.entry.js.map → p-baf12327.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8596abc3.entry.js.map → p-bc041233.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ff26df15.entry.js.map → p-bce8c218.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5e8a4ce9.entry.js.map → p-bdabc422.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e4356710.entry.js.map → p-bf422149.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-eaaf50e5.entry.js.map → p-c062dbd8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f16e444d.entry.js.map → p-c33308b1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-31c96628.entry.js.map → p-c6237f22.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-23dfbfab.entry.js.map → p-c73057b5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5ec0e4f1.entry.js.map → p-cb74e537.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d96a3ff4.entry.js.map → p-cf998c9e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f589b3e4.entry.js.map → p-d2cdcc47.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9cc4168e.entry.js.map → p-d2f17cf4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7a05cb17.entry.js.map → p-d7ee95d1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-63e70153.entry.js.map → p-dbdf2dda.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5b3725d1.entry.js.map → p-dd60db54.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-16cf8be6.entry.js.map → p-defcf957.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-aa1042b6.entry.js.map → p-df16dc97.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-17fc51fd.entry.js.map → p-e7943c14.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-339b48da.entry.js.map → p-ec23c3e0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2d295ba4.entry.js.map → p-ef78a7e8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d08c73d8.entry.js.map → p-f34cb4d3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f0ae61bf.entry.js.map → p-f3ca18ab.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3deaa0a9.entry.js.map → p-f5b4cb97.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d1173be6.entry.js.map → p-f6193b21.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b4359a31.entry.js.map → p-f7095605.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f55b8b36.entry.js.map → p-fe5cfbfd.entry.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,c as s,h as i,F as r,a as e,d as o}from"./p-BQiZz3hq.js";import{a}from"./p-Df1Iqnz9.js";import{h}from"./p--MYN2wgX.js";import{S as d}from"./p-wQYjVTpY.js";import{c}from"./p-BubviQku.js";const n=()=>`.sc-stzh-datepicker-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-datepicker-h,[stzh-hidden].sc-stzh-datepicker-h{display:none}.sc-stzh-datepicker-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-datepicker-h *.sc-stzh-datepicker,.sc-stzh-datepicker-h *.sc-stzh-datepicker::before,.sc-stzh-datepicker-h *.sc-stzh-datepicker::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-datepicker-h .has-focus.sc-stzh-datepicker{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-datepicker-h .stzh-fylingfocus-focused.sc-stzh-datepicker{outline-style:none !important}.sc-stzh-datepicker-h .stzh-fylingfocus-focused.sc-stzh-datepicker::-moz-focus-inner{border:0 !important}.sc-stzh-datepicker-h{--calendar-width:var(--stzh-calendar-width);width:100%;position:relative}[inline].sc-stzh-datepicker-h:not([inline=false]){width:var(--calendar-width)}.stzh-datepicker__popover.sc-stzh-datepicker{--width:auto}.stzh-datepicker__calendar.sc-stzh-datepicker{margin-left:auto;margin-right:auto}.stzh-datepicker__calendar.is-inline.sc-stzh-datepicker{width:100%;margin-left:0px;margin-right:0px}.stzh-datepicker__actions.sc-stzh-datepicker{display:flex;width:var(--calendar-width);margin-left:auto;margin-right:auto}.stzh-datepicker__actions.is-inline.sc-stzh-datepicker{width:100%;margin-left:0px;margin-right:0px}.stzh-datepicker__actions.sc-stzh-datepicker:not(:empty){padding-left:var(--stzh-space-small);padding-right:var(--stzh-space-small)}.stzh-datepicker--has-action.sc-stzh-datepicker .stzh-datepicker__popover.sc-stzh-datepicker{--content-padding:0 0 var(--stzh-space-small) 0}`;const l=class{constructor(i){t(this,i);this.stzhChange=s(this,"stzhChange");this.calendarMin="";this.calendarMax="";this.calendarIsDateDisabled=()=>false;this.name="";this.value="";this.calendarValue="";this.inputValue="";this.defaultValue="";this.label="";this.labelHidden=false;this.readonly=false;this.disabled=false;this.invalid=false;this.required=false;this.hideOptional=false;this.size="default";this.inline=false;this.internalDateAdapter="iso";this.handleReset=async()=>{this.value=this.defaultValue};this.onRootFocus=()=>{if(this.input){this.input.focus()}};this.onInputChanged=()=>{const t=this.dateAdapter.parse(this.input.value,"dateInput");if(this.input.value===""||t){const s=this._internalDateAdapter.format(t,"dateInput");if(this.value!==s){this.value=s}else{this.valueWatcher(s)}this.stzhChange.emit({component:"stzh-datepicker",value:this.value,valueAsDate:t})}};this.onCalendarChange=t=>{if(t.detail.component!=="stzh-calendar"){t.stopPropagation();return}this.value=t.detail.valueAsDate&&this._internalDateAdapter.format(t.detail.valueAsDate,"dateInput");this.stzhChange.emit({component:"stzh-datepicker",value:this.value,valueAsDate:t.detail.valueAsDate});if(this.popoverElement){this.popoverElement.hide()}}}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}createDateFormatters(){if(this.localization){this.dateFormatLong=new Intl.DateTimeFormat(this.localization.$locale,{day:"numeric",month:"long",year:"numeric"})}}valueWatcher(t){if(!this._internalDateAdapter){return}const s=this._internalDateAdapter.parse(t,"dateInput");this.calendarValue=a(s);this.inputValue=this.dateAdapter.format(s,"dateInput");this.updateButtonAccessibleLabel()}dateAdapterWatcher(t){if(!t){this.dateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formats,this.localization.$globals)}}internalDateAdapterWatcher(t){if(t==="iso"||!t){this._internalDateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formatsIso,this.localization.$globals)}else if(t==="legacy"){this._internalDateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formatsLegacy,this.localization.$globals)}else{this._internalDateAdapter=t}}async setDate(t){this.value=this._internalDateAdapter.format(t,"dateInput")}async getPopover(){return this.popoverElement}updateButtonAccessibleLabel(){if(!this.localization){return}try{const t=this._internalDateAdapter.parse(this.value,"dateInput");this.buttonLabel=`${this.label}, ${this.localization.buttonLabel}, ${this.localization.selectedDateMessage} ${this.dateFormatLong.format(t)}`}catch(t){this.buttonLabel=`${this.label}, ${this.localization.buttonLabel}`}}connectedCallback(){this.createDateFormatters()}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"datepicker")}this.dateAdapterWatcher(this.dateAdapter);this.internalDateAdapterWatcher(this.internalDateAdapter);this.valueWatcher(this.value);this.defaultValue=this.defaultValue||this.value}render(){const t=h(this.element,"action");const s={"stzh-datepicker":true,"stzh-datepicker--inline":this.inline,"stzh-datepicker--has-action":t};return i(e,{key:"a52d9624dabb7c42b2aca063617cbf4c58127bc4",tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus},i("div",{key:"7404dd380fdb5a753c532873aba9251376ca5b9f",class:s},i("input",{key:"dd52fed0a66c9fd644a741c7d77e1267d0dda7ff",type:"hidden",name:this.name,value:this.value,defaultValue:this.defaultValue}),this.inline&&i(r,{key:"418047f0d970748aef11562c42bd6881b3f1adc9"},i("stzh-calendar",{key:"f495e7a09408da7f3b4fd9d825f4767c008a930d",value:this.calendarValue,class:"stzh-datepicker__calendar is-inline",isDateDisabled:this.calendarIsDateDisabled,min:this.calendarMin,max:this.calendarMax,onStzhChange:this.onCalendarChange}),i("div",{key:"d2b7b3046ca5f5b759a37df5854ecd701d096c81",class:"stzh-datepicker__actions"},i("slot",{key:"be0a3d645da926485f433354589023d43bd0b194",name:"action"}))),!this.inline&&i("stzh-input",{key:"47a7d1e2dac63e0a671622036e018fc8551e430a",value:this.inputValue,label:this.label,labelHidden:this.labelHidden,ref:t=>this.input=t,noAutocomplete:true,onStzhChanged:this.onInputChanged,readonly:this.readonly,disabled:this.disabled,description:this.description,descriptionLong:this.descriptionLong,error:this.error,invalid:this.invalid,required:this.required,hideOptional:this.hideOptional,size:this.size},i("stzh-popover",{key:"88a4c69dabe171b5c584019eea6b0d5d97ee4864",ref:t=>this.popoverElement=t,class:"stzh-datepicker__popover",slot:"button-right",placement:"bottom-end",strategy:"fixed",label:this.label},i("stzh-button",{key:"aee2d861b3359fb308403d0190a7bd510605c07b","icon-only":true,icon:"calendar",size:this.size,disabled:this.disabled,a11yLabel:this.buttonLabel}),i("div",{key:"8dc55f20ad3c95666d58262a516a8b38a1870760",slot:"content"},i("stzh-calendar",{key:"f97f29fc39df058b02dfabbed2eb3af1f2e5edeb",value:this.calendarValue,class:"stzh-datepicker__calendar is-popover",isDateDisabled:this.calendarIsDateDisabled,min:this.calendarMin,max:this.calendarMax,onStzhChange:this.onCalendarChange}),i("div",{key:"74d5a5147c5fea90f91bb52f78b2d2ede3fc6ee9",class:"stzh-datepicker__actions"},i("slot",{key:"6661005acb96f9cfb88d1e5608c315bbb4af8535",name:"action"})))))))}get element(){return o(this)}static get watchers(){return{localization:["createDateFormatters"],value:["valueWatcher"],dateAdapter:["dateAdapterWatcher"],internalDateAdapter:["internalDateAdapterWatcher"]}}};l.style=n();const z=()=>`.sc-stzh-radio-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-radio-h,[stzh-hidden].sc-stzh-radio-h{display:none}.sc-stzh-radio-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-radio-h *.sc-stzh-radio,.sc-stzh-radio-h *.sc-stzh-radio::before,.sc-stzh-radio-h *.sc-stzh-radio::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-radio-h .has-focus.sc-stzh-radio{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-radio-h .stzh-fylingfocus-focused.sc-stzh-radio{outline-style:none !important}.sc-stzh-radio-h .stzh-fylingfocus-focused.sc-stzh-radio::-moz-focus-inner{border:0 !important}.sc-stzh-radio-h{--label-color:var(--stzh-radio-label-color, var(--stzh-base-color));--label-hover-color:var(--stzh-radio-label-hover-color, var(--stzh-color-primary70));--label-hover-checked-color:var(\n --stzh-radio-label-hover-checked-color,\n var(--stzh-color-primary90)\n );display:inline-block}[disabled].sc-stzh-radio-h:not([disabled=false]){--description-color:var(--stzh-color-grey70)}.stzh-radio__marker-symbol.sc-stzh-radio{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-radio__marker-text.sc-stzh-radio{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-radio__description-wrapper.sc-stzh-radio{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-radio__error.sc-stzh-radio,.stzh-radio__description.sc-stzh-radio{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-radio__error.sc-stzh-radio{color:var(--stzh-color-error60)}.stzh-radio__error-list.sc-stzh-radio{list-style:none;margin:0;padding:0}.stzh-radio__description.sc-stzh-radio{display:flex;align-items:flex-start;color:var(--stzh-input-description-color, var(--description-color, var(--stzh-color-coolgrey70)));transition:color var(--stzh-base-transition-animation-speed)}.stzh-radio__description-long.sc-stzh-radio{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-radio__description-long.sc-stzh-radio{margin-top:0}}.stzh-radio__description-long-popover.sc-stzh-radio{--width:auto;--max-width:27.3125rem}.stzh-radio__description-long-button.sc-stzh-radio{display:flex;justify-content:center;align-items:center;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer}.stzh-radio.sc-stzh-radio stzh-icon.stzh-radio__description-long-icon.sc-stzh-radio{--size:var(--stzh-icon-size-xsmall)}.stzh-radio--has-error.sc-stzh-radio .stzh-radio__error.sc-stzh-radio,.stzh-radio--has-description.sc-stzh-radio .stzh-radio__description.sc-stzh-radio{margin-top:var(--stzh-space-xxxsmall)}.stzh-radio.sc-stzh-radio{display:grid}.stzh-radio__field-wrapper.sc-stzh-radio{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);position:relative;display:flex;-webkit-user-select:none;user-select:none;cursor:pointer}.stzh-radio__input.sc-stzh-radio{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;z-index:-1;opacity:0;pointer-events:none;appearance:none;border-radius:var(--stzh-form-input-border-radius)}.stzh-radio__mark.sc-stzh-radio{border:0.125rem solid var(--stzh-color-black);background-color:var(--stzh-color-white);width:1.5rem;height:1.5rem;flex-shrink:0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;transition:border-color var(--stzh-base-transition-animation-speed)}.stzh-radio__mark.sc-stzh-radio::before{content:""}.stzh-radio__check.sc-stzh-radio{background-color:currentColor;color:var(--stzh-color-primary70);width:1rem;height:1rem;border-radius:50%;opacity:0;transition-property:color;transition-duration:var(--stzh-base-transition-animation-speed)}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-radio__check.sc-stzh-radio{background-color:ButtonText}}.stzh-radio__label.sc-stzh-radio{--stzh-base-color:initial;display:inline-block;color:var(--label-color);transition:color var(--stzh-base-transition-animation-speed);margin-left:var(--stzh-space-small);line-height:1.5rem}.stzh-radio__label.sc-stzh-radio:empty{display:none}.stzh-radio__marker.sc-stzh-radio{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);margin-left:calc(-0.25em + var(--stzh-space-xsmall))}.stzh-radio.sc-stzh-radio:hover .stzh-radio__label.sc-stzh-radio,.stzh-radio__input.sc-stzh-radio:checked~.stzh-radio__label.sc-stzh-radio{color:var(--label-hover-color)}.stzh-radio__input.sc-stzh-radio:checked:hover~.stzh-radio__label.sc-stzh-radio,.stzh-radio__input.sc-stzh-radio:checked:hover~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{color:var(--label-hover-checked-color)}.stzh-radio.sc-stzh-radio:hover .stzh-radio__mark.sc-stzh-radio,.stzh-radio__input.sc-stzh-radio:checked~.stzh-radio__mark.sc-stzh-radio{border-color:var(--label-hover-color)}.stzh-radio__input.sc-stzh-radio:checked:hover~.stzh-radio__mark.sc-stzh-radio{border-color:var(--label-hover-checked-color)}.stzh-radio__input.sc-stzh-radio:checked~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{opacity:1}.stzh-radio--is-invalid.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__label.sc-stzh-radio,.stzh-radio--is-invalid.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{color:var(--stzh-color-error60)}.stzh-radio--is-invalid.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio{border-color:var(--stzh-color-error60)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__field-wrapper.sc-stzh-radio{cursor:not-allowed}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__label.sc-stzh-radio{color:var(--stzh-color-grey60)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{color:var(--stzh-color-grey50)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio{border-color:var(--stzh-color-grey50)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__mark.sc-stzh-radio{background-color:var(--stzh-color-grey20)}`;let p=0;const f=class{constructor(i){t(this,i);this.stzhChange=s(this,"stzhChange");this.stzhFocus=s(this,"stzhFocus");this.stzhBlur=s(this,"stzhBlur");this.disabled=false;this.name="";this.value="";this.invalid=false;this.required=false;this.hideOptional=false;this.checked=false;this.label="";this.a11yDescribedby="";this.focusedByInput=false;this.handleReset=async()=>{this.checked=this.defaultChecked};this.onInput=t=>{this.checked=this.input.checked;this.stzhChange.emit({component:"stzh-radio",originalEvent:t,value:this.value,checked:this.checked})};this.onRootFocus=()=>{if(!this.focusedByInput){this.input.focus()}this.focusedByInput=false};this.onFocus=t=>{this.focusedByInput=true;const s=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhFocus.emit({component:"stzh-radio",originalEvent:t})};this.onBlur=t=>{const s=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhBlur.emit({component:"stzh-radio",originalEvent:t})}}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}errorWatcher(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(s){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}}async componentWillLoad(){this.inputId=`stzh-radio-${p++}`;this.errorWatcher(this.error);this.defaultChecked=typeof this.defaultChecked==="boolean"?this.defaultChecked:this.checked;if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"radio")}}render(){var t;const s=h(this.element,"description")||!!this.description;const r=h(this.element,"description-long")||!!this.descriptionLong;const o=h(this.element,"error")||((t=this._error)===null||t===void 0?void 0:t.length)>0;const a={"stzh-radio":true,"stzh-radio--has-description":s,"stzh-radio--has-description-long":r,"stzh-radio--has-error":o,"stzh-radio--is-required":this.required,"stzh-radio--is-invalid":this.invalid||o,"stzh-radio--is-disabled":this.disabled};return i(e,{key:"4de55dcf0cf5751dea729849cbca2b766c34baac","is-invalid":this.invalid||o,tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus},i("div",{key:"018a6fa6d79c7f64b3a8b214ef77d63b36e2178d",class:a},i("label",{key:"f6137e3feb9debe11e31eb3c162a7932c82b68aa",class:"stzh-radio__field-wrapper"},i("input",{key:"118a9e4140741846288154d47bf2e2de2312aaf7",class:"stzh-radio__input",ref:t=>this.input=t,type:"radio",id:this.inputId,name:this.name,value:this.value,disabled:this.disabled,"aria-describedby":`${this.inputId}-description ${this.a11yDescribedby}`,"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",checked:this.checked,defaultChecked:this.defaultChecked,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur}),i("div",{key:"fb02dbba793d2d5fe03e1825700167044b5911b6",class:"stzh-radio__mark"},i("div",{key:"198e7d5767f7990d246ab208ada160786fb38ba3",class:"stzh-radio__check"})),i("div",{key:"fb42d1545bbbd40bf113ac893b756db32e0d9d98",class:"stzh-radio__label"},this.label?this.label:i("slot",null),!this.hideOptional&&i("span",{key:"54887af076ec189d17f37cf61a346ee841071706",class:"stzh-radio__marker"},i("span",{key:"5da875ed1cc969a251a8a3318628476959eb13e8",class:"stzh-radio__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),i("span",{key:"c0bded0610f13b04844f33e2db4ea1331ba10378",class:"stzh-radio__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText)))),(o||this.description||this.descriptionLong)&&i(d,{key:"e5f84e2d1bba00885e0ebb0e5702ea6cbef4b61a",classPrefix:"stzh-radio",id:`${this.inputId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,descriptionLongUsed:r,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))}get element(){return o(this)}static get watchers(){return{error:["errorWatcher"]}}};f.style=z();const u=()=>`.sc-stzh-radiogroup-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-radiogroup-h,[stzh-hidden].sc-stzh-radiogroup-h{display:none}.sc-stzh-radiogroup-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-radiogroup-h *.sc-stzh-radiogroup,.sc-stzh-radiogroup-h *.sc-stzh-radiogroup::before,.sc-stzh-radiogroup-h *.sc-stzh-radiogroup::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-radiogroup-h .has-focus.sc-stzh-radiogroup{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-radiogroup-h .stzh-fylingfocus-focused.sc-stzh-radiogroup{outline-style:none !important}.sc-stzh-radiogroup-h .stzh-fylingfocus-focused.sc-stzh-radiogroup::-moz-focus-inner{border:0 !important}.sc-stzh-radiogroup-h{--legend-color:var(--stzh-radio-group-legend-color, var(--stzh-heading-color))}[disabled].sc-stzh-radiogroup-h:not([disabled=false]){--description-color:var(--stzh-color-grey70)}.stzh-radiogroup__marker-symbol.sc-stzh-radiogroup{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-radiogroup__marker-text.sc-stzh-radiogroup{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-radiogroup__description-wrapper.sc-stzh-radiogroup{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-radiogroup__error.sc-stzh-radiogroup,.stzh-radiogroup__description.sc-stzh-radiogroup{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-radiogroup__error.sc-stzh-radiogroup{color:var(--stzh-color-error60)}.stzh-radiogroup__error-list.sc-stzh-radiogroup{list-style:none;margin:0;padding:0}.stzh-radiogroup__description.sc-stzh-radiogroup{display:flex;align-items:flex-start;color:var(--stzh-input-description-color, var(--description-color, var(--stzh-color-coolgrey70)));transition:color var(--stzh-base-transition-animation-speed)}.stzh-radiogroup__description-long.sc-stzh-radiogroup{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-radiogroup__description-long.sc-stzh-radiogroup{margin-top:0}}.stzh-radiogroup__description-long-popover.sc-stzh-radiogroup{--width:auto;--max-width:27.3125rem}.stzh-radiogroup__description-long-button.sc-stzh-radiogroup{display:flex;justify-content:center;align-items:center;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer}.stzh-radiogroup.sc-stzh-radiogroup stzh-icon.stzh-radiogroup__description-long-icon.sc-stzh-radiogroup{--size:var(--stzh-icon-size-xsmall)}.stzh-radiogroup--has-error.sc-stzh-radiogroup .stzh-radiogroup__error.sc-stzh-radiogroup,.stzh-radiogroup--has-description.sc-stzh-radiogroup .stzh-radiogroup__description.sc-stzh-radiogroup{margin-top:var(--stzh-space-xxxsmall)}.stzh-radiogroup.sc-stzh-radiogroup{margin:0;padding:0;border:none}.stzh-radiogroup__fields.sc-stzh-radiogroup{display:flex;align-items:flex-start;flex-direction:column;gap:var(--stzh-space-medium)}.stzh-radiogroup__legend.sc-stzh-radiogroup{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--legend-color);padding:0;margin-bottom:var(--stzh-space-xsmall)}.stzh-radiogroup__marker.sc-stzh-radiogroup{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);margin-left:calc(-0.25em + var(--stzh-space-xsmall))}.stzh-radiogroup--hide-legend.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-radiogroup--is-invalid.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup,.stzh-radiogroup--has-error.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{color:var(--stzh-color-error60)}.stzh-radiogroup--is-disabled.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{color:var(--stzh-color-grey60)}.stzh-radiogroup--direction-horizontal.sc-stzh-radiogroup .stzh-radiogroup__fields.sc-stzh-radiogroup{flex-wrap:wrap;flex-direction:row;row-gap:var(--stzh-space-medium);column-gap:var(--stzh-space-xxlarge)}`;const g="stzh-radio, stzh-button[type=radio], stzh-card";let b=0;const m=class{constructor(s){t(this,s);this.disabled=false;this.hideLegend=false;this.invalid=false;this.required=false;this.hideOptional=false;this.value="";this.defaultValue="";this.direction="vertical";this.checkedRadio=null;this.preventUpdateProperties=[];this._preventUpdateProperties=[];this.handleReset=async()=>{this.value=this.defaultValue};this.init=()=>{this.radios=Array.from(this.element.querySelectorAll(g));this.updateRadiosProperty("hide-optional",true);this.updateRadiosProperty("a11y-describedby",`${this.radiogroupId}-description`);this.updateRadiosProperty("invalid",this.invalid||this.errorUsed);this.watchValue(this.value);this.watchName(this.name);this.watchDisabled(this.disabled);this.watchRequired(this.required)}}watchName(t){this.updateRadiosProperty("name",t)}watchDisabled(t){this.updateRadiosProperty("disabled",t)}watchRequired(t){this.updateRadiosProperty("required",t)}watchValue(t){this.updateCheckedRadioByValue(t)}errorWatcher(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(s){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}}preventUpdatePropertiesWatcher(t){if(typeof t==="string"){this._preventUpdateProperties=JSON.parse(t)}else{this._preventUpdateProperties=t}}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}onChange(t){this.value=t.detail.value}updateRadiosProperty(t,s){this.radios.forEach((i=>{if(t==="disabled"){if(!i.disabled){i.disabled=s}}else if(t==="name"||this._preventUpdateProperties.indexOf(t)===-1){i[c(t)]=s}}))}get errorUsed(){var t;return h(this.element,"error")||((t=this._error)===null||t===void 0?void 0:t.length)>0}updateCheckedRadioByValue(t){this.checkedRadio=this.radios.find((s=>s.value===t));if(this.checkedRadio){this.checkedRadio.checked=true}this.uncheckRadios()}uncheckRadios(){this.radios.forEach((t=>{if(!this.checkedRadio||t!==this.checkedRadio){t.checked=false}}))}componentDidLoad(){this.defaultValue=this.defaultValue?this.defaultValue:this.value}async componentWillLoad(){this.radiogroupId=`stzh-radiogroup-${b++}`;this.errorWatcher(this.error);this.preventUpdatePropertiesWatcher(this.preventUpdateProperties);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"radiogroup")}}componentShouldUpdate(t,s,i){return i!=="checkedRadio"}componentDidRender(){this.init()}connectedCallback(){if(!this.value){this.radios=Array.from(this.element.querySelectorAll(g));const t=this.radios.find((t=>t.checked));if(t){this.value=t.value}}this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})}disconnectedCallback(){if(this.observer){this.observer.disconnect()}}render(){const t=h(this.element,"description")||!!this.description;const s=h(this.element,"description-long")||!!this.descriptionLong;const r={"stzh-radiogroup":true,"stzh-radiogroup--has-description":t,"stzh-radiogroup--has-description-long":s,"stzh-radiogroup--has-error":this.errorUsed,"stzh-radiogroup--is-required":this.required,"stzh-radiogroup--is-disabled":this.disabled,"stzh-radiogroup--is-invalid":this.invalid||this.errorUsed,"stzh-radiogroup--hide-legend":this.hideLegend,[`stzh-radiogroup--direction-${this.direction}`]:!!this.direction};return i(e,{key:"4b55ab98e15a04debe63b212cd4f25e65a15ef1d","is-invalid":this.invalid||this.errorUsed},i("fieldset",{key:"45d212fee1fea266114221c5c9de0b05f5a5fb9b",class:r},this.legend&&i("legend",{key:"c2a9d48ccbdadb3382382dc2c5bdbf63f3a6d595",class:"stzh-radiogroup__legend"},this.legend,!this.hideOptional&&i("span",{key:"24e4f867820ab2f2506ffa906fad0af67a492351",class:"stzh-radiogroup__marker"},i("span",{key:"0c933048161777d8dfa2d690413c591a80c3a7bf",class:"stzh-radiogroup__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),i("span",{key:"3a8343e9de73db242c5c86c17032b8729c3ec22c",class:"stzh-radiogroup__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText))),i("div",{key:"988907f9f473b15786855ed15401590e97f4d278",class:"stzh-radiogroup__fields"},i("slot",{key:"b1b851a932856476fb634fddc33a84e7aa6c71f2"})),(this.errorUsed||this.description||this.descriptionLong)&&i(d,{key:"d52f2333e6f2e5fa68f740ab7df8856434f1b9d0",classPrefix:"stzh-radiogroup",id:`${this.radiogroupId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,descriptionLongUsed:s,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))}get element(){return o(this)}static get watchers(){return{name:["watchName"],disabled:["watchDisabled"],required:["watchRequired"],value:["watchValue"],error:["errorWatcher"],preventUpdateProperties:["preventUpdatePropertiesWatcher"]}}};m.style=u();export{l as stzh_datepicker,f as stzh_radio,m as stzh_radiogroup};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,c as s,h as i,F as r,a as e,d as o}from"./p-Boyybvcm.js";import{a}from"./p-Df1Iqnz9.js";import{h}from"./p--MYN2wgX.js";import{S as d}from"./p-DS4xgN66.js";import{c}from"./p-BubviQku.js";const n=()=>`.sc-stzh-datepicker-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-datepicker-h,[stzh-hidden].sc-stzh-datepicker-h{display:none}.sc-stzh-datepicker-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-datepicker-h *.sc-stzh-datepicker,.sc-stzh-datepicker-h *.sc-stzh-datepicker::before,.sc-stzh-datepicker-h *.sc-stzh-datepicker::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-datepicker-h .has-focus.sc-stzh-datepicker{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-datepicker-h .stzh-fylingfocus-focused.sc-stzh-datepicker{outline-style:none !important}.sc-stzh-datepicker-h .stzh-fylingfocus-focused.sc-stzh-datepicker::-moz-focus-inner{border:0 !important}.sc-stzh-datepicker-h{--calendar-width:var(--stzh-calendar-width);width:100%;position:relative}[inline].sc-stzh-datepicker-h:not([inline=false]){width:var(--calendar-width)}.stzh-datepicker__popover.sc-stzh-datepicker{--width:auto}.stzh-datepicker__calendar.sc-stzh-datepicker{margin-left:auto;margin-right:auto}.stzh-datepicker__calendar.is-inline.sc-stzh-datepicker{width:100%;margin-left:0px;margin-right:0px}.stzh-datepicker__actions.sc-stzh-datepicker{display:flex;width:var(--calendar-width);margin-left:auto;margin-right:auto}.stzh-datepicker__actions.is-inline.sc-stzh-datepicker{width:100%;margin-left:0px;margin-right:0px}.stzh-datepicker__actions.sc-stzh-datepicker:not(:empty){padding-left:var(--stzh-space-small);padding-right:var(--stzh-space-small)}.stzh-datepicker--has-action.sc-stzh-datepicker .stzh-datepicker__popover.sc-stzh-datepicker{--content-padding:0 0 var(--stzh-space-small) 0}`;const l=class{constructor(i){t(this,i);this.stzhChange=s(this,"stzhChange");this.calendarMin="";this.calendarMax="";this.calendarIsDateDisabled=()=>false;this.name="";this.value="";this.calendarValue="";this.inputValue="";this.defaultValue="";this.label="";this.labelHidden=false;this.readonly=false;this.disabled=false;this.invalid=false;this.required=false;this.hideOptional=false;this.size="default";this.inline=false;this.internalDateAdapter="iso";this.handleReset=async()=>{this.value=this.defaultValue};this.onRootFocus=()=>{if(this.input){this.input.focus()}};this.onInputChanged=()=>{const t=this.dateAdapter.parse(this.input.value,"dateInput");if(this.input.value===""||t){const s=this._internalDateAdapter.format(t,"dateInput");if(this.value!==s){this.value=s}else{this.valueWatcher(s)}this.stzhChange.emit({component:"stzh-datepicker",value:this.value,valueAsDate:t})}};this.onCalendarChange=t=>{if(t.detail.component!=="stzh-calendar"){t.stopPropagation();return}this.value=t.detail.valueAsDate&&this._internalDateAdapter.format(t.detail.valueAsDate,"dateInput");this.stzhChange.emit({component:"stzh-datepicker",value:this.value,valueAsDate:t.detail.valueAsDate});if(this.popoverElement){this.popoverElement.hide()}}}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}createDateFormatters(){if(this.localization){this.dateFormatLong=new Intl.DateTimeFormat(this.localization.$locale,{day:"numeric",month:"long",year:"numeric"})}}valueWatcher(t){if(!this._internalDateAdapter){return}const s=this._internalDateAdapter.parse(t,"dateInput");this.calendarValue=a(s);this.inputValue=this.dateAdapter.format(s,"dateInput");this.updateButtonAccessibleLabel()}dateAdapterWatcher(t){if(!t){this.dateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formats,this.localization.$globals)}}internalDateAdapterWatcher(t){if(t==="iso"||!t){this._internalDateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formatsIso,this.localization.$globals)}else if(t==="legacy"){this._internalDateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formatsLegacy,this.localization.$globals)}else{this._internalDateAdapter=t}}async setDate(t){this.value=this._internalDateAdapter.format(t,"dateInput")}async getPopover(){return this.popoverElement}updateButtonAccessibleLabel(){if(!this.localization){return}try{const t=this._internalDateAdapter.parse(this.value,"dateInput");this.buttonLabel=`${this.label}, ${this.localization.buttonLabel}, ${this.localization.selectedDateMessage} ${this.dateFormatLong.format(t)}`}catch(t){this.buttonLabel=`${this.label}, ${this.localization.buttonLabel}`}}connectedCallback(){this.createDateFormatters()}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"datepicker")}this.dateAdapterWatcher(this.dateAdapter);this.internalDateAdapterWatcher(this.internalDateAdapter);this.valueWatcher(this.value);this.defaultValue=this.defaultValue||this.value}render(){const t=h(this.element,"action");const s={"stzh-datepicker":true,"stzh-datepicker--inline":this.inline,"stzh-datepicker--has-action":t};return i(e,{key:"a52d9624dabb7c42b2aca063617cbf4c58127bc4",tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus},i("div",{key:"7404dd380fdb5a753c532873aba9251376ca5b9f",class:s},i("input",{key:"dd52fed0a66c9fd644a741c7d77e1267d0dda7ff",type:"hidden",name:this.name,value:this.value,defaultValue:this.defaultValue}),this.inline&&i(r,{key:"418047f0d970748aef11562c42bd6881b3f1adc9"},i("stzh-calendar",{key:"f495e7a09408da7f3b4fd9d825f4767c008a930d",value:this.calendarValue,class:"stzh-datepicker__calendar is-inline",isDateDisabled:this.calendarIsDateDisabled,min:this.calendarMin,max:this.calendarMax,onStzhChange:this.onCalendarChange}),i("div",{key:"d2b7b3046ca5f5b759a37df5854ecd701d096c81",class:"stzh-datepicker__actions"},i("slot",{key:"be0a3d645da926485f433354589023d43bd0b194",name:"action"}))),!this.inline&&i("stzh-input",{key:"47a7d1e2dac63e0a671622036e018fc8551e430a",value:this.inputValue,label:this.label,labelHidden:this.labelHidden,ref:t=>this.input=t,noAutocomplete:true,onStzhChanged:this.onInputChanged,readonly:this.readonly,disabled:this.disabled,description:this.description,descriptionLong:this.descriptionLong,error:this.error,invalid:this.invalid,required:this.required,hideOptional:this.hideOptional,size:this.size},i("stzh-popover",{key:"88a4c69dabe171b5c584019eea6b0d5d97ee4864",ref:t=>this.popoverElement=t,class:"stzh-datepicker__popover",slot:"button-right",placement:"bottom-end",strategy:"fixed",label:this.label},i("stzh-button",{key:"aee2d861b3359fb308403d0190a7bd510605c07b","icon-only":true,icon:"calendar",size:this.size,disabled:this.disabled,a11yLabel:this.buttonLabel}),i("div",{key:"8dc55f20ad3c95666d58262a516a8b38a1870760",slot:"content"},i("stzh-calendar",{key:"f97f29fc39df058b02dfabbed2eb3af1f2e5edeb",value:this.calendarValue,class:"stzh-datepicker__calendar is-popover",isDateDisabled:this.calendarIsDateDisabled,min:this.calendarMin,max:this.calendarMax,onStzhChange:this.onCalendarChange}),i("div",{key:"74d5a5147c5fea90f91bb52f78b2d2ede3fc6ee9",class:"stzh-datepicker__actions"},i("slot",{key:"6661005acb96f9cfb88d1e5608c315bbb4af8535",name:"action"})))))))}get element(){return o(this)}static get watchers(){return{localization:["createDateFormatters"],value:["valueWatcher"],dateAdapter:["dateAdapterWatcher"],internalDateAdapter:["internalDateAdapterWatcher"]}}};l.style=n();const z=()=>`.sc-stzh-radio-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-radio-h,[stzh-hidden].sc-stzh-radio-h{display:none}.sc-stzh-radio-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-radio-h *.sc-stzh-radio,.sc-stzh-radio-h *.sc-stzh-radio::before,.sc-stzh-radio-h *.sc-stzh-radio::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-radio-h .has-focus.sc-stzh-radio{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-radio-h .stzh-fylingfocus-focused.sc-stzh-radio{outline-style:none !important}.sc-stzh-radio-h .stzh-fylingfocus-focused.sc-stzh-radio::-moz-focus-inner{border:0 !important}.sc-stzh-radio-h{--label-color:var(--stzh-radio-label-color, var(--stzh-base-color));--label-hover-color:var(--stzh-radio-label-hover-color, var(--stzh-color-primary70));--label-hover-checked-color:var(\n --stzh-radio-label-hover-checked-color,\n var(--stzh-color-primary90)\n );display:inline-block}[disabled].sc-stzh-radio-h:not([disabled=false]){--description-color:var(--stzh-color-grey70)}.stzh-radio__marker-symbol.sc-stzh-radio{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-radio__marker-text.sc-stzh-radio{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-radio__description-wrapper.sc-stzh-radio{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-radio__error.sc-stzh-radio,.stzh-radio__description.sc-stzh-radio{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-radio__error.sc-stzh-radio{color:var(--stzh-color-error60)}.stzh-radio__error-list.sc-stzh-radio{list-style:none;margin:0;padding:0}.stzh-radio__description.sc-stzh-radio{display:flex;align-items:flex-start;color:var(--stzh-input-description-color, var(--description-color, var(--stzh-color-coolgrey70)));transition:color var(--stzh-base-transition-animation-speed)}.stzh-radio__description-long.sc-stzh-radio{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-radio__description-long.sc-stzh-radio{margin-top:0}}.stzh-radio__description-long-popover.sc-stzh-radio{--width:auto;--max-width:27.3125rem}.stzh-radio__description-long-button.sc-stzh-radio{display:flex;justify-content:center;align-items:center;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer}.stzh-radio.sc-stzh-radio stzh-icon.stzh-radio__description-long-icon.sc-stzh-radio{--size:var(--stzh-icon-size-xsmall)}.stzh-radio--has-error.sc-stzh-radio .stzh-radio__error.sc-stzh-radio,.stzh-radio--has-description.sc-stzh-radio .stzh-radio__description.sc-stzh-radio{margin-top:var(--stzh-space-xxxsmall)}.stzh-radio.sc-stzh-radio{display:grid}.stzh-radio__field-wrapper.sc-stzh-radio{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);position:relative;display:flex;-webkit-user-select:none;user-select:none;cursor:pointer}.stzh-radio__input.sc-stzh-radio{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;z-index:-1;opacity:0;pointer-events:none;appearance:none;border-radius:var(--stzh-form-input-border-radius)}.stzh-radio__mark.sc-stzh-radio{border:0.125rem solid var(--stzh-color-black);background-color:var(--stzh-color-white);width:1.5rem;height:1.5rem;flex-shrink:0;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;transition:border-color var(--stzh-base-transition-animation-speed)}.stzh-radio__mark.sc-stzh-radio::before{content:""}.stzh-radio__check.sc-stzh-radio{background-color:currentColor;color:var(--stzh-color-primary70);width:1rem;height:1rem;border-radius:50%;opacity:0;transition-property:color;transition-duration:var(--stzh-base-transition-animation-speed)}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-radio__check.sc-stzh-radio{background-color:ButtonText}}.stzh-radio__label.sc-stzh-radio{--stzh-base-color:initial;display:inline-block;color:var(--label-color);transition:color var(--stzh-base-transition-animation-speed);margin-left:var(--stzh-space-small);line-height:1.5rem}.stzh-radio__label.sc-stzh-radio:empty{display:none}.stzh-radio__marker.sc-stzh-radio{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);margin-left:calc(-0.25em + var(--stzh-space-xsmall))}.stzh-radio.sc-stzh-radio:hover .stzh-radio__label.sc-stzh-radio,.stzh-radio__input.sc-stzh-radio:checked~.stzh-radio__label.sc-stzh-radio{color:var(--label-hover-color)}.stzh-radio__input.sc-stzh-radio:checked:hover~.stzh-radio__label.sc-stzh-radio,.stzh-radio__input.sc-stzh-radio:checked:hover~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{color:var(--label-hover-checked-color)}.stzh-radio.sc-stzh-radio:hover .stzh-radio__mark.sc-stzh-radio,.stzh-radio__input.sc-stzh-radio:checked~.stzh-radio__mark.sc-stzh-radio{border-color:var(--label-hover-color)}.stzh-radio__input.sc-stzh-radio:checked:hover~.stzh-radio__mark.sc-stzh-radio{border-color:var(--label-hover-checked-color)}.stzh-radio__input.sc-stzh-radio:checked~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{opacity:1}.stzh-radio--is-invalid.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__label.sc-stzh-radio,.stzh-radio--is-invalid.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{color:var(--stzh-color-error60)}.stzh-radio--is-invalid.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio{border-color:var(--stzh-color-error60)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__field-wrapper.sc-stzh-radio{cursor:not-allowed}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__label.sc-stzh-radio{color:var(--stzh-color-grey60)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{color:var(--stzh-color-grey50)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio{border-color:var(--stzh-color-grey50)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__mark.sc-stzh-radio{background-color:var(--stzh-color-grey20)}`;let p=0;const f=class{constructor(i){t(this,i);this.stzhChange=s(this,"stzhChange");this.stzhFocus=s(this,"stzhFocus");this.stzhBlur=s(this,"stzhBlur");this.disabled=false;this.name="";this.value="";this.invalid=false;this.required=false;this.hideOptional=false;this.checked=false;this.label="";this.a11yDescribedby="";this.focusedByInput=false;this.handleReset=async()=>{this.checked=this.defaultChecked};this.onInput=t=>{this.checked=this.input.checked;this.stzhChange.emit({component:"stzh-radio",originalEvent:t,value:this.value,checked:this.checked})};this.onRootFocus=()=>{if(!this.focusedByInput){this.input.focus()}this.focusedByInput=false};this.onFocus=t=>{this.focusedByInput=true;const s=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhFocus.emit({component:"stzh-radio",originalEvent:t})};this.onBlur=t=>{const s=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});this.element.dispatchEvent(s);this.stzhBlur.emit({component:"stzh-radio",originalEvent:t})}}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}errorWatcher(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(s){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}}async componentWillLoad(){this.inputId=`stzh-radio-${p++}`;this.errorWatcher(this.error);this.defaultChecked=typeof this.defaultChecked==="boolean"?this.defaultChecked:this.checked;if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"radio")}}render(){var t;const s=h(this.element,"description")||!!this.description;const r=h(this.element,"description-long")||!!this.descriptionLong;const o=h(this.element,"error")||((t=this._error)===null||t===void 0?void 0:t.length)>0;const a={"stzh-radio":true,"stzh-radio--has-description":s,"stzh-radio--has-description-long":r,"stzh-radio--has-error":o,"stzh-radio--is-required":this.required,"stzh-radio--is-invalid":this.invalid||o,"stzh-radio--is-disabled":this.disabled};return i(e,{key:"4de55dcf0cf5751dea729849cbca2b766c34baac","is-invalid":this.invalid||o,tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus},i("div",{key:"018a6fa6d79c7f64b3a8b214ef77d63b36e2178d",class:a},i("label",{key:"f6137e3feb9debe11e31eb3c162a7932c82b68aa",class:"stzh-radio__field-wrapper"},i("input",{key:"118a9e4140741846288154d47bf2e2de2312aaf7",class:"stzh-radio__input",ref:t=>this.input=t,type:"radio",id:this.inputId,name:this.name,value:this.value,disabled:this.disabled,"aria-describedby":`${this.inputId}-description ${this.a11yDescribedby}`,"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",checked:this.checked,defaultChecked:this.defaultChecked,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur}),i("div",{key:"fb02dbba793d2d5fe03e1825700167044b5911b6",class:"stzh-radio__mark"},i("div",{key:"198e7d5767f7990d246ab208ada160786fb38ba3",class:"stzh-radio__check"})),i("div",{key:"fb42d1545bbbd40bf113ac893b756db32e0d9d98",class:"stzh-radio__label"},this.label?this.label:i("slot",null),!this.hideOptional&&i("span",{key:"54887af076ec189d17f37cf61a346ee841071706",class:"stzh-radio__marker"},i("span",{key:"5da875ed1cc969a251a8a3318628476959eb13e8",class:"stzh-radio__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),i("span",{key:"c0bded0610f13b04844f33e2db4ea1331ba10378",class:"stzh-radio__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText)))),(o||this.description||this.descriptionLong)&&i(d,{key:"e5f84e2d1bba00885e0ebb0e5702ea6cbef4b61a",classPrefix:"stzh-radio",id:`${this.inputId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,descriptionLongUsed:r,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))}get element(){return o(this)}static get watchers(){return{error:["errorWatcher"]}}};f.style=z();const u=()=>`.sc-stzh-radiogroup-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-radiogroup-h,[stzh-hidden].sc-stzh-radiogroup-h{display:none}.sc-stzh-radiogroup-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-radiogroup-h *.sc-stzh-radiogroup,.sc-stzh-radiogroup-h *.sc-stzh-radiogroup::before,.sc-stzh-radiogroup-h *.sc-stzh-radiogroup::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-radiogroup-h .has-focus.sc-stzh-radiogroup{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-radiogroup-h .stzh-fylingfocus-focused.sc-stzh-radiogroup{outline-style:none !important}.sc-stzh-radiogroup-h .stzh-fylingfocus-focused.sc-stzh-radiogroup::-moz-focus-inner{border:0 !important}.sc-stzh-radiogroup-h{--legend-color:var(--stzh-radio-group-legend-color, var(--stzh-heading-color))}[disabled].sc-stzh-radiogroup-h:not([disabled=false]){--description-color:var(--stzh-color-grey70)}.stzh-radiogroup__marker-symbol.sc-stzh-radiogroup{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-radiogroup__marker-text.sc-stzh-radiogroup{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-radiogroup__description-wrapper.sc-stzh-radiogroup{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-radiogroup__error.sc-stzh-radiogroup,.stzh-radiogroup__description.sc-stzh-radiogroup{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-radiogroup__error.sc-stzh-radiogroup{color:var(--stzh-color-error60)}.stzh-radiogroup__error-list.sc-stzh-radiogroup{list-style:none;margin:0;padding:0}.stzh-radiogroup__description.sc-stzh-radiogroup{display:flex;align-items:flex-start;color:var(--stzh-input-description-color, var(--description-color, var(--stzh-color-coolgrey70)));transition:color var(--stzh-base-transition-animation-speed)}.stzh-radiogroup__description-long.sc-stzh-radiogroup{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-radiogroup__description-long.sc-stzh-radiogroup{margin-top:0}}.stzh-radiogroup__description-long-popover.sc-stzh-radiogroup{--width:auto;--max-width:27.3125rem}.stzh-radiogroup__description-long-button.sc-stzh-radiogroup{display:flex;justify-content:center;align-items:center;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer}.stzh-radiogroup.sc-stzh-radiogroup stzh-icon.stzh-radiogroup__description-long-icon.sc-stzh-radiogroup{--size:var(--stzh-icon-size-xsmall)}.stzh-radiogroup--has-error.sc-stzh-radiogroup .stzh-radiogroup__error.sc-stzh-radiogroup,.stzh-radiogroup--has-description.sc-stzh-radiogroup .stzh-radiogroup__description.sc-stzh-radiogroup{margin-top:var(--stzh-space-xxxsmall)}.stzh-radiogroup.sc-stzh-radiogroup{margin:0;padding:0;border:none}.stzh-radiogroup__fields.sc-stzh-radiogroup{display:flex;align-items:flex-start;flex-direction:column;gap:var(--stzh-space-medium)}.stzh-radiogroup__legend.sc-stzh-radiogroup{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--legend-color);padding:0;margin-bottom:var(--stzh-space-xsmall)}.stzh-radiogroup__marker.sc-stzh-radiogroup{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);margin-left:calc(-0.25em + var(--stzh-space-xsmall))}.stzh-radiogroup--hide-legend.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-radiogroup--is-invalid.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup,.stzh-radiogroup--has-error.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{color:var(--stzh-color-error60)}.stzh-radiogroup--is-disabled.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{color:var(--stzh-color-grey60)}.stzh-radiogroup--direction-horizontal.sc-stzh-radiogroup .stzh-radiogroup__fields.sc-stzh-radiogroup{flex-wrap:wrap;flex-direction:row;row-gap:var(--stzh-space-medium);column-gap:var(--stzh-space-xxlarge)}`;const g="stzh-radio, stzh-button[type=radio], stzh-card";let b=0;const m=class{constructor(s){t(this,s);this.disabled=false;this.hideLegend=false;this.invalid=false;this.required=false;this.hideOptional=false;this.value="";this.defaultValue="";this.direction="vertical";this.checkedRadio=null;this.preventUpdateProperties=[];this._preventUpdateProperties=[];this.handleReset=async()=>{this.value=this.defaultValue};this.init=()=>{this.radios=Array.from(this.element.querySelectorAll(g));this.updateRadiosProperty("hide-optional",true);this.updateRadiosProperty("a11y-describedby",`${this.radiogroupId}-description`);this.updateRadiosProperty("invalid",this.invalid||this.errorUsed);this.watchValue(this.value);this.watchName(this.name);this.watchDisabled(this.disabled);this.watchRequired(this.required)}}watchName(t){this.updateRadiosProperty("name",t)}watchDisabled(t){this.updateRadiosProperty("disabled",t)}watchRequired(t){this.updateRadiosProperty("required",t)}watchValue(t){this.updateCheckedRadioByValue(t)}errorWatcher(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(s){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}}preventUpdatePropertiesWatcher(t){if(typeof t==="string"){this._preventUpdateProperties=JSON.parse(t)}else{this._preventUpdateProperties=t}}resetListener(t){if(t.target.contains(this.element)){requestAnimationFrame((()=>{this.handleReset()}))}}onChange(t){this.value=t.detail.value}updateRadiosProperty(t,s){this.radios.forEach((i=>{if(t==="disabled"){if(!i.disabled){i.disabled=s}}else if(t==="name"||this._preventUpdateProperties.indexOf(t)===-1){i[c(t)]=s}}))}get errorUsed(){var t;return h(this.element,"error")||((t=this._error)===null||t===void 0?void 0:t.length)>0}updateCheckedRadioByValue(t){this.checkedRadio=this.radios.find((s=>s.value===t));if(this.checkedRadio){this.checkedRadio.checked=true}this.uncheckRadios()}uncheckRadios(){this.radios.forEach((t=>{if(!this.checkedRadio||t!==this.checkedRadio){t.checked=false}}))}componentDidLoad(){this.defaultValue=this.defaultValue?this.defaultValue:this.value}async componentWillLoad(){this.radiogroupId=`stzh-radiogroup-${b++}`;this.errorWatcher(this.error);this.preventUpdatePropertiesWatcher(this.preventUpdateProperties);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"radiogroup")}}componentShouldUpdate(t,s,i){return i!=="checkedRadio"}componentDidRender(){this.init()}connectedCallback(){if(!this.value){this.radios=Array.from(this.element.querySelectorAll(g));const t=this.radios.find((t=>t.checked));if(t){this.value=t.value}}this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})}disconnectedCallback(){if(this.observer){this.observer.disconnect()}}render(){const t=h(this.element,"description")||!!this.description;const s=h(this.element,"description-long")||!!this.descriptionLong;const r={"stzh-radiogroup":true,"stzh-radiogroup--has-description":t,"stzh-radiogroup--has-description-long":s,"stzh-radiogroup--has-error":this.errorUsed,"stzh-radiogroup--is-required":this.required,"stzh-radiogroup--is-disabled":this.disabled,"stzh-radiogroup--is-invalid":this.invalid||this.errorUsed,"stzh-radiogroup--hide-legend":this.hideLegend,[`stzh-radiogroup--direction-${this.direction}`]:!!this.direction};return i(e,{key:"4b55ab98e15a04debe63b212cd4f25e65a15ef1d","is-invalid":this.invalid||this.errorUsed},i("fieldset",{key:"45d212fee1fea266114221c5c9de0b05f5a5fb9b",class:r},this.legend&&i("legend",{key:"c2a9d48ccbdadb3382382dc2c5bdbf63f3a6d595",class:"stzh-radiogroup__legend"},this.legend,!this.hideOptional&&i("span",{key:"24e4f867820ab2f2506ffa906fad0af67a492351",class:"stzh-radiogroup__marker"},i("span",{key:"0c933048161777d8dfa2d690413c591a80c3a7bf",class:"stzh-radiogroup__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),i("span",{key:"3a8343e9de73db242c5c86c17032b8729c3ec22c",class:"stzh-radiogroup__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText))),i("div",{key:"988907f9f473b15786855ed15401590e97f4d278",class:"stzh-radiogroup__fields"},i("slot",{key:"b1b851a932856476fb634fddc33a84e7aa6c71f2"})),(this.errorUsed||this.description||this.descriptionLong)&&i(d,{key:"d52f2333e6f2e5fa68f740ab7df8856434f1b9d0",classPrefix:"stzh-radiogroup",id:`${this.radiogroupId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongTitle:this.descriptionLongTitle,descriptionLongUsed:s,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))}get element(){return o(this)}static get watchers(){return{name:["watchName"],disabled:["watchDisabled"],required:["watchRequired"],value:["watchValue"],error:["errorWatcher"],preventUpdateProperties:["preventUpdatePropertiesWatcher"]}}};m.style=u();export{l as stzh_datepicker,f as stzh_radio,m as stzh_radiogroup};
|
|
2
|
+
//# sourceMappingURL=p-bc041233.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as s,h as t,a as o,d as c}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as s,h as t,a as o,d as c}from"./p-Boyybvcm.js";const e=()=>`.sc-stzh-chipgroup-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-chipgroup-h,[stzh-hidden].sc-stzh-chipgroup-h{display:none}.sc-stzh-chipgroup-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-chipgroup-h *.sc-stzh-chipgroup,.sc-stzh-chipgroup-h *.sc-stzh-chipgroup::before,.sc-stzh-chipgroup-h *.sc-stzh-chipgroup::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-chipgroup-h .has-focus.sc-stzh-chipgroup{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-chipgroup-h .stzh-fylingfocus-focused.sc-stzh-chipgroup{outline-style:none !important}.sc-stzh-chipgroup-h .stzh-fylingfocus-focused.sc-stzh-chipgroup::-moz-focus-inner{border:0 !important}.stzh-chipgroup.sc-stzh-chipgroup{display:flex;gap:var(--stzh-space-medium)}`;const i=class{constructor(t){s(this,t)}render(){const s={"stzh-chipgroup":true};return t(o,{key:"75305915ca2e177e4d483517657cbfd5719ca24f"},t("div",{key:"14f1d4d2d303ef246fa7e6c63654bc065cfd9cb1",class:s},t("slot",{key:"18ca0237e4cf3db776cdf49cad1cb72a8ded84d8"})))}get element(){return c(this)}};i.style=e();export{i as stzh_chipgroup};
|
|
2
|
+
//# sourceMappingURL=p-bce8c218.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,c as s,h as e,a as i,d as r}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,c as s,h as e,a as i,d as r}from"./p-Boyybvcm.js";import{a as o}from"./p-C6Fx6bTl.js";import{a}from"./p-BubviQku.js";import{VBZ as h}from"./index.esm.js";import"./p-E-ZsRS8r.js";const c=()=>`.sc-stzh-vbz-majorticker-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-vbz-majorticker-h,[stzh-hidden].sc-stzh-vbz-majorticker-h{display:none}.sc-stzh-vbz-majorticker-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-vbz-majorticker-h *.sc-stzh-vbz-majorticker,.sc-stzh-vbz-majorticker-h *.sc-stzh-vbz-majorticker::before,.sc-stzh-vbz-majorticker-h *.sc-stzh-vbz-majorticker::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-vbz-majorticker-h .has-focus.sc-stzh-vbz-majorticker{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-vbz-majorticker-h .stzh-fylingfocus-focused.sc-stzh-vbz-majorticker{outline-style:none !important}.sc-stzh-vbz-majorticker-h .stzh-fylingfocus-focused.sc-stzh-vbz-majorticker::-moz-focus-inner{border:0 !important}.stzh-vbz-majorticker__ghettobox.sc-stzh-vbz-majorticker{--stzh-base-invert-color:var(--stzh-color-black);--color:var(--stzh-color-black);--background-color:var(--stzh-color-coral)}`;const n=class{constructor(e){t(this,e);this.stzhDisturbanceFetched=s(this,"stzhDisturbanceFetched");this.api="https://fpbe.zvv.ch/restproxy/himsearch?format=json&accessId=unic&channels=ticker&additionalfields=tickers:VBZ&orderBy=LMOD_DESC&lang={lang}";this.data="";this.moreInfoLink="https://zvv.ch/zvv/{lang}/fahrplan/vl.html?himIds={id}";this.ghettoboxShown=true;this.disturbance=null;this.onGhettoboxOpen=()=>{this.ghettoboxShown=true};this.onGhettoboxClose=()=>{this.ghettoboxShown=false}}async getGhettoboxShown(){return this.ghettoboxShown}async getDisturbance(){return this.disturbance}async apiWatcher(t){if(!t){return}let s=this.api.replace(/\{lang\}/,this.localization.$locale);s=s+(s.includes("?")?"&":"?")+Date.now();const{data:e}=await o.get(s);this.data=e}dateAdapterWatcher(t){if(!t){this.dateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formats,this.localization.$globals)}}async dataWatcher(t){var s,e;if(typeof t==="string"){this._data=JSON.parse(t)}else{this._data=t}const i=(e=(s=this._data)===null||s===void 0?void 0:s.Message)===null||e===void 0?void 0:e.find((t=>t.category===h.DISTURBANCE_INFORMATION&&t.baseType===h.BASE_TYPE_GLOBAL));if(i){const t=i.channel.filter((t=>t.name===h.CHANNEL_TICKER&&t.url)).map((t=>t.url)).reduce(((t,s)=>t.concat(s)),[]);const s=t.find((t=>t.url.indexOf(h.CHANNEL_INFO_URL_FILTER)!==-1));this.disturbance={id:i.id,head:i.head,text:a(i.text),startDate:new Date(`${i.sDate}T${i.sTime}+02:00`),endDate:new Date(`${i.eDate}T${i.eTime}+02:00`),altStart:i.altStart,altEnd:i.altEnd,infoUrl:s}}this.stzhDisturbanceFetched.emit({component:"stzh-vbz-majorticker",disturbance:this.disturbance})}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"vbz-majorticker")}this.dateAdapterWatcher(this.dateAdapter);if(this.data){await this.dataWatcher(this.data)}else{await this.apiWatcher(this.api)}}render(){const t={"stzh-vbz-majorticker":true};return e(i,{key:"8db6939f8e760ebcce492098b439ad9a821d49b6",hidden:!this.disturbance||!this.ghettoboxShown},e("div",{key:"d79c60cae875127356b1c20b7a556919a6decf58",class:t},this.disturbance&&e("stzh-show",{key:"6cfd95ccead38193fc1105dc34016e7d81e2eb6c",mikro:true,closeKey:this.showCloseKey,showFromDate:this.disturbance.startDate},e("stzh-ghettobox",{key:"456acca37d461b62cdca1060c35f3ba3a3c7ae87",onStzhOpen:this.onGhettoboxOpen,onStzhClose:this.onGhettoboxClose,class:"stzh-vbz-majorticker__ghettobox",hideClose:true,mainTitle:this.disturbance.head},e("stzh-richtext",{key:"af9792b8f95cba278d5205b7b4a9f4f9a695d128",innerHTML:this.disturbance.text}),this.disturbance.infoUrl?e("stzh-button",{slot:"button",href:this.disturbance.infoUrl.url},this.disturbance.infoUrl.name):e("stzh-button",{slot:"button",target:"_blank",href:this.moreInfoLink.replace(/\{lang\}/,this.localization.$locale).replace(/\{id\}/,this.disturbance.id)},this.localization.moreInfo)))))}get element(){return r(this)}static get watchers(){return{api:["apiWatcher"],dateAdapter:["dateAdapterWatcher"],data:["dataWatcher"]}}};n.style=c();export{n as stzh_vbz_majorticker};
|
|
2
|
+
//# sourceMappingURL=p-bdabc422.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,h as e,a,d as s}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,h as e,a,d as s}from"./p-Boyybvcm.js";import{StzhSocialmediastreamItemActionVariant as i}from"./index.esm.js";const o=()=>`:host{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}:host[hidden],:host[stzh-hidden]{display:none}:host::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}:host *,:host *::before,:host *::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}:host{}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}.stzh-socialmediastream-item{display:block;background-color:var(--stzh-color-grey10);text-decoration:none;color:var(--stzh-color-grey80)}.stzh-socialmediastream-item:visited{color:var(--stzh-color-grey80)}.stzh-socialmediastream-item:hover{background-color:var(--stzh-color-secondary10);color:var(--stzh-color-black)}.stzh-socialmediastream-item__image{position:relative}.stzh-socialmediastream-item__ratio{--background-color:var(--image-background-color)}.stzh-socialmediastream-item__image-inner-wrapper{background-color:var(--image-background-color);position:absolute;inset:0;height:100%}.stzh-socialmediastream-item__image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.stzh-socialmediastream-item{}.stzh-socialmediastream-item__content{padding:var(--stzh-space-xsmall) var(--stzh-space-medium) var(--stzh-space-small);display:flex;flex-direction:column;gap:var(--stzh-space-small)}.stzh-socialmediastream-item{}.stzh-socialmediastream-item__content-head{display:flex;align-items:center}.stzh-socialmediastream-item__content-head stzh-icon{--color:var(--stzh-color-primary)}.stzh-socialmediastream-item__content-title{width:100%;--color:var(--stzh-color-grey80)}.stzh-socialmediastream-item:hover .stzh-socialmediastream-item__content-title{--color:var(--stzh-color-black)}.stzh-socialmediastream-item{}.stzh-socialmediastream-item__content-body{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);--color:var(--stzh-color-grey80)}.stzh-socialmediastream-item__content-body a{word-wrap:break-word;color:var(--stzh-link-color)}.stzh-socialmediastream-item__content-body a:hover{color:var(--stzh-link-hover-color)}.stzh-socialmediastream-item__content-body a+a{margin-left:var(--stzh-space-xxsmall)}.stzh-socialmediastream-item{}.stzh-socialmediastream-item__content-footer{display:flex;align-items:center;gap:var(--stzh-space-small)}.stzh-socialmediastream-item__action{text-decoration:none;font-size:var(--stzh-font-pico-font-size);line-height:var(--stzh-font-pico-text-line-height);color:var(--stzh-link-color);display:flex;align-items:center;gap:var(--stzh-space-xxsmall);line-height:1}.stzh-socialmediastream-item__action:hover{color:var(--stzh-link-hover-color)}.stzh-socialmediastream-item__action stzh-icon{--size:1rem}`;const r=class{constructor(e){t(this,e);this.item="";this.init=()=>{this.itemWatcher(this.item)}}itemWatcher(t){if(!t){this._item=undefined}else if(typeof t==="string"){try{this._item=JSON.parse(t)}catch(t){this._item=undefined}}else{this._item=t}}getIconName(t){switch(t.channel){case"facebook":return"facebook";case"twitter":case"x":return"twitter";case"instagram":return"instagram";case"youtube":return"youtube";default:return"warning"}}getActionIconName(t){switch(t){case i.comments:return"facebook-comment";case i.likes:return"like-hand";case i.shares:return"share"}}getParsedDate(t){const e=new Date(t);if(isNaN(e.getTime())){return null}return e}connectedCallback(){this.init()}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"socialmediastream-item")}if(!this.dateAdapter){this.dateAdapter=window.stzhComponents.utils.createFormatParseAdapter(this.localization.$formats,this.localization.$globals)}}render(){const t={"stzh-socialmediastream-item":true};return e(a,{key:"86cc48333a1846eaa1cec7659f4ada1288f5571f"},e("a",{key:"737eeb99e950d60e5f4df5d2be915f63932d2dc3",class:t,href:this._item.link,target:"_blank"},this._item.image&&e("div",{key:"0bf295e71d5c9b33839d8a4932c92310dedf060d",class:"stzh-socialmediastream-item__image"},e("stzh-ratio",{key:"9963f0b0835e3b85c2709eb684e067635cb98903",ratio:"1:1"}),e("div",{key:"c020549c4a28a8b5a8feacce9b4df0965eff7090",class:"stzh-socialmediastream-item__image-inner-wrapper"},e("img",{key:"e46a11d6ec9c0558c04a9398dd7a5b914f7a99ec",src:this._item.image,alt:this._item.account.title}))),e("div",{key:"f2c30eeb50ec71abc16d7b33df1f802dbe006500",class:"stzh-socialmediastream-item__content"},e("div",{key:"40a7b297f2be3cfe241b49aa812e95eb2cf4174d",class:"stzh-socialmediastream-item__content-head"},e("stzh-text",{key:"35ead7e4bae43ed3a1320eabdfc4fbcb37c96730",size:"nano",class:"stzh-socialmediastream-item__content-title"},e("strong",{key:"6843d5c9fd40fc6b77ba780a74a80f5c8d8ba641"},this._item.account.title),e("br",{key:"e6ae85a6f6b79cebe7e782cfc612c7bd9af5685d"}),this.dateAdapter.format(this.getParsedDate(this._item.date),"dateInput")),e("stzh-icon",{key:"dd2bf396504deed5bd1f31f855c0b179c83a0618",name:this.getIconName(this._item)})),e("div",{key:"349cda5dac204dd237e9ba5697e4007971368974",class:"stzh-socialmediastream-item__content-body",innerHTML:this._item.text}),e("div",{key:"9566772c429384d611a9c349035b0a1d85223bec",class:"stzh-socialmediastream-item__content-footer 1q23"},this._item.actions&&this._item.actions.map((t=>e("a",{href:t.url,title:t.title,class:"stzh-socialmediastream-item__action",target:"_blank"},e("stzh-icon",{name:this.getActionIconName(t.variant)}),t.count)))))))}get element(){return s(this)}static get watchers(){return{item:["itemWatcher"]}}};r.style=o();export{r as stzh_socialmediastream_item};
|
|
2
|
+
//# sourceMappingURL=p-bf422149.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,h as e,a as s,d as i}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,h as e,a as s,d as i}from"./p-Boyybvcm.js";import{h as r}from"./p--MYN2wgX.js";import"./p-BubviQku.js";const h=()=>`.sc-stzh-figure-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-figure-h,[stzh-hidden].sc-stzh-figure-h{display:none}.sc-stzh-figure-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-figure-h *.sc-stzh-figure,.sc-stzh-figure-h *.sc-stzh-figure::before,.sc-stzh-figure-h *.sc-stzh-figure::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-figure-h .has-focus.sc-stzh-figure{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-figure-h .stzh-fylingfocus-focused.sc-stzh-figure{outline-style:none !important}.sc-stzh-figure-h .stzh-fylingfocus-focused.sc-stzh-figure::-moz-focus-inner{border:0 !important}.sc-stzh-figure-h{--caption-opacity:1}.sc-stzh-figure-h.sc-stzh-figure-s>*,.sc-stzh-figure-h .sc-stzh-figure-s>*{max-width:100%}.sc-stzh-figure-h[fullwidth]:not([fullwidth=false]).sc-stzh-figure-s>:not(map),.sc-stzh-figure-h[fullwidth]:not([fullwidth=false]) .sc-stzh-figure-s>:not(map){width:100%}.stzh-figure.sc-stzh-figure{display:flex;flex-direction:column;margin:0}.stzh-figure__element.sc-stzh-figure{display:flex}@media print{.stzh-figure__element.sc-stzh-figure{page-break-inside:avoid;break-inside:avoid}}.stzh-figure__caption-wrapper.sc-stzh-figure{font-size:var(--stzh-font-curve-caption-default-font-size, var(--stzh-font-nano-font-size));line-height:var(--stzh-font-curve-caption-default-text-line-height, var(--stzh-font-nano-text-line-height))}@media screen and (min-width: 900px){.stzh-figure__caption-wrapper.sc-stzh-figure{font-size:var(--stzh-font-curve-caption-medium-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-caption-medium-text-line-height, var(--stzh-font-micro-text-line-height))}}.stzh-figure__caption-wrapper.sc-stzh-figure{display:flex;flex-direction:column;opacity:var(--caption-opacity);transition:opacity var(--stzh-base-transition-animation-speed)}.stzh-figure__heading-wrapper.sc-stzh-figure{display:flow-root}.stzh-figure__counter.sc-stzh-figure{float:left;color:var(--stzh-color-secondary60)}.stzh-figure__counter.sc-stzh-figure:not(:empty){margin-right:var(--stzh-space-xsmall)}.stzh-figure__counter.sc-stzh-figure,.stzh-figure__heading.sc-stzh-figure{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);display:block}.stzh-figure__copyright.sc-stzh-figure{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);font-size:var(--stzh-font-femto-font-size);line-height:var(--stzh-font-femto-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);color:var(--stzh-color-grey80)}.stzh-figure__copyright.sc-stzh-figure:not(:empty){margin-top:var(--stzh-space-xxsmall)}.stzh-figure--has-caption.sc-stzh-figure .stzh-figure__caption-wrapper.sc-stzh-figure{margin-top:var(--stzh-space-small)}`;const o=class{constructor(e){t(this,e);this.caption="";this.copyright="";this.counter="";this.heading="";this.fullwidth=true}render(){const t=r(this.element,"caption");const i=r(this.element,"copyright");const h=r(this.element,"counter");const o=r(this.element,"heading");const a={"stzh-figure":true,"stzh-figure--has-caption":!!this.caption||t||!!this.copyright||i||!!this.counter||h||!!this.heading||o};return e(s,{key:"88e75a81ab486ad5073eb5c6fcf8a6c93e9392c1"},e("figure",{key:"af3e2cf815e6482562db702e0893ad16a68de780",class:a},e("div",{key:"0aee9fe2567205162c8afe16709aa68de4ddc25f",class:"stzh-figure__element"},e("slot",{key:"a5541ea10f000e97d268d9f216edc57c63e608fb"})),e("figcaption",{key:"10cfb34819231c162477065db08088dfdd4450a0",class:"stzh-figure__caption-wrapper"},e("div",{key:"59719ce4f658c4d15b85d58d443c4d49a9b1480c",class:"stzh-figure__heading-wrapper"},e("div",{key:"620ee7bb82710e68318202a802135a7f6da71d9f",class:"stzh-figure__counter"},this.counter?this.counter:e("slot",{name:"counter"})),e("div",{key:"ab8275e9f721e1f37f9b0f3c60c0c169164318ad",class:"stzh-figure__heading"},this.heading?this.heading:e("slot",{name:"heading"}))),e("div",{key:"baf69a636dd89c9188030f47d79bd74aa7a3be04",class:"stzh-figure__caption"},e("div",{key:"4cf100cd252cd003a17b5f00256492fed37f6916",class:"stzh-figure__caption-text"},this.caption?this.caption:e("slot",{name:"caption"})),e("div",{key:"9fd5930bec556553da75b8909c3dd1fd95a7122b",class:"stzh-figure__copyright"},this.copyright?this.copyright:e("slot",{name:"copyright"}))))))}get element(){return i(this)}};o.style=h();export{o as stzh_figure};
|
|
2
|
+
//# sourceMappingURL=p-c062dbd8.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,c as s,h as e,a,d as i}from"./p-BQiZz3hq.js";const m=()=>`.sc-stzh-datamessagelist-item-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-datamessagelist-item-h,[stzh-hidden].sc-stzh-datamessagelist-item-h{display:none}.sc-stzh-datamessagelist-item-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-datamessagelist-item-h *.sc-stzh-datamessagelist-item,.sc-stzh-datamessagelist-item-h *.sc-stzh-datamessagelist-item::before,.sc-stzh-datamessagelist-item-h *.sc-stzh-datamessagelist-item::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-datamessagelist-item-h .has-focus.sc-stzh-datamessagelist-item{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-datamessagelist-item-h .stzh-fylingfocus-focused.sc-stzh-datamessagelist-item{outline-style:none !important}.sc-stzh-datamessagelist-item-h .stzh-fylingfocus-focused.sc-stzh-datamessagelist-item::-moz-focus-inner{border:0 !important}.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-left:var(--stzh-space-large)}@media screen and (min-width: 600px){.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-left:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-left:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-left:var(--stzh-space-xxxlarge)}}.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-right:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-right:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-right:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-right:var(--stzh-space-xxlarge)}}.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{display:flex;position:relative;padding:var(--stzh-space-medium);background-color:var(--stzh-color-white)}.stzh-datamessagelist-item__vhidden.sc-stzh-datamessagelist-item{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-datamessagelist-item__content.sc-stzh-datamessagelist-item{display:flex;flex-direction:column;flex-grow:1}@media screen and (min-width: 900px){.stzh-datamessagelist-item__content.sc-stzh-datamessagelist-item{flex-direction:row;align-items:center}}.stzh-datamessagelist-item__text.sc-stzh-datamessagelist-item{flex-grow:1}.stzh-datamessagelist-item__heading.sc-stzh-datamessagelist-item{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-style:var(--stzh-font-style-title);font-size:var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-h4-default-heading-line-height, var(--stzh-font-milli-heading-line-height));letter-spacing:var(--stzh-font-curve-h4-default-heading-letter-spacing)}@media screen and (min-width: 600px){.stzh-datamessagelist-item__heading.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-h4-small-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h4-small-heading-line-height, var(--stzh-font-centi-heading-line-height));letter-spacing:var(--stzh-font-curve-h4-small-heading-letter-spacing)}}@media screen and (min-width: 1260px){.stzh-datamessagelist-item__heading.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-h4-large-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h4-large-heading-line-height, var(--stzh-font-deci-heading-line-height));letter-spacing:var(--stzh-font-curve-h4-large-heading-letter-spacing)}}@media screen and (min-width: 1600px){.stzh-datamessagelist-item__heading.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-h4-ultra-font-size, var(--stzh-font-deca-font-size));line-height:var(--stzh-font-curve-h4-ultra-heading-line-height, var(--stzh-font-deca-text-line-height));letter-spacing:var(--stzh-font-curve-h4-ultra-heading-letter-spacing, var(--stzh-font-deca-text-letter-spacing))}}.stzh-datamessagelist-item__heading.sc-stzh-datamessagelist-item{color:var(--stzh-base-lead-color);margin:0}.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item{font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;-webkit-text-decoration-line:none;text-decoration-line:none;transition:color var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-button-border-radius);padding:0;border:none;background-color:transparent;appearance:none}.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item::before,.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item::after{content:"";display:block;position:absolute;top:0;left:0;width:100%;height:100%}.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item::before{transition:all var(--stzh-base-transition-animation-speed)}.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item::after{z-index:1}.stzh-datamessagelist-item__description.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing)}@media screen and (min-width: 900px){.stzh-datamessagelist-item__description.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-datamessagelist-item__description.sc-stzh-datamessagelist-item{color:var(--stzh-base-lead-color)}.stzh-datamessagelist-item__meta-wrapper.sc-stzh-datamessagelist-item{margin-top:var(--stzh-space-small)}@media screen and (min-width: 600px){.stzh-datamessagelist-item__meta-wrapper.sc-stzh-datamessagelist-item{margin-top:var(--stzh-space-xxsmall)}}.stzh-datamessagelist-item__meta.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-caption-default-font-size, var(--stzh-font-nano-font-size));line-height:var(--stzh-font-curve-caption-default-text-line-height, var(--stzh-font-nano-text-line-height))}@media screen and (min-width: 900px){.stzh-datamessagelist-item__meta.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-caption-medium-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-caption-medium-text-line-height, var(--stzh-font-micro-text-line-height))}}.stzh-datamessagelist-item__meta.sc-stzh-datamessagelist-item{display:table;list-style:none;margin:0;padding:0}@media screen and (min-width: 600px){.stzh-datamessagelist-item__meta.sc-stzh-datamessagelist-item{display:flex;flex-wrap:wrap;margin:0 calc(var(--stzh-space-xsmall) / -1)}}.stzh-datamessagelist-item__meta-item.sc-stzh-datamessagelist-item{display:table-row}@media screen and (min-width: 600px){.stzh-datamessagelist-item__meta-item.sc-stzh-datamessagelist-item{display:flex;margin:0 var(--stzh-space-xsmall)}}.stzh-datamessagelist-item__meta-item-label.sc-stzh-datamessagelist-item,.stzh-datamessagelist-item__meta-item-value.sc-stzh-datamessagelist-item{display:table-cell}@media screen and (min-width: 600px){.stzh-datamessagelist-item__meta-item-label.sc-stzh-datamessagelist-item,.stzh-datamessagelist-item__meta-item-value.sc-stzh-datamessagelist-item{display:inline-block}}.stzh-datamessagelist-item__meta-item-label.sc-stzh-datamessagelist-item{padding-right:var(--stzh-space-xsmall)}.stzh-datamessagelist-item__meta-item-value.sc-stzh-datamessagelist-item{color:var(--stzh-color-black)}.stzh-datamessagelist-item__status.sc-stzh-datamessagelist-item{width:10rem}.stzh-datamessagelist-item__status.sc-stzh-datamessagelist-item,.stzh-datamessagelist-item__tags-wrapper.sc-stzh-datamessagelist-item{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 900px){.stzh-datamessagelist-item__status.sc-stzh-datamessagelist-item,.stzh-datamessagelist-item__tags-wrapper.sc-stzh-datamessagelist-item{margin-top:0;margin-left:var(--stzh-space-xxlarge)}}@media screen and (min-width: 900px){.stzh-datamessagelist-item__tags-wrapper.sc-stzh-datamessagelist-item{flex-shrink:0}}.stzh-datamessagelist-item__tags.sc-stzh-datamessagelist-item{display:flex;flex-wrap:wrap;margin:calc(var(--stzh-space-xxsmall) / -1)}@media screen and (min-width: 900px){.stzh-datamessagelist-item__tags.sc-stzh-datamessagelist-item{flex-wrap:nowrap}}.stzh-datamessagelist-item__tag.sc-stzh-datamessagelist-item{margin:var(--stzh-space-xxsmall)}@media screen and (min-width: 900px){.stzh-datamessagelist-item__tag.sc-stzh-datamessagelist-item{flex-shrink:0}}.stzh-datamessagelist-item__actions.sc-stzh-datamessagelist-item{display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.stzh-datamessagelist-item__actions.sc-stzh-datamessagelist-item:not(:empty){margin-left:var(--stzh-space-medium)}@media screen and (min-width: 900px){.stzh-datamessagelist-item__actions.sc-stzh-datamessagelist-item:not(:empty){margin-left:var(--stzh-space-xxlarge);justify-content:center}}.stzh-datamessagelist-item__action.is-non-interactive.sc-stzh-datamessagelist-item{display:flex;justify-content:center;align-items:center;width:var(--stzh-form-input-tiny-height);height:var(--stzh-form-input-tiny-height);color:var(--stzh-color-primary)}.stzh-datamessagelist-item__action-popover.sc-stzh-datamessagelist-item{--width:auto;--min-width:12.5rem}.stzh-datamessagelist-item__action-popover-button.sc-stzh-datamessagelist-item{position:relative;z-index:2}.stzh-datamessagelist-item--is-interactive.sc-stzh-datamessagelist-item:hover .stzh-datamessagelist-item__action.is-non-interactive.sc-stzh-datamessagelist-item{color:var(--stzh-color-primary-hover)}.stzh-datamessagelist-item--is-interactive.sc-stzh-datamessagelist-item:hover .stzh-datamessagelist-item__action-popover-button.sc-stzh-datamessagelist-item{--color:var(--stzh-color-primary-hover)}.stzh-datamessagelist-item--is-interactive.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:hover,.stzh-datamessagelist-item--is-interactive.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:focus{color:var(--stzh-color-primary-hover)}.stzh-datamessagelist-item--is-interactive.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:hover::before,.stzh-datamessagelist-item--is-interactive.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:focus::before{background-color:var(--stzh-color-old-primary4)}.stzh-datamessagelist-item--is-unread.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item{color:var(--stzh-color-primary)}.stzh-datamessagelist-item--is-unread.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item::before{border-left:0.3125rem solid var(--stzh-color-primary)}.stzh-datamessagelist-item--is-unread.stzh-datamessagelist-item--is-interactive.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:hover,.stzh-datamessagelist-item--is-unread.stzh-datamessagelist-item--is-interactive.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:focus{color:var(--stzh-color-primary-hover)}.stzh-datamessagelist-item--is-unread.stzh-datamessagelist-item--is-interactive.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:hover::before,.stzh-datamessagelist-item--is-unread.stzh-datamessagelist-item--is-interactive.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:focus::before{border-left-color:var(--stzh-color-primary-hover)}`;const h=class{constructor(e){t(this,e);this.stzhClick=s(this,"stzhClick");this.stzhActionClick=s(this,"stzhActionClick");this.heading="";this.unread=false;this.href="";this.description="";this.nonInteractive=false;this.external=false;this.actionClick=(t,s)=>{this.stzhActionClick.emit({component:"stzh-datamessagelist-item",action:t,originalEvent:s})};this.itemClick=t=>{this.stzhClick.emit({component:"stzh-datamessagelist-item",originalEvent:t,href:this.href})}}externalWatcher(){this.external=this.rel&&this.rel.includes("external")}loadingStatusWatcher(t){if(typeof t==="string"){this._loadingStatus=JSON.parse(t)}else{this._loadingStatus=t}}metaWatcher(t){if(typeof t==="string"){this._meta=JSON.parse(t)}else{this._meta=t}}actionsWatcher(t){if(typeof t==="string"){this._actions=JSON.parse(t)}else{this._actions=t}}tagsWatcher(t){if(typeof t==="string"){this._tags=JSON.parse(t)}else{this._tags=t}}async componentWillLoad(){this.loadingStatusWatcher(this.loadingStatus);this.metaWatcher(this.meta);this.actionsWatcher(this.actions);this.tagsWatcher(this.tags);this.externalWatcher();if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"datamessagelist-item")}}render(){const t={"stzh-datamessagelist-item":true,"stzh-datamessagelist-item--is-unread":this.unread,"stzh-datamessagelist-item--is-interactive":!this.nonInteractive};const s=this.nonInteractive?"div":this.href?"a":"button";return e(a,{key:"0738fafffc2e8ffdc5ef3ca9c1dece25d07ebbd6",role:"listitem"},e("article",{key:"c9833d1b596ef4267ab9ae838b42b99b18c6a012",class:t},e("div",{key:"b00ea3cf1d19fc620dbc54b063007ea6f2122d98",class:"stzh-datamessagelist-item__content"},e("div",{key:"478baf3af282ce984d93a632b87f0939d2779d93",class:"stzh-datamessagelist-item__text"},e("h3",{key:"efc69241d2784e99fdf8de66ad58f407b832ec7c",class:"stzh-datamessagelist-item__heading"},e(s,{key:"41bab31e430cc6df8422fc6df78f88a93e28029d",class:"stzh-datamessagelist-item__heading-link",href:this.href,rel:this.rel,target:this.target,onClick:this.itemClick,"s-object-id":this.analyticsId||this.heading},this.unread&&e("span",{key:"da7ab05690d33ded6a98d1c8b2d0d4e4f3b82138",class:"stzh-datamessagelist-item__vhidden"},this.localization.unread,","),this.heading)),this.description&&e("div",{key:"e332b8f8bcb5e813676fc0896d5d126c9d0c3645",class:"stzh-datamessagelist-item__description"},e("stzh-clamp",{key:"a7f935b5ea409775d9a0cc7bc8e86373810ad14d",lines:2,linesMedium:1},this.description)),this._meta&&this._meta.length>0&&e("div",{key:"a79e51ddb27d4c8fafbab8bceb4a955d3a4c289c",class:"stzh-datamessagelist-item__meta-wrapper"},e("ul",{key:"42dd652f078ce2a9767928ccaffa7e95a8506d2a",class:"stzh-datamessagelist-item__meta"},this._meta.map((t=>e("li",{class:"stzh-datamessagelist-item__meta-item"},e("span",{class:"stzh-datamessagelist-item__meta-item-label"},t.label),e("span",{class:"stzh-datamessagelist-item__meta-item-value"},t.value))))))),this._loadingStatus&&e("stzh-status",{key:"05a098fbaf1e80670e843a67ae7c8b4b16dddb87",class:"stzh-datamessagelist-item__status",label:this._loadingStatus.label,percent:this._loadingStatus.percent,type:this._loadingStatus.type,withLoadingbar:true}),this._tags&&this._tags.length>0&&e("div",{key:"f85b9568a61216380b4fb5e96fb366658812d4f9",class:"stzh-datamessagelist-item__tags-wrapper"},e("div",{key:"9c96a8313fc2775f829163c48f6b551cad9f7e4f",class:"stzh-datamessagelist-item__tags"},this._tags.map((t=>e("stzh-chip",{class:"stzh-datamessagelist-item__tag",variant:"tag",size:"small",nonInteractive:true,inverted:t.inverted,type:t.type,icon:t.icon,label:t.label})))))),e("div",{key:"f72bb6cc7ca8924037bb89c48b9f6036b2337032",class:"stzh-datamessagelist-item__actions"},this._actions&&this._actions.length>0?e("stzh-popover",{label:this.localization.actionsPopoverLabel,placement:"bottom-end",class:"stzh-datamessagelist-item__action-popover"},e("stzh-button",{class:"stzh-datamessagelist-item__action-popover-button",variant:"tertiary",size:"tiny",icon:"more-horizontal",iconOnly:true}),e("stzh-menu",{slot:"content"},this._actions.map((t=>e("stzh-menu-item",{icon:t.icon,badge:t.badge,onClick:s=>{this.actionClick(t,s)}},t.label))))):!this.nonInteractive&&e("div",{class:"stzh-datamessagelist-item__action is-non-interactive"},e("stzh-icon",{class:"stzh-datamessagelist-item__action-icon",name:this.icon?this.icon:this.external?"external-link":"arrow-right"})))))}get element(){return i(this)}static get watchers(){return{rel:["externalWatcher"],loadingStatus:["loadingStatusWatcher"],meta:["metaWatcher"],actions:["actionsWatcher"],tags:["tagsWatcher"]}}};h.style=m();export{h as stzh_datamessagelist_item};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,c as s,h as e,a,d as i}from"./p-Boyybvcm.js";const m=()=>`.sc-stzh-datamessagelist-item-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-datamessagelist-item-h,[stzh-hidden].sc-stzh-datamessagelist-item-h{display:none}.sc-stzh-datamessagelist-item-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-datamessagelist-item-h *.sc-stzh-datamessagelist-item,.sc-stzh-datamessagelist-item-h *.sc-stzh-datamessagelist-item::before,.sc-stzh-datamessagelist-item-h *.sc-stzh-datamessagelist-item::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-datamessagelist-item-h .has-focus.sc-stzh-datamessagelist-item{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-datamessagelist-item-h .stzh-fylingfocus-focused.sc-stzh-datamessagelist-item{outline-style:none !important}.sc-stzh-datamessagelist-item-h .stzh-fylingfocus-focused.sc-stzh-datamessagelist-item::-moz-focus-inner{border:0 !important}.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-left:var(--stzh-space-large)}@media screen and (min-width: 600px){.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-left:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-left:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-left:var(--stzh-space-xxxlarge)}}.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-right:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-right:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-right:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-right:var(--stzh-space-xxlarge)}}.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{display:flex;position:relative;padding:var(--stzh-space-medium);background-color:var(--stzh-color-white)}.stzh-datamessagelist-item__vhidden.sc-stzh-datamessagelist-item{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-datamessagelist-item__content.sc-stzh-datamessagelist-item{display:flex;flex-direction:column;flex-grow:1}@media screen and (min-width: 900px){.stzh-datamessagelist-item__content.sc-stzh-datamessagelist-item{flex-direction:row;align-items:center}}.stzh-datamessagelist-item__text.sc-stzh-datamessagelist-item{flex-grow:1}.stzh-datamessagelist-item__heading.sc-stzh-datamessagelist-item{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-style:var(--stzh-font-style-title);font-size:var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-h4-default-heading-line-height, var(--stzh-font-milli-heading-line-height));letter-spacing:var(--stzh-font-curve-h4-default-heading-letter-spacing)}@media screen and (min-width: 600px){.stzh-datamessagelist-item__heading.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-h4-small-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h4-small-heading-line-height, var(--stzh-font-centi-heading-line-height));letter-spacing:var(--stzh-font-curve-h4-small-heading-letter-spacing)}}@media screen and (min-width: 1260px){.stzh-datamessagelist-item__heading.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-h4-large-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h4-large-heading-line-height, var(--stzh-font-deci-heading-line-height));letter-spacing:var(--stzh-font-curve-h4-large-heading-letter-spacing)}}@media screen and (min-width: 1600px){.stzh-datamessagelist-item__heading.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-h4-ultra-font-size, var(--stzh-font-deca-font-size));line-height:var(--stzh-font-curve-h4-ultra-heading-line-height, var(--stzh-font-deca-text-line-height));letter-spacing:var(--stzh-font-curve-h4-ultra-heading-letter-spacing, var(--stzh-font-deca-text-letter-spacing))}}.stzh-datamessagelist-item__heading.sc-stzh-datamessagelist-item{color:var(--stzh-base-lead-color);margin:0}.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item{font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;-webkit-text-decoration-line:none;text-decoration-line:none;transition:color var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-button-border-radius);padding:0;border:none;background-color:transparent;appearance:none}.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item::before,.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item::after{content:"";display:block;position:absolute;top:0;left:0;width:100%;height:100%}.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item::before{transition:all var(--stzh-base-transition-animation-speed)}.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item::after{z-index:1}.stzh-datamessagelist-item__description.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing)}@media screen and (min-width: 900px){.stzh-datamessagelist-item__description.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-datamessagelist-item__description.sc-stzh-datamessagelist-item{color:var(--stzh-base-lead-color)}.stzh-datamessagelist-item__meta-wrapper.sc-stzh-datamessagelist-item{margin-top:var(--stzh-space-small)}@media screen and (min-width: 600px){.stzh-datamessagelist-item__meta-wrapper.sc-stzh-datamessagelist-item{margin-top:var(--stzh-space-xxsmall)}}.stzh-datamessagelist-item__meta.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-caption-default-font-size, var(--stzh-font-nano-font-size));line-height:var(--stzh-font-curve-caption-default-text-line-height, var(--stzh-font-nano-text-line-height))}@media screen and (min-width: 900px){.stzh-datamessagelist-item__meta.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-caption-medium-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-caption-medium-text-line-height, var(--stzh-font-micro-text-line-height))}}.stzh-datamessagelist-item__meta.sc-stzh-datamessagelist-item{display:table;list-style:none;margin:0;padding:0}@media screen and (min-width: 600px){.stzh-datamessagelist-item__meta.sc-stzh-datamessagelist-item{display:flex;flex-wrap:wrap;margin:0 calc(var(--stzh-space-xsmall) / -1)}}.stzh-datamessagelist-item__meta-item.sc-stzh-datamessagelist-item{display:table-row}@media screen and (min-width: 600px){.stzh-datamessagelist-item__meta-item.sc-stzh-datamessagelist-item{display:flex;margin:0 var(--stzh-space-xsmall)}}.stzh-datamessagelist-item__meta-item-label.sc-stzh-datamessagelist-item,.stzh-datamessagelist-item__meta-item-value.sc-stzh-datamessagelist-item{display:table-cell}@media screen and (min-width: 600px){.stzh-datamessagelist-item__meta-item-label.sc-stzh-datamessagelist-item,.stzh-datamessagelist-item__meta-item-value.sc-stzh-datamessagelist-item{display:inline-block}}.stzh-datamessagelist-item__meta-item-label.sc-stzh-datamessagelist-item{padding-right:var(--stzh-space-xsmall)}.stzh-datamessagelist-item__meta-item-value.sc-stzh-datamessagelist-item{color:var(--stzh-color-black)}.stzh-datamessagelist-item__status.sc-stzh-datamessagelist-item{width:10rem}.stzh-datamessagelist-item__status.sc-stzh-datamessagelist-item,.stzh-datamessagelist-item__tags-wrapper.sc-stzh-datamessagelist-item{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 900px){.stzh-datamessagelist-item__status.sc-stzh-datamessagelist-item,.stzh-datamessagelist-item__tags-wrapper.sc-stzh-datamessagelist-item{margin-top:0;margin-left:var(--stzh-space-xxlarge)}}@media screen and (min-width: 900px){.stzh-datamessagelist-item__tags-wrapper.sc-stzh-datamessagelist-item{flex-shrink:0}}.stzh-datamessagelist-item__tags.sc-stzh-datamessagelist-item{display:flex;flex-wrap:wrap;margin:calc(var(--stzh-space-xxsmall) / -1)}@media screen and (min-width: 900px){.stzh-datamessagelist-item__tags.sc-stzh-datamessagelist-item{flex-wrap:nowrap}}.stzh-datamessagelist-item__tag.sc-stzh-datamessagelist-item{margin:var(--stzh-space-xxsmall)}@media screen and (min-width: 900px){.stzh-datamessagelist-item__tag.sc-stzh-datamessagelist-item{flex-shrink:0}}.stzh-datamessagelist-item__actions.sc-stzh-datamessagelist-item{display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.stzh-datamessagelist-item__actions.sc-stzh-datamessagelist-item:not(:empty){margin-left:var(--stzh-space-medium)}@media screen and (min-width: 900px){.stzh-datamessagelist-item__actions.sc-stzh-datamessagelist-item:not(:empty){margin-left:var(--stzh-space-xxlarge);justify-content:center}}.stzh-datamessagelist-item__action.is-non-interactive.sc-stzh-datamessagelist-item{display:flex;justify-content:center;align-items:center;width:var(--stzh-form-input-tiny-height);height:var(--stzh-form-input-tiny-height);color:var(--stzh-color-primary)}.stzh-datamessagelist-item__action-popover.sc-stzh-datamessagelist-item{--width:auto;--min-width:12.5rem}.stzh-datamessagelist-item__action-popover-button.sc-stzh-datamessagelist-item{position:relative;z-index:2}.stzh-datamessagelist-item--is-interactive.sc-stzh-datamessagelist-item:hover .stzh-datamessagelist-item__action.is-non-interactive.sc-stzh-datamessagelist-item{color:var(--stzh-color-primary-hover)}.stzh-datamessagelist-item--is-interactive.sc-stzh-datamessagelist-item:hover .stzh-datamessagelist-item__action-popover-button.sc-stzh-datamessagelist-item{--color:var(--stzh-color-primary-hover)}.stzh-datamessagelist-item--is-interactive.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:hover,.stzh-datamessagelist-item--is-interactive.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:focus{color:var(--stzh-color-primary-hover)}.stzh-datamessagelist-item--is-interactive.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:hover::before,.stzh-datamessagelist-item--is-interactive.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:focus::before{background-color:var(--stzh-color-old-primary4)}.stzh-datamessagelist-item--is-unread.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item{color:var(--stzh-color-primary)}.stzh-datamessagelist-item--is-unread.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item::before{border-left:0.3125rem solid var(--stzh-color-primary)}.stzh-datamessagelist-item--is-unread.stzh-datamessagelist-item--is-interactive.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:hover,.stzh-datamessagelist-item--is-unread.stzh-datamessagelist-item--is-interactive.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:focus{color:var(--stzh-color-primary-hover)}.stzh-datamessagelist-item--is-unread.stzh-datamessagelist-item--is-interactive.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:hover::before,.stzh-datamessagelist-item--is-unread.stzh-datamessagelist-item--is-interactive.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:focus::before{border-left-color:var(--stzh-color-primary-hover)}`;const h=class{constructor(e){t(this,e);this.stzhClick=s(this,"stzhClick");this.stzhActionClick=s(this,"stzhActionClick");this.heading="";this.unread=false;this.href="";this.description="";this.nonInteractive=false;this.external=false;this.actionClick=(t,s)=>{this.stzhActionClick.emit({component:"stzh-datamessagelist-item",action:t,originalEvent:s})};this.itemClick=t=>{this.stzhClick.emit({component:"stzh-datamessagelist-item",originalEvent:t,href:this.href})}}externalWatcher(){this.external=this.rel&&this.rel.includes("external")}loadingStatusWatcher(t){if(typeof t==="string"){this._loadingStatus=JSON.parse(t)}else{this._loadingStatus=t}}metaWatcher(t){if(typeof t==="string"){this._meta=JSON.parse(t)}else{this._meta=t}}actionsWatcher(t){if(typeof t==="string"){this._actions=JSON.parse(t)}else{this._actions=t}}tagsWatcher(t){if(typeof t==="string"){this._tags=JSON.parse(t)}else{this._tags=t}}async componentWillLoad(){this.loadingStatusWatcher(this.loadingStatus);this.metaWatcher(this.meta);this.actionsWatcher(this.actions);this.tagsWatcher(this.tags);this.externalWatcher();if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"datamessagelist-item")}}render(){const t={"stzh-datamessagelist-item":true,"stzh-datamessagelist-item--is-unread":this.unread,"stzh-datamessagelist-item--is-interactive":!this.nonInteractive};const s=this.nonInteractive?"div":this.href?"a":"button";return e(a,{key:"0738fafffc2e8ffdc5ef3ca9c1dece25d07ebbd6",role:"listitem"},e("article",{key:"c9833d1b596ef4267ab9ae838b42b99b18c6a012",class:t},e("div",{key:"b00ea3cf1d19fc620dbc54b063007ea6f2122d98",class:"stzh-datamessagelist-item__content"},e("div",{key:"478baf3af282ce984d93a632b87f0939d2779d93",class:"stzh-datamessagelist-item__text"},e("h3",{key:"efc69241d2784e99fdf8de66ad58f407b832ec7c",class:"stzh-datamessagelist-item__heading"},e(s,{key:"41bab31e430cc6df8422fc6df78f88a93e28029d",class:"stzh-datamessagelist-item__heading-link",href:this.href,rel:this.rel,target:this.target,onClick:this.itemClick,"s-object-id":this.analyticsId||this.heading},this.unread&&e("span",{key:"da7ab05690d33ded6a98d1c8b2d0d4e4f3b82138",class:"stzh-datamessagelist-item__vhidden"},this.localization.unread,","),this.heading)),this.description&&e("div",{key:"e332b8f8bcb5e813676fc0896d5d126c9d0c3645",class:"stzh-datamessagelist-item__description"},e("stzh-clamp",{key:"a7f935b5ea409775d9a0cc7bc8e86373810ad14d",lines:2,linesMedium:1},this.description)),this._meta&&this._meta.length>0&&e("div",{key:"a79e51ddb27d4c8fafbab8bceb4a955d3a4c289c",class:"stzh-datamessagelist-item__meta-wrapper"},e("ul",{key:"42dd652f078ce2a9767928ccaffa7e95a8506d2a",class:"stzh-datamessagelist-item__meta"},this._meta.map((t=>e("li",{class:"stzh-datamessagelist-item__meta-item"},e("span",{class:"stzh-datamessagelist-item__meta-item-label"},t.label),e("span",{class:"stzh-datamessagelist-item__meta-item-value"},t.value))))))),this._loadingStatus&&e("stzh-status",{key:"05a098fbaf1e80670e843a67ae7c8b4b16dddb87",class:"stzh-datamessagelist-item__status",label:this._loadingStatus.label,percent:this._loadingStatus.percent,type:this._loadingStatus.type,withLoadingbar:true}),this._tags&&this._tags.length>0&&e("div",{key:"f85b9568a61216380b4fb5e96fb366658812d4f9",class:"stzh-datamessagelist-item__tags-wrapper"},e("div",{key:"9c96a8313fc2775f829163c48f6b551cad9f7e4f",class:"stzh-datamessagelist-item__tags"},this._tags.map((t=>e("stzh-chip",{class:"stzh-datamessagelist-item__tag",variant:"tag",size:"small",nonInteractive:true,inverted:t.inverted,type:t.type,icon:t.icon,label:t.label})))))),e("div",{key:"f72bb6cc7ca8924037bb89c48b9f6036b2337032",class:"stzh-datamessagelist-item__actions"},this._actions&&this._actions.length>0?e("stzh-popover",{label:this.localization.actionsPopoverLabel,placement:"bottom-end",class:"stzh-datamessagelist-item__action-popover"},e("stzh-button",{class:"stzh-datamessagelist-item__action-popover-button",variant:"tertiary",size:"tiny",icon:"more-horizontal",iconOnly:true}),e("stzh-menu",{slot:"content"},this._actions.map((t=>e("stzh-menu-item",{icon:t.icon,badge:t.badge,onClick:s=>{this.actionClick(t,s)}},t.label))))):!this.nonInteractive&&e("div",{class:"stzh-datamessagelist-item__action is-non-interactive"},e("stzh-icon",{class:"stzh-datamessagelist-item__action-icon",name:this.icon?this.icon:this.external?"external-link":"arrow-right"})))))}get element(){return i(this)}static get watchers(){return{rel:["externalWatcher"],loadingStatus:["loadingStatusWatcher"],meta:["metaWatcher"],actions:["actionsWatcher"],tags:["tagsWatcher"]}}};h.style=m();export{h as stzh_datamessagelist_item};
|
|
2
|
+
//# sourceMappingURL=p-c33308b1.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,h as a,a as s,d as o}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,h as a,a as s,d as o}from"./p-Boyybvcm.js";const r=()=>`.sc-stzh-loadingbar-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-loadingbar-h,[stzh-hidden].sc-stzh-loadingbar-h{display:none}.sc-stzh-loadingbar-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-loadingbar-h *.sc-stzh-loadingbar,.sc-stzh-loadingbar-h *.sc-stzh-loadingbar::before,.sc-stzh-loadingbar-h *.sc-stzh-loadingbar::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-loadingbar-h .has-focus.sc-stzh-loadingbar{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-loadingbar-h .stzh-fylingfocus-focused.sc-stzh-loadingbar{outline-style:none !important}.sc-stzh-loadingbar-h .stzh-fylingfocus-focused.sc-stzh-loadingbar::-moz-focus-inner{border:0 !important}.sc-stzh-loadingbar-h{--color:var(--stzh-base-color);--bar-color:var(--stzh-color-secondary40);--bar-background-color:var(--stzh-color-black20op)}.stzh-loadingbar.sc-stzh-loadingbar{min-width:10rem}.stzh-loadingbar__bar.sc-stzh-loadingbar{display:block;height:0.375rem;background-color:var(--bar-background-color)}.stzh-loadingbar__bar-inner.sc-stzh-loadingbar{display:block;height:100%;width:0;background:var(--bar-color)}.stzh-loadingbar__text.sc-stzh-loadingbar{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);display:flex;justify-content:space-between;align-items:center;color:var(--color);margin-bottom:var(--stzh-space-xxsmall)}.stzh-loadingbar__percent.sc-stzh-loadingbar{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;margin-left:var(--stzh-space-medium);font-variant-numeric:tabular-nums}`;const e=class{constructor(a){t(this,a);this.percent=0;this.hidePercent=false;this.label=""}render(){const t={"stzh-loadingbar":true};return a(s,{key:"a59f933c76612f0cf1e725be2dd1f81c0ea53936"},a("div",{key:"88d21fbfb518f2544a0bfb2a1f597ebb8b833876",class:t},a("div",{key:"aa89e55190d56188eb99c7237be7b9c88888b8c6",class:"stzh-loadingbar__text"},this.label&&a("div",{key:"87f089788ac61645234a86421437a294a8df7ea3",class:"stzh-loadingbar__label"},this.label),!this.hidePercent&&a("div",{key:"cdd44455164eb70f14af230d733a79cce0bb4422",class:"stzh-loadingbar__percent"},this.percent,"%")),a("div",{key:"3dcd8dbcf7ccd1f9317d894a2502eaadc8d785d9",class:"stzh-loadingbar__bar"},a("div",{key:"d2a3c449ffdf3707fd6c2c7aed8bd1a55f59a591",class:"stzh-loadingbar__bar-inner",style:{width:`${this.percent}%`}}))))}get element(){return o(this)}};e.style=r();export{e as stzh_loadingbar};
|
|
2
|
+
//# sourceMappingURL=p-c6237f22.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{h as t,r as a,c as e,a as s,d as n}from"./p-BQiZz3hq.js";import{i,b as r,g as l,c as h,D as o,p as c,d,a as z,e as f,s as p,f as u,h as v,j as m,k as g,l as y}from"./p-Df1Iqnz9.js";const b=({focusedDay:a,today:e,day:s,onDaySelect:n,onKeyboardNavigation:l,focusedDayRef:h,disabled:o,inRange:c,isSelected:d,dateFormatter:z})=>{const f=i(s,e);const p=r(s,a);const u=i(s,a);const v=!c;function m(t){n(t,s)}return t("button",{class:{"stzh-calendar__day":true,"is-outside":v,"is-today":f,"is-month":p,"is-disabled":o},tabIndex:u?0:-1,onClick:m,onKeyDown:l,"aria-disabled":o?"true":undefined,disabled:v,type:"button","aria-pressed":d?"true":"false","aria-current":f?"date":undefined,"s-object-id":z.format(s),ref:t=>{if(u&&t&&h){h(t)}}},t("span",{"aria-hidden":"true"},s.getDate()),t("span",{class:"stzh-calendar__vhidden"},z.format(s)))};function _(t,a){const e=[];for(let s=0;s<t.length;s+=a){e.push(t.slice(s,s+a))}return e}function w(t,a,e){return t.map(((s,n)=>{const i=(n+a)%t.length;return e(t[i])}))}const x=({selectedDate:a,focusedDate:e,labelledById:s,localization:n,firstDayOfWeek:r,min:o,max:c,dateFormatter:d,isDateDisabled:z,onDateSelect:f,onKeyboardNavigation:p,focusedDayRef:u})=>{const v=new Date;const m=l(e,r);return t("table",{class:"stzh-calendar__table","aria-labelledby":s},t("thead",null,t("tr",null,w(n.$globals.dayNames,r,(a=>t("th",{class:"stzh-calendar__table-header",scope:"col"},t("span",{"aria-hidden":"true"},a.substring(0,2)),t("span",{class:"stzh-calendar__vhidden"},a)))))),t("tbody",null,_(m,7).map((s=>t("tr",{class:"stzh-calendar__row"},s.map((s=>t("td",{class:"stzh-calendar__cell"},t(b,{day:s,today:v,focusedDay:e,isSelected:i(s,a),disabled:z(s),inRange:h(s,o,c),onDaySelect:f,dateFormatter:d,onKeyboardNavigation:p,focusedDayRef:u})))))))))};const k=()=>`.sc-stzh-calendar-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-calendar-h,[stzh-hidden].sc-stzh-calendar-h{display:none}.sc-stzh-calendar-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-calendar-h *.sc-stzh-calendar,.sc-stzh-calendar-h *.sc-stzh-calendar::before,.sc-stzh-calendar-h *.sc-stzh-calendar::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-calendar-h .has-focus.sc-stzh-calendar{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-calendar-h .stzh-fylingfocus-focused.sc-stzh-calendar{outline-style:none !important}.sc-stzh-calendar-h .stzh-fylingfocus-focused.sc-stzh-calendar::-moz-focus-inner{border:0 !important}.sc-stzh-calendar-h{--padding-top:var(--stzh-space-small);--padding-bottom:var(--stzh-space-small);--padding-left:var(--stzh-space-xsmall);--padding-right:var(--stzh-space-xsmall);width:var(--stzh-calendar-width)}.stzh-calendar.sc-stzh-calendar{--stzh-description-min-height:initial;display:flex;position:relative;text-align:left;touch-action:pan-y;-webkit-user-select:none;user-select:none;overflow:hidden;overflow:clip;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-left:var(--padding-left);padding-right:var(--padding-right)}.stzh-calendar__wrapper.sc-stzh-calendar{width:100%}.stzh-calendar__table.sc-stzh-calendar{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);border-collapse:collapse;border-spacing:0;text-align:center;width:100%}.stzh-calendar__table-header.sc-stzh-calendar,.stzh-calendar__cell.sc-stzh-calendar{padding:var(--stzh-space-xxxsmall)}.stzh-calendar__table-header.sc-stzh-calendar:first-child,.stzh-calendar__cell.sc-stzh-calendar:first-child{padding-left:0}.stzh-calendar__table-header.sc-stzh-calendar:last-child,.stzh-calendar__cell.sc-stzh-calendar:last-child{padding-right:0}.stzh-calendar__row.sc-stzh-calendar:last-child .stzh-calendar__cell.sc-stzh-calendar{padding-bottom:0}.stzh-calendar__table-header.sc-stzh-calendar{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);-webkit-text-decoration-line:none;text-decoration-line:none;padding-top:0;padding-bottom:0;width:2.75rem;height:2.5rem}.stzh-calendar__cell.sc-stzh-calendar{text-align:center}.stzh-calendar__day.sc-stzh-calendar{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);appearance:none;background:transparent;border:0;cursor:pointer;display:inline-block;font-variant-numeric:tabular-nums;width:2.5rem;height:2.5rem;text-align:center;vertical-align:middle;transition-property:color, background-color;transition-duration:var(--stzh-base-transition-animation-speed)}.stzh-calendar__day.is-today.sc-stzh-calendar{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);color:var(--stzh-color-primary70)}.stzh-calendar__day.sc-stzh-calendar:hover{background:var(--stzh-color-grey20)}.stzh-calendar__day[aria-pressed=true].sc-stzh-calendar{background:var(--stzh-color-secondary30);color:var(--stzh-color-primary70)}.stzh-calendar__day.sc-stzh-calendar:active{background:var(--stzh-color-secondary30);color:var(--stzh-color-primary70)}.stzh-calendar__day.sc-stzh-calendar:not(.is-month),.stzh-calendar__day[aria-disabled=true].sc-stzh-calendar{background:transparent;color:var(--stzh-color-grey60);cursor:default}.stzh-calendar__day.is-disabled.sc-stzh-calendar{-webkit-text-decoration-line:line-through;text-decoration-line:line-through}.stzh-calendar__day.is-outside.sc-stzh-calendar{color:var(--stzh-color-grey60);background:var(--stzh-color-grey20);cursor:default;pointer-events:none;-webkit-text-decoration-line:none;text-decoration-line:none}.stzh-calendar__header.sc-stzh-calendar{align-items:center;display:flex;justify-content:space-between;width:100%}.stzh-calendar__nav.sc-stzh-calendar{display:flex;align-items:center}.stzh-calendar__nav.is-dropdowns.sc-stzh-calendar{gap:calc(var(--stzh-space-xsmall) + var(--stzh-space-small));margin-left:var(--stzh-space-small)}.stzh-calendar.sc-stzh-calendar stzh-dropdown.stzh-calendar__dropdown.sc-stzh-calendar{--popover-width:100%;--popover-height:calc(\n 100% - var(--stzh-form-input-small-height) - var(--padding-top)\n );--popover-max-height:initial;position:static}.stzh-calendar__select-wrapper.sc-stzh-calendar{display:inline-flex;position:relative}.stzh-calendar__select-wrapper.sc-stzh-calendar span.sc-stzh-calendar{margin-right:0px}.stzh-calendar__select.sc-stzh-calendar{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);cursor:pointer;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:2;border-radius:var(--stzh-form-input-border-radius)}.stzh-calendar__select-label.sc-stzh-calendar{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);appearance:none;border:none;align-items:center;border-radius:var(--stzh-form-input-border-radius);color:var(--stzh-color-primary70);display:flex;gap:var(--stzh-space-xsmall);padding:0;padding-left:var(--stzh-space-small);padding-right:var(--stzh-space-xsmall);position:relative;width:100%;min-height:2.5rem;z-index:1}.stzh-calendar__select-icon.sc-stzh-calendar{--size:var(--stzh-icon-size-xsmall)}.stzh-calendar__vhidden.sc-stzh-calendar{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}`;function D(t,a){var e=[];for(var s=t;s<=a;s++){e.push(s)}return e}const F={PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};let O=0;const S=class{constructor(t){a(this,t);this.stzhChange=e(this,"stzhChange");this.value="";this.min="";this.max="";this.firstDayOfWeek=o.Monday;this.isDateDisabled=()=>false;this.activeFocus=false;this.focusedDay=new Date;this.initialTouchX=null;this.initialTouchY=null;this.enableActiveFocus=()=>{this.activeFocus=true};this.disableActiveFocus=()=>{this.activeFocus=false};this.handleTouchStart=t=>{const a=t.changedTouches[0];this.initialTouchX=a.pageX;this.initialTouchY=a.pageY};this.handleTouchEnd=t=>{const a=t.changedTouches[0];const e=a.pageX-this.initialTouchX;const s=a.pageY-this.initialTouchY;const n=70;const i=Math.abs(e)>=n&&Math.abs(s)<=n;if(i){this.addMonths(e<0?1:-1)}this.initialTouchY=null;this.initialTouchX=null};this.handleNextMonthClick=t=>{t.preventDefault();this.addMonths(1)};this.handlePreviousMonthClick=t=>{t.preventDefault();this.addMonths(-1)};this.handleKeyboardNavigation=t=>{var a=true;switch(t.keyCode){case F.RIGHT:this.addDays(1);break;case F.LEFT:this.addDays(-1);break;case F.DOWN:this.addDays(7);break;case F.UP:this.addDays(-7);break;case F.PAGE_UP:if(t.shiftKey){this.addYears(-1)}else{this.addMonths(-1)}break;case F.PAGE_DOWN:if(t.shiftKey){this.addYears(1)}else{this.addMonths(1)}break;case F.HOME:this.startOfWeek();break;case F.END:this.endOfWeek();break;default:a=false}if(a){t.preventDefault();this.enableActiveFocus()}};this.handleDaySelect=(t,a)=>{const e=h(a,c(this.min),c(this.max));const s=!this.isDateDisabled(a);if(e&&s){this.setDate(a);this.stzhChange.emit({component:"stzh-calendar",value:this.value,valueAsDate:a})}else{this.setFocusedDay(a)}};this.handleMonthSelect=t=>{const a=Array.isArray(t.detail.value)?t.detail.value[0]:t.detail.value;this.setMonth(parseInt(a,10))};this.handleYearSelect=t=>{const a=Array.isArray(t.detail.value)?t.detail.value[0]:t.detail.value;this.setYear(parseInt(a,10))};this.processFocusedDayNode=t=>{if(this.activeFocus){setTimeout((()=>t.focus()),0)}}}createDateFormatters(){if(this.localization){this.dateFormatShort=new Intl.DateTimeFormat(this.localization.$locale,{day:"numeric",month:"long"})}}valueWatcher(t){if(t){this.setFocusedDay(c(this.value))}else{this.setFocusedDay(new Date)}}async setFocusedDay(t){this.focusedDay=d(t,c(this.min),c(this.max))}async setDate(t){this.value=z(t)}addDays(t){this.setFocusedDay(f(this.focusedDay,t))}addMonths(t){this.setMonth(this.focusedDay.getMonth()+t)}addYears(t){this.setYear(this.focusedDay.getFullYear()+t)}startOfWeek(){this.setFocusedDay(p(this.focusedDay,this.firstDayOfWeek))}endOfWeek(){this.setFocusedDay(u(this.focusedDay,this.firstDayOfWeek))}setMonth(t){const a=v(m(this.focusedDay),t);const e=g(a);const s=v(this.focusedDay,t);this.setFocusedDay(d(s,a,e))}setYear(t){const a=y(m(this.focusedDay),t);const e=g(a);const s=y(this.focusedDay,t);this.setFocusedDay(d(s,a,e))}async componentWillLoad(){this.dialogLabelId=`stzh-calendar-dialog-${O}`;O++;this.valueWatcher(this.value);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"calendar")}}connectedCallback(){this.createDateFormatters()}render(){const a=c(this.value);const e=(a||this.focusedDay).getFullYear();const n=this.focusedDay.getMonth();const i=this.focusedDay.getFullYear();const r=c(this.min);const l=c(this.max);const o=r!=null&&r.getMonth()===n&&r.getFullYear()===i;const d=l!=null&&l.getMonth()===n&&l.getFullYear()===i;const z=r?r.getFullYear():e-10;const f=l?l.getFullYear():e+10;const p=this.localization.$globals.monthNames.map(((t,a)=>({value:a.toString(),text:t,disabled:!h(new Date(i,a,1),r?m(r):null,l?g(l):null)})));const u=D(z,f).map((t=>({value:t.toString(),text:t.toString()})));return t(s,null,t("div",{class:{"stzh-calendar":true},onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},t("div",{class:"stzh-calendar__wrapper"},t("div",{class:"stzh-calendar__header",onFocusin:this.disableActiveFocus},t("div",{class:"stzh-calendar__nav is-dropdowns"},t("h2",{id:this.dialogLabelId,class:"stzh-calendar__vhidden","aria-live":"polite","aria-atomic":"true"},this.localization.$globals.monthNames[n],this.focusedDay.getFullYear()),t("stzh-dropdown",{class:"stzh-calendar__dropdown",variant:"plain",size:"small",inline:true,"popover-fullwidth":"horizontal",noSearch:true,openOnFocus:false,items:[n.toString()],options:p,label:this.localization.monthSelectLabel,labelHidden:true,onStzhChange:this.handleMonthSelect}),t("stzh-dropdown",{class:"stzh-calendar__dropdown",variant:"plain",size:"small",inline:true,"popover-fullwidth":"horizontal",noSearch:true,openOnFocus:false,items:[i.toString()],options:u,label:this.localization.yearSelectLabel,labelHidden:true,onStzhChange:this.handleYearSelect})),t("div",{class:"stzh-calendar__nav"},t("stzh-button",{class:"stzh-calendar__prev",variant:"tertiary",size:"small",icon:"arrow-left",iconOnly:true,onClick:this.handlePreviousMonthClick,disabled:o,type:"button",a11yLabel:this.localization.prevMonthLabel,analyticsId:this.prevMonthAnalyticsId||this.localization.prevMonthLabel}),t("stzh-button",{class:"stzh-calendar__next",variant:"tertiary",size:"small",icon:"arrow-right",iconOnly:true,onClick:this.handleNextMonthClick,disabled:d,type:"button",a11yLabel:this.localization.nextMonthLabel,analyticsId:this.nextMonthAnalyticsId||this.localization.nextMonthLabel}))),t(x,{dateFormatter:this.dateFormatShort,selectedDate:a,focusedDate:this.focusedDay,onDateSelect:this.handleDaySelect,onKeyboardNavigation:this.handleKeyboardNavigation,labelledById:this.dialogLabelId,localization:this.localization,firstDayOfWeek:this.firstDayOfWeek,focusedDayRef:this.processFocusedDayNode,min:r,max:l,isDateDisabled:this.isDateDisabled}))))}get element(){return n(this)}static get watchers(){return{localization:["createDateFormatters"],value:["valueWatcher"]}}};S.style=k();export{S as stzh_calendar};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{h as t,r as a,c as e,a as s,d as n}from"./p-Boyybvcm.js";import{i,b as r,g as l,c as o,D as h,p as c,d,a as z,e as f,s as p,f as u,h as v,j as m,k as g,l as y}from"./p-Df1Iqnz9.js";const b=({focusedDay:a,today:e,day:s,onDaySelect:n,onKeyboardNavigation:l,focusedDayRef:o,disabled:h,inRange:c,isSelected:d,dateFormatter:z})=>{const f=i(s,e);const p=r(s,a);const u=i(s,a);const v=!c;function m(t){n(t,s)}return t("button",{class:{"stzh-calendar__day":true,"is-outside":v,"is-today":f,"is-month":p,"is-disabled":h},tabIndex:u?0:-1,onClick:m,onKeyDown:l,"aria-disabled":h?"true":undefined,disabled:v,type:"button","aria-pressed":d?"true":"false","aria-current":f?"date":undefined,"s-object-id":z.format(s),ref:t=>{if(u&&t&&o){o(t)}}},t("span",{"aria-hidden":"true"},s.getDate()),t("span",{class:"stzh-calendar__vhidden"},z.format(s)))};function _(t,a){const e=[];for(let s=0;s<t.length;s+=a){e.push(t.slice(s,s+a))}return e}function w(t,a,e){return t.map(((s,n)=>{const i=(n+a)%t.length;return e(t[i])}))}const x=({selectedDate:a,focusedDate:e,labelledById:s,localization:n,firstDayOfWeek:r,min:h,max:c,dateFormatter:d,isDateDisabled:z,onDateSelect:f,onKeyboardNavigation:p,focusedDayRef:u})=>{const v=new Date;const m=l(e,r);return t("table",{class:"stzh-calendar__table","aria-labelledby":s},t("thead",null,t("tr",null,w(n.$globals.dayNames,r,(a=>t("th",{class:"stzh-calendar__table-header",scope:"col"},t("span",{"aria-hidden":"true"},a.substring(0,2)),t("span",{class:"stzh-calendar__vhidden"},a)))))),t("tbody",null,_(m,7).map((s=>t("tr",{class:"stzh-calendar__row"},s.map((s=>t("td",{class:"stzh-calendar__cell"},t(b,{day:s,today:v,focusedDay:e,isSelected:i(s,a),disabled:z(s),inRange:o(s,h,c),onDaySelect:f,dateFormatter:d,onKeyboardNavigation:p,focusedDayRef:u})))))))))};const k=()=>`.sc-stzh-calendar-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-calendar-h,[stzh-hidden].sc-stzh-calendar-h{display:none}.sc-stzh-calendar-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-calendar-h *.sc-stzh-calendar,.sc-stzh-calendar-h *.sc-stzh-calendar::before,.sc-stzh-calendar-h *.sc-stzh-calendar::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-calendar-h .has-focus.sc-stzh-calendar{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-calendar-h .stzh-fylingfocus-focused.sc-stzh-calendar{outline-style:none !important}.sc-stzh-calendar-h .stzh-fylingfocus-focused.sc-stzh-calendar::-moz-focus-inner{border:0 !important}.sc-stzh-calendar-h{--padding-top:var(--stzh-space-small);--padding-bottom:var(--stzh-space-small);--padding-left:var(--stzh-space-xsmall);--padding-right:var(--stzh-space-xsmall);width:var(--stzh-calendar-width)}.stzh-calendar.sc-stzh-calendar{--stzh-description-min-height:initial;display:flex;position:relative;text-align:left;touch-action:pan-y;-webkit-user-select:none;user-select:none;overflow:hidden;overflow:clip;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-left:var(--padding-left);padding-right:var(--padding-right)}.stzh-calendar__wrapper.sc-stzh-calendar{width:100%}.stzh-calendar__table.sc-stzh-calendar{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);border-collapse:collapse;border-spacing:0;text-align:center;width:100%}.stzh-calendar__table-header.sc-stzh-calendar,.stzh-calendar__cell.sc-stzh-calendar{padding:var(--stzh-space-xxxsmall)}.stzh-calendar__table-header.sc-stzh-calendar:first-child,.stzh-calendar__cell.sc-stzh-calendar:first-child{padding-left:0}.stzh-calendar__table-header.sc-stzh-calendar:last-child,.stzh-calendar__cell.sc-stzh-calendar:last-child{padding-right:0}.stzh-calendar__row.sc-stzh-calendar:last-child .stzh-calendar__cell.sc-stzh-calendar{padding-bottom:0}.stzh-calendar__table-header.sc-stzh-calendar{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);-webkit-text-decoration-line:none;text-decoration-line:none;padding-top:0;padding-bottom:0;width:2.75rem;height:2.5rem}.stzh-calendar__cell.sc-stzh-calendar{text-align:center}.stzh-calendar__day.sc-stzh-calendar{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);appearance:none;background:transparent;border:0;cursor:pointer;display:inline-block;font-variant-numeric:tabular-nums;width:2.5rem;height:2.5rem;text-align:center;vertical-align:middle;transition-property:color, background-color;transition-duration:var(--stzh-base-transition-animation-speed)}.stzh-calendar__day.is-today.sc-stzh-calendar{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);color:var(--stzh-color-primary70)}.stzh-calendar__day.sc-stzh-calendar:hover{background:var(--stzh-color-grey20)}.stzh-calendar__day[aria-pressed=true].sc-stzh-calendar{background:var(--stzh-color-secondary30);color:var(--stzh-color-primary70)}.stzh-calendar__day.sc-stzh-calendar:active{background:var(--stzh-color-secondary30);color:var(--stzh-color-primary70)}.stzh-calendar__day.sc-stzh-calendar:not(.is-month),.stzh-calendar__day[aria-disabled=true].sc-stzh-calendar{background:transparent;color:var(--stzh-color-grey60);cursor:default}.stzh-calendar__day.is-disabled.sc-stzh-calendar{-webkit-text-decoration-line:line-through;text-decoration-line:line-through}.stzh-calendar__day.is-outside.sc-stzh-calendar{color:var(--stzh-color-grey60);background:var(--stzh-color-grey20);cursor:default;pointer-events:none;-webkit-text-decoration-line:none;text-decoration-line:none}.stzh-calendar__header.sc-stzh-calendar{align-items:center;display:flex;justify-content:space-between;width:100%}.stzh-calendar__nav.sc-stzh-calendar{display:flex;align-items:center}.stzh-calendar__nav.is-dropdowns.sc-stzh-calendar{gap:calc(var(--stzh-space-xsmall) + var(--stzh-space-small));margin-left:var(--stzh-space-small)}.stzh-calendar.sc-stzh-calendar stzh-dropdown.stzh-calendar__dropdown.sc-stzh-calendar{--popover-width:100%;--popover-height:calc(\n 100% - var(--stzh-form-input-small-height) - var(--padding-top)\n );--popover-max-height:initial;position:static}.stzh-calendar__select-wrapper.sc-stzh-calendar{display:inline-flex;position:relative}.stzh-calendar__select-wrapper.sc-stzh-calendar span.sc-stzh-calendar{margin-right:0px}.stzh-calendar__select.sc-stzh-calendar{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);cursor:pointer;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:2;border-radius:var(--stzh-form-input-border-radius)}.stzh-calendar__select-label.sc-stzh-calendar{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);appearance:none;border:none;align-items:center;border-radius:var(--stzh-form-input-border-radius);color:var(--stzh-color-primary70);display:flex;gap:var(--stzh-space-xsmall);padding:0;padding-left:var(--stzh-space-small);padding-right:var(--stzh-space-xsmall);position:relative;width:100%;min-height:2.5rem;z-index:1}.stzh-calendar__select-icon.sc-stzh-calendar{--size:var(--stzh-icon-size-xsmall)}.stzh-calendar__vhidden.sc-stzh-calendar{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}`;function D(t,a){var e=[];for(var s=t;s<=a;s++){e.push(s)}return e}const F={PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};let O=0;const S=class{constructor(t){a(this,t);this.stzhChange=e(this,"stzhChange");this.value="";this.min="";this.max="";this.firstDayOfWeek=h.Monday;this.isDateDisabled=()=>false;this.activeFocus=false;this.focusedDay=new Date;this.initialTouchX=null;this.initialTouchY=null;this.enableActiveFocus=()=>{this.activeFocus=true};this.disableActiveFocus=()=>{this.activeFocus=false};this.handleTouchStart=t=>{const a=t.changedTouches[0];this.initialTouchX=a.pageX;this.initialTouchY=a.pageY};this.handleTouchEnd=t=>{const a=t.changedTouches[0];const e=a.pageX-this.initialTouchX;const s=a.pageY-this.initialTouchY;const n=70;const i=Math.abs(e)>=n&&Math.abs(s)<=n;if(i){this.addMonths(e<0?1:-1)}this.initialTouchY=null;this.initialTouchX=null};this.handleNextMonthClick=t=>{t.preventDefault();this.addMonths(1)};this.handlePreviousMonthClick=t=>{t.preventDefault();this.addMonths(-1)};this.handleKeyboardNavigation=t=>{var a=true;switch(t.keyCode){case F.RIGHT:this.addDays(1);break;case F.LEFT:this.addDays(-1);break;case F.DOWN:this.addDays(7);break;case F.UP:this.addDays(-7);break;case F.PAGE_UP:if(t.shiftKey){this.addYears(-1)}else{this.addMonths(-1)}break;case F.PAGE_DOWN:if(t.shiftKey){this.addYears(1)}else{this.addMonths(1)}break;case F.HOME:this.startOfWeek();break;case F.END:this.endOfWeek();break;default:a=false}if(a){t.preventDefault();this.enableActiveFocus()}};this.handleDaySelect=(t,a)=>{const e=o(a,c(this.min),c(this.max));const s=!this.isDateDisabled(a);if(e&&s){this.setDate(a);this.stzhChange.emit({component:"stzh-calendar",value:this.value,valueAsDate:a})}else{this.setFocusedDay(a)}};this.handleMonthSelect=t=>{const a=Array.isArray(t.detail.value)?t.detail.value[0]:t.detail.value;this.setMonth(parseInt(a,10))};this.handleYearSelect=t=>{const a=Array.isArray(t.detail.value)?t.detail.value[0]:t.detail.value;this.setYear(parseInt(a,10))};this.processFocusedDayNode=t=>{if(this.activeFocus){setTimeout((()=>t.focus()),0)}}}createDateFormatters(){if(this.localization){this.dateFormatShort=new Intl.DateTimeFormat(this.localization.$locale,{day:"numeric",month:"long"})}}valueWatcher(t){if(t){this.setFocusedDay(c(this.value))}else{this.setFocusedDay(new Date)}}async setFocusedDay(t){this.focusedDay=d(t,c(this.min),c(this.max))}async setDate(t){this.value=z(t)}addDays(t){this.setFocusedDay(f(this.focusedDay,t))}addMonths(t){this.setMonth(this.focusedDay.getMonth()+t)}addYears(t){this.setYear(this.focusedDay.getFullYear()+t)}startOfWeek(){this.setFocusedDay(p(this.focusedDay,this.firstDayOfWeek))}endOfWeek(){this.setFocusedDay(u(this.focusedDay,this.firstDayOfWeek))}setMonth(t){const a=v(m(this.focusedDay),t);const e=g(a);const s=v(this.focusedDay,t);this.setFocusedDay(d(s,a,e))}setYear(t){const a=y(m(this.focusedDay),t);const e=g(a);const s=y(this.focusedDay,t);this.setFocusedDay(d(s,a,e))}async componentWillLoad(){this.dialogLabelId=`stzh-calendar-dialog-${O}`;O++;this.valueWatcher(this.value);if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"calendar")}}connectedCallback(){this.createDateFormatters()}render(){const a=c(this.value);const e=(a||this.focusedDay).getFullYear();const n=this.focusedDay.getMonth();const i=this.focusedDay.getFullYear();const r=c(this.min);const l=c(this.max);const h=r!=null&&r.getMonth()===n&&r.getFullYear()===i;const d=l!=null&&l.getMonth()===n&&l.getFullYear()===i;const z=r?r.getFullYear():e-10;const f=l?l.getFullYear():e+10;const p=this.localization.$globals.monthNames.map(((t,a)=>({value:a.toString(),text:t,disabled:!o(new Date(i,a,1),r?m(r):null,l?g(l):null)})));const u=D(z,f).map((t=>({value:t.toString(),text:t.toString()})));return t(s,null,t("div",{class:{"stzh-calendar":true},onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},t("div",{class:"stzh-calendar__wrapper"},t("div",{class:"stzh-calendar__header",onFocusin:this.disableActiveFocus},t("div",{class:"stzh-calendar__nav is-dropdowns"},t("h2",{id:this.dialogLabelId,class:"stzh-calendar__vhidden","aria-live":"polite","aria-atomic":"true"},this.localization.$globals.monthNames[n],this.focusedDay.getFullYear()),t("stzh-dropdown",{class:"stzh-calendar__dropdown",variant:"plain",size:"small",inline:true,"popover-fullwidth":"horizontal",noSearch:true,openOnFocus:false,items:[n.toString()],options:p,label:this.localization.monthSelectLabel,labelHidden:true,onStzhChange:this.handleMonthSelect}),t("stzh-dropdown",{class:"stzh-calendar__dropdown",variant:"plain",size:"small",inline:true,"popover-fullwidth":"horizontal",noSearch:true,openOnFocus:false,items:[i.toString()],options:u,label:this.localization.yearSelectLabel,labelHidden:true,onStzhChange:this.handleYearSelect})),t("div",{class:"stzh-calendar__nav"},t("stzh-button",{class:"stzh-calendar__prev",variant:"tertiary",size:"small",icon:"arrow-left",iconOnly:true,onClick:this.handlePreviousMonthClick,disabled:h,type:"button",a11yLabel:this.localization.prevMonthLabel,analyticsId:this.prevMonthAnalyticsId||this.localization.prevMonthLabel}),t("stzh-button",{class:"stzh-calendar__next",variant:"tertiary",size:"small",icon:"arrow-right",iconOnly:true,onClick:this.handleNextMonthClick,disabled:d,type:"button",a11yLabel:this.localization.nextMonthLabel,analyticsId:this.nextMonthAnalyticsId||this.localization.nextMonthLabel}))),t(x,{dateFormatter:this.dateFormatShort,selectedDate:a,focusedDate:this.focusedDay,onDateSelect:this.handleDaySelect,onKeyboardNavigation:this.handleKeyboardNavigation,labelledById:this.dialogLabelId,localization:this.localization,firstDayOfWeek:this.firstDayOfWeek,focusedDayRef:this.processFocusedDayNode,min:r,max:l,isDateDisabled:this.isDateDisabled}))))}get element(){return n(this)}static get watchers(){return{localization:["createDateFormatters"],value:["valueWatcher"]}}};S.style=k();export{S as stzh_calendar};
|
|
2
|
+
//# sourceMappingURL=p-c73057b5.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as e,h,F as s,a as t,d as i}from"./p-BQiZz3hq.js";import{g}from"./p--MYN2wgX.js";import"./p-BubviQku.js";const a=()=>`.sc-stzh-homepage-service-highlights-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-homepage-service-highlights-h,[stzh-hidden].sc-stzh-homepage-service-highlights-h{display:none}.sc-stzh-homepage-service-highlights-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-homepage-service-highlights-h *.sc-stzh-homepage-service-highlights,.sc-stzh-homepage-service-highlights-h *.sc-stzh-homepage-service-highlights::before,.sc-stzh-homepage-service-highlights-h *.sc-stzh-homepage-service-highlights::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-homepage-service-highlights-h .has-focus.sc-stzh-homepage-service-highlights{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-homepage-service-highlights-h .stzh-fylingfocus-focused.sc-stzh-homepage-service-highlights{outline-style:none !important}.sc-stzh-homepage-service-highlights-h .stzh-fylingfocus-focused.sc-stzh-homepage-service-highlights::-moz-focus-inner{border:0 !important}.sc-stzh-homepage-service-highlights-h{--mostsearched-background-color:var(\n --stzh-homepage-service-highlights-mostsearched-background-color,\n var(--stzh-mostsearched-background-color)\n );--mostsearched-item-font-size:var(\n --stzh-homepage-service-highlights-mostsearched-item-font-size,\n "inherit"\n );--mostsearched-color:var(\n --stzh-homepage-service-highlights-mostsearched-color,\n var(--stzh-link-color)\n );--topnews-background-color:var(\n --stzh-homepage-service-highlights-topnews-background-color,\n var(--stzh-topnews-background-color)\n );--topnews-background-color-hover:var(\n --stzh-homepage-service-highlights-topnews-background-color-hover,\n var(--stzh-color-secondary40)\n );--topnews-color-hover:var(\n --stzh-homepage-service-highlights-topnews-hover,\n var(--stzh-color-primary70)\n );--topnews-item-subtitle-color:var(\n --stzh-homepage-service-highlights-topnews-item-subtitle-color,\n var(--stzh-color-primary70)\n );--topnews-item-subtitle-font:var(\n --stzh-homepage-service-highlights-topnews-subtitle-font,\n var(--stzh-font-family-medium)\n );--topnews-item-subtitle-highlighted-color:var(\n --stzh-homepage-service-highlights-topnews-item-subtitle-highlighted-color,\n var(--stzh-color-primary60)\n )}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights{display:grid}.stzh-homepage-service-highlights__topnews.sc-stzh-homepage-service-highlights,.stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{display:flex;flex-direction:column}@media screen and (min-width: 900px){.stzh-homepage-service-highlights--has-topnews.sc-stzh-homepage-service-highlights{grid-template-columns:repeat(2, minmax(0, 1fr))}}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-top:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-top:var(--stzh-space-xxlarge)}}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-bottom:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-bottom:var(--stzh-space-xxlarge)}}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-left:var(--stzh-space-large);padding-right:var(--stzh-space-large);flex-grow:1;display:flex;flex-direction:column;justify-content:center}@media screen and (min-width: 600px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-left:2rem;padding-right:2rem}}@media screen and (min-width: 900px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-left:2.5rem;padding-right:2.5rem}}@media screen and (min-width: 1260px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-left:4rem;padding-right:4rem}}@media screen and (min-width: 1600px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-left:calc((100vw - 84.25rem - var(--stzh-scrollbar-width, 0px)) / 2)}}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item--has-link.sc-stzh-homepage-service-highlights{transition:background-color 150ms ease;text-decoration:none}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item--has-link.sc-stzh-homepage-service-highlights:hover{background-color:var(--topnews-background-color-hover)}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item--highlighted.sc-stzh-homepage-service-highlights{background-color:var(--stzh-color-lemonyellow50)}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item--highlighted.stzh-topnews-item--has-link.sc-stzh-homepage-service-highlights:hover{background-color:var(--stzh-color-lemonyellow60)}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item__subtitle.sc-stzh-homepage-service-highlights{--color:var(--topnews-item-subtitle-color);font-family:var(--topnews-item-subtitle-font)}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item--highlighted.sc-stzh-homepage-service-highlights .stzh-topnews-item__subtitle.sc-stzh-homepage-service-highlights{--color:var(--topnews-item-subtitle-highlighted-color)}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.stzh-topnews-item--has-link.sc-stzh-homepage-service-highlights:not(.stzh-topnews-item--highlighted):hover .stzh-topnews-item__label.sc-stzh-homepage-service-highlights{--color:var(--stzh-color-primary80)}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item--highlighted.sc-stzh-homepage-service-highlights:hover .stzh-topnews-item__subtitle.sc-stzh-homepage-service-highlights{--color:var(--topnews-color-hover)}.stzh-homepage-service-highlights__topnews.sc-stzh-homepage-service-highlights{background-color:var(--topnews-background-color)}.stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{background-color:var(--mostsearched-background-color);padding-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{padding-top:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{padding-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{padding-top:var(--stzh-space-xxlarge)}}.stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{padding-right:var(--stzh-space-large);padding-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{padding-bottom:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{padding-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{padding-bottom:var(--stzh-space-xxlarge)}}.stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{padding-left:var(--stzh-space-large)}@media screen and (min-width: 600px){.stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{padding-left:2rem;padding-right:2rem}}@media screen and (min-width: 900px){.stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{padding-left:2.5rem;padding-right:calc((100vw - 84.25rem - var(--stzh-scrollbar-width, 0px)) / 2)}}@media screen and (min-width: 900px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights:not(.stzh-homepage-service-highlights--has-topnews) .stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{display:grid;gap:0 var(--stzh-space-large);grid-template-columns:repeat(2, minmax(0, 1fr));padding-left:2.5rem;padding-right:2.5rem}}@media screen and (min-width: 1260px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights:not(.stzh-homepage-service-highlights--has-topnews) .stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{padding-left:4rem;padding-right:4rem}}@media screen and (min-width: 1600px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights:not(.stzh-homepage-service-highlights--has-topnews) .stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{padding-left:calc((100vw - 84.25rem - var(--stzh-scrollbar-width, 0px)) / 2);padding-right:calc((100vw - 84.25rem - var(--stzh-scrollbar-width, 0px)) / 2)}}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-mostsearched-item.sc-stzh-homepage-service-highlights{padding-top:var(--stzh-space-xxsmall)}@media screen and (min-width: 900px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-mostsearched-item.sc-stzh-homepage-service-highlights{padding-top:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-mostsearched-item.sc-stzh-homepage-service-highlights{padding-top:var(--stzh-space-small)}}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-mostsearched-item.sc-stzh-homepage-service-highlights{padding-bottom:var(--stzh-space-xxsmall)}@media screen and (min-width: 900px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-mostsearched-item.sc-stzh-homepage-service-highlights{padding-bottom:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-mostsearched-item.sc-stzh-homepage-service-highlights{padding-bottom:var(--stzh-space-small)}}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-mostsearched-item__link.sc-stzh-homepage-service-highlights{--color:var(--mostsearched-color);--text-decoration-line:none;--hover-text-decoration-line:none;--hover-color:$linkColor}@media screen and (min-width: 900px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-mostsearched-item__link.sc-stzh-homepage-service-highlights{--font-size:var(--mostsearched-item-font-size)}}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-mostsearched-item__link.sc-stzh-homepage-service-highlights{transition:transform 150ms ease}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-mostsearched-item__link.sc-stzh-homepage-service-highlights:hover{transform:translateX(0.625rem)}@media screen and (min-width: 900px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-mostsearched-item__link.sc-stzh-homepage-service-highlights:hover{transform:translateX(1.25rem)}}`;const r=class{constructor(h){e(this,h);this.topnewsItems=[];this._topnewsItems=[];this.mostsearchedItems=[];this._mostsearchedItems=[];this.topnewsHeadingCurve="h2";this.init=()=>{this.topnewsItemsWatcher(this.topnewsItems);this.mostsearchedItemsWatcher(this.mostsearchedItems);const e=g();switch(e){case"stzh-theme-pkzh":this.topnewsHeadingCurve="h3";break}}}topnewsItemsWatcher(e){if(!e){this._topnewsItems=[]}else if(typeof e==="string"){try{const h=JSON.parse(e);this._topnewsItems=this.ensureSingleHighlight(h)}catch(e){this._topnewsItems=[]}}else{this._topnewsItems=this.ensureSingleHighlight(e)}}mostsearchedItemsWatcher(e){if(!e){this._mostsearchedItems=[]}else if(typeof e==="string"){try{this._mostsearchedItems=JSON.parse(e)}catch(e){this._mostsearchedItems=[]}}else{this._mostsearchedItems=e}}ensureSingleHighlight(e){let h=false;return e.map((e=>{if(e.isHighlighted){if(!h){h=true;return e}else{return Object.assign(Object.assign({},e),{isHighlighted:false})}}return e}))}connectedCallback(){this.init()}renderTopnewsItemInner(e){return h(s,null,!!e.subtitle&&h("stzh-text",{class:"stzh-topnews-item__subtitle"},e.subtitle),h("stzh-heading",{class:"stzh-topnews-item__label",curve:this.topnewsHeadingCurve},e.label))}render(){const e={"stzh-homepage-service-highlights":true,"stzh-homepage-service-highlights--has-topnews":this._topnewsItems.length>0};return h(t,{key:"ff0dc651ae6e225d386c12bc124b2890ef570ed8"},h("div",{key:"fb175f3a4942daa923c0f73029951f49f6fcad94",class:e},this._topnewsItems.length>0&&h("div",{key:"ddde8de58d00f4c44c77823489ed87e4d2ffcfa3",class:"stzh-homepage-service-highlights__topnews"},this._topnewsItems.map((e=>!!e.href?h("a",{href:e.href,class:{"stzh-topnews-item":true,"stzh-topnews-item--highlighted":e.isHighlighted,"stzh-topnews-item--has-link":true}},this.renderTopnewsItemInner(e)):h("div",{class:{"stzh-topnews-item":true,"stzh-topnews-item--highlighted":e.isHighlighted}},this.renderTopnewsItemInner(e))))),this._mostsearchedItems.length>0&&h("div",{key:"2cc4a8d626617c2dc18035df4ae284e43ca3da87",class:"stzh-homepage-service-highlights__mostsearched"},this._mostsearchedItems.map((e=>h("div",{class:{"stzh-mostsearched-item":true}},h("stzh-link",{class:"stzh-mostsearched-item__link",href:e.href,icon:"arrow-right"},e.label)))))))}get element(){return i(this)}static get watchers(){return{topnewsItems:["topnewsItemsWatcher"],mostsearchedItems:["mostsearchedItemsWatcher"]}}};r.style=a();export{r as stzh_homepage_service_highlights};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as e,h,F as s,a as t,d as i}from"./p-Boyybvcm.js";import{g}from"./p--MYN2wgX.js";import"./p-BubviQku.js";const a=()=>`.sc-stzh-homepage-service-highlights-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-homepage-service-highlights-h,[stzh-hidden].sc-stzh-homepage-service-highlights-h{display:none}.sc-stzh-homepage-service-highlights-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-homepage-service-highlights-h *.sc-stzh-homepage-service-highlights,.sc-stzh-homepage-service-highlights-h *.sc-stzh-homepage-service-highlights::before,.sc-stzh-homepage-service-highlights-h *.sc-stzh-homepage-service-highlights::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-homepage-service-highlights-h .has-focus.sc-stzh-homepage-service-highlights{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-homepage-service-highlights-h .stzh-fylingfocus-focused.sc-stzh-homepage-service-highlights{outline-style:none !important}.sc-stzh-homepage-service-highlights-h .stzh-fylingfocus-focused.sc-stzh-homepage-service-highlights::-moz-focus-inner{border:0 !important}.sc-stzh-homepage-service-highlights-h{--mostsearched-background-color:var(\n --stzh-homepage-service-highlights-mostsearched-background-color,\n var(--stzh-mostsearched-background-color)\n );--mostsearched-item-font-size:var(\n --stzh-homepage-service-highlights-mostsearched-item-font-size,\n "inherit"\n );--mostsearched-color:var(\n --stzh-homepage-service-highlights-mostsearched-color,\n var(--stzh-link-color)\n );--topnews-background-color:var(\n --stzh-homepage-service-highlights-topnews-background-color,\n var(--stzh-topnews-background-color)\n );--topnews-background-color-hover:var(\n --stzh-homepage-service-highlights-topnews-background-color-hover,\n var(--stzh-color-secondary40)\n );--topnews-color-hover:var(\n --stzh-homepage-service-highlights-topnews-hover,\n var(--stzh-color-primary70)\n );--topnews-item-subtitle-color:var(\n --stzh-homepage-service-highlights-topnews-item-subtitle-color,\n var(--stzh-color-primary70)\n );--topnews-item-subtitle-font:var(\n --stzh-homepage-service-highlights-topnews-subtitle-font,\n var(--stzh-font-family-medium)\n );--topnews-item-subtitle-highlighted-color:var(\n --stzh-homepage-service-highlights-topnews-item-subtitle-highlighted-color,\n var(--stzh-color-primary60)\n )}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights{display:grid}.stzh-homepage-service-highlights__topnews.sc-stzh-homepage-service-highlights,.stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{display:flex;flex-direction:column}@media screen and (min-width: 900px){.stzh-homepage-service-highlights--has-topnews.sc-stzh-homepage-service-highlights{grid-template-columns:repeat(2, minmax(0, 1fr))}}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-top:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-top:var(--stzh-space-xxlarge)}}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-bottom:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-bottom:var(--stzh-space-xxlarge)}}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-left:var(--stzh-space-large);padding-right:var(--stzh-space-large);flex-grow:1;display:flex;flex-direction:column;justify-content:center}@media screen and (min-width: 600px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-left:2rem;padding-right:2rem}}@media screen and (min-width: 900px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-left:2.5rem;padding-right:2.5rem}}@media screen and (min-width: 1260px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-left:4rem;padding-right:4rem}}@media screen and (min-width: 1600px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.sc-stzh-homepage-service-highlights{padding-left:calc((100vw - 84.25rem - var(--stzh-scrollbar-width, 0px)) / 2)}}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item--has-link.sc-stzh-homepage-service-highlights{transition:background-color 150ms ease;text-decoration:none}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item--has-link.sc-stzh-homepage-service-highlights:hover{background-color:var(--topnews-background-color-hover)}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item--highlighted.sc-stzh-homepage-service-highlights{background-color:var(--stzh-color-lemonyellow50)}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item--highlighted.stzh-topnews-item--has-link.sc-stzh-homepage-service-highlights:hover{background-color:var(--stzh-color-lemonyellow60)}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item__subtitle.sc-stzh-homepage-service-highlights{--color:var(--topnews-item-subtitle-color);font-family:var(--topnews-item-subtitle-font)}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item--highlighted.sc-stzh-homepage-service-highlights .stzh-topnews-item__subtitle.sc-stzh-homepage-service-highlights{--color:var(--topnews-item-subtitle-highlighted-color)}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item.stzh-topnews-item--has-link.sc-stzh-homepage-service-highlights:not(.stzh-topnews-item--highlighted):hover .stzh-topnews-item__label.sc-stzh-homepage-service-highlights{--color:var(--stzh-color-primary80)}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-topnews-item--highlighted.sc-stzh-homepage-service-highlights:hover .stzh-topnews-item__subtitle.sc-stzh-homepage-service-highlights{--color:var(--topnews-color-hover)}.stzh-homepage-service-highlights__topnews.sc-stzh-homepage-service-highlights{background-color:var(--topnews-background-color)}.stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{background-color:var(--mostsearched-background-color);padding-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{padding-top:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{padding-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{padding-top:var(--stzh-space-xxlarge)}}.stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{padding-right:var(--stzh-space-large);padding-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{padding-bottom:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{padding-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{padding-bottom:var(--stzh-space-xxlarge)}}.stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{padding-left:var(--stzh-space-large)}@media screen and (min-width: 600px){.stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{padding-left:2rem;padding-right:2rem}}@media screen and (min-width: 900px){.stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{padding-left:2.5rem;padding-right:calc((100vw - 84.25rem - var(--stzh-scrollbar-width, 0px)) / 2)}}@media screen and (min-width: 900px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights:not(.stzh-homepage-service-highlights--has-topnews) .stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{display:grid;gap:0 var(--stzh-space-large);grid-template-columns:repeat(2, minmax(0, 1fr));padding-left:2.5rem;padding-right:2.5rem}}@media screen and (min-width: 1260px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights:not(.stzh-homepage-service-highlights--has-topnews) .stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{padding-left:4rem;padding-right:4rem}}@media screen and (min-width: 1600px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights:not(.stzh-homepage-service-highlights--has-topnews) .stzh-homepage-service-highlights__mostsearched.sc-stzh-homepage-service-highlights{padding-left:calc((100vw - 84.25rem - var(--stzh-scrollbar-width, 0px)) / 2);padding-right:calc((100vw - 84.25rem - var(--stzh-scrollbar-width, 0px)) / 2)}}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-mostsearched-item.sc-stzh-homepage-service-highlights{padding-top:var(--stzh-space-xxsmall)}@media screen and (min-width: 900px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-mostsearched-item.sc-stzh-homepage-service-highlights{padding-top:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-mostsearched-item.sc-stzh-homepage-service-highlights{padding-top:var(--stzh-space-small)}}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-mostsearched-item.sc-stzh-homepage-service-highlights{padding-bottom:var(--stzh-space-xxsmall)}@media screen and (min-width: 900px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-mostsearched-item.sc-stzh-homepage-service-highlights{padding-bottom:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-mostsearched-item.sc-stzh-homepage-service-highlights{padding-bottom:var(--stzh-space-small)}}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-mostsearched-item__link.sc-stzh-homepage-service-highlights{--color:var(--mostsearched-color);--text-decoration-line:none;--hover-text-decoration-line:none;--hover-color:$linkColor}@media screen and (min-width: 900px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-mostsearched-item__link.sc-stzh-homepage-service-highlights{--font-size:var(--mostsearched-item-font-size)}}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-mostsearched-item__link.sc-stzh-homepage-service-highlights{transition:transform 150ms ease}.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-mostsearched-item__link.sc-stzh-homepage-service-highlights:hover{transform:translateX(0.625rem)}@media screen and (min-width: 900px){.stzh-homepage-service-highlights.sc-stzh-homepage-service-highlights .stzh-mostsearched-item__link.sc-stzh-homepage-service-highlights:hover{transform:translateX(1.25rem)}}`;const r=class{constructor(h){e(this,h);this.topnewsItems=[];this._topnewsItems=[];this.mostsearchedItems=[];this._mostsearchedItems=[];this.topnewsHeadingCurve="h2";this.init=()=>{this.topnewsItemsWatcher(this.topnewsItems);this.mostsearchedItemsWatcher(this.mostsearchedItems);const e=g();switch(e){case"stzh-theme-pkzh":this.topnewsHeadingCurve="h3";break}}}topnewsItemsWatcher(e){if(!e){this._topnewsItems=[]}else if(typeof e==="string"){try{const h=JSON.parse(e);this._topnewsItems=this.ensureSingleHighlight(h)}catch(e){this._topnewsItems=[]}}else{this._topnewsItems=this.ensureSingleHighlight(e)}}mostsearchedItemsWatcher(e){if(!e){this._mostsearchedItems=[]}else if(typeof e==="string"){try{this._mostsearchedItems=JSON.parse(e)}catch(e){this._mostsearchedItems=[]}}else{this._mostsearchedItems=e}}ensureSingleHighlight(e){let h=false;return e.map((e=>{if(e.isHighlighted){if(!h){h=true;return e}else{return Object.assign(Object.assign({},e),{isHighlighted:false})}}return e}))}connectedCallback(){this.init()}renderTopnewsItemInner(e){return h(s,null,!!e.subtitle&&h("stzh-text",{class:"stzh-topnews-item__subtitle"},e.subtitle),h("stzh-heading",{class:"stzh-topnews-item__label",curve:this.topnewsHeadingCurve},e.label))}render(){const e={"stzh-homepage-service-highlights":true,"stzh-homepage-service-highlights--has-topnews":this._topnewsItems.length>0};return h(t,{key:"ff0dc651ae6e225d386c12bc124b2890ef570ed8"},h("div",{key:"fb175f3a4942daa923c0f73029951f49f6fcad94",class:e},this._topnewsItems.length>0&&h("div",{key:"ddde8de58d00f4c44c77823489ed87e4d2ffcfa3",class:"stzh-homepage-service-highlights__topnews"},this._topnewsItems.map((e=>!!e.href?h("a",{href:e.href,class:{"stzh-topnews-item":true,"stzh-topnews-item--highlighted":e.isHighlighted,"stzh-topnews-item--has-link":true}},this.renderTopnewsItemInner(e)):h("div",{class:{"stzh-topnews-item":true,"stzh-topnews-item--highlighted":e.isHighlighted}},this.renderTopnewsItemInner(e))))),this._mostsearchedItems.length>0&&h("div",{key:"2cc4a8d626617c2dc18035df4ae284e43ca3da87",class:"stzh-homepage-service-highlights__mostsearched"},this._mostsearchedItems.map((e=>h("div",{class:{"stzh-mostsearched-item":true}},h("stzh-link",{class:"stzh-mostsearched-item__link",href:e.href,icon:"arrow-right"},e.label)))))))}get element(){return i(this)}static get watchers(){return{topnewsItems:["topnewsItemsWatcher"],mostsearchedItems:["mostsearchedItemsWatcher"]}}};r.style=a();export{r as stzh_homepage_service_highlights};
|
|
2
|
+
//# sourceMappingURL=p-cb74e537.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,h as s,a as i,d as h}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,h as s,a as i,d as h}from"./p-Boyybvcm.js";import{m as e,a,r}from"./p-CUGRmgip.js";import{h as o}from"./p--MYN2wgX.js";import"./p-BubviQku.js";var n=function(t){this._sizes=[];this._columns=[];this._container=null;this._count=null;this._width=0;this._removeListener=null;this._currentGutterX=null;this._currentGutterY=null;this._resizeTimeout=null,this.conf={baseWidth:255,gutterX:null,gutterY:null,gutter:10,container:null,minify:true,ultimateGutter:5,surroundingGutter:true,direction:"ltr",wedge:false};this.init(t);return this};n.prototype.init=function(t){for(var s in this.conf){if(t[s]!=undefined){this.conf[s]=t[s]}}if(this.conf.gutterX==null||this.conf.gutterY==null){this.conf.gutterX=this.conf.gutterY=this.conf.gutter}this._currentGutterX=this.conf.gutterX;this._currentGutterY=this.conf.gutterY;this._container=typeof this.conf.container=="object"&&this.conf.container.nodeName?this.conf.container:document.querySelector(this.conf.container);if(!this._container){throw new Error("Container not found or missing")}var i=this.resizeThrottler.bind(this);window.addEventListener("resize",i);this._removeListener=function(){window.removeEventListener("resize",i);if(this._resizeTimeout!=null){window.clearTimeout(this._resizeTimeout);this._resizeTimeout=null}};this.layout()};n.prototype.reset=function(){this._sizes=[];this._columns=[];this._count=null;this._width=this._container.clientWidth;var t=this.conf.baseWidth;if(this._width<t){this._width=t;this._container.style.minWidth=t+"px"}if(this.getCount()==1){this._currentGutterX=this.conf.ultimateGutter;this._count=1}else if(this._width<this.conf.baseWidth+2*this._currentGutterX){this._currentGutterX=0}else{this._currentGutterX=this.conf.gutterX}};n.prototype.getCount=function(){if(this.conf.surroundingGutter){return Math.floor((this._width-this._currentGutterX)/(this.conf.baseWidth+this._currentGutterX))}return Math.floor((this._width+this._currentGutterX)/(this.conf.baseWidth+this._currentGutterX))};n.prototype.computeWidth=function(){var t;if(this.conf.surroundingGutter){t=(this._width-this._currentGutterX)/this._count-this._currentGutterX}else{t=(this._width+this._currentGutterX)/this._count-this._currentGutterX}t=Number.parseFloat(t.toFixed(2));return t};n.prototype.layout=function(){if(!this._container){console.error("Container not found");return}this.reset();if(this._count==null){this._count=this.getCount()}var t=this.computeWidth();for(var s=0;s<this._count;s++){this._columns[s]=0}var i=this._container.children;for(var h=0;h<i.length;h++){i[h].style.width=t+"px";this._sizes[h]=i[h].clientHeight}var e;if(this.conf.direction=="ltr"){e=this.conf.surroundingGutter?this._currentGutterX:0}else{e=this._width-(this.conf.surroundingGutter?this._currentGutterX:0)}if(this._count>this._sizes.length){var a=this._sizes.length*(t+this._currentGutterX)-this._currentGutterX;if(this.conf.wedge===false){if(this.conf.direction=="ltr"){e=(this._width-a)/2}else{e=this._width-(this._width-a)/2}}else{if(this.conf.direction=="ltr");else{e=this._width-this._currentGutterX}}}for(var r=0;r<i.length;r++){var o=this.conf.minify?this.getShortest():this.getNextColumn(r);var n=0;if(this.conf.surroundingGutter||o!=this._columns.length){n=this._currentGutterX}var c;if(this.conf.direction=="ltr"){c=e+(t+n)*o}else{c=e-(t+n)*o-t}var l=this._columns[o];i[r].style.transform="translate3d("+Math.round(c)+"px,"+Math.round(l)+"px,0)";this._columns[o]+=this._sizes[r]+(this._count>1?this.conf.gutterY:this.conf.ultimateGutter)}this._container.style.height=this._columns[this.getLongest()]-this._currentGutterY+"px"};n.prototype.getNextColumn=function(t){return t%this._columns.length};n.prototype.getShortest=function(){var t=0;for(var s=0;s<this._count;s++){if(this._columns[s]<this._columns[t]){t=s}}return t};n.prototype.getLongest=function(){var t=0;for(var s=0;s<this._count;s++){if(this._columns[s]>this._columns[t]){t=s}}return t};n.prototype.resizeThrottler=function(){if(!this._resizeTimeout){this._resizeTimeout=setTimeout(function(){this._resizeTimeout=null;if(this._container.clientWidth!=this._width){this.layout()}}.bind(this),33)}};n.prototype.destroy=function(){if(typeof this._removeListener=="function"){this._removeListener()}var t=this._container.children;for(var s=0;s<t.length;s++){t[s].style.removeProperty("width");t[s].style.removeProperty("transform")}this._container.style.removeProperty("height");this._container.style.removeProperty("min-width")};const c=()=>`.sc-stzh-socialmediastream-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-socialmediastream-h,[stzh-hidden].sc-stzh-socialmediastream-h{display:none}.sc-stzh-socialmediastream-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-socialmediastream-h *.sc-stzh-socialmediastream,.sc-stzh-socialmediastream-h *.sc-stzh-socialmediastream::before,.sc-stzh-socialmediastream-h *.sc-stzh-socialmediastream::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-socialmediastream-h .has-focus.sc-stzh-socialmediastream{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-socialmediastream-h .stzh-fylingfocus-focused.sc-stzh-socialmediastream{outline-style:none !important}.sc-stzh-socialmediastream-h .stzh-fylingfocus-focused.sc-stzh-socialmediastream::-moz-focus-inner{border:0 !important}.stzh-socialmediastream__items.sc-stzh-socialmediastream{position:relative}.stzh-socialmediastream__heading.sc-stzh-socialmediastream{margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.stzh-socialmediastream__heading.sc-stzh-socialmediastream{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 900px){.stzh-socialmediastream__heading.sc-stzh-socialmediastream{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-socialmediastream__heading.sc-stzh-socialmediastream{margin-bottom:var(--stzh-space-xlarge)}}.stzh-socialmediastream__item.sc-stzh-socialmediastream{position:absolute}`;const l=class{constructor(s){t(this,s);this.items=[];this._items=[];this.heading="";this.headingLevel="3";this.gutterInPixel=16;this.resizeHandler=()=>{if(e("ultra").matches){this.gutterInPixel=32}else if(e("large").matches){this.gutterInPixel=24}else if(e("medium").matches){this.gutterInPixel=20}else if(e("small").matches){this.gutterInPixel=20}else{this.gutterInPixel=16}if(this.masonry){this.masonry.conf.ultimateGutter=this.gutterInPixel;this.masonry.conf.gutter=this.gutterInPixel;this.masonry.conf.gutterX=this.gutterInPixel;this.masonry.conf.gutterY=this.gutterInPixel;this.masonry.layout()}};this.init=()=>{this.itemsWatcher(this.items)}}itemsWatcher(t){if(!t){this._items=[]}else if(typeof t==="string"){try{this._items=JSON.parse(t)}catch(t){this._items=[]}}else{this._items=t}}connectedCallback(){this.init();a(this.resizeHandler)}disconnectedCallback(){r(this.resizeHandler)}componentDidLoad(){this.resizeHandler();this.masonry=new n({container:".stzh-socialmediastream__items",baseWidth:275,gutter:this.gutterInPixel,surroundingGutter:0})}render(){const t=o(this.element,"heading");const h={"stzh-socialmediastream":true,"stzh-socialmediastream--has-heading":t||!!this.heading};return s(i,{key:"772ae69d582f030305050897fad42858b4221856"},s("div",{key:"0434bc053ebedf4047179fcf6213e707271d65ca",class:h},s("div",{key:"72826de7bd3c051d79d3de92935b3c5b52e6795d",class:"stzh-socialmediastream__heading"},!!this.heading?s("stzh-heading",{level:this.headingLevel},this.heading):s("slot",{name:"heading"})),s("div",{key:"3cfa9a0b63c78d3c95bd0d3b058841a3c96fdd89",class:"stzh-socialmediastream__items"},this._items&&this._items.length&&this._items.map((t=>s("stzh-socialmediastream-item",{class:"stzh-socialmediastream__item",item:t}))))))}get element(){return h(this)}static get watchers(){return{items:["itemsWatcher"]}}};l.style=c();export{l as stzh_socialmediastream};
|
|
2
|
+
//# sourceMappingURL=p-cf998c9e.entry.js.map
|