@oiz/stzh-components 0.0.1-pretest → 1.5.0-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +1 -56
- package/dist/cjs/{animation-utils-c816beac.js → animation-utils-cfa35ce7.js} +37 -37
- package/dist/cjs/{app-globals-83a6c2d3.js → app-globals-3b6f75bd.js} +44 -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 +155 -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 +12 -12
- 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 +456 -458
- package/dist/cjs/stzh-dialog.cjs.entry.js +180 -180
- package/dist/cjs/stzh-dropdown.cjs.entry.js +479 -452
- 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 +187 -182
- 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 +13 -13
- 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 +62 -45
- package/dist/cjs/stzh-servicecard.cjs.entry.js +224 -202
- package/dist/cjs/stzh-skiplink.cjs.entry.js +16 -16
- package/dist/cjs/stzh-sortable.cjs.entry.js +3485 -2712
- 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 +475 -442
- 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-8dc66449.js +76 -0
- 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 +448 -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.css +6 -0
- 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.css +9 -1
- 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 +85 -75
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +2 -4
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +1514 -1436
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.localization.js +1 -1
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.stories.js +3437 -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.css +13 -4
- package/dist/collection/components/stzh-input/stzh-input.js +799 -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 +569 -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 +477 -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.css +4 -4
- package/dist/collection/components/stzh-servicecard/stzh-servicecard.js +614 -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 +196 -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 +116 -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 +530 -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.css +3 -0
- package/dist/collection/components/stzh-upload/stzh-upload.js +1391 -1358
- package/dist/collection/components/stzh-upload/stzh-upload.localization.js +1 -1
- package/dist/collection/components/stzh-upload/stzh-upload.stories.js +71 -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 +22 -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/libraries/sortable.js +3791 -0
- 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 +80 -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 +43 -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 +190 -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 +26 -26
- 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 +215 -215
- package/dist/components/stzh-dropdown2.js +546 -516
- 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 +249 -240
- 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 +27 -27
- 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 +200 -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 +102 -84
- package/dist/components/stzh-servicecard.js +286 -264
- package/dist/components/stzh-skiplink.js +35 -35
- package/dist/components/stzh-sortable2.js +3510 -2736
- 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 +537 -504
- 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 +70 -31
- package/dist/esm/{animation-utils-27dcfc1e.js → animation-utils-25c74e5b.js} +37 -37
- package/dist/esm/{app-globals-137e106c.js → app-globals-c42494e9.js} +44 -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 +155 -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 +12 -12
- 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 +456 -458
- package/dist/esm/stzh-dialog.entry.js +180 -180
- package/dist/esm/stzh-dropdown.entry.js +479 -452
- 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 +187 -182
- 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 +13 -13
- 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 +62 -45
- package/dist/esm/stzh-servicecard.entry.js +224 -202
- package/dist/esm/stzh-skiplink.entry.js +16 -16
- package/dist/esm/stzh-sortable.entry.js +3485 -2712
- 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 +475 -442
- 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-68a28fce.js +72 -0
- package/dist/esm-es5/{animation-utils-27dcfc1e.js → animation-utils-25c74e5b.js} +0 -0
- package/dist/esm-es5/app-globals-c42494e9.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-cspace.entry.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-portal-mitwirken.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 +2 -2
- 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-68a28fce.js +1 -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-59bdb14a.system.entry.js → p-006135ed.system.entry.js} +1 -1
- package/dist/stzh-components/p-0230004d.system.js +1 -0
- package/dist/stzh-components/{p-f0422b6c.entry.js → p-03e2634c.entry.js} +1 -1
- package/dist/stzh-components/{p-25afa99e.entry.js → p-04d7b18f.entry.js} +1 -1
- package/dist/stzh-components/{p-73d51acc.system.entry.js → p-07772cd7.system.entry.js} +1 -1
- package/dist/stzh-components/p-08d4ed80.entry.js +1 -0
- 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-c2218965.system.entry.js → p-1c88ceff.system.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-1f57d28e.js +1 -0
- package/dist/stzh-components/{p-1a40a6e4.js → p-25a09313.js} +0 -0
- package/dist/stzh-components/{p-320aedf7.js → p-2a5855f8.js} +0 -0
- package/dist/stzh-components/p-2b11d549.system.entry.js +1 -0
- package/dist/stzh-components/{p-99195f5a.system.js → p-309d2b66.system.js} +0 -0
- package/dist/stzh-components/{p-bf5b6523.entry.js → p-32988d74.entry.js} +1 -1
- package/dist/stzh-components/{p-8ba6ca80.js → p-32b78d65.js} +0 -0
- package/dist/stzh-components/{p-1e2ee622.system.entry.js → p-33946fed.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b06cc533.entry.js → p-33d75303.entry.js} +1 -1
- package/dist/stzh-components/{p-22f948e2.entry.js → p-34190502.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-b24040ff.system.entry.js → p-370b82e7.system.entry.js} +1 -1
- package/dist/stzh-components/{p-740dd50f.entry.js → p-3c799247.entry.js} +1 -1
- package/dist/stzh-components/p-3ebd2c03.js +1 -0
- package/dist/stzh-components/{p-b3b05b6c.entry.js → p-3ed69b16.entry.js} +1 -1
- package/dist/stzh-components/{p-22fba26d.entry.js → p-409c0d50.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-af47430b.system.entry.js → p-4a398453.system.entry.js} +1 -1
- package/dist/stzh-components/p-4c61dcad.js +4 -4
- 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-3eb7b6b4.entry.js → p-586cae98.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-5e0cccc9.system.entry.js +1 -0
- package/dist/stzh-components/{p-3ca5c2e6.system.entry.js → p-5ea652ae.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-68a8b7b7.system.entry.js} +1 -1
- package/dist/stzh-components/{p-1aaa5112.system.entry.js → p-6c3b2508.system.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-c3ac1bdc.system.entry.js → p-6fc271d0.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-7921db30.system.entry.js +1 -0
- package/dist/stzh-components/p-79bfc485.entry.js +1 -0
- 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-efb9fa47.system.entry.js → p-87ab53c4.system.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-b1976630.entry.js → p-8a60addb.entry.js} +1 -1
- package/dist/stzh-components/{p-ab2727e6.entry.js → p-8bd3ba06.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-e1b64b8a.system.entry.js → p-90a10825.system.entry.js} +1 -1
- package/dist/stzh-components/{p-0c2b5907.js → p-9111e257.js} +0 -0
- package/dist/stzh-components/{p-67eac0a0.entry.js → p-95a297aa.entry.js} +1 -1
- package/dist/stzh-components/{p-a42a7524.entry.js → p-95eb03b2.entry.js} +1 -1
- package/dist/stzh-components/p-983f6070.entry.js +1 -0
- package/dist/stzh-components/{p-d2f660e1.system.js → p-9c0494a6.system.js} +0 -0
- package/dist/stzh-components/{p-582cf0f1.system.js → p-a408bfba.system.js} +0 -0
- package/dist/stzh-components/p-a7253852.entry.js +1 -0
- package/dist/stzh-components/{p-c51a61cb.system.entry.js → p-a760352a.system.entry.js} +1 -1
- package/dist/stzh-components/{p-e00139a1.entry.js → p-a86c6487.entry.js} +1 -1
- package/dist/stzh-components/p-aaa2e48f.system.js +1 -0
- package/dist/stzh-components/p-b281b653.entry.js +8 -0
- package/dist/stzh-components/p-b35b0270.entry.js +1 -0
- package/dist/stzh-components/{p-17258518.entry.js → p-b3b5ee7e.entry.js} +1 -1
- package/dist/stzh-components/p-b4fc71ff.system.entry.js +1 -0
- package/dist/stzh-components/{p-bb91feeb.entry.js → p-bb2e1dda.entry.js} +1 -1
- package/dist/stzh-components/{p-301841e3.entry.js → p-bdba7714.entry.js} +1 -1
- package/dist/stzh-components/p-c581e798.system.entry.js +1 -0
- package/dist/stzh-components/p-c7c17bb7.system.entry.js +7 -0
- package/dist/stzh-components/{p-da8218fa.system.entry.js → p-c863ffd0.system.entry.js} +1 -1
- package/dist/stzh-components/{p-649621fc.js → p-c8bcceac.js} +0 -0
- 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-4b8893d1.entry.js → p-d8471675.entry.js} +1 -1
- package/dist/stzh-components/{p-0433fff9.system.entry.js → p-da063c7e.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-e12db90a.entry.js +1 -0
- package/dist/stzh-components/{p-a5b616bb.system.entry.js → p-e2ce48f1.system.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-6113bb25.entry.js → p-ec3d4dd4.entry.js} +1 -1
- package/dist/stzh-components/p-ee5ceac4.entry.js +1 -0
- 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-f0ca6848.system.entry.js +1 -0
- package/dist/stzh-components/{p-63bf05f1.system.entry.js → p-f1a58a7c.system.entry.js} +1 -1
- package/dist/stzh-components/{p-afa7061e.entry.js → p-f2050d1e.entry.js} +1 -1
- package/dist/stzh-components/{p-a7785d9b.system.js → p-f58c28ad.system.js} +0 -0
- package/dist/stzh-components/{p-75f1b800.entry.js → p-f610f725.entry.js} +1 -1
- package/dist/stzh-components/p-faf20030.system.js +1 -0
- package/dist/stzh-components/{p-4e9e606f.entry.js → p-fba76dba.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-6d23fb4d.system.entry.js → p-fce0e218.system.entry.js} +1 -1
- package/dist/stzh-components/{p-efd78d08.system.entry.js → p-fd16e20e.system.entry.js} +1 -1
- package/dist/stzh-components/stzh-components.css +1 -1
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/stzh-components/stzh-components.js +1 -1
- package/dist/types/components/stzh-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/components.d.ts +68 -2
- package/dist/types/index.d.ts +428 -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 +5 -3
- package/dist/vscode-data.json +84 -61
- package/package.json +1 -1
- package/dist/cjs/utils-e84f4a8d.js +0 -36
- package/dist/esm/utils-c5d68020.js +0 -33
- package/dist/esm-es5/app-globals-137e106c.js +0 -1
- package/dist/esm-es5/utils-c5d68020.js +0 -1
- package/dist/stzh-components/p-323fdc2f.entry.js +0 -1
- package/dist/stzh-components/p-3da37219.entry.js +0 -8
- package/dist/stzh-components/p-42430cdf.js +0 -1
- package/dist/stzh-components/p-4476344d.js +0 -1
- package/dist/stzh-components/p-58b8d309.system.entry.js +0 -1
- package/dist/stzh-components/p-5977373f.system.js +0 -1
- package/dist/stzh-components/p-87140179.system.entry.js +0 -1
- package/dist/stzh-components/p-91e9ccfa.entry.js +0 -1
- package/dist/stzh-components/p-95a3c962.system.entry.js +0 -1
- package/dist/stzh-components/p-9be4e960.entry.js +0 -1
- package/dist/stzh-components/p-adaf8b15.entry.js +0 -1
- package/dist/stzh-components/p-af819e4e.system.js +0 -1
- package/dist/stzh-components/p-b56c83a4.entry.js +0 -1
- package/dist/stzh-components/p-d1821750.system.entry.js +0 -1
- package/dist/stzh-components/p-d7b5770c.entry.js +0 -1
- package/dist/stzh-components/p-d8819b74.system.entry.js +0 -1
- package/dist/stzh-components/p-e029f6c5.system.entry.js +0 -1
- package/dist/stzh-components/p-e3769e97.system.js +0 -1
- package/dist/stzh-components/p-ebf73698.entry.js +0 -1
- package/dist/stzh-components/p-f8bb1bed.system.entry.js +0 -7
- 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,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-0e6d34c6.js';
|
|
2
|
-
import { h as hasSlot } from './utils-
|
|
3
|
-
import { f as fetchTranslations } from './translation-utils-
|
|
4
|
-
import { S as StzhInputDescription } from './stzh-input-description-
|
|
2
|
+
import { h as hasSlot } from './utils-68a28fce.js';
|
|
3
|
+
import { f as fetchTranslations } from './translation-utils-2623783f.js';
|
|
4
|
+
import { S as StzhInputDescription } from './stzh-input-description-da7b0e98.js';
|
|
5
5
|
import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-ba3f0406.js';
|
|
6
6
|
|
|
7
7
|
var tomSelect_base = createCommonjsModule(function (module, exports) {
|
|
@@ -4628,455 +4628,482 @@ var no_backspace_delete = createCommonjsModule(function (module, exports) {
|
|
|
4628
4628
|
//# sourceMappingURL=no_backspace_delete.js.map
|
|
4629
4629
|
});
|
|
4630
4630
|
|
|
4631
|
-
const stzhDropdownCss = ":host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}stzh-dropdown{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block;--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--border-color:var(--stzh-color-grey61);--label-color:var(--stzh-color-grey61);--placeholder-color:var(--stzh-color-grey61);--background-color:var(--stzh-color-white);--label-background:var(--stzh-color-white);--icon-size:var(--stzh-icon-size-small);--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-border-color:var(--hover-color);--popover-width:100%;--popover-min-width:var(--stzh-popover-min-width);--popover-max-width:var(--stzh-popover-min-width);--popover-max-height:calc(6.5 * var(--stzh-menu-item-height));width:100%;border-radius:var(--stzh-form-input-border-radius);}stzh-dropdown[hidden]{display:none}stzh-dropdown *,stzh-dropdown *::before,stzh-dropdown *::after{-webkit-box-sizing:border-box;box-sizing:border-box}stzh-dropdown[variant=plain]{--background-color:transparent}stzh-dropdown[inline]:not([inline=false]){--popover-width:auto;width:auto}stzh-dropdown[invalid]:not([invalid=false]){--color:var(--stzh-color-error);--border-color:var(--stzh-color-error);--label-color:var(--stzh-color-error);--placeholder-color:var(--stzh-color-error);--hover-color:var(--stzh-color-error);--hover-border-color:var(--stzh-color-error)}stzh-dropdown[disabled]:not([disabled=false]){--color:var(--stzh-color-grey61);--border-color:var(--stzh-color-grey5);--label-color:var(--stzh-color-grey61);--placeholder-color:var(--stzh-color-grey61);--background-color:var(--stzh-color-grey5);--label-background:transparent;--hover-color:var(--stzh-color-grey61);--hover-border-color:var(--stzh-color-grey5)}stzh-dropdown[disabled]:not([disabled=false])[variant=plain]{--background-color:transparent}.stzh-dropdown__icon-wrapper stzh-icon,.stzh-dropdown__icon{--size:var(--icon-size)}.stzh-dropdown{}.stzh-dropdown__marker-symbol{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-dropdown__marker-text{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-dropdown__description-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-dropdown__error,.stzh-dropdown__description{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-dropdown__error{color:var(--stzh-color-error)}.stzh-dropdown__error-list{list-style:none;margin:0;padding:0}.stzh-dropdown__description{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-dropdown__description-long{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-dropdown__description-long-popover{--width:auto;--max-width:27.3125rem}.stzh-dropdown__description-long-popover[open]:not([open=false]) .stzh-dropdown__description-long-button{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown__description-long-button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-dropdown__description-long-button:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown stzh-icon.stzh-dropdown__description-long-icon{--size:var(--stzh-icon-size-xsmall)}.stzh-dropdown--has-error .stzh-dropdown__error,.stzh-dropdown--has-description .stzh-dropdown__description{margin-top:var(--stzh-space-xxsmall)}.stzh-dropdown .ts-hidden-accessible{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-dropdown .ts-dropdown-content{max-height:var(--popover-max-height);overflow-y:auto;overflow-x:hidden;overflow-scrolling:touch;scroll-behavior:smooth}.stzh-dropdown .ts-control{overflow:hidden;position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;border-radius:var(--stzh-form-input-border-radius);background-color:var(--background-color);-webkit-transition-property:color, border-color;transition-property:color, border-color;-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed);cursor:pointer}.stzh-dropdown .ts-control:hover,.stzh-dropdown .ts-control:focus-within{border-color:var(--hover-border-color);outline:none}.stzh-dropdown .ts-control>*{vertical-align:baseline;display:inline-block}.stzh-dropdown .ts-control,.stzh-dropdown__sizer{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;width:100%;min-height:var(--stzh-form-input-height);border:0.0625rem solid var(--border-color)}.stzh-dropdown .ts-control>input{font-size:inherit;line-height:inherit;-ms-flex:1 1 auto;flex:1 1 auto;display:inline-block;padding:0;min-height:0;max-height:none;max-width:100%;margin:0;text-indent:0;border:0 none;background:none;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;-webkit-box-shadow:none;box-shadow:none;cursor:pointer}.stzh-dropdown .ts-control>input::-webkit-input-placeholder{color:var(--placeholder-color)}.stzh-dropdown .ts-control>input:-moz-placeholder{color:var(--placeholder-color)}.stzh-dropdown .ts-control>input::-moz-placeholder{color:var(--placeholder-color)}.stzh-dropdown .ts-control>input:-ms-input-placeholder{color:var(--placeholder-color)}.stzh-dropdown .ts-control>input::-ms-clear{display:none}.stzh-dropdown .ts-control>input:focus{outline:none}.stzh-dropdown .ts-control>input:-moz-placeholder-shown{text-overflow:ellipsis}.stzh-dropdown .ts-control>input:-ms-input-placeholder{text-overflow:ellipsis}.stzh-dropdown .ts-control>input:placeholder-shown{text-overflow:ellipsis}.stzh-dropdown__field-wrapper,.stzh-dropdown__select{position:relative}.stzh-dropdown__icon-wrapper{position:absolute}.stzh-dropdown__select .ts-control>input,.stzh-dropdown__select.single .stzh-dropdown__item,.stzh-dropdown__icon-wrapper,.stzh-dropdown__angle-icon{color:var(--color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed)}.stzh-dropdown__select.multi .stzh-dropdown__item{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown__select:hover .ts-control>input,.stzh-dropdown__select:focus-within .ts-control>input,.stzh-dropdown__select.single:hover .stzh-dropdown__item,.stzh-dropdown__select.single:focus-within .stzh-dropdown__item,.stzh-dropdown__select:hover~.stzh-dropdown__icon-wrapper,.stzh-dropdown__select:focus-within~.stzh-dropdown__icon-wrapper,.stzh-dropdown__select:hover~.stzh-dropdown__angle-icon,.stzh-dropdown__select:focus-within~.stzh-dropdown__angle-icon,.stzh-dropdown__select:hover~.stzh-dropdown__label,.stzh-dropdown__select:focus-within~.stzh-dropdown__label{color:var(--hover-color)}.stzh-dropdown__sizer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-top:calc(var(--stzh-form-input-height) / -1);pointer-events:none;visibility:hidden}.stzh-dropdown__select.has-items~.stzh-dropdown__sizer{display:none}.stzh-dropdown__select.plugin-input_hide~.stzh-dropdown__sizer{visibility:visible}.stzh-dropdown__select.input-active .ts-control,.stzh-dropdown__select.input-active .ts-control>input{cursor:text}.stzh-dropdown__select.input-hidden .ts-control>input,.stzh-dropdown__select.plugin-input_hide .ts-control>input{opacity:0;position:absolute;left:-625rem}.stzh-dropdown__select.single .ts-control,.stzh-dropdown__select.multi .ts-control,.stzh-dropdown__sizer{padding:var(--stzh-space-xsmall) var(--stzh-space-medium);padding-right:calc(var(--stzh-icon-size-medium) + var(--stzh-space-medium) + var(--stzh-space-xsmall))}.stzh-dropdown__icon-wrapper,.stzh-dropdown__angle-icon{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);pointer-events:none}.stzh-dropdown__icon-wrapper{display:-ms-flexbox;display:flex;left:var(--stzh-space-medium)}.stzh-dropdown stzh-icon.stzh-dropdown__angle-icon{--size:var(--stzh-icon-size-medium)}.stzh-dropdown__angle-icon{right:var(--stzh-space-medium)}.stzh-dropdown__label{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--label-color);display:block;width:auto;position:absolute;top:calc(var(--stzh-form-input-height) / 2);left:calc(var(--stzh-space-medium) + 0.0625rem);max-width:calc(100% - var(--stzh-space-medium) * 2);-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);pointer-events:none}.stzh-dropdown__label:empty{display:none}.stzh-dropdown__label::before{content:\"\";display:none;background:var(--label-background);position:absolute;width:100%;z-index:-1;left:0;top:50%;height:0.125rem;margin-top:-0.03125rem}.stzh-dropdown__option,.stzh-dropdown__create{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:stretch;justify-content:stretch;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-decoration:none;outline:none;border:none;padding:var(--stzh-space-xsmall) var(--stzh-space-medium);padding-left:var(--stzh-space-large);color:var(--stzh-color-grey70);height:var(--stzh-menu-item-height);line-height:var(--stzh-menu-item-height);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);cursor:pointer}.stzh-dropdown__option:hover,.stzh-dropdown__option.active,.stzh-dropdown__create:hover,.stzh-dropdown__create.active{background-color:var(--stzh-color-grey5)}.stzh-dropdown__option.selected,.stzh-dropdown__create.selected{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown__option.selected:hover,.stzh-dropdown__option.selected.active,.stzh-dropdown__create.selected:hover,.stzh-dropdown__create.selected.active{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));background-color:var(--stzh-color-primary8)}.stzh-dropdown__option input,.stzh-dropdown__create input{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-dropdown__create{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);display:block}.stzh-dropdown__option-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stzh-dropdown__option[data-selectable] .highlight{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal}.stzh-dropdown__select .stzh-dropdown__option-check{display:none;color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown__option.selected:hover .stzh-dropdown__option-check,.stzh-dropdown__option.selected.active .stzh-dropdown__option-check{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-dropdown__no-results{overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.stzh-dropdown__no-results,.stzh-dropdown__not-loading{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);padding:var(--stzh-space-xsmall) var(--stzh-space-medium);padding-left:var(--stzh-space-large)}.stzh-dropdown__optgroup-header{cursor:default}.stzh-dropdown__loader{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:2.375rem}.stzh-dropdown__dropdown{position:absolute;top:100%;left:0;width:var(--popover-width);margin-top:var(--stzh-space-xsmall);background-color:var(--stzh-color-white);-webkit-box-shadow:var(--stzh-box-shadow-popover);box-shadow:var(--stzh-box-shadow-popover);z-index:var(--stzh-z-index-popover);border-radius:var(--stzh-popover-border-radius);overflow:hidden}@media screen and (min-width: 600px){.stzh-dropdown__dropdown{min-width:var(--popover-min-width);max-width:var(--popover-max-width)}}.stzh-dropdown__select.plugin-input_autogrow.has-items .ts-control>input{min-width:0}.stzh-dropdown__select.plugin-input_autogrow.has-items.focus .ts-control>input{-ms-flex:none;flex:none;min-width:0.25rem}.stzh-dropdown__select.has-items .ts-control>input{margin:0 0.25rem}.stzh-dropdown__select.has-items .ts-control>input::-webkit-input-placeholder{color:transparent}.stzh-dropdown__select.has-items .ts-control>input:-moz-placeholder{color:transparent}.stzh-dropdown__select.has-items .ts-control>input::-moz-placeholder{color:transparent}.stzh-dropdown__select.has-items .ts-control>input:-ms-input-placeholder{color:transparent}.stzh-dropdown--is-multiple .stzh-dropdown__option-check{display:-ms-inline-flexbox;display:inline-flex;opacity:0;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed);margin-right:var(--stzh-space-xsmall)}.stzh-dropdown--is-multiple .stzh-dropdown__option{padding-left:var(--stzh-space-small)}.stzh-dropdown--is-multiple .stzh-dropdown__option.selected .stzh-dropdown__option-check{opacity:1}.stzh-dropdown--is-multiple .stzh-dropdown__select.multi.has-items .ts-control{padding-top:calc(var(--stzh-space-xsmall) - 0.0625rem);padding-bottom:calc(var(--stzh-space-xsmall) - 0.0625rem)}.stzh-dropdown--is-multiple .stzh-dropdown__select.multi .stzh-dropdown__item{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);position:relative;height:1.5rem;line-height:1.5rem;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;border-radius:0.75rem;padding:0 var(--stzh-space-medium);-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0.0625rem solid transparent;background-color:var(--stzh-color-grey5);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);margin:var(--stzh-space-xxsmall) var(--stzh-space-xxsmall) var(--stzh-space-xxsmall) 0;cursor:pointer}.stzh-dropdown--is-multiple .stzh-dropdown__select.multi .stzh-dropdown__item:hover{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));background-color:var(--stzh-color-primary8)}.stzh-dropdown--is-multiple .stzh-dropdown__select.multi .stzh-dropdown__item.active{color:var(--stzh-color-white);background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown--is-multiple .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;padding-right:calc(1.5rem + var(--stzh-space-xxsmall))}.stzh-dropdown--is-multiple .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove{position:absolute;top:50%;right:-0.0625rem;-webkit-transform:translateY(-50%);transform:translateY(-50%);text-decoration:none;width:1.5rem;height:1.5rem;border-radius:1.5rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;margin-left:var(--stzh-space-xxsmall);color:var(--stzh-base-lead-color);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed)}.stzh-dropdown--is-multiple .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove:hover{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));background-color:var(--stzh-color-primary8)}.stzh-dropdown--is-multiple .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__remove-icon{--size:var(--stzh-icon-size-xxsmall)}.stzh-dropdown--is-multiple .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item.active .stzh-dropdown__remove-icon{color:var(--stzh-color-white)}.stzh-dropdown--popover-placement-top .stzh-dropdown__dropdown{margin-top:0;top:auto;bottom:100%;margin-bottom:var(--stzh-space-xsmall)}.stzh-dropdown--popover-placement-top.stzh-dropdown--plain .stzh-dropdown__dropdown{margin-bottom:0}.stzh-dropdown--size-small .ts-control,.stzh-dropdown--size-small .stzh-dropdown__sizer{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-dropdown--size-small .ts-control{min-height:var(--stzh-form-input-small-height)}.stzh-dropdown--size-small .stzh-dropdown__sizer{min-height:initial;height:var(--stzh-form-input-small-height);margin-top:calc(var(--stzh-form-input-small-height) / -1)}.stzh-dropdown--size-small .stzh-dropdown__label{top:calc(var(--stzh-form-input-small-height) / 2)}.stzh-dropdown--size-small .stzh-dropdown__select.single .ts-control,.stzh-dropdown--size-small .stzh-dropdown__select.multi .ts-control,.stzh-dropdown--size-small .stzh-dropdown__sizer{padding:var(--stzh-space-xxsmall) var(--stzh-space-medium);padding-right:calc(var(--stzh-icon-size-small) + var(--stzh-space-medium) + var(--stzh-space-xsmall))}.stzh-dropdown--size-small stzh-icon.stzh-dropdown__angle-icon{--size:var(--stzh-icon-size-small)}.stzh-dropdown--has-icon .stzh-dropdown__select.single .ts-control,.stzh-dropdown--has-icon .stzh-dropdown__select.multi .ts-control,.stzh-dropdown--has-icon .stzh-dropdown__sizer{padding-left:calc(var(--icon-size) + var(--stzh-space-medium) + var(--stzh-space-xsmall))}.stzh-dropdown--has-icon .stzh-dropdown__label{left:calc(var(--icon-size) + var(--stzh-space-medium) + var(--stzh-space-xsmall) + 0.0625rem)}.stzh-dropdown--plain .stzh-dropdown__select.single .ts-control,.stzh-dropdown--plain .stzh-dropdown__select.multi .ts-control,.stzh-dropdown--plain .stzh-dropdown__sizer{border:none;padding-left:0;padding-right:calc(var(--stzh-icon-size-medium) + var(--stzh-space-xsmall))}.stzh-dropdown--plain .stzh-dropdown__icon-wrapper{left:0}.stzh-dropdown--plain .stzh-dropdown__angle-icon{right:0}.stzh-dropdown--plain .stzh-dropdown__label{left:0;max-width:100%;padding:0}.stzh-dropdown--plain .stzh-dropdown__label::before{content:none}.stzh-dropdown--plain .stzh-dropdown__dropdown{margin-top:0}.stzh-dropdown--plain.stzh-dropdown--size-small .stzh-dropdown__select.single .ts-control,.stzh-dropdown--plain.stzh-dropdown--size-small .stzh-dropdown__select.multi .ts-control,.stzh-dropdown--plain.stzh-dropdown--size-small .stzh-dropdown__sizer{padding-right:calc(var(--stzh-icon-size-small) + var(--stzh-space-xsmall))}.stzh-dropdown--plain.stzh-dropdown--has-icon .stzh-dropdown__select.single .ts-control,.stzh-dropdown--plain.stzh-dropdown--has-icon .stzh-dropdown__select.multi .ts-control,.stzh-dropdown--plain.stzh-dropdown--has-icon .stzh-dropdown__sizer{padding-left:calc(var(--icon-size) + var(--stzh-space-xsmall))}.stzh-dropdown--plain.stzh-dropdown--has-icon .stzh-dropdown__label{left:calc(var(--icon-size) + var(--stzh-space-xsmall) + 0.0625rem)}.stzh-dropdown--has-fixed-label .stzh-dropdown__label,.stzh-dropdown--is-filled .stzh-dropdown__label,.stzh-dropdown--is-disabled .stzh-dropdown__label,.stzh-dropdown--is-invalid .stzh-dropdown__label,.stzh-dropdown--has-focus .stzh-dropdown__label,.stzh-dropdown--has-placeholder .stzh-dropdown__label{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);top:0;left:calc(var(--stzh-space-medium) - var(--stzh-space-xxsmall));height:1.25rem;line-height:1.25rem;padding:0 var(--stzh-space-xxsmall);max-width:calc(100% - (var(--stzh-space-medium) - var(--stzh-space-xxsmall)) * 2);pointer-events:all}.stzh-dropdown--has-fixed-label .stzh-dropdown__label:not(:empty)::before,.stzh-dropdown--is-filled .stzh-dropdown__label:not(:empty)::before,.stzh-dropdown--is-disabled .stzh-dropdown__label:not(:empty)::before,.stzh-dropdown--is-invalid .stzh-dropdown__label:not(:empty)::before,.stzh-dropdown--has-focus .stzh-dropdown__label:not(:empty)::before,.stzh-dropdown--has-placeholder .stzh-dropdown__label:not(:empty)::before{display:block}.stzh-dropdown--plain.stzh-dropdown--has-fixed-label .stzh-dropdown__label,.stzh-dropdown--plain.stzh-dropdown--is-filled .stzh-dropdown__label,.stzh-dropdown--plain.stzh-dropdown--is-disabled .stzh-dropdown__label,.stzh-dropdown--plain.stzh-dropdown--is-invalid .stzh-dropdown__label,.stzh-dropdown--plain.stzh-dropdown--has-focus .stzh-dropdown__label,.stzh-dropdown--plain.stzh-dropdown--has-placeholder .stzh-dropdown__label{left:0;padding:0;max-width:100%}.stzh-dropdown--is-disabled .stzh-dropdown__select.multi .stzh-dropdown__item,.stzh-dropdown--is-disabled .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove{cursor:not-allowed}.stzh-dropdown--is-disabled .stzh-dropdown__select.multi .stzh-dropdown__item,.stzh-dropdown--is-disabled .stzh-dropdown__select.multi .stzh-dropdown__item:hover{color:var(--stzh-color-grey25);background-color:var(--stzh-color-white);border-color:var(--stzh-base-border-color)}.stzh-dropdown--is-disabled .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove,.stzh-dropdown--is-disabled .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove:hover{color:var(--stzh-color-grey13);background-color:transparent}";
|
|
4632
|
-
|
|
4633
|
-
const TomSelectInputHide = function (_plugin_options) {
|
|
4634
|
-
// const self = this;
|
|
4635
|
-
// self.on("initialize", () => {
|
|
4636
|
-
// const input = self.control_input as HTMLInputElement;
|
|
4637
|
-
// if (input) input.disabled = true;
|
|
4638
|
-
// })
|
|
4639
|
-
};
|
|
4640
|
-
const CLASS_FILLED = "stzh-dropdown--is-filled";
|
|
4641
|
-
const CLASS_FOCUS = "stzh-dropdown--has-focus";
|
|
4642
|
-
tomSelect_base.define("remove_button", remove_button);
|
|
4643
|
-
tomSelect_base.define("checkbox_options", checkbox_options);
|
|
4644
|
-
tomSelect_base.define("input_autogrow", input_autogrow);
|
|
4645
|
-
tomSelect_base.define("no_backspace_delete", no_backspace_delete);
|
|
4646
|
-
tomSelect_base.define("input_hide", TomSelectInputHide);
|
|
4647
|
-
let dropdownCounter = 0;
|
|
4648
|
-
const StzhDropdown = class {
|
|
4649
|
-
constructor(hostRef) {
|
|
4650
|
-
registerInstance(this, hostRef);
|
|
4651
|
-
this.stzhChange = createEvent(this, "stzhChange", 7);
|
|
4652
|
-
this.stzhItemAdd = createEvent(this, "stzhItemAdd", 7);
|
|
4653
|
-
this.stzhItemRemove = createEvent(this, "stzhItemRemove", 7);
|
|
4654
|
-
this.stzhOptionAdd = createEvent(this, "stzhOptionAdd", 7);
|
|
4655
|
-
this.stzhOptionRemove = createEvent(this, "stzhOptionRemove", 7);
|
|
4656
|
-
this.stzhOpen = createEvent(this, "stzhOpen", 7);
|
|
4657
|
-
this.stzhClose = createEvent(this, "stzhClose", 7);
|
|
4658
|
-
this.stzhFocus = createEvent(this, "stzhFocus", 7);
|
|
4659
|
-
this.stzhBlur = createEvent(this, "stzhBlur", 7);
|
|
4660
|
-
this.stzhInit = createEvent(this, "stzhInit", 7);
|
|
4661
|
-
/**
|
|
4662
|
-
* An array of property names to analyze when filtering options.
|
|
4663
|
-
* Weights can be given to each field to improve search result:
|
|
4664
|
-
* `[{"field":"text","weight":2},{"field":"text2","weight":0.5}]`
|
|
4665
|
-
*/
|
|
4666
|
-
this.searchField = ["text"];
|
|
4667
|
-
/** Whether multiple items option can be selected */
|
|
4668
|
-
this.multiple = false;
|
|
4669
|
-
/** Show inline (auto width) */
|
|
4670
|
-
this.inline = false;
|
|
4671
|
-
/** The max number of options to display in the dropdown. Set to `null` for an unlimited number of options. */
|
|
4672
|
-
this.maxOptions = 50;
|
|
4673
|
-
/** When searching for multiple terms (separated by space), this is the operator used. Can be 'and' or 'or' */
|
|
4674
|
-
this.searchConjunction = "and";
|
|
4675
|
-
/** If true, any options with a "" value will be treated like a normal option. This defaults to false to accommodate the common <select> practice of having the first empty option to act as a placeholder. */
|
|
4676
|
-
this.allowEmptyOption = false;
|
|
4677
|
-
/** Show the dropdown immediately when the control receives focus. */
|
|
4678
|
-
this.openOnFocus = true;
|
|
4679
|
-
/** After a selection is made, the dropdown will remain open if in a multi-selection control or will close in a single-selection control. Setting closeAfterSelect to true will force the dropdown to close after selections are made. Setting closeAfterSelect to false will keep the dropdown open after selections are made. */
|
|
4680
|
-
this.closeAfterSelect = null;
|
|
4681
|
-
/** Invoked when new options should be loaded from the server. Called with the current query string and a callback function to call with the results when they are loaded (or nothing when an error arises). */
|
|
4682
|
-
this.load = null;
|
|
4683
|
-
/** Minimum of characters required to execute the `load` function */
|
|
4684
|
-
this.minCharacters = 3;
|
|
4685
|
-
/** The number of milliseconds to wait before requesting options from the server or null. If null, throttling is disabled. Useful when loading options dynamically while the user types a search / filter expression. */
|
|
4686
|
-
this.loadThrottle = 300;
|
|
4687
|
-
/** If true, the load function will be called upon control initialization (with an empty search). Alternatively it can be set to 'focus' to call the load function when control receives focus. */
|
|
4688
|
-
this.preload = false;
|
|
4689
|
-
/** The name of the property to render as an option / item label (not needed when custom rendering functions are defined). */
|
|
4690
|
-
this.labelField = "text";
|
|
4691
|
-
/** The name of the property to use as the value when an item is selected. */
|
|
4692
|
-
this.valueField = "value";
|
|
4693
|
-
/** The name of the property to group items by. */
|
|
4694
|
-
this.optgroupField = "optgroup";
|
|
4695
|
-
/** The name of the property to render as an option group label (not needed when custom rendering functions are defined). */
|
|
4696
|
-
this.optgroupLabelField = "label";
|
|
4697
|
-
/** The name of the option group property that serves as its unique identifier. */
|
|
4698
|
-
this.optgroupValueField = "value";
|
|
4699
|
-
/** Name of hidden select element */
|
|
4700
|
-
this.name = "";
|
|
4701
|
-
/** Variant */
|
|
4702
|
-
this.variant = "default";
|
|
4703
|
-
/** Size variant */
|
|
4704
|
-
this.size = "default";
|
|
4705
|
-
/** Whether the dropdown is disabled */
|
|
4706
|
-
this.disabled = false;
|
|
4707
|
-
/** Popover placement */
|
|
4708
|
-
this.popoverPlacement = "bottom";
|
|
4709
|
-
/** Label */
|
|
4710
|
-
this.label = "";
|
|
4711
|
-
/** Icon (use instead of icon slot) */
|
|
4712
|
-
this.icon = "";
|
|
4713
|
-
/** Prevent option search */
|
|
4714
|
-
this.noSearch = false;
|
|
4715
|
-
/** Prevent backspace delete */
|
|
4716
|
-
this.noBackspaceDelete = false;
|
|
4717
|
-
/** Invalid status */
|
|
4718
|
-
this.invalid = false;
|
|
4719
|
-
/** Required status */
|
|
4720
|
-
this.required = false;
|
|
4721
|
-
/** Show text in label depending if field is optional/required */
|
|
4722
|
-
this.showMarker = false;
|
|
4723
|
-
/** Id for element which describes the input (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */
|
|
4724
|
-
this.a11yDescribedby = "";
|
|
4725
|
-
}
|
|
4726
|
-
optionsWatcher(newValue) {
|
|
4727
|
-
if (typeof newValue === "string") {
|
|
4728
|
-
this._options = JSON.parse(newValue);
|
|
4729
|
-
}
|
|
4730
|
-
else {
|
|
4731
|
-
this._options = newValue;
|
|
4732
|
-
}
|
|
4733
|
-
}
|
|
4734
|
-
itemsWatcher(newValue) {
|
|
4735
|
-
if (typeof newValue === "string") {
|
|
4736
|
-
this._items = JSON.parse(newValue);
|
|
4737
|
-
}
|
|
4738
|
-
else {
|
|
4739
|
-
this._items = newValue;
|
|
4740
|
-
}
|
|
4741
|
-
}
|
|
4742
|
-
searchFieldWatcher(newValue) {
|
|
4743
|
-
if (typeof newValue === "string") {
|
|
4744
|
-
this._searchField = JSON.parse(newValue);
|
|
4745
|
-
}
|
|
4746
|
-
else {
|
|
4747
|
-
this._searchField = newValue;
|
|
4748
|
-
}
|
|
4749
|
-
}
|
|
4750
|
-
optgroupsWatcher(newValue) {
|
|
4751
|
-
if (typeof newValue === "string") {
|
|
4752
|
-
this._optgroups = JSON.parse(newValue);
|
|
4753
|
-
}
|
|
4754
|
-
else {
|
|
4755
|
-
this._optgroups = newValue;
|
|
4756
|
-
}
|
|
4757
|
-
}
|
|
4758
|
-
errorWatcher(newValue) {
|
|
4759
|
-
if (typeof newValue === "string") {
|
|
4760
|
-
try {
|
|
4761
|
-
this._error = JSON.parse(newValue);
|
|
4762
|
-
}
|
|
4763
|
-
catch (e) {
|
|
4764
|
-
if (newValue) {
|
|
4765
|
-
this._error = [newValue];
|
|
4766
|
-
}
|
|
4767
|
-
else {
|
|
4768
|
-
this._error = [];
|
|
4769
|
-
}
|
|
4770
|
-
}
|
|
4771
|
-
}
|
|
4772
|
-
else if (newValue) {
|
|
4773
|
-
this._error = newValue;
|
|
4774
|
-
}
|
|
4775
|
-
else {
|
|
4776
|
-
this._error = [];
|
|
4777
|
-
}
|
|
4778
|
-
this.invalid = this._error.length > 0;
|
|
4779
|
-
}
|
|
4780
|
-
/**
|
|
4781
|
-
* Returns the value of the control.
|
|
4782
|
-
* If multiple items can be selected,
|
|
4783
|
-
* this returns an array, otherwise a string.
|
|
4784
|
-
*/
|
|
4785
|
-
async getValue() {
|
|
4786
|
-
return this.tomSelect.getValue();
|
|
4787
|
-
}
|
|
4788
|
-
/** Set new value */
|
|
4789
|
-
async setValue(newValue) {
|
|
4790
|
-
this.tomSelect.setValue(newValue);
|
|
4791
|
-
}
|
|
4792
|
-
/** Focus select */
|
|
4793
|
-
async setFocus() {
|
|
4794
|
-
this.tomSelect.focus();
|
|
4795
|
-
}
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
}
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
this.
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
}
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
</div>
|
|
4903
|
-
`;
|
|
4904
|
-
},
|
|
4905
|
-
|
|
4906
|
-
return `
|
|
4907
|
-
<div class="stzh-
|
|
4908
|
-
${
|
|
4909
|
-
</div
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
},
|
|
4938
|
-
|
|
4939
|
-
return
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
this.
|
|
4959
|
-
this.
|
|
4960
|
-
component: "stzh-dropdown",
|
|
4961
|
-
value
|
|
4962
|
-
});
|
|
4963
|
-
},
|
|
4964
|
-
|
|
4965
|
-
this.
|
|
4966
|
-
this.
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
this.
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
this.
|
|
4982
|
-
component: "stzh-dropdown"
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
this.
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
4631
|
+
const stzhDropdownCss = ":host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}stzh-dropdown{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block;--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--border-color:var(--stzh-color-grey61);--label-color:var(--stzh-color-grey61);--placeholder-color:var(--stzh-color-grey61);--background-color:var(--stzh-color-white);--label-background:var(--stzh-color-white);--icon-size:var(--stzh-icon-size-small);--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-border-color:var(--hover-color);--popover-width:100%;--popover-min-width:var(--stzh-popover-min-width);--popover-max-width:var(--stzh-popover-min-width);--popover-max-height:calc(6.5 * var(--stzh-menu-item-height));width:100%;border-radius:var(--stzh-form-input-border-radius);}stzh-dropdown[hidden]{display:none}stzh-dropdown *,stzh-dropdown *::before,stzh-dropdown *::after{-webkit-box-sizing:border-box;box-sizing:border-box}stzh-dropdown[variant=plain]{--background-color:transparent}stzh-dropdown[inline]:not([inline=false]){--popover-width:auto;width:auto}stzh-dropdown[invalid]:not([invalid=false]){--color:var(--stzh-color-error);--border-color:var(--stzh-color-error);--label-color:var(--stzh-color-error);--placeholder-color:var(--stzh-color-error);--hover-color:var(--stzh-color-error);--hover-border-color:var(--stzh-color-error)}stzh-dropdown[disabled]:not([disabled=false]){--color:var(--stzh-color-grey61);--border-color:var(--stzh-color-grey5);--label-color:var(--stzh-color-grey61);--placeholder-color:var(--stzh-color-grey61);--background-color:var(--stzh-color-grey5);--label-background:transparent;--hover-color:var(--stzh-color-grey61);--hover-border-color:var(--stzh-color-grey5)}stzh-dropdown[disabled]:not([disabled=false])[variant=plain]{--background-color:transparent}.stzh-dropdown__icon-wrapper stzh-icon,.stzh-dropdown__icon{--size:var(--icon-size)}.stzh-dropdown{}.stzh-dropdown__marker-symbol{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-dropdown__marker-text{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-dropdown__description-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-dropdown__error,.stzh-dropdown__description{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-dropdown__error{color:var(--stzh-color-error)}.stzh-dropdown__error-list{list-style:none;margin:0;padding:0}.stzh-dropdown__description{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-dropdown__description-long{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-dropdown__description-long-popover{--width:auto;--max-width:27.3125rem}.stzh-dropdown__description-long-popover[open]:not([open=false]) .stzh-dropdown__description-long-button{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown__description-long-button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-dropdown__description-long-button:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown stzh-icon.stzh-dropdown__description-long-icon{--size:var(--stzh-icon-size-xsmall)}.stzh-dropdown--has-error .stzh-dropdown__error,.stzh-dropdown--has-description .stzh-dropdown__description{margin-top:var(--stzh-space-xxsmall)}.stzh-dropdown .ts-hidden-accessible{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-dropdown .ts-dropdown-content{max-height:var(--popover-max-height);overflow-y:auto;overflow-x:hidden;overflow-scrolling:touch;scroll-behavior:smooth}.stzh-dropdown .ts-control{overflow:hidden;position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;border-radius:var(--stzh-form-input-border-radius);background-color:var(--background-color);-webkit-transition-property:color, border-color;transition-property:color, border-color;-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed);cursor:pointer}.stzh-dropdown .ts-control:hover,.stzh-dropdown .ts-control:focus-within{border-color:var(--hover-border-color);outline:none}.stzh-dropdown .ts-control>*{vertical-align:baseline;display:inline-block}.stzh-dropdown .ts-control,.stzh-dropdown__sizer{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;width:100%;min-height:var(--stzh-form-input-height);border:0.0625rem solid var(--border-color)}.stzh-dropdown .ts-control>input{font-size:inherit;line-height:inherit;-ms-flex:1 1 auto;flex:1 1 auto;display:inline-block;padding:0;min-height:0;max-height:none;max-width:100%;margin:0;text-indent:0;border:0 none;background:none;-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;-webkit-box-shadow:none;box-shadow:none;cursor:pointer}.stzh-dropdown .ts-control>input::-webkit-input-placeholder{color:var(--placeholder-color)}.stzh-dropdown .ts-control>input:-moz-placeholder{color:var(--placeholder-color)}.stzh-dropdown .ts-control>input::-moz-placeholder{color:var(--placeholder-color)}.stzh-dropdown .ts-control>input:-ms-input-placeholder{color:var(--placeholder-color)}.stzh-dropdown .ts-control>input::-ms-clear{display:none}.stzh-dropdown .ts-control>input:focus{outline:none}.stzh-dropdown .ts-control>input:-moz-placeholder-shown{text-overflow:ellipsis}.stzh-dropdown .ts-control>input:-ms-input-placeholder{text-overflow:ellipsis}.stzh-dropdown .ts-control>input:placeholder-shown{text-overflow:ellipsis}.stzh-dropdown__field-wrapper,.stzh-dropdown__select{position:relative}.stzh-dropdown__icon-wrapper{position:absolute}.stzh-dropdown__select .ts-control>input,.stzh-dropdown__select.single .stzh-dropdown__item,.stzh-dropdown__icon-wrapper,.stzh-dropdown__angle-icon{color:var(--color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed)}.stzh-dropdown__select.multi .stzh-dropdown__item{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown__select:hover .ts-control>input,.stzh-dropdown__select:focus-within .ts-control>input,.stzh-dropdown__select.single:hover .stzh-dropdown__item,.stzh-dropdown__select.single:focus-within .stzh-dropdown__item,.stzh-dropdown__select:hover~.stzh-dropdown__icon-wrapper,.stzh-dropdown__select:focus-within~.stzh-dropdown__icon-wrapper,.stzh-dropdown__select:hover~.stzh-dropdown__angle-icon,.stzh-dropdown__select:focus-within~.stzh-dropdown__angle-icon,.stzh-dropdown__select:hover~.stzh-dropdown__label,.stzh-dropdown__select:focus-within~.stzh-dropdown__label{color:var(--hover-color)}.stzh-dropdown__sizer{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-top:calc(var(--stzh-form-input-height) / -1);pointer-events:none;visibility:hidden}.stzh-dropdown__select.has-items~.stzh-dropdown__sizer{display:none}.stzh-dropdown__select.plugin-input_hide~.stzh-dropdown__sizer{visibility:visible}.stzh-dropdown__select.input-active .ts-control,.stzh-dropdown__select.input-active .ts-control>input{cursor:text}.stzh-dropdown__select.input-hidden .ts-control>input,.stzh-dropdown__select.plugin-input_hide .ts-control>input{opacity:0;position:absolute;left:-625rem}.stzh-dropdown__select.single .ts-control,.stzh-dropdown__select.multi .ts-control,.stzh-dropdown__sizer{padding:var(--stzh-space-xsmall) var(--stzh-space-medium);padding-right:calc(var(--stzh-icon-size-medium) + var(--stzh-space-medium) + var(--stzh-space-xsmall))}.stzh-dropdown__icon-wrapper,.stzh-dropdown__angle-icon{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);pointer-events:none}.stzh-dropdown__icon-wrapper{display:-ms-flexbox;display:flex;left:var(--stzh-space-medium)}.stzh-dropdown stzh-icon.stzh-dropdown__angle-icon{--size:var(--stzh-icon-size-medium)}.stzh-dropdown__angle-icon{right:var(--stzh-space-medium)}.stzh-dropdown__label{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--label-color);display:block;width:auto;position:absolute;top:calc(var(--stzh-form-input-height) / 2);left:calc(var(--stzh-space-medium) + 0.0625rem);max-width:calc(100% - var(--stzh-space-medium) * 2);-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);pointer-events:none}.stzh-dropdown__label:empty{display:none}.stzh-dropdown__label::before{content:\"\";display:none;background:var(--label-background);position:absolute;width:100%;z-index:-1;left:0;top:50%;height:0.125rem;margin-top:-0.03125rem}.stzh-dropdown__option,.stzh-dropdown__create{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:stretch;justify-content:stretch;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-decoration:none;outline:none;border:none;padding:var(--stzh-space-xsmall) var(--stzh-space-medium);padding-left:var(--stzh-space-large);color:var(--stzh-color-grey70);height:var(--stzh-menu-item-height);line-height:var(--stzh-menu-item-height);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);cursor:pointer}.stzh-dropdown__option:hover,.stzh-dropdown__option.active,.stzh-dropdown__create:hover,.stzh-dropdown__create.active{background-color:var(--stzh-color-grey5)}.stzh-dropdown__option.selected,.stzh-dropdown__create.selected{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown__option.selected:hover,.stzh-dropdown__option.selected.active,.stzh-dropdown__create.selected:hover,.stzh-dropdown__create.selected.active{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));background-color:var(--stzh-color-primary8)}.stzh-dropdown__option input,.stzh-dropdown__create input{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-dropdown__create{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);display:block}.stzh-dropdown__option-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stzh-dropdown__option[data-selectable] .highlight{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal}.stzh-dropdown__select .stzh-dropdown__option-check{display:none;color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown__option.selected:hover .stzh-dropdown__option-check,.stzh-dropdown__option.selected.active .stzh-dropdown__option-check{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-dropdown__no-results{overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.stzh-dropdown__no-results,.stzh-dropdown__not-loading{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);padding:var(--stzh-space-xsmall) var(--stzh-space-medium);padding-left:var(--stzh-space-large)}.stzh-dropdown__optgroup-header{cursor:default}.stzh-dropdown__loader{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:2.375rem}.stzh-dropdown__dropdown{position:absolute;top:100%;left:0;width:var(--popover-width);margin-top:var(--stzh-space-xsmall);background-color:var(--stzh-color-white);-webkit-box-shadow:var(--stzh-box-shadow-popover);box-shadow:var(--stzh-box-shadow-popover);z-index:var(--stzh-z-index-popover);border-radius:var(--stzh-popover-border-radius);overflow:hidden}@media screen and (min-width: 600px){.stzh-dropdown__dropdown{min-width:var(--popover-min-width);max-width:var(--popover-max-width)}}.stzh-dropdown__select.plugin-input_autogrow.has-items .ts-control>input{min-width:0}.stzh-dropdown__select.plugin-input_autogrow.has-items.focus .ts-control>input{-ms-flex:none;flex:none;min-width:0.25rem}.stzh-dropdown__select.has-items .ts-control>input{margin:0 0.25rem}.stzh-dropdown__select.has-items .ts-control>input::-webkit-input-placeholder{color:transparent}.stzh-dropdown__select.has-items .ts-control>input:-moz-placeholder{color:transparent}.stzh-dropdown__select.has-items .ts-control>input::-moz-placeholder{color:transparent}.stzh-dropdown__select.has-items .ts-control>input:-ms-input-placeholder{color:transparent}.stzh-dropdown--is-multiple .stzh-dropdown__option-check{display:-ms-inline-flexbox;display:inline-flex;opacity:0;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed);margin-right:var(--stzh-space-xsmall)}.stzh-dropdown--is-multiple .stzh-dropdown__option{padding-left:var(--stzh-space-small)}.stzh-dropdown--is-multiple .stzh-dropdown__option.selected .stzh-dropdown__option-check{opacity:1}.stzh-dropdown--is-multiple .stzh-dropdown__select.multi.has-items .ts-control{padding-top:calc(var(--stzh-space-xsmall) - 0.0625rem);padding-bottom:calc(var(--stzh-space-xsmall) - 0.0625rem)}.stzh-dropdown--is-multiple .stzh-dropdown__select.multi .stzh-dropdown__item{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);position:relative;height:1.5rem;line-height:1.5rem;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;border-radius:0.75rem;padding:0 var(--stzh-space-medium);-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0.0625rem solid transparent;background-color:var(--stzh-color-grey5);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);margin:var(--stzh-space-xxsmall) var(--stzh-space-xxsmall) var(--stzh-space-xxsmall) 0;cursor:pointer}.stzh-dropdown--is-multiple .stzh-dropdown__select.multi .stzh-dropdown__item:hover{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));background-color:var(--stzh-color-primary8)}.stzh-dropdown--is-multiple .stzh-dropdown__select.multi .stzh-dropdown__item.active{color:var(--stzh-color-white);background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-dropdown--is-multiple .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;padding-right:calc(1.5rem + var(--stzh-space-xxsmall))}.stzh-dropdown--is-multiple .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove{position:absolute;top:50%;right:-0.0625rem;-webkit-transform:translateY(-50%);transform:translateY(-50%);text-decoration:none;width:1.5rem;height:1.5rem;border-radius:1.5rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;margin-left:var(--stzh-space-xxsmall);color:var(--stzh-base-lead-color);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed)}.stzh-dropdown--is-multiple .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove:hover{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));background-color:var(--stzh-color-primary8)}.stzh-dropdown--is-multiple .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__remove-icon{--size:var(--stzh-icon-size-xxsmall)}.stzh-dropdown--is-multiple .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item.active .stzh-dropdown__remove-icon{color:var(--stzh-color-white)}.stzh-dropdown--popover-placement-top .stzh-dropdown__dropdown{margin-top:0;top:auto;bottom:100%;margin-bottom:var(--stzh-space-xsmall)}.stzh-dropdown--popover-placement-top.stzh-dropdown--plain .stzh-dropdown__dropdown{margin-bottom:0}.stzh-dropdown--size-small .ts-control,.stzh-dropdown--size-small .stzh-dropdown__sizer{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-dropdown--size-small .ts-control{min-height:var(--stzh-form-input-small-height)}.stzh-dropdown--size-small .stzh-dropdown__sizer{min-height:initial;height:var(--stzh-form-input-small-height);margin-top:calc(var(--stzh-form-input-small-height) / -1)}.stzh-dropdown--size-small .stzh-dropdown__label{top:calc(var(--stzh-form-input-small-height) / 2)}.stzh-dropdown--size-small .stzh-dropdown__select.single .ts-control,.stzh-dropdown--size-small .stzh-dropdown__select.multi .ts-control,.stzh-dropdown--size-small .stzh-dropdown__sizer{padding:var(--stzh-space-xxsmall) var(--stzh-space-medium);padding-right:calc(var(--stzh-icon-size-small) + var(--stzh-space-medium) + var(--stzh-space-xsmall))}.stzh-dropdown--size-small stzh-icon.stzh-dropdown__angle-icon{--size:var(--stzh-icon-size-small)}.stzh-dropdown--has-icon .stzh-dropdown__select.single .ts-control,.stzh-dropdown--has-icon .stzh-dropdown__select.multi .ts-control,.stzh-dropdown--has-icon .stzh-dropdown__sizer{padding-left:calc(var(--icon-size) + var(--stzh-space-medium) + var(--stzh-space-xsmall))}.stzh-dropdown--has-icon .stzh-dropdown__label{left:calc(var(--icon-size) + var(--stzh-space-medium) + var(--stzh-space-xsmall) + 0.0625rem)}.stzh-dropdown--plain .stzh-dropdown__select.single .ts-control,.stzh-dropdown--plain .stzh-dropdown__select.multi .ts-control,.stzh-dropdown--plain .stzh-dropdown__sizer{border:none;padding-left:0;padding-right:calc(var(--stzh-icon-size-medium) + var(--stzh-space-xsmall))}.stzh-dropdown--plain .stzh-dropdown__icon-wrapper{left:0}.stzh-dropdown--plain .stzh-dropdown__angle-icon{right:0}.stzh-dropdown--plain .stzh-dropdown__label{left:0;max-width:100%;padding:0}.stzh-dropdown--plain .stzh-dropdown__label::before{content:none}.stzh-dropdown--plain .stzh-dropdown__dropdown{margin-top:0}.stzh-dropdown--plain.stzh-dropdown--size-small .stzh-dropdown__select.single .ts-control,.stzh-dropdown--plain.stzh-dropdown--size-small .stzh-dropdown__select.multi .ts-control,.stzh-dropdown--plain.stzh-dropdown--size-small .stzh-dropdown__sizer{padding-right:calc(var(--stzh-icon-size-small) + var(--stzh-space-xsmall))}.stzh-dropdown--plain.stzh-dropdown--has-icon .stzh-dropdown__select.single .ts-control,.stzh-dropdown--plain.stzh-dropdown--has-icon .stzh-dropdown__select.multi .ts-control,.stzh-dropdown--plain.stzh-dropdown--has-icon .stzh-dropdown__sizer{padding-left:calc(var(--icon-size) + var(--stzh-space-xsmall))}.stzh-dropdown--plain.stzh-dropdown--has-icon .stzh-dropdown__label{left:calc(var(--icon-size) + var(--stzh-space-xsmall) + 0.0625rem)}.stzh-dropdown--has-fixed-label .stzh-dropdown__label,.stzh-dropdown--is-filled .stzh-dropdown__label,.stzh-dropdown--is-disabled .stzh-dropdown__label,.stzh-dropdown--is-invalid .stzh-dropdown__label,.stzh-dropdown--has-focus .stzh-dropdown__label,.stzh-dropdown--has-placeholder .stzh-dropdown__label{top:0;left:calc(var(--stzh-space-medium) - var(--stzh-space-xxsmall));height:1.25rem;line-height:1.25rem;padding:0 var(--stzh-space-xxsmall);max-width:calc(100% - (var(--stzh-space-medium) - var(--stzh-space-xxsmall)) * 2);pointer-events:all}.stzh-dropdown--has-fixed-label .stzh-dropdown__label:not(:empty)::before,.stzh-dropdown--is-filled .stzh-dropdown__label:not(:empty)::before,.stzh-dropdown--is-disabled .stzh-dropdown__label:not(:empty)::before,.stzh-dropdown--is-invalid .stzh-dropdown__label:not(:empty)::before,.stzh-dropdown--has-focus .stzh-dropdown__label:not(:empty)::before,.stzh-dropdown--has-placeholder .stzh-dropdown__label:not(:empty)::before{display:block}.stzh-dropdown--plain.stzh-dropdown--has-fixed-label .stzh-dropdown__label,.stzh-dropdown--plain.stzh-dropdown--is-filled .stzh-dropdown__label,.stzh-dropdown--plain.stzh-dropdown--is-disabled .stzh-dropdown__label,.stzh-dropdown--plain.stzh-dropdown--is-invalid .stzh-dropdown__label,.stzh-dropdown--plain.stzh-dropdown--has-focus .stzh-dropdown__label,.stzh-dropdown--plain.stzh-dropdown--has-placeholder .stzh-dropdown__label{left:0;padding:0;max-width:100%}.stzh-dropdown--is-disabled .stzh-dropdown__select.multi .stzh-dropdown__item,.stzh-dropdown--is-disabled .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove{cursor:not-allowed}.stzh-dropdown--is-disabled .stzh-dropdown__select.multi .stzh-dropdown__item,.stzh-dropdown--is-disabled .stzh-dropdown__select.multi .stzh-dropdown__item:hover{color:var(--stzh-color-grey25);background-color:var(--stzh-color-white);border-color:var(--stzh-base-border-color)}.stzh-dropdown--is-disabled .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove,.stzh-dropdown--is-disabled .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove:hover{color:var(--stzh-color-grey13);background-color:transparent}";
|
|
4632
|
+
|
|
4633
|
+
const TomSelectInputHide = function (_plugin_options) {
|
|
4634
|
+
// const self = this;
|
|
4635
|
+
// self.on("initialize", () => {
|
|
4636
|
+
// const input = self.control_input as HTMLInputElement;
|
|
4637
|
+
// if (input) input.disabled = true;
|
|
4638
|
+
// })
|
|
4639
|
+
};
|
|
4640
|
+
const CLASS_FILLED = "stzh-dropdown--is-filled";
|
|
4641
|
+
const CLASS_FOCUS = "stzh-dropdown--has-focus";
|
|
4642
|
+
tomSelect_base.define("remove_button", remove_button);
|
|
4643
|
+
tomSelect_base.define("checkbox_options", checkbox_options);
|
|
4644
|
+
tomSelect_base.define("input_autogrow", input_autogrow);
|
|
4645
|
+
tomSelect_base.define("no_backspace_delete", no_backspace_delete);
|
|
4646
|
+
tomSelect_base.define("input_hide", TomSelectInputHide);
|
|
4647
|
+
let dropdownCounter = 0;
|
|
4648
|
+
const StzhDropdown = class {
|
|
4649
|
+
constructor(hostRef) {
|
|
4650
|
+
registerInstance(this, hostRef);
|
|
4651
|
+
this.stzhChange = createEvent(this, "stzhChange", 7);
|
|
4652
|
+
this.stzhItemAdd = createEvent(this, "stzhItemAdd", 7);
|
|
4653
|
+
this.stzhItemRemove = createEvent(this, "stzhItemRemove", 7);
|
|
4654
|
+
this.stzhOptionAdd = createEvent(this, "stzhOptionAdd", 7);
|
|
4655
|
+
this.stzhOptionRemove = createEvent(this, "stzhOptionRemove", 7);
|
|
4656
|
+
this.stzhOpen = createEvent(this, "stzhOpen", 7);
|
|
4657
|
+
this.stzhClose = createEvent(this, "stzhClose", 7);
|
|
4658
|
+
this.stzhFocus = createEvent(this, "stzhFocus", 7);
|
|
4659
|
+
this.stzhBlur = createEvent(this, "stzhBlur", 7);
|
|
4660
|
+
this.stzhInit = createEvent(this, "stzhInit", 7);
|
|
4661
|
+
/**
|
|
4662
|
+
* An array of property names to analyze when filtering options.
|
|
4663
|
+
* Weights can be given to each field to improve search result:
|
|
4664
|
+
* `[{"field":"text","weight":2},{"field":"text2","weight":0.5}]`
|
|
4665
|
+
*/
|
|
4666
|
+
this.searchField = ["text"];
|
|
4667
|
+
/** Whether multiple items option can be selected */
|
|
4668
|
+
this.multiple = false;
|
|
4669
|
+
/** Show inline (auto width) */
|
|
4670
|
+
this.inline = false;
|
|
4671
|
+
/** The max number of options to display in the dropdown. Set to `null` for an unlimited number of options. */
|
|
4672
|
+
this.maxOptions = 50;
|
|
4673
|
+
/** When searching for multiple terms (separated by space), this is the operator used. Can be 'and' or 'or' */
|
|
4674
|
+
this.searchConjunction = "and";
|
|
4675
|
+
/** If true, any options with a "" value will be treated like a normal option. This defaults to false to accommodate the common <select> practice of having the first empty option to act as a placeholder. */
|
|
4676
|
+
this.allowEmptyOption = false;
|
|
4677
|
+
/** Show the dropdown immediately when the control receives focus. */
|
|
4678
|
+
this.openOnFocus = true;
|
|
4679
|
+
/** After a selection is made, the dropdown will remain open if in a multi-selection control or will close in a single-selection control. Setting closeAfterSelect to true will force the dropdown to close after selections are made. Setting closeAfterSelect to false will keep the dropdown open after selections are made. */
|
|
4680
|
+
this.closeAfterSelect = null;
|
|
4681
|
+
/** Invoked when new options should be loaded from the server. Called with the current query string and a callback function to call with the results when they are loaded (or nothing when an error arises). */
|
|
4682
|
+
this.load = null;
|
|
4683
|
+
/** Minimum of characters required to execute the `load` function */
|
|
4684
|
+
this.minCharacters = 3;
|
|
4685
|
+
/** The number of milliseconds to wait before requesting options from the server or null. If null, throttling is disabled. Useful when loading options dynamically while the user types a search / filter expression. */
|
|
4686
|
+
this.loadThrottle = 300;
|
|
4687
|
+
/** If true, the load function will be called upon control initialization (with an empty search). Alternatively it can be set to 'focus' to call the load function when control receives focus. */
|
|
4688
|
+
this.preload = false;
|
|
4689
|
+
/** The name of the property to render as an option / item label (not needed when custom rendering functions are defined). */
|
|
4690
|
+
this.labelField = "text";
|
|
4691
|
+
/** The name of the property to use as the value when an item is selected. */
|
|
4692
|
+
this.valueField = "value";
|
|
4693
|
+
/** The name of the property to group items by. */
|
|
4694
|
+
this.optgroupField = "optgroup";
|
|
4695
|
+
/** The name of the property to render as an option group label (not needed when custom rendering functions are defined). */
|
|
4696
|
+
this.optgroupLabelField = "label";
|
|
4697
|
+
/** The name of the option group property that serves as its unique identifier. */
|
|
4698
|
+
this.optgroupValueField = "value";
|
|
4699
|
+
/** Name of hidden select element */
|
|
4700
|
+
this.name = "";
|
|
4701
|
+
/** Variant */
|
|
4702
|
+
this.variant = "default";
|
|
4703
|
+
/** Size variant */
|
|
4704
|
+
this.size = "default";
|
|
4705
|
+
/** Whether the dropdown is disabled */
|
|
4706
|
+
this.disabled = false;
|
|
4707
|
+
/** Popover placement */
|
|
4708
|
+
this.popoverPlacement = "bottom";
|
|
4709
|
+
/** Label */
|
|
4710
|
+
this.label = "";
|
|
4711
|
+
/** Icon (use instead of icon slot) */
|
|
4712
|
+
this.icon = "";
|
|
4713
|
+
/** Prevent option search */
|
|
4714
|
+
this.noSearch = false;
|
|
4715
|
+
/** Prevent backspace delete */
|
|
4716
|
+
this.noBackspaceDelete = false;
|
|
4717
|
+
/** Invalid status */
|
|
4718
|
+
this.invalid = false;
|
|
4719
|
+
/** Required status */
|
|
4720
|
+
this.required = false;
|
|
4721
|
+
/** Show text in label depending if field is optional/required */
|
|
4722
|
+
this.showMarker = false;
|
|
4723
|
+
/** Id for element which describes the input (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */
|
|
4724
|
+
this.a11yDescribedby = "";
|
|
4725
|
+
}
|
|
4726
|
+
optionsWatcher(newValue) {
|
|
4727
|
+
if (typeof newValue === "string") {
|
|
4728
|
+
this._options = JSON.parse(newValue);
|
|
4729
|
+
}
|
|
4730
|
+
else {
|
|
4731
|
+
this._options = newValue;
|
|
4732
|
+
}
|
|
4733
|
+
}
|
|
4734
|
+
itemsWatcher(newValue) {
|
|
4735
|
+
if (typeof newValue === "string") {
|
|
4736
|
+
this._items = JSON.parse(newValue);
|
|
4737
|
+
}
|
|
4738
|
+
else {
|
|
4739
|
+
this._items = newValue;
|
|
4740
|
+
}
|
|
4741
|
+
}
|
|
4742
|
+
searchFieldWatcher(newValue) {
|
|
4743
|
+
if (typeof newValue === "string") {
|
|
4744
|
+
this._searchField = JSON.parse(newValue);
|
|
4745
|
+
}
|
|
4746
|
+
else {
|
|
4747
|
+
this._searchField = newValue;
|
|
4748
|
+
}
|
|
4749
|
+
}
|
|
4750
|
+
optgroupsWatcher(newValue) {
|
|
4751
|
+
if (typeof newValue === "string") {
|
|
4752
|
+
this._optgroups = JSON.parse(newValue);
|
|
4753
|
+
}
|
|
4754
|
+
else {
|
|
4755
|
+
this._optgroups = newValue;
|
|
4756
|
+
}
|
|
4757
|
+
}
|
|
4758
|
+
errorWatcher(newValue) {
|
|
4759
|
+
if (typeof newValue === "string") {
|
|
4760
|
+
try {
|
|
4761
|
+
this._error = JSON.parse(newValue);
|
|
4762
|
+
}
|
|
4763
|
+
catch (e) {
|
|
4764
|
+
if (newValue) {
|
|
4765
|
+
this._error = [newValue];
|
|
4766
|
+
}
|
|
4767
|
+
else {
|
|
4768
|
+
this._error = [];
|
|
4769
|
+
}
|
|
4770
|
+
}
|
|
4771
|
+
}
|
|
4772
|
+
else if (newValue) {
|
|
4773
|
+
this._error = newValue;
|
|
4774
|
+
}
|
|
4775
|
+
else {
|
|
4776
|
+
this._error = [];
|
|
4777
|
+
}
|
|
4778
|
+
this.invalid = this._error.length > 0;
|
|
4779
|
+
}
|
|
4780
|
+
/**
|
|
4781
|
+
* Returns the value of the control.
|
|
4782
|
+
* If multiple items can be selected,
|
|
4783
|
+
* this returns an array, otherwise a string.
|
|
4784
|
+
*/
|
|
4785
|
+
async getValue() {
|
|
4786
|
+
return this.tomSelect.getValue();
|
|
4787
|
+
}
|
|
4788
|
+
/** Set new value */
|
|
4789
|
+
async setValue(newValue) {
|
|
4790
|
+
this.tomSelect.setValue(newValue);
|
|
4791
|
+
}
|
|
4792
|
+
/** Focus select */
|
|
4793
|
+
async setFocus() {
|
|
4794
|
+
this.tomSelect.focus();
|
|
4795
|
+
}
|
|
4796
|
+
/** Reset loaded/cached search queries (calls from load property function) */
|
|
4797
|
+
async resetLoadedSearches() {
|
|
4798
|
+
this.tomSelect.loadedSearches = {};
|
|
4799
|
+
}
|
|
4800
|
+
/** Return loaded/cached search queries (calls from load property function) */
|
|
4801
|
+
async getLoadedSearches() {
|
|
4802
|
+
return this.tomSelect.loadedSearches;
|
|
4803
|
+
}
|
|
4804
|
+
/** Load items by calling load property/function */
|
|
4805
|
+
async loadItems(query) {
|
|
4806
|
+
return this.tomSelect.load(query);
|
|
4807
|
+
}
|
|
4808
|
+
updateFilled() {
|
|
4809
|
+
if (this._items.length > 0) {
|
|
4810
|
+
this.rootElement.classList.add(CLASS_FILLED);
|
|
4811
|
+
}
|
|
4812
|
+
else {
|
|
4813
|
+
this.rootElement.classList.remove(CLASS_FILLED);
|
|
4814
|
+
}
|
|
4815
|
+
}
|
|
4816
|
+
async componentWillLoad() {
|
|
4817
|
+
this.dropdownId = `stzh-dropdown-${dropdownCounter++}`;
|
|
4818
|
+
this.optionsWatcher(this.options);
|
|
4819
|
+
this.optgroupsWatcher(this.optgroups);
|
|
4820
|
+
this.itemsWatcher(this.items);
|
|
4821
|
+
this.searchFieldWatcher(this.searchField);
|
|
4822
|
+
this.errorWatcher(this.error);
|
|
4823
|
+
if (!this.localization) {
|
|
4824
|
+
this.localization = await fetchTranslations(this.element, 'dropdown');
|
|
4825
|
+
}
|
|
4826
|
+
}
|
|
4827
|
+
async componentWillUpdate() {
|
|
4828
|
+
if (this.tomSelect) {
|
|
4829
|
+
this.tomSelect.destroy();
|
|
4830
|
+
this.tomSelect = null;
|
|
4831
|
+
}
|
|
4832
|
+
}
|
|
4833
|
+
async componentDidRender() {
|
|
4834
|
+
if (this.tomSelect) {
|
|
4835
|
+
return;
|
|
4836
|
+
}
|
|
4837
|
+
const plugins = {};
|
|
4838
|
+
if (this.noSearch) {
|
|
4839
|
+
plugins["input_hide"] = {};
|
|
4840
|
+
}
|
|
4841
|
+
else {
|
|
4842
|
+
plugins["input_autogrow"] = {};
|
|
4843
|
+
}
|
|
4844
|
+
if (this.noBackspaceDelete) {
|
|
4845
|
+
plugins["no_backspace_delete"] = {};
|
|
4846
|
+
}
|
|
4847
|
+
if (this.multiple) {
|
|
4848
|
+
plugins["checkbox_options"] = {};
|
|
4849
|
+
plugins["remove_button"] = {
|
|
4850
|
+
title: this.localization.removeButtonTitle,
|
|
4851
|
+
label: '<stzh-icon name="close" class="stzh-dropdown__remove-icon"></stzh-icon>'
|
|
4852
|
+
};
|
|
4853
|
+
}
|
|
4854
|
+
const tomSelectOptions = {
|
|
4855
|
+
plugins,
|
|
4856
|
+
maxItems: this.multiple ? null : 1,
|
|
4857
|
+
maxOptions: this.maxOptions,
|
|
4858
|
+
items: this._items,
|
|
4859
|
+
optgroups: this._optgroups,
|
|
4860
|
+
searchField: this._searchField,
|
|
4861
|
+
searchConjunction: this.searchConjunction,
|
|
4862
|
+
allowEmptyOption: this.allowEmptyOption,
|
|
4863
|
+
closeAfterSelect: this.closeAfterSelect !== null
|
|
4864
|
+
? this.closeAfterSelect
|
|
4865
|
+
: !this.multiple,
|
|
4866
|
+
labelField: this.labelField,
|
|
4867
|
+
valueField: this.valueField,
|
|
4868
|
+
optgroupField: this.optgroupField,
|
|
4869
|
+
optgroupLabelField: this.optgroupLabelField,
|
|
4870
|
+
optgroupValueField: this.optgroupValueField,
|
|
4871
|
+
lockOptgroupOrder: this.lockOptgroupOrder,
|
|
4872
|
+
load: this.load,
|
|
4873
|
+
shouldLoad: (query) => {
|
|
4874
|
+
return query.length >= this.minCharacters;
|
|
4875
|
+
},
|
|
4876
|
+
loadThrottle: this.loadThrottle,
|
|
4877
|
+
preload: this.preload,
|
|
4878
|
+
openOnFocus: this.openOnFocus,
|
|
4879
|
+
loadingClass: "is-loading",
|
|
4880
|
+
hideSelected: false,
|
|
4881
|
+
duplicates: false,
|
|
4882
|
+
delimiter: ",",
|
|
4883
|
+
copyClassesToDropdown: false,
|
|
4884
|
+
placeholder: this.placeholder,
|
|
4885
|
+
hidePlaceholder: null,
|
|
4886
|
+
// if you want the user to be able to add own items enable this option
|
|
4887
|
+
// (but checkbox_options plugin throws an error and would need a fix first)
|
|
4888
|
+
// create: function(input, callback) {
|
|
4889
|
+
// callback({ value: input, text: input });
|
|
4890
|
+
// },
|
|
4891
|
+
// createOnBlur: false,
|
|
4892
|
+
// createFilter: null,
|
|
4893
|
+
// persist: false,
|
|
4894
|
+
render: {
|
|
4895
|
+
option: (data, escape) => {
|
|
4896
|
+
return `
|
|
4897
|
+
<div class="stzh-dropdown__option" title="${escape(data[this.labelField])}">
|
|
4898
|
+
<stzh-icon name="checkmark" class="stzh-dropdown__option-check"></stzh-icon>
|
|
4899
|
+
<span class="stzh-dropdown__option-title">
|
|
4900
|
+
${escape(data[this.labelField])}
|
|
4901
|
+
</span>
|
|
4902
|
+
</div>
|
|
4903
|
+
`;
|
|
4904
|
+
},
|
|
4905
|
+
item: (data, escape) => {
|
|
4906
|
+
return `
|
|
4907
|
+
<div class="stzh-dropdown__item">
|
|
4908
|
+
${escape(data[this.labelField])}
|
|
4909
|
+
</div>
|
|
4910
|
+
`;
|
|
4911
|
+
},
|
|
4912
|
+
option_create: (data, escape) => {
|
|
4913
|
+
return `
|
|
4914
|
+
<div class="stzh-dropdown__create">
|
|
4915
|
+
${this.localization.create.replace(/{x}/gi, escape(data.input))}…
|
|
4916
|
+
</div>
|
|
4917
|
+
`;
|
|
4918
|
+
},
|
|
4919
|
+
no_results: (data, escape) => {
|
|
4920
|
+
return `
|
|
4921
|
+
<div class="stzh-dropdown__no-results">
|
|
4922
|
+
${this.localization.noResults.replace(/{x}/gi, escape(data.input))}
|
|
4923
|
+
</div>`;
|
|
4924
|
+
},
|
|
4925
|
+
not_loading: this.load === null ? null : (_data, escape) => {
|
|
4926
|
+
return `
|
|
4927
|
+
<div class="stzh-dropdown__not-loading">
|
|
4928
|
+
${this.localization.notLoading.replace(/{x}/gi, escape(this.minCharacters.toString()))}
|
|
4929
|
+
</div>
|
|
4930
|
+
`;
|
|
4931
|
+
},
|
|
4932
|
+
optgroup: (data) => {
|
|
4933
|
+
let optgroup = document.createElement("div");
|
|
4934
|
+
optgroup.className = "stzh-dropdown__optgroup";
|
|
4935
|
+
optgroup.appendChild(data.options);
|
|
4936
|
+
return optgroup;
|
|
4937
|
+
},
|
|
4938
|
+
optgroup_header: (data, escape) => {
|
|
4939
|
+
return `
|
|
4940
|
+
<div class="stzh-dropdown__optgroup-header">
|
|
4941
|
+
${escape(data.label)}
|
|
4942
|
+
</div>
|
|
4943
|
+
`;
|
|
4944
|
+
},
|
|
4945
|
+
loading: () => {
|
|
4946
|
+
return `
|
|
4947
|
+
<div class="stzh-dropdown__loader">
|
|
4948
|
+
<stzh-loader></stzh-loader>
|
|
4949
|
+
</div>
|
|
4950
|
+
`;
|
|
4951
|
+
},
|
|
4952
|
+
dropdown: () => {
|
|
4953
|
+
return `<div class="stzh-dropdown__dropdown"></div>`;
|
|
4954
|
+
}
|
|
4955
|
+
},
|
|
4956
|
+
onChange: (value) => {
|
|
4957
|
+
this._items = this.tomSelect.items;
|
|
4958
|
+
this.updateFilled();
|
|
4959
|
+
this.stzhChange.emit({
|
|
4960
|
+
component: "stzh-dropdown",
|
|
4961
|
+
value
|
|
4962
|
+
});
|
|
4963
|
+
},
|
|
4964
|
+
onItemAdd: (value) => {
|
|
4965
|
+
this._items = this.tomSelect.items;
|
|
4966
|
+
this.stzhItemAdd.emit({
|
|
4967
|
+
component: "stzh-dropdown",
|
|
4968
|
+
value
|
|
4969
|
+
});
|
|
4970
|
+
},
|
|
4971
|
+
onItemRemove: (value) => {
|
|
4972
|
+
this._items = this.tomSelect.items;
|
|
4973
|
+
this.stzhItemRemove.emit({
|
|
4974
|
+
component: "stzh-dropdown",
|
|
4975
|
+
value
|
|
4976
|
+
});
|
|
4977
|
+
},
|
|
4978
|
+
onOptionAdd: (value) => {
|
|
4979
|
+
this._options = this.tomSelect.options;
|
|
4980
|
+
this.updateFilled();
|
|
4981
|
+
this.stzhOptionAdd.emit({
|
|
4982
|
+
component: "stzh-dropdown",
|
|
4983
|
+
value
|
|
4984
|
+
});
|
|
4985
|
+
},
|
|
4986
|
+
onOptionRemove: (value) => {
|
|
4987
|
+
this._options = this.tomSelect.options;
|
|
4988
|
+
this.updateFilled();
|
|
4989
|
+
this.stzhOptionRemove.emit({
|
|
4990
|
+
component: "stzh-dropdown",
|
|
4991
|
+
value
|
|
4992
|
+
});
|
|
4993
|
+
},
|
|
4994
|
+
onDropdownOpen: () => {
|
|
4995
|
+
this.stzhOpen.emit({
|
|
4996
|
+
component: "stzh-dropdown"
|
|
4997
|
+
});
|
|
4998
|
+
},
|
|
4999
|
+
onDropdownClose: () => {
|
|
5000
|
+
this.stzhClose.emit({
|
|
5001
|
+
component: "stzh-dropdown"
|
|
5002
|
+
});
|
|
5003
|
+
},
|
|
5004
|
+
onFocus: () => {
|
|
5005
|
+
if (this.tomSelect.load && this.preload === "focus") {
|
|
5006
|
+
// to be able to execute load function again, we reset loaded searches
|
|
5007
|
+
this.resetLoadedSearches();
|
|
5008
|
+
// if results have been preloaded before, load them now directly with load function
|
|
5009
|
+
if (this.tomSelect.wrapper.classList.contains('preloaded')) {
|
|
5010
|
+
// since tomSelect.preload() doesn't call tomSelect.shouldCall() method internally (to check for minCharacters),
|
|
5011
|
+
// we will also not call it (this.tomSelect.settings.shouldLoad.call(this.tomSelect, ''))
|
|
5012
|
+
this.tomSelect.load('');
|
|
5013
|
+
}
|
|
5014
|
+
}
|
|
5015
|
+
this.rootElement.classList.add(CLASS_FOCUS);
|
|
5016
|
+
const focusEvent = new FocusEvent('focus', {
|
|
5017
|
+
view: window,
|
|
5018
|
+
bubbles: false,
|
|
5019
|
+
cancelable: false
|
|
5020
|
+
});
|
|
5021
|
+
this.element.dispatchEvent(focusEvent);
|
|
5022
|
+
this.stzhFocus.emit({
|
|
5023
|
+
component: "stzh-dropdown"
|
|
5024
|
+
});
|
|
5025
|
+
},
|
|
5026
|
+
onBlur: () => {
|
|
5027
|
+
this.rootElement.classList.remove(CLASS_FOCUS);
|
|
5028
|
+
const blurEvent = new FocusEvent('blur', {
|
|
5029
|
+
view: window,
|
|
5030
|
+
bubbles: false,
|
|
5031
|
+
cancelable: false
|
|
5032
|
+
});
|
|
5033
|
+
this.element.dispatchEvent(blurEvent);
|
|
5034
|
+
this.stzhBlur.emit({
|
|
5035
|
+
component: "stzh-dropdown"
|
|
5036
|
+
});
|
|
5037
|
+
},
|
|
5038
|
+
onInitialize: () => {
|
|
5039
|
+
this.stzhInit.emit({
|
|
5040
|
+
component: "stzh-dropdown"
|
|
5041
|
+
});
|
|
5042
|
+
},
|
|
5043
|
+
onLoad: () => {
|
|
5044
|
+
this._options = this.tomSelect.options;
|
|
5045
|
+
}
|
|
5046
|
+
};
|
|
5047
|
+
if (this._options) {
|
|
5048
|
+
tomSelectOptions.options = this._options;
|
|
5049
|
+
}
|
|
5050
|
+
if (this._optgroups) {
|
|
5051
|
+
tomSelectOptions.optgroups = this._optgroups;
|
|
5052
|
+
}
|
|
5053
|
+
if (this._items) {
|
|
5054
|
+
tomSelectOptions.items = this._items;
|
|
5055
|
+
}
|
|
5056
|
+
this.tomSelect = new tomSelect_base(this.select, tomSelectOptions);
|
|
5057
|
+
}
|
|
5058
|
+
disconnectedCallback() {
|
|
5059
|
+
if (this.tomSelect) {
|
|
5060
|
+
this.tomSelect.destroy();
|
|
5061
|
+
this.tomSelect = null;
|
|
5062
|
+
}
|
|
5063
|
+
}
|
|
5064
|
+
render() {
|
|
5065
|
+
var _a;
|
|
5066
|
+
const iconUsed = hasSlot(this.element, 'icon') || !!this.icon;
|
|
5067
|
+
const descriptionUsed = hasSlot(this.element, 'description') || !!this.description;
|
|
5068
|
+
const descriptionLongUsed = hasSlot(this.element, 'description-long') || !!this.descriptionLong;
|
|
5069
|
+
const errorUsed = hasSlot(this.element, 'error') || !!this.error;
|
|
5070
|
+
const classes = {
|
|
5071
|
+
"stzh-dropdown": true,
|
|
5072
|
+
"stzh-dropdown--is-inline": this.inline,
|
|
5073
|
+
"stzh-dropdown--is-multiple": this.multiple,
|
|
5074
|
+
"stzh-dropdown--is-disabled": this.disabled,
|
|
5075
|
+
"stzh-dropdown--is-required": this.required,
|
|
5076
|
+
"stzh-dropdown--is-invalid": this.invalid,
|
|
5077
|
+
[CLASS_FILLED]: this._items && this._items.length > 0,
|
|
5078
|
+
"stzh-dropdown--has-icon": iconUsed,
|
|
5079
|
+
"stzh-dropdown--has-description": descriptionUsed,
|
|
5080
|
+
"stzh-dropdown--has-description-long": descriptionLongUsed,
|
|
5081
|
+
"stzh-dropdown--has-error": errorUsed,
|
|
5082
|
+
"stzh-dropdown--has-placeholder": !!this.placeholder,
|
|
5083
|
+
"stzh-dropdown--has-fixed-label": ((_a = window === null || window === void 0 ? void 0 : window.stzhComponents) === null || _a === void 0 ? void 0 : _a.labels) === "fixed",
|
|
5084
|
+
[`stzh-dropdown--popover-placement-${this.popoverPlacement}`]: !!this.popoverPlacement,
|
|
5085
|
+
[`stzh-dropdown--size-${this.size}`]: !!this.size,
|
|
5086
|
+
[`stzh-dropdown--${this.variant}`]: !!this.variant
|
|
5087
|
+
};
|
|
5088
|
+
return (h(Host, null, h("div", { class: classes, ref: (el) => (this.rootElement = el) }, h("div", { class: "stzh-dropdown__field-wrapper" }, h("select", { id: this.dropdownId, class: "stzh-dropdown__select", ref: (el) => (this.select = el), multiple: this.multiple, name: this.name, disabled: this.disabled, "aria-invalid": this.invalid ? "true" : "false", "aria-describedby": `${this.dropdownId}-description ${this.a11yDescribedby}`, "aria-required": this.required ? "true" : "false" }, h("slot", null)), h("div", { class: "stzh-dropdown__sizer" }, this.placeholder), h("stzh-icon", { name: "angle-down", class: "stzh-dropdown__angle-icon" }), h("div", { class: "stzh-dropdown__icon-wrapper" }, this.icon ?
|
|
5089
|
+
h("stzh-icon", { class: "stzh-dropdown__icon", name: this.icon })
|
|
5090
|
+
:
|
|
5091
|
+
h("slot", { name: "icon" })), h("label", { class: "stzh-dropdown__label", htmlFor: this.dropdownId }, this.label ? this.label : h("slot", { name: "label" }), this.showMarker &&
|
|
5092
|
+
h("span", { class: "stzh-dropdown__marker" }, h("span", { class: "stzh-dropdown__marker-symbol", "aria-hidden": "true" }, this.required
|
|
5093
|
+
? this.localization.$globals.requiredFieldMarker
|
|
5094
|
+
: this.localization.$globals.optionalFieldMarker), h("span", { class: "stzh-dropdown__marker-text" }, this.required
|
|
5095
|
+
? this.localization.$globals.requiredFieldText
|
|
5096
|
+
: this.localization.$globals.optionalFieldText)))), h(StzhInputDescription, { classPrefix: "stzh-dropdown", id: `${this.dropdownId}-description`, error: this._error, description: this.description, descriptionLong: this.descriptionLong, descriptionLongUsed: descriptionLongUsed, moreInfoButtonLabel: this.localization.$globals.moreInfoButtonLabel }))));
|
|
5097
|
+
}
|
|
5098
|
+
get element() { return getElement(this); }
|
|
5099
|
+
static get watchers() { return {
|
|
5100
|
+
"options": ["optionsWatcher"],
|
|
5101
|
+
"items": ["itemsWatcher"],
|
|
5102
|
+
"searchField": ["searchFieldWatcher"],
|
|
5103
|
+
"optgroups": ["optgroupsWatcher"],
|
|
5104
|
+
"error": ["errorWatcher"]
|
|
5105
|
+
}; }
|
|
5106
|
+
};
|
|
5080
5107
|
StzhDropdown.style = stzhDropdownCss;
|
|
5081
5108
|
|
|
5082
5109
|
export { StzhDropdown as stzh_dropdown };
|