@oiz/stzh-components 2.0.0 → 2.1.0-beta

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 (680) hide show
  1. package/dist/cjs/{app-globals-ec8cc33e.js → app-globals-07890ee7.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 +17 -22
  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 +13 -13
  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 +4 -10
  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 +3 -3
  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 +2 -2
  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-pagebottom.cjs.entry.js +32 -0
  58. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  59. package/dist/cjs/stzh-popover.cjs.entry.js +10 -13
  60. package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +2 -2
  61. package/dist/cjs/stzh-progressbar-item.cjs.entry.js +9 -9
  62. package/dist/cjs/stzh-progressbar.cjs.entry.js +9 -24
  63. package/dist/cjs/stzh-readspeaker.cjs.entry.js +3 -1
  64. package/dist/cjs/stzh-row.cjs.entry.js +1 -9
  65. package/dist/cjs/stzh-saptcha.cjs.entry.js +4 -7
  66. package/dist/cjs/stzh-section.cjs.entry.js +1 -2
  67. package/dist/cjs/stzh-share.cjs.entry.js +113 -0
  68. package/dist/cjs/stzh-skiplink.cjs.entry.js +4 -2
  69. package/dist/cjs/stzh-sortable.cjs.entry.js +26 -30
  70. package/dist/cjs/stzh-status.cjs.entry.js +1 -5
  71. package/dist/cjs/stzh-sticky.cjs.entry.js +84 -0
  72. package/dist/cjs/stzh-table.cjs.entry.js +8 -10
  73. package/dist/cjs/stzh-text.cjs.entry.js +37 -0
  74. package/dist/cjs/stzh-toggle.cjs.entry.js +16 -22
  75. package/dist/cjs/stzh-tooltip.cjs.entry.js +12 -23
  76. package/dist/cjs/stzh-upload.cjs.entry.js +58 -162
  77. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +16 -10
  78. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +8 -9
  79. package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +6 -7
  80. package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
  81. package/dist/cjs/stzh-vspace.cjs.entry.js +1 -10
  82. package/dist/collection/assets/i18n/de.json +29 -0
  83. package/dist/collection/assets/i18n/en.json +29 -0
  84. package/dist/collection/assets/icons/mono/target-bullet.svg +12 -0
  85. package/dist/collection/assets/media/olmap/marker-active.png +0 -0
  86. package/dist/collection/assets/media/olmap/marker-position.png +0 -0
  87. package/dist/collection/assets/media/olmap/marker.png +0 -0
  88. package/dist/collection/assets/media/olmap/thumb-satellite.jpg +0 -0
  89. package/dist/collection/assets/media/olmap/thumb-streets.jpg +0 -0
  90. package/dist/collection/collection-manifest.json +9 -2
  91. package/dist/collection/components/stzh-accordion/stzh-accordion.js +0 -2
  92. package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +12 -22
  93. package/dist/collection/components/stzh-actions/stzh-actions.js +2 -4
  94. package/dist/collection/components/stzh-actionset/stzh-actionset.js +21 -21
  95. package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +286 -0
  96. package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +216 -0
  97. package/dist/collection/components/stzh-anchornav/stzh-anchornav.stories.js +76 -0
  98. package/dist/collection/components/stzh-appnav/stzh-appnav.js +3 -6
  99. package/dist/collection/components/stzh-appointments/stzh-appointments.js +11 -16
  100. package/dist/collection/components/stzh-audio/stzh-audio.css +319 -0
  101. package/dist/collection/components/stzh-audio/stzh-audio.js +333 -0
  102. package/dist/collection/components/stzh-audio/stzh-audio.localization.js +1 -0
  103. package/dist/collection/components/stzh-audio/stzh-audio.stories.js +89 -0
  104. package/dist/collection/components/stzh-badge/stzh-badge.js +0 -2
  105. package/dist/collection/components/stzh-button/stzh-button.css +1 -0
  106. package/dist/collection/components/stzh-button/stzh-button.js +24 -45
  107. package/dist/collection/components/stzh-calendar/stzh-calendar.js +8 -24
  108. package/dist/collection/components/stzh-card/stzh-card.js +19 -49
  109. package/dist/collection/components/stzh-card-list/stzh-card-list.js +5 -7
  110. package/dist/collection/components/stzh-cell/stzh-cell.js +0 -7
  111. package/dist/collection/components/stzh-checkbox/assets/check.svg +1 -1
  112. package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +0 -3
  113. package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +13 -18
  114. package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +33 -20
  115. package/dist/collection/components/stzh-chip/stzh-chip.js +13 -24
  116. package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +12 -14
  117. package/dist/collection/components/stzh-clamp/stzh-clamp.css +279 -0
  118. package/dist/collection/components/stzh-clamp/stzh-clamp.js +125 -0
  119. package/dist/collection/components/stzh-clamp/stzh-clamp.stories.js +41 -0
  120. package/dist/collection/components/stzh-datalist/stzh-datalist.js +7 -19
  121. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +0 -11
  122. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +11 -11
  123. package/dist/collection/components/stzh-datatable/stzh-datatable.js +14 -20
  124. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +19 -35
  125. package/dist/collection/components/stzh-dialog/stzh-dialog.js +10 -18
  126. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +15 -35
  127. package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +0 -4
  128. package/dist/collection/components/stzh-figure/stzh-figure.js +0 -2
  129. package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +6 -6
  130. package/dist/collection/components/stzh-footer/stzh-footer.js +5 -5
  131. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.js +7 -16
  132. package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.stories.js +6 -6
  133. package/dist/collection/components/stzh-header/stzh-header.js +4 -10
  134. package/dist/collection/components/stzh-heading/stzh-heading.js +0 -3
  135. package/dist/collection/components/stzh-hr/stzh-hr.stories.js +11 -1
  136. package/dist/collection/components/stzh-hspace/stzh-hspace.js +0 -9
  137. package/dist/collection/components/stzh-icon/stzh-icon.js +0 -8
  138. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +19 -6
  139. package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  140. package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.css +5 -1
  141. package/dist/collection/components/stzh-input/stzh-input.js +29 -36
  142. package/dist/collection/components/stzh-link/stzh-link.css +18 -0
  143. package/dist/collection/components/stzh-link/stzh-link.js +57 -31
  144. package/dist/collection/components/stzh-link/stzh-link.stories.js +3 -1
  145. package/dist/collection/components/stzh-list/stzh-list.js +0 -1
  146. package/dist/collection/components/stzh-list-item/assets/checkmark.svg +1 -1
  147. package/dist/collection/components/stzh-loader/stzh-loader.js +0 -3
  148. package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.js +0 -3
  149. package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +10 -18
  150. package/dist/collection/components/stzh-message/stzh-message.js +4 -17
  151. package/dist/collection/components/stzh-olmap/stzh-olmap.css +284 -0
  152. package/dist/collection/components/stzh-olmap/stzh-olmap.js +1042 -0
  153. package/dist/collection/components/stzh-olmap/stzh-olmap.localization.js +1 -0
  154. package/dist/collection/components/stzh-olmap/stzh-olmap.stories.js +36 -0
  155. package/dist/collection/components/stzh-overlay/stzh-overlay.js +0 -3
  156. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.css +150 -0
  157. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.js +151 -0
  158. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.stories.js +44 -0
  159. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.stories.js +3 -3
  160. package/dist/collection/components/stzh-popover/stzh-popover.js +9 -12
  161. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +0 -1
  162. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.js +1 -2
  163. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.stories.js +1 -1
  164. package/dist/collection/components/stzh-progressbar/stzh-progressbar.js +8 -23
  165. package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js +8 -8
  166. package/dist/collection/components/stzh-radio/stzh-radio.js +13 -18
  167. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +35 -23
  168. package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +2 -0
  169. package/dist/collection/components/stzh-richtext/stzh-richtext.js +0 -2
  170. package/dist/collection/components/stzh-row/stzh-row.js +0 -8
  171. package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +3 -6
  172. package/dist/collection/components/stzh-section/stzh-section.js +0 -1
  173. package/dist/collection/components/stzh-share/stzh-share.css +146 -0
  174. package/dist/collection/components/stzh-share/stzh-share.js +184 -0
  175. package/dist/collection/components/stzh-share/stzh-share.localization.js +1 -0
  176. package/dist/collection/components/stzh-share/stzh-share.stories.js +33 -0
  177. package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +3 -1
  178. package/dist/collection/components/stzh-sortable/stzh-sortable.js +25 -29
  179. package/dist/collection/components/stzh-status/stzh-status.js +0 -4
  180. package/dist/collection/components/stzh-sticky/stzh-sticky.css +144 -0
  181. package/dist/collection/components/stzh-sticky/stzh-sticky.js +184 -0
  182. package/dist/collection/components/stzh-sticky/stzh-sticky.stories.js +91 -0
  183. package/dist/collection/components/stzh-table/stzh-table.js +7 -9
  184. package/dist/collection/components/stzh-text/stzh-text.js +0 -8
  185. package/dist/collection/components/stzh-toggle/stzh-toggle.js +14 -20
  186. package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +11 -22
  187. package/dist/collection/components/stzh-upload/stzh-upload.css +23 -7
  188. package/dist/collection/components/stzh-upload/stzh-upload.js +74 -160
  189. package/dist/collection/components/stzh-upload/stzh-upload.stories.js +3 -3
  190. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +5 -7
  191. package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.js +7 -8
  192. package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +5 -6
  193. package/dist/collection/components/stzh-vspace/stzh-vspace.js +0 -9
  194. package/dist/collection/pages/meinkonto.stories.js +2 -2
  195. package/dist/components/index.d.ts +7 -0
  196. package/dist/components/index.js +8 -1
  197. package/dist/components/stzh-accordion-item.js +12 -22
  198. package/dist/components/stzh-accordion.js +0 -2
  199. package/dist/components/stzh-actions.js +2 -4
  200. package/dist/components/stzh-actionset2.js +15 -15
  201. package/dist/components/stzh-anchornav.d.ts +11 -0
  202. package/dist/components/stzh-anchornav.js +97 -0
  203. package/dist/components/stzh-appnav.js +3 -6
  204. package/dist/components/stzh-appointments.js +11 -16
  205. package/dist/components/stzh-audio.d.ts +11 -0
  206. package/dist/components/stzh-audio.js +4195 -0
  207. package/dist/components/stzh-badge2.js +0 -2
  208. package/dist/components/stzh-button2.js +25 -46
  209. package/dist/components/stzh-calendar2.js +8 -24
  210. package/dist/components/stzh-card-list.js +5 -7
  211. package/dist/components/stzh-card.js +19 -49
  212. package/dist/components/stzh-cell.js +0 -7
  213. package/dist/components/stzh-checkbox.js +15 -20
  214. package/dist/components/stzh-checkboxgroup.js +28 -19
  215. package/dist/components/stzh-chip-select.js +12 -14
  216. package/dist/components/stzh-chip2.js +13 -24
  217. package/dist/components/stzh-clamp.d.ts +11 -0
  218. package/dist/components/stzh-clamp.js +6 -0
  219. package/dist/components/stzh-clamp2.js +43 -0
  220. package/dist/components/stzh-datalist.js +7 -19
  221. package/dist/components/stzh-datamessagelist-item.js +24 -18
  222. package/dist/components/stzh-datatable.js +14 -20
  223. package/dist/components/stzh-datepicker2.js +19 -35
  224. package/dist/components/stzh-dialog.js +10 -18
  225. package/dist/components/stzh-dropdown2.js +15 -35
  226. package/dist/components/stzh-fieldset.js +0 -4
  227. package/dist/components/stzh-figure.js +0 -2
  228. package/dist/components/stzh-flyingfocus.js +6 -6
  229. package/dist/components/stzh-footer.js +4 -4
  230. package/dist/components/stzh-ghettobox2.js +7 -16
  231. package/dist/components/stzh-header.js +3 -9
  232. package/dist/components/stzh-heading2.js +0 -3
  233. package/dist/components/stzh-hspace.js +0 -9
  234. package/dist/components/stzh-icon-sprite.js +2 -2
  235. package/dist/components/stzh-icon2.js +0 -8
  236. package/dist/components/stzh-input2.js +28 -35
  237. package/dist/components/stzh-link2.js +24 -32
  238. package/dist/components/stzh-list-item.js +1 -1
  239. package/dist/components/stzh-list.js +0 -1
  240. package/dist/components/stzh-loader.js +1 -43
  241. package/dist/components/stzh-loader2.js +42 -0
  242. package/dist/components/stzh-loadingbar.js +0 -3
  243. package/dist/components/stzh-menu-item2.js +10 -18
  244. package/dist/components/stzh-message.js +4 -17
  245. package/dist/components/stzh-olmap.d.ts +11 -0
  246. package/dist/components/stzh-olmap.js +51168 -0
  247. package/dist/components/stzh-overlay.js +0 -3
  248. package/dist/components/stzh-pagebottom.d.ts +11 -0
  249. package/dist/components/stzh-pagebottom.js +70 -0
  250. package/dist/components/stzh-popover2.js +9 -12
  251. package/dist/components/stzh-portal-mitwirken.js +1 -1
  252. package/dist/components/stzh-progressbar-item2.js +8 -8
  253. package/dist/components/stzh-progressbar.js +8 -23
  254. package/dist/components/stzh-radio2.js +13 -18
  255. package/dist/components/stzh-radiogroup2.js +29 -21
  256. package/dist/components/stzh-readspeaker.js +2 -0
  257. package/dist/components/stzh-richtext2.js +0 -2
  258. package/dist/components/stzh-row.js +0 -8
  259. package/dist/components/stzh-saptcha.js +3 -6
  260. package/dist/components/stzh-section.js +0 -1
  261. package/dist/components/stzh-share.d.ts +11 -0
  262. package/dist/components/stzh-share.js +6 -0
  263. package/dist/components/stzh-share2.js +139 -0
  264. package/dist/components/stzh-skiplink.js +3 -1
  265. package/dist/components/stzh-sortable2.js +25 -29
  266. package/dist/components/stzh-status2.js +0 -4
  267. package/dist/components/stzh-sticky.d.ts +11 -0
  268. package/dist/components/stzh-sticky.js +102 -0
  269. package/dist/components/stzh-table.js +7 -9
  270. package/dist/components/stzh-text2.js +0 -8
  271. package/dist/components/stzh-toggle.js +14 -20
  272. package/dist/components/stzh-tooltip2.js +11 -22
  273. package/dist/components/stzh-upload.js +57 -160
  274. package/dist/components/stzh-vbz-linechip2.js +15 -9
  275. package/dist/components/stzh-vbz-majorticker.js +7 -8
  276. package/dist/components/stzh-vbz-ticker.js +5 -6
  277. package/dist/components/stzh-vspace.js +0 -9
  278. package/dist/esm/{app-globals-e66420b3.js → app-globals-acc57d0e.js} +1 -1
  279. package/dist/esm/{dom-104fb833.js → dom-6be6f662.js} +1 -1
  280. package/dist/esm/{index-84f71a43.js → index-2915b467.js} +228 -210
  281. package/dist/esm/loader.js +4 -4
  282. package/dist/esm/polyfills/css-shim.js +1 -1
  283. package/dist/esm/{shadow-css-4261c637.js → shadow-css-ed4599f8.js} +1 -1
  284. package/dist/esm/stzh-accordion-item.entry.js +13 -23
  285. package/dist/esm/stzh-accordion.entry.js +1 -3
  286. package/dist/esm/stzh-actions.entry.js +3 -5
  287. package/dist/esm/stzh-actionset.entry.js +16 -16
  288. package/dist/esm/stzh-anchornav.entry.js +48 -0
  289. package/dist/esm/stzh-appnav.entry.js +4 -7
  290. package/dist/esm/stzh-appointments.entry.js +12 -17
  291. package/dist/esm/stzh-audio.entry.js +4146 -0
  292. package/dist/esm/stzh-badge_3.entry.js +26 -57
  293. package/dist/esm/stzh-calendar.entry.js +10 -26
  294. package/dist/esm/stzh-card-list.entry.js +6 -8
  295. package/dist/esm/stzh-card.entry.js +20 -50
  296. package/dist/esm/stzh-cell.entry.js +1 -8
  297. package/dist/esm/stzh-checkbox.entry.js +17 -22
  298. package/dist/esm/stzh-checkboxgroup.entry.js +29 -20
  299. package/dist/esm/stzh-chip-select.entry.js +14 -16
  300. package/dist/esm/stzh-chip.entry.js +14 -25
  301. package/dist/esm/stzh-clamp.entry.js +23 -0
  302. package/dist/esm/stzh-components.js +5 -5
  303. package/dist/esm/stzh-container.entry.js +1 -1
  304. package/dist/esm/stzh-cspace.entry.js +1 -1
  305. package/dist/esm/stzh-datalist.entry.js +8 -20
  306. package/dist/esm/stzh-datamessagelist-item.entry.js +13 -13
  307. package/dist/esm/stzh-datamessagelist.entry.js +1 -1
  308. package/dist/esm/stzh-datatable.entry.js +15 -21
  309. package/dist/esm/stzh-datepicker_3.entry.js +425 -0
  310. package/dist/esm/stzh-dialog.entry.js +11 -19
  311. package/dist/esm/stzh-dropdown.entry.js +17 -37
  312. package/dist/esm/stzh-fieldset.entry.js +1 -5
  313. package/dist/esm/stzh-figure.entry.js +1 -3
  314. package/dist/esm/stzh-flyingfocus.entry.js +7 -7
  315. package/dist/esm/stzh-footer.entry.js +5 -5
  316. package/dist/esm/stzh-ghettobox_2.entry.js +8 -19
  317. package/dist/esm/stzh-header.entry.js +4 -10
  318. package/dist/esm/stzh-heading.entry.js +1 -4
  319. package/dist/esm/stzh-hr.entry.js +1 -1
  320. package/dist/esm/stzh-hspace.entry.js +1 -10
  321. package/dist/esm/stzh-icon-sprite.entry.js +3 -3
  322. package/dist/esm/{stzh-input-description-8c477f97.js → stzh-input-description-e87e6697.js} +1 -1
  323. package/dist/esm/stzh-input.entry.js +30 -37
  324. package/dist/esm/stzh-link.entry.js +23 -33
  325. package/dist/esm/stzh-list-item.entry.js +2 -2
  326. package/dist/esm/stzh-list.entry.js +1 -2
  327. package/dist/esm/stzh-loader.entry.js +1 -4
  328. package/dist/esm/stzh-loadingbar.entry.js +1 -4
  329. package/dist/esm/stzh-menu_2.entry.js +11 -19
  330. package/dist/esm/stzh-message.entry.js +5 -18
  331. package/dist/esm/stzh-metanav.entry.js +1 -1
  332. package/dist/esm/stzh-olmap.entry.js +51125 -0
  333. package/dist/esm/stzh-overlay.entry.js +1 -4
  334. package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
  335. package/dist/esm/stzh-pagebottom.entry.js +28 -0
  336. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  337. package/dist/esm/stzh-popover.entry.js +10 -13
  338. package/dist/esm/stzh-portal-mitwirken.entry.js +2 -2
  339. package/dist/esm/stzh-progressbar-item.entry.js +9 -9
  340. package/dist/esm/stzh-progressbar.entry.js +9 -24
  341. package/dist/esm/stzh-readspeaker.entry.js +3 -1
  342. package/dist/esm/stzh-row.entry.js +1 -9
  343. package/dist/esm/stzh-saptcha.entry.js +4 -7
  344. package/dist/esm/stzh-section.entry.js +1 -2
  345. package/dist/esm/stzh-share.entry.js +109 -0
  346. package/dist/esm/stzh-skiplink.entry.js +4 -2
  347. package/dist/esm/stzh-sortable.entry.js +26 -30
  348. package/dist/esm/stzh-status.entry.js +1 -5
  349. package/dist/esm/stzh-sticky.entry.js +80 -0
  350. package/dist/esm/stzh-table.entry.js +8 -10
  351. package/dist/esm/stzh-text.entry.js +33 -0
  352. package/dist/esm/stzh-toggle.entry.js +16 -22
  353. package/dist/esm/stzh-tooltip.entry.js +12 -23
  354. package/dist/esm/stzh-upload.entry.js +58 -162
  355. package/dist/esm/stzh-vbz-linechip.entry.js +16 -10
  356. package/dist/esm/stzh-vbz-majorticker.entry.js +8 -9
  357. package/dist/esm/stzh-vbz-ticker.entry.js +6 -7
  358. package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
  359. package/dist/esm/stzh-vspace.entry.js +1 -10
  360. package/dist/esm-es5/app-globals-acc57d0e.js +1 -0
  361. package/dist/esm-es5/{dom-104fb833.js → dom-6be6f662.js} +0 -0
  362. package/dist/esm-es5/index-2915b467.js +2 -0
  363. package/dist/esm-es5/loader.js +1 -1
  364. package/dist/esm-es5/{shadow-css-4261c637.js → shadow-css-ed4599f8.js} +0 -0
  365. package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
  366. package/dist/esm-es5/stzh-accordion.entry.js +1 -1
  367. package/dist/esm-es5/stzh-actions.entry.js +1 -1
  368. package/dist/esm-es5/stzh-actionset.entry.js +1 -1
  369. package/dist/esm-es5/stzh-anchornav.entry.js +1 -0
  370. package/dist/esm-es5/stzh-appnav.entry.js +1 -1
  371. package/dist/esm-es5/stzh-appointments.entry.js +1 -1
  372. package/dist/esm-es5/stzh-audio.entry.js +31 -0
  373. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  374. package/dist/esm-es5/stzh-calendar.entry.js +1 -1
  375. package/dist/esm-es5/stzh-card-list.entry.js +1 -1
  376. package/dist/esm-es5/stzh-card.entry.js +1 -1
  377. package/dist/esm-es5/stzh-cell.entry.js +1 -1
  378. package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
  379. package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
  380. package/dist/esm-es5/stzh-chip-select.entry.js +1 -1
  381. package/dist/esm-es5/stzh-chip.entry.js +1 -1
  382. package/dist/esm-es5/stzh-clamp.entry.js +1 -0
  383. package/dist/esm-es5/stzh-components.js +1 -1
  384. package/dist/esm-es5/stzh-container.entry.js +1 -1
  385. package/dist/esm-es5/stzh-cspace.entry.js +1 -1
  386. package/dist/esm-es5/stzh-datalist.entry.js +1 -1
  387. package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
  388. package/dist/esm-es5/stzh-datamessagelist.entry.js +1 -1
  389. package/dist/esm-es5/stzh-datatable.entry.js +2 -2
  390. package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -0
  391. package/dist/esm-es5/stzh-dialog.entry.js +1 -1
  392. package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
  393. package/dist/esm-es5/stzh-fieldset.entry.js +1 -1
  394. package/dist/esm-es5/stzh-figure.entry.js +1 -1
  395. package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -1
  396. package/dist/esm-es5/stzh-footer.entry.js +1 -1
  397. package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
  398. package/dist/esm-es5/stzh-header.entry.js +1 -1
  399. package/dist/esm-es5/stzh-heading.entry.js +1 -1
  400. package/dist/esm-es5/stzh-hr.entry.js +1 -1
  401. package/dist/esm-es5/stzh-hspace.entry.js +1 -1
  402. package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
  403. package/dist/esm-es5/{stzh-input-description-8c477f97.js → stzh-input-description-e87e6697.js} +1 -1
  404. package/dist/esm-es5/stzh-input.entry.js +1 -1
  405. package/dist/esm-es5/stzh-link.entry.js +1 -1
  406. package/dist/esm-es5/stzh-list-item.entry.js +1 -1
  407. package/dist/esm-es5/stzh-list.entry.js +1 -1
  408. package/dist/esm-es5/stzh-loader.entry.js +1 -1
  409. package/dist/esm-es5/stzh-loadingbar.entry.js +1 -1
  410. package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
  411. package/dist/esm-es5/stzh-message.entry.js +1 -1
  412. package/dist/esm-es5/stzh-metanav.entry.js +1 -1
  413. package/dist/esm-es5/stzh-olmap.entry.js +7 -0
  414. package/dist/esm-es5/stzh-overlay.entry.js +1 -1
  415. package/dist/esm-es5/stzh-page-skiplinks.entry.js +1 -1
  416. package/dist/esm-es5/stzh-pagebottom.entry.js +1 -0
  417. package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
  418. package/dist/esm-es5/stzh-popover.entry.js +1 -1
  419. package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
  420. package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
  421. package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
  422. package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
  423. package/dist/esm-es5/stzh-row.entry.js +1 -1
  424. package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
  425. package/dist/esm-es5/stzh-section.entry.js +1 -1
  426. package/dist/esm-es5/stzh-share.entry.js +1 -0
  427. package/dist/esm-es5/stzh-skiplink.entry.js +1 -1
  428. package/dist/esm-es5/stzh-sortable.entry.js +2 -2
  429. package/dist/esm-es5/stzh-status.entry.js +1 -1
  430. package/dist/esm-es5/stzh-sticky.entry.js +1 -0
  431. package/dist/esm-es5/stzh-table.entry.js +1 -1
  432. package/dist/{stzh-components/p-fc6b4f91.system.entry.js → esm-es5/stzh-text.entry.js} +1 -1
  433. package/dist/esm-es5/stzh-toggle.entry.js +1 -1
  434. package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
  435. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  436. package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
  437. package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
  438. package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
  439. package/dist/esm-es5/stzh-visuallyhidden.entry.js +1 -1
  440. package/dist/esm-es5/stzh-vspace.entry.js +1 -1
  441. package/dist/stzh-components/assets/i18n/de.json +29 -0
  442. package/dist/stzh-components/assets/i18n/en.json +29 -0
  443. package/dist/stzh-components/assets/icons/mono/target-bullet.svg +12 -0
  444. package/dist/stzh-components/assets/media/olmap/marker-active.png +0 -0
  445. package/dist/stzh-components/assets/media/olmap/marker-position.png +0 -0
  446. package/dist/stzh-components/assets/media/olmap/marker.png +0 -0
  447. package/dist/stzh-components/assets/media/olmap/thumb-satellite.jpg +0 -0
  448. package/dist/stzh-components/assets/media/olmap/thumb-streets.jpg +0 -0
  449. package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +19 -6
  450. package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
  451. package/dist/stzh-components/{p-5a354428.system.entry.js → p-011dcf30.system.entry.js} +1 -1
  452. package/dist/stzh-components/{p-f24db7e8.system.entry.js → p-01909f35.system.entry.js} +1 -1
  453. package/dist/stzh-components/p-025953d1.system.entry.js +1 -0
  454. package/dist/stzh-components/{p-981b2629.system.entry.js → p-0321e98e.system.entry.js} +1 -1
  455. package/dist/stzh-components/p-04dd6821.entry.js +1 -0
  456. package/dist/stzh-components/{p-929dbdf1.system.entry.js → p-05901b22.system.entry.js} +1 -1
  457. package/dist/stzh-components/p-07fc857b.system.entry.js +1 -0
  458. package/dist/stzh-components/{p-8b6de2c0.system.entry.js → p-090bfb8e.system.entry.js} +1 -1
  459. package/dist/stzh-components/{p-051bc2a8.entry.js → p-0977d9b6.entry.js} +1 -1
  460. package/dist/stzh-components/{p-713ae713.entry.js → p-0c10d9b1.entry.js} +2 -2
  461. package/dist/stzh-components/p-0e48efa7.entry.js +1 -0
  462. package/dist/stzh-components/p-10c36281.entry.js +1 -0
  463. package/dist/stzh-components/{p-4c61dcad.js → p-13051e1c.js} +0 -0
  464. package/dist/stzh-components/p-140e4b63.entry.js +1 -0
  465. package/dist/stzh-components/{p-a67e09cd.system.entry.js → p-14e457c6.system.entry.js} +1 -1
  466. package/dist/stzh-components/{p-eb61c369.entry.js → p-14f0d546.entry.js} +1 -1
  467. package/dist/stzh-components/p-1663fc49.system.entry.js +1 -0
  468. package/dist/stzh-components/{p-796ae62c.system.entry.js → p-183e4790.system.entry.js} +1 -1
  469. package/dist/stzh-components/p-1a5fc8e3.system.entry.js +1 -0
  470. package/dist/stzh-components/{p-db5363ef.entry.js → p-20a6ffbb.entry.js} +1 -1
  471. package/dist/stzh-components/p-229f4ebc.system.entry.js +1 -0
  472. package/dist/stzh-components/{p-3b912468.system.entry.js → p-23e9b6c7.system.entry.js} +1 -1
  473. package/dist/stzh-components/{p-5f4eb46c.entry.js → p-241f060e.entry.js} +1 -1
  474. package/dist/stzh-components/{p-89274cd5.system.entry.js → p-26159eac.system.entry.js} +1 -1
  475. package/dist/stzh-components/{p-6523a23b.system.js → p-2732d8c8.system.js} +0 -0
  476. package/dist/stzh-components/{p-56b9cc3c.system.entry.js → p-27573504.system.entry.js} +1 -1
  477. package/dist/stzh-components/{p-9e716229.entry.js → p-27839f48.entry.js} +1 -1
  478. package/dist/stzh-components/{p-fc13d017.system.entry.js → p-27bfb4c2.system.entry.js} +1 -1
  479. package/dist/stzh-components/{p-29427863.entry.js → p-29d9a568.entry.js} +1 -1
  480. package/dist/stzh-components/{p-f1356a85.entry.js → p-2c16d2ea.entry.js} +1 -1
  481. package/dist/stzh-components/p-2c783943.entry.js +1 -0
  482. package/dist/stzh-components/{p-560f96f0.system.entry.js → p-2c8d491a.system.entry.js} +1 -1
  483. package/dist/stzh-components/{p-17c6c1db.system.entry.js → p-2e276f2e.system.entry.js} +1 -1
  484. package/dist/stzh-components/{p-5bd2849d.entry.js → p-30e5a674.entry.js} +1 -1
  485. package/dist/stzh-components/{p-19bff884.system.entry.js → p-33a52001.system.entry.js} +1 -1
  486. package/dist/stzh-components/{p-b462a61f.entry.js → p-34eb65b9.entry.js} +1 -1
  487. package/dist/stzh-components/p-36596b2b.system.entry.js +1 -0
  488. package/dist/stzh-components/{p-d6c07494.system.entry.js → p-37bdb9cd.system.entry.js} +1 -1
  489. package/dist/stzh-components/p-38977481.entry.js +1 -0
  490. package/dist/stzh-components/p-3a0f37bd.entry.js +1 -0
  491. package/dist/stzh-components/p-3a279b45.entry.js +1 -0
  492. package/dist/stzh-components/p-3a47ff2d.system.entry.js +1 -0
  493. package/dist/stzh-components/p-3b33fa76.system.entry.js +1 -0
  494. package/dist/stzh-components/{p-2b338050.entry.js → p-3e24b964.entry.js} +1 -1
  495. package/dist/stzh-components/{p-ee22256f.entry.js → p-3e504f50.entry.js} +1 -1
  496. package/dist/stzh-components/{p-bb3c1249.entry.js → p-3efefb7f.entry.js} +1 -1
  497. package/dist/stzh-components/{p-21566d65.system.entry.js → p-3f8976bc.system.entry.js} +1 -1
  498. package/dist/stzh-components/{p-8d0da18d.system.entry.js → p-3fc40cc0.system.entry.js} +1 -1
  499. package/dist/stzh-components/{p-4c6989ae.system.entry.js → p-440ae0cc.system.entry.js} +1 -1
  500. package/dist/stzh-components/{p-b550feaa.system.entry.js → p-44435254.system.entry.js} +1 -1
  501. package/dist/stzh-components/{p-ab246b66.entry.js → p-456143f9.entry.js} +1 -1
  502. package/dist/stzh-components/{p-190de4de.entry.js → p-46f4e907.entry.js} +1 -1
  503. package/dist/stzh-components/p-470ccde5.system.entry.js +1 -0
  504. package/dist/stzh-components/{p-d1552460.system.entry.js → p-470e5f38.system.entry.js} +1 -1
  505. package/dist/stzh-components/{p-ce070ccd.entry.js → p-4b93fb24.entry.js} +1 -1
  506. package/dist/stzh-components/{p-562e6c52.entry.js → p-4c93ffbe.entry.js} +1 -1
  507. package/dist/stzh-components/{p-20ef4a20.system.entry.js → p-509c97c9.system.entry.js} +1 -1
  508. package/dist/stzh-components/p-51c75fba.system.entry.js +1 -0
  509. package/dist/stzh-components/{p-0fc83964.system.entry.js → p-529a56aa.system.entry.js} +1 -1
  510. package/dist/stzh-components/{p-63d89b96.system.js → p-52cd1bd1.system.js} +1 -1
  511. package/dist/stzh-components/p-53c30c58.entry.js +1 -0
  512. package/dist/stzh-components/p-55435022.system.entry.js +1 -0
  513. package/dist/stzh-components/p-5623c1a3.entry.js +1 -0
  514. package/dist/stzh-components/{p-e213663c.system.entry.js → p-5869502c.system.entry.js} +1 -1
  515. package/dist/stzh-components/p-58714045.entry.js +1 -0
  516. package/dist/stzh-components/p-59970f71.entry.js +1 -0
  517. package/dist/stzh-components/{p-3d8317b5.entry.js → p-5c2d0572.entry.js} +1 -1
  518. package/dist/stzh-components/p-5c311df3.entry.js +1 -0
  519. package/dist/stzh-components/{p-72f29f07.entry.js → p-5e81420b.entry.js} +1 -1
  520. package/dist/stzh-components/p-609bf766.system.js +2 -0
  521. package/dist/stzh-components/{p-f832e938.system.entry.js → p-616e70e9.system.entry.js} +1 -1
  522. package/dist/stzh-components/p-62afe664.entry.js +1 -0
  523. package/dist/stzh-components/p-62c7caed.entry.js +1 -0
  524. package/dist/stzh-components/p-652eee8b.system.entry.js +1 -0
  525. package/dist/stzh-components/{p-69c3187f.system.entry.js → p-67ade1c7.system.entry.js} +1 -1
  526. package/dist/stzh-components/p-6a16ceff.entry.js +1 -0
  527. package/dist/stzh-components/{p-9c72f491.system.entry.js → p-6a96d63e.system.entry.js} +1 -1
  528. package/dist/stzh-components/{p-33c0229f.system.entry.js → p-6c1ad586.system.entry.js} +1 -1
  529. package/dist/stzh-components/p-6c3d7756.system.entry.js +7 -0
  530. package/dist/stzh-components/{p-61aac051.system.entry.js → p-725b3e74.system.entry.js} +1 -1
  531. package/dist/stzh-components/p-74786856.system.entry.js +1 -0
  532. package/dist/stzh-components/p-783346ed.entry.js +1 -0
  533. package/dist/stzh-components/p-7909f56b.entry.js +1 -0
  534. package/dist/stzh-components/p-79f27d21.entry.js +1 -0
  535. package/dist/stzh-components/p-7a4c6adb.js +2 -0
  536. package/dist/stzh-components/{p-a7ee2636.entry.js → p-7d77b8d2.entry.js} +1 -1
  537. package/dist/stzh-components/{p-9fb4da92.system.entry.js → p-7dd6fbc9.system.entry.js} +1 -1
  538. package/dist/stzh-components/{p-f84fa2a4.js → p-8347b91f.js} +1 -1
  539. package/dist/stzh-components/{p-ef5d4167.js → p-8364475f.js} +0 -0
  540. package/dist/stzh-components/{p-bbe4e3d1.system.entry.js → p-881e526e.system.entry.js} +1 -1
  541. package/dist/stzh-components/p-8d9056de.entry.js +1 -0
  542. package/dist/stzh-components/p-8e363084.system.entry.js +1 -0
  543. package/dist/stzh-components/p-8e5f4ef6.system.entry.js +1 -0
  544. package/dist/stzh-components/{p-8d547247.system.entry.js → p-8eb72064.system.entry.js} +1 -1
  545. package/dist/stzh-components/{p-fa56fc0d.system.entry.js → p-8fc8d8c2.system.entry.js} +1 -1
  546. package/dist/stzh-components/{p-6305db38.system.entry.js → p-90665664.system.entry.js} +1 -1
  547. package/dist/stzh-components/p-9084f0c1.entry.js +1 -0
  548. package/dist/stzh-components/p-90ad5e2c.entry.js +1 -0
  549. package/dist/stzh-components/p-92788577.entry.js +34 -0
  550. package/dist/stzh-components/{p-27fd6c6f.system.entry.js → p-92ad9720.system.entry.js} +1 -1
  551. package/dist/stzh-components/{p-c58dd9de.entry.js → p-9454a438.entry.js} +1 -1
  552. package/dist/stzh-components/p-948acea1.js +1 -0
  553. package/dist/stzh-components/{p-530252c6.system.entry.js → p-965829a6.system.entry.js} +1 -1
  554. package/dist/stzh-components/p-9a7593f5.entry.js +1 -0
  555. package/dist/stzh-components/p-9af41730.system.js +1 -0
  556. package/dist/stzh-components/{p-58d886cb.system.entry.js → p-9ca1efe4.system.entry.js} +1 -1
  557. package/dist/stzh-components/p-a10e0117.system.entry.js +1 -0
  558. package/dist/stzh-components/{p-3f0363db.entry.js → p-a3559e69.entry.js} +1 -1
  559. package/dist/stzh-components/{p-7ec2f3fd.entry.js → p-a61bf274.entry.js} +2 -2
  560. package/dist/stzh-components/{p-8c648042.system.entry.js → p-a6da8c06.system.entry.js} +1 -1
  561. package/dist/stzh-components/{p-ccd30d73.system.entry.js → p-afaa9c37.system.entry.js} +1 -1
  562. package/dist/stzh-components/{p-88e0f453.entry.js → p-b09b85ac.entry.js} +1 -1
  563. package/dist/stzh-components/p-b0e514c7.entry.js +1 -0
  564. package/dist/stzh-components/{p-5997e418.system.entry.js → p-b3587b9d.system.entry.js} +1 -1
  565. package/dist/stzh-components/p-b367d4e3.entry.js +7 -0
  566. package/dist/stzh-components/p-b54ed1f9.entry.js +1 -0
  567. package/dist/stzh-components/p-b5a59ac0.entry.js +1 -0
  568. package/dist/stzh-components/p-b666bb15.entry.js +1 -0
  569. package/dist/stzh-components/p-b71a1607.system.js +1 -0
  570. package/dist/stzh-components/{p-2e559062.entry.js → p-b99c0844.entry.js} +1 -1
  571. package/dist/stzh-components/p-bb9e8364.entry.js +1 -0
  572. package/dist/stzh-components/p-bc841847.entry.js +1 -0
  573. package/dist/stzh-components/p-bd7dd853.system.entry.js +1 -0
  574. package/dist/stzh-components/p-bdc627fa.system.entry.js +1 -0
  575. package/dist/stzh-components/p-be534671.entry.js +1 -0
  576. package/dist/stzh-components/p-bfdce66c.entry.js +1 -0
  577. package/dist/stzh-components/p-c051fc3b.entry.js +1 -0
  578. package/dist/stzh-components/p-c1100fde.entry.js +1 -0
  579. package/dist/stzh-components/{p-55d23a3c.system.entry.js → p-c3161c9b.system.entry.js} +1 -1
  580. package/dist/stzh-components/{p-0fc06049.system.entry.js → p-c5749124.system.entry.js} +1 -1
  581. package/dist/stzh-components/{p-786a92d4.system.entry.js → p-c6813d9f.system.entry.js} +1 -1
  582. package/dist/stzh-components/p-c777032f.system.entry.js +1 -0
  583. package/dist/stzh-components/{p-c4fc6433.system.entry.js → p-c8009c05.system.entry.js} +1 -1
  584. package/dist/stzh-components/{p-d0aa9d3b.entry.js → p-c866224d.entry.js} +1 -1
  585. package/dist/stzh-components/p-cbaab05e.entry.js +1 -0
  586. package/dist/stzh-components/{p-5353ba86.system.entry.js → p-cc735465.system.entry.js} +2 -2
  587. package/dist/stzh-components/{p-6a873872.entry.js → p-d00e20ff.entry.js} +1 -1
  588. package/dist/stzh-components/{p-c3d93395.entry.js → p-d26ed018.entry.js} +1 -1
  589. package/dist/stzh-components/{p-64b4cc74.entry.js → p-d2c97cbc.entry.js} +1 -1
  590. package/dist/stzh-components/{p-84ab53cc.system.entry.js → p-d408604f.system.entry.js} +1 -1
  591. package/dist/stzh-components/{p-b9a027aa.entry.js → p-d69b12f8.entry.js} +1 -1
  592. package/dist/stzh-components/p-da857e0d.entry.js +1 -0
  593. package/dist/stzh-components/{p-2ca4a828.system.entry.js → p-de8f9508.system.entry.js} +1 -1
  594. package/dist/stzh-components/{p-a7c35778.system.entry.js → p-e347ce1e.system.entry.js} +1 -1
  595. package/dist/stzh-components/{p-961cb979.entry.js → p-e662b688.entry.js} +1 -1
  596. package/dist/stzh-components/{p-c4b7c2be.entry.js → p-e69903fe.entry.js} +1 -1
  597. package/dist/stzh-components/p-e7afcd6f.entry.js +1 -0
  598. package/dist/stzh-components/p-e9313802.system.entry.js +31 -0
  599. package/dist/stzh-components/p-ee711f37.system.entry.js +1 -0
  600. package/dist/stzh-components/{p-b5a85078.system.entry.js → p-ee944add.system.entry.js} +1 -1
  601. package/dist/stzh-components/{p-5a02ef03.entry.js → p-ef62b905.entry.js} +1 -1
  602. package/dist/stzh-components/{p-a8de6293.system.js → p-f39f347c.system.js} +0 -0
  603. package/dist/stzh-components/p-f8ccf5b1.entry.js +1 -0
  604. package/dist/stzh-components/p-f9039c23.entry.js +1 -0
  605. package/dist/stzh-components/{p-073c89b1.system.entry.js → p-fa6427bf.system.entry.js} +1 -1
  606. package/dist/stzh-components/{p-ba94e315.system.entry.js → p-fa9a4cd5.system.entry.js} +1 -1
  607. package/dist/stzh-components/p-fade35c7.entry.js +1 -0
  608. package/dist/stzh-components/{p-851e0caa.system.entry.js → p-fb150554.system.entry.js} +1 -1
  609. package/dist/stzh-components/{p-684c345e.system.entry.js → p-fd811f6b.system.entry.js} +2 -2
  610. package/dist/stzh-components/stzh-components.css +1 -1
  611. package/dist/stzh-components/stzh-components.esm.js +1 -1
  612. package/dist/stzh-components/stzh-components.js +1 -1
  613. package/dist/types/components/stzh-anchornav/stzh-anchornav.d.ts +32 -0
  614. package/dist/types/components/stzh-audio/stzh-audio.localization.d.ts +11 -0
  615. package/dist/types/components/stzh-clamp/stzh-clamp.d.ts +16 -0
  616. package/dist/types/components/stzh-olmap/stzh-olmap.localization.d.ts +10 -0
  617. package/dist/types/components/stzh-portal-mitwirken/stzh-portal-mitwirken.d.ts +1 -2
  618. package/dist/types/components/stzh-share/stzh-share.localization.d.ts +10 -0
  619. package/dist/types/components/stzh-upload/stzh-upload.localization.d.ts +1 -0
  620. package/dist/types/components.d.ts +557 -17
  621. package/dist/types/index.d.ts +68 -1
  622. package/dist/types/stencil-public-runtime.d.ts +20 -4
  623. package/dist/vscode-data.json +265 -8
  624. package/package.json +7 -2
  625. package/dist/cjs/stzh-datepicker_4.cjs.entry.js +0 -483
  626. package/dist/esm/stzh-datepicker_4.entry.js +0 -476
  627. package/dist/esm-es5/app-globals-e66420b3.js +0 -1
  628. package/dist/esm-es5/index-84f71a43.js +0 -2
  629. package/dist/esm-es5/stzh-datepicker_4.entry.js +0 -1
  630. package/dist/stzh-components/p-001b7d10.entry.js +0 -1
  631. package/dist/stzh-components/p-03ea86bd.entry.js +0 -1
  632. package/dist/stzh-components/p-0711e511.entry.js +0 -1
  633. package/dist/stzh-components/p-08a564af.entry.js +0 -1
  634. package/dist/stzh-components/p-0bbbbe85.system.entry.js +0 -1
  635. package/dist/stzh-components/p-13b3500e.entry.js +0 -1
  636. package/dist/stzh-components/p-1440163c.system.entry.js +0 -1
  637. package/dist/stzh-components/p-18958371.entry.js +0 -1
  638. package/dist/stzh-components/p-216577b4.entry.js +0 -1
  639. package/dist/stzh-components/p-22701389.system.entry.js +0 -1
  640. package/dist/stzh-components/p-252d3178.entry.js +0 -1
  641. package/dist/stzh-components/p-2cf1ae40.system.entry.js +0 -1
  642. package/dist/stzh-components/p-3042b23e.entry.js +0 -1
  643. package/dist/stzh-components/p-3beb58d6.system.entry.js +0 -1
  644. package/dist/stzh-components/p-45bab70d.system.entry.js +0 -1
  645. package/dist/stzh-components/p-48b5b697.system.entry.js +0 -1
  646. package/dist/stzh-components/p-552f49c4.entry.js +0 -1
  647. package/dist/stzh-components/p-55cdbf79.entry.js +0 -1
  648. package/dist/stzh-components/p-62db1e59.entry.js +0 -1
  649. package/dist/stzh-components/p-638bedfa.entry.js +0 -1
  650. package/dist/stzh-components/p-6425898c.entry.js +0 -1
  651. package/dist/stzh-components/p-676fd54d.entry.js +0 -1
  652. package/dist/stzh-components/p-69f4a27e.entry.js +0 -1
  653. package/dist/stzh-components/p-764ba190.entry.js +0 -1
  654. package/dist/stzh-components/p-7d8c9866.entry.js +0 -1
  655. package/dist/stzh-components/p-80d70586.entry.js +0 -1
  656. package/dist/stzh-components/p-838df84a.system.entry.js +0 -1
  657. package/dist/stzh-components/p-85161133.js +0 -1
  658. package/dist/stzh-components/p-864d7c50.entry.js +0 -1
  659. package/dist/stzh-components/p-93e8e31f.js +0 -2
  660. package/dist/stzh-components/p-9469b812.entry.js +0 -1
  661. package/dist/stzh-components/p-a3fa6122.system.entry.js +0 -1
  662. package/dist/stzh-components/p-a448f5a5.entry.js +0 -1
  663. package/dist/stzh-components/p-a646c09a.entry.js +0 -1
  664. package/dist/stzh-components/p-a6627504.entry.js +0 -1
  665. package/dist/stzh-components/p-b391d962.system.entry.js +0 -1
  666. package/dist/stzh-components/p-b70bc70c.system.js +0 -1
  667. package/dist/stzh-components/p-be461e19.system.entry.js +0 -1
  668. package/dist/stzh-components/p-bf0fdd23.system.js +0 -2
  669. package/dist/stzh-components/p-c1337453.entry.js +0 -1
  670. package/dist/stzh-components/p-cb1d4678.entry.js +0 -1
  671. package/dist/stzh-components/p-cd795307.entry.js +0 -1
  672. package/dist/stzh-components/p-cdc9e600.entry.js +0 -1
  673. package/dist/stzh-components/p-d7893dfd.entry.js +0 -1
  674. package/dist/stzh-components/p-d9643cc4.entry.js +0 -1
  675. package/dist/stzh-components/p-e3e3e88c.system.js +0 -1
  676. package/dist/stzh-components/p-ebeb8d7b.system.entry.js +0 -1
  677. package/dist/stzh-components/p-eca1732f.entry.js +0 -1
  678. package/dist/stzh-components/p-f788a468.entry.js +0 -1
  679. package/dist/stzh-components/p-fdd1998f.entry.js +0 -1
  680. package/dist/stzh-components/p-fdf0b4bc.system.entry.js +0 -1
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h, a as Host, g as getElement } from './index-84f71a43.js';
1
+ import { r as registerInstance, h, a as Host, g as getElement } from './index-2915b467.js';
2
2
  import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-ba3f0406.js';
