@oiz/stzh-components 4.10.0 → 4.11.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 (918) hide show
  1. package/dist/.build/test/utils.js +15 -11
  2. package/dist/.build/test/utils.js.map +1 -1
  3. package/dist/cjs/{index-Br_Y6IzY.js → index-D8r_QCOW.js} +3 -3
  4. package/dist/cjs/{index-Br_Y6IzY.js.map → index-D8r_QCOW.js.map} +1 -1
  5. package/dist/cjs/index.cjs.js.map +1 -1
  6. package/dist/cjs/loader.cjs.js +2 -2
  7. package/dist/cjs/stzh-accordion_3.cjs.entry.js +1 -1
  8. package/dist/cjs/stzh-actions_6.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-actionset.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-amount.cjs.entry.js +5 -4
  11. package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
  12. package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-appointments.cjs.entry.js +2 -2
  14. package/dist/cjs/stzh-archivelist.cjs.entry.js +1 -1
  15. package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
  16. package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-banner.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +5 -4
  19. package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
  20. package/dist/cjs/stzh-calendar.cjs.entry.js +5 -3
  21. package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
  22. package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
  23. package/dist/cjs/stzh-card-superteaser.cjs.entry.js +1 -1
  24. package/dist/cjs/stzh-card_2.cjs.entry.js +1 -1
  25. package/dist/cjs/stzh-carousel.cjs.entry.js +1 -1
  26. package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
  27. package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
  28. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -2
  29. package/dist/cjs/stzh-chip_2.cjs.entry.js +10 -9
  30. package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
  31. package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
  32. package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
  33. package/dist/cjs/stzh-components.cjs.js +2 -2
  34. package/dist/cjs/stzh-contact-cv.cjs.entry.js +1 -1
  35. package/dist/cjs/stzh-contact.cjs.entry.js +1 -1
  36. package/dist/cjs/stzh-container_2.cjs.entry.js +1 -1
  37. package/dist/cjs/stzh-content.cjs.entry.js +1 -1
  38. package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
  39. package/dist/cjs/stzh-datalist_3.cjs.entry.js +2 -2
  40. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
  41. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  42. package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
  43. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +13 -25
  44. package/dist/cjs/stzh-daterange.cjs.entry.js +1 -1
  45. package/dist/cjs/stzh-details.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
  47. package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-dropdown.cjs.entry.js +75 -31
  49. package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
  50. package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
  51. package/dist/cjs/stzh-eventinfo.cjs.entry.js +1 -1
  52. package/dist/cjs/stzh-feedreader-item.cjs.entry.js +1 -1
  53. package/dist/cjs/stzh-feedreader.cjs.entry.js +1 -1
  54. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  55. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
  56. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  57. package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
  58. package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +1 -1
  59. package/dist/cjs/stzh-ghettobox_3.cjs.entry.js +1 -1
  60. package/dist/cjs/stzh-header_3.cjs.entry.js +4 -4
  61. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  62. package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
  63. package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +8 -4
  64. package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
  65. package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
  66. package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
  67. package/dist/cjs/stzh-iframe.cjs.entry.js +1 -1
  68. package/dist/cjs/stzh-imagecomparison.cjs.entry.js +1 -1
  69. package/dist/cjs/{stzh-input-description-BszhfY9d.js → stzh-input-description-CzZuZ53C.js} +3 -3
  70. package/dist/cjs/{stzh-input-description-BszhfY9d.js.map → stzh-input-description-CzZuZ53C.js.map} +1 -1
  71. package/dist/cjs/stzh-input.cjs.entry.js +11 -7
  72. package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
  73. package/dist/cjs/stzh-link.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-linklist.cjs.entry.js +1 -1
  75. package/dist/cjs/stzh-list_2.cjs.entry.js +1 -1
  76. package/dist/cjs/stzh-loader.cjs.entry.js +1 -1
  77. package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
  78. package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
  79. package/dist/cjs/stzh-message.cjs.entry.js +1 -1
  80. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
  81. package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
  82. package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
  83. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  84. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  85. package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
  86. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  87. package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
  88. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  89. package/dist/cjs/stzh-panorama.cjs.entry.js +1 -1
  90. package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
  91. package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
  92. package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
  93. package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
  94. package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +1 -1
  95. package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +1 -1
  96. package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
  97. package/dist/cjs/stzh-pkzh-qr.cjs.entry.js +1 -1
  98. package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
  99. package/dist/cjs/stzh-print_2.cjs.entry.js +1 -1
  100. package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
  101. package/dist/cjs/stzh-rating.cjs.entry.js +2 -2
  102. package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
  103. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
  104. package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
  105. package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
  106. package/dist/cjs/stzh-search.cjs.entry.js +7 -4
  107. package/dist/cjs/stzh-section.cjs.entry.js +1 -1
  108. package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
  109. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  110. package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
  111. package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
  112. package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
  113. package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
  114. package/dist/cjs/stzh-stepper-item.cjs.entry.js +1 -1
  115. package/dist/cjs/stzh-stepper.cjs.entry.js +1 -1
  116. package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
  117. package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
  118. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  119. package/dist/cjs/stzh-text.cjs.entry.js +1 -1
  120. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  121. package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
  122. package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
  123. package/dist/cjs/stzh-timepicker.cjs.entry.js +4 -3
  124. package/dist/cjs/stzh-toast_2.cjs.entry.js +1 -1
  125. package/dist/cjs/stzh-toggle.cjs.entry.js +2 -2
  126. package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
  127. package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
  128. package/dist/cjs/stzh-upload.cjs.entry.js +2 -2
  129. package/dist/cjs/stzh-vbz-carousel.cjs.entry.js +1 -1
  130. package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js +1 -1
  131. package/dist/cjs/stzh-vbz-intro.cjs.entry.js +1 -1
  132. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
  133. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
  134. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
  135. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
  136. package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
  137. package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
  138. package/dist/collection/assets/i18n/de.json +2 -0
  139. package/dist/collection/assets/i18n/en.json +2 -0
  140. package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js +7 -3
  141. package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js.map +1 -1
  142. package/dist/collection/components/CMS/stzh-search/stzh-search.js +6 -3
  143. package/dist/collection/components/CMS/stzh-search/stzh-search.js.map +1 -1
  144. package/dist/collection/components/stzh-amount/stzh-amount.js +4 -3
  145. package/dist/collection/components/stzh-amount/stzh-amount.js.map +1 -1
  146. package/dist/collection/components/stzh-appointments/stzh-appointments.js +1 -1
  147. package/dist/collection/components/stzh-appointments/stzh-appointments.js.map +1 -1
  148. package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.css +1 -2
  149. package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.js +3 -2
  150. package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.js.map +1 -1
  151. package/dist/collection/components/stzh-calendar/stzh-calendar.js +4 -2
  152. package/dist/collection/components/stzh-calendar/stzh-calendar.js.map +1 -1
  153. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +8 -7
  154. package/dist/collection/components/stzh-chipselect/stzh-chipselect.js.map +1 -1
  155. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js +1 -1
  156. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js.map +1 -1
  157. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.stories.js +73 -1
  158. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +97 -51
  159. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js.map +1 -1
  160. package/dist/collection/components/stzh-dropdown/stzh-dropdown.stories.js +38 -0
  161. package/dist/collection/components/stzh-header/stzh-header.js +3 -3
  162. package/dist/collection/components/stzh-header/stzh-header.js.map +1 -1
  163. package/dist/collection/components/stzh-input/stzh-input.js +14 -10
  164. package/dist/collection/components/stzh-input/stzh-input.js.map +1 -1
  165. package/dist/collection/components/stzh-input/stzh-input.localization.js +2 -0
  166. package/dist/collection/components/stzh-input/stzh-input.localization.js.map +1 -0
  167. package/dist/collection/components/stzh-radio/stzh-radio.js +16 -10
  168. package/dist/collection/components/stzh-radio/stzh-radio.js.map +1 -1
  169. package/dist/collection/components/stzh-radio/stzh-radio.stories.js +34 -0
  170. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +33 -35
  171. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js.map +1 -1
  172. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.stories.js +44 -0
  173. package/dist/collection/components/stzh-timepicker/stzh-timepicker.js +3 -2
  174. package/dist/collection/components/stzh-timepicker/stzh-timepicker.js.map +1 -1
  175. package/dist/collection/index.js.map +1 -1
  176. package/dist/collection/utils/story-utils.js +20 -13
  177. package/dist/collection/utils/story-utils.js.map +1 -1
  178. package/dist/components/index.js +2 -2
  179. package/dist/components/{p-DeIgrcHw.js → p--CbjSeJw.js} +6 -6
  180. package/dist/components/{p-DeIgrcHw.js.map → p--CbjSeJw.js.map} +1 -1
  181. package/dist/components/{p-CiEcvFWc.js → p-0aLZPbnw.js} +5 -5
  182. package/dist/components/{p-CiEcvFWc.js.map → p-0aLZPbnw.js.map} +1 -1
  183. package/dist/components/{p-BCaGFZC8.js → p-1Oi__LJi.js} +6 -6
  184. package/dist/components/{p-BCaGFZC8.js.map → p-1Oi__LJi.js.map} +1 -1
  185. package/dist/components/{p-CI-BeKbw.js → p-1nlVe5dJ.js} +3 -3
  186. package/dist/components/{p-CI-BeKbw.js.map → p-1nlVe5dJ.js.map} +1 -1
  187. package/dist/components/{p-KXfvITXr.js → p-2lXgJqym.js} +3 -3
  188. package/dist/components/{p-KXfvITXr.js.map → p-2lXgJqym.js.map} +1 -1
  189. package/dist/components/{p-D7BPM8cN.js → p-349xfQhj.js} +3 -3
  190. package/dist/components/{p-D7BPM8cN.js.map → p-349xfQhj.js.map} +1 -1
  191. package/dist/components/{p-CWKzk5Dy.js → p-4V3geC0t.js} +5 -5
  192. package/dist/components/{p-CWKzk5Dy.js.map → p-4V3geC0t.js.map} +1 -1
  193. package/dist/components/{p-DZwaDoTV.js → p-6Dk2PG5T.js} +11 -11
  194. package/dist/components/{p-DZwaDoTV.js.map → p-6Dk2PG5T.js.map} +1 -1
  195. package/dist/components/{p-SbO4yTDL.js → p-B0YyK73m.js} +3 -3
  196. package/dist/components/{p-SbO4yTDL.js.map → p-B0YyK73m.js.map} +1 -1
  197. package/dist/components/{p-BGEGvpL5.js → p-B2sw1CJI.js} +20 -19
  198. package/dist/components/p-B2sw1CJI.js.map +1 -0
  199. package/dist/components/{p-B1bydx3d.js → p-B4JoCS46.js} +4 -4
  200. package/dist/components/{p-B1bydx3d.js.map → p-B4JoCS46.js.map} +1 -1
  201. package/dist/components/{p-DpeJpDc8.js → p-B4O0PovX.js} +3 -3
  202. package/dist/components/{p-DpeJpDc8.js.map → p-B4O0PovX.js.map} +1 -1
  203. package/dist/components/{p-BZD4OY2C.js → p-B5CL6AyG.js} +16 -28
  204. package/dist/components/p-B5CL6AyG.js.map +1 -0
  205. package/dist/components/{p-d0uOMlu3.js → p-BB46yjM7.js} +8 -7
  206. package/dist/components/p-BB46yjM7.js.map +1 -0
  207. package/dist/components/{p-DjUfFf-R.js → p-BMJGGGF9.js} +3 -3
  208. package/dist/components/{p-DjUfFf-R.js.map → p-BMJGGGF9.js.map} +1 -1
  209. package/dist/components/{p-PFaTABew.js → p-BQDN6Gkn.js} +11 -11
  210. package/dist/components/{p-PFaTABew.js.map → p-BQDN6Gkn.js.map} +1 -1
  211. package/dist/components/{p-Cg3Ak7yk.js → p-BQE1KOKx.js} +7 -7
  212. package/dist/components/{p-Cg3Ak7yk.js.map → p-BQE1KOKx.js.map} +1 -1
  213. package/dist/components/{p-DxnT0K8v.js → p-BY3l19wL.js} +5 -5
  214. package/dist/components/{p-DxnT0K8v.js.map → p-BY3l19wL.js.map} +1 -1
  215. package/dist/components/{p-CIVShc7i.js → p-B_Ppa4hh.js} +6 -6
  216. package/dist/components/{p-CIVShc7i.js.map → p-B_Ppa4hh.js.map} +1 -1
  217. package/dist/components/{p-DUQ-gRxd.js → p-B_nd_jfH.js} +6 -6
  218. package/dist/components/{p-DUQ-gRxd.js.map → p-B_nd_jfH.js.map} +1 -1
  219. package/dist/components/{p-CunX3wR8.js → p-BbwUKBZe.js} +6 -6
  220. package/dist/components/{p-CunX3wR8.js.map → p-BbwUKBZe.js.map} +1 -1
  221. package/dist/components/{p-cNTFnDJ9.js → p-BfWAE2yh.js} +3 -3
  222. package/dist/components/{p-cNTFnDJ9.js.map → p-BfWAE2yh.js.map} +1 -1
  223. package/dist/components/{p-CtNit8M7.js → p-BtBwyT5W.js} +4 -4
  224. package/dist/components/{p-CtNit8M7.js.map → p-BtBwyT5W.js.map} +1 -1
  225. package/dist/components/{p-D5fsVLBd.js → p-BuKU1pSv.js} +6 -6
  226. package/dist/components/{p-D5fsVLBd.js.map → p-BuKU1pSv.js.map} +1 -1
  227. package/dist/components/{p-blZtYtHM.js → p-BuVbFMau.js} +3 -3
  228. package/dist/components/{p-blZtYtHM.js.map → p-BuVbFMau.js.map} +1 -1
  229. package/dist/components/{p-5BslSTpf.js → p-BukxCYGO.js} +4 -4
  230. package/dist/components/{p-5BslSTpf.js.map → p-BukxCYGO.js.map} +1 -1
  231. package/dist/components/{p-BuxRPGuq.js → p-BwzL6BqJ.js} +3 -3
  232. package/dist/components/{p-BuxRPGuq.js.map → p-BwzL6BqJ.js.map} +1 -1
  233. package/dist/components/{p-CYQEBKQj.js → p-C19em1EE.js} +3 -3
  234. package/dist/components/{p-CYQEBKQj.js.map → p-C19em1EE.js.map} +1 -1
  235. package/dist/components/{p-BrqF6tbl.js → p-C4a-qbk3.js} +7 -7
  236. package/dist/components/{p-BrqF6tbl.js.map → p-C4a-qbk3.js.map} +1 -1
  237. package/dist/components/{p-6nWAZpXe.js → p-C8iMa_qQ.js} +4 -4
  238. package/dist/components/{p-6nWAZpXe.js.map → p-C8iMa_qQ.js.map} +1 -1
  239. package/dist/components/{p-DnZfjilC.js → p-C9QK14eA.js} +7 -7
  240. package/dist/components/{p-DnZfjilC.js.map → p-C9QK14eA.js.map} +1 -1
  241. package/dist/components/{p-CPibi_C6.js → p-CF5HtLyZ.js} +3 -3
  242. package/dist/components/{p-CPibi_C6.js.map → p-CF5HtLyZ.js.map} +1 -1
  243. package/dist/components/{p-ChkFy7hA.js → p-CJXKRF7B.js} +4 -4
  244. package/dist/components/{p-ChkFy7hA.js.map → p-CJXKRF7B.js.map} +1 -1
  245. package/dist/components/{p-D6yVsUPX.js → p-CJeqTwRL.js} +3 -3
  246. package/dist/components/{p-D6yVsUPX.js.map → p-CJeqTwRL.js.map} +1 -1
  247. package/dist/components/{p-C1G4-fBK.js → p-CSALKPIG.js} +3 -3
  248. package/dist/components/{p-C1G4-fBK.js.map → p-CSALKPIG.js.map} +1 -1
  249. package/dist/components/{p-BGS_EDCX.js → p-Cann2d_P.js} +3 -3
  250. package/dist/components/{p-BGS_EDCX.js.map → p-Cann2d_P.js.map} +1 -1
  251. package/dist/components/{p-DaY6mRgd.js → p-CdUtvOLk.js} +3 -3
  252. package/dist/components/{p-DaY6mRgd.js.map → p-CdUtvOLk.js.map} +1 -1
  253. package/dist/components/{p-DJk-2ioO.js → p-CeD0Uhx8.js} +3 -3
  254. package/dist/components/{p-DJk-2ioO.js.map → p-CeD0Uhx8.js.map} +1 -1
  255. package/dist/components/{p-DUhK-jhY.js → p-Cf6DqaZC.js} +14 -14
  256. package/dist/components/p-Cf6DqaZC.js.map +1 -0
  257. package/dist/components/{p-NmZZNRMg.js → p-ChcofGEP.js} +10 -10
  258. package/dist/components/p-ChcofGEP.js.map +1 -0
  259. package/dist/components/{p-DF4gVlfp.js → p-ChpiCMyY.js} +12 -12
  260. package/dist/components/{p-DF4gVlfp.js.map → p-ChpiCMyY.js.map} +1 -1
  261. package/dist/components/{p-JOhIAgHk.js → p-CllmwFpJ.js} +3 -3
  262. package/dist/components/{p-JOhIAgHk.js.map → p-CllmwFpJ.js.map} +1 -1
  263. package/dist/components/{p-Covl24Oh.js → p-CqjIilCe.js} +12 -12
  264. package/dist/components/p-CqjIilCe.js.map +1 -0
  265. package/dist/components/{p-Da6Pvdri.js → p-CtF1bxzf.js} +3 -3
  266. package/dist/components/{p-Da6Pvdri.js.map → p-CtF1bxzf.js.map} +1 -1
  267. package/dist/components/{p-CRnP18MI.js → p-Cul0DMRF.js} +3 -3
  268. package/dist/components/{p-CRnP18MI.js.map → p-Cul0DMRF.js.map} +1 -1
  269. package/dist/components/{p-DcitYu_B.js → p-D-7eTxCg.js} +6 -6
  270. package/dist/components/{p-DcitYu_B.js.map → p-D-7eTxCg.js.map} +1 -1
  271. package/dist/components/{p-DDFSjhu_.js → p-D0IKTRHF.js} +82 -38
  272. package/dist/components/p-D0IKTRHF.js.map +1 -0
  273. package/dist/components/{p-BALx46q6.js → p-DHQ_03AF.js} +3 -3
  274. package/dist/components/{p-BALx46q6.js.map → p-DHQ_03AF.js.map} +1 -1
  275. package/dist/components/{p-S3RSvRX7.js → p-DJSpcIzt.js} +5 -5
  276. package/dist/components/{p-S3RSvRX7.js.map → p-DJSpcIzt.js.map} +1 -1
  277. package/dist/components/{p-8FqKNq0v.js → p-DNvfRrOk.js} +3 -3
  278. package/dist/components/{p-8FqKNq0v.js.map → p-DNvfRrOk.js.map} +1 -1
  279. package/dist/components/{p-DAmGIV8s.js → p-DNwegwrb.js} +4 -4
  280. package/dist/components/{p-DAmGIV8s.js.map → p-DNwegwrb.js.map} +1 -1
  281. package/dist/components/{p-oafMGboU.js → p-DQTLAZkb.js} +13 -11
  282. package/dist/components/p-DQTLAZkb.js.map +1 -0
  283. package/dist/components/{p-CG9ycBNk.js → p-DRtPO0_4.js} +10 -10
  284. package/dist/components/{p-CG9ycBNk.js.map → p-DRtPO0_4.js.map} +1 -1
  285. package/dist/components/{p-DDrQ-GDv.js → p-DSkQdtkE.js} +3 -3
  286. package/dist/components/{p-DDrQ-GDv.js.map → p-DSkQdtkE.js.map} +1 -1
  287. package/dist/components/{p-CaLhvLbO.js → p-DXdbaLR3.js} +3 -3
  288. package/dist/components/{p-CaLhvLbO.js.map → p-DXdbaLR3.js.map} +1 -1
  289. package/dist/components/{p-DT-jsCLe.js → p-DaW4boW2.js} +3 -3
  290. package/dist/components/{p-DT-jsCLe.js.map → p-DaW4boW2.js.map} +1 -1
  291. package/dist/components/{p-Czf9tl8J.js → p-DfXSTvKE.js} +3 -3
  292. package/dist/components/{p-Czf9tl8J.js.map → p-DfXSTvKE.js.map} +1 -1
  293. package/dist/components/{p-19VfXOay.js → p-DoAzctLq.js} +3 -3
  294. package/dist/components/{p-19VfXOay.js.map → p-DoAzctLq.js.map} +1 -1
  295. package/dist/components/{p-DRx_UYls.js → p-Dr7U2oSt.js} +7 -7
  296. package/dist/components/{p-DRx_UYls.js.map → p-Dr7U2oSt.js.map} +1 -1
  297. package/dist/components/{p-a6yYbN7G.js → p-DyYox7M5.js} +3 -3
  298. package/dist/components/{p-a6yYbN7G.js.map → p-DyYox7M5.js.map} +1 -1
  299. package/dist/components/{p-_URfdwj0.js → p-G0Nx6vM9.js} +18 -14
  300. package/dist/components/p-G0Nx6vM9.js.map +1 -0
  301. package/dist/components/{p-qHThZaqH.js → p-H6vwKJR4.js} +8 -8
  302. package/dist/components/{p-qHThZaqH.js.map → p-H6vwKJR4.js.map} +1 -1
  303. package/dist/components/{p-BsssrLnt.js → p-IUEdDkZk.js} +3 -3
  304. package/dist/components/{p-BsssrLnt.js.map → p-IUEdDkZk.js.map} +1 -1
  305. package/dist/components/{p-Bck1KAhE.js → p-LhoO9tiC.js} +7 -7
  306. package/dist/components/{p-Bck1KAhE.js.map → p-LhoO9tiC.js.map} +1 -1
  307. package/dist/components/{p-K2FhSkA6.js → p-OCVGQFNq.js} +5 -5
  308. package/dist/components/{p-K2FhSkA6.js.map → p-OCVGQFNq.js.map} +1 -1
  309. package/dist/components/{p-BKaUJsFB.js → p-TzQSiueI.js} +10 -10
  310. package/dist/components/{p-BKaUJsFB.js.map → p-TzQSiueI.js.map} +1 -1
  311. package/dist/components/{p-D9Oa_RMc.js → p-UXuFu5W2.js} +3 -3
  312. package/dist/components/{p-D9Oa_RMc.js.map → p-UXuFu5W2.js.map} +1 -1
  313. package/dist/components/{p-DwP4TJHm.js → p-bu5w-pYo.js} +8 -8
  314. package/dist/components/{p-DwP4TJHm.js.map → p-bu5w-pYo.js.map} +1 -1
  315. package/dist/components/{p-BPs3afuZ.js → p-eQ3P_593.js} +3 -3
  316. package/dist/components/{p-BPs3afuZ.js.map → p-eQ3P_593.js.map} +1 -1
  317. package/dist/components/{p-BpEa7mua.js → p-s6UufRMo.js} +4 -4
  318. package/dist/components/{p-BpEa7mua.js.map → p-s6UufRMo.js.map} +1 -1
  319. package/dist/components/p-uD4ilJut.js.map +1 -1
  320. package/dist/components/stzh-accordion-item.js +1 -1
  321. package/dist/components/stzh-accordion.js +1 -1
  322. package/dist/components/stzh-actions.js +1 -1
  323. package/dist/components/stzh-actionset.js +1 -1
  324. package/dist/components/stzh-amount.js +13 -12
  325. package/dist/components/stzh-amount.js.map +1 -1
  326. package/dist/components/stzh-anchornav.js +5 -5
  327. package/dist/components/stzh-app-nav.js +1 -1
  328. package/dist/components/stzh-appointments.js +14 -14
  329. package/dist/components/stzh-appointments.js.map +1 -1
  330. package/dist/components/stzh-archivelist.js +7 -7
  331. package/dist/components/stzh-audio.js +5 -5
  332. package/dist/components/stzh-badge.js +1 -1
  333. package/dist/components/stzh-banner.js +4 -4
  334. package/dist/components/stzh-breadcrumb.js +1 -1
  335. package/dist/components/stzh-button.js +1 -1
  336. package/dist/components/stzh-buttongroup.js +1 -1
  337. package/dist/components/stzh-calendar.js +1 -1
  338. package/dist/components/stzh-card-navigation.js +2 -2
  339. package/dist/components/stzh-card-searchresult.js +14 -14
  340. package/dist/components/stzh-card-superteaser.js +14 -14
  341. package/dist/components/stzh-card.js +1 -1
  342. package/dist/components/stzh-cardlist.js +1 -1
  343. package/dist/components/stzh-carousel.js +1 -1
  344. package/dist/components/stzh-cell.js +1 -1
  345. package/dist/components/stzh-chart.js +1 -1
  346. package/dist/components/stzh-checkbox.js +1 -1
  347. package/dist/components/stzh-checkboxgroup.js +5 -5
  348. package/dist/components/stzh-chip.js +1 -1
  349. package/dist/components/stzh-chipgroup.js +1 -1
  350. package/dist/components/stzh-chipselect.js +1 -1
  351. package/dist/components/stzh-clamp.js +1 -1
  352. package/dist/components/stzh-company-logo.js +1 -1
  353. package/dist/components/stzh-contact-cv.js +4 -4
  354. package/dist/components/stzh-contact.js +10 -10
  355. package/dist/components/stzh-container.js +1 -1
  356. package/dist/components/stzh-content.js +1 -1
  357. package/dist/components/stzh-cspace.js +1 -1
  358. package/dist/components/stzh-cta.js +3 -3
  359. package/dist/components/stzh-datalist-item.js +1 -1
  360. package/dist/components/stzh-datalist.js +1 -1
  361. package/dist/components/stzh-datamessagelist-item.js +11 -11
  362. package/dist/components/stzh-datamessagelist.js +1 -1
  363. package/dist/components/stzh-datatable.js +17 -17
  364. package/dist/components/stzh-datepicker.js +1 -1
  365. package/dist/components/stzh-daterange.js +4 -4
  366. package/dist/components/stzh-details.js +1 -1
  367. package/dist/components/stzh-dialog.js +1 -1
  368. package/dist/components/stzh-disturber.js +4 -4
  369. package/dist/components/stzh-dropdown.js +1 -1
  370. package/dist/components/stzh-editor.js +4 -4
  371. package/dist/components/stzh-eventdata.js +1 -1
  372. package/dist/components/stzh-eventinfo.js +5 -5
  373. package/dist/components/stzh-feedreader-item.js +2 -2
  374. package/dist/components/stzh-feedreader.js +8 -8
  375. package/dist/components/stzh-fieldset.js +1 -1
  376. package/dist/components/stzh-figure.js +1 -1
  377. package/dist/components/stzh-flyingfocus.js +1 -1
  378. package/dist/components/stzh-footer.js +4 -4
  379. package/dist/components/stzh-gallery.js +8 -8
  380. package/dist/components/stzh-geo-ref-data.js +24 -24
  381. package/dist/components/stzh-ghettobox.js +1 -1
  382. package/dist/components/stzh-header.js +1 -1
  383. package/dist/components/stzh-heading.js +1 -1
  384. package/dist/components/stzh-homepage-search.js +2 -2
  385. package/dist/components/stzh-homepage-service-highlights.js +13 -9
  386. package/dist/components/stzh-homepage-service-highlights.js.map +1 -1
  387. package/dist/components/stzh-hr.js +1 -1
  388. package/dist/components/stzh-hspace.js +1 -1
  389. package/dist/components/stzh-http-error.js +7 -7
  390. package/dist/components/stzh-icon.js +1 -1
  391. package/dist/components/stzh-iframe.js +1 -1
  392. package/dist/components/stzh-imagecomparison.js +2 -2
  393. package/dist/components/stzh-input.js +1 -1
  394. package/dist/components/stzh-invert.js +1 -1
  395. package/dist/components/stzh-link.js +1 -1
  396. package/dist/components/stzh-linklist.js +10 -10
  397. package/dist/components/stzh-list-item.js +1 -1
  398. package/dist/components/stzh-list.js +1 -1
  399. package/dist/components/stzh-loader.js +1 -1
  400. package/dist/components/stzh-loadingbar.js +1 -1
  401. package/dist/components/stzh-menu-item.js +1 -1
  402. package/dist/components/stzh-menu.js +1 -1
  403. package/dist/components/stzh-message.js +1 -1
  404. package/dist/components/stzh-microsite-teaserlist.js +20 -20
  405. package/dist/components/stzh-monthyearpicker.js +5 -5
  406. package/dist/components/stzh-offline-indicator.js +6 -6
  407. package/dist/components/stzh-olmap.js +1 -1
  408. package/dist/components/stzh-overlay.js +1 -1
  409. package/dist/components/stzh-page-skiplinks.js +1 -1
  410. package/dist/components/stzh-pagebottom.js +8 -8
  411. package/dist/components/stzh-pagecontent.js +1 -1
  412. package/dist/components/stzh-pagetitle-hero.js +1 -1
  413. package/dist/components/stzh-pagetitle-home.js +2 -2
  414. package/dist/components/stzh-pagetitle.js +2 -2
  415. package/dist/components/stzh-pagination.js +1 -1
  416. package/dist/components/stzh-panorama.js +11 -11
  417. package/dist/components/stzh-pi-content-navigation.js +3 -3
  418. package/dist/components/stzh-pi-menu.js +3 -3
  419. package/dist/components/stzh-pi-pagetitle.js +2 -2
  420. package/dist/components/stzh-pi-quote.js +1 -1
  421. package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
  422. package/dist/components/stzh-pi-teaser-layout.js +2 -2
  423. package/dist/components/stzh-pi-teaser.js +2 -2
  424. package/dist/components/stzh-pkzh-qr.js +20 -20
  425. package/dist/components/stzh-popover.js +1 -1
  426. package/dist/components/stzh-print.js +1 -1
  427. package/dist/components/stzh-quote.js +1 -1
  428. package/dist/components/stzh-radio.js +1 -1
  429. package/dist/components/stzh-radiogroup.js +1 -1
  430. package/dist/components/stzh-rating.js +5 -5
  431. package/dist/components/stzh-ratio.js +1 -1
  432. package/dist/components/stzh-readspeaker.js +4 -4
  433. package/dist/components/stzh-richtext.js +1 -1
  434. package/dist/components/stzh-row.js +1 -1
  435. package/dist/components/stzh-saptcha.js +7 -7
  436. package/dist/components/stzh-scrollup.js +1 -1
  437. package/dist/components/stzh-search.js +22 -19
  438. package/dist/components/stzh-search.js.map +1 -1
  439. package/dist/components/stzh-section.js +1 -1
  440. package/dist/components/stzh-share.js +1 -1
  441. package/dist/components/stzh-show.js +1 -1
  442. package/dist/components/stzh-sitemap.js +9 -9
  443. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  444. package/dist/components/stzh-skin-storybook-preview.js +1 -1
  445. package/dist/components/stzh-skiplink.js +1 -1
  446. package/dist/components/stzh-socialmediastream-item.js +1 -1
  447. package/dist/components/stzh-socialmediastream.js +6 -6
  448. package/dist/components/stzh-sortable.js +1 -1
  449. package/dist/components/stzh-space.js +1 -1
  450. package/dist/components/stzh-status.js +1 -1
  451. package/dist/components/stzh-stepper-item.js +1 -1
  452. package/dist/components/stzh-stepper.js +3 -3
  453. package/dist/components/stzh-sticky-actions.js +2 -2
  454. package/dist/components/stzh-sticky.js +1 -1
  455. package/dist/components/stzh-table.js +1 -1
  456. package/dist/components/stzh-tag.js +1 -1
  457. package/dist/components/stzh-text.js +1 -1
  458. package/dist/components/stzh-textandimage.js +1 -1
  459. package/dist/components/stzh-timeline-item.js +3 -3
  460. package/dist/components/stzh-timeline.js +1 -1
  461. package/dist/components/stzh-timepicker.js +8 -7
  462. package/dist/components/stzh-timepicker.js.map +1 -1
  463. package/dist/components/stzh-toast.js +1 -1
  464. package/dist/components/stzh-toastbar.js +1 -1
  465. package/dist/components/stzh-toggle.js +5 -5
  466. package/dist/components/stzh-tooltip.js +1 -1
  467. package/dist/components/stzh-twocolumns.js +1 -1
  468. package/dist/components/stzh-upload.js +13 -13
  469. package/dist/components/stzh-vbz-carousel.js +2 -2
  470. package/dist/components/stzh-vbz-connection-finder.js +1 -1
  471. package/dist/components/stzh-vbz-intro.js +5 -5
  472. package/dist/components/stzh-vbz-linechip.js +1 -1
  473. package/dist/components/stzh-vbz-majorticker.js +7 -7
  474. package/dist/components/stzh-vbz-ticker.js +7 -7
  475. package/dist/components/stzh-visuallyhidden.js +1 -1
  476. package/dist/components/stzh-vspace.js +1 -1
  477. package/dist/components/stzh-youtube.js +6 -6
  478. package/dist/esm/{index-Boyybvcm.js → index-CIPExL1Q.js} +3 -3
  479. package/dist/esm/{index-Boyybvcm.js.map → index-CIPExL1Q.js.map} +1 -1
  480. package/dist/esm/index.js.map +1 -1
  481. package/dist/esm/loader.js +3 -3
  482. package/dist/esm/stzh-accordion_3.entry.js +1 -1
  483. package/dist/esm/stzh-actions_6.entry.js +1 -1
  484. package/dist/esm/stzh-actionset.entry.js +1 -1
  485. package/dist/esm/stzh-amount.entry.js +5 -4
  486. package/dist/esm/stzh-amount.entry.js.map +1 -1
  487. package/dist/esm/stzh-anchornav.entry.js +1 -1
  488. package/dist/esm/stzh-app-nav.entry.js +1 -1
  489. package/dist/esm/stzh-appointments.entry.js +2 -2
  490. package/dist/esm/stzh-appointments.entry.js.map +1 -1
  491. package/dist/esm/stzh-archivelist.entry.js +1 -1
  492. package/dist/esm/stzh-audio.entry.js +1 -1
  493. package/dist/esm/stzh-badge_3.entry.js +1 -1
  494. package/dist/esm/stzh-banner.entry.js +1 -1
  495. package/dist/esm/stzh-breadcrumb_2.entry.js +5 -4
  496. package/dist/esm/stzh-buttongroup.entry.js +1 -1
  497. package/dist/esm/stzh-calendar.entry.js +5 -3
  498. package/dist/esm/stzh-calendar.entry.js.map +1 -1
  499. package/dist/esm/stzh-card-navigation.entry.js +1 -1
  500. package/dist/esm/stzh-card-searchresult.entry.js +1 -1
  501. package/dist/esm/stzh-card-superteaser.entry.js +1 -1
  502. package/dist/esm/stzh-card_2.entry.js +1 -1
  503. package/dist/esm/stzh-carousel.entry.js +1 -1
  504. package/dist/esm/stzh-chart.entry.js +1 -1
  505. package/dist/esm/stzh-checkbox.entry.js +2 -2
  506. package/dist/esm/stzh-checkboxgroup.entry.js +2 -2
  507. package/dist/esm/stzh-chip_2.entry.js +10 -9
  508. package/dist/esm/stzh-chipgroup.entry.js +1 -1
  509. package/dist/esm/stzh-clamp.entry.js +1 -1
  510. package/dist/esm/stzh-company-logo.entry.js +1 -1
  511. package/dist/esm/stzh-components.js +3 -3
  512. package/dist/esm/stzh-contact-cv.entry.js +1 -1
  513. package/dist/esm/stzh-contact.entry.js +1 -1
  514. package/dist/esm/stzh-container_2.entry.js +1 -1
  515. package/dist/esm/stzh-content.entry.js +1 -1
  516. package/dist/esm/stzh-cta.entry.js +1 -1
  517. package/dist/esm/stzh-datalist_3.entry.js +2 -2
  518. package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
  519. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  520. package/dist/esm/stzh-datatable.entry.js +1 -1
  521. package/dist/esm/stzh-datepicker_3.entry.js +13 -25
  522. package/dist/esm/stzh-daterange.entry.js +1 -1
  523. package/dist/esm/stzh-details.entry.js +1 -1
  524. package/dist/esm/stzh-dialog.entry.js +1 -1
  525. package/dist/esm/stzh-disturber.entry.js +1 -1
  526. package/dist/esm/stzh-dropdown.entry.js +75 -31
  527. package/dist/esm/stzh-dropdown.entry.js.map +1 -1
  528. package/dist/esm/stzh-editor.entry.js +1 -1
  529. package/dist/esm/stzh-eventdata.entry.js +1 -1
  530. package/dist/esm/stzh-eventinfo.entry.js +1 -1
  531. package/dist/esm/stzh-feedreader-item.entry.js +1 -1
  532. package/dist/esm/stzh-feedreader.entry.js +1 -1
  533. package/dist/esm/stzh-figure.entry.js +1 -1
  534. package/dist/esm/stzh-flyingfocus.entry.js +1 -1
  535. package/dist/esm/stzh-footer.entry.js +1 -1
  536. package/dist/esm/stzh-gallery.entry.js +1 -1
  537. package/dist/esm/stzh-geo-ref-data.entry.js +1 -1
  538. package/dist/esm/stzh-ghettobox_3.entry.js +1 -1
  539. package/dist/esm/stzh-header_3.entry.js +4 -4
  540. package/dist/esm/stzh-heading.entry.js +1 -1
  541. package/dist/esm/stzh-homepage-search.entry.js +1 -1
  542. package/dist/esm/stzh-homepage-service-highlights.entry.js +8 -4
  543. package/dist/esm/stzh-homepage-service-highlights.entry.js.map +1 -1
  544. package/dist/esm/stzh-hr.entry.js +1 -1
  545. package/dist/esm/stzh-hspace.entry.js +1 -1
  546. package/dist/esm/stzh-http-error.entry.js +1 -1
  547. package/dist/esm/stzh-iframe.entry.js +1 -1
  548. package/dist/esm/stzh-imagecomparison.entry.js +1 -1
  549. package/dist/esm/{stzh-input-description-D7avZ-wq.js → stzh-input-description-DTwZSuau.js} +3 -3
  550. package/dist/esm/{stzh-input-description-D7avZ-wq.js.map → stzh-input-description-DTwZSuau.js.map} +1 -1
  551. package/dist/esm/stzh-input.entry.js +11 -7
  552. package/dist/esm/stzh-input.entry.js.map +1 -1
  553. package/dist/esm/stzh-invert.entry.js +1 -1
  554. package/dist/esm/stzh-link.entry.js +1 -1
  555. package/dist/esm/stzh-linklist.entry.js +1 -1
  556. package/dist/esm/stzh-list_2.entry.js +1 -1
  557. package/dist/esm/stzh-loader.entry.js +1 -1
  558. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  559. package/dist/esm/stzh-menu_2.entry.js +1 -1
  560. package/dist/esm/stzh-message.entry.js +1 -1
  561. package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
  562. package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
  563. package/dist/esm/stzh-offline-indicator.entry.js +1 -1
  564. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  565. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  566. package/dist/esm/stzh-pagecontent.entry.js +1 -1
  567. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  568. package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
  569. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  570. package/dist/esm/stzh-panorama.entry.js +1 -1
  571. package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
  572. package/dist/esm/stzh-pi-menu.entry.js +1 -1
  573. package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
  574. package/dist/esm/stzh-pi-quote.entry.js +1 -1
  575. package/dist/esm/stzh-pi-teaser-layout-item.entry.js +1 -1
  576. package/dist/esm/stzh-pi-teaser-layout.entry.js +1 -1
  577. package/dist/esm/stzh-pi-teaser.entry.js +1 -1
  578. package/dist/esm/stzh-pkzh-qr.entry.js +1 -1
  579. package/dist/esm/stzh-popover.entry.js +1 -1
  580. package/dist/esm/stzh-print_2.entry.js +1 -1
  581. package/dist/esm/stzh-quote.entry.js +1 -1
  582. package/dist/esm/stzh-rating.entry.js +2 -2
  583. package/dist/esm/stzh-ratio.entry.js +1 -1
  584. package/dist/esm/stzh-readspeaker.entry.js +1 -1
  585. package/dist/esm/stzh-saptcha.entry.js +1 -1
  586. package/dist/esm/stzh-scrollup.entry.js +1 -1
  587. package/dist/esm/stzh-search.entry.js +7 -4
  588. package/dist/esm/stzh-search.entry.js.map +1 -1
  589. package/dist/esm/stzh-section.entry.js +1 -1
  590. package/dist/esm/stzh-sitemap.entry.js +1 -1
  591. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  592. package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
  593. package/dist/esm/stzh-skiplink.entry.js +1 -1
  594. package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
  595. package/dist/esm/stzh-socialmediastream.entry.js +1 -1
  596. package/dist/esm/stzh-stepper-item.entry.js +1 -1
  597. package/dist/esm/stzh-stepper.entry.js +1 -1
  598. package/dist/esm/stzh-sticky-actions.entry.js +1 -1
  599. package/dist/esm/stzh-sticky.entry.js +1 -1
  600. package/dist/esm/stzh-table.entry.js +1 -1
  601. package/dist/esm/stzh-text.entry.js +1 -1
  602. package/dist/esm/stzh-textandimage.entry.js +1 -1
  603. package/dist/esm/stzh-timeline-item.entry.js +1 -1
  604. package/dist/esm/stzh-timeline.entry.js +1 -1
  605. package/dist/esm/stzh-timepicker.entry.js +4 -3
  606. package/dist/esm/stzh-timepicker.entry.js.map +1 -1
  607. package/dist/esm/stzh-toast_2.entry.js +1 -1
  608. package/dist/esm/stzh-toggle.entry.js +2 -2
  609. package/dist/esm/stzh-tooltip.entry.js +1 -1
  610. package/dist/esm/stzh-twocolumns.entry.js +1 -1
  611. package/dist/esm/stzh-upload.entry.js +2 -2
  612. package/dist/esm/stzh-vbz-carousel.entry.js +1 -1
  613. package/dist/esm/stzh-vbz-connection-finder.entry.js +1 -1
  614. package/dist/esm/stzh-vbz-intro.entry.js +1 -1
  615. package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
  616. package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
  617. package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
  618. package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
  619. package/dist/esm/stzh-vspace.entry.js +1 -1
  620. package/dist/esm/stzh-youtube.entry.js +1 -1
  621. package/dist/stzh-components/assets/i18n/de.json +2 -0
  622. package/dist/stzh-components/assets/i18n/en.json +2 -0
  623. package/dist/stzh-components/index.esm.js.map +1 -1
  624. package/dist/stzh-components/{p-6a51235e.entry.js → p-01057794.entry.js} +2 -2
  625. package/dist/stzh-components/{p-7c9f2c2f.entry.js → p-01dd653f.entry.js} +2 -2
  626. package/dist/stzh-components/{p-8f4d7f52.entry.js → p-02926bbb.entry.js} +2 -2
  627. package/dist/stzh-components/{p-ef78a7e8.entry.js → p-037c5d61.entry.js} +2 -2
  628. package/dist/stzh-components/{p-0dbdd066.entry.js → p-03c0374e.entry.js} +2 -2
  629. package/dist/stzh-components/{p-b1c1f676.entry.js → p-05910609.entry.js} +2 -2
  630. package/dist/stzh-components/{p-2096b5e5.entry.js → p-06148a30.entry.js} +2 -2
  631. package/dist/stzh-components/{p-b139f88e.entry.js → p-0cd4941c.entry.js} +2 -2
  632. package/dist/stzh-components/{p-3290c743.entry.js → p-10074ae1.entry.js} +2 -2
  633. package/dist/stzh-components/{p-2c27df73.entry.js → p-10d1519a.entry.js} +2 -2
  634. package/dist/stzh-components/{p-a8edfd35.entry.js → p-1215f457.entry.js} +2 -2
  635. package/dist/stzh-components/{p-b24ad8a1.entry.js → p-12931be1.entry.js} +2 -2
  636. package/dist/stzh-components/{p-58bc8ad5.entry.js → p-13800823.entry.js} +2 -2
  637. package/dist/stzh-components/{p-f3ca18ab.entry.js → p-13f166b0.entry.js} +2 -2
  638. package/dist/stzh-components/{p-f6193b21.entry.js → p-155b6ba9.entry.js} +3 -3
  639. package/dist/stzh-components/p-155b6ba9.entry.js.map +1 -0
  640. package/dist/stzh-components/{p-51c08340.entry.js → p-173aa7d5.entry.js} +2 -2
  641. package/dist/stzh-components/{p-6c2f5f67.entry.js → p-195de0fe.entry.js} +2 -2
  642. package/dist/stzh-components/{p-d2f17cf4.entry.js → p-19dff55a.entry.js} +2 -2
  643. package/dist/stzh-components/{p-d2f17cf4.entry.js.map → p-19dff55a.entry.js.map} +1 -1
  644. package/dist/stzh-components/{p-228836b8.entry.js → p-1a05b54a.entry.js} +2 -2
  645. package/dist/stzh-components/{p-59263627.entry.js → p-1abaa249.entry.js} +2 -2
  646. package/dist/stzh-components/{p-7ff56bd0.entry.js → p-1c488171.entry.js} +2 -2
  647. package/dist/stzh-components/{p-573017fb.entry.js → p-1cf55458.entry.js} +2 -2
  648. package/dist/stzh-components/{p-5525834e.entry.js → p-1dbe3772.entry.js} +2 -2
  649. package/dist/stzh-components/p-1dbe3772.entry.js.map +1 -0
  650. package/dist/stzh-components/{p-937ecec3.entry.js → p-1e35db78.entry.js} +2 -2
  651. package/dist/stzh-components/{p-c73057b5.entry.js → p-21193702.entry.js} +2 -2
  652. package/dist/stzh-components/p-21193702.entry.js.map +1 -0
  653. package/dist/stzh-components/{p-8d475272.entry.js → p-269b80c1.entry.js} +2 -2
  654. package/dist/stzh-components/{p-92718c89.entry.js → p-283db265.entry.js} +2 -2
  655. package/dist/stzh-components/{p-a66dd9ac.entry.js → p-2db47da8.entry.js} +2 -2
  656. package/dist/stzh-components/{p-59b64110.entry.js → p-2f0820a7.entry.js} +2 -2
  657. package/dist/stzh-components/{p-30a29924.entry.js → p-348cdf37.entry.js} +2 -2
  658. package/dist/stzh-components/{p-defcf957.entry.js → p-35bbb18c.entry.js} +2 -2
  659. package/dist/stzh-components/{p-baf12327.entry.js → p-3643e1af.entry.js} +2 -2
  660. package/dist/stzh-components/{p-4409b388.entry.js → p-3c2d11d2.entry.js} +2 -2
  661. package/dist/stzh-components/{p-aa915d5b.entry.js → p-3dcd17bb.entry.js} +2 -2
  662. package/dist/stzh-components/{p-ec23c3e0.entry.js → p-3dcf81d4.entry.js} +2 -2
  663. package/dist/stzh-components/{p-ac23e33d.entry.js → p-3dda0968.entry.js} +2 -2
  664. package/dist/stzh-components/{p-43d22663.entry.js → p-4108b79f.entry.js} +2 -2
  665. package/dist/stzh-components/{p-0e124317.entry.js → p-42c4be6b.entry.js} +2 -2
  666. package/dist/stzh-components/{p-3fc6b229.entry.js → p-45d90bb4.entry.js} +2 -2
  667. package/dist/stzh-components/{p-bce8c218.entry.js → p-470f8ac0.entry.js} +2 -2
  668. package/dist/stzh-components/{p-bc041233.entry.js → p-4791530a.entry.js} +2 -2
  669. package/dist/stzh-components/p-4791530a.entry.js.map +1 -0
  670. package/dist/stzh-components/{p-85329854.entry.js → p-47a73f73.entry.js} +2 -2
  671. package/dist/stzh-components/{p-b5186a60.entry.js → p-47d94825.entry.js} +2 -2
  672. package/dist/stzh-components/{p-c062dbd8.entry.js → p-491410c8.entry.js} +2 -2
  673. package/dist/stzh-components/{p-dd60db54.entry.js → p-4b1164fa.entry.js} +2 -2
  674. package/dist/stzh-components/p-4c18a6e6.entry.js +2 -0
  675. package/dist/stzh-components/p-4c18a6e6.entry.js.map +1 -0
  676. package/dist/stzh-components/{p-57d3f5c6.entry.js → p-4c4980e8.entry.js} +3 -3
  677. package/dist/stzh-components/{p-cb74e537.entry.js → p-4fe27b53.entry.js} +2 -2
  678. package/dist/stzh-components/p-4fe27b53.entry.js.map +1 -0
  679. package/dist/stzh-components/{p-02c6c25f.entry.js → p-54a34c0b.entry.js} +2 -2
  680. package/dist/stzh-components/{p-8494bb21.entry.js → p-55900f0a.entry.js} +2 -2
  681. package/dist/stzh-components/{p-3f6c5da7.entry.js → p-592350d0.entry.js} +2 -2
  682. package/dist/stzh-components/{p-b914d9d8.entry.js → p-599eb4a3.entry.js} +2 -2
  683. package/dist/stzh-components/{p-52680e35.entry.js → p-5bf2c7e8.entry.js} +2 -2
  684. package/dist/stzh-components/{p-d7ee95d1.entry.js → p-5c2cc285.entry.js} +2 -2
  685. package/dist/stzh-components/p-5c2cc285.entry.js.map +1 -0
  686. package/dist/stzh-components/{p-99e09fed.entry.js → p-5c64ed94.entry.js} +2 -2
  687. package/dist/stzh-components/{p-722c343d.entry.js → p-639aefff.entry.js} +2 -2
  688. package/dist/stzh-components/{p-ab655ced.entry.js → p-64dfd54f.entry.js} +2 -2
  689. package/dist/stzh-components/{p-9daed123.entry.js → p-6ad8a00e.entry.js} +2 -2
  690. package/dist/stzh-components/{p-9d3d5478.entry.js → p-6b04b1a7.entry.js} +2 -2
  691. package/dist/stzh-components/{p-3589f0fe.entry.js → p-6bea39fc.entry.js} +2 -2
  692. package/dist/stzh-components/{p-3f32f5b8.entry.js → p-6bf04424.entry.js} +2 -2
  693. package/dist/stzh-components/{p-0e7b9556.entry.js → p-6d5cfe81.entry.js} +2 -2
  694. package/dist/stzh-components/p-6d5cfe81.entry.js.map +1 -0
  695. package/dist/stzh-components/{p-04b91cbe.entry.js → p-6db053ea.entry.js} +2 -2
  696. package/dist/stzh-components/{p-13aceed6.entry.js → p-703c7162.entry.js} +2 -2
  697. package/dist/stzh-components/{p-54f536d9.entry.js → p-72edaa03.entry.js} +2 -2
  698. package/dist/stzh-components/{p-683bdcfc.entry.js → p-769ab49a.entry.js} +2 -2
  699. package/dist/stzh-components/{p-8b53f9f5.entry.js → p-79018229.entry.js} +2 -2
  700. package/dist/stzh-components/{p-0dad8cce.entry.js → p-792c46fb.entry.js} +2 -2
  701. package/dist/stzh-components/p-792c46fb.entry.js.map +1 -0
  702. package/dist/stzh-components/{p-1948c6be.entry.js → p-79ce57fe.entry.js} +2 -2
  703. package/dist/stzh-components/{p-24a4865a.entry.js → p-7b69c7c1.entry.js} +2 -2
  704. package/dist/stzh-components/{p-112e5a75.entry.js → p-7c65eb0c.entry.js} +2 -2
  705. package/dist/stzh-components/{p-c33308b1.entry.js → p-7f16f44f.entry.js} +2 -2
  706. package/dist/stzh-components/{p-a78cf7a9.entry.js → p-7f8b841b.entry.js} +2 -2
  707. package/dist/stzh-components/{p-86c62790.entry.js → p-80356d16.entry.js} +2 -2
  708. package/dist/stzh-components/{p-18e9eaff.entry.js → p-861201fb.entry.js} +2 -2
  709. package/dist/stzh-components/{p-9f35f6d1.entry.js → p-88d117c8.entry.js} +2 -2
  710. package/dist/stzh-components/{p-0326f9e5.entry.js → p-88dbb41e.entry.js} +2 -2
  711. package/dist/stzh-components/{p-375e9039.entry.js → p-8a7520f7.entry.js} +2 -2
  712. package/dist/stzh-components/{p-bdabc422.entry.js → p-8ab39168.entry.js} +2 -2
  713. package/dist/stzh-components/{p-bf422149.entry.js → p-8ae6c772.entry.js} +2 -2
  714. package/dist/stzh-components/{p-df16dc97.entry.js → p-8b204385.entry.js} +2 -2
  715. package/dist/stzh-components/{p-f5b4cb97.entry.js → p-8c3de4af.entry.js} +2 -2
  716. package/dist/stzh-components/{p-337a614c.entry.js → p-904504c6.entry.js} +2 -2
  717. package/dist/stzh-components/{p-06a85017.entry.js → p-92394d0c.entry.js} +2 -2
  718. package/dist/stzh-components/{p-95f80efd.entry.js → p-933a997b.entry.js} +2 -2
  719. package/dist/stzh-components/{p-4e5ead8e.entry.js → p-941c59a1.entry.js} +2 -2
  720. package/dist/stzh-components/{p-a6bb650c.entry.js → p-94234536.entry.js} +2 -2
  721. package/dist/stzh-components/{p-22728170.entry.js → p-94332a2f.entry.js} +2 -2
  722. package/dist/stzh-components/{p-9a42bf5a.entry.js → p-96ed7cff.entry.js} +2 -2
  723. package/dist/stzh-components/{p-f34cb4d3.entry.js → p-9a12c249.entry.js} +2 -2
  724. package/dist/stzh-components/{p-4980cac6.entry.js → p-9d32c5f8.entry.js} +6 -6
  725. package/dist/stzh-components/p-CIPExL1Q.js +3 -0
  726. package/dist/stzh-components/{p-Boyybvcm.js.map → p-CIPExL1Q.js.map} +1 -1
  727. package/dist/stzh-components/{p-DS4xgN66.js → p-DmRFAc3Q.js} +2 -2
  728. package/dist/stzh-components/{p-DS4xgN66.js.map → p-DmRFAc3Q.js.map} +1 -1
  729. package/dist/stzh-components/{p-673449d3.entry.js → p-a325a600.entry.js} +2 -2
  730. package/dist/stzh-components/{p-21864dc6.entry.js → p-a351ded1.entry.js} +2 -2
  731. package/dist/stzh-components/{p-162ea47b.entry.js → p-a373717a.entry.js} +2 -2
  732. package/dist/stzh-components/{p-ba0f9d98.entry.js → p-a4341710.entry.js} +2 -2
  733. package/dist/stzh-components/{p-1268e055.entry.js → p-a5943a0e.entry.js} +2 -2
  734. package/dist/stzh-components/{p-09c5b4f4.entry.js → p-aa0b3b3f.entry.js} +2 -2
  735. package/dist/stzh-components/{p-cf998c9e.entry.js → p-ac36cc05.entry.js} +2 -2
  736. package/dist/stzh-components/{p-a1a810cc.entry.js → p-aff36500.entry.js} +2 -2
  737. package/dist/stzh-components/{p-1f36d924.entry.js → p-b07fab76.entry.js} +2 -2
  738. package/dist/stzh-components/{p-dbdf2dda.entry.js → p-b1b18fc9.entry.js} +2 -2
  739. package/dist/stzh-components/{p-9ac7c945.entry.js → p-b218cc9d.entry.js} +8 -8
  740. package/dist/stzh-components/p-b218cc9d.entry.js.map +1 -0
  741. package/dist/stzh-components/{p-f7095605.entry.js → p-b5b24de2.entry.js} +2 -2
  742. package/dist/stzh-components/{p-e7943c14.entry.js → p-b6486e4f.entry.js} +2 -2
  743. package/dist/stzh-components/{p-614801db.entry.js → p-b6e59bf6.entry.js} +2 -2
  744. package/dist/stzh-components/{p-5ef55c3a.entry.js → p-b88d8397.entry.js} +2 -2
  745. package/dist/stzh-components/{p-8f4fd7e8.entry.js → p-c11a631e.entry.js} +2 -2
  746. package/dist/stzh-components/{p-8a2c72fc.entry.js → p-c46f2de6.entry.js} +2 -2
  747. package/dist/stzh-components/{p-67134205.entry.js → p-c6ed907f.entry.js} +2 -2
  748. package/dist/stzh-components/{p-370cec66.entry.js → p-caf8c562.entry.js} +2 -2
  749. package/dist/stzh-components/{p-20381eb6.entry.js → p-d30ed5bf.entry.js} +2 -2
  750. package/dist/stzh-components/{p-23399476.entry.js → p-d34cd79a.entry.js} +2 -2
  751. package/dist/stzh-components/{p-92d44643.entry.js → p-d692bad8.entry.js} +2 -2
  752. package/dist/stzh-components/p-da163902.entry.js +2 -0
  753. package/dist/stzh-components/p-da163902.entry.js.map +1 -0
  754. package/dist/stzh-components/{p-a5d5cf67.entry.js → p-da675ebc.entry.js} +2 -2
  755. package/dist/stzh-components/{p-4c6a88dd.entry.js → p-ddaa57a3.entry.js} +3 -3
  756. package/dist/stzh-components/{p-1278339e.entry.js → p-dec6794a.entry.js} +2 -2
  757. package/dist/stzh-components/{p-8547dd85.entry.js → p-e3e91b00.entry.js} +2 -2
  758. package/dist/stzh-components/{p-c6237f22.entry.js → p-e8b5a3ed.entry.js} +2 -2
  759. package/dist/stzh-components/{p-8cd52c56.entry.js → p-eb706f97.entry.js} +2 -2
  760. package/dist/stzh-components/{p-b672e1ac.entry.js → p-ec72bc97.entry.js} +2 -2
  761. package/dist/stzh-components/{p-ab37318f.entry.js → p-ed010ef4.entry.js} +2 -2
  762. package/dist/stzh-components/{p-4b70f6d5.entry.js → p-ee9d3297.entry.js} +2 -2
  763. package/dist/stzh-components/{p-f278ac2e.entry.js → p-ef9b206b.entry.js} +2 -2
  764. package/dist/stzh-components/{p-aee3740b.entry.js → p-f23dae56.entry.js} +2 -2
  765. package/dist/stzh-components/{p-fe5cfbfd.entry.js → p-f2a4ffe1.entry.js} +2 -2
  766. package/dist/stzh-components/{p-2f5f9451.entry.js → p-f4520f18.entry.js} +2 -2
  767. package/dist/stzh-components/{p-496db660.entry.js → p-fe445cd9.entry.js} +2 -2
  768. package/dist/stzh-components/stzh-components.esm.js +1 -1
  769. package/dist/types/builds/OE-5041/desi/desi-code/stzh-components/.stencil/.build/test/utils.d.ts +2 -2
  770. package/dist/types/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.d.ts +1 -0
  771. package/dist/types/components/stzh-dropdown/stzh-dropdown.d.ts +18 -9
  772. package/dist/types/components/stzh-input/stzh-input.d.ts +2 -2
  773. package/dist/types/components/stzh-input/stzh-input.localization.d.ts +5 -0
  774. package/dist/types/components/stzh-radio/stzh-radio.d.ts +3 -3
  775. package/dist/types/components/stzh-radiogroup/stzh-radiogroup.d.ts +6 -7
  776. package/dist/types/components.d.ts +33 -31
  777. package/dist/types/index.d.ts +12 -7
  778. package/dist/vscode-data.json +4 -4
  779. package/package.json +1 -1
  780. package/dist/components/p-BGEGvpL5.js.map +0 -1
  781. package/dist/components/p-BZD4OY2C.js.map +0 -1
  782. package/dist/components/p-Covl24Oh.js.map +0 -1
  783. package/dist/components/p-DDFSjhu_.js.map +0 -1
  784. package/dist/components/p-DUhK-jhY.js.map +0 -1
  785. package/dist/components/p-NmZZNRMg.js.map +0 -1
  786. package/dist/components/p-_URfdwj0.js.map +0 -1
  787. package/dist/components/p-d0uOMlu3.js.map +0 -1
  788. package/dist/components/p-oafMGboU.js.map +0 -1
  789. package/dist/stzh-components/p-0c6f2548.entry.js +0 -2
  790. package/dist/stzh-components/p-0c6f2548.entry.js.map +0 -1
  791. package/dist/stzh-components/p-0dad8cce.entry.js.map +0 -1
  792. package/dist/stzh-components/p-0e7b9556.entry.js.map +0 -1
  793. package/dist/stzh-components/p-5525834e.entry.js.map +0 -1
  794. package/dist/stzh-components/p-9ac7c945.entry.js.map +0 -1
  795. package/dist/stzh-components/p-Boyybvcm.js +0 -3
  796. package/dist/stzh-components/p-bc041233.entry.js.map +0 -1
  797. package/dist/stzh-components/p-c73057b5.entry.js.map +0 -1
  798. package/dist/stzh-components/p-cb74e537.entry.js.map +0 -1
  799. package/dist/stzh-components/p-d2cdcc47.entry.js +0 -2
  800. package/dist/stzh-components/p-d2cdcc47.entry.js.map +0 -1
  801. package/dist/stzh-components/p-d7ee95d1.entry.js.map +0 -1
  802. package/dist/stzh-components/p-f6193b21.entry.js.map +0 -1
  803. /package/dist/stzh-components/{p-6a51235e.entry.js.map → p-01057794.entry.js.map} +0 -0
  804. /package/dist/stzh-components/{p-7c9f2c2f.entry.js.map → p-01dd653f.entry.js.map} +0 -0
  805. /package/dist/stzh-components/{p-8f4d7f52.entry.js.map → p-02926bbb.entry.js.map} +0 -0
  806. /package/dist/stzh-components/{p-ef78a7e8.entry.js.map → p-037c5d61.entry.js.map} +0 -0
  807. /package/dist/stzh-components/{p-0dbdd066.entry.js.map → p-03c0374e.entry.js.map} +0 -0
  808. /package/dist/stzh-components/{p-b1c1f676.entry.js.map → p-05910609.entry.js.map} +0 -0
  809. /package/dist/stzh-components/{p-2096b5e5.entry.js.map → p-06148a30.entry.js.map} +0 -0
  810. /package/dist/stzh-components/{p-b139f88e.entry.js.map → p-0cd4941c.entry.js.map} +0 -0
  811. /package/dist/stzh-components/{p-3290c743.entry.js.map → p-10074ae1.entry.js.map} +0 -0
  812. /package/dist/stzh-components/{p-2c27df73.entry.js.map → p-10d1519a.entry.js.map} +0 -0
  813. /package/dist/stzh-components/{p-a8edfd35.entry.js.map → p-1215f457.entry.js.map} +0 -0
  814. /package/dist/stzh-components/{p-b24ad8a1.entry.js.map → p-12931be1.entry.js.map} +0 -0
  815. /package/dist/stzh-components/{p-58bc8ad5.entry.js.map → p-13800823.entry.js.map} +0 -0
  816. /package/dist/stzh-components/{p-f3ca18ab.entry.js.map → p-13f166b0.entry.js.map} +0 -0
  817. /package/dist/stzh-components/{p-51c08340.entry.js.map → p-173aa7d5.entry.js.map} +0 -0
  818. /package/dist/stzh-components/{p-6c2f5f67.entry.js.map → p-195de0fe.entry.js.map} +0 -0
  819. /package/dist/stzh-components/{p-228836b8.entry.js.map → p-1a05b54a.entry.js.map} +0 -0
  820. /package/dist/stzh-components/{p-59263627.entry.js.map → p-1abaa249.entry.js.map} +0 -0
  821. /package/dist/stzh-components/{p-7ff56bd0.entry.js.map → p-1c488171.entry.js.map} +0 -0
  822. /package/dist/stzh-components/{p-573017fb.entry.js.map → p-1cf55458.entry.js.map} +0 -0
  823. /package/dist/stzh-components/{p-937ecec3.entry.js.map → p-1e35db78.entry.js.map} +0 -0
  824. /package/dist/stzh-components/{p-8d475272.entry.js.map → p-269b80c1.entry.js.map} +0 -0
  825. /package/dist/stzh-components/{p-92718c89.entry.js.map → p-283db265.entry.js.map} +0 -0
  826. /package/dist/stzh-components/{p-a66dd9ac.entry.js.map → p-2db47da8.entry.js.map} +0 -0
  827. /package/dist/stzh-components/{p-59b64110.entry.js.map → p-2f0820a7.entry.js.map} +0 -0
  828. /package/dist/stzh-components/{p-30a29924.entry.js.map → p-348cdf37.entry.js.map} +0 -0
  829. /package/dist/stzh-components/{p-defcf957.entry.js.map → p-35bbb18c.entry.js.map} +0 -0
  830. /package/dist/stzh-components/{p-baf12327.entry.js.map → p-3643e1af.entry.js.map} +0 -0
  831. /package/dist/stzh-components/{p-4409b388.entry.js.map → p-3c2d11d2.entry.js.map} +0 -0
  832. /package/dist/stzh-components/{p-aa915d5b.entry.js.map → p-3dcd17bb.entry.js.map} +0 -0
  833. /package/dist/stzh-components/{p-ec23c3e0.entry.js.map → p-3dcf81d4.entry.js.map} +0 -0
  834. /package/dist/stzh-components/{p-ac23e33d.entry.js.map → p-3dda0968.entry.js.map} +0 -0
  835. /package/dist/stzh-components/{p-43d22663.entry.js.map → p-4108b79f.entry.js.map} +0 -0
  836. /package/dist/stzh-components/{p-0e124317.entry.js.map → p-42c4be6b.entry.js.map} +0 -0
  837. /package/dist/stzh-components/{p-3fc6b229.entry.js.map → p-45d90bb4.entry.js.map} +0 -0
  838. /package/dist/stzh-components/{p-bce8c218.entry.js.map → p-470f8ac0.entry.js.map} +0 -0
  839. /package/dist/stzh-components/{p-85329854.entry.js.map → p-47a73f73.entry.js.map} +0 -0
  840. /package/dist/stzh-components/{p-b5186a60.entry.js.map → p-47d94825.entry.js.map} +0 -0
  841. /package/dist/stzh-components/{p-c062dbd8.entry.js.map → p-491410c8.entry.js.map} +0 -0
  842. /package/dist/stzh-components/{p-dd60db54.entry.js.map → p-4b1164fa.entry.js.map} +0 -0
  843. /package/dist/stzh-components/{p-57d3f5c6.entry.js.map → p-4c4980e8.entry.js.map} +0 -0
  844. /package/dist/stzh-components/{p-02c6c25f.entry.js.map → p-54a34c0b.entry.js.map} +0 -0
  845. /package/dist/stzh-components/{p-8494bb21.entry.js.map → p-55900f0a.entry.js.map} +0 -0
  846. /package/dist/stzh-components/{p-3f6c5da7.entry.js.map → p-592350d0.entry.js.map} +0 -0
  847. /package/dist/stzh-components/{p-b914d9d8.entry.js.map → p-599eb4a3.entry.js.map} +0 -0
  848. /package/dist/stzh-components/{p-52680e35.entry.js.map → p-5bf2c7e8.entry.js.map} +0 -0
  849. /package/dist/stzh-components/{p-99e09fed.entry.js.map → p-5c64ed94.entry.js.map} +0 -0
  850. /package/dist/stzh-components/{p-722c343d.entry.js.map → p-639aefff.entry.js.map} +0 -0
  851. /package/dist/stzh-components/{p-ab655ced.entry.js.map → p-64dfd54f.entry.js.map} +0 -0
  852. /package/dist/stzh-components/{p-9daed123.entry.js.map → p-6ad8a00e.entry.js.map} +0 -0
  853. /package/dist/stzh-components/{p-9d3d5478.entry.js.map → p-6b04b1a7.entry.js.map} +0 -0
  854. /package/dist/stzh-components/{p-3589f0fe.entry.js.map → p-6bea39fc.entry.js.map} +0 -0
  855. /package/dist/stzh-components/{p-3f32f5b8.entry.js.map → p-6bf04424.entry.js.map} +0 -0
  856. /package/dist/stzh-components/{p-04b91cbe.entry.js.map → p-6db053ea.entry.js.map} +0 -0
  857. /package/dist/stzh-components/{p-13aceed6.entry.js.map → p-703c7162.entry.js.map} +0 -0
  858. /package/dist/stzh-components/{p-54f536d9.entry.js.map → p-72edaa03.entry.js.map} +0 -0
  859. /package/dist/stzh-components/{p-683bdcfc.entry.js.map → p-769ab49a.entry.js.map} +0 -0
  860. /package/dist/stzh-components/{p-8b53f9f5.entry.js.map → p-79018229.entry.js.map} +0 -0
  861. /package/dist/stzh-components/{p-1948c6be.entry.js.map → p-79ce57fe.entry.js.map} +0 -0
  862. /package/dist/stzh-components/{p-24a4865a.entry.js.map → p-7b69c7c1.entry.js.map} +0 -0
  863. /package/dist/stzh-components/{p-112e5a75.entry.js.map → p-7c65eb0c.entry.js.map} +0 -0
  864. /package/dist/stzh-components/{p-c33308b1.entry.js.map → p-7f16f44f.entry.js.map} +0 -0
  865. /package/dist/stzh-components/{p-a78cf7a9.entry.js.map → p-7f8b841b.entry.js.map} +0 -0
  866. /package/dist/stzh-components/{p-86c62790.entry.js.map → p-80356d16.entry.js.map} +0 -0
  867. /package/dist/stzh-components/{p-18e9eaff.entry.js.map → p-861201fb.entry.js.map} +0 -0
  868. /package/dist/stzh-components/{p-9f35f6d1.entry.js.map → p-88d117c8.entry.js.map} +0 -0
  869. /package/dist/stzh-components/{p-0326f9e5.entry.js.map → p-88dbb41e.entry.js.map} +0 -0
  870. /package/dist/stzh-components/{p-375e9039.entry.js.map → p-8a7520f7.entry.js.map} +0 -0
  871. /package/dist/stzh-components/{p-bdabc422.entry.js.map → p-8ab39168.entry.js.map} +0 -0
  872. /package/dist/stzh-components/{p-bf422149.entry.js.map → p-8ae6c772.entry.js.map} +0 -0
  873. /package/dist/stzh-components/{p-df16dc97.entry.js.map → p-8b204385.entry.js.map} +0 -0
  874. /package/dist/stzh-components/{p-f5b4cb97.entry.js.map → p-8c3de4af.entry.js.map} +0 -0
  875. /package/dist/stzh-components/{p-337a614c.entry.js.map → p-904504c6.entry.js.map} +0 -0
  876. /package/dist/stzh-components/{p-06a85017.entry.js.map → p-92394d0c.entry.js.map} +0 -0
  877. /package/dist/stzh-components/{p-95f80efd.entry.js.map → p-933a997b.entry.js.map} +0 -0
  878. /package/dist/stzh-components/{p-4e5ead8e.entry.js.map → p-941c59a1.entry.js.map} +0 -0
  879. /package/dist/stzh-components/{p-a6bb650c.entry.js.map → p-94234536.entry.js.map} +0 -0
  880. /package/dist/stzh-components/{p-22728170.entry.js.map → p-94332a2f.entry.js.map} +0 -0
  881. /package/dist/stzh-components/{p-9a42bf5a.entry.js.map → p-96ed7cff.entry.js.map} +0 -0
  882. /package/dist/stzh-components/{p-f34cb4d3.entry.js.map → p-9a12c249.entry.js.map} +0 -0
  883. /package/dist/stzh-components/{p-4980cac6.entry.js.map → p-9d32c5f8.entry.js.map} +0 -0
  884. /package/dist/stzh-components/{p-673449d3.entry.js.map → p-a325a600.entry.js.map} +0 -0
  885. /package/dist/stzh-components/{p-21864dc6.entry.js.map → p-a351ded1.entry.js.map} +0 -0
  886. /package/dist/stzh-components/{p-162ea47b.entry.js.map → p-a373717a.entry.js.map} +0 -0
  887. /package/dist/stzh-components/{p-ba0f9d98.entry.js.map → p-a4341710.entry.js.map} +0 -0
  888. /package/dist/stzh-components/{p-1268e055.entry.js.map → p-a5943a0e.entry.js.map} +0 -0
  889. /package/dist/stzh-components/{p-09c5b4f4.entry.js.map → p-aa0b3b3f.entry.js.map} +0 -0
  890. /package/dist/stzh-components/{p-cf998c9e.entry.js.map → p-ac36cc05.entry.js.map} +0 -0
  891. /package/dist/stzh-components/{p-a1a810cc.entry.js.map → p-aff36500.entry.js.map} +0 -0
  892. /package/dist/stzh-components/{p-1f36d924.entry.js.map → p-b07fab76.entry.js.map} +0 -0
  893. /package/dist/stzh-components/{p-dbdf2dda.entry.js.map → p-b1b18fc9.entry.js.map} +0 -0
  894. /package/dist/stzh-components/{p-f7095605.entry.js.map → p-b5b24de2.entry.js.map} +0 -0
  895. /package/dist/stzh-components/{p-e7943c14.entry.js.map → p-b6486e4f.entry.js.map} +0 -0
  896. /package/dist/stzh-components/{p-614801db.entry.js.map → p-b6e59bf6.entry.js.map} +0 -0
  897. /package/dist/stzh-components/{p-5ef55c3a.entry.js.map → p-b88d8397.entry.js.map} +0 -0
  898. /package/dist/stzh-components/{p-8f4fd7e8.entry.js.map → p-c11a631e.entry.js.map} +0 -0
  899. /package/dist/stzh-components/{p-8a2c72fc.entry.js.map → p-c46f2de6.entry.js.map} +0 -0
  900. /package/dist/stzh-components/{p-67134205.entry.js.map → p-c6ed907f.entry.js.map} +0 -0
  901. /package/dist/stzh-components/{p-370cec66.entry.js.map → p-caf8c562.entry.js.map} +0 -0
  902. /package/dist/stzh-components/{p-20381eb6.entry.js.map → p-d30ed5bf.entry.js.map} +0 -0
  903. /package/dist/stzh-components/{p-23399476.entry.js.map → p-d34cd79a.entry.js.map} +0 -0
  904. /package/dist/stzh-components/{p-92d44643.entry.js.map → p-d692bad8.entry.js.map} +0 -0
  905. /package/dist/stzh-components/{p-a5d5cf67.entry.js.map → p-da675ebc.entry.js.map} +0 -0
  906. /package/dist/stzh-components/{p-4c6a88dd.entry.js.map → p-ddaa57a3.entry.js.map} +0 -0
  907. /package/dist/stzh-components/{p-1278339e.entry.js.map → p-dec6794a.entry.js.map} +0 -0
  908. /package/dist/stzh-components/{p-8547dd85.entry.js.map → p-e3e91b00.entry.js.map} +0 -0
  909. /package/dist/stzh-components/{p-c6237f22.entry.js.map → p-e8b5a3ed.entry.js.map} +0 -0
  910. /package/dist/stzh-components/{p-8cd52c56.entry.js.map → p-eb706f97.entry.js.map} +0 -0
  911. /package/dist/stzh-components/{p-b672e1ac.entry.js.map → p-ec72bc97.entry.js.map} +0 -0
  912. /package/dist/stzh-components/{p-ab37318f.entry.js.map → p-ed010ef4.entry.js.map} +0 -0
  913. /package/dist/stzh-components/{p-4b70f6d5.entry.js.map → p-ee9d3297.entry.js.map} +0 -0
  914. /package/dist/stzh-components/{p-f278ac2e.entry.js.map → p-ef9b206b.entry.js.map} +0 -0
  915. /package/dist/stzh-components/{p-aee3740b.entry.js.map → p-f23dae56.entry.js.map} +0 -0
  916. /package/dist/stzh-components/{p-fe5cfbfd.entry.js.map → p-f2a4ffe1.entry.js.map} +0 -0
  917. /package/dist/stzh-components/{p-2f5f9451.entry.js.map → p-f4520f18.entry.js.map} +0 -0
  918. /package/dist/stzh-components/{p-496db660.entry.js.map → p-fe445cd9.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"stzh-amount.entry.js","sources":["src/components/stzh-amount/stzh-amount.scss?tag=stzh-amount&encapsulation=scoped","src/components/stzh-amount/stzh-amount.tsx"],"sourcesContent":[":host {\n}\n\n.stzh-amount {\n &__stepper-wrapper {\n display: flex;\n align-items: flex-start;\n gap: space(\"medium\");\n }\n\n &__buttongroup {\n margin-top: 19.5px + 2px; // input label height + margin\n }\n\n stzh-input#{&}__stepper-input {\n --text-align: center;\n width: 100%;\n }\n}\n","import { Component, Host, Prop, h, Watch, Element, Event, EventEmitter } from \"@stencil/core\";\n\nimport { StzhDropdownOption, StzhAmountChangeEvent, StzhDropdownChangeEvent, StzhInputChangeEvent } from \"../../index\";\n\nimport { StzhAmountLocalizedText } from \"./stzh-amount.localization\";\n\nlet amountCounter = 0;\n\n@Component({\n tag: \"stzh-amount\",\n styleUrl: \"stzh-amount.scss\",\n scoped: true,\n})\nexport class StzhAmount {\n /** The lowest allowed amount (can be negative). */\n @Prop() minValue: number = -9007199254740991;\n\n /** The highest allowed amount. */\n @Prop() maxValue: number = 9007199254740991;\n\n /** The lowest amount as option in the dropdown. Needs to be set to initially display a dropdown. */\n @Prop() minValueDropdown: number | null = null;\n\n /** The highest amount as option in the dropdown. Needs to be set to initially display a dropdown. */\n @Prop() maxValueDropdown: number | null = null;\n private _showDropdown: boolean =\n !Number.isNaN(this.minValueDropdown) &&\n !Number.isNaN(this.maxValueDropdown) &&\n this.minValueDropdown < this.maxValueDropdown;\n\n private _dropdownOptions: StzhDropdownOption[];\n\n /** The initial value of the amount element */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** The step the amount can be increased or decreased */\n @Prop() step: number = 1;\n\n /** Name of the element (hidden select element in case of dropdown) */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** Size variant */\n @Prop({ reflect: true }) size: \"default\" | \"small\" = \"default\";\n\n /** Whether the amount component is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Popover placement for the dropdown (if applicable) */\n @Prop({ reflect: true }) popoverPlacement:\n | \"bottom\"\n | \"bottom-end\"\n | \"bottom-center\"\n | \"top\"\n | \"top-end\"\n | \"top-center\" = \"bottom\";\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Whether label is hidden. */\n @Prop() labelHidden: boolean = false;\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Whether clearable button is showing for the input field (does not apply to dropdown) */\n @Prop({ reflect: true }) clearable: boolean = false;\n\n /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\n\n /** Description placed below the amount */\n @Prop() description: string;\n\n /** Long description message appearing in a popover */\n @Prop() descriptionLong: string;\n\n /** One or multiple error message(s) */\n @Prop({ mutable: true }) error: string | string[];\n\n /** Id of the element which describes the input */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Translation strings. */\n @Prop() localization: StzhAmountLocalizedText;\n\n @Watch(\"minValueDropdown\")\n @Watch(\"maxValueDropdown\")\n minMaxValueDropdownWatcher() {\n this.setDropdownOptions();\n }\n\n /** Amount change event */\n @Event() stzhChange: EventEmitter<StzhAmountChangeEvent>;\n\n @Element() element: HTMLStzhAmountElement;\n\n private amountId: string;\n private stepperInputId: string;\n private input: HTMLStzhInputElement | HTMLStzhDropdownElement;\n\n private onRootFocus = () => {\n if (this.input) {\n this.input.focus();\n }\n };\n\n /** Fill the dropdown with options according to maxValueDropdown & minValueDropdown. */\n private setDropdownOptions() {\n if (!this._showDropdown) {\n return;\n }\n\n const options = [];\n\n for (let i = this.minValueDropdown; i <= this.maxValueDropdown; i++) {\n options.push({ text: i.toString(), value: i.toString() });\n }\n if (this.maxValue != undefined && this.maxValue > this.maxValueDropdown) {\n options.push({ text: `${this.maxValueDropdown.toString()}+`, value: this.dropdownItemPlusValue });\n }\n\n this._dropdownOptions = options;\n }\n\n private get dropdownItemPlusValue(): string {\n return (this.maxValueDropdown + this.step).toString();\n }\n\n /** Handling dropdown changes (switch to input stepper if the plus option is selected in the dropdown). */\n private onDropdownChange = (event: CustomEvent<StzhDropdownChangeEvent>) => {\n if (event.detail.value === this.dropdownItemPlusValue) {\n this._showDropdown = false;\n }\n\n this.value = Array.isArray(event.detail.value) ? event.detail.value[0] : event.detail.value;\n\n this.stzhChange.emit({\n component: \"stzh-amount\",\n value: this.value,\n });\n };\n\n /** Handling the minus button. */\n private onInputMinusStepClick = () => {\n if (Number(this.value) <= this.minValue) {\n return;\n }\n\n this.value = (Number(this.value) - this.step).toString();\n this.value = this.roundToStep(Number(this.value)).toString();\n\n this.stzhChange.emit({\n component: \"stzh-amount\",\n value: this.value,\n });\n };\n\n /** Handling the plus button. */\n private onInputPlusStepClick = () => {\n if (Number(this.value) >= this.maxValue) {\n return;\n }\n\n this.value = (Number(this.value) + this.step).toString();\n this.value = this.roundToStep(Number(this.value)).toString();\n\n this.stzhChange.emit({\n component: \"stzh-amount\",\n value: this.value,\n });\n };\n\n /** Handling manual value change of the stepper input. */\n private onStepperInputChange = (event: CustomEvent<StzhInputChangeEvent>) => {\n this.value = event.detail.value;\n\n this.stzhChange.emit({\n component: \"stzh-amount\",\n value: this.value,\n });\n };\n\n /** Making sure, that the value is rounded correctly according to the step */\n private roundToStep(input: number): number {\n const decimals = Math.max(0, -Math.floor(Math.log10(this.step)));\n const factor = Math.pow(10, decimals);\n const rounded = Math.round(input / this.step) * this.step;\n return Number(((rounded * factor) / factor).toFixed(decimals));\n }\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"amount\");\n }\n\n this.amountId = `stzh-amount-${amountCounter++}`;\n\n if (this._showDropdown) {\n this.setDropdownOptions();\n } else {\n this.stepperInputId = `${this.amountId}-stepper-input`;\n }\n }\n\n private renderDropdown(): HTMLDivElement {\n const classes = {\n \"stzh-amount__dropdown\": true,\n [`stzh-amount--popover-placement-${this.popoverPlacement}`]: !!this.popoverPlacement,\n };\n return (\n <div class={classes}>\n <stzh-dropdown\n ref={el => (this.input = el as HTMLStzhDropdownElement)}\n options={this._dropdownOptions}\n items={[this.value]}\n label={this.label}\n labelHidden={this.labelHidden}\n required={this.required}\n disabled={this.disabled}\n description={this.description}\n descriptionLong={this.descriptionLong}\n error={this.error}\n invalid={this.invalid}\n popoverPlacement={this.popoverPlacement}\n a11yDescribedby={this.a11yDescribedby}\n name={this.name}\n size={this.size}\n hideOptional={this.hideOptional}\n onStzhChange={this.onDropdownChange}\n ></stzh-dropdown>\n </div>\n );\n }\n\n private renderInputStepper(): HTMLDivElement {\n return (\n <div class=\"stzh-amount__stepper\">\n <div class=\"stzh-amount__stepper-wrapper\">\n <stzh-input\n ref={el => (this.input = el as HTMLStzhInputElement)}\n class=\"stzh-amount__stepper-input\"\n value={this.value}\n type=\"number\"\n label={this.label}\n labelHidden={this.labelHidden}\n min={this.minValue}\n max={this.maxValue}\n error={this.error}\n invalid={this.invalid}\n required={this.required}\n name={this.name}\n id={this.stepperInputId}\n size={this.size}\n step={this.step}\n showSpin={true}\n hideOptional={this.hideOptional}\n description={this.description}\n descriptionLong={this.descriptionLong}\n clearable={this.clearable}\n disabled={this.disabled}\n a11yDescribedby={this.a11yDescribedby}\n onStzhChange={this.onStepperInputChange}\n ></stzh-input>\n <stzh-buttongroup class=\"stzh-amount__buttongroup\">\n <stzh-button\n class=\"stzh-amount__stepper-minus\"\n onClick={this.onInputMinusStepClick}\n variant=\"secondary\"\n icon=\"minus\"\n iconOnly={true}\n a11yControls={this.stepperInputId}\n a11yDescribedby={this.a11yDescribedby}\n a11yLabel={`${this.label} ${this.localization.stepperMinusLabel}, ${this.localization.selectedAmountMessage} ${this.value}`}\n size={this.size}\n a11yDisabled={Number(this.value) <= this.minValue || this.disabled}\n disabled={this.disabled}\n ></stzh-button>\n <stzh-button\n class=\"stzh-amount__stepper-plus\"\n onClick={this.onInputPlusStepClick}\n variant=\"secondary\"\n icon=\"plus\"\n iconOnly={true}\n a11yControls={this.stepperInputId}\n a11yDescribedby={this.a11yDescribedby}\n a11yLabel={`${this.label} ${this.localization.stepperPlusLabel}, ${this.localization.selectedAmountMessage} ${this.value}`}\n size={this.size}\n a11yDisabled={Number(this.value) >= this.maxValue || this.disabled}\n disabled={this.disabled}\n ></stzh-button>\n </stzh-buttongroup>\n </div>\n </div>\n );\n }\n\n render() {\n const classes = {\n \"stzh-amount\": true,\n \"stzh-amount--has-description\": !!this.description,\n \"stzh-amount--has-description-long\": !!this.descriptionLong,\n \"stzh-amount--has-error\": !!this.error,\n \"stzh-amount--is-required\": !!this.required,\n \"stzh-amount--is-disabled\": !!this.disabled,\n };\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes} id={this.amountId}>\n {this._showDropdown ? this.renderDropdown() : this.renderInputStepper()}\n </div>\n </Host>\n );\n }\n}\n"],"names":[],"mappings":";;AAAA,MAAM,aAAa,GAAG,MAAM,CAAC,63CAA63C,CAAC;;ACM35C,IAAI,aAAa,GAAG,CAAC;MAOR,UAAU,GAAA,MAAA;AALvB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;AAOU,QAAA,IAAQ,CAAA,QAAA,GAAW,iBAAiB;;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,0CAAA,EAAK,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,IAAI,CAAC,QAAQ,EAAA,EACnC,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,cAAc,EAAE,GAAG,IAAI,CAAC,kBAAkB,EAAE,CACnE,CACD;;;;;;;;;;;;"}
