@oiz/stzh-components 0.0.0-pretest → 1.4.0-npmjstest

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (924) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +56 -56
  3. package/dist/cjs/{animation-utils-c816beac.js → animation-utils-cfa35ce7.js} +37 -37
  4. package/dist/cjs/{app-globals-83a6c2d3.js → app-globals-e07b8f5f.js} +42 -42
  5. package/dist/cjs/{arrow-70a32014.js → arrow-3c3b0ae5.js} +3 -3
  6. package/dist/cjs/{date-adapter-2ffd8eaf.js → date-adapter-2a78f6f8.js} +85 -85
  7. package/dist/cjs/{date-utils-898a50be.js → date-utils-bb50c91f.js} +156 -156
  8. package/dist/cjs/{event-utils-4d7d610a.js → event-utils-9b64c792.js} +13 -13
  9. package/dist/cjs/loader.cjs.js +2 -2
  10. package/dist/cjs/{media-utils-f1720906.js → media-utils-8cfc8591.js} +19 -19
  11. package/dist/cjs/{string-utils-223b03e2.js → string-utils-a867b99d.js} +12 -12
  12. package/dist/cjs/stzh-accordion-item.cjs.entry.js +170 -170
  13. package/dist/cjs/stzh-accordion.cjs.entry.js +63 -63
  14. package/dist/cjs/stzh-actions.cjs.entry.js +42 -42
  15. package/dist/cjs/stzh-appnav.cjs.entry.js +39 -39
  16. package/dist/cjs/stzh-appointments.cjs.entry.js +260 -260
  17. package/dist/cjs/stzh-badge_3.cjs.entry.js +146 -146
  18. package/dist/cjs/stzh-calendar.cjs.entry.js +291 -291
  19. package/dist/cjs/stzh-cell.cjs.entry.js +24 -24
  20. package/dist/cjs/stzh-checkbox.cjs.entry.js +123 -123
  21. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +157 -157
  22. package/dist/cjs/stzh-chip-select.cjs.entry.js +55 -55
  23. package/dist/cjs/stzh-chip.cjs.entry.js +90 -90
  24. package/dist/cjs/stzh-components.cjs.js +2 -2
  25. package/dist/cjs/stzh-container.cjs.entry.js +8 -8
  26. package/dist/cjs/stzh-cspace.cjs.entry.js +11 -11
  27. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +92 -92
  28. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +12 -12
  29. package/dist/cjs/stzh-datatable.cjs.entry.js +201 -201
  30. package/dist/cjs/stzh-datepicker_4.cjs.entry.js +458 -458
  31. package/dist/cjs/stzh-dialog.cjs.entry.js +179 -179
  32. package/dist/cjs/stzh-dropdown.cjs.entry.js +450 -450
  33. package/dist/cjs/stzh-fieldset.cjs.entry.js +24 -24
  34. package/dist/cjs/stzh-figure.cjs.entry.js +19 -19
  35. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +167 -167
  36. package/dist/cjs/stzh-footer.cjs.entry.js +56 -56
  37. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +132 -132
  38. package/dist/cjs/stzh-header.cjs.entry.js +151 -151
  39. package/dist/cjs/stzh-heading.cjs.entry.js +21 -21
  40. package/dist/cjs/stzh-hr.cjs.entry.js +12 -12
  41. package/dist/cjs/stzh-hspace.cjs.entry.js +30 -30
  42. package/dist/cjs/stzh-icon-sprite.cjs.entry.js +9 -9
  43. package/dist/cjs/{stzh-input-description-9ed61d1d.js → stzh-input-description-9802abc2.js} +15 -15
  44. package/dist/cjs/stzh-input.cjs.entry.js +181 -181
  45. package/dist/cjs/stzh-link.cjs.entry.js +95 -95
  46. package/dist/cjs/stzh-list-item.cjs.entry.js +15 -15
  47. package/dist/cjs/stzh-list.cjs.entry.js +15 -15
  48. package/dist/cjs/stzh-loader.cjs.entry.js +20 -20
  49. package/dist/cjs/stzh-loadingbar.cjs.entry.js +22 -22
  50. package/dist/cjs/stzh-menu_2.cjs.entry.js +81 -81
  51. package/dist/cjs/stzh-message.cjs.entry.js +72 -72
  52. package/dist/cjs/stzh-metanav.cjs.entry.js +26 -26
  53. package/dist/cjs/stzh-overlay.cjs.entry.js +88 -88
  54. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +26 -26
  55. package/dist/cjs/stzh-pagetitle.cjs.entry.js +61 -61
  56. package/dist/cjs/stzh-popover.cjs.entry.js +349 -349
  57. package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +12 -12
  58. package/dist/cjs/stzh-progressbar-item.cjs.entry.js +46 -46
  59. package/dist/cjs/stzh-progressbar.cjs.entry.js +114 -114
  60. package/dist/cjs/stzh-readspeaker.cjs.entry.js +47 -47
  61. package/dist/cjs/stzh-row.cjs.entry.js +29 -29
  62. package/dist/cjs/stzh-saptcha.cjs.entry.js +70 -70
  63. package/dist/cjs/stzh-section.cjs.entry.js +13 -13
  64. package/dist/cjs/stzh-servicecard-list.cjs.entry.js +45 -45
  65. package/dist/cjs/stzh-servicecard.cjs.entry.js +201 -201
  66. package/dist/cjs/stzh-skiplink.cjs.entry.js +16 -16
  67. package/dist/cjs/stzh-sortable.cjs.entry.js +288 -288
  68. package/dist/cjs/stzh-status.cjs.entry.js +25 -25
  69. package/dist/cjs/stzh-table.cjs.entry.js +132 -132
  70. package/dist/cjs/stzh-toggle.cjs.entry.js +123 -123
  71. package/dist/cjs/stzh-tooltip.cjs.entry.js +310 -310
  72. package/dist/cjs/stzh-upload.cjs.entry.js +440 -440
  73. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +71 -71
  74. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +95 -95
  75. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +171 -171
  76. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +10 -10
  77. package/dist/cjs/stzh-vspace.cjs.entry.js +30 -30
  78. package/dist/cjs/{translation-utils-2dbbce94.js → translation-utils-73073e44.js} +54 -54
  79. package/dist/cjs/{utils-e84f4a8d.js → utils-d327c19d.js} +30 -30
  80. package/dist/collection/assets/favicons/browserconfig.xml +9 -9
  81. package/dist/collection/assets/favicons/site.webmanifest +19 -19
  82. package/dist/collection/assets/fonts.css +39 -39
  83. package/dist/collection/assets/i18n/de.json +154 -154
  84. package/dist/collection/assets/i18n/en.json +154 -154
  85. package/dist/collection/assets/icons/mono/alarm-bell.svg +3 -3
  86. package/dist/collection/assets/icons/mono/angle-down.svg +3 -3
  87. package/dist/collection/assets/icons/mono/angle-left.svg +3 -3
  88. package/dist/collection/assets/icons/mono/angle-right.svg +3 -3
  89. package/dist/collection/assets/icons/mono/angle-up.svg +3 -3
  90. package/dist/collection/assets/icons/mono/archive-box.svg +3 -3
  91. package/dist/collection/assets/icons/mono/arrow-down.svg +3 -3
  92. package/dist/collection/assets/icons/mono/arrow-left-circle.svg +4 -4
  93. package/dist/collection/assets/icons/mono/arrow-left.svg +3 -3
  94. package/dist/collection/assets/icons/mono/arrow-right-long.svg +3 -3
  95. package/dist/collection/assets/icons/mono/arrow-right.svg +3 -3
  96. package/dist/collection/assets/icons/mono/arrow-up.svg +3 -3
  97. package/dist/collection/assets/icons/mono/bulleted-list.svg +3 -3
  98. package/dist/collection/assets/icons/mono/calendar.svg +3 -3
  99. package/dist/collection/assets/icons/mono/cart.svg +3 -3
  100. package/dist/collection/assets/icons/mono/checkmark-circle.svg +3 -3
  101. package/dist/collection/assets/icons/mono/checkmark.svg +3 -3
  102. package/dist/collection/assets/icons/mono/clock.svg +3 -3
  103. package/dist/collection/assets/icons/mono/close-circle.svg +3 -3
  104. package/dist/collection/assets/icons/mono/close.svg +3 -3
  105. package/dist/collection/assets/icons/mono/compass-direction.svg +3 -3
  106. package/dist/collection/assets/icons/mono/compass-north.svg +4 -4
  107. package/dist/collection/assets/icons/mono/construction.svg +3 -3
  108. package/dist/collection/assets/icons/mono/copy.svg +3 -3
  109. package/dist/collection/assets/icons/mono/delete.svg +3 -3
  110. package/dist/collection/assets/icons/mono/download.svg +3 -3
  111. package/dist/collection/assets/icons/mono/drag.svg +10 -10
  112. package/dist/collection/assets/icons/mono/edit.svg +3 -3
  113. package/dist/collection/assets/icons/mono/email-check.svg +10 -10
  114. package/dist/collection/assets/icons/mono/expand.svg +3 -3
  115. package/dist/collection/assets/icons/mono/external-link.svg +4 -4
  116. package/dist/collection/assets/icons/mono/facebook-comment.svg +3 -3
  117. package/dist/collection/assets/icons/mono/facebook.svg +10 -10
  118. package/dist/collection/assets/icons/mono/file.svg +3 -3
  119. package/dist/collection/assets/icons/mono/filtering.svg +3 -3
  120. package/dist/collection/assets/icons/mono/flag.svg +10 -10
  121. package/dist/collection/assets/icons/mono/focus.svg +3 -3
  122. package/dist/collection/assets/icons/mono/gear.svg +3 -3
  123. package/dist/collection/assets/icons/mono/heart.svg +10 -10
  124. package/dist/collection/assets/icons/mono/home.svg +10 -10
  125. package/dist/collection/assets/icons/mono/important-warning.svg +3 -3
  126. package/dist/collection/assets/icons/mono/info-help.svg +3 -3
  127. package/dist/collection/assets/icons/mono/instagram.svg +3 -3
  128. package/dist/collection/assets/icons/mono/like-hand.svg +10 -10
  129. package/dist/collection/assets/icons/mono/linkedin.svg +5 -5
  130. package/dist/collection/assets/icons/mono/list-expanded.svg +4 -4
  131. package/dist/collection/assets/icons/mono/list-shrinked.svg +3 -3
  132. package/dist/collection/assets/icons/mono/lock.svg +10 -10
  133. package/dist/collection/assets/icons/mono/mail.svg +10 -10
  134. package/dist/collection/assets/icons/mono/map.svg +3 -3
  135. package/dist/collection/assets/icons/mono/menu.svg +3 -3
  136. package/dist/collection/assets/icons/mono/minus.svg +3 -3
  137. package/dist/collection/assets/icons/mono/more-horizontal.svg +5 -5
  138. package/dist/collection/assets/icons/mono/more-vertical.svg +5 -5
  139. package/dist/collection/assets/icons/mono/paper-clip.svg +10 -10
  140. package/dist/collection/assets/icons/mono/phone.svg +10 -10
  141. package/dist/collection/assets/icons/mono/pin-location.svg +10 -10
  142. package/dist/collection/assets/icons/mono/pin.svg +11 -11
  143. package/dist/collection/assets/icons/mono/play-1.svg +4 -4
  144. package/dist/collection/assets/icons/mono/play-button.svg +11 -11
  145. package/dist/collection/assets/icons/mono/play.svg +10 -10
  146. package/dist/collection/assets/icons/mono/plus.svg +3 -3
  147. package/dist/collection/assets/icons/mono/portfolio-grid.svg +11 -11
  148. package/dist/collection/assets/icons/mono/print.svg +10 -10
  149. package/dist/collection/assets/icons/mono/question-help.svg +3 -3
  150. package/dist/collection/assets/icons/mono/read-mail.svg +10 -10
  151. package/dist/collection/assets/icons/mono/reload.svg +10 -10
  152. package/dist/collection/assets/icons/mono/reset-time.svg +10 -10
  153. package/dist/collection/assets/icons/mono/reset.svg +10 -10
  154. package/dist/collection/assets/icons/mono/resize.svg +8 -8
  155. package/dist/collection/assets/icons/mono/rss.svg +12 -12
  156. package/dist/collection/assets/icons/mono/search.svg +3 -3
  157. package/dist/collection/assets/icons/mono/services.svg +6 -6
  158. package/dist/collection/assets/icons/mono/share.svg +3 -3
  159. package/dist/collection/assets/icons/mono/shrink.svg +3 -3
  160. package/dist/collection/assets/icons/mono/silent-mode.svg +3 -3
  161. package/dist/collection/assets/icons/mono/social-media.svg +23 -23
  162. package/dist/collection/assets/icons/mono/star-filled.svg +3 -3
  163. package/dist/collection/assets/icons/mono/star.svg +3 -3
  164. package/dist/collection/assets/icons/mono/subtitle.svg +3 -3
  165. package/dist/collection/assets/icons/mono/team.svg +10 -10
  166. package/dist/collection/assets/icons/mono/text-message.svg +6 -6
  167. package/dist/collection/assets/icons/mono/thermometer.svg +10 -10
  168. package/dist/collection/assets/icons/mono/transcript.svg +3 -3
  169. package/dist/collection/assets/icons/mono/twitter-reply.svg +3 -3
  170. package/dist/collection/assets/icons/mono/twitter-retweet.svg +3 -3
  171. package/dist/collection/assets/icons/mono/twitter.svg +10 -10
  172. package/dist/collection/assets/icons/mono/unlock.svg +10 -10
  173. package/dist/collection/assets/icons/mono/user.svg +3 -3
  174. package/dist/collection/assets/icons/mono/view-hidden.svg +3 -3
  175. package/dist/collection/assets/icons/mono/view.svg +4 -4
  176. package/dist/collection/assets/icons/mono/volume-medium.svg +3 -3
  177. package/dist/collection/assets/icons/mono/warning-big.svg +4 -4
  178. package/dist/collection/assets/icons/mono/warning.svg +3 -3
  179. package/dist/collection/assets/icons/mono/web-Link.svg +3 -3
  180. package/dist/collection/assets/icons/mono/wifi-signal.svg +3 -3
  181. package/dist/collection/assets/icons/mono/world-globe.svg +10 -10
  182. package/dist/collection/assets/icons/mono/xing.svg +11 -11
  183. package/dist/collection/assets/polyfills/ie11CustomProperties.min.js +8 -8
  184. package/dist/collection/assets/polyfills/intersection-observer.min.js +7 -7
  185. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.Common.Settings.js +278 -278
  186. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.Core.js +544 -544
  187. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.HL.js +1111 -1111
  188. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.PlayerAPI.js +211 -211
  189. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.js +257 -257
  190. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.lib.Facade.adapter.jquery.js +120 -120
  191. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.lib.RSLib.js +796 -796
  192. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.pub.Config.js +384 -384
  193. package/dist/collection/assets/vendors/readspeaker/ReadSpeaker.ui.js +1241 -1241
  194. package/dist/collection/assets/vendors/readspeaker/ReadSpeakerClassic.css +357 -357
  195. package/dist/collection/assets/vendors/readspeaker/ReadSpeakerClassic.js +51 -51
  196. package/dist/collection/assets/vendors/readspeaker/mods/enlargeHL/ReadSpeaker.enlargeHL.js +24 -24
  197. package/dist/collection/components/stzh-accordion/stzh-accordion.js +156 -156
  198. package/dist/collection/components/stzh-accordion/stzh-accordion.stories.js +52 -52
  199. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +429 -429
  200. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.stories.js +45 -45
  201. package/dist/collection/components/stzh-actions/stzh-actions.js +98 -98
  202. package/dist/collection/components/stzh-actions/stzh-actions.stories.js +66 -66
  203. package/dist/collection/components/stzh-appnav/stzh-appnav.js +112 -112
  204. package/dist/collection/components/stzh-appnav/stzh-appnav.stories.js +53 -53
  205. package/dist/collection/components/stzh-appointments/stzh-appointments.js +515 -515
  206. package/dist/collection/components/stzh-appointments/stzh-appointments.localization.js +1 -1
  207. package/dist/collection/components/stzh-appointments/stzh-appointments.stories.js +186 -186
  208. package/dist/collection/components/stzh-badge/stzh-badge.js +47 -47
  209. package/dist/collection/components/stzh-badge/stzh-badge.stories.js +36 -36
  210. package/dist/collection/components/stzh-button/stzh-button.js +516 -516
  211. package/dist/collection/components/stzh-button/stzh-button.stories.js +66 -66
  212. package/dist/collection/components/stzh-calendar/stzh-calendar-day.js +22 -22
  213. package/dist/collection/components/stzh-calendar/stzh-calendar-month.js +21 -21
  214. package/dist/collection/components/stzh-calendar/stzh-calendar.js +463 -463
  215. package/dist/collection/components/stzh-calendar/stzh-calendar.localization.js +1 -1
  216. package/dist/collection/components/stzh-calendar/stzh-calendar.stories.js +37 -37
  217. package/dist/collection/components/stzh-cell/stzh-cell.js +179 -179
  218. package/dist/collection/components/stzh-cell/stzh-cell.stories.js +39 -39
  219. package/dist/collection/components/stzh-checkbox/assets/check.svg +3 -3
  220. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +459 -459
  221. package/dist/collection/components/stzh-checkbox/stzh-checkbox.stories.js +38 -38
  222. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +450 -450
  223. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.stories.js +39 -39
  224. package/dist/collection/components/stzh-chip/stzh-chip.js +407 -407
  225. package/dist/collection/components/stzh-chip/stzh-chip.stories.js +64 -64
  226. package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +158 -158
  227. package/dist/collection/components/stzh-chip-select/stzh-chip-select.stories.js +69 -69
  228. package/dist/collection/components/stzh-container/stzh-container.js +21 -21
  229. package/dist/collection/components/stzh-container/stzh-container.stories.js +35 -35
  230. package/dist/collection/components/stzh-cspace/stzh-cspace.js +24 -24
  231. package/dist/collection/components/stzh-cspace/stzh-cspace.stories.js +34 -34
  232. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.js +24 -24
  233. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.stories.js +149 -149
  234. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +358 -358
  235. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.localization.js +1 -1
  236. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.stories.js +63 -63
  237. package/dist/collection/components/stzh-datatable/stzh-datatable.js +413 -413
  238. package/dist/collection/components/stzh-datatable/stzh-datatable.localization.js +1 -1
  239. package/dist/collection/components/stzh-datatable/stzh-datatable.stories.js +63 -63
  240. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +586 -586
  241. package/dist/collection/components/stzh-datepicker/stzh-datepicker.localization.js +1 -1
  242. package/dist/collection/components/stzh-datepicker/stzh-datepicker.stories.js +39 -39
  243. package/dist/collection/components/stzh-dialog/stzh-dialog.js +480 -480
  244. package/dist/collection/components/stzh-dialog/stzh-dialog.localization.js +1 -1
  245. package/dist/collection/components/stzh-dialog/stzh-dialog.stories.js +75 -75
  246. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +1436 -1436
  247. package/dist/collection/components/stzh-dropdown/stzh-dropdown.localization.js +1 -1
  248. package/dist/collection/components/stzh-dropdown/stzh-dropdown.stories.js +109 -109
  249. package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +120 -120
  250. package/dist/collection/components/stzh-fieldset/stzh-fieldset.stories.js +55 -55
  251. package/dist/collection/components/stzh-figure/stzh-figure.js +76 -76
  252. package/dist/collection/components/stzh-figure/stzh-figure.stories.js +36 -36
  253. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +253 -253
  254. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.stories.js +27 -27
  255. package/dist/collection/components/stzh-footer/stzh-footer.js +147 -147
  256. package/dist/collection/components/stzh-footer/stzh-footer.localization.js +1 -1
  257. package/dist/collection/components/stzh-footer/stzh-footer.stories.js +49 -49
  258. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.js +319 -319
  259. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.localization.js +1 -1
  260. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.stories.js +49 -49
  261. package/dist/collection/components/stzh-header/stzh-header.js +267 -267
  262. package/dist/collection/components/stzh-header/stzh-header.stories.js +178 -178
  263. package/dist/collection/components/stzh-heading/stzh-heading.js +99 -99
  264. package/dist/collection/components/stzh-heading/stzh-heading.stories.js +37 -37
  265. package/dist/collection/components/stzh-hr/stzh-hr.js +25 -25
  266. package/dist/collection/components/stzh-hr/stzh-hr.stories.js +23 -23
  267. package/dist/collection/components/stzh-hspace/stzh-hspace.js +246 -246
  268. package/dist/collection/components/stzh-hspace/stzh-hspace.stories.js +73 -73
  269. package/dist/collection/components/stzh-icon/stzh-icon.js +76 -76
  270. package/dist/collection/components/stzh-icon/stzh-icon.stories.js +37 -37
  271. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +1354 -1354
  272. package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.js +19 -19
  273. package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.stories.js +46 -46
  274. package/dist/collection/components/stzh-input/stzh-input-description.js +8 -8
  275. package/dist/collection/components/stzh-input/stzh-input.js +724 -724
  276. package/dist/collection/components/stzh-input/stzh-input.stories.js +116 -116
  277. package/dist/collection/components/stzh-link/stzh-link.js +427 -427
  278. package/dist/collection/components/stzh-link/stzh-link.stories.js +67 -67
  279. package/dist/collection/components/stzh-list/stzh-list.js +52 -52
  280. package/dist/collection/components/stzh-list/stzh-list.stories.js +42 -42
  281. package/dist/collection/components/stzh-list-item/assets/checkmark.svg +3 -3
  282. package/dist/collection/components/stzh-list-item/stzh-list-item.js +26 -26
  283. package/dist/collection/components/stzh-loader/stzh-loader.js +93 -93
  284. package/dist/collection/components/stzh-loader/stzh-loader.stories.js +36 -36
  285. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.js +94 -94
  286. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.stories.js +34 -34
  287. package/dist/collection/components/stzh-menu/stzh-menu.js +21 -21
  288. package/dist/collection/components/stzh-menu/stzh-menu.stories.js +69 -69
  289. package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +296 -296
  290. package/dist/collection/components/stzh-menu-item/stzh-menu-item.stories.js +52 -52
  291. package/dist/collection/components/stzh-message/stzh-message.js +287 -287
  292. package/dist/collection/components/stzh-message/stzh-message.localization.js +1 -1
  293. package/dist/collection/components/stzh-message/stzh-message.stories.js +40 -40
  294. package/dist/collection/components/stzh-metanav/stzh-metanav.js +41 -41
  295. package/dist/collection/components/stzh-metanav/stzh-metanav.stories.js +39 -39
  296. package/dist/collection/components/stzh-overlay/stzh-overlay.js +239 -239
  297. package/dist/collection/components/stzh-overlay/stzh-overlay.stories.js +50 -50
  298. package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.js +41 -41
  299. package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.stories.js +43 -43
  300. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js +76 -76
  301. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.stories.js +107 -107
  302. package/dist/collection/components/stzh-popover/stzh-popover.js +673 -673
  303. package/dist/collection/components/stzh-popover/stzh-popover.localization.js +1 -1
  304. package/dist/collection/components/stzh-popover/stzh-popover.stories.js +67 -67
  305. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +578 -578
  306. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.js +25 -25
  307. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.stories.js +28 -28
  308. package/dist/collection/components/stzh-progressbar/stzh-progressbar.js +272 -272
  309. package/dist/collection/components/stzh-progressbar/stzh-progressbar.stories.js +164 -164
  310. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js +250 -250
  311. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.stories.js +36 -36
  312. package/dist/collection/components/stzh-radio/stzh-radio.js +458 -458
  313. package/dist/collection/components/stzh-radio/stzh-radio.stories.js +38 -38
  314. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +479 -477
  315. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.stories.js +39 -39
  316. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +114 -114
  317. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.stories.js +50 -50
  318. package/dist/collection/components/stzh-richtext/stzh-richtext.js +90 -90
  319. package/dist/collection/components/stzh-richtext/stzh-richtext.stories.js +79 -79
  320. package/dist/collection/components/stzh-row/stzh-row.js +207 -207
  321. package/dist/collection/components/stzh-row/stzh-row.stories.js +90 -90
  322. package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +221 -221
  323. package/dist/collection/components/stzh-saptcha/stzh-saptcha.localization.js +1 -1
  324. package/dist/collection/components/stzh-saptcha/stzh-saptcha.stories.js +34 -34
  325. package/dist/collection/components/stzh-section/stzh-section.js +50 -50
  326. package/dist/collection/components/stzh-section/stzh-section.stories.js +100 -100
  327. package/dist/collection/components/stzh-servicecard/stzh-servicecard.js +592 -592
  328. package/dist/collection/components/stzh-servicecard/stzh-servicecard.localization.js +1 -1
  329. package/dist/collection/components/stzh-servicecard/stzh-servicecard.stories.js +73 -73
  330. package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.js +153 -153
  331. package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.localization.js +1 -1
  332. package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.stories.js +115 -115
  333. package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +106 -106
  334. package/dist/collection/components/stzh-skiplink/stzh-skiplink.stories.js +53 -53
  335. package/dist/collection/components/stzh-sortable/stzh-sortable.js +501 -501
  336. package/dist/collection/components/stzh-sortable/stzh-sortable.localization.js +1 -1
  337. package/dist/collection/components/stzh-sortable/stzh-sortable.stories.js +34 -34
  338. package/dist/collection/components/stzh-status/stzh-status.js +115 -115
  339. package/dist/collection/components/stzh-status/stzh-status.stories.js +34 -34
  340. package/dist/collection/components/stzh-table/stzh-table.js +215 -215
  341. package/dist/collection/components/stzh-table/stzh-table.stories.js +89 -89
  342. package/dist/collection/components/stzh-text/stzh-text.js +232 -232
  343. package/dist/collection/components/stzh-text/stzh-text.stories.js +43 -43
  344. package/dist/collection/components/stzh-toggle/stzh-toggle.js +479 -479
  345. package/dist/collection/components/stzh-toggle/stzh-toggle.stories.js +38 -38
  346. package/dist/collection/components/stzh-tooltip/assets/arrow.svg +3 -3
  347. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +667 -667
  348. package/dist/collection/components/stzh-tooltip/stzh-tooltip.localization.js +1 -1
  349. package/dist/collection/components/stzh-tooltip/stzh-tooltip.stories.js +63 -63
  350. package/dist/collection/components/stzh-upload/stzh-upload.js +1358 -1358
  351. package/dist/collection/components/stzh-upload/stzh-upload.localization.js +1 -1
  352. package/dist/collection/components/stzh-upload/stzh-upload.stories.js +69 -69
  353. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +229 -229
  354. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.stories.js +36 -36
  355. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.js +236 -236
  356. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.localization.js +1 -1
  357. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.stories.js +52 -52
  358. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +292 -292
  359. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.js +1 -1
  360. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.stories.js +53 -53
  361. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.js +23 -23
  362. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.stories.js +45 -45
  363. package/dist/collection/components/stzh-vspace/stzh-vspace.js +246 -246
  364. package/dist/collection/components/stzh-vspace/stzh-vspace.stories.js +73 -73
  365. package/dist/collection/global/js/helpers/autofocus.js +20 -20
  366. package/dist/collection/global/js/helpers/scrollbar-width.js +20 -20
  367. package/dist/collection/global/js/script.js +17 -17
  368. package/dist/collection/index.js +7 -7
  369. package/dist/collection/pages/egov.stories.js +262 -262
  370. package/dist/collection/pages/example.stories.js +170 -170
  371. package/dist/collection/pages/meinkonto.stories.js +660 -660
  372. package/dist/collection/patterns/appointments.stories.js +43 -43
  373. package/dist/collection/patterns/processingscreen.stories.js +43 -43
  374. package/dist/collection/utils/animation-utils.js +51 -51
  375. package/dist/collection/utils/date-adapter.js +86 -86
  376. package/dist/collection/utils/date-utils.js +196 -196
  377. package/dist/collection/utils/decorators.js +15 -15
  378. package/dist/collection/utils/event-utils.js +14 -14
  379. package/dist/collection/utils/h.js +109 -109
  380. package/dist/collection/utils/media-utils.js +20 -20
  381. package/dist/collection/utils/string-utils.js +13 -13
  382. package/dist/collection/utils/test-utils.js +27 -27
  383. package/dist/collection/utils/translation-utils.js +55 -55
  384. package/dist/collection/utils/utils.js +41 -41
  385. package/dist/components/animation-utils.js +37 -37
  386. package/dist/components/arrow.js +3 -3
  387. package/dist/components/date-adapter.js +85 -85
  388. package/dist/components/event-utils.js +13 -13
  389. package/dist/components/index.js +41 -41
  390. package/dist/components/media-utils.js +19 -19
  391. package/dist/components/string-utils.js +12 -12
  392. package/dist/components/stzh-accordion-item.js +192 -192
  393. package/dist/components/stzh-accordion.js +81 -81
  394. package/dist/components/stzh-actions.js +58 -58
  395. package/dist/components/stzh-appnav.js +56 -56
  396. package/dist/components/stzh-appointments.js +343 -343
  397. package/dist/components/stzh-badge2.js +26 -26
  398. package/dist/components/stzh-button2.js +155 -155
  399. package/dist/components/stzh-calendar2.js +475 -475
  400. package/dist/components/stzh-cell.js +47 -47
  401. package/dist/components/stzh-checkbox.js +159 -159
  402. package/dist/components/stzh-checkboxgroup.js +192 -192
  403. package/dist/components/stzh-chip-select.js +93 -93
  404. package/dist/components/stzh-chip2.js +122 -122
  405. package/dist/components/stzh-container.js +22 -22
  406. package/dist/components/stzh-cspace.js +25 -25
  407. package/dist/components/stzh-datamessagelist-item.js +156 -156
  408. package/dist/components/stzh-datamessagelist.js +26 -26
  409. package/dist/components/stzh-datatable.js +255 -255
  410. package/dist/components/stzh-datepicker2.js +206 -206
  411. package/dist/components/stzh-dialog.js +214 -214
  412. package/dist/components/stzh-dropdown2.js +514 -514
  413. package/dist/components/stzh-fieldset.js +48 -48
  414. package/dist/components/stzh-figure.js +35 -35
  415. package/dist/components/stzh-flyingfocus.js +188 -188
  416. package/dist/components/stzh-footer.js +88 -88
  417. package/dist/components/stzh-ghettobox2.js +124 -124
  418. package/dist/components/stzh-header.js +174 -174
  419. package/dist/components/stzh-heading2.js +39 -39
  420. package/dist/components/stzh-hr.js +26 -26
  421. package/dist/components/stzh-hspace.js +54 -54
  422. package/dist/components/stzh-icon-sprite.js +23 -23
  423. package/dist/components/stzh-icon2.js +41 -41
  424. package/dist/components/stzh-input-description.js +15 -15
  425. package/dist/components/stzh-input2.js +239 -239
  426. package/dist/components/stzh-link2.js +134 -134
  427. package/dist/components/stzh-list-item.js +30 -30
  428. package/dist/components/stzh-list.js +32 -32
  429. package/dist/components/stzh-loader.js +38 -38
  430. package/dist/components/stzh-loadingbar.js +40 -40
  431. package/dist/components/stzh-menu-item2.js +106 -106
  432. package/dist/components/stzh-menu2.js +22 -22
  433. package/dist/components/stzh-message.js +100 -100
  434. package/dist/components/stzh-metanav.js +40 -40
  435. package/dist/components/stzh-overlay.js +108 -108
  436. package/dist/components/stzh-page-skiplinks.js +40 -40
  437. package/dist/components/stzh-pagetitle.js +74 -74
  438. package/dist/components/stzh-popover2.js +376 -376
  439. package/dist/components/stzh-portal-mitwirken.js +26 -26
  440. package/dist/components/stzh-progressbar-item2.js +74 -74
  441. package/dist/components/stzh-progressbar.js +146 -146
  442. package/dist/components/stzh-radio2.js +156 -156
  443. package/dist/components/stzh-radiogroup2.js +202 -202
  444. package/dist/components/stzh-readspeaker.js +63 -63
  445. package/dist/components/stzh-richtext2.js +57 -57
  446. package/dist/components/stzh-row.js +53 -53
  447. package/dist/components/stzh-saptcha.js +116 -116
  448. package/dist/components/stzh-section.js +29 -29
  449. package/dist/components/stzh-servicecard-list.js +84 -84
  450. package/dist/components/stzh-servicecard.js +263 -263
  451. package/dist/components/stzh-skiplink.js +35 -35
  452. package/dist/components/stzh-sortable2.js +310 -310
  453. package/dist/components/stzh-status2.js +44 -44
  454. package/dist/components/stzh-table.js +153 -153
  455. package/dist/components/stzh-text2.js +57 -57
  456. package/dist/components/stzh-toggle.js +160 -160
  457. package/dist/components/stzh-tooltip2.js +340 -340
  458. package/dist/components/stzh-upload.js +502 -502
  459. package/dist/components/stzh-vbz-linechip2.js +96 -96
  460. package/dist/components/stzh-vbz-majorticker.js +139 -139
  461. package/dist/components/stzh-vbz-ticker.js +214 -214
  462. package/dist/components/stzh-visuallyhidden.js +24 -24
  463. package/dist/components/stzh-vspace.js +54 -54
  464. package/dist/components/translation-utils.js +54 -54
  465. package/dist/components/utils.js +30 -30
  466. package/dist/esm/{animation-utils-27dcfc1e.js → animation-utils-25c74e5b.js} +37 -37
  467. package/dist/esm/{app-globals-137e106c.js → app-globals-70c229e3.js} +42 -42
  468. package/dist/esm/{arrow-18769ca6.js → arrow-86a679c7.js} +3 -3
  469. package/dist/esm/{date-adapter-c0ee5963.js → date-adapter-cbc340fa.js} +85 -85
  470. package/dist/esm/{date-utils-282e96fe.js → date-utils-be83fff1.js} +156 -156
  471. package/dist/esm/{event-utils-68b64805.js → event-utils-7a709e21.js} +13 -13
  472. package/dist/esm/loader.js +2 -2
  473. package/dist/esm/{media-utils-db7c9057.js → media-utils-9b041ceb.js} +19 -19
  474. package/dist/esm/polyfills/core-js.js +0 -0
  475. package/dist/esm/polyfills/dom.js +0 -0
  476. package/dist/esm/polyfills/es5-html-element.js +0 -0
  477. package/dist/esm/polyfills/index.js +0 -0
  478. package/dist/esm/polyfills/system.js +0 -0
  479. package/dist/esm/{string-utils-33181845.js → string-utils-f98ee4e8.js} +12 -12
  480. package/dist/esm/stzh-accordion-item.entry.js +170 -170
  481. package/dist/esm/stzh-accordion.entry.js +63 -63
  482. package/dist/esm/stzh-actions.entry.js +42 -42
  483. package/dist/esm/stzh-appnav.entry.js +39 -39
  484. package/dist/esm/stzh-appointments.entry.js +260 -260
  485. package/dist/esm/stzh-badge_3.entry.js +146 -146
  486. package/dist/esm/stzh-calendar.entry.js +291 -291
  487. package/dist/esm/stzh-cell.entry.js +24 -24
  488. package/dist/esm/stzh-checkbox.entry.js +123 -123
  489. package/dist/esm/stzh-checkboxgroup.entry.js +157 -157
  490. package/dist/esm/stzh-chip-select.entry.js +55 -55
  491. package/dist/esm/stzh-chip.entry.js +90 -90
  492. package/dist/esm/stzh-components.js +2 -2
  493. package/dist/esm/stzh-container.entry.js +8 -8
  494. package/dist/esm/stzh-cspace.entry.js +11 -11
  495. package/dist/esm/stzh-datamessagelist-item.entry.js +92 -92
  496. package/dist/esm/stzh-datamessagelist.entry.js +12 -12
  497. package/dist/esm/stzh-datatable.entry.js +201 -201
  498. package/dist/esm/stzh-datepicker_4.entry.js +458 -458
  499. package/dist/esm/stzh-dialog.entry.js +179 -179
  500. package/dist/esm/stzh-dropdown.entry.js +450 -450
  501. package/dist/esm/stzh-fieldset.entry.js +24 -24
  502. package/dist/esm/stzh-figure.entry.js +19 -19
  503. package/dist/esm/stzh-flyingfocus.entry.js +167 -167
  504. package/dist/esm/stzh-footer.entry.js +56 -56
  505. package/dist/esm/stzh-ghettobox_2.entry.js +132 -132
  506. package/dist/esm/stzh-header.entry.js +151 -151
  507. package/dist/esm/stzh-heading.entry.js +21 -21
  508. package/dist/esm/stzh-hr.entry.js +12 -12
  509. package/dist/esm/stzh-hspace.entry.js +30 -30
  510. package/dist/esm/stzh-icon-sprite.entry.js +9 -9
  511. package/dist/esm/{stzh-input-description-fa0a4b5b.js → stzh-input-description-da7b0e98.js} +15 -15
  512. package/dist/esm/stzh-input.entry.js +181 -181
  513. package/dist/esm/stzh-link.entry.js +95 -95
  514. package/dist/esm/stzh-list-item.entry.js +15 -15
  515. package/dist/esm/stzh-list.entry.js +15 -15
  516. package/dist/esm/stzh-loader.entry.js +20 -20
  517. package/dist/esm/stzh-loadingbar.entry.js +22 -22
  518. package/dist/esm/stzh-menu_2.entry.js +81 -81
  519. package/dist/esm/stzh-message.entry.js +72 -72
  520. package/dist/esm/stzh-metanav.entry.js +26 -26
  521. package/dist/esm/stzh-overlay.entry.js +88 -88
  522. package/dist/esm/stzh-page-skiplinks.entry.js +26 -26
  523. package/dist/esm/stzh-pagetitle.entry.js +61 -61
  524. package/dist/esm/stzh-popover.entry.js +349 -349
  525. package/dist/esm/stzh-portal-mitwirken.entry.js +12 -12
  526. package/dist/esm/stzh-progressbar-item.entry.js +46 -46
  527. package/dist/esm/stzh-progressbar.entry.js +114 -114
  528. package/dist/esm/stzh-readspeaker.entry.js +47 -47
  529. package/dist/esm/stzh-row.entry.js +29 -29
  530. package/dist/esm/stzh-saptcha.entry.js +70 -70
  531. package/dist/esm/stzh-section.entry.js +13 -13
  532. package/dist/esm/stzh-servicecard-list.entry.js +45 -45
  533. package/dist/esm/stzh-servicecard.entry.js +201 -201
  534. package/dist/esm/stzh-skiplink.entry.js +16 -16
  535. package/dist/esm/stzh-sortable.entry.js +288 -288
  536. package/dist/esm/stzh-status.entry.js +25 -25
  537. package/dist/esm/stzh-table.entry.js +132 -132
  538. package/dist/esm/stzh-toggle.entry.js +123 -123
  539. package/dist/esm/stzh-tooltip.entry.js +310 -310
  540. package/dist/esm/stzh-upload.entry.js +440 -440
  541. package/dist/esm/stzh-vbz-linechip.entry.js +71 -71
  542. package/dist/esm/stzh-vbz-majorticker.entry.js +95 -95
  543. package/dist/esm/stzh-vbz-ticker.entry.js +171 -171
  544. package/dist/esm/stzh-visuallyhidden.entry.js +10 -10
  545. package/dist/esm/stzh-vspace.entry.js +30 -30
  546. package/dist/esm/{translation-utils-f5b09945.js → translation-utils-2623783f.js} +54 -54
  547. package/dist/esm/{utils-c5d68020.js → utils-904416df.js} +30 -30
  548. package/dist/esm-es5/{animation-utils-27dcfc1e.js → animation-utils-25c74e5b.js} +0 -0
  549. package/dist/esm-es5/app-globals-70c229e3.js +1 -0
  550. package/dist/esm-es5/{arrow-18769ca6.js → arrow-86a679c7.js} +0 -0
  551. package/dist/esm-es5/{date-adapter-c0ee5963.js → date-adapter-cbc340fa.js} +0 -0
  552. package/dist/esm-es5/{date-utils-282e96fe.js → date-utils-be83fff1.js} +0 -0
  553. package/dist/esm-es5/{event-utils-68b64805.js → event-utils-7a709e21.js} +0 -0
  554. package/dist/esm-es5/loader.js +1 -1
  555. package/dist/esm-es5/{media-utils-db7c9057.js → media-utils-9b041ceb.js} +0 -0
  556. package/dist/esm-es5/{string-utils-33181845.js → string-utils-f98ee4e8.js} +0 -0
  557. package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
  558. package/dist/esm-es5/stzh-actions.entry.js +1 -1
  559. package/dist/esm-es5/stzh-appnav.entry.js +1 -1
  560. package/dist/esm-es5/stzh-appointments.entry.js +1 -1
  561. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  562. package/dist/esm-es5/stzh-calendar.entry.js +1 -1
  563. package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
  564. package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
  565. package/dist/esm-es5/stzh-components.js +1 -1
  566. package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
  567. package/dist/esm-es5/stzh-datatable.entry.js +1 -1
  568. package/dist/esm-es5/stzh-datepicker_4.entry.js +1 -1
  569. package/dist/esm-es5/stzh-dialog.entry.js +1 -1
  570. package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
  571. package/dist/esm-es5/stzh-figure.entry.js +1 -1
  572. package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -1
  573. package/dist/esm-es5/stzh-footer.entry.js +1 -1
  574. package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
  575. package/dist/esm-es5/stzh-header.entry.js +1 -1
  576. package/dist/esm-es5/{stzh-input-description-fa0a4b5b.js → stzh-input-description-da7b0e98.js} +0 -0
  577. package/dist/esm-es5/stzh-input.entry.js +1 -1
  578. package/dist/esm-es5/stzh-link.entry.js +1 -1
  579. package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
  580. package/dist/esm-es5/stzh-message.entry.js +1 -1
  581. package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
  582. package/dist/esm-es5/stzh-popover.entry.js +1 -1
  583. package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
  584. package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
  585. package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
  586. package/dist/esm-es5/stzh-servicecard-list.entry.js +1 -1
  587. package/dist/esm-es5/stzh-servicecard.entry.js +1 -1
  588. package/dist/esm-es5/stzh-sortable.entry.js +1 -1
  589. package/dist/esm-es5/stzh-table.entry.js +1 -1
  590. package/dist/esm-es5/stzh-toggle.entry.js +1 -1
  591. package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
  592. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  593. package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
  594. package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
  595. package/dist/esm-es5/{translation-utils-f5b09945.js → translation-utils-2623783f.js} +0 -0
  596. package/dist/esm-es5/{utils-c5d68020.js → utils-904416df.js} +0 -0
  597. package/dist/stzh-components/assets/favicons/browserconfig.xml +9 -9
  598. package/dist/stzh-components/assets/favicons/site.webmanifest +19 -19
  599. package/dist/stzh-components/assets/fonts.css +39 -39
  600. package/dist/stzh-components/assets/i18n/de.json +154 -154
  601. package/dist/stzh-components/assets/i18n/en.json +154 -154
  602. package/dist/stzh-components/assets/icons/mono/alarm-bell.svg +3 -3
  603. package/dist/stzh-components/assets/icons/mono/angle-down.svg +3 -3
  604. package/dist/stzh-components/assets/icons/mono/angle-left.svg +3 -3
  605. package/dist/stzh-components/assets/icons/mono/angle-right.svg +3 -3
  606. package/dist/stzh-components/assets/icons/mono/angle-up.svg +3 -3
  607. package/dist/stzh-components/assets/icons/mono/archive-box.svg +3 -3
  608. package/dist/stzh-components/assets/icons/mono/arrow-down.svg +3 -3
  609. package/dist/stzh-components/assets/icons/mono/arrow-left-circle.svg +4 -4
  610. package/dist/stzh-components/assets/icons/mono/arrow-left.svg +3 -3
  611. package/dist/stzh-components/assets/icons/mono/arrow-right-long.svg +3 -3
  612. package/dist/stzh-components/assets/icons/mono/arrow-right.svg +3 -3
  613. package/dist/stzh-components/assets/icons/mono/arrow-up.svg +3 -3
  614. package/dist/stzh-components/assets/icons/mono/bulleted-list.svg +3 -3
  615. package/dist/stzh-components/assets/icons/mono/calendar.svg +3 -3
  616. package/dist/stzh-components/assets/icons/mono/cart.svg +3 -3
  617. package/dist/stzh-components/assets/icons/mono/checkmark-circle.svg +3 -3
  618. package/dist/stzh-components/assets/icons/mono/checkmark.svg +3 -3
  619. package/dist/stzh-components/assets/icons/mono/clock.svg +3 -3
  620. package/dist/stzh-components/assets/icons/mono/close-circle.svg +3 -3
  621. package/dist/stzh-components/assets/icons/mono/close.svg +3 -3
  622. package/dist/stzh-components/assets/icons/mono/compass-direction.svg +3 -3
  623. package/dist/stzh-components/assets/icons/mono/compass-north.svg +4 -4
  624. package/dist/stzh-components/assets/icons/mono/construction.svg +3 -3
  625. package/dist/stzh-components/assets/icons/mono/copy.svg +3 -3
  626. package/dist/stzh-components/assets/icons/mono/delete.svg +3 -3
  627. package/dist/stzh-components/assets/icons/mono/download.svg +3 -3
  628. package/dist/stzh-components/assets/icons/mono/drag.svg +10 -10
  629. package/dist/stzh-components/assets/icons/mono/edit.svg +3 -3
  630. package/dist/stzh-components/assets/icons/mono/email-check.svg +10 -10
  631. package/dist/stzh-components/assets/icons/mono/expand.svg +3 -3
  632. package/dist/stzh-components/assets/icons/mono/external-link.svg +4 -4
  633. package/dist/stzh-components/assets/icons/mono/facebook-comment.svg +3 -3
  634. package/dist/stzh-components/assets/icons/mono/facebook.svg +10 -10
  635. package/dist/stzh-components/assets/icons/mono/file.svg +3 -3
  636. package/dist/stzh-components/assets/icons/mono/filtering.svg +3 -3
  637. package/dist/stzh-components/assets/icons/mono/flag.svg +10 -10
  638. package/dist/stzh-components/assets/icons/mono/focus.svg +3 -3
  639. package/dist/stzh-components/assets/icons/mono/gear.svg +3 -3
  640. package/dist/stzh-components/assets/icons/mono/heart.svg +10 -10
  641. package/dist/stzh-components/assets/icons/mono/home.svg +10 -10
  642. package/dist/stzh-components/assets/icons/mono/important-warning.svg +3 -3
  643. package/dist/stzh-components/assets/icons/mono/info-help.svg +3 -3
  644. package/dist/stzh-components/assets/icons/mono/instagram.svg +3 -3
  645. package/dist/stzh-components/assets/icons/mono/like-hand.svg +10 -10
  646. package/dist/stzh-components/assets/icons/mono/linkedin.svg +5 -5
  647. package/dist/stzh-components/assets/icons/mono/list-expanded.svg +4 -4
  648. package/dist/stzh-components/assets/icons/mono/list-shrinked.svg +3 -3
  649. package/dist/stzh-components/assets/icons/mono/lock.svg +10 -10
  650. package/dist/stzh-components/assets/icons/mono/mail.svg +10 -10
  651. package/dist/stzh-components/assets/icons/mono/map.svg +3 -3
  652. package/dist/stzh-components/assets/icons/mono/menu.svg +3 -3
  653. package/dist/stzh-components/assets/icons/mono/minus.svg +3 -3
  654. package/dist/stzh-components/assets/icons/mono/more-horizontal.svg +5 -5
  655. package/dist/stzh-components/assets/icons/mono/more-vertical.svg +5 -5
  656. package/dist/stzh-components/assets/icons/mono/paper-clip.svg +10 -10
  657. package/dist/stzh-components/assets/icons/mono/phone.svg +10 -10
  658. package/dist/stzh-components/assets/icons/mono/pin-location.svg +10 -10
  659. package/dist/stzh-components/assets/icons/mono/pin.svg +11 -11
  660. package/dist/stzh-components/assets/icons/mono/play-1.svg +4 -4
  661. package/dist/stzh-components/assets/icons/mono/play-button.svg +11 -11
  662. package/dist/stzh-components/assets/icons/mono/play.svg +10 -10
  663. package/dist/stzh-components/assets/icons/mono/plus.svg +3 -3
  664. package/dist/stzh-components/assets/icons/mono/portfolio-grid.svg +11 -11
  665. package/dist/stzh-components/assets/icons/mono/print.svg +10 -10
  666. package/dist/stzh-components/assets/icons/mono/question-help.svg +3 -3
  667. package/dist/stzh-components/assets/icons/mono/read-mail.svg +10 -10
  668. package/dist/stzh-components/assets/icons/mono/reload.svg +10 -10
  669. package/dist/stzh-components/assets/icons/mono/reset-time.svg +10 -10
  670. package/dist/stzh-components/assets/icons/mono/reset.svg +10 -10
  671. package/dist/stzh-components/assets/icons/mono/resize.svg +8 -8
  672. package/dist/stzh-components/assets/icons/mono/rss.svg +12 -12
  673. package/dist/stzh-components/assets/icons/mono/search.svg +3 -3
  674. package/dist/stzh-components/assets/icons/mono/services.svg +6 -6
  675. package/dist/stzh-components/assets/icons/mono/share.svg +3 -3
  676. package/dist/stzh-components/assets/icons/mono/shrink.svg +3 -3
  677. package/dist/stzh-components/assets/icons/mono/silent-mode.svg +3 -3
  678. package/dist/stzh-components/assets/icons/mono/social-media.svg +23 -23
  679. package/dist/stzh-components/assets/icons/mono/star-filled.svg +3 -3
  680. package/dist/stzh-components/assets/icons/mono/star.svg +3 -3
  681. package/dist/stzh-components/assets/icons/mono/subtitle.svg +3 -3
  682. package/dist/stzh-components/assets/icons/mono/team.svg +10 -10
  683. package/dist/stzh-components/assets/icons/mono/text-message.svg +6 -6
  684. package/dist/stzh-components/assets/icons/mono/thermometer.svg +10 -10
  685. package/dist/stzh-components/assets/icons/mono/transcript.svg +3 -3
  686. package/dist/stzh-components/assets/icons/mono/twitter-reply.svg +3 -3
  687. package/dist/stzh-components/assets/icons/mono/twitter-retweet.svg +3 -3
  688. package/dist/stzh-components/assets/icons/mono/twitter.svg +10 -10
  689. package/dist/stzh-components/assets/icons/mono/unlock.svg +10 -10
  690. package/dist/stzh-components/assets/icons/mono/user.svg +3 -3
  691. package/dist/stzh-components/assets/icons/mono/view-hidden.svg +3 -3
  692. package/dist/stzh-components/assets/icons/mono/view.svg +4 -4
  693. package/dist/stzh-components/assets/icons/mono/volume-medium.svg +3 -3
  694. package/dist/stzh-components/assets/icons/mono/warning-big.svg +4 -4
  695. package/dist/stzh-components/assets/icons/mono/warning.svg +3 -3
  696. package/dist/stzh-components/assets/icons/mono/web-Link.svg +3 -3
  697. package/dist/stzh-components/assets/icons/mono/wifi-signal.svg +3 -3
  698. package/dist/stzh-components/assets/icons/mono/world-globe.svg +10 -10
  699. package/dist/stzh-components/assets/icons/mono/xing.svg +11 -11
  700. package/dist/stzh-components/assets/polyfills/ie11CustomProperties.min.js +8 -8
  701. package/dist/stzh-components/assets/polyfills/intersection-observer.min.js +7 -7
  702. package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +1354 -1354
  703. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.Common.Settings.js +278 -278
  704. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.Core.js +544 -544
  705. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.HL.js +1111 -1111
  706. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.PlayerAPI.js +211 -211
  707. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.js +257 -257
  708. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.lib.Facade.adapter.jquery.js +120 -120
  709. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.lib.RSLib.js +796 -796
  710. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.pub.Config.js +384 -384
  711. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeaker.ui.js +1241 -1241
  712. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeakerClassic.css +357 -357
  713. package/dist/stzh-components/assets/vendors/readspeaker/ReadSpeakerClassic.js +51 -51
  714. package/dist/stzh-components/assets/vendors/readspeaker/mods/enlargeHL/ReadSpeaker.enlargeHL.js +24 -24
  715. package/dist/stzh-components/{p-95a3c962.system.entry.js → p-043ab41e.system.entry.js} +1 -1
  716. package/dist/stzh-components/{p-bf5b6523.entry.js → p-07f16263.entry.js} +1 -1
  717. package/dist/stzh-components/p-08d4ed80.entry.js +1 -0
  718. package/dist/stzh-components/{p-e1b64b8a.system.entry.js → p-0c92ee26.system.entry.js} +1 -1
  719. package/dist/stzh-components/{p-3e3e4bfd.system.js → p-11816251.system.js} +0 -0
  720. package/dist/stzh-components/{p-d790a367.entry.js → p-11d0c8f3.entry.js} +1 -1
  721. package/dist/stzh-components/{p-bb900d9f.entry.js → p-14d728f0.entry.js} +1 -1
  722. package/dist/stzh-components/{p-f481f21d.system.js → p-176db2fe.system.js} +0 -0
  723. package/dist/stzh-components/{p-af47430b.system.entry.js → p-19344366.system.entry.js} +1 -1
  724. package/dist/stzh-components/{p-afa7061e.entry.js → p-1bfc1097.entry.js} +1 -1
  725. package/dist/stzh-components/{p-da8218fa.system.entry.js → p-1ccbd2d6.system.entry.js} +1 -1
  726. package/dist/stzh-components/{p-22f948e2.entry.js → p-1d914f6c.entry.js} +1 -1
  727. package/dist/stzh-components/{p-9fe34fe8.system.js → p-1e4b4d71.system.js} +0 -0
  728. package/dist/stzh-components/{p-160c6e5f.system.entry.js → p-1f15a4e0.system.entry.js} +1 -1
  729. package/dist/stzh-components/{p-1a40a6e4.js → p-25a09313.js} +0 -0
  730. package/dist/stzh-components/{p-ab2727e6.entry.js → p-298276e4.entry.js} +1 -1
  731. package/dist/stzh-components/{p-3ca5c2e6.system.entry.js → p-2990206c.system.entry.js} +1 -1
  732. package/dist/stzh-components/{p-320aedf7.js → p-2a5855f8.js} +0 -0
  733. package/dist/stzh-components/{p-6113bb25.entry.js → p-2d0685e3.entry.js} +1 -1
  734. package/dist/stzh-components/{p-1aaa5112.system.entry.js → p-2f2cb544.system.entry.js} +1 -1
  735. package/dist/stzh-components/{p-99195f5a.system.js → p-309d2b66.system.js} +0 -0
  736. package/dist/stzh-components/{p-59bdb14a.system.entry.js → p-30cb8bc0.system.entry.js} +1 -1
  737. package/dist/stzh-components/{p-8ba6ca80.js → p-32b78d65.js} +0 -0
  738. package/dist/stzh-components/{p-b06cc533.entry.js → p-33d75303.entry.js} +1 -1
  739. package/dist/stzh-components/{p-45d4e9b4.system.entry.js → p-346e26f2.system.entry.js} +1 -1
  740. package/dist/stzh-components/{p-4b8893d1.entry.js → p-3c4478b0.entry.js} +1 -1
  741. package/dist/stzh-components/{p-740dd50f.entry.js → p-3c799247.entry.js} +1 -1
  742. package/dist/stzh-components/{p-3410ef5a.system.entry.js → p-48bbcc26.system.entry.js} +1 -1
  743. package/dist/stzh-components/{p-3eb7b6b4.entry.js → p-49e37004.entry.js} +1 -1
  744. package/dist/stzh-components/{p-e029f6c5.system.entry.js → p-49ea222f.system.entry.js} +1 -1
  745. package/dist/stzh-components/p-4c61dcad.js +4 -4
  746. package/dist/stzh-components/{p-efb9fa47.system.entry.js → p-4cfe83b5.system.entry.js} +1 -1
  747. package/dist/stzh-components/{p-a499fa98.system.entry.js → p-4e9bfeb8.system.entry.js} +1 -1
  748. package/dist/stzh-components/{p-4c68fa45.system.js → p-5318ba20.system.js} +0 -0
  749. package/dist/stzh-components/{p-301841e3.entry.js → p-55188328.entry.js} +1 -1
  750. package/dist/stzh-components/{p-3afe13ac.system.entry.js → p-58ffc722.system.entry.js} +1 -1
  751. package/dist/stzh-components/{p-ebf73698.entry.js → p-5f7b72c8.entry.js} +1 -1
  752. package/dist/stzh-components/{p-af819e4e.system.js → p-5f856307.system.js} +0 -0
  753. package/dist/stzh-components/{p-73d51acc.system.entry.js → p-60b4f34c.system.entry.js} +1 -1
  754. package/dist/stzh-components/{p-5f20178b.system.js → p-6267a327.system.js} +0 -0
  755. package/dist/stzh-components/{p-ac9e6d17.system.entry.js → p-634095bd.system.entry.js} +1 -1
  756. package/dist/stzh-components/{p-42430cdf.js → p-6c502e6e.js} +0 -0
  757. package/dist/stzh-components/{p-f8bb1bed.system.entry.js → p-6ea5c23d.system.entry.js} +1 -1
  758. package/dist/stzh-components/{p-25afa99e.entry.js → p-6ec17efc.entry.js} +1 -1
  759. package/dist/stzh-components/{p-4b69a3e8.system.entry.js → p-6edd58a4.system.entry.js} +1 -1
  760. package/dist/stzh-components/{p-58b8d309.system.entry.js → p-7279af4a.system.entry.js} +1 -1
  761. package/dist/stzh-components/{p-7c6f9cb3.entry.js → p-73194e28.entry.js} +1 -1
  762. package/dist/stzh-components/{p-81d9f3e0.js → p-77a00e55.js} +0 -0
  763. package/dist/stzh-components/{p-bb91feeb.entry.js → p-79ca1ba6.entry.js} +1 -1
  764. package/dist/stzh-components/{p-79770abe.system.entry.js → p-7a6e347d.system.entry.js} +2 -2
  765. package/dist/stzh-components/{p-cd29b7ca.entry.js → p-7bb1bd3b.entry.js} +1 -1
  766. package/dist/stzh-components/{p-649164c7.entry.js → p-7d098987.entry.js} +1 -1
  767. package/dist/stzh-components/{p-b9e4095d.entry.js → p-7d2237ca.entry.js} +1 -1
  768. package/dist/stzh-components/{p-927901f5.system.entry.js → p-7d62dfeb.system.entry.js} +1 -1
  769. package/dist/stzh-components/{p-c2218965.system.entry.js → p-82d85c3a.system.entry.js} +1 -1
  770. package/dist/stzh-components/{p-adaf8b15.entry.js → p-8462ba57.entry.js} +1 -1
  771. package/dist/stzh-components/{p-a42a7524.entry.js → p-86d3ce62.entry.js} +1 -1
  772. package/dist/stzh-components/{p-1f3e6fad.system.entry.js → p-88a4f756.system.entry.js} +1 -1
  773. package/dist/stzh-components/{p-d7b5770c.entry.js → p-88bef2cd.entry.js} +1 -1
  774. package/dist/stzh-components/{p-a8c3af68.system.entry.js → p-8db4279d.system.entry.js} +1 -1
  775. package/dist/stzh-components/{p-0c2b5907.js → p-9111e257.js} +0 -0
  776. package/dist/stzh-components/{p-d2f660e1.system.js → p-9c0494a6.system.js} +0 -0
  777. package/dist/stzh-components/{p-b24040ff.system.entry.js → p-9e6c25ed.system.entry.js} +1 -1
  778. package/dist/stzh-components/{p-582cf0f1.system.js → p-a408bfba.system.js} +0 -0
  779. package/dist/stzh-components/{p-c3ac1bdc.system.entry.js → p-a4100bd8.system.entry.js} +1 -1
  780. package/dist/stzh-components/{p-efd78d08.system.entry.js → p-a6486f64.system.entry.js} +1 -1
  781. package/dist/stzh-components/{p-b56c83a4.entry.js → p-a7c3b41a.entry.js} +1 -1
  782. package/dist/stzh-components/{p-e00139a1.entry.js → p-a86c6487.entry.js} +1 -1
  783. package/dist/stzh-components/{p-e3769e97.system.js → p-aa4e28cc.system.js} +1 -1
  784. package/dist/stzh-components/p-ac1da083.system.js +1 -0
  785. package/dist/stzh-components/{p-17258518.entry.js → p-b3b5ee7e.entry.js} +1 -1
  786. package/dist/stzh-components/{p-87140179.system.entry.js → p-b63d6ded.system.entry.js} +1 -1
  787. package/dist/stzh-components/{p-63bf05f1.system.entry.js → p-bba52769.system.entry.js} +1 -1
  788. package/dist/stzh-components/{p-9be4e960.entry.js → p-bcade28e.entry.js} +1 -1
  789. package/dist/stzh-components/p-be21cebd.js +1 -0
  790. package/dist/stzh-components/{p-67eac0a0.entry.js → p-c2d58384.entry.js} +1 -1
  791. package/dist/stzh-components/{p-f0422b6c.entry.js → p-c6ad1a8c.entry.js} +1 -1
  792. package/dist/stzh-components/{p-649621fc.js → p-c8bcceac.js} +0 -0
  793. package/dist/stzh-components/{p-1e2ee622.system.entry.js → p-cb4a91b7.system.entry.js} +1 -1
  794. package/dist/stzh-components/{p-ffa293cf.entry.js → p-cf162e67.entry.js} +1 -1
  795. package/dist/stzh-components/{p-a7454367.js → p-cf6003d6.js} +0 -0
  796. package/dist/stzh-components/{p-d1821750.system.entry.js → p-d04e8743.system.entry.js} +1 -1
  797. package/dist/stzh-components/{p-0e9e4c68.entry.js → p-debb00e6.entry.js} +1 -1
  798. package/dist/stzh-components/{p-e69a66bb.js → p-df2bb358.js} +0 -0
  799. package/dist/stzh-components/{p-3da37219.entry.js → p-e048de42.entry.js} +1 -1
  800. package/dist/stzh-components/{p-a5b616bb.system.entry.js → p-e2ce48f1.system.entry.js} +1 -1
  801. package/dist/stzh-components/{p-22fba26d.entry.js → p-e58d3bc7.entry.js} +1 -1
  802. package/dist/stzh-components/{p-08cc711a.system.entry.js → p-e972a44f.system.entry.js} +1 -1
  803. package/dist/stzh-components/{p-6d23fb4d.system.entry.js → p-e987954a.system.entry.js} +1 -1
  804. package/dist/stzh-components/{p-648695c2.js → p-ee7a68db.js} +0 -0
  805. package/dist/stzh-components/p-ef5d4167.js +1 -1
  806. package/dist/stzh-components/{p-b3b05b6c.entry.js → p-f544cf3d.entry.js} +1 -1
  807. package/dist/stzh-components/{p-a7785d9b.system.js → p-f58c28ad.system.js} +0 -0
  808. package/dist/stzh-components/{p-c51a61cb.system.entry.js → p-f8d9411d.system.entry.js} +1 -1
  809. package/dist/stzh-components/{p-4e9e606f.entry.js → p-f9dc7a9b.entry.js} +1 -1
  810. package/dist/stzh-components/{p-ab864a8a.system.entry.js → p-fc9c4fc3.system.entry.js} +1 -1
  811. package/dist/stzh-components/{p-75f1b800.entry.js → p-ff8a3e96.entry.js} +1 -1
  812. package/dist/stzh-components/stzh-components.esm.js +1 -1
  813. package/dist/stzh-components/stzh-components.js +1 -1
  814. package/dist/types/components/stzh-appointments/stzh-appointments.localization.d.ts +11 -11
  815. package/dist/types/components/stzh-badge/stzh-badge.d.ts +8 -8
  816. package/dist/types/components/stzh-calendar/stzh-calendar-day.d.ts +14 -14
  817. package/dist/types/components/stzh-calendar/stzh-calendar-month.d.ts +21 -21
  818. package/dist/types/components/stzh-calendar/stzh-calendar.localization.d.ts +7 -7
  819. package/dist/types/components/stzh-cell/stzh-cell.d.ts +21 -21
  820. package/dist/types/components/stzh-container/stzh-container.d.ts +6 -6
  821. package/dist/types/components/stzh-cspace/stzh-cspace.d.ts +6 -6
  822. package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.localization.d.ts +4 -4
  823. package/dist/types/components/stzh-datatable/stzh-datatable.localization.d.ts +4 -4
  824. package/dist/types/components/stzh-datepicker/stzh-datepicker.localization.d.ts +5 -5
  825. package/dist/types/components/stzh-dialog/stzh-dialog.localization.d.ts +4 -4
  826. package/dist/types/components/stzh-dropdown/stzh-dropdown.localization.d.ts +7 -7
  827. package/dist/types/components/stzh-fieldset/stzh-fieldset.d.ts +15 -15
  828. package/dist/types/components/stzh-footer/stzh-footer.localization.d.ts +9 -9
  829. package/dist/types/components/stzh-ghettobox/stzh-ghettobox.localization.d.ts +5 -5
  830. package/dist/types/components/stzh-heading/stzh-heading.d.ts +13 -13
  831. package/dist/types/components/stzh-hspace/stzh-hspace.d.ts +25 -25
  832. package/dist/types/components/stzh-icon/stzh-icon.d.ts +15 -15
  833. package/dist/types/components/stzh-icon-sprite/stzh-icon-sprite.d.ts +3 -3
  834. package/dist/types/components/stzh-input/stzh-input-description.d.ts +11 -11
  835. package/dist/types/components/stzh-menu/stzh-menu.d.ts +6 -6
  836. package/dist/types/components/stzh-message/stzh-message.localization.d.ts +4 -4
  837. package/dist/types/components/stzh-popover/stzh-popover.localization.d.ts +4 -4
  838. package/dist/types/components/stzh-portal-mitwirken/stzh-portal-mitwirken.d.ts +8 -8
  839. package/dist/types/components/stzh-progressbar-item/stzh-progressbar-item.d.ts +22 -22
  840. package/dist/types/components/stzh-row/stzh-row.d.ts +23 -23
  841. package/dist/types/components/stzh-saptcha/stzh-saptcha.localization.d.ts +7 -7
  842. package/dist/types/components/stzh-section/stzh-section.d.ts +8 -8
  843. package/dist/types/components/stzh-servicecard/stzh-servicecard.localization.d.ts +8 -8
  844. package/dist/types/components/stzh-servicecard-list/stzh-servicecard-list.localization.d.ts +5 -5
  845. package/dist/types/components/stzh-skiplink/stzh-skiplink.d.ts +16 -16
  846. package/dist/types/components/stzh-sortable/stzh-sortable.localization.d.ts +8 -8
  847. package/dist/types/components/stzh-text/stzh-text.d.ts +23 -23
  848. package/dist/types/components/stzh-tooltip/stzh-tooltip.localization.d.ts +4 -4
  849. package/dist/types/components/stzh-upload/stzh-upload.localization.d.ts +16 -16
  850. package/dist/types/components/stzh-vbz-majorticker/stzh-vbz-majorticker.localization.d.ts +4 -4
  851. package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.d.ts +15 -15
  852. package/dist/types/components/stzh-visuallyhidden/stzh-visuallyhidden.d.ts +6 -6
  853. package/dist/types/components/stzh-vspace/stzh-vspace.d.ts +25 -25
  854. package/dist/types/index.d.ts +427 -427
  855. package/dist/types/utils/animation-utils.d.ts +10 -10
  856. package/dist/types/utils/date-adapter.d.ts +8 -8
  857. package/dist/types/utils/date-utils.d.ts +61 -61
  858. package/dist/types/utils/event-utils.d.ts +1 -1
  859. package/dist/types/utils/h.d.ts +18 -18
  860. package/dist/types/utils/media-utils.d.ts +3 -3
  861. package/dist/types/utils/string-utils.d.ts +2 -2
  862. package/dist/types/utils/test-utils.d.ts +9 -9
  863. package/dist/types/utils/translation-utils.d.ts +40 -40
  864. package/dist/types/utils/utils.d.ts +3 -3
  865. package/dist/vscode-data.json +64 -60
  866. package/package.json +1 -1
  867. package/dist/esm-es5/app-globals-137e106c.js +0 -1
  868. package/dist/stzh-components/p-4476344d.js +0 -1
  869. package/dist/stzh-components/p-5977373f.system.js +0 -1
  870. package/dist/stzh-components/p-91e9ccfa.entry.js +0 -1
  871. package/dist/types/components/stzh-accordion/stzh-accordion.d.ts +0 -15
  872. package/dist/types/components/stzh-accordion-item/stzh-accordion-item.d.ts +0 -44
  873. package/dist/types/components/stzh-actions/stzh-actions.d.ts +0 -16
  874. package/dist/types/components/stzh-appnav/stzh-appnav.d.ts +0 -17
  875. package/dist/types/components/stzh-appointments/stzh-appointments.d.ts +0 -73
  876. package/dist/types/components/stzh-button/stzh-button.d.ts +0 -59
  877. package/dist/types/components/stzh-calendar/stzh-calendar.d.ts +0 -76
  878. package/dist/types/components/stzh-checkbox/stzh-checkbox.d.ts +0 -55
  879. package/dist/types/components/stzh-checkboxgroup/stzh-checkboxgroup.d.ts +0 -62
  880. package/dist/types/components/stzh-chip/stzh-chip.d.ts +0 -47
  881. package/dist/types/components/stzh-chip-select/stzh-chip-select.d.ts +0 -23
  882. package/dist/types/components/stzh-datamessagelist/stzh-datamessagelist.d.ts +0 -6
  883. package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.d.ts +0 -44
  884. package/dist/types/components/stzh-datatable/stzh-datatable.d.ts +0 -49
  885. package/dist/types/components/stzh-datepicker/stzh-datepicker.d.ts +0 -93
  886. package/dist/types/components/stzh-dialog/stzh-dialog.d.ts +0 -59
  887. package/dist/types/components/stzh-dropdown/stzh-dropdown.d.ts +0 -150
  888. package/dist/types/components/stzh-figure/stzh-figure.d.ts +0 -13
  889. package/dist/types/components/stzh-flyingfocus/stzh-flyingfocus.d.ts +0 -39
  890. package/dist/types/components/stzh-footer/stzh-footer.d.ts +0 -21
  891. package/dist/types/components/stzh-ghettobox/stzh-ghettobox.d.ts +0 -49
  892. package/dist/types/components/stzh-header/stzh-header.d.ts +0 -57
  893. package/dist/types/components/stzh-hr/stzh-hr.d.ts +0 -7
  894. package/dist/types/components/stzh-input/stzh-input.d.ts +0 -95
  895. package/dist/types/components/stzh-link/stzh-link.d.ts +0 -50
  896. package/dist/types/components/stzh-list/stzh-list.d.ts +0 -9
  897. package/dist/types/components/stzh-list-item/stzh-list-item.d.ts +0 -7
  898. package/dist/types/components/stzh-loader/stzh-loader.d.ts +0 -13
  899. package/dist/types/components/stzh-loadingbar/stzh-loadingbar.d.ts +0 -12
  900. package/dist/types/components/stzh-menu-item/stzh-menu-item.d.ts +0 -35
  901. package/dist/types/components/stzh-message/stzh-message.d.ts +0 -36
  902. package/dist/types/components/stzh-metanav/stzh-metanav.d.ts +0 -11
  903. package/dist/types/components/stzh-overlay/stzh-overlay.d.ts +0 -34
  904. package/dist/types/components/stzh-page-skiplinks/stzh-page-skiplinks.d.ts +0 -11
  905. package/dist/types/components/stzh-pagetitle/stzh-pagetitle.d.ts +0 -11
  906. package/dist/types/components/stzh-popover/stzh-popover.d.ts +0 -73
  907. package/dist/types/components/stzh-progressbar/stzh-progressbar.d.ts +0 -42
  908. package/dist/types/components/stzh-radio/stzh-radio.d.ts +0 -55
  909. package/dist/types/components/stzh-radiogroup/stzh-radiogroup.d.ts +0 -64
  910. package/dist/types/components/stzh-readspeaker/stzh-readspeaker.d.ts +0 -18
  911. package/dist/types/components/stzh-richtext/stzh-richtext.d.ts +0 -14
  912. package/dist/types/components/stzh-saptcha/stzh-saptcha.d.ts +0 -28
  913. package/dist/types/components/stzh-servicecard/stzh-servicecard.d.ts +0 -72
  914. package/dist/types/components/stzh-servicecard-list/stzh-servicecard-list.d.ts +0 -23
  915. package/dist/types/components/stzh-sortable/stzh-sortable.d.ts +0 -52
  916. package/dist/types/components/stzh-status/stzh-status.d.ts +0 -14
  917. package/dist/types/components/stzh-table/stzh-table.d.ts +0 -33
  918. package/dist/types/components/stzh-toggle/stzh-toggle.d.ts +0 -57
  919. package/dist/types/components/stzh-tooltip/stzh-tooltip.d.ts +0 -78
  920. package/dist/types/components/stzh-upload/stzh-upload.d.ts +0 -207
  921. package/dist/types/components/stzh-vbz-linechip/stzh-vbz-linechip.d.ts +0 -27
  922. package/dist/types/components/stzh-vbz-majorticker/stzh-vbz-majorticker.d.ts +0 -34
  923. package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.d.ts +0 -54
  924. package/dist/types/types/svg.d.ts +0 -4
