@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
@@ -1,34 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-bf651831.js');
6
-
7
- const stzhStatusCss = ".sc-stzh-status-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-status-h{display:none}.sc-stzh-status-h *.sc-stzh-status,.sc-stzh-status-h *.sc-stzh-status::before,.sc-stzh-status-h *.sc-stzh-status::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-status-h{--color:var(--stzh-base-color);--min-width:none}[with-loadingbar].sc-stzh-status-h:not([with-loadingbar=false]){--min-width:10rem}[type=success].sc-stzh-status-h{--color:var(--stzh-color-truegreen)}[type=warning].sc-stzh-status-h{--color:var(--stzh-color-warning)}[type=error].sc-stzh-status-h{--color:var(--stzh-color-error)}[type=info].sc-stzh-status-h{--color:var(--stzh-color-zueriblue)}.stzh-status.sc-stzh-status{min-width:var(--min-width);color:var(--color)}.stzh-status__dot.sc-stzh-status{border-radius:50%;width:0.75rem;height:0.75rem;background-color:currentColor;margin-right:var(--stzh-space-xxsmall)}.stzh-status__bar.sc-stzh-status{display:block;height:0.25rem;border-radius:0.75rem;background-color:var(--stzh-color-grey13);margin-top:var(--stzh-space-xxsmall)}.stzh-status__bar-inner.sc-stzh-status{display:block;height:100%;width:0;border-radius:0.75rem;background:currentColor}.stzh-status__text.sc-stzh-status{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}";
8
-
9
- const StzhStatus = class {
10
- constructor(hostRef) {
11
- index.registerInstance(this, hostRef);
12
- this.percent = 0;
13
- this.withLoadingbar = false;
14
- this.label = "";
15
- this.type = "default";
16
- }
17
- render() {
18
- const classes = {
19
- "stzh-status": true,
20
- [`stzh-status--type-${this.type}`]: !!this.type
21
- };
22
- return (index.h(index.Host, null, index.h("div", { class: classes }, index.h("div", { class: "stzh-status__text" }, index.h("div", { class: "stzh-status__dot" }), this.label &&
23
- index.h("div", { class: "stzh-status__label" }, this.label)), this.withLoadingbar &&
24
- index.h("div", { class: "stzh-status__bar" }, index.h("div", { class: "stzh-status__bar-inner", style: {
25
- width: `${this.percent}%`
26
- } })))));
27
- }
28
- get element() { return index.getElement(this); }
29
- };
30
- StzhStatus.style = stzhStatusCss;
31
-
32
- exports.stzh_status = StzhStatus;
33
-
34
- //# sourceMappingURL=stzh-status.cjs.entry.js.map
@@ -1 +0,0 @@
1
- {"file":"stzh-status.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,aAAa,GAAG,+oDAA+oD;;MCexpD,UAAU;;;mBAEK,CAAC;0BAGwB,KAAK;iBAGhC,EAAE;gBAG4D,SAAS;;EAI/F,MAAM;IACJ,MAAM,OAAO,GAAG;MACd,aAAa,EAAE,IAAI;MACnB,CAAC,qBAAqB,IAAI,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI;KAChD,CAAC;IAEF,QACEA,QAACC,UAAI,QACHD,iBAAK,KAAK,EAAE,OAAO,IACjBA,iBAAK,KAAK,EAAC,mBAAmB,IAC5BA,iBAAK,KAAK,EAAC,kBAAkB,GAAO,EACnC,IAAI,CAAC,KAAK;MACTA,iBAAK,KAAK,EAAC,oBAAoB,IAC5B,IAAI,CAAC,KAAK,CACP,CAEJ,EACL,IAAI,CAAC,cAAc;MAClBA,iBAAK,KAAK,EAAC,kBAAkB,IAC3BA,iBAAK,KAAK,EAAC,wBAAwB,EAAC,KAAK,EAAE;UACzC,KAAK,EAAE,GAAG,IAAI,CAAC,OAAO,GAAG;SAC1B,GAAQ,CACL,CAEJ,CACD,EACP;GACH;;;;;;;","names":["h","Host"],"sources":["./src/components/stzh-status/stzh-status.scss?tag=stzh-status&encapsulation=scoped","./src/components/stzh-status/stzh-status.tsx"],"sourcesContent":[":host {\n --color: #{$baseColor};\n --min-width: none;\n\n &[with-loadingbar]:not([with-loadingbar=\"false\"]) {\n --min-width: 160px;\n }\n\n &[type=\"success\"] {\n --color: #{$colorTruegreen};\n }\n\n &[type=\"warning\"] {\n --color: #{$colorWarning};\n }\n\n &[type=\"error\"] {\n --color: #{$colorError};\n }\n\n &[type=\"info\"] {\n --color: #{$colorZueriblue};\n }\n}\n\n.stzh-status {\n min-width: var(--min-width);\n color: var(--color);\n\n &__dot {\n border-radius: 50%;\n width: 12px;\n height: 12px;\n background-color: currentColor;\n margin-right: space('xxsmall');\n }\n\n &__bar {\n display: block;\n height: 4px;\n border-radius: 12px;\n background-color: $colorGrey13;\n margin-top: space('xxsmall');\n }\n\n &__bar-inner {\n display: block;\n height: 100%;\n width: 0;\n border-radius: 12px;\n background: currentColor;\n }\n\n &__text {\n @include fontSize('micro');\n display: flex;\n align-items: center;\n }\n}\n","import {\n Component,\n Host,\n h,\n Element,\n Prop,\n} from \"@stencil/core\";\n\n/**\n */\n@Component({\n tag: \"stzh-status\",\n styleUrl: \"stzh-status.scss\",\n scoped: true\n})\nexport class StzhStatus {\n /** Percent */\n @Prop() percent: number = 0;\n\n /** Whether to hide/show loadingbar */\n @Prop({ reflect: true }) withLoadingbar: boolean = false;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Type */\n @Prop({ reflect: true }) type: \"default\" | \"success\" | \"warning\" | \"error\" | \"info\" = \"default\";\n\n @Element() element: HTMLStzhStatusElement;\n\n render() {\n const classes = {\n \"stzh-status\": true,\n [`stzh-status--type-${this.type}`]: !!this.type\n };\n\n return (\n <Host>\n <div class={classes}>\n <div class=\"stzh-status__text\">\n <div class=\"stzh-status__dot\"></div>\n {this.label &&\n <div class=\"stzh-status__label\">\n {this.label}\n </div>\n }\n </div>\n {this.withLoadingbar &&\n <div class=\"stzh-status__bar\">\n <div class=\"stzh-status__bar-inner\" style={{\n width: `${this.percent}%`\n }}></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EjC,IAAI,aAAa,CAAC,cAAc,CAAC,EAAE;IACjC,aAAa,GAAG,YAAY,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;IACnD,iBAAiB,GAAG,aAAa,CAAC;IAClC,mBAAmB,GAAG,cAAc,CAAC;GACtC;OAAM;IACL,aAAa,GAAG,cAAc,CAAC,SAAS,EAAa,CAAC;IAEtD,IAAI,sBAAsB,GAAY,aAAa,CAAC;IACpD,IAAI,wBAAwB,GAAY,cAAc,CAAC;;IAGvD,OAAO,wBAAwB,CAAC,QAAQ,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,wBAAwB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE;MAC7G,wBAAwB,GAAG,wBAAwB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;MAChE,MAAM,yBAAyB,GAAG,wBAAwB,CAAC,SAAS,EAAa,CAAC;MAElF,sBAAsB,CAAC,WAAW,CAAC,yBAAyB,CAAC,CAAC;MAC9D,sBAAsB,GAAG,yBAAyB,CAAC;KACpD;IAED,IAAI,aAAa,CAAC,wBAAwB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,EAAE;MACvD,iBAAiB,GAAG,YAAY,CAAC,wBAAwB,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;MAC7E,mBAAmB,GAAG,wBAAwB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;MAC3D,sBAAsB,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC;KACvD;SAAM;;MAEL,aAAa,GAAG,YAAY,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;KACpD;GACF;EAED,OAAO,CAAC,aAAa,EAAE,iBAAiB,EAAE,mBAAmB,CAAC,CAAC;AACjE;;;;;;;","names":[],"sources":["./src/utils/utils.ts"],"sourcesContent":["// Determines whether an element has a slot. If name is specified, the function will look for a corresponding named\n// slot, otherwise it will look for a \"default\" slot (e.g. a non-empty text node or an element with no slot attribute).\nexport function hasSlot(el: HTMLElement, name?: string) {\n // Look for a named slot\n if (name) {\n return el.querySelector(`[slot=\"${name}\"]`) !== null;\n }\n\n // Look for a default slot\n return Array.from(childNodes(el)).some(node => {\n if (node.nodeType === node.TEXT_NODE && node.textContent.trim() !== '') {\n return true;\n }\n\n if (node.nodeType === node.ELEMENT_NODE) {\n const el = node as HTMLElement;\n if (!el.hasAttribute('slot')) {\n return true;\n }\n }\n\n return false;\n });\n}\n\nexport function setPropsIfNull(element: Element, attributes: any) {\n Object.keys(attributes).forEach(attribute => {\n if (element.getAttribute(attribute) === null) {\n element[attribute] = attributes[attribute];\n }\n })\n}\n\nexport function isStzhElement(element: Element) {\n if (!element || element.nodeType !== 1) {\n return false;\n }\n\n return element.tagName.toLowerCase().indexOf('stzh-') === 0;\n}\n\nexport function children(node: Element) {\n return childNodes(node).map((n: any) => n.nodeType === 1);\n}\n\nexport function childNodes(node: Element) {\n const childNodes = node.childNodes;\n\n // check if element is stencil element without shadow dom\n // and then detect elements that were slotted into the element\n if (node[\"s-sc\"]) {\n const result = [];\n\n for (let i = 0; i < childNodes.length; i++) {\n const slot = childNodes[i][\"s-nr\"];\n\n if (slot) {\n result.push(slot);\n }\n }\n\n return result;\n }\n\n return Array.from(childNodes);\n}\n\nconst nativeCloneNodeFn = Node.prototype.cloneNode;\n\nexport function cloneElement(node: Element, deep: boolean) {\n const clonedNode = nativeCloneNodeFn.call(node, false);\n const srcChildNodes = childNodes(node);\n\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n const childClone = cloneElement(srcChildNodes[i], true);\n clonedNode.appendChild(childClone);\n }\n }\n }\n\n return clonedNode;\n}\n\n// Clone an stzh-* element that is using stencil polyfilled slots (no shadow dom)\n// and potentially wrapped in normal elements (e.g. angular component)\nexport function cloneWrappedStzhElement(elementToClone: Element): [Element, Element, Element] {\n let clonedElement: Element;\n let clonedStzhElement: Element;\n let originalStzhElement: Element;\n\n if (isStzhElement(elementToClone)) {\n clonedElement = cloneElement(elementToClone, true);\n clonedStzhElement = clonedElement;\n originalStzhElement = elementToClone;\n } else {\n clonedElement = elementToClone.cloneNode() as Element;\n\n let clonedInnerElementLast: Element = clonedElement;\n let originalInnerElementLast: Element = elementToClone;\n\n // clone inner root elements separately until we find a stzh element\n while (originalInnerElementLast.children.length === 1 && !isStzhElement(originalInnerElementLast.children[0])) {\n originalInnerElementLast = originalInnerElementLast.children[0];\n const clonedInnerElementCurrent = originalInnerElementLast.cloneNode() as Element;\n\n clonedInnerElementLast.appendChild(clonedInnerElementCurrent);\n clonedInnerElementLast = clonedInnerElementCurrent;\n }\n\n if (isStzhElement(originalInnerElementLast.children[0])) {\n clonedStzhElement = cloneElement(originalInnerElementLast.children[0], true);\n originalStzhElement = originalInnerElementLast.children[0];\n clonedInnerElementLast.appendChild(clonedStzhElement);\n } else {\n // no root stzh element found, so we give up and just deep clone the root\n clonedElement = cloneElement(elementToClone, true);\n }\n }\n\n return [clonedElement, clonedStzhElement, originalStzhElement];\n}\n"],"version":3}
@@ -1,17 +0,0 @@
1
- function createParagraphsFromBrs(content) {
2
- const replaced = content
3
- .replace(/^\s*(?:<br\s*\/?>\s*)*/i, "")
4
- .replace(/\s*(?:<br\s*\/?>\s*)*$/i, "")
5
- .replace(/(?:<br\s*\/?>\s*?){2,}/gi, "</p><p>");
6
- return `<p>${replaced}</p>`;
7
- }
8
- function camelCase(dashString) {
9
- return dashString
10
- .replace(/-([a-z])/g, function (g) {
11
- return g[1].toUpperCase();
12
- });
13
- }
14
-
15
- export { createParagraphsFromBrs as a, camelCase as c };
16
-
17
- //# sourceMappingURL=string-utils-f98ee4e8.js.map
@@ -1 +0,0 @@
1
- {"file":"string-utils-f98ee4e8.js","mappings":"SAAgB,uBAAuB,CAAC,OAAe;EACrD,MAAM,QAAQ,GAAG,OAAO;KACrB,OAAO,CAAC,yBAAyB,EAAE,EAAE,CAAC;KACtC,OAAO,CAAC,yBAAyB,EAAE,EAAE,CAAC;KACtC,OAAO,CAAC,0BAA0B,EAAE,SAAS,CAAC,CAAC;EAElD,OAAO,MAAM,QAAQ,MAAM,CAAC;AAC9B,CAAC;SAEe,SAAS,CAAC,UAAkB;EAC1C,OAAO,UAAU;KACd,OAAO,CAAC,WAAW,EAAE,UAAU,CAAC;IAC/B,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;GAC3B,CAAC,CAAC;AACP;;;;","names":[],"sources":["./src/utils/string-utils.ts"],"sourcesContent":["export function createParagraphsFromBrs(content: string) {\n const replaced = content\n .replace(/^\\s*(?:<br\\s*\\/?>\\s*)*/i, \"\")\n .replace(/\\s*(?:<br\\s*\\/?>\\s*)*$/i, \"\")\n .replace(/(?:<br\\s*\\/?>\\s*?){2,}/gi, \"</p><p>\");\n\n return `<p>${replaced}</p>`;\n}\n\nexport function camelCase(dashString: string) {\n return dashString\n .replace(/-([a-z])/g, function (g) {\n return g[1].toUpperCase();\n });\n}\n"],"version":3}
@@ -1,169 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, a as Host, g as getElement } from './index-67fd55c9.js';
2
- import { f as fetchTranslations } from './translation-utils-2623783f.js';
3
- import { m as media, a as addMediaChangeListener, r as removeMediaChangeListener } from './media-utils-9b041ceb.js';
4
-
5
- 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}}";
6
-
7
- const StzhActionset = class {
8
- constructor(hostRef) {
9
- registerInstance(this, hostRef);
10
- this.stzhActionClick = createEvent(this, "stzhActionClick", 7);
11
- this._actions = [];
12
- this.actionClick = (action, originalEvent) => {
13
- this.stzhActionClick.emit({
14
- component: "stzh-actionset",
15
- action,
16
- originalEvent
17
- });
18
- };
19
- this.update = () => {
20
- this.isSmall = media("small").matches;
21
- this.isMedium = media("medium").matches;
22
- if (!this.actionsElement) {
23
- return;
24
- }
25
- Object.assign(this.actionsElement.style, {
26
- width: null,
27
- height: null
28
- });
29
- let newActionsVisible = 0;
30
- if (this.variant === "overflow" && this.isMedium
31
- || this.variant === "stack" && this.isSmall) {
32
- this.dynamicActions = true;
33
- let newActionsHeight = 0;
34
- let newActionsWidth = 0;
35
- // update height and width
36
- Array.from(this.actionsElement.children).forEach((child) => {
37
- // check which item is visible and
38
- if (child.offsetTop === 0) {
39
- newActionsVisible++;
40
- const style = getComputedStyle(child);
41
- const marginLeft = parseInt(style.marginLeft);
42
- const marginRight = parseInt(style.marginRight);
43
- const marginTop = parseInt(style.marginTop);
44
- const marginBottom = parseInt(style.marginBottom);
45
- const childWidth = child.offsetWidth + marginLeft + marginRight;
46
- const childHeight = child.offsetHeight + marginTop + marginBottom;
47
- if (newActionsHeight < childHeight) {
48
- newActionsHeight = childHeight;
49
- }
50
- newActionsWidth = newActionsWidth + childWidth + 1;
51
- }
52
- });
53
- Object.assign(this.actionsElement.style, {
54
- width: `${newActionsWidth}px`,
55
- height: `${newActionsHeight}px`
56
- });
57
- }
58
- else {
59
- this.dynamicActions = false;
60
- if (this.variant === "overflow") {
61
- newActionsVisible = 0;
62
- }
63
- else if (this.variant === "stack") {
64
- newActionsVisible = this._actions.length <= 3 ? this._actions.length : 2;
65
- }
66
- }
67
- this.actionsCollapsed = this._actions.slice(newActionsVisible);
68
- };
69
- this.handleResize = () => {
70
- if (this.debounceResize) {
71
- window.cancelAnimationFrame(this.debounceResize);
72
- }
73
- this.debounceResize = requestAnimationFrame(this.update);
74
- };
75
- this.mediaChangeHandler = () => {
76
- this.actionsCollapsed = [];
77
- requestAnimationFrame(this.update);
78
- };
79
- this.localization = undefined;
80
- this.variant = "stack";
81
- this.popoverButtonVariant = "";
82
- this.popoverButtonSize = "";
83
- this.popoverPlacement = "bottom-end";
84
- this.actions = [];
85
- this.actionsCollapsed = [];
86
- this.dynamicActions = undefined;
87
- this.isSmall = undefined;
88
- this.isMedium = undefined;
89
- }
90
- actionsWatcher(newValue) {
91
- if (typeof newValue === "string") {
92
- this._actions = JSON.parse(newValue);
93
- }
94
- else {
95
- this._actions = newValue;
96
- }
97
- }
98
- async componentWillLoad() {
99
- this.actionsWatcher(this.actions);
100
- if (!this.localization) {
101
- this.localization = await fetchTranslations(this.element, "actionset");
102
- }
103
- }
104
- connectedCallback() {
105
- addMediaChangeListener(this.mediaChangeHandler);
106
- this.resizeObserver = new ResizeObserver(this.handleResize);
107
- this.resizeObserver.observe(this.element);
108
- }
109
- disconnectedCallback() {
110
- removeMediaChangeListener(this.mediaChangeHandler);
111
- if (this.resizeObserver) {
112
- this.resizeObserver.disconnect();
113
- }
114
- }
115
- componentDidLoad() {
116
- this.update();
117
- }
118
- render() {
119
- const classes = {
120
- "stzh-actionset": true,
121
- // "stzh-actionset--has-dynamic-actions": this.dynamicActions,
122
- "stzh-actionset--has-collapsed-items": this.actionsCollapsed.length > 0,
123
- [`stzh-actionset--${this.variant}`]: !!this.variant
124
- };
125
- const Action = (action) => (h("stzh-button", { class: {
126
- "stzh-actionset__action": true,
127
- "is-button": true,
128
- // "show-medium": !action.onlyCollapseText,
129
- // "hide-when-collapsed": !action.onlyCollapseText,
130
- // "hide-text-when-collapsed": action.onlyCollapseText
131
- }, icon: action.icon, iconPosition: action.iconPosition, iconOnly: action.iconOnly, badge: action.badge, variant: action.variant
132
- ? action.variant
133
- : (this.variant === "stack" ? "secondary" : "tertiary"), size: action.size
134
- ? action.size
135
- : (this.variant === "stack" ? "default" : "tiny"), badgePosition: "icon", onClick: (e) => { this.actionClick(action, e); } }, h("span", { class: {
136
- // "show-medium": action.onlyCollapseText,
137
- // "hide-when-collapsed": action.onlyCollapseText
138
- } }, action.label)));
139
- return (h(Host, { "has-collapsed-items": this.actionsCollapsed.length > 0 }, h("div", { class: classes }, h("div", { class: "stzh-actionset__actions", role: "group" }, h("div", { ref: (el) => (this.actionsElement = el), class: "stzh-actionset__actions-wrapper" }, this._actions.map(action => ((this.dynamicActions
140
- || (!this.dynamicActions &&
141
- this.actionsCollapsed.indexOf(action) === -1))
142
- &&
143
- (action.tooltipContent
144
- ?
145
- h("stzh-tooltip", { strategy: "fixed", content: action.tooltipContent }, Action(action))
146
- :
147
- Action(action))))), h("stzh-popover", { label: this.variant === "stack"
148
- ? this.localization.furtherActions
149
- : (!this.isMedium ? this.localization.actions : ""), strategy: "fixed", placement: this.popoverPlacement, class: "stzh-actionset__action-popover" }, h("stzh-button", { fullwidth: true, disabled: this.actionsCollapsed.length === 0, class: "stzh-actionset__action is-further", variant: this.popoverButtonVariant !== ""
150
- ? this.popoverButtonVariant
151
- : (this.variant === "stack" ? "secondary" : "tertiary"), size: this.popoverButtonSize !== ""
152
- ? this.popoverButtonSize
153
- : (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"
154
- ? this.localization.furtherActions
155
- : (!this.isMedium ? this.localization.actions : "") }), h("stzh-menu", { slot: "content" }, this.actionsCollapsed.map(action => (h("stzh-menu-item", {
156
- // class="hide-medium show-when-collapsed"
157
- icon: action.icon, badge: action.badge, badgeEmpty: action.badgeEmpty, badgeType: action.badgeType, onClick: (e) => { this.actionClick(action, e); }
158
- }, action.label)))))))));
159
- }
160
- get element() { return getElement(this); }
161
- static get watchers() { return {
162
- "actions": ["actionsWatcher"]
163
- }; }
164
- };
165
- StzhActionset.style = stzhActionsetCss;
166
-
167
- export { StzhActionset as stzh_actionset };
168
-
169
- //# sourceMappingURL=stzh-actionset.entry.js.map
@@ -1 +0,0 @@
1
- {"file":"stzh-actionset.entry.js","mappings":";;;;AAAA,MAAM,gBAAgB,GAAG,m2EAAm2E;;MCqC/2E,aAAa;;;;IAsBhB,aAAQ,GAAwB,EAAE,CAAC;IAyBnC,gBAAW,GAAG,CAAC,MAAyB,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AEE,IAAI,EAAE,MAAM,CAAC,IAAI,EACjB,KAAK,EAAE,MAAM,CAAC,KAAK,EACnB,UAAU,EAAE,MAAM,CAAC,UAAU,EAC7B,SAAS,EAAE,MAAM,CAAC,SAAS,EAC3B,OAAO,EAAE,CAAC,CAAC,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC,CAAA,EAAE;OAE9C,MAAM,CAAC,KAAK,CACE,CAClB,CAAC,CACQ,CACC,CACX,CACF,CACD,EACP;GACH;;;;;;;;;;","names":[],"sources":["./src/components/stzh-actionset/stzh-actionset.scss?tag=stzh-actionset&encapsulation=scoped","./src/components/stzh-actionset/stzh-actionset.tsx"],"sourcesContent":[":host {\n\n}\n\n.stzh-actionset {\n &__actions {\n display: flex;\n align-items: center;\n }\n\n &__actions-wrapper {\n position: relative;\n display: flex;\n flex-wrap: wrap;\n overflow: hidden;\n }\n\n &__action {\n &:not(:last-child) {\n margin-right: space('xsmall');\n }\n }\n\n &__action-popover {\n opacity: 0;\n }\n\n &--has-collapsed-items &__action-popover {\n --width: auto;\n opacity: 1;\n }\n\n /* Overflow variant */\n\n &--overflow &__action {\n @include mq($from: medium) {\n --white-space: nowrap;\n }\n }\n\n /* Stack variant */\n\n &--stack &__actions {\n @include mq($to: small) {\n flex-direction: column;\n align-items: stretch;\n }\n }\n\n &--stack &__actions-wrapper { \n @include mq($to: small) {\n flex-direction: column;\n align-items: stretch;\n }\n }\n\n &--stack &__action {\n @include mq($from: small) {\n --white-space: nowrap;\n }\n\n &:not(:last-child) {\n @include mq($to: small) {\n margin-bottom: space('xsmall');\n margin-right: 0;\n }\n }\n }\n\n &--stack &__action-popover {\n @include mq($to: small) {\n margin-top: space('xsmall');\n }\n }\n\n // Hide more action popover on small if it has no collapsed items\n\n &--stack:not(#{&}--has-collapsed-items) &__action-popover {\n @include mq($to: small) {\n display: none;\n }\n }\n}\n","import {\n Component,\n Host,\n Prop,\n h,\n Element,\n Watch,\n Event,\n EventEmitter,\n State\n} from \"@stencil/core\";\n\nimport {\n StzhActionsetItem,\n StzhActionsetItemClickEvent\n} from \"../../index\";\n\nimport { fetchTranslations } from \"../../utils/translation-utils\";\nimport { StzhActionsetLocalizedText } from './stzh-actionset.localization';\n\nimport {\n media,\n addMediaChangeListener,\n removeMediaChangeListener\n} from '../../utils/media-utils';\n\nimport {\n Placement,\n} from \"@floating-ui/dom\";\n\n/**\n */\n@Component({\n tag: \"stzh-actionset\",\n styleUrl: \"stzh-actionset.scss\",\n scoped: true\n})\nexport class StzhActionset {\n /** Translation strings */\n @Prop() localization: StzhActionsetLocalizedText;\n\n /** Variant determining what position the action buttons are */\n @Prop({ reflect: true }) variant: \"stack\" | \"overflow\" = \"stack\";\n\n /** Button variant of popover button (button thats holds collapsed actions) */\n @Prop({ reflect: true }) popoverButtonVariant: \"\" | \"default\" | \"secondary\" | \"input\" | \"tertiary\" = \"\";\n\n /** Button size of popover button (button that holds collapsed actions) */\n @Prop({ reflect: true }) popoverButtonSize: \"\" | \"default\" | \"small\" | \"tiny\" = \"\";\n\n /** Popover placement of button that holds collapsed actions */\n @Prop({ reflect: true }) popoverPlacement: Placement = \"bottom-end\";\n\n /**\n * Card header actions.\n * Array of objects that can include the button attributes `id`, `variant`, `icon`, `size`, `iconPosition`, `iconOnly`, `label` or `badge`:\n * `[{\"id\":\"action-1\", \"icon\": \"alarm-bell\", \"label\": \"Lorem\"}, {\"id\":\"action-2\", \"icon\": \"mail\", \"label\": \"Lorem\"}]`\n */\n @Prop() actions: StzhActionsetItem[] | string = [];\n private _actions: StzhActionsetItem[] = [];\n\n /** Header action click event */\n @Event() stzhActionClick: EventEmitter<StzhActionsetItemClickEvent>;\n\n @Element() element: HTMLStzhActionsetElement;\n\n @Watch(\"actions\")\n actionsWatcher(newValue: StzhActionsetItem[] | string) {\n if (typeof newValue === \"string\") {\n this._actions = JSON.parse(newValue);\n } else {\n this._actions = newValue;\n }\n }\n\n @State() actionsCollapsed: StzhActionsetItem[] = [];\n @State() dynamicActions: boolean;\n @State() isSmall: boolean;\n @State() isMedium: boolean;\n\n private actionsElement: HTMLElement;\n private debounceResize: number;\n private resizeObserver: ResizeObserver;\n\n private actionClick = (action: StzhActionsetItem, originalEvent: MouseEvent) => {\n this.stzhActionClick.emit({\n component: \"stzh-actionset\",\n action,\n originalEvent\n });\n }\n\n private update = () => {\n this.isSmall = media(\"small\").matches;\n this.isMedium = media(\"medium\").matches;\n\n if (!this.actionsElement) {\n return;\n }\n\n Object.assign(this.actionsElement.style, {\n width: null,\n height: null\n });\n\n let newActionsVisible = 0;\n\n if (\n this.variant === \"overflow\" && this.isMedium\n || this.variant === \"stack\" && this.isSmall\n ) {\n this.dynamicActions = true;\n\n let newActionsHeight = 0;\n let newActionsWidth = 0;\n\n // update height and width\n Array.from(this.actionsElement.children).forEach((child: HTMLElement) => {\n // check which item is visible and\n if (child.offsetTop === 0) {\n newActionsVisible++;\n\n const style = getComputedStyle(child);\n const marginLeft = parseInt(style.marginLeft);\n const marginRight = parseInt(style.marginRight);\n const marginTop = parseInt(style.marginTop);\n const marginBottom = parseInt(style.marginBottom);\n\n const childWidth = child.offsetWidth + marginLeft + marginRight;\n const childHeight = child.offsetHeight + marginTop + marginBottom;\n\n if (newActionsHeight < childHeight) {\n newActionsHeight = childHeight;\n }\n\n newActionsWidth = newActionsWidth + childWidth + 1;\n }\n });\n\n Object.assign(this.actionsElement.style, {\n width: `${newActionsWidth}px`,\n height: `${newActionsHeight}px`\n });\n } else {\n this.dynamicActions = false;\n\n if (this.variant === \"overflow\") {\n newActionsVisible = 0;\n } else if (this.variant === \"stack\") {\n newActionsVisible = this._actions.length <= 3 ? this._actions.length : 2;\n }\n }\n\n this.actionsCollapsed = this._actions.slice(newActionsVisible);\n }\n\n private handleResize = () => {\n if (this.debounceResize) {\n window.cancelAnimationFrame(this.debounceResize);\n }\n\n this.debounceResize = requestAnimationFrame(this.update);\n }\n\n private mediaChangeHandler = () => {\n this.actionsCollapsed = [];\n requestAnimationFrame(this.update);\n }\n\n async componentWillLoad() {\n this.actionsWatcher(this.actions);\n\n if (!this.localization) {\n this.localization = await fetchTranslations(this.element, \"actionset\");\n }\n }\n\n connectedCallback() {\n addMediaChangeListener(this.mediaChangeHandler);\n\n this.resizeObserver = new ResizeObserver(this.handleResize);\n this.resizeObserver.observe(this.element);\n }\n\n disconnectedCallback() {\n removeMediaChangeListener(this.mediaChangeHandler);\n\n if (this.resizeObserver) {\n this.resizeObserver.disconnect();\n }\n }\n\n componentDidLoad() {\n this.update();\n }\n\n render() {\n const classes = {\n \"stzh-actionset\": true,\n // \"stzh-actionset--has-dynamic-actions\": this.dynamicActions,\n \"stzh-actionset--has-collapsed-items\": this.actionsCollapsed.length > 0,\n [`stzh-actionset--${this.variant}`]: !!this.variant\n };\n\n const Action = (action: StzhActionsetItem) => (\n <stzh-button\n class={{\n \"stzh-actionset__action\": true,\n \"is-button\": true,\n // \"show-medium\": !action.onlyCollapseText,\n // \"hide-when-collapsed\": !action.onlyCollapseText,\n // \"hide-text-when-collapsed\": action.onlyCollapseText\n }}\n icon={action.icon}\n iconPosition={action.iconPosition}\n iconOnly={action.iconOnly}\n badge={action.badge}\n variant={action.variant\n ? action.variant\n : (this.variant === \"stack\" ? \"secondary\" : \"tertiary\")}\n size={action.size\n ? action.size\n : (this.variant === \"stack\" ? \"default\" : \"tiny\")}\n badgePosition=\"icon\"\n onClick={(e) => { this.actionClick(action, e) }}\n >\n <span\n class={{\n // \"show-medium\": action.onlyCollapseText,\n // \"hide-when-collapsed\": action.onlyCollapseText\n }}\n >\n {action.label}\n </span>\n </stzh-button>\n );\n\n return (\n <Host has-collapsed-items={this.actionsCollapsed.length > 0}>\n <div class={classes}>\n <div class=\"stzh-actionset__actions\" role=\"group\">\n <div\n ref={(el) => (this.actionsElement = el as HTMLElement)}\n class=\"stzh-actionset__actions-wrapper\"\n >\n {this._actions.map(action => (\n (this.dynamicActions\n || (!this.dynamicActions &&\n this.actionsCollapsed.indexOf(action) === -1))\n &&\n (action.tooltipContent\n ?\n <stzh-tooltip\n strategy=\"fixed\"\n content={action.tooltipContent}\n >\n {Action(action)}\n </stzh-tooltip>\n :\n Action(action))\n ))}\n </div>\n\n <stzh-popover\n label={this.variant === \"stack\"\n ? this.localization.furtherActions\n : (!this.isMedium ? this.localization.actions : \"\")}\n strategy=\"fixed\"\n placement={this.popoverPlacement}\n class=\"stzh-actionset__action-popover\"\n >\n <stzh-button\n fullwidth\n disabled={this.actionsCollapsed.length === 0}\n class=\"stzh-actionset__action is-further\"\n variant={this.popoverButtonVariant !== \"\"\n ? this.popoverButtonVariant\n : (this.variant === \"stack\" ? \"secondary\" : \"tertiary\")}\n size={this.popoverButtonSize !== \"\"\n ? this.popoverButtonSize\n : (this.variant === \"stack\" ? \"default\" : \"tiny\")}\n icon={this.variant === \"stack\" ? \"angle-down\" : \"more-vertical\"}\n iconOnly={this.variant === \"overflow\" && this.isMedium}\n iconPosition=\"right\"\n label={this.variant === \"stack\"\n ? this.localization.furtherActions\n : (!this.isMedium ? this.localization.actions : \"\")}\n ></stzh-button>\n <stzh-menu slot=\"content\">\n {this.actionsCollapsed.map(action => (\n <stzh-menu-item\n // class=\"hide-medium show-when-collapsed\"\n icon={action.icon}\n badge={action.badge}\n badgeEmpty={action.badgeEmpty}\n badgeType={action.badgeType}\n onClick={(e) => { this.actionClick(action, e) }}\n >\n {action.label}\n </stzh-menu-item>\n ))}\n </stzh-menu>\n </stzh-popover>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}