@oiz/stzh-components 3.0.0 → 3.1.0

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 (713) hide show
  1. package/dist/cjs/{app-globals-1d1f8f2e.js → app-globals-0699ef40.js} +2 -2
  2. package/dist/cjs/{app-globals-1d1f8f2e.js.map → app-globals-0699ef40.js.map} +1 -1
  3. package/dist/cjs/index-92254d32.js +46 -18
  4. package/dist/cjs/index.cjs.js.map +1 -1
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/stzh-accordion_3.cjs.entry.js +19 -19
  7. package/dist/cjs/stzh-accordion_3.cjs.entry.js.map +1 -1
  8. package/dist/cjs/stzh-amount.cjs.entry.js.map +1 -1
  9. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +5 -18
  10. package/dist/cjs/stzh-card-searchresult.cjs.entry.js.map +1 -1
  11. package/dist/cjs/{stzh-card_3.cjs.entry.js → stzh-card_2.cjs.entry.js} +6 -222
  12. package/dist/cjs/stzh-card_2.cjs.entry.js.map +1 -0
  13. package/dist/cjs/stzh-checkbox.cjs.entry.js.map +1 -1
  14. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js.map +1 -1
  15. package/dist/cjs/{stzh-message.cjs.entry.js → stzh-chipgroup_2.cjs.entry.js} +19 -2
  16. package/dist/cjs/stzh-chipgroup_2.cjs.entry.js.map +1 -0
  17. package/dist/cjs/stzh-chipselect.cjs.entry.js +222 -0
  18. package/dist/cjs/stzh-chipselect.cjs.entry.js.map +1 -0
  19. package/dist/cjs/stzh-components.cjs.js +2 -2
  20. package/dist/cjs/stzh-contact.cjs.entry.js +40 -37
  21. package/dist/cjs/stzh-contact.cjs.entry.js.map +1 -1
  22. package/dist/cjs/stzh-container.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-container.cjs.entry.js.map +1 -1
  24. package/dist/cjs/stzh-content.cjs.entry.js +1 -1
  25. package/dist/cjs/stzh-content.cjs.entry.js.map +1 -1
  26. package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
  27. package/dist/cjs/stzh-cspace.cjs.entry.js.map +1 -1
  28. package/dist/cjs/stzh-datalist_2.cjs.entry.js +1 -1
  29. package/dist/cjs/stzh-datalist_2.cjs.entry.js.map +1 -1
  30. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +31 -33
  31. package/dist/cjs/stzh-datepicker_3.cjs.entry.js.map +1 -1
  32. package/dist/cjs/stzh-dropdown.cjs.entry.js +1 -1
  33. package/dist/cjs/stzh-dropdown.cjs.entry.js.map +1 -1
  34. package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
  35. package/dist/cjs/stzh-gallery.cjs.entry.js.map +1 -1
  36. package/dist/cjs/stzh-header.cjs.entry.js +175 -166
  37. package/dist/cjs/stzh-header.cjs.entry.js.map +1 -1
  38. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  39. package/dist/cjs/stzh-heading.cjs.entry.js.map +1 -1
  40. package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +102 -0
  41. package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js.map +1 -0
  42. package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
  43. package/dist/cjs/stzh-hspace.cjs.entry.js.map +1 -1
  44. package/dist/cjs/stzh-input.cjs.entry.js +29 -44
  45. package/dist/cjs/stzh-input.cjs.entry.js.map +1 -1
  46. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js.map +1 -1
  47. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +76 -0
  48. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js.map +1 -0
  49. package/dist/cjs/stzh-pagetitle.cjs.entry.js +16 -15
  50. package/dist/cjs/stzh-pagetitle.cjs.entry.js.map +1 -1
  51. package/dist/cjs/stzh-panorama.cjs.entry.js +51 -25
  52. package/dist/cjs/stzh-panorama.cjs.entry.js.map +1 -1
  53. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +64 -0
  54. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js.map +1 -0
  55. package/dist/cjs/stzh-pi-menu.cjs.entry.js +202 -0
  56. package/dist/cjs/stzh-pi-menu.cjs.entry.js.map +1 -0
  57. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +83 -0
  58. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js.map +1 -0
  59. package/dist/cjs/stzh-pi-quote.cjs.entry.js +26 -0
  60. package/dist/cjs/stzh-pi-quote.cjs.entry.js.map +1 -0
  61. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +62 -0
  62. package/dist/cjs/stzh-pi-teaser.cjs.entry.js.map +1 -0
  63. package/dist/cjs/stzh-popover_2.cjs.entry.js +1 -1
  64. package/dist/cjs/stzh-popover_2.cjs.entry.js.map +1 -1
  65. package/dist/cjs/stzh-progressbar-item.cjs.entry.js +7 -3
  66. package/dist/cjs/stzh-progressbar-item.cjs.entry.js.map +1 -1
  67. package/dist/cjs/stzh-progressbar.cjs.entry.js +2 -1
  68. package/dist/cjs/stzh-progressbar.cjs.entry.js.map +1 -1
  69. package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
  70. package/dist/cjs/stzh-ratio.cjs.entry.js.map +1 -1
  71. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -0
  72. package/dist/cjs/stzh-readspeaker.cjs.entry.js.map +1 -1
  73. package/dist/cjs/stzh-search.cjs.entry.js +69 -44
  74. package/dist/cjs/stzh-search.cjs.entry.js.map +1 -1
  75. package/dist/cjs/stzh-section.cjs.entry.js +3 -3
  76. package/dist/cjs/stzh-section.cjs.entry.js.map +1 -1
  77. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  78. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js.map +1 -1
  79. package/dist/cjs/stzh-space.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-space.cjs.entry.js.map +1 -1
  81. package/dist/cjs/stzh-textandimage.cjs.entry.js +10 -8
  82. package/dist/cjs/stzh-textandimage.cjs.entry.js.map +1 -1
  83. package/dist/cjs/stzh-timepicker.cjs.entry.js.map +1 -1
  84. package/dist/cjs/stzh-toggle.cjs.entry.js.map +1 -1
  85. package/dist/cjs/stzh-tooltip.cjs.entry.js +36 -51
  86. package/dist/cjs/stzh-tooltip.cjs.entry.js.map +1 -1
  87. package/dist/cjs/stzh-upload.cjs.entry.js +65 -31
  88. package/dist/cjs/stzh-upload.cjs.entry.js.map +1 -1
  89. package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
  90. package/dist/cjs/stzh-vspace.cjs.entry.js.map +1 -1
  91. package/dist/collection/assets/i18n/de.json +36 -3
  92. package/dist/collection/assets/i18n/en.json +36 -3
  93. package/dist/collection/collection-manifest.json +7 -0
  94. package/dist/collection/components/stzh-accordion/stzh-accordion.css +16 -0
  95. package/dist/collection/components/stzh-accordion/stzh-accordion.js +38 -20
  96. package/dist/collection/components/stzh-accordion/stzh-accordion.js.map +1 -1
  97. package/dist/collection/components/stzh-accordion/stzh-accordion.stories.js +4 -5
  98. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +3 -0
  99. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
  100. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.stories.js +7 -8
  101. package/dist/collection/components/stzh-actions/stzh-actions.css +3 -0
  102. package/dist/collection/components/stzh-actionset/stzh-actionset.css +3 -0
  103. package/dist/collection/components/stzh-amount/stzh-amount.css +3 -0
  104. package/dist/collection/components/stzh-amount/stzh-amount.js +1 -1
  105. package/dist/collection/components/stzh-amount/stzh-amount.js.map +1 -1
  106. package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +3 -0
  107. package/dist/collection/components/stzh-appointments/stzh-appointments.css +3 -0
  108. package/dist/collection/components/stzh-archivelist/stzh-archivelist.css +3 -0
  109. package/dist/collection/components/stzh-audio/stzh-audio.css +3 -0
  110. package/dist/collection/components/stzh-badge/stzh-badge.css +3 -0
  111. package/dist/collection/components/stzh-banner/stzh-banner.css +3 -0
  112. package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.css +3 -0
  113. package/dist/collection/components/stzh-button/stzh-button.css +3 -0
  114. package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.css +3 -0
  115. package/dist/collection/components/stzh-calendar/stzh-calendar.css +3 -0
  116. package/dist/collection/components/stzh-card/stzh-card.css +3 -0
  117. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.css +3 -0
  118. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.e2e.js +2 -5
  119. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.e2e.js.map +1 -1
  120. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.css +3 -0
  121. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js +5 -18
  122. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js.map +1 -1
  123. package/dist/collection/components/stzh-card-superteaser/stzh-card-superteaser.css +3 -0
  124. package/dist/collection/components/stzh-cardlist/stzh-cardlist.css +101 -18
  125. package/dist/collection/components/stzh-cardlist/stzh-cardlist.js +6 -8
  126. package/dist/collection/components/stzh-cardlist/stzh-cardlist.js.map +1 -1
  127. package/dist/collection/components/stzh-carousel/stzh-carousel.css +3 -0
  128. package/dist/collection/components/stzh-cell/stzh-cell.css +3 -0
  129. package/dist/collection/components/stzh-chart/stzh-chart.css +3 -0
  130. package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +3 -0
  131. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +1 -1
  132. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js.map +1 -1
  133. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.css +3 -0
  134. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +1 -1
  135. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js.map +1 -1
  136. package/dist/collection/components/stzh-chip/stzh-chip.css +3 -0
  137. package/dist/collection/components/stzh-chipgroup/stzh-chipgroup.css +3 -0
  138. package/dist/collection/components/stzh-chipselect/stzh-chipselect.css +3 -0
  139. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +3 -3
  140. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js.map +1 -1
  141. package/dist/collection/components/stzh-chipselect/stzh-chipselect.stories.js +44 -32
  142. package/dist/collection/components/stzh-clamp/stzh-clamp.css +3 -0
  143. package/dist/collection/components/stzh-contact/stzh-contact.css +3 -0
  144. package/dist/collection/components/stzh-contact/stzh-contact.js +48 -41
  145. package/dist/collection/components/stzh-contact/stzh-contact.js.map +1 -1
  146. package/dist/collection/components/stzh-container/stzh-container.css +6 -1
  147. package/dist/collection/components/stzh-content/stzh-content.css +11 -0
  148. package/dist/collection/components/stzh-cspace/stzh-cspace.css +119 -13
  149. package/dist/collection/components/stzh-cta/stzh-cta.css +3 -0
  150. package/dist/collection/components/stzh-datalist/stzh-datalist.css +3 -0
  151. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +5 -2
  152. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.css +3 -0
  153. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +3 -0
  154. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.stories.js +21 -0
  155. package/dist/collection/components/stzh-datatable/stzh-datatable.css +3 -0
  156. package/dist/collection/components/stzh-datepicker/stzh-datepicker.css +3 -0
  157. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +1 -1
  158. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js.map +1 -1
  159. package/dist/collection/components/stzh-daterange/stzh-daterange.css +3 -0
  160. package/dist/collection/components/stzh-details/stzh-details.css +3 -0
  161. package/dist/collection/components/stzh-dialog/stzh-dialog.css +3 -0
  162. package/dist/collection/components/stzh-disturber/stzh-disturber.css +3 -0
  163. package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +7 -0
  164. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +1 -1
  165. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js.map +1 -1
  166. package/dist/collection/components/stzh-editor/stzh-editor.css +3 -0
  167. package/dist/collection/components/stzh-eventdata/stzh-eventdata.css +3 -0
  168. package/dist/collection/components/stzh-eventinfo/stzh-eventinfo.css +3 -0
  169. package/dist/collection/components/stzh-fieldset/stzh-fieldset.css +3 -0
  170. package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +1 -1
  171. package/dist/collection/components/stzh-figure/stzh-figure.css +3 -0
  172. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.css +3 -0
  173. package/dist/collection/components/stzh-footer/stzh-footer.css +3 -0
  174. package/dist/collection/components/stzh-footer/stzh-footer.stories.js +17 -5
  175. package/dist/collection/components/stzh-gallery/stzh-gallery.css +3 -11
  176. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +3 -0
  177. package/dist/collection/components/stzh-header/stzh-header.css +34 -14
  178. package/dist/collection/components/stzh-header/stzh-header.js +246 -167
  179. package/dist/collection/components/stzh-header/stzh-header.js.map +1 -1
  180. package/dist/collection/components/stzh-header/stzh-header.stories.js +176 -120
  181. package/dist/collection/components/stzh-heading/stzh-heading.css +36 -0
  182. package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
  183. package/dist/collection/components/stzh-homepage-service-highlights/stzh-homepage-service-highlights.css +387 -0
  184. package/dist/collection/components/stzh-homepage-service-highlights/stzh-homepage-service-highlights.e2e.js +23 -0
  185. package/dist/collection/components/stzh-homepage-service-highlights/stzh-homepage-service-highlights.e2e.js.map +1 -0
  186. package/dist/collection/components/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js +159 -0
  187. package/dist/collection/components/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js.map +1 -0
  188. package/dist/collection/components/stzh-homepage-service-highlights/stzh-homepage-service-highlights.stories.js +100 -0
  189. package/dist/collection/components/stzh-hr/stzh-hr.css +3 -0
  190. package/dist/collection/components/stzh-hspace/stzh-hspace.css +12 -0
  191. package/dist/collection/components/stzh-icon/stzh-icon.css +3 -0
  192. package/dist/collection/components/stzh-iframe/stzh-iframe.css +3 -0
  193. package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.css +3 -0
  194. package/dist/collection/components/stzh-input/stzh-input.css +10 -0
  195. package/dist/collection/components/stzh-input/stzh-input.js +29 -44
  196. package/dist/collection/components/stzh-input/stzh-input.js.map +1 -1
  197. package/dist/collection/components/stzh-invert/stzh-invert.css +3 -0
  198. package/dist/collection/components/stzh-link/stzh-link.css +3 -0
  199. package/dist/collection/components/stzh-list/stzh-list.css +3 -0
  200. package/dist/collection/components/stzh-list-item/stzh-list-item.css +3 -0
  201. package/dist/collection/components/stzh-loader/stzh-loader.css +3 -0
  202. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.css +3 -0
  203. package/dist/collection/components/stzh-menu/stzh-menu.css +3 -0
  204. package/dist/collection/components/stzh-menu-item/stzh-menu-item.css +3 -0
  205. package/dist/collection/components/stzh-message/stzh-message.css +7 -19
  206. package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.css +3 -0
  207. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.css +3 -0
  208. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.js +1 -1
  209. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.js.map +1 -1
  210. package/dist/collection/components/stzh-olmap/stzh-olmap.css +3 -0
  211. package/dist/collection/components/stzh-overlay/stzh-overlay.css +3 -0
  212. package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.css +3 -0
  213. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.css +3 -0
  214. package/dist/collection/components/stzh-pagecontent/stzh-pagecontent.css +3 -0
  215. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +8 -0
  216. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js +34 -15
  217. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js.map +1 -1
  218. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.stories.js +29 -10
  219. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +3 -0
  220. package/dist/collection/components/stzh-pagetitle-home/stzh-pagetitle-home.css +461 -0
  221. package/dist/collection/components/stzh-pagetitle-home/stzh-pagetitle-home.e2e.js +23 -0
  222. package/dist/collection/components/stzh-pagetitle-home/stzh-pagetitle-home.e2e.js.map +1 -0
  223. package/dist/collection/components/stzh-pagetitle-home/stzh-pagetitle-home.js +86 -0
  224. package/dist/collection/components/stzh-pagetitle-home/stzh-pagetitle-home.js.map +1 -0
  225. package/dist/collection/components/stzh-pagetitle-home/stzh-pagetitle-home.stories.js +99 -0
  226. package/dist/collection/components/stzh-pagination/stzh-pagination.css +3 -0
  227. package/dist/collection/components/stzh-panorama/stzh-panorama.css +54 -63
  228. package/dist/collection/components/stzh-panorama/stzh-panorama.js +106 -26
  229. package/dist/collection/components/stzh-panorama/stzh-panorama.js.map +1 -1
  230. package/dist/collection/components/stzh-panorama/stzh-panorama.localization.js.map +1 -1
  231. package/dist/collection/components/stzh-panorama/stzh-panorama.stories.js +40 -36
  232. package/dist/collection/components/stzh-pi-content-navigation/stzh-pi-content-navigation.css +443 -0
  233. package/dist/collection/components/stzh-pi-content-navigation/stzh-pi-content-navigation.e2e.js +16 -0
  234. package/dist/collection/components/stzh-pi-content-navigation/stzh-pi-content-navigation.e2e.js.map +1 -0
  235. package/dist/collection/components/stzh-pi-content-navigation/stzh-pi-content-navigation.js +218 -0
  236. package/dist/collection/components/stzh-pi-content-navigation/stzh-pi-content-navigation.js.map +1 -0
  237. package/dist/collection/components/stzh-pi-content-navigation/stzh-pi-content-navigation.stories.js +62 -0
  238. package/dist/collection/components/stzh-pi-menu/stzh-pi-menu.css +503 -0
  239. package/dist/collection/components/stzh-pi-menu/stzh-pi-menu.e2e.js +16 -0
  240. package/dist/collection/components/stzh-pi-menu/stzh-pi-menu.e2e.js.map +1 -0
  241. package/dist/collection/components/stzh-pi-menu/stzh-pi-menu.js +527 -0
  242. package/dist/collection/components/stzh-pi-menu/stzh-pi-menu.js.map +1 -0
  243. package/dist/collection/components/stzh-pi-menu/stzh-pi-menu.localization.js +2 -0
  244. package/dist/collection/components/stzh-pi-menu/stzh-pi-menu.localization.js.map +1 -0
  245. package/dist/collection/components/stzh-pi-menu/stzh-pi-menu.stories.js +138 -0
  246. package/dist/collection/components/stzh-pi-pagetitle/stzh-pi-pagetitle.css +944 -0
  247. package/dist/collection/components/stzh-pi-pagetitle/stzh-pi-pagetitle.e2e.js +23 -0
  248. package/dist/collection/components/stzh-pi-pagetitle/stzh-pi-pagetitle.e2e.js.map +1 -0
  249. package/dist/collection/components/stzh-pi-pagetitle/stzh-pi-pagetitle.js +149 -0
  250. package/dist/collection/components/stzh-pi-pagetitle/stzh-pi-pagetitle.js.map +1 -0
  251. package/dist/collection/components/stzh-pi-pagetitle/stzh-pi-pagetitle.stories.js +184 -0
  252. package/dist/collection/components/stzh-pi-quote/stzh-pi-quote.css +301 -0
  253. package/dist/collection/components/stzh-pi-quote/stzh-pi-quote.e2e.js +16 -0
  254. package/dist/collection/components/stzh-pi-quote/stzh-pi-quote.e2e.js.map +1 -0
  255. package/dist/collection/components/stzh-pi-quote/stzh-pi-quote.js +48 -0
  256. package/dist/collection/components/stzh-pi-quote/stzh-pi-quote.js.map +1 -0
  257. package/dist/collection/components/stzh-pi-quote/stzh-pi-quote.stories.js +42 -0
  258. package/dist/collection/components/stzh-pi-teaser/stzh-pi-teaser.css +364 -0
  259. package/dist/collection/components/stzh-pi-teaser/stzh-pi-teaser.e2e.js +16 -0
  260. package/dist/collection/components/stzh-pi-teaser/stzh-pi-teaser.e2e.js.map +1 -0
  261. package/dist/collection/components/stzh-pi-teaser/stzh-pi-teaser.js +234 -0
  262. package/dist/collection/components/stzh-pi-teaser/stzh-pi-teaser.js.map +1 -0
  263. package/dist/collection/components/stzh-pi-teaser/stzh-pi-teaser.stories.js +66 -0
  264. package/dist/collection/components/stzh-popover/stzh-popover.css +3 -0
  265. package/dist/collection/components/stzh-print/stzh-print.css +3 -0
  266. package/dist/collection/components/stzh-progressbar/stzh-progressbar.css +3 -0
  267. package/dist/collection/components/stzh-progressbar/stzh-progressbar.js +20 -1
  268. package/dist/collection/components/stzh-progressbar/stzh-progressbar.js.map +1 -1
  269. package/dist/collection/components/stzh-progressbar/stzh-progressbar.stories.js +9 -0
  270. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.css +11 -2
  271. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js +24 -2
  272. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js.map +1 -1
  273. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.stories.js +16 -0
  274. package/dist/collection/components/stzh-radio/stzh-radio.css +3 -0
  275. package/dist/collection/components/stzh-radio/stzh-radio.js +20 -21
  276. package/dist/collection/components/stzh-radio/stzh-radio.js.map +1 -1
  277. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.css +3 -0
  278. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +14 -15
  279. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js.map +1 -1
  280. package/dist/collection/components/stzh-ratio/stzh-ratio.css +3 -0
  281. package/dist/collection/components/stzh-ratio/stzh-ratio.js +2 -2
  282. package/dist/collection/components/stzh-ratio/stzh-ratio.js.map +1 -1
  283. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.css +3 -0
  284. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +1 -0
  285. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js.map +1 -1
  286. package/dist/collection/components/stzh-richtext/stzh-richtext.css +3 -0
  287. package/dist/collection/components/stzh-row/stzh-row.css +3 -0
  288. package/dist/collection/components/stzh-saptcha/stzh-saptcha.css +3 -0
  289. package/dist/collection/components/stzh-scrollup/stzh-scrollup.css +3 -0
  290. package/dist/collection/components/stzh-search/stzh-search.css +137 -23
  291. package/dist/collection/components/stzh-search/stzh-search.js +132 -47
  292. package/dist/collection/components/stzh-search/stzh-search.js.map +1 -1
  293. package/dist/collection/components/stzh-search/stzh-search.stories.js +125 -26
  294. package/dist/collection/components/stzh-section/stzh-section.css +81 -9
  295. package/dist/collection/components/stzh-section/stzh-section.js +5 -5
  296. package/dist/collection/components/stzh-section/stzh-section.js.map +1 -1
  297. package/dist/collection/components/stzh-share/stzh-share.css +3 -0
  298. package/dist/collection/components/stzh-show/stzh-show.css +3 -0
  299. package/dist/collection/components/stzh-sitemap/stzh-sitemap.css +3 -0
  300. package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.css +587 -212
  301. package/dist/collection/components/stzh-skin-storybook-preview/stzh-skin-storybook-preview.css +3 -0
  302. package/dist/collection/components/stzh-skiplink/stzh-skiplink.css +3 -0
  303. package/dist/collection/components/stzh-sortable/stzh-sortable.css +3 -0
  304. package/dist/collection/components/stzh-space/stzh-space.css +12 -0
  305. package/dist/collection/components/stzh-status/stzh-status.css +3 -0
  306. package/dist/collection/components/stzh-sticky/stzh-sticky.css +3 -0
  307. package/dist/collection/components/stzh-sticky-actions/stzh-sticky-actions.css +3 -0
  308. package/dist/collection/components/stzh-table/stzh-table.css +3 -0
  309. package/dist/collection/components/stzh-tag/stzh-tag.css +3 -0
  310. package/dist/collection/components/stzh-text/stzh-text.css +135 -0
  311. package/dist/collection/components/stzh-text/stzh-text.js +1 -1
  312. package/dist/collection/components/stzh-textandimage/stzh-textandimage.css +71 -35
  313. package/dist/collection/components/stzh-textandimage/stzh-textandimage.js +28 -8
  314. package/dist/collection/components/stzh-textandimage/stzh-textandimage.js.map +1 -1
  315. package/dist/collection/components/stzh-textandimage/stzh-textandimage.stories.js +37 -22
  316. package/dist/collection/components/stzh-timeline/stzh-timeline.css +3 -0
  317. package/dist/collection/components/stzh-timeline-item/stzh-timeline-item.css +3 -0
  318. package/dist/collection/components/stzh-timepicker/stzh-timepicker.css +3 -0
  319. package/dist/collection/components/stzh-timepicker/stzh-timepicker.js +1 -1
  320. package/dist/collection/components/stzh-timepicker/stzh-timepicker.js.map +1 -1
  321. package/dist/collection/components/stzh-toast/stzh-toast.css +3 -0
  322. package/dist/collection/components/stzh-toastbar/stzh-toastbar.css +3 -0
  323. package/dist/collection/components/stzh-toggle/stzh-toggle.css +3 -0
  324. package/dist/collection/components/stzh-toggle/stzh-toggle.js +1 -1
  325. package/dist/collection/components/stzh-toggle/stzh-toggle.js.map +1 -1
  326. package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +9 -0
  327. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +56 -53
  328. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js.map +1 -1
  329. package/dist/collection/components/stzh-twocolumns/stzh-twocolumns.css +3 -0
  330. package/dist/collection/components/stzh-upload/stzh-upload.css +3 -0
  331. package/dist/collection/components/stzh-upload/stzh-upload.js +69 -35
  332. package/dist/collection/components/stzh-upload/stzh-upload.js.map +1 -1
  333. package/dist/collection/components/stzh-vbz-carousel/stzh-vbz-carousel.css +3 -0
  334. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.css +3 -0
  335. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.css +3 -0
  336. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +3 -0
  337. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.css +3 -0
  338. package/dist/collection/components/stzh-vspace/stzh-vspace.css +12 -0
  339. package/dist/collection/components/stzh-youtube/stzh-youtube.css +3 -0
  340. package/dist/collection/index.js +1 -1
  341. package/dist/collection/index.js.map +1 -1
  342. package/dist/collection/pages/home/home.e2e.js +16 -0
  343. package/dist/collection/pages/home/home.e2e.js.map +1 -0
  344. package/dist/collection/pages/publizistische-inhalte/publizistische-inhalte.e2e.js +16 -0
  345. package/dist/collection/pages/publizistische-inhalte/publizistische-inhalte.e2e.js.map +1 -0
  346. package/dist/components/index.js +1 -1
  347. package/dist/components/index2.js.map +1 -1
  348. package/dist/components/stzh-accordion2.js +27 -20
  349. package/dist/components/stzh-accordion2.js.map +1 -1
  350. package/dist/components/stzh-amount.js.map +1 -1
  351. package/dist/components/stzh-card-searchresult.js +5 -18
  352. package/dist/components/stzh-card-searchresult.js.map +1 -1
  353. package/dist/components/stzh-cardlist2.js +5 -7
  354. package/dist/components/stzh-cardlist2.js.map +1 -1
  355. package/dist/components/stzh-checkbox.js.map +1 -1
  356. package/dist/components/stzh-checkboxgroup.js.map +1 -1
  357. package/dist/components/stzh-chipgroup.js +1 -31
  358. package/dist/components/stzh-chipgroup.js.map +1 -1
  359. package/dist/{esm/stzh-chipgroup.entry.js → components/stzh-chipgroup2.js} +23 -9
  360. package/dist/components/stzh-chipgroup2.js.map +1 -0
  361. package/dist/components/stzh-chipselect2.js +2 -2
  362. package/dist/components/stzh-chipselect2.js.map +1 -1
  363. package/dist/components/stzh-contact.js +43 -38
  364. package/dist/components/stzh-contact.js.map +1 -1
  365. package/dist/components/stzh-container.js +1 -1
  366. package/dist/components/stzh-container.js.map +1 -1
  367. package/dist/components/stzh-content.js +1 -1
  368. package/dist/components/stzh-content.js.map +1 -1
  369. package/dist/components/stzh-cspace.js +1 -1
  370. package/dist/components/stzh-cspace.js.map +1 -1
  371. package/dist/components/stzh-datalist-item2.js +1 -1
  372. package/dist/components/stzh-datalist-item2.js.map +1 -1
  373. package/dist/components/stzh-datatable.js +22 -16
  374. package/dist/components/stzh-datatable.js.map +1 -1
  375. package/dist/components/stzh-datepicker2.js.map +1 -1
  376. package/dist/components/stzh-dropdown2.js +1 -1
  377. package/dist/components/stzh-dropdown2.js.map +1 -1
  378. package/dist/components/stzh-gallery.js +1 -1
  379. package/dist/components/stzh-gallery.js.map +1 -1
  380. package/dist/components/stzh-header.js +179 -167
  381. package/dist/components/stzh-header.js.map +1 -1
  382. package/dist/components/stzh-heading2.js +1 -1
  383. package/dist/components/stzh-heading2.js.map +1 -1
  384. package/dist/components/stzh-homepage-service-highlights.d.ts +11 -0
  385. package/dist/components/stzh-homepage-service-highlights.js +151 -0
  386. package/dist/components/stzh-homepage-service-highlights.js.map +1 -0
  387. package/dist/components/stzh-hspace2.js +1 -1
  388. package/dist/components/stzh-hspace2.js.map +1 -1
  389. package/dist/components/stzh-input2.js +29 -44
  390. package/dist/components/stzh-input2.js.map +1 -1
  391. package/dist/components/stzh-message2.js +1 -1
  392. package/dist/components/stzh-message2.js.map +1 -1
  393. package/dist/components/stzh-monthyearpicker.js.map +1 -1
  394. package/dist/components/stzh-pagetitle-home.d.ts +11 -0
  395. package/dist/components/stzh-pagetitle-home.js +96 -0
  396. package/dist/components/stzh-pagetitle-home.js.map +1 -0
  397. package/dist/components/stzh-pagetitle.js +17 -15
  398. package/dist/components/stzh-pagetitle.js.map +1 -1
  399. package/dist/components/stzh-panorama.js +71 -36
  400. package/dist/components/stzh-panorama.js.map +1 -1
  401. package/dist/components/stzh-pi-content-navigation.d.ts +11 -0
  402. package/dist/components/stzh-pi-content-navigation.js +96 -0
  403. package/dist/components/stzh-pi-content-navigation.js.map +1 -0
  404. package/dist/components/stzh-pi-menu.d.ts +11 -0
  405. package/dist/components/stzh-pi-menu.js +239 -0
  406. package/dist/components/stzh-pi-menu.js.map +1 -0
  407. package/dist/components/stzh-pi-pagetitle.d.ts +11 -0
  408. package/dist/components/stzh-pi-pagetitle.js +107 -0
  409. package/dist/components/stzh-pi-pagetitle.js.map +1 -0
  410. package/dist/components/stzh-pi-quote.d.ts +11 -0
  411. package/dist/components/stzh-pi-quote.js +41 -0
  412. package/dist/components/stzh-pi-quote.js.map +1 -0
  413. package/dist/components/stzh-pi-teaser.d.ts +11 -0
  414. package/dist/components/stzh-pi-teaser.js +89 -0
  415. package/dist/components/stzh-pi-teaser.js.map +1 -0
  416. package/dist/components/stzh-progressbar-item2.js +8 -3
  417. package/dist/components/stzh-progressbar-item2.js.map +1 -1
  418. package/dist/components/stzh-progressbar.js +3 -1
  419. package/dist/components/stzh-progressbar.js.map +1 -1
  420. package/dist/components/stzh-radio2.js +18 -19
  421. package/dist/components/stzh-radio2.js.map +1 -1
  422. package/dist/components/stzh-radiogroup2.js +13 -14
  423. package/dist/components/stzh-radiogroup2.js.map +1 -1
  424. package/dist/components/stzh-ratio2.js +1 -1
  425. package/dist/components/stzh-ratio2.js.map +1 -1
  426. package/dist/components/stzh-readspeaker.js +1 -0
  427. package/dist/components/stzh-readspeaker.js.map +1 -1
  428. package/dist/components/stzh-search.js +126 -61
  429. package/dist/components/stzh-search.js.map +1 -1
  430. package/dist/components/stzh-section.js +3 -3
  431. package/dist/components/stzh-section.js.map +1 -1
  432. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  433. package/dist/components/stzh-skin-portal-mitwirken.js.map +1 -1
  434. package/dist/components/stzh-space.js +1 -1
  435. package/dist/components/stzh-space.js.map +1 -1
  436. package/dist/components/stzh-text2.js +1 -1
  437. package/dist/components/stzh-text2.js.map +1 -1
  438. package/dist/components/stzh-textandimage.js +12 -9
  439. package/dist/components/stzh-textandimage.js.map +1 -1
  440. package/dist/components/stzh-timepicker.js.map +1 -1
  441. package/dist/components/stzh-toggle.js.map +1 -1
  442. package/dist/components/stzh-tooltip2.js +37 -51
  443. package/dist/components/stzh-tooltip2.js.map +1 -1
  444. package/dist/components/stzh-upload.js +65 -31
  445. package/dist/components/stzh-upload.js.map +1 -1
  446. package/dist/components/stzh-vspace.js +1 -1
  447. package/dist/components/stzh-vspace.js.map +1 -1
  448. package/dist/esm/{app-globals-f9c4987b.js → app-globals-ab5b077d.js} +2 -2
  449. package/dist/esm/{app-globals-f9c4987b.js.map → app-globals-ab5b077d.js.map} +1 -1
  450. package/dist/esm/index-e3050b18.js +46 -18
  451. package/dist/esm/index.js.map +1 -1
  452. package/dist/esm/loader.js +2 -2
  453. package/dist/esm/stzh-accordion_3.entry.js +19 -19
  454. package/dist/esm/stzh-accordion_3.entry.js.map +1 -1
  455. package/dist/esm/stzh-amount.entry.js.map +1 -1
  456. package/dist/esm/stzh-card-searchresult.entry.js +5 -18
  457. package/dist/esm/stzh-card-searchresult.entry.js.map +1 -1
  458. package/dist/esm/{stzh-card_3.entry.js → stzh-card_2.entry.js} +7 -222
  459. package/dist/esm/stzh-card_2.entry.js.map +1 -0
  460. package/dist/esm/stzh-checkbox.entry.js.map +1 -1
  461. package/dist/esm/stzh-checkboxgroup.entry.js.map +1 -1
  462. package/dist/esm/{stzh-message.entry.js → stzh-chipgroup_2.entry.js} +20 -4
  463. package/dist/esm/stzh-chipgroup_2.entry.js.map +1 -0
  464. package/dist/esm/stzh-chipselect.entry.js +218 -0
  465. package/dist/esm/stzh-chipselect.entry.js.map +1 -0
  466. package/dist/esm/stzh-components.js +2 -2
  467. package/dist/esm/stzh-contact.entry.js +40 -37
  468. package/dist/esm/stzh-contact.entry.js.map +1 -1
  469. package/dist/esm/stzh-container.entry.js +1 -1
  470. package/dist/esm/stzh-container.entry.js.map +1 -1
  471. package/dist/esm/stzh-content.entry.js +1 -1
  472. package/dist/esm/stzh-content.entry.js.map +1 -1
  473. package/dist/esm/stzh-cspace.entry.js +1 -1
  474. package/dist/esm/stzh-cspace.entry.js.map +1 -1
  475. package/dist/esm/stzh-datalist_2.entry.js +1 -1
  476. package/dist/esm/stzh-datalist_2.entry.js.map +1 -1
  477. package/dist/esm/stzh-datepicker_3.entry.js +31 -33
  478. package/dist/esm/stzh-datepicker_3.entry.js.map +1 -1
  479. package/dist/esm/stzh-dropdown.entry.js +1 -1
  480. package/dist/esm/stzh-dropdown.entry.js.map +1 -1
  481. package/dist/esm/stzh-gallery.entry.js +1 -1
  482. package/dist/esm/stzh-gallery.entry.js.map +1 -1
  483. package/dist/esm/stzh-header.entry.js +175 -166
  484. package/dist/esm/stzh-header.entry.js.map +1 -1
  485. package/dist/esm/stzh-heading.entry.js +1 -1
  486. package/dist/esm/stzh-heading.entry.js.map +1 -1
  487. package/dist/esm/stzh-homepage-service-highlights.entry.js +98 -0
  488. package/dist/esm/stzh-homepage-service-highlights.entry.js.map +1 -0
  489. package/dist/esm/stzh-hspace.entry.js +1 -1
  490. package/dist/esm/stzh-hspace.entry.js.map +1 -1
  491. package/dist/esm/stzh-input.entry.js +29 -44
  492. package/dist/esm/stzh-input.entry.js.map +1 -1
  493. package/dist/esm/stzh-monthyearpicker.entry.js.map +1 -1
  494. package/dist/esm/stzh-pagetitle-home.entry.js +72 -0
  495. package/dist/esm/stzh-pagetitle-home.entry.js.map +1 -0
  496. package/dist/esm/stzh-pagetitle.entry.js +16 -15
  497. package/dist/esm/stzh-pagetitle.entry.js.map +1 -1
  498. package/dist/esm/stzh-panorama.entry.js +52 -26
  499. package/dist/esm/stzh-panorama.entry.js.map +1 -1
  500. package/dist/esm/stzh-pi-content-navigation.entry.js +60 -0
  501. package/dist/esm/stzh-pi-content-navigation.entry.js.map +1 -0
  502. package/dist/esm/stzh-pi-menu.entry.js +198 -0
  503. package/dist/esm/stzh-pi-menu.entry.js.map +1 -0
  504. package/dist/esm/stzh-pi-pagetitle.entry.js +79 -0
  505. package/dist/esm/stzh-pi-pagetitle.entry.js.map +1 -0
  506. package/dist/esm/stzh-pi-quote.entry.js +22 -0
  507. package/dist/esm/stzh-pi-quote.entry.js.map +1 -0
  508. package/dist/esm/stzh-pi-teaser.entry.js +58 -0
  509. package/dist/esm/stzh-pi-teaser.entry.js.map +1 -0
  510. package/dist/esm/stzh-popover_2.entry.js +1 -1
  511. package/dist/esm/stzh-popover_2.entry.js.map +1 -1
  512. package/dist/esm/stzh-progressbar-item.entry.js +7 -3
  513. package/dist/esm/stzh-progressbar-item.entry.js.map +1 -1
  514. package/dist/esm/stzh-progressbar.entry.js +2 -1
  515. package/dist/esm/stzh-progressbar.entry.js.map +1 -1
  516. package/dist/esm/stzh-ratio.entry.js +1 -1
  517. package/dist/esm/stzh-ratio.entry.js.map +1 -1
  518. package/dist/esm/stzh-readspeaker.entry.js +1 -0
  519. package/dist/esm/stzh-readspeaker.entry.js.map +1 -1
  520. package/dist/esm/stzh-search.entry.js +70 -45
  521. package/dist/esm/stzh-search.entry.js.map +1 -1
  522. package/dist/esm/stzh-section.entry.js +3 -3
  523. package/dist/esm/stzh-section.entry.js.map +1 -1
  524. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  525. package/dist/esm/stzh-skin-portal-mitwirken.entry.js.map +1 -1
  526. package/dist/esm/stzh-space.entry.js +1 -1
  527. package/dist/esm/stzh-space.entry.js.map +1 -1
  528. package/dist/esm/stzh-textandimage.entry.js +10 -8
  529. package/dist/esm/stzh-textandimage.entry.js.map +1 -1
  530. package/dist/esm/stzh-timepicker.entry.js.map +1 -1
  531. package/dist/esm/stzh-toggle.entry.js.map +1 -1
  532. package/dist/esm/stzh-tooltip.entry.js +36 -51
  533. package/dist/esm/stzh-tooltip.entry.js.map +1 -1
  534. package/dist/esm/stzh-upload.entry.js +65 -31
  535. package/dist/esm/stzh-upload.entry.js.map +1 -1
  536. package/dist/esm/stzh-vspace.entry.js +1 -1
  537. package/dist/esm/stzh-vspace.entry.js.map +1 -1
  538. package/dist/stzh-components/assets/i18n/de.json +36 -3
  539. package/dist/stzh-components/assets/i18n/en.json +36 -3
  540. package/dist/stzh-components/index.esm.js.map +1 -1
  541. package/dist/stzh-components/p-012dc71e.entry.js +2 -0
  542. package/dist/stzh-components/{p-91b360c9.entry.js.map → p-012dc71e.entry.js.map} +1 -1
  543. package/dist/stzh-components/p-0b381244.entry.js +2 -0
  544. package/dist/stzh-components/{p-8b608a1b.entry.js.map → p-0b381244.entry.js.map} +1 -1
  545. package/dist/stzh-components/p-0c67b73d.entry.js +2 -0
  546. package/dist/stzh-components/p-0c67b73d.entry.js.map +1 -0
  547. package/dist/stzh-components/p-0fb40e48.entry.js.map +1 -1
  548. package/dist/stzh-components/p-1bc9a18d.entry.js +2 -0
  549. package/dist/stzh-components/{p-ca76966e.entry.js.map → p-1bc9a18d.entry.js.map} +1 -1
  550. package/dist/stzh-components/p-1f0e8499.entry.js +2 -0
  551. package/dist/stzh-components/p-1f0e8499.entry.js.map +1 -0
  552. package/dist/stzh-components/{p-744c2183.entry.js → p-204a6e41.entry.js} +2 -2
  553. package/dist/stzh-components/p-204a6e41.entry.js.map +1 -0
  554. package/dist/stzh-components/p-2096f3c6.entry.js.map +1 -1
  555. package/dist/stzh-components/{p-faec0661.entry.js → p-2ba166dd.entry.js} +2 -2
  556. package/dist/stzh-components/p-2ba166dd.entry.js.map +1 -0
  557. package/dist/stzh-components/{p-dff1ce7c.entry.js → p-37fbb5f0.entry.js} +2 -2
  558. package/dist/stzh-components/{p-dff1ce7c.entry.js.map → p-37fbb5f0.entry.js.map} +1 -1
  559. package/dist/stzh-components/p-4f49450d.entry.js +2 -0
  560. package/dist/stzh-components/p-4f49450d.entry.js.map +1 -0
  561. package/dist/stzh-components/p-52a914cd.entry.js +2 -0
  562. package/dist/stzh-components/p-52a914cd.entry.js.map +1 -0
  563. package/dist/stzh-components/p-56346206.entry.js +2 -0
  564. package/dist/stzh-components/p-56346206.entry.js.map +1 -0
  565. package/dist/stzh-components/p-59a1a257.entry.js +2 -0
  566. package/dist/stzh-components/p-59a1a257.entry.js.map +1 -0
  567. package/dist/stzh-components/p-5c3fddec.entry.js +2 -0
  568. package/dist/stzh-components/p-5c3fddec.entry.js.map +1 -0
  569. package/dist/stzh-components/p-673f842d.entry.js +2 -0
  570. package/dist/stzh-components/p-673f842d.entry.js.map +1 -0
  571. package/dist/stzh-components/p-6c2289da.entry.js.map +1 -1
  572. package/dist/stzh-components/p-722b9e40.entry.js.map +1 -1
  573. package/dist/stzh-components/{p-af87b81a.entry.js → p-75b79adf.entry.js} +2 -2
  574. package/dist/stzh-components/p-75b79adf.entry.js.map +1 -0
  575. package/dist/stzh-components/p-771d370d.entry.js +2 -0
  576. package/dist/stzh-components/p-771d370d.entry.js.map +1 -0
  577. package/dist/stzh-components/p-77ba1f21.entry.js +2 -0
  578. package/dist/stzh-components/p-77ba1f21.entry.js.map +1 -0
  579. package/dist/stzh-components/p-78a16599.entry.js +2 -0
  580. package/dist/stzh-components/p-78a16599.entry.js.map +1 -0
  581. package/dist/stzh-components/p-7aac960b.entry.js.map +1 -1
  582. package/dist/stzh-components/p-7ca981d1.entry.js +2 -0
  583. package/dist/stzh-components/p-7ca981d1.entry.js.map +1 -0
  584. package/dist/stzh-components/p-7d030c40.entry.js +2 -0
  585. package/dist/stzh-components/p-7d030c40.entry.js.map +1 -0
  586. package/dist/stzh-components/{p-b22876e5.entry.js → p-7efbb643.entry.js} +2 -2
  587. package/dist/stzh-components/p-7efbb643.entry.js.map +1 -0
  588. package/dist/stzh-components/p-801af922.entry.js +2 -0
  589. package/dist/stzh-components/p-801af922.entry.js.map +1 -0
  590. package/dist/stzh-components/p-8503fb10.entry.js +2 -0
  591. package/dist/stzh-components/{p-75045ebb.entry.js.map → p-8503fb10.entry.js.map} +1 -1
  592. package/dist/stzh-components/{p-663f31a2.entry.js → p-909f7fc0.entry.js} +2 -2
  593. package/dist/stzh-components/p-909f7fc0.entry.js.map +1 -0
  594. package/dist/stzh-components/p-969a4f9a.entry.js.map +1 -1
  595. package/dist/stzh-components/{p-5b1bc446.entry.js → p-991309dd.entry.js} +2 -2
  596. package/dist/stzh-components/{p-5b1bc446.entry.js.map → p-991309dd.entry.js.map} +1 -1
  597. package/dist/stzh-components/{p-56826f33.entry.js → p-af7855ff.entry.js} +2 -2
  598. package/dist/stzh-components/p-af7855ff.entry.js.map +1 -0
  599. package/dist/stzh-components/p-afde3fcd.entry.js +2 -0
  600. package/dist/stzh-components/p-afde3fcd.entry.js.map +1 -0
  601. package/dist/stzh-components/p-b41d255f.entry.js +2 -0
  602. package/dist/stzh-components/p-b41d255f.entry.js.map +1 -0
  603. package/dist/stzh-components/{p-af7562ba.entry.js → p-b566a2c0.entry.js} +2 -2
  604. package/dist/stzh-components/p-b566a2c0.entry.js.map +1 -0
  605. package/dist/stzh-components/p-b870c799.entry.js +2 -0
  606. package/dist/stzh-components/p-b870c799.entry.js.map +1 -0
  607. package/dist/stzh-components/p-bb1cacbc.entry.js +2 -0
  608. package/dist/stzh-components/p-bb1cacbc.entry.js.map +1 -0
  609. package/dist/stzh-components/{p-c31b1590.entry.js → p-c1cd45e1.entry.js} +5 -5
  610. package/dist/stzh-components/{p-c31b1590.entry.js.map → p-c1cd45e1.entry.js.map} +1 -1
  611. package/dist/stzh-components/p-c877d32c.entry.js +2 -0
  612. package/dist/stzh-components/{p-6f87ad6e.entry.js.map → p-c877d32c.entry.js.map} +1 -1
  613. package/dist/stzh-components/p-c8ead7fc.entry.js +2 -0
  614. package/dist/stzh-components/{p-f7979f2a.entry.js.map → p-c8ead7fc.entry.js.map} +1 -1
  615. package/dist/stzh-components/{p-f06b2737.js → p-cc1f8acc.js} +2 -2
  616. package/dist/stzh-components/p-cca366c2.entry.js.map +1 -1
  617. package/dist/stzh-components/p-cf856610.entry.js +2 -0
  618. package/dist/stzh-components/p-cf856610.entry.js.map +1 -0
  619. package/dist/stzh-components/{p-2773b08f.entry.js → p-d10a6897.entry.js} +2 -2
  620. package/dist/stzh-components/p-d10a6897.entry.js.map +1 -0
  621. package/dist/stzh-components/{p-929c5234.entry.js → p-d11565a5.entry.js} +3 -3
  622. package/dist/stzh-components/{p-929c5234.entry.js.map → p-d11565a5.entry.js.map} +1 -1
  623. package/dist/stzh-components/p-edf77853.entry.js +2 -0
  624. package/dist/stzh-components/p-edf77853.entry.js.map +1 -0
  625. package/dist/stzh-components/stzh-components.css +1663 -1
  626. package/dist/stzh-components/stzh-components.esm.js +1 -1
  627. package/dist/stzh-components/stzh-components.esm.js.map +1 -1
  628. package/dist/types/components/stzh-accordion/stzh-accordion.d.ts +3 -1
  629. package/dist/types/components/stzh-amount/stzh-amount.d.ts +1 -1
  630. package/dist/types/components/stzh-cardlist/stzh-cardlist.d.ts +2 -2
  631. package/dist/types/components/stzh-checkbox/stzh-checkbox.d.ts +1 -1
  632. package/dist/types/components/stzh-checkboxgroup/stzh-checkboxgroup.d.ts +1 -1
  633. package/dist/types/components/stzh-chipselect/stzh-chipselect.d.ts +1 -1
  634. package/dist/types/components/stzh-contact/stzh-contact.d.ts +7 -3
  635. package/dist/types/components/stzh-datepicker/stzh-datepicker.d.ts +1 -1
  636. package/dist/types/components/stzh-dropdown/stzh-dropdown.d.ts +1 -1
  637. package/dist/types/components/stzh-header/stzh-header.d.ts +15 -2
  638. package/dist/types/components/stzh-homepage-service-highlights/stzh-homepage-service-highlights.d.ts +17 -0
  639. package/dist/types/components/stzh-input/stzh-input.d.ts +1 -1
  640. package/dist/types/components/stzh-monthyearpicker/stzh-monthyearpicker.d.ts +1 -1
  641. package/dist/types/components/stzh-pagetitle/stzh-pagetitle.d.ts +3 -1
  642. package/dist/types/components/stzh-pagetitle-home/stzh-pagetitle-home.d.ts +16 -0
  643. package/dist/types/components/stzh-panorama/stzh-panorama.d.ts +7 -1
  644. package/dist/types/components/stzh-panorama/stzh-panorama.localization.d.ts +1 -0
  645. package/dist/types/components/stzh-pi-content-navigation/stzh-pi-content-navigation.d.ts +36 -0
  646. package/dist/types/components/stzh-pi-menu/stzh-pi-menu.d.ts +62 -0
  647. package/dist/types/components/stzh-pi-menu/stzh-pi-menu.localization.d.ts +4 -0
  648. package/dist/types/components/stzh-pi-pagetitle/stzh-pi-pagetitle.d.ts +20 -0
  649. package/dist/types/components/stzh-pi-quote/stzh-pi-quote.d.ts +5 -0
  650. package/dist/types/components/stzh-pi-teaser/stzh-pi-teaser.d.ts +38 -0
  651. package/dist/types/components/stzh-progressbar/stzh-progressbar.d.ts +4 -0
  652. package/dist/types/components/stzh-progressbar-item/stzh-progressbar-item.d.ts +4 -0
  653. package/dist/types/components/stzh-radio/stzh-radio.d.ts +2 -2
  654. package/dist/types/components/stzh-radiogroup/stzh-radiogroup.d.ts +1 -1
  655. package/dist/types/components/stzh-search/stzh-search.d.ts +11 -1
  656. package/dist/types/components/stzh-section/stzh-section.d.ts +1 -1
  657. package/dist/types/components/stzh-textandimage/stzh-textandimage.d.ts +2 -0
  658. package/dist/types/components/stzh-timepicker/stzh-timepicker.d.ts +1 -1
  659. package/dist/types/components/stzh-toggle/stzh-toggle.d.ts +1 -1
  660. package/dist/types/components/stzh-tooltip/stzh-tooltip.d.ts +3 -1
  661. package/dist/types/components/stzh-upload/stzh-upload.d.ts +2 -2
  662. package/dist/types/components.d.ts +523 -42
  663. package/dist/types/index.d.ts +92 -22
  664. package/dist/vscode-data.json +326 -11
  665. package/package.json +2 -2
  666. package/dist/cjs/stzh-card_3.cjs.entry.js.map +0 -1
  667. package/dist/cjs/stzh-chipgroup.cjs.entry.js +0 -25
  668. package/dist/cjs/stzh-chipgroup.cjs.entry.js.map +0 -1
  669. package/dist/cjs/stzh-message.cjs.entry.js.map +0 -1
  670. package/dist/esm/stzh-card_3.entry.js.map +0 -1
  671. package/dist/esm/stzh-chipgroup.entry.js.map +0 -1
  672. package/dist/esm/stzh-message.entry.js.map +0 -1
  673. package/dist/stzh-components/p-150f4514.entry.js +0 -2
  674. package/dist/stzh-components/p-150f4514.entry.js.map +0 -1
  675. package/dist/stzh-components/p-1a19bc6e.entry.js +0 -2
  676. package/dist/stzh-components/p-1a19bc6e.entry.js.map +0 -1
  677. package/dist/stzh-components/p-1a3dcde3.entry.js +0 -2
  678. package/dist/stzh-components/p-1a3dcde3.entry.js.map +0 -1
  679. package/dist/stzh-components/p-2773b08f.entry.js.map +0 -1
  680. package/dist/stzh-components/p-3b31f90d.entry.js +0 -2
  681. package/dist/stzh-components/p-3b31f90d.entry.js.map +0 -1
  682. package/dist/stzh-components/p-54e73927.entry.js +0 -2
  683. package/dist/stzh-components/p-54e73927.entry.js.map +0 -1
  684. package/dist/stzh-components/p-56826f33.entry.js.map +0 -1
  685. package/dist/stzh-components/p-663f31a2.entry.js.map +0 -1
  686. package/dist/stzh-components/p-6f87ad6e.entry.js +0 -2
  687. package/dist/stzh-components/p-744c2183.entry.js.map +0 -1
  688. package/dist/stzh-components/p-75045ebb.entry.js +0 -2
  689. package/dist/stzh-components/p-8b608a1b.entry.js +0 -2
  690. package/dist/stzh-components/p-8f19c3ec.entry.js +0 -2
  691. package/dist/stzh-components/p-8f19c3ec.entry.js.map +0 -1
  692. package/dist/stzh-components/p-91b360c9.entry.js +0 -2
  693. package/dist/stzh-components/p-9b19785c.entry.js +0 -2
  694. package/dist/stzh-components/p-9b19785c.entry.js.map +0 -1
  695. package/dist/stzh-components/p-af7562ba.entry.js.map +0 -1
  696. package/dist/stzh-components/p-af87b81a.entry.js.map +0 -1
  697. package/dist/stzh-components/p-b22876e5.entry.js.map +0 -1
  698. package/dist/stzh-components/p-b2920d7f.entry.js +0 -2
  699. package/dist/stzh-components/p-b2920d7f.entry.js.map +0 -1
  700. package/dist/stzh-components/p-ca76966e.entry.js +0 -2
  701. package/dist/stzh-components/p-d6a4fe56.entry.js +0 -2
  702. package/dist/stzh-components/p-d6a4fe56.entry.js.map +0 -1
  703. package/dist/stzh-components/p-ea423877.entry.js +0 -2
  704. package/dist/stzh-components/p-ea423877.entry.js.map +0 -1
  705. package/dist/stzh-components/p-ef849bb1.entry.js +0 -2
  706. package/dist/stzh-components/p-ef849bb1.entry.js.map +0 -1
  707. package/dist/stzh-components/p-f5809e5f.entry.js +0 -2
  708. package/dist/stzh-components/p-f5809e5f.entry.js.map +0 -1
  709. package/dist/stzh-components/p-f692c5d0.entry.js +0 -2
  710. package/dist/stzh-components/p-f692c5d0.entry.js.map +0 -1
  711. package/dist/stzh-components/p-f7979f2a.entry.js +0 -2
  712. package/dist/stzh-components/p-faec0661.entry.js.map +0 -1
  713. /package/dist/stzh-components/{p-f06b2737.js.map → p-cc1f8acc.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"stzh-upload.js","sourceRoot":"","sources":["../../../../src/components/stzh-upload/stzh-upload.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,IAAI,EACJ,CAAC,EACD,OAAO,EACP,IAAI,EACJ,MAAM,EACN,KAAK,EACL,KAAK,EAEL,MAAM,GACP,MAAM,eAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Host,\n h,\n Element,\n Prop,\n Method,\n Watch,\n Event,\n EventEmitter,\n Listen,\n} from \"@stencil/core\";\n\nimport {\n StzhUploadFilesItem,\n StzhUploadFile,\n StzhUploadFileAddedEvent,\n StzhUploadFilesAddedEvent,\n StzhUploadFileRemoveEvent,\n StzhUploadFileRemovedEvent,\n StzhUploadSendingEvent,\n StzhUploadSendingMultipleEvent,\n StzhUploadProcessingEvent,\n StzhUploadProcessingMultipleEvent,\n StzhUploadProgressEvent,\n StzhUploadProgressTotalEvent,\n StzhUploadErrorEvent,\n StzhUploadErrorMultipleEvent,\n StzhUploadSuccessEvent,\n StzhUploadSuccessMultipleEvent,\n StzhUploadCanceledEvent,\n StzhUploadCanceledMultipleEvent,\n StzhUploadCompleteEvent,\n StzhUploadCompleteMultipleEvent\n} from \"../../index\";\n\nimport { hasSlot, isStzhElement } from \"../../utils/utils\";\nimport { tc } from \"../../utils/translation-utils\";\nimport { StzhUploadLocalizedText } from './stzh-upload.localization';\nimport { StzhInputDescription } from \"../stzh-input/stzh-input-description\";\n\nimport \"../../libraries/dropzone/dropzone\";\nwindow.Dropzone.autoDiscover = false;\n\nconst ATTR_NAME = \"data-dz-name\";\nconst ATTR_TYPE = \"data-dz-type\";\nconst ATTR_SIZE = \"data-dz-size\";\nconst ATTR_LINK = \"data-dz-link\";\nconst ATTR_EXTENSION = \"data-dz-extension\";\nconst ATTR_META_ID = \"data-dz-meta-id\";\nconst ATTR_ERROR_MESSAGE_ID = \"data-dz-error-message-id\";\nconst ATTR_PROGRESS_TEXT = \"data-dz-progress-text\";\nconst ATTR_REMOVE = \"data-dz-remove\";\n\nlet uploadCounter = 0;\nlet previewCounter = 0;\n\n// Most properties taken over from:\n// https://github.com/dropzone/dropzone/blob/v5.9.3/src/options.js\n\n// Possible events to listen to:\n// https://github.com/dropzone/dropzone/blob/v5.9.3/src/dropzone.js#L17\n\n/**\n * @slot error - Slot for error\n */\n@Component({\n tag: \"stzh-upload\",\n styleUrl: \"stzh-upload.scss\"\n})\nexport class StzhUpload {\n /**\n * Initially pre existing files (e.g. already uploaded by the user).\n * Array of objects that must at least include `name` and `size` attribute:\n * `[{\"name\":\"file1.txt\", \"size\": 12345}, {\"name\":\"file2.txt\", \"size\": 12345}]`\n */\n @Prop() existingFiles: StzhUploadFilesItem[] | string = [];\n private _existingFiles: StzhUploadFilesItem[] = [];\n\n /** Name of hidden input field */\n @Prop() name: string = \"\";\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Instructions heading */\n @Prop() heading: string = \"\";\n\n /** Instructions description */\n @Prop() description: string = \"\";\n\n /** Button text */\n @Prop() button: string = \"\";\n\n /**\n * URL the files are processed to.\n *\n * You can also provide a function that will be called with `files` and\n * `dataBlocks` and must return the url as string.\n */\n @Prop() url: string | Function = \"\";\n\n /**\n * Can be changed to `\"put\"` if necessary. You can also provide a function\n * that will be called with `files` and must return the method.\n */\n @Prop() method: \"post\" | \"put\" | Function = \"post\";\n\n /**\n * Will be set on the XHRequest.\n */\n @Prop() withCredentials: boolean = false;\n\n /**\n * Whether the upload is disabled or not.\n */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /**\n * Whether the upload is marked as invalid.\n */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Whether download functionality should be disabled. */\n @Prop() downloadDisabled: boolean = false;\n\n /** Whether download functionality should only be shown to completed files. */\n @Prop() downloadDisabledWhileProcessing: boolean = false;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n private _error: string[];\n\n /**\n * The default implementation of `accept` checks the file's mime type or\n * extension against this list. This is a comma separated list of mime\n * types or file extensions.\n *\n * Eg.: `image/*,application/pdf,.psd`\n *\n * This option will also be used as\n * [`accept`](https://developer.mozilla.org/en-US/docs/HTML/Element/input#attr-accept)\n * parameter on the hidden file input as well.\n */\n @Prop() acceptedFiles: string | null = null;\n\n /**\n * If false, files will be added to the queue but the queue will not be\n * processed automatically.\n * This can be useful if you need some additional user input before sending\n * files (or if you want want all files sent at once).\n * If you're ready to send the file simply call `element.processQueue()`.\n */\n @Prop() autoProcessQueue: boolean = true;\n\n /**\n * Hide progress (bars and text).\n */\n @Prop() hideProgress: boolean = false;\n\n /**\n * Hide progress (bars) only while idle (will show them as soon as upload starts).\n * Can be used together with `autoProcessQueue`, e.g. if files are uploaded at form submit to prevent showing empty progressbar.\n */\n @Prop() hideProgressWhileIdle: boolean = false;\n\n /**\n * If not `null` defines how many files this dropzone handles. If it exceeds,\n * the event `stzhMaxfilesexceeded` will be called.\n */\n @Prop() maxFiles: number | null = null;\n\n /**\n * The maximum filesize (in MiB) that is allowed to be uploaded.\n */\n @Prop() maxFilesize: number = 25;\n\n /**\n * How many file uploads to process in parallel.\n */\n @Prop() parallelUploads: number = 2;\n\n /**\n * Whether to send multiple files in one request. If\n * this it set to true, then the fallback file input element will\n * have the `multiple` attribute as well. This option will\n * also trigger additional events (like `stzhSuccessMultiple`). See the events\n * documentation section for more information.\n */\n @Prop() uploadMultiple: boolean = false;\n\n /**\n * Whether you want files to be uploaded in chunks to your server. This can't be\n * used in combination with `uploadMultiple`.\n *\n * See `chunksUploaded` prop for the callback to finalise an upload.\n */\n @Prop() chunking: boolean = false;\n\n /**\n * If `chunking` is enabled, this defines whether **every** file should be chunked,\n * even if the file size is below chunkSize. This means, that the additional chunk\n * form data will be submitted and the `chunksUploaded` callback will be invoked.\n */\n @Prop() forceChunking: boolean = false;\n\n /**\n * If `chunking` is `true`, then this defines the chunk size in bytes.\n */\n @Prop() chunkSize: number = 2 * 1024 * 1024;\n\n /**\n * If `true`, the individual chunks of a file are being uploaded simultaneously.\n */\n @Prop() parallelChunkUploads: boolean = false;\n\n /**\n * Whether a chunk should be retried if it fails.\n */\n @Prop() retryChunks: boolean = false;\n\n /**\n * If `retryChunks` is true, how many times should it be retried.\n */\n @Prop() retryChunksLimit: number = 3;\n\n /**\n * The base that is used to calculate the **displayed** filesize. You can\n * change this to 1024 if you would rather display kibibytes, mebibytes,\n * etc... 1024 is technically incorrect, because `1024 bytes` are `1 kibibyte`\n * not `1 kilobyte`. You can change this to `1024` if you don't care about\n * validity.\n */\n @Prop() filesizeBase: number = 1024;\n\n /**\n * An optional object to send additional headers to the server. Eg:\n * `{ \"My-Awesome-Header\": \"header value\" }`\n *\n * Can also be set as function returning the headers object dynamically.\n */\n @Prop() headers: object\n | ((Dropzone: any) => { [key: string]: string })\n | null\n = null;\n\n /**\n * Should the default headers be set or not?\n * Accept: application/json <- for requesting json response\n * Cache-Control: no-cache <- Request shouldnt be cached\n * X-Requested-With: XMLHttpRequest <- We sent the request via XMLHttpRequest\n */\n @Prop() defaultHeaders: boolean = true;\n\n /**\n * A function that gets a [file](https://developer.mozilla.org/en-US/docs/DOM/File)\n * and a `done` function as parameters.\n *\n * If the done function is invoked without arguments, the file is \"accepted\" and will\n * be processed. If you pass an error message, the file is rejected, and the error\n * message will be displayed.\n * This function will not be called if the file is too big or doesn't match the mime types.\n */\n @Prop() accept: Function = function(_file, done) {\n return done();\n };\n\n /**\n * The callback that will be invoked when all chunks have been uploaded for a file.\n * It gets the file for which the chunks have been uploaded as the first parameter,\n * and the `done` function as second. `done()` needs to be invoked when everything\n * needed to finish the upload process is done.\n */\n @Prop() chunksUploaded: Function = function(_file, done) {\n done();\n };\n\n /**\n * This is the element the hidden input field (which is used when clicking on the\n * dropzone to trigger file selection) will be appended to. This might\n * be important in case you use frameworks to switch the content of your page.\n *\n * Can be a selector string, or an element directly. Will be rendered into element by default.\n */\n @Prop() hiddenInputContainer: string | HTMLElement;\n\n /**\n * Prevent clearing hidden input after adding a new file.\n * (use if you want to send the hidden input field with native form instead of ajax)\n */\n @Prop() preventHiddenInputClear: boolean = false;\n\n /** Translation strings. */\n @Prop() localization: StzhUploadLocalizedText;\n\n @Element() element: HTMLStzhUploadElement;\n\n @Listen(\"reset\", { target: \"document\" })\n resetListener(event: Event) {\n if ((event.target as HTMLElement).contains(this.element)) {\n requestAnimationFrame(() => {\n this.handleReset();\n });\n }\n }\n\n @Watch(\"name\")\n nameWatcher(newValue: string) {\n const input = this.hiddenInputContainerElement?.querySelector('input');\n\n if (input) {\n input.setAttribute(\"name\", newValue);\n }\n }\n\n @Watch(\"maxFiles\")\n maxFilesWatcher(newMaxFiles: number | null) {\n this.dropzone.options.maxFiles = newMaxFiles;\n }\n\n @Watch(\"maxFilesize\")\n maxFilesizeWatcher(newMaxFilesize: number) {\n this.dropzone.options.maxFilesize = newMaxFilesize;\n }\n\n @Watch(\"existingFiles\")\n existingFilesWatcher(newValue: StzhUploadFilesItem[] | string) {\n if (typeof newValue === \"string\") {\n this._existingFiles = JSON.parse(newValue);\n } else {\n this._existingFiles = newValue;\n }\n }\n\n @Watch(\"disabled\")\n disabledWatcher() {\n if (!this.dropzone) {\n return;\n }\n\n if (this.disabled) {\n this.dropzone.disable();\n } else {\n this.dropzone.enable();\n }\n }\n\n @Watch(\"error\")\n errorWatcher(newValue: string | string[]) {\n if (typeof newValue === \"string\") {\n try {\n this._error = JSON.parse(newValue);\n } catch (e) {\n if (newValue) {\n this._error = [newValue];\n } else {\n this._error = [];\n }\n }\n } else if (newValue) {\n this._error = newValue;\n } else {\n this._error = [];\n }\n }\n\n /** File added */\n @Event() stzhFileAdded: EventEmitter<StzhUploadFileAddedEvent>;\n\n /** Files added (multiple) */\n @Event() stzhFilesAdded: EventEmitter<StzhUploadFilesAddedEvent>;\n\n /** File remove (before, cancelable) */\n @Event() stzhFileRemove: EventEmitter<StzhUploadFileRemoveEvent>;\n\n /** File removed */\n @Event() stzhFileRemoved: EventEmitter<StzhUploadFileRemovedEvent>;\n\n /** Before sending file (add additional data before request if necessary) */\n @Event() stzhSending: EventEmitter<StzhUploadSendingEvent>;\n\n /** Before sending multiple files (add additional data before request if necessary) */\n @Event() stzhSendingMultiple: EventEmitter<StzhUploadSendingMultipleEvent>;\n\n /** Files starting to get processed */\n @Event() stzhProcessing: EventEmitter<StzhUploadProcessingEvent>;\n\n /** Files starting to get processed (multiple) */\n @Event() stzhProcessingMultiple: EventEmitter<StzhUploadProcessingMultipleEvent>;\n\n /** Upload file progress during upload */\n @Event() stzhProgress: EventEmitter<StzhUploadProgressEvent>;\n\n /** Upload total file progress during upload */\n @Event() stzhProgressTotal: EventEmitter<StzhUploadProgressTotalEvent>;\n\n /** File error */\n @Event() stzhError: EventEmitter<StzhUploadErrorEvent>;\n\n /** Files error (multiple files) */\n @Event() stzhErrorMultiple: EventEmitter<StzhUploadErrorMultipleEvent>;\n\n /** File successfully uploaded */\n @Event() stzhSuccess: EventEmitter<StzhUploadSuccessEvent>;\n\n /** Files successfully uploaded (multiple files) */\n @Event() stzhSuccessMultiple: EventEmitter<StzhUploadSuccessMultipleEvent>;\n\n /** Canceled file upload */\n @Event() stzhCanceled: EventEmitter<StzhUploadCanceledEvent>;\n\n /** Canceled file upload (multiple files) */\n @Event() stzhCanceledMultiple: EventEmitter<StzhUploadCanceledMultipleEvent>;\n\n /** Completed upload (successfully or with error) */\n @Event() stzhComplete: EventEmitter<StzhUploadCompleteEvent>;\n\n /** Completed upload (successfully or with error, multiple files) */\n @Event() stzhCompleteMultiple: EventEmitter<StzhUploadCompleteMultipleEvent>;\n\n @Method()\n async processQueue() {\n return this.dropzone.processQueue();\n }\n\n @Method()\n async removeFile(file, force = false) {\n return this.dropzone.removeFile(file, force);\n }\n\n @Method()\n async removeAllFiles(cancelIfNecessary = false, force = false) {\n return this.dropzone.removeAllFiles(cancelIfNecessary, force);\n }\n\n private dropzone: any;\n private dropzoneElement: HTMLElement;\n private linkElement: HTMLStzhLinkElement;\n private clickareaElement: HTMLElement;\n private previewsElement: HTMLElement;\n private errorsElement: HTMLElement;\n private hiddenInputContainerElement: HTMLElement;\n private uploadId: string;\n\n private handleReset = () => {\n this.removeAllFiles(true);\n }\n\n private filesize = function(size) {\n let selectedSize = 0;\n let selectedUnit = \"b\";\n\n if (size > 0) {\n let units = [\"tb\", \"gb\", \"mb\", \"kb\", \"b\"];\n\n for (let i = 0; i < units.length; i++) {\n let unit = units[i];\n let cutoff = Math.pow(this.options.filesizeBase, 4 - i) / 10;\n\n if (size >= cutoff) {\n selectedSize = size / Math.pow(this.options.filesizeBase, 4 - i);\n selectedUnit = unit;\n break;\n }\n }\n\n selectedSize = Math.round(selectedSize * 100) / 100; // Cutting of digits\n }\n\n return `<strong>${selectedSize}</strong> ${this.options.dictFileSizeUnits[selectedUnit]}`;\n }\n\n private filePreviewId = function(file): string {\n return `${this.uploadId}-${file._id}`\n }\n\n async componentWillLoad() {\n this.uploadId = `stzh-upload-${uploadCounter++}`;\n\n this.existingFilesWatcher(this.existingFiles);\n this.errorWatcher(this.error);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, 'upload');\n }\n }\n\n componentDidRender() {\n if (this.dropzone) {\n return;\n }\n\n const self = this;\n\n function enableDownload(file) {\n let fileHref = file.url || '';\n\n if (file.upload) {\n fileHref = URL.createObjectURL(file);\n }\n\n if (fileHref) {\n for (var node of file.previewElement.querySelectorAll(`[${ATTR_LINK}]`)) {\n node.setAttribute(\"href\", fileHref);\n node.setAttribute(\"download\", file.name);\n\n const isStzh = isStzhElement(node);\n const fileId = self.filePreviewId(file);\n\n node.setAttribute(isStzh ? \"analytics-id\" : \"s-object-id\", `${self.localization.downloadFile} ${file.name}`);\n node.setAttribute(isStzh ? \"a11y-label\" : \"aria-label\", `${self.localization.downloadFile} ${file.name}`);\n node.setAttribute(isStzh ? \"a11y-describedby\" : \"aria-describedby\", `${fileId}-error-message ${fileId}-meta`);\n }\n }\n }\n\n this.dropzone = new window.Dropzone(this.dropzoneElement, {\n previewsContainer: this.previewsElement,\n url: this.url,\n method: this.method,\n preventHiddenInputClear: this.preventHiddenInputClear,\n withCredentials: this.withCredentials,\n clickable: [this.clickareaElement],\n acceptedFiles: this.acceptedFiles,\n accept: this.accept,\n maxFiles: this.maxFiles,\n maxFilesize: this.maxFilesize,\n filesizeBase: this.filesizeBase,\n parallelUploads: this.parallelUploads,\n uploadMultiple: this.uploadMultiple,\n autoProcessQueue: this.autoProcessQueue,\n headers: this.headers,\n defaultHeaders: this.defaultHeaders,\n chunking: this.chunking,\n chunkSize: this.chunkSize,\n chunksUploaded: this.chunksUploaded,\n forceChunking: this.forceChunking,\n parallelChunkUploads: this.parallelChunkUploads,\n retryChunks: this.retryChunks,\n retryChunksLimit: this.retryChunksLimit,\n createImageThumbnails: false,\n hiddenInputContainer: this.hiddenInputContainer ? this.hiddenInputContainer : this.hiddenInputContainerElement,\n dictFileSizeUnits: { tb: \"TiB\", gb: \"GiB\", mb: \"MiB\", kb: \"KiB\", b: \"b\" },\n dictRemoveFileConfirmation: null,\n dictMaxFilesExceeded: this.localization.maxFilesExceeded,\n dictRemoveFile: this.localization.removeFile,\n dictDeleteFile: this.localization.deleteFile,\n dictCancelUploadConfirmation: this.localization.cancelUploadConfirmation,\n dictUploadCanceled: this.localization.uploadCanceled,\n dictCancelUpload: this.localization.cancelUpload,\n dictResponseError: this.localization.responseError,\n dictInvalidFileType: this.localization.invalidFileType,\n dictFileTooBig: this.localization.fileTooBig,\n // Called when a file is added to the queue\n // Receives `file`\n // Taken from https://github.com/dropzone/dropzone/blob/v5.9.3/src/options.js#L594\n addedfile(file) {\n file._id = previewCounter++;\n\n if (this.element === this.previewsContainer) {\n this.element.classList.add(\"dz-started\");\n }\n\n if (this.previewsContainer && !this.options.disablePreviews) {\n file.previewElement = window.Dropzone.createElement(\n this.options.previewTemplate.trim()\n );\n file.previewTemplate = file.previewElement; // Backwards compatibility\n this.previewsContainer.appendChild(file.previewElement);\n\n if (!file.size) {\n file.previewElement.classList.add(\"dz-empty\");\n }\n\n for (var node of file.previewElement.querySelectorAll(`[${ATTR_NAME}]`)) {\n node.textContent = file.name;\n }\n\n for (node of file.previewElement.querySelectorAll(`[${ATTR_SIZE}]`)) {\n node.innerHTML = self.filesize.call(this, file.size);\n }\n\n for (node of file.previewElement.querySelectorAll(`[${ATTR_META_ID}]`)) {\n node.setAttribute(\"id\", `${self.filePreviewId(file)}-meta`);\n }\n\n for (node of file.previewElement.querySelectorAll(`[${ATTR_ERROR_MESSAGE_ID}]`)) {\n node.setAttribute(\"id\", `${self.filePreviewId(file)}-error-message`);\n }\n\n if (this.options.addRemoveLinks) {\n file._removeLink = window.Dropzone.createElement(\n `<a class=\"dz-remove\" href=\"javascript:undefined;\" ${ATTR_REMOVE}>\n ${this.options.dictRemoveFile}\n </a>`\n );\n file.previewElement.appendChild(file._removeLink);\n }\n\n let removeFileEvent = (e) => {\n e.preventDefault();\n e.stopPropagation();\n if (file.status === window.Dropzone.UPLOADING) {\n return window.Dropzone.confirm(\n this.options.dictCancelUploadConfirmation,\n () => this.removeFile(file)\n );\n } else {\n if (this.options.dictRemoveFileConfirmation) {\n return window.Dropzone.confirm(\n this.options.dictRemoveFileConfirmation,\n () => this.removeFile(file)\n );\n } else {\n return this.removeFile(file);\n }\n }\n };\n\n for (let removeLink of file.previewElement.querySelectorAll(\n `[${ATTR_REMOVE}]`\n )) {\n removeLink.addEventListener(\"click\", removeFileEvent);\n\n const isStzh = isStzhElement(removeLink);\n const fileId = self.filePreviewId(file);\n\n removeLink.setAttribute(isStzh ? \"analytics-id\" : \"s-object-id\", `${this.options.dictRemoveFile}`);\n removeLink.setAttribute(isStzh ? \"a11y-label\" : \"aria-label\", `${this.options.dictRemoveFile} ${file.name}`);\n removeLink.setAttribute(isStzh ? \"a11y-describedby\" : \"aria-describedby\", `${fileId}-error-message ${fileId}-meta`);\n }\n\n if (!self.downloadDisabled && !self.downloadDisabledWhileProcessing) {\n enableDownload(file);\n }\n }\n },\n // When the upload is finished, either with success or an error.\n // Taken from https://github.com/dropzone/dropzone/blob/v5.9.3/src/options.js#L752\n complete(file) {\n for (let node of file.previewElement.querySelectorAll(`[${ATTR_REMOVE}]`)) {\n const hasErrorState = (file.status === \"error\");\n const removeOrDeleteLabel = hasErrorState ? this.options.dictRemoveFile : this.options.dictDeleteFile;\n const isStzh = isStzhElement(node);\n const fileId = self.filePreviewId(file);\n\n node.setAttribute(isStzh ? \"a11y-label\" : \"aria-label\", `${removeOrDeleteLabel} ${file.name}`);\n node.setAttribute(isStzh ? \"a11y-describedby\" : \"aria-describedby\", `${fileId}-error-message ${fileId}-meta`);\n }\n\n // move file uploads with errors to another element, so they are grouped together\n if (file.status === \"error\") {\n self.errorsElement.appendChild(file.previewElement);\n } else if (!self.downloadDisabled && self.downloadDisabledWhileProcessing) {\n enableDownload(file);\n }\n\n if (file._removeLink) {\n file._removeLink.innerHTML = this.options.dictRemoveFile;\n }\n\n if (file.previewElement) {\n return file.previewElement.classList.add(\"dz-complete\");\n }\n },\n // Called whenever a file is removed.\n // Taken fom https://github.com/dropzone/dropzone/blob/v5.9.3/src/options.js#L649\n removedfile(file) {\n if (file.previewElement != null && file.previewElement.parentNode != null) {\n file.previewElement.parentNode.removeChild(file.previewElement);\n }\n\n // set focus to upload\n self.linkElement.focus();\n\n return this._updateMaxFilesReachedClass();\n },\n error(file, message, xhr) {\n if (file.previewElement) {\n file.previewElement.classList.add(\"dz-error\");\n\n if (typeof message !== \"string\" && message.error) {\n message = message.error;\n } else if (xhr) {\n if (xhr.status === 401 || xhr.status === 403) {\n message = self.localization.accessError;\n } else if (xhr.status === 413) {\n message = self.localization.fileTooBigServer;\n } else if (xhr.status === 415) {\n message = self.localization.invalidFileType;\n } else if (xhr.status >= 500) {\n message = self.localization.serverError;\n } else {\n const defaultError = self.localization.responseError\n .replace(\"{{statusCode}}\", xhr.status);\n\n message = defaultError;\n }\n }\n\n for (let node of file.previewElement.querySelectorAll(\"[data-dz-errormessage]\")) {\n node.textContent = message;\n }\n }\n },\n previewTemplate: `\n <div class=\"stzh-upload__preview\">\n <div class=\"stzh-upload__image\">\n <img data-dz-thumbnail />\n </div>\n\n <div class=\"stzh-upload__details\">\n <div class=\"stzh-upload__info-wrapper\">\n <div class=\"stzh-upload__info-wrapper-processing\">\n <div class=\"stzh-upload__infos\">\n <div class=\"stzh-upload__subtitle\">\n <a class=\"stzh-upload__link\" ${ATTR_NAME} ${ATTR_LINK}></a>\n </div>\n <div class=\"stzh-upload__progress-text\">\n <span ${ATTR_PROGRESS_TEXT}></span>\n </div>\n </div>\n <div class=\"stzh-upload__meta\">\n <span class=\"stzh-upload__extension\" ${ATTR_EXTENSION}></span>\n <span class=\"stzh-upload__separator\"></span>\n <span class=\"stzh-upload__size\" ${ATTR_SIZE}></span>\n </div>\n <div class=\"stzh-upload__progress\">\n <span class=\"stzh-upload__progress-bar\" data-dz-uploadprogress></span>\n </div>\n </div>\n <div class=\"stzh-upload__info-wrapper-complete\">\n <div class=\"stzh-upload__title\">\n <a class=\"stzh-upload__link\" ${ATTR_NAME} ${ATTR_LINK}></a>\n </div>\n <div class=\"stzh-upload__meta\" ${ATTR_META_ID}>\n <span class=\"stzh-upload__extension\" ${ATTR_EXTENSION}></span>\n <span class=\"stzh-upload__separator\"></span>\n <span class=\"stzh-upload__size\" ${ATTR_SIZE}></span>\n </div>\n <div class=\"stzh-upload__error-message\" ${ATTR_ERROR_MESSAGE_ID}>\n <span data-dz-errormessage></span>\n </div>\n </div>\n </div>\n <div class=\"stzh-upload__actions\">\n <!-- <stzh-button variant=\"tertiary\" size=\"small\" icon-only icon=\"download\" class=\"stzh-upload__download\" ${ATTR_LINK}></stzh-button> -->\n <stzh-button variant=\"tertiary\" size=\"small\" icon-only class=\"stzh-upload__delete\" ${ATTR_REMOVE}>\n <stzh-icon slot=\"icon\" class=\"stzh-upload__delete-icon\" name=\"delete\"></stzh-icon>\n <stzh-icon slot=\"icon\" class=\"stzh-upload__delete-icon-error\" name=\"close\"></stzh-icon>\n </stzh-button>\n </div>\n </div>\n </div>\n `\n });\n\n this.nameWatcher(this.name);\n this.disabledWatcher();\n\n this.dropzone.on(\"addedfile\", (file: StzhUploadFile) => this.stzhFileAdded.emit({\n component: \"stzh-upload\", file\n }));\n\n this.dropzone.on(\"addedfiles\", (files: StzhUploadFile[]) => this.stzhFilesAdded.emit({\n component: \"stzh-upload\", files\n }));\n\n this.dropzone.on(\"removefile\", (file: StzhUploadFile) => this.stzhFileRemove.emit({\n component: \"stzh-upload\", file\n }).defaultPrevented === false);\n\n this.dropzone.on(\"removedfile\", (file: StzhUploadFile, force: boolean) => this.stzhFileRemoved.emit({\n component: \"stzh-upload\", file, force\n }));\n\n this.dropzone.on(\"sending\", (file: StzhUploadFile, xhr: XMLHttpRequest, formData: FormData) => this.stzhSending.emit({\n component: \"stzh-upload\", file, xhr, formData\n }));\n\n this.dropzone.on(\"sendingmultiple\", (files: StzhUploadFile[], xhr: XMLHttpRequest, formData: FormData) => this.stzhSendingMultiple.emit({\n component: \"stzh-upload\", files, xhr, formData\n }));\n\n this.dropzone.on(\"processing\", (file: StzhUploadFile) => this.stzhProcessing.emit({\n component: \"stzh-upload\", file\n }));\n\n this.dropzone.on(\"processingmultiple\", (files: StzhUploadFile[]) => this.stzhProcessingMultiple.emit({\n component: \"stzh-upload\", files\n }));\n\n this.dropzone.on(\"uploadprogress\", (file: StzhUploadFile, progress: number, bytesSent: number) => this.stzhProgress.emit({\n component: \"stzh-upload\", file, progress, bytesSent\n }));\n\n this.dropzone.on(\"totaluploadprogress\", (totalUploadProgress: number, totalBytes: number, totalBytesSent: number) => this.stzhProgressTotal.emit({\n component: \"stzh-upload\", totalUploadProgress, totalBytes, totalBytesSent\n }));\n\n this.dropzone.on(\"error\", (file: StzhUploadFile, message: string, xhr: XMLHttpRequest) => this.stzhError.emit({\n component: \"stzh-upload\", file, message, xhr\n }));\n\n this.dropzone.on(\"errormultiple\", (files: StzhUploadFile[], message: string, xhr: XMLHttpRequest) => this.stzhErrorMultiple.emit({\n component: \"stzh-upload\", files, message, xhr\n }));\n\n this.dropzone.on(\"success\", (file: StzhUploadFile, responseText: string, event: ProgressEvent) => this.stzhSuccess.emit({\n component: \"stzh-upload\", file, responseText, event\n }));\n\n this.dropzone.on(\"successmultiple\", (files: StzhUploadFile[], responseText: string, event: ProgressEvent) => this.stzhSuccessMultiple.emit({\n component: \"stzh-upload\", files, responseText, event\n }));\n\n this.dropzone.on(\"canceled\", (file: StzhUploadFile) => this.stzhCanceled.emit({\n component: \"stzh-upload\", file\n }));\n\n this.dropzone.on(\"canceledmultiple\", (files: StzhUploadFile[]) => this.stzhCanceledMultiple.emit({\n component: \"stzh-upload\", files\n }));\n\n this.dropzone.on(\"complete\", (file: StzhUploadFile) => this.stzhComplete.emit({\n component: \"stzh-upload\", file\n }));\n\n this.dropzone.on(\"completemultiple\", (files: StzhUploadFile[]) => this.stzhCompleteMultiple.emit({\n component: \"stzh-upload\", files\n }));\n\n this.dropzone.on(\"addedfile\", (file: StzhUploadFile) => {\n file.previewElement.querySelectorAll(`[${ATTR_NAME}]`).forEach((name: HTMLElement) => {\n name.setAttribute(\"title\", file.name);\n });\n\n file.previewElement.querySelectorAll(`[${ATTR_TYPE}]`).forEach((type: HTMLElement) => {\n type.innerText = file.type;\n });\n\n file.previewElement.querySelectorAll(`[${ATTR_EXTENSION}]`).forEach((extension: HTMLElement) => {\n extension.innerText = file.name.split(\".\").pop();\n })\n });\n\n this.dropzone.on(\"uploadprogress\", (file: StzhUploadFile, progress: number) => {\n file.previewElement.querySelectorAll(`[${ATTR_PROGRESS_TEXT}]`).forEach((progressText: HTMLElement) => {\n progressText.innerText = `${progress.toString()}%`;\n });\n });\n\n this._existingFiles.forEach((file) => {\n this.dropzone.displayExistingFile(file, null, null, null, null);\n });\n }\n\n disconnectedCallback() {\n if (this.dropzone) {\n this.dropzone.destroy();\n this.dropzone = null;\n }\n }\n\n render() {\n const errorUsed = hasSlot(this.element, 'error') || this._error?.length > 0;\n\n const classes = {\n \"stzh-upload\": true,\n \"stzh-upload--is-invalid\": this.invalid || errorUsed,\n \"stzh-upload--is-disabled\": this.disabled,\n \"stzh-upload--has-hidden-progress\": this.hideProgress,\n \"stzh-upload--has-hidden-progress-while-idle\": this.hideProgressWhileIdle,\n \"stzh-upload--has-error\": errorUsed,\n \"stzh-upload--has-instructions\": !!this.description || !!this.localization.description\n };\n\n return (\n <Host is-invalid={this.invalid || errorUsed}>\n <div\n class={classes}\n ref={(el) => (this.dropzoneElement = el as HTMLDivElement)}\n >\n <div ref={(el) => (this.hiddenInputContainerElement = el as HTMLElement)}></div>\n\n <div id={`${this.uploadId}-label`}>\n {this.label && <div class=\"stzh-upload__label\">{this.label}</div>}\n </div>\n\n <div\n class=\"stzh-upload__clickarea\"\n ref={(el) => (this.clickareaElement = el as HTMLDivElement)}\n >\n <div class=\"stzh-upload__heading-wrapper\">\n <div class=\"stzh-upload__heading-inner-wrapper\">\n <div class=\"stzh-upload__heading\">\n {this.heading ? this.heading : this.localization.heading}\n </div>\n <div class=\"stzh-upload__button-wrapper\">\n <span>{this.localization.buttonIntro}</span>\n <stzh-link\n class=\"stzh-upload__button\"\n ref={(el) => (this.linkElement = el as HTMLStzhLinkElement)}\n size=\"inherit\"\n variant=\"secondary\"\n a11yDescribedby={`${this.uploadId}-label ${this.uploadId}-instruction ${this.uploadId}-description`}\n disabled={this.disabled}\n a11yControls={`${this.uploadId}-previews`}\n >\n {this.button ? this.button : tc(this.localization.button, this.maxFiles)}\n </stzh-link>\n </div>\n </div>\n <stzh-icon class=\"stzh-upload__heading-icon\" name=\"upload\"></stzh-icon>\n </div>\n <div class=\"stzh-upload__instructions\" id={`${this.uploadId}-instruction`}>\n {this.description ? this.description : tc(this.localization.description, this.maxFiles)}\n </div>\n </div>\n\n <StzhInputDescription\n classPrefix=\"stzh-upload\"\n id={`${this.uploadId}-description`}\n error={this._error}\n />\n\n <div\n id={`${this.uploadId}-previews`}\n class=\"stzh-upload__previews-wrapper\"\n >\n <div class=\"stzh-upload__previews-inner-wrapper\">\n <div\n class=\"stzh-upload__errors\"\n ref={(el) => (this.errorsElement = el as HTMLElement)}\n ></div>\n <div\n class=\"stzh-upload__previews dropzone-previews\"\n ref={(el) => (this.previewsElement = el as HTMLElement)}\n ></div>\n </div>\n </div>\n\n </div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"stzh-upload.js","sourceRoot":"","sources":["../../../../src/components/stzh-upload/stzh-upload.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAyB9G,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,EAAE,EAAE,MAAM,+BAA+B,CAAC;AAEnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E,OAAO,mCAAmC,CAAC;AAE3C,MAAM,CAAC,QAAQ,CAAC,YAAY,GAAG,KAAK,CAAC;AAErC,MAAM,SAAS,GAAG,cAAc,CAAC;AACjC,MAAM,SAAS,GAAG,cAAc,CAAC;AACjC,MAAM,SAAS,GAAG,cAAc,CAAC;AACjC,MAAM,SAAS,GAAG,cAAc,CAAC;AACjC,MAAM,cAAc,GAAG,mBAAmB,CAAC;AAC3C,MAAM,YAAY,GAAG,iBAAiB,CAAC;AACvC,MAAM,qBAAqB,GAAG,0BAA0B,CAAC;AACzD,MAAM,kBAAkB,GAAG,uBAAuB,CAAC;AACnD,MAAM,WAAW,GAAG,gBAAgB,CAAC;AAErC,IAAI,aAAa,GAAG,CAAC,CAAC;AACtB,IAAI,cAAc,GAAG,CAAC,CAAC;AAEvB,mCAAmC;AACnC,kEAAkE;AAElE,gCAAgC;AAChC,uEAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Host, Listen, Method, Prop, Watch } from \"@stencil/core\";\n\nimport {\n StzhUploadCanceledEvent,\n StzhUploadCanceledMultipleEvent,\n StzhUploadCompleteEvent,\n StzhUploadCompleteMultipleEvent,\n StzhUploadErrorEvent,\n StzhUploadErrorMultipleEvent,\n StzhUploadFile,\n StzhUploadFileAddedEvent,\n StzhUploadFileRemovedEvent,\n StzhUploadFileRemoveEvent,\n StzhUploadFilesAddedEvent,\n StzhUploadFilesItem,\n StzhUploadProcessingEvent,\n StzhUploadProcessingMultipleEvent,\n StzhUploadProgressEvent,\n StzhUploadProgressTotalEvent,\n StzhUploadSendingEvent,\n StzhUploadSendingMultipleEvent,\n StzhUploadSuccessEvent,\n StzhUploadSuccessMultipleEvent,\n} from \"../../index\";\n\nimport { hasSlot, isStzhElement } from \"../../utils/utils\";\nimport { tc } from \"../../utils/translation-utils\";\nimport { StzhUploadLocalizedText } from \"./stzh-upload.localization\";\nimport { StzhInputDescription } from \"../stzh-input/stzh-input-description\";\n\nimport \"../../libraries/dropzone/dropzone\";\n\nwindow.Dropzone.autoDiscover = false;\n\nconst ATTR_NAME = \"data-dz-name\";\nconst ATTR_TYPE = \"data-dz-type\";\nconst ATTR_SIZE = \"data-dz-size\";\nconst ATTR_LINK = \"data-dz-link\";\nconst ATTR_EXTENSION = \"data-dz-extension\";\nconst ATTR_META_ID = \"data-dz-meta-id\";\nconst ATTR_ERROR_MESSAGE_ID = \"data-dz-error-message-id\";\nconst ATTR_PROGRESS_TEXT = \"data-dz-progress-text\";\nconst ATTR_REMOVE = \"data-dz-remove\";\n\nlet uploadCounter = 0;\nlet previewCounter = 0;\n\n// Most properties taken over from:\n// https://github.com/dropzone/dropzone/blob/v5.9.3/src/options.js\n\n// Possible events to listen to:\n// https://github.com/dropzone/dropzone/blob/v5.9.3/src/dropzone.js#L17\n\n/**\n * @slot error - Slot for error\n */\n@Component({\n tag: \"stzh-upload\",\n styleUrl: \"stzh-upload.scss\",\n})\nexport class StzhUpload {\n /**\n * Initially pre existing files (e.g. already uploaded by the user).\n * Array of objects that must at least include `name` and `size` attribute:\n * `[{\"name\":\"file1.txt\", \"size\": 12345}, {\"name\":\"file2.txt\", \"size\": 12345}]`\n */\n @Prop() existingFiles: StzhUploadFilesItem[] | string = [];\n private _existingFiles: StzhUploadFilesItem[] = [];\n\n /** Name of hidden input field */\n @Prop() name: string = \"\";\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Instructions heading */\n @Prop() heading: string = \"\";\n\n /** Instructions description */\n @Prop() description: string = \"\";\n\n /** Button text */\n @Prop() button: string = \"\";\n\n /**\n * URL the files are processed to.\n *\n * You can also provide a function that will be called with `files` and\n * `dataBlocks` and must return the url as string.\n */\n @Prop() url: string | Function = \"\";\n\n /**\n * Can be changed to `\"put\"` if necessary. You can also provide a function\n * that will be called with `files` and must return the method.\n */\n @Prop() method: \"post\" | \"put\" | Function = \"post\";\n\n /**\n * Will be set on the XHRequest.\n */\n @Prop() withCredentials: boolean = false;\n\n /**\n * Whether the upload is disabled or not.\n */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /**\n * Whether the upload is marked as invalid.\n */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Whether download functionality should be disabled. */\n @Prop() downloadDisabled: boolean = false;\n\n /** Whether download functionality should only be shown to completed files. */\n @Prop() downloadDisabledWhileProcessing: boolean = false;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n private _error: string[];\n\n /**\n * The default implementation of `accept` checks the file's mime type or\n * extension against this list. This is a comma separated list of mime\n * types or file extensions.\n *\n * Eg.: `image/*,application/pdf,.psd`\n *\n * This option will also be used as\n * [`accept`](https://developer.mozilla.org/en-US/docs/HTML/Element/input#attr-accept)\n * parameter on the hidden file input as well.\n */\n @Prop() acceptedFiles: string | null = null;\n\n /**\n * If false, files will be added to the queue but the queue will not be\n * processed automatically.\n * This can be useful if you need some additional user input before sending\n * files (or if you want want all files sent at once).\n * If you're ready to send the file simply call `element.processQueue()`.\n */\n @Prop() autoProcessQueue: boolean = true;\n\n /**\n * Hide progress (bars and text).\n */\n @Prop() hideProgress: boolean = false;\n\n /**\n * Hide progress (bars) only while idle (will show them as soon as upload starts).\n * Can be used together with `autoProcessQueue`, e.g. if files are uploaded at form submit to prevent showing empty progressbar.\n */\n @Prop() hideProgressWhileIdle: boolean = false;\n\n /**\n * If not `null` defines how many files this dropzone handles. If it exceeds,\n * the event `stzhMaxfilesexceeded` will be called.\n */\n @Prop() maxFiles: number | null = null;\n\n /**\n * The maximum filesize (in MiB) that is allowed to be uploaded.\n */\n @Prop() maxFilesize: number = 25;\n\n /**\n * How many file uploads to process in parallel.\n */\n @Prop() parallelUploads: number = 2;\n\n /**\n * Whether to send multiple files in one request. If\n * this it set to true, then the fallback file input element will\n * have the `multiple` attribute as well. This option will\n * also trigger additional events (like `stzhSuccessMultiple`). See the events\n * documentation section for more information.\n */\n @Prop() uploadMultiple: boolean = false;\n\n /**\n * Whether you want files to be uploaded in chunks to your server. This can't be\n * used in combination with `uploadMultiple`.\n *\n * See `chunksUploaded` prop for the callback to finalise an upload.\n */\n @Prop() chunking: boolean = false;\n\n /**\n * If `chunking` is enabled, this defines whether **every** file should be chunked,\n * even if the file size is below chunkSize. This means, that the additional chunk\n * form data will be submitted and the `chunksUploaded` callback will be invoked.\n */\n @Prop() forceChunking: boolean = false;\n\n /**\n * If `chunking` is `true`, then this defines the chunk size in bytes.\n */\n @Prop() chunkSize: number = 2 * 1024 * 1024;\n\n /**\n * If `true`, the individual chunks of a file are being uploaded simultaneously.\n */\n @Prop() parallelChunkUploads: boolean = false;\n\n /**\n * Whether a chunk should be retried if it fails.\n */\n @Prop() retryChunks: boolean = false;\n\n /**\n * If `retryChunks` is true, how many times should it be retried.\n */\n @Prop() retryChunksLimit: number = 3;\n\n /**\n * The base that is used to calculate the **displayed** filesize. You can\n * change this to 1024 if you would rather display kibibytes, mebibytes,\n * etc... 1024 is technically incorrect, because `1024 bytes` are `1 kibibyte`\n * not `1 kilobyte`. You can change this to `1024` if you don't care about\n * validity.\n */\n @Prop() filesizeBase: number = 1024;\n\n /**\n * An optional object to send additional headers to the server. Eg:\n * `{ \"My-Awesome-Header\": \"header value\" }`\n *\n * Can also be set as function returning the headers object dynamically.\n */\n @Prop() headers: object | ((Dropzone: any) => { [key: string]: string }) | null = null;\n\n /**\n * Should the default headers be set or not?\n * Accept: application/json <- for requesting json response\n * Cache-Control: no-cache <- Request shouldnt be cached\n * X-Requested-With: XMLHttpRequest <- We sent the request via XMLHttpRequest\n */\n @Prop() defaultHeaders: boolean = true;\n\n /**\n * A function that gets a [file](https://developer.mozilla.org/en-US/docs/DOM/File)\n * and a `done` function as parameters.\n *\n * If the done function is invoked without arguments, the file is \"accepted\" and will\n * be processed. If you pass an error message, the file is rejected, and the error\n * message will be displayed.\n * This function will not be called if the file is too big or doesn't match the mime types.\n */\n @Prop() accept: Function = function (_file, done) {\n return done();\n };\n\n /**\n * The callback that will be invoked when all chunks have been uploaded for a file.\n * It gets the file for which the chunks have been uploaded as the first parameter,\n * and the `done` function as second. `done()` needs to be invoked when everything\n * needed to finish the upload process is done.\n */\n @Prop() chunksUploaded: Function = function (_file, done) {\n done();\n };\n\n /**\n * This is the element the hidden input field (which is used when clicking on the\n * dropzone to trigger file selection) will be appended to. This might\n * be important in case you use frameworks to switch the content of your page.\n *\n * Can be a selector string, or an element directly. Will be rendered into element by default.\n */\n @Prop() hiddenInputContainer: string | HTMLElement;\n\n /**\n * Prevent clearing hidden input after adding a new file.\n * (use if you want to send the hidden input field with native form instead of ajax)\n */\n @Prop() preventHiddenInputClear: boolean = false;\n\n /** Translation strings. */\n @Prop() localization: StzhUploadLocalizedText;\n\n @Element() element: HTMLStzhUploadElement;\n\n @Listen(\"reset\", { target: \"document\" })\n resetListener(event: Event) {\n if ((event.target as HTMLElement).contains(this.element)) {\n requestAnimationFrame(() => {\n this.handleReset();\n });\n }\n }\n\n @Watch(\"name\")\n nameWatcher(newValue: string) {\n const input = this.hiddenInputContainerElement?.querySelector(\"input\");\n\n if (input) {\n input.setAttribute(\"name\", newValue);\n }\n }\n\n @Watch(\"maxFiles\")\n maxFilesWatcher(newMaxFiles: number | null) {\n this.dropzone.options.maxFiles = newMaxFiles;\n }\n\n @Watch(\"maxFilesize\")\n maxFilesizeWatcher(newMaxFilesize: number) {\n this.dropzone.options.maxFilesize = newMaxFilesize;\n }\n\n @Watch(\"existingFiles\")\n existingFilesWatcher(newValue: StzhUploadFilesItem[] | string) {\n if (typeof newValue === \"string\") {\n this._existingFiles = JSON.parse(newValue);\n } else {\n this._existingFiles = newValue;\n }\n }\n\n @Watch(\"disabled\")\n disabledWatcher() {\n if (!this.dropzone) {\n return;\n }\n\n if (this.disabled) {\n this.dropzone.disable();\n } else {\n this.dropzone.enable();\n }\n }\n\n @Watch(\"error\")\n errorWatcher(newValue: string | string[]) {\n if (typeof newValue === \"string\") {\n try {\n this._error = JSON.parse(newValue);\n } catch (e) {\n if (newValue) {\n this._error = [newValue];\n } else {\n this._error = [];\n }\n }\n } else if (newValue) {\n this._error = newValue;\n } else {\n this._error = [];\n }\n }\n\n /** File added */\n @Event() stzhFileAdded: EventEmitter<StzhUploadFileAddedEvent>;\n\n /** Files added (multiple) */\n @Event() stzhFilesAdded: EventEmitter<StzhUploadFilesAddedEvent>;\n\n /** File remove (before, cancelable) */\n @Event() stzhFileRemove: EventEmitter<StzhUploadFileRemoveEvent>;\n\n /** File removed */\n @Event() stzhFileRemoved: EventEmitter<StzhUploadFileRemovedEvent>;\n\n /** Before sending file (add additional data before request if necessary) */\n @Event() stzhSending: EventEmitter<StzhUploadSendingEvent>;\n\n /** Before sending multiple files (add additional data before request if necessary) */\n @Event() stzhSendingMultiple: EventEmitter<StzhUploadSendingMultipleEvent>;\n\n /** Files starting to get processed */\n @Event() stzhProcessing: EventEmitter<StzhUploadProcessingEvent>;\n\n /** Files starting to get processed (multiple) */\n @Event() stzhProcessingMultiple: EventEmitter<StzhUploadProcessingMultipleEvent>;\n\n /** Upload file progress during upload */\n @Event() stzhProgress: EventEmitter<StzhUploadProgressEvent>;\n\n /** Upload total file progress during upload */\n @Event() stzhProgressTotal: EventEmitter<StzhUploadProgressTotalEvent>;\n\n /** File error */\n @Event() stzhError: EventEmitter<StzhUploadErrorEvent>;\n\n /** Files error (multiple files) */\n @Event() stzhErrorMultiple: EventEmitter<StzhUploadErrorMultipleEvent>;\n\n /** File successfully uploaded */\n @Event() stzhSuccess: EventEmitter<StzhUploadSuccessEvent>;\n\n /** Files successfully uploaded (multiple files) */\n @Event() stzhSuccessMultiple: EventEmitter<StzhUploadSuccessMultipleEvent>;\n\n /** Canceled file upload */\n @Event() stzhCanceled: EventEmitter<StzhUploadCanceledEvent>;\n\n /** Canceled file upload (multiple files) */\n @Event() stzhCanceledMultiple: EventEmitter<StzhUploadCanceledMultipleEvent>;\n\n /** Completed upload (successfully or with error) */\n @Event() stzhComplete: EventEmitter<StzhUploadCompleteEvent>;\n\n /** Completed upload (successfully or with error, multiple files) */\n @Event() stzhCompleteMultiple: EventEmitter<StzhUploadCompleteMultipleEvent>;\n\n @Method()\n async processQueue() {\n return this.dropzone.processQueue();\n }\n\n @Method()\n async removeFile(file, force = false) {\n return this.dropzone.removeFile(file, force);\n }\n\n @Method()\n async removeAllFiles(cancelIfNecessary = false, force = false) {\n return this.dropzone.removeAllFiles(cancelIfNecessary, force);\n }\n\n private dropzone: any;\n private dropzoneElement: HTMLElement;\n private linkElement: HTMLStzhLinkElement;\n private clickareaElement: HTMLElement;\n private previewsElement: HTMLElement;\n private errorsElement: HTMLElement;\n private hiddenInputContainerElement: HTMLElement;\n private uploadId: string;\n\n private handleReset = () => {\n this.removeAllFiles(true);\n };\n\n private filesize = function (size) {\n let selectedSize = 0;\n let selectedUnit = \"b\";\n\n if (size > 0) {\n let units = [\"tb\", \"gb\", \"mb\", \"kb\", \"b\"];\n\n for (let i = 0; i < units.length; i++) {\n let unit = units[i];\n let cutoff = Math.pow(this.options.filesizeBase, 4 - i) / 10;\n\n if (size >= cutoff) {\n selectedSize = size / Math.pow(this.options.filesizeBase, 4 - i);\n selectedUnit = unit;\n break;\n }\n }\n\n selectedSize = Math.round(selectedSize * 100) / 100; // Cutting of digits\n }\n\n return `<strong>${selectedSize}</strong> ${this.options.dictFileSizeUnits[selectedUnit]}`;\n };\n\n private filePreviewId = function (file): string {\n return `${this.uploadId}-${file._id}`;\n };\n\n async componentWillLoad() {\n this.uploadId = `stzh-upload-${uploadCounter++}`;\n\n this.existingFilesWatcher(this.existingFiles);\n this.errorWatcher(this.error);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"upload\");\n }\n }\n\n componentDidRender() {\n if (this.dropzone) {\n return;\n }\n\n const self = this;\n\n function enableDownload(file) {\n let fileHref = file.url || \"\";\n\n if (file.upload) {\n fileHref = URL.createObjectURL(file);\n }\n\n if (fileHref) {\n for (var node of file.previewElement.querySelectorAll(`[${ATTR_LINK}]`)) {\n node.setAttribute(\"href\", fileHref);\n node.setAttribute(\"download\", file.name);\n\n const isStzh = isStzhElement(node);\n const fileId = self.filePreviewId(file);\n\n node.setAttribute(isStzh ? \"analytics-id\" : \"s-object-id\", `${self.localization.downloadFile} ${file.name}`);\n node.setAttribute(isStzh ? \"a11y-label\" : \"aria-label\", `${self.localization.downloadFile} ${file.name}`);\n node.setAttribute(isStzh ? \"a11y-describedby\" : \"aria-describedby\", `${fileId}-error-message ${fileId}-meta`);\n }\n }\n }\n\n this.dropzone = new window.Dropzone(this.dropzoneElement, {\n previewsContainer: this.previewsElement,\n url: this.url,\n method: this.method,\n preventHiddenInputClear: this.preventHiddenInputClear,\n withCredentials: this.withCredentials,\n clickable: [this.clickareaElement],\n acceptedFiles: this.acceptedFiles,\n accept: this.accept,\n maxFiles: this.maxFiles,\n maxFilesize: this.maxFilesize,\n filesizeBase: this.filesizeBase,\n parallelUploads: this.parallelUploads,\n uploadMultiple: this.uploadMultiple,\n autoProcessQueue: this.autoProcessQueue,\n headers: this.headers,\n defaultHeaders: this.defaultHeaders,\n chunking: this.chunking,\n chunkSize: this.chunkSize,\n chunksUploaded: this.chunksUploaded,\n forceChunking: this.forceChunking,\n parallelChunkUploads: this.parallelChunkUploads,\n retryChunks: this.retryChunks,\n retryChunksLimit: this.retryChunksLimit,\n createImageThumbnails: false,\n hiddenInputContainer: this.hiddenInputContainer ? this.hiddenInputContainer : this.hiddenInputContainerElement,\n dictFileSizeUnits: { tb: \"TiB\", gb: \"GiB\", mb: \"MiB\", kb: \"KiB\", b: \"b\" },\n dictRemoveFileConfirmation: null,\n dictMaxFilesExceeded: this.localization.maxFilesExceeded,\n dictRemoveFile: this.localization.removeFile,\n dictDeleteFile: this.localization.deleteFile,\n dictCancelUploadConfirmation: this.localization.cancelUploadConfirmation,\n dictUploadCanceled: this.localization.uploadCanceled,\n dictCancelUpload: this.localization.cancelUpload,\n dictResponseError: this.localization.responseError,\n dictInvalidFileType: this.localization.invalidFileType,\n dictFileTooBig: this.localization.fileTooBig,\n // Called when a file is added to the queue\n // Receives `file`\n // Taken from https://github.com/dropzone/dropzone/blob/v5.9.3/src/options.js#L594\n addedfile(file) {\n file._id = previewCounter++;\n\n if (this.element === this.previewsContainer) {\n this.element.classList.add(\"dz-started\");\n }\n\n if (this.previewsContainer && !this.options.disablePreviews) {\n file.previewElement = window.Dropzone.createElement(this.options.previewTemplate.trim());\n file.previewTemplate = file.previewElement; // Backwards compatibility\n this.previewsContainer.appendChild(file.previewElement);\n\n if (!file.size) {\n file.previewElement.classList.add(\"dz-empty\");\n }\n\n for (var node of file.previewElement.querySelectorAll(`[${ATTR_NAME}]`)) {\n node.textContent = file.name;\n }\n\n for (node of file.previewElement.querySelectorAll(`[${ATTR_SIZE}]`)) {\n node.innerHTML = self.filesize.call(this, file.size);\n }\n\n for (node of file.previewElement.querySelectorAll(`[${ATTR_META_ID}]`)) {\n node.setAttribute(\"id\", `${self.filePreviewId(file)}-meta`);\n }\n\n for (node of file.previewElement.querySelectorAll(`[${ATTR_ERROR_MESSAGE_ID}]`)) {\n node.setAttribute(\"id\", `${self.filePreviewId(file)}-error-message`);\n }\n\n if (this.options.addRemoveLinks) {\n file._removeLink = window.Dropzone.createElement(\n `<a class=\"dz-remove\" href=\"javascript:undefined;\" ${ATTR_REMOVE}>\n ${this.options.dictRemoveFile}\n </a>`\n );\n file.previewElement.appendChild(file._removeLink);\n }\n\n let removeFileEvent = e => {\n e.preventDefault();\n e.stopPropagation();\n if (file.status === window.Dropzone.UPLOADING) {\n return window.Dropzone.confirm(this.options.dictCancelUploadConfirmation, () => this.removeFile(file));\n } else {\n if (this.options.dictRemoveFileConfirmation) {\n return window.Dropzone.confirm(this.options.dictRemoveFileConfirmation, () => this.removeFile(file));\n } else {\n return this.removeFile(file);\n }\n }\n };\n\n for (let removeLink of file.previewElement.querySelectorAll(`[${ATTR_REMOVE}]`)) {\n removeLink.addEventListener(\"click\", removeFileEvent);\n\n const isStzh = isStzhElement(removeLink);\n const fileId = self.filePreviewId(file);\n\n removeLink.setAttribute(isStzh ? \"analytics-id\" : \"s-object-id\", `${this.options.dictRemoveFile}`);\n removeLink.setAttribute(\n isStzh ? \"a11y-label\" : \"aria-label\",\n `${this.options.dictRemoveFile} ${file.name}`\n );\n removeLink.setAttribute(\n isStzh ? \"a11y-describedby\" : \"aria-describedby\",\n `${fileId}-error-message ${fileId}-meta`\n );\n }\n\n if (!self.downloadDisabled && !self.downloadDisabledWhileProcessing) {\n enableDownload(file);\n }\n }\n },\n // When the upload is finished, either with success or an error.\n // Taken from https://github.com/dropzone/dropzone/blob/v5.9.3/src/options.js#L752\n complete(file) {\n for (let node of file.previewElement.querySelectorAll(`[${ATTR_REMOVE}]`)) {\n const hasErrorState = file.status === \"error\";\n const removeOrDeleteLabel = hasErrorState ? this.options.dictRemoveFile : this.options.dictDeleteFile;\n const isStzh = isStzhElement(node);\n const fileId = self.filePreviewId(file);\n\n node.setAttribute(isStzh ? \"a11y-label\" : \"aria-label\", `${removeOrDeleteLabel} ${file.name}`);\n node.setAttribute(isStzh ? \"a11y-describedby\" : \"aria-describedby\", `${fileId}-error-message ${fileId}-meta`);\n }\n\n // move file uploads with errors to another element, so they are grouped together\n if (file.status === \"error\") {\n self.errorsElement.appendChild(file.previewElement);\n } else if (!self.downloadDisabled && self.downloadDisabledWhileProcessing) {\n enableDownload(file);\n }\n\n if (file._removeLink) {\n file._removeLink.innerHTML = this.options.dictRemoveFile;\n }\n\n if (file.previewElement) {\n return file.previewElement.classList.add(\"dz-complete\");\n }\n },\n // Called whenever a file is removed.\n // Taken fom https://github.com/dropzone/dropzone/blob/v5.9.3/src/options.js#L649\n removedfile(file) {\n if (file.previewElement != null && file.previewElement.parentNode != null) {\n file.previewElement.parentNode.removeChild(file.previewElement);\n }\n\n // set focus to upload\n self.linkElement.focus();\n\n return this._updateMaxFilesReachedClass();\n },\n error(file, message, xhr) {\n if (file.previewElement) {\n file.previewElement.classList.add(\"dz-error\");\n\n if (typeof message !== \"string\" && message.error) {\n message = message.error;\n } else if (xhr) {\n if (xhr.status === 401 || xhr.status === 403) {\n message = self.localization.accessError;\n } else if (xhr.status === 413) {\n message = self.localization.fileTooBigServer;\n } else if (xhr.status === 415) {\n message = self.localization.invalidFileType;\n } else if (xhr.status >= 500) {\n message = self.localization.serverError;\n } else {\n const defaultError = self.localization.responseError.replace(\"{{statusCode}}\", xhr.status);\n\n message = defaultError;\n }\n }\n\n for (let node of file.previewElement.querySelectorAll(\"[data-dz-errormessage]\")) {\n node.textContent = message;\n }\n }\n },\n previewTemplate: `\n <div class=\"stzh-upload__preview\">\n <div class=\"stzh-upload__image\">\n <img data-dz-thumbnail />\n </div>\n\n <div class=\"stzh-upload__details\">\n <div class=\"stzh-upload__info-wrapper\">\n <div class=\"stzh-upload__info-wrapper-processing\">\n <div class=\"stzh-upload__infos\">\n <div class=\"stzh-upload__subtitle\">\n <a class=\"stzh-upload__link\" ${ATTR_NAME} ${ATTR_LINK}></a>\n </div>\n <div class=\"stzh-upload__progress-text\">\n <span ${ATTR_PROGRESS_TEXT}></span>\n </div>\n </div>\n <div class=\"stzh-upload__meta\">\n <span class=\"stzh-upload__extension\" ${ATTR_EXTENSION}></span>\n <span class=\"stzh-upload__separator\"></span>\n <span class=\"stzh-upload__size\" ${ATTR_SIZE}></span>\n </div>\n <div class=\"stzh-upload__progress\">\n <span class=\"stzh-upload__progress-bar\" data-dz-uploadprogress></span>\n </div>\n </div>\n <div class=\"stzh-upload__info-wrapper-complete\">\n <div class=\"stzh-upload__title\">\n <a class=\"stzh-upload__link\" ${ATTR_NAME} ${ATTR_LINK}></a>\n </div>\n <div class=\"stzh-upload__meta\" ${ATTR_META_ID}>\n <span class=\"stzh-upload__extension\" ${ATTR_EXTENSION}></span>\n <span class=\"stzh-upload__separator\"></span>\n <span class=\"stzh-upload__size\" ${ATTR_SIZE}></span>\n </div>\n <div class=\"stzh-upload__error-message\" ${ATTR_ERROR_MESSAGE_ID}>\n <span data-dz-errormessage></span>\n </div>\n </div>\n </div>\n <div class=\"stzh-upload__actions\">\n <!-- <stzh-button variant=\"tertiary\" size=\"small\" icon-only icon=\"download\" class=\"stzh-upload__download\" ${ATTR_LINK}></stzh-button> -->\n <stzh-button variant=\"tertiary\" size=\"small\" icon-only class=\"stzh-upload__delete\" ${ATTR_REMOVE}>\n <stzh-icon slot=\"icon\" class=\"stzh-upload__delete-icon\" name=\"delete\"></stzh-icon>\n <stzh-icon slot=\"icon\" class=\"stzh-upload__delete-icon-error\" name=\"close\"></stzh-icon>\n </stzh-button>\n </div>\n </div>\n </div>\n `,\n });\n\n this.nameWatcher(this.name);\n this.disabledWatcher();\n\n this.dropzone.on(\"addedfile\", (file: StzhUploadFile) =>\n this.stzhFileAdded.emit({\n component: \"stzh-upload\",\n file,\n })\n );\n\n this.dropzone.on(\"addedfiles\", (files: StzhUploadFile[]) =>\n this.stzhFilesAdded.emit({\n component: \"stzh-upload\",\n files,\n })\n );\n\n this.dropzone.on(\n \"removefile\",\n (file: StzhUploadFile) =>\n this.stzhFileRemove.emit({\n component: \"stzh-upload\",\n file,\n }).defaultPrevented === false\n );\n\n this.dropzone.on(\"removedfile\", (file: StzhUploadFile, force: boolean) =>\n this.stzhFileRemoved.emit({\n component: \"stzh-upload\",\n file,\n force,\n })\n );\n\n this.dropzone.on(\"sending\", (file: StzhUploadFile, xhr: XMLHttpRequest, formData: FormData) =>\n this.stzhSending.emit({\n component: \"stzh-upload\",\n file,\n xhr,\n formData,\n })\n );\n\n this.dropzone.on(\"sendingmultiple\", (files: StzhUploadFile[], xhr: XMLHttpRequest, formData: FormData) =>\n this.stzhSendingMultiple.emit({\n component: \"stzh-upload\",\n files,\n xhr,\n formData,\n })\n );\n\n this.dropzone.on(\"processing\", (file: StzhUploadFile) =>\n this.stzhProcessing.emit({\n component: \"stzh-upload\",\n file,\n })\n );\n\n this.dropzone.on(\"processingmultiple\", (files: StzhUploadFile[]) =>\n this.stzhProcessingMultiple.emit({\n component: \"stzh-upload\",\n files,\n })\n );\n\n this.dropzone.on(\"uploadprogress\", (file: StzhUploadFile, progress: number, bytesSent: number) =>\n this.stzhProgress.emit({\n component: \"stzh-upload\",\n file,\n progress,\n bytesSent,\n })\n );\n\n this.dropzone.on(\"totaluploadprogress\", (totalUploadProgress: number, totalBytes: number, totalBytesSent: number) =>\n this.stzhProgressTotal.emit({\n component: \"stzh-upload\",\n totalUploadProgress,\n totalBytes,\n totalBytesSent,\n })\n );\n\n this.dropzone.on(\"error\", (file: StzhUploadFile, message: string, xhr: XMLHttpRequest) =>\n this.stzhError.emit({\n component: \"stzh-upload\",\n file,\n message,\n xhr,\n })\n );\n\n this.dropzone.on(\"errormultiple\", (files: StzhUploadFile[], message: string, xhr: XMLHttpRequest) =>\n this.stzhErrorMultiple.emit({\n component: \"stzh-upload\",\n files,\n message,\n xhr,\n })\n );\n\n this.dropzone.on(\"success\", (file: StzhUploadFile, responseText: string, event: ProgressEvent) =>\n this.stzhSuccess.emit({\n component: \"stzh-upload\",\n file,\n responseText,\n event,\n })\n );\n\n this.dropzone.on(\"successmultiple\", (files: StzhUploadFile[], responseText: string, event: ProgressEvent) =>\n this.stzhSuccessMultiple.emit({\n component: \"stzh-upload\",\n files,\n responseText,\n event,\n })\n );\n\n this.dropzone.on(\"canceled\", (file: StzhUploadFile) =>\n this.stzhCanceled.emit({\n component: \"stzh-upload\",\n file,\n })\n );\n\n this.dropzone.on(\"canceledmultiple\", (files: StzhUploadFile[]) =>\n this.stzhCanceledMultiple.emit({\n component: \"stzh-upload\",\n files,\n })\n );\n\n this.dropzone.on(\"complete\", (file: StzhUploadFile) =>\n this.stzhComplete.emit({\n component: \"stzh-upload\",\n file,\n })\n );\n\n this.dropzone.on(\"completemultiple\", (files: StzhUploadFile[]) =>\n this.stzhCompleteMultiple.emit({\n component: \"stzh-upload\",\n files,\n })\n );\n\n this.dropzone.on(\"addedfile\", (file: StzhUploadFile) => {\n file.previewElement.querySelectorAll(`[${ATTR_NAME}]`).forEach((name: HTMLElement) => {\n name.setAttribute(\"title\", file.name);\n });\n\n file.previewElement.querySelectorAll(`[${ATTR_TYPE}]`).forEach((type: HTMLElement) => {\n type.innerText = file.type;\n });\n\n file.previewElement.querySelectorAll(`[${ATTR_EXTENSION}]`).forEach((extension: HTMLElement) => {\n extension.innerText = file.name.split(\".\").pop();\n });\n });\n\n this.dropzone.on(\"uploadprogress\", (file: StzhUploadFile, progress: number) => {\n file.previewElement.querySelectorAll(`[${ATTR_PROGRESS_TEXT}]`).forEach((progressText: HTMLElement) => {\n progressText.innerText = `${progress.toString()}%`;\n });\n });\n\n this._existingFiles.forEach(file => {\n this.dropzone.displayExistingFile(file, null, null, null, null);\n });\n }\n\n disconnectedCallback() {\n if (this.dropzone) {\n this.dropzone.destroy();\n this.dropzone = null;\n }\n }\n\n render() {\n const errorUsed = hasSlot(this.element, \"error\") || this._error?.length > 0;\n\n const classes = {\n \"stzh-upload\": true,\n \"stzh-upload--is-invalid\": this.invalid || errorUsed,\n \"stzh-upload--is-disabled\": this.disabled,\n \"stzh-upload--has-hidden-progress\": this.hideProgress,\n \"stzh-upload--has-hidden-progress-while-idle\": this.hideProgressWhileIdle,\n \"stzh-upload--has-error\": errorUsed,\n \"stzh-upload--has-instructions\": !!this.description || !!this.localization.description,\n };\n\n return (\n <Host is-invalid={this.invalid || errorUsed}>\n <div class={classes} ref={el => (this.dropzoneElement = el as HTMLDivElement)}>\n <div ref={el => (this.hiddenInputContainerElement = el as HTMLElement)}></div>\n\n <div id={`${this.uploadId}-label`}>{this.label && <div class=\"stzh-upload__label\">{this.label}</div>}</div>\n\n <div class=\"stzh-upload__clickarea\" ref={el => (this.clickareaElement = el as HTMLDivElement)}>\n <div class=\"stzh-upload__heading-wrapper\">\n <div class=\"stzh-upload__heading-inner-wrapper\">\n <div class=\"stzh-upload__heading\">{this.heading ? this.heading : this.localization.heading}</div>\n <div class=\"stzh-upload__button-wrapper\">\n <span>{this.localization.buttonIntro}</span>\n <stzh-link\n class=\"stzh-upload__button\"\n ref={el => (this.linkElement = el as HTMLStzhLinkElement)}\n size=\"inherit\"\n variant=\"secondary\"\n a11yDescribedby={`${this.uploadId}-label ${this.uploadId}-instruction ${this.uploadId}-description`}\n disabled={this.disabled}\n a11yControls={`${this.uploadId}-previews`}\n >\n {this.button ? this.button : tc(this.localization.button, this.maxFiles)}\n </stzh-link>\n </div>\n </div>\n <stzh-icon class=\"stzh-upload__heading-icon\" name=\"upload\"></stzh-icon>\n </div>\n <div class=\"stzh-upload__instructions\" id={`${this.uploadId}-instruction`}>\n {this.description ? this.description : tc(this.localization.description, this.maxFiles)}\n </div>\n </div>\n\n {this._error?.length > 0 && (\n <StzhInputDescription classPrefix=\"stzh-upload\" id={`${this.uploadId}-description`} error={this._error} />\n )}\n\n <div id={`${this.uploadId}-previews`} class=\"stzh-upload__previews-wrapper\">\n <div class=\"stzh-upload__previews-inner-wrapper\">\n <div class=\"stzh-upload__errors\" ref={el => (this.errorsElement = el as HTMLElement)}></div>\n <div\n class=\"stzh-upload__previews dropzone-previews\"\n ref={el => (this.previewsElement = el as HTMLElement)}\n ></div>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -81,6 +81,9 @@
81
81
  /**
82
82
  * Pagetitle
83
83
  */
84
+ /**
85
+ * TopnewsMostsearched
86
+ */
84
87
  /**
85
88
  * Calendar
86
89
  */
@@ -81,6 +81,9 @@
81
81
  /**
82
82
  * Pagetitle
83
83
  */
84
+ /**
85
+ * TopnewsMostsearched
86
+ */
84
87
  /**
85
88
  * Calendar
86
89
  */
@@ -81,6 +81,9 @@
81
81
  /**
82
82
  * Pagetitle
83
83
  */
84
+ /**
85
+ * TopnewsMostsearched
86
+ */
84
87
  /**
85
88
  * Calendar
86
89
  */
@@ -81,6 +81,9 @@
81
81
  /**
82
82
  * Pagetitle
83
83
  */
84
+ /**
85
+ * TopnewsMostsearched
86
+ */
84
87
  /**
85
88
  * Calendar
86
89
  */
@@ -81,6 +81,9 @@
81
81
  /**
82
82
  * Pagetitle
83
83
  */
84
+ /**
85
+ * TopnewsMostsearched
86
+ */
84
87
  /**
85
88
  * Calendar
86
89
  */
@@ -81,6 +81,9 @@
81
81
  /**
82
82
  * Pagetitle
83
83
  */
84
+ /**
85
+ * TopnewsMostsearched
86
+ */
84
87
  /**
85
88
  * Calendar
86
89
  */
@@ -252,6 +255,15 @@
252
255
  }