@@ -1,1358 +1,1358 @@
1
- import { Host, h } from "@stencil/core";
2
- import { hasSlot } from "../../utils/utils";
3
- import { fetchTranslations } from "../../utils/translation-utils";
4
- import { StzhInputDescription } from "../stzh-input/stzh-input-description";
5
- import Dropzone from "dropzone";
6
- Dropzone.autoDiscover = false;
7
- const ATTR_NAME = "data-dz-name";
8
- const ATTR_TYPE = "data-dz-type";
9
- const ATTR_EXTENSION = "data-dz-extension";
10
- const ATTR_PROGRESS_TEXT = "data-dz-progress-text";
11
- let uploadCounter = 0;
12
- // Most properties taken over from:
13
- // https://github.com/dropzone/dropzone/blob/v5.9.3/src/options.js
14
- // Possible events to listen to:
15
- // https://github.com/dropzone/dropzone/blob/v5.9.3/src/dropzone.js#L17
16
- /**
17
- * @slot error - Slot for error
18
- */
19
- export class StzhUpload {
20
- constructor() {
21
- /* Initially pre existing files (e.g. already uploaded by the user) */
22
- this.existingFiles = [];
23
- this._existingFiles = [];
24
- /** Label */
25
- this.label = "";
26
- /** Description */
27
- this.description = "";
28
- /** Button text */
29
- this.button = "";
30
- /**
31
- * URL the files are processed to.
32
- *
33
- * You can also provide a function that will be called with `files` and
34
- * `dataBlocks` and must return the url as string.
35
- */
36
- this.url = "";
37
- /**
38
- * Can be changed to `"put"` if necessary. You can also provide a function
39
- * that will be called with `files` and must return the method.
40
- */
41
- this.method = "post";
42
- /**
43
- * Will be set on the XHRequest.
44
- */
45
- this.withCredentials = false;
46
- /**
47
- * Whether the upload is disabled or not.
48
- */
49
- this.disabled = false;
50
- /**
51
- * Whether the upload is marked as invalid.
52
- */
53
- this.invalid = false;
54
- /**
55
- * The default implementation of `accept` checks the file's mime type or
56
- * extension against this list. This is a comma separated list of mime
57
- * types or file extensions.
58
- *
59
- * Eg.: `image/*,application/pdf,.psd`
60
- *
61
- * This option will also be used as
62
- * [`accept`](https://developer.mozilla.org/en-US/docs/HTML/Element/input#attr-accept)
63
- * parameter on the hidden file input as well.
64
- */
65
- this.acceptedFiles = null;
66
- /**
67
- * If false, files will be added to the queue but the queue will not be
68
- * processed automatically.
69
- * This can be useful if you need some additional user input before sending
70
- * files (or if you want want all files sent at once).
71
- * If you're ready to send the file simply call `element.processQueue()`.
72
- */
73
- this.autoProcessQueue = true;
74
- /**
75
- * If not `null` defines how many files this dropzone handles. If it exceeds,
76
- * the event `stzhMaxfilesexceeded` will be called.
77
- */
78
- this.maxFiles = null;
79
- /**
80
- * The maximum filesize (in MiB) that is allowed to be uploaded.
81
- */
82
- this.maxFilesize = 25;
83
- /**
84
- * How many file uploads to process in parallel.
85
- */
86
- this.parallelUploads = 2;
87
- /**
88
- * Whether to send multiple files in one request. If
89
- * this it set to true, then the fallback file input element will
90
- * have the `multiple` attribute as well. This option will
91
- * also trigger additional events (like `stzhSuccessMultiple`). See the events
92
- * documentation section for more information.
93
- */
94
- this.uploadMultiple = false;
95
- /**
96
- * Whether you want files to be uploaded in chunks to your server. This can't be
97
- * used in combination with `uploadMultiple`.
98
- *
99
- * See `chunksUploaded` prop for the callback to finalise an upload.
100
- */
101
- this.chunking = false;
102
- /**
103
- * If `chunking` is enabled, this defines whether **every** file should be chunked,
104
- * even if the file size is below chunkSize. This means, that the additional chunk
105
- * form data will be submitted and the `chunksUploaded` callback will be invoked.
106
- */
107
- this.forceChunking = false;
108
- /**
109
- * If `chunking` is `true`, then this defines the chunk size in bytes.
110
- */
111
- this.chunkSize = 2 * 1024 * 1024;
112
- /**
113
- * If `true`, the individual chunks of a file are being uploaded simultaneously.
114
- */
115
- this.parallelChunkUploads = false;
116
- /**
117
- * Whether a chunk should be retried if it fails.
118
- */
119
- this.retryChunks = false;
120
- /**
121
- * If `retryChunks` is true, how many times should it be retried.
122
- */
123
- this.retryChunksLimit = 3;
124
- /**
125
- * The base that is used to calculate the **displayed** filesize. You can
126
- * change this to 1024 if you would rather display kibibytes, mebibytes,
127
- * etc... 1024 is technically incorrect, because `1024 bytes` are `1 kibibyte`
128
- * not `1 kilobyte`. You can change this to `1024` if you don't care about
129
- * validity.
130
- */
131
- this.filesizeBase = 1000;
132
- /**
133
- * An optional object to send additional headers to the server. Eg:
134
- * `{ "My-Awesome-Header": "header value" }`
135
- */
136
- this.headers = null;
137
- /**
138
- * Should the default headers be set or not?
139
- * Accept: application/json <- for requesting json response
140
- * Cache-Control: no-cache <- Request shouldnt be cached
141
- * X-Requested-With: XMLHttpRequest <- We sent the request via XMLHttpRequest
142
- */
143
- this.defaultHeaders = true;
144
- /**
145
- * A function that gets a [file](https://developer.mozilla.org/en-US/docs/DOM/File)
146
- * and a `done` function as parameters.
147
- *
148
- * If the done function is invoked without arguments, the file is "accepted" and will
149
- * be processed. If you pass an error message, the file is rejected, and the error
150
- * message will be displayed.
151
- * This function will not be called if the file is too big or doesn't match the mime types.
152
- */
153
- this.accept = function (_file, done) {
154
- return done();
155
- };
156
- /**
157
- * The callback that will be invoked when all chunks have been uploaded for a file.
158
- * It gets the file for which the chunks have been uploaded as the first parameter,
159
- * and the `done` function as second. `done()` needs to be invoked when everything
160
- * needed to finish the upload process is done.
161
- */
162
- this.chunksUploaded = function (_file, done) {
163
- done();
164
- };
165
- /**
166
- * This is the element the hidden input field (which is used when clicking on the
167
- * dropzone to trigger file selection) will be appended to. This might
168
- * be important in case you use frameworks to switch the content of your page.
169
- *
170
- * Can be a selector string, or an element directly.
171
- */
172
- this.hiddenInputContainer = "body";
173
- }
174
- existingFilesWatcher(newValue) {
175
- if (typeof newValue === "string") {
176
- this._existingFiles = JSON.parse(newValue);
177
- }
178
- else {
179
- this._existingFiles = newValue;
180
- }
181
- }
182
- disabledWatcher() {
183
- if (this.disabled) {
184
- this.dropzone.disable();
185
- }
186
- else {
187
- this.dropzone.enable();
188
- }
189
- }
190
- errorWatcher(newValue) {
191
- if (typeof newValue === "string") {
192
- try {
193
- this._error = JSON.parse(newValue);
194
- }
195
- catch (e) {
196
- if (newValue) {
197
- this._error = [newValue];
198
- }
199
- else {
200
- this._error = [];
201
- }
202
- }
203
- }
204
- else if (newValue) {
205
- this._error = newValue;
206
- }
207
- else {
208
- this._error = [];
209
- }
210
- this.invalid = this._error.length > 0;
211
- }
212
- async processQueue() {
213
- return this.dropzone.processQueue();
214
- }
215
- async componentWillLoad() {
216
- this.uploadId = `stzh-upload-${uploadCounter++}`;
217
- this.existingFilesWatcher(this.existingFiles);
218
- this.errorWatcher(this.error);
219
- if (!this.localization) {
220
- this.localization = await fetchTranslations(this.element, 'upload');
221
- }
222
- }
223
- componentDidRender() {
224
- if (this.dropzone) {
225
- return;
226
- }
227
- this.dropzone = new Dropzone(this.dropzoneElement, {
228
- url: this.url,
229
- method: this.method,
230
- withCredentials: this.withCredentials,
231
- clickable: [this.clickareaElement],
232
- acceptedFiles: this.acceptedFiles,
233
- accept: this.accept,
234
- maxFiles: this.maxFiles,
235
- maxFilesize: this.maxFilesize,
236
- filesizeBase: this.filesizeBase,
237
- parallelUploads: this.parallelUploads,
238
- uploadMultiple: this.uploadMultiple,
239
- autoProcessQueue: this.autoProcessQueue,
240
- headers: this.headers,
241
- defaultHeaders: this.defaultHeaders,
242
- chunking: this.chunking,
243
- chunkSize: this.chunkSize,
244
- chunksUploaded: this.chunksUploaded,
245
- forceChunking: this.forceChunking,
246
- parallelChunkUploads: this.parallelChunkUploads,
247
- retryChunks: this.retryChunks,
248
- retryChunksLimit: this.retryChunksLimit,
249
- createImageThumbnails: false,
250
- hiddenInputContainer: this.hiddenInputContainer,
251
- dictFileSizeUnits: { tb: "TB", gb: "GB", mb: "MB", kb: "KB", b: "b" },
252
- dictRemoveFileConfirmation: null,
253
- dictMaxFilesExceeded: this.localization.maxFilesExceeded,
254
- dictRemoveFile: this.localization.removeFile,
255
- dictCancelUploadConfirmation: this.localization.cancelUploadConfirmation,
256
- dictUploadCanceled: this.localization.uploadCanceled,
257
- dictCancelUpload: this.localization.cancelUpload,
258
- dictResponseError: this.localization.responseError,
259
- dictInvalidFileType: this.localization.invalidFileType,
260
- dictFileTooBig: this.localization.fileTooBig,
261
- error: (file, message, xhr) => {
262
- if (file.previewElement) {
263
- file.previewElement.classList.add("dz-error");
264
- if (typeof message !== "string" && message.error) {
265
- message = message.error;
266
- }
267
- else if (xhr) {
268
- if (xhr.status === 401 || xhr.status === 403) {
269
- message = this.localization.accessError;
270
- }
271
- else if (xhr.status === 413) {
272
- message = this.localization.fileTooBigServer;
273
- }
274
- else if (xhr.status === 415) {
275
- message = this.localization.invalidFileType;
276
- }
277
- else if (xhr.status >= 500) {
278
- message = this.localization.serverError;
279
- }
280
- else {
281
- const defaultError = this.localization.responseError
282
- .replace("{{statusCode}}", xhr.status);
283
- message = defaultError;
284
- }
285
- }
286
- for (let node of file.previewElement.querySelectorAll("[data-dz-errormessage]")) {
287
- node.textContent = message;
288
- }
289
- }
290
- },
291
- previewTemplate: `
292
- <div class="stzh-upload__preview">
293
- <div class="stzh-upload__inner">
294
- <div class="stzh-upload__image">
295
- <img data-dz-thumbnail />
296
- </div>
297
-
298
- <div class="stzh-upload__details">
299
- <div class="stzh-upload__info-wrapper-processing">
300
- <div class="stzh-upload__infos">
301
- <div class="stzh-upload__subtitle">
302
- <span data-dz-name></span>
303
- </div>
304
- <div class="stzh-upload__progress-text">
305
- <span data-dz-progress-text></span>
306
- </div>
307
- </div>
308
- <div class="stzh-upload__progress">
309
- <span class="stzh-upload__progress-bar" data-dz-uploadprogress></span>
310
- </div>
311
- </div>
312
- <div class="stzh-upload__info-wrapper-complete">
313
- <div class="stzh-upload__title">
314
- <span data-dz-name></span>
315
- </div>
316
- <div class="stzh-upload__meta">
317
- <span class="stzh-upload__extension" data-dz-extension></span>
318
- |
319
- <span class="stzh-upload__size" data-dz-size></span>
320
- </div>
321
- <div class="stzh-upload__error-message">
322
- <span data-dz-errormessage></span>
323
- </div>
324
- </div>
325
- <div class="stzh-upload__actions">
326
- <button class="stzh-upload__delete" data-dz-remove title="${this.localization.cancelUpload}">
327
- <stzh-icon class="stzh-upload__delete-icon" name="delete"></stzh-icon>
328
- <stzh-icon class="stzh-upload__delete-icon-error" name="close"></stzh-icon>
329
- </button>
330
- </div>
331
- </div>
332
- </div>
333
- </div>
334
- `
335
- });
336
- this.disabledWatcher();
337
- this.dropzone.on("addedfile", (file) => this.stzhFileAdded.emit({
338
- component: "stzh-upload", file
339
- }));
340
- this.dropzone.on("addedfiles", (files) => this.stzhFilesAdded.emit({
341
- component: "stzh-upload", files
342
- }));
343
- this.dropzone.on("removedfile", (file) => this.stzhFileRemoved.emit({
344
- component: "stzh-upload", file
345
- }));
346
- this.dropzone.on("sending", (file, xhr, formData) => this.stzhSending.emit({
347
- component: "stzh-upload", file, xhr, formData
348
- }));
349
- this.dropzone.on("sendingmultiple", (files, xhr, formData) => this.stzhSendingMultiple.emit({
350
- component: "stzh-upload", files, xhr, formData
351
- }));
352
- this.dropzone.on("processing", (file) => this.stzhProcessing.emit({
353
- component: "stzh-upload", file
354
- }));
355
- this.dropzone.on("processingmultiple", (files) => this.stzhProcessingMultiple.emit({
356
- component: "stzh-upload", files
357
- }));
358
- this.dropzone.on("uploadprogress", (file, progress, bytesSent) => this.stzhProgress.emit({
359
- component: "stzh-upload", file, progress, bytesSent
360
- }));
361
- this.dropzone.on("totaluploadprogress", (totalUploadProgress, totalBytes, totalBytesSent) => this.stzhProgressTotal.emit({
362
- component: "stzh-upload", totalUploadProgress, totalBytes, totalBytesSent
363
- }));
364
- this.dropzone.on("error", (file, message, xhr) => this.stzhError.emit({
365
- component: "stzh-upload", file, message, xhr
366
- }));
367
- this.dropzone.on("errormultiple", (files, message, xhr) => this.stzhErrorMultiple.emit({
368
- component: "stzh-upload", files, message, xhr
369
- }));
370
- this.dropzone.on("success", (file, responseText, event) => this.stzhSuccess.emit({
371
- component: "stzh-upload", file, responseText, event
372
- }));
373
- this.dropzone.on("successmultiple", (files, responseText, event) => this.stzhSuccessMultiple.emit({
374
- component: "stzh-upload", files, responseText, event
375
- }));
376
- this.dropzone.on("canceled", (file) => this.stzhCanceled.emit({
377
- component: "stzh-upload", file
378
- }));
379
- this.dropzone.on("canceledmultiple", (files) => this.stzhCanceledMultiple.emit({
380
- component: "stzh-upload", files
381
- }));
382
- this.dropzone.on("complete", (file) => this.stzhComplete.emit({
383
- component: "stzh-upload", file
384
- }));
385
- this.dropzone.on("completemultiple", (files) => this.stzhCompleteMultiple.emit({
386
- component: "stzh-upload", files
387
- }));
388
- this.dropzone.on("addedfile", (file) => {
389
- file.previewElement.querySelectorAll(`[${ATTR_NAME}]`).forEach((name) => {
390
- name.setAttribute("title", file.name);
391
- });
392
- file.previewElement.querySelectorAll(`[${ATTR_TYPE}]`).forEach((type) => {
393
- type.innerText = file.type;
394
- });
395
- file.previewElement.querySelectorAll(`[${ATTR_EXTENSION}]`).forEach((extension) => {
396
- extension.innerText = file.name.split(".").pop();
397
- });
398
- });
399
- this.dropzone.on("uploadprogress", (file, progress) => {
400
- file.previewElement.querySelectorAll(`[${ATTR_PROGRESS_TEXT}]`).forEach((progressText) => {
401
- progressText.innerText = `${progress.toString()}%`;
402
- });
403
- });
404
- this._existingFiles.forEach((file) => {
405
- this.dropzone.displayExistingFile(file, null, null, null, null);
406
- });
407
- }
408
- disconnectedCallback() {
409
- if (this.dropzone) {
410
- this.dropzone.destroy();
411
- this.dropzone = null;
412
- }
413
- }
414
- render() {
415
- const errorUsed = hasSlot(this.element, 'error') || !!this.error;
416
- const classes = {
417
- "stzh-upload": true,
418
- "stzh-upload--is-invalid": this.invalid,
419
- "stzh-upload--is-disabled": this.disabled,
420
- "stzh-upload--has-error": errorUsed,
421
- "stzh-upload--has-instructions": !!this.description || !!this.localization.description
422
- };
423
- return (h(Host, null, h("div", { class: classes, ref: (el) => (this.dropzoneElement = el) }, this.label && h("div", { class: "stzh-upload__label" }, this.label), h("div", { class: "stzh-upload__clickarea", ref: (el) => (this.clickareaElement = el) }, h("div", { class: "stzh-upload__instructions", id: `${this.uploadId}-instruction` }, this.description ? this.description : this.localization.description), h("stzh-button", { size: "small", class: "stzh-upload__button", "aria-describedby": `${this.uploadId}-instruction ${this.uploadId}-description`, disabled: this.disabled }, this.button ? this.button : this.localization.button)), h(StzhInputDescription, { classPrefix: "stzh-upload", id: `${this.uploadId}-description`, error: this._error }))));
424
- }
425
- static get is() { return "stzh-upload"; }
426
- static get originalStyleUrls() {
427
- return {
428
- "$": ["stzh-upload.scss"]
429
- };
430
- }
431
- static get styleUrls() {
432
- return {
433
- "$": ["stzh-upload.css"]
434
- };
435
- }
436
- static get properties() {
437
- return {
438
- "existingFiles": {
439
- "type": "string",
440
- "mutable": false,
441
- "complexType": {
442
- "original": "StzhUploadFilesItem[] | string",
443
- "resolved": "StzhUploadFilesItem[] | string",
444
- "references": {
445
- "StzhUploadFilesItem": {
446
- "location": "import",
447
- "path": "../../index"
448
- }
449
- }
450
- },
451
- "required": false,
452
- "optional": false,
453
- "docs": {
454
- "tags": [],
455
- "text": ""
456
- },
457
- "attribute": "existing-files",
458
- "reflect": false,
459
- "defaultValue": "[]"
460
- },
461
- "label": {
462
- "type": "string",
463
- "mutable": false,
464
- "complexType": {
465
- "original": "string",
466
- "resolved": "string",
467
- "references": {}
468
- },
469
- "required": false,
470
- "optional": false,
471
- "docs": {
472
- "tags": [],
473
- "text": "Label"
474
- },
475
- "attribute": "label",
476
- "reflect": false,
477
- "defaultValue": "\"\""
478
- },
479
- "description": {
480
- "type": "string",
481
- "mutable": false,
482
- "complexType": {
483
- "original": "string",
484
- "resolved": "string",
485
- "references": {}
486
- },
487
- "required": false,
488
- "optional": false,
489
- "docs": {
490
- "tags": [],
491
- "text": "Description"
492
- },
493
- "attribute": "description",
494
- "reflect": false,
495
- "defaultValue": "\"\""
496
- },
497
- "button": {
498
- "type": "string",
499
- "mutable": false,
500
- "complexType": {
501
- "original": "string",
502
- "resolved": "string",
503
- "references": {}
504
- },
505
- "required": false,
506
- "optional": false,
507
- "docs": {
508
- "tags": [],
509
- "text": "Button text"
510
- },
511
- "attribute": "button",
512
- "reflect": false,
513
- "defaultValue": "\"\""
514
- },
515
- "url": {
516
- "type": "string",
517
- "mutable": false,
518
- "complexType": {
519
- "original": "string | Function",
520
- "resolved": "Function | string",
521
- "references": {
522
- "Function": {
523
- "location": "global"
524
- }
525
- }
526
- },
527
- "required": false,
528
- "optional": false,
529
- "docs": {
530
- "tags": [],
531
- "text": "URL the files are processed to.\r\n\r\nYou can also provide a function that will be called with `files` and\r\n`dataBlocks` and must return the url as string."
532
- },
533
- "attribute": "url",
534
- "reflect": false,
535
- "defaultValue": "\"\""
536
- },
537
- "method": {
538
- "type": "string",
539
- "mutable": false,
540
- "complexType": {
541
- "original": "\"post\" | \"put\" | Function",
542
- "resolved": "\"post\" | \"put\" | Function",
543
- "references": {
544
- "Function": {
545
- "location": "global"
546
- }
547
- }
548
- },
549
- "required": false,
550
- "optional": false,
551
- "docs": {
552
- "tags": [],
553
- "text": "Can be changed to `\"put\"` if necessary. You can also provide a function\r\nthat will be called with `files` and must return the method."
554
- },
555
- "attribute": "method",
556
- "reflect": false,
557
- "defaultValue": "\"post\""
558
- },
559
- "withCredentials": {
560
- "type": "boolean",
561
- "mutable": false,
562
- "complexType": {
563
- "original": "boolean",
564
- "resolved": "boolean",
565
- "references": {}
566
- },
567
- "required": false,
568
- "optional": false,
569
- "docs": {
570
- "tags": [],
571
- "text": "Will be set on the XHRequest."
572
- },
573
- "attribute": "with-credentials",
574
- "reflect": false,
575
- "defaultValue": "false"
576
- },
577
- "disabled": {
578
- "type": "boolean",
579
- "mutable": false,
580
- "complexType": {
581
- "original": "boolean",
582
- "resolved": "boolean",
583
- "references": {}
584
- },
585
- "required": false,
586
- "optional": false,
587
- "docs": {
588
- "tags": [],
589
- "text": "Whether the upload is disabled or not."
590
- },
591
- "attribute": "disabled",
592
- "reflect": true,
593
- "defaultValue": "false"
594
- },
595
- "invalid": {
596
- "type": "boolean",
597
- "mutable": false,
598
- "complexType": {
599
- "original": "boolean",
600
- "resolved": "boolean",
601
- "references": {}
602
- },
603
- "required": false,
604
- "optional": false,
605
- "docs": {
606
- "tags": [],
607
- "text": "Whether the upload is marked as invalid."
608
- },
609
- "attribute": "invalid",
610
- "reflect": true,
611
- "defaultValue": "false"
612
- },
613
- "error": {
614
- "type": "string",
615
- "mutable": false,
616
- "complexType": {
617
- "original": "string | string[]",
618
- "resolved": "string | string[]",
619
- "references": {}
620
- },
621
- "required": false,
622
- "optional": false,
623
- "docs": {
624
- "tags": [],
625
- "text": "One or multiple error message (use error slot as alternative)"
626
- },
627
- "attribute": "error",
628
- "reflect": false
629
- },
630
- "acceptedFiles": {
631
- "type": "string",
632
- "mutable": false,
633
- "complexType": {
634
- "original": "string | null",
635
- "resolved": "string",
636
- "references": {}
637
- },
638
- "required": false,
639
- "optional": false,
640
- "docs": {
641
- "tags": [],
642
- "text": "The default implementation of `accept` checks the file's mime type or\r\nextension against this list. This is a comma separated list of mime\r\ntypes or file extensions.\r\n\r\nEg.: `image/*,application/pdf,.psd`\r\n\r\nThis option will also be used as\r\n[`accept`](https://developer.mozilla.org/en-US/docs/HTML/Element/input#attr-accept)\r\nparameter on the hidden file input as well."
643
- },
644
- "attribute": "accepted-files",
645
- "reflect": false,
646
- "defaultValue": "null"
647
- },
648
- "autoProcessQueue": {
649
- "type": "boolean",
650
- "mutable": false,
651
- "complexType": {
652
- "original": "boolean",
653
- "resolved": "boolean",
654
- "references": {}
655
- },
656
- "required": false,
657
- "optional": false,
658
- "docs": {
659
- "tags": [],
660
- "text": "If false, files will be added to the queue but the queue will not be\r\nprocessed automatically.\r\nThis can be useful if you need some additional user input before sending\r\nfiles (or if you want want all files sent at once).\r\nIf you're ready to send the file simply call `element.processQueue()`."
661
- },
662
- "attribute": "auto-process-queue",
663
- "reflect": false,
664
- "defaultValue": "true"
665
- },
666
- "maxFiles": {
667
- "type": "number",
668
- "mutable": false,
669
- "complexType": {
670
- "original": "number | null",
671
- "resolved": "number",
672
- "references": {}
673
- },
674
- "required": false,
675
- "optional": false,
676
- "docs": {
677
- "tags": [],
678
- "text": "If not `null` defines how many files this dropzone handles. If it exceeds,\r\nthe event `stzhMaxfilesexceeded` will be called."
679
- },
680
- "attribute": "max-files",
681
- "reflect": false,
682
- "defaultValue": "null"
683
- },
684
- "maxFilesize": {
685
- "type": "number",
686
- "mutable": false,
687
- "complexType": {
688
- "original": "number",
689
- "resolved": "number",
690
- "references": {}
691
- },
692
- "required": false,
693
- "optional": false,
694
- "docs": {
695
- "tags": [],
696
- "text": "The maximum filesize (in MiB) that is allowed to be uploaded."
697
- },
698
- "attribute": "max-filesize",
699
- "reflect": false,
700
- "defaultValue": "25"
701
- },
702
- "parallelUploads": {
703
- "type": "number",
704
- "mutable": false,
705
- "complexType": {
706
- "original": "number",
707
- "resolved": "number",
708
- "references": {}
709
- },
710
- "required": false,
711
- "optional": false,
712
- "docs": {
713
- "tags": [],
714
- "text": "How many file uploads to process in parallel."
715
- },
716
- "attribute": "parallel-uploads",
717
- "reflect": false,
718
- "defaultValue": "2"
719
- },
720
- "uploadMultiple": {
721
- "type": "boolean",
722
- "mutable": false,
723
- "complexType": {
724
- "original": "boolean",
725
- "resolved": "boolean",
726
- "references": {}
727
- },
728
- "required": false,
729
- "optional": false,
730
- "docs": {
731
- "tags": [],
732
- "text": "Whether to send multiple files in one request. If\r\nthis it set to true, then the fallback file input element will\r\nhave the `multiple` attribute as well. This option will\r\nalso trigger additional events (like `stzhSuccessMultiple`). See the events\r\ndocumentation section for more information."
733
- },
734
- "attribute": "upload-multiple",
735
- "reflect": false,
736
- "defaultValue": "false"
737
- },
738
- "chunking": {
739
- "type": "boolean",
740
- "mutable": false,
741
- "complexType": {
742
- "original": "boolean",
743
- "resolved": "boolean",
744
- "references": {}
745
- },
746
- "required": false,
747
- "optional": false,
748
- "docs": {
749
- "tags": [],
750
- "text": "Whether you want files to be uploaded in chunks to your server. This can't be\r\nused in combination with `uploadMultiple`.\r\n\r\nSee `chunksUploaded` prop for the callback to finalise an upload."
751
- },
752
- "attribute": "chunking",
753
- "reflect": false,
754
- "defaultValue": "false"
755
- },
756
- "forceChunking": {
757
- "type": "boolean",
758
- "mutable": false,
759
- "complexType": {
760
- "original": "boolean",
761
- "resolved": "boolean",
762
- "references": {}
763
- },
764
- "required": false,
765
- "optional": false,
766
- "docs": {
767
- "tags": [],
768
- "text": "If `chunking` is enabled, this defines whether **every** file should be chunked,\r\neven if the file size is below chunkSize. This means, that the additional chunk\r\nform data will be submitted and the `chunksUploaded` callback will be invoked."
769
- },
770
- "attribute": "force-chunking",
771
- "reflect": false,
772
- "defaultValue": "false"
773
- },
774
- "chunkSize": {
775
- "type": "number",
776
- "mutable": false,
777
- "complexType": {
778
- "original": "number",
779
- "resolved": "number",
780
- "references": {}
781
- },
782
- "required": false,
783
- "optional": false,
784
- "docs": {
785
- "tags": [],
786
- "text": "If `chunking` is `true`, then this defines the chunk size in bytes."
787
- },
788
- "attribute": "chunk-size",
789
- "reflect": false,
790
- "defaultValue": "2 * 1024 * 1024"
791
- },
792
- "parallelChunkUploads": {
793
- "type": "boolean",
794
- "mutable": false,
795
- "complexType": {
796
- "original": "boolean",
797
- "resolved": "boolean",
798
- "references": {}
799
- },
800
- "required": false,
801
- "optional": false,
802
- "docs": {
803
- "tags": [],
804
- "text": "If `true`, the individual chunks of a file are being uploaded simultaneously."
805
- },
806
- "attribute": "parallel-chunk-uploads",
807
- "reflect": false,
808
- "defaultValue": "false"
809
- },
810
- "retryChunks": {
811
- "type": "boolean",
812
- "mutable": false,
813
- "complexType": {
814
- "original": "boolean",
815
- "resolved": "boolean",
816
- "references": {}
817
- },
818
- "required": false,
819
- "optional": false,
820
- "docs": {
821
- "tags": [],
822
- "text": "Whether a chunk should be retried if it fails."
823
- },
824
- "attribute": "retry-chunks",
825
- "reflect": false,
826
- "defaultValue": "false"
827
- },
828
- "retryChunksLimit": {
829
- "type": "number",
830
- "mutable": false,
831
- "complexType": {
832
- "original": "number",
833
- "resolved": "number",
834
- "references": {}
835
- },
836
- "required": false,
837
- "optional": false,
838
- "docs": {
839
- "tags": [],
840
- "text": "If `retryChunks` is true, how many times should it be retried."
841
- },
842
- "attribute": "retry-chunks-limit",
843
- "reflect": false,
844
- "defaultValue": "3"
845
- },
846
- "filesizeBase": {
847
- "type": "number",
848
- "mutable": false,
849
- "complexType": {
850
- "original": "number",
851
- "resolved": "number",
852
- "references": {}
853
- },
854
- "required": false,
855
- "optional": false,
856
- "docs": {
857
- "tags": [],
858
- "text": "The base that is used to calculate the **displayed** filesize. You can\r\nchange this to 1024 if you would rather display kibibytes, mebibytes,\r\netc... 1024 is technically incorrect, because `1024 bytes` are `1 kibibyte`\r\nnot `1 kilobyte`. You can change this to `1024` if you don't care about\r\nvalidity."
859
- },
860
- "attribute": "filesize-base",
861
- "reflect": false,
862
- "defaultValue": "1000"
863
- },
864
- "headers": {
865
- "type": "unknown",
866
- "mutable": false,
867
- "complexType": {
868
- "original": "object | null",
869
- "resolved": "object",
870
- "references": {}
871
- },
872
- "required": false,
873
- "optional": false,
874
- "docs": {
875
- "tags": [],
876
- "text": "An optional object to send additional headers to the server. Eg:\r\n`{ \"My-Awesome-Header\": \"header value\" }`"
877
- },
878
- "defaultValue": "null"
879
- },
880
- "defaultHeaders": {
881
- "type": "boolean",
882
- "mutable": false,
883
- "complexType": {
884
- "original": "boolean",
885
- "resolved": "boolean",
886
- "references": {}
887
- },
888
- "required": false,
889
- "optional": false,
890
- "docs": {
891
- "tags": [],
892
- "text": "Should the default headers be set or not?\r\nAccept: application/json <- for requesting json response\r\nCache-Control: no-cache <- Request shouldnt be cached\r\nX-Requested-With: XMLHttpRequest <- We sent the request via XMLHttpRequest"
893
- },
894
- "attribute": "default-headers",
895
- "reflect": false,
896
- "defaultValue": "true"
897
- },
898
- "accept": {
899
- "type": "unknown",
900
- "mutable": false,
901
- "complexType": {
902
- "original": "Function",
903
- "resolved": "Function",
904
- "references": {
905
- "Function": {
906
- "location": "global"
907
- }
908
- }
909
- },
910
- "required": false,
911
- "optional": false,
912
- "docs": {
913
- "tags": [],
914
- "text": "A function that gets a [file](https://developer.mozilla.org/en-US/docs/DOM/File)\r\nand a `done` function as parameters.\r\n\r\nIf the done function is invoked without arguments, the file is \"accepted\" and will\r\nbe processed. If you pass an error message, the file is rejected, and the error\r\nmessage will be displayed.\r\nThis function will not be called if the file is too big or doesn't match the mime types."
915
- },
916
- "defaultValue": "function(_file, done) {\r\n return done();\r\n }"
917
- },
918
- "chunksUploaded": {
919
- "type": "unknown",
920
- "mutable": false,
921
- "complexType": {
922
- "original": "Function",
923
- "resolved": "Function",
924
- "references": {
925
- "Function": {
926
- "location": "global"
927
- }
928
- }
929
- },
930
- "required": false,
931
- "optional": false,
932
- "docs": {
933
- "tags": [],
934
- "text": "The callback that will be invoked when all chunks have been uploaded for a file.\r\nIt gets the file for which the chunks have been uploaded as the first parameter,\r\nand the `done` function as second. `done()` needs to be invoked when everything\r\nneeded to finish the upload process is done."
935
- },
936
- "defaultValue": "function(_file, done) {\r\n done();\r\n }"
937
- },
938
- "hiddenInputContainer": {
939
- "type": "string",
940
- "mutable": false,
941
- "complexType": {
942
- "original": "string | HTMLElement",
943
- "resolved": "HTMLElement | string",
944
- "references": {
945
- "HTMLElement": {
946
- "location": "global"
947
- }
948
- }
949
- },
950
- "required": false,
951
- "optional": false,
952
- "docs": {
953
- "tags": [],
954
- "text": "This is the element the hidden input field (which is used when clicking on the\r\ndropzone to trigger file selection) will be appended to. This might\r\nbe important in case you use frameworks to switch the content of your page.\r\n\r\nCan be a selector string, or an element directly."
955
- },
956
- "attribute": "hidden-input-container",
957
- "reflect": false,
958
- "defaultValue": "\"body\""
959
- },
960
- "localization": {
961
- "type": "unknown",
962
- "mutable": false,
963
- "complexType": {
964
- "original": "StzhUploadLocalizedText",
965
- "resolved": "StzhLocaleComponent & { description: string; button: string; cancelUpload: string; uploadCanceled: string; cancelUploadConfirmation: string; removeFile: string; maxFilesExceeded: string; serverError: string; accessError: string; responseError: string; invalidFileType: string; fileTooBig: string; fileTooBigServer: string; }",
966
- "references": {
967
- "StzhUploadLocalizedText": {
968
- "location": "import",
969
- "path": "./stzh-upload.localization"
970
- }
971
- }
972
- },
973
- "required": false,
974
- "optional": false,
975
- "docs": {
976
- "tags": [],
977
- "text": "Translation strings."
978
- }
979
- }
980
- };
981
- }
982
- static get events() {
983
- return [{
984
- "method": "stzhFileAdded",
985
- "name": "stzhFileAdded",
986
- "bubbles": true,
987
- "cancelable": true,
988
- "composed": true,
989
- "docs": {
990
- "tags": [],
991
- "text": "File added"
992
- },
993
- "complexType": {
994
- "original": "StzhUploadFileAddedEvent",
995
- "resolved": "{ component: \"stzh-upload\"; file: StzhUploadFile; }",
996
- "references": {
997
- "StzhUploadFileAddedEvent": {
998
- "location": "import",
999
- "path": "../../index"
1000
- }
1001
- }
1002
- }
1003
- }, {
1004
- "method": "stzhFilesAdded",
1005
- "name": "stzhFilesAdded",
1006
- "bubbles": true,
1007
- "cancelable": true,
1008
- "composed": true,
1009
- "docs": {
1010
- "tags": [],
1011
- "text": "Files added (multiple)"
1012
- },
1013
- "complexType": {
1014
- "original": "StzhUploadFilesAddedEvent",
1015
- "resolved": "{ component: \"stzh-upload\"; files: StzhUploadFile[]; }",
1016
- "references": {
1017
- "StzhUploadFilesAddedEvent": {
1018
- "location": "import",
1019
- "path": "../../index"
1020
- }
1021
- }
1022
- }
1023
- }, {
1024
- "method": "stzhFileRemoved",
1025
- "name": "stzhFileRemoved",
1026
- "bubbles": true,
1027
- "cancelable": true,
1028
- "composed": true,
1029
- "docs": {
1030
- "tags": [],
1031
- "text": "File removed"
1032
- },
1033
- "complexType": {
1034
- "original": "StzhUploadFileRemovedEvent",
1035
- "resolved": "{ component: \"stzh-upload\"; file: StzhUploadFile; }",
1036
- "references": {
1037
- "StzhUploadFileRemovedEvent": {
1038
- "location": "import",
1039
- "path": "../../index"
1040
- }
1041
- }
1042
- }
1043
- }, {
1044
- "method": "stzhSending",
1045
- "name": "stzhSending",
1046
- "bubbles": true,
1047
- "cancelable": true,
1048
- "composed": true,
1049
- "docs": {
1050
- "tags": [],
1051
- "text": "Before sending file (add additional data before request if necessary)"
1052
- },
1053
- "complexType": {
1054
- "original": "StzhUploadSendingEvent",
1055
- "resolved": "{ component: \"stzh-upload\"; file: StzhUploadFile; xhr: XMLHttpRequest; formData: FormData; }",
1056
- "references": {
1057
- "StzhUploadSendingEvent": {
1058
- "location": "import",
1059
- "path": "../../index"
1060
- }
1061
- }
1062
- }
1063
- }, {
1064
- "method": "stzhSendingMultiple",
1065
- "name": "stzhSendingMultiple",
1066
- "bubbles": true,
1067
- "cancelable": true,
1068
- "composed": true,
1069
- "docs": {
1070
- "tags": [],
1071
- "text": "Before sending multiple files (add additional data before request if necessary)"
1072
- },
1073
- "complexType": {
1074
- "original": "StzhUploadSendingMultipleEvent",
1075
- "resolved": "{ component: \"stzh-upload\"; files: StzhUploadFile[]; xhr: XMLHttpRequest; formData: FormData; }",
1076
- "references": {
1077
- "StzhUploadSendingMultipleEvent": {
1078
- "location": "import",
1079
- "path": "../../index"
1080
- }
1081
- }
1082
- }
1083
- }, {
1084
- "method": "stzhProcessing",
1085
- "name": "stzhProcessing",
1086
- "bubbles": true,
1087
- "cancelable": true,
1088
- "composed": true,
1089
- "docs": {
1090
- "tags": [],
1091
- "text": "Files starting to get processed"
1092
- },
1093
- "complexType": {
1094
- "original": "StzhUploadProcessingEvent",
1095
- "resolved": "{ component: \"stzh-upload\"; file: StzhUploadFile; }",
1096
- "references": {
1097
- "StzhUploadProcessingEvent": {
1098
- "location": "import",
1099
- "path": "../../index"
1100
- }
1101
- }
1102
- }
1103
- }, {
1104
- "method": "stzhProcessingMultiple",
1105
- "name": "stzhProcessingMultiple",
1106
- "bubbles": true,
1107
- "cancelable": true,
1108
- "composed": true,
1109
- "docs": {
1110
- "tags": [],
1111
- "text": "Files starting to get processed (multiple)"
1112
- },
1113
- "complexType": {
1114
- "original": "StzhUploadProcessingMultipleEvent",
1115
- "resolved": "{ component: \"stzh-upload\"; files: StzhUploadFile[]; }",
1116
- "references": {
1117
- "StzhUploadProcessingMultipleEvent": {
1118
- "location": "import",
1119
- "path": "../../index"
1120
- }
1121
- }
1122
- }
1123
- }, {
1124
- "method": "stzhProgress",
1125
- "name": "stzhProgress",
1126
- "bubbles": true,
1127
- "cancelable": true,
1128
- "composed": true,
1129
- "docs": {
1130
- "tags": [],
1131
- "text": "Upload file progress during upload"
1132
- },
1133
- "complexType": {
1134
- "original": "StzhUploadProgressEvent",
1135
- "resolved": "{ component: \"stzh-upload\"; file: StzhUploadFile; progress: number; bytesSent: number; }",
1136
- "references": {
1137
- "StzhUploadProgressEvent": {
1138
- "location": "import",
1139
- "path": "../../index"
1140
- }
1141
- }
1142
- }
1143
- }, {
1144
- "method": "stzhProgressTotal",
1145
- "name": "stzhProgressTotal",
1146
- "bubbles": true,
1147
- "cancelable": true,
1148
- "composed": true,
1149
- "docs": {
1150
- "tags": [],
1151
- "text": "Upload total file progress during upload"
1152
- },
1153
- "complexType": {
1154
- "original": "StzhUploadProgressTotalEvent",
1155
- "resolved": "{ component: \"stzh-upload\"; totalUploadProgress: number; totalBytes: number; totalBytesSent: number; }",
1156
- "references": {
1157
- "StzhUploadProgressTotalEvent": {
1158
- "location": "import",
1159
- "path": "../../index"
1160
- }
1161
- }
1162
- }
1163
- }, {
1164
- "method": "stzhError",
1165
- "name": "stzhError",
1166
- "bubbles": true,
1167
- "cancelable": true,
1168
- "composed": true,
1169
- "docs": {
1170
- "tags": [],
1171
- "text": "File error"
1172
- },
1173
- "complexType": {
1174
- "original": "StzhUploadErrorEvent",
1175
- "resolved": "{ component: \"stzh-upload\"; file: StzhUploadFile; message: string; xhr: XMLHttpRequest; }",
1176
- "references": {
1177
- "StzhUploadErrorEvent": {
1178
- "location": "import",
1179
- "path": "../../index"
1180
- }
1181
- }
1182
- }
1183
- }, {
1184
- "method": "stzhErrorMultiple",
1185
- "name": "stzhErrorMultiple",
1186
- "bubbles": true,
1187
- "cancelable": true,
1188
- "composed": true,
1189
- "docs": {
1190
- "tags": [],
1191
- "text": "Files error (multiple files)"
1192
- },
1193
- "complexType": {
1194
- "original": "StzhUploadErrorMultipleEvent",
1195
- "resolved": "{ component: \"stzh-upload\"; files: StzhUploadFile[]; message: string; xhr: XMLHttpRequest; }",
1196
- "references": {
1197
- "StzhUploadErrorMultipleEvent": {
1198
- "location": "import",
1199
- "path": "../../index"
1200
- }
1201
- }
1202
- }
1203
- }, {
1204
- "method": "stzhSuccess",
1205
- "name": "stzhSuccess",
1206
- "bubbles": true,
1207
- "cancelable": true,
1208
- "composed": true,
1209
- "docs": {
1210
- "tags": [],
1211
- "text": "File successfully uploaded"
1212
- },
1213
- "complexType": {
1214
- "original": "StzhUploadSuccessEvent",
1215
- "resolved": "{ component: \"stzh-upload\"; file: StzhUploadFile; responseText: string; event: ProgressEvent<EventTarget>; }",
1216
- "references": {
1217
- "StzhUploadSuccessEvent": {
1218
- "location": "import",
1219
- "path": "../../index"
1220
- }
1221
- }
1222
- }
1223
- }, {
1224
- "method": "stzhSuccessMultiple",
1225
- "name": "stzhSuccessMultiple",
1226
- "bubbles": true,
1227
- "cancelable": true,
1228
- "composed": true,
1229
- "docs": {
1230
- "tags": [],
1231
- "text": "Files successfully uploaded (multiple files)"
1232
- },
1233
- "complexType": {
1234
- "original": "StzhUploadSuccessMultipleEvent",
1235
- "resolved": "{ component: \"stzh-upload\"; files: StzhUploadFile[]; responseText: string; event: ProgressEvent<EventTarget>; }",
1236
- "references": {
1237
- "StzhUploadSuccessMultipleEvent": {
1238
- "location": "import",
1239
- "path": "../../index"
1240
- }
1241
- }
1242
- }
1243
- }, {
1244
- "method": "stzhCanceled",
1245
- "name": "stzhCanceled",
1246
- "bubbles": true,
1247
- "cancelable": true,
1248
- "composed": true,
1249
- "docs": {
1250
- "tags": [],
1251
- "text": "Canceled file upload"
1252
- },
1253
- "complexType": {
1254
- "original": "StzhUploadCanceledEvent",
1255
- "resolved": "{ component: \"stzh-upload\"; file: StzhUploadFile; }",
1256
- "references": {
1257
- "StzhUploadCanceledEvent": {
1258
- "location": "import",
1259
- "path": "../../index"
1260
- }
1261
- }
1262
- }
1263
- }, {
1264
- "method": "stzhCanceledMultiple",
1265
- "name": "stzhCanceledMultiple",
1266
- "bubbles": true,
1267
- "cancelable": true,
1268
- "composed": true,
1269
- "docs": {
1270
- "tags": [],
1271
- "text": "Canceled file upload (multiple files)"
1272
- },
1273
- "complexType": {
1274
- "original": "StzhUploadCanceledMultipleEvent",
1275
- "resolved": "{ component: \"stzh-upload\"; files: StzhUploadFile[]; }",
1276
- "references": {
1277
- "StzhUploadCanceledMultipleEvent": {
1278
- "location": "import",
1279
- "path": "../../index"
1280
- }
1281
- }
1282
- }
1283
- }, {
1284
- "method": "stzhComplete",
1285
- "name": "stzhComplete",
1286
- "bubbles": true,
1287
- "cancelable": true,
1288
- "composed": true,
1289
- "docs": {
1290
- "tags": [],
1291
- "text": "Completed upload (successfully or with error)"
1292
- },
1293
- "complexType": {
1294
- "original": "StzhUploadCompleteEvent",
1295
- "resolved": "{ component: \"stzh-upload\"; file: StzhUploadFile; }",
1296
- "references": {
1297
- "StzhUploadCompleteEvent": {
1298
- "location": "import",
1299
- "path": "../../index"
1300
- }
1301
- }
1302
- }
1303
- }, {
1304
- "method": "stzhCompleteMultiple",
1305
- "name": "stzhCompleteMultiple",
1306
- "bubbles": true,
1307
- "cancelable": true,
1308
- "composed": true,
1309
- "docs": {
1310
- "tags": [],
1311
- "text": "Completed upload (successfully or with error, multiple files)"
1312
- },
1313
- "complexType": {
1314
- "original": "StzhUploadCompleteMultipleEvent",
1315
- "resolved": "{ component: \"stzh-upload\"; files: StzhUploadFile[]; }",
1316
- "references": {
1317
- "StzhUploadCompleteMultipleEvent": {
1318
- "location": "import",
1319
- "path": "../../index"
1320
- }
1321
- }
1322
- }
1323
- }];
1324
- }
1325
- static get methods() {
1326
- return {
1327
- "processQueue": {
1328
- "complexType": {
1329
- "signature": "() => Promise<any>",
1330
- "parameters": [],
1331
- "references": {
1332
- "Promise": {
1333
- "location": "global"
1334
- }
1335
- },
1336
- "return": "Promise<any>"
1337
- },
1338
- "docs": {
1339
- "text": "",
1340
- "tags": []
1341
- }
1342
- }
1343
- };
1344
- }
1345
- static get elementRef() { return "element"; }
1346
- static get watchers() {
1347
- return [{
1348
- "propName": "existingFiles",
1349
- "methodName": "existingFilesWatcher"
1350
- }, {
1351
- "propName": "disabled",
1352
- "methodName": "disabledWatcher"
1353
- }, {
1354
- "propName": "error",
1355
- "methodName": "errorWatcher"
1356
- }];
1357
- }
1358
- }
1
+ import { Host, h } from "@stencil/core";
2
+ import { hasSlot } from "../../utils/utils";
3
+ import { fetchTranslations } from "../../utils/translation-utils";
4
+ import { StzhInputDescription } from "../stzh-input/stzh-input-description";
5
+ import Dropzone from "dropzone";
6
+ Dropzone.autoDiscover = false;
7
+ const ATTR_NAME = "data-dz-name";
8
+ const ATTR_TYPE = "data-dz-type";
9
+ const ATTR_EXTENSION = "data-dz-extension";
10
+ const ATTR_PROGRESS_TEXT = "data-dz-progress-text";
11
+ let uploadCounter = 0;
12
+ // Most properties taken over from:
13
+ // https://github.com/dropzone/dropzone/blob/v5.9.3/src/options.js
14
+ // Possible events to listen to:
15
+ // https://github.com/dropzone/dropzone/blob/v5.9.3/src/dropzone.js#L17
16
+ /**
17
+ * @slot error - Slot for error
18
+ */
19
+ export class StzhUpload {
20
+ constructor() {
21
+ /* Initially pre existing files (e.g. already uploaded by the user) */
22
+ this.existingFiles = [];
23
+ this._existingFiles = [];
24
+ /** Label */
25
+ this.label = "";
26
+ /** Description */
27
+ this.description = "";
28
+ /** Button text */
29
+ this.button = "";
30
+ /**
31
+ * URL the files are processed to.
32
+ *
33
+ * You can also provide a function that will be called with `files` and
34
+ * `dataBlocks` and must return the url as string.
35
+ */
36
+ this.url = "";
37
+ /**
38
+ * Can be changed to `"put"` if necessary. You can also provide a function
39
+ * that will be called with `files` and must return the method.
40
+ */
41
+ this.method = "post";
42
+ /**
43
+ * Will be set on the XHRequest.
44
+ */
45
+ this.withCredentials = false;
46
+ /**
47
+ * Whether the upload is disabled or not.
48
+ */
49
+ this.disabled = false;
50
+ /**
51
+ * Whether the upload is marked as invalid.
52
+ */
53
+ this.invalid = false;
54
+ /**
55
+ * The default implementation of `accept` checks the file's mime type or
56
+ * extension against this list. This is a comma separated list of mime
57
+ * types or file extensions.
58
+ *
59
+ * Eg.: `image/*,application/pdf,.psd`
60
+ *
61
+ * This option will also be used as
62
+ * [`accept`](https://developer.mozilla.org/en-US/docs/HTML/Element/input#attr-accept)
63
+ * parameter on the hidden file input as well.
64
+ */
65
+ this.acceptedFiles = null;
66
+ /**
67
+ * If false, files will be added to the queue but the queue will not be
68
+ * processed automatically.
69
+ * This can be useful if you need some additional user input before sending
70
+ * files (or if you want want all files sent at once).
71
+ * If you're ready to send the file simply call `element.processQueue()`.
72
+ */
73
+ this.autoProcessQueue = true;
74
+ /**
75
+ * If not `null` defines how many files this dropzone handles. If it exceeds,
76
+ * the event `stzhMaxfilesexceeded` will be called.
77
+ */
78
+ this.maxFiles = null;
79
+ /**
80
+ * The maximum filesize (in MiB) that is allowed to be uploaded.
81
+ */
82
+ this.maxFilesize = 25;
83
+ /**
84
+ * How many file uploads to process in parallel.
85
+ */
86
+ this.parallelUploads = 2;
87
+ /**
88
+ * Whether to send multiple files in one request. If
89
+ * this it set to true, then the fallback file input element will
90
+ * have the `multiple` attribute as well. This option will
91
+ * also trigger additional events (like `stzhSuccessMultiple`). See the events
92
+ * documentation section for more information.
93
+ */
94
+ this.uploadMultiple = false;
95
+ /**
96
+ * Whether you want files to be uploaded in chunks to your server. This can't be
97
+ * used in combination with `uploadMultiple`.
98
+ *
99
+ * See `chunksUploaded` prop for the callback to finalise an upload.
100
+ */
101
+ this.chunking = false;
102
+ /**
103
+ * If `chunking` is enabled, this defines whether **every** file should be chunked,
104
+ * even if the file size is below chunkSize. This means, that the additional chunk
105
+ * form data will be submitted and the `chunksUploaded` callback will be invoked.
106
+ */
107
+ this.forceChunking = false;
108
+ /**
109
+ * If `chunking` is `true`, then this defines the chunk size in bytes.
110
+ */
111
+ this.chunkSize = 2 * 1024 * 1024;
112
+ /**
113
+ * If `true`, the individual chunks of a file are being uploaded simultaneously.
114
+ */
115
+ this.parallelChunkUploads = false;
116
+ /**
117
+ * Whether a chunk should be retried if it fails.
118
+ */
119
+ this.retryChunks = false;
120
+ /**
121
+ * If `retryChunks` is true, how many times should it be retried.
122
+ */
123
+ this.retryChunksLimit = 3;
124
+ /**
125
+ * The base that is used to calculate the **displayed** filesize. You can
126
+ * change this to 1024 if you would rather display kibibytes, mebibytes,
127
+ * etc... 1024 is technically incorrect, because `1024 bytes` are `1 kibibyte`
128
+ * not `1 kilobyte`. You can change this to `1024` if you don't care about
129
+ * validity.
130
+ */
131
+ this.filesizeBase = 1000;
132
+ /**
133
+ * An optional object to send additional headers to the server. Eg:
134
+ * `{ "My-Awesome-Header": "header value" }`
135
+ */
136
+ this.headers = null;
137
+ /**
138
+ * Should the default headers be set or not?
139
+ * Accept: application/json <- for requesting json response
140
+ * Cache-Control: no-cache <- Request shouldnt be cached
141
+ * X-Requested-With: XMLHttpRequest <- We sent the request via XMLHttpRequest
142
+ */
143
+ this.defaultHeaders = true;
144
+ /**
145
+ * A function that gets a [file](https://developer.mozilla.org/en-US/docs/DOM/File)
146
+ * and a `done` function as parameters.
147
+ *
148
+ * If the done function is invoked without arguments, the file is "accepted" and will
149
+ * be processed. If you pass an error message, the file is rejected, and the error
150
+ * message will be displayed.
151
+ * This function will not be called if the file is too big or doesn't match the mime types.
152
+ */
153
+ this.accept = function (_file, done) {
154
+ return done();
155
+ };
156
+ /**
157
+ * The callback that will be invoked when all chunks have been uploaded for a file.
158
+ * It gets the file for which the chunks have been uploaded as the first parameter,
159
+ * and the `done` function as second. `done()` needs to be invoked when everything
160
+ * needed to finish the upload process is done.
161
+ */
162
+ this.chunksUploaded = function (_file, done) {
163
+ done();
164
+ };
165
+ /**
166
+ * This is the element the hidden input field (which is used when clicking on the
167
+ * dropzone to trigger file selection) will be appended to. This might
168
+ * be important in case you use frameworks to switch the content of your page.
169
+ *
170
+ * Can be a selector string, or an element directly.
171
+ */
172
+ this.hiddenInputContainer = "body";
173
+ }
174
+ existingFilesWatcher(newValue) {
175
+ if (typeof newValue === "string") {
176
+ this._existingFiles = JSON.parse(newValue);
177
+ }
178
+ else {
179
+ this._existingFiles = newValue;
180
+ }
181
+ }
182
+ disabledWatcher() {
183
+ if (this.disabled) {
184
+ this.dropzone.disable();
185
+ }
186
+ else {
187
+ this.dropzone.enable();
188
+ }
189
+ }
190
+ errorWatcher(newValue) {
191
+ if (typeof newValue === "string") {
192
+ try {
193
+ this._error = JSON.parse(newValue);
194
+ }
195
+ catch (e) {
196
+ if (newValue) {
197
+ this._error = [newValue];
198
+ }
199
+ else {
200
+ this._error = [];
201
+ }
202
+ }
203
+ }
204
+ else if (newValue) {
205
+ this._error = newValue;
206
+ }
207
+ else {
208
+ this._error = [];
209
+ }
210
+ this.invalid = this._error.length > 0;
211
+ }
212
+ async processQueue() {
213
+ return this.dropzone.processQueue();
214
+ }
215
+ async componentWillLoad() {
216
+ this.uploadId = `stzh-upload-${uploadCounter++}`;
217
+ this.existingFilesWatcher(this.existingFiles);
218
+ this.errorWatcher(this.error);
219
+ if (!this.localization) {
220
+ this.localization = await fetchTranslations(this.element, 'upload');
221
+ }
222
+ }
223
+ componentDidRender() {
224
+ if (this.dropzone) {
225
+ return;
226
+ }
227
+ this.dropzone = new Dropzone(this.dropzoneElement, {
228
+ url: this.url,
229
+ method: this.method,
230
+ withCredentials: this.withCredentials,
231
+ clickable: [this.clickareaElement],
232
+ acceptedFiles: this.acceptedFiles,
233
+ accept: this.accept,
234
+ maxFiles: this.maxFiles,
235
+ maxFilesize: this.maxFilesize,
236
+ filesizeBase: this.filesizeBase,
237
+ parallelUploads: this.parallelUploads,
238
+ uploadMultiple: this.uploadMultiple,
239
+ autoProcessQueue: this.autoProcessQueue,
240
+ headers: this.headers,
241
+ defaultHeaders: this.defaultHeaders,
242
+ chunking: this.chunking,
243
+ chunkSize: this.chunkSize,
244
+ chunksUploaded: this.chunksUploaded,
245
+ forceChunking: this.forceChunking,
246
+ parallelChunkUploads: this.parallelChunkUploads,
247
+ retryChunks: this.retryChunks,
248
+ retryChunksLimit: this.retryChunksLimit,
249
+ createImageThumbnails: false,
250
+ hiddenInputContainer: this.hiddenInputContainer,
251
+ dictFileSizeUnits: { tb: "TB", gb: "GB", mb: "MB", kb: "KB", b: "b" },
252
+ dictRemoveFileConfirmation: null,
253
+ dictMaxFilesExceeded: this.localization.maxFilesExceeded,
254
+ dictRemoveFile: this.localization.removeFile,
255
+ dictCancelUploadConfirmation: this.localization.cancelUploadConfirmation,
256
+ dictUploadCanceled: this.localization.uploadCanceled,
257
+ dictCancelUpload: this.localization.cancelUpload,
258
+ dictResponseError: this.localization.responseError,
259
+ dictInvalidFileType: this.localization.invalidFileType,
260
+ dictFileTooBig: this.localization.fileTooBig,
261
+ error: (file, message, xhr) => {
262
+ if (file.previewElement) {
263
+ file.previewElement.classList.add("dz-error");
264
+ if (typeof message !== "string" && message.error) {
265
+ message = message.error;
266
+ }
267
+ else if (xhr) {
268
+ if (xhr.status === 401 || xhr.status === 403) {
269
+ message = this.localization.accessError;
270
+ }
271
+ else if (xhr.status === 413) {
272
+ message = this.localization.fileTooBigServer;
273
+ }
274
+ else if (xhr.status === 415) {
275
+ message = this.localization.invalidFileType;
276
+ }
277
+ else if (xhr.status >= 500) {
278
+ message = this.localization.serverError;
279
+ }
280
+ else {
281
+ const defaultError = this.localization.responseError
282
+ .replace("{{statusCode}}", xhr.status);
283
+ message = defaultError;
284
+ }
285
+ }
286
+ for (let node of file.previewElement.querySelectorAll("[data-dz-errormessage]")) {
287
+ node.textContent = message;
288
+ }
289
+ }
290
+ },
291
+ previewTemplate: `
292
+ <div class="stzh-upload__preview">
293
+ <div class="stzh-upload__inner">
294
+ <div class="stzh-upload__image">
295
+ <img data-dz-thumbnail />
296
+ </div>
297
+
298
+ <div class="stzh-upload__details">
299
+ <div class="stzh-upload__info-wrapper-processing">
300
+ <div class="stzh-upload__infos">
301
+ <div class="stzh-upload__subtitle">
302
+ <span data-dz-name></span>
303
+ </div>
304
+ <div class="stzh-upload__progress-text">
305
+ <span data-dz-progress-text></span>
306
+ </div>
307
+ </div>
308
+ <div class="stzh-upload__progress">
309
+ <span class="stzh-upload__progress-bar" data-dz-uploadprogress></span>
310
+ </div>
311
+ </div>
312
+ <div class="stzh-upload__info-wrapper-complete">
313
+ <div class="stzh-upload__title">
314
+ <span data-dz-name></span>
315
+ </div>
316
+ <div class="stzh-upload__meta">
317
+ <span class="stzh-upload__extension" data-dz-extension></span>
318
+ |
319
+ <span class="stzh-upload__size" data-dz-size></span>
320
+ </div>
321
+ <div class="stzh-upload__error-message">
322
+ <span data-dz-errormessage></span>
323
+ </div>
324
+ </div>
325
+ <div class="stzh-upload__actions">
326
+ <button class="stzh-upload__delete" data-dz-remove title="${this.localization.cancelUpload}">
327
+ <stzh-icon class="stzh-upload__delete-icon" name="delete"></stzh-icon>
328
+ <stzh-icon class="stzh-upload__delete-icon-error" name="close"></stzh-icon>
329
+ </button>
330
+ </div>
331
+ </div>
332
+ </div>
333
+ </div>
334
+ `
335
+ });
336
+ this.disabledWatcher();
337
+ this.dropzone.on("addedfile", (file) => this.stzhFileAdded.emit({
338
+ component: "stzh-upload", file
339
+ }));
340
+ this.dropzone.on("addedfiles", (files) => this.stzhFilesAdded.emit({
341
+ component: "stzh-upload", files
342
+ }));
343
+ this.dropzone.on("removedfile", (file) => this.stzhFileRemoved.emit({
344
+ component: "stzh-upload", file
345
+ }));
346
+ this.dropzone.on("sending", (file, xhr, formData) => this.stzhSending.emit({
347
+ component: "stzh-upload", file, xhr, formData
348
+ }));
349
+ this.dropzone.on("sendingmultiple", (files, xhr, formData) => this.stzhSendingMultiple.emit({
350
+ component: "stzh-upload", files, xhr, formData
351
+ }));
352
+ this.dropzone.on("processing", (file) => this.stzhProcessing.emit({
353
+ component: "stzh-upload", file
354
+ }));
355
+ this.dropzone.on("processingmultiple", (files) => this.stzhProcessingMultiple.emit({
356
+ component: "stzh-upload", files
357
+ }));
358
+ this.dropzone.on("uploadprogress", (file, progress, bytesSent) => this.stzhProgress.emit({
359
+ component: "stzh-upload", file, progress, bytesSent
360
+ }));
361
+ this.dropzone.on("totaluploadprogress", (totalUploadProgress, totalBytes, totalBytesSent) => this.stzhProgressTotal.emit({
362
+ component: "stzh-upload", totalUploadProgress, totalBytes, totalBytesSent
363
+ }));
364
+ this.dropzone.on("error", (file, message, xhr) => this.stzhError.emit({
365
+ component: "stzh-upload", file, message, xhr
366
+ }));
367
+ this.dropzone.on("errormultiple", (files, message, xhr) => this.stzhErrorMultiple.emit({
368
+ component: "stzh-upload", files, message, xhr
369
+ }));
370
+ this.dropzone.on("success", (file, responseText, event) => this.stzhSuccess.emit({
371
+ component: "stzh-upload", file, responseText, event
372
+ }));
373
+ this.dropzone.on("successmultiple", (files, responseText, event) => this.stzhSuccessMultiple.emit({
374
+ component: "stzh-upload", files, responseText, event
375
+ }));
376
+ this.dropzone.on("canceled", (file) => this.stzhCanceled.emit({
377
+ component: "stzh-upload", file
378
+ }));
379
+ this.dropzone.on("canceledmultiple", (files) => this.stzhCanceledMultiple.emit({
380
+ component: "stzh-upload", files
381
+ }));
382
+ this.dropzone.on("complete", (file) => this.stzhComplete.emit({
383
+ component: "stzh-upload", file
384
+ }));
385
+ this.dropzone.on("completemultiple", (files) => this.stzhCompleteMultiple.emit({
386
+ component: "stzh-upload", files
387
+ }));
388
+ this.dropzone.on("addedfile", (file) => {
389
+ file.previewElement.querySelectorAll(`[${ATTR_NAME}]`).forEach((name) => {
390
+ name.setAttribute("title", file.name);
391
+ });
392
+ file.previewElement.querySelectorAll(`[${ATTR_TYPE}]`).forEach((type) => {
393
+ type.innerText = file.type;
394
+ });
395
+ file.previewElement.querySelectorAll(`[${ATTR_EXTENSION}]`).forEach((extension) => {
396
+ extension.innerText = file.name.split(".").pop();
397
+ });
398
+ });
399
+ this.dropzone.on("uploadprogress", (file, progress) => {
400
+ file.previewElement.querySelectorAll(`[${ATTR_PROGRESS_TEXT}]`).forEach((progressText) => {
401
+ progressText.innerText = `${progress.toString()}%`;
402
+ });
403
+ });
404
+ this._existingFiles.forEach((file) => {
405
+ this.dropzone.displayExistingFile(file, null, null, null, null);
406
+ });
407
+ }
408
+ disconnectedCallback() {
409
+ if (this.dropzone) {
410
+ this.dropzone.destroy();
411
+ this.dropzone = null;
412
+ }
413
+ }
414
+ render() {
415
+ const errorUsed = hasSlot(this.element, 'error') || !!this.error;
416
+ const classes = {
417
+ "stzh-upload": true,
418
+ "stzh-upload--is-invalid": this.invalid,
419
+ "stzh-upload--is-disabled": this.disabled,
420
+ "stzh-upload--has-error": errorUsed,
421
+ "stzh-upload--has-instructions": !!this.description || !!this.localization.description
422
+ };
423
+ return (h(Host, null, h("div", { class: classes, ref: (el) => (this.dropzoneElement = el) }, this.label && h("div", { class: "stzh-upload__label" }, this.label), h("div", { class: "stzh-upload__clickarea", ref: (el) => (this.clickareaElement = el) }, h("div", { class: "stzh-upload__instructions", id: `${this.uploadId}-instruction` }, this.description ? this.description : this.localization.description), h("stzh-button", { size: "small", class: "stzh-upload__button", "aria-describedby": `${this.uploadId}-instruction ${this.uploadId}-description`, disabled: this.disabled }, this.button ? this.button : this.localization.button)), h(StzhInputDescription, { classPrefix: "stzh-upload", id: `${this.uploadId}-description`, error: this._error }))));
424
+ }
425
+ static get is() { return "stzh-upload"; }
426
+ static get originalStyleUrls() {
427
+ return {
428
+ "$": ["stzh-upload.scss"]
429
+ };
430
+ }
431
+ static get styleUrls() {
432
+ return {
433
+ "$": ["stzh-upload.css"]
434
+ };
435
+ }
436
+ static get properties() {
437
+ return {
438
+ "existingFiles": {
439
+ "type": "string",
440
+ "mutable": false,
441
+ "complexType": {
442
+ "original": "StzhUploadFilesItem[] | string",
443
+ "resolved": "StzhUploadFilesItem[] | string",
444
+ "references": {
445
+ "StzhUploadFilesItem": {
446
+ "location": "import",
447
+ "path": "../../index"
448
+ }
449
+ }
450
+ },
451
+ "required": false,
452
+ "optional": false,
453
+ "docs": {
454
+ "tags": [],
455
+ "text": ""
456
+ },
457
+ "attribute": "existing-files",
458
+ "reflect": false,
459
+ "defaultValue": "[]"
460
+ },
461
+ "label": {
462
+ "type": "string",
463
+ "mutable": false,
464
+ "complexType": {
465
+ "original": "string",
466
+ "resolved": "string",
467
+ "references": {}
468
+ },
469
+ "required": false,
470
+ "optional": false,
471
+ "docs": {
472
+ "tags": [],
473
+ "text": "Label"
474
+ },
475
+ "attribute": "label",
476
+ "reflect": false,
477
+ "defaultValue": "\"\""
478
+ },
479
+ "description": {
480
+ "type": "string",
481
+ "mutable": false,
482
+ "complexType": {
483
+ "original": "string",
484
+ "resolved": "string",
485
+ "references": {}
486
+ },
487
+ "required": false,
488
+ "optional": false,
489
+ "docs": {
490
+ "tags": [],
491
+ "text": "Description"
492
+ },
493
+ "attribute": "description",
494
+ "reflect": false,
495
+ "defaultValue": "\"\""
496
+ },
497
+ "button": {
498
+ "type": "string",
499
+ "mutable": false,
500
+ "complexType": {
501
+ "original": "string",
502
+ "resolved": "string",
503
+ "references": {}
504
+ },
505
+ "required": false,
506
+ "optional": false,
507
+ "docs": {
508
+ "tags": [],
509
+ "text": "Button text"
510
+ },
511
+ "attribute": "button",
512
+ "reflect": false,
513
+ "defaultValue": "\"\""
514
+ },
515
+ "url": {
516
+ "type": "string",
517
+ "mutable": false,
518
+ "complexType": {
519
+ "original": "string | Function",
520
+ "resolved": "Function | string",
521
+ "references": {
522
+ "Function": {
523
+ "location": "global"
524
+ }
525
+ }
526
+ },
527
+ "required": false,
528
+ "optional": false,
529
+ "docs": {
530
+ "tags": [],
531
+ "text": "URL the files are processed to.\n\nYou can also provide a function that will be called with `files` and\n`dataBlocks` and must return the url as string."
532
+ },
533
+ "attribute": "url",
534
+ "reflect": false,
535
+ "defaultValue": "\"\""
536
+ },
537
+ "method": {
538
+ "type": "string",
539
+ "mutable": false,
540
+ "complexType": {
541
+ "original": "\"post\" | \"put\" | Function",
542
+ "resolved": "\"post\" | \"put\" | Function",
543
+ "references": {
544
+ "Function": {
545
+ "location": "global"
546
+ }
547
+ }
548
+ },
549
+ "required": false,
550
+ "optional": false,
551
+ "docs": {
552
+ "tags": [],
553
+ "text": "Can be changed to `\"put\"` if necessary. You can also provide a function\nthat will be called with `files` and must return the method."
554
+ },
555
+ "attribute": "method",
556
+ "reflect": false,
557
+ "defaultValue": "\"post\""
558
+ },
559
+ "withCredentials": {
560
+ "type": "boolean",
561
+ "mutable": false,
562
+ "complexType": {
563
+ "original": "boolean",
564
+ "resolved": "boolean",
565
+ "references": {}
566
+ },
567
+ "required": false,
568
+ "optional": false,
569
+ "docs": {
570
+ "tags": [],
571
+ "text": "Will be set on the XHRequest."
572
+ },
573
+ "attribute": "with-credentials",
574
+ "reflect": false,
575
+ "defaultValue": "false"
576
+ },
577
+ "disabled": {
578
+ "type": "boolean",
579
+ "mutable": false,
580
+ "complexType": {
581
+ "original": "boolean",
582
+ "resolved": "boolean",
583
+ "references": {}
584
+ },
585
+ "required": false,
586
+ "optional": false,
587
+ "docs": {
588
+ "tags": [],
589
+ "text": "Whether the upload is disabled or not."
590
+ },
591
+ "attribute": "disabled",
592
+ "reflect": true,
593
+ "defaultValue": "false"
594
+ },
595
+ "invalid": {
596
+ "type": "boolean",
597
+ "mutable": false,
598
+ "complexType": {
599
+ "original": "boolean",
600
+ "resolved": "boolean",
601
+ "references": {}
602
+ },
603
+ "required": false,
604
+ "optional": false,
605
+ "docs": {
606
+ "tags": [],
607
+ "text": "Whether the upload is marked as invalid."
608
+ },
609
+ "attribute": "invalid",
610
+ "reflect": true,
611
+ "defaultValue": "false"
612
+ },
613
+ "error": {
614
+ "type": "string",
615
+ "mutable": false,
616
+ "complexType": {
617
+ "original": "string | string[]",
618
+ "resolved": "string | string[]",
619
+ "references": {}
620
+ },
621
+ "required": false,
622
+ "optional": false,
623
+ "docs": {
624
+ "tags": [],
625
+ "text": "One or multiple error message (use error slot as alternative)"
626
+ },
627
+ "attribute": "error",
628
+ "reflect": false
629
+ },
630
+ "acceptedFiles": {
631
+ "type": "string",
632
+ "mutable": false,
633
+ "complexType": {
634
+ "original": "string | null",
635
+ "resolved": "string",
636
+ "references": {}
637
+ },
638
+ "required": false,
639
+ "optional": false,
640
+ "docs": {
641
+ "tags": [],
642
+ "text": "The default implementation of `accept` checks the file's mime type or\nextension against this list. This is a comma separated list of mime\ntypes or file extensions.\n\nEg.: `image/*,application/pdf,.psd`\n\nThis option will also be used as\n[`accept`](https://developer.mozilla.org/en-US/docs/HTML/Element/input#attr-accept)\nparameter on the hidden file input as well."
643
+ },
644
+ "attribute": "accepted-files",
645
+ "reflect": false,
646
+ "defaultValue": "null"
647
+ },
648
+ "autoProcessQueue": {
649
+ "type": "boolean",
650
+ "mutable": false,
651
+ "complexType": {
652
+ "original": "boolean",
653
+ "resolved": "boolean",
654
+ "references": {}
655
+ },
656
+ "required": false,
657
+ "optional": false,
658
+ "docs": {
659
+ "tags": [],
660
+ "text": "If false, files will be added to the queue but the queue will not be\nprocessed automatically.\nThis can be useful if you need some additional user input before sending\nfiles (or if you want want all files sent at once).\nIf you're ready to send the file simply call `element.processQueue()`."
661
+ },
662
+ "attribute": "auto-process-queue",
663
+ "reflect": false,
664
+ "defaultValue": "true"
665
+ },
666
+ "maxFiles": {
667
+ "type": "number",
668
+ "mutable": false,
669
+ "complexType": {
670
+ "original": "number | null",
671
+ "resolved": "number",
672
+ "references": {}
673
+ },
674
+ "required": false,
675
+ "optional": false,
676
+ "docs": {
677
+ "tags": [],
678
+ "text": "If not `null` defines how many files this dropzone handles. If it exceeds,\nthe event `stzhMaxfilesexceeded` will be called."
679
+ },
680
+ "attribute": "max-files",
681
+ "reflect": false,
682
+ "defaultValue": "null"
683
+ },
684
+ "maxFilesize": {
685
+ "type": "number",
686
+ "mutable": false,
687
+ "complexType": {
688
+ "original": "number",
689
+ "resolved": "number",
690
+ "references": {}
691
+ },
692
+ "required": false,
693
+ "optional": false,
694
+ "docs": {
695
+ "tags": [],
696
+ "text": "The maximum filesize (in MiB) that is allowed to be uploaded."
697
+ },
698
+ "attribute": "max-filesize",
699
+ "reflect": false,
700
+ "defaultValue": "25"
701
+ },
702
+ "parallelUploads": {
703
+ "type": "number",
704
+ "mutable": false,
705
+ "complexType": {
706
+ "original": "number",
707
+ "resolved": "number",
708
+ "references": {}
709
+ },
710
+ "required": false,
711
+ "optional": false,
712
+ "docs": {
713
+ "tags": [],
714
+ "text": "How many file uploads to process in parallel."
715
+ },
716
+ "attribute": "parallel-uploads",
717
+ "reflect": false,
718
+ "defaultValue": "2"
719
+ },
720
+ "uploadMultiple": {
721
+ "type": "boolean",
722
+ "mutable": false,
723
+ "complexType": {
724
+ "original": "boolean",
725
+ "resolved": "boolean",
726
+ "references": {}
727
+ },
728
+ "required": false,
729
+ "optional": false,
730
+ "docs": {
731
+ "tags": [],
732
+ "text": "Whether to send multiple files in one request. If\nthis it set to true, then the fallback file input element will\nhave the `multiple` attribute as well. This option will\nalso trigger additional events (like `stzhSuccessMultiple`). See the events\ndocumentation section for more information."
733
+ },
734
+ "attribute": "upload-multiple",
735
+ "reflect": false,
736
+ "defaultValue": "false"
737
+ },
738
+ "chunking": {
739
+ "type": "boolean",
740
+ "mutable": false,
741
+ "complexType": {
742
+ "original": "boolean",
743
+ "resolved": "boolean",
744
+ "references": {}
745
+ },
746
+ "required": false,
747
+ "optional": false,
748
+ "docs": {
749
+ "tags": [],
750
+ "text": "Whether you want files to be uploaded in chunks to your server. This can't be\nused in combination with `uploadMultiple`.\n\nSee `chunksUploaded` prop for the callback to finalise an upload."
751
+ },
752
+ "attribute": "chunking",
753
+ "reflect": false,
754
+ "defaultValue": "false"
755
+ },
756
+ "forceChunking": {
757
+ "type": "boolean",
758
+ "mutable": false,
759
+ "complexType": {
760
+ "original": "boolean",
761
+ "resolved": "boolean",
762
+ "references": {}
763
+ },
764
+ "required": false,
765
+ "optional": false,
766
+ "docs": {
767
+ "tags": [],
768
+ "text": "If `chunking` is enabled, this defines whether **every** file should be chunked,\neven if the file size is below chunkSize. This means, that the additional chunk\nform data will be submitted and the `chunksUploaded` callback will be invoked."
769
+ },
770
+ "attribute": "force-chunking",
771
+ "reflect": false,
772
+ "defaultValue": "false"
773
+ },
774
+ "chunkSize": {
775
+ "type": "number",
776
+ "mutable": false,
777
+ "complexType": {
778
+ "original": "number",
779
+ "resolved": "number",
780
+ "references": {}
781
+ },
782
+ "required": false,
783
+ "optional": false,
784
+ "docs": {
785
+ "tags": [],
786
+ "text": "If `chunking` is `true`, then this defines the chunk size in bytes."
787
+ },
788
+ "attribute": "chunk-size",
789
+ "reflect": false,
790
+ "defaultValue": "2 * 1024 * 1024"
791
+ },
792
+ "parallelChunkUploads": {
793
+ "type": "boolean",
794
+ "mutable": false,
795
+ "complexType": {
796
+ "original": "boolean",
797
+ "resolved": "boolean",
798
+ "references": {}
799
+ },
800
+ "required": false,
801
+ "optional": false,
802
+ "docs": {
803
+ "tags": [],
804
+ "text": "If `true`, the individual chunks of a file are being uploaded simultaneously."
805
+ },
806
+ "attribute": "parallel-chunk-uploads",
807
+ "reflect": false,
808
+ "defaultValue": "false"
809
+ },
810
+ "retryChunks": {
811
+ "type": "boolean",
812
+ "mutable": false,
813
+ "complexType": {
814
+ "original": "boolean",
815
+ "resolved": "boolean",
816
+ "references": {}
817
+ },
818
+ "required": false,
819
+ "optional": false,
820
+ "docs": {
821
+ "tags": [],
822
+ "text": "Whether a chunk should be retried if it fails."
823
+ },
824
+ "attribute": "retry-chunks",
825
+ "reflect": false,
826
+ "defaultValue": "false"
827
+ },
828
+ "retryChunksLimit": {
829
+ "type": "number",
830
+ "mutable": false,
831
+ "complexType": {
832
+ "original": "number",
833
+ "resolved": "number",
834
+ "references": {}
835
+ },
836
+ "required": false,
837
+ "optional": false,
838
+ "docs": {
839
+ "tags": [],
840
+ "text": "If `retryChunks` is true, how many times should it be retried."
841
+ },
842
+ "attribute": "retry-chunks-limit",
843
+ "reflect": false,
844
+ "defaultValue": "3"
845
+ },
846
+ "filesizeBase": {
847
+ "type": "number",
848
+ "mutable": false,
849
+ "complexType": {
850
+ "original": "number",
851
+ "resolved": "number",
852
+ "references": {}
853
+ },
854
+ "required": false,
855
+ "optional": false,
856
+ "docs": {
857
+ "tags": [],
858
+ "text": "The base that is used to calculate the **displayed** filesize. You can\nchange this to 1024 if you would rather display kibibytes, mebibytes,\netc... 1024 is technically incorrect, because `1024 bytes` are `1 kibibyte`\nnot `1 kilobyte`. You can change this to `1024` if you don't care about\nvalidity."
859
+ },
860
+ "attribute": "filesize-base",
861
+ "reflect": false,
862
+ "defaultValue": "1000"
863
+ },
864
+ "headers": {
865
+ "type": "unknown",
866
+ "mutable": false,
867
+ "complexType": {
868
+ "original": "object | null",
869
+ "resolved": "object",
870
+ "references": {}
871
+ },
872
+ "required": false,
873
+ "optional": false,
874
+ "docs": {
875
+ "tags": [],
876
+ "text": "An optional object to send additional headers to the server. Eg:\n`{ \"My-Awesome-Header\": \"header value\" }`"
877
+ },
878
+ "defaultValue": "null"
879
+ },
880
+ "defaultHeaders": {
881
+ "type": "boolean",
882
+ "mutable": false,
883
+ "complexType": {
884
+ "original": "boolean",
885
+ "resolved": "boolean",
886
+ "references": {}
887
+ },
888
+ "required": false,
889
+ "optional": false,
890
+ "docs": {
891
+ "tags": [],
892
+ "text": "Should the default headers be set or not?\nAccept: application/json <- for requesting json response\nCache-Control: no-cache <- Request shouldnt be cached\nX-Requested-With: XMLHttpRequest <- We sent the request via XMLHttpRequest"
893
+ },
894
+ "attribute": "default-headers",
895
+ "reflect": false,
896
+ "defaultValue": "true"
897
+ },
898
+ "accept": {
899
+ "type": "unknown",
900
+ "mutable": false,
901
+ "complexType": {
902
+ "original": "Function",
903
+ "resolved": "Function",
904
+ "references": {
905
+ "Function": {
906
+ "location": "global"
907
+ }
908
+ }
909
+ },
910
+ "required": false,
911
+ "optional": false,
912
+ "docs": {
913
+ "tags": [],
914
+ "text": "A function that gets a [file](https://developer.mozilla.org/en-US/docs/DOM/File)\nand a `done` function as parameters.\n\nIf the done function is invoked without arguments, the file is \"accepted\" and will\nbe processed. If you pass an error message, the file is rejected, and the error\nmessage will be displayed.\nThis function will not be called if the file is too big or doesn't match the mime types."
915
+ },
916
+ "defaultValue": "function(_file, done) {\n return done();\n }"
917
+ },
918
+ "chunksUploaded": {
919
+ "type": "unknown",
920
+ "mutable": false,
921
+ "complexType": {
922
+ "original": "Function",
923
+ "resolved": "Function",
924
+ "references": {
925
+ "Function": {
926
+ "location": "global"
927
+ }
928
+ }
929
+ },
930
+ "required": false,
931
+ "optional": false,
932
+ "docs": {
933
+ "tags": [],
934
+ "text": "The callback that will be invoked when all chunks have been uploaded for a file.\nIt gets the file for which the chunks have been uploaded as the first parameter,\nand the `done` function as second. `done()` needs to be invoked when everything\nneeded to finish the upload process is done."
935
+ },
936
+ "defaultValue": "function(_file, done) {\n done();\n }"
937
+ },
938
+ "hiddenInputContainer": {
939
+ "type": "string",
940
+ "mutable": false,
941
+ "complexType": {
942
+ "original": "string | HTMLElement",
943
+ "resolved": "HTMLElement | string",
944
+ "references": {
945
+ "HTMLElement": {
946
+ "location": "global"
947
+ }
948
+ }
949
+ },
950
+ "required": false,
951
+ "optional": false,
952
+ "docs": {
953
+ "tags": [],
954
+ "text": "This is the element the hidden input field (which is used when clicking on the\ndropzone to trigger file selection) will be appended to. This might\nbe important in case you use frameworks to switch the content of your page.\n\nCan be a selector string, or an element directly."
955
+ },
956
+ "attribute": "hidden-input-container",
957
+ "reflect": false,
958
+ "defaultValue": "\"body\""
959
+ },
960
+ "localization": {
961
+ "type": "unknown",
962
+ "mutable": false,
963
+ "complexType": {
964
+ "original": "StzhUploadLocalizedText",
965
+ "resolved": "StzhLocaleComponent & { description: string; button: string; cancelUpload: string; uploadCanceled: string; cancelUploadConfirmation: string; removeFile: string; maxFilesExceeded: string; serverError: string; accessError: string; responseError: string; invalidFileType: string; fileTooBig: string; fileTooBigServer: string; }",
966
+ "references": {
967
+ "StzhUploadLocalizedText": {
968
+ "location": "import",
969
+ "path": "./stzh-upload.localization"
970
+ }
971
+ }
972
+ },
973
+ "required": false,
974
+ "optional": false,
975
+ "docs": {
976
+ "tags": [],
977
+ "text": "Translation strings."
978
+ }
979
+ }
980
+ };
981
+ }
982
+ static get events() {
983
+ return [{
984
+ "method": "stzhFileAdded",
985
+ "name": "stzhFileAdded",
986
+ "bubbles": true,
987
+ "cancelable": true,
988
+ "composed": true,
989
+ "docs": {
990
+ "tags": [],
991
+ "text": "File added"
992
+ },
993
+ "complexType": {
994
+ "original": "StzhUploadFileAddedEvent",
995
+ "resolved": "{ component: \"stzh-upload\"; file: StzhUploadFile; }",
996
+ "references": {
997
+ "StzhUploadFileAddedEvent": {
998
+ "location": "import",
999
+ "path": "../../index"
1000
+ }
1001
+ }
1002
+ }
1003
+ }, {
1004
+ "method": "stzhFilesAdded",
1005
+ "name": "stzhFilesAdded",
1006
+ "bubbles": true,
1007
+ "cancelable": true,
1008
+ "composed": true,
1009
+ "docs": {
1010
+ "tags": [],
1011
+ "text": "Files added (multiple)"
1012
+ },
1013
+ "complexType": {
1014
+ "original": "StzhUploadFilesAddedEvent",
1015
+ "resolved": "{ component: \"stzh-upload\"; files: StzhUploadFile[]; }",
1016
+ "references": {
1017
+ "StzhUploadFilesAddedEvent": {
1018
+ "location": "import",
1019
+ "path": "../../index"
1020
+ }
1021
+ }
1022
+ }
1023
+ }, {
1024
+ "method": "stzhFileRemoved",
1025
+ "name": "stzhFileRemoved",
1026
+ "bubbles": true,
1027
+ "cancelable": true,
1028
+ "composed": true,
1029
+ "docs": {
1030
+ "tags": [],
1031
+ "text": "File removed"
1032
+ },
1033
+ "complexType": {
1034
+ "original": "StzhUploadFileRemovedEvent",
1035
+ "resolved": "{ component: \"stzh-upload\"; file: StzhUploadFile; }",
1036
+ "references": {
1037
+ "StzhUploadFileRemovedEvent": {
1038
+ "location": "import",
1039
+ "path": "../../index"
1040
+ }
1041
+ }
1042
+ }
1043
+ }, {
1044
+ "method": "stzhSending",
1045
+ "name": "stzhSending",
1046
+ "bubbles": true,
1047
+ "cancelable": true,
1048
+ "composed": true,
1049
+ "docs": {
1050
+ "tags": [],
1051
+ "text": "Before sending file (add additional data before request if necessary)"
1052
+ },
1053
+ "complexType": {
1054
+ "original": "StzhUploadSendingEvent",
1055
+ "resolved": "{ component: \"stzh-upload\"; file: StzhUploadFile; xhr: XMLHttpRequest; formData: FormData; }",
1056
+ "references": {
1057
+ "StzhUploadSendingEvent": {
1058
+ "location": "import",
1059
+ "path": "../../index"
1060
+ }
1061
+ }
1062
+ }
1063
+ }, {
1064
+ "method": "stzhSendingMultiple",
1065
+ "name": "stzhSendingMultiple",
1066
+ "bubbles": true,
1067
+ "cancelable": true,
1068
+ "composed": true,
1069
+ "docs": {
1070
+ "tags": [],
1071
+ "text": "Before sending multiple files (add additional data before request if necessary)"
1072
+ },
1073
+ "complexType": {
1074
+ "original": "StzhUploadSendingMultipleEvent",
1075
+ "resolved": "{ component: \"stzh-upload\"; files: StzhUploadFile[]; xhr: XMLHttpRequest; formData: FormData; }",
1076
+ "references": {
1077
+ "StzhUploadSendingMultipleEvent": {
1078
+ "location": "import",
1079
+ "path": "../../index"
1080
+ }
1081
+ }
1082
+ }
1083
+ }, {
1084
+ "method": "stzhProcessing",
1085
+ "name": "stzhProcessing",
1086
+ "bubbles": true,
1087
+ "cancelable": true,
1088
+ "composed": true,
1089
+ "docs": {
1090
+ "tags": [],
1091
+ "text": "Files starting to get processed"
1092
+ },
1093
+ "complexType": {
1094
+ "original": "StzhUploadProcessingEvent",
1095
+ "resolved": "{ component: \"stzh-upload\"; file: StzhUploadFile; }",
1096
+ "references": {
1097
+ "StzhUploadProcessingEvent": {
1098
+ "location": "import",
1099
+ "path": "../../index"
1100
+ }
1101
+ }
1102
+ }
1103
+ }, {
1104
+ "method": "stzhProcessingMultiple",
1105
+ "name": "stzhProcessingMultiple",
1106
+ "bubbles": true,
1107
+ "cancelable": true,
1108
+ "composed": true,
1109
+ "docs": {
1110
+ "tags": [],
1111
+ "text": "Files starting to get processed (multiple)"
1112
+ },
1113
+ "complexType": {
1114
+ "original": "StzhUploadProcessingMultipleEvent",
1115
+ "resolved": "{ component: \"stzh-upload\"; files: StzhUploadFile[]; }",
1116
+ "references": {
1117
+ "StzhUploadProcessingMultipleEvent": {
1118
+ "location": "import",
1119
+ "path": "../../index"
1120
+ }
1121
+ }
1122
+ }
1123
+ }, {
1124
+ "method": "stzhProgress",
1125
+ "name": "stzhProgress",
1126
+ "bubbles": true,
1127
+ "cancelable": true,
1128
+ "composed": true,
1129
+ "docs": {
1130
+ "tags": [],
1131
+ "text": "Upload file progress during upload"
1132
+ },
1133
+ "complexType": {
1134
+ "original": "StzhUploadProgressEvent",
1135
+ "resolved": "{ component: \"stzh-upload\"; file: StzhUploadFile; progress: number; bytesSent: number; }",
1136
+ "references": {
1137
+ "StzhUploadProgressEvent": {
1138
+ "location": "import",
1139
+ "path": "../../index"
1140
+ }
1141
+ }
1142
+ }
1143
+ }, {
1144
+ "method": "stzhProgressTotal",
1145
+ "name": "stzhProgressTotal",
1146
+ "bubbles": true,
1147
+ "cancelable": true,
1148
+ "composed": true,
1149
+ "docs": {
1150
+ "tags": [],
1151
+ "text": "Upload total file progress during upload"
1152
+ },
1153
+ "complexType": {
1154
+ "original": "StzhUploadProgressTotalEvent",
1155
+ "resolved": "{ component: \"stzh-upload\"; totalUploadProgress: number; totalBytes: number; totalBytesSent: number; }",
1156
+ "references": {
1157
+ "StzhUploadProgressTotalEvent": {
1158
+ "location": "import",
1159
+ "path": "../../index"
1160
+ }
1161
+ }
1162
+ }
1163
+ }, {
1164
+ "method": "stzhError",
1165
+ "name": "stzhError",
1166
+ "bubbles": true,
1167
+ "cancelable": true,
1168
+ "composed": true,
1169
+ "docs": {
1170
+ "tags": [],
1171
+ "text": "File error"
1172
+ },
1173
+ "complexType": {
1174
+ "original": "StzhUploadErrorEvent",
1175
+ "resolved": "{ component: \"stzh-upload\"; file: StzhUploadFile; message: string; xhr: XMLHttpRequest; }",
1176
+ "references": {
1177
+ "StzhUploadErrorEvent": {
1178
+ "location": "import",
1179
+ "path": "../../index"
1180
+ }
1181
+ }
1182
+ }
1183
+ }, {
1184
+ "method": "stzhErrorMultiple",
1185
+ "name": "stzhErrorMultiple",
1186
+ "bubbles": true,
1187
+ "cancelable": true,
1188
+ "composed": true,
1189
+ "docs": {
1190
+ "tags": [],
1191
+ "text": "Files error (multiple files)"
1192
+ },
1193
+ "complexType": {
1194
+ "original": "StzhUploadErrorMultipleEvent",
1195
+ "resolved": "{ component: \"stzh-upload\"; files: StzhUploadFile[]; message: string; xhr: XMLHttpRequest; }",
1196
+ "references": {
1197
+ "StzhUploadErrorMultipleEvent": {
1198
+ "location": "import",
1199
+ "path": "../../index"
1200
+ }
1201
+ }
1202
+ }
1203
+ }, {
1204
+ "method": "stzhSuccess",
1205
+ "name": "stzhSuccess",
1206
+ "bubbles": true,
1207
+ "cancelable": true,
1208
+ "composed": true,
1209
+ "docs": {
1210
+ "tags": [],
1211
+ "text": "File successfully uploaded"
1212
+ },
1213
+ "complexType": {
1214
+ "original": "StzhUploadSuccessEvent",
1215
+ "resolved": "{ component: \"stzh-upload\"; file: StzhUploadFile; responseText: string; event: ProgressEvent<EventTarget>; }",
1216
+ "references": {
1217
+ "StzhUploadSuccessEvent": {
1218
+ "location": "import",
1219
+ "path": "../../index"
1220
+ }
1221
+ }
1222
+ }
1223
+ }, {
1224
+ "method": "stzhSuccessMultiple",
1225
+ "name": "stzhSuccessMultiple",
1226
+ "bubbles": true,
1227
+ "cancelable": true,
1228
+ "composed": true,
1229
+ "docs": {
1230
+ "tags": [],
1231
+ "text": "Files successfully uploaded (multiple files)"
1232
+ },
1233
+ "complexType": {
1234
+ "original": "StzhUploadSuccessMultipleEvent",
1235
+ "resolved": "{ component: \"stzh-upload\"; files: StzhUploadFile[]; responseText: string; event: ProgressEvent<EventTarget>; }",
1236
+ "references": {
1237
+ "StzhUploadSuccessMultipleEvent": {
1238
+ "location": "import",
1239
+ "path": "../../index"
1240
+ }
1241
+ }
1242
+ }
1243
+ }, {
1244
+ "method": "stzhCanceled",
1245
+ "name": "stzhCanceled",
1246
+ "bubbles": true,
1247
+ "cancelable": true,
1248
+ "composed": true,
1249
+ "docs": {
1250
+ "tags": [],
1251
+ "text": "Canceled file upload"
1252
+ },
1253
+ "complexType": {
1254
+ "original": "StzhUploadCanceledEvent",
1255
+ "resolved": "{ component: \"stzh-upload\"; file: StzhUploadFile; }",
1256
+ "references": {
1257
+ "StzhUploadCanceledEvent": {
1258
+ "location": "import",
1259
+ "path": "../../index"
1260
+ }
1261
+ }
1262
+ }
1263
+ }, {
1264
+ "method": "stzhCanceledMultiple",
1265
+ "name": "stzhCanceledMultiple",
1266
+ "bubbles": true,
1267
+ "cancelable": true,
1268
+ "composed": true,
1269
+ "docs": {
1270
+ "tags": [],
1271
+ "text": "Canceled file upload (multiple files)"
1272
+ },
1273
+ "complexType": {
1274
+ "original": "StzhUploadCanceledMultipleEvent",
1275
+ "resolved": "{ component: \"stzh-upload\"; files: StzhUploadFile[]; }",
1276
+ "references": {
1277
+ "StzhUploadCanceledMultipleEvent": {
1278
+ "location": "import",
1279
+ "path": "../../index"
1280
+ }
1281
+ }
1282
+ }
1283
+ }, {
1284
+ "method": "stzhComplete",
1285
+ "name": "stzhComplete",
1286
+ "bubbles": true,
1287
+ "cancelable": true,
1288
+ "composed": true,
1289
+ "docs": {
1290
+ "tags": [],
1291
+ "text": "Completed upload (successfully or with error)"
1292
+ },
1293
+ "complexType": {
1294
+ "original": "StzhUploadCompleteEvent",
1295
+ "resolved": "{ component: \"stzh-upload\"; file: StzhUploadFile; }",
1296
+ "references": {
1297
+ "StzhUploadCompleteEvent": {
1298
+ "location": "import",
1299
+ "path": "../../index"
1300
+ }
1301
+ }
1302
+ }
1303
+ }, {
1304
+ "method": "stzhCompleteMultiple",
1305
+ "name": "stzhCompleteMultiple",
1306
+ "bubbles": true,
1307
+ "cancelable": true,
1308
+ "composed": true,
1309
+ "docs": {
1310
+ "tags": [],
1311
+ "text": "Completed upload (successfully or with error, multiple files)"
1312
+ },
1313
+ "complexType": {
1314
+ "original": "StzhUploadCompleteMultipleEvent",
1315
+ "resolved": "{ component: \"stzh-upload\"; files: StzhUploadFile[]; }",
1316
+ "references": {
1317
+ "StzhUploadCompleteMultipleEvent": {
1318
+ "location": "import",
1319
+ "path": "../../index"
1320
+ }
1321
+ }
1322
+ }
1323
+ }];
1324
+ }
1325
+ static get methods() {
1326
+ return {
1327
+ "processQueue": {
1328
+ "complexType": {
1329
+ "signature": "() => Promise<any>",
1330
+ "parameters": [],
1331
+ "references": {
1332
+ "Promise": {
1333
+ "location": "global"
1334
+ }
1335
+ },
1336
+ "return": "Promise<any>"
1337
+ },
1338
+ "docs": {
1339
+ "text": "",
1340
+ "tags": []
1341
+ }
1342
+ }
1343
+ };
1344
+ }
1345
+ static get elementRef() { return "element"; }
1346
+ static get watchers() {
1347
+ return [{
1348
+ "propName": "existingFiles",
1349
+ "methodName": "existingFilesWatcher"
1350
+ }, {
1351
+ "propName": "disabled",
1352
+ "methodName": "disabledWatcher"
1353
+ }, {
1354
+ "propName": "error",
1355
+ "methodName": "errorWatcher"
1356
+ }];
1357
+ }
1358
+ }