@oiz/stzh-components 2.7.0 → 2.8.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 (773) hide show
  1. package/dist/cjs/{app-globals-c9c5ef57.js → app-globals-dff738b3.js} +2 -2
  2. package/dist/cjs/{app-globals-c9c5ef57.js.map → app-globals-dff738b3.js.map} +1 -1
  3. package/dist/cjs/index.cjs.js.map +1 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/{string-utils-a867b99d.js → string-utils-2575ea7f.js} +14 -1
  6. package/dist/cjs/string-utils-2575ea7f.js.map +1 -0
  7. package/dist/cjs/stzh-actions.cjs.entry.js +1 -1
  8. package/dist/cjs/{stzh-sortable.cjs.entry.js → stzh-actionset_4.cjs.entry.js} +567 -3
  9. package/dist/cjs/stzh-actionset_4.cjs.entry.js.map +1 -0
  10. package/dist/cjs/stzh-amount.cjs.entry.js +4 -3
  11. package/dist/cjs/stzh-amount.cjs.entry.js.map +1 -1
  12. package/dist/cjs/stzh-appnav.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
  14. package/dist/cjs/stzh-badge_3.cjs.entry.js +7 -7
  15. package/dist/cjs/stzh-badge_3.cjs.entry.js.map +1 -1
  16. package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
  17. package/dist/cjs/stzh-buttongroup.cjs.entry.js.map +1 -1
  18. package/dist/cjs/stzh-carousel.cjs.entry.js +1 -1
  19. package/dist/cjs/stzh-cell.cjs.entry.js +1 -1
  20. package/dist/cjs/stzh-cell.cjs.entry.js.map +1 -1
  21. package/dist/cjs/stzh-checkbox.cjs.entry.js +1 -1
  22. package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -2
  23. package/dist/cjs/stzh-chip-select.cjs.entry.js +149 -0
  24. package/dist/cjs/stzh-chip-select.cjs.entry.js.map +1 -0
  25. package/dist/cjs/stzh-chip_2.cjs.entry.js +2 -2
  26. package/dist/cjs/stzh-chip_2.cjs.entry.js.map +1 -1
  27. package/dist/cjs/stzh-components.cjs.js +2 -2
  28. package/dist/cjs/stzh-contact.cjs.entry.js +1 -1
  29. package/dist/cjs/stzh-container.cjs.entry.js +1 -1
  30. package/dist/cjs/stzh-container.cjs.entry.js.map +1 -1
  31. package/dist/cjs/stzh-cspace.cjs.entry.js +3 -1
  32. package/dist/cjs/stzh-cspace.cjs.entry.js.map +1 -1
  33. package/dist/cjs/stzh-datalist_2.cjs.entry.js +11 -8
  34. package/dist/cjs/stzh-datalist_2.cjs.entry.js.map +1 -1
  35. package/dist/cjs/stzh-datatable.cjs.entry.js +32 -8
  36. package/dist/cjs/stzh-datatable.cjs.entry.js.map +1 -1
  37. package/dist/cjs/stzh-datepicker_3.cjs.entry.js +6 -5
  38. package/dist/cjs/stzh-datepicker_3.cjs.entry.js.map +1 -1
  39. package/dist/cjs/stzh-details.cjs.entry.js +1 -1
  40. package/dist/cjs/stzh-dialog.cjs.entry.js +2 -2
  41. package/dist/cjs/stzh-dialog.cjs.entry.js.map +1 -1
  42. package/dist/cjs/stzh-dropdown.cjs.entry.js +4 -2
  43. package/dist/cjs/stzh-dropdown.cjs.entry.js.map +1 -1
  44. package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
  45. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  46. package/dist/cjs/stzh-ghettobox.cjs.entry.js +108 -0
  47. package/dist/cjs/stzh-ghettobox.cjs.entry.js.map +1 -0
  48. package/dist/cjs/stzh-header.cjs.entry.js +1 -1
  49. package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
  50. package/dist/cjs/stzh-hspace.cjs.entry.js.map +1 -1
  51. package/dist/cjs/stzh-input.cjs.entry.js +4 -2
  52. package/dist/cjs/stzh-input.cjs.entry.js.map +1 -1
  53. package/dist/cjs/stzh-link.cjs.entry.js +5 -5
  54. package/dist/cjs/stzh-link.cjs.entry.js.map +1 -1
  55. package/dist/cjs/stzh-menu_2.cjs.entry.js +3 -3
  56. package/dist/cjs/stzh-menu_2.cjs.entry.js.map +1 -1
  57. package/dist/cjs/stzh-overlay.cjs.entry.js +1 -1
  58. package/dist/cjs/stzh-overlay.cjs.entry.js.map +1 -1
  59. package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
  60. package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
  61. package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
  62. package/dist/cjs/stzh-pagination.cjs.entry.js +86 -0
  63. package/dist/cjs/stzh-pagination.cjs.entry.js.map +1 -0
  64. package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
  65. package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
  66. package/dist/cjs/stzh-richtext_2.cjs.entry.js +86 -0
  67. package/dist/cjs/stzh-richtext_2.cjs.entry.js.map +1 -0
  68. package/dist/cjs/stzh-row.cjs.entry.js +1 -1
  69. package/dist/cjs/stzh-row.cjs.entry.js.map +1 -1
  70. package/dist/cjs/stzh-section.cjs.entry.js +1 -1
  71. package/dist/cjs/stzh-section.cjs.entry.js.map +1 -1
  72. package/dist/cjs/stzh-share.cjs.entry.js +7 -21
  73. package/dist/cjs/stzh-share.cjs.entry.js.map +1 -1
  74. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
  75. package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js.map +1 -1
  76. package/dist/cjs/stzh-space.cjs.entry.js +1 -1
  77. package/dist/cjs/stzh-space.cjs.entry.js.map +1 -1
  78. package/dist/cjs/stzh-table.cjs.entry.js +6 -4
  79. package/dist/cjs/stzh-table.cjs.entry.js.map +1 -1
  80. package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
  81. package/dist/cjs/stzh-toggle.cjs.entry.js +1 -1
  82. package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
  83. package/dist/cjs/stzh-upload.cjs.entry.js +1 -1
  84. package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
  85. package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
  86. package/dist/cjs/stzh-vspace.cjs.entry.js.map +1 -1
  87. package/dist/cjs/{utils-a2ff9f84.js → utils-916583be.js} +7 -1
  88. package/dist/cjs/utils-916583be.js.map +1 -0
  89. package/dist/collection/assets/i18n/de.json +8 -1
  90. package/dist/collection/assets/i18n/en.json +8 -1
  91. package/dist/collection/collection-manifest.json +1 -0
  92. package/dist/collection/components/stzh-amount/stzh-amount.css +1 -1
  93. package/dist/collection/components/stzh-amount/stzh-amount.js +21 -2
  94. package/dist/collection/components/stzh-amount/stzh-amount.js.map +1 -1
  95. package/dist/collection/components/stzh-button/stzh-button.js +6 -6
  96. package/dist/collection/components/stzh-button/stzh-button.js.map +1 -1
  97. package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.css +11 -6
  98. package/dist/collection/components/stzh-card/stzh-card.css +30 -28
  99. package/dist/collection/components/stzh-card/stzh-card.js +30 -7
  100. package/dist/collection/components/stzh-card/stzh-card.js.map +1 -1
  101. package/dist/collection/components/stzh-cell/stzh-cell.css +0 -5
  102. package/dist/collection/components/stzh-chip/stzh-chip.js +2 -2
  103. package/dist/collection/components/stzh-chip/stzh-chip.js.map +1 -1
  104. package/dist/collection/components/stzh-container/stzh-container.css +0 -8
  105. package/dist/collection/components/stzh-cspace/stzh-cspace.css +103 -133
  106. package/dist/collection/components/stzh-cspace/stzh-cspace.js +46 -2
  107. package/dist/collection/components/stzh-cspace/stzh-cspace.js.map +1 -1
  108. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +5 -0
  109. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js +12 -8
  110. package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js.map +1 -1
  111. package/dist/collection/components/stzh-datatable/stzh-datatable.css +21 -0
  112. package/dist/collection/components/stzh-datatable/stzh-datatable.js +85 -7
  113. package/dist/collection/components/stzh-datatable/stzh-datatable.js.map +1 -1
  114. package/dist/collection/components/stzh-datatable/stzh-datatable.stories.js +41 -14
  115. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +22 -3
  116. package/dist/collection/components/stzh-datepicker/stzh-datepicker.js.map +1 -1
  117. package/dist/collection/components/stzh-dialog/stzh-dialog.js +1 -1
  118. package/dist/collection/components/stzh-dialog/stzh-dialog.js.map +1 -1
  119. package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +12 -0
  120. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +20 -0
  121. package/dist/collection/components/stzh-dropdown/stzh-dropdown.js.map +1 -1
  122. package/dist/collection/components/stzh-hspace/stzh-hspace.css +0 -6
  123. package/dist/collection/components/stzh-input/stzh-input.css +16 -1
  124. package/dist/collection/components/stzh-input/stzh-input.js +20 -0
  125. package/dist/collection/components/stzh-input/stzh-input.js.map +1 -1
  126. package/dist/collection/components/stzh-link/stzh-link.js +4 -4
  127. package/dist/collection/components/stzh-link/stzh-link.js.map +1 -1
  128. package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +2 -2
  129. package/dist/collection/components/stzh-menu-item/stzh-menu-item.js.map +1 -1
  130. package/dist/collection/components/stzh-menu-item/stzh-menu-item.stories.js +2 -2
  131. package/dist/collection/components/stzh-overlay/stzh-overlay.js +1 -1
  132. package/dist/collection/components/stzh-overlay/stzh-overlay.js.map +1 -1
  133. package/dist/collection/components/stzh-pagination/stzh-pagination.css +127 -0
  134. package/dist/collection/components/stzh-pagination/stzh-pagination.js +437 -0
  135. package/dist/collection/components/stzh-pagination/stzh-pagination.js.map +1 -0
  136. package/dist/collection/components/stzh-pagination/stzh-pagination.localization.js +2 -0
  137. package/dist/collection/components/stzh-pagination/stzh-pagination.localization.js.map +1 -0
  138. package/dist/collection/components/stzh-pagination/stzh-pagination.stories.js +44 -0
  139. package/dist/collection/components/stzh-richtext/stzh-richtext.css +4 -2
  140. package/dist/collection/components/stzh-richtext/stzh-richtext.js +38 -0
  141. package/dist/collection/components/stzh-richtext/stzh-richtext.js.map +1 -1
  142. package/dist/collection/components/stzh-richtext/stzh-richtext.stories.js +2 -2
  143. package/dist/collection/components/stzh-row/stzh-row.css +0 -5
  144. package/dist/collection/components/stzh-section/stzh-section.css +0 -6
  145. package/dist/collection/components/stzh-share/stzh-share.js +6 -20
  146. package/dist/collection/components/stzh-share/stzh-share.js.map +1 -1
  147. package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.css +53 -0
  148. package/dist/collection/components/stzh-sortable/stzh-sortable.js +1 -1
  149. package/dist/collection/components/stzh-sortable/stzh-sortable.js.map +1 -1
  150. package/dist/collection/components/stzh-space/stzh-space.css +0 -6
  151. package/dist/collection/components/stzh-table/stzh-table.css +21 -0
  152. package/dist/collection/components/stzh-table/stzh-table.js +7 -3
  153. package/dist/collection/components/stzh-table/stzh-table.js.map +1 -1
  154. package/dist/collection/components/stzh-table/stzh-table.stories.js +259 -4
  155. package/dist/collection/components/stzh-textandimage/stzh-textandimage.stories.js +1 -1
  156. package/dist/collection/components/stzh-vspace/stzh-vspace.css +0 -6
  157. package/dist/collection/index.js.map +1 -1
  158. package/dist/collection/utils/string-utils.js +12 -0
  159. package/dist/collection/utils/string-utils.js.map +1 -1
  160. package/dist/collection/utils/utils.js +5 -0
  161. package/dist/collection/utils/utils.js.map +1 -1
  162. package/dist/components/index.js +1 -1
  163. package/dist/components/index2.js.map +1 -1
  164. package/dist/components/string-utils.js +13 -1
  165. package/dist/components/string-utils.js.map +1 -1
  166. package/dist/components/stzh-amount.js +5 -3
  167. package/dist/components/stzh-amount.js.map +1 -1
  168. package/dist/components/stzh-button2.js +6 -6
  169. package/dist/components/stzh-button2.js.map +1 -1
  170. package/dist/components/stzh-buttongroup2.js +1 -1
  171. package/dist/components/stzh-buttongroup2.js.map +1 -1
  172. package/dist/components/stzh-card2.js +31 -8
  173. package/dist/components/stzh-card2.js.map +1 -1
  174. package/dist/components/stzh-cell.js +1 -1
  175. package/dist/components/stzh-cell.js.map +1 -1
  176. package/dist/components/stzh-chip2.js +2 -2
  177. package/dist/components/stzh-chip2.js.map +1 -1
  178. package/dist/components/stzh-contact.js +18 -12
  179. package/dist/components/stzh-contact.js.map +1 -1
  180. package/dist/components/stzh-container.js +1 -1
  181. package/dist/components/stzh-container.js.map +1 -1
  182. package/dist/components/stzh-cspace.js +8 -2
  183. package/dist/components/stzh-cspace.js.map +1 -1
  184. package/dist/components/stzh-datalist-item2.js +23 -14
  185. package/dist/components/stzh-datalist-item2.js.map +1 -1
  186. package/dist/components/stzh-datalist2.js +14 -8
  187. package/dist/components/stzh-datalist2.js.map +1 -1
  188. package/dist/components/stzh-datatable.js +129 -18
  189. package/dist/components/stzh-datatable.js.map +1 -1
  190. package/dist/components/stzh-datepicker2.js +5 -3
  191. package/dist/components/stzh-datepicker2.js.map +1 -1
  192. package/dist/components/stzh-dialog.js +1 -1
  193. package/dist/components/stzh-dialog.js.map +1 -1
  194. package/dist/components/stzh-dropdown2.js +4 -1
  195. package/dist/components/stzh-dropdown2.js.map +1 -1
  196. package/dist/components/stzh-hspace.js +1 -1
  197. package/dist/components/stzh-hspace.js.map +1 -1
  198. package/dist/components/stzh-input2.js +4 -1
  199. package/dist/components/stzh-input2.js.map +1 -1
  200. package/dist/components/stzh-link2.js +4 -4
  201. package/dist/components/stzh-link2.js.map +1 -1
  202. package/dist/components/stzh-menu-item2.js +2 -2
  203. package/dist/components/stzh-menu-item2.js.map +1 -1
  204. package/dist/components/stzh-overlay.js +1 -1
  205. package/dist/components/stzh-overlay.js.map +1 -1
  206. package/dist/components/stzh-pagination.d.ts +11 -0
  207. package/dist/components/stzh-pagination.js +8 -0
  208. package/dist/components/stzh-pagination.js.map +1 -0
  209. package/dist/components/stzh-pagination2.js +151 -0
  210. package/dist/components/stzh-pagination2.js.map +1 -0
  211. package/dist/components/stzh-richtext2.js +5 -1
  212. package/dist/components/stzh-richtext2.js.map +1 -1
  213. package/dist/components/stzh-row.js +1 -1
  214. package/dist/components/stzh-row.js.map +1 -1
  215. package/dist/components/stzh-section.js +1 -1
  216. package/dist/components/stzh-section.js.map +1 -1
  217. package/dist/components/stzh-share2.js +6 -20
  218. package/dist/components/stzh-share2.js.map +1 -1
  219. package/dist/components/stzh-sitemap.js +16 -10
  220. package/dist/components/stzh-sitemap.js.map +1 -1
  221. package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
  222. package/dist/components/stzh-skin-portal-mitwirken.js.map +1 -1
  223. package/dist/components/stzh-sortable2.js +1 -1
  224. package/dist/components/stzh-sortable2.js.map +1 -1
  225. package/dist/components/stzh-space.js +1 -1
  226. package/dist/components/stzh-space.js.map +1 -1
  227. package/dist/components/stzh-table.js +6 -4
  228. package/dist/components/stzh-table.js.map +1 -1
  229. package/dist/components/stzh-vbz-majorticker.js +1 -1
  230. package/dist/components/stzh-vspace.js +1 -1
  231. package/dist/components/stzh-vspace.js.map +1 -1
  232. package/dist/components/utils.js +6 -1
  233. package/dist/components/utils.js.map +1 -1
  234. package/dist/esm/{app-globals-5ab947af.js → app-globals-07e538f3.js} +2 -2
  235. package/dist/esm/{app-globals-5ab947af.js.map → app-globals-07e538f3.js.map} +1 -1
  236. package/dist/esm/index.js.map +1 -1
  237. package/dist/esm/loader.js +2 -2
  238. package/dist/esm/string-utils-3ffa8d6b.js +29 -0
  239. package/dist/esm/string-utils-3ffa8d6b.js.map +1 -0
  240. package/dist/esm/stzh-actions.entry.js +1 -1
  241. package/dist/esm/{stzh-sortable.entry.js → stzh-actionset_4.entry.js} +566 -5
  242. package/dist/esm/stzh-actionset_4.entry.js.map +1 -0
  243. package/dist/esm/stzh-amount.entry.js +4 -3
  244. package/dist/esm/stzh-amount.entry.js.map +1 -1
  245. package/dist/esm/stzh-appnav.entry.js +1 -1
  246. package/dist/esm/stzh-audio.entry.js +1 -1
  247. package/dist/esm/stzh-badge_3.entry.js +7 -7
  248. package/dist/esm/stzh-badge_3.entry.js.map +1 -1
  249. package/dist/esm/stzh-buttongroup.entry.js +1 -1
  250. package/dist/esm/stzh-buttongroup.entry.js.map +1 -1
  251. package/dist/esm/stzh-carousel.entry.js +1 -1
  252. package/dist/esm/stzh-cell.entry.js +1 -1
  253. package/dist/esm/stzh-cell.entry.js.map +1 -1
  254. package/dist/esm/stzh-checkbox.entry.js +1 -1
  255. package/dist/esm/stzh-checkboxgroup.entry.js +2 -2
  256. package/dist/esm/stzh-chip-select.entry.js +145 -0
  257. package/dist/esm/stzh-chip-select.entry.js.map +1 -0
  258. package/dist/esm/stzh-chip_2.entry.js +2 -2
  259. package/dist/esm/stzh-chip_2.entry.js.map +1 -1
  260. package/dist/esm/stzh-components.js +2 -2
  261. package/dist/esm/stzh-contact.entry.js +1 -1
  262. package/dist/esm/stzh-container.entry.js +1 -1
  263. package/dist/esm/stzh-container.entry.js.map +1 -1
  264. package/dist/esm/stzh-cspace.entry.js +3 -1
  265. package/dist/esm/stzh-cspace.entry.js.map +1 -1
  266. package/dist/esm/stzh-datalist_2.entry.js +11 -8
  267. package/dist/esm/stzh-datalist_2.entry.js.map +1 -1
  268. package/dist/esm/stzh-datatable.entry.js +32 -8
  269. package/dist/esm/stzh-datatable.entry.js.map +1 -1
  270. package/dist/esm/stzh-datepicker_3.entry.js +6 -5
  271. package/dist/esm/stzh-datepicker_3.entry.js.map +1 -1
  272. package/dist/esm/stzh-details.entry.js +1 -1
  273. package/dist/esm/stzh-dialog.entry.js +2 -2
  274. package/dist/esm/stzh-dialog.entry.js.map +1 -1
  275. package/dist/esm/stzh-dropdown.entry.js +4 -2
  276. package/dist/esm/stzh-dropdown.entry.js.map +1 -1
  277. package/dist/esm/stzh-figure.entry.js +1 -1
  278. package/dist/esm/stzh-footer.entry.js +1 -1
  279. package/dist/esm/stzh-ghettobox.entry.js +104 -0
  280. package/dist/esm/stzh-ghettobox.entry.js.map +1 -0
  281. package/dist/esm/stzh-header.entry.js +1 -1
  282. package/dist/esm/stzh-hspace.entry.js +1 -1
  283. package/dist/esm/stzh-hspace.entry.js.map +1 -1
  284. package/dist/esm/stzh-input.entry.js +4 -2
  285. package/dist/esm/stzh-input.entry.js.map +1 -1
  286. package/dist/esm/stzh-link.entry.js +5 -5
  287. package/dist/esm/stzh-link.entry.js.map +1 -1
  288. package/dist/esm/stzh-menu_2.entry.js +3 -3
  289. package/dist/esm/stzh-menu_2.entry.js.map +1 -1
  290. package/dist/esm/stzh-overlay.entry.js +1 -1
  291. package/dist/esm/stzh-overlay.entry.js.map +1 -1
  292. package/dist/esm/stzh-pagebottom.entry.js +1 -1
  293. package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
  294. package/dist/esm/stzh-pagetitle.entry.js +1 -1
  295. package/dist/esm/stzh-pagination.entry.js +82 -0
  296. package/dist/esm/stzh-pagination.entry.js.map +1 -0
  297. package/dist/esm/stzh-popover.entry.js +1 -1
  298. package/dist/esm/stzh-readspeaker.entry.js +1 -1
  299. package/dist/esm/stzh-richtext_2.entry.js +81 -0
  300. package/dist/esm/stzh-richtext_2.entry.js.map +1 -0
  301. package/dist/esm/stzh-row.entry.js +1 -1
  302. package/dist/esm/stzh-row.entry.js.map +1 -1
  303. package/dist/esm/stzh-section.entry.js +1 -1
  304. package/dist/esm/stzh-section.entry.js.map +1 -1
  305. package/dist/esm/stzh-share.entry.js +6 -20
  306. package/dist/esm/stzh-share.entry.js.map +1 -1
  307. package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
  308. package/dist/esm/stzh-skin-portal-mitwirken.entry.js.map +1 -1
  309. package/dist/esm/stzh-space.entry.js +1 -1
  310. package/dist/esm/stzh-space.entry.js.map +1 -1
  311. package/dist/esm/stzh-table.entry.js +6 -4
  312. package/dist/esm/stzh-table.entry.js.map +1 -1
  313. package/dist/esm/stzh-textandimage.entry.js +1 -1
  314. package/dist/esm/stzh-toggle.entry.js +1 -1
  315. package/dist/esm/stzh-tooltip.entry.js +1 -1
  316. package/dist/esm/stzh-upload.entry.js +1 -1
  317. package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
  318. package/dist/esm/stzh-vspace.entry.js +1 -1
  319. package/dist/esm/stzh-vspace.entry.js.map +1 -1
  320. package/dist/esm/{utils-51148d9a.js → utils-8f264f12.js} +7 -2
  321. package/dist/esm/utils-8f264f12.js.map +1 -0
  322. package/dist/esm-es5/{app-globals-5ab947af.js → app-globals-07e538f3.js} +2 -2
  323. package/dist/esm-es5/{app-globals-5ab947af.js.map → app-globals-07e538f3.js.map} +1 -1
  324. package/dist/esm-es5/index.js.map +1 -1
  325. package/dist/esm-es5/loader.js +1 -1
  326. package/dist/esm-es5/loader.js.map +1 -1
  327. package/dist/esm-es5/string-utils-3ffa8d6b.js +2 -0
  328. package/dist/esm-es5/string-utils-3ffa8d6b.js.map +1 -0
  329. package/dist/esm-es5/stzh-actions.entry.js +1 -1
  330. package/dist/esm-es5/stzh-actionset_4.entry.js +8 -0
  331. package/dist/esm-es5/stzh-actionset_4.entry.js.map +1 -0
  332. package/dist/esm-es5/stzh-amount.entry.js +1 -1
  333. package/dist/esm-es5/stzh-amount.entry.js.map +1 -1
  334. package/dist/esm-es5/stzh-appnav.entry.js +1 -1
  335. package/dist/esm-es5/stzh-audio.entry.js +1 -1
  336. package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
  337. package/dist/esm-es5/stzh-badge_3.entry.js.map +1 -1
  338. package/dist/esm-es5/stzh-buttongroup.entry.js +1 -1
  339. package/dist/esm-es5/stzh-buttongroup.entry.js.map +1 -1
  340. package/dist/esm-es5/stzh-carousel.entry.js +1 -1
  341. package/dist/esm-es5/stzh-cell.entry.js +1 -1
  342. package/dist/esm-es5/stzh-cell.entry.js.map +1 -1
  343. package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
  344. package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
  345. package/dist/esm-es5/stzh-chip-select.entry.js +2 -0
  346. package/dist/esm-es5/stzh-chip-select.entry.js.map +1 -0
  347. package/dist/esm-es5/stzh-chip_2.entry.js +1 -1
  348. package/dist/esm-es5/stzh-chip_2.entry.js.map +1 -1
  349. package/dist/esm-es5/stzh-components.js +1 -1
  350. package/dist/esm-es5/stzh-components.js.map +1 -1
  351. package/dist/esm-es5/stzh-contact.entry.js +1 -1
  352. package/dist/esm-es5/stzh-container.entry.js +1 -1
  353. package/dist/esm-es5/stzh-container.entry.js.map +1 -1
  354. package/dist/esm-es5/stzh-cspace.entry.js +1 -1
  355. package/dist/esm-es5/stzh-cspace.entry.js.map +1 -1
  356. package/dist/esm-es5/stzh-datalist_2.entry.js +1 -1
  357. package/dist/esm-es5/stzh-datalist_2.entry.js.map +1 -1
  358. package/dist/esm-es5/stzh-datatable.entry.js +1 -1
  359. package/dist/esm-es5/stzh-datatable.entry.js.map +1 -1
  360. package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
  361. package/dist/esm-es5/stzh-datepicker_3.entry.js.map +1 -1
  362. package/dist/esm-es5/stzh-details.entry.js +1 -1
  363. package/dist/esm-es5/stzh-dialog.entry.js +1 -1
  364. package/dist/esm-es5/stzh-dialog.entry.js.map +1 -1
  365. package/dist/esm-es5/stzh-dropdown.entry.js +2 -2
  366. package/dist/esm-es5/stzh-dropdown.entry.js.map +1 -1
  367. package/dist/esm-es5/stzh-figure.entry.js +1 -1
  368. package/dist/esm-es5/stzh-footer.entry.js +1 -1
  369. package/dist/esm-es5/stzh-ghettobox.entry.js +2 -0
  370. package/dist/esm-es5/stzh-ghettobox.entry.js.map +1 -0
  371. package/dist/esm-es5/stzh-header.entry.js +1 -1
  372. package/dist/esm-es5/stzh-hspace.entry.js +1 -1
  373. package/dist/esm-es5/stzh-hspace.entry.js.map +1 -1
  374. package/dist/esm-es5/stzh-input.entry.js +1 -1
  375. package/dist/esm-es5/stzh-input.entry.js.map +1 -1
  376. package/dist/esm-es5/stzh-link.entry.js +1 -1
  377. package/dist/esm-es5/stzh-link.entry.js.map +1 -1
  378. package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
  379. package/dist/esm-es5/stzh-menu_2.entry.js.map +1 -1
  380. package/dist/esm-es5/stzh-overlay.entry.js +1 -1
  381. package/dist/esm-es5/stzh-overlay.entry.js.map +1 -1
  382. package/dist/esm-es5/stzh-pagebottom.entry.js +1 -1
  383. package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -1
  384. package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
  385. package/dist/esm-es5/stzh-pagination.entry.js +2 -0
  386. package/dist/esm-es5/stzh-pagination.entry.js.map +1 -0
  387. package/dist/esm-es5/stzh-popover.entry.js +1 -1
  388. package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
  389. package/dist/esm-es5/stzh-richtext_2.entry.js +2 -0
  390. package/dist/esm-es5/stzh-richtext_2.entry.js.map +1 -0
  391. package/dist/esm-es5/stzh-row.entry.js +1 -1
  392. package/dist/esm-es5/stzh-row.entry.js.map +1 -1
  393. package/dist/esm-es5/stzh-section.entry.js +1 -1
  394. package/dist/esm-es5/stzh-section.entry.js.map +1 -1
  395. package/dist/esm-es5/stzh-share.entry.js +1 -1
  396. package/dist/esm-es5/stzh-share.entry.js.map +1 -1
  397. package/dist/esm-es5/stzh-skin-portal-mitwirken.entry.js +1 -1
  398. package/dist/esm-es5/stzh-skin-portal-mitwirken.entry.js.map +1 -1
  399. package/dist/esm-es5/stzh-space.entry.js +1 -1
  400. package/dist/esm-es5/stzh-space.entry.js.map +1 -1
  401. package/dist/esm-es5/stzh-table.entry.js +1 -1
  402. package/dist/esm-es5/stzh-table.entry.js.map +1 -1
  403. package/dist/esm-es5/stzh-textandimage.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-majorticker.entry.js +1 -1
  408. package/dist/esm-es5/stzh-vspace.entry.js +1 -1
  409. package/dist/esm-es5/stzh-vspace.entry.js.map +1 -1
  410. package/dist/esm-es5/utils-8f264f12.js +2 -0
  411. package/dist/esm-es5/utils-8f264f12.js.map +1 -0
  412. package/dist/stzh-components/assets/i18n/de.json +8 -1
  413. package/dist/stzh-components/assets/i18n/en.json +8 -1
  414. package/dist/stzh-components/index.esm.js.map +1 -1
  415. package/dist/stzh-components/{p-f23f2408.system.entry.js → p-09445156.system.entry.js} +2 -2
  416. package/dist/stzh-components/p-0b5fbb86.system.entry.js +2 -0
  417. package/dist/stzh-components/p-0b5fbb86.system.entry.js.map +1 -0
  418. package/dist/stzh-components/{p-94a5e295.system.entry.js → p-0d302a14.system.entry.js} +2 -2
  419. package/dist/stzh-components/p-1016d03d.system.entry.js +2 -0
  420. package/dist/stzh-components/p-1016d03d.system.entry.js.map +1 -0
  421. package/dist/stzh-components/p-1760118e.entry.js +2 -0
  422. package/dist/stzh-components/{p-a1c02179.entry.js.map → p-1760118e.entry.js.map} +1 -1
  423. package/dist/stzh-components/p-1ad68cac.system.entry.js +2 -0
  424. package/dist/stzh-components/p-1ad68cac.system.entry.js.map +1 -0
  425. package/dist/stzh-components/{p-c901fe72.system.entry.js → p-1d683f3a.system.entry.js} +3 -3
  426. package/dist/stzh-components/p-1d683f3a.system.entry.js.map +1 -0
  427. package/dist/stzh-components/p-1e5f556b.system.entry.js +2 -0
  428. package/dist/stzh-components/p-1e5f556b.system.entry.js.map +1 -0
  429. package/dist/stzh-components/p-1fad78a6.entry.js +2 -0
  430. package/dist/stzh-components/{p-5ee43b56.entry.js.map → p-1fad78a6.entry.js.map} +1 -1
  431. package/dist/stzh-components/p-22a2f4c1.system.js +2 -0
  432. package/dist/stzh-components/p-22a2f4c1.system.js.map +1 -0
  433. package/dist/stzh-components/{p-39a4904e.system.entry.js → p-2614251e.system.entry.js} +2 -2
  434. package/dist/stzh-components/{p-8b62ec27.js → p-26ec7788.js} +2 -2
  435. package/dist/stzh-components/{p-8b62ec27.js.map → p-26ec7788.js.map} +1 -1
  436. package/dist/stzh-components/p-2705720b.entry.js +2 -0
  437. package/dist/stzh-components/p-2705720b.entry.js.map +1 -0
  438. package/dist/stzh-components/{p-799548c4.system.entry.js → p-27489e46.system.entry.js} +2 -2
  439. package/dist/stzh-components/{p-9f4f3882.system.entry.js → p-2d777867.system.entry.js} +2 -2
  440. package/dist/stzh-components/{p-9f4f3882.system.entry.js.map → p-2d777867.system.entry.js.map} +1 -1
  441. package/dist/stzh-components/{p-29ed53a9.system.entry.js → p-2dd983a9.system.entry.js} +2 -2
  442. package/dist/stzh-components/{p-cc1a6af1.system.entry.js → p-2ec243e8.system.entry.js} +2 -2
  443. package/dist/stzh-components/{p-cd0f7b10.entry.js → p-33da1a1c.entry.js} +2 -2
  444. package/dist/stzh-components/p-35a328cc.system.entry.js +2 -0
  445. package/dist/stzh-components/p-35a328cc.system.entry.js.map +1 -0
  446. package/dist/stzh-components/p-3f72c05a.system.js +2 -0
  447. package/dist/stzh-components/p-3f72c05a.system.js.map +1 -0
  448. package/dist/stzh-components/p-40694e20.system.entry.js +2 -0
  449. package/dist/stzh-components/p-40694e20.system.entry.js.map +1 -0
  450. package/dist/stzh-components/{p-6608126b.entry.js → p-4325de93.entry.js} +2 -2
  451. package/dist/stzh-components/{p-bc997ce2.entry.js → p-432d3ec4.entry.js} +2 -2
  452. package/dist/stzh-components/{p-bc997ce2.entry.js.map → p-432d3ec4.entry.js.map} +1 -1
  453. package/dist/stzh-components/{p-517af258.system.entry.js → p-444f765a.system.entry.js} +2 -2
  454. package/dist/stzh-components/p-4bcc414d.system.entry.js +2 -0
  455. package/dist/stzh-components/p-4bcc414d.system.entry.js.map +1 -0
  456. package/dist/stzh-components/{p-9d46101e.entry.js → p-4c4a05b3.entry.js} +2 -2
  457. package/dist/stzh-components/{p-9d46101e.entry.js.map → p-4c4a05b3.entry.js.map} +1 -1
  458. package/dist/stzh-components/{p-7b297848.system.entry.js → p-50652c05.system.entry.js} +2 -2
  459. package/dist/stzh-components/{p-a8c92707.system.entry.js → p-509b0e4c.system.entry.js} +2 -2
  460. package/dist/stzh-components/p-51ccda11.system.entry.js +2 -0
  461. package/dist/stzh-components/p-51ccda11.system.entry.js.map +1 -0
  462. package/dist/stzh-components/{p-a2b49ad8.entry.js → p-52bcb3ab.entry.js} +2 -2
  463. package/dist/stzh-components/{p-4cd7c872.system.entry.js → p-5af33d37.system.entry.js} +2 -2
  464. package/dist/stzh-components/{p-8cb7e2da.system.entry.js → p-5bceda21.system.entry.js} +2 -2
  465. package/dist/stzh-components/{p-c0f971f2.entry.js → p-5df47c3a.entry.js} +8 -8
  466. package/dist/stzh-components/p-5df47c3a.entry.js.map +1 -0
  467. package/dist/stzh-components/{p-edef74c8.system.entry.js → p-62ca262c.system.entry.js} +2 -2
  468. package/dist/stzh-components/{p-edef74c8.system.entry.js.map → p-62ca262c.system.entry.js.map} +1 -1
  469. package/dist/stzh-components/{p-c2a06b4d.system.entry.js → p-62e0ad8d.system.entry.js} +2 -2
  470. package/dist/stzh-components/{p-c2a06b4d.system.entry.js.map → p-62e0ad8d.system.entry.js.map} +1 -1
  471. package/dist/stzh-components/p-67f50e81.system.entry.js +2 -0
  472. package/dist/stzh-components/p-67f50e81.system.entry.js.map +1 -0
  473. package/dist/stzh-components/p-68b00da7.system.entry.js +2 -0
  474. package/dist/stzh-components/p-68b00da7.system.entry.js.map +1 -0
  475. package/dist/stzh-components/{p-eca073df.system.entry.js → p-6ac4713f.system.entry.js} +2 -2
  476. package/dist/stzh-components/{p-b8ad5f47.system.entry.js → p-709bb264.system.entry.js} +2 -2
  477. package/dist/stzh-components/{p-3e5da137.entry.js → p-7463c7b5.entry.js} +2 -2
  478. package/dist/stzh-components/p-75fa2483.entry.js +2 -0
  479. package/dist/stzh-components/p-75fa2483.entry.js.map +1 -0
  480. package/dist/stzh-components/{p-562f4dfa.entry.js → p-78f78684.entry.js} +2 -2
  481. package/dist/stzh-components/p-7992047b.entry.js +2 -0
  482. package/dist/stzh-components/p-7992047b.entry.js.map +1 -0
  483. package/dist/stzh-components/p-7ac51980.system.entry.js +2 -0
  484. package/dist/stzh-components/p-7ac51980.system.entry.js.map +1 -0
  485. package/dist/stzh-components/p-7e5587ee.entry.js +2 -0
  486. package/dist/stzh-components/p-7e5587ee.entry.js.map +1 -0
  487. package/dist/stzh-components/p-8225341e.entry.js +2 -0
  488. package/dist/stzh-components/p-8225341e.entry.js.map +1 -0
  489. package/dist/stzh-components/{p-3dea2f45.entry.js → p-849ec693.entry.js} +2 -2
  490. package/dist/stzh-components/{p-f5c99792.system.entry.js → p-8547ae9e.system.entry.js} +2 -2
  491. package/dist/stzh-components/{p-f5c99792.system.entry.js.map → p-8547ae9e.system.entry.js.map} +1 -1
  492. package/dist/stzh-components/{p-2615433f.system.entry.js → p-88440469.system.entry.js} +2 -2
  493. package/dist/stzh-components/{p-2615433f.system.entry.js.map → p-88440469.system.entry.js.map} +1 -1
  494. package/dist/stzh-components/{p-3aa5623c.entry.js → p-89562c7e.entry.js} +2 -2
  495. package/dist/stzh-components/{p-0f71e85f.entry.js → p-8a44987c.entry.js} +2 -2
  496. package/dist/stzh-components/{p-0f71e85f.entry.js.map → p-8a44987c.entry.js.map} +1 -1
  497. package/dist/stzh-components/p-8a58fa64.entry.js +2 -0
  498. package/dist/stzh-components/p-8a58fa64.entry.js.map +1 -0
  499. package/dist/stzh-components/p-8eaac610.entry.js +2 -0
  500. package/dist/stzh-components/p-8eaac610.entry.js.map +1 -0
  501. package/dist/stzh-components/{p-3184a123.system.entry.js → p-8f6c5346.system.entry.js} +2 -2
  502. package/dist/stzh-components/{p-3184a123.system.entry.js.map → p-8f6c5346.system.entry.js.map} +1 -1
  503. package/dist/stzh-components/{p-45572515.entry.js → p-916f8386.entry.js} +2 -2
  504. package/dist/stzh-components/p-9705d27e.system.entry.js +2 -0
  505. package/dist/stzh-components/{p-9fe69be8.system.entry.js.map → p-9705d27e.system.entry.js.map} +1 -1
  506. package/dist/stzh-components/{p-2d25bcc8.entry.js → p-979390db.entry.js} +2 -2
  507. package/dist/stzh-components/{p-ffdd9cab.system.js → p-9b4e4b9d.system.js} +2 -2
  508. package/dist/stzh-components/{p-ffdd9cab.system.js.map → p-9b4e4b9d.system.js.map} +1 -1
  509. package/dist/stzh-components/p-9c428351.entry.js +2 -0
  510. package/dist/stzh-components/p-9c428351.entry.js.map +1 -0
  511. package/dist/stzh-components/{p-70d7389a.entry.js → p-9f2332f6.entry.js} +2 -2
  512. package/dist/stzh-components/{p-70d7389a.entry.js.map → p-9f2332f6.entry.js.map} +1 -1
  513. package/dist/stzh-components/p-9faae333.entry.js +2 -0
  514. package/dist/stzh-components/p-9faae333.entry.js.map +1 -0
  515. package/dist/stzh-components/{p-e2ff2ef4.entry.js → p-a0008fa2.entry.js} +2 -2
  516. package/dist/stzh-components/{p-05b9e4c2.system.entry.js → p-a26cd855.system.entry.js} +2 -2
  517. package/dist/stzh-components/{p-b792ea2e.system.entry.js → p-a2d5846c.system.entry.js} +2 -2
  518. package/dist/stzh-components/{p-6c219530.entry.js → p-a8e1b13c.entry.js} +2 -2
  519. package/dist/stzh-components/{p-4a299f84.entry.js → p-acbe3680.entry.js} +2 -2
  520. package/dist/stzh-components/p-afdf3a08.system.entry.js +2 -0
  521. package/dist/stzh-components/p-afdf3a08.system.entry.js.map +1 -0
  522. package/dist/stzh-components/{p-35cbff3f.entry.js → p-affbfe00.entry.js} +2 -2
  523. package/dist/stzh-components/p-b33a79ba.system.entry.js +2 -0
  524. package/dist/stzh-components/p-b33a79ba.system.entry.js.map +1 -0
  525. package/dist/stzh-components/{p-7772c262.entry.js → p-b5531053.entry.js} +2 -2
  526. package/dist/stzh-components/{p-bf069354.entry.js → p-b61c752e.entry.js} +2 -2
  527. package/dist/stzh-components/{p-bf069354.entry.js.map → p-b61c752e.entry.js.map} +1 -1
  528. package/dist/stzh-components/p-b989646a.entry.js +2 -0
  529. package/dist/stzh-components/p-b989646a.entry.js.map +1 -0
  530. package/dist/stzh-components/p-bd7f6761.entry.js +2 -0
  531. package/dist/stzh-components/p-bd7f6761.entry.js.map +1 -0
  532. package/dist/stzh-components/p-bda21265.system.entry.js +8 -0
  533. package/dist/stzh-components/p-bda21265.system.entry.js.map +1 -0
  534. package/dist/stzh-components/{p-f599025e.system.entry.js → p-c0aa52aa.system.entry.js} +2 -2
  535. package/dist/stzh-components/p-c2615e7c.system.entry.js +2 -0
  536. package/dist/{esm-es5/stzh-ghettobox_2.entry.js.map → stzh-components/p-c2615e7c.system.entry.js.map} +1 -1
  537. package/dist/stzh-components/{p-d5b4d345.entry.js → p-c323f19e.entry.js} +2 -2
  538. package/dist/stzh-components/p-c323f19e.entry.js.map +1 -0
  539. package/dist/stzh-components/p-c64a7018.system.entry.js +2 -0
  540. package/dist/stzh-components/p-c64a7018.system.entry.js.map +1 -0
  541. package/dist/stzh-components/p-ca6d7215.entry.js +2 -0
  542. package/dist/stzh-components/p-ca6d7215.entry.js.map +1 -0
  543. package/dist/stzh-components/p-d6ffd97e.entry.js +2 -0
  544. package/dist/stzh-components/p-d6ffd97e.entry.js.map +1 -0
  545. package/dist/stzh-components/{p-fefcd0e6.entry.js → p-d7a7560a.entry.js} +2 -2
  546. package/dist/stzh-components/{p-87b4549c.system.entry.js → p-dad99bd2.system.entry.js} +2 -2
  547. package/dist/stzh-components/p-daf17eae.entry.js +2 -0
  548. package/dist/stzh-components/p-daf17eae.entry.js.map +1 -0
  549. package/dist/stzh-components/p-dd137812.entry.js +8 -0
  550. package/dist/stzh-components/p-dd137812.entry.js.map +1 -0
  551. package/dist/stzh-components/{p-b05c240b.system.entry.js → p-e16ee236.system.entry.js} +2 -2
  552. package/dist/stzh-components/p-e5781c90.system.entry.js +2 -0
  553. package/dist/stzh-components/p-e5781c90.system.entry.js.map +1 -0
  554. package/dist/stzh-components/p-e606314e.system.entry.js +2 -0
  555. package/dist/stzh-components/p-e606314e.system.entry.js.map +1 -0
  556. package/dist/stzh-components/{p-bcd5b20e.entry.js → p-e7454abb.entry.js} +2 -2
  557. package/dist/stzh-components/p-e787179c.js +2 -0
  558. package/dist/stzh-components/p-e787179c.js.map +1 -0
  559. package/dist/stzh-components/p-e7d4542e.entry.js +2 -0
  560. package/dist/stzh-components/p-e7d4542e.entry.js.map +1 -0
  561. package/dist/stzh-components/p-eaa65f52.system.js.map +1 -1
  562. package/dist/stzh-components/p-eab77a09.system.entry.js +2 -0
  563. package/dist/stzh-components/p-eab77a09.system.entry.js.map +1 -0
  564. package/dist/stzh-components/{p-6d097e82.system.entry.js → p-ebe979a3.system.entry.js} +2 -2
  565. package/dist/stzh-components/{p-9b7d4e8d.entry.js → p-ef4c12ac.entry.js} +2 -2
  566. package/dist/stzh-components/p-f02d484d.system.js +2 -0
  567. package/dist/stzh-components/{p-b7d68fca.system.js.map → p-f02d484d.system.js.map} +1 -1
  568. package/dist/stzh-components/{p-3cb43903.entry.js → p-f0ac9730.entry.js} +2 -2
  569. package/dist/stzh-components/p-f43f7434.entry.js +2 -0
  570. package/dist/stzh-components/p-f43f7434.entry.js.map +1 -0
  571. package/dist/stzh-components/p-f4ec861e.entry.js +2 -0
  572. package/dist/stzh-components/{p-14e782cb.entry.js.map → p-f4ec861e.entry.js.map} +1 -1
  573. package/dist/stzh-components/{p-8d695d3e.system.entry.js → p-f65b5145.system.entry.js} +2 -2
  574. package/dist/stzh-components/{p-b82351f0.system.entry.js → p-f665752d.system.entry.js} +2 -2
  575. package/dist/stzh-components/p-f879bc5a.system.entry.js +2 -0
  576. package/dist/stzh-components/p-f879bc5a.system.entry.js.map +1 -0
  577. package/dist/stzh-components/{p-c3b260a1.entry.js → p-fb12ec57.entry.js} +2 -2
  578. package/dist/stzh-components/p-fb36e3be.entry.js +2 -0
  579. package/dist/stzh-components/{p-df9460ae.system.entry.js.map → p-fb36e3be.entry.js.map} +1 -1
  580. package/dist/stzh-components/p-fc339100.js +2 -0
  581. package/dist/stzh-components/p-fc339100.js.map +1 -0
  582. package/dist/stzh-components/{p-52e52b49.entry.js → p-fd97e87d.entry.js} +2 -2
  583. package/dist/stzh-components/p-fdabe05c.entry.js +2 -0
  584. package/dist/stzh-components/p-fdabe05c.entry.js.map +1 -0
  585. package/dist/stzh-components/p-fdb1fd0a.entry.js +2 -0
  586. package/dist/stzh-components/p-fdb1fd0a.entry.js.map +1 -0
  587. package/dist/stzh-components/{p-80d581ac.system.entry.js → p-fece12c0.system.entry.js} +2 -2
  588. package/dist/stzh-components/p-fece12c0.system.entry.js.map +1 -0
  589. package/dist/stzh-components/stzh-components.css +740 -1
  590. package/dist/stzh-components/stzh-components.esm.js +1 -1
  591. package/dist/stzh-components/stzh-components.esm.js.map +1 -1
  592. package/dist/stzh-components/stzh-components.js +1 -1
  593. package/dist/types/components/stzh-cspace/stzh-cspace.d.ts +4 -0
  594. package/dist/types/components/stzh-pagination/stzh-pagination.localization.d.ts +8 -0
  595. package/dist/types/components.d.ts +251 -4
  596. package/dist/types/index.d.ts +6 -0
  597. package/dist/types/utils/string-utils.d.ts +1 -0
  598. package/dist/types/utils/utils.d.ts +1 -0
  599. package/dist/vscode-data.json +125 -3
  600. package/package.json +1 -1
  601. package/dist/cjs/string-utils-a867b99d.js.map +0 -1
  602. package/dist/cjs/stzh-actionset.cjs.entry.js +0 -173
  603. package/dist/cjs/stzh-actionset.cjs.entry.js.map +0 -1
  604. package/dist/cjs/stzh-card_3.cjs.entry.js +0 -528
  605. package/dist/cjs/stzh-card_3.cjs.entry.js.map +0 -1
  606. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +0 -157
  607. package/dist/cjs/stzh-ghettobox_2.cjs.entry.js.map +0 -1
  608. package/dist/cjs/stzh-sortable.cjs.entry.js.map +0 -1
  609. package/dist/cjs/stzh-status.cjs.entry.js +0 -34
  610. package/dist/cjs/stzh-status.cjs.entry.js.map +0 -1
  611. package/dist/cjs/utils-a2ff9f84.js.map +0 -1
  612. package/dist/esm/string-utils-f98ee4e8.js +0 -17
  613. package/dist/esm/string-utils-f98ee4e8.js.map +0 -1
  614. package/dist/esm/stzh-actionset.entry.js +0 -169
  615. package/dist/esm/stzh-actionset.entry.js.map +0 -1
  616. package/dist/esm/stzh-card_3.entry.js +0 -522
  617. package/dist/esm/stzh-card_3.entry.js.map +0 -1
  618. package/dist/esm/stzh-ghettobox_2.entry.js +0 -152
  619. package/dist/esm/stzh-ghettobox_2.entry.js.map +0 -1
  620. package/dist/esm/stzh-sortable.entry.js.map +0 -1
  621. package/dist/esm/stzh-status.entry.js +0 -30
  622. package/dist/esm/stzh-status.entry.js.map +0 -1
  623. package/dist/esm/utils-51148d9a.js.map +0 -1
  624. package/dist/esm-es5/string-utils-f98ee4e8.js +0 -2
  625. package/dist/esm-es5/string-utils-f98ee4e8.js.map +0 -1
  626. package/dist/esm-es5/stzh-actionset.entry.js +0 -2
  627. package/dist/esm-es5/stzh-actionset.entry.js.map +0 -1
  628. package/dist/esm-es5/stzh-card_3.entry.js +0 -2
  629. package/dist/esm-es5/stzh-card_3.entry.js.map +0 -1
  630. package/dist/esm-es5/stzh-ghettobox_2.entry.js +0 -2
  631. package/dist/esm-es5/stzh-sortable.entry.js +0 -8
  632. package/dist/esm-es5/stzh-sortable.entry.js.map +0 -1
  633. package/dist/esm-es5/stzh-status.entry.js +0 -2
  634. package/dist/esm-es5/stzh-status.entry.js.map +0 -1
  635. package/dist/esm-es5/utils-51148d9a.js +0 -2
  636. package/dist/esm-es5/utils-51148d9a.js.map +0 -1
  637. package/dist/stzh-components/p-0515de95.system.entry.js +0 -2
  638. package/dist/stzh-components/p-0515de95.system.entry.js.map +0 -1
  639. package/dist/stzh-components/p-07c0f4ce.entry.js +0 -2
  640. package/dist/stzh-components/p-07c0f4ce.entry.js.map +0 -1
  641. package/dist/stzh-components/p-09191103.system.entry.js +0 -2
  642. package/dist/stzh-components/p-09191103.system.entry.js.map +0 -1
  643. package/dist/stzh-components/p-0e6889d6.system.entry.js +0 -8
  644. package/dist/stzh-components/p-0e6889d6.system.entry.js.map +0 -1
  645. package/dist/stzh-components/p-14e782cb.entry.js +0 -2
  646. package/dist/stzh-components/p-172ba9ba.entry.js +0 -8
  647. package/dist/stzh-components/p-172ba9ba.entry.js.map +0 -1
  648. package/dist/stzh-components/p-2907f1b5.entry.js +0 -2
  649. package/dist/stzh-components/p-2907f1b5.entry.js.map +0 -1
  650. package/dist/stzh-components/p-2f3add2f.system.entry.js +0 -2
  651. package/dist/stzh-components/p-2f3add2f.system.entry.js.map +0 -1
  652. package/dist/stzh-components/p-3290296f.entry.js +0 -2
  653. package/dist/stzh-components/p-3290296f.entry.js.map +0 -1
  654. package/dist/stzh-components/p-343694cb.system.entry.js +0 -2
  655. package/dist/stzh-components/p-343694cb.system.entry.js.map +0 -1
  656. package/dist/stzh-components/p-36b1004d.entry.js +0 -2
  657. package/dist/stzh-components/p-36b1004d.entry.js.map +0 -1
  658. package/dist/stzh-components/p-3d056a49.entry.js +0 -2
  659. package/dist/stzh-components/p-3d056a49.entry.js.map +0 -1
  660. package/dist/stzh-components/p-402ea6f4.entry.js +0 -2
  661. package/dist/stzh-components/p-402ea6f4.entry.js.map +0 -1
  662. package/dist/stzh-components/p-4468e033.system.entry.js +0 -2
  663. package/dist/stzh-components/p-4468e033.system.entry.js.map +0 -1
  664. package/dist/stzh-components/p-53b84310.system.entry.js +0 -2
  665. package/dist/stzh-components/p-53b84310.system.entry.js.map +0 -1
  666. package/dist/stzh-components/p-55061908.entry.js +0 -2
  667. package/dist/stzh-components/p-55061908.entry.js.map +0 -1
  668. package/dist/stzh-components/p-57ba4050.system.entry.js +0 -2
  669. package/dist/stzh-components/p-57ba4050.system.entry.js.map +0 -1
  670. package/dist/stzh-components/p-5aa96b49.system.entry.js +0 -2
  671. package/dist/stzh-components/p-5aa96b49.system.entry.js.map +0 -1
  672. package/dist/stzh-components/p-5c697491.js +0 -2
  673. package/dist/stzh-components/p-5c697491.js.map +0 -1
  674. package/dist/stzh-components/p-5d8ad1f4.system.entry.js +0 -2
  675. package/dist/stzh-components/p-5d8ad1f4.system.entry.js.map +0 -1
  676. package/dist/stzh-components/p-5ee43b56.entry.js +0 -2
  677. package/dist/stzh-components/p-62188444.entry.js +0 -2
  678. package/dist/stzh-components/p-62188444.entry.js.map +0 -1
  679. package/dist/stzh-components/p-693c611c.entry.js +0 -2
  680. package/dist/stzh-components/p-693c611c.entry.js.map +0 -1
  681. package/dist/stzh-components/p-72c69a2e.entry.js +0 -2
  682. package/dist/stzh-components/p-72c69a2e.entry.js.map +0 -1
  683. package/dist/stzh-components/p-78071d97.entry.js +0 -2
  684. package/dist/stzh-components/p-78071d97.entry.js.map +0 -1
  685. package/dist/stzh-components/p-7dc517db.entry.js +0 -2
  686. package/dist/stzh-components/p-7dc517db.entry.js.map +0 -1
  687. package/dist/stzh-components/p-80d581ac.system.entry.js.map +0 -1
  688. package/dist/stzh-components/p-82e886d4.entry.js +0 -2
  689. package/dist/stzh-components/p-82e886d4.entry.js.map +0 -1
  690. package/dist/stzh-components/p-9fe69be8.system.entry.js +0 -2
  691. package/dist/stzh-components/p-a003aa96.system.entry.js +0 -2
  692. package/dist/stzh-components/p-a003aa96.system.entry.js.map +0 -1
  693. package/dist/stzh-components/p-a1c02179.entry.js +0 -2
  694. package/dist/stzh-components/p-a2bdc528.system.entry.js +0 -2
  695. package/dist/stzh-components/p-a2bdc528.system.entry.js.map +0 -1
  696. package/dist/stzh-components/p-a2c076b8.system.entry.js +0 -2
  697. package/dist/stzh-components/p-a2c076b8.system.entry.js.map +0 -1
  698. package/dist/stzh-components/p-a8ccb843.entry.js +0 -2
  699. package/dist/stzh-components/p-a8ccb843.entry.js.map +0 -1
  700. package/dist/stzh-components/p-ab199fd7.system.entry.js +0 -2
  701. package/dist/stzh-components/p-ab199fd7.system.entry.js.map +0 -1
  702. package/dist/stzh-components/p-b295cbcc.system.entry.js +0 -2
  703. package/dist/stzh-components/p-b295cbcc.system.entry.js.map +0 -1
  704. package/dist/stzh-components/p-b5cda655.entry.js +0 -2
  705. package/dist/stzh-components/p-b5cda655.entry.js.map +0 -1
  706. package/dist/stzh-components/p-b7d68fca.system.js +0 -2
  707. package/dist/stzh-components/p-b910e1b7.entry.js +0 -2
  708. package/dist/stzh-components/p-b910e1b7.entry.js.map +0 -1
  709. package/dist/stzh-components/p-c0f971f2.entry.js.map +0 -1
  710. package/dist/stzh-components/p-c901fe72.system.entry.js.map +0 -1
  711. package/dist/stzh-components/p-cb04774b.entry.js +0 -2
  712. package/dist/stzh-components/p-cb04774b.entry.js.map +0 -1
  713. package/dist/stzh-components/p-cc35e963.entry.js +0 -2
  714. package/dist/stzh-components/p-cc35e963.entry.js.map +0 -1
  715. package/dist/stzh-components/p-d3f7e7e2.system.entry.js +0 -2
  716. package/dist/stzh-components/p-d3f7e7e2.system.entry.js.map +0 -1
  717. package/dist/stzh-components/p-d4b7a303.system.js +0 -2
  718. package/dist/stzh-components/p-d4b7a303.system.js.map +0 -1
  719. package/dist/stzh-components/p-d5b4d345.entry.js.map +0 -1
  720. package/dist/stzh-components/p-df9460ae.system.entry.js +0 -2
  721. package/dist/stzh-components/p-e40d6e96.entry.js +0 -2
  722. package/dist/stzh-components/p-e40d6e96.entry.js.map +0 -1
  723. package/dist/stzh-components/p-ebcc510d.system.entry.js +0 -2
  724. package/dist/stzh-components/p-ebcc510d.system.entry.js.map +0 -1
  725. package/dist/stzh-components/p-ee7a68db.js +0 -2
  726. package/dist/stzh-components/p-ee7a68db.js.map +0 -1
  727. package/dist/stzh-components/p-f2d74491.system.entry.js +0 -2
  728. package/dist/stzh-components/p-f2d74491.system.entry.js.map +0 -1
  729. package/dist/stzh-components/p-f58c28ad.system.js +0 -2
  730. package/dist/stzh-components/p-f58c28ad.system.js.map +0 -1
  731. package/dist/stzh-components/p-fda1c56c.system.entry.js +0 -2
  732. package/dist/stzh-components/p-fda1c56c.system.entry.js.map +0 -1
  733. /package/dist/stzh-components/{p-f23f2408.system.entry.js.map → p-09445156.system.entry.js.map} +0 -0
  734. /package/dist/stzh-components/{p-94a5e295.system.entry.js.map → p-0d302a14.system.entry.js.map} +0 -0
  735. /package/dist/stzh-components/{p-39a4904e.system.entry.js.map → p-2614251e.system.entry.js.map} +0 -0
  736. /package/dist/stzh-components/{p-799548c4.system.entry.js.map → p-27489e46.system.entry.js.map} +0 -0
  737. /package/dist/stzh-components/{p-29ed53a9.system.entry.js.map → p-2dd983a9.system.entry.js.map} +0 -0
  738. /package/dist/stzh-components/{p-cc1a6af1.system.entry.js.map → p-2ec243e8.system.entry.js.map} +0 -0
  739. /package/dist/stzh-components/{p-cd0f7b10.entry.js.map → p-33da1a1c.entry.js.map} +0 -0
  740. /package/dist/stzh-components/{p-6608126b.entry.js.map → p-4325de93.entry.js.map} +0 -0
  741. /package/dist/stzh-components/{p-517af258.system.entry.js.map → p-444f765a.system.entry.js.map} +0 -0
  742. /package/dist/stzh-components/{p-7b297848.system.entry.js.map → p-50652c05.system.entry.js.map} +0 -0
  743. /package/dist/stzh-components/{p-a8c92707.system.entry.js.map → p-509b0e4c.system.entry.js.map} +0 -0
  744. /package/dist/stzh-components/{p-a2b49ad8.entry.js.map → p-52bcb3ab.entry.js.map} +0 -0
  745. /package/dist/stzh-components/{p-4cd7c872.system.entry.js.map → p-5af33d37.system.entry.js.map} +0 -0
  746. /package/dist/stzh-components/{p-8cb7e2da.system.entry.js.map → p-5bceda21.system.entry.js.map} +0 -0
  747. /package/dist/stzh-components/{p-eca073df.system.entry.js.map → p-6ac4713f.system.entry.js.map} +0 -0
  748. /package/dist/stzh-components/{p-b8ad5f47.system.entry.js.map → p-709bb264.system.entry.js.map} +0 -0
  749. /package/dist/stzh-components/{p-3e5da137.entry.js.map → p-7463c7b5.entry.js.map} +0 -0
  750. /package/dist/stzh-components/{p-562f4dfa.entry.js.map → p-78f78684.entry.js.map} +0 -0
  751. /package/dist/stzh-components/{p-3dea2f45.entry.js.map → p-849ec693.entry.js.map} +0 -0
  752. /package/dist/stzh-components/{p-3aa5623c.entry.js.map → p-89562c7e.entry.js.map} +0 -0
  753. /package/dist/stzh-components/{p-45572515.entry.js.map → p-916f8386.entry.js.map} +0 -0
  754. /package/dist/stzh-components/{p-2d25bcc8.entry.js.map → p-979390db.entry.js.map} +0 -0
  755. /package/dist/stzh-components/{p-e2ff2ef4.entry.js.map → p-a0008fa2.entry.js.map} +0 -0
  756. /package/dist/stzh-components/{p-05b9e4c2.system.entry.js.map → p-a26cd855.system.entry.js.map} +0 -0
  757. /package/dist/stzh-components/{p-b792ea2e.system.entry.js.map → p-a2d5846c.system.entry.js.map} +0 -0
  758. /package/dist/stzh-components/{p-6c219530.entry.js.map → p-a8e1b13c.entry.js.map} +0 -0
  759. /package/dist/stzh-components/{p-4a299f84.entry.js.map → p-acbe3680.entry.js.map} +0 -0
  760. /package/dist/stzh-components/{p-35cbff3f.entry.js.map → p-affbfe00.entry.js.map} +0 -0
  761. /package/dist/stzh-components/{p-7772c262.entry.js.map → p-b5531053.entry.js.map} +0 -0
  762. /package/dist/stzh-components/{p-f599025e.system.entry.js.map → p-c0aa52aa.system.entry.js.map} +0 -0
  763. /package/dist/stzh-components/{p-fefcd0e6.entry.js.map → p-d7a7560a.entry.js.map} +0 -0
  764. /package/dist/stzh-components/{p-87b4549c.system.entry.js.map → p-dad99bd2.system.entry.js.map} +0 -0
  765. /package/dist/stzh-components/{p-b05c240b.system.entry.js.map → p-e16ee236.system.entry.js.map} +0 -0
  766. /package/dist/stzh-components/{p-bcd5b20e.entry.js.map → p-e7454abb.entry.js.map} +0 -0
  767. /package/dist/stzh-components/{p-6d097e82.system.entry.js.map → p-ebe979a3.system.entry.js.map} +0 -0
  768. /package/dist/stzh-components/{p-9b7d4e8d.entry.js.map → p-ef4c12ac.entry.js.map} +0 -0
  769. /package/dist/stzh-components/{p-3cb43903.entry.js.map → p-f0ac9730.entry.js.map} +0 -0
  770. /package/dist/stzh-components/{p-8d695d3e.system.entry.js.map → p-f65b5145.system.entry.js.map} +0 -0
  771. /package/dist/stzh-components/{p-b82351f0.system.entry.js.map → p-f665752d.system.entry.js.map} +0 -0
  772. /package/dist/stzh-components/{p-c3b260a1.entry.js.map → p-fb12ec57.entry.js.map} +0 -0
  773. /package/dist/stzh-components/{p-52e52b49.entry.js.map → p-fd97e87d.entry.js.map} +0 -0
