@oiz/stzh-components 0.0.1-pretest → 1.5.0-alpha
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +1 -56
- package/dist/cjs/{animation-utils-c816beac.js → animation-utils-cfa35ce7.js} +37 -37
- package/dist/cjs/{app-globals-83a6c2d3.js → app-globals-3b6f75bd.js} +44 -42
- package/dist/cjs/{arrow-70a32014.js → arrow-3c3b0ae5.js} +3 -3
- package/dist/cjs/{date-adapter-2ffd8eaf.js → date-adapter-2a78f6f8.js} +85 -85
- package/dist/cjs/{date-utils-898a50be.js → date-utils-bb50c91f.js} +156 -156
- package/dist/cjs/{event-utils-4d7d610a.js → event-utils-9b64c792.js} +13 -13
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{media-utils-f1720906.js → media-utils-8cfc8591.js} +19 -19
- package/dist/cjs/{string-utils-223b03e2.js → string-utils-a867b99d.js} +12 -12
- package/dist/cjs/stzh-accordion-item.cjs.entry.js +170 -170
- package/dist/cjs/stzh-accordion.cjs.entry.js +63 -63
- package/dist/cjs/stzh-actions.cjs.entry.js +42 -42
- package/dist/cjs/stzh-appnav.cjs.entry.js +39 -39
- package/dist/cjs/stzh-appointments.cjs.entry.js +260 -260
- package/dist/cjs/stzh-badge_3.cjs.entry.js +146 -146
- package/dist/cjs/stzh-calendar.cjs.entry.js +291 -291
- package/dist/cjs/stzh-cell.cjs.entry.js +24 -24
- package/dist/cjs/stzh-checkbox.cjs.entry.js +123 -123
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +155 -157
- package/dist/cjs/stzh-chip-select.cjs.entry.js +55 -55
- package/dist/cjs/stzh-chip.cjs.entry.js +90 -90
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-container.cjs.entry.js +8 -8
- package/dist/cjs/stzh-cspace.cjs.entry.js +12 -12
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +92 -92
- package/dist/cjs/stzh-datamessagelist.cjs.entry.js +12 -12
- package/dist/cjs/stzh-datatable.cjs.entry.js +201 -201
- package/dist/cjs/stzh-datepicker_4.cjs.entry.js +456 -458
- package/dist/cjs/stzh-dialog.cjs.entry.js +180 -180
- package/dist/cjs/stzh-dropdown.cjs.entry.js +479 -452
- package/dist/cjs/stzh-fieldset.cjs.entry.js +24 -24
- package/dist/cjs/stzh-figure.cjs.entry.js +19 -19
- package/dist/cjs/stzh-flyingfocus.cjs.entry.js +167 -167
- package/dist/cjs/stzh-footer.cjs.entry.js +56 -56
- package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +132 -132
- package/dist/cjs/stzh-header.cjs.entry.js +151 -151
- package/dist/cjs/stzh-heading.cjs.entry.js +21 -21
- package/dist/cjs/stzh-hr.cjs.entry.js +12 -12
- package/dist/cjs/stzh-hspace.cjs.entry.js +30 -30
- package/dist/cjs/stzh-icon-sprite.cjs.entry.js +9 -9
- package/dist/cjs/{stzh-input-description-9ed61d1d.js → stzh-input-description-9802abc2.js} +15 -15
- package/dist/cjs/stzh-input.cjs.entry.js +187 -182
- package/dist/cjs/stzh-link.cjs.entry.js +95 -95
- package/dist/cjs/stzh-list-item.cjs.entry.js +15 -15
- package/dist/cjs/stzh-list.cjs.entry.js +15 -15
- package/dist/cjs/stzh-loader.cjs.entry.js +20 -20
- package/dist/cjs/stzh-loadingbar.cjs.entry.js +22 -22
- package/dist/cjs/stzh-menu_2.cjs.entry.js +81 -81
- package/dist/cjs/stzh-message.cjs.entry.js +72 -72
- package/dist/cjs/stzh-metanav.cjs.entry.js +26 -26
- package/dist/cjs/stzh-overlay.cjs.entry.js +88 -88
- package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +26 -26
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +61 -61
- package/dist/cjs/stzh-popover.cjs.entry.js +349 -349
- package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +13 -13
- package/dist/cjs/stzh-progressbar-item.cjs.entry.js +46 -46
- package/dist/cjs/stzh-progressbar.cjs.entry.js +114 -114
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +47 -47
- package/dist/cjs/stzh-row.cjs.entry.js +29 -29
- package/dist/cjs/stzh-saptcha.cjs.entry.js +70 -70
- package/dist/cjs/stzh-section.cjs.entry.js +13 -13
- package/dist/cjs/stzh-servicecard-list.cjs.entry.js +62 -45
- package/dist/cjs/stzh-servicecard.cjs.entry.js +224 -202
- package/dist/cjs/stzh-skiplink.cjs.entry.js +16 -16
- package/dist/cjs/stzh-sortable.cjs.entry.js +3485 -2712
- package/dist/cjs/stzh-status.cjs.entry.js +25 -25
- package/dist/cjs/stzh-table.cjs.entry.js +132 -132
- package/dist/cjs/stzh-toggle.cjs.entry.js +123 -123
- package/dist/cjs/stzh-tooltip.cjs.entry.js +310 -310
- package/dist/cjs/stzh-upload.cjs.entry.js +475 -442
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +71 -71
- package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +95 -95
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +171 -171
- package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +10 -10
- package/dist/cjs/stzh-vspace.cjs.entry.js +30 -30
- package/dist/cjs/{translation-utils-2dbbce94.js → translation-utils-73073e44.js} +54 -54
- package/dist/cjs/utils-8dc66449.js +76 -0
- package/dist/collection/assets/favicons/browserconfig.xml +9 -9
- package/dist/collection/assets/favicons/site.webmanifest +19 -19
- package/dist/collection/assets/fonts.css +39 -39
- package/dist/collection/assets/i18n/de.json +154 -154
- package/dist/collection/assets/i18n/en.json +154 -154
- package/dist/collection/assets/icons/mono/alarm-bell.svg +3 -3
- package/dist/collection/assets/icons/mono/angle-down.svg +3 -3
- package/dist/collection/assets/icons/mono/angle-left.svg +3 -3
- package/dist/collection/assets/icons/mono/angle-right.svg +3 -3
- package/dist/collection/assets/icons/mono/angle-up.svg +3 -3
- package/dist/collection/assets/icons/mono/archive-box.svg +3 -3
- package/dist/collection/assets/icons/mono/arrow-down.svg +3 -3
- package/dist/collection/assets/icons/mono/arrow-left-circle.svg +4 -4
- package/dist/collection/assets/icons/mono/arrow-left.svg +3 -3
- package/dist/collection/assets/icons/mono/arrow-right-long.svg +3 -3
- package/dist/collection/assets/icons/mono/arrow-right.svg +3 -3
- package/dist/collection/assets/icons/mono/arrow-up.svg +3 -3
- package/dist/collection/assets/icons/mono/bulleted-list.svg +3 -3
- package/dist/collection/assets/icons/mono/calendar.svg +3 -3
- package/dist/collection/assets/icons/mono/cart.svg +3 -3
- package/dist/collection/assets/icons/mono/checkmark-circle.svg +3 -3
- package/dist/collection/assets/icons/mono/checkmark.svg +3 -3
- package/dist/collection/assets/icons/mono/clock.svg +3 -3
- package/dist/collection/assets/icons/mono/close-circle.svg +3 -3
- package/dist/collection/assets/icons/mono/close.svg +3 -3
- package/dist/collection/assets/icons/mono/compass-direction.svg +3 -3
- package/dist/collection/assets/icons/mono/compass-north.svg +4 -4
- package/dist/collection/assets/icons/mono/construction.svg +3 -3
- package/dist/collection/assets/icons/mono/copy.svg +3 -3
- package/dist/collection/assets/icons/mono/delete.svg +3 -3
- package/dist/collection/assets/icons/mono/download.svg +3 -3
- package/dist/collection/assets/icons/mono/drag.svg +10 -10
- package/dist/collection/assets/icons/mono/edit.svg +3 -3
- package/dist/collection/assets/icons/mono/email-check.svg +10 -10
- package/dist/collection/assets/icons/mono/expand.svg +3 -3
- package/dist/collection/assets/icons/mono/external-link.svg +4 -4
- package/dist/collection/assets/icons/mono/facebook-comment.svg +3 -3
- package/dist/collection/assets/icons/mono/facebook.svg +10 -10
- package/dist/collection/assets/icons/mono/file.svg +3 -3
- package/dist/collection/assets/icons/mono/filtering.svg +3 -3
- package/dist/collection/assets/icons/mono/flag.svg +10 -10
- package/dist/collection/assets/icons/mono/focus.svg +3 -3
- package/dist/collection/assets/icons/mono/gear.svg +3 -3
- package/dist/collection/assets/icons/mono/heart.svg +10 -10
- package/dist/collection/assets/icons/mono/home.svg +10 -10
- package/dist/collection/assets/icons/mono/important-warning.svg +3 -3
- package/dist/collection/assets/icons/mono/info-help.svg +3 -3
- package/dist/collection/assets/icons/mono/instagram.svg +3 -3
- package/dist/collection/assets/icons/mono/like-hand.svg +10 -10
- package/dist/collection/assets/icons/mono/linkedin.svg +5 -5
- package/dist/collection/assets/icons/mono/list-expanded.svg +4 -4
- package/dist/collection/assets/icons/mono/list-shrinked.svg +3 -3
- package/dist/collection/assets/icons/mono/lock.svg +10 -10
- package/dist/collection/assets/icons/mono/mail.svg +10 -10
- package/dist/collection/assets/icons/mono/map.svg +3 -3
- package/dist/collection/assets/icons/mono/menu.svg +3 -3
- package/dist/collection/assets/icons/mono/minus.svg +3 -3
- package/dist/collection/assets/icons/mono/more-horizontal.svg +5 -5
- package/dist/collection/assets/icons/mono/more-vertical.svg +5 -5
- package/dist/collection/assets/icons/mono/paper-clip.svg +10 -10
- package/dist/collection/assets/icons/mono/phone.svg +10 -10
- package/dist/collection/assets/icons/mono/pin-location.svg +10 -10
- package/dist/collection/assets/icons/mono/pin.svg +11 -11
- package/dist/collection/assets/icons/mono/play-1.svg +4 -4
- package/dist/collection/assets/icons/mono/play-button.svg +11 -11
- package/dist/collection/assets/icons/mono/play.svg +10 -10
- package/dist/collection/assets/icons/mono/plus.svg +3 -3
- package/dist/collection/assets/icons/mono/portfolio-grid.svg +11 -11
- package/dist/collection/assets/icons/mono/print.svg +10 -10
- package/dist/collection/assets/icons/mono/question-help.svg +3 -3
- package/dist/collection/assets/icons/mono/read-mail.svg +10 -10
- package/dist/collection/assets/icons/mono/reload.svg +10 -10
- package/dist/collection/assets/icons/mono/reset-time.svg +10 -10
- package/dist/collection/assets/icons/mono/reset.svg +10 -10
- package/dist/collection/assets/icons/mono/resize.svg +8 -8
- package/dist/collection/assets/icons/mono/rss.svg +12 -12
- package/dist/collection/assets/icons/mono/search.svg +3 -3
- package/dist/collection/assets/icons/mono/services.svg +6 -6
- package/dist/collection/assets/icons/mono/share.svg +3 -3
- package/dist/collection/assets/icons/mono/shrink.svg +3 -3
- package/dist/collection/assets/icons/mono/silent-mode.svg +3 -3
- package/dist/collection/assets/icons/mono/social-media.svg +23 -23
- package/dist/collection/assets/icons/mono/star-filled.svg +3 -3
- package/dist/collection/assets/icons/mono/star.svg +3 -3
- package/dist/collection/assets/icons/mono/subtitle.svg +3 -3
- package/dist/collection/assets/icons/mono/team.svg +10 -10
- package/dist/collection/assets/icons/mono/text-message.svg +6 -6
- package/dist/collection/assets/icons/mono/thermometer.svg +10 -10
- package/dist/collection/assets/icons/mono/transcript.svg +3 -3
- package/dist/collection/assets/icons/mono/twitter-reply.svg +3 -3
- package/dist/collection/assets/icons/mono/twitter-retweet.svg +3 -3
- package/dist/collection/assets/icons/mono/twitter.svg +10 -10
- package/dist/collection/assets/icons/mono/unlock.svg +10 -10
- package/dist/collection/assets/icons/mono/user.svg +3 -3
- package/dist/collection/assets/icons/mono/view-hidden.svg +3 -3
- package/dist/collection/assets/icons/mono/view.svg +4 -4
- package/dist/collection/assets/icons/mono/volume-medium.svg +3 -3
- package/dist/collection/assets/icons/mono/warning-big.svg +4 -4
- package/dist/collection/assets/icons/mono/warning.svg +3 -3
- package/dist/collection/assets/icons/mono/web-Link.svg +3 -3
- package/dist/collection/assets/icons/mono/wifi-signal.svg +3 -3
- package/dist/collection/assets/icons/mono/world-globe.svg +10 -10
- package/dist/collection/assets/icons/mono/xing.svg +11 -11
- package/dist/collection/assets/polyfills/ie11CustomProperties.min.js +8 -8
- package/dist/collection/assets/polyfills/intersection-observer.min.js +7 -7
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.Common.Settings.js +278 -278
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.Core.js +544 -544
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.HL.js +1111 -1111
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.PlayerAPI.js +211 -211
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.js +257 -257
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.lib.Facade.adapter.jquery.js +120 -120
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.lib.RSLib.js +796 -796
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.pub.Config.js +384 -384
- package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.ui.js +1241 -1241
- package/dist/collection/assets/vendors/readspeaker/ReadSpeakerClassic.css +357 -357
- package/dist/collection/assets/vendors/readspeaker/ReadSpeakerClassic.js +51 -51
- package/dist/collection/assets/vendors/readspeaker/mods/enlargeHL/ReadSpeaker.enlargeHL.js +24 -24
- package/dist/collection/components/stzh-accordion/stzh-accordion.js +156 -156
- package/dist/collection/components/stzh-accordion/stzh-accordion.stories.js +52 -52
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +429 -429
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.stories.js +45 -45
- package/dist/collection/components/stzh-actions/stzh-actions.js +98 -98
- package/dist/collection/components/stzh-actions/stzh-actions.stories.js +66 -66
- package/dist/collection/components/stzh-appnav/stzh-appnav.js +112 -112
- package/dist/collection/components/stzh-appnav/stzh-appnav.stories.js +53 -53
- package/dist/collection/components/stzh-appointments/stzh-appointments.js +515 -515
- package/dist/collection/components/stzh-appointments/stzh-appointments.localization.js +1 -1
- package/dist/collection/components/stzh-appointments/stzh-appointments.stories.js +186 -186
- package/dist/collection/components/stzh-badge/stzh-badge.js +47 -47
- package/dist/collection/components/stzh-badge/stzh-badge.stories.js +36 -36
- package/dist/collection/components/stzh-button/stzh-button.js +516 -516
- package/dist/collection/components/stzh-button/stzh-button.stories.js +66 -66
- package/dist/collection/components/stzh-calendar/stzh-calendar-day.js +22 -22
- package/dist/collection/components/stzh-calendar/stzh-calendar-month.js +21 -21
- package/dist/collection/components/stzh-calendar/stzh-calendar.js +463 -463
- package/dist/collection/components/stzh-calendar/stzh-calendar.localization.js +1 -1
- package/dist/collection/components/stzh-calendar/stzh-calendar.stories.js +37 -37
- package/dist/collection/components/stzh-cell/stzh-cell.js +179 -179
- package/dist/collection/components/stzh-cell/stzh-cell.stories.js +39 -39
- package/dist/collection/components/stzh-checkbox/assets/check.svg +3 -3
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +459 -459
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.stories.js +38 -38
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +448 -450
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.stories.js +39 -39
- package/dist/collection/components/stzh-chip/stzh-chip.js +407 -407
- package/dist/collection/components/stzh-chip/stzh-chip.stories.js +64 -64
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +158 -158
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.stories.js +69 -69
- package/dist/collection/components/stzh-container/stzh-container.js +21 -21
- package/dist/collection/components/stzh-container/stzh-container.stories.js +35 -35
- package/dist/collection/components/stzh-cspace/stzh-cspace.css +6 -0
- package/dist/collection/components/stzh-cspace/stzh-cspace.js +24 -24
- package/dist/collection/components/stzh-cspace/stzh-cspace.stories.js +34 -34
- package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.js +24 -24
- package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.stories.js +149 -149
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +358 -358
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.localization.js +1 -1
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.stories.js +63 -63
- package/dist/collection/components/stzh-datatable/stzh-datatable.js +413 -413
- package/dist/collection/components/stzh-datatable/stzh-datatable.localization.js +1 -1
- package/dist/collection/components/stzh-datatable/stzh-datatable.stories.js +63 -63
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +586 -586
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.localization.js +1 -1
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.stories.js +39 -39
- package/dist/collection/components/stzh-dialog/stzh-dialog.css +9 -1
- package/dist/collection/components/stzh-dialog/stzh-dialog.js +480 -480
- package/dist/collection/components/stzh-dialog/stzh-dialog.localization.js +1 -1
- package/dist/collection/components/stzh-dialog/stzh-dialog.stories.js +85 -75
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +2 -4
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +1514 -1436
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.localization.js +1 -1
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.stories.js +3437 -109
- package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +120 -120
- package/dist/collection/components/stzh-fieldset/stzh-fieldset.stories.js +55 -55
- package/dist/collection/components/stzh-figure/stzh-figure.js +76 -76
- package/dist/collection/components/stzh-figure/stzh-figure.stories.js +36 -36
- package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +253 -253
- package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.stories.js +27 -27
- package/dist/collection/components/stzh-footer/stzh-footer.js +147 -147
- package/dist/collection/components/stzh-footer/stzh-footer.localization.js +1 -1
- package/dist/collection/components/stzh-footer/stzh-footer.stories.js +49 -49
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.js +319 -319
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.localization.js +1 -1
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.stories.js +49 -49
- package/dist/collection/components/stzh-header/stzh-header.js +267 -267
- package/dist/collection/components/stzh-header/stzh-header.stories.js +178 -178
- package/dist/collection/components/stzh-heading/stzh-heading.js +99 -99
- package/dist/collection/components/stzh-heading/stzh-heading.stories.js +37 -37
- package/dist/collection/components/stzh-hr/stzh-hr.js +25 -25
- package/dist/collection/components/stzh-hr/stzh-hr.stories.js +23 -23
- package/dist/collection/components/stzh-hspace/stzh-hspace.js +246 -246
- package/dist/collection/components/stzh-hspace/stzh-hspace.stories.js +73 -73
- package/dist/collection/components/stzh-icon/stzh-icon.js +76 -76
- package/dist/collection/components/stzh-icon/stzh-icon.stories.js +37 -37
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +1354 -1354
- package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.js +19 -19
- package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.stories.js +46 -46
- package/dist/collection/components/stzh-input/stzh-input-description.js +8 -8
- package/dist/collection/components/stzh-input/stzh-input.css +13 -4
- package/dist/collection/components/stzh-input/stzh-input.js +799 -724
- package/dist/collection/components/stzh-input/stzh-input.stories.js +116 -116
- package/dist/collection/components/stzh-link/stzh-link.js +427 -427
- package/dist/collection/components/stzh-link/stzh-link.stories.js +67 -67
- package/dist/collection/components/stzh-list/stzh-list.js +52 -52
- package/dist/collection/components/stzh-list/stzh-list.stories.js +42 -42
- package/dist/collection/components/stzh-list-item/assets/checkmark.svg +3 -3
- package/dist/collection/components/stzh-list-item/stzh-list-item.js +26 -26
- package/dist/collection/components/stzh-loader/stzh-loader.js +93 -93
- package/dist/collection/components/stzh-loader/stzh-loader.stories.js +36 -36
- package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.js +94 -94
- package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.stories.js +34 -34
- package/dist/collection/components/stzh-menu/stzh-menu.js +21 -21
- package/dist/collection/components/stzh-menu/stzh-menu.stories.js +69 -69
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +296 -296
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.stories.js +52 -52
- package/dist/collection/components/stzh-message/stzh-message.js +287 -287
- package/dist/collection/components/stzh-message/stzh-message.localization.js +1 -1
- package/dist/collection/components/stzh-message/stzh-message.stories.js +40 -40
- package/dist/collection/components/stzh-metanav/stzh-metanav.js +41 -41
- package/dist/collection/components/stzh-metanav/stzh-metanav.stories.js +39 -39
- package/dist/collection/components/stzh-overlay/stzh-overlay.js +239 -239
- package/dist/collection/components/stzh-overlay/stzh-overlay.stories.js +50 -50
- package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.js +41 -41
- package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.stories.js +43 -43
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js +76 -76
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.stories.js +107 -107
- package/dist/collection/components/stzh-popover/stzh-popover.js +673 -673
- package/dist/collection/components/stzh-popover/stzh-popover.localization.js +1 -1
- package/dist/collection/components/stzh-popover/stzh-popover.stories.js +67 -67
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +569 -578
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.js +25 -25
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.stories.js +28 -28
- package/dist/collection/components/stzh-progressbar/stzh-progressbar.js +272 -272
- package/dist/collection/components/stzh-progressbar/stzh-progressbar.stories.js +164 -164
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js +250 -250
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.stories.js +36 -36
- package/dist/collection/components/stzh-radio/stzh-radio.js +458 -458
- package/dist/collection/components/stzh-radio/stzh-radio.stories.js +38 -38
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +477 -477
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.stories.js +39 -39
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +114 -114
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.stories.js +50 -50
- package/dist/collection/components/stzh-richtext/stzh-richtext.js +90 -90
- package/dist/collection/components/stzh-richtext/stzh-richtext.stories.js +79 -79
- package/dist/collection/components/stzh-row/stzh-row.js +207 -207
- package/dist/collection/components/stzh-row/stzh-row.stories.js +90 -90
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +221 -221
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.localization.js +1 -1
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.stories.js +34 -34
- package/dist/collection/components/stzh-section/stzh-section.js +50 -50
- package/dist/collection/components/stzh-section/stzh-section.stories.js +100 -100
- package/dist/collection/components/stzh-servicecard/stzh-servicecard.css +4 -4
- package/dist/collection/components/stzh-servicecard/stzh-servicecard.js +614 -592
- package/dist/collection/components/stzh-servicecard/stzh-servicecard.localization.js +1 -1
- package/dist/collection/components/stzh-servicecard/stzh-servicecard.stories.js +73 -73
- package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.js +196 -153
- package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.localization.js +1 -1
- package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.stories.js +116 -115
- package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +106 -106
- package/dist/collection/components/stzh-skiplink/stzh-skiplink.stories.js +53 -53
- package/dist/collection/components/stzh-sortable/stzh-sortable.js +530 -501
- package/dist/collection/components/stzh-sortable/stzh-sortable.localization.js +1 -1
- package/dist/collection/components/stzh-sortable/stzh-sortable.stories.js +34 -34
- package/dist/collection/components/stzh-status/stzh-status.js +115 -115
- package/dist/collection/components/stzh-status/stzh-status.stories.js +34 -34
- package/dist/collection/components/stzh-table/stzh-table.js +215 -215
- package/dist/collection/components/stzh-table/stzh-table.stories.js +89 -89
- package/dist/collection/components/stzh-text/stzh-text.js +232 -232
- package/dist/collection/components/stzh-text/stzh-text.stories.js +43 -43
- package/dist/collection/components/stzh-toggle/stzh-toggle.js +479 -479
- package/dist/collection/components/stzh-toggle/stzh-toggle.stories.js +38 -38
- package/dist/collection/components/stzh-tooltip/assets/arrow.svg +3 -3
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +667 -667
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.localization.js +1 -1
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.stories.js +63 -63
- package/dist/collection/components/stzh-upload/stzh-upload.css +3 -0
- package/dist/collection/components/stzh-upload/stzh-upload.js +1391 -1358
- package/dist/collection/components/stzh-upload/stzh-upload.localization.js +1 -1
- package/dist/collection/components/stzh-upload/stzh-upload.stories.js +71 -69
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +229 -229
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.stories.js +36 -36
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.js +236 -236
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.localization.js +1 -1
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.stories.js +52 -52
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +292 -292
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.js +1 -1
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.stories.js +53 -53
- package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.js +23 -23
- package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.stories.js +45 -45
- package/dist/collection/components/stzh-vspace/stzh-vspace.js +246 -246
- package/dist/collection/components/stzh-vspace/stzh-vspace.stories.js +73 -73
- package/dist/collection/global/js/helpers/autofocus.js +22 -20
- package/dist/collection/global/js/helpers/scrollbar-width.js +20 -20
- package/dist/collection/global/js/script.js +17 -17
- package/dist/collection/index.js +7 -7
- package/dist/collection/libraries/sortable.js +3791 -0
- package/dist/collection/pages/egov.stories.js +262 -262
- package/dist/collection/pages/example.stories.js +170 -170
- package/dist/collection/pages/meinkonto.stories.js +660 -660
- package/dist/collection/patterns/appointments.stories.js +43 -43
- package/dist/collection/patterns/processingscreen.stories.js +43 -43
- package/dist/collection/utils/animation-utils.js +51 -51
- package/dist/collection/utils/date-adapter.js +86 -86
- package/dist/collection/utils/date-utils.js +196 -196
- package/dist/collection/utils/decorators.js +15 -15
- package/dist/collection/utils/event-utils.js +14 -14
- package/dist/collection/utils/h.js +109 -109
- package/dist/collection/utils/media-utils.js +20 -20
- package/dist/collection/utils/string-utils.js +13 -13
- package/dist/collection/utils/test-utils.js +27 -27
- package/dist/collection/utils/translation-utils.js +55 -55
- package/dist/collection/utils/utils.js +80 -41
- package/dist/components/animation-utils.js +37 -37
- package/dist/components/arrow.js +3 -3
- package/dist/components/date-adapter.js +85 -85
- package/dist/components/event-utils.js +13 -13
- package/dist/components/index.js +43 -41
- package/dist/components/media-utils.js +19 -19
- package/dist/components/string-utils.js +12 -12
- package/dist/components/stzh-accordion-item.js +192 -192
- package/dist/components/stzh-accordion.js +81 -81
- package/dist/components/stzh-actions.js +58 -58
- package/dist/components/stzh-appnav.js +56 -56
- package/dist/components/stzh-appointments.js +343 -343
- package/dist/components/stzh-badge2.js +26 -26
- package/dist/components/stzh-button2.js +155 -155
- package/dist/components/stzh-calendar2.js +475 -475
- package/dist/components/stzh-cell.js +47 -47
- package/dist/components/stzh-checkbox.js +159 -159
- package/dist/components/stzh-checkboxgroup.js +190 -192
- package/dist/components/stzh-chip-select.js +93 -93
- package/dist/components/stzh-chip2.js +122 -122
- package/dist/components/stzh-container.js +22 -22
- package/dist/components/stzh-cspace.js +26 -26
- package/dist/components/stzh-datamessagelist-item.js +156 -156
- package/dist/components/stzh-datamessagelist.js +26 -26
- package/dist/components/stzh-datatable.js +255 -255
- package/dist/components/stzh-datepicker2.js +206 -206
- package/dist/components/stzh-dialog.js +215 -215
- package/dist/components/stzh-dropdown2.js +546 -516
- package/dist/components/stzh-fieldset.js +48 -48
- package/dist/components/stzh-figure.js +35 -35
- package/dist/components/stzh-flyingfocus.js +188 -188
- package/dist/components/stzh-footer.js +88 -88
- package/dist/components/stzh-ghettobox2.js +124 -124
- package/dist/components/stzh-header.js +174 -174
- package/dist/components/stzh-heading2.js +39 -39
- package/dist/components/stzh-hr.js +26 -26
- package/dist/components/stzh-hspace.js +54 -54
- package/dist/components/stzh-icon-sprite.js +23 -23
- package/dist/components/stzh-icon2.js +41 -41
- package/dist/components/stzh-input-description.js +15 -15
- package/dist/components/stzh-input2.js +249 -240
- package/dist/components/stzh-link2.js +134 -134
- package/dist/components/stzh-list-item.js +30 -30
- package/dist/components/stzh-list.js +32 -32
- package/dist/components/stzh-loader.js +38 -38
- package/dist/components/stzh-loadingbar.js +40 -40
- package/dist/components/stzh-menu-item2.js +106 -106
- package/dist/components/stzh-menu2.js +22 -22
- package/dist/components/stzh-message.js +100 -100
- package/dist/components/stzh-metanav.js +40 -40
- package/dist/components/stzh-overlay.js +108 -108
- package/dist/components/stzh-page-skiplinks.js +40 -40
- package/dist/components/stzh-pagetitle.js +74 -74
- package/dist/components/stzh-popover2.js +376 -376
- package/dist/components/stzh-portal-mitwirken.js +27 -27
- package/dist/components/stzh-progressbar-item2.js +74 -74
- package/dist/components/stzh-progressbar.js +146 -146
- package/dist/components/stzh-radio2.js +156 -156
- package/dist/components/stzh-radiogroup2.js +200 -202
- package/dist/components/stzh-readspeaker.js +63 -63
- package/dist/components/stzh-richtext2.js +57 -57
- package/dist/components/stzh-row.js +53 -53
- package/dist/components/stzh-saptcha.js +116 -116
- package/dist/components/stzh-section.js +29 -29
- package/dist/components/stzh-servicecard-list.js +102 -84
- package/dist/components/stzh-servicecard.js +286 -264
- package/dist/components/stzh-skiplink.js +35 -35
- package/dist/components/stzh-sortable2.js +3510 -2736
- package/dist/components/stzh-status2.js +44 -44
- package/dist/components/stzh-table.js +153 -153
- package/dist/components/stzh-text2.js +57 -57
- package/dist/components/stzh-toggle.js +160 -160
- package/dist/components/stzh-tooltip2.js +340 -340
- package/dist/components/stzh-upload.js +537 -504
- package/dist/components/stzh-vbz-linechip2.js +96 -96
- package/dist/components/stzh-vbz-majorticker.js +139 -139
- package/dist/components/stzh-vbz-ticker.js +214 -214
- package/dist/components/stzh-visuallyhidden.js +24 -24
- package/dist/components/stzh-vspace.js +54 -54
- package/dist/components/translation-utils.js +54 -54
- package/dist/components/utils.js +70 -31
- package/dist/esm/{animation-utils-27dcfc1e.js → animation-utils-25c74e5b.js} +37 -37
- package/dist/esm/{app-globals-137e106c.js → app-globals-c42494e9.js} +44 -42
- package/dist/esm/{arrow-18769ca6.js → arrow-86a679c7.js} +3 -3
- package/dist/esm/{date-adapter-c0ee5963.js → date-adapter-cbc340fa.js} +85 -85
- package/dist/esm/{date-utils-282e96fe.js → date-utils-be83fff1.js} +156 -156
- package/dist/esm/{event-utils-68b64805.js → event-utils-7a709e21.js} +13 -13
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{media-utils-db7c9057.js → media-utils-9b041ceb.js} +19 -19
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/{string-utils-33181845.js → string-utils-f98ee4e8.js} +12 -12
- package/dist/esm/stzh-accordion-item.entry.js +170 -170
- package/dist/esm/stzh-accordion.entry.js +63 -63
- package/dist/esm/stzh-actions.entry.js +42 -42
- package/dist/esm/stzh-appnav.entry.js +39 -39
- package/dist/esm/stzh-appointments.entry.js +260 -260
- package/dist/esm/stzh-badge_3.entry.js +146 -146
- package/dist/esm/stzh-calendar.entry.js +291 -291
- package/dist/esm/stzh-cell.entry.js +24 -24
- package/dist/esm/stzh-checkbox.entry.js +123 -123
- package/dist/esm/stzh-checkboxgroup.entry.js +155 -157
- package/dist/esm/stzh-chip-select.entry.js +55 -55
- package/dist/esm/stzh-chip.entry.js +90 -90
- package/dist/esm/stzh-components.js +2 -2
- package/dist/esm/stzh-container.entry.js +8 -8
- package/dist/esm/stzh-cspace.entry.js +12 -12
- package/dist/esm/stzh-datamessagelist-item.entry.js +92 -92
- package/dist/esm/stzh-datamessagelist.entry.js +12 -12
- package/dist/esm/stzh-datatable.entry.js +201 -201
- package/dist/esm/stzh-datepicker_4.entry.js +456 -458
- package/dist/esm/stzh-dialog.entry.js +180 -180
- package/dist/esm/stzh-dropdown.entry.js +479 -452
- package/dist/esm/stzh-fieldset.entry.js +24 -24
- package/dist/esm/stzh-figure.entry.js +19 -19
- package/dist/esm/stzh-flyingfocus.entry.js +167 -167
- package/dist/esm/stzh-footer.entry.js +56 -56
- package/dist/esm/stzh-ghettobox_2.entry.js +132 -132
- package/dist/esm/stzh-header.entry.js +151 -151
- package/dist/esm/stzh-heading.entry.js +21 -21
- package/dist/esm/stzh-hr.entry.js +12 -12
- package/dist/esm/stzh-hspace.entry.js +30 -30
- package/dist/esm/stzh-icon-sprite.entry.js +9 -9
- package/dist/esm/{stzh-input-description-fa0a4b5b.js → stzh-input-description-da7b0e98.js} +15 -15
- package/dist/esm/stzh-input.entry.js +187 -182
- package/dist/esm/stzh-link.entry.js +95 -95
- package/dist/esm/stzh-list-item.entry.js +15 -15
- package/dist/esm/stzh-list.entry.js +15 -15
- package/dist/esm/stzh-loader.entry.js +20 -20
- package/dist/esm/stzh-loadingbar.entry.js +22 -22
- package/dist/esm/stzh-menu_2.entry.js +81 -81
- package/dist/esm/stzh-message.entry.js +72 -72
- package/dist/esm/stzh-metanav.entry.js +26 -26
- package/dist/esm/stzh-overlay.entry.js +88 -88
- package/dist/esm/stzh-page-skiplinks.entry.js +26 -26
- package/dist/esm/stzh-pagetitle.entry.js +61 -61
- package/dist/esm/stzh-popover.entry.js +349 -349
- package/dist/esm/stzh-portal-mitwirken.entry.js +13 -13
- package/dist/esm/stzh-progressbar-item.entry.js +46 -46
- package/dist/esm/stzh-progressbar.entry.js +114 -114
- package/dist/esm/stzh-readspeaker.entry.js +47 -47
- package/dist/esm/stzh-row.entry.js +29 -29
- package/dist/esm/stzh-saptcha.entry.js +70 -70
- package/dist/esm/stzh-section.entry.js +13 -13
- package/dist/esm/stzh-servicecard-list.entry.js +62 -45
- package/dist/esm/stzh-servicecard.entry.js +224 -202
- package/dist/esm/stzh-skiplink.entry.js +16 -16
- package/dist/esm/stzh-sortable.entry.js +3485 -2712
- package/dist/esm/stzh-status.entry.js +25 -25
- package/dist/esm/stzh-table.entry.js +132 -132
- package/dist/esm/stzh-toggle.entry.js +123 -123
- package/dist/esm/stzh-tooltip.entry.js +310 -310
- package/dist/esm/stzh-upload.entry.js +475 -442
- package/dist/esm/stzh-vbz-linechip.entry.js +71 -71
- package/dist/esm/stzh-vbz-majorticker.entry.js +95 -95
- package/dist/esm/stzh-vbz-ticker.entry.js +171 -171
- package/dist/esm/stzh-visuallyhidden.entry.js +10 -10
- package/dist/esm/stzh-vspace.entry.js +30 -30
- package/dist/esm/{translation-utils-f5b09945.js → translation-utils-2623783f.js} +54 -54
- package/dist/esm/utils-68a28fce.js +72 -0
- package/dist/esm-es5/{animation-utils-27dcfc1e.js → animation-utils-25c74e5b.js} +0 -0
- package/dist/esm-es5/app-globals-c42494e9.js +1 -0
- package/dist/esm-es5/{arrow-18769ca6.js → arrow-86a679c7.js} +0 -0
- package/dist/esm-es5/{date-adapter-c0ee5963.js → date-adapter-cbc340fa.js} +0 -0
- package/dist/esm-es5/{date-utils-282e96fe.js → date-utils-be83fff1.js} +0 -0
- package/dist/esm-es5/{event-utils-68b64805.js → event-utils-7a709e21.js} +0 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{media-utils-db7c9057.js → media-utils-9b041ceb.js} +0 -0
- package/dist/esm-es5/{string-utils-33181845.js → string-utils-f98ee4e8.js} +0 -0
- package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
- package/dist/esm-es5/stzh-actions.entry.js +1 -1
- package/dist/esm-es5/stzh-appnav.entry.js +1 -1
- package/dist/esm-es5/stzh-appointments.entry.js +1 -1
- package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
- package/dist/esm-es5/stzh-calendar.entry.js +1 -1
- package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
- package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
- package/dist/esm-es5/stzh-components.js +1 -1
- package/dist/esm-es5/stzh-cspace.entry.js +1 -1
- package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm-es5/stzh-datatable.entry.js +1 -1
- package/dist/esm-es5/stzh-datepicker_4.entry.js +1 -1
- package/dist/esm-es5/stzh-dialog.entry.js +1 -1
- package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
- package/dist/esm-es5/stzh-figure.entry.js +1 -1
- package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -1
- package/dist/esm-es5/stzh-footer.entry.js +1 -1
- package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
- package/dist/esm-es5/stzh-header.entry.js +1 -1
- package/dist/esm-es5/{stzh-input-description-fa0a4b5b.js → stzh-input-description-da7b0e98.js} +0 -0
- package/dist/esm-es5/stzh-input.entry.js +1 -1
- package/dist/esm-es5/stzh-link.entry.js +1 -1
- package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
- package/dist/esm-es5/stzh-message.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
- package/dist/esm-es5/stzh-popover.entry.js +1 -1
- package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
- package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
- package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
- package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
- package/dist/esm-es5/stzh-servicecard-list.entry.js +1 -1
- package/dist/esm-es5/stzh-servicecard.entry.js +1 -1
- package/dist/esm-es5/stzh-sortable.entry.js +2 -2
- package/dist/esm-es5/stzh-table.entry.js +1 -1
- package/dist/esm-es5/stzh-toggle.entry.js +1 -1
- package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
- package/dist/esm-es5/stzh-upload.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
- package/dist/esm-es5/{translation-utils-f5b09945.js → translation-utils-2623783f.js} +0 -0
- package/dist/esm-es5/utils-68a28fce.js +1 -0
- package/dist/stzh-components/assets/favicons/browserconfig.xml +9 -9
- package/dist/stzh-components/assets/favicons/site.webmanifest +19 -19
- package/dist/stzh-components/assets/fonts.css +39 -39
- package/dist/stzh-components/assets/i18n/de.json +154 -154
- package/dist/stzh-components/assets/i18n/en.json +154 -154
- package/dist/stzh-components/assets/icons/mono/alarm-bell.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/angle-down.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/angle-left.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/angle-right.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/angle-up.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/archive-box.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/arrow-down.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/arrow-left-circle.svg +4 -4
- package/dist/stzh-components/assets/icons/mono/arrow-left.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/arrow-right-long.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/arrow-right.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/arrow-up.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/bulleted-list.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/calendar.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/cart.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/checkmark-circle.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/checkmark.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/clock.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/close-circle.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/close.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/compass-direction.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/compass-north.svg +4 -4
- package/dist/stzh-components/assets/icons/mono/construction.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/copy.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/delete.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/download.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/drag.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/edit.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/email-check.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/expand.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/external-link.svg +4 -4
- package/dist/stzh-components/assets/icons/mono/facebook-comment.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/facebook.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/file.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/filtering.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/flag.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/focus.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/gear.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/heart.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/home.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/important-warning.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/info-help.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/instagram.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/like-hand.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/linkedin.svg +5 -5
- package/dist/stzh-components/assets/icons/mono/list-expanded.svg +4 -4
- package/dist/stzh-components/assets/icons/mono/list-shrinked.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/lock.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/mail.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/map.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/menu.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/minus.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/more-horizontal.svg +5 -5
- package/dist/stzh-components/assets/icons/mono/more-vertical.svg +5 -5
- package/dist/stzh-components/assets/icons/mono/paper-clip.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/phone.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/pin-location.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/pin.svg +11 -11
- package/dist/stzh-components/assets/icons/mono/play-1.svg +4 -4
- package/dist/stzh-components/assets/icons/mono/play-button.svg +11 -11
- package/dist/stzh-components/assets/icons/mono/play.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/plus.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/portfolio-grid.svg +11 -11
- package/dist/stzh-components/assets/icons/mono/print.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/question-help.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/read-mail.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/reload.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/reset-time.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/reset.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/resize.svg +8 -8
- package/dist/stzh-components/assets/icons/mono/rss.svg +12 -12
- package/dist/stzh-components/assets/icons/mono/search.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/services.svg +6 -6
- package/dist/stzh-components/assets/icons/mono/share.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/shrink.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/silent-mode.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/social-media.svg +23 -23
- package/dist/stzh-components/assets/icons/mono/star-filled.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/star.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/subtitle.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/team.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/text-message.svg +6 -6
- package/dist/stzh-components/assets/icons/mono/thermometer.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/transcript.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/twitter-reply.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/twitter-retweet.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/twitter.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/unlock.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/user.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/view-hidden.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/view.svg +4 -4
- package/dist/stzh-components/assets/icons/mono/volume-medium.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/warning-big.svg +4 -4
- package/dist/stzh-components/assets/icons/mono/warning.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/web-Link.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/wifi-signal.svg +3 -3
- package/dist/stzh-components/assets/icons/mono/world-globe.svg +10 -10
- package/dist/stzh-components/assets/icons/mono/xing.svg +11 -11
- package/dist/stzh-components/assets/polyfills/ie11CustomProperties.min.js +8 -8
- package/dist/stzh-components/assets/polyfills/intersection-observer.min.js +7 -7
- package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +1354 -1354
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.Common.Settings.js +278 -278
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.Core.js +544 -544
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.HL.js +1111 -1111
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.PlayerAPI.js +211 -211
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.js +257 -257
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.lib.Facade.adapter.jquery.js +120 -120
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.lib.RSLib.js +796 -796
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.pub.Config.js +384 -384
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.ui.js +1241 -1241
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeakerClassic.css +357 -357
- package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeakerClassic.js +51 -51
- package/dist/stzh-components/assets/vendors/readspeaker/mods/enlargeHL/ReadSpeaker.enlargeHL.js +24 -24
- package/dist/stzh-components/{p-59bdb14a.system.entry.js → p-006135ed.system.entry.js} +1 -1
- package/dist/stzh-components/p-0230004d.system.js +1 -0
- package/dist/stzh-components/{p-f0422b6c.entry.js → p-03e2634c.entry.js} +1 -1
- package/dist/stzh-components/{p-25afa99e.entry.js → p-04d7b18f.entry.js} +1 -1
- package/dist/stzh-components/{p-73d51acc.system.entry.js → p-07772cd7.system.entry.js} +1 -1
- package/dist/stzh-components/p-08d4ed80.entry.js +1 -0
- package/dist/stzh-components/{p-3e3e4bfd.system.js → p-11816251.system.js} +0 -0
- package/dist/stzh-components/{p-d790a367.entry.js → p-11d0c8f3.entry.js} +1 -1
- package/dist/stzh-components/{p-bb900d9f.entry.js → p-14d728f0.entry.js} +1 -1
- package/dist/stzh-components/{p-f481f21d.system.js → p-176db2fe.system.js} +0 -0
- package/dist/stzh-components/{p-c2218965.system.entry.js → p-1c88ceff.system.entry.js} +1 -1
- package/dist/stzh-components/{p-9fe34fe8.system.js → p-1e4b4d71.system.js} +0 -0
- package/dist/stzh-components/{p-160c6e5f.system.entry.js → p-1f15a4e0.system.entry.js} +1 -1
- package/dist/stzh-components/p-1f57d28e.js +1 -0
- package/dist/stzh-components/{p-1a40a6e4.js → p-25a09313.js} +0 -0
- package/dist/stzh-components/{p-320aedf7.js → p-2a5855f8.js} +0 -0
- package/dist/stzh-components/p-2b11d549.system.entry.js +1 -0
- package/dist/stzh-components/{p-99195f5a.system.js → p-309d2b66.system.js} +0 -0
- package/dist/stzh-components/{p-bf5b6523.entry.js → p-32988d74.entry.js} +1 -1
- package/dist/stzh-components/{p-8ba6ca80.js → p-32b78d65.js} +0 -0
- package/dist/stzh-components/{p-1e2ee622.system.entry.js → p-33946fed.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b06cc533.entry.js → p-33d75303.entry.js} +1 -1
- package/dist/stzh-components/{p-22f948e2.entry.js → p-34190502.entry.js} +1 -1
- package/dist/stzh-components/{p-45d4e9b4.system.entry.js → p-346e26f2.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b24040ff.system.entry.js → p-370b82e7.system.entry.js} +1 -1
- package/dist/stzh-components/{p-740dd50f.entry.js → p-3c799247.entry.js} +1 -1
- package/dist/stzh-components/p-3ebd2c03.js +1 -0
- package/dist/stzh-components/{p-b3b05b6c.entry.js → p-3ed69b16.entry.js} +1 -1
- package/dist/stzh-components/{p-22fba26d.entry.js → p-409c0d50.entry.js} +1 -1
- package/dist/stzh-components/{p-3410ef5a.system.entry.js → p-48bbcc26.system.entry.js} +1 -1
- package/dist/stzh-components/{p-af47430b.system.entry.js → p-4a398453.system.entry.js} +1 -1
- package/dist/stzh-components/p-4c61dcad.js +4 -4
- package/dist/stzh-components/{p-a499fa98.system.entry.js → p-4e9bfeb8.system.entry.js} +1 -1
- package/dist/stzh-components/{p-4c68fa45.system.js → p-5318ba20.system.js} +0 -0
- package/dist/stzh-components/{p-3eb7b6b4.entry.js → p-586cae98.entry.js} +1 -1
- package/dist/stzh-components/{p-3afe13ac.system.entry.js → p-58ffc722.system.entry.js} +1 -1
- package/dist/stzh-components/p-5e0cccc9.system.entry.js +1 -0
- package/dist/stzh-components/{p-3ca5c2e6.system.entry.js → p-5ea652ae.system.entry.js} +1 -1
- package/dist/stzh-components/{p-5f20178b.system.js → p-6267a327.system.js} +0 -0
- package/dist/stzh-components/{p-ac9e6d17.system.entry.js → p-68a8b7b7.system.entry.js} +1 -1
- package/dist/stzh-components/{p-1aaa5112.system.entry.js → p-6c3b2508.system.entry.js} +1 -1
- package/dist/stzh-components/{p-4b69a3e8.system.entry.js → p-6edd58a4.system.entry.js} +1 -1
- package/dist/stzh-components/{p-c3ac1bdc.system.entry.js → p-6fc271d0.system.entry.js} +1 -1
- package/dist/stzh-components/{p-7c6f9cb3.entry.js → p-73194e28.entry.js} +1 -1
- package/dist/stzh-components/{p-81d9f3e0.js → p-77a00e55.js} +0 -0
- package/dist/stzh-components/p-7921db30.system.entry.js +1 -0
- package/dist/stzh-components/p-79bfc485.entry.js +1 -0
- package/dist/stzh-components/{p-79770abe.system.entry.js → p-7a6e347d.system.entry.js} +2 -2
- package/dist/stzh-components/{p-cd29b7ca.entry.js → p-7bb1bd3b.entry.js} +1 -1
- package/dist/stzh-components/{p-649164c7.entry.js → p-7d098987.entry.js} +1 -1
- package/dist/stzh-components/{p-b9e4095d.entry.js → p-7d2237ca.entry.js} +1 -1
- package/dist/stzh-components/{p-927901f5.system.entry.js → p-7d62dfeb.system.entry.js} +1 -1
- package/dist/stzh-components/{p-efb9fa47.system.entry.js → p-87ab53c4.system.entry.js} +1 -1
- package/dist/stzh-components/{p-1f3e6fad.system.entry.js → p-88a4f756.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b1976630.entry.js → p-8a60addb.entry.js} +1 -1
- package/dist/stzh-components/{p-ab2727e6.entry.js → p-8bd3ba06.entry.js} +1 -1
- package/dist/stzh-components/{p-a8c3af68.system.entry.js → p-8db4279d.system.entry.js} +1 -1
- package/dist/stzh-components/{p-e1b64b8a.system.entry.js → p-90a10825.system.entry.js} +1 -1
- package/dist/stzh-components/{p-0c2b5907.js → p-9111e257.js} +0 -0
- package/dist/stzh-components/{p-67eac0a0.entry.js → p-95a297aa.entry.js} +1 -1
- package/dist/stzh-components/{p-a42a7524.entry.js → p-95eb03b2.entry.js} +1 -1
- package/dist/stzh-components/p-983f6070.entry.js +1 -0
- package/dist/stzh-components/{p-d2f660e1.system.js → p-9c0494a6.system.js} +0 -0
- package/dist/stzh-components/{p-582cf0f1.system.js → p-a408bfba.system.js} +0 -0
- package/dist/stzh-components/p-a7253852.entry.js +1 -0
- package/dist/stzh-components/{p-c51a61cb.system.entry.js → p-a760352a.system.entry.js} +1 -1
- package/dist/stzh-components/{p-e00139a1.entry.js → p-a86c6487.entry.js} +1 -1
- package/dist/stzh-components/p-aaa2e48f.system.js +1 -0
- package/dist/stzh-components/p-b281b653.entry.js +8 -0
- package/dist/stzh-components/p-b35b0270.entry.js +1 -0
- package/dist/stzh-components/{p-17258518.entry.js → p-b3b5ee7e.entry.js} +1 -1
- package/dist/stzh-components/p-b4fc71ff.system.entry.js +1 -0
- package/dist/stzh-components/{p-bb91feeb.entry.js → p-bb2e1dda.entry.js} +1 -1
- package/dist/stzh-components/{p-301841e3.entry.js → p-bdba7714.entry.js} +1 -1
- package/dist/stzh-components/p-c581e798.system.entry.js +1 -0
- package/dist/stzh-components/p-c7c17bb7.system.entry.js +7 -0
- package/dist/stzh-components/{p-da8218fa.system.entry.js → p-c863ffd0.system.entry.js} +1 -1
- package/dist/stzh-components/{p-649621fc.js → p-c8bcceac.js} +0 -0
- package/dist/stzh-components/{p-ffa293cf.entry.js → p-cf162e67.entry.js} +1 -1
- package/dist/stzh-components/{p-a7454367.js → p-cf6003d6.js} +0 -0
- package/dist/stzh-components/{p-4b8893d1.entry.js → p-d8471675.entry.js} +1 -1
- package/dist/stzh-components/{p-0433fff9.system.entry.js → p-da063c7e.system.entry.js} +1 -1
- package/dist/stzh-components/{p-0e9e4c68.entry.js → p-debb00e6.entry.js} +1 -1
- package/dist/stzh-components/{p-e69a66bb.js → p-df2bb358.js} +0 -0
- package/dist/stzh-components/p-e12db90a.entry.js +1 -0
- package/dist/stzh-components/{p-a5b616bb.system.entry.js → p-e2ce48f1.system.entry.js} +1 -1
- package/dist/stzh-components/{p-08cc711a.system.entry.js → p-e972a44f.system.entry.js} +1 -1
- package/dist/stzh-components/{p-6113bb25.entry.js → p-ec3d4dd4.entry.js} +1 -1
- package/dist/stzh-components/p-ee5ceac4.entry.js +1 -0
- package/dist/stzh-components/{p-648695c2.js → p-ee7a68db.js} +0 -0
- package/dist/stzh-components/p-ef5d4167.js +1 -1
- package/dist/stzh-components/p-f0ca6848.system.entry.js +1 -0
- package/dist/stzh-components/{p-63bf05f1.system.entry.js → p-f1a58a7c.system.entry.js} +1 -1
- package/dist/stzh-components/{p-afa7061e.entry.js → p-f2050d1e.entry.js} +1 -1
- package/dist/stzh-components/{p-a7785d9b.system.js → p-f58c28ad.system.js} +0 -0
- package/dist/stzh-components/{p-75f1b800.entry.js → p-f610f725.entry.js} +1 -1
- package/dist/stzh-components/p-faf20030.system.js +1 -0
- package/dist/stzh-components/{p-4e9e606f.entry.js → p-fba76dba.entry.js} +1 -1
- package/dist/stzh-components/{p-ab864a8a.system.entry.js → p-fc9c4fc3.system.entry.js} +1 -1
- package/dist/stzh-components/{p-6d23fb4d.system.entry.js → p-fce0e218.system.entry.js} +1 -1
- package/dist/stzh-components/{p-efd78d08.system.entry.js → p-fd16e20e.system.entry.js} +1 -1
- package/dist/stzh-components/stzh-components.css +1 -1
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/stzh-components/stzh-components.js +1 -1
- package/dist/types/components/stzh-appointments/stzh-appointments.localization.d.ts +11 -11
- package/dist/types/components/stzh-badge/stzh-badge.d.ts +8 -8
- package/dist/types/components/stzh-calendar/stzh-calendar-day.d.ts +14 -14
- package/dist/types/components/stzh-calendar/stzh-calendar-month.d.ts +21 -21
- package/dist/types/components/stzh-calendar/stzh-calendar.localization.d.ts +7 -7
- package/dist/types/components/stzh-cell/stzh-cell.d.ts +21 -21
- package/dist/types/components/stzh-container/stzh-container.d.ts +6 -6
- package/dist/types/components/stzh-cspace/stzh-cspace.d.ts +6 -6
- package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.localization.d.ts +4 -4
- package/dist/types/components/stzh-datatable/stzh-datatable.localization.d.ts +4 -4
- package/dist/types/components/stzh-datepicker/stzh-datepicker.localization.d.ts +5 -5
- package/dist/types/components/stzh-dialog/stzh-dialog.localization.d.ts +4 -4
- package/dist/types/components/stzh-dropdown/stzh-dropdown.localization.d.ts +7 -7
- package/dist/types/components/stzh-fieldset/stzh-fieldset.d.ts +15 -15
- package/dist/types/components/stzh-footer/stzh-footer.localization.d.ts +9 -9
- package/dist/types/components/stzh-ghettobox/stzh-ghettobox.localization.d.ts +5 -5
- package/dist/types/components/stzh-heading/stzh-heading.d.ts +13 -13
- package/dist/types/components/stzh-hspace/stzh-hspace.d.ts +25 -25
- package/dist/types/components/stzh-icon/stzh-icon.d.ts +15 -15
- package/dist/types/components/stzh-icon-sprite/stzh-icon-sprite.d.ts +3 -3
- package/dist/types/components/stzh-input/stzh-input-description.d.ts +11 -11
- package/dist/types/components/stzh-menu/stzh-menu.d.ts +6 -6
- package/dist/types/components/stzh-message/stzh-message.localization.d.ts +4 -4
- package/dist/types/components/stzh-popover/stzh-popover.localization.d.ts +4 -4
- package/dist/types/components/stzh-portal-mitwirken/stzh-portal-mitwirken.d.ts +8 -8
- package/dist/types/components/stzh-progressbar-item/stzh-progressbar-item.d.ts +22 -22
- package/dist/types/components/stzh-row/stzh-row.d.ts +23 -23
- package/dist/types/components/stzh-saptcha/stzh-saptcha.localization.d.ts +7 -7
- package/dist/types/components/stzh-section/stzh-section.d.ts +8 -8
- package/dist/types/components/stzh-servicecard/stzh-servicecard.localization.d.ts +8 -8
- package/dist/types/components/stzh-servicecard-list/stzh-servicecard-list.localization.d.ts +5 -5
- package/dist/types/components/stzh-skiplink/stzh-skiplink.d.ts +16 -16
- package/dist/types/components/stzh-sortable/stzh-sortable.localization.d.ts +8 -8
- package/dist/types/components/stzh-text/stzh-text.d.ts +23 -23
- package/dist/types/components/stzh-tooltip/stzh-tooltip.localization.d.ts +4 -4
- package/dist/types/components/stzh-upload/stzh-upload.localization.d.ts +16 -16
- package/dist/types/components/stzh-vbz-majorticker/stzh-vbz-majorticker.localization.d.ts +4 -4
- package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.d.ts +15 -15
- package/dist/types/components/stzh-visuallyhidden/stzh-visuallyhidden.d.ts +6 -6
- package/dist/types/components/stzh-vspace/stzh-vspace.d.ts +25 -25
- package/dist/types/components.d.ts +68 -2
- package/dist/types/index.d.ts +428 -427
- package/dist/types/utils/animation-utils.d.ts +10 -10
- package/dist/types/utils/date-adapter.d.ts +8 -8
- package/dist/types/utils/date-utils.d.ts +61 -61
- package/dist/types/utils/event-utils.d.ts +1 -1
- package/dist/types/utils/h.d.ts +18 -18
- package/dist/types/utils/media-utils.d.ts +3 -3
- package/dist/types/utils/string-utils.d.ts +2 -2
- package/dist/types/utils/test-utils.d.ts +9 -9
- package/dist/types/utils/translation-utils.d.ts +40 -40
- package/dist/types/utils/utils.d.ts +5 -3
- package/dist/vscode-data.json +84 -61
- package/package.json +1 -1
- package/dist/cjs/utils-e84f4a8d.js +0 -36
- package/dist/esm/utils-c5d68020.js +0 -33
- package/dist/esm-es5/app-globals-137e106c.js +0 -1
- package/dist/esm-es5/utils-c5d68020.js +0 -1
- package/dist/stzh-components/p-323fdc2f.entry.js +0 -1
- package/dist/stzh-components/p-3da37219.entry.js +0 -8
- package/dist/stzh-components/p-42430cdf.js +0 -1
- package/dist/stzh-components/p-4476344d.js +0 -1
- package/dist/stzh-components/p-58b8d309.system.entry.js +0 -1
- package/dist/stzh-components/p-5977373f.system.js +0 -1
- package/dist/stzh-components/p-87140179.system.entry.js +0 -1
- package/dist/stzh-components/p-91e9ccfa.entry.js +0 -1
- package/dist/stzh-components/p-95a3c962.system.entry.js +0 -1
- package/dist/stzh-components/p-9be4e960.entry.js +0 -1
- package/dist/stzh-components/p-adaf8b15.entry.js +0 -1
- package/dist/stzh-components/p-af819e4e.system.js +0 -1
- package/dist/stzh-components/p-b56c83a4.entry.js +0 -1
- package/dist/stzh-components/p-d1821750.system.entry.js +0 -1
- package/dist/stzh-components/p-d7b5770c.entry.js +0 -1
- package/dist/stzh-components/p-d8819b74.system.entry.js +0 -1
- package/dist/stzh-components/p-e029f6c5.system.entry.js +0 -1
- package/dist/stzh-components/p-e3769e97.system.js +0 -1
- package/dist/stzh-components/p-ebf73698.entry.js +0 -1
- package/dist/stzh-components/p-f8bb1bed.system.entry.js +0 -7
- package/dist/types/components/stzh-accordion/stzh-accordion.d.ts +0 -15
- package/dist/types/components/stzh-accordion-item/stzh-accordion-item.d.ts +0 -44
- package/dist/types/components/stzh-actions/stzh-actions.d.ts +0 -16
- package/dist/types/components/stzh-appnav/stzh-appnav.d.ts +0 -17
- package/dist/types/components/stzh-appointments/stzh-appointments.d.ts +0 -73
- package/dist/types/components/stzh-button/stzh-button.d.ts +0 -59
- package/dist/types/components/stzh-calendar/stzh-calendar.d.ts +0 -76
- package/dist/types/components/stzh-checkbox/stzh-checkbox.d.ts +0 -55
- package/dist/types/components/stzh-checkboxgroup/stzh-checkboxgroup.d.ts +0 -62
- package/dist/types/components/stzh-chip/stzh-chip.d.ts +0 -47
- package/dist/types/components/stzh-chip-select/stzh-chip-select.d.ts +0 -23
- package/dist/types/components/stzh-datamessagelist/stzh-datamessagelist.d.ts +0 -6
- package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.d.ts +0 -44
- package/dist/types/components/stzh-datatable/stzh-datatable.d.ts +0 -49
- package/dist/types/components/stzh-datepicker/stzh-datepicker.d.ts +0 -93
- package/dist/types/components/stzh-dialog/stzh-dialog.d.ts +0 -59
- package/dist/types/components/stzh-dropdown/stzh-dropdown.d.ts +0 -150
- package/dist/types/components/stzh-figure/stzh-figure.d.ts +0 -13
- package/dist/types/components/stzh-flyingfocus/stzh-flyingfocus.d.ts +0 -39
- package/dist/types/components/stzh-footer/stzh-footer.d.ts +0 -21
- package/dist/types/components/stzh-ghettobox/stzh-ghettobox.d.ts +0 -49
- package/dist/types/components/stzh-header/stzh-header.d.ts +0 -57
- package/dist/types/components/stzh-hr/stzh-hr.d.ts +0 -7
- package/dist/types/components/stzh-input/stzh-input.d.ts +0 -95
- package/dist/types/components/stzh-link/stzh-link.d.ts +0 -50
- package/dist/types/components/stzh-list/stzh-list.d.ts +0 -9
- package/dist/types/components/stzh-list-item/stzh-list-item.d.ts +0 -7
- package/dist/types/components/stzh-loader/stzh-loader.d.ts +0 -13
- package/dist/types/components/stzh-loadingbar/stzh-loadingbar.d.ts +0 -12
- package/dist/types/components/stzh-menu-item/stzh-menu-item.d.ts +0 -35
- package/dist/types/components/stzh-message/stzh-message.d.ts +0 -36
- package/dist/types/components/stzh-metanav/stzh-metanav.d.ts +0 -11
- package/dist/types/components/stzh-overlay/stzh-overlay.d.ts +0 -34
- package/dist/types/components/stzh-page-skiplinks/stzh-page-skiplinks.d.ts +0 -11
- package/dist/types/components/stzh-pagetitle/stzh-pagetitle.d.ts +0 -11
- package/dist/types/components/stzh-popover/stzh-popover.d.ts +0 -73
- package/dist/types/components/stzh-progressbar/stzh-progressbar.d.ts +0 -42
- package/dist/types/components/stzh-radio/stzh-radio.d.ts +0 -55
- package/dist/types/components/stzh-radiogroup/stzh-radiogroup.d.ts +0 -64
- package/dist/types/components/stzh-readspeaker/stzh-readspeaker.d.ts +0 -18
- package/dist/types/components/stzh-richtext/stzh-richtext.d.ts +0 -14
- package/dist/types/components/stzh-saptcha/stzh-saptcha.d.ts +0 -28
- package/dist/types/components/stzh-servicecard/stzh-servicecard.d.ts +0 -72
- package/dist/types/components/stzh-servicecard-list/stzh-servicecard-list.d.ts +0 -23
- package/dist/types/components/stzh-sortable/stzh-sortable.d.ts +0 -52
- package/dist/types/components/stzh-status/stzh-status.d.ts +0 -14
- package/dist/types/components/stzh-table/stzh-table.d.ts +0 -33
- package/dist/types/components/stzh-toggle/stzh-toggle.d.ts +0 -57
- package/dist/types/components/stzh-tooltip/stzh-tooltip.d.ts +0 -78
- package/dist/types/components/stzh-upload/stzh-upload.d.ts +0 -207
- package/dist/types/components/stzh-vbz-linechip/stzh-vbz-linechip.d.ts +0 -27
- package/dist/types/components/stzh-vbz-majorticker/stzh-vbz-majorticker.d.ts +0 -34
- package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.d.ts +0 -54
- package/dist/types/types/svg.d.ts +0 -4
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-ac9bdc7f.js');
|
|
6
|
-
const utils = require('./utils-
|
|
7
|
-
const translationUtils = require('./translation-utils-
|
|
8
|
-
const stzhInputDescription = require('./stzh-input-description-
|
|
6
|
+
const utils = require('./utils-8dc66449.js');
|
|
7
|
+
const translationUtils = require('./translation-utils-73073e44.js');
|
|
8
|
+
const stzhInputDescription = require('./stzh-input-description-9802abc2.js');
|
|
9
9
|
const _commonjsHelpers = require('./_commonjsHelpers-bcc1208a.js');
|
|
10
10
|
|
|
11
11
|
var dropzone = _commonjsHelpers.createCommonjsModule(function (module, exports) {
|
|
@@ -10306,445 +10306,478 @@ window.Dropzone = Dropzone;
|
|
|
10306
10306
|
|
|
10307
10307
|
const Dropzone = /*@__PURE__*/_commonjsHelpers.getDefaultExportFromCjs(dropzone);
|
|
10308
10308
|
|
|
10309
|
-
const stzhUploadCss = ":host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}stzh-upload{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}stzh-upload[hidden]{display:none}stzh-upload *,stzh-upload *::before,stzh-upload *::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-upload{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;position:relative;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;}.stzh-upload__marker-symbol{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-upload__marker-text{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-upload__description-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-upload__error,.stzh-upload__description{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-upload__error{color:var(--stzh-color-error)}.stzh-upload__error-list{list-style:none;margin:0;padding:0}.stzh-upload__description{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-upload__description-long{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-upload__description-long-popover{--width:auto;--max-width:27.3125rem}.stzh-upload__description-long-popover[open]:not([open=false]) .stzh-upload__description-long-button{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__description-long-button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-upload__description-long-button:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload stzh-icon.stzh-upload__description-long-icon{--size:var(--stzh-icon-size-xsmall)}.stzh-upload--has-error .stzh-upload__error,.stzh-upload--has-description .stzh-upload__description{margin-top:var(--stzh-space-xxsmall)}.stzh-upload__label{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-size:var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-h4-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-h4-default-text-letter-spacing);color:var(--stzh-base-lead-color);margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-upload__label{font-size:var(--stzh-font-curve-h4-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h4-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-h4-medium-text-letter-spacing)}}.stzh-upload__clickarea{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);padding:var(--stzh-space-large);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;text-align:center;border:0.0625rem solid var(--stzh-base-border-color);border-image-source:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD4SURBVHgB7dlBCoMwEAXQSXqBHsUj9ChWdK2eoN6gdi/W3shjtLssWxDTmZKFFGqhphDhPxBDIOEbJAyMIpYkSay1PvJwSxPjOO7btu1oBq8t3NqPFuxj+Dk1TVOpNE0PwzBcZLLrOkMBieNYDm7LH7DTPCgowJDCZTKvk+YTtRQ4yahpJRDUNwlaUuDkeiMAAFhGalEKXJZlOVdQ+kyBs9bWKEp8Q1DfENQ3VPg+ocIHAPAAFb5HqPD/YVVBjes+BMllM5soim78s175TX3f3ykgk/bNQ8kEdx0qDpsrpd5PtuRmVD23mWumfbs5ftqHMxl+SmmmPQHYcmyn56UnaQAAAABJRU5ErkJggg==');border-image-slice:12;border-image-width:0.75rem;border-image-repeat:round;-webkit-transition:background-color var(--stzh-base-transition-animation-speed);transition:background-color var(--stzh-base-transition-animation-speed)}@media screen and (min-width: 600px){.stzh-upload__clickarea{padding:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.stzh-upload__clickarea{padding:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-upload__clickarea{padding:var(--stzh-space-xxxxlarge)}}@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi){.stzh-upload__clickarea{border-image-source:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIpSURBVHgB7d3BbeJAFMbxsYXFlRLYDtgKllIsC0vcEiqIU8EmB04glu2EdEAHYTvgbgv2vawdcdokni/ikP9Pwp6YyB59YCcej/SS0MrzfDQYDG6sOW1fb2qa5tt2uz2ECHbcsR33OQhcoT/70+n0uNlstt2G9LWRprmtqvCOMM/n89FWi9jOu3Yf9yHCFfszsdx+zWaz225D4ouyLG9Wq9WjfzpZlo3quj7Yjo8B/2VBTpMkOVp2e8/QcvudFEWRe8r2xnd/I+DDLi4T95Zl6tdNP21GAX112f3wa+jEW+v1ehfQ16FdT9OAaJd/bwhUjEDFCFSMQMUIVIxAxQhU5+Vfpy7QqMEJhGCjTv8ynM/n4wAJv6cPAAAAAAAAAPBVMCiq44P1qc8au5zfiH4sw7umaZ67Z0p3AbEqX3SBMpVRhMfIYgQqRqBiBCpGoGIEKkagYgQqRqBiBCpGoGIEKkagYgSqwxx7JebYfwIeJwEAAAAAAAD4UhgU1WGOvRBz7PUqXzDHXozHyGIEKkagYgQqRqBiBCr2GqhXqwmI5oHuvJFl2TigFy+y0jb3HuiTt+q6pjpNT3bL+ZKd11Ya2A8Pdj9/9DpCZVlOvMgKdUHe5pdIP6v9i2jZ7e1buvBCVUn3C0VR3KZp+vMD+6wseMm8Uq9FZB9kFeJuga/Zn4Ud+8EbyeXWtraSlwOavGcvw+FwvFwu/4QIyhJqV+jPzl5PfpZ3BVb+AjID1CfgWYnZAAAAAElFTkSuQmCC');border-image-slice:24}}.stzh-upload__button{margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-upload__button{margin-top:var(--stzh-space-medium)}}.stzh-upload stzh-icon.stzh-upload__delete-icon-error{display:none}.stzh-upload__preview{border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-upload__preview.dz-error .stzh-upload__title{color:var(--stzh-color-error)}.stzh-upload__preview.dz-error .stzh-upload__error-message{display:block}.stzh-upload__preview.dz-error .stzh-upload__meta,.stzh-upload__preview.dz-error stzh-icon.stzh-upload__delete-icon{display:none}.stzh-upload__preview.dz-error stzh-icon.stzh-upload__delete-icon-error{display:-ms-inline-flexbox;display:inline-flex}.stzh-upload__preview.dz-complete .stzh-upload__info-wrapper-processing{display:none}.stzh-upload__preview.dz-complete .stzh-upload__info-wrapper-complete{display:-ms-flexbox;display:flex}.stzh-upload__inner{height:3.875rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.stzh-upload__details{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;overflow:hidden}.stzh-upload__info-wrapper-processing,.stzh-upload__info-wrapper-complete{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}.stzh-upload__info-wrapper-complete{display:none}.stzh-upload__actions{-ms-flex-negative:0;flex-shrink:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-left:var(--stzh-space-medium)}.stzh-upload__infos{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;margin-bottom:var(--stzh-space-xxsmall)}.stzh-upload__title,.stzh-upload__subtitle{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stzh-upload__title{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__meta{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em}.stzh-upload__size strong{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-upload__image{display:none}.stzh-upload__progress{display:block;height:0.5rem;border-radius:0.75rem;background-color:var(--stzh-color-grey13)}.stzh-upload__progress-bar{display:block;height:100%;width:0;border-radius:0.75rem;background:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__progress-text{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;margin-left:var(--stzh-space-medium);font-variant-numeric:tabular-nums}.stzh-upload__extension{text-transform:uppercase}.stzh-upload__delete{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;padding:0;background:none;display:-ms-flexbox;display:flex;color:var(--stzh-base-color)}.stzh-upload__error-message{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;color:var(--stzh-color-error);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);display:none}.stzh-upload.dz-started .stzh-upload__clickarea{margin-bottom:var(--stzh-space-small)}.stzh-upload.dz-drag-hover .stzh-upload__clickarea{background-color:var(--stzh-color-primary4)}.stzh-upload.dz-drag-hover .stzh-upload__button{--background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-upload--is-invalid .stzh-upload__clickarea{border-image-source:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD/SURBVHgB7dlBasJAFAbg/71supy16aI9Qm7Qo7QnsDlBvUHrCdqeKPUEXbUunY0gCPOcMQgimIWOMOL/bRJC8vgJITz4BVFX1c9ieI+nDnss4KXB3xcGdKhfRbfPHnXGHG+waRP+JzLT0VsI4RtY+QbeoyAdXHxxdw5V9SQ/Wi8sLB9LC7nT4cGJrn8RgxoKlzIqrgSD5qbxA21RuPR7AxERnSftoijcTO/H3J5yY9DcGDQ3Bs2NGz4R0a3ghp8RN/xLuKqgvm8fypTKhnjwGleoNlUkJYbtM62cQaayvaCjiZiMIQeFGELbhPnH4LC+TPscuufkORYLMUObyrQNlY5lla7HUdEAAAAASUVORK5CYII=')}@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi){.stzh-upload--is-invalid .stzh-upload__clickarea{border-image-source:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIwSURBVHgB7d1NUhNBGIfxf3dKrdJNNlaJYTFu3Zg5gTlKbjByAuAEwgn0KHKCTk4gLhCrXJiFKy3mdXomCeoCQuYFFjy/DZOhauh6CGE+uqqDlpKGwxifVmZhoqCJNmD1xatS307VQ9KLIsTBZzm48/GYZhZ1XF6cfVztipfffTY1hYONYpoWJu31HXyWj9H83EP1cV/jCRoH04eknXf/7J/HnSp/zb+dpNE4v1uFayXtTnKvvD2Pu1XuFtJgNM2Vrf5Vlvo+E25s9TFhssPYxKy63U94V25t0LYLFt6GWRxZfjGuz4KwlaRiGOLvH3k7Cr2VOl2stgnqjKDOCOqMoM4I6oygzgjqpz11aoP2vjmB5k6XuobNWX4huMjX9AIAAAAAAACAh4Kbon5yy5hnjaX43/xG3Ng8vtzPLdtnSkFxX+ilnaysy6eeTGV0wmNkZwR1RlBnBHVGUGcEdUZQZwR1RlBnBHVGUGcEdUZQZwT1wxx7T8yxvwU8TgIAAAAAAADwoHBT1A9z7B0xx94Zc+xvCY+RnRHUGUGdEdQZQZ0R1Nk6KOt/+IjNGemnbvNRIWylueSctBtms2jBTrrdg4Wwpa6dWThu17FIcdReyyc9H69r40r5I3LZq2hfLxuuF1TJO5oX7zc9YJAdvKm/uswrzWsRWXM89bgEvs/xmOq9sj4/6sbxl6TRNARVeSWrTQ70uK6L1zr/oh48l1C78/E0/38shBPVP49KLdo/+z+8SbPi8H5KCQAAAABJRU5ErkJggg==')}}.stzh-upload--has-error .stzh-upload__error,.stzh-upload--has-description .stzh-upload__description{margin-top:var(--stzh-space-small)}.stzh-upload--is-disabled .stzh-upload__clickarea{cursor:not-allowed;background-color:var(--stzh-color-grey5)}";
|
|
10310
|
-
|
|
10311
|
-
Dropzone.autoDiscover = false;
|
|
10312
|
-
const ATTR_NAME = "data-dz-name";
|
|
10313
|
-
const ATTR_TYPE = "data-dz-type";
|
|
10314
|
-
const ATTR_EXTENSION = "data-dz-extension";
|
|
10315
|
-
const ATTR_PROGRESS_TEXT = "data-dz-progress-text";
|
|
10316
|
-
let uploadCounter = 0;
|
|
10317
|
-
const StzhUpload = class {
|
|
10318
|
-
constructor(hostRef) {
|
|
10319
|
-
index.registerInstance(this, hostRef);
|
|
10320
|
-
this.stzhFileAdded = index.createEvent(this, "stzhFileAdded", 7);
|
|
10321
|
-
this.stzhFilesAdded = index.createEvent(this, "stzhFilesAdded", 7);
|
|
10322
|
-
this.stzhFileRemoved = index.createEvent(this, "stzhFileRemoved", 7);
|
|
10323
|
-
this.stzhSending = index.createEvent(this, "stzhSending", 7);
|
|
10324
|
-
this.stzhSendingMultiple = index.createEvent(this, "stzhSendingMultiple", 7);
|
|
10325
|
-
this.stzhProcessing = index.createEvent(this, "stzhProcessing", 7);
|
|
10326
|
-
this.stzhProcessingMultiple = index.createEvent(this, "stzhProcessingMultiple", 7);
|
|
10327
|
-
this.stzhProgress = index.createEvent(this, "stzhProgress", 7);
|
|
10328
|
-
this.stzhProgressTotal = index.createEvent(this, "stzhProgressTotal", 7);
|
|
10329
|
-
this.stzhError = index.createEvent(this, "stzhError", 7);
|
|
10330
|
-
this.stzhErrorMultiple = index.createEvent(this, "stzhErrorMultiple", 7);
|
|
10331
|
-
this.stzhSuccess = index.createEvent(this, "stzhSuccess", 7);
|
|
10332
|
-
this.stzhSuccessMultiple = index.createEvent(this, "stzhSuccessMultiple", 7);
|
|
10333
|
-
this.stzhCanceled = index.createEvent(this, "stzhCanceled", 7);
|
|
10334
|
-
this.stzhCanceledMultiple = index.createEvent(this, "stzhCanceledMultiple", 7);
|
|
10335
|
-
this.stzhComplete = index.createEvent(this, "stzhComplete", 7);
|
|
10336
|
-
this.stzhCompleteMultiple = index.createEvent(this, "stzhCompleteMultiple", 7);
|
|
10337
|
-
|
|
10338
|
-
|
|
10339
|
-
|
|
10340
|
-
|
|
10341
|
-
|
|
10342
|
-
|
|
10343
|
-
this.
|
|
10344
|
-
/**
|
|
10345
|
-
this.
|
|
10346
|
-
/**
|
|
10347
|
-
|
|
10348
|
-
|
|
10349
|
-
|
|
10350
|
-
|
|
10351
|
-
|
|
10352
|
-
|
|
10353
|
-
|
|
10354
|
-
*
|
|
10355
|
-
|
|
10356
|
-
|
|
10357
|
-
|
|
10358
|
-
|
|
10359
|
-
*
|
|
10360
|
-
*/
|
|
10361
|
-
this.
|
|
10362
|
-
/**
|
|
10363
|
-
*
|
|
10364
|
-
*/
|
|
10365
|
-
this.
|
|
10366
|
-
/**
|
|
10367
|
-
* Whether the upload is
|
|
10368
|
-
*/
|
|
10369
|
-
this.
|
|
10370
|
-
/**
|
|
10371
|
-
*
|
|
10372
|
-
|
|
10373
|
-
|
|
10374
|
-
|
|
10375
|
-
*
|
|
10376
|
-
*
|
|
10377
|
-
*
|
|
10378
|
-
*
|
|
10379
|
-
*
|
|
10380
|
-
|
|
10381
|
-
|
|
10382
|
-
|
|
10383
|
-
*
|
|
10384
|
-
|
|
10385
|
-
|
|
10386
|
-
|
|
10387
|
-
* If
|
|
10388
|
-
|
|
10389
|
-
|
|
10390
|
-
|
|
10391
|
-
* If
|
|
10392
|
-
|
|
10393
|
-
|
|
10394
|
-
|
|
10395
|
-
|
|
10396
|
-
*
|
|
10397
|
-
*/
|
|
10398
|
-
this.
|
|
10399
|
-
/**
|
|
10400
|
-
*
|
|
10401
|
-
*/
|
|
10402
|
-
this.
|
|
10403
|
-
/**
|
|
10404
|
-
*
|
|
10405
|
-
|
|
10406
|
-
|
|
10407
|
-
|
|
10408
|
-
*
|
|
10409
|
-
|
|
10410
|
-
|
|
10411
|
-
|
|
10412
|
-
*
|
|
10413
|
-
|
|
10414
|
-
|
|
10415
|
-
|
|
10416
|
-
|
|
10417
|
-
|
|
10418
|
-
|
|
10419
|
-
*
|
|
10420
|
-
|
|
10421
|
-
|
|
10422
|
-
|
|
10423
|
-
|
|
10424
|
-
|
|
10425
|
-
*
|
|
10426
|
-
*/
|
|
10427
|
-
this.
|
|
10428
|
-
/**
|
|
10429
|
-
* If `true`,
|
|
10430
|
-
*/
|
|
10431
|
-
this.
|
|
10432
|
-
/**
|
|
10433
|
-
*
|
|
10434
|
-
*/
|
|
10435
|
-
this.
|
|
10436
|
-
/**
|
|
10437
|
-
*
|
|
10438
|
-
*/
|
|
10439
|
-
this.
|
|
10440
|
-
/**
|
|
10441
|
-
*
|
|
10442
|
-
|
|
10443
|
-
|
|
10444
|
-
|
|
10445
|
-
*
|
|
10446
|
-
|
|
10447
|
-
|
|
10448
|
-
|
|
10449
|
-
*
|
|
10450
|
-
|
|
10451
|
-
|
|
10452
|
-
|
|
10453
|
-
|
|
10454
|
-
*
|
|
10455
|
-
|
|
10456
|
-
|
|
10457
|
-
|
|
10458
|
-
|
|
10459
|
-
|
|
10460
|
-
|
|
10461
|
-
*
|
|
10462
|
-
|
|
10463
|
-
|
|
10464
|
-
|
|
10465
|
-
*
|
|
10466
|
-
*
|
|
10467
|
-
*
|
|
10468
|
-
|
|
10469
|
-
|
|
10470
|
-
|
|
10471
|
-
|
|
10472
|
-
|
|
10473
|
-
|
|
10474
|
-
|
|
10475
|
-
|
|
10476
|
-
|
|
10477
|
-
|
|
10478
|
-
|
|
10479
|
-
|
|
10480
|
-
|
|
10481
|
-
|
|
10482
|
-
|
|
10483
|
-
|
|
10484
|
-
|
|
10485
|
-
|
|
10486
|
-
*
|
|
10487
|
-
|
|
10488
|
-
|
|
10489
|
-
|
|
10490
|
-
|
|
10491
|
-
|
|
10492
|
-
|
|
10493
|
-
|
|
10494
|
-
|
|
10495
|
-
|
|
10496
|
-
|
|
10497
|
-
|
|
10498
|
-
|
|
10499
|
-
|
|
10500
|
-
|
|
10501
|
-
|
|
10502
|
-
|
|
10503
|
-
|
|
10504
|
-
|
|
10505
|
-
|
|
10506
|
-
|
|
10507
|
-
|
|
10508
|
-
|
|
10509
|
-
|
|
10510
|
-
|
|
10511
|
-
|
|
10512
|
-
|
|
10513
|
-
|
|
10514
|
-
|
|
10515
|
-
|
|
10516
|
-
|
|
10517
|
-
|
|
10518
|
-
|
|
10519
|
-
|
|
10520
|
-
|
|
10521
|
-
|
|
10522
|
-
|
|
10523
|
-
|
|
10524
|
-
|
|
10525
|
-
|
|
10526
|
-
|
|
10527
|
-
|
|
10528
|
-
|
|
10529
|
-
|
|
10530
|
-
|
|
10531
|
-
|
|
10532
|
-
|
|
10533
|
-
this.
|
|
10534
|
-
|
|
10535
|
-
|
|
10536
|
-
|
|
10537
|
-
|
|
10538
|
-
|
|
10539
|
-
|
|
10540
|
-
|
|
10541
|
-
|
|
10542
|
-
|
|
10543
|
-
|
|
10544
|
-
|
|
10545
|
-
|
|
10546
|
-
|
|
10547
|
-
|
|
10548
|
-
|
|
10549
|
-
|
|
10550
|
-
|
|
10551
|
-
|
|
10552
|
-
|
|
10553
|
-
|
|
10554
|
-
|
|
10555
|
-
|
|
10556
|
-
|
|
10557
|
-
|
|
10558
|
-
|
|
10559
|
-
|
|
10560
|
-
|
|
10561
|
-
|
|
10562
|
-
|
|
10563
|
-
|
|
10564
|
-
|
|
10565
|
-
|
|
10566
|
-
|
|
10567
|
-
|
|
10568
|
-
|
|
10569
|
-
|
|
10570
|
-
|
|
10571
|
-
|
|
10572
|
-
|
|
10573
|
-
|
|
10574
|
-
|
|
10575
|
-
|
|
10576
|
-
|
|
10577
|
-
|
|
10578
|
-
|
|
10579
|
-
|
|
10580
|
-
|
|
10581
|
-
|
|
10582
|
-
|
|
10583
|
-
|
|
10584
|
-
|
|
10585
|
-
|
|
10586
|
-
|
|
10587
|
-
|
|
10588
|
-
|
|
10589
|
-
|
|
10590
|
-
|
|
10591
|
-
|
|
10592
|
-
|
|
10593
|
-
|
|
10594
|
-
|
|
10595
|
-
|
|
10596
|
-
|
|
10597
|
-
|
|
10598
|
-
|
|
10599
|
-
|
|
10600
|
-
|
|
10601
|
-
|
|
10602
|
-
|
|
10603
|
-
|
|
10604
|
-
|
|
10605
|
-
}
|
|
10606
|
-
|
|
10607
|
-
|
|
10608
|
-
|
|
10609
|
-
|
|
10610
|
-
|
|
10611
|
-
|
|
10612
|
-
|
|
10613
|
-
|
|
10614
|
-
|
|
10615
|
-
|
|
10616
|
-
|
|
10617
|
-
|
|
10618
|
-
|
|
10619
|
-
|
|
10620
|
-
|
|
10621
|
-
|
|
10622
|
-
|
|
10623
|
-
|
|
10624
|
-
|
|
10625
|
-
|
|
10626
|
-
|
|
10627
|
-
|
|
10628
|
-
|
|
10629
|
-
|
|
10630
|
-
|
|
10631
|
-
|
|
10632
|
-
|
|
10633
|
-
|
|
10634
|
-
|
|
10635
|
-
|
|
10636
|
-
|
|
10637
|
-
|
|
10638
|
-
|
|
10639
|
-
|
|
10640
|
-
|
|
10641
|
-
|
|
10642
|
-
|
|
10643
|
-
|
|
10644
|
-
|
|
10645
|
-
|
|
10646
|
-
|
|
10647
|
-
|
|
10648
|
-
|
|
10649
|
-
|
|
10650
|
-
|
|
10651
|
-
|
|
10652
|
-
|
|
10653
|
-
|
|
10654
|
-
|
|
10655
|
-
|
|
10656
|
-
|
|
10657
|
-
|
|
10658
|
-
|
|
10659
|
-
|
|
10660
|
-
|
|
10661
|
-
|
|
10662
|
-
|
|
10663
|
-
|
|
10664
|
-
|
|
10665
|
-
|
|
10666
|
-
|
|
10667
|
-
|
|
10668
|
-
|
|
10669
|
-
|
|
10670
|
-
|
|
10671
|
-
|
|
10672
|
-
|
|
10673
|
-
|
|
10674
|
-
|
|
10675
|
-
|
|
10676
|
-
|
|
10677
|
-
|
|
10678
|
-
|
|
10679
|
-
|
|
10680
|
-
|
|
10681
|
-
|
|
10682
|
-
|
|
10683
|
-
|
|
10684
|
-
|
|
10685
|
-
|
|
10686
|
-
this.dropzone.on("
|
|
10687
|
-
component: "stzh-upload", file
|
|
10688
|
-
}));
|
|
10689
|
-
this.dropzone.on("
|
|
10690
|
-
component: "stzh-upload", files
|
|
10691
|
-
}));
|
|
10692
|
-
this.dropzone.on("
|
|
10693
|
-
component: "stzh-upload", file
|
|
10694
|
-
}));
|
|
10695
|
-
this.dropzone.on("
|
|
10696
|
-
component: "stzh-upload",
|
|
10697
|
-
}));
|
|
10698
|
-
this.dropzone.on("
|
|
10699
|
-
component: "stzh-upload",
|
|
10700
|
-
}));
|
|
10701
|
-
this.dropzone.on("
|
|
10702
|
-
component: "stzh-upload",
|
|
10703
|
-
}));
|
|
10704
|
-
this.dropzone.on("
|
|
10705
|
-
|
|
10706
|
-
|
|
10707
|
-
|
|
10708
|
-
file
|
|
10709
|
-
|
|
10710
|
-
|
|
10711
|
-
|
|
10712
|
-
|
|
10713
|
-
|
|
10714
|
-
|
|
10715
|
-
|
|
10716
|
-
|
|
10717
|
-
|
|
10718
|
-
|
|
10719
|
-
|
|
10720
|
-
|
|
10721
|
-
|
|
10722
|
-
|
|
10723
|
-
|
|
10724
|
-
|
|
10725
|
-
|
|
10726
|
-
|
|
10727
|
-
|
|
10728
|
-
|
|
10729
|
-
|
|
10730
|
-
|
|
10731
|
-
|
|
10732
|
-
|
|
10733
|
-
|
|
10734
|
-
|
|
10735
|
-
"stzh-upload
|
|
10736
|
-
|
|
10737
|
-
|
|
10738
|
-
|
|
10739
|
-
|
|
10740
|
-
|
|
10741
|
-
|
|
10742
|
-
|
|
10743
|
-
|
|
10744
|
-
|
|
10745
|
-
|
|
10746
|
-
|
|
10747
|
-
};
|
|
10309
|
+
const stzhUploadCss = ":host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}stzh-upload{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}stzh-upload[hidden]{display:none}stzh-upload *,stzh-upload *::before,stzh-upload *::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-upload{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;position:relative;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;}.stzh-upload__marker-symbol{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-upload__marker-text{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-upload__description-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-upload__error,.stzh-upload__description{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-upload__error{color:var(--stzh-color-error)}.stzh-upload__error-list{list-style:none;margin:0;padding:0}.stzh-upload__description{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-upload__description-long{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-upload__description-long-popover{--width:auto;--max-width:27.3125rem}.stzh-upload__description-long-popover[open]:not([open=false]) .stzh-upload__description-long-button{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__description-long-button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-upload__description-long-button:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload stzh-icon.stzh-upload__description-long-icon{--size:var(--stzh-icon-size-xsmall)}.stzh-upload--has-error .stzh-upload__error,.stzh-upload--has-description .stzh-upload__description{margin-top:var(--stzh-space-xxsmall)}.stzh-upload__label{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-size:var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-h4-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-h4-default-text-letter-spacing);color:var(--stzh-base-lead-color);margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-upload__label{font-size:var(--stzh-font-curve-h4-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h4-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-h4-medium-text-letter-spacing)}}.stzh-upload__clickarea{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);padding:var(--stzh-space-large);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;text-align:center;border:0.0625rem solid var(--stzh-base-border-color);border-image-source:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD4SURBVHgB7dlBCoMwEAXQSXqBHsUj9ChWdK2eoN6gdi/W3shjtLssWxDTmZKFFGqhphDhPxBDIOEbJAyMIpYkSay1PvJwSxPjOO7btu1oBq8t3NqPFuxj+Dk1TVOpNE0PwzBcZLLrOkMBieNYDm7LH7DTPCgowJDCZTKvk+YTtRQ4yahpJRDUNwlaUuDkeiMAAFhGalEKXJZlOVdQ+kyBs9bWKEp8Q1DfENQ3VPg+ocIHAPAAFb5HqPD/YVVBjes+BMllM5soim78s175TX3f3ykgk/bNQ8kEdx0qDpsrpd5PtuRmVD23mWumfbs5ftqHMxl+SmmmPQHYcmyn56UnaQAAAABJRU5ErkJggg==');border-image-slice:12;border-image-width:0.75rem;border-image-repeat:round;-webkit-transition:background-color var(--stzh-base-transition-animation-speed);transition:background-color var(--stzh-base-transition-animation-speed)}@media screen and (min-width: 600px){.stzh-upload__clickarea{padding:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.stzh-upload__clickarea{padding:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-upload__clickarea{padding:var(--stzh-space-xxxxlarge)}}@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi){.stzh-upload__clickarea{border-image-source:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIpSURBVHgB7d3BbeJAFMbxsYXFlRLYDtgKllIsC0vcEiqIU8EmB04glu2EdEAHYTvgbgv2vawdcdokni/ikP9Pwp6YyB59YCcej/SS0MrzfDQYDG6sOW1fb2qa5tt2uz2ECHbcsR33OQhcoT/70+n0uNlstt2G9LWRprmtqvCOMM/n89FWi9jOu3Yf9yHCFfszsdx+zWaz225D4ouyLG9Wq9WjfzpZlo3quj7Yjo8B/2VBTpMkOVp2e8/QcvudFEWRe8r2xnd/I+DDLi4T95Zl6tdNP21GAX112f3wa+jEW+v1ehfQ16FdT9OAaJd/bwhUjEDFCFSMQMUIVIxAxQhU5+Vfpy7QqMEJhGCjTv8ynM/n4wAJv6cPAAAAAAAAAPBVMCiq44P1qc8au5zfiH4sw7umaZ67Z0p3AbEqX3SBMpVRhMfIYgQqRqBiBCpGoGIEKkagYgQqRqBiBCpGoGIEKkagYgSqwxx7JebYfwIeJwEAAAAAAAD4UhgU1WGOvRBz7PUqXzDHXozHyGIEKkagYgQqRqBiBCr2GqhXqwmI5oHuvJFl2TigFy+y0jb3HuiTt+q6pjpNT3bL+ZKd11Ya2A8Pdj9/9DpCZVlOvMgKdUHe5pdIP6v9i2jZ7e1buvBCVUn3C0VR3KZp+vMD+6wseMm8Uq9FZB9kFeJuga/Zn4Ud+8EbyeXWtraSlwOavGcvw+FwvFwu/4QIyhJqV+jPzl5PfpZ3BVb+AjID1CfgWYnZAAAAAElFTkSuQmCC');border-image-slice:24}}.stzh-upload__button{margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-upload__button{margin-top:var(--stzh-space-medium)}}.stzh-upload stzh-icon.stzh-upload__delete-icon-error{display:none}.stzh-upload__preview{border-bottom:0.0625rem solid var(--stzh-base-border-color)}.stzh-upload__preview.dz-error .stzh-upload__title{color:var(--stzh-color-error)}.stzh-upload__preview.dz-error .stzh-upload__error-message{display:block}.stzh-upload__preview.dz-error .stzh-upload__meta,.stzh-upload__preview.dz-error stzh-icon.stzh-upload__delete-icon{display:none}.stzh-upload__preview.dz-error stzh-icon.stzh-upload__delete-icon-error{display:-ms-inline-flexbox;display:inline-flex}.stzh-upload__preview.dz-complete .stzh-upload__info-wrapper-processing{display:none}.stzh-upload__preview.dz-complete .stzh-upload__info-wrapper-complete{display:-ms-flexbox;display:flex}.stzh-upload__inner{height:3.875rem;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.stzh-upload__details{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;overflow:hidden}.stzh-upload__info-wrapper-processing,.stzh-upload__info-wrapper-complete{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}.stzh-upload__info-wrapper-complete{display:none}.stzh-upload__actions{-ms-flex-negative:0;flex-shrink:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin-left:var(--stzh-space-medium)}.stzh-upload__infos{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;margin-bottom:var(--stzh-space-xxsmall)}.stzh-upload__title,.stzh-upload__subtitle{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stzh-upload__title{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__meta{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em}.stzh-upload__size strong{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-upload__image{display:none}.stzh-upload__progress{display:block;height:0.5rem;border-radius:0.75rem;background-color:var(--stzh-color-grey13)}.stzh-upload__progress-bar{display:block;height:100%;width:0;border-radius:0.75rem;background:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-upload__progress-text{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;margin-left:var(--stzh-space-medium);font-variant-numeric:tabular-nums}.stzh-upload__extension{text-transform:uppercase}.stzh-upload__delete{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;padding:0;background:none;display:-ms-flexbox;display:flex;color:var(--stzh-base-color)}.stzh-upload__error-message{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);letter-spacing:0.01em;color:var(--stzh-color-error);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);display:none}.stzh-upload.dz-started .stzh-upload__clickarea{margin-bottom:var(--stzh-space-small)}.stzh-upload:has(.stzh-upload__preview) .stzh-upload__clickarea{margin-bottom:var(--stzh-space-small)}.stzh-upload.dz-drag-hover .stzh-upload__clickarea{background-color:var(--stzh-color-primary4)}.stzh-upload.dz-drag-hover .stzh-upload__button{--background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-upload--is-invalid .stzh-upload__clickarea{border-image-source:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAD/SURBVHgB7dlBasJAFAbg/71supy16aI9Qm7Qo7QnsDlBvUHrCdqeKPUEXbUunY0gCPOcMQgimIWOMOL/bRJC8vgJITz4BVFX1c9ieI+nDnss4KXB3xcGdKhfRbfPHnXGHG+waRP+JzLT0VsI4RtY+QbeoyAdXHxxdw5V9SQ/Wi8sLB9LC7nT4cGJrn8RgxoKlzIqrgSD5qbxA21RuPR7AxERnSftoijcTO/H3J5yY9DcGDQ3Bs2NGz4R0a3ghp8RN/xLuKqgvm8fypTKhnjwGleoNlUkJYbtM62cQaayvaCjiZiMIQeFGELbhPnH4LC+TPscuufkORYLMUObyrQNlY5lla7HUdEAAAAASUVORK5CYII=')}@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi){.stzh-upload--is-invalid .stzh-upload__clickarea{border-image-source:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABUCAYAAAAcaxDBAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIwSURBVHgB7d1NUhNBGIfxf3dKrdJNNlaJYTFu3Zg5gTlKbjByAuAEwgn0KHKCTk4gLhCrXJiFKy3mdXomCeoCQuYFFjy/DZOhauh6CGE+uqqDlpKGwxifVmZhoqCJNmD1xatS307VQ9KLIsTBZzm48/GYZhZ1XF6cfVztipfffTY1hYONYpoWJu31HXyWj9H83EP1cV/jCRoH04eknXf/7J/HnSp/zb+dpNE4v1uFayXtTnKvvD2Pu1XuFtJgNM2Vrf5Vlvo+E25s9TFhssPYxKy63U94V25t0LYLFt6GWRxZfjGuz4KwlaRiGOLvH3k7Cr2VOl2stgnqjKDOCOqMoM4I6oygzgjqpz11aoP2vjmB5k6XuobNWX4huMjX9AIAAAAAAACAh4Kbon5yy5hnjaX43/xG3Ng8vtzPLdtnSkFxX+ilnaysy6eeTGV0wmNkZwR1RlBnBHVGUGcEdUZQZwR1RlBnBHVGUGcEdUZQZwT1wxx7T8yxvwU8TgIAAAAAAADwoHBT1A9z7B0xx94Zc+xvCY+RnRHUGUGdEdQZQZ0R1Nk6KOt/+IjNGemnbvNRIWylueSctBtms2jBTrrdg4Wwpa6dWThu17FIcdReyyc9H69r40r5I3LZq2hfLxuuF1TJO5oX7zc9YJAdvKm/uswrzWsRWXM89bgEvs/xmOq9sj4/6sbxl6TRNARVeSWrTQ70uK6L1zr/oh48l1C78/E0/38shBPVP49KLdo/+z+8SbPi8H5KCQAAAABJRU5ErkJggg==')}}.stzh-upload--has-error .stzh-upload__error,.stzh-upload--has-description .stzh-upload__description{margin-top:var(--stzh-space-small)}.stzh-upload--is-disabled .stzh-upload__clickarea{cursor:not-allowed;background-color:var(--stzh-color-grey5)}";
|
|
10310
|
+
|
|
10311
|
+
Dropzone.autoDiscover = false;
|
|
10312
|
+
const ATTR_NAME = "data-dz-name";
|
|
10313
|
+
const ATTR_TYPE = "data-dz-type";
|
|
10314
|
+
const ATTR_EXTENSION = "data-dz-extension";
|
|
10315
|
+
const ATTR_PROGRESS_TEXT = "data-dz-progress-text";
|
|
10316
|
+
let uploadCounter = 0;
|
|
10317
|
+
const StzhUpload = class {
|
|
10318
|
+
constructor(hostRef) {
|
|
10319
|
+
index.registerInstance(this, hostRef);
|
|
10320
|
+
this.stzhFileAdded = index.createEvent(this, "stzhFileAdded", 7);
|
|
10321
|
+
this.stzhFilesAdded = index.createEvent(this, "stzhFilesAdded", 7);
|
|
10322
|
+
this.stzhFileRemoved = index.createEvent(this, "stzhFileRemoved", 7);
|
|
10323
|
+
this.stzhSending = index.createEvent(this, "stzhSending", 7);
|
|
10324
|
+
this.stzhSendingMultiple = index.createEvent(this, "stzhSendingMultiple", 7);
|
|
10325
|
+
this.stzhProcessing = index.createEvent(this, "stzhProcessing", 7);
|
|
10326
|
+
this.stzhProcessingMultiple = index.createEvent(this, "stzhProcessingMultiple", 7);
|
|
10327
|
+
this.stzhProgress = index.createEvent(this, "stzhProgress", 7);
|
|
10328
|
+
this.stzhProgressTotal = index.createEvent(this, "stzhProgressTotal", 7);
|
|
10329
|
+
this.stzhError = index.createEvent(this, "stzhError", 7);
|
|
10330
|
+
this.stzhErrorMultiple = index.createEvent(this, "stzhErrorMultiple", 7);
|
|
10331
|
+
this.stzhSuccess = index.createEvent(this, "stzhSuccess", 7);
|
|
10332
|
+
this.stzhSuccessMultiple = index.createEvent(this, "stzhSuccessMultiple", 7);
|
|
10333
|
+
this.stzhCanceled = index.createEvent(this, "stzhCanceled", 7);
|
|
10334
|
+
this.stzhCanceledMultiple = index.createEvent(this, "stzhCanceledMultiple", 7);
|
|
10335
|
+
this.stzhComplete = index.createEvent(this, "stzhComplete", 7);
|
|
10336
|
+
this.stzhCompleteMultiple = index.createEvent(this, "stzhCompleteMultiple", 7);
|
|
10337
|
+
/**
|
|
10338
|
+
* Initially pre existing files (e.g. already uploaded by the user).
|
|
10339
|
+
* Array of objects that must at least include `name` and `size` attribute:
|
|
10340
|
+
* `[{"name":"file1.txt", "size": 12345}, {"name":"file2.txt", "size": 12345}]`
|
|
10341
|
+
*/
|
|
10342
|
+
this.existingFiles = [];
|
|
10343
|
+
this._existingFiles = [];
|
|
10344
|
+
/** Label */
|
|
10345
|
+
this.label = "";
|
|
10346
|
+
/** Description */
|
|
10347
|
+
this.description = "";
|
|
10348
|
+
/** Button text */
|
|
10349
|
+
this.button = "";
|
|
10350
|
+
/**
|
|
10351
|
+
* URL the files are processed to.
|
|
10352
|
+
*
|
|
10353
|
+
* You can also provide a function that will be called with `files` and
|
|
10354
|
+
* `dataBlocks` and must return the url as string.
|
|
10355
|
+
*/
|
|
10356
|
+
this.url = "";
|
|
10357
|
+
/**
|
|
10358
|
+
* Can be changed to `"put"` if necessary. You can also provide a function
|
|
10359
|
+
* that will be called with `files` and must return the method.
|
|
10360
|
+
*/
|
|
10361
|
+
this.method = "post";
|
|
10362
|
+
/**
|
|
10363
|
+
* Will be set on the XHRequest.
|
|
10364
|
+
*/
|
|
10365
|
+
this.withCredentials = false;
|
|
10366
|
+
/**
|
|
10367
|
+
* Whether the upload is disabled or not.
|
|
10368
|
+
*/
|
|
10369
|
+
this.disabled = false;
|
|
10370
|
+
/**
|
|
10371
|
+
* Whether the upload is marked as invalid.
|
|
10372
|
+
*/
|
|
10373
|
+
this.invalid = false;
|
|
10374
|
+
/**
|
|
10375
|
+
* The default implementation of `accept` checks the file's mime type or
|
|
10376
|
+
* extension against this list. This is a comma separated list of mime
|
|
10377
|
+
* types or file extensions.
|
|
10378
|
+
*
|
|
10379
|
+
* Eg.: `image/*,application/pdf,.psd`
|
|
10380
|
+
*
|
|
10381
|
+
* This option will also be used as
|
|
10382
|
+
* [`accept`](https://developer.mozilla.org/en-US/docs/HTML/Element/input#attr-accept)
|
|
10383
|
+
* parameter on the hidden file input as well.
|
|
10384
|
+
*/
|
|
10385
|
+
this.acceptedFiles = null;
|
|
10386
|
+
/**
|
|
10387
|
+
* If false, files will be added to the queue but the queue will not be
|
|
10388
|
+
* processed automatically.
|
|
10389
|
+
* This can be useful if you need some additional user input before sending
|
|
10390
|
+
* files (or if you want want all files sent at once).
|
|
10391
|
+
* If you're ready to send the file simply call `element.processQueue()`.
|
|
10392
|
+
*/
|
|
10393
|
+
this.autoProcessQueue = true;
|
|
10394
|
+
/**
|
|
10395
|
+
* If not `null` defines how many files this dropzone handles. If it exceeds,
|
|
10396
|
+
* the event `stzhMaxfilesexceeded` will be called.
|
|
10397
|
+
*/
|
|
10398
|
+
this.maxFiles = null;
|
|
10399
|
+
/**
|
|
10400
|
+
* The maximum filesize (in MiB) that is allowed to be uploaded.
|
|
10401
|
+
*/
|
|
10402
|
+
this.maxFilesize = 25;
|
|
10403
|
+
/**
|
|
10404
|
+
* How many file uploads to process in parallel.
|
|
10405
|
+
*/
|
|
10406
|
+
this.parallelUploads = 2;
|
|
10407
|
+
/**
|
|
10408
|
+
* Whether to send multiple files in one request. If
|
|
10409
|
+
* this it set to true, then the fallback file input element will
|
|
10410
|
+
* have the `multiple` attribute as well. This option will
|
|
10411
|
+
* also trigger additional events (like `stzhSuccessMultiple`). See the events
|
|
10412
|
+
* documentation section for more information.
|
|
10413
|
+
*/
|
|
10414
|
+
this.uploadMultiple = false;
|
|
10415
|
+
/**
|
|
10416
|
+
* Whether you want files to be uploaded in chunks to your server. This can't be
|
|
10417
|
+
* used in combination with `uploadMultiple`.
|
|
10418
|
+
*
|
|
10419
|
+
* See `chunksUploaded` prop for the callback to finalise an upload.
|
|
10420
|
+
*/
|
|
10421
|
+
this.chunking = false;
|
|
10422
|
+
/**
|
|
10423
|
+
* If `chunking` is enabled, this defines whether **every** file should be chunked,
|
|
10424
|
+
* even if the file size is below chunkSize. This means, that the additional chunk
|
|
10425
|
+
* form data will be submitted and the `chunksUploaded` callback will be invoked.
|
|
10426
|
+
*/
|
|
10427
|
+
this.forceChunking = false;
|
|
10428
|
+
/**
|
|
10429
|
+
* If `chunking` is `true`, then this defines the chunk size in bytes.
|
|
10430
|
+
*/
|
|
10431
|
+
this.chunkSize = 2 * 1024 * 1024;
|
|
10432
|
+
/**
|
|
10433
|
+
* If `true`, the individual chunks of a file are being uploaded simultaneously.
|
|
10434
|
+
*/
|
|
10435
|
+
this.parallelChunkUploads = false;
|
|
10436
|
+
/**
|
|
10437
|
+
* Whether a chunk should be retried if it fails.
|
|
10438
|
+
*/
|
|
10439
|
+
this.retryChunks = false;
|
|
10440
|
+
/**
|
|
10441
|
+
* If `retryChunks` is true, how many times should it be retried.
|
|
10442
|
+
*/
|
|
10443
|
+
this.retryChunksLimit = 3;
|
|
10444
|
+
/**
|
|
10445
|
+
* The base that is used to calculate the **displayed** filesize. You can
|
|
10446
|
+
* change this to 1024 if you would rather display kibibytes, mebibytes,
|
|
10447
|
+
* etc... 1024 is technically incorrect, because `1024 bytes` are `1 kibibyte`
|
|
10448
|
+
* not `1 kilobyte`. You can change this to `1024` if you don't care about
|
|
10449
|
+
* validity.
|
|
10450
|
+
*/
|
|
10451
|
+
this.filesizeBase = 1000;
|
|
10452
|
+
/**
|
|
10453
|
+
* An optional object to send additional headers to the server. Eg:
|
|
10454
|
+
* `{ "My-Awesome-Header": "header value" }`
|
|
10455
|
+
*/
|
|
10456
|
+
this.headers = null;
|
|
10457
|
+
/**
|
|
10458
|
+
* Should the default headers be set or not?
|
|
10459
|
+
* Accept: application/json <- for requesting json response
|
|
10460
|
+
* Cache-Control: no-cache <- Request shouldnt be cached
|
|
10461
|
+
* X-Requested-With: XMLHttpRequest <- We sent the request via XMLHttpRequest
|
|
10462
|
+
*/
|
|
10463
|
+
this.defaultHeaders = true;
|
|
10464
|
+
/**
|
|
10465
|
+
* A function that gets a [file](https://developer.mozilla.org/en-US/docs/DOM/File)
|
|
10466
|
+
* and a `done` function as parameters.
|
|
10467
|
+
*
|
|
10468
|
+
* If the done function is invoked without arguments, the file is "accepted" and will
|
|
10469
|
+
* be processed. If you pass an error message, the file is rejected, and the error
|
|
10470
|
+
* message will be displayed.
|
|
10471
|
+
* This function will not be called if the file is too big or doesn't match the mime types.
|
|
10472
|
+
*/
|
|
10473
|
+
this.accept = function (_file, done) {
|
|
10474
|
+
return done();
|
|
10475
|
+
};
|
|
10476
|
+
/**
|
|
10477
|
+
* The callback that will be invoked when all chunks have been uploaded for a file.
|
|
10478
|
+
* It gets the file for which the chunks have been uploaded as the first parameter,
|
|
10479
|
+
* and the `done` function as second. `done()` needs to be invoked when everything
|
|
10480
|
+
* needed to finish the upload process is done.
|
|
10481
|
+
*/
|
|
10482
|
+
this.chunksUploaded = function (_file, done) {
|
|
10483
|
+
done();
|
|
10484
|
+
};
|
|
10485
|
+
/**
|
|
10486
|
+
* This is the element the hidden input field (which is used when clicking on the
|
|
10487
|
+
* dropzone to trigger file selection) will be appended to. This might
|
|
10488
|
+
* be important in case you use frameworks to switch the content of your page.
|
|
10489
|
+
*
|
|
10490
|
+
* Can be a selector string, or an element directly.
|
|
10491
|
+
*/
|
|
10492
|
+
this.hiddenInputContainer = "body";
|
|
10493
|
+
}
|
|
10494
|
+
existingFilesWatcher(newValue) {
|
|
10495
|
+
if (typeof newValue === "string") {
|
|
10496
|
+
this._existingFiles = JSON.parse(newValue);
|
|
10497
|
+
}
|
|
10498
|
+
else {
|
|
10499
|
+
this._existingFiles = newValue;
|
|
10500
|
+
}
|
|
10501
|
+
}
|
|
10502
|
+
disabledWatcher() {
|
|
10503
|
+
if (this.disabled) {
|
|
10504
|
+
this.dropzone.disable();
|
|
10505
|
+
}
|
|
10506
|
+
else {
|
|
10507
|
+
this.dropzone.enable();
|
|
10508
|
+
}
|
|
10509
|
+
}
|
|
10510
|
+
errorWatcher(newValue) {
|
|
10511
|
+
if (typeof newValue === "string") {
|
|
10512
|
+
try {
|
|
10513
|
+
this._error = JSON.parse(newValue);
|
|
10514
|
+
}
|
|
10515
|
+
catch (e) {
|
|
10516
|
+
if (newValue) {
|
|
10517
|
+
this._error = [newValue];
|
|
10518
|
+
}
|
|
10519
|
+
else {
|
|
10520
|
+
this._error = [];
|
|
10521
|
+
}
|
|
10522
|
+
}
|
|
10523
|
+
}
|
|
10524
|
+
else if (newValue) {
|
|
10525
|
+
this._error = newValue;
|
|
10526
|
+
}
|
|
10527
|
+
else {
|
|
10528
|
+
this._error = [];
|
|
10529
|
+
}
|
|
10530
|
+
this.invalid = this._error.length > 0;
|
|
10531
|
+
}
|
|
10532
|
+
async processQueue() {
|
|
10533
|
+
return this.dropzone.processQueue();
|
|
10534
|
+
}
|
|
10535
|
+
async componentWillLoad() {
|
|
10536
|
+
this.uploadId = `stzh-upload-${uploadCounter++}`;
|
|
10537
|
+
this.existingFilesWatcher(this.existingFiles);
|
|
10538
|
+
this.errorWatcher(this.error);
|
|
10539
|
+
if (!this.localization) {
|
|
10540
|
+
this.localization = await translationUtils.fetchTranslations(this.element, 'upload');
|
|
10541
|
+
}
|
|
10542
|
+
}
|
|
10543
|
+
componentDidRender() {
|
|
10544
|
+
if (this.dropzone) {
|
|
10545
|
+
return;
|
|
10546
|
+
}
|
|
10547
|
+
const self = this;
|
|
10548
|
+
this.dropzone = new Dropzone(this.dropzoneElement, {
|
|
10549
|
+
url: this.url,
|
|
10550
|
+
method: this.method,
|
|
10551
|
+
withCredentials: this.withCredentials,
|
|
10552
|
+
clickable: [this.clickareaElement],
|
|
10553
|
+
acceptedFiles: this.acceptedFiles,
|
|
10554
|
+
accept: this.accept,
|
|
10555
|
+
maxFiles: this.maxFiles,
|
|
10556
|
+
maxFilesize: this.maxFilesize,
|
|
10557
|
+
filesizeBase: this.filesizeBase,
|
|
10558
|
+
parallelUploads: this.parallelUploads,
|
|
10559
|
+
uploadMultiple: this.uploadMultiple,
|
|
10560
|
+
autoProcessQueue: this.autoProcessQueue,
|
|
10561
|
+
headers: this.headers,
|
|
10562
|
+
defaultHeaders: this.defaultHeaders,
|
|
10563
|
+
chunking: this.chunking,
|
|
10564
|
+
chunkSize: this.chunkSize,
|
|
10565
|
+
chunksUploaded: this.chunksUploaded,
|
|
10566
|
+
forceChunking: this.forceChunking,
|
|
10567
|
+
parallelChunkUploads: this.parallelChunkUploads,
|
|
10568
|
+
retryChunks: this.retryChunks,
|
|
10569
|
+
retryChunksLimit: this.retryChunksLimit,
|
|
10570
|
+
createImageThumbnails: false,
|
|
10571
|
+
hiddenInputContainer: this.hiddenInputContainer,
|
|
10572
|
+
dictFileSizeUnits: { tb: "TB", gb: "GB", mb: "MB", kb: "KB", b: "b" },
|
|
10573
|
+
dictRemoveFileConfirmation: null,
|
|
10574
|
+
dictMaxFilesExceeded: this.localization.maxFilesExceeded,
|
|
10575
|
+
dictRemoveFile: this.localization.removeFile,
|
|
10576
|
+
dictCancelUploadConfirmation: this.localization.cancelUploadConfirmation,
|
|
10577
|
+
dictUploadCanceled: this.localization.uploadCanceled,
|
|
10578
|
+
dictCancelUpload: this.localization.cancelUpload,
|
|
10579
|
+
dictResponseError: this.localization.responseError,
|
|
10580
|
+
dictInvalidFileType: this.localization.invalidFileType,
|
|
10581
|
+
dictFileTooBig: this.localization.fileTooBig,
|
|
10582
|
+
// When the upload is finished, either with success or an error.
|
|
10583
|
+
// Taken from https://github.com/dropzone/dropzone/blob/v5.9.3/src/options.js#L752
|
|
10584
|
+
complete(file) {
|
|
10585
|
+
for (let node of file.previewElement.querySelectorAll("[data-dz-remove]")) {
|
|
10586
|
+
node.setAttribute('title', this.options.dictRemoveFile);
|
|
10587
|
+
node.setAttribute('aria-label', this.options.dictRemoveFile);
|
|
10588
|
+
}
|
|
10589
|
+
// move file uploads with errors to another element, so they are grouped together
|
|
10590
|
+
if (file.status === "error") {
|
|
10591
|
+
self.errorsElement.appendChild(file.previewElement);
|
|
10592
|
+
}
|
|
10593
|
+
if (file._removeLink) {
|
|
10594
|
+
file._removeLink.innerHTML = this.options.dictRemoveFile;
|
|
10595
|
+
}
|
|
10596
|
+
if (file.previewElement) {
|
|
10597
|
+
return file.previewElement.classList.add("dz-complete");
|
|
10598
|
+
}
|
|
10599
|
+
},
|
|
10600
|
+
// Called whenever a file is removed.
|
|
10601
|
+
// Taken fom https://github.com/dropzone/dropzone/blob/v5.9.3/src/options.js#L649
|
|
10602
|
+
removedfile(file) {
|
|
10603
|
+
if (file.previewElement != null && file.previewElement.parentNode != null) {
|
|
10604
|
+
file.previewElement.parentNode.removeChild(file.previewElement);
|
|
10605
|
+
}
|
|
10606
|
+
// set focus to upload
|
|
10607
|
+
self.buttonElement.setFocus();
|
|
10608
|
+
return this._updateMaxFilesReachedClass();
|
|
10609
|
+
},
|
|
10610
|
+
error(file, message, xhr) {
|
|
10611
|
+
if (file.previewElement) {
|
|
10612
|
+
file.previewElement.classList.add("dz-error");
|
|
10613
|
+
if (typeof message !== "string" && message.error) {
|
|
10614
|
+
message = message.error;
|
|
10615
|
+
}
|
|
10616
|
+
else if (xhr) {
|
|
10617
|
+
if (xhr.status === 401 || xhr.status === 403) {
|
|
10618
|
+
message = self.localization.accessError;
|
|
10619
|
+
}
|
|
10620
|
+
else if (xhr.status === 413) {
|
|
10621
|
+
message = self.localization.fileTooBigServer;
|
|
10622
|
+
}
|
|
10623
|
+
else if (xhr.status === 415) {
|
|
10624
|
+
message = self.localization.invalidFileType;
|
|
10625
|
+
}
|
|
10626
|
+
else if (xhr.status >= 500) {
|
|
10627
|
+
message = self.localization.serverError;
|
|
10628
|
+
}
|
|
10629
|
+
else {
|
|
10630
|
+
const defaultError = self.localization.responseError
|
|
10631
|
+
.replace("{{statusCode}}", xhr.status);
|
|
10632
|
+
message = defaultError;
|
|
10633
|
+
}
|
|
10634
|
+
}
|
|
10635
|
+
for (let node of file.previewElement.querySelectorAll("[data-dz-errormessage]")) {
|
|
10636
|
+
node.textContent = message;
|
|
10637
|
+
}
|
|
10638
|
+
}
|
|
10639
|
+
},
|
|
10640
|
+
previewTemplate: `
|
|
10641
|
+
<div class="stzh-upload__preview">
|
|
10642
|
+
<div class="stzh-upload__inner">
|
|
10643
|
+
<div class="stzh-upload__image">
|
|
10644
|
+
<img data-dz-thumbnail />
|
|
10645
|
+
</div>
|
|
10646
|
+
|
|
10647
|
+
<div class="stzh-upload__details">
|
|
10648
|
+
<div class="stzh-upload__info-wrapper-processing">
|
|
10649
|
+
<div class="stzh-upload__infos">
|
|
10650
|
+
<div class="stzh-upload__subtitle">
|
|
10651
|
+
<span data-dz-name></span>
|
|
10652
|
+
</div>
|
|
10653
|
+
<div class="stzh-upload__progress-text">
|
|
10654
|
+
<span data-dz-progress-text></span>
|
|
10655
|
+
</div>
|
|
10656
|
+
</div>
|
|
10657
|
+
<div class="stzh-upload__progress">
|
|
10658
|
+
<span class="stzh-upload__progress-bar" data-dz-uploadprogress></span>
|
|
10659
|
+
</div>
|
|
10660
|
+
</div>
|
|
10661
|
+
<div class="stzh-upload__info-wrapper-complete">
|
|
10662
|
+
<div class="stzh-upload__title">
|
|
10663
|
+
<span data-dz-name></span>
|
|
10664
|
+
</div>
|
|
10665
|
+
<div class="stzh-upload__meta">
|
|
10666
|
+
<span class="stzh-upload__extension" data-dz-extension></span>
|
|
10667
|
+
|
|
|
10668
|
+
<span class="stzh-upload__size" data-dz-size></span>
|
|
10669
|
+
</div>
|
|
10670
|
+
<div class="stzh-upload__error-message">
|
|
10671
|
+
<span data-dz-errormessage></span>
|
|
10672
|
+
</div>
|
|
10673
|
+
</div>
|
|
10674
|
+
<div class="stzh-upload__actions">
|
|
10675
|
+
<button class="stzh-upload__delete" data-dz-remove aria-label="${this.localization.cancelUpload}" title="${this.localization.cancelUpload}">
|
|
10676
|
+
<stzh-icon class="stzh-upload__delete-icon" name="delete"></stzh-icon>
|
|
10677
|
+
<stzh-icon class="stzh-upload__delete-icon-error" name="close"></stzh-icon>
|
|
10678
|
+
</button>
|
|
10679
|
+
</div>
|
|
10680
|
+
</div>
|
|
10681
|
+
</div>
|
|
10682
|
+
</div>
|
|
10683
|
+
`
|
|
10684
|
+
});
|
|
10685
|
+
this.disabledWatcher();
|
|
10686
|
+
this.dropzone.on("addedfile", (file) => this.stzhFileAdded.emit({
|
|
10687
|
+
component: "stzh-upload", file
|
|
10688
|
+
}));
|
|
10689
|
+
this.dropzone.on("addedfiles", (files) => this.stzhFilesAdded.emit({
|
|
10690
|
+
component: "stzh-upload", files
|
|
10691
|
+
}));
|
|
10692
|
+
this.dropzone.on("removedfile", (file) => this.stzhFileRemoved.emit({
|
|
10693
|
+
component: "stzh-upload", file
|
|
10694
|
+
}));
|
|
10695
|
+
this.dropzone.on("sending", (file, xhr, formData) => this.stzhSending.emit({
|
|
10696
|
+
component: "stzh-upload", file, xhr, formData
|
|
10697
|
+
}));
|
|
10698
|
+
this.dropzone.on("sendingmultiple", (files, xhr, formData) => this.stzhSendingMultiple.emit({
|
|
10699
|
+
component: "stzh-upload", files, xhr, formData
|
|
10700
|
+
}));
|
|
10701
|
+
this.dropzone.on("processing", (file) => this.stzhProcessing.emit({
|
|
10702
|
+
component: "stzh-upload", file
|
|
10703
|
+
}));
|
|
10704
|
+
this.dropzone.on("processingmultiple", (files) => this.stzhProcessingMultiple.emit({
|
|
10705
|
+
component: "stzh-upload", files
|
|
10706
|
+
}));
|
|
10707
|
+
this.dropzone.on("uploadprogress", (file, progress, bytesSent) => this.stzhProgress.emit({
|
|
10708
|
+
component: "stzh-upload", file, progress, bytesSent
|
|
10709
|
+
}));
|
|
10710
|
+
this.dropzone.on("totaluploadprogress", (totalUploadProgress, totalBytes, totalBytesSent) => this.stzhProgressTotal.emit({
|
|
10711
|
+
component: "stzh-upload", totalUploadProgress, totalBytes, totalBytesSent
|
|
10712
|
+
}));
|
|
10713
|
+
this.dropzone.on("error", (file, message, xhr) => this.stzhError.emit({
|
|
10714
|
+
component: "stzh-upload", file, message, xhr
|
|
10715
|
+
}));
|
|
10716
|
+
this.dropzone.on("errormultiple", (files, message, xhr) => this.stzhErrorMultiple.emit({
|
|
10717
|
+
component: "stzh-upload", files, message, xhr
|
|
10718
|
+
}));
|
|
10719
|
+
this.dropzone.on("success", (file, responseText, event) => this.stzhSuccess.emit({
|
|
10720
|
+
component: "stzh-upload", file, responseText, event
|
|
10721
|
+
}));
|
|
10722
|
+
this.dropzone.on("successmultiple", (files, responseText, event) => this.stzhSuccessMultiple.emit({
|
|
10723
|
+
component: "stzh-upload", files, responseText, event
|
|
10724
|
+
}));
|
|
10725
|
+
this.dropzone.on("canceled", (file) => this.stzhCanceled.emit({
|
|
10726
|
+
component: "stzh-upload", file
|
|
10727
|
+
}));
|
|
10728
|
+
this.dropzone.on("canceledmultiple", (files) => this.stzhCanceledMultiple.emit({
|
|
10729
|
+
component: "stzh-upload", files
|
|
10730
|
+
}));
|
|
10731
|
+
this.dropzone.on("complete", (file) => this.stzhComplete.emit({
|
|
10732
|
+
component: "stzh-upload", file
|
|
10733
|
+
}));
|
|
10734
|
+
this.dropzone.on("completemultiple", (files) => this.stzhCompleteMultiple.emit({
|
|
10735
|
+
component: "stzh-upload", files
|
|
10736
|
+
}));
|
|
10737
|
+
this.dropzone.on("addedfile", (file) => {
|
|
10738
|
+
file.previewElement.querySelectorAll(`[${ATTR_NAME}]`).forEach((name) => {
|
|
10739
|
+
name.setAttribute("title", file.name);
|
|
10740
|
+
});
|
|
10741
|
+
file.previewElement.querySelectorAll(`[${ATTR_TYPE}]`).forEach((type) => {
|
|
10742
|
+
type.innerText = file.type;
|
|
10743
|
+
});
|
|
10744
|
+
file.previewElement.querySelectorAll(`[${ATTR_EXTENSION}]`).forEach((extension) => {
|
|
10745
|
+
extension.innerText = file.name.split(".").pop();
|
|
10746
|
+
});
|
|
10747
|
+
});
|
|
10748
|
+
this.dropzone.on("uploadprogress", (file, progress) => {
|
|
10749
|
+
file.previewElement.querySelectorAll(`[${ATTR_PROGRESS_TEXT}]`).forEach((progressText) => {
|
|
10750
|
+
progressText.innerText = `${progress.toString()}%`;
|
|
10751
|
+
});
|
|
10752
|
+
});
|
|
10753
|
+
this._existingFiles.forEach((file) => {
|
|
10754
|
+
this.dropzone.displayExistingFile(file, null, null, null, null);
|
|
10755
|
+
});
|
|
10756
|
+
}
|
|
10757
|
+
disconnectedCallback() {
|
|
10758
|
+
if (this.dropzone) {
|
|
10759
|
+
this.dropzone.destroy();
|
|
10760
|
+
this.dropzone = null;
|
|
10761
|
+
}
|
|
10762
|
+
}
|
|
10763
|
+
render() {
|
|
10764
|
+
const errorUsed = utils.hasSlot(this.element, 'error') || !!this.error;
|
|
10765
|
+
const classes = {
|
|
10766
|
+
"stzh-upload": true,
|
|
10767
|
+
"stzh-upload--is-invalid": this.invalid,
|
|
10768
|
+
"stzh-upload--is-disabled": this.disabled,
|
|
10769
|
+
"stzh-upload--has-error": errorUsed,
|
|
10770
|
+
"stzh-upload--has-instructions": !!this.description || !!this.localization.description
|
|
10771
|
+
};
|
|
10772
|
+
return (index.h(index.Host, null, index.h("div", { class: classes, ref: (el) => (this.dropzoneElement = el) }, this.label && index.h("div", { class: "stzh-upload__label" }, this.label), index.h("div", { class: "stzh-upload__clickarea", ref: (el) => (this.clickareaElement = el) }, index.h("div", { class: "stzh-upload__instructions", id: `${this.uploadId}-instruction` }, this.description ? this.description : this.localization.description), index.h("stzh-button", { size: "small", class: "stzh-upload__button", ref: (el) => (this.buttonElement = el), "aria-describedby": `${this.uploadId}-instruction ${this.uploadId}-description`, disabled: this.disabled }, this.button ? this.button : this.localization.button)), index.h(stzhInputDescription.StzhInputDescription, { classPrefix: "stzh-upload", id: `${this.uploadId}-description`, error: this._error }), index.h("div", { class: "stzh-upload__errors", ref: (el) => (this.errorsElement = el) }))));
|
|
10773
|
+
}
|
|
10774
|
+
get element() { return index.getElement(this); }
|
|
10775
|
+
static get watchers() { return {
|
|
10776
|
+
"existingFiles": ["existingFilesWatcher"],
|
|
10777
|
+
"disabled": ["disabledWatcher"],
|
|
10778
|
+
"error": ["errorWatcher"]
|
|
10779
|
+
}; }
|
|
10780
|
+
};
|
|
10748
10781
|
StzhUpload.style = stzhUploadCss;
|
|
10749
10782
|
|
|
10750
10783
|
exports.stzh_upload = StzhUpload;
|