@oiz/stzh-components 4.6.0 → 4.7.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 (689) hide show
  1. package/dist/cjs/{app-globals-237b22c8.js → app-globals-c14f30c8.js} +2 -2
  2. package/dist/cjs/{app-globals-237b22c8.js.map → app-globals-c14f30c8.js.map} +1 -1
  3. package/dist/cjs/index.cjs.js.map +1 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/stzh-accordion_3.cjs.entry.js +2 -2
  6. package/dist/cjs/stzh-actions_6.cjs.entry.js +1 -1
  7. package/dist/cjs/stzh-actionset.cjs.entry.js +5 -5
  8. package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
  11. package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-audio.cjs.entry.js +3 -3
  13. package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
  14. package/dist/cjs/stzh-banner.cjs.entry.js +2 -2
  15. package/dist/cjs/stzh-banner.cjs.entry.js.map +1 -1
  16. package/dist/cjs/stzh-bathstatus-item.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-bathstatus-list.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-card-superteaser.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-cardlist_3.cjs.entry.js +1 -1
  20. package/dist/cjs/stzh-cardlist_3.cjs.entry.js.map +1 -1
  21. package/dist/cjs/stzh-chipselect.cjs.entry.js +11 -6
  22. package/dist/cjs/stzh-chipselect.cjs.entry.js.map +1 -1
  23. package/dist/cjs/stzh-components.cjs.js +2 -2
  24. package/dist/cjs/stzh-contact-cv.cjs.entry.js +1 -1
  25. package/dist/cjs/stzh-contact.cjs.entry.js +1 -1
  26. package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
  27. package/dist/cjs/stzh-dropdown.cjs.entry.js +11 -4
  28. package/dist/cjs/stzh-dropdown.cjs.entry.js.map +1 -1
  29. package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
  31. package/dist/cjs/stzh-eventinfo.cjs.entry.js +1 -1
  32. package/dist/cjs/stzh-feedreader-item.cjs.entry.js +1 -1
  33. package/dist/cjs/stzh-feedreader.cjs.entry.js +1 -1
  34. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +24 -16
  35. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js.map +1 -1
  36. package/dist/cjs/stzh-ghettobox_3.cjs.entry.js +2 -2
  37. package/dist/cjs/stzh-ghettobox_3.cjs.entry.js.map +1 -1
  38. package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
  39. package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +2 -2
  40. package/dist/cjs/stzh-linklist.cjs.entry.js +1 -1
  41. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  42. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  43. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  44. package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
  45. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
  47. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
  49. package/dist/cjs/stzh-pi-menu.cjs.entry.js +2 -2
  50. package/dist/cjs/stzh-pi-menu.cjs.entry.js.map +1 -1
  51. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +2 -2
  52. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js.map +1 -1
  53. package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
  54. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +1 -1
  55. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
  56. package/dist/cjs/stzh-poicard.cjs.entry.js +1 -1
  57. package/dist/cjs/stzh-poilist.cjs.entry.js +1 -1
  58. package/dist/cjs/stzh-print_2.cjs.entry.js +1 -1
  59. package/dist/cjs/stzh-search.cjs.entry.js +2 -2
  60. package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
  61. package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
  62. package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
  63. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  64. package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
  65. package/dist/cjs/stzh-upload.cjs.entry.js +45 -10
  66. package/dist/cjs/stzh-upload.cjs.entry.js.map +1 -1
  67. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +46 -4
  68. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js.map +1 -1
  69. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +4 -2
  70. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js.map +1 -1
  71. package/dist/collection/collection-manifest.json +1 -1
  72. package/dist/collection/components/CMS/PKZH/stzh-pkzh-qr/stzh-pkzh-qr.stories.js +1 -3
  73. package/dist/collection/components/CMS/VBZ/stzh-vbz-carousel/stzh-vbz-carousel.stories.js +1 -3
  74. package/dist/collection/components/CMS/VBZ/stzh-vbz-connection-finder/stzh-vbz-connection-finder.stories.js +1 -6
  75. package/dist/collection/components/CMS/VBZ/stzh-vbz-intro/stzh-vbz-intro.stories.js +1 -3
  76. package/dist/collection/components/CMS/VBZ/stzh-vbz-linechip/stzh-vbz-linechip.js +48 -3
  77. package/dist/collection/components/CMS/VBZ/stzh-vbz-linechip/stzh-vbz-linechip.js.map +1 -1
  78. package/dist/collection/components/CMS/VBZ/stzh-vbz-linechip/stzh-vbz-linechip.stories.js +1 -11
  79. package/dist/collection/components/CMS/VBZ/stzh-vbz-majorticker/stzh-vbz-majorticker.stories.js +1 -6
  80. package/dist/collection/components/CMS/VBZ/stzh-vbz-ticker/stzh-vbz-ticker.js +22 -2
  81. package/dist/collection/components/CMS/VBZ/stzh-vbz-ticker/stzh-vbz-ticker.js.map +1 -1
  82. package/dist/collection/components/CMS/VBZ/stzh-vbz-ticker/stzh-vbz-ticker.stories.js +2 -6
  83. package/dist/collection/components/CMS/stzh-archivelist/stzh-archivelist.stories.js +3 -5
  84. package/dist/collection/components/CMS/stzh-bathstatus-item/stzh-bathstatus-item.js +1 -1
  85. package/dist/collection/components/CMS/stzh-bathstatus-item/stzh-bathstatus-item.stories.js +1 -3
  86. package/dist/collection/components/CMS/stzh-bathstatus-list/stzh-bathstatus-list.js +1 -1
  87. package/dist/collection/components/CMS/stzh-bathstatus-list/stzh-bathstatus-list.stories.js +1 -3
  88. package/dist/collection/components/CMS/stzh-card-superteaser/stzh-card-superteaser.js +1 -1
  89. package/dist/collection/components/CMS/stzh-card-superteaser/stzh-card-superteaser.stories.js +3 -5
  90. package/dist/collection/components/CMS/stzh-contact/stzh-contact.js +1 -1
  91. package/dist/collection/components/CMS/stzh-contact/stzh-contact.stories.js +1 -3
  92. package/dist/collection/components/CMS/stzh-contact-cv/stzh-contact-cv.js +1 -1
  93. package/dist/collection/components/CMS/stzh-contact-cv/stzh-contact-cv.stories.js +1 -3
  94. package/dist/collection/components/CMS/stzh-disturber/stzh-disturber.js +1 -1
  95. package/dist/collection/components/CMS/stzh-disturber/stzh-disturber.stories.js +3 -5
  96. package/dist/collection/components/CMS/stzh-editor/stzh-editor.js +1 -1
  97. package/dist/collection/components/CMS/stzh-editor/stzh-editor.stories.js +1 -3
  98. package/dist/collection/components/CMS/stzh-eventdata/stzh-eventdata.js +1 -1
  99. package/dist/collection/components/CMS/stzh-eventdata/stzh-eventdata.stories.js +1 -3
  100. package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.js +1 -1
  101. package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.stories.js +1 -3
  102. package/dist/collection/components/CMS/stzh-feedreader/stzh-feedreader.js +1 -1
  103. package/dist/collection/components/CMS/stzh-feedreader/stzh-feedreader.stories.js +3 -5
  104. package/dist/collection/components/CMS/stzh-feedreader-item/stzh-feedreader-item.js +1 -1
  105. package/dist/collection/components/CMS/stzh-feedreader-item/stzh-feedreader-item.stories.js +1 -3
  106. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js +24 -16
  107. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js.map +1 -1
  108. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.stories.js +1 -6
  109. package/dist/collection/components/CMS/stzh-ghettobox/stzh-ghettobox.css +3 -3
  110. package/dist/collection/components/CMS/stzh-ghettobox/stzh-ghettobox.js +1 -1
  111. package/dist/collection/components/CMS/stzh-ghettobox/stzh-ghettobox.stories.js +3 -5
  112. package/dist/collection/components/CMS/stzh-homepage-search/stzh-homepage-search.js +1 -1
  113. package/dist/collection/components/CMS/stzh-homepage-search/stzh-homepage-search.stories.js +3 -5
  114. package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js +2 -2
  115. package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.stories.js +1 -3
  116. package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.js +1 -1
  117. package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.stories.js +1 -6
  118. package/dist/collection/components/CMS/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
  119. package/dist/collection/components/CMS/stzh-microsite-teaserlist/stzh-microsite-teaserlist.stories.js +1 -11
  120. package/dist/collection/components/CMS/stzh-page-skiplinks/stzh-page-skiplinks.js +1 -1
  121. package/dist/collection/components/CMS/stzh-page-skiplinks/stzh-page-skiplinks.stories.js +1 -6
  122. package/dist/collection/components/CMS/stzh-pagebottom/stzh-pagebottom.js +1 -1
  123. package/dist/collection/components/CMS/stzh-pagebottom/stzh-pagebottom.stories.js +1 -9
  124. package/dist/collection/components/CMS/stzh-pagecontent/stzh-pagecontent.js +1 -1
  125. package/dist/collection/components/CMS/stzh-pagecontent/stzh-pagecontent.stories.js +1 -6
  126. package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.js +1 -1
  127. package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.stories.js +1 -3
  128. package/dist/collection/components/CMS/stzh-pagetitle-hero/stzh-pagetitle-hero.js +1 -1
  129. package/dist/collection/components/CMS/stzh-pagetitle-hero/stzh-pagetitle-hero.stories.js +1 -3
  130. package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.js +1 -1
  131. package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.stories.js +1 -3
  132. package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.js +1 -1
  133. package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.stories.js +3 -5
  134. package/dist/collection/components/CMS/stzh-pi-menu/stzh-pi-menu.css +0 -1
  135. package/dist/collection/components/CMS/stzh-pi-menu/stzh-pi-menu.js +1 -1
  136. package/dist/collection/components/CMS/stzh-pi-menu/stzh-pi-menu.stories.js +3 -5
  137. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.css +3 -0
  138. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.js +1 -1
  139. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.stories.js +1 -3
  140. package/dist/collection/components/CMS/stzh-pi-quote/stzh-pi-quote.js +1 -1
  141. package/dist/collection/components/CMS/stzh-pi-quote/stzh-pi-quote.stories.js +1 -4
  142. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js +1 -1
  143. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.stories.js +3 -5
  144. package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.stories.js +3 -6
  145. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js +1 -1
  146. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.stories.js +3 -5
  147. package/dist/collection/components/CMS/stzh-poicard/stzh-poicard.js +1 -1
  148. package/dist/collection/components/CMS/stzh-poicard/stzh-poicard.stories.js +1 -3
  149. package/dist/collection/components/CMS/stzh-poilist/stzh-poilist.js +1 -1
  150. package/dist/collection/components/CMS/stzh-poilist/stzh-poilist.stories.js +1 -3
  151. package/dist/collection/components/CMS/stzh-print/stzh-print.js +1 -1
  152. package/dist/collection/components/CMS/stzh-print/stzh-print.stories.js +1 -3
  153. package/dist/collection/components/CMS/stzh-search/stzh-search.js +2 -2
  154. package/dist/collection/components/CMS/stzh-search/stzh-search.stories.js +1 -3
  155. package/dist/collection/components/CMS/stzh-sitemap/stzh-sitemap.js +1 -1
  156. package/dist/collection/components/CMS/stzh-sitemap/stzh-sitemap.stories.js +2 -3
  157. package/dist/collection/components/CMS/stzh-socialmediastream/stzh-socialmediastream.js +1 -1
  158. package/dist/collection/components/CMS/stzh-socialmediastream/stzh-socialmediastream.stories.js +1 -3
  159. package/dist/collection/components/CMS/stzh-socialmediastream-item/stzh-socialmediastream-item.js +1 -1
  160. package/dist/collection/components/CMS/stzh-socialmediastream-item/stzh-socialmediastream-item.stories.js +1 -3
  161. package/dist/collection/components/CMS/stzh-textandimage/stzh-textandimage.js +1 -1
  162. package/dist/collection/components/CMS/stzh-textandimage/stzh-textandimage.stories.js +1 -3
  163. package/dist/collection/components/CMS/stzh-twocolumns/stzh-twocolumns.js +1 -1
  164. package/dist/collection/components/CMS/stzh-twocolumns/stzh-twocolumns.stories.js +1 -3
  165. package/dist/collection/components/stzh-accordion/stzh-accordion.js +1 -1
  166. package/dist/collection/components/stzh-accordion/stzh-accordion.stories.js +3 -6
  167. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
  168. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.stories.js +4 -7
  169. package/dist/collection/components/stzh-actions/stzh-actions.js +1 -1
  170. package/dist/collection/components/stzh-actions/stzh-actions.stories.js +3 -5
  171. package/dist/collection/components/stzh-actionset/stzh-actionset.js +5 -5
  172. package/dist/collection/components/stzh-actionset/stzh-actionset.stories.js +3 -5
  173. package/dist/collection/components/stzh-amount/stzh-amount.js +1 -1
  174. package/dist/collection/components/stzh-amount/stzh-amount.stories.js +3 -4
  175. package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
  176. package/dist/collection/components/stzh-anchornav/stzh-anchornav.stories.js +3 -4
  177. package/dist/collection/components/stzh-app-nav/stzh-app-nav.js +1 -1
  178. package/dist/collection/components/stzh-app-nav/stzh-app-nav.stories.js +3 -5
  179. package/dist/collection/components/stzh-appointments/stzh-appointments.js +1 -1
  180. package/dist/collection/components/stzh-appointments/stzh-appointments.stories.js +17 -14
  181. package/dist/collection/components/stzh-audio/stzh-audio.js +3 -3
  182. package/dist/collection/components/stzh-audio/stzh-audio.stories.js +3 -5
  183. package/dist/collection/components/stzh-badge/stzh-badge.js +1 -1
  184. package/dist/collection/components/stzh-badge/stzh-badge.stories.js +3 -5
  185. package/dist/collection/components/{CMS/stzh-banner → stzh-banner}/stzh-banner.css +1 -1
  186. package/dist/collection/components/{CMS/stzh-banner → stzh-banner}/stzh-banner.e2e.js +2 -2
  187. package/dist/collection/components/stzh-banner/stzh-banner.e2e.js.map +1 -0
  188. package/dist/collection/components/{CMS/stzh-banner → stzh-banner}/stzh-banner.js +4 -4
  189. package/dist/collection/components/stzh-banner/stzh-banner.js.map +1 -0
  190. package/dist/collection/components/stzh-banner/stzh-banner.localization.js.map +1 -0
  191. package/dist/collection/components/{CMS/stzh-banner → stzh-banner}/stzh-banner.stories.js +6 -8
  192. package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.stories.js +3 -5
  193. package/dist/collection/components/stzh-button/stzh-button.stories.js +4 -6
  194. package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.stories.js +4 -3
  195. package/dist/collection/components/stzh-calendar/stzh-calendar.stories.js +3 -5
  196. package/dist/collection/components/stzh-card/stzh-card.stories.js +14 -17
  197. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.stories.js +3 -5
  198. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.stories.js +3 -5
  199. package/dist/collection/components/stzh-cardlist/stzh-cardlist.css +7 -6
  200. package/dist/collection/components/stzh-cardlist/stzh-cardlist.stories.js +3 -5
  201. package/dist/collection/components/stzh-carousel/stzh-carousel.stories.js +3 -5
  202. package/dist/collection/components/stzh-cell/stzh-cell.stories.js +3 -4
  203. package/dist/collection/components/stzh-chart/stzh-chart.stories.js +1 -3
  204. package/dist/collection/components/stzh-checkbox/stzh-checkbox.stories.js +7 -10
  205. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.stories.js +5 -9
  206. package/dist/collection/components/stzh-chip/stzh-chip.stories.js +3 -5
  207. package/dist/collection/components/stzh-chipgroup/stzh-chipgroup.stories.js +1 -3
  208. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +11 -6
  209. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js.map +1 -1
  210. package/dist/collection/components/stzh-chipselect/stzh-chipselect.stories.js +4 -6
  211. package/dist/collection/components/stzh-clamp/stzh-clamp.stories.js +3 -4
  212. package/dist/collection/components/stzh-company-logo/stzh-company-logo.stories.js +1 -6
  213. package/dist/collection/components/stzh-container/stzh-container.stories.js +1 -3
  214. package/dist/collection/components/stzh-content/stzh-content.stories.js +1 -6
  215. package/dist/collection/components/stzh-cspace/stzh-cspace.stories.js +1 -6
  216. package/dist/collection/components/stzh-cta/stzh-cta.stories.js +3 -5
  217. package/dist/collection/components/stzh-datalist/stzh-datalist.stories.js +3 -5
  218. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.stories.js +3 -5
  219. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.stories.js +1 -3
  220. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.stories.js +3 -5
  221. package/dist/collection/components/stzh-datatable/stzh-datatable.stories.js +3 -5
  222. package/dist/collection/components/stzh-datepicker/stzh-datepicker.stories.js +3 -5
  223. package/dist/collection/components/stzh-daterange/stzh-daterange.stories.js +1 -6
  224. package/dist/collection/components/stzh-details/stzh-details.stories.js +3 -5
  225. package/dist/collection/components/stzh-dialog/stzh-dialog.stories.js +3 -5
  226. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +11 -4
  227. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js.map +1 -1
  228. package/dist/collection/components/stzh-dropdown/stzh-dropdown.stories.js +4 -6
  229. package/dist/collection/components/stzh-fieldset/stzh-fieldset.stories.js +6 -11
  230. package/dist/collection/components/stzh-figure/stzh-figure.stories.js +1 -3
  231. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.stories.js +1 -3
  232. package/dist/collection/components/stzh-footer/stzh-footer.stories.js +1 -3
  233. package/dist/collection/components/stzh-gallery/stzh-gallery.stories.js +1 -3
  234. package/dist/collection/components/stzh-header/stzh-header.stories.js +3 -5
  235. package/dist/collection/components/stzh-heading/stzh-heading.stories.js +1 -6
  236. package/dist/collection/components/stzh-hr/stzh-hr.stories.js +1 -3
  237. package/dist/collection/components/stzh-hspace/stzh-hspace.stories.js +1 -6
  238. package/dist/collection/components/stzh-http-error/stzh-http-error.stories.js +1 -6
  239. package/dist/collection/components/stzh-icon/stzh-icon.stories.js +1 -6
  240. package/dist/collection/components/stzh-iframe/stzh-iframe.stories.js +3 -5
  241. package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.stories.js +3 -5
  242. package/dist/collection/components/stzh-input/stzh-input.stories.js +6 -8
  243. package/dist/collection/components/stzh-invert/stzh-invert.stories.js +1 -3
  244. package/dist/collection/components/stzh-link/stzh-link.stories.js +3 -4
  245. package/dist/collection/components/stzh-list/stzh-list.stories.js +1 -3
  246. package/dist/collection/components/stzh-loader/stzh-loader.stories.js +1 -6
  247. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.stories.js +1 -3
  248. package/dist/collection/components/stzh-menu/stzh-menu.stories.js +1 -6
  249. package/dist/collection/components/stzh-menu-item/stzh-menu-item.stories.js +3 -5
  250. package/dist/collection/components/stzh-message/stzh-message.stories.js +3 -5
  251. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.stories.js +3 -4
  252. package/dist/collection/components/stzh-offline-indicator/stzh-offline-indicator.stories.js +1 -3
  253. package/dist/collection/components/stzh-olmap/stzh-olmap.stories.js +3 -5
  254. package/dist/collection/components/stzh-overlay/stzh-overlay.stories.js +3 -5
  255. package/dist/collection/components/stzh-pagination/stzh-pagination.stories.js +3 -5
  256. package/dist/collection/components/stzh-panorama/stzh-panorama.stories.js +3 -5
  257. package/dist/collection/components/stzh-popover/stzh-popover.stories.js +5 -8
  258. package/dist/collection/components/stzh-quote/stzh-quote.stories.js +1 -4
  259. package/dist/collection/components/stzh-radio/stzh-radio.stories.js +7 -11
  260. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.stories.js +6 -9
  261. package/dist/collection/components/stzh-rating/stzh-rating.stories.js +16 -23
  262. package/dist/collection/components/stzh-ratio/stzh-ratio.stories.js +1 -3
  263. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.stories.js +1 -3
  264. package/dist/collection/components/stzh-richtext/stzh-richtext.stories.js +1 -6
  265. package/dist/collection/components/stzh-row/stzh-row.stories.js +1 -5
  266. package/dist/collection/components/stzh-saptcha/stzh-saptcha.stories.js +3 -5
  267. package/dist/collection/components/stzh-scrollup/stzh-scrollup.stories.js +1 -17
  268. package/dist/collection/components/stzh-section/stzh-section.stories.js +1 -3
  269. package/dist/collection/components/stzh-share/stzh-share.stories.js +1 -3
  270. package/dist/collection/components/stzh-show/stzh-show.stories.js +1 -3
  271. package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.stories.js +1 -6
  272. package/dist/collection/components/stzh-skin-storybook-preview/stzh-skin-storybook-preview.stories.js +1 -6
  273. package/dist/collection/components/stzh-skiplink/stzh-skiplink.stories.js +1 -6
  274. package/dist/collection/components/stzh-sortable/stzh-sortable.stories.js +3 -5
  275. package/dist/collection/components/stzh-space/stzh-space.stories.js +1 -6
  276. package/dist/collection/components/stzh-status/stzh-status.stories.js +1 -3
  277. package/dist/collection/components/stzh-stepper/stzh-stepper.stories.js +4 -7
  278. package/dist/collection/components/stzh-stepper-item/stzh-stepper-item.stories.js +4 -7
  279. package/dist/collection/components/stzh-sticky/stzh-sticky.stories.js +3 -5
  280. package/dist/collection/components/stzh-sticky-actions/stzh-sticky-actions.stories.js +1 -3
  281. package/dist/collection/components/stzh-table/stzh-table.stories.js +1 -3
  282. package/dist/collection/components/stzh-tag/stzh-tag.stories.js +3 -5
  283. package/dist/collection/components/stzh-text/stzh-text.stories.js +5 -7
  284. package/dist/collection/components/stzh-timeline/stzh-timeline.stories.js +3 -5
  285. package/dist/collection/components/stzh-timeline-item/stzh-timeline-item.stories.js +3 -5
  286. package/dist/collection/components/stzh-timepicker/stzh-timepicker.stories.js +3 -5
  287. package/dist/collection/components/stzh-toast/stzh-toast.stories.js +3 -5
  288. package/dist/collection/components/stzh-toastbar/stzh-toastbar.stories.js +1 -2
  289. package/dist/collection/components/stzh-toggle/stzh-toggle.stories.js +3 -5
  290. package/dist/collection/components/stzh-tooltip/stzh-tooltip.stories.js +3 -5
  291. package/dist/collection/components/stzh-upload/stzh-upload.js +46 -11
  292. package/dist/collection/components/stzh-upload/stzh-upload.js.map +1 -1
  293. package/dist/collection/components/stzh-upload/stzh-upload.stories.js +13 -12
  294. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.stories.js +1 -6
  295. package/dist/collection/components/stzh-vspace/stzh-vspace.stories.js +1 -6
  296. package/dist/collection/components/stzh-youtube/stzh-youtube.stories.js +1 -3
  297. package/dist/collection/index.js.map +1 -1
  298. package/dist/components/index.js +1 -1
  299. package/dist/components/{p-79436c88.js → p-05fe3259.js} +2 -2
  300. package/dist/components/{p-79436c88.js.map → p-05fe3259.js.map} +1 -1
  301. package/dist/components/{p-0b630cac.js → p-06e3cf2d.js} +16 -11
  302. package/dist/components/p-06e3cf2d.js.map +1 -0
  303. package/dist/components/{p-27bf6b87.js → p-0e787824.js} +4 -4
  304. package/dist/components/{p-27bf6b87.js.map → p-0e787824.js.map} +1 -1
  305. package/dist/components/{p-cb0898ca.js → p-139d2041.js} +4 -4
  306. package/dist/components/{p-cb0898ca.js.map → p-139d2041.js.map} +1 -1
  307. package/dist/components/{p-a792adae.js → p-17e8405b.js} +3 -3
  308. package/dist/components/{p-a792adae.js.map → p-17e8405b.js.map} +1 -1
  309. package/dist/components/{p-db160bc1.js → p-1c6e00e3.js} +4 -4
  310. package/dist/components/{p-db160bc1.js.map → p-1c6e00e3.js.map} +1 -1
  311. package/dist/components/{p-95960509.js → p-1e18dc1d.js} +4 -4
  312. package/dist/components/{p-95960509.js.map → p-1e18dc1d.js.map} +1 -1
  313. package/dist/components/{p-5c7c4130.js → p-2b549cf6.js} +2 -2
  314. package/dist/components/{p-5c7c4130.js.map → p-2b549cf6.js.map} +1 -1
  315. package/dist/components/{p-2d80d228.js → p-31108932.js} +2 -2
  316. package/dist/components/{p-2d80d228.js.map → p-31108932.js.map} +1 -1
  317. package/dist/components/{p-2c27e000.js → p-33bb9ae6.js} +9 -9
  318. package/dist/components/{p-2c27e000.js.map → p-33bb9ae6.js.map} +1 -1
  319. package/dist/components/{p-78ad1fb5.js → p-349fbfd7.js} +2 -2
  320. package/dist/components/{p-78ad1fb5.js.map → p-349fbfd7.js.map} +1 -1
  321. package/dist/components/{p-31a89409.js → p-363adb38.js} +5 -5
  322. package/dist/components/{p-31a89409.js.map → p-363adb38.js.map} +1 -1
  323. package/dist/components/p-37c9ec06.js.map +1 -1
  324. package/dist/components/{p-7969eeb6.js → p-38e34484.js} +2 -2
  325. package/dist/components/{p-7969eeb6.js.map → p-38e34484.js.map} +1 -1
  326. package/dist/components/{p-c4637521.js → p-3ee4c2ec.js} +3 -3
  327. package/dist/components/{p-c4637521.js.map → p-3ee4c2ec.js.map} +1 -1
  328. package/dist/components/{p-1ec35678.js → p-4bdf2c0e.js} +5 -5
  329. package/dist/components/{p-1ec35678.js.map → p-4bdf2c0e.js.map} +1 -1
  330. package/dist/components/{p-2d2bf07d.js → p-5fe404aa.js} +49 -5
  331. package/dist/components/p-5fe404aa.js.map +1 -0
  332. package/dist/components/{p-1f315034.js → p-626168f9.js} +4 -4
  333. package/dist/components/{p-1f315034.js.map → p-626168f9.js.map} +1 -1
  334. package/dist/components/{p-b8fda153.js → p-6a1a040f.js} +2 -2
  335. package/dist/components/{p-b8fda153.js.map → p-6a1a040f.js.map} +1 -1
  336. package/dist/components/{p-bafc325d.js → p-74f1fb8a.js} +3 -3
  337. package/dist/components/{p-bafc325d.js.map → p-74f1fb8a.js.map} +1 -1
  338. package/dist/components/{p-ec5e2f2a.js → p-775cca3b.js} +2 -2
  339. package/dist/components/{p-ec5e2f2a.js.map → p-775cca3b.js.map} +1 -1
  340. package/dist/components/{p-c9320f27.js → p-804c5a42.js} +4 -4
  341. package/dist/components/{p-c9320f27.js.map → p-804c5a42.js.map} +1 -1
  342. package/dist/components/{p-28548919.js → p-8c402b5e.js} +3 -3
  343. package/dist/components/{p-28548919.js.map → p-8c402b5e.js.map} +1 -1
  344. package/dist/components/{p-e25baa50.js → p-8e42dbab.js} +3 -3
  345. package/dist/components/{p-e25baa50.js.map → p-8e42dbab.js.map} +1 -1
  346. package/dist/components/{p-c8267c9e.js → p-999b8661.js} +4 -4
  347. package/dist/components/p-999b8661.js.map +1 -0
  348. package/dist/components/{p-258d7bde.js → p-9a88d047.js} +3 -3
  349. package/dist/components/{p-258d7bde.js.map → p-9a88d047.js.map} +1 -1
  350. package/dist/components/{p-51253a86.js → p-a94140df.js} +3 -3
  351. package/dist/components/{p-51253a86.js.map → p-a94140df.js.map} +1 -1
  352. package/dist/components/{p-c484e7ca.js → p-af574b36.js} +2 -2
  353. package/dist/components/{p-c484e7ca.js.map → p-af574b36.js.map} +1 -1
  354. package/dist/components/{p-a3e94f5e.js → p-b379f4ca.js} +6 -6
  355. package/dist/components/{p-a3e94f5e.js.map → p-b379f4ca.js.map} +1 -1
  356. package/dist/components/{p-cac39de3.js → p-b38507d2.js} +2 -2
  357. package/dist/components/{p-cac39de3.js.map → p-b38507d2.js.map} +1 -1
  358. package/dist/components/{p-04567f95.js → p-b392fbfe.js} +4 -4
  359. package/dist/components/{p-04567f95.js.map → p-b392fbfe.js.map} +1 -1
  360. package/dist/components/{p-cccc2b32.js → p-bb5dd9ca.js} +6 -6
  361. package/dist/components/{p-cccc2b32.js.map → p-bb5dd9ca.js.map} +1 -1
  362. package/dist/components/{p-27688347.js → p-bec99b6c.js} +4 -4
  363. package/dist/components/{p-27688347.js.map → p-bec99b6c.js.map} +1 -1
  364. package/dist/components/{p-dc031c55.js → p-c16c2ca7.js} +6 -6
  365. package/dist/components/{p-dc031c55.js.map → p-c16c2ca7.js.map} +1 -1
  366. package/dist/components/{p-9dccba17.js → p-cac3a53e.js} +3 -3
  367. package/dist/components/{p-9dccba17.js.map → p-cac3a53e.js.map} +1 -1
  368. package/dist/components/{p-1462b0ac.js → p-e961f0da.js} +3 -3
  369. package/dist/components/{p-1462b0ac.js.map → p-e961f0da.js.map} +1 -1
  370. package/dist/components/{p-3d9ce94f.js → p-f07fda42.js} +12 -5
  371. package/dist/components/p-f07fda42.js.map +1 -0
  372. package/dist/components/stzh-accordion-item.js +1 -1
  373. package/dist/components/stzh-accordion.js +1 -1
  374. package/dist/components/stzh-actions.js +1 -1
  375. package/dist/components/stzh-actionset.js +1 -1
  376. package/dist/components/stzh-amount.js +5 -5
  377. package/dist/components/stzh-anchornav.js +4 -4
  378. package/dist/components/stzh-app-nav.js +1 -1
  379. package/dist/components/stzh-appointments.js +8 -8
  380. package/dist/components/stzh-archivelist.js +4 -4
  381. package/dist/components/stzh-audio.js +3 -3
  382. package/dist/components/stzh-badge.js +1 -1
  383. package/dist/components/stzh-banner.js +4 -4
  384. package/dist/components/stzh-banner.js.map +1 -1
  385. package/dist/components/stzh-bathstatus-item.js +1 -1
  386. package/dist/components/stzh-bathstatus-list.js +4 -4
  387. package/dist/components/stzh-button.js +1 -1
  388. package/dist/components/stzh-calendar.js +1 -1
  389. package/dist/components/stzh-card-searchresult.js +7 -7
  390. package/dist/components/stzh-card-superteaser.js +8 -8
  391. package/dist/components/stzh-card.js +1 -1
  392. package/dist/components/stzh-cardlist.js +1 -1
  393. package/dist/components/stzh-chip.js +1 -1
  394. package/dist/components/stzh-chipselect.js +1 -1
  395. package/dist/components/stzh-clamp.js +1 -1
  396. package/dist/components/stzh-contact-cv.js +1 -1
  397. package/dist/components/stzh-contact.js +5 -5
  398. package/dist/components/stzh-datalist-item.js +1 -1
  399. package/dist/components/stzh-datalist.js +1 -1
  400. package/dist/components/stzh-datamessagelist-item.js +6 -6
  401. package/dist/components/stzh-datatable.js +9 -9
  402. package/dist/components/stzh-datepicker.js +1 -1
  403. package/dist/components/stzh-daterange.js +2 -2
  404. package/dist/components/stzh-dialog.js +1 -1
  405. package/dist/components/stzh-disturber.js +3 -3
  406. package/dist/components/stzh-dropdown.js +1 -1
  407. package/dist/components/stzh-editor.js +3 -3
  408. package/dist/components/stzh-eventdata.js +1 -1
  409. package/dist/components/stzh-eventinfo.js +3 -3
  410. package/dist/components/stzh-feedreader-item.js +1 -1
  411. package/dist/components/stzh-feedreader.js +5 -5
  412. package/dist/components/stzh-footer.js +2 -2
  413. package/dist/components/stzh-gallery.js +2 -2
  414. package/dist/components/stzh-geo-ref-data.js +36 -28
  415. package/dist/components/stzh-geo-ref-data.js.map +1 -1
  416. package/dist/components/stzh-ghettobox.js +1 -1
  417. package/dist/components/stzh-header.js +1 -1
  418. package/dist/components/stzh-homepage-search.js +1 -1
  419. package/dist/components/stzh-homepage-service-highlights.js +4 -4
  420. package/dist/components/stzh-http-error.js +2 -2
  421. package/dist/components/stzh-iframe.js +1 -1
  422. package/dist/components/stzh-input.js +1 -1
  423. package/dist/components/stzh-link.js +1 -1
  424. package/dist/components/stzh-linklist.js +5 -5
  425. package/dist/components/stzh-menu-item.js +1 -1
  426. package/dist/components/stzh-message.js +1 -1
  427. package/dist/components/stzh-microsite-teaserlist.js +11 -11
  428. package/dist/components/stzh-monthyearpicker.js +1 -1
  429. package/dist/components/stzh-offline-indicator.js +4 -4
  430. package/dist/components/stzh-page-skiplinks.js +1 -1
  431. package/dist/components/stzh-pagebottom.js +5 -5
  432. package/dist/components/stzh-pagecontent.js +1 -1
  433. package/dist/components/stzh-pagetitle-hero.js +1 -1
  434. package/dist/components/stzh-pagetitle-home.js +1 -1
  435. package/dist/components/stzh-pagetitle.js +1 -1
  436. package/dist/components/stzh-pagination.js +1 -1
  437. package/dist/components/stzh-panorama.js +4 -4
  438. package/dist/components/stzh-pi-content-navigation.js +1 -1
  439. package/dist/components/stzh-pi-menu.js +2 -2
  440. package/dist/components/stzh-pi-menu.js.map +1 -1
  441. package/dist/components/stzh-pi-pagetitle.js +2 -2
  442. package/dist/components/stzh-pi-pagetitle.js.map +1 -1
  443. package/dist/components/stzh-pi-quote.js +1 -1
  444. package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
  445. package/dist/components/stzh-pi-teaser-layout.js +1 -1
  446. package/dist/components/stzh-pi-teaser.js +1 -1
  447. package/dist/components/stzh-pkzh-qr.js +7 -7
  448. package/dist/components/stzh-poicard.js +1 -1
  449. package/dist/components/stzh-poilist.js +10 -10
  450. package/dist/components/stzh-print.js +1 -1
  451. package/dist/components/stzh-readspeaker.js +2 -2
  452. package/dist/components/stzh-saptcha.js +3 -3
  453. package/dist/components/stzh-search.js +10 -10
  454. package/dist/components/stzh-share.js +1 -1
  455. package/dist/components/stzh-sitemap.js +5 -5
  456. package/dist/components/stzh-socialmediastream-item.js +1 -1
  457. package/dist/components/stzh-socialmediastream.js +2 -2
  458. package/dist/components/stzh-tag.js +1 -1
  459. package/dist/components/stzh-textandimage.js +1 -1
  460. package/dist/components/stzh-timeline-item.js +1 -1
  461. package/dist/components/stzh-timepicker.js +1 -1
  462. package/dist/components/stzh-toast.js +1 -1
  463. package/dist/components/stzh-toastbar.js +1 -1
  464. package/dist/components/stzh-twocolumns.js +1 -1
  465. package/dist/components/stzh-upload.js +52 -17
  466. package/dist/components/stzh-upload.js.map +1 -1
  467. package/dist/components/stzh-vbz-intro.js +2 -2
  468. package/dist/components/stzh-vbz-linechip.js +1 -1
  469. package/dist/components/stzh-vbz-majorticker.js +3 -3
  470. package/dist/components/stzh-vbz-ticker.js +8 -5
  471. package/dist/components/stzh-vbz-ticker.js.map +1 -1
  472. package/dist/components/stzh-youtube.js +3 -3
  473. package/dist/esm/{app-globals-a962cea2.js → app-globals-a7ad59a2.js} +2 -2
  474. package/dist/esm/{app-globals-a962cea2.js.map → app-globals-a7ad59a2.js.map} +1 -1
  475. package/dist/esm/index.js.map +1 -1
  476. package/dist/esm/loader.js +2 -2
  477. package/dist/esm/stzh-accordion_3.entry.js +2 -2
  478. package/dist/esm/stzh-actions_6.entry.js +1 -1
  479. package/dist/esm/stzh-actionset.entry.js +5 -5
  480. package/dist/esm/stzh-amount.entry.js +1 -1
  481. package/dist/esm/stzh-anchornav.entry.js +1 -1
  482. package/dist/esm/stzh-app-nav.entry.js +1 -1
  483. package/dist/esm/stzh-appointments.entry.js +1 -1
  484. package/dist/esm/stzh-audio.entry.js +3 -3
  485. package/dist/esm/stzh-badge_3.entry.js +1 -1
  486. package/dist/esm/stzh-banner.entry.js +2 -2
  487. package/dist/esm/stzh-banner.entry.js.map +1 -1
  488. package/dist/esm/stzh-bathstatus-item.entry.js +1 -1
  489. package/dist/esm/stzh-bathstatus-list.entry.js +1 -1
  490. package/dist/esm/stzh-card-superteaser.entry.js +1 -1
  491. package/dist/esm/stzh-cardlist_3.entry.js +1 -1
  492. package/dist/esm/stzh-cardlist_3.entry.js.map +1 -1
  493. package/dist/esm/stzh-chipselect.entry.js +11 -6
  494. package/dist/esm/stzh-chipselect.entry.js.map +1 -1
  495. package/dist/esm/stzh-components.js +2 -2
  496. package/dist/esm/stzh-contact-cv.entry.js +1 -1
  497. package/dist/esm/stzh-contact.entry.js +1 -1
  498. package/dist/esm/stzh-disturber.entry.js +1 -1
  499. package/dist/esm/stzh-dropdown.entry.js +11 -4
  500. package/dist/esm/stzh-dropdown.entry.js.map +1 -1
  501. package/dist/esm/stzh-editor.entry.js +1 -1
  502. package/dist/esm/stzh-eventdata.entry.js +1 -1
  503. package/dist/esm/stzh-eventinfo.entry.js +1 -1
  504. package/dist/esm/stzh-feedreader-item.entry.js +1 -1
  505. package/dist/esm/stzh-feedreader.entry.js +1 -1
  506. package/dist/esm/stzh-geo-ref-data.entry.js +24 -16
  507. package/dist/esm/stzh-geo-ref-data.entry.js.map +1 -1
  508. package/dist/esm/stzh-ghettobox_3.entry.js +2 -2
  509. package/dist/esm/stzh-ghettobox_3.entry.js.map +1 -1
  510. package/dist/esm/stzh-homepage-search.entry.js +1 -1
  511. package/dist/esm/stzh-homepage-service-highlights.entry.js +2 -2
  512. package/dist/esm/stzh-linklist.entry.js +1 -1
  513. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  514. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  515. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  516. package/dist/esm/stzh-pagecontent.entry.js +1 -1
  517. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  518. package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
  519. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  520. package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
  521. package/dist/esm/stzh-pi-menu.entry.js +2 -2
  522. package/dist/esm/stzh-pi-menu.entry.js.map +1 -1
  523. package/dist/esm/stzh-pi-pagetitle.entry.js +2 -2
  524. package/dist/esm/stzh-pi-pagetitle.entry.js.map +1 -1
  525. package/dist/esm/stzh-pi-quote.entry.js +1 -1
  526. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +1 -1
  527. package/dist/esm/stzh-pi-teaser.entry.js +1 -1
  528. package/dist/esm/stzh-poicard.entry.js +1 -1
  529. package/dist/esm/stzh-poilist.entry.js +1 -1
  530. package/dist/esm/stzh-print_2.entry.js +1 -1
  531. package/dist/esm/stzh-search.entry.js +2 -2
  532. package/dist/esm/stzh-sitemap.entry.js +1 -1
  533. package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
  534. package/dist/esm/stzh-socialmediastream.entry.js +1 -1
  535. package/dist/esm/stzh-textandimage.entry.js +1 -1
  536. package/dist/esm/stzh-twocolumns.entry.js +1 -1
  537. package/dist/esm/stzh-upload.entry.js +45 -10
  538. package/dist/esm/stzh-upload.entry.js.map +1 -1
  539. package/dist/esm/stzh-vbz-linechip.entry.js +46 -4
  540. package/dist/esm/stzh-vbz-linechip.entry.js.map +1 -1
  541. package/dist/esm/stzh-vbz-ticker.entry.js +4 -2
  542. package/dist/esm/stzh-vbz-ticker.entry.js.map +1 -1
  543. package/dist/stzh-components/index.esm.js.map +1 -1
  544. package/dist/stzh-components/{p-50a81b5c.entry.js → p-0cf78c66.entry.js} +2 -2
  545. package/dist/stzh-components/{p-9b858b7e.entry.js → p-1047debc.entry.js} +2 -2
  546. package/dist/stzh-components/{p-d0e8b48e.entry.js → p-126e6d91.entry.js} +2 -2
  547. package/dist/stzh-components/{p-3064f4b9.entry.js → p-1724d14c.entry.js} +2 -2
  548. package/dist/stzh-components/{p-21c8ffbe.entry.js → p-1a926012.entry.js} +2 -2
  549. package/dist/stzh-components/{p-0585149c.entry.js → p-1b517ef0.entry.js} +2 -2
  550. package/dist/stzh-components/p-3677f45f.entry.js +2 -0
  551. package/dist/stzh-components/p-3677f45f.entry.js.map +1 -0
  552. package/dist/stzh-components/{p-2925f080.entry.js → p-37f3a254.entry.js} +2 -2
  553. package/dist/stzh-components/{p-6dd89068.entry.js → p-3e6c40f3.entry.js} +2 -2
  554. package/dist/stzh-components/{p-0585ce30.entry.js → p-40b71f43.entry.js} +2 -2
  555. package/dist/stzh-components/p-4248810c.entry.js +2 -0
  556. package/dist/stzh-components/p-4248810c.entry.js.map +1 -0
  557. package/dist/stzh-components/{p-b4743671.entry.js → p-49d1df6c.entry.js} +2 -2
  558. package/dist/stzh-components/{p-c58f66b7.entry.js → p-4c34707b.entry.js} +2 -2
  559. package/dist/stzh-components/{p-9dc09551.entry.js → p-4cc22e58.entry.js} +2 -2
  560. package/dist/stzh-components/p-53356df0.entry.js +2 -0
  561. package/dist/stzh-components/p-53356df0.entry.js.map +1 -0
  562. package/dist/stzh-components/{p-0c40b74a.entry.js → p-57350e0f.entry.js} +2 -2
  563. package/dist/stzh-components/{p-9868d9ae.entry.js → p-582dce2a.entry.js} +2 -2
  564. package/dist/stzh-components/{p-6e273ca9.entry.js → p-59f148b6.entry.js} +2 -2
  565. package/dist/stzh-components/{p-a06207b8.entry.js → p-5c6e3a8d.entry.js} +2 -2
  566. package/dist/stzh-components/p-64d9db0e.entry.js +2 -0
  567. package/dist/stzh-components/{p-08a557a9.entry.js.map → p-64d9db0e.entry.js.map} +1 -1
  568. package/dist/stzh-components/{p-f4a72255.entry.js → p-68eac8f8.entry.js} +2 -2
  569. package/dist/stzh-components/{p-71a0881e.entry.js → p-6caa57d2.entry.js} +2 -2
  570. package/dist/stzh-components/{p-51b68c35.entry.js → p-6f9d0b16.entry.js} +2 -2
  571. package/dist/stzh-components/{p-30190507.entry.js → p-75cb1777.entry.js} +5 -5
  572. package/dist/stzh-components/p-75cb1777.entry.js.map +1 -0
  573. package/dist/stzh-components/{p-53fbd93e.entry.js → p-7659680e.entry.js} +2 -2
  574. package/dist/stzh-components/{p-7c4475b1.entry.js → p-7a89cb17.entry.js} +2 -2
  575. package/dist/stzh-components/{p-a3227cea.entry.js → p-7cbdff42.entry.js} +2 -2
  576. package/dist/stzh-components/{p-8b77de57.entry.js → p-7cc03903.entry.js} +2 -2
  577. package/dist/stzh-components/{p-94c29a35.entry.js → p-7e2ccf70.entry.js} +2 -2
  578. package/dist/stzh-components/p-7e2ccf70.entry.js.map +1 -0
  579. package/dist/stzh-components/{p-c820956f.entry.js → p-80ad40e0.entry.js} +2 -2
  580. package/dist/stzh-components/{p-0d7b090a.entry.js → p-81223fd0.entry.js} +2 -2
  581. package/dist/stzh-components/{p-0504563f.entry.js → p-81cedb07.entry.js} +2 -2
  582. package/dist/stzh-components/{p-ff5abecf.entry.js → p-88771be4.entry.js} +2 -2
  583. package/dist/stzh-components/{p-51e9d435.entry.js → p-920fce3c.entry.js} +2 -2
  584. package/dist/stzh-components/{p-aca1cbd6.entry.js → p-93ec64d8.entry.js} +2 -2
  585. package/dist/stzh-components/{p-42ec2ee3.entry.js → p-a34af577.entry.js} +2 -2
  586. package/dist/stzh-components/p-a34af577.entry.js.map +1 -0
  587. package/dist/stzh-components/{p-54ba4496.entry.js → p-a406f00b.entry.js} +2 -2
  588. package/dist/stzh-components/{p-3a5acc86.entry.js → p-b0216e1c.entry.js} +2 -2
  589. package/dist/stzh-components/{p-e45aaf19.entry.js → p-b1f7a965.entry.js} +2 -2
  590. package/dist/stzh-components/{p-3a0112f4.entry.js → p-b2577810.entry.js} +2 -2
  591. package/dist/stzh-components/{p-d68f208f.js → p-b381bb3f.js} +2 -2
  592. package/dist/stzh-components/p-beb1274a.entry.js +2 -0
  593. package/dist/stzh-components/{p-24daddfd.entry.js.map → p-beb1274a.entry.js.map} +1 -1
  594. package/dist/stzh-components/{p-38570073.entry.js → p-beeb3c30.entry.js} +2 -2
  595. package/dist/stzh-components/{p-0edd3842.entry.js → p-c8319cd5.entry.js} +2 -2
  596. package/dist/stzh-components/{p-70805ea3.entry.js → p-c8d80b05.entry.js} +2 -2
  597. package/dist/stzh-components/{p-8de194c8.entry.js → p-ceb4aac5.entry.js} +2 -2
  598. package/dist/stzh-components/p-ceb4aac5.entry.js.map +1 -0
  599. package/dist/stzh-components/{p-15f3c6a1.entry.js → p-dbe28f96.entry.js} +2 -2
  600. package/dist/stzh-components/{p-3f4afd76.entry.js → p-de4b1f2b.entry.js} +2 -2
  601. package/dist/stzh-components/{p-13881ff2.entry.js → p-de8c2229.entry.js} +2 -2
  602. package/dist/stzh-components/{p-ee9f0975.entry.js → p-def94196.entry.js} +2 -2
  603. package/dist/stzh-components/p-def94196.entry.js.map +1 -0
  604. package/dist/stzh-components/p-e437fcf8.entry.js +2 -0
  605. package/dist/stzh-components/p-e437fcf8.entry.js.map +1 -0
  606. package/dist/stzh-components/{p-b1695c60.entry.js → p-e55ed246.entry.js} +2 -2
  607. package/dist/stzh-components/{p-9c552bd1.entry.js → p-f06def5a.entry.js} +2 -2
  608. package/dist/stzh-components/{p-380d1021.entry.js → p-f4a3b35e.entry.js} +2 -2
  609. package/dist/stzh-components/{p-380d1021.entry.js.map → p-f4a3b35e.entry.js.map} +1 -1
  610. package/dist/stzh-components/p-fe46e220.entry.js +2 -0
  611. package/dist/stzh-components/p-fe46e220.entry.js.map +1 -0
  612. package/dist/stzh-components/stzh-components.esm.js +1 -1
  613. package/dist/stzh-components/stzh-components.esm.js.map +1 -1
  614. package/dist/types/components/CMS/VBZ/stzh-vbz-linechip/stzh-vbz-linechip.d.ts +10 -2
  615. package/dist/types/components/CMS/VBZ/stzh-vbz-ticker/stzh-vbz-ticker.d.ts +4 -2
  616. package/dist/types/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.d.ts +1 -0
  617. package/dist/types/components/{CMS/stzh-banner → stzh-banner}/stzh-banner.d.ts +2 -2
  618. package/dist/types/components/{CMS/stzh-banner → stzh-banner}/stzh-banner.localization.d.ts +1 -1
  619. package/dist/types/components.d.ts +28 -4
  620. package/dist/types/index.d.ts +22 -1
  621. package/dist/vscode-data.json +32 -0
  622. package/package.json +13 -24
  623. package/dist/collection/components/CMS/stzh-banner/stzh-banner.e2e.js.map +0 -1
  624. package/dist/collection/components/CMS/stzh-banner/stzh-banner.js.map +0 -1
  625. package/dist/collection/components/CMS/stzh-banner/stzh-banner.localization.js.map +0 -1
  626. package/dist/components/p-0b630cac.js.map +0 -1
  627. package/dist/components/p-2d2bf07d.js.map +0 -1
  628. package/dist/components/p-3d9ce94f.js.map +0 -1
  629. package/dist/components/p-c8267c9e.js.map +0 -1
  630. package/dist/stzh-components/p-08a557a9.entry.js +0 -2
  631. package/dist/stzh-components/p-24daddfd.entry.js +0 -2
  632. package/dist/stzh-components/p-30190507.entry.js.map +0 -1
  633. package/dist/stzh-components/p-357ce1c2.entry.js +0 -2
  634. package/dist/stzh-components/p-357ce1c2.entry.js.map +0 -1
  635. package/dist/stzh-components/p-42ec2ee3.entry.js.map +0 -1
  636. package/dist/stzh-components/p-520572a4.entry.js +0 -2
  637. package/dist/stzh-components/p-520572a4.entry.js.map +0 -1
  638. package/dist/stzh-components/p-7157b3d2.entry.js +0 -2
  639. package/dist/stzh-components/p-7157b3d2.entry.js.map +0 -1
  640. package/dist/stzh-components/p-7254baa2.entry.js +0 -2
  641. package/dist/stzh-components/p-7254baa2.entry.js.map +0 -1
  642. package/dist/stzh-components/p-846c28e5.entry.js +0 -2
  643. package/dist/stzh-components/p-846c28e5.entry.js.map +0 -1
  644. package/dist/stzh-components/p-8de194c8.entry.js.map +0 -1
  645. package/dist/stzh-components/p-94c29a35.entry.js.map +0 -1
  646. package/dist/stzh-components/p-ee9f0975.entry.js.map +0 -1
  647. /package/dist/collection/components/{CMS/stzh-banner → stzh-banner}/stzh-banner.localization.js +0 -0
  648. /package/dist/stzh-components/{p-50a81b5c.entry.js.map → p-0cf78c66.entry.js.map} +0 -0
  649. /package/dist/stzh-components/{p-9b858b7e.entry.js.map → p-1047debc.entry.js.map} +0 -0
  650. /package/dist/stzh-components/{p-d0e8b48e.entry.js.map → p-126e6d91.entry.js.map} +0 -0
  651. /package/dist/stzh-components/{p-3064f4b9.entry.js.map → p-1724d14c.entry.js.map} +0 -0
  652. /package/dist/stzh-components/{p-21c8ffbe.entry.js.map → p-1a926012.entry.js.map} +0 -0
  653. /package/dist/stzh-components/{p-0585149c.entry.js.map → p-1b517ef0.entry.js.map} +0 -0
  654. /package/dist/stzh-components/{p-2925f080.entry.js.map → p-37f3a254.entry.js.map} +0 -0
  655. /package/dist/stzh-components/{p-6dd89068.entry.js.map → p-3e6c40f3.entry.js.map} +0 -0
  656. /package/dist/stzh-components/{p-0585ce30.entry.js.map → p-40b71f43.entry.js.map} +0 -0
  657. /package/dist/stzh-components/{p-b4743671.entry.js.map → p-49d1df6c.entry.js.map} +0 -0
  658. /package/dist/stzh-components/{p-c58f66b7.entry.js.map → p-4c34707b.entry.js.map} +0 -0
  659. /package/dist/stzh-components/{p-9dc09551.entry.js.map → p-4cc22e58.entry.js.map} +0 -0
  660. /package/dist/stzh-components/{p-0c40b74a.entry.js.map → p-57350e0f.entry.js.map} +0 -0
  661. /package/dist/stzh-components/{p-9868d9ae.entry.js.map → p-582dce2a.entry.js.map} +0 -0
  662. /package/dist/stzh-components/{p-6e273ca9.entry.js.map → p-59f148b6.entry.js.map} +0 -0
  663. /package/dist/stzh-components/{p-a06207b8.entry.js.map → p-5c6e3a8d.entry.js.map} +0 -0
  664. /package/dist/stzh-components/{p-f4a72255.entry.js.map → p-68eac8f8.entry.js.map} +0 -0
  665. /package/dist/stzh-components/{p-71a0881e.entry.js.map → p-6caa57d2.entry.js.map} +0 -0
  666. /package/dist/stzh-components/{p-51b68c35.entry.js.map → p-6f9d0b16.entry.js.map} +0 -0
  667. /package/dist/stzh-components/{p-53fbd93e.entry.js.map → p-7659680e.entry.js.map} +0 -0
  668. /package/dist/stzh-components/{p-7c4475b1.entry.js.map → p-7a89cb17.entry.js.map} +0 -0
  669. /package/dist/stzh-components/{p-a3227cea.entry.js.map → p-7cbdff42.entry.js.map} +0 -0
  670. /package/dist/stzh-components/{p-8b77de57.entry.js.map → p-7cc03903.entry.js.map} +0 -0
  671. /package/dist/stzh-components/{p-c820956f.entry.js.map → p-80ad40e0.entry.js.map} +0 -0
  672. /package/dist/stzh-components/{p-0d7b090a.entry.js.map → p-81223fd0.entry.js.map} +0 -0
  673. /package/dist/stzh-components/{p-0504563f.entry.js.map → p-81cedb07.entry.js.map} +0 -0
  674. /package/dist/stzh-components/{p-ff5abecf.entry.js.map → p-88771be4.entry.js.map} +0 -0
  675. /package/dist/stzh-components/{p-51e9d435.entry.js.map → p-920fce3c.entry.js.map} +0 -0
  676. /package/dist/stzh-components/{p-aca1cbd6.entry.js.map → p-93ec64d8.entry.js.map} +0 -0
  677. /package/dist/stzh-components/{p-54ba4496.entry.js.map → p-a406f00b.entry.js.map} +0 -0
  678. /package/dist/stzh-components/{p-3a5acc86.entry.js.map → p-b0216e1c.entry.js.map} +0 -0
  679. /package/dist/stzh-components/{p-e45aaf19.entry.js.map → p-b1f7a965.entry.js.map} +0 -0
  680. /package/dist/stzh-components/{p-3a0112f4.entry.js.map → p-b2577810.entry.js.map} +0 -0
  681. /package/dist/stzh-components/{p-d68f208f.js.map → p-b381bb3f.js.map} +0 -0
  682. /package/dist/stzh-components/{p-38570073.entry.js.map → p-beeb3c30.entry.js.map} +0 -0
  683. /package/dist/stzh-components/{p-0edd3842.entry.js.map → p-c8319cd5.entry.js.map} +0 -0
  684. /package/dist/stzh-components/{p-70805ea3.entry.js.map → p-c8d80b05.entry.js.map} +0 -0
  685. /package/dist/stzh-components/{p-15f3c6a1.entry.js.map → p-dbe28f96.entry.js.map} +0 -0
  686. /package/dist/stzh-components/{p-3f4afd76.entry.js.map → p-de4b1f2b.entry.js.map} +0 -0
  687. /package/dist/stzh-components/{p-13881ff2.entry.js.map → p-de8c2229.entry.js.map} +0 -0
  688. /package/dist/stzh-components/{p-b1695c60.entry.js.map → p-e55ed246.entry.js.map} +0 -0
  689. /package/dist/stzh-components/{p-9c552bd1.entry.js.map → p-f06def5a.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"stzh-vbz-ticker.js","sourceRoot":"","sources":["../../../../../../src/components/CMS/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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Fragment, h, Host, Prop, Watch } from \"@stencil/core\";\n\nimport axios from \"axios\";\n\nimport { StzhLocaleAdapter } from \"../../../../index\";\n\nimport { VBZ, VbzTickerDisturbance, VbzTickerInfoUrl, VbzTickerLine } from \"../../../../index\";\n\nimport { StzhVbzTickerLocalizedText } from \"./stzh-vbz-ticker.localization\";\n\n/**\n * @slot link - Optional link to traffic situation\n */\n@Component({\n tag: \"stzh-vbz-ticker\",\n styleUrl: \"stzh-vbz-ticker.scss\",\n scoped: true,\n})\nexport class StzhVbzTicker {\n /** API URL (`{lang}` is replaced in the URL) */\n @Prop() api: string =\n \"https://fpbe.zvv.ch/restproxy/himsearch?format=json&accessId=unic&channels=ticker&additionalfields=tickers:VBZ&orderBy=LMOD_DESC&lang={lang}\";\n\n /** Data to pass in directly (alternative for API call) */\n @Prop() data: any = \"\";\n private _data: any;\n\n /** More info link (`{lang}` and `{id}` are replaced in the URL) */\n @Prop() moreInfoLink: string = \"https://zvv.ch/{lang}/fahrplan-und-informationen/verkehrslage.html?himIds={id}\";\n\n /**\n * Date adapter, for custom parsing/formatting.\n * Must be object with a `parse` function which accepts a `string` and returns a `Date`,\n * and a `format` function which accepts a `Date` and returns a `string`.\n */\n @Prop() dateAdapter: StzhLocaleAdapter;\n\n /** Translation strings. */\n @Prop() localization: StzhVbzTickerLocalizedText;\n\n @Element() element: HTMLStzhVbzTickerElement;\n\n private globalDisturbances: VbzTickerDisturbance[] = [];\n private linesWithDisturbances: VbzTickerLine[] = [];\n private linesWithConstructions: VbzTickerLine[] = [];\n private collator: Intl.Collator;\n\n private counter = {\n [`${VBZ.DISTURBANCE_GLOBAL}`]: 0,\n [`${VBZ.DISTURBANCE_INFORMATION}`]: 0,\n [`${VBZ.DISTURBANCE_CONSTRUCTION}`]: 0,\n [`${VBZ.DISTURBANCE_NORMAL}`]: 0,\n [`${VBZ.DISTURBANCE_EVENT}`]: 0,\n [`${VBZ.DISTURBANCE_BUS}`]: 0,\n };\n\n @Watch(\"localization\")\n localizationWatcher() {\n this.collator = new Intl.Collator(this.localization.$locale, {\n numeric: true,\n });\n }\n\n @Watch(\"api\")\n async apiWatcher(newValue: string) {\n if (!newValue) {\n return;\n }\n\n let apiUrl = this.api.replace(/\\{lang\\}/, this.localization.$locale);\n apiUrl = apiUrl + (apiUrl.includes(\"?\") ? \"&\" : \"?\") + Date.now();\n\n // load data from API\n const { data } = await axios.get(apiUrl);\n\n this.data = data;\n }\n\n @Watch(\"dateAdapter\")\n dateAdapterWatcher(newValue: StzhLocaleAdapter) {\n if (!newValue) {\n this.dateAdapter = window.stzhComponents.utils.createFormatParseAdapter(\n this.localization.$formats,\n this.localization.$globals,\n );\n }\n }\n\n @Watch(\"data\")\n async dataWatcher(newValue: any) {\n if (typeof newValue === \"string\") {\n this._data = JSON.parse(newValue);\n } else {\n this._data = newValue;\n }\n\n const linesToDisplay: { [key: string]: VbzTickerLine } = {};\n\n this._data?.Message?.forEach(message => {\n const urls: VbzTickerInfoUrl[] = message.channel\n .filter(channel => channel.name === VBZ.CHANNEL_TICKER && channel.url)\n .map(channel => channel.url)\n .reduce((a, b) => a.concat(b), []);\n\n const infoUrl = urls.find(url => url.url.indexOf(VBZ.CHANNEL_INFO_URL_FILTER) !== -1);\n\n if (message.baseType === VBZ.BASE_TYPE_GLOBAL) {\n this.counter[VBZ.DISTURBANCE_GLOBAL]++;\n\n this.globalDisturbances.push({\n id: message.id,\n head: message.head,\n category: message.category,\n baseType: message.baseType,\n startDate: new Date(`${message.sDate}T${message.sTime}+02:00`),\n endDate: new Date(`${message.eDate}T${message.eTime}+02:00`),\n altStart: message.altStart,\n altEnd: message.altEnd,\n infoUrl: infoUrl,\n });\n } else {\n this.counter[message.category]++;\n }\n\n // don't add to linesWithDisturbances if no line/product has been linked to\n // or if it is a information disturbance or global\n if (\n message.affectedProduct &&\n message.category !== VBZ.DISTURBANCE_INFORMATION &&\n message.baseType !== VBZ.BASE_TYPE_GLOBAL\n ) {\n const affectedLines = [];\n\n message.affectedProduct.forEach(product => {\n if (typeof linesToDisplay[product.lineId] === \"undefined\") {\n linesToDisplay[product.lineId] = {\n line: product.line,\n name: product.name,\n category: product.cls,\n disturbances: [],\n alert: false,\n };\n }\n\n if (message.category === VBZ.DISTURBANCE_EVENT || message.category === VBZ.DISTURBANCE_GLOBAL) {\n linesToDisplay[product.lineId].alert = true;\n }\n\n // only add disturbance message to line if it was not already added (avoiding same message twice)\n if (!affectedLines.includes(product.lineId)) {\n affectedLines.push(product.lineId);\n\n linesToDisplay[product.lineId].disturbances.push({\n id: message.id,\n head: message.head,\n category: message.category,\n baseType: message.baseType,\n startDate: new Date(`${message.sDate}T${message.sTime}+02:00`),\n endDate: new Date(`${message.eDate}T${message.eTime}+02:00`),\n altStart: message.altStart,\n altEnd: message.altEnd,\n infoUrl: infoUrl,\n });\n }\n });\n }\n });\n\n this.linesWithDisturbances = Object.keys(linesToDisplay)\n .map(key => linesToDisplay[key])\n .filter(\n line => line.disturbances.findIndex(disturbance => disturbance.category !== VBZ.DISTURBANCE_CONSTRUCTION) > -1,\n );\n\n this.linesWithConstructions = Object.keys(linesToDisplay)\n .map(key => linesToDisplay[key])\n .filter(\n line => line.disturbances.findIndex(disturbance => disturbance.category === VBZ.DISTURBANCE_CONSTRUCTION) > -1,\n );\n\n // sort by line name\n this.linesWithDisturbances.sort((a, b) => this.collator.compare(a.line, b.line));\n this.linesWithConstructions.sort((a, b) => this.collator.compare(a.line, b.line));\n }\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"vbz-ticker\");\n this.localizationWatcher();\n }\n\n this.dateAdapterWatcher(this.dateAdapter);\n\n if (this.data) {\n await this.dataWatcher(this.data);\n } else {\n await this.apiWatcher(this.api);\n }\n }\n\n renderDisturbance(disturbance: VbzTickerDisturbance) {\n return (\n <div\n class={{\n \"stzh-vbz-ticker__disturbance\": true,\n [`stzh-vbz-ticker__disturbance--type${disturbance.category}`]: !!disturbance.category,\n }}\n >\n <div class=\"stzh-vbz-ticker__disturbance-text\">\n <div class=\"stzh-vbz-ticker__disturbance-title\">{disturbance.head}</div>\n\n <div class=\"stzh-vbz-ticker__disturbance-date\">\n {this.dateAdapter.formatSpan(\n disturbance.altStart || disturbance.startDate,\n disturbance.altEnd || disturbance.endDate,\n \"date\",\n )}\n </div>\n\n {disturbance.infoUrl ? (\n <stzh-link class=\"stzh-vbz-ticker__disturbance-link\" size=\"small\" href={disturbance.infoUrl.url}>\n {this.localization.moreInfo}\n </stzh-link>\n ) : (\n <stzh-link\n class=\"stzh-vbz-ticker__disturbance-link\"\n size=\"small\"\n target=\"_blank\"\n icon=\"external-link\"\n href={this.moreInfoLink.replace(/\\{lang\\}/, this.localization.$locale).replace(/\\{id\\}/, disturbance.id)}\n >\n {this.localization.moreInfo}\n </stzh-link>\n )}\n </div>\n </div>\n );\n }\n\n render() {\n const classes = {\n \"stzh-vbz-ticker\": true,\n };\n\n return (\n <Host>\n <div class={classes}>\n <div class=\"stzh-vbz-ticker__content\">\n {/* TODO: Old stuff currently in verification whether to redesign or remove. */}\n\n {/*{this.linesWithDisturbances.length === 0 && this.counter[VBZ.DISTURBANCE_GLOBAL] === 0 && (*/}\n {/* <div class=\"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--no-disturbances\">*/}\n {/* <stzh-icon class=\"stzh-vbz-ticker__icon\" name=\"checkmark-circle\"></stzh-icon>*/}\n {/* {this.localization.noDisturbances}*/}\n {/* </div>*/}\n {/*)}*/}\n\n {/*{this.counter[DISTURBANCE_GLOBAL] > 0 && (*/}\n {/* <div class=\"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--major-events\">*/}\n {/* <stzh-icon class=\"stzh-vbz-ticker__icon\" name=\"important-warning\"></stzh-icon>*/}\n {/* {this.localization.majorEventTitle}*/}\n {/* </div>*/}\n {/*)}*/}\n\n {/*<div class=\"stzh-vbz-ticker__description\">*/}\n {/* {this.counter[VBZ.DISTURBANCE_GLOBAL] > 0*/}\n {/* ? this.localization.globalDisturbance*/}\n {/* : this.localization.affectedLines}*/}\n {/*</div>*/}\n\n {/*{this.counter[VBZ.DISTURBANCE_GLOBAL] > 0 && (*/}\n {/* <div class=\"stzh-vbz-ticker__chip\" role=\"listitem\">*/}\n {/* <stzh-tooltip class=\"stzh-vbz-ticker__tooltip\">*/}\n {/* <stzh-vbz-linechip global></stzh-vbz-linechip>*/}\n {/* <div class=\"stzh-vbz-ticker__tooltip-content\" slot=\"content\">*/}\n {/* {this.globalDisturbances.map(disturbance => this.renderDisturbance(disturbance))}*/}\n {/* </div>*/}\n {/* </stzh-tooltip>*/}\n {/* </div>*/}\n {/*)}*/}\n\n {this.counter[VBZ.DISTURBANCE_NORMAL] > 0 && (\n <Fragment>\n <div class=\"stzh-vbz-ticker__title\">\n <div class=\"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--disturbances\">\n <stzh-icon class=\"stzh-vbz-ticker__icon\" name=\"warning\"></stzh-icon>\n {this.localization.disturbancesTitle}\n </div>\n </div>\n <div class=\"stzh-vbz-ticket__lines\">\n <div class=\"stzh-vbz-ticker__chips\" role=\"list\">\n {this.linesWithDisturbances.map(line => (\n <div class=\"stzh-vbz-ticker__chip\" role=\"listitem\">\n <stzh-tooltip class=\"stzh-vbz-ticker__tooltip\">\n <stzh-vbz-linechip line={line.line} alert={line.alert}></stzh-vbz-linechip>\n <div class=\"stzh-vbz-ticker__tooltip-content\" slot=\"content\">\n {line.disturbances.map(disturbance => this.renderDisturbance(disturbance))}\n </div>\n </stzh-tooltip>\n </div>\n ))}\n </div>\n </div>\n </Fragment>\n )}\n\n {/* Constructions etc. */}\n {(this.counter[VBZ.DISTURBANCE_CONSTRUCTION] > 0 ||\n this.counter[VBZ.DISTURBANCE_EVENT] > 0 ||\n this.counter[VBZ.DISTURBANCE_BUS] > 0) && (\n <Fragment>\n <div class=\"stzh-vbz-ticker__title\">\n <div class=\"stzh-vbz-ticker__title-parts\">\n <div class=\"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--others\">\n <stzh-icon class=\"stzh-vbz-ticker__icon\" name=\"construction\"></stzh-icon>\n {this.localization.constructionsTitle}\n </div>\n </div>\n </div>\n <div class=\"stzh-vbz-ticket__lines\">\n <div class=\"stzh-vbz-ticker__chips\" role=\"list\">\n {this.linesWithConstructions.map(line => (\n <div class=\"stzh-vbz-ticker__chip\" role=\"listitem\">\n <stzh-tooltip class=\"stzh-vbz-ticker__tooltip\">\n <stzh-vbz-linechip line={line.line} alert={line.alert}></stzh-vbz-linechip>\n <div class=\"stzh-vbz-ticker__tooltip-content\" slot=\"content\">\n {line.disturbances.map(disturbance => this.renderDisturbance(disturbance))}\n </div>\n </stzh-tooltip>\n </div>\n ))}\n </div>\n </div>\n </Fragment>\n )}\n\n <div class=\"stzh-vbz-ticker__link\">\n <slot name=\"link\"></slot>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"stzh-vbz-ticker.js","sourceRoot":"","sources":["../../../../../../src/components/CMS/VBZ/stzh-vbz-ticker/stzh-vbz-ticker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEnF,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAqB,GAAG,EAAyD,MAAM,mBAAmB,CAAC;AAIlH;;GAEG;AAMH,MAAM,OAAO,aAAa;;QA4BhB,uBAAkB,GAA2B,EAAE,CAAC;QAChD,0BAAqB,GAAoB,EAAE,CAAC;QAC5C,2BAAsB,GAAoB,EAAE,CAAC;QAG7C,YAAO,GAAG;YAChB,CAAC,GAAG,GAAG,CAAC,kBAAkB,E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AAK,EAAC,8BAA8B;gCACvC,4DAAK,KAAK,EAAC,iEAAiE;oCAC1E,kEAAW,KAAK,EAAC,uBAAuB,EAAC,IAAI,EAAC,cAAc,GAAa;oCACxE,IAAI,CAAC,YAAY,CAAC,kBAAkB,CACjC,CACF,CACF;wBACN,4DAAK,KAAK,EAAC,wBAAwB;4BACjC,4DAAK,KAAK,EAAC,wBAAwB,EAAC,IAAI,EAAC,MAAM,IAC5C,IAAI,CAAC,sBAAsB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CACvC,WAAK,KAAK,EAAC,uBAAuB,EAAC,IAAI,EAAC,UAAU;gCAChD,oBAAc,KAAK,EAAC,0BAA0B;oCAC5C,yBACE,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,GACpB;oCACrB,WAAK,KAAK,EAAC,kCAAkC,EAAC,IAAI,EAAC,SAAS,IACzD,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC,CACtE,CACO,CACX,CACP,CAAC,CACE,CACF,CACG,CACZ;oBAED,4DAAK,KAAK,EAAC,uBAAuB;wBAChC,6DAAM,IAAI,EAAC,MAAM,GAAQ,CACrB,CACF,CACF,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Fragment, h, Host, Prop, Watch } from \"@stencil/core\";\n\nimport axios from \"axios\";\n\nimport { StzhLocaleAdapter, VBZ, VbzTickerDisturbance, VbzTickerInfoUrl, VbzTickerLine } from \"../../../../index\";\n\nimport { StzhVbzTickerLocalizedText } from \"./stzh-vbz-ticker.localization\";\n\n/**\n * @slot link - Optional link to traffic situation\n */\n@Component({\n tag: \"stzh-vbz-ticker\",\n styleUrl: \"stzh-vbz-ticker.scss\",\n scoped: true,\n})\nexport class StzhVbzTicker {\n /** API URL (`{lang}` is replaced in the URL) */\n @Prop() api: string =\n \"https://fpbe.zvv.ch/restproxy/himsearch?format=json&accessId=unic&channels=ticker&additionalfields=tickers:VBZ&orderBy=LMOD_DESC&lang={lang}\";\n\n /** Data to pass in directly (alternative for API call) */\n @Prop() data: any = \"\";\n private _data: any;\n\n /** Whether to use local color definitions (from line-colors.json) or remote color definitions (from API). If API color definitions\n * are being used, local ones are still used as fallback. */\n @Prop({ reflect: true }) useApiLineColors: boolean = false;\n\n /** More info link (`{lang}` and `{id}` are replaced in the URL) */\n @Prop() moreInfoLink: string = \"https://zvv.ch/{lang}/fahrplan-und-informationen/verkehrslage.html?himIds={id}\";\n\n /**\n * Date adapter, for custom parsing/formatting.\n * Must be object with a `parse` function which accepts a `string` and returns a `Date`,\n * and a `format` function which accepts a `Date` and returns a `string`.\n */\n @Prop() dateAdapter: StzhLocaleAdapter;\n\n /** Translation strings. */\n @Prop() localization: StzhVbzTickerLocalizedText;\n\n @Element() element: HTMLStzhVbzTickerElement;\n\n private globalDisturbances: VbzTickerDisturbance[] = [];\n private linesWithDisturbances: VbzTickerLine[] = [];\n private linesWithConstructions: VbzTickerLine[] = [];\n private collator: Intl.Collator;\n\n private counter = {\n [`${VBZ.DISTURBANCE_GLOBAL}`]: 0,\n [`${VBZ.DISTURBANCE_INFORMATION}`]: 0,\n [`${VBZ.DISTURBANCE_CONSTRUCTION}`]: 0,\n [`${VBZ.DISTURBANCE_NORMAL}`]: 0,\n [`${VBZ.DISTURBANCE_EVENT}`]: 0,\n [`${VBZ.DISTURBANCE_BUS}`]: 0,\n };\n\n @Watch(\"localization\")\n localizationWatcher() {\n this.collator = new Intl.Collator(this.localization.$locale, {\n numeric: true,\n });\n }\n\n @Watch(\"api\")\n async apiWatcher(newValue: string) {\n if (!newValue) {\n return;\n }\n\n let apiUrl = this.api.replace(/\\{lang\\}/, this.localization.$locale);\n apiUrl = apiUrl + (apiUrl.includes(\"?\") ? \"&\" : \"?\") + Date.now();\n\n // load data from API\n const { data } = await axios.get(apiUrl);\n\n this.data = data;\n }\n\n @Watch(\"dateAdapter\")\n dateAdapterWatcher(newValue: StzhLocaleAdapter) {\n if (!newValue) {\n this.dateAdapter = window.stzhComponents.utils.createFormatParseAdapter(\n this.localization.$formats,\n this.localization.$globals,\n );\n }\n }\n\n @Watch(\"data\")\n async dataWatcher(newValue: any) {\n if (typeof newValue === \"string\") {\n this._data = JSON.parse(newValue);\n } else {\n this._data = newValue;\n }\n\n const linesToDisplay: { [key: string]: VbzTickerLine } = {};\n\n this._data?.Message?.forEach(message => {\n const urls: VbzTickerInfoUrl[] = message.channel\n .filter(channel => channel.name === VBZ.CHANNEL_TICKER && channel.url)\n .map(channel => channel.url)\n .reduce((a, b) => a.concat(b), []);\n\n const infoUrl = urls.find(url => url.url.indexOf(VBZ.CHANNEL_INFO_URL_FILTER) !== -1);\n\n if (message.baseType === VBZ.BASE_TYPE_GLOBAL) {\n this.counter[VBZ.DISTURBANCE_GLOBAL]++;\n\n this.globalDisturbances.push({\n id: message.id,\n head: message.head,\n category: message.category,\n baseType: message.baseType,\n startDate: new Date(`${message.sDate}T${message.sTime}+02:00`),\n endDate: new Date(`${message.eDate}T${message.eTime}+02:00`),\n altStart: message.altStart,\n altEnd: message.altEnd,\n infoUrl: infoUrl,\n });\n } else {\n this.counter[message.category]++;\n }\n\n // don't add to linesWithDisturbances if no line/product has been linked to\n // or if it is a information disturbance or global\n if (\n message.affectedProduct &&\n message.category !== VBZ.DISTURBANCE_INFORMATION &&\n message.baseType !== VBZ.BASE_TYPE_GLOBAL\n ) {\n const affectedLines = [];\n\n message.affectedProduct.forEach(product => {\n if (typeof linesToDisplay[product.lineId] === \"undefined\") {\n linesToDisplay[product.lineId] = {\n line: product.line,\n icon: product.icon,\n name: product.name,\n category: product.cls,\n disturbances: [],\n alert: false,\n };\n }\n\n if (message.category === VBZ.DISTURBANCE_EVENT || message.category === VBZ.DISTURBANCE_GLOBAL) {\n linesToDisplay[product.lineId].alert = true;\n }\n\n // only add disturbance message to line if it was not already added (avoiding same message twice)\n if (!affectedLines.includes(product.lineId)) {\n affectedLines.push(product.lineId);\n\n linesToDisplay[product.lineId].disturbances.push({\n id: message.id,\n head: message.head,\n category: message.category,\n baseType: message.baseType,\n startDate: new Date(`${message.sDate}T${message.sTime}+02:00`),\n endDate: new Date(`${message.eDate}T${message.eTime}+02:00`),\n altStart: message.altStart,\n altEnd: message.altEnd,\n infoUrl: infoUrl,\n });\n }\n });\n }\n });\n\n this.linesWithDisturbances = Object.keys(linesToDisplay)\n .map(key => linesToDisplay[key])\n .filter(\n line => line.disturbances.findIndex(disturbance => disturbance.category !== VBZ.DISTURBANCE_CONSTRUCTION) > -1,\n );\n\n this.linesWithConstructions = Object.keys(linesToDisplay)\n .map(key => linesToDisplay[key])\n .filter(\n line => line.disturbances.findIndex(disturbance => disturbance.category === VBZ.DISTURBANCE_CONSTRUCTION) > -1,\n );\n\n // sort by line name\n this.linesWithDisturbances.sort((a, b) => this.collator.compare(a.line, b.line));\n this.linesWithConstructions.sort((a, b) => this.collator.compare(a.line, b.line));\n }\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"vbz-ticker\");\n this.localizationWatcher();\n }\n\n this.dateAdapterWatcher(this.dateAdapter);\n\n if (this.data) {\n await this.dataWatcher(this.data);\n } else {\n await this.apiWatcher(this.api);\n }\n }\n\n renderDisturbance(disturbance: VbzTickerDisturbance) {\n return (\n <div\n class={{\n \"stzh-vbz-ticker__disturbance\": true,\n [`stzh-vbz-ticker__disturbance--type${disturbance.category}`]: !!disturbance.category,\n }}\n >\n <div class=\"stzh-vbz-ticker__disturbance-text\">\n <div class=\"stzh-vbz-ticker__disturbance-title\">{disturbance.head}</div>\n\n <div class=\"stzh-vbz-ticker__disturbance-date\">\n {this.dateAdapter.formatSpan(\n disturbance.altStart || disturbance.startDate,\n disturbance.altEnd || disturbance.endDate,\n \"date\",\n )}\n </div>\n\n {disturbance.infoUrl ? (\n <stzh-link class=\"stzh-vbz-ticker__disturbance-link\" size=\"small\" href={disturbance.infoUrl.url}>\n {this.localization.moreInfo}\n </stzh-link>\n ) : (\n <stzh-link\n class=\"stzh-vbz-ticker__disturbance-link\"\n size=\"small\"\n target=\"_blank\"\n icon=\"external-link\"\n href={this.moreInfoLink.replace(/\\{lang\\}/, this.localization.$locale).replace(/\\{id\\}/, disturbance.id)}\n >\n {this.localization.moreInfo}\n </stzh-link>\n )}\n </div>\n </div>\n );\n }\n\n render() {\n const classes = {\n \"stzh-vbz-ticker\": true,\n };\n\n return (\n <Host>\n <div class={classes}>\n <div class=\"stzh-vbz-ticker__content\">\n {/* TODO: Old stuff currently in verification whether to redesign or remove. */}\n\n {/*{this.linesWithDisturbances.length === 0 && this.counter[VBZ.DISTURBANCE_GLOBAL] === 0 && (*/}\n {/* <div class=\"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--no-disturbances\">*/}\n {/* <stzh-icon class=\"stzh-vbz-ticker__icon\" name=\"checkmark-circle\"></stzh-icon>*/}\n {/* {this.localization.noDisturbances}*/}\n {/* </div>*/}\n {/*)}*/}\n\n {/*{this.counter[DISTURBANCE_GLOBAL] > 0 && (*/}\n {/* <div class=\"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--major-events\">*/}\n {/* <stzh-icon class=\"stzh-vbz-ticker__icon\" name=\"important-warning\"></stzh-icon>*/}\n {/* {this.localization.majorEventTitle}*/}\n {/* </div>*/}\n {/*)}*/}\n\n {/*<div class=\"stzh-vbz-ticker__description\">*/}\n {/* {this.counter[VBZ.DISTURBANCE_GLOBAL] > 0*/}\n {/* ? this.localization.globalDisturbance*/}\n {/* : this.localization.affectedLines}*/}\n {/*</div>*/}\n\n {/*{this.counter[VBZ.DISTURBANCE_GLOBAL] > 0 && (*/}\n {/* <div class=\"stzh-vbz-ticker__chip\" role=\"listitem\">*/}\n {/* <stzh-tooltip class=\"stzh-vbz-ticker__tooltip\">*/}\n {/* <stzh-vbz-linechip global></stzh-vbz-linechip>*/}\n {/* <div class=\"stzh-vbz-ticker__tooltip-content\" slot=\"content\">*/}\n {/* {this.globalDisturbances.map(disturbance => this.renderDisturbance(disturbance))}*/}\n {/* </div>*/}\n {/* </stzh-tooltip>*/}\n {/* </div>*/}\n {/*)}*/}\n\n {this.counter[VBZ.DISTURBANCE_NORMAL] > 0 && (\n <Fragment>\n <div class=\"stzh-vbz-ticker__title\">\n <div class=\"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--disturbances\">\n <stzh-icon class=\"stzh-vbz-ticker__icon\" name=\"warning\"></stzh-icon>\n {this.localization.disturbancesTitle}\n </div>\n </div>\n <div class=\"stzh-vbz-ticket__lines\">\n <div class=\"stzh-vbz-ticker__chips\" role=\"list\">\n {this.linesWithDisturbances.map(line => (\n <div class=\"stzh-vbz-ticker__chip\" role=\"listitem\">\n <stzh-tooltip class=\"stzh-vbz-ticker__tooltip\">\n <stzh-vbz-linechip\n line={line.line}\n alert={line.alert}\n icon={line.icon}\n useApiLineColors={this.useApiLineColors}\n ></stzh-vbz-linechip>\n <div class=\"stzh-vbz-ticker__tooltip-content\" slot=\"content\">\n {line.disturbances.map(disturbance => this.renderDisturbance(disturbance))}\n </div>\n </stzh-tooltip>\n </div>\n ))}\n </div>\n </div>\n </Fragment>\n )}\n\n {/* Constructions etc. */}\n {(this.counter[VBZ.DISTURBANCE_CONSTRUCTION] > 0 ||\n this.counter[VBZ.DISTURBANCE_EVENT] > 0 ||\n this.counter[VBZ.DISTURBANCE_BUS] > 0) && (\n <Fragment>\n <div class=\"stzh-vbz-ticker__title\">\n <div class=\"stzh-vbz-ticker__title-parts\">\n <div class=\"stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--others\">\n <stzh-icon class=\"stzh-vbz-ticker__icon\" name=\"construction\"></stzh-icon>\n {this.localization.constructionsTitle}\n </div>\n </div>\n </div>\n <div class=\"stzh-vbz-ticket__lines\">\n <div class=\"stzh-vbz-ticker__chips\" role=\"list\">\n {this.linesWithConstructions.map(line => (\n <div class=\"stzh-vbz-ticker__chip\" role=\"listitem\">\n <stzh-tooltip class=\"stzh-vbz-ticker__tooltip\">\n <stzh-vbz-linechip\n line={line.line}\n alert={line.alert}\n icon={line.icon}\n useApiLineColors={this.useApiLineColors}\n ></stzh-vbz-linechip>\n <div class=\"stzh-vbz-ticker__tooltip-content\" slot=\"content\">\n {line.disturbances.map(disturbance => this.renderDisturbance(disturbance))}\n </div>\n </stzh-tooltip>\n </div>\n ))}\n </div>\n </div>\n </Fragment>\n )}\n\n <div class=\"stzh-vbz-ticker__link\">\n <slot name=\"link\"></slot>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -1,5 +1,4 @@
1
1
  import { createComponentStory } from '../../../../utils/story-utils';
2
- import { withActions } from '@storybook/addon-actions/decorator';
3
2
  import readme from './readme.md?raw';
4
3
 
5
4
  // import { getFigmaLink } from '../../../figma';
@@ -22,9 +21,6 @@ export default {
22
21
  component: 'stzh-vbz-ticker',
23
22
  parameters: {
24
23
  layout: 'padded',
25
- actions: {
26
- handles: []
27
- },
28
24
  docs: {
29
25
  description: {
30
26
  component: readme
@@ -35,13 +31,13 @@ export default {
35
31
  url: getFigmaLink('vbz_ticker', 'EgegIml8Pz4neEpF8KLaDF'),
36
32
  allowFullscreen: true
37
33
  }
38
- },
39
- decorators: [withActions]
34
+ }
40
35
  };
41
36
 
42
37
  export const Local = {
43
38
  render: (args) => story(args, TEMPLATE),
44
39
  args: {
40
+ api: '',
45
41
  data: TestResponse
46
42
  }
47
43
  };
@@ -1,5 +1,4 @@
1
1
  import { createComponentStory } from '../../../utils/story-utils';
2
- import { withActions } from '@storybook/addon-actions/decorator';
3
2
  import readme from './readme.md?raw';
4
3
 
5
4
  import { getFigmaLink } from '../../../../figma';
@@ -16,8 +15,8 @@ export default {
16
15
  component: COMPONENT_NAME,
17
16
  parameters: {
18
17
  layout: 'padded',
19
- actions: {
20
- handles: ['stzhItemClick']
18
+ stzhActions: {
19
+ events: ['stzhItemClick']
21
20
  },
22
21
  docs: {
23
22
  description: {
@@ -29,8 +28,7 @@ export default {
29
28
  url: getFigmaLink('archivelist'),
30
29
  allowFullscreen: true
31
30
  }
32
- },
33
- decorators: [withActions]
31
+ }
34
32
  };
35
33
 
36
34
  const itemsOnlyLink = [
@@ -61,7 +61,7 @@ export class StzhBathstatusItem {
61
61
  "stzh-bathstatus-item": true,
62
62
  [`stzh-bathstatus-item--${this.variant}`]: true,
63
63
  };
64
- return (h(Host, { key: '049ceb12ea36d8540d62245110542cbce804d6b7' }, h("div", { key: 'af93314d9a9712643b4d758e67917778116a616f', class: classes }, !!this._item.description && h("div", { key: 'a917b9349b134461be1f738f085debbfa03e2c41', class: "stzh-bathstatus-item__description" }, this._item.description), h("div", { key: 'c17dfc404306d2a753860a1e9ec34b09a12fe7e0', class: "stzh-bathstatus-item-container" }, h("stzh-link", { key: '816825ba461c708ce5e51a5196339b57088a10e7', class: "stzh-bathstatus-item__title", size: "default", textAlign: "left", href: this._item.url, label: this._item.title }), !!this._item.temp && (h(Fragment, { key: '4fd0ead4e664c429f7059e76be391f461aed1f4a' }, h("div", { key: '37cd3e23f818f23b490ba7dc4f8e33e34dd33313', class: "stzh-bathstatus-item-key" }, this.localization.temperature), h("div", { key: '8da0302df8f4a96d97b4b1ee68d8b77f3a5ca06e', class: "stzh-bathstatus-item-value" }, this._item.temp))), !!this._item.statusMessage && (h(Fragment, { key: '8079570e42ca70cb479de3bd52a83e6a107072c0' }, h("div", { key: 'de3c53cbaba3c12fe1909beb09cb03934aa11c1e', class: "stzh-bathstatus-item-key" }, this.localization.status), h("div", { key: '1c4feab9ed2646ad86985f039a57004d5feef86a', class: "stzh-bathstatus-item-value" }, this._item.statusMessage))), !!this._item.lastUpdate && (h(Fragment, { key: 'd2d5919b7b779a9b27af04eede9158d949a42775' }, h("div", { key: 'dd9813587fc67e9a4f6e994a4e51d7b8e1b5591b', class: "stzh-bathstatus-item-key" }, this.localization.lastUpdate), h("div", { key: '426dc7476b0ff79c1fc4f5092d67fbf7642875e3', class: "stzh-bathstatus-item-value" }, this.isMedium ? (h(Fragment, null, this.dateAdapter.format(this.getParsedDate(this._item.lastUpdate), "datetimeLong"))) : (h(Fragment, null, this.dateAdapter.format(this.getParsedDate(this._item.lastUpdate), "dateInput"), " ", this.dateAdapter.format(this.getParsedDate(this._item.lastUpdate), "time")))))), !!this._item.uvIndexPrediction && (h(Fragment, { key: '50848ab83a679b3e742996a4523a92f1c568176c' }, h("div", { key: '74a87aa163cfbdb17db7aee6bc5bf11b98b36222', class: "stzh-bathstatus-item-key" }, this.localization.uvIndexPrediction), h("div", { key: '09615be70ef67776a212324baa8f38c07d1362dc', class: "stzh-bathstatus-item-value stzh-bathstatus-item-uv-index-prediction" }, h("img", { key: 'b6743003860ceb1948142b2c27d927db63c4ed2a', src: `${window.stzhComponents.pathMedia}/uvindex/uvindex_${this._item.uvIndexPrediction}.gif`, alt: "UV Index" + this._item.uvIndexPrediction }))))))));
64
+ return (h(Host, { key: '496723ede68faa084f028757800646bdb6d0efe5' }, h("div", { key: 'f964111a68fe87f325983a6cba18ad2e5e3a6822', class: classes }, !!this._item.description && h("div", { key: 'fcff4560326baecc20fe33318405cfec8001ce39', class: "stzh-bathstatus-item__description" }, this._item.description), h("div", { key: '312ba9f35912c9b0f10b027b4ba45011c84dc328', class: "stzh-bathstatus-item-container" }, h("stzh-link", { key: '9f44c9a983562d21fd3c236b39602174c38e4f68', class: "stzh-bathstatus-item__title", size: "default", textAlign: "left", href: this._item.url, label: this._item.title }), !!this._item.temp && (h(Fragment, { key: '9f5707749b2d45751f613b44b66d53cce88062da' }, h("div", { key: 'a82f2637155056bd56516f90c63deba5a8f1513d', class: "stzh-bathstatus-item-key" }, this.localization.temperature), h("div", { key: '55580e766b16ca9468671fb25adb6844a27f49cf', class: "stzh-bathstatus-item-value" }, this._item.temp))), !!this._item.statusMessage && (h(Fragment, { key: '68dbe0674fedf8368b91d6ed0af4fbe4cf23d6a3' }, h("div", { key: 'd8a01718ba91c0d39a6acdee5fb026be43c57cc5', class: "stzh-bathstatus-item-key" }, this.localization.status), h("div", { key: 'f6f0ed954a73ca41d033b0efdb1df98e2a1ffb99', class: "stzh-bathstatus-item-value" }, this._item.statusMessage))), !!this._item.lastUpdate && (h(Fragment, { key: '0b08d1badca10127a3aa9d1c8c37390f057c6da6' }, h("div", { key: 'bf907c9d6a91ae8517fd7acff92a2edc4b6d7436', class: "stzh-bathstatus-item-key" }, this.localization.lastUpdate), h("div", { key: '493c1714b655cdfc47ce64af428730fc32df0a7d', class: "stzh-bathstatus-item-value" }, this.isMedium ? (h(Fragment, null, this.dateAdapter.format(this.getParsedDate(this._item.lastUpdate), "datetimeLong"))) : (h(Fragment, null, this.dateAdapter.format(this.getParsedDate(this._item.lastUpdate), "dateInput"), " ", this.dateAdapter.format(this.getParsedDate(this._item.lastUpdate), "time")))))), !!this._item.uvIndexPrediction && (h(Fragment, { key: '3299590f8fc202bed2614a89222e53953145acc4' }, h("div", { key: '1c0efe42467f9a6281eb1ef34c8372bba53ff465', class: "stzh-bathstatus-item-key" }, this.localization.uvIndexPrediction), h("div", { key: '7a1920a5ff79d5c04a55131260e7972b925a3d7a', class: "stzh-bathstatus-item-value stzh-bathstatus-item-uv-index-prediction" }, h("img", { key: '138c3757b4ac5f239078c5bf22f7b48d664d5914', src: `${window.stzhComponents.pathMedia}/uvindex/uvindex_${this._item.uvIndexPrediction}.gif`, alt: "UV Index" + this._item.uvIndexPrediction }))))))));
65
65
  }
66
66
  static get is() { return "stzh-bathstatus-item"; }
67
67
  static get encapsulation() { return "scoped"; }
@@ -1,5 +1,4 @@
1
1
  import { createComponentStory } from '../../../utils/story-utils';
2
- import { withActions } from '@storybook/addon-actions/decorator';
3
2
  import readme from './readme.md?raw';
4
3
 
5
4
  import { getFigmaLink } from '../../../../figma';
@@ -26,8 +25,7 @@ export default {
26
25
  url: getFigmaLink('bathstatus'),
27
26
  allowFullscreen: true
28
27
  }
29
- },
30
- decorators: [withActions]
28
+ }
31
29
  };
32
30
 
33
31
  export const Teaser = {
@@ -46,7 +46,7 @@ export class StzhBathstatusList {
46
46
  const classes = {
47
47
  "stzh-bathstatus-list": true,
48
48
  };
49
- return (h(Host, { key: 'b9cff6372116ca549aa308341ff92d380fbcc632' }, h("div", { key: 'a6153fdd9425def7d42ddca415f4ddca3ca9c52e', class: classes }, h("stzh-overlay", { key: 'f44bd56482dde583f6cde10be05554899e5a0484', open: this.isLoading }, h("stzh-loader", { key: 'c4674457d352f16dc981e5606ff7b7a6a34260eb', label: this.loadingText })), h("div", { key: '161160331abe63b34e0ca9016117efb1abade501', class: "stzh-bathstatus-list__header" }, h("div", { key: 'a8e3ff7ba47114c9609e438386b989535665defc', class: "stzh-bathstatus-list__column-name" }, this.localization.bath), h("div", { key: 'c21127a2167a7329525f3c9a3e45e718d8f2bfe9', class: "stzh-bathstatus-list__column-name" }, this.localization.water), h("div", { key: 'fa907650aeed5b0bc3ac0d844235de6f280858fd', class: "stzh-bathstatus-list__column-name" }, this.localization.status), h("div", { key: '0bbe23c4a04ede32ee23edd6db31d9ef02c1a4e8', class: "stzh-bathstatus-list__column-name" }, this.localization.lastUpdate)), h("div", { key: 'ce1a7c98d52cbe88a534eb12d431ca5f700b9339', class: "stzh-bathstatus-list__list", role: "list" }, h("slot", { key: 'd8061459273d61212b55023d55146da0cefd579a' }), this.items.length > 0 && (h(Fragment, { key: '7ad1c81c99ab590e70bc439e42b1489e3ec3c8be' }, this.items.map(item => (h("stzh-bathstatus-item", { item: item, variant: "list" })))))))));
49
+ return (h(Host, { key: '3235d24fdb96e731f5c69cd047cb93c6cc9591c4' }, h("div", { key: '0b0a5057591bc6b42d1ea0b21d39d0f0792b1825', class: classes }, h("stzh-overlay", { key: '101a29f2f84ebd779cd7dfc0fafa641041f43007', open: this.isLoading }, h("stzh-loader", { key: 'dd42ccca1e95bfd94d0538cdf1f6703dd8800b62', label: this.loadingText })), h("div", { key: 'ac6f1edc4dc9ccf87ac39b13badf7c0c2b1758f2', class: "stzh-bathstatus-list__header" }, h("div", { key: 'ab5a79808a6a402ac11b387ad15531525f111d6b', class: "stzh-bathstatus-list__column-name" }, this.localization.bath), h("div", { key: '47ccc622355e4e6e9e2e1e257019b81054554753', class: "stzh-bathstatus-list__column-name" }, this.localization.water), h("div", { key: '85fed10dafc95e26a6aa3693ef5c4330f8f676c8', class: "stzh-bathstatus-list__column-name" }, this.localization.status), h("div", { key: 'ac1b7e59b54d2b6f5374fca7de73784cb155d110', class: "stzh-bathstatus-list__column-name" }, this.localization.lastUpdate)), h("div", { key: '1f0a7c7aeacf1fee9df240d484773dfa89ea9d06', class: "stzh-bathstatus-list__list", role: "list" }, h("slot", { key: 'c719f099bc318a3608419e2c49d7e1187c3b2445' }), this.items.length > 0 && (h(Fragment, { key: 'fa9d43202adf7f76864f28b4844e826af079937c' }, this.items.map(item => (h("stzh-bathstatus-item", { item: item, variant: "list" })))))))));
50
50
  }
51
51
  static get is() { return "stzh-bathstatus-list"; }
52
52
  static get encapsulation() { return "scoped"; }
@@ -1,5 +1,4 @@
1
1
  import { createComponentStory } from '../../../utils/story-utils';
2
- import { withActions } from '@storybook/addon-actions/decorator';
3
2
  import readme from './readme.md?raw';
4
3
 
5
4
  const COMPONENT_NAME = 'stzh-bathstatus-list';
@@ -38,8 +37,7 @@ export default {
38
37
  component: readme
39
38
  }
40
39
  }
41
- },
42
- decorators: [withActions]
40
+ }
43
41
  };
