@oiz/stzh-components 0.0.1-pretest → 1.4.0-npmjstest
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +56 -56
- package/dist/cjs/{animation-utils-c816beac.js → animation-utils-cfa35ce7.js} +37 -37
- package/dist/cjs/{app-globals-83a6c2d3.js → app-globals-e07b8f5f.js} +42 -42
- package/dist/cjs/{arrow-70a32014.js → arrow-3c3b0ae5.js} +3 -3
- package/dist/cjs/{date-adapter-2ffd8eaf.js → date-adapter-2a78f6f8.js} +85 -85
- package/dist/cjs/{date-utils-898a50be.js → date-utils-bb50c91f.js} +156 -156
- package/dist/cjs/{event-utils-4d7d610a.js → event-utils-9b64c792.js} +13 -13
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{media-utils-f1720906.js → media-utils-8cfc8591.js} +19 -19
- package/dist/cjs/{string-utils-223b03e2.js → string-utils-a867b99d.js} +12 -12
- package/dist/cjs/stzh-accordion-item.cjs.entry.js +170 -170
- package/dist/cjs/stzh-accordion.cjs.entry.js +63 -63
- package/dist/cjs/stzh-actions.cjs.entry.js +42 -42
- package/dist/cjs/stzh-appnav.cjs.entry.js +39 -39
- package/dist/cjs/stzh-appointments.cjs.entry.js +260 -260
- package/dist/cjs/stzh-badge_3.cjs.entry.js +146 -146
- package/dist/cjs/stzh-calendar.cjs.entry.js +291 -291
- package/dist/cjs/stzh-cell.cjs.entry.js +24 -24
- package/dist/cjs/stzh-checkbox.cjs.entry.js +123 -123
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +157 -157
- package/dist/cjs/stzh-chip-select.cjs.entry.js +55 -55
- package/dist/cjs/stzh-chip.cjs.entry.js +90 -90
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-container.cjs.entry.js +8 -8
- package/dist/cjs/stzh-cspace.cjs.entry.js +11 -11
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +92 -92
- package/dist/cjs/stzh-datamessagelist.cjs.entry.js +12 -12
- package/dist/cjs/stzh-datatable.cjs.entry.js +201 -201
- package/dist/cjs/stzh-datepicker_4.cjs.entry.js +458 -458
- package/dist/cjs/stzh-dialog.cjs.entry.js +179 -179
- package/dist/cjs/stzh-dropdown.cjs.entry.js +450 -450
- package/dist/cjs/stzh-fieldset.cjs.entry.js +24 -24
- package/dist/cjs/stzh-figure.cjs.entry.js +19 -19
- package/dist/cjs/stzh-flyingfocus.cjs.entry.js +167 -167
- package/dist/cjs/stzh-footer.cjs.entry.js +56 -56
- package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +132 -132
- package/dist/cjs/stzh-header.cjs.entry.js +151 -151
- package/dist/cjs/stzh-heading.cjs.entry.js +21 -21
- package/dist/cjs/stzh-hr.cjs.entry.js +12 -12
- package/dist/cjs/stzh-hspace.cjs.entry.js +30 -30
- package/dist/cjs/stzh-icon-sprite.cjs.entry.js +9 -9
- package/dist/cjs/{stzh-input-description-9ed61d1d.js → stzh-input-description-9802abc2.js} +15 -15
- package/dist/cjs/stzh-input.cjs.entry.js +181 -181
- package/dist/cjs/stzh-link.cjs.entry.js +95 -95
- package/dist/cjs/stzh-list-item.cjs.entry.js +15 -15
- package/dist/cjs/stzh-list.cjs.entry.js +15 -15
- package/dist/cjs/stzh-loader.cjs.entry.js +20 -20
- package/dist/cjs/stzh-loadingbar.cjs.entry.js +22 -22
- package/dist/cjs/stzh-menu_2.cjs.entry.js +81 -81
- package/dist/cjs/stzh-message.cjs.entry.js +72 -72
- package/dist/cjs/stzh-metanav.cjs.entry.js +26 -26
- package/dist/cjs/stzh-overlay.cjs.entry.js +88 -88
- package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +26 -26
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +61 -61
- package/dist/cjs/stzh-popover.cjs.entry.js +349 -349
- package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +12 -12
- package/dist/cjs/stzh-progressbar-item.cjs.entry.js +46 -46
- package/dist/cjs/stzh-progressbar.cjs.entry.js +114 -114
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +47 -47
- package/dist/cjs/stzh-row.cjs.entry.js +29 -29
- package/dist/cjs/stzh-saptcha.cjs.entry.js +70 -70
- package/dist/cjs/stzh-section.cjs.entry.js +13 -13
- package/dist/cjs/stzh-servicecard-list.cjs.entry.js +45 -45
- package/dist/cjs/stzh-servicecard.cjs.entry.js +201 -201
- package/dist/cjs/stzh-skiplink.cjs.entry.js +16 -16
- package/dist/cjs/stzh-sortable.cjs.entry.js +288 -288
- package/dist/cjs/stzh-status.cjs.entry.js +25 -25
- package/dist/cjs/stzh-table.cjs.entry.js +132 -132
- package/dist/cjs/stzh-toggle.cjs.entry.js +123 -123
- package/dist/cjs/stzh-tooltip.cjs.entry.js +310 -310
- package/dist/cjs/stzh-upload.cjs.entry.js +440 -440
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +71 -71
- package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +95 -95
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +171 -171
- package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +10 -10
- package/dist/cjs/stzh-vspace.cjs.entry.js +30 -30
- package/dist/cjs/{translation-utils-2dbbce94.js → translation-utils-73073e44.js} +54 -54
- package/dist/cjs/{utils-e84f4a8d.js → utils-d327c19d.js} +30 -30
- package/dist/collection/assets/favicons/browserconfig.xml +9 -9
- package/dist/collection/assets/favicons/site.webmanifest +19 -19
- package/dist/collection/assets/fonts.css +39 -39
- package/dist/collection/assets/i18n/de.json +154 -154
- package/dist/collection/assets/i18n/en.json +154 -154
- package/dist/collection/assets/icons/mono/alarm-bell.svg +3 -3
- package/dist/collection/assets/icons/mono/angle-down.svg +3 -3
- package/dist/collection/assets/icons/mono/angle-left.svg +3 -3
- package/dist/collection/assets/icons/mono/angle-right.svg +3 -3
- package/dist/collection/assets/icons/mono/angle-up.svg +3 -3
- package/dist/collection/assets/icons/mono/archive-box.svg +3 -3
- package/dist/collection/assets/icons/mono/arrow-down.svg +3 -3
- package/dist/collection/assets/icons/mono/arrow-left-circle.svg +4 -4
- package/dist/collection/assets/icons/mono/arrow-left.svg +3 -3
- package/dist/collection/assets/icons/mono/arrow-right-long.svg +3 -3
- package/dist/collection/assets/icons/mono/arrow-right.svg +3 -3
- package/dist/collection/assets/icons/mono/arrow-up.svg +3 -3
- package/dist/collection/assets/icons/mono/bulleted-list.svg +3 -3
- package/dist/collection/assets/icons/mono/calendar.svg +3 -3
- package/dist/collection/assets/icons/mono/cart.svg +3 -3
- package/dist/collection/assets/icons/mono/checkmark-circle.svg +3 -3
- package/dist/collection/assets/icons/mono/checkmark.svg +3 -3
- package/dist/collection/assets/icons/mono/clock.svg +3 -3
- package/dist/collection/assets/icons/mono/close-circle.svg +3 -3
- package/dist/collection/assets/icons/mono/close.svg +3 -3
- package/dist/collection/assets/icons/mono/compass-direction.svg +3 -3
- package/dist/collection/assets/icons/mono/compass-north.svg +4 -4
- package/dist/collection/assets/icons/mono/construction.svg +3 -3
- package/dist/collection/assets/icons/mono/copy.svg +3 -3
- package/dist/collection/assets/icons/mono/delete.svg +3 -3
- package/dist/collection/assets/icons/mono/download.svg +3 -3
- package/dist/collection/assets/icons/mono/drag.svg +10 -10
- package/dist/collection/assets/icons/mono/edit.svg +3 -3
- package/dist/collection/assets/icons/mono/email-check.svg +10 -10
- package/dist/collection/assets/icons/mono/expand.svg +3 -3
- package/dist/collection/assets/icons/mono/external-link.svg +4 -4
- package/dist/collection/assets/icons/mono/facebook-comment.svg +3 -3
- package/dist/collection/assets/icons/mono/facebook.svg +10 -10
- package/dist/collection/assets/icons/mono/file.svg +3 -3
- package/dist/collection/assets/icons/mono/filtering.svg +3 -3
- package/dist/collection/assets/icons/mono/flag.svg +10 -10
- package/dist/collection/assets/icons/mono/focus.svg +3 -3
- package/dist/collection/assets/icons/mono/gear.svg +3 -3
- package/dist/collection/assets/icons/mono/heart.svg +10 -10
- package/dist/collection/assets/icons/mono/home.svg +10 -10
- package/dist/collection/assets/icons/mono/important-warning.svg +3 -3
- package/dist/collection/assets/icons/mono/info-help.svg +3 -3
- package/dist/collection/assets/icons/mono/instagram.svg +3 -3
- package/dist/collection/assets/icons/mono/like-hand.svg +10 -10
- package/dist/collection/assets/icons/mono/linkedin.svg +5 -5
- package/dist/collection/assets/icons/mono/list-expanded.svg +4 -4
- package/dist/collection/assets/icons/mono/list-shrinked.svg +3 -3
- package/dist/collection/assets/icons/mono/lock.svg +10 -10
- package/dist/collection/assets/icons/mono/mail.svg +10 -10
- package/dist/collection/assets/icons/mono/map.svg +3 -3
- package/dist/collection/assets/icons/mono/menu.svg +3 -3
- package/dist/collection/assets/icons/mono/minus.svg +3 -3
- package/dist/collection/assets/icons/mono/more-horizontal.svg +5 -5
- package/dist/collection/assets/icons/mono/more-vertical.svg +5 -5
- package/dist/collection/assets/icons/mono/paper-clip.svg +10 -10
- package/dist/collection/assets/icons/mono/phone.svg +10 -10
- package/dist/collection/assets/icons/mono/pin-location.svg +10 -10
- package/dist/collection/assets/icons/mono/pin.svg +11 -11
- package/dist/collection/assets/icons/mono/play-1.svg +4 -4
- package/dist/collection/assets/icons/mono/play-button.svg +11 -11
- package/dist/collection/assets/icons/mono/play.svg +10 -10
- package/dist/collection/assets/icons/mono/plus.svg +3 -3
- package/dist/collection/assets/icons/mono/portfolio-grid.svg +11 -11
- package/dist/collection/assets/icons/mono/print.svg +10 -10
- package/dist/collection/assets/icons/mono/question-help.svg +3 -3
- package/dist/collection/assets/icons/mono/read-mail.svg +10 -10
- package/dist/collection/assets/icons/mono/reload.svg +10 -10
- package/dist/collection/assets/icons/mono/reset-time.svg +10 -10
- package/dist/collection/assets/icons/mono/reset.svg +10 -10
- package/dist/collection/assets/icons/mono/resize.svg +8 -8
- package/dist/collection/assets/icons/mono/rss.svg +12 -12
- package/dist/collection/assets/icons/mono/search.svg +3 -3
- package/dist/collection/assets/icons/mono/services.svg +6 -6
- package/dist/collection/assets/icons/mono/share.svg +3 -3
- package/dist/collection/assets/icons/mono/shrink.svg +3 -3
- package/dist/collection/assets/icons/mono/silent-mode.svg +3 -3
- package/dist/collection/assets/icons/mono/social-media.svg +23 -23
- package/dist/collection/assets/icons/mono/star-filled.svg +3 -3
- package/dist/collection/assets/icons/mono/star.svg +3 -3
- package/dist/collection/assets/icons/mono/subtitle.svg +3 -3
- package/dist/collection/assets/icons/mono/team.svg +10 -10
- package/dist/collection/assets/icons/mono/text-message.svg +6 -6
- package/dist/collection/assets/icons/mono/thermometer.svg +10 -10
- package/dist/collection/assets/icons/mono/transcript.svg +3 -3
- package/dist/collection/assets/icons/mono/twitter-reply.svg +3 -3
- package/dist/collection/assets/icons/mono/twitter-retweet.svg +3 -3
- package/dist/collection/assets/icons/mono/twitter.svg +10 -10
- package/dist/collection/assets/icons/mono/unlock.svg +10 -10
- package/dist/collection/assets/icons/mono/user.svg +3 -3
- package/dist/collection/assets/icons/mono/view-hidden.svg +3 -3
- package/dist/collection/assets/icons/mono/view.svg +4 -4
- package/dist/collection/assets/icons/mono/volume-medium.svg +3 -3
- package/dist/collection/assets/icons/mono/warning-big.svg +4 -4
- package/dist/collection/assets/icons/mono/warning.svg +3 -3
- package/dist/collection/assets/icons/mono/web-Link.svg +3 -3
- package/dist/collection/assets/icons/mono/wifi-signal.svg +3 -3
- package/dist/collection/assets/icons/mono/world-globe.svg +10 -10
- package/dist/collection/assets/icons/mono/xing.svg +11 -11
- package/dist/collection/assets/polyfills/ie11CustomProperties.min.js +8 -8
- package/dist/collection/assets/polyfills/intersection-observer.min.js +7 -7
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.Common.Settings.js +278 -278
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.Core.js +544 -544
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.HL.js +1111 -1111
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.PlayerAPI.js +211 -211
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.js +257 -257
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.lib.Facade.adapter.jquery.js +120 -120
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.lib.RSLib.js +796 -796
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.pub.Config.js +384 -384
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.ui.js +1241 -1241
- package/dist/collection/assets/vendors/readspeaker/ReadSpeakerClassic.css +357 -357
- package/dist/collection/assets/vendors/readspeaker/ReadSpeakerClassic.js +51 -51
- package/dist/collection/assets/vendors/readspeaker/mods/enlargeHL/ReadSpeaker.enlargeHL.js +24 -24
- package/dist/collection/components/stzh-accordion/stzh-accordion.js +156 -156
- package/dist/collection/components/stzh-accordion/stzh-accordion.stories.js +52 -52
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +429 -429
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.stories.js +45 -45
- package/dist/collection/components/stzh-actions/stzh-actions.js +98 -98
- package/dist/collection/components/stzh-actions/stzh-actions.stories.js +66 -66
- package/dist/collection/components/stzh-appnav/stzh-appnav.js +112 -112
- package/dist/collection/components/stzh-appnav/stzh-appnav.stories.js +53 -53
- package/dist/collection/components/stzh-appointments/stzh-appointments.js +515 -515
- package/dist/collection/components/stzh-appointments/stzh-appointments.localization.js +1 -1
- package/dist/collection/components/stzh-appointments/stzh-appointments.stories.js +186 -186
- package/dist/collection/components/stzh-badge/stzh-badge.js +47 -47
- package/dist/collection/components/stzh-badge/stzh-badge.stories.js +36 -36
- package/dist/collection/components/stzh-button/stzh-button.js +516 -516
- package/dist/collection/components/stzh-button/stzh-button.stories.js +66 -66
- package/dist/collection/components/stzh-calendar/stzh-calendar-day.js +22 -22
- package/dist/collection/components/stzh-calendar/stzh-calendar-month.js +21 -21
- package/dist/collection/components/stzh-calendar/stzh-calendar.js +463 -463
- package/dist/collection/components/stzh-calendar/stzh-calendar.localization.js +1 -1
- package/dist/collection/components/stzh-calendar/stzh-calendar.stories.js +37 -37
- package/dist/collection/components/stzh-cell/stzh-cell.js +179 -179
- package/dist/collection/components/stzh-cell/stzh-cell.stories.js +39 -39
- package/dist/collection/components/stzh-checkbox/assets/check.svg +3 -3
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +459 -459
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.stories.js +38 -38
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +450 -450
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.stories.js +39 -39
- package/dist/collection/components/stzh-chip/stzh-chip.js +407 -407
- package/dist/collection/components/stzh-chip/stzh-chip.stories.js +64 -64
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +158 -158
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.stories.js +69 -69
- package/dist/collection/components/stzh-container/stzh-container.js +21 -21
- package/dist/collection/components/stzh-container/stzh-container.stories.js +35 -35
- package/dist/collection/components/stzh-cspace/stzh-cspace.js +24 -24
- package/dist/collection/components/stzh-cspace/stzh-cspace.stories.js +34 -34
- package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.js +24 -24
- package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.stories.js +149 -149
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +358 -358
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.localization.js +1 -1
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.stories.js +63 -63
- package/dist/collection/components/stzh-datatable/stzh-datatable.js +413 -413
- package/dist/collection/components/stzh-datatable/stzh-datatable.localization.js +1 -1
- package/dist/collection/components/stzh-datatable/stzh-datatable.stories.js +63 -63
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +586 -586
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.localization.js +1 -1
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.stories.js +39 -39
- package/dist/collection/components/stzh-dialog/stzh-dialog.js +480 -480
- package/dist/collection/components/stzh-dialog/stzh-dialog.localization.js +1 -1
- package/dist/collection/components/stzh-dialog/stzh-dialog.stories.js +75 -75
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +1436 -1436
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.localization.js +1 -1
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.stories.js +109 -109
- package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +120 -120
- package/dist/collection/components/stzh-fieldset/stzh-fieldset.stories.js +55 -55
- package/dist/collection/components/stzh-figure/stzh-figure.js +76 -76
- package/dist/collection/components/stzh-figure/stzh-figure.stories.js +36 -36
- package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +253 -253
- package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.stories.js +27 -27
- package/dist/collection/components/stzh-footer/stzh-footer.js +147 -147
- package/dist/collection/components/stzh-footer/stzh-footer.localization.js +1 -1
- package/dist/collection/components/stzh-footer/stzh-footer.stories.js +49 -49
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.js +319 -319
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.localization.js +1 -1
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.stories.js +49 -49
- package/dist/collection/components/stzh-header/stzh-header.js +267 -267
- package/dist/collection/components/stzh-header/stzh-header.stories.js +178 -178
- package/dist/collection/components/stzh-heading/stzh-heading.js +99 -99
- package/dist/collection/components/stzh-heading/stzh-heading.stories.js +37 -37
- package/dist/collection/components/stzh-hr/stzh-hr.js +25 -25
- package/dist/collection/components/stzh-hr/stzh-hr.stories.js +23 -23
- package/dist/collection/components/stzh-hspace/stzh-hspace.js +246 -246
- package/dist/collection/components/stzh-hspace/stzh-hspace.stories.js +73 -73
- package/dist/collection/components/stzh-icon/stzh-icon.js +76 -76
- package/dist/collection/components/stzh-icon/stzh-icon.stories.js +37 -37
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +1354 -1354
- package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.js +19 -19
- package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.stories.js +46 -46
- package/dist/collection/components/stzh-input/stzh-input-description.js +8 -8
- package/dist/collection/components/stzh-input/stzh-input.js +724 -724
- package/dist/collection/components/stzh-input/stzh-input.stories.js +116 -116
- package/dist/collection/components/stzh-link/stzh-link.js +427 -427
- package/dist/collection/components/stzh-link/stzh-link.stories.js +67 -67
- package/dist/collection/components/stzh-list/stzh-list.js +52 -52
- package/dist/collection/components/stzh-list/stzh-list.stories.js +42 -42
- package/dist/collection/components/stzh-list-item/assets/checkmark.svg +3 -3
- package/dist/collection/components/stzh-list-item/stzh-list-item.js +26 -26
- package/dist/collection/components/stzh-loader/stzh-loader.js +93 -93
- package/dist/collection/components/stzh-loader/stzh-loader.stories.js +36 -36
- package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.js +94 -94
- package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.stories.js +34 -34
- package/dist/collection/components/stzh-menu/stzh-menu.js +21 -21
- package/dist/collection/components/stzh-menu/stzh-menu.stories.js +69 -69
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +296 -296
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.stories.js +52 -52
- package/dist/collection/components/stzh-message/stzh-message.js +287 -287
- package/dist/collection/components/stzh-message/stzh-message.localization.js +1 -1
- package/dist/collection/components/stzh-message/stzh-message.stories.js +40 -40
- package/dist/collection/components/stzh-metanav/stzh-metanav.js +41 -41
- package/dist/collection/components/stzh-metanav/stzh-metanav.stories.js +39 -39
- package/dist/collection/components/stzh-overlay/stzh-overlay.js +239 -239
- package/dist/collection/components/stzh-overlay/stzh-overlay.stories.js +50 -50
- package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.js +41 -41
- package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.stories.js +43 -43
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js +76 -76
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.stories.js +107 -107
- package/dist/collection/components/stzh-popover/stzh-popover.js +673 -673
- package/dist/collection/components/stzh-popover/stzh-popover.localization.js +1 -1
- package/dist/collection/components/stzh-popover/stzh-popover.stories.js +67 -67
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +578 -578
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.js +25 -25
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.stories.js +28 -28
- package/dist/collection/components/stzh-progressbar/stzh-progressbar.js +272 -272
- package/dist/collection/components/stzh-progressbar/stzh-progressbar.stories.js +164 -164
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js +250 -250
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.stories.js +36 -36
- package/dist/collection/components/stzh-radio/stzh-radio.js +458 -458
- package/dist/collection/components/stzh-radio/stzh-radio.stories.js +38 -38
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +479 -477
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.stories.js +39 -39
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +114 -114
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.stories.js +50 -50
- package/dist/collection/components/stzh-richtext/stzh-richtext.js +90 -90
- package/dist/collection/components/stzh-richtext/stzh-richtext.stories.js +79 -79
- package/dist/collection/components/stzh-row/stzh-row.js +207 -207
- package/dist/collection/components/stzh-row/stzh-row.stories.js +90 -90
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +221 -221
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.localization.js +1 -1
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.stories.js +34 -34
- package/dist/collection/components/stzh-section/stzh-section.js +50 -50
- package/dist/collection/components/stzh-section/stzh-section.stories.js +100 -100
- package/dist/collection/components/stzh-servicecard/stzh-servicecard.js +592 -592
- package/dist/collection/components/stzh-servicecard/stzh-servicecard.localization.js +1 -1
- package/dist/collection/components/stzh-servicecard/stzh-servicecard.stories.js +73 -73
- package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.js +153 -153
- package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.localization.js +1 -1
- package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.stories.js +115 -115
- package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +106 -106
- package/dist/collection/components/stzh-skiplink/stzh-skiplink.stories.js +53 -53
- package/dist/collection/components/stzh-sortable/stzh-sortable.js +501 -501
- package/dist/collection/components/stzh-sortable/stzh-sortable.localization.js +1 -1
- package/dist/collection/components/stzh-sortable/stzh-sortable.stories.js +34 -34
- package/dist/collection/components/stzh-status/stzh-status.js +115 -115
- package/dist/collection/components/stzh-status/stzh-status.stories.js +34 -34
- package/dist/collection/components/stzh-table/stzh-table.js +215 -215
- package/dist/collection/components/stzh-table/stzh-table.stories.js +89 -89
- package/dist/collection/components/stzh-text/stzh-text.js +232 -232
- package/dist/collection/components/stzh-text/stzh-text.stories.js +43 -43
- package/dist/collection/components/stzh-toggle/stzh-toggle.js +479 -479
- package/dist/collection/components/stzh-toggle/stzh-toggle.stories.js +38 -38
- package/dist/collection/components/stzh-tooltip/assets/arrow.svg +3 -3
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +667 -667
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.localization.js +1 -1
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.stories.js +63 -63
- package/dist/collection/components/stzh-upload/stzh-upload.js +1358 -1358
- package/dist/collection/components/stzh-upload/stzh-upload.localization.js +1 -1
- package/dist/collection/components/stzh-upload/stzh-upload.stories.js +69 -69
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +229 -229
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.stories.js +36 -36
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.js +236 -236
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.localization.js +1 -1
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.stories.js +52 -52
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +292 -292
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.js +1 -1
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.stories.js +53 -53
- package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.js +23 -23
- package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.stories.js +45 -45
- package/dist/collection/components/stzh-vspace/stzh-vspace.js +246 -246
- package/dist/collection/components/stzh-vspace/stzh-vspace.stories.js +73 -73
- package/dist/collection/global/js/helpers/autofocus.js +20 -20
- package/dist/collection/global/js/helpers/scrollbar-width.js +20 -20
- package/dist/collection/global/js/script.js +17 -17
- package/dist/collection/index.js +7 -7
- package/dist/collection/pages/egov.stories.js +262 -262
- package/dist/collection/pages/example.stories.js +170 -170
- package/dist/collection/pages/meinkonto.stories.js +660 -660
- package/dist/collection/patterns/appointments.stories.js +43 -43
- package/dist/collection/patterns/processingscreen.stories.js +43 -43
- package/dist/collection/utils/animation-utils.js +51 -51
- package/dist/collection/utils/date-adapter.js +86 -86
- package/dist/collection/utils/date-utils.js +196 -196
- package/dist/collection/utils/decorators.js +15 -15
- package/dist/collection/utils/event-utils.js +14 -14
- package/dist/collection/utils/h.js +109 -109
- package/dist/collection/utils/media-utils.js +20 -20
- package/dist/collection/utils/string-utils.js +13 -13
- package/dist/collection/utils/test-utils.js +27 -27
- package/dist/collection/utils/translation-utils.js +55 -55
- package/dist/collection/utils/utils.js +41 -41
- package/dist/components/animation-utils.js +37 -37
- package/dist/components/arrow.js +3 -3
- package/dist/components/date-adapter.js +85 -85
- package/dist/components/event-utils.js +13 -13
- package/dist/components/index.js +41 -41
- package/dist/components/media-utils.js +19 -19
- package/dist/components/string-utils.js +12 -12
- package/dist/components/stzh-accordion-item.js +192 -192
- package/dist/components/stzh-accordion.js +81 -81
- package/dist/components/stzh-actions.js +58 -58
- package/dist/components/stzh-appnav.js +56 -56
- package/dist/components/stzh-appointments.js +343 -343
- package/dist/components/stzh-badge2.js +26 -26
- package/dist/components/stzh-button2.js +155 -155
- package/dist/components/stzh-calendar2.js +475 -475
- package/dist/components/stzh-cell.js +47 -47
- package/dist/components/stzh-checkbox.js +159 -159
- package/dist/components/stzh-checkboxgroup.js +192 -192
- package/dist/components/stzh-chip-select.js +93 -93
- package/dist/components/stzh-chip2.js +122 -122
- package/dist/components/stzh-container.js +22 -22
- package/dist/components/stzh-cspace.js +25 -25
- package/dist/components/stzh-datamessagelist-item.js +156 -156
- package/dist/components/stzh-datamessagelist.js +26 -26
- package/dist/components/stzh-datatable.js +255 -255
- package/dist/components/stzh-datepicker2.js +206 -206
- package/dist/components/stzh-dialog.js +214 -214
- package/dist/components/stzh-dropdown2.js +514 -514
- package/dist/components/stzh-fieldset.js +48 -48
- package/dist/components/stzh-figure.js +35 -35
- package/dist/components/stzh-flyingfocus.js +188 -188
- package/dist/components/stzh-footer.js +88 -88
- package/dist/components/stzh-ghettobox2.js +124 -124
- package/dist/components/stzh-header.js +174 -174
- package/dist/components/stzh-heading2.js +39 -39
- package/dist/components/stzh-hr.js +26 -26
- package/dist/components/stzh-hspace.js +54 -54
- package/dist/components/stzh-icon-sprite.js +23 -23
- package/dist/components/stzh-icon2.js +41 -41
- package/dist/components/stzh-input-description.js +15 -15
- package/dist/components/stzh-input2.js +239 -239
- package/dist/components/stzh-link2.js +134 -134
- package/dist/components/stzh-list-item.js +30 -30
- package/dist/components/stzh-list.js +32 -32
- package/dist/components/stzh-loader.js +38 -38
- package/dist/components/stzh-loadingbar.js +40 -40
- package/dist/components/stzh-menu-item2.js +106 -106
- package/dist/components/stzh-menu2.js +22 -22
- package/dist/components/stzh-message.js +100 -100
- package/dist/components/stzh-metanav.js +40 -40
- package/dist/components/stzh-overlay.js +108 -108
- package/dist/components/stzh-page-skiplinks.js +40 -40
- package/dist/components/stzh-pagetitle.js +74 -74
- package/dist/components/stzh-popover2.js +376 -376
- package/dist/components/stzh-portal-mitwirken.js +26 -26
- package/dist/components/stzh-progressbar-item2.js +74 -74
- package/dist/components/stzh-progressbar.js +146 -146
- package/dist/components/stzh-radio2.js +156 -156
- package/dist/components/stzh-radiogroup2.js +202 -202
- package/dist/components/stzh-readspeaker.js +63 -63
- package/dist/components/stzh-richtext2.js +57 -57
- package/dist/components/stzh-row.js +53 -53
- package/dist/components/stzh-saptcha.js +116 -116
- package/dist/components/stzh-section.js +29 -29
- package/dist/components/stzh-servicecard-list.js +84 -84
- package/dist/components/stzh-servicecard.js +263 -263
- package/dist/components/stzh-skiplink.js +35 -35
- package/dist/components/stzh-sortable2.js +310 -310
- package/dist/components/stzh-status2.js +44 -44
- package/dist/components/stzh-table.js +153 -153
- package/dist/components/stzh-text2.js +57 -57
- package/dist/components/stzh-toggle.js +160 -160
- package/dist/components/stzh-tooltip2.js +340 -340
- package/dist/components/stzh-upload.js +502 -502
- package/dist/components/stzh-vbz-linechip2.js +96 -96
- package/dist/components/stzh-vbz-majorticker.js +139 -139
- package/dist/components/stzh-vbz-ticker.js +214 -214
- package/dist/components/stzh-visuallyhidden.js +24 -24
- package/dist/components/stzh-vspace.js +54 -54
- package/dist/components/translation-utils.js +54 -54
- package/dist/components/utils.js +30 -30
- package/dist/esm/{animation-utils-27dcfc1e.js → animation-utils-25c74e5b.js} +37 -37
- package/dist/esm/{app-globals-137e106c.js → app-globals-70c229e3.js} +42 -42
- package/dist/esm/{arrow-18769ca6.js → arrow-86a679c7.js} +3 -3
- package/dist/esm/{date-adapter-c0ee5963.js → date-adapter-cbc340fa.js} +85 -85
- package/dist/esm/{date-utils-282e96fe.js → date-utils-be83fff1.js} +156 -156
- package/dist/esm/{event-utils-68b64805.js → event-utils-7a709e21.js} +13 -13
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{media-utils-db7c9057.js → media-utils-9b041ceb.js} +19 -19
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/{string-utils-33181845.js → string-utils-f98ee4e8.js} +12 -12
- package/dist/esm/stzh-accordion-item.entry.js +170 -170
- package/dist/esm/stzh-accordion.entry.js +63 -63
- package/dist/esm/stzh-actions.entry.js +42 -42
- package/dist/esm/stzh-appnav.entry.js +39 -39
- package/dist/esm/stzh-appointments.entry.js +260 -260
- package/dist/esm/stzh-badge_3.entry.js +146 -146
- package/dist/esm/stzh-calendar.entry.js +291 -291
- package/dist/esm/stzh-cell.entry.js +24 -24
- package/dist/esm/stzh-checkbox.entry.js +123 -123
- package/dist/esm/stzh-checkboxgroup.entry.js +157 -157
- package/dist/esm/stzh-chip-select.entry.js +55 -55
- package/dist/esm/stzh-chip.entry.js +90 -90
- package/dist/esm/stzh-components.js +2 -2
- package/dist/esm/stzh-container.entry.js +8 -8
- package/dist/esm/stzh-cspace.entry.js +11 -11
- package/dist/esm/stzh-datamessagelist-item.entry.js +92 -92
- package/dist/esm/stzh-datamessagelist.entry.js +12 -12
- package/dist/esm/stzh-datatable.entry.js +201 -201
- package/dist/esm/stzh-datepicker_4.entry.js +458 -458
- package/dist/esm/stzh-dialog.entry.js +179 -179
- package/dist/esm/stzh-dropdown.entry.js +450 -450
- package/dist/esm/stzh-fieldset.entry.js +24 -24
- package/dist/esm/stzh-figure.entry.js +19 -19
- package/dist/esm/stzh-flyingfocus.entry.js +167 -167
- package/dist/esm/stzh-footer.entry.js +56 -56
- package/dist/esm/stzh-ghettobox_2.entry.js +132 -132
- package/dist/esm/stzh-header.entry.js +151 -151
- package/dist/esm/stzh-heading.entry.js +21 -21
- package/dist/esm/stzh-hr.entry.js +12 -12
- package/dist/esm/stzh-hspace.entry.js +30 -30
- package/dist/esm/stzh-icon-sprite.entry.js +9 -9
- package/dist/esm/{stzh-input-description-fa0a4b5b.js → stzh-input-description-da7b0e98.js} +15 -15
- package/dist/esm/stzh-input.entry.js +181 -181
- package/dist/esm/stzh-link.entry.js +95 -95
- package/dist/esm/stzh-list-item.entry.js +15 -15
- package/dist/esm/stzh-list.entry.js +15 -15
- package/dist/esm/stzh-loader.entry.js +20 -20
- package/dist/esm/stzh-loadingbar.entry.js +22 -22
- package/dist/esm/stzh-menu_2.entry.js +81 -81
- package/dist/esm/stzh-message.entry.js +72 -72
- package/dist/esm/stzh-metanav.entry.js +26 -26
- package/dist/esm/stzh-overlay.entry.js +88 -88
- package/dist/esm/stzh-page-skiplinks.entry.js +26 -26
- package/dist/esm/stzh-pagetitle.entry.js +61 -61
- package/dist/esm/stzh-popover.entry.js +349 -349
- package/dist/esm/stzh-portal-mitwirken.entry.js +12 -12
- package/dist/esm/stzh-progressbar-item.entry.js +46 -46
- package/dist/esm/stzh-progressbar.entry.js +114 -114
- package/dist/esm/stzh-readspeaker.entry.js +47 -47
- package/dist/esm/stzh-row.entry.js +29 -29
- package/dist/esm/stzh-saptcha.entry.js +70 -70
- package/dist/esm/stzh-section.entry.js +13 -13
- package/dist/esm/stzh-servicecard-list.entry.js +45 -45
- package/dist/esm/stzh-servicecard.entry.js +201 -201
- package/dist/esm/stzh-skiplink.entry.js +16 -16
- package/dist/esm/stzh-sortable.entry.js +288 -288
- package/dist/esm/stzh-status.entry.js +25 -25
- package/dist/esm/stzh-table.entry.js +132 -132
- package/dist/esm/stzh-toggle.entry.js +123 -123
- package/dist/esm/stzh-tooltip.entry.js +310 -310
- package/dist/esm/stzh-upload.entry.js +440 -440
- package/dist/esm/stzh-vbz-linechip.entry.js +71 -71
- package/dist/esm/stzh-vbz-majorticker.entry.js +95 -95
- package/dist/esm/stzh-vbz-ticker.entry.js +171 -171
- package/dist/esm/stzh-visuallyhidden.entry.js +10 -10
- package/dist/esm/stzh-vspace.entry.js +30 -30
- package/dist/esm/{translation-utils-f5b09945.js → translation-utils-2623783f.js} +54 -54
- package/dist/esm/{utils-c5d68020.js → utils-904416df.js} +30 -30
- package/dist/esm-es5/{animation-utils-27dcfc1e.js → animation-utils-25c74e5b.js} +0 -0
- package/dist/esm-es5/app-globals-70c229e3.js +1 -0
- package/dist/esm-es5/{arrow-18769ca6.js → arrow-86a679c7.js} +0 -0
- package/dist/esm-es5/{date-adapter-c0ee5963.js → date-adapter-cbc340fa.js} +0 -0
- package/dist/esm-es5/{date-utils-282e96fe.js → date-utils-be83fff1.js} +0 -0
- package/dist/esm-es5/{event-utils-68b64805.js → event-utils-7a709e21.js} +0 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{media-utils-db7c9057.js → media-utils-9b041ceb.js} +0 -0
- package/dist/esm-es5/{string-utils-33181845.js → string-utils-f98ee4e8.js} +0 -0
- package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
- package/dist/esm-es5/stzh-actions.entry.js +1 -1
- package/dist/esm-es5/stzh-appnav.entry.js +1 -1
- package/dist/esm-es5/stzh-appointments.entry.js +1 -1
- package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
- package/dist/esm-es5/stzh-calendar.entry.js +1 -1
- package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
- package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
- package/dist/esm-es5/stzh-components.js +1 -1
- package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm-es5/stzh-datatable.entry.js +1 -1
- package/dist/esm-es5/stzh-datepicker_4.entry.js +1 -1
- package/dist/esm-es5/stzh-dialog.entry.js +1 -1
- package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
- package/dist/esm-es5/stzh-figure.entry.js +1 -1
- package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -1
- package/dist/esm-es5/stzh-footer.entry.js +1 -1
- package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
- package/dist/esm-es5/stzh-header.entry.js +1 -1
- package/dist/esm-es5/{stzh-input-description-fa0a4b5b.js → stzh-input-description-da7b0e98.js} +0 -0
- package/dist/esm-es5/stzh-input.entry.js +1 -1
- package/dist/esm-es5/stzh-link.entry.js +1 -1
- package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
- package/dist/esm-es5/stzh-message.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
- package/dist/esm-es5/stzh-popover.entry.js +1 -1
- package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
- package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
- package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
- package/dist/esm-es5/stzh-servicecard-list.entry.js +1 -1
- package/dist/esm-es5/stzh-servicecard.entry.js +1 -1
- package/dist/esm-es5/stzh-sortable.entry.js +1 -1
- package/dist/esm-es5/stzh-table.entry.js +1 -1
- package/dist/esm-es5/stzh-toggle.entry.js +1 -1
- package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
- package/dist/esm-es5/stzh-upload.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
- package/dist/esm-es5/{translation-utils-f5b09945.js → translation-utils-2623783f.js} +0 -0
- package/dist/esm-es5/{utils-c5d68020.js → utils-904416df.js} +0 -0
- package/dist/stzh-components/assets/favicons/browserconfig.xml +9 -9
- package/dist/stzh-components/assets/favicons/site.webmanifest +19 -19
- package/dist/stzh-components/assets/fonts.css +39 -39
- package/dist/stzh-components/assets/i18n/de.json +154 -154
- package/dist/stzh-components/assets/i18n/en.json +154 -154
- package/dist/stzh-components/assets/icons/mono/alarm-bell.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/angle-down.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/angle-left.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/angle-right.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/angle-up.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/archive-box.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/arrow-down.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/arrow-left-circle.svg +4 -4
- package/dist/stzh-components/assets/icons/mono/arrow-left.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/arrow-right-long.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/arrow-right.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/arrow-up.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/bulleted-list.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/calendar.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/cart.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/checkmark-circle.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/checkmark.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/clock.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/close-circle.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/close.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/compass-direction.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/compass-north.svg +4 -4
- package/dist/stzh-components/assets/icons/mono/construction.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/copy.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/delete.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/download.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/drag.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/edit.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/email-check.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/expand.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/external-link.svg +4 -4
- package/dist/stzh-components/assets/icons/mono/facebook-comment.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/facebook.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/file.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/filtering.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/flag.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/focus.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/gear.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/heart.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/home.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/important-warning.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/info-help.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/instagram.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/like-hand.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/linkedin.svg +5 -5
- package/dist/stzh-components/assets/icons/mono/list-expanded.svg +4 -4
- package/dist/stzh-components/assets/icons/mono/list-shrinked.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/lock.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/mail.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/map.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/menu.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/minus.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/more-horizontal.svg +5 -5
- package/dist/stzh-components/assets/icons/mono/more-vertical.svg +5 -5
- package/dist/stzh-components/assets/icons/mono/paper-clip.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/phone.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/pin-location.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/pin.svg +11 -11
- package/dist/stzh-components/assets/icons/mono/play-1.svg +4 -4
- package/dist/stzh-components/assets/icons/mono/play-button.svg +11 -11
- package/dist/stzh-components/assets/icons/mono/play.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/plus.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/portfolio-grid.svg +11 -11
- package/dist/stzh-components/assets/icons/mono/print.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/question-help.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/read-mail.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/reload.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/reset-time.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/reset.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/resize.svg +8 -8
- package/dist/stzh-components/assets/icons/mono/rss.svg +12 -12
- package/dist/stzh-components/assets/icons/mono/search.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/services.svg +6 -6
- package/dist/stzh-components/assets/icons/mono/share.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/shrink.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/silent-mode.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/social-media.svg +23 -23
- package/dist/stzh-components/assets/icons/mono/star-filled.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/star.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/subtitle.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/team.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/text-message.svg +6 -6
- package/dist/stzh-components/assets/icons/mono/thermometer.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/transcript.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/twitter-reply.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/twitter-retweet.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/twitter.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/unlock.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/user.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/view-hidden.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/view.svg +4 -4
- package/dist/stzh-components/assets/icons/mono/volume-medium.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/warning-big.svg +4 -4
- package/dist/stzh-components/assets/icons/mono/warning.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/web-Link.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/wifi-signal.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/world-globe.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/xing.svg +11 -11
- package/dist/stzh-components/assets/polyfills/ie11CustomProperties.min.js +8 -8
- package/dist/stzh-components/assets/polyfills/intersection-observer.min.js +7 -7
- package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +1354 -1354
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.Common.Settings.js +278 -278
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.Core.js +544 -544
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.HL.js +1111 -1111
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.PlayerAPI.js +211 -211
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.js +257 -257
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.lib.Facade.adapter.jquery.js +120 -120
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.lib.RSLib.js +796 -796
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.pub.Config.js +384 -384
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.ui.js +1241 -1241
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeakerClassic.css +357 -357
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeakerClassic.js +51 -51
- package/dist/stzh-components/assets/vendors/readspeaker/mods/enlargeHL/ReadSpeaker.enlargeHL.js +24 -24
- package/dist/stzh-components/{p-95a3c962.system.entry.js → p-043ab41e.system.entry.js} +1 -1
- package/dist/stzh-components/{p-bf5b6523.entry.js → p-07f16263.entry.js} +1 -1
- package/dist/stzh-components/p-08d4ed80.entry.js +1 -0
- package/dist/stzh-components/{p-e1b64b8a.system.entry.js → p-0c92ee26.system.entry.js} +1 -1
- package/dist/stzh-components/{p-3e3e4bfd.system.js → p-11816251.system.js} +0 -0
- package/dist/stzh-components/{p-d790a367.entry.js → p-11d0c8f3.entry.js} +1 -1
- package/dist/stzh-components/{p-bb900d9f.entry.js → p-14d728f0.entry.js} +1 -1
- package/dist/stzh-components/{p-f481f21d.system.js → p-176db2fe.system.js} +0 -0
- package/dist/stzh-components/{p-af47430b.system.entry.js → p-19344366.system.entry.js} +1 -1
- package/dist/stzh-components/{p-afa7061e.entry.js → p-1bfc1097.entry.js} +1 -1
- package/dist/stzh-components/{p-da8218fa.system.entry.js → p-1ccbd2d6.system.entry.js} +1 -1
- package/dist/stzh-components/{p-22f948e2.entry.js → p-1d914f6c.entry.js} +1 -1
- package/dist/stzh-components/{p-9fe34fe8.system.js → p-1e4b4d71.system.js} +0 -0
- package/dist/stzh-components/{p-160c6e5f.system.entry.js → p-1f15a4e0.system.entry.js} +1 -1
- package/dist/stzh-components/{p-1a40a6e4.js → p-25a09313.js} +0 -0
- package/dist/stzh-components/{p-ab2727e6.entry.js → p-298276e4.entry.js} +1 -1
- package/dist/stzh-components/{p-3ca5c2e6.system.entry.js → p-2990206c.system.entry.js} +1 -1
- package/dist/stzh-components/{p-320aedf7.js → p-2a5855f8.js} +0 -0
- package/dist/stzh-components/{p-6113bb25.entry.js → p-2d0685e3.entry.js} +1 -1
- package/dist/stzh-components/{p-1aaa5112.system.entry.js → p-2f2cb544.system.entry.js} +1 -1
- package/dist/stzh-components/{p-99195f5a.system.js → p-309d2b66.system.js} +0 -0
- package/dist/stzh-components/{p-59bdb14a.system.entry.js → p-30cb8bc0.system.entry.js} +1 -1
- package/dist/stzh-components/{p-8ba6ca80.js → p-32b78d65.js} +0 -0
- package/dist/stzh-components/{p-b06cc533.entry.js → p-33d75303.entry.js} +1 -1
- package/dist/stzh-components/{p-45d4e9b4.system.entry.js → p-346e26f2.system.entry.js} +1 -1
- package/dist/stzh-components/{p-4b8893d1.entry.js → p-3c4478b0.entry.js} +1 -1
- package/dist/stzh-components/{p-740dd50f.entry.js → p-3c799247.entry.js} +1 -1
- package/dist/stzh-components/{p-3410ef5a.system.entry.js → p-48bbcc26.system.entry.js} +1 -1
- package/dist/stzh-components/{p-3eb7b6b4.entry.js → p-49e37004.entry.js} +1 -1
- package/dist/stzh-components/{p-e029f6c5.system.entry.js → p-49ea222f.system.entry.js} +1 -1
- package/dist/stzh-components/p-4c61dcad.js +4 -4
- package/dist/stzh-components/{p-efb9fa47.system.entry.js → p-4cfe83b5.system.entry.js} +1 -1
- package/dist/stzh-components/{p-a499fa98.system.entry.js → p-4e9bfeb8.system.entry.js} +1 -1
- package/dist/stzh-components/{p-4c68fa45.system.js → p-5318ba20.system.js} +0 -0
- package/dist/stzh-components/{p-301841e3.entry.js → p-55188328.entry.js} +1 -1
- package/dist/stzh-components/{p-3afe13ac.system.entry.js → p-58ffc722.system.entry.js} +1 -1
- package/dist/stzh-components/{p-ebf73698.entry.js → p-5f7b72c8.entry.js} +1 -1
- package/dist/stzh-components/{p-af819e4e.system.js → p-5f856307.system.js} +0 -0
- package/dist/stzh-components/{p-73d51acc.system.entry.js → p-60b4f34c.system.entry.js} +1 -1
- package/dist/stzh-components/{p-5f20178b.system.js → p-6267a327.system.js} +0 -0
- package/dist/stzh-components/{p-ac9e6d17.system.entry.js → p-634095bd.system.entry.js} +1 -1
- package/dist/stzh-components/{p-42430cdf.js → p-6c502e6e.js} +0 -0
- package/dist/stzh-components/{p-f8bb1bed.system.entry.js → p-6ea5c23d.system.entry.js} +1 -1
- package/dist/stzh-components/{p-25afa99e.entry.js → p-6ec17efc.entry.js} +1 -1
- package/dist/stzh-components/{p-4b69a3e8.system.entry.js → p-6edd58a4.system.entry.js} +1 -1
- package/dist/stzh-components/{p-58b8d309.system.entry.js → p-7279af4a.system.entry.js} +1 -1
- package/dist/stzh-components/{p-7c6f9cb3.entry.js → p-73194e28.entry.js} +1 -1
- package/dist/stzh-components/{p-81d9f3e0.js → p-77a00e55.js} +0 -0
- package/dist/stzh-components/{p-bb91feeb.entry.js → p-79ca1ba6.entry.js} +1 -1
- package/dist/stzh-components/{p-79770abe.system.entry.js → p-7a6e347d.system.entry.js} +2 -2
- package/dist/stzh-components/{p-cd29b7ca.entry.js → p-7bb1bd3b.entry.js} +1 -1
- package/dist/stzh-components/{p-649164c7.entry.js → p-7d098987.entry.js} +1 -1
- package/dist/stzh-components/{p-b9e4095d.entry.js → p-7d2237ca.entry.js} +1 -1
- package/dist/stzh-components/{p-927901f5.system.entry.js → p-7d62dfeb.system.entry.js} +1 -1
- package/dist/stzh-components/{p-c2218965.system.entry.js → p-82d85c3a.system.entry.js} +1 -1
- package/dist/stzh-components/{p-adaf8b15.entry.js → p-8462ba57.entry.js} +1 -1
- package/dist/stzh-components/{p-a42a7524.entry.js → p-86d3ce62.entry.js} +1 -1
- package/dist/stzh-components/{p-1f3e6fad.system.entry.js → p-88a4f756.system.entry.js} +1 -1
- package/dist/stzh-components/{p-d7b5770c.entry.js → p-88bef2cd.entry.js} +1 -1
- package/dist/stzh-components/{p-a8c3af68.system.entry.js → p-8db4279d.system.entry.js} +1 -1
- package/dist/stzh-components/{p-0c2b5907.js → p-9111e257.js} +0 -0
- package/dist/stzh-components/{p-d2f660e1.system.js → p-9c0494a6.system.js} +0 -0
- package/dist/stzh-components/{p-b24040ff.system.entry.js → p-9e6c25ed.system.entry.js} +1 -1
- package/dist/stzh-components/{p-582cf0f1.system.js → p-a408bfba.system.js} +0 -0
- package/dist/stzh-components/{p-c3ac1bdc.system.entry.js → p-a4100bd8.system.entry.js} +1 -1
- package/dist/stzh-components/{p-efd78d08.system.entry.js → p-a6486f64.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b56c83a4.entry.js → p-a7c3b41a.entry.js} +1 -1
- package/dist/stzh-components/{p-e00139a1.entry.js → p-a86c6487.entry.js} +1 -1
- package/dist/stzh-components/{p-e3769e97.system.js → p-aa4e28cc.system.js} +1 -1
- package/dist/stzh-components/p-ac1da083.system.js +1 -0
- package/dist/stzh-components/{p-17258518.entry.js → p-b3b5ee7e.entry.js} +1 -1
- package/dist/stzh-components/{p-87140179.system.entry.js → p-b63d6ded.system.entry.js} +1 -1
- package/dist/stzh-components/{p-63bf05f1.system.entry.js → p-bba52769.system.entry.js} +1 -1
- package/dist/stzh-components/{p-9be4e960.entry.js → p-bcade28e.entry.js} +1 -1
- package/dist/stzh-components/p-be21cebd.js +1 -0
- package/dist/stzh-components/{p-67eac0a0.entry.js → p-c2d58384.entry.js} +1 -1
- package/dist/stzh-components/{p-f0422b6c.entry.js → p-c6ad1a8c.entry.js} +1 -1
- package/dist/stzh-components/{p-649621fc.js → p-c8bcceac.js} +0 -0
- package/dist/stzh-components/{p-1e2ee622.system.entry.js → p-cb4a91b7.system.entry.js} +1 -1
- package/dist/stzh-components/{p-ffa293cf.entry.js → p-cf162e67.entry.js} +1 -1
- package/dist/stzh-components/{p-a7454367.js → p-cf6003d6.js} +0 -0
- package/dist/stzh-components/{p-d1821750.system.entry.js → p-d04e8743.system.entry.js} +1 -1
- package/dist/stzh-components/{p-0e9e4c68.entry.js → p-debb00e6.entry.js} +1 -1
- package/dist/stzh-components/{p-e69a66bb.js → p-df2bb358.js} +0 -0
- package/dist/stzh-components/{p-3da37219.entry.js → p-e048de42.entry.js} +1 -1
- package/dist/stzh-components/{p-a5b616bb.system.entry.js → p-e2ce48f1.system.entry.js} +1 -1
- package/dist/stzh-components/{p-22fba26d.entry.js → p-e58d3bc7.entry.js} +1 -1
- package/dist/stzh-components/{p-08cc711a.system.entry.js → p-e972a44f.system.entry.js} +1 -1
- package/dist/stzh-components/{p-6d23fb4d.system.entry.js → p-e987954a.system.entry.js} +1 -1
- package/dist/stzh-components/{p-648695c2.js → p-ee7a68db.js} +0 -0
- package/dist/stzh-components/p-ef5d4167.js +1 -1
- package/dist/stzh-components/{p-b3b05b6c.entry.js → p-f544cf3d.entry.js} +1 -1
- package/dist/stzh-components/{p-a7785d9b.system.js → p-f58c28ad.system.js} +0 -0
- package/dist/stzh-components/{p-c51a61cb.system.entry.js → p-f8d9411d.system.entry.js} +1 -1
- package/dist/stzh-components/{p-4e9e606f.entry.js → p-f9dc7a9b.entry.js} +1 -1
- package/dist/stzh-components/{p-ab864a8a.system.entry.js → p-fc9c4fc3.system.entry.js} +1 -1
- package/dist/stzh-components/{p-75f1b800.entry.js → p-ff8a3e96.entry.js} +1 -1
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/stzh-components/stzh-components.js +1 -1
- package/dist/types/components/stzh-appointments/stzh-appointments.localization.d.ts +11 -11
- package/dist/types/components/stzh-badge/stzh-badge.d.ts +8 -8
- package/dist/types/components/stzh-calendar/stzh-calendar-day.d.ts +14 -14
- package/dist/types/components/stzh-calendar/stzh-calendar-month.d.ts +21 -21
- package/dist/types/components/stzh-calendar/stzh-calendar.localization.d.ts +7 -7
- package/dist/types/components/stzh-cell/stzh-cell.d.ts +21 -21
- package/dist/types/components/stzh-container/stzh-container.d.ts +6 -6
- package/dist/types/components/stzh-cspace/stzh-cspace.d.ts +6 -6
- package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.localization.d.ts +4 -4
- package/dist/types/components/stzh-datatable/stzh-datatable.localization.d.ts +4 -4
- package/dist/types/components/stzh-datepicker/stzh-datepicker.localization.d.ts +5 -5
- package/dist/types/components/stzh-dialog/stzh-dialog.localization.d.ts +4 -4
- package/dist/types/components/stzh-dropdown/stzh-dropdown.localization.d.ts +7 -7
- package/dist/types/components/stzh-fieldset/stzh-fieldset.d.ts +15 -15
- package/dist/types/components/stzh-footer/stzh-footer.localization.d.ts +9 -9
- package/dist/types/components/stzh-ghettobox/stzh-ghettobox.localization.d.ts +5 -5
- package/dist/types/components/stzh-heading/stzh-heading.d.ts +13 -13
- package/dist/types/components/stzh-hspace/stzh-hspace.d.ts +25 -25
- package/dist/types/components/stzh-icon/stzh-icon.d.ts +15 -15
- package/dist/types/components/stzh-icon-sprite/stzh-icon-sprite.d.ts +3 -3
- package/dist/types/components/stzh-input/stzh-input-description.d.ts +11 -11
- package/dist/types/components/stzh-menu/stzh-menu.d.ts +6 -6
- package/dist/types/components/stzh-message/stzh-message.localization.d.ts +4 -4
- package/dist/types/components/stzh-popover/stzh-popover.localization.d.ts +4 -4
- package/dist/types/components/stzh-portal-mitwirken/stzh-portal-mitwirken.d.ts +8 -8
- package/dist/types/components/stzh-progressbar-item/stzh-progressbar-item.d.ts +22 -22
- package/dist/types/components/stzh-row/stzh-row.d.ts +23 -23
- package/dist/types/components/stzh-saptcha/stzh-saptcha.localization.d.ts +7 -7
- package/dist/types/components/stzh-section/stzh-section.d.ts +8 -8
- package/dist/types/components/stzh-servicecard/stzh-servicecard.localization.d.ts +8 -8
- package/dist/types/components/stzh-servicecard-list/stzh-servicecard-list.localization.d.ts +5 -5
- package/dist/types/components/stzh-skiplink/stzh-skiplink.d.ts +16 -16
- package/dist/types/components/stzh-sortable/stzh-sortable.localization.d.ts +8 -8
- package/dist/types/components/stzh-text/stzh-text.d.ts +23 -23
- package/dist/types/components/stzh-tooltip/stzh-tooltip.localization.d.ts +4 -4
- package/dist/types/components/stzh-upload/stzh-upload.localization.d.ts +16 -16
- package/dist/types/components/stzh-vbz-majorticker/stzh-vbz-majorticker.localization.d.ts +4 -4
- package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.d.ts +15 -15
- package/dist/types/components/stzh-visuallyhidden/stzh-visuallyhidden.d.ts +6 -6
- package/dist/types/components/stzh-vspace/stzh-vspace.d.ts +25 -25
- package/dist/types/index.d.ts +427 -427
- package/dist/types/utils/animation-utils.d.ts +10 -10
- package/dist/types/utils/date-adapter.d.ts +8 -8
- package/dist/types/utils/date-utils.d.ts +61 -61
- package/dist/types/utils/event-utils.d.ts +1 -1
- package/dist/types/utils/h.d.ts +18 -18
- package/dist/types/utils/media-utils.d.ts +3 -3
- package/dist/types/utils/string-utils.d.ts +2 -2
- package/dist/types/utils/test-utils.d.ts +9 -9
- package/dist/types/utils/translation-utils.d.ts +40 -40
- package/dist/types/utils/utils.d.ts +3 -3
- package/dist/vscode-data.json +64 -60
- package/package.json +1 -1
- package/dist/esm-es5/app-globals-137e106c.js +0 -1
- package/dist/stzh-components/p-4476344d.js +0 -1
- package/dist/stzh-components/p-5977373f.system.js +0 -1
- package/dist/stzh-components/p-91e9ccfa.entry.js +0 -1
- package/dist/types/components/stzh-accordion/stzh-accordion.d.ts +0 -15
- package/dist/types/components/stzh-accordion-item/stzh-accordion-item.d.ts +0 -44
- package/dist/types/components/stzh-actions/stzh-actions.d.ts +0 -16
- package/dist/types/components/stzh-appnav/stzh-appnav.d.ts +0 -17
- package/dist/types/components/stzh-appointments/stzh-appointments.d.ts +0 -73
- package/dist/types/components/stzh-button/stzh-button.d.ts +0 -59
- package/dist/types/components/stzh-calendar/stzh-calendar.d.ts +0 -76
- package/dist/types/components/stzh-checkbox/stzh-checkbox.d.ts +0 -55
- package/dist/types/components/stzh-checkboxgroup/stzh-checkboxgroup.d.ts +0 -62
- package/dist/types/components/stzh-chip/stzh-chip.d.ts +0 -47
- package/dist/types/components/stzh-chip-select/stzh-chip-select.d.ts +0 -23
- package/dist/types/components/stzh-datamessagelist/stzh-datamessagelist.d.ts +0 -6
- package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.d.ts +0 -44
- package/dist/types/components/stzh-datatable/stzh-datatable.d.ts +0 -49
- package/dist/types/components/stzh-datepicker/stzh-datepicker.d.ts +0 -93
- package/dist/types/components/stzh-dialog/stzh-dialog.d.ts +0 -59
- package/dist/types/components/stzh-dropdown/stzh-dropdown.d.ts +0 -150
- package/dist/types/components/stzh-figure/stzh-figure.d.ts +0 -13
- package/dist/types/components/stzh-flyingfocus/stzh-flyingfocus.d.ts +0 -39
- package/dist/types/components/stzh-footer/stzh-footer.d.ts +0 -21
- package/dist/types/components/stzh-ghettobox/stzh-ghettobox.d.ts +0 -49
- package/dist/types/components/stzh-header/stzh-header.d.ts +0 -57
- package/dist/types/components/stzh-hr/stzh-hr.d.ts +0 -7
- package/dist/types/components/stzh-input/stzh-input.d.ts +0 -95
- package/dist/types/components/stzh-link/stzh-link.d.ts +0 -50
- package/dist/types/components/stzh-list/stzh-list.d.ts +0 -9
- package/dist/types/components/stzh-list-item/stzh-list-item.d.ts +0 -7
- package/dist/types/components/stzh-loader/stzh-loader.d.ts +0 -13
- package/dist/types/components/stzh-loadingbar/stzh-loadingbar.d.ts +0 -12
- package/dist/types/components/stzh-menu-item/stzh-menu-item.d.ts +0 -35
- package/dist/types/components/stzh-message/stzh-message.d.ts +0 -36
- package/dist/types/components/stzh-metanav/stzh-metanav.d.ts +0 -11
- package/dist/types/components/stzh-overlay/stzh-overlay.d.ts +0 -34
- package/dist/types/components/stzh-page-skiplinks/stzh-page-skiplinks.d.ts +0 -11
- package/dist/types/components/stzh-pagetitle/stzh-pagetitle.d.ts +0 -11
- package/dist/types/components/stzh-popover/stzh-popover.d.ts +0 -73
- package/dist/types/components/stzh-progressbar/stzh-progressbar.d.ts +0 -42
- package/dist/types/components/stzh-radio/stzh-radio.d.ts +0 -55
- package/dist/types/components/stzh-radiogroup/stzh-radiogroup.d.ts +0 -64
- package/dist/types/components/stzh-readspeaker/stzh-readspeaker.d.ts +0 -18
- package/dist/types/components/stzh-richtext/stzh-richtext.d.ts +0 -14
- package/dist/types/components/stzh-saptcha/stzh-saptcha.d.ts +0 -28
- package/dist/types/components/stzh-servicecard/stzh-servicecard.d.ts +0 -72
- package/dist/types/components/stzh-servicecard-list/stzh-servicecard-list.d.ts +0 -23
- package/dist/types/components/stzh-sortable/stzh-sortable.d.ts +0 -52
- package/dist/types/components/stzh-status/stzh-status.d.ts +0 -14
- package/dist/types/components/stzh-table/stzh-table.d.ts +0 -33
- package/dist/types/components/stzh-toggle/stzh-toggle.d.ts +0 -57
- package/dist/types/components/stzh-tooltip/stzh-tooltip.d.ts +0 -78
- package/dist/types/components/stzh-upload/stzh-upload.d.ts +0 -207
- package/dist/types/components/stzh-vbz-linechip/stzh-vbz-linechip.d.ts +0 -27
- package/dist/types/components/stzh-vbz-majorticker/stzh-vbz-majorticker.d.ts +0 -34
- package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.d.ts +0 -54
- package/dist/types/types/svg.d.ts +0 -4
|
@@ -1,1436 +1,1436 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
import { hasSlot } from "../../utils/utils";
|
|
3
|
-
import { fetchTranslations } from "../../utils/translation-utils";
|
|
4
|
-
import { StzhInputDescription } from "../stzh-input/stzh-input-description";
|
|
5
|
-
import TomSelect from "tom-select/dist/js/tom-select.base.js";
|
|
6
|
-
import TomSelectRemoveButton from "tom-select/dist/js/plugins/remove_button.js";
|
|
7
|
-
import TomSelectCheckboxOptions from "tom-select/dist/js/plugins/checkbox_options.js";
|
|
8
|
-
import TomSelectInputAutogrow from "tom-select/dist/js/plugins/input_autogrow.js";
|
|
9
|
-
import TomSelectNoBackspaceDelete from "tom-select/dist/js/plugins/no_backspace_delete.js";
|
|
10
|
-
const TomSelectInputHide = function (_plugin_options) {
|
|
11
|
-
// const self = this;
|
|
12
|
-
// self.on("initialize", () => {
|
|
13
|
-
// const input = self.control_input as HTMLInputElement;
|
|
14
|
-
// if (input) input.disabled = true;
|
|
15
|
-
// })
|
|
16
|
-
};
|
|
17
|
-
const CLASS_FILLED = "stzh-dropdown--is-filled";
|
|
18
|
-
const CLASS_FOCUS = "stzh-dropdown--has-focus";
|
|
19
|
-
TomSelect.define("remove_button", TomSelectRemoveButton);
|
|
20
|
-
TomSelect.define("checkbox_options", TomSelectCheckboxOptions);
|
|
21
|
-
TomSelect.define("input_autogrow", TomSelectInputAutogrow);
|
|
22
|
-
TomSelect.define("no_backspace_delete", TomSelectNoBackspaceDelete);
|
|
23
|
-
TomSelect.define("input_hide", TomSelectInputHide);
|
|
24
|
-
let dropdownCounter = 0;
|
|
25
|
-
/**
|
|
26
|
-
* @slot label - Slot for label content
|
|
27
|
-
* @slot description - Slot for description
|
|
28
|
-
* @slot description-long - Slot for long description (in popover)
|
|
29
|
-
* @slot error - Slot for error
|
|
30
|
-
*/
|
|
31
|
-
export class StzhDropdown {
|
|
32
|
-
constructor() {
|
|
33
|
-
/**
|
|
34
|
-
* An array of property names to analyze when filtering options.
|
|
35
|
-
* Weights can be given to each field to improve search result:
|
|
36
|
-
* `[{"field":"text","weight":2},{"field":"text2","weight":0.5}]`
|
|
37
|
-
*/
|
|
38
|
-
this.searchField = ["text"];
|
|
39
|
-
/** Whether multiple items option can be selected */
|
|
40
|
-
this.multiple = false;
|
|
41
|
-
/** Show inline (auto width) */
|
|
42
|
-
this.inline = false;
|
|
43
|
-
/** The max number of options to display in the dropdown. Set to `null` for an unlimited number of options. */
|
|
44
|
-
this.maxOptions = 50;
|
|
45
|
-
/** When searching for multiple terms (separated by space), this is the operator used. Can be 'and' or 'or' */
|
|
46
|
-
this.searchConjunction = "and";
|
|
47
|
-
/** 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. */
|
|
48
|
-
this.allowEmptyOption = false;
|
|
49
|
-
/** Show the dropdown immediately when the control receives focus. */
|
|
50
|
-
this.openOnFocus = true;
|
|
51
|
-
/** 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. */
|
|
52
|
-
this.closeAfterSelect = null;
|
|
53
|
-
/** 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). */
|
|
54
|
-
this.load = null;
|
|
55
|
-
/** Minimum of characters required to execute the `load` function */
|
|
56
|
-
this.minCharacters = 3;
|
|
57
|
-
/** 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. */
|
|
58
|
-
this.loadThrottle = 300;
|
|
59
|
-
/** 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. */
|
|
60
|
-
this.preload = false;
|
|
61
|
-
/** The name of the property to render as an option / item label (not needed when custom rendering functions are defined). */
|
|
62
|
-
this.labelField = "text";
|
|
63
|
-
/** The name of the property to use as the value when an item is selected. */
|
|
64
|
-
this.valueField = "value";
|
|
65
|
-
/** The name of the property to group items by. */
|
|
66
|
-
this.optgroupField = "optgroup";
|
|
67
|
-
/** The name of the property to render as an option group label (not needed when custom rendering functions are defined). */
|
|
68
|
-
this.optgroupLabelField = "label";
|
|
69
|
-
/** The name of the option group property that serves as its unique identifier. */
|
|
70
|
-
this.optgroupValueField = "value";
|
|
71
|
-
/** Name of hidden select element */
|
|
72
|
-
this.name = "";
|
|
73
|
-
/** Variant */
|
|
74
|
-
this.variant = "default";
|
|
75
|
-
/** Size variant */
|
|
76
|
-
this.size = "default";
|
|
77
|
-
/** Whether the dropdown is disabled */
|
|
78
|
-
this.disabled = false;
|
|
79
|
-
/** Popover placement */
|
|
80
|
-
this.popoverPlacement = "bottom";
|
|
81
|
-
/** Label */
|
|
82
|
-
this.label = "";
|
|
83
|
-
/** Icon (use instead of icon slot) */
|
|
84
|
-
this.icon = "";
|
|
85
|
-
/** Prevent option search */
|
|
86
|
-
this.noSearch = false;
|
|
87
|
-
/** Prevent backspace delete */
|
|
88
|
-
this.noBackspaceDelete = false;
|
|
89
|
-
/** Invalid status */
|
|
90
|
-
this.invalid = false;
|
|
91
|
-
/** Required status */
|
|
92
|
-
this.required = false;
|
|
93
|
-
/** Show text in label depending if field is optional/required */
|
|
94
|
-
this.showMarker = false;
|
|
95
|
-
/** Id for element which describes the input (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */
|
|
96
|
-
this.a11yDescribedby = "";
|
|
97
|
-
}
|
|
98
|
-
optionsWatcher(newValue) {
|
|
99
|
-
if (typeof newValue === "string") {
|
|
100
|
-
this._options = JSON.parse(newValue);
|
|
101
|
-
}
|
|
102
|
-
else {
|
|
103
|
-
this._options = newValue;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
itemsWatcher(newValue) {
|
|
107
|
-
if (typeof newValue === "string") {
|
|
108
|
-
this._items = JSON.parse(newValue);
|
|
109
|
-
}
|
|
110
|
-
else {
|
|
111
|
-
this._items = newValue;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
searchFieldWatcher(newValue) {
|
|
115
|
-
if (typeof newValue === "string") {
|
|
116
|
-
this._searchField = JSON.parse(newValue);
|
|
117
|
-
}
|
|
118
|
-
else {
|
|
119
|
-
this._searchField = newValue;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
optgroupsWatcher(newValue) {
|
|
123
|
-
if (typeof newValue === "string") {
|
|
124
|
-
this._optgroups = JSON.parse(newValue);
|
|
125
|
-
}
|
|
126
|
-
else {
|
|
127
|
-
this._optgroups = newValue;
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
errorWatcher(newValue) {
|
|
131
|
-
if (typeof newValue === "string") {
|
|
132
|
-
try {
|
|
133
|
-
this._error = JSON.parse(newValue);
|
|
134
|
-
}
|
|
135
|
-
catch (e) {
|
|
136
|
-
if (newValue) {
|
|
137
|
-
this._error = [newValue];
|
|
138
|
-
}
|
|
139
|
-
else {
|
|
140
|
-
this._error = [];
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
else if (newValue) {
|
|
145
|
-
this._error = newValue;
|
|
146
|
-
}
|
|
147
|
-
else {
|
|
148
|
-
this._error = [];
|
|
149
|
-
}
|
|
150
|
-
this.invalid = this._error.length > 0;
|
|
151
|
-
}
|
|
152
|
-
/**
|
|
153
|
-
* Returns the value of the control.
|
|
154
|
-
* If multiple items can be selected,
|
|
155
|
-
* this returns an array, otherwise a string.
|
|
156
|
-
*/
|
|
157
|
-
async getValue() {
|
|
158
|
-
return this.tomSelect.getValue();
|
|
159
|
-
}
|
|
160
|
-
/** Set new value */
|
|
161
|
-
async setValue(newValue) {
|
|
162
|
-
this.tomSelect.setValue(newValue);
|
|
163
|
-
}
|
|
164
|
-
/** Focus select */
|
|
165
|
-
async setFocus() {
|
|
166
|
-
this.tomSelect.focus();
|
|
167
|
-
}
|
|
168
|
-
updateFilled() {
|
|
169
|
-
if (this._items.length > 0) {
|
|
170
|
-
this.rootElement.classList.add(CLASS_FILLED);
|
|
171
|
-
}
|
|
172
|
-
else {
|
|
173
|
-
this.rootElement.classList.remove(CLASS_FILLED);
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
async componentWillLoad() {
|
|
177
|
-
this.dropdownId = `stzh-dropdown-${dropdownCounter++}`;
|
|
178
|
-
this.optionsWatcher(this.options);
|
|
179
|
-
this.optgroupsWatcher(this.optgroups);
|
|
180
|
-
this.itemsWatcher(this.items);
|
|
181
|
-
this.searchFieldWatcher(this.searchField);
|
|
182
|
-
this.errorWatcher(this.error);
|
|
183
|
-
if (!this.localization) {
|
|
184
|
-
this.localization = await fetchTranslations(this.element, 'dropdown');
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
async componentWillUpdate() {
|
|
188
|
-
if (this.tomSelect) {
|
|
189
|
-
this.tomSelect.destroy();
|
|
190
|
-
this.tomSelect = null;
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
async componentDidRender() {
|
|
194
|
-
if (this.tomSelect) {
|
|
195
|
-
return;
|
|
196
|
-
}
|
|
197
|
-
const plugins = {};
|
|
198
|
-
if (this.noSearch) {
|
|
199
|
-
plugins["input_hide"] = {};
|
|
200
|
-
}
|
|
201
|
-
else {
|
|
202
|
-
plugins["input_autogrow"] = {};
|
|
203
|
-
}
|
|
204
|
-
if (this.noBackspaceDelete) {
|
|
205
|
-
plugins["no_backspace_delete"] = {};
|
|
206
|
-
}
|
|
207
|
-
if (this.multiple) {
|
|
208
|
-
plugins["checkbox_options"] = {};
|
|
209
|
-
plugins["remove_button"] = {
|
|
210
|
-
title: this.localization.removeButtonTitle,
|
|
211
|
-
label: '<stzh-icon name="close" class="stzh-dropdown__remove-icon"></stzh-icon>'
|
|
212
|
-
};
|
|
213
|
-
}
|
|
214
|
-
const tomSelectOptions = {
|
|
215
|
-
plugins,
|
|
216
|
-
maxItems: this.multiple ? null : 1,
|
|
217
|
-
maxOptions: this.maxOptions,
|
|
218
|
-
items: this._items,
|
|
219
|
-
optgroups: this._optgroups,
|
|
220
|
-
searchField: this._searchField,
|
|
221
|
-
searchConjunction: this.searchConjunction,
|
|
222
|
-
allowEmptyOption: this.allowEmptyOption,
|
|
223
|
-
closeAfterSelect: this.closeAfterSelect !== null
|
|
224
|
-
? this.closeAfterSelect
|
|
225
|
-
: !this.multiple,
|
|
226
|
-
labelField: this.labelField,
|
|
227
|
-
valueField: this.valueField,
|
|
228
|
-
optgroupField: this.optgroupField,
|
|
229
|
-
optgroupLabelField: this.optgroupLabelField,
|
|
230
|
-
optgroupValueField: this.optgroupValueField,
|
|
231
|
-
lockOptgroupOrder: this.lockOptgroupOrder,
|
|
232
|
-
load: this.load,
|
|
233
|
-
shouldLoad: (query) => {
|
|
234
|
-
return query.length >= this.minCharacters;
|
|
235
|
-
},
|
|
236
|
-
loadThrottle: this.loadThrottle,
|
|
237
|
-
preload: this.preload,
|
|
238
|
-
openOnFocus: this.openOnFocus,
|
|
239
|
-
loadingClass: "is-loading",
|
|
240
|
-
hideSelected: false,
|
|
241
|
-
duplicates: false,
|
|
242
|
-
delimiter: ",",
|
|
243
|
-
copyClassesToDropdown: false,
|
|
244
|
-
placeholder: this.placeholder,
|
|
245
|
-
hidePlaceholder: null,
|
|
246
|
-
// if you want the user to be able to add own items enable this option
|
|
247
|
-
// (but checkbox_options plugin throws an error and would need a fix first)
|
|
248
|
-
// create: true,
|
|
249
|
-
// createOnBlur: false,
|
|
250
|
-
// createFilter: null,
|
|
251
|
-
// persist: false,
|
|
252
|
-
render: {
|
|
253
|
-
option: (data, escape) => {
|
|
254
|
-
return `
|
|
255
|
-
<div class="stzh-dropdown__option" title="${escape(data[this.labelField])}">
|
|
256
|
-
<stzh-icon name="checkmark" class="stzh-dropdown__option-check"></stzh-icon>
|
|
257
|
-
<span class="stzh-dropdown__option-title">
|
|
258
|
-
${escape(data[this.labelField])}
|
|
259
|
-
</span>
|
|
260
|
-
</div>
|
|
261
|
-
`;
|
|
262
|
-
},
|
|
263
|
-
item: (data, escape) => {
|
|
264
|
-
return `
|
|
265
|
-
<div class="stzh-dropdown__item">
|
|
266
|
-
${escape(data[this.labelField])}
|
|
267
|
-
</div>
|
|
268
|
-
`;
|
|
269
|
-
},
|
|
270
|
-
option_create: (data, escape) => {
|
|
271
|
-
return `
|
|
272
|
-
<div class="stzh-dropdown__create">
|
|
273
|
-
${this.localization.create.replace(/{x}/gi, escape(data.input))}…
|
|
274
|
-
</div>
|
|
275
|
-
`;
|
|
276
|
-
},
|
|
277
|
-
no_results: (data, escape) => {
|
|
278
|
-
return `
|
|
279
|
-
<div class="stzh-dropdown__no-results">
|
|
280
|
-
${this.localization.noResults.replace(/{x}/gi, escape(data.input))}
|
|
281
|
-
</div>`;
|
|
282
|
-
},
|
|
283
|
-
not_loading: this.load === null ? null : (_data, escape) => {
|
|
284
|
-
return `
|
|
285
|
-
<div class="stzh-dropdown__not-loading">
|
|
286
|
-
${this.localization.notLoading.replace(/{x}/gi, escape(this.minCharacters.toString()))}
|
|
287
|
-
</div>
|
|
288
|
-
`;
|
|
289
|
-
},
|
|
290
|
-
optgroup: (data) => {
|
|
291
|
-
let optgroup = document.createElement("div");
|
|
292
|
-
optgroup.className = "stzh-dropdown__optgroup";
|
|
293
|
-
optgroup.appendChild(data.options);
|
|
294
|
-
return optgroup;
|
|
295
|
-
},
|
|
296
|
-
optgroup_header: (data, escape) => {
|
|
297
|
-
return `
|
|
298
|
-
<div class="stzh-dropdown__optgroup-header">
|
|
299
|
-
${escape(data.label)}
|
|
300
|
-
</div>
|
|
301
|
-
`;
|
|
302
|
-
},
|
|
303
|
-
loading: () => {
|
|
304
|
-
return `
|
|
305
|
-
<div class="stzh-dropdown__loader">
|
|
306
|
-
<stzh-loader></stzh-loader>
|
|
307
|
-
</div>
|
|
308
|
-
`;
|
|
309
|
-
},
|
|
310
|
-
dropdown: () => {
|
|
311
|
-
return `<div class="stzh-dropdown__dropdown"></div>`;
|
|
312
|
-
}
|
|
313
|
-
},
|
|
314
|
-
onChange: (value) => {
|
|
315
|
-
this._items = this.tomSelect.items;
|
|
316
|
-
this.updateFilled();
|
|
317
|
-
this.stzhChange.emit({
|
|
318
|
-
component: "stzh-dropdown",
|
|
319
|
-
value
|
|
320
|
-
});
|
|
321
|
-
},
|
|
322
|
-
onItemAdd: (value) => {
|
|
323
|
-
this._items = this.tomSelect.items;
|
|
324
|
-
this.stzhItemAdd.emit({
|
|
325
|
-
component: "stzh-dropdown",
|
|
326
|
-
value
|
|
327
|
-
});
|
|
328
|
-
},
|
|
329
|
-
onItemRemove: (value) => {
|
|
330
|
-
this._items = this.tomSelect.items;
|
|
331
|
-
this.stzhItemRemove.emit({
|
|
332
|
-
component: "stzh-dropdown",
|
|
333
|
-
value
|
|
334
|
-
});
|
|
335
|
-
},
|
|
336
|
-
onOptionAdd: (value) => {
|
|
337
|
-
this._options = this.tomSelect.options;
|
|
338
|
-
this.updateFilled();
|
|
339
|
-
this.stzhOptionAdd.emit({
|
|
340
|
-
component: "stzh-dropdown",
|
|
341
|
-
value
|
|
342
|
-
});
|
|
343
|
-
},
|
|
344
|
-
onOptionRemove: (value) => {
|
|
345
|
-
this._options = this.tomSelect.options;
|
|
346
|
-
this.updateFilled();
|
|
347
|
-
this.stzhOptionRemove.emit({
|
|
348
|
-
component: "stzh-dropdown",
|
|
349
|
-
value
|
|
350
|
-
});
|
|
351
|
-
},
|
|
352
|
-
onDropdownOpen: () => {
|
|
353
|
-
this.stzhOpen.emit({
|
|
354
|
-
component: "stzh-dropdown"
|
|
355
|
-
});
|
|
356
|
-
},
|
|
357
|
-
onDropdownClose: () => {
|
|
358
|
-
this.stzhClose.emit({
|
|
359
|
-
component: "stzh-dropdown"
|
|
360
|
-
});
|
|
361
|
-
},
|
|
362
|
-
onFocus: () => {
|
|
363
|
-
this.rootElement.classList.add(CLASS_FOCUS);
|
|
364
|
-
const focusEvent = new FocusEvent('focus', {
|
|
365
|
-
view: window,
|
|
366
|
-
bubbles: false,
|
|
367
|
-
cancelable: false
|
|
368
|
-
});
|
|
369
|
-
this.element.dispatchEvent(focusEvent);
|
|
370
|
-
this.stzhFocus.emit({
|
|
371
|
-
component: "stzh-dropdown"
|
|
372
|
-
});
|
|
373
|
-
},
|
|
374
|
-
onBlur: () => {
|
|
375
|
-
this.rootElement.classList.remove(CLASS_FOCUS);
|
|
376
|
-
const blurEvent = new FocusEvent('blur', {
|
|
377
|
-
view: window,
|
|
378
|
-
bubbles: false,
|
|
379
|
-
cancelable: false
|
|
380
|
-
});
|
|
381
|
-
this.element.dispatchEvent(blurEvent);
|
|
382
|
-
this.stzhBlur.emit({
|
|
383
|
-
component: "stzh-dropdown"
|
|
384
|
-
});
|
|
385
|
-
},
|
|
386
|
-
onInitialize: () => {
|
|
387
|
-
this.stzhInit.emit({
|
|
388
|
-
component: "stzh-dropdown"
|
|
389
|
-
});
|
|
390
|
-
},
|
|
391
|
-
};
|
|
392
|
-
if (this._options) {
|
|
393
|
-
tomSelectOptions.options = this._options;
|
|
394
|
-
}
|
|
395
|
-
if (this._optgroups) {
|
|
396
|
-
tomSelectOptions.optgroups = this._optgroups;
|
|
397
|
-
}
|
|
398
|
-
if (this._items) {
|
|
399
|
-
tomSelectOptions.items = this._items;
|
|
400
|
-
}
|
|
401
|
-
this.tomSelect = new TomSelect(this.select, tomSelectOptions);
|
|
402
|
-
}
|
|
403
|
-
disconnectedCallback() {
|
|
404
|
-
if (this.tomSelect) {
|
|
405
|
-
this.tomSelect.destroy();
|
|
406
|
-
this.tomSelect = null;
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
render() {
|
|
410
|
-
var _a;
|
|
411
|
-
const iconUsed = hasSlot(this.element, 'icon') || !!this.icon;
|
|
412
|
-
const descriptionUsed = hasSlot(this.element, 'description') || !!this.description;
|
|
413
|
-
const descriptionLongUsed = hasSlot(this.element, 'description-long') || !!this.descriptionLong;
|
|
414
|
-
const errorUsed = hasSlot(this.element, 'error') || !!this.error;
|
|
415
|
-
const classes = {
|
|
416
|
-
"stzh-dropdown": true,
|
|
417
|
-
"stzh-dropdown--is-inline": this.inline,
|
|
418
|
-
"stzh-dropdown--is-multiple": this.multiple,
|
|
419
|
-
"stzh-dropdown--is-disabled": this.disabled,
|
|
420
|
-
"stzh-dropdown--is-required": this.required,
|
|
421
|
-
"stzh-dropdown--is-invalid": this.invalid,
|
|
422
|
-
[CLASS_FILLED]: this._items && this._items.length > 0,
|
|
423
|
-
"stzh-dropdown--has-icon": iconUsed,
|
|
424
|
-
"stzh-dropdown--has-description": descriptionUsed,
|
|
425
|
-
"stzh-dropdown--has-description-long": descriptionLongUsed,
|
|
426
|
-
"stzh-dropdown--has-error": errorUsed,
|
|
427
|
-
"stzh-dropdown--has-placeholder": !!this.placeholder,
|
|
428
|
-
"stzh-dropdown--has-fixed-label": ((_a = window === null || window === void 0 ? void 0 : window.stzhComponents) === null || _a === void 0 ? void 0 : _a.labels) === "fixed",
|
|
429
|
-
[`stzh-dropdown--popover-placement-${this.popoverPlacement}`]: !!this.popoverPlacement,
|
|
430
|
-
[`stzh-dropdown--size-${this.size}`]: !!this.size,
|
|
431
|
-
[`stzh-dropdown--${this.variant}`]: !!this.variant
|
|
432
|
-
};
|
|
433
|
-
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 ?
|
|
434
|
-
h("stzh-icon", { class: "stzh-dropdown__icon", name: this.icon })
|
|
435
|
-
:
|
|
436
|
-
h("slot", { name: "icon" })), h("label", { class: "stzh-dropdown__label", htmlFor: this.dropdownId }, this.label ? this.label : h("slot", { name: "label" }), this.showMarker &&
|
|
437
|
-
h("span", { class: "stzh-dropdown__marker" }, h("span", { class: "stzh-dropdown__marker-symbol", "aria-hidden": "true" }, this.required
|
|
438
|
-
? this.localization.$globals.requiredFieldMarker
|
|
439
|
-
: this.localization.$globals.optionalFieldMarker), h("span", { class: "stzh-dropdown__marker-text" }, this.required
|
|
440
|
-
? this.localization.$globals.requiredFieldText
|
|
441
|
-
: 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 }))));
|
|
442
|
-
}
|
|
443
|
-
static get is() { return "stzh-dropdown"; }
|
|
444
|
-
static get originalStyleUrls() {
|
|
445
|
-
return {
|
|
446
|
-
"$": ["stzh-dropdown.scss"]
|
|
447
|
-
};
|
|
448
|
-
}
|
|
449
|
-
static get styleUrls() {
|
|
450
|
-
return {
|
|
451
|
-
"$": ["stzh-dropdown.css"]
|
|
452
|
-
};
|
|
453
|
-
}
|
|
454
|
-
static get properties() {
|
|
455
|
-
return {
|
|
456
|
-
"options": {
|
|
457
|
-
"type": "string",
|
|
458
|
-
"mutable": false,
|
|
459
|
-
"complexType": {
|
|
460
|
-
"original": "any[] | string",
|
|
461
|
-
"resolved": "any[] | string",
|
|
462
|
-
"references": {}
|
|
463
|
-
},
|
|
464
|
-
"required": false,
|
|
465
|
-
"optional": false,
|
|
466
|
-
"docs": {
|
|
467
|
-
"tags": [],
|
|
468
|
-
"text": "Available options"
|
|
469
|
-
},
|
|
470
|
-
"attribute": "options",
|
|
471
|
-
"reflect": false
|
|
472
|
-
},
|
|
473
|
-
"optgroups": {
|
|
474
|
-
"type": "string",
|
|
475
|
-
"mutable": false,
|
|
476
|
-
"complexType": {
|
|
477
|
-
"original": "any[] | string",
|
|
478
|
-
"resolved": "any[] | string",
|
|
479
|
-
"references": {}
|
|
480
|
-
},
|
|
481
|
-
"required": false,
|
|
482
|
-
"optional": false,
|
|
483
|
-
"docs": {
|
|
484
|
-
"tags": [],
|
|
485
|
-
"text": "Option groups that options will be bucketed into.\
|
|
486
|
-
},
|
|
487
|
-
"attribute": "optgroups",
|
|
488
|
-
"reflect": false
|
|
489
|
-
},
|
|
490
|
-
"items": {
|
|
491
|
-
"type": "string",
|
|
492
|
-
"mutable": false,
|
|
493
|
-
"complexType": {
|
|
494
|
-
"original": "string[] | string",
|
|
495
|
-
"resolved": "string | string[]",
|
|
496
|
-
"references": {}
|
|
497
|
-
},
|
|
498
|
-
"required": false,
|
|
499
|
-
"optional": false,
|
|
500
|
-
"docs": {
|
|
501
|
-
"tags": [],
|
|
502
|
-
"text": "Selected values"
|
|
503
|
-
},
|
|
504
|
-
"attribute": "items",
|
|
505
|
-
"reflect": false
|
|
506
|
-
},
|
|
507
|
-
"searchField": {
|
|
508
|
-
"type": "string",
|
|
509
|
-
"mutable": false,
|
|
510
|
-
"complexType": {
|
|
511
|
-
"original": "string[] | string",
|
|
512
|
-
"resolved": "string | string[]",
|
|
513
|
-
"references": {}
|
|
514
|
-
},
|
|
515
|
-
"required": false,
|
|
516
|
-
"optional": false,
|
|
517
|
-
"docs": {
|
|
518
|
-
"tags": [],
|
|
519
|
-
"text": "An array of property names to analyze when filtering options.\
|
|
520
|
-
},
|
|
521
|
-
"attribute": "search-field",
|
|
522
|
-
"reflect": false,
|
|
523
|
-
"defaultValue": "[\"text\"]"
|
|
524
|
-
},
|
|
525
|
-
"multiple": {
|
|
526
|
-
"type": "boolean",
|
|
527
|
-
"mutable": false,
|
|
528
|
-
"complexType": {
|
|
529
|
-
"original": "boolean",
|
|
530
|
-
"resolved": "boolean",
|
|
531
|
-
"references": {}
|
|
532
|
-
},
|
|
533
|
-
"required": false,
|
|
534
|
-
"optional": false,
|
|
535
|
-
"docs": {
|
|
536
|
-
"tags": [],
|
|
537
|
-
"text": "Whether multiple items option can be selected"
|
|
538
|
-
},
|
|
539
|
-
"attribute": "multiple",
|
|
540
|
-
"reflect": true,
|
|
541
|
-
"defaultValue": "false"
|
|
542
|
-
},
|
|
543
|
-
"inline": {
|
|
544
|
-
"type": "boolean",
|
|
545
|
-
"mutable": false,
|
|
546
|
-
"complexType": {
|
|
547
|
-
"original": "boolean",
|
|
548
|
-
"resolved": "boolean",
|
|
549
|
-
"references": {}
|
|
550
|
-
},
|
|
551
|
-
"required": false,
|
|
552
|
-
"optional": false,
|
|
553
|
-
"docs": {
|
|
554
|
-
"tags": [],
|
|
555
|
-
"text": "Show inline (auto width)"
|
|
556
|
-
},
|
|
557
|
-
"attribute": "inline",
|
|
558
|
-
"reflect": true,
|
|
559
|
-
"defaultValue": "false"
|
|
560
|
-
},
|
|
561
|
-
"maxOptions": {
|
|
562
|
-
"type": "number",
|
|
563
|
-
"mutable": false,
|
|
564
|
-
"complexType": {
|
|
565
|
-
"original": "number | null",
|
|
566
|
-
"resolved": "number",
|
|
567
|
-
"references": {}
|
|
568
|
-
},
|
|
569
|
-
"required": false,
|
|
570
|
-
"optional": false,
|
|
571
|
-
"docs": {
|
|
572
|
-
"tags": [],
|
|
573
|
-
"text": "The max number of options to display in the dropdown. Set to `null` for an unlimited number of options."
|
|
574
|
-
},
|
|
575
|
-
"attribute": "max-options",
|
|
576
|
-
"reflect": false,
|
|
577
|
-
"defaultValue": "50"
|
|
578
|
-
},
|
|
579
|
-
"searchConjunction": {
|
|
580
|
-
"type": "string",
|
|
581
|
-
"mutable": false,
|
|
582
|
-
"complexType": {
|
|
583
|
-
"original": "\"and\" | \"or\"",
|
|
584
|
-
"resolved": "\"and\" | \"or\"",
|
|
585
|
-
"references": {}
|
|
586
|
-
},
|
|
587
|
-
"required": false,
|
|
588
|
-
"optional": false,
|
|
589
|
-
"docs": {
|
|
590
|
-
"tags": [],
|
|
591
|
-
"text": "When searching for multiple terms (separated by space), this is the operator used. Can be 'and' or 'or'"
|
|
592
|
-
},
|
|
593
|
-
"attribute": "search-conjunction",
|
|
594
|
-
"reflect": false,
|
|
595
|
-
"defaultValue": "\"and\""
|
|
596
|
-
},
|
|
597
|
-
"allowEmptyOption": {
|
|
598
|
-
"type": "boolean",
|
|
599
|
-
"mutable": false,
|
|
600
|
-
"complexType": {
|
|
601
|
-
"original": "boolean",
|
|
602
|
-
"resolved": "boolean",
|
|
603
|
-
"references": {}
|
|
604
|
-
},
|
|
605
|
-
"required": false,
|
|
606
|
-
"optional": false,
|
|
607
|
-
"docs": {
|
|
608
|
-
"tags": [],
|
|
609
|
-
"text": "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."
|
|
610
|
-
},
|
|
611
|
-
"attribute": "allow-empty-option",
|
|
612
|
-
"reflect": false,
|
|
613
|
-
"defaultValue": "false"
|
|
614
|
-
},
|
|
615
|
-
"openOnFocus": {
|
|
616
|
-
"type": "boolean",
|
|
617
|
-
"mutable": false,
|
|
618
|
-
"complexType": {
|
|
619
|
-
"original": "boolean",
|
|
620
|
-
"resolved": "boolean",
|
|
621
|
-
"references": {}
|
|
622
|
-
},
|
|
623
|
-
"required": false,
|
|
624
|
-
"optional": false,
|
|
625
|
-
"docs": {
|
|
626
|
-
"tags": [],
|
|
627
|
-
"text": "Show the dropdown immediately when the control receives focus."
|
|
628
|
-
},
|
|
629
|
-
"attribute": "open-on-focus",
|
|
630
|
-
"reflect": false,
|
|
631
|
-
"defaultValue": "true"
|
|
632
|
-
},
|
|
633
|
-
"closeAfterSelect": {
|
|
634
|
-
"type": "boolean",
|
|
635
|
-
"mutable": false,
|
|
636
|
-
"complexType": {
|
|
637
|
-
"original": "boolean | null",
|
|
638
|
-
"resolved": "boolean",
|
|
639
|
-
"references": {}
|
|
640
|
-
},
|
|
641
|
-
"required": false,
|
|
642
|
-
"optional": false,
|
|
643
|
-
"docs": {
|
|
644
|
-
"tags": [],
|
|
645
|
-
"text": "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."
|
|
646
|
-
},
|
|
647
|
-
"attribute": "close-after-select",
|
|
648
|
-
"reflect": false,
|
|
649
|
-
"defaultValue": "null"
|
|
650
|
-
},
|
|
651
|
-
"load": {
|
|
652
|
-
"type": "unknown",
|
|
653
|
-
"mutable": false,
|
|
654
|
-
"complexType": {
|
|
655
|
-
"original": "(query: string, callback: Function) => any[] | null",
|
|
656
|
-
"resolved": "(query: string, callback: Function) => any[]",
|
|
657
|
-
"references": {
|
|
658
|
-
"Function": {
|
|
659
|
-
"location": "global"
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
},
|
|
663
|
-
"required": false,
|
|
664
|
-
"optional": false,
|
|
665
|
-
"docs": {
|
|
666
|
-
"tags": [],
|
|
667
|
-
"text": "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)."
|
|
668
|
-
},
|
|
669
|
-
"defaultValue": "null"
|
|
670
|
-
},
|
|
671
|
-
"minCharacters": {
|
|
672
|
-
"type": "number",
|
|
673
|
-
"mutable": false,
|
|
674
|
-
"complexType": {
|
|
675
|
-
"original": "number",
|
|
676
|
-
"resolved": "number",
|
|
677
|
-
"references": {}
|
|
678
|
-
},
|
|
679
|
-
"required": false,
|
|
680
|
-
"optional": false,
|
|
681
|
-
"docs": {
|
|
682
|
-
"tags": [],
|
|
683
|
-
"text": "Minimum of characters required to execute the `load` function"
|
|
684
|
-
},
|
|
685
|
-
"attribute": "min-characters",
|
|
686
|
-
"reflect": false,
|
|
687
|
-
"defaultValue": "3"
|
|
688
|
-
},
|
|
689
|
-
"loadThrottle": {
|
|
690
|
-
"type": "number",
|
|
691
|
-
"mutable": false,
|
|
692
|
-
"complexType": {
|
|
693
|
-
"original": "number",
|
|
694
|
-
"resolved": "number",
|
|
695
|
-
"references": {}
|
|
696
|
-
},
|
|
697
|
-
"required": false,
|
|
698
|
-
"optional": false,
|
|
699
|
-
"docs": {
|
|
700
|
-
"tags": [],
|
|
701
|
-
"text": "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."
|
|
702
|
-
},
|
|
703
|
-
"attribute": "load-throttle",
|
|
704
|
-
"reflect": false,
|
|
705
|
-
"defaultValue": "300"
|
|
706
|
-
},
|
|
707
|
-
"preload": {
|
|
708
|
-
"type": "any",
|
|
709
|
-
"mutable": false,
|
|
710
|
-
"complexType": {
|
|
711
|
-
"original": "boolean | \"focus\"",
|
|
712
|
-
"resolved": "\"focus\" | boolean",
|
|
713
|
-
"references": {}
|
|
714
|
-
},
|
|
715
|
-
"required": false,
|
|
716
|
-
"optional": false,
|
|
717
|
-
"docs": {
|
|
718
|
-
"tags": [],
|
|
719
|
-
"text": "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."
|
|
720
|
-
},
|
|
721
|
-
"attribute": "preload",
|
|
722
|
-
"reflect": false,
|
|
723
|
-
"defaultValue": "false"
|
|
724
|
-
},
|
|
725
|
-
"labelField": {
|
|
726
|
-
"type": "string",
|
|
727
|
-
"mutable": false,
|
|
728
|
-
"complexType": {
|
|
729
|
-
"original": "string",
|
|
730
|
-
"resolved": "string",
|
|
731
|
-
"references": {}
|
|
732
|
-
},
|
|
733
|
-
"required": false,
|
|
734
|
-
"optional": false,
|
|
735
|
-
"docs": {
|
|
736
|
-
"tags": [],
|
|
737
|
-
"text": "The name of the property to render as an option / item label (not needed when custom rendering functions are defined)."
|
|
738
|
-
},
|
|
739
|
-
"attribute": "label-field",
|
|
740
|
-
"reflect": false,
|
|
741
|
-
"defaultValue": "\"text\""
|
|
742
|
-
},
|
|
743
|
-
"valueField": {
|
|
744
|
-
"type": "string",
|
|
745
|
-
"mutable": false,
|
|
746
|
-
"complexType": {
|
|
747
|
-
"original": "string",
|
|
748
|
-
"resolved": "string",
|
|
749
|
-
"references": {}
|
|
750
|
-
},
|
|
751
|
-
"required": false,
|
|
752
|
-
"optional": false,
|
|
753
|
-
"docs": {
|
|
754
|
-
"tags": [],
|
|
755
|
-
"text": "The name of the property to use as the value when an item is selected."
|
|
756
|
-
},
|
|
757
|
-
"attribute": "value-field",
|
|
758
|
-
"reflect": false,
|
|
759
|
-
"defaultValue": "\"value\""
|
|
760
|
-
},
|
|
761
|
-
"optgroupField": {
|
|
762
|
-
"type": "string",
|
|
763
|
-
"mutable": false,
|
|
764
|
-
"complexType": {
|
|
765
|
-
"original": "string",
|
|
766
|
-
"resolved": "string",
|
|
767
|
-
"references": {}
|
|
768
|
-
},
|
|
769
|
-
"required": false,
|
|
770
|
-
"optional": false,
|
|
771
|
-
"docs": {
|
|
772
|
-
"tags": [],
|
|
773
|
-
"text": "The name of the property to group items by."
|
|
774
|
-
},
|
|
775
|
-
"attribute": "optgroup-field",
|
|
776
|
-
"reflect": false,
|
|
777
|
-
"defaultValue": "\"optgroup\""
|
|
778
|
-
},
|
|
779
|
-
"optgroupLabelField": {
|
|
780
|
-
"type": "string",
|
|
781
|
-
"mutable": false,
|
|
782
|
-
"complexType": {
|
|
783
|
-
"original": "string",
|
|
784
|
-
"resolved": "string",
|
|
785
|
-
"references": {}
|
|
786
|
-
},
|
|
787
|
-
"required": false,
|
|
788
|
-
"optional": false,
|
|
789
|
-
"docs": {
|
|
790
|
-
"tags": [],
|
|
791
|
-
"text": "The name of the property to render as an option group label (not needed when custom rendering functions are defined)."
|
|
792
|
-
},
|
|
793
|
-
"attribute": "optgroup-label-field",
|
|
794
|
-
"reflect": false,
|
|
795
|
-
"defaultValue": "\"label\""
|
|
796
|
-
},
|
|
797
|
-
"optgroupValueField": {
|
|
798
|
-
"type": "string",
|
|
799
|
-
"mutable": false,
|
|
800
|
-
"complexType": {
|
|
801
|
-
"original": "string",
|
|
802
|
-
"resolved": "string",
|
|
803
|
-
"references": {}
|
|
804
|
-
},
|
|
805
|
-
"required": false,
|
|
806
|
-
"optional": false,
|
|
807
|
-
"docs": {
|
|
808
|
-
"tags": [],
|
|
809
|
-
"text": "The name of the option group property that serves as its unique identifier."
|
|
810
|
-
},
|
|
811
|
-
"attribute": "optgroup-value-field",
|
|
812
|
-
"reflect": false,
|
|
813
|
-
"defaultValue": "\"value\""
|
|
814
|
-
},
|
|
815
|
-
"lockOptgroupOrder": {
|
|
816
|
-
"type": "boolean",
|
|
817
|
-
"mutable": false,
|
|
818
|
-
"complexType": {
|
|
819
|
-
"original": "true",
|
|
820
|
-
"resolved": "boolean",
|
|
821
|
-
"references": {}
|
|
822
|
-
},
|
|
823
|
-
"required": false,
|
|
824
|
-
"optional": false,
|
|
825
|
-
"docs": {
|
|
826
|
-
"tags": [],
|
|
827
|
-
"text": "If truthy, all optgroups will be displayed in the same order as they were added (by the `$order` property). Otherwise, it will order based on the score of the results in each."
|
|
828
|
-
},
|
|
829
|
-
"attribute": "lock-optgroup-order",
|
|
830
|
-
"reflect": false
|
|
831
|
-
},
|
|
832
|
-
"name": {
|
|
833
|
-
"type": "string",
|
|
834
|
-
"mutable": false,
|
|
835
|
-
"complexType": {
|
|
836
|
-
"original": "string",
|
|
837
|
-
"resolved": "string",
|
|
838
|
-
"references": {}
|
|
839
|
-
},
|
|
840
|
-
"required": false,
|
|
841
|
-
"optional": false,
|
|
842
|
-
"docs": {
|
|
843
|
-
"tags": [],
|
|
844
|
-
"text": "Name of hidden select element"
|
|
845
|
-
},
|
|
846
|
-
"attribute": "name",
|
|
847
|
-
"reflect": true,
|
|
848
|
-
"defaultValue": "\"\""
|
|
849
|
-
},
|
|
850
|
-
"variant": {
|
|
851
|
-
"type": "string",
|
|
852
|
-
"mutable": false,
|
|
853
|
-
"complexType": {
|
|
854
|
-
"original": "\"default\" | \"plain\"",
|
|
855
|
-
"resolved": "\"default\" | \"plain\"",
|
|
856
|
-
"references": {}
|
|
857
|
-
},
|
|
858
|
-
"required": false,
|
|
859
|
-
"optional": false,
|
|
860
|
-
"docs": {
|
|
861
|
-
"tags": [],
|
|
862
|
-
"text": "Variant"
|
|
863
|
-
},
|
|
864
|
-
"attribute": "variant",
|
|
865
|
-
"reflect": true,
|
|
866
|
-
"defaultValue": "\"default\""
|
|
867
|
-
},
|
|
868
|
-
"size": {
|
|
869
|
-
"type": "string",
|
|
870
|
-
"mutable": false,
|
|
871
|
-
"complexType": {
|
|
872
|
-
"original": "\"default\" | \"small\"",
|
|
873
|
-
"resolved": "\"default\" | \"small\"",
|
|
874
|
-
"references": {}
|
|
875
|
-
},
|
|
876
|
-
"required": false,
|
|
877
|
-
"optional": false,
|
|
878
|
-
"docs": {
|
|
879
|
-
"tags": [],
|
|
880
|
-
"text": "Size variant"
|
|
881
|
-
},
|
|
882
|
-
"attribute": "size",
|
|
883
|
-
"reflect": true,
|
|
884
|
-
"defaultValue": "\"default\""
|
|
885
|
-
},
|
|
886
|
-
"disabled": {
|
|
887
|
-
"type": "boolean",
|
|
888
|
-
"mutable": false,
|
|
889
|
-
"complexType": {
|
|
890
|
-
"original": "boolean",
|
|
891
|
-
"resolved": "boolean",
|
|
892
|
-
"references": {}
|
|
893
|
-
},
|
|
894
|
-
"required": false,
|
|
895
|
-
"optional": false,
|
|
896
|
-
"docs": {
|
|
897
|
-
"tags": [],
|
|
898
|
-
"text": "Whether the dropdown is disabled"
|
|
899
|
-
},
|
|
900
|
-
"attribute": "disabled",
|
|
901
|
-
"reflect": true,
|
|
902
|
-
"defaultValue": "false"
|
|
903
|
-
},
|
|
904
|
-
"popoverPlacement": {
|
|
905
|
-
"type": "string",
|
|
906
|
-
"mutable": false,
|
|
907
|
-
"complexType": {
|
|
908
|
-
"original": "\"bottom\" | \"top\"",
|
|
909
|
-
"resolved": "\"bottom\" | \"top\"",
|
|
910
|
-
"references": {}
|
|
911
|
-
},
|
|
912
|
-
"required": false,
|
|
913
|
-
"optional": false,
|
|
914
|
-
"docs": {
|
|
915
|
-
"tags": [],
|
|
916
|
-
"text": "Popover placement"
|
|
917
|
-
},
|
|
918
|
-
"attribute": "popover-placement",
|
|
919
|
-
"reflect": true,
|
|
920
|
-
"defaultValue": "\"bottom\""
|
|
921
|
-
},
|
|
922
|
-
"label": {
|
|
923
|
-
"type": "string",
|
|
924
|
-
"mutable": false,
|
|
925
|
-
"complexType": {
|
|
926
|
-
"original": "string",
|
|
927
|
-
"resolved": "string",
|
|
928
|
-
"references": {}
|
|
929
|
-
},
|
|
930
|
-
"required": false,
|
|
931
|
-
"optional": false,
|
|
932
|
-
"docs": {
|
|
933
|
-
"tags": [],
|
|
934
|
-
"text": "Label"
|
|
935
|
-
},
|
|
936
|
-
"attribute": "label",
|
|
937
|
-
"reflect": false,
|
|
938
|
-
"defaultValue": "\"\""
|
|
939
|
-
},
|
|
940
|
-
"icon": {
|
|
941
|
-
"type": "string",
|
|
942
|
-
"mutable": false,
|
|
943
|
-
"complexType": {
|
|
944
|
-
"original": "string",
|
|
945
|
-
"resolved": "string",
|
|
946
|
-
"references": {}
|
|
947
|
-
},
|
|
948
|
-
"required": false,
|
|
949
|
-
"optional": false,
|
|
950
|
-
"docs": {
|
|
951
|
-
"tags": [],
|
|
952
|
-
"text": "Icon (use instead of icon slot)"
|
|
953
|
-
},
|
|
954
|
-
"attribute": "icon",
|
|
955
|
-
"reflect": false,
|
|
956
|
-
"defaultValue": "\"\""
|
|
957
|
-
},
|
|
958
|
-
"noSearch": {
|
|
959
|
-
"type": "boolean",
|
|
960
|
-
"mutable": false,
|
|
961
|
-
"complexType": {
|
|
962
|
-
"original": "boolean",
|
|
963
|
-
"resolved": "boolean",
|
|
964
|
-
"references": {}
|
|
965
|
-
},
|
|
966
|
-
"required": false,
|
|
967
|
-
"optional": false,
|
|
968
|
-
"docs": {
|
|
969
|
-
"tags": [],
|
|
970
|
-
"text": "Prevent option search"
|
|
971
|
-
},
|
|
972
|
-
"attribute": "no-search",
|
|
973
|
-
"reflect": false,
|
|
974
|
-
"defaultValue": "false"
|
|
975
|
-
},
|
|
976
|
-
"noBackspaceDelete": {
|
|
977
|
-
"type": "boolean",
|
|
978
|
-
"mutable": false,
|
|
979
|
-
"complexType": {
|
|
980
|
-
"original": "boolean",
|
|
981
|
-
"resolved": "boolean",
|
|
982
|
-
"references": {}
|
|
983
|
-
},
|
|
984
|
-
"required": false,
|
|
985
|
-
"optional": false,
|
|
986
|
-
"docs": {
|
|
987
|
-
"tags": [],
|
|
988
|
-
"text": "Prevent backspace delete"
|
|
989
|
-
},
|
|
990
|
-
"attribute": "no-backspace-delete",
|
|
991
|
-
"reflect": false,
|
|
992
|
-
"defaultValue": "false"
|
|
993
|
-
},
|
|
994
|
-
"invalid": {
|
|
995
|
-
"type": "boolean",
|
|
996
|
-
"mutable": false,
|
|
997
|
-
"complexType": {
|
|
998
|
-
"original": "boolean",
|
|
999
|
-
"resolved": "boolean",
|
|
1000
|
-
"references": {}
|
|
1001
|
-
},
|
|
1002
|
-
"required": false,
|
|
1003
|
-
"optional": false,
|
|
1004
|
-
"docs": {
|
|
1005
|
-
"tags": [],
|
|
1006
|
-
"text": "Invalid status"
|
|
1007
|
-
},
|
|
1008
|
-
"attribute": "invalid",
|
|
1009
|
-
"reflect": true,
|
|
1010
|
-
"defaultValue": "false"
|
|
1011
|
-
},
|
|
1012
|
-
"required": {
|
|
1013
|
-
"type": "boolean",
|
|
1014
|
-
"mutable": false,
|
|
1015
|
-
"complexType": {
|
|
1016
|
-
"original": "boolean",
|
|
1017
|
-
"resolved": "boolean",
|
|
1018
|
-
"references": {}
|
|
1019
|
-
},
|
|
1020
|
-
"required": false,
|
|
1021
|
-
"optional": false,
|
|
1022
|
-
"docs": {
|
|
1023
|
-
"tags": [],
|
|
1024
|
-
"text": "Required status"
|
|
1025
|
-
},
|
|
1026
|
-
"attribute": "required",
|
|
1027
|
-
"reflect": true,
|
|
1028
|
-
"defaultValue": "false"
|
|
1029
|
-
},
|
|
1030
|
-
"showMarker": {
|
|
1031
|
-
"type": "boolean",
|
|
1032
|
-
"mutable": false,
|
|
1033
|
-
"complexType": {
|
|
1034
|
-
"original": "boolean",
|
|
1035
|
-
"resolved": "boolean",
|
|
1036
|
-
"references": {}
|
|
1037
|
-
},
|
|
1038
|
-
"required": false,
|
|
1039
|
-
"optional": false,
|
|
1040
|
-
"docs": {
|
|
1041
|
-
"tags": [],
|
|
1042
|
-
"text": "Show text in label depending if field is optional/required"
|
|
1043
|
-
},
|
|
1044
|
-
"attribute": "show-marker",
|
|
1045
|
-
"reflect": true,
|
|
1046
|
-
"defaultValue": "false"
|
|
1047
|
-
},
|
|
1048
|
-
"description": {
|
|
1049
|
-
"type": "string",
|
|
1050
|
-
"mutable": false,
|
|
1051
|
-
"complexType": {
|
|
1052
|
-
"original": "string",
|
|
1053
|
-
"resolved": "string",
|
|
1054
|
-
"references": {}
|
|
1055
|
-
},
|
|
1056
|
-
"required": false,
|
|
1057
|
-
"optional": false,
|
|
1058
|
-
"docs": {
|
|
1059
|
-
"tags": [],
|
|
1060
|
-
"text": "Description message (use description slot as alternative)"
|
|
1061
|
-
},
|
|
1062
|
-
"attribute": "description",
|
|
1063
|
-
"reflect": false
|
|
1064
|
-
},
|
|
1065
|
-
"descriptionLong": {
|
|
1066
|
-
"type": "string",
|
|
1067
|
-
"mutable": false,
|
|
1068
|
-
"complexType": {
|
|
1069
|
-
"original": "string",
|
|
1070
|
-
"resolved": "string",
|
|
1071
|
-
"references": {}
|
|
1072
|
-
},
|
|
1073
|
-
"required": false,
|
|
1074
|
-
"optional": false,
|
|
1075
|
-
"docs": {
|
|
1076
|
-
"tags": [],
|
|
1077
|
-
"text": "Long description message appearing in a popover (use description-long slot as alternative)"
|
|
1078
|
-
},
|
|
1079
|
-
"attribute": "description-long",
|
|
1080
|
-
"reflect": false
|
|
1081
|
-
},
|
|
1082
|
-
"error": {
|
|
1083
|
-
"type": "string",
|
|
1084
|
-
"mutable": false,
|
|
1085
|
-
"complexType": {
|
|
1086
|
-
"original": "string | string[]",
|
|
1087
|
-
"resolved": "string | string[]",
|
|
1088
|
-
"references": {}
|
|
1089
|
-
},
|
|
1090
|
-
"required": false,
|
|
1091
|
-
"optional": false,
|
|
1092
|
-
"docs": {
|
|
1093
|
-
"tags": [],
|
|
1094
|
-
"text": "One or multiple error message (use error slot as alternative)"
|
|
1095
|
-
},
|
|
1096
|
-
"attribute": "error",
|
|
1097
|
-
"reflect": false
|
|
1098
|
-
},
|
|
1099
|
-
"placeholder": {
|
|
1100
|
-
"type": "string",
|
|
1101
|
-
"mutable": false,
|
|
1102
|
-
"complexType": {
|
|
1103
|
-
"original": "string",
|
|
1104
|
-
"resolved": "string",
|
|
1105
|
-
"references": {}
|
|
1106
|
-
},
|
|
1107
|
-
"required": false,
|
|
1108
|
-
"optional": false,
|
|
1109
|
-
"docs": {
|
|
1110
|
-
"tags": [{
|
|
1111
|
-
"name": "deprecated",
|
|
1112
|
-
"text": undefined
|
|
1113
|
-
}],
|
|
1114
|
-
"text": "Placeholder option"
|
|
1115
|
-
},
|
|
1116
|
-
"attribute": "placeholder",
|
|
1117
|
-
"reflect": false
|
|
1118
|
-
},
|
|
1119
|
-
"localization": {
|
|
1120
|
-
"type": "unknown",
|
|
1121
|
-
"mutable": false,
|
|
1122
|
-
"complexType": {
|
|
1123
|
-
"original": "StzhDropdownLocalizedText",
|
|
1124
|
-
"resolved": "StzhLocaleComponent & { create: string; notLoading: string; noResults: string; removeButtonTitle: string; }",
|
|
1125
|
-
"references": {
|
|
1126
|
-
"StzhDropdownLocalizedText": {
|
|
1127
|
-
"location": "import",
|
|
1128
|
-
"path": "./stzh-dropdown.localization"
|
|
1129
|
-
}
|
|
1130
|
-
}
|
|
1131
|
-
},
|
|
1132
|
-
"required": false,
|
|
1133
|
-
"optional": false,
|
|
1134
|
-
"docs": {
|
|
1135
|
-
"tags": [],
|
|
1136
|
-
"text": "Translation strings"
|
|
1137
|
-
}
|
|
1138
|
-
},
|
|
1139
|
-
"a11yDescribedby": {
|
|
1140
|
-
"type": "string",
|
|
1141
|
-
"mutable": false,
|
|
1142
|
-
"complexType": {
|
|
1143
|
-
"original": "string",
|
|
1144
|
-
"resolved": "string",
|
|
1145
|
-
"references": {}
|
|
1146
|
-
},
|
|
1147
|
-
"required": false,
|
|
1148
|
-
"optional": false,
|
|
1149
|
-
"docs": {
|
|
1150
|
-
"tags": [],
|
|
1151
|
-
"text": "Id for element which describes the input (this will be overwritten if description prop or slot is used, used by stzh-radiogroup)"
|
|
1152
|
-
},
|
|
1153
|
-
"attribute": "a11y-describedby",
|
|
1154
|
-
"reflect": false,
|
|
1155
|
-
"defaultValue": "\"\""
|
|
1156
|
-
}
|
|
1157
|
-
};
|
|
1158
|
-
}
|
|
1159
|
-
static get events() {
|
|
1160
|
-
return [{
|
|
1161
|
-
"method": "stzhChange",
|
|
1162
|
-
"name": "stzhChange",
|
|
1163
|
-
"bubbles": true,
|
|
1164
|
-
"cancelable": true,
|
|
1165
|
-
"composed": true,
|
|
1166
|
-
"docs": {
|
|
1167
|
-
"tags": [],
|
|
1168
|
-
"text": "Dropdown change event"
|
|
1169
|
-
},
|
|
1170
|
-
"complexType": {
|
|
1171
|
-
"original": "StzhDropdownChangeEvent",
|
|
1172
|
-
"resolved": "{ component: \"stzh-dropdown\"; value: string; }",
|
|
1173
|
-
"references": {
|
|
1174
|
-
"StzhDropdownChangeEvent": {
|
|
1175
|
-
"location": "import",
|
|
1176
|
-
"path": "../../index"
|
|
1177
|
-
}
|
|
1178
|
-
}
|
|
1179
|
-
}
|
|
1180
|
-
}, {
|
|
1181
|
-
"method": "stzhItemAdd",
|
|
1182
|
-
"name": "stzhItemAdd",
|
|
1183
|
-
"bubbles": true,
|
|
1184
|
-
"cancelable": true,
|
|
1185
|
-
"composed": true,
|
|
1186
|
-
"docs": {
|
|
1187
|
-
"tags": [],
|
|
1188
|
-
"text": "Dropdown focus event"
|
|
1189
|
-
},
|
|
1190
|
-
"complexType": {
|
|
1191
|
-
"original": "StzhDropdownItemAddEvent",
|
|
1192
|
-
"resolved": "{ component: \"stzh-dropdown\"; value: string; }",
|
|
1193
|
-
"references": {
|
|
1194
|
-
"StzhDropdownItemAddEvent": {
|
|
1195
|
-
"location": "import",
|
|
1196
|
-
"path": "../../index"
|
|
1197
|
-
}
|
|
1198
|
-
}
|
|
1199
|
-
}
|
|
1200
|
-
}, {
|
|
1201
|
-
"method": "stzhItemRemove",
|
|
1202
|
-
"name": "stzhItemRemove",
|
|
1203
|
-
"bubbles": true,
|
|
1204
|
-
"cancelable": true,
|
|
1205
|
-
"composed": true,
|
|
1206
|
-
"docs": {
|
|
1207
|
-
"tags": [],
|
|
1208
|
-
"text": "Dropdown focus event"
|
|
1209
|
-
},
|
|
1210
|
-
"complexType": {
|
|
1211
|
-
"original": "StzhDropdownItemRemoveEvent",
|
|
1212
|
-
"resolved": "{ component: \"stzh-dropdown\"; value: string; }",
|
|
1213
|
-
"references": {
|
|
1214
|
-
"StzhDropdownItemRemoveEvent": {
|
|
1215
|
-
"location": "import",
|
|
1216
|
-
"path": "../../index"
|
|
1217
|
-
}
|
|
1218
|
-
}
|
|
1219
|
-
}
|
|
1220
|
-
}, {
|
|
1221
|
-
"method": "stzhOptionAdd",
|
|
1222
|
-
"name": "stzhOptionAdd",
|
|
1223
|
-
"bubbles": true,
|
|
1224
|
-
"cancelable": true,
|
|
1225
|
-
"composed": true,
|
|
1226
|
-
"docs": {
|
|
1227
|
-
"tags": [],
|
|
1228
|
-
"text": "Dropdown focus event"
|
|
1229
|
-
},
|
|
1230
|
-
"complexType": {
|
|
1231
|
-
"original": "StzhDropdownOptionAddEvent",
|
|
1232
|
-
"resolved": "{ component: \"stzh-dropdown\"; value: string; }",
|
|
1233
|
-
"references": {
|
|
1234
|
-
"StzhDropdownOptionAddEvent": {
|
|
1235
|
-
"location": "import",
|
|
1236
|
-
"path": "../../index"
|
|
1237
|
-
}
|
|
1238
|
-
}
|
|
1239
|
-
}
|
|
1240
|
-
}, {
|
|
1241
|
-
"method": "stzhOptionRemove",
|
|
1242
|
-
"name": "stzhOptionRemove",
|
|
1243
|
-
"bubbles": true,
|
|
1244
|
-
"cancelable": true,
|
|
1245
|
-
"composed": true,
|
|
1246
|
-
"docs": {
|
|
1247
|
-
"tags": [],
|
|
1248
|
-
"text": "Dropdown focus event"
|
|
1249
|
-
},
|
|
1250
|
-
"complexType": {
|
|
1251
|
-
"original": "StzhDropdownOptionRemoveEvent",
|
|
1252
|
-
"resolved": "{ component: \"stzh-dropdown\"; value: string; }",
|
|
1253
|
-
"references": {
|
|
1254
|
-
"StzhDropdownOptionRemoveEvent": {
|
|
1255
|
-
"location": "import",
|
|
1256
|
-
"path": "../../index"
|
|
1257
|
-
}
|
|
1258
|
-
}
|
|
1259
|
-
}
|
|
1260
|
-
}, {
|
|
1261
|
-
"method": "stzhOpen",
|
|
1262
|
-
"name": "stzhOpen",
|
|
1263
|
-
"bubbles": true,
|
|
1264
|
-
"cancelable": true,
|
|
1265
|
-
"composed": true,
|
|
1266
|
-
"docs": {
|
|
1267
|
-
"tags": [],
|
|
1268
|
-
"text": "Dropdown focus event"
|
|
1269
|
-
},
|
|
1270
|
-
"complexType": {
|
|
1271
|
-
"original": "StzhDropdownOpenEvent",
|
|
1272
|
-
"resolved": "{ component: \"stzh-dropdown\"; }",
|
|
1273
|
-
"references": {
|
|
1274
|
-
"StzhDropdownOpenEvent": {
|
|
1275
|
-
"location": "import",
|
|
1276
|
-
"path": "../../index"
|
|
1277
|
-
}
|
|
1278
|
-
}
|
|
1279
|
-
}
|
|
1280
|
-
}, {
|
|
1281
|
-
"method": "stzhClose",
|
|
1282
|
-
"name": "stzhClose",
|
|
1283
|
-
"bubbles": true,
|
|
1284
|
-
"cancelable": true,
|
|
1285
|
-
"composed": true,
|
|
1286
|
-
"docs": {
|
|
1287
|
-
"tags": [],
|
|
1288
|
-
"text": "Dropdown focus event"
|
|
1289
|
-
},
|
|
1290
|
-
"complexType": {
|
|
1291
|
-
"original": "StzhDropdowCloseEvent",
|
|
1292
|
-
"resolved": "{ component: \"stzh-dropdown\"; }",
|
|
1293
|
-
"references": {
|
|
1294
|
-
"StzhDropdowCloseEvent": {
|
|
1295
|
-
"location": "import",
|
|
1296
|
-
"path": "../../index"
|
|
1297
|
-
}
|
|
1298
|
-
}
|
|
1299
|
-
}
|
|
1300
|
-
}, {
|
|
1301
|
-
"method": "stzhFocus",
|
|
1302
|
-
"name": "stzhFocus",
|
|
1303
|
-
"bubbles": true,
|
|
1304
|
-
"cancelable": true,
|
|
1305
|
-
"composed": true,
|
|
1306
|
-
"docs": {
|
|
1307
|
-
"tags": [],
|
|
1308
|
-
"text": "Dropdown focus event"
|
|
1309
|
-
},
|
|
1310
|
-
"complexType": {
|
|
1311
|
-
"original": "StzhDropdownFocusEvent",
|
|
1312
|
-
"resolved": "{ component: \"stzh-dropdown\"; }",
|
|
1313
|
-
"references": {
|
|
1314
|
-
"StzhDropdownFocusEvent": {
|
|
1315
|
-
"location": "import",
|
|
1316
|
-
"path": "../../index"
|
|
1317
|
-
}
|
|
1318
|
-
}
|
|
1319
|
-
}
|
|
1320
|
-
}, {
|
|
1321
|
-
"method": "stzhBlur",
|
|
1322
|
-
"name": "stzhBlur",
|
|
1323
|
-
"bubbles": true,
|
|
1324
|
-
"cancelable": true,
|
|
1325
|
-
"composed": true,
|
|
1326
|
-
"docs": {
|
|
1327
|
-
"tags": [],
|
|
1328
|
-
"text": "Dropdown blur event"
|
|
1329
|
-
},
|
|
1330
|
-
"complexType": {
|
|
1331
|
-
"original": "StzhDropdownBlurEvent",
|
|
1332
|
-
"resolved": "{ component: \"stzh-dropdown\"; }",
|
|
1333
|
-
"references": {
|
|
1334
|
-
"StzhDropdownBlurEvent": {
|
|
1335
|
-
"location": "import",
|
|
1336
|
-
"path": "../../index"
|
|
1337
|
-
}
|
|
1338
|
-
}
|
|
1339
|
-
}
|
|
1340
|
-
}, {
|
|
1341
|
-
"method": "stzhInit",
|
|
1342
|
-
"name": "stzhInit",
|
|
1343
|
-
"bubbles": true,
|
|
1344
|
-
"cancelable": true,
|
|
1345
|
-
"composed": true,
|
|
1346
|
-
"docs": {
|
|
1347
|
-
"tags": [],
|
|
1348
|
-
"text": "Dropdown focus event"
|
|
1349
|
-
},
|
|
1350
|
-
"complexType": {
|
|
1351
|
-
"original": "StzhDropdowInitEvent",
|
|
1352
|
-
"resolved": "{ component: \"stzh-dropdown\"; }",
|
|
1353
|
-
"references": {
|
|
1354
|
-
"StzhDropdowInitEvent": {
|
|
1355
|
-
"location": "import",
|
|
1356
|
-
"path": "../../index"
|
|
1357
|
-
}
|
|
1358
|
-
}
|
|
1359
|
-
}
|
|
1360
|
-
}];
|
|
1361
|
-
}
|
|
1362
|
-
static get methods() {
|
|
1363
|
-
return {
|
|
1364
|
-
"getValue": {
|
|
1365
|
-
"complexType": {
|
|
1366
|
-
"signature": "() => Promise<string | string[]>",
|
|
1367
|
-
"parameters": [],
|
|
1368
|
-
"references": {
|
|
1369
|
-
"Promise": {
|
|
1370
|
-
"location": "global"
|
|
1371
|
-
}
|
|
1372
|
-
},
|
|
1373
|
-
"return": "Promise<string | string[]>"
|
|
1374
|
-
},
|
|
1375
|
-
"docs": {
|
|
1376
|
-
"text": "Returns the value of the control.\
|
|
1377
|
-
"tags": []
|
|
1378
|
-
}
|
|
1379
|
-
},
|
|
1380
|
-
"setValue": {
|
|
1381
|
-
"complexType": {
|
|
1382
|
-
"signature": "(newValue: string | string[]) => Promise<void>",
|
|
1383
|
-
"parameters": [{
|
|
1384
|
-
"tags": [],
|
|
1385
|
-
"text": ""
|
|
1386
|
-
}],
|
|
1387
|
-
"references": {
|
|
1388
|
-
"Promise": {
|
|
1389
|
-
"location": "global"
|
|
1390
|
-
}
|
|
1391
|
-
},
|
|
1392
|
-
"return": "Promise<void>"
|
|
1393
|
-
},
|
|
1394
|
-
"docs": {
|
|
1395
|
-
"text": "Set new value",
|
|
1396
|
-
"tags": []
|
|
1397
|
-
}
|
|
1398
|
-
},
|
|
1399
|
-
"setFocus": {
|
|
1400
|
-
"complexType": {
|
|
1401
|
-
"signature": "() => Promise<void>",
|
|
1402
|
-
"parameters": [],
|
|
1403
|
-
"references": {
|
|
1404
|
-
"Promise": {
|
|
1405
|
-
"location": "global"
|
|
1406
|
-
}
|
|
1407
|
-
},
|
|
1408
|
-
"return": "Promise<void>"
|
|
1409
|
-
},
|
|
1410
|
-
"docs": {
|
|
1411
|
-
"text": "Focus select",
|
|
1412
|
-
"tags": []
|
|
1413
|
-
}
|
|
1414
|
-
}
|
|
1415
|
-
};
|
|
1416
|
-
}
|
|
1417
|
-
static get elementRef() { return "element"; }
|
|
1418
|
-
static get watchers() {
|
|
1419
|
-
return [{
|
|
1420
|
-
"propName": "options",
|
|
1421
|
-
"methodName": "optionsWatcher"
|
|
1422
|
-
}, {
|
|
1423
|
-
"propName": "items",
|
|
1424
|
-
"methodName": "itemsWatcher"
|
|
1425
|
-
}, {
|
|
1426
|
-
"propName": "searchField",
|
|
1427
|
-
"methodName": "searchFieldWatcher"
|
|
1428
|
-
}, {
|
|
1429
|
-
"propName": "optgroups",
|
|
1430
|
-
"methodName": "optgroupsWatcher"
|
|
1431
|
-
}, {
|
|
1432
|
-
"propName": "error",
|
|
1433
|
-
"methodName": "errorWatcher"
|
|
1434
|
-
}];
|
|
1435
|
-
}
|
|
1436
|
-
}
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
import { hasSlot } from "../../utils/utils";
|
|
3
|
+
import { fetchTranslations } from "../../utils/translation-utils";
|
|
4
|
+
import { StzhInputDescription } from "../stzh-input/stzh-input-description";
|
|
5
|
+
import TomSelect from "tom-select/dist/js/tom-select.base.js";
|
|
6
|
+
import TomSelectRemoveButton from "tom-select/dist/js/plugins/remove_button.js";
|
|
7
|
+
import TomSelectCheckboxOptions from "tom-select/dist/js/plugins/checkbox_options.js";
|
|
8
|
+
import TomSelectInputAutogrow from "tom-select/dist/js/plugins/input_autogrow.js";
|
|
9
|
+
import TomSelectNoBackspaceDelete from "tom-select/dist/js/plugins/no_backspace_delete.js";
|
|
10
|
+
const TomSelectInputHide = function (_plugin_options) {
|
|
11
|
+
// const self = this;
|
|
12
|
+
// self.on("initialize", () => {
|
|
13
|
+
// const input = self.control_input as HTMLInputElement;
|
|
14
|
+
// if (input) input.disabled = true;
|
|
15
|
+
// })
|
|
16
|
+
};
|
|
17
|
+
const CLASS_FILLED = "stzh-dropdown--is-filled";
|
|
18
|
+
const CLASS_FOCUS = "stzh-dropdown--has-focus";
|
|
19
|
+
TomSelect.define("remove_button", TomSelectRemoveButton);
|
|
20
|
+
TomSelect.define("checkbox_options", TomSelectCheckboxOptions);
|
|
21
|
+
TomSelect.define("input_autogrow", TomSelectInputAutogrow);
|
|
22
|
+
TomSelect.define("no_backspace_delete", TomSelectNoBackspaceDelete);
|
|
23
|
+
TomSelect.define("input_hide", TomSelectInputHide);
|
|
24
|
+
let dropdownCounter = 0;
|
|
25
|
+
/**
|
|
26
|
+
* @slot label - Slot for label content
|
|
27
|
+
* @slot description - Slot for description
|
|
28
|
+
* @slot description-long - Slot for long description (in popover)
|
|
29
|
+
* @slot error - Slot for error
|
|
30
|
+
*/
|
|
31
|
+
export class StzhDropdown {
|
|
32
|
+
constructor() {
|
|
33
|
+
/**
|
|
34
|
+
* An array of property names to analyze when filtering options.
|
|
35
|
+
* Weights can be given to each field to improve search result:
|
|
36
|
+
* `[{"field":"text","weight":2},{"field":"text2","weight":0.5}]`
|
|
37
|
+
*/
|
|
38
|
+
this.searchField = ["text"];
|
|
39
|
+
/** Whether multiple items option can be selected */
|
|
40
|
+
this.multiple = false;
|
|
41
|
+
/** Show inline (auto width) */
|
|
42
|
+
this.inline = false;
|
|
43
|
+
/** The max number of options to display in the dropdown. Set to `null` for an unlimited number of options. */
|
|
44
|
+
this.maxOptions = 50;
|
|
45
|
+
/** When searching for multiple terms (separated by space), this is the operator used. Can be 'and' or 'or' */
|
|
46
|
+
this.searchConjunction = "and";
|
|
47
|
+
/** 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. */
|
|
48
|
+
this.allowEmptyOption = false;
|
|
49
|
+
/** Show the dropdown immediately when the control receives focus. */
|
|
50
|
+
this.openOnFocus = true;
|
|
51
|
+
/** 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. */
|
|
52
|
+
this.closeAfterSelect = null;
|
|
53
|
+
/** 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). */
|
|
54
|
+
this.load = null;
|
|
55
|
+
/** Minimum of characters required to execute the `load` function */
|
|
56
|
+
this.minCharacters = 3;
|
|
57
|
+
/** 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. */
|
|
58
|
+
this.loadThrottle = 300;
|
|
59
|
+
/** 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. */
|
|
60
|
+
this.preload = false;
|
|
61
|
+
/** The name of the property to render as an option / item label (not needed when custom rendering functions are defined). */
|
|
62
|
+
this.labelField = "text";
|
|
63
|
+
/** The name of the property to use as the value when an item is selected. */
|
|
64
|
+
this.valueField = "value";
|
|
65
|
+
/** The name of the property to group items by. */
|
|
66
|
+
this.optgroupField = "optgroup";
|
|
67
|
+
/** The name of the property to render as an option group label (not needed when custom rendering functions are defined). */
|
|
68
|
+
this.optgroupLabelField = "label";
|
|
69
|
+
/** The name of the option group property that serves as its unique identifier. */
|
|
70
|
+
this.optgroupValueField = "value";
|
|
71
|
+
/** Name of hidden select element */
|
|
72
|
+
this.name = "";
|
|
73
|
+
/** Variant */
|
|
74
|
+
this.variant = "default";
|
|
75
|
+
/** Size variant */
|
|
76
|
+
this.size = "default";
|
|
77
|
+
/** Whether the dropdown is disabled */
|
|
78
|
+
this.disabled = false;
|
|
79
|
+
/** Popover placement */
|
|
80
|
+
this.popoverPlacement = "bottom";
|
|
81
|
+
/** Label */
|
|
82
|
+
this.label = "";
|
|
83
|
+
/** Icon (use instead of icon slot) */
|
|
84
|
+
this.icon = "";
|
|
85
|
+
/** Prevent option search */
|
|
86
|
+
this.noSearch = false;
|
|
87
|
+
/** Prevent backspace delete */
|
|
88
|
+
this.noBackspaceDelete = false;
|
|
89
|
+
/** Invalid status */
|
|
90
|
+
this.invalid = false;
|
|
91
|
+
/** Required status */
|
|
92
|
+
this.required = false;
|
|
93
|
+
/** Show text in label depending if field is optional/required */
|
|
94
|
+
this.showMarker = false;
|
|
95
|
+
/** Id for element which describes the input (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */
|
|
96
|
+
this.a11yDescribedby = "";
|
|
97
|
+
}
|
|
98
|
+
optionsWatcher(newValue) {
|
|
99
|
+
if (typeof newValue === "string") {
|
|
100
|
+
this._options = JSON.parse(newValue);
|
|
101
|
+
}
|
|
102
|
+
else {
|
|
103
|
+
this._options = newValue;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
itemsWatcher(newValue) {
|
|
107
|
+
if (typeof newValue === "string") {
|
|
108
|
+
this._items = JSON.parse(newValue);
|
|
109
|
+
}
|
|
110
|
+
else {
|
|
111
|
+
this._items = newValue;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
searchFieldWatcher(newValue) {
|
|
115
|
+
if (typeof newValue === "string") {
|
|
116
|
+
this._searchField = JSON.parse(newValue);
|
|
117
|
+
}
|
|
118
|
+
else {
|
|
119
|
+
this._searchField = newValue;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
optgroupsWatcher(newValue) {
|
|
123
|
+
if (typeof newValue === "string") {
|
|
124
|
+
this._optgroups = JSON.parse(newValue);
|
|
125
|
+
}
|
|
126
|
+
else {
|
|
127
|
+
this._optgroups = newValue;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
errorWatcher(newValue) {
|
|
131
|
+
if (typeof newValue === "string") {
|
|
132
|
+
try {
|
|
133
|
+
this._error = JSON.parse(newValue);
|
|
134
|
+
}
|
|
135
|
+
catch (e) {
|
|
136
|
+
if (newValue) {
|
|
137
|
+
this._error = [newValue];
|
|
138
|
+
}
|
|
139
|
+
else {
|
|
140
|
+
this._error = [];
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
else if (newValue) {
|
|
145
|
+
this._error = newValue;
|
|
146
|
+
}
|
|
147
|
+
else {
|
|
148
|
+
this._error = [];
|
|
149
|
+
}
|
|
150
|
+
this.invalid = this._error.length > 0;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Returns the value of the control.
|
|
154
|
+
* If multiple items can be selected,
|
|
155
|
+
* this returns an array, otherwise a string.
|
|
156
|
+
*/
|
|
157
|
+
async getValue() {
|
|
158
|
+
return this.tomSelect.getValue();
|
|
159
|
+
}
|
|
160
|
+
/** Set new value */
|
|
161
|
+
async setValue(newValue) {
|
|
162
|
+
this.tomSelect.setValue(newValue);
|
|
163
|
+
}
|
|
164
|
+
/** Focus select */
|
|
165
|
+
async setFocus() {
|
|
166
|
+
this.tomSelect.focus();
|
|
167
|
+
}
|
|
168
|
+
updateFilled() {
|
|
169
|
+
if (this._items.length > 0) {
|
|
170
|
+
this.rootElement.classList.add(CLASS_FILLED);
|
|
171
|
+
}
|
|
172
|
+
else {
|
|
173
|
+
this.rootElement.classList.remove(CLASS_FILLED);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
async componentWillLoad() {
|
|
177
|
+
this.dropdownId = `stzh-dropdown-${dropdownCounter++}`;
|
|
178
|
+
this.optionsWatcher(this.options);
|
|
179
|
+
this.optgroupsWatcher(this.optgroups);
|
|
180
|
+
this.itemsWatcher(this.items);
|
|
181
|
+
this.searchFieldWatcher(this.searchField);
|
|
182
|
+
this.errorWatcher(this.error);
|
|
183
|
+
if (!this.localization) {
|
|
184
|
+
this.localization = await fetchTranslations(this.element, 'dropdown');
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
async componentWillUpdate() {
|
|
188
|
+
if (this.tomSelect) {
|
|
189
|
+
this.tomSelect.destroy();
|
|
190
|
+
this.tomSelect = null;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
async componentDidRender() {
|
|
194
|
+
if (this.tomSelect) {
|
|
195
|
+
return;
|
|
196
|
+
}
|
|
197
|
+
const plugins = {};
|
|
198
|
+
if (this.noSearch) {
|
|
199
|
+
plugins["input_hide"] = {};
|
|
200
|
+
}
|
|
201
|
+
else {
|
|
202
|
+
plugins["input_autogrow"] = {};
|
|
203
|
+
}
|
|
204
|
+
if (this.noBackspaceDelete) {
|
|
205
|
+
plugins["no_backspace_delete"] = {};
|
|
206
|
+
}
|
|
207
|
+
if (this.multiple) {
|
|
208
|
+
plugins["checkbox_options"] = {};
|
|
209
|
+
plugins["remove_button"] = {
|
|
210
|
+
title: this.localization.removeButtonTitle,
|
|
211
|
+
label: '<stzh-icon name="close" class="stzh-dropdown__remove-icon"></stzh-icon>'
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
const tomSelectOptions = {
|
|
215
|
+
plugins,
|
|
216
|
+
maxItems: this.multiple ? null : 1,
|
|
217
|
+
maxOptions: this.maxOptions,
|
|
218
|
+
items: this._items,
|
|
219
|
+
optgroups: this._optgroups,
|
|
220
|
+
searchField: this._searchField,
|
|
221
|
+
searchConjunction: this.searchConjunction,
|
|
222
|
+
allowEmptyOption: this.allowEmptyOption,
|
|
223
|
+
closeAfterSelect: this.closeAfterSelect !== null
|
|
224
|
+
? this.closeAfterSelect
|
|
225
|
+
: !this.multiple,
|
|
226
|
+
labelField: this.labelField,
|
|
227
|
+
valueField: this.valueField,
|
|
228
|
+
optgroupField: this.optgroupField,
|
|
229
|
+
optgroupLabelField: this.optgroupLabelField,
|
|
230
|
+
optgroupValueField: this.optgroupValueField,
|
|
231
|
+
lockOptgroupOrder: this.lockOptgroupOrder,
|
|
232
|
+
load: this.load,
|
|
233
|
+
shouldLoad: (query) => {
|
|
234
|
+
return query.length >= this.minCharacters;
|
|
235
|
+
},
|
|
236
|
+
loadThrottle: this.loadThrottle,
|
|
237
|
+
preload: this.preload,
|
|
238
|
+
openOnFocus: this.openOnFocus,
|
|
239
|
+
loadingClass: "is-loading",
|
|
240
|
+
hideSelected: false,
|
|
241
|
+
duplicates: false,
|
|
242
|
+
delimiter: ",",
|
|
243
|
+
copyClassesToDropdown: false,
|
|
244
|
+
placeholder: this.placeholder,
|
|
245
|
+
hidePlaceholder: null,
|
|
246
|
+
// if you want the user to be able to add own items enable this option
|
|
247
|
+
// (but checkbox_options plugin throws an error and would need a fix first)
|
|
248
|
+
// create: true,
|
|
249
|
+
// createOnBlur: false,
|
|
250
|
+
// createFilter: null,
|
|
251
|
+
// persist: false,
|
|
252
|
+
render: {
|
|
253
|
+
option: (data, escape) => {
|
|
254
|
+
return `
|
|
255
|
+
<div class="stzh-dropdown__option" title="${escape(data[this.labelField])}">
|
|
256
|
+
<stzh-icon name="checkmark" class="stzh-dropdown__option-check"></stzh-icon>
|
|
257
|
+
<span class="stzh-dropdown__option-title">
|
|
258
|
+
${escape(data[this.labelField])}
|
|
259
|
+
</span>
|
|
260
|
+
</div>
|
|
261
|
+
`;
|
|
262
|
+
},
|
|
263
|
+
item: (data, escape) => {
|
|
264
|
+
return `
|
|
265
|
+
<div class="stzh-dropdown__item">
|
|
266
|
+
${escape(data[this.labelField])}
|
|
267
|
+
</div>
|
|
268
|
+
`;
|
|
269
|
+
},
|
|
270
|
+
option_create: (data, escape) => {
|
|
271
|
+
return `
|
|
272
|
+
<div class="stzh-dropdown__create">
|
|
273
|
+
${this.localization.create.replace(/{x}/gi, escape(data.input))}…
|
|
274
|
+
</div>
|
|
275
|
+
`;
|
|
276
|
+
},
|
|
277
|
+
no_results: (data, escape) => {
|
|
278
|
+
return `
|
|
279
|
+
<div class="stzh-dropdown__no-results">
|
|
280
|
+
${this.localization.noResults.replace(/{x}/gi, escape(data.input))}
|
|
281
|
+
</div>`;
|
|
282
|
+
},
|
|
283
|
+
not_loading: this.load === null ? null : (_data, escape) => {
|
|
284
|
+
return `
|
|
285
|
+
<div class="stzh-dropdown__not-loading">
|
|
286
|
+
${this.localization.notLoading.replace(/{x}/gi, escape(this.minCharacters.toString()))}
|
|
287
|
+
</div>
|
|
288
|
+
`;
|
|
289
|
+
},
|
|
290
|
+
optgroup: (data) => {
|
|
291
|
+
let optgroup = document.createElement("div");
|
|
292
|
+
optgroup.className = "stzh-dropdown__optgroup";
|
|
293
|
+
optgroup.appendChild(data.options);
|
|
294
|
+
return optgroup;
|
|
295
|
+
},
|
|
296
|
+
optgroup_header: (data, escape) => {
|
|
297
|
+
return `
|
|
298
|
+
<div class="stzh-dropdown__optgroup-header">
|
|
299
|
+
${escape(data.label)}
|
|
300
|
+
</div>
|
|
301
|
+
`;
|
|
302
|
+
},
|
|
303
|
+
loading: () => {
|
|
304
|
+
return `
|
|
305
|
+
<div class="stzh-dropdown__loader">
|
|
306
|
+
<stzh-loader></stzh-loader>
|
|
307
|
+
</div>
|
|
308
|
+
`;
|
|
309
|
+
},
|
|
310
|
+
dropdown: () => {
|
|
311
|
+
return `<div class="stzh-dropdown__dropdown"></div>`;
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
onChange: (value) => {
|
|
315
|
+
this._items = this.tomSelect.items;
|
|
316
|
+
this.updateFilled();
|
|
317
|
+
this.stzhChange.emit({
|
|
318
|
+
component: "stzh-dropdown",
|
|
319
|
+
value
|
|
320
|
+
});
|
|
321
|
+
},
|
|
322
|
+
onItemAdd: (value) => {
|
|
323
|
+
this._items = this.tomSelect.items;
|
|
324
|
+
this.stzhItemAdd.emit({
|
|
325
|
+
component: "stzh-dropdown",
|
|
326
|
+
value
|
|
327
|
+
});
|
|
328
|
+
},
|
|
329
|
+
onItemRemove: (value) => {
|
|
330
|
+
this._items = this.tomSelect.items;
|
|
331
|
+
this.stzhItemRemove.emit({
|
|
332
|
+
component: "stzh-dropdown",
|
|
333
|
+
value
|
|
334
|
+
});
|
|
335
|
+
},
|
|
336
|
+
onOptionAdd: (value) => {
|
|
337
|
+
this._options = this.tomSelect.options;
|
|
338
|
+
this.updateFilled();
|
|
339
|
+
this.stzhOptionAdd.emit({
|
|
340
|
+
component: "stzh-dropdown",
|
|
341
|
+
value
|
|
342
|
+
});
|
|
343
|
+
},
|
|
344
|
+
onOptionRemove: (value) => {
|
|
345
|
+
this._options = this.tomSelect.options;
|
|
346
|
+
this.updateFilled();
|
|
347
|
+
this.stzhOptionRemove.emit({
|
|
348
|
+
component: "stzh-dropdown",
|
|
349
|
+
value
|
|
350
|
+
});
|
|
351
|
+
},
|
|
352
|
+
onDropdownOpen: () => {
|
|
353
|
+
this.stzhOpen.emit({
|
|
354
|
+
component: "stzh-dropdown"
|
|
355
|
+
});
|
|
356
|
+
},
|
|
357
|
+
onDropdownClose: () => {
|
|
358
|
+
this.stzhClose.emit({
|
|
359
|
+
component: "stzh-dropdown"
|
|
360
|
+
});
|
|
361
|
+
},
|
|
362
|
+
onFocus: () => {
|
|
363
|
+
this.rootElement.classList.add(CLASS_FOCUS);
|
|
364
|
+
const focusEvent = new FocusEvent('focus', {
|
|
365
|
+
view: window,
|
|
366
|
+
bubbles: false,
|
|
367
|
+
cancelable: false
|
|
368
|
+
});
|
|
369
|
+
this.element.dispatchEvent(focusEvent);
|
|
370
|
+
this.stzhFocus.emit({
|
|
371
|
+
component: "stzh-dropdown"
|
|
372
|
+
});
|
|
373
|
+
},
|
|
374
|
+
onBlur: () => {
|
|
375
|
+
this.rootElement.classList.remove(CLASS_FOCUS);
|
|
376
|
+
const blurEvent = new FocusEvent('blur', {
|
|
377
|
+
view: window,
|
|
378
|
+
bubbles: false,
|
|
379
|
+
cancelable: false
|
|
380
|
+
});
|
|
381
|
+
this.element.dispatchEvent(blurEvent);
|
|
382
|
+
this.stzhBlur.emit({
|
|
383
|
+
component: "stzh-dropdown"
|
|
384
|
+
});
|
|
385
|
+
},
|
|
386
|
+
onInitialize: () => {
|
|
387
|
+
this.stzhInit.emit({
|
|
388
|
+
component: "stzh-dropdown"
|
|
389
|
+
});
|
|
390
|
+
},
|
|
391
|
+
};
|
|
392
|
+
if (this._options) {
|
|
393
|
+
tomSelectOptions.options = this._options;
|
|
394
|
+
}
|
|
395
|
+
if (this._optgroups) {
|
|
396
|
+
tomSelectOptions.optgroups = this._optgroups;
|
|
397
|
+
}
|
|
398
|
+
if (this._items) {
|
|
399
|
+
tomSelectOptions.items = this._items;
|
|
400
|
+
}
|
|
401
|
+
this.tomSelect = new TomSelect(this.select, tomSelectOptions);
|
|
402
|
+
}
|
|
403
|
+
disconnectedCallback() {
|
|
404
|
+
if (this.tomSelect) {
|
|
405
|
+
this.tomSelect.destroy();
|
|
406
|
+
this.tomSelect = null;
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
render() {
|
|
410
|
+
var _a;
|
|
411
|
+
const iconUsed = hasSlot(this.element, 'icon') || !!this.icon;
|
|
412
|
+
const descriptionUsed = hasSlot(this.element, 'description') || !!this.description;
|
|
413
|
+
const descriptionLongUsed = hasSlot(this.element, 'description-long') || !!this.descriptionLong;
|
|
414
|
+
const errorUsed = hasSlot(this.element, 'error') || !!this.error;
|
|
415
|
+
const classes = {
|
|
416
|
+
"stzh-dropdown": true,
|
|
417
|
+
"stzh-dropdown--is-inline": this.inline,
|
|
418
|
+
"stzh-dropdown--is-multiple": this.multiple,
|
|
419
|
+
"stzh-dropdown--is-disabled": this.disabled,
|
|
420
|
+
"stzh-dropdown--is-required": this.required,
|
|
421
|
+
"stzh-dropdown--is-invalid": this.invalid,
|
|
422
|
+
[CLASS_FILLED]: this._items && this._items.length > 0,
|
|
423
|
+
"stzh-dropdown--has-icon": iconUsed,
|
|
424
|
+
"stzh-dropdown--has-description": descriptionUsed,
|
|
425
|
+
"stzh-dropdown--has-description-long": descriptionLongUsed,
|
|
426
|
+
"stzh-dropdown--has-error": errorUsed,
|
|
427
|
+
"stzh-dropdown--has-placeholder": !!this.placeholder,
|
|
428
|
+
"stzh-dropdown--has-fixed-label": ((_a = window === null || window === void 0 ? void 0 : window.stzhComponents) === null || _a === void 0 ? void 0 : _a.labels) === "fixed",
|
|
429
|
+
[`stzh-dropdown--popover-placement-${this.popoverPlacement}`]: !!this.popoverPlacement,
|
|
430
|
+
[`stzh-dropdown--size-${this.size}`]: !!this.size,
|
|
431
|
+
[`stzh-dropdown--${this.variant}`]: !!this.variant
|
|
432
|
+
};
|
|
433
|
+
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 ?
|
|
434
|
+
h("stzh-icon", { class: "stzh-dropdown__icon", name: this.icon })
|
|
435
|
+
:
|
|
436
|
+
h("slot", { name: "icon" })), h("label", { class: "stzh-dropdown__label", htmlFor: this.dropdownId }, this.label ? this.label : h("slot", { name: "label" }), this.showMarker &&
|
|
437
|
+
h("span", { class: "stzh-dropdown__marker" }, h("span", { class: "stzh-dropdown__marker-symbol", "aria-hidden": "true" }, this.required
|
|
438
|
+
? this.localization.$globals.requiredFieldMarker
|
|
439
|
+
: this.localization.$globals.optionalFieldMarker), h("span", { class: "stzh-dropdown__marker-text" }, this.required
|
|
440
|
+
? this.localization.$globals.requiredFieldText
|
|
441
|
+
: 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 }))));
|
|
442
|
+
}
|
|
443
|
+
static get is() { return "stzh-dropdown"; }
|
|
444
|
+
static get originalStyleUrls() {
|
|
445
|
+
return {
|
|
446
|
+
"$": ["stzh-dropdown.scss"]
|
|
447
|
+
};
|
|
448
|
+
}
|
|
449
|
+
static get styleUrls() {
|
|
450
|
+
return {
|
|
451
|
+
"$": ["stzh-dropdown.css"]
|
|
452
|
+
};
|
|
453
|
+
}
|
|
454
|
+
static get properties() {
|
|
455
|
+
return {
|
|
456
|
+
"options": {
|
|
457
|
+
"type": "string",
|
|
458
|
+
"mutable": false,
|
|
459
|
+
"complexType": {
|
|
460
|
+
"original": "any[] | string",
|
|
461
|
+
"resolved": "any[] | string",
|
|
462
|
+
"references": {}
|
|
463
|
+
},
|
|
464
|
+
"required": false,
|
|
465
|
+
"optional": false,
|
|
466
|
+
"docs": {
|
|
467
|
+
"tags": [],
|
|
468
|
+
"text": "Available options"
|
|
469
|
+
},
|
|
470
|
+
"attribute": "options",
|
|
471
|
+
"reflect": false
|
|
472
|
+
},
|
|
473
|
+
"optgroups": {
|
|
474
|
+
"type": "string",
|
|
475
|
+
"mutable": false,
|
|
476
|
+
"complexType": {
|
|
477
|
+
"original": "any[] | string",
|
|
478
|
+
"resolved": "any[] | string",
|
|
479
|
+
"references": {}
|
|
480
|
+
},
|
|
481
|
+
"required": false,
|
|
482
|
+
"optional": false,
|
|
483
|
+
"docs": {
|
|
484
|
+
"tags": [],
|
|
485
|
+
"text": "Option groups that options will be bucketed into.\nMake sure each object in the array has a property named whatever `optgroupValueField` is set to."
|
|
486
|
+
},
|
|
487
|
+
"attribute": "optgroups",
|
|
488
|
+
"reflect": false
|
|
489
|
+
},
|
|
490
|
+
"items": {
|
|
491
|
+
"type": "string",
|
|
492
|
+
"mutable": false,
|
|
493
|
+
"complexType": {
|
|
494
|
+
"original": "string[] | string",
|
|
495
|
+
"resolved": "string | string[]",
|
|
496
|
+
"references": {}
|
|
497
|
+
},
|
|
498
|
+
"required": false,
|
|
499
|
+
"optional": false,
|
|
500
|
+
"docs": {
|
|
501
|
+
"tags": [],
|
|
502
|
+
"text": "Selected values"
|
|
503
|
+
},
|
|
504
|
+
"attribute": "items",
|
|
505
|
+
"reflect": false
|
|
506
|
+
},
|
|
507
|
+
"searchField": {
|
|
508
|
+
"type": "string",
|
|
509
|
+
"mutable": false,
|
|
510
|
+
"complexType": {
|
|
511
|
+
"original": "string[] | string",
|
|
512
|
+
"resolved": "string | string[]",
|
|
513
|
+
"references": {}
|
|
514
|
+
},
|
|
515
|
+
"required": false,
|
|
516
|
+
"optional": false,
|
|
517
|
+
"docs": {
|
|
518
|
+
"tags": [],
|
|
519
|
+
"text": "An array of property names to analyze when filtering options.\nWeights can be given to each field to improve search result:\n`[{\"field\":\"text\",\"weight\":2},{\"field\":\"text2\",\"weight\":0.5}]`"
|
|
520
|
+
},
|
|
521
|
+
"attribute": "search-field",
|
|
522
|
+
"reflect": false,
|
|
523
|
+
"defaultValue": "[\"text\"]"
|
|
524
|
+
},
|
|
525
|
+
"multiple": {
|
|
526
|
+
"type": "boolean",
|
|
527
|
+
"mutable": false,
|
|
528
|
+
"complexType": {
|
|
529
|
+
"original": "boolean",
|
|
530
|
+
"resolved": "boolean",
|
|
531
|
+
"references": {}
|
|
532
|
+
},
|
|
533
|
+
"required": false,
|
|
534
|
+
"optional": false,
|
|
535
|
+
"docs": {
|
|
536
|
+
"tags": [],
|
|
537
|
+
"text": "Whether multiple items option can be selected"
|
|
538
|
+
},
|
|
539
|
+
"attribute": "multiple",
|
|
540
|
+
"reflect": true,
|
|
541
|
+
"defaultValue": "false"
|
|
542
|
+
},
|
|
543
|
+
"inline": {
|
|
544
|
+
"type": "boolean",
|
|
545
|
+
"mutable": false,
|
|
546
|
+
"complexType": {
|
|
547
|
+
"original": "boolean",
|
|
548
|
+
"resolved": "boolean",
|
|
549
|
+
"references": {}
|
|
550
|
+
},
|
|
551
|
+
"required": false,
|
|
552
|
+
"optional": false,
|
|
553
|
+
"docs": {
|
|
554
|
+
"tags": [],
|
|
555
|
+
"text": "Show inline (auto width)"
|
|
556
|
+
},
|
|
557
|
+
"attribute": "inline",
|
|
558
|
+
"reflect": true,
|
|
559
|
+
"defaultValue": "false"
|
|
560
|
+
},
|
|
561
|
+
"maxOptions": {
|
|
562
|
+
"type": "number",
|
|
563
|
+
"mutable": false,
|
|
564
|
+
"complexType": {
|
|
565
|
+
"original": "number | null",
|
|
566
|
+
"resolved": "number",
|
|
567
|
+
"references": {}
|
|
568
|
+
},
|
|
569
|
+
"required": false,
|
|
570
|
+
"optional": false,
|
|
571
|
+
"docs": {
|
|
572
|
+
"tags": [],
|
|
573
|
+
"text": "The max number of options to display in the dropdown. Set to `null` for an unlimited number of options."
|
|
574
|
+
},
|
|
575
|
+
"attribute": "max-options",
|
|
576
|
+
"reflect": false,
|
|
577
|
+
"defaultValue": "50"
|
|
578
|
+
},
|
|
579
|
+
"searchConjunction": {
|
|
580
|
+
"type": "string",
|
|
581
|
+
"mutable": false,
|
|
582
|
+
"complexType": {
|
|
583
|
+
"original": "\"and\" | \"or\"",
|
|
584
|
+
"resolved": "\"and\" | \"or\"",
|
|
585
|
+
"references": {}
|
|
586
|
+
},
|
|
587
|
+
"required": false,
|
|
588
|
+
"optional": false,
|
|
589
|
+
"docs": {
|
|
590
|
+
"tags": [],
|
|
591
|
+
"text": "When searching for multiple terms (separated by space), this is the operator used. Can be 'and' or 'or'"
|
|
592
|
+
},
|
|
593
|
+
"attribute": "search-conjunction",
|
|
594
|
+
"reflect": false,
|
|
595
|
+
"defaultValue": "\"and\""
|
|
596
|
+
},
|
|
597
|
+
"allowEmptyOption": {
|
|
598
|
+
"type": "boolean",
|
|
599
|
+
"mutable": false,
|
|
600
|
+
"complexType": {
|
|
601
|
+
"original": "boolean",
|
|
602
|
+
"resolved": "boolean",
|
|
603
|
+
"references": {}
|
|
604
|
+
},
|
|
605
|
+
"required": false,
|
|
606
|
+
"optional": false,
|
|
607
|
+
"docs": {
|
|
608
|
+
"tags": [],
|
|
609
|
+
"text": "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."
|
|
610
|
+
},
|
|
611
|
+
"attribute": "allow-empty-option",
|
|
612
|
+
"reflect": false,
|
|
613
|
+
"defaultValue": "false"
|
|
614
|
+
},
|
|
615
|
+
"openOnFocus": {
|
|
616
|
+
"type": "boolean",
|
|
617
|
+
"mutable": false,
|
|
618
|
+
"complexType": {
|
|
619
|
+
"original": "boolean",
|
|
620
|
+
"resolved": "boolean",
|
|
621
|
+
"references": {}
|
|
622
|
+
},
|
|
623
|
+
"required": false,
|
|
624
|
+
"optional": false,
|
|
625
|
+
"docs": {
|
|
626
|
+
"tags": [],
|
|
627
|
+
"text": "Show the dropdown immediately when the control receives focus."
|
|
628
|
+
},
|
|
629
|
+
"attribute": "open-on-focus",
|
|
630
|
+
"reflect": false,
|
|
631
|
+
"defaultValue": "true"
|
|
632
|
+
},
|
|
633
|
+
"closeAfterSelect": {
|
|
634
|
+
"type": "boolean",
|
|
635
|
+
"mutable": false,
|
|
636
|
+
"complexType": {
|
|
637
|
+
"original": "boolean | null",
|
|
638
|
+
"resolved": "boolean",
|
|
639
|
+
"references": {}
|
|
640
|
+
},
|
|
641
|
+
"required": false,
|
|
642
|
+
"optional": false,
|
|
643
|
+
"docs": {
|
|
644
|
+
"tags": [],
|
|
645
|
+
"text": "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."
|
|
646
|
+
},
|
|
647
|
+
"attribute": "close-after-select",
|
|
648
|
+
"reflect": false,
|
|
649
|
+
"defaultValue": "null"
|
|
650
|
+
},
|
|
651
|
+
"load": {
|
|
652
|
+
"type": "unknown",
|
|
653
|
+
"mutable": false,
|
|
654
|
+
"complexType": {
|
|
655
|
+
"original": "(query: string, callback: Function) => any[] | null",
|
|
656
|
+
"resolved": "(query: string, callback: Function) => any[]",
|
|
657
|
+
"references": {
|
|
658
|
+
"Function": {
|
|
659
|
+
"location": "global"
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
},
|
|
663
|
+
"required": false,
|
|
664
|
+
"optional": false,
|
|
665
|
+
"docs": {
|
|
666
|
+
"tags": [],
|
|
667
|
+
"text": "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)."
|
|
668
|
+
},
|
|
669
|
+
"defaultValue": "null"
|
|
670
|
+
},
|
|
671
|
+
"minCharacters": {
|
|
672
|
+
"type": "number",
|
|
673
|
+
"mutable": false,
|
|
674
|
+
"complexType": {
|
|
675
|
+
"original": "number",
|
|
676
|
+
"resolved": "number",
|
|
677
|
+
"references": {}
|
|
678
|
+
},
|
|
679
|
+
"required": false,
|
|
680
|
+
"optional": false,
|
|
681
|
+
"docs": {
|
|
682
|
+
"tags": [],
|
|
683
|
+
"text": "Minimum of characters required to execute the `load` function"
|
|
684
|
+
},
|
|
685
|
+
"attribute": "min-characters",
|
|
686
|
+
"reflect": false,
|
|
687
|
+
"defaultValue": "3"
|
|
688
|
+
},
|
|
689
|
+
"loadThrottle": {
|
|
690
|
+
"type": "number",
|
|
691
|
+
"mutable": false,
|
|
692
|
+
"complexType": {
|
|
693
|
+
"original": "number",
|
|
694
|
+
"resolved": "number",
|
|
695
|
+
"references": {}
|
|
696
|
+
},
|
|
697
|
+
"required": false,
|
|
698
|
+
"optional": false,
|
|
699
|
+
"docs": {
|
|
700
|
+
"tags": [],
|
|
701
|
+
"text": "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."
|
|
702
|
+
},
|
|
703
|
+
"attribute": "load-throttle",
|
|
704
|
+
"reflect": false,
|
|
705
|
+
"defaultValue": "300"
|
|
706
|
+
},
|
|
707
|
+
"preload": {
|
|
708
|
+
"type": "any",
|
|
709
|
+
"mutable": false,
|
|
710
|
+
"complexType": {
|
|
711
|
+
"original": "boolean | \"focus\"",
|
|
712
|
+
"resolved": "\"focus\" | boolean",
|
|
713
|
+
"references": {}
|
|
714
|
+
},
|
|
715
|
+
"required": false,
|
|
716
|
+
"optional": false,
|
|
717
|
+
"docs": {
|
|
718
|
+
"tags": [],
|
|
719
|
+
"text": "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."
|
|
720
|
+
},
|
|
721
|
+
"attribute": "preload",
|
|
722
|
+
"reflect": false,
|
|
723
|
+
"defaultValue": "false"
|
|
724
|
+
},
|
|
725
|
+
"labelField": {
|
|
726
|
+
"type": "string",
|
|
727
|
+
"mutable": false,
|
|
728
|
+
"complexType": {
|
|
729
|
+
"original": "string",
|
|
730
|
+
"resolved": "string",
|
|
731
|
+
"references": {}
|
|
732
|
+
},
|
|
733
|
+
"required": false,
|
|
734
|
+
"optional": false,
|
|
735
|
+
"docs": {
|
|
736
|
+
"tags": [],
|
|
737
|
+
"text": "The name of the property to render as an option / item label (not needed when custom rendering functions are defined)."
|
|
738
|
+
},
|
|
739
|
+
"attribute": "label-field",
|
|
740
|
+
"reflect": false,
|
|
741
|
+
"defaultValue": "\"text\""
|
|
742
|
+
},
|
|
743
|
+
"valueField": {
|
|
744
|
+
"type": "string",
|
|
745
|
+
"mutable": false,
|
|
746
|
+
"complexType": {
|
|
747
|
+
"original": "string",
|
|
748
|
+
"resolved": "string",
|
|
749
|
+
"references": {}
|
|
750
|
+
},
|
|
751
|
+
"required": false,
|
|
752
|
+
"optional": false,
|
|
753
|
+
"docs": {
|
|
754
|
+
"tags": [],
|
|
755
|
+
"text": "The name of the property to use as the value when an item is selected."
|
|
756
|
+
},
|
|
757
|
+
"attribute": "value-field",
|
|
758
|
+
"reflect": false,
|
|
759
|
+
"defaultValue": "\"value\""
|
|
760
|
+
},
|
|
761
|
+
"optgroupField": {
|
|
762
|
+
"type": "string",
|
|
763
|
+
"mutable": false,
|
|
764
|
+
"complexType": {
|
|
765
|
+
"original": "string",
|
|
766
|
+
"resolved": "string",
|
|
767
|
+
"references": {}
|
|
768
|
+
},
|
|
769
|
+
"required": false,
|
|
770
|
+
"optional": false,
|
|
771
|
+
"docs": {
|
|
772
|
+
"tags": [],
|
|
773
|
+
"text": "The name of the property to group items by."
|
|
774
|
+
},
|
|
775
|
+
"attribute": "optgroup-field",
|
|
776
|
+
"reflect": false,
|
|
777
|
+
"defaultValue": "\"optgroup\""
|
|
778
|
+
},
|
|
779
|
+
"optgroupLabelField": {
|
|
780
|
+
"type": "string",
|
|
781
|
+
"mutable": false,
|
|
782
|
+
"complexType": {
|
|
783
|
+
"original": "string",
|
|
784
|
+
"resolved": "string",
|
|
785
|
+
"references": {}
|
|
786
|
+
},
|
|
787
|
+
"required": false,
|
|
788
|
+
"optional": false,
|
|
789
|
+
"docs": {
|
|
790
|
+
"tags": [],
|
|
791
|
+
"text": "The name of the property to render as an option group label (not needed when custom rendering functions are defined)."
|
|
792
|
+
},
|
|
793
|
+
"attribute": "optgroup-label-field",
|
|
794
|
+
"reflect": false,
|
|
795
|
+
"defaultValue": "\"label\""
|
|
796
|
+
},
|
|
797
|
+
"optgroupValueField": {
|
|
798
|
+
"type": "string",
|
|
799
|
+
"mutable": false,
|
|
800
|
+
"complexType": {
|
|
801
|
+
"original": "string",
|
|
802
|
+
"resolved": "string",
|
|
803
|
+
"references": {}
|
|
804
|
+
},
|
|
805
|
+
"required": false,
|
|
806
|
+
"optional": false,
|
|
807
|
+
"docs": {
|
|
808
|
+
"tags": [],
|
|
809
|
+
"text": "The name of the option group property that serves as its unique identifier."
|
|
810
|
+
},
|
|
811
|
+
"attribute": "optgroup-value-field",
|
|
812
|
+
"reflect": false,
|
|
813
|
+
"defaultValue": "\"value\""
|
|
814
|
+
},
|
|
815
|
+
"lockOptgroupOrder": {
|
|
816
|
+
"type": "boolean",
|
|
817
|
+
"mutable": false,
|
|
818
|
+
"complexType": {
|
|
819
|
+
"original": "true",
|
|
820
|
+
"resolved": "boolean",
|
|
821
|
+
"references": {}
|
|
822
|
+
},
|
|
823
|
+
"required": false,
|
|
824
|
+
"optional": false,
|
|
825
|
+
"docs": {
|
|
826
|
+
"tags": [],
|
|
827
|
+
"text": "If truthy, all optgroups will be displayed in the same order as they were added (by the `$order` property). Otherwise, it will order based on the score of the results in each."
|
|
828
|
+
},
|
|
829
|
+
"attribute": "lock-optgroup-order",
|
|
830
|
+
"reflect": false
|
|
831
|
+
},
|
|
832
|
+
"name": {
|
|
833
|
+
"type": "string",
|
|
834
|
+
"mutable": false,
|
|
835
|
+
"complexType": {
|
|
836
|
+
"original": "string",
|
|
837
|
+
"resolved": "string",
|
|
838
|
+
"references": {}
|
|
839
|
+
},
|
|
840
|
+
"required": false,
|
|
841
|
+
"optional": false,
|
|
842
|
+
"docs": {
|
|
843
|
+
"tags": [],
|
|
844
|
+
"text": "Name of hidden select element"
|
|
845
|
+
},
|
|
846
|
+
"attribute": "name",
|
|
847
|
+
"reflect": true,
|
|
848
|
+
"defaultValue": "\"\""
|
|
849
|
+
},
|
|
850
|
+
"variant": {
|
|
851
|
+
"type": "string",
|
|
852
|
+
"mutable": false,
|
|
853
|
+
"complexType": {
|
|
854
|
+
"original": "\"default\" | \"plain\"",
|
|
855
|
+
"resolved": "\"default\" | \"plain\"",
|
|
856
|
+
"references": {}
|
|
857
|
+
},
|
|
858
|
+
"required": false,
|
|
859
|
+
"optional": false,
|
|
860
|
+
"docs": {
|
|
861
|
+
"tags": [],
|
|
862
|
+
"text": "Variant"
|
|
863
|
+
},
|
|
864
|
+
"attribute": "variant",
|
|
865
|
+
"reflect": true,
|
|
866
|
+
"defaultValue": "\"default\""
|
|
867
|
+
},
|
|
868
|
+
"size": {
|
|
869
|
+
"type": "string",
|
|
870
|
+
"mutable": false,
|
|
871
|
+
"complexType": {
|
|
872
|
+
"original": "\"default\" | \"small\"",
|
|
873
|
+
"resolved": "\"default\" | \"small\"",
|
|
874
|
+
"references": {}
|
|
875
|
+
},
|
|
876
|
+
"required": false,
|
|
877
|
+
"optional": false,
|
|
878
|
+
"docs": {
|
|
879
|
+
"tags": [],
|
|
880
|
+
"text": "Size variant"
|
|
881
|
+
},
|
|
882
|
+
"attribute": "size",
|
|
883
|
+
"reflect": true,
|
|
884
|
+
"defaultValue": "\"default\""
|
|
885
|
+
},
|
|
886
|
+
"disabled": {
|
|
887
|
+
"type": "boolean",
|
|
888
|
+
"mutable": false,
|
|
889
|
+
"complexType": {
|
|
890
|
+
"original": "boolean",
|
|
891
|
+
"resolved": "boolean",
|
|
892
|
+
"references": {}
|
|
893
|
+
},
|
|
894
|
+
"required": false,
|
|
895
|
+
"optional": false,
|
|
896
|
+
"docs": {
|
|
897
|
+
"tags": [],
|
|
898
|
+
"text": "Whether the dropdown is disabled"
|
|
899
|
+
},
|
|
900
|
+
"attribute": "disabled",
|
|
901
|
+
"reflect": true,
|
|
902
|
+
"defaultValue": "false"
|
|
903
|
+
},
|
|
904
|
+
"popoverPlacement": {
|
|
905
|
+
"type": "string",
|
|
906
|
+
"mutable": false,
|
|
907
|
+
"complexType": {
|
|
908
|
+
"original": "\"bottom\" | \"top\"",
|
|
909
|
+
"resolved": "\"bottom\" | \"top\"",
|
|
910
|
+
"references": {}
|
|
911
|
+
},
|
|
912
|
+
"required": false,
|
|
913
|
+
"optional": false,
|
|
914
|
+
"docs": {
|
|
915
|
+
"tags": [],
|
|
916
|
+
"text": "Popover placement"
|
|
917
|
+
},
|
|
918
|
+
"attribute": "popover-placement",
|
|
919
|
+
"reflect": true,
|
|
920
|
+
"defaultValue": "\"bottom\""
|
|
921
|
+
},
|
|
922
|
+
"label": {
|
|
923
|
+
"type": "string",
|
|
924
|
+
"mutable": false,
|
|
925
|
+
"complexType": {
|
|
926
|
+
"original": "string",
|
|
927
|
+
"resolved": "string",
|
|
928
|
+
"references": {}
|
|
929
|
+
},
|
|
930
|
+
"required": false,
|
|
931
|
+
"optional": false,
|
|
932
|
+
"docs": {
|
|
933
|
+
"tags": [],
|
|
934
|
+
"text": "Label"
|
|
935
|
+
},
|
|
936
|
+
"attribute": "label",
|
|
937
|
+
"reflect": false,
|
|
938
|
+
"defaultValue": "\"\""
|
|
939
|
+
},
|
|
940
|
+
"icon": {
|
|
941
|
+
"type": "string",
|
|
942
|
+
"mutable": false,
|
|
943
|
+
"complexType": {
|
|
944
|
+
"original": "string",
|
|
945
|
+
"resolved": "string",
|
|
946
|
+
"references": {}
|
|
947
|
+
},
|
|
948
|
+
"required": false,
|
|
949
|
+
"optional": false,
|
|
950
|
+
"docs": {
|
|
951
|
+
"tags": [],
|
|
952
|
+
"text": "Icon (use instead of icon slot)"
|
|
953
|
+
},
|
|
954
|
+
"attribute": "icon",
|
|
955
|
+
"reflect": false,
|
|
956
|
+
"defaultValue": "\"\""
|
|
957
|
+
},
|
|
958
|
+
"noSearch": {
|
|
959
|
+
"type": "boolean",
|
|
960
|
+
"mutable": false,
|
|
961
|
+
"complexType": {
|
|
962
|
+
"original": "boolean",
|
|
963
|
+
"resolved": "boolean",
|
|
964
|
+
"references": {}
|
|
965
|
+
},
|
|
966
|
+
"required": false,
|
|
967
|
+
"optional": false,
|
|
968
|
+
"docs": {
|
|
969
|
+
"tags": [],
|
|
970
|
+
"text": "Prevent option search"
|
|
971
|
+
},
|
|
972
|
+
"attribute": "no-search",
|
|
973
|
+
"reflect": false,
|
|
974
|
+
"defaultValue": "false"
|
|
975
|
+
},
|
|
976
|
+
"noBackspaceDelete": {
|
|
977
|
+
"type": "boolean",
|
|
978
|
+
"mutable": false,
|
|
979
|
+
"complexType": {
|
|
980
|
+
"original": "boolean",
|
|
981
|
+
"resolved": "boolean",
|
|
982
|
+
"references": {}
|
|
983
|
+
},
|
|
984
|
+
"required": false,
|
|
985
|
+
"optional": false,
|
|
986
|
+
"docs": {
|
|
987
|
+
"tags": [],
|
|
988
|
+
"text": "Prevent backspace delete"
|
|
989
|
+
},
|
|
990
|
+
"attribute": "no-backspace-delete",
|
|
991
|
+
"reflect": false,
|
|
992
|
+
"defaultValue": "false"
|
|
993
|
+
},
|
|
994
|
+
"invalid": {
|
|
995
|
+
"type": "boolean",
|
|
996
|
+
"mutable": false,
|
|
997
|
+
"complexType": {
|
|
998
|
+
"original": "boolean",
|
|
999
|
+
"resolved": "boolean",
|
|
1000
|
+
"references": {}
|
|
1001
|
+
},
|
|
1002
|
+
"required": false,
|
|
1003
|
+
"optional": false,
|
|
1004
|
+
"docs": {
|
|
1005
|
+
"tags": [],
|
|
1006
|
+
"text": "Invalid status"
|
|
1007
|
+
},
|
|
1008
|
+
"attribute": "invalid",
|
|
1009
|
+
"reflect": true,
|
|
1010
|
+
"defaultValue": "false"
|
|
1011
|
+
},
|
|
1012
|
+
"required": {
|
|
1013
|
+
"type": "boolean",
|
|
1014
|
+
"mutable": false,
|
|
1015
|
+
"complexType": {
|
|
1016
|
+
"original": "boolean",
|
|
1017
|
+
"resolved": "boolean",
|
|
1018
|
+
"references": {}
|
|
1019
|
+
},
|
|
1020
|
+
"required": false,
|
|
1021
|
+
"optional": false,
|
|
1022
|
+
"docs": {
|
|
1023
|
+
"tags": [],
|
|
1024
|
+
"text": "Required status"
|
|
1025
|
+
},
|
|
1026
|
+
"attribute": "required",
|
|
1027
|
+
"reflect": true,
|
|
1028
|
+
"defaultValue": "false"
|
|
1029
|
+
},
|
|
1030
|
+
"showMarker": {
|
|
1031
|
+
"type": "boolean",
|
|
1032
|
+
"mutable": false,
|
|
1033
|
+
"complexType": {
|
|
1034
|
+
"original": "boolean",
|
|
1035
|
+
"resolved": "boolean",
|
|
1036
|
+
"references": {}
|
|
1037
|
+
},
|
|
1038
|
+
"required": false,
|
|
1039
|
+
"optional": false,
|
|
1040
|
+
"docs": {
|
|
1041
|
+
"tags": [],
|
|
1042
|
+
"text": "Show text in label depending if field is optional/required"
|
|
1043
|
+
},
|
|
1044
|
+
"attribute": "show-marker",
|
|
1045
|
+
"reflect": true,
|
|
1046
|
+
"defaultValue": "false"
|
|
1047
|
+
},
|
|
1048
|
+
"description": {
|
|
1049
|
+
"type": "string",
|
|
1050
|
+
"mutable": false,
|
|
1051
|
+
"complexType": {
|
|
1052
|
+
"original": "string",
|
|
1053
|
+
"resolved": "string",
|
|
1054
|
+
"references": {}
|
|
1055
|
+
},
|
|
1056
|
+
"required": false,
|
|
1057
|
+
"optional": false,
|
|
1058
|
+
"docs": {
|
|
1059
|
+
"tags": [],
|
|
1060
|
+
"text": "Description message (use description slot as alternative)"
|
|
1061
|
+
},
|
|
1062
|
+
"attribute": "description",
|
|
1063
|
+
"reflect": false
|
|
1064
|
+
},
|
|
1065
|
+
"descriptionLong": {
|
|
1066
|
+
"type": "string",
|
|
1067
|
+
"mutable": false,
|
|
1068
|
+
"complexType": {
|
|
1069
|
+
"original": "string",
|
|
1070
|
+
"resolved": "string",
|
|
1071
|
+
"references": {}
|
|
1072
|
+
},
|
|
1073
|
+
"required": false,
|
|
1074
|
+
"optional": false,
|
|
1075
|
+
"docs": {
|
|
1076
|
+
"tags": [],
|
|
1077
|
+
"text": "Long description message appearing in a popover (use description-long slot as alternative)"
|
|
1078
|
+
},
|
|
1079
|
+
"attribute": "description-long",
|
|
1080
|
+
"reflect": false
|
|
1081
|
+
},
|
|
1082
|
+
"error": {
|
|
1083
|
+
"type": "string",
|
|
1084
|
+
"mutable": false,
|
|
1085
|
+
"complexType": {
|
|
1086
|
+
"original": "string | string[]",
|
|
1087
|
+
"resolved": "string | string[]",
|
|
1088
|
+
"references": {}
|
|
1089
|
+
},
|
|
1090
|
+
"required": false,
|
|
1091
|
+
"optional": false,
|
|
1092
|
+
"docs": {
|
|
1093
|
+
"tags": [],
|
|
1094
|
+
"text": "One or multiple error message (use error slot as alternative)"
|
|
1095
|
+
},
|
|
1096
|
+
"attribute": "error",
|
|
1097
|
+
"reflect": false
|
|
1098
|
+
},
|
|
1099
|
+
"placeholder": {
|
|
1100
|
+
"type": "string",
|
|
1101
|
+
"mutable": false,
|
|
1102
|
+
"complexType": {
|
|
1103
|
+
"original": "string",
|
|
1104
|
+
"resolved": "string",
|
|
1105
|
+
"references": {}
|
|
1106
|
+
},
|
|
1107
|
+
"required": false,
|
|
1108
|
+
"optional": false,
|
|
1109
|
+
"docs": {
|
|
1110
|
+
"tags": [{
|
|
1111
|
+
"name": "deprecated",
|
|
1112
|
+
"text": undefined
|
|
1113
|
+
}],
|
|
1114
|
+
"text": "Placeholder option"
|
|
1115
|
+
},
|
|
1116
|
+
"attribute": "placeholder",
|
|
1117
|
+
"reflect": false
|
|
1118
|
+
},
|
|
1119
|
+
"localization": {
|
|
1120
|
+
"type": "unknown",
|
|
1121
|
+
"mutable": false,
|
|
1122
|
+
"complexType": {
|
|
1123
|
+
"original": "StzhDropdownLocalizedText",
|
|
1124
|
+
"resolved": "StzhLocaleComponent & { create: string; notLoading: string; noResults: string; removeButtonTitle: string; }",
|
|
1125
|
+
"references": {
|
|
1126
|
+
"StzhDropdownLocalizedText": {
|
|
1127
|
+
"location": "import",
|
|
1128
|
+
"path": "./stzh-dropdown.localization"
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1131
|
+
},
|
|
1132
|
+
"required": false,
|
|
1133
|
+
"optional": false,
|
|
1134
|
+
"docs": {
|
|
1135
|
+
"tags": [],
|
|
1136
|
+
"text": "Translation strings"
|
|
1137
|
+
}
|
|
1138
|
+
},
|
|
1139
|
+
"a11yDescribedby": {
|
|
1140
|
+
"type": "string",
|
|
1141
|
+
"mutable": false,
|
|
1142
|
+
"complexType": {
|
|
1143
|
+
"original": "string",
|
|
1144
|
+
"resolved": "string",
|
|
1145
|
+
"references": {}
|
|
1146
|
+
},
|
|
1147
|
+
"required": false,
|
|
1148
|
+
"optional": false,
|
|
1149
|
+
"docs": {
|
|
1150
|
+
"tags": [],
|
|
1151
|
+
"text": "Id for element which describes the input (this will be overwritten if description prop or slot is used, used by stzh-radiogroup)"
|
|
1152
|
+
},
|
|
1153
|
+
"attribute": "a11y-describedby",
|
|
1154
|
+
"reflect": false,
|
|
1155
|
+
"defaultValue": "\"\""
|
|
1156
|
+
}
|
|
1157
|
+
};
|
|
1158
|
+
}
|
|
1159
|
+
static get events() {
|
|
1160
|
+
return [{
|
|
1161
|
+
"method": "stzhChange",
|
|
1162
|
+
"name": "stzhChange",
|
|
1163
|
+
"bubbles": true,
|
|
1164
|
+
"cancelable": true,
|
|
1165
|
+
"composed": true,
|
|
1166
|
+
"docs": {
|
|
1167
|
+
"tags": [],
|
|
1168
|
+
"text": "Dropdown change event"
|
|
1169
|
+
},
|
|
1170
|
+
"complexType": {
|
|
1171
|
+
"original": "StzhDropdownChangeEvent",
|
|
1172
|
+
"resolved": "{ component: \"stzh-dropdown\"; value: string; }",
|
|
1173
|
+
"references": {
|
|
1174
|
+
"StzhDropdownChangeEvent": {
|
|
1175
|
+
"location": "import",
|
|
1176
|
+
"path": "../../index"
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
}, {
|
|
1181
|
+
"method": "stzhItemAdd",
|
|
1182
|
+
"name": "stzhItemAdd",
|
|
1183
|
+
"bubbles": true,
|
|
1184
|
+
"cancelable": true,
|
|
1185
|
+
"composed": true,
|
|
1186
|
+
"docs": {
|
|
1187
|
+
"tags": [],
|
|
1188
|
+
"text": "Dropdown focus event"
|
|
1189
|
+
},
|
|
1190
|
+
"complexType": {
|
|
1191
|
+
"original": "StzhDropdownItemAddEvent",
|
|
1192
|
+
"resolved": "{ component: \"stzh-dropdown\"; value: string; }",
|
|
1193
|
+
"references": {
|
|
1194
|
+
"StzhDropdownItemAddEvent": {
|
|
1195
|
+
"location": "import",
|
|
1196
|
+
"path": "../../index"
|
|
1197
|
+
}
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1200
|
+
}, {
|
|
1201
|
+
"method": "stzhItemRemove",
|
|
1202
|
+
"name": "stzhItemRemove",
|
|
1203
|
+
"bubbles": true,
|
|
1204
|
+
"cancelable": true,
|
|
1205
|
+
"composed": true,
|
|
1206
|
+
"docs": {
|
|
1207
|
+
"tags": [],
|
|
1208
|
+
"text": "Dropdown focus event"
|
|
1209
|
+
},
|
|
1210
|
+
"complexType": {
|
|
1211
|
+
"original": "StzhDropdownItemRemoveEvent",
|
|
1212
|
+
"resolved": "{ component: \"stzh-dropdown\"; value: string; }",
|
|
1213
|
+
"references": {
|
|
1214
|
+
"StzhDropdownItemRemoveEvent": {
|
|
1215
|
+
"location": "import",
|
|
1216
|
+
"path": "../../index"
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
}, {
|
|
1221
|
+
"method": "stzhOptionAdd",
|
|
1222
|
+
"name": "stzhOptionAdd",
|
|
1223
|
+
"bubbles": true,
|
|
1224
|
+
"cancelable": true,
|
|
1225
|
+
"composed": true,
|
|
1226
|
+
"docs": {
|
|
1227
|
+
"tags": [],
|
|
1228
|
+
"text": "Dropdown focus event"
|
|
1229
|
+
},
|
|
1230
|
+
"complexType": {
|
|
1231
|
+
"original": "StzhDropdownOptionAddEvent",
|
|
1232
|
+
"resolved": "{ component: \"stzh-dropdown\"; value: string; }",
|
|
1233
|
+
"references": {
|
|
1234
|
+
"StzhDropdownOptionAddEvent": {
|
|
1235
|
+
"location": "import",
|
|
1236
|
+
"path": "../../index"
|
|
1237
|
+
}
|
|
1238
|
+
}
|
|
1239
|
+
}
|
|
1240
|
+
}, {
|
|
1241
|
+
"method": "stzhOptionRemove",
|
|
1242
|
+
"name": "stzhOptionRemove",
|
|
1243
|
+
"bubbles": true,
|
|
1244
|
+
"cancelable": true,
|
|
1245
|
+
"composed": true,
|
|
1246
|
+
"docs": {
|
|
1247
|
+
"tags": [],
|
|
1248
|
+
"text": "Dropdown focus event"
|
|
1249
|
+
},
|
|
1250
|
+
"complexType": {
|
|
1251
|
+
"original": "StzhDropdownOptionRemoveEvent",
|
|
1252
|
+
"resolved": "{ component: \"stzh-dropdown\"; value: string; }",
|
|
1253
|
+
"references": {
|
|
1254
|
+
"StzhDropdownOptionRemoveEvent": {
|
|
1255
|
+
"location": "import",
|
|
1256
|
+
"path": "../../index"
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
}
|
|
1260
|
+
}, {
|
|
1261
|
+
"method": "stzhOpen",
|
|
1262
|
+
"name": "stzhOpen",
|
|
1263
|
+
"bubbles": true,
|
|
1264
|
+
"cancelable": true,
|
|
1265
|
+
"composed": true,
|
|
1266
|
+
"docs": {
|
|
1267
|
+
"tags": [],
|
|
1268
|
+
"text": "Dropdown focus event"
|
|
1269
|
+
},
|
|
1270
|
+
"complexType": {
|
|
1271
|
+
"original": "StzhDropdownOpenEvent",
|
|
1272
|
+
"resolved": "{ component: \"stzh-dropdown\"; }",
|
|
1273
|
+
"references": {
|
|
1274
|
+
"StzhDropdownOpenEvent": {
|
|
1275
|
+
"location": "import",
|
|
1276
|
+
"path": "../../index"
|
|
1277
|
+
}
|
|
1278
|
+
}
|
|
1279
|
+
}
|
|
1280
|
+
}, {
|
|
1281
|
+
"method": "stzhClose",
|
|
1282
|
+
"name": "stzhClose",
|
|
1283
|
+
"bubbles": true,
|
|
1284
|
+
"cancelable": true,
|
|
1285
|
+
"composed": true,
|
|
1286
|
+
"docs": {
|
|
1287
|
+
"tags": [],
|
|
1288
|
+
"text": "Dropdown focus event"
|
|
1289
|
+
},
|
|
1290
|
+
"complexType": {
|
|
1291
|
+
"original": "StzhDropdowCloseEvent",
|
|
1292
|
+
"resolved": "{ component: \"stzh-dropdown\"; }",
|
|
1293
|
+
"references": {
|
|
1294
|
+
"StzhDropdowCloseEvent": {
|
|
1295
|
+
"location": "import",
|
|
1296
|
+
"path": "../../index"
|
|
1297
|
+
}
|
|
1298
|
+
}
|
|
1299
|
+
}
|
|
1300
|
+
}, {
|
|
1301
|
+
"method": "stzhFocus",
|
|
1302
|
+
"name": "stzhFocus",
|
|
1303
|
+
"bubbles": true,
|
|
1304
|
+
"cancelable": true,
|
|
1305
|
+
"composed": true,
|
|
1306
|
+
"docs": {
|
|
1307
|
+
"tags": [],
|
|
1308
|
+
"text": "Dropdown focus event"
|
|
1309
|
+
},
|
|
1310
|
+
"complexType": {
|
|
1311
|
+
"original": "StzhDropdownFocusEvent",
|
|
1312
|
+
"resolved": "{ component: \"stzh-dropdown\"; }",
|
|
1313
|
+
"references": {
|
|
1314
|
+
"StzhDropdownFocusEvent": {
|
|
1315
|
+
"location": "import",
|
|
1316
|
+
"path": "../../index"
|
|
1317
|
+
}
|
|
1318
|
+
}
|
|
1319
|
+
}
|
|
1320
|
+
}, {
|
|
1321
|
+
"method": "stzhBlur",
|
|
1322
|
+
"name": "stzhBlur",
|
|
1323
|
+
"bubbles": true,
|
|
1324
|
+
"cancelable": true,
|
|
1325
|
+
"composed": true,
|
|
1326
|
+
"docs": {
|
|
1327
|
+
"tags": [],
|
|
1328
|
+
"text": "Dropdown blur event"
|
|
1329
|
+
},
|
|
1330
|
+
"complexType": {
|
|
1331
|
+
"original": "StzhDropdownBlurEvent",
|
|
1332
|
+
"resolved": "{ component: \"stzh-dropdown\"; }",
|
|
1333
|
+
"references": {
|
|
1334
|
+
"StzhDropdownBlurEvent": {
|
|
1335
|
+
"location": "import",
|
|
1336
|
+
"path": "../../index"
|
|
1337
|
+
}
|
|
1338
|
+
}
|
|
1339
|
+
}
|
|
1340
|
+
}, {
|
|
1341
|
+
"method": "stzhInit",
|
|
1342
|
+
"name": "stzhInit",
|
|
1343
|
+
"bubbles": true,
|
|
1344
|
+
"cancelable": true,
|
|
1345
|
+
"composed": true,
|
|
1346
|
+
"docs": {
|
|
1347
|
+
"tags": [],
|
|
1348
|
+
"text": "Dropdown focus event"
|
|
1349
|
+
},
|
|
1350
|
+
"complexType": {
|
|
1351
|
+
"original": "StzhDropdowInitEvent",
|
|
1352
|
+
"resolved": "{ component: \"stzh-dropdown\"; }",
|
|
1353
|
+
"references": {
|
|
1354
|
+
"StzhDropdowInitEvent": {
|
|
1355
|
+
"location": "import",
|
|
1356
|
+
"path": "../../index"
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1359
|
+
}
|
|
1360
|
+
}];
|
|
1361
|
+
}
|
|
1362
|
+
static get methods() {
|
|
1363
|
+
return {
|
|
1364
|
+
"getValue": {
|
|
1365
|
+
"complexType": {
|
|
1366
|
+
"signature": "() => Promise<string | string[]>",
|
|
1367
|
+
"parameters": [],
|
|
1368
|
+
"references": {
|
|
1369
|
+
"Promise": {
|
|
1370
|
+
"location": "global"
|
|
1371
|
+
}
|
|
1372
|
+
},
|
|
1373
|
+
"return": "Promise<string | string[]>"
|
|
1374
|
+
},
|
|
1375
|
+
"docs": {
|
|
1376
|
+
"text": "Returns the value of the control.\nIf multiple items can be selected,\nthis returns an array, otherwise a string.",
|
|
1377
|
+
"tags": []
|
|
1378
|
+
}
|
|
1379
|
+
},
|
|
1380
|
+
"setValue": {
|
|
1381
|
+
"complexType": {
|
|
1382
|
+
"signature": "(newValue: string | string[]) => Promise<void>",
|
|
1383
|
+
"parameters": [{
|
|
1384
|
+
"tags": [],
|
|
1385
|
+
"text": ""
|
|
1386
|
+
}],
|
|
1387
|
+
"references": {
|
|
1388
|
+
"Promise": {
|
|
1389
|
+
"location": "global"
|
|
1390
|
+
}
|
|
1391
|
+
},
|
|
1392
|
+
"return": "Promise<void>"
|
|
1393
|
+
},
|
|
1394
|
+
"docs": {
|
|
1395
|
+
"text": "Set new value",
|
|
1396
|
+
"tags": []
|
|
1397
|
+
}
|
|
1398
|
+
},
|
|
1399
|
+
"setFocus": {
|
|
1400
|
+
"complexType": {
|
|
1401
|
+
"signature": "() => Promise<void>",
|
|
1402
|
+
"parameters": [],
|
|
1403
|
+
"references": {
|
|
1404
|
+
"Promise": {
|
|
1405
|
+
"location": "global"
|
|
1406
|
+
}
|
|
1407
|
+
},
|
|
1408
|
+
"return": "Promise<void>"
|
|
1409
|
+
},
|
|
1410
|
+
"docs": {
|
|
1411
|
+
"text": "Focus select",
|
|
1412
|
+
"tags": []
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
};
|
|
1416
|
+
}
|
|
1417
|
+
static get elementRef() { return "element"; }
|
|
1418
|
+
static get watchers() {
|
|
1419
|
+
return [{
|
|
1420
|
+
"propName": "options",
|
|
1421
|
+
"methodName": "optionsWatcher"
|
|
1422
|
+
}, {
|
|
1423
|
+
"propName": "items",
|
|
1424
|
+
"methodName": "itemsWatcher"
|
|
1425
|
+
}, {
|
|
1426
|
+
"propName": "searchField",
|
|
1427
|
+
"methodName": "searchFieldWatcher"
|
|
1428
|
+
}, {
|
|
1429
|
+
"propName": "optgroups",
|
|
1430
|
+
"methodName": "optgroupsWatcher"
|
|
1431
|
+
}, {
|
|
1432
|
+
"propName": "error",
|
|
1433
|
+
"methodName": "errorWatcher"
|
|
1434
|
+
}];
|
|
1435
|
+
}
|
|
1436
|
+
}
|