@oiz/stzh-components 2.7.0 → 2.8.0-alpha

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 (716) hide show
  1. package/dist/cjs/{app-globals-c9c5ef57.js → app-globals-7c3a8979.js} +2 -2
  2. package/dist/cjs/{app-globals-c9c5ef57.js.map → app-globals-7c3a8979.js.map} +1 -1
  3. package/dist/cjs/index.cjs.js.map +1 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/{string-utils-a867b99d.js → string-utils-2575ea7f.js} +14 -1
  6. package/dist/cjs/string-utils-2575ea7f.js.map +1 -0
  7. package/dist/cjs/stzh-actions.cjs.entry.js +1 -1
  8. package/dist/cjs/{stzh-sortable.cjs.entry.js → stzh-actionset_4.cjs.entry.js} +567 -3
  9. package/dist/cjs/stzh-actionset_4.cjs.entry.js.map +1 -0
  10. package/dist/cjs/stzh-amount.cjs.entry.js +4 -3
  11. package/dist/cjs/stzh-amount.cjs.entry.js.map +1 -1
  12. package/dist/cjs/stzh-appnav.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
  14. package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
  15. package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
  16. package/dist/cjs/stzh-buttongroup.cjs.entry.js.map +1 -1
  17. package/dist/cjs/stzh-carousel.cjs.entry.js +1 -1
  18. package/dist/cjs/stzh-cell.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-cell.cjs.entry.js.map +1 -1
  20. package/dist/cjs/stzh-checkbox.cjs.entry.js +1 -1
  21. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -2
  22. package/dist/cjs/stzh-chip-select.cjs.entry.js +149 -0
  23. package/dist/cjs/stzh-chip-select.cjs.entry.js.map +1 -0
  24. package/dist/cjs/stzh-components.cjs.js +2 -2
  25. package/dist/cjs/stzh-contact.cjs.entry.js +1 -1
  26. package/dist/cjs/stzh-container.cjs.entry.js +1 -1
  27. package/dist/cjs/stzh-container.cjs.entry.js.map +1 -1
  28. package/dist/cjs/stzh-cspace.cjs.entry.js +3 -1
  29. package/dist/cjs/stzh-cspace.cjs.entry.js.map +1 -1
  30. package/dist/cjs/stzh-datalist_2.cjs.entry.js +11 -8
  31. package/dist/cjs/stzh-datalist_2.cjs.entry.js.map +1 -1
  32. package/dist/cjs/stzh-datatable.cjs.entry.js +32 -8
  33. package/dist/cjs/stzh-datatable.cjs.entry.js.map +1 -1
  34. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +6 -5
  35. package/dist/cjs/stzh-datepicker_3.cjs.entry.js.map +1 -1
  36. package/dist/cjs/stzh-details.cjs.entry.js +1 -1
  37. package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
  38. package/dist/cjs/stzh-dropdown.cjs.entry.js +4 -2
  39. package/dist/cjs/stzh-dropdown.cjs.entry.js.map +1 -1
  40. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  41. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  42. package/dist/cjs/stzh-ghettobox.cjs.entry.js +108 -0
  43. package/dist/cjs/stzh-ghettobox.cjs.entry.js.map +1 -0
  44. package/dist/cjs/stzh-header.cjs.entry.js +1 -1
  45. package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-hspace.cjs.entry.js.map +1 -1
  47. package/dist/cjs/stzh-input.cjs.entry.js +4 -2
  48. package/dist/cjs/stzh-input.cjs.entry.js.map +1 -1
  49. package/dist/cjs/stzh-link.cjs.entry.js +1 -1
  50. package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
  51. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  52. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  53. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  54. package/dist/cjs/stzh-pagination.cjs.entry.js +86 -0
  55. package/dist/cjs/stzh-pagination.cjs.entry.js.map +1 -0
  56. package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
  57. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
  58. package/dist/cjs/stzh-richtext_2.cjs.entry.js +86 -0
  59. package/dist/cjs/stzh-richtext_2.cjs.entry.js.map +1 -0
  60. package/dist/cjs/stzh-row.cjs.entry.js +1 -1
  61. package/dist/cjs/stzh-row.cjs.entry.js.map +1 -1
  62. package/dist/cjs/stzh-section.cjs.entry.js +1 -1
  63. package/dist/cjs/stzh-section.cjs.entry.js.map +1 -1
  64. package/dist/cjs/stzh-share.cjs.entry.js +7 -21
  65. package/dist/cjs/stzh-share.cjs.entry.js.map +1 -1
  66. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  67. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js.map +1 -1
  68. package/dist/cjs/stzh-space.cjs.entry.js +1 -1
  69. package/dist/cjs/stzh-space.cjs.entry.js.map +1 -1
  70. package/dist/cjs/stzh-table.cjs.entry.js +6 -4
  71. package/dist/cjs/stzh-table.cjs.entry.js.map +1 -1
  72. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  73. package/dist/cjs/stzh-toggle.cjs.entry.js +1 -1
  74. package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
  75. package/dist/cjs/stzh-upload.cjs.entry.js +1 -1
  76. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
  77. package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
  78. package/dist/cjs/stzh-vspace.cjs.entry.js.map +1 -1
  79. package/dist/cjs/{utils-a2ff9f84.js → utils-916583be.js} +7 -1
  80. package/dist/cjs/utils-916583be.js.map +1 -0
  81. package/dist/collection/assets/i18n/de.json +7 -0
  82. package/dist/collection/assets/i18n/en.json +7 -0
  83. package/dist/collection/collection-manifest.json +1 -0
  84. package/dist/collection/components/stzh-amount/stzh-amount.css +1 -1
  85. package/dist/collection/components/stzh-amount/stzh-amount.js +21 -2
  86. package/dist/collection/components/stzh-amount/stzh-amount.js.map +1 -1
  87. package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.css +11 -6
  88. package/dist/collection/components/stzh-card/stzh-card.css +30 -28
  89. package/dist/collection/components/stzh-card/stzh-card.js +30 -7
  90. package/dist/collection/components/stzh-card/stzh-card.js.map +1 -1
  91. package/dist/collection/components/stzh-cell/stzh-cell.css +0 -5
  92. package/dist/collection/components/stzh-container/stzh-container.css +0 -8
  93. package/dist/collection/components/stzh-cspace/stzh-cspace.css +103 -133
  94. package/dist/collection/components/stzh-cspace/stzh-cspace.js +46 -2
  95. package/dist/collection/components/stzh-cspace/stzh-cspace.js.map +1 -1
  96. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +5 -0
  97. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js +12 -8
  98. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js.map +1 -1
  99. package/dist/collection/components/stzh-datatable/stzh-datatable.css +21 -0
  100. package/dist/collection/components/stzh-datatable/stzh-datatable.js +85 -7
  101. package/dist/collection/components/stzh-datatable/stzh-datatable.js.map +1 -1
  102. package/dist/collection/components/stzh-datatable/stzh-datatable.stories.js +41 -14
  103. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +22 -3
  104. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js.map +1 -1
  105. package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +12 -0
  106. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +20 -0
  107. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js.map +1 -1
  108. package/dist/collection/components/stzh-hspace/stzh-hspace.css +0 -6
  109. package/dist/collection/components/stzh-input/stzh-input.css +16 -1
  110. package/dist/collection/components/stzh-input/stzh-input.js +20 -0
  111. package/dist/collection/components/stzh-input/stzh-input.js.map +1 -1
  112. package/dist/collection/components/stzh-menu-item/stzh-menu-item.stories.js +2 -2
  113. package/dist/collection/components/stzh-pagination/stzh-pagination.css +127 -0
  114. package/dist/collection/components/stzh-pagination/stzh-pagination.js +437 -0
  115. package/dist/collection/components/stzh-pagination/stzh-pagination.js.map +1 -0
  116. package/dist/collection/components/stzh-pagination/stzh-pagination.localization.js +2 -0
  117. package/dist/collection/components/stzh-pagination/stzh-pagination.localization.js.map +1 -0
  118. package/dist/collection/components/stzh-pagination/stzh-pagination.stories.js +44 -0
  119. package/dist/collection/components/stzh-richtext/stzh-richtext.css +4 -2
  120. package/dist/collection/components/stzh-richtext/stzh-richtext.js +38 -0
  121. package/dist/collection/components/stzh-richtext/stzh-richtext.js.map +1 -1
  122. package/dist/collection/components/stzh-richtext/stzh-richtext.stories.js +2 -2
  123. package/dist/collection/components/stzh-row/stzh-row.css +0 -5
  124. package/dist/collection/components/stzh-section/stzh-section.css +0 -6
  125. package/dist/collection/components/stzh-share/stzh-share.js +6 -20
  126. package/dist/collection/components/stzh-share/stzh-share.js.map +1 -1
  127. package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.css +53 -0
  128. package/dist/collection/components/stzh-sortable/stzh-sortable.js +1 -1
  129. package/dist/collection/components/stzh-sortable/stzh-sortable.js.map +1 -1
  130. package/dist/collection/components/stzh-space/stzh-space.css +0 -6
  131. package/dist/collection/components/stzh-table/stzh-table.css +21 -0
  132. package/dist/collection/components/stzh-table/stzh-table.js +7 -3
  133. package/dist/collection/components/stzh-table/stzh-table.js.map +1 -1
  134. package/dist/collection/components/stzh-table/stzh-table.stories.js +259 -4
  135. package/dist/collection/components/stzh-textandimage/stzh-textandimage.stories.js +1 -1
  136. package/dist/collection/components/stzh-vspace/stzh-vspace.css +0 -6
  137. package/dist/collection/index.js.map +1 -1
  138. package/dist/collection/utils/string-utils.js +12 -0
  139. package/dist/collection/utils/string-utils.js.map +1 -1
  140. package/dist/collection/utils/utils.js +5 -0
  141. package/dist/collection/utils/utils.js.map +1 -1
  142. package/dist/components/index.js +1 -1
  143. package/dist/components/index2.js.map +1 -1
  144. package/dist/components/string-utils.js +13 -1
  145. package/dist/components/string-utils.js.map +1 -1
  146. package/dist/components/stzh-amount.js +5 -3
  147. package/dist/components/stzh-amount.js.map +1 -1
  148. package/dist/components/stzh-buttongroup2.js +1 -1
  149. package/dist/components/stzh-buttongroup2.js.map +1 -1
  150. package/dist/components/stzh-card2.js +31 -8
  151. package/dist/components/stzh-card2.js.map +1 -1
  152. package/dist/components/stzh-cell.js +1 -1
  153. package/dist/components/stzh-cell.js.map +1 -1
  154. package/dist/components/stzh-contact.js +18 -12
  155. package/dist/components/stzh-contact.js.map +1 -1
  156. package/dist/components/stzh-container.js +1 -1
  157. package/dist/components/stzh-container.js.map +1 -1
  158. package/dist/components/stzh-cspace.js +8 -2
  159. package/dist/components/stzh-cspace.js.map +1 -1
  160. package/dist/components/stzh-datalist-item2.js +23 -14
  161. package/dist/components/stzh-datalist-item2.js.map +1 -1
  162. package/dist/components/stzh-datalist2.js +14 -8
  163. package/dist/components/stzh-datalist2.js.map +1 -1
  164. package/dist/components/stzh-datatable.js +129 -18
  165. package/dist/components/stzh-datatable.js.map +1 -1
  166. package/dist/components/stzh-datepicker2.js +5 -3
  167. package/dist/components/stzh-datepicker2.js.map +1 -1
  168. package/dist/components/stzh-dropdown2.js +4 -1
  169. package/dist/components/stzh-dropdown2.js.map +1 -1
  170. package/dist/components/stzh-hspace.js +1 -1
  171. package/dist/components/stzh-hspace.js.map +1 -1
  172. package/dist/components/stzh-input2.js +4 -1
  173. package/dist/components/stzh-input2.js.map +1 -1
  174. package/dist/components/stzh-pagination.d.ts +11 -0
  175. package/dist/components/stzh-pagination.js +8 -0
  176. package/dist/components/stzh-pagination.js.map +1 -0
  177. package/dist/components/stzh-pagination2.js +151 -0
  178. package/dist/components/stzh-pagination2.js.map +1 -0
  179. package/dist/components/stzh-richtext2.js +5 -1
  180. package/dist/components/stzh-richtext2.js.map +1 -1
  181. package/dist/components/stzh-row.js +1 -1
  182. package/dist/components/stzh-row.js.map +1 -1
  183. package/dist/components/stzh-section.js +1 -1
  184. package/dist/components/stzh-section.js.map +1 -1
  185. package/dist/components/stzh-share2.js +6 -20
  186. package/dist/components/stzh-share2.js.map +1 -1
  187. package/dist/components/stzh-sitemap.js +16 -10
  188. package/dist/components/stzh-sitemap.js.map +1 -1
  189. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  190. package/dist/components/stzh-skin-portal-mitwirken.js.map +1 -1
  191. package/dist/components/stzh-sortable2.js +1 -1
  192. package/dist/components/stzh-sortable2.js.map +1 -1
  193. package/dist/components/stzh-space.js +1 -1
  194. package/dist/components/stzh-space.js.map +1 -1
  195. package/dist/components/stzh-table.js +6 -4
  196. package/dist/components/stzh-table.js.map +1 -1
  197. package/dist/components/stzh-vbz-majorticker.js +1 -1
  198. package/dist/components/stzh-vspace.js +1 -1
  199. package/dist/components/stzh-vspace.js.map +1 -1
  200. package/dist/components/utils.js +6 -1
  201. package/dist/components/utils.js.map +1 -1
  202. package/dist/esm/{app-globals-5ab947af.js → app-globals-4f0f7957.js} +2 -2
  203. package/dist/esm/{app-globals-5ab947af.js.map → app-globals-4f0f7957.js.map} +1 -1
  204. package/dist/esm/index.js.map +1 -1
  205. package/dist/esm/loader.js +2 -2
  206. package/dist/esm/string-utils-3ffa8d6b.js +29 -0
  207. package/dist/esm/string-utils-3ffa8d6b.js.map +1 -0
  208. package/dist/esm/stzh-actions.entry.js +1 -1
  209. package/dist/esm/{stzh-sortable.entry.js → stzh-actionset_4.entry.js} +566 -5
  210. package/dist/esm/stzh-actionset_4.entry.js.map +1 -0
  211. package/dist/esm/stzh-amount.entry.js +4 -3
  212. package/dist/esm/stzh-amount.entry.js.map +1 -1
  213. package/dist/esm/stzh-appnav.entry.js +1 -1
  214. package/dist/esm/stzh-audio.entry.js +1 -1
  215. package/dist/esm/stzh-badge_3.entry.js +1 -1
  216. package/dist/esm/stzh-buttongroup.entry.js +1 -1
  217. package/dist/esm/stzh-buttongroup.entry.js.map +1 -1
  218. package/dist/esm/stzh-carousel.entry.js +1 -1
  219. package/dist/esm/stzh-cell.entry.js +1 -1
  220. package/dist/esm/stzh-cell.entry.js.map +1 -1
  221. package/dist/esm/stzh-checkbox.entry.js +1 -1
  222. package/dist/esm/stzh-checkboxgroup.entry.js +2 -2
  223. package/dist/esm/stzh-chip-select.entry.js +145 -0
  224. package/dist/esm/stzh-chip-select.entry.js.map +1 -0
  225. package/dist/esm/stzh-components.js +2 -2
  226. package/dist/esm/stzh-contact.entry.js +1 -1
  227. package/dist/esm/stzh-container.entry.js +1 -1
  228. package/dist/esm/stzh-container.entry.js.map +1 -1
  229. package/dist/esm/stzh-cspace.entry.js +3 -1
  230. package/dist/esm/stzh-cspace.entry.js.map +1 -1
  231. package/dist/esm/stzh-datalist_2.entry.js +11 -8
  232. package/dist/esm/stzh-datalist_2.entry.js.map +1 -1
  233. package/dist/esm/stzh-datatable.entry.js +32 -8
  234. package/dist/esm/stzh-datatable.entry.js.map +1 -1
  235. package/dist/esm/stzh-datepicker_3.entry.js +6 -5
  236. package/dist/esm/stzh-datepicker_3.entry.js.map +1 -1
  237. package/dist/esm/stzh-details.entry.js +1 -1
  238. package/dist/esm/stzh-dialog.entry.js +1 -1
  239. package/dist/esm/stzh-dropdown.entry.js +4 -2
  240. package/dist/esm/stzh-dropdown.entry.js.map +1 -1
  241. package/dist/esm/stzh-figure.entry.js +1 -1
  242. package/dist/esm/stzh-footer.entry.js +1 -1
  243. package/dist/esm/stzh-ghettobox.entry.js +104 -0
  244. package/dist/esm/stzh-ghettobox.entry.js.map +1 -0
  245. package/dist/esm/stzh-header.entry.js +1 -1
  246. package/dist/esm/stzh-hspace.entry.js +1 -1
  247. package/dist/esm/stzh-hspace.entry.js.map +1 -1
  248. package/dist/esm/stzh-input.entry.js +4 -2
  249. package/dist/esm/stzh-input.entry.js.map +1 -1
  250. package/dist/esm/stzh-link.entry.js +1 -1
  251. package/dist/esm/stzh-menu_2.entry.js +1 -1
  252. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  253. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  254. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  255. package/dist/esm/stzh-pagination.entry.js +82 -0
  256. package/dist/esm/stzh-pagination.entry.js.map +1 -0
  257. package/dist/esm/stzh-popover.entry.js +1 -1
  258. package/dist/esm/stzh-readspeaker.entry.js +1 -1
  259. package/dist/esm/stzh-richtext_2.entry.js +81 -0
  260. package/dist/esm/stzh-richtext_2.entry.js.map +1 -0
  261. package/dist/esm/stzh-row.entry.js +1 -1
  262. package/dist/esm/stzh-row.entry.js.map +1 -1
  263. package/dist/esm/stzh-section.entry.js +1 -1
  264. package/dist/esm/stzh-section.entry.js.map +1 -1
  265. package/dist/esm/stzh-share.entry.js +6 -20
  266. package/dist/esm/stzh-share.entry.js.map +1 -1
  267. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  268. package/dist/esm/stzh-skin-portal-mitwirken.entry.js.map +1 -1
  269. package/dist/esm/stzh-space.entry.js +1 -1
  270. package/dist/esm/stzh-space.entry.js.map +1 -1
  271. package/dist/esm/stzh-table.entry.js +6 -4
  272. package/dist/esm/stzh-table.entry.js.map +1 -1
  273. package/dist/esm/stzh-textandimage.entry.js +1 -1
  274. package/dist/esm/stzh-toggle.entry.js +1 -1
  275. package/dist/esm/stzh-tooltip.entry.js +1 -1
  276. package/dist/esm/stzh-upload.entry.js +1 -1
  277. package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
  278. package/dist/esm/stzh-vspace.entry.js +1 -1
  279. package/dist/esm/stzh-vspace.entry.js.map +1 -1
  280. package/dist/esm/{utils-51148d9a.js → utils-8f264f12.js} +7 -2
  281. package/dist/esm/utils-8f264f12.js.map +1 -0
  282. package/dist/esm-es5/{app-globals-5ab947af.js → app-globals-4f0f7957.js} +2 -2
  283. package/dist/esm-es5/{app-globals-5ab947af.js.map → app-globals-4f0f7957.js.map} +1 -1
  284. package/dist/esm-es5/index.js.map +1 -1
  285. package/dist/esm-es5/loader.js +1 -1
  286. package/dist/esm-es5/loader.js.map +1 -1
  287. package/dist/esm-es5/string-utils-3ffa8d6b.js +2 -0
  288. package/dist/esm-es5/string-utils-3ffa8d6b.js.map +1 -0
  289. package/dist/esm-es5/stzh-actions.entry.js +1 -1
  290. package/dist/esm-es5/stzh-actionset_4.entry.js +8 -0
  291. package/dist/esm-es5/stzh-actionset_4.entry.js.map +1 -0
  292. package/dist/esm-es5/stzh-amount.entry.js +1 -1
  293. package/dist/esm-es5/stzh-amount.entry.js.map +1 -1
  294. package/dist/esm-es5/stzh-appnav.entry.js +1 -1
  295. package/dist/esm-es5/stzh-audio.entry.js +1 -1
  296. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  297. package/dist/esm-es5/stzh-buttongroup.entry.js +1 -1
  298. package/dist/esm-es5/stzh-buttongroup.entry.js.map +1 -1
  299. package/dist/esm-es5/stzh-carousel.entry.js +1 -1
  300. package/dist/esm-es5/stzh-cell.entry.js +1 -1
  301. package/dist/esm-es5/stzh-cell.entry.js.map +1 -1
  302. package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
  303. package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
  304. package/dist/esm-es5/stzh-chip-select.entry.js +2 -0
  305. package/dist/esm-es5/stzh-chip-select.entry.js.map +1 -0
  306. package/dist/esm-es5/stzh-components.js +1 -1
  307. package/dist/esm-es5/stzh-components.js.map +1 -1
  308. package/dist/esm-es5/stzh-contact.entry.js +1 -1
  309. package/dist/esm-es5/stzh-container.entry.js +1 -1
  310. package/dist/esm-es5/stzh-container.entry.js.map +1 -1
  311. package/dist/esm-es5/stzh-cspace.entry.js +1 -1
  312. package/dist/esm-es5/stzh-cspace.entry.js.map +1 -1
  313. package/dist/esm-es5/stzh-datalist_2.entry.js +1 -1
  314. package/dist/esm-es5/stzh-datalist_2.entry.js.map +1 -1
  315. package/dist/esm-es5/stzh-datatable.entry.js +1 -1
  316. package/dist/esm-es5/stzh-datatable.entry.js.map +1 -1
  317. package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
  318. package/dist/esm-es5/stzh-datepicker_3.entry.js.map +1 -1
  319. package/dist/esm-es5/stzh-details.entry.js +1 -1
  320. package/dist/esm-es5/stzh-dialog.entry.js +1 -1
  321. package/dist/esm-es5/stzh-dropdown.entry.js +2 -2
  322. package/dist/esm-es5/stzh-dropdown.entry.js.map +1 -1
  323. package/dist/esm-es5/stzh-figure.entry.js +1 -1
  324. package/dist/esm-es5/stzh-footer.entry.js +1 -1
  325. package/dist/esm-es5/stzh-ghettobox.entry.js +2 -0
  326. package/dist/esm-es5/stzh-ghettobox.entry.js.map +1 -0
  327. package/dist/esm-es5/stzh-header.entry.js +1 -1
  328. package/dist/esm-es5/stzh-hspace.entry.js +1 -1
  329. package/dist/esm-es5/stzh-hspace.entry.js.map +1 -1
  330. package/dist/esm-es5/stzh-input.entry.js +1 -1
  331. package/dist/esm-es5/stzh-input.entry.js.map +1 -1
  332. package/dist/esm-es5/stzh-link.entry.js +1 -1
  333. package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
  334. package/dist/esm-es5/stzh-pagebottom.entry.js +1 -1
  335. package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -1
  336. package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
  337. package/dist/esm-es5/stzh-pagination.entry.js +2 -0
  338. package/dist/esm-es5/stzh-pagination.entry.js.map +1 -0
  339. package/dist/esm-es5/stzh-popover.entry.js +1 -1
  340. package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
  341. package/dist/esm-es5/stzh-richtext_2.entry.js +2 -0
  342. package/dist/esm-es5/stzh-richtext_2.entry.js.map +1 -0
  343. package/dist/esm-es5/stzh-row.entry.js +1 -1
  344. package/dist/esm-es5/stzh-row.entry.js.map +1 -1
  345. package/dist/esm-es5/stzh-section.entry.js +1 -1
  346. package/dist/esm-es5/stzh-section.entry.js.map +1 -1
  347. package/dist/esm-es5/stzh-share.entry.js +1 -1
  348. package/dist/esm-es5/stzh-share.entry.js.map +1 -1
  349. package/dist/esm-es5/stzh-skin-portal-mitwirken.entry.js +1 -1
  350. package/dist/esm-es5/stzh-skin-portal-mitwirken.entry.js.map +1 -1
  351. package/dist/esm-es5/stzh-space.entry.js +1 -1
  352. package/dist/esm-es5/stzh-space.entry.js.map +1 -1
  353. package/dist/esm-es5/stzh-table.entry.js +1 -1
  354. package/dist/esm-es5/stzh-table.entry.js.map +1 -1
  355. package/dist/esm-es5/stzh-textandimage.entry.js +1 -1
  356. package/dist/esm-es5/stzh-toggle.entry.js +1 -1
  357. package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
  358. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  359. package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
  360. package/dist/esm-es5/stzh-vspace.entry.js +1 -1
  361. package/dist/esm-es5/stzh-vspace.entry.js.map +1 -1
  362. package/dist/esm-es5/utils-8f264f12.js +2 -0
  363. package/dist/esm-es5/utils-8f264f12.js.map +1 -0
  364. package/dist/stzh-components/assets/i18n/de.json +7 -0
  365. package/dist/stzh-components/assets/i18n/en.json +7 -0
  366. package/dist/stzh-components/index.esm.js.map +1 -1
  367. package/dist/stzh-components/{p-edef74c8.system.entry.js → p-08050ce2.system.entry.js} +2 -2
  368. package/dist/stzh-components/{p-f23f2408.system.entry.js → p-09445156.system.entry.js} +2 -2
  369. package/dist/stzh-components/{p-94a5e295.system.entry.js → p-0d302a14.system.entry.js} +2 -2
  370. package/dist/stzh-components/p-1016d03d.system.entry.js +2 -0
  371. package/dist/stzh-components/p-1016d03d.system.entry.js.map +1 -0
  372. package/dist/stzh-components/p-1760118e.entry.js +2 -0
  373. package/dist/stzh-components/{p-a1c02179.entry.js.map → p-1760118e.entry.js.map} +1 -1
  374. package/dist/stzh-components/p-1ad68cac.system.entry.js +2 -0
  375. package/dist/stzh-components/p-1ad68cac.system.entry.js.map +1 -0
  376. package/dist/stzh-components/{p-c901fe72.system.entry.js → p-1d683f3a.system.entry.js} +3 -3
  377. package/dist/stzh-components/p-1d683f3a.system.entry.js.map +1 -0
  378. package/dist/stzh-components/p-1e5f556b.system.entry.js +2 -0
  379. package/dist/stzh-components/p-1e5f556b.system.entry.js.map +1 -0
  380. package/dist/stzh-components/{p-2615433f.system.entry.js → p-2009a8df.system.entry.js} +2 -2
  381. package/dist/stzh-components/p-22a2f4c1.system.js +2 -0
  382. package/dist/stzh-components/p-22a2f4c1.system.js.map +1 -0
  383. package/dist/stzh-components/{p-39a4904e.system.entry.js → p-2614251e.system.entry.js} +2 -2
  384. package/dist/stzh-components/{p-8b62ec27.js → p-26680e97.js} +2 -2
  385. package/dist/stzh-components/{p-8b62ec27.js.map → p-26680e97.js.map} +1 -1
  386. package/dist/stzh-components/p-2705720b.entry.js +2 -0
  387. package/dist/stzh-components/p-2705720b.entry.js.map +1 -0
  388. package/dist/stzh-components/{p-799548c4.system.entry.js → p-27489e46.system.entry.js} +2 -2
  389. package/dist/stzh-components/{p-29ed53a9.system.entry.js → p-2dd983a9.system.entry.js} +2 -2
  390. package/dist/stzh-components/{p-cc1a6af1.system.entry.js → p-2ec243e8.system.entry.js} +2 -2
  391. package/dist/stzh-components/{p-cd0f7b10.entry.js → p-33da1a1c.entry.js} +2 -2
  392. package/dist/stzh-components/p-35a328cc.system.entry.js +2 -0
  393. package/dist/stzh-components/p-35a328cc.system.entry.js.map +1 -0
  394. package/dist/stzh-components/p-3f72c05a.system.js +2 -0
  395. package/dist/stzh-components/p-3f72c05a.system.js.map +1 -0
  396. package/dist/stzh-components/p-40694e20.system.entry.js +2 -0
  397. package/dist/stzh-components/p-40694e20.system.entry.js.map +1 -0
  398. package/dist/stzh-components/{p-6608126b.entry.js → p-4325de93.entry.js} +2 -2
  399. package/dist/stzh-components/{p-517af258.system.entry.js → p-444f765a.system.entry.js} +2 -2
  400. package/dist/stzh-components/p-4bcc414d.system.entry.js +2 -0
  401. package/dist/stzh-components/p-4bcc414d.system.entry.js.map +1 -0
  402. package/dist/stzh-components/{p-7b297848.system.entry.js → p-50652c05.system.entry.js} +2 -2
  403. package/dist/stzh-components/{p-a8c92707.system.entry.js → p-509b0e4c.system.entry.js} +2 -2
  404. package/dist/stzh-components/p-51ccda11.system.entry.js +2 -0
  405. package/dist/stzh-components/p-51ccda11.system.entry.js.map +1 -0
  406. package/dist/stzh-components/{p-a2b49ad8.entry.js → p-52bcb3ab.entry.js} +2 -2
  407. package/dist/stzh-components/{p-4cd7c872.system.entry.js → p-5af33d37.system.entry.js} +2 -2
  408. package/dist/stzh-components/{p-8cb7e2da.system.entry.js → p-5bceda21.system.entry.js} +2 -2
  409. package/dist/stzh-components/{p-5ee43b56.entry.js → p-5c3d0895.entry.js} +2 -2
  410. package/dist/stzh-components/{p-c0f971f2.entry.js → p-5df47c3a.entry.js} +8 -8
  411. package/dist/stzh-components/p-5df47c3a.entry.js.map +1 -0
  412. package/dist/stzh-components/p-67f50e81.system.entry.js +2 -0
  413. package/dist/stzh-components/p-67f50e81.system.entry.js.map +1 -0
  414. package/dist/stzh-components/p-68b00da7.system.entry.js +2 -0
  415. package/dist/stzh-components/p-68b00da7.system.entry.js.map +1 -0
  416. package/dist/stzh-components/{p-eca073df.system.entry.js → p-6ac4713f.system.entry.js} +2 -2
  417. package/dist/stzh-components/{p-9d46101e.entry.js → p-6c0f3c5e.entry.js} +2 -2
  418. package/dist/stzh-components/{p-c2a06b4d.system.entry.js → p-6cb99167.system.entry.js} +2 -2
  419. package/dist/stzh-components/{p-b8ad5f47.system.entry.js → p-709bb264.system.entry.js} +2 -2
  420. package/dist/stzh-components/{p-3e5da137.entry.js → p-7463c7b5.entry.js} +2 -2
  421. package/dist/stzh-components/p-75fa2483.entry.js +2 -0
  422. package/dist/stzh-components/p-75fa2483.entry.js.map +1 -0
  423. package/dist/stzh-components/{p-bc997ce2.entry.js → p-76c2f21a.entry.js} +2 -2
  424. package/dist/stzh-components/{p-562f4dfa.entry.js → p-78f78684.entry.js} +2 -2
  425. package/dist/stzh-components/p-78f89f65.entry.js +2 -0
  426. package/dist/stzh-components/p-78f89f65.entry.js.map +1 -0
  427. package/dist/stzh-components/p-7992047b.entry.js +2 -0
  428. package/dist/stzh-components/p-7992047b.entry.js.map +1 -0
  429. package/dist/stzh-components/p-7ac51980.system.entry.js +2 -0
  430. package/dist/stzh-components/p-7ac51980.system.entry.js.map +1 -0
  431. package/dist/stzh-components/p-7e5587ee.entry.js +2 -0
  432. package/dist/stzh-components/p-7e5587ee.entry.js.map +1 -0
  433. package/dist/stzh-components/p-8225341e.entry.js +2 -0
  434. package/dist/stzh-components/p-8225341e.entry.js.map +1 -0
  435. package/dist/stzh-components/{p-3dea2f45.entry.js → p-849ec693.entry.js} +2 -2
  436. package/dist/stzh-components/{p-3aa5623c.entry.js → p-89562c7e.entry.js} +2 -2
  437. package/dist/stzh-components/p-8a58fa64.entry.js +2 -0
  438. package/dist/stzh-components/p-8a58fa64.entry.js.map +1 -0
  439. package/dist/stzh-components/{p-45572515.entry.js → p-916f8386.entry.js} +2 -2
  440. package/dist/stzh-components/p-9705d27e.system.entry.js +2 -0
  441. package/dist/stzh-components/{p-9fe69be8.system.entry.js.map → p-9705d27e.system.entry.js.map} +1 -1
  442. package/dist/stzh-components/{p-2d25bcc8.entry.js → p-979390db.entry.js} +2 -2
  443. package/dist/stzh-components/p-9c428351.entry.js +2 -0
  444. package/dist/stzh-components/p-9c428351.entry.js.map +1 -0
  445. package/dist/stzh-components/p-9faae333.entry.js +2 -0
  446. package/dist/stzh-components/p-9faae333.entry.js.map +1 -0
  447. package/dist/stzh-components/{p-e2ff2ef4.entry.js → p-a0008fa2.entry.js} +2 -2
  448. package/dist/stzh-components/p-a16ce152.system.entry.js +2 -0
  449. package/dist/stzh-components/p-a16ce152.system.entry.js.map +1 -0
  450. package/dist/stzh-components/{p-05b9e4c2.system.entry.js → p-a26cd855.system.entry.js} +2 -2
  451. package/dist/stzh-components/{p-b792ea2e.system.entry.js → p-a2d5846c.system.entry.js} +2 -2
  452. package/dist/stzh-components/{p-ffdd9cab.system.js → p-a8c1b679.system.js} +2 -2
  453. package/dist/stzh-components/{p-ffdd9cab.system.js.map → p-a8c1b679.system.js.map} +1 -1
  454. package/dist/stzh-components/{p-6c219530.entry.js → p-a8e1b13c.entry.js} +2 -2
  455. package/dist/stzh-components/{p-4a299f84.entry.js → p-acbe3680.entry.js} +2 -2
  456. package/dist/stzh-components/p-afdf3a08.system.entry.js +2 -0
  457. package/dist/stzh-components/p-afdf3a08.system.entry.js.map +1 -0
  458. package/dist/stzh-components/{p-35cbff3f.entry.js → p-affbfe00.entry.js} +2 -2
  459. package/dist/stzh-components/p-b33a79ba.system.entry.js +2 -0
  460. package/dist/stzh-components/p-b33a79ba.system.entry.js.map +1 -0
  461. package/dist/stzh-components/{p-7772c262.entry.js → p-b5531053.entry.js} +2 -2
  462. package/dist/stzh-components/p-b989646a.entry.js +2 -0
  463. package/dist/stzh-components/p-b989646a.entry.js.map +1 -0
  464. package/dist/stzh-components/{p-bf069354.entry.js → p-bac7cf37.entry.js} +2 -2
  465. package/dist/stzh-components/p-bd7f6761.entry.js +2 -0
  466. package/dist/stzh-components/p-bd7f6761.entry.js.map +1 -0
  467. package/dist/stzh-components/p-bda21265.system.entry.js +8 -0
  468. package/dist/stzh-components/p-bda21265.system.entry.js.map +1 -0
  469. package/dist/stzh-components/{p-f599025e.system.entry.js → p-c0aa52aa.system.entry.js} +2 -2
  470. package/dist/stzh-components/p-c1814eec.system.js +2 -0
  471. package/dist/stzh-components/{p-b7d68fca.system.js.map → p-c1814eec.system.js.map} +1 -1
  472. package/dist/stzh-components/p-c2615e7c.system.entry.js +2 -0
  473. package/dist/{esm-es5/stzh-ghettobox_2.entry.js.map → stzh-components/p-c2615e7c.system.entry.js.map} +1 -1
  474. package/dist/stzh-components/{p-d5b4d345.entry.js → p-c323f19e.entry.js} +2 -2
  475. package/dist/stzh-components/p-c323f19e.entry.js.map +1 -0
  476. package/dist/stzh-components/p-c64a7018.system.entry.js +2 -0
  477. package/dist/stzh-components/p-c64a7018.system.entry.js.map +1 -0
  478. package/dist/stzh-components/p-ca6d7215.entry.js +2 -0
  479. package/dist/stzh-components/p-ca6d7215.entry.js.map +1 -0
  480. package/dist/stzh-components/{p-9f4f3882.system.entry.js → p-d531fbaf.system.entry.js} +2 -2
  481. package/dist/stzh-components/p-d6ffd97e.entry.js +2 -0
  482. package/dist/stzh-components/p-d6ffd97e.entry.js.map +1 -0
  483. package/dist/stzh-components/{p-fefcd0e6.entry.js → p-d7a7560a.entry.js} +2 -2
  484. package/dist/stzh-components/{p-87b4549c.system.entry.js → p-dad99bd2.system.entry.js} +2 -2
  485. package/dist/stzh-components/p-daf17eae.entry.js +2 -0
  486. package/dist/stzh-components/p-daf17eae.entry.js.map +1 -0
  487. package/dist/stzh-components/p-dd137812.entry.js +8 -0
  488. package/dist/stzh-components/p-dd137812.entry.js.map +1 -0
  489. package/dist/stzh-components/{p-b05c240b.system.entry.js → p-e16ee236.system.entry.js} +2 -2
  490. package/dist/stzh-components/p-e5781c90.system.entry.js +2 -0
  491. package/dist/stzh-components/p-e5781c90.system.entry.js.map +1 -0
  492. package/dist/stzh-components/p-e606314e.system.entry.js +2 -0
  493. package/dist/stzh-components/p-e606314e.system.entry.js.map +1 -0
  494. package/dist/stzh-components/{p-bcd5b20e.entry.js → p-e7454abb.entry.js} +2 -2
  495. package/dist/stzh-components/p-e787179c.js +2 -0
  496. package/dist/stzh-components/p-e787179c.js.map +1 -0
  497. package/dist/stzh-components/p-e7d4542e.entry.js +2 -0
  498. package/dist/stzh-components/p-e7d4542e.entry.js.map +1 -0
  499. package/dist/stzh-components/p-eaa65f52.system.js.map +1 -1
  500. package/dist/stzh-components/p-eab77a09.system.entry.js +2 -0
  501. package/dist/stzh-components/p-eab77a09.system.entry.js.map +1 -0
  502. package/dist/stzh-components/{p-6d097e82.system.entry.js → p-ebe979a3.system.entry.js} +2 -2
  503. package/dist/stzh-components/{p-9b7d4e8d.entry.js → p-ef4c12ac.entry.js} +2 -2
  504. package/dist/stzh-components/{p-3cb43903.entry.js → p-f0ac9730.entry.js} +2 -2
  505. package/dist/stzh-components/p-f43f7434.entry.js +2 -0
  506. package/dist/stzh-components/p-f43f7434.entry.js.map +1 -0
  507. package/dist/stzh-components/p-f4ec861e.entry.js +2 -0
  508. package/dist/stzh-components/{p-14e782cb.entry.js.map → p-f4ec861e.entry.js.map} +1 -1
  509. package/dist/stzh-components/{p-8d695d3e.system.entry.js → p-f65b5145.system.entry.js} +2 -2
  510. package/dist/stzh-components/{p-b82351f0.system.entry.js → p-f665752d.system.entry.js} +2 -2
  511. package/dist/stzh-components/p-f879bc5a.system.entry.js +2 -0
  512. package/dist/stzh-components/p-f879bc5a.system.entry.js.map +1 -0
  513. package/dist/stzh-components/{p-c3b260a1.entry.js → p-fb12ec57.entry.js} +2 -2
  514. package/dist/stzh-components/p-fb36e3be.entry.js +2 -0
  515. package/dist/stzh-components/{p-df9460ae.system.entry.js.map → p-fb36e3be.entry.js.map} +1 -1
  516. package/dist/stzh-components/p-fc339100.js +2 -0
  517. package/dist/stzh-components/p-fc339100.js.map +1 -0
  518. package/dist/stzh-components/{p-52e52b49.entry.js → p-fd97e87d.entry.js} +2 -2
  519. package/dist/stzh-components/p-fdabe05c.entry.js +2 -0
  520. package/dist/stzh-components/p-fdabe05c.entry.js.map +1 -0
  521. package/dist/stzh-components/p-fdb1fd0a.entry.js +2 -0
  522. package/dist/stzh-components/p-fdb1fd0a.entry.js.map +1 -0
  523. package/dist/stzh-components/{p-80d581ac.system.entry.js → p-fece12c0.system.entry.js} +2 -2
  524. package/dist/stzh-components/p-fece12c0.system.entry.js.map +1 -0
  525. package/dist/stzh-components/stzh-components.css +740 -1
  526. package/dist/stzh-components/stzh-components.esm.js +1 -1
  527. package/dist/stzh-components/stzh-components.esm.js.map +1 -1
  528. package/dist/stzh-components/stzh-components.js +1 -1
  529. package/dist/types/components/stzh-cspace/stzh-cspace.d.ts +4 -0
  530. package/dist/types/components/stzh-pagination/stzh-pagination.localization.d.ts +8 -0
  531. package/dist/types/components.d.ts +251 -4
  532. package/dist/types/index.d.ts +6 -0
  533. package/dist/types/utils/string-utils.d.ts +1 -0
  534. package/dist/types/utils/utils.d.ts +1 -0
  535. package/dist/vscode-data.json +125 -3
  536. package/package.json +1 -1
  537. package/dist/cjs/string-utils-a867b99d.js.map +0 -1
  538. package/dist/cjs/stzh-actionset.cjs.entry.js +0 -173
  539. package/dist/cjs/stzh-actionset.cjs.entry.js.map +0 -1
  540. package/dist/cjs/stzh-card_3.cjs.entry.js +0 -528
  541. package/dist/cjs/stzh-card_3.cjs.entry.js.map +0 -1
  542. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +0 -157
  543. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js.map +0 -1
  544. package/dist/cjs/stzh-sortable.cjs.entry.js.map +0 -1
  545. package/dist/cjs/stzh-status.cjs.entry.js +0 -34
  546. package/dist/cjs/stzh-status.cjs.entry.js.map +0 -1
  547. package/dist/cjs/utils-a2ff9f84.js.map +0 -1
  548. package/dist/esm/string-utils-f98ee4e8.js +0 -17
  549. package/dist/esm/string-utils-f98ee4e8.js.map +0 -1
  550. package/dist/esm/stzh-actionset.entry.js +0 -169
  551. package/dist/esm/stzh-actionset.entry.js.map +0 -1
  552. package/dist/esm/stzh-card_3.entry.js +0 -522
  553. package/dist/esm/stzh-card_3.entry.js.map +0 -1
  554. package/dist/esm/stzh-ghettobox_2.entry.js +0 -152
  555. package/dist/esm/stzh-ghettobox_2.entry.js.map +0 -1
  556. package/dist/esm/stzh-sortable.entry.js.map +0 -1
  557. package/dist/esm/stzh-status.entry.js +0 -30
  558. package/dist/esm/stzh-status.entry.js.map +0 -1
  559. package/dist/esm/utils-51148d9a.js.map +0 -1
  560. package/dist/esm-es5/string-utils-f98ee4e8.js +0 -2
  561. package/dist/esm-es5/string-utils-f98ee4e8.js.map +0 -1
  562. package/dist/esm-es5/stzh-actionset.entry.js +0 -2
  563. package/dist/esm-es5/stzh-actionset.entry.js.map +0 -1
  564. package/dist/esm-es5/stzh-card_3.entry.js +0 -2
  565. package/dist/esm-es5/stzh-card_3.entry.js.map +0 -1
  566. package/dist/esm-es5/stzh-ghettobox_2.entry.js +0 -2
  567. package/dist/esm-es5/stzh-sortable.entry.js +0 -8
  568. package/dist/esm-es5/stzh-sortable.entry.js.map +0 -1
  569. package/dist/esm-es5/stzh-status.entry.js +0 -2
  570. package/dist/esm-es5/stzh-status.entry.js.map +0 -1
  571. package/dist/esm-es5/utils-51148d9a.js +0 -2
  572. package/dist/esm-es5/utils-51148d9a.js.map +0 -1
  573. package/dist/stzh-components/p-0515de95.system.entry.js +0 -2
  574. package/dist/stzh-components/p-0515de95.system.entry.js.map +0 -1
  575. package/dist/stzh-components/p-07c0f4ce.entry.js +0 -2
  576. package/dist/stzh-components/p-07c0f4ce.entry.js.map +0 -1
  577. package/dist/stzh-components/p-09191103.system.entry.js +0 -2
  578. package/dist/stzh-components/p-09191103.system.entry.js.map +0 -1
  579. package/dist/stzh-components/p-0e6889d6.system.entry.js +0 -8
  580. package/dist/stzh-components/p-0e6889d6.system.entry.js.map +0 -1
  581. package/dist/stzh-components/p-14e782cb.entry.js +0 -2
  582. package/dist/stzh-components/p-172ba9ba.entry.js +0 -8
  583. package/dist/stzh-components/p-172ba9ba.entry.js.map +0 -1
  584. package/dist/stzh-components/p-2907f1b5.entry.js +0 -2
  585. package/dist/stzh-components/p-2907f1b5.entry.js.map +0 -1
  586. package/dist/stzh-components/p-2f3add2f.system.entry.js +0 -2
  587. package/dist/stzh-components/p-2f3add2f.system.entry.js.map +0 -1
  588. package/dist/stzh-components/p-3290296f.entry.js +0 -2
  589. package/dist/stzh-components/p-3290296f.entry.js.map +0 -1
  590. package/dist/stzh-components/p-343694cb.system.entry.js +0 -2
  591. package/dist/stzh-components/p-343694cb.system.entry.js.map +0 -1
  592. package/dist/stzh-components/p-36b1004d.entry.js +0 -2
  593. package/dist/stzh-components/p-36b1004d.entry.js.map +0 -1
  594. package/dist/stzh-components/p-3d056a49.entry.js +0 -2
  595. package/dist/stzh-components/p-3d056a49.entry.js.map +0 -1
  596. package/dist/stzh-components/p-402ea6f4.entry.js +0 -2
  597. package/dist/stzh-components/p-402ea6f4.entry.js.map +0 -1
  598. package/dist/stzh-components/p-4468e033.system.entry.js +0 -2
  599. package/dist/stzh-components/p-4468e033.system.entry.js.map +0 -1
  600. package/dist/stzh-components/p-53b84310.system.entry.js +0 -2
  601. package/dist/stzh-components/p-53b84310.system.entry.js.map +0 -1
  602. package/dist/stzh-components/p-55061908.entry.js +0 -2
  603. package/dist/stzh-components/p-55061908.entry.js.map +0 -1
  604. package/dist/stzh-components/p-57ba4050.system.entry.js +0 -2
  605. package/dist/stzh-components/p-57ba4050.system.entry.js.map +0 -1
  606. package/dist/stzh-components/p-5aa96b49.system.entry.js +0 -2
  607. package/dist/stzh-components/p-5aa96b49.system.entry.js.map +0 -1
  608. package/dist/stzh-components/p-5c697491.js +0 -2
  609. package/dist/stzh-components/p-5c697491.js.map +0 -1
  610. package/dist/stzh-components/p-5d8ad1f4.system.entry.js +0 -2
  611. package/dist/stzh-components/p-5d8ad1f4.system.entry.js.map +0 -1
  612. package/dist/stzh-components/p-62188444.entry.js +0 -2
  613. package/dist/stzh-components/p-62188444.entry.js.map +0 -1
  614. package/dist/stzh-components/p-693c611c.entry.js +0 -2
  615. package/dist/stzh-components/p-693c611c.entry.js.map +0 -1
  616. package/dist/stzh-components/p-72c69a2e.entry.js +0 -2
  617. package/dist/stzh-components/p-72c69a2e.entry.js.map +0 -1
  618. package/dist/stzh-components/p-78071d97.entry.js +0 -2
  619. package/dist/stzh-components/p-78071d97.entry.js.map +0 -1
  620. package/dist/stzh-components/p-7dc517db.entry.js +0 -2
  621. package/dist/stzh-components/p-7dc517db.entry.js.map +0 -1
  622. package/dist/stzh-components/p-80d581ac.system.entry.js.map +0 -1
  623. package/dist/stzh-components/p-82e886d4.entry.js +0 -2
  624. package/dist/stzh-components/p-82e886d4.entry.js.map +0 -1
  625. package/dist/stzh-components/p-9fe69be8.system.entry.js +0 -2
  626. package/dist/stzh-components/p-a003aa96.system.entry.js +0 -2
  627. package/dist/stzh-components/p-a003aa96.system.entry.js.map +0 -1
  628. package/dist/stzh-components/p-a1c02179.entry.js +0 -2
  629. package/dist/stzh-components/p-a2bdc528.system.entry.js +0 -2
  630. package/dist/stzh-components/p-a2bdc528.system.entry.js.map +0 -1
  631. package/dist/stzh-components/p-a2c076b8.system.entry.js +0 -2
  632. package/dist/stzh-components/p-a2c076b8.system.entry.js.map +0 -1
  633. package/dist/stzh-components/p-a8ccb843.entry.js +0 -2
  634. package/dist/stzh-components/p-a8ccb843.entry.js.map +0 -1
  635. package/dist/stzh-components/p-ab199fd7.system.entry.js +0 -2
  636. package/dist/stzh-components/p-ab199fd7.system.entry.js.map +0 -1
  637. package/dist/stzh-components/p-b295cbcc.system.entry.js +0 -2
  638. package/dist/stzh-components/p-b295cbcc.system.entry.js.map +0 -1
  639. package/dist/stzh-components/p-b5cda655.entry.js +0 -2
  640. package/dist/stzh-components/p-b5cda655.entry.js.map +0 -1
  641. package/dist/stzh-components/p-b7d68fca.system.js +0 -2
  642. package/dist/stzh-components/p-b910e1b7.entry.js +0 -2
  643. package/dist/stzh-components/p-b910e1b7.entry.js.map +0 -1
  644. package/dist/stzh-components/p-c0f971f2.entry.js.map +0 -1
  645. package/dist/stzh-components/p-c901fe72.system.entry.js.map +0 -1
  646. package/dist/stzh-components/p-cb04774b.entry.js +0 -2
  647. package/dist/stzh-components/p-cb04774b.entry.js.map +0 -1
  648. package/dist/stzh-components/p-cc35e963.entry.js +0 -2
  649. package/dist/stzh-components/p-cc35e963.entry.js.map +0 -1
  650. package/dist/stzh-components/p-d3f7e7e2.system.entry.js +0 -2
  651. package/dist/stzh-components/p-d3f7e7e2.system.entry.js.map +0 -1
  652. package/dist/stzh-components/p-d4b7a303.system.js +0 -2
  653. package/dist/stzh-components/p-d4b7a303.system.js.map +0 -1
  654. package/dist/stzh-components/p-d5b4d345.entry.js.map +0 -1
  655. package/dist/stzh-components/p-df9460ae.system.entry.js +0 -2
  656. package/dist/stzh-components/p-e40d6e96.entry.js +0 -2
  657. package/dist/stzh-components/p-e40d6e96.entry.js.map +0 -1
  658. package/dist/stzh-components/p-ebcc510d.system.entry.js +0 -2
  659. package/dist/stzh-components/p-ebcc510d.system.entry.js.map +0 -1
  660. package/dist/stzh-components/p-ee7a68db.js +0 -2
  661. package/dist/stzh-components/p-ee7a68db.js.map +0 -1
  662. package/dist/stzh-components/p-f2d74491.system.entry.js +0 -2
  663. package/dist/stzh-components/p-f2d74491.system.entry.js.map +0 -1
  664. package/dist/stzh-components/p-f58c28ad.system.js +0 -2
  665. package/dist/stzh-components/p-f58c28ad.system.js.map +0 -1
  666. package/dist/stzh-components/p-fda1c56c.system.entry.js +0 -2
  667. package/dist/stzh-components/p-fda1c56c.system.entry.js.map +0 -1
  668. /package/dist/stzh-components/{p-edef74c8.system.entry.js.map → p-08050ce2.system.entry.js.map} +0 -0
  669. /package/dist/stzh-components/{p-f23f2408.system.entry.js.map → p-09445156.system.entry.js.map} +0 -0
  670. /package/dist/stzh-components/{p-94a5e295.system.entry.js.map → p-0d302a14.system.entry.js.map} +0 -0
  671. /package/dist/stzh-components/{p-2615433f.system.entry.js.map → p-2009a8df.system.entry.js.map} +0 -0
  672. /package/dist/stzh-components/{p-39a4904e.system.entry.js.map → p-2614251e.system.entry.js.map} +0 -0
  673. /package/dist/stzh-components/{p-799548c4.system.entry.js.map → p-27489e46.system.entry.js.map} +0 -0
  674. /package/dist/stzh-components/{p-29ed53a9.system.entry.js.map → p-2dd983a9.system.entry.js.map} +0 -0
  675. /package/dist/stzh-components/{p-cc1a6af1.system.entry.js.map → p-2ec243e8.system.entry.js.map} +0 -0
  676. /package/dist/stzh-components/{p-cd0f7b10.entry.js.map → p-33da1a1c.entry.js.map} +0 -0
  677. /package/dist/stzh-components/{p-6608126b.entry.js.map → p-4325de93.entry.js.map} +0 -0
  678. /package/dist/stzh-components/{p-517af258.system.entry.js.map → p-444f765a.system.entry.js.map} +0 -0
  679. /package/dist/stzh-components/{p-7b297848.system.entry.js.map → p-50652c05.system.entry.js.map} +0 -0
  680. /package/dist/stzh-components/{p-a8c92707.system.entry.js.map → p-509b0e4c.system.entry.js.map} +0 -0
  681. /package/dist/stzh-components/{p-a2b49ad8.entry.js.map → p-52bcb3ab.entry.js.map} +0 -0
  682. /package/dist/stzh-components/{p-4cd7c872.system.entry.js.map → p-5af33d37.system.entry.js.map} +0 -0
  683. /package/dist/stzh-components/{p-8cb7e2da.system.entry.js.map → p-5bceda21.system.entry.js.map} +0 -0
  684. /package/dist/stzh-components/{p-5ee43b56.entry.js.map → p-5c3d0895.entry.js.map} +0 -0
  685. /package/dist/stzh-components/{p-eca073df.system.entry.js.map → p-6ac4713f.system.entry.js.map} +0 -0
  686. /package/dist/stzh-components/{p-9d46101e.entry.js.map → p-6c0f3c5e.entry.js.map} +0 -0
  687. /package/dist/stzh-components/{p-c2a06b4d.system.entry.js.map → p-6cb99167.system.entry.js.map} +0 -0
  688. /package/dist/stzh-components/{p-b8ad5f47.system.entry.js.map → p-709bb264.system.entry.js.map} +0 -0
  689. /package/dist/stzh-components/{p-3e5da137.entry.js.map → p-7463c7b5.entry.js.map} +0 -0
  690. /package/dist/stzh-components/{p-bc997ce2.entry.js.map → p-76c2f21a.entry.js.map} +0 -0
  691. /package/dist/stzh-components/{p-562f4dfa.entry.js.map → p-78f78684.entry.js.map} +0 -0
  692. /package/dist/stzh-components/{p-3dea2f45.entry.js.map → p-849ec693.entry.js.map} +0 -0
  693. /package/dist/stzh-components/{p-3aa5623c.entry.js.map → p-89562c7e.entry.js.map} +0 -0
  694. /package/dist/stzh-components/{p-45572515.entry.js.map → p-916f8386.entry.js.map} +0 -0
  695. /package/dist/stzh-components/{p-2d25bcc8.entry.js.map → p-979390db.entry.js.map} +0 -0
  696. /package/dist/stzh-components/{p-e2ff2ef4.entry.js.map → p-a0008fa2.entry.js.map} +0 -0
  697. /package/dist/stzh-components/{p-05b9e4c2.system.entry.js.map → p-a26cd855.system.entry.js.map} +0 -0
  698. /package/dist/stzh-components/{p-b792ea2e.system.entry.js.map → p-a2d5846c.system.entry.js.map} +0 -0
  699. /package/dist/stzh-components/{p-6c219530.entry.js.map → p-a8e1b13c.entry.js.map} +0 -0
  700. /package/dist/stzh-components/{p-4a299f84.entry.js.map → p-acbe3680.entry.js.map} +0 -0
  701. /package/dist/stzh-components/{p-35cbff3f.entry.js.map → p-affbfe00.entry.js.map} +0 -0
  702. /package/dist/stzh-components/{p-7772c262.entry.js.map → p-b5531053.entry.js.map} +0 -0
  703. /package/dist/stzh-components/{p-bf069354.entry.js.map → p-bac7cf37.entry.js.map} +0 -0
  704. /package/dist/stzh-components/{p-f599025e.system.entry.js.map → p-c0aa52aa.system.entry.js.map} +0 -0
  705. /package/dist/stzh-components/{p-9f4f3882.system.entry.js.map → p-d531fbaf.system.entry.js.map} +0 -0
  706. /package/dist/stzh-components/{p-fefcd0e6.entry.js.map → p-d7a7560a.entry.js.map} +0 -0
  707. /package/dist/stzh-components/{p-87b4549c.system.entry.js.map → p-dad99bd2.system.entry.js.map} +0 -0
  708. /package/dist/stzh-components/{p-b05c240b.system.entry.js.map → p-e16ee236.system.entry.js.map} +0 -0
  709. /package/dist/stzh-components/{p-bcd5b20e.entry.js.map → p-e7454abb.entry.js.map} +0 -0
  710. /package/dist/stzh-components/{p-6d097e82.system.entry.js.map → p-ebe979a3.system.entry.js.map} +0 -0
  711. /package/dist/stzh-components/{p-9b7d4e8d.entry.js.map → p-ef4c12ac.entry.js.map} +0 -0
  712. /package/dist/stzh-components/{p-3cb43903.entry.js.map → p-f0ac9730.entry.js.map} +0 -0
  713. /package/dist/stzh-components/{p-8d695d3e.system.entry.js.map → p-f65b5145.system.entry.js.map} +0 -0
  714. /package/dist/stzh-components/{p-b82351f0.system.entry.js.map → p-f665752d.system.entry.js.map} +0 -0
  715. /package/dist/stzh-components/{p-c3b260a1.entry.js.map → p-fb12ec57.entry.js.map} +0 -0
  716. /package/dist/stzh-components/{p-52e52b49.entry.js.map → p-fd97e87d.entry.js.map} +0 -0
