@oiz/stzh-components 0.0.1-pretest → 1.4.0-npmjstest
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/LICENSE +21 -21
- package/README.md +56 -56
- package/dist/cjs/{animation-utils-c816beac.js → animation-utils-cfa35ce7.js} +37 -37
- package/dist/cjs/{app-globals-83a6c2d3.js → app-globals-e07b8f5f.js} +42 -42
- package/dist/cjs/{arrow-70a32014.js → arrow-3c3b0ae5.js} +3 -3
- package/dist/cjs/{date-adapter-2ffd8eaf.js → date-adapter-2a78f6f8.js} +85 -85
- package/dist/cjs/{date-utils-898a50be.js → date-utils-bb50c91f.js} +156 -156
- package/dist/cjs/{event-utils-4d7d610a.js → event-utils-9b64c792.js} +13 -13
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{media-utils-f1720906.js → media-utils-8cfc8591.js} +19 -19
- package/dist/cjs/{string-utils-223b03e2.js → string-utils-a867b99d.js} +12 -12
- package/dist/cjs/stzh-accordion-item.cjs.entry.js +170 -170
- package/dist/cjs/stzh-accordion.cjs.entry.js +63 -63
- package/dist/cjs/stzh-actions.cjs.entry.js +42 -42
- package/dist/cjs/stzh-appnav.cjs.entry.js +39 -39
- package/dist/cjs/stzh-appointments.cjs.entry.js +260 -260
- package/dist/cjs/stzh-badge_3.cjs.entry.js +146 -146
- package/dist/cjs/stzh-calendar.cjs.entry.js +291 -291
- package/dist/cjs/stzh-cell.cjs.entry.js +24 -24
- package/dist/cjs/stzh-checkbox.cjs.entry.js +123 -123
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +157 -157
- package/dist/cjs/stzh-chip-select.cjs.entry.js +55 -55
- package/dist/cjs/stzh-chip.cjs.entry.js +90 -90
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-container.cjs.entry.js +8 -8
- package/dist/cjs/stzh-cspace.cjs.entry.js +11 -11
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +92 -92
- package/dist/cjs/stzh-datamessagelist.cjs.entry.js +12 -12
- package/dist/cjs/stzh-datatable.cjs.entry.js +201 -201
- package/dist/cjs/stzh-datepicker_4.cjs.entry.js +458 -458
- package/dist/cjs/stzh-dialog.cjs.entry.js +179 -179
- package/dist/cjs/stzh-dropdown.cjs.entry.js +450 -450
- package/dist/cjs/stzh-fieldset.cjs.entry.js +24 -24
- package/dist/cjs/stzh-figure.cjs.entry.js +19 -19
- package/dist/cjs/stzh-flyingfocus.cjs.entry.js +167 -167
- package/dist/cjs/stzh-footer.cjs.entry.js +56 -56
- package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +132 -132
- package/dist/cjs/stzh-header.cjs.entry.js +151 -151
- package/dist/cjs/stzh-heading.cjs.entry.js +21 -21
- package/dist/cjs/stzh-hr.cjs.entry.js +12 -12
- package/dist/cjs/stzh-hspace.cjs.entry.js +30 -30
- package/dist/cjs/stzh-icon-sprite.cjs.entry.js +9 -9
- package/dist/cjs/{stzh-input-description-9ed61d1d.js → stzh-input-description-9802abc2.js} +15 -15
- package/dist/cjs/stzh-input.cjs.entry.js +181 -181
- package/dist/cjs/stzh-link.cjs.entry.js +95 -95
- package/dist/cjs/stzh-list-item.cjs.entry.js +15 -15
- package/dist/cjs/stzh-list.cjs.entry.js +15 -15
- package/dist/cjs/stzh-loader.cjs.entry.js +20 -20
- package/dist/cjs/stzh-loadingbar.cjs.entry.js +22 -22
- package/dist/cjs/stzh-menu_2.cjs.entry.js +81 -81
- package/dist/cjs/stzh-message.cjs.entry.js +72 -72
- package/dist/cjs/stzh-metanav.cjs.entry.js +26 -26
- package/dist/cjs/stzh-overlay.cjs.entry.js +88 -88
- package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +26 -26
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +61 -61
- package/dist/cjs/stzh-popover.cjs.entry.js +349 -349
- package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +12 -12
- package/dist/cjs/stzh-progressbar-item.cjs.entry.js +46 -46
- package/dist/cjs/stzh-progressbar.cjs.entry.js +114 -114
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +47 -47
- package/dist/cjs/stzh-row.cjs.entry.js +29 -29
- package/dist/cjs/stzh-saptcha.cjs.entry.js +70 -70
- package/dist/cjs/stzh-section.cjs.entry.js +13 -13
- package/dist/cjs/stzh-servicecard-list.cjs.entry.js +45 -45
- package/dist/cjs/stzh-servicecard.cjs.entry.js +201 -201
- package/dist/cjs/stzh-skiplink.cjs.entry.js +16 -16
- package/dist/cjs/stzh-sortable.cjs.entry.js +288 -288
- package/dist/cjs/stzh-status.cjs.entry.js +25 -25
- package/dist/cjs/stzh-table.cjs.entry.js +132 -132
- package/dist/cjs/stzh-toggle.cjs.entry.js +123 -123
- package/dist/cjs/stzh-tooltip.cjs.entry.js +310 -310
- package/dist/cjs/stzh-upload.cjs.entry.js +440 -440
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +71 -71
- package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +95 -95
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +171 -171
- package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +10 -10
- package/dist/cjs/stzh-vspace.cjs.entry.js +30 -30
- package/dist/cjs/{translation-utils-2dbbce94.js → translation-utils-73073e44.js} +54 -54
- package/dist/cjs/{utils-e84f4a8d.js → utils-d327c19d.js} +30 -30
- package/dist/collection/assets/favicons/browserconfig.xml +9 -9
- package/dist/collection/assets/favicons/site.webmanifest +19 -19
- package/dist/collection/assets/fonts.css +39 -39
- package/dist/collection/assets/i18n/de.json +154 -154
- package/dist/collection/assets/i18n/en.json +154 -154
- package/dist/collection/assets/icons/mono/alarm-bell.svg +3 -3
- package/dist/collection/assets/icons/mono/angle-down.svg +3 -3
- package/dist/collection/assets/icons/mono/angle-left.svg +3 -3
- package/dist/collection/assets/icons/mono/angle-right.svg +3 -3
- package/dist/collection/assets/icons/mono/angle-up.svg +3 -3
- package/dist/collection/assets/icons/mono/archive-box.svg +3 -3
- package/dist/collection/assets/icons/mono/arrow-down.svg +3 -3
- package/dist/collection/assets/icons/mono/arrow-left-circle.svg +4 -4
- package/dist/collection/assets/icons/mono/arrow-left.svg +3 -3
- package/dist/collection/assets/icons/mono/arrow-right-long.svg +3 -3
- package/dist/collection/assets/icons/mono/arrow-right.svg +3 -3
- package/dist/collection/assets/icons/mono/arrow-up.svg +3 -3
- package/dist/collection/assets/icons/mono/bulleted-list.svg +3 -3
- package/dist/collection/assets/icons/mono/calendar.svg +3 -3
- package/dist/collection/assets/icons/mono/cart.svg +3 -3
- package/dist/collection/assets/icons/mono/checkmark-circle.svg +3 -3
- package/dist/collection/assets/icons/mono/checkmark.svg +3 -3
- package/dist/collection/assets/icons/mono/clock.svg +3 -3
- package/dist/collection/assets/icons/mono/close-circle.svg +3 -3
- package/dist/collection/assets/icons/mono/close.svg +3 -3
- package/dist/collection/assets/icons/mono/compass-direction.svg +3 -3
- package/dist/collection/assets/icons/mono/compass-north.svg +4 -4
- package/dist/collection/assets/icons/mono/construction.svg +3 -3
- package/dist/collection/assets/icons/mono/copy.svg +3 -3
- package/dist/collection/assets/icons/mono/delete.svg +3 -3
- package/dist/collection/assets/icons/mono/download.svg +3 -3
- package/dist/collection/assets/icons/mono/drag.svg +10 -10
- package/dist/collection/assets/icons/mono/edit.svg +3 -3
- package/dist/collection/assets/icons/mono/email-check.svg +10 -10
- package/dist/collection/assets/icons/mono/expand.svg +3 -3
- package/dist/collection/assets/icons/mono/external-link.svg +4 -4
- package/dist/collection/assets/icons/mono/facebook-comment.svg +3 -3
- package/dist/collection/assets/icons/mono/facebook.svg +10 -10
- package/dist/collection/assets/icons/mono/file.svg +3 -3
- package/dist/collection/assets/icons/mono/filtering.svg +3 -3
- package/dist/collection/assets/icons/mono/flag.svg +10 -10
- package/dist/collection/assets/icons/mono/focus.svg +3 -3
- package/dist/collection/assets/icons/mono/gear.svg +3 -3
- package/dist/collection/assets/icons/mono/heart.svg +10 -10
- package/dist/collection/assets/icons/mono/home.svg +10 -10
- package/dist/collection/assets/icons/mono/important-warning.svg +3 -3
- package/dist/collection/assets/icons/mono/info-help.svg +3 -3
- package/dist/collection/assets/icons/mono/instagram.svg +3 -3
- package/dist/collection/assets/icons/mono/like-hand.svg +10 -10
- package/dist/collection/assets/icons/mono/linkedin.svg +5 -5
- package/dist/collection/assets/icons/mono/list-expanded.svg +4 -4
- package/dist/collection/assets/icons/mono/list-shrinked.svg +3 -3
- package/dist/collection/assets/icons/mono/lock.svg +10 -10
- package/dist/collection/assets/icons/mono/mail.svg +10 -10
- package/dist/collection/assets/icons/mono/map.svg +3 -3
- package/dist/collection/assets/icons/mono/menu.svg +3 -3
- package/dist/collection/assets/icons/mono/minus.svg +3 -3
- package/dist/collection/assets/icons/mono/more-horizontal.svg +5 -5
- package/dist/collection/assets/icons/mono/more-vertical.svg +5 -5
- package/dist/collection/assets/icons/mono/paper-clip.svg +10 -10
- package/dist/collection/assets/icons/mono/phone.svg +10 -10
- package/dist/collection/assets/icons/mono/pin-location.svg +10 -10
- package/dist/collection/assets/icons/mono/pin.svg +11 -11
- package/dist/collection/assets/icons/mono/play-1.svg +4 -4
- package/dist/collection/assets/icons/mono/play-button.svg +11 -11
- package/dist/collection/assets/icons/mono/play.svg +10 -10
- package/dist/collection/assets/icons/mono/plus.svg +3 -3
- package/dist/collection/assets/icons/mono/portfolio-grid.svg +11 -11
- package/dist/collection/assets/icons/mono/print.svg +10 -10
- package/dist/collection/assets/icons/mono/question-help.svg +3 -3
- package/dist/collection/assets/icons/mono/read-mail.svg +10 -10
- package/dist/collection/assets/icons/mono/reload.svg +10 -10
- package/dist/collection/assets/icons/mono/reset-time.svg +10 -10
- package/dist/collection/assets/icons/mono/reset.svg +10 -10
- package/dist/collection/assets/icons/mono/resize.svg +8 -8
- package/dist/collection/assets/icons/mono/rss.svg +12 -12
- package/dist/collection/assets/icons/mono/search.svg +3 -3
- package/dist/collection/assets/icons/mono/services.svg +6 -6
- package/dist/collection/assets/icons/mono/share.svg +3 -3
- package/dist/collection/assets/icons/mono/shrink.svg +3 -3
- package/dist/collection/assets/icons/mono/silent-mode.svg +3 -3
- package/dist/collection/assets/icons/mono/social-media.svg +23 -23
- package/dist/collection/assets/icons/mono/star-filled.svg +3 -3
- package/dist/collection/assets/icons/mono/star.svg +3 -3
- package/dist/collection/assets/icons/mono/subtitle.svg +3 -3
- package/dist/collection/assets/icons/mono/team.svg +10 -10
- package/dist/collection/assets/icons/mono/text-message.svg +6 -6
- package/dist/collection/assets/icons/mono/thermometer.svg +10 -10
- package/dist/collection/assets/icons/mono/transcript.svg +3 -3
- package/dist/collection/assets/icons/mono/twitter-reply.svg +3 -3
- package/dist/collection/assets/icons/mono/twitter-retweet.svg +3 -3
- package/dist/collection/assets/icons/mono/twitter.svg +10 -10
- package/dist/collection/assets/icons/mono/unlock.svg +10 -10
- package/dist/collection/assets/icons/mono/user.svg +3 -3
- package/dist/collection/assets/icons/mono/view-hidden.svg +3 -3
- package/dist/collection/assets/icons/mono/view.svg +4 -4
- package/dist/collection/assets/icons/mono/volume-medium.svg +3 -3
- package/dist/collection/assets/icons/mono/warning-big.svg +4 -4
- package/dist/collection/assets/icons/mono/warning.svg +3 -3
- package/dist/collection/assets/icons/mono/web-Link.svg +3 -3
- package/dist/collection/assets/icons/mono/wifi-signal.svg +3 -3
- package/dist/collection/assets/icons/mono/world-globe.svg +10 -10
- package/dist/collection/assets/icons/mono/xing.svg +11 -11
- package/dist/collection/assets/polyfills/ie11CustomProperties.min.js +8 -8
- package/dist/collection/assets/polyfills/intersection-observer.min.js +7 -7
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.Common.Settings.js +278 -278
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.Core.js +544 -544
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.HL.js +1111 -1111
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.PlayerAPI.js +211 -211
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.js +257 -257
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.lib.Facade.adapter.jquery.js +120 -120
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.lib.RSLib.js +796 -796
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.pub.Config.js +384 -384
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.ui.js +1241 -1241
- package/dist/collection/assets/vendors/readspeaker/ReadSpeakerClassic.css +357 -357
- package/dist/collection/assets/vendors/readspeaker/ReadSpeakerClassic.js +51 -51
- package/dist/collection/assets/vendors/readspeaker/mods/enlargeHL/ReadSpeaker.enlargeHL.js +24 -24
- package/dist/collection/components/stzh-accordion/stzh-accordion.js +156 -156
- package/dist/collection/components/stzh-accordion/stzh-accordion.stories.js +52 -52
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +429 -429
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.stories.js +45 -45
- package/dist/collection/components/stzh-actions/stzh-actions.js +98 -98
- package/dist/collection/components/stzh-actions/stzh-actions.stories.js +66 -66
- package/dist/collection/components/stzh-appnav/stzh-appnav.js +112 -112
- package/dist/collection/components/stzh-appnav/stzh-appnav.stories.js +53 -53
- package/dist/collection/components/stzh-appointments/stzh-appointments.js +515 -515
- package/dist/collection/components/stzh-appointments/stzh-appointments.localization.js +1 -1
- package/dist/collection/components/stzh-appointments/stzh-appointments.stories.js +186 -186
- package/dist/collection/components/stzh-badge/stzh-badge.js +47 -47
- package/dist/collection/components/stzh-badge/stzh-badge.stories.js +36 -36
- package/dist/collection/components/stzh-button/stzh-button.js +516 -516
- package/dist/collection/components/stzh-button/stzh-button.stories.js +66 -66
- package/dist/collection/components/stzh-calendar/stzh-calendar-day.js +22 -22
- package/dist/collection/components/stzh-calendar/stzh-calendar-month.js +21 -21
- package/dist/collection/components/stzh-calendar/stzh-calendar.js +463 -463
- package/dist/collection/components/stzh-calendar/stzh-calendar.localization.js +1 -1
- package/dist/collection/components/stzh-calendar/stzh-calendar.stories.js +37 -37
- package/dist/collection/components/stzh-cell/stzh-cell.js +179 -179
- package/dist/collection/components/stzh-cell/stzh-cell.stories.js +39 -39
- package/dist/collection/components/stzh-checkbox/assets/check.svg +3 -3
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +459 -459
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.stories.js +38 -38
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +450 -450
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.stories.js +39 -39
- package/dist/collection/components/stzh-chip/stzh-chip.js +407 -407
- package/dist/collection/components/stzh-chip/stzh-chip.stories.js +64 -64
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +158 -158
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.stories.js +69 -69
- package/dist/collection/components/stzh-container/stzh-container.js +21 -21
- package/dist/collection/components/stzh-container/stzh-container.stories.js +35 -35
- package/dist/collection/components/stzh-cspace/stzh-cspace.js +24 -24
- package/dist/collection/components/stzh-cspace/stzh-cspace.stories.js +34 -34
- package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.js +24 -24
- package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.stories.js +149 -149
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +358 -358
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.localization.js +1 -1
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.stories.js +63 -63
- package/dist/collection/components/stzh-datatable/stzh-datatable.js +413 -413
- package/dist/collection/components/stzh-datatable/stzh-datatable.localization.js +1 -1
- package/dist/collection/components/stzh-datatable/stzh-datatable.stories.js +63 -63
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +586 -586
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.localization.js +1 -1
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.stories.js +39 -39
- package/dist/collection/components/stzh-dialog/stzh-dialog.js +480 -480
- package/dist/collection/components/stzh-dialog/stzh-dialog.localization.js +1 -1
- package/dist/collection/components/stzh-dialog/stzh-dialog.stories.js +75 -75
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +1436 -1436
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.localization.js +1 -1
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.stories.js +109 -109
- package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +120 -120
- package/dist/collection/components/stzh-fieldset/stzh-fieldset.stories.js +55 -55
- package/dist/collection/components/stzh-figure/stzh-figure.js +76 -76
- package/dist/collection/components/stzh-figure/stzh-figure.stories.js +36 -36
- package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +253 -253
- package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.stories.js +27 -27
- package/dist/collection/components/stzh-footer/stzh-footer.js +147 -147
- package/dist/collection/components/stzh-footer/stzh-footer.localization.js +1 -1
- package/dist/collection/components/stzh-footer/stzh-footer.stories.js +49 -49
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.js +319 -319
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.localization.js +1 -1
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.stories.js +49 -49
- package/dist/collection/components/stzh-header/stzh-header.js +267 -267
- package/dist/collection/components/stzh-header/stzh-header.stories.js +178 -178
- package/dist/collection/components/stzh-heading/stzh-heading.js +99 -99
- package/dist/collection/components/stzh-heading/stzh-heading.stories.js +37 -37
- package/dist/collection/components/stzh-hr/stzh-hr.js +25 -25
- package/dist/collection/components/stzh-hr/stzh-hr.stories.js +23 -23
- package/dist/collection/components/stzh-hspace/stzh-hspace.js +246 -246
- package/dist/collection/components/stzh-hspace/stzh-hspace.stories.js +73 -73
- package/dist/collection/components/stzh-icon/stzh-icon.js +76 -76
- package/dist/collection/components/stzh-icon/stzh-icon.stories.js +37 -37
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +1354 -1354
- package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.js +19 -19
- package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.stories.js +46 -46
- package/dist/collection/components/stzh-input/stzh-input-description.js +8 -8
- package/dist/collection/components/stzh-input/stzh-input.js +724 -724
- package/dist/collection/components/stzh-input/stzh-input.stories.js +116 -116
- package/dist/collection/components/stzh-link/stzh-link.js +427 -427
- package/dist/collection/components/stzh-link/stzh-link.stories.js +67 -67
- package/dist/collection/components/stzh-list/stzh-list.js +52 -52
- package/dist/collection/components/stzh-list/stzh-list.stories.js +42 -42
- package/dist/collection/components/stzh-list-item/assets/checkmark.svg +3 -3
- package/dist/collection/components/stzh-list-item/stzh-list-item.js +26 -26
- package/dist/collection/components/stzh-loader/stzh-loader.js +93 -93
- package/dist/collection/components/stzh-loader/stzh-loader.stories.js +36 -36
- package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.js +94 -94
- package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.stories.js +34 -34
- package/dist/collection/components/stzh-menu/stzh-menu.js +21 -21
- package/dist/collection/components/stzh-menu/stzh-menu.stories.js +69 -69
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +296 -296
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.stories.js +52 -52
- package/dist/collection/components/stzh-message/stzh-message.js +287 -287
- package/dist/collection/components/stzh-message/stzh-message.localization.js +1 -1
- package/dist/collection/components/stzh-message/stzh-message.stories.js +40 -40
- package/dist/collection/components/stzh-metanav/stzh-metanav.js +41 -41
- package/dist/collection/components/stzh-metanav/stzh-metanav.stories.js +39 -39
- package/dist/collection/components/stzh-overlay/stzh-overlay.js +239 -239
- package/dist/collection/components/stzh-overlay/stzh-overlay.stories.js +50 -50
- package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.js +41 -41
- package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.stories.js +43 -43
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js +76 -76
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.stories.js +107 -107
- package/dist/collection/components/stzh-popover/stzh-popover.js +673 -673
- package/dist/collection/components/stzh-popover/stzh-popover.localization.js +1 -1
- package/dist/collection/components/stzh-popover/stzh-popover.stories.js +67 -67
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +578 -578
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.js +25 -25
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.stories.js +28 -28
- package/dist/collection/components/stzh-progressbar/stzh-progressbar.js +272 -272
- package/dist/collection/components/stzh-progressbar/stzh-progressbar.stories.js +164 -164
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js +250 -250
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.stories.js +36 -36
- package/dist/collection/components/stzh-radio/stzh-radio.js +458 -458
- package/dist/collection/components/stzh-radio/stzh-radio.stories.js +38 -38
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +479 -477
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.stories.js +39 -39
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +114 -114
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.stories.js +50 -50
- package/dist/collection/components/stzh-richtext/stzh-richtext.js +90 -90
- package/dist/collection/components/stzh-richtext/stzh-richtext.stories.js +79 -79
- package/dist/collection/components/stzh-row/stzh-row.js +207 -207
- package/dist/collection/components/stzh-row/stzh-row.stories.js +90 -90
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +221 -221
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.localization.js +1 -1
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.stories.js +34 -34
- package/dist/collection/components/stzh-section/stzh-section.js +50 -50
- package/dist/collection/components/stzh-section/stzh-section.stories.js +100 -100
- package/dist/collection/components/stzh-servicecard/stzh-servicecard.js +592 -592
- package/dist/collection/components/stzh-servicecard/stzh-servicecard.localization.js +1 -1
- package/dist/collection/components/stzh-servicecard/stzh-servicecard.stories.js +73 -73
- package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.js +153 -153
- package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.localization.js +1 -1
- package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.stories.js +115 -115
- package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +106 -106
- package/dist/collection/components/stzh-skiplink/stzh-skiplink.stories.js +53 -53
- package/dist/collection/components/stzh-sortable/stzh-sortable.js +501 -501
- package/dist/collection/components/stzh-sortable/stzh-sortable.localization.js +1 -1
- package/dist/collection/components/stzh-sortable/stzh-sortable.stories.js +34 -34
- package/dist/collection/components/stzh-status/stzh-status.js +115 -115
- package/dist/collection/components/stzh-status/stzh-status.stories.js +34 -34
- package/dist/collection/components/stzh-table/stzh-table.js +215 -215
- package/dist/collection/components/stzh-table/stzh-table.stories.js +89 -89
- package/dist/collection/components/stzh-text/stzh-text.js +232 -232
- package/dist/collection/components/stzh-text/stzh-text.stories.js +43 -43
- package/dist/collection/components/stzh-toggle/stzh-toggle.js +479 -479
- package/dist/collection/components/stzh-toggle/stzh-toggle.stories.js +38 -38
- package/dist/collection/components/stzh-tooltip/assets/arrow.svg +3 -3
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +667 -667
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.localization.js +1 -1
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.stories.js +63 -63
- package/dist/collection/components/stzh-upload/stzh-upload.js +1358 -1358
- package/dist/collection/components/stzh-upload/stzh-upload.localization.js +1 -1
- package/dist/collection/components/stzh-upload/stzh-upload.stories.js +69 -69
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +229 -229
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.stories.js +36 -36
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.js +236 -236
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.localization.js +1 -1
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.stories.js +52 -52
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +292 -292
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.js +1 -1
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.stories.js +53 -53
- package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.js +23 -23
- package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.stories.js +45 -45
- package/dist/collection/components/stzh-vspace/stzh-vspace.js +246 -246
- package/dist/collection/components/stzh-vspace/stzh-vspace.stories.js +73 -73
- package/dist/collection/global/js/helpers/autofocus.js +20 -20
- package/dist/collection/global/js/helpers/scrollbar-width.js +20 -20
- package/dist/collection/global/js/script.js +17 -17
- package/dist/collection/index.js +7 -7
- package/dist/collection/pages/egov.stories.js +262 -262
- package/dist/collection/pages/example.stories.js +170 -170
- package/dist/collection/pages/meinkonto.stories.js +660 -660
- package/dist/collection/patterns/appointments.stories.js +43 -43
- package/dist/collection/patterns/processingscreen.stories.js +43 -43
- package/dist/collection/utils/animation-utils.js +51 -51
- package/dist/collection/utils/date-adapter.js +86 -86
- package/dist/collection/utils/date-utils.js +196 -196
- package/dist/collection/utils/decorators.js +15 -15
- package/dist/collection/utils/event-utils.js +14 -14
- package/dist/collection/utils/h.js +109 -109
- package/dist/collection/utils/media-utils.js +20 -20
- package/dist/collection/utils/string-utils.js +13 -13
- package/dist/collection/utils/test-utils.js +27 -27
- package/dist/collection/utils/translation-utils.js +55 -55
- package/dist/collection/utils/utils.js +41 -41
- package/dist/components/animation-utils.js +37 -37
- package/dist/components/arrow.js +3 -3
- package/dist/components/date-adapter.js +85 -85
- package/dist/components/event-utils.js +13 -13
- package/dist/components/index.js +41 -41
- package/dist/components/media-utils.js +19 -19
- package/dist/components/string-utils.js +12 -12
- package/dist/components/stzh-accordion-item.js +192 -192
- package/dist/components/stzh-accordion.js +81 -81
- package/dist/components/stzh-actions.js +58 -58
- package/dist/components/stzh-appnav.js +56 -56
- package/dist/components/stzh-appointments.js +343 -343
- package/dist/components/stzh-badge2.js +26 -26
- package/dist/components/stzh-button2.js +155 -155
- package/dist/components/stzh-calendar2.js +475 -475
- package/dist/components/stzh-cell.js +47 -47
- package/dist/components/stzh-checkbox.js +159 -159
- package/dist/components/stzh-checkboxgroup.js +192 -192
- package/dist/components/stzh-chip-select.js +93 -93
- package/dist/components/stzh-chip2.js +122 -122
- package/dist/components/stzh-container.js +22 -22
- package/dist/components/stzh-cspace.js +25 -25
- package/dist/components/stzh-datamessagelist-item.js +156 -156
- package/dist/components/stzh-datamessagelist.js +26 -26
- package/dist/components/stzh-datatable.js +255 -255
- package/dist/components/stzh-datepicker2.js +206 -206
- package/dist/components/stzh-dialog.js +214 -214
- package/dist/components/stzh-dropdown2.js +514 -514
- package/dist/components/stzh-fieldset.js +48 -48
- package/dist/components/stzh-figure.js +35 -35
- package/dist/components/stzh-flyingfocus.js +188 -188
- package/dist/components/stzh-footer.js +88 -88
- package/dist/components/stzh-ghettobox2.js +124 -124
- package/dist/components/stzh-header.js +174 -174
- package/dist/components/stzh-heading2.js +39 -39
- package/dist/components/stzh-hr.js +26 -26
- package/dist/components/stzh-hspace.js +54 -54
- package/dist/components/stzh-icon-sprite.js +23 -23
- package/dist/components/stzh-icon2.js +41 -41
- package/dist/components/stzh-input-description.js +15 -15
- package/dist/components/stzh-input2.js +239 -239
- package/dist/components/stzh-link2.js +134 -134
- package/dist/components/stzh-list-item.js +30 -30
- package/dist/components/stzh-list.js +32 -32
- package/dist/components/stzh-loader.js +38 -38
- package/dist/components/stzh-loadingbar.js +40 -40
- package/dist/components/stzh-menu-item2.js +106 -106
- package/dist/components/stzh-menu2.js +22 -22
- package/dist/components/stzh-message.js +100 -100
- package/dist/components/stzh-metanav.js +40 -40
- package/dist/components/stzh-overlay.js +108 -108
- package/dist/components/stzh-page-skiplinks.js +40 -40
- package/dist/components/stzh-pagetitle.js +74 -74
- package/dist/components/stzh-popover2.js +376 -376
- package/dist/components/stzh-portal-mitwirken.js +26 -26
- package/dist/components/stzh-progressbar-item2.js +74 -74
- package/dist/components/stzh-progressbar.js +146 -146
- package/dist/components/stzh-radio2.js +156 -156
- package/dist/components/stzh-radiogroup2.js +202 -202
- package/dist/components/stzh-readspeaker.js +63 -63
- package/dist/components/stzh-richtext2.js +57 -57
- package/dist/components/stzh-row.js +53 -53
- package/dist/components/stzh-saptcha.js +116 -116
- package/dist/components/stzh-section.js +29 -29
- package/dist/components/stzh-servicecard-list.js +84 -84
- package/dist/components/stzh-servicecard.js +263 -263
- package/dist/components/stzh-skiplink.js +35 -35
- package/dist/components/stzh-sortable2.js +310 -310
- package/dist/components/stzh-status2.js +44 -44
- package/dist/components/stzh-table.js +153 -153
- package/dist/components/stzh-text2.js +57 -57
- package/dist/components/stzh-toggle.js +160 -160
- package/dist/components/stzh-tooltip2.js +340 -340
- package/dist/components/stzh-upload.js +502 -502
- package/dist/components/stzh-vbz-linechip2.js +96 -96
- package/dist/components/stzh-vbz-majorticker.js +139 -139
- package/dist/components/stzh-vbz-ticker.js +214 -214
- package/dist/components/stzh-visuallyhidden.js +24 -24
- package/dist/components/stzh-vspace.js +54 -54
- package/dist/components/translation-utils.js +54 -54
- package/dist/components/utils.js +30 -30
- package/dist/esm/{animation-utils-27dcfc1e.js → animation-utils-25c74e5b.js} +37 -37
- package/dist/esm/{app-globals-137e106c.js → app-globals-70c229e3.js} +42 -42
- package/dist/esm/{arrow-18769ca6.js → arrow-86a679c7.js} +3 -3
- package/dist/esm/{date-adapter-c0ee5963.js → date-adapter-cbc340fa.js} +85 -85
- package/dist/esm/{date-utils-282e96fe.js → date-utils-be83fff1.js} +156 -156
- package/dist/esm/{event-utils-68b64805.js → event-utils-7a709e21.js} +13 -13
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{media-utils-db7c9057.js → media-utils-9b041ceb.js} +19 -19
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/{string-utils-33181845.js → string-utils-f98ee4e8.js} +12 -12
- package/dist/esm/stzh-accordion-item.entry.js +170 -170
- package/dist/esm/stzh-accordion.entry.js +63 -63
- package/dist/esm/stzh-actions.entry.js +42 -42
- package/dist/esm/stzh-appnav.entry.js +39 -39
- package/dist/esm/stzh-appointments.entry.js +260 -260
- package/dist/esm/stzh-badge_3.entry.js +146 -146
- package/dist/esm/stzh-calendar.entry.js +291 -291
- package/dist/esm/stzh-cell.entry.js +24 -24
- package/dist/esm/stzh-checkbox.entry.js +123 -123
- package/dist/esm/stzh-checkboxgroup.entry.js +157 -157
- package/dist/esm/stzh-chip-select.entry.js +55 -55
- package/dist/esm/stzh-chip.entry.js +90 -90
- package/dist/esm/stzh-components.js +2 -2
- package/dist/esm/stzh-container.entry.js +8 -8
- package/dist/esm/stzh-cspace.entry.js +11 -11
- package/dist/esm/stzh-datamessagelist-item.entry.js +92 -92
- package/dist/esm/stzh-datamessagelist.entry.js +12 -12
- package/dist/esm/stzh-datatable.entry.js +201 -201
- package/dist/esm/stzh-datepicker_4.entry.js +458 -458
- package/dist/esm/stzh-dialog.entry.js +179 -179
- package/dist/esm/stzh-dropdown.entry.js +450 -450
- package/dist/esm/stzh-fieldset.entry.js +24 -24
- package/dist/esm/stzh-figure.entry.js +19 -19
- package/dist/esm/stzh-flyingfocus.entry.js +167 -167
- package/dist/esm/stzh-footer.entry.js +56 -56
- package/dist/esm/stzh-ghettobox_2.entry.js +132 -132
- package/dist/esm/stzh-header.entry.js +151 -151
- package/dist/esm/stzh-heading.entry.js +21 -21
- package/dist/esm/stzh-hr.entry.js +12 -12
- package/dist/esm/stzh-hspace.entry.js +30 -30
- package/dist/esm/stzh-icon-sprite.entry.js +9 -9
- package/dist/esm/{stzh-input-description-fa0a4b5b.js → stzh-input-description-da7b0e98.js} +15 -15
- package/dist/esm/stzh-input.entry.js +181 -181
- package/dist/esm/stzh-link.entry.js +95 -95
- package/dist/esm/stzh-list-item.entry.js +15 -15
- package/dist/esm/stzh-list.entry.js +15 -15
- package/dist/esm/stzh-loader.entry.js +20 -20
- package/dist/esm/stzh-loadingbar.entry.js +22 -22
- package/dist/esm/stzh-menu_2.entry.js +81 -81
- package/dist/esm/stzh-message.entry.js +72 -72
- package/dist/esm/stzh-metanav.entry.js +26 -26
- package/dist/esm/stzh-overlay.entry.js +88 -88
- package/dist/esm/stzh-page-skiplinks.entry.js +26 -26
- package/dist/esm/stzh-pagetitle.entry.js +61 -61
- package/dist/esm/stzh-popover.entry.js +349 -349
- package/dist/esm/stzh-portal-mitwirken.entry.js +12 -12
- package/dist/esm/stzh-progressbar-item.entry.js +46 -46
- package/dist/esm/stzh-progressbar.entry.js +114 -114
- package/dist/esm/stzh-readspeaker.entry.js +47 -47
- package/dist/esm/stzh-row.entry.js +29 -29
- package/dist/esm/stzh-saptcha.entry.js +70 -70
- package/dist/esm/stzh-section.entry.js +13 -13
- package/dist/esm/stzh-servicecard-list.entry.js +45 -45
- package/dist/esm/stzh-servicecard.entry.js +201 -201
- package/dist/esm/stzh-skiplink.entry.js +16 -16
- package/dist/esm/stzh-sortable.entry.js +288 -288
- package/dist/esm/stzh-status.entry.js +25 -25
- package/dist/esm/stzh-table.entry.js +132 -132
- package/dist/esm/stzh-toggle.entry.js +123 -123
- package/dist/esm/stzh-tooltip.entry.js +310 -310
- package/dist/esm/stzh-upload.entry.js +440 -440
- package/dist/esm/stzh-vbz-linechip.entry.js +71 -71
- package/dist/esm/stzh-vbz-majorticker.entry.js +95 -95
- package/dist/esm/stzh-vbz-ticker.entry.js +171 -171
- package/dist/esm/stzh-visuallyhidden.entry.js +10 -10
- package/dist/esm/stzh-vspace.entry.js +30 -30
- package/dist/esm/{translation-utils-f5b09945.js → translation-utils-2623783f.js} +54 -54
- package/dist/esm/{utils-c5d68020.js → utils-904416df.js} +30 -30
- package/dist/esm-es5/{animation-utils-27dcfc1e.js → animation-utils-25c74e5b.js} +0 -0
- package/dist/esm-es5/app-globals-70c229e3.js +1 -0
- package/dist/esm-es5/{arrow-18769ca6.js → arrow-86a679c7.js} +0 -0
- package/dist/esm-es5/{date-adapter-c0ee5963.js → date-adapter-cbc340fa.js} +0 -0
- package/dist/esm-es5/{date-utils-282e96fe.js → date-utils-be83fff1.js} +0 -0
- package/dist/esm-es5/{event-utils-68b64805.js → event-utils-7a709e21.js} +0 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{media-utils-db7c9057.js → media-utils-9b041ceb.js} +0 -0
- package/dist/esm-es5/{string-utils-33181845.js → string-utils-f98ee4e8.js} +0 -0
- package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
- package/dist/esm-es5/stzh-actions.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-badge_3.entry.js +1 -1
- package/dist/esm-es5/stzh-calendar.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-components.js +1 -1
- package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm-es5/stzh-datatable.entry.js +1 -1
- package/dist/esm-es5/stzh-datepicker_4.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-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-input-description-fa0a4b5b.js → stzh-input-description-da7b0e98.js} +0 -0
- package/dist/esm-es5/stzh-input.entry.js +1 -1
- package/dist/esm-es5/stzh-link.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-pagetitle.entry.js +1 -1
- package/dist/esm-es5/stzh-popover.entry.js +1 -1
- package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
- package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
- package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
- package/dist/esm-es5/stzh-servicecard-list.entry.js +1 -1
- package/dist/esm-es5/stzh-servicecard.entry.js +1 -1
- package/dist/esm-es5/stzh-sortable.entry.js +1 -1
- package/dist/esm-es5/stzh-table.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-majorticker.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
- package/dist/esm-es5/{translation-utils-f5b09945.js → translation-utils-2623783f.js} +0 -0
- package/dist/esm-es5/{utils-c5d68020.js → utils-904416df.js} +0 -0
- package/dist/stzh-components/assets/favicons/browserconfig.xml +9 -9
- package/dist/stzh-components/assets/favicons/site.webmanifest +19 -19
- package/dist/stzh-components/assets/fonts.css +39 -39
- package/dist/stzh-components/assets/i18n/de.json +154 -154
- package/dist/stzh-components/assets/i18n/en.json +154 -154
- package/dist/stzh-components/assets/icons/mono/alarm-bell.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/angle-down.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/angle-left.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/angle-right.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/angle-up.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/archive-box.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/arrow-down.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/arrow-left-circle.svg +4 -4
- package/dist/stzh-components/assets/icons/mono/arrow-left.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/arrow-right-long.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/arrow-right.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/arrow-up.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/bulleted-list.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/calendar.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/cart.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/checkmark-circle.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/checkmark.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/clock.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/close-circle.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/close.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/compass-direction.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/compass-north.svg +4 -4
- package/dist/stzh-components/assets/icons/mono/construction.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/copy.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/delete.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/download.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/drag.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/edit.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/email-check.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/expand.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/external-link.svg +4 -4
- package/dist/stzh-components/assets/icons/mono/facebook-comment.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/facebook.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/file.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/filtering.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/flag.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/focus.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/gear.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/heart.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/home.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/important-warning.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/info-help.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/instagram.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/like-hand.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/linkedin.svg +5 -5
- package/dist/stzh-components/assets/icons/mono/list-expanded.svg +4 -4
- package/dist/stzh-components/assets/icons/mono/list-shrinked.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/lock.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/mail.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/map.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/menu.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/minus.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/more-horizontal.svg +5 -5
- package/dist/stzh-components/assets/icons/mono/more-vertical.svg +5 -5
- package/dist/stzh-components/assets/icons/mono/paper-clip.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/phone.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/pin-location.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/pin.svg +11 -11
- package/dist/stzh-components/assets/icons/mono/play-1.svg +4 -4
- package/dist/stzh-components/assets/icons/mono/play-button.svg +11 -11
- package/dist/stzh-components/assets/icons/mono/play.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/plus.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/portfolio-grid.svg +11 -11
- package/dist/stzh-components/assets/icons/mono/print.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/question-help.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/read-mail.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/reload.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/reset-time.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/reset.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/resize.svg +8 -8
- package/dist/stzh-components/assets/icons/mono/rss.svg +12 -12
- package/dist/stzh-components/assets/icons/mono/search.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/services.svg +6 -6
- package/dist/stzh-components/assets/icons/mono/share.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/shrink.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/silent-mode.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/social-media.svg +23 -23
- package/dist/stzh-components/assets/icons/mono/star-filled.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/star.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/subtitle.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/team.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/text-message.svg +6 -6
- package/dist/stzh-components/assets/icons/mono/thermometer.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/transcript.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/twitter-reply.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/twitter-retweet.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/twitter.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/unlock.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/user.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/view-hidden.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/view.svg +4 -4
- package/dist/stzh-components/assets/icons/mono/volume-medium.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/warning-big.svg +4 -4
- package/dist/stzh-components/assets/icons/mono/warning.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/web-Link.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/wifi-signal.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/world-globe.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/xing.svg +11 -11
- package/dist/stzh-components/assets/polyfills/ie11CustomProperties.min.js +8 -8
- package/dist/stzh-components/assets/polyfills/intersection-observer.min.js +7 -7
- package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +1354 -1354
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.Common.Settings.js +278 -278
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.Core.js +544 -544
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.HL.js +1111 -1111
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.PlayerAPI.js +211 -211
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.js +257 -257
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.lib.Facade.adapter.jquery.js +120 -120
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.lib.RSLib.js +796 -796
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.pub.Config.js +384 -384
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.ui.js +1241 -1241
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeakerClassic.css +357 -357
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeakerClassic.js +51 -51
- package/dist/stzh-components/assets/vendors/readspeaker/mods/enlargeHL/ReadSpeaker.enlargeHL.js +24 -24
- package/dist/stzh-components/{p-95a3c962.system.entry.js → p-043ab41e.system.entry.js} +1 -1
- package/dist/stzh-components/{p-bf5b6523.entry.js → p-07f16263.entry.js} +1 -1
- package/dist/stzh-components/p-08d4ed80.entry.js +1 -0
- package/dist/stzh-components/{p-e1b64b8a.system.entry.js → p-0c92ee26.system.entry.js} +1 -1
- package/dist/stzh-components/{p-3e3e4bfd.system.js → p-11816251.system.js} +0 -0
- package/dist/stzh-components/{p-d790a367.entry.js → p-11d0c8f3.entry.js} +1 -1
- package/dist/stzh-components/{p-bb900d9f.entry.js → p-14d728f0.entry.js} +1 -1
- package/dist/stzh-components/{p-f481f21d.system.js → p-176db2fe.system.js} +0 -0
- package/dist/stzh-components/{p-af47430b.system.entry.js → p-19344366.system.entry.js} +1 -1
- package/dist/stzh-components/{p-afa7061e.entry.js → p-1bfc1097.entry.js} +1 -1
- package/dist/stzh-components/{p-da8218fa.system.entry.js → p-1ccbd2d6.system.entry.js} +1 -1
- package/dist/stzh-components/{p-22f948e2.entry.js → p-1d914f6c.entry.js} +1 -1
- package/dist/stzh-components/{p-9fe34fe8.system.js → p-1e4b4d71.system.js} +0 -0
- package/dist/stzh-components/{p-160c6e5f.system.entry.js → p-1f15a4e0.system.entry.js} +1 -1
- package/dist/stzh-components/{p-1a40a6e4.js → p-25a09313.js} +0 -0
- package/dist/stzh-components/{p-ab2727e6.entry.js → p-298276e4.entry.js} +1 -1
- package/dist/stzh-components/{p-3ca5c2e6.system.entry.js → p-2990206c.system.entry.js} +1 -1
- package/dist/stzh-components/{p-320aedf7.js → p-2a5855f8.js} +0 -0
- package/dist/stzh-components/{p-6113bb25.entry.js → p-2d0685e3.entry.js} +1 -1
- package/dist/stzh-components/{p-1aaa5112.system.entry.js → p-2f2cb544.system.entry.js} +1 -1
- package/dist/stzh-components/{p-99195f5a.system.js → p-309d2b66.system.js} +0 -0
- package/dist/stzh-components/{p-59bdb14a.system.entry.js → p-30cb8bc0.system.entry.js} +1 -1
- package/dist/stzh-components/{p-8ba6ca80.js → p-32b78d65.js} +0 -0
- package/dist/stzh-components/{p-b06cc533.entry.js → p-33d75303.entry.js} +1 -1
- package/dist/stzh-components/{p-45d4e9b4.system.entry.js → p-346e26f2.system.entry.js} +1 -1
- package/dist/stzh-components/{p-4b8893d1.entry.js → p-3c4478b0.entry.js} +1 -1
- package/dist/stzh-components/{p-740dd50f.entry.js → p-3c799247.entry.js} +1 -1
- package/dist/stzh-components/{p-3410ef5a.system.entry.js → p-48bbcc26.system.entry.js} +1 -1
- package/dist/stzh-components/{p-3eb7b6b4.entry.js → p-49e37004.entry.js} +1 -1
- package/dist/stzh-components/{p-e029f6c5.system.entry.js → p-49ea222f.system.entry.js} +1 -1
- package/dist/stzh-components/p-4c61dcad.js +4 -4
- package/dist/stzh-components/{p-efb9fa47.system.entry.js → p-4cfe83b5.system.entry.js} +1 -1
- package/dist/stzh-components/{p-a499fa98.system.entry.js → p-4e9bfeb8.system.entry.js} +1 -1
- package/dist/stzh-components/{p-4c68fa45.system.js → p-5318ba20.system.js} +0 -0
- package/dist/stzh-components/{p-301841e3.entry.js → p-55188328.entry.js} +1 -1
- package/dist/stzh-components/{p-3afe13ac.system.entry.js → p-58ffc722.system.entry.js} +1 -1
- package/dist/stzh-components/{p-ebf73698.entry.js → p-5f7b72c8.entry.js} +1 -1
- package/dist/stzh-components/{p-af819e4e.system.js → p-5f856307.system.js} +0 -0
- package/dist/stzh-components/{p-73d51acc.system.entry.js → p-60b4f34c.system.entry.js} +1 -1
- package/dist/stzh-components/{p-5f20178b.system.js → p-6267a327.system.js} +0 -0
- package/dist/stzh-components/{p-ac9e6d17.system.entry.js → p-634095bd.system.entry.js} +1 -1
- package/dist/stzh-components/{p-42430cdf.js → p-6c502e6e.js} +0 -0
- package/dist/stzh-components/{p-f8bb1bed.system.entry.js → p-6ea5c23d.system.entry.js} +1 -1
- package/dist/stzh-components/{p-25afa99e.entry.js → p-6ec17efc.entry.js} +1 -1
- package/dist/stzh-components/{p-4b69a3e8.system.entry.js → p-6edd58a4.system.entry.js} +1 -1
- package/dist/stzh-components/{p-58b8d309.system.entry.js → p-7279af4a.system.entry.js} +1 -1
- package/dist/stzh-components/{p-7c6f9cb3.entry.js → p-73194e28.entry.js} +1 -1
- package/dist/stzh-components/{p-81d9f3e0.js → p-77a00e55.js} +0 -0
- package/dist/stzh-components/{p-bb91feeb.entry.js → p-79ca1ba6.entry.js} +1 -1
- package/dist/stzh-components/{p-79770abe.system.entry.js → p-7a6e347d.system.entry.js} +2 -2
- package/dist/stzh-components/{p-cd29b7ca.entry.js → p-7bb1bd3b.entry.js} +1 -1
- package/dist/stzh-components/{p-649164c7.entry.js → p-7d098987.entry.js} +1 -1
- package/dist/stzh-components/{p-b9e4095d.entry.js → p-7d2237ca.entry.js} +1 -1
- package/dist/stzh-components/{p-927901f5.system.entry.js → p-7d62dfeb.system.entry.js} +1 -1
- package/dist/stzh-components/{p-c2218965.system.entry.js → p-82d85c3a.system.entry.js} +1 -1
- package/dist/stzh-components/{p-adaf8b15.entry.js → p-8462ba57.entry.js} +1 -1
- package/dist/stzh-components/{p-a42a7524.entry.js → p-86d3ce62.entry.js} +1 -1
- package/dist/stzh-components/{p-1f3e6fad.system.entry.js → p-88a4f756.system.entry.js} +1 -1
- package/dist/stzh-components/{p-d7b5770c.entry.js → p-88bef2cd.entry.js} +1 -1
- package/dist/stzh-components/{p-a8c3af68.system.entry.js → p-8db4279d.system.entry.js} +1 -1
- package/dist/stzh-components/{p-0c2b5907.js → p-9111e257.js} +0 -0
- package/dist/stzh-components/{p-d2f660e1.system.js → p-9c0494a6.system.js} +0 -0
- package/dist/stzh-components/{p-b24040ff.system.entry.js → p-9e6c25ed.system.entry.js} +1 -1
- package/dist/stzh-components/{p-582cf0f1.system.js → p-a408bfba.system.js} +0 -0
- package/dist/stzh-components/{p-c3ac1bdc.system.entry.js → p-a4100bd8.system.entry.js} +1 -1
- package/dist/stzh-components/{p-efd78d08.system.entry.js → p-a6486f64.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b56c83a4.entry.js → p-a7c3b41a.entry.js} +1 -1
- package/dist/stzh-components/{p-e00139a1.entry.js → p-a86c6487.entry.js} +1 -1
- package/dist/stzh-components/{p-e3769e97.system.js → p-aa4e28cc.system.js} +1 -1
- package/dist/stzh-components/p-ac1da083.system.js +1 -0
- package/dist/stzh-components/{p-17258518.entry.js → p-b3b5ee7e.entry.js} +1 -1
- package/dist/stzh-components/{p-87140179.system.entry.js → p-b63d6ded.system.entry.js} +1 -1
- package/dist/stzh-components/{p-63bf05f1.system.entry.js → p-bba52769.system.entry.js} +1 -1
- package/dist/stzh-components/{p-9be4e960.entry.js → p-bcade28e.entry.js} +1 -1
- package/dist/stzh-components/p-be21cebd.js +1 -0
- package/dist/stzh-components/{p-67eac0a0.entry.js → p-c2d58384.entry.js} +1 -1
- package/dist/stzh-components/{p-f0422b6c.entry.js → p-c6ad1a8c.entry.js} +1 -1
- package/dist/stzh-components/{p-649621fc.js → p-c8bcceac.js} +0 -0
- package/dist/stzh-components/{p-1e2ee622.system.entry.js → p-cb4a91b7.system.entry.js} +1 -1
- package/dist/stzh-components/{p-ffa293cf.entry.js → p-cf162e67.entry.js} +1 -1
- package/dist/stzh-components/{p-a7454367.js → p-cf6003d6.js} +0 -0
- package/dist/stzh-components/{p-d1821750.system.entry.js → p-d04e8743.system.entry.js} +1 -1
- package/dist/stzh-components/{p-0e9e4c68.entry.js → p-debb00e6.entry.js} +1 -1
- package/dist/stzh-components/{p-e69a66bb.js → p-df2bb358.js} +0 -0
- package/dist/stzh-components/{p-3da37219.entry.js → p-e048de42.entry.js} +1 -1
- package/dist/stzh-components/{p-a5b616bb.system.entry.js → p-e2ce48f1.system.entry.js} +1 -1
- package/dist/stzh-components/{p-22fba26d.entry.js → p-e58d3bc7.entry.js} +1 -1
- package/dist/stzh-components/{p-08cc711a.system.entry.js → p-e972a44f.system.entry.js} +1 -1
- package/dist/stzh-components/{p-6d23fb4d.system.entry.js → p-e987954a.system.entry.js} +1 -1
- package/dist/stzh-components/{p-648695c2.js → p-ee7a68db.js} +0 -0
- package/dist/stzh-components/p-ef5d4167.js +1 -1
- package/dist/stzh-components/{p-b3b05b6c.entry.js → p-f544cf3d.entry.js} +1 -1
- package/dist/stzh-components/{p-a7785d9b.system.js → p-f58c28ad.system.js} +0 -0
- package/dist/stzh-components/{p-c51a61cb.system.entry.js → p-f8d9411d.system.entry.js} +1 -1
- package/dist/stzh-components/{p-4e9e606f.entry.js → p-f9dc7a9b.entry.js} +1 -1
- package/dist/stzh-components/{p-ab864a8a.system.entry.js → p-fc9c4fc3.system.entry.js} +1 -1
- package/dist/stzh-components/{p-75f1b800.entry.js → p-ff8a3e96.entry.js} +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-appointments/stzh-appointments.localization.d.ts +11 -11
- package/dist/types/components/stzh-badge/stzh-badge.d.ts +8 -8
- package/dist/types/components/stzh-calendar/stzh-calendar-day.d.ts +14 -14
- package/dist/types/components/stzh-calendar/stzh-calendar-month.d.ts +21 -21
- package/dist/types/components/stzh-calendar/stzh-calendar.localization.d.ts +7 -7
- package/dist/types/components/stzh-cell/stzh-cell.d.ts +21 -21
- package/dist/types/components/stzh-container/stzh-container.d.ts +6 -6
- package/dist/types/components/stzh-cspace/stzh-cspace.d.ts +6 -6
- package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.localization.d.ts +4 -4
- package/dist/types/components/stzh-datatable/stzh-datatable.localization.d.ts +4 -4
- package/dist/types/components/stzh-datepicker/stzh-datepicker.localization.d.ts +5 -5
- package/dist/types/components/stzh-dialog/stzh-dialog.localization.d.ts +4 -4
- package/dist/types/components/stzh-dropdown/stzh-dropdown.localization.d.ts +7 -7
- package/dist/types/components/stzh-fieldset/stzh-fieldset.d.ts +15 -15
- package/dist/types/components/stzh-footer/stzh-footer.localization.d.ts +9 -9
- package/dist/types/components/stzh-ghettobox/stzh-ghettobox.localization.d.ts +5 -5
- package/dist/types/components/stzh-heading/stzh-heading.d.ts +13 -13
- package/dist/types/components/stzh-hspace/stzh-hspace.d.ts +25 -25
- package/dist/types/components/stzh-icon/stzh-icon.d.ts +15 -15
- package/dist/types/components/stzh-icon-sprite/stzh-icon-sprite.d.ts +3 -3
- package/dist/types/components/stzh-input/stzh-input-description.d.ts +11 -11
- package/dist/types/components/stzh-menu/stzh-menu.d.ts +6 -6
- package/dist/types/components/stzh-message/stzh-message.localization.d.ts +4 -4
- package/dist/types/components/stzh-popover/stzh-popover.localization.d.ts +4 -4
- package/dist/types/components/stzh-portal-mitwirken/stzh-portal-mitwirken.d.ts +8 -8
- package/dist/types/components/stzh-progressbar-item/stzh-progressbar-item.d.ts +22 -22
- package/dist/types/components/stzh-row/stzh-row.d.ts +23 -23
- package/dist/types/components/stzh-saptcha/stzh-saptcha.localization.d.ts +7 -7
- package/dist/types/components/stzh-section/stzh-section.d.ts +8 -8
- package/dist/types/components/stzh-servicecard/stzh-servicecard.localization.d.ts +8 -8
- package/dist/types/components/stzh-servicecard-list/stzh-servicecard-list.localization.d.ts +5 -5
- package/dist/types/components/stzh-skiplink/stzh-skiplink.d.ts +16 -16
- package/dist/types/components/stzh-sortable/stzh-sortable.localization.d.ts +8 -8
- package/dist/types/components/stzh-text/stzh-text.d.ts +23 -23
- package/dist/types/components/stzh-tooltip/stzh-tooltip.localization.d.ts +4 -4
- package/dist/types/components/stzh-upload/stzh-upload.localization.d.ts +16 -16
- package/dist/types/components/stzh-vbz-majorticker/stzh-vbz-majorticker.localization.d.ts +4 -4
- package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.d.ts +15 -15
- package/dist/types/components/stzh-visuallyhidden/stzh-visuallyhidden.d.ts +6 -6
- package/dist/types/components/stzh-vspace/stzh-vspace.d.ts +25 -25
- package/dist/types/index.d.ts +427 -427
- package/dist/types/utils/animation-utils.d.ts +10 -10
- package/dist/types/utils/date-adapter.d.ts +8 -8
- package/dist/types/utils/date-utils.d.ts +61 -61
- package/dist/types/utils/event-utils.d.ts +1 -1
- package/dist/types/utils/h.d.ts +18 -18
- package/dist/types/utils/media-utils.d.ts +3 -3
- package/dist/types/utils/string-utils.d.ts +2 -2
- package/dist/types/utils/test-utils.d.ts +9 -9
- package/dist/types/utils/translation-utils.d.ts +40 -40
- package/dist/types/utils/utils.d.ts +3 -3
- package/dist/vscode-data.json +64 -60
- package/package.json +1 -1
- package/dist/esm-es5/app-globals-137e106c.js +0 -1
- package/dist/stzh-components/p-4476344d.js +0 -1
- package/dist/stzh-components/p-5977373f.system.js +0 -1
- package/dist/stzh-components/p-91e9ccfa.entry.js +0 -1
- package/dist/types/components/stzh-accordion/stzh-accordion.d.ts +0 -15
- package/dist/types/components/stzh-accordion-item/stzh-accordion-item.d.ts +0 -44
- package/dist/types/components/stzh-actions/stzh-actions.d.ts +0 -16
- package/dist/types/components/stzh-appnav/stzh-appnav.d.ts +0 -17
- package/dist/types/components/stzh-appointments/stzh-appointments.d.ts +0 -73
- package/dist/types/components/stzh-button/stzh-button.d.ts +0 -59
- package/dist/types/components/stzh-calendar/stzh-calendar.d.ts +0 -76
- package/dist/types/components/stzh-checkbox/stzh-checkbox.d.ts +0 -55
- package/dist/types/components/stzh-checkboxgroup/stzh-checkboxgroup.d.ts +0 -62
- package/dist/types/components/stzh-chip/stzh-chip.d.ts +0 -47
- package/dist/types/components/stzh-chip-select/stzh-chip-select.d.ts +0 -23
- package/dist/types/components/stzh-datamessagelist/stzh-datamessagelist.d.ts +0 -6
- package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.d.ts +0 -44
- package/dist/types/components/stzh-datatable/stzh-datatable.d.ts +0 -49
- package/dist/types/components/stzh-datepicker/stzh-datepicker.d.ts +0 -93
- package/dist/types/components/stzh-dialog/stzh-dialog.d.ts +0 -59
- package/dist/types/components/stzh-dropdown/stzh-dropdown.d.ts +0 -150
- package/dist/types/components/stzh-figure/stzh-figure.d.ts +0 -13
- package/dist/types/components/stzh-flyingfocus/stzh-flyingfocus.d.ts +0 -39
- package/dist/types/components/stzh-footer/stzh-footer.d.ts +0 -21
- package/dist/types/components/stzh-ghettobox/stzh-ghettobox.d.ts +0 -49
- package/dist/types/components/stzh-header/stzh-header.d.ts +0 -57
- package/dist/types/components/stzh-hr/stzh-hr.d.ts +0 -7
- package/dist/types/components/stzh-input/stzh-input.d.ts +0 -95
- package/dist/types/components/stzh-link/stzh-link.d.ts +0 -50
- package/dist/types/components/stzh-list/stzh-list.d.ts +0 -9
- package/dist/types/components/stzh-list-item/stzh-list-item.d.ts +0 -7
- package/dist/types/components/stzh-loader/stzh-loader.d.ts +0 -13
- package/dist/types/components/stzh-loadingbar/stzh-loadingbar.d.ts +0 -12
- package/dist/types/components/stzh-menu-item/stzh-menu-item.d.ts +0 -35
- package/dist/types/components/stzh-message/stzh-message.d.ts +0 -36
- package/dist/types/components/stzh-metanav/stzh-metanav.d.ts +0 -11
- package/dist/types/components/stzh-overlay/stzh-overlay.d.ts +0 -34
- package/dist/types/components/stzh-page-skiplinks/stzh-page-skiplinks.d.ts +0 -11
- package/dist/types/components/stzh-pagetitle/stzh-pagetitle.d.ts +0 -11
- package/dist/types/components/stzh-popover/stzh-popover.d.ts +0 -73
- package/dist/types/components/stzh-progressbar/stzh-progressbar.d.ts +0 -42
- package/dist/types/components/stzh-radio/stzh-radio.d.ts +0 -55
- package/dist/types/components/stzh-radiogroup/stzh-radiogroup.d.ts +0 -64
- package/dist/types/components/stzh-readspeaker/stzh-readspeaker.d.ts +0 -18
- package/dist/types/components/stzh-richtext/stzh-richtext.d.ts +0 -14
- package/dist/types/components/stzh-saptcha/stzh-saptcha.d.ts +0 -28
- package/dist/types/components/stzh-servicecard/stzh-servicecard.d.ts +0 -72
- package/dist/types/components/stzh-servicecard-list/stzh-servicecard-list.d.ts +0 -23
- package/dist/types/components/stzh-sortable/stzh-sortable.d.ts +0 -52
- package/dist/types/components/stzh-status/stzh-status.d.ts +0 -14
- package/dist/types/components/stzh-table/stzh-table.d.ts +0 -33
- package/dist/types/components/stzh-toggle/stzh-toggle.d.ts +0 -57
- package/dist/types/components/stzh-tooltip/stzh-tooltip.d.ts +0 -78
- package/dist/types/components/stzh-upload/stzh-upload.d.ts +0 -207
- package/dist/types/components/stzh-vbz-linechip/stzh-vbz-linechip.d.ts +0 -27
- package/dist/types/components/stzh-vbz-majorticker/stzh-vbz-majorticker.d.ts +0 -34
- package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.d.ts +0 -54
- package/dist/types/types/svg.d.ts +0 -4
|
@@ -1,673 +1,673 @@
|
|
|
1
|
-
import { Host, h, } from "@stencil/core";
|
|
2
|
-
import { computePosition, offset, shift, flip, arrow, autoUpdate, } from '@floating-ui/dom';
|
|
3
|
-
import { createFocusTrap } from 'focus-trap';
|
|
4
|
-
import { fetchTranslations } from "../../utils/translation-utils";
|
|
5
|
-
import { media } from '../../utils/media-utils';
|
|
6
|
-
import { waitForEvent } from "../../utils/event-utils";
|
|
7
|
-
import { stopAnimations, animateTo } from "../../utils/animation-utils";
|
|
8
|
-
import Arrow from '../stzh-tooltip/assets/arrow.svg';
|
|
9
|
-
const ANIMATION_SHOW_DURATION = 200;
|
|
10
|
-
const ANIMATION_HIDE_DURATION = 300;
|
|
11
|
-
const ANIMATION_SHOW_DURATION_SMALL = 100;
|
|
12
|
-
const ANIMATION_HIDE_DURATION_SMALL = 200;
|
|
13
|
-
function animationContentWrapperShow() {
|
|
14
|
-
const isSmall = media('small').matches;
|
|
15
|
-
return {
|
|
16
|
-
keyframes: [
|
|
17
|
-
{ opacity: '0' },
|
|
18
|
-
{ opacity: '1' }
|
|
19
|
-
],
|
|
20
|
-
options: {
|
|
21
|
-
duration: isSmall ? ANIMATION_SHOW_DURATION_SMALL : ANIMATION_SHOW_DURATION,
|
|
22
|
-
easing: 'linear'
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
function animationContentWrapperHide() {
|
|
27
|
-
const isSmall = media('small').matches;
|
|
28
|
-
return {
|
|
29
|
-
keyframes: [
|
|
30
|
-
{ opacity: '1' },
|
|
31
|
-
{ opacity: '0' }
|
|
32
|
-
],
|
|
33
|
-
options: {
|
|
34
|
-
duration: isSmall ? ANIMATION_HIDE_DURATION_SMALL : ANIMATION_HIDE_DURATION,
|
|
35
|
-
easing: 'linear'
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function animationDialogShow() {
|
|
40
|
-
const isSmall = media('small').matches;
|
|
41
|
-
return {
|
|
42
|
-
keyframes: [
|
|
43
|
-
{ transform: isSmall ? 'translateY(-8px)' : 'translateY(100%)' },
|
|
44
|
-
{ transform: 'translateY(0px)' }
|
|
45
|
-
],
|
|
46
|
-
options: {
|
|
47
|
-
duration: isSmall ? ANIMATION_SHOW_DURATION_SMALL : ANIMATION_SHOW_DURATION,
|
|
48
|
-
easing: 'linear'
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
function animationDialogHide() {
|
|
53
|
-
const isSmall = media('small').matches;
|
|
54
|
-
return {
|
|
55
|
-
keyframes: [
|
|
56
|
-
{ transform: 'translateY(0px)' },
|
|
57
|
-
{ transform: isSmall ? 'translateY(-8px)' : 'translateY(100%)' }
|
|
58
|
-
],
|
|
59
|
-
options: {
|
|
60
|
-
duration: isSmall ? ANIMATION_HIDE_DURATION_SMALL : ANIMATION_HIDE_DURATION,
|
|
61
|
-
easing: 'linear'
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
const keyCode = {
|
|
66
|
-
ESC: 27
|
|
67
|
-
};
|
|
68
|
-
const CLASS_BODY_OPEN = "stzh-popover-open";
|
|
69
|
-
let popoverCounter = 0;
|
|
70
|
-
/**
|
|
71
|
-
* @slot - Trigger element for popover
|
|
72
|
-
* @slot content - Any element used as popover content
|
|
73
|
-
* @slot action - `stzh-button` element
|
|
74
|
-
* @slot label - Label for mobile view (alternative for label property)
|
|
75
|
-
*
|
|
76
|
-
* @prop --min-width: Minimum width of popover above small breakpoint
|
|
77
|
-
*/
|
|
78
|
-
export class StzhPopover {
|
|
79
|
-
constructor() {
|
|
80
|
-
/** Whether popover should be open */
|
|
81
|
-
this.open = false;
|
|
82
|
-
/** Default placement of popover relative to trigger element */
|
|
83
|
-
this.placement = "bottom";
|
|
84
|
-
/** Variant */
|
|
85
|
-
this.variant = "default";
|
|
86
|
-
/** Shifting of popover content */
|
|
87
|
-
this.skidding = 0;
|
|
88
|
-
/** Label for mobile view (use label slot as alternative) */
|
|
89
|
-
this.label = "";
|
|
90
|
-
this.initialTouchX = null;
|
|
91
|
-
this.initialTouchY = null;
|
|
92
|
-
this.handleKeydown = (event) => {
|
|
93
|
-
if (event.keyCode === keyCode.ESC) {
|
|
94
|
-
this.hide();
|
|
95
|
-
}
|
|
96
|
-
};
|
|
97
|
-
this.onClickTrigger = () => {
|
|
98
|
-
this.toggle();
|
|
99
|
-
};
|
|
100
|
-
this.computePosition = async () => {
|
|
101
|
-
if (media('small').matches) {
|
|
102
|
-
const middleware = [
|
|
103
|
-
offset({
|
|
104
|
-
mainAxis: this.distance,
|
|
105
|
-
crossAxis: this.skidding
|
|
106
|
-
}),
|
|
107
|
-
flip({
|
|
108
|
-
padding: 5
|
|
109
|
-
}),
|
|
110
|
-
shift({
|
|
111
|
-
padding: 5
|
|
112
|
-
})
|
|
113
|
-
];
|
|
114
|
-
if (this.variant === "tooltip") {
|
|
115
|
-
middleware.push(arrow({
|
|
116
|
-
element: this.arrowElement,
|
|
117
|
-
padding: 5
|
|
118
|
-
}));
|
|
119
|
-
}
|
|
120
|
-
const { x = 0, y = 0, strategy = 'absolute', placement, middlewareData } = await computePosition(this.element, this.dialogElement, {
|
|
121
|
-
// strategy: 'fixed',
|
|
122
|
-
placement: this.placement,
|
|
123
|
-
middleware,
|
|
124
|
-
});
|
|
125
|
-
this.computedPlacement = placement;
|
|
126
|
-
Object.assign(this.dialogElement.style, {
|
|
127
|
-
position: strategy,
|
|
128
|
-
left: `${x}px`,
|
|
129
|
-
top: `${y}px`,
|
|
130
|
-
});
|
|
131
|
-
if (this.variant === "tooltip") {
|
|
132
|
-
Object.assign(this.arrowElement.style, {
|
|
133
|
-
left: x != null ? `${middlewareData.arrow.x}px` : '',
|
|
134
|
-
top: y != null ? `${middlewareData.arrow.y}px` : '',
|
|
135
|
-
});
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
else {
|
|
139
|
-
Object.assign(this.dialogElement.style, {
|
|
140
|
-
position: null,
|
|
141
|
-
left: null,
|
|
142
|
-
top: null,
|
|
143
|
-
});
|
|
144
|
-
if (this.variant === "tooltip") {
|
|
145
|
-
Object.assign(this.arrowElement.style, {
|
|
146
|
-
left: null,
|
|
147
|
-
top: null,
|
|
148
|
-
});
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
};
|
|
152
|
-
this.handleTouchStart = (event) => {
|
|
153
|
-
const touch = event.changedTouches[0];
|
|
154
|
-
this.initialTouchX = touch.pageX;
|
|
155
|
-
this.initialTouchY = touch.pageY;
|
|
156
|
-
};
|
|
157
|
-
// private handleTouchMove = (event: TouchEvent) => {
|
|
158
|
-
// event.preventDefault()
|
|
159
|
-
// }
|
|
160
|
-
this.handleTouchEnd = (event) => {
|
|
161
|
-
const touch = event.changedTouches[0];
|
|
162
|
-
const distX = touch.pageX - this.initialTouchX; // get horizontal dist traveled
|
|
163
|
-
const distY = touch.pageY - this.initialTouchY; // get vertical dist traveled
|
|
164
|
-
const threshold = 70;
|
|
165
|
-
const isYSwipe = Math.abs(distY) >= threshold
|
|
166
|
-
&& Math.abs(distX) <= threshold;
|
|
167
|
-
if (isYSwipe) {
|
|
168
|
-
this.hide();
|
|
169
|
-
}
|
|
170
|
-
this.initialTouchY = null;
|
|
171
|
-
this.initialTouchX = null;
|
|
172
|
-
};
|
|
173
|
-
}
|
|
174
|
-
/** Show popover content */
|
|
175
|
-
async show() {
|
|
176
|
-
if (this.open) {
|
|
177
|
-
return;
|
|
178
|
-
}
|
|
179
|
-
this.toggledByMethod = true;
|
|
180
|
-
this.open = true;
|
|
181
|
-
return waitForEvent(this.element, "stzhOpened");
|
|
182
|
-
}
|
|
183
|
-
/** Hide popover content */
|
|
184
|
-
async hide() {
|
|
185
|
-
if (!this.open) {
|
|
186
|
-
return;
|
|
187
|
-
}
|
|
188
|
-
this.toggledByMethod = true;
|
|
189
|
-
this.open = false;
|
|
190
|
-
return waitForEvent(this.element, "stzhClosed");
|
|
191
|
-
}
|
|
192
|
-
/** Toggle popover content */
|
|
193
|
-
async toggle() {
|
|
194
|
-
if (this.open) {
|
|
195
|
-
return await this.hide();
|
|
196
|
-
}
|
|
197
|
-
else {
|
|
198
|
-
return await this.show();
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
async update() {
|
|
202
|
-
return await this.computePosition();
|
|
203
|
-
}
|
|
204
|
-
handleOutsideClick(event) {
|
|
205
|
-
if (!this.open) {
|
|
206
|
-
return;
|
|
207
|
-
}
|
|
208
|
-
const isClickOutside = event.target !== this.dialogElement
|
|
209
|
-
&& this.dialogElement.contains(event.target) === false;
|
|
210
|
-
const isClickTrigger = event.target === this.triggerElement
|
|
211
|
-
|| this.triggerElement.contains(event.target);
|
|
212
|
-
if (isClickOutside && !isClickTrigger) {
|
|
213
|
-
this.hide();
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
async openWatcher(newValue) {
|
|
217
|
-
if (newValue) {
|
|
218
|
-
if (this.toggledByMethod) {
|
|
219
|
-
this.stzhOpen.emit({
|
|
220
|
-
component: "stzh-popover",
|
|
221
|
-
});
|
|
222
|
-
}
|
|
223
|
-
const animationShow = animationContentWrapperShow();
|
|
224
|
-
const animationShowDialog = animationDialogShow();
|
|
225
|
-
await Promise.all([
|
|
226
|
-
stopAnimations(this.contentWrapperElement),
|
|
227
|
-
stopAnimations(this.contentElement),
|
|
228
|
-
stopAnimations(this.dialogElement)
|
|
229
|
-
]);
|
|
230
|
-
// safari seems to need will-change,
|
|
231
|
-
// otherwise it has problems animating the element with the drop shadow
|
|
232
|
-
this.dialogElement.style.willChange = "transform, opacity, position, top, left, bottom, right";
|
|
233
|
-
this.contentWrapperElement.hidden = false;
|
|
234
|
-
await Promise.all([
|
|
235
|
-
animateTo(this.contentWrapperElement, animationShow.keyframes, animationShow.options),
|
|
236
|
-
animateTo(media('small').matches ? this.dialogElement : this.contentElement, animationShowDialog.keyframes, animationShowDialog.options)
|
|
237
|
-
]);
|
|
238
|
-
if (this.toggledByMethod) {
|
|
239
|
-
this.stzhOpened.emit({
|
|
240
|
-
component: "stzh-popover"
|
|
241
|
-
});
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
else {
|
|
245
|
-
if (this.toggledByMethod) {
|
|
246
|
-
this.stzhClose.emit({
|
|
247
|
-
component: "stzh-popover",
|
|
248
|
-
});
|
|
249
|
-
}
|
|
250
|
-
const animationHide = animationContentWrapperHide();
|
|
251
|
-
const animationHideDialog = animationDialogHide();
|
|
252
|
-
await Promise.all([
|
|
253
|
-
stopAnimations(this.contentWrapperElement),
|
|
254
|
-
stopAnimations(this.contentElement),
|
|
255
|
-
stopAnimations(this.dialogElement)
|
|
256
|
-
]);
|
|
257
|
-
await Promise.all([
|
|
258
|
-
animateTo(this.contentWrapperElement, animationHide.keyframes, animationHide.options),
|
|
259
|
-
animateTo(media('small').matches ? this.dialogElement : this.contentElement, animationHideDialog.keyframes, animationHideDialog.options),
|
|
260
|
-
]);
|
|
261
|
-
this.contentWrapperElement.hidden = true;
|
|
262
|
-
this.dialogElement.style.willChange = "auto";
|
|
263
|
-
if (this.toggledByMethod) {
|
|
264
|
-
this.stzhClosed.emit({
|
|
265
|
-
component: "stzh-popover"
|
|
266
|
-
});
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
this.toggledByMethod = false;
|
|
270
|
-
}
|
|
271
|
-
distanceWatcher(newValue) {
|
|
272
|
-
if (typeof newValue === 'number') {
|
|
273
|
-
this.distance = newValue;
|
|
274
|
-
}
|
|
275
|
-
else {
|
|
276
|
-
this.distance = this.variant === "tooltip" ? 16 : 8;
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
async componentWillLoad() {
|
|
280
|
-
this.labelId = `stzh-popover-label-${popoverCounter}`;
|
|
281
|
-
popoverCounter++;
|
|
282
|
-
this.distanceWatcher(this.distance);
|
|
283
|
-
if (!this.localization) {
|
|
284
|
-
this.localization = await fetchTranslations(this.element, 'popover');
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
popoverShown() {
|
|
288
|
-
document.body.classList.add(CLASS_BODY_OPEN);
|
|
289
|
-
this.triggerElement.firstElementChild
|
|
290
|
-
.setAttribute('aria-expanded', 'true');
|
|
291
|
-
if (this.trap) {
|
|
292
|
-
this.trap.activate();
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
popoverHidden() {
|
|
296
|
-
document.body.classList.remove(CLASS_BODY_OPEN);
|
|
297
|
-
this.triggerElement.firstElementChild
|
|
298
|
-
.setAttribute('aria-expanded', 'false');
|
|
299
|
-
if (this.trap) {
|
|
300
|
-
this.trap.deactivate();
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
componentDidRender() {
|
|
304
|
-
this.computePosition();
|
|
305
|
-
this.open ? this.popoverShown() : this.popoverHidden();
|
|
306
|
-
}
|
|
307
|
-
componentDidUpdate() {
|
|
308
|
-
this.trap.updateContainerElements(this.dialogElement);
|
|
309
|
-
}
|
|
310
|
-
componentDidLoad() {
|
|
311
|
-
this.autoUpdateCleanup = autoUpdate(this.element, this.dialogElement, this.computePosition);
|
|
312
|
-
this.contentWrapperElement.hidden = !this.open;
|
|
313
|
-
this.trap = createFocusTrap(this.dialogElement, {
|
|
314
|
-
fallbackFocus: this.dialogElement,
|
|
315
|
-
clickOutsideDeactivates: true,
|
|
316
|
-
returnFocusOnDeactivate: true
|
|
317
|
-
});
|
|
318
|
-
if (this.open) {
|
|
319
|
-
this.popoverShown();
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
connectedCallback() {
|
|
323
|
-
var _a;
|
|
324
|
-
let trigger = (_a = this.triggerElement) === null || _a === void 0 ? void 0 : _a.firstElementChild;
|
|
325
|
-
if (!trigger) {
|
|
326
|
-
const defaultSlot = Array.from(this.element.children)
|
|
327
|
-
.find(child => !child.hasAttribute('slot'));
|
|
328
|
-
trigger = defaultSlot;
|
|
329
|
-
}
|
|
330
|
-
if (trigger) {
|
|
331
|
-
trigger.addEventListener("click", this.onClickTrigger);
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
disconnectedCallback() {
|
|
335
|
-
if (this.autoUpdateCleanup) {
|
|
336
|
-
this.autoUpdateCleanup();
|
|
337
|
-
}
|
|
338
|
-
this.triggerElement.firstElementChild.removeEventListener("click", this.onClickTrigger);
|
|
339
|
-
}
|
|
340
|
-
render() {
|
|
341
|
-
const classes = {
|
|
342
|
-
"stzh-popover": true,
|
|
343
|
-
[`stzh-popover--open`]: this.open,
|
|
344
|
-
[`stzh-popover--placement-${this.computedPlacement}`]: !!this.computedPlacement,
|
|
345
|
-
[`stzh-popover--${this.variant}`]: !!this.variant
|
|
346
|
-
};
|
|
347
|
-
return (h(Host, null, h("div", { class: classes, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, h("div", { ref: (el) => (this.triggerElement = el), class: "stzh-popover__trigger" }, h("slot", null)), h("div", { ref: (el) => (this.contentWrapperElement = el), class: "stzh-popover__content-wrapper" }, h("div", { class: "stzh-popover__backdrop" }), h("div", { ref: (el) => (this.contentElement = el), class: "stzh-popover__content" }, h("div", { ref: (el) => (this.dialogElement = el), class: "stzh-popover__dialog", role: "dialog", tabindex: "-1", "aria-modal": "true", "aria-labelledby": this.label ? this.labelId : null, "aria-hidden": this.open ? "false" : "true", onKeyDown: this.handleKeydown }, this.variant === "tooltip" &&
|
|
348
|
-
h("div", { class: "stzh-popover__arrow", ref: (el) => (this.arrowElement = el), innerHTML: Arrow }), h("div", { class: "stzh-popover__content-inner" }, h("div", { class: "stzh-popover__content-slot" }, h("slot", { name: "content" }), h("div", { class: "stzh-popover__action-slot" }, h("slot", { name: "action" }))), h("div", { class: "stzh-popover__label-wrapper" }, h("h2", { id: this.labelId, class: "stzh-popover__label" }, this.label ? this.label : h("slot", { name: "label" })), h("button", { class: "stzh-popover__close", onClick: () => this.hide(), type: "button" }, h("stzh-icon", { name: "close", class: "stzh-popover__icon" }), h("span", { class: "stzh-popover__vhidden" }, this.localization.close))))))))));
|
|
349
|
-
}
|
|
350
|
-
static get is() { return "stzh-popover"; }
|
|
351
|
-
static get encapsulation() { return "scoped"; }
|
|
352
|
-
static get originalStyleUrls() {
|
|
353
|
-
return {
|
|
354
|
-
"$": ["stzh-popover.scss"]
|
|
355
|
-
};
|
|
356
|
-
}
|
|
357
|
-
static get styleUrls() {
|
|
358
|
-
return {
|
|
359
|
-
"$": ["stzh-popover.css"]
|
|
360
|
-
};
|
|
361
|
-
}
|
|
362
|
-
static get properties() {
|
|
363
|
-
return {
|
|
364
|
-
"open": {
|
|
365
|
-
"type": "boolean",
|
|
366
|
-
"mutable": true,
|
|
367
|
-
"complexType": {
|
|
368
|
-
"original": "boolean",
|
|
369
|
-
"resolved": "boolean",
|
|
370
|
-
"references": {}
|
|
371
|
-
},
|
|
372
|
-
"required": false,
|
|
373
|
-
"optional": false,
|
|
374
|
-
"docs": {
|
|
375
|
-
"tags": [],
|
|
376
|
-
"text": "Whether popover should be open"
|
|
377
|
-
},
|
|
378
|
-
"attribute": "open",
|
|
379
|
-
"reflect": true,
|
|
380
|
-
"defaultValue": "false"
|
|
381
|
-
},
|
|
382
|
-
"placement": {
|
|
383
|
-
"type": "string",
|
|
384
|
-
"mutable": false,
|
|
385
|
-
"complexType": {
|
|
386
|
-
"original": "Placement",
|
|
387
|
-
"resolved": "\"bottom\" | \"bottom-end\" | \"bottom-start\" | \"left\" | \"left-end\" | \"left-start\" | \"right\" | \"right-end\" | \"right-start\" | \"top\" | \"top-end\" | \"top-start\"",
|
|
388
|
-
"references": {
|
|
389
|
-
"Placement": {
|
|
390
|
-
"location": "import",
|
|
391
|
-
"path": "@floating-ui/dom"
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
},
|
|
395
|
-
"required": false,
|
|
396
|
-
"optional": false,
|
|
397
|
-
"docs": {
|
|
398
|
-
"tags": [],
|
|
399
|
-
"text": "Default placement of popover relative to trigger element"
|
|
400
|
-
},
|
|
401
|
-
"attribute": "placement",
|
|
402
|
-
"reflect": true,
|
|
403
|
-
"defaultValue": "\"bottom\""
|
|
404
|
-
},
|
|
405
|
-
"variant": {
|
|
406
|
-
"type": "string",
|
|
407
|
-
"mutable": false,
|
|
408
|
-
"complexType": {
|
|
409
|
-
"original": "\"default\" | \"tooltip\"",
|
|
410
|
-
"resolved": "\"default\" | \"tooltip\"",
|
|
411
|
-
"references": {}
|
|
412
|
-
},
|
|
413
|
-
"required": false,
|
|
414
|
-
"optional": false,
|
|
415
|
-
"docs": {
|
|
416
|
-
"tags": [],
|
|
417
|
-
"text": "Variant"
|
|
418
|
-
},
|
|
419
|
-
"attribute": "variant",
|
|
420
|
-
"reflect": true,
|
|
421
|
-
"defaultValue": "\"default\""
|
|
422
|
-
},
|
|
423
|
-
"skidding": {
|
|
424
|
-
"type": "number",
|
|
425
|
-
"mutable": false,
|
|
426
|
-
"complexType": {
|
|
427
|
-
"original": "number",
|
|
428
|
-
"resolved": "number",
|
|
429
|
-
"references": {}
|
|
430
|
-
},
|
|
431
|
-
"required": false,
|
|
432
|
-
"optional": false,
|
|
433
|
-
"docs": {
|
|
434
|
-
"tags": [],
|
|
435
|
-
"text": "Shifting of popover content"
|
|
436
|
-
},
|
|
437
|
-
"attribute": "skidding",
|
|
438
|
-
"reflect": false,
|
|
439
|
-
"defaultValue": "0"
|
|
440
|
-
},
|
|
441
|
-
"distance": {
|
|
442
|
-
"type": "number",
|
|
443
|
-
"mutable": false,
|
|
444
|
-
"complexType": {
|
|
445
|
-
"original": "number",
|
|
446
|
-
"resolved": "number",
|
|
447
|
-
"references": {}
|
|
448
|
-
},
|
|
449
|
-
"required": false,
|
|
450
|
-
"optional": false,
|
|
451
|
-
"docs": {
|
|
452
|
-
"tags": [],
|
|
453
|
-
"text": "Distance from popover content to trigger. \"8\" when default variant, \"16\" when tooltip variant (arrow height + 8px)."
|
|
454
|
-
},
|
|
455
|
-
"attribute": "distance",
|
|
456
|
-
"reflect": false
|
|
457
|
-
},
|
|
458
|
-
"label": {
|
|
459
|
-
"type": "string",
|
|
460
|
-
"mutable": false,
|
|
461
|
-
"complexType": {
|
|
462
|
-
"original": "string",
|
|
463
|
-
"resolved": "string",
|
|
464
|
-
"references": {}
|
|
465
|
-
},
|
|
466
|
-
"required": false,
|
|
467
|
-
"optional": false,
|
|
468
|
-
"docs": {
|
|
469
|
-
"tags": [],
|
|
470
|
-
"text": "Label for mobile view (use label slot as alternative)"
|
|
471
|
-
},
|
|
472
|
-
"attribute": "label",
|
|
473
|
-
"reflect": false,
|
|
474
|
-
"defaultValue": "\"\""
|
|
475
|
-
},
|
|
476
|
-
"localization": {
|
|
477
|
-
"type": "unknown",
|
|
478
|
-
"mutable": false,
|
|
479
|
-
"complexType": {
|
|
480
|
-
"original": "StzhPopoverLocalizedText",
|
|
481
|
-
"resolved": "StzhLocaleComponent & { close: string; }",
|
|
482
|
-
"references": {
|
|
483
|
-
"StzhPopoverLocalizedText": {
|
|
484
|
-
"location": "import",
|
|
485
|
-
"path": "./stzh-popover.localization"
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
},
|
|
489
|
-
"required": false,
|
|
490
|
-
"optional": false,
|
|
491
|
-
"docs": {
|
|
492
|
-
"tags": [],
|
|
493
|
-
"text": "Translation strings."
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
};
|
|
497
|
-
}
|
|
498
|
-
static get states() {
|
|
499
|
-
return {
|
|
500
|
-
"computedPlacement": {}
|
|
501
|
-
};
|
|
502
|
-
}
|
|
503
|
-
static get events() {
|
|
504
|
-
return [{
|
|
505
|
-
"method": "stzhOpen",
|
|
506
|
-
"name": "stzhOpen",
|
|
507
|
-
"bubbles": true,
|
|
508
|
-
"cancelable": true,
|
|
509
|
-
"composed": true,
|
|
510
|
-
"docs": {
|
|
511
|
-
"tags": [],
|
|
512
|
-
"text": "Popover open event"
|
|
513
|
-
},
|
|
514
|
-
"complexType": {
|
|
515
|
-
"original": "StzhPopoverOpenEvent",
|
|
516
|
-
"resolved": "{ component: \"stzh-popover\"; }",
|
|
517
|
-
"references": {
|
|
518
|
-
"StzhPopoverOpenEvent": {
|
|
519
|
-
"location": "import",
|
|
520
|
-
"path": "../../index"
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
}, {
|
|
525
|
-
"method": "stzhOpened",
|
|
526
|
-
"name": "stzhOpened",
|
|
527
|
-
"bubbles": true,
|
|
528
|
-
"cancelable": true,
|
|
529
|
-
"composed": true,
|
|
530
|
-
"docs": {
|
|
531
|
-
"tags": [],
|
|
532
|
-
"text": "Popover opened event (after animation)"
|
|
533
|
-
},
|
|
534
|
-
"complexType": {
|
|
535
|
-
"original": "StzhPopoverOpenedEvent",
|
|
536
|
-
"resolved": "{ component: \"stzh-popover\"; }",
|
|
537
|
-
"references": {
|
|
538
|
-
"StzhPopoverOpenedEvent": {
|
|
539
|
-
"location": "import",
|
|
540
|
-
"path": "../../index"
|
|
541
|
-
}
|
|
542
|
-
}
|
|
543
|
-
}
|
|
544
|
-
}, {
|
|
545
|
-
"method": "stzhClose",
|
|
546
|
-
"name": "stzhClose",
|
|
547
|
-
"bubbles": true,
|
|
548
|
-
"cancelable": true,
|
|
549
|
-
"composed": true,
|
|
550
|
-
"docs": {
|
|
551
|
-
"tags": [],
|
|
552
|
-
"text": "Popover close event"
|
|
553
|
-
},
|
|
554
|
-
"complexType": {
|
|
555
|
-
"original": "StzhPopoverCloseEvent",
|
|
556
|
-
"resolved": "{ component: \"stzh-popover\"; }",
|
|
557
|
-
"references": {
|
|
558
|
-
"StzhPopoverCloseEvent": {
|
|
559
|
-
"location": "import",
|
|
560
|
-
"path": "../../index"
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
}
|
|
564
|
-
}, {
|
|
565
|
-
"method": "stzhClosed",
|
|
566
|
-
"name": "stzhClosed",
|
|
567
|
-
"bubbles": true,
|
|
568
|
-
"cancelable": true,
|
|
569
|
-
"composed": true,
|
|
570
|
-
"docs": {
|
|
571
|
-
"tags": [],
|
|
572
|
-
"text": "Popover closed event (after animation)"
|
|
573
|
-
},
|
|
574
|
-
"complexType": {
|
|
575
|
-
"original": "StzhPopoverClosedEvent",
|
|
576
|
-
"resolved": "{ component: \"stzh-popover\"; }",
|
|
577
|
-
"references": {
|
|
578
|
-
"StzhPopoverClosedEvent": {
|
|
579
|
-
"location": "import",
|
|
580
|
-
"path": "../../index"
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
}];
|
|
585
|
-
}
|
|
586
|
-
static get methods() {
|
|
587
|
-
return {
|
|
588
|
-
"show": {
|
|
589
|
-
"complexType": {
|
|
590
|
-
"signature": "() => Promise<void>",
|
|
591
|
-
"parameters": [],
|
|
592
|
-
"references": {
|
|
593
|
-
"Promise": {
|
|
594
|
-
"location": "global"
|
|
595
|
-
}
|
|
596
|
-
},
|
|
597
|
-
"return": "Promise<void>"
|
|
598
|
-
},
|
|
599
|
-
"docs": {
|
|
600
|
-
"text": "Show popover content",
|
|
601
|
-
"tags": []
|
|
602
|
-
}
|
|
603
|
-
},
|
|
604
|
-
"hide": {
|
|
605
|
-
"complexType": {
|
|
606
|
-
"signature": "() => Promise<void>",
|
|
607
|
-
"parameters": [],
|
|
608
|
-
"references": {
|
|
609
|
-
"Promise": {
|
|
610
|
-
"location": "global"
|
|
611
|
-
}
|
|
612
|
-
},
|
|
613
|
-
"return": "Promise<void>"
|
|
614
|
-
},
|
|
615
|
-
"docs": {
|
|
616
|
-
"text": "Hide popover content",
|
|
617
|
-
"tags": []
|
|
618
|
-
}
|
|
619
|
-
},
|
|
620
|
-
"toggle": {
|
|
621
|
-
"complexType": {
|
|
622
|
-
"signature": "() => Promise<void>",
|
|
623
|
-
"parameters": [],
|
|
624
|
-
"references": {
|
|
625
|
-
"Promise": {
|
|
626
|
-
"location": "global"
|
|
627
|
-
}
|
|
628
|
-
},
|
|
629
|
-
"return": "Promise<void>"
|
|
630
|
-
},
|
|
631
|
-
"docs": {
|
|
632
|
-
"text": "Toggle popover content",
|
|
633
|
-
"tags": []
|
|
634
|
-
}
|
|
635
|
-
},
|
|
636
|
-
"update": {
|
|
637
|
-
"complexType": {
|
|
638
|
-
"signature": "() => Promise<void>",
|
|
639
|
-
"parameters": [],
|
|
640
|
-
"references": {
|
|
641
|
-
"Promise": {
|
|
642
|
-
"location": "global"
|
|
643
|
-
}
|
|
644
|
-
},
|
|
645
|
-
"return": "Promise<void>"
|
|
646
|
-
},
|
|
647
|
-
"docs": {
|
|
648
|
-
"text": "",
|
|
649
|
-
"tags": []
|
|
650
|
-
}
|
|
651
|
-
}
|
|
652
|
-
};
|
|
653
|
-
}
|
|
654
|
-
static get elementRef() { return "element"; }
|
|
655
|
-
static get watchers() {
|
|
656
|
-
return [{
|
|
657
|
-
"propName": "open",
|
|
658
|
-
"methodName": "openWatcher"
|
|
659
|
-
}, {
|
|
660
|
-
"propName": "distance",
|
|
661
|
-
"methodName": "distanceWatcher"
|
|
662
|
-
}];
|
|
663
|
-
}
|
|
664
|
-
static get listeners() {
|
|
665
|
-
return [{
|
|
666
|
-
"name": "click",
|
|
667
|
-
"method": "handleOutsideClick",
|
|
668
|
-
"target": "document",
|
|
669
|
-
"capture": true,
|
|
670
|
-
"passive": false
|
|
671
|
-
}];
|
|
672
|
-
}
|
|
673
|
-
}
|
|
1
|
+
import { Host, h, } from "@stencil/core";
|
|
2
|
+
import { computePosition, offset, shift, flip, arrow, autoUpdate, } from '@floating-ui/dom';
|
|
3
|
+
import { createFocusTrap } from 'focus-trap';
|
|
4
|
+
import { fetchTranslations } from "../../utils/translation-utils";
|
|
5
|
+
import { media } from '../../utils/media-utils';
|
|
6
|
+
import { waitForEvent } from "../../utils/event-utils";
|
|
7
|
+
import { stopAnimations, animateTo } from "../../utils/animation-utils";
|
|
8
|
+
import Arrow from '../stzh-tooltip/assets/arrow.svg';
|
|
9
|
+
const ANIMATION_SHOW_DURATION = 200;
|
|
10
|
+
const ANIMATION_HIDE_DURATION = 300;
|
|
11
|
+
const ANIMATION_SHOW_DURATION_SMALL = 100;
|
|
12
|
+
const ANIMATION_HIDE_DURATION_SMALL = 200;
|
|
13
|
+
function animationContentWrapperShow() {
|
|
14
|
+
const isSmall = media('small').matches;
|
|
15
|
+
return {
|
|
16
|
+
keyframes: [
|
|
17
|
+
{ opacity: '0' },
|
|
18
|
+
{ opacity: '1' }
|
|
19
|
+
],
|
|
20
|
+
options: {
|
|
21
|
+
duration: isSmall ? ANIMATION_SHOW_DURATION_SMALL : ANIMATION_SHOW_DURATION,
|
|
22
|
+
easing: 'linear'
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function animationContentWrapperHide() {
|
|
27
|
+
const isSmall = media('small').matches;
|
|
28
|
+
return {
|
|
29
|
+
keyframes: [
|
|
30
|
+
{ opacity: '1' },
|
|
31
|
+
{ opacity: '0' }
|
|
32
|
+
],
|
|
33
|
+
options: {
|
|
34
|
+
duration: isSmall ? ANIMATION_HIDE_DURATION_SMALL : ANIMATION_HIDE_DURATION,
|
|
35
|
+
easing: 'linear'
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function animationDialogShow() {
|
|
40
|
+
const isSmall = media('small').matches;
|
|
41
|
+
return {
|
|
42
|
+
keyframes: [
|
|
43
|
+
{ transform: isSmall ? 'translateY(-8px)' : 'translateY(100%)' },
|
|
44
|
+
{ transform: 'translateY(0px)' }
|
|
45
|
+
],
|
|
46
|
+
options: {
|
|
47
|
+
duration: isSmall ? ANIMATION_SHOW_DURATION_SMALL : ANIMATION_SHOW_DURATION,
|
|
48
|
+
easing: 'linear'
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function animationDialogHide() {
|
|
53
|
+
const isSmall = media('small').matches;
|
|
54
|
+
return {
|
|
55
|
+
keyframes: [
|
|
56
|
+
{ transform: 'translateY(0px)' },
|
|
57
|
+
{ transform: isSmall ? 'translateY(-8px)' : 'translateY(100%)' }
|
|
58
|
+
],
|
|
59
|
+
options: {
|
|
60
|
+
duration: isSmall ? ANIMATION_HIDE_DURATION_SMALL : ANIMATION_HIDE_DURATION,
|
|
61
|
+
easing: 'linear'
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
const keyCode = {
|
|
66
|
+
ESC: 27
|
|
67
|
+
};
|
|
68
|
+
const CLASS_BODY_OPEN = "stzh-popover-open";
|
|
69
|
+
let popoverCounter = 0;
|
|
70
|
+
/**
|
|
71
|
+
* @slot - Trigger element for popover
|
|
72
|
+
* @slot content - Any element used as popover content
|
|
73
|
+
* @slot action - `stzh-button` element
|
|
74
|
+
* @slot label - Label for mobile view (alternative for label property)
|
|
75
|
+
*
|
|
76
|
+
* @prop --min-width: Minimum width of popover above small breakpoint
|
|
77
|
+
*/
|
|
78
|
+
export class StzhPopover {
|
|
79
|
+
constructor() {
|
|
80
|
+
/** Whether popover should be open */
|
|
81
|
+
this.open = false;
|
|
82
|
+
/** Default placement of popover relative to trigger element */
|
|
83
|
+
this.placement = "bottom";
|
|
84
|
+
/** Variant */
|
|
85
|
+
this.variant = "default";
|
|
86
|
+
/** Shifting of popover content */
|
|
87
|
+
this.skidding = 0;
|
|
88
|
+
/** Label for mobile view (use label slot as alternative) */
|
|
89
|
+
this.label = "";
|
|
90
|
+
this.initialTouchX = null;
|
|
91
|
+
this.initialTouchY = null;
|
|
92
|
+
this.handleKeydown = (event) => {
|
|
93
|
+
if (event.keyCode === keyCode.ESC) {
|
|
94
|
+
this.hide();
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
this.onClickTrigger = () => {
|
|
98
|
+
this.toggle();
|
|
99
|
+
};
|
|
100
|
+
this.computePosition = async () => {
|
|
101
|
+
if (media('small').matches) {
|
|
102
|
+
const middleware = [
|
|
103
|
+
offset({
|
|
104
|
+
mainAxis: this.distance,
|
|
105
|
+
crossAxis: this.skidding
|
|
106
|
+
}),
|
|
107
|
+
flip({
|
|
108
|
+
padding: 5
|
|
109
|
+
}),
|
|
110
|
+
shift({
|
|
111
|
+
padding: 5
|
|
112
|
+
})
|
|
113
|
+
];
|
|
114
|
+
if (this.variant === "tooltip") {
|
|
115
|
+
middleware.push(arrow({
|
|
116
|
+
element: this.arrowElement,
|
|
117
|
+
padding: 5
|
|
118
|
+
}));
|
|
119
|
+
}
|
|
120
|
+
const { x = 0, y = 0, strategy = 'absolute', placement, middlewareData } = await computePosition(this.element, this.dialogElement, {
|
|
121
|
+
// strategy: 'fixed',
|
|
122
|
+
placement: this.placement,
|
|
123
|
+
middleware,
|
|
124
|
+
});
|
|
125
|
+
this.computedPlacement = placement;
|
|
126
|
+
Object.assign(this.dialogElement.style, {
|
|
127
|
+
position: strategy,
|
|
128
|
+
left: `${x}px`,
|
|
129
|
+
top: `${y}px`,
|
|
130
|
+
});
|
|
131
|
+
if (this.variant === "tooltip") {
|
|
132
|
+
Object.assign(this.arrowElement.style, {
|
|
133
|
+
left: x != null ? `${middlewareData.arrow.x}px` : '',
|
|
134
|
+
top: y != null ? `${middlewareData.arrow.y}px` : '',
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
else {
|
|
139
|
+
Object.assign(this.dialogElement.style, {
|
|
140
|
+
position: null,
|
|
141
|
+
left: null,
|
|
142
|
+
top: null,
|
|
143
|
+
});
|
|
144
|
+
if (this.variant === "tooltip") {
|
|
145
|
+
Object.assign(this.arrowElement.style, {
|
|
146
|
+
left: null,
|
|
147
|
+
top: null,
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
this.handleTouchStart = (event) => {
|
|
153
|
+
const touch = event.changedTouches[0];
|
|
154
|
+
this.initialTouchX = touch.pageX;
|
|
155
|
+
this.initialTouchY = touch.pageY;
|
|
156
|
+
};
|
|
157
|
+
// private handleTouchMove = (event: TouchEvent) => {
|
|
158
|
+
// event.preventDefault()
|
|
159
|
+
// }
|
|
160
|
+
this.handleTouchEnd = (event) => {
|
|
161
|
+
const touch = event.changedTouches[0];
|
|
162
|
+
const distX = touch.pageX - this.initialTouchX; // get horizontal dist traveled
|
|
163
|
+
const distY = touch.pageY - this.initialTouchY; // get vertical dist traveled
|
|
164
|
+
const threshold = 70;
|
|
165
|
+
const isYSwipe = Math.abs(distY) >= threshold
|
|
166
|
+
&& Math.abs(distX) <= threshold;
|
|
167
|
+
if (isYSwipe) {
|
|
168
|
+
this.hide();
|
|
169
|
+
}
|
|
170
|
+
this.initialTouchY = null;
|
|
171
|
+
this.initialTouchX = null;
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
/** Show popover content */
|
|
175
|
+
async show() {
|
|
176
|
+
if (this.open) {
|
|
177
|
+
return;
|
|
178
|
+
}
|
|
179
|
+
this.toggledByMethod = true;
|
|
180
|
+
this.open = true;
|
|
181
|
+
return waitForEvent(this.element, "stzhOpened");
|
|
182
|
+
}
|
|
183
|
+
/** Hide popover content */
|
|
184
|
+
async hide() {
|
|
185
|
+
if (!this.open) {
|
|
186
|
+
return;
|
|
187
|
+
}
|
|
188
|
+
this.toggledByMethod = true;
|
|
189
|
+
this.open = false;
|
|
190
|
+
return waitForEvent(this.element, "stzhClosed");
|
|
191
|
+
}
|
|
192
|
+
/** Toggle popover content */
|
|
193
|
+
async toggle() {
|
|
194
|
+
if (this.open) {
|
|
195
|
+
return await this.hide();
|
|
196
|
+
}
|
|
197
|
+
else {
|
|
198
|
+
return await this.show();
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
async update() {
|
|
202
|
+
return await this.computePosition();
|
|
203
|
+
}
|
|
204
|
+
handleOutsideClick(event) {
|
|
205
|
+
if (!this.open) {
|
|
206
|
+
return;
|
|
207
|
+
}
|
|
208
|
+
const isClickOutside = event.target !== this.dialogElement
|
|
209
|
+
&& this.dialogElement.contains(event.target) === false;
|
|
210
|
+
const isClickTrigger = event.target === this.triggerElement
|
|
211
|
+
|| this.triggerElement.contains(event.target);
|
|
212
|
+
if (isClickOutside && !isClickTrigger) {
|
|
213
|
+
this.hide();
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
async openWatcher(newValue) {
|
|
217
|
+
if (newValue) {
|
|
218
|
+
if (this.toggledByMethod) {
|
|
219
|
+
this.stzhOpen.emit({
|
|
220
|
+
component: "stzh-popover",
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
const animationShow = animationContentWrapperShow();
|
|
224
|
+
const animationShowDialog = animationDialogShow();
|
|
225
|
+
await Promise.all([
|
|
226
|
+
stopAnimations(this.contentWrapperElement),
|
|
227
|
+
stopAnimations(this.contentElement),
|
|
228
|
+
stopAnimations(this.dialogElement)
|
|
229
|
+
]);
|
|
230
|
+
// safari seems to need will-change,
|
|
231
|
+
// otherwise it has problems animating the element with the drop shadow
|
|
232
|
+
this.dialogElement.style.willChange = "transform, opacity, position, top, left, bottom, right";
|
|
233
|
+
this.contentWrapperElement.hidden = false;
|
|
234
|
+
await Promise.all([
|
|
235
|
+
animateTo(this.contentWrapperElement, animationShow.keyframes, animationShow.options),
|
|
236
|
+
animateTo(media('small').matches ? this.dialogElement : this.contentElement, animationShowDialog.keyframes, animationShowDialog.options)
|
|
237
|
+
]);
|
|
238
|
+
if (this.toggledByMethod) {
|
|
239
|
+
this.stzhOpened.emit({
|
|
240
|
+
component: "stzh-popover"
|
|
241
|
+
});
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
else {
|
|
245
|
+
if (this.toggledByMethod) {
|
|
246
|
+
this.stzhClose.emit({
|
|
247
|
+
component: "stzh-popover",
|
|
248
|
+
});
|
|
249
|
+
}
|
|
250
|
+
const animationHide = animationContentWrapperHide();
|
|
251
|
+
const animationHideDialog = animationDialogHide();
|
|
252
|
+
await Promise.all([
|
|
253
|
+
stopAnimations(this.contentWrapperElement),
|
|
254
|
+
stopAnimations(this.contentElement),
|
|
255
|
+
stopAnimations(this.dialogElement)
|
|
256
|
+
]);
|
|
257
|
+
await Promise.all([
|
|
258
|
+
animateTo(this.contentWrapperElement, animationHide.keyframes, animationHide.options),
|
|
259
|
+
animateTo(media('small').matches ? this.dialogElement : this.contentElement, animationHideDialog.keyframes, animationHideDialog.options),
|
|
260
|
+
]);
|
|
261
|
+
this.contentWrapperElement.hidden = true;
|
|
262
|
+
this.dialogElement.style.willChange = "auto";
|
|
263
|
+
if (this.toggledByMethod) {
|
|
264
|
+
this.stzhClosed.emit({
|
|
265
|
+
component: "stzh-popover"
|
|
266
|
+
});
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
this.toggledByMethod = false;
|
|
270
|
+
}
|
|
271
|
+
distanceWatcher(newValue) {
|
|
272
|
+
if (typeof newValue === 'number') {
|
|
273
|
+
this.distance = newValue;
|
|
274
|
+
}
|
|
275
|
+
else {
|
|
276
|
+
this.distance = this.variant === "tooltip" ? 16 : 8;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
async componentWillLoad() {
|
|
280
|
+
this.labelId = `stzh-popover-label-${popoverCounter}`;
|
|
281
|
+
popoverCounter++;
|
|
282
|
+
this.distanceWatcher(this.distance);
|
|
283
|
+
if (!this.localization) {
|
|
284
|
+
this.localization = await fetchTranslations(this.element, 'popover');
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
popoverShown() {
|
|
288
|
+
document.body.classList.add(CLASS_BODY_OPEN);
|
|
289
|
+
this.triggerElement.firstElementChild
|
|
290
|
+
.setAttribute('aria-expanded', 'true');
|
|
291
|
+
if (this.trap) {
|
|
292
|
+
this.trap.activate();
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
popoverHidden() {
|
|
296
|
+
document.body.classList.remove(CLASS_BODY_OPEN);
|
|
297
|
+
this.triggerElement.firstElementChild
|
|
298
|
+
.setAttribute('aria-expanded', 'false');
|
|
299
|
+
if (this.trap) {
|
|
300
|
+
this.trap.deactivate();
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
componentDidRender() {
|
|
304
|
+
this.computePosition();
|
|
305
|
+
this.open ? this.popoverShown() : this.popoverHidden();
|
|
306
|
+
}
|
|
307
|
+
componentDidUpdate() {
|
|
308
|
+
this.trap.updateContainerElements(this.dialogElement);
|
|
309
|
+
}
|
|
310
|
+
componentDidLoad() {
|
|
311
|
+
this.autoUpdateCleanup = autoUpdate(this.element, this.dialogElement, this.computePosition);
|
|
312
|
+
this.contentWrapperElement.hidden = !this.open;
|
|
313
|
+
this.trap = createFocusTrap(this.dialogElement, {
|
|
314
|
+
fallbackFocus: this.dialogElement,
|
|
315
|
+
clickOutsideDeactivates: true,
|
|
316
|
+
returnFocusOnDeactivate: true
|
|
317
|
+
});
|
|
318
|
+
if (this.open) {
|
|
319
|
+
this.popoverShown();
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
connectedCallback() {
|
|
323
|
+
var _a;
|
|
324
|
+
let trigger = (_a = this.triggerElement) === null || _a === void 0 ? void 0 : _a.firstElementChild;
|
|
325
|
+
if (!trigger) {
|
|
326
|
+
const defaultSlot = Array.from(this.element.children)
|
|
327
|
+
.find(child => !child.hasAttribute('slot'));
|
|
328
|
+
trigger = defaultSlot;
|
|
329
|
+
}
|
|
330
|
+
if (trigger) {
|
|
331
|
+
trigger.addEventListener("click", this.onClickTrigger);
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
disconnectedCallback() {
|
|
335
|
+
if (this.autoUpdateCleanup) {
|
|
336
|
+
this.autoUpdateCleanup();
|
|
337
|
+
}
|
|
338
|
+
this.triggerElement.firstElementChild.removeEventListener("click", this.onClickTrigger);
|
|
339
|
+
}
|
|
340
|
+
render() {
|
|
341
|
+
const classes = {
|
|
342
|
+
"stzh-popover": true,
|
|
343
|
+
[`stzh-popover--open`]: this.open,
|
|
344
|
+
[`stzh-popover--placement-${this.computedPlacement}`]: !!this.computedPlacement,
|
|
345
|
+
[`stzh-popover--${this.variant}`]: !!this.variant
|
|
346
|
+
};
|
|
347
|
+
return (h(Host, null, h("div", { class: classes, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, h("div", { ref: (el) => (this.triggerElement = el), class: "stzh-popover__trigger" }, h("slot", null)), h("div", { ref: (el) => (this.contentWrapperElement = el), class: "stzh-popover__content-wrapper" }, h("div", { class: "stzh-popover__backdrop" }), h("div", { ref: (el) => (this.contentElement = el), class: "stzh-popover__content" }, h("div", { ref: (el) => (this.dialogElement = el), class: "stzh-popover__dialog", role: "dialog", tabindex: "-1", "aria-modal": "true", "aria-labelledby": this.label ? this.labelId : null, "aria-hidden": this.open ? "false" : "true", onKeyDown: this.handleKeydown }, this.variant === "tooltip" &&
|
|
348
|
+
h("div", { class: "stzh-popover__arrow", ref: (el) => (this.arrowElement = el), innerHTML: Arrow }), h("div", { class: "stzh-popover__content-inner" }, h("div", { class: "stzh-popover__content-slot" }, h("slot", { name: "content" }), h("div", { class: "stzh-popover__action-slot" }, h("slot", { name: "action" }))), h("div", { class: "stzh-popover__label-wrapper" }, h("h2", { id: this.labelId, class: "stzh-popover__label" }, this.label ? this.label : h("slot", { name: "label" })), h("button", { class: "stzh-popover__close", onClick: () => this.hide(), type: "button" }, h("stzh-icon", { name: "close", class: "stzh-popover__icon" }), h("span", { class: "stzh-popover__vhidden" }, this.localization.close))))))))));
|
|
349
|
+
}
|
|
350
|
+
static get is() { return "stzh-popover"; }
|
|
351
|
+
static get encapsulation() { return "scoped"; }
|
|
352
|
+
static get originalStyleUrls() {
|
|
353
|
+
return {
|
|
354
|
+
"$": ["stzh-popover.scss"]
|
|
355
|
+
};
|
|
356
|
+
}
|
|
357
|
+
static get styleUrls() {
|
|
358
|
+
return {
|
|
359
|
+
"$": ["stzh-popover.css"]
|
|
360
|
+
};
|
|
361
|
+
}
|
|
362
|
+
static get properties() {
|
|
363
|
+
return {
|
|
364
|
+
"open": {
|
|
365
|
+
"type": "boolean",
|
|
366
|
+
"mutable": true,
|
|
367
|
+
"complexType": {
|
|
368
|
+
"original": "boolean",
|
|
369
|
+
"resolved": "boolean",
|
|
370
|
+
"references": {}
|
|
371
|
+
},
|
|
372
|
+
"required": false,
|
|
373
|
+
"optional": false,
|
|
374
|
+
"docs": {
|
|
375
|
+
"tags": [],
|
|
376
|
+
"text": "Whether popover should be open"
|
|
377
|
+
},
|
|
378
|
+
"attribute": "open",
|
|
379
|
+
"reflect": true,
|
|
380
|
+
"defaultValue": "false"
|
|
381
|
+
},
|
|
382
|
+
"placement": {
|
|
383
|
+
"type": "string",
|
|
384
|
+
"mutable": false,
|
|
385
|
+
"complexType": {
|
|
386
|
+
"original": "Placement",
|
|
387
|
+
"resolved": "\"bottom\" | \"bottom-end\" | \"bottom-start\" | \"left\" | \"left-end\" | \"left-start\" | \"right\" | \"right-end\" | \"right-start\" | \"top\" | \"top-end\" | \"top-start\"",
|
|
388
|
+
"references": {
|
|
389
|
+
"Placement": {
|
|
390
|
+
"location": "import",
|
|
391
|
+
"path": "@floating-ui/dom"
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
"required": false,
|
|
396
|
+
"optional": false,
|
|
397
|
+
"docs": {
|
|
398
|
+
"tags": [],
|
|
399
|
+
"text": "Default placement of popover relative to trigger element"
|
|
400
|
+
},
|
|
401
|
+
"attribute": "placement",
|
|
402
|
+
"reflect": true,
|
|
403
|
+
"defaultValue": "\"bottom\""
|
|
404
|
+
},
|
|
405
|
+
"variant": {
|
|
406
|
+
"type": "string",
|
|
407
|
+
"mutable": false,
|
|
408
|
+
"complexType": {
|
|
409
|
+
"original": "\"default\" | \"tooltip\"",
|
|
410
|
+
"resolved": "\"default\" | \"tooltip\"",
|
|
411
|
+
"references": {}
|
|
412
|
+
},
|
|
413
|
+
"required": false,
|
|
414
|
+
"optional": false,
|
|
415
|
+
"docs": {
|
|
416
|
+
"tags": [],
|
|
417
|
+
"text": "Variant"
|
|
418
|
+
},
|
|
419
|
+
"attribute": "variant",
|
|
420
|
+
"reflect": true,
|
|
421
|
+
"defaultValue": "\"default\""
|
|
422
|
+
},
|
|
423
|
+
"skidding": {
|
|
424
|
+
"type": "number",
|
|
425
|
+
"mutable": false,
|
|
426
|
+
"complexType": {
|
|
427
|
+
"original": "number",
|
|
428
|
+
"resolved": "number",
|
|
429
|
+
"references": {}
|
|
430
|
+
},
|
|
431
|
+
"required": false,
|
|
432
|
+
"optional": false,
|
|
433
|
+
"docs": {
|
|
434
|
+
"tags": [],
|
|
435
|
+
"text": "Shifting of popover content"
|
|
436
|
+
},
|
|
437
|
+
"attribute": "skidding",
|
|
438
|
+
"reflect": false,
|
|
439
|
+
"defaultValue": "0"
|
|
440
|
+
},
|
|
441
|
+
"distance": {
|
|
442
|
+
"type": "number",
|
|
443
|
+
"mutable": false,
|
|
444
|
+
"complexType": {
|
|
445
|
+
"original": "number",
|
|
446
|
+
"resolved": "number",
|
|
447
|
+
"references": {}
|
|
448
|
+
},
|
|
449
|
+
"required": false,
|
|
450
|
+
"optional": false,
|
|
451
|
+
"docs": {
|
|
452
|
+
"tags": [],
|
|
453
|
+
"text": "Distance from popover content to trigger. \"8\" when default variant, \"16\" when tooltip variant (arrow height + 8px)."
|
|
454
|
+
},
|
|
455
|
+
"attribute": "distance",
|
|
456
|
+
"reflect": false
|
|
457
|
+
},
|
|
458
|
+
"label": {
|
|
459
|
+
"type": "string",
|
|
460
|
+
"mutable": false,
|
|
461
|
+
"complexType": {
|
|
462
|
+
"original": "string",
|
|
463
|
+
"resolved": "string",
|
|
464
|
+
"references": {}
|
|
465
|
+
},
|
|
466
|
+
"required": false,
|
|
467
|
+
"optional": false,
|
|
468
|
+
"docs": {
|
|
469
|
+
"tags": [],
|
|
470
|
+
"text": "Label for mobile view (use label slot as alternative)"
|
|
471
|
+
},
|
|
472
|
+
"attribute": "label",
|
|
473
|
+
"reflect": false,
|
|
474
|
+
"defaultValue": "\"\""
|
|
475
|
+
},
|
|
476
|
+
"localization": {
|
|
477
|
+
"type": "unknown",
|
|
478
|
+
"mutable": false,
|
|
479
|
+
"complexType": {
|
|
480
|
+
"original": "StzhPopoverLocalizedText",
|
|
481
|
+
"resolved": "StzhLocaleComponent & { close: string; }",
|
|
482
|
+
"references": {
|
|
483
|
+
"StzhPopoverLocalizedText": {
|
|
484
|
+
"location": "import",
|
|
485
|
+
"path": "./stzh-popover.localization"
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
},
|
|
489
|
+
"required": false,
|
|
490
|
+
"optional": false,
|
|
491
|
+
"docs": {
|
|
492
|
+
"tags": [],
|
|
493
|
+
"text": "Translation strings."
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
};
|
|
497
|
+
}
|
|
498
|
+
static get states() {
|
|
499
|
+
return {
|
|
500
|
+
"computedPlacement": {}
|
|
501
|
+
};
|
|
502
|
+
}
|
|
503
|
+
static get events() {
|
|
504
|
+
return [{
|
|
505
|
+
"method": "stzhOpen",
|
|
506
|
+
"name": "stzhOpen",
|
|
507
|
+
"bubbles": true,
|
|
508
|
+
"cancelable": true,
|
|
509
|
+
"composed": true,
|
|
510
|
+
"docs": {
|
|
511
|
+
"tags": [],
|
|
512
|
+
"text": "Popover open event"
|
|
513
|
+
},
|
|
514
|
+
"complexType": {
|
|
515
|
+
"original": "StzhPopoverOpenEvent",
|
|
516
|
+
"resolved": "{ component: \"stzh-popover\"; }",
|
|
517
|
+
"references": {
|
|
518
|
+
"StzhPopoverOpenEvent": {
|
|
519
|
+
"location": "import",
|
|
520
|
+
"path": "../../index"
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
}, {
|
|
525
|
+
"method": "stzhOpened",
|
|
526
|
+
"name": "stzhOpened",
|
|
527
|
+
"bubbles": true,
|
|
528
|
+
"cancelable": true,
|
|
529
|
+
"composed": true,
|
|
530
|
+
"docs": {
|
|
531
|
+
"tags": [],
|
|
532
|
+
"text": "Popover opened event (after animation)"
|
|
533
|
+
},
|
|
534
|
+
"complexType": {
|
|
535
|
+
"original": "StzhPopoverOpenedEvent",
|
|
536
|
+
"resolved": "{ component: \"stzh-popover\"; }",
|
|
537
|
+
"references": {
|
|
538
|
+
"StzhPopoverOpenedEvent": {
|
|
539
|
+
"location": "import",
|
|
540
|
+
"path": "../../index"
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
}, {
|
|
545
|
+
"method": "stzhClose",
|
|
546
|
+
"name": "stzhClose",
|
|
547
|
+
"bubbles": true,
|
|
548
|
+
"cancelable": true,
|
|
549
|
+
"composed": true,
|
|
550
|
+
"docs": {
|
|
551
|
+
"tags": [],
|
|
552
|
+
"text": "Popover close event"
|
|
553
|
+
},
|
|
554
|
+
"complexType": {
|
|
555
|
+
"original": "StzhPopoverCloseEvent",
|
|
556
|
+
"resolved": "{ component: \"stzh-popover\"; }",
|
|
557
|
+
"references": {
|
|
558
|
+
"StzhPopoverCloseEvent": {
|
|
559
|
+
"location": "import",
|
|
560
|
+
"path": "../../index"
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
}, {
|
|
565
|
+
"method": "stzhClosed",
|
|
566
|
+
"name": "stzhClosed",
|
|
567
|
+
"bubbles": true,
|
|
568
|
+
"cancelable": true,
|
|
569
|
+
"composed": true,
|
|
570
|
+
"docs": {
|
|
571
|
+
"tags": [],
|
|
572
|
+
"text": "Popover closed event (after animation)"
|
|
573
|
+
},
|
|
574
|
+
"complexType": {
|
|
575
|
+
"original": "StzhPopoverClosedEvent",
|
|
576
|
+
"resolved": "{ component: \"stzh-popover\"; }",
|
|
577
|
+
"references": {
|
|
578
|
+
"StzhPopoverClosedEvent": {
|
|
579
|
+
"location": "import",
|
|
580
|
+
"path": "../../index"
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
}];
|
|
585
|
+
}
|
|
586
|
+
static get methods() {
|
|
587
|
+
return {
|
|
588
|
+
"show": {
|
|
589
|
+
"complexType": {
|
|
590
|
+
"signature": "() => Promise<void>",
|
|
591
|
+
"parameters": [],
|
|
592
|
+
"references": {
|
|
593
|
+
"Promise": {
|
|
594
|
+
"location": "global"
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
"return": "Promise<void>"
|
|
598
|
+
},
|
|
599
|
+
"docs": {
|
|
600
|
+
"text": "Show popover content",
|
|
601
|
+
"tags": []
|
|
602
|
+
}
|
|
603
|
+
},
|
|
604
|
+
"hide": {
|
|
605
|
+
"complexType": {
|
|
606
|
+
"signature": "() => Promise<void>",
|
|
607
|
+
"parameters": [],
|
|
608
|
+
"references": {
|
|
609
|
+
"Promise": {
|
|
610
|
+
"location": "global"
|
|
611
|
+
}
|
|
612
|
+
},
|
|
613
|
+
"return": "Promise<void>"
|
|
614
|
+
},
|
|
615
|
+
"docs": {
|
|
616
|
+
"text": "Hide popover content",
|
|
617
|
+
"tags": []
|
|
618
|
+
}
|
|
619
|
+
},
|
|
620
|
+
"toggle": {
|
|
621
|
+
"complexType": {
|
|
622
|
+
"signature": "() => Promise<void>",
|
|
623
|
+
"parameters": [],
|
|
624
|
+
"references": {
|
|
625
|
+
"Promise": {
|
|
626
|
+
"location": "global"
|
|
627
|
+
}
|
|
628
|
+
},
|
|
629
|
+
"return": "Promise<void>"
|
|
630
|
+
},
|
|
631
|
+
"docs": {
|
|
632
|
+
"text": "Toggle popover content",
|
|
633
|
+
"tags": []
|
|
634
|
+
}
|
|
635
|
+
},
|
|
636
|
+
"update": {
|
|
637
|
+
"complexType": {
|
|
638
|
+
"signature": "() => Promise<void>",
|
|
639
|
+
"parameters": [],
|
|
640
|
+
"references": {
|
|
641
|
+
"Promise": {
|
|
642
|
+
"location": "global"
|
|
643
|
+
}
|
|
644
|
+
},
|
|
645
|
+
"return": "Promise<void>"
|
|
646
|
+
},
|
|
647
|
+
"docs": {
|
|
648
|
+
"text": "",
|
|
649
|
+
"tags": []
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
};
|
|
653
|
+
}
|
|
654
|
+
static get elementRef() { return "element"; }
|
|
655
|
+
static get watchers() {
|
|
656
|
+
return [{
|
|
657
|
+
"propName": "open",
|
|
658
|
+
"methodName": "openWatcher"
|
|
659
|
+
}, {
|
|
660
|
+
"propName": "distance",
|
|
661
|
+
"methodName": "distanceWatcher"
|
|
662
|
+
}];
|
|
663
|
+
}
|
|
664
|
+
static get listeners() {
|
|
665
|
+
return [{
|
|
666
|
+
"name": "click",
|
|
667
|
+
"method": "handleOutsideClick",
|
|
668
|
+
"target": "document",
|
|
669
|
+
"capture": true,
|
|
670
|
+
"passive": false
|
|
671
|
+
}];
|
|
672
|
+
}
|
|
673
|
+
}
|