@@ -3,8 +3,569 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index$1 = require('./index-bf651831.js');
6
- const utils = require('./utils-a2ff9f84.js');
7
6
  const translationUtils = require('./translation-utils-73073e44.js');
7
+ const mediaUtils = require('./media-utils-8cfc8591.js');
8
+ const utils = require('./utils-916583be.js');
9
+
10
+ const stzhActionsetCss = ".sc-stzh-actionset-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-actionset-h{display:none}.sc-stzh-actionset-h *.sc-stzh-actionset,.sc-stzh-actionset-h *.sc-stzh-actionset::before,.sc-stzh-actionset-h *.sc-stzh-actionset::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.stzh-actionset__actions.sc-stzh-actionset{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.stzh-actionset__actions-wrapper.sc-stzh-actionset{position:relative;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow:hidden}.stzh-actionset__action.sc-stzh-actionset:not(:last-child){margin-right:var(--stzh-space-xsmall)}.stzh-actionset__action-popover.sc-stzh-actionset{opacity:0}.stzh-actionset--has-collapsed-items.sc-stzh-actionset .stzh-actionset__action-popover.sc-stzh-actionset{--width:auto;opacity:1}@media screen and (min-width: 1024px){.stzh-actionset--overflow.sc-stzh-actionset .stzh-actionset__action.sc-stzh-actionset{--white-space:nowrap}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__actions.sc-stzh-actionset{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__actions-wrapper.sc-stzh-actionset{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}}@media screen and (min-width: 600px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__action.sc-stzh-actionset{--white-space:nowrap}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__action.sc-stzh-actionset:not(:last-child){margin-bottom:var(--stzh-space-xsmall);margin-right:0}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__action-popover.sc-stzh-actionset{margin-top:var(--stzh-space-xsmall)}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset:not(.stzh-actionset--has-collapsed-items) .stzh-actionset__action-popover.sc-stzh-actionset{display:none}}";
11
+
12
+ const StzhActionset = class {
13
+ constructor(hostRef) {
14
+ index$1.registerInstance(this, hostRef);
15
+ this.stzhActionClick = index$1.createEvent(this, "stzhActionClick", 7);
16
+ this._actions = [];
17
+ this.actionClick = (action, originalEvent) => {
18
+ this.stzhActionClick.emit({
19
+ component: "stzh-actionset",
20
+ action,
21
+ originalEvent
22
+ });
23
+ };
24
+ this.update = () => {
25
+ this.isSmall = mediaUtils.media("small").matches;
26
+ this.isMedium = mediaUtils.media("medium").matches;
27
+ if (!this.actionsElement) {
28
+ return;
29
+ }
30
+ Object.assign(this.actionsElement.style, {
31
+ width: null,
32
+ height: null
33
+ });
34
+ let newActionsVisible = 0;
35
+ if (this.variant === "overflow" && this.isMedium
36
+ || this.variant === "stack" && this.isSmall) {
37
+ this.dynamicActions = true;
38
+ let newActionsHeight = 0;
39
+ let newActionsWidth = 0;
40
+ // update height and width
41
+ Array.from(this.actionsElement.children).forEach((child) => {
42
+ // check which item is visible and
43
+ if (child.offsetTop === 0) {
44
+ newActionsVisible++;
45
+ const style = getComputedStyle(child);
46
+ const marginLeft = parseInt(style.marginLeft);
47
+ const marginRight = parseInt(style.marginRight);
48
+ const marginTop = parseInt(style.marginTop);
49
+ const marginBottom = parseInt(style.marginBottom);
50
+ const childWidth = child.offsetWidth + marginLeft + marginRight;
51
+ const childHeight = child.offsetHeight + marginTop + marginBottom;
52
+ if (newActionsHeight < childHeight) {
53
+ newActionsHeight = childHeight;
54
+ }
55
+ newActionsWidth = newActionsWidth + childWidth + 1;
56
+ }
57
+ });
58
+ Object.assign(this.actionsElement.style, {
59
+ width: `${newActionsWidth}px`,
60
+ height: `${newActionsHeight}px`
61
+ });
62
+ }
63
+ else {
64
+ this.dynamicActions = false;
65
+ if (this.variant === "overflow") {
66
+ newActionsVisible = 0;
67
+ }
68
+ else if (this.variant === "stack") {
69
+ newActionsVisible = this._actions.length <= 3 ? this._actions.length : 2;
70
+ }
71
+ }
72
+ this.actionsCollapsed = this._actions.slice(newActionsVisible);
73
+ };
74
+ this.handleResize = () => {
75
+ if (this.debounceResize) {
76
+ window.cancelAnimationFrame(this.debounceResize);
77
+ }
78
+ this.debounceResize = requestAnimationFrame(this.update);
79
+ };
80
+ this.mediaChangeHandler = () => {
81
+ this.actionsCollapsed = [];
82
+ requestAnimationFrame(this.update);
83
+ };
84
+ this.localization = undefined;
85
+ this.variant = "stack";
86
+ this.popoverButtonVariant = "";
87
+ this.popoverButtonSize = "";
88
+ this.popoverPlacement = "bottom-end";
89
+ this.actions = [];
90
+ this.actionsCollapsed = [];
91
+ this.dynamicActions = undefined;
92
+ this.isSmall = undefined;
93
+ this.isMedium = undefined;
94
+ }
95
+ actionsWatcher(newValue) {
96
+ if (typeof newValue === "string") {
97
+ this._actions = JSON.parse(newValue);
98
+ }
99
+ else {
100
+ this._actions = newValue;
101
+ }
102
+ }
103
+ async componentWillLoad() {
104
+ this.actionsWatcher(this.actions);
105
+ if (!this.localization) {
106
+ this.localization = await translationUtils.fetchTranslations(this.element, "actionset");
107
+ }
108
+ }
109
+ connectedCallback() {
110
+ mediaUtils.addMediaChangeListener(this.mediaChangeHandler);
111
+ this.resizeObserver = new ResizeObserver(this.handleResize);
112
+ this.resizeObserver.observe(this.element);
113
+ }
114
+ disconnectedCallback() {
115
+ mediaUtils.removeMediaChangeListener(this.mediaChangeHandler);
116
+ if (this.resizeObserver) {
117
+ this.resizeObserver.disconnect();
118
+ }
119
+ }
120
+ componentDidLoad() {
121
+ this.update();
122
+ }
123
+ render() {
124
+ const classes = {
125
+ "stzh-actionset": true,
126
+ // "stzh-actionset--has-dynamic-actions": this.dynamicActions,
127
+ "stzh-actionset--has-collapsed-items": this.actionsCollapsed.length > 0,
128
+ [`stzh-actionset--${this.variant}`]: !!this.variant
129
+ };
130
+ const Action = (action) => (index$1.h("stzh-button", { class: {
131
+ "stzh-actionset__action": true,
132
+ "is-button": true,
133
+ // "show-medium": !action.onlyCollapseText,
134
+ // "hide-when-collapsed": !action.onlyCollapseText,
135
+ // "hide-text-when-collapsed": action.onlyCollapseText
136
+ }, icon: action.icon, iconPosition: action.iconPosition, iconOnly: action.iconOnly, badge: action.badge, variant: action.variant
137
+ ? action.variant
138
+ : (this.variant === "stack" ? "secondary" : "tertiary"), size: action.size
139
+ ? action.size
140
+ : (this.variant === "stack" ? "default" : "tiny"), badgePosition: "icon", onClick: (e) => { this.actionClick(action, e); } }, index$1.h("span", { class: {
141
+ // "show-medium": action.onlyCollapseText,
142
+ // "hide-when-collapsed": action.onlyCollapseText
143
+ } }, action.label)));
144
+ return (index$1.h(index$1.Host, { "has-collapsed-items": this.actionsCollapsed.length > 0 }, index$1.h("div", { class: classes }, index$1.h("div", { class: "stzh-actionset__actions", role: "group" }, index$1.h("div", { ref: (el) => (this.actionsElement = el), class: "stzh-actionset__actions-wrapper" }, this._actions.map(action => ((this.dynamicActions
145
+ || (!this.dynamicActions &&
146
+ this.actionsCollapsed.indexOf(action) === -1))
147
+ &&
148
+ (action.tooltipContent
149
+ ?
150
+ index$1.h("stzh-tooltip", { strategy: "fixed", content: action.tooltipContent }, Action(action))
151
+ :
152
+ Action(action))))), index$1.h("stzh-popover", { label: this.variant === "stack"
153
+ ? this.localization.furtherActions
154
+ : (!this.isMedium ? this.localization.actions : ""), strategy: "fixed", placement: this.popoverPlacement, class: "stzh-actionset__action-popover" }, index$1.h("stzh-button", { fullwidth: true, disabled: this.actionsCollapsed.length === 0, class: "stzh-actionset__action is-further", variant: this.popoverButtonVariant !== ""
155
+ ? this.popoverButtonVariant
156
+ : (this.variant === "stack" ? "secondary" : "tertiary"), size: this.popoverButtonSize !== ""
157
+ ? this.popoverButtonSize
158
+ : (this.variant === "stack" ? "default" : "tiny"), icon: this.variant === "stack" ? "angle-down" : "more-vertical", iconOnly: this.variant === "overflow" && this.isMedium, iconPosition: "right", label: this.variant === "stack"
159
+ ? this.localization.furtherActions
160
+ : (!this.isMedium ? this.localization.actions : "") }), index$1.h("stzh-menu", { slot: "content" }, this.actionsCollapsed.map(action => (index$1.h("stzh-menu-item", {
161
+ // class="hide-medium show-when-collapsed"
162
+ icon: action.icon, badge: action.badge, badgeEmpty: action.badgeEmpty, badgeType: action.badgeType, onClick: (e) => { this.actionClick(action, e); }
163
+ }, action.label)))))))));
164
+ }
165
+ get element() { return index$1.getElement(this); }
166
+ static get watchers() { return {
167
+ "actions": ["actionsWatcher"]
168
+ }; }
169
+ };
170
+ StzhActionset.style = stzhActionsetCss;
171
+
172
+ const stzhCardCss = ".sc-stzh-card-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-card-h{display:none}.sc-stzh-card-h *.sc-stzh-card,.sc-stzh-card-h *.sc-stzh-card::before,.sc-stzh-card-h *.sc-stzh-card::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-card-h{--box-shadow:var(--stzh-box-shadow-popover);--border-color:var(--stzh-base-border-color);--border-radius:0.1875rem;--content-min-height:7.5rem;--dnd-visibility:hidden;--dnd-opacity:0;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative;border-radius:var(--border-radius)}[collapsed].sc-stzh-card-h:not([collapsed=false]){--content-min-height:none}[checked].sc-stzh-card-h:not([checked=false]){outline:0.1875rem solid var(--stzh-color-primary, var(--stzh-color-zueriblue))}[hide-elevation].sc-stzh-card-h:not([hide-elevation=false]){--box-shadow:none}[hide-elevation].sc-stzh-card-h:not([hide-elevation=false])[href]:hover,[hide-elevation].sc-stzh-card-h:not([hide-elevation=false])[href]:focus-within,[hide-elevation].sc-stzh-card-h:not([hide-elevation=false]).is-selected,[hide-elevation].sc-stzh-card-h:not([hide-elevation=false]).is-chosen,.is-selected [hide-elevation].sc-stzh-card-h:not([hide-elevation=false]),.is-chosen [hide-elevation].sc-stzh-card-h:not([hide-elevation=false]){--box-shadow:var(--stzh-box-shadow-popover)}.is-ghost.sc-stzh-card-h::after,.is-ghost .sc-stzh-card-h::after{border-radius:var(--border-radius)}[href].sc-stzh-card-h:hover,[href].sc-stzh-card-h:focus-within,.is-selected.sc-stzh-card-h,.is-chosen.sc-stzh-card-h,.is-selected .sc-stzh-card-h,.is-chosen .sc-stzh-card-h{--box-shadow:var(--stzh-box-shadow-overlay)}.is-ghost.sc-stzh-card-h,.is-ghost .sc-stzh-card-h{--box-shadow:none;--border-color:transparent;overflow:hidden}.is-drag.sc-stzh-card-h,.is-chosen.sc-stzh-card-h,.is-ghost.sc-stzh-card-h,.is-selected.sc-stzh-card-h,.is-drag .sc-stzh-card-h,.is-chosen .sc-stzh-card-h,.is-ghost .sc-stzh-card-h,.is-selected .sc-stzh-card-h,[is-sortable].sc-stzh-card-h:hover{--dnd-visibility:visible;--dnd-opacity:1}.sc-stzh-card-h .sc-stzh-card-s>*{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.sc-stzh-card-h .sc-stzh-card-s>[slot=image]{width:100%;max-width:100%}.sc-stzh-card-h .sc-stzh-card-s>img[slot=image]{display:block}.sc-stzh-card-h .sc-stzh-card-s>[slot=meta]:not(:last-child){margin-right:var(--stzh-space-xsmall)}.sc-stzh-card-h .sc-stzh-card-s>table{border:0;border-spacing:0}.sc-stzh-card-h .sc-stzh-card-s>table th{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.sc-stzh-card-h .sc-stzh-card-s>table td,.sc-stzh-card-h .sc-stzh-card-s>table th{padding:0}.sc-stzh-card-h .sc-stzh-card-s>table td{color:var(--stzh-color-black);padding-left:var(--stzh-space-xsmall)}.sc-stzh-card-h .sc-stzh-card-s>[slot=heading],.stzh-card__title.sc-stzh-card{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-h3-default-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h3-default-heading-line-height, var(--stzh-font-centi-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-default-heading-letter-spacing)}@media screen and (min-width: 600px){.sc-stzh-card-h .sc-stzh-card-s>[slot=heading],.stzh-card__title.sc-stzh-card{font-size:var(--stzh-font-curve-h3-small-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h3-small-heading-line-height, var(--stzh-font-deci-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-small-heading-letter-spacing)}}@media screen and (min-width: 1024px){.sc-stzh-card-h .sc-stzh-card-s>[slot=heading],.stzh-card__title.sc-stzh-card{font-size:var(--stzh-font-curve-h3-medium-font-size, var(--stzh-font-regular-font-size));line-height:var(--stzh-font-curve-h3-medium-heading-line-height, var(--stzh-font-regular-heading-line-height));letter-spacing:var(--stzh-font-curve-h3-medium-heading-letter-spacing)}}.stzh-card.sc-stzh-card{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:var(--stzh-color-white);border-radius:var(--border-radius);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);border-width:0.0625rem;border-style:solid;border-color:var(--border-color);-webkit-transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:-webkit-box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed);transition:box-shadow var(--stzh-base-transition-animation-speed), -webkit-box-shadow var(--stzh-base-transition-animation-speed)}@media screen and (max-width: 1023px){.stzh-card.sc-stzh-card .vshow-medium.sc-stzh-card{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}}@media screen and (max-width: 1023px){.stzh-card.sc-stzh-card .show-medium.sc-stzh-card{display:none}}@media screen and (min-width: 1024px){.stzh-card.sc-stzh-card .hide-medium.sc-stzh-card{display:none}}.stzh-card__content-wrapper.sc-stzh-card{position:relative;-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:var(--content-min-height)}.stzh-card__dnd.sc-stzh-card{--size:var(--stzh-icon-size-xsmall);position:absolute;left:0.1875rem;top:1.4375rem;display:-ms-flexbox;display:flex;visibility:var(--dnd-visibility);opacity:var(--dnd-opacity);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);display:none}@media screen and (min-width: 1024px){.stzh-card__dnd.sc-stzh-card{display:block}}@media screen and (min-width: 1260px){.stzh-card__dnd.sc-stzh-card{left:0.25rem;top:1.6875rem}}.stzh-card__header-top.sc-stzh-card{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:start;align-items:flex-start}.stzh-card__header-meta.sc-stzh-card:not(:empty){display:-ms-inline-flexbox;display:inline-flex;margin-top:var(--stzh-space-xsmall)}.stzh-card__header-left.sc-stzh-card,.stzh-card__header-right.sc-stzh-card{display:-ms-flexbox;display:flex}.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-small)}}@media screen and (min-width: 1260px){.stzh-card__header-right.sc-stzh-card{padding-left:var(--stzh-space-medium)}}.stzh-card__left.sc-stzh-card{-ms-flex-item-align:center;align-self:center}.stzh-card__title-area.sc-stzh-card{overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;overflow:hidden}.stzh-card__title.sc-stzh-card,.stzh-card__subtitle.sc-stzh-card{margin:0}.stzh-card__title-link.sc-stzh-card{color:inherit;-webkit-text-decoration-line:none;text-decoration-line:none}.stzh-card__image-link.sc-stzh-card{display:block}.stzh-card__subtitle.sc-stzh-card{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-text-decoration-line:none;text-decoration-line:none;margin-left:-0.5625em}@media screen and (min-width: 1024px){.stzh-card__subtitle.sc-stzh-card{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-card__subtitle-text.sc-stzh-card{position:relative;display:-ms-inline-flexbox;display:inline-flex;padding-left:0.5625em}.stzh-card__subtitle-text.sc-stzh-card::after{content:\",\";position:absolute;left:0}.stzh-card__content.sc-stzh-card{-ms-flex-positive:1;flex-grow:1}.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card__content.sc-stzh-card:not(:empty){padding:var(--stzh-space-xlarge)}}.stzh-card__footer-arrow.sc-stzh-card{--size:var(--stzh-icon-size-medium);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-card__card-actions.sc-stzh-card{display:-ms-inline-flexbox;display:inline-flex;white-space:nowrap}@media screen and (max-width: 1023px){.stzh-card__card-action.sc-stzh-card{--icon-text-margin:0px;--badge-icon-text-margin:0px}}.stzh-card__card-action[variant=tertiary].sc-stzh-card{--color:var(--stzh-color-grey70)}.stzh-card__card-action.is-button.sc-stzh-card{--icon-size:var(--stzh-icon-size-small)}.stzh-card__card-action.is-placeholder.sc-stzh-card{width:var(--stzh-space-xxlarge);height:var(--stzh-space-xxlarge)}.stzh-card__card-action-popover.sc-stzh-card{--width:auto}.stzh-card--has-header.sc-stzh-card .stzh-card__header.sc-stzh-card{padding:var(--stzh-space-medium);border-bottom:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 1024px){.stzh-card--has-header.sc-stzh-card .stzh-card__header.sc-stzh-card{padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card--has-header.sc-stzh-card .stzh-card__header.sc-stzh-card{padding:var(--stzh-space-xlarge)}}.stzh-card--has-footer.sc-stzh-card .stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-medium);border-top:0.0625rem solid var(--stzh-base-border-color)}@media screen and (min-width: 1024px){.stzh-card--has-footer.sc-stzh-card .stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card--has-footer.sc-stzh-card .stzh-card__footer.sc-stzh-card:not(:empty){padding:var(--stzh-space-xlarge)}}.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card{color:var(--stzh-color-primary, var(--stzh-color-zueriblue));-webkit-text-decoration-line:none;text-decoration-line:none;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-button-border-radius)}.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card::before,.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card::after{content:\"\";display:block;position:absolute;top:0;left:0;width:100%;height:100%}.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card::after{z-index:1}.stzh-card--has-link.sc-stzh-card .stzh-card__card-actions.sc-stzh-card,.stzh-card--has-link.sc-stzh-card .stzh-card__header-meta.sc-stzh-card,.stzh-card--has-link.sc-stzh-card .stzh-card__footer-actionset.sc-stzh-card,.stzh-card--has-link.sc-stzh-card .stzh-card__footer-select-button.sc-stzh-card{position:relative;z-index:2}.stzh-card--has-link.sc-stzh-card .stzh-card__image-link.sc-stzh-card:hover+.stzh-card__content-wrapper.sc-stzh-card .stzh-card__title-link.sc-stzh-card,.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card:hover,.stzh-card--has-link.sc-stzh-card .stzh-card__title-link.sc-stzh-card:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--has-link.sc-stzh-card:hover .stzh-card__footer-arrow.sc-stzh-card{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card{cursor:pointer;font-family:inherit;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:none;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card:hover,.stzh-card--has-subtitle-interactive.sc-stzh-card .stzh-card__subtitle.sc-stzh-card:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--is-collapsible.sc-stzh-card .stzh-card__header.sc-stzh-card{cursor:pointer}.stzh-card--is-collapsed.sc-stzh-card .vhide-when-collapsed.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__header.sc-stzh-card .vhide-when-collapsed.sc-stzh-card{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-card--is-collapsed.sc-stzh-card .hide-when-collapsed.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__header.sc-stzh-card .hide-when-collapsed.sc-stzh-card{display:none}.stzh-card--is-collapsed.sc-stzh-card .show-when-collapsed.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__header.sc-stzh-card .show-when-collapsed.sc-stzh-card{display:block}.stzh-card--is-collapsed.sc-stzh-card .stzh-card__header.sc-stzh-card{border-bottom:none}.stzh-card--is-collapsed.sc-stzh-card .stzh-card__card-action.sc-stzh-card,.stzh-card--has-collapsed-header.sc-stzh-card .stzh-card__card-action.sc-stzh-card{--icon-text-margin:0px;--badge-icon-text-margin:0px}.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card:hover,.stzh-card--is-starred.sc-stzh-card .stzh-card__card-action.is-star.sc-stzh-card:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-card--has-hidden-header-border.sc-stzh-card .stzh-card__header.sc-stzh-card{border-bottom:none;padding-bottom:0}.stzh-card--has-hidden-footer-border.sc-stzh-card .stzh-card__footer.sc-stzh-card:not(:empty){padding-top:0;border-top:none}";
173
+
174
+ const StzhCard = class {
175
+ constructor(hostRef) {
176
+ index$1.registerInstance(this, hostRef);
177
+ this.stzhClick = index$1.createEvent(this, "stzhClick", 7);
178
+ this.stzhCollapse = index$1.createEvent(this, "stzhCollapse", 7);
179
+ this.stzhSubtitleClick = index$1.createEvent(this, "stzhSubtitleClick", 7);
180
+ this.stzhStarClick = index$1.createEvent(this, "stzhStarClick", 7);
181
+ this.stzhHeaderActionClick = index$1.createEvent(this, "stzhHeaderActionClick", 7);
182
+ this._subtitles = [];
183
+ this.nodeChange = (entries) => {
184
+ let changeInSlot = false;
185
+ entries.forEach((entry) => {
186
+ if (entry.target.closest('[slot]') || entry.target.hasAttribute('slot')) {
187
+ changeInSlot = true;
188
+ }
189
+ });
190
+ if (changeInSlot) {
191
+ index$1.forceUpdate(this.element);
192
+ }
193
+ };
194
+ this.update = () => {
195
+ if (!this.mainElement) {
196
+ return;
197
+ }
198
+ this.mainElement.classList.remove("stzh-card--has-collapsed-header");
199
+ if (mediaUtils.media('medium').matches) {
200
+ const headerWidth = this.headerElement.clientWidth;
201
+ const leftWidth = this.headerLeftElement.clientWidth;
202
+ const rightWidth = this.headerRightElement.clientWidth;
203
+ if (headerWidth - leftWidth <= rightWidth) {
204
+ this.mainElement.classList.add("stzh-card--has-collapsed-header");
205
+ }
206
+ }
207
+ };
208
+ this.headerClick = (event) => {
209
+ if (!this.collapsible) {
210
+ return;
211
+ }
212
+ const filterTags = ["stzh-popover", "stzh-tooltip", "button", "a", "input", "select", "textarea", "iframe", "details", "label", "area"];
213
+ const composedPathTags = event.composedPath().map(element => { var _a; return (_a = element.tagName) === null || _a === void 0 ? void 0 : _a.toLowerCase(); });
214
+ const found = composedPathTags.some(r => filterTags.includes(r));
215
+ if (!found) {
216
+ this.collapsed = !this.collapsed;
217
+ this.stzhCollapse.emit({
218
+ component: "stzh-card",
219
+ collapsed: this.collapsed
220
+ });
221
+ }
222
+ };
223
+ this.subtitleClick = () => {
224
+ if (this.subtitleInteractive) {
225
+ this.stzhSubtitleClick.emit({
226
+ component: "stzh-card"
227
+ });
228
+ }
229
+ };
230
+ this.starToggleClick = () => {
231
+ this.stzhStarClick.emit({
232
+ component: "stzh-card",
233
+ starred: this.starred
234
+ });
235
+ };
236
+ this.actionClick = (action) => {
237
+ this.stzhHeaderActionClick.emit({
238
+ component: "stzh-card",
239
+ action
240
+ });
241
+ };
242
+ this.arrowUpClick = () => {
243
+ const sortable = this.element.closest("stzh-sortable");
244
+ if (sortable) {
245
+ const element = this.findSortableChildElement();
246
+ sortable.moveItem(element, "up");
247
+ }
248
+ };
249
+ this.arrowDownClick = () => {
250
+ const sortable = this.element.closest("stzh-sortable");
251
+ if (sortable) {
252
+ const element = this.findSortableChildElement();
253
+ sortable.moveItem(element, "down");
254
+ }
255
+ };
256
+ this.updateElementInsideSortable = () => {
257
+ const currentSortable = this.element.closest("stzh-sortable");
258
+ // check if element is still inside sortable
259
+ if (!currentSortable) {
260
+ this.sortable.removeEventListener("stzhUpdate", this.updateElementInsideSortable);
261
+ this.sortable.removeEventListener("stzhDisable", this.updateElementInsideSortable);
262
+ return;
263
+ }
264
+ if (this.element) {
265
+ index$1.forceUpdate(this.element);
266
+ }
267
+ };
268
+ this.init = () => {
269
+ const chips = this.element.querySelectorAll('stzh-chip[slot="meta"], [slot="meta"] stzh-chip');
270
+ chips.forEach((chip) => {
271
+ utils.setPropsIfNull(chip, {
272
+ size: "small"
273
+ });
274
+ });
275
+ };
276
+ this.handleResize = () => {
277
+ if (this.debounceResize) {
278
+ window.cancelAnimationFrame(this.debounceResize);
279
+ }
280
+ this.debounceResize = requestAnimationFrame(this.update);
281
+ };
282
+ this.handleMutation = (entries) => {
283
+ this.init();
284
+ this.nodeChange(entries);
285
+ };
286
+ this.handleSelectionChange = (event) => {
287
+ this.checked = event.detail.checked;
288
+ };
289
+ this.cardClick = (originalEvent) => {
290
+ this.stzhClick.emit({
291
+ component: "stzh-card",
292
+ originalEvent
293
+ });
294
+ };
295
+ this.localization = undefined;
296
+ this.collapsed = false;
297
+ this.starred = false;
298
+ this.starrable = false;
299
+ this.selectable = false;
300
+ this.checked = false;
301
+ this.name = "";
302
+ this.href = undefined;
303
+ this.target = undefined;
304
+ this.value = "";
305
+ this.disabled = false;
306
+ this.withArrow = false;
307
+ this.heading = "";
308
+ this.subtitle = "";
309
+ this.headerActions = [];
310
+ this.footerActions = [];
311
+ this.subtitleInteractive = false;
312
+ this.sortableDisabled = false;
313
+ this.collapsible = false;
314
+ this.hideHeaderBorder = false;
315
+ this.hideFooterBorder = false;
316
+ this.hideElevation = false;
317
+ this.hideMovementActions = false;
318
+ this.analyticsId = undefined;
319
+ }
320
+ subtitleWatcher(newValue) {
321
+ if (typeof newValue === "string") {
322
+ if (newValue === "") {
323
+ this._subtitles = [];
324
+ }
325
+ else {
326
+ try {
327
+ this._subtitles = JSON.parse(newValue);
328
+ }
329
+ catch (err) {
330
+ this._subtitles = [newValue];
331
+ }
332
+ }
333
+ }
334
+ else {
335
+ this._subtitles = newValue;
336
+ }
337
+ }
338
+ headerActionsWatcher(newValue) {
339
+ if (typeof newValue === "string") {
340
+ this._headerActions = JSON.parse(newValue);
341
+ }
342
+ else {
343
+ this._headerActions = newValue;
344
+ }
345
+ }
346
+ footerActionsWatcher(newValue) {
347
+ if (typeof newValue === "string") {
348
+ this._footerActions = JSON.parse(newValue);
349
+ }
350
+ else {
351
+ this._footerActions = newValue;
352
+ }
353
+ }
354
+ collapsedWatcher() {
355
+ this.handleResize();
356
+ }
357
+ findSortableChildElement() {
358
+ const sortable = this.element.closest("stzh-sortable");
359
+ if (sortable) {
360
+ let element = this.element;
361
+ let sortableContainer = null;
362
+ if (typeof sortable.container === "function") {
363
+ sortableContainer = sortable.container();
364
+ }
365
+ else {
366
+ sortableContainer = sortable.container;
367
+ }
368
+ while (element.parentElement && element.parentElement !== sortableContainer) {
369
+ element = element.parentElement;
370
+ }
371
+ return element;
372
+ }
373
+ }
374
+ async componentWillLoad() {
375
+ this.subtitleWatcher(this.subtitle);
376
+ this.headerActionsWatcher(this.headerActions);
377
+ this.footerActionsWatcher(this.footerActions);
378
+ if (!this.localization) {
379
+ this.localization = await translationUtils.fetchTranslations(this.element, "card");
380
+ }
381
+ }
382
+ componentDidLoad() {
383
+ this.sortable = this.element.closest("stzh-sortable");
384
+ if (this.sortable) {
385
+ this.sortable.addEventListener("stzhUpdate", this.updateElementInsideSortable);
386
+ this.sortable.addEventListener("stzhDisable", this.updateElementInsideSortable);
387
+ }
388
+ }
389
+ componentDidRender() {
390
+ requestAnimationFrame(() => {
391
+ var _a, _b, _c;
392
+ const objectId = this.analyticsId || ((_a = this.headingTextElement) === null || _a === void 0 ? void 0 : _a.innerText);
393
+ if (objectId) {
394
+ (_b = this.imageLinkElement) === null || _b === void 0 ? void 0 : _b.setAttribute("s-object-id", objectId);
395
+ (_c = this.titleLinkElement) === null || _c === void 0 ? void 0 : _c.setAttribute("s-object-id", objectId);
396
+ }
397
+ });
398
+ }
399
+ connectedCallback() {
400
+ this.init();
401
+ this.observer = new MutationObserver(this.handleMutation);
402
+ this.observer.observe(this.element, {
403
+ childList: true,
404
+ subtree: true
405
+ });
406
+ this.resizeObserver = new ResizeObserver(this.handleResize);
407
+ this.resizeObserver.observe(this.element);
408
+ }
409
+ disconnectedCallback() {
410
+ if (this.observer) {
411
+ this.observer.disconnect();
412
+ }
413
+ if (this.resizeObserver) {
414
+ this.resizeObserver.disconnect();
415
+ }
416
+ }
417
+ render() {
418
+ var _a, _b, _c;
419
+ const imageUsed = utils.hasSlot(this.element, "image");
420
+ const headingUsed = utils.hasSlot(this.element, "heading");
421
+ const contentUsed = utils.hasSlot(this.element, "content");
422
+ const Subtitle = `${this.subtitleInteractive ? 'button' : 'span'}`;
423
+ const sortableChildElement = this.findSortableChildElement();
424
+ const isFirstItemInSortable = (sortableChildElement === null || sortableChildElement === void 0 ? void 0 : sortableChildElement.parentElement)
425
+ && Array.from((_a = sortableChildElement === null || sortableChildElement === void 0 ? void 0 : sortableChildElement.parentElement) === null || _a === void 0 ? void 0 : _a.children)
426
+ .indexOf(sortableChildElement) === 0;
427
+ const isLastItemInSortable = (sortableChildElement === null || sortableChildElement === void 0 ? void 0 : sortableChildElement.parentElement)
428
+ && Array.from((_b = sortableChildElement === null || sortableChildElement === void 0 ? void 0 : sortableChildElement.parentElement) === null || _b === void 0 ? void 0 : _b.children)
429
+ .indexOf(sortableChildElement) === ((_c = sortableChildElement === null || sortableChildElement === void 0 ? void 0 : sortableChildElement.parentElement) === null || _c === void 0 ? void 0 : _c.children.length) - 1;
430
+ const sortableEnabled = !this.sortableDisabled && this.sortable && !this.sortable.disabled;
431
+ const sortableActionsEnabled = sortableEnabled && !this.hideMovementActions;
432
+ const nonCollapsingTextHeaderActions = this._headerActions.filter(action => !action.onlyCollapseText);
433
+ // const headerActions = [
434
+ // ...this._headerActions
435
+ // ];
436
+ const hasHeading = !!this.heading || headingUsed;
437
+ const hasHeader = hasHeading
438
+ || this._subtitles.length > 0
439
+ || this._headerActions.length > 0
440
+ || nonCollapsingTextHeaderActions.length > 0
441
+ || this.starrable
442
+ || sortableActionsEnabled;
443
+ const hasFooter = this._footerActions.length > 0
444
+ || this.selectable
445
+ || this.withArrow;
446
+ const classes = {
447
+ "stzh-card": true,
448
+ "stzh-card--has-link": !!this.href,
449
+ "stzh-card--has-image": imageUsed,
450
+ "stzh-card--has-content": contentUsed,
451
+ "stzh-card--has-subtitle": !!this.subtitle,
452
+ "stzh-card--has-subtitle-interactive": !!this.subtitle && this.subtitleInteractive,
453
+ "stzh-card--has-hidden-header-border": this.hideHeaderBorder,
454
+ "stzh-card--has-hidden-footer-border": this.hideFooterBorder,
455
+ "stzh-card--has-header": hasHeader,
456
+ "stzh-card--has-footer": hasFooter,
457
+ "stzh-card--is-collapsible": this.collapsible,
458
+ "stzh-card--is-collapsed": this.collapsed,
459
+ "stzh-card--is-starred": this.starred,
460
+ "stzh-card--is-checked": this.checked,
461
+ "stzh-card--is-sortable": sortableEnabled
462
+ };
463
+ return (index$1.h(index$1.Host, { role: "listitem", "aria-label": this.heading, "is-sortable": sortableEnabled }, index$1.h("article", { ref: (el) => (this.mainElement = el), class: classes }, index$1.h("a", { ref: (el) => (this.imageLinkElement = el), "aria-hidden": "true", tabindex: "-1", class: "stzh-card__image-link", href: this.href, target: this.target, onClick: this.href ? this.cardClick : null }, index$1.h("slot", { name: "image" })), index$1.h("div", { class: "stzh-card__content-wrapper" }, index$1.h("stzh-icon", { class: "stzh-card__dnd", name: "drag" }), index$1.h("header", { ref: (el) => (this.headerElement = el), class: "stzh-card__header", onClick: this.headerClick }, index$1.h("div", { class: "stzh-card__header-top" }, index$1.h("div", { ref: (el) => (this.headerLeftElement = el), class: "stzh-card__header-left" }, index$1.h("div", { class: "stzh-card__title-area" }, hasHeading &&
464
+ index$1.h("h3", { class: "stzh-card__title" }, index$1.h("a", { ref: (el) => (this.titleLinkElement = el), class: "stzh-card__title-link", href: this.href, target: this.target, onClick: this.href ? this.cardClick : null }, index$1.h("div", { ref: (el) => (this.headingTextElement = el) }, this.heading ? this.heading : index$1.h("slot", { name: "heading" })))), this._subtitles.length > 0 &&
465
+ index$1.h(Subtitle, { class: "stzh-card__subtitle", onClick: this.subtitleClick }, this._subtitles.map(subtitle => (index$1.h("span", { class: "stzh-card__subtitle-text" }, subtitle)))))), index$1.h("div", { ref: (el) => (this.headerRightElement = el), class: "stzh-card__header-right" }, index$1.h("div", { class: "stzh-card__card-actions" }, this._headerActions.map(action => (index$1.h("stzh-button", { class: {
466
+ "stzh-card__card-action": true,
467
+ "is-button": true,
468
+ "show-medium": !action.onlyCollapseText,
469
+ "hide-when-collapsed": !action.onlyCollapseText,
470
+ "hide-text-when-collapsed": action.onlyCollapseText
471
+ }, icon: action.icon, badge: action.badge, badgeEmpty: action.badgeEmpty, badgeType: action.badgeType, variant: "tertiary", size: "tiny", badgePosition: "icon", onClick: () => { this.actionClick(action); } }, index$1.h("span", { class: {
472
+ "vshow-medium": action.onlyCollapseText,
473
+ "vhide-when-collapsed": action.onlyCollapseText
474
+ } }, action.label)))), this.starrable &&
475
+ index$1.h("stzh-tooltip", null, index$1.h("stzh-button", { class: "stzh-card__card-action is-star", icon: this.starred ? "star-filled" : "star", variant: "tertiary", size: "tiny", iconOnly: true, onClick: this.starToggleClick }), index$1.h("div", { slot: "content" }, this.starred ? this.localization.actionRemove : this.localization.actionAdd)), (nonCollapsingTextHeaderActions.length > 0 || this.starrable || sortableActionsEnabled) &&
476
+ index$1.h("stzh-popover", { label: this.localization.actionsPopoverLabel, placement: "bottom-end", class: {
477
+ "stzh-card__card-action-popover": true,
478
+ "hide-medium show-when-collapsed": !this.starrable && !sortableActionsEnabled
479
+ } }, index$1.h("stzh-button", { class: "stzh-card__card-action is-further", variant: "tertiary", size: "tiny", icon: "more-vertical", iconOnly: true }), index$1.h("stzh-menu", { slot: "content" }, this.starrable &&
480
+ index$1.h("stzh-menu-item", { icon: this.starred ? "star-filled" : "star", onClick: this.starToggleClick }, this.starred ? this.localization.actionRemove : this.localization.actionAdd), nonCollapsingTextHeaderActions.map(action => (index$1.h("stzh-menu-item", { class: "hide-medium show-when-collapsed", icon: action.icon, badge: action.badge, badgeEmpty: action.badgeEmpty, badgeType: action.badgeType, onClick: () => { this.actionClick(action); } }, action.label))), sortableActionsEnabled &&
481
+ index$1.h(index$1.Fragment, null, !isFirstItemInSortable &&
482
+ index$1.h("stzh-menu-item", { icon: "arrow-up", onClick: this.arrowUpClick }, this.localization.actionMoveUp), !isLastItemInSortable &&
483
+ index$1.h("stzh-menu-item", { icon: "arrow-down", onClick: this.arrowDownClick }, this.localization.actionMoveDown))))))), index$1.h("div", { class: "stzh-card__header-meta" }, index$1.h("slot", { name: "meta" }))), index$1.h("div", { class: "stzh-card__content hide-when-collapsed" }, index$1.h("slot", { name: "content" })), index$1.h("div", { class: "stzh-card__footer hide-when-collapsed" }, index$1.h("slot", { name: "footer" }, this._footerActions.length > 0 &&
484
+ index$1.h("stzh-actionset", { class: "stzh-card__footer-actionset", actions: this._footerActions }), this.selectable &&
485
+ index$1.h("stzh-button", { class: "stzh-card__footer-select-button", fullwidth: true, type: "radio", variant: "secondary", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, label: this.localization.select, onStzhChange: this.handleSelectionChange }), this.withArrow &&
486
+ index$1.h("stzh-icon", { class: "stzh-card__footer-arrow", name: "arrow-right-long" })))))));
487
+ }
488
+ get element() { return index$1.getElement(this); }
489
+ static get watchers() { return {
490
+ "subtitle": ["subtitleWatcher"],
491
+ "headerActions": ["headerActionsWatcher"],
492
+ "footerActions": ["footerActionsWatcher"],
493
+ "collapsed": ["collapsedWatcher"]
494
+ }; }
495
+ };
496
+ StzhCard.style = stzhCardCss;
497
+
498
+ const stzhCardListCss = ".sc-stzh-card-list-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-card-list-h{display:none}.sc-stzh-card-list-h *.sc-stzh-card-list,.sc-stzh-card-list-h *.sc-stzh-card-list::before,.sc-stzh-card-list-h *.sc-stzh-card-list::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-card-list-h[layout=fullwidth] .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.sc-stzh-card-list-h[layout=fullwidth] .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.sc-stzh-card-list-h[layout=fullwidth] .sc-stzh-card-list-s>*:not(:last-child):not([slot]){margin-bottom:var(--stzh-space-xlarge)}}.sc-stzh-card-list-h[layout=subpages] .sc-stzh-card-list-s>*:not([slot]){width:100%;margin:calc(var(--stzh-grid-gutter) / 2)}@media screen and (min-width: 600px){.sc-stzh-card-list-h[layout=subpages] .sc-stzh-card-list-s>*:not([slot]){width:calc(50% - var(--stzh-grid-gutter-small));margin:calc(var(--stzh-grid-gutter-small) / 2)}}@media screen and (min-width: 1024px){.sc-stzh-card-list-h[layout=subpages] .sc-stzh-card-list-s>*:not([slot]){width:calc(33.333% - var(--stzh-grid-gutter-medium));margin:calc(var(--stzh-grid-gutter-medium) / 2)}}.sc-stzh-card-list-h .sc-stzh-card-list-s>[slot=description] stzh-icon{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.sc-stzh-card-list-h .sc-stzh-card-list-s>stzh-text[slot=description]{--color:inherit}.stzh-card-list__cards.sc-stzh-card-list{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.stzh-card-list__header.sc-stzh-card-list{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start}@media screen and (min-width: 800px){.stzh-card-list__header.sc-stzh-card-list{-ms-flex-direction:row;flex-direction:row}}.stzh-card-list__description.sc-stzh-card-list{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);color:var(--stzh-base-lead-color)}@media screen and (min-width: 1024px){.stzh-card-list__description.sc-stzh-card-list{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-card-list__description.sc-stzh-card-list:not(:empty){margin-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 800px){.stzh-card-list__description.sc-stzh-card-list:not(:empty){margin-bottom:0}}.stzh-card-list__switch.sc-stzh-card-list{--color:var(--stzh-base-lead-color);-ms-flex-item-align:end;align-self:end}.stzh-card-list--has-header.sc-stzh-card-list .stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-card-list--has-header.sc-stzh-card-list .stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-card-list--has-header.sc-stzh-card-list .stzh-card-list__header.sc-stzh-card-list{margin-bottom:var(--stzh-space-xlarge)}}.stzh-card-list--layout-subpages.sc-stzh-card-list .stzh-card-list__cards.sc-stzh-card-list{-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:calc(var(--stzh-grid-gutter) / -2)}@media screen and (min-width: 600px){.stzh-card-list--layout-subpages.sc-stzh-card-list .stzh-card-list__cards.sc-stzh-card-list{margin:calc(var(--stzh-grid-gutter-small) / -2)}}@media screen and (min-width: 1024px){.stzh-card-list--layout-subpages.sc-stzh-card-list .stzh-card-list__cards.sc-stzh-card-list{margin:calc(var(--stzh-grid-gutter-medium) / -2)}}";
499
+
500
+ const StzhCardList = class {
501
+ constructor(hostRef) {
502
+ index$1.registerInstance(this, hostRef);
503
+ this.stzhCollapseAll = index$1.createEvent(this, "stzhCollapseAll", 7);
504
+ this.collapseClick = () => {
505
+ const cards = Array.from(this.element.querySelectorAll("stzh-card"));
506
+ cards.forEach(card => {
507
+ if (card.collapsible) {
508
+ card.collapsed = !this.allCollapsed;
509
+ }
510
+ });
511
+ this.allCollapsed = !this.allCollapsed;
512
+ this.stzhCollapseAll.emit({
513
+ component: "stzh-card-list",
514
+ allCollapsed: this.allCollapsed
515
+ });
516
+ };
517
+ this.updateCollapsedState = () => {
518
+ const cards = Array.from(this.element.querySelectorAll("stzh-card"));
519
+ this.allCollapsed = !cards.some(card => !card.collapsed);
520
+ };
521
+ this.sortableGhostClone = (dragElement) => {
522
+ const [clonedElement, clonedStzhElement, originalStzhElement] = utils.cloneWrappedStzhElement(dragElement);
523
+ if (clonedStzhElement
524
+ && originalStzhElement
525
+ && clonedStzhElement.tagName.toLowerCase() === "stzh-card") {
526
+ const clonedStzhElementCard = clonedStzhElement;
527
+ const originalStzhElementCard = originalStzhElement;
528
+ // copy every property that is not reflected to its attribute
529
+ clonedStzhElementCard.heading = originalStzhElementCard.heading;
530
+ clonedStzhElementCard.subtitle = originalStzhElementCard.subtitle;
531
+ clonedStzhElementCard.headerActions = originalStzhElementCard.headerActions;
532
+ clonedStzhElementCard.footerActions = originalStzhElementCard.footerActions;
533
+ clonedStzhElementCard.hideMovementActions = originalStzhElementCard.hideMovementActions;
534
+ }
535
+ return clonedElement;
536
+ };
537
+ this.localization = undefined;
538
+ this.layout = "fullwidth";
539
+ this.description = undefined;
540
+ this.showToggleLink = false;
541
+ this.sortableEnabled = false;
542
+ this.sortableDataIdAttribute = "data-id";
543
+ this.allCollapsed = false;
544
+ }
545
+ collapseListener() {
546
+ this.updateCollapsedState();
547
+ }
548
+ async componentWillLoad() {
549
+ if (!this.localization) {
550
+ this.localization = await translationUtils.fetchTranslations(this.element, "card-list");
551
+ }
552
+ }
553
+ componentDidLoad() {
554
+ this.updateCollapsedState();
555
+ }
556
+ render() {
557
+ const descriptionSlotUsed = utils.hasSlot(this.element, "description") || !!this.description;
558
+ const classes = {
559
+ "stzh-card-list": true,
560
+ "stzh-card-list--has-header": this.showToggleLink || descriptionSlotUsed,
561
+ [`stzh-card-list--layout-${this.layout}`]: !!this.layout
562
+ };
563
+ return (index$1.h(index$1.Host, null, index$1.h("div", { class: classes }, index$1.h("div", { class: "stzh-card-list__header" }, index$1.h("div", { class: "stzh-card-list__description" }, this.description ? this.description : index$1.h("slot", { name: "description" })), this.showToggleLink &&
564
+ index$1.h("stzh-link", { class: "stzh-card-list__switch", icon: this.allCollapsed ? "list-expanded" : "list-shrinked", label: this.allCollapsed ? this.localization.expandAll : this.localization.collapseAll, onClick: this.collapseClick })), index$1.h("stzh-sortable", { disabled: !this.sortableEnabled, dataIdAttribute: this.sortableDataIdAttribute, ghostClone: this.sortableGhostClone }, index$1.h("div", { class: "stzh-card-list__cards", role: "list" }, index$1.h("slot", null))))));
565
+ }
566
+ get element() { return index$1.getElement(this); }
567
+ };
568
+ StzhCardList.style = stzhCardListCss;
8
569
 
