@oiz/stzh-components 4.12.1 → 4.13.0-beta1

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 (1081) hide show
  1. package/dist/cjs/{index-Cj3dPOnE.js → index-DLshBNi6.js} +4 -45
  2. package/dist/cjs/index-DLshBNi6.js.map +1 -0
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/stzh-accordion_3.cjs.entry.js +5 -5
  5. package/dist/cjs/stzh-actions_6.cjs.entry.js +11 -11
  6. package/dist/cjs/stzh-actionset.cjs.entry.js +6 -6
  7. package/dist/cjs/stzh-amount.cjs.entry.js +2 -2
  8. package/dist/cjs/stzh-anchornav.cjs.entry.js +2 -2
  9. package/dist/cjs/stzh-app-nav.cjs.entry.js +2 -2
  10. package/dist/cjs/stzh-appointments.cjs.entry.js +21 -11
  11. package/dist/cjs/stzh-archivelist.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-audio.cjs.entry.js +5 -5
  13. package/dist/cjs/stzh-badge_3.cjs.entry.js +5 -5
  14. package/dist/cjs/stzh-banner.cjs.entry.js +2 -2
  15. package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +3 -3
  16. package/dist/cjs/stzh-buttongroup.cjs.entry.js +2 -2
  17. package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-card-navigation.cjs.entry.js +3 -3
  19. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +3 -3
  20. package/dist/cjs/stzh-card-superteaser.cjs.entry.js +2 -2
  21. package/dist/cjs/stzh-card_2.cjs.entry.js +8 -8
  22. package/dist/cjs/stzh-carousel.cjs.entry.js +4 -4
  23. package/dist/cjs/stzh-chart.cjs.entry.js +2 -2
  24. package/dist/cjs/stzh-checkbox.cjs.entry.js +36 -6
  25. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +6 -6
  26. package/dist/cjs/stzh-chip_2.cjs.entry.js +9 -9
  27. package/dist/cjs/stzh-chipgroup.cjs.entry.js +2 -2
  28. package/dist/cjs/stzh-clamp.cjs.entry.js +3 -3
  29. package/dist/cjs/stzh-company-logo.cjs.entry.js +2 -2
  30. package/dist/cjs/stzh-components.cjs.js +2 -2
  31. package/dist/cjs/stzh-contact-cv.cjs.entry.js +2 -2
  32. package/dist/cjs/stzh-contact.cjs.entry.js +2 -2
  33. package/dist/cjs/stzh-container_2.cjs.entry.js +3 -3
  34. package/dist/cjs/stzh-content.cjs.entry.js +2 -2
  35. package/dist/cjs/stzh-cta.cjs.entry.js +3 -3
  36. package/dist/cjs/stzh-datalist_3.cjs.entry.js +5 -5
  37. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +2 -2
  38. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +2 -2
  39. package/dist/cjs/stzh-datatable.cjs.entry.js +2 -2
  40. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +42 -12
  41. package/dist/cjs/stzh-daterange.cjs.entry.js +3 -3
  42. package/dist/cjs/stzh-details.cjs.entry.js +3 -3
  43. package/dist/cjs/stzh-dialog.cjs.entry.js +4 -4
  44. package/dist/cjs/stzh-disturber.cjs.entry.js +2 -2
  45. package/dist/cjs/stzh-dropdown.cjs.entry.js +7 -7
  46. package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
  47. package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-eventinfo.cjs.entry.js +4 -5
  49. package/dist/cjs/stzh-feedreader-item.cjs.entry.js +3 -3
  50. package/dist/cjs/stzh-feedreader.cjs.entry.js +3 -3
  51. package/dist/cjs/stzh-figure.cjs.entry.js +3 -3
  52. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +2 -2
  53. package/dist/cjs/stzh-footer.cjs.entry.js +6 -5
  54. package/dist/cjs/stzh-gallery.cjs.entry.js +2 -2
  55. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +4 -4
  56. package/dist/cjs/stzh-ghettobox.cjs.entry.js +3 -3
  57. package/dist/cjs/stzh-header_3.cjs.entry.js +5 -5
  58. package/dist/cjs/stzh-heading.cjs.entry.js +2 -2
  59. package/dist/cjs/stzh-homepage-search.cjs.entry.js +2 -2
  60. package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +4 -4
  61. package/dist/cjs/stzh-hr.cjs.entry.js +2 -2
  62. package/dist/cjs/stzh-hspace.cjs.entry.js +3 -3
  63. package/dist/cjs/stzh-http-error.cjs.entry.js +2 -2
  64. package/dist/cjs/stzh-iframe.cjs.entry.js +5 -5
  65. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +3 -3
  66. package/dist/cjs/{stzh-input-description-IeBc75qD.js → stzh-input-description-CSsYU8AB.js} +3 -3
  67. package/dist/cjs/{stzh-input-description-IeBc75qD.js.map → stzh-input-description-CSsYU8AB.js.map} +1 -1
  68. package/dist/cjs/stzh-input.cjs.entry.js +31 -36
  69. package/dist/cjs/stzh-invert.cjs.entry.js +2 -2
  70. package/dist/cjs/stzh-link.cjs.entry.js +3 -3
  71. package/dist/cjs/stzh-linklist.cjs.entry.js +3 -3
  72. package/dist/cjs/stzh-list_2.cjs.entry.js +3 -3
  73. package/dist/cjs/stzh-loader.cjs.entry.js +2 -2
  74. package/dist/cjs/stzh-loadingbar.cjs.entry.js +2 -2
  75. package/dist/cjs/stzh-menu_2.cjs.entry.js +4 -4
  76. package/dist/cjs/stzh-message.cjs.entry.js +3 -3
  77. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +2 -2
  78. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +2 -2
  79. package/dist/cjs/stzh-offline-indicator.cjs.entry.js +2 -2
  80. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +2 -2
  81. package/dist/cjs/stzh-pagebottom.cjs.entry.js +2 -2
  82. package/dist/cjs/stzh-pagecontent.cjs.entry.js +3 -3
  83. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +3 -3
  84. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +4 -4
  85. package/dist/cjs/stzh-pagetitle.cjs.entry.js +3 -3
  86. package/dist/cjs/stzh-panorama.cjs.entry.js +3 -3
  87. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +3 -3
  88. package/dist/cjs/stzh-pi-menu.cjs.entry.js +2 -2
  89. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +3 -3
  90. package/dist/cjs/stzh-pi-quote.cjs.entry.js +2 -2
  91. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +2 -2
  92. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +2 -2
  93. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +3 -3
  94. package/dist/cjs/stzh-pkzh-qr.cjs.entry.js +1 -1
  95. package/dist/cjs/stzh-popover.cjs.entry.js +3 -3
  96. package/dist/cjs/stzh-print_2.cjs.entry.js +4 -4
  97. package/dist/cjs/stzh-quote.cjs.entry.js +2 -2
  98. package/dist/cjs/stzh-rating.cjs.entry.js +37 -9
  99. package/dist/cjs/stzh-ratio.cjs.entry.js +2 -2
  100. package/dist/cjs/stzh-readspeaker.cjs.entry.js +4 -4
  101. package/dist/cjs/stzh-richtext.cjs.entry.js +2 -2
  102. package/dist/cjs/stzh-saptcha.cjs.entry.js +3 -3
  103. package/dist/cjs/stzh-scrollup.cjs.entry.js +3 -3
  104. package/dist/cjs/stzh-search.cjs.entry.js +4 -4
  105. package/dist/cjs/stzh-section.cjs.entry.js +4 -4
  106. package/dist/cjs/stzh-show.cjs.entry.js +3 -3
  107. package/dist/cjs/stzh-sitemap.cjs.entry.js +2 -2
  108. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +2 -2
  109. package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +2 -2
  110. package/dist/cjs/stzh-skiplink.cjs.entry.js +2 -2
  111. package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +2 -2
  112. package/dist/cjs/stzh-socialmediastream.cjs.entry.js +3 -3
  113. package/dist/cjs/stzh-stepper-item.cjs.entry.js +4 -4
  114. package/dist/cjs/stzh-stepper.cjs.entry.js +4 -4
  115. package/dist/cjs/stzh-sticky-actions.cjs.entry.js +3 -3
  116. package/dist/cjs/stzh-sticky.cjs.entry.js +3 -3
  117. package/dist/cjs/stzh-table.cjs.entry.js +3 -3
  118. package/dist/cjs/stzh-text.cjs.entry.js +3 -3
  119. package/dist/cjs/stzh-textandimage.cjs.entry.js +3 -3
  120. package/dist/cjs/stzh-timeline-item.cjs.entry.js +3 -3
  121. package/dist/cjs/stzh-timeline.cjs.entry.js +2 -2
  122. package/dist/cjs/stzh-timepicker.cjs.entry.js +2 -2
  123. package/dist/cjs/stzh-toast_2.cjs.entry.js +5 -5
  124. package/dist/cjs/stzh-toggle.cjs.entry.js +36 -7
  125. package/dist/cjs/stzh-tooltip.cjs.entry.js +3 -3
  126. package/dist/cjs/stzh-twocolumns.cjs.entry.js +3 -3
  127. package/dist/cjs/stzh-upload.cjs.entry.js +37 -8
  128. package/dist/cjs/stzh-vbz-carousel.cjs.entry.js +1 -1
  129. package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js +1 -1
  130. package/dist/cjs/stzh-vbz-intro.cjs.entry.js +2 -2
  131. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
  132. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
  133. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
  134. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +3 -3
  135. package/dist/cjs/stzh-vspace.cjs.entry.js +3 -3
  136. package/dist/cjs/stzh-youtube.cjs.entry.js +2 -2
  137. package/dist/cjs/{utils-BtvTjHH2.js → utils-CjJm84Uq.js} +59 -2
  138. package/dist/cjs/utils-CjJm84Uq.js.map +1 -0
  139. package/dist/collection/assets/i18n/fr.json +460 -0
  140. package/dist/collection/assets/i18n/it.json +461 -0
  141. package/dist/collection/assets/media/icons/mono/easy-read.svg +1 -0
  142. package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.js +2 -3
  143. package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.js.map +1 -1
  144. package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.stories.js +4 -0
  145. package/dist/collection/components/CMS/stzh-feedreader/stzh-feedreader.js +1 -1
  146. package/dist/collection/components/CMS/stzh-feedreader-item/stzh-feedreader-item.js +1 -1
  147. package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js +3 -3
  148. package/dist/collection/components/CMS/stzh-ghettobox/stzh-ghettobox.js +1 -1
  149. package/dist/collection/components/CMS/stzh-homepage-search/stzh-homepage-search.js +1 -1
  150. package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js +2 -2
  151. package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.js +1 -1
  152. package/dist/collection/components/CMS/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
  153. package/dist/collection/components/CMS/stzh-page-skiplinks/stzh-page-skiplinks.js +1 -1
  154. package/dist/collection/components/CMS/stzh-pagebottom/stzh-pagebottom.js +1 -1
  155. package/dist/collection/components/CMS/stzh-pagecontent/stzh-pagecontent.js +1 -1
  156. package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.js +1 -1
  157. package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.stories.js +12 -2
  158. package/dist/collection/components/CMS/stzh-pagetitle-hero/stzh-pagetitle-hero.js +1 -1
  159. package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.js +2 -2
  160. package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.stories.js +2 -2
  161. package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.js +1 -1
  162. package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.js.map +1 -1
  163. package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.stories.js +3 -0
  164. package/dist/collection/components/CMS/stzh-pi-menu/stzh-pi-menu.js +1 -1
  165. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.js +1 -1
  166. package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.stories.js +5 -6
  167. package/dist/collection/components/CMS/stzh-pi-quote/stzh-pi-quote.js +1 -1
  168. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js +1 -1
  169. package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js.map +1 -1
  170. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js +1 -1
  171. package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js.map +1 -1
  172. package/dist/collection/components/CMS/stzh-print/stzh-print.js +1 -1
  173. package/dist/collection/components/CMS/stzh-search/stzh-search.js +2 -2
  174. package/dist/collection/components/CMS/stzh-sitemap/stzh-sitemap.js +1 -1
  175. package/dist/collection/components/CMS/stzh-socialmediastream/stzh-socialmediastream.js +1 -1
  176. package/dist/collection/components/CMS/stzh-socialmediastream-item/stzh-socialmediastream-item.js +1 -1
  177. package/dist/collection/components/CMS/stzh-textandimage/stzh-textandimage.js +1 -1
  178. package/dist/collection/components/CMS/stzh-twocolumns/stzh-twocolumns.js +1 -1
  179. package/dist/collection/components/stzh-accordion/stzh-accordion.js +1 -1
  180. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
  181. package/dist/collection/components/stzh-actions/stzh-actions.js +1 -1
  182. package/dist/collection/components/stzh-actionset/stzh-actionset.js +5 -5
  183. package/dist/collection/components/stzh-amount/stzh-amount.js +1 -1
  184. package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
  185. package/dist/collection/components/stzh-app-nav/stzh-app-nav.js +1 -1
  186. package/dist/collection/components/stzh-appointments/stzh-appointments.js +23 -14
  187. package/dist/collection/components/stzh-appointments/stzh-appointments.js.map +1 -1
  188. package/dist/collection/components/stzh-appointments/stzh-appointments.stories.js +53 -27
  189. package/dist/collection/components/stzh-audio/stzh-audio.js +3 -3
  190. package/dist/collection/components/stzh-badge/stzh-badge.js +1 -1
  191. package/dist/collection/components/stzh-banner/stzh-banner.js +1 -1
  192. package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.js +1 -1
  193. package/dist/collection/components/stzh-button/stzh-button.js +1 -1
  194. package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.js +1 -1
  195. package/dist/collection/components/stzh-card/stzh-card.js +4 -4
  196. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js +1 -1
  197. package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js.map +1 -1
  198. package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js +1 -1
  199. package/dist/collection/components/stzh-cardlist/stzh-cardlist.css +10 -42
  200. package/dist/collection/components/stzh-cardlist/stzh-cardlist.js +1 -1
  201. package/dist/collection/components/stzh-carousel/stzh-carousel.js +2 -2
  202. package/dist/collection/components/stzh-cell/stzh-cell.js +2 -2
  203. package/dist/collection/components/stzh-chart/stzh-chart.js +1 -1
  204. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +40 -4
  205. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js.map +1 -1
  206. package/dist/collection/components/stzh-checkbox/stzh-checkbox.stories.js +12 -0
  207. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +3 -3
  208. package/dist/collection/components/stzh-chip/stzh-chip.js +1 -1
  209. package/dist/collection/components/stzh-chipgroup/stzh-chipgroup.js +1 -1
  210. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +5 -5
  211. package/dist/collection/components/stzh-clamp/stzh-clamp.js +2 -2
  212. package/dist/collection/components/stzh-company-logo/stzh-company-logo.js +1 -1
  213. package/dist/collection/components/stzh-container/stzh-container.js +1 -1
  214. package/dist/collection/components/stzh-content/stzh-content.js +1 -1
  215. package/dist/collection/components/stzh-cspace/stzh-cspace.js +1 -1
  216. package/dist/collection/components/stzh-cta/stzh-cta.js +1 -1
  217. package/dist/collection/components/stzh-cta/stzh-cta.js.map +1 -1
  218. package/dist/collection/components/stzh-datalist/stzh-datalist.js +2 -2
  219. package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.js +1 -1
  220. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +1 -1
  221. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +3 -3
  222. package/dist/collection/components/stzh-daterange/stzh-daterange.js +1 -1
  223. package/dist/collection/components/stzh-details/stzh-details.js +1 -1
  224. package/dist/collection/components/stzh-dialog/stzh-dialog.js +2 -2
  225. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +4 -4
  226. package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +1 -1
  227. package/dist/collection/components/stzh-figure/stzh-figure.js +1 -1
  228. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +1 -1
  229. package/dist/collection/components/stzh-footer/stzh-footer.css +12 -0
  230. package/dist/collection/components/stzh-footer/stzh-footer.js +7 -6
  231. package/dist/collection/components/stzh-footer/stzh-footer.js.map +1 -1
  232. package/dist/collection/components/stzh-footer/stzh-footer.stories.js +9 -2
  233. package/dist/collection/components/stzh-gallery/stzh-gallery.js +1 -1
  234. package/dist/collection/components/stzh-header/stzh-header.css +1 -1
  235. package/dist/collection/components/stzh-header/stzh-header.js +2 -2
  236. package/dist/collection/components/stzh-header/stzh-header.js.map +1 -1
  237. package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
  238. package/dist/collection/components/stzh-hr/stzh-hr.js +1 -1
  239. package/dist/collection/components/stzh-hspace/stzh-hspace.js +2 -2
  240. package/dist/collection/components/stzh-http-error/stzh-http-error.js +1 -1
  241. package/dist/collection/components/stzh-icon/stzh-icon.js +1 -1
  242. package/dist/collection/components/stzh-iframe/stzh-iframe.js +4 -4
  243. package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.js +2 -2
  244. package/dist/collection/components/stzh-input/stzh-input.js +29 -34
  245. package/dist/collection/components/stzh-input/stzh-input.js.map +1 -1
  246. package/dist/collection/components/stzh-input/stzh-input.stories.js +32 -9
  247. package/dist/collection/components/stzh-invert/stzh-invert.js +1 -1
  248. package/dist/collection/components/stzh-link/stzh-link.js +1 -1
  249. package/dist/collection/components/stzh-list/stzh-list.js +1 -1
  250. package/dist/collection/components/stzh-list-item/stzh-list-item.js +1 -1
  251. package/dist/collection/components/stzh-loader/stzh-loader.js +1 -1
  252. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.js +1 -1
  253. package/dist/collection/components/stzh-menu/stzh-menu.js +1 -1
  254. package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +1 -1
  255. package/dist/collection/components/stzh-message/stzh-message.js +2 -2
  256. package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.js +1 -1
  257. package/dist/collection/components/stzh-offline-indicator/stzh-offline-indicator.js +1 -1
  258. package/dist/collection/components/stzh-olmap/stzh-olmap.js +1 -1
  259. package/dist/collection/components/stzh-overlay/stzh-overlay.js +1 -1
  260. package/dist/collection/components/stzh-pagination/stzh-pagination.js +1 -1
  261. package/dist/collection/components/stzh-panorama/stzh-panorama.js +2 -2
  262. package/dist/collection/components/stzh-popover/stzh-popover.js +1 -1
  263. package/dist/collection/components/stzh-quote/stzh-quote.js +1 -1
  264. package/dist/collection/components/stzh-radio/stzh-radio.js +40 -4
  265. package/dist/collection/components/stzh-radio/stzh-radio.js.map +1 -1
  266. package/dist/collection/components/stzh-radio/stzh-radio.stories.js +13 -1
  267. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +3 -3
  268. package/dist/collection/components/stzh-rating/stzh-rating.js +39 -9
  269. package/dist/collection/components/stzh-rating/stzh-rating.js.map +1 -1
  270. package/dist/collection/components/stzh-rating/stzh-rating.stories.js +11 -0
  271. package/dist/collection/components/stzh-ratio/stzh-ratio.js +1 -1
  272. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +2 -2
  273. package/dist/collection/components/stzh-richtext/stzh-richtext.js +1 -1
  274. package/dist/collection/components/stzh-row/stzh-row.js +2 -2
  275. package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +2 -2
  276. package/dist/collection/components/stzh-scrollup/stzh-scrollup.js +1 -1
  277. package/dist/collection/components/stzh-section/stzh-section.js +2 -2
  278. package/dist/collection/components/stzh-share/stzh-share.js +1 -1
  279. package/dist/collection/components/stzh-show/stzh-show.js +2 -2
  280. package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.js +1 -1
  281. package/dist/collection/components/stzh-skin-storybook-preview/stzh-skin-storybook-preview.js +1 -1
  282. package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +1 -1
  283. package/dist/collection/components/stzh-sortable/stzh-sortable.js +1 -1
  284. package/dist/collection/components/stzh-space/stzh-space.js +2 -2
  285. package/dist/collection/components/stzh-status/stzh-status.js +1 -1
  286. package/dist/collection/components/stzh-stepper/stzh-stepper.component.js +3 -3
  287. package/dist/collection/components/stzh-stepper-item/stzh-stepper-item.js +3 -3
  288. package/dist/collection/components/stzh-sticky/stzh-sticky.js +1 -1
  289. package/dist/collection/components/stzh-sticky-actions/stzh-sticky-actions.js +1 -1
  290. package/dist/collection/components/stzh-table/stzh-table.js +1 -1
  291. package/dist/collection/components/stzh-tag/stzh-tag.js +1 -1
  292. package/dist/collection/components/stzh-text/stzh-text.js +2 -2
  293. package/dist/collection/components/stzh-timeline/stzh-timeline.js +1 -1
  294. package/dist/collection/components/stzh-timeline-item/stzh-timeline-item.js +1 -1
  295. package/dist/collection/components/stzh-timepicker/stzh-timepicker.js +1 -1
  296. package/dist/collection/components/stzh-toast/stzh-toast.js +2 -2
  297. package/dist/collection/components/stzh-toastbar/stzh-toastbar.js +1 -1
  298. package/dist/collection/components/stzh-toggle/stzh-toggle.js +40 -5
  299. package/dist/collection/components/stzh-toggle/stzh-toggle.js.map +1 -1
  300. package/dist/collection/components/stzh-toggle/stzh-toggle.stories.js +15 -0
  301. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +1 -1
  302. package/dist/collection/components/stzh-upload/stzh-upload.js +37 -6
  303. package/dist/collection/components/stzh-upload/stzh-upload.js.map +1 -1
  304. package/dist/collection/components/stzh-upload/stzh-upload.stories.js +9 -0
  305. package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.js +2 -2
  306. package/dist/collection/components/stzh-vspace/stzh-vspace.js +2 -2
  307. package/dist/collection/components/stzh-youtube/stzh-youtube.js +1 -1
  308. package/dist/collection/global/js/script.js +1 -1
  309. package/dist/collection/utils/utils.js +56 -0
  310. package/dist/collection/utils/utils.js.map +1 -1
  311. package/dist/components/index.js +2 -2
  312. package/dist/components/{p-cNHNXCvC.js → p-0Lt3woCB.js} +10 -10
  313. package/dist/components/{p-cNHNXCvC.js.map → p-0Lt3woCB.js.map} +1 -1
  314. package/dist/components/{p-CHL7PZWx.js → p-4bFqfRjC.js} +5 -5
  315. package/dist/components/{p-CHL7PZWx.js.map → p-4bFqfRjC.js.map} +1 -1
  316. package/dist/components/{p-D4BnQdqZ.js → p-9KM31mTj.js} +5 -5
  317. package/dist/components/{p-D4BnQdqZ.js.map → p-9KM31mTj.js.map} +1 -1
  318. package/dist/components/{p-jcnUY7bc.js → p-B-Ox_M1g.js} +5 -5
  319. package/dist/components/{p-jcnUY7bc.js.map → p-B-Ox_M1g.js.map} +1 -1
  320. package/dist/components/{p-BROnohFy.js → p-B3JVg6wh.js} +7 -7
  321. package/dist/components/{p-BROnohFy.js.map → p-B3JVg6wh.js.map} +1 -1
  322. package/dist/components/{p-BJXTTK_V.js → p-B3JgyjD6.js} +5 -5
  323. package/dist/components/{p-BJXTTK_V.js.map → p-B3JgyjD6.js.map} +1 -1
  324. package/dist/components/{p-BKIlDLNH.js → p-B446UYGz.js} +4 -4
  325. package/dist/components/{p-BKIlDLNH.js.map → p-B446UYGz.js.map} +1 -1
  326. package/dist/components/{p-Cqgkebne.js → p-BAcc6I3E.js} +4 -4
  327. package/dist/components/{p-Cqgkebne.js.map → p-BAcc6I3E.js.map} +1 -1
  328. package/dist/components/{p-C_jR89kU.js → p-BAn4Ipj9.js} +8 -8
  329. package/dist/components/{p-C_jR89kU.js.map → p-BAn4Ipj9.js.map} +1 -1
  330. package/dist/components/{p-DF6aCFVH.js → p-BDTQkRkl.js} +4 -4
  331. package/dist/components/{p-DF6aCFVH.js.map → p-BDTQkRkl.js.map} +1 -1
  332. package/dist/components/{p-BVyHe4zB.js → p-BDyLmXTF.js} +12 -12
  333. package/dist/components/{p-BVyHe4zB.js.map → p-BDyLmXTF.js.map} +1 -1
  334. package/dist/components/{p-C7bl96a5.js → p-BE4EipE7.js} +10 -10
  335. package/dist/components/p-BE4EipE7.js.map +1 -0
  336. package/dist/components/{p-U00jMEtY.js → p-BHup0e1i.js} +12 -12
  337. package/dist/components/{p-U00jMEtY.js.map → p-BHup0e1i.js.map} +1 -1
  338. package/dist/components/{p-Nj7vgfBU.js → p-BJz42pna.js} +9 -9
  339. package/dist/components/{p-Nj7vgfBU.js.map → p-BJz42pna.js.map} +1 -1
  340. package/dist/components/{p-Bnxt1olk.js → p-BNb1mC_F.js} +7 -7
  341. package/dist/components/{p-Bnxt1olk.js.map → p-BNb1mC_F.js.map} +1 -1
  342. package/dist/components/{p-CXxKSOOe.js → p-BdBBC-64.js} +8 -8
  343. package/dist/components/{p-CXxKSOOe.js.map → p-BdBBC-64.js.map} +1 -1
  344. package/dist/components/{p-BNRtW-oE.js → p-Bi0j3C9E.js} +6 -6
  345. package/dist/components/{p-BNRtW-oE.js.map → p-Bi0j3C9E.js.map} +1 -1
  346. package/dist/components/{p-BOLjzZGE.js → p-C1Uf6vu2.js} +4 -4
  347. package/dist/components/{p-BOLjzZGE.js.map → p-C1Uf6vu2.js.map} +1 -1
  348. package/dist/components/{p-CnS9iJUS.js → p-C5ORTu7L.js} +5 -5
  349. package/dist/components/{p-CnS9iJUS.js.map → p-C5ORTu7L.js.map} +1 -1
  350. package/dist/components/{p-D7YAOnX0.js → p-CDOLFG2o.js} +8 -8
  351. package/dist/components/{p-D7YAOnX0.js.map → p-CDOLFG2o.js.map} +1 -1
  352. package/dist/components/{p-CqIeGIYq.js → p-CIG3atcV.js} +5 -5
  353. package/dist/components/{p-CqIeGIYq.js.map → p-CIG3atcV.js.map} +1 -1
  354. package/dist/components/{p-BmZW5NzL.js → p-CJgyNq5X.js} +44 -12
  355. package/dist/components/p-CJgyNq5X.js.map +1 -0
  356. package/dist/components/{p-RvRbhcRQ.js → p-CSdlcHhO.js} +11 -11
  357. package/dist/components/{p-RvRbhcRQ.js.map → p-CSdlcHhO.js.map} +1 -1
  358. package/dist/components/{p-BW2gjhHd.js → p-CTF0VXbD.js} +11 -11
  359. package/dist/components/{p-BW2gjhHd.js.map → p-CTF0VXbD.js.map} +1 -1
  360. package/dist/components/{p-B3K72yyt.js → p-CWohC9WI.js} +4 -4
  361. package/dist/components/{p-B3K72yyt.js.map → p-CWohC9WI.js.map} +1 -1
  362. package/dist/components/{p-x2lzAuxg.js → p-CbIALTef.js} +3 -3
  363. package/dist/components/{p-x2lzAuxg.js.map → p-CbIALTef.js.map} +1 -1
  364. package/dist/components/{p-DfpWfXtU.js → p-CfO-Zm5r.js} +10 -10
  365. package/dist/components/{p-DfpWfXtU.js.map → p-CfO-Zm5r.js.map} +1 -1
  366. package/dist/components/{p-LMO8z7aY.js → p-Cg2CourL.js} +10 -10
  367. package/dist/components/{p-LMO8z7aY.js.map → p-Cg2CourL.js.map} +1 -1
  368. package/dist/components/{p-p0_NS-tW.js → p-CgcoSQbB.js} +4 -4
  369. package/dist/components/{p-p0_NS-tW.js.map → p-CgcoSQbB.js.map} +1 -1
  370. package/dist/components/{p-B7_vqC4s.js → p-CrQrHbCR.js} +7 -7
  371. package/dist/components/{p-B7_vqC4s.js.map → p-CrQrHbCR.js.map} +1 -1
  372. package/dist/components/{p-D1qHu5Qi.js → p-CxqE2nhG.js} +7 -7
  373. package/dist/components/{p-D1qHu5Qi.js.map → p-CxqE2nhG.js.map} +1 -1
  374. package/dist/components/{p-CUg-9OV-.js → p-CyByUFaI.js} +5 -5
  375. package/dist/components/{p-CUg-9OV-.js.map → p-CyByUFaI.js.map} +1 -1
  376. package/dist/components/{p-CC0Gv1-E.js → p-D-Yirlnl.js} +4 -4
  377. package/dist/components/{p-CC0Gv1-E.js.map → p-D-Yirlnl.js.map} +1 -1
  378. package/dist/components/{p-COE06LBm.js → p-D1f9K1WI.js} +4 -4
  379. package/dist/components/{p-COE06LBm.js.map → p-D1f9K1WI.js.map} +1 -1
  380. package/dist/components/{p-AGCnIH-Q.js → p-D653Lsik.js} +4 -4
  381. package/dist/components/{p-AGCnIH-Q.js.map → p-D653Lsik.js.map} +1 -1
  382. package/dist/components/{p-DgsPcRuX.js → p-D8P4IANZ.js} +6 -6
  383. package/dist/components/{p-DgsPcRuX.js.map → p-D8P4IANZ.js.map} +1 -1
  384. package/dist/components/{p-B1ilR8O2.js → p-D8sqmC0t.js} +5 -5
  385. package/dist/components/{p-B1ilR8O2.js.map → p-D8sqmC0t.js.map} +1 -1
  386. package/dist/components/{p-DStLZwaI.js → p-D8xZNR0-.js} +44 -12
  387. package/dist/components/p-D8xZNR0-.js.map +1 -0
  388. package/dist/components/{p-CN5apKPb.js → p-DBHUqFOB.js} +59 -3
  389. package/dist/components/p-DBHUqFOB.js.map +1 -0
  390. package/dist/components/{p-BdnKcZer.js → p-DI3R5qMv.js} +15 -15
  391. package/dist/components/{p-BdnKcZer.js.map → p-DI3R5qMv.js.map} +1 -1
  392. package/dist/components/{p-Chfmq0ty.js → p-DK163sow.js} +4 -4
  393. package/dist/components/{p-Chfmq0ty.js.map → p-DK163sow.js.map} +1 -1
  394. package/dist/components/{p-CjzcK4cD.js → p-DYbJOAOh.js} +7 -7
  395. package/dist/components/{p-CjzcK4cD.js.map → p-DYbJOAOh.js.map} +1 -1
  396. package/dist/components/{p-IifQDlUC.js → p-D_9Bm_mQ.js} +4 -4
  397. package/dist/components/{p-IifQDlUC.js.map → p-D_9Bm_mQ.js.map} +1 -1
  398. package/dist/components/{p-CB6SGGWh.js → p-DgLT1h5X.js} +18 -18
  399. package/dist/components/{p-CB6SGGWh.js.map → p-DgLT1h5X.js.map} +1 -1
  400. package/dist/components/{p-a_AFmDN-.js → p-DgdayHzY.js} +17 -17
  401. package/dist/components/{p-a_AFmDN-.js.map → p-DgdayHzY.js.map} +1 -1
  402. package/dist/components/{p-G6s0H-yQ.js → p-DhDUHSh7.js} +38 -43
  403. package/dist/components/p-DhDUHSh7.js.map +1 -0
  404. package/dist/components/{p-gRw8yRKG.js → p-Div6COxG.js} +5 -5
  405. package/dist/components/{p-gRw8yRKG.js.map → p-Div6COxG.js.map} +1 -1
  406. package/dist/components/{p-CLg_b_CM.js → p-DmbPNk49.js} +4 -4
  407. package/dist/components/{p-CLg_b_CM.js.map → p-DmbPNk49.js.map} +1 -1
  408. package/dist/components/{p-Yktwo3G-.js → p-Dn7rMHvA.js} +4 -4
  409. package/dist/components/{p-Yktwo3G-.js.map → p-Dn7rMHvA.js.map} +1 -1
  410. package/dist/components/{p-uzlslKFU.js → p-DoIM1--x.js} +9 -9
  411. package/dist/components/{p-uzlslKFU.js.map → p-DoIM1--x.js.map} +1 -1
  412. package/dist/components/{p-5QD-jnDI.js → p-DqjRJcEM.js} +4 -45
  413. package/dist/components/p-DqjRJcEM.js.map +1 -0
  414. package/dist/components/{p-DFNN4tQ9.js → p-DtzaWGPc.js} +7 -7
  415. package/dist/components/{p-DFNN4tQ9.js.map → p-DtzaWGPc.js.map} +1 -1
  416. package/dist/components/{p-HFkl_vzF.js → p-Dv3RTDbq.js} +7 -7
  417. package/dist/components/{p-HFkl_vzF.js.map → p-Dv3RTDbq.js.map} +1 -1
  418. package/dist/components/{p-ts8WMMWF.js → p-DvCfh0K2.js} +8 -8
  419. package/dist/components/{p-ts8WMMWF.js.map → p-DvCfh0K2.js.map} +1 -1
  420. package/dist/components/{p-BQkPv0M-.js → p-T-BXBdfL.js} +5 -5
  421. package/dist/components/{p-BQkPv0M-.js.map → p-T-BXBdfL.js.map} +1 -1
  422. package/dist/components/{p-C3JKH-3Y.js → p-TyvIem42.js} +13 -13
  423. package/dist/components/{p-C3JKH-3Y.js.map → p-TyvIem42.js.map} +1 -1
  424. package/dist/components/{p-BaMZCxiX.js → p-UdeeIE8s.js} +9 -9
  425. package/dist/components/{p-BaMZCxiX.js.map → p-UdeeIE8s.js.map} +1 -1
  426. package/dist/components/{p-hX8escCp.js → p-_Wg6OwyH.js} +5 -5
  427. package/dist/components/{p-hX8escCp.js.map → p-_Wg6OwyH.js.map} +1 -1
  428. package/dist/components/{p-Bh1lCPM9.js → p-bQrbIG84.js} +4 -4
  429. package/dist/components/{p-Bh1lCPM9.js.map → p-bQrbIG84.js.map} +1 -1
  430. package/dist/components/{p-B4rimZ__.js → p-cUbqjhRn.js} +4 -4
  431. package/dist/components/{p-B4rimZ__.js.map → p-cUbqjhRn.js.map} +1 -1
  432. package/dist/components/{p-zn9oE-TU.js → p-d0YyMFGG.js} +5 -5
  433. package/dist/components/{p-zn9oE-TU.js.map → p-d0YyMFGG.js.map} +1 -1
  434. package/dist/components/{p-CaNZTZoV.js → p-h04oY9Fw.js} +10 -10
  435. package/dist/components/{p-CaNZTZoV.js.map → p-h04oY9Fw.js.map} +1 -1
  436. package/dist/components/{p-CFzhqAe_.js → p-jWC23U_9.js} +7 -7
  437. package/dist/components/{p-CFzhqAe_.js.map → p-jWC23U_9.js.map} +1 -1
  438. package/dist/components/{p-DZ_hOgVb.js → p-mPSUVIkD.js} +4 -4
  439. package/dist/components/{p-DZ_hOgVb.js.map → p-mPSUVIkD.js.map} +1 -1
  440. package/dist/components/{p-BErZsbTE.js → p-nbFcugVj.js} +5 -5
  441. package/dist/components/{p-BErZsbTE.js.map → p-nbFcugVj.js.map} +1 -1
  442. package/dist/components/{p-C9VQ8n2k.js → p-o7Gv1uJo.js} +5 -5
  443. package/dist/components/{p-C9VQ8n2k.js.map → p-o7Gv1uJo.js.map} +1 -1
  444. package/dist/components/{p-DX8rme7W.js → p-pfvnaMy-.js} +5 -5
  445. package/dist/components/{p-DX8rme7W.js.map → p-pfvnaMy-.js.map} +1 -1
  446. package/dist/components/{p-RtvhBPkV.js → p-r4Fj5D10.js} +5 -5
  447. package/dist/components/{p-RtvhBPkV.js.map → p-r4Fj5D10.js.map} +1 -1
  448. package/dist/components/{p-CfeU7ZQ3.js → p-yXgUFUQF.js} +16 -16
  449. package/dist/components/{p-CfeU7ZQ3.js.map → p-yXgUFUQF.js.map} +1 -1
  450. package/dist/components/stzh-accordion-item.js +1 -1
  451. package/dist/components/stzh-accordion.js +1 -1
  452. package/dist/components/stzh-actions.js +1 -1
  453. package/dist/components/stzh-actionset.js +1 -1
  454. package/dist/components/stzh-amount.js +10 -10
  455. package/dist/components/stzh-anchornav.js +6 -6
  456. package/dist/components/stzh-app-nav.js +1 -1
  457. package/dist/components/stzh-appointments.js +33 -23
  458. package/dist/components/stzh-appointments.js.map +1 -1
  459. package/dist/components/stzh-archivelist.js +7 -7
  460. package/dist/components/stzh-audio.js +9 -9
  461. package/dist/components/stzh-badge.js +1 -1
  462. package/dist/components/stzh-banner.js +5 -5
  463. package/dist/components/stzh-breadcrumb.js +1 -1
  464. package/dist/components/stzh-button.js +1 -1
  465. package/dist/components/stzh-buttongroup.js +1 -1
  466. package/dist/components/stzh-calendar.js +1 -1
  467. package/dist/components/stzh-card-navigation.js +4 -4
  468. package/dist/components/stzh-card-navigation.js.map +1 -1
  469. package/dist/components/stzh-card-searchresult.js +16 -16
  470. package/dist/components/stzh-card-superteaser.js +15 -15
  471. package/dist/components/stzh-card.js +1 -1
  472. package/dist/components/stzh-cardlist.js +1 -1
  473. package/dist/components/stzh-carousel.js +1 -1
  474. package/dist/components/stzh-cell.js +1 -1
  475. package/dist/components/stzh-chart.js +2 -2
  476. package/dist/components/stzh-checkbox.js +1 -1
  477. package/dist/components/stzh-checkboxgroup.js +9 -9
  478. package/dist/components/stzh-chip.js +1 -1
  479. package/dist/components/stzh-chipgroup.js +1 -1
  480. package/dist/components/stzh-chipselect.js +1 -1
  481. package/dist/components/stzh-clamp.js +1 -1
  482. package/dist/components/stzh-company-logo.js +2 -2
  483. package/dist/components/stzh-contact-cv.js +5 -5
  484. package/dist/components/stzh-contact.js +11 -11
  485. package/dist/components/stzh-container.js +1 -1
  486. package/dist/components/stzh-content.js +2 -2
  487. package/dist/components/stzh-cspace.js +1 -1
  488. package/dist/components/stzh-cta.js +5 -5
  489. package/dist/components/stzh-cta.js.map +1 -1
  490. package/dist/components/stzh-datalist-item.js +1 -1
  491. package/dist/components/stzh-datalist.js +1 -1
  492. package/dist/components/stzh-datamessagelist-item.js +12 -12
  493. package/dist/components/stzh-datamessagelist.js +2 -2
  494. package/dist/components/stzh-datatable.js +18 -18
  495. package/dist/components/stzh-datepicker.js +1 -1
  496. package/dist/components/stzh-daterange.js +6 -6
  497. package/dist/components/stzh-details.js +1 -1
  498. package/dist/components/stzh-dialog.js +1 -1
  499. package/dist/components/stzh-disturber.js +5 -5
  500. package/dist/components/stzh-dropdown.js +1 -1
  501. package/dist/components/stzh-editor.js +4 -4
  502. package/dist/components/stzh-eventdata.js +1 -1
  503. package/dist/components/stzh-eventinfo.js +8 -9
  504. package/dist/components/stzh-eventinfo.js.map +1 -1
  505. package/dist/components/stzh-feedreader-item.js +4 -4
  506. package/dist/components/stzh-feedreader.js +10 -10
  507. package/dist/components/stzh-fieldset.js +1 -1
  508. package/dist/components/stzh-figure.js +1 -1
  509. package/dist/components/stzh-flyingfocus.js +2 -2
  510. package/dist/components/stzh-footer.js +10 -9
  511. package/dist/components/stzh-footer.js.map +1 -1
  512. package/dist/components/stzh-gallery.js +9 -9
  513. package/dist/components/stzh-geo-ref-data.js +27 -27
  514. package/dist/components/stzh-ghettobox.js +6 -6
  515. package/dist/components/stzh-header.js +1 -1
  516. package/dist/components/stzh-heading.js +1 -1
  517. package/dist/components/stzh-homepage-search.js +3 -3
  518. package/dist/components/stzh-homepage-service-highlights.js +9 -9
  519. package/dist/components/stzh-hr.js +2 -2
  520. package/dist/components/stzh-hspace.js +1 -1
  521. package/dist/components/stzh-http-error.js +8 -8
  522. package/dist/components/stzh-icon.js +1 -1
  523. package/dist/components/stzh-iframe.js +1 -1
  524. package/dist/components/stzh-imagecomparison.js +4 -4
  525. package/dist/components/stzh-input.js +1 -1
  526. package/dist/components/stzh-invert.js +2 -2
  527. package/dist/components/stzh-link.js +1 -1
  528. package/dist/components/stzh-linklist.js +12 -12
  529. package/dist/components/stzh-list-item.js +1 -1
  530. package/dist/components/stzh-list.js +1 -1
  531. package/dist/components/stzh-loader.js +1 -1
  532. package/dist/components/stzh-loadingbar.js +2 -2
  533. package/dist/components/stzh-menu-item.js +1 -1
  534. package/dist/components/stzh-menu.js +1 -1
  535. package/dist/components/stzh-message.js +1 -1
  536. package/dist/components/stzh-microsite-teaserlist.js +21 -21
  537. package/dist/components/stzh-monthyearpicker.js +6 -6
  538. package/dist/components/stzh-offline-indicator.js +7 -7
  539. package/dist/components/stzh-olmap.js +1 -1
  540. package/dist/components/stzh-overlay.js +1 -1
  541. package/dist/components/stzh-page-skiplinks.js +2 -2
  542. package/dist/components/stzh-pagebottom.js +9 -9
  543. package/dist/components/stzh-pagecontent.js +3 -3
  544. package/dist/components/stzh-pagetitle-hero.js +3 -3
  545. package/dist/components/stzh-pagetitle-home.js +5 -5
  546. package/dist/components/stzh-pagetitle.js +4 -4
  547. package/dist/components/stzh-pagination.js +1 -1
  548. package/dist/components/stzh-panorama.js +13 -13
  549. package/dist/components/stzh-pi-content-navigation.js +5 -5
  550. package/dist/components/stzh-pi-content-navigation.js.map +1 -1
  551. package/dist/components/stzh-pi-menu.js +4 -4
  552. package/dist/components/stzh-pi-pagetitle.js +4 -4
  553. package/dist/components/stzh-pi-quote.js +2 -2
  554. package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
  555. package/dist/components/stzh-pi-teaser-layout.js +3 -3
  556. package/dist/components/stzh-pi-teaser.js +4 -4
  557. package/dist/components/stzh-pi-teaser.js.map +1 -1
  558. package/dist/components/stzh-pkzh-qr.js +20 -20
  559. package/dist/components/stzh-popover.js +1 -1
  560. package/dist/components/stzh-print.js +1 -1
  561. package/dist/components/stzh-quote.js +2 -2
  562. package/dist/components/stzh-radio.js +1 -1
  563. package/dist/components/stzh-radiogroup.js +1 -1
  564. package/dist/components/stzh-rating.js +42 -12
  565. package/dist/components/stzh-rating.js.map +1 -1
  566. package/dist/components/stzh-ratio.js +1 -1
  567. package/dist/components/stzh-readspeaker.js +7 -7
  568. package/dist/components/stzh-richtext.js +3 -3
  569. package/dist/components/stzh-row.js +1 -1
  570. package/dist/components/stzh-saptcha.js +9 -9
  571. package/dist/components/stzh-scrollup.js +3 -3
  572. package/dist/components/stzh-search.js +19 -19
  573. package/dist/components/stzh-section.js +4 -4
  574. package/dist/components/stzh-share.js +1 -1
  575. package/dist/components/stzh-show.js +1 -1
  576. package/dist/components/stzh-sitemap.js +10 -10
  577. package/dist/components/stzh-skin-portal-mitwirken.js +2 -2
  578. package/dist/components/stzh-skin-storybook-preview.js +2 -2
  579. package/dist/components/stzh-skiplink.js +2 -2
  580. package/dist/components/stzh-socialmediastream-item.js +1 -1
  581. package/dist/components/stzh-socialmediastream.js +8 -8
  582. package/dist/components/stzh-sortable.js +1 -1
  583. package/dist/components/stzh-space.js +1 -1
  584. package/dist/components/stzh-status.js +1 -1
  585. package/dist/components/stzh-stepper-item.js +1 -1
  586. package/dist/components/stzh-stepper.js +6 -6
  587. package/dist/components/stzh-sticky-actions.js +4 -4
  588. package/dist/components/stzh-sticky.js +1 -1
  589. package/dist/components/stzh-table.js +3 -3
  590. package/dist/components/stzh-tag.js +1 -1
  591. package/dist/components/stzh-text.js +1 -1
  592. package/dist/components/stzh-textandimage.js +3 -3
  593. package/dist/components/stzh-timeline-item.js +5 -5
  594. package/dist/components/stzh-timeline.js +2 -2
  595. package/dist/components/stzh-timepicker.js +6 -6
  596. package/dist/components/stzh-toast.js +1 -1
  597. package/dist/components/stzh-toastbar.js +1 -1
  598. package/dist/components/stzh-toggle.js +42 -11
  599. package/dist/components/stzh-toggle.js.map +1 -1
  600. package/dist/components/stzh-tooltip.js +1 -1
  601. package/dist/components/stzh-twocolumns.js +3 -3
  602. package/dist/components/stzh-upload.js +50 -19
  603. package/dist/components/stzh-upload.js.map +1 -1
  604. package/dist/components/stzh-vbz-carousel.js +2 -2
  605. package/dist/components/stzh-vbz-connection-finder.js +1 -1
  606. package/dist/components/stzh-vbz-intro.js +6 -6
  607. package/dist/components/stzh-vbz-linechip.js +1 -1
  608. package/dist/components/stzh-vbz-majorticker.js +8 -8
  609. package/dist/components/stzh-vbz-ticker.js +7 -7
  610. package/dist/components/stzh-visuallyhidden.js +3 -3
  611. package/dist/components/stzh-vspace.js +3 -3
  612. package/dist/components/stzh-youtube.js +7 -7
  613. package/dist/esm/{index-Qb46gVIp.js → index-Cd_ra_Ay.js} +4 -45
  614. package/dist/esm/index-Cd_ra_Ay.js.map +1 -0
  615. package/dist/esm/loader.js +3 -3
  616. package/dist/esm/stzh-accordion_3.entry.js +5 -5
  617. package/dist/esm/stzh-actions_6.entry.js +11 -11
  618. package/dist/esm/stzh-actionset.entry.js +6 -6
  619. package/dist/esm/stzh-amount.entry.js +2 -2
  620. package/dist/esm/stzh-anchornav.entry.js +2 -2
  621. package/dist/esm/stzh-app-nav.entry.js +2 -2
  622. package/dist/esm/stzh-appointments.entry.js +21 -11
  623. package/dist/esm/stzh-appointments.entry.js.map +1 -1
  624. package/dist/esm/stzh-archivelist.entry.js +1 -1
  625. package/dist/esm/stzh-audio.entry.js +5 -5
  626. package/dist/esm/stzh-badge_3.entry.js +5 -5
  627. package/dist/esm/stzh-banner.entry.js +2 -2
  628. package/dist/esm/stzh-breadcrumb_2.entry.js +3 -3
  629. package/dist/esm/stzh-buttongroup.entry.js +2 -2
  630. package/dist/esm/stzh-calendar.entry.js +1 -1
  631. package/dist/esm/stzh-card-navigation.entry.js +3 -3
  632. package/dist/esm/stzh-card-navigation.entry.js.map +1 -1
  633. package/dist/esm/stzh-card-searchresult.entry.js +3 -3
  634. package/dist/esm/stzh-card-superteaser.entry.js +2 -2
  635. package/dist/esm/stzh-card_2.entry.js +8 -8
  636. package/dist/esm/stzh-carousel.entry.js +4 -4
  637. package/dist/esm/stzh-chart.entry.js +2 -2
  638. package/dist/esm/stzh-checkbox.entry.js +36 -6
  639. package/dist/esm/stzh-checkbox.entry.js.map +1 -1
  640. package/dist/esm/stzh-checkboxgroup.entry.js +6 -6
  641. package/dist/esm/stzh-chip_2.entry.js +9 -9
  642. package/dist/esm/stzh-chipgroup.entry.js +2 -2
  643. package/dist/esm/stzh-clamp.entry.js +3 -3
  644. package/dist/esm/stzh-company-logo.entry.js +2 -2
  645. package/dist/esm/stzh-components.js +3 -3
  646. package/dist/esm/stzh-contact-cv.entry.js +2 -2
  647. package/dist/esm/stzh-contact.entry.js +2 -2
  648. package/dist/esm/stzh-container_2.entry.js +3 -3
  649. package/dist/esm/stzh-content.entry.js +2 -2
  650. package/dist/esm/stzh-cta.entry.js +3 -3
  651. package/dist/esm/stzh-cta.entry.js.map +1 -1
  652. package/dist/esm/stzh-datalist_3.entry.js +5 -5
  653. package/dist/esm/stzh-datamessagelist-item.entry.js +2 -2
  654. package/dist/esm/stzh-datamessagelist.entry.js +2 -2
  655. package/dist/esm/stzh-datatable.entry.js +2 -2
  656. package/dist/esm/stzh-datepicker_3.entry.js +42 -12
  657. package/dist/esm/stzh-daterange.entry.js +3 -3
  658. package/dist/esm/stzh-details.entry.js +3 -3
  659. package/dist/esm/stzh-dialog.entry.js +4 -4
  660. package/dist/esm/stzh-disturber.entry.js +2 -2
  661. package/dist/esm/stzh-dropdown.entry.js +7 -7
  662. package/dist/esm/stzh-editor.entry.js +1 -1
  663. package/dist/esm/stzh-eventdata.entry.js +1 -1
  664. package/dist/esm/stzh-eventinfo.entry.js +4 -5
  665. package/dist/esm/stzh-eventinfo.entry.js.map +1 -1
  666. package/dist/esm/stzh-feedreader-item.entry.js +3 -3
  667. package/dist/esm/stzh-feedreader.entry.js +3 -3
  668. package/dist/esm/stzh-figure.entry.js +3 -3
  669. package/dist/esm/stzh-flyingfocus.entry.js +2 -2
  670. package/dist/esm/stzh-footer.entry.js +6 -5
  671. package/dist/esm/stzh-footer.entry.js.map +1 -1
  672. package/dist/esm/stzh-gallery.entry.js +2 -2
  673. package/dist/esm/stzh-geo-ref-data.entry.js +4 -4
  674. package/dist/esm/stzh-ghettobox.entry.js +3 -3
  675. package/dist/esm/stzh-header_3.entry.js +5 -5
  676. package/dist/esm/stzh-heading.entry.js +2 -2
  677. package/dist/esm/stzh-homepage-search.entry.js +2 -2
  678. package/dist/esm/stzh-homepage-service-highlights.entry.js +4 -4
  679. package/dist/esm/stzh-hr.entry.js +2 -2
  680. package/dist/esm/stzh-hspace.entry.js +3 -3
  681. package/dist/esm/stzh-http-error.entry.js +2 -2
  682. package/dist/esm/stzh-iframe.entry.js +5 -5
  683. package/dist/esm/stzh-imagecomparison.entry.js +3 -3
  684. package/dist/esm/{stzh-input-description-CkiDnZXP.js → stzh-input-description-BLx_RZxZ.js} +3 -3
  685. package/dist/esm/{stzh-input-description-CkiDnZXP.js.map → stzh-input-description-BLx_RZxZ.js.map} +1 -1
  686. package/dist/esm/stzh-input.entry.js +31 -36
  687. package/dist/esm/stzh-input.entry.js.map +1 -1
  688. package/dist/esm/stzh-invert.entry.js +2 -2
  689. package/dist/esm/stzh-link.entry.js +3 -3
  690. package/dist/esm/stzh-linklist.entry.js +3 -3
  691. package/dist/esm/stzh-list_2.entry.js +3 -3
  692. package/dist/esm/stzh-loader.entry.js +2 -2
  693. package/dist/esm/stzh-loadingbar.entry.js +2 -2
  694. package/dist/esm/stzh-menu_2.entry.js +4 -4
  695. package/dist/esm/stzh-message.entry.js +3 -3
  696. package/dist/esm/stzh-microsite-teaserlist.entry.js +2 -2
  697. package/dist/esm/stzh-monthyearpicker.entry.js +2 -2
  698. package/dist/esm/stzh-offline-indicator.entry.js +2 -2
  699. package/dist/esm/stzh-page-skiplinks.entry.js +2 -2
  700. package/dist/esm/stzh-pagebottom.entry.js +2 -2
  701. package/dist/esm/stzh-pagecontent.entry.js +3 -3
  702. package/dist/esm/stzh-pagetitle-hero.entry.js +3 -3
  703. package/dist/esm/stzh-pagetitle-home.entry.js +4 -4
  704. package/dist/esm/stzh-pagetitle.entry.js +3 -3
  705. package/dist/esm/stzh-panorama.entry.js +3 -3
  706. package/dist/esm/stzh-pi-content-navigation.entry.js +3 -3
  707. package/dist/esm/stzh-pi-content-navigation.entry.js.map +1 -1
  708. package/dist/esm/stzh-pi-menu.entry.js +2 -2
  709. package/dist/esm/stzh-pi-pagetitle.entry.js +3 -3
  710. package/dist/esm/stzh-pi-quote.entry.js +2 -2
  711. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +2 -2
  712. package/dist/esm/stzh-pi-teaser-layout-item.entry.js.map +1 -1
  713. package/dist/esm/stzh-pi-teaser-layout.entry.js +2 -2
  714. package/dist/esm/stzh-pi-teaser.entry.js +3 -3
  715. package/dist/esm/stzh-pi-teaser.entry.js.map +1 -1
  716. package/dist/esm/stzh-pkzh-qr.entry.js +1 -1
  717. package/dist/esm/stzh-popover.entry.js +3 -3
  718. package/dist/esm/stzh-print_2.entry.js +4 -4
  719. package/dist/esm/stzh-quote.entry.js +2 -2
  720. package/dist/esm/stzh-rating.entry.js +37 -9
  721. package/dist/esm/stzh-rating.entry.js.map +1 -1
  722. package/dist/esm/stzh-ratio.entry.js +2 -2
  723. package/dist/esm/stzh-readspeaker.entry.js +4 -4
  724. package/dist/esm/stzh-richtext.entry.js +2 -2
  725. package/dist/esm/stzh-saptcha.entry.js +3 -3
  726. package/dist/esm/stzh-scrollup.entry.js +3 -3
  727. package/dist/esm/stzh-search.entry.js +4 -4
  728. package/dist/esm/stzh-section.entry.js +4 -4
  729. package/dist/esm/stzh-show.entry.js +3 -3
  730. package/dist/esm/stzh-sitemap.entry.js +2 -2
  731. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +2 -2
  732. package/dist/esm/stzh-skin-storybook-preview.entry.js +2 -2
  733. package/dist/esm/stzh-skiplink.entry.js +2 -2
  734. package/dist/esm/stzh-socialmediastream-item.entry.js +2 -2
  735. package/dist/esm/stzh-socialmediastream.entry.js +3 -3
  736. package/dist/esm/stzh-stepper-item.entry.js +4 -4
  737. package/dist/esm/stzh-stepper.entry.js +4 -4
  738. package/dist/esm/stzh-sticky-actions.entry.js +3 -3
  739. package/dist/esm/stzh-sticky.entry.js +3 -3
  740. package/dist/esm/stzh-table.entry.js +3 -3
  741. package/dist/esm/stzh-text.entry.js +3 -3
  742. package/dist/esm/stzh-textandimage.entry.js +3 -3
  743. package/dist/esm/stzh-timeline-item.entry.js +3 -3
  744. package/dist/esm/stzh-timeline.entry.js +2 -2
  745. package/dist/esm/stzh-timepicker.entry.js +2 -2
  746. package/dist/esm/stzh-toast_2.entry.js +5 -5
  747. package/dist/esm/stzh-toggle.entry.js +36 -7
  748. package/dist/esm/stzh-toggle.entry.js.map +1 -1
  749. package/dist/esm/stzh-tooltip.entry.js +3 -3
  750. package/dist/esm/stzh-twocolumns.entry.js +3 -3
  751. package/dist/esm/stzh-upload.entry.js +37 -8
  752. package/dist/esm/stzh-upload.entry.js.map +1 -1
  753. package/dist/esm/stzh-vbz-carousel.entry.js +1 -1
  754. package/dist/esm/stzh-vbz-connection-finder.entry.js +1 -1
  755. package/dist/esm/stzh-vbz-intro.entry.js +2 -2
  756. package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
  757. package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
  758. package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
  759. package/dist/esm/stzh-visuallyhidden.entry.js +3 -3
  760. package/dist/esm/stzh-vspace.entry.js +3 -3
  761. package/dist/esm/stzh-youtube.entry.js +2 -2
  762. package/dist/esm/{utils-BnOofzDv.js → utils-CnvjJ2wY.js} +59 -3
  763. package/dist/esm/utils-CnvjJ2wY.js.map +1 -0
  764. package/dist/stzh-components/assets/i18n/fr.json +460 -0
  765. package/dist/stzh-components/assets/i18n/it.json +461 -0
  766. package/dist/stzh-components/assets/media/icons/mono/easy-read.svg +1 -0
  767. package/dist/stzh-components/{p-bae8c063.entry.js → p-01df3db2.entry.js} +2 -2
  768. package/dist/stzh-components/{p-ff03f780.entry.js → p-079dcc0c.entry.js} +3 -3
  769. package/dist/stzh-components/{p-93afea50.entry.js → p-07a3f13b.entry.js} +2 -2
  770. package/dist/stzh-components/{p-7f6e2c50.entry.js → p-07f01850.entry.js} +2 -2
  771. package/dist/stzh-components/{p-64b3d4c2.entry.js → p-094f446c.entry.js} +2 -2
  772. package/dist/stzh-components/{p-4640481a.entry.js → p-0b78dd4f.entry.js} +2 -2
  773. package/dist/stzh-components/{p-32a41205.entry.js → p-0c981d74.entry.js} +2 -2
  774. package/dist/stzh-components/{p-a41ed36a.entry.js → p-10f8a411.entry.js} +2 -2
  775. package/dist/stzh-components/{p-c5157043.entry.js → p-1509f376.entry.js} +2 -2
  776. package/dist/stzh-components/p-1517a33d.entry.js +2 -0
  777. package/dist/stzh-components/p-1517a33d.entry.js.map +1 -0
  778. package/dist/stzh-components/{p-d80119b5.entry.js → p-157b43ee.entry.js} +2 -2
  779. package/dist/stzh-components/{p-d7470d02.entry.js → p-163e7402.entry.js} +2 -2
  780. package/dist/stzh-components/{p-6ecf3d10.entry.js → p-175bb0f6.entry.js} +2 -2
  781. package/dist/stzh-components/{p-b4d3dd64.entry.js → p-19128327.entry.js} +2 -2
  782. package/dist/stzh-components/{p-42e5eb19.entry.js → p-191ee433.entry.js} +2 -2
  783. package/dist/stzh-components/{p-3edfb735.entry.js → p-1c93511c.entry.js} +2 -2
  784. package/dist/stzh-components/{p-a711447d.entry.js → p-1e2fdef2.entry.js} +2 -2
  785. package/dist/stzh-components/p-1e2fdef2.entry.js.map +1 -0
  786. package/dist/stzh-components/{p-ed8062c2.entry.js → p-202d72b1.entry.js} +2 -2
  787. package/dist/stzh-components/{p-80503011.entry.js → p-209f26fb.entry.js} +2 -2
  788. package/dist/stzh-components/p-20bfbc6f.entry.js +2 -0
  789. package/dist/stzh-components/p-20bfbc6f.entry.js.map +1 -0
  790. package/dist/stzh-components/{p-6ca9c23c.entry.js → p-2609419a.entry.js} +2 -2
  791. package/dist/stzh-components/{p-414a3145.entry.js → p-28a1dfb8.entry.js} +2 -2
  792. package/dist/stzh-components/{p-7635b6f5.entry.js → p-29bce2da.entry.js} +2 -2
  793. package/dist/stzh-components/{p-aee4a2ae.entry.js → p-2c2ee11d.entry.js} +2 -2
  794. package/dist/stzh-components/{p-14d86c1d.entry.js → p-2c4b646b.entry.js} +2 -2
  795. package/dist/stzh-components/{p-055e9962.entry.js → p-2cafe02c.entry.js} +2 -2
  796. package/dist/stzh-components/{p-7960db96.entry.js → p-31ddeb59.entry.js} +2 -2
  797. package/dist/stzh-components/{p-a96614ae.entry.js → p-37ab4757.entry.js} +2 -2
  798. package/dist/stzh-components/{p-e95ee8a4.entry.js → p-3deebf76.entry.js} +2 -2
  799. package/dist/stzh-components/p-3e949281.entry.js +2 -0
  800. package/dist/stzh-components/{p-a1e07163.entry.js.map → p-3e949281.entry.js.map} +1 -1
  801. package/dist/stzh-components/{p-745161ef.entry.js → p-4306b004.entry.js} +2 -2
  802. package/dist/stzh-components/{p-9f3bbad2.entry.js → p-441a69c8.entry.js} +2 -2
  803. package/dist/stzh-components/{p-e8e9ceff.entry.js → p-47a3a92f.entry.js} +2 -2
  804. package/dist/stzh-components/{p-ced452d5.entry.js → p-49dbf5af.entry.js} +2 -2
  805. package/dist/stzh-components/{p-90807e9e.entry.js → p-4cc94ab2.entry.js} +2 -2
  806. package/dist/stzh-components/{p-af59c189.entry.js → p-4cf4a477.entry.js} +2 -2
  807. package/dist/stzh-components/{p-a29de908.entry.js → p-4df5aaec.entry.js} +2 -2
  808. package/dist/stzh-components/{p-d7ce73a1.entry.js → p-5075d2b8.entry.js} +2 -2
  809. package/dist/stzh-components/p-5ab62d5a.entry.js +2 -0
  810. package/dist/stzh-components/{p-d94cc86b.entry.js.map → p-5ab62d5a.entry.js.map} +1 -1
  811. package/dist/stzh-components/{p-326b55a2.entry.js → p-608b3614.entry.js} +2 -2
  812. package/dist/stzh-components/{p-216a9cc6.entry.js → p-615bce0c.entry.js} +2 -2
  813. package/dist/stzh-components/{p-4eefbac4.entry.js → p-62b7f84a.entry.js} +2 -2
  814. package/dist/stzh-components/{p-43882380.entry.js → p-64f49126.entry.js} +2 -2
  815. package/dist/stzh-components/{p-2c30f74d.entry.js → p-65d16d3d.entry.js} +2 -2
  816. package/dist/stzh-components/{p-2c30f74d.entry.js.map → p-65d16d3d.entry.js.map} +1 -1
  817. package/dist/stzh-components/{p-e947cbc0.entry.js → p-66871ca6.entry.js} +3 -3
  818. package/dist/stzh-components/{p-a6209841.entry.js → p-6837f9f3.entry.js} +2 -2
  819. package/dist/stzh-components/{p-70b8ed74.entry.js → p-687aec65.entry.js} +2 -2
  820. package/dist/stzh-components/{p-edffd239.entry.js → p-68902793.entry.js} +2 -2
  821. package/dist/stzh-components/{p-edffd239.entry.js.map → p-68902793.entry.js.map} +1 -1
  822. package/dist/stzh-components/{p-390766ab.entry.js → p-6b9cd9d7.entry.js} +3 -3
  823. package/dist/stzh-components/{p-37aae8ac.entry.js → p-6c03fa87.entry.js} +3 -3
  824. package/dist/stzh-components/{p-7fc9372f.entry.js → p-6d317f61.entry.js} +2 -2
  825. package/dist/stzh-components/{p-e5675129.entry.js → p-6d5286d5.entry.js} +2 -2
  826. package/dist/stzh-components/{p-ac647202.entry.js → p-6fb9484b.entry.js} +2 -2
  827. package/dist/stzh-components/p-70dfa010.entry.js +2 -0
  828. package/dist/stzh-components/p-70dfa010.entry.js.map +1 -0
  829. package/dist/stzh-components/{p-c52c1aef.entry.js → p-72f80196.entry.js} +2 -2
  830. package/dist/stzh-components/{p-f51d4bbe.entry.js → p-7365c477.entry.js} +2 -2
  831. package/dist/stzh-components/{p-d9d0a469.entry.js → p-75291180.entry.js} +2 -2
  832. package/dist/stzh-components/{p-19cc2896.entry.js → p-761c5948.entry.js} +2 -2
  833. package/dist/stzh-components/{p-23cdc8a4.entry.js → p-7b65832f.entry.js} +2 -2
  834. package/dist/stzh-components/{p-86ffdc58.entry.js → p-7e6e6547.entry.js} +2 -2
  835. package/dist/stzh-components/{p-86ffdc58.entry.js.map → p-7e6e6547.entry.js.map} +1 -1
  836. package/dist/stzh-components/p-7ee51188.entry.js +2 -0
  837. package/dist/stzh-components/{p-dc72b0de.entry.js.map → p-7ee51188.entry.js.map} +1 -1
  838. package/dist/stzh-components/{p-3084c3a5.entry.js → p-7fe9b54c.entry.js} +2 -2
  839. package/dist/stzh-components/{p-6cd6392a.entry.js → p-8094cf86.entry.js} +2 -2
  840. package/dist/stzh-components/{p-2d09b8b3.entry.js → p-80fc31a3.entry.js} +2 -2
  841. package/dist/stzh-components/{p-1341927f.entry.js → p-8a37f308.entry.js} +2 -2
  842. package/dist/stzh-components/{p-10c5d519.entry.js → p-8afec643.entry.js} +2 -2
  843. package/dist/stzh-components/{p-61d59943.entry.js → p-8b17a4ea.entry.js} +2 -2
  844. package/dist/stzh-components/{p-cbef543b.entry.js → p-8c229068.entry.js} +2 -2
  845. package/dist/stzh-components/{p-1bb272ca.entry.js → p-8e0e50c7.entry.js} +2 -2
  846. package/dist/stzh-components/{p-cf40ac5b.entry.js → p-8f960061.entry.js} +2 -2
  847. package/dist/stzh-components/{p-2940951b.entry.js → p-9116a045.entry.js} +2 -2
  848. package/dist/stzh-components/{p-2940951b.entry.js.map → p-9116a045.entry.js.map} +1 -1
  849. package/dist/stzh-components/{p-234bf6bf.entry.js → p-91293013.entry.js} +2 -2
  850. package/dist/stzh-components/{p-96c7ceb0.entry.js → p-9401dae4.entry.js} +2 -2
  851. package/dist/stzh-components/{p-923deb7b.entry.js → p-973d5106.entry.js} +2 -2
  852. package/dist/stzh-components/{p-6c517443.entry.js → p-9a13a429.entry.js} +2 -2
  853. package/dist/stzh-components/{p-1b92110f.entry.js → p-9b3646d1.entry.js} +2 -2
  854. package/dist/stzh-components/{p-bd256924.entry.js → p-9fa5627e.entry.js} +2 -2
  855. package/dist/stzh-components/p-Cd_ra_Ay.js +3 -0
  856. package/dist/stzh-components/p-Cd_ra_Ay.js.map +1 -0
  857. package/dist/stzh-components/{p-Be8ir2AL.js → p-Cmnnu8LG.js} +2 -2
  858. package/dist/stzh-components/{p-Be8ir2AL.js.map → p-Cmnnu8LG.js.map} +1 -1
  859. package/dist/stzh-components/p-DhuTERdU.js +2 -0
  860. package/dist/stzh-components/p-DhuTERdU.js.map +1 -0
  861. package/dist/stzh-components/p-a12a9a69.entry.js +2 -0
  862. package/dist/stzh-components/{p-0ed4cd7e.entry.js.map → p-a12a9a69.entry.js.map} +1 -1
  863. package/dist/stzh-components/{p-99b23557.entry.js → p-a344c074.entry.js} +2 -2
  864. package/dist/stzh-components/p-a4af5ab1.entry.js +2 -0
  865. package/dist/stzh-components/p-a4af5ab1.entry.js.map +1 -0
  866. package/dist/stzh-components/{p-dfb3d918.entry.js → p-a5d371f1.entry.js} +2 -2
  867. package/dist/stzh-components/{p-0dd74312.entry.js → p-a955037d.entry.js} +2 -2
  868. package/dist/stzh-components/{p-42707a5b.entry.js → p-ab49825b.entry.js} +2 -2
  869. package/dist/stzh-components/{p-94f25b97.entry.js → p-abd035af.entry.js} +2 -2
  870. package/dist/stzh-components/{p-e8b7bf12.entry.js → p-b1c3a46e.entry.js} +2 -2
  871. package/dist/stzh-components/{p-09f28398.entry.js → p-b282776f.entry.js} +2 -2
  872. package/dist/stzh-components/{p-1021e488.entry.js → p-b29db204.entry.js} +2 -2
  873. package/dist/stzh-components/p-b3376d98.entry.js +2 -0
  874. package/dist/stzh-components/p-b3376d98.entry.js.map +1 -0
  875. package/dist/stzh-components/{p-d2acf05b.entry.js → p-b5e6915e.entry.js} +2 -2
  876. package/dist/stzh-components/{p-7a726c47.entry.js → p-b79a3cf6.entry.js} +2 -2
  877. package/dist/stzh-components/{p-0cd89ab9.entry.js → p-b93a3119.entry.js} +2 -2
  878. package/dist/stzh-components/{p-0cf712e6.entry.js → p-b95d6d7e.entry.js} +2 -2
  879. package/dist/stzh-components/{p-b7b21a8c.entry.js → p-b96726cd.entry.js} +2 -2
  880. package/dist/stzh-components/{p-60c3106c.entry.js → p-bbf9c297.entry.js} +2 -2
  881. package/dist/stzh-components/{p-71291933.entry.js → p-be131bb0.entry.js} +2 -2
  882. package/dist/stzh-components/{p-bc3af3b4.entry.js → p-c0ca3937.entry.js} +2 -2
  883. package/dist/stzh-components/{p-d434e9ef.entry.js → p-c2b979f4.entry.js} +2 -2
  884. package/dist/stzh-components/{p-a85ed304.entry.js → p-ca122373.entry.js} +2 -2
  885. package/dist/stzh-components/{p-20735c80.entry.js → p-ca3018d9.entry.js} +2 -2
  886. package/dist/stzh-components/p-cabbf05e.entry.js +2 -0
  887. package/dist/stzh-components/{p-e236ee82.entry.js.map → p-cabbf05e.entry.js.map} +1 -1
  888. package/dist/stzh-components/{p-73a79275.entry.js → p-cada8a35.entry.js} +2 -2
  889. package/dist/stzh-components/{p-033c3b6b.entry.js → p-cc8ee9b0.entry.js} +2 -2
  890. package/dist/stzh-components/{p-647a80da.entry.js → p-cd7b961a.entry.js} +2 -2
  891. package/dist/stzh-components/{p-e7e813f8.entry.js → p-ced6cf29.entry.js} +2 -2
  892. package/dist/stzh-components/{p-c297a620.entry.js → p-cf9f8810.entry.js} +2 -2
  893. package/dist/stzh-components/{p-d7668a3b.entry.js → p-d0a705e4.entry.js} +2 -2
  894. package/dist/stzh-components/{p-83a059a0.entry.js → p-d5811a44.entry.js} +2 -2
  895. package/dist/stzh-components/{p-5204cd86.entry.js → p-d681d6e4.entry.js} +2 -2
  896. package/dist/stzh-components/{p-4b928978.entry.js → p-d86f3f58.entry.js} +2 -2
  897. package/dist/stzh-components/{p-af4ea4bc.entry.js → p-dbd9d4dc.entry.js} +5 -5
  898. package/dist/stzh-components/{p-51d869eb.entry.js → p-dd861fbd.entry.js} +2 -2
  899. package/dist/stzh-components/{p-ef8e4a95.entry.js → p-df4d32b9.entry.js} +2 -2
  900. package/dist/stzh-components/{p-2baa284a.entry.js → p-e0df6f5e.entry.js} +2 -2
  901. package/dist/stzh-components/{p-fb25534f.entry.js → p-e1f17ba4.entry.js} +2 -2
  902. package/dist/stzh-components/{p-fb25534f.entry.js.map → p-e1f17ba4.entry.js.map} +1 -1
  903. package/dist/stzh-components/{p-ecd3be50.entry.js → p-e4713769.entry.js} +2 -2
  904. package/dist/stzh-components/p-e542834b.entry.js +2 -0
  905. package/dist/stzh-components/p-e542834b.entry.js.map +1 -0
  906. package/dist/stzh-components/{p-0795bbcd.entry.js → p-e682f2ac.entry.js} +2 -2
  907. package/dist/stzh-components/{p-b47d51d7.entry.js → p-e7dc4502.entry.js} +2 -2
  908. package/dist/stzh-components/{p-b8f44c79.entry.js → p-e7fd376c.entry.js} +7 -7
  909. package/dist/stzh-components/p-e9c52ffb.entry.js +2 -0
  910. package/dist/stzh-components/p-e9c52ffb.entry.js.map +1 -0
  911. package/dist/stzh-components/{p-02cb3aae.entry.js → p-ea5e7024.entry.js} +2 -2
  912. package/dist/stzh-components/{p-7aca0e23.entry.js → p-edf81efe.entry.js} +2 -2
  913. package/dist/stzh-components/{p-0134136f.entry.js → p-ef1dac1c.entry.js} +2 -2
  914. package/dist/stzh-components/{p-a7bed4b7.entry.js → p-f0494df6.entry.js} +2 -2
  915. package/dist/stzh-components/p-f3e31d46.entry.js +2 -0
  916. package/dist/stzh-components/{p-58882212.entry.js.map → p-f3e31d46.entry.js.map} +1 -1
  917. package/dist/stzh-components/{p-e19b6d8c.entry.js → p-f57e38fd.entry.js} +2 -2
  918. package/dist/stzh-components/{p-62ffe60a.entry.js → p-f5be3b98.entry.js} +2 -2
  919. package/dist/stzh-components/{p-ec817cb2.entry.js → p-f6abd4ab.entry.js} +2 -2
  920. package/dist/stzh-components/{p-61c9ed2d.entry.js → p-f8f7101d.entry.js} +2 -2
  921. package/dist/stzh-components/{p-42628b3a.entry.js → p-ff9946f2.entry.js} +2 -2
  922. package/dist/stzh-components/stzh-components.esm.js +1 -1
  923. package/dist/types/components/stzh-appointments/stzh-appointments.d.ts +7 -1
  924. package/dist/types/components/stzh-checkbox/stzh-checkbox.d.ts +18 -0
  925. package/dist/types/components/stzh-footer/stzh-footer.d.ts +2 -2
  926. package/dist/types/components/stzh-header/stzh-header.d.ts +1 -1
  927. package/dist/types/components/stzh-input/stzh-input.d.ts +15 -4
  928. package/dist/types/components/stzh-radio/stzh-radio.d.ts +18 -0
  929. package/dist/types/components/stzh-rating/stzh-rating.d.ts +18 -0
  930. package/dist/types/components/stzh-toggle/stzh-toggle.d.ts +18 -0
  931. package/dist/types/components/stzh-upload/stzh-upload.d.ts +18 -0
  932. package/dist/types/components.d.ts +12 -12
  933. package/dist/types/utils/utils.d.ts +13 -0
  934. package/dist/vscode-data.json +6 -3
  935. package/package.json +1 -1
  936. package/dist/cjs/index-Cj3dPOnE.js.map +0 -1
  937. package/dist/cjs/utils-BtvTjHH2.js.map +0 -1
  938. package/dist/components/p-5QD-jnDI.js.map +0 -1
  939. package/dist/components/p-BmZW5NzL.js.map +0 -1
  940. package/dist/components/p-C7bl96a5.js.map +0 -1
  941. package/dist/components/p-CN5apKPb.js.map +0 -1
  942. package/dist/components/p-DStLZwaI.js.map +0 -1
  943. package/dist/components/p-G6s0H-yQ.js.map +0 -1
  944. package/dist/esm/index-Qb46gVIp.js.map +0 -1
  945. package/dist/esm/utils-BnOofzDv.js.map +0 -1
  946. package/dist/stzh-components/p--MYN2wgX.js +0 -2
  947. package/dist/stzh-components/p--MYN2wgX.js.map +0 -1
  948. package/dist/stzh-components/p-0ed4cd7e.entry.js +0 -2
  949. package/dist/stzh-components/p-18237cd2.entry.js +0 -2
  950. package/dist/stzh-components/p-18237cd2.entry.js.map +0 -1
  951. package/dist/stzh-components/p-58882212.entry.js +0 -2
  952. package/dist/stzh-components/p-5f86ac2c.entry.js +0 -2
  953. package/dist/stzh-components/p-5f86ac2c.entry.js.map +0 -1
  954. package/dist/stzh-components/p-61aa75b0.entry.js +0 -2
  955. package/dist/stzh-components/p-61aa75b0.entry.js.map +0 -1
  956. package/dist/stzh-components/p-6a798b0a.entry.js +0 -2
  957. package/dist/stzh-components/p-6a798b0a.entry.js.map +0 -1
  958. package/dist/stzh-components/p-Qb46gVIp.js +0 -3
  959. package/dist/stzh-components/p-Qb46gVIp.js.map +0 -1
  960. package/dist/stzh-components/p-a1e07163.entry.js +0 -2
  961. package/dist/stzh-components/p-a711447d.entry.js.map +0 -1
  962. package/dist/stzh-components/p-b6d762b2.entry.js +0 -2
  963. package/dist/stzh-components/p-b6d762b2.entry.js.map +0 -1
  964. package/dist/stzh-components/p-d21526d5.entry.js +0 -2
  965. package/dist/stzh-components/p-d21526d5.entry.js.map +0 -1
  966. package/dist/stzh-components/p-d94cc86b.entry.js +0 -2
  967. package/dist/stzh-components/p-dc72b0de.entry.js +0 -2
  968. package/dist/stzh-components/p-e236ee82.entry.js +0 -2
  969. package/dist/stzh-components/p-facf3e9e.entry.js +0 -2
  970. package/dist/stzh-components/p-facf3e9e.entry.js.map +0 -1
  971. /package/dist/stzh-components/{p-bae8c063.entry.js.map → p-01df3db2.entry.js.map} +0 -0
  972. /package/dist/stzh-components/{p-ff03f780.entry.js.map → p-079dcc0c.entry.js.map} +0 -0
  973. /package/dist/stzh-components/{p-93afea50.entry.js.map → p-07a3f13b.entry.js.map} +0 -0
  974. /package/dist/stzh-components/{p-7f6e2c50.entry.js.map → p-07f01850.entry.js.map} +0 -0
  975. /package/dist/stzh-components/{p-64b3d4c2.entry.js.map → p-094f446c.entry.js.map} +0 -0
  976. /package/dist/stzh-components/{p-4640481a.entry.js.map → p-0b78dd4f.entry.js.map} +0 -0
  977. /package/dist/stzh-components/{p-32a41205.entry.js.map → p-0c981d74.entry.js.map} +0 -0
  978. /package/dist/stzh-components/{p-a41ed36a.entry.js.map → p-10f8a411.entry.js.map} +0 -0
  979. /package/dist/stzh-components/{p-c5157043.entry.js.map → p-1509f376.entry.js.map} +0 -0
  980. /package/dist/stzh-components/{p-d80119b5.entry.js.map → p-157b43ee.entry.js.map} +0 -0
  981. /package/dist/stzh-components/{p-d7470d02.entry.js.map → p-163e7402.entry.js.map} +0 -0
  982. /package/dist/stzh-components/{p-6ecf3d10.entry.js.map → p-175bb0f6.entry.js.map} +0 -0
  983. /package/dist/stzh-components/{p-b4d3dd64.entry.js.map → p-19128327.entry.js.map} +0 -0
  984. /package/dist/stzh-components/{p-42e5eb19.entry.js.map → p-191ee433.entry.js.map} +0 -0
  985. /package/dist/stzh-components/{p-3edfb735.entry.js.map → p-1c93511c.entry.js.map} +0 -0
  986. /package/dist/stzh-components/{p-ed8062c2.entry.js.map → p-202d72b1.entry.js.map} +0 -0
  987. /package/dist/stzh-components/{p-80503011.entry.js.map → p-209f26fb.entry.js.map} +0 -0
  988. /package/dist/stzh-components/{p-6ca9c23c.entry.js.map → p-2609419a.entry.js.map} +0 -0
  989. /package/dist/stzh-components/{p-414a3145.entry.js.map → p-28a1dfb8.entry.js.map} +0 -0
  990. /package/dist/stzh-components/{p-7635b6f5.entry.js.map → p-29bce2da.entry.js.map} +0 -0
  991. /package/dist/stzh-components/{p-aee4a2ae.entry.js.map → p-2c2ee11d.entry.js.map} +0 -0
  992. /package/dist/stzh-components/{p-14d86c1d.entry.js.map → p-2c4b646b.entry.js.map} +0 -0
  993. /package/dist/stzh-components/{p-055e9962.entry.js.map → p-2cafe02c.entry.js.map} +0 -0
  994. /package/dist/stzh-components/{p-7960db96.entry.js.map → p-31ddeb59.entry.js.map} +0 -0
  995. /package/dist/stzh-components/{p-a96614ae.entry.js.map → p-37ab4757.entry.js.map} +0 -0
  996. /package/dist/stzh-components/{p-e95ee8a4.entry.js.map → p-3deebf76.entry.js.map} +0 -0
  997. /package/dist/stzh-components/{p-745161ef.entry.js.map → p-4306b004.entry.js.map} +0 -0
  998. /package/dist/stzh-components/{p-9f3bbad2.entry.js.map → p-441a69c8.entry.js.map} +0 -0
  999. /package/dist/stzh-components/{p-e8e9ceff.entry.js.map → p-47a3a92f.entry.js.map} +0 -0
  1000. /package/dist/stzh-components/{p-ced452d5.entry.js.map → p-49dbf5af.entry.js.map} +0 -0
  1001. /package/dist/stzh-components/{p-90807e9e.entry.js.map → p-4cc94ab2.entry.js.map} +0 -0
  1002. /package/dist/stzh-components/{p-af59c189.entry.js.map → p-4cf4a477.entry.js.map} +0 -0
  1003. /package/dist/stzh-components/{p-a29de908.entry.js.map → p-4df5aaec.entry.js.map} +0 -0
  1004. /package/dist/stzh-components/{p-d7ce73a1.entry.js.map → p-5075d2b8.entry.js.map} +0 -0
  1005. /package/dist/stzh-components/{p-326b55a2.entry.js.map → p-608b3614.entry.js.map} +0 -0
  1006. /package/dist/stzh-components/{p-216a9cc6.entry.js.map → p-615bce0c.entry.js.map} +0 -0
  1007. /package/dist/stzh-components/{p-4eefbac4.entry.js.map → p-62b7f84a.entry.js.map} +0 -0
  1008. /package/dist/stzh-components/{p-43882380.entry.js.map → p-64f49126.entry.js.map} +0 -0
  1009. /package/dist/stzh-components/{p-e947cbc0.entry.js.map → p-66871ca6.entry.js.map} +0 -0
  1010. /package/dist/stzh-components/{p-a6209841.entry.js.map → p-6837f9f3.entry.js.map} +0 -0
  1011. /package/dist/stzh-components/{p-70b8ed74.entry.js.map → p-687aec65.entry.js.map} +0 -0
  1012. /package/dist/stzh-components/{p-390766ab.entry.js.map → p-6b9cd9d7.entry.js.map} +0 -0
  1013. /package/dist/stzh-components/{p-37aae8ac.entry.js.map → p-6c03fa87.entry.js.map} +0 -0
  1014. /package/dist/stzh-components/{p-7fc9372f.entry.js.map → p-6d317f61.entry.js.map} +0 -0
  1015. /package/dist/stzh-components/{p-e5675129.entry.js.map → p-6d5286d5.entry.js.map} +0 -0
  1016. /package/dist/stzh-components/{p-ac647202.entry.js.map → p-6fb9484b.entry.js.map} +0 -0
  1017. /package/dist/stzh-components/{p-c52c1aef.entry.js.map → p-72f80196.entry.js.map} +0 -0
  1018. /package/dist/stzh-components/{p-f51d4bbe.entry.js.map → p-7365c477.entry.js.map} +0 -0
  1019. /package/dist/stzh-components/{p-d9d0a469.entry.js.map → p-75291180.entry.js.map} +0 -0
  1020. /package/dist/stzh-components/{p-19cc2896.entry.js.map → p-761c5948.entry.js.map} +0 -0
  1021. /package/dist/stzh-components/{p-23cdc8a4.entry.js.map → p-7b65832f.entry.js.map} +0 -0
  1022. /package/dist/stzh-components/{p-3084c3a5.entry.js.map → p-7fe9b54c.entry.js.map} +0 -0
  1023. /package/dist/stzh-components/{p-6cd6392a.entry.js.map → p-8094cf86.entry.js.map} +0 -0
  1024. /package/dist/stzh-components/{p-2d09b8b3.entry.js.map → p-80fc31a3.entry.js.map} +0 -0
  1025. /package/dist/stzh-components/{p-1341927f.entry.js.map → p-8a37f308.entry.js.map} +0 -0
  1026. /package/dist/stzh-components/{p-10c5d519.entry.js.map → p-8afec643.entry.js.map} +0 -0
  1027. /package/dist/stzh-components/{p-61d59943.entry.js.map → p-8b17a4ea.entry.js.map} +0 -0
  1028. /package/dist/stzh-components/{p-cbef543b.entry.js.map → p-8c229068.entry.js.map} +0 -0
  1029. /package/dist/stzh-components/{p-1bb272ca.entry.js.map → p-8e0e50c7.entry.js.map} +0 -0
  1030. /package/dist/stzh-components/{p-cf40ac5b.entry.js.map → p-8f960061.entry.js.map} +0 -0
  1031. /package/dist/stzh-components/{p-234bf6bf.entry.js.map → p-91293013.entry.js.map} +0 -0
  1032. /package/dist/stzh-components/{p-96c7ceb0.entry.js.map → p-9401dae4.entry.js.map} +0 -0
  1033. /package/dist/stzh-components/{p-923deb7b.entry.js.map → p-973d5106.entry.js.map} +0 -0
  1034. /package/dist/stzh-components/{p-6c517443.entry.js.map → p-9a13a429.entry.js.map} +0 -0
  1035. /package/dist/stzh-components/{p-1b92110f.entry.js.map → p-9b3646d1.entry.js.map} +0 -0
  1036. /package/dist/stzh-components/{p-bd256924.entry.js.map → p-9fa5627e.entry.js.map} +0 -0
  1037. /package/dist/stzh-components/{p-99b23557.entry.js.map → p-a344c074.entry.js.map} +0 -0
  1038. /package/dist/stzh-components/{p-dfb3d918.entry.js.map → p-a5d371f1.entry.js.map} +0 -0
  1039. /package/dist/stzh-components/{p-0dd74312.entry.js.map → p-a955037d.entry.js.map} +0 -0
  1040. /package/dist/stzh-components/{p-42707a5b.entry.js.map → p-ab49825b.entry.js.map} +0 -0
  1041. /package/dist/stzh-components/{p-94f25b97.entry.js.map → p-abd035af.entry.js.map} +0 -0
  1042. /package/dist/stzh-components/{p-e8b7bf12.entry.js.map → p-b1c3a46e.entry.js.map} +0 -0
  1043. /package/dist/stzh-components/{p-09f28398.entry.js.map → p-b282776f.entry.js.map} +0 -0
  1044. /package/dist/stzh-components/{p-1021e488.entry.js.map → p-b29db204.entry.js.map} +0 -0
  1045. /package/dist/stzh-components/{p-d2acf05b.entry.js.map → p-b5e6915e.entry.js.map} +0 -0
  1046. /package/dist/stzh-components/{p-7a726c47.entry.js.map → p-b79a3cf6.entry.js.map} +0 -0
  1047. /package/dist/stzh-components/{p-0cd89ab9.entry.js.map → p-b93a3119.entry.js.map} +0 -0
  1048. /package/dist/stzh-components/{p-0cf712e6.entry.js.map → p-b95d6d7e.entry.js.map} +0 -0
  1049. /package/dist/stzh-components/{p-b7b21a8c.entry.js.map → p-b96726cd.entry.js.map} +0 -0
  1050. /package/dist/stzh-components/{p-60c3106c.entry.js.map → p-bbf9c297.entry.js.map} +0 -0
  1051. /package/dist/stzh-components/{p-71291933.entry.js.map → p-be131bb0.entry.js.map} +0 -0
  1052. /package/dist/stzh-components/{p-bc3af3b4.entry.js.map → p-c0ca3937.entry.js.map} +0 -0
  1053. /package/dist/stzh-components/{p-d434e9ef.entry.js.map → p-c2b979f4.entry.js.map} +0 -0
  1054. /package/dist/stzh-components/{p-a85ed304.entry.js.map → p-ca122373.entry.js.map} +0 -0
  1055. /package/dist/stzh-components/{p-20735c80.entry.js.map → p-ca3018d9.entry.js.map} +0 -0
  1056. /package/dist/stzh-components/{p-73a79275.entry.js.map → p-cada8a35.entry.js.map} +0 -0
  1057. /package/dist/stzh-components/{p-033c3b6b.entry.js.map → p-cc8ee9b0.entry.js.map} +0 -0
  1058. /package/dist/stzh-components/{p-647a80da.entry.js.map → p-cd7b961a.entry.js.map} +0 -0
  1059. /package/dist/stzh-components/{p-e7e813f8.entry.js.map → p-ced6cf29.entry.js.map} +0 -0
  1060. /package/dist/stzh-components/{p-c297a620.entry.js.map → p-cf9f8810.entry.js.map} +0 -0
  1061. /package/dist/stzh-components/{p-d7668a3b.entry.js.map → p-d0a705e4.entry.js.map} +0 -0
  1062. /package/dist/stzh-components/{p-83a059a0.entry.js.map → p-d5811a44.entry.js.map} +0 -0
  1063. /package/dist/stzh-components/{p-5204cd86.entry.js.map → p-d681d6e4.entry.js.map} +0 -0
  1064. /package/dist/stzh-components/{p-4b928978.entry.js.map → p-d86f3f58.entry.js.map} +0 -0
  1065. /package/dist/stzh-components/{p-af4ea4bc.entry.js.map → p-dbd9d4dc.entry.js.map} +0 -0
  1066. /package/dist/stzh-components/{p-51d869eb.entry.js.map → p-dd861fbd.entry.js.map} +0 -0
  1067. /package/dist/stzh-components/{p-ef8e4a95.entry.js.map → p-df4d32b9.entry.js.map} +0 -0
  1068. /package/dist/stzh-components/{p-2baa284a.entry.js.map → p-e0df6f5e.entry.js.map} +0 -0
  1069. /package/dist/stzh-components/{p-ecd3be50.entry.js.map → p-e4713769.entry.js.map} +0 -0
  1070. /package/dist/stzh-components/{p-0795bbcd.entry.js.map → p-e682f2ac.entry.js.map} +0 -0
  1071. /package/dist/stzh-components/{p-b47d51d7.entry.js.map → p-e7dc4502.entry.js.map} +0 -0
  1072. /package/dist/stzh-components/{p-b8f44c79.entry.js.map → p-e7fd376c.entry.js.map} +0 -0
  1073. /package/dist/stzh-components/{p-02cb3aae.entry.js.map → p-ea5e7024.entry.js.map} +0 -0
  1074. /package/dist/stzh-components/{p-7aca0e23.entry.js.map → p-edf81efe.entry.js.map} +0 -0
  1075. /package/dist/stzh-components/{p-0134136f.entry.js.map → p-ef1dac1c.entry.js.map} +0 -0
  1076. /package/dist/stzh-components/{p-a7bed4b7.entry.js.map → p-f0494df6.entry.js.map} +0 -0
  1077. /package/dist/stzh-components/{p-e19b6d8c.entry.js.map → p-f57e38fd.entry.js.map} +0 -0
  1078. /package/dist/stzh-components/{p-62ffe60a.entry.js.map → p-f5be3b98.entry.js.map} +0 -0
  1079. /package/dist/stzh-components/{p-ec817cb2.entry.js.map → p-f6abd4ab.entry.js.map} +0 -0
  1080. /package/dist/stzh-components/{p-61c9ed2d.entry.js.map → p-f8f7101d.entry.js.map} +0 -0
  1081. /package/dist/stzh-components/{p-42628b3a.entry.js.map → p-ff9946f2.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"stzh-pi-teaser-layout-item.js","sourceRoot":"","sources":["../../../../../src/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAIvF;;;;GAIG;AAMH,MAAM,OAAO,sBAAsB;IALnC;QAmBE,eAAe;QACP,aAAQ,GAAW,EAAE,CAAC;QAE9B,6CAA6C;QACrC,YAAO,GAAW,EAAE,CAAC;QAK7B,oBAAoB;QACZ,iBAAY,GAA0B,GAAG,CAAC;QAElD,4CAA4C;QACpC,SAAI,GAAW,EAAE,CAAC;QAE1B,WAAW;QACH,SAAI,GAAW,EAAE,CAAC;QAE1B,gCAAgC;QACxB,gBAAW,GAAkC,GAAG,CAAC;QAajD,oBAAe,GAAG,CAAC,aAAyB,EAAE,EAAE;YACtD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;gBAClB,SAAS,EAAE,4BAA4B;gBACvC,aAAa;gBACb,IAAI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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Host, Prop } from \"@stencil/core\";\n\nimport { StzhPiTeaserLayoutItemClickEvent } from \"../../../index\";\n\n/**\n * @slot heading - Heading text (alternative for heading property)\n * @slot lead - Lead text (alternative for lead property)\n * @slot image - Image (rendered within ratio 2:1, hence the different slot name to prevent naming collision)\n */\n@Component({\n tag: \"stzh-pi-teaser-layout-item\",\n styleUrl: \"stzh-pi-teaser-layout-item.scss\",\n scoped: true,\n})\nexport class StzhPiTeaserLayoutItem {\n /** Href of card */\n @Prop({ reflect: true }) href: string;\n\n /** target if the button is used as link (if href used) */\n @Prop() target: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link elements.\n * Default value will be taken from `heading` prop/slot.\n */\n @Prop() analyticsId: string;\n\n /** Dateline */\n @Prop() dateline: string = \"\";\n\n /** Heading (alternative for heading slot) */\n @Prop() heading: string = \"\";\n\n /** Image source link */\n @Prop() imageSrc: string | null;\n\n /** Heading level */\n @Prop() headingLevel: \"1\" | \"2\" | \"3\" | \"4\" = \"3\";\n\n /** Lead text (alternative for lead slot) */\n @Prop() lead: string = \"\";\n\n /** Date */\n @Prop() date: string = \"\";\n\n /**Which size of teaser it is */\n @Prop() contentSize: \"XS\" | \"S\" | \"M\" | \"L\" | \"XL\" = \"M\";\n\n /**Whether image is on top or on the right*/\n @Prop() imagePosition: \"top\" | \"right\" | null;\n\n @Element() element: HTMLStzhListElement;\n\n /** Click event (if href is used) */\n @Event() stzhClick: EventEmitter<StzhPiTeaserLayoutItemClickEvent>;\n\n private titleLinkElement: HTMLAnchorElement | HTMLButtonElement;\n private headingTextElement: HTMLDivElement;\n\n private handleCardClick = (originalEvent: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-pi-teaser-layout-item\",\n originalEvent,\n href: this.href,\n });\n };\n\n componentDidRender() {\n requestAnimationFrame(() => {\n const objectId = this.analyticsId || this.headingTextElement?.innerText;\n\n if (objectId) {\n this.titleLinkElement?.setAttribute(\"s-object-id\", objectId);\n }\n });\n }\n\n renderHeading(): DocumentFragment {\n const Heading = `h${this.headingLevel}`;\n const TitleLink = this.href ? \"a\" : \"button\";\n return (\n <div class=\"stzh-pi-teaser-layout-item__title-wrapper\">\n <Heading class=\"stzh-pi-teaser-layout-item__title\">\n <TitleLink\n ref={el => (this.titleLinkElement = el as HTMLAnchorElement | HTMLButtonElement)}\n class=\"stzh-pi-teaser-layout-item__title-link\"\n href={this.href}\n target={this.target}\n onClick={this.handleCardClick}\n >\n <div ref={el => (this.headingTextElement = el as HTMLDivElement)}>{this.heading}</div>\n </TitleLink>\n </Heading>\n </div>\n );\n }\n\n render() {\n const hasLead = !!this.lead;\n console.log(\"imageSrc: \", this.imageSrc, \" & imagePosition: \", this.imagePosition);\n const hasImage = !!this.imageSrc && !!this.imagePosition;\n console.log(\"hasImage: \", hasImage);\n const displayLead = this.lead;\n // ? this.truncateLead(this.lead, this.contentSize == \"XL\" || this.contentSize == \"L\" ? 260 : 160)\n // : \"\";\n\n const classes = {\n \"stzh-pi-teaser-layout-item\": true,\n \"stzh-pi-teaser-layout-item--has-lead\": hasLead,\n \"stzh-pi-teaser-layout-item--has-image\": hasImage,\n };\n\n return (\n <Host has-lead={hasLead} has-image={hasImage} image-position={this.imagePosition} content-size={this.contentSize}>\n <article class={classes} aria-label={this.heading} role=\"listitem\">\n {hasImage && (\n <div class=\"stzh-pi-teaser-layout-item__image\">\n <img src={this.imageSrc} alt=\"Example image\" />\n </div>\n )}\n\n <div class=\"stzh-pi-teaser-layout-item__wrapper\">\n <div class={\"stzh-pi-teaser-layout-item__text\"}>\n {this.dateline && <p class=\"stzh-pi-teaser-layout-item__dateline\">{this.dateline}</p>}\n {this.renderHeading()}\n <div class=\"stzh-pi-teaser-layout-item__lead-wrapper\">\n <div class=\"stzh-pi-teaser-layout-item__lead\">{displayLead}</div>\n </div>\n {this.date && <div class=\"stzh-pi-teaser-layout-item__date\">{this.date}</div>}\n </div>\n </div>\n </article>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"stzh-pi-teaser-layout-item.js","sourceRoot":"","sources":["../../../../../src/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAIvF;;;;GAIG;AAMH,MAAM,OAAO,sBAAsB;IALnC;QAmBE,eAAe;QACP,aAAQ,GAAW,EAAE,CAAC;QAE9B,6CAA6C;QACrC,YAAO,GAAW,EAAE,CAAC;QAK7B,oBAAoB;QACZ,iBAAY,GAA0B,GAAG,CAAC;QAElD,4CAA4C;QACpC,SAAI,GAAW,EAAE,CAAC;QAE1B,WAAW;QACH,SAAI,GAAW,EAAE,CAAC;QAE1B,gCAAgC;QACxB,gBAAW,GAAkC,GAAG,CAAC;QAajD,oBAAe,GAAG,CAAC,aAAyB,EAAE,EAAE;YACtD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;gBAClB,SAAS,EAAE,4BAA4B;gBACvC,aAAa;gBACb,IAAI,EAAE,IAAI,CAAC,IAAI;aAChB,CAAC,CAAC;QACL,CAAC,CAAC;KAsEH;IApEC,kBAAkB;QAChB,qBAAqB,CAAC,GAAG,EAAE;;YACzB,MAAM,QAAQ,GAAG,IAAI,CAAC,WAAW,KAAI,MAAA,IAAI,CAAC,kBAAkB,0CAAE,SAAS,CAAA,CAAC;YAExE,IAAI,QAAQ,EAAE,CAAC;gBACb,MAAA,IAAI,CAAC,gBAAgB,0CAAE,YAAY,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;YAC/D,C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,CAAC;QAEF,OAAO,CACL,EAAC,IAAI,iEAAW,OAAO,eAAa,QAAQ,oBAAkB,IAAI,CAAC,aAAa,kBAAgB,IAAI,CAAC,WAAW;YAC9G,gEAAS,KAAK,EAAE,OAAO,gBAAc,IAAI,CAAC,OAAO,EAAE,IAAI,EAAC,UAAU;gBAC/D,QAAQ,IAAI,CACX,4DAAK,KAAK,EAAC,mCAAmC;oBAC5C,4DAAK,GAAG,EAAE,IAAI,CAAC,QAAQ,EAAE,GAAG,EAAC,eAAe,GAAG,CAC3C,CACP;gBAED,4DAAK,KAAK,EAAC,qCAAqC;oBAC9C,4DAAK,KAAK,EAAE,kCAAkC;wBAC3C,IAAI,CAAC,QAAQ,IAAI,0DAAG,KAAK,EAAC,sCAAsC,IAAE,IAAI,CAAC,QAAQ,CAAK;wBACpF,IAAI,CAAC,aAAa,EAAE;wBACrB,4DAAK,KAAK,EAAC,0CAA0C;4BACnD,0DAAG,KAAK,EAAC,kCAAkC,IAAE,WAAW,CAAK,CACzD;wBACL,IAAI,CAAC,IAAI,IAAI,0DAAG,KAAK,EAAC,kCAAkC,IAAE,IAAI,CAAC,IAAI,CAAK,CACrE,CACF,CACE,CACL,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Host, Prop } from \"@stencil/core\";\n\nimport { StzhPiTeaserLayoutItemClickEvent } from \"../../../index\";\n\n/**\n * @slot heading - Heading text (alternative for heading property)\n * @slot lead - Lead text (alternative for lead property)\n * @slot image - Image (rendered within ratio 2:1, hence the different slot name to prevent naming collision)\n */\n@Component({\n tag: \"stzh-pi-teaser-layout-item\",\n styleUrl: \"stzh-pi-teaser-layout-item.scss\",\n scoped: true,\n})\nexport class StzhPiTeaserLayoutItem {\n /** Href of card */\n @Prop({ reflect: true }) href: string;\n\n /** target if the button is used as link (if href used) */\n @Prop() target: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link elements.\n * Default value will be taken from `heading` prop/slot.\n */\n @Prop() analyticsId: string;\n\n /** Dateline */\n @Prop() dateline: string = \"\";\n\n /** Heading (alternative for heading slot) */\n @Prop() heading: string = \"\";\n\n /** Image source link */\n @Prop() imageSrc: string | null;\n\n /** Heading level */\n @Prop() headingLevel: \"1\" | \"2\" | \"3\" | \"4\" = \"3\";\n\n /** Lead text (alternative for lead slot) */\n @Prop() lead: string = \"\";\n\n /** Date */\n @Prop() date: string = \"\";\n\n /**Which size of teaser it is */\n @Prop() contentSize: \"XS\" | \"S\" | \"M\" | \"L\" | \"XL\" = \"M\";\n\n /**Whether image is on top or on the right*/\n @Prop() imagePosition: \"top\" | \"right\" | null;\n\n @Element() element: HTMLStzhListElement;\n\n /** Click event (if href is used) */\n @Event() stzhClick: EventEmitter<StzhPiTeaserLayoutItemClickEvent>;\n\n private titleLinkElement: HTMLAnchorElement | HTMLButtonElement;\n private headingTextElement: HTMLDivElement;\n\n private handleCardClick = (originalEvent: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-pi-teaser-layout-item\",\n originalEvent,\n href: this.href,\n });\n };\n\n componentDidRender() {\n requestAnimationFrame(() => {\n const objectId = this.analyticsId || this.headingTextElement?.innerText;\n\n if (objectId) {\n this.titleLinkElement?.setAttribute(\"s-object-id\", objectId);\n }\n });\n }\n\n renderHeading(): DocumentFragment {\n const Heading = `h${this.headingLevel}`;\n const TitleLink = this.href ? \"a\" : \"button\";\n return (\n <div class=\"stzh-pi-teaser-layout-item__title-wrapper\">\n <Heading class=\"stzh-pi-teaser-layout-item__title\">\n <TitleLink\n ref={el => (this.titleLinkElement = el as HTMLAnchorElement | HTMLButtonElement)}\n class=\"stzh-pi-teaser-layout-item__title-link\"\n href={this.href}\n target={this.target}\n onClick={this.handleCardClick}\n >\n <div ref={el => (this.headingTextElement = el as HTMLDivElement)}>{this.heading}</div>\n </TitleLink>\n </Heading>\n </div>\n );\n }\n\n render() {\n const hasLead = !!this.lead;\n console.log(\"imageSrc: \", this.imageSrc, \" & imagePosition: \", this.imagePosition);\n const hasImage = !!this.imageSrc && !!this.imagePosition;\n console.log(\"hasImage: \", hasImage);\n const displayLead = this.lead;\n // ? this.truncateLead(this.lead, this.contentSize == \"XL\" || this.contentSize == \"L\" ? 260 : 160)\n // : \"\";\n\n const classes = {\n \"stzh-pi-teaser-layout-item\": true,\n \"stzh-pi-teaser-layout-item--has-lead\": hasLead,\n \"stzh-pi-teaser-layout-item--has-image\": hasImage,\n };\n\n return (\n <Host has-lead={hasLead} has-image={hasImage} image-position={this.imagePosition} content-size={this.contentSize}>\n <article class={classes} aria-label={this.heading} role=\"listitem\">\n {hasImage && (\n <div class=\"stzh-pi-teaser-layout-item__image\">\n <img src={this.imageSrc} alt=\"Example image\" />\n </div>\n )}\n\n <div class=\"stzh-pi-teaser-layout-item__wrapper\">\n <div class={\"stzh-pi-teaser-layout-item__text\"}>\n {this.dateline && <p class=\"stzh-pi-teaser-layout-item__dateline\">{this.dateline}</p>}\n {this.renderHeading()}\n <div class=\"stzh-pi-teaser-layout-item__lead-wrapper\">\n <p class=\"stzh-pi-teaser-layout-item__lead\">{displayLead}</p>\n </div>\n {this.date && <p class=\"stzh-pi-teaser-layout-item__date\">{this.date}</p>}\n </div>\n </div>\n </article>\n </Host>\n );\n }\n}\n"]}
