@oiz/stzh-components 2.4.0 → 2.5.0-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/app-globals-0c3558c0.js +889 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/overlay-utils-00d640c8.js +19 -0
- package/dist/cjs/stzh-accordion-item.cjs.entry.js +36 -2
- package/dist/cjs/stzh-accordion.cjs.entry.js +1 -1
- package/dist/cjs/stzh-actions.cjs.entry.js +4 -2
- package/dist/cjs/stzh-actionset.cjs.entry.js +12 -7
- package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-appnav.cjs.entry.js +4 -2
- package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
- package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
- package/dist/cjs/stzh-badge_3.cjs.entry.js +23 -10
- package/dist/cjs/stzh-buttongroup.cjs.entry.js +23 -0
- package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card_3.cjs.entry.js +29 -19
- package/dist/cjs/stzh-carousel.cjs.entry.js +522 -0
- package/dist/cjs/stzh-cell.cjs.entry.js +1 -1
- package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
- package/dist/cjs/stzh-checkbox.cjs.entry.js +11 -3
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +4 -2
- package/dist/cjs/stzh-chip_2.cjs.entry.js +91 -6
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-contact.cjs.entry.js +1 -1
- package/dist/cjs/stzh-container.cjs.entry.js +1 -1
- package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datalist_2.cjs.entry.js +26 -10
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +15 -6
- package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datatable.cjs.entry.js +16 -4
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +22 -7
- package/dist/cjs/stzh-details.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dialog.cjs.entry.js +17 -16
- package/dist/cjs/stzh-dropdown.cjs.entry.js +14 -3
- package/dist/cjs/stzh-fieldset.cjs.entry.js +1 -1
- package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
- package/dist/cjs/stzh-flyingfocus.cjs.entry.js +4 -2
- package/dist/cjs/stzh-footer.cjs.entry.js +4 -2
- package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +6 -4
- package/dist/cjs/stzh-header.cjs.entry.js +33 -28
- package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-icon-sprite.cjs.entry.js +2 -2
- package/dist/cjs/stzh-input.cjs.entry.js +10 -3
- package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
- package/dist/cjs/stzh-langnav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-link.cjs.entry.js +16 -4
- package/dist/cjs/stzh-list-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-list.cjs.entry.js +1 -1
- package/dist/cjs/stzh-loader.cjs.entry.js +1 -1
- package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-menu_2.cjs.entry.js +13 -5
- package/dist/cjs/stzh-message.cjs.entry.js +2 -2
- package/dist/cjs/stzh-metanav.cjs.entry.js +4 -2
- package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +2 -2
- package/dist/cjs/stzh-olmap.cjs.entry.js +53 -7
- package/dist/cjs/stzh-overlay.cjs.entry.js +3 -5
- package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +4 -2
- package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +4 -2
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +4 -2
- package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
- package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
- package/dist/cjs/stzh-progressbar-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-progressbar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +4 -2
- package/dist/cjs/stzh-row.cjs.entry.js +1 -1
- package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
- package/dist/cjs/stzh-section.cjs.entry.js +1 -1
- package/dist/cjs/stzh-share.cjs.entry.js +1 -1
- package/dist/cjs/stzh-show.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sortable.cjs.entry.js +4 -2
- package/dist/cjs/stzh-space.cjs.entry.js +1 -1
- package/dist/cjs/stzh-status.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sticky.cjs.entry.js +4 -2
- package/dist/cjs/stzh-table.cjs.entry.js +15 -5
- package/dist/cjs/stzh-text.cjs.entry.js +1 -1
- package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
- package/dist/cjs/stzh-toggle.cjs.entry.js +11 -3
- package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/stzh-upload.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +11 -2
- package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
- package/dist/collection/assets/i18n/de.json +9 -0
- package/dist/collection/assets/i18n/en.json +9 -0
- package/dist/collection/assets/icons/mono/mail.svg +1 -1
- package/dist/collection/assets/media/olmap/marker-active.png +0 -0
- package/dist/collection/assets/media/olmap/marker-position.png +0 -0
- package/dist/collection/assets/media/olmap/marker.png +0 -0
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.Styles-Basic.css +881 -881
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.Styles-Button.css +75 -75
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.Styles.css +977 -977
- package/dist/collection/assets/vendors/readspeaker/ReadSpeakerClassic.css +2 -2
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/stzh-accordion/stzh-accordion.css +2 -0
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +2 -0
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +73 -1
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.stories.js +1 -1
- package/dist/collection/components/stzh-actions/stzh-actions.css +2 -0
- package/dist/collection/components/stzh-actions/stzh-actions.js +3 -1
- package/dist/collection/components/stzh-actionset/stzh-actionset.css +2 -0
- package/dist/collection/components/stzh-actionset/stzh-actionset.js +11 -33
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +4 -2
- package/dist/collection/components/stzh-appnav/stzh-appnav.css +6 -3
- package/dist/collection/components/stzh-appnav/stzh-appnav.js +3 -1
- package/dist/collection/components/stzh-appointments/stzh-appointments.css +2 -0
- package/dist/collection/components/stzh-audio/stzh-audio.css +2 -0
- package/dist/collection/components/stzh-badge/stzh-badge.css +4 -2
- package/dist/collection/components/stzh-button/stzh-button.css +14 -4
- package/dist/collection/components/stzh-button/stzh-button.js +54 -7
- package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.css +123 -0
- package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.js +25 -0
- package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.stories.js +57 -0
- package/dist/collection/components/stzh-calendar/stzh-calendar.css +9 -4
- package/dist/collection/components/stzh-card/stzh-card.css +43 -13
- package/dist/collection/components/stzh-card/stzh-card.js +35 -36
- package/dist/collection/components/stzh-card-list/stzh-card-list.css +2 -0
- package/dist/collection/components/stzh-carousel/stzh-carousel.css +248 -0
- package/dist/collection/components/stzh-carousel/stzh-carousel.js +966 -0
- package/dist/collection/components/stzh-carousel/stzh-carousel.localization.js +1 -0
- package/dist/collection/components/stzh-carousel/stzh-carousel.stories.js +140 -0
- package/dist/collection/components/stzh-cell/stzh-cell.css +2 -0
- package/dist/collection/components/stzh-chart/stzh-chart.css +4 -0
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +6 -1
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +11 -3
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.css +2 -0
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +3 -1
- package/dist/collection/components/stzh-chip/stzh-chip.css +27 -21
- package/dist/collection/components/stzh-chip/stzh-chip.js +11 -2
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +3 -1
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +9 -7
- package/dist/collection/components/stzh-clamp/stzh-clamp.css +50 -160
- package/dist/collection/components/stzh-clamp/stzh-clamp.js +218 -8
- package/dist/collection/components/stzh-clamp/stzh-clamp.localization.js +1 -0
- package/dist/collection/components/stzh-clamp/stzh-clamp.stories.js +1 -1
- package/dist/collection/components/stzh-contact/stzh-contact.css +2 -0
- package/dist/collection/components/stzh-container/stzh-container.css +2 -0
- package/dist/collection/components/stzh-cspace/stzh-cspace.css +2 -0
- package/dist/collection/components/stzh-datalist/stzh-datalist.css +2 -0
- package/dist/collection/components/stzh-datalist/stzh-datalist.js +19 -19
- package/dist/collection/components/stzh-datalist/stzh-datalist.stories.js +4 -1
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +8 -13
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js +65 -7
- package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.css +2 -0
- package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.stories.js +2 -1
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +28 -4
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +59 -10
- package/dist/collection/components/stzh-datatable/stzh-datatable.css +4 -0
- package/dist/collection/components/stzh-datatable/stzh-datatable.js +15 -12
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.css +2 -0
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +6 -1
- package/dist/collection/components/stzh-details/stzh-details.css +2 -0
- package/dist/collection/components/stzh-dialog/stzh-dialog.css +4 -2
- package/dist/collection/components/stzh-dialog/stzh-dialog.js +16 -15
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +9 -4
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +14 -3
- package/dist/collection/components/stzh-fieldset/stzh-fieldset.css +2 -0
- package/dist/collection/components/stzh-figure/stzh-figure.css +2 -0
- package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.css +2 -0
- package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +9 -1
- package/dist/collection/components/stzh-footer/stzh-footer.css +5 -1
- package/dist/collection/components/stzh-footer/stzh-footer.js +3 -1
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +91 -51
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.js +4 -2
- package/dist/collection/components/stzh-header/stzh-header.css +2 -0
- package/dist/collection/components/stzh-header/stzh-header.js +32 -45
- package/dist/collection/components/stzh-heading/stzh-heading.css +2 -0
- package/dist/collection/components/stzh-hr/stzh-hr.css +2 -0
- package/dist/collection/components/stzh-hspace/stzh-hspace.css +6 -0
- package/dist/collection/components/stzh-icon/stzh-icon.css +2 -0
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +1 -1
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
- package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.css +2 -0
- package/dist/collection/components/stzh-input/stzh-input.css +3 -2
- package/dist/collection/components/stzh-input/stzh-input.js +9 -2
- package/dist/collection/components/stzh-invert/stzh-invert.css +81 -20
- package/dist/collection/components/stzh-invert/stzh-invert.stories.js +31 -7
- package/dist/collection/components/stzh-langnav/stzh-langnav.css +2 -0
- package/dist/collection/components/stzh-link/stzh-link.css +10 -8
- package/dist/collection/components/stzh-link/stzh-link.js +49 -3
- package/dist/collection/components/stzh-list/stzh-list.css +2 -0
- package/dist/collection/components/stzh-list-item/stzh-list-item.css +2 -0
- package/dist/collection/components/stzh-loader/stzh-loader.css +6 -4
- package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.css +2 -0
- package/dist/collection/components/stzh-menu/stzh-menu.css +2 -0
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.css +6 -2
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +36 -28
- package/dist/collection/components/stzh-message/stzh-message.css +8 -54
- package/dist/collection/components/stzh-message/stzh-message.js +1 -1
- package/dist/collection/components/stzh-metanav/stzh-metanav.css +6 -10
- package/dist/collection/components/stzh-metanav/stzh-metanav.js +3 -1
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.css +2 -0
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
- package/dist/collection/components/stzh-olmap/assets/compass.svg +6 -0
- package/dist/collection/components/stzh-olmap/stzh-olmap.css +106 -46
- package/dist/collection/components/stzh-olmap/stzh-olmap.js +91 -10
- package/dist/collection/components/stzh-overlay/stzh-overlay.css +2 -0
- package/dist/collection/components/stzh-overlay/stzh-overlay.js +2 -4
- package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.css +2 -0
- package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.js +3 -1
- package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.css +2 -0
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +2 -0
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js +3 -1
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +42 -16
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.js +3 -1
- package/dist/collection/components/stzh-popover/stzh-popover.css +5 -3
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +45 -19
- package/dist/collection/components/stzh-progressbar/stzh-progressbar.css +2 -0
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.css +4 -1
- package/dist/collection/components/stzh-radio/stzh-radio.css +6 -1
- package/dist/collection/components/stzh-radio/stzh-radio.js +11 -3
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.css +2 -0
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +3 -1
- package/dist/collection/components/stzh-ratio/stzh-ratio.css +2 -0
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.css +4 -0
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +3 -1
- package/dist/collection/components/stzh-richtext/stzh-richtext.css +5 -1
- package/dist/collection/components/stzh-row/stzh-row.css +2 -0
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.css +2 -0
- package/dist/collection/components/stzh-section/stzh-section.css +2 -0
- package/dist/collection/components/stzh-share/stzh-share.css +2 -0
- package/dist/collection/components/stzh-show/stzh-show.css +2 -0
- package/dist/collection/components/stzh-sitemap/stzh-sitemap.css +2 -0
- package/dist/collection/components/stzh-skiplink/stzh-skiplink.css +4 -1
- package/dist/collection/components/stzh-skiplink/stzh-skiplink.stories.js +3 -8
- package/dist/collection/components/stzh-sortable/stzh-sortable.css +3 -1
- package/dist/collection/components/stzh-sortable/stzh-sortable.js +3 -1
- package/dist/collection/components/stzh-space/stzh-space.css +6 -0
- package/dist/collection/components/stzh-status/stzh-status.css +2 -0
- package/dist/collection/components/stzh-sticky/stzh-sticky.css +2 -0
- package/dist/collection/components/stzh-sticky/stzh-sticky.js +3 -1
- package/dist/collection/components/stzh-table/stzh-table.css +4 -0
- package/dist/collection/components/stzh-table/stzh-table.js +14 -13
- package/dist/collection/components/stzh-text/stzh-text.css +17 -0
- package/dist/collection/components/stzh-text/stzh-text.stories.js +10 -0
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.css +2 -0
- package/dist/collection/components/stzh-toggle/stzh-toggle.css +6 -1
- package/dist/collection/components/stzh-toggle/stzh-toggle.js +11 -3
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +2 -0
- package/dist/collection/components/stzh-upload/stzh-upload.css +4 -0
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.css +3 -1
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +28 -1
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.css +2 -0
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +2 -0
- package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.css +2 -0
- package/dist/collection/components/stzh-vspace/stzh-vspace.css +6 -0
- package/dist/collection/global/js/script.js +2 -0
- package/dist/collection/pages/egov.stories.js +69 -56
- package/dist/collection/pages/meinkonto.stories.js +71 -69
- package/dist/collection/pages/microsite.stories.js +13 -11
- package/dist/collection/pages/website.stories.js +14 -12
- package/dist/collection/utils/overlay-utils.js +15 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +836 -1
- package/dist/components/overlay-utils.js +17 -0
- package/dist/components/stzh-accordion-item.js +36 -2
- package/dist/components/stzh-accordion.js +1 -1
- package/dist/components/stzh-actions.js +4 -2
- package/dist/components/stzh-actionset2.js +13 -8
- package/dist/components/stzh-anchornav.js +1 -1
- package/dist/components/stzh-appnav.js +4 -2
- package/dist/components/stzh-appointments.js +1 -1
- package/dist/components/stzh-audio.js +1 -1
- package/dist/components/stzh-badge2.js +1 -1
- package/dist/components/stzh-button2.js +23 -8
- package/dist/components/stzh-buttongroup.d.ts +11 -0
- package/dist/components/stzh-buttongroup.js +36 -0
- package/dist/components/stzh-calendar2.js +1 -1
- package/dist/components/stzh-card-list2.js +1 -1
- package/dist/components/stzh-card2.js +20 -11
- package/dist/components/stzh-carousel.d.ts +11 -0
- package/dist/components/stzh-carousel.js +568 -0
- package/dist/components/stzh-cell.js +1 -1
- package/dist/components/stzh-chart.js +1 -1
- package/dist/components/stzh-checkbox.js +12 -4
- package/dist/components/stzh-checkboxgroup.js +4 -2
- package/dist/components/stzh-chip-select2.js +30 -16
- package/dist/components/stzh-chip2.js +28 -7
- package/dist/components/stzh-clamp2.js +110 -11
- package/dist/components/stzh-contact.js +21 -15
- package/dist/components/stzh-container.js +1 -1
- package/dist/components/stzh-cspace.js +1 -1
- package/dist/components/stzh-datalist-item2.js +42 -17
- package/dist/components/stzh-datalist2.js +20 -14
- package/dist/components/stzh-datamessagelist-item.js +36 -18
- package/dist/components/stzh-datamessagelist.js +1 -1
- package/dist/components/stzh-datatable.js +17 -5
- package/dist/components/stzh-datepicker2.js +7 -2
- package/dist/components/stzh-details.js +1 -1
- package/dist/components/stzh-dialog.js +17 -16
- package/dist/components/stzh-dropdown2.js +14 -3
- package/dist/components/stzh-fieldset.js +1 -1
- package/dist/components/stzh-figure.js +1 -1
- package/dist/components/stzh-flyingfocus.js +5 -3
- package/dist/components/stzh-footer.js +4 -2
- package/dist/components/stzh-ghettobox2.js +18 -4
- package/dist/components/stzh-header.js +34 -29
- package/dist/components/stzh-heading2.js +1 -1
- package/dist/components/stzh-hr.js +1 -1
- package/dist/components/stzh-hspace.js +1 -1
- package/dist/components/stzh-icon-sprite.js +2 -2
- package/dist/components/stzh-icon2.js +1 -1
- package/dist/components/stzh-input2.js +10 -3
- package/dist/components/stzh-invert.js +1 -1
- package/dist/components/stzh-langnav.js +1 -1
- package/dist/components/stzh-link2.js +18 -4
- package/dist/components/stzh-list-item.js +1 -1
- package/dist/components/stzh-list.js +1 -1
- package/dist/components/stzh-loader2.js +1 -1
- package/dist/components/stzh-loadingbar.js +1 -1
- package/dist/components/stzh-menu-item2.js +14 -6
- package/dist/components/stzh-menu2.js +1 -1
- package/dist/components/stzh-message.js +15 -3
- package/dist/components/stzh-metanav.js +4 -2
- package/dist/components/stzh-microsite-teaserlist.js +2 -2
- package/dist/components/stzh-olmap.js +55 -8
- package/dist/components/stzh-overlay.js +3 -5
- package/dist/components/stzh-page-skiplinks.js +4 -2
- package/dist/components/stzh-pagebottom.js +1 -1
- package/dist/components/stzh-pagetitle-hero.js +4 -2
- package/dist/components/stzh-pagetitle.js +4 -2
- package/dist/components/stzh-popover2.js +1 -1
- package/dist/components/stzh-portal-mitwirken.js +1 -1
- package/dist/components/stzh-progressbar-item2.js +1 -1
- package/dist/components/stzh-progressbar.js +1 -1
- package/dist/components/stzh-radio2.js +12 -4
- package/dist/components/stzh-radiogroup2.js +4 -2
- package/dist/components/stzh-ratio.js +1 -1
- package/dist/components/stzh-readspeaker.js +4 -2
- package/dist/components/stzh-richtext2.js +1 -1
- package/dist/components/stzh-row.js +1 -1
- package/dist/components/stzh-saptcha.js +1 -1
- package/dist/components/stzh-section.js +1 -1
- package/dist/components/stzh-share2.js +1 -1
- package/dist/components/stzh-show.js +1 -1
- package/dist/components/stzh-sitemap.js +19 -13
- package/dist/components/stzh-skiplink.js +1 -1
- package/dist/components/stzh-sortable2.js +4 -2
- package/dist/components/stzh-space.js +1 -1
- package/dist/components/stzh-status2.js +1 -1
- package/dist/components/stzh-sticky.js +4 -2
- package/dist/components/stzh-table.js +16 -6
- package/dist/components/stzh-text2.js +1 -1
- package/dist/components/stzh-textandimage.js +1 -1
- package/dist/components/stzh-toggle.js +12 -4
- package/dist/components/stzh-tooltip2.js +1 -1
- package/dist/components/stzh-upload.js +1 -1
- package/dist/components/stzh-vbz-linechip2.js +12 -2
- package/dist/components/stzh-vbz-majorticker.js +1 -1
- package/dist/components/stzh-vbz-ticker.js +1 -1
- package/dist/components/stzh-visuallyhidden.js +1 -1
- package/dist/components/stzh-vspace.js +1 -1
- package/dist/esm/app-globals-a58b5d2d.js +887 -0
- package/dist/esm/loader.js +2 -2
- package/dist/esm/overlay-utils-33021971.js +17 -0
- package/dist/esm/stzh-accordion-item.entry.js +36 -2
- package/dist/esm/stzh-accordion.entry.js +1 -1
- package/dist/esm/stzh-actions.entry.js +4 -2
- package/dist/esm/stzh-actionset.entry.js +12 -7
- package/dist/esm/stzh-anchornav.entry.js +1 -1
- package/dist/esm/stzh-appnav.entry.js +4 -2
- package/dist/esm/stzh-appointments.entry.js +1 -1
- package/dist/esm/stzh-audio.entry.js +1 -1
- package/dist/esm/stzh-badge_3.entry.js +23 -10
- package/dist/esm/stzh-buttongroup.entry.js +19 -0
- package/dist/esm/stzh-calendar.entry.js +1 -1
- package/dist/esm/stzh-card_3.entry.js +29 -19
- package/dist/esm/stzh-carousel.entry.js +518 -0
- package/dist/esm/stzh-cell.entry.js +1 -1
- package/dist/esm/stzh-chart.entry.js +1 -1
- package/dist/esm/stzh-checkbox.entry.js +12 -4
- package/dist/esm/stzh-checkboxgroup.entry.js +4 -2
- package/dist/esm/stzh-chip_2.entry.js +91 -6
- package/dist/esm/stzh-components.js +2 -2
- package/dist/esm/stzh-contact.entry.js +1 -1
- package/dist/esm/stzh-container.entry.js +1 -1
- package/dist/esm/stzh-cspace.entry.js +1 -1
- package/dist/esm/stzh-datalist_2.entry.js +26 -10
- package/dist/esm/stzh-datamessagelist-item.entry.js +15 -6
- package/dist/esm/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm/stzh-datatable.entry.js +16 -4
- package/dist/esm/stzh-datepicker_3.entry.js +22 -7
- package/dist/esm/stzh-details.entry.js +1 -1
- package/dist/esm/stzh-dialog.entry.js +17 -16
- package/dist/esm/stzh-dropdown.entry.js +14 -3
- package/dist/esm/stzh-fieldset.entry.js +1 -1
- package/dist/esm/stzh-figure.entry.js +1 -1
- package/dist/esm/stzh-flyingfocus.entry.js +4 -2
- package/dist/esm/stzh-footer.entry.js +4 -2
- package/dist/esm/stzh-ghettobox_2.entry.js +6 -4
- package/dist/esm/stzh-header.entry.js +33 -28
- package/dist/esm/stzh-heading.entry.js +1 -1
- package/dist/esm/stzh-hr.entry.js +1 -1
- package/dist/esm/stzh-hspace.entry.js +1 -1
- package/dist/esm/stzh-icon-sprite.entry.js +2 -2
- package/dist/esm/stzh-input.entry.js +10 -3
- package/dist/esm/stzh-invert.entry.js +1 -1
- package/dist/esm/stzh-langnav.entry.js +1 -1
- package/dist/esm/stzh-link.entry.js +16 -4
- package/dist/esm/stzh-list-item.entry.js +1 -1
- package/dist/esm/stzh-list.entry.js +1 -1
- package/dist/esm/stzh-loader.entry.js +1 -1
- package/dist/esm/stzh-loadingbar.entry.js +1 -1
- package/dist/esm/stzh-menu_2.entry.js +13 -5
- package/dist/esm/stzh-message.entry.js +2 -2
- package/dist/esm/stzh-metanav.entry.js +4 -2
- package/dist/esm/stzh-microsite-teaserlist.entry.js +2 -2
- package/dist/esm/stzh-olmap.entry.js +53 -7
- package/dist/esm/stzh-overlay.entry.js +3 -5
- package/dist/esm/stzh-page-skiplinks.entry.js +4 -2
- package/dist/esm/stzh-pagebottom.entry.js +1 -1
- package/dist/esm/stzh-pagetitle-hero.entry.js +4 -2
- package/dist/esm/stzh-pagetitle.entry.js +4 -2
- package/dist/esm/stzh-popover.entry.js +1 -1
- package/dist/esm/stzh-portal-mitwirken.entry.js +1 -1
- package/dist/esm/stzh-progressbar-item.entry.js +1 -1
- package/dist/esm/stzh-progressbar.entry.js +1 -1
- package/dist/esm/stzh-ratio.entry.js +1 -1
- package/dist/esm/stzh-readspeaker.entry.js +4 -2
- package/dist/esm/stzh-row.entry.js +1 -1
- package/dist/esm/stzh-saptcha.entry.js +1 -1
- package/dist/esm/stzh-section.entry.js +1 -1
- package/dist/esm/stzh-share.entry.js +1 -1
- package/dist/esm/stzh-show.entry.js +1 -1
- package/dist/esm/stzh-sitemap.entry.js +1 -1
- package/dist/esm/stzh-skiplink.entry.js +1 -1
- package/dist/esm/stzh-sortable.entry.js +4 -2
- package/dist/esm/stzh-space.entry.js +1 -1
- package/dist/esm/stzh-status.entry.js +1 -1
- package/dist/esm/stzh-sticky.entry.js +4 -2
- package/dist/esm/stzh-table.entry.js +15 -5
- package/dist/esm/stzh-text.entry.js +1 -1
- package/dist/esm/stzh-textandimage.entry.js +1 -1
- package/dist/esm/stzh-toggle.entry.js +12 -4
- package/dist/esm/stzh-tooltip.entry.js +1 -1
- package/dist/esm/stzh-upload.entry.js +1 -1
- package/dist/esm/stzh-vbz-linechip.entry.js +11 -2
- package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
- package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
- package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm/stzh-vspace.entry.js +1 -1
- package/dist/esm-es5/app-globals-a58b5d2d.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/overlay-utils-33021971.js +1 -0
- package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
- package/dist/esm-es5/stzh-accordion.entry.js +1 -1
- package/dist/esm-es5/stzh-actions.entry.js +1 -1
- package/dist/esm-es5/stzh-actionset.entry.js +1 -1
- package/dist/esm-es5/stzh-anchornav.entry.js +1 -1
- package/dist/esm-es5/stzh-appnav.entry.js +1 -1
- package/dist/esm-es5/stzh-appointments.entry.js +1 -1
- package/dist/esm-es5/stzh-audio.entry.js +1 -1
- package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
- package/dist/esm-es5/stzh-buttongroup.entry.js +1 -0
- package/dist/esm-es5/stzh-calendar.entry.js +1 -1
- package/dist/esm-es5/stzh-card_3.entry.js +1 -1
- package/dist/esm-es5/stzh-carousel.entry.js +1 -0
- package/dist/esm-es5/stzh-cell.entry.js +1 -1
- package/dist/esm-es5/stzh-chart.entry.js +1 -1
- package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
- package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
- package/dist/esm-es5/stzh-chip_2.entry.js +1 -1
- package/dist/esm-es5/stzh-components.js +1 -1
- package/dist/esm-es5/stzh-contact.entry.js +1 -1
- package/dist/esm-es5/stzh-container.entry.js +1 -1
- package/dist/esm-es5/stzh-cspace.entry.js +1 -1
- package/dist/esm-es5/stzh-datalist_2.entry.js +1 -1
- package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm-es5/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm-es5/stzh-datatable.entry.js +1 -1
- package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
- package/dist/esm-es5/stzh-details.entry.js +1 -1
- package/dist/esm-es5/stzh-dialog.entry.js +1 -1
- package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
- package/dist/esm-es5/stzh-fieldset.entry.js +1 -1
- package/dist/esm-es5/stzh-figure.entry.js +1 -1
- package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -1
- package/dist/esm-es5/stzh-footer.entry.js +1 -1
- package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
- package/dist/esm-es5/stzh-header.entry.js +1 -1
- package/dist/esm-es5/stzh-heading.entry.js +1 -1
- package/dist/esm-es5/stzh-hr.entry.js +1 -1
- package/dist/esm-es5/stzh-hspace.entry.js +1 -1
- package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
- package/dist/esm-es5/stzh-input.entry.js +1 -1
- package/dist/esm-es5/stzh-invert.entry.js +1 -1
- package/dist/esm-es5/stzh-langnav.entry.js +1 -1
- package/dist/esm-es5/stzh-link.entry.js +1 -1
- package/dist/esm-es5/stzh-list-item.entry.js +1 -1
- package/dist/esm-es5/stzh-list.entry.js +1 -1
- package/dist/esm-es5/stzh-loader.entry.js +1 -1
- package/dist/esm-es5/stzh-loadingbar.entry.js +1 -1
- package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
- package/dist/esm-es5/stzh-message.entry.js +1 -1
- package/dist/esm-es5/stzh-metanav.entry.js +1 -1
- package/dist/esm-es5/stzh-microsite-teaserlist.entry.js +1 -1
- package/dist/esm-es5/stzh-olmap.entry.js +1 -1
- package/dist/esm-es5/stzh-overlay.entry.js +1 -1
- package/dist/esm-es5/stzh-page-skiplinks.entry.js +1 -1
- package/dist/esm-es5/stzh-pagebottom.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
- package/dist/esm-es5/stzh-popover.entry.js +1 -1
- package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
- package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
- package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
- package/dist/esm-es5/stzh-ratio.entry.js +1 -1
- package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
- package/dist/esm-es5/stzh-row.entry.js +1 -1
- package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
- package/dist/esm-es5/stzh-section.entry.js +1 -1
- package/dist/esm-es5/stzh-share.entry.js +1 -1
- package/dist/esm-es5/stzh-show.entry.js +1 -1
- package/dist/esm-es5/stzh-sitemap.entry.js +1 -1
- package/dist/esm-es5/stzh-skiplink.entry.js +1 -1
- package/dist/esm-es5/stzh-sortable.entry.js +2 -2
- package/dist/esm-es5/stzh-space.entry.js +1 -1
- package/dist/esm-es5/stzh-status.entry.js +1 -1
- package/dist/esm-es5/stzh-sticky.entry.js +1 -1
- package/dist/esm-es5/stzh-table.entry.js +1 -1
- package/dist/esm-es5/stzh-text.entry.js +1 -1
- package/dist/esm-es5/stzh-textandimage.entry.js +1 -1
- package/dist/esm-es5/stzh-toggle.entry.js +1 -1
- package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
- package/dist/esm-es5/stzh-upload.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
- package/dist/esm-es5/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm-es5/stzh-vspace.entry.js +1 -1
- package/dist/stzh-components/assets/i18n/de.json +9 -0
- package/dist/stzh-components/assets/i18n/en.json +9 -0
- package/dist/stzh-components/assets/icons/mono/mail.svg +1 -1
- package/dist/stzh-components/assets/media/olmap/marker-active.png +0 -0
- package/dist/stzh-components/assets/media/olmap/marker-position.png +0 -0
- package/dist/stzh-components/assets/media/olmap/marker.png +0 -0
- package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +1 -1
- package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.Styles-Basic.css +881 -881
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.Styles-Button.css +75 -75
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.Styles.css +977 -977
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeakerClassic.css +2 -2
- package/dist/stzh-components/p-00d91505.entry.js +1 -0
- package/dist/stzh-components/p-00e99280.entry.js +1 -0
- package/dist/stzh-components/p-035a0f82.system.entry.js +1 -0
- package/dist/stzh-components/{p-8f577bc6.system.entry.js → p-0688fe3a.system.entry.js} +1 -1
- package/dist/stzh-components/p-06e2b01d.system.entry.js +1 -0
- package/dist/stzh-components/p-077a1368.entry.js +1 -0
- package/dist/stzh-components/{p-6e3231ce.entry.js → p-0aeaba03.entry.js} +1 -1
- package/dist/stzh-components/{p-f4c0d928.entry.js → p-0b5226e2.entry.js} +2 -2
- package/dist/stzh-components/p-0bebedd4.entry.js +1 -0
- package/dist/stzh-components/p-0ecd29c5.system.entry.js +1 -0
- package/dist/stzh-components/p-10041557.entry.js +1 -0
- package/dist/stzh-components/p-12bebf6e.entry.js +1 -0
- package/dist/stzh-components/p-13017524.system.entry.js +1 -0
- package/dist/stzh-components/p-13f024e3.system.entry.js +1 -0
- package/dist/stzh-components/p-1434d4f7.system.entry.js +1 -0
- package/dist/stzh-components/p-1457ac31.system.entry.js +1 -0
- package/dist/stzh-components/p-17761054.system.entry.js +1 -0
- package/dist/stzh-components/p-17b3570a.entry.js +1 -0
- package/dist/stzh-components/p-180e8516.system.entry.js +1 -0
- package/dist/stzh-components/p-18c9a3e1.system.entry.js +1 -0
- package/dist/stzh-components/p-198b8305.system.entry.js +1 -0
- package/dist/stzh-components/p-1abd7bf8.entry.js +1 -0
- package/dist/stzh-components/{p-e54ef44f.system.entry.js → p-1b197c5e.system.entry.js} +1 -1
- package/dist/stzh-components/p-1ed06318.entry.js +1 -0
- package/dist/stzh-components/p-1fc11b81.entry.js +1 -0
- package/dist/stzh-components/p-206f5f74.system.entry.js +1 -0
- package/dist/stzh-components/p-222d9dd1.system.entry.js +1 -0
- package/dist/stzh-components/p-25496f49.system.entry.js +1 -0
- package/dist/stzh-components/p-25d95c73.entry.js +1 -0
- package/dist/stzh-components/p-294acb66.system.entry.js +1 -0
- package/dist/stzh-components/p-2a9e7099.system.entry.js +1 -0
- package/dist/stzh-components/{p-12564ee4.entry.js → p-2b1b9b7f.entry.js} +1 -1
- package/dist/stzh-components/p-309b73e1.entry.js +1 -0
- package/dist/stzh-components/{p-6dbf976b.entry.js → p-318ebb9e.entry.js} +1 -1
- package/dist/stzh-components/p-320273c3.system.entry.js +1 -0
- package/dist/stzh-components/{p-af9aac53.entry.js → p-3680ed9c.entry.js} +1 -1
- package/dist/stzh-components/p-36fbc15e.system.entry.js +1 -0
- package/dist/stzh-components/p-373e5bb9.system.entry.js +1 -0
- package/dist/stzh-components/{p-77320d20.entry.js → p-39871486.entry.js} +1 -1
- package/dist/stzh-components/{p-963a7526.system.entry.js → p-39f6243c.system.entry.js} +2 -2
- package/dist/stzh-components/p-3a3d196e.system.entry.js +1 -0
- package/dist/stzh-components/p-3a57e4ab.entry.js +1 -0
- package/dist/stzh-components/{p-6ee87986.entry.js → p-3b2d7678.entry.js} +1 -1
- package/dist/stzh-components/{p-d95b44c6.system.entry.js → p-3c75c708.system.entry.js} +1 -1
- package/dist/stzh-components/p-3cdbb1ed.js +1 -0
- package/dist/stzh-components/p-3d00dad8.entry.js +1 -0
- package/dist/stzh-components/p-3e8bba03.system.entry.js +1 -0
- package/dist/stzh-components/p-406c9413.entry.js +9 -0
- package/dist/stzh-components/{p-f725921a.entry.js → p-40f7ceb9.entry.js} +1 -1
- package/dist/stzh-components/p-42b69706.system.entry.js +1 -0
- package/dist/stzh-components/p-444af671.system.entry.js +1 -0
- package/dist/stzh-components/p-47bf4999.system.entry.js +1 -0
- package/dist/stzh-components/p-47c70501.system.entry.js +1 -0
- package/dist/stzh-components/p-4909551f.system.entry.js +1 -0
- package/dist/stzh-components/p-509c7218.system.entry.js +1 -0
- package/dist/stzh-components/p-526144dc.entry.js +1 -0
- package/dist/stzh-components/p-529951e9.system.entry.js +1 -0
- package/dist/stzh-components/p-5373c40e.system.entry.js +1 -0
- package/dist/stzh-components/p-5538ecd9.entry.js +1 -0
- package/dist/stzh-components/p-57f2b7d4.entry.js +1 -0
- package/dist/stzh-components/p-5859f81f.system.entry.js +1 -0
- package/dist/stzh-components/p-595f202a.entry.js +1 -0
- package/dist/stzh-components/p-5ab2ae81.system.entry.js +1 -0
- package/dist/stzh-components/p-5efd5a1d.entry.js +1 -0
- package/dist/stzh-components/p-5f33f681.entry.js +1 -0
- package/dist/stzh-components/p-6022d291.entry.js +1 -0
- package/dist/stzh-components/p-61d68434.entry.js +1 -0
- package/dist/stzh-components/p-61e701ce.system.entry.js +1 -0
- package/dist/stzh-components/p-65833306.system.entry.js +1 -0
- package/dist/stzh-components/p-663287a8.entry.js +1 -0
- package/dist/stzh-components/p-66ea8863.system.js +1 -0
- package/dist/stzh-components/{p-3fc51ad1.system.entry.js → p-670495df.system.entry.js} +1 -1
- package/dist/stzh-components/p-673d68e7.system.entry.js +1 -0
- package/dist/stzh-components/p-6a7152dd.system.entry.js +1 -0
- package/dist/stzh-components/p-6a911d9c.system.entry.js +1 -0
- package/dist/stzh-components/p-6b05235b.system.entry.js +1 -0
- package/dist/stzh-components/p-6bdbad44.entry.js +1 -0
- package/dist/stzh-components/p-6c6380a8.entry.js +1 -0
- package/dist/stzh-components/p-6ef3c304.system.entry.js +1 -0
- package/dist/stzh-components/{p-6a109ce9.system.entry.js → p-6f4d7926.system.entry.js} +1 -1
- package/dist/stzh-components/p-7142e816.system.entry.js +1 -0
- package/dist/stzh-components/p-72a71f30.system.entry.js +1 -0
- package/dist/stzh-components/p-72f050c1.system.js +1 -0
- package/dist/stzh-components/{p-d5948025.system.entry.js → p-73ce3c9b.system.entry.js} +8 -8
- package/dist/stzh-components/{p-bc2af057.entry.js → p-73d779a3.entry.js} +1 -1
- package/dist/stzh-components/p-7413b79d.entry.js +1 -0
- package/dist/stzh-components/p-74831964.entry.js +1 -0
- package/dist/stzh-components/{p-155ecf6c.entry.js → p-75693b7f.entry.js} +1 -1
- package/dist/stzh-components/p-770a5d07.system.entry.js +1 -0
- package/dist/stzh-components/p-788e2455.system.entry.js +1 -0
- package/dist/stzh-components/p-7a95f89c.system.entry.js +1 -0
- package/dist/stzh-components/p-7b887b10.system.entry.js +1 -0
- package/dist/stzh-components/p-7bc49298.system.entry.js +1 -0
- package/dist/stzh-components/p-7c1e4ff7.system.entry.js +1 -0
- package/dist/stzh-components/p-7f442c8f.entry.js +1 -0
- package/dist/stzh-components/p-8276a3a5.js +1 -0
- package/dist/stzh-components/p-843301ca.entry.js +1 -0
- package/dist/stzh-components/p-84ee50a5.system.entry.js +1 -0
- package/dist/stzh-components/p-87eb2a8d.entry.js +1 -0
- package/dist/stzh-components/p-8aaef773.entry.js +1 -0
- package/dist/stzh-components/p-8b02b816.entry.js +1 -0
- package/dist/stzh-components/p-8d5fd36f.entry.js +1 -0
- package/dist/stzh-components/p-8f996d7e.system.entry.js +1 -0
- package/dist/stzh-components/p-90053b06.system.entry.js +1 -0
- package/dist/stzh-components/p-90a3867e.entry.js +1 -0
- package/dist/stzh-components/p-91ea8f3b.entry.js +1 -0
- package/dist/stzh-components/p-92332dae.entry.js +1 -0
- package/dist/stzh-components/p-929a0532.entry.js +1 -0
- package/dist/stzh-components/p-9443ef45.system.entry.js +1 -0
- package/dist/stzh-components/p-9522b7c7.entry.js +1 -0
- package/dist/stzh-components/p-9a990d3c.entry.js +1 -0
- package/dist/stzh-components/{p-5b162e4f.entry.js → p-9b9b579b.entry.js} +1 -1
- package/dist/stzh-components/{p-be97cb22.entry.js → p-9d996db9.entry.js} +1 -1
- package/dist/stzh-components/p-a0aeb3d6.system.entry.js +1 -0
- package/dist/stzh-components/p-a26d3e2d.entry.js +1 -0
- package/dist/stzh-components/p-a3781fae.entry.js +1 -0
- package/dist/stzh-components/p-a3d99e8f.entry.js +1 -0
- package/dist/stzh-components/p-a51184fb.entry.js +1 -0
- package/dist/stzh-components/p-a63df129.system.entry.js +1 -0
- package/dist/stzh-components/p-a6c76983.system.entry.js +1 -0
- package/dist/stzh-components/p-a70423e5.system.entry.js +1 -0
- package/dist/stzh-components/{p-d5514e5b.system.entry.js → p-a8205b50.system.entry.js} +2 -2
- package/dist/stzh-components/p-a89d05d3.entry.js +1 -0
- package/dist/stzh-components/p-a89e510c.entry.js +1 -0
- package/dist/stzh-components/p-ab66cdf8.entry.js +1 -0
- package/dist/stzh-components/p-ac6df3e4.system.entry.js +1 -0
- package/dist/stzh-components/p-ad85c5c6.entry.js +1 -0
- package/dist/stzh-components/p-b0d74781.entry.js +1 -0
- package/dist/stzh-components/p-b42a99f2.entry.js +1 -0
- package/dist/stzh-components/p-b7509be8.system.entry.js +1 -0
- package/dist/stzh-components/p-b7e7b956.entry.js +1 -0
- package/dist/stzh-components/p-b9a687f5.system.entry.js +1 -0
- package/dist/stzh-components/p-bbacd4b6.system.entry.js +1 -0
- package/dist/stzh-components/p-bd275bc1.system.entry.js +1 -0
- package/dist/stzh-components/p-bfeae490.entry.js +1 -0
- package/dist/stzh-components/p-bfece369.system.entry.js +1 -0
- package/dist/stzh-components/p-c164e020.system.entry.js +1 -0
- package/dist/stzh-components/p-c28d19c7.entry.js +1 -0
- package/dist/stzh-components/p-c4619b1f.entry.js +9 -0
- package/dist/stzh-components/p-c7263e0f.system.entry.js +1 -0
- package/dist/stzh-components/p-ca7ec43f.system.entry.js +1 -0
- package/dist/stzh-components/p-cb8d0d64.system.entry.js +1 -0
- package/dist/stzh-components/p-cd3c2a3a.system.entry.js +1 -0
- package/dist/stzh-components/p-cd7d91be.system.entry.js +1 -0
- package/dist/stzh-components/p-cfe82456.entry.js +1 -0
- package/dist/stzh-components/p-d0236fd5.entry.js +1 -0
- package/dist/stzh-components/p-d332af6f.entry.js +1 -0
- package/dist/stzh-components/{p-48dee587.entry.js → p-d34653bd.entry.js} +1 -1
- package/dist/stzh-components/p-d46116ce.system.entry.js +1 -0
- package/dist/stzh-components/p-d7d424bc.entry.js +1 -0
- package/dist/stzh-components/p-d9be7a41.entry.js +1 -0
- package/dist/stzh-components/p-d9f5bb65.system.entry.js +1 -0
- package/dist/stzh-components/p-dbe89e81.system.entry.js +1 -0
- package/dist/stzh-components/p-dc970ea6.system.entry.js +1 -0
- package/dist/stzh-components/p-dde56464.system.js +1 -0
- package/dist/stzh-components/p-de151e4f.system.entry.js +1 -0
- package/dist/stzh-components/p-df617d8e.system.entry.js +1 -0
- package/dist/stzh-components/p-dfeb38f7.entry.js +1 -0
- package/dist/stzh-components/p-e18f5e43.system.entry.js +1 -0
- package/dist/stzh-components/p-e3576ccb.entry.js +1 -0
- package/dist/stzh-components/p-e5318901.system.entry.js +1 -0
- package/dist/stzh-components/p-e5e7548f.entry.js +1 -0
- package/dist/stzh-components/p-e993dfe4.entry.js +1 -0
- package/dist/stzh-components/p-ea1b0a82.entry.js +1 -0
- package/dist/stzh-components/{p-59793ef8.system.entry.js → p-ea5b9340.entry.js} +1 -1
- package/dist/stzh-components/p-ebc2b991.system.entry.js +1 -0
- package/dist/stzh-components/{p-aa2c81e6.system.entry.js → p-ec7f15c8.system.entry.js} +1 -1
- package/dist/stzh-components/p-ecd1ca5a.entry.js +1 -0
- package/dist/stzh-components/p-ee8becb5.entry.js +1 -0
- package/dist/stzh-components/p-f202e06c.entry.js +1 -0
- package/dist/stzh-components/p-f41788fc.entry.js +1 -0
- package/dist/stzh-components/p-f683c9d0.entry.js +1 -0
- package/dist/stzh-components/p-f867f814.entry.js +1 -0
- package/dist/stzh-components/p-fb6952f1.system.entry.js +1 -0
- package/dist/stzh-components/p-fb71ade8.entry.js +1 -0
- package/dist/stzh-components/stzh-components.css +1 -1
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/stzh-components/stzh-components.js +1 -1
- package/dist/types/components/stzh-carousel/stzh-carousel.localization.d.ts +5 -0
- package/dist/types/components/stzh-clamp/stzh-clamp.localization.d.ts +5 -0
- package/dist/types/components/stzh-olmap/stzh-olmap.localization.d.ts +1 -0
- package/dist/types/components.d.ts +299 -14
- package/dist/types/index.d.ts +34 -0
- package/dist/types/utils/overlay-utils.d.ts +5 -0
- package/dist/vscode-data.json +129 -8
- package/package.json +4 -2
- package/dist/cjs/app-globals-8fbeeb92.js +0 -56
- package/dist/esm/app-globals-f5264f95.js +0 -54
- package/dist/esm-es5/app-globals-f5264f95.js +0 -1
- package/dist/stzh-components/p-013d269a.system.entry.js +0 -1
- package/dist/stzh-components/p-05e742b4.js +0 -1
- package/dist/stzh-components/p-0759cd7e.entry.js +0 -1
- package/dist/stzh-components/p-07dc23a3.system.entry.js +0 -1
- package/dist/stzh-components/p-088b16c6.system.entry.js +0 -1
- package/dist/stzh-components/p-0930004d.entry.js +0 -1
- package/dist/stzh-components/p-09a6a4be.system.js +0 -1
- package/dist/stzh-components/p-0a2de4e8.entry.js +0 -1
- package/dist/stzh-components/p-0ab2f949.entry.js +0 -1
- package/dist/stzh-components/p-0ba944ab.entry.js +0 -1
- package/dist/stzh-components/p-0f882e26.system.entry.js +0 -1
- package/dist/stzh-components/p-0ffd0de8.system.entry.js +0 -1
- package/dist/stzh-components/p-102e2bcd.system.entry.js +0 -1
- package/dist/stzh-components/p-12856e02.system.entry.js +0 -1
- package/dist/stzh-components/p-12e03b78.system.entry.js +0 -1
- package/dist/stzh-components/p-16b3d4ee.system.entry.js +0 -1
- package/dist/stzh-components/p-18e20038.entry.js +0 -1
- package/dist/stzh-components/p-1a98470f.system.entry.js +0 -1
- package/dist/stzh-components/p-1bcda13d.system.entry.js +0 -1
- package/dist/stzh-components/p-20bd79d0.entry.js +0 -1
- package/dist/stzh-components/p-215d2cf6.system.entry.js +0 -1
- package/dist/stzh-components/p-216b89d7.system.entry.js +0 -1
- package/dist/stzh-components/p-25d8a9c0.system.entry.js +0 -1
- package/dist/stzh-components/p-263fd0bb.system.entry.js +0 -1
- package/dist/stzh-components/p-2674dc69.system.entry.js +0 -1
- package/dist/stzh-components/p-2c42ae68.entry.js +0 -1
- package/dist/stzh-components/p-2e40e63c.system.entry.js +0 -1
- package/dist/stzh-components/p-2e6ef670.entry.js +0 -1
- package/dist/stzh-components/p-2f4448c9.system.entry.js +0 -1
- package/dist/stzh-components/p-309fc559.system.entry.js +0 -1
- package/dist/stzh-components/p-31b995e8.entry.js +0 -1
- package/dist/stzh-components/p-32a03d1c.entry.js +0 -1
- package/dist/stzh-components/p-32ae64a3.entry.js +0 -9
- package/dist/stzh-components/p-340eedda.system.entry.js +0 -1
- package/dist/stzh-components/p-3721f7b2.entry.js +0 -1
- package/dist/stzh-components/p-37920e74.system.entry.js +0 -1
- package/dist/stzh-components/p-37de872c.system.entry.js +0 -1
- package/dist/stzh-components/p-3b00d8b8.entry.js +0 -1
- package/dist/stzh-components/p-3f676d99.system.entry.js +0 -1
- package/dist/stzh-components/p-40798ed2.entry.js +0 -1
- package/dist/stzh-components/p-418e04f7.system.entry.js +0 -1
- package/dist/stzh-components/p-4453449f.entry.js +0 -1
- package/dist/stzh-components/p-44d10402.system.entry.js +0 -1
- package/dist/stzh-components/p-4633b93d.entry.js +0 -1
- package/dist/stzh-components/p-46d07ed7.entry.js +0 -1
- package/dist/stzh-components/p-470182bb.system.entry.js +0 -1
- package/dist/stzh-components/p-47175c6f.system.entry.js +0 -1
- package/dist/stzh-components/p-48e79dc0.system.entry.js +0 -1
- package/dist/stzh-components/p-4a60b27f.entry.js +0 -1
- package/dist/stzh-components/p-512c38b3.system.entry.js +0 -1
- package/dist/stzh-components/p-51b3a560.system.entry.js +0 -1
- package/dist/stzh-components/p-51b53e68.entry.js +0 -1
- package/dist/stzh-components/p-552d0e82.system.entry.js +0 -1
- package/dist/stzh-components/p-55752bd5.system.entry.js +0 -1
- package/dist/stzh-components/p-57235597.system.entry.js +0 -1
- package/dist/stzh-components/p-5b85324c.entry.js +0 -1
- package/dist/stzh-components/p-5c72664e.system.entry.js +0 -1
- package/dist/stzh-components/p-5d55a672.system.entry.js +0 -1
- package/dist/stzh-components/p-617ece76.system.entry.js +0 -1
- package/dist/stzh-components/p-62791751.entry.js +0 -1
- package/dist/stzh-components/p-64cdef2f.entry.js +0 -1
- package/dist/stzh-components/p-655e3c46.system.entry.js +0 -1
- package/dist/stzh-components/p-660125e0.system.entry.js +0 -1
- package/dist/stzh-components/p-6606e17e.system.entry.js +0 -1
- package/dist/stzh-components/p-66692130.entry.js +0 -1
- package/dist/stzh-components/p-6722e89a.system.entry.js +0 -1
- package/dist/stzh-components/p-6769b9a8.system.entry.js +0 -1
- package/dist/stzh-components/p-67816aa4.entry.js +0 -1
- package/dist/stzh-components/p-67ae4994.entry.js +0 -1
- package/dist/stzh-components/p-6932ce19.system.js +0 -1
- package/dist/stzh-components/p-6a94e520.system.entry.js +0 -1
- package/dist/stzh-components/p-6c73f6ad.entry.js +0 -1
- package/dist/stzh-components/p-6deb516e.entry.js +0 -1
- package/dist/stzh-components/p-70f85be3.system.entry.js +0 -1
- package/dist/stzh-components/p-72a62d0d.system.entry.js +0 -1
- package/dist/stzh-components/p-761ee059.entry.js +0 -1
- package/dist/stzh-components/p-77d0a54b.system.entry.js +0 -1
- package/dist/stzh-components/p-7bb82e56.entry.js +0 -9
- package/dist/stzh-components/p-7d42654b.system.entry.js +0 -1
- package/dist/stzh-components/p-7e9fa7f5.entry.js +0 -1
- package/dist/stzh-components/p-7f1b7b44.system.entry.js +0 -1
- package/dist/stzh-components/p-7f857e56.entry.js +0 -1
- package/dist/stzh-components/p-809ed955.system.entry.js +0 -1
- package/dist/stzh-components/p-80f497d8.system.entry.js +0 -1
- package/dist/stzh-components/p-8361c9d8.system.entry.js +0 -1
- package/dist/stzh-components/p-838b0542.entry.js +0 -1
- package/dist/stzh-components/p-862e7723.system.entry.js +0 -1
- package/dist/stzh-components/p-86336227.entry.js +0 -1
- package/dist/stzh-components/p-8c141cae.system.entry.js +0 -1
- package/dist/stzh-components/p-907f59dd.entry.js +0 -1
- package/dist/stzh-components/p-919cf183.entry.js +0 -1
- package/dist/stzh-components/p-923dffc7.entry.js +0 -1
- package/dist/stzh-components/p-94918f2a.system.entry.js +0 -1
- package/dist/stzh-components/p-951b04ab.entry.js +0 -1
- package/dist/stzh-components/p-95bfbf67.system.entry.js +0 -1
- package/dist/stzh-components/p-990f395b.entry.js +0 -1
- package/dist/stzh-components/p-9be21c72.entry.js +0 -1
- package/dist/stzh-components/p-9c35c9cd.entry.js +0 -1
- package/dist/stzh-components/p-a11ef2d6.system.entry.js +0 -1
- package/dist/stzh-components/p-a1727d35.entry.js +0 -1
- package/dist/stzh-components/p-a2df0ea1.entry.js +0 -1
- package/dist/stzh-components/p-a47e205f.entry.js +0 -1
- package/dist/stzh-components/p-a693ab41.entry.js +0 -1
- package/dist/stzh-components/p-a6be6aca.system.entry.js +0 -1
- package/dist/stzh-components/p-a7eb3e02.system.entry.js +0 -1
- package/dist/stzh-components/p-aa4f87cc.entry.js +0 -1
- package/dist/stzh-components/p-acf59d10.entry.js +0 -1
- package/dist/stzh-components/p-ad62a793.system.entry.js +0 -1
- package/dist/stzh-components/p-ad816fd9.entry.js +0 -1
- package/dist/stzh-components/p-ae38f1d2.entry.js +0 -1
- package/dist/stzh-components/p-ae673b30.system.entry.js +0 -1
- package/dist/stzh-components/p-b1ffc2a9.system.entry.js +0 -1
- package/dist/stzh-components/p-b395bed5.system.entry.js +0 -1
- package/dist/stzh-components/p-b9b1b7cf.entry.js +0 -1
- package/dist/stzh-components/p-bada7caa.system.entry.js +0 -1
- package/dist/stzh-components/p-bb698e26.entry.js +0 -1
- package/dist/stzh-components/p-bc545121.entry.js +0 -1
- package/dist/stzh-components/p-be68b323.entry.js +0 -1
- package/dist/stzh-components/p-c2a22eb8.entry.js +0 -1
- package/dist/stzh-components/p-c4c620fa.system.entry.js +0 -1
- package/dist/stzh-components/p-c87e9b71.entry.js +0 -1
- package/dist/stzh-components/p-c9940c35.entry.js +0 -1
- package/dist/stzh-components/p-d1cfe06b.entry.js +0 -1
- package/dist/stzh-components/p-dd1bb919.entry.js +0 -1
- package/dist/stzh-components/p-ddcec4e1.system.entry.js +0 -1
- package/dist/stzh-components/p-de76e01b.entry.js +0 -1
- package/dist/stzh-components/p-e085a0a0.entry.js +0 -1
- package/dist/stzh-components/p-e09ac5e3.system.entry.js +0 -1
- package/dist/stzh-components/p-e1b2785b.entry.js +0 -1
- package/dist/stzh-components/p-e3afc8f7.entry.js +0 -1
- package/dist/stzh-components/p-e4aa12ba.system.entry.js +0 -1
- package/dist/stzh-components/p-e59c2adc.system.entry.js +0 -1
- package/dist/stzh-components/p-e7909de9.system.entry.js +0 -1
- package/dist/stzh-components/p-e8feb92e.system.entry.js +0 -1
- package/dist/stzh-components/p-e9994d05.system.entry.js +0 -1
- package/dist/stzh-components/p-eb7773f3.entry.js +0 -1
- package/dist/stzh-components/p-eed126cf.system.entry.js +0 -1
- package/dist/stzh-components/p-f0e2a32d.entry.js +0 -1
- package/dist/stzh-components/p-f2deda0a.entry.js +0 -1
- package/dist/stzh-components/p-f7bb76d8.system.entry.js +0 -1
- package/dist/stzh-components/p-f7e18135.entry.js +0 -1
- package/dist/stzh-components/p-f8feb07b.entry.js +0 -1
- package/dist/stzh-components/p-f9ab0433.entry.js +0 -1
- package/dist/stzh-components/p-fd15cc86.entry.js +0 -1
- package/dist/stzh-components/p-febba79b.entry.js +0 -1
- package/dist/stzh-components/p-ff328114.system.entry.js +0 -1
- package/dist/types/components/stzh-clamp/stzh-clamp.d.ts +0 -16
|
@@ -0,0 +1,966 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
import { isStzhElement } from "../../utils/utils";
|
|
3
|
+
import { fetchTranslations } from "../../utils/translation-utils";
|
|
4
|
+
import { media, addMediaChangeListener, removeMediaChangeListener } from '../../utils/media-utils';
|
|
5
|
+
const reducedMotionMedia = window.matchMedia("(prefers-reduced-motion: reduce)");
|
|
6
|
+
let carouselCounter = 0;
|
|
7
|
+
/*
|
|
8
|
+
* Inspired by:
|
|
9
|
+
*
|
|
10
|
+
* - https://github.com/barthy-koeln/scroll-snap-slider
|
|
11
|
+
* - https://tannerhodges.github.io/snap-slider/
|
|
12
|
+
* - https://www.w3.org/WAI/ARIA/apg/patterns/carousel/examples/carousel-1-prev-next/
|
|
13
|
+
* - https://dev.to/jasonwebb/how-to-build-a-more-accessible-carousel-or-slider-35lp
|
|
14
|
+
* - http://web-accessibility.carnegiemuseums.org/code/carousels/
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* @slot - Slot any element
|
|
18
|
+
*/
|
|
19
|
+
export class StzhCarousel {
|
|
20
|
+
constructor() {
|
|
21
|
+
/** Current scroll position */
|
|
22
|
+
this.slideScrollLeft = 0;
|
|
23
|
+
/** Flag whether scrolling was done by user or not */
|
|
24
|
+
this.scrolledByAutoplay = false;
|
|
25
|
+
/** Timeout ID used to catch the end of scroll events */
|
|
26
|
+
this.scrollTimeoutId = null;
|
|
27
|
+
/** Last drag event position */
|
|
28
|
+
this.lastX = null;
|
|
29
|
+
/** Where the dragging started */
|
|
30
|
+
this.startX = null;
|
|
31
|
+
/** Where the dragging started scroll position */
|
|
32
|
+
this.startScrollLeft = null;
|
|
33
|
+
/** Timeout ID for a smooth drag release */
|
|
34
|
+
this.disableTimeoutId = null;
|
|
35
|
+
/** Whether user has just stopped dragging */
|
|
36
|
+
this.stoppedDragging = false;
|
|
37
|
+
this.onReducedMotionMediaChange = () => {
|
|
38
|
+
this.autoplayDisabledByMotionMedia = reducedMotionMedia.matches;
|
|
39
|
+
};
|
|
40
|
+
this.onMouseenter = () => {
|
|
41
|
+
this.autoplayDisabledByMouse = true;
|
|
42
|
+
};
|
|
43
|
+
this.onMouseleave = () => {
|
|
44
|
+
this.autoplayDisabledByMouse = false;
|
|
45
|
+
};
|
|
46
|
+
this.onFocusin = () => {
|
|
47
|
+
this.autoplayDisabledByFocus = true;
|
|
48
|
+
};
|
|
49
|
+
this.onFocusout = () => {
|
|
50
|
+
this.autoplayDisabledByFocus = false;
|
|
51
|
+
};
|
|
52
|
+
this.onPreviousClick = () => {
|
|
53
|
+
this.scrollToPreviousSnapPoint();
|
|
54
|
+
};
|
|
55
|
+
this.onNextClick = () => {
|
|
56
|
+
this.scrollToNextSnapPoint();
|
|
57
|
+
};
|
|
58
|
+
this.onSlideResize = () => {
|
|
59
|
+
if (this.scrollElement) {
|
|
60
|
+
this.itemSize = this.sizingMethod();
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
this.onMutation = () => {
|
|
64
|
+
if (!this.scrollElement) {
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
this.slideElements = Array.from(this.scrollElement.children);
|
|
68
|
+
this.slideElements.forEach((slide, index) => {
|
|
69
|
+
slide.setAttribute("role", "group");
|
|
70
|
+
slide.setAttribute("aria-roledescription", "slide");
|
|
71
|
+
slide.setAttribute("aria-label", this.localization.slideLabel
|
|
72
|
+
.replace(/\{current\}/gi, (index + 1).toString())
|
|
73
|
+
.replace(/\{total\}/gi, this.slideElements.length.toString()));
|
|
74
|
+
});
|
|
75
|
+
this.previousElements = Array.from(this.element.querySelectorAll("[data-stzh-carousel-previous]"));
|
|
76
|
+
this.nextElements = Array.from(this.element.querySelectorAll("[data-stzh-carousel-next]"));
|
|
77
|
+
this.navigationTextElements = Array.from(this.element.querySelectorAll("[data-stzh-carousel-navigation-text]"));
|
|
78
|
+
};
|
|
79
|
+
this.onScroll = () => {
|
|
80
|
+
if (this.scrollTimeoutId === null) {
|
|
81
|
+
const direction = (this.scrollElement.scrollLeft > this.slideScrollLeft) ? 1 : -1;
|
|
82
|
+
this.scrolling = true;
|
|
83
|
+
if (!this.scrolledByAutoplay) {
|
|
84
|
+
this.autoplay = false;
|
|
85
|
+
}
|
|
86
|
+
this.stzhSlideStart.emit({
|
|
87
|
+
component: "stzh-carousel",
|
|
88
|
+
index: this.slide + direction
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
if (this.slide !== this.calculateSlide()) {
|
|
92
|
+
this.update();
|
|
93
|
+
this.stzhSlidePassed.emit({
|
|
94
|
+
component: "stzh-carousel",
|
|
95
|
+
index: this.slide
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
this.scrollTimeoutId && window.clearTimeout(this.scrollTimeoutId);
|
|
99
|
+
this.scrollTimeoutId = window.setTimeout(this.onScrollEnd, this.scrollTimeout);
|
|
100
|
+
};
|
|
101
|
+
this.onScrollEnd = () => {
|
|
102
|
+
this.scrollTimeoutId = null;
|
|
103
|
+
this.update();
|
|
104
|
+
this.scrolling = false;
|
|
105
|
+
this.scrolledByAutoplay = false;
|
|
106
|
+
if (this.stoppedDragging) {
|
|
107
|
+
this.stoppedDragging = false;
|
|
108
|
+
this.scrollElement.style.removeProperty("scroll-behavior");
|
|
109
|
+
this.scrollElement.style.removeProperty("scroll-snap-type");
|
|
110
|
+
}
|
|
111
|
+
if (this.tabThrough || this.variant === "cards") {
|
|
112
|
+
this.ariaLive = "";
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
this.ariaLive = (this.currentSlides > 1 ? this.localization.slidesLabel : this.localization.slideLabel)
|
|
116
|
+
.replace(/\{(current|from)\}/gi, (this.slide + 1).toString())
|
|
117
|
+
.replace(/\{to\}/gi, (this.slide + this.currentSlides).toString())
|
|
118
|
+
.replace(/\{total\}/gi, this.slideElements.length.toString());
|
|
119
|
+
}
|
|
120
|
+
this.stzhSlideEnd.emit({
|
|
121
|
+
component: "stzh-carousel",
|
|
122
|
+
index: this.slide
|
|
123
|
+
});
|
|
124
|
+
};
|
|
125
|
+
this.onMediaChange = () => {
|
|
126
|
+
const ultra = media("ultra").matches;
|
|
127
|
+
const large = media("large").matches;
|
|
128
|
+
const medium = media("medium").matches;
|
|
129
|
+
const small = media("small").matches;
|
|
130
|
+
if (ultra && this.slidesUltra !== 0) {
|
|
131
|
+
this.currentSlides = this.slidesUltra;
|
|
132
|
+
}
|
|
133
|
+
else if (large && this.slidesLarge !== 0) {
|
|
134
|
+
this.currentSlides = this.slidesLarge;
|
|
135
|
+
}
|
|
136
|
+
else if (medium && this.slidesMedium !== 0) {
|
|
137
|
+
this.currentSlides = this.slidesMedium;
|
|
138
|
+
}
|
|
139
|
+
else if (small && this.slidesSmall !== 0) {
|
|
140
|
+
this.currentSlides = this.slidesSmall;
|
|
141
|
+
}
|
|
142
|
+
else {
|
|
143
|
+
this.currentSlides = this.slides;
|
|
144
|
+
}
|
|
145
|
+
// if (ultra && this.swipeSlidesUltra !== 0) {
|
|
146
|
+
// this.currentSwipeSlides = this.swipeSlidesUltra;
|
|
147
|
+
// } else if (large && this.swipeSlidesLarge !== 0) {
|
|
148
|
+
// this.currentSwipeSlides = this.swipeSlidesLarge;
|
|
149
|
+
// } else if (medium && this.swipeSlidesMedium !== 0) {
|
|
150
|
+
// this.currentSwipeSlides = this.swipeSlidesMedium;
|
|
151
|
+
// } else if (small && this.swipeSlidesSmall !== 0) {
|
|
152
|
+
// this.currentSwipeSlides = this.swipeSlidesSmall;
|
|
153
|
+
// } else {
|
|
154
|
+
// this.currentSwipeSlides = this.swipeSlides;
|
|
155
|
+
// }
|
|
156
|
+
this.currentSwipeSlides = this.currentSlides;
|
|
157
|
+
};
|
|
158
|
+
/** Scroll the slider the appropriate amount of pixels and update the last event position */
|
|
159
|
+
this.mouseMove = (event) => {
|
|
160
|
+
const distance = this.lastX - event.clientX;
|
|
161
|
+
this.lastX = event.clientX;
|
|
162
|
+
this.scrollElement.scrollLeft += distance;
|
|
163
|
+
};
|
|
164
|
+
/** Clear disable timeout, set up variables and styles and attach the listener. */
|
|
165
|
+
this.startDragging = (event) => {
|
|
166
|
+
event.preventDefault();
|
|
167
|
+
this.disableTimeoutId && window.clearTimeout(this.disableTimeoutId);
|
|
168
|
+
this.disableTimeoutId = null;
|
|
169
|
+
this.startX = this.lastX = event.clientX;
|
|
170
|
+
this.startScrollLeft = this.scrollElement.scrollLeft;
|
|
171
|
+
this.scrollElement.style.setProperty("scroll-behavior", "auto");
|
|
172
|
+
this.scrollElement.style.setProperty("scroll-snap-type", "unset");
|
|
173
|
+
this.dragging = true;
|
|
174
|
+
this.autoplay = false;
|
|
175
|
+
window.addEventListener("mousemove", this.mouseMove);
|
|
176
|
+
window.addEventListener("mouseup", this.stopDragging, { capture: true });
|
|
177
|
+
window.addEventListener("click", this.checkClick, { capture: true });
|
|
178
|
+
};
|
|
179
|
+
/** User stopped dragging */
|
|
180
|
+
this.stopDragging = (event) => {
|
|
181
|
+
event.preventDefault();
|
|
182
|
+
const distance = Math.abs(this.startX - this.lastX);
|
|
183
|
+
const minimumReached = distance > this.distanceQuickSwipe;
|
|
184
|
+
const direction = (this.lastX > this.startX) ? 1 : -1;
|
|
185
|
+
this.dragging = false;
|
|
186
|
+
const endDraddingLeft = this.scrollElement.scrollLeft;
|
|
187
|
+
this.scrollElement.style.removeProperty("scroll-snap-type");
|
|
188
|
+
const finalLeft = this.scrollElement.scrollLeft;
|
|
189
|
+
this.scrollElement.style.setProperty("scroll-snap-type", "unset");
|
|
190
|
+
this.scrollElement.scrollTo({ left: endDraddingLeft, behavior: "auto" });
|
|
191
|
+
if (finalLeft !== this.startScrollLeft || !minimumReached) {
|
|
192
|
+
this.scrollElement.scrollTo({ left: finalLeft, behavior: reducedMotionMedia.matches ? "auto" : "smooth" });
|
|
193
|
+
}
|
|
194
|
+
else if (direction === 1) {
|
|
195
|
+
this.slideToPrevious();
|
|
196
|
+
}
|
|
197
|
+
else {
|
|
198
|
+
this.slideToNext();
|
|
199
|
+
}
|
|
200
|
+
window.removeEventListener("mousemove", this.mouseMove);
|
|
201
|
+
window.removeEventListener("mouseup", this.stopDragging, { capture: true });
|
|
202
|
+
this.stoppedDragging = true;
|
|
203
|
+
};
|
|
204
|
+
this.checkClick = (event) => {
|
|
205
|
+
const distance = Math.abs(this.startX - this.lastX);
|
|
206
|
+
const minimumReached = distance > this.distancePreventClick;
|
|
207
|
+
if (minimumReached) {
|
|
208
|
+
event.preventDefault();
|
|
209
|
+
}
|
|
210
|
+
this.lastX = null;
|
|
211
|
+
window.removeEventListener("click", this.checkClick, { capture: true });
|
|
212
|
+
};
|
|
213
|
+
this.autoplayInterval = () => {
|
|
214
|
+
this.scrolledByAutoplay = true;
|
|
215
|
+
if (this.hasReachedLastSlide()) {
|
|
216
|
+
this.slideTo(0);
|
|
217
|
+
}
|
|
218
|
+
else {
|
|
219
|
+
this.slideToNext();
|
|
220
|
+
}
|
|
221
|
+
};
|
|
222
|
+
this.localization = undefined;
|
|
223
|
+
this.variant = "default";
|
|
224
|
+
this.disabled = false;
|
|
225
|
+
this.slides = 1;
|
|
226
|
+
this.slidesSmall = 0;
|
|
227
|
+
this.slidesMedium = 0;
|
|
228
|
+
this.slidesLarge = 0;
|
|
229
|
+
this.slidesUltra = 0;
|
|
230
|
+
this.slide = 0;
|
|
231
|
+
this.autoplay = false;
|
|
232
|
+
this.tabThrough = false;
|
|
233
|
+
this.preventMouseDrag = false;
|
|
234
|
+
this.scrollTimeout = 100;
|
|
235
|
+
this.autoplayTimeout = 3000;
|
|
236
|
+
this.distanceQuickSwipe = 40;
|
|
237
|
+
this.distancePreventClick = 6;
|
|
238
|
+
this.autoplayRunning = false;
|
|
239
|
+
this.autoplayDisabledByMotionMedia = false;
|
|
240
|
+
this.autoplayDisabledByMouse = false;
|
|
241
|
+
this.autoplayDisabledByFocus = false;
|
|
242
|
+
this.dragging = false;
|
|
243
|
+
this.scrolling = false;
|
|
244
|
+
this.ariaLive = "";
|
|
245
|
+
this.currentSlides = 1;
|
|
246
|
+
this.currentSwipeSlides = 1;
|
|
247
|
+
this.slideElements = [];
|
|
248
|
+
this.previousElements = [];
|
|
249
|
+
this.nextElements = [];
|
|
250
|
+
this.navigationTextElements = [];
|
|
251
|
+
}
|
|
252
|
+
/** Scroll to a slide by index */
|
|
253
|
+
async slideTo(index, behaviour = "smooth") {
|
|
254
|
+
this.scrollToSlide(index, behaviour);
|
|
255
|
+
}
|
|
256
|
+
/** Scroll to previous snap point */
|
|
257
|
+
async slideToPrevious(behaviour = "smooth") {
|
|
258
|
+
this.scrollToPreviousSnapPoint(behaviour);
|
|
259
|
+
}
|
|
260
|
+
/** Scroll to next snap point */
|
|
261
|
+
async slideToNext(behaviour = "smooth") {
|
|
262
|
+
this.scrollToNextSnapPoint(behaviour);
|
|
263
|
+
}
|
|
264
|
+
disabledWatcher() {
|
|
265
|
+
if (this.disabled) {
|
|
266
|
+
this.scrollElement && this.scrollElement.removeEventListener("scroll", this.onScroll);
|
|
267
|
+
this.scrollTimeoutId && window.clearTimeout(this.scrollTimeoutId);
|
|
268
|
+
this.scrollTimeoutId = null;
|
|
269
|
+
this.element.removeEventListener("mouseenter", this.onMouseenter);
|
|
270
|
+
this.element.removeEventListener("mouseleave", this.onMouseleave);
|
|
271
|
+
this.element.removeEventListener("focusin", this.onFocusin);
|
|
272
|
+
this.element.removeEventListener("focusout", this.onFocusout);
|
|
273
|
+
this.onReducedMotionMediaChange();
|
|
274
|
+
reducedMotionMedia && reducedMotionMedia.removeEventListener("change", this.onReducedMotionMediaChange);
|
|
275
|
+
}
|
|
276
|
+
else {
|
|
277
|
+
this.scrollElement && this.scrollElement.addEventListener("scroll", this.onScroll, { passive: true });
|
|
278
|
+
this.element.addEventListener("mouseenter", this.onMouseenter);
|
|
279
|
+
this.element.addEventListener("mouseleave", this.onMouseleave);
|
|
280
|
+
this.element.addEventListener("focusin", this.onFocusin);
|
|
281
|
+
this.element.addEventListener("focusout", this.onFocusout);
|
|
282
|
+
reducedMotionMedia && reducedMotionMedia.addEventListener("change", this.onReducedMotionMediaChange);
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
preventMouseDragWatcher() {
|
|
286
|
+
if (this.preventMouseDrag || this.disabled) {
|
|
287
|
+
this.disableTimeoutId && window.clearTimeout(this.disableTimeoutId);
|
|
288
|
+
this.disableTimeoutId = null;
|
|
289
|
+
this.scrollElement && this.scrollElement.removeEventListener("mousedown", this.startDragging);
|
|
290
|
+
this.lastX = null;
|
|
291
|
+
}
|
|
292
|
+
else {
|
|
293
|
+
this.scrollElement && this.scrollElement.addEventListener("mousedown", this.startDragging);
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
autoplayRunningWatcher() {
|
|
297
|
+
if (!this.autoplay
|
|
298
|
+
|| this.disabled
|
|
299
|
+
|| this.autoplayDisabledByMotionMedia
|
|
300
|
+
|| this.autoplayDisabledByMouse
|
|
301
|
+
|| this.autoplayDisabledByFocus) {
|
|
302
|
+
this.autoplayIntervalId && window.clearInterval(this.autoplayIntervalId);
|
|
303
|
+
this.autoplayIntervalId = null;
|
|
304
|
+
this.autoplayRunning = false;
|
|
305
|
+
}
|
|
306
|
+
else {
|
|
307
|
+
this.autoplayIntervalId && window.clearInterval(this.autoplayIntervalId);
|
|
308
|
+
this.autoplayIntervalId = window.setInterval(this.autoplayInterval, this.autoplayTimeout);
|
|
309
|
+
this.autoplayRunning = true;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
snapAlignWatcher() {
|
|
313
|
+
this.slideElements.forEach((slide, index) => {
|
|
314
|
+
const shouldSnap = (index - this.currentSwipeSlides) % this.currentSwipeSlides === 0;
|
|
315
|
+
if (shouldSnap) {
|
|
316
|
+
slide.style.removeProperty("scroll-snap-align");
|
|
317
|
+
}
|
|
318
|
+
else {
|
|
319
|
+
slide.style.setProperty("scroll-snap-align", "none");
|
|
320
|
+
}
|
|
321
|
+
});
|
|
322
|
+
}
|
|
323
|
+
inertWatcher() {
|
|
324
|
+
this.slideElements.forEach((slide, index) => {
|
|
325
|
+
const isActive = this.tabThrough
|
|
326
|
+
|| this.variant === "cards"
|
|
327
|
+
|| index >= this.slide && index < this.slide + this.currentSlides;
|
|
328
|
+
slide.inert = !isActive;
|
|
329
|
+
if (isActive) {
|
|
330
|
+
slide.removeAttribute("aria-hidden");
|
|
331
|
+
}
|
|
332
|
+
else {
|
|
333
|
+
slide.setAttribute("aria-hidden", isActive ? "false" : "true");
|
|
334
|
+
}
|
|
335
|
+
});
|
|
336
|
+
}
|
|
337
|
+
prevNextNavigationWatcher() {
|
|
338
|
+
const tabThrough = this.tabThrough || this.variant === "cards";
|
|
339
|
+
const setAriaAttributes = (element) => {
|
|
340
|
+
const isStzh = isStzhElement(element);
|
|
341
|
+
if (tabThrough) {
|
|
342
|
+
element.setAttribute("aria-hidden", "true");
|
|
343
|
+
element.setAttribute(isStzh ? "a11y-tabindex" : "tabindex", "-1");
|
|
344
|
+
}
|
|
345
|
+
else {
|
|
346
|
+
element.removeAttribute("aria-hidden");
|
|
347
|
+
element.removeAttribute(isStzh ? "a11y-tabindex" : "tabindex");
|
|
348
|
+
}
|
|
349
|
+
};
|
|
350
|
+
this.nextElements.forEach(setAriaAttributes);
|
|
351
|
+
this.previousElements.forEach(setAriaAttributes);
|
|
352
|
+
}
|
|
353
|
+
prevNextHiddenWatcher() {
|
|
354
|
+
const hideElements = this.slideElements.length <= this.currentSlides;
|
|
355
|
+
const setHiddenAttribute = (element) => {
|
|
356
|
+
if (hideElements) {
|
|
357
|
+
element.setAttribute("hidden", "");
|
|
358
|
+
}
|
|
359
|
+
else {
|
|
360
|
+
element.removeAttribute("hidden");
|
|
361
|
+
}
|
|
362
|
+
};
|
|
363
|
+
this.navigationTextElements.forEach(setHiddenAttribute);
|
|
364
|
+
this.nextElements.forEach(setHiddenAttribute);
|
|
365
|
+
this.previousElements.forEach(setHiddenAttribute);
|
|
366
|
+
}
|
|
367
|
+
nextPrevDisabledWatcher() {
|
|
368
|
+
if (!this.scrollElement) {
|
|
369
|
+
return;
|
|
370
|
+
}
|
|
371
|
+
const reachedFirstSlide = this.slide === 0;
|
|
372
|
+
const reachedLastSlide = this.hasReachedLastSlide();
|
|
373
|
+
this.nextElements.forEach((element) => {
|
|
374
|
+
const isStzh = isStzhElement(element);
|
|
375
|
+
element.setAttribute(isStzh ? "a11y-disabled" : "aria-disabled", reachedLastSlide ? "true" : "false");
|
|
376
|
+
});
|
|
377
|
+
this.previousElements.forEach((element) => {
|
|
378
|
+
const isStzh = isStzhElement(element);
|
|
379
|
+
element.setAttribute(isStzh ? "a11y-disabled" : "aria-disabled", reachedFirstSlide ? "true" : "false");
|
|
380
|
+
});
|
|
381
|
+
}
|
|
382
|
+
nextElementsWatcher() {
|
|
383
|
+
this.nextElements.forEach((nextElement) => {
|
|
384
|
+
const isStzh = isStzhElement(nextElement);
|
|
385
|
+
nextElement.addEventListener("click", this.onNextClick);
|
|
386
|
+
nextElement.setAttribute(isStzh ? "a11y-controls" : "aria-controls", `${this.carouselId}-scroll`);
|
|
387
|
+
});
|
|
388
|
+
}
|
|
389
|
+
previousElementsWatcher() {
|
|
390
|
+
this.previousElements.forEach((previousElement) => {
|
|
391
|
+
const isStzh = isStzhElement(previousElement);
|
|
392
|
+
previousElement.addEventListener("click", this.onPreviousClick);
|
|
393
|
+
previousElement.setAttribute(isStzh ? "a11y-controls" : "aria-controls", `${this.carouselId}-scroll`);
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
scrollToSlide(index, behaviour = "smooth") {
|
|
397
|
+
if (this.disabled) {
|
|
398
|
+
return;
|
|
399
|
+
}
|
|
400
|
+
this.scrollElement.scrollTo({
|
|
401
|
+
left: index * this.itemSize,
|
|
402
|
+
behavior: reducedMotionMedia.matches ? "auto" : behaviour
|
|
403
|
+
});
|
|
404
|
+
}
|
|
405
|
+
/** Width of a slide */
|
|
406
|
+
sizingMethod() {
|
|
407
|
+
const css = window.getComputedStyle(this.scrollElement);
|
|
408
|
+
return this.scrollElement.firstElementChild.offsetWidth
|
|
409
|
+
+ parseInt(css.getPropertyValue("column-gap"), 10);
|
|
410
|
+
}
|
|
411
|
+
/**
|
|
412
|
+
* Calculates the active slide.
|
|
413
|
+
* The scroll-snap-type property makes sure that the container snaps perfectly to integer multiples.
|
|
414
|
+
*/
|
|
415
|
+
calculateSlide() {
|
|
416
|
+
// Math.round: Dispatch 'stzhSlidePassed' events around the center of each slide
|
|
417
|
+
// Math.ceil: Dispatch 'stzhSlidePassed' events as soon as the next one is visible
|
|
418
|
+
// Math.floor: Dispatch 'stzhSlidePassed' events only when the next one is fully visible
|
|
419
|
+
return Math.floor(this.scrollElement.scrollLeft / this.itemSize);
|
|
420
|
+
}
|
|
421
|
+
scrollToPreviousSnapPoint(behaviour = "smooth") {
|
|
422
|
+
if (this.disabled) {
|
|
423
|
+
return;
|
|
424
|
+
}
|
|
425
|
+
let previousIndex = this.slide;
|
|
426
|
+
let canSnap = false;
|
|
427
|
+
while (!canSnap && previousIndex > 0) {
|
|
428
|
+
previousIndex = previousIndex - 1;
|
|
429
|
+
canSnap = (previousIndex - this.currentSwipeSlides) % this.currentSwipeSlides === 0;
|
|
430
|
+
}
|
|
431
|
+
this.slideTo(previousIndex, behaviour);
|
|
432
|
+
}
|
|
433
|
+
scrollToNextSnapPoint(behaviour = "smooth") {
|
|
434
|
+
if (this.disabled) {
|
|
435
|
+
return;
|
|
436
|
+
}
|
|
437
|
+
this.slideTo(this.slide + this.currentSwipeSlides, behaviour);
|
|
438
|
+
}
|
|
439
|
+
update() {
|
|
440
|
+
this.slide = this.calculateSlide();
|
|
441
|
+
this.slideScrollLeft = this.slide * this.itemSize;
|
|
442
|
+
this.onMutation();
|
|
443
|
+
}
|
|
444
|
+
hasReachedLastSlide() {
|
|
445
|
+
const { scrollLeft, offsetWidth, scrollWidth } = this.scrollElement;
|
|
446
|
+
return Math.ceil(scrollLeft + offsetWidth) >= scrollWidth;
|
|
447
|
+
}
|
|
448
|
+
async componentWillLoad() {
|
|
449
|
+
this.carouselId = `stzh-carousel-${carouselCounter++}`;
|
|
450
|
+
this.onMediaChange();
|
|
451
|
+
if (!this.localization) {
|
|
452
|
+
this.localization = await fetchTranslations(this.element, "carousel");
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
componentDidLoad() {
|
|
456
|
+
this.itemSize = this.sizingMethod();
|
|
457
|
+
this.update();
|
|
458
|
+
this.disabledWatcher();
|
|
459
|
+
this.preventMouseDragWatcher();
|
|
460
|
+
this.autoplayRunningWatcher();
|
|
461
|
+
}
|
|
462
|
+
connectedCallback() {
|
|
463
|
+
addMediaChangeListener(this.onMediaChange);
|
|
464
|
+
this.resizeObserver = new ResizeObserver(this.onSlideResize);
|
|
465
|
+
this.resizeObserver.observe(this.element);
|
|
466
|
+
this.mutationObserver = new MutationObserver(this.onMutation);
|
|
467
|
+
this.mutationObserver.observe(this.element, {
|
|
468
|
+
childList: true,
|
|
469
|
+
subtree: true
|
|
470
|
+
});
|
|
471
|
+
}
|
|
472
|
+
disconnectedCallback() {
|
|
473
|
+
this.scrollTimeoutId && window.clearTimeout(this.scrollTimeoutId);
|
|
474
|
+
this.scrollTimeoutId = null;
|
|
475
|
+
this.disabled = true;
|
|
476
|
+
removeMediaChangeListener(this.onMediaChange);
|
|
477
|
+
if (this.resizeObserver) {
|
|
478
|
+
this.resizeObserver.disconnect();
|
|
479
|
+
}
|
|
480
|
+
if (this.mutationObserver) {
|
|
481
|
+
this.mutationObserver.disconnect();
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
render() {
|
|
485
|
+
const classes = {
|
|
486
|
+
"stzh-carousel": true,
|
|
487
|
+
"stzh-carousel--is-disabled": this.disabled,
|
|
488
|
+
"stzh-carousel--is-draggable": !this.preventMouseDrag,
|
|
489
|
+
"stzh-carousel--is-dragging": this.dragging,
|
|
490
|
+
"stzh-carousel--is-scrolling": this.scrolling,
|
|
491
|
+
"stzh-carousel--has-autoplay": this.autoplay,
|
|
492
|
+
"stzh-carousel--is-autoplay-running": this.autoplayRunning,
|
|
493
|
+
"stzh-carousel--is-autoplay-disabled-by-motion-media": this.autoplayDisabledByMotionMedia,
|
|
494
|
+
"stzh-carousel--is-autoplay-disabled-by-mouse": this.autoplayDisabledByMouse,
|
|
495
|
+
"stzh-carousel--is-autoplay-disabled-by-focus": this.autoplayDisabledByFocus
|
|
496
|
+
};
|
|
497
|
+
return (h(Host, { "aria-roledescription": "carousel", style: {
|
|
498
|
+
'--slides': this.currentSlides.toString()
|
|
499
|
+
} }, h("div", { class: classes }, h("slot", { name: "actions" }), h("div", { class: "stzh-carousel__vhidden", "aria-live": this.autoplayDisabledByFocus || this.autoplayDisabledByMouse ? "polite" : "off" }, this.ariaLive), h("div", { ref: (el) => (this.scrollElement = el), id: `${this.carouselId}-scroll`, class: "stzh-carousel__scroll" }, h("slot", null)))));
|
|
500
|
+
}
|
|
501
|
+
static get is() { return "stzh-carousel"; }
|
|
502
|
+
static get encapsulation() { return "scoped"; }
|
|
503
|
+
static get originalStyleUrls() {
|
|
504
|
+
return {
|
|
505
|
+
"$": ["stzh-carousel.scss"]
|
|
506
|
+
};
|
|
507
|
+
}
|
|
508
|
+
static get styleUrls() {
|
|
509
|
+
return {
|
|
510
|
+
"$": ["stzh-carousel.css"]
|
|
511
|
+
};
|
|
512
|
+
}
|
|
513
|
+
static get properties() {
|
|
514
|
+
return {
|
|
515
|
+
"localization": {
|
|
516
|
+
"type": "unknown",
|
|
517
|
+
"mutable": false,
|
|
518
|
+
"complexType": {
|
|
519
|
+
"original": "StzhCarouselLocalizedText",
|
|
520
|
+
"resolved": "StzhLocaleComponent & { slideLabel: string; slidesLabel: string; }",
|
|
521
|
+
"references": {
|
|
522
|
+
"StzhCarouselLocalizedText": {
|
|
523
|
+
"location": "import",
|
|
524
|
+
"path": "./stzh-carousel.localization"
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
},
|
|
528
|
+
"required": false,
|
|
529
|
+
"optional": false,
|
|
530
|
+
"docs": {
|
|
531
|
+
"tags": [],
|
|
532
|
+
"text": "Translation strings"
|
|
533
|
+
}
|
|
534
|
+
},
|
|
535
|
+
"variant": {
|
|
536
|
+
"type": "string",
|
|
537
|
+
"mutable": false,
|
|
538
|
+
"complexType": {
|
|
539
|
+
"original": "\"default\" | \"cards\"",
|
|
540
|
+
"resolved": "\"cards\" | \"default\"",
|
|
541
|
+
"references": {}
|
|
542
|
+
},
|
|
543
|
+
"required": false,
|
|
544
|
+
"optional": false,
|
|
545
|
+
"docs": {
|
|
546
|
+
"tags": [],
|
|
547
|
+
"text": "Carousel variant"
|
|
548
|
+
},
|
|
549
|
+
"attribute": "variant",
|
|
550
|
+
"reflect": true,
|
|
551
|
+
"defaultValue": "\"default\""
|
|
552
|
+
},
|
|
553
|
+
"disabled": {
|
|
554
|
+
"type": "boolean",
|
|
555
|
+
"mutable": false,
|
|
556
|
+
"complexType": {
|
|
557
|
+
"original": "boolean",
|
|
558
|
+
"resolved": "boolean",
|
|
559
|
+
"references": {}
|
|
560
|
+
},
|
|
561
|
+
"required": false,
|
|
562
|
+
"optional": false,
|
|
563
|
+
"docs": {
|
|
564
|
+
"tags": [],
|
|
565
|
+
"text": "Whether carousel is disabled"
|
|
566
|
+
},
|
|
567
|
+
"attribute": "disabled",
|
|
568
|
+
"reflect": true,
|
|
569
|
+
"defaultValue": "false"
|
|
570
|
+
},
|
|
571
|
+
"slides": {
|
|
572
|
+
"type": "number",
|
|
573
|
+
"mutable": false,
|
|
574
|
+
"complexType": {
|
|
575
|
+
"original": "number",
|
|
576
|
+
"resolved": "number",
|
|
577
|
+
"references": {}
|
|
578
|
+
},
|
|
579
|
+
"required": false,
|
|
580
|
+
"optional": false,
|
|
581
|
+
"docs": {
|
|
582
|
+
"tags": [],
|
|
583
|
+
"text": "Slides number"
|
|
584
|
+
},
|
|
585
|
+
"attribute": "slides",
|
|
586
|
+
"reflect": false,
|
|
587
|
+
"defaultValue": "1"
|
|
588
|
+
},
|
|
589
|
+
"slidesSmall": {
|
|
590
|
+
"type": "number",
|
|
591
|
+
"mutable": false,
|
|
592
|
+
"complexType": {
|
|
593
|
+
"original": "number",
|
|
594
|
+
"resolved": "number",
|
|
595
|
+
"references": {}
|
|
596
|
+
},
|
|
597
|
+
"required": false,
|
|
598
|
+
"optional": false,
|
|
599
|
+
"docs": {
|
|
600
|
+
"tags": [],
|
|
601
|
+
"text": "Slides number above small breakpoint"
|
|
602
|
+
},
|
|
603
|
+
"attribute": "slides-small",
|
|
604
|
+
"reflect": false,
|
|
605
|
+
"defaultValue": "0"
|
|
606
|
+
},
|
|
607
|
+
"slidesMedium": {
|
|
608
|
+
"type": "number",
|
|
609
|
+
"mutable": false,
|
|
610
|
+
"complexType": {
|
|
611
|
+
"original": "number",
|
|
612
|
+
"resolved": "number",
|
|
613
|
+
"references": {}
|
|
614
|
+
},
|
|
615
|
+
"required": false,
|
|
616
|
+
"optional": false,
|
|
617
|
+
"docs": {
|
|
618
|
+
"tags": [],
|
|
619
|
+
"text": "Slides number above medium breakpoint"
|
|
620
|
+
},
|
|
621
|
+
"attribute": "slides-medium",
|
|
622
|
+
"reflect": false,
|
|
623
|
+
"defaultValue": "0"
|
|
624
|
+
},
|
|
625
|
+
"slidesLarge": {
|
|
626
|
+
"type": "number",
|
|
627
|
+
"mutable": false,
|
|
628
|
+
"complexType": {
|
|
629
|
+
"original": "number",
|
|
630
|
+
"resolved": "number",
|
|
631
|
+
"references": {}
|
|
632
|
+
},
|
|
633
|
+
"required": false,
|
|
634
|
+
"optional": false,
|
|
635
|
+
"docs": {
|
|
636
|
+
"tags": [],
|
|
637
|
+
"text": "Slides number above large breakpoint"
|
|
638
|
+
},
|
|
639
|
+
"attribute": "slides-large",
|
|
640
|
+
"reflect": false,
|
|
641
|
+
"defaultValue": "0"
|
|
642
|
+
},
|
|
643
|
+
"slidesUltra": {
|
|
644
|
+
"type": "number",
|
|
645
|
+
"mutable": false,
|
|
646
|
+
"complexType": {
|
|
647
|
+
"original": "number",
|
|
648
|
+
"resolved": "number",
|
|
649
|
+
"references": {}
|
|
650
|
+
},
|
|
651
|
+
"required": false,
|
|
652
|
+
"optional": false,
|
|
653
|
+
"docs": {
|
|
654
|
+
"tags": [],
|
|
655
|
+
"text": "Slides number above ultra breakpoint"
|
|
656
|
+
},
|
|
657
|
+
"attribute": "slides-ultra",
|
|
658
|
+
"reflect": false,
|
|
659
|
+
"defaultValue": "0"
|
|
660
|
+
},
|
|
661
|
+
"slide": {
|
|
662
|
+
"type": "number",
|
|
663
|
+
"mutable": false,
|
|
664
|
+
"complexType": {
|
|
665
|
+
"original": "number",
|
|
666
|
+
"resolved": "number",
|
|
667
|
+
"references": {}
|
|
668
|
+
},
|
|
669
|
+
"required": false,
|
|
670
|
+
"optional": false,
|
|
671
|
+
"docs": {
|
|
672
|
+
"tags": [],
|
|
673
|
+
"text": "Active slide (readonly)"
|
|
674
|
+
},
|
|
675
|
+
"attribute": "slide",
|
|
676
|
+
"reflect": false,
|
|
677
|
+
"defaultValue": "0"
|
|
678
|
+
},
|
|
679
|
+
"autoplay": {
|
|
680
|
+
"type": "boolean",
|
|
681
|
+
"mutable": true,
|
|
682
|
+
"complexType": {
|
|
683
|
+
"original": "boolean",
|
|
684
|
+
"resolved": "boolean",
|
|
685
|
+
"references": {}
|
|
686
|
+
},
|
|
687
|
+
"required": false,
|
|
688
|
+
"optional": false,
|
|
689
|
+
"docs": {
|
|
690
|
+
"tags": [],
|
|
691
|
+
"text": "Whether autoplay is enabled.\nGets paused, when user has focus inside carousel element or hovers over it.\nAlso when reduced motion media query is active or carousel is set disabled.\nGets disabled permanently, when user interacts with carousel manually (clicks prev/next, scrolls or drags)"
|
|
692
|
+
},
|
|
693
|
+
"attribute": "autoplay",
|
|
694
|
+
"reflect": false,
|
|
695
|
+
"defaultValue": "false"
|
|
696
|
+
},
|
|
697
|
+
"tabThrough": {
|
|
698
|
+
"type": "boolean",
|
|
699
|
+
"mutable": false,
|
|
700
|
+
"complexType": {
|
|
701
|
+
"original": "boolean",
|
|
702
|
+
"resolved": "boolean",
|
|
703
|
+
"references": {}
|
|
704
|
+
},
|
|
705
|
+
"required": false,
|
|
706
|
+
"optional": false,
|
|
707
|
+
"docs": {
|
|
708
|
+
"tags": [],
|
|
709
|
+
"text": "Enable all slides to be tabbable (will disable prev/next arrows from being tabbable).\nBy default only the visible slides will be tabbable and the prev/next can be used to change slides\n(enabled when `variant` is set to `cards`)."
|
|
710
|
+
},
|
|
711
|
+
"attribute": "tab-through",
|
|
712
|
+
"reflect": false,
|
|
713
|
+
"defaultValue": "false"
|
|
714
|
+
}
|
|
715
|
+
};
|
|
716
|
+
}
|
|
717
|
+
static get states() {
|
|
718
|
+
return {
|
|
719
|
+
"preventMouseDrag": {},
|
|
720
|
+
"scrollTimeout": {},
|
|
721
|
+
"autoplayTimeout": {},
|
|
722
|
+
"distanceQuickSwipe": {},
|
|
723
|
+
"distancePreventClick": {},
|
|
724
|
+
"autoplayRunning": {},
|
|
725
|
+
"autoplayDisabledByMotionMedia": {},
|
|
726
|
+
"autoplayDisabledByMouse": {},
|
|
727
|
+
"autoplayDisabledByFocus": {},
|
|
728
|
+
"dragging": {},
|
|
729
|
+
"scrolling": {},
|
|
730
|
+
"ariaLive": {},
|
|
731
|
+
"currentSlides": {},
|
|
732
|
+
"currentSwipeSlides": {},
|
|
733
|
+
"slideElements": {},
|
|
734
|
+
"previousElements": {},
|
|
735
|
+
"nextElements": {},
|
|
736
|
+
"navigationTextElements": {}
|
|
737
|
+
};
|
|
738
|
+
}
|
|
739
|
+
static get events() {
|
|
740
|
+
return [{
|
|
741
|
+
"method": "stzhSlideStart",
|
|
742
|
+
"name": "stzhSlideStart",
|
|
743
|
+
"bubbles": true,
|
|
744
|
+
"cancelable": true,
|
|
745
|
+
"composed": true,
|
|
746
|
+
"docs": {
|
|
747
|
+
"tags": [],
|
|
748
|
+
"text": "Slide start event"
|
|
749
|
+
},
|
|
750
|
+
"complexType": {
|
|
751
|
+
"original": "StzhCarouselSlideStartEvent",
|
|
752
|
+
"resolved": "{ component: \"stzh-carousel\"; index: number; }",
|
|
753
|
+
"references": {
|
|
754
|
+
"StzhCarouselSlideStartEvent": {
|
|
755
|
+
"location": "import",
|
|
756
|
+
"path": "../../index"
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
}, {
|
|
761
|
+
"method": "stzhSlidePassed",
|
|
762
|
+
"name": "stzhSlidePassed",
|
|
763
|
+
"bubbles": true,
|
|
764
|
+
"cancelable": true,
|
|
765
|
+
"composed": true,
|
|
766
|
+
"docs": {
|
|
767
|
+
"tags": [],
|
|
768
|
+
"text": "Slide passed event"
|
|
769
|
+
},
|
|
770
|
+
"complexType": {
|
|
771
|
+
"original": "StzhCarouselSlidePassedEvent",
|
|
772
|
+
"resolved": "{ component: \"stzh-carousel\"; index: number; }",
|
|
773
|
+
"references": {
|
|
774
|
+
"StzhCarouselSlidePassedEvent": {
|
|
775
|
+
"location": "import",
|
|
776
|
+
"path": "../../index"
|
|
777
|
+
}
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
}, {
|
|
781
|
+
"method": "stzhSlideEnd",
|
|
782
|
+
"name": "stzhSlideEnd",
|
|
783
|
+
"bubbles": true,
|
|
784
|
+
"cancelable": true,
|
|
785
|
+
"composed": true,
|
|
786
|
+
"docs": {
|
|
787
|
+
"tags": [],
|
|
788
|
+
"text": "Slide end event"
|
|
789
|
+
},
|
|
790
|
+
"complexType": {
|
|
791
|
+
"original": "StzhCarouselSlideEndEvent",
|
|
792
|
+
"resolved": "{ component: \"stzh-carousel\"; index: number; }",
|
|
793
|
+
"references": {
|
|
794
|
+
"StzhCarouselSlideEndEvent": {
|
|
795
|
+
"location": "import",
|
|
796
|
+
"path": "../../index"
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
}
|
|
800
|
+
}];
|
|
801
|
+
}
|
|
802
|
+
static get methods() {
|
|
803
|
+
return {
|
|
804
|
+
"slideTo": {
|
|
805
|
+
"complexType": {
|
|
806
|
+
"signature": "(index: any, behaviour?: \"auto\" | \"smooth\") => Promise<void>",
|
|
807
|
+
"parameters": [{
|
|
808
|
+
"tags": [],
|
|
809
|
+
"text": ""
|
|
810
|
+
}, {
|
|
811
|
+
"tags": [],
|
|
812
|
+
"text": ""
|
|
813
|
+
}],
|
|
814
|
+
"references": {
|
|
815
|
+
"Promise": {
|
|
816
|
+
"location": "global"
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
"return": "Promise<void>"
|
|
820
|
+
},
|
|
821
|
+
"docs": {
|
|
822
|
+
"text": "Scroll to a slide by index",
|
|
823
|
+
"tags": []
|
|
824
|
+
}
|
|
825
|
+
},
|
|
826
|
+
"slideToPrevious": {
|
|
827
|
+
"complexType": {
|
|
828
|
+
"signature": "(behaviour?: \"auto\" | \"smooth\") => Promise<void>",
|
|
829
|
+
"parameters": [{
|
|
830
|
+
"tags": [],
|
|
831
|
+
"text": ""
|
|
832
|
+
}],
|
|
833
|
+
"references": {
|
|
834
|
+
"Promise": {
|
|
835
|
+
"location": "global"
|
|
836
|
+
}
|
|
837
|
+
},
|
|
838
|
+
"return": "Promise<void>"
|
|
839
|
+
},
|
|
840
|
+
"docs": {
|
|
841
|
+
"text": "Scroll to previous snap point",
|
|
842
|
+
"tags": []
|
|
843
|
+
}
|
|
844
|
+
},
|
|
845
|
+
"slideToNext": {
|
|
846
|
+
"complexType": {
|
|
847
|
+
"signature": "(behaviour?: \"auto\" | \"smooth\") => Promise<void>",
|
|
848
|
+
"parameters": [{
|
|
849
|
+
"tags": [],
|
|
850
|
+
"text": ""
|
|
851
|
+
}],
|
|
852
|
+
"references": {
|
|
853
|
+
"Promise": {
|
|
854
|
+
"location": "global"
|
|
855
|
+
}
|
|
856
|
+
},
|
|
857
|
+
"return": "Promise<void>"
|
|
858
|
+
},
|
|
859
|
+
"docs": {
|
|
860
|
+
"text": "Scroll to next snap point",
|
|
861
|
+
"tags": []
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
};
|
|
865
|
+
}
|
|
866
|
+
static get elementRef() { return "element"; }
|
|
867
|
+
static get watchers() {
|
|
868
|
+
return [{
|
|
869
|
+
"propName": "disabled",
|
|
870
|
+
"methodName": "disabledWatcher"
|
|
871
|
+
}, {
|
|
872
|
+
"propName": "disabled",
|
|
873
|
+
"methodName": "preventMouseDragWatcher"
|
|
874
|
+
}, {
|
|
875
|
+
"propName": "preventMouseDrag",
|
|
876
|
+
"methodName": "preventMouseDragWatcher"
|
|
877
|
+
}, {
|
|
878
|
+
"propName": "autoplay",
|
|
879
|
+
"methodName": "autoplayRunningWatcher"
|
|
880
|
+
}, {
|
|
881
|
+
"propName": "autoplayDisabledByMotionMedia",
|
|
882
|
+
"methodName": "autoplayRunningWatcher"
|
|
883
|
+
}, {
|
|
884
|
+
"propName": "autoplayDisabledByMouse",
|
|
885
|
+
"methodName": "autoplayRunningWatcher"
|
|
886
|
+
}, {
|
|
887
|
+
"propName": "autoplayDisabledByFocus",
|
|
888
|
+
"methodName": "autoplayRunningWatcher"
|
|
889
|
+
}, {
|
|
890
|
+
"propName": "autoplayTimeout",
|
|
891
|
+
"methodName": "autoplayRunningWatcher"
|
|
892
|
+
}, {
|
|
893
|
+
"propName": "disabled",
|
|
894
|
+
"methodName": "autoplayRunningWatcher"
|
|
895
|
+
}, {
|
|
896
|
+
"propName": "slideElements",
|
|
897
|
+
"methodName": "snapAlignWatcher"
|
|
898
|
+
}, {
|
|
899
|
+
"propName": "currentSwipeSlides",
|
|
900
|
+
"methodName": "snapAlignWatcher"
|
|
901
|
+
}, {
|
|
902
|
+
"propName": "slide",
|
|
903
|
+
"methodName": "inertWatcher"
|
|
904
|
+
}, {
|
|
905
|
+
"propName": "variant",
|
|
906
|
+
"methodName": "inertWatcher"
|
|
907
|
+
}, {
|
|
908
|
+
"propName": "slideElements",
|
|
909
|
+
"methodName": "inertWatcher"
|
|
910
|
+
}, {
|
|
911
|
+
"propName": "currentSlides",
|
|
912
|
+
"methodName": "inertWatcher"
|
|
913
|
+
}, {
|
|
914
|
+
"propName": "tabThrough",
|
|
915
|
+
"methodName": "inertWatcher"
|
|
916
|
+
}, {
|
|
917
|
+
"propName": "variant",
|
|
918
|
+
"methodName": "prevNextNavigationWatcher"
|
|
919
|
+
}, {
|
|
920
|
+
"propName": "tabThrough",
|
|
921
|
+
"methodName": "prevNextNavigationWatcher"
|
|
922
|
+
}, {
|
|
923
|
+
"propName": "nextElements",
|
|
924
|
+
"methodName": "prevNextNavigationWatcher"
|
|
925
|
+
}, {
|
|
926
|
+
"propName": "previousElements",
|
|
927
|
+
"methodName": "prevNextNavigationWatcher"
|
|
928
|
+
}, {
|
|
929
|
+
"propName": "currentSlides",
|
|
930
|
+
"methodName": "prevNextHiddenWatcher"
|
|
931
|
+
}, {
|
|
932
|
+
"propName": "slideElements",
|
|
933
|
+
"methodName": "prevNextHiddenWatcher"
|
|
934
|
+
}, {
|
|
935
|
+
"propName": "nextElements",
|
|
936
|
+
"methodName": "prevNextHiddenWatcher"
|
|
937
|
+
}, {
|
|
938
|
+
"propName": "previousElements",
|
|
939
|
+
"methodName": "prevNextHiddenWatcher"
|
|
940
|
+
}, {
|
|
941
|
+
"propName": "navigationTextElements",
|
|
942
|
+
"methodName": "prevNextHiddenWatcher"
|
|
943
|
+
}, {
|
|
944
|
+
"propName": "slide",
|
|
945
|
+
"methodName": "nextPrevDisabledWatcher"
|
|
946
|
+
}, {
|
|
947
|
+
"propName": "currentSlides",
|
|
948
|
+
"methodName": "nextPrevDisabledWatcher"
|
|
949
|
+
}, {
|
|
950
|
+
"propName": "slideElements",
|
|
951
|
+
"methodName": "nextPrevDisabledWatcher"
|
|
952
|
+
}, {
|
|
953
|
+
"propName": "nextElements",
|
|
954
|
+
"methodName": "nextPrevDisabledWatcher"
|
|
955
|
+
}, {
|
|
956
|
+
"propName": "previousElements",
|
|
957
|
+
"methodName": "nextPrevDisabledWatcher"
|
|
958
|
+
}, {
|
|
959
|
+
"propName": "nextElements",
|
|
960
|
+
"methodName": "nextElementsWatcher"
|
|
961
|
+
}, {
|
|
962
|
+
"propName": "previousElements",
|
|
963
|
+
"methodName": "previousElementsWatcher"
|
|
964
|
+
}];
|
|
965
|
+
}
|
|
966
|
+
}
|