@oiz/stzh-components 2.1.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (696) hide show
  1. package/dist/cjs/{animation-utils-cfa35ce7.js → animation-utils-54d784c2.js} +3 -0
  2. package/dist/cjs/{app-globals-dc82b9ca.js → app-globals-b6d82414.js} +1 -1
  3. package/dist/cjs/index.cjs.js +17 -0
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/stzh-accordion-item.cjs.entry.js +7 -3
  6. package/dist/cjs/stzh-accordion.cjs.entry.js +3 -1
  7. package/dist/cjs/stzh-actions.cjs.entry.js +1 -1
  8. package/dist/cjs/stzh-anchornav.cjs.entry.js +2 -2
  9. package/dist/cjs/stzh-appnav.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-audio.cjs.entry.js +3 -3
  11. package/dist/cjs/stzh-badge_3.cjs.entry.js +13 -6
  12. package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-card_3.cjs.entry.js +504 -0
  14. package/dist/cjs/stzh-chart.cjs.entry.js +2 -3
  15. package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
  16. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -2
  17. package/dist/cjs/stzh-chip.cjs.entry.js +6 -5
  18. package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-components.cjs.js +2 -2
  20. package/dist/cjs/stzh-contactaddress.cjs.entry.js +33 -7
  21. package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
  22. package/dist/cjs/stzh-datalist_2.cjs.entry.js +180 -0
  23. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +3 -2
  24. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +3 -3
  25. package/dist/cjs/stzh-details.cjs.entry.js +155 -0
  26. package/dist/cjs/stzh-dialog.cjs.entry.js +5 -5
  27. package/dist/cjs/stzh-dropdown.cjs.entry.js +2 -2
  28. package/dist/cjs/stzh-figure.cjs.entry.js +2 -2
  29. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-footer.cjs.entry.js +2 -2
  31. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +8 -5
  32. package/dist/cjs/stzh-header.cjs.entry.js +28 -14
  33. package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
  34. package/dist/cjs/stzh-icon-sprite.cjs.entry.js +1 -1
  35. package/dist/cjs/stzh-input.cjs.entry.js +2 -2
  36. package/dist/cjs/stzh-langnav.cjs.entry.js +37 -0
  37. package/dist/cjs/stzh-link.cjs.entry.js +11 -4
  38. package/dist/cjs/stzh-menu_2.cjs.entry.js +2 -2
  39. package/dist/cjs/stzh-message.cjs.entry.js +1 -1
  40. package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +96 -0
  41. package/dist/cjs/stzh-olmap.cjs.entry.js +1 -1
  42. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +3 -3
  43. package/dist/cjs/stzh-pagetitle.cjs.entry.js +2 -2
  44. package/dist/cjs/stzh-popover.cjs.entry.js +27 -9
  45. package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-progressbar-item.cjs.entry.js +1 -1
  47. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-sitemap.cjs.entry.js +24 -0
  49. package/dist/cjs/stzh-sortable.cjs.entry.js +30 -11
  50. package/dist/cjs/stzh-table.cjs.entry.js +1 -1
  51. package/dist/cjs/stzh-textandimage.cjs.entry.js +35 -0
  52. package/dist/cjs/stzh-toggle.cjs.entry.js +2 -2
  53. package/dist/cjs/stzh-tooltip.cjs.entry.js +37 -13
  54. package/dist/cjs/stzh-upload.cjs.entry.js +2 -2
  55. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +2 -1
  56. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +20 -9
  57. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +27 -38
  58. package/dist/cjs/{utils-8dc66449.js → utils-ff153309.js} +1 -0
  59. package/dist/collection/assets/i18n/de.json +15 -7
  60. package/dist/collection/assets/i18n/en.json +16 -8
  61. package/dist/collection/assets/icons/mono/arrow-right-down.svg +3 -0
  62. package/dist/collection/assets/icons/mono/construction.svg +2 -2
  63. package/dist/collection/assets/icons/mono/fountain.svg +3 -0
  64. package/dist/collection/assets/icons/mono/pause-filled.svg +3 -0
  65. package/dist/collection/assets/icons/mono/play-filled.svg +3 -0
  66. package/dist/collection/assets/icons/mono/reload.svg +2 -9
  67. package/dist/collection/assets/icons/mono/water-drops.svg +11 -0
  68. package/dist/collection/collection-manifest.json +6 -0
  69. package/dist/collection/components/stzh-accordion/stzh-accordion.js +3 -1
  70. package/dist/collection/components/stzh-accordion/stzh-accordion.stories.js +12 -1
  71. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +3 -2
  72. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +7 -3
  73. package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +3 -3
  74. package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
  75. package/dist/collection/components/stzh-audio/stzh-audio.css +1 -1
  76. package/dist/collection/components/stzh-audio/stzh-audio.js +1 -1
  77. package/dist/collection/components/stzh-button/stzh-button.css +3 -2
  78. package/dist/collection/components/stzh-button/stzh-button.js +78 -3
  79. package/dist/collection/components/stzh-button/stzh-button.stories.js +12 -12
  80. package/dist/collection/components/stzh-calendar/stzh-calendar.css +1 -0
  81. package/dist/collection/components/stzh-card/stzh-card.css +107 -22
  82. package/dist/collection/components/stzh-card/stzh-card.js +116 -6
  83. package/dist/collection/components/stzh-card/stzh-card.stories.js +1 -1
  84. package/dist/collection/components/stzh-card-list/stzh-card-list.css +55 -14
  85. package/dist/collection/components/stzh-card-list/stzh-card-list.js +43 -3
  86. package/dist/collection/components/stzh-chart/stzh-chart.css +0 -14
  87. package/dist/collection/components/stzh-chart/stzh-chart.js +1 -20
  88. package/dist/collection/components/stzh-chart/stzh-chart.stories.js +4 -3
  89. package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +7 -3
  90. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.css +1 -0
  91. package/dist/collection/components/stzh-chip/stzh-chip.css +52 -4
  92. package/dist/collection/components/stzh-chip/stzh-chip.js +23 -5
  93. package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +2 -0
  94. package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +33 -6
  95. package/dist/collection/components/stzh-clamp/stzh-clamp.css +5 -0
  96. package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.css +91 -12
  97. package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.js +76 -9
  98. package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.stories.js +52 -2
  99. package/dist/collection/components/stzh-cspace/stzh-cspace.css +49 -1
  100. package/dist/collection/components/stzh-datalist/stzh-datalist.css +28 -516
  101. package/dist/collection/components/stzh-datalist/stzh-datalist.js +110 -23
  102. package/dist/collection/components/stzh-datalist/stzh-datalist.stories.js +65 -4
  103. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +261 -0
  104. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js +323 -0
  105. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.stories.js +49 -0
  106. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +11 -0
  107. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +3 -2
  108. package/dist/collection/components/stzh-details/stzh-details.css +119 -0
  109. package/dist/collection/components/stzh-details/stzh-details.js +316 -0
  110. package/dist/collection/components/stzh-details/stzh-details.stories.js +41 -0
  111. package/dist/collection/components/stzh-dialog/stzh-dialog.css +1 -0
  112. package/dist/collection/components/stzh-dialog/stzh-dialog.js +3 -3
  113. package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +6 -3
  114. package/dist/collection/components/stzh-figure/stzh-figure.css +1 -3
  115. package/dist/collection/components/stzh-footer/stzh-footer.css +2 -1
  116. package/dist/collection/components/stzh-footer/stzh-footer.stories.js +3 -1
  117. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +33 -5
  118. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.js +23 -2
  119. package/dist/collection/components/stzh-header/stzh-header.css +87 -4
  120. package/dist/collection/components/stzh-header/stzh-header.js +63 -13
  121. package/dist/collection/components/stzh-header/stzh-header.stories.js +21 -1
  122. package/dist/collection/components/stzh-heading/stzh-heading.css +3 -0
  123. package/dist/collection/components/stzh-icon/stzh-icon.js +1 -1
  124. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +102 -37
  125. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  126. package/dist/collection/components/stzh-input/stzh-input.css +6 -5
  127. package/dist/collection/components/stzh-langnav/stzh-langnav.css +106 -0
  128. package/dist/collection/components/stzh-langnav/stzh-langnav.js +136 -0
  129. package/dist/collection/components/stzh-langnav/stzh-langnav.stories.js +42 -0
  130. package/dist/collection/components/stzh-link/stzh-link.css +1 -0
  131. package/dist/collection/components/stzh-link/stzh-link.js +95 -2
  132. package/dist/collection/components/stzh-menu-item/stzh-menu-item.css +1 -0
  133. package/dist/collection/components/stzh-message/stzh-message.css +1 -0
  134. package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.css +125 -0
  135. package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +198 -0
  136. package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.localization.js +1 -0
  137. package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.stories.js +58 -0
  138. package/dist/collection/components/stzh-olmap/stzh-olmap.js +1 -1
  139. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.stories.js +1 -1
  140. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +14 -5
  141. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +1 -1
  142. package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.js +1 -1
  143. package/dist/collection/components/stzh-popover/stzh-popover.css +2 -0
  144. package/dist/collection/components/stzh-popover/stzh-popover.js +26 -8
  145. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +2 -0
  146. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.css +107 -6
  147. package/dist/collection/components/stzh-radio/stzh-radio.css +3 -2
  148. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.css +1 -0
  149. package/dist/collection/components/stzh-richtext/stzh-richtext.css +2 -0
  150. package/dist/collection/components/stzh-sitemap/stzh-sitemap.css +113 -0
  151. package/dist/collection/components/stzh-sitemap/stzh-sitemap.js +53 -0
  152. package/dist/collection/components/stzh-sitemap/stzh-sitemap.stories.js +78 -0
  153. package/dist/collection/components/stzh-sortable/stzh-sortable.js +29 -10
  154. package/dist/collection/components/stzh-textandimage/stzh-textandimage.css +203 -0
  155. package/dist/collection/components/stzh-textandimage/stzh-textandimage.js +98 -0
  156. package/dist/collection/components/stzh-textandimage/stzh-textandimage.stories.js +56 -0
  157. package/dist/collection/components/stzh-toggle/stzh-toggle.css +3 -1
  158. package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +1 -0
  159. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +36 -12
  160. package/dist/collection/components/stzh-upload/stzh-upload.css +2 -1
  161. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +3 -2
  162. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.css +2 -1
  163. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.js +84 -12
  164. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +1 -16
  165. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +26 -37
  166. package/dist/collection/index.js +12 -0
  167. package/dist/collection/pages/egov.stories.js +18 -15
  168. package/dist/collection/pages/example.stories.js +1 -1
  169. package/dist/collection/pages/meinkonto.stories.js +3 -3
  170. package/dist/collection/patterns/appointments.stories.js +3 -3
  171. package/dist/collection/patterns/contact.stories.js +144 -0
  172. package/dist/collection/patterns/contactform.stories.js +125 -0
  173. package/dist/collection/patterns/subpages.stories.js +98 -0
  174. package/dist/collection/utils/animation-utils.js +3 -0
  175. package/dist/components/animation-utils.js +3 -0
  176. package/dist/components/index.d.ts +6 -0
  177. package/dist/components/index.js +8 -1
  178. package/dist/components/index2.js +17 -2017
  179. package/dist/components/index3.js +2017 -0
  180. package/dist/components/stzh-accordion-item.js +6 -2
  181. package/dist/components/stzh-accordion.js +3 -1
  182. package/dist/components/stzh-anchornav.js +2 -2
  183. package/dist/components/stzh-audio.js +2 -2
  184. package/dist/components/stzh-button2.js +15 -4
  185. package/dist/components/stzh-calendar2.js +1 -1
  186. package/dist/components/stzh-card-list.js +1 -114
  187. package/dist/components/stzh-card-list2.js +123 -0
  188. package/dist/components/stzh-card.js +1 -358
  189. package/dist/components/stzh-card2.js +380 -0
  190. package/dist/components/stzh-chart.js +3 -5
  191. package/dist/components/stzh-checkbox.js +1 -1
  192. package/dist/components/stzh-checkboxgroup.js +1 -1
  193. package/dist/components/stzh-chip-select.js +1 -157
  194. package/dist/components/stzh-chip-select2.js +186 -0
  195. package/dist/components/stzh-chip2.js +7 -5
  196. package/dist/components/stzh-clamp2.js +1 -1
  197. package/dist/components/stzh-contactaddress.js +74 -10
  198. package/dist/components/stzh-cspace.js +1 -1
  199. package/dist/components/stzh-datalist-item.d.ts +11 -0
  200. package/dist/components/stzh-datalist-item.js +6 -0
  201. package/dist/components/stzh-datalist-item2.js +128 -0
  202. package/dist/components/stzh-datalist.js +1 -96
  203. package/dist/components/stzh-datalist2.js +147 -0
  204. package/dist/components/stzh-datamessagelist-item.js +3 -2
  205. package/dist/components/stzh-details.d.ts +11 -0
  206. package/dist/components/stzh-details.js +173 -0
  207. package/dist/components/stzh-dialog.js +4 -4
  208. package/dist/components/stzh-dropdown2.js +1 -1
  209. package/dist/components/stzh-figure.js +1 -1
  210. package/dist/components/stzh-footer.js +1 -1
  211. package/dist/components/stzh-ghettobox2.js +7 -3
  212. package/dist/components/stzh-header.js +29 -13
  213. package/dist/components/stzh-heading2.js +1 -1
  214. package/dist/components/stzh-icon-sprite.js +1 -1
  215. package/dist/components/stzh-icon2.js +1 -1
  216. package/dist/components/stzh-input2.js +1 -1
  217. package/dist/components/stzh-langnav.d.ts +11 -0
  218. package/dist/components/stzh-langnav.js +73 -0
  219. package/dist/components/stzh-link2.js +15 -3
  220. package/dist/components/stzh-menu-item2.js +1 -1
  221. package/dist/components/stzh-message.js +1 -1
  222. package/dist/components/stzh-microsite-teaserlist.d.ts +11 -0
  223. package/dist/components/stzh-microsite-teaserlist.js +212 -0
  224. package/dist/components/stzh-olmap.js +1 -1
  225. package/dist/components/stzh-pagetitle-hero.js +2 -2
  226. package/dist/components/stzh-pagetitle.js +1 -1
  227. package/dist/components/stzh-popover2.js +26 -8
  228. package/dist/components/stzh-portal-mitwirken.js +1 -1
  229. package/dist/components/stzh-progressbar-item2.js +1 -1
  230. package/dist/components/stzh-radio2.js +1 -1
  231. package/dist/components/stzh-radiogroup2.js +1 -1
  232. package/dist/components/stzh-richtext2.js +1 -1
  233. package/dist/components/stzh-sitemap.d.ts +11 -0
  234. package/dist/components/stzh-sitemap.js +69 -0
  235. package/dist/components/stzh-sortable2.js +29 -10
  236. package/dist/components/stzh-textandimage.d.ts +11 -0
  237. package/dist/components/stzh-textandimage.js +53 -0
  238. package/dist/components/stzh-toggle.js +1 -1
  239. package/dist/components/stzh-tooltip2.js +36 -12
  240. package/dist/components/stzh-upload.js +1 -1
  241. package/dist/components/stzh-vbz-linechip2.js +2 -1
  242. package/dist/components/stzh-vbz-majorticker.js +25 -12
  243. package/dist/components/stzh-vbz-ticker.js +26 -37
  244. package/dist/components/utils.js +1 -1
  245. package/dist/esm/{animation-utils-25c74e5b.js → animation-utils-e234a5f8.js} +3 -0
  246. package/dist/esm/{app-globals-246b5e49.js → app-globals-ff581b69.js} +1 -1
  247. package/dist/esm/{index-2915b467.js → index-011c84fe.js} +1 -1
  248. package/dist/esm/index.js +16 -0
  249. package/dist/esm/loader.js +3 -3
  250. package/dist/esm/stzh-accordion-item.entry.js +8 -4
  251. package/dist/esm/stzh-accordion.entry.js +4 -2
  252. package/dist/esm/stzh-actions.entry.js +2 -2
  253. package/dist/esm/stzh-actionset.entry.js +1 -1
  254. package/dist/esm/stzh-anchornav.entry.js +3 -3
  255. package/dist/esm/stzh-appnav.entry.js +2 -2
  256. package/dist/esm/stzh-appointments.entry.js +1 -1
  257. package/dist/esm/stzh-audio.entry.js +4 -4
  258. package/dist/esm/stzh-badge_3.entry.js +14 -7
  259. package/dist/esm/stzh-calendar.entry.js +2 -2
  260. package/dist/esm/stzh-card_3.entry.js +498 -0
  261. package/dist/esm/stzh-cell.entry.js +1 -1
  262. package/dist/esm/stzh-chart.entry.js +3 -4
  263. package/dist/esm/stzh-checkbox.entry.js +4 -4
  264. package/dist/esm/stzh-checkboxgroup.entry.js +4 -4
  265. package/dist/esm/stzh-chip.entry.js +7 -6
  266. package/dist/esm/stzh-clamp.entry.js +2 -2
  267. package/dist/esm/stzh-components.js +3 -3
  268. package/dist/esm/stzh-contactaddress.entry.js +34 -8
  269. package/dist/esm/stzh-container.entry.js +1 -1
  270. package/dist/esm/stzh-cspace.entry.js +2 -2
  271. package/dist/esm/stzh-datalist_2.entry.js +175 -0
  272. package/dist/esm/stzh-datamessagelist-item.entry.js +4 -3
  273. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  274. package/dist/esm/stzh-datatable.entry.js +1 -1
  275. package/dist/esm/stzh-datepicker_3.entry.js +5 -5
  276. package/dist/esm/stzh-details.entry.js +151 -0
  277. package/dist/esm/stzh-dialog.entry.js +6 -6
  278. package/dist/esm/stzh-dropdown.entry.js +4 -4
  279. package/dist/esm/stzh-fieldset.entry.js +1 -1
  280. package/dist/esm/stzh-figure.entry.js +3 -3
  281. package/dist/esm/stzh-flyingfocus.entry.js +2 -2
  282. package/dist/esm/stzh-footer.entry.js +3 -3
  283. package/dist/esm/stzh-ghettobox_2.entry.js +9 -6
  284. package/dist/esm/stzh-header.entry.js +29 -15
  285. package/dist/esm/stzh-heading.entry.js +2 -2
  286. package/dist/esm/stzh-hr.entry.js +1 -1
  287. package/dist/esm/stzh-hspace.entry.js +1 -1
  288. package/dist/esm/stzh-icon-sprite.entry.js +2 -2
  289. package/dist/esm/{stzh-input-description-e87e6697.js → stzh-input-description-bdd1e340.js} +1 -1
  290. package/dist/esm/stzh-input.entry.js +4 -4
  291. package/dist/esm/stzh-langnav.entry.js +33 -0
  292. package/dist/esm/stzh-link.entry.js +12 -5
  293. package/dist/esm/stzh-list-item.entry.js +1 -1
  294. package/dist/esm/stzh-list.entry.js +1 -1
  295. package/dist/esm/stzh-loader.entry.js +1 -1
  296. package/dist/esm/stzh-loadingbar.entry.js +1 -1
  297. package/dist/esm/stzh-menu_2.entry.js +3 -3
  298. package/dist/esm/stzh-message.entry.js +2 -2
  299. package/dist/esm/stzh-metanav.entry.js +1 -1
  300. package/dist/esm/stzh-microsite-teaserlist.entry.js +92 -0
  301. package/dist/esm/stzh-olmap.entry.js +2 -2
  302. package/dist/esm/stzh-overlay.entry.js +1 -1
  303. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  304. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  305. package/dist/esm/stzh-pagetitle-hero.entry.js +4 -4
  306. package/dist/esm/stzh-pagetitle.entry.js +3 -3
  307. package/dist/esm/stzh-popover.entry.js +28 -10
  308. package/dist/esm/stzh-portal-mitwirken.entry.js +2 -2
  309. package/dist/esm/stzh-progressbar-item.entry.js +2 -2
  310. package/dist/esm/stzh-progressbar.entry.js +1 -1
  311. package/dist/esm/stzh-readspeaker.entry.js +2 -2
  312. package/dist/esm/stzh-row.entry.js +1 -1
  313. package/dist/esm/stzh-saptcha.entry.js +1 -1
  314. package/dist/esm/stzh-section.entry.js +1 -1
  315. package/dist/esm/stzh-share.entry.js +1 -1
  316. package/dist/esm/stzh-sitemap.entry.js +20 -0
  317. package/dist/esm/stzh-skiplink.entry.js +1 -1
  318. package/dist/esm/stzh-sortable.entry.js +31 -12
  319. package/dist/esm/stzh-status.entry.js +1 -1
  320. package/dist/esm/stzh-sticky.entry.js +1 -1
  321. package/dist/esm/stzh-table.entry.js +2 -2
  322. package/dist/esm/stzh-text.entry.js +1 -1
  323. package/dist/esm/stzh-textandimage.entry.js +31 -0
  324. package/dist/esm/stzh-toggle.entry.js +4 -4
  325. package/dist/esm/stzh-tooltip.entry.js +38 -14
  326. package/dist/esm/stzh-upload.entry.js +4 -4
  327. package/dist/esm/stzh-vbz-linechip.entry.js +3 -2
  328. package/dist/esm/stzh-vbz-majorticker.entry.js +21 -10
  329. package/dist/esm/stzh-vbz-ticker.entry.js +26 -37
  330. package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
  331. package/dist/esm/stzh-vspace.entry.js +1 -1
  332. package/dist/esm/{utils-68a28fce.js → utils-92a77db5.js} +1 -1
  333. package/dist/esm-es5/animation-utils-e234a5f8.js +1 -0
  334. package/dist/esm-es5/{app-globals-246b5e49.js → app-globals-ff581b69.js} +1 -1
  335. package/dist/esm-es5/{index-2915b467.js → index-011c84fe.js} +1 -1
  336. package/dist/esm-es5/index.js +1 -0
  337. package/dist/esm-es5/loader.js +1 -1
  338. package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
  339. package/dist/esm-es5/stzh-accordion.entry.js +1 -1
  340. package/dist/esm-es5/stzh-actions.entry.js +1 -1
  341. package/dist/esm-es5/stzh-actionset.entry.js +1 -1
  342. package/dist/esm-es5/stzh-anchornav.entry.js +1 -1
  343. package/dist/esm-es5/stzh-appnav.entry.js +1 -1
  344. package/dist/esm-es5/stzh-appointments.entry.js +1 -1
  345. package/dist/esm-es5/stzh-audio.entry.js +2 -2
  346. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  347. package/dist/esm-es5/stzh-calendar.entry.js +1 -1
  348. package/dist/esm-es5/stzh-card_3.entry.js +1 -0
  349. package/dist/esm-es5/stzh-cell.entry.js +1 -1
  350. package/dist/esm-es5/stzh-chart.entry.js +2 -2
  351. package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
  352. package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
  353. package/dist/esm-es5/stzh-chip.entry.js +1 -1
  354. package/dist/esm-es5/stzh-clamp.entry.js +1 -1
  355. package/dist/esm-es5/stzh-components.js +1 -1
  356. package/dist/esm-es5/stzh-contactaddress.entry.js +1 -1
  357. package/dist/esm-es5/stzh-container.entry.js +1 -1
  358. package/dist/esm-es5/stzh-cspace.entry.js +1 -1
  359. package/dist/esm-es5/stzh-datalist_2.entry.js +1 -0
  360. package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
  361. package/dist/esm-es5/stzh-datamessagelist.entry.js +1 -1
  362. package/dist/esm-es5/stzh-datatable.entry.js +1 -1
  363. package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
  364. package/dist/esm-es5/stzh-details.entry.js +1 -0
  365. package/dist/esm-es5/stzh-dialog.entry.js +1 -1
  366. package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
  367. package/dist/esm-es5/stzh-fieldset.entry.js +1 -1
  368. package/dist/esm-es5/stzh-figure.entry.js +1 -1
  369. package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -1
  370. package/dist/esm-es5/stzh-footer.entry.js +1 -1
  371. package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
  372. package/dist/esm-es5/stzh-header.entry.js +1 -1
  373. package/dist/esm-es5/stzh-heading.entry.js +1 -1
  374. package/dist/esm-es5/stzh-hr.entry.js +1 -1
  375. package/dist/esm-es5/stzh-hspace.entry.js +1 -1
  376. package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
  377. package/dist/esm-es5/{stzh-input-description-e87e6697.js → stzh-input-description-bdd1e340.js} +1 -1
  378. package/dist/esm-es5/stzh-input.entry.js +1 -1
  379. package/dist/esm-es5/stzh-langnav.entry.js +1 -0
  380. package/dist/esm-es5/stzh-link.entry.js +1 -1
  381. package/dist/esm-es5/stzh-list-item.entry.js +1 -1
  382. package/dist/esm-es5/stzh-list.entry.js +1 -1
  383. package/dist/esm-es5/stzh-loader.entry.js +1 -1
  384. package/dist/esm-es5/stzh-loadingbar.entry.js +1 -1
  385. package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
  386. package/dist/esm-es5/stzh-message.entry.js +1 -1
  387. package/dist/esm-es5/stzh-metanav.entry.js +1 -1
  388. package/dist/esm-es5/stzh-microsite-teaserlist.entry.js +1 -0
  389. package/dist/esm-es5/stzh-olmap.entry.js +2 -2
  390. package/dist/esm-es5/stzh-overlay.entry.js +1 -1
  391. package/dist/esm-es5/stzh-page-skiplinks.entry.js +1 -1
  392. package/dist/esm-es5/stzh-pagebottom.entry.js +1 -1
  393. package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -1
  394. package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
  395. package/dist/esm-es5/stzh-popover.entry.js +1 -1
  396. package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
  397. package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
  398. package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
  399. package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
  400. package/dist/esm-es5/stzh-row.entry.js +1 -1
  401. package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
  402. package/dist/esm-es5/stzh-section.entry.js +1 -1
  403. package/dist/esm-es5/stzh-share.entry.js +1 -1
  404. package/dist/esm-es5/stzh-sitemap.entry.js +1 -0
  405. package/dist/esm-es5/stzh-skiplink.entry.js +1 -1
  406. package/dist/esm-es5/stzh-sortable.entry.js +2 -2
  407. package/dist/esm-es5/stzh-status.entry.js +1 -1
  408. package/dist/esm-es5/stzh-sticky.entry.js +1 -1
  409. package/dist/esm-es5/stzh-table.entry.js +1 -1
  410. package/dist/esm-es5/stzh-text.entry.js +1 -1
  411. package/dist/esm-es5/stzh-textandimage.entry.js +1 -0
  412. package/dist/esm-es5/stzh-toggle.entry.js +1 -1
  413. package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
  414. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  415. package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
  416. package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
  417. package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
  418. package/dist/esm-es5/stzh-visuallyhidden.entry.js +1 -1
  419. package/dist/esm-es5/stzh-vspace.entry.js +1 -1
  420. package/dist/esm-es5/{utils-68a28fce.js → utils-92a77db5.js} +1 -1
  421. package/dist/stzh-components/assets/i18n/de.json +15 -7
  422. package/dist/stzh-components/assets/i18n/en.json +16 -8
  423. package/dist/stzh-components/assets/icons/mono/arrow-right-down.svg +3 -0
  424. package/dist/stzh-components/assets/icons/mono/construction.svg +2 -2
  425. package/dist/stzh-components/assets/icons/mono/fountain.svg +3 -0
  426. package/dist/stzh-components/assets/icons/mono/pause-filled.svg +3 -0
  427. package/dist/stzh-components/assets/icons/mono/play-filled.svg +3 -0
  428. package/dist/stzh-components/assets/icons/mono/reload.svg +2 -9
  429. package/dist/stzh-components/assets/icons/mono/water-drops.svg +11 -0
  430. package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +102 -37
  431. package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  432. package/dist/stzh-components/index.esm.js +1 -0
  433. package/dist/stzh-components/{p-f6ab391e.system.entry.js → p-006751fc.system.entry.js} +1 -1
  434. package/dist/stzh-components/{p-27839f48.entry.js → p-025c9c5b.entry.js} +1 -1
  435. package/dist/stzh-components/{p-e9313802.system.entry.js → p-0409bf6b.system.entry.js} +2 -2
  436. package/dist/stzh-components/p-06d9b884.system.entry.js +1 -0
  437. package/dist/stzh-components/{p-3e504f50.entry.js → p-0743d7fa.entry.js} +1 -1
  438. package/dist/stzh-components/p-0850a2e1.system.entry.js +1 -0
  439. package/dist/stzh-components/{p-d5ee4ac0.entry.js → p-09da70d8.entry.js} +1 -1
  440. package/dist/stzh-components/{p-4e6ddb5f.entry.js → p-0a647396.entry.js} +1 -1
  441. package/dist/stzh-components/p-0c8427bc.entry.js +1 -0
  442. package/dist/stzh-components/{p-b1ff3a21.system.entry.js → p-0cc8bbd7.system.entry.js} +2 -2
  443. package/dist/stzh-components/{p-e662b688.entry.js → p-0cff4e01.entry.js} +1 -1
  444. package/dist/stzh-components/{p-0321e98e.system.entry.js → p-104df3a8.system.entry.js} +1 -1
  445. package/dist/stzh-components/p-10c046fc.system.entry.js +1 -0
  446. package/dist/stzh-components/{p-26159eac.system.entry.js → p-11d7b426.system.entry.js} +1 -1
  447. package/dist/stzh-components/p-12a2afe9.entry.js +1 -0
  448. package/dist/stzh-components/p-17645237.entry.js +1 -0
  449. package/dist/stzh-components/p-18cb06e2.entry.js +1 -0
  450. package/dist/stzh-components/{p-c3161c9b.system.entry.js → p-19ab7e34.system.entry.js} +1 -1
  451. package/dist/stzh-components/p-1ae4d600.system.entry.js +1 -0
  452. package/dist/stzh-components/{p-ff534e27.entry.js → p-1d8272a5.entry.js} +1 -1
  453. package/dist/stzh-components/{p-27bfb4c2.system.entry.js → p-21cad060.system.entry.js} +1 -1
  454. package/dist/stzh-components/{p-14f0d546.entry.js → p-22b06793.entry.js} +1 -1
  455. package/dist/stzh-components/{p-22c9a00d.system.entry.js → p-23829f75.system.entry.js} +1 -1
  456. package/dist/stzh-components/{p-3fc40cc0.system.entry.js → p-2577ca1e.system.entry.js} +1 -1
  457. package/dist/stzh-components/{p-7dd6fbc9.system.entry.js → p-288ee536.system.entry.js} +1 -1
  458. package/dist/stzh-components/{p-2c16d2ea.entry.js → p-28d8aa31.entry.js} +1 -1
  459. package/dist/stzh-components/{p-8fc8d8c2.system.entry.js → p-2bdc71ae.system.entry.js} +1 -1
  460. package/dist/stzh-components/p-2bec3c77.entry.js +1 -0
  461. package/dist/stzh-components/p-2d340222.system.entry.js +1 -0
  462. package/dist/stzh-components/{p-2e276f2e.system.entry.js → p-30ae5c00.system.entry.js} +1 -1
  463. package/dist/stzh-components/{p-34eb65b9.entry.js → p-30ba96a3.entry.js} +1 -1
  464. package/dist/stzh-components/{p-62afe664.entry.js → p-31c3469c.entry.js} +1 -1
  465. package/dist/stzh-components/{p-881e526e.system.entry.js → p-3200f52a.system.entry.js} +1 -1
  466. package/dist/stzh-components/{p-725b3e74.system.entry.js → p-33f80cd2.system.entry.js} +1 -1
  467. package/dist/stzh-components/{p-456143f9.entry.js → p-376946bc.entry.js} +1 -1
  468. package/dist/stzh-components/p-385dda6c.system.entry.js +1 -0
  469. package/dist/stzh-components/{p-71220066.entry.js → p-391e6b90.entry.js} +1 -1
  470. package/dist/stzh-components/p-3a1ff759.entry.js +1 -0
  471. package/dist/stzh-components/p-3ad67331.entry.js +1 -0
  472. package/dist/stzh-components/p-3e850dce.entry.js +1 -0
  473. package/dist/stzh-components/p-4226dec6.system.entry.js +1 -0
  474. package/dist/stzh-components/p-441ea784.entry.js +1 -0
  475. package/dist/stzh-components/{p-229f4ebc.system.entry.js → p-44e0b101.system.entry.js} +1 -1
  476. package/dist/stzh-components/p-4704588f.system.entry.js +1 -0
  477. package/dist/stzh-components/{p-30e5a674.entry.js → p-49b292df.entry.js} +1 -1
  478. package/dist/stzh-components/p-49bb09a5.entry.js +1 -0
  479. package/dist/stzh-components/{p-9454a438.entry.js → p-4b0f473e.entry.js} +1 -1
  480. package/dist/stzh-components/p-4b369bac.entry.js +1 -0
  481. package/dist/stzh-components/p-5011f10c.js +1 -0
  482. package/dist/stzh-components/{p-53c30c58.entry.js → p-51be647d.entry.js} +1 -1
  483. package/dist/stzh-components/{p-6267a327.system.js → p-5494f37d.system.js} +1 -1
  484. package/dist/stzh-components/p-557f07b5.system.entry.js +1 -0
  485. package/dist/stzh-components/p-55b7cda7.system.entry.js +1 -0
  486. package/dist/stzh-components/{p-05901b22.system.entry.js → p-57237509.system.entry.js} +1 -1
  487. package/dist/stzh-components/{p-b09b85ac.entry.js → p-576e1345.entry.js} +1 -1
  488. package/dist/stzh-components/p-5790eb4f.system.entry.js +1 -0
  489. package/dist/stzh-components/p-57a0f895.entry.js +1 -0
  490. package/dist/stzh-components/p-57f8596f.system.entry.js +1 -0
  491. package/dist/stzh-components/p-586a8b3f.entry.js +1 -0
  492. package/dist/stzh-components/p-58af0855.system.entry.js +1 -0
  493. package/dist/stzh-components/{p-c866224d.entry.js → p-5b1c1cf7.entry.js} +1 -1
  494. package/dist/stzh-components/{p-bd5b8114.system.entry.js → p-5ddf8258.system.entry.js} +1 -1
  495. package/dist/stzh-components/{p-470e5f38.system.entry.js → p-5fd9ae99.system.entry.js} +1 -1
  496. package/dist/stzh-components/{p-6c1ad586.system.entry.js → p-60274e67.system.entry.js} +1 -1
  497. package/dist/stzh-components/{p-470ccde5.system.entry.js → p-60d9bf98.system.entry.js} +1 -1
  498. package/dist/stzh-components/{p-652eee8b.system.entry.js → p-60ec90b2.system.entry.js} +1 -1
  499. package/dist/stzh-components/{p-3efefb7f.entry.js → p-62a2684d.entry.js} +1 -1
  500. package/dist/stzh-components/p-63d94a57.system.entry.js +1 -0
  501. package/dist/stzh-components/{p-4a3f9353.entry.js → p-64422176.entry.js} +1 -1
  502. package/dist/stzh-components/{p-a3559e69.entry.js → p-661831da.entry.js} +1 -1
  503. package/dist/stzh-components/{p-bc841847.entry.js → p-669896ec.entry.js} +1 -1
  504. package/dist/stzh-components/{p-38b9e5e9.entry.js → p-67c6f0f2.entry.js} +1 -1
  505. package/dist/stzh-components/{p-b666bb15.entry.js → p-6a0a76b3.entry.js} +1 -1
  506. package/dist/stzh-components/{p-8ab86ca3.system.entry.js → p-6d009f56.system.entry.js} +1 -1
  507. package/dist/stzh-components/p-71c07419.system.entry.js +1 -0
  508. package/dist/stzh-components/{p-3a0f37bd.entry.js → p-72389069.entry.js} +1 -1
  509. package/dist/stzh-components/p-75068cd7.system.entry.js +1 -0
  510. package/dist/stzh-components/{p-229d4ad2.entry.js → p-76165227.entry.js} +1 -1
  511. package/dist/stzh-components/p-7704b10b.entry.js +1 -0
  512. package/dist/stzh-components/p-791bc813.system.js +1 -0
  513. package/dist/stzh-components/{p-71d757d3.js → p-7941cf38.js} +1 -1
  514. package/dist/stzh-components/{p-cc735465.system.entry.js → p-7adc28a4.system.entry.js} +2 -2
  515. package/dist/stzh-components/p-7b86c022.entry.js +1 -0
  516. package/dist/stzh-components/p-7c26f80f.system.entry.js +1 -0
  517. package/dist/stzh-components/p-7ce59988.system.entry.js +1 -0
  518. package/dist/stzh-components/{p-e785d9cc.entry.js → p-7e94dde2.entry.js} +1 -1
  519. package/dist/stzh-components/{p-bdc627fa.system.entry.js → p-812ea5e9.system.entry.js} +1 -1
  520. package/dist/stzh-components/{p-5c2d0572.entry.js → p-84965eac.entry.js} +1 -1
  521. package/dist/stzh-components/p-84b9f66f.system.entry.js +1 -0
  522. package/dist/stzh-components/p-853a1f92.entry.js +1 -0
  523. package/dist/stzh-components/p-86a29c35.js +1 -0
  524. package/dist/stzh-components/{p-44435254.system.entry.js → p-88a31179.system.entry.js} +1 -1
  525. package/dist/stzh-components/p-8991d3bc.entry.js +1 -0
  526. package/dist/stzh-components/{p-4fd4a703.entry.js → p-8a1d00fe.entry.js} +2 -2
  527. package/dist/stzh-components/{p-b99c0844.entry.js → p-8bbaed3a.entry.js} +1 -1
  528. package/dist/stzh-components/{p-6a96d63e.system.entry.js → p-8cc119d3.system.entry.js} +1 -1
  529. package/dist/stzh-components/p-8fa2fb95.system.entry.js +1 -0
  530. package/dist/stzh-components/p-9072a490.system.entry.js +1 -0
  531. package/dist/stzh-components/p-912706bb.entry.js +1 -0
  532. package/dist/stzh-components/{p-5e81420b.entry.js → p-9176246f.entry.js} +1 -1
  533. package/dist/stzh-components/p-92afa8df.entry.js +1 -0
  534. package/dist/stzh-components/{p-61d4852f.system.entry.js → p-94830f96.system.entry.js} +1 -1
  535. package/dist/stzh-components/p-95b490ec.system.entry.js +1 -0
  536. package/dist/stzh-components/p-9743f558.system.entry.js +1 -0
  537. package/dist/stzh-components/p-97e16665.system.entry.js +1 -0
  538. package/dist/stzh-components/p-996579d0.entry.js +1 -0
  539. package/dist/stzh-components/{p-7a4c6adb.js → p-9a5ebb1f.js} +1 -1
  540. package/dist/stzh-components/{p-1a5fc8e3.system.entry.js → p-9dac46e2.system.entry.js} +1 -1
  541. package/dist/stzh-components/p-9e38b823.system.entry.js +1 -0
  542. package/dist/stzh-components/p-9e4e0cc9.entry.js +1 -0
  543. package/dist/stzh-components/p-a16dc363.entry.js +1 -0
  544. package/dist/stzh-components/{p-33a52001.system.entry.js → p-a474826c.system.entry.js} +1 -1
  545. package/dist/stzh-components/{p-7d77b8d2.entry.js → p-a53c0a98.entry.js} +1 -1
  546. package/dist/stzh-components/{p-0c10d9b1.entry.js → p-a8101552.entry.js} +2 -2
  547. package/dist/stzh-components/p-a934dd4d.entry.js +1 -0
  548. package/dist/stzh-components/{p-5caa837c.system.entry.js → p-aacf685b.system.entry.js} +2 -2
  549. package/dist/stzh-components/{p-c1100fde.entry.js → p-aae4655f.entry.js} +1 -1
  550. package/dist/stzh-components/p-ac1a6085.system.entry.js +1 -0
  551. package/dist/stzh-components/p-ac3aa560.system.entry.js +1 -0
  552. package/dist/stzh-components/{p-7c172e64.system.entry.js → p-afedafa6.system.entry.js} +1 -1
  553. package/dist/stzh-components/p-b0d8866d.entry.js +1 -0
  554. package/dist/stzh-components/{p-36596b2b.system.entry.js → p-b2145753.system.entry.js} +1 -1
  555. package/dist/stzh-components/{p-3a279b45.entry.js → p-b3dc4913.entry.js} +1 -1
  556. package/dist/stzh-components/{p-44dd74d1.system.entry.js → p-b436a18d.system.entry.js} +1 -1
  557. package/dist/stzh-components/{p-55435022.system.entry.js → p-b908d228.system.entry.js} +1 -1
  558. package/dist/stzh-components/{p-909d7a3c.system.js → p-b937ae70.system.js} +1 -1
  559. package/dist/stzh-components/{p-daa34275.system.entry.js → p-ba0b93c4.system.entry.js} +1 -1
  560. package/dist/stzh-components/{p-90665664.system.entry.js → p-be79497f.system.entry.js} +1 -1
  561. package/dist/stzh-components/{p-0e48efa7.entry.js → p-bee6eef5.entry.js} +1 -1
  562. package/dist/stzh-components/{p-616e70e9.system.entry.js → p-bfcfbfbb.system.entry.js} +1 -1
  563. package/dist/stzh-components/p-c0fef3d1.entry.js +1 -0
  564. package/dist/stzh-components/{p-8eb72064.system.entry.js → p-c30600d0.system.entry.js} +1 -1
  565. package/dist/stzh-components/{p-46f4e907.entry.js → p-c3a543a6.entry.js} +1 -1
  566. package/dist/stzh-components/p-c63aecaa.system.entry.js +1 -0
  567. package/dist/stzh-components/p-c87e12de.system.entry.js +1 -0
  568. package/dist/stzh-components/{p-2c783943.entry.js → p-cc720d2d.entry.js} +1 -1
  569. package/dist/stzh-components/p-cfd22a5e.system.entry.js +1 -0
  570. package/dist/stzh-components/p-cff8376e.entry.js +1 -0
  571. package/dist/stzh-components/p-d240494d.entry.js +1 -0
  572. package/dist/stzh-components/p-d2f6fb1b.system.js +1 -0
  573. package/dist/stzh-components/p-d5c0801b.entry.js +1 -0
  574. package/dist/stzh-components/{p-440ae0cc.system.entry.js → p-d5cb80ad.system.entry.js} +1 -1
  575. package/dist/stzh-components/p-d6ec20c8.system.entry.js +1 -0
  576. package/dist/stzh-components/p-d9bf09b1.system.entry.js +1 -0
  577. package/dist/stzh-components/{p-b5a59ac0.entry.js → p-db1692fb.entry.js} +1 -1
  578. package/dist/stzh-components/{p-609bf766.system.js → p-dbdc01c7.system.js} +2 -2
  579. package/dist/stzh-components/{p-8347b91f.js → p-df5f49b4.js} +1 -1
  580. package/dist/stzh-components/p-e016ceb9.entry.js +1 -0
  581. package/dist/stzh-components/{p-fade35c7.entry.js → p-e0f063ac.entry.js} +1 -1
  582. package/dist/stzh-components/p-e32bc982.system.js +1 -0
  583. package/dist/stzh-components/{p-5ed4d1d5.system.entry.js → p-e46d82b9.system.entry.js} +1 -1
  584. package/dist/stzh-components/p-e76a3647.entry.js +1 -0
  585. package/dist/stzh-components/{p-e347ce1e.system.entry.js → p-e7cf6c45.system.entry.js} +1 -1
  586. package/dist/stzh-components/p-ea9ca52b.entry.js +1 -0
  587. package/dist/stzh-components/p-eaa65f52.system.js +1 -0
  588. package/dist/stzh-components/p-eade9f77.entry.js +1 -0
  589. package/dist/stzh-components/{p-e69903fe.entry.js → p-eb6d3e6c.entry.js} +1 -1
  590. package/dist/stzh-components/{p-d408604f.system.entry.js → p-ec3a472a.system.entry.js} +1 -1
  591. package/dist/stzh-components/{p-d4b93488.entry.js → p-ec7b6ce8.entry.js} +2 -2
  592. package/dist/stzh-components/{p-ef62b905.entry.js → p-ed0d51b6.entry.js} +1 -1
  593. package/dist/stzh-components/p-ed6adb96.entry.js +1 -0
  594. package/dist/stzh-components/p-ef3da23b.entry.js +1 -0
  595. package/dist/stzh-components/{p-27573504.system.entry.js → p-f027e569.system.entry.js} +1 -1
  596. package/dist/stzh-components/{p-95defe16.system.entry.js → p-f03ce92d.system.entry.js} +1 -1
  597. package/dist/stzh-components/{p-a866b3a3.entry.js → p-f133eba2.entry.js} +1 -1
  598. package/dist/stzh-components/p-f3107fc7.system.entry.js +1 -0
  599. package/dist/stzh-components/{p-92788577.entry.js → p-f5fdc88c.entry.js} +2 -2
  600. package/dist/stzh-components/{p-183e4790.system.entry.js → p-fbf2f4ed.system.entry.js} +1 -1
  601. package/dist/stzh-components/{p-f5f3475c.system.entry.js → p-fcec6003.system.entry.js} +1 -1
  602. package/dist/stzh-components/{p-cf781b59.entry.js → p-fd265f3a.entry.js} +1 -1
  603. package/dist/stzh-components/p-fdb906b9.system.entry.js +1 -0
  604. package/dist/stzh-components/{p-b54ed1f9.entry.js → p-fee6a938.entry.js} +1 -1
  605. package/dist/stzh-components/stzh-components.esm.js +1 -1
  606. package/dist/stzh-components/stzh-components.js +1 -1
  607. package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.localization.d.ts +1 -0
  608. package/dist/types/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.localization.d.ts +5 -0
  609. package/dist/types/components/stzh-popover/stzh-popover.localization.d.ts +1 -0
  610. package/dist/types/components/stzh-tooltip/stzh-tooltip.localization.d.ts +1 -0
  611. package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.d.ts +13 -12
  612. package/dist/types/components.d.ts +534 -29
  613. package/dist/types/index.d.ts +86 -2
  614. package/dist/vscode-data.json +291 -18
  615. package/package.json +1 -1
  616. package/dist/cjs/stzh-card-list.cjs.entry.js +0 -76
  617. package/dist/cjs/stzh-card.cjs.entry.js +0 -282
  618. package/dist/cjs/stzh-chip-select.cjs.entry.js +0 -112
  619. package/dist/cjs/stzh-datalist.cjs.entry.js +0 -62
  620. package/dist/esm/stzh-card-list.entry.js +0 -72
  621. package/dist/esm/stzh-card.entry.js +0 -278
  622. package/dist/esm/stzh-chip-select.entry.js +0 -108
  623. package/dist/esm/stzh-datalist.entry.js +0 -58
  624. package/dist/esm-es5/animation-utils-25c74e5b.js +0 -1
  625. package/dist/esm-es5/stzh-card-list.entry.js +0 -1
  626. package/dist/esm-es5/stzh-card.entry.js +0 -1
  627. package/dist/esm-es5/stzh-chip-select.entry.js +0 -1
  628. package/dist/esm-es5/stzh-datalist.entry.js +0 -1
  629. package/dist/stzh-components/p-01909f35.system.entry.js +0 -1
  630. package/dist/stzh-components/p-0230004d.system.js +0 -1
  631. package/dist/stzh-components/p-025953d1.system.entry.js +0 -1
  632. package/dist/stzh-components/p-04dd6821.entry.js +0 -1
  633. package/dist/stzh-components/p-090bfb8e.system.entry.js +0 -1
  634. package/dist/stzh-components/p-105a11cb.entry.js +0 -1
  635. package/dist/stzh-components/p-140e4b63.entry.js +0 -1
  636. package/dist/stzh-components/p-14e457c6.system.entry.js +0 -1
  637. package/dist/stzh-components/p-17ae6581.entry.js +0 -1
  638. package/dist/stzh-components/p-1f57d28e.js +0 -1
  639. package/dist/stzh-components/p-20a6ffbb.entry.js +0 -1
  640. package/dist/stzh-components/p-238a8c83.system.entry.js +0 -1
  641. package/dist/stzh-components/p-25ef050a.entry.js +0 -1
  642. package/dist/stzh-components/p-293ceb5e.entry.js +0 -1
  643. package/dist/stzh-components/p-2a5855f8.js +0 -1
  644. package/dist/stzh-components/p-2ba8b5c9.system.entry.js +0 -1
  645. package/dist/stzh-components/p-37bdb9cd.system.entry.js +0 -1
  646. package/dist/stzh-components/p-38977481.entry.js +0 -1
  647. package/dist/stzh-components/p-3a47ff2d.system.entry.js +0 -1
  648. package/dist/stzh-components/p-509c97c9.system.entry.js +0 -1
  649. package/dist/stzh-components/p-50ea2036.system.js +0 -1
  650. package/dist/stzh-components/p-51c75fba.system.entry.js +0 -1
  651. package/dist/stzh-components/p-529a56aa.system.entry.js +0 -1
  652. package/dist/stzh-components/p-52cd1bd1.system.js +0 -1
  653. package/dist/stzh-components/p-5869502c.system.entry.js +0 -1
  654. package/dist/stzh-components/p-5c311df3.entry.js +0 -1
  655. package/dist/stzh-components/p-60d8e2da.entry.js +0 -1
  656. package/dist/stzh-components/p-61c9ca5d.entry.js +0 -1
  657. package/dist/stzh-components/p-67ade1c7.system.entry.js +0 -1
  658. package/dist/stzh-components/p-6830f839.entry.js +0 -1
  659. package/dist/stzh-components/p-6a16ceff.entry.js +0 -1
  660. package/dist/stzh-components/p-6d22bd0d.entry.js +0 -1
  661. package/dist/stzh-components/p-783346ed.entry.js +0 -1
  662. package/dist/stzh-components/p-7909f56b.entry.js +0 -1
  663. package/dist/stzh-components/p-7a584d3f.system.entry.js +0 -1
  664. package/dist/stzh-components/p-7aef399f.entry.js +0 -1
  665. package/dist/stzh-components/p-7dec02ca.entry.js +0 -1
  666. package/dist/stzh-components/p-84aace40.system.entry.js +0 -1
  667. package/dist/stzh-components/p-8d9056de.entry.js +0 -1
  668. package/dist/stzh-components/p-8f9de52f.system.entry.js +0 -1
  669. package/dist/stzh-components/p-90ad5e2c.entry.js +0 -1
  670. package/dist/stzh-components/p-92ad9720.system.entry.js +0 -1
  671. package/dist/stzh-components/p-965829a6.system.entry.js +0 -1
  672. package/dist/stzh-components/p-98a972b7.system.entry.js +0 -1
  673. package/dist/stzh-components/p-9a7593f5.entry.js +0 -1
  674. package/dist/stzh-components/p-a10e0117.system.entry.js +0 -1
  675. package/dist/stzh-components/p-ac409e7b.system.entry.js +0 -1
  676. package/dist/stzh-components/p-ad119aca.entry.js +0 -1
  677. package/dist/stzh-components/p-b0e514c7.entry.js +0 -1
  678. package/dist/stzh-components/p-b3587b9d.system.entry.js +0 -1
  679. package/dist/stzh-components/p-bc34bf07.system.entry.js +0 -1
  680. package/dist/stzh-components/p-bfdce66c.entry.js +0 -1
  681. package/dist/stzh-components/p-c051fc3b.entry.js +0 -1
  682. package/dist/stzh-components/p-c2238fbf.entry.js +0 -1
  683. package/dist/stzh-components/p-c3846ccf.system.entry.js +0 -1
  684. package/dist/stzh-components/p-c6813d9f.system.entry.js +0 -1
  685. package/dist/stzh-components/p-c777032f.system.entry.js +0 -1
  686. package/dist/stzh-components/p-c8009c05.system.entry.js +0 -1
  687. package/dist/stzh-components/p-cbaab05e.entry.js +0 -1
  688. package/dist/stzh-components/p-ce06b4f2.system.js +0 -1
  689. package/dist/stzh-components/p-d00e20ff.entry.js +0 -1
  690. package/dist/stzh-components/p-d26ed018.entry.js +0 -1
  691. package/dist/stzh-components/p-e161760f.system.entry.js +0 -1
  692. package/dist/stzh-components/p-ee711f37.system.entry.js +0 -1
  693. package/dist/stzh-components/p-ee944add.system.entry.js +0 -1
  694. package/dist/stzh-components/p-f8ccf5b1.entry.js +0 -1
  695. package/dist/stzh-components/p-f9039c23.entry.js +0 -1
  696. package/dist/stzh-components/p-ff2a6bdf.system.entry.js +0 -1