@@ -35,7 +35,7 @@ export class StzhPrint {
35
35
  const classes = {
36
36
  "stzh-print": true,
37
37
  };
38
- return (h(Host, { key: 'd15e52f4b620b661b884b866a65945e7c391c169' }, h("div", { key: 'fb32dc9b393aa26145a18fae1b61ccf181476ad5', class: classes }, h("slot", { key: 'a30e0c1ff04fcea7dc1a1c63446803b3dfcf3c56' }))));
38
+ return (h(Host, { key: '49745ca226dd0f28cdeedf50caf5eb3e2097ce21' }, h("div", { key: 'dbbc88be4006c7d78dd1bffec802fbf7f0c96036', class: classes }, h("slot", { key: 'b99be8025121e53c255e571588a8e8ba5cb414d4' }))));
39
39
  }
40
40
  static get is() { return "stzh-print"; }
41
41
  static get encapsulation() { return "shadow"; }
@@ -490,13 +490,13 @@ export class StzhSearch {
490
490
  const wrapperProps = typeof this.templateResultWrapperProps === "function"
491
491
  ? this.templateResultWrapperProps(this.element)
492
492
  : this.templateResultWrapperProps;
493
- return (h(Host, { key: 'f711d5e20edae20f9719f684d82d92ea63af7991', "has-aside-filters": filtersAsideUsed, fullwidth: this.isStzhAnchornavVisible.toString() }, h("form", { key: '5fca4fe4f7ac97b673c940112d414e848056b7ae', ref: el => (this.formElement = el), novalidate: true, class: classes, onSubmit: this.handleFormSubmit, onReset: this.handleFormReset }, h("div", { key: '3b861de6e48a3f2d4f448244ec4f33a4f12c6f0b', class: "stzh-search__filters-main", onStzhChange: this.handleMainFilterChange }, !!this.heading && (h("stzh-heading", { key: '32c3199579357d8c15527cb8bb8a6d7e4dad8844', class: "stzh-search__header-heading", curve: "h2" }, formatHeadingForHyphenation(this.heading))), h("slot", { key: '9eabfc4c5784fc80822630fb86abbf4e52477e59', name: "filters-main" }), !chipsProvided && this.chipResults.length > 0 && (h("div", { key: 'f4fc3712646fd08e18c9ecbf30b213b47fa90469', class: "stzh-search__filters-main-chips" }, this.chipResultsHeading && (h("stzh-text", { key: 'd41f7ef50f8cccde2befa28e06d9009bea0e61f6', font: "heavy", size: "milli", color: "primary" }, this.chipResultsHeading)), this.chipResults[0].options ? (h("stzh-chipgroup", null, this.chipResults.map(chipResult => (h("stzh-dropdown", { label: chipResult.label, name: chipResult.value, variant: "filter", size: "large", "no-search": true, "hide-optional": true, inline: true, options: chipResult.options }))))) : (h("stzh-chipselect", { multiple: true, name: this.chipFilterName, label: this.chipResultsHeading, "label-hidden": true, data: this.chipResults.map(chipResult => ({
493
+ return (h(Host, { key: '23732243a3db8f4ed4bde1858c2e47f87e892acf', "has-aside-filters": filtersAsideUsed, fullwidth: this.isStzhAnchornavVisible.toString() }, h("form", { key: 'c367d9c58dbf5773af5f04942fbd5e1219ead7ec', ref: el => (this.formElement = el), novalidate: true, class: classes, onSubmit: this.handleFormSubmit, onReset: this.handleFormReset }, h("div", { key: 'd5e6ba6a16acb6b4420afdad1086b6f5b1c2d6b6', class: "stzh-search__filters-main", onStzhChange: this.handleMainFilterChange }, !!this.heading && (h("stzh-heading", { key: 'dbfa7894dd8ab5fdd1d2137e3b5c7decb713912b', class: "stzh-search__header-heading", curve: "h2" }, formatHeadingForHyphenation(this.heading))), h("slot", { key: 'd81fca3fd1c1f5b452ace81e5df82e93a7d4c043', name: "filters-main" }), !chipsProvided && this.chipResults.length > 0 && (h("div", { key: 'd026826d762ca4e0253dc916799f78d9f22da10c', class: "stzh-search__filters-main-chips" }, this.chipResultsHeading && (h("stzh-text", { key: 'c6081739495eeae73e9f59cc657cb6027acc315c', font: "heavy", size: "milli", color: "primary" }, this.chipResultsHeading)), this.chipResults[0].options ? (h("stzh-chipgroup", null, this.chipResults.map(chipResult => (h("stzh-dropdown", { label: chipResult.label, name: chipResult.value, variant: "filter", size: "large", "no-search": true, "hide-optional": true, inline: true, options: chipResult.options }))))) : (h("stzh-chipselect", { multiple: true, name: this.chipFilterName, label: this.chipResultsHeading, "label-hidden": true, data: this.chipResults.map(chipResult => ({
494
494
  label: chipResult.label,
495
495
  value: chipResult.value,
496
496
  counter: `${chipResult.amount}`,
497
497
  variant: "filter",
498
498
  size: "large",
499
- })) }))))), filtersAsideUsed && (h(Fragment, { key: '849e4551685d21c4136d8c95f75423db7a1ab8f7' }, h("div", { key: 'dd072f27ccbc7f356083dde1fc241227fb48976e', class: "stzh-search__filters-aside", onStzhChange: this.handleAsideFilterChange }, h("div", { key: 'eb026a3d3d52410259a98921fd0ce98b02584563', class: "stzh-search__filters-aside-inner" }, h("div", { key: 'a6e293397969398f2f33382fc05fbdbadbc2fd8d', class: "stzh-search__filters-aside-heading" }, this.localization.moreFilter), h("stzh-details", { key: '7bed76f34202ccbea0d717fee1975e9fedae4297', open: this.isDetailsOpen, class: "stzh-search__filters-aside-details" }, h("stzh-button", { key: '08c1901aee18f4f556e08ec18c1a7c5874f3fd76', class: "stzh-search__filters-aside-details-trigger", variant: "tertiary-plain", size: "small", noPaddingLeft: true, showToggleIcon: true, iconPosition: "right", label: this.localization.moreFilter }), h("div", { key: '38b4304e9f6403254352214c92fd1bedb99f6d66', slot: "content" }, h("slot", { key: 'f7c7ffa2c0b150d8e48ef38295596edd22bb58b5', name: "filters-aside" }))))))), h("div", { key: '155f118d7198601d0c1a6267e709d20b561c64a2', class: "stzh-search__results-wrapper" }, resultsShown && (h(Fragment, { key: '4fc34fc49a332e68e5d814d6062f93bc71100377' }, this.results.length === 0 ? (h(Fragment, null, this.variant !== "teaser" && this.resultsHeading && !this.hideResultsHeading && (h("stzh-heading", { class: "stzh-search__results-heading", curve: "h3", level: this.resultHeadingLevel, innerHTML: this.resultsHeading })), this.resultsText && this.renderResultsText(), this.subscribePath && this.renderSubscribeButton(), this.emptyText && (h("stzh-text", { class: "stzh-search__empty-text", innerHTML: this.emptyText })), this.emptyLinkLabel && this.emptyLinkHref && (h("div", { class: "stzh-search__empty-link-wrapper" }, h("stzh-link", { href: this.emptyLinkHref, label: this.emptyLinkLabel }))))) : (h(Fragment, null, h("div", { class: "stzh-search__results-header" }, this.variant !== "teaser" && this.resultsHeading && !this.hideResultsHeading && (h("stzh-heading", { class: "stzh-search__results-heading", curve: "h3", level: this.resultHeadingLevel, htmlContent: this.resultsHeading })), this._sortOptions.length > 0 && (h("div", { class: "stzh-search__results-sort" }, h("stzh-dropdown", { "hide-optional": true, inline: true, "no-search": true, "no-wrap": true, class: "stzh-search__results-sort-dropdown", variant: "plain", size: "small", sizeMedium: "tiny", name: "sortby", items: [this._sortBy], options: this._sortOptions, onStzhChange: this.onDropdownSortChange })))), this.resultsText && this.renderResultsText(), this.subscribePath && this.renderSubscribeButton(), h(WrapperElement, Object.assign({ class: "stzh-search__results", "max-3-columns": filtersAsideUsed }, wrapperProps), this.results.map(result => (h("div", { class: "stzh-search__results-item", innerHTML: result.html || "" })))), h("div", { class: "stzh-search__actions-wrapper" }, this._showMoreLink && (h("stzh-button", { variant: "secondary", class: "stzh-search__action-more", label: this.localization.showMore, onClick: this.handleMoreClick, disabled: this.loading, a11yDisabled: this.loading }))))))), this.error && (h("div", { key: '42dab7565aa69b6d40be7b7502c6515d1cd248e7', class: "stzh-search__error" }, h("stzh-message", { key: '8d1c09bf4c275ff9d7925d075ddd70dc083d93e8', type: "error", label: this.error }))), this.loading && h("stzh-loader", { key: 'f294bca37ce25e8b6a585729355ce95618430643', class: "stzh-search__loader" })), h("slot", { key: 'd0b31a873b36de919aa17fea40f4b75939c004e7' }))));
499
+ })) }))))), filtersAsideUsed && (h(Fragment, { key: '900ade7b4448228c9089da31d6037c63d3bd7804' }, h("div", { key: '4b98be07cb167697314be408e6def52b2bdcd65b', class: "stzh-search__filters-aside", onStzhChange: this.handleAsideFilterChange }, h("div", { key: '751f622ad15e0771f53b686e26d0b8d8b33915cd', class: "stzh-search__filters-aside-inner" }, h("div", { key: '6548fcae1748fe1d2838437ef87c083254b6d75c', class: "stzh-search__filters-aside-heading" }, this.localization.moreFilter), h("stzh-details", { key: 'fbf8f016a163c99accae2e013a273553ed958caf', open: this.isDetailsOpen, class: "stzh-search__filters-aside-details" }, h("stzh-button", { key: '7b3fd7a5c19c07d828046434aeef0bf0b5964e4e', class: "stzh-search__filters-aside-details-trigger", variant: "tertiary-plain", size: "small", noPaddingLeft: true, showToggleIcon: true, iconPosition: "right", label: this.localization.moreFilter }), h("div", { key: '28b198629cc5049dbcd0612bd27a21471c1433c0', slot: "content" }, h("slot", { key: '110358388951211961c881ec14b46f7715811af6', name: "filters-aside" }))))))), h("div", { key: '69d02ff8d846892ba899ff6430821f4d03030a52', class: "stzh-search__results-wrapper" }, resultsShown && (h(Fragment, { key: '5e9517d66fa3b8c7fc3d52c209cfe009d558d765' }, this.results.length === 0 ? (h(Fragment, null, this.variant !== "teaser" && this.resultsHeading && !this.hideResultsHeading && (h("stzh-heading", { class: "stzh-search__results-heading", curve: "h3", level: this.resultHeadingLevel, innerHTML: this.resultsHeading })), this.resultsText && this.renderResultsText(), this.subscribePath && this.renderSubscribeButton(), this.emptyText && (h("stzh-text", { class: "stzh-search__empty-text", innerHTML: this.emptyText })), this.emptyLinkLabel && this.emptyLinkHref && (h("div", { class: "stzh-search__empty-link-wrapper" }, h("stzh-link", { href: this.emptyLinkHref, label: this.emptyLinkLabel }))))) : (h(Fragment, null, h("div", { class: "stzh-search__results-header" }, this.variant !== "teaser" && this.resultsHeading && !this.hideResultsHeading && (h("stzh-heading", { class: "stzh-search__results-heading", curve: "h3", level: this.resultHeadingLevel, htmlContent: this.resultsHeading })), this._sortOptions.length > 0 && (h("div", { class: "stzh-search__results-sort" }, h("stzh-dropdown", { "hide-optional": true, inline: true, "no-search": true, "no-wrap": true, class: "stzh-search__results-sort-dropdown", variant: "plain", size: "small", sizeMedium: "tiny", name: "sortby", items: [this._sortBy], options: this._sortOptions, onStzhChange: this.onDropdownSortChange })))), this.resultsText && this.renderResultsText(), this.subscribePath && this.renderSubscribeButton(), h(WrapperElement, Object.assign({ class: "stzh-search__results", "max-3-columns": filtersAsideUsed }, wrapperProps), this.results.map(result => (h("div", { class: "stzh-search__results-item", innerHTML: result.html || "" })))), h("div", { class: "stzh-search__actions-wrapper" }, this._showMoreLink && (h("stzh-button", { variant: "secondary", class: "stzh-search__action-more", label: this.localization.showMore, onClick: this.handleMoreClick, disabled: this.loading, a11yDisabled: this.loading }))))))), this.error && (h("div", { key: 'd9715024bfe374397b73bf09ffc557f04b17cd19', class: "stzh-search__error" }, h("stzh-message", { key: '5a6316edaa28c0722504db950f20ba775166ba85', type: "error", label: this.error }))), this.loading && h("stzh-loader", { key: '3ed587034807936064a28bb0d29ff8d8675740bf', class: "stzh-search__loader" })), h("slot", { key: 'f8a8be5f8ca3cee0822e41d7f18f21635e5415af' }))));
500
500
  }