3
3
  import { f as fetchTranslations } from './translation-utils-2623783f.js';
4
4
 
@@ -43,26 +43,6 @@ const stzhDatatableCss = ":host{font-family:var(--stzh-font-family-regular);font
43
43
  const StzhDatatable = class {
44
44
  constructor(hostRef) {
45
45
  registerInstance(this, hostRef);
46
- /** Label */
47
- this.label = "";
48
- /** Sort by given column key */
49
- this.sortBy = "";
50
- /** Sort direction */
51
- this.sortDirection = "asc";
52
- /** Tokenize type */
53
- this.tokenize = "forward";
54
- /** ID field */
55
- this.idField = "id";
56
- /** Rows */
57
- this.rows = [];
58
- /** Columns */
59
- this.columns = [];
60
- this.query = "";
61
- this.hasScrollLeft = false;
62
- this.hasScrollRight = false;
63
- this.isScrollable = false;
64
- this.cellsStickyLeft = [];
65
- this.cellsStickyRight = [];
66
46
  this.updateScrollStates = () => {
67
47
  if (!this.tableWrapper) {
68
48
  return;
@@ -105,6 +85,20 @@ const StzhDatatable = class {
105
85
  this.onInputChange = () => {
106
86
  this.query = this.input.value;
107
87
  };
88
+ this.localization = undefined;
89
+ this.label = "";
90
+ this.sortBy = "";
91
+ this.sortDirection = "asc";
92
+ this.tokenize = "forward";
93
+ this.idField = "id";
94
+ this.rows = [];
95
+ this.columns = [];
96
+ this.query = "";
97
+ this.hasScrollLeft = false;
98
+ this.hasScrollRight = false;
99
+ this.isScrollable = false;
100
+ this.cellsStickyLeft = [];
101
+ this.cellsStickyRight = [];
108
102
  }
109
103
  /** Toggle sort by a given column key like when clicking on a column header */
110
104
  async toggleSort(columnKey) {
@@ -0,0 +1,425 @@
1
+ import { r as registerInstance, c as createEvent, h, F as Fragment, a as Host, g as getElement } from './index-2915b467.js';
2
+ import { f as fetchTranslations } from './translation-utils-2623783f.js';
3
+ import { a as printISODate, p as parseISODate } from './date-utils-be83fff1.js';
4
+ import { c as createGlobalAdapter } from './date-adapter-cbc340fa.js';
5
+ import { h as hasSlot } from './utils-68a28fce.js';
6
+ import { S as StzhInputDescription } from './stzh-input-description-e87e6697.js';
7
+ import { c as camelCase } from './string-utils-f98ee4e8.js';
8
+
9
+ const stzhDatepickerCss = ".sc-stzh-datepicker-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-datepicker-h{display:none}.sc-stzh-datepicker-h *.sc-stzh-datepicker,.sc-stzh-datepicker-h *.sc-stzh-datepicker::before,.sc-stzh-datepicker-h *.sc-stzh-datepicker::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-datepicker-h{width:100%}.stzh-datepicker__popover.sc-stzh-datepicker{--padding:var(--stzh-space-medium);--width:auto}.stzh-datepicker__actions.sc-stzh-datepicker{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end}.stzh-datepicker__actions.sc-stzh-datepicker:not(:empty){margin-top:var(--stzh-space-xsmall)}";
10
+
11
+ const StzhDatepicker = class {
12
+ constructor(hostRef) {
13
+ registerInstance(this, hostRef);
14
+ this.stzhChange = createEvent(this, "stzhChange", 7);
15
+ this.onInputChange = () => {
16
+ const parsedDate = this.dateAdapter.parse(this.input.value, "inputdate");
17
+ if (this.input.value === "" || parsedDate) {
18
+ const isoDate = printISODate(parsedDate);
19
+ if (this.calendar) {
20
+ this.calendar.value = isoDate;
21
+ }
22
+ this.value = isoDate;
23
+ this.stzhChange.emit({
24
+ component: "stzh-datepicker",
25
+ value: this.value,
26
+ valueAsDate: parsedDate,
27
+ });
28
+ }
29
+ };
30
+ this.onCalendarChange = (event) => {
31
+ this.value = event.detail.value;
32
+ this.stzhChange.emit({
33
+ component: "stzh-datepicker",
34
+ value: this.value,
35
+ valueAsDate: event.detail.valueAsDate,
36
+ });
37
+ if (this.input) {
38
+ this.input.value = event.detail.valueAsDate
39
+ && this.dateAdapter.format(event.detail.valueAsDate, "inputdate");
40
+ }
41
+ if (this.popover) {
42
+ this.popover.hide();
43
+ }
44
+ };
45
+ this.calendarMin = "";
46
+ this.calendarMax = "";
47
+ this.calendarIsDateDisabled = () => false;
48
+ this.name = "";
49
+ this.value = "";
50
+ this.label = "";
51
+ this.readonly = false;
52
+ this.disabled = false;
53
+ this.description = undefined;
54
+ this.descriptionLong = undefined;
55
+ this.error = undefined;
56
+ this.invalid = false;
57
+ this.required = false;
58
+ this.showMarker = false;
59
+ this.size = "default";
60
+ this.inline = false;
61
+ this.dateAdapter = undefined;
62
+ this.localization = undefined;
63
+ this.buttonLabel = undefined;
64
+ }
65
+ createDateFormatters() {
66
+ if (this.localization) {
67
+ this.dateFormatLong = new Intl.DateTimeFormat(this.localization.$locale, {
68
+ day: "numeric",
69
+ month: "long",
70
+ year: "numeric",
71
+ });
72
+ }
73
+ }
74
+ /** Update calendar and input when value prop has changed */
75
+ valueWatcher(newValue) {
76
+ const date = parseISODate(newValue);
77
+ if (this.calendar) {
78
+ this.calendar.value = newValue;
79
+ }
80
+ if (this.input) {
81
+ this.input.value = this.dateAdapter.format(date, "inputdate");
82
+ }
83
+ this.updateButtonAccessibleLabel();
84
+ }
85
+ /** Set value by a JS Date object */
86
+ async setDate(date) {
87
+ this.value = printISODate(date);
88
+ }
89
+ /** Return internal popover element */
90
+ async getPopover() {
91
+ return this.popover;
92
+ }
93
+ updateButtonAccessibleLabel() {
94
+ if (!this.localization) {
95
+ return;
96
+ }
97
+ try {
98
+ const valueAsDate = parseISODate(this.value);
99
+ this.buttonLabel = `${this.localization.buttonLabel}, ${this.localization.selectedDateMessage} ${this.dateFormatLong.format(valueAsDate)}`;
100
+ }
101
+ catch (err) {
102
+ this.buttonLabel = this.localization.buttonLabel;
103
+ }
104
+ }
105
+ connectedCallback() {
106
+ this.createDateFormatters();
107
+ }
108
+ async componentWillLoad() {
109
+ if (!this.localization) {
110
+ this.localization = await fetchTranslations(this.element, "datepicker");
111
+ }
112
+ if (!this.dateAdapter) {
113
+ this.dateAdapter = createGlobalAdapter(this.localization.$formats, this.localization.$globals);
114
+ }
115
+ }
116
+ componentDidLoad() {
117
+ this.valueWatcher(this.value);
118
+ }
119
+ render() {
120
+ const classes = {
121
+ "stzh-datepicker": true,
122
+ "stzh-datepicker--inline": this.inline
123
+ };
124
+ return (h(Host, null, h("div", { class: classes }, h("input", { type: "hidden", name: this.name, value: this.value }), this.inline &&
125
+ h(Fragment, null, h("stzh-calendar", { ref: (el) => (this.calendar = el), isDateDisabled: this.calendarIsDateDisabled, min: this.calendarMin, max: this.calendarMax, onStzhChange: this.onCalendarChange }), h("div", { class: "stzh-datepicker__actions" }, h("slot", { name: "action" }))), !this.inline &&
126
+ h("stzh-input", { label: this.label, ref: (el) => (this.input = el), noAutocomplete: true, onStzhChange: this.onInputChange, readonly: this.readonly, disabled: this.disabled, description: this.description, descriptionLong: this.descriptionLong, error: this.error, invalid: this.invalid, required: this.required, showMarker: this.showMarker, size: this.size }, h("stzh-popover", { ref: (el) => (this.popover = el), class: "stzh-datepicker__popover", slot: "button-right", placement: "bottom-end", label: this.label }, h("stzh-button", { variant: "input", "icon-only": true, icon: "calendar", disabled: this.disabled, a11yLabel: this.buttonLabel }), h("div", { slot: "content" }, h("stzh-calendar", { ref: (el) => (this.calendar = el), isDateDisabled: this.calendarIsDateDisabled, min: this.calendarMin, max: this.calendarMax, onStzhChange: this.onCalendarChange }), h("div", { class: "stzh-datepicker__actions" }, h("slot", { name: "action" }))))))));
127
+ }
128
+ get element() { return getElement(this); }
129
+ static get watchers() { return {
130
+ "localization": ["createDateFormatters"],
131
+ "value": ["valueWatcher"]
132
+ }; }
133
+ };
134
+ StzhDatepicker.style = stzhDatepickerCss;
135
+
136
+ const stzhRadioCss = ".sc-stzh-radio-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-radio-h{display:none}.sc-stzh-radio-h *.sc-stzh-radio,.sc-stzh-radio-h *.sc-stzh-radio::before,.sc-stzh-radio-h *.sc-stzh-radio::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-radio-h{display:inline-block;border-radius:var(--stzh-form-input-border-radius)}.sc-stzh-radio-h .sc-stzh-radio-s>stzh-text{--color:inherit}.stzh-radio__marker-symbol.sc-stzh-radio{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-radio__marker-text.sc-stzh-radio{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-radio__description-wrapper.sc-stzh-radio{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-radio__error.sc-stzh-radio,.stzh-radio__description.sc-stzh-radio{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-radio__error.sc-stzh-radio{color:var(--stzh-color-error)}.stzh-radio__error-list.sc-stzh-radio{list-style:none;margin:0;padding:0}.stzh-radio__description.sc-stzh-radio{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-radio__description-long.sc-stzh-radio{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-radio__description-long-popover.sc-stzh-radio{--width:auto;--max-width:27.3125rem}.stzh-radio__description-long-popover[open].sc-stzh-radio:not([open=false]) .stzh-radio__description-long-button.sc-stzh-radio{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-radio__description-long-button.sc-stzh-radio{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;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-radio__description-long-button.sc-stzh-radio:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-radio.sc-stzh-radio stzh-icon.stzh-radio__description-long-icon.sc-stzh-radio{--size:var(--stzh-icon-size-xsmall)}.stzh-radio--has-error.sc-stzh-radio .stzh-radio__error.sc-stzh-radio,.stzh-radio--has-description.sc-stzh-radio .stzh-radio__description.sc-stzh-radio{margin-top:var(--stzh-space-xxsmall)}.stzh-radio__field-wrapper.sc-stzh-radio{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);position:relative;display:-ms-flexbox;display:flex;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.stzh-radio__input.sc-stzh-radio{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;z-index:-1;opacity:0;pointer-events:none}.stzh-radio__mark.sc-stzh-radio{border:0.0625rem solid var(--stzh-color-grey61);background-color:var(--stzh-color-white);width:1.5rem;height:1.5rem;-ms-flex-negative:0;flex-shrink:0;border-radius:50%;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:border-color var(--stzh-base-transition-animation-speed);transition:border-color var(--stzh-base-transition-animation-speed)}.stzh-radio__mark.sc-stzh-radio::before{content:\"\"}.stzh-radio__check.sc-stzh-radio{background-color:currentColor;color:var(--stzh-color-primary, var(--stzh-color-zueriblue));width:0.5rem;height:0.5rem;border-radius:50%;opacity:0}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-radio__check.sc-stzh-radio{background-color:ButtonText}}.stzh-radio__label.sc-stzh-radio{display:inline-block;color:var(--stzh-base-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);margin-left:var(--stzh-space-small);line-height:1.5rem}.stzh-radio__label.sc-stzh-radio:empty{display:none}.stzh-radio__marker-symbol.sc-stzh-radio{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-radio.sc-stzh-radio:hover .stzh-radio__label.sc-stzh-radio,.stzh-radio__input.sc-stzh-radio:checked:hover~.stzh-radio__label.sc-stzh-radio,.stzh-radio__input.sc-stzh-radio:checked:hover~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio,.stzh-radio__input.sc-stzh-radio:checked:focus~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-radio__input.sc-stzh-radio:checked~.stzh-radio__label.sc-stzh-radio{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-radio.sc-stzh-radio:hover .stzh-radio__mark.sc-stzh-radio,.stzh-radio__input.sc-stzh-radio:focus:hover~.stzh-radio__mark.sc-stzh-radio,.stzh-radio__input.sc-stzh-radio:checked:hover~.stzh-radio__mark.sc-stzh-radio,.stzh-radio__input.sc-stzh-radio:checked:focus~.stzh-radio__mark.sc-stzh-radio{border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-radio__input.sc-stzh-radio:focus~.stzh-radio__mark.sc-stzh-radio,.stzh-radio__input.sc-stzh-radio:checked~.stzh-radio__mark.sc-stzh-radio{border-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-radio__input.sc-stzh-radio:checked~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{opacity:1}.stzh-radio--is-invalid.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__label.sc-stzh-radio,.stzh-radio--is-invalid.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{color:var(--stzh-color-error)}.stzh-radio--is-invalid.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio{border-color:var(--stzh-color-error)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__field-wrapper.sc-stzh-radio{cursor:not-allowed}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__label.sc-stzh-radio,.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio .stzh-radio__check.sc-stzh-radio{color:var(--stzh-color-grey61)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__input.sc-stzh-radio~.stzh-radio__mark.sc-stzh-radio{border-color:var(--stzh-color-grey5)}.stzh-radio--is-disabled.sc-stzh-radio .stzh-radio__mark.sc-stzh-radio{background-color:var(--stzh-color-grey5)}";
137
+
138
+ let radioCounter = 0;
139
+ const StzhRadio = class {
140
+ constructor(hostRef) {
141
+ registerInstance(this, hostRef);
142
+ this.stzhChange = createEvent(this, "stzhChange", 7);
143
+ this.stzhFocus = createEvent(this, "stzhFocus", 7);
144
+ this.stzhBlur = createEvent(this, "stzhBlur", 7);
145
+ this.onInput = (event) => {
146
+ this.checked = this.input.checked;
147
+ this.stzhChange.emit({
148
+ component: "stzh-radio",
149
+ originalEvent: event,
150
+ value: this.value,
151
+ checked: this.checked
152
+ });
153
+ };
154
+ this.onFocus = (event) => {
155
+ const focusEvent = new FocusEvent('focus', {
156
+ view: window,
157
+ bubbles: false,
158
+ cancelable: false
159
+ });
160
+ this.element.dispatchEvent(focusEvent);
161
+ this.stzhFocus.emit({
162
+ component: "stzh-radio",
163
+ originalEvent: event
164
+ });
165
+ };
166
+ this.onBlur = (event) => {
167
+ const blurEvent = new FocusEvent('blur', {
168
+ view: window,
169
+ bubbles: false,
170
+ cancelable: false
171
+ });
172
+ this.element.dispatchEvent(blurEvent);
173
+ this.stzhBlur.emit({
174
+ component: "stzh-radio",
175
+ originalEvent: event
176
+ });
177
+ };
178
+ this.localization = undefined;
179
+ this.disabled = false;
180
+ this.name = "";
181
+ this.value = "";
182
+ this.invalid = false;
183
+ this.required = false;
184
+ this.showMarker = false;
185
+ this.checked = false;
186
+ this.label = "";
187
+ this.description = undefined;
188
+ this.descriptionLong = undefined;
189
+ this.error = undefined;
190
+ this.a11yDescribedby = "";
191
+ }
192
+ /** Focus input field */
193
+ async setFocus() {
194
+ this.input.focus();
195
+ }
196
+ errorWatcher(newValue) {
197
+ if (typeof newValue === "string") {
198
+ try {
199
+ this._error = JSON.parse(newValue);
200
+ }
201
+ catch (e) {
202
+ if (newValue) {
203
+ this._error = [newValue];
204
+ }
205
+ else {
206
+ this._error = [];
207
+ }
208
+ }
209
+ }
210
+ else if (newValue) {
211
+ this._error = newValue;
212
+ }
213
+ else {
214
+ this._error = [];
215
+ }
216
+ this.invalid = this._error.length > 0;
217
+ }
218
+ async componentWillLoad() {
219
+ this.inputId = `stzh-radio-${radioCounter++}`;
220
+ this.errorWatcher(this.error);
221
+ if (!this.localization) {
222
+ this.localization = await fetchTranslations(this.element, 'radio');
223
+ }
224
+ }
225
+ render() {
226
+ const descriptionUsed = hasSlot(this.element, 'description') || !!this.description;
227
+ const descriptionLongUsed = hasSlot(this.element, 'description-long') || !!this.descriptionLong;
228
+ const errorUsed = hasSlot(this.element, 'error') || !!this.error;
229
+ const classes = {
230
+ "stzh-radio": true,
231
+ "stzh-radio--has-description": descriptionUsed,
232
+ "stzh-radio--has-description-long": descriptionLongUsed,
233
+ "stzh-radio--has-error": errorUsed,
234
+ "stzh-radio--is-required": this.required,
235
+ "stzh-radio--is-invalid": this.invalid,
236
+ "stzh-radio--is-disabled": this.disabled
237
+ };
238
+ return (h("div", { class: classes }, h("label", { class: "stzh-radio__field-wrapper" }, h("input", { class: "stzh-radio__input", ref: (el) => (this.input = el), type: "radio", id: this.inputId, name: this.name, value: this.value, disabled: this.disabled, "aria-describedby": `${this.inputId}-description ${this.a11yDescribedby}`, "aria-required": this.required ? "true" : "false", "aria-invalid": this.invalid ? "true" : "false", checked: this.checked, onInput: this.onInput, onFocus: this.onFocus, onBlur: this.onBlur }), h("div", { class: "stzh-radio__mark" }, h("div", { class: "stzh-radio__check" })), h("div", { class: "stzh-radio__label" }, this.label ? this.label : h("slot", null), this.showMarker &&
239
+ h("span", { class: "stzh-radio__marker" }, h("span", { class: "stzh-radio__marker-symbol", "aria-hidden": "true" }, this.required
240
+ ? this.localization.$globals.requiredFieldMarker
241
+ : this.localization.$globals.optionalFieldMarker), h("span", { class: "stzh-radio__marker-text" }, this.required
242
+ ? this.localization.$globals.requiredFieldText
243
+ : this.localization.$globals.optionalFieldText)))), h(StzhInputDescription, { classPrefix: "stzh-radio", id: `${this.inputId}-description`, error: this._error, description: this.description, descriptionLong: this.descriptionLong, descriptionLongUsed: descriptionLongUsed, moreInfoButtonLabel: this.localization.$globals.moreInfoButtonLabel })));
244
+ }
245
+ get element() { return getElement(this); }
246
+ static get watchers() { return {
247
+ "error": ["errorWatcher"]
248
+ }; }
249
+ };
250
+ StzhRadio.style = stzhRadioCss;
251
+
252
+ const stzhRadiogroupCss = ".sc-stzh-radiogroup-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-radiogroup-h{display:none}.sc-stzh-radiogroup-h *.sc-stzh-radiogroup,.sc-stzh-radiogroup-h *.sc-stzh-radiogroup::before,.sc-stzh-radiogroup-h *.sc-stzh-radiogroup::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-radiogroup-h[direction=vertical] .sc-stzh-radiogroup-s>stzh-radio:not(:last-child){margin-bottom:var(--stzh-space-medium)}.sc-stzh-radiogroup-h[direction=horizontal] .sc-stzh-radiogroup-s>stzh-radio:not(:last-child){margin-right:var(--stzh-space-large)}.stzh-radiogroup.sc-stzh-radiogroup{margin:0;padding:0;border:none}.stzh-radiogroup__marker-symbol.sc-stzh-radiogroup{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-radiogroup__marker-text.sc-stzh-radiogroup{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-radiogroup__description-wrapper.sc-stzh-radiogroup{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-radiogroup__error.sc-stzh-radiogroup,.stzh-radiogroup__description.sc-stzh-radiogroup{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-radiogroup__error.sc-stzh-radiogroup{color:var(--stzh-color-error)}.stzh-radiogroup__error-list.sc-stzh-radiogroup{list-style:none;margin:0;padding:0}.stzh-radiogroup__description.sc-stzh-radiogroup{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-radiogroup__description-long.sc-stzh-radiogroup{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-radiogroup__description-long-popover.sc-stzh-radiogroup{--width:auto;--max-width:27.3125rem}.stzh-radiogroup__description-long-popover[open].sc-stzh-radiogroup:not([open=false]) .stzh-radiogroup__description-long-button.sc-stzh-radiogroup{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-radiogroup__description-long-button.sc-stzh-radiogroup{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;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-radiogroup__description-long-button.sc-stzh-radiogroup:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-radiogroup.sc-stzh-radiogroup stzh-icon.stzh-radiogroup__description-long-icon.sc-stzh-radiogroup{--size:var(--stzh-icon-size-xsmall)}.stzh-radiogroup--has-error.sc-stzh-radiogroup .stzh-radiogroup__error.sc-stzh-radiogroup,.stzh-radiogroup--has-description.sc-stzh-radiogroup .stzh-radiogroup__description.sc-stzh-radiogroup{margin-top:var(--stzh-space-xxsmall)}.stzh-radiogroup__fields.sc-stzh-radiogroup{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-direction:column;flex-direction:column}.stzh-radiogroup__legend.sc-stzh-radiogroup{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);padding:0;margin-bottom:var(--stzh-space-xsmall)}.stzh-radiogroup--hide-legend.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{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-radiogroup--direction-horizontal.sc-stzh-radiogroup .stzh-radiogroup__fields.sc-stzh-radiogroup{-ms-flex-direction:row;flex-direction:row}";
253
+
254
+ const SELECTOR_RADIO = 'stzh-radio, stzh-button[type=radio], stzh-card';
255
+ let radiogroupCounter = 0;
256
+ const StzhRadiogroup = class {
257
+ constructor(hostRef) {
258
+ registerInstance(this, hostRef);
259
+ this._preventUpdateProperties = [];
260
+ this.init = () => {
261
+ // update radios
262
+ this.radios = Array.from(this.element.querySelectorAll(SELECTOR_RADIO));
263
+ this.updateRadiosProperty("show-marker", false);
264
+ this.updateRadiosProperty("a11y-describedby", `${this.radiogroupId}-description`);
265
+ this.watchValue(this.value);
266
+ this.watchName(this.name);
267
+ this.watchDisabled(this.disabled);
268
+ this.watchInvalid(this.invalid);
269
+ this.watchRequired(this.required);
270
+ };
271
+ this.localization = undefined;
272
+ this.disabled = false;
273
+ this.name = undefined;
274
+ this.legend = undefined;
275
+ this.hideLegend = false;
276
+ this.invalid = false;
277
+ this.required = false;
278
+ this.showMarker = false;
279
+ this.value = "";
280
+ this.direction = "vertical";
281
+ this.description = undefined;
282
+ this.descriptionLong = undefined;
283
+ this.error = undefined;
284
+ this.checkedRadio = null;
285
+ this.preventUpdateProperties = [];
286
+ }
287
+ watchName(newValue) {
288
+ this.updateRadiosProperty("name", newValue);
289
+ }
290
+ watchDisabled(newValue) {
291
+ this.updateRadiosProperty("disabled", newValue);
292
+ }
293
+ watchInvalid(newValue) {
294
+ this.updateRadiosProperty("invalid", newValue);
295
+ }
296
+ watchRequired(newValue) {
297
+ this.updateRadiosProperty("required", newValue);
298
+ }
299
+ watchValue(newValue) {
300
+ this.updateCheckedRadioByValue(newValue);
301
+ }
302
+ errorWatcher(newValue) {
303
+ if (typeof newValue === "string") {
304
+ try {
305
+ this._error = JSON.parse(newValue);
306
+ }
307
+ catch (e) {
308
+ if (newValue) {
309
+ this._error = [newValue];
310
+ }
311
+ else {
312
+ this._error = [];
313
+ }
314
+ }
315
+ }
316
+ else if (newValue) {
317
+ this._error = newValue;
318
+ }
319
+ else {
320
+ this._error = [];
321
+ }
322
+ this.invalid = this._error.length > 0;
323
+ }
324
+ preventUpdatePropertiesWatcher(newValue) {
325
+ if (typeof newValue === "string") {
326
+ this._preventUpdateProperties = JSON.parse(newValue);
327
+ }
328
+ else {
329
+ this._preventUpdateProperties = newValue;
330
+ }
331
+ }
332
+ onChange(event) {
333
+ this.value = event.detail.value;
334
+ }
335
+ updateRadiosProperty(prop, value) {
336
+ this.radios.forEach((radio) => {
337
+ if (prop === "name" || (this._preventUpdateProperties.indexOf(prop) === -1)) {
338
+ radio[camelCase(prop)] = value;
339
+ }
340
+ });
341
+ }
342
+ updateCheckedRadioByValue(value) {
343
+ this.checkedRadio = this.radios.find(radio => radio.value === value);
344
+ if (this.checkedRadio) {
345
+ this.checkedRadio.checked = true;
346
+ }
347
+ this.uncheckRadios();
348
+ }
349
+ uncheckRadios() {
350
+ // make sure that no other radios are checked than the current one or no one
351
+ this.radios.forEach((radio) => {
352
+ if (!this.checkedRadio || radio !== this.checkedRadio) {
353
+ radio.checked = false;
354
+ }
355
+ });
356
+ }
357
+ async componentWillLoad() {
358
+ this.radiogroupId = `stzh-radiogroup-${radiogroupCounter++}`;
359
+ this.errorWatcher(this.error);
360
+ this.preventUpdatePropertiesWatcher(this.preventUpdateProperties);
361
+ if (!this.localization) {
362
+ this.localization = await fetchTranslations(this.element, 'radiogroup');
363
+ }
364
+ }
365
+ componentShouldUpdate(_newValue, _oldValue, prop) {
366
+ return prop !== "checkedRadio";
367
+ }
368
+ componentDidRender() {
369
+ this.init();
370
+ }
371
+ connectedCallback() {
372
+ if (!this.value) {
373
+ this.radios = Array.from(this.element.querySelectorAll(SELECTOR_RADIO));
374
+ // try to find a checkbox that might has checked set to true
375
+ const checkedRadio = this.radios.find(radio => radio.checked);
376
+ if (checkedRadio) {
377
+ this.value = checkedRadio.value;
378
+ }
379
+ }
380
+ this.observer = new MutationObserver(this.init);
381
+ this.observer.observe(this.element, {
382
+ childList: true,
383
+ subtree: true,
384
+ });
385
+ }
386
+ disconnectedCallback() {
387
+ this.observer.disconnect();
388
+ }
389
+ render() {
390
+ const descriptionUsed = hasSlot(this.element, 'description') || !!this.description;
391
+ const descriptionLongUsed = hasSlot(this.element, 'description-long') || !!this.descriptionLong;
392
+ const errorUsed = hasSlot(this.element, 'error') || !!this.error;
393
+ const classes = {
394
+ "stzh-radiogroup": true,
395
+ "stzh-radiogroup--has-description": descriptionUsed,
396
+ "stzh-radiogroup--has-description-long": descriptionLongUsed,
397
+ "stzh-radiogroup--has-error": errorUsed,
398
+ "stzh-radiogroup--is-required": this.required,
399
+ "stzh-radiogroup--is-disabled": this.disabled,
400
+ "stzh-radiogroup--is-invalid": this.invalid,
401
+ "stzh-radiogroup--hide-legend": this.hideLegend,
402
+ [`stzh-radiogroup--direction-${this.direction}`]: !!this.direction
403
+ };
404
+ return (h("fieldset", { class: classes }, this.legend &&
405
+ h("legend", { class: "stzh-radiogroup__legend" }, this.legend, this.showMarker &&
406
+ h("span", { class: "stzh-radiogroup__marker" }, h("span", { class: "stzh-radiogroup__marker-symbol", "aria-hidden": "true" }, this.required
407
+ ? this.localization.$globals.requiredFieldMarker
408
+ : this.localization.$globals.optionalFieldMarker), h("span", { class: "stzh-radiogroup__marker-text" }, this.required
409
+ ? this.localization.$globals.requiredFieldText
410
+ : this.localization.$globals.optionalFieldText))), h("div", { class: "stzh-radiogroup__fields" }, h("slot", null)), h(StzhInputDescription, { classPrefix: "stzh-radiogroup", id: `${this.radiogroupId}-description`, error: this._error, description: this.description, descriptionLong: this.descriptionLong, descriptionLongUsed: descriptionLongUsed, moreInfoButtonLabel: this.localization.$globals.moreInfoButtonLabel })));
411
+ }
412
+ get element() { return getElement(this); }
413
+ static get watchers() { return {
414
+ "name": ["watchName"],
415
+ "disabled": ["watchDisabled"],
416
+ "invalid": ["watchInvalid"],
417
+ "required": ["watchRequired"],
418
+ "value": ["watchValue"],
419
+ "error": ["errorWatcher"],
420
+ "preventUpdateProperties": ["preventUpdatePropertiesWatcher"]
421
+ }; }
422
+ };
423
+ StzhRadiogroup.style = stzhRadiogroupCss;
424
+
425
+ export { StzhDatepicker as stzh_datepicker, StzhRadio as stzh_radio, StzhRadiogroup as stzh_radiogroup };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-84f71a43.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-2915b467.js';
2
2
  import { s as setPropsIfNull } from './utils-68a28fce.js';
3
3
  import { f as fetchTranslations } from './translation-utils-2623783f.js';
4
4
  import { c as createFocusTrap } from './focus-trap.esm-074705a3.js';
@@ -16,24 +16,6 @@ const StzhDialog = class {
16
16
  registerInstance(this, hostRef);
17
17
  this.stzhOpen = createEvent(this, "stzhOpen", 7);
18
18
  this.stzhClose = createEvent(this, "stzhClose", 7);
19
- /** Close dialog when pressing ESC */
20
- this.closeOnEscapeKey = false;
21
- /** Close dialog when clicking outside of it */
22
- this.closeOnBackdropClick = false;
23
- /** Open status */
24
- this.open = false;
25
- /** Stay in original position (true) or move to body (false) */
26
- this.stay = true;
27
- /** Size */
28
- this.size = "default";
29
- /** Whether to hide close button */
30
- this.hideClose = false;
31
- /** Heading text */
32
- this.heading = "";
33
- /** Accessibility role */
34
- this.a11yRole = "alertdialog";
35
- /** Accessible label for dialog (use if no heading is used) */
36
- this.a11yLabel = "";
37
19
  this.handleDialogClick = (event) => {
38
20
  const target = event.target;
39
21
  if (target.dataset.stzhDialogClose) {
@@ -58,6 +40,16 @@ const StzhDialog = class {
58
40
  });
59
41
  }
60
42
  };
43
+ this.localization = undefined;
44
+ this.closeOnEscapeKey = false;
45
+ this.closeOnBackdropClick = false;
46
+ this.open = false;
47
+ this.stay = true;
48
+ this.size = "default";
49
+ this.hideClose = false;
50
+ this.heading = "";
51
+ this.a11yRole = "alertdialog";
52
+ this.a11yLabel = "";
61
53
  }
62
54
  handleOutsideClick(event) {
63
55
  if (!this.open || !this.closeOnBackdropClick) {
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-84f71a43.js';
1
+ import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-2915b467.js';
2
2
  import { h as hasSlot } from './utils-68a28fce.js';
3
3
  import { f as fetchTranslations } from './translation-utils-2623783f.js';
4
- import { S as StzhInputDescription } from './stzh-input-description-8c477f97.js';
4
+ import { S as StzhInputDescription } from './stzh-input-description-e87e6697.js';
5
5
  import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-ba3f0406.js';
6
6
 
7
7
  var tomSelect_base = createCommonjsModule(function (module, exports) {
@@ -4658,69 +4658,43 @@ const StzhDropdown = class {
4658
4658
  this.stzhFocus = createEvent(this, "stzhFocus", 7);
4659
4659
  this.stzhBlur = createEvent(this, "stzhBlur", 7);
4660
4660
  this.stzhInit = createEvent(this, "stzhInit", 7);
4661
- /**
4662
- * An array of property names to analyze when filtering options.
4663
- * Weights can be given to each field to improve search result:
4664
- * `[{"field":"text","weight":2},{"field":"text2","weight":0.5}]`
4665
- */
4661
+ this.options = undefined;
4662
+ this.optgroups = undefined;
4663
+ this.items = undefined;
4666
4664
  this.searchField = ["text"];
4667
- /** Whether multiple items option can be selected */
4668
4665
  this.multiple = false;
4669
- /** Show inline (auto width) */
4670
4666
  this.inline = false;
4671
- /** The max number of options to display in the dropdown. Set to `null` for an unlimited number of options. */
4672
4667
  this.maxOptions = 50;
4673
- /** When searching for multiple terms (separated by space), this is the operator used. Can be 'and' or 'or' */
4674
4668
  this.searchConjunction = "and";
4675
- /** If true, any options with a "" value will be treated like a normal option. This defaults to false to accommodate the common <select> practice of having the first empty option to act as a placeholder. */
4676
4669
  this.allowEmptyOption = false;
4677
- /** Show the dropdown immediately when the control receives focus. */
4678
4670
  this.openOnFocus = true;
4679
- /** After a selection is made, the dropdown will remain open if in a multi-selection control or will close in a single-selection control. Setting closeAfterSelect to true will force the dropdown to close after selections are made. Setting closeAfterSelect to false will keep the dropdown open after selections are made. */
4680
4671
  this.closeAfterSelect = null;
4681
- /** Invoked when new options should be loaded from the server. Called with the current query string and a callback function to call with the results when they are loaded (or nothing when an error arises). */
4682
4672
  this.load = null;
4683
- /** Minimum of characters required to execute the `load` function */
4684
4673
  this.minCharacters = 3;
4685
- /** The number of milliseconds to wait before requesting options from the server or null. If null, throttling is disabled. Useful when loading options dynamically while the user types a search / filter expression. */
4686
4674
  this.loadThrottle = 300;
4687
- /** If true, the load function will be called upon control initialization (with an empty search). Alternatively it can be set to 'focus' to call the load function when control receives focus. */
4688
4675
  this.preload = false;
4689
- /** The name of the property to render as an option / item label (not needed when custom rendering functions are defined). */
4690
4676
  this.labelField = "text";
4691
- /** The name of the property to use as the value when an item is selected. */
4692
4677
  this.valueField = "value";
4693
- /** The name of the property to group items by. */
4694
4678
  this.optgroupField = "optgroup";
4695
- /** The name of the property to render as an option group label (not needed when custom rendering functions are defined). */
4696
4679
  this.optgroupLabelField = "label";
4697
- /** The name of the option group property that serves as its unique identifier. */
4698
4680
  this.optgroupValueField = "value";
4699
- /** Name of hidden select element */
4681
+ this.lockOptgroupOrder = undefined;
4700
4682
  this.name = "";
4701
- /** Variant */
4702
4683
  this.variant = "default";
4703
- /** Size variant */
4704
4684
  this.size = "default";
4705
- /** Whether the dropdown is disabled */
4706
4685
  this.disabled = false;
4707
- /** Popover placement */
4708
4686
  this.popoverPlacement = "bottom";
4709
- /** Label */
4710
4687
  this.label = "";
4711
- /** Icon (use instead of icon slot) */
4712
4688
  this.icon = "";
4713
- /** Prevent option search */
4714
4689
  this.noSearch = false;
4715
- /** Prevent backspace delete */
4716
4690
  this.noBackspaceDelete = false;
4717
- /** Invalid status */
4718
4691
  this.invalid = false;
4719
- /** Required status */
4720
4692
  this.required = false;
4721
- /** Show text in label depending if field is optional/required */
4722
4693
  this.showMarker = false;
4723
- /** Id for element which describes the input (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */
4694
+ this.description = undefined;
4695
+ this.descriptionLong = undefined;
4696
+ this.error = undefined;
4697
+ this.localization = undefined;
4724
4698
  this.a11yDescribedby = "";
4725
4699
  }
4726
4700
  optionsWatcher(newValue) {
@@ -4821,7 +4795,7 @@ const StzhDropdown = class {
4821
4795
  this.searchFieldWatcher(this.searchField);
4822
4796
  this.errorWatcher(this.error);
4823
4797
  if (!this.localization) {
4824
- this.localization = await fetchTranslations(this.element, 'dropdown');
4798
+ this.localization = await fetchTranslations(this.element, "dropdown");
4825
4799
  }
4826
4800
  }
4827
4801
  async componentWillUpdate() {
@@ -5053,6 +5027,12 @@ const StzhDropdown = class {
5053
5027
  tomSelectOptions.items = this._items;
5054
5028
  }
5055
5029
  this.tomSelect = new tomSelect_base(this.select, tomSelectOptions);
5030
+ if (!this.openOnFocus) {
5031
+ // we still want to enable opening the dropdown by click
5032
+ this.tomSelect.control.addEventListener("click", () => {
5033
+ this.tomSelect.open();
5034
+ });
5035
+ }
5056
5036
  }
5057
5037
  disconnectedCallback() {
5058
5038
  if (this.tomSelect) {