9
570
  const t$1=t=>"object"==typeof t&&null!=t&&1===t.nodeType,e=(t,e)=>(!e||"hidden"!==t)&&("visible"!==t&&"clip"!==t),n=(t,n)=>{if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){const o=getComputedStyle(t,null);return e(o.overflowY,n)||e(o.overflowX,n)||(t=>{const e=(t=>{if(!t.ownerDocument||!t.ownerDocument.defaultView)return null;try{return t.ownerDocument.defaultView.frameElement}catch(t){return null}})(t);return !!e&&(e.clientHeight<t.scrollHeight||e.clientWidth<t.scrollWidth)})(t)}return !1},o$1=(t,e,n,o,i,l,r,d)=>l<t&&r>e||l>t&&r<e?0:l<=t&&d<=n||r>=e&&d>=n?l-t-o:r>e&&d<n||l<t&&d>n?r-e+i:0,i=t=>{const e=t.parentElement;return null==e?t.getRootNode().host||null:e},l=(e,l)=>{var r,d,s,h;if("undefined"==typeof document)return [];const{scrollMode:c,block:f,inline:u,boundary:a,skipOverflowHiddenElements:g}=l,m="function"==typeof a?a:t=>t!==a;if(!t$1(e))throw new TypeError("Invalid target");const p=document.scrollingElement||document.documentElement,w=[];let W=e;for(;t$1(W)&&m(W);){if(W=i(W),W===p){w.push(W);break}null!=W&&W===document.body&&n(W)&&!n(document.documentElement)||null!=W&&n(W,g)&&w.push(W);}const H=null!=(d=null==(r=window.visualViewport)?void 0:r.width)?d:innerWidth,b=null!=(h=null==(s=window.visualViewport)?void 0:s.height)?h:innerHeight,{scrollX:v,scrollY:y}=window,{height:E,width:M,top:x,right:I,bottom:C,left:R}=e.getBoundingClientRect();let T="start"===f||"nearest"===f?x:"end"===f?C:x+E/2,V="center"===u?R+M/2:"end"===u?I:R;const k=[];for(let t=0;t<w.length;t++){const e=w[t],{height:n,width:i,top:l,right:r,bottom:d,left:s}=e.getBoundingClientRect();if("if-needed"===c&&x>=0&&R>=0&&C<=b&&I<=H&&x>=l&&C<=d&&R>=s&&I<=r)return k;const h=getComputedStyle(e),a=parseInt(h.borderLeftWidth,10),g=parseInt(h.borderTopWidth,10),m=parseInt(h.borderRightWidth,10),W=parseInt(h.borderBottomWidth,10);let B=0,D=0;const L="offsetWidth"in e?e.offsetWidth-e.clientWidth-a-m:0,S="offsetHeight"in e?e.offsetHeight-e.clientHeight-g-W:0,X="offsetWidth"in e?0===e.offsetWidth?0:i/e.offsetWidth:0,Y="offsetHeight"in e?0===e.offsetHeight?0:n/e.offsetHeight:0;if(p===e)B="start"===f?T:"end"===f?T-b:"nearest"===f?o$1(y,y+b,b,g,W,y+T,y+T+E,E):T-b/2,D="start"===u?V:"center"===u?V-H/2:"end"===u?V-H:o$1(v,v+H,H,a,m,v+V,v+V+M,M),B=Math.max(0,B+y),D=Math.max(0,D+v);else {B="start"===f?T-l-g:"end"===f?T-d+W+S:"nearest"===f?o$1(l,d,n,g,W+S,T,T+E,E):T-(l+n/2)+S/2,D="start"===u?V-s-a:"center"===u?V-(s+i/2)+L/2:"end"===u?V-r+m+L:o$1(s,r,i,a,m+L,V,V+M,M);const{scrollLeft:t,scrollTop:h}=e;B=Math.max(0,Math.min(h+B/Y,e.scrollHeight-n/Y+S)),D=Math.max(0,Math.min(t+D/X,e.scrollWidth-i/X+L)),T+=h-B,V+=t-D;}k.push({el:e,top:B,left:D});}return k};
10
571
 
@@ -3927,7 +4488,7 @@ const StzhSortable = class {
3927
4488
  }
3928
4489
  const total = this.getContainer().children.length;
3929
4490
  string = string
3930
- .replace("{total}", total.toString());
4491
+ .replace(/\{total\}/gi, total.toString());
3931
4492
  this.ariaLiveElement.textContent = string;
3932
4493
  }
3933
4494
  getIndexOfSelectedItem(item = this.selectedItem) {
@@ -4056,6 +4617,9 @@ const StzhSortable = class {
4056
4617
  };
4057
4618
  StzhSortable.style = stzhSortableCss;
4058
4619
 
4620
+ exports.stzh_actionset = StzhActionset;
4621
+ exports.stzh_card = StzhCard;
4622
+ exports.stzh_card_list = StzhCardList;
4059
4623
  exports.stzh_sortable = StzhSortable;
4060
4624
 
4061
- //# sourceMappingURL=stzh-sortable.cjs.entry.js.map
4625
+ //# sourceMappingURL=stzh-actionset_4.cjs.entry.js.map