@oiz/stzh-components 2.0.0 → 2.1.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 (638) hide show
  1. package/dist/cjs/{app-globals-ec8cc33e.js → app-globals-e1f4f1d9.js} +1 -1
  2. package/dist/cjs/{dom-874a1e39.js → dom-9deb26c8.js} +1 -1
  3. package/dist/cjs/{index-ac9bdc7f.js → index-9fcb4305.js} +228 -210
  4. package/dist/cjs/loader.cjs.js +4 -4
  5. package/dist/cjs/{shadow-css-a33dc836.js → shadow-css-bf3843d2.js} +1 -1
  6. package/dist/cjs/stzh-accordion-item.cjs.entry.js +13 -23
  7. package/dist/cjs/stzh-accordion.cjs.entry.js +1 -3
  8. package/dist/cjs/stzh-actions.cjs.entry.js +3 -5
  9. package/dist/cjs/stzh-actionset.cjs.entry.js +16 -16
  10. package/dist/cjs/stzh-anchornav.cjs.entry.js +52 -0
  11. package/dist/cjs/stzh-appnav.cjs.entry.js +4 -7
  12. package/dist/cjs/stzh-appointments.cjs.entry.js +12 -17
  13. package/dist/cjs/stzh-audio.cjs.entry.js +4150 -0
  14. package/dist/cjs/stzh-badge_3.cjs.entry.js +26 -57
  15. package/dist/cjs/stzh-calendar.cjs.entry.js +9 -25
  16. package/dist/cjs/stzh-card-list.cjs.entry.js +6 -8
  17. package/dist/cjs/stzh-card.cjs.entry.js +20 -50
  18. package/dist/cjs/stzh-cell.cjs.entry.js +1 -8
  19. package/dist/cjs/stzh-checkbox.cjs.entry.js +15 -20
  20. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +29 -20
  21. package/dist/cjs/stzh-chip-select.cjs.entry.js +14 -16
  22. package/dist/cjs/stzh-chip.cjs.entry.js +14 -25
  23. package/dist/cjs/stzh-clamp.cjs.entry.js +27 -0
  24. package/dist/cjs/stzh-components.cjs.js +5 -5
  25. package/dist/cjs/stzh-container.cjs.entry.js +1 -1
  26. package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
  27. package/dist/cjs/stzh-datalist.cjs.entry.js +8 -20
  28. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +11 -11
  29. package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-datatable.cjs.entry.js +15 -21
  31. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +431 -0
  32. package/dist/cjs/stzh-dialog.cjs.entry.js +11 -19
  33. package/dist/cjs/stzh-dropdown.cjs.entry.js +17 -37
  34. package/dist/cjs/stzh-fieldset.cjs.entry.js +1 -5
  35. package/dist/cjs/stzh-figure.cjs.entry.js +1 -3
  36. package/dist/cjs/stzh-flyingfocus.cjs.entry.js +7 -7
  37. package/dist/cjs/stzh-footer.cjs.entry.js +5 -5
  38. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +8 -19
  39. package/dist/cjs/stzh-header.cjs.entry.js +3 -9
  40. package/dist/cjs/stzh-heading.cjs.entry.js +1 -4
  41. package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
  42. package/dist/cjs/stzh-hspace.cjs.entry.js +1 -10
  43. package/dist/cjs/stzh-icon-sprite.cjs.entry.js +2 -2
  44. package/dist/cjs/{stzh-input-description-9802abc2.js → stzh-input-description-4326b0d9.js} +1 -1
  45. package/dist/cjs/stzh-input.cjs.entry.js +30 -37
  46. package/dist/cjs/stzh-link.cjs.entry.js +23 -33
  47. package/dist/cjs/stzh-list-item.cjs.entry.js +1 -1
  48. package/dist/cjs/stzh-list.cjs.entry.js +1 -2
  49. package/dist/cjs/stzh-loader.cjs.entry.js +1 -4
  50. package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -4
  51. package/dist/cjs/stzh-menu_2.cjs.entry.js +11 -19
  52. package/dist/cjs/stzh-message.cjs.entry.js +5 -18
  53. package/dist/cjs/stzh-metanav.cjs.entry.js +1 -1
  54. package/dist/cjs/stzh-olmap.cjs.entry.js +51129 -0
  55. package/dist/cjs/stzh-overlay.cjs.entry.js +1 -4
  56. package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
  57. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  58. package/dist/cjs/stzh-popover.cjs.entry.js +10 -13
  59. package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
  60. package/dist/cjs/stzh-progressbar-item.cjs.entry.js +9 -9
  61. package/dist/cjs/stzh-progressbar.cjs.entry.js +9 -24
  62. package/dist/cjs/stzh-readspeaker.cjs.entry.js +3 -1
  63. package/dist/cjs/stzh-row.cjs.entry.js +1 -9
  64. package/dist/cjs/stzh-saptcha.cjs.entry.js +4 -7
  65. package/dist/cjs/stzh-section.cjs.entry.js +1 -2
  66. package/dist/cjs/stzh-skiplink.cjs.entry.js +4 -2
  67. package/dist/cjs/stzh-sortable.cjs.entry.js +26 -30
  68. package/dist/cjs/stzh-status.cjs.entry.js +1 -5
  69. package/dist/cjs/stzh-sticky.cjs.entry.js +84 -0
  70. package/dist/cjs/stzh-table.cjs.entry.js +8 -10
  71. package/dist/cjs/stzh-text.cjs.entry.js +37 -0
  72. package/dist/cjs/stzh-toggle.cjs.entry.js +16 -22
  73. package/dist/cjs/stzh-tooltip.cjs.entry.js +12 -23
  74. package/dist/cjs/stzh-upload.cjs.entry.js +5 -127
  75. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +5 -7
  76. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +8 -9
  77. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +6 -7
  78. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
  79. package/dist/cjs/stzh-vspace.cjs.entry.js +1 -10
  80. package/dist/collection/assets/i18n/de.json +19 -0
  81. package/dist/collection/assets/i18n/en.json +19 -0
  82. package/dist/collection/assets/icons/mono/target-bullet.svg +12 -0
  83. package/dist/collection/assets/media/olmap/marker-active.png +0 -0
  84. package/dist/collection/assets/media/olmap/marker-position.png +0 -0
  85. package/dist/collection/assets/media/olmap/marker.png +0 -0
  86. package/dist/collection/assets/media/olmap/thumb-satellite.jpg +0 -0
  87. package/dist/collection/assets/media/olmap/thumb-streets.jpg +0 -0
  88. package/dist/collection/collection-manifest.json +7 -2
  89. package/dist/collection/components/stzh-accordion/stzh-accordion.js +0 -2
  90. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +12 -22
  91. package/dist/collection/components/stzh-actions/stzh-actions.js +2 -4
  92. package/dist/collection/components/stzh-actionset/stzh-actionset.js +21 -21
  93. package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +286 -0
  94. package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +216 -0
  95. package/dist/collection/components/stzh-anchornav/stzh-anchornav.stories.js +76 -0
  96. package/dist/collection/components/stzh-appnav/stzh-appnav.js +3 -6
  97. package/dist/collection/components/stzh-appointments/stzh-appointments.js +11 -16
  98. package/dist/collection/components/stzh-audio/stzh-audio.css +319 -0
  99. package/dist/collection/components/stzh-audio/stzh-audio.js +333 -0
  100. package/dist/collection/components/stzh-audio/stzh-audio.localization.js +1 -0
  101. package/dist/collection/components/stzh-audio/stzh-audio.stories.js +89 -0
  102. package/dist/collection/components/stzh-badge/stzh-badge.js +0 -2
  103. package/dist/collection/components/stzh-button/stzh-button.css +1 -0
  104. package/dist/collection/components/stzh-button/stzh-button.js +24 -45
  105. package/dist/collection/components/stzh-calendar/stzh-calendar.js +8 -24
  106. package/dist/collection/components/stzh-card/stzh-card.js +19 -49
  107. package/dist/collection/components/stzh-card-list/stzh-card-list.js +5 -7
  108. package/dist/collection/components/stzh-cell/stzh-cell.js +0 -7
  109. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +13 -18
  110. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +33 -20
  111. package/dist/collection/components/stzh-chip/stzh-chip.js +13 -24
  112. package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +12 -14
  113. package/dist/collection/components/stzh-clamp/stzh-clamp.css +279 -0
  114. package/dist/collection/components/stzh-clamp/stzh-clamp.js +125 -0
  115. package/dist/collection/components/stzh-clamp/stzh-clamp.stories.js +41 -0
  116. package/dist/collection/components/stzh-datalist/stzh-datalist.js +7 -19
  117. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +10 -10
  118. package/dist/collection/components/stzh-datatable/stzh-datatable.js +14 -20
  119. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +19 -35
  120. package/dist/collection/components/stzh-dialog/stzh-dialog.js +10 -18
  121. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +15 -35
  122. package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +0 -4
  123. package/dist/collection/components/stzh-figure/stzh-figure.js +0 -2
  124. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +6 -6
  125. package/dist/collection/components/stzh-footer/stzh-footer.js +4 -4
  126. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.js +7 -16
  127. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.stories.js +6 -6
  128. package/dist/collection/components/stzh-header/stzh-header.js +2 -8
  129. package/dist/collection/components/stzh-heading/stzh-heading.js +0 -3
  130. package/dist/collection/components/stzh-hr/stzh-hr.stories.js +11 -1
  131. package/dist/collection/components/stzh-hspace/stzh-hspace.js +0 -9
  132. package/dist/collection/components/stzh-icon/stzh-icon.js +0 -8
  133. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +19 -6
  134. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  135. package/dist/collection/components/stzh-input/stzh-input.js +29 -36
  136. package/dist/collection/components/stzh-link/stzh-link.css +18 -0
  137. package/dist/collection/components/stzh-link/stzh-link.js +57 -31
  138. package/dist/collection/components/stzh-link/stzh-link.stories.js +3 -1
  139. package/dist/collection/components/stzh-list/stzh-list.js +0 -1
  140. package/dist/collection/components/stzh-loader/stzh-loader.js +0 -3
  141. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.js +0 -3
  142. package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +10 -18
  143. package/dist/collection/components/stzh-message/stzh-message.js +4 -17
  144. package/dist/collection/components/stzh-olmap/stzh-olmap.css +284 -0
  145. package/dist/collection/components/stzh-olmap/stzh-olmap.js +1042 -0
  146. package/dist/collection/components/stzh-olmap/stzh-olmap.localization.js +1 -0
  147. package/dist/collection/components/stzh-olmap/stzh-olmap.stories.js +36 -0
  148. package/dist/collection/components/stzh-overlay/stzh-overlay.js +0 -3
  149. package/dist/collection/components/stzh-popover/stzh-popover.js +9 -12
  150. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.js +1 -2
  151. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.stories.js +1 -1
  152. package/dist/collection/components/stzh-progressbar/stzh-progressbar.js +8 -23
  153. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js +8 -8
  154. package/dist/collection/components/stzh-radio/stzh-radio.js +13 -18
  155. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +34 -22
  156. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +2 -0
  157. package/dist/collection/components/stzh-richtext/stzh-richtext.js +0 -2
  158. package/dist/collection/components/stzh-row/stzh-row.js +0 -8
  159. package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +3 -6
  160. package/dist/collection/components/stzh-section/stzh-section.js +0 -1
  161. package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +3 -1
  162. package/dist/collection/components/stzh-sortable/stzh-sortable.js +25 -29
  163. package/dist/collection/components/stzh-status/stzh-status.js +0 -4
  164. package/dist/collection/components/stzh-sticky/stzh-sticky.css +144 -0
  165. package/dist/collection/components/stzh-sticky/stzh-sticky.js +184 -0
  166. package/dist/collection/components/stzh-sticky/stzh-sticky.stories.js +91 -0
  167. package/dist/collection/components/stzh-table/stzh-table.js +7 -9
  168. package/dist/collection/components/stzh-text/stzh-text.js +0 -8
  169. package/dist/collection/components/stzh-toggle/stzh-toggle.js +14 -20
  170. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +11 -22
  171. package/dist/collection/components/stzh-upload/stzh-upload.js +3 -125
  172. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +4 -6
  173. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.js +7 -8
  174. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +5 -6
  175. package/dist/collection/components/stzh-vspace/stzh-vspace.js +0 -9
  176. package/dist/collection/pages/meinkonto.stories.js +2 -2
  177. package/dist/components/index.d.ts +5 -0
  178. package/dist/components/index.js +6 -1
  179. package/dist/components/stzh-accordion-item.js +12 -22
  180. package/dist/components/stzh-accordion.js +0 -2
  181. package/dist/components/stzh-actions.js +2 -4
  182. package/dist/components/stzh-actionset2.js +15 -15
  183. package/dist/components/stzh-anchornav.d.ts +11 -0
  184. package/dist/components/stzh-anchornav.js +97 -0
  185. package/dist/components/stzh-appnav.js +3 -6
  186. package/dist/components/stzh-appointments.js +11 -16
  187. package/dist/components/stzh-audio.d.ts +11 -0
  188. package/dist/components/stzh-audio.js +4195 -0
  189. package/dist/components/stzh-badge2.js +0 -2
  190. package/dist/components/stzh-button2.js +25 -46
  191. package/dist/components/stzh-calendar2.js +8 -24
  192. package/dist/components/stzh-card-list.js +5 -7
  193. package/dist/components/stzh-card.js +19 -49
  194. package/dist/components/stzh-cell.js +0 -7
  195. package/dist/components/stzh-checkbox.js +13 -18
  196. package/dist/components/stzh-checkboxgroup.js +28 -19
  197. package/dist/components/stzh-chip-select.js +12 -14
  198. package/dist/components/stzh-chip2.js +13 -24
  199. package/dist/components/stzh-clamp.d.ts +11 -0
  200. package/dist/components/stzh-clamp.js +6 -0
  201. package/dist/components/stzh-clamp2.js +43 -0
  202. package/dist/components/stzh-datalist.js +7 -19
  203. package/dist/components/stzh-datamessagelist-item.js +10 -10
  204. package/dist/components/stzh-datatable.js +14 -20
  205. package/dist/components/stzh-datepicker2.js +19 -35
  206. package/dist/components/stzh-dialog.js +10 -18
  207. package/dist/components/stzh-dropdown2.js +15 -35
  208. package/dist/components/stzh-fieldset.js +0 -4
  209. package/dist/components/stzh-figure.js +0 -2
  210. package/dist/components/stzh-flyingfocus.js +6 -6
  211. package/dist/components/stzh-footer.js +4 -4
  212. package/dist/components/stzh-ghettobox2.js +7 -16
  213. package/dist/components/stzh-header.js +2 -8
  214. package/dist/components/stzh-heading2.js +0 -3
  215. package/dist/components/stzh-hspace.js +0 -9
  216. package/dist/components/stzh-icon-sprite.js +1 -1
  217. package/dist/components/stzh-icon2.js +0 -8
  218. package/dist/components/stzh-input2.js +28 -35
  219. package/dist/components/stzh-link2.js +24 -32
  220. package/dist/components/stzh-list.js +0 -1
  221. package/dist/components/stzh-loader.js +1 -43
  222. package/dist/components/stzh-loader2.js +42 -0
  223. package/dist/components/stzh-loadingbar.js +0 -3
  224. package/dist/components/stzh-menu-item2.js +10 -18
  225. package/dist/components/stzh-message.js +4 -17
  226. package/dist/components/stzh-olmap.d.ts +11 -0
  227. package/dist/components/stzh-olmap.js +51168 -0
  228. package/dist/components/stzh-overlay.js +0 -3
  229. package/dist/components/stzh-popover2.js +9 -12
  230. package/dist/components/stzh-progressbar-item2.js +8 -8
  231. package/dist/components/stzh-progressbar.js +8 -23
  232. package/dist/components/stzh-radio2.js +13 -18
  233. package/dist/components/stzh-radiogroup2.js +29 -21
  234. package/dist/components/stzh-readspeaker.js +2 -0
  235. package/dist/components/stzh-richtext2.js +0 -2
  236. package/dist/components/stzh-row.js +0 -8
  237. package/dist/components/stzh-saptcha.js +3 -6
  238. package/dist/components/stzh-section.js +0 -1
  239. package/dist/components/stzh-skiplink.js +3 -1
  240. package/dist/components/stzh-sortable2.js +25 -29
  241. package/dist/components/stzh-status2.js +0 -4
  242. package/dist/components/stzh-sticky.d.ts +11 -0
  243. package/dist/components/stzh-sticky.js +102 -0
  244. package/dist/components/stzh-table.js +7 -9
  245. package/dist/components/stzh-text2.js +0 -8
  246. package/dist/components/stzh-toggle.js +14 -20
  247. package/dist/components/stzh-tooltip2.js +11 -22
  248. package/dist/components/stzh-upload.js +3 -125
  249. package/dist/components/stzh-vbz-linechip2.js +4 -6
  250. package/dist/components/stzh-vbz-majorticker.js +7 -8
  251. package/dist/components/stzh-vbz-ticker.js +5 -6
  252. package/dist/components/stzh-vspace.js +0 -9
  253. package/dist/esm/{app-globals-e66420b3.js → app-globals-453acbdb.js} +1 -1
  254. package/dist/esm/{dom-104fb833.js → dom-6be6f662.js} +1 -1
  255. package/dist/esm/{index-84f71a43.js → index-2915b467.js} +228 -210
  256. package/dist/esm/loader.js +4 -4
  257. package/dist/esm/polyfills/css-shim.js +1 -1
  258. package/dist/esm/{shadow-css-4261c637.js → shadow-css-ed4599f8.js} +1 -1
  259. package/dist/esm/stzh-accordion-item.entry.js +13 -23
  260. package/dist/esm/stzh-accordion.entry.js +1 -3
  261. package/dist/esm/stzh-actions.entry.js +3 -5
  262. package/dist/esm/stzh-actionset.entry.js +16 -16
  263. package/dist/esm/stzh-anchornav.entry.js +48 -0
  264. package/dist/esm/stzh-appnav.entry.js +4 -7
  265. package/dist/esm/stzh-appointments.entry.js +12 -17
  266. package/dist/esm/stzh-audio.entry.js +4146 -0
  267. package/dist/esm/stzh-badge_3.entry.js +26 -57
  268. package/dist/esm/stzh-calendar.entry.js +10 -26
  269. package/dist/esm/stzh-card-list.entry.js +6 -8
  270. package/dist/esm/stzh-card.entry.js +20 -50
  271. package/dist/esm/stzh-cell.entry.js +1 -8
  272. package/dist/esm/stzh-checkbox.entry.js +15 -20
  273. package/dist/esm/stzh-checkboxgroup.entry.js +29 -20
  274. package/dist/esm/stzh-chip-select.entry.js +14 -16
  275. package/dist/esm/stzh-chip.entry.js +14 -25
  276. package/dist/esm/stzh-clamp.entry.js +23 -0
  277. package/dist/esm/stzh-components.js +5 -5
  278. package/dist/esm/stzh-container.entry.js +1 -1
  279. package/dist/esm/stzh-cspace.entry.js +1 -1
  280. package/dist/esm/stzh-datalist.entry.js +8 -20
  281. package/dist/esm/stzh-datamessagelist-item.entry.js +11 -11
  282. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  283. package/dist/esm/stzh-datatable.entry.js +15 -21
  284. package/dist/esm/stzh-datepicker_3.entry.js +425 -0
  285. package/dist/esm/stzh-dialog.entry.js +11 -19
  286. package/dist/esm/stzh-dropdown.entry.js +17 -37
  287. package/dist/esm/stzh-fieldset.entry.js +1 -5
  288. package/dist/esm/stzh-figure.entry.js +1 -3
  289. package/dist/esm/stzh-flyingfocus.entry.js +7 -7
  290. package/dist/esm/stzh-footer.entry.js +5 -5
  291. package/dist/esm/stzh-ghettobox_2.entry.js +8 -19
  292. package/dist/esm/stzh-header.entry.js +3 -9
  293. package/dist/esm/stzh-heading.entry.js +1 -4
  294. package/dist/esm/stzh-hr.entry.js +1 -1
  295. package/dist/esm/stzh-hspace.entry.js +1 -10
  296. package/dist/esm/stzh-icon-sprite.entry.js +2 -2
  297. package/dist/esm/{stzh-input-description-8c477f97.js → stzh-input-description-e87e6697.js} +1 -1
  298. package/dist/esm/stzh-input.entry.js +30 -37
  299. package/dist/esm/stzh-link.entry.js +23 -33
  300. package/dist/esm/stzh-list-item.entry.js +1 -1
  301. package/dist/esm/stzh-list.entry.js +1 -2
  302. package/dist/esm/stzh-loader.entry.js +1 -4
  303. package/dist/esm/stzh-loadingbar.entry.js +1 -4
  304. package/dist/esm/stzh-menu_2.entry.js +11 -19
  305. package/dist/esm/stzh-message.entry.js +5 -18
  306. package/dist/esm/stzh-metanav.entry.js +1 -1
  307. package/dist/esm/stzh-olmap.entry.js +51125 -0
  308. package/dist/esm/stzh-overlay.entry.js +1 -4
  309. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  310. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  311. package/dist/esm/stzh-popover.entry.js +10 -13
  312. package/dist/esm/stzh-portal-mitwirken.entry.js +1 -1
  313. package/dist/esm/stzh-progressbar-item.entry.js +9 -9
  314. package/dist/esm/stzh-progressbar.entry.js +9 -24
  315. package/dist/esm/stzh-readspeaker.entry.js +3 -1
  316. package/dist/esm/stzh-row.entry.js +1 -9
  317. package/dist/esm/stzh-saptcha.entry.js +4 -7
  318. package/dist/esm/stzh-section.entry.js +1 -2
  319. package/dist/esm/stzh-skiplink.entry.js +4 -2
  320. package/dist/esm/stzh-sortable.entry.js +26 -30
  321. package/dist/esm/stzh-status.entry.js +1 -5
  322. package/dist/esm/stzh-sticky.entry.js +80 -0
  323. package/dist/esm/stzh-table.entry.js +8 -10
  324. package/dist/esm/stzh-text.entry.js +33 -0
  325. package/dist/esm/stzh-toggle.entry.js +16 -22
  326. package/dist/esm/stzh-tooltip.entry.js +12 -23
  327. package/dist/esm/stzh-upload.entry.js +5 -127
  328. package/dist/esm/stzh-vbz-linechip.entry.js +5 -7
  329. package/dist/esm/stzh-vbz-majorticker.entry.js +8 -9
  330. package/dist/esm/stzh-vbz-ticker.entry.js +6 -7
  331. package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
  332. package/dist/esm/stzh-vspace.entry.js +1 -10
  333. package/dist/esm-es5/app-globals-453acbdb.js +1 -0
  334. package/dist/esm-es5/{dom-104fb833.js → dom-6be6f662.js} +0 -0
  335. package/dist/esm-es5/index-2915b467.js +2 -0
  336. package/dist/esm-es5/loader.js +1 -1
  337. package/dist/esm-es5/{shadow-css-4261c637.js → shadow-css-ed4599f8.js} +0 -0
  338. package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
  339. package/dist/esm-es5/stzh-accordion.entry.js +1 -1
  340. package/dist/esm-es5/stzh-actions.entry.js +1 -1
  341. package/dist/esm-es5/stzh-actionset.entry.js +1 -1
  342. package/dist/esm-es5/stzh-anchornav.entry.js +1 -0
  343. package/dist/esm-es5/stzh-appnav.entry.js +1 -1
  344. package/dist/esm-es5/stzh-appointments.entry.js +1 -1
  345. package/dist/esm-es5/stzh-audio.entry.js +31 -0
  346. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  347. package/dist/esm-es5/stzh-calendar.entry.js +1 -1
  348. package/dist/esm-es5/stzh-card-list.entry.js +1 -1
  349. package/dist/esm-es5/stzh-card.entry.js +1 -1
  350. package/dist/esm-es5/stzh-cell.entry.js +1 -1
  351. package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
  352. package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
  353. package/dist/esm-es5/stzh-chip-select.entry.js +1 -1
  354. package/dist/esm-es5/stzh-chip.entry.js +1 -1
  355. package/dist/esm-es5/stzh-clamp.entry.js +1 -0
  356. package/dist/esm-es5/stzh-components.js +1 -1
  357. package/dist/esm-es5/stzh-container.entry.js +1 -1
  358. package/dist/esm-es5/stzh-cspace.entry.js +1 -1
  359. package/dist/esm-es5/stzh-datalist.entry.js +1 -1
  360. package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
  361. package/dist/esm-es5/stzh-datamessagelist.entry.js +1 -1
  362. package/dist/esm-es5/stzh-datatable.entry.js +2 -2
  363. package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -0
  364. package/dist/esm-es5/stzh-dialog.entry.js +1 -1
  365. package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
  366. package/dist/esm-es5/stzh-fieldset.entry.js +1 -1
  367. package/dist/esm-es5/stzh-figure.entry.js +1 -1
  368. package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -1
  369. package/dist/esm-es5/stzh-footer.entry.js +1 -1
  370. package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
  371. package/dist/esm-es5/stzh-header.entry.js +1 -1
  372. package/dist/esm-es5/stzh-heading.entry.js +1 -1
  373. package/dist/esm-es5/stzh-hr.entry.js +1 -1
  374. package/dist/esm-es5/stzh-hspace.entry.js +1 -1
  375. package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
  376. package/dist/esm-es5/{stzh-input-description-8c477f97.js → stzh-input-description-e87e6697.js} +1 -1
  377. package/dist/esm-es5/stzh-input.entry.js +1 -1
  378. package/dist/esm-es5/stzh-link.entry.js +1 -1
  379. package/dist/esm-es5/stzh-list-item.entry.js +1 -1
  380. package/dist/esm-es5/stzh-list.entry.js +1 -1
  381. package/dist/esm-es5/stzh-loader.entry.js +1 -1
  382. package/dist/esm-es5/stzh-loadingbar.entry.js +1 -1
  383. package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
  384. package/dist/esm-es5/stzh-message.entry.js +1 -1
  385. package/dist/esm-es5/stzh-metanav.entry.js +1 -1
  386. package/dist/esm-es5/stzh-olmap.entry.js +7 -0
  387. package/dist/esm-es5/stzh-overlay.entry.js +1 -1
  388. package/dist/esm-es5/stzh-page-skiplinks.entry.js +1 -1
  389. package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
  390. package/dist/esm-es5/stzh-popover.entry.js +1 -1
  391. package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
  392. package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
  393. package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
  394. package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
  395. package/dist/esm-es5/stzh-row.entry.js +1 -1
  396. package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
  397. package/dist/esm-es5/stzh-section.entry.js +1 -1
  398. package/dist/esm-es5/stzh-skiplink.entry.js +1 -1
  399. package/dist/esm-es5/stzh-sortable.entry.js +2 -2
  400. package/dist/esm-es5/stzh-status.entry.js +1 -1
  401. package/dist/esm-es5/stzh-sticky.entry.js +1 -0
  402. package/dist/esm-es5/stzh-table.entry.js +1 -1
  403. package/dist/{stzh-components/p-fc6b4f91.system.entry.js → esm-es5/stzh-text.entry.js} +1 -1
  404. package/dist/esm-es5/stzh-toggle.entry.js +1 -1
  405. package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
  406. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  407. package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
  408. package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
  409. package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
  410. package/dist/esm-es5/stzh-visuallyhidden.entry.js +1 -1
  411. package/dist/esm-es5/stzh-vspace.entry.js +1 -1
  412. package/dist/stzh-components/assets/i18n/de.json +19 -0
  413. package/dist/stzh-components/assets/i18n/en.json +19 -0
  414. package/dist/stzh-components/assets/icons/mono/target-bullet.svg +12 -0
  415. package/dist/stzh-components/assets/media/olmap/marker-active.png +0 -0
  416. package/dist/stzh-components/assets/media/olmap/marker-position.png +0 -0
  417. package/dist/stzh-components/assets/media/olmap/marker.png +0 -0
  418. package/dist/stzh-components/assets/media/olmap/thumb-satellite.jpg +0 -0
  419. package/dist/stzh-components/assets/media/olmap/thumb-streets.jpg +0 -0
  420. package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +19 -6
  421. package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  422. package/dist/stzh-components/{p-5a354428.system.entry.js → p-011dcf30.system.entry.js} +1 -1
  423. package/dist/stzh-components/{p-f24db7e8.system.entry.js → p-01909f35.system.entry.js} +1 -1
  424. package/dist/stzh-components/p-020379d7.system.entry.js +7 -0
  425. package/dist/stzh-components/p-025953d1.system.entry.js +1 -0
  426. package/dist/stzh-components/{p-981b2629.system.entry.js → p-0321e98e.system.entry.js} +1 -1
  427. package/dist/stzh-components/p-04dd6821.entry.js +1 -0
  428. package/dist/stzh-components/{p-929dbdf1.system.entry.js → p-05901b22.system.entry.js} +1 -1
  429. package/dist/stzh-components/{p-fdf0b4bc.system.entry.js → p-08714718.system.entry.js} +1 -1
  430. package/dist/stzh-components/{p-8b6de2c0.system.entry.js → p-090bfb8e.system.entry.js} +1 -1
  431. package/dist/stzh-components/{p-051bc2a8.entry.js → p-0977d9b6.entry.js} +1 -1
  432. package/dist/stzh-components/{p-713ae713.entry.js → p-0c10d9b1.entry.js} +2 -2
  433. package/dist/stzh-components/{p-ebeb8d7b.system.entry.js → p-0e474d1a.system.entry.js} +1 -1
  434. package/dist/stzh-components/p-0e48efa7.entry.js +1 -0
  435. package/dist/stzh-components/{p-4c61dcad.js → p-13051e1c.js} +0 -0
  436. package/dist/stzh-components/{p-5f4eb46c.entry.js → p-1399b2d7.entry.js} +1 -1
  437. package/dist/stzh-components/p-140e4b63.entry.js +1 -0
  438. package/dist/stzh-components/{p-eb61c369.entry.js → p-14f0d546.entry.js} +1 -1
  439. package/dist/stzh-components/{p-796ae62c.system.entry.js → p-183e4790.system.entry.js} +1 -1
  440. package/dist/stzh-components/p-1a5fc8e3.system.entry.js +1 -0
  441. package/dist/stzh-components/{p-db5363ef.entry.js → p-20a6ffbb.entry.js} +1 -1
  442. package/dist/stzh-components/p-229f4ebc.system.entry.js +1 -0
  443. package/dist/stzh-components/{p-89274cd5.system.entry.js → p-26159eac.system.entry.js} +1 -1
  444. package/dist/stzh-components/{p-6523a23b.system.js → p-2732d8c8.system.js} +0 -0
  445. package/dist/stzh-components/{p-56b9cc3c.system.entry.js → p-27573504.system.entry.js} +1 -1
  446. package/dist/stzh-components/{p-9e716229.entry.js → p-27839f48.entry.js} +1 -1
  447. package/dist/stzh-components/{p-fc13d017.system.entry.js → p-27bfb4c2.system.entry.js} +1 -1
  448. package/dist/stzh-components/{p-29427863.entry.js → p-29d9a568.entry.js} +1 -1
  449. package/dist/stzh-components/p-2bf021f2.js +1 -0
  450. package/dist/stzh-components/{p-f1356a85.entry.js → p-2c16d2ea.entry.js} +1 -1
  451. package/dist/stzh-components/p-2c783943.entry.js +1 -0
  452. package/dist/stzh-components/p-2c891eee.entry.js +1 -0
  453. package/dist/stzh-components/{p-17c6c1db.system.entry.js → p-2e276f2e.system.entry.js} +1 -1
  454. package/dist/stzh-components/{p-5bd2849d.entry.js → p-30e5a674.entry.js} +1 -1
  455. package/dist/stzh-components/{p-19bff884.system.entry.js → p-33a52001.system.entry.js} +1 -1
  456. package/dist/stzh-components/{p-b462a61f.entry.js → p-34eb65b9.entry.js} +1 -1
  457. package/dist/stzh-components/p-3623b3a5.system.js +1 -0
  458. package/dist/stzh-components/p-36596b2b.system.entry.js +1 -0
  459. package/dist/stzh-components/{p-d6c07494.system.entry.js → p-37bdb9cd.system.entry.js} +1 -1
  460. package/dist/stzh-components/p-38977481.entry.js +1 -0
  461. package/dist/stzh-components/p-3a279b45.entry.js +1 -0
  462. package/dist/stzh-components/p-3a47ff2d.system.entry.js +1 -0
  463. package/dist/stzh-components/p-3b33fa76.system.entry.js +1 -0
  464. package/dist/stzh-components/{p-2b338050.entry.js → p-3e24b964.entry.js} +1 -1
  465. package/dist/stzh-components/{p-ee22256f.entry.js → p-3e504f50.entry.js} +1 -1
  466. package/dist/stzh-components/{p-bb3c1249.entry.js → p-3efefb7f.entry.js} +1 -1
  467. package/dist/stzh-components/{p-21566d65.system.entry.js → p-3f8976bc.system.entry.js} +1 -1
  468. package/dist/stzh-components/{p-8d0da18d.system.entry.js → p-3fc40cc0.system.entry.js} +1 -1
  469. package/dist/stzh-components/{p-4c6989ae.system.entry.js → p-440ae0cc.system.entry.js} +1 -1
  470. package/dist/stzh-components/{p-b550feaa.system.entry.js → p-44435254.system.entry.js} +1 -1
  471. package/dist/stzh-components/{p-ab246b66.entry.js → p-456143f9.entry.js} +1 -1
  472. package/dist/stzh-components/{p-190de4de.entry.js → p-46f4e907.entry.js} +1 -1
  473. package/dist/stzh-components/{p-d1552460.system.entry.js → p-470e5f38.system.entry.js} +1 -1
  474. package/dist/stzh-components/{p-ce070ccd.entry.js → p-4b93fb24.entry.js} +1 -1
  475. package/dist/stzh-components/{p-20ef4a20.system.entry.js → p-509c97c9.system.entry.js} +1 -1
  476. package/dist/stzh-components/{p-0fc83964.system.entry.js → p-529a56aa.system.entry.js} +1 -1
  477. package/dist/stzh-components/{p-63d89b96.system.js → p-52cd1bd1.system.js} +1 -1
  478. package/dist/stzh-components/p-53c30c58.entry.js +1 -0
  479. package/dist/stzh-components/p-55435022.system.entry.js +1 -0
  480. package/dist/stzh-components/p-554fb3ac.system.js +1 -0
  481. package/dist/stzh-components/{p-e213663c.system.entry.js → p-5869502c.system.entry.js} +1 -1
  482. package/dist/stzh-components/p-58714045.entry.js +1 -0
  483. package/dist/stzh-components/p-59970f71.entry.js +1 -0
  484. package/dist/stzh-components/{p-3d8317b5.entry.js → p-5c2d0572.entry.js} +1 -1
  485. package/dist/stzh-components/p-5c311df3.entry.js +1 -0
  486. package/dist/stzh-components/{p-72f29f07.entry.js → p-5e81420b.entry.js} +1 -1
  487. package/dist/stzh-components/p-609bf766.system.js +2 -0
  488. package/dist/stzh-components/{p-f832e938.system.entry.js → p-616e70e9.system.entry.js} +1 -1
  489. package/dist/stzh-components/p-62afe664.entry.js +1 -0
  490. package/dist/stzh-components/p-62c7caed.entry.js +1 -0
  491. package/dist/stzh-components/{p-851e0caa.system.entry.js → p-641126a8.system.entry.js} +1 -1
  492. package/dist/stzh-components/{p-562e6c52.entry.js → p-648e03bc.entry.js} +1 -1
  493. package/dist/stzh-components/p-652eee8b.system.entry.js +1 -0
  494. package/dist/stzh-components/{p-69c3187f.system.entry.js → p-67ade1c7.system.entry.js} +1 -1
  495. package/dist/stzh-components/p-6a16ceff.entry.js +1 -0
  496. package/dist/stzh-components/{p-9c72f491.system.entry.js → p-6a96d63e.system.entry.js} +1 -1
  497. package/dist/stzh-components/{p-b391d962.system.entry.js → p-6b2282cd.system.entry.js} +1 -1
  498. package/dist/stzh-components/{p-3b912468.system.entry.js → p-6b5f447c.system.entry.js} +1 -1
  499. package/dist/stzh-components/{p-33c0229f.system.entry.js → p-6c1ad586.system.entry.js} +1 -1
  500. package/dist/stzh-components/{p-f788a468.entry.js → p-6c76e51d.entry.js} +1 -1
  501. package/dist/stzh-components/{p-3042b23e.entry.js → p-6cbdbd06.entry.js} +1 -1
  502. package/dist/stzh-components/{p-64b4cc74.entry.js → p-6f7a7f7a.entry.js} +1 -1
  503. package/dist/stzh-components/{p-61aac051.system.entry.js → p-725b3e74.system.entry.js} +1 -1
  504. package/dist/stzh-components/p-74786856.system.entry.js +1 -0
  505. package/dist/stzh-components/p-783346ed.entry.js +1 -0
  506. package/dist/stzh-components/p-7a4c6adb.js +2 -0
  507. package/dist/stzh-components/{p-a7ee2636.entry.js → p-7d77b8d2.entry.js} +1 -1
  508. package/dist/stzh-components/{p-9fb4da92.system.entry.js → p-7dd6fbc9.system.entry.js} +1 -1
  509. package/dist/stzh-components/{p-f84fa2a4.js → p-8347b91f.js} +1 -1
  510. package/dist/stzh-components/{p-ef5d4167.js → p-8364475f.js} +0 -0
  511. package/dist/stzh-components/{p-bbe4e3d1.system.entry.js → p-881e526e.system.entry.js} +1 -1
  512. package/dist/stzh-components/p-8d9056de.entry.js +1 -0
  513. package/dist/stzh-components/p-8e363084.system.entry.js +1 -0
  514. package/dist/stzh-components/{p-8d547247.system.entry.js → p-8eb72064.system.entry.js} +1 -1
  515. package/dist/stzh-components/{p-fa56fc0d.system.entry.js → p-8fc8d8c2.system.entry.js} +1 -1
  516. package/dist/stzh-components/{p-6305db38.system.entry.js → p-90665664.system.entry.js} +1 -1
  517. package/dist/stzh-components/{p-48b5b697.system.entry.js → p-90941379.system.entry.js} +1 -1
  518. package/dist/stzh-components/p-90ad5e2c.entry.js +1 -0
  519. package/dist/stzh-components/p-92788577.entry.js +34 -0
  520. package/dist/stzh-components/{p-27fd6c6f.system.entry.js → p-92ad9720.system.entry.js} +1 -1
  521. package/dist/stzh-components/{p-c58dd9de.entry.js → p-9454a438.entry.js} +1 -1
  522. package/dist/stzh-components/{p-530252c6.system.entry.js → p-965829a6.system.entry.js} +1 -1
  523. package/dist/stzh-components/p-9a7593f5.entry.js +1 -0
  524. package/dist/stzh-components/{p-58d886cb.system.entry.js → p-9ca1efe4.system.entry.js} +1 -1
  525. package/dist/stzh-components/p-9d58c713.entry.js +1 -0
  526. package/dist/stzh-components/p-a10e0117.system.entry.js +1 -0
  527. package/dist/stzh-components/{p-3f0363db.entry.js → p-a3559e69.entry.js} +1 -1
  528. package/dist/stzh-components/p-a4a4370d.entry.js +1 -0
  529. package/dist/stzh-components/{p-7ec2f3fd.entry.js → p-a61bf274.entry.js} +2 -2
  530. package/dist/stzh-components/{p-8c648042.system.entry.js → p-a6da8c06.system.entry.js} +1 -1
  531. package/dist/stzh-components/{p-ccd30d73.system.entry.js → p-afaa9c37.system.entry.js} +1 -1
  532. package/dist/stzh-components/{p-88e0f453.entry.js → p-b09b85ac.entry.js} +1 -1
  533. package/dist/stzh-components/{p-5997e418.system.entry.js → p-b3587b9d.system.entry.js} +1 -1
  534. package/dist/stzh-components/{p-a67e09cd.system.entry.js → p-b491bcd7.system.entry.js} +1 -1
  535. package/dist/stzh-components/p-b5a59ac0.entry.js +1 -0
  536. package/dist/stzh-components/p-b666bb15.entry.js +1 -0
  537. package/dist/stzh-components/{p-2e559062.entry.js → p-b99c0844.entry.js} +1 -1
  538. package/dist/stzh-components/p-bb8f71a4.entry.js +7 -0
  539. package/dist/stzh-components/p-bb9e8364.entry.js +1 -0
  540. package/dist/stzh-components/p-bc841847.entry.js +1 -0
  541. package/dist/stzh-components/p-bd7dd853.system.entry.js +1 -0
  542. package/dist/stzh-components/p-bdc627fa.system.entry.js +1 -0
  543. package/dist/stzh-components/p-be534671.entry.js +1 -0
  544. package/dist/stzh-components/p-bfdce66c.entry.js +1 -0
  545. package/dist/stzh-components/p-c051fc3b.entry.js +1 -0
  546. package/dist/stzh-components/p-c1100fde.entry.js +1 -0
  547. package/dist/stzh-components/{p-55d23a3c.system.entry.js → p-c3161c9b.system.entry.js} +1 -1
  548. package/dist/stzh-components/{p-0fc06049.system.entry.js → p-c5749124.system.entry.js} +1 -1
  549. package/dist/stzh-components/{p-786a92d4.system.entry.js → p-c6813d9f.system.entry.js} +1 -1
  550. package/dist/stzh-components/p-c7c3735a.entry.js +1 -0
  551. package/dist/stzh-components/{p-c4fc6433.system.entry.js → p-c8009c05.system.entry.js} +1 -1
  552. package/dist/stzh-components/{p-d0aa9d3b.entry.js → p-c866224d.entry.js} +1 -1
  553. package/dist/stzh-components/p-cbaab05e.entry.js +1 -0
  554. package/dist/stzh-components/{p-5353ba86.system.entry.js → p-cc735465.system.entry.js} +2 -2
  555. package/dist/stzh-components/{p-6a873872.entry.js → p-d00e20ff.entry.js} +1 -1
  556. package/dist/stzh-components/{p-c3d93395.entry.js → p-d26ed018.entry.js} +1 -1
  557. package/dist/stzh-components/{p-84ab53cc.system.entry.js → p-d408604f.system.entry.js} +1 -1
  558. package/dist/stzh-components/{p-b9a027aa.entry.js → p-d69b12f8.entry.js} +1 -1
  559. package/dist/stzh-components/p-da857e0d.entry.js +1 -0
  560. package/dist/stzh-components/{p-2ca4a828.system.entry.js → p-de8f9508.system.entry.js} +1 -1
  561. package/dist/stzh-components/{p-a7c35778.system.entry.js → p-e347ce1e.system.entry.js} +1 -1
  562. package/dist/stzh-components/{p-073c89b1.system.entry.js → p-e56d7b16.system.entry.js} +1 -1
  563. package/dist/stzh-components/{p-961cb979.entry.js → p-e662b688.entry.js} +1 -1
  564. package/dist/stzh-components/{p-c4b7c2be.entry.js → p-e69903fe.entry.js} +1 -1
  565. package/dist/stzh-components/p-e7afcd6f.entry.js +1 -0
  566. package/dist/stzh-components/p-e9313802.system.entry.js +31 -0
  567. package/dist/stzh-components/{p-560f96f0.system.entry.js → p-eb3425a1.system.entry.js} +1 -1
  568. package/dist/stzh-components/p-ee711f37.system.entry.js +1 -0
  569. package/dist/stzh-components/{p-b5a85078.system.entry.js → p-ee944add.system.entry.js} +1 -1
  570. package/dist/stzh-components/{p-5a02ef03.entry.js → p-ef62b905.entry.js} +1 -1
  571. package/dist/stzh-components/{p-a8de6293.system.js → p-f39f347c.system.js} +0 -0
  572. package/dist/stzh-components/p-f8ccf5b1.entry.js +1 -0
  573. package/dist/stzh-components/p-f9039c23.entry.js +1 -0
  574. package/dist/stzh-components/{p-ba94e315.system.entry.js → p-fa9a4cd5.system.entry.js} +1 -1
  575. package/dist/stzh-components/p-fade35c7.entry.js +1 -0
  576. package/dist/stzh-components/{p-684c345e.system.entry.js → p-fd811f6b.system.entry.js} +2 -2
  577. package/dist/stzh-components/stzh-components.esm.js +1 -1
  578. package/dist/stzh-components/stzh-components.js +1 -1
  579. package/dist/types/components/stzh-anchornav/stzh-anchornav.d.ts +32 -0
  580. package/dist/types/components/stzh-audio/stzh-audio.localization.d.ts +11 -0
  581. package/dist/types/components/stzh-clamp/stzh-clamp.d.ts +16 -0
  582. package/dist/types/components/stzh-olmap/stzh-olmap.localization.d.ts +10 -0
  583. package/dist/types/components/stzh-portal-mitwirken/stzh-portal-mitwirken.d.ts +1 -2
  584. package/dist/types/components.d.ts +448 -15
  585. package/dist/types/index.d.ts +66 -0
  586. package/dist/types/stencil-public-runtime.d.ts +20 -4
  587. package/dist/vscode-data.json +203 -6
  588. package/package.json +7 -2
  589. package/dist/cjs/stzh-datepicker_4.cjs.entry.js +0 -483
  590. package/dist/esm/stzh-datepicker_4.entry.js +0 -476
  591. package/dist/esm-es5/app-globals-e66420b3.js +0 -1
  592. package/dist/esm-es5/index-84f71a43.js +0 -2
  593. package/dist/esm-es5/stzh-datepicker_4.entry.js +0 -1
  594. package/dist/stzh-components/p-001b7d10.entry.js +0 -1
  595. package/dist/stzh-components/p-03ea86bd.entry.js +0 -1
  596. package/dist/stzh-components/p-0711e511.entry.js +0 -1
  597. package/dist/stzh-components/p-08a564af.entry.js +0 -1
  598. package/dist/stzh-components/p-0bbbbe85.system.entry.js +0 -1
  599. package/dist/stzh-components/p-13b3500e.entry.js +0 -1
  600. package/dist/stzh-components/p-1440163c.system.entry.js +0 -1
  601. package/dist/stzh-components/p-18958371.entry.js +0 -1
  602. package/dist/stzh-components/p-216577b4.entry.js +0 -1
  603. package/dist/stzh-components/p-22701389.system.entry.js +0 -1
  604. package/dist/stzh-components/p-252d3178.entry.js +0 -1
  605. package/dist/stzh-components/p-2cf1ae40.system.entry.js +0 -1
  606. package/dist/stzh-components/p-3beb58d6.system.entry.js +0 -1
  607. package/dist/stzh-components/p-45bab70d.system.entry.js +0 -1
  608. package/dist/stzh-components/p-552f49c4.entry.js +0 -1
  609. package/dist/stzh-components/p-55cdbf79.entry.js +0 -1
  610. package/dist/stzh-components/p-62db1e59.entry.js +0 -1
  611. package/dist/stzh-components/p-638bedfa.entry.js +0 -1
  612. package/dist/stzh-components/p-6425898c.entry.js +0 -1
  613. package/dist/stzh-components/p-676fd54d.entry.js +0 -1
  614. package/dist/stzh-components/p-69f4a27e.entry.js +0 -1
  615. package/dist/stzh-components/p-764ba190.entry.js +0 -1
  616. package/dist/stzh-components/p-7d8c9866.entry.js +0 -1
  617. package/dist/stzh-components/p-80d70586.entry.js +0 -1
  618. package/dist/stzh-components/p-838df84a.system.entry.js +0 -1
  619. package/dist/stzh-components/p-85161133.js +0 -1
  620. package/dist/stzh-components/p-864d7c50.entry.js +0 -1
  621. package/dist/stzh-components/p-93e8e31f.js +0 -2
  622. package/dist/stzh-components/p-9469b812.entry.js +0 -1
  623. package/dist/stzh-components/p-a3fa6122.system.entry.js +0 -1
  624. package/dist/stzh-components/p-a448f5a5.entry.js +0 -1
  625. package/dist/stzh-components/p-a646c09a.entry.js +0 -1
  626. package/dist/stzh-components/p-a6627504.entry.js +0 -1
  627. package/dist/stzh-components/p-b70bc70c.system.js +0 -1
  628. package/dist/stzh-components/p-be461e19.system.entry.js +0 -1
  629. package/dist/stzh-components/p-bf0fdd23.system.js +0 -2
  630. package/dist/stzh-components/p-c1337453.entry.js +0 -1
  631. package/dist/stzh-components/p-cb1d4678.entry.js +0 -1
  632. package/dist/stzh-components/p-cd795307.entry.js +0 -1
  633. package/dist/stzh-components/p-cdc9e600.entry.js +0 -1
  634. package/dist/stzh-components/p-d7893dfd.entry.js +0 -1
  635. package/dist/stzh-components/p-d9643cc4.entry.js +0 -1
  636. package/dist/stzh-components/p-e3e3e88c.system.js +0 -1
  637. package/dist/stzh-components/p-eca1732f.entry.js +0 -1
  638. package/dist/stzh-components/p-fdd1998f.entry.js +0 -1