44
42
 
45
43
  export const WithApi = {
@@ -126,7 +126,7 @@ export class StzhCardSuperteaser {
126
126
  };
127
127
  const Heading = `h${this.headingLevel}`;
128
128
  const HeadingLink = this.href ? "a" : "div";
129
- return (h(Host, { key: '319ba1541d2664bef85fa8c57036348ab8f05b2c', "has-image": hasImage }, h("article", { key: '7910c058b9cd59d489bf5e151f4f8348dbd030cd', class: classes, "aria-label": this.heading, role: "listitem" }, this.tag && h("stzh-tag", { key: '85ffcc3c33c28e98962d9c775c030dc0114eed1e', class: "stzh-card-superteaser__tag", label: this.tag, nonInteractive: true }), h("div", { key: '107e650870f4c92029699aa1206982e2e69bbe8f', class: "stzh-card-superteaser__heading-wrapper" }, this.breadcrumbItems && (h("stzh-breadcrumb", { key: '2a7665af63c9a66f7c5d1483d77f339195d9f316', class: "stzh-card-superteaser__breadcrumb", items: this.breadcrumbItems, variant: "teaser" })), this.dateline && h("div", { key: '974c53a6485c6f2eba4a452f8e9ef570cf653a36', class: "stzh-card-superteaser__dateline" }, this.dateline), this.topic && h("div", { key: '390b9fedc123e9bae0738591b310a81828918a88', class: "stzh-card-superteaser__topic" }, this.topic), h(Heading, { key: '12c796bfa2c5688faef2b4f833b7b4f66525bfaf', class: `stzh-card-superteaser__heading ${hasSlot(this.element, "heading") ? "stzh-card-superteaser__heading--slotted" : ""}` }, h(HeadingLink, { key: 'af5cccf1056cc817ce76b760118837784bb59417', ref: el => (this.headingLinkElement = el), class: "stzh-card-superteaser__heading-link", href: this.href, target: this.target, download: this.download, onClick: this.handleCardClick }, this.heading ? (h("div", { class: "stzh-card-superteaser__heading-link-text", ref: el => (this.headingTextElement = el), innerHTML: this.heading })) : (h("div", { class: "stzh-card-superteaser__heading-link-text", ref: el => (this.headingTextElement = el) }, h("slot", { name: "heading" })))))), h("div", { key: '3c7453f2aabf60c11710bf64eee69b9e467054a3', class: "stzh-card-superteaser__description-wrapper" }, (eventDateStart || this.eventLocation) && (h("div", { key: '21d7c108b51bf064706e65fd34d8c4b9d825d99e', class: "stzh-card-superteaser__event-infos" }, eventDateStart && (h("div", { key: 'e5b94ea96e183b1a3bd8196422713880cf8ac5ed', class: "stzh-card-superteaser__event-date" }, h("span", { key: '0fabb37127b36307a5aae8167ad745853f95c6f7' }, this.dateAdapter.format(eventDateStart, "dateLong")), this.hasProperStartAndOrEndDate(eventDateStart, eventDateEnd) && (h("span", { key: '0b283654e17ccd0ad605265ce90cf4babeed0719' }, !this.isOnHomepage && h("span", { key: '22fbd8490d38fe8e0485086346c0d2d00b1f65d0' }, ",\u00A0"), this.dateAdapter.formatSpan(eventDateStart, eventDateEnd, "time"))))), this.eventLocation && h("div", { key: 'cabac47862cb03eec4713fce7b4bee3e2c057199', class: "stzh-card-superteaser__event-location" }, this.eventLocation))), h("div", { key: '06ec46490d7f654d1ae81f986eaffd5c1e8959e0', class: `stzh-card-superteaser__description ${hasSlot(this.element, "heading") ? "stzh-card-superteaser__description--slotted" : ""}` }, this.description ? this.description : h("slot", { name: "description" }))), h("div", { key: '779142cc228592dc0171e15c7633f2255f3a920b', class: "stzh-card-superteaser__image" }, eventDateStart && (h("div", { key: '1ea1bd8a72a80b92534fbdedc36c71ccf24a3975', class: "stzh-card-superteaser__event-date-teaser" }, h("div", { key: 'edbccf181f7d08ce51ac18b1bbf7317ab3272dbd', class: "stzh-card-superteaser__event-date-teaser-day-name" }, this.localization.$globals.dayNamesShort[eventDateStart.getDay()]), h("div", { key: '0acb19fefef722c6b7b3f142db3e2590f76dd6f8', class: "stzh-card-superteaser__event-date-teaser-day" }, eventDateStart.getDate() < 10 && "0", eventDateStart.getDate()), h("div", { key: '24f370f313d1c683bb5b71573781fc3b17643351', class: "stzh-card-superteaser__event-date-teaser-month" }, this.localization.$globals.monthNamesShort[eventDateStart.getMonth()]))), this.service && h("div", { key: 'e32e5e83a26d4191437ab4672f3f9c8e1989960a', class: "stzh-card-superteaser__service" }, this.service), h("slot", { key: '1d46d0e477a639de84a52bcf14f88964eeb3bac4', name: "image" }), this.placeholderImageEnabled && !hasImageSlot && (h("stzh-ratio", { key: '5243f75161af72e64483fc2d849c95d647bbca8d', ratio: "2:1" }, h("div", { key: 'e42635e5cd609bb4bfbb09dc976d1100a2d11075', class: "stzh-card-superteaser__image-placeholder", innerHTML: PlaceholderImage })))), (this._meta.length > 0 || this.datalistItems || !!this.downloadHeading || this._downloadMeta.length > 0) && (h("div", { key: 'bdae2f7e9ea172a56ac9fc4d27b5908e0ed8d606', class: "stzh-card-superteaser__meta-wrapper" }, this.datalistItems && (h("stzh-datalist", { key: 'ee58f91c853d431ad1be6a341800ddb3c8512dfe', class: "stzh-card-searchresult__datalist", items: this.datalistItems })), this._meta.length > 0 && (h("div", { key: '3b94e59f08b7e661fc5ec82b1efb3b839e3df91d', class: "stzh-card-superteaser__meta" }, h("div", { key: 'ea705ed1594680cc49938330e8411a3eb157d560', class: "stzh-card-superteaser__meta-list" }, this._meta.map(meta => (h(Fragment, null, h("div", { class: "stzh-card-superteaser__meta-list-item" }, meta))))))), (!!this.downloadHeading || this._downloadMeta.length > 0) && (h("div", { key: '828377ad49cffe0f5373b3639802714f3221db0d', class: "stzh-card-superteaser__download" }, h("div", { key: '3bcb61f367927c6530fac66f6753aa5ef0aee7ca', class: "stzh-card-superteaser__download-data" }, this.downloadHeading && (h("div", { key: '125525bbc6ba8da665b0c0e7ac2822127e9b5f5a', class: "stzh-card-superteaser__download-heading" }, this.downloadHeading)), this._downloadMeta.length > 0 && (h("div", { key: 'e7cb2a38b723d77f2917ebc1a050bc6b3aac3abf', class: "stzh-card-superteaser__download-meta-list" }, this._downloadMeta.map(meta => (h(Fragment, null, h("div", { class: "stzh-card-superteaser__download-meta-list-item" }, meta))))))), h("div", { key: 'e33a1af85bb6e1c6c5920bbc4c45043ac5422e4b', class: "stzh-card-superteaser__download-button" }, h("stzh-icon", { key: 'c9dcbedd8dfb9c9fe4b05048df729c65ac7d6d1c', class: "stzh-card-superteaser__download-icon", name: "download" })))))))));
129
+ return (h(Host, { key: '5245e138f4b81ffb187fe51e3155fdee27947c66', "has-image": hasImage }, h("article", { key: 'c6613a4e654f576be4f0955aaf88906084f24b6e', class: classes, "aria-label": this.heading, role: "listitem" }, this.tag && h("stzh-tag", { key: '063bf7197a15ca8634181e947a61cc177ea3baea', class: "stzh-card-superteaser__tag", label: this.tag, nonInteractive: true }), h("div", { key: '89de45450e9d783999ab5399107b21d62c5951d5', class: "stzh-card-superteaser__heading-wrapper" }, this.breadcrumbItems && (h("stzh-breadcrumb", { key: '92cf3e4a99eefd42df9a392ad1feddcee7b820b0', class: "stzh-card-superteaser__breadcrumb", items: this.breadcrumbItems, variant: "teaser" })), this.dateline && h("div", { key: '1b80cba9903a04e7350e1463c5e7da6e057af10e', class: "stzh-card-superteaser__dateline" }, this.dateline), this.topic && h("div", { key: 'a64ef101161aa9ff154e4920c2b627af658d9681', class: "stzh-card-superteaser__topic" }, this.topic), h(Heading, { key: 'd874ccd312a1c7f741b4c0890ce3d69e63e756ad', class: `stzh-card-superteaser__heading ${hasSlot(this.element, "heading") ? "stzh-card-superteaser__heading--slotted" : ""}` }, h(HeadingLink, { key: '0a50a5cb89cab3a224f853fd84d70f053e99994b', ref: el => (this.headingLinkElement = el), class: "stzh-card-superteaser__heading-link", href: this.href, target: this.target, download: this.download, onClick: this.handleCardClick }, this.heading ? (h("div", { class: "stzh-card-superteaser__heading-link-text", ref: el => (this.headingTextElement = el), innerHTML: this.heading })) : (h("div", { class: "stzh-card-superteaser__heading-link-text", ref: el => (this.headingTextElement = el) }, h("slot", { name: "heading" })))))), h("div", { key: '0aa278f12ea65d12d5fe9734a08f09b2b97430d2', class: "stzh-card-superteaser__description-wrapper" }, (eventDateStart || this.eventLocation) && (h("div", { key: '81acfe34018cb2480f43b1c72a64a017938ea2e5', class: "stzh-card-superteaser__event-infos" }, eventDateStart && (h("div", { key: '74f580895437ce87c342c87bb4feafbb6c06a7a8', class: "stzh-card-superteaser__event-date" }, h("span", { key: '76f769c55a9764ea3dbcc57bd2f0fa86e93e5f87' }, this.dateAdapter.format(eventDateStart, "dateLong")), this.hasProperStartAndOrEndDate(eventDateStart, eventDateEnd) && (h("span", { key: '99ecc1f86eccd583cf51b8b2929c0f5fdc84702c' }, !this.isOnHomepage && h("span", { key: '447370b6bb41cbd454082cce0f6468f11bcc4b98' }, ",\u00A0"), this.dateAdapter.formatSpan(eventDateStart, eventDateEnd, "time"))))), this.eventLocation && h("div", { key: 'aac3854ca21a2722c019e7adb21d9adcf8f191cb', class: "stzh-card-superteaser__event-location" }, this.eventLocation))), h("div", { key: 'df4517459f1b1b4dec38dfe92487aba03fd5f44b', class: `stzh-card-superteaser__description ${hasSlot(this.element, "heading") ? "stzh-card-superteaser__description--slotted" : ""}` }, this.description ? this.description : h("slot", { name: "description" }))), h("div", { key: '497d53d2fa56e32797dba0060881bee0a1bb67dd', class: "stzh-card-superteaser__image" }, eventDateStart && (h("div", { key: 'c653466d2e71ce9f3b619a612aa16e83c0203e5a', class: "stzh-card-superteaser__event-date-teaser" }, h("div", { key: '909af11c3a7ac1a34051b03cdce753a10c27ad51', class: "stzh-card-superteaser__event-date-teaser-day-name" }, this.localization.$globals.dayNamesShort[eventDateStart.getDay()]), h("div", { key: 'a3f059a03ded1c2889d78777583a1094a09dbf41', class: "stzh-card-superteaser__event-date-teaser-day" }, eventDateStart.getDate() < 10 && "0", eventDateStart.getDate()), h("div", { key: '208913a664710ce9b5aaa2e9645658ba480fe220', class: "stzh-card-superteaser__event-date-teaser-month" }, this.localization.$globals.monthNamesShort[eventDateStart.getMonth()]))), this.service && h("div", { key: 'ad9242d67c859ba4d2c5fed3d3b3f6fbb59581a1', class: "stzh-card-superteaser__service" }, this.service), h("slot", { key: '00463aae0648705918c63fb808cbc82a10761694', name: "image" }), this.placeholderImageEnabled && !hasImageSlot && (h("stzh-ratio", { key: '4064134ef853017f4fa059daca447372d213c0b2', ratio: "2:1" }, h("div", { key: '453d4385f91b8e0216626a3ce186fb8f164c8d4c', class: "stzh-card-superteaser__image-placeholder", innerHTML: PlaceholderImage })))), (this._meta.length > 0 || this.datalistItems || !!this.downloadHeading || this._downloadMeta.length > 0) && (h("div", { key: 'de452159c99b43aee0ad15bc8a8c9184c6dc75b0', class: "stzh-card-superteaser__meta-wrapper" }, this.datalistItems && (h("stzh-datalist", { key: 'f193f54bba19d97ba295fa7c8be6082df96ed4cd', class: "stzh-card-searchresult__datalist", items: this.datalistItems })), this._meta.length > 0 && (h("div", { key: '38bc118f5fbf031a768e38818671abf539462c79', class: "stzh-card-superteaser__meta" }, h("div", { key: '490e9a78baa4ac470d56c6389adccee0a6651ae9', class: "stzh-card-superteaser__meta-list" }, this._meta.map(meta => (h(Fragment, null, h("div", { class: "stzh-card-superteaser__meta-list-item" }, meta))))))), (!!this.downloadHeading || this._downloadMeta.length > 0) && (h("div", { key: '8978cc5afac406bb40e78973db170ab0ad054502', class: "stzh-card-superteaser__download" }, h("div", { key: '977bb9149a8efe4305103e930362d5c654f27bd2', class: "stzh-card-superteaser__download-data" }, this.downloadHeading && (h("div", { key: '61ae2dc917b5b401198ac1ad1cd2a5434c20e7c6', class: "stzh-card-superteaser__download-heading" }, this.downloadHeading)), this._downloadMeta.length > 0 && (h("div", { key: '03e2fd4a618d1be3776ae9bb1c03195904263c25', class: "stzh-card-superteaser__download-meta-list" }, this._downloadMeta.map(meta => (h(Fragment, null, h("div", { class: "stzh-card-superteaser__download-meta-list-item" }, meta))))))), h("div", { key: '4e21b06bc0d47eff647e0a0d5a93877298ce9837', class: "stzh-card-superteaser__download-button" }, h("stzh-icon", { key: '6ba567d0c88b27cd24c4d85af91a5ad683537477', class: "stzh-card-superteaser__download-icon", name: "download" })))))))));
130
130
  }