1
+ {"version":3,"file":"stzh-amount.entry.js","sources":["src/components/stzh-amount/stzh-amount.scss?tag=stzh-amount&encapsulation=scoped","src/components/stzh-amount/stzh-amount.tsx"],"sourcesContent":[":host {\n}\n\n.stzh-amount {\n &__stepper-wrapper {\n display: flex;\n align-items: flex-start;\n gap: space(\"medium\");\n }\n\n &__buttongroup {\n margin-top: 19.5px + 2px; // input label height + margin\n }\n\n stzh-input#{&}__stepper-input {\n --text-align: center;\n width: 100%;\n }\n}\n","import { Component, Host, Prop, h, Watch, Element, Event, EventEmitter } from \"@stencil/core\";\n\nimport { StzhDropdownOption, StzhAmountChangeEvent, StzhDropdownChangeEvent, StzhInputChangeEvent } from \"../../index\";\n\nimport { StzhAmountLocalizedText } from \"./stzh-amount.localization\";\n\nlet amountCounter = 0;\n\n@Component({\n tag: \"stzh-amount\",\n styleUrl: \"stzh-amount.scss\",\n scoped: true,\n})\nexport class StzhAmount {\n /** The lowest allowed amount (can be negative). */\n @Prop() minValue: number = -9007199254740991;\n\n /** The highest allowed amount. */\n @Prop() maxValue: number = 9007199254740991;\n\n /** The lowest amount as option in the dropdown. Needs to be set to initially display a dropdown. */\n @Prop() minValueDropdown: number | null = null;\n\n /** The highest amount as option in the dropdown. Needs to be set to initially display a dropdown. */\n @Prop() maxValueDropdown: number | null = null;\n private _showDropdown: boolean =\n !Number.isNaN(this.minValueDropdown) &&\n !Number.isNaN(this.maxValueDropdown) &&\n this.minValueDropdown < this.maxValueDropdown;\n\n private _dropdownOptions: StzhDropdownOption[];\n\n /** The initial value of the amount element */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** The step the amount can be increased or decreased */\n @Prop() step: number = 1;\n\n /** Name of the element (hidden select element in case of dropdown) */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** Size variant */\n @Prop({ reflect: true }) size: \"default\" | \"small\" = \"default\";\n\n /** Whether the amount component is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Popover placement for the dropdown (if applicable) */\n @Prop({ reflect: true }) popoverPlacement:\n | \"bottom\"\n | \"bottom-end\"\n | \"bottom-center\"\n | \"top\"\n | \"top-end\"\n | \"top-center\" = \"bottom\";\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Whether label is hidden. */\n @Prop() labelHidden: boolean = false;\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Whether clearable button is showing for the input field (does not apply to dropdown) */\n @Prop({ reflect: true }) clearable: boolean = false;\n\n /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\n\n /** Description placed below the amount */\n @Prop() description: string;\n\n /** Long description message appearing in a popover */\n @Prop() descriptionLong: string;\n\n /** One or multiple error message(s) */\n @Prop({ mutable: true }) error: string | string[];\n\n /** Id of the element which describes the input */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Translation strings. */\n @Prop() localization: StzhAmountLocalizedText;\n\n @Watch(\"minValueDropdown\")\n @Watch(\"maxValueDropdown\")\n minMaxValueDropdownWatcher() {\n this.setDropdownOptions();\n }\n\n /** Amount change event */\n @Event() stzhChange: EventEmitter<StzhAmountChangeEvent>;\n\n @Element() element: HTMLStzhAmountElement;\n\n private amountId: string;\n private stepperInputId: string;\n private input: HTMLStzhInputElement | HTMLStzhDropdownElement;\n\n private onRootFocus = () => {\n if (this.input) {\n this.input.focus();\n }\n };\n\n /** Fill the dropdown with options according to maxValueDropdown & minValueDropdown. */\n private setDropdownOptions() {\n if (!this._showDropdown) {\n return;\n }\n\n const options = [];\n\n for (let i = this.minValueDropdown; i <= this.maxValueDropdown; i++) {\n options.push({ text: i.toString(), value: i.toString() });\n }\n if (this.maxValue != undefined && this.maxValue > this.maxValueDropdown) {\n options.push({ text: `${this.maxValueDropdown.toString()}+`, value: this.dropdownItemPlusValue });\n }\n\n this._dropdownOptions = options;\n }\n\n private get dropdownItemPlusValue(): string {\n return (this.maxValueDropdown + this.step).toString();\n }\n\n /** Handling dropdown changes (switch to input stepper if the plus option is selected in the dropdown). */\n private onDropdownChange = (event: CustomEvent<StzhDropdownChangeEvent>) => {\n const newValue = event.detail.value;\n if (newValue === this.dropdownItemPlusValue) {\n this._showDropdown = false;\n }\n\n this.value = Array.isArray(newValue) ? String(newValue[0]) : String(newValue);\n\n this.stzhChange.emit({\n component: \"stzh-amount\",\n value: this.value,\n });\n };\n\n /** Handling the minus button. */\n private onInputMinusStepClick = () => {\n if (Number(this.value) <= this.minValue) {\n return;\n }\n\n this.value = (Number(this.value) - this.step).toString();\n this.value = this.roundToStep(Number(this.value)).toString();\n\n this.stzhChange.emit({\n component: \"stzh-amount\",\n value: this.value,\n });\n };\n\n /** Handling the plus button. */\n private onInputPlusStepClick = () => {\n if (Number(this.value) >= this.maxValue) {\n return;\n }\n\n this.value = (Number(this.value) + this.step).toString();\n this.value = this.roundToStep(Number(this.value)).toString();\n\n this.stzhChange.emit({\n component: \"stzh-amount\",\n value: this.value,\n });\n };\n\n /** Handling manual value change of the stepper input. */\n private onStepperInputChange = (event: CustomEvent<StzhInputChangeEvent>) => {\n this.value = event.detail.value;\n\n this.stzhChange.emit({\n component: \"stzh-amount\",\n value: this.value,\n });\n };\n\n /** Making sure, that the value is rounded correctly according to the step */\n private roundToStep(input: number): number {\n const decimals = Math.max(0, -Math.floor(Math.log10(this.step)));\n const factor = Math.pow(10, decimals);\n const rounded = Math.round(input / this.step) * this.step;\n return Number(((rounded * factor) / factor).toFixed(decimals));\n }\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"amount\");\n }\n\n this.amountId = `stzh-amount-${amountCounter++}`;\n\n if (this._showDropdown) {\n this.setDropdownOptions();\n } else {\n this.stepperInputId = `${this.amountId}-stepper-input`;\n }\n }\n\n private renderDropdown(): HTMLDivElement {\n const classes = {\n \"stzh-amount__dropdown\": true,\n [`stzh-amount--popover-placement-${this.popoverPlacement}`]: !!this.popoverPlacement,\n };\n return (\n <div class={classes}>\n <stzh-dropdown\n ref={el => (this.input = el as HTMLStzhDropdownElement)}\n options={this._dropdownOptions}\n items={[this.value]}\n label={this.label}\n labelHidden={this.labelHidden}\n required={this.required}\n disabled={this.disabled}\n description={this.description}\n descriptionLong={this.descriptionLong}\n error={this.error}\n invalid={this.invalid}\n popoverPlacement={this.popoverPlacement}\n a11yDescribedby={this.a11yDescribedby}\n name={this.name}\n size={this.size}\n hideOptional={this.hideOptional}\n onStzhChange={this.onDropdownChange}\n ></stzh-dropdown>\n </div>\n );\n }\n\n private renderInputStepper(): HTMLDivElement {\n return (\n <div class=\"stzh-amount__stepper\">\n <div class=\"stzh-amount__stepper-wrapper\">\n <stzh-input\n ref={el => (this.input = el as HTMLStzhInputElement)}\n class=\"stzh-amount__stepper-input\"\n value={this.value}\n type=\"number\"\n label={this.label}\n labelHidden={this.labelHidden}\n min={this.minValue}\n max={this.maxValue}\n error={this.error}\n invalid={this.invalid}\n required={this.required}\n name={this.name}\n id={this.stepperInputId}\n size={this.size}\n step={this.step}\n showSpin={true}\n hideOptional={this.hideOptional}\n description={this.description}\n descriptionLong={this.descriptionLong}\n clearable={this.clearable}\n disabled={this.disabled}\n a11yDescribedby={this.a11yDescribedby}\n onStzhChange={this.onStepperInputChange}\n ></stzh-input>\n <stzh-buttongroup class=\"stzh-amount__buttongroup\">\n <stzh-button\n class=\"stzh-amount__stepper-minus\"\n onClick={this.onInputMinusStepClick}\n variant=\"secondary\"\n icon=\"minus\"\n iconOnly={true}\n a11yControls={this.stepperInputId}\n a11yDescribedby={this.a11yDescribedby}\n a11yLabel={`${this.label} ${this.localization.stepperMinusLabel}, ${this.localization.selectedAmountMessage} ${this.value}`}\n size={this.size}\n a11yDisabled={Number(this.value) <= this.minValue || this.disabled}\n disabled={this.disabled}\n ></stzh-button>\n <stzh-button\n class=\"stzh-amount__stepper-plus\"\n onClick={this.onInputPlusStepClick}\n variant=\"secondary\"\n icon=\"plus\"\n iconOnly={true}\n a11yControls={this.stepperInputId}\n a11yDescribedby={this.a11yDescribedby}\n a11yLabel={`${this.label} ${this.localization.stepperPlusLabel}, ${this.localization.selectedAmountMessage} ${this.value}`}\n size={this.size}\n a11yDisabled={Number(this.value) >= this.maxValue || this.disabled}\n disabled={this.disabled}\n ></stzh-button>\n </stzh-buttongroup>\n </div>\n </div>\n );\n }\n\n render() {\n const classes = {\n \"stzh-amount\": true,\n \"stzh-amount--has-description\": !!this.description,\n \"stzh-amount--has-description-long\": !!this.descriptionLong,\n \"stzh-amount--has-error\": !!this.error,\n \"stzh-amount--is-required\": !!this.required,\n \"stzh-amount--is-disabled\": !!this.disabled,\n };\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n <div class={classes} id={this.amountId}>\n {this._showDropdown ? this.renderDropdown() : this.renderInputStepper()}\n </div>\n </Host>\n );\n }\n}\n"],"names":[],"mappings":";;AAAA,MAAM,aAAa,GAAG,MAAM,CAAC,63CAA63C,CAAC;;ACM35C,IAAI,aAAa,GAAG,CAAC;MAOR,UAAU,GAAA,MAAA;AALvB,IAAA,WAAA,CAAA,OAAA,EAAA;;;;AAOU,QAAA,IAAQ,CAAA,QAAA,GAAW,iBAAiB;;AAGpC,QAAA,IAAQ,CAAA,QAAA,GAAW,gBAAgB;;AAGnC,QAAA,IAAgB,CAAA,gBAAA,GAAkB,IAAI;;AAGtC,QAAA,IAAgB,CAAA,gBAAA,GAAkB,IAAI;QACtC,IAAa,CAAA,aAAA,GACnB,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC;AACpC,YAAA,CAAC,MAAM,CAAC,KAA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ybvcm.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, d as getElement } from './index-CIPExL1Q.js';
2
2
 
3
3
  const stzhAnchornavCss = () => `.sc-stzh-anchornav-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-anchornav-h,[stzh-hidden].sc-stzh-anchornav-h{display:none}.sc-stzh-anchornav-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-anchornav-h *.sc-stzh-anchornav,.sc-stzh-anchornav-h *.sc-stzh-anchornav::before,.sc-stzh-anchornav-h *.sc-stzh-anchornav::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-anchornav-h .has-focus.sc-stzh-anchornav{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-anchornav-h .stzh-fylingfocus-focused.sc-stzh-anchornav{outline-style:none !important}.sc-stzh-anchornav-h .stzh-fylingfocus-focused.sc-stzh-anchornav::-moz-focus-inner{border:0 !important}.sc-stzh-anchornav-h{--color:var(--stzh-anchornav-color, var(--stzh-color-primary));--hover-color:var(--stzh-anchornav-hover-color, var(--stzh-color-primary))}.stzh-anchornav.sc-stzh-anchornav{margin-top:var(--stzh-space-large)}@media screen and (min-width: 600px){.stzh-anchornav.sc-stzh-anchornav{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.stzh-anchornav.sc-stzh-anchornav{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-anchornav.sc-stzh-anchornav{margin-top:var(--stzh-space-xxxlarge)}}.stzh-anchornav__list.sc-stzh-anchornav{display:grid;gap:var(--stzh-space-xsmall)}.stzh-anchornav__item.sc-stzh-anchornav{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);display:grid;grid-template-columns:minmax(0, 1fr) auto;gap:var(--stzh-space-xsmall);align-items:start;padding:var(--stzh-space-medium) 1.25rem;background-color:var(--stzh-color-grey10);color:var(--color);text-decoration:none}@media screen and (min-width: 600px){.stzh-anchornav__item.sc-stzh-anchornav{padding-left:2rem;padding-right:2rem}}@media screen and (min-width: 900px){.stzh-anchornav__item.sc-stzh-anchornav{padding-left:2.5rem;padding-right:2.5rem}}@media screen and (min-width: 1260px){.stzh-anchornav__item.sc-stzh-anchornav{padding-left:var(--stzh-space-xxxlarge);padding-right:var(--stzh-space-large)}}.stzh-anchornav__item.sc-stzh-anchornav:hover{color:var(--hover-color)}`;
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, a as Host, d as getElement } from './index-Boyybvcm.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, d as getElement } from './index-CIPExL1Q.js';
2
2
 