@@ -0,0 +1,1042 @@
1
+ import { Host, h } from "@stencil/core";
2
+ import { fetchTranslations } from "../../utils/translation-utils";
3
+ // map dependencies
4
+ import Proj4 from "proj4";
5
+ window.proj4 = Proj4;
6
+ window.proj4.defs("EPSG:2056", "+proj=somerc +lat_0=46.95240555555556 +lon_0=7.439583333333333 +k_0=1 +x_0=2600000 +y_0=1200000 +ellps=bessel +towgs84=674.374,15.056,405.346,0,0,0,0 +units=m +no_defs");
7
+ import OlGeolocation from "ol/geolocation.js";
8
+ import OlMap from "ol/map.js";
9
+ // import OlOverlay from "ol/overlay.js";
10
+ import OlExtent from "ol/extent.js";
11
+ import OlView from "ol/view.js";
12
+ // import OlAttribution from "ol/attribution.js";
13
+ import OlFeature from "ol/feature";
14
+ // import OlProj from "ol/proj";
15
+ import OlProjProjection from "ol/proj/projection";
16
+ import OlSourceWmts from "ol/source/wmts.js";
17
+ import OlSourceVector from "ol/source/vector.js";
18
+ import OlGeomPoint from "ol/geom/point.js";
19
+ import OlLayerTile from "ol/layer/tile.js";
20
+ import OlLayerVector from "ol/layer/vector.js";
21
+ import OlControl from "ol/control";
22
+ import OlControlScaleLine from "ol/control/scaleline";
23
+ import OlControlControl from "ol/control/control";
24
+ import OlTilegridWmts from "ol/tilegrid/wmts";
25
+ import OlInteraction from "ol/interaction";
26
+ import OlStyleStyle from "ol/style/style";
27
+ import OlStyleIcon from "ol/style/icon";
28
+ const STYLES_MARKER_ICON = {
29
+ anchor: [0.5, 1],
30
+ anchorXUnits: "fraction",
31
+ anchorYUnits: "fraction",
32
+ scale: .5,
33
+ src: `${window.stzhComponents.pathMedia}/olmap/marker.png`
34
+ };
35
+ const STYLES_ACTIVE_MARKER_ICON = Object.assign(Object.assign({}, STYLES_MARKER_ICON), { src: `${window.stzhComponents.pathMedia}/olmap/marker-active.png` });
36
+ const STYLES_POSITION_MARKER_ICON_STYLES = Object.assign(Object.assign({}, STYLES_MARKER_ICON), { anchor: [0.5, 0.5], src: `${window.stzhComponents.pathMedia}/olmap/marker-position.png` });
37
+ /**
38
+ *
39
+ */
40
+ export class StzhOlmap {
41
+ constructor() {
42
+ this.handlePostRender = () => {
43
+ this.stzhPostRender.emit({
44
+ component: "stzh-olmap"
45
+ });
46
+ };
47
+ this.handleMoveStart = () => {
48
+ this.stzhMoveStart.emit({
49
+ component: "stzh-olmap"
50
+ });
51
+ };
52
+ this.handleMoveEnd = () => {
53
+ this.stzhMoveEnd.emit({
54
+ component: "stzh-olmap"
55
+ });
56
+ };
57
+ this.handleInsideModalOpen = () => {
58
+ if (this.map) {
59
+ requestAnimationFrame(() => {
60
+ this.map.updateSize();
61
+ });
62
+ }
63
+ };
64
+ this.handlePrintButtonClick = () => {
65
+ // TODO: check with client if print is still needed and if related contact component needs to be printed too
66
+ if (!this.printIframe) {
67
+ this.printIframe = document.createElement("iframe");
68
+ Object.assign(this.printIframe.style, {
69
+ "height": "0px",
70
+ "width": "0px",
71
+ "position": "absolute",
72
+ "border": "none"
73
+ });
74
+ this.element.append(this.printIframe);
75
+ }
76
+ // empty iframe
77
+ this.printIframe.innerHTML = "";
78
+ const printWindow = this.printIframe.contentWindow;
79
+ const componentCss = this.constructor.style.replace('@charset "UTF-8";', "");
80
+ const globalCssLinks = Array.from(document.querySelectorAll("link")).map((node) => node.outerHTML);
81
+ let img;
82
+ this.map.once("postcompose", function (event) {
83
+ const canvas = event.context.canvas;
84
+ img = canvas.toDataURL("image/png");
85
+ });
86
+ this.map.renderSync();
87
+ printWindow.document.body.innerHTML = `
88
+ ${globalCssLinks.join("")}
89
+
90
+ <style type="text/css">
91
+ ${componentCss}
92
+ </style>
93
+
94
+ <div class="stzh-olmap__map stzh-olmap__map--print">
95
+ <img class="stzh-olmap__print-image" src="${img}" alt="">
96
+ ${this.element.querySelector(".ol-scale-line.ol-unselectable").outerHTML}
97
+ </div>
98
+ `;
99
+ // printWindow.document.write('<div class="mod_contact">');
100
+ // const contact = this.element.closest('.mod_contact');
101
+ // if (contact) {
102
+ // const contactCard = contact.querySelector('.mod_contactcard');
103
+ // printWindow.document.write('<div class="mod_contactcard">');
104
+ // printWindow.document.write(contactCard.innerHTML);
105
+ // printWindow.document.write('</div>');
106
+ // }
107
+ // printWindow.document.write('<div class="stzh-olmap__map stzh-olmap__map--print">');
108
+ // printWindow.document.write('<img class="stzh-olmap__print-image" src="' + img + '" alt="">');
109
+ // printWindow.document.write(this.element.querySelector('.ol-scale-line.ol-unselectable').outerHTML);
110
+ // printWindow.document.write('</div>');
111
+ // printWindow.document.write('</div>');
112
+ // printWindow.document.close();
113
+ setTimeout(() => {
114
+ // acts as a bugfix for IE 11
115
+ // https://stackoverflow.com/questions/24673024/unable-to-print-iframe-content-from-parent-page-in-ie-11
116
+ try {
117
+ printWindow.document.execCommand("print", false, null);
118
+ }
119
+ catch (e) {
120
+ printWindow.print();
121
+ }
122
+ }, 1000);
123
+ };
124
+ this.localization = undefined;
125
+ this.hostname = "www.ogc.stadt-zuerich.ch";
126
+ this.scaleControl = true;
127
+ this.layerControl = true;
128
+ this.printControl = false;
129
+ this.locationControl = false;
130
+ this.layer = "streets";
131
+ this.zoom = 7;
132
+ this.center = [2683311, 1247082];
133
+ this.centerMarker = true;
134
+ this.resolutions = [
135
+ 67.73333333333,
136
+ 33.8666666667,
137
+ 16.9333333333,
138
+ 8.4666666667,
139
+ 4.2333333333,
140
+ 2.1166666667,
141
+ 1.0583333333,
142
+ 0.5291666667,
143
+ 0.2645833333,
144
+ 0.1322916667,
145
+ 0.0661458333
146
+ ];
147
+ this.layers = {
148
+ streets: {
149
+ thumbnailUrl: `${window.stzhComponents.pathMedia}/olmap/thumb-streets.jpg`,
150
+ options: {
151
+ url: "https://{Hostname}/mapproxy/wmts/1.0.0/{Layer}/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.png",
152
+ layer: "basiskarte_zuerich_gebaeudeschraegansicht",
153
+ matrixSet: "ktzh",
154
+ origin: [2480237.0, 1315832.0],
155
+ extent: [2666867.00, 1220962.00, 2719695.50, 1285537.00]
156
+ }
157
+ },
158
+ satellite: {
159
+ thumbnailUrl: `${window.stzhComponents.pathMedia}/olmap/thumb-satellite.jpg`,
160
+ options: {
161
+ url: "https://{Hostname}/mapproxy/wmts/1.0.0/{Layer}/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.png",
162
+ layer: "orthofoto",
163
+ matrixSet: "ktzh",
164
+ origin: [2480237.0, 1315832.0],
165
+ extent: [2666867.0, 1220962.0, 2719695.5, 1285537.0]
166
+ }
167
+ }
168
+ };
169
+ }
170
+ zoomWatcher(newValue) {
171
+ if (this.map) {
172
+ this.map.getView().setZoom(newValue);
173
+ }
174
+ }
175
+ scaleControlWatcher(newValue) {
176
+ if (!this.map) {
177
+ return;
178
+ }
179
+ if (newValue) {
180
+ this.scaleControlOl = new OlControlScaleLine({
181
+ units: "metric"
182
+ });
183
+ this.map.addControl(this.scaleControlOl);
184
+ }
185
+ else {
186
+ if (this.scaleControl) {
187
+ this.map.removeControl(this.scaleControlOl);
188
+ }
189
+ this.scaleControlOl = null;
190
+ }
191
+ }
192
+ printControlWatcher(newValue) {
193
+ if (!this.map) {
194
+ return;
195
+ }
196
+ if (newValue) {
197
+ this.printControlElement = document.createElement("button");
198
+ this.printControlElement.className = "ol-print";
199
+ this.printControlElement.ariaLabel = this.localization.printLabel;
200
+ this.printControlElement.addEventListener("click", this.handlePrintButtonClick);
201
+ this.printControlElement.innerHTML = '<stzh-icon name="print" class="ol-print__icon"></stzh-icon>';
202
+ this.printControlOl = new OlControlControl({
203
+ element: this.printControlElement
204
+ });
205
+ this.map.addControl(this.printControlOl);
206
+ }
207
+ else {
208
+ if (this.printControlOl) {
209
+ this.map.removeControl(this.printControlOl);
210
+ }
211
+ this.printControlOl = null;
212
+ this.printControlElement = null;
213
+ }
214
+ }
215
+ layerControlWatcher(newValue) {
216
+ if (!this.map || this.layersArray.length === 1) {
217
+ return;
218
+ }
219
+ if (newValue) {
220
+ this.layerControlElement = document.createElement("button");
221
+ this.layerControlElement.className = "ol-layer";
222
+ this.layerControlElement.addEventListener("click", () => {
223
+ this.layer = this.layer === "streets" ? "satellite" : "streets";
224
+ });
225
+ this.layerControlImageElement = document.createElement("img");
226
+ this.layerControlImageElement.className = "ol-layer__thumbnail";
227
+ this.layerControlImageElement.setAttribute("role", "presentation");
228
+ this.layerControlImageElement.setAttribute("alt", "");
229
+ this.layerControlTextElement = document.createElement("span");
230
+ this.layerControlTextElement.className = "ol-layer__text";
231
+ this.layerControlElement.appendChild(this.layerControlImageElement);
232
+ this.layerControlElement.appendChild(this.layerControlTextElement);
233
+ this.layerControlOl = new OlControlControl({
234
+ element: this.layerControlElement
235
+ });
236
+ this.map.addControl(this.layerControlOl);
237
+ }
238
+ else {
239
+ if (this.layerControlOl) {
240
+ this.map.removeControl(this.layerControlOl);
241
+ }
242
+ this.layerControlOl = null;
243
+ this.layerControlElement = null;
244
+ this.layerControlImageElement = null;
245
+ this.layerControlTextElement = null;
246
+ }
247
+ }
248
+ locationControlWatcher(newValue) {
249
+ if (!this.map) {
250
+ return;
251
+ }
252
+ if (newValue) {
253
+ this.locationControlElement = document.createElement("button");
254
+ this.locationControlElement.className = "ol-location";
255
+ this.locationControlElement.innerHTML = '<stzh-icon name="target-bullet" class="ol-location__icon"></stzh-icon>';
256
+ this.locationControlElement.addEventListener("click", () => {
257
+ const isTracking = this.geolocation.getTracking();
258
+ if (isTracking) {
259
+ this.disableLocationTracking();
260
+ }
261
+ else {
262
+ this.enableLocationTracking();
263
+ }
264
+ });
265
+ this.locationControlOl = new OlControlControl({
266
+ element: this.locationControlElement
267
+ });
268
+ this.geolocation = new OlGeolocation({
269
+ // take the projection to use from the map's view
270
+ projection: this.map.getView().getProjection()
271
+ });
272
+ this.positionMarkerOl = new OlFeature();
273
+ this.positionMarkerOl.setId("position");
274
+ const iconStyle = new OlStyleStyle({
275
+ image: new OlStyleIcon(STYLES_POSITION_MARKER_ICON_STYLES)
276
+ });
277
+ this.positionMarkerOl.setStyle(iconStyle);
278
+ this.positionLayer.getSource().addFeature(this.positionMarkerOl);
279
+ // listen to changes in position
280
+ this.geolocation.on("change:position", () => {
281
+ const position = this.geolocation.getPosition();
282
+ this.positionMarkerOl.setGeometry(new OlGeomPoint(position));
283
+ // if position is within map, we center to it
284
+ if (OlExtent.containsExtent(this.layers[this.layer].options.extent, this.positionMarkerOl.getGeometry().getExtent())) {
285
+ this.map.getView().setCenter(position);
286
+ }
287
+ });
288
+ this.geolocation.on("change:tracking", () => {
289
+ const isTracking = this.geolocation.getTracking();
290
+ // reset position
291
+ this.positionMarkerOl.setGeometry(null);
292
+ this.setLocationControlState(isTracking);
293
+ });
294
+ this.geolocation.on("error", () => {
295
+ this.setLocationControlState(false);
296
+ });
297
+ this.map.addControl(this.locationControlOl);
298
+ }
299
+ else {
300
+ this.disableLocationTracking();
301
+ if (this.locationControlOl) {
302
+ this.map.removeControl(this.locationControlOl);
303
+ }
304
+ if (this.positionMarkerOl) {
305
+ this.positionLayer.getSource().removeFeature(this.positionMarkerOl);
306
+ }
307
+ this.locationControlOl = null;
308
+ this.locationControlElement = null;
309
+ this.geolocation = null;
310
+ this.positionMarkerOl = null;
311
+ }
312
+ }
313
+ layerWatcher(newValue) {
314
+ if (!this.map) {
315
+ return;
316
+ }
317
+ Object.entries(this.rasterLayers).forEach(([key, layer]) => {
318
+ if (key === newValue) {
319
+ layer.setVisible(true);
320
+ this.map.getView().set("projection", this.projections[newValue]);
321
+ const inactiveLayer = this.layersArray.find(([key]) => key !== this.layer);
322
+ if (inactiveLayer) {
323
+ if (this.layerControlImageElement) {
324
+ this.layerControlImageElement.src = inactiveLayer[1].thumbnailUrl;
325
+ }
326
+ if (this.layerControlTextElement) {
327
+ let defaultTitle = "";
328
+ if (key === "streets") {
329
+ defaultTitle = this.localization.streetsLayerTitle;
330
+ }
331
+ else if (key === "satellite") {
332
+ defaultTitle = this.localization.satelliteLayerTitle;
333
+ }
334
+ this.layerControlTextElement.textContent = inactiveLayer[1].title || defaultTitle;
335
+ }
336
+ }
337
+ }
338
+ else {
339
+ layer.setVisible(false);
340
+ }
341
+ });
342
+ }
343
+ centerWatcher(newValue) {
344
+ this.map.getView().setCenter(newValue);
345
+ if (this.centerMarkerOl) {
346
+ this.centerMarkerOl.setGeometry(new OlGeomPoint(newValue));
347
+ }
348
+ }
349
+ async centerMarkerWatcher(newValue) {
350
+ if (newValue) {
351
+ // add marker in the center position
352
+ this.centerMarkerOl = await this.addIconMarker(this.center);
353
+ }
354
+ else if (this.centerMarkerOl) {
355
+ this.removeIconMarker(this.centerMarkerOl);
356
+ }
357
+ }
358
+ /** Get map */
359
+ async getMap() {
360
+ return this.map;
361
+ }
362
+ /** Add a icon marker to the icon layer. */
363
+ async addIconMarker(coordinates) {
364
+ const marker = new OlFeature({
365
+ geometry: new OlGeomPoint(coordinates)
366
+ });
367
+ const iconStyle = new OlStyleStyle({
368
+ image: new OlStyleIcon(STYLES_MARKER_ICON)
369
+ });
370
+ marker.setStyle(iconStyle);
371
+ this.iconLayer.getSource().addFeature(marker);
372
+ return marker;
373
+ }
374
+ /** Remove icon marker from icon layer. */
375
+ async removeIconMarker(marker) {
376
+ return this.iconLayer.getSource().removeFeature(marker);
377
+ }
378
+ /** Set icon marker as active. */
379
+ async setIconMarkerActive(marker) {
380
+ marker.setStyle(new OlStyleStyle({
381
+ image: new OlStyleIcon(STYLES_ACTIVE_MARKER_ICON)
382
+ }));
383
+ }
384
+ /** Set icon marker as inactive. */
385
+ async setIconMarkerInactive(marker) {
386
+ marker.setStyle(new OlStyleStyle({
387
+ image: new OlStyleIcon(STYLES_MARKER_ICON)
388
+ }));
389
+ }
390
+ /** Enable user location tracking */
391
+ async enableLocationTracking() {
392
+ this.setLocationControlState(true);
393
+ if (this.geolocation) {
394
+ this.geolocation.setTracking(true);
395
+ }
396
+ }
397
+ /** Disable user location tracking */
398
+ async disableLocationTracking() {
399
+ this.setLocationControlState(false);
400
+ if (this.geolocation) {
401
+ this.geolocation.setTracking(false);
402
+ }
403
+ }
404
+ setLocationControlState(active) {
405
+ if (this.positionLayer) {
406
+ this.positionLayer.setVisible(active);
407
+ }
408
+ if (this.locationControlElement) {
409
+ this.locationControlElement.classList.toggle("active", active);
410
+ }
411
+ }
412
+ createMap() {
413
+ const zoomIn = document.createElement("stzh-icon");
414
+ zoomIn.ariaLabel = this.localization.zoomInLabel;
415
+ zoomIn.name = "plus";
416
+ const zoomOut = document.createElement("stzh-icon");
417
+ zoomOut.ariaLabel = this.localization.zoomOutLabel;
418
+ zoomOut.name = "minus";
419
+ const map = new OlMap({
420
+ controls: OlControl.defaults({
421
+ zoomOptions: {
422
+ zoomInLabel: zoomIn,
423
+ zoomOutLabel: zoomOut,
424
+ zoomInTipLabel: "",
425
+ zoomOutTipLabel: ""
426
+ }
427
+ }),
428
+ interactions: OlInteraction.defaults({
429
+ mouseWheelZoom: false
430
+ }),
431
+ loadTilesWhileAnimating: true,
432
+ loadTilesWhileInteracting: true,
433
+ target: this.mapElement,
434
+ logo: false
435
+ });
436
+ return map;
437
+ }
438
+ createRasterLayer(key, options) {
439
+ return new OlLayerTile({
440
+ title: "wmts",
441
+ type: "base",
442
+ extent: options.extent,
443
+ source: this.createLayerSource(key, options)
444
+ });
445
+ }
446
+ createLayerSource(key, options) {
447
+ if (!this.projections) {
448
+ this.projections = {};
449
+ }
450
+ this.projections[key] = new OlProjProjection({
451
+ code: "EPSG:2056",
452
+ extent: options.extent
453
+ });
454
+ return this.creatRasterSource(key, options);
455
+ }
456
+ creatRasterSource(key, options) {
457
+ const { url, layer, matrixSet, origin } = options;
458
+ const matrixIds = [];
459
+ for (let i = 0; i < this.resolutions.length; i++) {
460
+ matrixIds.push(i);
461
+ }
462
+ const tileGrid = new OlTilegridWmts({
463
+ origin,
464
+ resolutions: this.resolutions,
465
+ matrixIds,
466
+ tileSize: [512, 512]
467
+ });
468
+ return new OlSourceWmts(({
469
+ url,
470
+ tileGrid: tileGrid,
471
+ style: "default",
472
+ projection: this.projections[key],
473
+ crossOrigin: "anonymous",
474
+ layer,
475
+ matrixSet,
476
+ requestEncoding: "REST"
477
+ }));
478
+ }
479
+ createIconLayer() {
480
+ return new OlLayerVector({
481
+ source: new OlSourceVector({})
482
+ });
483
+ }
484
+ initMap() {
485
+ this.map = this.createMap();
486
+ // events from https://openlayers.org/en/v4.6.5/apidoc/ol.Map.html
487
+ this.map.on("postrender", this.handlePostRender);
488
+ this.map.on("movestart", this.handleMoveStart);
489
+ this.map.on("moveend", this.handleMoveEnd);
490
+ this.layersArray = Object.entries(this.layers);
491
+ if (this.layersArray.length > 2) {
492
+ throw new Error("There are only two different layers allowed.");
493
+ }
494
+ this.rasterLayers = {};
495
+ this.layersArray.forEach(([key, layer]) => {
496
+ layer.options.url = layer.options.url.replace(/{hostname}/gi, this.hostname);
497
+ this.rasterLayers[key] = this.createRasterLayer(key, layer.options);
498
+ this.map.addLayer(this.rasterLayers[key]);
499
+ });
500
+ // add the VectorLayer which is used for adding the position marker to the map
501
+ // (above raster layers)
502
+ this.positionLayer = this.createIconLayer();
503
+ this.positionLayer.setVisible(false);
504
+ this.map.addLayer(this.positionLayer);
505
+ // add the VectorLayer which is used for adding icon markers to the map
506
+ // (above raster and position marker layer)
507
+ this.iconLayer = this.createIconLayer();
508
+ this.map.addLayer(this.iconLayer);
509
+ const view = new OlView({
510
+ center: this.center,
511
+ projection: this.projections[this.layer],
512
+ zoom: this.zoom,
513
+ resolutions: this.resolutions
514
+ });
515
+ this.map.setView(view);
516
+ this.scaleControlWatcher(this.scaleControl);
517
+ this.printControlWatcher(this.printControl);
518
+ this.locationControlWatcher(this.locationControl);
519
+ this.layerControlWatcher(this.layerControl);
520
+ this.layerWatcher(this.layer);
521
+ this.centerWatcher(this.center);
522
+ this.centerMarkerWatcher(this.centerMarker);
523
+ this.stzhInitialized.emit({
524
+ component: "stzh-olmap"
525
+ });
526
+ }
527
+ componentShouldUpdate(_newValue, _oldValue, prop) {
528
+ return ["hostname", "localization", "layers", "resolutions"].includes(prop);
529
+ }
530
+ async componentWillLoad() {
531
+ if (!this.localization) {
532
+ this.localization = await fetchTranslations(this.element, "olmap");
533
+ }
534
+ }
535
+ componentWillUpdate() {
536
+ if (this.map) {
537
+ this.map.setTarget(null);
538
+ this.map = null;
539
+ }
540
+ }
541
+ componentDidRender() {
542
+ if (this.map) {
543
+ return;
544
+ }
545
+ this.initMap();
546
+ }
547
+ connectedCallback() {
548
+ const dialog = this.element.closest("stzh-dialog");
549
+ if (dialog) {
550
+ dialog.addEventListener("stzhOpen", this.handleInsideModalOpen);
551
+ }
552
+ }
553
+ disconnectedCallback() {
554
+ if (this.map) {
555
+ this.map.setTarget(null);
556
+ this.map = null;
557
+ }
558
+ const dialog = this.element.closest("stzh-dialog");
559
+ if (dialog) {
560
+ dialog.removeEventListener("stzhOpen", this.handleInsideModalOpen);
561
+ }
562
+ }
563
+ render() {
564
+ const classes = {
565
+ "stzh-olmap": true
566
+ };
567
+ return (h(Host, null, h("div", { class: classes }, h("div", { ref: (el) => (this.mapElement = el), class: "stzh-olmap__map" }))));
568
+ }
569
+ static get is() { return "stzh-olmap"; }
570
+ static get originalStyleUrls() {
571
+ return {
572
+ "$": ["stzh-olmap.scss"]
573
+ };
574
+ }
575
+ static get styleUrls() {
576
+ return {
577
+ "$": ["stzh-olmap.css"]
578
+ };
579
+ }
580
+ static get properties() {
581
+ return {
582
+ "localization": {
583
+ "type": "unknown",
584
+ "mutable": false,
585
+ "complexType": {
586
+ "original": "StzhOlmapLocalizedText",
587
+ "resolved": "StzhLocaleComponent & { streetsLayerTitle: string; satelliteLayerTitle: string; printLabel: string; zoomInLabel: string; zoomOutLabel: string; locationEnableLabel: string; locationDisableLabel: string; }",
588
+ "references": {
589
+ "StzhOlmapLocalizedText": {
590
+ "location": "import",
591
+ "path": "./stzh-olmap.localization"
592
+ }
593
+ }
594
+ },
595
+ "required": false,
596
+ "optional": false,
597
+ "docs": {
598
+ "tags": [],
599
+ "text": "Translation strings"
600
+ }
601
+ },
602
+ "hostname": {
603
+ "type": "string",
604
+ "mutable": false,
605
+ "complexType": {
606
+ "original": "string",
607
+ "resolved": "string",
608
+ "references": {}
609
+ },
610
+ "required": false,
611
+ "optional": false,
612
+ "docs": {
613
+ "tags": [],
614
+ "text": "Hostname"
615
+ },
616
+ "attribute": "hostname",
617
+ "reflect": false,
618
+ "defaultValue": "\"www.ogc.stadt-zuerich.ch\""
619
+ },
620
+ "scaleControl": {
621
+ "type": "boolean",
622
+ "mutable": false,
623
+ "complexType": {
624
+ "original": "boolean",
625
+ "resolved": "boolean",
626
+ "references": {}
627
+ },
628
+ "required": false,
629
+ "optional": false,
630
+ "docs": {
631
+ "tags": [],
632
+ "text": "Whether map scale should be shown"
633
+ },
634
+ "attribute": "scale-control",
635
+ "reflect": false,
636
+ "defaultValue": "true"
637
+ },
638
+ "layerControl": {
639
+ "type": "boolean",
640
+ "mutable": false,
641
+ "complexType": {
642
+ "original": "boolean",
643
+ "resolved": "boolean",
644
+ "references": {}
645
+ },
646
+ "required": false,
647
+ "optional": false,
648
+ "docs": {
649
+ "tags": [],
650
+ "text": "Whether map layer switch control is shown"
651
+ },
652
+ "attribute": "layer-control",
653
+ "reflect": false,
654
+ "defaultValue": "true"
655
+ },
656
+ "printControl": {
657
+ "type": "boolean",
658
+ "mutable": false,
659
+ "complexType": {
660
+ "original": "boolean",
661
+ "resolved": "boolean",
662
+ "references": {}
663
+ },
664
+ "required": false,
665
+ "optional": false,
666
+ "docs": {
667
+ "tags": [],
668
+ "text": "Whether map should be printable"
669
+ },
670
+ "attribute": "print-control",
671
+ "reflect": false,
672
+ "defaultValue": "false"
673
+ },
674
+ "locationControl": {
675
+ "type": "boolean",
676
+ "mutable": false,
677
+ "complexType": {
678
+ "original": "boolean",
679
+ "resolved": "boolean",
680
+ "references": {}
681
+ },
682
+ "required": false,
683
+ "optional": false,
684
+ "docs": {
685
+ "tags": [],
686
+ "text": "Whether map should have a location control"
687
+ },
688
+ "attribute": "location-control",
689
+ "reflect": false,
690
+ "defaultValue": "false"
691
+ },
692
+ "layer": {
693
+ "type": "string",
694
+ "mutable": true,
695
+ "complexType": {
696
+ "original": "string",
697
+ "resolved": "string",
698
+ "references": {}
699
+ },
700
+ "required": false,
701
+ "optional": false,
702
+ "docs": {
703
+ "tags": [],
704
+ "text": "Active layer (`streets` or `satellite` can be used with default `layers` prop value)"
705
+ },
706
+ "attribute": "layer",
707
+ "reflect": false,
708
+ "defaultValue": "\"streets\""
709
+ },
710
+ "zoom": {
711
+ "type": "number",
712
+ "mutable": false,
713
+ "complexType": {
714
+ "original": "number",
715
+ "resolved": "number",
716
+ "references": {}
717
+ },
718
+ "required": false,
719
+ "optional": false,
720
+ "docs": {
721
+ "tags": [],
722
+ "text": "Zoom"
723
+ },
724
+ "attribute": "zoom",
725
+ "reflect": false,
726
+ "defaultValue": "7"
727
+ },
728
+ "center": {
729
+ "type": "unknown",
730
+ "mutable": false,
731
+ "complexType": {
732
+ "original": "[number, number]",
733
+ "resolved": "[number, number]",
734
+ "references": {}
735
+ },
736
+ "required": false,
737
+ "optional": false,
738
+ "docs": {
739
+ "tags": [],
740
+ "text": "Initial center position"
741
+ },
742
+ "defaultValue": "[2683311, 1247082]"
743
+ },
744
+ "centerMarker": {
745
+ "type": "boolean",
746
+ "mutable": false,
747
+ "complexType": {
748
+ "original": "boolean",
749
+ "resolved": "boolean",
750
+ "references": {}
751
+ },
752
+ "required": false,
753
+ "optional": false,
754
+ "docs": {
755
+ "tags": [],
756
+ "text": "Whether to display an icon marker in the center"
757
+ },
758
+ "attribute": "center-marker",
759
+ "reflect": false,
760
+ "defaultValue": "true"
761
+ },
762
+ "resolutions": {
763
+ "type": "unknown",
764
+ "mutable": false,
765
+ "complexType": {
766
+ "original": "number[]",
767
+ "resolved": "number[]",
768
+ "references": {}
769
+ },
770
+ "required": false,
771
+ "optional": false,
772
+ "docs": {
773
+ "tags": [],
774
+ "text": "Resolutions"
775
+ },
776
+ "defaultValue": "[\n 67.73333333333,\n 33.8666666667,\n 16.9333333333,\n 8.4666666667,\n 4.2333333333,\n 2.1166666667,\n 1.0583333333,\n 0.5291666667,\n 0.2645833333,\n 0.1322916667,\n 0.0661458333\n ]"
777
+ },
778
+ "layers": {
779
+ "type": "string",
780
+ "mutable": false,
781
+ "complexType": {
782
+ "original": "string | { [key: string]: OlmapLayer }",
783
+ "resolved": "string | { [key: string]: OlmapLayer; }",
784
+ "references": {
785
+ "OlmapLayer": {
786
+ "location": "import",
787
+ "path": "../../index"
788
+ }
789
+ }
790
+ },
791
+ "required": false,
792
+ "optional": false,
793
+ "docs": {
794
+ "tags": [],
795
+ "text": "Layers (maximum of two).\n\nDefault layers `streets` and `satellite` are defined.\nIf `streets` or `satellite` is used as key, they will have a default filled `title`."
796
+ },
797
+ "attribute": "layers",
798
+ "reflect": false,
799
+ "defaultValue": "{\n streets: {\n thumbnailUrl: `${window.stzhComponents.pathMedia}/olmap/thumb-streets.jpg`,\n options: {\n url: \"https://{Hostname}/mapproxy/wmts/1.0.0/{Layer}/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.png\",\n layer: \"basiskarte_zuerich_gebaeudeschraegansicht\",\n matrixSet: \"ktzh\",\n origin: [2480237.0, 1315832.0],\n extent: [2666867.00, 1220962.00, 2719695.50, 1285537.00]\n }\n },\n satellite: {\n thumbnailUrl: `${window.stzhComponents.pathMedia}/olmap/thumb-satellite.jpg`,\n options: {\n url: \"https://{Hostname}/mapproxy/wmts/1.0.0/{Layer}/{Style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.png\",\n layer: \"orthofoto\",\n matrixSet: \"ktzh\",\n origin: [2480237.0, 1315832.0],\n extent: [2666867.0, 1220962.0, 2719695.5, 1285537.0]\n }\n }\n }"
800
+ }
801
+ };
802
+ }
803
+ static get events() {
804
+ return [{
805
+ "method": "stzhInitialized",
806
+ "name": "stzhInitialized",
807
+ "bubbles": true,
808
+ "cancelable": true,
809
+ "composed": true,
810
+ "docs": {
811
+ "tags": [],
812
+ "text": "Olmap initialized event"
813
+ },
814
+ "complexType": {
815
+ "original": "StzhOlmapInitializedEvent",
816
+ "resolved": "{ component: \"stzh-olmap\"; }",
817
+ "references": {
818
+ "StzhOlmapInitializedEvent": {
819
+ "location": "import",
820
+ "path": "../../index"
821
+ }
822
+ }
823
+ }
824
+ }, {
825
+ "method": "stzhPostRender",
826
+ "name": "stzhPostRender",
827
+ "bubbles": true,
828
+ "cancelable": true,
829
+ "composed": true,
830
+ "docs": {
831
+ "tags": [],
832
+ "text": "Olmap postrender event"
833
+ },
834
+ "complexType": {
835
+ "original": "StzhOlmapPostRenderEvent",
836
+ "resolved": "{ component: \"stzh-olmap\"; }",
837
+ "references": {
838
+ "StzhOlmapPostRenderEvent": {
839
+ "location": "import",
840
+ "path": "../../index"
841
+ }
842
+ }
843
+ }
844
+ }, {
845
+ "method": "stzhMoveStart",
846
+ "name": "stzhMoveStart",
847
+ "bubbles": true,
848
+ "cancelable": true,
849
+ "composed": true,
850
+ "docs": {
851
+ "tags": [],
852
+ "text": "Olmap movestart event"
853
+ },
854
+ "complexType": {
855
+ "original": "StzhOlmapMoveStartEvent",
856
+ "resolved": "{ component: \"stzh-olmap\"; }",
857
+ "references": {
858
+ "StzhOlmapMoveStartEvent": {
859
+ "location": "import",
860
+ "path": "../../index"
861
+ }
862
+ }
863
+ }
864
+ }, {
865
+ "method": "stzhMoveEnd",
866
+ "name": "stzhMoveEnd",
867
+ "bubbles": true,
868
+ "cancelable": true,
869
+ "composed": true,
870
+ "docs": {
871
+ "tags": [],
872
+ "text": "Olmap moveend event"
873
+ },
874
+ "complexType": {
875
+ "original": "StzhOlmapMoveEndEvent",
876
+ "resolved": "{ component: \"stzh-olmap\"; }",
877
+ "references": {
878
+ "StzhOlmapMoveEndEvent": {
879
+ "location": "import",
880
+ "path": "../../index"
881
+ }
882
+ }
883
+ }
884
+ }];
885
+ }
886
+ static get methods() {
887
+ return {
888
+ "getMap": {
889
+ "complexType": {
890
+ "signature": "() => Promise<any>",
891
+ "parameters": [],
892
+ "references": {
893
+ "Promise": {
894
+ "location": "global"
895
+ }
896
+ },
897
+ "return": "Promise<any>"
898
+ },
899
+ "docs": {
900
+ "text": "Get map",
901
+ "tags": []
902
+ }
903
+ },
904
+ "addIconMarker": {
905
+ "complexType": {
906
+ "signature": "(coordinates: number[]) => Promise<any>",
907
+ "parameters": [{
908
+ "tags": [],
909
+ "text": ""
910
+ }],
911
+ "references": {
912
+ "Promise": {
913
+ "location": "global"
914
+ }
915
+ },
916
+ "return": "Promise<any>"
917
+ },
918
+ "docs": {
919
+ "text": "Add a icon marker to the icon layer.",
920
+ "tags": []
921
+ }
922
+ },
923
+ "removeIconMarker": {
924
+ "complexType": {
925
+ "signature": "(marker: any) => Promise<any>",
926
+ "parameters": [{
927
+ "tags": [],
928
+ "text": ""
929
+ }],
930
+ "references": {
931
+ "Promise": {
932
+ "location": "global"
933
+ }
934
+ },
935
+ "return": "Promise<any>"
936
+ },
937
+ "docs": {
938
+ "text": "Remove icon marker from icon layer.",
939
+ "tags": []
940
+ }
941
+ },
942
+ "setIconMarkerActive": {
943
+ "complexType": {
944
+ "signature": "(marker: any) => Promise<void>",
945
+ "parameters": [{
946
+ "tags": [],
947
+ "text": ""
948
+ }],
949
+ "references": {
950
+ "Promise": {
951
+ "location": "global"
952
+ }
953
+ },
954
+ "return": "Promise<void>"
955
+ },
956
+ "docs": {
957
+ "text": "Set icon marker as active.",
958
+ "tags": []
959
+ }
960
+ },
961
+ "setIconMarkerInactive": {
962
+ "complexType": {
963
+ "signature": "(marker: any) => Promise<void>",
964
+ "parameters": [{
965
+ "tags": [],
966
+ "text": ""
967
+ }],
968
+ "references": {
969
+ "Promise": {
970
+ "location": "global"
971
+ }
972
+ },
973
+ "return": "Promise<void>"
974
+ },
975
+ "docs": {
976
+ "text": "Set icon marker as inactive.",
977
+ "tags": []
978
+ }
979
+ },
980
+ "enableLocationTracking": {
981
+ "complexType": {
982
+ "signature": "() => Promise<void>",
983
+ "parameters": [],
984
+ "references": {
985
+ "Promise": {
986
+ "location": "global"
987
+ }
988
+ },
989
+ "return": "Promise<void>"
990
+ },
991
+ "docs": {
992
+ "text": "Enable user location tracking",
993
+ "tags": []
994
+ }
995
+ },
996
+ "disableLocationTracking": {
997
+ "complexType": {
998
+ "signature": "() => Promise<void>",
999
+ "parameters": [],
1000
+ "references": {
1001
+ "Promise": {
1002
+ "location": "global"
1003
+ }
1004
+ },
1005
+ "return": "Promise<void>"
1006
+ },
1007
+ "docs": {
1008
+ "text": "Disable user location tracking",
1009
+ "tags": []
1010
+ }
1011
+ }
1012
+ };
1013
+ }
1014
+ static get elementRef() { return "element"; }
1015
+ static get watchers() {
1016
+ return [{
1017
+ "propName": "zoom",
1018
+ "methodName": "zoomWatcher"
1019
+ }, {
1020
+ "propName": "scaleControl",
1021
+ "methodName": "scaleControlWatcher"
1022
+ }, {
1023
+ "propName": "printControl",
1024
+ "methodName": "printControlWatcher"
1025
+ }, {
1026
+ "propName": "layerControl",
1027
+ "methodName": "layerControlWatcher"
1028
+ }, {
1029
+ "propName": "locationControl",
1030
+ "methodName": "locationControlWatcher"
1031
+ }, {
1032
+ "propName": "layer",
1033
+ "methodName": "layerWatcher"
1034
+ }, {
1035
+ "propName": "center",
1036
+ "methodName": "centerWatcher"
1037
+ }, {
1038
+ "propName": "centerMarker",
1039
+ "methodName": "centerMarkerWatcher"
1040
+ }];
1041
+ }
1042
+ }