131
131
  static get is() { return "stzh-card-superteaser"; }
132
132
  static get encapsulation() { return "scoped"; }
@@ -1,5 +1,4 @@
1
1
  import { createComponentStory } from '../../../utils/story-utils';
2
- import { withActions } from '@storybook/addon-actions/decorator';
3
2
  import readme from './readme.md?raw';
4
3
 
5
4
  import { getFigmaLink } from '../../../../figma';
@@ -30,8 +29,8 @@ export default {
30
29
  component: COMPONENT_NAME,
31
30
  parameters: {
32
31
  layout: 'padded',
33
- actions: {
34
- handles: ['stzhClick']
32
+ stzhActions: {
33
+ events: ['stzhClick']
35
34
  },
36
35
  docs: {
37
36
  description: {
@@ -43,8 +42,7 @@ export default {
43
42
  url: getFigmaLink('card-superteaser'),
44
43
  allowFullscreen: true
45
44
  }
46
- },
47
- decorators: [withActions]
45
+ }
48
46
  };
49
47
 
50
48
  export const Media = {
@@ -147,7 +147,7 @@ export class StzhContact {
147
147
  const isPerson = this.type === "Person";
148
148
  const isOrganization = this.type === "Organization";
149
149
  const hasMainHeading = !!this.mainHeading || hasSlot(this.element, "main-heading");
150
- return (h(Host, { key: '57322ee1d520a29beb3784d296128aeea4832f97', "has-availability": !!this.availability ? "true" : "false" }, h("div", { key: '004916525b0d7e05475fc7edcaad55202a826eee', class: classes, itemscope: true, itemtype: `http://schema.org/${this.type}` }, h("div", { key: '24fc23fe4a718336e86f3b3dc5b797abd46fdfab', class: "stzh-contact__main-heading", itemprop: (isOrganization && !this.heading) || (isPerson && !this.name) ? "name" : null }, hasMainHeading && (h("div", { key: 'ce61a6e2dfe164639223d73aa202bcf0a7f0179b', class: "stzh-contact__main-heading-section" }, this.mainHeading ? (h("stzh-heading", { level: this.mainHeadingLevel, htmlContent: this.mainHeading })) : (h("slot", { name: "main-heading" })))), h("div", { key: '5f6711d8d0f79e53fbf94bc6d9a0f663cceeafab', class: isPerson && "stzh-contact__main-heading-text" }, this.personRole && isPerson && (h("stzh-heading", { key: 'fbec847a727b9afb6c81c766c07977ee28922f95', curve: "h3", level: "3" }, h("span", { key: 'beeb28282171bd875dcedb302b53e0c9f8d1ba57', class: "stzh-contact__role" }, this.personRole))), this.cityLabel && isOrganization && (h("stzh-heading", { key: '8c02187bba4a0ec9ab26c48085cf8974e82135a6', curve: "h3", level: "3" }, h("span", { key: '8fd1e8a6bfbd7c281f766303aa90bc2ac38b8fea', class: "stzh-contact__departament" }, this.cityLabel))), this.departament && isOrganization && (h("stzh-heading", { key: 'b5aaf3730e77fef668c8a3e266809580902fd9c8', curve: "h3", level: "3" }, h("span", { key: 'ee9bf0a9151b6c223f0d9ace065f15090d97c291', class: "stzh-contact__departament" }, this.departament))), ((isPerson && this.name) || (isOrganization && this.heading)) && (h("div", { key: '0296c7fa17c812e743667ca1581d07d1cc27a0ab', class: "stzh-contact__main-heading-type" }, this.name && isPerson && h("stzh-heading", { key: '29cabfad18473fc9a2f145e5c192eace2406283f', level: "3", curve: "h3", htmlContent: this.name }), this.heading && isOrganization && (h("stzh-heading", { key: 'efbc7d16bed4106feae2d755a07fa5edb0147de9', level: this.headingLevel, htmlContent: this.heading }))))), isPerson && (h("div", { key: '4924a75746ce16ae02cbb76dbbf7322c5a43defe', class: "stzh-contact__image-wrapper" }, h("div", { key: 'f5d1f546e94832eb8dca7a7c13f32d0536354ef4', class: "stzh-contact__image" }, h("slot", { key: 'a8048d1393d2b86576d9abba15d13b1bfc3d619d', name: "image" }))))), h("div", { key: '336b8c2bb9cd4e27250cc42b96bc47d08da9f925', class: "stzh-contact__responsibility" }, this.responsibilityTitle && (h(HeadingLevel, { key: '91ea38d3412e9aee95c1d001709fab35383fb65c', class: "stzh-contact__heading", itemprop: this.responsibilityTitle, innerHTML: this.responsibilityTitle })), this.responsibility && (h("stzh-text", { key: 'ffc44b08670577587abe8977bac89ba30516ded1', class: "stzh-contact__responsibility-text" }, this.responsibility))), h("div", { key: 'eb5d6e313f891a80afb76215d5d0fbc4419b9f8c', class: "stzh-contact__contact-form" }, h("slot", { key: 'd3076448217fd80ffe164508cefe5bc64afb794a', name: "contact-form" })), h("div", { key: '8f3804eba63339c7fc00f1f945b0275e6e84e482', class: "stzh-contact__additional" }, h("slot", { key: '14227c31868989adf1c1553518deb05ca9ca7ca3' })), h("div", { key: '3915bba97fe2fac2e8dbddb2d98fcedea18d3196', class: "stzh-contact__info" }, this.contactTitle && (h(AvailabilityTitleElement, { key: '96fbbcce53f9c15f2e4b04f04dd77816f6b0e2fd', class: "stzh-contact__availability-title" }, this.contactTitle)), h("div", { key: 'b849b9a4ed53ad7e70a5f2afb4bf7075cec119ae', class: "stzh-contact__address", itemprop: "address", itemscope: true, itemtype: "http://schema.org/PostalAddress", innerHTML: this.address }, !this.address && (h(Fragment, { key: '1753f50f29cf7fbccc9f3fe022d525c2efb00dbb' }, this._street.length > 0 && (h("div", { key: '5012e45f997439a8a80251d6d44364cf0ee8257d', class: "stzh-contact__street", itemprop: "streetAddress" }, this._street.map((street) => (h(Fragment, null, street, h("br", null)))), this._streetInfo.length > 0 && (h(Fragment, { key: 'cef86f797b3ed6fd2f7d374fcae3a3f5d6e6301b' }, h("br", { key: 'a8d909a5758b27f3f6e4bf05f71e7c266f9f50b0' }), " ", this._streetInfo.map((streetInfo) => (h(Fragment, null, streetInfo, h("br", null)))))))), this.postalCode && (h("span", { key: 'e24ed881acc68d738cc4590a409fd3e1a309c88d', class: "stzh-contact__postal-code", itemprop: "postalCode" }, this.postalCode, "\u00A0")), this.location && (h("span", { key: 'ad98a76b251955bf59ec09bb762db77be0ae641b', class: "stzh-contact__locality", itemprop: "addressLocality" }, this.location)), h("slot", { key: '215adbee3dc1a4021cc31f63685f450299e67143', name: "address" })))), this._numbers.length > 0 && (h("div", { key: '3bacb2732ae0e81f18c73c0c09d565c5cc187330', class: "stzh-contact__numbers" }, this._numbers.map(number => (h("div", { class: "stzh-contact__number" }, h("span", null, number.label, "\u00A0"), h("stzh-link", { size: "inherit", height: "auto", class: "stzh-contact__number-link", href: `${number.type}:${formatTel(number.number)}`, analyticsId: number.analyticsId || `${number.label} ${number.number}`, itemprop: number.type === "fax" ? "faxNumber" : "telephone" }, number.number)))))), this._emails.length > 0 && (h("div", { key: 'aa62cae1a4aae0d2ba683754cbe9c6188ccf1f8a', class: "stzh-contact__emails" }, this._emails.map(email => (h("div", { class: "stzh-contact__email" }, h("span", null, email.label, "\u00A0"), email.href ? (h("stzh-link", { size: "inherit", height: "auto", class: "stzh-container__email-link", href: `mailto:${email.href}`, analyticsId: email.analyticsId || `${email.label} ${email.text}`, itemprop: "email" }, email.text)) : (h("span", { class: "stzh-container__email-link", itemprop: "email" }, email.text))))))), this.websites && (h("div", { key: '7e73adcfe1bebc6c24922efd1f84b78ce892a9c3', class: "stzh-contact__websites" }, this._websites.map(website => (h("div", { class: "stzh-contact__website" }, h("span", null, website.label, "\u00A0"), h("stzh-datalist-item", { href: website.href, value: website.text, rel: website.rel })))))), h("div", { key: '70befe249a1cdb991710052c22ab764256089ed0', class: "stzh-contact__pobox", innerHTML: this.pobox }, !this.pobox && (h(Fragment, { key: '687cab0eca83230a2d274c5d4be7c0a7e03be62e' }, this.poboxHeading && h("div", { key: 'cdf8b41f0baeae7a7001961d40886fbe5fab0b21', class: "stzh-contact__pobox-heading" }, this.poboxHeading), this.poboxTitle && h("div", { key: '4312f8468723ae001ed4396426371de46b1e683c', class: "stzh-contact__pobox-title" }, this.poboxTitle), this.poboxPostalCode && (h("span", { key: 'd86c7cbecf4015b81a2ad8b431ea477729452b38', class: "stzh-contact__pobox-postal-code" }, this.poboxPostalCode, "\u00A0")), this.poboxLocation && h("span", { key: '58738d90c4f51bbf4ff2c399fd788f4e86b811bb', class: "stzh-contact__pobox-locality" }, this.poboxLocation), h("slot", { key: '47bd3bcc86418dacbee51d49a617fb8933a02b68', name: "pobox" })))), h("div", { key: 'c079eff0462d4f6a15b88abd93d38a6513be0e44', class: "stzh-contact__additional-information", innerHTML: this.additionalInformation })), this.availability && (h("div", { key: '8c16dc4d4b8f67899ca33a6c12e3ff7a5a525e3d', class: "stzh-contact__availability" }, this.availabilityTitle && (h(AvailabilityTitleElement, { key: '8766020093430c112669a00efdf0f05347bdeaeb', class: "stzh-contact__availability-title" }, this.availabilityTitle)), this._availability.length > 0 && (h("ul", { key: 'a62590875a99969d5d82362fdd046054977cc057', class: "stzh-contact__availability-list" }, this._availability.map(item => (h("li", { class: "stzh-contact__availability-list-item" }, h("div", { class: "stzh-contact__availability-weekday" }, item.weekday), item.hours.length > 0 && (h("div", { class: "stzh-contact__availability-hours" }, item.hours.map((hour, index) => (h(Fragment, null, h("div", { class: "stzh-contact__availability-hour" }, hour), index < item.hours.length - 1 && (h("div", { class: "stzh-contact__availability-hours-separator" })))))))))))))))));
150
+ return (h(Host, { key: 'bf25ad93a131e157c8864ab9f2bd4dd879e0e606', "has-availability": !!this.availability ? "true" : "false" }, h("div", { key: '3b447e2c45a068e9ca65b3122556de9c2d1c0ec1', class: classes, itemscope: true, itemtype: `http://schema.org/${this.type}` }, h("div", { key: '55b8ad35e08235920c17f4a2ce8ba3f3c0e3391c', class: "stzh-contact__main-heading", itemprop: (isOrganization && !this.heading) || (isPerson && !this.name) ? "name" : null }, hasMainHeading && (h("div", { key: 'f12d78e085e96b56bf3c9f6d7afa2e090f8fa9ab', class: "stzh-contact__main-heading-section" }, this.mainHeading ? (h("stzh-heading", { level: this.mainHeadingLevel, htmlContent: this.mainHeading })) : (h("slot", { name: "main-heading" })))), h("div", { key: 'fd8e05cd628a2cf92d0007fce0f46243e5454ea1', class: isPerson && "stzh-contact__main-heading-text" }, this.personRole && isPerson && (h("stzh-heading", { key: 'cddded3e2fa37b1e7c5764513b4f07276ed91a8a', curve: "h3", level: "3" }, h("span", { key: 'b370f4bfba87a11e3e0390e3e9b10827763ea7c2', class: "stzh-contact__role" }, this.personRole))), this.cityLabel && isOrganization && (h("stzh-heading", { key: '6730ccc397c7f8b45830dc8f82bc4fed633043ae', curve: "h3", level: "3" }, h("span", { key: '2e7b9c876a4e748c37f46b1046f9ad39fa594ca7', class: "stzh-contact__departament" }, this.cityLabel))), this.departament && isOrganization && (h("stzh-heading", { key: '36a33a603c8cbbbbdcfb2265b78773419af2e301', curve: "h3", level: "3" }, h("span", { key: '21757c0c447187f65bd7a1a7ebc34be6e9dabcaf', class: "stzh-contact__departament" }, this.departament))), ((isPerson && this.name) || (isOrganization && this.heading)) && (h("div", { key: '47d6a781a8e9a74d84a2bef798c732d4c5a251d8', class: "stzh-contact__main-heading-type" }, this.name && isPerson && h("stzh-heading", { key: '715ce5b13e007d8b9682af28b8a3e30fc0fd0502', level: "3", curve: "h3", htmlContent: this.name }), this.heading && isOrganization && (h("stzh-heading", { key: '4079e5ca61a0cf906d86b8b17829e60306327a46', level: this.headingLevel, htmlContent: this.heading }))))), isPerson && (h("div", { key: '72916339a3d962e73a88d24ca555a05bba0cccc8', class: "stzh-contact__image-wrapper" }, h("div", { key: '2baf4c9fc505e31b09fb5406a200c9f33ad6eb31', class: "stzh-contact__image" }, h("slot", { key: 'ec9b40a777e52c218e24316a4f286e6dccc2e4b7', name: "image" }))))), h("div", { key: 'f098563592ef9574ba91dd15142568c33b245526', class: "stzh-contact__responsibility" }, this.responsibilityTitle && (h(HeadingLevel, { key: '15e3cb269447d33bff4801c5fa878fc9a4e4c6b9', class: "stzh-contact__heading", itemprop: this.responsibilityTitle, innerHTML: this.responsibilityTitle })), this.responsibility && (h("stzh-text", { key: '935e68f51a0ab25732d4172eb495cf58b048bf6a', class: "stzh-contact__responsibility-text" }, this.responsibility))), h("div", { key: '9b68c3768e1afe50577e5e4691979cf6ddbfd755', class: "stzh-contact__contact-form" }, h("slot", { key: '391cc7caf910529414e5a7dab070737f9eaf841c', name: "contact-form" })), h("div", { key: '5938f237d5d2f9669cc781b90dae54d162d62d54', class: "stzh-contact__additional" }, h("slot", { key: '23725f1a2af406f17ba156355324c35aac9c53ca' })), h("div", { key: '2e1e56fe05e7416a566767350b04182dff8f6039', class: "stzh-contact__info" }, this.contactTitle && (h(AvailabilityTitleElement, { key: '8a3ea58301037501a03ef4c158205717bc222bf9', class: "stzh-contact__availability-title" }, this.contactTitle)), h("div", { key: '68ed8a7fe6f4735eb5737184b357e6e152ca23fb', class: "stzh-contact__address", itemprop: "address", itemscope: true, itemtype: "http://schema.org/PostalAddress", innerHTML: this.address }, !this.address && (h(Fragment, { key: '3d541c083a663cceef90bac63a05e58537b83f2c' }, this._street.length > 0 && (h("div", { key: '37f8e3393ec34c2602c6135fde2148cda29f9f89', class: "stzh-contact__street", itemprop: "streetAddress" }, this._street.map((street) => (h(Fragment, null, street, h("br", null)))), this._streetInfo.length > 0 && (h(Fragment, { key: 'cf65ef6f96133623144496698121519ff469b210' }, h("br", { key: '7ed101ca88620f4faaeb9439c10502428c3f6566' }), " ", this._streetInfo.map((streetInfo) => (h(Fragment, null, streetInfo, h("br", null)))))))), this.postalCode && (h("span", { key: '349153e65a33426a71acb7ccfa1f1301a643b2fe', class: "stzh-contact__postal-code", itemprop: "postalCode" }, this.postalCode, "\u00A0")), this.location && (h("span", { key: 'ec60c015ee75fa578705a53c2231b1116f54aab8', class: "stzh-contact__locality", itemprop: "addressLocality" }, this.location)), h("slot", { key: '55087fad059c1ddfba16cbbcb3d7de4460085838', name: "address" })))), this._numbers.length > 0 && (h("div", { key: '7c84acb77f087a34eeb70e6b33e506f8f2f971e7', class: "stzh-contact__numbers" }, this._numbers.map(number => (h("div", { class: "stzh-contact__number" }, h("span", null, number.label, "\u00A0"), h("stzh-link", { size: "inherit", height: "auto", class: "stzh-contact__number-link", href: `${number.type}:${formatTel(number.number)}`, analyticsId: number.analyticsId || `${number.label} ${number.number}`, itemprop: number.type === "fax" ? "faxNumber" : "telephone" }, number.number)))))), this._emails.length > 0 && (h("div", { key: 'ccbc9b0af8537514099157d86297b08c99677144', class: "stzh-contact__emails" }, this._emails.map(email => (h("div", { class: "stzh-contact__email" }, h("span", null, email.label, "\u00A0"), email.href ? (h("stzh-link", { size: "inherit", height: "auto", class: "stzh-container__email-link", href: `mailto:${email.href}`, analyticsId: email.analyticsId || `${email.label} ${email.text}`, itemprop: "email" }, email.text)) : (h("span", { class: "stzh-container__email-link", itemprop: "email" }, email.text))))))), this.websites && (h("div", { key: 'a747f8c8d665f70147c54ee7266a0965582048c2', class: "stzh-contact__websites" }, this._websites.map(website => (h("div", { class: "stzh-contact__website" }, h("span", null, website.label, "\u00A0"), h("stzh-datalist-item", { href: website.href, value: website.text, rel: website.rel })))))), h("div", { key: 'b78a674a69669dcb03b036f91006c27a04c3dbd5', class: "stzh-contact__pobox", innerHTML: this.pobox }, !this.pobox && (h(Fragment, { key: 'cf25742b636cfb796dfbb5c389ef5d0079368bf8' }, this.poboxHeading && h("div", { key: 'ca14098c9afdcee223d4764aad8340a47287d7b1', class: "stzh-contact__pobox-heading" }, this.poboxHeading), this.poboxTitle && h("div", { key: '54e0766f51d8b09b6d08915737cc691b75b45517', class: "stzh-contact__pobox-title" }, this.poboxTitle), this.poboxPostalCode && (h("span", { key: 'dfd98bec8858a88b130d03765b41e1a88f9bd5f6', class: "stzh-contact__pobox-postal-code" }, this.poboxPostalCode, "\u00A0")), this.poboxLocation && h("span", { key: '400735002cf640b7900b6f70975f8909484db699', class: "stzh-contact__pobox-locality" }, this.poboxLocation), h("slot", { key: '67fd686cd53e1535f6b37bcf36b9b57a63a2dd7a', name: "pobox" })))), h("div", { key: '992875b06112f5e2b45644df9d4d0110e561d244', class: "stzh-contact__additional-information", innerHTML: this.additionalInformation })), this.availability && (h("div", { key: '60fed68aa68a9bfbe97c35d58d2a57e92aa30006', class: "stzh-contact__availability" }, this.availabilityTitle && (h(AvailabilityTitleElement, { key: '03705dc74e0dca0625b4607800ccd11482d79b39', class: "stzh-contact__availability-title" }, this.availabilityTitle)), this._availability.length > 0 && (h("ul", { key: 'f3444c5968f576979cb1075395f90670df98b20c', class: "stzh-contact__availability-list" }, this._availability.map(item => (h("li", { class: "stzh-contact__availability-list-item" }, h("div", { class: "stzh-contact__availability-weekday" }, item.weekday), item.hours.length > 0 && (h("div", { class: "stzh-contact__availability-hours" }, item.hours.map((hour, index) => (h(Fragment, null, h("div", { class: "stzh-contact__availability-hour" }, hour), index < item.hours.length - 1 && (h("div", { class: "stzh-contact__availability-hours-separator" })))))))))))))))));
151
151
  }
152
152
  static get is() { return "stzh-contact"; }
153
153
  static get encapsulation() { return "scoped"; }
@@ -1,5 +1,4 @@
1
1
  import { createComponentStory } from '../../../utils/story-utils';
2
- import { withActions } from '@storybook/addon-actions/decorator';
3
2
  import readme from './readme.md?raw';
4
3
  import { Default as Contactform_Default } from '../../../patterns/CMS/contactform/contactform.stories';
5
4
 
@@ -63,8 +62,7 @@ export default {
63
62
  url: getFigmaLink('contact'),
64
63
  allowFullscreen: true
65
64
  }
66
- },
67
- decorators: [withActions]
65
+ }
68
66
  };