@@ -1 +1 @@
1
- var __awaiter=this&&this.__awaiter||function(e,a,t,s){function n(e){return e instanceof t?e:new t((function(a){a(e)}))}return new(t||(t=Promise))((function(t,r){function o(e){try{l(s.next(e))}catch(a){r(a)}}function i(e){try{l(s["throw"](e))}catch(a){r(a)}}function l(e){e.done?t(e.value):n(e.value).then(o,i)}l((s=s.apply(e,a||[])).next())}))};var __generator=this&&this.__generator||function(e,a){var t={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},s,n,r,o;return o={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function i(e){return function(a){return l([e,a])}}function l(o){if(s)throw new TypeError("Generator is already executing.");while(t)try{if(s=1,n&&(r=o[0]&2?n["return"]:o[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;if(n=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;n=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(r=t.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){t.label=o[1];break}if(o[0]===6&&t.label<r[1]){t.label=r[1];r=o;break}if(r&&t.label<r[2]){t.label=r[2];t.ops.push(o);break}if(r[2])t.ops.pop();t.trys.pop();continue}o=a.call(e,t)}catch(i){o=[6,i];n=0}finally{s=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};import{h,r as registerInstance,c as createEvent,a as Host,g as getElement}from"./index-2915b467.js";import{i as isEqual,b as isEqualMonth,g as getViewOfMonth,c as inRange,p as parseISODate,D as DaysOfWeek,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-be83fff1.js";import{f as fetchTranslations}from"./translation-utils-2623783f.js";var StzhCalendarDay=function(e){var a=e.focusedDay,t=e.today,s=e.day,n=e.onDaySelect,r=e.onKeyboardNavigation,o=e.focusedDayRef,i=e.disabled,l=e.inRange,c=e.isSelected,d=e.dateFormatter;var u=isEqual(s,t);var f=isEqualMonth(s,a);var z=isEqual(s,a);var p=!l;function y(e){n(e,s)}return h("button",{class:{"stzh-calendar__day":true,"is-outside":p,"is-today":u,"is-month":f,"is-disabled":i},tabIndex:z?0:-1,onClick:y,onKeyDown:r,"aria-disabled":i?"true":undefined,disabled:p,type:"button","aria-pressed":c?"true":"false","aria-current":u?"date":undefined,ref:function(e){if(z&&e&&o){o(e)}}},h("span",{"aria-hidden":"true"},s.getDate()),h("span",{class:"stzh-calendar__vhidden"},d.format(s)))};function chunk(e,a){var t=[];for(var s=0;s<e.length;s+=a){t.push(e.slice(s,s+a))}return t}function mapWithOffset(e,a,t){return e.map((function(s,n){var r=(n+a)%e.length;return t(e[r])}))}var StzhCalendarMonth=function(e){var a=e.selectedDate,t=e.focusedDate,s=e.labelledById,n=e.localization,r=e.firstDayOfWeek,o=e.min,i=e.max,l=e.dateFormatter,c=e.isDateDisabled,d=e.onDateSelect,u=e.onKeyboardNavigation,f=e.focusedDayRef;var z=new Date;var p=getViewOfMonth(t,r);return h("table",{class:"stzh-calendar__table","aria-labelledby":s},h("thead",null,h("tr",null,mapWithOffset(n.$globals.dayNames,r,(function(e){return h("th",{class:"stzh-calendar__table-header",scope:"col"},h("span",{"aria-hidden":"true"},e.substring(0,2)),h("span",{class:"stzh-calendar__vhidden"},e))})))),h("tbody",null,chunk(p,7).map((function(e){return h("tr",{class:"stzh-calendar__row"},e.map((function(e){return h("td",{class:"stzh-calendar__cell"},h(StzhCalendarDay,{day:e,today:z,focusedDay:t,isSelected:isEqual(e,a),disabled:c(e),inRange:inRange(e,o,i),onDaySelect:d,dateFormatter:l,onKeyboardNavigation:u,focusedDayRef:f}))})))}))))};var stzhCalendarCss='.sc-stzh-calendar-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-calendar-h{display:none}.sc-stzh-calendar-h *.sc-stzh-calendar,.sc-stzh-calendar-h *.sc-stzh-calendar::before,.sc-stzh-calendar-h *.sc-stzh-calendar::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-calendar-h{display:block}.stzh-calendar.sc-stzh-calendar{display:-ms-flexbox;display:flex;position:relative;text-align:left;color:var(--stzh-base-color);-ms-touch-action:pan-y;touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.stzh-calendar__wrapper.sc-stzh-calendar{width:100%}@media screen and (min-width: 600px){.stzh-calendar__wrapper.sc-stzh-calendar{min-width:18.125rem}}.stzh-calendar__table.sc-stzh-calendar{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;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);border-collapse:collapse;border-spacing:0;color:var(--stzh-base-color);text-align:center;width:100%}.stzh-calendar__table-header.sc-stzh-calendar,.stzh-calendar__cell.sc-stzh-calendar{padding:var(--stzh-space-xxxsmall)}.stzh-calendar__table-header.sc-stzh-calendar:first-child,.stzh-calendar__cell.sc-stzh-calendar:first-child{padding-left:0}.stzh-calendar__table-header.sc-stzh-calendar:last-child,.stzh-calendar__cell.sc-stzh-calendar:last-child{padding-right:0}.stzh-calendar__row.sc-stzh-calendar:last-child .stzh-calendar__cell.sc-stzh-calendar{padding-bottom:0}.stzh-calendar__table-header.sc-stzh-calendar{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);text-decoration:none;padding-top:0}.stzh-calendar__cell.sc-stzh-calendar{text-align:center}.stzh-calendar__day.sc-stzh-calendar{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:50%;color:var(--stzh-base-color);cursor:pointer;display:inline-block;font-variant-numeric:tabular-nums;height:2.5rem;padding:0 0 0.0625rem;position:relative;text-align:center;vertical-align:middle;width:2.5rem;z-index:1}.stzh-calendar__day.sc-stzh-calendar::before{border-radius:50%;bottom:0;content:"";left:0;position:absolute;right:0;top:0}.stzh-calendar__day.is-today.sc-stzh-calendar{-webkit-box-shadow:0 0 0 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));box-shadow:0 0 0 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));position:relative;z-index:200}.stzh-calendar__day.sc-stzh-calendar:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-calendar__day.sc-stzh-calendar:hover::before{background:var(--stzh-color-primary, var(--stzh-color-zueriblue));opacity:0.08}.stzh-calendar__day[aria-pressed=true].sc-stzh-calendar,.stzh-calendar__day.sc-stzh-calendar:focus{background:var(--stzh-color-primary, var(--stzh-color-zueriblue));-webkit-box-shadow:none;box-shadow:none;color:var(--stzh-color-white)}.stzh-calendar__day.sc-stzh-calendar:active{background:var(--stzh-color-primary, var(--stzh-color-zueriblue));-webkit-box-shadow:0 0 0.3125rem var(--stzh-color-primary, var(--stzh-color-zueriblue));box-shadow:0 0 0.3125rem var(--stzh-color-primary, var(--stzh-color-zueriblue));color:var(--stzh-color-white);z-index:200}.stzh-calendar__day.sc-stzh-calendar:focus{z-index:200}.stzh-calendar__day.sc-stzh-calendar:not(.is-month){-webkit-box-shadow:none;box-shadow:none}.stzh-calendar__day.sc-stzh-calendar:not(.is-month),.stzh-calendar__day[aria-disabled=true].sc-stzh-calendar{background:transparent;color:var(--stzh-color-grey25);cursor:default}.stzh-calendar__day[aria-disabled=true].is-today.sc-stzh-calendar{-webkit-box-shadow:0 0 0 0.0625rem var(--stzh-color-grey13);box-shadow:0 0 0 0.0625rem var(--stzh-color-grey13)}.stzh-calendar__day[aria-disabled=true].is-today.sc-stzh-calendar:focus{-webkit-box-shadow:0 0 0.3125rem var(--stzh-color-primary, var(--stzh-color-zueriblue));box-shadow:0 0 0.3125rem var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-calendar__day[aria-disabled=true].sc-stzh-calendar::before{display:none}.stzh-calendar__day.is-disabled.sc-stzh-calendar{text-decoration:line-through}.stzh-calendar__day.is-outside.sc-stzh-calendar{background:var(--stzh-color-grey5);-webkit-box-shadow:none;box-shadow:none;color:var(--stzh-base-color);cursor:default;opacity:0.6;pointer-events:none;text-decoration:none}.stzh-calendar__day.is-outside.sc-stzh-calendar::before{display:none}.stzh-calendar__header.sc-stzh-calendar{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:var(--stzh-space-medium);width:100%}.stzh-calendar__nav.sc-stzh-calendar{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.stzh-calendar__prev.sc-stzh-calendar,.stzh-calendar__next.sc-stzh-calendar{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0.0625rem solid var(--stzh-color-grey13);border-radius:50%;color:var(--stzh-color-grey70);cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-pack:center;justify-content:center;margin-left:var(--stzh-space-xsmall);padding:0;-webkit-transition:background-color 300ms ease;transition:background-color 300ms ease;height:2rem;width:2rem}.stzh-calendar__prev.sc-stzh-calendar:disabled,.stzh-calendar__next.sc-stzh-calendar:disabled{cursor:default;opacity:0.5}.stzh-calendar__select-wrapper.sc-stzh-calendar{display:-ms-inline-flexbox;display:inline-flex;position:relative}.stzh-calendar__select-wrapper.sc-stzh-calendar span.sc-stzh-calendar{margin-right:0}.stzh-calendar__select.sc-stzh-calendar{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);cursor:pointer;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:2;border-radius:var(--stzh-form-input-border-radius)}.stzh-calendar__select-label.sc-stzh-calendar{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-heading-line-height);letter-spacing:var(--stzh-font-curve---heading-letter-spacing);-ms-flex-align:center;align-items:center;border-radius:var(--stzh-form-input-border-radius);color:var(--stzh-color-grey70);display:-ms-flexbox;display:flex;padding:0 var(--stzh-space-xxsmall) 0 var(--stzh-space-xsmall);pointer-events:none;position:relative;width:100%;z-index:1}.stzh-calendar__icon.sc-stzh-calendar{--size:var(--stzh-icon-size-medium)}.stzh-calendar__vhidden.sc-stzh-calendar{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}';function range(e,a){var t=[];for(var s=e;s<=a;s++){t.push(s)}return t}var keyCode={TAB:9,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};var calendarCounter=0;var StzhCalendar=function(){function e(e){var a=this;registerInstance(this,e);this.stzhChange=createEvent(this,"stzhChange",7);this.initialTouchX=null;this.initialTouchY=null;this.enableActiveFocus=function(){a.activeFocus=true};this.disableActiveFocus=function(){a.activeFocus=false};this.handleTouchStart=function(e){var t=e.changedTouches[0];a.initialTouchX=t.pageX;a.initialTouchY=t.pageY};this.handleTouchEnd=function(e){var t=e.changedTouches[0];var s=t.pageX-a.initialTouchX;var n=t.pageY-a.initialTouchY;var r=70;var o=Math.abs(s)>=r&&Math.abs(n)<=r;if(o){a.addMonths(s<0?1:-1)}a.initialTouchY=null;a.initialTouchX=null};this.handleNextMonthClick=function(e){e.preventDefault();a.addMonths(1)};this.handlePreviousMonthClick=function(e){e.preventDefault();a.addMonths(-1)};this.handleKeyboardNavigation=function(e){var t=true;switch(e.keyCode){case keyCode.RIGHT:a.addDays(1);break;case keyCode.LEFT:a.addDays(-1);break;case keyCode.DOWN:a.addDays(7);break;case keyCode.UP:a.addDays(-7);break;case keyCode.PAGE_UP:if(e.shiftKey){a.addYears(-1)}else{a.addMonths(-1)}break;case keyCode.PAGE_DOWN:if(e.shiftKey){a.addYears(1)}else{a.addMonths(1)}break;case keyCode.HOME:a.startOfWeek();break;case keyCode.END:a.endOfWeek();break;default:t=false}if(t){e.preventDefault();a.enableActiveFocus()}};this.handleDaySelect=function(e,t){var s=inRange(t,parseISODate(a.min),parseISODate(a.max));var n=!a.isDateDisabled(t);if(s&&n){a.setDate(t);a.stzhChange.emit({component:"stzh-calendar",value:a.value,valueAsDate:t})}else{a.setFocusedDay(t)}};this.handleMonthSelect=function(e){a.setMonth(parseInt(e.target.value,10))};this.handleYearSelect=function(e){a.setYear(parseInt(e.target.value,10))};this.processFocusedDayNode=function(e){if(a.activeFocus){setTimeout((function(){return e.focus()}),0)}};this.value="";this.min="";this.max="";this.firstDayOfWeek=DaysOfWeek.Monday;this.localization=undefined;this.isDateDisabled=function(){return false};this.activeFocus=false;this.focusedDay=new Date}e.prototype.createDateFormatters=function(){if(this.localization){this.dateFormatShort=new Intl.DateTimeFormat(this.localization.$locale,{day:"numeric",month:"long"})}};e.prototype.valueWatcher=function(e){if(e){this.setFocusedDay(parseISODate(this.value))}else{this.setFocusedDay(new Date)}};e.prototype.setFocusedDay=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.focusedDay=clamp(e,parseISODate(this.min),parseISODate(this.max));return[2]}))}))};e.prototype.setDate=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.value=printISODate(e);return[2]}))}))};e.prototype.addDays=function(e){this.setFocusedDay(addDays(this.focusedDay,e))};e.prototype.addMonths=function(e){this.setMonth(this.focusedDay.getMonth()+e)};e.prototype.addYears=function(e){this.setYear(this.focusedDay.getFullYear()+e)};e.prototype.startOfWeek=function(){this.setFocusedDay(startOfWeek(this.focusedDay,this.firstDayOfWeek))};e.prototype.endOfWeek=function(){this.setFocusedDay(endOfWeek(this.focusedDay,this.firstDayOfWeek))};e.prototype.setMonth=function(e){var a=setMonth(startOfMonth(this.focusedDay),e);var t=endOfMonth(a);var s=setMonth(this.focusedDay,e);this.setFocusedDay(clamp(s,a,t))};e.prototype.setYear=function(e){var a=setYear(startOfMonth(this.focusedDay),e);var t=endOfMonth(a);var s=setYear(this.focusedDay,e);this.setFocusedDay(clamp(s,a,t))};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(a){switch(a.label){case 0:this.monthSelectId="stzh-calendar-month-".concat(calendarCounter);this.yearSelectId="stzh-calendar-year-".concat(calendarCounter);this.dialogLabelId="stzh-calendar-dialog-".concat(calendarCounter);calendarCounter++;this.valueWatcher(this.value);if(!!this.localization)return[3,2];e=this;return[4,fetchTranslations(this.element,"calendar")];case 1:e.localization=a.sent();a.label=2;case 2:return[2]}}))}))};e.prototype.connectedCallback=function(){this.createDateFormatters()};e.prototype.render=function(){var e=parseISODate(this.value);var a=(e||this.focusedDay).getFullYear();var t=this.focusedDay.getMonth();var s=this.focusedDay.getFullYear();var n=parseISODate(this.min);var r=parseISODate(this.max);var o=n!=null&&n.getMonth()===t&&n.getFullYear()===s;var i=r!=null&&r.getMonth()===t&&r.getFullYear()===s;var l=n?n.getFullYear():a-10;var c=r?r.getFullYear():a+10;return h(Host,null,h("div",{class:{"stzh-calendar":true},onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},h("div",{class:"stzh-calendar__wrapper"},h("div",{class:"stzh-calendar__header",onFocusin:this.disableActiveFocus},h("div",null,h("h2",{id:this.dialogLabelId,class:"stzh-calendar__vhidden","aria-live":"polite","aria-atomic":"true"},this.localization.$globals.monthNames[t],this.focusedDay.getFullYear()),h("label",{htmlFor:this.monthSelectId,class:"stzh-calendar__vhidden"},this.localization.monthSelectLabel),h("div",{class:"stzh-calendar__select-wrapper"},h("select",{id:this.monthSelectId,class:"stzh-calendar__select stzh-calendar__select--month",onChange:this.handleMonthSelect},this.localization.$globals.monthNames.map((function(e,a){return h("option",{key:e,value:a,selected:a===t,disabled:!inRange(new Date(s,a,1),n?startOfMonth(n):null,r?endOfMonth(r):null)},e)}))),h("div",{class:"stzh-calendar__select-label","aria-hidden":"true"},h("span",null,this.localization.$globals.monthNamesShort[t]),h("stzh-icon",{class:"stzh-calendar__icon",name:"angle-down"}))),h("label",{htmlFor:this.yearSelectId,class:"stzh-calendar__vhidden"},this.localization.yearSelectLabel),h("div",{class:"stzh-calendar__select-wrapper"},h("select",{id:this.yearSelectId,class:"stzh-calendar__select stzh-calendar__select--year",onChange:this.handleYearSelect},range(l,c).map((function(e){return h("option",{key:e,selected:e===s},e)}))),h("div",{class:"stzh-calendar__select-label","aria-hidden":"true"},h("span",null,this.focusedDay.getFullYear()),h("stzh-icon",{class:"stzh-calendar__icon",name:"angle-down"})))),h("div",{class:"stzh-calendar__nav"},h("button",{class:"stzh-calendar__prev",onClick:this.handlePreviousMonthClick,disabled:o,type:"button"},h("stzh-icon",{class:"stzh-calendar__icon",name:"angle-left"}),h("span",{class:"stzh-calendar__vhidden"},this.localization.prevMonthLabel)),h("button",{class:"stzh-calendar__next",onClick:this.handleNextMonthClick,disabled:i,type:"button"},h("stzh-icon",{class:"stzh-calendar__icon",name:"angle-right"}),h("span",{class:"stzh-calendar__vhidden"},this.localization.nextMonthLabel)))),h(StzhCalendarMonth,{dateFormatter:this.dateFormatShort,selectedDate:e,focusedDate:this.focusedDay,onDateSelect:this.handleDaySelect,onKeyboardNavigation:this.handleKeyboardNavigation,labelledById:this.dialogLabelId,localization:this.localization,firstDayOfWeek:this.firstDayOfWeek,focusedDayRef:this.processFocusedDayNode,min:n,max:r,isDateDisabled:this.isDateDisabled}))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{localization:["createDateFormatters"],value:["valueWatcher"]}},enumerable:false,configurable:true});return e}();StzhCalendar.style=stzhCalendarCss;export{StzhCalendar as stzh_calendar};
1
+ var __awaiter=this&&this.__awaiter||function(e,a,t,s){function n(e){return e instanceof t?e:new t((function(a){a(e)}))}return new(t||(t=Promise))((function(t,r){function o(e){try{l(s.next(e))}catch(a){r(a)}}function i(e){try{l(s["throw"](e))}catch(a){r(a)}}function l(e){e.done?t(e.value):n(e.value).then(o,i)}l((s=s.apply(e,a||[])).next())}))};var __generator=this&&this.__generator||function(e,a){var t={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},s,n,r,o;return o={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function i(e){return function(a){return l([e,a])}}function l(o){if(s)throw new TypeError("Generator is already executing.");while(t)try{if(s=1,n&&(r=o[0]&2?n["return"]:o[0]?n["throw"]||((r=n["return"])&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;if(n=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;n=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(r=t.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){t.label=o[1];break}if(o[0]===6&&t.label<r[1]){t.label=r[1];r=o;break}if(r&&t.label<r[2]){t.label=r[2];t.ops.push(o);break}if(r[2])t.ops.pop();t.trys.pop();continue}o=a.call(e,t)}catch(i){o=[6,i];n=0}finally{s=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};import{h,r as registerInstance,c as createEvent,a as Host,g as getElement}from"./index-011c84fe.js";import{i as isEqual,b as isEqualMonth,g as getViewOfMonth,c as inRange,p as parseISODate,D as DaysOfWeek,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-be83fff1.js";import{f as fetchTranslations}from"./translation-utils-2623783f.js";var StzhCalendarDay=function(e){var a=e.focusedDay,t=e.today,s=e.day,n=e.onDaySelect,r=e.onKeyboardNavigation,o=e.focusedDayRef,i=e.disabled,l=e.inRange,c=e.isSelected,d=e.dateFormatter;var u=isEqual(s,t);var f=isEqualMonth(s,a);var z=isEqual(s,a);var p=!l;function y(e){n(e,s)}return h("button",{class:{"stzh-calendar__day":true,"is-outside":p,"is-today":u,"is-month":f,"is-disabled":i},tabIndex:z?0:-1,onClick:y,onKeyDown:r,"aria-disabled":i?"true":undefined,disabled:p,type:"button","aria-pressed":c?"true":"false","aria-current":u?"date":undefined,ref:function(e){if(z&&e&&o){o(e)}}},h("span",{"aria-hidden":"true"},s.getDate()),h("span",{class:"stzh-calendar__vhidden"},d.format(s)))};function chunk(e,a){var t=[];for(var s=0;s<e.length;s+=a){t.push(e.slice(s,s+a))}return t}function mapWithOffset(e,a,t){return e.map((function(s,n){var r=(n+a)%e.length;return t(e[r])}))}var StzhCalendarMonth=function(e){var a=e.selectedDate,t=e.focusedDate,s=e.labelledById,n=e.localization,r=e.firstDayOfWeek,o=e.min,i=e.max,l=e.dateFormatter,c=e.isDateDisabled,d=e.onDateSelect,u=e.onKeyboardNavigation,f=e.focusedDayRef;var z=new Date;var p=getViewOfMonth(t,r);return h("table",{class:"stzh-calendar__table","aria-labelledby":s},h("thead",null,h("tr",null,mapWithOffset(n.$globals.dayNames,r,(function(e){return h("th",{class:"stzh-calendar__table-header",scope:"col"},h("span",{"aria-hidden":"true"},e.substring(0,2)),h("span",{class:"stzh-calendar__vhidden"},e))})))),h("tbody",null,chunk(p,7).map((function(e){return h("tr",{class:"stzh-calendar__row"},e.map((function(e){return h("td",{class:"stzh-calendar__cell"},h(StzhCalendarDay,{day:e,today:z,focusedDay:t,isSelected:isEqual(e,a),disabled:c(e),inRange:inRange(e,o,i),onDaySelect:d,dateFormatter:l,onKeyboardNavigation:u,focusedDayRef:f}))})))}))))};var stzhCalendarCss='.sc-stzh-calendar-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-calendar-h{display:none}.sc-stzh-calendar-h *.sc-stzh-calendar,.sc-stzh-calendar-h *.sc-stzh-calendar::before,.sc-stzh-calendar-h *.sc-stzh-calendar::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-calendar-h{display:block}.stzh-calendar.sc-stzh-calendar{display:-ms-flexbox;display:flex;position:relative;text-align:left;color:var(--stzh-base-color);-ms-touch-action:pan-y;touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.stzh-calendar__wrapper.sc-stzh-calendar{width:100%}@media screen and (min-width: 600px){.stzh-calendar__wrapper.sc-stzh-calendar{min-width:18.125rem}}.stzh-calendar__table.sc-stzh-calendar{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;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);border-collapse:collapse;border-spacing:0;color:var(--stzh-base-color);text-align:center;width:100%}.stzh-calendar__table-header.sc-stzh-calendar,.stzh-calendar__cell.sc-stzh-calendar{padding:var(--stzh-space-xxxsmall)}.stzh-calendar__table-header.sc-stzh-calendar:first-child,.stzh-calendar__cell.sc-stzh-calendar:first-child{padding-left:0}.stzh-calendar__table-header.sc-stzh-calendar:last-child,.stzh-calendar__cell.sc-stzh-calendar:last-child{padding-right:0}.stzh-calendar__row.sc-stzh-calendar:last-child .stzh-calendar__cell.sc-stzh-calendar{padding-bottom:0}.stzh-calendar__table-header.sc-stzh-calendar{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);text-decoration:none;padding-top:0}.stzh-calendar__cell.sc-stzh-calendar{text-align:center}.stzh-calendar__day.sc-stzh-calendar{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:50%;color:var(--stzh-base-color);cursor:pointer;display:inline-block;font-variant-numeric:tabular-nums;height:2.5rem;padding:0 0 0.0625rem;position:relative;text-align:center;vertical-align:middle;width:2.5rem;z-index:1}.stzh-calendar__day.sc-stzh-calendar::before{border-radius:50%;bottom:0;content:"";left:0;position:absolute;right:0;top:0}.stzh-calendar__day.is-today.sc-stzh-calendar{-webkit-box-shadow:0 0 0 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));box-shadow:0 0 0 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));position:relative;z-index:200}.stzh-calendar__day.sc-stzh-calendar:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-calendar__day.sc-stzh-calendar:hover::before{background:var(--stzh-color-primary, var(--stzh-color-zueriblue));opacity:0.08}.stzh-calendar__day[aria-pressed=true].sc-stzh-calendar,.stzh-calendar__day.sc-stzh-calendar:focus{background:var(--stzh-color-primary, var(--stzh-color-zueriblue));-webkit-box-shadow:none;box-shadow:none;color:var(--stzh-color-white)}.stzh-calendar__day.sc-stzh-calendar:active{background:var(--stzh-color-primary, var(--stzh-color-zueriblue));-webkit-box-shadow:0 0 0.3125rem var(--stzh-color-primary, var(--stzh-color-zueriblue));box-shadow:0 0 0.3125rem var(--stzh-color-primary, var(--stzh-color-zueriblue));color:var(--stzh-color-white);z-index:200}.stzh-calendar__day.sc-stzh-calendar:focus{z-index:200}.stzh-calendar__day.sc-stzh-calendar:not(.is-month){-webkit-box-shadow:none;box-shadow:none}.stzh-calendar__day.sc-stzh-calendar:not(.is-month),.stzh-calendar__day[aria-disabled=true].sc-stzh-calendar{background:transparent;color:var(--stzh-color-grey25);cursor:default}.stzh-calendar__day[aria-disabled=true].is-today.sc-stzh-calendar{-webkit-box-shadow:0 0 0 0.0625rem var(--stzh-color-grey13);box-shadow:0 0 0 0.0625rem var(--stzh-color-grey13)}.stzh-calendar__day[aria-disabled=true].is-today.sc-stzh-calendar:focus{-webkit-box-shadow:0 0 0.3125rem var(--stzh-color-primary, var(--stzh-color-zueriblue));box-shadow:0 0 0.3125rem var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-calendar__day[aria-disabled=true].sc-stzh-calendar::before{display:none}.stzh-calendar__day.is-disabled.sc-stzh-calendar{text-decoration:line-through}.stzh-calendar__day.is-outside.sc-stzh-calendar{background:var(--stzh-color-grey5);-webkit-box-shadow:none;box-shadow:none;color:var(--stzh-base-color);cursor:default;opacity:0.6;pointer-events:none;text-decoration:none}.stzh-calendar__day.is-outside.sc-stzh-calendar::before{display:none}.stzh-calendar__header.sc-stzh-calendar{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:var(--stzh-space-medium);width:100%}.stzh-calendar__nav.sc-stzh-calendar{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.stzh-calendar__prev.sc-stzh-calendar,.stzh-calendar__next.sc-stzh-calendar{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;background:transparent;border:0.0625rem solid var(--stzh-color-grey13);border-radius:50%;color:var(--stzh-color-grey70);cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-negative:0;flex-shrink:0;-ms-flex-pack:center;justify-content:center;margin-left:var(--stzh-space-xsmall);padding:0;-webkit-transition:background-color 300ms ease;transition:background-color 300ms ease;height:2rem;width:2rem}.stzh-calendar__prev.sc-stzh-calendar:disabled,.stzh-calendar__next.sc-stzh-calendar:disabled{cursor:default;opacity:0.5}.stzh-calendar__select-wrapper.sc-stzh-calendar{display:-ms-inline-flexbox;display:inline-flex;position:relative}.stzh-calendar__select-wrapper.sc-stzh-calendar span.sc-stzh-calendar{margin-right:0}.stzh-calendar__select.sc-stzh-calendar{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);cursor:pointer;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:2;border-radius:var(--stzh-form-input-border-radius)}.stzh-calendar__select-label.sc-stzh-calendar{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-heading-line-height);letter-spacing:var(--stzh-font-curve---heading-letter-spacing);-ms-flex-align:center;align-items:center;border-radius:var(--stzh-form-input-border-radius);color:var(--stzh-color-grey70);display:-ms-flexbox;display:flex;padding:0 var(--stzh-space-xxsmall) 0 var(--stzh-space-xsmall);pointer-events:none;position:relative;width:100%;z-index:1}.stzh-calendar__icon.sc-stzh-calendar{--size:var(--stzh-icon-size-medium)}.stzh-calendar__vhidden.sc-stzh-calendar{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}';function range(e,a){var t=[];for(var s=e;s<=a;s++){t.push(s)}return t}var keyCode={TAB:9,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40};var calendarCounter=0;var StzhCalendar=function(){function e(e){var a=this;registerInstance(this,e);this.stzhChange=createEvent(this,"stzhChange",7);this.initialTouchX=null;this.initialTouchY=null;this.enableActiveFocus=function(){a.activeFocus=true};this.disableActiveFocus=function(){a.activeFocus=false};this.handleTouchStart=function(e){var t=e.changedTouches[0];a.initialTouchX=t.pageX;a.initialTouchY=t.pageY};this.handleTouchEnd=function(e){var t=e.changedTouches[0];var s=t.pageX-a.initialTouchX;var n=t.pageY-a.initialTouchY;var r=70;var o=Math.abs(s)>=r&&Math.abs(n)<=r;if(o){a.addMonths(s<0?1:-1)}a.initialTouchY=null;a.initialTouchX=null};this.handleNextMonthClick=function(e){e.preventDefault();a.addMonths(1)};this.handlePreviousMonthClick=function(e){e.preventDefault();a.addMonths(-1)};this.handleKeyboardNavigation=function(e){var t=true;switch(e.keyCode){case keyCode.RIGHT:a.addDays(1);break;case keyCode.LEFT:a.addDays(-1);break;case keyCode.DOWN:a.addDays(7);break;case keyCode.UP:a.addDays(-7);break;case keyCode.PAGE_UP:if(e.shiftKey){a.addYears(-1)}else{a.addMonths(-1)}break;case keyCode.PAGE_DOWN:if(e.shiftKey){a.addYears(1)}else{a.addMonths(1)}break;case keyCode.HOME:a.startOfWeek();break;case keyCode.END:a.endOfWeek();break;default:t=false}if(t){e.preventDefault();a.enableActiveFocus()}};this.handleDaySelect=function(e,t){var s=inRange(t,parseISODate(a.min),parseISODate(a.max));var n=!a.isDateDisabled(t);if(s&&n){a.setDate(t);a.stzhChange.emit({component:"stzh-calendar",value:a.value,valueAsDate:t})}else{a.setFocusedDay(t)}};this.handleMonthSelect=function(e){a.setMonth(parseInt(e.target.value,10))};this.handleYearSelect=function(e){a.setYear(parseInt(e.target.value,10))};this.processFocusedDayNode=function(e){if(a.activeFocus){setTimeout((function(){return e.focus()}),0)}};this.value="";this.min="";this.max="";this.firstDayOfWeek=DaysOfWeek.Monday;this.localization=undefined;this.isDateDisabled=function(){return false};this.activeFocus=false;this.focusedDay=new Date}e.prototype.createDateFormatters=function(){if(this.localization){this.dateFormatShort=new Intl.DateTimeFormat(this.localization.$locale,{day:"numeric",month:"long"})}};e.prototype.valueWatcher=function(e){if(e){this.setFocusedDay(parseISODate(this.value))}else{this.setFocusedDay(new Date)}};e.prototype.setFocusedDay=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.focusedDay=clamp(e,parseISODate(this.min),parseISODate(this.max));return[2]}))}))};e.prototype.setDate=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(a){this.value=printISODate(e);return[2]}))}))};e.prototype.addDays=function(e){this.setFocusedDay(addDays(this.focusedDay,e))};e.prototype.addMonths=function(e){this.setMonth(this.focusedDay.getMonth()+e)};e.prototype.addYears=function(e){this.setYear(this.focusedDay.getFullYear()+e)};e.prototype.startOfWeek=function(){this.setFocusedDay(startOfWeek(this.focusedDay,this.firstDayOfWeek))};e.prototype.endOfWeek=function(){this.setFocusedDay(endOfWeek(this.focusedDay,this.firstDayOfWeek))};e.prototype.setMonth=function(e){var a=setMonth(startOfMonth(this.focusedDay),e);var t=endOfMonth(a);var s=setMonth(this.focusedDay,e);this.setFocusedDay(clamp(s,a,t))};e.prototype.setYear=function(e){var a=setYear(startOfMonth(this.focusedDay),e);var t=endOfMonth(a);var s=setYear(this.focusedDay,e);this.setFocusedDay(clamp(s,a,t))};e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(a){switch(a.label){case 0:this.monthSelectId="stzh-calendar-month-".concat(calendarCounter);this.yearSelectId="stzh-calendar-year-".concat(calendarCounter);this.dialogLabelId="stzh-calendar-dialog-".concat(calendarCounter);calendarCounter++;this.valueWatcher(this.value);if(!!this.localization)return[3,2];e=this;return[4,fetchTranslations(this.element,"calendar")];case 1:e.localization=a.sent();a.label=2;case 2:return[2]}}))}))};e.prototype.connectedCallback=function(){this.createDateFormatters()};e.prototype.render=function(){var e=parseISODate(this.value);var a=(e||this.focusedDay).getFullYear();var t=this.focusedDay.getMonth();var s=this.focusedDay.getFullYear();var n=parseISODate(this.min);var r=parseISODate(this.max);var o=n!=null&&n.getMonth()===t&&n.getFullYear()===s;var i=r!=null&&r.getMonth()===t&&r.getFullYear()===s;var l=n?n.getFullYear():a-10;var c=r?r.getFullYear():a+10;return h(Host,null,h("div",{class:{"stzh-calendar":true},onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},h("div",{class:"stzh-calendar__wrapper"},h("div",{class:"stzh-calendar__header",onFocusin:this.disableActiveFocus},h("div",null,h("h2",{id:this.dialogLabelId,class:"stzh-calendar__vhidden","aria-live":"polite","aria-atomic":"true"},this.localization.$globals.monthNames[t],this.focusedDay.getFullYear()),h("label",{htmlFor:this.monthSelectId,class:"stzh-calendar__vhidden"},this.localization.monthSelectLabel),h("div",{class:"stzh-calendar__select-wrapper"},h("select",{id:this.monthSelectId,class:"stzh-calendar__select stzh-calendar__select--month",onChange:this.handleMonthSelect},this.localization.$globals.monthNames.map((function(e,a){return h("option",{key:e,value:a,selected:a===t,disabled:!inRange(new Date(s,a,1),n?startOfMonth(n):null,r?endOfMonth(r):null)},e)}))),h("div",{class:"stzh-calendar__select-label","aria-hidden":"true"},h("span",null,this.localization.$globals.monthNamesShort[t]),h("stzh-icon",{class:"stzh-calendar__icon",name:"angle-down"}))),h("label",{htmlFor:this.yearSelectId,class:"stzh-calendar__vhidden"},this.localization.yearSelectLabel),h("div",{class:"stzh-calendar__select-wrapper"},h("select",{id:this.yearSelectId,class:"stzh-calendar__select stzh-calendar__select--year",onChange:this.handleYearSelect},range(l,c).map((function(e){return h("option",{key:e,selected:e===s},e)}))),h("div",{class:"stzh-calendar__select-label","aria-hidden":"true"},h("span",null,this.focusedDay.getFullYear()),h("stzh-icon",{class:"stzh-calendar__icon",name:"angle-down"})))),h("div",{class:"stzh-calendar__nav"},h("button",{class:"stzh-calendar__prev",onClick:this.handlePreviousMonthClick,disabled:o,type:"button"},h("stzh-icon",{class:"stzh-calendar__icon",name:"angle-left"}),h("span",{class:"stzh-calendar__vhidden"},this.localization.prevMonthLabel)),h("button",{class:"stzh-calendar__next",onClick:this.handleNextMonthClick,disabled:i,type:"button"},h("stzh-icon",{class:"stzh-calendar__icon",name:"angle-right"}),h("span",{class:"stzh-calendar__vhidden"},this.localization.nextMonthLabel)))),h(StzhCalendarMonth,{dateFormatter:this.dateFormatShort,selectedDate:e,focusedDate:this.focusedDay,onDateSelect:this.handleDaySelect,onKeyboardNavigation:this.handleKeyboardNavigation,labelledById:this.dialogLabelId,localization:this.localization,firstDayOfWeek:this.firstDayOfWeek,focusedDayRef:this.processFocusedDayNode,min:n,max:r,isDateDisabled:this.isDateDisabled}))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{localization:["createDateFormatters"],value:["valueWatcher"]}},enumerable:false,configurable:true});return e}();StzhCalendar.style=stzhCalendarCss;export{StzhCalendar as stzh_calendar};
@@ -0,0 +1 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,s,a){function i(t){return t instanceof s?t:new s((function(e){e(t)}))}return new(s||(s=Promise))((function(s,r){function c(t){try{n(a.next(t))}catch(e){r(e)}}function h(t){try{n(a["throw"](t))}catch(e){r(e)}}function n(t){t.done?s(t.value):i(t.value).then(c,h)}n((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var s={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,i,r,c;return c={next:h(0),throw:h(1),return:h(2)},typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function h(t){return function(e){return n([t,e])}}function n(c){if(a)throw new TypeError("Generator is already executing.");while(s)try{if(a=1,i&&(r=c[0]&2?i["return"]:c[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,c[1])).done)return r;if(i=0,r)c=[c[0]&2,r.value];switch(c[0]){case 0:case 1:r=c;break;case 4:s.label++;return{value:c[1],done:false};case 5:s.label++;i=c[1];c=[0];continue;case 7:c=s.ops.pop();s.trys.pop();continue;default:if(!(r=s.trys,r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){s=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){s.label=c[1];break}if(c[0]===6&&s.label<r[1]){s.label=r[1];r=c;break}if(r&&s.label<r[2]){s.label=r[2];s.ops.push(c);break}if(r[2])s.ops.pop();s.trys.pop();continue}c=e.call(t,s)}catch(h){c=[6,h];i=0}finally{a=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,i as forceUpdate,h,F as Fragment,a as Host,g as getElement}from"./index-011c84fe.js";import{s as setPropsIfNull,h as hasSlot,c as cloneElement}from"./utils-92a77db5.js";import{m as media}from"./media-utils-9b041ceb.js";import{f as fetchTranslations}from"./translation-utils-2623783f.js";import{S as StzhInputDescription}from"./stzh-input-description-bdd1e340.js";var stzhCardCss='.sc-stzh-card-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-card-h{display:none}.sc-stzh-card-h *.sc-stzh-card,.sc-stzh-card-h *.sc-stzh-card::before,.sc-stzh-card-h *.sc-stzh-card::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-card-h{--box-shadow:var(--stzh-box-shadow-popover);--border:0.0625rem solid var(--stzh-base-border-color);--border-radius:0.1875rem;--content-min-height:7.5rem;--dnd-visibility:hidden;--dnd-opacity:0;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative;border-radius:var(--border-radius)}[checked].sc-stzh-card-h:not([checked=false]){outline:0.1875rem solid var(--stzh-color-primary, var(--stzh-color-zueriblue))}.is-ghost.sc-stzh-card-h::after,.is-ghost .sc-stzh-card-h::after{border-radius:var(--border-radius)}[href].sc-stzh-card-h:hover,[href].sc-stzh-card-h:focus-within,.is-selected.sc-stzh-card-h,.is-chosen.sc-stzh-card-h,.is-selected .sc-stzh-card-h,.is-chosen .sc-stzh-card-h{--box-shadow:var(--stzh-box-shadow-overlay)}.is-ghost.sc-stzh-card-h,.is-ghost .sc-stzh-card-h{--box-shadow:none;--border:0.0625rem solid transparent;overflow:hidden}.is-drag.sc-stzh-card-h,.is-chosen.sc-stzh-card-h,.is-ghost.sc-stzh-card-h,.is-selected.sc-stzh-card-h,.is-drag .sc-stzh-card-h,.is-chosen .sc-stzh-card-h,.is-ghost .sc-stzh-card-h,.is-selected .sc-stzh-card-h{--dnd-visibility:visible;--dnd-opacity:1}.sc-stzh-card-h .sc-stzh-card-s>*{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)}.sc-stzh-card-h .sc-stzh-card-s>[slot=image]{width:100%;max-width:100%}.sc-stzh-card-h .sc-stzh-card-s>img[slot=image]{display:block}.sc-stzh-card-h .sc-stzh-card-s>[slot=meta]:not(:last-child){margin-right:var(--stzh-space-xsmall)}.sc-stzh-card-h .sc-stzh-card-s>table{border:0;border-spacing:0}.sc-stzh-card-h .sc-stzh-card-s>table th{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.sc-stzh-card-h .sc-stzh-card-s>table td,.sc-stzh-card-h .sc-stzh-card-s>table th{padding:0}.sc-stzh-card-h .sc-stzh-card-s>table td{color:var(--stzh-color-black);padding-left:var(--stzh-space-xsmall)}.sc-stzh-card-h .sc-stzh-card-s>[slot=heading],.stzh-card__title.sc-stzh-card{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-h3-default-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h3-default-heading-line-height, var(--stzh-font-centi-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-default-heading-letter-spacing)}@media screen and (min-width: 600px){.sc-stzh-card-h .sc-stzh-card-s>[slot=heading],.stzh-card__title.sc-stzh-card{font-size:var(--stzh-font-curve-h3-small-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h3-small-heading-line-height, var(--stzh-font-deci-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-small-heading-letter-spacing)}}@media screen and (min-width: 1024px){.sc-stzh-card-h .sc-stzh-card-s>[slot=heading],.stzh-card__title.sc-stzh-card{font-size:var(--stzh-font-curve-h3-medium-font-size, var(--stzh-font-regular-font-size));line-height:var(--stzh-font-curve-h3-medium-heading-line-height, var(--stzh-font-regular-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-medium-heading-letter-spacing)}}.stzh-card.sc-stzh-card{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--stzh-color-white);border-radius:var(--border-radius);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);border:var(--border);-webkit-transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed), -webkit-box-shadow var(--stzh-base-transition-animation-speed)}@media screen and (max-width: 1023px){.stzh-card.sc-stzh-card .vshow-medium.sc-stzh-card{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}}@media screen and (max-width: 1023px){.stzh-card.sc-stzh-card .show-medium.sc-stzh-card{display:none}}@media screen and (min-width: 1024px){.stzh-card.sc-stzh-card .hide-medium.sc-stzh-card{display:none}}.stzh-card__content-wrapper.sc-stzh-card{position:relative;-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:var(--content-min-height)}.stzh-card__dnd.sc-stzh-card{--size:var(--stzh-icon-size-xsmall);position:absolute;left:0.1875rem;top:1.4375rem;display:-ms-flexbox;display:flex;visibility:var(--dnd-visibility);opacity:var(--dnd-opacity);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);display:none}@media screen and (min-width: 1024px){.stzh-card__dnd.sc-stzh-card{display:block}}@media screen and (min-width: 1260px){.stzh-card__dnd.sc-stzh-card{left:0.25rem;top:1.6875rem}}.stzh-card__header.sc-stzh-card{padding:var(--stzh-space-medium);border-bottom:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 1024px){.stzh-card__header.sc-stzh-card{padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card__header.sc-stzh-card{padding:var(--stzh-space-xlarge)}}.stzh-card__header-top.sc-stzh-card{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:start;align-items:flex-start}.stzh-card__header-meta.sc-stzh-card{display:-ms-flexbox;display:flex}.stzh-card__header-meta.sc-stzh-card:not(:empty){margin-top:var(--stzh-space-xsmall)}.stzh-card__header-left.sc-stzh-card,.stzh-card__header-right.sc-stzh-card{display:-ms-flexbox;display:flex}.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-small)}}@media screen and (min-width: 1260px){.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-medium)}}.stzh-card__left.sc-stzh-card{-ms-flex-item-align:center;align-self:center}.stzh-card__title-area.sc-stzh-card{overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden}.stzh-card__title.sc-stzh-card,.stzh-card__subtitle.sc-stzh-card{margin:0}.stzh-card__title-link.sc-stzh-card{color:inherit;text-decoration:none}.stzh-card__image-link.sc-stzh-card{display:block}.stzh-card__subtitle.sc-stzh-card{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;text-decoration:none;margin-left:-0.5625em}@media screen and (min-width: 1024px){.stzh-card__subtitle.sc-stzh-card{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-card__subtitle-text.sc-stzh-card{position:relative;display:-ms-inline-flexbox;display:inline-flex;padding-left:0.5625em}.stzh-card__subtitle-text.sc-stzh-card::after{content:",";position:absolute;left:0}.stzh-card__content.sc-stzh-card{-ms-flex-positive:1;flex-grow:1}.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-xlarge)}}.stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-medium);border-top:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 1024px){.stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-xlarge)}}.stzh-card__footer-arrow.sc-stzh-card{--size:var(--stzh-icon-size-medium);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-card__card-actions.sc-stzh-card{display:-ms-inline-flexbox;display:inline-flex;white-space:nowrap}@media screen and (max-width: 1023px){.stzh-card__card-action.sc-stzh-card{--icon-text-margin:0;--badge-icon-text-margin:0}}.stzh-card__card-action[variant=tertiary].sc-stzh-card{--color:var(--stzh-color-grey70)}.stzh-card__card-action.is-button.sc-stzh-card{--icon-size:var(--stzh-icon-size-small)}.stzh-card__card-action.is-placeholder.sc-stzh-card{width:var(--stzh-space-xxlarge);height:var(--stzh-space-xxlarge)}.stzh-card__card-action-popover.sc-stzh-card{--width:auto}.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card{color:var(--stzh-color-primary, var(--stzh-color-zueriblue));text-decoration:none;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-button-border-radius)}.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card::before{-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed)}.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card::before,.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card::after{content:"";display:block;position:absolute;top:0;left:0;width:100%;height:100%}.stzh-card--has-link.sc-stzh-card .stzh-card__image-link.sc-stzh-card:hover+.stzh-card__content-wrapper.sc-stzh-card .stzh-card__title-link.sc-stzh-card,.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card:hover,.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--has-link.sc-stzh-card .stzh-card__image-link.sc-stzh-card:hover+.stzh-card__content-wrapper.sc-stzh-card .stzh-card__title-link.sc-stzh-card::before,.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card:hover::before,.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card:focus::before{background-color:var(--stzh-color-primary4)}.stzh-card--has-link.sc-stzh-card:hover .stzh-card__footer-arrow.sc-stzh-card{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card{cursor:pointer;font-family:inherit;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card:hover,.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--is-collapsible.sc-stzh-card .stzh-card__header.sc-stzh-card{cursor:pointer}.stzh-card--is-collapsed.sc-stzh-card .vhide-when-collapsed.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__header.sc-stzh-card .vhide-when-collapsed.sc-stzh-card{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-card--is-collapsed.sc-stzh-card .hide-when-collapsed.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__header.sc-stzh-card .hide-when-collapsed.sc-stzh-card{display:none}.stzh-card--is-collapsed.sc-stzh-card .show-when-collapsed.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__header.sc-stzh-card .show-when-collapsed.sc-stzh-card{display:block}.stzh-card--is-collapsed.sc-stzh-card .stzh-card__header.sc-stzh-card{border-bottom:none}.stzh-card--is-collapsed.sc-stzh-card .stzh-card__card-action.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__card-action.sc-stzh-card{--icon-text-margin:0;--badge-icon-text-margin:0}.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card:hover,.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--has-hidden-header-border.sc-stzh-card .stzh-card__header.sc-stzh-card{border-bottom:none;padding-bottom:0}.stzh-card--has-hidden-footer-border.sc-stzh-card .stzh-card__footer.sc-stzh-card:not(:empty){padding-top:0;border-top:none}';var StzhCard=function(){function t(t){var e=this;registerInstance(this,t);this.stzhClick=createEvent(this,"stzhClick",7);this.stzhCollapse=createEvent(this,"stzhCollapse",7);this.stzhSubtitleClick=createEvent(this,"stzhSubtitleClick",7);this.stzhStarClick=createEvent(this,"stzhStarClick",7);this.stzhHeaderActionClick=createEvent(this,"stzhHeaderActionClick",7);this._subtitles=[];this.nodeChange=function(t){var s=false;t.forEach((function(t){if(t.target.closest("[slot]")||t.target.hasAttribute("slot")){s=true}}));if(s){forceUpdate(e.element)}};this.update=function(){if(!e.mainElement){return}e.mainElement.classList.remove("stzh-card--has-collapsed-header");if(media("medium").matches){var t=e.headerElement.clientWidth;var s=e.headerLeftElement.clientWidth;var a=e.headerRightElement.clientWidth;if(t-s<=a){e.mainElement.classList.add("stzh-card--has-collapsed-header")}}};this.headerClick=function(t){if(!e.collapsible){return}var s=["stzh-popover","stzh-tooltip","button","a","input","select","textarea","iframe","details","label","area"];var a=t.composedPath().map((function(t){var e;return(e=t.tagName)===null||e===void 0?void 0:e.toLowerCase()}));var i=a.some((function(t){return s.includes(t)}));if(!i){e.collapsed=!e.collapsed;e.stzhCollapse.emit({component:"stzh-card",collapsed:e.collapsed})}};this.subtitleClick=function(){if(e.subtitleInteractive){e.stzhSubtitleClick.emit({component:"stzh-card"})}};this.starToggleClick=function(){e.stzhStarClick.emit({component:"stzh-card",starred:e.starred})};this.actionClick=function(t){e.stzhHeaderActionClick.emit({component:"stzh-card",action:t})};this.arrowUpClick=function(){var t=e.element.closest("stzh-sortable");if(t){var s=e.findSortableChildElement();t.moveItem(s,"up")}};this.arrowDownClick=function(){var t=e.element.closest("stzh-sortable");if(t){var s=e.findSortableChildElement();t.moveItem(s,"down")}};this.updateElementInsideSortable=function(){var t=e.element.closest("stzh-sortable");if(!t){e.sortable.removeEventListener("stzhUpdate",e.updateElementInsideSortable);e.sortable.removeEventListener("stzhDisable",e.updateElementInsideSortable);return}if(e.element){forceUpdate(e.element)}};this.init=function(){var t=e.element.querySelectorAll('stzh-chip[slot="meta"], [slot="meta"] stzh-chip');t.forEach((function(t){setPropsIfNull(t,{size:"small"})}))};this.handleMutation=function(t){e.init();e.nodeChange(t)};this.handleSelectionChange=function(t){e.checked=t.detail.checked};this.cardClick=function(t){e.stzhClick.emit({component:"stzh-card",originalEvent:t})};this.localization=undefined;this.collapsed=false;this.starred=false;this.starrable=false;this.selectable=false;this.checked=false;this.name="";this.href=undefined;this.target=undefined;this.value="";this.disabled=false;this.withArrow=false;this.heading="";this.subtitle="";this.headerActions=[];this.footerActions=[];this.subtitleInteractive=false;this.sortableDisabled=false;this.collapsible=false;this.hideHeaderBorder=false;this.hideFooterBorder=false;this.hideMovementActions=false}t.prototype.handleResize=function(){if(this.debounceResize){window.cancelAnimationFrame(this.debounceResize)}this.debounceResize=requestAnimationFrame(this.update)};t.prototype.subtitleWatcher=function(t){if(typeof t==="string"){try{this._subtitles=JSON.parse(t)}catch(e){this._subtitles=[t]}}else{this._subtitles=t}};t.prototype.headerActionsWatcher=function(t){if(typeof t==="string"){this._headerActions=JSON.parse(t)}else{this._headerActions=t}};t.prototype.footerActionsWatcher=function(t){if(typeof t==="string"){this._footerActions=JSON.parse(t)}else{this._footerActions=t}};t.prototype.collapsedWatcher=function(){this.handleResize()};t.prototype.findSortableChildElement=function(){var t=this.element.closest("stzh-sortable");if(t){var e=this.element;var s=null;if(typeof t.container==="function"){s=t.container()}else{s=t.container}while(e.parentElement&&e.parentElement!==s){e=e.parentElement}return e}};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:this.subtitleWatcher(this.subtitle);this.headerActionsWatcher(this.headerActions);this.footerActionsWatcher(this.footerActions);if(!!this.localization)return[3,2];t=this;return[4,fetchTranslations(this.element,"card")];case 1:t.localization=e.sent();e.label=2;case 2:return[2]}}))}))};t.prototype.componentDidLoad=function(){this.sortable=this.element.closest("stzh-sortable");if(this.sortable){this.sortable.addEventListener("stzhUpdate",this.updateElementInsideSortable);this.sortable.addEventListener("stzhDisable",this.updateElementInsideSortable)}};t.prototype.connectedCallback=function(){this.init();this.observer=new MutationObserver(this.handleMutation);this.observer.observe(this.element,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){this.observer.disconnect()};t.prototype.render=function(){var t=this;var e,s,a;var i=hasSlot(this.element,"image");var r=hasSlot(this.element,"content");var c={"stzh-card":true,"stzh-card--has-link":!!this.href,"stzh-card--has-image":i,"stzh-card--has-content":r,"stzh-card--has-subtitle":!!this.subtitle,"stzh-card--has-subtitle-interactive":!!this.subtitle&&this.subtitleInteractive,"stzh-card--has-hidden-header-border":this.hideHeaderBorder,"stzh-card--has-hidden-footer-border":this.hideFooterBorder,"stzh-card--is-collapsible":this.collapsible,"stzh-card--is-collapsed":this.collapsed,"stzh-card--is-starred":this.starred,"stzh-card--is-checked":this.checked};var n="".concat(this.subtitleInteractive?"button":"span");var o=this.findSortableChildElement();var l=(o===null||o===void 0?void 0:o.parentElement)&&Array.from((e=o===null||o===void 0?void 0:o.parentElement)===null||e===void 0?void 0:e.children).indexOf(o)===0;var d=(o===null||o===void 0?void 0:o.parentElement)&&Array.from((s=o===null||o===void 0?void 0:o.parentElement)===null||s===void 0?void 0:s.children).indexOf(o)===((a=o===null||o===void 0?void 0:o.parentElement)===null||a===void 0?void 0:a.children.length)-1;var z=!this.sortableDisabled&&!this.hideMovementActions&&this.sortable&&!this.sortable.disabled;var p=this._headerActions.filter((function(t){return!t.onlyCollapseText}));return h(Host,{role:"listitem","aria-label":this.heading},h("article",{ref:function(e){return t.mainElement=e},class:c},h("a",{"aria-hidden":"true",tabindex:"-1",class:"stzh-card__image-link",href:this.href,target:this.target,onClick:this.href?this.cardClick:null},h("slot",{name:"image"})),h("div",{class:"stzh-card__content-wrapper"},h("stzh-icon",{class:"stzh-card__dnd",name:"drag"}),h("header",{ref:function(e){return t.headerElement=e},class:"stzh-card__header",onClick:this.headerClick},h("div",{class:"stzh-card__header-top"},h("div",{ref:function(e){return t.headerLeftElement=e},class:"stzh-card__header-left"},h("div",{class:"stzh-card__title-area"},h("h3",{class:"stzh-card__title"},h("a",{class:"stzh-card__title-link",href:this.href,target:this.target,onClick:this.href?this.cardClick:null},this.heading?this.heading:h("slot",{name:"heading"}))),this._subtitles.length>0&&h(n,{class:"stzh-card__subtitle",onClick:this.subtitleClick},this._subtitles.map((function(t){return h("span",{class:"stzh-card__subtitle-text"},t)}))))),h("div",{ref:function(e){return t.headerRightElement=e},class:"stzh-card__header-right"},h("div",{class:"stzh-card__card-actions"},this._headerActions.map((function(e){return h("stzh-button",{class:{"stzh-card__card-action":true,"is-button":true,"show-medium":!e.onlyCollapseText,"hide-when-collapsed":!e.onlyCollapseText,"hide-text-when-collapsed":e.onlyCollapseText},icon:e.icon,badge:e.badge,badgeEmpty:e.badgeEmpty,badgeType:e.badgeType,variant:"tertiary",size:"tiny",badgePosition:"icon",onClick:function(){t.actionClick(e)}},h("span",{class:{"vshow-medium":e.onlyCollapseText,"vhide-when-collapsed":e.onlyCollapseText}},e.label))})),this.starrable&&h("stzh-tooltip",null,h("stzh-button",{class:"stzh-card__card-action is-star",icon:this.starred?"star-filled":"star",variant:"tertiary",size:"tiny",iconOnly:true,onClick:this.starToggleClick}),h("div",{slot:"content"},this.starred?this.localization.actionRemove:this.localization.actionAdd)),(p.length>0||this.starrable||z)&&h("stzh-popover",{label:this.localization.actionsPopoverLabel,placement:"bottom-end",class:{"stzh-card__card-action-popover":true,"hide-medium show-when-collapsed":!this.starrable&&!z}},h("stzh-button",{class:"stzh-card__card-action is-further",variant:"tertiary",size:"tiny",icon:"more-vertical",iconOnly:true}),h("stzh-menu",{slot:"content"},this.starrable&&h("stzh-menu-item",{icon:this.starred?"star-filled":"star",onClick:this.starToggleClick},this.starred?this.localization.actionRemove:this.localization.actionAdd),p.map((function(e){return h("stzh-menu-item",{class:"hide-medium show-when-collapsed",icon:e.icon,badge:e.badge,badgeEmpty:e.badgeEmpty,badgeType:e.badgeType,onClick:function(){t.actionClick(e)}},e.label)})),z&&h(Fragment,null,!l&&h("stzh-menu-item",{icon:"arrow-up",onClick:this.arrowUpClick},this.localization.actionMoveUp),!d&&h("stzh-menu-item",{icon:"arrow-down",onClick:this.arrowDownClick},this.localization.actionMoveDown))))))),h("div",{class:"stzh-card__header-meta"},h("slot",{name:"meta"}))),h("div",{class:"stzh-card__content hide-when-collapsed"},h("slot",{name:"content"})),h("div",{class:"stzh-card__footer hide-when-collapsed"},h("slot",{name:"footer"},this._footerActions.length>0&&h("stzh-actionset",{actions:this._footerActions}),this.selectable&&h("stzh-button",{fullwidth:true,type:"radio",variant:"secondary",name:this.name,value:this.value,checked:this.checked,disabled:this.disabled,label:this.localization.select,onStzhChange:this.handleSelectionChange}),this.withArrow&&h("stzh-icon",{class:"stzh-card__footer-arrow",name:"arrow-right-long"}))))))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{subtitle:["subtitleWatcher"],headerActions:["headerActionsWatcher"],footerActions:["footerActionsWatcher"],collapsed:["collapsedWatcher"]}},enumerable:false,configurable:true});return t}();StzhCard.style=stzhCardCss;var stzhCardListCss=".sc-stzh-card-list-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-card-list-h{display:none}.sc-stzh-card-list-h *.sc-stzh-card-list,.sc-stzh-card-list-h *.sc-stzh-card-list::before,.sc-stzh-card-list-h *.sc-stzh-card-list::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-card-list-h[layout=fullwidth] .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.sc-stzh-card-list-h[layout=fullwidth] .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.sc-stzh-card-list-h[layout=fullwidth] .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-xlarge)}}.sc-stzh-card-list-h[layout=subpages] .sc-stzh-card-list-s>*:not([slot]){width:100%;margin:calc(var(--stzh-grid-gutter) / 2)}@media screen and (min-width: 600px){.sc-stzh-card-list-h[layout=subpages] .sc-stzh-card-list-s>*:not([slot]){width:calc(50% - var(--stzh-grid-gutter-small));margin:calc(var(--stzh-grid-gutter-small) / 2)}}@media screen and (min-width: 1024px){.sc-stzh-card-list-h[layout=subpages] .sc-stzh-card-list-s>*:not([slot]){width:calc(33.333% - var(--stzh-grid-gutter-medium));margin:calc(var(--stzh-grid-gutter-medium) / 2)}}.sc-stzh-card-list-h .sc-stzh-card-list-s>[slot=description] stzh-icon{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.sc-stzh-card-list-h .sc-stzh-card-list-s>stzh-text[slot=description]{--color:inherit}.stzh-card-list__cards.sc-stzh-card-list{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.stzh-card-list__header.sc-stzh-card-list{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}@media screen and (min-width: 800px){.stzh-card-list__header.sc-stzh-card-list{-ms-flex-direction:row;flex-direction:row}}.stzh-card-list__description.sc-stzh-card-list{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);color:var(--stzh-base-lead-color)}@media screen and (min-width: 1024px){.stzh-card-list__description.sc-stzh-card-list{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-card-list__description.sc-stzh-card-list:not(:empty){margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 800px){.stzh-card-list__description.sc-stzh-card-list:not(:empty){margin-bottom:0}}.stzh-card-list__switch.sc-stzh-card-list{--color:var(--stzh-base-lead-color);-ms-flex-item-align:end;align-self:end}.stzh-card-list--has-header.sc-stzh-card-list .stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-card-list--has-header.sc-stzh-card-list .stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card-list--has-header.sc-stzh-card-list .stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-xlarge)}}.stzh-card-list--layout-subpages.sc-stzh-card-list .stzh-card-list__cards.sc-stzh-card-list{-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:calc(var(--stzh-grid-gutter) / -2)}@media screen and (min-width: 600px){.stzh-card-list--layout-subpages.sc-stzh-card-list .stzh-card-list__cards.sc-stzh-card-list{margin:calc(var(--stzh-grid-gutter-small) / -2)}}@media screen and (min-width: 1024px){.stzh-card-list--layout-subpages.sc-stzh-card-list .stzh-card-list__cards.sc-stzh-card-list{margin:calc(var(--stzh-grid-gutter-medium) / -2)}}";var StzhCardList=function(){function t(t){var e=this;registerInstance(this,t);this.stzhCollapseAll=createEvent(this,"stzhCollapseAll",7);this.collapseClick=function(){var t=Array.from(e.element.querySelectorAll("stzh-card"));t.forEach((function(t){if(t.collapsible){t.collapsed=!e.allCollapsed}}));e.allCollapsed=!e.allCollapsed;e.stzhCollapseAll.emit({component:"stzh-card-list",allCollapsed:e.allCollapsed})};this.updateCollapsedState=function(){var t=Array.from(e.element.querySelectorAll("stzh-card"));e.allCollapsed=!t.some((function(t){return!t.collapsed}))};this.sortableGhostClone=function(t){var e=cloneElement(t),s=e[0],a=e[1],i=e[2];if(a&&i&&a.tagName.toLowerCase()==="stzh-card"){var r=a;var c=i;r.heading=c.heading;r.subtitle=c.subtitle;r.headerActions=c.headerActions;r.footerActions=c.footerActions;r.hideMovementActions=c.hideMovementActions}return s};this.localization=undefined;this.layout="fullwidth";this.description=undefined;this.showToggleLink=false;this.sortableEnabled=false;this.sortableDataIdAttribute="data-id";this.allCollapsed=false}t.prototype.collapseListener=function(){this.updateCollapsedState()};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:if(!!this.localization)return[3,2];t=this;return[4,fetchTranslations(this.element,"card-list")];case 1:t.localization=e.sent();e.label=2;case 2:return[2]}}))}))};t.prototype.componentDidLoad=function(){this.updateCollapsedState()};t.prototype.render=function(){var t;var e=hasSlot(this.element,"description")||!!this.description;var s=(t={"stzh-card-list":true,"stzh-card-list--has-header":this.showToggleLink||e},t["stzh-card-list--layout-".concat(this.layout)]=!!this.layout,t);return h(Host,null,h("div",{class:s},h("div",{class:"stzh-card-list__header"},h("div",{class:"stzh-card-list__description"},this.description?this.description:h("slot",{name:"description"})),this.showToggleLink&&h("stzh-link",{class:"stzh-card-list__switch",icon:this.allCollapsed?"list-expanded":"list-shrinked",label:this.allCollapsed?this.localization.expandAll:this.localization.collapseAll,onClick:this.collapseClick})),h("stzh-sortable",{disabled:!this.sortableEnabled,dataIdAttribute:this.sortableDataIdAttribute,ghostClone:this.sortableGhostClone},h("div",{class:"stzh-card-list__cards",role:"list"},h("slot",null)))))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();StzhCardList.style=stzhCardListCss;var stzhChipSelectCss=".sc-stzh-chip-select-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-chip-select-h{display:none}.sc-stzh-chip-select-h *.sc-stzh-chip-select,.sc-stzh-chip-select-h *.sc-stzh-chip-select::before,.sc-stzh-chip-select-h *.sc-stzh-chip-select::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-chip-select__marker-symbol.sc-stzh-chip-select{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-chip-select__marker-text.sc-stzh-chip-select{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-chip-select__description-wrapper.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select__description.sc-stzh-chip-select{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-chip-select__error.sc-stzh-chip-select{color:var(--stzh-color-error)}.stzh-chip-select__error-list.sc-stzh-chip-select{list-style:none;margin:0;padding:0}.stzh-chip-select__description.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-chip-select__description-long.sc-stzh-chip-select{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-chip-select__description-long-popover.sc-stzh-chip-select{--width:auto;--max-width:27.3125rem}.stzh-chip-select__description-long-popover[open].sc-stzh-chip-select:not([open=false]) .stzh-chip-select__description-long-button.sc-stzh-chip-select{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-chip-select__description-long-button.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-chip-select__description-long-button.sc-stzh-chip-select:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-chip-select.sc-stzh-chip-select stzh-icon.stzh-chip-select__description-long-icon.sc-stzh-chip-select{--size:var(--stzh-icon-size-xsmall)}.stzh-chip-select--has-error.sc-stzh-chip-select .stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select--has-description.sc-stzh-chip-select .stzh-chip-select__description.sc-stzh-chip-select{margin-top:var(--stzh-space-xxsmall)}.stzh-chip-select__chips.sc-stzh-chip-select{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:calc(var(--stzh-space-small) / -2) calc(var(--stzh-space-xsmall) / -2);border-radius:var(--stzh-button-border-radius)}@media screen and (max-width: 1023px){.stzh-chip-select__chips.sc-stzh-chip-select{display:none}}.stzh-chip-select__chip.sc-stzh-chip-select{margin:calc(var(--stzh-space-small) / 2) calc(var(--stzh-space-xsmall) / 2)}@media screen and (min-width: 1024px){.stzh-chip-select__dropdown.sc-stzh-chip-select{display:none}}@media screen and (max-width: 1023px){.stzh-chip-select__description-wrapper.sc-stzh-chip-select{display:none}}.stzh-chip-select--has-error.sc-stzh-chip-select .stzh-chip-select__error.sc-stzh-chip-select,.stzh-chip-select--has-description.sc-stzh-chip-select .stzh-chip-select__description.sc-stzh-chip-select{margin-top:var(--stzh-space-xsmall)}";var chipSelectCounter=0;var StzhChipSelect=function(){function t(t){var e=this;registerInstance(this,t);this.stzhChange=createEvent(this,"stzhChange",7);this._data=[];this._dataDropdown=[];this.handleChipClick=function(t){e.value=t.value;e.stzhChange.emit({component:"stzh-chip-select",value:e.value})};this.handleDropdownChange=function(t){e.value=t.detail.value;e.stzhChange.emit({component:"stzh-chip-select",value:e.value})};this.handleKeydown=function(t){var s=null;if(t.key==="ArrowUp"||t.key==="ArrowLeft"){t.preventDefault();var a=e.getActiveOptionIndex();if(a>0){s=a-1}}else if(t.key==="ArrowDown"||t.key==="ArrowRight"){t.preventDefault();var a=e.getActiveOptionIndex();if(a<e._data.length-1){s=a+1}}if(s!==null){e.value=e._data[s].value;e.stzhChange.emit({component:"stzh-chip-select",value:e.value})}};this.localization=undefined;this.data=[];this.name=undefined;this.label="";this.value="";this.description=undefined;this.descriptionLong=undefined;this.error=undefined;this.invalid=false;this.required=false;this.disabled=false;this.a11yDescribedby=""}t.prototype.dataWatcher=function(t){if(typeof t==="string"){this._data=JSON.parse(t)}else{this._data=t}this._dataDropdown=this._data.map((function(t){return{text:"".concat(t.label," (").concat(t.counter,")"),value:t.value}}))};t.prototype.errorWatcher=function(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(e){if(t){this._error=[t]}else{this._error=[]}}}else if(t){this._error=t}else{this._error=[]}this.invalid=this._error.length>0};t.prototype.getActiveOptionIndex=function(){var t=this;return this._data.findIndex((function(e){return t.value===e.value}))};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:this.id="stzh-chip-select-".concat(chipSelectCounter++);this.dataWatcher(this.data);this.errorWatcher(this.error);if(!!this.localization)return[3,2];t=this;return[4,fetchTranslations(this.element,"chip-select")];case 1:t.localization=e.sent();e.label=2;case 2:return[2]}}))}))};t.prototype.render=function(){var t=this;var e=!!this.description;var s=!!this.descriptionLong;var a=!!this.error;var i={"stzh-chip-select":true,"stzh-chip-select--has-description":e,"stzh-chip-select--has-description-long":s,"stzh-chip-select--has-error":a,"stzh-chip-select--is-invalid":this.invalid,"stzh-chip-select--is-disabled":this.disabled,"stzh-chip-select--is-required":this.required};return h(Host,null,h("div",{class:i},h("input",{type:"hidden",name:this.name,value:this.value}),h("div",{class:"stzh-chip-select__chips",role:"listbox",tabindex:"0","aria-multiselectable":"false","aria-activedescendant":"".concat(this.id,"-option-").concat(this.getActiveOptionIndex()),"aria-describedby":"".concat(this.id,"-description ").concat(this.a11yDescribedby),onKeyDown:this.handleKeydown},this._data.map((function(e,s){return h("stzh-chip",{role:"option",class:"stzh-chip-select__chip",label:e.label,counter:e.counter,icon:e.icon,type:e.type,variant:e.variant,size:e.size,disabled:t.disabled||e.disabled,active:t.value===e.value,"aria-selected":t.value===e.value,id:"".concat(t.id,"-option-").concat(s),a11yTabindex:"-1",onClick:function(){return t.handleChipClick(e)}})}))),h(StzhInputDescription,{classPrefix:"stzh-chip-select",id:"".concat(this.id,"-description"),error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongUsed:s,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel}),h("stzh-dropdown",{class:"stzh-chip-select__dropdown",disabled:this.disabled,error:this._error,description:this.description,descriptionLong:this.descriptionLong,required:this.required,invalid:this.invalid,items:[this.value],label:this.label,options:this._dataDropdown,onStzhChange:this.handleDropdownChange})))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{data:["dataWatcher"],error:["errorWatcher"]}},enumerable:false,configurable:true});return t}();StzhChipSelect.style=stzhChipSelectCss;export{StzhCard as stzh_card,StzhCardList as stzh_card_list,StzhChipSelect as stzh_chip_select};
@@ -1 +1 @@
1
- import{r as registerInstance,h,a as Host}from"./index-2915b467.js";var stzhCellCss=':host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host{--cell-width:100%;max-width:100%;width:var(--cell-width);-ms-flex-preferred-size:var(--cell-width);flex-basis:var(--cell-width);-ms-flex-negative:0;flex-shrink:0}:host([justify-self=start]){justify-self:flex-start}:host([justify-self=end]){justify-self:flex-end}:host([justify-self=center]){justify-self:center}:host([justify-self=between]){justify-self:space-between}:host([justify-self=around]){justify-self:space-around}:host([justify-self=evenly]){justify-self:space-evenly}:host([align-self=start]){-ms-flex-item-align:start;align-self:flex-start}:host([align-self=end]){-ms-flex-item-align:end;align-self:flex-end}:host([align-self=center]){-ms-flex-item-align:center;align-self:center}:host([align-self=baseline]){-ms-flex-item-align:baseline;align-self:baseline}:host([align-self=stretch]){-ms-flex-item-align:stretch;align-self:stretch}:host([span="1"]){--cell-width:8.3333333333%}:host([span="2"]){--cell-width:16.6666666667%}:host([span="3"]){--cell-width:25%}:host([span="4"]){--cell-width:33.3333333333%}:host([span="5"]){--cell-width:41.6666666667%}:host([span="6"]){--cell-width:50%}:host([span="7"]){--cell-width:58.3333333333%}:host([span="8"]){--cell-width:66.6666666667%}:host([span="9"]){--cell-width:75%}:host([span="10"]){--cell-width:83.3333333333%}:host([span="11"]){--cell-width:91.6666666667%}:host([span="12"]){--cell-width:100%}@media screen and (min-width: 600px){:host([span-small="1"]){--cell-width:8.3333333333%}}@media screen and (min-width: 600px){:host([span-small="2"]){--cell-width:16.6666666667%}}@media screen and (min-width: 600px){:host([span-small="3"]){--cell-width:25%}}@media screen and (min-width: 600px){:host([span-small="4"]){--cell-width:33.3333333333%}}@media screen and (min-width: 600px){:host([span-small="5"]){--cell-width:41.6666666667%}}@media screen and (min-width: 600px){:host([span-small="6"]){--cell-width:50%}}@media screen and (min-width: 600px){:host([span-small="7"]){--cell-width:58.3333333333%}}@media screen and (min-width: 600px){:host([span-small="8"]){--cell-width:66.6666666667%}}@media screen and (min-width: 600px){:host([span-small="9"]){--cell-width:75%}}@media screen and (min-width: 600px){:host([span-small="10"]){--cell-width:83.3333333333%}}@media screen and (min-width: 600px){:host([span-small="11"]){--cell-width:91.6666666667%}}@media screen and (min-width: 600px){:host([span-small="12"]){--cell-width:100%}}@media screen and (min-width: 800px){:host([span-smallheader="1"]){--cell-width:8.3333333333%}}@media screen and (min-width: 800px){:host([span-smallheader="2"]){--cell-width:16.6666666667%}}@media screen and (min-width: 800px){:host([span-smallheader="3"]){--cell-width:25%}}@media screen and (min-width: 800px){:host([span-smallheader="4"]){--cell-width:33.3333333333%}}@media screen and (min-width: 800px){:host([span-smallheader="5"]){--cell-width:41.6666666667%}}@media screen and (min-width: 800px){:host([span-smallheader="6"]){--cell-width:50%}}@media screen and (min-width: 800px){:host([span-smallheader="7"]){--cell-width:58.3333333333%}}@media screen and (min-width: 800px){:host([span-smallheader="8"]){--cell-width:66.6666666667%}}@media screen and (min-width: 800px){:host([span-smallheader="9"]){--cell-width:75%}}@media screen and (min-width: 800px){:host([span-smallheader="10"]){--cell-width:83.3333333333%}}@media screen and (min-width: 800px){:host([span-smallheader="11"]){--cell-width:91.6666666667%}}@media screen and (min-width: 800px){:host([span-smallheader="12"]){--cell-width:100%}}@media screen and (min-width: 1024px){:host([span-medium="1"]){--cell-width:8.3333333333%}}@media screen and (min-width: 1024px){:host([span-medium="2"]){--cell-width:16.6666666667%}}@media screen and (min-width: 1024px){:host([span-medium="3"]){--cell-width:25%}}@media screen and (min-width: 1024px){:host([span-medium="4"]){--cell-width:33.3333333333%}}@media screen and (min-width: 1024px){:host([span-medium="5"]){--cell-width:41.6666666667%}}@media screen and (min-width: 1024px){:host([span-medium="6"]){--cell-width:50%}}@media screen and (min-width: 1024px){:host([span-medium="7"]){--cell-width:58.3333333333%}}@media screen and (min-width: 1024px){:host([span-medium="8"]){--cell-width:66.6666666667%}}@media screen and (min-width: 1024px){:host([span-medium="9"]){--cell-width:75%}}@media screen and (min-width: 1024px){:host([span-medium="10"]){--cell-width:83.3333333333%}}@media screen and (min-width: 1024px){:host([span-medium="11"]){--cell-width:91.6666666667%}}@media screen and (min-width: 1024px){:host([span-medium="12"]){--cell-width:100%}}@media screen and (min-width: 1260px){:host([span-large="1"]){--cell-width:8.3333333333%}}@media screen and (min-width: 1260px){:host([span-large="2"]){--cell-width:16.6666666667%}}@media screen and (min-width: 1260px){:host([span-large="3"]){--cell-width:25%}}@media screen and (min-width: 1260px){:host([span-large="4"]){--cell-width:33.3333333333%}}@media screen and (min-width: 1260px){:host([span-large="5"]){--cell-width:41.6666666667%}}@media screen and (min-width: 1260px){:host([span-large="6"]){--cell-width:50%}}@media screen and (min-width: 1260px){:host([span-large="7"]){--cell-width:58.3333333333%}}@media screen and (min-width: 1260px){:host([span-large="8"]){--cell-width:66.6666666667%}}@media screen and (min-width: 1260px){:host([span-large="9"]){--cell-width:75%}}@media screen and (min-width: 1260px){:host([span-large="10"]){--cell-width:83.3333333333%}}@media screen and (min-width: 1260px){:host([span-large="11"]){--cell-width:91.6666666667%}}@media screen and (min-width: 1260px){:host([span-large="12"]){--cell-width:100%}}@media screen and (min-width: 1440px){:host([span-ultra="1"]){--cell-width:8.3333333333%}}@media screen and (min-width: 1440px){:host([span-ultra="2"]){--cell-width:16.6666666667%}}@media screen and (min-width: 1440px){:host([span-ultra="3"]){--cell-width:25%}}@media screen and (min-width: 1440px){:host([span-ultra="4"]){--cell-width:33.3333333333%}}@media screen and (min-width: 1440px){:host([span-ultra="5"]){--cell-width:41.6666666667%}}@media screen and (min-width: 1440px){:host([span-ultra="6"]){--cell-width:50%}}@media screen and (min-width: 1440px){:host([span-ultra="7"]){--cell-width:58.3333333333%}}@media screen and (min-width: 1440px){:host([span-ultra="8"]){--cell-width:66.6666666667%}}@media screen and (min-width: 1440px){:host([span-ultra="9"]){--cell-width:75%}}@media screen and (min-width: 1440px){:host([span-ultra="10"]){--cell-width:83.3333333333%}}@media screen and (min-width: 1440px){:host([span-ultra="11"]){--cell-width:91.6666666667%}}@media screen and (min-width: 1440px){:host([span-ultra="12"]){--cell-width:100%}}.stzh-cell{height:100%;padding-left:calc(var(--stzh-grid-gutter) / 2);padding-right:calc(var(--stzh-grid-gutter) / 2)}@media screen and (min-width: 600px){.stzh-cell{padding-left:calc(var(--stzh-grid-gutter-small) / 2);padding-right:calc(var(--stzh-grid-gutter-small) / 2)}}@media screen and (min-width: 1024px){.stzh-cell{padding-left:calc(var(--stzh-grid-gutter-medium) / 2);padding-right:calc(var(--stzh-grid-gutter-medium) / 2)}}';var StzhCell=function(){function e(e){registerInstance(this,e);this.span=12;this.spanSmall=0;this.spanMedium=0;this.spanLarge=0;this.spanUltra=0;this.justifySelf="auto";this.alignSelf="auto"}e.prototype.render=function(){return h(Host,null,h("div",{class:{"stzh-cell":true}},h("slot",null)))};return e}();StzhCell.style=stzhCellCss;export{StzhCell as stzh_cell};
1
+ import{r as registerInstance,h,a as Host}from"./index-011c84fe.js";var stzhCellCss=':host{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}:host[hidden]{display:none}:host *,:host *::before,:host *::after{-webkit-box-sizing:border-box;box-sizing:border-box}:host{--cell-width:100%;max-width:100%;width:var(--cell-width);-ms-flex-preferred-size:var(--cell-width);flex-basis:var(--cell-width);-ms-flex-negative:0;flex-shrink:0}:host([justify-self=start]){justify-self:flex-start}:host([justify-self=end]){justify-self:flex-end}:host([justify-self=center]){justify-self:center}:host([justify-self=between]){justify-self:space-between}:host([justify-self=around]){justify-self:space-around}:host([justify-self=evenly]){justify-self:space-evenly}:host([align-self=start]){-ms-flex-item-align:start;align-self:flex-start}:host([align-self=end]){-ms-flex-item-align:end;align-self:flex-end}:host([align-self=center]){-ms-flex-item-align:center;align-self:center}:host([align-self=baseline]){-ms-flex-item-align:baseline;align-self:baseline}:host([align-self=stretch]){-ms-flex-item-align:stretch;align-self:stretch}:host([span="1"]){--cell-width:8.3333333333%}:host([span="2"]){--cell-width:16.6666666667%}:host([span="3"]){--cell-width:25%}:host([span="4"]){--cell-width:33.3333333333%}:host([span="5"]){--cell-width:41.6666666667%}:host([span="6"]){--cell-width:50%}:host([span="7"]){--cell-width:58.3333333333%}:host([span="8"]){--cell-width:66.6666666667%}:host([span="9"]){--cell-width:75%}:host([span="10"]){--cell-width:83.3333333333%}:host([span="11"]){--cell-width:91.6666666667%}:host([span="12"]){--cell-width:100%}@media screen and (min-width: 600px){:host([span-small="1"]){--cell-width:8.3333333333%}}@media screen and (min-width: 600px){:host([span-small="2"]){--cell-width:16.6666666667%}}@media screen and (min-width: 600px){:host([span-small="3"]){--cell-width:25%}}@media screen and (min-width: 600px){:host([span-small="4"]){--cell-width:33.3333333333%}}@media screen and (min-width: 600px){:host([span-small="5"]){--cell-width:41.6666666667%}}@media screen and (min-width: 600px){:host([span-small="6"]){--cell-width:50%}}@media screen and (min-width: 600px){:host([span-small="7"]){--cell-width:58.3333333333%}}@media screen and (min-width: 600px){:host([span-small="8"]){--cell-width:66.6666666667%}}@media screen and (min-width: 600px){:host([span-small="9"]){--cell-width:75%}}@media screen and (min-width: 600px){:host([span-small="10"]){--cell-width:83.3333333333%}}@media screen and (min-width: 600px){:host([span-small="11"]){--cell-width:91.6666666667%}}@media screen and (min-width: 600px){:host([span-small="12"]){--cell-width:100%}}@media screen and (min-width: 800px){:host([span-smallheader="1"]){--cell-width:8.3333333333%}}@media screen and (min-width: 800px){:host([span-smallheader="2"]){--cell-width:16.6666666667%}}@media screen and (min-width: 800px){:host([span-smallheader="3"]){--cell-width:25%}}@media screen and (min-width: 800px){:host([span-smallheader="4"]){--cell-width:33.3333333333%}}@media screen and (min-width: 800px){:host([span-smallheader="5"]){--cell-width:41.6666666667%}}@media screen and (min-width: 800px){:host([span-smallheader="6"]){--cell-width:50%}}@media screen and (min-width: 800px){:host([span-smallheader="7"]){--cell-width:58.3333333333%}}@media screen and (min-width: 800px){:host([span-smallheader="8"]){--cell-width:66.6666666667%}}@media screen and (min-width: 800px){:host([span-smallheader="9"]){--cell-width:75%}}@media screen and (min-width: 800px){:host([span-smallheader="10"]){--cell-width:83.3333333333%}}@media screen and (min-width: 800px){:host([span-smallheader="11"]){--cell-width:91.6666666667%}}@media screen and (min-width: 800px){:host([span-smallheader="12"]){--cell-width:100%}}@media screen and (min-width: 1024px){:host([span-medium="1"]){--cell-width:8.3333333333%}}@media screen and (min-width: 1024px){:host([span-medium="2"]){--cell-width:16.6666666667%}}@media screen and (min-width: 1024px){:host([span-medium="3"]){--cell-width:25%}}@media screen and (min-width: 1024px){:host([span-medium="4"]){--cell-width:33.3333333333%}}@media screen and (min-width: 1024px){:host([span-medium="5"]){--cell-width:41.6666666667%}}@media screen and (min-width: 1024px){:host([span-medium="6"]){--cell-width:50%}}@media screen and (min-width: 1024px){:host([span-medium="7"]){--cell-width:58.3333333333%}}@media screen and (min-width: 1024px){:host([span-medium="8"]){--cell-width:66.6666666667%}}@media screen and (min-width: 1024px){:host([span-medium="9"]){--cell-width:75%}}@media screen and (min-width: 1024px){:host([span-medium="10"]){--cell-width:83.3333333333%}}@media screen and (min-width: 1024px){:host([span-medium="11"]){--cell-width:91.6666666667%}}@media screen and (min-width: 1024px){:host([span-medium="12"]){--cell-width:100%}}@media screen and (min-width: 1260px){:host([span-large="1"]){--cell-width:8.3333333333%}}@media screen and (min-width: 1260px){:host([span-large="2"]){--cell-width:16.6666666667%}}@media screen and (min-width: 1260px){:host([span-large="3"]){--cell-width:25%}}@media screen and (min-width: 1260px){:host([span-large="4"]){--cell-width:33.3333333333%}}@media screen and (min-width: 1260px){:host([span-large="5"]){--cell-width:41.6666666667%}}@media screen and (min-width: 1260px){:host([span-large="6"]){--cell-width:50%}}@media screen and (min-width: 1260px){:host([span-large="7"]){--cell-width:58.3333333333%}}@media screen and (min-width: 1260px){:host([span-large="8"]){--cell-width:66.6666666667%}}@media screen and (min-width: 1260px){:host([span-large="9"]){--cell-width:75%}}@media screen and (min-width: 1260px){:host([span-large="10"]){--cell-width:83.3333333333%}}@media screen and (min-width: 1260px){:host([span-large="11"]){--cell-width:91.6666666667%}}@media screen and (min-width: 1260px){:host([span-large="12"]){--cell-width:100%}}@media screen and (min-width: 1440px){:host([span-ultra="1"]){--cell-width:8.3333333333%}}@media screen and (min-width: 1440px){:host([span-ultra="2"]){--cell-width:16.6666666667%}}@media screen and (min-width: 1440px){:host([span-ultra="3"]){--cell-width:25%}}@media screen and (min-width: 1440px){:host([span-ultra="4"]){--cell-width:33.3333333333%}}@media screen and (min-width: 1440px){:host([span-ultra="5"]){--cell-width:41.6666666667%}}@media screen and (min-width: 1440px){:host([span-ultra="6"]){--cell-width:50%}}@media screen and (min-width: 1440px){:host([span-ultra="7"]){--cell-width:58.3333333333%}}@media screen and (min-width: 1440px){:host([span-ultra="8"]){--cell-width:66.6666666667%}}@media screen and (min-width: 1440px){:host([span-ultra="9"]){--cell-width:75%}}@media screen and (min-width: 1440px){:host([span-ultra="10"]){--cell-width:83.3333333333%}}@media screen and (min-width: 1440px){:host([span-ultra="11"]){--cell-width:91.6666666667%}}@media screen and (min-width: 1440px){:host([span-ultra="12"]){--cell-width:100%}}.stzh-cell{height:100%;padding-left:calc(var(--stzh-grid-gutter) / 2);padding-right:calc(var(--stzh-grid-gutter) / 2)}@media screen and (min-width: 600px){.stzh-cell{padding-left:calc(var(--stzh-grid-gutter-small) / 2);padding-right:calc(var(--stzh-grid-gutter-small) / 2)}}@media screen and (min-width: 1024px){.stzh-cell{padding-left:calc(var(--stzh-grid-gutter-medium) / 2);padding-right:calc(var(--stzh-grid-gutter-medium) / 2)}}';var StzhCell=function(){function e(e){registerInstance(this,e);this.span=12;this.spanSmall=0;this.spanMedium=0;this.spanLarge=0;this.spanUltra=0;this.justifySelf="auto";this.alignSelf="auto"}e.prototype.render=function(){return h(Host,null,h("div",{class:{"stzh-cell":true}},h("slot",null)))};return e}();StzhCell.style=stzhCellCss;export{StzhCell as stzh_cell};