3
3
  const stzhAppNavCss = () => `:host{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}:host[hidden],:host[stzh-hidden]{display:none}:host::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}:host *,:host *::before,:host *::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}:host{}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}.stzh-app-nav{background-color:var(--stzh-color-coolgrey10)}@media screen and (max-width: 899px){.stzh-app-nav{height:var(--stzh-app-nav-height)}}.stzh-app-nav__links{display:flex;flex-direction:row;justify-content:space-between;padding:var(--stzh-space-medium) var(--stzh-space-large) var(--stzh-space-xlarge)}@media screen and (min-width: 900px){.stzh-app-nav__links{padding:0;align-items:center}}.stzh-app-nav__link,.stzh-app-nav .stzh-app-nav__link a{--text-decoration-line:none;--hover-text-decoration-line:none;color:var(--stzh-color-coolgrey90)}@media screen and (min-width: 900px){.stzh-app-nav__link,.stzh-app-nav .stzh-app-nav__link a{margin-right:var(--stzh-space-xlarge)}}.stzh-app-nav__link:last-child,.stzh-app-nav .stzh-app-nav__link a:last-child{margin-right:0}.stzh-app-nav__link:hover,.stzh-app-nav .stzh-app-nav__link a:hover{color:var(--stzh-color-primary60)}.stzh-app-nav .stzh-app-nav__link a.stzh-link--is-active,.stzh-app-nav .stzh-app-nav__link.stzh-link--is-active{text-decoration:none;color:var(--stzh-color-primary70)}@media screen and (min-width: 900px){.stzh-app-nav .stzh-app-nav__link a.stzh-link--is-active,.stzh-app-nav .stzh-app-nav__link.stzh-link--is-active{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy)}}.stzh-app-nav .stzh-link__inner{flex-direction:column}@media screen and (min-width: 900px){.stzh-app-nav .stzh-link__inner{flex-direction:row}}.stzh-app-nav .stzh-link__text{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);font-size:var(--stzh-font-pico-font-size);line-height:var(--stzh-font-pico-text-line-height)}@media screen and (min-width: 900px){.stzh-app-nav .stzh-link__text{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);font-weight:var(--stzh-font-weight-medium)}}.stzh-app-nav .stzh-link__icon-wrapper.sc-stzh-link:not(:empty)+.stzh-link__text.sc-stzh-link:not(:empty),.stzh-app-nav .stzh-link__text.sc-stzh-link:not(:empty)+.stzh-link__icon-wrapper.sc-stzh-link:not(:empty){margin-top:var(--stzh-space-xxsmall);margin-left:0}@media screen and (min-width: 900px){.stzh-app-nav .stzh-link__icon-wrapper.sc-stzh-link:not(:empty)+.stzh-link__text.sc-stzh-link:not(:empty),.stzh-app-nav .stzh-link__text.sc-stzh-link:not(:empty)+.stzh-link__icon-wrapper.sc-stzh-link:not(:empty){margin-left:var(--stzh-space-xsmall);margin-top:0}}`;
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, a as Host, d as getElement } from './index-Boyybvcm.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, d as getElement } from './index-CIPExL1Q.js';
2
2
  import { tc } from './index.js';