69
67
 
70
68
  const numbers = [
@@ -42,7 +42,7 @@ export class StzhContactCv {
42
42
  "stzh-contact-cv": true,
43
43
  "stzh-contact-cv--has-favorite-links": hasFavoriteLinks,
44
44
  };
45
- return (h(Host, { key: '5a291f348ebadcbde51de7ad4b9ba377d797693f' }, h("div", { key: 'be10e062984ae67d06a055409d316d525cbce398', class: classes }, h("div", { key: 'bb62a08709141afdf55d3a1995d621d38544b928', class: "stzh-contact-cv__content-wrapper" }, h("stzh-text", { key: '87d66c355b366f232ae67dc4dc0b00d48993f370', class: "stzh-contact-cv__content-block" }, h("p", { key: 'ed25eb6233741fbf7eb61db8ac7d25b4d76151eb', class: "stzh-contact-cv__content-title" }, this.localization.jobtitle), h("span", { key: 'beb4fb7eb9a9097dc8ad52ed286bc0fb010308ad' }, this.jobtitle)), h("stzh-text", { key: '501245e800c42f0935b4ca56eee9dcba0c80ca3e', class: "stzh-contact-cv__content-block" }, h("p", { key: 'efbef83306ebf2c2123a84b50517267c36660404', class: "stzh-contact-cv__content-title" }, this.localization.responsibilities), h("span", { key: '5df94126ed2b6021e0567a89473581438d0566dc' }, this.responsibilities)), h("stzh-text", { key: '18973ce79765d018999abb3e26b2ff7f7266cf0a', class: "stzh-contact-cv__content-block" }, h("p", { key: '0811996e0a7583db612496f654b53bd5b7248020', class: "stzh-contact-cv__content-title" }, this.localization.trainings), h("stzh-list", { key: 'a09f673fc22590c133fb88e67b6e659e6665e69e' }, this._trainings.map(training => (h("stzh-list-item", null, training))))), h("stzh-text", { key: '2316b0d44c23eab83c95570f610f2105c353fd78', class: "stzh-contact-cv__content-block" }, h("p", { key: 'ce0b3b4306b40d2eaf8bc72f1ffdbeae6fe72c3a', class: "stzh-contact-cv__content-title" }, this.localization.hobbies), h("stzh-list", { key: '92a4edb5f2c670560c8b224163f564bcd3f4707d' }, this._hobbies.map(hobby => (h("stzh-list-item", null, hobby))))), h("div", { key: 'ebed4659a3cba6989971216a7ab5883715d18862', class: "stzh-contact-cv__favorite-links" }, h("stzh-text", { key: '51b1de961263ad8158b29a42fb70adf505717d08', class: "stzh-contact-cv__content-block" }, h("p", { key: '3aeda3f44d909d5a5a928ce44db5e6ec2d737307', class: "stzh-contact-cv__content-title" }, this.localization.favoriteLinks), h("slot", { key: 'c1b6c8b7f0d96caf017c67f7f7de6da15f411aee', name: "favorite-links" })))))));
45
+ return (h(Host, { key: '8466d32d09d3c011a69223619e781da2e088da0a' }, h("div", { key: '558bb0afcf909b6207c8674b59473d470c766628', class: classes }, h("div", { key: '3a51fdacc4c2d522d692aa03d6910cdff30efe27', class: "stzh-contact-cv__content-wrapper" }, h("stzh-text", { key: '6b7697590c006bb59ff7bac84fa286132e82c108', class: "stzh-contact-cv__content-block" }, h("p", { key: 'bec0a0b7d25f0f13239639124b58d38a42c2adfb', class: "stzh-contact-cv__content-title" }, this.localization.jobtitle), h("span", { key: '90cc00c2e58c0f6b6b47962e05747813e7485222' }, this.jobtitle)), h("stzh-text", { key: 'd14d18d2803083cf3d39e89506277578db302f18', class: "stzh-contact-cv__content-block" }, h("p", { key: '2187062fac27fa5529421ace4f3a3219166713e3', class: "stzh-contact-cv__content-title" }, this.localization.responsibilities), h("span", { key: '3dbd9abb5b23c965c360513efa23da81b919cf56' }, this.responsibilities)), h("stzh-text", { key: '6af3fb5c4d99e2a1fe0779ff613fa54ba68ffcd5', class: "stzh-contact-cv__content-block" }, h("p", { key: '6722c85c9fb70e286456b99528e92784c095c8e9', class: "stzh-contact-cv__content-title" }, this.localization.trainings), h("stzh-list", { key: '957cf2abb0b660d210d0ad3bd3c93e61482c6eb0' }, this._trainings.map(training => (h("stzh-list-item", null, training))))), h("stzh-text", { key: '1597178300f9f6c771a4c77fd44fac9d9c80ff25', class: "stzh-contact-cv__content-block" }, h("p", { key: '0f87ae74514dc6dab15c5f9d9f41efdbb429c51e', class: "stzh-contact-cv__content-title" }, this.localization.hobbies), h("stzh-list", { key: '4217583b4969179fb1a5771991ee232c17c31dfa' }, this._hobbies.map(hobby => (h("stzh-list-item", null, hobby))))), h("div", { key: '289ffce07c60875edc258c2d8c971189438fd5fd', class: "stzh-contact-cv__favorite-links" }, h("stzh-text", { key: 'fa94866d8d0acf524609425c0922567ab7848fe4', class: "stzh-contact-cv__content-block" }, h("p", { key: '48253aa57da577592b61eacd97e5163a191ab08a', class: "stzh-contact-cv__content-title" }, this.localization.favoriteLinks), h("slot", { key: '6abffb6d53acbeedc6396de446cea75d0259deea', name: "favorite-links" })))))));
46
46
  }
