@oiz/stzh-components 4.12.1 → 4.13.0-beta1
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-Cj3dPOnE.js → index-DLshBNi6.js} +4 -45
- package/dist/cjs/index-DLshBNi6.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/stzh-accordion_3.cjs.entry.js +5 -5
- package/dist/cjs/stzh-actions_6.cjs.entry.js +11 -11
- package/dist/cjs/stzh-actionset.cjs.entry.js +6 -6
- package/dist/cjs/stzh-amount.cjs.entry.js +2 -2
- package/dist/cjs/stzh-anchornav.cjs.entry.js +2 -2
- package/dist/cjs/stzh-app-nav.cjs.entry.js +2 -2
- package/dist/cjs/stzh-appointments.cjs.entry.js +21 -11
- package/dist/cjs/stzh-archivelist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-audio.cjs.entry.js +5 -5
- package/dist/cjs/stzh-badge_3.cjs.entry.js +5 -5
- package/dist/cjs/stzh-banner.cjs.entry.js +2 -2
- package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +3 -3
- package/dist/cjs/stzh-buttongroup.cjs.entry.js +2 -2
- package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-navigation.cjs.entry.js +3 -3
- package/dist/cjs/stzh-card-searchresult.cjs.entry.js +3 -3
- package/dist/cjs/stzh-card-superteaser.cjs.entry.js +2 -2
- package/dist/cjs/stzh-card_2.cjs.entry.js +8 -8
- package/dist/cjs/stzh-carousel.cjs.entry.js +4 -4
- package/dist/cjs/stzh-chart.cjs.entry.js +2 -2
- package/dist/cjs/stzh-checkbox.cjs.entry.js +36 -6
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +6 -6
- package/dist/cjs/stzh-chip_2.cjs.entry.js +9 -9
- package/dist/cjs/stzh-chipgroup.cjs.entry.js +2 -2
- package/dist/cjs/stzh-clamp.cjs.entry.js +3 -3
- package/dist/cjs/stzh-company-logo.cjs.entry.js +2 -2
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-contact-cv.cjs.entry.js +2 -2
- package/dist/cjs/stzh-contact.cjs.entry.js +2 -2
- package/dist/cjs/stzh-container_2.cjs.entry.js +3 -3
- package/dist/cjs/stzh-content.cjs.entry.js +2 -2
- package/dist/cjs/stzh-cta.cjs.entry.js +3 -3
- package/dist/cjs/stzh-datalist_3.cjs.entry.js +5 -5
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +2 -2
- package/dist/cjs/stzh-datamessagelist.cjs.entry.js +2 -2
- package/dist/cjs/stzh-datatable.cjs.entry.js +2 -2
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +42 -12
- package/dist/cjs/stzh-daterange.cjs.entry.js +3 -3
- package/dist/cjs/stzh-details.cjs.entry.js +3 -3
- package/dist/cjs/stzh-dialog.cjs.entry.js +4 -4
- package/dist/cjs/stzh-disturber.cjs.entry.js +2 -2
- 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 +4 -5
- package/dist/cjs/stzh-feedreader-item.cjs.entry.js +3 -3
- package/dist/cjs/stzh-feedreader.cjs.entry.js +3 -3
- package/dist/cjs/stzh-figure.cjs.entry.js +3 -3
- package/dist/cjs/stzh-flyingfocus.cjs.entry.js +2 -2
- package/dist/cjs/stzh-footer.cjs.entry.js +6 -5
- package/dist/cjs/stzh-gallery.cjs.entry.js +2 -2
- package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +4 -4
- package/dist/cjs/stzh-ghettobox.cjs.entry.js +3 -3
- package/dist/cjs/stzh-header_3.cjs.entry.js +5 -5
- package/dist/cjs/stzh-heading.cjs.entry.js +2 -2
- package/dist/cjs/stzh-homepage-search.cjs.entry.js +2 -2
- package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +4 -4
- package/dist/cjs/stzh-hr.cjs.entry.js +2 -2
- package/dist/cjs/stzh-hspace.cjs.entry.js +3 -3
- package/dist/cjs/stzh-http-error.cjs.entry.js +2 -2
- package/dist/cjs/stzh-iframe.cjs.entry.js +5 -5
- package/dist/cjs/stzh-imagecomparison.cjs.entry.js +3 -3
- package/dist/cjs/{stzh-input-description-IeBc75qD.js → stzh-input-description-CSsYU8AB.js} +3 -3
- package/dist/cjs/{stzh-input-description-IeBc75qD.js.map → stzh-input-description-CSsYU8AB.js.map} +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +31 -36
- package/dist/cjs/stzh-invert.cjs.entry.js +2 -2
- package/dist/cjs/stzh-link.cjs.entry.js +3 -3
- package/dist/cjs/stzh-linklist.cjs.entry.js +3 -3
- package/dist/cjs/stzh-list_2.cjs.entry.js +3 -3
- package/dist/cjs/stzh-loader.cjs.entry.js +2 -2
- package/dist/cjs/stzh-loadingbar.cjs.entry.js +2 -2
- package/dist/cjs/stzh-menu_2.cjs.entry.js +4 -4
- package/dist/cjs/stzh-message.cjs.entry.js +3 -3
- package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +2 -2
- package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +2 -2
- package/dist/cjs/stzh-offline-indicator.cjs.entry.js +2 -2
- package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pagebottom.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pagecontent.cjs.entry.js +3 -3
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +3 -3
- package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +4 -4
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +3 -3
- package/dist/cjs/stzh-panorama.cjs.entry.js +3 -3
- package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +3 -3
- package/dist/cjs/stzh-pi-menu.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +3 -3
- package/dist/cjs/stzh-pi-quote.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pi-teaser.cjs.entry.js +3 -3
- package/dist/cjs/stzh-pkzh-qr.cjs.entry.js +1 -1
- package/dist/cjs/stzh-popover.cjs.entry.js +3 -3
- package/dist/cjs/stzh-print_2.cjs.entry.js +4 -4
- package/dist/cjs/stzh-quote.cjs.entry.js +2 -2
- package/dist/cjs/stzh-rating.cjs.entry.js +37 -9
- package/dist/cjs/stzh-ratio.cjs.entry.js +2 -2
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +4 -4
- package/dist/cjs/stzh-richtext.cjs.entry.js +2 -2
- package/dist/cjs/stzh-saptcha.cjs.entry.js +3 -3
- package/dist/cjs/stzh-scrollup.cjs.entry.js +3 -3
- package/dist/cjs/stzh-search.cjs.entry.js +4 -4
- package/dist/cjs/stzh-section.cjs.entry.js +4 -4
- package/dist/cjs/stzh-show.cjs.entry.js +3 -3
- package/dist/cjs/stzh-sitemap.cjs.entry.js +2 -2
- package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +2 -2
- package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +2 -2
- package/dist/cjs/stzh-skiplink.cjs.entry.js +2 -2
- package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +2 -2
- package/dist/cjs/stzh-socialmediastream.cjs.entry.js +3 -3
- package/dist/cjs/stzh-stepper-item.cjs.entry.js +4 -4
- package/dist/cjs/stzh-stepper.cjs.entry.js +4 -4
- package/dist/cjs/stzh-sticky-actions.cjs.entry.js +3 -3
- package/dist/cjs/stzh-sticky.cjs.entry.js +3 -3
- package/dist/cjs/stzh-table.cjs.entry.js +3 -3
- package/dist/cjs/stzh-text.cjs.entry.js +3 -3
- package/dist/cjs/stzh-textandimage.cjs.entry.js +3 -3
- package/dist/cjs/stzh-timeline-item.cjs.entry.js +3 -3
- package/dist/cjs/stzh-timeline.cjs.entry.js +2 -2
- package/dist/cjs/stzh-timepicker.cjs.entry.js +2 -2
- package/dist/cjs/stzh-toast_2.cjs.entry.js +5 -5
- package/dist/cjs/stzh-toggle.cjs.entry.js +36 -7
- package/dist/cjs/stzh-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/stzh-twocolumns.cjs.entry.js +3 -3
- package/dist/cjs/stzh-upload.cjs.entry.js +37 -8
- 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 +2 -2
- 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 +3 -3
- package/dist/cjs/stzh-vspace.cjs.entry.js +3 -3
- package/dist/cjs/stzh-youtube.cjs.entry.js +2 -2
- package/dist/cjs/{utils-BtvTjHH2.js → utils-CjJm84Uq.js} +59 -2
- package/dist/cjs/utils-CjJm84Uq.js.map +1 -0
- package/dist/collection/assets/i18n/fr.json +460 -0
- package/dist/collection/assets/i18n/it.json +461 -0
- package/dist/collection/assets/media/icons/mono/easy-read.svg +1 -0
- package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.js +2 -3
- package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.js.map +1 -1
- package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.stories.js +4 -0
- package/dist/collection/components/CMS/stzh-feedreader/stzh-feedreader.js +1 -1
- package/dist/collection/components/CMS/stzh-feedreader-item/stzh-feedreader-item.js +1 -1
- package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js +3 -3
- package/dist/collection/components/CMS/stzh-ghettobox/stzh-ghettobox.js +1 -1
- package/dist/collection/components/CMS/stzh-homepage-search/stzh-homepage-search.js +1 -1
- package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js +2 -2
- package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.js +1 -1
- package/dist/collection/components/CMS/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
- package/dist/collection/components/CMS/stzh-page-skiplinks/stzh-page-skiplinks.js +1 -1
- package/dist/collection/components/CMS/stzh-pagebottom/stzh-pagebottom.js +1 -1
- package/dist/collection/components/CMS/stzh-pagecontent/stzh-pagecontent.js +1 -1
- package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.js +1 -1
- package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.stories.js +12 -2
- package/dist/collection/components/CMS/stzh-pagetitle-hero/stzh-pagetitle-hero.js +1 -1
- package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.js +2 -2
- package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.stories.js +2 -2
- package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.js +1 -1
- package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.js.map +1 -1
- package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.stories.js +3 -0
- package/dist/collection/components/CMS/stzh-pi-menu/stzh-pi-menu.js +1 -1
- package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.js +1 -1
- package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.stories.js +5 -6
- package/dist/collection/components/CMS/stzh-pi-quote/stzh-pi-quote.js +1 -1
- package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js +1 -1
- package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js.map +1 -1
- package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js +1 -1
- package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js.map +1 -1
- package/dist/collection/components/CMS/stzh-print/stzh-print.js +1 -1
- package/dist/collection/components/CMS/stzh-search/stzh-search.js +2 -2
- package/dist/collection/components/CMS/stzh-sitemap/stzh-sitemap.js +1 -1
- package/dist/collection/components/CMS/stzh-socialmediastream/stzh-socialmediastream.js +1 -1
- package/dist/collection/components/CMS/stzh-socialmediastream-item/stzh-socialmediastream-item.js +1 -1
- package/dist/collection/components/CMS/stzh-textandimage/stzh-textandimage.js +1 -1
- package/dist/collection/components/CMS/stzh-twocolumns/stzh-twocolumns.js +1 -1
- package/dist/collection/components/stzh-accordion/stzh-accordion.js +1 -1
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
- package/dist/collection/components/stzh-actions/stzh-actions.js +1 -1
- package/dist/collection/components/stzh-actionset/stzh-actionset.js +5 -5
- package/dist/collection/components/stzh-amount/stzh-amount.js +1 -1
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
- package/dist/collection/components/stzh-app-nav/stzh-app-nav.js +1 -1
- package/dist/collection/components/stzh-appointments/stzh-appointments.js +23 -14
- package/dist/collection/components/stzh-appointments/stzh-appointments.js.map +1 -1
- package/dist/collection/components/stzh-appointments/stzh-appointments.stories.js +53 -27
- package/dist/collection/components/stzh-audio/stzh-audio.js +3 -3
- package/dist/collection/components/stzh-badge/stzh-badge.js +1 -1
- package/dist/collection/components/stzh-banner/stzh-banner.js +1 -1
- package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.js +1 -1
- package/dist/collection/components/stzh-button/stzh-button.js +1 -1
- package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.js +1 -1
- package/dist/collection/components/stzh-card/stzh-card.js +4 -4
- package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js +1 -1
- package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js.map +1 -1
- package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js +1 -1
- package/dist/collection/components/stzh-cardlist/stzh-cardlist.css +10 -42
- package/dist/collection/components/stzh-cardlist/stzh-cardlist.js +1 -1
- package/dist/collection/components/stzh-carousel/stzh-carousel.js +2 -2
- package/dist/collection/components/stzh-cell/stzh-cell.js +2 -2
- package/dist/collection/components/stzh-chart/stzh-chart.js +1 -1
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +40 -4
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.js.map +1 -1
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.stories.js +12 -0
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +3 -3
- package/dist/collection/components/stzh-chip/stzh-chip.js +1 -1
- package/dist/collection/components/stzh-chipgroup/stzh-chipgroup.js +1 -1
- package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +5 -5
- package/dist/collection/components/stzh-clamp/stzh-clamp.js +2 -2
- package/dist/collection/components/stzh-company-logo/stzh-company-logo.js +1 -1
- package/dist/collection/components/stzh-container/stzh-container.js +1 -1
- package/dist/collection/components/stzh-content/stzh-content.js +1 -1
- package/dist/collection/components/stzh-cspace/stzh-cspace.js +1 -1
- package/dist/collection/components/stzh-cta/stzh-cta.js +1 -1
- package/dist/collection/components/stzh-cta/stzh-cta.js.map +1 -1
- package/dist/collection/components/stzh-datalist/stzh-datalist.js +2 -2
- package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.js +1 -1
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +1 -1
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +3 -3
- package/dist/collection/components/stzh-daterange/stzh-daterange.js +1 -1
- package/dist/collection/components/stzh-details/stzh-details.js +1 -1
- package/dist/collection/components/stzh-dialog/stzh-dialog.js +2 -2
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +4 -4
- package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +1 -1
- package/dist/collection/components/stzh-figure/stzh-figure.js +1 -1
- package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +1 -1
- package/dist/collection/components/stzh-footer/stzh-footer.css +12 -0
- package/dist/collection/components/stzh-footer/stzh-footer.js +7 -6
- package/dist/collection/components/stzh-footer/stzh-footer.js.map +1 -1
- package/dist/collection/components/stzh-footer/stzh-footer.stories.js +9 -2
- package/dist/collection/components/stzh-gallery/stzh-gallery.js +1 -1
- package/dist/collection/components/stzh-header/stzh-header.css +1 -1
- package/dist/collection/components/stzh-header/stzh-header.js +2 -2
- package/dist/collection/components/stzh-header/stzh-header.js.map +1 -1
- package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
- package/dist/collection/components/stzh-hr/stzh-hr.js +1 -1
- package/dist/collection/components/stzh-hspace/stzh-hspace.js +2 -2
- package/dist/collection/components/stzh-http-error/stzh-http-error.js +1 -1
- package/dist/collection/components/stzh-icon/stzh-icon.js +1 -1
- package/dist/collection/components/stzh-iframe/stzh-iframe.js +4 -4
- package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.js +2 -2
- package/dist/collection/components/stzh-input/stzh-input.js +29 -34
- package/dist/collection/components/stzh-input/stzh-input.js.map +1 -1
- package/dist/collection/components/stzh-input/stzh-input.stories.js +32 -9
- package/dist/collection/components/stzh-invert/stzh-invert.js +1 -1
- package/dist/collection/components/stzh-link/stzh-link.js +1 -1
- package/dist/collection/components/stzh-list/stzh-list.js +1 -1
- package/dist/collection/components/stzh-list-item/stzh-list-item.js +1 -1
- package/dist/collection/components/stzh-loader/stzh-loader.js +1 -1
- package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.js +1 -1
- package/dist/collection/components/stzh-menu/stzh-menu.js +1 -1
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +1 -1
- package/dist/collection/components/stzh-message/stzh-message.js +2 -2
- package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.js +1 -1
- package/dist/collection/components/stzh-offline-indicator/stzh-offline-indicator.js +1 -1
- package/dist/collection/components/stzh-olmap/stzh-olmap.js +1 -1
- package/dist/collection/components/stzh-overlay/stzh-overlay.js +1 -1
- package/dist/collection/components/stzh-pagination/stzh-pagination.js +1 -1
- package/dist/collection/components/stzh-panorama/stzh-panorama.js +2 -2
- package/dist/collection/components/stzh-popover/stzh-popover.js +1 -1
- package/dist/collection/components/stzh-quote/stzh-quote.js +1 -1
- package/dist/collection/components/stzh-radio/stzh-radio.js +40 -4
- package/dist/collection/components/stzh-radio/stzh-radio.js.map +1 -1
- package/dist/collection/components/stzh-radio/stzh-radio.stories.js +13 -1
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +3 -3
- package/dist/collection/components/stzh-rating/stzh-rating.js +39 -9
- package/dist/collection/components/stzh-rating/stzh-rating.js.map +1 -1
- package/dist/collection/components/stzh-rating/stzh-rating.stories.js +11 -0
- package/dist/collection/components/stzh-ratio/stzh-ratio.js +1 -1
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +2 -2
- package/dist/collection/components/stzh-richtext/stzh-richtext.js +1 -1
- package/dist/collection/components/stzh-row/stzh-row.js +2 -2
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +2 -2
- package/dist/collection/components/stzh-scrollup/stzh-scrollup.js +1 -1
- package/dist/collection/components/stzh-section/stzh-section.js +2 -2
- package/dist/collection/components/stzh-share/stzh-share.js +1 -1
- package/dist/collection/components/stzh-show/stzh-show.js +2 -2
- package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.js +1 -1
- package/dist/collection/components/stzh-skin-storybook-preview/stzh-skin-storybook-preview.js +1 -1
- package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +1 -1
- package/dist/collection/components/stzh-sortable/stzh-sortable.js +1 -1
- package/dist/collection/components/stzh-space/stzh-space.js +2 -2
- package/dist/collection/components/stzh-status/stzh-status.js +1 -1
- package/dist/collection/components/stzh-stepper/stzh-stepper.component.js +3 -3
- package/dist/collection/components/stzh-stepper-item/stzh-stepper-item.js +3 -3
- package/dist/collection/components/stzh-sticky/stzh-sticky.js +1 -1
- package/dist/collection/components/stzh-sticky-actions/stzh-sticky-actions.js +1 -1
- package/dist/collection/components/stzh-table/stzh-table.js +1 -1
- package/dist/collection/components/stzh-tag/stzh-tag.js +1 -1
- package/dist/collection/components/stzh-text/stzh-text.js +2 -2
- package/dist/collection/components/stzh-timeline/stzh-timeline.js +1 -1
- package/dist/collection/components/stzh-timeline-item/stzh-timeline-item.js +1 -1
- package/dist/collection/components/stzh-timepicker/stzh-timepicker.js +1 -1
- package/dist/collection/components/stzh-toast/stzh-toast.js +2 -2
- package/dist/collection/components/stzh-toastbar/stzh-toastbar.js +1 -1
- package/dist/collection/components/stzh-toggle/stzh-toggle.js +40 -5
- package/dist/collection/components/stzh-toggle/stzh-toggle.js.map +1 -1
- package/dist/collection/components/stzh-toggle/stzh-toggle.stories.js +15 -0
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +1 -1
- package/dist/collection/components/stzh-upload/stzh-upload.js +37 -6
- package/dist/collection/components/stzh-upload/stzh-upload.js.map +1 -1
- package/dist/collection/components/stzh-upload/stzh-upload.stories.js +9 -0
- package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.js +2 -2
- package/dist/collection/components/stzh-vspace/stzh-vspace.js +2 -2
- package/dist/collection/components/stzh-youtube/stzh-youtube.js +1 -1
- package/dist/collection/global/js/script.js +1 -1
- package/dist/collection/utils/utils.js +56 -0
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/{p-cNHNXCvC.js → p-0Lt3woCB.js} +10 -10
- package/dist/components/{p-cNHNXCvC.js.map → p-0Lt3woCB.js.map} +1 -1
- package/dist/components/{p-CHL7PZWx.js → p-4bFqfRjC.js} +5 -5
- package/dist/components/{p-CHL7PZWx.js.map → p-4bFqfRjC.js.map} +1 -1
- package/dist/components/{p-D4BnQdqZ.js → p-9KM31mTj.js} +5 -5
- package/dist/components/{p-D4BnQdqZ.js.map → p-9KM31mTj.js.map} +1 -1
- package/dist/components/{p-jcnUY7bc.js → p-B-Ox_M1g.js} +5 -5
- package/dist/components/{p-jcnUY7bc.js.map → p-B-Ox_M1g.js.map} +1 -1
- package/dist/components/{p-BROnohFy.js → p-B3JVg6wh.js} +7 -7
- package/dist/components/{p-BROnohFy.js.map → p-B3JVg6wh.js.map} +1 -1
- package/dist/components/{p-BJXTTK_V.js → p-B3JgyjD6.js} +5 -5
- package/dist/components/{p-BJXTTK_V.js.map → p-B3JgyjD6.js.map} +1 -1
- package/dist/components/{p-BKIlDLNH.js → p-B446UYGz.js} +4 -4
- package/dist/components/{p-BKIlDLNH.js.map → p-B446UYGz.js.map} +1 -1
- package/dist/components/{p-Cqgkebne.js → p-BAcc6I3E.js} +4 -4
- package/dist/components/{p-Cqgkebne.js.map → p-BAcc6I3E.js.map} +1 -1
- package/dist/components/{p-C_jR89kU.js → p-BAn4Ipj9.js} +8 -8
- package/dist/components/{p-C_jR89kU.js.map → p-BAn4Ipj9.js.map} +1 -1
- package/dist/components/{p-DF6aCFVH.js → p-BDTQkRkl.js} +4 -4
- package/dist/components/{p-DF6aCFVH.js.map → p-BDTQkRkl.js.map} +1 -1
- package/dist/components/{p-BVyHe4zB.js → p-BDyLmXTF.js} +12 -12
- package/dist/components/{p-BVyHe4zB.js.map → p-BDyLmXTF.js.map} +1 -1
- package/dist/components/{p-C7bl96a5.js → p-BE4EipE7.js} +10 -10
- package/dist/components/p-BE4EipE7.js.map +1 -0
- package/dist/components/{p-U00jMEtY.js → p-BHup0e1i.js} +12 -12
- package/dist/components/{p-U00jMEtY.js.map → p-BHup0e1i.js.map} +1 -1
- package/dist/components/{p-Nj7vgfBU.js → p-BJz42pna.js} +9 -9
- package/dist/components/{p-Nj7vgfBU.js.map → p-BJz42pna.js.map} +1 -1
- package/dist/components/{p-Bnxt1olk.js → p-BNb1mC_F.js} +7 -7
- package/dist/components/{p-Bnxt1olk.js.map → p-BNb1mC_F.js.map} +1 -1
- package/dist/components/{p-CXxKSOOe.js → p-BdBBC-64.js} +8 -8
- package/dist/components/{p-CXxKSOOe.js.map → p-BdBBC-64.js.map} +1 -1
- package/dist/components/{p-BNRtW-oE.js → p-Bi0j3C9E.js} +6 -6
- package/dist/components/{p-BNRtW-oE.js.map → p-Bi0j3C9E.js.map} +1 -1
- package/dist/components/{p-BOLjzZGE.js → p-C1Uf6vu2.js} +4 -4
- package/dist/components/{p-BOLjzZGE.js.map → p-C1Uf6vu2.js.map} +1 -1
- package/dist/components/{p-CnS9iJUS.js → p-C5ORTu7L.js} +5 -5
- package/dist/components/{p-CnS9iJUS.js.map → p-C5ORTu7L.js.map} +1 -1
- package/dist/components/{p-D7YAOnX0.js → p-CDOLFG2o.js} +8 -8
- package/dist/components/{p-D7YAOnX0.js.map → p-CDOLFG2o.js.map} +1 -1
- package/dist/components/{p-CqIeGIYq.js → p-CIG3atcV.js} +5 -5
- package/dist/components/{p-CqIeGIYq.js.map → p-CIG3atcV.js.map} +1 -1
- package/dist/components/{p-BmZW5NzL.js → p-CJgyNq5X.js} +44 -12
- package/dist/components/p-CJgyNq5X.js.map +1 -0
- package/dist/components/{p-RvRbhcRQ.js → p-CSdlcHhO.js} +11 -11
- package/dist/components/{p-RvRbhcRQ.js.map → p-CSdlcHhO.js.map} +1 -1
- package/dist/components/{p-BW2gjhHd.js → p-CTF0VXbD.js} +11 -11
- package/dist/components/{p-BW2gjhHd.js.map → p-CTF0VXbD.js.map} +1 -1
- package/dist/components/{p-B3K72yyt.js → p-CWohC9WI.js} +4 -4
- package/dist/components/{p-B3K72yyt.js.map → p-CWohC9WI.js.map} +1 -1
- package/dist/components/{p-x2lzAuxg.js → p-CbIALTef.js} +3 -3
- package/dist/components/{p-x2lzAuxg.js.map → p-CbIALTef.js.map} +1 -1
- package/dist/components/{p-DfpWfXtU.js → p-CfO-Zm5r.js} +10 -10
- package/dist/components/{p-DfpWfXtU.js.map → p-CfO-Zm5r.js.map} +1 -1
- package/dist/components/{p-LMO8z7aY.js → p-Cg2CourL.js} +10 -10
- package/dist/components/{p-LMO8z7aY.js.map → p-Cg2CourL.js.map} +1 -1
- package/dist/components/{p-p0_NS-tW.js → p-CgcoSQbB.js} +4 -4
- package/dist/components/{p-p0_NS-tW.js.map → p-CgcoSQbB.js.map} +1 -1
- package/dist/components/{p-B7_vqC4s.js → p-CrQrHbCR.js} +7 -7
- package/dist/components/{p-B7_vqC4s.js.map → p-CrQrHbCR.js.map} +1 -1
- package/dist/components/{p-D1qHu5Qi.js → p-CxqE2nhG.js} +7 -7
- package/dist/components/{p-D1qHu5Qi.js.map → p-CxqE2nhG.js.map} +1 -1
- package/dist/components/{p-CUg-9OV-.js → p-CyByUFaI.js} +5 -5
- package/dist/components/{p-CUg-9OV-.js.map → p-CyByUFaI.js.map} +1 -1
- package/dist/components/{p-CC0Gv1-E.js → p-D-Yirlnl.js} +4 -4
- package/dist/components/{p-CC0Gv1-E.js.map → p-D-Yirlnl.js.map} +1 -1
- package/dist/components/{p-COE06LBm.js → p-D1f9K1WI.js} +4 -4
- package/dist/components/{p-COE06LBm.js.map → p-D1f9K1WI.js.map} +1 -1
- package/dist/components/{p-AGCnIH-Q.js → p-D653Lsik.js} +4 -4
- package/dist/components/{p-AGCnIH-Q.js.map → p-D653Lsik.js.map} +1 -1
- package/dist/components/{p-DgsPcRuX.js → p-D8P4IANZ.js} +6 -6
- package/dist/components/{p-DgsPcRuX.js.map → p-D8P4IANZ.js.map} +1 -1
- package/dist/components/{p-B1ilR8O2.js → p-D8sqmC0t.js} +5 -5
- package/dist/components/{p-B1ilR8O2.js.map → p-D8sqmC0t.js.map} +1 -1
- package/dist/components/{p-DStLZwaI.js → p-D8xZNR0-.js} +44 -12
- package/dist/components/p-D8xZNR0-.js.map +1 -0
- package/dist/components/{p-CN5apKPb.js → p-DBHUqFOB.js} +59 -3
- package/dist/components/p-DBHUqFOB.js.map +1 -0
- package/dist/components/{p-BdnKcZer.js → p-DI3R5qMv.js} +15 -15
- package/dist/components/{p-BdnKcZer.js.map → p-DI3R5qMv.js.map} +1 -1
- package/dist/components/{p-Chfmq0ty.js → p-DK163sow.js} +4 -4
- package/dist/components/{p-Chfmq0ty.js.map → p-DK163sow.js.map} +1 -1
- package/dist/components/{p-CjzcK4cD.js → p-DYbJOAOh.js} +7 -7
- package/dist/components/{p-CjzcK4cD.js.map → p-DYbJOAOh.js.map} +1 -1
- package/dist/components/{p-IifQDlUC.js → p-D_9Bm_mQ.js} +4 -4
- package/dist/components/{p-IifQDlUC.js.map → p-D_9Bm_mQ.js.map} +1 -1
- package/dist/components/{p-CB6SGGWh.js → p-DgLT1h5X.js} +18 -18
- package/dist/components/{p-CB6SGGWh.js.map → p-DgLT1h5X.js.map} +1 -1
- package/dist/components/{p-a_AFmDN-.js → p-DgdayHzY.js} +17 -17
- package/dist/components/{p-a_AFmDN-.js.map → p-DgdayHzY.js.map} +1 -1
- package/dist/components/{p-G6s0H-yQ.js → p-DhDUHSh7.js} +38 -43
- package/dist/components/p-DhDUHSh7.js.map +1 -0
- package/dist/components/{p-gRw8yRKG.js → p-Div6COxG.js} +5 -5
- package/dist/components/{p-gRw8yRKG.js.map → p-Div6COxG.js.map} +1 -1
- package/dist/components/{p-CLg_b_CM.js → p-DmbPNk49.js} +4 -4
- package/dist/components/{p-CLg_b_CM.js.map → p-DmbPNk49.js.map} +1 -1
- package/dist/components/{p-Yktwo3G-.js → p-Dn7rMHvA.js} +4 -4
- package/dist/components/{p-Yktwo3G-.js.map → p-Dn7rMHvA.js.map} +1 -1
- package/dist/components/{p-uzlslKFU.js → p-DoIM1--x.js} +9 -9
- package/dist/components/{p-uzlslKFU.js.map → p-DoIM1--x.js.map} +1 -1
- package/dist/components/{p-5QD-jnDI.js → p-DqjRJcEM.js} +4 -45
- package/dist/components/p-DqjRJcEM.js.map +1 -0
- package/dist/components/{p-DFNN4tQ9.js → p-DtzaWGPc.js} +7 -7
- package/dist/components/{p-DFNN4tQ9.js.map → p-DtzaWGPc.js.map} +1 -1
- package/dist/components/{p-HFkl_vzF.js → p-Dv3RTDbq.js} +7 -7
- package/dist/components/{p-HFkl_vzF.js.map → p-Dv3RTDbq.js.map} +1 -1
- package/dist/components/{p-ts8WMMWF.js → p-DvCfh0K2.js} +8 -8
- package/dist/components/{p-ts8WMMWF.js.map → p-DvCfh0K2.js.map} +1 -1
- package/dist/components/{p-BQkPv0M-.js → p-T-BXBdfL.js} +5 -5
- package/dist/components/{p-BQkPv0M-.js.map → p-T-BXBdfL.js.map} +1 -1
- package/dist/components/{p-C3JKH-3Y.js → p-TyvIem42.js} +13 -13
- package/dist/components/{p-C3JKH-3Y.js.map → p-TyvIem42.js.map} +1 -1
- package/dist/components/{p-BaMZCxiX.js → p-UdeeIE8s.js} +9 -9
- package/dist/components/{p-BaMZCxiX.js.map → p-UdeeIE8s.js.map} +1 -1
- package/dist/components/{p-hX8escCp.js → p-_Wg6OwyH.js} +5 -5
- package/dist/components/{p-hX8escCp.js.map → p-_Wg6OwyH.js.map} +1 -1
- package/dist/components/{p-Bh1lCPM9.js → p-bQrbIG84.js} +4 -4
- package/dist/components/{p-Bh1lCPM9.js.map → p-bQrbIG84.js.map} +1 -1
- package/dist/components/{p-B4rimZ__.js → p-cUbqjhRn.js} +4 -4
- package/dist/components/{p-B4rimZ__.js.map → p-cUbqjhRn.js.map} +1 -1
- package/dist/components/{p-zn9oE-TU.js → p-d0YyMFGG.js} +5 -5
- package/dist/components/{p-zn9oE-TU.js.map → p-d0YyMFGG.js.map} +1 -1
- package/dist/components/{p-CaNZTZoV.js → p-h04oY9Fw.js} +10 -10
- package/dist/components/{p-CaNZTZoV.js.map → p-h04oY9Fw.js.map} +1 -1
- package/dist/components/{p-CFzhqAe_.js → p-jWC23U_9.js} +7 -7
- package/dist/components/{p-CFzhqAe_.js.map → p-jWC23U_9.js.map} +1 -1
- package/dist/components/{p-DZ_hOgVb.js → p-mPSUVIkD.js} +4 -4
- package/dist/components/{p-DZ_hOgVb.js.map → p-mPSUVIkD.js.map} +1 -1
- package/dist/components/{p-BErZsbTE.js → p-nbFcugVj.js} +5 -5
- package/dist/components/{p-BErZsbTE.js.map → p-nbFcugVj.js.map} +1 -1
- package/dist/components/{p-C9VQ8n2k.js → p-o7Gv1uJo.js} +5 -5
- package/dist/components/{p-C9VQ8n2k.js.map → p-o7Gv1uJo.js.map} +1 -1
- package/dist/components/{p-DX8rme7W.js → p-pfvnaMy-.js} +5 -5
- package/dist/components/{p-DX8rme7W.js.map → p-pfvnaMy-.js.map} +1 -1
- package/dist/components/{p-RtvhBPkV.js → p-r4Fj5D10.js} +5 -5
- package/dist/components/{p-RtvhBPkV.js.map → p-r4Fj5D10.js.map} +1 -1
- package/dist/components/{p-CfeU7ZQ3.js → p-yXgUFUQF.js} +16 -16
- package/dist/components/{p-CfeU7ZQ3.js.map → p-yXgUFUQF.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 +10 -10
- package/dist/components/stzh-anchornav.js +6 -6
- package/dist/components/stzh-app-nav.js +1 -1
- package/dist/components/stzh-appointments.js +33 -23
- package/dist/components/stzh-appointments.js.map +1 -1
- package/dist/components/stzh-archivelist.js +7 -7
- package/dist/components/stzh-audio.js +9 -9
- package/dist/components/stzh-badge.js +1 -1
- package/dist/components/stzh-banner.js +5 -5
- 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 +4 -4
- package/dist/components/stzh-card-navigation.js.map +1 -1
- package/dist/components/stzh-card-searchresult.js +16 -16
- package/dist/components/stzh-card-superteaser.js +15 -15
- 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 +2 -2
- package/dist/components/stzh-checkbox.js +1 -1
- package/dist/components/stzh-checkboxgroup.js +9 -9
- 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 +2 -2
- package/dist/components/stzh-contact-cv.js +5 -5
- package/dist/components/stzh-contact.js +11 -11
- package/dist/components/stzh-container.js +1 -1
- package/dist/components/stzh-content.js +2 -2
- package/dist/components/stzh-cspace.js +1 -1
- package/dist/components/stzh-cta.js +5 -5
- package/dist/components/stzh-cta.js.map +1 -1
- package/dist/components/stzh-datalist-item.js +1 -1
- package/dist/components/stzh-datalist.js +1 -1
- package/dist/components/stzh-datamessagelist-item.js +12 -12
- package/dist/components/stzh-datamessagelist.js +2 -2
- package/dist/components/stzh-datatable.js +18 -18
- package/dist/components/stzh-datepicker.js +1 -1
- package/dist/components/stzh-daterange.js +6 -6
- package/dist/components/stzh-details.js +1 -1
- package/dist/components/stzh-dialog.js +1 -1
- package/dist/components/stzh-disturber.js +5 -5
- 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 +8 -9
- package/dist/components/stzh-eventinfo.js.map +1 -1
- package/dist/components/stzh-feedreader-item.js +4 -4
- package/dist/components/stzh-feedreader.js +10 -10
- package/dist/components/stzh-fieldset.js +1 -1
- package/dist/components/stzh-figure.js +1 -1
- package/dist/components/stzh-flyingfocus.js +2 -2
- package/dist/components/stzh-footer.js +10 -9
- package/dist/components/stzh-footer.js.map +1 -1
- package/dist/components/stzh-gallery.js +9 -9
- package/dist/components/stzh-geo-ref-data.js +27 -27
- package/dist/components/stzh-ghettobox.js +6 -6
- package/dist/components/stzh-header.js +1 -1
- package/dist/components/stzh-heading.js +1 -1
- package/dist/components/stzh-homepage-search.js +3 -3
- package/dist/components/stzh-homepage-service-highlights.js +9 -9
- package/dist/components/stzh-hr.js +2 -2
- package/dist/components/stzh-hspace.js +1 -1
- package/dist/components/stzh-http-error.js +8 -8
- package/dist/components/stzh-icon.js +1 -1
- package/dist/components/stzh-iframe.js +1 -1
- package/dist/components/stzh-imagecomparison.js +4 -4
- package/dist/components/stzh-input.js +1 -1
- package/dist/components/stzh-invert.js +2 -2
- package/dist/components/stzh-link.js +1 -1
- package/dist/components/stzh-linklist.js +12 -12
- 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 +2 -2
- 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 +21 -21
- package/dist/components/stzh-monthyearpicker.js +6 -6
- package/dist/components/stzh-offline-indicator.js +7 -7
- package/dist/components/stzh-olmap.js +1 -1
- package/dist/components/stzh-overlay.js +1 -1
- package/dist/components/stzh-page-skiplinks.js +2 -2
- package/dist/components/stzh-pagebottom.js +9 -9
- package/dist/components/stzh-pagecontent.js +3 -3
- package/dist/components/stzh-pagetitle-hero.js +3 -3
- package/dist/components/stzh-pagetitle-home.js +5 -5
- package/dist/components/stzh-pagetitle.js +4 -4
- package/dist/components/stzh-pagination.js +1 -1
- package/dist/components/stzh-panorama.js +13 -13
- package/dist/components/stzh-pi-content-navigation.js +5 -5
- package/dist/components/stzh-pi-content-navigation.js.map +1 -1
- package/dist/components/stzh-pi-menu.js +4 -4
- package/dist/components/stzh-pi-pagetitle.js +4 -4
- package/dist/components/stzh-pi-quote.js +2 -2
- package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
- package/dist/components/stzh-pi-teaser-layout.js +3 -3
- package/dist/components/stzh-pi-teaser.js +4 -4
- package/dist/components/stzh-pi-teaser.js.map +1 -1
- package/dist/components/stzh-pkzh-qr.js +20 -20
- package/dist/components/stzh-popover.js +1 -1
- package/dist/components/stzh-print.js +1 -1
- package/dist/components/stzh-quote.js +2 -2
- package/dist/components/stzh-radio.js +1 -1
- package/dist/components/stzh-radiogroup.js +1 -1
- package/dist/components/stzh-rating.js +42 -12
- package/dist/components/stzh-rating.js.map +1 -1
- package/dist/components/stzh-ratio.js +1 -1
- package/dist/components/stzh-readspeaker.js +7 -7
- package/dist/components/stzh-richtext.js +3 -3
- package/dist/components/stzh-row.js +1 -1
- package/dist/components/stzh-saptcha.js +9 -9
- package/dist/components/stzh-scrollup.js +3 -3
- package/dist/components/stzh-search.js +19 -19
- package/dist/components/stzh-section.js +4 -4
- package/dist/components/stzh-share.js +1 -1
- package/dist/components/stzh-show.js +1 -1
- package/dist/components/stzh-sitemap.js +10 -10
- package/dist/components/stzh-skin-portal-mitwirken.js +2 -2
- package/dist/components/stzh-skin-storybook-preview.js +2 -2
- package/dist/components/stzh-skiplink.js +2 -2
- package/dist/components/stzh-socialmediastream-item.js +1 -1
- package/dist/components/stzh-socialmediastream.js +8 -8
- 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 +6 -6
- package/dist/components/stzh-sticky-actions.js +4 -4
- package/dist/components/stzh-sticky.js +1 -1
- package/dist/components/stzh-table.js +3 -3
- package/dist/components/stzh-tag.js +1 -1
- package/dist/components/stzh-text.js +1 -1
- package/dist/components/stzh-textandimage.js +3 -3
- package/dist/components/stzh-timeline-item.js +5 -5
- package/dist/components/stzh-timeline.js +2 -2
- package/dist/components/stzh-timepicker.js +6 -6
- package/dist/components/stzh-toast.js +1 -1
- package/dist/components/stzh-toastbar.js +1 -1
- package/dist/components/stzh-toggle.js +42 -11
- package/dist/components/stzh-toggle.js.map +1 -1
- package/dist/components/stzh-tooltip.js +1 -1
- package/dist/components/stzh-twocolumns.js +3 -3
- package/dist/components/stzh-upload.js +50 -19
- 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 +6 -6
- package/dist/components/stzh-vbz-linechip.js +1 -1
- package/dist/components/stzh-vbz-majorticker.js +8 -8
- package/dist/components/stzh-vbz-ticker.js +7 -7
- package/dist/components/stzh-visuallyhidden.js +3 -3
- package/dist/components/stzh-vspace.js +3 -3
- package/dist/components/stzh-youtube.js +7 -7
- package/dist/esm/{index-Qb46gVIp.js → index-Cd_ra_Ay.js} +4 -45
- package/dist/esm/index-Cd_ra_Ay.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/stzh-accordion_3.entry.js +5 -5
- package/dist/esm/stzh-actions_6.entry.js +11 -11
- package/dist/esm/stzh-actionset.entry.js +6 -6
- package/dist/esm/stzh-amount.entry.js +2 -2
- package/dist/esm/stzh-anchornav.entry.js +2 -2
- package/dist/esm/stzh-app-nav.entry.js +2 -2
- package/dist/esm/stzh-appointments.entry.js +21 -11
- package/dist/esm/stzh-appointments.entry.js.map +1 -1
- package/dist/esm/stzh-archivelist.entry.js +1 -1
- package/dist/esm/stzh-audio.entry.js +5 -5
- package/dist/esm/stzh-badge_3.entry.js +5 -5
- package/dist/esm/stzh-banner.entry.js +2 -2
- package/dist/esm/stzh-breadcrumb_2.entry.js +3 -3
- package/dist/esm/stzh-buttongroup.entry.js +2 -2
- package/dist/esm/stzh-calendar.entry.js +1 -1
- package/dist/esm/stzh-card-navigation.entry.js +3 -3
- package/dist/esm/stzh-card-navigation.entry.js.map +1 -1
- package/dist/esm/stzh-card-searchresult.entry.js +3 -3
- package/dist/esm/stzh-card-superteaser.entry.js +2 -2
- package/dist/esm/stzh-card_2.entry.js +8 -8
- package/dist/esm/stzh-carousel.entry.js +4 -4
- package/dist/esm/stzh-chart.entry.js +2 -2
- package/dist/esm/stzh-checkbox.entry.js +36 -6
- package/dist/esm/stzh-checkbox.entry.js.map +1 -1
- package/dist/esm/stzh-checkboxgroup.entry.js +6 -6
- package/dist/esm/stzh-chip_2.entry.js +9 -9
- package/dist/esm/stzh-chipgroup.entry.js +2 -2
- package/dist/esm/stzh-clamp.entry.js +3 -3
- package/dist/esm/stzh-company-logo.entry.js +2 -2
- package/dist/esm/stzh-components.js +3 -3
- package/dist/esm/stzh-contact-cv.entry.js +2 -2
- package/dist/esm/stzh-contact.entry.js +2 -2
- package/dist/esm/stzh-container_2.entry.js +3 -3
- package/dist/esm/stzh-content.entry.js +2 -2
- package/dist/esm/stzh-cta.entry.js +3 -3
- package/dist/esm/stzh-cta.entry.js.map +1 -1
- package/dist/esm/stzh-datalist_3.entry.js +5 -5
- package/dist/esm/stzh-datamessagelist-item.entry.js +2 -2
- package/dist/esm/stzh-datamessagelist.entry.js +2 -2
- package/dist/esm/stzh-datatable.entry.js +2 -2
- package/dist/esm/stzh-datepicker_3.entry.js +42 -12
- package/dist/esm/stzh-daterange.entry.js +3 -3
- package/dist/esm/stzh-details.entry.js +3 -3
- package/dist/esm/stzh-dialog.entry.js +4 -4
- package/dist/esm/stzh-disturber.entry.js +2 -2
- package/dist/esm/stzh-dropdown.entry.js +7 -7
- 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 +4 -5
- package/dist/esm/stzh-eventinfo.entry.js.map +1 -1
- package/dist/esm/stzh-feedreader-item.entry.js +3 -3
- package/dist/esm/stzh-feedreader.entry.js +3 -3
- package/dist/esm/stzh-figure.entry.js +3 -3
- package/dist/esm/stzh-flyingfocus.entry.js +2 -2
- package/dist/esm/stzh-footer.entry.js +6 -5
- package/dist/esm/stzh-footer.entry.js.map +1 -1
- package/dist/esm/stzh-gallery.entry.js +2 -2
- package/dist/esm/stzh-geo-ref-data.entry.js +4 -4
- package/dist/esm/stzh-ghettobox.entry.js +3 -3
- package/dist/esm/stzh-header_3.entry.js +5 -5
- package/dist/esm/stzh-heading.entry.js +2 -2
- package/dist/esm/stzh-homepage-search.entry.js +2 -2
- package/dist/esm/stzh-homepage-service-highlights.entry.js +4 -4
- package/dist/esm/stzh-hr.entry.js +2 -2
- package/dist/esm/stzh-hspace.entry.js +3 -3
- package/dist/esm/stzh-http-error.entry.js +2 -2
- package/dist/esm/stzh-iframe.entry.js +5 -5
- package/dist/esm/stzh-imagecomparison.entry.js +3 -3
- package/dist/esm/{stzh-input-description-CkiDnZXP.js → stzh-input-description-BLx_RZxZ.js} +3 -3
- package/dist/esm/{stzh-input-description-CkiDnZXP.js.map → stzh-input-description-BLx_RZxZ.js.map} +1 -1
- package/dist/esm/stzh-input.entry.js +31 -36
- package/dist/esm/stzh-input.entry.js.map +1 -1
- package/dist/esm/stzh-invert.entry.js +2 -2
- package/dist/esm/stzh-link.entry.js +3 -3
- package/dist/esm/stzh-linklist.entry.js +3 -3
- package/dist/esm/stzh-list_2.entry.js +3 -3
- package/dist/esm/stzh-loader.entry.js +2 -2
- package/dist/esm/stzh-loadingbar.entry.js +2 -2
- package/dist/esm/stzh-menu_2.entry.js +4 -4
- package/dist/esm/stzh-message.entry.js +3 -3
- package/dist/esm/stzh-microsite-teaserlist.entry.js +2 -2
- package/dist/esm/stzh-monthyearpicker.entry.js +2 -2
- package/dist/esm/stzh-offline-indicator.entry.js +2 -2
- package/dist/esm/stzh-page-skiplinks.entry.js +2 -2
- package/dist/esm/stzh-pagebottom.entry.js +2 -2
- package/dist/esm/stzh-pagecontent.entry.js +3 -3
- package/dist/esm/stzh-pagetitle-hero.entry.js +3 -3
- package/dist/esm/stzh-pagetitle-home.entry.js +4 -4
- package/dist/esm/stzh-pagetitle.entry.js +3 -3
- package/dist/esm/stzh-panorama.entry.js +3 -3
- package/dist/esm/stzh-pi-content-navigation.entry.js +3 -3
- package/dist/esm/stzh-pi-content-navigation.entry.js.map +1 -1
- package/dist/esm/stzh-pi-menu.entry.js +2 -2
- package/dist/esm/stzh-pi-pagetitle.entry.js +3 -3
- package/dist/esm/stzh-pi-quote.entry.js +2 -2
- package/dist/esm/stzh-pi-teaser-layout-item.entry.js +2 -2
- package/dist/esm/stzh-pi-teaser-layout-item.entry.js.map +1 -1
- package/dist/esm/stzh-pi-teaser-layout.entry.js +2 -2
- package/dist/esm/stzh-pi-teaser.entry.js +3 -3
- package/dist/esm/stzh-pi-teaser.entry.js.map +1 -1
- package/dist/esm/stzh-pkzh-qr.entry.js +1 -1
- package/dist/esm/stzh-popover.entry.js +3 -3
- package/dist/esm/stzh-print_2.entry.js +4 -4
- package/dist/esm/stzh-quote.entry.js +2 -2
- package/dist/esm/stzh-rating.entry.js +37 -9
- package/dist/esm/stzh-rating.entry.js.map +1 -1
- package/dist/esm/stzh-ratio.entry.js +2 -2
- package/dist/esm/stzh-readspeaker.entry.js +4 -4
- package/dist/esm/stzh-richtext.entry.js +2 -2
- package/dist/esm/stzh-saptcha.entry.js +3 -3
- package/dist/esm/stzh-scrollup.entry.js +3 -3
- package/dist/esm/stzh-search.entry.js +4 -4
- package/dist/esm/stzh-section.entry.js +4 -4
- package/dist/esm/stzh-show.entry.js +3 -3
- package/dist/esm/stzh-sitemap.entry.js +2 -2
- package/dist/esm/stzh-skin-portal-mitwirken.entry.js +2 -2
- package/dist/esm/stzh-skin-storybook-preview.entry.js +2 -2
- package/dist/esm/stzh-skiplink.entry.js +2 -2
- package/dist/esm/stzh-socialmediastream-item.entry.js +2 -2
- package/dist/esm/stzh-socialmediastream.entry.js +3 -3
- package/dist/esm/stzh-stepper-item.entry.js +4 -4
- package/dist/esm/stzh-stepper.entry.js +4 -4
- package/dist/esm/stzh-sticky-actions.entry.js +3 -3
- package/dist/esm/stzh-sticky.entry.js +3 -3
- package/dist/esm/stzh-table.entry.js +3 -3
- package/dist/esm/stzh-text.entry.js +3 -3
- package/dist/esm/stzh-textandimage.entry.js +3 -3
- package/dist/esm/stzh-timeline-item.entry.js +3 -3
- package/dist/esm/stzh-timeline.entry.js +2 -2
- package/dist/esm/stzh-timepicker.entry.js +2 -2
- package/dist/esm/stzh-toast_2.entry.js +5 -5
- package/dist/esm/stzh-toggle.entry.js +36 -7
- package/dist/esm/stzh-toggle.entry.js.map +1 -1
- package/dist/esm/stzh-tooltip.entry.js +3 -3
- package/dist/esm/stzh-twocolumns.entry.js +3 -3
- package/dist/esm/stzh-upload.entry.js +37 -8
- 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 +2 -2
- 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 +3 -3
- package/dist/esm/stzh-vspace.entry.js +3 -3
- package/dist/esm/stzh-youtube.entry.js +2 -2
- package/dist/esm/{utils-BnOofzDv.js → utils-CnvjJ2wY.js} +59 -3
- package/dist/esm/utils-CnvjJ2wY.js.map +1 -0
- package/dist/stzh-components/assets/i18n/fr.json +460 -0
- package/dist/stzh-components/assets/i18n/it.json +461 -0
- package/dist/stzh-components/assets/media/icons/mono/easy-read.svg +1 -0
- package/dist/stzh-components/{p-bae8c063.entry.js → p-01df3db2.entry.js} +2 -2
- package/dist/stzh-components/{p-ff03f780.entry.js → p-079dcc0c.entry.js} +3 -3
- package/dist/stzh-components/{p-93afea50.entry.js → p-07a3f13b.entry.js} +2 -2
- package/dist/stzh-components/{p-7f6e2c50.entry.js → p-07f01850.entry.js} +2 -2
- package/dist/stzh-components/{p-64b3d4c2.entry.js → p-094f446c.entry.js} +2 -2
- package/dist/stzh-components/{p-4640481a.entry.js → p-0b78dd4f.entry.js} +2 -2
- package/dist/stzh-components/{p-32a41205.entry.js → p-0c981d74.entry.js} +2 -2
- package/dist/stzh-components/{p-a41ed36a.entry.js → p-10f8a411.entry.js} +2 -2
- package/dist/stzh-components/{p-c5157043.entry.js → p-1509f376.entry.js} +2 -2
- package/dist/stzh-components/p-1517a33d.entry.js +2 -0
- package/dist/stzh-components/p-1517a33d.entry.js.map +1 -0
- package/dist/stzh-components/{p-d80119b5.entry.js → p-157b43ee.entry.js} +2 -2
- package/dist/stzh-components/{p-d7470d02.entry.js → p-163e7402.entry.js} +2 -2
- package/dist/stzh-components/{p-6ecf3d10.entry.js → p-175bb0f6.entry.js} +2 -2
- package/dist/stzh-components/{p-b4d3dd64.entry.js → p-19128327.entry.js} +2 -2
- package/dist/stzh-components/{p-42e5eb19.entry.js → p-191ee433.entry.js} +2 -2
- package/dist/stzh-components/{p-3edfb735.entry.js → p-1c93511c.entry.js} +2 -2
- package/dist/stzh-components/{p-a711447d.entry.js → p-1e2fdef2.entry.js} +2 -2
- package/dist/stzh-components/p-1e2fdef2.entry.js.map +1 -0
- package/dist/stzh-components/{p-ed8062c2.entry.js → p-202d72b1.entry.js} +2 -2
- package/dist/stzh-components/{p-80503011.entry.js → p-209f26fb.entry.js} +2 -2
- package/dist/stzh-components/p-20bfbc6f.entry.js +2 -0
- package/dist/stzh-components/p-20bfbc6f.entry.js.map +1 -0
- package/dist/stzh-components/{p-6ca9c23c.entry.js → p-2609419a.entry.js} +2 -2
- package/dist/stzh-components/{p-414a3145.entry.js → p-28a1dfb8.entry.js} +2 -2
- package/dist/stzh-components/{p-7635b6f5.entry.js → p-29bce2da.entry.js} +2 -2
- package/dist/stzh-components/{p-aee4a2ae.entry.js → p-2c2ee11d.entry.js} +2 -2
- package/dist/stzh-components/{p-14d86c1d.entry.js → p-2c4b646b.entry.js} +2 -2
- package/dist/stzh-components/{p-055e9962.entry.js → p-2cafe02c.entry.js} +2 -2
- package/dist/stzh-components/{p-7960db96.entry.js → p-31ddeb59.entry.js} +2 -2
- package/dist/stzh-components/{p-a96614ae.entry.js → p-37ab4757.entry.js} +2 -2
- package/dist/stzh-components/{p-e95ee8a4.entry.js → p-3deebf76.entry.js} +2 -2
- package/dist/stzh-components/p-3e949281.entry.js +2 -0
- package/dist/stzh-components/{p-a1e07163.entry.js.map → p-3e949281.entry.js.map} +1 -1
- package/dist/stzh-components/{p-745161ef.entry.js → p-4306b004.entry.js} +2 -2
- package/dist/stzh-components/{p-9f3bbad2.entry.js → p-441a69c8.entry.js} +2 -2
- package/dist/stzh-components/{p-e8e9ceff.entry.js → p-47a3a92f.entry.js} +2 -2
- package/dist/stzh-components/{p-ced452d5.entry.js → p-49dbf5af.entry.js} +2 -2
- package/dist/stzh-components/{p-90807e9e.entry.js → p-4cc94ab2.entry.js} +2 -2
- package/dist/stzh-components/{p-af59c189.entry.js → p-4cf4a477.entry.js} +2 -2
- package/dist/stzh-components/{p-a29de908.entry.js → p-4df5aaec.entry.js} +2 -2
- package/dist/stzh-components/{p-d7ce73a1.entry.js → p-5075d2b8.entry.js} +2 -2
- package/dist/stzh-components/p-5ab62d5a.entry.js +2 -0
- package/dist/stzh-components/{p-d94cc86b.entry.js.map → p-5ab62d5a.entry.js.map} +1 -1
- package/dist/stzh-components/{p-326b55a2.entry.js → p-608b3614.entry.js} +2 -2
- package/dist/stzh-components/{p-216a9cc6.entry.js → p-615bce0c.entry.js} +2 -2
- package/dist/stzh-components/{p-4eefbac4.entry.js → p-62b7f84a.entry.js} +2 -2
- package/dist/stzh-components/{p-43882380.entry.js → p-64f49126.entry.js} +2 -2
- package/dist/stzh-components/{p-2c30f74d.entry.js → p-65d16d3d.entry.js} +2 -2
- package/dist/stzh-components/{p-2c30f74d.entry.js.map → p-65d16d3d.entry.js.map} +1 -1
- package/dist/stzh-components/{p-e947cbc0.entry.js → p-66871ca6.entry.js} +3 -3
- package/dist/stzh-components/{p-a6209841.entry.js → p-6837f9f3.entry.js} +2 -2
- package/dist/stzh-components/{p-70b8ed74.entry.js → p-687aec65.entry.js} +2 -2
- package/dist/stzh-components/{p-edffd239.entry.js → p-68902793.entry.js} +2 -2
- package/dist/stzh-components/{p-edffd239.entry.js.map → p-68902793.entry.js.map} +1 -1
- package/dist/stzh-components/{p-390766ab.entry.js → p-6b9cd9d7.entry.js} +3 -3
- package/dist/stzh-components/{p-37aae8ac.entry.js → p-6c03fa87.entry.js} +3 -3
- package/dist/stzh-components/{p-7fc9372f.entry.js → p-6d317f61.entry.js} +2 -2
- package/dist/stzh-components/{p-e5675129.entry.js → p-6d5286d5.entry.js} +2 -2
- package/dist/stzh-components/{p-ac647202.entry.js → p-6fb9484b.entry.js} +2 -2
- package/dist/stzh-components/p-70dfa010.entry.js +2 -0
- package/dist/stzh-components/p-70dfa010.entry.js.map +1 -0
- package/dist/stzh-components/{p-c52c1aef.entry.js → p-72f80196.entry.js} +2 -2
- package/dist/stzh-components/{p-f51d4bbe.entry.js → p-7365c477.entry.js} +2 -2
- package/dist/stzh-components/{p-d9d0a469.entry.js → p-75291180.entry.js} +2 -2
- package/dist/stzh-components/{p-19cc2896.entry.js → p-761c5948.entry.js} +2 -2
- package/dist/stzh-components/{p-23cdc8a4.entry.js → p-7b65832f.entry.js} +2 -2
- package/dist/stzh-components/{p-86ffdc58.entry.js → p-7e6e6547.entry.js} +2 -2
- package/dist/stzh-components/{p-86ffdc58.entry.js.map → p-7e6e6547.entry.js.map} +1 -1
- package/dist/stzh-components/p-7ee51188.entry.js +2 -0
- package/dist/stzh-components/{p-dc72b0de.entry.js.map → p-7ee51188.entry.js.map} +1 -1
- package/dist/stzh-components/{p-3084c3a5.entry.js → p-7fe9b54c.entry.js} +2 -2
- package/dist/stzh-components/{p-6cd6392a.entry.js → p-8094cf86.entry.js} +2 -2
- package/dist/stzh-components/{p-2d09b8b3.entry.js → p-80fc31a3.entry.js} +2 -2
- package/dist/stzh-components/{p-1341927f.entry.js → p-8a37f308.entry.js} +2 -2
- package/dist/stzh-components/{p-10c5d519.entry.js → p-8afec643.entry.js} +2 -2
- package/dist/stzh-components/{p-61d59943.entry.js → p-8b17a4ea.entry.js} +2 -2
- package/dist/stzh-components/{p-cbef543b.entry.js → p-8c229068.entry.js} +2 -2
- package/dist/stzh-components/{p-1bb272ca.entry.js → p-8e0e50c7.entry.js} +2 -2
- package/dist/stzh-components/{p-cf40ac5b.entry.js → p-8f960061.entry.js} +2 -2
- package/dist/stzh-components/{p-2940951b.entry.js → p-9116a045.entry.js} +2 -2
- package/dist/stzh-components/{p-2940951b.entry.js.map → p-9116a045.entry.js.map} +1 -1
- package/dist/stzh-components/{p-234bf6bf.entry.js → p-91293013.entry.js} +2 -2
- package/dist/stzh-components/{p-96c7ceb0.entry.js → p-9401dae4.entry.js} +2 -2
- package/dist/stzh-components/{p-923deb7b.entry.js → p-973d5106.entry.js} +2 -2
- package/dist/stzh-components/{p-6c517443.entry.js → p-9a13a429.entry.js} +2 -2
- package/dist/stzh-components/{p-1b92110f.entry.js → p-9b3646d1.entry.js} +2 -2
- package/dist/stzh-components/{p-bd256924.entry.js → p-9fa5627e.entry.js} +2 -2
- package/dist/stzh-components/p-Cd_ra_Ay.js +3 -0
- package/dist/stzh-components/p-Cd_ra_Ay.js.map +1 -0
- package/dist/stzh-components/{p-Be8ir2AL.js → p-Cmnnu8LG.js} +2 -2
- package/dist/stzh-components/{p-Be8ir2AL.js.map → p-Cmnnu8LG.js.map} +1 -1
- package/dist/stzh-components/p-DhuTERdU.js +2 -0
- package/dist/stzh-components/p-DhuTERdU.js.map +1 -0
- package/dist/stzh-components/p-a12a9a69.entry.js +2 -0
- package/dist/stzh-components/{p-0ed4cd7e.entry.js.map → p-a12a9a69.entry.js.map} +1 -1
- package/dist/stzh-components/{p-99b23557.entry.js → p-a344c074.entry.js} +2 -2
- package/dist/stzh-components/p-a4af5ab1.entry.js +2 -0
- package/dist/stzh-components/p-a4af5ab1.entry.js.map +1 -0
- package/dist/stzh-components/{p-dfb3d918.entry.js → p-a5d371f1.entry.js} +2 -2
- package/dist/stzh-components/{p-0dd74312.entry.js → p-a955037d.entry.js} +2 -2
- package/dist/stzh-components/{p-42707a5b.entry.js → p-ab49825b.entry.js} +2 -2
- package/dist/stzh-components/{p-94f25b97.entry.js → p-abd035af.entry.js} +2 -2
- package/dist/stzh-components/{p-e8b7bf12.entry.js → p-b1c3a46e.entry.js} +2 -2
- package/dist/stzh-components/{p-09f28398.entry.js → p-b282776f.entry.js} +2 -2
- package/dist/stzh-components/{p-1021e488.entry.js → p-b29db204.entry.js} +2 -2
- package/dist/stzh-components/p-b3376d98.entry.js +2 -0
- package/dist/stzh-components/p-b3376d98.entry.js.map +1 -0
- package/dist/stzh-components/{p-d2acf05b.entry.js → p-b5e6915e.entry.js} +2 -2
- package/dist/stzh-components/{p-7a726c47.entry.js → p-b79a3cf6.entry.js} +2 -2
- package/dist/stzh-components/{p-0cd89ab9.entry.js → p-b93a3119.entry.js} +2 -2
- package/dist/stzh-components/{p-0cf712e6.entry.js → p-b95d6d7e.entry.js} +2 -2
- package/dist/stzh-components/{p-b7b21a8c.entry.js → p-b96726cd.entry.js} +2 -2
- package/dist/stzh-components/{p-60c3106c.entry.js → p-bbf9c297.entry.js} +2 -2
- package/dist/stzh-components/{p-71291933.entry.js → p-be131bb0.entry.js} +2 -2
- package/dist/stzh-components/{p-bc3af3b4.entry.js → p-c0ca3937.entry.js} +2 -2
- package/dist/stzh-components/{p-d434e9ef.entry.js → p-c2b979f4.entry.js} +2 -2
- package/dist/stzh-components/{p-a85ed304.entry.js → p-ca122373.entry.js} +2 -2
- package/dist/stzh-components/{p-20735c80.entry.js → p-ca3018d9.entry.js} +2 -2
- package/dist/stzh-components/p-cabbf05e.entry.js +2 -0
- package/dist/stzh-components/{p-e236ee82.entry.js.map → p-cabbf05e.entry.js.map} +1 -1
- package/dist/stzh-components/{p-73a79275.entry.js → p-cada8a35.entry.js} +2 -2
- package/dist/stzh-components/{p-033c3b6b.entry.js → p-cc8ee9b0.entry.js} +2 -2
- package/dist/stzh-components/{p-647a80da.entry.js → p-cd7b961a.entry.js} +2 -2
- package/dist/stzh-components/{p-e7e813f8.entry.js → p-ced6cf29.entry.js} +2 -2
- package/dist/stzh-components/{p-c297a620.entry.js → p-cf9f8810.entry.js} +2 -2
- package/dist/stzh-components/{p-d7668a3b.entry.js → p-d0a705e4.entry.js} +2 -2
- package/dist/stzh-components/{p-83a059a0.entry.js → p-d5811a44.entry.js} +2 -2
- package/dist/stzh-components/{p-5204cd86.entry.js → p-d681d6e4.entry.js} +2 -2
- package/dist/stzh-components/{p-4b928978.entry.js → p-d86f3f58.entry.js} +2 -2
- package/dist/stzh-components/{p-af4ea4bc.entry.js → p-dbd9d4dc.entry.js} +5 -5
- package/dist/stzh-components/{p-51d869eb.entry.js → p-dd861fbd.entry.js} +2 -2
- package/dist/stzh-components/{p-ef8e4a95.entry.js → p-df4d32b9.entry.js} +2 -2
- package/dist/stzh-components/{p-2baa284a.entry.js → p-e0df6f5e.entry.js} +2 -2
- package/dist/stzh-components/{p-fb25534f.entry.js → p-e1f17ba4.entry.js} +2 -2
- package/dist/stzh-components/{p-fb25534f.entry.js.map → p-e1f17ba4.entry.js.map} +1 -1
- package/dist/stzh-components/{p-ecd3be50.entry.js → p-e4713769.entry.js} +2 -2
- package/dist/stzh-components/p-e542834b.entry.js +2 -0
- package/dist/stzh-components/p-e542834b.entry.js.map +1 -0
- package/dist/stzh-components/{p-0795bbcd.entry.js → p-e682f2ac.entry.js} +2 -2
- package/dist/stzh-components/{p-b47d51d7.entry.js → p-e7dc4502.entry.js} +2 -2
- package/dist/stzh-components/{p-b8f44c79.entry.js → p-e7fd376c.entry.js} +7 -7
- package/dist/stzh-components/p-e9c52ffb.entry.js +2 -0
- package/dist/stzh-components/p-e9c52ffb.entry.js.map +1 -0
- package/dist/stzh-components/{p-02cb3aae.entry.js → p-ea5e7024.entry.js} +2 -2
- package/dist/stzh-components/{p-7aca0e23.entry.js → p-edf81efe.entry.js} +2 -2
- package/dist/stzh-components/{p-0134136f.entry.js → p-ef1dac1c.entry.js} +2 -2
- package/dist/stzh-components/{p-a7bed4b7.entry.js → p-f0494df6.entry.js} +2 -2
- package/dist/stzh-components/p-f3e31d46.entry.js +2 -0
- package/dist/stzh-components/{p-58882212.entry.js.map → p-f3e31d46.entry.js.map} +1 -1
- package/dist/stzh-components/{p-e19b6d8c.entry.js → p-f57e38fd.entry.js} +2 -2
- package/dist/stzh-components/{p-62ffe60a.entry.js → p-f5be3b98.entry.js} +2 -2
- package/dist/stzh-components/{p-ec817cb2.entry.js → p-f6abd4ab.entry.js} +2 -2
- package/dist/stzh-components/{p-61c9ed2d.entry.js → p-f8f7101d.entry.js} +2 -2
- package/dist/stzh-components/{p-42628b3a.entry.js → p-ff9946f2.entry.js} +2 -2
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/types/components/stzh-appointments/stzh-appointments.d.ts +7 -1
- package/dist/types/components/stzh-checkbox/stzh-checkbox.d.ts +18 -0
- package/dist/types/components/stzh-footer/stzh-footer.d.ts +2 -2
- package/dist/types/components/stzh-header/stzh-header.d.ts +1 -1
- package/dist/types/components/stzh-input/stzh-input.d.ts +15 -4
- package/dist/types/components/stzh-radio/stzh-radio.d.ts +18 -0
- package/dist/types/components/stzh-rating/stzh-rating.d.ts +18 -0
- package/dist/types/components/stzh-toggle/stzh-toggle.d.ts +18 -0
- package/dist/types/components/stzh-upload/stzh-upload.d.ts +18 -0
- package/dist/types/components.d.ts +12 -12
- package/dist/types/utils/utils.d.ts +13 -0
- package/dist/vscode-data.json +6 -3
- package/package.json +1 -1
- package/dist/cjs/index-Cj3dPOnE.js.map +0 -1
- package/dist/cjs/utils-BtvTjHH2.js.map +0 -1
- package/dist/components/p-5QD-jnDI.js.map +0 -1
- package/dist/components/p-BmZW5NzL.js.map +0 -1
- package/dist/components/p-C7bl96a5.js.map +0 -1
- package/dist/components/p-CN5apKPb.js.map +0 -1
- package/dist/components/p-DStLZwaI.js.map +0 -1
- package/dist/components/p-G6s0H-yQ.js.map +0 -1
- package/dist/esm/index-Qb46gVIp.js.map +0 -1
- package/dist/esm/utils-BnOofzDv.js.map +0 -1
- package/dist/stzh-components/p--MYN2wgX.js +0 -2
- package/dist/stzh-components/p--MYN2wgX.js.map +0 -1
- package/dist/stzh-components/p-0ed4cd7e.entry.js +0 -2
- package/dist/stzh-components/p-18237cd2.entry.js +0 -2
- package/dist/stzh-components/p-18237cd2.entry.js.map +0 -1
- package/dist/stzh-components/p-58882212.entry.js +0 -2
- package/dist/stzh-components/p-5f86ac2c.entry.js +0 -2
- package/dist/stzh-components/p-5f86ac2c.entry.js.map +0 -1
- package/dist/stzh-components/p-61aa75b0.entry.js +0 -2
- package/dist/stzh-components/p-61aa75b0.entry.js.map +0 -1
- package/dist/stzh-components/p-6a798b0a.entry.js +0 -2
- package/dist/stzh-components/p-6a798b0a.entry.js.map +0 -1
- package/dist/stzh-components/p-Qb46gVIp.js +0 -3
- package/dist/stzh-components/p-Qb46gVIp.js.map +0 -1
- package/dist/stzh-components/p-a1e07163.entry.js +0 -2
- package/dist/stzh-components/p-a711447d.entry.js.map +0 -1
- package/dist/stzh-components/p-b6d762b2.entry.js +0 -2
- package/dist/stzh-components/p-b6d762b2.entry.js.map +0 -1
- package/dist/stzh-components/p-d21526d5.entry.js +0 -2
- package/dist/stzh-components/p-d21526d5.entry.js.map +0 -1
- package/dist/stzh-components/p-d94cc86b.entry.js +0 -2
- package/dist/stzh-components/p-dc72b0de.entry.js +0 -2
- package/dist/stzh-components/p-e236ee82.entry.js +0 -2
- package/dist/stzh-components/p-facf3e9e.entry.js +0 -2
- package/dist/stzh-components/p-facf3e9e.entry.js.map +0 -1
- /package/dist/stzh-components/{p-bae8c063.entry.js.map → p-01df3db2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ff03f780.entry.js.map → p-079dcc0c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-93afea50.entry.js.map → p-07a3f13b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7f6e2c50.entry.js.map → p-07f01850.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-64b3d4c2.entry.js.map → p-094f446c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4640481a.entry.js.map → p-0b78dd4f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-32a41205.entry.js.map → p-0c981d74.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a41ed36a.entry.js.map → p-10f8a411.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c5157043.entry.js.map → p-1509f376.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d80119b5.entry.js.map → p-157b43ee.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d7470d02.entry.js.map → p-163e7402.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6ecf3d10.entry.js.map → p-175bb0f6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b4d3dd64.entry.js.map → p-19128327.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-42e5eb19.entry.js.map → p-191ee433.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3edfb735.entry.js.map → p-1c93511c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ed8062c2.entry.js.map → p-202d72b1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-80503011.entry.js.map → p-209f26fb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6ca9c23c.entry.js.map → p-2609419a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-414a3145.entry.js.map → p-28a1dfb8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7635b6f5.entry.js.map → p-29bce2da.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-aee4a2ae.entry.js.map → p-2c2ee11d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-14d86c1d.entry.js.map → p-2c4b646b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-055e9962.entry.js.map → p-2cafe02c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7960db96.entry.js.map → p-31ddeb59.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a96614ae.entry.js.map → p-37ab4757.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e95ee8a4.entry.js.map → p-3deebf76.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-745161ef.entry.js.map → p-4306b004.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9f3bbad2.entry.js.map → p-441a69c8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e8e9ceff.entry.js.map → p-47a3a92f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ced452d5.entry.js.map → p-49dbf5af.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-90807e9e.entry.js.map → p-4cc94ab2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-af59c189.entry.js.map → p-4cf4a477.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a29de908.entry.js.map → p-4df5aaec.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d7ce73a1.entry.js.map → p-5075d2b8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-326b55a2.entry.js.map → p-608b3614.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-216a9cc6.entry.js.map → p-615bce0c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4eefbac4.entry.js.map → p-62b7f84a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-43882380.entry.js.map → p-64f49126.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e947cbc0.entry.js.map → p-66871ca6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a6209841.entry.js.map → p-6837f9f3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-70b8ed74.entry.js.map → p-687aec65.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-390766ab.entry.js.map → p-6b9cd9d7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-37aae8ac.entry.js.map → p-6c03fa87.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7fc9372f.entry.js.map → p-6d317f61.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e5675129.entry.js.map → p-6d5286d5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ac647202.entry.js.map → p-6fb9484b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c52c1aef.entry.js.map → p-72f80196.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f51d4bbe.entry.js.map → p-7365c477.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d9d0a469.entry.js.map → p-75291180.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-19cc2896.entry.js.map → p-761c5948.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-23cdc8a4.entry.js.map → p-7b65832f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3084c3a5.entry.js.map → p-7fe9b54c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6cd6392a.entry.js.map → p-8094cf86.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2d09b8b3.entry.js.map → p-80fc31a3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1341927f.entry.js.map → p-8a37f308.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-10c5d519.entry.js.map → p-8afec643.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-61d59943.entry.js.map → p-8b17a4ea.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-cbef543b.entry.js.map → p-8c229068.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1bb272ca.entry.js.map → p-8e0e50c7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-cf40ac5b.entry.js.map → p-8f960061.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-234bf6bf.entry.js.map → p-91293013.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-96c7ceb0.entry.js.map → p-9401dae4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-923deb7b.entry.js.map → p-973d5106.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6c517443.entry.js.map → p-9a13a429.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1b92110f.entry.js.map → p-9b3646d1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bd256924.entry.js.map → p-9fa5627e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-99b23557.entry.js.map → p-a344c074.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-dfb3d918.entry.js.map → p-a5d371f1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0dd74312.entry.js.map → p-a955037d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-42707a5b.entry.js.map → p-ab49825b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-94f25b97.entry.js.map → p-abd035af.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e8b7bf12.entry.js.map → p-b1c3a46e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-09f28398.entry.js.map → p-b282776f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1021e488.entry.js.map → p-b29db204.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d2acf05b.entry.js.map → p-b5e6915e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7a726c47.entry.js.map → p-b79a3cf6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0cd89ab9.entry.js.map → p-b93a3119.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0cf712e6.entry.js.map → p-b95d6d7e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b7b21a8c.entry.js.map → p-b96726cd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-60c3106c.entry.js.map → p-bbf9c297.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-71291933.entry.js.map → p-be131bb0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bc3af3b4.entry.js.map → p-c0ca3937.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d434e9ef.entry.js.map → p-c2b979f4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a85ed304.entry.js.map → p-ca122373.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-20735c80.entry.js.map → p-ca3018d9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-73a79275.entry.js.map → p-cada8a35.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-033c3b6b.entry.js.map → p-cc8ee9b0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-647a80da.entry.js.map → p-cd7b961a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e7e813f8.entry.js.map → p-ced6cf29.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c297a620.entry.js.map → p-cf9f8810.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d7668a3b.entry.js.map → p-d0a705e4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-83a059a0.entry.js.map → p-d5811a44.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5204cd86.entry.js.map → p-d681d6e4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4b928978.entry.js.map → p-d86f3f58.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-af4ea4bc.entry.js.map → p-dbd9d4dc.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-51d869eb.entry.js.map → p-dd861fbd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ef8e4a95.entry.js.map → p-df4d32b9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2baa284a.entry.js.map → p-e0df6f5e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ecd3be50.entry.js.map → p-e4713769.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0795bbcd.entry.js.map → p-e682f2ac.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b47d51d7.entry.js.map → p-e7dc4502.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b8f44c79.entry.js.map → p-e7fd376c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-02cb3aae.entry.js.map → p-ea5e7024.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7aca0e23.entry.js.map → p-edf81efe.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0134136f.entry.js.map → p-ef1dac1c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a7bed4b7.entry.js.map → p-f0494df6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e19b6d8c.entry.js.map → p-f57e38fd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-62ffe60a.entry.js.map → p-f5be3b98.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ec817cb2.entry.js.map → p-f6abd4ab.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-61c9ed2d.entry.js.map → p-f8f7101d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-42628b3a.entry.js.map → p-ff9946f2.entry.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, f as forceUpdate, a as Host, d as getElement } from './index-
|
|
2
|
-
import { h as hasSlot, s as setPropsIfNull } from './utils-
|
|
1
|
+
import { r as registerInstance, h, f as forceUpdate, a as Host, d as getElement } from './index-Cd_ra_Ay.js';
|
|
2
|
+
import { h as hasSlot, s as setPropsIfNull } from './utils-CnvjJ2wY.js';
|
|
3
3
|
import './string-utils-BubviQku.js';
|
|
4
4
|
|
|
5
5
|
const stzhTextandimageCss = () => `: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}:host{--row-gap:var(--stzh-space-medium)}@media screen and (min-width: 600px){:host{--row-gap:var(--stzh-space-large)}}@media screen and (min-width: 900px){:host{--row-gap:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){:host{--row-gap:var(--stzh-space-xxlarge)}}:host{--grid-template-areas:var(
|
|
@@ -138,7 +138,7 @@ const StzhTextandimage = class {
|
|
|
138
138
|
[`stzh-textandimage--size-${this.size}`]: !!this.size,
|
|
139
139
|
[`stzh-textandimage--image-position-${this.imagePosition}`]: !!this.imagePosition,
|
|
140
140
|
};
|
|
141
|
-
return (h(Host, { key: '
|
|
141
|
+
return (h(Host, { key: 'c225c1c09b514833062bdf9ab67060955939ad43', single: isSingle, "image-position": this.imagePosition }, h("div", { key: 'e97f87d61c1121ce585834fde9a461686b0cdd67', class: classes }, h("div", { key: '4221e95658f23b54d49f3f3dbea14812bf42d93f', class: "stzh-textandimage__left" }, h("slot", { key: 'a2ba8d68b8e2c9431723612341f0271cfda34752', name: "left", onSlotchange: () => forceUpdate(this.element) })), h("div", { key: '7c13b4cb3d3bdf2bcbf5a2ee99bb6acc514c8fa6', class: "stzh-textandimage__right" }, h("div", { key: 'ad7ce05dec8e4ab31e2bc29440f38a6982f1e095', class: this.imageMoves ? "stzh-textandimage__wrapper" : "" }, h("slot", { key: 'ffd5041d4cd2706cf4e8cdde579cde8e1b5423a5', name: "right", onSlotchange: () => forceUpdate(this.element) }))))));
|
|
142
142
|
}
|
|
143
143
|
get element() { return getElement(this); }
|
|
144
144
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, a as Host, d as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, a as Host, d as getElement } from './index-Cd_ra_Ay.js';
|
|
2
2
|
import { w as waitForEvent } from './event-utils--SdF31O7.js';
|
|
3
3
|
import { s as stopAnimations, a as animateTo, b as shimKeyframesAutoValues } from './animation-utils-BOO84wnP.js';
|
|
4
|
-
import { h as hasSlot } from './utils-
|
|
4
|
+
import { h as hasSlot } from './utils-CnvjJ2wY.js';
|
|
5
5
|
import './string-utils-BubviQku.js';
|
|
6
6
|
|
|
7
7
|
const stzhTimelineItemCss = () => `: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}:host{--content-padding-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){:host{--content-padding-bottom:var(--stzh-space-large)}}@media screen and (min-width: 900px){:host{--content-padding-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){:host{--content-padding-bottom:var(--stzh-space-xxlarge)}}:host{--trigger-size:1.125rem;--icon-size:var(--stzh-icon-size);--heading-margin-bottom:var(--stzh-space-medium);--content-padding-top:var(--stzh-timeline-content-padding-top);--content-padding-right:0px;--border-width:0.125rem;--button-font-size:var(
|
|
@@ -284,7 +284,7 @@ const StzhTimelineItem = class {
|
|
|
284
284
|
"stzh-timeline-item--is-foldable": this._foldable,
|
|
285
285
|
"stzh-timeline-item--is-completed": this.completed,
|
|
286
286
|
};
|
|
287
|
-
return (h(Host, { key: '
|
|
287
|
+
return (h(Host, { key: '677f78ed10088e5114c62f84ddc010e54b06a4e7', role: "listitem", "is-foldable": this._foldable, tabindex: this.disabled ? null : this.rootTabindex, onFocus: this.onRootFocus }, h("div", { key: 'fe999f984ccdf2b3ca2b3995906c31a34b926685', class: classes }, h(Heading, { key: 'efe939514af7fe42c278ce45eef458a0aaaea240', id: `${this.timelineItemId}-header`, class: "stzh-timeline-item__heading", onClick: this.handleHeaderClick }, h("button", { key: '9b3593e0c0fcc402c6ae980fad8238ff67c040ae', ref: el => (this.buttonElement = el), class: "stzh-timeline-item__button", "aria-controls": `${this.timelineItemId}-content`, "aria-expanded": `${this.open ? "true" : "false"}`, "aria-disabled": !this._foldable ? "true" : "false", disabled: this.disabled, onFocus: this.onFocus, onBlur: this.onBlur, onKeyDown: this.onButtonKeydown, type: "button", "s-object-id": this.analyticsId || this.heading }, h("span", { key: '0139b83aa2ac6edd3f413c1867dba981d776cd44', class: "stzh-timeline-item__bullet" }, hasIcon || this.completed ? (h("span", { class: "stzh-timeline-item__bullet-icon-wrapper" }, this.icon || this.completed ? (h("stzh-icon", { class: "stzh-timeline-item__bullet-icon", name: this.icon ? this.icon : "checkmark" })) : (h("slot", { name: "icon" })))) : (h("span", { class: "stzh-timeline-item__bullet-text" }, this.step)), (this.badge || this.badgeEmpty) && (h("stzh-badge", { key: '4ac748ce27a9c6db4872dac9c3f29bcb1e6e5ea0', class: "stzh-timeline-item__badge", label: this.badge, type: this.badgeType }))), h("div", { key: 'd8463fac09c64f8bbb161e9b3c4a14c6b013110b', class: "stzh-timeline-item__button-inner" }, h("span", { key: 'a6c81e61e98877bc69a9b3ef48ce7edf93525ce0', class: "stzh-timeline-item__button-text" }, h("span", { key: '9d0777ff0404049865fb23f7997d7de6fe476fba', class: "stzh-timeline-item__heading-text" }, this.heading), h("span", { key: '0c31fa3de25a2455372b148edada1bce1f5442f0', class: "stzh-timeline-item__description" }, this.description)), this._foldable && h("span", { key: 'fd62bbdafa3e6a7cff17e09cb2f9d0b50dfb0b52', class: "stzh-timeline-item__button-icon" })))), h("div", { key: '1224b30c677e9d57d11a7cc60fa30ce64184b940', id: `${this.timelineItemId}-content`, ref: el => (this.bodyElement = el), class: "stzh-timeline-item__content", "aria-labelledby": `${this.timelineItemId}-header`, role: "region", onKeyDown: this.onContentKeydown }, h("div", { key: '119936319f4e83e51c360a62a92abc7b78e4e9d1', class: "stzh-timeline-item__content-inner" }, h("slot", { key: '680707bad6dd9e22cc9a3604bc83f1da371136c6' }))))));
|
|
288
288
|
}
|
|
289
289
|
get element() { return getElement(this); }
|
|
290
290
|
static get watchers() { return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, a as Host, d as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, a as Host, d as getElement } from './index-Cd_ra_Ay.js';
|
|
2
2
|
|
|
3
3
|
const stzhTimelineCss = () => `: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}:host{--nested-margin-left:var(--stzh-timeline-nested-margin-left, 0px);--nested-margin-bottom:var(--stzh-timeline-nested-margin-bottom, 0px);--stzh-section-padding-top:0px;--stzh-section-padding-bottom:0px;--stzh-section-margin-top:0px;--stzh-section-margin-bottom:0px}:host ::slotted(*:not(:last-child)){position:relative}:host ::slotted(*:not(:last-child))::after{content:"";display:block;position:absolute;top:0;left:1.25rem;width:0.125rem;height:100%;background-color:var(--stzh-color-grey50)}@media (forced-colors: active){:host ::slotted(*:not(:last-child))::after{background-color:CanvasText}}.stzh-timeline{--stzh-timeline-nested-margin-left:calc(
|
|
4
4
|
var(--stzh-timeline-bullet-size) / -1
|
|
@@ -110,7 +110,7 @@ const StzhTimeline = class {
|
|
|
110
110
|
const classes = {
|
|
111
111
|
"stzh-timeline": true,
|
|
112
112
|
};
|
|
113
|
-
return (h(Host, { key: '
|
|
113
|
+
return (h(Host, { key: '38ded3ad998018d89b78bf2adf63ee72f0f5566a' }, h("div", { key: 'fb5e9f85ea412351647341d084849ad59d553e08', class: classes, role: "list" }, h("slot", { key: '1dc0ba42bb7234ec3c3c2dc3301900ed6efad299', onSlotchange: this.handleSlotchange }))));
|
|
114
114
|
}
|
|
115
115
|
get element() { return getElement(this); }
|
|
116
116
|
static get watchers() { return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, a as Host, d as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, a as Host, d as getElement } from './index-Cd_ra_Ay.js';
|
|
2
2
|
|
|
3
3
|
const stzhTimepickerCss = () => `.sc-stzh-timepicker-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-timepicker-h,[stzh-hidden].sc-stzh-timepicker-h{display:none}.sc-stzh-timepicker-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-timepicker-h *.sc-stzh-timepicker,.sc-stzh-timepicker-h *.sc-stzh-timepicker::before,.sc-stzh-timepicker-h *.sc-stzh-timepicker::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-timepicker-h .has-focus.sc-stzh-timepicker{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-timepicker-h .stzh-fylingfocus-focused.sc-stzh-timepicker{outline-style:none !important}.sc-stzh-timepicker-h .stzh-fylingfocus-focused.sc-stzh-timepicker::-moz-focus-inner{border:0 !important}.sc-stzh-timepicker-h{width:100%}.stzh-timepicker__dropdown.sc-stzh-timepicker{--icon-angle-size:var(--stzh-icon-size-small);--active-icon-angle-transform:rotate(0deg) translateY(-50%)}`;
|
|
4
4
|
|
|
@@ -90,7 +90,7 @@ const StzhTimepicker = class {
|
|
|
90
90
|
const classes = {
|
|
91
91
|
"stzh-timepicker": true,
|
|
92
92
|
};
|
|
93
|
-
return (h(Host, { key: '
|
|
93
|
+
return (h(Host, { key: 'f79445073be60af1b13bfe06bb4412642743b256', tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, h("div", { key: '0252db2b477b6e7e7beb957e0475a712860df939', class: classes }, h("stzh-dropdown", { key: '8464d09c31563e33d6f0a0b65e2019c95c92e426', open: this.open, class: "stzh-timepicker__dropdown", iconAngle: "clock", label: this.label, ref: el => (this.input = el), onStzhChange: this.onDropdownChange, options: this._dropdownOptions, items: [this.value], required: this.required, disabled: this.disabled, description: this.description, descriptionLong: this.descriptionLong, error: this.error, popoverPlacement: this.popoverPlacement, a11yDescribedby: this.a11yDescribedby, name: this.name, size: this.size, invalid: this.invalid, hideOptional: this.hideOptional }))));
|
|
94
94
|
}
|
|
95
95
|
get element() { return getElement(this); }
|
|
96
96
|
static get watchers() { return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, a as Host, d as getElement } from './index-
|
|
2
|
-
import { s as setPropsIfNull, h as hasSlot } from './utils-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, a as Host, d as getElement } from './index-Cd_ra_Ay.js';
|
|
2
|
+
import { s as setPropsIfNull, h as hasSlot } from './utils-CnvjJ2wY.js';
|
|
3
3
|
import { w as waitForEvent } from './event-utils--SdF31O7.js';
|
|
4
4
|
import { s as stopAnimations, a as animateTo, b as shimKeyframesAutoValues } from './animation-utils-BOO84wnP.js';
|
|
5
5
|
import { a as api } from './js.cookie-Cpg2gH_9.js';
|
|
@@ -176,10 +176,10 @@ const StzhToast = class {
|
|
|
176
176
|
"stzh-toast--has-close-hidden": this.hideClose,
|
|
177
177
|
[`stzh-toast--type-${this.type}`]: !!this.type,
|
|
178
178
|
};
|
|
179
|
-
return (h(Host, { key: '
|
|
179
|
+
return (h(Host, { key: '4c1c4cdc64fe10891d3a7ded71e82ea8fb97ff3f' }, h("div", { key: '2ebebb2a6ccda97cef30090b87b0b9b9ea3dc728', ref: el => (this.rootElement = el), class: classes }, h("div", { key: 'ad66296b97fc4b8fe79823363108a5a4b2788fc4', class: "stzh-toast__content" }, h("div", { key: '355d0723f6294bc707e7007be0375cfcdfc28832', class: "stzh-toast__icon-wrapper" }, h("stzh-icon", { key: '827bcd937f4323c3937ede281c2259f452bc2a1e', class: "stzh-toast__icon", name: (this.type === "info" && "info-help-filled") ||
|
|
180
180
|
(this.type === "success" && "checkmark-circle-filled") ||
|
|
181
181
|
(this.type === "warning" && "important-warning-filled") ||
|
|
182
|
-
(this.type === "error" && "warning-filled") })), h("div", { key: '
|
|
182
|
+
(this.type === "error" && "warning-filled") })), h("div", { key: 'c6d067a69990c35e8f62ab512350a7bf92adf771', class: "stzh-toast__text-wrapper" }, h("div", { key: '54ce50bd06b48edf6f5cb5d707c2b0709ab1af19', class: "stzh-toast__label" }, this.label), h("div", { key: '1f5b83d94cd519a0e3a211cdd2b5f59bab9782ee', class: "stzh-toast__link" }, h("slot", { key: '47709f8c4029e598692fc229058fabfab3f31f3c', name: "link", onSlotchange: this.handleLinkSlotchange })))), !this.hideClose && (h("div", { key: '4c925104f8f7c0b64cd435cb5cd649ad2cac8b87', class: "stzh-toast__close-wrapper" }, h("stzh-button", { key: '8603abac79c8874eef356847caebee04b2b4562a', class: "stzh-toast__close", onClick: this.onCloseButtonClick, label: this.localization.close, variant: "tertiary", size: "small", iconOnly: true, icon: "close-big" }))))));
|
|
183
183
|
}
|
|
184
184
|
get element() { return getElement(this); }
|
|
185
185
|
static get watchers() { return {
|
|
@@ -333,7 +333,7 @@ const StzhToastbar = class {
|
|
|
333
333
|
const classes = {
|
|
334
334
|
"stzh-toastbar": true,
|
|
335
335
|
};
|
|
336
|
-
return (h(Host, { key: '
|
|
336
|
+
return (h(Host, { key: '5034ae6c3038f1aea0dc54e7b8b5d2dfc03b4e02' }, h("div", { key: '3ed760bfe5f3861b8f77784816e8028d0dc93b5c', class: classes }, h("slot", { key: 'b088a5aac35d1af50d648d7cf9dea80785707de1', onSlotchange: this.handleSlotchange }))));
|
|
337
337
|
}
|
|
338
338
|
get element() { return getElement(this); }
|
|
339
339
|
static get watchers() { return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, a as Host, d as getElement } from './index-
|
|
2
|
-
import { h as hasSlot } from './utils-
|
|
3
|
-
import { S as StzhInputDescription } from './stzh-input-description-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, a as Host, d as getElement } from './index-Cd_ra_Ay.js';
|
|
2
|
+
import { a as hasDefaultSlotContent, h as hasSlot } from './utils-CnvjJ2wY.js';
|
|
3
|
+
import { S as StzhInputDescription } from './stzh-input-description-BLx_RZxZ.js';
|
|
4
4
|
import './string-utils-BubviQku.js';
|
|
5
5
|
|
|
6
6
|
const stzhToggleCss = () => `.sc-stzh-toggle-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-toggle-h,[stzh-hidden].sc-stzh-toggle-h{display:none}.sc-stzh-toggle-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-toggle-h *.sc-stzh-toggle,.sc-stzh-toggle-h *.sc-stzh-toggle::before,.sc-stzh-toggle-h *.sc-stzh-toggle::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-toggle-h .has-focus.sc-stzh-toggle{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-toggle-h .stzh-fylingfocus-focused.sc-stzh-toggle{outline-style:none !important}.sc-stzh-toggle-h .stzh-fylingfocus-focused.sc-stzh-toggle::-moz-focus-inner{border:0 !important}.sc-stzh-toggle-h{--check-size:1.5rem;--track-width:2.75rem;display:inline-block}[disabled].sc-stzh-toggle-h:not([disabled=false]){--description-color:var(--stzh-color-grey70)}.stzh-toggle__marker-symbol.sc-stzh-toggle{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-toggle__marker-text.sc-stzh-toggle{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-toggle__description-wrapper.sc-stzh-toggle{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-toggle__error.sc-stzh-toggle,.stzh-toggle__description.sc-stzh-toggle{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-toggle__error.sc-stzh-toggle{color:var(--stzh-color-error60)}.stzh-toggle__error-list.sc-stzh-toggle{list-style:none;margin:0;padding:0}.stzh-toggle__description.sc-stzh-toggle{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-toggle__description-long.sc-stzh-toggle{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-toggle__description-long.sc-stzh-toggle{margin-top:0}}.stzh-toggle__description-long-popover.sc-stzh-toggle{--width:auto;--max-width:27.3125rem}.stzh-toggle__description-long-button.sc-stzh-toggle{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-toggle.sc-stzh-toggle stzh-icon.stzh-toggle__description-long-icon.sc-stzh-toggle{--size:var(--stzh-icon-size-xsmall)}.stzh-toggle--has-error.sc-stzh-toggle .stzh-toggle__error.sc-stzh-toggle,.stzh-toggle--has-description.sc-stzh-toggle .stzh-toggle__description.sc-stzh-toggle{margin-top:var(--stzh-space-xxxsmall)}.stzh-toggle__field-wrapper.sc-stzh-toggle{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-toggle__input.sc-stzh-toggle{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-toggle__mark.sc-stzh-toggle{position:relative;background-color:var(--stzh-color-black10op);width:var(--track-width);height:1rem;flex-shrink:0;border-radius:0.75rem;display:inline-flex;justify-content:center;align-items:center;transition:background-color var(--stzh-base-transition-animation-speed);margin-top:0.25rem}@media (forced-colors: active){.stzh-toggle__mark.sc-stzh-toggle{outline:0.125rem solid ButtonBorder;outline-offset:-0.125rem}}.stzh-toggle__check.sc-stzh-toggle{position:absolute;border:0.125rem solid var(--stzh-base-color);width:var(--check-size);height:var(--check-size);border-radius:50%;background-color:var(--stzh-color-white);top:50%;left:0;transform:translateY(-50%);transition-property:border-color, background-color, transform;transition-duration:var(--stzh-base-transition-animation-speed)}@media (forced-colors: active){.stzh-toggle__check.sc-stzh-toggle{transition-property:transform;border-color:ButtonBorder}}@media (prefers-reduced-motion: reduce){.stzh-toggle__check.sc-stzh-toggle{transition:none}}.stzh-toggle__label.sc-stzh-toggle{--stzh-base-color:initial;display:inline-flex;align-items:center;gap:var(--stzh-space-xsmall);color:var(--stzh-base-color);transition:color var(--stzh-base-transition-animation-speed)}.stzh-toggle__label.sc-stzh-toggle:empty{display:none}.stzh-toggle__label-text.sc-stzh-toggle{min-width:0}.stzh-toggle__label.sc-stzh-toggle>.stzh-toggle__description-wrapper.sc-stzh-toggle{flex:0 0 auto;display:inline-flex;align-items:flex-start;margin:0}.stzh-toggle__label.sc-stzh-toggle .stzh-toggle__error.sc-stzh-toggle,.stzh-toggle__label.sc-stzh-toggle .stzh-toggle__description-text.sc-stzh-toggle{display:none}.stzh-toggle__label.sc-stzh-toggle .stzh-toggle__description.sc-stzh-toggle,.stzh-toggle__label.sc-stzh-toggle .stzh-toggle__description-long.sc-stzh-toggle{display:inline-flex;align-items:flex-start;margin:0}.stzh-toggle__label.sc-stzh-toggle .stzh-toggle__description-long-button.sc-stzh-toggle{display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:1}.stzh-toggle__label.sc-stzh-toggle stzh-popover.sc-stzh-toggle .stzh-toggle__description-long-icon.sc-stzh-toggle{--size:var(--stzh-icon-size-small);display:block;line-height:0;color:var(--stzh-color-primary70)}.stzh-toggle__marker.sc-stzh-toggle{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-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:var(--stzh-color-old-primary48)}@media (forced-colors: active){.stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:SelectedItem}}.stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-primary);background-color:var(--stzh-color-primary);transform:translateY(-50%) translateX(calc(var(--track-width) - var(--check-size)))}@media (forced-colors: active){.stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:ButtonBorder;background-color:SelectedItem}}.stzh-toggle.sc-stzh-toggle:hover .stzh-toggle__label.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-primary-hover)}.stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-primary)}.stzh-toggle.sc-stzh-toggle:hover .stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:focus:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:focus~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-primary-hover)}@media (forced-colors: active){.stzh-toggle.sc-stzh-toggle:hover .stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:focus:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:focus~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:Highlight;background-color:Highlight}}@media (forced-colors: active){.stzh-toggle.sc-stzh-toggle:hover .stzh-toggle__mark.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:focus:hover~.stzh-toggle__mark.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__mark.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:focus~.stzh-toggle__mark.sc-stzh-toggle{outline-color:Highlight}}.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:focus~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{background-color:var(--stzh-color-primary-hover)}@media (forced-colors: active){.stzh-toggle__input.sc-stzh-toggle:checked:hover~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle,.stzh-toggle__input.sc-stzh-toggle:checked:focus~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:Highlight;background-color:Highlight}}.stzh-toggle--has-label-right.sc-stzh-toggle .stzh-toggle__label.sc-stzh-toggle{margin-left:var(--stzh-space-xsmall)}.stzh-toggle--has-label-left.sc-stzh-toggle .stzh-toggle__field-wrapper.sc-stzh-toggle{flex-direction:row-reverse}.stzh-toggle--has-label-left.sc-stzh-toggle .stzh-toggle__label.sc-stzh-toggle{margin-right:var(--stzh-space-xsmall)}@media (forced-colors: none){.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-error60)}}@media (forced-colors: none){.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-error60)}}@media (forced-colors: none){.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:var(--stzh-color-black10op)}}@media (forced-colors: none){.stzh-toggle--is-invalid.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{background-color:var(--stzh-color-error60)}}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__field-wrapper.sc-stzh-toggle{cursor:not-allowed}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__label.sc-stzh-toggle{color:var(--stzh-color-grey70)}@media (forced-colors: active){.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__label.sc-stzh-toggle{color:GrayText}}@media (forced-colors: active){.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__mark.sc-stzh-toggle{outline-color:GrayText}}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-old-grey13)}@media (forced-colors: active){.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:GrayText}}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:var(--stzh-color-grey10)}@media (forced-colors: active){.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle{background-color:SelectedItem}}.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:var(--stzh-color-old-grey25);background-color:var(--stzh-color-old-grey25)}@media (forced-colors: active){.stzh-toggle--is-disabled.sc-stzh-toggle .stzh-toggle__input.sc-stzh-toggle:checked~.stzh-toggle__mark.sc-stzh-toggle .stzh-toggle__check.sc-stzh-toggle{border-color:GrayText;background-color:SelectedItem}}`;
|
|
@@ -32,6 +32,18 @@ const StzhToggle = class {
|
|
|
32
32
|
this.labelPosition = "right";
|
|
33
33
|
/** Id for element which describes the input (this will be overwritten if description prop or slot is used) */
|
|
34
34
|
this.a11yDescribedby = "";
|
|
35
|
+
/**
|
|
36
|
+
* Whether the component has meaningful default-slot content.
|
|
37
|
+
* Becomes obsolete with the implementation of PDESI-1908.
|
|
38
|
+
*/
|
|
39
|
+
this.hasDefaultSlot = false;
|
|
40
|
+
/**
|
|
41
|
+
* Indicates whether default-slot content detection has run at least once.
|
|
42
|
+
* Used to avoid rendering state-dependent markup before the slot content
|
|
43
|
+
* has been evaluated.
|
|
44
|
+
* Becomes obsolete with the implementation of PDESI-1908.
|
|
45
|
+
*/
|
|
46
|
+
this.hasResolvedDefaultSlot = false;
|
|
35
47
|
this.focusedByInput = false;
|
|
36
48
|
this.handleReset = async () => {
|
|
37
49
|
this.checked = this.defaultChecked;
|
|
@@ -76,6 +88,19 @@ const StzhToggle = class {
|
|
|
76
88
|
originalEvent: event,
|
|
77
89
|
});
|
|
78
90
|
};
|
|
91
|
+
/**
|
|
92
|
+
* Re-evaluates default-slot content and updates the related render state.
|
|
93
|
+
* Becomes obsolete with implementation of PDESI-1908.
|
|
94
|
+
*/
|
|
95
|
+
this.updateDefaultSlotState = () => {
|
|
96
|
+
const hasDefaultSlot = hasDefaultSlotContent(this.element, ["stzh-toggle"]);
|
|
97
|
+
if (this.hasDefaultSlot !== hasDefaultSlot) {
|
|
98
|
+
this.hasDefaultSlot = hasDefaultSlot;
|
|
99
|
+
}
|
|
100
|
+
if (!this.hasResolvedDefaultSlot) {
|
|
101
|
+
this.hasResolvedDefaultSlot = true;
|
|
102
|
+
}
|
|
103
|
+
};
|
|
79
104
|
}
|
|
80
105
|
resetListener(event) {
|
|
81
106
|
if (event.target.contains(this.element)) {
|
|
@@ -105,6 +130,9 @@ const StzhToggle = class {
|
|
|
105
130
|
this._error = [];
|
|
106
131
|
}
|
|
107
132
|
}
|
|
133
|
+
componentDidLoad() {
|
|
134
|
+
this.updateDefaultSlotState();
|
|
135
|
+
}
|
|
108
136
|
async componentWillLoad() {
|
|
109
137
|
this.inputId = `stzh-toggle-${toggleCounter++}`;
|
|
110
138
|
this.defaultChecked = typeof this.defaultChecked === "boolean" ? this.defaultChecked : this.checked;
|
|
@@ -118,7 +146,8 @@ const StzhToggle = class {
|
|
|
118
146
|
const descriptionUsed = hasSlot(this.element, "description") || !!this.description;
|
|
119
147
|
const descriptionLongUsed = hasSlot(this.element, "description-long") || !!this.descriptionLong;
|
|
120
148
|
const errorUsed = hasSlot(this.element, "error") || ((_a = this._error) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
121
|
-
const labelUsed = !!this.label ||
|
|
149
|
+
const labelUsed = !!this.label || this.hasDefaultSlot;
|
|
150
|
+
const labelWrapperUsed = !this.hasResolvedDefaultSlot || labelUsed || descriptionLongUsed;
|
|
122
151
|
const classes = {
|
|
123
152
|
"stzh-toggle": true,
|
|
124
153
|
"stzh-toggle--has-error": errorUsed,
|
|
@@ -129,11 +158,11 @@ const StzhToggle = class {
|
|
|
129
158
|
"stzh-toggle--has-description-long": descriptionLongUsed,
|
|
130
159
|
[`stzh-toggle--has-label-${this.labelPosition}`]: !!this.labelPosition,
|
|
131
160
|
};
|
|
132
|
-
return (h(Host, { key: '
|
|
161
|
+
return (h(Host, { key: 'd09370bcc5b0fc74b920e7c961ec559c6664a5db', "is-invalid": this.invalid || errorUsed, tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, h("div", { key: '1c2ade57562614976ca6d5255dc28fddd6fbaa29', class: classes }, labelWrapperUsed && (h("label", { key: '63c1b6246465460174cd43e41e776b22278b501b', class: "stzh-toggle__field-wrapper" }, h("input", { key: 'fbb0a7957f6c51feac4fa89a0860b468a70dfad4', class: "stzh-toggle__input", ref: el => (this.input = el), type: "checkbox", 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 }), h("div", { key: '8cf2e9c5a05d2e049141b7663d9cd6a0902959a7', class: "stzh-toggle__mark" }, h("div", { key: '8cc1f7ef724c203cd2ad84360c88a98ca105eb6c', class: "stzh-toggle__check" })), h("div", { key: '0f765e3078b407d190c17208a64ef81e1b580562', class: "stzh-toggle__label" }, h("span", { key: '76c967e71cc27b310834af1f017a59f9b551e9ed', class: "stzh-toggle__label-text" }, this.label ? this.label : h("slot", { onSlotchange: this.updateDefaultSlotState }), labelUsed && !this.hideOptional && (h("span", { key: 'f39f2b1986afb9d72053ee6a125129b7264a10fd', class: "stzh-toggle__marker" }, h("span", { key: '8aab2815bc08b3ad5f1c4db3f1c85f3ac9150981', class: "stzh-toggle__marker-symbol", "aria-hidden": "true" }, this.required
|
|
133
162
|
? this.localization.$globals.requiredFieldMarker
|
|
134
|
-
: this.localization.$globals.optionalFieldMarker), h("span", { key: '
|
|
163
|
+
: this.localization.$globals.optionalFieldMarker), h("span", { key: '6266f4640bfc578cbcdf5561cfca0eda3b35916f', class: "stzh-toggle__marker-text" }, this.required
|
|
135
164
|
? this.localization.$globals.requiredFieldText
|
|
136
|
-
: this.localization.$globals.optionalFieldText)))), descriptionLongUsed && (h(StzhInputDescription, { key: '
|
|
165
|
+
: this.localization.$globals.optionalFieldText)))), descriptionLongUsed && (h(StzhInputDescription, { key: 'fe36e454c45a382a5cec894b28bccda1465a3cf8', classPrefix: "stzh-toggle", id: `${this.inputId}-description-long`, descriptionLong: this.descriptionLong, descriptionLongTitle: this.descriptionLongTitle, descriptionLongUsed: descriptionLongUsed, moreInfoButtonLabel: this.localization.$globals.moreInfoButtonLabel, showError: false, showDescriptionText: false }))))), (errorUsed || descriptionUsed) && (h(StzhInputDescription, { key: '96d61ed45195149288f4b44d3251d8a80029eb4c', classPrefix: "stzh-toggle", id: `${this.inputId}-description`, error: this._error, description: this.description, descriptionLongUsed: false })))));
|
|
137
166
|
}
|
|
138
167
|
get element() { return getElement(this); }
|
|
139
168
|
static get watchers() { return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stzh-toggle.entry.js","sources":["src/components/stzh-toggle/stzh-toggle.scss?tag=stzh-toggle&encapsulation=scoped","src/components/stzh-toggle/stzh-toggle.tsx"],"sourcesContent":[":host {\n --check-size: 24px;\n --track-width: 44px;\n display: inline-block;\n\n &[disabled]:not([disabled=\"false\"]) {\n --description-color: #{$formDisabledColor};\n }\n}\n\n.stzh-toggle {\n @include input-description;\n\n &__field-wrapper {\n @include fontSize(\"milli\");\n position: relative;\n display: flex;\n user-select: none;\n cursor: pointer;\n }\n\n &__input {\n @include visuallyhiddenInput;\n border-radius: $formInputBorderRadius;\n }\n\n &__mark {\n position: relative;\n background-color: $colorBlack10op;\n width: var(--track-width);\n height: 16px;\n flex-shrink: 0;\n border-radius: 12px;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n transition: background-color $baseTransitionAnimationSpeed;\n margin-top: 4px;\n\n @media (forced-colors: active) {\n outline: 2px solid ButtonBorder;\n outline-offset: -2px;\n }\n }\n\n &__check {\n position: absolute;\n border: 2px solid $baseColor;\n width: var(--check-size);\n height: var(--check-size);\n border-radius: 50%;\n background-color: $colorWhite;\n top: 50%;\n left: 0;\n transform: translateY(-50%);\n transition-property: border-color, background-color, transform;\n transition-duration: $baseTransitionAnimationSpeed;\n\n @media (forced-colors: active) {\n transition-property: transform;\n border-color: ButtonBorder;\n }\n\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n }\n }\n\n &__label {\n --stzh-base-color: initial;\n\n display: inline-flex;\n align-items: center;\n gap: space(\"xsmall\");\n color: $baseColor;\n transition: color $baseTransitionAnimationSpeed;\n\n &:empty {\n display: none;\n }\n }\n\n &__label-text {\n min-width: 0;\n }\n\n &__label > &__description-wrapper {\n flex: 0 0 auto;\n display: inline-flex;\n align-items: flex-start;\n margin: 0;\n }\n\n &__label &__error,\n &__label &__description-text {\n display: none;\n }\n\n &__label &__description,\n &__label &__description-long {\n display: inline-flex;\n align-items: flex-start;\n margin: 0;\n }\n\n &__label &__description-long-button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n line-height: 1;\n }\n\n &__label stzh-popover &__description-long-icon {\n --size: var(--stzh-icon-size-small);\n display: block;\n line-height: 0;\n color: $colorPrimary70;\n }\n\n &__marker {\n @include fontSize(\"micro\");\n margin-left: calc(-0.25em + #{space(\"xsmall\")});\n }\n\n /* Hover / Focus / Checked */\n\n &__input:checked ~ &__mark {\n background-color: $colorOldPrimary48;\n\n @media (forced-colors: active) {\n background-color: SelectedItem;\n }\n }\n\n &__input:checked ~ &__mark &__check {\n border-color: $colorPrimary;\n background-color: $colorPrimary;\n transform: translateY(-50%)\n translateX(calc(var(--track-width) - var(--check-size)));\n\n @media (forced-colors: active) {\n border-color: ButtonBorder;\n background-color: SelectedItem;\n }\n }\n\n &:hover &__label,\n &__input:checked:hover ~ &__label {\n color: $colorPrimaryHover;\n }\n\n &__input:checked ~ &__label {\n color: $colorPrimary;\n }\n\n &:hover &__mark &__check,\n &__input:focus:hover ~ &__mark &__check,\n &__input:checked:hover ~ &__mark &__check,\n &__input:checked:focus ~ &__mark &__check {\n border-color: $colorPrimaryHover;\n\n @media (forced-colors: active) {\n border-color: Highlight;\n background-color: Highlight;\n }\n }\n\n &:hover &__mark,\n &__input:focus:hover ~ &__mark,\n &__input:checked:hover ~ &__mark,\n &__input:checked:focus ~ &__mark {\n @media (forced-colors: active) {\n outline-color: Highlight;\n }\n }\n\n &__input:checked:hover ~ &__mark &__check,\n &__input:checked:focus ~ &__mark &__check {\n background-color: $colorPrimaryHover;\n\n @media (forced-colors: active) {\n border-color: Highlight;\n background-color: Highlight;\n }\n }\n\n /* Label right */\n\n &--has-label-right &__label {\n margin-left: space(\"xsmall\");\n }\n\n /* Label left */\n\n &--has-label-left &__field-wrapper {\n flex-direction: row-reverse;\n }\n\n &--has-label-left &__label {\n margin-right: space(\"xsmall\");\n }\n\n /* Invalid */\n\n &--is-invalid &__input ~ &__label {\n @media (forced-colors: none) {\n color: $colorError60;\n }\n }\n\n &--is-invalid &__input ~ &__mark &__check {\n @media (forced-colors: none) {\n border-color: $colorError60;\n }\n }\n\n &--is-invalid &__input:checked ~ &__mark {\n @media (forced-colors: none) {\n background-color: $colorBlack10op;\n }\n }\n\n &--is-invalid &__input:checked ~ &__mark &__check {\n @media (forced-colors: none) {\n background-color: $colorError60;\n }\n }\n\n /* Disabled */\n &--is-disabled &__field-wrapper {\n cursor: not-allowed;\n }\n\n &--is-disabled &__input ~ &__label {\n color: $formDisabledColor;\n\n @media (forced-colors: active) {\n color: GrayText;\n }\n }\n\n &--is-disabled &__input ~ &__mark {\n @media (forced-colors: active) {\n outline-color: GrayText;\n }\n }\n\n &--is-disabled &__input ~ &__mark &__check {\n border-color: $colorOldGrey13;\n\n @media (forced-colors: active) {\n border-color: GrayText;\n }\n }\n\n &--is-disabled &__input:checked ~ &__mark {\n background-color: $formDisabledBackgroundColor;\n\n @media (forced-colors: active) {\n background-color: SelectedItem;\n }\n }\n\n &--is-disabled &__input:checked ~ &__mark &__check {\n border-color: $colorOldGrey25;\n background-color: $colorOldGrey25;\n\n @media (forced-colors: active) {\n border-color: GrayText;\n background-color: SelectedItem;\n }\n }\n}\n","import { Host, Component, Prop, Event, EventEmitter, Element, h, Watch, Listen } from \"@stencil/core\";\n\nimport { StzhToggleChangeEvent, StzhToggleFocusEvent, StzhToggleBlurEvent } from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\nimport { StzhLocaleComponent } from \"../../index\";\n\nimport { StzhInputDescription } from \"../stzh-input/stzh-input-description\";\n\nlet toggleCounter = 0;\n\n/**\n * @slot - Slot for label content\n * @slot description - Slot for description\n * @slot description-long - Slot for long description (in popover)\n * @slot description-long-title - Slot for long description title (in popover) / instead of descriptionLongTitle or description property\n * @slot error - Slot for error\n */\n@Component({\n tag: \"stzh-toggle\",\n styleUrl: \"stzh-toggle.scss\",\n scoped: true,\n})\nexport class StzhToggle {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** Whether the toggle is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Name of the input element */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** Value of the input element */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\n\n /** Checked status */\n @Prop({ mutable: true, reflect: true }) checked: boolean = false;\n\n /** Default checked (used by reset) */\n @Prop({ mutable: true }) defaultChecked: boolean;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Position of label */\n @Prop({ reflect: true }) labelPosition: \"right\" | \"left\" = \"right\";\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /**\n * **Do not use this property. It will be deprecated with the next major release.**\n * Long description title appearing in a popover (use description-long-title slot as or description property alternative) */\n @Prop() descriptionLongTitle: string;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n private _error: string[];\n\n /** Id for element which describes the input (this will be overwritten if description prop or slot is used) */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Change event */\n @Event() stzhChange: EventEmitter<StzhToggleChangeEvent>;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhToggleFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhToggleBlurEvent>;\n\n @Listen(\"reset\", { target: \"document\" })\n resetListener(event: Event) {\n if ((event.target as HTMLElement).contains(this.element)) {\n requestAnimationFrame(() => {\n this.handleReset();\n });\n }\n }\n\n @Watch(\"error\")\n errorWatcher(newValue: string | string[]) {\n if (typeof newValue === \"string\") {\n try {\n this._error = JSON.parse(newValue);\n } catch (e) {\n if (newValue) {\n this._error = [newValue];\n } else {\n this._error = [];\n }\n }\n } else if (newValue) {\n this._error = newValue;\n } else {\n this._error = [];\n }\n }\n\n @Element() element: HTMLStzhRadioElement;\n\n private input: HTMLInputElement;\n private inputId: string;\n private focusedByInput: boolean = false;\n\n private handleReset = async () => {\n this.checked = this.defaultChecked;\n };\n\n private onInput = (event: InputEvent) => {\n this.checked = this.input.checked;\n this.stzhChange.emit({\n component: \"stzh-toggle\",\n originalEvent: event,\n value: this.value,\n checked: this.checked,\n });\n };\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.input.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-toggle\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-toggle\",\n originalEvent: event,\n });\n };\n\n async componentWillLoad() {\n this.inputId = `stzh-toggle-${toggleCounter++}`;\n\n this.defaultChecked = typeof this.defaultChecked === \"boolean\" ? this.defaultChecked : this.checked;\n\n this.errorWatcher(this.error);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"toggle\");\n }\n }\n\n render() {\n const descriptionUsed = hasSlot(this.element, \"description\") || !!this.description;\n const descriptionLongUsed = hasSlot(this.element, \"description-long\") || !!this.descriptionLong;\n const errorUsed = hasSlot(this.element, \"error\") || this._error?.length > 0;\n\n const labelUsed = !!this.label || hasSlot(this.element) || descriptionLongUsed;\n\n const classes = {\n \"stzh-toggle\": true,\n \"stzh-toggle--has-error\": errorUsed,\n \"stzh-toggle--is-required\": this.required,\n \"stzh-toggle--is-invalid\": this.invalid || errorUsed,\n \"stzh-toggle--is-disabled\": this.disabled,\n \"stzh-toggle--has-description\": descriptionUsed,\n \"stzh-toggle--has-description-long\": descriptionLongUsed,\n [`stzh-toggle--has-label-${this.labelPosition}`]: !!this.labelPosition,\n };\n\n return (\n <Host is-invalid={this.invalid || errorUsed} tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n <label class=\"stzh-toggle__field-wrapper\">\n <input\n class=\"stzh-toggle__input\"\n ref={el => (this.input = el as HTMLInputElement)}\n type=\"checkbox\"\n id={this.inputId}\n name={this.name}\n value={this.value}\n disabled={this.disabled}\n aria-describedby={`${this.inputId}-description ${this.a11yDescribedby}`}\n aria-required={this.required ? \"true\" : \"false\"}\n aria-invalid={this.invalid ? \"true\" : \"false\"}\n checked={this.checked}\n defaultChecked={this.defaultChecked}\n onInput={this.onInput}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n />\n <div class=\"stzh-toggle__mark\">\n <div class=\"stzh-toggle__check\"></div>\n </div>\n {labelUsed && (\n <div class=\"stzh-toggle__label\">\n <span class=\"stzh-toggle__label-text\">\n {this.label ? this.label : <slot></slot>}\n\n {!this.hideOptional && (\n <span class=\"stzh-toggle__marker\">\n <span class=\"stzh-toggle__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker}\n </span>\n <span class=\"stzh-toggle__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText}\n </span>\n </span>\n )}\n </span>\n\n {descriptionLongUsed && (\n <StzhInputDescription\n classPrefix=\"stzh-toggle\"\n id={`${this.inputId}-description-long`}\n descriptionLong={this.descriptionLong}\n descriptionLongTitle={this.descriptionLongTitle}\n descriptionLongUsed={descriptionLongUsed}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n showError={false}\n showDescriptionText={false}\n />\n )}\n </div>\n )}\n </label>\n {(errorUsed || descriptionUsed) && (\n <StzhInputDescription\n classPrefix=\"stzh-toggle\"\n id={`${this.inputId}-description`}\n error={this._error}\n description={this.description}\n descriptionLongUsed={false}\n />\n )}\n </div>\n </Host>\n );\n }\n}\n"],"names":[],"mappings":";;;;;AAAA,MAAM,aAAa,GAAG,MAAM,CAAC,63XAA63X,CAAC;;ACS35X,IAAI,aAAa,GAAG,CAAC;MAcR,UAAU,GAAA,MAAA;AALvB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;;;AAU2B,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;;AAGjB,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGlB,QAAA,IAAO,CAAA,OAAA,GAAY,KAAK;;AAGxB,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAY,CAAA,YAAA,GAAY,KAAK;;AAGd,QAAA,IAAO,CAAA,OAAA,GAAY,KAAK;;AAMxD,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGD,QAAA,IAAa,CAAA,aAAA,GAAqB,OAAO;;AAkBzB,QAAA,IAAe,CAAA,eAAA,GAAW,EAAE;AA2C7D,QAAA,IAAc,CAAA,cAAA,GAAY,KAAK;AAE/B,QAAA,IAAW,CAAA,WAAA,GAAG,YAAW;AAC/B,YAAA,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,cAAc;AACpC,SAAC;AAEO,QAAA,IAAA,CAAA,OAAO,GAAG,CAAC,KAAiB,KAAI;YACtC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO;AACjC,YAAA,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;AACnB,gBAAA,SAAS,EAAE,aAAa;AACxB,gBAAA,aAAa,EAAE,KAAK;gBACpB,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,OAAO,EAAE,IAAI,CAAC,OAAO;AACtB,aAAA,CAAC;AACJ,SAAC;AAEO,QAAA,IAAW,CAAA,WAAA,GAAG,MAAK;AAC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E,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC;cAC3B,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,mBAAmB,CAC7C,EACP,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,KAAK,EAAC,0BAA0B,EACnC,EAAA,IAAI,CAAC;AACJ,cAAE,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC;AAC7B,cAAE,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,iBAAiB,CAC3C,CACF,CACR,CACI,EAEN,mBAAmB,KAClB,CAAA,CAAC,oBAAoB,EAAA,EAAA,GAAA,EAAA,0CAAA,EACnB,WAAW,EAAC,aAAa,EACzB,EAAE,EAAE,CAAA,EAAG,IAAI,CAAC,OAAO,CAAA,iBAAA,CAAmB,EACtC,eAAe,EAAE,IAAI,CAAC,eAAe,EACrC,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,EAC/C,mBAAmB,EAAE,mBAAmB,EACxC,mBAAmB,EAAE,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,mBAAmB,EACnE,SAAS,EAAE,KAAK,EAChB,mBAAmB,EAAE,KAAK,EAC1B,CAAA,CACH,CACG,CACP,CACK,EACP,CAAC,SAAS,IAAI,eAAe,MAC5B,EAAC,oBAAoB,EAAA,EAAA,GAAA,EAAA,0CAAA,EACnB,WAAW,EAAC,aAAa,EACzB,EAAE,EAAE,CAAG,EAAA,IAAI,CAAC,OAAO,CAAc,YAAA,CAAA,EACjC,KAAK,EAAE,IAAI,CAAC,MAAM,EAClB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,mBAAmB,EAAE,KAAK,EAAA,CAC1B,CACH,CACG,CACD;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"stzh-toggle.entry.js","sources":["src/components/stzh-toggle/stzh-toggle.scss?tag=stzh-toggle&encapsulation=scoped","src/components/stzh-toggle/stzh-toggle.tsx"],"sourcesContent":[":host {\n --check-size: 24px;\n --track-width: 44px;\n display: inline-block;\n\n &[disabled]:not([disabled=\"false\"]) {\n --description-color: #{$formDisabledColor};\n }\n}\n\n.stzh-toggle {\n @include input-description;\n\n &__field-wrapper {\n @include fontSize(\"milli\");\n position: relative;\n display: flex;\n user-select: none;\n cursor: pointer;\n }\n\n &__input {\n @include visuallyhiddenInput;\n border-radius: $formInputBorderRadius;\n }\n\n &__mark {\n position: relative;\n background-color: $colorBlack10op;\n width: var(--track-width);\n height: 16px;\n flex-shrink: 0;\n border-radius: 12px;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n transition: background-color $baseTransitionAnimationSpeed;\n margin-top: 4px;\n\n @media (forced-colors: active) {\n outline: 2px solid ButtonBorder;\n outline-offset: -2px;\n }\n }\n\n &__check {\n position: absolute;\n border: 2px solid $baseColor;\n width: var(--check-size);\n height: var(--check-size);\n border-radius: 50%;\n background-color: $colorWhite;\n top: 50%;\n left: 0;\n transform: translateY(-50%);\n transition-property: border-color, background-color, transform;\n transition-duration: $baseTransitionAnimationSpeed;\n\n @media (forced-colors: active) {\n transition-property: transform;\n border-color: ButtonBorder;\n }\n\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n }\n }\n\n &__label {\n --stzh-base-color: initial;\n\n display: inline-flex;\n align-items: center;\n gap: space(\"xsmall\");\n color: $baseColor;\n transition: color $baseTransitionAnimationSpeed;\n\n &:empty {\n display: none;\n }\n }\n\n &__label-text {\n min-width: 0;\n }\n\n &__label > &__description-wrapper {\n flex: 0 0 auto;\n display: inline-flex;\n align-items: flex-start;\n margin: 0;\n }\n\n &__label &__error,\n &__label &__description-text {\n display: none;\n }\n\n &__label &__description,\n &__label &__description-long {\n display: inline-flex;\n align-items: flex-start;\n margin: 0;\n }\n\n &__label &__description-long-button {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n line-height: 1;\n }\n\n &__label stzh-popover &__description-long-icon {\n --size: var(--stzh-icon-size-small);\n display: block;\n line-height: 0;\n color: $colorPrimary70;\n }\n\n &__marker {\n @include fontSize(\"micro\");\n margin-left: calc(-0.25em + #{space(\"xsmall\")});\n }\n\n /* Hover / Focus / Checked */\n\n &__input:checked ~ &__mark {\n background-color: $colorOldPrimary48;\n\n @media (forced-colors: active) {\n background-color: SelectedItem;\n }\n }\n\n &__input:checked ~ &__mark &__check {\n border-color: $colorPrimary;\n background-color: $colorPrimary;\n transform: translateY(-50%)\n translateX(calc(var(--track-width) - var(--check-size)));\n\n @media (forced-colors: active) {\n border-color: ButtonBorder;\n background-color: SelectedItem;\n }\n }\n\n &:hover &__label,\n &__input:checked:hover ~ &__label {\n color: $colorPrimaryHover;\n }\n\n &__input:checked ~ &__label {\n color: $colorPrimary;\n }\n\n &:hover &__mark &__check,\n &__input:focus:hover ~ &__mark &__check,\n &__input:checked:hover ~ &__mark &__check,\n &__input:checked:focus ~ &__mark &__check {\n border-color: $colorPrimaryHover;\n\n @media (forced-colors: active) {\n border-color: Highlight;\n background-color: Highlight;\n }\n }\n\n &:hover &__mark,\n &__input:focus:hover ~ &__mark,\n &__input:checked:hover ~ &__mark,\n &__input:checked:focus ~ &__mark {\n @media (forced-colors: active) {\n outline-color: Highlight;\n }\n }\n\n &__input:checked:hover ~ &__mark &__check,\n &__input:checked:focus ~ &__mark &__check {\n background-color: $colorPrimaryHover;\n\n @media (forced-colors: active) {\n border-color: Highlight;\n background-color: Highlight;\n }\n }\n\n /* Label right */\n\n &--has-label-right &__label {\n margin-left: space(\"xsmall\");\n }\n\n /* Label left */\n\n &--has-label-left &__field-wrapper {\n flex-direction: row-reverse;\n }\n\n &--has-label-left &__label {\n margin-right: space(\"xsmall\");\n }\n\n /* Invalid */\n\n &--is-invalid &__input ~ &__label {\n @media (forced-colors: none) {\n color: $colorError60;\n }\n }\n\n &--is-invalid &__input ~ &__mark &__check {\n @media (forced-colors: none) {\n border-color: $colorError60;\n }\n }\n\n &--is-invalid &__input:checked ~ &__mark {\n @media (forced-colors: none) {\n background-color: $colorBlack10op;\n }\n }\n\n &--is-invalid &__input:checked ~ &__mark &__check {\n @media (forced-colors: none) {\n background-color: $colorError60;\n }\n }\n\n /* Disabled */\n &--is-disabled &__field-wrapper {\n cursor: not-allowed;\n }\n\n &--is-disabled &__input ~ &__label {\n color: $formDisabledColor;\n\n @media (forced-colors: active) {\n color: GrayText;\n }\n }\n\n &--is-disabled &__input ~ &__mark {\n @media (forced-colors: active) {\n outline-color: GrayText;\n }\n }\n\n &--is-disabled &__input ~ &__mark &__check {\n border-color: $colorOldGrey13;\n\n @media (forced-colors: active) {\n border-color: GrayText;\n }\n }\n\n &--is-disabled &__input:checked ~ &__mark {\n background-color: $formDisabledBackgroundColor;\n\n @media (forced-colors: active) {\n background-color: SelectedItem;\n }\n }\n\n &--is-disabled &__input:checked ~ &__mark &__check {\n border-color: $colorOldGrey25;\n background-color: $colorOldGrey25;\n\n @media (forced-colors: active) {\n border-color: GrayText;\n background-color: SelectedItem;\n }\n }\n}\n","import { Host, Component, Prop, Event, EventEmitter, Element, h, Watch, Listen, State } from \"@stencil/core\";\n\nimport { StzhToggleChangeEvent, StzhToggleFocusEvent, StzhToggleBlurEvent } from \"../../index\";\n\nimport { hasDefaultSlotContent, hasSlot } from \"../../utils/utils\";\nimport { StzhLocaleComponent } from \"../../index\";\n\nimport { StzhInputDescription } from \"../stzh-input/stzh-input-description\";\n\nlet toggleCounter = 0;\n\n/**\n * @slot - Slot for label content\n * @slot description - Slot for description\n * @slot description-long - Slot for long description (in popover)\n * @slot description-long-title - Slot for long description title (in popover) / instead of descriptionLongTitle or description property\n * @slot error - Slot for error\n */\n@Component({\n tag: \"stzh-toggle\",\n styleUrl: \"stzh-toggle.scss\",\n scoped: true,\n})\nexport class StzhToggle {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** Whether the toggle is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Name of the input element */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** Value of the input element */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\n\n /** Checked status */\n @Prop({ mutable: true, reflect: true }) checked: boolean = false;\n\n /** Default checked (used by reset) */\n @Prop({ mutable: true }) defaultChecked: boolean;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Position of label */\n @Prop({ reflect: true }) labelPosition: \"right\" | \"left\" = \"right\";\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /**\n * **Do not use this property. It will be deprecated with the next major release.**\n * Long description title appearing in a popover (use description-long-title slot as or description property alternative) */\n @Prop() descriptionLongTitle: string;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n private _error: string[];\n\n /** Id for element which describes the input (this will be overwritten if description prop or slot is used) */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Change event */\n @Event() stzhChange: EventEmitter<StzhToggleChangeEvent>;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhToggleFocusEvent>;\n\n /** Input blur event */\n @Event() stzhBlur: EventEmitter<StzhToggleBlurEvent>;\n\n @Listen(\"reset\", { target: \"document\" })\n resetListener(event: Event) {\n if ((event.target as HTMLElement).contains(this.element)) {\n requestAnimationFrame(() => {\n this.handleReset();\n });\n }\n }\n\n @Watch(\"error\")\n errorWatcher(newValue: string | string[]) {\n if (typeof newValue === \"string\") {\n try {\n this._error = JSON.parse(newValue);\n } catch (e) {\n if (newValue) {\n this._error = [newValue];\n } else {\n this._error = [];\n }\n }\n } else if (newValue) {\n this._error = newValue;\n } else {\n this._error = [];\n }\n }\n\n /**\n * Whether the component has meaningful default-slot content.\n * Becomes obsolete with the implementation of PDESI-1908.\n */\n @State() hasDefaultSlot: boolean = false;\n\n /**\n * Indicates whether default-slot content detection has run at least once.\n * Used to avoid rendering state-dependent markup before the slot content\n * has been evaluated.\n * Becomes obsolete with the implementation of PDESI-1908.\n */\n @State() hasResolvedDefaultSlot: boolean = false;\n\n @Element() element: HTMLStzhRadioElement;\n\n private input: HTMLInputElement;\n private inputId: string;\n private focusedByInput: boolean = false;\n\n private handleReset = async () => {\n this.checked = this.defaultChecked;\n };\n\n private onInput = (event: InputEvent) => {\n this.checked = this.input.checked;\n this.stzhChange.emit({\n component: \"stzh-toggle\",\n originalEvent: event,\n value: this.value,\n checked: this.checked,\n });\n };\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.input.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-toggle\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-toggle\",\n originalEvent: event,\n });\n };\n\n /**\n * Re-evaluates default-slot content and updates the related render state.\n * Becomes obsolete with implementation of PDESI-1908.\n */\n private updateDefaultSlotState = () => {\n const hasDefaultSlot = hasDefaultSlotContent(this.element, [\"stzh-toggle\"]);\n if (this.hasDefaultSlot !== hasDefaultSlot) {\n this.hasDefaultSlot = hasDefaultSlot;\n }\n if (!this.hasResolvedDefaultSlot) {\n this.hasResolvedDefaultSlot = true;\n }\n };\n\n componentDidLoad() {\n this.updateDefaultSlotState();\n }\n\n async componentWillLoad() {\n this.inputId = `stzh-toggle-${toggleCounter++}`;\n\n this.defaultChecked = typeof this.defaultChecked === \"boolean\" ? this.defaultChecked : this.checked;\n\n this.errorWatcher(this.error);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"toggle\");\n }\n }\n\n render() {\n const descriptionUsed = hasSlot(this.element, \"description\") || !!this.description;\n const descriptionLongUsed = hasSlot(this.element, \"description-long\") || !!this.descriptionLong;\n const errorUsed = hasSlot(this.element, \"error\") || this._error?.length > 0;\n\n const labelUsed = !!this.label || this.hasDefaultSlot;\n const labelWrapperUsed = !this.hasResolvedDefaultSlot || labelUsed || descriptionLongUsed;\n\n const classes = {\n \"stzh-toggle\": true,\n \"stzh-toggle--has-error\": errorUsed,\n \"stzh-toggle--is-required\": this.required,\n \"stzh-toggle--is-invalid\": this.invalid || errorUsed,\n \"stzh-toggle--is-disabled\": this.disabled,\n \"stzh-toggle--has-description\": descriptionUsed,\n \"stzh-toggle--has-description-long\": descriptionLongUsed,\n [`stzh-toggle--has-label-${this.labelPosition}`]: !!this.labelPosition,\n };\n\n return (\n <Host is-invalid={this.invalid || errorUsed} tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes}>\n {labelWrapperUsed && (\n <label class=\"stzh-toggle__field-wrapper\">\n <input\n class=\"stzh-toggle__input\"\n ref={el => (this.input = el as HTMLInputElement)}\n type=\"checkbox\"\n id={this.inputId}\n name={this.name}\n value={this.value}\n disabled={this.disabled}\n aria-describedby={`${this.inputId}-description ${this.a11yDescribedby}`}\n aria-required={this.required ? \"true\" : \"false\"}\n aria-invalid={this.invalid ? \"true\" : \"false\"}\n checked={this.checked}\n defaultChecked={this.defaultChecked}\n onInput={this.onInput}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n />\n <div class=\"stzh-toggle__mark\">\n <div class=\"stzh-toggle__check\"></div>\n </div>\n\n <div class=\"stzh-toggle__label\">\n <span class=\"stzh-toggle__label-text\">\n {this.label ? this.label : <slot onSlotchange={this.updateDefaultSlotState}></slot>}\n\n {labelUsed && !this.hideOptional && (\n <span class=\"stzh-toggle__marker\">\n <span class=\"stzh-toggle__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker}\n </span>\n <span class=\"stzh-toggle__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText}\n </span>\n </span>\n )}\n </span>\n\n {descriptionLongUsed && (\n <StzhInputDescription\n classPrefix=\"stzh-toggle\"\n id={`${this.inputId}-description-long`}\n descriptionLong={this.descriptionLong}\n descriptionLongTitle={this.descriptionLongTitle}\n descriptionLongUsed={descriptionLongUsed}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n showError={false}\n showDescriptionText={false}\n />\n )}\n </div>\n </label>\n )}\n {(errorUsed || descriptionUsed) && (\n <StzhInputDescription\n classPrefix=\"stzh-toggle\"\n id={`${this.inputId}-description`}\n error={this._error}\n description={this.description}\n descriptionLongUsed={false}\n />\n )}\n </div>\n </Host>\n );\n }\n}\n"],"names":[],"mappings":";;;;;AAAA,MAAM,aAAa,GAAG,MAAM,CAAC,63XAA63X,CAAC;;ACS35X,IAAI,aAAa,GAAG,CAAC;MAcR,UAAU,GAAA,MAAA;AALvB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;;;AAU2B,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;;AAGjB,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGlB,QAAA,IAAO,CAAA,OAAA,GAAY,KAAK;;AAGxB,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAY,CAAA,YAAA,GAAY,KAAK;;AAGd,QAAA,IAAO,CAAA,OAAA,GAAY,KAAK;;AAMxD,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGD,QAAA,IAAa,CAAA,aAAA,GAAqB,OAAO;;AAkBzB,QAAA,IAAe,CAAA,eAAA,GAAW,EAAE;AAuCrE;;;AAGG;AACM,QAAA,IAAc,CAAA,cAAA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AAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,KAAK,EAAC,0BAA0B,EACnC,EAAA,IAAI,CAAC;AACJ,cAAE,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC;AAC7B,cAAE,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,iBAAiB,CAC3C,CACF,CACR,CACI,EAEN,mBAAmB,KAClB,CAAA,CAAC,oBAAoB,EAAA,EAAA,GAAA,EAAA,0CAAA,EACnB,WAAW,EAAC,aAAa,EACzB,EAAE,EAAE,CAAA,EAAG,IAAI,CAAC,OAAO,CAAA,iBAAA,CAAmB,EACtC,eAAe,EAAE,IAAI,CAAC,eAAe,EACrC,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,EAC/C,mBAAmB,EAAE,mBAAmB,EACxC,mBAAmB,EAAE,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,mBAAmB,EACnE,SAAS,EAAE,KAAK,EAChB,mBAAmB,EAAE,KAAK,EAC1B,CAAA,CACH,CACG,CACA,CACT,EACA,CAAC,SAAS,IAAI,eAAe,MAC5B,EAAC,oBAAoB,EAAA,EAAA,GAAA,EAAA,0CAAA,EACnB,WAAW,EAAC,aAAa,EACzB,EAAE,EAAE,CAAG,EAAA,IAAI,CAAC,OAAO,CAAc,YAAA,CAAA,EACjC,KAAK,EAAE,IAAI,CAAC,MAAM,EAClB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,mBAAmB,EAAE,KAAK,EAAA,CAC1B,CACH,CACG,CACD;;;;;;;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, a as Host, d as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, a as Host, d as getElement } from './index-Cd_ra_Ay.js';
|
|
2
2
|
import { c as computePosition, a as autoUpdate, A as Arrow, o as offset, f as flip, s as shift, b as arrow } from './arrow-DzjuI2eY.js';
|
|
3
3
|
import { c as createFocusTrap } from './focus-trap.esm-CBUfcdIy.js';
|
|
4
|
-
import { i as isStzhElement } from './utils-
|
|
4
|
+
import { i as isStzhElement } from './utils-CnvjJ2wY.js';
|
|
5
5
|
import { w as waitForEvent } from './event-utils--SdF31O7.js';
|
|
6
6
|
import { s as stopAnimations, a as animateTo } from './animation-utils-BOO84wnP.js';
|
|
7
7
|
import './string-utils-BubviQku.js';
|
|
@@ -348,7 +348,7 @@ const StzhTooltip = class {
|
|
|
348
348
|
[`stzh-tooltip--open`]: this.open,
|
|
349
349
|
[`stzh-tooltip--placement-${this.computedPlacement}`]: !!this.computedPlacement,
|
|
350
350
|
};
|
|
351
|
-
return (h(Host, { key: '
|
|
351
|
+
return (h(Host, { key: '87b3ff5681cba66f247a4b9796ba48a60223c8c0' }, h("div", { key: 'b8fcb9989e3755f8353dc30041c7389677ad2225', class: classes }, h("div", { key: '0260e279e17a025c41f79ffc259d2fbe7de1ebe5', class: "stzh-tooltip__trigger", ref: el => (this.triggerElement = el) }, h("slot", { key: '00233d11fa1eed44272ec776346149de8f27c4c3' })), this.hasTrigger("click") && (h("div", { key: '429618291c4e8b8c66febbd2c3db71597ba31b66', class: "stzh-tooltip__vhidden", id: `${this.id}-trigger-description` }, this.localization.open)), h("div", { key: '56d2565d045be1a7e3ad07eb2b1952c219d091e2', class: "stzh-tooltip__content", id: `${this.id}-content`, ref: el => (this.contentElement = el), tabindex: "-1", "aria-labelledby": this.label ? `${this.id}-label` : null, "aria-hidden": this.open ? "false" : "true", onKeyDown: this.onEscKey, onMouseEnter: this.onMouseEnterTrigger, onMouseLeave: this.onMouseLeaveTrigger, onFocusin: this.onFocusTrigger, onFocusout: this.onBlurTrigger }, h("div", { key: '75ac7b7bd0a0f0b6f3f2a2fd0bc0040cb60ec7ff', class: "stzh-tooltip__arrow", ref: el => (this.arrowElement = el), innerHTML: Arrow }), this.label && (h("h2", { key: 'b05fd5efaf3ecbf8e24e1979d98b2300ec2513fb', id: `${this.id}-label`, class: "stzh-tooltip__vhidden" }, this.label)), this.hasTrigger("click") && (h("button", { key: '5f02d98c98214aebd9a31432ba6c0642e629dfe8', class: "stzh-tooltip__close", onClick: () => this.hide(), type: "button" }, h("stzh-icon", { key: 'd14def3d3ab12425b1f79e811ade0aac375a3e75', name: "close", class: "stzh-tooltip__icon" }), h("span", { key: '76dcdb1cc8619130bb27ebbdbf920f28ead54207', class: "stzh-tooltip__vhidden" }, this.localization.close))), h("stzh-text", Object.assign({ key: '461c81d1322994587db85962ba41b280b796fa5d', curve: this.type === "overlay" ? "none" : "caption" }, (this.type === "button" ? { font: "heavy" } : {}), { class: "stzh-tooltip__content-slot" }), this.content ? this.content : h("slot", { name: "content" }))))));
|
|
352
352
|
}
|
|
353
353
|
get element() { return getElement(this); }
|
|
354
354
|
static get watchers() { return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, f as forceUpdate, a as Host, d as getElement } from './index-
|
|
2
|
-
import { s as setPropsIfNull, h as hasSlot } from './utils-
|
|
1
|
+
import { r as registerInstance, h, f as forceUpdate, a as Host, d as getElement } from './index-Cd_ra_Ay.js';
|
|
2
|
+
import { s as setPropsIfNull, h as hasSlot } from './utils-CnvjJ2wY.js';
|
|
3
3
|
import './string-utils-BubviQku.js';
|
|
4
4
|
|
|
5
5
|
const stzhTwocolumnsCss = () => `: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}:host{--row-gap:var(--stzh-space-medium)}@media screen and (min-width: 600px){:host{--row-gap:var(--stzh-space-large)}}@media screen and (min-width: 900px){:host{--row-gap:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){:host{--row-gap:var(--stzh-space-xxlarge)}}:host{--grid-template-areas:var(
|
|
@@ -53,7 +53,7 @@ const StzhTwocolumns = class {
|
|
|
53
53
|
"stzh-twocolumns--has-left": leftSlotUsed,
|
|
54
54
|
"stzh-twocolumns--has-right": rightSlotUsed,
|
|
55
55
|
};
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: '14d43657c9511411dee757628d1f705fdee2c049' }, h("div", { key: 'b20c2864082e8bf26a94ceceb5eb8c69d467b840', class: classes }, h("div", { key: '13f863b4e309db7e411d09027bb1c31d0adbf5bb', class: "stzh-twocolumns__left" }, h("slot", { key: '1959a39f845dc0c66cbf84b0f93b1e993142b780', name: "left", onSlotchange: () => forceUpdate(this.element) })), h("div", { key: '743b23351efb995d040467716ac9c7e243845b75', class: "stzh-twocolumns__right" }, h("slot", { key: '9a7b7d49343990d0cebb6ff9d00012106adf69e6', name: "right", onSlotchange: () => forceUpdate(this.element) })))));
|
|
57
57
|
}
|
|
58
58
|
get element() { return getElement(this); }
|
|
59
59
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, a as Host, d as getElement } from './index-
|
|
2
|
-
import { h as hasSlot,
|
|
3
|
-
import { S as StzhInputDescription } from './stzh-input-description-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, a as Host, d as getElement } from './index-Cd_ra_Ay.js';
|
|
2
|
+
import { a as hasDefaultSlotContent, h as hasSlot, c as getStzhEnvironment, i as isStzhElement } from './utils-CnvjJ2wY.js';
|
|
3
|
+
import { S as StzhInputDescription } from './stzh-input-description-BLx_RZxZ.js';
|
|
4
4
|
import { g as getDefaultExportFromCjs } from './_commonjsHelpers-E-ZsRS8r.js';
|
|
5
5
|
import './string-utils-BubviQku.js';
|
|
6
6
|
|
|
@@ -13674,6 +13674,18 @@ const StzhUpload = class {
|
|
|
13674
13674
|
this.totalFilesState = [];
|
|
13675
13675
|
this.duplicateFileName = "";
|
|
13676
13676
|
this.duplicateFileSize = "";
|
|
13677
|
+
/**
|
|
13678
|
+
* Whether the component has meaningful default-slot content.
|
|
13679
|
+
* Becomes obsolete with the implementation of PDESI-1908.
|
|
13680
|
+
*/
|
|
13681
|
+
this.hasDefaultSlot = false;
|
|
13682
|
+
/**
|
|
13683
|
+
* Indicates whether default-slot content detection has run at least once.
|
|
13684
|
+
* Used to avoid rendering state-dependent markup before the slot content
|
|
13685
|
+
* has been evaluated.
|
|
13686
|
+
* Becomes obsolete with the implementation of PDESI-1908.
|
|
13687
|
+
*/
|
|
13688
|
+
this.hasResolvedDefaultSlot = false;
|
|
13677
13689
|
this.PHOTOGRAPHING_BASE_URL = "/appl/mobiscan/rs";
|
|
13678
13690
|
this.PHOTOGRAPHING_ENDPOINTS = {
|
|
13679
13691
|
PING: "/ping",
|
|
@@ -13727,6 +13739,19 @@ const StzhUpload = class {
|
|
|
13727
13739
|
this.filePreviewId = function (file) {
|
|
13728
13740
|
return `${this.uploadId}-${file._id}`;
|
|
13729
13741
|
};
|
|
13742
|
+
/**
|
|
13743
|
+
* Re-evaluates default-slot content and updates the related render state.
|
|
13744
|
+
* Becomes obsolete with implementation of PDESI-1908.
|
|
13745
|
+
*/
|
|
13746
|
+
this.updateDefaultSlotState = () => {
|
|
13747
|
+
const hasDefaultSlot = hasDefaultSlotContent(this.uploadEl, ["stzh-upload"]);
|
|
13748
|
+
if (this.hasDefaultSlot !== hasDefaultSlot) {
|
|
13749
|
+
this.hasDefaultSlot = hasDefaultSlot;
|
|
13750
|
+
}
|
|
13751
|
+
if (!this.hasResolvedDefaultSlot) {
|
|
13752
|
+
this.hasResolvedDefaultSlot = true;
|
|
13753
|
+
}
|
|
13754
|
+
};
|
|
13730
13755
|
}
|
|
13731
13756
|
resetListener(event) {
|
|
13732
13757
|
if (event.target.contains(this.uploadEl)) {
|
|
@@ -14052,6 +14077,9 @@ const StzhUpload = class {
|
|
|
14052
14077
|
});
|
|
14053
14078
|
}
|
|
14054
14079
|
}
|
|
14080
|
+
componentDidLoad() {
|
|
14081
|
+
this.updateDefaultSlotState();
|
|
14082
|
+
}
|
|
14055
14083
|
componentDidRender() {
|
|
14056
14084
|
var _a;
|
|
14057
14085
|
if (this.dropzone) {
|
|
@@ -14626,7 +14654,8 @@ const StzhUpload = class {
|
|
|
14626
14654
|
const errorUsed = hasSlot(this.uploadEl, "error") || ((_a = this._error) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
14627
14655
|
const descriptionUsed = !!this.description;
|
|
14628
14656
|
const descriptionLongUsed = !!this.descriptionLong || hasSlot(this.uploadEl, "description-long");
|
|
14629
|
-
const
|
|
14657
|
+
const labelUsed = !!this.label || this.hasDefaultSlot;
|
|
14658
|
+
const labelWrapperUsed = !this.hasResolvedDefaultSlot || labelUsed || descriptionLongUsed;
|
|
14630
14659
|
const classes = {
|
|
14631
14660
|
"stzh-upload": true,
|
|
14632
14661
|
"stzh-upload--is-invalid": this.invalid || errorUsed,
|
|
@@ -14664,14 +14693,14 @@ const StzhUpload = class {
|
|
|
14664
14693
|
if (!filesizeText) {
|
|
14665
14694
|
instructionText = instructionText.replace(/\s*\(\s*\)\s*/, "");
|
|
14666
14695
|
}
|
|
14667
|
-
return (h(Host, { key: '
|
|
14696
|
+
return (h(Host, { key: '1afee2b3d1316a36eb75803724423c523b3f6fa7', tabindex: this.disabled ? null : "-1", "is-invalid": this.invalid || errorUsed, "aria-required": this.required ? "true" : "false", "aria-invalid": this.invalid || errorUsed ? "true" : "false", "aria-describedby": this.invalid || errorUsed ? this.error : undefined, role: "group", "aria-labelledby": labelWrapperUsed && (this.label || hasSlot(this.uploadEl)) ? `${this.uploadId}-label` : undefined }, h("stzh-toastbar", { key: 'a3f8871947a0fe1c4c5470d442034d2f09d27a6e' }), h("div", { key: 'c7e597a30084ed37b8eeab1eded31c31fea6c738', class: classes, ref: el => (this.dropzoneElement = el) }, h("div", { key: '029b0357daa4abcf2a9ea0b3a0bb63f075550612', ref: el => (this.hiddenInputContainerElement = el) }), labelWrapperUsed && (h("div", { key: '0d6f8e0731936839341ee4dc704f6801d811074b', class: "stzh-upload__label-wrapper" }, h("label", { key: 'fc7c2092fe42df6e06fc6cc99b9766ec37b54a2e', id: `${this.uploadId}-label`, class: {
|
|
14668
14697
|
"stzh-upload__label": true,
|
|
14669
14698
|
"no-label-truncate": this.noLabelTruncate,
|
|
14670
|
-
} }, this.label ? this.label : h("slot",
|
|
14699
|
+
} }, this.label ? this.label : h("slot", { onSlotchange: this.updateDefaultSlotState }), labelUsed && !this.hideOptional && (h("span", { key: '3535faf8633cf520e90a692a2e90722a2d53f477', class: "stzh-upload__marker" }, h("span", { key: '45c458e6348ec2dc7084da4bf8c440a05b00a1d4', class: "stzh-upload__marker-symbol", "aria-hidden": "true" }, this.required
|
|
14671
14700
|
? this.localization.$globals.requiredFieldMarker
|
|
14672
|
-
: this.localization.$globals.optionalFieldMarker), h("span", { key: '
|
|
14701
|
+
: this.localization.$globals.optionalFieldMarker), h("span", { key: '0d107480108d6e741decf54d48ab66964c39cea4', class: "stzh-upload__marker-text" }, this.required
|
|
14673
14702
|
? this.localization.$globals.requiredFieldText
|
|
14674
|
-
: this.localization.$globals.optionalFieldText)))), (this.descriptionLong || hasSlot(this.uploadEl, "description-long")) && (h(StzhInputDescription, { key: '
|
|
14703
|
+
: this.localization.$globals.optionalFieldText)))), (this.descriptionLong || hasSlot(this.uploadEl, "description-long")) && (h(StzhInputDescription, { key: 'f2e2acbdc24993024797b9f930d3f73583f0f150', classPrefix: "stzh-upload", id: `${this.uploadId}-description-long`, descriptionLong: this.descriptionLong, descriptionLongUsed: true, moreInfoButtonLabel: this.localization.$globals.moreInfoButtonLabel, showError: false, showDescriptionText: false })))), h("div", { key: '5631b7d40b17931dbe0e2ded57767907efc7beff', class: "stzh-upload__clickarea", ref: el => (this.clickareaElement = el) }, h("div", { key: 'e636eb4da691ca668d4e814c3cd031201e6b21e3', class: "stzh-upload__heading-wrapper" }, h("div", { key: 'c2f611456c08a0a995fda1c0891ea5a6bf4af6eb', class: "stzh-upload__heading-inner-wrapper" }, h("div", { key: 'bf4820e4d2f20f41021a2d60625e8204f8ba79d5', class: "stzh-upload__buttons-wrapper" }, h("stzh-button", { key: 'e1501359b5712d41ef279d29e5dda6f5a4c2ae9d', id: `${this.uploadId}-button`, class: "stzh-upload__button", variant: "secondary", size: "tiny", ref: el => (this.chooseFileButtonEl = el), label: this.button ? this.button : this.localization.button, a11yDescribedby: this.a11yDescribedby, a11yControls: `${this.uploadId}-previews`, "aria-invalid": this.invalid || errorUsed ? "true" : "false", disabled: this.disabled }, h("stzh-icon", { key: 'a765dfb24ecf0db37e969e74ef4e492fbed390ae', slot: "icon", name: "upload" })), this.isPhotographingAvailable && (h("stzh-button", { key: 'cbbaa377c07f02a06d82ce309545b5bd861267e2', onClick: this.onButtonScanClick, class: "stzh-upload__button-scan", variant: "secondary", size: "tiny", label: this.buttonScan ? this.buttonScan : this.localization.buttonScan, a11yDescribedby: this.a11yDescribedby, "aria-invalid": this.invalid || errorUsed ? "true" : "false", disabled: this.disabled }, h("stzh-icon", { key: 'bfc85ecf57f9b475ae6db2a31fa5aac5f6957040', slot: "icon", name: "camera" })))))), h("div", { key: '35afff863dd72ffa1c97678a3901e0bfa581545a', class: "stzh-upload__instructions", id: `${this.uploadId}-instruction` }, h("p", { key: 'a82f7de8b8e029aed5291fbb8f57a9174ed9c5c0' }, instructionText))), (this.description || errorUsed) && (h(StzhInputDescription, { key: '2a59a2aced16877551424191aa2bff3365cfe15e', classPrefix: "stzh-upload", id: `${this.uploadId}-description`, error: this._error, description: this.description, descriptionLongUsed: false })), h("div", { key: 'e6a9fa513f01fa07eb8997dafda8d8c1b38f569e', id: `${this.uploadId}-previews`, class: "stzh-upload__previews-wrapper" }, h("div", { key: '4bc89ff5fd68912ae8698079032a7ca625729c08', class: "stzh-upload__previews-inner-wrapper" }, h("div", { key: 'e40902663828f56736707a15347ee3e897cd8984', class: "stzh-upload__errors", ref: el => (this.errorsElement = el) }), h("div", { key: 'b28047732c8ac8fe2a317ac7018808da35aa445b', class: "stzh-upload__previews dropzone-previews", ref: el => (this.previewsElement = el) })))), this.duplicateDetected && (h("div", { key: '210dab81a1b69168a22c178227444aa3657a9b41', class: "stzh-upload__previews-message-wrapper" }, h("stzh-message", { key: 'e94f091622737aa8079ad46099067895afceb7a1', type: "error", label: this.localization.duplicateFileUploadHeading, onStzhClose: () => (this.duplicateDetected = false) }, h("stzh-text", { key: '8e049f3bdb31d75c4a50aa9696393351d4296e49' }, h("p", { key: '6d46520e2d6d329f29d9b83751b9b1253dbf7c31' }, "\u00AB", this.duplicateFileName, "\u00BB (", this.duplicateFileSize, ")"), h("p", { key: '95ec7c341380320c247f1ac5a46413146b74d82b' }, this.localization.duplicateFileUploadParagraph))))), this.totalTooBig && (h("div", { key: 'f3728d7a353af03c4a679bf62a181bbb769929f3', class: "stzh-upload__previews-message-wrapper" }, h("stzh-message", { key: 'cc754c3acfab23220e10152372843641961001cd', type: "warning", label: this.totalTooBigMessageHeading, onStzhClose: () => (this.totalTooBig = false) }, h("stzh-text", { key: '62efb41bcd7bc237e3f47b1c1cebf765d63b2922' }, h("p", { key: '79ff2e7debaf1088c6e32c79c979d97c6462c52d' }, this.totalTooBigMessageBody, " ", this.totalTooBigMessageBody2))))), h("stzh-dialog", { key: '3832ceba493fbdb6a6dfe1b4aa7a634a45ab3985', ref: el => (this.photographingOverlayElement = el), onStzhClose: this.closePhotographingWebsocketConnection, class: this.isPhotographingAvailable && "stzh-dialog--fit-content", heading: this.localization.photographingTitle1 }, h("stzh-button", { key: '1fdf4accf649afdfd7479e7816e1ed80d0c13996', class: "stzh-upload-photographing__back-button", icon: "arrow-left", size: "tiny", variant: "tertiary-plain", "no-padding-left": "true", "no-padding-right": "true", onClick: this.closePhotographingOverlay }, this.localization.back), this.isPhotographingAvailable && (h(Fragment, { key: 'b4d5f8aff34faa71e1c41b6a1f74bafa395f2e80' }, h("div", { key: '9199e5c5d0cbfb61ae73e6b7417d6b2bd3d033eb', class: "stzh-upload-photographing__info" }, h("div", { key: 'a8a99499c28a51edeaf5851c1f967a139a5fc483', class: "stzh-upload-photographing__text-qrcode" }, h("div", { key: '902b89f5dded00c9de7a17c57d4114cc0174a1b0', class: "stzh-upload-photographing-qrlink-container" }, h("stzh-text", { key: 'a0a66c8210b052d5309c10276e1fa00308e897dd' }, this.localization.photographingText1)), h("div", { key: '5be1ab0b8ea3fe0b4dc4bbeceba1b94c4a061b60', class: "stzh-upload-photographing-qrcode-container" }, h("canvas", { key: '3a34faa2635af5be9fd0e2075f0034bc5f4674a5', class: "stzh-upload-photographing-qrcode", ref: el => (this.photographingQrcodeElement = el) })))), h("div", { key: 'dfeae24b511640318cb92f6010a6b5a94569b2e4', class: "stzh-upload-photographing__info" }, h("stzh-heading", { key: 'c54b8f7c07bbf1950fb63df4ccb14d8cebacce59', level: "3" }, this.localization.photographingTitle2), h("stzh-text", { key: 'd4ce18d05e411ce7b086d7c9d64f781f27810bc2' }, this.localization.photographingText2)), h("div", { key: '46f38e62fe7c3e55f341cce561851902a763ce3d', class: "stzh-upload-photographing__continue" }, !!this.photographingUrlDetails && (h("stzh-link", { key: '903865a3b1e54fda5d9ea9ea52d74eb362178cc1', class: "stzh-upload-photographing-link", href: this.photographingUrlDetails.url + "&label=" + this.cleanLabel(this.label), target: "_blank" }, this.localization.photographingContinue))))))));
|
|
14675
14704
|
}
|
|
14676
14705
|
get uploadEl() { return getElement(this); }
|
|
14677
14706
|
static get watchers() { return {
|