@@ -1,2 +1,2 @@
1
- import{r as registerInstance,h,a as Host,g as getElement}from"./index-67fd55c9.js";import{h as hasSlot}from"./utils-51148d9a.js";var stzhFigureCss=".sc-stzh-figure-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-figure-h{display:none}.sc-stzh-figure-h *.sc-stzh-figure,.sc-stzh-figure-h *.sc-stzh-figure::before,.sc-stzh-figure-h *.sc-stzh-figure::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-figure-h .sc-stzh-figure-s>*{max-width:100%}.sc-stzh-figure-h[fullwidth]:not([fullwidth=false]) .sc-stzh-figure-s>*{width:100%}.stzh-figure.sc-stzh-figure{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:0}.stzh-figure__element.sc-stzh-figure{display:-ms-flexbox;display:flex}.stzh-figure__caption.sc-stzh-figure{font-size:var(--stzh-font-curve-caption-default-font-size, var(--stzh-font-nano-font-size));line-height:var(--stzh-font-curve-caption-default-text-line-height, var(--stzh-font-nano-text-line-height))}@media screen and (min-width: 1024px){.stzh-figure__caption.sc-stzh-figure{font-size:var(--stzh-font-curve-caption-medium-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-caption-medium-text-line-height, var(--stzh-font-micro-text-line-height))}}.stzh-figure__copyright.sc-stzh-figure{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:normal;font-size:var(--stzh-font-femto-font-size);line-height:var(--stzh-font-femto-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.stzh-figure__copyright.sc-stzh-figure:not(:empty){margin-left:var(--stzh-space-xxsmall)}.stzh-figure--has-caption-or-copyright.sc-stzh-figure .stzh-figure__caption.sc-stzh-figure{margin-top:var(--stzh-space-small)}";var StzhFigure=function(){function t(t){registerInstance(this,t);this.caption="";this.copyright="";this.fullwidth=true}t.prototype.render=function(){var t=hasSlot(this.element,"caption");var e=hasSlot(this.element,"copyright");var i={"stzh-figure":true,"stzh-figure--has-caption-or-copyright":!!this.caption||!!this.copyright||t||e};return h(Host,null,h("figure",{class:i},h("div",{class:"stzh-figure__element"},h("slot",null)),h("figcaption",{class:"stzh-figure__caption"},this.caption?this.caption:h("slot",{name:"caption"}),h("span",{class:"stzh-figure__copyright"},this.copyright?this.copyright:h("slot",{name:"copyright"})))))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();StzhFigure.style=stzhFigureCss;export{StzhFigure as stzh_figure};
1
+ import{r as registerInstance,h,a as Host,g as getElement}from"./index-67fd55c9.js";import{h as hasSlot}from"./utils-8f264f12.js";var stzhFigureCss=".sc-stzh-figure-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-figure-h{display:none}.sc-stzh-figure-h *.sc-stzh-figure,.sc-stzh-figure-h *.sc-stzh-figure::before,.sc-stzh-figure-h *.sc-stzh-figure::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-figure-h .sc-stzh-figure-s>*{max-width:100%}.sc-stzh-figure-h[fullwidth]:not([fullwidth=false]) .sc-stzh-figure-s>*{width:100%}.stzh-figure.sc-stzh-figure{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin:0}.stzh-figure__element.sc-stzh-figure{display:-ms-flexbox;display:flex}.stzh-figure__caption.sc-stzh-figure{font-size:var(--stzh-font-curve-caption-default-font-size, var(--stzh-font-nano-font-size));line-height:var(--stzh-font-curve-caption-default-text-line-height, var(--stzh-font-nano-text-line-height))}@media screen and (min-width: 1024px){.stzh-figure__caption.sc-stzh-figure{font-size:var(--stzh-font-curve-caption-medium-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-caption-medium-text-line-height, var(--stzh-font-micro-text-line-height))}}.stzh-figure__copyright.sc-stzh-figure{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:normal;font-size:var(--stzh-font-femto-font-size);line-height:var(--stzh-font-femto-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.stzh-figure__copyright.sc-stzh-figure:not(:empty){margin-left:var(--stzh-space-xxsmall)}.stzh-figure--has-caption-or-copyright.sc-stzh-figure .stzh-figure__caption.sc-stzh-figure{margin-top:var(--stzh-space-small)}";var StzhFigure=function(){function t(t){registerInstance(this,t);this.caption="";this.copyright="";this.fullwidth=true}t.prototype.render=function(){var t=hasSlot(this.element,"caption");var e=hasSlot(this.element,"copyright");var i={"stzh-figure":true,"stzh-figure--has-caption-or-copyright":!!this.caption||!!this.copyright||t||e};return h(Host,null,h("figure",{class:i},h("div",{class:"stzh-figure__element"},h("slot",null)),h("figcaption",{class:"stzh-figure__caption"},this.caption?this.caption:h("slot",{name:"caption"}),h("span",{class:"stzh-figure__copyright"},this.copyright?this.copyright:h("slot",{name:"copyright"})))))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();StzhFigure.style=stzhFigureCss;export{StzhFigure as stzh_figure};
2
2
  //# sourceMappingURL=stzh-figure.entry.js.map
@@ -1,2 +1,2 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,o,i){function s(t){return t instanceof o?t:new o((function(e){e(t)}))}return new(o||(o=Promise))((function(o,r){function n(t){try{a(i.next(t))}catch(t){r(t)}}function l(t){try{a(i["throw"](t))}catch(t){r(t)}}function a(t){t.done?o(t.value):s(t.value).then(n,l)}a((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var o={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,s,r,n;return n={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function l(t){return function(e){return a([t,e])}}function a(l){if(i)throw new TypeError("Generator is already executing.");while(n&&(n=0,l[0]&&(o=0)),o)try{if(i=1,s&&(r=l[0]&2?s["return"]:l[0]?s["throw"]||((r=s["return"])&&r.call(s),0):s.next)&&!(r=r.call(s,l[1])).done)return r;if(s=0,r)l=[l[0]&2,r.value];switch(l[0]){case 0:case 1:r=l;break;case 4:o.label++;return{value:l[1],done:false};case 5:o.label++;s=l[1];l=[0];continue;case 7:l=o.ops.pop();o.trys.pop();continue;default:if(!(r=o.trys,r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){o=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){o.label=l[1];break}if(l[0]===6&&o.label<r[1]){o.label=r[1];r=l;break}if(r&&o.label<r[2]){o.label=r[2];o.ops.push(l);break}if(r[2])o.ops.pop();o.trys.pop();continue}l=e.call(t,o)}catch(t){l=[6,t];s=0}finally{i=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};import{r as registerInstance,h,F as Fragment,a as Host,g as getElement}from"./index-67fd55c9.js";import{f as fetchTranslations}from"./translation-utils-2623783f.js";import{s as setPropsIfNull,h as hasSlot}from"./utils-51148d9a.js";var stzhFooterCss=":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;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.stzh-footer{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;font-size:var(--stzh-font-pico-font-size);line-height:var(--stzh-font-pico-text-line-height);background-color:var(--stzh-color-white);padding:var(--stzh-space-xlarge) 0;}.stzh-footer[hidden]{display:none}.stzh-footer *,.stzh-footer *::before,.stzh-footer *::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.stzh-footer [slot=logo],.stzh-footer [slot=logo] img{display:block;height:2.375rem}.stzh-footer [slot=info]{margin:0}.stzh-footer stzh-link[slot=info],.stzh-footer stzh-link[slot=link],.stzh-footer stzh-link[slot=social-link],.stzh-footer stzh-link.stzh-footer__link{--color:var(--stzh-base-color);--text-decoration-line:none;--icon-wrapper-height:auto;--icon-size:var(--stzh-icon-size-large)}.stzh-footer stzh-link[slot=info] .stzh-link,.stzh-footer stzh-link[slot=link] .stzh-link,.stzh-footer stzh-link[slot=social-link] .stzh-link,.stzh-footer stzh-link.stzh-footer__link .stzh-link{font-size:inherit}.stzh-footer stzh-link[slot=social-link]{margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.stzh-footer stzh-link[slot=social-link]{margin-bottom:0;margin-right:var(--stzh-space-large)}}.stzh-footer stzh-link[slot=info]:not(:last-child){margin-bottom:var(--stzh-space-small)}.stzh-footer stzh-link[slot=link]:not(:last-child){margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 800px){.stzh-footer stzh-link[slot=link]:not(:last-child){margin-bottom:0;margin-right:var(--stzh-space-large)}}.stzh-footer__wrapper{margin:0 1.25rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}@media screen and (min-width: 600px){.stzh-footer__wrapper{margin:0 2rem}}@media screen and (min-width: 1024px){.stzh-footer__wrapper{margin:0 2.5rem}}@media screen and (min-width: 1260px){.stzh-footer__wrapper{margin:0 5.5rem}}@media screen and (min-width: 1440px){.stzh-footer__wrapper{margin:0 auto;width:78.75rem}}@media screen and (min-width: 1024px){.stzh-footer__wrapper{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}}.stzh-footer__logo:empty,.stzh-footer__info:empty,.stzh-footer__social-link:empty,.stzh-footer__links:empty{display:none}.stzh-footer__logo:not(:empty){margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-footer__logo:not(:empty){margin-bottom:0}}.stzh-footer__info{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}.stzh-footer__info:not(:empty){margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.stzh-footer__info:not(:empty){margin-bottom:0}}@media screen and (min-width: 1024px){.stzh-footer__logo,.stzh-footer__social-link{margin-right:auto}}@media screen and (min-width: 1024px){.stzh-footer__links{margin-left:auto}}.stzh-footer__links,.stzh-footer__link-list,.stzh-footer slot-fb[name=link]:not([hidden]){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}@media screen and (min-width: 800px){.stzh-footer__links,.stzh-footer__link-list,.stzh-footer slot-fb[name=link]:not([hidden]){-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}}.stzh-footer__copyright:not(:empty)+.stzh-footer__link-list:not(:empty){margin-top:var(--stzh-space-small)}@media screen and (min-width: 800px){.stzh-footer__copyright:not(:empty)+.stzh-footer__link-list:not(:empty){margin-top:0;margin-left:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.stzh-footer--has-logo .stzh-footer__wrapper,.stzh-footer--has-info .stzh-footer__wrapper{-ms-flex-align:start;align-items:flex-start}}.stzh-footer--has-border{border-top:0.0625rem solid var(--stzh-base-border-color)}";var StzhFooter=function(){function t(t){var e=this;registerInstance(this,t);this.init=function(){var t=e.element.querySelector('stzh-link[slot="social-link"]');var o=e.element.querySelectorAll('stzh-link[slot="link"]');if(t){setPropsIfNull(t,{icon:"social-media"})}o.forEach((function(t){t.setAttribute("role","listitem")}))};this.localization=undefined;this.copyright=undefined;this.variant="default";this.mainUrl="https://www.stadt-zuerich.ch";this.withBorder=false}t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(o){switch(o.label){case 0:if(typeof this.copyright==="undefined"){t=new Date;this.copyright="© ".concat(t.getFullYear()," Stadt Zürich")}if(!!this.localization)return[3,2];e=this;return[4,fetchTranslations(this.element,"footer")];case 1:e.localization=o.sent();o.label=2;case 2:return[2]}}))}))};t.prototype.connectedCallback=function(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){if(this.observer){this.observer.disconnect()}};t.prototype.render=function(){var t=hasSlot(this.element,"logo");var e=hasSlot(this.element,"info");var o=hasSlot(this.element,"link");var i=hasSlot(this.element,"social-link");var s={"stzh-footer":true,"stzh-footer--has-border":this.withBorder,"stzh-footer--has-logo":t,"stzh-footer--has-info":e,"stzh-footer--has-links":o,"stzh-footer--has-social-link":i};return h(Host,null,h("footer",{class:s},h("div",{class:"stzh-footer__wrapper"},h("div",{class:"stzh-footer__social-link"},h("slot",{name:"social-link"})),h("div",{class:"stzh-footer__logo"},h("slot",{name:"logo"})),h("div",{class:"stzh-footer__info"},h("slot",{name:"info"})),h("div",{class:"stzh-footer__links"},this.copyright&&h("div",{class:"stzh-footer__copyright"},this.copyright),h("div",{class:"stzh-footer__link-list",role:"list"},h("slot",{name:"link"},this.variant==="egov"&&h(Fragment,null,h("stzh-link",{slot:"link",target:"_blank",class:"stzh-footer__link",href:"".concat(this.mainUrl,"/").concat(this.localization.legalNoticeUrl)},this.localization.legalNoticeText),h("stzh-link",{slot:"link",target:"_blank",class:"stzh-footer__link",href:"".concat(this.mainUrl,"/").concat(this.localization.imprintUrl)},this.localization.imprintText),h("stzh-link",{class:"stzh-footer__link",slot:"link",target:"_blank",href:"".concat(this.mainUrl,"/").concat(this.localization.accessibilityUrl)},this.localization.accessibilityText))))))))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();StzhFooter.style=stzhFooterCss;export{StzhFooter as stzh_footer};
1
+ var __awaiter=this&&this.__awaiter||function(t,e,o,i){function s(t){return t instanceof o?t:new o((function(e){e(t)}))}return new(o||(o=Promise))((function(o,r){function n(t){try{a(i.next(t))}catch(t){r(t)}}function l(t){try{a(i["throw"](t))}catch(t){r(t)}}function a(t){t.done?o(t.value):s(t.value).then(n,l)}a((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var o={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,s,r,n;return n={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function l(t){return function(e){return a([t,e])}}function a(l){if(i)throw new TypeError("Generator is already executing.");while(n&&(n=0,l[0]&&(o=0)),o)try{if(i=1,s&&(r=l[0]&2?s["return"]:l[0]?s["throw"]||((r=s["return"])&&r.call(s),0):s.next)&&!(r=r.call(s,l[1])).done)return r;if(s=0,r)l=[l[0]&2,r.value];switch(l[0]){case 0:case 1:r=l;break;case 4:o.label++;return{value:l[1],done:false};case 5:o.label++;s=l[1];l=[0];continue;case 7:l=o.ops.pop();o.trys.pop();continue;default:if(!(r=o.trys,r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){o=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){o.label=l[1];break}if(l[0]===6&&o.label<r[1]){o.label=r[1];r=l;break}if(r&&o.label<r[2]){o.label=r[2];o.ops.push(l);break}if(r[2])o.ops.pop();o.trys.pop();continue}l=e.call(t,o)}catch(t){l=[6,t];s=0}finally{i=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};import{r as registerInstance,h,F as Fragment,a as Host,g as getElement}from"./index-67fd55c9.js";import{f as fetchTranslations}from"./translation-utils-2623783f.js";import{s as setPropsIfNull,h as hasSlot}from"./utils-8f264f12.js";var stzhFooterCss=":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;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.stzh-footer{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;font-size:var(--stzh-font-pico-font-size);line-height:var(--stzh-font-pico-text-line-height);background-color:var(--stzh-color-white);padding:var(--stzh-space-xlarge) 0;}.stzh-footer[hidden]{display:none}.stzh-footer *,.stzh-footer *::before,.stzh-footer *::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.stzh-footer [slot=logo],.stzh-footer [slot=logo] img{display:block;height:2.375rem}.stzh-footer [slot=info]{margin:0}.stzh-footer stzh-link[slot=info],.stzh-footer stzh-link[slot=link],.stzh-footer stzh-link[slot=social-link],.stzh-footer stzh-link.stzh-footer__link{--color:var(--stzh-base-color);--text-decoration-line:none;--icon-wrapper-height:auto;--icon-size:var(--stzh-icon-size-large)}.stzh-footer stzh-link[slot=info] .stzh-link,.stzh-footer stzh-link[slot=link] .stzh-link,.stzh-footer stzh-link[slot=social-link] .stzh-link,.stzh-footer stzh-link.stzh-footer__link .stzh-link{font-size:inherit}.stzh-footer stzh-link[slot=social-link]{margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.stzh-footer stzh-link[slot=social-link]{margin-bottom:0;margin-right:var(--stzh-space-large)}}.stzh-footer stzh-link[slot=info]:not(:last-child){margin-bottom:var(--stzh-space-small)}.stzh-footer stzh-link[slot=link]:not(:last-child){margin-bottom:var(--stzh-space-small)}@media screen and (min-width: 800px){.stzh-footer stzh-link[slot=link]:not(:last-child){margin-bottom:0;margin-right:var(--stzh-space-large)}}.stzh-footer__wrapper{margin:0 1.25rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}@media screen and (min-width: 600px){.stzh-footer__wrapper{margin:0 2rem}}@media screen and (min-width: 1024px){.stzh-footer__wrapper{margin:0 2.5rem}}@media screen and (min-width: 1260px){.stzh-footer__wrapper{margin:0 5.5rem}}@media screen and (min-width: 1440px){.stzh-footer__wrapper{margin:0 auto;width:78.75rem}}@media screen and (min-width: 1024px){.stzh-footer__wrapper{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}}.stzh-footer__logo:empty,.stzh-footer__info:empty,.stzh-footer__social-link:empty,.stzh-footer__links:empty{display:none}.stzh-footer__logo:not(:empty){margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-footer__logo:not(:empty){margin-bottom:0}}.stzh-footer__info{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}.stzh-footer__info:not(:empty){margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.stzh-footer__info:not(:empty){margin-bottom:0}}@media screen and (min-width: 1024px){.stzh-footer__logo,.stzh-footer__social-link{margin-right:auto}}@media screen and (min-width: 1024px){.stzh-footer__links{margin-left:auto}}.stzh-footer__links,.stzh-footer__link-list,.stzh-footer slot-fb[name=link]:not([hidden]){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}@media screen and (min-width: 800px){.stzh-footer__links,.stzh-footer__link-list,.stzh-footer slot-fb[name=link]:not([hidden]){-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}}.stzh-footer__copyright:not(:empty)+.stzh-footer__link-list:not(:empty){margin-top:var(--stzh-space-small)}@media screen and (min-width: 800px){.stzh-footer__copyright:not(:empty)+.stzh-footer__link-list:not(:empty){margin-top:0;margin-left:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.stzh-footer--has-logo .stzh-footer__wrapper,.stzh-footer--has-info .stzh-footer__wrapper{-ms-flex-align:start;align-items:flex-start}}.stzh-footer--has-border{border-top:0.0625rem solid var(--stzh-base-border-color)}";var StzhFooter=function(){function t(t){var e=this;registerInstance(this,t);this.init=function(){var t=e.element.querySelector('stzh-link[slot="social-link"]');var o=e.element.querySelectorAll('stzh-link[slot="link"]');if(t){setPropsIfNull(t,{icon:"social-media"})}o.forEach((function(t){t.setAttribute("role","listitem")}))};this.localization=undefined;this.copyright=undefined;this.variant="default";this.mainUrl="https://www.stadt-zuerich.ch";this.withBorder=false}t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t,e;return __generator(this,(function(o){switch(o.label){case 0:if(typeof this.copyright==="undefined"){t=new Date;this.copyright="© ".concat(t.getFullYear()," Stadt Zürich")}if(!!this.localization)return[3,2];e=this;return[4,fetchTranslations(this.element,"footer")];case 1:e.localization=o.sent();o.label=2;case 2:return[2]}}))}))};t.prototype.connectedCallback=function(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){if(this.observer){this.observer.disconnect()}};t.prototype.render=function(){var t=hasSlot(this.element,"logo");var e=hasSlot(this.element,"info");var o=hasSlot(this.element,"link");var i=hasSlot(this.element,"social-link");var s={"stzh-footer":true,"stzh-footer--has-border":this.withBorder,"stzh-footer--has-logo":t,"stzh-footer--has-info":e,"stzh-footer--has-links":o,"stzh-footer--has-social-link":i};return h(Host,null,h("footer",{class:s},h("div",{class:"stzh-footer__wrapper"},h("div",{class:"stzh-footer__social-link"},h("slot",{name:"social-link"})),h("div",{class:"stzh-footer__logo"},h("slot",{name:"logo"})),h("div",{class:"stzh-footer__info"},h("slot",{name:"info"})),h("div",{class:"stzh-footer__links"},this.copyright&&h("div",{class:"stzh-footer__copyright"},this.copyright),h("div",{class:"stzh-footer__link-list",role:"list"},h("slot",{name:"link"},this.variant==="egov"&&h(Fragment,null,h("stzh-link",{slot:"link",target:"_blank",class:"stzh-footer__link",href:"".concat(this.mainUrl,"/").concat(this.localization.legalNoticeUrl)},this.localization.legalNoticeText),h("stzh-link",{slot:"link",target:"_blank",class:"stzh-footer__link",href:"".concat(this.mainUrl,"/").concat(this.localization.imprintUrl)},this.localization.imprintText),h("stzh-link",{class:"stzh-footer__link",slot:"link",target:"_blank",href:"".concat(this.mainUrl,"/").concat(this.localization.accessibilityUrl)},this.localization.accessibilityText))))))))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();StzhFooter.style=stzhFooterCss;export{StzhFooter as stzh_footer};
2
2
  //# sourceMappingURL=stzh-footer.entry.js.map
@@ -0,0 +1,2 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,o,e,s){function r(t){return t instanceof e?t:new e((function(o){o(t)}))}return new(e||(e=Promise))((function(e,h){function a(t){try{i(s.next(t))}catch(t){h(t)}}function n(t){try{i(s["throw"](t))}catch(t){h(t)}}function i(t){t.done?e(t.value):r(t.value).then(a,n)}i((s=s.apply(t,o||[])).next())}))};var __generator=this&&this.__generator||function(t,o){var e={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]},s,r,h,a;return a={next:n(0),throw:n(1),return:n(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function n(t){return function(o){return i([t,o])}}function i(n){if(s)throw new TypeError("Generator is already executing.");while(a&&(a=0,n[0]&&(e=0)),e)try{if(s=1,r&&(h=n[0]&2?r["return"]:n[0]?r["throw"]||((h=r["return"])&&h.call(r),0):r.next)&&!(h=h.call(r,n[1])).done)return h;if(r=0,h)n=[n[0]&2,h.value];switch(n[0]){case 0:case 1:h=n;break;case 4:e.label++;return{value:n[1],done:false};case 5:e.label++;r=n[1];n=[0];continue;case 7:n=e.ops.pop();e.trys.pop();continue;default:if(!(h=e.trys,h=h.length>0&&h[h.length-1])&&(n[0]===6||n[0]===2)){e=0;continue}if(n[0]===3&&(!h||n[1]>h[0]&&n[1]<h[3])){e.label=n[1];break}if(n[0]===6&&e.label<h[1]){e.label=h[1];h=n;break}if(h&&e.label<h[2]){e.label=h[2];e.ops.push(n);break}if(h[2])e.ops.pop();e.trys.pop();continue}n=o.call(t,e)}catch(t){n=[6,t];r=0}finally{s=h=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,h,a as Host,g as getElement}from"./index-67fd55c9.js";import{j as js_cookie}from"./js.cookie-2cc1be5d.js";import{s as setPropsIfNull}from"./utils-8f264f12.js";import{f as fetchTranslations}from"./translation-utils-2623783f.js";import"./_commonjsHelpers-ba3f0406.js";var stzhGhettoboxCss=".sc-stzh-ghettobox-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-ghettobox-h{display:none}.sc-stzh-ghettobox-h *.sc-stzh-ghettobox,.sc-stzh-ghettobox-h *.sc-stzh-ghettobox::before,.sc-stzh-ghettobox-h *.sc-stzh-ghettobox::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-ghettobox-h{--stzh-flyingfocus-color:var(--stzh-base-invert-color);--stzh-base-color:var(--stzh-base-invert-color);--stzh-base-lead-color:var(--stzh-base-invert-color);--stzh-base-border-color:var(--stzh-base-invert-color);--stzh-heading-color:var(--stzh-base-invert-color);--stzh-link-color:var(--stzh-base-invert-color);--stzh-link-hover-color:var(--stzh-base-invert-color);--background-color:var(--stzh-color-error);--color:var(--stzh-base-invert-color);--richtext-color:var(--color);--close-color:var(--stzh-base-invert-color);--button-color:var(--color);--hover-button-color:var(--background-color);--hover-close-color:var(--background-color)}.sc-stzh-ghettobox-h .sc-stzh-ghettobox-s>stzh-richtext{--stzh-base-color:var(--richtext-color)}.sc-stzh-ghettobox-h .sc-stzh-ghettobox-s>stzh-button[slot=button][variant=default]{--color:var(--hover-button-color);--background-color:var(--stzh-base-invert-color);--border-color:var(--stzh-base-invert-color);--hover-color:var(--hover-button-color);--hover-background-color:var(--stzh-base-invert-color72);--hover-border-color:transparent}.sc-stzh-ghettobox-h .sc-stzh-ghettobox-s>stzh-button[slot=button][variant=secondary]{--color:var(--stzh-base-invert-color);--background-color:transparent;--border-color:var(--stzh-base-invert-color);--hover-color:var(--hover-button-color);--hover-background-color:var(--stzh-base-invert-color72);--hover-border-color:transparent}.sc-stzh-ghettobox-h .sc-stzh-ghettobox-s>stzh-button[slot=button][variant=tertiary]{--color:var(--stzh-base-invert-color);--background-color:transparent;--hover-color:var(--stzh-base-invert-color);--hover-background-color:var(--stzh-base-invert-color16)}.sc-stzh-ghettobox-h .sc-stzh-ghettobox-s>stzh-button[slot=button][active]:not([active=false]){--color:var(--hover-button-color);--background-color:var(--stzh-base-invert-color72);--border-color:transparent;--hover-color:var(--hover-button-color);--hover-background-color:var(--stzh-base-invert-color72);--hover-border-color:transparent}.sc-stzh-ghettobox-h .sc-stzh-ghettobox-s>stzh-button[slot=button][disabled]:not([disabled=false]),.sc-stzh-ghettobox-h .sc-stzh-ghettobox-s>stzh-button[slot=button][a11y-disabled]:not([a11y-disabled=false]){--border-color:transparent;--background-color:var(--stzh-base-invert-color32);--hover-border-color:transparent;--hover-background-color:var(--stzh-base-invert-color32)}.sc-stzh-ghettobox-h .sc-stzh-ghettobox-s>stzh-button[slot=button][disabled]:not([disabled=false])[variant=secondary],.sc-stzh-ghettobox-h .sc-stzh-ghettobox-s>stzh-button[slot=button][disabled]:not([disabled=false])[variant=input],.sc-stzh-ghettobox-h .sc-stzh-ghettobox-s>stzh-button[slot=button][disabled]:not([disabled=false])[variant=tertiary],.sc-stzh-ghettobox-h .sc-stzh-ghettobox-s>stzh-button[slot=button][a11y-disabled]:not([a11y-disabled=false])[variant=secondary],.sc-stzh-ghettobox-h .sc-stzh-ghettobox-s>stzh-button[slot=button][a11y-disabled]:not([a11y-disabled=false])[variant=input],.sc-stzh-ghettobox-h .sc-stzh-ghettobox-s>stzh-button[slot=button][a11y-disabled]:not([a11y-disabled=false])[variant=tertiary]{--color:var(--stzh-base-invert-color32);--border-color:var(--stzh-base-invert-color32);--background-color:transparent;--hover-color:var(--stzh-base-invert-color32);--hover-border-color:var(--stzh-base-invert-color32);--hover-background-color:transparent}.stzh-ghettobox.sc-stzh-ghettobox{padding-top:var(--stzh-space-xxlarge);padding-bottom:var(--stzh-space-xxlarge);padding-left:var(--stzh-space-xxxlarge);padding-right:var(--stzh-space-xxxlarge);position:relative;display:-ms-flexbox;display:flex;background-color:var(--background-color);color:var(--color);-webkit-box-shadow:var(--stzh-box-shadow-message);box-shadow:var(--stzh-box-shadow-message);border-radius:var(--stzh-button-border-radius)}@media screen and (min-width: 1024px){.stzh-ghettobox.sc-stzh-ghettobox{padding-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.stzh-ghettobox.sc-stzh-ghettobox{padding-top:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){.stzh-ghettobox.sc-stzh-ghettobox{padding-bottom:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.stzh-ghettobox.sc-stzh-ghettobox{padding-bottom:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 600px){.stzh-ghettobox.sc-stzh-ghettobox{padding-left:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){.stzh-ghettobox.sc-stzh-ghettobox{padding-left:var(--stzh-space-big)}}@media screen and (min-width: 1260px){.stzh-ghettobox.sc-stzh-ghettobox{padding-left:var(--stzh-space-xbig)}}@media screen and (min-width: 600px){.stzh-ghettobox.sc-stzh-ghettobox{padding-right:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){.stzh-ghettobox.sc-stzh-ghettobox{padding-right:var(--stzh-space-big)}}@media screen and (min-width: 1260px){.stzh-ghettobox.sc-stzh-ghettobox{padding-right:var(--stzh-space-xbig)}}@media screen and (min-width: 1260px){.stzh-ghettobox.sc-stzh-ghettobox{border-radius:0.1875rem}}.stzh-ghettobox__hidden-title.sc-stzh-ghettobox{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-ghettobox__message.sc-stzh-ghettobox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:1;flex-grow:1}.stzh-ghettobox__main-title.sc-stzh-ghettobox{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-size:var(--stzh-font-curve-h1-default-font-size, var(--stzh-font-deca-font-size));line-height:var(--stzh-font-curve-h1-default-heading-line-height, var(--stzh-font-deca-text-line-height));letter-spacing:var(--stzh-font-curve-h1-default-heading-letter-spacing, var(--stzh-font-deca-text-letter-spacing));margin:0;color:inherit}@media screen and (min-width: 600px){.stzh-ghettobox__main-title.sc-stzh-ghettobox{font-size:var(--stzh-font-curve-h1-small-font-size, var(--stzh-font-kilo-font-size));line-height:var(--stzh-font-curve-h1-small-heading-line-height, var(--stzh-font-kilo-text-line-height));letter-spacing:var(--stzh-font-curve-h1-small-heading-letter-spacing, var(--stzh-font-kilo-text-letter-spacing))}}@media screen and (min-width: 1024px){.stzh-ghettobox__main-title.sc-stzh-ghettobox{font-size:var(--stzh-font-curve-h1-medium-font-size, var(--stzh-font-mega-font-size));line-height:var(--stzh-font-curve-h1-medium-heading-line-height, var(--stzh-font-mega-text-line-height));letter-spacing:var(--stzh-font-curve-h1-medium-heading-letter-spacing, var(--stzh-font-mega-text-letter-spacing))}}@media screen and (min-width: 1440px){.stzh-ghettobox__main-title.sc-stzh-ghettobox{font-size:var(--stzh-font-curve-h1-ultra-font-size, var(--stzh-font-giga-font-size));line-height:var(--stzh-font-curve-h1-ultra-heading-line-height, var(--stzh-font-giga-text-line-height));letter-spacing:var(--stzh-font-curve-h1-ultra-heading-letter-spacing, var(--stzh-font-giga-text-letter-spacing))}}.stzh-ghettobox__description.sc-stzh-ghettobox{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)}@media screen and (min-width: 1024px){.stzh-ghettobox__description.sc-stzh-ghettobox{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-ghettobox__description.sc-stzh-ghettobox:not(:empty),.stzh-ghettobox__button.sc-stzh-ghettobox:not(:empty){margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-ghettobox__description.sc-stzh-ghettobox:not(:empty),.stzh-ghettobox__button.sc-stzh-ghettobox:not(:empty){margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-ghettobox__description.sc-stzh-ghettobox:not(:empty),.stzh-ghettobox__button.sc-stzh-ghettobox:not(:empty){margin-top:var(--stzh-space-large)}}.stzh-ghettobox__close.sc-stzh-ghettobox{-ms-flex-negative:0;flex-shrink:0}@media screen and (min-width: 600px){.stzh-ghettobox__close.sc-stzh-ghettobox{margin-left:var(--stzh-space-small)}}.stzh-ghettobox__close.sc-stzh-ghettobox{position:absolute;top:0;right:0}.stzh-ghettobox__close[variant=default].sc-stzh-ghettobox{--color:var(--hover-close-color);--background-color:var(--stzh-base-invert-color);--border-color:var(--stzh-base-invert-color);--hover-color:var(--hover-close-color);--hover-background-color:var(--stzh-base-invert-color72);--hover-border-color:transparent}.stzh-ghettobox__close[variant=secondary].sc-stzh-ghettobox{--color:var(--stzh-base-invert-color);--background-color:transparent;--border-color:var(--stzh-base-invert-color);--hover-color:var(--hover-close-color);--hover-background-color:var(--stzh-base-invert-color72);--hover-border-color:transparent}.stzh-ghettobox__close[variant=tertiary].sc-stzh-ghettobox{--color:var(--stzh-base-invert-color);--background-color:transparent;--hover-color:var(--stzh-base-invert-color);--hover-background-color:var(--stzh-base-invert-color16)}.stzh-ghettobox__close[active].sc-stzh-ghettobox:not([active=false]){--color:var(--hover-close-color);--background-color:var(--stzh-base-invert-color72);--border-color:transparent;--hover-color:var(--hover-close-color);--hover-background-color:var(--stzh-base-invert-color72);--hover-border-color:transparent}.stzh-ghettobox__close[disabled].sc-stzh-ghettobox:not([disabled=false]),.stzh-ghettobox__close[a11y-disabled].sc-stzh-ghettobox:not([a11y-disabled=false]){--border-color:transparent;--background-color:var(--stzh-base-invert-color32);--hover-border-color:transparent;--hover-background-color:var(--stzh-base-invert-color32)}.stzh-ghettobox__close[disabled].sc-stzh-ghettobox:not([disabled=false])[variant=secondary],.stzh-ghettobox__close[disabled].sc-stzh-ghettobox:not([disabled=false])[variant=input],.stzh-ghettobox__close[disabled].sc-stzh-ghettobox:not([disabled=false])[variant=tertiary],.stzh-ghettobox__close[a11y-disabled].sc-stzh-ghettobox:not([a11y-disabled=false])[variant=secondary],.stzh-ghettobox__close[a11y-disabled].sc-stzh-ghettobox:not([a11y-disabled=false])[variant=input],.stzh-ghettobox__close[a11y-disabled].sc-stzh-ghettobox:not([a11y-disabled=false])[variant=tertiary]{--color:var(--stzh-base-invert-color32);--border-color:var(--stzh-base-invert-color32);--background-color:transparent;--hover-color:var(--stzh-base-invert-color32);--hover-border-color:var(--stzh-base-invert-color32);--hover-background-color:transparent}.stzh-ghettobox--has-close-button.sc-stzh-ghettobox{padding-right:var(--stzh-space-xxxlarge)}@media screen and (min-width: 600px){.stzh-ghettobox--has-close-button.sc-stzh-ghettobox{padding-right:var(--stzh-space-medium)}}@media screen and (min-width: 600px) and (min-width: 1024px){.stzh-ghettobox--has-close-button.sc-stzh-ghettobox{padding-right:var(--stzh-space-large)}}@media screen and (min-width: 600px) and (min-width: 1260px){.stzh-ghettobox--has-close-button.sc-stzh-ghettobox{padding-right:var(--stzh-space-xlarge)}}";var KEY_PREFIX_CLOSE_TIME="stzh-components-ghettobox-close-time";var StzhGhettobox=function(){function t(t){var o=this;registerInstance(this,t);this.stzhOpen=createEvent(this,"stzhOpen",7);this.stzhClose=createEvent(this,"stzhClose",7);this.onCloseButtonClick=function(){o.hide()};this.init=function(){var t=o.element.querySelector('stzh-button[slot="button"]');if(t){setPropsIfNull(t,{size:"small",variant:"secondary",effect:"cta",icon:"arrow-right-long",iconPosition:"right"})}};this.hiddenTitle="";this.mainTitle="";this.description="";this.hideClose=false;this.publishDate=undefined;this.closeTimeKey="global-alert";this.localization=undefined;this.open=true}t.prototype.publishDateWatcher=function(t){if(typeof t==="string"){this._publishDate=new Date(t)}else{this._publishDate=t}if(this.closeTimeKey&&this._publishDate){var o=js_cookie.get("".concat(KEY_PREFIX_CLOSE_TIME,"-").concat(this.closeTimeKey));if(o&&Number(o)>=this._publishDate.getTime()){this.hide(false)}}};t.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.open=true;this.stzhOpen.emit({component:"stzh-ghettobox"});return[2]}))}))};t.prototype.hide=function(t){if(t===void 0){t=true}return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(o){this.open=false;this.stzhClose.emit({component:"stzh-ghettobox"});if(this.closeTimeKey&&t){js_cookie.set("".concat(KEY_PREFIX_CLOSE_TIME,"-").concat(this.closeTimeKey),Date.now().toString())}return[2]}))}))};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(o){switch(o.label){case 0:this.publishDateWatcher(this.publishDate);if(!!this.localization)return[3,2];t=this;return[4,fetchTranslations(this.element,"ghettobox")];case 1:t.localization=o.sent();o.label=2;case 2:return[2]}}))}))};t.prototype.connectedCallback=function(){this.init();this.observer=new MutationObserver(this.init);this.observer.observe(this.element,{childList:true,subtree:true})};t.prototype.disconnectedCallback=function(){if(this.observer){this.observer.disconnect()}};t.prototype.render=function(){var t={"stzh-ghettobox":true,"stzh-ghettobox--has-close-button":!this.hideClose};return h(Host,{hidden:!this.open},h("div",{class:t},h("h1",{class:"stzh-ghettobox__hidden-title"},this.hiddenTitle||this.localization.hiddenTitle),h("div",{class:"stzh-ghettobox__message"},h("h2",{class:"stzh-ghettobox__main-title"},this.mainTitle),h("div",{class:"stzh-ghettobox__description"},this.description?this.description:h("slot",null)),h("div",{class:"stzh-ghettobox__button"},h("slot",{name:"button"}))),!this.hideClose&&h("stzh-button",{class:"stzh-ghettobox__close",onClick:this.onCloseButtonClick,a11yLabel:this.localization.close,variant:"tertiary",size:"small",iconOnly:true,icon:"close"})))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{publishDate:["publishDateWatcher"]}},enumerable:false,configurable:true});return t}();StzhGhettobox.style=stzhGhettoboxCss;export{StzhGhettobox as stzh_ghettobox};
2
+ //# sourceMappingURL=stzh-ghettobox.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["stzhGhettoboxCss","KEY_PREFIX_CLOSE_TIME","StzhGhettobox","this","onCloseButtonClick","_this","hide","init","button","element","querySelector","setPropsIfNull","size","variant","effect","icon","iconPosition","class_1","prototype","publishDateWatcher","newValue","_publishDate","Date","closeTimeKey","timeClosed","Cookie","get","concat","Number","getTime","show","open","stzhOpen","emit","component","setCloseKey","stzhClose","set","now","toString","componentWillLoad","publishDate","localization","_a","fetchTranslations","_b","sent","connectedCallback","observer","MutationObserver","observe","childList","subtree","disconnectedCallback","disconnect","render","classes","hideClose","h","Host","hidden","class","hiddenTitle","mainTitle","description","name","onClick","a11yLabel","close","iconOnly"],"sources":["src/components/stzh-ghettobox/stzh-ghettobox.scss?tag=stzh-ghettobox&encapsulation=scoped","src/components/stzh-ghettobox/stzh-ghettobox.tsx"],"sourcesContent":[":host {\n @include base-invert;\n\n --background-color: #{$colorError};\n --color: #{$baseInvertColor};\n --richtext-color: var(--color);\n --close-color: #{$baseInvertColor};\n --button-color: var(--color);\n\n --hover-button-color: var(--background-color);\n --hover-close-color: var(--background-color);\n\n ::slotted(stzh-richtext) {\n --stzh-base-color: var(--richtext-color);\n }\n\n ::slotted(stzh-button[slot=\"button\"]) {\n @include button-invert(var(--hover-button-color));\n }\n}\n\n.stzh-ghettobox {\n @include spaceCurve('padding-top', 'large');\n @include spaceCurve('padding-bottom', 'large');\n @include spaceCurve('padding-left', 'big');\n @include spaceCurve('padding-right', 'big');\n position: relative;\n display: flex;\n background-color: var(--background-color);\n color: var(--color);\n box-shadow: $boxShadowMessage;\n border-radius: $buttonBorderRadius;\n\n @include mq($from: large) {\n border-radius: 3px;\n }\n\n &__hidden-title {\n @include visuallyhidden;\n }\n\n &__message {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n }\n\n &__main-title {\n @include font('title');\n @include fontCurve('h1', 'heading');\n margin: 0;\n color: inherit;\n }\n\n &__description {\n @include fontCurve('p1');\n }\n\n &__description,\n &__button {\n &:not(:empty) {\n @include spaceCurve('margin-top', 'small');\n }\n }\n\n &__close {\n flex-shrink: 0;\n\n @include mq($from: small) {\n margin-left: space('small');\n }\n }\n\n &__close {\n @include button-invert(var(--hover-close-color));\n\n position: absolute;\n top: 0;\n right: 0;\n }\n\n /* Has close button */\n\n &--has-close-button {\n padding-right: spaceCurveValue('big');\n\n @include mq($from: small) {\n @include spaceCurve('padding-right', 'regular');\n }\n }\n}\n","import {\n Component,\n Host,\n h,\n Element,\n Prop,\n Event,\n EventEmitter,\n Method,\n Watch,\n State\n} from \"@stencil/core\";\n\nimport Cookie from \"js-cookie\";\n\nimport { StzhGhettoboxOpenEvent, StzhGhettoboxCloseEvent } from \"../../index\";\n\nimport { setPropsIfNull } from \"../../utils/utils\";\nimport { fetchTranslations } from \"../../utils/translation-utils\";\nimport { StzhGhettoboxLocalizedText } from \"./stzh-ghettobox.localization\"\n\nconst KEY_PREFIX_CLOSE_TIME = \"stzh-components-ghettobox-close-time\";\n\n/**\n * @slot - Slot for description content (use instead of description property)\n * @prop --background-color: Set background and button text hover color\n */\n@Component({\n tag: \"stzh-ghettobox\",\n styleUrl: \"stzh-ghettobox.scss\",\n scoped: true\n})\nexport class StzhGhettobox {\n /** Overwrite hidden h1 title */\n @Prop() hiddenTitle: string = \"\";\n\n /** Main title */\n @Prop() mainTitle: string = \"\";\n\n /** Description */\n @Prop() description: string = \"\";\n\n /** Hide close button */\n @Prop() hideClose: boolean = false;\n\n /**\n * Publish date for ghettobox.\n * If user hasn't closed it yet or closed before this date\n * (cookie check), it will be shown.\n */\n @Prop() publishDate: string | Date;\n private _publishDate: Date;\n\n /**\n * Name of cookie to compare its value with set `publishDate`\n * to determine if ghettobox was already closed before by the user.\n * If empty (\"\"), no check is done and ghettobox\n * will always be shown again after a refresh.\n * Cookie name will be prefixed with `stzh-components-ghettobox-close-time`.\n */\n @Prop() closeTimeKey: string = \"global-alert\";\n\n /** Translation strings */\n @Prop() localization: StzhGhettoboxLocalizedText;\n\n /** Ghettobox open event */\n @Event() stzhOpen: EventEmitter<StzhGhettoboxOpenEvent>;\n\n /** Ghettobox close event */\n @Event() stzhClose: EventEmitter<StzhGhettoboxCloseEvent>;\n\n @Element() element: HTMLStzhGhettoboxElement;\n\n /** Open state */\n @State() open: boolean = true;\n\n @Watch(\"publishDate\")\n publishDateWatcher(newValue: string | Date) {\n if (typeof newValue === \"string\") {\n this._publishDate = new Date(newValue);\n } else {\n this._publishDate = newValue;\n }\n\n if (this.closeTimeKey && this._publishDate) {\n const timeClosed = Cookie.get(`${KEY_PREFIX_CLOSE_TIME}-${this.closeTimeKey}`);\n if (timeClosed && Number(timeClosed) >= this._publishDate.getTime()) {\n this.hide(false);\n }\n }\n }\n\n @Method()\n async show() {\n this.open = true;\n this.stzhOpen.emit({\n component: \"stzh-ghettobox\"\n })\n }\n\n @Method()\n async hide(setCloseKey: boolean = true) {\n this.open = false;\n this.stzhClose.emit({\n component: \"stzh-ghettobox\"\n });\n\n if (this.closeTimeKey && setCloseKey) {\n Cookie.set(`${KEY_PREFIX_CLOSE_TIME}-${this.closeTimeKey}`, Date.now().toString());\n }\n }\n\n private observer: MutationObserver;\n\n private onCloseButtonClick = () => {\n this.hide();\n }\n\n private init = () => {\n const button = this.element.querySelector('stzh-button[slot=\"button\"]');\n\n if (button) {\n setPropsIfNull(button, {\n size: \"small\",\n variant: \"secondary\",\n effect: \"cta\",\n icon: \"arrow-right-long\",\n iconPosition: \"right\"\n } as HTMLStzhButtonElement)\n }\n }\n\n async componentWillLoad() {\n this.publishDateWatcher(this.publishDate);\n\n if (!this.localization) {\n this.localization = await fetchTranslations(this.element, \"ghettobox\");\n }\n }\n\n connectedCallback() {\n this.init();\n\n this.observer = new MutationObserver(this.init);\n this.observer.observe(this.element, {\n childList: true,\n subtree: true\n });\n }\n\n disconnectedCallback() {\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n render() {\n const classes = {\n \"stzh-ghettobox\": true,\n \"stzh-ghettobox--has-close-button\": !this.hideClose\n };\n\n return (\n <Host hidden={!this.open}>\n <div class={classes}>\n <h1 class=\"stzh-ghettobox__hidden-title\">\n {this.hiddenTitle || this.localization.hiddenTitle}\n </h1>\n <div class=\"stzh-ghettobox__message\">\n <h2 class=\"stzh-ghettobox__main-title\">\n {this.mainTitle}\n </h2>\n <div class=\"stzh-ghettobox__description\">\n {this.description ? this.description : <slot></slot>}\n </div>\n <div class=\"stzh-ghettobox__button\">\n <slot name=\"button\"></slot>\n </div>\n </div>\n {!this.hideClose &&\n <stzh-button\n class=\"stzh-ghettobox__close\"\n onClick={this.onCloseButtonClick}\n a11yLabel={this.localization.close}\n variant=\"tertiary\"\n size=\"small\"\n iconOnly={true}\n icon=\"close\"\n ></stzh-button>\n }\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"swDAAA,IAAMA,iBAAmB,qmXCqBzB,IAAMC,sBAAwB,uC,IAWjBC,cAAa,W,8IAkFhBC,KAAAC,mBAAqB,WAC3BC,EAAKC,M,EAGCH,KAAAI,KAAO,WACb,IAAMC,EAASH,EAAKI,QAAQC,cAAc,8BAE1C,GAAIF,EAAQ,CACVG,eAAeH,EAAQ,CACrBI,KAAM,QACNC,QAAS,YACTC,OAAQ,MACRC,KAAM,mBACNC,aAAc,S,oBA7FU,G,eAGF,G,iBAGE,G,eAGD,M,6CAiBE,e,sCAcN,I,CAGzBC,EAAAC,UAAAC,mBAAA,SAAmBC,GACjB,UAAWA,IAAa,SAAU,CAChCjB,KAAKkB,aAAe,IAAIC,KAAKF,E,KACxB,CACLjB,KAAKkB,aAAeD,C,CAGtB,GAAIjB,KAAKoB,cAAgBpB,KAAKkB,aAAc,CAC1C,IAAMG,EAAaC,UAAOC,IAAI,GAAAC,OAAG1B,sBAAqB,KAAA0B,OAAIxB,KAAKoB,eAC/D,GAAIC,GAAcI,OAAOJ,IAAerB,KAAKkB,aAAaQ,UAAW,CACnE1B,KAAKG,KAAK,M,IAMVW,EAAAC,UAAAY,KAAN,W,qFACE3B,KAAK4B,KAAO,KACZ5B,KAAK6B,SAASC,KAAK,CACjBC,UAAW,mB,iBAKTjB,EAAAC,UAAAZ,KAAN,SAAW6B,GAAA,GAAAA,SAAA,GAAAA,EAAA,IAA2B,C,qFACpChC,KAAK4B,KAAO,MACZ5B,KAAKiC,UAAUH,KAAK,CAClBC,UAAW,mBAGb,GAAI/B,KAAKoB,cAAgBY,EAAa,CACpCV,UAAOY,IAAI,GAAAV,OAAG1B,sBAAqB,KAAA0B,OAAIxB,KAAKoB,cAAgBD,KAAKgB,MAAMC,W,kBAwBrEtB,EAAAC,UAAAsB,kBAAN,W,kHACErC,KAAKgB,mBAAmBhB,KAAKsC,a,KAExBtC,KAAKuC,aAAN,YACFC,EAAAxC,KAAoB,SAAMyC,kBAAkBzC,KAAKM,QAAS,c,OAA1DkC,EAAKD,aAAeG,EAAAC,O,mCAIxB7B,EAAAC,UAAA6B,kBAAA,WACE5C,KAAKI,OAELJ,KAAK6C,SAAW,IAAIC,iBAAiB9C,KAAKI,MAC1CJ,KAAK6C,SAASE,QAAQ/C,KAAKM,QAAS,CAClC0C,UAAW,KACXC,QAAS,M,EAIbnC,EAAAC,UAAAmC,qBAAA,WACE,GAAIlD,KAAK6C,SAAU,CACjB7C,KAAK6C,SAASM,Y,GAIlBrC,EAAAC,UAAAqC,OAAA,WACE,IAAMC,EAAU,CACd,iBAAkB,KAClB,oCAAqCrD,KAAKsD,WAG5C,OACEC,EAACC,KAAI,CAACC,QAASzD,KAAK4B,MAClB2B,EAAA,OAAKG,MAAOL,GACVE,EAAA,MAAIG,MAAM,gCACP1D,KAAK2D,aAAe3D,KAAKuC,aAAaoB,aAEzCJ,EAAA,OAAKG,MAAM,2BACTH,EAAA,MAAIG,MAAM,8BACP1D,KAAK4D,WAERL,EAAA,OAAKG,MAAM,+BACR1D,KAAK6D,YAAc7D,KAAK6D,YAAcN,EAAA,cAEzCA,EAAA,OAAKG,MAAM,0BACTH,EAAA,QAAMO,KAAK,cAGb9D,KAAKsD,WACLC,EAAA,eACEG,MAAM,wBACNK,QAAS/D,KAAKC,mBACd+D,UAAWhE,KAAKuC,aAAa0B,MAC7BvD,QAAQ,WACRD,KAAK,QACLyD,SAAU,KACVtD,KAAK,W,yQA3JO,G"}
@@ -1,2 +1,2 @@
1
- var __awaiter=this&&this.__awaiter||function(e,a,t,s){function r(e){return e instanceof t?e:new t((function(a){a(e)}))}return new(t||(t=Promise))((function(t,i){function n(e){try{o(s.next(e))}catch(e){i(e)}}function h(e){try{o(s["throw"](e))}catch(e){i(e)}}function o(e){e.done?t(e.value):r(e.value).then(n,h)}o((s=s.apply(e,a||[])).next())}))};var __generator=this&&this.__generator||function(e,a){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},s,r,i,n;return n={next:h(0),throw:h(1),return:h(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function h(e){return function(a){return o([e,a])}}function o(h){if(s)throw new TypeError("Generator is already executing.");while(n&&(n=0,h[0]&&(t=0)),t)try{if(s=1,r&&(i=h[0]&2?r["return"]:h[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,h[1])).done)return i;if(r=0,i)h=[h[0]&2,i.value];switch(h[0]){case 0:case 1:i=h;break;case 4:t.label++;return{value:h[1],done:false};case 5:t.label++;r=h[1];h=[0];continue;case 7:h=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(h[0]===6||h[0]===2)){t=0;continue}if(h[0]===3&&(!i||h[1]>i[0]&&h[1]<i[3])){t.label=h[1];break}if(h[0]===6&&t.label<i[1]){t.label=i[1];i=h;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(h);break}if(i[2])t.ops.pop();t.trys.pop();continue}h=a.call(e,t)}catch(e){h=[6,e];r=0}finally{s=i=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:true}}};import{r as registerInstance,e as readTask,w as writeTask,h,a as Host,g as getElement}from"./index-67fd55c9.js";import{h as hasSlot}from"./utils-51148d9a.js";import{m as media}from"./media-utils-9b041ceb.js";var stzhHeaderCss=".sc-stzh-header-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-header-h{display:none}.sc-stzh-header-h *.sc-stzh-header,.sc-stzh-header-h *.sc-stzh-header::before,.sc-stzh-header-h *.sc-stzh-header::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}@-webkit-keyframes stzh-header-open{from{-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{-webkit-transform:translateY(0%);transform:translateY(0%)}}@keyframes stzh-header-open{from{-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{-webkit-transform:translateY(0%);transform:translateY(0%)}}@-webkit-keyframes stzh-header-close{from{-webkit-transform:translateY(0%);transform:translateY(0%)}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes stzh-header-close{from{-webkit-transform:translateY(0%);transform:translateY(0%)}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}.sc-stzh-header-h .sc-stzh-header-s>img[slot=logo]{width:auto;height:100%}.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login]{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover,.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover__trigger{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover .stzh-popover__trigger stzh-button .stzh-button{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);height:auto}@media screen and (max-width: 799px){.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover .stzh-popover__trigger stzh-button .stzh-button{border-radius:0;height:100%}}@media screen and (max-width: 799px){.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover .stzh-popover__trigger stzh-button .stzh-button__badge{top:0.5rem;right:0.4375rem}}.header__inner.sc-stzh-header{-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)}.header__main.sc-stzh-header{position:relative;z-index:var(--stzh-z-index-header);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative;-webkit-box-shadow:var(--stzh-box-shadow-header);box-shadow:var(--stzh-box-shadow-header);background-color:var(--stzh-color-white);-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 (min-width: 800px){.header__main.sc-stzh-header{-webkit-box-shadow:none;box-shadow:none;-ms-flex-direction:column-reverse;flex-direction:column-reverse;border-bottom:0.0625rem solid var(--stzh-base-border-color);padding-top:4rem}@supports ((position: -webkit-sticky) or (position: sticky)){.header__main.sc-stzh-header{padding-top:0}}}.header__metabar.sc-stzh-header{border-top:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 800px){.header__metabar.sc-stzh-header{border-top:none;background-color:var(--stzh-color-grey5);z-index:1;position:absolute;top:0;left:0;right:0}@supports ((position: -webkit-sticky) or (position: sticky)){.header__metabar.sc-stzh-header{position:-webkit-sticky;position:sticky}}}.header__metabar-inner.sc-stzh-header{margin:0 1.25rem;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;height:3rem}@media screen and (min-width: 600px){.header__metabar-inner.sc-stzh-header{margin:0 2rem}}@media screen and (min-width: 1024px){.header__metabar-inner.sc-stzh-header{margin:0 2.5rem}}@media screen and (min-width: 1260px){.header__metabar-inner.sc-stzh-header{margin:0 5.5rem}}@media screen and (min-width: 1440px){.header__metabar-inner.sc-stzh-header{margin:0 auto;width:78.75rem}}@media screen and (max-width: 799px){.header__metabar-inner.sc-stzh-header{margin:0 auto}}@media screen and (min-width: 800px){.header__metabar-inner.sc-stzh-header{-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center;height:4rem}}.header__metabar-nav.sc-stzh-header,.header__metabar-langnav.sc-stzh-header{display:none}@media screen and (min-width: 800px){.header__metabar-nav.sc-stzh-header,.header__metabar-langnav.sc-stzh-header{display:-ms-inline-flexbox;display:inline-flex}}.header__metabar-login.sc-stzh-header{display:-ms-flexbox;display:flex;-ms-flex-preferred-size:50%;flex-basis:50%}@media screen and (min-width: 800px){.header__metabar-login.sc-stzh-header:not(:empty){-ms-flex-preferred-size:auto;flex-basis:auto;margin-left:var(--stzh-space-small)}}@media screen and (min-width: 800px){.header__metabar-langnav.sc-stzh-header:not(:empty){margin-left:var(--stzh-space-medium)}}.header__logobar.sc-stzh-header{display:-ms-flexbox;display:flex;background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.header__logobar-logo.sc-stzh-header{-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-flexbox;display:flex;background-color:var(--stzh-color-white);overflow:hidden;width:calc(100% - 3rem - 0.0625rem)}@media screen and (min-width: 800px){.header__logobar-logo.sc-stzh-header{width:25rem}}@media screen and (min-width: 1260px){.header__logobar-logo.sc-stzh-header{width:28.75rem}}@media screen and (min-width: 1440px){.header__logobar-logo.sc-stzh-header{padding-left:calc((100vw - 78.75rem - var(--stzh-scrollbar-width, 0px)) / 2)}}.header__logo-link.sc-stzh-header{-ms-flex-positive:1;flex-grow:1;display:-ms-inline-flexbox;display:inline-flex;height:4.75rem;padding:var(--stzh-space-medium);padding-left:1.25rem;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed)}@media screen and (min-width: 600px){.header__logo-link.sc-stzh-header{padding-left:2rem}}@media screen and (min-width: 800px){.header__logo-link.sc-stzh-header{height:5.625rem}}@media screen and (min-width: 1260px){.header__logo-link.sc-stzh-header{height:7.5rem;padding:var(--stzh-space-large);padding-left:5.5rem}}@media screen and (min-width: 1440px){.header__logo-link.sc-stzh-header{padding-left:0}}.header__appnav.sc-stzh-header{position:fixed;left:0;right:0;bottom:0;z-index:calc(var(--stzh-z-index-header) - 1);-webkit-box-shadow:var(--stzh-box-shadow-header);box-shadow:var(--stzh-box-shadow-header);background-color:var(--stzh-color-white)}@media screen and (min-width: 600px){.header__appnav.sc-stzh-header{position:static;-webkit-box-shadow:none;box-shadow:none}}@media screen and (min-width: 600px){.header__appnav-inner.sc-stzh-header{margin:0 1.25rem}}@media screen and (min-width: 600px) and (min-width: 600px){.header__appnav-inner.sc-stzh-header{margin:0 2rem}}@media screen and (min-width: 600px) and (min-width: 1024px){.header__appnav-inner.sc-stzh-header{margin:0 2.5rem}}@media screen and (min-width: 600px) and (min-width: 1260px){.header__appnav-inner.sc-stzh-header{margin:0 5.5rem}}@media screen and (min-width: 600px) and (min-width: 1440px){.header__appnav-inner.sc-stzh-header{margin:0 auto;width:78.75rem}}.header--hide-logo.sc-stzh-header .header__logo-link.sc-stzh-header{opacity:0}@media screen and (max-width: 799px){.header--has-empty-metabar-mobile.sc-stzh-header .header__metabar.sc-stzh-header{display:none}}.header--has-empty-metabar.sc-stzh-header .header__metabar.sc-stzh-header{display:none}@media screen and (max-width: 799px){.header--has-metabar-stay.sc-stzh-header .header__metabar-langnav.sc-stzh-header{display:-ms-inline-flexbox;display:inline-flex}}@media screen and (max-width: 799px){.header--has-metabar-stay.sc-stzh-header .header__metabar-nav.sc-stzh-header{display:-ms-inline-flexbox;display:inline-flex}}@media screen and (max-width: 799px){.header--has-metabar-stay.sc-stzh-header .header__main.sc-stzh-header{-webkit-box-shadow:none;box-shadow:none;-ms-flex-direction:column-reverse;flex-direction:column-reverse;border-bottom:0.0625rem solid var(--stzh-base-border-color)}}@media screen and (max-width: 799px){.header--has-metabar-stay.sc-stzh-header .header__metabar.sc-stzh-header{display:block;border-top:none;background-color:var(--stzh-color-grey5)}}@media screen and (max-width: 799px){.header--has-metabar-stay.sc-stzh-header .header__metabar-inner.sc-stzh-header{margin:0 1.25rem;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center}}@media screen and (max-width: 799px) and (min-width: 600px){.header--has-metabar-stay.sc-stzh-header .header__metabar-inner.sc-stzh-header{margin:0 2rem}}@media screen and (max-width: 799px) and (min-width: 1024px){.header--has-metabar-stay.sc-stzh-header .header__metabar-inner.sc-stzh-header{margin:0 2.5rem}}@media screen and (max-width: 799px) and (min-width: 1260px){.header--has-metabar-stay.sc-stzh-header .header__metabar-inner.sc-stzh-header{margin:0 5.5rem}}@media screen and (max-width: 799px) and (min-width: 1440px){.header--has-metabar-stay.sc-stzh-header .header__metabar-inner.sc-stzh-header{margin:0 auto;width:78.75rem}}@media screen and (min-width: 800px){.header--sticky-metabar.sc-stzh-header:not(.header--sticky):not(.header--is-sticky-disabled) .header__metabar.sc-stzh-header{position:fixed}}@media screen and (min-width: 600px){.header--sticky.sc-stzh-header .header__inner.sc-stzh-header{-webkit-animation:stzh-header-open var(--stzh-base-transition-animation-speed);animation:stzh-header-open var(--stzh-base-transition-animation-speed);z-index:var(--stzh-z-index-header);position:fixed;top:0;left:0;right:0;margin:0;-webkit-box-shadow:var(--stzh-box-shadow-header);box-shadow:var(--stzh-box-shadow-header)}}@media screen and (max-width: 599px){.header--sticky.sc-stzh-header .header__main.sc-stzh-header{-webkit-animation:stzh-header-open var(--stzh-base-transition-animation-speed);animation:stzh-header-open var(--stzh-base-transition-animation-speed);z-index:var(--stzh-z-index-header);position:fixed;top:0;left:0;right:0;margin:0}}@media screen and (min-width: 600px){.header--sticky.sc-stzh-header .header__main.sc-stzh-header{-webkit-box-shadow:none;box-shadow:none}}@media screen and (max-width: 799px){.header--sticky.sc-stzh-header .header__appnav.sc-stzh-header{border-top:0.0625rem solid var(--stzh-base-border-color)}}.header--sticky.sc-stzh-header .header__metabar.sc-stzh-header{border-top:none}.header--sticky.header--has-empty-metabar.sc-stzh-header .header__metabar.sc-stzh-header{display:none}@media screen and (min-width: 600px){.header--sticky.header--has-empty-metabar.sc-stzh-header:not(.header--has-appnav) .header__main.sc-stzh-header{border-bottom:none}}.header--sticky.sc-stzh-header .header__logobar.sc-stzh-header{display:none}@media screen and (max-width: 599px){.header--sticky.header--has-metabar-stay.sc-stzh-header .header__main.sc-stzh-header{-webkit-box-shadow:var(--stzh-box-shadow-header);box-shadow:var(--stzh-box-shadow-header)}}@media screen and (min-width: 600px){.header--sticky-closing.sc-stzh-header .header__inner.sc-stzh-header{-webkit-animation:stzh-header-close var(--stzh-base-transition-animation-speed);animation:stzh-header-close var(--stzh-base-transition-animation-speed)}}@media screen and (max-width: 599px){.header--sticky-closing.sc-stzh-header .header__main.sc-stzh-header{-webkit-animation:stzh-header-close var(--stzh-base-transition-animation-speed);animation:stzh-header-close var(--stzh-base-transition-animation-speed)}}@media screen and (min-width: 800px){@supports ((position: -webkit-sticky) or (position: sticky)){.header--is-sticky-disabled.sc-stzh-header .header__main.sc-stzh-header{padding-top:4rem}}}@media screen and (min-width: 800px){@supports ((position: -webkit-sticky) or (position: sticky)){.header--is-sticky-disabled.sc-stzh-header .header__metabar.sc-stzh-header{position:absolute}}}";var StzhHeader=function(){function e(e){var a=this;registerInstance(this,e);this.handleResize=function(){if(a.stickyDisabled){return}if(a.debounceResize){window.cancelAnimationFrame(a.debounceResize)}a.debounceResize=requestAnimationFrame((function(){readTask((function(){a.isSmall=media("small").matches;a.isSmallheader=media("smallheader").matches;a.headerTop=a.element.offsetTop;a.headerHeight=a.element.offsetHeight;a.appnavHeight=a.appnavElement?a.appnavElement.offsetHeight:0;a.metabarHeight=a.metabarElement?a.metabarElement.offsetHeight:0}));writeTask((function(){if(a.appnavHeight&&!a.isSmall&&!a.preventAppnavPlaceholder){a.appnavPlaceholderElement.style.height="".concat(a.appnavHeight,"px")}else{a.appnavPlaceholderElement.style.height="0px"}}));a.scrollListener()}))};this.href="https://www.stadt-zuerich.ch";this.metabarStay=false;this.stickyDisabled=false;this.preventAppnavPlaceholder=false;this.logoAnalyticsId=undefined;this.hideLogo=false;this.paddingTop=undefined;this.metabarTransform=undefined;this.sticky=false;this.stickyClosing=false;this.stickyMetabar=false;this.stickyMetabarEnd=false}e.prototype.updatePosition=function(){return __awaiter(this,void 0,void 0,(function(){var e,a;var t=this;return __generator(this,(function(s){if(this.stickyDisabled){return[2]}e=function(){t.sticky=false;t.stickyClosing=false;t.paddingTop=0};if(this.scrollingUp&&this.belowStayStickyPoint){if(!this.sticky&&this.belowStartStickyPoint){this.paddingTop=this.headerHeight;this.sticky=true}this.updateMetabarPosition()}else{if(this.sticky&&this.belowStayStickyPoint){a=function(){e();t.updateMetabarPosition();t.innerElement.removeEventListener("animationend",a)};this.innerElement.addEventListener("animationend",a);this.stickyClosing=true}else{e();this.updateMetabarPosition()}}return[2]}))}))};e.prototype.scrollListener=function(){var e=this;if(this.stickyDisabled){return}readTask((function(){e.scrollTop=e.getScrollTop();e.scrollingUp=e.lastScrollTop&&e.lastScrollTop>e.scrollTop;e.lastScrollTop=e.scrollTop;e.innerHeight=e.innerElement?e.innerElement.offsetHeight:0;e.mainHeight=e.mainElement?e.mainElement.offsetHeight:0;e.logobarHeight=e.sticky?e.isSmall?e.headerHeight-e.innerHeight:e.headerHeight-e.mainHeight:e.logobarElement?e.logobarElement.offsetHeight:0;e.belowStayStickyPoint=e.scrollTop>e.logobarHeight;e.belowStartStickyPoint=e.scrollTop>e.headerHeight;e.headerOverlap=(e.headerTop-e.scrollTop)/-1;e.hideLogo=e.isSmallheader&&e.headerOverlap>10}));writeTask((function(){e.updatePosition()}))};e.prototype.getScrollTop=function(){return window.pageYOffset||document.documentElement.scrollTop};e.prototype.updateMetabarPosition=function(){if(!this.metabarElement||this.stickyDisabled){return}if(CSS&&CSS.supports&&CSS.supports("position","sticky")){return}if(this.isSmallheader&&this.headerOverlap>0&&!this.sticky&&!this.stickyClosing){if(this.headerOverlap<this.mainHeight-this.metabarHeight){this.stickyMetabar=true;this.stickyMetabarEnd=false;this.metabarTransform="translateY(0)"}else{this.stickyMetabar=false;this.stickyMetabarEnd=true;this.metabarTransform="translateY(".concat(this.logobarHeight,"px)")}}else{this.stickyMetabar=false;this.stickyMetabarEnd=false;this.metabarTransform="translateY(0)"}};e.prototype.connectedCallback=function(){this.appnavPlaceholderElement=document.createElement("div");this.element.parentElement.appendChild(this.appnavPlaceholderElement);this.resizeObserver=new ResizeObserver(this.handleResize);this.resizeObserver.observe(this.element)};e.prototype.disconnectedCallback=function(){this.appnavPlaceholderElement.parentElement.removeChild(this.appnavPlaceholderElement);if(this.resizeObserver){this.resizeObserver.disconnect()}};e.prototype.render=function(){var e=this;var a=hasSlot(this.element,"nav");var t=hasSlot(this.element,"login");var s=hasSlot(this.element,"appnav");var r=hasSlot(this.element,"langnav");var i={header:true,"header--is-sticky-disabled":this.stickyDisabled,"header--sticky":this.sticky,"header--sticky-closing":this.stickyClosing,"header--hide-logo":this.hideLogo,"header--sticky-metabar":this.stickyMetabar,"header--sticky-metabar-end":this.stickyMetabarEnd,"header--has-metabar-stay":this.metabarStay,"header--has-empty-metabar-mobile":!t,"header--has-empty-metabar":!t&&!r&&!a,"header--has-appnav":s};return h(Host,null,h("div",{style:{paddingTop:"".concat(this.paddingTop,"px")},class:i},h("div",{class:"header__inner",ref:function(a){return e.innerElement=a}},h("div",{class:"header__main",ref:function(a){return e.mainElement=a}},h("div",{class:"header__logobar",ref:function(a){return e.logobarElement=a}},h("div",{class:"header__logobar-logo"},h("a",{href:this.href,class:"header__logo-link","s-object-id":this.logoAnalyticsId||"Header Logo"},h("slot",{name:"logo"})))),h("div",{class:"header__metabar",style:{transform:this.metabarTransform},ref:function(a){return e.metabarElement=a}},h("div",{class:"header__metabar-inner"},h("div",{class:"header__metabar-nav"},h("slot",{name:"nav"})),h("div",{class:"header__metabar-login"},h("slot",{name:"login"})),h("div",{class:"header__metabar-langnav"},h("slot",{name:"langnav"}))))),h("div",{class:"header__appnav",ref:function(a){return e.appnavElement=a}},h("div",{class:"header__appnav-inner"},h("slot",{name:"appnav"}))))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();StzhHeader.style=stzhHeaderCss;export{StzhHeader as stzh_header};
1
+ var __awaiter=this&&this.__awaiter||function(e,a,t,s){function r(e){return e instanceof t?e:new t((function(a){a(e)}))}return new(t||(t=Promise))((function(t,i){function n(e){try{o(s.next(e))}catch(e){i(e)}}function h(e){try{o(s["throw"](e))}catch(e){i(e)}}function o(e){e.done?t(e.value):r(e.value).then(n,h)}o((s=s.apply(e,a||[])).next())}))};var __generator=this&&this.__generator||function(e,a){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},s,r,i,n;return n={next:h(0),throw:h(1),return:h(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function h(e){return function(a){return o([e,a])}}function o(h){if(s)throw new TypeError("Generator is already executing.");while(n&&(n=0,h[0]&&(t=0)),t)try{if(s=1,r&&(i=h[0]&2?r["return"]:h[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,h[1])).done)return i;if(r=0,i)h=[h[0]&2,i.value];switch(h[0]){case 0:case 1:i=h;break;case 4:t.label++;return{value:h[1],done:false};case 5:t.label++;r=h[1];h=[0];continue;case 7:h=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(h[0]===6||h[0]===2)){t=0;continue}if(h[0]===3&&(!i||h[1]>i[0]&&h[1]<i[3])){t.label=h[1];break}if(h[0]===6&&t.label<i[1]){t.label=i[1];i=h;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(h);break}if(i[2])t.ops.pop();t.trys.pop();continue}h=a.call(e,t)}catch(e){h=[6,e];r=0}finally{s=i=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:true}}};import{r as registerInstance,e as readTask,w as writeTask,h,a as Host,g as getElement}from"./index-67fd55c9.js";import{h as hasSlot}from"./utils-8f264f12.js";import{m as media}from"./media-utils-9b041ceb.js";var stzhHeaderCss=".sc-stzh-header-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-header-h{display:none}.sc-stzh-header-h *.sc-stzh-header,.sc-stzh-header-h *.sc-stzh-header::before,.sc-stzh-header-h *.sc-stzh-header::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}@-webkit-keyframes stzh-header-open{from{-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{-webkit-transform:translateY(0%);transform:translateY(0%)}}@keyframes stzh-header-open{from{-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{-webkit-transform:translateY(0%);transform:translateY(0%)}}@-webkit-keyframes stzh-header-close{from{-webkit-transform:translateY(0%);transform:translateY(0%)}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes stzh-header-close{from{-webkit-transform:translateY(0%);transform:translateY(0%)}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}.sc-stzh-header-h .sc-stzh-header-s>img[slot=logo]{width:auto;height:100%}.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login]{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover,.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover__trigger{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover .stzh-popover__trigger stzh-button .stzh-button{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);height:auto}@media screen and (max-width: 799px){.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover .stzh-popover__trigger stzh-button .stzh-button{border-radius:0;height:100%}}@media screen and (max-width: 799px){.sc-stzh-header-h .sc-stzh-header-s>stzh-popover[slot=login] .stzh-popover .stzh-popover__trigger stzh-button .stzh-button__badge{top:0.5rem;right:0.4375rem}}.header__inner.sc-stzh-header{-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)}.header__main.sc-stzh-header{position:relative;z-index:var(--stzh-z-index-header);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative;-webkit-box-shadow:var(--stzh-box-shadow-header);box-shadow:var(--stzh-box-shadow-header);background-color:var(--stzh-color-white);-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 (min-width: 800px){.header__main.sc-stzh-header{-webkit-box-shadow:none;box-shadow:none;-ms-flex-direction:column-reverse;flex-direction:column-reverse;border-bottom:0.0625rem solid var(--stzh-base-border-color);padding-top:4rem}@supports ((position: -webkit-sticky) or (position: sticky)){.header__main.sc-stzh-header{padding-top:0}}}.header__metabar.sc-stzh-header{border-top:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 800px){.header__metabar.sc-stzh-header{border-top:none;background-color:var(--stzh-color-grey5);z-index:1;position:absolute;top:0;left:0;right:0}@supports ((position: -webkit-sticky) or (position: sticky)){.header__metabar.sc-stzh-header{position:-webkit-sticky;position:sticky}}}.header__metabar-inner.sc-stzh-header{margin:0 1.25rem;display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;height:3rem}@media screen and (min-width: 600px){.header__metabar-inner.sc-stzh-header{margin:0 2rem}}@media screen and (min-width: 1024px){.header__metabar-inner.sc-stzh-header{margin:0 2.5rem}}@media screen and (min-width: 1260px){.header__metabar-inner.sc-stzh-header{margin:0 5.5rem}}@media screen and (min-width: 1440px){.header__metabar-inner.sc-stzh-header{margin:0 auto;width:78.75rem}}@media screen and (max-width: 799px){.header__metabar-inner.sc-stzh-header{margin:0 auto}}@media screen and (min-width: 800px){.header__metabar-inner.sc-stzh-header{-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center;height:4rem}}.header__metabar-nav.sc-stzh-header,.header__metabar-langnav.sc-stzh-header{display:none}@media screen and (min-width: 800px){.header__metabar-nav.sc-stzh-header,.header__metabar-langnav.sc-stzh-header{display:-ms-inline-flexbox;display:inline-flex}}.header__metabar-login.sc-stzh-header{display:-ms-flexbox;display:flex;-ms-flex-preferred-size:50%;flex-basis:50%}@media screen and (min-width: 800px){.header__metabar-login.sc-stzh-header:not(:empty){-ms-flex-preferred-size:auto;flex-basis:auto;margin-left:var(--stzh-space-small)}}@media screen and (min-width: 800px){.header__metabar-langnav.sc-stzh-header:not(:empty){margin-left:var(--stzh-space-medium)}}.header__logobar.sc-stzh-header{display:-ms-flexbox;display:flex;background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.header__logobar-logo.sc-stzh-header{-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-flexbox;display:flex;background-color:var(--stzh-color-white);overflow:hidden;width:calc(100% - 3rem - 0.0625rem)}@media screen and (min-width: 800px){.header__logobar-logo.sc-stzh-header{width:25rem}}@media screen and (min-width: 1260px){.header__logobar-logo.sc-stzh-header{width:28.75rem}}@media screen and (min-width: 1440px){.header__logobar-logo.sc-stzh-header{padding-left:calc((100vw - 78.75rem - var(--stzh-scrollbar-width, 0px)) / 2)}}.header__logo-link.sc-stzh-header{-ms-flex-positive:1;flex-grow:1;display:-ms-inline-flexbox;display:inline-flex;height:4.75rem;padding:var(--stzh-space-medium);padding-left:1.25rem;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed)}@media screen and (min-width: 600px){.header__logo-link.sc-stzh-header{padding-left:2rem}}@media screen and (min-width: 800px){.header__logo-link.sc-stzh-header{height:5.625rem}}@media screen and (min-width: 1260px){.header__logo-link.sc-stzh-header{height:7.5rem;padding:var(--stzh-space-large);padding-left:5.5rem}}@media screen and (min-width: 1440px){.header__logo-link.sc-stzh-header{padding-left:0}}.header__appnav.sc-stzh-header{position:fixed;left:0;right:0;bottom:0;z-index:calc(var(--stzh-z-index-header) - 1);-webkit-box-shadow:var(--stzh-box-shadow-header);box-shadow:var(--stzh-box-shadow-header);background-color:var(--stzh-color-white)}@media screen and (min-width: 600px){.header__appnav.sc-stzh-header{position:static;-webkit-box-shadow:none;box-shadow:none}}@media screen and (min-width: 600px){.header__appnav-inner.sc-stzh-header{margin:0 1.25rem}}@media screen and (min-width: 600px) and (min-width: 600px){.header__appnav-inner.sc-stzh-header{margin:0 2rem}}@media screen and (min-width: 600px) and (min-width: 1024px){.header__appnav-inner.sc-stzh-header{margin:0 2.5rem}}@media screen and (min-width: 600px) and (min-width: 1260px){.header__appnav-inner.sc-stzh-header{margin:0 5.5rem}}@media screen and (min-width: 600px) and (min-width: 1440px){.header__appnav-inner.sc-stzh-header{margin:0 auto;width:78.75rem}}.header--hide-logo.sc-stzh-header .header__logo-link.sc-stzh-header{opacity:0}@media screen and (max-width: 799px){.header--has-empty-metabar-mobile.sc-stzh-header .header__metabar.sc-stzh-header{display:none}}.header--has-empty-metabar.sc-stzh-header .header__metabar.sc-stzh-header{display:none}@media screen and (max-width: 799px){.header--has-metabar-stay.sc-stzh-header .header__metabar-langnav.sc-stzh-header{display:-ms-inline-flexbox;display:inline-flex}}@media screen and (max-width: 799px){.header--has-metabar-stay.sc-stzh-header .header__metabar-nav.sc-stzh-header{display:-ms-inline-flexbox;display:inline-flex}}@media screen and (max-width: 799px){.header--has-metabar-stay.sc-stzh-header .header__main.sc-stzh-header{-webkit-box-shadow:none;box-shadow:none;-ms-flex-direction:column-reverse;flex-direction:column-reverse;border-bottom:0.0625rem solid var(--stzh-base-border-color)}}@media screen and (max-width: 799px){.header--has-metabar-stay.sc-stzh-header .header__metabar.sc-stzh-header{display:block;border-top:none;background-color:var(--stzh-color-grey5)}}@media screen and (max-width: 799px){.header--has-metabar-stay.sc-stzh-header .header__metabar-inner.sc-stzh-header{margin:0 1.25rem;-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:center;align-items:center}}@media screen and (max-width: 799px) and (min-width: 600px){.header--has-metabar-stay.sc-stzh-header .header__metabar-inner.sc-stzh-header{margin:0 2rem}}@media screen and (max-width: 799px) and (min-width: 1024px){.header--has-metabar-stay.sc-stzh-header .header__metabar-inner.sc-stzh-header{margin:0 2.5rem}}@media screen and (max-width: 799px) and (min-width: 1260px){.header--has-metabar-stay.sc-stzh-header .header__metabar-inner.sc-stzh-header{margin:0 5.5rem}}@media screen and (max-width: 799px) and (min-width: 1440px){.header--has-metabar-stay.sc-stzh-header .header__metabar-inner.sc-stzh-header{margin:0 auto;width:78.75rem}}@media screen and (min-width: 800px){.header--sticky-metabar.sc-stzh-header:not(.header--sticky):not(.header--is-sticky-disabled) .header__metabar.sc-stzh-header{position:fixed}}@media screen and (min-width: 600px){.header--sticky.sc-stzh-header .header__inner.sc-stzh-header{-webkit-animation:stzh-header-open var(--stzh-base-transition-animation-speed);animation:stzh-header-open var(--stzh-base-transition-animation-speed);z-index:var(--stzh-z-index-header);position:fixed;top:0;left:0;right:0;margin:0;-webkit-box-shadow:var(--stzh-box-shadow-header);box-shadow:var(--stzh-box-shadow-header)}}@media screen and (max-width: 599px){.header--sticky.sc-stzh-header .header__main.sc-stzh-header{-webkit-animation:stzh-header-open var(--stzh-base-transition-animation-speed);animation:stzh-header-open var(--stzh-base-transition-animation-speed);z-index:var(--stzh-z-index-header);position:fixed;top:0;left:0;right:0;margin:0}}@media screen and (min-width: 600px){.header--sticky.sc-stzh-header .header__main.sc-stzh-header{-webkit-box-shadow:none;box-shadow:none}}@media screen and (max-width: 799px){.header--sticky.sc-stzh-header .header__appnav.sc-stzh-header{border-top:0.0625rem solid var(--stzh-base-border-color)}}.header--sticky.sc-stzh-header .header__metabar.sc-stzh-header{border-top:none}.header--sticky.header--has-empty-metabar.sc-stzh-header .header__metabar.sc-stzh-header{display:none}@media screen and (min-width: 600px){.header--sticky.header--has-empty-metabar.sc-stzh-header:not(.header--has-appnav) .header__main.sc-stzh-header{border-bottom:none}}.header--sticky.sc-stzh-header .header__logobar.sc-stzh-header{display:none}@media screen and (max-width: 599px){.header--sticky.header--has-metabar-stay.sc-stzh-header .header__main.sc-stzh-header{-webkit-box-shadow:var(--stzh-box-shadow-header);box-shadow:var(--stzh-box-shadow-header)}}@media screen and (min-width: 600px){.header--sticky-closing.sc-stzh-header .header__inner.sc-stzh-header{-webkit-animation:stzh-header-close var(--stzh-base-transition-animation-speed);animation:stzh-header-close var(--stzh-base-transition-animation-speed)}}@media screen and (max-width: 599px){.header--sticky-closing.sc-stzh-header .header__main.sc-stzh-header{-webkit-animation:stzh-header-close var(--stzh-base-transition-animation-speed);animation:stzh-header-close var(--stzh-base-transition-animation-speed)}}@media screen and (min-width: 800px){@supports ((position: -webkit-sticky) or (position: sticky)){.header--is-sticky-disabled.sc-stzh-header .header__main.sc-stzh-header{padding-top:4rem}}}@media screen and (min-width: 800px){@supports ((position: -webkit-sticky) or (position: sticky)){.header--is-sticky-disabled.sc-stzh-header .header__metabar.sc-stzh-header{position:absolute}}}";var StzhHeader=function(){function e(e){var a=this;registerInstance(this,e);this.handleResize=function(){if(a.stickyDisabled){return}if(a.debounceResize){window.cancelAnimationFrame(a.debounceResize)}a.debounceResize=requestAnimationFrame((function(){readTask((function(){a.isSmall=media("small").matches;a.isSmallheader=media("smallheader").matches;a.headerTop=a.element.offsetTop;a.headerHeight=a.element.offsetHeight;a.appnavHeight=a.appnavElement?a.appnavElement.offsetHeight:0;a.metabarHeight=a.metabarElement?a.metabarElement.offsetHeight:0}));writeTask((function(){if(a.appnavHeight&&!a.isSmall&&!a.preventAppnavPlaceholder){a.appnavPlaceholderElement.style.height="".concat(a.appnavHeight,"px")}else{a.appnavPlaceholderElement.style.height="0px"}}));a.scrollListener()}))};this.href="https://www.stadt-zuerich.ch";this.metabarStay=false;this.stickyDisabled=false;this.preventAppnavPlaceholder=false;this.logoAnalyticsId=undefined;this.hideLogo=false;this.paddingTop=undefined;this.metabarTransform=undefined;this.sticky=false;this.stickyClosing=false;this.stickyMetabar=false;this.stickyMetabarEnd=false}e.prototype.updatePosition=function(){return __awaiter(this,void 0,void 0,(function(){var e,a;var t=this;return __generator(this,(function(s){if(this.stickyDisabled){return[2]}e=function(){t.sticky=false;t.stickyClosing=false;t.paddingTop=0};if(this.scrollingUp&&this.belowStayStickyPoint){if(!this.sticky&&this.belowStartStickyPoint){this.paddingTop=this.headerHeight;this.sticky=true}this.updateMetabarPosition()}else{if(this.sticky&&this.belowStayStickyPoint){a=function(){e();t.updateMetabarPosition();t.innerElement.removeEventListener("animationend",a)};this.innerElement.addEventListener("animationend",a);this.stickyClosing=true}else{e();this.updateMetabarPosition()}}return[2]}))}))};e.prototype.scrollListener=function(){var e=this;if(this.stickyDisabled){return}readTask((function(){e.scrollTop=e.getScrollTop();e.scrollingUp=e.lastScrollTop&&e.lastScrollTop>e.scrollTop;e.lastScrollTop=e.scrollTop;e.innerHeight=e.innerElement?e.innerElement.offsetHeight:0;e.mainHeight=e.mainElement?e.mainElement.offsetHeight:0;e.logobarHeight=e.sticky?e.isSmall?e.headerHeight-e.innerHeight:e.headerHeight-e.mainHeight:e.logobarElement?e.logobarElement.offsetHeight:0;e.belowStayStickyPoint=e.scrollTop>e.logobarHeight;e.belowStartStickyPoint=e.scrollTop>e.headerHeight;e.headerOverlap=(e.headerTop-e.scrollTop)/-1;e.hideLogo=e.isSmallheader&&e.headerOverlap>10}));writeTask((function(){e.updatePosition()}))};e.prototype.getScrollTop=function(){return window.pageYOffset||document.documentElement.scrollTop};e.prototype.updateMetabarPosition=function(){if(!this.metabarElement||this.stickyDisabled){return}if(CSS&&CSS.supports&&CSS.supports("position","sticky")){return}if(this.isSmallheader&&this.headerOverlap>0&&!this.sticky&&!this.stickyClosing){if(this.headerOverlap<this.mainHeight-this.metabarHeight){this.stickyMetabar=true;this.stickyMetabarEnd=false;this.metabarTransform="translateY(0)"}else{this.stickyMetabar=false;this.stickyMetabarEnd=true;this.metabarTransform="translateY(".concat(this.logobarHeight,"px)")}}else{this.stickyMetabar=false;this.stickyMetabarEnd=false;this.metabarTransform="translateY(0)"}};e.prototype.connectedCallback=function(){this.appnavPlaceholderElement=document.createElement("div");this.element.parentElement.appendChild(this.appnavPlaceholderElement);this.resizeObserver=new ResizeObserver(this.handleResize);this.resizeObserver.observe(this.element)};e.prototype.disconnectedCallback=function(){this.appnavPlaceholderElement.parentElement.removeChild(this.appnavPlaceholderElement);if(this.resizeObserver){this.resizeObserver.disconnect()}};e.prototype.render=function(){var e=this;var a=hasSlot(this.element,"nav");var t=hasSlot(this.element,"login");var s=hasSlot(this.element,"appnav");var r=hasSlot(this.element,"langnav");var i={header:true,"header--is-sticky-disabled":this.stickyDisabled,"header--sticky":this.sticky,"header--sticky-closing":this.stickyClosing,"header--hide-logo":this.hideLogo,"header--sticky-metabar":this.stickyMetabar,"header--sticky-metabar-end":this.stickyMetabarEnd,"header--has-metabar-stay":this.metabarStay,"header--has-empty-metabar-mobile":!t,"header--has-empty-metabar":!t&&!r&&!a,"header--has-appnav":s};return h(Host,null,h("div",{style:{paddingTop:"".concat(this.paddingTop,"px")},class:i},h("div",{class:"header__inner",ref:function(a){return e.innerElement=a}},h("div",{class:"header__main",ref:function(a){return e.mainElement=a}},h("div",{class:"header__logobar",ref:function(a){return e.logobarElement=a}},h("div",{class:"header__logobar-logo"},h("a",{href:this.href,class:"header__logo-link","s-object-id":this.logoAnalyticsId||"Header Logo"},h("slot",{name:"logo"})))),h("div",{class:"header__metabar",style:{transform:this.metabarTransform},ref:function(a){return e.metabarElement=a}},h("div",{class:"header__metabar-inner"},h("div",{class:"header__metabar-nav"},h("slot",{name:"nav"})),h("div",{class:"header__metabar-login"},h("slot",{name:"login"})),h("div",{class:"header__metabar-langnav"},h("slot",{name:"langnav"}))))),h("div",{class:"header__appnav",ref:function(a){return e.appnavElement=a}},h("div",{class:"header__appnav-inner"},h("slot",{name:"appnav"}))))))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();StzhHeader.style=stzhHeaderCss;export{StzhHeader as stzh_header};
2
2
  //# sourceMappingURL=stzh-header.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as registerInstance,h,a as Host}from"./index-67fd55c9.js";var stzhHspaceCss=':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;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}:host{--h-space:var(--stzh-space-default);--h-around:0;display:-ms-flexbox;display:flex;clear:both}:host::after{content:"";display:table;clear:both}:host ::slotted(*){max-width:100%;padding-left:calc(var(--h-space) * var(--h-around));padding-right:calc(var(--h-space) * var(--h-around));margin:0}:host ::slotted(*:not(:last-child)){margin-right:calc(var(--h-space) * (1 - var(--h-around)))}:host ::slotted(stzh-vspace),:host ::slotted(stzh-hspace),:host ::slotted(stzh-row),:host ::slotted(stzh-container),:host ::slotted(stzh-section){-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-positive:1;flex-grow:1}:host(:empty){--h-around:1;width:var(--h-space)}:host([around]:not([around=false])){--h-around:1}:host([border=left]),:host([border=left-right]){border-left:0.0625rem solid var(--stzh-base-border-color)}:host([border=right]),:host([border=left-right]){border-right:0.0625rem solid var(--stzh-base-border-color)}:host([curve=tiny]){--h-space:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){:host([curve=tiny]){--h-space:var(--stzh-space-small)}}@media screen and (min-width: 1260px){:host([curve=tiny]){--h-space:var(--stzh-space-medium)}}:host([curve=small]){--h-space:var(--stzh-space-small)}@media screen and (min-width: 1024px){:host([curve=small]){--h-space:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){:host([curve=small]){--h-space:var(--stzh-space-large)}}:host([curve=regular]){--h-space:var(--stzh-space-medium)}@media screen and (min-width: 1024px){:host([curve=regular]){--h-space:var(--stzh-space-large)}}@media screen and (min-width: 1260px){:host([curve=regular]){--h-space:var(--stzh-space-xlarge)}}:host([curve=medium]){--h-space:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){:host([curve=medium]){--h-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){:host([curve=medium]){--h-space:var(--stzh-space-xxxlarge)}}:host([curve=large]){--h-space:var(--stzh-space-xxlarge)}@media screen and (min-width: 1024px){:host([curve=large]){--h-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){:host([curve=large]){--h-space:var(--stzh-space-xxxxlarge)}}:host([curve=big]){--h-space:var(--stzh-space-xxxlarge)}@media screen and (min-width: 600px){:host([curve=big]){--h-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){:host([curve=big]){--h-space:var(--stzh-space-big)}}@media screen and (min-width: 1260px){:host([curve=big]){--h-space:var(--stzh-space-xbig)}}:host([curve=huge]){--h-space:var(--stzh-space-xxxxlarge)}@media screen and (min-width: 600px){:host([curve=huge]){--h-space:var(--stzh-space-big)}}@media screen and (min-width: 1024px){:host([curve=huge]){--h-space:var(--stzh-space-xbig)}}@media screen and (min-width: 1260px){:host([curve=huge]){--h-space:var(--stzh-space-huge)}}:host([size=xxxsmall]){--h-space:var(--stzh-space-xxxsmall)}:host([size=xxsmall]){--h-space:var(--stzh-space-xxsmall)}:host([size=xsmall]){--h-space:var(--stzh-space-xsmall)}:host([size=small]){--h-space:var(--stzh-space-small)}:host([size=medium]){--h-space:var(--stzh-space-medium)}:host([size=large]){--h-space:var(--stzh-space-large)}:host([size=xlarge]){--h-space:var(--stzh-space-xlarge)}:host([size=xxlarge]){--h-space:var(--stzh-space-xxlarge)}:host([size=xxxlarge]){--h-space:var(--stzh-space-xxxlarge)}:host([size=xxxxlarge]){--h-space:var(--stzh-space-xxxxlarge)}:host([size=big]){--h-space:var(--stzh-space-big)}:host([size=xbig]){--h-space:var(--stzh-space-xbig)}:host([size=huge]){--h-space:var(--stzh-space-huge)}:host([size=xhuge]){--h-space:var(--stzh-space-xhuge)}:host([size=none]){--h-space:var(--stzh-space-none)}:host([size=default]){--h-space:var(--stzh-space-default)}@media screen and (min-width: 600px){:host([size-small=xxxsmall]){--h-space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 600px){:host([size-small=xxsmall]){--h-space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 600px){:host([size-small=xsmall]){--h-space:var(--stzh-space-xsmall)}}@media screen and (min-width: 600px){:host([size-small=small]){--h-space:var(--stzh-space-small)}}@media screen and (min-width: 600px){:host([size-small=medium]){--h-space:var(--stzh-space-medium)}}@media screen and (min-width: 600px){:host([size-small=large]){--h-space:var(--stzh-space-large)}}@media screen and (min-width: 600px){:host([size-small=xlarge]){--h-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 600px){:host([size-small=xxlarge]){--h-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 600px){:host([size-small=xxxlarge]){--h-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 600px){:host([size-small=xxxxlarge]){--h-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 600px){:host([size-small=big]){--h-space:var(--stzh-space-big)}}@media screen and (min-width: 600px){:host([size-small=xbig]){--h-space:var(--stzh-space-xbig)}}@media screen and (min-width: 600px){:host([size-small=huge]){--h-space:var(--stzh-space-huge)}}@media screen and (min-width: 600px){:host([size-small=xhuge]){--h-space:var(--stzh-space-xhuge)}}@media screen and (min-width: 600px){:host([size-small=none]){--h-space:var(--stzh-space-none)}}@media screen and (min-width: 600px){:host([size-small=default]){--h-space:var(--stzh-space-default)}}@media screen and (min-width: 800px){:host([size-smallheader=xxxsmall]){--h-space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 800px){:host([size-smallheader=xxsmall]){--h-space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 800px){:host([size-smallheader=xsmall]){--h-space:var(--stzh-space-xsmall)}}@media screen and (min-width: 800px){:host([size-smallheader=small]){--h-space:var(--stzh-space-small)}}@media screen and (min-width: 800px){:host([size-smallheader=medium]){--h-space:var(--stzh-space-medium)}}@media screen and (min-width: 800px){:host([size-smallheader=large]){--h-space:var(--stzh-space-large)}}@media screen and (min-width: 800px){:host([size-smallheader=xlarge]){--h-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 800px){:host([size-smallheader=xxlarge]){--h-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 800px){:host([size-smallheader=xxxlarge]){--h-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 800px){:host([size-smallheader=xxxxlarge]){--h-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 800px){:host([size-smallheader=big]){--h-space:var(--stzh-space-big)}}@media screen and (min-width: 800px){:host([size-smallheader=xbig]){--h-space:var(--stzh-space-xbig)}}@media screen and (min-width: 800px){:host([size-smallheader=huge]){--h-space:var(--stzh-space-huge)}}@media screen and (min-width: 800px){:host([size-smallheader=xhuge]){--h-space:var(--stzh-space-xhuge)}}@media screen and (min-width: 800px){:host([size-smallheader=none]){--h-space:var(--stzh-space-none)}}@media screen and (min-width: 800px){:host([size-smallheader=default]){--h-space:var(--stzh-space-default)}}@media screen and (min-width: 1024px){:host([size-medium=xxxsmall]){--h-space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1024px){:host([size-medium=xxsmall]){--h-space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1024px){:host([size-medium=xsmall]){--h-space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1024px){:host([size-medium=small]){--h-space:var(--stzh-space-small)}}@media screen and (min-width: 1024px){:host([size-medium=medium]){--h-space:var(--stzh-space-medium)}}@media screen and (min-width: 1024px){:host([size-medium=large]){--h-space:var(--stzh-space-large)}}@media screen and (min-width: 1024px){:host([size-medium=xlarge]){--h-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){:host([size-medium=xxlarge]){--h-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1024px){:host([size-medium=xxxlarge]){--h-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1024px){:host([size-medium=xxxxlarge]){--h-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){:host([size-medium=big]){--h-space:var(--stzh-space-big)}}@media screen and (min-width: 1024px){:host([size-medium=xbig]){--h-space:var(--stzh-space-xbig)}}@media screen and (min-width: 1024px){:host([size-medium=huge]){--h-space:var(--stzh-space-huge)}}@media screen and (min-width: 1024px){:host([size-medium=xhuge]){--h-space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1024px){:host([size-medium=none]){--h-space:var(--stzh-space-none)}}@media screen and (min-width: 1024px){:host([size-medium=default]){--h-space:var(--stzh-space-default)}}@media screen and (min-width: 1260px){:host([size-large=xxxsmall]){--h-space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1260px){:host([size-large=xxsmall]){--h-space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1260px){:host([size-large=xsmall]){--h-space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){:host([size-large=small]){--h-space:var(--stzh-space-small)}}@media screen and (min-width: 1260px){:host([size-large=medium]){--h-space:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){:host([size-large=large]){--h-space:var(--stzh-space-large)}}@media screen and (min-width: 1260px){:host([size-large=xlarge]){--h-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){:host([size-large=xxlarge]){--h-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){:host([size-large=xxxlarge]){--h-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){:host([size-large=xxxxlarge]){--h-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1260px){:host([size-large=big]){--h-space:var(--stzh-space-big)}}@media screen and (min-width: 1260px){:host([size-large=xbig]){--h-space:var(--stzh-space-xbig)}}@media screen and (min-width: 1260px){:host([size-large=huge]){--h-space:var(--stzh-space-huge)}}@media screen and (min-width: 1260px){:host([size-large=xhuge]){--h-space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1260px){:host([size-large=none]){--h-space:var(--stzh-space-none)}}@media screen and (min-width: 1260px){:host([size-large=default]){--h-space:var(--stzh-space-default)}}@media screen and (min-width: 1440px){:host([size-ultra=xxxsmall]){--h-space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1440px){:host([size-ultra=xxsmall]){--h-space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1440px){:host([size-ultra=xsmall]){--h-space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1440px){:host([size-ultra=small]){--h-space:var(--stzh-space-small)}}@media screen and (min-width: 1440px){:host([size-ultra=medium]){--h-space:var(--stzh-space-medium)}}@media screen and (min-width: 1440px){:host([size-ultra=large]){--h-space:var(--stzh-space-large)}}@media screen and (min-width: 1440px){:host([size-ultra=xlarge]){--h-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1440px){:host([size-ultra=xxlarge]){--h-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1440px){:host([size-ultra=xxxlarge]){--h-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1440px){:host([size-ultra=xxxxlarge]){--h-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1440px){:host([size-ultra=big]){--h-space:var(--stzh-space-big)}}@media screen and (min-width: 1440px){:host([size-ultra=xbig]){--h-space:var(--stzh-space-xbig)}}@media screen and (min-width: 1440px){:host([size-ultra=huge]){--h-space:var(--stzh-space-huge)}}@media screen and (min-width: 1440px){:host([size-ultra=xhuge]){--h-space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1440px){:host([size-ultra=none]){--h-space:var(--stzh-space-none)}}@media screen and (min-width: 1440px){:host([size-ultra=default]){--h-space:var(--stzh-space-default)}}.stzh-hspace{-ms-flex-positive:1;flex-grow:1;width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:start;align-items:flex-start;padding:0;margin:0;}.stzh-hspace--border-left{border-left:0.0625rem solid var(--stzh-base-border-color)}.stzh-hspace--border-right{border-right:0.0625rem solid var(--stzh-base-border-color)}.stzh-hspace--justify-center{-ms-flex-pack:center;justify-content:center}.stzh-hspace--justify-end{-ms-flex-pack:end;justify-content:flex-end}.stzh-hspace--justify-between{-ms-flex-pack:justify;justify-content:space-between}.stzh-hspace--justify-around{-ms-flex-pack:distribute;justify-content:space-around}.stzh-hspace--justify-evenly{-ms-flex-pack:space-evenly;justify-content:space-evenly}.stzh-hspace--items-end{-ms-flex-align:end;align-items:flex-end}.stzh-hspace--items-center{-ms-flex-align:center;align-items:center}.stzh-hspace--items-baseline{-ms-flex-align:baseline;align-items:baseline}.stzh-hspace--items-stretch{-ms-flex-align:stretch;align-items:stretch}';var StzhHspace=function(){function e(e){registerInstance(this,e);this.curve="none";this.size="inherit";this.sizeSmall="inherit";this.sizeMedium="inherit";this.sizeLarge="inherit";this.sizeUltra="inherit";this.justify="start";this.items="start";this.around=false;this.border="none"}e.prototype.render=function(){var e;return h(Host,null,h("div",{class:(e={"stzh-hspace":true},e["stzh-hspace--justify-".concat(this.justify)]=!!this.justify,e["stzh-hspace--items-".concat(this.items)]=!!this.items,e)},h("slot",null)))};return e}();StzhHspace.style=stzhHspaceCss;export{StzhHspace as stzh_hspace};
1
+ import{r as registerInstance,h,a as Host}from"./index-67fd55c9.js";var stzhHspaceCss=":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;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}:host{--h-space:var(--stzh-space-default);--h-around:0;display:-ms-flexbox;display:flex}:host ::slotted(*){max-width:100%;padding-left:calc(var(--h-space) * var(--h-around));padding-right:calc(var(--h-space) * var(--h-around));margin:0}:host ::slotted(*:not(:last-child)){margin-right:calc(var(--h-space) * (1 - var(--h-around)))}:host ::slotted(stzh-vspace),:host ::slotted(stzh-hspace),:host ::slotted(stzh-row),:host ::slotted(stzh-container),:host ::slotted(stzh-section){-ms-flex-item-align:stretch;align-self:stretch;-ms-flex-positive:1;flex-grow:1}:host(:empty){--h-around:1;width:var(--h-space)}:host([around]:not([around=false])){--h-around:1}:host([border=left]),:host([border=left-right]){border-left:0.0625rem solid var(--stzh-base-border-color)}:host([border=right]),:host([border=left-right]){border-right:0.0625rem solid var(--stzh-base-border-color)}:host([curve=tiny]){--h-space:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){:host([curve=tiny]){--h-space:var(--stzh-space-small)}}@media screen and (min-width: 1260px){:host([curve=tiny]){--h-space:var(--stzh-space-medium)}}:host([curve=small]){--h-space:var(--stzh-space-small)}@media screen and (min-width: 1024px){:host([curve=small]){--h-space:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){:host([curve=small]){--h-space:var(--stzh-space-large)}}:host([curve=regular]){--h-space:var(--stzh-space-medium)}@media screen and (min-width: 1024px){:host([curve=regular]){--h-space:var(--stzh-space-large)}}@media screen and (min-width: 1260px){:host([curve=regular]){--h-space:var(--stzh-space-xlarge)}}:host([curve=medium]){--h-space:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){:host([curve=medium]){--h-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){:host([curve=medium]){--h-space:var(--stzh-space-xxxlarge)}}:host([curve=large]){--h-space:var(--stzh-space-xxlarge)}@media screen and (min-width: 1024px){:host([curve=large]){--h-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){:host([curve=large]){--h-space:var(--stzh-space-xxxxlarge)}}:host([curve=big]){--h-space:var(--stzh-space-xxxlarge)}@media screen and (min-width: 600px){:host([curve=big]){--h-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){:host([curve=big]){--h-space:var(--stzh-space-big)}}@media screen and (min-width: 1260px){:host([curve=big]){--h-space:var(--stzh-space-xbig)}}:host([curve=huge]){--h-space:var(--stzh-space-xxxxlarge)}@media screen and (min-width: 600px){:host([curve=huge]){--h-space:var(--stzh-space-big)}}@media screen and (min-width: 1024px){:host([curve=huge]){--h-space:var(--stzh-space-xbig)}}@media screen and (min-width: 1260px){:host([curve=huge]){--h-space:var(--stzh-space-huge)}}:host([size=xxxsmall]){--h-space:var(--stzh-space-xxxsmall)}:host([size=xxsmall]){--h-space:var(--stzh-space-xxsmall)}:host([size=xsmall]){--h-space:var(--stzh-space-xsmall)}:host([size=small]){--h-space:var(--stzh-space-small)}:host([size=medium]){--h-space:var(--stzh-space-medium)}:host([size=large]){--h-space:var(--stzh-space-large)}:host([size=xlarge]){--h-space:var(--stzh-space-xlarge)}:host([size=xxlarge]){--h-space:var(--stzh-space-xxlarge)}:host([size=xxxlarge]){--h-space:var(--stzh-space-xxxlarge)}:host([size=xxxxlarge]){--h-space:var(--stzh-space-xxxxlarge)}:host([size=big]){--h-space:var(--stzh-space-big)}:host([size=xbig]){--h-space:var(--stzh-space-xbig)}:host([size=huge]){--h-space:var(--stzh-space-huge)}:host([size=xhuge]){--h-space:var(--stzh-space-xhuge)}:host([size=none]){--h-space:var(--stzh-space-none)}:host([size=default]){--h-space:var(--stzh-space-default)}@media screen and (min-width: 600px){:host([size-small=xxxsmall]){--h-space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 600px){:host([size-small=xxsmall]){--h-space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 600px){:host([size-small=xsmall]){--h-space:var(--stzh-space-xsmall)}}@media screen and (min-width: 600px){:host([size-small=small]){--h-space:var(--stzh-space-small)}}@media screen and (min-width: 600px){:host([size-small=medium]){--h-space:var(--stzh-space-medium)}}@media screen and (min-width: 600px){:host([size-small=large]){--h-space:var(--stzh-space-large)}}@media screen and (min-width: 600px){:host([size-small=xlarge]){--h-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 600px){:host([size-small=xxlarge]){--h-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 600px){:host([size-small=xxxlarge]){--h-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 600px){:host([size-small=xxxxlarge]){--h-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 600px){:host([size-small=big]){--h-space:var(--stzh-space-big)}}@media screen and (min-width: 600px){:host([size-small=xbig]){--h-space:var(--stzh-space-xbig)}}@media screen and (min-width: 600px){:host([size-small=huge]){--h-space:var(--stzh-space-huge)}}@media screen and (min-width: 600px){:host([size-small=xhuge]){--h-space:var(--stzh-space-xhuge)}}@media screen and (min-width: 600px){:host([size-small=none]){--h-space:var(--stzh-space-none)}}@media screen and (min-width: 600px){:host([size-small=default]){--h-space:var(--stzh-space-default)}}@media screen and (min-width: 800px){:host([size-smallheader=xxxsmall]){--h-space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 800px){:host([size-smallheader=xxsmall]){--h-space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 800px){:host([size-smallheader=xsmall]){--h-space:var(--stzh-space-xsmall)}}@media screen and (min-width: 800px){:host([size-smallheader=small]){--h-space:var(--stzh-space-small)}}@media screen and (min-width: 800px){:host([size-smallheader=medium]){--h-space:var(--stzh-space-medium)}}@media screen and (min-width: 800px){:host([size-smallheader=large]){--h-space:var(--stzh-space-large)}}@media screen and (min-width: 800px){:host([size-smallheader=xlarge]){--h-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 800px){:host([size-smallheader=xxlarge]){--h-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 800px){:host([size-smallheader=xxxlarge]){--h-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 800px){:host([size-smallheader=xxxxlarge]){--h-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 800px){:host([size-smallheader=big]){--h-space:var(--stzh-space-big)}}@media screen and (min-width: 800px){:host([size-smallheader=xbig]){--h-space:var(--stzh-space-xbig)}}@media screen and (min-width: 800px){:host([size-smallheader=huge]){--h-space:var(--stzh-space-huge)}}@media screen and (min-width: 800px){:host([size-smallheader=xhuge]){--h-space:var(--stzh-space-xhuge)}}@media screen and (min-width: 800px){:host([size-smallheader=none]){--h-space:var(--stzh-space-none)}}@media screen and (min-width: 800px){:host([size-smallheader=default]){--h-space:var(--stzh-space-default)}}@media screen and (min-width: 1024px){:host([size-medium=xxxsmall]){--h-space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1024px){:host([size-medium=xxsmall]){--h-space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1024px){:host([size-medium=xsmall]){--h-space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1024px){:host([size-medium=small]){--h-space:var(--stzh-space-small)}}@media screen and (min-width: 1024px){:host([size-medium=medium]){--h-space:var(--stzh-space-medium)}}@media screen and (min-width: 1024px){:host([size-medium=large]){--h-space:var(--stzh-space-large)}}@media screen and (min-width: 1024px){:host([size-medium=xlarge]){--h-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){:host([size-medium=xxlarge]){--h-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1024px){:host([size-medium=xxxlarge]){--h-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1024px){:host([size-medium=xxxxlarge]){--h-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1024px){:host([size-medium=big]){--h-space:var(--stzh-space-big)}}@media screen and (min-width: 1024px){:host([size-medium=xbig]){--h-space:var(--stzh-space-xbig)}}@media screen and (min-width: 1024px){:host([size-medium=huge]){--h-space:var(--stzh-space-huge)}}@media screen and (min-width: 1024px){:host([size-medium=xhuge]){--h-space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1024px){:host([size-medium=none]){--h-space:var(--stzh-space-none)}}@media screen and (min-width: 1024px){:host([size-medium=default]){--h-space:var(--stzh-space-default)}}@media screen and (min-width: 1260px){:host([size-large=xxxsmall]){--h-space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1260px){:host([size-large=xxsmall]){--h-space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1260px){:host([size-large=xsmall]){--h-space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){:host([size-large=small]){--h-space:var(--stzh-space-small)}}@media screen and (min-width: 1260px){:host([size-large=medium]){--h-space:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){:host([size-large=large]){--h-space:var(--stzh-space-large)}}@media screen and (min-width: 1260px){:host([size-large=xlarge]){--h-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){:host([size-large=xxlarge]){--h-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){:host([size-large=xxxlarge]){--h-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){:host([size-large=xxxxlarge]){--h-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1260px){:host([size-large=big]){--h-space:var(--stzh-space-big)}}@media screen and (min-width: 1260px){:host([size-large=xbig]){--h-space:var(--stzh-space-xbig)}}@media screen and (min-width: 1260px){:host([size-large=huge]){--h-space:var(--stzh-space-huge)}}@media screen and (min-width: 1260px){:host([size-large=xhuge]){--h-space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1260px){:host([size-large=none]){--h-space:var(--stzh-space-none)}}@media screen and (min-width: 1260px){:host([size-large=default]){--h-space:var(--stzh-space-default)}}@media screen and (min-width: 1440px){:host([size-ultra=xxxsmall]){--h-space:var(--stzh-space-xxxsmall)}}@media screen and (min-width: 1440px){:host([size-ultra=xxsmall]){--h-space:var(--stzh-space-xxsmall)}}@media screen and (min-width: 1440px){:host([size-ultra=xsmall]){--h-space:var(--stzh-space-xsmall)}}@media screen and (min-width: 1440px){:host([size-ultra=small]){--h-space:var(--stzh-space-small)}}@media screen and (min-width: 1440px){:host([size-ultra=medium]){--h-space:var(--stzh-space-medium)}}@media screen and (min-width: 1440px){:host([size-ultra=large]){--h-space:var(--stzh-space-large)}}@media screen and (min-width: 1440px){:host([size-ultra=xlarge]){--h-space:var(--stzh-space-xlarge)}}@media screen and (min-width: 1440px){:host([size-ultra=xxlarge]){--h-space:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1440px){:host([size-ultra=xxxlarge]){--h-space:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1440px){:host([size-ultra=xxxxlarge]){--h-space:var(--stzh-space-xxxxlarge)}}@media screen and (min-width: 1440px){:host([size-ultra=big]){--h-space:var(--stzh-space-big)}}@media screen and (min-width: 1440px){:host([size-ultra=xbig]){--h-space:var(--stzh-space-xbig)}}@media screen and (min-width: 1440px){:host([size-ultra=huge]){--h-space:var(--stzh-space-huge)}}@media screen and (min-width: 1440px){:host([size-ultra=xhuge]){--h-space:var(--stzh-space-xhuge)}}@media screen and (min-width: 1440px){:host([size-ultra=none]){--h-space:var(--stzh-space-none)}}@media screen and (min-width: 1440px){:host([size-ultra=default]){--h-space:var(--stzh-space-default)}}.stzh-hspace{-ms-flex-positive:1;flex-grow:1;width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:start;align-items:flex-start;padding:0;margin:0;}.stzh-hspace--border-left{border-left:0.0625rem solid var(--stzh-base-border-color)}.stzh-hspace--border-right{border-right:0.0625rem solid var(--stzh-base-border-color)}.stzh-hspace--justify-center{-ms-flex-pack:center;justify-content:center}.stzh-hspace--justify-end{-ms-flex-pack:end;justify-content:flex-end}.stzh-hspace--justify-between{-ms-flex-pack:justify;justify-content:space-between}.stzh-hspace--justify-around{-ms-flex-pack:distribute;justify-content:space-around}.stzh-hspace--justify-evenly{-ms-flex-pack:space-evenly;justify-content:space-evenly}.stzh-hspace--items-end{-ms-flex-align:end;align-items:flex-end}.stzh-hspace--items-center{-ms-flex-align:center;align-items:center}.stzh-hspace--items-baseline{-ms-flex-align:baseline;align-items:baseline}.stzh-hspace--items-stretch{-ms-flex-align:stretch;align-items:stretch}";var StzhHspace=function(){function e(e){registerInstance(this,e);this.curve="none";this.size="inherit";this.sizeSmall="inherit";this.sizeMedium="inherit";this.sizeLarge="inherit";this.sizeUltra="inherit";this.justify="start";this.items="start";this.around=false;this.border="none"}e.prototype.render=function(){var e;return h(Host,null,h("div",{class:(e={"stzh-hspace":true},e["stzh-hspace--justify-".concat(this.justify)]=!!this.justify,e["stzh-hspace--items-".concat(this.items)]=!!this.items,e)},h("slot",null)))};return e}();StzhHspace.style=stzhHspaceCss;export{StzhHspace as stzh_hspace};
2
2
  //# sourceMappingURL=stzh-hspace.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["stzhHspaceCss","StzhHspace","prototype","render","h","Host","class","_a","concat","this","justify","items"],"sources":["src/components/stzh-hspace/stzh-hspace.scss?tag=stzh-hspace&encapsulation=shadow","src/components/stzh-hspace/stzh-hspace.tsx"],"sourcesContent":[":host {\n --h-space: #{space()};\n --h-around: 0;\n\n @include clearfix;\n display: flex;\n clear: both;\n\n ::slotted(*) {\n // fix IE11 not wrapping text\n max-width: 100%;\n padding-left: calc(var(--h-space) * var(--h-around));\n padding-right: calc(var(--h-space) * var(--h-around));\n margin: 0;\n }\n\n ::slotted(*:not(:last-child)) {\n margin-right: calc(var(--h-space) * (1 - var(--h-around)));\n }\n\n ::slotted(stzh-vspace),\n ::slotted(stzh-hspace),\n ::slotted(stzh-row),\n ::slotted(stzh-container),\n ::slotted(stzh-section) {\n align-self: stretch;\n flex-grow: 1;\n }\n}\n\n:host(:empty) {\n --h-around: 1;\n\n width: var(--h-space);\n}\n\n:host([around]:not([around=\"false\"])) {\n --h-around: 1;\n}\n\n/* Border variants */\n\n:host([border=\"left\"]),\n:host([border=\"left-right\"]) {\n border-left: 1px solid $baseBorderColor;\n}\n\n:host([border=\"right\"]),\n:host([border=\"left-right\"]) {\n border-right: 1px solid $baseBorderColor;\n}\n\n/* Space variants */\n\n@each $spaceCurve, $value in $spaceCurves {\n $defaultSize: map-get($value, 'size');\n $breakpointSizes: map-get($value, 'sizes');\n\n // :host([curve=\"#{$spaceCurve}\"]) > .stzh-h-space {\n :host([curve=\"#{$spaceCurve}\"]) {\n --h-space: #{space($defaultSize)};\n\n @each $breakpoint, $size in $breakpointSizes {\n @include mq($from: $breakpoint) {\n --h-space: #{space($size)};\n }\n }\n }\n}\n\n@mixin spaceProps($breakpoint: null) {\n @each $space, $value in $spaceSizes {\n @if $breakpoint {\n // :host([size-#{$breakpoint}=\"#{$space}\"]) > .stzh-h-space {\n :host([size-#{$breakpoint}=\"#{$space}\"]) {\n @include mq($from: $breakpoint) {\n --h-space: #{$value};\n }\n }\n } @else {\n // :host([size=\"#{$space}\"]) > .stzh-h-space {\n :host([size=\"#{$space}\"]) {\n --h-space: #{$value};\n }\n }\n }\n}\n\n@include spaceProps();\n\n@each $breakpoint, $size in $breakpoints {\n @include spaceProps($breakpoint);\n}\n\n.stzh-hspace {\n flex-grow: 1;\n width: 100%;\n height: 100%;\n\n display: flex;\n justify-content: flex-start;\n align-items: flex-start;\n padding: 0;\n margin: 0;\n\n &--border-left {\n border-left: 1px solid $baseBorderColor;\n }\n\n &--border-right {\n border-right: 1px solid $baseBorderColor;\n }\n\n /* Justify content variants */\n\n &--justify-center {\n justify-content: center;\n }\n\n &--justify-end {\n justify-content: flex-end;\n }\n\n &--justify-between {\n justify-content: space-between;\n }\n\n &--justify-around {\n justify-content: space-around;\n }\n\n &--justify-evenly {\n justify-content: space-evenly;\n }\n\n /* Align items variants */\n\n &--items-end {\n align-items: flex-end;\n }\n\n &--items-center {\n align-items: center;\n }\n\n &--items-baseline {\n align-items: baseline;\n }\n\n &--items-stretch {\n align-items: stretch;\n }\n}\n","import {\n Component,\n Host,\n h,\n Prop,\n} from \"@stencil/core\";\n\nimport { Space, Layout } from \"../../index\";\n\n/**\n * @slot - Slot for any elements that should be horizontically spaced\n */\n@Component({\n tag: \"stzh-hspace\",\n styleUrl: \"stzh-hspace.scss\",\n shadow: true\n})\nexport class StzhHspace {\n /** Type of curve */\n @Prop() curve: Space.Curves = \"none\";\n\n /** Type of size */\n @Prop() size: Space.Sizes = \"inherit\";\n /** Type of size above small breakpoint */\n @Prop() sizeSmall: Space.Sizes = \"inherit\";\n /** Type of size above medium breakpoint */\n @Prop() sizeMedium: Space.Sizes = \"inherit\";\n /** Type of size above large breakpoint */\n @Prop() sizeLarge: Space.Sizes = \"inherit\";\n /** Type of size above ultra breakpoint */\n @Prop() sizeUltra: Space.Sizes = \"inherit\";\n\n /** Alignment */\n @Prop() justify: Layout.Justify = \"start\";\n\n /** Control how cells items are positioned along a container's cross axis */\n @Prop() items: Layout.Items = \"start\";\n\n /** Apply spacing to slotted elements */\n @Prop({ reflect: true }) around: boolean = false;\n\n /** Add border */\n @Prop({ reflect: true }) border: \"none\" | \"left\" | \"right\" | \"left-right\" = \"none\";\n\n render() {\n return (\n <Host>\n <div\n class={{\n \"stzh-hspace\": true,\n [`stzh-hspace--justify-${this.justify}`]: !!this.justify,\n [`stzh-hspace--items-${this.items}`]: !!this.items\n }}\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"mEAAA,IAAMA,cAAgB,4ja,ICiBTC,WAAU,W,kDAES,O,UAGF,U,eAEK,U,gBAEC,U,eAED,U,eAEA,U,aAGC,Q,WAGJ,Q,YAGa,M,YAGiC,M,CAE5EA,EAAAC,UAAAC,OAAA,W,MACE,OACEC,EAACC,KAAI,KACHD,EAAA,OACEE,OAAKC,EAAA,CACH,cAAe,MACfA,EAAC,wBAAAC,OAAwBC,KAAKC,YAAcD,KAAKC,QACjDH,EAAC,sBAAAC,OAAsBC,KAAKE,UAAYF,KAAKE,M,IAG/CP,EAAA,c,WArCa,G"}
1
+ {"version":3,"names":["stzhHspaceCss","StzhHspace","prototype","render","h","Host","class","_a","concat","this","justify","items"],"sources":["src/components/stzh-hspace/stzh-hspace.scss?tag=stzh-hspace&encapsulation=shadow","src/components/stzh-hspace/stzh-hspace.tsx"],"sourcesContent":[":host {\n --h-space: #{space()};\n --h-around: 0;\n\n display: flex;\n\n ::slotted(*) {\n // fix IE11 not wrapping text\n max-width: 100%;\n padding-left: calc(var(--h-space) * var(--h-around));\n padding-right: calc(var(--h-space) * var(--h-around));\n margin: 0;\n }\n\n ::slotted(*:not(:last-child)) {\n margin-right: calc(var(--h-space) * (1 - var(--h-around)));\n }\n\n ::slotted(stzh-vspace),\n ::slotted(stzh-hspace),\n ::slotted(stzh-row),\n ::slotted(stzh-container),\n ::slotted(stzh-section) {\n align-self: stretch;\n flex-grow: 1;\n }\n}\n\n:host(:empty) {\n --h-around: 1;\n\n width: var(--h-space);\n}\n\n:host([around]:not([around=\"false\"])) {\n --h-around: 1;\n}\n\n/* Border variants */\n\n:host([border=\"left\"]),\n:host([border=\"left-right\"]) {\n border-left: 1px solid $baseBorderColor;\n}\n\n:host([border=\"right\"]),\n:host([border=\"left-right\"]) {\n border-right: 1px solid $baseBorderColor;\n}\n\n/* Space variants */\n\n@each $spaceCurve, $value in $spaceCurves {\n $defaultSize: map-get($value, 'size');\n $breakpointSizes: map-get($value, 'sizes');\n\n // :host([curve=\"#{$spaceCurve}\"]) > .stzh-h-space {\n :host([curve=\"#{$spaceCurve}\"]) {\n --h-space: #{space($defaultSize)};\n\n @each $breakpoint, $size in $breakpointSizes {\n @include mq($from: $breakpoint) {\n --h-space: #{space($size)};\n }\n }\n }\n}\n\n@mixin spaceProps($breakpoint: null) {\n @each $space, $value in $spaceSizes {\n @if $breakpoint {\n // :host([size-#{$breakpoint}=\"#{$space}\"]) > .stzh-h-space {\n :host([size-#{$breakpoint}=\"#{$space}\"]) {\n @include mq($from: $breakpoint) {\n --h-space: #{$value};\n }\n }\n } @else {\n // :host([size=\"#{$space}\"]) > .stzh-h-space {\n :host([size=\"#{$space}\"]) {\n --h-space: #{$value};\n }\n }\n }\n}\n\n@include spaceProps();\n\n@each $breakpoint, $size in $breakpoints {\n @include spaceProps($breakpoint);\n}\n\n.stzh-hspace {\n flex-grow: 1;\n width: 100%;\n height: 100%;\n\n display: flex;\n justify-content: flex-start;\n align-items: flex-start;\n padding: 0;\n margin: 0;\n\n &--border-left {\n border-left: 1px solid $baseBorderColor;\n }\n\n &--border-right {\n border-right: 1px solid $baseBorderColor;\n }\n\n /* Justify content variants */\n\n &--justify-center {\n justify-content: center;\n }\n\n &--justify-end {\n justify-content: flex-end;\n }\n\n &--justify-between {\n justify-content: space-between;\n }\n\n &--justify-around {\n justify-content: space-around;\n }\n\n &--justify-evenly {\n justify-content: space-evenly;\n }\n\n /* Align items variants */\n\n &--items-end {\n align-items: flex-end;\n }\n\n &--items-center {\n align-items: center;\n }\n\n &--items-baseline {\n align-items: baseline;\n }\n\n &--items-stretch {\n align-items: stretch;\n }\n}\n","import {\n Component,\n Host,\n h,\n Prop,\n} from \"@stencil/core\";\n\nimport { Space, Layout } from \"../../index\";\n\n/**\n * @slot - Slot for any elements that should be horizontically spaced\n */\n@Component({\n tag: \"stzh-hspace\",\n styleUrl: \"stzh-hspace.scss\",\n shadow: true\n})\nexport class StzhHspace {\n /** Type of curve */\n @Prop() curve: Space.Curves = \"none\";\n\n /** Type of size */\n @Prop() size: Space.Sizes = \"inherit\";\n /** Type of size above small breakpoint */\n @Prop() sizeSmall: Space.Sizes = \"inherit\";\n /** Type of size above medium breakpoint */\n @Prop() sizeMedium: Space.Sizes = \"inherit\";\n /** Type of size above large breakpoint */\n @Prop() sizeLarge: Space.Sizes = \"inherit\";\n /** Type of size above ultra breakpoint */\n @Prop() sizeUltra: Space.Sizes = \"inherit\";\n\n /** Alignment */\n @Prop() justify: Layout.Justify = \"start\";\n\n /** Control how cells items are positioned along a container's cross axis */\n @Prop() items: Layout.Items = \"start\";\n\n /** Apply spacing to slotted elements */\n @Prop({ reflect: true }) around: boolean = false;\n\n /** Add border */\n @Prop({ reflect: true }) border: \"none\" | \"left\" | \"right\" | \"left-right\" = \"none\";\n\n render() {\n return (\n <Host>\n <div\n class={{\n \"stzh-hspace\": true,\n [`stzh-hspace--justify-${this.justify}`]: !!this.justify,\n [`stzh-hspace--items-${this.items}`]: !!this.items\n }}\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"mEAAA,IAAMA,cAAgB,gga,ICiBTC,WAAU,W,kDAES,O,UAGF,U,eAEK,U,gBAEC,U,eAED,U,eAEA,U,aAGC,Q,WAGJ,Q,YAGa,M,YAGiC,M,CAE5EA,EAAAC,UAAAC,OAAA,W,MACE,OACEC,EAACC,KAAI,KACHD,EAAA,OACEE,OAAKC,EAAA,CACH,cAAe,MACfA,EAAC,wBAAAC,OAAwBC,KAAKC,YAAcD,KAAKC,QACjDH,EAAC,sBAAAC,OAAsBC,KAAKE,UAAYF,KAAKE,M,IAG/CP,EAAA,c,WArCa,G"}
@@ -1,2 +1,2 @@
1
- var __awaiter=this&&this.__awaiter||function(t,s,i,n){function e(t){return t instanceof i?t:new i((function(s){s(t)}))}return new(i||(i=Promise))((function(i,h){function r(t){try{p(n.next(t))}catch(t){h(t)}}function u(t){try{p(n["throw"](t))}catch(t){h(t)}}function p(t){t.done?i(t.value):e(t.value).then(r,u)}p((n=n.apply(t,s||[])).next())}))};var __generator=this&&this.__generator||function(t,s){var i={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]},n,e,h,r;return r={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function u(t){return function(s){return p([t,s])}}function p(u){if(n)throw new TypeError("Generator is already executing.");while(r&&(r=0,u[0]&&(i=0)),i)try{if(n=1,e&&(h=u[0]&2?e["return"]:u[0]?e["throw"]||((h=e["return"])&&h.call(e),0):e.next)&&!(h=h.call(e,u[1])).done)return h;if(e=0,h)u=[u[0]&2,h.value];switch(u[0]){case 0:case 1:h=u;break;case 4:i.label++;return{value:u[1],done:false};case 5:i.label++;e=u[1];u=[0];continue;case 7:u=i.ops.pop();i.trys.pop();continue;default:if(!(h=i.trys,h=h.length>0&&h[h.length-1])&&(u[0]===6||u[0]===2)){i=0;continue}if(u[0]===3&&(!h||u[1]>h[0]&&u[1]<h[3])){i.label=u[1];break}if(u[0]===6&&i.label<h[1]){i.label=h[1];h=u;break}if(h&&i.label<h[2]){i.label=h[2];i.ops.push(u);break}if(h[2])i.ops.pop();i.trys.pop();continue}u=s.call(t,i)}catch(t){u=[6,t];e=0}finally{n=h=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,h,a as Host,g as getElement}from"./index-67fd55c9.js";import{h as hasSlot}from"./utils-51148d9a.js";import{f as fetchTranslations}from"./translation-utils-2623783f.js";import{S as StzhInputDescription}from"./stzh-input-description-cceaa066.js";var stzhInputCss='.sc-stzh-input-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-input-h{display:none}.sc-stzh-input-h *.sc-stzh-input,.sc-stzh-input-h *.sc-stzh-input::before,.sc-stzh-input-h *.sc-stzh-input::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-input-h{--text-align:left;width:100%}.sc-stzh-input-h .sc-stzh-input-s>[slot=button-right],.stzh-input__button-right.sc-stzh-input{position:absolute;top:0;right:0}.sc-stzh-input-h .sc-stzh-input-s>stzh-button[slot=button-right][variant=input],.sc-stzh-input-h .sc-stzh-input-s>[slot=button-right] stzh-button[variant=input],.stzh-input__button-right[variant=input].sc-stzh-input{--border-color:transparent;--hover-border-color:transparent}.stzh-input.sc-stzh-input{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)}.stzh-input__marker-symbol.sc-stzh-input{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-input__marker-text.sc-stzh-input{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-input__description-wrapper.sc-stzh-input{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-input__error.sc-stzh-input,.stzh-input__description.sc-stzh-input{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-input__error.sc-stzh-input{color:var(--stzh-color-error)}.stzh-input__error-list.sc-stzh-input{list-style:none;margin:0;padding:0}.stzh-input__description.sc-stzh-input{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-input__description-long.sc-stzh-input{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-input__description-long-popover.sc-stzh-input{--width:auto;--max-width:27.3125rem}.stzh-input__description-long-popover[open].sc-stzh-input:not([open=false]) .stzh-input__description-long-button.sc-stzh-input{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-input__description-long-button.sc-stzh-input{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-input__description-long-button.sc-stzh-input:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-input.sc-stzh-input stzh-icon.stzh-input__description-long-icon.sc-stzh-input{--size:var(--stzh-icon-size-xsmall)}.stzh-input--has-error.sc-stzh-input .stzh-input__error.sc-stzh-input,.stzh-input--has-description.sc-stzh-input .stzh-input__description.sc-stzh-input{margin-top:var(--stzh-space-xxsmall)}.stzh-input__field-wrapper.sc-stzh-input{position:relative;display:-ms-flexbox;display:flex}.stzh-input__input.sc-stzh-input{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:0.0625rem solid var(--stzh-color-grey61);-webkit-transition-property:color, border-color;transition-property:color, border-color;-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-form-input-border-radius);padding:var(--stzh-space-xsmall) var(--stzh-space-medium);width:100%;color:var(--stzh-color-primary, var(--stzh-color-zueriblue));background:var(--stzh-color-white);-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:var(--text-align)}.stzh-input__input.sc-stzh-input::-webkit-input-placeholder{color:var(--stzh-color-grey61)}.stzh-input__input.sc-stzh-input:-moz-placeholder{color:var(--stzh-color-grey61)}.stzh-input__input.sc-stzh-input::-moz-placeholder{color:var(--stzh-color-grey61)}.stzh-input__input.sc-stzh-input:-ms-input-placeholder{color:var(--stzh-color-grey61)}.stzh-input__input.sc-stzh-input:hover,.stzh-input__input.sc-stzh-input:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-input__input.sc-stzh-input::-ms-clear{display:none}.stzh-input__input.sc-stzh-input:-webkit-autofill{-webkit-background-clip:text;background-clip:text}.stzh-input__input.sc-stzh-input:-moz-placeholder-shown{text-overflow:ellipsis}.stzh-input__input.sc-stzh-input:-ms-input-placeholder{text-overflow:ellipsis}.stzh-input__input.sc-stzh-input:placeholder-shown{text-overflow:ellipsis}.stzh-input__input[type=search].sc-stzh-input::-webkit-search-decoration,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-cancel-button,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-results-button,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-results-decoration{-webkit-appearance:none}.stzh-input__input--input.sc-stzh-input{height:var(--stzh-form-input-height)}.stzh-input__input--textarea.sc-stzh-input{min-height:var(--stzh-form-input-height);resize:vertical}.stzh-input__label.sc-stzh-input{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--stzh-color-grey61);width:auto;position:absolute;top:calc(var(--stzh-form-input-height) / 2);left:calc(var(--stzh-space-medium) + 0.0625rem);max-width:calc(100% - var(--stzh-space-medium) * 2);-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);pointer-events:none}.stzh-input__label.sc-stzh-input:empty{display:none}.stzh-input__label.sc-stzh-input::before{content:"";display:none;background:var(--stzh-color-white);position:absolute;width:100%;z-index:-1;left:0;top:50%;margin-top:-0.5px;height:0.125rem}.stzh-input__input.sc-stzh-input:hover+.stzh-input__label.sc-stzh-input,.stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-input__button-right.sc-stzh-input{display:none}.stzh-input__button-right[disabled].sc-stzh-input:not([disabled=false])[variant=input]{--color:var(--stzh-color-grey61);--background-color:transparent;--border-color:transparent;--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:transparent;--hover-border-color:transparent}.stzh-input--is-clearable.stzh-input--is-filled.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.sc-stzh-input .stzh-input__button-right.sc-stzh-input{display:block}.stzh-input--type-search.sc-stzh-input:not(.stzh-input--is-filled) .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-readonly.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-disabled.sc-stzh-input .stzh-input__button-right.sc-stzh-input{pointer-events:none}.stzh-input--is-filled.sc-stzh-input .stzh-input__button-right.is-search.sc-stzh-input{pointer-events:initial}.stzh-input.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input,.stzh-input--has-fixed-label.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-filled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input{display:block;top:0;left:calc(var(--stzh-space-medium) - var(--stzh-space-xxsmall));height:1.25rem;line-height:1.25rem;padding:0 var(--stzh-space-xxsmall);max-width:calc(100% - var(--stzh-space-small) * 2);pointer-events:all}.stzh-input.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input:not(:empty)::before,.stzh-input--has-fixed-label.sc-stzh-input .stzh-input__label.sc-stzh-input:not(:empty)::before,.stzh-input--is-filled.sc-stzh-input .stzh-input__label.sc-stzh-input:not(:empty)::before,.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input:not(:empty)::before,.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input:not(:empty)::before,.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input:not(:empty)::before{display:block}.stzh-input--has-button-right.sc-stzh-input .stzh-input__input.sc-stzh-input{padding-right:calc(var(--stzh-space-xsmall) + var(--stzh-form-input-height))}.stzh-input--has-button-right.sc-stzh-input .stzh-input__label.sc-stzh-input{max-width:calc(100% - (var(--stzh-space-medium) + 0.0625rem) * 2 - var(--stzh-form-input-height))}.stzh-input--has-button-right.stzh-input.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input,.stzh-input--has-button-right.stzh-input--has-fixed-label.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--has-button-right.stzh-input--is-filled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--has-button-right.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--has-button-right.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--has-button-right.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input{max-width:calc(100% - var(--stzh-space-medium) - var(--stzh-space-xxsmall) - 0.0625rem + var(--stzh-space-xxsmall) - var(--stzh-form-input-height))}.stzh-input--size-small.sc-stzh-input{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-input--size-small.sc-stzh-input .stzh-input__input.sc-stzh-input{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-input--size-small.sc-stzh-input .stzh-input__input--input.sc-stzh-input{height:var(--stzh-form-input-small-height)}.stzh-input--size-small.sc-stzh-input .stzh-input__input--textarea.sc-stzh-input{min-height:var(--stzh-form-input-small-height)}.stzh-input--size-small.sc-stzh-input .stzh-input__label.sc-stzh-input{top:calc(var(--stzh-form-input-small-height) / 2)}.stzh-input--size-small.stzh-input.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-fixed-label.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--is-filled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input{top:0}.stzh-input--size-small.stzh-input--has-button-right.sc-stzh-input .stzh-input__input.sc-stzh-input{padding-right:calc(var(--stzh-space-xxsmall) + var(--stzh-form-input-small-height))}.stzh-input--size-small.stzh-input--has-button-right.sc-stzh-input .stzh-input__label.sc-stzh-input{max-width:calc(100% - (var(--stzh-space-medium) + 0.0625rem) * 2 - var(--stzh-form-input-small-height))}.stzh-input--size-small.stzh-input--has-button-right.stzh-input.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-button-right.stzh-input--has-fixed-label.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-button-right.stzh-input--is-filled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-button-right.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-button-right.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-button-right.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input{max-width:calc(100% - var(--stzh-space-medium) - var(--stzh-space-xxsmall) - 0.0625rem + var(--stzh-space-xsmall) - var(--stzh-form-input-small-height))}.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input.sc-stzh-input::-webkit-outer-spin-button,.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input.sc-stzh-input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input[type=number].sc-stzh-input{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input+.stzh-input__label.sc-stzh-input{color:var(--stzh-color-error)}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input{border-color:var(--stzh-color-error)}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input::-webkit-input-placeholder{color:var(--stzh-color-error)}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input:-moz-placeholder{color:var(--stzh-color-error)}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input::-moz-placeholder{color:var(--stzh-color-error)}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input:-ms-input-placeholder{color:var(--stzh-color-error)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input+.stzh-input__label.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input+.stzh-input__label.sc-stzh-input{color:var(--stzh-color-grey61)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input{color:var(--stzh-color-grey61);border-color:transparent;background-color:var(--stzh-color-black8);cursor:not-allowed}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input::-webkit-input-placeholder,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input::-webkit-input-placeholder{color:var(--stzh-color-grey61)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input:-moz-placeholder,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input:-moz-placeholder{color:var(--stzh-color-grey61)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input::-moz-placeholder,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input::-moz-placeholder{color:var(--stzh-color-grey61)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input:-ms-input-placeholder,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input:-ms-input-placeholder{color:var(--stzh-color-grey61)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input:hover,.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input:focus,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input:hover,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input:focus{border-color:transparent}.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input{cursor:not-allowed}.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input::before,.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input::before{background:transparent}.stzh-input--is-readonly.sc-stzh-input .stzh-input__button-right[disabled].sc-stzh-input:not([disabled=false])[variant=input],.stzh-input--is-disabled.sc-stzh-input .stzh-input__button-right[disabled].sc-stzh-input:not([disabled=false])[variant=input]{--color:var(--stzh-color-grey61);--hover-color:var(--stzh-color-grey61)}';var inputCounter=0;var StzhInput=function(){function t(t){var s=this;registerInstance(this,t);this.stzhChange=createEvent(this,"stzhChange",7);this.stzhFocus=createEvent(this,"stzhFocus",7);this.stzhBlur=createEvent(this,"stzhBlur",7);this.focusedByInput=false;this.onClearClick=function(t){s.value="";s.input.focus();s.stzhChange.emit({component:"stzh-input",originalEvent:t,value:s.value})};this.onInput=function(t){s.value=s.input.value;s.stzhChange.emit({component:"stzh-input",originalEvent:t,value:s.value})};this.onRootFocus=function(){if(!s.focusedByInput){s.setFocus()}s.focusedByInput=false};this.onFocus=function(t){s.focusedByInput=true;var i=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});s.element.dispatchEvent(i);s.stzhFocus.emit({component:"stzh-input",originalEvent:t})};this.onBlur=function(t){s.input.value=s.input.value;var i=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});s.element.dispatchEvent(i);s.stzhBlur.emit({component:"stzh-input",originalEvent:t})};this.localization=undefined;this.multiline=false;this.rows=undefined;this.type="text";this.step=1;this.min=undefined;this.max=undefined;this.showSpin=false;this.readonly=false;this.disabled=false;this.clearable=false;this.showMarker=false;this.minlength=undefined;this.maxlength=undefined;this.name=undefined;this.value="";this.description=undefined;this.descriptionLong=undefined;this.error=undefined;this.invalid=false;this.required=false;this.inputmode=undefined;this.autocomplete="on";this.noAutocomplete=false;this.label="";this.size="default";this.a11yDescribedby="";this.filled=undefined}t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.input.focus();return[2]}))}))};t.prototype.valueWatcher=function(t){this.filled=t!==""};t.prototype.errorWatcher=function(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(s){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.typeWatcher=function(t){var s=["text","search","password","email","url","tel","number"];if(!this.multiline&&!s.includes(t)){throw new Error("Type ".concat(t," not supported"))}};t.prototype.renderTextarea=function(){var t=this;return h("textarea",{class:"stzh-input__input stzh-input__input--textarea",ref:function(s){return t.input=s},id:this.inputId,name:this.name,value:this.value,rows:this.rows,disabled:this.disabled,readonly:this.readonly,minlength:this.minlength,maxlength:this.maxlength,"aria-describedby":"".concat(this.inputId,"-description ").concat(this.a11yDescribedby),"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur})};t.prototype.renderInput=function(){var t=this;return h("input",{class:"stzh-input__input stzh-input__input--input",ref:function(s){return t.input=s},id:this.inputId,type:this.type,name:this.name,value:this.value,min:this.min,max:this.max,step:this.step,inputmode:this.inputmode,disabled:this.disabled,readonly:this.readonly,minlength:this.minlength,maxlength:this.maxlength,autocomplete:this.noAutocomplete?"off":this.autocomplete,"aria-autocomplete":this.noAutocomplete?"none":undefined,"aria-describedby":"".concat(this.inputId,"-description ").concat(this.a11yDescribedby),"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur})};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(s){switch(s.label){case 0:this.inputId="stzh-input-".concat(inputCounter++);this.typeWatcher(this.type);this.valueWatcher(this.value);this.errorWatcher(this.error);if(!!this.localization)return[3,2];t=this;return[4,fetchTranslations(this.element,"input")];case 1:t.localization=s.sent();s.label=2;case 2:return[2]}}))}))};t.prototype.render=function(){var t;var s;var i=hasSlot(this.element,"button-right");var n=hasSlot(this.element,"description")||!!this.description;var e=hasSlot(this.element,"description-long")||!!this.descriptionLong;var r=hasSlot(this.element,"error")||!!this.error;var u=(t={"stzh-input":true,"stzh-input--has-button-right":i||this.type==="search"||this.clearable&&this.filled&&!this.readonly&&!this.disabled,"stzh-input--has-description":n,"stzh-input--has-description-long":e,"stzh-input--has-error":r,"stzh-input--has-spin":this.showSpin,"stzh-input--is-invalid":this.invalid,"stzh-input--is-disabled":this.disabled,"stzh-input--is-readonly":this.readonly,"stzh-input--is-required":this.required,"stzh-input--is-filled":this.filled,"stzh-input--is-clearable":this.clearable,"stzh-input--has-fixed-label":((s=window===null||window===void 0?void 0:window.stzhComponents)===null||s===void 0?void 0:s.labels)==="fixed"},t["stzh-input--size-".concat(this.size)]=!!this.size,t["stzh-input--type-".concat(this.type)]=!!this.type,t);return h(Host,{tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus},h("div",{class:u},h("div",{class:"stzh-input__field-wrapper"},this.multiline?this.renderTextarea():this.renderInput(),h("label",{class:"stzh-input__label",htmlFor:this.inputId},this.label?this.label:h("slot",null),this.showMarker&&h("span",{class:"stzh-input__marker"},h("span",{class:"stzh-input__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),h("span",{class:"stzh-input__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText))),this.clearable||this.type==="search"?h("stzh-button",{class:"stzh-input__button-right",icon:this.disabled||this.readonly||!this.filled?"search":"close-circle","icon-only":true,variant:"input",onClick:this.onClearClick,disabled:this.disabled||this.readonly||!this.filled,a11yLabel:this.localization.$globals.clearButtonLabel,"aria-controls":this.inputId}):h("slot",{name:"button-right"})),h(StzhInputDescription,{classPrefix:"stzh-input",id:"".concat(this.inputId,"-description"),error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongUsed:e,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["valueWatcher"],error:["errorWatcher"],type:["typeWatcher"]}},enumerable:false,configurable:true});return t}();StzhInput.style=stzhInputCss;export{StzhInput as stzh_input};
1
+ var __awaiter=this&&this.__awaiter||function(t,s,i,n){function e(t){return t instanceof i?t:new i((function(s){s(t)}))}return new(i||(i=Promise))((function(i,h){function r(t){try{p(n.next(t))}catch(t){h(t)}}function u(t){try{p(n["throw"](t))}catch(t){h(t)}}function p(t){t.done?i(t.value):e(t.value).then(r,u)}p((n=n.apply(t,s||[])).next())}))};var __generator=this&&this.__generator||function(t,s){var i={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]},n,e,h,r;return r={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function u(t){return function(s){return p([t,s])}}function p(u){if(n)throw new TypeError("Generator is already executing.");while(r&&(r=0,u[0]&&(i=0)),i)try{if(n=1,e&&(h=u[0]&2?e["return"]:u[0]?e["throw"]||((h=e["return"])&&h.call(e),0):e.next)&&!(h=h.call(e,u[1])).done)return h;if(e=0,h)u=[u[0]&2,h.value];switch(u[0]){case 0:case 1:h=u;break;case 4:i.label++;return{value:u[1],done:false};case 5:i.label++;e=u[1];u=[0];continue;case 7:u=i.ops.pop();i.trys.pop();continue;default:if(!(h=i.trys,h=h.length>0&&h[h.length-1])&&(u[0]===6||u[0]===2)){i=0;continue}if(u[0]===3&&(!h||u[1]>h[0]&&u[1]<h[3])){i.label=u[1];break}if(u[0]===6&&i.label<h[1]){i.label=h[1];h=u;break}if(h&&i.label<h[2]){i.label=h[2];i.ops.push(u);break}if(h[2])i.ops.pop();i.trys.pop();continue}u=s.call(t,i)}catch(t){u=[6,t];e=0}finally{n=h=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,h,a as Host,g as getElement}from"./index-67fd55c9.js";import{h as hasSlot}from"./utils-8f264f12.js";import{f as fetchTranslations}from"./translation-utils-2623783f.js";import{S as StzhInputDescription}from"./stzh-input-description-cceaa066.js";var stzhInputCss='.sc-stzh-input-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-input-h{display:none}.sc-stzh-input-h *.sc-stzh-input,.sc-stzh-input-h *.sc-stzh-input::before,.sc-stzh-input-h *.sc-stzh-input::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-input-h{--text-align:left;--input-width:100%;--padding:var(--stzh-space-xsmall) var(--stzh-space-medium);width:100%}.sc-stzh-input-h .sc-stzh-input-s>[slot=button-right],.stzh-input__button-right.sc-stzh-input{position:absolute;top:0;right:0}.sc-stzh-input-h .sc-stzh-input-s>stzh-button[slot=button-right][variant=input],.sc-stzh-input-h .sc-stzh-input-s>[slot=button-right] stzh-button[variant=input],.stzh-input__button-right[variant=input].sc-stzh-input{--border-color:transparent;--hover-border-color:transparent}.stzh-input.sc-stzh-input{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)}.stzh-input__marker-symbol.sc-stzh-input{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-input__marker-text.sc-stzh-input{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-input__description-wrapper.sc-stzh-input{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-input__error.sc-stzh-input,.stzh-input__description.sc-stzh-input{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-input__error.sc-stzh-input{color:var(--stzh-color-error)}.stzh-input__error-list.sc-stzh-input{list-style:none;margin:0;padding:0}.stzh-input__description.sc-stzh-input{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-input__description-long.sc-stzh-input{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-input__description-long-popover.sc-stzh-input{--width:auto;--max-width:27.3125rem}.stzh-input__description-long-popover[open].sc-stzh-input:not([open=false]) .stzh-input__description-long-button.sc-stzh-input{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-input__description-long-button.sc-stzh-input{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-input__description-long-button.sc-stzh-input:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-input.sc-stzh-input stzh-icon.stzh-input__description-long-icon.sc-stzh-input{--size:var(--stzh-icon-size-xsmall)}.stzh-input--has-error.sc-stzh-input .stzh-input__error.sc-stzh-input,.stzh-input--has-description.sc-stzh-input .stzh-input__description.sc-stzh-input{margin-top:var(--stzh-space-xxsmall)}.stzh-input__field-wrapper.sc-stzh-input{position:relative;display:-ms-flexbox;display:flex;width:var(--input-width)}.stzh-input__input.sc-stzh-input{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:0.0625rem solid var(--stzh-color-grey61);-webkit-transition-property:color, border-color;transition-property:color, border-color;-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-form-input-border-radius);padding:var(--padding);width:100%;color:var(--stzh-color-primary, var(--stzh-color-zueriblue));background:var(--stzh-color-white);-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:var(--text-align)}.stzh-input__input.sc-stzh-input::-webkit-input-placeholder{color:var(--stzh-color-grey61)}.stzh-input__input.sc-stzh-input:-moz-placeholder{color:var(--stzh-color-grey61)}.stzh-input__input.sc-stzh-input::-moz-placeholder{color:var(--stzh-color-grey61)}.stzh-input__input.sc-stzh-input:-ms-input-placeholder{color:var(--stzh-color-grey61)}.stzh-input__input.sc-stzh-input:hover,.stzh-input__input.sc-stzh-input:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-input__input.sc-stzh-input::-ms-clear{display:none}.stzh-input__input.sc-stzh-input:-webkit-autofill{-webkit-background-clip:text;background-clip:text}.stzh-input__input.sc-stzh-input:-moz-placeholder-shown{text-overflow:ellipsis}.stzh-input__input.sc-stzh-input:-ms-input-placeholder{text-overflow:ellipsis}.stzh-input__input.sc-stzh-input:placeholder-shown{text-overflow:ellipsis}.stzh-input__input[type=search].sc-stzh-input::-webkit-search-decoration,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-cancel-button,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-results-button,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-results-decoration{-webkit-appearance:none}.stzh-input__input--input.sc-stzh-input{height:var(--stzh-form-input-height)}.stzh-input__input--textarea.sc-stzh-input{min-height:var(--stzh-form-input-height);resize:vertical}.stzh-input__label.sc-stzh-input{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--stzh-color-grey61);width:auto;position:absolute;top:calc(var(--stzh-form-input-height) / 2);left:calc(var(--stzh-space-medium) + 0.0625rem);max-width:calc(100% - var(--stzh-space-medium) * 2);-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);pointer-events:none}.stzh-input__label.sc-stzh-input:empty{display:none}.stzh-input__label.sc-stzh-input::before{content:"";display:none;background:var(--stzh-color-white);position:absolute;width:100%;z-index:-1;left:0;top:50%;margin-top:-0.5px;height:0.125rem}.stzh-input__input.sc-stzh-input:hover+.stzh-input__label.sc-stzh-input,.stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-input__button-right.sc-stzh-input{display:none}.stzh-input__button-right[disabled].sc-stzh-input:not([disabled=false])[variant=input]{--color:var(--stzh-color-grey61);--background-color:transparent;--border-color:transparent;--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:transparent;--hover-border-color:transparent}.stzh-input--is-clearable.stzh-input--is-filled.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.sc-stzh-input .stzh-input__button-right.sc-stzh-input{display:block}.stzh-input--type-search.sc-stzh-input:not(.stzh-input--is-filled) .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-readonly.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-disabled.sc-stzh-input .stzh-input__button-right.sc-stzh-input{pointer-events:none}.stzh-input--is-filled.sc-stzh-input .stzh-input__button-right.is-search.sc-stzh-input{pointer-events:initial}.stzh-input.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input,.stzh-input--has-fixed-label.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-filled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input{display:block;top:0;left:calc(var(--stzh-space-medium) - var(--stzh-space-xxsmall));height:1.25rem;line-height:1.25rem;padding:0 var(--stzh-space-xxsmall);max-width:calc(100% - var(--stzh-space-small) * 2);pointer-events:all}.stzh-input.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input:not(:empty)::before,.stzh-input--has-fixed-label.sc-stzh-input .stzh-input__label.sc-stzh-input:not(:empty)::before,.stzh-input--is-filled.sc-stzh-input .stzh-input__label.sc-stzh-input:not(:empty)::before,.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input:not(:empty)::before,.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input:not(:empty)::before,.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input:not(:empty)::before{display:block}.stzh-input--has-button-right.sc-stzh-input .stzh-input__input.sc-stzh-input{padding-right:calc(var(--stzh-space-xsmall) + var(--stzh-form-input-height))}.stzh-input--has-button-right.sc-stzh-input .stzh-input__label.sc-stzh-input{max-width:calc(100% - (var(--stzh-space-medium) + 0.0625rem) * 2 - var(--stzh-form-input-height))}.stzh-input--has-button-right.stzh-input.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input,.stzh-input--has-button-right.stzh-input--has-fixed-label.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--has-button-right.stzh-input--is-filled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--has-button-right.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--has-button-right.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--has-button-right.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input{max-width:calc(100% - var(--stzh-space-medium) - var(--stzh-space-xxsmall) - 0.0625rem + var(--stzh-space-xxsmall) - var(--stzh-form-input-height))}.stzh-input--size-small.sc-stzh-input{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-input--size-small.sc-stzh-input .stzh-input__input.sc-stzh-input{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-input--size-small.sc-stzh-input .stzh-input__input--input.sc-stzh-input{height:var(--stzh-form-input-small-height)}.stzh-input--size-small.sc-stzh-input .stzh-input__input--textarea.sc-stzh-input{min-height:var(--stzh-form-input-small-height)}.stzh-input--size-small.sc-stzh-input .stzh-input__label.sc-stzh-input{top:calc(var(--stzh-form-input-small-height) / 2)}.stzh-input--size-small.stzh-input.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-fixed-label.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--is-filled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input{top:0}.stzh-input--size-small.stzh-input--has-button-right.sc-stzh-input .stzh-input__input.sc-stzh-input{padding-right:calc(var(--stzh-space-xxsmall) + var(--stzh-form-input-small-height))}.stzh-input--size-small.stzh-input--has-button-right.sc-stzh-input .stzh-input__label.sc-stzh-input{max-width:calc(100% - (var(--stzh-space-medium) + 0.0625rem) * 2 - var(--stzh-form-input-small-height))}.stzh-input--size-small.stzh-input--has-button-right.stzh-input.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-button-right.stzh-input--has-fixed-label.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-button-right.stzh-input--is-filled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-button-right.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-button-right.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-button-right.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input{max-width:calc(100% - var(--stzh-space-medium) - var(--stzh-space-xxsmall) - 0.0625rem + var(--stzh-space-xsmall) - var(--stzh-form-input-small-height))}.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input.sc-stzh-input::-webkit-outer-spin-button,.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input.sc-stzh-input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input[type=number].sc-stzh-input{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.stzh-input--has-label-hidden.sc-stzh-input .stzh-input__label.sc-stzh-input{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-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input+.stzh-input__label.sc-stzh-input{color:var(--stzh-color-error)}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input{border-color:var(--stzh-color-error)}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input::-webkit-input-placeholder{color:var(--stzh-color-error)}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input:-moz-placeholder{color:var(--stzh-color-error)}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input::-moz-placeholder{color:var(--stzh-color-error)}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input:-ms-input-placeholder{color:var(--stzh-color-error)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input+.stzh-input__label.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input+.stzh-input__label.sc-stzh-input{color:var(--stzh-color-grey61)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input{color:var(--stzh-color-grey61);border-color:transparent;background-color:var(--stzh-color-black8);cursor:not-allowed}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input::-webkit-input-placeholder,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input::-webkit-input-placeholder{color:var(--stzh-color-grey61)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input:-moz-placeholder,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input:-moz-placeholder{color:var(--stzh-color-grey61)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input::-moz-placeholder,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input::-moz-placeholder{color:var(--stzh-color-grey61)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input:-ms-input-placeholder,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input:-ms-input-placeholder{color:var(--stzh-color-grey61)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input:hover,.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input:focus,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input:hover,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input:focus{border-color:transparent}.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input{cursor:not-allowed}.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input::before,.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input::before{background:transparent}.stzh-input--is-readonly.sc-stzh-input .stzh-input__button-right[disabled].sc-stzh-input:not([disabled=false])[variant=input],.stzh-input--is-disabled.sc-stzh-input .stzh-input__button-right[disabled].sc-stzh-input:not([disabled=false])[variant=input]{--color:var(--stzh-color-grey61);--hover-color:var(--stzh-color-grey61)}';var inputCounter=0;var StzhInput=function(){function t(t){var s=this;registerInstance(this,t);this.stzhChange=createEvent(this,"stzhChange",7);this.stzhFocus=createEvent(this,"stzhFocus",7);this.stzhBlur=createEvent(this,"stzhBlur",7);this.focusedByInput=false;this.onClearClick=function(t){s.value="";s.input.focus();s.stzhChange.emit({component:"stzh-input",originalEvent:t,value:s.value})};this.onInput=function(t){s.value=s.input.value;s.stzhChange.emit({component:"stzh-input",originalEvent:t,value:s.value})};this.onRootFocus=function(){if(!s.focusedByInput){s.setFocus()}s.focusedByInput=false};this.onFocus=function(t){s.focusedByInput=true;var i=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});s.element.dispatchEvent(i);s.stzhFocus.emit({component:"stzh-input",originalEvent:t})};this.onBlur=function(t){s.input.value=s.input.value;var i=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});s.element.dispatchEvent(i);s.stzhBlur.emit({component:"stzh-input",originalEvent:t})};this.localization=undefined;this.multiline=false;this.rows=undefined;this.type="text";this.step=1;this.min=undefined;this.max=undefined;this.showSpin=false;this.readonly=false;this.disabled=false;this.clearable=false;this.showMarker=false;this.minlength=undefined;this.maxlength=undefined;this.name=undefined;this.value="";this.description=undefined;this.descriptionLong=undefined;this.error=undefined;this.invalid=false;this.required=false;this.inputmode=undefined;this.autocomplete="on";this.noAutocomplete=false;this.label="";this.labelHidden=false;this.size="default";this.a11yDescribedby="";this.filled=undefined}t.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.input.focus();return[2]}))}))};t.prototype.valueWatcher=function(t){this.filled=t!==""};t.prototype.errorWatcher=function(t){if(typeof t==="string"){try{this._error=JSON.parse(t)}catch(s){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.typeWatcher=function(t){var s=["text","search","password","email","url","tel","number"];if(!this.multiline&&!s.includes(t)){throw new Error("Type ".concat(t," not supported"))}};t.prototype.renderTextarea=function(){var t=this;return h("textarea",{class:"stzh-input__input stzh-input__input--textarea",ref:function(s){return t.input=s},id:this.inputId,name:this.name,value:this.value,rows:this.rows,disabled:this.disabled,readonly:this.readonly,minlength:this.minlength,maxlength:this.maxlength,"aria-describedby":"".concat(this.inputId,"-description ").concat(this.a11yDescribedby),"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur})};t.prototype.renderInput=function(){var t=this;return h("input",{class:"stzh-input__input stzh-input__input--input",ref:function(s){return t.input=s},id:this.inputId,type:this.type,name:this.name,value:this.value,min:this.min,max:this.max,step:this.step,inputmode:this.inputmode,disabled:this.disabled,readonly:this.readonly,minlength:this.minlength,maxlength:this.maxlength,autocomplete:this.noAutocomplete?"off":this.autocomplete,"aria-autocomplete":this.noAutocomplete?"none":undefined,"aria-describedby":"".concat(this.inputId,"-description ").concat(this.a11yDescribedby),"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur})};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(s){switch(s.label){case 0:this.inputId="stzh-input-".concat(inputCounter++);this.typeWatcher(this.type);this.valueWatcher(this.value);this.errorWatcher(this.error);if(!!this.localization)return[3,2];t=this;return[4,fetchTranslations(this.element,"input")];case 1:t.localization=s.sent();s.label=2;case 2:return[2]}}))}))};t.prototype.render=function(){var t;var s;var i=hasSlot(this.element,"button-right");var n=hasSlot(this.element,"description")||!!this.description;var e=hasSlot(this.element,"description-long")||!!this.descriptionLong;var r=hasSlot(this.element,"error")||!!this.error;var u=(t={"stzh-input":true,"stzh-input--has-button-right":i||this.type==="search"||this.clearable&&this.filled&&!this.readonly&&!this.disabled,"stzh-input--has-description":n,"stzh-input--has-description-long":e,"stzh-input--has-error":r,"stzh-input--has-spin":this.showSpin,"stzh-input--is-invalid":this.invalid,"stzh-input--is-disabled":this.disabled,"stzh-input--is-readonly":this.readonly,"stzh-input--is-required":this.required,"stzh-input--is-filled":this.filled,"stzh-input--is-clearable":this.clearable,"stzh-input--has-fixed-label":((s=window===null||window===void 0?void 0:window.stzhComponents)===null||s===void 0?void 0:s.labels)==="fixed","stzh-input--has-label-hidden":this.labelHidden},t["stzh-input--size-".concat(this.size)]=!!this.size,t["stzh-input--type-".concat(this.type)]=!!this.type,t);return h(Host,{tabindex:this.disabled?null:"-1",onFocus:this.onRootFocus},h("div",{class:u},h("div",{class:"stzh-input__field-wrapper"},this.multiline?this.renderTextarea():this.renderInput(),h("label",{class:"stzh-input__label",htmlFor:this.inputId},this.label?this.label:h("slot",null),this.showMarker&&h("span",{class:"stzh-input__marker"},h("span",{class:"stzh-input__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),h("span",{class:"stzh-input__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText))),this.clearable||this.type==="search"?h("stzh-button",{class:"stzh-input__button-right",icon:this.disabled||this.readonly||!this.filled?"search":"close-circle","icon-only":true,variant:"input",onClick:this.onClearClick,disabled:this.disabled||this.readonly||!this.filled,a11yLabel:this.localization.$globals.clearButtonLabel,"aria-controls":this.inputId}):h("slot",{name:"button-right"})),h(StzhInputDescription,{classPrefix:"stzh-input",id:"".concat(this.inputId,"-description"),error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongUsed:e,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel})))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["valueWatcher"],error:["errorWatcher"],type:["typeWatcher"]}},enumerable:false,configurable:true});return t}();StzhInput.style=stzhInputCss;export{StzhInput as stzh_input};
2
2
  //# sourceMappingURL=stzh-input.entry.js.map