47
47
  static get is() { return "stzh-contact-cv"; }
48
48
  static get encapsulation() { return "scoped"; }
@@ -1,5 +1,4 @@
1
1
  import { createComponentStory } from '../../../utils/story-utils';
2
- import { withActions } from '@storybook/addon-actions/decorator';
3
2
  import readme from './readme.md?raw';
4
3
 
5
4
  import { getFigmaLink } from '../../../../figma';
@@ -37,8 +36,7 @@ export default {
37
36
  url: getFigmaLink('contact'),
38
37
  allowFullscreen: true
39
38
  }
40
- },
41
- decorators: [withActions]
39
+ }
42
40
  };
43
41
 
44
42
  export const Default = {
@@ -174,7 +174,7 @@ export class StzhDisturber {
174
174
  "stzh-disturber--has-link": linkUsed,
175
175
  "stzh-disturber--has-close-hidden": this.hideClose,
176
176
  };
177
- return (h(Host, { key: '861040a01008f7fc6badcf562e1e6d3255470103' }, h("div", { key: 'ccfaf74d684c89e885fb7ba914597f512bbbb893', ref: el => (this.rootElement = el), class: classes }, h("div", { key: '31e3345060aa1d5c1d506caf0c435bf6f852fe39', class: "stzh-disturber__content" }, h("div", { key: '9a88fcb0b7e88ad18c5057bdc90fa58b8b4da57a', class: "stzh-disturber__label" }, this.label ? this.label : h("slot", { name: "label" })), h("div", { key: '9af588ae178e34d96cfc12de95c5a0e7ad50990c', class: "stzh-disturber__link" }, h("slot", { key: 'ba98087a4b4d96bb1443a7f2db179d5ec066a170', name: "link", onSlotchange: this.handleLinkSlotchange }))), !this.hideClose && (h("div", { key: '3d6e10b856995fabc8a25da27ab5ff3cb900fdea', class: "stzh-disturber__close-wrapper" }, h("stzh-button", { key: '04e7775c49d9f6e2a458ff6f16ed86b76b20f5d1', class: "stzh-disturber__close", onClick: this.onCloseButtonClick, label: this.localization.close, variant: "tertiary", size: "small", iconOnly: true, icon: "close-big" }))))));
177
+ return (h(Host, { key: '97d010263138b52246eda3fba22f23b38f9c9772' }, h("div", { key: '643fb5773565de82266cea9caf5192f419238f91', ref: el => (this.rootElement = el), class: classes }, h("div", { key: 'b935f54c0b0dfbbfbf56fff1953ae11c703ec8ee', class: "stzh-disturber__content" }, h("div", { key: 'ca4c150638c0e3bbedec70fdab1654bfc71d06c4', class: "stzh-disturber__label" }, this.label ? this.label : h("slot", { name: "label" })), h("div", { key: 'b57310beb4865afb85a59a39ae2af29f8c68cea7', class: "stzh-disturber__link" }, h("slot", { key: '239a121b6895b4eb9286d24859e48e357309c8e6', name: "link", onSlotchange: this.handleLinkSlotchange }))), !this.hideClose && (h("div", { key: '5e0b3be486b2480dcdd3a8aabe25a0575742afd1', class: "stzh-disturber__close-wrapper" }, h("stzh-button", { key: 'c38bcc08bc208b79fa8a0062d2774b17d7c68bbf', class: "stzh-disturber__close", onClick: this.onCloseButtonClick, label: this.localization.close, variant: "tertiary", size: "small", iconOnly: true, icon: "close-big" }))))));
178
178
  }