3
3
  import { p as parseISODate, a as printISODate } from './date-utils-Df1Iqnz9.js';
4
4
  import { h as hasSlot } from './utils-BnOofzDv.js';
@@ -260,7 +260,7 @@ const StzhAppointments = class {
260
260
  "stzh-appointments--has-appointments-title": this.showAppointmentsTitle,
261
261
  "stzh-appointments--has-sort": this.showSort,
262
262
  };
263
- return (h(Host, { key: 'd552fe2bab907623afc63febd583902cd1f8ef95', "has-heading": headingUsed }, h("div", { key: 'ddec23270d01296c39f07076e4fe693663b37cf6', class: classes }, h("div", { key: '7a883fe0dfead4608974893de6e0ee0abf70f428', class: "stzh-appointments__heading" }, h("slot", { key: 'a2b59113c80e296e604853d59479fbfd8c93a4f8', name: "heading" })), h("div", { key: 'a60ca5b73afb12c12e455eb2fa27ef28e416daf2', class: "stzh-appointments__wrapper" }, this.showCalendar && (h("div", { key: '60aacac03f74de6105ba25c831952264073e5993', class: "stzh-appointments__calendar-wrapper" }, h("div", { key: 'b64f00ecae88283f0838d8f2f3bb3fded0ea6b9e', class: "stzh-appointments__calendar-title-wrapper" }, h("div", { key: '5aa8fc0c9fc08f2fedda08d1880858de4bef49e8', class: "stzh-appointments__calendar-title" }, h("stzh-icon", { key: '6ea1930cb4f4c7950d7d229bc7dc177095050f1d', class: "stzh-appointments__calendar-icon", name: "calendar" }), h("span", { key: 'ffd9ef1e3512990b31b0a06b6b2a089ddc334603', class: "stzh-appointments__calendar-title-text" }, this.calendarTitle || this.localization.calendarTitle))), h("div", { key: '5ed6cdb85dfb10be4bbf67f01f5459ebe296cf80', class: "stzh-appointments__calendar-content" }, h("stzh-datepicker", { key: '901f87d8024fd0ed31ea8f4176aecac61ad0002e', "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: 'cfa4828130bc87f23a6113f2f654dc7e238465a3', slot: "action", size: "inherit", disabled: !this.nextDate, onClick: this.onNextActiveDateClick }, this.localization.nextDayWithAppointments))), h("div", { key: 'ca9dcc59a8acce40e5fc90abf20116b55507e2ac', class: "stzh-appointments__calendar-content-medium" }, h("stzh-datepicker", { key: '9a416d3a9959a5dc74e564c7aa97870c43162f6a', "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: 'b9ee3f0b1f94dde1f9aef692cc272b6f0e92b931', slot: "action", size: "inherit", onClick: this.onNextActiveDateClick }, this.localization.nextDayWithAppointments)))))), h("div", { key: 'c0c41f51a0828c61fe1b82f147e804ed7efe7bff', class: "stzh-appointments__appointments-wrapper" }, this.showAppointmentsTitle && (h("div", { key: 'acd0fbbe7fa921b5120d0442f4132bc7d782bd39', class: "stzh-appointments__appointments-title-wrapper" }, h("div", { key: '59dcd422d5a7486e60c1d81807559bc8b0daf6d3', class: "stzh-appointments__appointments-title" }, h("stzh-icon", { key: 'ff53735e3f94bdb6a849ff20519ef312a5b02d90', class: "stzh-appointments__appointments-icon", name: "clock" }), h("span", { key: '16334d1fd7cebbfdc07d67d603b90fd36cfd0fe7', class: "stzh-appointments__appointments-title-text" }, this.appointmentsTitle || this.localization.appointmentsTitle)), this.showSort && (h("div", { key: '74c415580db08a5c553149e37e2bb6c6cf583aa8', class: "stzh-appointments__sort" }, h("stzh-dropdown", { key: '190b11541a4bc7f5cf23de82e747d097e26709be', "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: '7cf7e4a95945c19246254a3cbb392ea83eef0f6c', class: "stzh-appointments__appointments-content" }, h("stzh-radiogroup", { key: '65edc7f32cbad55920abd125f458379f4583e771', 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: '0eb25401136eb481fc24eb0b27c6951c5991a53a', class: "stzh-appointments__more-link", size: "inherit", onClick: this.onMoreClick }, tc(this.localization.moreTextItems, this.moreItemsLeft > this.stepItems ? this.stepItems : this.moreItemsLeft)))))))));
263
+ return (h(Host, { key: '45a1a0e9a1f68e14d4add35ce9392b9c9e4c8df4', "has-heading": headingUsed }, h("div", { key: '0dd2845d3bcfe16e08c6e11beafd2a4847e4a6d2', class: classes }, h("div", { key: '81067356bb6bd06297730ce495e22f26f4d2fe25', class: "stzh-appointments__heading" }, h("slot", { key: '4038a7d3111f70b6a6671605e3706e623ff3a3c6', name: "heading" })), h("div", { key: '536199ba18b9777c8e672af21f49b6e0752f256c', class: "stzh-appointments__wrapper" }, this.showCalendar && (h("div", { key: 'd9f7cfba9203f63ba8a68ad8a5597d789594f776', class: "stzh-appointments__calendar-wrapper" }, h("div", { key: 'badb2028897578dfd0e6bce7a73d1b74bc4cce76', class: "stzh-appointments__calendar-title-wrapper" }, h("div", { key: '200265edc5281299d8728c04fe101f740b9e1f92', class: "stzh-appointments__calendar-title" }, h("stzh-icon", { key: 'f37ad30c337170a64fa411b490203964fa0a032f', class: "stzh-appointments__calendar-icon", name: "calendar" }), h("span", { key: 'f3dd2d3c9f74366996c077e2732f9a7b02d80523', class: "stzh-appointments__calendar-title-text" }, this.calendarTitle || this.localization.calendarTitle))), h("div", { key: '8f6ce3ed8c37cf74bd0b3708d5452caf8438d2d2', class: "stzh-appointments__calendar-content" }, h("stzh-datepicker", { key: '55b6d027915de0ae9de5c2e163a98776bc243336', "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: 'b185f6461c45501ef37c788b681788a117f6b66f', slot: "action", size: "inherit", disabled: !this.nextDate, onClick: this.onNextActiveDateClick }, this.localization.nextDayWithAppointments))), h("div", { key: '7c56e9d7fb9c17ab92ed8051bbd7fb0e7ea991f6', class: "stzh-appointments__calendar-content-medium" }, h("stzh-datepicker", { key: '773bb5f150ce2c2ced64a361085d6317485b9147', "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: '7745039cacc2ab959f11924d7857b21db6886f43', slot: "action", size: "inherit", onClick: this.onNextActiveDateClick }, this.localization.nextDayWithAppointments)))))), h("div", { key: '5e6b3cdf076a509b701e0629c24fe15e28ea74a5', class: "stzh-appointments__appointments-wrapper" }, this.showAppointmentsTitle && (h("div", { key: 'dcfb80bbe8d3d05e8fc03f493e9e1b405677ebd7', class: "stzh-appointments__appointments-title-wrapper" }, h("div", { key: 'd1bf717c7da3cdfebb5778714dff48f0492fa5d0', class: "stzh-appointments__appointments-title" }, h("stzh-icon", { key: '7ca2df7695ecca219a5d3369c7888c8a65e896b5', class: "stzh-appointments__appointments-icon", name: "clock" }), h("span", { key: '1a82aa1c760d9e5a0a78d3a0808eb2915e3d9873', class: "stzh-appointments__appointments-title-text" }, this.appointmentsTitle || this.localization.appointmentsTitle)), this.showSort && (h("div", { key: '684a1c937d1fb45cc1db9994cfda03e6d6cbf54f', class: "stzh-appointments__sort" }, h("stzh-dropdown", { key: '2fb4c9dfa0628490c92aa588334f6c901e830800', "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: 'e8c845e170def8e94285d06b665bd7658a548a9b', class: "stzh-appointments__appointments-content" }, h("stzh-radiogroup", { key: '6e1de02f024d2ab8ff46081e8c60c31a9d7a54b7', 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: '6e17fd1dda5a7b3c5f7ed4a35de5667d327d9ba1', class: "stzh-appointments__more-link", size: "inherit", onClick: this.onMoreClick }, tc(this.localization.moreTextItems, this.moreItemsLeft > this.stepItems ? this.stepItems : this.moreItemsLeft)))))))));
264
264
  }
265
265
  get element() { return getElement(this); }
266
266
  static get watchers() { return {
@@ -1 +1 @@
1
- {"version":3,"file":"stzh-appointments.entry.js","sources":["src/components/stzh-appointments/stzh-appointments.scss?tag=stzh-appointments&encapsulation=scoped","src/components/stzh-appointments/stzh-appointments.tsx"],"sourcesContent":[":host {\n --background-color: #{$colorSecondary10};\n}\n\n.stzh-appointments {\n &__heading {\n &:not(:empty) {\n @include spaceCurve(\"padding-bottom\", \"tiny\");\n margin-bottom: space(\"xsmall\");\n\n @include mq($from: small) {\n margin-bottom: space(\"small\");\n }\n\n @include mq($from: medium) {\n margin-bottom: space(\"medium\");\n }\n\n @include mq($from: large) {\n margin-bottom: space(\"xlarge\");\n }\n }\n }\n\n // &__actions {\n // &:not(:empty) {\n // @include spaceCurve('margin-top', 'medium');\n // }\n // }\n\n &__wrapper {\n @include spaceCurve(\"padding-top\", \"regular\");\n @include spaceCurve(\"padding-bottom\", \"regular\");\n display: flex;\n flex-direction: column;\n padding-left: space(\"large\");\n padding-right: space(\"large\");\n background-color: var(--background-color);\n\n @include mq($from: medium) {\n flex-direction: row;\n }\n }\n\n &__calendar-wrapper {\n display: flex;\n flex-direction: column;\n\n @include mq($from: medium) {\n margin-right: space(\"xxlarge\");\n }\n }\n\n &__appointments-wrapper {\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n }\n\n &__calendar-title-wrapper,\n &__appointments-title-wrapper {\n @include spaceCurve(\"margin-bottom\", \"small\");\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n\n &__calendar-title,\n &__appointments-title {\n @include font(\"heavy\");\n @include fontSize(\"centi\");\n color: $colorPrimary70;\n display: flex;\n align-items: center;\n }\n\n &__calendar-icon,\n &__appointments-icon {\n --size: #{iconSize(\"large\")};\n margin-right: space(\"xsmall\");\n }\n\n &__calendar-content,\n &__calendar-content-medium {\n @include fontSize(\"milli\");\n }\n\n &__calendar-content {\n @include mq($from: medium) {\n display: none;\n }\n }\n\n &__calendar-content-medium {\n display: none;\n background-color: $colorWhite;\n padding-bottom: space(\"medium\");\n\n @include mq($from: medium) {\n display: block;\n }\n }\n\n &__appointments-content {\n flex-grow: 1;\n }\n\n &__appointments-radiogroup {\n margin-top: space(\"xsmall\");\n margin-bottom: space(\"xsmall\");\n }\n\n &__more-link {\n @include fontSize(\"milli\");\n margin-top: space(\"medium\");\n }\n\n &--has-calendar &__appointments-wrapper {\n margin-top: space(\"large\");\n\n @include mq($from: medium) {\n margin-top: 0;\n }\n }\n}\n","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;\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"],"names":[],"mappings":";;;;;;AAAA,MAAM,mBAAmB,GAAG,MAAM,CAAC,irNAAirN,CAAC;;MCgCxsN,gBAAgB,GAAA,MAAA;AAL7B,IAAA,WAAA,CAAA,OAAA,EAAA;;;;AAUU,QAAA,IAAW,CAAA,WAAA,GAAG,KAAK;;AAGF,QAAA,IAAM,CAAA,MAAA,GAAsB,OAAO;;AAIpD,QAAA,IAAY,CAAA,YAAA,GAA+B,EAAE;;AAS5B,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGlB,QAAA,IAAI,CAAA,IAAA,GAAW,aAAa;;AAG5B,QAAA,IAAS,CAAA,SAAA,GAAW,CAAC;;AAItC,QAAA,IAAS,CAAA,SAAA,GAAW,CAAC;;AAGrB,QAAA,IAAa,CAAA,aAAA,GAAG,EAAE;;AAGlB,QAAA,IAAiB,CAAA,iBAAA,GAAG,EAAE;AAyFtB,QAAA,IAAY,CAAA,YAAA,GAAY,KAAK;AAC7B,QAAA,IAAa,CAAA,aAAA,GAAW,CAAC;AACzB,QAAA,IAAY,CAAA,YAAA,GAAY,KAAK;AAC7B,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;AACzB,QAAA,IAAa,CAAA,aAAA,GAAY,KAAK;AAC9B,QAAA,IAAa,CAAA,aAAA,GAAY,KAAK;AAC9B,QAAA,IAAqB,CAAA,qBAAA,GAAY,KAAK;AACtC,QAAA,IAAwB,CAAA,wBAAA,GAAY,IAAI;AACxC,QAAA,IAAW,CAAA,WAAA,GAAG,EAAE;AA2EhB,QAAA,IAAA,CAAA,cA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U,CAAC,WAAW,CAAC,KAAK,EAAE,WAAW,CAAC,GAAG,EAAE,MAAM,CAAC,CAC9D,EACZ,CAAW,CAAA,WAAA,EAAA,EAAA,IAAI,EAAC,OAAO,EAAE,EAAA,WAAW,CAAC,OAAO,CAAa,CAC9C,CACd,CAAC,CACc,EAEjB,IAAI,CAAC,YAAY,KAChB,CAAA,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAW,KAAK,EAAC,8BAA8B,EAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAE,IAAI,CAAC,WAAW,EAAA,EACrF,EAAE,CACD,IAAI,CAAC,YAAY,CAAC,aAAa,EAC/B,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,aAAa,CAC1E,CACS,CACb,CACG,CACF,CACF,CAKF,CACD;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"stzh-appointments.entry.js","sources":["src/components/stzh-appointments/stzh-appointments.scss?tag=stzh-appointments&encapsulation=scoped","src/components/stzh-appointments/stzh-appointments.tsx"],"sourcesContent":[":host {\n --background-color: #{$colorSecondary10};\n}\n\n.stzh-appointments {\n &__heading {\n &:not(:empty) {\n @include spaceCurve(\"padding-bottom\", \"tiny\");\n margin-bottom: space(\"xsmall\");\n\n @include mq($from: small) {\n margin-bottom: space(\"small\");\n }\n\n @include mq($from: medium) {\n margin-bottom: space(\"medium\");\n }\n\n @include mq($from: large) {\n margin-bottom: space(\"xlarge\");\n }\n }\n }\n\n // &__actions {\n // &:not(:empty) {\n // @include spaceCurve('margin-top', 'medium');\n // }\n // }\n\n &__wrapper {\n @include spaceCurve(\"padding-top\", \"regular\");\n @include spaceCurve(\"padding-bottom\", \"regular\");\n display: flex;\n flex-direction: column;\n padding-left: space(\"large\");\n padding-right: space(\"large\");\n background-color: var(--background-color);\n\n @include mq($from: medium) {\n flex-direction: row;\n }\n }\n\n &__calendar-wrapper {\n display: flex;\n flex-direction: column;\n\n @include mq($from: medium) {\n margin-right: space(\"xxlarge\");\n }\n }\n\n &__appointments-wrapper {\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n }\n\n &__calendar-title-wrapper,\n &__appointments-title-wrapper {\n @include spaceCurve(\"margin-bottom\", \"small\");\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n\n &__calendar-title,\n &__appointments-title {\n @include font(\"heavy\");\n @include fontSize(\"centi\");\n color: $colorPrimary70;\n display: flex;\n align-items: center;\n }\n\n &__calendar-icon,\n &__appointments-icon {\n --size: #{iconSize(\"large\")};\n margin-right: space(\"xsmall\");\n }\n\n &__calendar-content,\n &__calendar-content-medium {\n @include fontSize(\"milli\");\n }\n\n &__calendar-content {\n @include mq($from: medium) {\n display: none;\n }\n }\n\n &__calendar-content-medium {\n display: none;\n background-color: $colorWhite;\n padding-bottom: space(\"medium\");\n\n @include mq($from: medium) {\n display: block;\n }\n }\n\n &__appointments-content {\n flex-grow: 1;\n }\n\n &__appointments-radiogroup {\n margin-top: space(\"xsmall\");\n margin-bottom: space(\"xsmall\");\n }\n\n &__more-link {\n @include fontSize(\"milli\");\n margin-top: space(\"medium\");\n }\n\n &--has-calendar &__appointments-wrapper {\n margin-top: space(\"large\");\n\n @include mq($from: medium) {\n margin-top: 0;\n }\n }\n}\n","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"],"names":[],"mappings":";;;;;;AAAA,MAAM,mBAAmB,GAAG,MAAM,CAAC,irNAAirN,CAAC;;MCgCxsN,gBAAgB,GAAA,MAAA;AAL7B,IAAA,WAAA,CAAA,OAAA,EAAA;;;;AAUU,QAAA,IAAW,CAAA,WAAA,GAAG,KAAK;;AAGF,QAAA,IAAM,CAAA,MAAA,GAAsB,OAAO;;AAIpD,QAAA,IAAY,CAAA,YAAA,GAA+B,EAAE;;AAS5B,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGlB,QAAA,IAAI,CAAA,IAAA,GAAW,aAAa;;AAG5B,QAAA,IAAS,CAAA,SAAA,GAAW,CAAC;;AAItC,QAAA,IAAS,CAAA,SAAA,GAAW,CAAC;;AAGrB,QAAA,IAAa,CAAA,aAAA,GAAG,EAAE;;AAGlB,QAAA,IAAiB,CAAA,iBAAA,GAAG,EAAE;AAyFtB,QAAA,IAAY,CAAA,YAAA,GAAY,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KAAK,EACxB,QAAQ,EAAE,OAAO,WAAW,CAAC,QAAQ,KAAK,WAAW,GAAG,WAAW,CAAC,QAAQ,GAAG,KAAK,EAAA,EAEpF,CAAA,CAAA,WAAA,EAAA,EAAW,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,OAAO,EAAA,EACjC,CAAC,IAAI,CAAC,YAAY,KACjB,CAAA,CAAA,MAAA,EAAA,IAAA,EAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE,UAAU,CAAC,YAAe,CAC7E,EACA,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,EAAE,WAAW,CAAC,GAAG,EAAE,MAAM,CAAC,CAC9D,EACZ,CAAW,CAAA,WAAA,EAAA,EAAA,IAAI,EAAC,OAAO,EAAE,EAAA,WAAW,CAAC,OAAO,CAAa,CAC9C,CACd,CAAC,CACc,EAEjB,IAAI,CAAC,YAAY,KAChB,CAAA,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAW,KAAK,EAAC,8BAA8B,EAAC,IAAI,EAAC,SAAS,EAAC,OAAO,EAAE,IAAI,CAAC,WAAW,EAAA,EACrF,EAAE,CACD,IAAI,CAAC,YAAY,CAAC,aAAa,EAC/B,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,aAAa,CAC1E,CACS,CACb,CACG,CACF,CACF,CAKF,CACD;;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, F as Fragment, a as Host, d as getElement } from './index-Boyybvcm.js';
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment, a as Host, d as getElement } from './index-CIPExL1Q.js';
2
2
 
3
3
  const stzhArchivelistCss = () => `.sc-stzh-archivelist-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-archivelist-h,[stzh-hidden].sc-stzh-archivelist-h{display:none}.sc-stzh-archivelist-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-archivelist-h *.sc-stzh-archivelist,.sc-stzh-archivelist-h *.sc-stzh-archivelist::before,.sc-stzh-archivelist-h *.sc-stzh-archivelist::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-archivelist-h .has-focus.sc-stzh-archivelist{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-archivelist-h .stzh-fylingfocus-focused.sc-stzh-archivelist{outline-style:none !important}.sc-stzh-archivelist-h .stzh-fylingfocus-focused.sc-stzh-archivelist::-moz-focus-inner{border:0 !important}.stzh-archivelist__list.sc-stzh-archivelist{display:grid;gap:var(--stzh-space-medium)}.stzh-archivelist__item.sc-stzh-archivelist{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);background-color:var(--stzh-color-grey10);color:var(--stzh-color-grey80);text-decoration:none;padding:var(--stzh-space-large);transition:background-color var(--stzh-base-transition-animation-speed)}.stzh-archivelist__item.sc-stzh-archivelist:hover{background-color:var(--stzh-color-secondary10)}.stzh-archivelist__dateline.sc-stzh-archivelist{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);margin-bottom:var(--stzh-space-medium)}.stzh-archivelist__label.sc-stzh-archivelist{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);color:var(--stzh-color-primary70);-webkit-text-decoration-line:var(--stzh-link-text-decoration-line);text-decoration-line:var(--stzh-link-text-decoration-line)}.stzh-archivelist__description.sc-stzh-archivelist{margin-top:var(--stzh-space-xsmall)}.stzh-archivelist__actions.sc-stzh-archivelist{margin-top:var(--stzh-space-xxlarge)}@media screen and (min-width: 900px){.stzh-archivelist__actions.sc-stzh-archivelist{margin-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.stzh-archivelist__actions.sc-stzh-archivelist{margin-top:var(--stzh-space-xxxxlarge)}}.stzh-archivelist__actions.sc-stzh-archivelist{display:flex;justify-content:center}.stzh-archivelist__heading.sc-stzh-archivelist{margin-bottom:var(--stzh-space-medium)}`;
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h as h$2, a as Host, d as getElement } from './index-Boyybvcm.js';
1
+ import { r as registerInstance, c as createEvent, h as h$2, a as Host, d as getElement } from './index-CIPExL1Q.js';
2
2
  import { g as getDefaultExportFromCjs } from './_commonjsHelpers-E-ZsRS8r.js';
3
3
  import { h as hasSlot } from './utils-BnOofzDv.js';
4
4
  import './string-utils-BubviQku.js';
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, c as createEvent, F as Fragment, d as getElement } from './index-Boyybvcm.js';
1
+ import { r as registerInstance, h, a as Host, c as createEvent, F as Fragment, d as getElement } from './index-CIPExL1Q.js';
2
2
  import { h as hasSlot } from './utils-BnOofzDv.js';
3
3
  import './string-utils-BubviQku.js';
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, a as Host, d as getElement } from './index-Boyybvcm.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, d as getElement } from './index-CIPExL1Q.js';
2
2
 
3
3
  const stzhBannerCss = () => `.sc-stzh-banner-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-banner-h,[stzh-hidden].sc-stzh-banner-h{display:none}.sc-stzh-banner-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-banner-h *.sc-stzh-banner,.sc-stzh-banner-h *.sc-stzh-banner::before,.sc-stzh-banner-h *.sc-stzh-banner::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-banner-h .has-focus.sc-stzh-banner{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-banner-h .stzh-fylingfocus-focused.sc-stzh-banner{outline-style:none !important}.sc-stzh-banner-h .stzh-fylingfocus-focused.sc-stzh-banner::-moz-focus-inner{border:0 !important}.sc-stzh-banner-h{--stzh-flyingfocus-color:var(--stzh-base-invert-color);--stzh-base-color:var(--stzh-base-invert-color);--stzh-base-lead-color:var(--stzh-base-invert-color);--stzh-base-border-color:var(--stzh-base-invert-color);--stzh-heading-color:var(--stzh-base-invert-color);--stzh-link-color:var(--stzh-base-invert-color);--stzh-link-hover-color:var(--stzh-base-invert-color);--stzh-button-color:var(--stzh-color-primary);--stzh-button-background-color:var(--stzh-base-invert-color);--stzh-button-hover-color:var(--stzh-color-primary);--stzh-button-hover-background-color:var(--stzh-color-white80op);--stzh-button-disabled-color:var(--stzh-color-primary);--stzh-button-disabled-background-color:var(--stzh-color-white40op);--stzh-button-secondary-color:var(--stzh-base-invert-color);--stzh-button-secondary-background-color:var(--stzh-color-white40op);--stzh-button-secondary-hover-color:var(--stzh-base-invert-color);--stzh-button-secondary-hover-background-color:var(--stzh-color-white30op);--stzh-button-secondary-disabled-color:var(--stzh-color-white60op);--stzh-button-secondary-disabled-background-color:var(--stzh-color-white40op);--stzh-button-tertiary-color:var(--stzh-base-invert-color);--stzh-button-tertiary-hover-color:var(--stzh-base-invert-color);--stzh-button-tertiary-hover-background-color:var(--stzh-color-white20op);--stzh-button-tertiary-disabled-color:var(--stzh-color-white70op);--stzh-button-active-color:var(--stzh-color-primary);--stzh-button-active-background-color:var(--stzh-color-white80op);--stzh-button-active-hover-color:var(--stzh-color-primary);--stzh-button-active-hover-background-color:var(--stzh-color-white80op);--background-color:var(--stzh-color-coral60);--icon-color:var(--stzh-base-invert-color);--close-color:var(--stzh-base-invert-color);--label-color:var(--stzh-base-invert-color)}[type=info].sc-stzh-banner-h{--label-color:var(--stzh-color-info70);--icon-color:var(--stzh-color-info50);--close-color:var(--stzh-color-info70);--background-color:var(--stzh-color-info20);--stzh-link-color:var(--stzh-color-info70)}[type=info].sc-stzh-banner-h:hover{--stzh-link-hover-color:var(--stzh-color-info70);--stzh-button-tertiary-hover-color:var(--stzh-color-info70);--stzh-button-tertiary-hover-background-color:var(--stzh-color-info30)}.stzh-banner.sc-stzh-banner{position:relative;box-shadow:var(--stzh-box-shadow-message);border-radius:var(--stzh-button-border-radius);background-color:var(--background-color)}.stzh-banner__container.sc-stzh-banner{margin-left:1.25rem;margin-right:1.25rem}@media screen and (min-width: 600px){.stzh-banner__container.sc-stzh-banner{margin-left:2rem;margin-right:2rem}}@media screen and (min-width: 900px){.stzh-banner__container.sc-stzh-banner{margin-left:2.5rem;margin-right:2.5rem}}@media screen and (min-width: 1260px){.stzh-banner__container.sc-stzh-banner{margin-left:4rem;margin-right:4rem}}@media screen and (min-width: 1600px){.stzh-banner__container.sc-stzh-banner{margin-left:auto;margin-right:auto;max-width:84.25rem}}.stzh-banner__container.sc-stzh-banner{padding-top:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.stzh-banner__container.sc-stzh-banner{padding-top:var(--stzh-space-small)}}@media screen and (min-width: 900px){.stzh-banner__container.sc-stzh-banner{padding-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-banner__container.sc-stzh-banner{padding-top:var(--stzh-space-xlarge)}}.stzh-banner__container.sc-stzh-banner{padding-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.stzh-banner__container.sc-stzh-banner{padding-bottom:var(--stzh-space-small)}}@media screen and (min-width: 900px){.stzh-banner__container.sc-stzh-banner{padding-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-banner__container.sc-stzh-banner{padding-bottom:var(--stzh-space-xlarge)}}.stzh-banner__container.sc-stzh-banner{padding-right:var(--stzh-space-xxxxlarge)}@media screen and (min-width: 600px){.stzh-banner__container.sc-stzh-banner{padding-right:var(--stzh-space-big)}}@media screen and (min-width: 900px){.stzh-banner__container.sc-stzh-banner{padding-right:var(--stzh-space-big)}}@media screen and (min-width: 1260px){.stzh-banner__container.sc-stzh-banner{padding-right:var(--stzh-space-huge)}}.stzh-banner__container.sc-stzh-banner{margin-right:0}@media screen and (min-width: 600px){.stzh-banner__container.sc-stzh-banner{margin-right:0px}}@media screen and (min-width: 900px){.stzh-banner__container.sc-stzh-banner{margin-right:0px}}@media screen and (min-width: 1260px){.stzh-banner__container.sc-stzh-banner{margin-right:0px}}@media screen and (min-width: 1600px){.stzh-banner__container.sc-stzh-banner{margin-right:auto}}.stzh-banner__content.sc-stzh-banner{gap:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.stzh-banner__content.sc-stzh-banner{gap:var(--stzh-space-small)}}@media screen and (min-width: 900px){.stzh-banner__content.sc-stzh-banner{gap:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-banner__content.sc-stzh-banner{gap:var(--stzh-space-xlarge)}}.stzh-banner__content.sc-stzh-banner{display:flex}.stzh-banner__icon-wrapper.sc-stzh-banner{display:flex;flex-shrink:0}.stzh-banner__icon.sc-stzh-banner{color:var(--icon-color)}.stzh-banner__link.sc-stzh-banner{color:var(--stzh-link-color)}.stzh-banner__link.sc-stzh-banner:hover{color:var(--stzh-link-hover-color)}.stzh-banner__text-wrapper.sc-stzh-banner{display:flex;flex-direction:column;flex-grow:1}@media screen and (min-width: 900px){.stzh-banner__text-wrapper.sc-stzh-banner{column-gap:var(--stzh-space-xsmall);row-gap:var(--stzh-space-xxsmall);flex-wrap:wrap;flex-direction:row;align-items:center}}@media screen and (min-width: 900px) and (min-width: 600px){.stzh-banner__text-wrapper.sc-stzh-banner{column-gap:var(--stzh-space-small)}}@media screen and (min-width: 900px) and (min-width: 900px){.stzh-banner__text-wrapper.sc-stzh-banner{column-gap:var(--stzh-space-medium)}}@media screen and (min-width: 900px) and (min-width: 1260px){.stzh-banner__text-wrapper.sc-stzh-banner{column-gap:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px) and (min-width: 900px){.stzh-banner__text-wrapper.sc-stzh-banner{row-gap:var(--stzh-space-xsmall)}}@media screen and (min-width: 900px) and (min-width: 1260px){.stzh-banner__text-wrapper.sc-stzh-banner{row-gap:var(--stzh-space-small)}}.stzh-banner__label.sc-stzh-banner{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);color:var(--label-color)}@media screen and (min-width: 600px){.stzh-banner__label.sc-stzh-banner{font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}.stzh-banner__close[variant=tertiary].sc-stzh-banner{--color:var(--close-color);position:absolute;top:0;right:0}@media screen and (min-width: 600px){.stzh-banner__close[variant=tertiary].sc-stzh-banner{top:0.625rem;right:0.625rem}}.stzh-banner__close[variant=tertiary].sc-stzh-banner:hover{--hover-color:var(--stzh-button-tertiary-hover-color);--hover-background-color:var(
4
4
  --stzh-button-tertiary-hover-background-color
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, c as createEvent, h, F as Fragment, a as Host, d as getElement } from './index-Boyybvcm.js';
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment, a as Host, d as getElement } from './index-CIPExL1Q.js';
2
2
 
3
- const stzhBreadcrumbCss = () => `.sc-stzh-breadcrumb-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-breadcrumb-h,[stzh-hidden].sc-stzh-breadcrumb-h{display:none}.sc-stzh-breadcrumb-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-breadcrumb-h *.sc-stzh-breadcrumb,.sc-stzh-breadcrumb-h *.sc-stzh-breadcrumb::before,.sc-stzh-breadcrumb-h *.sc-stzh-breadcrumb::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-breadcrumb-h .has-focus.sc-stzh-breadcrumb{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-breadcrumb-h .stzh-fylingfocus-focused.sc-stzh-breadcrumb{outline-style:none !important}.sc-stzh-breadcrumb-h .stzh-fylingfocus-focused.sc-stzh-breadcrumb::-moz-focus-inner{border:0 !important}.sc-stzh-breadcrumb-h{overflow:hidden;--color:var(--stzh-breadcrumb-color, var(--stzh-color-primary70))}@media print{.sc-stzh-breadcrumb-h{display:none}}[variant=teaser].sc-stzh-breadcrumb-h{--color:var(--stzh-color-grey80)}.stzh-breadcrumb.sc-stzh-breadcrumb{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);color:var(--color)}.stzh-breadcrumb__list.sc-stzh-breadcrumb,.stzh-breadcrumb__item.sc-stzh-breadcrumb,.stzh-breadcrumb__item-link.sc-stzh-breadcrumb{display:flex;align-items:center}.stzh-breadcrumb__list.sc-stzh-breadcrumb{list-style:none;margin:0;padding:0;white-space:nowrap}.stzh-breadcrumb__item.is-expand.sc-stzh-breadcrumb .stzh-breadcrumb__item-link.sc-stzh-breadcrumb{cursor:pointer}.stzh-breadcrumb__item.is-hidden.sc-stzh-breadcrumb{position:absolute;visibility:hidden}.stzh-breadcrumb__item.is-last.sc-stzh-breadcrumb .stzh-breadcrumb__item-link.sc-stzh-breadcrumb{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy)}.stzh-breadcrumb__item.is-first.sc-stzh-breadcrumb .stzh-breadcrumb__item-label.sc-stzh-breadcrumb{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-breadcrumb__item-link.sc-stzh-breadcrumb{appearance:none;background-color:transparent;border:none;text-decoration:none;color:inherit}.stzh-breadcrumb__item-link.is-link.sc-stzh-breadcrumb{cursor:pointer;transition:color var(--stzh-base-transition-animation-speed)}.stzh-breadcrumb__item-link.is-link.sc-stzh-breadcrumb:hover{color:var(--stzh-color-primary90)}.stzh-breadcrumb__item-icon.sc-stzh-breadcrumb{margin-right:var(--stzh-space-xxsmall)}.stzh-breadcrumb__item-icon.is-separator.sc-stzh-breadcrumb{--size:var(--stzh-icon-size-small)}.stzh-breadcrumb__item-label-hidden.sc-stzh-breadcrumb{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-breadcrumb--is-expanded.sc-stzh-breadcrumb .stzh-breadcrumb__list.sc-stzh-breadcrumb{flex-wrap:wrap;white-space:initial}.stzh-breadcrumb--is-expanded.sc-stzh-breadcrumb .is-expand.sc-stzh-breadcrumb{position:absolute}.stzh-breadcrumb--teaser.sc-stzh-breadcrumb{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}`;
3
+ const stzhBreadcrumbCss = () => `.sc-stzh-breadcrumb-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-breadcrumb-h,[stzh-hidden].sc-stzh-breadcrumb-h{display:none}.sc-stzh-breadcrumb-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-breadcrumb-h *.sc-stzh-breadcrumb,.sc-stzh-breadcrumb-h *.sc-stzh-breadcrumb::before,.sc-stzh-breadcrumb-h *.sc-stzh-breadcrumb::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-breadcrumb-h .has-focus.sc-stzh-breadcrumb{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-breadcrumb-h .stzh-fylingfocus-focused.sc-stzh-breadcrumb{outline-style:none !important}.sc-stzh-breadcrumb-h .stzh-fylingfocus-focused.sc-stzh-breadcrumb::-moz-focus-inner{border:0 !important}.sc-stzh-breadcrumb-h{overflow:hidden;--color:var(--stzh-breadcrumb-color, var(--stzh-color-primary70))}@media print{.sc-stzh-breadcrumb-h{display:none}}[variant=teaser].sc-stzh-breadcrumb-h{--color:var(--stzh-color-grey80)}.stzh-breadcrumb.sc-stzh-breadcrumb{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);color:var(--color)}.stzh-breadcrumb__list.sc-stzh-breadcrumb,.stzh-breadcrumb__item.sc-stzh-breadcrumb,.stzh-breadcrumb__item-link.sc-stzh-breadcrumb{display:flex;align-items:center}.stzh-breadcrumb__list.sc-stzh-breadcrumb{list-style:none;margin:0;padding:0;white-space:nowrap}.stzh-breadcrumb__item.is-expand.sc-stzh-breadcrumb .stzh-breadcrumb__item-link.sc-stzh-breadcrumb{cursor:pointer}.stzh-breadcrumb__item.is-hidden.sc-stzh-breadcrumb{display:none}.stzh-breadcrumb__item.is-last.sc-stzh-breadcrumb .stzh-breadcrumb__item-link.sc-stzh-breadcrumb{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy)}.stzh-breadcrumb__item.is-first.sc-stzh-breadcrumb .stzh-breadcrumb__item-label.sc-stzh-breadcrumb{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-breadcrumb__item-link.sc-stzh-breadcrumb{appearance:none;background-color:transparent;border:none;text-decoration:none;color:inherit}.stzh-breadcrumb__item-link.is-link.sc-stzh-breadcrumb{cursor:pointer;transition:color var(--stzh-base-transition-animation-speed)}.stzh-breadcrumb__item-link.is-link.sc-stzh-breadcrumb:hover{color:var(--stzh-color-primary90)}.stzh-breadcrumb__item-icon.sc-stzh-breadcrumb{margin-right:var(--stzh-space-xxsmall)}.stzh-breadcrumb__item-icon.is-separator.sc-stzh-breadcrumb{--size:var(--stzh-icon-size-small)}.stzh-breadcrumb__item-label-hidden.sc-stzh-breadcrumb{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-breadcrumb--is-expanded.sc-stzh-breadcrumb .stzh-breadcrumb__list.sc-stzh-breadcrumb{flex-wrap:wrap;white-space:initial}.stzh-breadcrumb--is-expanded.sc-stzh-breadcrumb .is-expand.sc-stzh-breadcrumb{position:absolute}.stzh-breadcrumb--teaser.sc-stzh-breadcrumb{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}`;
4
4
 
5
5
  const ITEM_EXPAND_INDEX = 1;
6
6
  const SHRINK_DIRECTION = 1; // 1 = removes item to the right / -1 = removes item to the left
@@ -68,6 +68,7 @@ const StzhBreadcrumb = class {
68
68
  }
69
69
  // TODO: current updates all item sizes, but could be optimized only to update really resized items with using passed ResizeObserver entries
70
70
  const items = Array.from(this.navElement.querySelectorAll(".stzh-breadcrumb__item"));
71
+ items.forEach(item => item.classList.remove("is-hidden"));
71
72
  this.itemSizes = [];
72
73
  items.forEach(item => {
73
74
  const { width } = item.getBoundingClientRect();
@@ -152,14 +153,14 @@ const StzhBreadcrumb = class {
152
153
  [`stzh-breadcrumb--${this.variant}`]: !!this.variant,
153
154
  rs_skip: true, // will prevent component being read by readspeaker
154
155
  };
155
- return (h(Host, { key: '502e4322a55003bf36fbf438df69cf9719fd861d' }, h("div", { key: '80a3cdabaf1c230df1ef676e05f707f10fdaae3f', class: classes }, h("nav", { key: '22ee6e85ba8fda6d20eb3c0c2e3fd587126b7f03', ref: el => (this.navElement = el), class: "stzh-breadcrumb__nav", role: "navigation", "aria-label": this.localization.title }, h("ol", { key: '50439da9f7d682950dc74c30f1da192b26747737', class: "stzh-breadcrumb__list" }, this._items.map((item, index) => (h(Fragment, null, h("li", { class: {
156
+ return (h(Host, { key: '2a572a043cd686f154f03114bf96c8832e53151d' }, h("div", { key: '76cf77453887028d325de7e9461ede05c062e60d', class: classes }, h("nav", { key: 'ea8bfe0623c3768d3796ada78d9a0212789ddeda', ref: el => (this.navElement = el), class: "stzh-breadcrumb__nav", role: "navigation", "aria-label": this.localization.title }, h("ol", { key: '11a51c2ca02faba6e87083c80f4e4447789c3f8a', class: "stzh-breadcrumb__list" }, this._items.map((item, index) => (h(Fragment, null, h("li", { class: {
156
157
  "stzh-breadcrumb__item": true,
157
158
  "is-last": index + 1 === this._items.length,
158
159
  "is-first": index === 0,
159
160
  } }, h("a", { "aria-current": index + 1 === this._items.length ? "page" : null, href: item.href, onClick: e => this.handleClick(item, e), class: {
160
161
  "stzh-breadcrumb__item-link": true,
161
162
  "is-link": !!item.href,
162
- } }, index === 0 ? (h("stzh-icon", { class: "stzh-breadcrumb__item-icon", name: "home" })) : (h("stzh-icon", { class: "stzh-breadcrumb__item-icon is-separator", name: "angle-right" })), h("span", { class: "stzh-breadcrumb__item-label", innerHTML: item.label }))), index === 0 && (h("li", { class: "stzh-breadcrumb__item is-expand" }, h("button", { class: "stzh-breadcrumb__item-link", onClick: this.handleExpandClick }, h("stzh-icon", { class: "stzh-breadcrumb__item-icon is-separator", name: "angle-right" }), h("span", { class: "stzh-breadcrumb__item-label" }, h("span", { "aria-hdiden": "true" }, this.localization.expandLabel), h("span", { class: "stzh-breadcrumb__item-label-hidden" }, this.localization.expandHiddenLabel)))))))))))));
163
+ } }, index === 0 ? (h("stzh-icon", { class: "stzh-breadcrumb__item-icon", name: "home" })) : (h("stzh-icon", { class: "stzh-breadcrumb__item-icon is-separator", name: "angle-right" })), h("span", { class: "stzh-breadcrumb__item-label", innerHTML: item.label }))), index === 0 && (h("li", { class: "stzh-breadcrumb__item is-expand" }, h("button", { class: "stzh-breadcrumb__item-link", onClick: this.handleExpandClick }, h("stzh-icon", { class: "stzh-breadcrumb__item-icon is-separator", name: "angle-right" }), h("span", { class: "stzh-breadcrumb__item-label" }, h("span", { "aria-hidden": "true" }, this.localization.expandLabel), h("span", { class: "stzh-breadcrumb__item-label-hidden" }, this.localization.expandHiddenLabel)))))))))))));
163
164
  }
164
165
  get element() { return getElement(this); }
165
166
  static get watchers() { return {
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, d as getElement } from './index-Boyybvcm.js';
1
+ import { r as registerInstance, h, a as Host, d as getElement } from './index-CIPExL1Q.js';
2
2
 
3
3
  const stzhButtongroupCss = () => `.sc-stzh-buttongroup-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-buttongroup-h,[stzh-hidden].sc-stzh-buttongroup-h{display:none}.sc-stzh-buttongroup-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-buttongroup-h *.sc-stzh-buttongroup,.sc-stzh-buttongroup-h *.sc-stzh-buttongroup::before,.sc-stzh-buttongroup-h *.sc-stzh-buttongroup::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-buttongroup-h .has-focus.sc-stzh-buttongroup{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-buttongroup-h .stzh-fylingfocus-focused.sc-stzh-buttongroup{outline-style:none !important}.sc-stzh-buttongroup-h .stzh-fylingfocus-focused.sc-stzh-buttongroup::-moz-focus-inner{border:0 !important}[fullwidth].sc-stzh-buttongroup-h .stzh-buttongroup.sc-stzh-buttongroup{width:100%;flex-wrap:wrap}.stzh-buttongroup.sc-stzh-buttongroup{position:relative;z-index:auto;display:flex;gap:var(--stzh-space-xsmall)}`;
4
4
 
@@ -1,4 +1,4 @@
1
- import { h, r as registerInstance, c as createEvent, a as Host, d as getElement } from './index-Boyybvcm.js';
1
+ import { h, r as registerInstance, c as createEvent, a as Host, d as getElement } from './index-CIPExL1Q.js';
2
2
  import { i as isEqual, b as isEqualMonth, g as getViewOfMonth, c as inRange, D as DaysOfWeek, p as parseISODate, d as clamp, a as printISODate, e as addDays, s as startOfWeek, f as endOfWeek, h as setMonth, j as startOfMonth, k as endOfMonth, l as setYear } from './date-utils-Df1Iqnz9.js';
3
3
 
4
4
  const StzhCalendarDay = ({ focusedDay, today, day, onDaySelect, onKeyboardNavigation, focusedDayRef, disabled, inRange, isSelected, dateFormatter, }) => {
@@ -191,11 +191,13 @@ const StzhCalendar = class {
191
191
  }
192
192
  };
193
193
  this.handleMonthSelect = (event) => {
194
- const value = Array.isArray(event.detail.value) ? event.detail.value[0] : event.detail.value;
194
+ const newValue = event.detail.value;
195
+ const value = Array.isArray(newValue) ? String(newValue[0]) : String(newValue);
195
196
  this.setMonth(parseInt(value, 10));
196
197
  };
197
198
  this.handleYearSelect = (event) => {
198
- const value = Array.isArray(event.detail.value) ? event.detail.value[0] : event.detail.value;
199
+ const newValue = event.detail.value;
200
+ const value = Array.isArray(newValue) ? String(newValue[0]) : String(newValue);
199
201
  this.setYear(parseInt(value, 10));
200
202
  };
201
203
  this.processFocusedDayNode = (element) => {