501
501
  static get is() { return "stzh-search"; }
502
502
  static get originalStyleUrls() {
@@ -15,7 +15,7 @@ export class StzhSitemap {
15
15
  const classes = {
16
16
  "stzh-sitemap": true,
17
17
  };
18
- return (h(Host, { key: '3e054797dbc48fe90cc4ee929d76863af694c5df' }, h("div", { key: '42f4f573fa37b393d6c74d21e29ccb851dd8aa96', class: classes }, h("stzh-datalist", { key: '6873705554a2994bb408f14a4a3b720f76f09320', items: this.items }))));
18
+ return (h(Host, { key: 'ee1a67e61c9083b5a5104ab7e4ad73e2770f26d3' }, h("div", { key: '14d4b440fafad2cce73f513044c4283acee04dda', class: classes }, h("stzh-datalist", { key: '8293f9638793f24f8fccb467b68dc13304cc3393', items: this.items }))));
19
19
  }
20
20
  static get is() { return "stzh-sitemap"; }
21
21
  static get originalStyleUrls() {
@@ -81,7 +81,7 @@ export class StzhSocialmediastream {
81
81
  "stzh-socialmediastream": true,
82
82
  "stzh-socialmediastream--has-heading": headingSlotUsed || !!this.heading,
83
83
  };
84
- return (h(Host, { key: 'f569eff1f40fbd41f7cc192848deea3a80466f0d' }, h("div", { key: '169c0bcd190e16490a9fbdfafdc8e04ba5c54010', class: classes }, h("div", { key: 'ba73795d7b18c5d837a06942d085bf32d210ac21', class: "stzh-socialmediastream__heading" }, !!this.heading ? (h("stzh-heading", { level: this.headingLevel }, this.heading)) : (h("slot", { name: "heading" }))), h("div", { key: 'f8405317298a58d5ce776789e1180307683fe9c8', class: "stzh-socialmediastream__items" }, this._items &&
84
+ return (h(Host, { key: '576567016fa79333a61b8a1b9e6809de8ff1363c' }, h("div", { key: '7703cf289db4fdd8ae4f6a6b45e220841a9701c8', class: classes }, h("div", { key: 'e1c74750068fddf4f5c77a4a00039842b4272573', class: "stzh-socialmediastream__heading" }, !!this.heading ? (h("stzh-heading", { level: this.headingLevel }, this.heading)) : (h("slot", { name: "heading" }))), h("div", { key: '6f8d7c6775574e8962c8508fc0cc3a678a63745b', class: "stzh-socialmediastream__items" }, this._items &&
85
85
  this._items.length &&
86
86
  this._items.map(item => (h("stzh-socialmediastream-item", { class: "stzh-socialmediastream__item", item: item })))))));
87
87
  }
@@ -71,7 +71,7 @@ export class StzhSocialmediastreamItem {
71
71
  const classes = {
72
72
  "stzh-socialmediastream-item": true,
73
73
  };
74
- return (h(Host, { key: 'f1dd8d63fdacc9d7e141fe356d046684896b37ff' }, h("a", { key: 'ff096e1bfe7b5d759197f54feabc78018f2f7210', class: classes, href: this._item.link, target: "_blank" }, this._item.image && (h("div", { key: '90a11f04ba2577fa391889f8fb33be267b054d2e', class: "stzh-socialmediastream-item__image" }, h("stzh-ratio", { key: '221576110838260359aefbac0dca1dbfe01f9246', ratio: "1:1" }), h("div", { key: 'b4c3e6b184cc6bc47edfae308bb8a670b080234e', class: "stzh-socialmediastream-item__image-inner-wrapper" }, h("img", { key: 'a1eda7ed374491e04e7efead1342bddda6a5f5b3', src: this._item.image, alt: this._item.account.title })))), h("div", { key: 'c0e7f73e73db0b2df626cd9601ab2b0a33a9c612', class: "stzh-socialmediastream-item__content" }, h("div", { key: 'c1016db8568f8cbf3f1d995c32eb636c2a201533', class: "stzh-socialmediastream-item__content-head" }, h("stzh-text", { key: 'fc6caf5ac27862c155259368f3943d6b21b17bbb', size: "nano", class: "stzh-socialmediastream-item__content-title" }, h("strong", { key: 'ba98a0cbf06f5aa0a8b24e18e8306784f33e33d5' }, this._item.account.title), h("br", { key: 'a8b917130f22ad1b967a6cf8b7fa80372478b49a' }), this.dateAdapter.format(this.getParsedDate(this._item.date), "dateInput")), h("stzh-icon", { key: '81259a706dc1e02498162078e27b706d2a890623', name: this.getIconName(this._item) })), h("div", { key: '45e504b4110c000767a36b0acc30da75a40ddce7', class: "stzh-socialmediastream-item__content-body", innerHTML: this._item.text }), h("div", { key: '66b247ac48af8ccef95c3890ecda85ba16aca2e1', class: "stzh-socialmediastream-item__content-footer 1q23" }, this._item.actions &&
74
+ return (h(Host, { key: 'e7d787f8148eef04218a926cb4b7189c6796c7e0' }, h("a", { key: '690ac288086406a9d11e8e4fd8332f589662e947', class: classes, href: this._item.link, target: "_blank" }, this._item.image && (h("div", { key: '1b3cb143afd80a5afcfd48c62dbca71c7b672068', class: "stzh-socialmediastream-item__image" }, h("stzh-ratio", { key: 'f7fee72dcc99e92967c13a66375a4ff9959002f5', ratio: "1:1" }), h("div", { key: 'd6523d9aa6311cff4289b9c52f62f3ecd74db8fd', class: "stzh-socialmediastream-item__image-inner-wrapper" }, h("img", { key: 'a3ec7ea302e72e0aac5412c3d3a5db3abf12bded', src: this._item.image, alt: this._item.account.title })))), h("div", { key: '52fb7f7f0d44f9d548e377d1e681423704cb523c', class: "stzh-socialmediastream-item__content" }, h("div", { key: '2d56fe0cd1b16c900b87d5d7937dcbf0b593a418', class: "stzh-socialmediastream-item__content-head" }, h("stzh-text", { key: 'e07413c6dcef65909d9e4dcf1344f4ca1aa8f216', size: "nano", class: "stzh-socialmediastream-item__content-title" }, h("strong", { key: 'cf3f638e0c0fdb3e72b1c12c5c4095149fbedb04' }, this._item.account.title), h("br", { key: '7c18dd610ed932011dd97a44656c944488929f85' }), this.dateAdapter.format(this.getParsedDate(this._item.date), "dateInput")), h("stzh-icon", { key: '92364d649bb26d43c79e631facdb848d2adf1f3f', name: this.getIconName(this._item) })), h("div", { key: 'e97e35e812e0032e329277fc15aeffc99c1b18e7', class: "stzh-socialmediastream-item__content-body", innerHTML: this._item.text }), h("div", { key: '0835c5fd538064e1a82b40f7af5ef90816d09353', class: "stzh-socialmediastream-item__content-footer 1q23" }, this._item.actions &&
75
75
  this._item.actions.map(action => (h("a", { href: action.url, title: action.title, class: "stzh-socialmediastream-item__action", target: "_blank" }, h("stzh-icon", { name: this.getActionIconName(action.variant) }), action.count))))))));
76
76
  }
77
77
  static get is() { return "stzh-socialmediastream-item"; }
@@ -72,7 +72,7 @@ export class StzhTextandimage {
72
72
  [`stzh-textandimage--size-${this.size}`]: !!this.size,
73
73
  [`stzh-textandimage--image-position-${this.imagePosition}`]: !!this.imagePosition,
74
74
  };
75
- return (h(Host, { key: 'b6c8e17239d33faefe357d7be281f3ffc477baeb', single: isSingle, "image-position": this.imagePosition }, h("div", { key: '52052b64ed85ca578e9612e66cff097f42c61ec5', class: classes }, h("div", { key: '412926ba1ffb4017675c2d214f7ab17bf39224a8', class: "stzh-textandimage__left" }, h("slot", { key: 'fe7f2c8f949625b1df28daf3f003bb374995d4c2', name: "left", onSlotchange: () => forceUpdate(this.element) })), h("div", { key: '7a3f2839207fea48286332715325b65d9a33c1aa', class: "stzh-textandimage__right" }, h("div", { key: 'f4b61cafc2ba70076583f9769ceb7462006f08ed', class: this.imageMoves ? "stzh-textandimage__wrapper" : "" }, h("slot", { key: 'ad489b8f89170a5c20216753b8283f4e7f189577', name: "right", onSlotchange: () => forceUpdate(this.element) }))))));
75
+ return (h(Host, { key: 'c225c1c09b514833062bdf9ab67060955939ad43', single: isSingle, "image-position": this.imagePosition }, h("div", { key: 'e97f87d61c1121ce585834fde9a461686b0cdd67', class: classes }, h("div", { key: '4221e95658f23b54d49f3f3dbea14812bf42d93f', class: "stzh-textandimage__left" }, h("slot", { key: 'a2ba8d68b8e2c9431723612341f0271cfda34752', name: "left", onSlotchange: () => forceUpdate(this.element) })), h("div", { key: '7c13b4cb3d3bdf2bcbf5a2ee99bb6acc514c8fa6', class: "stzh-textandimage__right" }, h("div", { key: 'ad7ce05dec8e4ab31e2bc29440f38a6982f1e095', class: this.imageMoves ? "stzh-textandimage__wrapper" : "" }, h("slot", { key: 'ffd5041d4cd2706cf4e8cdde579cde8e1b5423a5', name: "right", onSlotchange: () => forceUpdate(this.element) }))))));
76
76
  }
77
77
  static get is() { return "stzh-textandimage"; }
78
78
  static get encapsulation() { return "shadow"; }
@@ -36,7 +36,7 @@ export class StzhTwocolumns {
36
36
  "stzh-twocolumns--has-left": leftSlotUsed,
37
37
  "stzh-twocolumns--has-right": rightSlotUsed,
38
38
  };
39
- return (h(Host, { key: '0ca48c60ae81b0f55d1da4aebda016298cdae9ce' }, h("div", { key: 'ef86c4a543c9f47388ae01ca4c52425f358221a8', class: classes }, h("div", { key: '3f6da1ef3010941a73aee6641a5c803e8be71e22', class: "stzh-twocolumns__left" }, h("slot", { key: '600b238e7bbf16d1eebf2ef7a107a4dbf724bafb', name: "left", onSlotchange: () => forceUpdate(this.element) })), h("div", { key: 'b9ba91f41cc40cd66b257f1d4ced8c679f1976db', class: "stzh-twocolumns__right" }, h("slot", { key: '6234fda5f8caf144343f77da9a80bbef2987e56d', name: "right", onSlotchange: () => forceUpdate(this.element) })))));
39
+ return (h(Host, { key: '14d43657c9511411dee757628d1f705fdee2c049' }, h("div", { key: 'b20c2864082e8bf26a94ceceb5eb8c69d467b840', class: classes }, h("div", { key: '13f863b4e309db7e411d09027bb1c31d0adbf5bb', class: "stzh-twocolumns__left" }, h("slot", { key: '1959a39f845dc0c66cbf84b0f93b1e993142b780', name: "left", onSlotchange: () => forceUpdate(this.element) })), h("div", { key: '743b23351efb995d040467716ac9c7e243845b75', class: "stzh-twocolumns__right" }, h("slot", { key: '9a7b7d49343990d0cebb6ff9d00012106adf69e6', name: "right", onSlotchange: () => forceUpdate(this.element) })))));
40
40
  }
41
41
  static get is() { return "stzh-twocolumns"; }
42
42
  static get encapsulation() { return "shadow"; }
@@ -85,7 +85,7 @@ export class StzhAccordion {
85
85
  "stzh-accordion": true,
86
86
  "stzh-accordion--is-nested": this.isNested,
87
87
  };
88
- return (h(Host, { key: 'd1e656053bd2ce09606abf287448418f20247ff4' }, h("div", { key: 'e462c93cea3167270202a371f4cbaacec1cb5504', class: classes }, this.heading && (h("div", { key: '011ae0ace395b16cc93ad629ebae31ce2730f287', class: "stzh-accordion__heading" }, h("stzh-heading", { key: '3068da3801492d588f2985403a312ae36fa6999c', level: "2" }, this.heading))), h("slot", { key: '893e246eb892198904add6b50ecaa76d54913c68' }))));
88
+ return (h(Host, { key: '2a3e9f9ca42b2a464ca4f084d0cfc6552b60ae88' }, h("div", { key: '2db041bb0e3ba0b43ebc95d9f3fc81b9c1869abe', class: classes }, this.heading && (h("div", { key: 'c5646ce363352f068e4b5e5c563325b4a6bb8691', class: "stzh-accordion__heading" }, h("stzh-heading", { key: '92d25f3f0b1af2eade203d6fc2224cc61221cc66', level: "2" }, this.heading))), h("slot", { key: '8956ff101f45b7d574d7aaf5bd8be75d522796e9' }))));
89
89
  }
90
90
  static get is() { return "stzh-accordion"; }
91
91
  static get encapsulation() { return "shadow"; }
@@ -255,7 +255,7 @@ export class StzhAccordionItem {
255
255
  "stzh-accordion-item--is-disabled": this.disabled,
256
256
  [`stzh-accordion-item--${this._variant}`]: !!this._variant,
257
257
  };
258
- return (h(Host, { key: 'fd31568fdda53f20fda0f8d842366f7fb644a5e9', tabindex: this.disabled ? null : this.rootTabindex, "is-variant": this._variant }, h("div", { key: '4efef5018853bab3a2001bf02aab143b9ef3bded', class: classes }, h(Heading, { key: 'e0f63a76e3845fdcef402bac5034ec6b88d54ca9', id: `${this.accordionItemId}-header`, class: "stzh-accordion-item__heading", onClick: this.handleHeaderClick }, h("button", { key: 'c44389d6d2f3e57c6d133f8e826be569709f3e3b', ref: el => (this.buttonElement = el), class: "stzh-accordion-item__button", "aria-controls": `${this.accordionItemId}-content`, "aria-expanded": `${this.open ? "true" : "false"}`, disabled: this.disabled, onFocus: this.onFocus, onBlur: this.onBlur, onKeyDown: this.onButtonKeydown, type: "button", "s-object-id": this.analyticsId || this.heading }, h("span", { key: 'f73b1304c07c260ff0cebb4aa0c56b4dc138198b', class: "stzh-accordion-item__icon-wrapper", ref: el => (this.iconWrapperElement = el) }, this.icon ? (h("stzh-icon", { class: "stzh-accordion-item__icon", name: this.icon })) : (h("slot", { name: "icon" }))), h("span", { key: '75e6022707813eab13a120589c005574bfa20075', class: "stzh-accordion-item__button-text" }, h("span", { key: '8ced8d6042bf0212ad6b4f1d8597b830a5815ea7', class: "stzh-accordion-item__subtitle" }, this.subtitle), h("span", { key: '148edb081ed5b78e4939a4d115bf1cec6d526ba3', class: "stzh-accordion-item__heading-text" }, this.heading), h("span", { key: 'fb38a6fba1bbf73828d3f3f4826a1bc86679a243', class: "stzh-accordion-item__description" }, this.description)), this._variant === "table" ? (h("stzh-icon", { name: "angle-down", class: "stzh-accordion-item__button-icon is-table" })) : (h("span", { class: "stzh-accordion-item__button-icon is-default" })), (this.badge || this.badgeEmpty) && (h("stzh-badge", { key: '79a890c2df7c3b17bd9dab004dd4c02a70403703', class: "stzh-accordion-item__badge", label: this.badge, type: this.badgeType })))), h("div", { key: '51dd73e9b89ad5825c2e61fce844811e196a7a38', id: `${this.accordionItemId}-content`, ref: el => (this.bodyElement = el), class: "stzh-accordion-item__content", "aria-labelledby": `${this.accordionItemId}-header`, role: "region", onKeyDown: this.onContentKeydown }, h("div", { key: 'b52d3a3c9926fbcc6cb1ac3e3442b84b3478b6a1', class: "stzh-accordion-item__content-inner" }, h("slot", { key: '6264ca1423c9544a28379113813e799b22b1fec8' }))))));
258
+ return (h(Host, { key: 'e7aa738315aac6083f5caa937ed7cbadcaf3baf3', tabindex: this.disabled ? null : this.rootTabindex, "is-variant": this._variant }, h("div", { key: '1357ff0ea21633639581511b537300e794871bde', class: classes }, h(Heading, { key: '00b7c4be0bd0575335487fe1d08c22dbb20ae69d', id: `${this.accordionItemId}-header`, class: "stzh-accordion-item__heading", onClick: this.handleHeaderClick }, h("button", { key: '5366b8dc125b5be6da0644be9fab0a6e659f3cb8', ref: el => (this.buttonElement = el), class: "stzh-accordion-item__button", "aria-controls": `${this.accordionItemId}-content`, "aria-expanded": `${this.open ? "true" : "false"}`, disabled: this.disabled, onFocus: this.onFocus, onBlur: this.onBlur, onKeyDown: this.onButtonKeydown, type: "button", "s-object-id": this.analyticsId || this.heading }, h("span", { key: '912cf2069c4a82836e7f4a3814ac647e9a75fa83', class: "stzh-accordion-item__icon-wrapper", ref: el => (this.iconWrapperElement = el) }, this.icon ? (h("stzh-icon", { class: "stzh-accordion-item__icon", name: this.icon })) : (h("slot", { name: "icon" }))), h("span", { key: '0b4db6c073abcbfb545fd252715fc9451187c7f6', class: "stzh-accordion-item__button-text" }, h("span", { key: '1641e35d7088abaa0698609af3cd73245cd8fff1', class: "stzh-accordion-item__subtitle" }, this.subtitle), h("span", { key: 'aea87324820ec27eee6ea1298ccc6f74ac89fdf6', class: "stzh-accordion-item__heading-text" }, this.heading), h("span", { key: '1568aa30148d74e1095c55dc1e48ac5a36c30e59', class: "stzh-accordion-item__description" }, this.description)), this._variant === "table" ? (h("stzh-icon", { name: "angle-down", class: "stzh-accordion-item__button-icon is-table" })) : (h("span", { class: "stzh-accordion-item__button-icon is-default" })), (this.badge || this.badgeEmpty) && (h("stzh-badge", { key: '0bf5a2b1bbc0c2605b15ea5c4f8ab167fff58c69', class: "stzh-accordion-item__badge", label: this.badge, type: this.badgeType })))), h("div", { key: '8ad56fb98577555482e4cd7cdb1cb8bcdeb1ab14', id: `${this.accordionItemId}-content`, ref: el => (this.bodyElement = el), class: "stzh-accordion-item__content", "aria-labelledby": `${this.accordionItemId}-header`, role: "region", onKeyDown: this.onContentKeydown }, h("div", { key: 'e133e51a0453b678c9e2376caa20e1eb83884f77', class: "stzh-accordion-item__content-inner" }, h("slot", { key: 'f83d265af42c63bbda2c363c85d28f6107852531' }))))));
259
259
  }
260
260
  static get is() { return "stzh-accordion-item"; }
261
261
  static get encapsulation() { return "shadow"; }
@@ -45,7 +45,7 @@ export class StzhActions {
45
45
  "stzh-actions--space-between": this.spaceBetween,
46
46
  [`stzh-actions--${this.variant}`]: !!this.variant,
47
47
  };
48
- return (h(Host, { key: '22473da2da88454c024c1d527cfc9e1625b36d73', "space-between": this.spaceBetween }, h("div", { key: 'ea15ce25c8e3a27ea817233cb72ba13b9e2391a8', class: classes }, h("div", { key: '015678ccac5df242be3db3add26601b94f82ff90', class: "stzh-actions__actions", role: "group" }, h("div", { key: '4ab57efc143707a34c79238c3682c5926180ea9c', class: "stzh-actions__tertiary-actions" }, h("slot", { key: '36d638a7f4eab26b92d091747ed549e6cb3d3f39', name: "tertiary" })), h("div", { key: '14a7891a92eb4e751d5bff7d916683fead274373', class: "stzh-actions__wrapper" }, h("div", { key: 'e712cff9bebadae9fb196252ca85d5e919d842f6', class: "stzh-actions__secondary-actions" }, h("slot", { key: '2ea5c7f07335d4d97da9eeb1d4572296f7b9d296', name: "secondary" })), h("div", { key: 'dc06278ccd50cd1417a1e33bb094595b1227915e', class: "stzh-actions__primary-actions" }, h("slot", { key: '30e2d4cb2702ebc02861c6f0c9aed4304d58b223', name: "primary" })))))));
48
+ return (h(Host, { key: '22922eb048401ce56c8df27c0a166a4bc50fae06', "space-between": this.spaceBetween }, h("div", { key: '3e40e9aff43195e052ab792ef07d7d0de5a154e5', class: classes }, h("div", { key: '05c2c5e2eb378a55ceca69883f67c4b4d1e53c8a', class: "stzh-actions__actions", role: "group" }, h("div", { key: 'd5259febb50994591be9ea873109ea83e1cce5c0', class: "stzh-actions__tertiary-actions" }, h("slot", { key: '1158357c6587fca8c7b788ac7c7185ce7388cd3f', name: "tertiary" })), h("div", { key: '0240870db471bd78a2bb1de93af6b6b31a2760c8', class: "stzh-actions__wrapper" }, h("div", { key: '2d180170bbbe4e90adab5685bc1923d19d22d545', class: "stzh-actions__secondary-actions" }, h("slot", { key: '8ad527d942ef005a4d2e9cad6b48d7cb5836b9d8', name: "secondary" })), h("div", { key: '3fd19e245b99eed1f1508e38ea7e0d436a124d4b', class: "stzh-actions__primary-actions" }, h("slot", { key: '51210838fbe95cd3e651cedada877cf478e53b5a', name: "primary" })))))));
49
49
  }
50
50
  static get is() { return "stzh-actions"; }
51
51
  static get encapsulation() { return "shadow"; }
@@ -123,18 +123,18 @@ export class StzhActionset {
123
123
  "stzh-actionset--has-collapsed-items": this.actionsCollapsed.length > 0,
124
124
  [`stzh-actionset--${this.variant}`]: !!this.variant,
125
125
  };
126
- const Action = (action, disableTabbing) => (h("stzh-button", { key: '167eb3d942e64c1f42ee589b4d95794d9363c7ca', a11yTabindex: disableTabbing ? "-1" : null, class: {
126
+ const Action = (action, disableTabbing) => (h("stzh-button", { key: '59b96a8452a469698a1daad9337f53244af97e6e', a11yTabindex: disableTabbing ? "-1" : null, class: {
127
127
  "stzh-actionset__action": true,
128
128
  "is-button": true,
129
129
  }, label: action.label, icon: action.icon, iconPosition: action.iconPosition, iconOnly: action.iconOnly, badge: action.badge, variant: action.variant ? action.variant : this.variant === "stack" ? "secondary" : "tertiary", size: action.size ? action.size : this.variant === "stack" ? "small" : "tiny", badgePosition: "icon", onClick: e => {
130
130
  this.actionClick(action, e);
131
131
  } }));
132
- return (h(Host, { key: '168f001d3edc923bf5ce276191a6e8853dcd4873', "has-collapsed-items": this.actionsCollapsed.length > 0 }, h("div", { key: 'dc1b4047ec0c46dda276ae20e1c0cff4f5d6992e', class: classes }, h("div", { key: '5ff65405a8f660134a30d2cb21cfd1ef3b6b4694', class: "stzh-actionset__actions", role: "group" }, h("div", { key: 'db5c98c9b0734e3ea3fd3a9d0323fa5384065533', ref: el => (this.actionsElement = el), class: "stzh-actionset__actions-wrapper" }, this._actions.map(action => (this.dynamicActions || (!this.dynamicActions && this.actionsCollapsed.indexOf(action) === -1)) &&
133
- (action.tooltipContent ? (h("stzh-tooltip", { strategy: "fixed", content: action.tooltipContent }, Action(action, this.dynamicActions && this.actionsCollapsed.indexOf(action) > -1))) : (Action(action, this.dynamicActions && this.actionsCollapsed.indexOf(action) > -1))))), h("div", { key: 'fa48c94f70862084025fc14397b754590be2aff1', class: "stzh-actionset__action-popover-wrapper" }, h("stzh-popover", { key: '01334b8258372de077c7f182d227b5b23d5ff9ae', label: this.variant === "stack"
132
+ return (h(Host, { key: '6f7f3986a9cc02277f48d5bdfea7832ac80a9ed0', "has-collapsed-items": this.actionsCollapsed.length > 0 }, h("div", { key: '8ef830c6cf065f15ae4e6c4bbe513e04f8d00353', class: classes }, h("div", { key: 'bd0bf99d81e455234b7ac8708188b621339039fc', class: "stzh-actionset__actions", role: "group" }, h("div", { key: 'c9d8d375fdf83d11d7a0adc4bb4efbdfb5921f8b', ref: el => (this.actionsElement = el), class: "stzh-actionset__actions-wrapper" }, this._actions.map(action => (this.dynamicActions || (!this.dynamicActions && this.actionsCollapsed.indexOf(action) === -1)) &&
133
+ (action.tooltipContent ? (h("stzh-tooltip", { strategy: "fixed", content: action.tooltipContent }, Action(action, this.dynamicActions && this.actionsCollapsed.indexOf(action) > -1))) : (Action(action, this.dynamicActions && this.actionsCollapsed.indexOf(action) > -1))))), h("div", { key: '8cfe0e5af8751c20c45e941b54443429d4bc9a1d', class: "stzh-actionset__action-popover-wrapper" }, h("stzh-popover", { key: '817ec0f15cc5592b881b1ac46a41b54c8cca58e3', label: this.variant === "stack"
134
134
  ? this.localization.furtherActions
135
135
  : !this.isMedium
136
136
  ? this.localization.actions
137
- : "", strategy: "fixed", placement: this.popoverPlacement, class: "stzh-actionset__action-popover" }, h("stzh-button", { key: '0781174c55de8c9ca0eb2041b81f7631cb17bc8f', fullwidth: true, disabled: this.actionsCollapsed.length === 0, class: "stzh-actionset__action is-further", variant: this.popoverButtonVariant !== ""
137
+ : "", strategy: "fixed", placement: this.popoverPlacement, class: "stzh-actionset__action-popover" }, h("stzh-button", { key: '79041ef72589f6e563e31e9197db076046a5c3d5', fullwidth: true, disabled: this.actionsCollapsed.length === 0, class: "stzh-actionset__action is-further", variant: this.popoverButtonVariant !== ""
138
138
  ? this.popoverButtonVariant
139
139
  : this.variant === "stack"
140
140
  ? "secondary"
@@ -142,7 +142,7 @@ export class StzhActionset {
142
142
  ? this.localization.furtherActions
143
143
  : !this.isMedium
144
144
  ? this.localization.actions
145
- : "", a11yLabel: this.variant === "overflow" && this.localization.actions }), h("stzh-menu", { key: '67f4e4174879ebe547d6c48c44dbc0600b80e9d5', slot: "content" }, this.actionsCollapsed.map(action => (h("stzh-menu-item", {
145
+ : "", a11yLabel: this.variant === "overflow" && this.localization.actions }), h("stzh-menu", { key: '82928d694b2726284a8a6c9c652cb6f63c43994c', slot: "content" }, this.actionsCollapsed.map(action => (h("stzh-menu-item", {
146
146
  // class="hide-medium show-when-collapsed"
147
147
  icon: action.icon, badge: action.badge, badgeEmpty: action.badgeEmpty, badgeType: action.badgeType, onClick: e => {
148
148
  this.actionClick(action, e);
@@ -147,7 +147,7 @@ export class StzhAmount {
147
147
  "stzh-amount--is-required": !!this.required,
148
148
  "stzh-amount--is-disabled": !!this.disabled,
149
149
  };
150
- return (h(Host, { key: '284b33e7363b3e1aa1f4daf8a0cd9c5f48c3e523', tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, h("div", { key: '21d00d3101119223a42450401f80da9d8803d528', class: classes, id: this.amountId }, this._showDropdown ? this.renderDropdown() : this.renderInputStepper())));
150
+ return (h(Host, { key: 'd6d3270ee509b2f7416050f202f1ce6f74fe86f5', tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, h("div", { key: 'a475f68917daa1b8ab54f8fd664d3e96598e2b6a', class: classes, id: this.amountId }, this._showDropdown ? this.renderDropdown() : this.renderInputStepper())));
151
151
  }
152
152
  static get is() { return "stzh-amount"; }
153
153
  static get encapsulation() { return "scoped"; }
@@ -47,7 +47,7 @@ export class StzhAnchornav {
47
47
  const classes = {
48
48
  "stzh-anchornav": true,
49
49
  };
50
- return (h(Host, { key: '84977e9b482c0317f48ed27de6819284224b27bf' }, h("nav", { key: '27c240df857eecccc7afa13d9ba1adbd2d05b205', class: classes, role: "navigation", "aria-label": this.localization.title }, h("div", { key: '3883fde899292a8b8d6cd37b5715bfc2dafb4f83', class: "stzh-anchornav__list", role: "list" }, this._items.map(item => (h("a", { class: "stzh-anchornav__item", role: "listitem", href: item.href, onClick: e => this.handleClick(item, e) }, h("stzh-clamp", { lines: 2, class: "stzh-anchornav__label" }, h("div", { innerHTML: item.label })), h("stzh-icon", { class: "stzh-anchornav__icon", name: item.icon || "arrow-down" }))))))));
50
+ return (h(Host, { key: '17cf1a24ad25b606670714baf19ed6f6e736ef65' }, h("nav", { key: '64c1637212f5e45c8759bb9701d89da86fc99b8a', class: classes, role: "navigation", "aria-label": this.localization.title }, h("div", { key: '0ae230ffe4cde33962aaad3ff75b81e75b4bb1ac', class: "stzh-anchornav__list", role: "list" }, this._items.map(item => (h("a", { class: "stzh-anchornav__item", role: "listitem", href: item.href, onClick: e => this.handleClick(item, e) }, h("stzh-clamp", { lines: 2, class: "stzh-anchornav__label" }, h("div", { innerHTML: item.label })), h("stzh-icon", { class: "stzh-anchornav__icon", name: item.icon || "arrow-down" }))))))));
51
51
  }
52
52
  static get is() { return "stzh-anchornav"; }
53
53
  static get encapsulation() { return "scoped"; }
@@ -20,7 +20,7 @@ export class StzhAppNav {
20
20
  const classes = {
21
21
  "stzh-app-nav": true,
22
22
  };
23
- return (h(Host, { key: '4850ffbc8d95a4f5fbe0e2d7583817778cbf1f43' }, h("nav", { key: 'bc26636b4112f219f27a7cb9000567b2983020f8', role: "navigation", class: classes, "aria-label": this.localization.title, id: this.appNavId || null, tabindex: "-1" }, h("div", { key: '52068283ae69b50ff3ace60d08fad2744d50bc8e', class: "stzh-app-nav__links", role: "list" }, this.items.map(item => (h("stzh-link", { class: "stzh-app-nav__link", active: item.active, role: "listitem", "a11y-current": item.a11yCurrent, href: item.href, badge: item.badge, badgeType: item.badgeType, icon: item.icon, "link-id": item.id, onClick: (e) => {
23
+ return (h(Host, { key: '1a0f90158858df9fbcf332aa5ec1b6ba954ed9d9' }, h("nav", { key: '92d777860725a1543233a6ed3afa34d9d85d433b', role: "navigation", class: classes, "aria-label": this.localization.title, id: this.appNavId || null, tabindex: "-1" }, h("div", { key: '09030721ee7be853c999586b4fea36525adb5b80', class: "stzh-app-nav__links", role: "list" }, this.items.map(item => (h("stzh-link", { class: "stzh-app-nav__link", active: item.active, role: "listitem", "a11y-current": item.a11yCurrent, href: item.href, badge: item.badge, badgeType: item.badgeType, icon: item.icon, "link-id": item.id, onClick: (e) => {
24
24
  this.handleAppNavItemClick(e, item);
25
25
  } }, item.text)))))));
26
26
  }
@@ -13,8 +13,6 @@ export class StzhAppointments {
13
13
  this.sortBy = "start";
14
14
  /** Initial selectable appointments */
15
15
  this.appointments = [];
16
- /* Selected appointment by value */
17
- this.value = "";
18
16
  /* Name of radiogroup form element */
19
17
  this.name = "appointment";
20
18
  /** Nr of items shown */
@@ -88,25 +86,29 @@ export class StzhAppointments {
88
86
  currentDateWatcher(newValue) {
89
87
  if (!newValue) {
90
88
  this._currentDate = this.dateByValue || this.earliestDate;
91
- if (!this.dateByValue) {
89
+ if (!this.dateByValue && this.shouldAutoSelectAppointment()) {
92
90
  this.setValueToFirstAppointmentOfCurrentDate();
93
91
  }
94
92
  }
95
93
  else if (typeof newValue === "string") {
96
94
  this._currentDate = parseISODate(newValue);
97
- this.setValueToFirstAppointmentOfCurrentDate();
95
+ if (this.shouldAutoSelectAppointment()) {
96
+ this.setValueToFirstAppointmentOfCurrentDate();
97
+ }
98
98
  }
99
99
  else {
100
100
  this._currentDate = newValue;
101
101
  // Check if value already corresponds to a valid appointment on the new date
102
102
  const appointmentsForNewDate = this.getCurrentDateAppointments().map(appt => appt.value);
103
- if (!appointmentsForNewDate.includes(this.value)) {
103
+ if (!appointmentsForNewDate.includes(this.value) && this.shouldAutoSelectAppointment()) {
104
104
  this.setValueToFirstAppointmentOfCurrentDate();
105
105
  }
106
106
  }
107
107
  }
108
108
  sortByWatcher() {
109
- this.setValueToFirstAppointmentOfCurrentDate();
109
+ if (this.shouldAutoSelectAppointment()) {
110
+ this.setValueToFirstAppointmentOfCurrentDate();
111
+ }
110
112
  }
111
113
  valueWatcher() {
112
114
  this.updateDateByValue();
@@ -132,6 +134,10 @@ export class StzhAppointments {
132
134
  this.showAppointmentsTitle = this._appointments.length > 1;
133
135
  this.currentDateWatcher(this.currentDate);
134
136
  }
137
+ /** Whether the first appointment is automatically set as value. */
138
+ shouldAutoSelectAppointment() {
139
+ return typeof this.value === "undefined" && !this.element.hasAttribute("value");
140
+ }
135
141
  normalizeAppointments(appointments) {
136
142
  const parsedAppointments = typeof appointments === "string" ? JSON.parse(appointments) : appointments;
137
143
  return parsedAppointments.map(appointment => (Object.assign(Object.assign({}, appointment), { start: this.convertToDate(appointment.start), end: this.convertToDate(appointment.end) })));
@@ -143,9 +149,13 @@ export class StzhAppointments {
143
149
  return date;
144
150
  }
145
151
  updateDateByValue() {
146
- const appointment = this.value && this._appointments.find(appointment => appointment.value === this.value);
152
+ if (!this.value) {
153
+ this.dateByValue = null;
154
+ return;
155
+ }
156
+ const appointment = this._appointments.find(appointment => appointment.value === this.value);
147
157
  if (!appointment) {
148
- console.warn(`No matching appointment found for value: ${this.value}.`);
158
+ this.dateByValue = null;
149
159
  }
150
160
  else {
151
161
  this.dateByValue = appointment.start;
@@ -257,7 +267,7 @@ export class StzhAppointments {
257
267
  "stzh-appointments--has-appointments-title": this.showAppointmentsTitle,
258
268
  "stzh-appointments--has-sort": this.showSort,
259
269
  };
260
- return (h(Host, { key: '27d5f164eeb723e82bc110b661e4d8238a5f2c74', "has-heading": headingUsed }, h("div", { key: 'f079ae642ae05e3e12f45a4e28951ea25d7277f9', class: classes }, h("div", { key: '3f9726ab504fc246eeade1e29276d1d9920d8f98', class: "stzh-appointments__heading" }, h("slot", { key: '7c21b77d626a80e502c0f4f4b6e828e19f11fa7d', name: "heading" })), h("div", { key: 'd23e215241074a7212b57871ef40a1f69e788a10', class: "stzh-appointments__wrapper" }, this.showCalendar && (h("div", { key: 'd1291cd8bd19cdb7813df63ed0268758167e3856', class: "stzh-appointments__calendar-wrapper" }, h("div", { key: '57b73e328b1eade7734b68b76bff759999d3019e', class: "stzh-appointments__calendar-title-wrapper" }, h("div", { key: '4f171f5715cdc8aa237be8a5336667676924e350', class: "stzh-appointments__calendar-title" }, h("stzh-icon", { key: 'a6d42b939875fcf4d1feff3fc49ad0148da9fcf2', class: "stzh-appointments__calendar-icon", name: "calendar" }), h("span", { key: '6b20b9e01d59dd12828ce15569c65d76b65899e8', class: "stzh-appointments__calendar-title-text" }, this.calendarTitle || this.localization.calendarTitle))), h("div", { key: '716bdc8ed45c0333150d16281cb1490e6e93b200', class: "stzh-appointments__calendar-content" }, h("stzh-datepicker", { key: '776b37046b04a21433a2bf2d8bd9aa8c0e5f7aff', "hide-optional": true, ref: el => (this.datepickerElement = el), onStzhChange: this.onDatepickerChange, label: this.localization.datepickerLabel, calendarIsDateDisabled: this.isDateDisabled, calendarMin: printISODate(this.earliestDate), calendarMax: printISODate(this.latestDate) }, h("stzh-link", { key: '915ecd5845c35cdb09a5cd047701e33962782a2c', slot: "action", size: "inherit", disabled: !this.nextDate, onClick: this.onNextActiveDateClick }, this.localization.nextDayWithAppointments))), h("div", { key: 'b9980c650766d8e2204dab7d2422e45838c975b3', class: "stzh-appointments__calendar-content-medium" }, h("stzh-datepicker", { key: '8ac456d04db36cb2e0dab32229fa9040084832e3', "hide-optional": true, ref: el => (this.datepickerElementMedium = el), onStzhChange: this.onDatepickerChange, inline: true, calendarIsDateDisabled: this.isDateDisabled, calendarMin: printISODate(this.earliestDate), calendarMax: printISODate(this.latestDate) }, this.nextDate && (h("stzh-link", { key: 'fe60acba265359b4008c13f69810f423cc03f298', slot: "action", size: "inherit", onClick: this.onNextActiveDateClick }, this.localization.nextDayWithAppointments)))))), h("div", { key: '6567c1444b3d5a025c09490c4738e2527f340338', class: "stzh-appointments__appointments-wrapper" }, this.showAppointmentsTitle && (h("div", { key: 'eab74a86246c292dadac893280a9ac84c05e23aa', class: "stzh-appointments__appointments-title-wrapper" }, h("div", { key: '711f5318e519003369579f417cda372925c8f7b9', class: "stzh-appointments__appointments-title" }, h("stzh-icon", { key: '41cd6d3775b6d05cabd290d3a04fafc077772a4c', class: "stzh-appointments__appointments-icon", name: "clock" }), h("span", { key: 'dcf4938c15b7b8b4e9b0c94cfb9f0d307ec7d712', class: "stzh-appointments__appointments-title-text" }, this.appointmentsTitle || this.localization.appointmentsTitle)), this.showSort && (h("div", { key: '3a0831cfa8ce811c191b2d9c1ddddefa97b4e6fa', class: "stzh-appointments__sort" }, h("stzh-dropdown", { key: 'e4b0a72f5dc89a71f251e71c6845ac9af5f219cb', "hide-optional": true, inline: true, "no-search": true, class: "stzh-appointments__sort-dropdown", variant: "plain", size: "small", sizeMedium: "tiny", items: [this._sortBy], options: this.sortOptions, onStzhChange: this.onDropdownChange }))))), h("div", { key: '778597cb82ae9a16f9c0b78eb91ed18a7b9e7506', class: "stzh-appointments__appointments-content" }, h("stzh-radiogroup", { key: '89b75899e2fa70f001dacfcda2a472b453852e1b', class: "stzh-appointments__appointments-radiogroup", ref: el => (this.inputElement = el), legend: this.localization.inputLegend, "hide-legend": true, name: this.name, value: this.value, preventUpdateProperties: ["disabled"] }, this.appointmentsShown.map(appointment => (h("stzh-radio", { onStzhChange: this.onRadioChange, value: appointment.value, disabled: typeof appointment.disabled !== "undefined" ? appointment.disabled : false }, h("stzh-text", { font: "heavy", size: "centi" }, !this.showCalendar && (h("span", null, this.dateAdapter.format(appointment.start, "dateLong"), ",\u00A0")), this.dateAdapter.formatSpan(appointment.start, appointment.end, "time")), h("stzh-text", { size: "milli" }, appointment.caption))))), this.showMoreLink && (h("stzh-link", { key: 'dfe437300c691a7b7600ecf1567520e673905330', class: "stzh-appointments__more-link", size: "inherit", onClick: this.onMoreClick }, tc(this.localization.moreTextItems, this.moreItemsLeft > this.stepItems ? this.stepItems : this.moreItemsLeft)))))))));
270
+ return (h(Host, { key: 'bd72808f3f9e2a481506a20955cf0f14ef290b26', "has-heading": headingUsed }, h("div", { key: '5e52ce87a86c5298179ce1d357945627cfb4117e', class: classes }, h("div", { key: '9f16b39a285ac8175231e672b4b25e1894c2d450', class: "stzh-appointments__heading" }, h("slot", { key: '74980485ad5c5a82adfa426139a55709c212b20f', name: "heading" })), h("div", { key: '023933fb7a9bd0c125f54969dbc9854b6fa0956a', class: "stzh-appointments__wrapper" }, this.showCalendar && (h("div", { key: '40de76df00db28eb2efe825ba30d1e10009ddf64', class: "stzh-appointments__calendar-wrapper" }, h("div", { key: 'f60a671779c2f1eeb8fcb1d96210ab6d8fbeee8b', class: "stzh-appointments__calendar-title-wrapper" }, h("div", { key: '04ed7b773856122fc67894f627d97f233e94c21e', class: "stzh-appointments__calendar-title" }, h("stzh-icon", { key: 'bea9d79127f7f7f5ab68a8b6ddfb7cb5fd47bbf0', class: "stzh-appointments__calendar-icon", name: "calendar" }), h("span", { key: '84e0689cfbcb406d87f266788e21f95a4287217c', class: "stzh-appointments__calendar-title-text" }, this.calendarTitle || this.localization.calendarTitle))), h("div", { key: 'a667e7ebe7384b64f81c7c5d482c610c51790a89', class: "stzh-appointments__calendar-content" }, h("stzh-datepicker", { key: 'f2355db64cedb1e891b5cebfeb4ea4221a5ed54e', "hide-optional": true, ref: el => (this.datepickerElement = el), onStzhChange: this.onDatepickerChange, label: this.localization.datepickerLabel, calendarIsDateDisabled: this.isDateDisabled, calendarMin: printISODate(this.earliestDate), calendarMax: printISODate(this.latestDate) }, h("stzh-link", { key: '9f93256225e6da904e26f701aaaac5d6d130a641', slot: "action", size: "inherit", disabled: !this.nextDate, onClick: this.onNextActiveDateClick }, this.localization.nextDayWithAppointments))), h("div", { key: '74dd57a6d4abe6ff87bdbd61b76f0cff7300d3c3', class: "stzh-appointments__calendar-content-medium" }, h("stzh-datepicker", { key: '5abe89471669f73c75fd3e0c1f5b3bbdb6e22863', "hide-optional": true, ref: el => (this.datepickerElementMedium = el), onStzhChange: this.onDatepickerChange, inline: true, calendarIsDateDisabled: this.isDateDisabled, calendarMin: printISODate(this.earliestDate), calendarMax: printISODate(this.latestDate) }, this.nextDate && (h("stzh-link", { key: '40c43d054eb869d1f2abaf81c7700de28749686b', slot: "action", size: "inherit", onClick: this.onNextActiveDateClick }, this.localization.nextDayWithAppointments)))))), h("div", { key: '880034b13b9999924b933154d3da48aa193f751c', class: "stzh-appointments__appointments-wrapper" }, this.showAppointmentsTitle && (h("div", { key: '15a4a2359601c574936d3ecb09fd1e4e6fb8d7e8', class: "stzh-appointments__appointments-title-wrapper" }, h("div", { key: '81a931a08febaf81f7029d0606b0e678e72ff1ce', class: "stzh-appointments__appointments-title" }, h("stzh-icon", { key: 'af51d06fa89b4ec4cdbb609c98d26043c169911b', class: "stzh-appointments__appointments-icon", name: "clock" }), h("span", { key: '398c357babb4ff64762197f0a51d41e3ce96c382', class: "stzh-appointments__appointments-title-text" }, this.appointmentsTitle || this.localization.appointmentsTitle)), this.showSort && (h("div", { key: '2f421bed549f54096227048781d0c2375603fcfa', class: "stzh-appointments__sort" }, h("stzh-dropdown", { key: '4378cefd8d7718e23c836df603a7cff240084833', "hide-optional": true, inline: true, "no-search": true, class: "stzh-appointments__sort-dropdown", variant: "plain", size: "small", sizeMedium: "tiny", items: [this._sortBy], options: this.sortOptions, onStzhChange: this.onDropdownChange }))))), h("div", { key: '565e3feeeb680f42036580383ddc06684282f632', class: "stzh-appointments__appointments-content" }, h("stzh-radiogroup", { key: '635eb3263ff6172b50fcb21d5642f517eff72247', class: "stzh-appointments__appointments-radiogroup", ref: el => (this.inputElement = el), legend: this.localization.inputLegend, "hide-legend": true, name: this.name, value: this.value, preventUpdateProperties: ["disabled"] }, this.appointmentsShown.map(appointment => (h("stzh-radio", { onStzhChange: this.onRadioChange, value: appointment.value, disabled: typeof appointment.disabled !== "undefined" ? appointment.disabled : false }, h("stzh-text", { font: "heavy", size: "centi" }, !this.showCalendar && (h("span", null, this.dateAdapter.format(appointment.start, "dateLong"), ",\u00A0")), this.dateAdapter.formatSpan(appointment.start, appointment.end, "time")), h("stzh-text", { size: "milli" }, appointment.caption))))), this.showMoreLink && (h("stzh-link", { key: '04247e2293e4758fa7f8bd22e9c8c3deb7389d9e', class: "stzh-appointments__more-link", size: "inherit", onClick: this.onMoreClick }, tc(this.localization.moreTextItems, this.moreItemsLeft > this.stepItems ? this.stepItems : this.moreItemsLeft)))))))));
261
271
  }
262
272
  static get is() { return "stzh-appointments"; }
263
273
  static get encapsulation() { return "scoped"; }
@@ -390,21 +400,20 @@ export class StzhAppointments {
390
400
  "type": "string",
391
401
  "mutable": true,
392
402
  "complexType": {
393
- "original": "string",
403
+ "original": "string | null",
394
404
  "resolved": "string",
395
405
  "references": {}
396
406
  },
397
407
  "required": false,
398
- "optional": false,
408
+ "optional": true,
399
409
  "docs": {
400
410
  "tags": [],
401
- "text": ""
411
+ "text": "Selected appointment by value.\nIf omitted, the first available appointment is selected automatically.\nIf null, no appointment is selected automatically."
402
412
  },
403
413
  "getter": false,
404
414
  "setter": false,
405
415
  "reflect": false,
406
- "attribute": "value",
407
- "defaultValue": "\"\""
416
+ "attribute": "value"
408
417
  },
409
418
  "name": {
410
419
  "type": "string",
@@ -1 +1 @@
1
- {"version":3,"file":"stzh-appointments.js","sourceRoot":"","sources":["../../../../src/components/stzh-appointments/stzh-appointments.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,EAAgB,MAAM,eAAe,CAAC;AAU9F,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAIpE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAQ5C;;GAEG;AAMH,MAAM,OAAO,gBAAgB;IAL7B;QASE,wCAAwC;QAChC,gBAAW,GAAG,KAAK,CAAC;QAE5B,cAAc;QACW,WAAM,GAAsB,OAAO,CAAC;QAG7D,sCAAsC;QAC9B,iBAAY,GAA+B,EAAE,CAAC;QAQtD,mCAAmC;QACV,UAAK,GAAW,EAAE,CAAC;QAE5C,qCAAqC;QACZ,SAAI,GAAW,aAAa,CAAC;QAEtD,wBAAwB;QACC,cAAS,GAAW,CAAC,CAAC;QAG/C,kDAAkD;QAC1C,cAAS,GAAW,CAAC,CAAC;QAE9B,uCAAuC;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,IAAI,CACpB,kEAAW,KAAK,EAAC,8BAA8B,EAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAE,IAAI,CAAC,WAAW,IACrF,EAAE,CACD,IAAI,CAAC,YAAY,CAAC,aAAa,EAC/B,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAC1E,CACS,CACb,CACG,CACF,CACF,CAKF,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, Element, Prop, h, Watch, Event, EventEmitter } from \"@stencil/core\";\n\nimport {\n StzhAppointmentsChangeEvent,\n StzhRadioChangeEvent,\n StzhDatepickerChangeEvent,\n StzhDropdownChangeEvent,\n StzhAppointment,\n} from \"../../index\";\n\nimport { tc } from \"../../index\";\n\nimport { printISODate, parseISODate } from \"../../utils/date-utils\";\nimport { StzhLocaleAdapter } from \"../../index\";\n\nimport { StzhAppointmentsLocalizedText } from \"./stzh-appointments.localization\";\nimport { hasSlot } from \"../../utils/utils\";\n\n/** Helper type with start & end as Date */\ntype StzhNormalizedAppointment = Omit<StzhAppointment, \"start\" | \"end\"> & {\n start: Date;\n end: Date;\n};\n\n/**\n * @slot - Slot for any content\n */\n@Component({\n tag: \"stzh-appointments\",\n styleUrl: \"stzh-appointments.scss\",\n scoped: true,\n})\nexport class StzhAppointments {\n /** Translation strings */\n @Prop() localization: StzhAppointmentsLocalizedText;\n\n /** Hides the sort dropdown when true */\n @Prop() disableSort = false;\n\n /** Sort by */\n @Prop({ mutable: true }) sortBy: \"start\" | \"place\" = \"start\";\n private _sortBy: \"start\" | \"place\";\n\n /** Initial selectable appointments */\n @Prop() appointments: StzhAppointment[] | string = [];\n private _appointments: StzhNormalizedAppointment[];\n private appointmentsShown: StzhNormalizedAppointment[];\n\n /** Current selected date (if undefined, earliest appointment date in list is taken or current selected one by value) */\n @Prop({ mutable: true }) currentDate: Date | string;\n private _currentDate: Date;\n\n /* Selected appointment by value */\n @Prop({ mutable: true }) value: string = \"\";\n\n /* Name of radiogroup form element */\n @Prop({ reflect: true }) name: string = \"appointment\";\n\n /** Nr of items shown */\n @Prop({ mutable: true }) showItems: number = 5;\n private _initialShowItems: number;\n\n /** Nr of items shown when more link is clicked */\n @Prop() stepItems: number = 5;\n\n /** Overwrite default calendar title */\n @Prop() calendarTitle = \"\";\n\n /** Overwrite default appointments title */\n @Prop() appointmentsTitle = \"\";\n\n /**\n * Date adapter, for custom parsing/formatting.\n * Must be an 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 @Element() element: HTMLStzhAppointmentsElement;\n\n /** Appointments change event */\n @Event() stzhChange: EventEmitter<StzhAppointmentsChangeEvent>;\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(\"currentDate\")\n currentDateWatcher(newValue: Date | string) {\n if (!newValue) {\n this._currentDate = this.dateByValue || this.earliestDate;\n\n if (!this.dateByValue) {\n this.setValueToFirstAppointmentOfCurrentDate();\n }\n } else if (typeof newValue === \"string\") {\n this._currentDate = parseISODate(newValue);\n this.setValueToFirstAppointmentOfCurrentDate();\n } else {\n this._currentDate = newValue;\n // Check if value already corresponds to a valid appointment on the new date\n const appointmentsForNewDate = this.getCurrentDateAppointments().map(appt => appt.value);\n if (!appointmentsForNewDate.includes(this.value)) {\n this.setValueToFirstAppointmentOfCurrentDate();\n }\n }\n }\n\n @Watch(\"sortBy\")\n sortByWatcher() {\n this.setValueToFirstAppointmentOfCurrentDate();\n }\n\n @Watch(\"value\")\n valueWatcher() {\n this.updateDateByValue();\n // update current date if user has not choosen one\n this.currentDateWatcher(this.currentDate);\n }\n\n @Watch(\"appointments\")\n appointmentsWatcher(newValue: StzhAppointment[] | string) {\n this._appointments = this.normalizeAppointments(newValue);\n\n if (this._appointments.length > 0) {\n this._appointments.sort((a, b) => (a.start > b.start ? 1 : -1));\n this.earliestDate = this._appointments[0].start;\n this.latestDate = this._appointments[this._appointments.length - 1].start;\n this.updateDateByValue();\n }\n\n if (this._appointments.length > 1) {\n const firstDate = this._appointments[0].start;\n this.allAppointsmentOnSameDay = this._appointments\n .map(appointment => appointment.start)\n .every(\n date =>\n `${date.getFullYear()}-${date.getMonth()}-${date.getDate()}` ===\n `${firstDate.getFullYear()}-${firstDate.getMonth()}-${firstDate.getDate()}`,\n );\n }\n\n this.showCalendar = !this.allAppointsmentOnSameDay;\n this.showAppointmentsTitle = this._appointments.length > 1;\n this.currentDateWatcher(this.currentDate);\n }\n\n private dateByValue: Date;\n private earliestDate: Date;\n private latestDate: Date;\n private nextDate: Date;\n\n private showMoreLink: boolean = false;\n private moreItemsLeft: number = 0;\n private showCalendar: boolean = false;\n private showSort: boolean = false;\n private showSortStart: boolean = false;\n private showSortPlace: boolean = false;\n private showAppointmentsTitle: boolean = false;\n private allAppointsmentOnSameDay: boolean = true;\n private sortOptions = [];\n\n private inputElement: HTMLStzhRadiogroupElement;\n private datepickerElement: HTMLStzhDatepickerElement;\n private datepickerElementMedium: HTMLStzhDatepickerElement;\n\n private normalizeAppointments(appointments: StzhAppointment[] | string): StzhNormalizedAppointment[] {\n const parsedAppointments = typeof appointments === \"string\" ? JSON.parse(appointments) : appointments;\n\n return parsedAppointments.map(appointment => ({\n ...appointment,\n start: this.convertToDate(appointment.start),\n end: this.convertToDate(appointment.end),\n }));\n }\n\n private convertToDate(date: Date | string): Date {\n if (typeof date === \"string\") {\n return new Date(date);\n }\n return date;\n }\n\n private updateDateByValue() {\n const appointment = this.value && this._appointments.find(appointment => appointment.value === this.value);\n\n if (!appointment) {\n console.warn(`No matching appointment found for value: ${this.value}.`);\n } else {\n this.dateByValue = appointment.start;\n }\n }\n\n private getCurrentDateAppointments() {\n let indexOfLastCurrentDayDate = 0;\n\n // filter to current date appointments that can be shown\n const appointmentsCurrentDate = this._appointments.filter((appointment, index) => {\n const dateIsInCurrentDay =\n appointment.start.getFullYear() === this._currentDate.getFullYear() &&\n appointment.start.getMonth() === this._currentDate.getMonth() &&\n appointment.start.getDate() === this._currentDate.getDate();\n\n if (dateIsInCurrentDay) {\n indexOfLastCurrentDayDate = index;\n }\n\n return dateIsInCurrentDay;\n });\n\n // find next day with dates or set to null\n if (this._appointments[indexOfLastCurrentDayDate + 1]) {\n this.nextDate = this._appointments[indexOfLastCurrentDayDate + 1].start;\n } else {\n this.nextDate = null;\n }\n\n // sort\n appointmentsCurrentDate.sort((a, b) => (a[this.sortBy] > b[this.sortBy] ? 1 : -1));\n return appointmentsCurrentDate;\n }\n\n private setValueToFirstAppointmentOfCurrentDate() {\n // choose the first available appointment from current date\n const appointments = this.getCurrentDateAppointments().filter(appointment => !appointment.disabled);\n\n if (appointments.length > 0) {\n this.value = appointments[0].value;\n this.stzhChange.emit({\n component: \"stzh-appointments\",\n value: this.value,\n });\n }\n }\n\n private isDateDisabled = (date: Date) => {\n const dateHasAppointment: boolean = !!this._appointments.find(appointment => {\n return (\n appointment.start.getFullYear() === date.getFullYear() &&\n appointment.start.getMonth() === date.getMonth() &&\n appointment.start.getDate() === date.getDate()\n );\n });\n\n return !dateHasAppointment;\n };\n\n private onNextActiveDateClick = async () => {\n if (this.nextDate) {\n this.currentDate = this.nextDate;\n\n const popover = await this.datepickerElement.getPopover();\n\n if (popover) {\n popover.hide();\n }\n }\n };\n\n private onMoreClick = () => {\n this.showItems = this.stepItems + this.showItems;\n\n // return focus to radiogroup\n const radio = this.inputElement.querySelector(\"stzh-radio\");\n radio.focus();\n };\n\n private onDropdownChange = async (event: CustomEvent<StzhDropdownChangeEvent>) => {\n const target: HTMLStzhDropdownElement = event.target as HTMLStzhDropdownElement;\n\n const sortBy = (await target.getValue()) as \"start\" | \"place\" | \"\";\n\n if (sortBy) {\n this.sortBy = sortBy;\n }\n };\n\n private onDatepickerChange = (event: CustomEvent<StzhDatepickerChangeEvent>) => {\n if (event.detail.component !== \"stzh-datepicker\" || !event.detail.valueAsDate) {\n return;\n }\n\n this.currentDate = event.detail.valueAsDate;\n // reset number of items that should be shown\n this.showItems = this._initialShowItems;\n };\n\n private onRadioChange = (event: CustomEvent<StzhRadioChangeEvent>) => {\n this.value = event.detail.value as string;\n this.stzhChange.emit({\n component: \"stzh-appointments\",\n value: this.value,\n });\n };\n\n async componentWillLoad() {\n this._initialShowItems = this.showItems;\n this.appointmentsWatcher(this.appointments);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"appointments\");\n }\n\n this.dateAdapterWatcher(this.dateAdapter);\n }\n\n componentWillRender() {\n const appointments = this.getCurrentDateAppointments();\n\n // slice to max that should be visible\n this.appointmentsShown = appointments.slice(0, this.showItems);\n\n // set flags\n this.showMoreLink = this.showItems < appointments.length;\n this.moreItemsLeft = appointments.length - this.showItems;\n\n // don't show time sort when only one time in the current day\n this.showSortStart =\n !this.disableSort &&\n appointments\n .map(appointment => {\n return this.dateAdapter.format(appointment.start, \"time\");\n })\n .filter((item, pos, self) => {\n return self.indexOf(item) == pos;\n }).length > 1;\n\n // don't show place sort when only one place in the current day\n this.showSortPlace =\n !this.disableSort &&\n appointments\n .map(appointment => {\n return appointment.place;\n })\n .filter((item, pos, self) => {\n return self.indexOf(item) == pos;\n }).length > 1;\n\n this.sortOptions = [];\n\n if (this.showSortStart) {\n this.sortOptions.push({\n text: this.localization.sortByTime,\n value: \"start\",\n });\n }\n\n if (this.showSortPlace) {\n this.sortOptions.push({\n text: this.localization.sortByPlace,\n value: \"place\",\n });\n }\n\n this.showSort = !this.disableSort && this.appointmentsShown.length > 1;\n\n // determine sort (force alternative sorting if it makes sense)\n this._sortBy =\n (this.showSortStart && !this.showSortPlace && \"start\") ||\n (!this.showSortStart && this.showSortPlace && \"place\") ||\n this.sortBy;\n }\n\n componentDidRender() {\n // set datepickers values to current date\n if (this.datepickerElement) {\n this.datepickerElement.setDate(this._currentDate);\n }\n\n if (this.datepickerElementMedium) {\n this.datepickerElementMedium.setDate(this._currentDate);\n }\n }\n\n render() {\n const headingUsed: boolean = hasSlot(this.element, \"heading\");\n\n const classes = {\n \"stzh-appointments\": true,\n \"stzh-appointments--has-calendar\": this.showCalendar,\n \"stzh-appointments--has-appointments-title\": this.showAppointmentsTitle,\n \"stzh-appointments--has-sort\": this.showSort,\n };\n\n return (\n <Host has-heading={headingUsed}>\n <div class={classes}>\n <div class=\"stzh-appointments__heading\">\n <slot name=\"heading\"></slot>\n </div>\n\n <div class=\"stzh-appointments__wrapper\">\n {this.showCalendar && (\n <div class=\"stzh-appointments__calendar-wrapper\">\n <div class=\"stzh-appointments__calendar-title-wrapper\">\n <div class=\"stzh-appointments__calendar-title\">\n <stzh-icon class=\"stzh-appointments__calendar-icon\" name=\"calendar\"></stzh-icon>\n <span class=\"stzh-appointments__calendar-title-text\">\n {this.calendarTitle || this.localization.calendarTitle}\n </span>\n </div>\n </div>\n <div class=\"stzh-appointments__calendar-content\">\n <stzh-datepicker\n hide-optional\n ref={el => (this.datepickerElement = el as HTMLStzhDatepickerElement)}\n onStzhChange={this.onDatepickerChange}\n label={this.localization.datepickerLabel}\n calendarIsDateDisabled={this.isDateDisabled}\n calendarMin={printISODate(this.earliestDate)}\n calendarMax={printISODate(this.latestDate)}\n >\n <stzh-link\n slot=\"action\"\n size=\"inherit\"\n disabled={!this.nextDate}\n onClick={this.onNextActiveDateClick}\n >\n {this.localization.nextDayWithAppointments}\n </stzh-link>\n </stzh-datepicker>\n </div>\n <div class=\"stzh-appointments__calendar-content-medium\">\n <stzh-datepicker\n hide-optional\n ref={el => (this.datepickerElementMedium = el as HTMLStzhDatepickerElement)}\n onStzhChange={this.onDatepickerChange}\n inline\n calendarIsDateDisabled={this.isDateDisabled}\n calendarMin={printISODate(this.earliestDate)}\n calendarMax={printISODate(this.latestDate)}\n >\n {this.nextDate && (\n <stzh-link slot=\"action\" size=\"inherit\" onClick={this.onNextActiveDateClick}>\n {this.localization.nextDayWithAppointments}\n </stzh-link>\n )}\n </stzh-datepicker>\n </div>\n </div>\n )}\n <div class=\"stzh-appointments__appointments-wrapper\">\n {this.showAppointmentsTitle && (\n <div class=\"stzh-appointments__appointments-title-wrapper\">\n <div class=\"stzh-appointments__appointments-title\">\n <stzh-icon class=\"stzh-appointments__appointments-icon\" name=\"clock\"></stzh-icon>\n <span class=\"stzh-appointments__appointments-title-text\">\n {this.appointmentsTitle || this.localization.appointmentsTitle}\n </span>\n </div>\n {this.showSort && (\n <div class=\"stzh-appointments__sort\">\n <stzh-dropdown\n hide-optional\n inline\n no-search\n class=\"stzh-appointments__sort-dropdown\"\n variant=\"plain\"\n size=\"small\"\n sizeMedium={\"tiny\"}\n items={[this._sortBy]}\n options={this.sortOptions}\n onStzhChange={this.onDropdownChange}\n ></stzh-dropdown>\n </div>\n )}\n </div>\n )}\n\n <div class=\"stzh-appointments__appointments-content\">\n <stzh-radiogroup\n class=\"stzh-appointments__appointments-radiogroup\"\n ref={el => (this.inputElement = el as HTMLStzhRadiogroupElement)}\n legend={this.localization.inputLegend}\n hide-legend\n name={this.name}\n value={this.value}\n preventUpdateProperties={[\"disabled\"]}\n >\n {this.appointmentsShown.map(appointment => (\n <stzh-radio\n onStzhChange={this.onRadioChange}\n value={appointment.value}\n disabled={typeof appointment.disabled !== \"undefined\" ? appointment.disabled : false}\n >\n <stzh-text font=\"heavy\" size=\"centi\">\n {!this.showCalendar && (\n <span>{this.dateAdapter.format(appointment.start, \"dateLong\")},&nbsp;</span>\n )}\n {this.dateAdapter.formatSpan(appointment.start, appointment.end, \"time\")}\n </stzh-text>\n <stzh-text size=\"milli\">{appointment.caption}</stzh-text>\n </stzh-radio>\n ))}\n </stzh-radiogroup>\n\n {this.showMoreLink && (\n <stzh-link class=\"stzh-appointments__more-link\" size=\"inherit\" onClick={this.onMoreClick}>\n {tc(\n this.localization.moreTextItems,\n this.moreItemsLeft > this.stepItems ? this.stepItems : this.moreItemsLeft,\n )}\n </stzh-link>\n )}\n </div>\n </div>\n </div>\n\n {/* <div class=\"stzh-appointments__actions\">\n <slot name=\"actions\"></slot>\n </div> */}\n </div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"stzh-appointments.js","sourceRoot":"","sources":["../../../../src/components/stzh-appointments/stzh-appointments.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,EAAgB,MAAM,eAAe,CAAC;AAU9F,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAIpE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAQ5C;;GAEG;AAMH,MAAM,OAAO,gBAAgB;IAL7B;QASE,wCAAwC;QAChC,gBAAW,GAAG,KAAK,CAAC;QAE5B,cAAc;QACW,WAAM,GAAsB,OAAO,CAAC;QAG7D,sCAAsC;QAC9B,iBAAY,GAA+B,EAAE,CAAC;QActD,qCAAqC;QACZ,SAAI,GAAW,aAAa,CAAC;QAEtD,wBAAwB;QACC,cAAS,GAAW,CAAC,CAAC;QAG/C,kDAAkD;QAC1C,cA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vent,\n StzhRadioChangeEvent,\n StzhDatepickerChangeEvent,\n StzhDropdownChangeEvent,\n StzhAppointment,\n} from \"../../index\";\n\nimport { tc } from \"../../index\";\n\nimport { printISODate, parseISODate } from \"../../utils/date-utils\";\nimport { StzhLocaleAdapter } from \"../../index\";\n\nimport { StzhAppointmentsLocalizedText } from \"./stzh-appointments.localization\";\nimport { hasSlot } from \"../../utils/utils\";\n\n/** Helper type with start & end as Date */\ntype StzhNormalizedAppointment = Omit<StzhAppointment, \"start\" | \"end\"> & {\n start: Date;\n end: Date;\n};\n\n/**\n * @slot - Slot for any content\n */\n@Component({\n tag: \"stzh-appointments\",\n styleUrl: \"stzh-appointments.scss\",\n scoped: true,\n})\nexport class StzhAppointments {\n /** Translation strings */\n @Prop() localization: StzhAppointmentsLocalizedText;\n\n /** Hides the sort dropdown when true */\n @Prop() disableSort = false;\n\n /** Sort by */\n @Prop({ mutable: true }) sortBy: \"start\" | \"place\" = \"start\";\n private _sortBy: \"start\" | \"place\";\n\n /** Initial selectable appointments */\n @Prop() appointments: StzhAppointment[] | string = [];\n private _appointments: StzhNormalizedAppointment[];\n private appointmentsShown: StzhNormalizedAppointment[];\n\n /** Current selected date (if undefined, earliest appointment date in list is taken or current selected one by value) */\n @Prop({ mutable: true }) currentDate: Date | string;\n private _currentDate: Date;\n\n /** Selected appointment by value.\n * If omitted, the first available appointment is selected automatically.\n * If null, no appointment is selected automatically.\n */\n @Prop({ mutable: true }) value?: string | null;\n\n /* Name of radiogroup form element */\n @Prop({ reflect: true }) name: string = \"appointment\";\n\n /** Nr of items shown */\n @Prop({ mutable: true }) showItems: number = 5;\n private _initialShowItems: number;\n\n /** Nr of items shown when more link is clicked */\n @Prop() stepItems: number = 5;\n\n /** Overwrite default calendar title */\n @Prop() calendarTitle = \"\";\n\n /** Overwrite default appointments title */\n @Prop() appointmentsTitle = \"\";\n\n /**\n * Date adapter, for custom parsing/formatting.\n * Must be an 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 @Element() element: HTMLStzhAppointmentsElement;\n\n /** Appointments change event */\n @Event() stzhChange: EventEmitter<StzhAppointmentsChangeEvent>;\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(\"currentDate\")\n currentDateWatcher(newValue: Date | string) {\n if (!newValue) {\n this._currentDate = this.dateByValue || this.earliestDate;\n\n if (!this.dateByValue && this.shouldAutoSelectAppointment()) {\n this.setValueToFirstAppointmentOfCurrentDate();\n }\n } else if (typeof newValue === \"string\") {\n this._currentDate = parseISODate(newValue);\n\n if (this.shouldAutoSelectAppointment()) {\n this.setValueToFirstAppointmentOfCurrentDate();\n }\n } else {\n this._currentDate = newValue;\n\n // Check if value already corresponds to a valid appointment on the new date\n const appointmentsForNewDate = this.getCurrentDateAppointments().map(appt => appt.value);\n\n if (!appointmentsForNewDate.includes(this.value as string) && this.shouldAutoSelectAppointment()) {\n this.setValueToFirstAppointmentOfCurrentDate();\n }\n }\n }\n\n @Watch(\"sortBy\")\n sortByWatcher() {\n if (this.shouldAutoSelectAppointment()) {\n this.setValueToFirstAppointmentOfCurrentDate();\n }\n }\n\n @Watch(\"value\")\n valueWatcher() {\n this.updateDateByValue();\n // update current date if user has not choosen one\n this.currentDateWatcher(this.currentDate);\n }\n\n @Watch(\"appointments\")\n appointmentsWatcher(newValue: StzhAppointment[] | string) {\n this._appointments = this.normalizeAppointments(newValue);\n\n if (this._appointments.length > 0) {\n this._appointments.sort((a, b) => (a.start > b.start ? 1 : -1));\n this.earliestDate = this._appointments[0].start;\n this.latestDate = this._appointments[this._appointments.length - 1].start;\n this.updateDateByValue();\n }\n\n if (this._appointments.length > 1) {\n const firstDate = this._appointments[0].start;\n this.allAppointsmentOnSameDay = this._appointments\n .map(appointment => appointment.start)\n .every(\n date =>\n `${date.getFullYear()}-${date.getMonth()}-${date.getDate()}` ===\n `${firstDate.getFullYear()}-${firstDate.getMonth()}-${firstDate.getDate()}`,\n );\n }\n\n this.showCalendar = !this.allAppointsmentOnSameDay;\n this.showAppointmentsTitle = this._appointments.length > 1;\n this.currentDateWatcher(this.currentDate);\n }\n\n private dateByValue: Date | null;\n private earliestDate: Date;\n private latestDate: Date;\n private nextDate: Date;\n\n private showMoreLink: boolean = false;\n private moreItemsLeft: number = 0;\n private showCalendar: boolean = false;\n private showSort: boolean = false;\n private showSortStart: boolean = false;\n private showSortPlace: boolean = false;\n private showAppointmentsTitle: boolean = false;\n private allAppointsmentOnSameDay: boolean = true;\n private sortOptions = [];\n\n private inputElement: HTMLStzhRadiogroupElement;\n private datepickerElement: HTMLStzhDatepickerElement;\n private datepickerElementMedium: HTMLStzhDatepickerElement;\n\n /** Whether the first appointment is automatically set as value. */\n private shouldAutoSelectAppointment(): boolean {\n return typeof this.value === \"undefined\" && !this.element.hasAttribute(\"value\");\n }\n\n private normalizeAppointments(appointments: StzhAppointment[] | string): StzhNormalizedAppointment[] {\n const parsedAppointments = typeof appointments === \"string\" ? JSON.parse(appointments) : appointments;\n\n return parsedAppointments.map(appointment => ({\n ...appointment,\n start: this.convertToDate(appointment.start),\n end: this.convertToDate(appointment.end),\n }));\n }\n\n private convertToDate(date: Date | string): Date {\n if (typeof date === \"string\") {\n return new Date(date);\n }\n return date;\n }\n\n private updateDateByValue() {\n if (!this.value) {\n this.dateByValue = null;\n return;\n }\n const appointment = this._appointments.find(appointment => appointment.value === this.value);\n if (!appointment) {\n this.dateByValue = null;\n } else {\n this.dateByValue = appointment.start;\n }\n }\n\n private getCurrentDateAppointments() {\n let indexOfLastCurrentDayDate = 0;\n\n // filter to current date appointments that can be shown\n const appointmentsCurrentDate = this._appointments.filter((appointment, index) => {\n const dateIsInCurrentDay =\n appointment.start.getFullYear() === this._currentDate.getFullYear() &&\n appointment.start.getMonth() === this._currentDate.getMonth() &&\n appointment.start.getDate() === this._currentDate.getDate();\n\n if (dateIsInCurrentDay) {\n indexOfLastCurrentDayDate = index;\n }\n\n return dateIsInCurrentDay;\n });\n\n // find next day with dates or set to null\n if (this._appointments[indexOfLastCurrentDayDate + 1]) {\n this.nextDate = this._appointments[indexOfLastCurrentDayDate + 1].start;\n } else {\n this.nextDate = null;\n }\n\n // sort\n appointmentsCurrentDate.sort((a, b) => (a[this.sortBy] > b[this.sortBy] ? 1 : -1));\n return appointmentsCurrentDate;\n }\n\n private setValueToFirstAppointmentOfCurrentDate() {\n // choose the first available appointment from current date\n const appointments = this.getCurrentDateAppointments().filter(appointment => !appointment.disabled);\n\n if (appointments.length > 0) {\n this.value = appointments[0].value;\n this.stzhChange.emit({\n component: \"stzh-appointments\",\n value: this.value,\n });\n }\n }\n\n private isDateDisabled = (date: Date) => {\n const dateHasAppointment: boolean = !!this._appointments.find(appointment => {\n return (\n appointment.start.getFullYear() === date.getFullYear() &&\n appointment.start.getMonth() === date.getMonth() &&\n appointment.start.getDate() === date.getDate()\n );\n });\n\n return !dateHasAppointment;\n };\n\n private onNextActiveDateClick = async () => {\n if (this.nextDate) {\n this.currentDate = this.nextDate;\n\n const popover = await this.datepickerElement.getPopover();\n\n if (popover) {\n popover.hide();\n }\n }\n };\n\n private onMoreClick = () => {\n this.showItems = this.stepItems + this.showItems;\n\n // return focus to radiogroup\n const radio = this.inputElement.querySelector(\"stzh-radio\");\n radio.focus();\n };\n\n private onDropdownChange = async (event: CustomEvent<StzhDropdownChangeEvent>) => {\n const target: HTMLStzhDropdownElement = event.target as HTMLStzhDropdownElement;\n\n const sortBy = (await target.getValue()) as \"start\" | \"place\" | \"\";\n\n if (sortBy) {\n this.sortBy = sortBy;\n }\n };\n\n private onDatepickerChange = (event: CustomEvent<StzhDatepickerChangeEvent>) => {\n if (event.detail.component !== \"stzh-datepicker\" || !event.detail.valueAsDate) {\n return;\n }\n\n this.currentDate = event.detail.valueAsDate;\n // reset number of items that should be shown\n this.showItems = this._initialShowItems;\n };\n\n private onRadioChange = (event: CustomEvent<StzhRadioChangeEvent>) => {\n this.value = event.detail.value as string;\n this.stzhChange.emit({\n component: \"stzh-appointments\",\n value: this.value,\n });\n };\n\n async componentWillLoad() {\n this._initialShowItems = this.showItems;\n this.appointmentsWatcher(this.appointments);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"appointments\");\n }\n\n this.dateAdapterWatcher(this.dateAdapter);\n }\n\n componentWillRender() {\n const appointments = this.getCurrentDateAppointments();\n\n // slice to max that should be visible\n this.appointmentsShown = appointments.slice(0, this.showItems);\n\n // set flags\n this.showMoreLink = this.showItems < appointments.length;\n this.moreItemsLeft = appointments.length - this.showItems;\n\n // don't show time sort when only one time in the current day\n this.showSortStart =\n !this.disableSort &&\n appointments\n .map(appointment => {\n return this.dateAdapter.format(appointment.start, \"time\");\n })\n .filter((item, pos, self) => {\n return self.indexOf(item) == pos;\n }).length > 1;\n\n // don't show place sort when only one place in the current day\n this.showSortPlace =\n !this.disableSort &&\n appointments\n .map(appointment => {\n return appointment.place;\n })\n .filter((item, pos, self) => {\n return self.indexOf(item) == pos;\n }).length > 1;\n\n this.sortOptions = [];\n\n if (this.showSortStart) {\n this.sortOptions.push({\n text: this.localization.sortByTime,\n value: \"start\",\n });\n }\n\n if (this.showSortPlace) {\n this.sortOptions.push({\n text: this.localization.sortByPlace,\n value: \"place\",\n });\n }\n\n this.showSort = !this.disableSort && this.appointmentsShown.length > 1;\n\n // determine sort (force alternative sorting if it makes sense)\n this._sortBy =\n (this.showSortStart && !this.showSortPlace && \"start\") ||\n (!this.showSortStart && this.showSortPlace && \"place\") ||\n this.sortBy;\n }\n\n componentDidRender() {\n // set datepickers values to current date\n if (this.datepickerElement) {\n this.datepickerElement.setDate(this._currentDate);\n }\n\n if (this.datepickerElementMedium) {\n this.datepickerElementMedium.setDate(this._currentDate);\n }\n }\n\n render() {\n const headingUsed: boolean = hasSlot(this.element, \"heading\");\n\n const classes = {\n \"stzh-appointments\": true,\n \"stzh-appointments--has-calendar\": this.showCalendar,\n \"stzh-appointments--has-appointments-title\": this.showAppointmentsTitle,\n \"stzh-appointments--has-sort\": this.showSort,\n };\n\n return (\n <Host has-heading={headingUsed}>\n <div class={classes}>\n <div class=\"stzh-appointments__heading\">\n <slot name=\"heading\"></slot>\n </div>\n\n <div class=\"stzh-appointments__wrapper\">\n {this.showCalendar && (\n <div class=\"stzh-appointments__calendar-wrapper\">\n <div class=\"stzh-appointments__calendar-title-wrapper\">\n <div class=\"stzh-appointments__calendar-title\">\n <stzh-icon class=\"stzh-appointments__calendar-icon\" name=\"calendar\"></stzh-icon>\n <span class=\"stzh-appointments__calendar-title-text\">\n {this.calendarTitle || this.localization.calendarTitle}\n </span>\n </div>\n </div>\n <div class=\"stzh-appointments__calendar-content\">\n <stzh-datepicker\n hide-optional\n ref={el => (this.datepickerElement = el as HTMLStzhDatepickerElement)}\n onStzhChange={this.onDatepickerChange}\n label={this.localization.datepickerLabel}\n calendarIsDateDisabled={this.isDateDisabled}\n calendarMin={printISODate(this.earliestDate)}\n calendarMax={printISODate(this.latestDate)}\n >\n <stzh-link\n slot=\"action\"\n size=\"inherit\"\n disabled={!this.nextDate}\n onClick={this.onNextActiveDateClick}\n >\n {this.localization.nextDayWithAppointments}\n </stzh-link>\n </stzh-datepicker>\n </div>\n <div class=\"stzh-appointments__calendar-content-medium\">\n <stzh-datepicker\n hide-optional\n ref={el => (this.datepickerElementMedium = el as HTMLStzhDatepickerElement)}\n onStzhChange={this.onDatepickerChange}\n inline\n calendarIsDateDisabled={this.isDateDisabled}\n calendarMin={printISODate(this.earliestDate)}\n calendarMax={printISODate(this.latestDate)}\n >\n {this.nextDate && (\n <stzh-link slot=\"action\" size=\"inherit\" onClick={this.onNextActiveDateClick}>\n {this.localization.nextDayWithAppointments}\n </stzh-link>\n )}\n </stzh-datepicker>\n </div>\n </div>\n )}\n <div class=\"stzh-appointments__appointments-wrapper\">\n {this.showAppointmentsTitle && (\n <div class=\"stzh-appointments__appointments-title-wrapper\">\n <div class=\"stzh-appointments__appointments-title\">\n <stzh-icon class=\"stzh-appointments__appointments-icon\" name=\"clock\"></stzh-icon>\n <span class=\"stzh-appointments__appointments-title-text\">\n {this.appointmentsTitle || this.localization.appointmentsTitle}\n </span>\n </div>\n {this.showSort && (\n <div class=\"stzh-appointments__sort\">\n <stzh-dropdown\n hide-optional\n inline\n no-search\n class=\"stzh-appointments__sort-dropdown\"\n variant=\"plain\"\n size=\"small\"\n sizeMedium={\"tiny\"}\n items={[this._sortBy]}\n options={this.sortOptions}\n onStzhChange={this.onDropdownChange}\n ></stzh-dropdown>\n </div>\n )}\n </div>\n )}\n\n <div class=\"stzh-appointments__appointments-content\">\n <stzh-radiogroup\n class=\"stzh-appointments__appointments-radiogroup\"\n ref={el => (this.inputElement = el as HTMLStzhRadiogroupElement)}\n legend={this.localization.inputLegend}\n hide-legend\n name={this.name}\n value={this.value}\n preventUpdateProperties={[\"disabled\"]}\n >\n {this.appointmentsShown.map(appointment => (\n <stzh-radio\n onStzhChange={this.onRadioChange}\n value={appointment.value}\n disabled={typeof appointment.disabled !== \"undefined\" ? appointment.disabled : false}\n >\n <stzh-text font=\"heavy\" size=\"centi\">\n {!this.showCalendar && (\n <span>{this.dateAdapter.format(appointment.start, \"dateLong\")},&nbsp;</span>\n )}\n {this.dateAdapter.formatSpan(appointment.start, appointment.end, \"time\")}\n </stzh-text>\n <stzh-text size=\"milli\">{appointment.caption}</stzh-text>\n </stzh-radio>\n ))}\n </stzh-radiogroup>\n\n {this.showMoreLink && (\n <stzh-link class=\"stzh-appointments__more-link\" size=\"inherit\" onClick={this.onMoreClick}>\n {tc(\n this.localization.moreTextItems,\n this.moreItemsLeft > this.stepItems ? this.stepItems : this.moreItemsLeft,\n )}\n </stzh-link>\n )}\n </div>\n </div>\n </div>\n\n {/* <div class=\"stzh-appointments__actions\">\n <slot name=\"actions\"></slot>\n </div> */}\n </div>\n </Host>\n );\n }\n}\n"]}