179
179
  static get is() { return "stzh-disturber"; }
180
180
  static get encapsulation() { return "shadow"; }
@@ -1,5 +1,4 @@
1
1
  import { createComponentStory } from '../../../utils/story-utils';
2
- import { withActions } from '@storybook/addon-actions/decorator';
3
2
  import readme from './readme.md?raw';
4
3
 
5
4
  import { getFigmaLink } from '../../../../figma';
@@ -34,8 +33,8 @@ export default {
34
33
  component: COMPONENT_NAME,
35
34
  parameters: {
36
35
  layout: 'padded',
37
- actions: {
38
- handles: ['stzhOpen', 'stzhOpened', 'stzhClose', 'stzhClosed']
36
+ stzhActions: {
37
+ events: ['stzhOpen', 'stzhOpened', 'stzhClose', 'stzhClosed']
39
38
  },
40
39
  docs: {
41
40
  description: {
@@ -47,8 +46,7 @@ export default {
47
46
  url: getFigmaLink('disturber'),
48
47
  allowFullscreen: true
49
48
  }
50
- },
51
- decorators: [withActions]
49
+ }
52
50
  };
53
51
 
54
52
  export const Default = {
@@ -26,7 +26,7 @@ export class StzhEditor {
26
26
  const classes = {
27
27
  "stzh-editor": true,
28
28
  };
29
- return (h(Host, { key: '791c543b2572b54d18c3fc179b4e8adcb3435177' }, h("div", { key: '30974153e6ee0dba8eb78b203fadbf2834e5b68e', class: classes }, h("div", { key: 'f9d13b4fba92f4f4b8d762f00819eb852174e9fe', class: "stzh-editor__wrapper" }, h("h2", { key: 'e35544e8341f76bc88f91771b2e7acc12f46cfea', class: "stzh-editor__heading" }, typeof this.heading === "string" ? this.heading : this.localization.heading), h("ul", { key: '1df9e6372ccff95667c3a691f0da0dde9a5790a1', class: "stzh-editor__link-list" }, this._items.map(link => (h("li", { class: "stzh-editor__link-item" }, h("stzh-link", Object.assign({ class: "stzh-editor__link" }, link, { icon: typeof link.icon === "undefined" ? "arrow-right" : link.icon, iconPosition: "right" }))))))))));
29
+ return (h(Host, { key: '3826654e931bb9a17d5f3229e56daa1ec2bc06ce' }, h("div", { key: 'c8f1b6e6214af8a3574f1a5fbbcbfa7a88bac7de', class: classes }, h("div", { key: 'ff15e64c77544e297ee9f596edb17db0a21e9a6e', class: "stzh-editor__wrapper" }, h("h2", { key: '1c66be8867d2c7e6eb0dd0f8a7ffafe9ee40125c', class: "stzh-editor__heading" }, typeof this.heading === "string" ? this.heading : this.localization.heading), h("ul", { key: '6799a33c02e07ad6bc39294a427b5d0d45d72a52', class: "stzh-editor__link-list" }, this._items.map(link => (h("li", { class: "stzh-editor__link-item" }, h("stzh-link", Object.assign({ class: "stzh-editor__link" }, link, { icon: typeof link.icon === "undefined" ? "arrow-right" : link.icon, iconPosition: "right" }))))))))));
30
30
  }
31
31
  static get is() { return "stzh-editor"; }
32
32
  static get encapsulation() { return "scoped"; }
@@ -1,5 +1,4 @@
1
1
  import { createComponentStory } from '../../../utils/story-utils';
2
- import { withActions } from '@storybook/addon-actions/decorator';
3
2
  import readme from './readme.md?raw';
4
3
 
5
4
  import { getFigmaLink } from '../../../../figma';
@@ -26,8 +25,7 @@ export default {
26
25
  url: getFigmaLink('editor'),
27
26
  allowFullscreen: true
28
27
  }
29
- },
30
- decorators: [withActions]
28
+ }
31
29
  };