253
256
  }
254
257
 
258
+ :host([curve=intermediary]) {
259
+ --v-space: var(--stzh-space-medium);
260
+ }
261
+ @media screen and (min-width: 900px) {
262
+ :host([curve=intermediary]) {
263
+ --v-space: var(--stzh-space-large);
264
+ }
265
+ }
266
+
255
267
  :host([curve=regular]) {
256
268
  --v-space: var(--stzh-space-medium);
257
269
  }
@@ -81,6 +81,9 @@
81
81
  /**
82
82
  * Pagetitle
83
83
  */
84
+ /**
85
+ * TopnewsMostsearched
86
+ */
84
87
  /**
85
88
  * Calendar
86
89
  */
@@ -16,5 +16,5 @@ export var VBZ;
16
16
  // ---
17
17
  // Stencil component types
18
18
  // ---
19
- export * from './components';
19
+ export * from "./components";
20
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,MAAM;AACN,sBAAsB;AACtB,MAAM;AAqoDN,MAAM,KAAW,GAAG,CAoMnB;AApMD,WAAiB,GAAG;EACL,oBAAgB,GAAG,QAAQ,CAAC;EAE5B,kBAAc,GAAG,QAAQ,CAAC;EAC1B,2BAAuB,GAAG,sBAAsB,CAAC;EAEjD,sBAAkB,GAAG,YAAY,CAAC;EAClC,2BAAuB,GAAG,GAAG,CAAC;EAC9B,4BAAwB,GAAG,GAAG,CAAC;EAC/B,sBAAkB,GAAG,GAAG,CAAC;EACzB,qBAAiB,GAAG,GAAG,CAAC;EACxB,mBAAe,GAAG,GAAG,CAAC;AAyLrC,CAAC,EApMgB,GAAG,KAAH,GAAG,QAoMnB;AAED,MAAM;AACN,0BAA0B;AAC1B,MAAM;AAEN,cAAc,cAAc,CAAC","sourcesContent":["// ---\n// Global window types\n// ---\n\nimport { StzhLocaleAdapter } from './utils/date-adapter';\n\nimport {\n StzhLocaleComponent,\n StzhLocaleFormats,\n StzhLocaleGlobals,\n} from './utils/translation-utils';\n\nexport type WindowStzhComponents = {\n version: string\n supportedLocales: string[]\n defaultLocale: string\n translations: null | StzhLocaleComponent\n translationsLoading: Promise<StzhLocaleComponent>\n pathMedia: string\n pathTranslations: string\n pathVendors: string\n cacheTranslations: boolean\n formats: StzhLocaleFormats\n fixAutofocus: boolean,\n fixHashfocus: boolean,\n utils: {\n getLocale: (element: HTMLElement) => string\n fetchTranslations: (host: HTMLElement, component: string) => Promise<StzhLocaleComponent & any>\n\n format: (date: Date, type: string) => string\n parse:(string: string, type: string) => Date\n formatSpan: (date: Date | string, date2: Date | string, type: string) => string\n parseSpan: (string: string, type: string) => [Date, Date, string]\n createFormatParseAdapter: (formats: StzhLocaleFormats, globals: StzhLocaleGlobals) => StzhLocaleAdapter\n }\n}\n\ndeclare global {\n interface Window {\n stzhComponents: WindowStzhComponents\n // global third party library\n pannellum: any\n Dropzone: any\n proj4: any\n // readspeaker lib APIs\n readpage: any\n ReadSpeaker: any\n rsConf: any\n rspkr: any\n }\n}\n\n// ---\n// Event Types\n// ---\n\n/* Sortable */\n\nexport type StzhSortableUpdateEvent = {\n component: \"stzh-sortable\"\n data: string[]\n item: HTMLElement\n newIndex: number\n oldIndex: number\n}\n\nexport type StzhSortableDisableEvent = {\n component: \"stzh-sortable\"\n disabled: boolean\n}\n\n/* Panorama */\n\nexport type PanoramaScene = {\n sceneId: string\n imageSrc: string\n imageTitle: string\n\n imageAuthor?: string\n imageType?: \"equirectangular\" | \"cubemap\" | \"multires\"\n caption?: string\n copyright?: string\n\n pitch?: number\n yaw?: number\n hfov?: number\n\n hotspots: PanoramaSceneHotSpot[]\n}\n\nexport type PanoramaScenesLibrary = {\n [sceneKey: string]: {\n title: string\n author: string\n panorama: string\n type?: \"equirectangular\" | \"cubemap\" | \"multires\"\n\n pitch?: number\n yaw?: number\n hfov?: number\n\n hotSpots: PanoramaSceneHotSpot[]\n }\n}\n\nexport type PanoramaSceneHotSpot = {\n pitch: number\n yaw: number\n type: string\n text: string\n url?: string\n id?: string,\n sceneId?: string\n targetPitch?: number\n targetYaw?: number\n\n cssClass?: string\n createTooltipFunc?: Function\n createTooltipArgs?: any\n}\n\nexport type StzhPanoramaLoadEvent = {\n component: \"stzh-panorama\"\n}\n\nexport type StzhPanoramaChangeEvent = {\n component: \"stzh-panorama\"\n value: { pitch: number, yaw: number, hfov: number }\n}\n\nexport type StzhPanoramaFullscreenChangeEvent = {\n component: \"stzh-panorama\"\n value: boolean\n}\n\nexport type StzhPanoramaSceneChangeEvent = {\n component: \"stzh-panorama\"\n value: string\n}\n\nexport type StzhPanoramaZoomChangeEvent = {\n component: \"stzh-panorama\"\n value: number\n}\n\n/* Iframe */\n\nexport type StzhIframeView =\n | \"iframe\"\n | \"cookiewall\"\n | \"preview\";\n\nexport type StzhIframeViewChangeEvent = {\n component: \"stzh-iframe\"\n value: StzhIframeView\n}\n\nexport type StzhIframePreviewSkipEvent = {\n component: \"stzh-iframe\"\n}\n\n/* Olmap */\n\nexport type OlmapLayer = {\n title?: string,\n thumbnailUrl: string,\n options: {\n url: string,\n layer: string,\n matrixSet: string,\n origin: number[],\n extent: number[]\n }\n}\n\nexport type StzhOlmapInitializedEvent = {\n component: \"stzh-olmap\"\n}\n\nexport type StzhOlmapPostRenderEvent = {\n component: \"stzh-olmap\"\n}\n\nexport type StzhOlmapMoveStartEvent = {\n component: \"stzh-olmap\"\n}\n\nexport type StzhOlmapMoveEndEvent = {\n component: \"stzh-olmap\"\n}\n\n/* Sticky */\n\nexport type StzhStickyStuckTopEvent = {\n component: \"stzh-sticky\"\n sticky: boolean\n}\n\nexport type StzhStickyStuckBottomEvent = {\n component: \"stzh-sticky\"\n sticky: boolean\n}\n\n/* Table */\n\nexport type StzhDatatableCellData = {\n value: string | number\n isHeader?: boolean\n align?: \"left\" | \"right\" | \"center\"\n valign?: \"auto\" | \"middle\" | \"bottom\" | \"top\"\n id?: string\n}\n\nexport type StzhDatatableRowData = {\n [key: string]: StzhDatatableCellData\n};\n\nexport type StzhDatatableInputRowData = {\n [key: string]: StzhDatatableCellData | string | number\n};\n\nexport type StzhDatatableColumnData = {\n key: string\n text?: string\n align?: \"left\" | \"right\" | \"center\"\n valign?: \"auto\" | \"middle\" | \"bottom\" | \"top\"\n sort?: boolean | {\n type?: \"numerical\" | \"text\"\n field?: string\n }\n fixed?: \"left\" | \"right\"\n isHeader?: boolean\n hideColumnHeading?: boolean\n analyticsId?: string\n style?: {\n [key: string]: string\n },\n};\n\nexport type StzhDatatableRowClickEvent = {\n component: \"stzh-datatable\"\n row: any\n originalEvent: MouseEvent\n}\n\nexport type StzhDatatableCellClickEvent = {\n component: \"stzh-datatable\"\n row: any\n column: any\n cellIndex: number\n rowIndex: number\n originalEvent: MouseEvent\n}\n\nexport type StzhDatatableHeadingCellClickEvent = {\n component: \"stzh-datatable\"\n column: any\n index: number\n originalEvent: MouseEvent\n}\n\nexport type StzhDatatableSortClickEvent = {\n component: \"stzh-datatable\"\n column: any\n originalEvent: MouseEvent\n}\n\nexport type StzhDatatableSortByChangeEvent = {\n component: \"stzh-datatable\"\n value: string\n oldValue: string\n}\n\nexport type StzhDatatableSortDirectionChangeEvent = {\n component: \"stzh-datatable\"\n value: \"asc\" | \"desc\"\n oldValue: \"asc\" | \"desc\"\n}\n\n/* Archivelist */\n\nexport type StzhArchivelistItem = {\n label: string\n labelClamp?: any // attributes of HTMLStzhClampElement\n href: string\n dateline?: string\n description?: string\n descriptionClamp?: any // attributes of HTMLStzhClampElement\n}\n\nexport type StzhArchivelistItemClickEvent = {\n component: \"stzh-archivelist\"\n item: StzhArchivelistItem\n originalEvent: MouseEvent\n}\n\n/* Anchornav */\n\nexport type StzhAnchornavItem = {\n label: string\n href?: string\n icon?: string\n}\n\nexport type StzhAnchornavItemClickEvent = {\n component: \"stzh-anchornav\"\n item: StzhAnchornavItem\n originalEvent: MouseEvent\n}\n\n/* Status */\n\nexport type StzhStatusType = \"default\" | \"success\" | \"warning\" | \"error\" | \"info\";\n\n/* Badge */\n\nexport type StzhBadgeType = \"default\" | \"success\" | \"warning\" | \"error\" | \"info\";\n\n/* Actionset */\n\nexport type StzhActionsetItem = {\n id: string\n label?: string\n icon?: string\n iconPosition?: \"left\" | \"right\"\n iconOnly?: boolean\n badge?: string\n badgeEmpty?: boolean\n badgeType?: StzhBadgeType\n variant?: StzhButtonVariant\n size?: StzhButtonSize\n badgePosition?: \"icon\" | \"button\"\n tooltipContent?: string\n}\n\nexport type StzhActionsetItemClickEvent = {\n component: \"stzh-actionset\"\n action: StzhActionsetItem\n originalEvent: MouseEvent\n}\n\n/* Audio */\n\nexport type StzhAudioPlayEvent = {\n component: \"stzh-audio\"\n}\n\nexport type StzhAudioPlayingEvent = {\n component: \"stzh-audio\"\n}\n\nexport type StzhAudioPauseEvent = {\n component: \"stzh-audio\"\n}\n\nexport type StzhAudioReplayEvent = {\n component: \"stzh-audio\"\n}\n\nexport type StzhAudioEndEvent = {\n component: \"stzh-audio\"\n}\n\nexport type StzhAudioEndedEvent = {\n component: \"stzh-audio\"\n}\n\nexport type StzhAudioErrorEvent = {\n component: \"stzh-audio\"\n originalEvent: ErrorEvent\n}\n\n/* Share */\n\nexport type ShareService = \"facebook\" | \"twitter\" | \"linkedin\" | \"xing\" | \"mail\";\n\n/* Footer Editor */\n\nexport type StzhEditorLink = {\n label: string\n href?: string\n icon?: string\n rel?: string\n target?: string\n}\n\n/* Header */\n\nexport type StzhHeaderMenuItem = {\n label: string\n href?: string\n items?: StzhHeaderMenuItem[]\n id?: string\n}\n\nexport type StzhHeaderMetanavItem = {\n label: string\n labelShort?: string\n labelHidden?: boolean\n stay?: boolean\n stayAndShowInMobileMenu?: boolean\n variant?: \"default\" | \"secondary\" // used for menu-item and popover\n size?: \"default\" | \"large\" // used for menu-item and popover\n important?: boolean\n importantSubmenu?: boolean\n badgeEmpty?: boolean\n badgeType?: StzhBadgeType\n badge?: string\n icon?: string\n iconOpen?: string\n href?: string\n target?: string\n id?: string\n items?: {\n label: string\n href?: string\n target?: string\n icon?: string\n counter?: number\n badge?: string\n badgeType?: StzhBadgeType\n }[],\n itemButton?: {\n label: string\n href?: string\n target?: string\n size?: StzhButtonSize\n }\n}\n\nexport type StzhHeaderMetanavItemClickEvent = {\n component: \"stzh-header\"\n item: StzhHeaderMetanavItem\n originalEvent: MouseEvent\n}\n\nexport type StzhHeaderMenuItemClickEvent = {\n component: \"stzh-header\"\n item: StzhHeaderMenuItem\n originalEvent: MouseEvent\n}\n\nexport type StzhHeaderLanguageChangeEvent = {\n component: \"stzh-header\"\n value: string\n}\n\nexport type StzhHeaderSearchChangeEvent = {\n component: \"stzh-header\"\n originalEvent: InputEvent | MouseEvent\n value: string\n}\n\nexport type StzhHeaderSearchChangedEvent = {\n component: \"stzh-header\"\n originalEvent: InputEvent | MouseEvent\n value: string\n}\n\n/* Breadcrumb */\n\nexport type StzhBreadcrumbItem = {\n label: string\n href: string\n}\n\nexport type StzhBreadcrumbItemClickEvent = {\n component: \"stzh-breadcrumb\"\n item: StzhBreadcrumbItem\n originalEvent: MouseEvent\n}\n\n/* Card */\n\nexport type StzhCardHeaderAction = {\n id: string\n label?: string\n icon?: string\n badge?: string\n badgeEmpty?: boolean\n badgeType?: StzhBadgeType\n}\n\nexport type StzhCardSubtitleClickEvent = {\n component: \"stzh-card\"\n originalEvent: MouseEvent\n}\n\nexport type StzhCardCollapseEvent = {\n component: \"stzh-card\"\n collapsed: boolean\n}\n\nexport type StzhCardClickEvent = {\n component: \"stzh-card\"\n originalEvent: MouseEvent,\n href: string\n}\n\nexport type StzhCardStarClickEvent = {\n component: \"stzh-card\"\n starred: boolean\n originalEvent: MouseEvent\n}\n\nexport type StzhCardHeaderActionClickEvent = {\n component: \"stzh-card\"\n action: StzhCardHeaderAction\n originalEvent: MouseEvent\n}\n\n/* Card Navigation */\n\nexport type StzhCardNavigationClickEvent = {\n component: \"stzh-card-navigation\"\n originalEvent: MouseEvent,\n href: string\n}\n\n/* Card Superteaser */\n\nexport type StzhCardSuperteaserClickEvent = {\n component: \"stzh-card-superteaser\"\n originalEvent: MouseEvent,\n href: string\n}\n\n/* Card Searchresult */\n\nexport type StzhCardSearchresultClickEvent = {\n component: \"stzh-card-searchresult\"\n originalEvent: MouseEvent,\n href: string\n}\n\n/* Search */\n\nexport type StzhSearchResult = {\n html?: string\n\n href?: string\n heading?: string\n dateline?: string\n description?: string\n image?: string\n imagePosition?: \"default\" | \"right\"\n tag?: string\n topic?: string\n service?: string\n serviceColor?: string\n serviceBackgroundColor?: string\n meta?: string[],\n breadcrumbItems?: StzhBreadcrumbItem[]\n eventDateStart?: string\n eventDateEnd?: string\n eventLocation?: string\n download?: string\n downloadHeading?: string\n downloadMeta?: string[]\n}\n\n/* Microsite Teaserlist */\n\nexport type StzhMicrositeTeaserlistTag = {\n id: string\n name: string\n}\n\nexport type StzhMicrositeTeaserlistItem = {\n title?: string\n description?: string\n image?: string\n link: string\n tags: string[]\n teaserid: string\n}\n\n/* Cardlist */\n\nexport type StzhCardlistCollapseAllEvent = {\n component: \"stzh-cardlist\"\n allCollapsed: boolean\n}\n\n/* Calendar */\n\nexport type StzhCalendarChangeEvent = {\n component: \"stzh-calendar\"\n valueAsDate: Date\n value: string\n}\n\n/* Datepicker */\n\nexport type StzhDatepickerChangeEvent = {\n component: \"stzh-datepicker\"\n value: string,\n valueAsDate: Date\n}\n\n/* Pagination */\n\nexport type StzhPaginationChangeEvent = {\n component: \"stzh-pagination\"\n page: number\n}\n\n/* Timepicker */\n\nexport type StzhTimepickerChangeEvent = {\n component: \"stzh-timepicker\"\n value: string\n}\n\n/* Monthyearpicker */\n\nexport type StzhMonthyearpickerChangeEvent = {\n component: \"stzh-monthyearpicker\"\n value: string\n valueMonth: string\n valueYear: string\n}\n\n/* Amount */\n\nexport type StzhAmountChangeEvent = {\n component: \"stzh-amount\"\n value: string\n}\n\n/* Appointments */\n\nexport type StzhAppointmentsChangeEvent = {\n component: \"stzh-appointments\"\n value: string\n}\n\n/* Skiplink */\n\nexport type StzhSkiplinkFocusEvent = {\n component: \"stzh-skiplink\"\n originalEvent: FocusEvent\n}\n\nexport type StzhSkiplinkBlurEvent = {\n component: \"stzh-skiplink\"\n originalEvent: FocusEvent\n}\n\n/* Checkbox */\n\nexport type StzhCheckboxChangeEvent = {\n component: \"stzh-checkbox\"\n originalEvent: InputEvent | Event\n value: string\n checked: boolean\n}\n\nexport type StzhCheckboxFocusEvent = {\n component: \"stzh-checkbox\"\n originalEvent: FocusEvent\n}\n\nexport type StzhCheckboxBlurEvent = {\n component: \"stzh-checkbox\"\n originalEvent: FocusEvent\n}\n\nexport type StzhCheckboxgroupChangeEvent = {\n component: \"stzh-checkboxgroup\"\n value: string[]\n}\n\n/* Toggle */\n\nexport type StzhToggleChangeEvent = {\n component: \"stzh-toggle\"\n originalEvent: InputEvent\n value: string\n checked: boolean\n}\n\nexport type StzhToggleFocusEvent = {\n component: \"stzh-toggle\"\n originalEvent: FocusEvent\n}\n\nexport type StzhToggleBlurEvent = {\n component: \"stzh-toggle\"\n originalEvent: FocusEvent\n}\n\n/* Button */\n\nexport type StzhButtonVariant = \"default\" | \"secondary\" | \"tertiary\" | \"tertiary-plain\";\nexport type StzhButtonSize = \"default\" | \"small\" | \"tiny\";\n\nexport type StzhButtonFocusEvent = {\n component: \"stzh-button\"\n originalEvent: FocusEvent\n}\n\nexport type StzhButtonBlurEvent = {\n component: \"stzh-button\"\n originalEvent: FocusEvent\n}\n\nexport type StzhButtonClickEvent = {\n component: \"stzh-button\"\n originalEvent: MouseEvent\n href: string\n}\n\nexport type StzhButtonChangeEvent = {\n component: \"stzh-button\"\n originalEvent: InputEvent\n value: string\n checked: boolean\n}\n\n/* Link */\n\nexport type StzhLinkSize = \"default\" | \"small\" | \"inherit\";\n\nexport type StzhLinkFocusEvent = {\n component: \"stzh-link\"\n originalEvent: FocusEvent\n}\n\nexport type StzhLinkBlurEvent = {\n component: \"stzh-link\"\n originalEvent: FocusEvent\n}\n\nexport type StzhLinkClickEvent = {\n component: \"stzh-link\"\n originalEvent: MouseEvent\n href: string\n}\n\n/* Menu (Item) */\n\nexport type StzhMenuVariant = \"default\" | \"secondary\"\nexport type StzhMenuSize = \"default\" | \"large\"\n\nexport type StzhMenuItemFocusEvent = {\n component: \"stzh-menu-item\"\n originalEvent: FocusEvent\n}\n\nexport type StzhMenuItemBlurEvent = {\n component: \"stzh-menu-item\"\n originalEvent: FocusEvent\n}\n\nexport type StzhMenuItemClickEvent = {\n component: \"stzh-menu-item\"\n originalEvent: MouseEvent,\n href: string\n}\n\n/* Carousel */\n\nexport type StzhCarouselSlideStartEvent = {\n component: \"stzh-carousel\"\n index: number\n}\n\nexport type StzhCarouselSlidePassedEvent = {\n component: \"stzh-carousel\"\n index: number\n}\n\nexport type StzhCarouselSlideEndEvent = {\n component: \"stzh-carousel\"\n index: number\n}\n\n/* Chipselect */\n\nexport type StzhChipselectItem = {\n label: string\n value: string\n disabled?: boolean\n variant?: StzhChipVariant\n type?: StzhChipType\n inverted?: boolean\n counter?: string\n icon?: string\n size?: StzhChipSize\n}\n\nexport type StzhChipselectChangeEvent = {\n component: \"stzh-chipselect\"\n value: string[] | string\n}\n\n/* Gallery */\n\nexport type StzhGalleryItem = {\n width: number\n height: number\n src: string\n srcLightbox?: string\n srcsetLightbox?: string\n alt?: string\n copyright?: string\n heading?: string\n headingLightbox?: string\n caption?: string\n captionLightbox?: string\n lightboxHtml?: string\n hideCounter?: boolean\n}\n\n/* Datalist */\n\nexport type StzhDatalistItemEntry = {\n value: string\n leadingIcon?: string\n label?: string\n meta?: string\n icon?: string\n iconLabel?: string\n iconTooltip?: string\n statusLabel?: string\n statusType?: StzhStatusType\n href?: string\n rel?: string\n target?: string\n items?: StzhDatalistItemEntry[]\n}\n\nexport type StzhDatalistVariant = \"default\" | \"table\"\nexport type StzhDatalistDirection = \"vertical\" | \"horizontal\"\n\nexport type StzhDatalistVariantChangeEvent = {\n component: \"stzh-datalist\"\n value: StzhDatalistVariant\n}\n\nexport type StzhDatalistDirectionChangeEvent = {\n component: \"stzh-datalist\"\n value: \"vertical\" | \"horizontal\"\n}\n\n/* Datalist Item */\n\nexport type StzhDatalistItemActionClickEvent = {\n component: \"stzh-datalist-item\"\n originalEvent: MouseEvent\n}\n\nexport type StzhDatalistItemClickEvent = {\n component: \"stzh-datalist-item\"\n originalEvent: MouseEvent\n href: string\n}\n\n/* Datamessagelist */\n\nexport type StzhDatamessagelistItemEntryMeta = {\n label: string\n value: string\n}\n\nexport type StzhDatamessagelistItemEntryAction = {\n id: string | number\n icon: string\n label: string,\n badge?: string\n}\n\nexport type StzhDatamessagelistItemEntryTag = {\n icon: string\n label: string\n type?: StzhChipType\n inverted?: boolean\n}\n\nexport type StzhDatamessagelistItemEntryLoadingStatus = {\n percent: number\n label: string\n type: \"default\" | \"success\" | \"warning\" | \"error\"\n}\n\nexport type StzhDatamessagelistItemClickEvent = {\n component: \"stzh-datamessagelist-item\",\n originalEvent: MouseEvent,\n href: string\n}\n\nexport type StzhDatamessagelistItemActionClickEvent = {\n component: \"stzh-datamessagelist-item\",\n action: StzhDatamessagelistItemEntryAction,\n originalEvent: MouseEvent\n}\n\n/* Cta */\n\nexport type StzhCtaFocusEvent = {\n component: \"stzh-cta\"\n originalEvent: FocusEvent\n}\n\nexport type StzhCtaBlurEvent = {\n component: \"stzh-cta\"\n originalEvent: FocusEvent\n}\n\nexport type StzhCtaClickEvent = {\n component: \"stzh-cta\"\n originalEvent: MouseEvent,\n href: string\n}\n\n/* Tag */\n\nexport type StzhTagSize = \"default\" | \"large\"\nexport type StzhTagType = \"default\" | \"secondary\"\n\nexport type StzhTagClickEvent = {\n component: \"stzh-tag\",\n originalEvent: MouseEvent,\n href: string;\n}\n\nexport type StzhTagFocusEvent = {\n component: \"stzh-tag\"\n originalEvent: FocusEvent\n}\n\nexport type StzhTagBlurEvent = {\n component: \"stzh-tag\"\n originalEvent: FocusEvent\n}\n\n/* Chip */\n\nexport type StzhChipVariant = \"tag\" | \"filter\" | \"input\"\nexport type StzhChipSize = \"default\" | \"small\" | \"large\"\nexport type StzhChipType = \"default\" | \"success\" | \"warning\" | \"error\" | \"info\"\n\nexport type StzhChipClickEvent = {\n component: \"stzh-chip\",\n originalEvent: MouseEvent\n href: string;\n}\n\nexport type StzhChipRemoveEvent = {\n component: \"stzh-chip\",\n originalEvent: MouseEvent\n}\n\nexport type StzhChipFocusEvent = {\n component: \"stzh-chip\"\n originalEvent: FocusEvent\n}\n\nexport type StzhChipBlurEvent = {\n component: \"stzh-chip\"\n originalEvent: FocusEvent\n}\n\n/* VBZ Major Ticker */\n\nexport type StzhVbzMajortickerDisturbance = {\n id: string\n head: string\n text: string\n startDate: Date\n endDate: Date\n altStart: string\n altEnd: string\n infoUrl?: VbzTickerInfoUrl\n};\n\nexport type StzhVbzMajortickerDisturbanceFetchedEvent = {\n component: \"stzh-vbz-majorticker\"\n disturbance: StzhVbzMajortickerDisturbance | null\n}\n\n/* VBZ Ticker */\n\nexport type VbzTickerInfoUrl = {\n name: string\n url: string\n};\n\nexport type VbzTickerDisturbance = {\n id: string\n head: string\n startDate: Date\n endDate: Date\n altStart: string\n altEnd: string\n baseType?: string\n infoUrl?: VbzTickerInfoUrl\n category:\n | typeof VBZ.DISTURBANCE_INFORMATION\n | typeof VBZ.DISTURBANCE_CONSTRUCTION\n | typeof VBZ.DISTURBANCE_NORMAL\n | typeof VBZ.DISTURBANCE_EVENT\n | typeof VBZ.DISTURBANCE_BUS\n};\n\nexport type VbzTickerLine = {\n line: VBZ.Lines\n name: string\n disturbances: VbzTickerDisturbance[]\n // whether normal or big disturbance for this line exist\n alert: boolean\n // 2 = Fernverkehr / 16 = Schiff / 32 = S-Bahn/Reg / 64 = Bus / 128 = Bergbahn / 256 = Nachtnetz / 512 = Tram\n category: \"2\" | \"16\" | \"32\" | \"64\" | \"128\" | \"256\" | \"512\"\n};\n\n/* VBZ Line Chip */\n\nexport type StzhVbzLinechipLine = {\n color: string\n background: string\n comment?: string\n}\n\nexport type StzhVbzLinechipFocusEvent = {\n component: \"stzh-vbz-linechip\"\n originalEvent: FocusEvent\n}\n\nexport type StzhVbzLinechipBlurEvent = {\n component: \"stzh-vbz-linechip\"\n originalEvent: FocusEvent\n}\n\n/* Clamp */\n\nexport type StzhClampClampEvent = {\n component: \"stzh-clamp\"\n clamped: boolean\n}\n\nexport type StzhClampExpandEvent = {\n component: \"stzh-clamp\"\n expanded: boolean\n}\n\n/* Image Comparison */\n\nexport type StzhImagecomparisonChangeEvent = {\n component: \"stzh-imagecomparison\"\n originalEvent: InputEvent\n value: number\n}\n\n/* Dialog */\n\nexport type StzhDialogOpenEvent = {\n component: \"stzh-dialog\"\n}\n\nexport type StzhDialogCloseEvent = {\n component: \"stzh-dialog\"\n}\n\n/* Contact */\n\nexport type ContactEmail = {\n label: string\n text: string\n href?: string\n analyticsId?: string\n}\n\nexport type ContactNumber = {\n type: \"tel\" | \"fax\"\n label: string\n number: string\n analyticsId?: string\n}\n\nexport type StzhContactAvailabilityItem = {\n weekday: string\n hours: string[]\n}\n\n/* Eventinfo */\n\nexport type StzhEventinfoItemInput = {\n calendarUrl?: string\n calendarLabel?: string\n start: string | Date\n end: string | Date\n}\n\nexport type StzhEventinfoItem = {\n calendarUrl?: string\n calendarLabel?: string\n start: Date\n end: Date\n}\n\nexport type StzhEventinfoMonth = {\n name: string\n events: StzhEventinfoItem[]\n}\n\n/* Overlay */\n\nexport type StzhOverlayOpenEvent = {\n component: \"stzh-overlay\"\n}\n\nexport type StzhOverlayCloseEvent = {\n component: \"stzh-overlay\"\n}\n\n/* Banner */\n\nexport type StzhBannerOpenEvent = {\n component: \"stzh-banner\"\n}\n\nexport type StzhBannerCloseEvent = {\n component: \"stzh-banner\"\n}\n\n/* Message */\n\nexport type StzhMessageOpenEvent = {\n component: \"stzh-message\"\n}\n\nexport type StzhMessageCloseEvent = {\n component: \"stzh-message\"\n}\n\n/* Toastbar */\n\nexport type StzhToastbarInitialToast = {\n label: string\n type?: StzhToastType\n link?: HTMLStzhLinkElement | {\n href: string,\n label: string\n },\n cookie?: string\n cookieExpires?: number\n}\n\n/* Disturber */\n\nexport type StzhDisturberOpenEvent = {\n component: \"stzh-disturber\"\n}\n\nexport type StzhDisturberCloseEvent = {\n component: \"stzh-disturber\"\n}\n\nexport type StzhDisturberOpenedEvent = {\n component: \"stzh-disturber\"\n}\n\nexport type StzhDisturberClosedEvent = {\n component: \"stzh-disturber\"\n}\n\n/* Toast */\n\nexport type StzhToastType = \"info\" | \"success\" | \"warning\" | \"error\";\n\nexport type StzhToastOpenEvent = {\n component: \"stzh-toast\"\n}\n\nexport type StzhToastCloseEvent = {\n component: \"stzh-toast\"\n}\n\nexport type StzhToastOpenedEvent = {\n component: \"stzh-toast\"\n}\n\nexport type StzhToastClosedEvent = {\n component: \"stzh-toast\"\n}\n\n/* Ghettobox */\n\nexport type StzhGhettoboxOpenEvent = {\n component: \"stzh-ghettobox\"\n}\n\nexport type StzhGhettoboxCloseEvent = {\n component: \"stzh-ghettobox\"\n}\n\n/* Input */\n\nexport type StzhInputChangeEvent = {\n component: \"stzh-input\"\n originalEvent: InputEvent | MouseEvent\n value: string\n}\n\nexport type StzhInputChangedEvent = {\n component: \"stzh-input\"\n originalEvent: InputEvent | MouseEvent\n value: string\n}\n\nexport type StzhInputFocusEvent = {\n component: \"stzh-input\"\n originalEvent: FocusEvent\n}\n\nexport type StzhInputBlurEvent = {\n component: \"stzh-input\"\n originalEvent: FocusEvent\n}\n\n/* Popover */\n\nexport type StzhPopoverOpenEvent = {\n component: \"stzh-popover\"\n}\n\nexport type StzhPopoverOpenedEvent = {\n component: \"stzh-popover\"\n}\n\nexport type StzhPopoverCloseEvent = {\n component: \"stzh-popover\"\n}\n\nexport type StzhPopoverClosedEvent = {\n component: \"stzh-popover\"\n}\n\n/* Timeline */\n\nexport type StzhTimelineFoldableChangeEvent = {\n component: \"stzh-timeline\"\n value: boolean\n}\n\n/* TimelineItem */\n\nexport type StzhTimelineItemOpenEvent = {\n component: \"stzh-timeline-item\"\n}\n\nexport type StzhTimelineItemOpenedEvent = {\n component: \"stzh-timeline-item\"\n}\n\nexport type StzhTimelineItemCloseEvent = {\n component: \"stzh-timeline-item\"\n}\n\nexport type StzhTimelineItemClosedEvent = {\n component: \"stzh-timeline-item\"\n}\n\nexport type StzhTimelineItemFocusEvent = {\n component: \"stzh-timeline-item\"\n originalEvent: FocusEvent\n}\n\nexport type StzhTimelineItemBlurEvent = {\n component: \"stzh-timeline-item\"\n originalEvent: FocusEvent\n}\n\n/* Accordion */\n\nexport type StzhAccordionVariant = \"default\" | \"title\" | \"table\";\n\nexport type StzhAccordionVariantChangeEvent = {\n component: \"stzh-accordion\"\n value: StzhAccordionVariant\n}\n\nexport type StzhAccordionItemOpenEvent = {\n component: \"stzh-accordion-item\"\n}\n\nexport type StzhAccordionItemOpenedEvent = {\n component: \"stzh-accordion-item\"\n}\n\nexport type StzhAccordionItemCloseEvent = {\n component: \"stzh-accordion-item\"\n}\n\nexport type StzhAccordionItemClosedEvent = {\n component: \"stzh-accordion-item\"\n}\n\nexport type StzhAccordionItemFocusEvent = {\n component: \"stzh-accordion-item\"\n originalEvent: FocusEvent\n}\n\nexport type StzhAccordionItemBlurEvent = {\n component: \"stzh-accordion-item\"\n originalEvent: FocusEvent\n}\n\n/* Tooltip */\n\nexport type StzhTooltipOpenEvent = {\n component: \"stzh-tooltip\"\n}\n\nexport type StzhTooltipOpenedEvent = {\n component: \"stzh-tooltip\"\n}\n\nexport type StzhTooltipCloseEvent = {\n component: \"stzh-tooltip\"\n}\n\nexport type StzhTooltipClosedEvent = {\n component: \"stzh-tooltip\"\n}\n\n/* Radio */\n\nexport type StzhRadioChangeEvent = {\n component: \"stzh-radio\"\n originalEvent: InputEvent\n value: string\n checked: boolean\n}\n\nexport type StzhRadioFocusEvent = {\n component: \"stzh-radio\"\n originalEvent: FocusEvent\n}\n\nexport type StzhRadioBlurEvent = {\n component: \"stzh-radio\"\n originalEvent: FocusEvent\n}\n\n/* Daterange */\n\nexport type StzhDaterangeRanges = \"today\"|\"tomorrow\"|\"next7days\";\n\n/* Dropdown */\n\nexport type StzhDropdownSize = \"default\" | \"small\" | \"tiny\" | StzhChipSize;\n\nexport type StzhDropdownOption = {\n text: string,\n value: string,\n disabled?: boolean\n}\n\nexport type StzhDropdownChangeEvent = {\n component: \"stzh-dropdown\",\n value: string | string[]\n}\n\nexport type StzhDropdownItemAddEvent = {\n component: \"stzh-dropdown\",\n value: string\n}\n\nexport type StzhDropdownItemRemoveEvent = {\n component: \"stzh-dropdown\",\n value: string\n}\n\nexport type StzhDropdownOptionAddEvent = {\n component: \"stzh-dropdown\",\n value: string\n}\n\nexport type StzhDropdownOptionRemoveEvent = {\n component: \"stzh-dropdown\",\n value: string\n}\n\nexport type StzhDropdownOpenEvent = {\n component: \"stzh-dropdown\"\n}\n\nexport type StzhDropdowCloseEvent = {\n component: \"stzh-dropdown\"\n}\n\nexport type StzhDropdownFocusEvent = {\n component: \"stzh-dropdown\"\n originalEvent: {\n target: Element\n }\n}\n\nexport type StzhDropdownBlurEvent = {\n component: \"stzh-dropdown\"\n}\n\nexport type StzhDropdowInitEvent = {\n component: \"stzh-dropdown\"\n}\n\n/** Progressbar */\n\nexport type StzhProgressbarDataItem = {\n label: string\n icon?: string\n disabled?: boolean\n analyticsId?: string\n}\n\n/* Progressbar Item */\n\nexport type StzhProgressbarItemClickEvent = {\n component: \"stzh-progressbar-item\"\n originalEvent: MouseEvent\n index: number\n}\n\nexport type StzhProgressbarItemDottedClickEvent = {\n component: \"stzh-progressbar-item\"\n originalEvent: MouseEvent\n index: number\n}\n\n/* Upload */\n\nexport type StzhUploadFilesItem = {\n name: string\n size: number\n [key: string]: any\n}\n\nexport type StzhUploadFile = File & {\n xhr: XMLHttpRequest,\n status: string\n upload: any\n accepted: boolean\n previewElement: HTMLElement\n}\n\nexport type StzhUploadFileAddedEvent = {\n component: \"stzh-upload\",\n file: StzhUploadFile\n}\n\nexport type StzhUploadFilesAddedEvent = {\n component: \"stzh-upload\",\n files: StzhUploadFile[]\n}\n\nexport type StzhUploadFileRemoveEvent = {\n component: \"stzh-upload\",\n file: StzhUploadFile\n}\n\nexport type StzhUploadFileRemovedEvent = {\n component: \"stzh-upload\",\n file: StzhUploadFile\n force: boolean\n}\n\nexport type StzhUploadSendingEvent = {\n component: \"stzh-upload\",\n file: StzhUploadFile,\n xhr: XMLHttpRequest,\n formData: FormData\n}\n\nexport type StzhUploadSendingMultipleEvent = {\n component: \"stzh-upload\",\n files: StzhUploadFile[],\n xhr: XMLHttpRequest,\n formData: FormData\n}\n\nexport type StzhUploadProcessingEvent = {\n component: \"stzh-upload\",\n file: StzhUploadFile\n}\n\nexport type StzhUploadProcessingMultipleEvent = {\n component: \"stzh-upload\",\n files: StzhUploadFile[]\n}\n\nexport type StzhUploadProgressEvent = {\n component: \"stzh-upload\",\n file: StzhUploadFile,\n progress: number,\n bytesSent: number\n}\n\nexport type StzhUploadProgressTotalEvent = {\n component: \"stzh-upload\",\n totalUploadProgress: number,\n totalBytes: number,\n totalBytesSent: number\n}\n\nexport type StzhUploadErrorEvent = {\n component: \"stzh-upload\",\n file: StzhUploadFile,\n message: string,\n xhr: XMLHttpRequest\n}\n\nexport type StzhUploadErrorMultipleEvent = {\n component: \"stzh-upload\",\n files: StzhUploadFile[],\n message: string,\n xhr: XMLHttpRequest\n}\n\nexport type StzhUploadSuccessEvent = {\n component: \"stzh-upload\",\n file: StzhUploadFile,\n responseText: string,\n event: ProgressEvent\n}\n\nexport type StzhUploadSuccessMultipleEvent = {\n component: \"stzh-upload\",\n files: StzhUploadFile[],\n responseText: string,\n event: ProgressEvent\n}\n\nexport type StzhUploadCanceledEvent = {\n component: \"stzh-upload\",\n file: StzhUploadFile\n}\n\nexport type StzhUploadCanceledMultipleEvent = {\n component: \"stzh-upload\",\n files: StzhUploadFile[]\n}\n\nexport type StzhUploadCompleteEvent = {\n component: \"stzh-upload\",\n file: StzhUploadFile\n}\n\nexport type StzhUploadCompleteMultipleEvent = {\n component: \"stzh-upload\",\n files: StzhUploadFile[]\n}\n\n// Merged Types\n\nexport type StzhFocusEvent =\n | StzhAccordionItemFocusEvent\n | StzhButtonFocusEvent\n | StzhCheckboxFocusEvent\n | StzhChipFocusEvent\n | StzhDropdownFocusEvent\n | StzhInputFocusEvent\n | StzhLinkFocusEvent\n | StzhMenuItemFocusEvent\n | StzhRadioFocusEvent\n | StzhToggleFocusEvent\n | StzhVbzLinechipFocusEvent\n | StzhSkiplinkFocusEvent\n\n// ---\n// Prop Types\n// ---\n\nexport type StzhCalendarDateDisabledPredicate = (date: Date) => boolean\n\n\nexport namespace Layout {\n export type Ratio = \"16:9\" | \"1:1\" | \"5:4\" | \"4:3\" | \"3:2\" | \"2:1\" | \"21:9\";\n\n export type Justify =\n | \"start\"\n | \"end\"\n | \"center\"\n | \"between\"\n | \"around\"\n | \"evenly\";\n\n export type Items =\n | \"start\"\n | \"end\"\n | \"center\"\n | \"baseline\"\n | \"stretch\";\n\n export type JustifySelf =\n | \"auto\"\n | Justify;\n\n export type AlignSelf =\n | \"auto\"\n | Items;\n}\n\nexport namespace Space {\n export type Sizes =\n | \"xxxsmall\"\n | \"xxsmall\"\n | \"xsmall\"\n | \"small\"\n | \"medium\"\n | \"large\"\n | \"xlarge\"\n | \"xxlarge\"\n | \"xxxlarge\"\n | \"xxxxlarge\"\n | \"big\"\n | \"xbig\"\n | \"huge\"\n | \"xhuge\"\n | \"none\"\n | \"inherit\";\n\n export type Curves =\n | \"tiny\"\n | \"small\"\n | \"regular\"\n | \"medium\"\n | \"large\"\n | \"big\"\n | \"huge\"\n | \"none\";\n}\n\nexport namespace Font {\n export type Fonts =\n | \"light\"\n | \"regular\"\n | \"medium\"\n | \"heavy\"\n | \"default\";\n\n export type Sizes =\n | \"pico\"\n | \"nano\"\n | \"micro\"\n | \"milli\"\n | \"centi\"\n | \"deci\"\n | \"regular\"\n | \"deca\"\n | \"hecto\"\n | \"kilo\"\n | \"mega\"\n | \"giga\"\n | \"hero\";\n\n export type Curves =\n | \"p1\"\n | \"p2\"\n | \"lead\"\n | \"caption\"\n | \"h4\"\n | \"h3\"\n | \"h2\"\n | \"h1\"\n | \"hero\"\n | \"default\"\n | \"none\";\n}\n\nexport namespace VBZ {\n export const BASE_TYPE_GLOBAL = \"GLOBAL\";\n\n export const CHANNEL_TICKER = \"ticker\";\n export const CHANNEL_INFO_URL_FILTER = \"stadt-zuerich.ch/vbz\";\n\n export const DISTURBANCE_GLOBAL = \"__global__\";\n export const DISTURBANCE_INFORMATION = \"0\";\n export const DISTURBANCE_CONSTRUCTION = \"1\";\n export const DISTURBANCE_NORMAL = \"2\";\n export const DISTURBANCE_EVENT = \"4\";\n export const DISTURBANCE_BUS = \"5\";\n\n export type Lines =\n | \"2\"\n | \"3\"\n | \"4\"\n | \"5\"\n | \"6\"\n | \"7\"\n | \"8\"\n | \"9\"\n | \"10\"\n | \"11\"\n | \"12\"\n | \"13\"\n | \"14\"\n | \"15\"\n | \"16\"\n | \"17\"\n | \"19\"\n | \"20\"\n | \"21\"\n | \"23\"\n | \"24\"\n | \"25\"\n | \"29\"\n | \"31\"\n | \"32\"\n | \"33\"\n | \"34\"\n | \"35\"\n | \"36\"\n | \"37\"\n | \"38\"\n | \"39\"\n | \"40\"\n | \"45\"\n | \"46\"\n | \"54\"\n | \"61\"\n | \"62\"\n | \"63\"\n | \"64\"\n | \"66\"\n | \"67\"\n | \"69\"\n | \"70\"\n | \"72\"\n | \"73\"\n | \"75\"\n | \"76\"\n | \"77\"\n | \"78\"\n | \"79\"\n | \"80\"\n | \"83\"\n | \"89\"\n | \"91\"\n | \"94\"\n | \"95\"\n | \"99\"\n | \"151\"\n | \"152\"\n | \"153\"\n | \"156\"\n | \"161\"\n | \"162\"\n | \"163\"\n | \"165\"\n | \"184\"\n | \"185\"\n | \"200\"\n | \"201\"\n | \"215\"\n | \"220\"\n | \"235\"\n | \"236\"\n | \"245\"\n | \"301\"\n | \"302\"\n | \"303\"\n | \"304\"\n | \"305\"\n | \"306\"\n | \"307\"\n | \"308\"\n | \"309\"\n | \"311\"\n | \"314\"\n | \"315\"\n | \"317\"\n | \"321\"\n | \"323\"\n | \"325\"\n | \"350\"\n | \"444\"\n | \"445\"\n | \"701\"\n | \"702\"\n | \"703\"\n | \"704\"\n | \"705\"\n | \"720\"\n | \"721\"\n | \"725\"\n | \"726\"\n | \"727\"\n | \"742\"\n | \"743\"\n | \"744\"\n | \"745\"\n | \"747\"\n | \"748\"\n | \"751\"\n | \"752\"\n | \"753\"\n | \"754\"\n | \"759\"\n | \"760\"\n | \"765\"\n | \"768\"\n | \"781\"\n | \"786\"\n | \"787\"\n | \"910\"\n | \"912\"\n | \"916\"\n | \"917\"\n | \"918\"\n | \"919\"\n | \"E\"\n | \"N\"\n | \"N1\"\n | \"N2\"\n | \"N4\"\n | \"N5\"\n | \"N6\"\n | \"N7\"\n | \"N8\"\n | \"N9\"\n | \"N10\"\n | \"N11\"\n | \"N12\"\n | \"N13\"\n | \"N14\"\n | \"N15\"\n | \"N16\"\n | \"N17\"\n | \"N18\"\n | \"N19\"\n | \"N30\"\n | \"N31\"\n | \"N32\"\n | \"N33\"\n | \"N34\"\n | \"N45\"\n | \"N72\"\n | \"N78\"\n | \"SN1\"\n | \"SN4\"\n | \"SN5\"\n | \"SN6\"\n | \"SN7\"\n | \"SN8\"\n | \"SN9\"\n | \"S2\"\n | \"S3\"\n | \"S4\"\n | \"S5\"\n | \"S6\"\n | \"S7\"\n | \"S8\"\n | \"S9\"\n | \"S10\"\n | \"S11\"\n | \"S14\"\n | \"S15\"\n | \"S16\"\n | \"S18\"\n | \"S19\"\n | \"S20\"\n | \"S21\"\n | \"S23\"\n | \"S24\"\n | \"S25\"\n}\n\n// ---\n// Stencil component types\n// ---\n\nexport * from './components';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,MAAM;AACN,sBAAsB;AACtB,MAAM;AAivDN,MAAM,KAAW,GAAG,CAoMnB;AApMD,WAAiB,GAAG;EACL,oBAAgB,GAAG,QAAQ,CAAC;EAE5B,kBAAc,GAAG,QAAQ,CAAC;EAC1B,2BAAuB,GAAG,sBAAsB,CAAC;EAEjD,sBAAkB,GAAG,YAAY,CAAC;EAClC,2BAAuB,GAAG,GAAG,CAAC;EAC9B,4BAAwB,GAAG,GAAG,CAAC;EAC/B,sBAAkB,GAAG,GAAG,CAAC;EACzB,qBAAiB,GAAG,GAAG,CAAC;EACxB,mBAAe,GAAG,GAAG,CAAC;AAyLrC,CAAC,EApMgB,GAAG,KAAH,GAAG,QAoMnB;AAED,MAAM;AACN,0BAA0B;AAC1B,MAAM;AAEN,cAAc,cAAc,CAAC","sourcesContent":["// ---\n// Global window types\n// ---\n\nimport { StzhLocaleAdapter } from \"./utils/date-adapter\";\n\nimport {\n StzhLocaleComponent,\n StzhLocaleFormats,\n StzhLocaleGlobals,\n} from \"./utils/translation-utils\";\n\nexport type WindowStzhComponents = {\n version: string;\n supportedLocales: string[];\n defaultLocale: string;\n translations: null | StzhLocaleComponent;\n translationsLoading: Promise<StzhLocaleComponent>;\n pathMedia: string;\n pathTranslations: string;\n pathVendors: string;\n cacheTranslations: boolean;\n formats: StzhLocaleFormats;\n fixAutofocus: boolean;\n fixHashfocus: boolean;\n utils: {\n getLocale: (element: HTMLElement) => string;\n fetchTranslations: (\n host: HTMLElement,\n component: string\n ) => Promise<StzhLocaleComponent & any>;\n\n format: (date: Date, type: string) => string;\n parse: (string: string, type: string) => Date;\n formatSpan: (\n date: Date | string,\n date2: Date | string,\n type: string\n ) => string;\n parseSpan: (string: string, type: string) => [Date, Date, string];\n createFormatParseAdapter: (\n formats: StzhLocaleFormats,\n globals: StzhLocaleGlobals\n ) => StzhLocaleAdapter;\n };\n};\n\ndeclare global {\n interface Window {\n stzhComponents: WindowStzhComponents;\n // global third party library\n pannellum: any;\n Dropzone: any;\n proj4: any;\n // readspeaker lib APIs\n readpage: any;\n ReadSpeaker: any;\n rsConf: any;\n rspkr: any;\n }\n}\n\n// ---\n// Event Types\n// ---\n\n/* Sortable */\n\nexport type StzhSortableUpdateEvent = {\n component: \"stzh-sortable\";\n data: string[];\n item: HTMLElement;\n newIndex: number;\n oldIndex: number;\n};\n\nexport type StzhSortableDisableEvent = {\n component: \"stzh-sortable\";\n disabled: boolean;\n};\n\n/* Panorama */\n\nexport type PanoramaScene = {\n sceneId: string;\n imageSrc: string;\n imageTitle: string;\n\n imageAuthor?: string;\n imageType?: \"equirectangular\" | \"cubemap\" | \"multires\";\n caption?: string;\n copyright?: string;\n\n pitch?: number;\n yaw?: number;\n hfov?: number;\n\n hotspots: PanoramaSceneHotSpot[];\n};\n\nexport type PanoramaScenesLibrary = {\n [sceneKey: string]: {\n title?: string;\n author?: string;\n panorama: string;\n type?: \"equirectangular\" | \"cubemap\" | \"multires\";\n\n pitch?: number;\n yaw?: number;\n hfov?: number;\n\n hotSpots: PanoramaSceneHotSpot[];\n };\n};\n\nexport type PanoramaSceneHotSpot = {\n pitch: number;\n yaw: number;\n type: string;\n text: string;\n url?: string;\n id?: string;\n sceneId?: string;\n targetPitch?: number;\n targetYaw?: number;\n\n cssClass?: string;\n createTooltipFunc?: Function;\n createTooltipArgs?: any;\n};\n\nexport type StzhPanoramaLoadEvent = {\n component: \"stzh-panorama\";\n};\n\nexport type StzhPanoramaChangeEvent = {\n component: \"stzh-panorama\";\n value: { pitch: number; yaw: number; hfov: number };\n};\n\nexport type StzhPanoramaFullscreenChangeEvent = {\n component: \"stzh-panorama\";\n value: boolean;\n};\n\nexport type StzhPanoramaSceneChangeEvent = {\n component: \"stzh-panorama\";\n value: string;\n};\n\nexport type StzhPanoramaZoomChangeEvent = {\n component: \"stzh-panorama\";\n value: number;\n};\n\n/* Iframe */\n\nexport type StzhIframeView = \"iframe\" | \"cookiewall\" | \"preview\";\n\nexport type StzhIframeViewChangeEvent = {\n component: \"stzh-iframe\";\n value: StzhIframeView;\n};\n\nexport type StzhIframePreviewSkipEvent = {\n component: \"stzh-iframe\";\n};\n\n/* Olmap */\n\nexport type OlmapLayer = {\n title?: string;\n thumbnailUrl: string;\n options: {\n url: string;\n layer: string;\n matrixSet: string;\n origin: number[];\n extent: number[];\n };\n};\n\nexport type StzhOlmapInitializedEvent = {\n component: \"stzh-olmap\";\n};\n\nexport type StzhOlmapPostRenderEvent = {\n component: \"stzh-olmap\";\n};\n\nexport type StzhOlmapMoveStartEvent = {\n component: \"stzh-olmap\";\n};\n\nexport type StzhOlmapMoveEndEvent = {\n component: \"stzh-olmap\";\n};\n\n/* Sticky */\n\nexport type StzhStickyStuckTopEvent = {\n component: \"stzh-sticky\";\n sticky: boolean;\n};\n\nexport type StzhStickyStuckBottomEvent = {\n component: \"stzh-sticky\";\n sticky: boolean;\n};\n\n/* Table */\n\nexport type StzhDatatableCellData = {\n value: string | number;\n isHeader?: boolean;\n align?: \"left\" | \"right\" | \"center\";\n valign?: \"auto\" | \"middle\" | \"bottom\" | \"top\";\n id?: string;\n};\n\nexport type StzhDatatableRowData = {\n [key: string]: StzhDatatableCellData;\n};\n\nexport type StzhDatatableInputRowData = {\n [key: string]: StzhDatatableCellData | string | number;\n};\n\nexport type StzhDatatableColumnData = {\n key: string;\n text?: string;\n align?: \"left\" | \"right\" | \"center\";\n valign?: \"auto\" | \"middle\" | \"bottom\" | \"top\";\n sort?:\n | boolean\n | {\n type?: \"numerical\" | \"text\";\n field?: string;\n };\n fixed?: \"left\" | \"right\";\n isHeader?: boolean;\n hideColumnHeading?: boolean;\n analyticsId?: string;\n style?: {\n [key: string]: string;\n };\n};\n\nexport type StzhDatatableRowClickEvent = {\n component: \"stzh-datatable\";\n row: any;\n originalEvent: MouseEvent;\n};\n\nexport type StzhDatatableCellClickEvent = {\n component: \"stzh-datatable\";\n row: any;\n column: any;\n cellIndex: number;\n rowIndex: number;\n originalEvent: MouseEvent;\n};\n\nexport type StzhDatatableHeadingCellClickEvent = {\n component: \"stzh-datatable\";\n column: any;\n index: number;\n originalEvent: MouseEvent;\n};\n\nexport type StzhDatatableSortClickEvent = {\n component: \"stzh-datatable\";\n column: any;\n originalEvent: MouseEvent;\n};\n\nexport type StzhDatatableSortByChangeEvent = {\n component: \"stzh-datatable\";\n value: string;\n oldValue: string;\n};\n\nexport type StzhDatatableSortDirectionChangeEvent = {\n component: \"stzh-datatable\";\n value: \"asc\" | \"desc\";\n oldValue: \"asc\" | \"desc\";\n};\n\n/* Archivelist */\n\nexport type StzhArchivelistItem = {\n label: string;\n labelClamp?: any; // attributes of HTMLStzhClampElement\n href: string;\n dateline?: string;\n description?: string;\n descriptionClamp?: any; // attributes of HTMLStzhClampElement\n};\n\nexport type StzhArchivelistItemClickEvent = {\n component: \"stzh-archivelist\";\n item: StzhArchivelistItem;\n originalEvent: MouseEvent;\n};\n\n/* Anchornav */\n\nexport type StzhAnchornavItem = {\n label: string;\n href?: string;\n icon?: string;\n};\n\nexport type StzhAnchornavItemClickEvent = {\n component: \"stzh-anchornav\";\n item: StzhAnchornavItem;\n originalEvent: MouseEvent;\n};\n\n/* TopnewsMostsearchedSection */\n\nexport type StzhTopnewsItem = {\n subtitle?: string;\n label: string;\n href?: string;\n isHighlighted?: boolean;\n};\n\nexport type StzhMostsearchedItem = {\n label: string;\n href: string;\n};\n\n/* Status */\n\nexport type StzhStatusType =\n | \"default\"\n | \"success\"\n | \"warning\"\n | \"error\"\n | \"info\";\n\n/* Badge */\n\nexport type StzhBadgeType =\n | \"default\"\n | \"success\"\n | \"warning\"\n | \"error\"\n | \"info\";\n\n/* Actionset */\n\nexport type StzhActionsetItem = {\n id: string;\n label?: string;\n icon?: string;\n iconPosition?: \"left\" | \"right\";\n iconOnly?: boolean;\n badge?: string;\n badgeEmpty?: boolean;\n badgeType?: StzhBadgeType;\n variant?: StzhButtonVariant;\n size?: StzhButtonSize;\n badgePosition?: \"icon\" | \"button\";\n tooltipContent?: string;\n};\n\nexport type StzhActionsetItemClickEvent = {\n component: \"stzh-actionset\";\n action: StzhActionsetItem;\n originalEvent: MouseEvent;\n};\n\n/* Audio */\n\nexport type StzhAudioPlayEvent = {\n component: \"stzh-audio\";\n};\n\nexport type StzhAudioPlayingEvent = {\n component: \"stzh-audio\";\n};\n\nexport type StzhAudioPauseEvent = {\n component: \"stzh-audio\";\n};\n\nexport type StzhAudioReplayEvent = {\n component: \"stzh-audio\";\n};\n\nexport type StzhAudioEndEvent = {\n component: \"stzh-audio\";\n};\n\nexport type StzhAudioEndedEvent = {\n component: \"stzh-audio\";\n};\n\nexport type StzhAudioErrorEvent = {\n component: \"stzh-audio\";\n originalEvent: ErrorEvent;\n};\n\n/* Share */\n\nexport type ShareService =\n | \"facebook\"\n | \"twitter\"\n | \"linkedin\"\n | \"xing\"\n | \"mail\";\n\n/* Footer Editor */\n\nexport type StzhEditorLink = {\n label: string;\n href?: string;\n icon?: string;\n rel?: string;\n target?: string;\n};\n\n/* Header */\n\nexport type StzhHeaderMenuItem = {\n label: string;\n href?: string;\n items?: StzhHeaderMenuItem[];\n id?: string;\n};\n\nexport type StzhHeaderMetanavItem = {\n label: string;\n labelShort?: string;\n labelHidden?: boolean;\n stay?: boolean;\n stayAndShowInMobileMenu?: boolean;\n variant?: \"default\" | \"secondary\"; // used for menu-item and popover\n size?: \"default\" | \"large\"; // used for menu-item and popover\n important?: boolean;\n importantSubmenu?: boolean;\n badgeEmpty?: boolean;\n badgeType?: StzhBadgeType;\n badge?: string;\n icon?: string;\n iconOpen?: string;\n href?: string;\n target?: string;\n id?: string;\n items?: StzhHeaderMetanavItemChild[];\n itemButton?: StzhHeaderMetanavItemButton;\n};\n\nexport type StzhHeaderMetanavItemChild = {\n label: string;\n href?: string;\n target?: string;\n id?: string;\n icon?: string;\n counter?: number;\n badge?: string;\n badgeType?: StzhBadgeType;\n}\n\nexport type StzhHeaderMetanavItemButton = {\n label: string;\n href?: string;\n target?: string;\n size?: StzhButtonSize;\n id?: string;\n}\n\nexport type StzhHeaderMetanavItemClickEvent = {\n component: \"stzh-header\";\n item: StzhHeaderMetanavItem;\n originalEvent: MouseEvent;\n};\n\nexport type StzhHeaderMetanavItemChildClickEvent = {\n component: \"stzh-header\";\n itemChild: StzhHeaderMetanavItemChild;\n originalEvent: MouseEvent;\n};\n\nexport type StzhHeaderMetanavItemButtonClickEvent = {\n component: \"stzh-header\";\n itemButton: StzhHeaderMetanavItemButton;\n originalEvent: MouseEvent;\n};\n\nexport type StzhHeaderMenuItemClickEvent = {\n component: \"stzh-header\";\n item: StzhHeaderMenuItem;\n originalEvent: MouseEvent;\n};\n\nexport type StzhHeaderLanguageChangeEvent = {\n component: \"stzh-header\";\n value: string;\n};\n\nexport type StzhHeaderSearchChangeEvent = {\n component: \"stzh-header\";\n originalEvent: InputEvent | MouseEvent;\n value: string;\n};\n\nexport type StzhHeaderSearchChangedEvent = {\n component: \"stzh-header\";\n originalEvent: InputEvent | MouseEvent;\n value: string;\n};\n\n/* PI Pagetitle */\n\nexport type StzhPiPagetitleMenuItem = {\n label: string;\n href?: string;\n active?: boolean;\n items?: StzhPiPagetitleMenuItem[];\n id?: string;\n};\n\n/* Search */\n\nexport type StzhSearchOverlayCloseClickEvent = {\n component: \"stzh-search\";\n originalEvent: MouseEvent;\n};\n\n/* Breadcrumb */\n\nexport type StzhBreadcrumbItem = {\n label: string;\n href: string;\n};\n\nexport type StzhBreadcrumbItemClickEvent = {\n component: \"stzh-breadcrumb\";\n item: StzhBreadcrumbItem;\n originalEvent: MouseEvent;\n};\n\n/* Card */\n\nexport type StzhCardHeaderAction = {\n id: string;\n label?: string;\n icon?: string;\n badge?: string;\n badgeEmpty?: boolean;\n badgeType?: StzhBadgeType;\n};\n\nexport type StzhCardSubtitleClickEvent = {\n component: \"stzh-card\";\n originalEvent: MouseEvent;\n};\n\nexport type StzhCardCollapseEvent = {\n component: \"stzh-card\";\n collapsed: boolean;\n};\n\nexport type StzhCardClickEvent = {\n component: \"stzh-card\";\n originalEvent: MouseEvent;\n href: string;\n};\n\nexport type StzhCardStarClickEvent = {\n component: \"stzh-card\";\n starred: boolean;\n originalEvent: MouseEvent;\n};\n\nexport type StzhCardHeaderActionClickEvent = {\n component: \"stzh-card\";\n action: StzhCardHeaderAction;\n originalEvent: MouseEvent;\n};\n\n/* Card Navigation */\n\nexport type StzhCardNavigationClickEvent = {\n component: \"stzh-card-navigation\";\n originalEvent: MouseEvent;\n href: string;\n};\n\nexport type StzhPiCardNavigationClickEvent = {\n component: \"stzh-pi-content-navigation\";\n originalEvent: MouseEvent;\n href: string;\n};\n\n/* Pi Teaser */\n\nexport type StzhPiTeaserClickEvent = {\n component: \"stzh-pi-teaser\";\n originalEvent: MouseEvent;\n href: string;\n};\n\n/* Card Superteaser */\n\nexport type StzhCardSuperteaserClickEvent = {\n component: \"stzh-card-superteaser\";\n originalEvent: MouseEvent;\n href: string;\n};\n\n/* Card Searchresult */\n\nexport type StzhCardSearchresultClickEvent = {\n component: \"stzh-card-searchresult\";\n originalEvent: MouseEvent;\n href: string;\n};\n\n/* Search */\n\nexport type StzhSearchResult = {\n html?: string;\n href?: string;\n heading?: string;\n dateline?: string;\n description?: string;\n image?: string;\n imagePosition?: \"default\" | \"right\";\n tag?: string;\n topic?: string;\n service?: string;\n serviceColor?: string;\n serviceBackgroundColor?: string;\n meta?: string[];\n breadcrumbItems?: StzhBreadcrumbItem[];\n eventDateStart?: string;\n eventDateEnd?: string;\n eventLocation?: string;\n download?: string;\n downloadHeading?: string;\n downloadMeta?: string[];\n};\n\nexport type StzhSearchChipsResult = {\n label: string;\n value: string;\n amount?: number;\n options?: { text: string; value: string }[];\n};\n\n/* Microsite Teaserlist */\n\nexport type StzhMicrositeTeaserlistTag = {\n id: string;\n name: string;\n};\n\nexport type StzhMicrositeTeaserlistItem = {\n title?: string;\n description?: string;\n image?: string;\n link: string;\n tags: string[];\n teaserid: string;\n};\n\n/* Cardlist */\n\nexport type StzhCardlistCollapseAllEvent = {\n component: \"stzh-cardlist\";\n allCollapsed: boolean;\n};\n\n/* Calendar */\n\nexport type StzhCalendarChangeEvent = {\n component: \"stzh-calendar\";\n valueAsDate: Date;\n value: string;\n};\n\n/* Datepicker */\n\nexport type StzhDatepickerChangeEvent = {\n component: \"stzh-datepicker\";\n value: string;\n valueAsDate: Date;\n};\n\n/* Pagination */\n\nexport type StzhPaginationChangeEvent = {\n component: \"stzh-pagination\";\n page: number;\n};\n\n/* Timepicker */\n\nexport type StzhTimepickerChangeEvent = {\n component: \"stzh-timepicker\";\n value: string;\n};\n\n/* Monthyearpicker */\n\nexport type StzhMonthyearpickerChangeEvent = {\n component: \"stzh-monthyearpicker\";\n value: string;\n valueMonth: string;\n valueYear: string;\n};\n\n/* Amount */\n\nexport type StzhAmountChangeEvent = {\n component: \"stzh-amount\";\n value: string;\n};\n\n/* Appointments */\n\nexport type StzhAppointmentsChangeEvent = {\n component: \"stzh-appointments\";\n value: string;\n};\n\n/* Skiplink */\n\nexport type StzhSkiplinkFocusEvent = {\n component: \"stzh-skiplink\";\n originalEvent: FocusEvent;\n};\n\nexport type StzhSkiplinkBlurEvent = {\n component: \"stzh-skiplink\";\n originalEvent: FocusEvent;\n};\n\n/* Checkbox */\n\nexport type StzhCheckboxChangeEvent = {\n component: \"stzh-checkbox\";\n originalEvent: InputEvent | Event;\n value: string;\n checked: boolean;\n};\n\nexport type StzhCheckboxFocusEvent = {\n component: \"stzh-checkbox\";\n originalEvent: FocusEvent;\n};\n\nexport type StzhCheckboxBlurEvent = {\n component: \"stzh-checkbox\";\n originalEvent: FocusEvent;\n};\n\nexport type StzhCheckboxgroupChangeEvent = {\n component: \"stzh-checkboxgroup\";\n value: string[];\n};\n\n/* Toggle */\n\nexport type StzhToggleChangeEvent = {\n component: \"stzh-toggle\";\n originalEvent: InputEvent;\n value: string;\n checked: boolean;\n};\n\nexport type StzhToggleFocusEvent = {\n component: \"stzh-toggle\";\n originalEvent: FocusEvent;\n};\n\nexport type StzhToggleBlurEvent = {\n component: \"stzh-toggle\";\n originalEvent: FocusEvent;\n};\n\n/* Button */\n\nexport type StzhButtonVariant =\n | \"default\"\n | \"secondary\"\n | \"tertiary\"\n | \"tertiary-plain\";\nexport type StzhButtonSize = \"default\" | \"small\" | \"tiny\";\n\nexport type StzhButtonFocusEvent = {\n component: \"stzh-button\";\n originalEvent: FocusEvent;\n};\n\nexport type StzhButtonBlurEvent = {\n component: \"stzh-button\";\n originalEvent: FocusEvent;\n};\n\nexport type StzhButtonClickEvent = {\n component: \"stzh-button\";\n originalEvent: MouseEvent;\n href: string;\n};\n\nexport type StzhButtonChangeEvent = {\n component: \"stzh-button\";\n originalEvent: InputEvent;\n value: string;\n checked: boolean;\n};\n\n/* Link */\n\nexport type StzhLinkSize = \"default\" | \"small\" | \"inherit\";\n\nexport type StzhLinkFocusEvent = {\n component: \"stzh-link\";\n originalEvent: FocusEvent;\n};\n\nexport type StzhLinkBlurEvent = {\n component: \"stzh-link\";\n originalEvent: FocusEvent;\n};\n\nexport type StzhLinkClickEvent = {\n component: \"stzh-link\";\n originalEvent: MouseEvent;\n href: string;\n};\n\n/* Menu (Item) */\n\nexport type StzhMenuVariant = \"default\" | \"secondary\";\nexport type StzhMenuSize = \"default\" | \"large\";\n\nexport type StzhMenuItemFocusEvent = {\n component: \"stzh-menu-item\";\n originalEvent: FocusEvent;\n};\n\nexport type StzhMenuItemBlurEvent = {\n component: \"stzh-menu-item\";\n originalEvent: FocusEvent;\n};\n\nexport type StzhMenuItemClickEvent = {\n component: \"stzh-menu-item\";\n originalEvent: MouseEvent;\n href: string;\n};\n\n/* Carousel */\n\nexport type StzhCarouselSlideStartEvent = {\n component: \"stzh-carousel\";\n index: number;\n};\n\nexport type StzhCarouselSlidePassedEvent = {\n component: \"stzh-carousel\";\n index: number;\n};\n\nexport type StzhCarouselSlideEndEvent = {\n component: \"stzh-carousel\";\n index: number;\n};\n\n/* Chipselect */\n\nexport type StzhChipselectItem = {\n label: string;\n value: string;\n disabled?: boolean;\n variant?: StzhChipVariant;\n type?: StzhChipType;\n inverted?: boolean;\n counter?: string;\n icon?: string;\n size?: StzhChipSize;\n};\n\nexport type StzhChipselectChangeEvent = {\n component: \"stzh-chipselect\";\n value: string[] | string;\n};\n\n/* Gallery */\n\nexport type StzhGalleryItem = {\n width: number;\n height: number;\n src: string;\n srcLightbox?: string;\n srcsetLightbox?: string;\n alt?: string;\n copyright?: string;\n heading?: string;\n headingLightbox?: string;\n caption?: string;\n captionLightbox?: string;\n lightboxHtml?: string;\n hideCounter?: boolean;\n};\n\n/* Datalist */\n\nexport type StzhDatalistItemEntry = {\n value: string;\n leadingIcon?: string;\n label?: string;\n meta?: string;\n icon?: string;\n iconLabel?: string;\n iconTooltip?: string;\n statusLabel?: string;\n statusType?: StzhStatusType;\n href?: string;\n rel?: string;\n target?: string;\n items?: StzhDatalistItemEntry[];\n};\n\nexport type StzhDatalistVariant = \"default\" | \"table\";\nexport type StzhDatalistDirection = \"vertical\" | \"horizontal\";\n\nexport type StzhDatalistVariantChangeEvent = {\n component: \"stzh-datalist\";\n value: StzhDatalistVariant;\n};\n\nexport type StzhDatalistDirectionChangeEvent = {\n component: \"stzh-datalist\";\n value: \"vertical\" | \"horizontal\";\n};\n\n/* Datalist Item */\n\nexport type StzhDatalistItemActionClickEvent = {\n component: \"stzh-datalist-item\";\n originalEvent: MouseEvent;\n};\n\nexport type StzhDatalistItemClickEvent = {\n component: \"stzh-datalist-item\";\n originalEvent: MouseEvent;\n href: string;\n};\n\n/* Datamessagelist */\n\nexport type StzhDatamessagelistItemEntryMeta = {\n label: string;\n value: string;\n};\n\nexport type StzhDatamessagelistItemEntryAction = {\n id: string | number;\n icon: string;\n label: string;\n badge?: string;\n};\n\nexport type StzhDatamessagelistItemEntryTag = {\n icon: string;\n label: string;\n type?: StzhChipType;\n inverted?: boolean;\n};\n\nexport type StzhDatamessagelistItemEntryLoadingStatus = {\n percent: number;\n label: string;\n type: \"default\" | \"success\" | \"warning\" | \"error\";\n};\n\nexport type StzhDatamessagelistItemClickEvent = {\n component: \"stzh-datamessagelist-item\";\n originalEvent: MouseEvent;\n href: string;\n};\n\nexport type StzhDatamessagelistItemActionClickEvent = {\n component: \"stzh-datamessagelist-item\";\n action: StzhDatamessagelistItemEntryAction;\n originalEvent: MouseEvent;\n};\n\n/* Cta */\n\nexport type StzhCtaFocusEvent = {\n component: \"stzh-cta\";\n originalEvent: FocusEvent;\n};\n\nexport type StzhCtaBlurEvent = {\n component: \"stzh-cta\";\n originalEvent: FocusEvent;\n};\n\nexport type StzhCtaClickEvent = {\n component: \"stzh-cta\";\n originalEvent: MouseEvent;\n href: string;\n};\n\n/* Tag */\n\nexport type StzhTagSize = \"default\" | \"large\";\nexport type StzhTagType = \"default\" | \"secondary\";\n\nexport type StzhTagClickEvent = {\n component: \"stzh-tag\";\n originalEvent: MouseEvent;\n href: string;\n};\n\nexport type StzhTagFocusEvent = {\n component: \"stzh-tag\";\n originalEvent: FocusEvent;\n};\n\nexport type StzhTagBlurEvent = {\n component: \"stzh-tag\";\n originalEvent: FocusEvent;\n};\n\n/* Chip */\n\nexport type StzhChipVariant = \"tag\" | \"filter\" | \"input\";\nexport type StzhChipSize = \"default\" | \"small\" | \"large\";\nexport type StzhChipType = \"default\" | \"success\" | \"warning\" | \"error\" | \"info\";\n\nexport type StzhChipClickEvent = {\n component: \"stzh-chip\";\n originalEvent: MouseEvent;\n href: string;\n};\n\nexport type StzhChipRemoveEvent = {\n component: \"stzh-chip\";\n originalEvent: MouseEvent;\n};\n\nexport type StzhChipFocusEvent = {\n component: \"stzh-chip\";\n originalEvent: FocusEvent;\n};\n\nexport type StzhChipBlurEvent = {\n component: \"stzh-chip\";\n originalEvent: FocusEvent;\n};\n\n/* VBZ Major Ticker */\n\nexport type StzhVbzMajortickerDisturbance = {\n id: string;\n head: string;\n text: string;\n startDate: Date;\n endDate: Date;\n altStart: string;\n altEnd: string;\n infoUrl?: VbzTickerInfoUrl;\n};\n\nexport type StzhVbzMajortickerDisturbanceFetchedEvent = {\n component: \"stzh-vbz-majorticker\";\n disturbance: StzhVbzMajortickerDisturbance | null;\n};\n\n/* VBZ Ticker */\n\nexport type VbzTickerInfoUrl = {\n name: string;\n url: string;\n};\n\nexport type VbzTickerDisturbance = {\n id: string;\n head: string;\n startDate: Date;\n endDate: Date;\n altStart: string;\n altEnd: string;\n baseType?: string;\n infoUrl?: VbzTickerInfoUrl;\n category:\n | typeof VBZ.DISTURBANCE_INFORMATION\n | typeof VBZ.DISTURBANCE_CONSTRUCTION\n | typeof VBZ.DISTURBANCE_NORMAL\n | typeof VBZ.DISTURBANCE_EVENT\n | typeof VBZ.DISTURBANCE_BUS;\n};\n\nexport type VbzTickerLine = {\n line: VBZ.Lines;\n name: string;\n disturbances: VbzTickerDisturbance[];\n // whether normal or big disturbance for this line exist\n alert: boolean;\n // 2 = Fernverkehr / 16 = Schiff / 32 = S-Bahn/Reg / 64 = Bus / 128 = Bergbahn / 256 = Nachtnetz / 512 = Tram\n category: \"2\" | \"16\" | \"32\" | \"64\" | \"128\" | \"256\" | \"512\";\n};\n\n/* VBZ Line Chip */\n\nexport type StzhVbzLinechipLine = {\n color: string;\n background: string;\n comment?: string;\n};\n\nexport type StzhVbzLinechipFocusEvent = {\n component: \"stzh-vbz-linechip\";\n originalEvent: FocusEvent;\n};\n\nexport type StzhVbzLinechipBlurEvent = {\n component: \"stzh-vbz-linechip\";\n originalEvent: FocusEvent;\n};\n\n/* Clamp */\n\nexport type StzhClampClampEvent = {\n component: \"stzh-clamp\";\n clamped: boolean;\n};\n\nexport type StzhClampExpandEvent = {\n component: \"stzh-clamp\";\n expanded: boolean;\n};\n\n/* Image Comparison */\n\nexport type StzhImagecomparisonChangeEvent = {\n component: \"stzh-imagecomparison\";\n originalEvent: InputEvent;\n value: number;\n};\n\n/* Dialog */\n\nexport type StzhDialogOpenEvent = {\n component: \"stzh-dialog\";\n};\n\nexport type StzhDialogCloseEvent = {\n component: \"stzh-dialog\";\n};\n\n/* Contact */\n\nexport type ContactEmail = {\n label: string;\n text: string;\n href?: string;\n analyticsId?: string;\n};\n\nexport type ContactNumber = {\n type: \"tel\" | \"fax\";\n label: string;\n number: string;\n analyticsId?: string;\n};\n\nexport type StzhContactAvailabilityItem = {\n weekday: string;\n hours: string[];\n};\n\n/* Eventinfo */\n\nexport type StzhEventinfoItemInput = {\n calendarUrl?: string;\n calendarLabel?: string;\n start: string | Date;\n end: string | Date;\n};\n\nexport type StzhEventinfoItem = {\n calendarUrl?: string;\n calendarLabel?: string;\n start: Date;\n end: Date;\n};\n\nexport type StzhEventinfoMonth = {\n name: string;\n events: StzhEventinfoItem[];\n};\n\n/* Overlay */\n\nexport type StzhOverlayOpenEvent = {\n component: \"stzh-overlay\";\n};\n\nexport type StzhOverlayCloseEvent = {\n component: \"stzh-overlay\";\n};\n\n/* Banner */\n\nexport type StzhBannerOpenEvent = {\n component: \"stzh-banner\";\n};\n\nexport type StzhBannerCloseEvent = {\n component: \"stzh-banner\";\n};\n\n/* Message */\n\nexport type StzhMessageOpenEvent = {\n component: \"stzh-message\";\n};\n\nexport type StzhMessageCloseEvent = {\n component: \"stzh-message\";\n};\n\n/* Toastbar */\n\nexport type StzhToastbarInitialToast = {\n label: string;\n type?: StzhToastType;\n link?:\n | HTMLStzhLinkElement\n | {\n href: string;\n label: string;\n };\n cookie?: string;\n cookieExpires?: number;\n};\n\n/* Disturber */\n\nexport type StzhDisturberOpenEvent = {\n component: \"stzh-disturber\";\n};\n\nexport type StzhDisturberCloseEvent = {\n component: \"stzh-disturber\";\n};\n\nexport type StzhDisturberOpenedEvent = {\n component: \"stzh-disturber\";\n};\n\nexport type StzhDisturberClosedEvent = {\n component: \"stzh-disturber\";\n};\n\n/* Toast */\n\nexport type StzhToastType = \"info\" | \"success\" | \"warning\" | \"error\";\n\nexport type StzhToastOpenEvent = {\n component: \"stzh-toast\";\n};\n\nexport type StzhToastCloseEvent = {\n component: \"stzh-toast\";\n};\n\nexport type StzhToastOpenedEvent = {\n component: \"stzh-toast\";\n};\n\nexport type StzhToastClosedEvent = {\n component: \"stzh-toast\";\n};\n\n/* Ghettobox */\n\nexport type StzhGhettoboxOpenEvent = {\n component: \"stzh-ghettobox\";\n};\n\nexport type StzhGhettoboxCloseEvent = {\n component: \"stzh-ghettobox\";\n};\n\n/* Input */\n\nexport type StzhInputChangeEvent = {\n component: \"stzh-input\";\n originalEvent: InputEvent | MouseEvent;\n value: string;\n};\n\nexport type StzhInputChangedEvent = {\n component: \"stzh-input\";\n originalEvent: InputEvent | MouseEvent;\n value: string;\n};\n\nexport type StzhInputFocusEvent = {\n component: \"stzh-input\";\n originalEvent: FocusEvent;\n};\n\nexport type StzhInputBlurEvent = {\n component: \"stzh-input\";\n originalEvent: FocusEvent;\n};\n\n/* Popover */\n\nexport type StzhPopoverOpenEvent = {\n component: \"stzh-popover\";\n};\n\nexport type StzhPopoverOpenedEvent = {\n component: \"stzh-popover\";\n};\n\nexport type StzhPopoverCloseEvent = {\n component: \"stzh-popover\";\n};\n\nexport type StzhPopoverClosedEvent = {\n component: \"stzh-popover\";\n};\n\n/* Timeline */\n\nexport type StzhTimelineFoldableChangeEvent = {\n component: \"stzh-timeline\";\n value: boolean;\n};\n\n/* TimelineItem */\n\nexport type StzhTimelineItemOpenEvent = {\n component: \"stzh-timeline-item\";\n};\n\nexport type StzhTimelineItemOpenedEvent = {\n component: \"stzh-timeline-item\";\n};\n\nexport type StzhTimelineItemCloseEvent = {\n component: \"stzh-timeline-item\";\n};\n\nexport type StzhTimelineItemClosedEvent = {\n component: \"stzh-timeline-item\";\n};\n\nexport type StzhTimelineItemFocusEvent = {\n component: \"stzh-timeline-item\";\n originalEvent: FocusEvent;\n};\n\nexport type StzhTimelineItemBlurEvent = {\n component: \"stzh-timeline-item\";\n originalEvent: FocusEvent;\n};\n\n/* Accordion */\n\nexport type StzhAccordionVariant = \"default\" | \"title\" | \"table\" | \"menu\";\n\nexport type StzhAccordionVariantChangeEvent = {\n component: \"stzh-accordion\";\n value: StzhAccordionVariant;\n};\n\nexport type StzhAccordionItemOpenEvent = {\n component: \"stzh-accordion-item\";\n};\n\nexport type StzhAccordionItemOpenedEvent = {\n component: \"stzh-accordion-item\";\n};\n\nexport type StzhAccordionItemCloseEvent = {\n component: \"stzh-accordion-item\";\n};\n\nexport type StzhAccordionItemClosedEvent = {\n component: \"stzh-accordion-item\";\n};\n\nexport type StzhAccordionItemFocusEvent = {\n component: \"stzh-accordion-item\";\n originalEvent: FocusEvent;\n};\n\nexport type StzhAccordionItemBlurEvent = {\n component: \"stzh-accordion-item\";\n originalEvent: FocusEvent;\n};\n\n/* Pi Menu */\n\nexport type StzhPiMenuOpenEvent = {\n component: \"stzh-pi-menu\";\n};\n\nexport type StzhPiMenuOpenedEvent = {\n component: \"stzh-pi-menu\";\n};\n\nexport type StzhPiMenuCloseEvent = {\n component: \"stzh-pi-menu\";\n};\n\nexport type StzhPiMenuClosedEvent = {\n component: \"stzh-pi-menu\";\n};\n\nexport type StzhPiMenuItemClickEvent = {\n component: \"stzh-pi-menu\";\n originalEvent: MouseEvent;\n};\n\n/* Tooltip */\n\nexport type StzhTooltipOpenEvent = {\n component: \"stzh-tooltip\";\n};\n\nexport type StzhTooltipOpenedEvent = {\n component: \"stzh-tooltip\";\n};\n\nexport type StzhTooltipCloseEvent = {\n component: \"stzh-tooltip\";\n};\n\nexport type StzhTooltipClosedEvent = {\n component: \"stzh-tooltip\";\n};\n\n/* Radio */\n\nexport type StzhRadioChangeEvent = {\n component: \"stzh-radio\";\n originalEvent: InputEvent;\n value: string;\n checked: boolean;\n};\n\nexport type StzhRadioFocusEvent = {\n component: \"stzh-radio\";\n originalEvent: FocusEvent;\n};\n\nexport type StzhRadioBlurEvent = {\n component: \"stzh-radio\";\n originalEvent: FocusEvent;\n};\n\n/* Daterange */\n\nexport type StzhDaterangeRanges = \"today\" | \"tomorrow\" | \"next7days\";\n\n/* Dropdown */\n\nexport type StzhDropdownSize = \"default\" | \"small\" | \"tiny\" | StzhChipSize;\n\nexport type StzhDropdownOption = {\n text: string;\n value: string;\n disabled?: boolean;\n};\n\nexport type StzhDropdownChangeEvent = {\n component: \"stzh-dropdown\";\n value: string | string[];\n};\n\nexport type StzhDropdownItemAddEvent = {\n component: \"stzh-dropdown\";\n value: string;\n};\n\nexport type StzhDropdownItemRemoveEvent = {\n component: \"stzh-dropdown\";\n value: string;\n};\n\nexport type StzhDropdownOptionAddEvent = {\n component: \"stzh-dropdown\";\n value: string;\n};\n\nexport type StzhDropdownOptionRemoveEvent = {\n component: \"stzh-dropdown\";\n value: string;\n};\n\nexport type StzhDropdownOpenEvent = {\n component: \"stzh-dropdown\";\n};\n\nexport type StzhDropdowCloseEvent = {\n component: \"stzh-dropdown\";\n};\n\nexport type StzhDropdownFocusEvent = {\n component: \"stzh-dropdown\";\n originalEvent: {\n target: Element;\n };\n};\n\nexport type StzhDropdownBlurEvent = {\n component: \"stzh-dropdown\";\n};\n\nexport type StzhDropdowInitEvent = {\n component: \"stzh-dropdown\";\n};\n\n/** Progressbar */\n\nexport type StzhProgressbarDataItem = {\n label: string;\n icon?: string;\n disabled?: boolean;\n analyticsId?: string;\n};\n\n/* Progressbar Item */\n\nexport type StzhProgressbarItemClickEvent = {\n component: \"stzh-progressbar-item\";\n originalEvent: MouseEvent;\n index: number;\n};\n\nexport type StzhProgressbarItemDottedClickEvent = {\n component: \"stzh-progressbar-item\";\n originalEvent: MouseEvent;\n index: number;\n};\n\n/* Upload */\n\nexport type StzhUploadFilesItem = {\n name: string;\n size: number;\n [key: string]: any;\n};\n\nexport type StzhUploadFile = File & {\n xhr: XMLHttpRequest;\n status: string;\n upload: any;\n accepted: boolean;\n previewElement: HTMLElement;\n};\n\nexport type StzhUploadFileAddedEvent = {\n component: \"stzh-upload\";\n file: StzhUploadFile;\n};\n\nexport type StzhUploadFilesAddedEvent = {\n component: \"stzh-upload\";\n files: StzhUploadFile[];\n};\n\nexport type StzhUploadFileRemoveEvent = {\n component: \"stzh-upload\";\n file: StzhUploadFile;\n};\n\nexport type StzhUploadFileRemovedEvent = {\n component: \"stzh-upload\";\n file: StzhUploadFile;\n force: boolean;\n};\n\nexport type StzhUploadSendingEvent = {\n component: \"stzh-upload\";\n file: StzhUploadFile;\n xhr: XMLHttpRequest;\n formData: FormData;\n};\n\nexport type StzhUploadSendingMultipleEvent = {\n component: \"stzh-upload\";\n files: StzhUploadFile[];\n xhr: XMLHttpRequest;\n formData: FormData;\n};\n\nexport type StzhUploadProcessingEvent = {\n component: \"stzh-upload\";\n file: StzhUploadFile;\n};\n\nexport type StzhUploadProcessingMultipleEvent = {\n component: \"stzh-upload\";\n files: StzhUploadFile[];\n};\n\nexport type StzhUploadProgressEvent = {\n component: \"stzh-upload\";\n file: StzhUploadFile;\n progress: number;\n bytesSent: number;\n};\n\nexport type StzhUploadProgressTotalEvent = {\n component: \"stzh-upload\";\n totalUploadProgress: number;\n totalBytes: number;\n totalBytesSent: number;\n};\n\nexport type StzhUploadErrorEvent = {\n component: \"stzh-upload\";\n file: StzhUploadFile;\n message: string;\n xhr: XMLHttpRequest;\n};\n\nexport type StzhUploadErrorMultipleEvent = {\n component: \"stzh-upload\";\n files: StzhUploadFile[];\n message: string;\n xhr: XMLHttpRequest;\n};\n\nexport type StzhUploadSuccessEvent = {\n component: \"stzh-upload\";\n file: StzhUploadFile;\n responseText: string;\n event: ProgressEvent;\n};\n\nexport type StzhUploadSuccessMultipleEvent = {\n component: \"stzh-upload\";\n files: StzhUploadFile[];\n responseText: string;\n event: ProgressEvent;\n};\n\nexport type StzhUploadCanceledEvent = {\n component: \"stzh-upload\";\n file: StzhUploadFile;\n};\n\nexport type StzhUploadCanceledMultipleEvent = {\n component: \"stzh-upload\";\n files: StzhUploadFile[];\n};\n\nexport type StzhUploadCompleteEvent = {\n component: \"stzh-upload\";\n file: StzhUploadFile;\n};\n\nexport type StzhUploadCompleteMultipleEvent = {\n component: \"stzh-upload\";\n files: StzhUploadFile[];\n};\n\n// Merged Types\n\nexport type StzhFocusEvent =\n | StzhAccordionItemFocusEvent\n | StzhButtonFocusEvent\n | StzhCheckboxFocusEvent\n | StzhChipFocusEvent\n | StzhDropdownFocusEvent\n | StzhInputFocusEvent\n | StzhLinkFocusEvent\n | StzhMenuItemFocusEvent\n | StzhRadioFocusEvent\n | StzhToggleFocusEvent\n | StzhVbzLinechipFocusEvent\n | StzhSkiplinkFocusEvent;\n\n// ---\n// Prop Types\n// ---\n\nexport type StzhCalendarDateDisabledPredicate = (date: Date) => boolean;\n\nexport namespace Layout {\n export type Ratio = \"16:9\" | \"1:1\" | \"5:4\" | \"4:3\" | \"3:2\" | \"2:1\" | \"21:9\";\n\n export type Justify =\n | \"start\"\n | \"end\"\n | \"center\"\n | \"between\"\n | \"around\"\n | \"evenly\";\n\n export type Items = \"start\" | \"end\" | \"center\" | \"baseline\" | \"stretch\";\n\n export type JustifySelf = \"auto\" | Justify;\n\n export type AlignSelf = \"auto\" | Items;\n}\n\nexport namespace Space {\n export type Sizes =\n | \"xxxsmall\"\n | \"xxsmall\"\n | \"xsmall\"\n | \"small\"\n | \"medium\"\n | \"large\"\n | \"xlarge\"\n | \"xxlarge\"\n | \"xxxlarge\"\n | \"xxxxlarge\"\n | \"big\"\n | \"xbig\"\n | \"huge\"\n | \"xhuge\"\n | \"none\"\n | \"inherit\";\n\n export type Curves =\n | \"tiny\"\n | \"small\"\n | \"regular\"\n | \"medium\"\n | \"large\"\n | \"big\"\n | \"huge\"\n | \"none\";\n}\n\nexport namespace Font {\n export type Fonts = \"light\" | \"regular\" | \"medium\" | \"heavy\" | \"default\";\n\n export type Sizes =\n | \"pico\"\n | \"nano\"\n | \"micro\"\n | \"milli\"\n | \"centi\"\n | \"deci\"\n | \"regular\"\n | \"deca\"\n | \"hecto\"\n | \"kilo\"\n | \"mega\"\n | \"giga\"\n | \"hero\";\n\n export type Curves =\n | \"p1\"\n | \"p2\"\n | \"lead\"\n | \"caption\"\n | \"h4\"\n | \"h3\"\n | \"h2\"\n | \"h1\"\n | \"hero\"\n | \"h1home\"\n | \"default\"\n | \"none\";\n}\n\nexport namespace VBZ {\n export const BASE_TYPE_GLOBAL = \"GLOBAL\";\n\n export const CHANNEL_TICKER = \"ticker\";\n export const CHANNEL_INFO_URL_FILTER = \"stadt-zuerich.ch/vbz\";\n\n export const DISTURBANCE_GLOBAL = \"__global__\";\n export const DISTURBANCE_INFORMATION = \"0\";\n export const DISTURBANCE_CONSTRUCTION = \"1\";\n export const DISTURBANCE_NORMAL = \"2\";\n export const DISTURBANCE_EVENT = \"4\";\n export const DISTURBANCE_BUS = \"5\";\n\n export type Lines =\n | \"2\"\n | \"3\"\n | \"4\"\n | \"5\"\n | \"6\"\n | \"7\"\n | \"8\"\n | \"9\"\n | \"10\"\n | \"11\"\n | \"12\"\n | \"13\"\n | \"14\"\n | \"15\"\n | \"16\"\n | \"17\"\n | \"19\"\n | \"20\"\n | \"21\"\n | \"23\"\n | \"24\"\n | \"25\"\n | \"29\"\n | \"31\"\n | \"32\"\n | \"33\"\n | \"34\"\n | \"35\"\n | \"36\"\n | \"37\"\n | \"38\"\n | \"39\"\n | \"40\"\n | \"45\"\n | \"46\"\n | \"54\"\n | \"61\"\n | \"62\"\n | \"63\"\n | \"64\"\n | \"66\"\n | \"67\"\n | \"69\"\n | \"70\"\n | \"72\"\n | \"73\"\n | \"75\"\n | \"76\"\n | \"77\"\n | \"78\"\n | \"79\"\n | \"80\"\n | \"83\"\n | \"89\"\n | \"91\"\n | \"94\"\n | \"95\"\n | \"99\"\n | \"151\"\n | \"152\"\n | \"153\"\n | \"156\"\n | \"161\"\n | \"162\"\n | \"163\"\n | \"165\"\n | \"184\"\n | \"185\"\n | \"200\"\n | \"201\"\n | \"215\"\n | \"220\"\n | \"235\"\n | \"236\"\n | \"245\"\n | \"301\"\n | \"302\"\n | \"303\"\n | \"304\"\n | \"305\"\n | \"306\"\n | \"307\"\n | \"308\"\n | \"309\"\n | \"311\"\n | \"314\"\n | \"315\"\n | \"317\"\n | \"321\"\n | \"323\"\n | \"325\"\n | \"350\"\n | \"444\"\n | \"445\"\n | \"701\"\n | \"702\"\n | \"703\"\n | \"704\"\n | \"705\"\n | \"720\"\n | \"721\"\n | \"725\"\n | \"726\"\n | \"727\"\n | \"742\"\n | \"743\"\n | \"744\"\n | \"745\"\n | \"747\"\n | \"748\"\n | \"751\"\n | \"752\"\n | \"753\"\n | \"754\"\n | \"759\"\n | \"760\"\n | \"765\"\n | \"768\"\n | \"781\"\n | \"786\"\n | \"787\"\n | \"910\"\n | \"912\"\n | \"916\"\n | \"917\"\n | \"918\"\n | \"919\"\n | \"E\"\n | \"N\"\n | \"N1\"\n | \"N2\"\n | \"N4\"\n | \"N5\"\n | \"N6\"\n | \"N7\"\n | \"N8\"\n | \"N9\"\n | \"N10\"\n | \"N11\"\n | \"N12\"\n | \"N13\"\n | \"N14\"\n | \"N15\"\n | \"N16\"\n | \"N17\"\n | \"N18\"\n | \"N19\"\n | \"N30\"\n | \"N31\"\n | \"N32\"\n | \"N33\"\n | \"N34\"\n | \"N45\"\n | \"N72\"\n | \"N78\"\n | \"SN1\"\n | \"SN4\"\n | \"SN5\"\n | \"SN6\"\n | \"SN7\"\n | \"SN8\"\n | \"SN9\"\n | \"S2\"\n | \"S3\"\n | \"S4\"\n | \"S5\"\n | \"S6\"\n | \"S7\"\n | \"S8\"\n | \"S9\"\n | \"S10\"\n | \"S11\"\n | \"S14\"\n | \"S15\"\n | \"S16\"\n | \"S18\"\n | \"S19\"\n | \"S20\"\n | \"S21\"\n | \"S23\"\n | \"S24\"\n | \"S25\";\n}\n\n// ---\n// Stencil component types\n// ---\n\nexport * from \"./components\";\n"]}
@@ -0,0 +1,16 @@
1
+ import { test } from "@playwright/test";
2
+ import { visualDiff } from "../../../.build/test/utils";
3
+ const URL = "pages-home";
4
+ const STORIES = [];
5
+ test.describe("page: home", () => {
6
+ STORIES.forEach((storyId) => {
7
+ test(`story ${storyId} visual diff`, async ({ page }) => {
8
+ await visualDiff({
9
+ storyId,
10
+ page,
11
+ url: URL,
12
+ });
13
+ });
14
+ });
15
+ });
16
+ //# sourceMappingURL=home.e2e.js.map