32
30
 
33
31
  const items = [
@@ -11,7 +11,7 @@ export class StzhEventdata {
11
11
  const classes = {
12
12
  "stzh-eventdata": true,
13
13
  };
14
- return (h(Host, { key: 'b55c7d5cb29ac76169d26ef7e4e8fa9d04fb6084' }, h("div", { key: 'c09d03f910672925c6babd21447110d76e5407f7', class: classes }, h("div", { key: '46bcd9823eb8bed1e201b59dbc49ddb59d283904', class: "stzh-eventdata__label" }, this.label ? this.label : h("slot", { name: "label" })), h("div", { key: '393e51aaca45fc45af2d0aacef8ee5e63df7b13c', class: "stzh-eventdata__content" }, h("slot", { key: 'ca227e13f17d29899090cc7ea8f1a97c95f8a8fe' })))));
14
+ return (h(Host, { key: 'ce5e8b171a540fd4bfac3afa5256befa4a5fa4fc' }, h("div", { key: '429543c584e5fc2ef19318777dc714421d44e24a', class: classes }, h("div", { key: '0b79200e04ccbcd5a8ce0a53b189b51d0b0ae906', class: "stzh-eventdata__label" }, this.label ? this.label : h("slot", { name: "label" })), h("div", { key: '59b14e62d15fa3697a46012a7392a85f27c2b500', class: "stzh-eventdata__content" }, h("slot", { key: '0d5efb5a2a28ab970f17dcedf53d551b775216b1' })))));
15
15
  }
16
16
  static get is() { return "stzh-eventdata"; }
17
17
  static get encapsulation() { return "scoped"; }
@@ -1,5 +1,4 @@
1
1
  import { createComponentStory } from '../../../utils/story-utils';
2
- import { withActions } from '@storybook/addon-actions/decorator';
3
2
  import readme from './readme.md?raw';
4
3
 
5
4
  import { getFigmaLink } from '../../../../figma';
@@ -29,8 +28,7 @@ export default {
29
28
  url: getFigmaLink('eventdata'),
30
29
  allowFullscreen: true
31
30
  }
32
- },
33
- decorators: [withActions]
31
+ }
34
32
  };
35
33
 
36
34
  export const Default = {
@@ -109,7 +109,7 @@ export class StzhEventinfo {
109
109
  const startDate = this.start && new Date(this.start);
110
110
  const endDate = this.end && new Date(this.end);
111
111
  const MonthHeading = `h${this.monthHeadingLevel}`;
112
- return (h(Host, { key: 'a32b2da85e14793a8ac42c567645adc05c313bab' }, h("div", { key: '48cc5310cf1598a67c8f90101a3385733746e2db', class: classes }, h("div", { key: '3f9d2bbbb5583970b61f7449b62ae042ea3570b0', class: "stzh-eventinfo__left" }, h("div", { key: '0b3fb0501e18c49fa5a1c2308702eb147d5e4a5b', class: "stzh-eventinfo__main-event-day-name" }, this.localization.$globals.dayNamesShort[startDate.getDay()]), h("div", { key: '8afc863522eb10fa093af0d055a3ea8147501e0f', class: "stzh-eventinfo__main-event-day" }, startDate.getDate() < 10 && "0", startDate.getDate()), h("div", { key: '6f86a442aeed256785370d311679cc98c30c2941', class: "stzh-eventinfo__main-event-month" }, this.localization.$globals.monthNamesShort[startDate.getMonth()])), h("div", { key: 'fefcbbe7a4af3ebe5aac7a617d0a8bb663c0ccd9', class: "stzh-eventinfo__right" }, h("div", { key: '22dcc1dc67cf433a2d640da59b1ff5408f9fad6d' }, h("div", { key: 'b9d985bfd80c8a6e887e14c83ebff954247eedc5', class: "stzh-eventinfo__head" }, h("div", { key: 'a7508eee252429cfbe93d40694f3b8567a1401c2', class: "stzh-eventinfo__main-date" }, h("span", { key: 'f991e18a6599386fe43f5791c2038ff1162684d9' }, this.localization.$globals.dayNames[startDate.getDay()]), h("span", { key: '065ac0293daa18cd5b7a3ee9807eaf02d4b990b8' }, this.dateAdapter.format(startDate, "date")), this.hasProperStartAndOrEndDate(startDate, endDate) && (h("span", { key: '55295c97325e5d13b0f01eee74494535af6ee593' }, this.dateAdapter.formatSpan(startDate, endDate, "time")))), this.calendarUrl && (h("div", { key: '881676c7dc6218179ea3996d30cdef1cdb6ef7be', class: "stzh-eventinfo__main-event-link" }, h("stzh-link", { key: 'a80155da73482384b9f4c05894138a6383ae45d8', href: this.calendarUrl, label: this.calendarLabel || this.localization.addToCalendar, size: "inherit" })))), h("div", { key: '282cc40a84dd930b7f8446ab827cbe8dfc177709', class: "stzh-eventinfo__text" }, h("div", { key: '8baab4eef1ec47439d87b3e154529095a21fa701', class: "stzh-eventinfo__location" }, h("slot", { key: 'd7e634cbf9a888cd33d6ecc8ac7bafb6cb34dc76', name: "location" })), h("div", { key: 'f4368603e5f219bc3f72d3f87c07e6eb415cf260', class: "stzh-eventinfo__additional-info" }, h("slot", { key: 'a6678b84acfd6624bc45e0777fb667336664d871', name: "additional-info" })))), this._itemsGroupedByMonth.length > 0 && (h("div", { key: '29b2d0f60427580fcd6f13086ce0f9b4d045d502', class: "stzh-eventinfo__details-wrapper" }, h("stzh-details", { key: 'bdd6ce10dca3c1402602bb270802c83b1fdd6a77', class: "stzh-eventinfo__details" }, h("stzh-link", { key: '8eaf24796204da113e868e0132091b847f5440a2', class: "stzh-eventinfo__details-link", icon: "calendar", size: "inherit" }, h("span", { key: 'ba9bbedf658ddcf677c8e867f1e441bca73617bf', class: "stzh-eventinfo__details-link-expand" }, this.localization.expandMoreDates), h("span", { key: '6f7ab80440f0f36104d8ca53c384662f25ae3207', class: "stzh-eventinfo__details-link-collapse" }, this.localization.collapseMoreDates)), h("ul", { key: 'c45b051dacc402be5977d935337624f9b4de9d36', slot: "content", class: "stzh-eventinfo__month-list" }, this._itemsGroupedByMonth.map(groupedItems => (h("li", { class: "stzh-eventinfo__month-list-item" }, h(MonthHeading, { class: "stzh-eventinfo__heading" }, groupedItems.name), groupedItems.events.length > 0 && (h("ul", { class: "stzh-eventinfo__event-list" }, groupedItems.events.map(event => (h("li", { class: "stzh-eventinfo__event-list-item" }, h("span", { class: "stzh-eventinfo__event-datetime-wrapper" }, h("span", { class: "stzh-eventinfo__event-date-wrapper" }, h("span", { class: "stzh-eventinfo__event-weekday" }, this.localization.$globals.dayNames[event.start.getDay()]), h("span", { class: "stzh-eventinfo__event-date" }, this.dateAdapter.format(event.start, "date"))), h("span", { class: "stzh-eventinfo__event-time" }, this.hasProperStartAndOrEndDate(event.start, event.end) &&
112
+ return (h(Host, { key: '7123eaff9442dac3b7cee5ed3b903f28c1a6627e' }, h("div", { key: '9256802da8c2da6ae052db7208a352f36853dc95', class: classes }, h("div", { key: '873fe6135c02c5170a96ae5c8b3adc4562973712', class: "stzh-eventinfo__left" }, h("div", { key: '15725a688ca12e709d79878c550c828f214fafb6', class: "stzh-eventinfo__main-event-day-name" }, this.localization.$globals.dayNamesShort[startDate.getDay()]), h("div", { key: 'a55993760f699d534da61a7feac3caef7535c372', class: "stzh-eventinfo__main-event-day" }, startDate.getDate() < 10 && "0", startDate.getDate()), h("div", { key: '6eba8e7a5859c8f3db8d3f624d6be238715f5e0c', class: "stzh-eventinfo__main-event-month" }, this.localization.$globals.monthNamesShort[startDate.getMonth()])), h("div", { key: '9dd6bb5c5625500784347a86b2072f3d3e8dfd43', class: "stzh-eventinfo__right" }, h("div", { key: 'a5db5609779a1dbe41be4480d26d5b6f10ae57a0' }, h("div", { key: '8e3ac956886c15a8d1b10b5278f77dcd8c098a9f', class: "stzh-eventinfo__head" }, h("div", { key: 'c934fa78f5cf525f07940f9fc3a47603caed3334', class: "stzh-eventinfo__main-date" }, h("span", { key: '795b2f2a8cd211f36c1c010fb6ebc4671749d83a' }, this.localization.$globals.dayNames[startDate.getDay()]), h("span", { key: 'dd96f5b1a72d67e615521b74490ddc61768c1bc0' }, this.dateAdapter.format(startDate, "date")), this.hasProperStartAndOrEndDate(startDate, endDate) && (h("span", { key: 'b20c0addc2f779951d79672ee7a797a0b1fd8af0' }, this.dateAdapter.formatSpan(startDate, endDate, "time")))), this.calendarUrl && (h("div", { key: '0ab6f6e068b9d692aab15649a5ff52bba64cfb8c', class: "stzh-eventinfo__main-event-link" }, h("stzh-link", { key: '55ca03c24cd40cca7a83441d3ae01d37ae4f8688', href: this.calendarUrl, label: this.calendarLabel || this.localization.addToCalendar, size: "inherit" })))), h("div", { key: '84f9f7cf9fe6b091d14d4ae47e0a3a82a26c0c8e', class: "stzh-eventinfo__text" }, h("div", { key: '50daf625986948f1e89274fa2a51dedca4874749', class: "stzh-eventinfo__location" }, h("slot", { key: '94551ccd7547206f6e263625ad319a766daeb298', name: "location" })), h("div", { key: '5d335494a9420133b5d57b97dbc29b30f9093797', class: "stzh-eventinfo__additional-info" }, h("slot", { key: '828b41e43af9cc0b857f88dbf7ec666e8cc225c3', name: "additional-info" })))), this._itemsGroupedByMonth.length > 0 && (h("div", { key: '91152ed111969be4397a1bc0096f43e9b57601de', class: "stzh-eventinfo__details-wrapper" }, h("stzh-details", { key: 'e525e01ceeacaf9a6f67086f5c8ea69986d0e821', class: "stzh-eventinfo__details" }, h("stzh-link", { key: '54b566ba03c9a8537c57e5af74afb395d7332732', class: "stzh-eventinfo__details-link", icon: "calendar", size: "inherit" }, h("span", { key: '395398d471df34a351bf8d3bdf3607e8b624c622', class: "stzh-eventinfo__details-link-expand" }, this.localization.expandMoreDates), h("span", { key: '9f4f8f2e1f2a213e3edb1cfd3664977e38db17b0', class: "stzh-eventinfo__details-link-collapse" }, this.localization.collapseMoreDates)), h("ul", { key: '1ba434c2f4aac1bc0b62a710d87e171f12cfca01', slot: "content", class: "stzh-eventinfo__month-list" }, this._itemsGroupedByMonth.map(groupedItems => (h("li", { class: "stzh-eventinfo__month-list-item" }, h(MonthHeading, { class: "stzh-eventinfo__heading" }, groupedItems.name), groupedItems.events.length > 0 && (h("ul", { class: "stzh-eventinfo__event-list" }, groupedItems.events.map(event => (h("li", { class: "stzh-eventinfo__event-list-item" }, h("span", { class: "stzh-eventinfo__event-datetime-wrapper" }, h("span", { class: "stzh-eventinfo__event-date-wrapper" }, h("span", { class: "stzh-eventinfo__event-weekday" }, this.localization.$globals.dayNames[event.start.getDay()]), h("span", { class: "stzh-eventinfo__event-date" }, this.dateAdapter.format(event.start, "date"))), h("span", { class: "stzh-eventinfo__event-time" }, this.hasProperStartAndOrEndDate(event.start, event.end) &&
113
113
  this.dateAdapter.formatSpan(event.start, event.end, "time"))), h("span", { class: "stzh-eventinfo__event-link" }, event.calendarUrl && (h("stzh-link", { href: event.calendarUrl, label: event.calendarLabel || this.localization.addToCalendar })))))))))))))))))));
114
114
  }
115
115
  static get is() { return "stzh-eventinfo"; }
@@ -1,5 +1,4 @@
1
1
  import { createComponentStory } from '../../../utils/story-utils';
2
- import { withActions } from '@storybook/addon-actions/decorator';
3
2
  import readme from './readme.md?raw';
4
3
 
5
4
  import { getFigmaLink } from '../../../../figma';
@@ -36,8 +35,7 @@ export default {
36
35
  url: getFigmaLink('eventinfo'),
37
36
  allowFullscreen: true
38
37
  }
39
- },
40
- decorators: [withActions]
38
+ }
41
39
  };
42
40
 
43
41
  const items = [
@@ -36,7 +36,7 @@ export class StzhFeedreader {
36
36
  const subscribeFeedSlotUsed = hasSlot(this.element, "subscribe-feed");
37
37
  const subscribeProxySlotUsed = hasSlot(this.element, "subscribe-proxy");
38
38
  const connectionErrorSlotUsed = hasSlot(this.element, "connection-error");
39
- return (h(Host, { key: 'e38d99cd5fbf16ff2d7a5912628399abd1df7d04' }, h("div", { key: '20cbadadd7ba7241da76c365fa5a3a62c27686e8', class: classes }, h("div", { key: 'a00a151139fbc2d39070d1c9e5effa0fa92274e0', class: "stzh-feedreader__container" }, h("div", { key: '26d19ac2fb03aba5148621795fc0e2340e182f03', class: "stzh-feedreader__header" }, h("stzh-heading", { key: '06828068ba871cbb95752bd148108e60aa777d25', level: this.headingLevel }, this.heading), h("stzh-text", { key: '80d04528dbdf6389679df8b99b14824636b34bed' }, this.description)), (subscribeFeedSlotUsed || subscribeProxySlotUsed) && (h("div", { key: '849115cd7446fe9e9b0031d95d95b3c09c623dba', class: "stzh-feedreader__subscribe" }, h("slot", { key: '60fc2658c3563efdaf4fb7f7d529a1f47b5fbc9b', name: "subscribe-feed" }), h("slot", { key: '85a3a8504f9806dfce752d031aff0dffa2fbeb3e', name: "subscribe-proxy" }))), !this.hasItems && !connectionErrorSlotUsed && (h("stzh-message", { key: '749780dc8c43a41d9a4154beb178c1fcbd3a0e83', label: this.noItemsText, hideClose: true }, !!this.noItemsLink && (h("stzh-link", { key: '804b56a51a74b4917077e4f0b7000122dfa347dc', slot: "link", href: this.noItemsLink }, this.localization.moreInfo)))), connectionErrorSlotUsed && (h("div", { key: '67a08c249d8db2ef48b95f02698fc862a1443aa3', class: "stzh-feedreader__connection-error" }, h("slot", { key: '7a2f78ce30aa8e507d8faec00d0b1b47f2c51f1d', name: "connection-error" }))), h("div", { key: '62bb3e13dfacfbd3379cec08b1677b0a941bc26e', class: "stzh-feedreader__items", ref: el => (this.itemsWrapperElement = el) }, h("slot", { key: '81d8f7f909215aed04b8a56d444242f74687d104' }))))));
39
+ return (h(Host, { key: '5fb6fc37385c006e6d4d88c7a4760a57f325e93f' }, h("div", { key: '641d6061d423ee8a48e7fa40b3e0c3278ee72ba1', class: classes }, h("div", { key: '64cfcdb723c86d6e72b58d1d430627ac46fddbf4', class: "stzh-feedreader__container" }, h("div", { key: '71ef744bf51a0169c7f2fb80daa0245336624d9a', class: "stzh-feedreader__header" }, h("stzh-heading", { key: '4835e5ecc29ad1d33cc2d16b3b4a3a43286f0713', level: this.headingLevel }, this.heading), h("stzh-text", { key: '49b1a1cbf3afab87bf43e8a29370267854e20b82' }, this.description)), (subscribeFeedSlotUsed || subscribeProxySlotUsed) && (h("div", { key: '1d3f2aeb4c9ce483396e5718b97fe27242074cac', class: "stzh-feedreader__subscribe" }, h("slot", { key: '49c62d2b212bee9c8904b4fbbc079eb15617f079', name: "subscribe-feed" }), h("slot", { key: 'e9576dbd9cbed7acefb0f346df611ec2d607df4e', name: "subscribe-proxy" }))), !this.hasItems && !connectionErrorSlotUsed && (h("stzh-message", { key: '84305c6172f7abc9bdbf3e5dc15cc53396b2c6c3', label: this.noItemsText, hideClose: true }, !!this.noItemsLink && (h("stzh-link", { key: 'b8eae8d77784089a5928993d91ebc07b17df5f17', slot: "link", href: this.noItemsLink }, this.localization.moreInfo)))), connectionErrorSlotUsed && (h("div", { key: '05bb9ff7a16d133ce91304d33d0dfa019d9ddda7', class: "stzh-feedreader__connection-error" }, h("slot", { key: '0cbc250821ebb055029a96d0382607229ef57069', name: "connection-error" }))), h("div", { key: 'fdce0fddeb11bf90b688045715c2ec7be243b658', class: "stzh-feedreader__items", ref: el => (this.itemsWrapperElement = el) }, h("slot", { key: 'ed2dcce3771c25c4c21a2035f5016f059722f87c' }))))));
40
40
  }
41
41
  static get is() { return "stzh-feedreader"; }
42
42
  static get encapsulation() { return "scoped"; }